@coalescesoftware/coa 7.13.1 → 7.13.2

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.
package/coa.js CHANGED
@@ -176,7 +176,7 @@ ${v}`),h.pop(),`{${x}}`}case"number":return isFinite(A)?String(A):t?t(A):"null";
176
176
  `+s):i.stack=s}catch{}}throw i}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=iue(this.defaults,n);let{transitional:i,paramsSerializer:o,headers:s}=n;i!==void 0&&BCr.assertOptions(i,{silentJSONParsing:wY.transitional(wY.boolean),forcedJSONParsing:wY.transitional(wY.boolean),clarifyTimeoutError:wY.transitional(wY.boolean)},!1),o!=null&&(mr.isFunction(o)?n.paramsSerializer={serialize:o}:BCr.assertOptions(o,{encode:wY.function,serialize:wY.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&mr.merge(s.common,s[n.method]);s&&mr.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=sS.concat(a,s);let l=[],c=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(c=c&&y.synchronous,l.unshift(y.fulfilled,y.rejected))});let u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let d,p=0,f;if(!c){let h=[tfi.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,u),f=h.length,d=Promise.resolve(n);p<f;)d=d.then(h[p++],h[p++]);return d}f=l.length;let A=n;for(p=0;p<f;){let h=l[p++],y=l[p++];try{A=h(A)}catch(C){y.call(this,C);break}}try{d=tfi.call(this,A)}catch(h){return Promise.reject(h)}for(p=0,f=u.length;p<f;)d=d.then(u[p++],u[p++]);return d}getUri(t){t=iue(this.defaults,t);let n=FCr(t.baseURL,t.url);return NCr(n,t.params,t.paramsSerializer)}};mr.forEach(["delete","get","head","options"],function(t){n3e.prototype[t]=function(n,i){return this.request(iue(i||{},{method:t,url:n,data:(i||{}).data}))}});mr.forEach(["post","put","patch"],function(t){function n(i){return function(s,a,l){return this.request(iue(l||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}n3e.prototype[t]=n(),n3e.prototype[t+"Form"]=n(!0)});var Kmt=n3e,MCr=class r{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});let i=this;this.promise.then(o=>{if(!i._listeners)return;let s=i._listeners.length;for(;s-- >0;)i._listeners[s](o);i._listeners=null}),this.promise.then=o=>{let s,a=new Promise(l=>{i.subscribe(l),s=l}).then(o);return a.cancel=function(){i.unsubscribe(s)},a},t(function(s,a,l){i.reason||(i.reason=new DY(s,a,l),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){let t=new AbortController,n=i=>{t.abort(i)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new r(function(o){t=o}),cancel:t}}},Qil=MCr;function Fil(r){return function(n){return r.apply(null,n)}}function qil(r){return mr.isObject(r)&&r.isAxiosError===!0}var xCr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(xCr).forEach(([r,t])=>{xCr[t]=r});var zil=xCr;function Rfi(r){let t=new Kmt(r),n=sfi(Kmt.prototype.request,t);return mr.extend(n,Kmt.prototype,t,{allOwnKeys:!0}),mr.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Rfi(iue(r,o))},n}var Pg=Rfi(QCr);Pg.Axios=Kmt;Pg.CanceledError=DY;Pg.CancelToken=Qil;Pg.isCancel=bfi;Pg.VERSION=Jmt;Pg.toFormData=n2t;Pg.AxiosError=Uo;Pg.Cancel=Pg.CanceledError;Pg.all=function(t){return Promise.all(t)};Pg.spread=Fil;Pg.isAxiosError=qil;Pg.mergeConfig=iue;Pg.AxiosHeaders=sS;Pg.formToJSON=r=>Efi(mr.isHTMLForm(r)?new FormData(r):r);Pg.getAdapter=_fi.getAdapter;Pg.HttpStatusCode=zil;Pg.default=Pg;wfi.exports=Pg});var GCr=I(FM=>{"use strict";Object.defineProperty(FM,"__esModule",{value:!0});FM.RequiredError=FM.BaseAPI=FM.COLLECTION_FORMATS=FM.BASE_PATH=void 0;var Uil=zCr();FM.BASE_PATH="https://app.launchdarkly.com".replace(/\/+$/,"");FM.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:" ",pipes:"|"};var UCr=class{constructor(t,n=FM.BASE_PATH,i=Uil.default){this.basePath=n,this.axios=i,t&&(this.configuration=t,this.basePath=t.basePath||this.basePath)}};FM.BaseAPI=UCr;var jCr=class extends Error{constructor(t,n){super(n),this.field=t,this.name="RequiredError"}};FM.RequiredError=jCr});var Bfi=I(sf=>{"use strict";var WCr=sf&&sf.__awaiter||function(r,t,n,i){function o(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function l(d){try{u(i.next(d))}catch(p){a(p)}}function c(d){try{u(i.throw(d))}catch(p){a(p)}}function u(d){d.done?s(d.value):o(d.value).then(l,c)}u((i=i.apply(r,t||[])).next())})};Object.defineProperty(sf,"__esModule",{value:!0});sf.createRequestFunction=sf.toPathString=sf.serializeDataIfNeeded=sf.setSearchParams=sf.setOAuthToObject=sf.setBearerAuthToObject=sf.setBasicAuthToObject=sf.setApiKeyToObject=sf.assertParamExists=sf.DUMMY_BASE_URL=void 0;var jil=GCr();sf.DUMMY_BASE_URL="https://example.com";var Gil=function(r,t,n){if(n==null)throw new jil.RequiredError(t,`Required parameter ${t} was null or undefined when calling ${r}.`)};sf.assertParamExists=Gil;var Wil=function(r,t,n){return WCr(this,void 0,void 0,function*(){if(n&&n.apiKey){let i=typeof n.apiKey=="function"?yield n.apiKey(t):yield n.apiKey;r[t]=i}})};sf.setApiKeyToObject=Wil;var Hil=function(r,t){t&&(t.username||t.password)&&(r.auth={username:t.username,password:t.password})};sf.setBasicAuthToObject=Hil;var Vil=function(r,t){return WCr(this,void 0,void 0,function*(){if(t&&t.accessToken){let n=typeof t.accessToken=="function"?yield t.accessToken():yield t.accessToken;r.Authorization="Bearer "+n}})};sf.setBearerAuthToObject=Vil;var Yil=function(r,t,n,i){return WCr(this,void 0,void 0,function*(){if(i&&i.accessToken){let o=typeof i.accessToken=="function"?yield i.accessToken(t,n):yield i.accessToken;r.Authorization="Bearer "+o}})};sf.setOAuthToObject=Yil;var Kil=function(r,...t){let n=new URLSearchParams(r.search);for(let i of t)for(let o in i)if(Array.isArray(i[o])){n.delete(o);for(let s of i[o])n.append(o,s)}else n.set(o,i[o]);r.search=n.toString()};sf.setSearchParams=Kil;var Jil=function(r,t,n){let i=typeof r!="string";return(i&&n&&n.isJsonMime?n.isJsonMime(t.headers["Content-Type"]):i)?JSON.stringify(r!==void 0?r:{}):r||""};sf.serializeDataIfNeeded=Jil;var Xil=function(r){return r.pathname+r.search+r.hash};sf.toPathString=Xil;var $il=function(r,t,n,i){return(o=t,s=n)=>{let a=Object.assign(Object.assign({},r.options),{url:(i?.basePath||s)+r.url});return o.request(a)}};sf.createRequestFunction=$il});var Mfi=I(ce=>{"use strict";var Pe=ce&&ce.__awaiter||function(r,t,n,i){function o(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function l(d){try{u(i.next(d))}catch(p){a(p)}}function c(d){try{u(i.throw(d))}catch(p){a(p)}}function u(d){d.done?s(d.value):o(d.value).then(l,c)}u((i=i.apply(r,t||[])).next())})};Object.defineProperty(ce,"__esModule",{value:!0});ce.NamingConventionCaseEnum=ce.MetricV2RepUnitAggregationTypeEnum=ce.MetricV2RepKindEnum=ce.MetricRepAnalysisTypeEnum=ce.MetricRepUnitAggregationTypeEnum=ce.MetricRepSuccessCriteriaEnum=ce.MetricRepKindEnum=ce.MetricPostUnitAggregationTypeEnum=ce.MetricPostSuccessCriteriaEnum=ce.MetricPostKindEnum=ce.MetricListingRepAnalysisTypeEnum=ce.MetricListingRepUnitAggregationTypeEnum=ce.MetricListingRepSuccessCriteriaEnum=ce.MetricListingRepKindEnum=ce.MetricInGroupRepUnitAggregationTypeEnum=ce.MetricInGroupRepKindEnum=ce.MetricGroupRepKindEnum=ce.MetricGroupPostKindEnum=ce.InstructionUserRequestKindEnum=ce.HoldoutRepStatusEnum=ce.HoldoutDetailRepStatusEnum=ce.FlagStatusRepNameEnum=ce.FlagImportStatusStatusEnum=ce.FlagImportIntegrationIntegrationKeyEnum=ce.FlagEventImpactRepSizeEnum=ce.FlagCopyConfigPostExcludedActionsEnum=ce.FlagCopyConfigPostIncludedActionsEnum=ce.FlagConfigApprovalRequestResponseStatusEnum=ce.FlagConfigApprovalRequestResponseReviewStatusEnum=ce.FeatureFlagStatusNameEnum=ce.FeatureFlagBodyPurposeEnum=ce.FeatureFlagKindEnum=ce.ExpandedFlagRepKindEnum=ce.ExpandableApprovalRequestResponseStatusEnum=ce.ExpandableApprovalRequestResponseReviewStatusEnum=ce.DistributionKindEnum=ce.DestinationPostKindEnum=ce.DestinationKindEnum=ce.DependentMetricOrMetricGroupRepKindEnum=ce.DependentMetricGroupRepWithMetricsKindEnum=ce.DependentMetricGroupRepKindEnum=ce.CreateCopyFlagConfigApprovalRequestRequestExcludedActionsEnum=ce.CreateCopyFlagConfigApprovalRequestRequestIncludedActionsEnum=ce.BigSegmentStoreIntegrationIntegrationKeyEnum=ce.ApprovalRequestResponseStatusEnum=ce.ApprovalRequestResponseReviewStatusEnum=ce.ApplicationRepKindEnum=ce.AccessTokenPostRoleEnum=ce.AccessDeniedReasonEffectEnum=ce.AccessAllowedReasonEffectEnum=void 0;ce.AuditLogApiFactory=ce.AuditLogApiFp=ce.AuditLogApiAxiosParamCreator=ce.ApprovalsBetaApi=ce.ApprovalsBetaApiFactory=ce.ApprovalsBetaApiFp=ce.ApprovalsBetaApiAxiosParamCreator=ce.ApprovalsApi=ce.ApprovalsApiFactory=ce.ApprovalsApiFp=ce.ApprovalsApiAxiosParamCreator=ce.ApplicationsBetaApi=ce.ApplicationsBetaApiFactory=ce.ApplicationsBetaApiFp=ce.ApplicationsBetaApiAxiosParamCreator=ce.AccountUsageBetaApi=ce.AccountUsageBetaApiFactory=ce.AccountUsageBetaApiFp=ce.AccountUsageBetaApiAxiosParamCreator=ce.AccountMembersBetaApi=ce.AccountMembersBetaApiFactory=ce.AccountMembersBetaApiFp=ce.AccountMembersBetaApiAxiosParamCreator=ce.AccountMembersApi=ce.AccountMembersApiFactory=ce.AccountMembersApiFp=ce.AccountMembersApiAxiosParamCreator=ce.AccessTokensApi=ce.AccessTokensApiFactory=ce.AccessTokensApiFp=ce.AccessTokensApiAxiosParamCreator=ce.UrlPostKindEnum=ce.TreatmentResultRepModelEnum=ce.StatisticRepTypeEnum=ce.StatementPostEffectEnum=ce.StatementEffectEnum=ce.RuleClauseOpEnum=ce.ReviewResponseKindEnum=ce.RepositoryRepTypeEnum=ce.RepositoryPostTypeEnum=ce.RandomizationUnitInputStandardRandomizationUnitEnum=ce.PostDeploymentEventInputEventTypeEnum=ce.PostDeploymentEventInputApplicationKindEnum=ce.PostApprovalRequestReviewRequestKindEnum=ce.PermissionGrantInputActionSetEnum=ce.PatchSegmentInstructionTargetTypeEnum=ce.PatchSegmentInstructionKindEnum=ce.PatchSegmentExpiringTargetInstructionTargetTypeEnum=ce.PatchSegmentExpiringTargetInstructionKindEnum=ce.NewMemberFormRoleEnum=void 0;ce.HoldoutsBetaApiAxiosParamCreator=ce.FollowFlagsApi=ce.FollowFlagsApiFactory=ce.FollowFlagsApiFp=ce.FollowFlagsApiAxiosParamCreator=ce.FlagTriggersApi=ce.FlagTriggersApiFactory=ce.FlagTriggersApiFp=ce.FlagTriggersApiAxiosParamCreator=ce.FlagLinksBetaApi=ce.FlagLinksBetaApiFactory=ce.FlagLinksBetaApiFp=ce.FlagLinksBetaApiAxiosParamCreator=ce.FeatureFlagsBetaApi=ce.FeatureFlagsBetaApiFactory=ce.FeatureFlagsBetaApiFp=ce.FeatureFlagsBetaApiAxiosParamCreator=ce.FeatureFlagsApi=ce.FeatureFlagsApiFactory=ce.FeatureFlagsApiFp=ce.FeatureFlagsApiAxiosParamCreator=ce.ExperimentsApi=ce.ExperimentsApiFactory=ce.ExperimentsApiFp=ce.ExperimentsApiAxiosParamCreator=ce.EnvironmentsApi=ce.EnvironmentsApiFactory=ce.EnvironmentsApiFp=ce.EnvironmentsApiAxiosParamCreator=ce.DataExportDestinationsApi=ce.DataExportDestinationsApiFactory=ce.DataExportDestinationsApiFp=ce.DataExportDestinationsApiAxiosParamCreator=ce.CustomRolesApi=ce.CustomRolesApiFactory=ce.CustomRolesApiFp=ce.CustomRolesApiAxiosParamCreator=ce.ContextsApi=ce.ContextsApiFactory=ce.ContextsApiFp=ce.ContextsApiAxiosParamCreator=ce.ContextSettingsApi=ce.ContextSettingsApiFactory=ce.ContextSettingsApiFp=ce.ContextSettingsApiAxiosParamCreator=ce.CodeReferencesApi=ce.CodeReferencesApiFactory=ce.CodeReferencesApiFp=ce.CodeReferencesApiAxiosParamCreator=ce.AuditLogApi=void 0;ce.MetricsBetaApiFactory=ce.MetricsBetaApiFp=ce.MetricsBetaApiAxiosParamCreator=ce.MetricsApi=ce.MetricsApiFactory=ce.MetricsApiFp=ce.MetricsApiAxiosParamCreator=ce.LayersBetaApi=ce.LayersBetaApiFactory=ce.LayersBetaApiFp=ce.LayersBetaApiAxiosParamCreator=ce.IntegrationsBetaApi=ce.IntegrationsBetaApiFactory=ce.IntegrationsBetaApiFp=ce.IntegrationsBetaApiAxiosParamCreator=ce.IntegrationDeliveryConfigurationsBetaApi=ce.IntegrationDeliveryConfigurationsBetaApiFactory=ce.IntegrationDeliveryConfigurationsBetaApiFp=ce.IntegrationDeliveryConfigurationsBetaApiAxiosParamCreator=ce.IntegrationAuditLogSubscriptionsApi=ce.IntegrationAuditLogSubscriptionsApiFactory=ce.IntegrationAuditLogSubscriptionsApiFp=ce.IntegrationAuditLogSubscriptionsApiAxiosParamCreator=ce.InsightsScoresBetaApi=ce.InsightsScoresBetaApiFactory=ce.InsightsScoresBetaApiFp=ce.InsightsScoresBetaApiAxiosParamCreator=ce.InsightsRepositoriesBetaApi=ce.InsightsRepositoriesBetaApiFactory=ce.InsightsRepositoriesBetaApiFp=ce.InsightsRepositoriesBetaApiAxiosParamCreator=ce.InsightsPullRequestsBetaApi=ce.InsightsPullRequestsBetaApiFactory=ce.InsightsPullRequestsBetaApiFp=ce.InsightsPullRequestsBetaApiAxiosParamCreator=ce.InsightsFlagEventsBetaApi=ce.InsightsFlagEventsBetaApiFactory=ce.InsightsFlagEventsBetaApiFp=ce.InsightsFlagEventsBetaApiAxiosParamCreator=ce.InsightsDeploymentsBetaApi=ce.InsightsDeploymentsBetaApiFactory=ce.InsightsDeploymentsBetaApiFp=ce.InsightsDeploymentsBetaApiAxiosParamCreator=ce.InsightsChartsBetaApi=ce.InsightsChartsBetaApiFactory=ce.InsightsChartsBetaApiFp=ce.InsightsChartsBetaApiAxiosParamCreator=ce.HoldoutsBetaApi=ce.HoldoutsBetaApiFactory=ce.HoldoutsBetaApiFp=void 0;ce.UserSettingsApiAxiosParamCreator=ce.TeamsBetaApi=ce.TeamsBetaApiFactory=ce.TeamsBetaApiFp=ce.TeamsBetaApiAxiosParamCreator=ce.TeamsApi=ce.TeamsApiFactory=ce.TeamsApiFp=ce.TeamsApiAxiosParamCreator=ce.TagsApi=ce.TagsApiFactory=ce.TagsApiFp=ce.TagsApiAxiosParamCreator=ce.SegmentsBetaApi=ce.SegmentsBetaApiFactory=ce.SegmentsBetaApiFp=ce.SegmentsBetaApiAxiosParamCreator=ce.SegmentsApi=ce.SegmentsApiFactory=ce.SegmentsApiFp=ce.SegmentsApiAxiosParamCreator=ce.ScheduledChangesApi=ce.ScheduledChangesApiFactory=ce.ScheduledChangesApiFp=ce.ScheduledChangesApiAxiosParamCreator=ce.ReleasesBetaApi=ce.ReleasesBetaApiFactory=ce.ReleasesBetaApiFp=ce.ReleasesBetaApiAxiosParamCreator=ce.ReleasePipelinesBetaApi=ce.ReleasePipelinesBetaApiFactory=ce.ReleasePipelinesBetaApiFp=ce.ReleasePipelinesBetaApiAxiosParamCreator=ce.RelayProxyConfigurationsApi=ce.RelayProxyConfigurationsApiFactory=ce.RelayProxyConfigurationsApiFp=ce.RelayProxyConfigurationsApiAxiosParamCreator=ce.ProjectsApi=ce.ProjectsApiFactory=ce.ProjectsApiFp=ce.ProjectsApiAxiosParamCreator=ce.OtherApi=ce.OtherApiFactory=ce.OtherApiFp=ce.OtherApiAxiosParamCreator=ce.OAuth2ClientsApi=ce.OAuth2ClientsApiFactory=ce.OAuth2ClientsApiFp=ce.OAuth2ClientsApiAxiosParamCreator=ce.MetricsBetaApi=void 0;ce.WorkflowsApi=ce.WorkflowsApiFactory=ce.WorkflowsApiFp=ce.WorkflowsApiAxiosParamCreator=ce.WorkflowTemplatesApi=ce.WorkflowTemplatesApiFactory=ce.WorkflowTemplatesApiFp=ce.WorkflowTemplatesApiAxiosParamCreator=ce.WebhooksApi=ce.WebhooksApiFactory=ce.WebhooksApiFp=ce.WebhooksApiAxiosParamCreator=ce.UsersBetaApi=ce.UsersBetaApiFactory=ce.UsersBetaApiFp=ce.UsersBetaApiAxiosParamCreator=ce.UsersApi=ce.UsersApiFactory=ce.UsersApiFp=ce.UsersApiAxiosParamCreator=ce.UserSettingsApi=ce.UserSettingsApiFactory=ce.UserSettingsApiFp=void 0;var It=zCr(),B=Bfi(),ft=GCr();ce.AccessAllowedReasonEffectEnum={Allow:"allow",Deny:"deny"};ce.AccessDeniedReasonEffectEnum={Allow:"allow",Deny:"deny"};ce.AccessTokenPostRoleEnum={Reader:"reader",Writer:"writer",Admin:"admin"};ce.ApplicationRepKindEnum={Browser:"browser",Mobile:"mobile",Server:"server"};ce.ApprovalRequestResponseReviewStatusEnum={Approved:"approved",Declined:"declined",Pending:"pending"};ce.ApprovalRequestResponseStatusEnum={Pending:"pending",Completed:"completed",Failed:"failed",Scheduled:"scheduled"};ce.BigSegmentStoreIntegrationIntegrationKeyEnum={Redis:"redis",Dynamodb:"dynamodb"};ce.CreateCopyFlagConfigApprovalRequestRequestIncludedActionsEnum={UpdateOn:"updateOn",UpdateFallthrough:"updateFallthrough",UpdateOffVariation:"updateOffVariation",UpdateRules:"updateRules",UpdateTargets:"updateTargets",UpdatePrerequisites:"updatePrerequisites"};ce.CreateCopyFlagConfigApprovalRequestRequestExcludedActionsEnum={UpdateOn:"updateOn",UpdateFallthrough:"updateFallthrough",UpdateOffVariation:"updateOffVariation",UpdateRules:"updateRules",UpdateTargets:"updateTargets",UpdatePrerequisites:"updatePrerequisites"};ce.DependentMetricGroupRepKindEnum={Funnel:"funnel",Standard:"standard"};ce.DependentMetricGroupRepWithMetricsKindEnum={Funnel:"funnel",Standard:"standard"};ce.DependentMetricOrMetricGroupRepKindEnum={Pageview:"pageview",Click:"click",Custom:"custom",Funnel:"funnel",Standard:"standard"};ce.DestinationKindEnum={GooglePubsub:"google-pubsub",Kinesis:"kinesis",Mparticle:"mparticle",Segment:"segment",AzureEventHubs:"azure-event-hubs"};ce.DestinationPostKindEnum={GooglePubsub:"google-pubsub",Kinesis:"kinesis",Mparticle:"mparticle",Segment:"segment",AzureEventHubs:"azure-event-hubs"};ce.DistributionKindEnum={Normal:"normal",Beta:"beta"};ce.ExpandableApprovalRequestResponseReviewStatusEnum={Approved:"approved",Declined:"declined",Pending:"pending"};ce.ExpandableApprovalRequestResponseStatusEnum={Pending:"pending",Completed:"completed",Failed:"failed",Scheduled:"scheduled"};ce.ExpandedFlagRepKindEnum={Boolean:"boolean",Multivariate:"multivariate"};ce.FeatureFlagKindEnum={Boolean:"boolean",Multivariate:"multivariate"};ce.FeatureFlagBodyPurposeEnum={Migration:"migration",Holdout:"holdout"};ce.FeatureFlagStatusNameEnum={New:"new",Inactive:"inactive",Active:"active",Launched:"launched"};ce.FlagConfigApprovalRequestResponseReviewStatusEnum={Approved:"approved",Declined:"declined",Pending:"pending"};ce.FlagConfigApprovalRequestResponseStatusEnum={Pending:"pending",Completed:"completed",Failed:"failed",Scheduled:"scheduled"};ce.FlagCopyConfigPostIncludedActionsEnum={UpdateOn:"updateOn",UpdateRules:"updateRules",UpdateFallthrough:"updateFallthrough",UpdateOffVariation:"updateOffVariation",UpdatePrerequisites:"updatePrerequisites",UpdateTargets:"updateTargets",UpdateFlagConfigMigrationSettings:"updateFlagConfigMigrationSettings"};ce.FlagCopyConfigPostExcludedActionsEnum={UpdateOn:"updateOn",UpdateRules:"updateRules",UpdateFallthrough:"updateFallthrough",UpdateOffVariation:"updateOffVariation",UpdatePrerequisites:"updatePrerequisites",UpdateTargets:"updateTargets",UpdateFlagConfigMigrationSettings:"updateFlagConfigMigrationSettings"};ce.FlagEventImpactRepSizeEnum={None:"none",Small:"small",Medium:"medium",Large:"large"};ce.FlagImportIntegrationIntegrationKeyEnum={Split:"split",Unleash:"unleash"};ce.FlagImportStatusStatusEnum={Complete:"complete",Importing:"importing",Pending:"pending",Failed:"failed",Partial:"partial"};ce.FlagStatusRepNameEnum={New:"new",Inactive:"inactive",Active:"active",Launched:"launched"};ce.HoldoutDetailRepStatusEnum={Created:"created",Enabled:"enabled",Running:"running",Ended:"ended"};ce.HoldoutRepStatusEnum={Created:"created",Enabled:"enabled",Running:"running",Ended:"ended"};ce.InstructionUserRequestKindEnum={AddExpireUserTargetDate:"addExpireUserTargetDate",UpdateExpireUserTargetDate:"updateExpireUserTargetDate",RemoveExpireUserTargetDate:"removeExpireUserTargetDate"};ce.MetricGroupPostKindEnum={Funnel:"funnel"};ce.MetricGroupRepKindEnum={Funnel:"funnel",Standard:"standard"};ce.MetricInGroupRepKindEnum={Pageview:"pageview",Click:"click",Custom:"custom"};ce.MetricInGroupRepUnitAggregationTypeEnum={Sum:"sum",Average:"average"};ce.MetricListingRepKindEnum={Pageview:"pageview",Click:"click",Custom:"custom"};ce.MetricListingRepSuccessCriteriaEnum={HigherThanBaseline:"HigherThanBaseline",LowerThanBaseline:"LowerThanBaseline"};ce.MetricListingRepUnitAggregationTypeEnum={Average:"average",Sum:"sum"};ce.MetricListingRepAnalysisTypeEnum={Mean:"mean",Percentile:"percentile"};ce.MetricPostKindEnum={Pageview:"pageview",Click:"click",Custom:"custom"};ce.MetricPostSuccessCriteriaEnum={HigherThanBaseline:"HigherThanBaseline",LowerThanBaseline:"LowerThanBaseline"};ce.MetricPostUnitAggregationTypeEnum={Average:"average",Sum:"sum"};ce.MetricRepKindEnum={Pageview:"pageview",Click:"click",Custom:"custom"};ce.MetricRepSuccessCriteriaEnum={HigherThanBaseline:"HigherThanBaseline",LowerThanBaseline:"LowerThanBaseline"};ce.MetricRepUnitAggregationTypeEnum={Average:"average",Sum:"sum"};ce.MetricRepAnalysisTypeEnum={Mean:"mean",Percentile:"percentile"};ce.MetricV2RepKindEnum={Pageview:"pageview",Click:"click",Custom:"custom"};ce.MetricV2RepUnitAggregationTypeEnum={Sum:"sum",Average:"average"};ce.NamingConventionCaseEnum={None:"none",CamelCase:"camelCase",UpperCamelCase:"upperCamelCase",SnakeCase:"snakeCase",KebabCase:"kebabCase"};ce.NewMemberFormRoleEnum={Reader:"reader",Writer:"writer",Admin:"admin",NoAccess:"no_access"};ce.PatchSegmentExpiringTargetInstructionKindEnum={AddExpiringTarget:"addExpiringTarget",UpdateExpiringTarget:"updateExpiringTarget",RemoveExpiringTarget:"removeExpiringTarget"};ce.PatchSegmentExpiringTargetInstructionTargetTypeEnum={Included:"included",Excluded:"excluded"};ce.PatchSegmentInstructionKindEnum={AddExpireUserTargetDate:"addExpireUserTargetDate",UpdateExpireUserTargetDate:"updateExpireUserTargetDate",RemoveExpireUserTargetDate:"removeExpireUserTargetDate"};ce.PatchSegmentInstructionTargetTypeEnum={Included:"included",Excluded:"excluded"};ce.PermissionGrantInputActionSetEnum={MaintainTeam:"maintainTeam"};ce.PostApprovalRequestReviewRequestKindEnum={Approve:"approve",Comment:"comment",Decline:"decline"};ce.PostDeploymentEventInputApplicationKindEnum={Server:"server",Browser:"browser",Mobile:"mobile"};ce.PostDeploymentEventInputEventTypeEnum={Started:"started",Failed:"failed",Finished:"finished",Custom:"custom"};ce.RandomizationUnitInputStandardRandomizationUnitEnum={Guest:"guest",GuestTime:"guestTime",Organization:"organization",Request:"request",User:"user",UserTime:"userTime"};ce.RepositoryPostTypeEnum={Bitbucket:"bitbucket",Custom:"custom",Github:"github",Gitlab:"gitlab"};ce.RepositoryRepTypeEnum={Bitbucket:"bitbucket",Custom:"custom",Github:"github",Gitlab:"gitlab"};ce.ReviewResponseKindEnum={Approve:"approve",Decline:"decline",Comment:"comment"};ce.RuleClauseOpEnum={In:"in",EndsWith:"endsWith",StartsWith:"startsWith",Matches:"matches",Contains:"contains",LessThan:"lessThan",LessThanOrEqual:"lessThanOrEqual",GreaterThan:"greaterThan",GreaterThanOrEqual:"greaterThanOrEqual",Before:"before",After:"after",SegmentMatch:"segmentMatch",SemVerEqual:"semVerEqual",SemVerLessThan:"semVerLessThan",SemVerGreaterThan:"semVerGreaterThan"};ce.StatementEffectEnum={Allow:"allow",Deny:"deny"};ce.StatementPostEffectEnum={Allow:"allow",Deny:"deny"};ce.StatisticRepTypeEnum={Bitbucket:"bitbucket",Custom:"custom",Github:"github",Gitlab:"gitlab"};ce.TreatmentResultRepModelEnum={BayesianNormal:"bayesianNormal",BayesianBeta:"bayesianBeta"};ce.UrlPostKindEnum={Exact:"exact",Canonical:"canonical",Substring:"substring",Regex:"regex"};var Zil=function(r){return{deleteToken:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteToken","id",t);let i="/api/v2/tokens/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getToken:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getToken","id",t);let i="/api/v2/tokens/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getTokens:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){let s="/api/v2/tokens",a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),t!==void 0&&(d.showAll=t),n!==void 0&&(d.limit=n),i!==void 0&&(d.offset=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),patchToken:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchToken","id",t),(0,B.assertParamExists)("patchToken","patchOperation",n);let o="/api/v2/tokens/{id}".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postToken:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postToken","accessTokenPost",t);let i="/api/v2/tokens",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),resetToken:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("resetToken","id",t);let o="/api/v2/tokens/{id}/reset".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expiry=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}})}};ce.AccessTokensApiAxiosParamCreator=Zil;var eol=function(r){let t=(0,ce.AccessTokensApiAxiosParamCreator)(r);return{deleteToken(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteToken(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getToken(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getToken(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getTokens(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getTokens(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},patchToken(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchToken(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},postToken(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postToken(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},resetToken(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.resetToken(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})}}};ce.AccessTokensApiFp=eol;var tol=function(r,t,n){let i=(0,ce.AccessTokensApiFp)(r);return{deleteToken(o,s){return i.deleteToken(o,s).then(a=>a(n,t))},getToken(o,s){return i.getToken(o,s).then(a=>a(n,t))},getTokens(o,s,a,l){return i.getTokens(o,s,a,l).then(c=>c(n,t))},patchToken(o,s,a){return i.patchToken(o,s,a).then(l=>l(n,t))},postToken(o,s){return i.postToken(o,s).then(a=>a(n,t))},resetToken(o,s,a){return i.resetToken(o,s,a).then(l=>l(n,t))}}};ce.AccessTokensApiFactory=tol;var HCr=class extends ft.BaseAPI{deleteToken(t,n){return(0,ce.AccessTokensApiFp)(this.configuration).deleteToken(t,n).then(i=>i(this.axios,this.basePath))}getToken(t,n){return(0,ce.AccessTokensApiFp)(this.configuration).getToken(t,n).then(i=>i(this.axios,this.basePath))}getTokens(t,n,i,o){return(0,ce.AccessTokensApiFp)(this.configuration).getTokens(t,n,i,o).then(s=>s(this.axios,this.basePath))}patchToken(t,n,i){return(0,ce.AccessTokensApiFp)(this.configuration).patchToken(t,n,i).then(o=>o(this.axios,this.basePath))}postToken(t,n){return(0,ce.AccessTokensApiFp)(this.configuration).postToken(t,n).then(i=>i(this.axios,this.basePath))}resetToken(t,n,i){return(0,ce.AccessTokensApiFp)(this.configuration).resetToken(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.AccessTokensApi=HCr;var rol=function(r){return{deleteMember:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteMember","id",t);let i="/api/v2/members/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getMember:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getMember","id",t);let o="/api/v2/members/{id}".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getMembers:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){let l="/api/v2/members",c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),t!==void 0&&(f.limit=t),n!==void 0&&(f.offset=n),i!==void 0&&(f.filter=i),o!==void 0&&(f.expand=o),s!==void 0&&(f.sort=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),patchMember:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchMember","id",t),(0,B.assertParamExists)("patchMember","patchOperation",n);let o="/api/v2/members/{id}".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postMemberTeams:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postMemberTeams","id",t),(0,B.assertParamExists)("postMemberTeams","memberTeamsPostInput",n);let o="/api/v2/members/{id}/teams".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postMembers:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postMembers","newMemberForm",t);let i="/api/v2/members",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}})}};ce.AccountMembersApiAxiosParamCreator=rol;var nol=function(r){let t=(0,ce.AccountMembersApiAxiosParamCreator)(r);return{deleteMember(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteMember(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getMember(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getMember(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getMembers(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getMembers(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},patchMember(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchMember(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},postMemberTeams(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postMemberTeams(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},postMembers(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postMembers(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})}}};ce.AccountMembersApiFp=nol;var iol=function(r,t,n){let i=(0,ce.AccountMembersApiFp)(r);return{deleteMember(o,s){return i.deleteMember(o,s).then(a=>a(n,t))},getMember(o,s,a){return i.getMember(o,s,a).then(l=>l(n,t))},getMembers(o,s,a,l,c,u){return i.getMembers(o,s,a,l,c,u).then(d=>d(n,t))},patchMember(o,s,a){return i.patchMember(o,s,a).then(l=>l(n,t))},postMemberTeams(o,s,a){return i.postMemberTeams(o,s,a).then(l=>l(n,t))},postMembers(o,s){return i.postMembers(o,s).then(a=>a(n,t))}}};ce.AccountMembersApiFactory=iol;var VCr=class extends ft.BaseAPI{deleteMember(t,n){return(0,ce.AccountMembersApiFp)(this.configuration).deleteMember(t,n).then(i=>i(this.axios,this.basePath))}getMember(t,n,i){return(0,ce.AccountMembersApiFp)(this.configuration).getMember(t,n,i).then(o=>o(this.axios,this.basePath))}getMembers(t,n,i,o,s,a){return(0,ce.AccountMembersApiFp)(this.configuration).getMembers(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}patchMember(t,n,i){return(0,ce.AccountMembersApiFp)(this.configuration).patchMember(t,n,i).then(o=>o(this.axios,this.basePath))}postMemberTeams(t,n,i){return(0,ce.AccountMembersApiFp)(this.configuration).postMemberTeams(t,n,i).then(o=>o(this.axios,this.basePath))}postMembers(t,n){return(0,ce.AccountMembersApiFp)(this.configuration).postMembers(t,n).then(i=>i(this.axios,this.basePath))}};ce.AccountMembersApi=VCr;var ool=function(r){return{patchMembers:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchMembers","membersPatchInput",t);let i="/api/v2/members",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"PATCH"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}})}};ce.AccountMembersBetaApiAxiosParamCreator=ool;var sol=function(r){let t=(0,ce.AccountMembersBetaApiAxiosParamCreator)(r);return{patchMembers(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.patchMembers(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})}}};ce.AccountMembersBetaApiFp=sol;var aol=function(r,t,n){let i=(0,ce.AccountMembersBetaApiFp)(r);return{patchMembers(o,s){return i.patchMembers(o,s).then(a=>a(n,t))}}};ce.AccountMembersBetaApiFactory=aol;var YCr=class extends ft.BaseAPI{patchMembers(t,n){return(0,ce.AccountMembersBetaApiFp)(this.configuration).patchMembers(t,n).then(i=>i(this.axios,this.basePath))}};ce.AccountMembersBetaApi=YCr;var lol=function(r){return{getDataExportEventsUsage:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/usage/data-export-events",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.from=t),n!==void 0&&(p.to=n),i!==void 0&&(p.projectKey=i),o!==void 0&&(p.environmentKey=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getEvaluationsUsage:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getEvaluationsUsage","projectKey",t),(0,B.assertParamExists)("getEvaluationsUsage","environmentKey",n),(0,B.assertParamExists)("getEvaluationsUsage","featureFlagKey",i);let c="/api/v2/usage/evaluations/{projectKey}/{environmentKey}/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),o!==void 0&&(A.from=o),s!==void 0&&(A.to=s),a!==void 0&&(A.tz=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),getEventsUsage:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getEventsUsage","type",t);let s="/api/v2/usage/events/{type}".replace("{type}",encodeURIComponent(String(t))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),n!==void 0&&(d.from=n),i!==void 0&&(d.to=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getExperimentationKeysUsage:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/usage/experimentation-keys",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.from=t),n!==void 0&&(p.to=n),i!==void 0&&(p.projectKey=i),o!==void 0&&(p.environmentKey=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getExperimentationUnitsUsage:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/usage/experimentation-units",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.from=t),n!==void 0&&(p.to=n),i!==void 0&&(p.projectKey=i),o!==void 0&&(p.environmentKey=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getMauSdksByType:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){let s="/api/v2/usage/mau/sdks",a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),t!==void 0&&(d.from=t),n!==void 0&&(d.to=n),i!==void 0&&(d.sdktype=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getMauUsage:(t,n,i,o,s,a,l,c,u={})=>Pe(this,void 0,void 0,function*(){let d="/api/v2/usage/mau",p=new URL(d,B.DUMMY_BASE_URL),f;r&&(f=r.baseOptions);let A=Object.assign(Object.assign({method:"GET"},f),u),h={},y={};yield(0,B.setApiKeyToObject)(h,"Authorization",r),t!==void 0&&(y.from=t),n!==void 0&&(y.to=n),i!==void 0&&(y.project=i),o!==void 0&&(y.environment=o),s!==void 0&&(y.sdktype=s),a!==void 0&&(y.sdk=a),l!==void 0&&(y.anonymous=l),c!==void 0&&(y.groupby=c),(0,B.setSearchParams)(p,y);let C=f&&f.headers?f.headers:{};return A.headers=Object.assign(Object.assign(Object.assign({},h),C),u.headers),{url:(0,B.toPathString)(p),options:A}}),getMauUsageByCategory:(t,n,i={})=>Pe(this,void 0,void 0,function*(){let o="/api/v2/usage/mau/bycategory",s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),t!==void 0&&(u.from=t),n!==void 0&&(u.to=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getServiceConnectionUsage:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/usage/service-connections",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.from=t),n!==void 0&&(p.to=n),i!==void 0&&(p.projectKey=i),o!==void 0&&(p.environmentKey=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getStreamUsage:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getStreamUsage","source",t);let a="/api/v2/usage/streams/{source}".replace("{source}",encodeURIComponent(String(t))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),n!==void 0&&(p.from=n),i!==void 0&&(p.to=i),o!==void 0&&(p.tz=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getStreamUsageBySdkVersion:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getStreamUsageBySdkVersion","source",t);let c="/api/v2/usage/streams/{source}/bysdkversion".replace("{source}",encodeURIComponent(String(t))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),n!==void 0&&(A.from=n),i!==void 0&&(A.to=i),o!==void 0&&(A.tz=o),s!==void 0&&(A.sdk=s),a!==void 0&&(A.version=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),getStreamUsageSdkversion:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getStreamUsageSdkversion","source",t);let i="/api/v2/usage/streams/{source}/sdkversions".replace("{source}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}})}};ce.AccountUsageBetaApiAxiosParamCreator=lol;var uol=function(r){let t=(0,ce.AccountUsageBetaApiAxiosParamCreator)(r);return{getDataExportEventsUsage(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getDataExportEventsUsage(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getEvaluationsUsage(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getEvaluationsUsage(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,ft.BASE_PATH,r)})},getEventsUsage(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getEventsUsage(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getExperimentationKeysUsage(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getExperimentationKeysUsage(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getExperimentationUnitsUsage(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getExperimentationUnitsUsage(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getMauSdksByType(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getMauSdksByType(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getMauUsage(n,i,o,s,a,l,c,u,d){return Pe(this,void 0,void 0,function*(){let p=yield t.getMauUsage(n,i,o,s,a,l,c,u,d);return(0,B.createRequestFunction)(p,It.default,ft.BASE_PATH,r)})},getMauUsageByCategory(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getMauUsageByCategory(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getServiceConnectionUsage(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getServiceConnectionUsage(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getStreamUsage(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getStreamUsage(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getStreamUsageBySdkVersion(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getStreamUsageBySdkVersion(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,ft.BASE_PATH,r)})},getStreamUsageSdkversion(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getStreamUsageSdkversion(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})}}};ce.AccountUsageBetaApiFp=uol;var col=function(r,t,n){let i=(0,ce.AccountUsageBetaApiFp)(r);return{getDataExportEventsUsage(o,s,a,l,c){return i.getDataExportEventsUsage(o,s,a,l,c).then(u=>u(n,t))},getEvaluationsUsage(o,s,a,l,c,u,d){return i.getEvaluationsUsage(o,s,a,l,c,u,d).then(p=>p(n,t))},getEventsUsage(o,s,a,l){return i.getEventsUsage(o,s,a,l).then(c=>c(n,t))},getExperimentationKeysUsage(o,s,a,l,c){return i.getExperimentationKeysUsage(o,s,a,l,c).then(u=>u(n,t))},getExperimentationUnitsUsage(o,s,a,l,c){return i.getExperimentationUnitsUsage(o,s,a,l,c).then(u=>u(n,t))},getMauSdksByType(o,s,a,l){return i.getMauSdksByType(o,s,a,l).then(c=>c(n,t))},getMauUsage(o,s,a,l,c,u,d,p,f){return i.getMauUsage(o,s,a,l,c,u,d,p,f).then(A=>A(n,t))},getMauUsageByCategory(o,s,a){return i.getMauUsageByCategory(o,s,a).then(l=>l(n,t))},getServiceConnectionUsage(o,s,a,l,c){return i.getServiceConnectionUsage(o,s,a,l,c).then(u=>u(n,t))},getStreamUsage(o,s,a,l,c){return i.getStreamUsage(o,s,a,l,c).then(u=>u(n,t))},getStreamUsageBySdkVersion(o,s,a,l,c,u,d){return i.getStreamUsageBySdkVersion(o,s,a,l,c,u,d).then(p=>p(n,t))},getStreamUsageSdkversion(o,s){return i.getStreamUsageSdkversion(o,s).then(a=>a(n,t))}}};ce.AccountUsageBetaApiFactory=col;var KCr=class extends ft.BaseAPI{getDataExportEventsUsage(t,n,i,o,s){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getDataExportEventsUsage(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getEvaluationsUsage(t,n,i,o,s,a,l){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getEvaluationsUsage(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}getEventsUsage(t,n,i,o){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getEventsUsage(t,n,i,o).then(s=>s(this.axios,this.basePath))}getExperimentationKeysUsage(t,n,i,o,s){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getExperimentationKeysUsage(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getExperimentationUnitsUsage(t,n,i,o,s){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getExperimentationUnitsUsage(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getMauSdksByType(t,n,i,o){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getMauSdksByType(t,n,i,o).then(s=>s(this.axios,this.basePath))}getMauUsage(t,n,i,o,s,a,l,c,u){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getMauUsage(t,n,i,o,s,a,l,c,u).then(d=>d(this.axios,this.basePath))}getMauUsageByCategory(t,n,i){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getMauUsageByCategory(t,n,i).then(o=>o(this.axios,this.basePath))}getServiceConnectionUsage(t,n,i,o,s){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getServiceConnectionUsage(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getStreamUsage(t,n,i,o,s){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getStreamUsage(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getStreamUsageBySdkVersion(t,n,i,o,s,a,l){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getStreamUsageBySdkVersion(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}getStreamUsageSdkversion(t,n){return(0,ce.AccountUsageBetaApiFp)(this.configuration).getStreamUsageSdkversion(t,n).then(i=>i(this.axios,this.basePath))}};ce.AccountUsageBetaApi=KCr;var dol=function(r){return{deleteApplication:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteApplication","applicationKey",t);let i="/api/v2/applications/{applicationKey}".replace("{applicationKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),deleteApplicationVersion:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteApplicationVersion","applicationKey",t),(0,B.assertParamExists)("deleteApplicationVersion","versionKey",n);let o="/api/v2/applications/{applicationKey}/versions/{versionKey}".replace("{applicationKey}",encodeURIComponent(String(t))).replace("{versionKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getApplication:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getApplication","applicationKey",t);let o="/api/v2/applications/{applicationKey}".replace("{applicationKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getApplicationVersions:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getApplicationVersions","applicationKey",t);let l="/api/v2/applications/{applicationKey}/versions".replace("{applicationKey}",encodeURIComponent(String(t))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),n!==void 0&&(f.filter=n),i!==void 0&&(f.limit=i),o!==void 0&&(f.offset=o),s!==void 0&&(f.sort=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),getApplications:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){let l="/api/v2/applications",c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),t!==void 0&&(f.filter=t),n!==void 0&&(f.limit=n),i!==void 0&&(f.offset=i),o!==void 0&&(f.sort=o),s!==void 0&&(f.expand=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),patchApplication:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchApplication","applicationKey",t),(0,B.assertParamExists)("patchApplication","patchOperation",n);let o="/api/v2/applications/{applicationKey}".replace("{applicationKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),patchApplicationVersion:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchApplicationVersion","applicationKey",t),(0,B.assertParamExists)("patchApplicationVersion","versionKey",n),(0,B.assertParamExists)("patchApplicationVersion","patchOperation",i);let s="/api/v2/applications/{applicationKey}/versions/{versionKey}".replace("{applicationKey}",encodeURIComponent(String(t))).replace("{versionKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.ApplicationsBetaApiAxiosParamCreator=dol;var pol=function(r){let t=(0,ce.ApplicationsBetaApiAxiosParamCreator)(r);return{deleteApplication(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteApplication(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},deleteApplicationVersion(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteApplicationVersion(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getApplication(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getApplication(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getApplicationVersions(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getApplicationVersions(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},getApplications(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getApplications(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},patchApplication(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchApplication(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},patchApplicationVersion(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.patchApplicationVersion(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})}}};ce.ApplicationsBetaApiFp=pol;var fol=function(r,t,n){let i=(0,ce.ApplicationsBetaApiFp)(r);return{deleteApplication(o,s){return i.deleteApplication(o,s).then(a=>a(n,t))},deleteApplicationVersion(o,s,a){return i.deleteApplicationVersion(o,s,a).then(l=>l(n,t))},getApplication(o,s,a){return i.getApplication(o,s,a).then(l=>l(n,t))},getApplicationVersions(o,s,a,l,c,u){return i.getApplicationVersions(o,s,a,l,c,u).then(d=>d(n,t))},getApplications(o,s,a,l,c,u){return i.getApplications(o,s,a,l,c,u).then(d=>d(n,t))},patchApplication(o,s,a){return i.patchApplication(o,s,a).then(l=>l(n,t))},patchApplicationVersion(o,s,a,l){return i.patchApplicationVersion(o,s,a,l).then(c=>c(n,t))}}};ce.ApplicationsBetaApiFactory=fol;var JCr=class extends ft.BaseAPI{deleteApplication(t,n){return(0,ce.ApplicationsBetaApiFp)(this.configuration).deleteApplication(t,n).then(i=>i(this.axios,this.basePath))}deleteApplicationVersion(t,n,i){return(0,ce.ApplicationsBetaApiFp)(this.configuration).deleteApplicationVersion(t,n,i).then(o=>o(this.axios,this.basePath))}getApplication(t,n,i){return(0,ce.ApplicationsBetaApiFp)(this.configuration).getApplication(t,n,i).then(o=>o(this.axios,this.basePath))}getApplicationVersions(t,n,i,o,s,a){return(0,ce.ApplicationsBetaApiFp)(this.configuration).getApplicationVersions(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getApplications(t,n,i,o,s,a){return(0,ce.ApplicationsBetaApiFp)(this.configuration).getApplications(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}patchApplication(t,n,i){return(0,ce.ApplicationsBetaApiFp)(this.configuration).patchApplication(t,n,i).then(o=>o(this.axios,this.basePath))}patchApplicationVersion(t,n,i,o){return(0,ce.ApplicationsBetaApiFp)(this.configuration).patchApplicationVersion(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.ApplicationsBetaApi=JCr;var Aol=function(r){return{deleteApprovalRequest:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteApprovalRequest","id",t);let i="/api/v2/approval-requests/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),deleteApprovalRequestForFlag:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteApprovalRequestForFlag","projectKey",t),(0,B.assertParamExists)("deleteApprovalRequestForFlag","featureFlagKey",n),(0,B.assertParamExists)("deleteApprovalRequestForFlag","environmentKey",i),(0,B.assertParamExists)("deleteApprovalRequestForFlag","id",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getApprovalForFlag:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getApprovalForFlag","projectKey",t),(0,B.assertParamExists)("getApprovalForFlag","featureFlagKey",n),(0,B.assertParamExists)("getApprovalForFlag","environmentKey",i),(0,B.assertParamExists)("getApprovalForFlag","id",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getApprovalRequest:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getApprovalRequest","id",t);let o="/api/v2/approval-requests/{id}".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getApprovalRequests:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/approval-requests",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.filter=t),n!==void 0&&(p.expand=n),i!==void 0&&(p.limit=i),o!==void 0&&(p.offset=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getApprovalsForFlag:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getApprovalsForFlag","projectKey",t),(0,B.assertParamExists)("getApprovalsForFlag","featureFlagKey",n),(0,B.assertParamExists)("getApprovalsForFlag","environmentKey",i);let s="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),postApprovalRequest:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postApprovalRequest","createApprovalRequestRequest",t);let i="/api/v2/approval-requests",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),postApprovalRequestApply:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postApprovalRequestApply","id",t),(0,B.assertParamExists)("postApprovalRequestApply","postApprovalRequestApplyRequest",n);let o="/api/v2/approval-requests/{id}/apply".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postApprovalRequestApplyForFlag:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postApprovalRequestApplyForFlag","projectKey",t),(0,B.assertParamExists)("postApprovalRequestApplyForFlag","featureFlagKey",n),(0,B.assertParamExists)("postApprovalRequestApplyForFlag","environmentKey",i),(0,B.assertParamExists)("postApprovalRequestApplyForFlag","id",o),(0,B.assertParamExists)("postApprovalRequestApplyForFlag","postApprovalRequestApplyRequest",s);let l="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/apply".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"POST"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}}),postApprovalRequestForFlag:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postApprovalRequestForFlag","projectKey",t),(0,B.assertParamExists)("postApprovalRequestForFlag","featureFlagKey",n),(0,B.assertParamExists)("postApprovalRequestForFlag","environmentKey",i),(0,B.assertParamExists)("postApprovalRequestForFlag","createFlagConfigApprovalRequestRequest",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),postApprovalRequestReview:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postApprovalRequestReview","id",t),(0,B.assertParamExists)("postApprovalRequestReview","postApprovalRequestReviewRequest",n);let o="/api/v2/approval-requests/{id}/reviews".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postApprovalRequestReviewForFlag:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postApprovalRequestReviewForFlag","projectKey",t),(0,B.assertParamExists)("postApprovalRequestReviewForFlag","featureFlagKey",n),(0,B.assertParamExists)("postApprovalRequestReviewForFlag","environmentKey",i),(0,B.assertParamExists)("postApprovalRequestReviewForFlag","id",o),(0,B.assertParamExists)("postApprovalRequestReviewForFlag","postApprovalRequestReviewRequest",s);let l="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}/reviews".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"POST"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}}),postFlagCopyConfigApprovalRequest:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postFlagCopyConfigApprovalRequest","projectKey",t),(0,B.assertParamExists)("postFlagCopyConfigApprovalRequest","featureFlagKey",n),(0,B.assertParamExists)("postFlagCopyConfigApprovalRequest","environmentKey",i),(0,B.assertParamExists)("postFlagCopyConfigApprovalRequest","createCopyFlagConfigApprovalRequestRequest",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests-flag-copy".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}})}};ce.ApprovalsApiAxiosParamCreator=Aol;var hol=function(r){let t=(0,ce.ApprovalsApiAxiosParamCreator)(r);return{deleteApprovalRequest(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteApprovalRequest(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},deleteApprovalRequestForFlag(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteApprovalRequestForFlag(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getApprovalForFlag(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getApprovalForFlag(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getApprovalRequest(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getApprovalRequest(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getApprovalRequests(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getApprovalRequests(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getApprovalsForFlag(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getApprovalsForFlag(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},postApprovalRequest(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postApprovalRequest(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},postApprovalRequestApply(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postApprovalRequestApply(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},postApprovalRequestApplyForFlag(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.postApprovalRequestApplyForFlag(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},postApprovalRequestForFlag(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.postApprovalRequestForFlag(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},postApprovalRequestReview(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postApprovalRequestReview(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},postApprovalRequestReviewForFlag(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.postApprovalRequestReviewForFlag(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},postFlagCopyConfigApprovalRequest(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.postFlagCopyConfigApprovalRequest(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})}}};ce.ApprovalsApiFp=hol;var gol=function(r,t,n){let i=(0,ce.ApprovalsApiFp)(r);return{deleteApprovalRequest(o,s){return i.deleteApprovalRequest(o,s).then(a=>a(n,t))},deleteApprovalRequestForFlag(o,s,a,l,c){return i.deleteApprovalRequestForFlag(o,s,a,l,c).then(u=>u(n,t))},getApprovalForFlag(o,s,a,l,c){return i.getApprovalForFlag(o,s,a,l,c).then(u=>u(n,t))},getApprovalRequest(o,s,a){return i.getApprovalRequest(o,s,a).then(l=>l(n,t))},getApprovalRequests(o,s,a,l,c){return i.getApprovalRequests(o,s,a,l,c).then(u=>u(n,t))},getApprovalsForFlag(o,s,a,l){return i.getApprovalsForFlag(o,s,a,l).then(c=>c(n,t))},postApprovalRequest(o,s){return i.postApprovalRequest(o,s).then(a=>a(n,t))},postApprovalRequestApply(o,s,a){return i.postApprovalRequestApply(o,s,a).then(l=>l(n,t))},postApprovalRequestApplyForFlag(o,s,a,l,c,u){return i.postApprovalRequestApplyForFlag(o,s,a,l,c,u).then(d=>d(n,t))},postApprovalRequestForFlag(o,s,a,l,c){return i.postApprovalRequestForFlag(o,s,a,l,c).then(u=>u(n,t))},postApprovalRequestReview(o,s,a){return i.postApprovalRequestReview(o,s,a).then(l=>l(n,t))},postApprovalRequestReviewForFlag(o,s,a,l,c,u){return i.postApprovalRequestReviewForFlag(o,s,a,l,c,u).then(d=>d(n,t))},postFlagCopyConfigApprovalRequest(o,s,a,l,c){return i.postFlagCopyConfigApprovalRequest(o,s,a,l,c).then(u=>u(n,t))}}};ce.ApprovalsApiFactory=gol;var XCr=class extends ft.BaseAPI{deleteApprovalRequest(t,n){return(0,ce.ApprovalsApiFp)(this.configuration).deleteApprovalRequest(t,n).then(i=>i(this.axios,this.basePath))}deleteApprovalRequestForFlag(t,n,i,o,s){return(0,ce.ApprovalsApiFp)(this.configuration).deleteApprovalRequestForFlag(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getApprovalForFlag(t,n,i,o,s){return(0,ce.ApprovalsApiFp)(this.configuration).getApprovalForFlag(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getApprovalRequest(t,n,i){return(0,ce.ApprovalsApiFp)(this.configuration).getApprovalRequest(t,n,i).then(o=>o(this.axios,this.basePath))}getApprovalRequests(t,n,i,o,s){return(0,ce.ApprovalsApiFp)(this.configuration).getApprovalRequests(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getApprovalsForFlag(t,n,i,o){return(0,ce.ApprovalsApiFp)(this.configuration).getApprovalsForFlag(t,n,i,o).then(s=>s(this.axios,this.basePath))}postApprovalRequest(t,n){return(0,ce.ApprovalsApiFp)(this.configuration).postApprovalRequest(t,n).then(i=>i(this.axios,this.basePath))}postApprovalRequestApply(t,n,i){return(0,ce.ApprovalsApiFp)(this.configuration).postApprovalRequestApply(t,n,i).then(o=>o(this.axios,this.basePath))}postApprovalRequestApplyForFlag(t,n,i,o,s,a){return(0,ce.ApprovalsApiFp)(this.configuration).postApprovalRequestApplyForFlag(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}postApprovalRequestForFlag(t,n,i,o,s){return(0,ce.ApprovalsApiFp)(this.configuration).postApprovalRequestForFlag(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}postApprovalRequestReview(t,n,i){return(0,ce.ApprovalsApiFp)(this.configuration).postApprovalRequestReview(t,n,i).then(o=>o(this.axios,this.basePath))}postApprovalRequestReviewForFlag(t,n,i,o,s,a){return(0,ce.ApprovalsApiFp)(this.configuration).postApprovalRequestReviewForFlag(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}postFlagCopyConfigApprovalRequest(t,n,i,o,s){return(0,ce.ApprovalsApiFp)(this.configuration).postFlagCopyConfigApprovalRequest(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.ApprovalsApi=XCr;var mol=function(r){return{patchApprovalRequest:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchApprovalRequest","projectKey",t),(0,B.assertParamExists)("patchApprovalRequest","featureFlagKey",n),(0,B.assertParamExists)("patchApprovalRequest","environmentKey",i),(0,B.assertParamExists)("patchApprovalRequest","id",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}})}};ce.ApprovalsBetaApiAxiosParamCreator=mol;var yol=function(r){let t=(0,ce.ApprovalsBetaApiAxiosParamCreator)(r);return{patchApprovalRequest(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchApprovalRequest(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})}}};ce.ApprovalsBetaApiFp=yol;var Eol=function(r,t,n){let i=(0,ce.ApprovalsBetaApiFp)(r);return{patchApprovalRequest(o,s,a,l,c){return i.patchApprovalRequest(o,s,a,l,c).then(u=>u(n,t))}}};ce.ApprovalsBetaApiFactory=Eol;var $Cr=class extends ft.BaseAPI{patchApprovalRequest(t,n,i,o,s){return(0,ce.ApprovalsBetaApiFp)(this.configuration).patchApprovalRequest(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.ApprovalsBetaApi=$Cr;var bol=function(r){return{getAuditLogEntries:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){let l="/api/v2/auditlog",c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),t!==void 0&&(f.before=t),n!==void 0&&(f.after=n),i!==void 0&&(f.q=i),o!==void 0&&(f.limit=o),s!==void 0&&(f.spec=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),getAuditLogEntry:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getAuditLogEntry","id",t);let i="/api/v2/auditlog/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),postAuditLogEntries:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){let l="/api/v2/auditlog",c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"POST"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),t!==void 0&&(f.before=t),n!==void 0&&(f.after=n),i!==void 0&&(f.q=i),o!==void 0&&(f.limit=o),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}})}};ce.AuditLogApiAxiosParamCreator=bol;var Col=function(r){let t=(0,ce.AuditLogApiAxiosParamCreator)(r);return{getAuditLogEntries(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getAuditLogEntries(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},getAuditLogEntry(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getAuditLogEntry(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},postAuditLogEntries(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.postAuditLogEntries(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})}}};ce.AuditLogApiFp=Col;var Iol=function(r,t,n){let i=(0,ce.AuditLogApiFp)(r);return{getAuditLogEntries(o,s,a,l,c,u){return i.getAuditLogEntries(o,s,a,l,c,u).then(d=>d(n,t))},getAuditLogEntry(o,s){return i.getAuditLogEntry(o,s).then(a=>a(n,t))},postAuditLogEntries(o,s,a,l,c,u){return i.postAuditLogEntries(o,s,a,l,c,u).then(d=>d(n,t))}}};ce.AuditLogApiFactory=Iol;var ZCr=class extends ft.BaseAPI{getAuditLogEntries(t,n,i,o,s,a){return(0,ce.AuditLogApiFp)(this.configuration).getAuditLogEntries(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getAuditLogEntry(t,n){return(0,ce.AuditLogApiFp)(this.configuration).getAuditLogEntry(t,n).then(i=>i(this.axios,this.basePath))}postAuditLogEntries(t,n,i,o,s,a){return(0,ce.AuditLogApiFp)(this.configuration).postAuditLogEntries(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}};ce.AuditLogApi=ZCr;var vol=function(r){return{deleteBranches:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteBranches","repo",t),(0,B.assertParamExists)("deleteBranches","requestBody",n);let o="/api/v2/code-refs/repositories/{repo}/branch-delete-tasks".replace("{repo}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),deleteRepository:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteRepository","repo",t);let i="/api/v2/code-refs/repositories/{repo}".replace("{repo}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getBranch:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getBranch","repo",t),(0,B.assertParamExists)("getBranch","branch",n);let a="/api/v2/code-refs/repositories/{repo}/branches/{branch}".replace("{repo}",encodeURIComponent(String(t))).replace("{branch}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),i!==void 0&&(p.projKey=i),o!==void 0&&(p.flagKey=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getBranches:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getBranches","repo",t);let i="/api/v2/code-refs/repositories/{repo}/branches".replace("{repo}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getExtinctions:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){let c="/api/v2/code-refs/extinctions",u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),t!==void 0&&(A.repoName=t),n!==void 0&&(A.branchName=n),i!==void 0&&(A.projKey=i),o!==void 0&&(A.flagKey=o),s!==void 0&&(A.from=s),a!==void 0&&(A.to=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),getRepositories:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/code-refs/repositories",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.withBranches=t),n!==void 0&&(p.withReferencesForDefaultBranch=n),i!==void 0&&(p.projKey=i),o!==void 0&&(p.flagKey=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getRepository:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getRepository","repo",t);let i="/api/v2/code-refs/repositories/{repo}".replace("{repo}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getRootStatistic:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/code-refs/statistics",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getStatistics:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getStatistics","projectKey",t);let o="/api/v2/code-refs/statistics/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.flagKey=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),patchRepository:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchRepository","repo",t),(0,B.assertParamExists)("patchRepository","patchOperation",n);let o="/api/v2/code-refs/repositories/{repo}".replace("{repo}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postExtinction:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postExtinction","repo",t),(0,B.assertParamExists)("postExtinction","branch",n),(0,B.assertParamExists)("postExtinction","extinction",i);let s="/api/v2/code-refs/repositories/{repo}/branches/{branch}/extinction-events".replace("{repo}",encodeURIComponent(String(t))).replace("{branch}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),postRepository:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postRepository","repositoryPost",t);let i="/api/v2/code-refs/repositories",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),putBranch:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putBranch","repo",t),(0,B.assertParamExists)("putBranch","branch",n),(0,B.assertParamExists)("putBranch","putBranch",i);let s="/api/v2/code-refs/repositories/{repo}/branches/{branch}".replace("{repo}",encodeURIComponent(String(t))).replace("{branch}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PUT"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.CodeReferencesApiAxiosParamCreator=vol;var Sol=function(r){let t=(0,ce.CodeReferencesApiAxiosParamCreator)(r);return{deleteBranches(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteBranches(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},deleteRepository(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteRepository(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getBranch(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getBranch(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getBranches(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getBranches(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getExtinctions(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getExtinctions(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,ft.BASE_PATH,r)})},getRepositories(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getRepositories(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getRepository(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getRepository(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getRootStatistic(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getRootStatistic(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})},getStatistics(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getStatistics(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},patchRepository(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchRepository(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},postExtinction(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.postExtinction(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},postRepository(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postRepository(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},putBranch(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.putBranch(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})}}};ce.CodeReferencesApiFp=Sol;var Tol=function(r,t,n){let i=(0,ce.CodeReferencesApiFp)(r);return{deleteBranches(o,s,a){return i.deleteBranches(o,s,a).then(l=>l(n,t))},deleteRepository(o,s){return i.deleteRepository(o,s).then(a=>a(n,t))},getBranch(o,s,a,l,c){return i.getBranch(o,s,a,l,c).then(u=>u(n,t))},getBranches(o,s){return i.getBranches(o,s).then(a=>a(n,t))},getExtinctions(o,s,a,l,c,u,d){return i.getExtinctions(o,s,a,l,c,u,d).then(p=>p(n,t))},getRepositories(o,s,a,l,c){return i.getRepositories(o,s,a,l,c).then(u=>u(n,t))},getRepository(o,s){return i.getRepository(o,s).then(a=>a(n,t))},getRootStatistic(o){return i.getRootStatistic(o).then(s=>s(n,t))},getStatistics(o,s,a){return i.getStatistics(o,s,a).then(l=>l(n,t))},patchRepository(o,s,a){return i.patchRepository(o,s,a).then(l=>l(n,t))},postExtinction(o,s,a,l){return i.postExtinction(o,s,a,l).then(c=>c(n,t))},postRepository(o,s){return i.postRepository(o,s).then(a=>a(n,t))},putBranch(o,s,a,l){return i.putBranch(o,s,a,l).then(c=>c(n,t))}}};ce.CodeReferencesApiFactory=Tol;var eIr=class extends ft.BaseAPI{deleteBranches(t,n,i){return(0,ce.CodeReferencesApiFp)(this.configuration).deleteBranches(t,n,i).then(o=>o(this.axios,this.basePath))}deleteRepository(t,n){return(0,ce.CodeReferencesApiFp)(this.configuration).deleteRepository(t,n).then(i=>i(this.axios,this.basePath))}getBranch(t,n,i,o,s){return(0,ce.CodeReferencesApiFp)(this.configuration).getBranch(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getBranches(t,n){return(0,ce.CodeReferencesApiFp)(this.configuration).getBranches(t,n).then(i=>i(this.axios,this.basePath))}getExtinctions(t,n,i,o,s,a,l){return(0,ce.CodeReferencesApiFp)(this.configuration).getExtinctions(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}getRepositories(t,n,i,o,s){return(0,ce.CodeReferencesApiFp)(this.configuration).getRepositories(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getRepository(t,n){return(0,ce.CodeReferencesApiFp)(this.configuration).getRepository(t,n).then(i=>i(this.axios,this.basePath))}getRootStatistic(t){return(0,ce.CodeReferencesApiFp)(this.configuration).getRootStatistic(t).then(n=>n(this.axios,this.basePath))}getStatistics(t,n,i){return(0,ce.CodeReferencesApiFp)(this.configuration).getStatistics(t,n,i).then(o=>o(this.axios,this.basePath))}patchRepository(t,n,i){return(0,ce.CodeReferencesApiFp)(this.configuration).patchRepository(t,n,i).then(o=>o(this.axios,this.basePath))}postExtinction(t,n,i,o){return(0,ce.CodeReferencesApiFp)(this.configuration).postExtinction(t,n,i,o).then(s=>s(this.axios,this.basePath))}postRepository(t,n){return(0,ce.CodeReferencesApiFp)(this.configuration).postRepository(t,n).then(i=>i(this.axios,this.basePath))}putBranch(t,n,i,o){return(0,ce.CodeReferencesApiFp)(this.configuration).putBranch(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.CodeReferencesApi=eIr;var Ool=function(r){return{putContextFlagSetting:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putContextFlagSetting","projectKey",t),(0,B.assertParamExists)("putContextFlagSetting","environmentKey",n),(0,B.assertParamExists)("putContextFlagSetting","contextKind",i),(0,B.assertParamExists)("putContextFlagSetting","contextKey",o),(0,B.assertParamExists)("putContextFlagSetting","featureFlagKey",s),(0,B.assertParamExists)("putContextFlagSetting","valuePut",a);let c="/api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/{contextKind}/{contextKey}/flags/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{contextKind}",encodeURIComponent(String(i))).replace("{contextKey}",encodeURIComponent(String(o))).replace("{featureFlagKey}",encodeURIComponent(String(s))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"PUT"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),f["Content-Type"]="application/json",(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),p.data=(0,B.serializeDataIfNeeded)(a,p,r),{url:(0,B.toPathString)(u),options:p}})}};ce.ContextSettingsApiAxiosParamCreator=Ool;var _ol=function(r){let t=(0,ce.ContextSettingsApiAxiosParamCreator)(r);return{putContextFlagSetting(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.putContextFlagSetting(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,ft.BASE_PATH,r)})}}};ce.ContextSettingsApiFp=_ol;var Rol=function(r,t,n){let i=(0,ce.ContextSettingsApiFp)(r);return{putContextFlagSetting(o,s,a,l,c,u,d){return i.putContextFlagSetting(o,s,a,l,c,u,d).then(p=>p(n,t))}}};ce.ContextSettingsApiFactory=Rol;var tIr=class extends ft.BaseAPI{putContextFlagSetting(t,n,i,o,s,a,l){return(0,ce.ContextSettingsApiFp)(this.configuration).putContextFlagSetting(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}};ce.ContextSettingsApi=tIr;var wol=function(r){return{deleteContextInstances:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteContextInstances","projectKey",t),(0,B.assertParamExists)("deleteContextInstances","environmentKey",n),(0,B.assertParamExists)("deleteContextInstances","id",i);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}/context-instances/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"DELETE"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),evaluateContextInstance:(t,n,i,o,s,a,l,c={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("evaluateContextInstance","projectKey",t),(0,B.assertParamExists)("evaluateContextInstance","environmentKey",n),(0,B.assertParamExists)("evaluateContextInstance","requestBody",i);let u="/api/v2/projects/{projectKey}/environments/{environmentKey}/flags/evaluate".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),d=new URL(u,B.DUMMY_BASE_URL),p;r&&(p=r.baseOptions);let f=Object.assign(Object.assign({method:"POST"},p),c),A={},h={};yield(0,B.setApiKeyToObject)(A,"Authorization",r),o!==void 0&&(h.limit=o),s!==void 0&&(h.offset=s),a!==void 0&&(h.sort=a),l!==void 0&&(h.filter=l),A["Content-Type"]="application/json",(0,B.setSearchParams)(d,h);let y=p&&p.headers?p.headers:{};return f.headers=Object.assign(Object.assign(Object.assign({},A),y),c.headers),f.data=(0,B.serializeDataIfNeeded)(i,f,r),{url:(0,B.toPathString)(d),options:f}}),getContextAttributeNames:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getContextAttributeNames","projectKey",t),(0,B.assertParamExists)("getContextAttributeNames","environmentKey",n);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),i!==void 0&&(p.filter=i),o!==void 0&&(p.limit=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getContextAttributeValues:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getContextAttributeValues","projectKey",t),(0,B.assertParamExists)("getContextAttributeValues","environmentKey",n),(0,B.assertParamExists)("getContextAttributeValues","attributeName",i);let l="/api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes/{attributeName}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{attributeName}",encodeURIComponent(String(i))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),o!==void 0&&(f.filter=o),s!==void 0&&(f.limit=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),getContextInstances:(t,n,i,o,s,a,l,c,u={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getContextInstances","projectKey",t),(0,B.assertParamExists)("getContextInstances","environmentKey",n),(0,B.assertParamExists)("getContextInstances","id",i);let d="/api/v2/projects/{projectKey}/environments/{environmentKey}/context-instances/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),p=new URL(d,B.DUMMY_BASE_URL),f;r&&(f=r.baseOptions);let A=Object.assign(Object.assign({method:"GET"},f),u),h={},y={};yield(0,B.setApiKeyToObject)(h,"Authorization",r),o!==void 0&&(y.limit=o),s!==void 0&&(y.continuationToken=s),a!==void 0&&(y.sort=a),l!==void 0&&(y.filter=l),c!==void 0&&(y.includeTotalCount=c),(0,B.setSearchParams)(p,y);let C=f&&f.headers?f.headers:{};return A.headers=Object.assign(Object.assign(Object.assign({},h),C),u.headers),{url:(0,B.toPathString)(p),options:A}}),getContextKindsByProjectKey:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getContextKindsByProjectKey","projectKey",t);let i="/api/v2/projects/{projectKey}/context-kinds".replace("{projectKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getContexts:(t,n,i,o,s,a,l,c,u,d={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getContexts","projectKey",t),(0,B.assertParamExists)("getContexts","environmentKey",n),(0,B.assertParamExists)("getContexts","kind",i),(0,B.assertParamExists)("getContexts","key",o);let p="/api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/{kind}/{key}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{kind}",encodeURIComponent(String(i))).replace("{key}",encodeURIComponent(String(o))),f=new URL(p,B.DUMMY_BASE_URL),A;r&&(A=r.baseOptions);let h=Object.assign(Object.assign({method:"GET"},A),d),y={},C={};yield(0,B.setApiKeyToObject)(y,"Authorization",r),s!==void 0&&(C.limit=s),a!==void 0&&(C.continuationToken=a),l!==void 0&&(C.sort=l),c!==void 0&&(C.filter=c),u!==void 0&&(C.includeTotalCount=u),(0,B.setSearchParams)(f,C);let v=A&&A.headers?A.headers:{};return h.headers=Object.assign(Object.assign(Object.assign({},y),v),d.headers),{url:(0,B.toPathString)(f),options:h}}),putContextKind:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putContextKind","projectKey",t),(0,B.assertParamExists)("putContextKind","key",n),(0,B.assertParamExists)("putContextKind","upsertContextKindPayload",i);let s="/api/v2/projects/{projectKey}/context-kinds/{key}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{key}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PUT"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),searchContextInstances:(t,n,i,o,s,a,l,c,u={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("searchContextInstances","projectKey",t),(0,B.assertParamExists)("searchContextInstances","environmentKey",n),(0,B.assertParamExists)("searchContextInstances","contextInstanceSearch",i);let d="/api/v2/projects/{projectKey}/environments/{environmentKey}/context-instances/search".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),p=new URL(d,B.DUMMY_BASE_URL),f;r&&(f=r.baseOptions);let A=Object.assign(Object.assign({method:"POST"},f),u),h={},y={};yield(0,B.setApiKeyToObject)(h,"Authorization",r),o!==void 0&&(y.limit=o),s!==void 0&&(y.continuationToken=s),a!==void 0&&(y.sort=a),l!==void 0&&(y.filter=l),c!==void 0&&(y.includeTotalCount=c),h["Content-Type"]="application/json",(0,B.setSearchParams)(p,y);let C=f&&f.headers?f.headers:{};return A.headers=Object.assign(Object.assign(Object.assign({},h),C),u.headers),A.data=(0,B.serializeDataIfNeeded)(i,A,r),{url:(0,B.toPathString)(p),options:A}}),searchContexts:(t,n,i,o,s,a,l,c,u={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("searchContexts","projectKey",t),(0,B.assertParamExists)("searchContexts","environmentKey",n),(0,B.assertParamExists)("searchContexts","contextSearch",i);let d="/api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/search".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),p=new URL(d,B.DUMMY_BASE_URL),f;r&&(f=r.baseOptions);let A=Object.assign(Object.assign({method:"POST"},f),u),h={},y={};yield(0,B.setApiKeyToObject)(h,"Authorization",r),o!==void 0&&(y.limit=o),s!==void 0&&(y.continuationToken=s),a!==void 0&&(y.sort=a),l!==void 0&&(y.filter=l),c!==void 0&&(y.includeTotalCount=c),h["Content-Type"]="application/json",(0,B.setSearchParams)(p,y);let C=f&&f.headers?f.headers:{};return A.headers=Object.assign(Object.assign(Object.assign({},h),C),u.headers),A.data=(0,B.serializeDataIfNeeded)(i,A,r),{url:(0,B.toPathString)(p),options:A}})}};ce.ContextsApiAxiosParamCreator=wol;var Bol=function(r){let t=(0,ce.ContextsApiAxiosParamCreator)(r);return{deleteContextInstances(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.deleteContextInstances(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},evaluateContextInstance(n,i,o,s,a,l,c,u){return Pe(this,void 0,void 0,function*(){let d=yield t.evaluateContextInstance(n,i,o,s,a,l,c,u);return(0,B.createRequestFunction)(d,It.default,ft.BASE_PATH,r)})},getContextAttributeNames(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getContextAttributeNames(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getContextAttributeValues(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getContextAttributeValues(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},getContextInstances(n,i,o,s,a,l,c,u,d){return Pe(this,void 0,void 0,function*(){let p=yield t.getContextInstances(n,i,o,s,a,l,c,u,d);return(0,B.createRequestFunction)(p,It.default,ft.BASE_PATH,r)})},getContextKindsByProjectKey(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getContextKindsByProjectKey(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getContexts(n,i,o,s,a,l,c,u,d,p){return Pe(this,void 0,void 0,function*(){let f=yield t.getContexts(n,i,o,s,a,l,c,u,d,p);return(0,B.createRequestFunction)(f,It.default,ft.BASE_PATH,r)})},putContextKind(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.putContextKind(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},searchContextInstances(n,i,o,s,a,l,c,u,d){return Pe(this,void 0,void 0,function*(){let p=yield t.searchContextInstances(n,i,o,s,a,l,c,u,d);return(0,B.createRequestFunction)(p,It.default,ft.BASE_PATH,r)})},searchContexts(n,i,o,s,a,l,c,u,d){return Pe(this,void 0,void 0,function*(){let p=yield t.searchContexts(n,i,o,s,a,l,c,u,d);return(0,B.createRequestFunction)(p,It.default,ft.BASE_PATH,r)})}}};ce.ContextsApiFp=Bol;var Mol=function(r,t,n){let i=(0,ce.ContextsApiFp)(r);return{deleteContextInstances(o,s,a,l){return i.deleteContextInstances(o,s,a,l).then(c=>c(n,t))},evaluateContextInstance(o,s,a,l,c,u,d,p){return i.evaluateContextInstance(o,s,a,l,c,u,d,p).then(f=>f(n,t))},getContextAttributeNames(o,s,a,l,c){return i.getContextAttributeNames(o,s,a,l,c).then(u=>u(n,t))},getContextAttributeValues(o,s,a,l,c,u){return i.getContextAttributeValues(o,s,a,l,c,u).then(d=>d(n,t))},getContextInstances(o,s,a,l,c,u,d,p,f){return i.getContextInstances(o,s,a,l,c,u,d,p,f).then(A=>A(n,t))},getContextKindsByProjectKey(o,s){return i.getContextKindsByProjectKey(o,s).then(a=>a(n,t))},getContexts(o,s,a,l,c,u,d,p,f,A){return i.getContexts(o,s,a,l,c,u,d,p,f,A).then(h=>h(n,t))},putContextKind(o,s,a,l){return i.putContextKind(o,s,a,l).then(c=>c(n,t))},searchContextInstances(o,s,a,l,c,u,d,p,f){return i.searchContextInstances(o,s,a,l,c,u,d,p,f).then(A=>A(n,t))},searchContexts(o,s,a,l,c,u,d,p,f){return i.searchContexts(o,s,a,l,c,u,d,p,f).then(A=>A(n,t))}}};ce.ContextsApiFactory=Mol;var rIr=class extends ft.BaseAPI{deleteContextInstances(t,n,i,o){return(0,ce.ContextsApiFp)(this.configuration).deleteContextInstances(t,n,i,o).then(s=>s(this.axios,this.basePath))}evaluateContextInstance(t,n,i,o,s,a,l,c){return(0,ce.ContextsApiFp)(this.configuration).evaluateContextInstance(t,n,i,o,s,a,l,c).then(u=>u(this.axios,this.basePath))}getContextAttributeNames(t,n,i,o,s){return(0,ce.ContextsApiFp)(this.configuration).getContextAttributeNames(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getContextAttributeValues(t,n,i,o,s,a){return(0,ce.ContextsApiFp)(this.configuration).getContextAttributeValues(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getContextInstances(t,n,i,o,s,a,l,c,u){return(0,ce.ContextsApiFp)(this.configuration).getContextInstances(t,n,i,o,s,a,l,c,u).then(d=>d(this.axios,this.basePath))}getContextKindsByProjectKey(t,n){return(0,ce.ContextsApiFp)(this.configuration).getContextKindsByProjectKey(t,n).then(i=>i(this.axios,this.basePath))}getContexts(t,n,i,o,s,a,l,c,u,d){return(0,ce.ContextsApiFp)(this.configuration).getContexts(t,n,i,o,s,a,l,c,u,d).then(p=>p(this.axios,this.basePath))}putContextKind(t,n,i,o){return(0,ce.ContextsApiFp)(this.configuration).putContextKind(t,n,i,o).then(s=>s(this.axios,this.basePath))}searchContextInstances(t,n,i,o,s,a,l,c,u){return(0,ce.ContextsApiFp)(this.configuration).searchContextInstances(t,n,i,o,s,a,l,c,u).then(d=>d(this.axios,this.basePath))}searchContexts(t,n,i,o,s,a,l,c,u){return(0,ce.ContextsApiFp)(this.configuration).searchContexts(t,n,i,o,s,a,l,c,u).then(d=>d(this.axios,this.basePath))}};ce.ContextsApi=rIr;var xol=function(r){return{deleteCustomRole:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteCustomRole","customRoleKey",t);let i="/api/v2/roles/{customRoleKey}".replace("{customRoleKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getCustomRole:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getCustomRole","customRoleKey",t);let i="/api/v2/roles/{customRoleKey}".replace("{customRoleKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getCustomRoles:(t,n,i={})=>Pe(this,void 0,void 0,function*(){let o="/api/v2/roles",s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),t!==void 0&&(u.limit=t),n!==void 0&&(u.offset=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),patchCustomRole:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchCustomRole","customRoleKey",t),(0,B.assertParamExists)("patchCustomRole","patchWithComment",n);let o="/api/v2/roles/{customRoleKey}".replace("{customRoleKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postCustomRole:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postCustomRole","customRolePost",t);let i="/api/v2/roles",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}})}};ce.CustomRolesApiAxiosParamCreator=xol;var Dol=function(r){let t=(0,ce.CustomRolesApiAxiosParamCreator)(r);return{deleteCustomRole(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteCustomRole(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getCustomRole(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getCustomRole(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getCustomRoles(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getCustomRoles(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},patchCustomRole(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchCustomRole(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},postCustomRole(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postCustomRole(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})}}};ce.CustomRolesApiFp=Dol;var Nol=function(r,t,n){let i=(0,ce.CustomRolesApiFp)(r);return{deleteCustomRole(o,s){return i.deleteCustomRole(o,s).then(a=>a(n,t))},getCustomRole(o,s){return i.getCustomRole(o,s).then(a=>a(n,t))},getCustomRoles(o,s,a){return i.getCustomRoles(o,s,a).then(l=>l(n,t))},patchCustomRole(o,s,a){return i.patchCustomRole(o,s,a).then(l=>l(n,t))},postCustomRole(o,s){return i.postCustomRole(o,s).then(a=>a(n,t))}}};ce.CustomRolesApiFactory=Nol;var nIr=class extends ft.BaseAPI{deleteCustomRole(t,n){return(0,ce.CustomRolesApiFp)(this.configuration).deleteCustomRole(t,n).then(i=>i(this.axios,this.basePath))}getCustomRole(t,n){return(0,ce.CustomRolesApiFp)(this.configuration).getCustomRole(t,n).then(i=>i(this.axios,this.basePath))}getCustomRoles(t,n,i){return(0,ce.CustomRolesApiFp)(this.configuration).getCustomRoles(t,n,i).then(o=>o(this.axios,this.basePath))}patchCustomRole(t,n,i){return(0,ce.CustomRolesApiFp)(this.configuration).patchCustomRole(t,n,i).then(o=>o(this.axios,this.basePath))}postCustomRole(t,n){return(0,ce.CustomRolesApiFp)(this.configuration).postCustomRole(t,n).then(i=>i(this.axios,this.basePath))}};ce.CustomRolesApi=nIr;var Pol=function(r){return{deleteDestination:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteDestination","projectKey",t),(0,B.assertParamExists)("deleteDestination","environmentKey",n),(0,B.assertParamExists)("deleteDestination","id",i);let s="/api/v2/destinations/{projectKey}/{environmentKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"DELETE"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getDestination:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getDestination","projectKey",t),(0,B.assertParamExists)("getDestination","environmentKey",n),(0,B.assertParamExists)("getDestination","id",i);let s="/api/v2/destinations/{projectKey}/{environmentKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getDestinations:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/destinations",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),patchDestination:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchDestination","projectKey",t),(0,B.assertParamExists)("patchDestination","environmentKey",n),(0,B.assertParamExists)("patchDestination","id",i),(0,B.assertParamExists)("patchDestination","patchOperation",o);let a="/api/v2/destinations/{projectKey}/{environmentKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),postDestination:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postDestination","projectKey",t),(0,B.assertParamExists)("postDestination","environmentKey",n),(0,B.assertParamExists)("postDestination","destinationPost",i);let s="/api/v2/destinations/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.DataExportDestinationsApiAxiosParamCreator=Pol;var kol=function(r){let t=(0,ce.DataExportDestinationsApiAxiosParamCreator)(r);return{deleteDestination(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.deleteDestination(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getDestination(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getDestination(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getDestinations(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getDestinations(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})},patchDestination(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchDestination(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},postDestination(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.postDestination(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})}}};ce.DataExportDestinationsApiFp=kol;var Lol=function(r,t,n){let i=(0,ce.DataExportDestinationsApiFp)(r);return{deleteDestination(o,s,a,l){return i.deleteDestination(o,s,a,l).then(c=>c(n,t))},getDestination(o,s,a,l){return i.getDestination(o,s,a,l).then(c=>c(n,t))},getDestinations(o){return i.getDestinations(o).then(s=>s(n,t))},patchDestination(o,s,a,l,c){return i.patchDestination(o,s,a,l,c).then(u=>u(n,t))},postDestination(o,s,a,l){return i.postDestination(o,s,a,l).then(c=>c(n,t))}}};ce.DataExportDestinationsApiFactory=Lol;var iIr=class extends ft.BaseAPI{deleteDestination(t,n,i,o){return(0,ce.DataExportDestinationsApiFp)(this.configuration).deleteDestination(t,n,i,o).then(s=>s(this.axios,this.basePath))}getDestination(t,n,i,o){return(0,ce.DataExportDestinationsApiFp)(this.configuration).getDestination(t,n,i,o).then(s=>s(this.axios,this.basePath))}getDestinations(t){return(0,ce.DataExportDestinationsApiFp)(this.configuration).getDestinations(t).then(n=>n(this.axios,this.basePath))}patchDestination(t,n,i,o,s){return(0,ce.DataExportDestinationsApiFp)(this.configuration).patchDestination(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}postDestination(t,n,i,o){return(0,ce.DataExportDestinationsApiFp)(this.configuration).postDestination(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.DataExportDestinationsApi=iIr;var Qol=function(r){return{deleteEnvironment:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteEnvironment","projectKey",t),(0,B.assertParamExists)("deleteEnvironment","environmentKey",n);let o="/api/v2/projects/{projectKey}/environments/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getEnvironment:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getEnvironment","projectKey",t),(0,B.assertParamExists)("getEnvironment","environmentKey",n);let o="/api/v2/projects/{projectKey}/environments/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getEnvironmentsByProject:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getEnvironmentsByProject","projectKey",t);let l="/api/v2/projects/{projectKey}/environments".replace("{projectKey}",encodeURIComponent(String(t))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),n!==void 0&&(f.limit=n),i!==void 0&&(f.offset=i),o!==void 0&&(f.filter=o),s!==void 0&&(f.sort=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),patchEnvironment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchEnvironment","projectKey",t),(0,B.assertParamExists)("patchEnvironment","environmentKey",n),(0,B.assertParamExists)("patchEnvironment","patchOperation",i);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),postEnvironment:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postEnvironment","projectKey",t),(0,B.assertParamExists)("postEnvironment","environmentPost",n);let o="/api/v2/projects/{projectKey}/environments".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),resetEnvironmentMobileKey:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("resetEnvironmentMobileKey","projectKey",t),(0,B.assertParamExists)("resetEnvironmentMobileKey","environmentKey",n);let o="/api/v2/projects/{projectKey}/environments/{environmentKey}/mobileKey".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),resetEnvironmentSDKKey:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("resetEnvironmentSDKKey","projectKey",t),(0,B.assertParamExists)("resetEnvironmentSDKKey","environmentKey",n);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}/apiKey".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),i!==void 0&&(d.expiry=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}})}};ce.EnvironmentsApiAxiosParamCreator=Qol;var Fol=function(r){let t=(0,ce.EnvironmentsApiAxiosParamCreator)(r);return{deleteEnvironment(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteEnvironment(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getEnvironment(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getEnvironment(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getEnvironmentsByProject(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getEnvironmentsByProject(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},patchEnvironment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.patchEnvironment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},postEnvironment(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postEnvironment(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},resetEnvironmentMobileKey(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.resetEnvironmentMobileKey(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},resetEnvironmentSDKKey(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.resetEnvironmentSDKKey(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})}}};ce.EnvironmentsApiFp=Fol;var qol=function(r,t,n){let i=(0,ce.EnvironmentsApiFp)(r);return{deleteEnvironment(o,s,a){return i.deleteEnvironment(o,s,a).then(l=>l(n,t))},getEnvironment(o,s,a){return i.getEnvironment(o,s,a).then(l=>l(n,t))},getEnvironmentsByProject(o,s,a,l,c,u){return i.getEnvironmentsByProject(o,s,a,l,c,u).then(d=>d(n,t))},patchEnvironment(o,s,a,l){return i.patchEnvironment(o,s,a,l).then(c=>c(n,t))},postEnvironment(o,s,a){return i.postEnvironment(o,s,a).then(l=>l(n,t))},resetEnvironmentMobileKey(o,s,a){return i.resetEnvironmentMobileKey(o,s,a).then(l=>l(n,t))},resetEnvironmentSDKKey(o,s,a,l){return i.resetEnvironmentSDKKey(o,s,a,l).then(c=>c(n,t))}}};ce.EnvironmentsApiFactory=qol;var oIr=class extends ft.BaseAPI{deleteEnvironment(t,n,i){return(0,ce.EnvironmentsApiFp)(this.configuration).deleteEnvironment(t,n,i).then(o=>o(this.axios,this.basePath))}getEnvironment(t,n,i){return(0,ce.EnvironmentsApiFp)(this.configuration).getEnvironment(t,n,i).then(o=>o(this.axios,this.basePath))}getEnvironmentsByProject(t,n,i,o,s,a){return(0,ce.EnvironmentsApiFp)(this.configuration).getEnvironmentsByProject(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}patchEnvironment(t,n,i,o){return(0,ce.EnvironmentsApiFp)(this.configuration).patchEnvironment(t,n,i,o).then(s=>s(this.axios,this.basePath))}postEnvironment(t,n,i){return(0,ce.EnvironmentsApiFp)(this.configuration).postEnvironment(t,n,i).then(o=>o(this.axios,this.basePath))}resetEnvironmentMobileKey(t,n,i){return(0,ce.EnvironmentsApiFp)(this.configuration).resetEnvironmentMobileKey(t,n,i).then(o=>o(this.axios,this.basePath))}resetEnvironmentSDKKey(t,n,i,o){return(0,ce.EnvironmentsApiFp)(this.configuration).resetEnvironmentSDKKey(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.EnvironmentsApi=oIr;var zol=function(r){return{createExperiment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createExperiment","projectKey",t),(0,B.assertParamExists)("createExperiment","environmentKey",n),(0,B.assertParamExists)("createExperiment","experimentPost",i);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),createIteration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createIteration","projectKey",t),(0,B.assertParamExists)("createIteration","environmentKey",n),(0,B.assertParamExists)("createIteration","experimentKey",i),(0,B.assertParamExists)("createIteration","iterationInput",o);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/iterations".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{experimentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),getExperiment:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExperiment","projectKey",t),(0,B.assertParamExists)("getExperiment","environmentKey",n),(0,B.assertParamExists)("getExperiment","experimentKey",i);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{experimentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),o!==void 0&&(p.expand=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getExperimentResults:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExperimentResults","projectKey",t),(0,B.assertParamExists)("getExperimentResults","environmentKey",n),(0,B.assertParamExists)("getExperimentResults","experimentKey",i),(0,B.assertParamExists)("getExperimentResults","metricKey",o);let c="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metrics/{metricKey}/results".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{experimentKey}",encodeURIComponent(String(i))).replace("{metricKey}",encodeURIComponent(String(o))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),s!==void 0&&(A.iterationId=s),a!==void 0&&(A.expand=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),getExperimentResultsForMetricGroup:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExperimentResultsForMetricGroup","projectKey",t),(0,B.assertParamExists)("getExperimentResultsForMetricGroup","environmentKey",n),(0,B.assertParamExists)("getExperimentResultsForMetricGroup","experimentKey",i),(0,B.assertParamExists)("getExperimentResultsForMetricGroup","metricGroupKey",o);let l="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}/metric-groups/{metricGroupKey}/results".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{experimentKey}",encodeURIComponent(String(i))).replace("{metricGroupKey}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),s!==void 0&&(f.iterationId=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),getExperimentationSettings:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExperimentationSettings","projectKey",t);let i="/api/v2/projects/{projectKey}/experimentation-settings".replace("{projectKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getExperiments:(t,n,i,o,s,a,l,c={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExperiments","projectKey",t),(0,B.assertParamExists)("getExperiments","environmentKey",n);let u="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),d=new URL(u,B.DUMMY_BASE_URL),p;r&&(p=r.baseOptions);let f=Object.assign(Object.assign({method:"GET"},p),c),A={},h={};yield(0,B.setApiKeyToObject)(A,"Authorization",r),i!==void 0&&(h.limit=i),o!==void 0&&(h.offset=o),s!==void 0&&(h.filter=s),a!==void 0&&(h.expand=a),l!==void 0&&(h.lifecycleState=l),(0,B.setSearchParams)(d,h);let y=p&&p.headers?p.headers:{};return f.headers=Object.assign(Object.assign(Object.assign({},A),y),c.headers),{url:(0,B.toPathString)(d),options:f}}),getLegacyExperimentResults:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getLegacyExperimentResults","projectKey",t),(0,B.assertParamExists)("getLegacyExperimentResults","featureFlagKey",n),(0,B.assertParamExists)("getLegacyExperimentResults","environmentKey",i),(0,B.assertParamExists)("getLegacyExperimentResults","metricKey",o);let c="/api/v2/flags/{projectKey}/{featureFlagKey}/experiments/{environmentKey}/{metricKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{metricKey}",encodeURIComponent(String(o))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),s!==void 0&&(A.from=s),a!==void 0&&(A.to=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),patchExperiment:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchExperiment","projectKey",t),(0,B.assertParamExists)("patchExperiment","environmentKey",n),(0,B.assertParamExists)("patchExperiment","experimentKey",i),(0,B.assertParamExists)("patchExperiment","experimentPatchInput",o);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/experiments/{experimentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{experimentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),putExperimentationSettings:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putExperimentationSettings","projectKey",t),(0,B.assertParamExists)("putExperimentationSettings","randomizationSettingsPut",n);let o="/api/v2/projects/{projectKey}/experimentation-settings".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PUT"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.ExperimentsApiAxiosParamCreator=zol;var Uol=function(r){let t=(0,ce.ExperimentsApiAxiosParamCreator)(r);return{createExperiment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.createExperiment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},createIteration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.createIteration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getExperiment(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getExperiment(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getExperimentResults(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getExperimentResults(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,ft.BASE_PATH,r)})},getExperimentResultsForMetricGroup(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getExperimentResultsForMetricGroup(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},getExperimentationSettings(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getExperimentationSettings(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getExperiments(n,i,o,s,a,l,c,u){return Pe(this,void 0,void 0,function*(){let d=yield t.getExperiments(n,i,o,s,a,l,c,u);return(0,B.createRequestFunction)(d,It.default,ft.BASE_PATH,r)})},getLegacyExperimentResults(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getLegacyExperimentResults(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,ft.BASE_PATH,r)})},patchExperiment(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchExperiment(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},putExperimentationSettings(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.putExperimentationSettings(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})}}};ce.ExperimentsApiFp=Uol;var jol=function(r,t,n){let i=(0,ce.ExperimentsApiFp)(r);return{createExperiment(o,s,a,l){return i.createExperiment(o,s,a,l).then(c=>c(n,t))},createIteration(o,s,a,l,c){return i.createIteration(o,s,a,l,c).then(u=>u(n,t))},getExperiment(o,s,a,l,c){return i.getExperiment(o,s,a,l,c).then(u=>u(n,t))},getExperimentResults(o,s,a,l,c,u,d){return i.getExperimentResults(o,s,a,l,c,u,d).then(p=>p(n,t))},getExperimentResultsForMetricGroup(o,s,a,l,c,u){return i.getExperimentResultsForMetricGroup(o,s,a,l,c,u).then(d=>d(n,t))},getExperimentationSettings(o,s){return i.getExperimentationSettings(o,s).then(a=>a(n,t))},getExperiments(o,s,a,l,c,u,d,p){return i.getExperiments(o,s,a,l,c,u,d,p).then(f=>f(n,t))},getLegacyExperimentResults(o,s,a,l,c,u,d){return i.getLegacyExperimentResults(o,s,a,l,c,u,d).then(p=>p(n,t))},patchExperiment(o,s,a,l,c){return i.patchExperiment(o,s,a,l,c).then(u=>u(n,t))},putExperimentationSettings(o,s,a){return i.putExperimentationSettings(o,s,a).then(l=>l(n,t))}}};ce.ExperimentsApiFactory=jol;var sIr=class extends ft.BaseAPI{createExperiment(t,n,i,o){return(0,ce.ExperimentsApiFp)(this.configuration).createExperiment(t,n,i,o).then(s=>s(this.axios,this.basePath))}createIteration(t,n,i,o,s){return(0,ce.ExperimentsApiFp)(this.configuration).createIteration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getExperiment(t,n,i,o,s){return(0,ce.ExperimentsApiFp)(this.configuration).getExperiment(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getExperimentResults(t,n,i,o,s,a,l){return(0,ce.ExperimentsApiFp)(this.configuration).getExperimentResults(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}getExperimentResultsForMetricGroup(t,n,i,o,s,a){return(0,ce.ExperimentsApiFp)(this.configuration).getExperimentResultsForMetricGroup(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getExperimentationSettings(t,n){return(0,ce.ExperimentsApiFp)(this.configuration).getExperimentationSettings(t,n).then(i=>i(this.axios,this.basePath))}getExperiments(t,n,i,o,s,a,l,c){return(0,ce.ExperimentsApiFp)(this.configuration).getExperiments(t,n,i,o,s,a,l,c).then(u=>u(this.axios,this.basePath))}getLegacyExperimentResults(t,n,i,o,s,a,l){return(0,ce.ExperimentsApiFp)(this.configuration).getLegacyExperimentResults(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}patchExperiment(t,n,i,o,s){return(0,ce.ExperimentsApiFp)(this.configuration).patchExperiment(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}putExperimentationSettings(t,n,i){return(0,ce.ExperimentsApiFp)(this.configuration).putExperimentationSettings(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.ExperimentsApi=sIr;var Gol=function(r){return{copyFeatureFlag:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("copyFeatureFlag","projectKey",t),(0,B.assertParamExists)("copyFeatureFlag","featureFlagKey",n),(0,B.assertParamExists)("copyFeatureFlag","flagCopyConfigPost",i);let s="/api/v2/flags/{projectKey}/{featureFlagKey}/copy".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),deleteFeatureFlag:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteFeatureFlag","projectKey",t),(0,B.assertParamExists)("deleteFeatureFlag","featureFlagKey",n);let o="/api/v2/flags/{projectKey}/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getExpiringContextTargets:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExpiringContextTargets","projectKey",t),(0,B.assertParamExists)("getExpiringContextTargets","environmentKey",n),(0,B.assertParamExists)("getExpiringContextTargets","featureFlagKey",i);let s="/api/v2/flags/{projectKey}/{featureFlagKey}/expiring-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getExpiringUserTargets:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExpiringUserTargets","projectKey",t),(0,B.assertParamExists)("getExpiringUserTargets","environmentKey",n),(0,B.assertParamExists)("getExpiringUserTargets","featureFlagKey",i);let s="/api/v2/flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getFeatureFlag:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFeatureFlag","projectKey",t),(0,B.assertParamExists)("getFeatureFlag","featureFlagKey",n);let a="/api/v2/flags/{projectKey}/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),i!==void 0&&(p.env=i),o!==void 0&&(p.expand=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getFeatureFlagStatus:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFeatureFlagStatus","projectKey",t),(0,B.assertParamExists)("getFeatureFlagStatus","environmentKey",n),(0,B.assertParamExists)("getFeatureFlagStatus","featureFlagKey",i);let s="/api/v2/flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getFeatureFlagStatusAcrossEnvironments:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFeatureFlagStatusAcrossEnvironments","projectKey",t),(0,B.assertParamExists)("getFeatureFlagStatusAcrossEnvironments","featureFlagKey",n);let s="/api/v2/flag-status/{projectKey}/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),i!==void 0&&(d.env=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getFeatureFlagStatuses:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFeatureFlagStatuses","projectKey",t),(0,B.assertParamExists)("getFeatureFlagStatuses","environmentKey",n);let o="/api/v2/flag-statuses/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getFeatureFlags:(t,n,i,o,s,a,l,c,u,d,p,f={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFeatureFlags","projectKey",t);let A="/api/v2/flags/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),h=new URL(A,B.DUMMY_BASE_URL),y;r&&(y=r.baseOptions);let C=Object.assign(Object.assign({method:"GET"},y),f),v={},O={};yield(0,B.setApiKeyToObject)(v,"Authorization",r),n!==void 0&&(O.env=n),i!==void 0&&(O.tag=i),o!==void 0&&(O.limit=o),s!==void 0&&(O.offset=s),a!==void 0&&(O.archived=a),l!==void 0&&(O.summary=l),c!==void 0&&(O.filter=c),u!==void 0&&(O.sort=u),d!==void 0&&(O.compare=d),p!==void 0&&(O.expand=p),(0,B.setSearchParams)(h,O);let _=y&&y.headers?y.headers:{};return C.headers=Object.assign(Object.assign(Object.assign({},v),_),f.headers),{url:(0,B.toPathString)(h),options:C}}),patchExpiringTargets:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchExpiringTargets","projectKey",t),(0,B.assertParamExists)("patchExpiringTargets","environmentKey",n),(0,B.assertParamExists)("patchExpiringTargets","featureFlagKey",i),(0,B.assertParamExists)("patchExpiringTargets","patchFlagsRequest",o);let a="/api/v2/flags/{projectKey}/{featureFlagKey}/expiring-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),patchExpiringUserTargets:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchExpiringUserTargets","projectKey",t),(0,B.assertParamExists)("patchExpiringUserTargets","environmentKey",n),(0,B.assertParamExists)("patchExpiringUserTargets","featureFlagKey",i),(0,B.assertParamExists)("patchExpiringUserTargets","patchFlagsRequest",o);let a="/api/v2/flags/{projectKey}/{featureFlagKey}/expiring-user-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),patchFeatureFlag:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchFeatureFlag","projectKey",t),(0,B.assertParamExists)("patchFeatureFlag","featureFlagKey",n),(0,B.assertParamExists)("patchFeatureFlag","patchWithComment",i);let a="/api/v2/flags/{projectKey}/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),o!==void 0&&(p.ignoreConflicts=o),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(i,u,r),{url:(0,B.toPathString)(l),options:u}}),postFeatureFlag:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postFeatureFlag","projectKey",t),(0,B.assertParamExists)("postFeatureFlag","featureFlagBody",n);let s="/api/v2/flags/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),i!==void 0&&(d.clone=i),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(n,c,r),{url:(0,B.toPathString)(a),options:c}}),postMigrationSafetyIssues:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postMigrationSafetyIssues","projectKey",t),(0,B.assertParamExists)("postMigrationSafetyIssues","flagKey",n),(0,B.assertParamExists)("postMigrationSafetyIssues","environmentKey",i),(0,B.assertParamExists)("postMigrationSafetyIssues","flagSempatch",o);let a="/api/v2/projects/{projectKey}/flags/{flagKey}/environments/{environmentKey}/migration-safety-issues".replace("{projectKey}",encodeURIComponent(String(t))).replace("{flagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}})}};ce.FeatureFlagsApiAxiosParamCreator=Gol;var Wol=function(r){let t=(0,ce.FeatureFlagsApiAxiosParamCreator)(r);return{copyFeatureFlag(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.copyFeatureFlag(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},deleteFeatureFlag(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteFeatureFlag(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getExpiringContextTargets(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getExpiringContextTargets(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getExpiringUserTargets(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getExpiringUserTargets(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getFeatureFlag(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getFeatureFlag(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getFeatureFlagStatus(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getFeatureFlagStatus(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getFeatureFlagStatusAcrossEnvironments(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getFeatureFlagStatusAcrossEnvironments(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getFeatureFlagStatuses(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getFeatureFlagStatuses(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getFeatureFlags(n,i,o,s,a,l,c,u,d,p,f,A){return Pe(this,void 0,void 0,function*(){let h=yield t.getFeatureFlags(n,i,o,s,a,l,c,u,d,p,f,A);return(0,B.createRequestFunction)(h,It.default,ft.BASE_PATH,r)})},patchExpiringTargets(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchExpiringTargets(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},patchExpiringUserTargets(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchExpiringUserTargets(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},patchFeatureFlag(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchFeatureFlag(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},postFeatureFlag(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.postFeatureFlag(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},postMigrationSafetyIssues(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.postMigrationSafetyIssues(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})}}};ce.FeatureFlagsApiFp=Wol;var Hol=function(r,t,n){let i=(0,ce.FeatureFlagsApiFp)(r);return{copyFeatureFlag(o,s,a,l){return i.copyFeatureFlag(o,s,a,l).then(c=>c(n,t))},deleteFeatureFlag(o,s,a){return i.deleteFeatureFlag(o,s,a).then(l=>l(n,t))},getExpiringContextTargets(o,s,a,l){return i.getExpiringContextTargets(o,s,a,l).then(c=>c(n,t))},getExpiringUserTargets(o,s,a,l){return i.getExpiringUserTargets(o,s,a,l).then(c=>c(n,t))},getFeatureFlag(o,s,a,l,c){return i.getFeatureFlag(o,s,a,l,c).then(u=>u(n,t))},getFeatureFlagStatus(o,s,a,l){return i.getFeatureFlagStatus(o,s,a,l).then(c=>c(n,t))},getFeatureFlagStatusAcrossEnvironments(o,s,a,l){return i.getFeatureFlagStatusAcrossEnvironments(o,s,a,l).then(c=>c(n,t))},getFeatureFlagStatuses(o,s,a){return i.getFeatureFlagStatuses(o,s,a).then(l=>l(n,t))},getFeatureFlags(o,s,a,l,c,u,d,p,f,A,h,y){return i.getFeatureFlags(o,s,a,l,c,u,d,p,f,A,h,y).then(C=>C(n,t))},patchExpiringTargets(o,s,a,l,c){return i.patchExpiringTargets(o,s,a,l,c).then(u=>u(n,t))},patchExpiringUserTargets(o,s,a,l,c){return i.patchExpiringUserTargets(o,s,a,l,c).then(u=>u(n,t))},patchFeatureFlag(o,s,a,l,c){return i.patchFeatureFlag(o,s,a,l,c).then(u=>u(n,t))},postFeatureFlag(o,s,a,l){return i.postFeatureFlag(o,s,a,l).then(c=>c(n,t))},postMigrationSafetyIssues(o,s,a,l,c){return i.postMigrationSafetyIssues(o,s,a,l,c).then(u=>u(n,t))}}};ce.FeatureFlagsApiFactory=Hol;var aIr=class extends ft.BaseAPI{copyFeatureFlag(t,n,i,o){return(0,ce.FeatureFlagsApiFp)(this.configuration).copyFeatureFlag(t,n,i,o).then(s=>s(this.axios,this.basePath))}deleteFeatureFlag(t,n,i){return(0,ce.FeatureFlagsApiFp)(this.configuration).deleteFeatureFlag(t,n,i).then(o=>o(this.axios,this.basePath))}getExpiringContextTargets(t,n,i,o){return(0,ce.FeatureFlagsApiFp)(this.configuration).getExpiringContextTargets(t,n,i,o).then(s=>s(this.axios,this.basePath))}getExpiringUserTargets(t,n,i,o){return(0,ce.FeatureFlagsApiFp)(this.configuration).getExpiringUserTargets(t,n,i,o).then(s=>s(this.axios,this.basePath))}getFeatureFlag(t,n,i,o,s){return(0,ce.FeatureFlagsApiFp)(this.configuration).getFeatureFlag(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getFeatureFlagStatus(t,n,i,o){return(0,ce.FeatureFlagsApiFp)(this.configuration).getFeatureFlagStatus(t,n,i,o).then(s=>s(this.axios,this.basePath))}getFeatureFlagStatusAcrossEnvironments(t,n,i,o){return(0,ce.FeatureFlagsApiFp)(this.configuration).getFeatureFlagStatusAcrossEnvironments(t,n,i,o).then(s=>s(this.axios,this.basePath))}getFeatureFlagStatuses(t,n,i){return(0,ce.FeatureFlagsApiFp)(this.configuration).getFeatureFlagStatuses(t,n,i).then(o=>o(this.axios,this.basePath))}getFeatureFlags(t,n,i,o,s,a,l,c,u,d,p,f){return(0,ce.FeatureFlagsApiFp)(this.configuration).getFeatureFlags(t,n,i,o,s,a,l,c,u,d,p,f).then(A=>A(this.axios,this.basePath))}patchExpiringTargets(t,n,i,o,s){return(0,ce.FeatureFlagsApiFp)(this.configuration).patchExpiringTargets(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}patchExpiringUserTargets(t,n,i,o,s){return(0,ce.FeatureFlagsApiFp)(this.configuration).patchExpiringUserTargets(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}patchFeatureFlag(t,n,i,o,s){return(0,ce.FeatureFlagsApiFp)(this.configuration).patchFeatureFlag(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}postFeatureFlag(t,n,i,o){return(0,ce.FeatureFlagsApiFp)(this.configuration).postFeatureFlag(t,n,i,o).then(s=>s(this.axios,this.basePath))}postMigrationSafetyIssues(t,n,i,o,s){return(0,ce.FeatureFlagsApiFp)(this.configuration).postMigrationSafetyIssues(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.FeatureFlagsApi=aIr;var Vol=function(r){return{getDependentFlags:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getDependentFlags","projectKey",t),(0,B.assertParamExists)("getDependentFlags","featureFlagKey",n);let o="/api/v2/flags/{projectKey}/{featureFlagKey}/dependent-flags".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getDependentFlagsByEnv:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getDependentFlagsByEnv","projectKey",t),(0,B.assertParamExists)("getDependentFlagsByEnv","environmentKey",n),(0,B.assertParamExists)("getDependentFlagsByEnv","featureFlagKey",i);let s="/api/v2/flags/{projectKey}/{environmentKey}/{featureFlagKey}/dependent-flags".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}})}};ce.FeatureFlagsBetaApiAxiosParamCreator=Vol;var Yol=function(r){let t=(0,ce.FeatureFlagsBetaApiAxiosParamCreator)(r);return{getDependentFlags(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getDependentFlags(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getDependentFlagsByEnv(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getDependentFlagsByEnv(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})}}};ce.FeatureFlagsBetaApiFp=Yol;var Kol=function(r,t,n){let i=(0,ce.FeatureFlagsBetaApiFp)(r);return{getDependentFlags(o,s,a){return i.getDependentFlags(o,s,a).then(l=>l(n,t))},getDependentFlagsByEnv(o,s,a,l){return i.getDependentFlagsByEnv(o,s,a,l).then(c=>c(n,t))}}};ce.FeatureFlagsBetaApiFactory=Kol;var lIr=class extends ft.BaseAPI{getDependentFlags(t,n,i){return(0,ce.FeatureFlagsBetaApiFp)(this.configuration).getDependentFlags(t,n,i).then(o=>o(this.axios,this.basePath))}getDependentFlagsByEnv(t,n,i,o){return(0,ce.FeatureFlagsBetaApiFp)(this.configuration).getDependentFlagsByEnv(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.FeatureFlagsBetaApi=lIr;var Jol=function(r){return{createFlagLink:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createFlagLink","projectKey",t),(0,B.assertParamExists)("createFlagLink","featureFlagKey",n),(0,B.assertParamExists)("createFlagLink","flagLinkPost",i);let s="/api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),deleteFlagLink:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteFlagLink","projectKey",t),(0,B.assertParamExists)("deleteFlagLink","featureFlagKey",n),(0,B.assertParamExists)("deleteFlagLink","id",i);let s="/api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"DELETE"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getFlagLinks:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagLinks","projectKey",t),(0,B.assertParamExists)("getFlagLinks","featureFlagKey",n);let o="/api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),updateFlagLink:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updateFlagLink","projectKey",t),(0,B.assertParamExists)("updateFlagLink","featureFlagKey",n),(0,B.assertParamExists)("updateFlagLink","id",i),(0,B.assertParamExists)("updateFlagLink","patchOperation",o);let a="/api/v2/flag-links/projects/{projectKey}/flags/{featureFlagKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}})}};ce.FlagLinksBetaApiAxiosParamCreator=Jol;var Xol=function(r){let t=(0,ce.FlagLinksBetaApiAxiosParamCreator)(r);return{createFlagLink(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.createFlagLink(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},deleteFlagLink(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.deleteFlagLink(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getFlagLinks(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getFlagLinks(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},updateFlagLink(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.updateFlagLink(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})}}};ce.FlagLinksBetaApiFp=Xol;var $ol=function(r,t,n){let i=(0,ce.FlagLinksBetaApiFp)(r);return{createFlagLink(o,s,a,l){return i.createFlagLink(o,s,a,l).then(c=>c(n,t))},deleteFlagLink(o,s,a,l){return i.deleteFlagLink(o,s,a,l).then(c=>c(n,t))},getFlagLinks(o,s,a){return i.getFlagLinks(o,s,a).then(l=>l(n,t))},updateFlagLink(o,s,a,l,c){return i.updateFlagLink(o,s,a,l,c).then(u=>u(n,t))}}};ce.FlagLinksBetaApiFactory=$ol;var uIr=class extends ft.BaseAPI{createFlagLink(t,n,i,o){return(0,ce.FlagLinksBetaApiFp)(this.configuration).createFlagLink(t,n,i,o).then(s=>s(this.axios,this.basePath))}deleteFlagLink(t,n,i,o){return(0,ce.FlagLinksBetaApiFp)(this.configuration).deleteFlagLink(t,n,i,o).then(s=>s(this.axios,this.basePath))}getFlagLinks(t,n,i){return(0,ce.FlagLinksBetaApiFp)(this.configuration).getFlagLinks(t,n,i).then(o=>o(this.axios,this.basePath))}updateFlagLink(t,n,i,o,s){return(0,ce.FlagLinksBetaApiFp)(this.configuration).updateFlagLink(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.FlagLinksBetaApi=uIr;var Zol=function(r){return{createTriggerWorkflow:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createTriggerWorkflow","projectKey",t),(0,B.assertParamExists)("createTriggerWorkflow","environmentKey",n),(0,B.assertParamExists)("createTriggerWorkflow","featureFlagKey",i),(0,B.assertParamExists)("createTriggerWorkflow","triggerPost",o);let a="/api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),deleteTriggerWorkflow:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteTriggerWorkflow","projectKey",t),(0,B.assertParamExists)("deleteTriggerWorkflow","environmentKey",n),(0,B.assertParamExists)("deleteTriggerWorkflow","featureFlagKey",i),(0,B.assertParamExists)("deleteTriggerWorkflow","id",o);let a="/api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getTriggerWorkflowById:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getTriggerWorkflowById","projectKey",t),(0,B.assertParamExists)("getTriggerWorkflowById","featureFlagKey",n),(0,B.assertParamExists)("getTriggerWorkflowById","environmentKey",i),(0,B.assertParamExists)("getTriggerWorkflowById","id",o);let a="/api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getTriggerWorkflows:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getTriggerWorkflows","projectKey",t),(0,B.assertParamExists)("getTriggerWorkflows","environmentKey",n),(0,B.assertParamExists)("getTriggerWorkflows","featureFlagKey",i);let s="/api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),patchTriggerWorkflow:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchTriggerWorkflow","projectKey",t),(0,B.assertParamExists)("patchTriggerWorkflow","environmentKey",n),(0,B.assertParamExists)("patchTriggerWorkflow","featureFlagKey",i),(0,B.assertParamExists)("patchTriggerWorkflow","id",o),(0,B.assertParamExists)("patchTriggerWorkflow","flagTriggerInput",s);let l="/api/v2/flags/{projectKey}/{featureFlagKey}/triggers/{environmentKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{featureFlagKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"PATCH"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}})}};ce.FlagTriggersApiAxiosParamCreator=Zol;var esl=function(r){let t=(0,ce.FlagTriggersApiAxiosParamCreator)(r);return{createTriggerWorkflow(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.createTriggerWorkflow(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},deleteTriggerWorkflow(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteTriggerWorkflow(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getTriggerWorkflowById(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getTriggerWorkflowById(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getTriggerWorkflows(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getTriggerWorkflows(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},patchTriggerWorkflow(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.patchTriggerWorkflow(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})}}};ce.FlagTriggersApiFp=esl;var tsl=function(r,t,n){let i=(0,ce.FlagTriggersApiFp)(r);return{createTriggerWorkflow(o,s,a,l,c){return i.createTriggerWorkflow(o,s,a,l,c).then(u=>u(n,t))},deleteTriggerWorkflow(o,s,a,l,c){return i.deleteTriggerWorkflow(o,s,a,l,c).then(u=>u(n,t))},getTriggerWorkflowById(o,s,a,l,c){return i.getTriggerWorkflowById(o,s,a,l,c).then(u=>u(n,t))},getTriggerWorkflows(o,s,a,l){return i.getTriggerWorkflows(o,s,a,l).then(c=>c(n,t))},patchTriggerWorkflow(o,s,a,l,c,u){return i.patchTriggerWorkflow(o,s,a,l,c,u).then(d=>d(n,t))}}};ce.FlagTriggersApiFactory=tsl;var cIr=class extends ft.BaseAPI{createTriggerWorkflow(t,n,i,o,s){return(0,ce.FlagTriggersApiFp)(this.configuration).createTriggerWorkflow(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}deleteTriggerWorkflow(t,n,i,o,s){return(0,ce.FlagTriggersApiFp)(this.configuration).deleteTriggerWorkflow(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getTriggerWorkflowById(t,n,i,o,s){return(0,ce.FlagTriggersApiFp)(this.configuration).getTriggerWorkflowById(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getTriggerWorkflows(t,n,i,o){return(0,ce.FlagTriggersApiFp)(this.configuration).getTriggerWorkflows(t,n,i,o).then(s=>s(this.axios,this.basePath))}patchTriggerWorkflow(t,n,i,o,s,a){return(0,ce.FlagTriggersApiFp)(this.configuration).patchTriggerWorkflow(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}};ce.FlagTriggersApi=cIr;var rsl=function(r){return{deleteFlagFollower:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteFlagFollower","projectKey",t),(0,B.assertParamExists)("deleteFlagFollower","featureFlagKey",n),(0,B.assertParamExists)("deleteFlagFollower","environmentKey",i),(0,B.assertParamExists)("deleteFlagFollower","memberId",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/followers/{memberId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{memberId}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getFlagFollowers:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagFollowers","projectKey",t),(0,B.assertParamExists)("getFlagFollowers","featureFlagKey",n),(0,B.assertParamExists)("getFlagFollowers","environmentKey",i);let s="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/followers".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getFollowersByProjEnv:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFollowersByProjEnv","projectKey",t),(0,B.assertParamExists)("getFollowersByProjEnv","environmentKey",n);let o="/api/v2/projects/{projectKey}/environments/{environmentKey}/followers".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),putFlagFollower:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putFlagFollower","projectKey",t),(0,B.assertParamExists)("putFlagFollower","featureFlagKey",n),(0,B.assertParamExists)("putFlagFollower","environmentKey",i),(0,B.assertParamExists)("putFlagFollower","memberId",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/followers/{memberId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{memberId}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PUT"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}})}};ce.FollowFlagsApiAxiosParamCreator=rsl;var nsl=function(r){let t=(0,ce.FollowFlagsApiAxiosParamCreator)(r);return{deleteFlagFollower(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteFlagFollower(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getFlagFollowers(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getFlagFollowers(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getFollowersByProjEnv(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getFollowersByProjEnv(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},putFlagFollower(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.putFlagFollower(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})}}};ce.FollowFlagsApiFp=nsl;var isl=function(r,t,n){let i=(0,ce.FollowFlagsApiFp)(r);return{deleteFlagFollower(o,s,a,l,c){return i.deleteFlagFollower(o,s,a,l,c).then(u=>u(n,t))},getFlagFollowers(o,s,a,l){return i.getFlagFollowers(o,s,a,l).then(c=>c(n,t))},getFollowersByProjEnv(o,s,a){return i.getFollowersByProjEnv(o,s,a).then(l=>l(n,t))},putFlagFollower(o,s,a,l,c){return i.putFlagFollower(o,s,a,l,c).then(u=>u(n,t))}}};ce.FollowFlagsApiFactory=isl;var dIr=class extends ft.BaseAPI{deleteFlagFollower(t,n,i,o,s){return(0,ce.FollowFlagsApiFp)(this.configuration).deleteFlagFollower(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getFlagFollowers(t,n,i,o){return(0,ce.FollowFlagsApiFp)(this.configuration).getFlagFollowers(t,n,i,o).then(s=>s(this.axios,this.basePath))}getFollowersByProjEnv(t,n,i){return(0,ce.FollowFlagsApiFp)(this.configuration).getFollowersByProjEnv(t,n,i).then(o=>o(this.axios,this.basePath))}putFlagFollower(t,n,i,o,s){return(0,ce.FollowFlagsApiFp)(this.configuration).putFlagFollower(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.FollowFlagsApi=dIr;var osl=function(r){return{getAllHoldouts:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getAllHoldouts","projectKey",t),(0,B.assertParamExists)("getAllHoldouts","environmentKey",n);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),i!==void 0&&(p.limit=i),o!==void 0&&(p.offset=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getHoldout:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getHoldout","projectKey",t),(0,B.assertParamExists)("getHoldout","environmentKey",n),(0,B.assertParamExists)("getHoldout","holdoutKey",i);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{holdoutKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),o!==void 0&&(p.expand=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getHoldoutById:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getHoldoutById","projectKey",t),(0,B.assertParamExists)("getHoldoutById","environmentKey",n),(0,B.assertParamExists)("getHoldoutById","holdoutId",i);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/id/{holdoutId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{holdoutId}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),patchHoldout:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchHoldout","projectKey",t),(0,B.assertParamExists)("patchHoldout","environmentKey",n),(0,B.assertParamExists)("patchHoldout","holdoutKey",i),(0,B.assertParamExists)("patchHoldout","holdoutPatchInput",o);let a="/api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts/{holdoutKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{holdoutKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),postHoldout:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postHoldout","projectKey",t),(0,B.assertParamExists)("postHoldout","environmentKey",n),(0,B.assertParamExists)("postHoldout","holdoutPostRequest",i);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.HoldoutsBetaApiAxiosParamCreator=osl;var ssl=function(r){let t=(0,ce.HoldoutsBetaApiAxiosParamCreator)(r);return{getAllHoldouts(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getAllHoldouts(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getHoldout(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getHoldout(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getHoldoutById(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getHoldoutById(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},patchHoldout(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchHoldout(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},postHoldout(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.postHoldout(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})}}};ce.HoldoutsBetaApiFp=ssl;var asl=function(r,t,n){let i=(0,ce.HoldoutsBetaApiFp)(r);return{getAllHoldouts(o,s,a,l,c){return i.getAllHoldouts(o,s,a,l,c).then(u=>u(n,t))},getHoldout(o,s,a,l,c){return i.getHoldout(o,s,a,l,c).then(u=>u(n,t))},getHoldoutById(o,s,a,l){return i.getHoldoutById(o,s,a,l).then(c=>c(n,t))},patchHoldout(o,s,a,l,c){return i.patchHoldout(o,s,a,l,c).then(u=>u(n,t))},postHoldout(o,s,a,l){return i.postHoldout(o,s,a,l).then(c=>c(n,t))}}};ce.HoldoutsBetaApiFactory=asl;var pIr=class extends ft.BaseAPI{getAllHoldouts(t,n,i,o,s){return(0,ce.HoldoutsBetaApiFp)(this.configuration).getAllHoldouts(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getHoldout(t,n,i,o,s){return(0,ce.HoldoutsBetaApiFp)(this.configuration).getHoldout(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getHoldoutById(t,n,i,o){return(0,ce.HoldoutsBetaApiFp)(this.configuration).getHoldoutById(t,n,i,o).then(s=>s(this.axios,this.basePath))}patchHoldout(t,n,i,o,s){return(0,ce.HoldoutsBetaApiFp)(this.configuration).patchHoldout(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}postHoldout(t,n,i,o){return(0,ce.HoldoutsBetaApiFp)(this.configuration).postHoldout(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.HoldoutsBetaApi=pIr;var lsl=function(r){return{getDeploymentFrequencyChart:(t,n,i,o,s,a,l,c,u,d={})=>Pe(this,void 0,void 0,function*(){let p="/api/v2/engineering-insights/charts/deployments/frequency",f=new URL(p,B.DUMMY_BASE_URL),A;r&&(A=r.baseOptions);let h=Object.assign(Object.assign({method:"GET"},A),d),y={},C={};yield(0,B.setApiKeyToObject)(y,"Authorization",r),t!==void 0&&(C.projectKey=t),n!==void 0&&(C.environmentKey=n),i!==void 0&&(C.applicationKey=i),o!==void 0&&(C.from=o instanceof Date?o.toISOString():o),s!==void 0&&(C.to=s instanceof Date?s.toISOString():s),a!==void 0&&(C.bucketType=a),l!==void 0&&(C.bucketMs=l),c!==void 0&&(C.groupBy=c),u!==void 0&&(C.expand=u),(0,B.setSearchParams)(f,C);let v=A&&A.headers?A.headers:{};return h.headers=Object.assign(Object.assign(Object.assign({},y),v),d.headers),{url:(0,B.toPathString)(f),options:h}}),getFlagStatusChart:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagStatusChart","projectKey",t),(0,B.assertParamExists)("getFlagStatusChart","environmentKey",n);let s="/api/v2/engineering-insights/charts/flags/status",a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),t!==void 0&&(d.projectKey=t),n!==void 0&&(d.environmentKey=n),i!==void 0&&(d.applicationKey=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getLeadTimeChart:(t,n,i,o,s,a,l,c,u,d={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getLeadTimeChart","projectKey",t);let p="/api/v2/engineering-insights/charts/lead-time",f=new URL(p,B.DUMMY_BASE_URL),A;r&&(A=r.baseOptions);let h=Object.assign(Object.assign({method:"GET"},A),d),y={},C={};yield(0,B.setApiKeyToObject)(y,"Authorization",r),t!==void 0&&(C.projectKey=t),n!==void 0&&(C.environmentKey=n),i!==void 0&&(C.applicationKey=i),o!==void 0&&(C.from=o),s!==void 0&&(C.to=s),a!==void 0&&(C.bucketType=a),l!==void 0&&(C.bucketMs=l),c!==void 0&&(C.groupBy=c),u!==void 0&&(C.expand=u),(0,B.setSearchParams)(f,C);let v=A&&A.headers?A.headers:{};return h.headers=Object.assign(Object.assign(Object.assign({},y),v),d.headers),{url:(0,B.toPathString)(f),options:h}}),getReleaseFrequencyChart:(t,n,i,o,s,a,l,c,u,d,p,f={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getReleaseFrequencyChart","projectKey",t),(0,B.assertParamExists)("getReleaseFrequencyChart","environmentKey",n);let A="/api/v2/engineering-insights/charts/releases/frequency",h=new URL(A,B.DUMMY_BASE_URL),y;r&&(y=r.baseOptions);let C=Object.assign(Object.assign({method:"GET"},y),f),v={},O={};yield(0,B.setApiKeyToObject)(v,"Authorization",r),t!==void 0&&(O.projectKey=t),n!==void 0&&(O.environmentKey=n),i!==void 0&&(O.applicationKey=i),o!==void 0&&(O.hasExperiments=o),s!==void 0&&(O.global=s),a!==void 0&&(O.groupBy=a),l!==void 0&&(O.from=l instanceof Date?l.toISOString():l),c!==void 0&&(O.to=c instanceof Date?c.toISOString():c),u!==void 0&&(O.bucketType=u),d!==void 0&&(O.bucketMs=d),p!==void 0&&(O.expand=p),(0,B.setSearchParams)(h,O);let _=y&&y.headers?y.headers:{};return C.headers=Object.assign(Object.assign(Object.assign({},v),_),f.headers),{url:(0,B.toPathString)(h),options:C}}),getStaleFlagsChart:(t,n,i,o,s,a,l,c={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getStaleFlagsChart","projectKey",t),(0,B.assertParamExists)("getStaleFlagsChart","environmentKey",n);let u="/api/v2/engineering-insights/charts/flags/stale",d=new URL(u,B.DUMMY_BASE_URL),p;r&&(p=r.baseOptions);let f=Object.assign(Object.assign({method:"GET"},p),c),A={},h={};yield(0,B.setApiKeyToObject)(A,"Authorization",r),t!==void 0&&(h.projectKey=t),n!==void 0&&(h.environmentKey=n),i!==void 0&&(h.applicationKey=i),o!==void 0&&(h.groupBy=o),s!==void 0&&(h.maintainerId=s),a!==void 0&&(h.maintainerTeamKey=a),l!==void 0&&(h.expand=l),(0,B.setSearchParams)(d,h);let y=p&&p.headers?p.headers:{};return f.headers=Object.assign(Object.assign(Object.assign({},A),y),c.headers),{url:(0,B.toPathString)(d),options:f}})}};ce.InsightsChartsBetaApiAxiosParamCreator=lsl;var usl=function(r){let t=(0,ce.InsightsChartsBetaApiAxiosParamCreator)(r);return{getDeploymentFrequencyChart(n,i,o,s,a,l,c,u,d,p){return Pe(this,void 0,void 0,function*(){let f=yield t.getDeploymentFrequencyChart(n,i,o,s,a,l,c,u,d,p);return(0,B.createRequestFunction)(f,It.default,ft.BASE_PATH,r)})},getFlagStatusChart(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getFlagStatusChart(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getLeadTimeChart(n,i,o,s,a,l,c,u,d,p){return Pe(this,void 0,void 0,function*(){let f=yield t.getLeadTimeChart(n,i,o,s,a,l,c,u,d,p);return(0,B.createRequestFunction)(f,It.default,ft.BASE_PATH,r)})},getReleaseFrequencyChart(n,i,o,s,a,l,c,u,d,p,f,A){return Pe(this,void 0,void 0,function*(){let h=yield t.getReleaseFrequencyChart(n,i,o,s,a,l,c,u,d,p,f,A);return(0,B.createRequestFunction)(h,It.default,ft.BASE_PATH,r)})},getStaleFlagsChart(n,i,o,s,a,l,c,u){return Pe(this,void 0,void 0,function*(){let d=yield t.getStaleFlagsChart(n,i,o,s,a,l,c,u);return(0,B.createRequestFunction)(d,It.default,ft.BASE_PATH,r)})}}};ce.InsightsChartsBetaApiFp=usl;var csl=function(r,t,n){let i=(0,ce.InsightsChartsBetaApiFp)(r);return{getDeploymentFrequencyChart(o,s,a,l,c,u,d,p,f,A){return i.getDeploymentFrequencyChart(o,s,a,l,c,u,d,p,f,A).then(h=>h(n,t))},getFlagStatusChart(o,s,a,l){return i.getFlagStatusChart(o,s,a,l).then(c=>c(n,t))},getLeadTimeChart(o,s,a,l,c,u,d,p,f,A){return i.getLeadTimeChart(o,s,a,l,c,u,d,p,f,A).then(h=>h(n,t))},getReleaseFrequencyChart(o,s,a,l,c,u,d,p,f,A,h,y){return i.getReleaseFrequencyChart(o,s,a,l,c,u,d,p,f,A,h,y).then(C=>C(n,t))},getStaleFlagsChart(o,s,a,l,c,u,d,p){return i.getStaleFlagsChart(o,s,a,l,c,u,d,p).then(f=>f(n,t))}}};ce.InsightsChartsBetaApiFactory=csl;var fIr=class extends ft.BaseAPI{getDeploymentFrequencyChart(t,n,i,o,s,a,l,c,u,d){return(0,ce.InsightsChartsBetaApiFp)(this.configuration).getDeploymentFrequencyChart(t,n,i,o,s,a,l,c,u,d).then(p=>p(this.axios,this.basePath))}getFlagStatusChart(t,n,i,o){return(0,ce.InsightsChartsBetaApiFp)(this.configuration).getFlagStatusChart(t,n,i,o).then(s=>s(this.axios,this.basePath))}getLeadTimeChart(t,n,i,o,s,a,l,c,u,d){return(0,ce.InsightsChartsBetaApiFp)(this.configuration).getLeadTimeChart(t,n,i,o,s,a,l,c,u,d).then(p=>p(this.axios,this.basePath))}getReleaseFrequencyChart(t,n,i,o,s,a,l,c,u,d,p,f){return(0,ce.InsightsChartsBetaApiFp)(this.configuration).getReleaseFrequencyChart(t,n,i,o,s,a,l,c,u,d,p,f).then(A=>A(this.axios,this.basePath))}getStaleFlagsChart(t,n,i,o,s,a,l,c){return(0,ce.InsightsChartsBetaApiFp)(this.configuration).getStaleFlagsChart(t,n,i,o,s,a,l,c).then(u=>u(this.axios,this.basePath))}};ce.InsightsChartsBetaApi=fIr;var dsl=function(r){return{createDeploymentEvent:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createDeploymentEvent","postDeploymentEventInput",t);let i="/api/v2/engineering-insights/deployment-events",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),getDeployment:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getDeployment","deploymentID",t);let o="/api/v2/engineering-insights/deployments/{deploymentID}".replace("{deploymentID}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getDeployments:(t,n,i,o,s,a,l,c,u,d,p,f={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getDeployments","projectKey",t),(0,B.assertParamExists)("getDeployments","environmentKey",n);let A="/api/v2/engineering-insights/deployments",h=new URL(A,B.DUMMY_BASE_URL),y;r&&(y=r.baseOptions);let C=Object.assign(Object.assign({method:"GET"},y),f),v={},O={};yield(0,B.setApiKeyToObject)(v,"Authorization",r),t!==void 0&&(O.projectKey=t),n!==void 0&&(O.environmentKey=n),i!==void 0&&(O.applicationKey=i),o!==void 0&&(O.limit=o),s!==void 0&&(O.expand=s),a!==void 0&&(O.from=a),l!==void 0&&(O.to=l),c!==void 0&&(O.after=c),u!==void 0&&(O.before=u),d!==void 0&&(O.kind=d),p!==void 0&&(O.status=p),(0,B.setSearchParams)(h,O);let _=y&&y.headers?y.headers:{};return C.headers=Object.assign(Object.assign(Object.assign({},v),_),f.headers),{url:(0,B.toPathString)(h),options:C}}),updateDeployment:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updateDeployment","deploymentID",t),(0,B.assertParamExists)("updateDeployment","patchOperation",n);let o="/api/v2/engineering-insights/deployments/{deploymentID}".replace("{deploymentID}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.InsightsDeploymentsBetaApiAxiosParamCreator=dsl;var psl=function(r){let t=(0,ce.InsightsDeploymentsBetaApiAxiosParamCreator)(r);return{createDeploymentEvent(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.createDeploymentEvent(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getDeployment(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getDeployment(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getDeployments(n,i,o,s,a,l,c,u,d,p,f,A){return Pe(this,void 0,void 0,function*(){let h=yield t.getDeployments(n,i,o,s,a,l,c,u,d,p,f,A);return(0,B.createRequestFunction)(h,It.default,ft.BASE_PATH,r)})},updateDeployment(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.updateDeployment(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})}}};ce.InsightsDeploymentsBetaApiFp=psl;var fsl=function(r,t,n){let i=(0,ce.InsightsDeploymentsBetaApiFp)(r);return{createDeploymentEvent(o,s){return i.createDeploymentEvent(o,s).then(a=>a(n,t))},getDeployment(o,s,a){return i.getDeployment(o,s,a).then(l=>l(n,t))},getDeployments(o,s,a,l,c,u,d,p,f,A,h,y){return i.getDeployments(o,s,a,l,c,u,d,p,f,A,h,y).then(C=>C(n,t))},updateDeployment(o,s,a){return i.updateDeployment(o,s,a).then(l=>l(n,t))}}};ce.InsightsDeploymentsBetaApiFactory=fsl;var AIr=class extends ft.BaseAPI{createDeploymentEvent(t,n){return(0,ce.InsightsDeploymentsBetaApiFp)(this.configuration).createDeploymentEvent(t,n).then(i=>i(this.axios,this.basePath))}getDeployment(t,n,i){return(0,ce.InsightsDeploymentsBetaApiFp)(this.configuration).getDeployment(t,n,i).then(o=>o(this.axios,this.basePath))}getDeployments(t,n,i,o,s,a,l,c,u,d,p,f){return(0,ce.InsightsDeploymentsBetaApiFp)(this.configuration).getDeployments(t,n,i,o,s,a,l,c,u,d,p,f).then(A=>A(this.axios,this.basePath))}updateDeployment(t,n,i){return(0,ce.InsightsDeploymentsBetaApiFp)(this.configuration).updateDeployment(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.InsightsDeploymentsBetaApi=AIr;var Asl=function(r){return{getFlagEvents:(t,n,i,o,s,a,l,c,u,d,p,f,A,h={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagEvents","projectKey",t),(0,B.assertParamExists)("getFlagEvents","environmentKey",n);let y="/api/v2/engineering-insights/flag-events",C=new URL(y,B.DUMMY_BASE_URL),v;r&&(v=r.baseOptions);let O=Object.assign(Object.assign({method:"GET"},v),h),_={},w={};yield(0,B.setApiKeyToObject)(_,"Authorization",r),t!==void 0&&(w.projectKey=t),n!==void 0&&(w.environmentKey=n),i!==void 0&&(w.applicationKey=i),o!==void 0&&(w.query=o),s!==void 0&&(w.impactSize=s),a!==void 0&&(w.hasExperiments=a),l!==void 0&&(w.global=l),c!==void 0&&(w.expand=c),u!==void 0&&(w.limit=u),d!==void 0&&(w.from=d),p!==void 0&&(w.to=p),f!==void 0&&(w.after=f),A!==void 0&&(w.before=A),(0,B.setSearchParams)(C,w);let x=v&&v.headers?v.headers:{};return O.headers=Object.assign(Object.assign(Object.assign({},_),x),h.headers),{url:(0,B.toPathString)(C),options:O}})}};ce.InsightsFlagEventsBetaApiAxiosParamCreator=Asl;var hsl=function(r){let t=(0,ce.InsightsFlagEventsBetaApiAxiosParamCreator)(r);return{getFlagEvents(n,i,o,s,a,l,c,u,d,p,f,A,h,y){return Pe(this,void 0,void 0,function*(){let C=yield t.getFlagEvents(n,i,o,s,a,l,c,u,d,p,f,A,h,y);return(0,B.createRequestFunction)(C,It.default,ft.BASE_PATH,r)})}}};ce.InsightsFlagEventsBetaApiFp=hsl;var gsl=function(r,t,n){let i=(0,ce.InsightsFlagEventsBetaApiFp)(r);return{getFlagEvents(o,s,a,l,c,u,d,p,f,A,h,y,C,v){return i.getFlagEvents(o,s,a,l,c,u,d,p,f,A,h,y,C,v).then(O=>O(n,t))}}};ce.InsightsFlagEventsBetaApiFactory=gsl;var hIr=class extends ft.BaseAPI{getFlagEvents(t,n,i,o,s,a,l,c,u,d,p,f,A,h){return(0,ce.InsightsFlagEventsBetaApiFp)(this.configuration).getFlagEvents(t,n,i,o,s,a,l,c,u,d,p,f,A,h).then(y=>y(this.axios,this.basePath))}};ce.InsightsFlagEventsBetaApi=hIr;var msl=function(r){return{getPullRequests:(t,n,i,o,s,a,l,c,u,d,p,f,A={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getPullRequests","projectKey",t);let h="/api/v2/engineering-insights/pull-requests",y=new URL(h,B.DUMMY_BASE_URL),C;r&&(C=r.baseOptions);let v=Object.assign(Object.assign({method:"GET"},C),A),O={},_={};yield(0,B.setApiKeyToObject)(O,"Authorization",r),t!==void 0&&(_.projectKey=t),n!==void 0&&(_.environmentKey=n),i!==void 0&&(_.applicationKey=i),o!==void 0&&(_.status=o),s!==void 0&&(_.query=s),a!==void 0&&(_.limit=a),l!==void 0&&(_.expand=l),c!==void 0&&(_.sort=c),u!==void 0&&(_.from=u instanceof Date?u.toISOString():u),d!==void 0&&(_.to=d instanceof Date?d.toISOString():d),p!==void 0&&(_.after=p),f!==void 0&&(_.before=f),(0,B.setSearchParams)(y,_);let w=C&&C.headers?C.headers:{};return v.headers=Object.assign(Object.assign(Object.assign({},O),w),A.headers),{url:(0,B.toPathString)(y),options:v}})}};ce.InsightsPullRequestsBetaApiAxiosParamCreator=msl;var ysl=function(r){let t=(0,ce.InsightsPullRequestsBetaApiAxiosParamCreator)(r);return{getPullRequests(n,i,o,s,a,l,c,u,d,p,f,A,h){return Pe(this,void 0,void 0,function*(){let y=yield t.getPullRequests(n,i,o,s,a,l,c,u,d,p,f,A,h);return(0,B.createRequestFunction)(y,It.default,ft.BASE_PATH,r)})}}};ce.InsightsPullRequestsBetaApiFp=ysl;var Esl=function(r,t,n){let i=(0,ce.InsightsPullRequestsBetaApiFp)(r);return{getPullRequests(o,s,a,l,c,u,d,p,f,A,h,y,C){return i.getPullRequests(o,s,a,l,c,u,d,p,f,A,h,y,C).then(v=>v(n,t))}}};ce.InsightsPullRequestsBetaApiFactory=Esl;var gIr=class extends ft.BaseAPI{getPullRequests(t,n,i,o,s,a,l,c,u,d,p,f,A){return(0,ce.InsightsPullRequestsBetaApiFp)(this.configuration).getPullRequests(t,n,i,o,s,a,l,c,u,d,p,f,A).then(h=>h(this.axios,this.basePath))}};ce.InsightsPullRequestsBetaApi=gIr;var bsl=function(r){return{associateRepositoriesAndProjects:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("associateRepositoriesAndProjects","insightsRepositoryProjectMappings",t);let i="/api/v2/engineering-insights/repositories/projects",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"PUT"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),deleteRepositoryProject:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteRepositoryProject","repositoryKey",t),(0,B.assertParamExists)("deleteRepositoryProject","projectKey",n);let o="/api/v2/engineering-insights/repositories/{repositoryKey}/projects/{projectKey}".replace("{repositoryKey}",encodeURIComponent(String(t))).replace("{projectKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getInsightsRepositories:(t,n={})=>Pe(this,void 0,void 0,function*(){let i="/api/v2/engineering-insights/repositories",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),t!==void 0&&(c.expand=t),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}})}};ce.InsightsRepositoriesBetaApiAxiosParamCreator=bsl;var Csl=function(r){let t=(0,ce.InsightsRepositoriesBetaApiAxiosParamCreator)(r);return{associateRepositoriesAndProjects(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.associateRepositoriesAndProjects(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},deleteRepositoryProject(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteRepositoryProject(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getInsightsRepositories(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getInsightsRepositories(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})}}};ce.InsightsRepositoriesBetaApiFp=Csl;var Isl=function(r,t,n){let i=(0,ce.InsightsRepositoriesBetaApiFp)(r);return{associateRepositoriesAndProjects(o,s){return i.associateRepositoriesAndProjects(o,s).then(a=>a(n,t))},deleteRepositoryProject(o,s,a){return i.deleteRepositoryProject(o,s,a).then(l=>l(n,t))},getInsightsRepositories(o,s){return i.getInsightsRepositories(o,s).then(a=>a(n,t))}}};ce.InsightsRepositoriesBetaApiFactory=Isl;var mIr=class extends ft.BaseAPI{associateRepositoriesAndProjects(t,n){return(0,ce.InsightsRepositoriesBetaApiFp)(this.configuration).associateRepositoriesAndProjects(t,n).then(i=>i(this.axios,this.basePath))}deleteRepositoryProject(t,n,i){return(0,ce.InsightsRepositoriesBetaApiFp)(this.configuration).deleteRepositoryProject(t,n,i).then(o=>o(this.axios,this.basePath))}getInsightsRepositories(t,n){return(0,ce.InsightsRepositoriesBetaApiFp)(this.configuration).getInsightsRepositories(t,n).then(i=>i(this.axios,this.basePath))}};ce.InsightsRepositoriesBetaApi=mIr;var vsl=function(r){return{createInsightGroup:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createInsightGroup","postInsightGroupParams",t);let i="/api/v2/engineering-insights/insights/group",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),deleteInsightGroup:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteInsightGroup","insightGroupKey",t);let i="/api/v2/engineering-insights/insights/groups/{insightGroupKey}".replace("{insightGroupKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getInsightGroup:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getInsightGroup","insightGroupKey",t);let o="/api/v2/engineering-insights/insights/groups/{insightGroupKey}".replace("{insightGroupKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getInsightGroups:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){let l="/api/v2/engineering-insights/insights/groups",c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),t!==void 0&&(f.limit=t),n!==void 0&&(f.offset=n),i!==void 0&&(f.sort=i),o!==void 0&&(f.query=o),s!==void 0&&(f.expand=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),getInsightsScores:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getInsightsScores","projectKey",t),(0,B.assertParamExists)("getInsightsScores","environmentKey",n);let s="/api/v2/engineering-insights/insights/scores",a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),t!==void 0&&(d.projectKey=t),n!==void 0&&(d.environmentKey=n),i!==void 0&&(d.applicationKey=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),patchInsightGroup:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchInsightGroup","insightGroupKey",t),(0,B.assertParamExists)("patchInsightGroup","patchOperation",n);let o="/api/v2/engineering-insights/insights/groups/{insightGroupKey}".replace("{insightGroupKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.InsightsScoresBetaApiAxiosParamCreator=vsl;var Ssl=function(r){let t=(0,ce.InsightsScoresBetaApiAxiosParamCreator)(r);return{createInsightGroup(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.createInsightGroup(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},deleteInsightGroup(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteInsightGroup(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getInsightGroup(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getInsightGroup(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getInsightGroups(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getInsightGroups(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},getInsightsScores(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getInsightsScores(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},patchInsightGroup(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchInsightGroup(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})}}};ce.InsightsScoresBetaApiFp=Ssl;var Tsl=function(r,t,n){let i=(0,ce.InsightsScoresBetaApiFp)(r);return{createInsightGroup(o,s){return i.createInsightGroup(o,s).then(a=>a(n,t))},deleteInsightGroup(o,s){return i.deleteInsightGroup(o,s).then(a=>a(n,t))},getInsightGroup(o,s,a){return i.getInsightGroup(o,s,a).then(l=>l(n,t))},getInsightGroups(o,s,a,l,c,u){return i.getInsightGroups(o,s,a,l,c,u).then(d=>d(n,t))},getInsightsScores(o,s,a,l){return i.getInsightsScores(o,s,a,l).then(c=>c(n,t))},patchInsightGroup(o,s,a){return i.patchInsightGroup(o,s,a).then(l=>l(n,t))}}};ce.InsightsScoresBetaApiFactory=Tsl;var yIr=class extends ft.BaseAPI{createInsightGroup(t,n){return(0,ce.InsightsScoresBetaApiFp)(this.configuration).createInsightGroup(t,n).then(i=>i(this.axios,this.basePath))}deleteInsightGroup(t,n){return(0,ce.InsightsScoresBetaApiFp)(this.configuration).deleteInsightGroup(t,n).then(i=>i(this.axios,this.basePath))}getInsightGroup(t,n,i){return(0,ce.InsightsScoresBetaApiFp)(this.configuration).getInsightGroup(t,n,i).then(o=>o(this.axios,this.basePath))}getInsightGroups(t,n,i,o,s,a){return(0,ce.InsightsScoresBetaApiFp)(this.configuration).getInsightGroups(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getInsightsScores(t,n,i,o){return(0,ce.InsightsScoresBetaApiFp)(this.configuration).getInsightsScores(t,n,i,o).then(s=>s(this.axios,this.basePath))}patchInsightGroup(t,n,i){return(0,ce.InsightsScoresBetaApiFp)(this.configuration).patchInsightGroup(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.InsightsScoresBetaApi=yIr;var Osl=function(r){return{createSubscription:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createSubscription","integrationKey",t),(0,B.assertParamExists)("createSubscription","subscriptionPost",n);let o="/api/v2/integrations/{integrationKey}".replace("{integrationKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),deleteSubscription:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteSubscription","integrationKey",t),(0,B.assertParamExists)("deleteSubscription","id",n);let o="/api/v2/integrations/{integrationKey}/{id}".replace("{integrationKey}",encodeURIComponent(String(t))).replace("{id}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getSubscriptionByID:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSubscriptionByID","integrationKey",t),(0,B.assertParamExists)("getSubscriptionByID","id",n);let o="/api/v2/integrations/{integrationKey}/{id}".replace("{integrationKey}",encodeURIComponent(String(t))).replace("{id}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getSubscriptions:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSubscriptions","integrationKey",t);let i="/api/v2/integrations/{integrationKey}".replace("{integrationKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),updateSubscription:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updateSubscription","integrationKey",t),(0,B.assertParamExists)("updateSubscription","id",n),(0,B.assertParamExists)("updateSubscription","patchOperation",i);let s="/api/v2/integrations/{integrationKey}/{id}".replace("{integrationKey}",encodeURIComponent(String(t))).replace("{id}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.IntegrationAuditLogSubscriptionsApiAxiosParamCreator=Osl;var _sl=function(r){let t=(0,ce.IntegrationAuditLogSubscriptionsApiAxiosParamCreator)(r);return{createSubscription(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.createSubscription(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},deleteSubscription(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteSubscription(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getSubscriptionByID(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getSubscriptionByID(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getSubscriptions(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getSubscriptions(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},updateSubscription(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.updateSubscription(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})}}};ce.IntegrationAuditLogSubscriptionsApiFp=_sl;var Rsl=function(r,t,n){let i=(0,ce.IntegrationAuditLogSubscriptionsApiFp)(r);return{createSubscription(o,s,a){return i.createSubscription(o,s,a).then(l=>l(n,t))},deleteSubscription(o,s,a){return i.deleteSubscription(o,s,a).then(l=>l(n,t))},getSubscriptionByID(o,s,a){return i.getSubscriptionByID(o,s,a).then(l=>l(n,t))},getSubscriptions(o,s){return i.getSubscriptions(o,s).then(a=>a(n,t))},updateSubscription(o,s,a,l){return i.updateSubscription(o,s,a,l).then(c=>c(n,t))}}};ce.IntegrationAuditLogSubscriptionsApiFactory=Rsl;var EIr=class extends ft.BaseAPI{createSubscription(t,n,i){return(0,ce.IntegrationAuditLogSubscriptionsApiFp)(this.configuration).createSubscription(t,n,i).then(o=>o(this.axios,this.basePath))}deleteSubscription(t,n,i){return(0,ce.IntegrationAuditLogSubscriptionsApiFp)(this.configuration).deleteSubscription(t,n,i).then(o=>o(this.axios,this.basePath))}getSubscriptionByID(t,n,i){return(0,ce.IntegrationAuditLogSubscriptionsApiFp)(this.configuration).getSubscriptionByID(t,n,i).then(o=>o(this.axios,this.basePath))}getSubscriptions(t,n){return(0,ce.IntegrationAuditLogSubscriptionsApiFp)(this.configuration).getSubscriptions(t,n).then(i=>i(this.axios,this.basePath))}updateSubscription(t,n,i,o){return(0,ce.IntegrationAuditLogSubscriptionsApiFp)(this.configuration).updateSubscription(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.IntegrationAuditLogSubscriptionsApi=EIr;var wsl=function(r){return{createIntegrationDeliveryConfiguration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createIntegrationDeliveryConfiguration","projectKey",t),(0,B.assertParamExists)("createIntegrationDeliveryConfiguration","environmentKey",n),(0,B.assertParamExists)("createIntegrationDeliveryConfiguration","integrationKey",i),(0,B.assertParamExists)("createIntegrationDeliveryConfiguration","integrationDeliveryConfigurationPost",o);let a="/api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),deleteIntegrationDeliveryConfiguration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteIntegrationDeliveryConfiguration","projectKey",t),(0,B.assertParamExists)("deleteIntegrationDeliveryConfiguration","environmentKey",n),(0,B.assertParamExists)("deleteIntegrationDeliveryConfiguration","integrationKey",i),(0,B.assertParamExists)("deleteIntegrationDeliveryConfiguration","id",o);let a="/api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getIntegrationDeliveryConfigurationByEnvironment:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getIntegrationDeliveryConfigurationByEnvironment","projectKey",t),(0,B.assertParamExists)("getIntegrationDeliveryConfigurationByEnvironment","environmentKey",n);let o="/api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getIntegrationDeliveryConfigurationById:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getIntegrationDeliveryConfigurationById","projectKey",t),(0,B.assertParamExists)("getIntegrationDeliveryConfigurationById","environmentKey",n),(0,B.assertParamExists)("getIntegrationDeliveryConfigurationById","integrationKey",i),(0,B.assertParamExists)("getIntegrationDeliveryConfigurationById","id",o);let a="/api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getIntegrationDeliveryConfigurations:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/integration-capabilities/featureStore",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),patchIntegrationDeliveryConfiguration:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchIntegrationDeliveryConfiguration","projectKey",t),(0,B.assertParamExists)("patchIntegrationDeliveryConfiguration","environmentKey",n),(0,B.assertParamExists)("patchIntegrationDeliveryConfiguration","integrationKey",i),(0,B.assertParamExists)("patchIntegrationDeliveryConfiguration","id",o),(0,B.assertParamExists)("patchIntegrationDeliveryConfiguration","patchOperation",s);let l="/api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"PATCH"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}}),validateIntegrationDeliveryConfiguration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("validateIntegrationDeliveryConfiguration","projectKey",t),(0,B.assertParamExists)("validateIntegrationDeliveryConfiguration","environmentKey",n),(0,B.assertParamExists)("validateIntegrationDeliveryConfiguration","integrationKey",i),(0,B.assertParamExists)("validateIntegrationDeliveryConfiguration","id",o);let a="/api/v2/integration-capabilities/featureStore/{projectKey}/{environmentKey}/{integrationKey}/{id}/validate".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}})}};ce.IntegrationDeliveryConfigurationsBetaApiAxiosParamCreator=wsl;var Bsl=function(r){let t=(0,ce.IntegrationDeliveryConfigurationsBetaApiAxiosParamCreator)(r);return{createIntegrationDeliveryConfiguration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.createIntegrationDeliveryConfiguration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},deleteIntegrationDeliveryConfiguration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteIntegrationDeliveryConfiguration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getIntegrationDeliveryConfigurationByEnvironment(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getIntegrationDeliveryConfigurationByEnvironment(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getIntegrationDeliveryConfigurationById(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getIntegrationDeliveryConfigurationById(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getIntegrationDeliveryConfigurations(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getIntegrationDeliveryConfigurations(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})},patchIntegrationDeliveryConfiguration(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.patchIntegrationDeliveryConfiguration(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},validateIntegrationDeliveryConfiguration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.validateIntegrationDeliveryConfiguration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})}}};ce.IntegrationDeliveryConfigurationsBetaApiFp=Bsl;var Msl=function(r,t,n){let i=(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(r);return{createIntegrationDeliveryConfiguration(o,s,a,l,c){return i.createIntegrationDeliveryConfiguration(o,s,a,l,c).then(u=>u(n,t))},deleteIntegrationDeliveryConfiguration(o,s,a,l,c){return i.deleteIntegrationDeliveryConfiguration(o,s,a,l,c).then(u=>u(n,t))},getIntegrationDeliveryConfigurationByEnvironment(o,s,a){return i.getIntegrationDeliveryConfigurationByEnvironment(o,s,a).then(l=>l(n,t))},getIntegrationDeliveryConfigurationById(o,s,a,l,c){return i.getIntegrationDeliveryConfigurationById(o,s,a,l,c).then(u=>u(n,t))},getIntegrationDeliveryConfigurations(o){return i.getIntegrationDeliveryConfigurations(o).then(s=>s(n,t))},patchIntegrationDeliveryConfiguration(o,s,a,l,c,u){return i.patchIntegrationDeliveryConfiguration(o,s,a,l,c,u).then(d=>d(n,t))},validateIntegrationDeliveryConfiguration(o,s,a,l,c){return i.validateIntegrationDeliveryConfiguration(o,s,a,l,c).then(u=>u(n,t))}}};ce.IntegrationDeliveryConfigurationsBetaApiFactory=Msl;var bIr=class extends ft.BaseAPI{createIntegrationDeliveryConfiguration(t,n,i,o,s){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).createIntegrationDeliveryConfiguration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}deleteIntegrationDeliveryConfiguration(t,n,i,o,s){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).deleteIntegrationDeliveryConfiguration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getIntegrationDeliveryConfigurationByEnvironment(t,n,i){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).getIntegrationDeliveryConfigurationByEnvironment(t,n,i).then(o=>o(this.axios,this.basePath))}getIntegrationDeliveryConfigurationById(t,n,i,o,s){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).getIntegrationDeliveryConfigurationById(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getIntegrationDeliveryConfigurations(t){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).getIntegrationDeliveryConfigurations(t).then(n=>n(this.axios,this.basePath))}patchIntegrationDeliveryConfiguration(t,n,i,o,s,a){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).patchIntegrationDeliveryConfiguration(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}validateIntegrationDeliveryConfiguration(t,n,i,o,s){return(0,ce.IntegrationDeliveryConfigurationsBetaApiFp)(this.configuration).validateIntegrationDeliveryConfiguration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.IntegrationDeliveryConfigurationsBetaApi=bIr;var xsl=function(r){return{createBigSegmentStoreIntegration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createBigSegmentStoreIntegration","projectKey",t),(0,B.assertParamExists)("createBigSegmentStoreIntegration","environmentKey",n),(0,B.assertParamExists)("createBigSegmentStoreIntegration","integrationKey",i),(0,B.assertParamExists)("createBigSegmentStoreIntegration","integrationDeliveryConfigurationPost",o);let a="/api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),createFlagImportConfiguration:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createFlagImportConfiguration","projectKey",t),(0,B.assertParamExists)("createFlagImportConfiguration","integrationKey",n),(0,B.assertParamExists)("createFlagImportConfiguration","flagImportConfigurationPost",i);let s="/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{integrationKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),deleteBigSegmentStoreIntegration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteBigSegmentStoreIntegration","projectKey",t),(0,B.assertParamExists)("deleteBigSegmentStoreIntegration","environmentKey",n),(0,B.assertParamExists)("deleteBigSegmentStoreIntegration","integrationKey",i),(0,B.assertParamExists)("deleteBigSegmentStoreIntegration","integrationId",o);let a="/api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{integrationId}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),deleteFlagImportConfiguration:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteFlagImportConfiguration","projectKey",t),(0,B.assertParamExists)("deleteFlagImportConfiguration","integrationKey",n),(0,B.assertParamExists)("deleteFlagImportConfiguration","integrationId",i);let s="/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{integrationKey}",encodeURIComponent(String(n))).replace("{integrationId}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"DELETE"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getBigSegmentStoreIntegration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getBigSegmentStoreIntegration","projectKey",t),(0,B.assertParamExists)("getBigSegmentStoreIntegration","environmentKey",n),(0,B.assertParamExists)("getBigSegmentStoreIntegration","integrationKey",i),(0,B.assertParamExists)("getBigSegmentStoreIntegration","integrationId",o);let a="/api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{integrationId}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getBigSegmentStoreIntegrations:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/integration-capabilities/big-segment-store",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getFlagImportConfiguration:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagImportConfiguration","projectKey",t),(0,B.assertParamExists)("getFlagImportConfiguration","integrationKey",n),(0,B.assertParamExists)("getFlagImportConfiguration","integrationId",i);let s="/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{integrationKey}",encodeURIComponent(String(n))).replace("{integrationId}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getFlagImportConfigurations:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/integration-capabilities/flag-import",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),patchBigSegmentStoreIntegration:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchBigSegmentStoreIntegration","projectKey",t),(0,B.assertParamExists)("patchBigSegmentStoreIntegration","environmentKey",n),(0,B.assertParamExists)("patchBigSegmentStoreIntegration","integrationKey",i),(0,B.assertParamExists)("patchBigSegmentStoreIntegration","integrationId",o),(0,B.assertParamExists)("patchBigSegmentStoreIntegration","patchOperation",s);let l="/api/v2/integration-capabilities/big-segment-store/{projectKey}/{environmentKey}/{integrationKey}/{integrationId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{integrationKey}",encodeURIComponent(String(i))).replace("{integrationId}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"PATCH"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}}),patchFlagImportConfiguration:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchFlagImportConfiguration","projectKey",t),(0,B.assertParamExists)("patchFlagImportConfiguration","integrationKey",n),(0,B.assertParamExists)("patchFlagImportConfiguration","integrationId",i),(0,B.assertParamExists)("patchFlagImportConfiguration","patchOperation",o);let a="/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{integrationKey}",encodeURIComponent(String(n))).replace("{integrationId}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),triggerFlagImportJob:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("triggerFlagImportJob","projectKey",t),(0,B.assertParamExists)("triggerFlagImportJob","integrationKey",n),(0,B.assertParamExists)("triggerFlagImportJob","integrationId",i);let s="/api/v2/integration-capabilities/flag-import/{projectKey}/{integrationKey}/{integrationId}/trigger".replace("{projectKey}",encodeURIComponent(String(t))).replace("{integrationKey}",encodeURIComponent(String(n))).replace("{integrationId}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}})}};ce.IntegrationsBetaApiAxiosParamCreator=xsl;var Dsl=function(r){let t=(0,ce.IntegrationsBetaApiAxiosParamCreator)(r);return{createBigSegmentStoreIntegration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.createBigSegmentStoreIntegration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},createFlagImportConfiguration(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.createFlagImportConfiguration(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},deleteBigSegmentStoreIntegration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteBigSegmentStoreIntegration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},deleteFlagImportConfiguration(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.deleteFlagImportConfiguration(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getBigSegmentStoreIntegration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getBigSegmentStoreIntegration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getBigSegmentStoreIntegrations(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getBigSegmentStoreIntegrations(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})},getFlagImportConfiguration(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getFlagImportConfiguration(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getFlagImportConfigurations(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getFlagImportConfigurations(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})},patchBigSegmentStoreIntegration(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.patchBigSegmentStoreIntegration(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},patchFlagImportConfiguration(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchFlagImportConfiguration(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},triggerFlagImportJob(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.triggerFlagImportJob(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})}}};ce.IntegrationsBetaApiFp=Dsl;var Nsl=function(r,t,n){let i=(0,ce.IntegrationsBetaApiFp)(r);return{createBigSegmentStoreIntegration(o,s,a,l,c){return i.createBigSegmentStoreIntegration(o,s,a,l,c).then(u=>u(n,t))},createFlagImportConfiguration(o,s,a,l){return i.createFlagImportConfiguration(o,s,a,l).then(c=>c(n,t))},deleteBigSegmentStoreIntegration(o,s,a,l,c){return i.deleteBigSegmentStoreIntegration(o,s,a,l,c).then(u=>u(n,t))},deleteFlagImportConfiguration(o,s,a,l){return i.deleteFlagImportConfiguration(o,s,a,l).then(c=>c(n,t))},getBigSegmentStoreIntegration(o,s,a,l,c){return i.getBigSegmentStoreIntegration(o,s,a,l,c).then(u=>u(n,t))},getBigSegmentStoreIntegrations(o){return i.getBigSegmentStoreIntegrations(o).then(s=>s(n,t))},getFlagImportConfiguration(o,s,a,l){return i.getFlagImportConfiguration(o,s,a,l).then(c=>c(n,t))},getFlagImportConfigurations(o){return i.getFlagImportConfigurations(o).then(s=>s(n,t))},patchBigSegmentStoreIntegration(o,s,a,l,c,u){return i.patchBigSegmentStoreIntegration(o,s,a,l,c,u).then(d=>d(n,t))},patchFlagImportConfiguration(o,s,a,l,c){return i.patchFlagImportConfiguration(o,s,a,l,c).then(u=>u(n,t))},triggerFlagImportJob(o,s,a,l){return i.triggerFlagImportJob(o,s,a,l).then(c=>c(n,t))}}};ce.IntegrationsBetaApiFactory=Nsl;var CIr=class extends ft.BaseAPI{createBigSegmentStoreIntegration(t,n,i,o,s){return(0,ce.IntegrationsBetaApiFp)(this.configuration).createBigSegmentStoreIntegration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}createFlagImportConfiguration(t,n,i,o){return(0,ce.IntegrationsBetaApiFp)(this.configuration).createFlagImportConfiguration(t,n,i,o).then(s=>s(this.axios,this.basePath))}deleteBigSegmentStoreIntegration(t,n,i,o,s){return(0,ce.IntegrationsBetaApiFp)(this.configuration).deleteBigSegmentStoreIntegration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}deleteFlagImportConfiguration(t,n,i,o){return(0,ce.IntegrationsBetaApiFp)(this.configuration).deleteFlagImportConfiguration(t,n,i,o).then(s=>s(this.axios,this.basePath))}getBigSegmentStoreIntegration(t,n,i,o,s){return(0,ce.IntegrationsBetaApiFp)(this.configuration).getBigSegmentStoreIntegration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getBigSegmentStoreIntegrations(t){return(0,ce.IntegrationsBetaApiFp)(this.configuration).getBigSegmentStoreIntegrations(t).then(n=>n(this.axios,this.basePath))}getFlagImportConfiguration(t,n,i,o){return(0,ce.IntegrationsBetaApiFp)(this.configuration).getFlagImportConfiguration(t,n,i,o).then(s=>s(this.axios,this.basePath))}getFlagImportConfigurations(t){return(0,ce.IntegrationsBetaApiFp)(this.configuration).getFlagImportConfigurations(t).then(n=>n(this.axios,this.basePath))}patchBigSegmentStoreIntegration(t,n,i,o,s,a){return(0,ce.IntegrationsBetaApiFp)(this.configuration).patchBigSegmentStoreIntegration(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}patchFlagImportConfiguration(t,n,i,o,s){return(0,ce.IntegrationsBetaApiFp)(this.configuration).patchFlagImportConfiguration(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}triggerFlagImportJob(t,n,i,o){return(0,ce.IntegrationsBetaApiFp)(this.configuration).triggerFlagImportJob(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.IntegrationsBetaApi=CIr;var Psl=function(r){return{createLayer:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createLayer","projectKey",t),(0,B.assertParamExists)("createLayer","layerPost",n);let o="/api/v2/projects/{projectKey}/layers".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),getLayers:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getLayers","projectKey",t);let o="/api/v2/projects/{projectKey}/layers".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.filter=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),updateLayer:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updateLayer","projectKey",t),(0,B.assertParamExists)("updateLayer","layerKey",n),(0,B.assertParamExists)("updateLayer","layerPatchInput",i);let s="/api/v2/projects/{projectKey}/layers/{layerKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{layerKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.LayersBetaApiAxiosParamCreator=Psl;var ksl=function(r){let t=(0,ce.LayersBetaApiAxiosParamCreator)(r);return{createLayer(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.createLayer(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getLayers(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getLayers(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},updateLayer(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.updateLayer(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})}}};ce.LayersBetaApiFp=ksl;var Lsl=function(r,t,n){let i=(0,ce.LayersBetaApiFp)(r);return{createLayer(o,s,a){return i.createLayer(o,s,a).then(l=>l(n,t))},getLayers(o,s,a){return i.getLayers(o,s,a).then(l=>l(n,t))},updateLayer(o,s,a,l){return i.updateLayer(o,s,a,l).then(c=>c(n,t))}}};ce.LayersBetaApiFactory=Lsl;var IIr=class extends ft.BaseAPI{createLayer(t,n,i){return(0,ce.LayersBetaApiFp)(this.configuration).createLayer(t,n,i).then(o=>o(this.axios,this.basePath))}getLayers(t,n,i){return(0,ce.LayersBetaApiFp)(this.configuration).getLayers(t,n,i).then(o=>o(this.axios,this.basePath))}updateLayer(t,n,i,o){return(0,ce.LayersBetaApiFp)(this.configuration).updateLayer(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.LayersBetaApi=IIr;var Qsl=function(r){return{deleteMetric:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteMetric","projectKey",t),(0,B.assertParamExists)("deleteMetric","metricKey",n);let o="/api/v2/metrics/{projectKey}/{metricKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{metricKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getMetric:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getMetric","projectKey",t),(0,B.assertParamExists)("getMetric","metricKey",n);let a="/api/v2/metrics/{projectKey}/{metricKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{metricKey}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),i!==void 0&&(p.expand=i),o!==void 0&&(p.versionId=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getMetrics:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getMetrics","projectKey",t);let c="/api/v2/metrics/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),n!==void 0&&(A.expand=n),i!==void 0&&(A.limit=i),o!==void 0&&(A.offset=o),s!==void 0&&(A.sort=s),a!==void 0&&(A.filter=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),patchMetric:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchMetric","projectKey",t),(0,B.assertParamExists)("patchMetric","metricKey",n),(0,B.assertParamExists)("patchMetric","patchOperation",i);let s="/api/v2/metrics/{projectKey}/{metricKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{metricKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),postMetric:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postMetric","projectKey",t),(0,B.assertParamExists)("postMetric","metricPost",n);let o="/api/v2/metrics/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.MetricsApiAxiosParamCreator=Qsl;var Fsl=function(r){let t=(0,ce.MetricsApiAxiosParamCreator)(r);return{deleteMetric(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteMetric(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getMetric(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getMetric(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getMetrics(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getMetrics(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,ft.BASE_PATH,r)})},patchMetric(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.patchMetric(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},postMetric(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postMetric(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})}}};ce.MetricsApiFp=Fsl;var qsl=function(r,t,n){let i=(0,ce.MetricsApiFp)(r);return{deleteMetric(o,s,a){return i.deleteMetric(o,s,a).then(l=>l(n,t))},getMetric(o,s,a,l,c){return i.getMetric(o,s,a,l,c).then(u=>u(n,t))},getMetrics(o,s,a,l,c,u,d){return i.getMetrics(o,s,a,l,c,u,d).then(p=>p(n,t))},patchMetric(o,s,a,l){return i.patchMetric(o,s,a,l).then(c=>c(n,t))},postMetric(o,s,a){return i.postMetric(o,s,a).then(l=>l(n,t))}}};ce.MetricsApiFactory=qsl;var vIr=class extends ft.BaseAPI{deleteMetric(t,n,i){return(0,ce.MetricsApiFp)(this.configuration).deleteMetric(t,n,i).then(o=>o(this.axios,this.basePath))}getMetric(t,n,i,o,s){return(0,ce.MetricsApiFp)(this.configuration).getMetric(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getMetrics(t,n,i,o,s,a,l){return(0,ce.MetricsApiFp)(this.configuration).getMetrics(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}patchMetric(t,n,i,o){return(0,ce.MetricsApiFp)(this.configuration).patchMetric(t,n,i,o).then(s=>s(this.axios,this.basePath))}postMetric(t,n,i){return(0,ce.MetricsApiFp)(this.configuration).postMetric(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.MetricsApi=vIr;var zsl=function(r){return{createMetricGroup:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createMetricGroup","projectKey",t),(0,B.assertParamExists)("createMetricGroup","metricGroupPost",n);let o="/api/v2/projects/{projectKey}/metric-groups".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),deleteMetricGroup:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteMetricGroup","projectKey",t),(0,B.assertParamExists)("deleteMetricGroup","metricGroupKey",n);let o="/api/v2/projects/{projectKey}/metric-groups/{metricGroupKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{metricGroupKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getMetricGroup:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getMetricGroup","projectKey",t),(0,B.assertParamExists)("getMetricGroup","metricGroupKey",n);let s="/api/v2/projects/{projectKey}/metric-groups/{metricGroupKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{metricGroupKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),i!==void 0&&(d.expand=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getMetricGroups:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getMetricGroups","projectKey",t);let l="/api/v2/projects/{projectKey}/metric-groups".replace("{projectKey}",encodeURIComponent(String(t))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),n!==void 0&&(f.filter=n),i!==void 0&&(f.expand=i),o!==void 0&&(f.limit=o),s!==void 0&&(f.offset=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),patchMetricGroup:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchMetricGroup","projectKey",t),(0,B.assertParamExists)("patchMetricGroup","metricGroupKey",n),(0,B.assertParamExists)("patchMetricGroup","patchOperation",i);let s="/api/v2/projects/{projectKey}/metric-groups/{metricGroupKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{metricGroupKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}})}};ce.MetricsBetaApiAxiosParamCreator=zsl;var Usl=function(r){let t=(0,ce.MetricsBetaApiAxiosParamCreator)(r);return{createMetricGroup(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.createMetricGroup(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},deleteMetricGroup(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteMetricGroup(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getMetricGroup(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getMetricGroup(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getMetricGroups(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getMetricGroups(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},patchMetricGroup(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.patchMetricGroup(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})}}};ce.MetricsBetaApiFp=Usl;var jsl=function(r,t,n){let i=(0,ce.MetricsBetaApiFp)(r);return{createMetricGroup(o,s,a){return i.createMetricGroup(o,s,a).then(l=>l(n,t))},deleteMetricGroup(o,s,a){return i.deleteMetricGroup(o,s,a).then(l=>l(n,t))},getMetricGroup(o,s,a,l){return i.getMetricGroup(o,s,a,l).then(c=>c(n,t))},getMetricGroups(o,s,a,l,c,u){return i.getMetricGroups(o,s,a,l,c,u).then(d=>d(n,t))},patchMetricGroup(o,s,a,l){return i.patchMetricGroup(o,s,a,l).then(c=>c(n,t))}}};ce.MetricsBetaApiFactory=jsl;var SIr=class extends ft.BaseAPI{createMetricGroup(t,n,i){return(0,ce.MetricsBetaApiFp)(this.configuration).createMetricGroup(t,n,i).then(o=>o(this.axios,this.basePath))}deleteMetricGroup(t,n,i){return(0,ce.MetricsBetaApiFp)(this.configuration).deleteMetricGroup(t,n,i).then(o=>o(this.axios,this.basePath))}getMetricGroup(t,n,i,o){return(0,ce.MetricsBetaApiFp)(this.configuration).getMetricGroup(t,n,i,o).then(s=>s(this.axios,this.basePath))}getMetricGroups(t,n,i,o,s,a){return(0,ce.MetricsBetaApiFp)(this.configuration).getMetricGroups(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}patchMetricGroup(t,n,i,o){return(0,ce.MetricsBetaApiFp)(this.configuration).patchMetricGroup(t,n,i,o).then(s=>s(this.axios,this.basePath))}};ce.MetricsBetaApi=SIr;var Gsl=function(r){return{createOAuth2Client:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createOAuth2Client","oauthClientPost",t);let i="/api/v2/oauth/clients",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),deleteOAuthClient:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteOAuthClient","clientId",t);let i="/api/v2/oauth/clients/{clientId}".replace("{clientId}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getOAuthClientById:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getOAuthClientById","clientId",t);let i="/api/v2/oauth/clients/{clientId}".replace("{clientId}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getOAuthClients:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/oauth/clients",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),patchOAuthClient:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchOAuthClient","clientId",t),(0,B.assertParamExists)("patchOAuthClient","patchOperation",n);let o="/api/v2/oauth/clients/{clientId}".replace("{clientId}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.OAuth2ClientsApiAxiosParamCreator=Gsl;var Wsl=function(r){let t=(0,ce.OAuth2ClientsApiAxiosParamCreator)(r);return{createOAuth2Client(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.createOAuth2Client(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},deleteOAuthClient(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteOAuthClient(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getOAuthClientById(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getOAuthClientById(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getOAuthClients(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getOAuthClients(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})},patchOAuthClient(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchOAuthClient(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})}}};ce.OAuth2ClientsApiFp=Wsl;var Hsl=function(r,t,n){let i=(0,ce.OAuth2ClientsApiFp)(r);return{createOAuth2Client(o,s){return i.createOAuth2Client(o,s).then(a=>a(n,t))},deleteOAuthClient(o,s){return i.deleteOAuthClient(o,s).then(a=>a(n,t))},getOAuthClientById(o,s){return i.getOAuthClientById(o,s).then(a=>a(n,t))},getOAuthClients(o){return i.getOAuthClients(o).then(s=>s(n,t))},patchOAuthClient(o,s,a){return i.patchOAuthClient(o,s,a).then(l=>l(n,t))}}};ce.OAuth2ClientsApiFactory=Hsl;var TIr=class extends ft.BaseAPI{createOAuth2Client(t,n){return(0,ce.OAuth2ClientsApiFp)(this.configuration).createOAuth2Client(t,n).then(i=>i(this.axios,this.basePath))}deleteOAuthClient(t,n){return(0,ce.OAuth2ClientsApiFp)(this.configuration).deleteOAuthClient(t,n).then(i=>i(this.axios,this.basePath))}getOAuthClientById(t,n){return(0,ce.OAuth2ClientsApiFp)(this.configuration).getOAuthClientById(t,n).then(i=>i(this.axios,this.basePath))}getOAuthClients(t){return(0,ce.OAuth2ClientsApiFp)(this.configuration).getOAuthClients(t).then(n=>n(this.axios,this.basePath))}patchOAuthClient(t,n,i){return(0,ce.OAuth2ClientsApiFp)(this.configuration).patchOAuthClient(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.OAuth2ClientsApi=TIr;var Vsl=function(r){return{getCallerIdentity:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/caller-identity",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getIps:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/public-ip-list",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getOpenapiSpec:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/openapi.json",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getRoot:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getVersions:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/versions",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}})}};ce.OtherApiAxiosParamCreator=Vsl;var Ysl=function(r){let t=(0,ce.OtherApiAxiosParamCreator)(r);return{getCallerIdentity(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getCallerIdentity(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})},getIps(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getIps(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})},getOpenapiSpec(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getOpenapiSpec(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})},getRoot(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getRoot(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})},getVersions(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getVersions(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})}}};ce.OtherApiFp=Ysl;var Ksl=function(r,t,n){let i=(0,ce.OtherApiFp)(r);return{getCallerIdentity(o){return i.getCallerIdentity(o).then(s=>s(n,t))},getIps(o){return i.getIps(o).then(s=>s(n,t))},getOpenapiSpec(o){return i.getOpenapiSpec(o).then(s=>s(n,t))},getRoot(o){return i.getRoot(o).then(s=>s(n,t))},getVersions(o){return i.getVersions(o).then(s=>s(n,t))}}};ce.OtherApiFactory=Ksl;var OIr=class extends ft.BaseAPI{getCallerIdentity(t){return(0,ce.OtherApiFp)(this.configuration).getCallerIdentity(t).then(n=>n(this.axios,this.basePath))}getIps(t){return(0,ce.OtherApiFp)(this.configuration).getIps(t).then(n=>n(this.axios,this.basePath))}getOpenapiSpec(t){return(0,ce.OtherApiFp)(this.configuration).getOpenapiSpec(t).then(n=>n(this.axios,this.basePath))}getRoot(t){return(0,ce.OtherApiFp)(this.configuration).getRoot(t).then(n=>n(this.axios,this.basePath))}getVersions(t){return(0,ce.OtherApiFp)(this.configuration).getVersions(t).then(n=>n(this.axios,this.basePath))}};ce.OtherApi=OIr;var Jsl=function(r){return{deleteProject:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteProject","projectKey",t);let i="/api/v2/projects/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getFlagDefaultsByProject:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagDefaultsByProject","projectKey",t);let i="/api/v2/projects/{projectKey}/flag-defaults".replace("{projectKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getProject:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getProject","projectKey",t);let o="/api/v2/projects/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getProjects:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){let l="/api/v2/projects",c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),t!==void 0&&(f.limit=t),n!==void 0&&(f.offset=n),i!==void 0&&(f.filter=i),o!==void 0&&(f.sort=o),s!==void 0&&(f.expand=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),patchFlagDefaultsByProject:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchFlagDefaultsByProject","projectKey",t),(0,B.assertParamExists)("patchFlagDefaultsByProject","patchOperation",n);let o="/api/v2/projects/{projectKey}/flag-defaults".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),patchProject:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchProject","projectKey",t),(0,B.assertParamExists)("patchProject","patchOperation",n);let o="/api/v2/projects/{projectKey}".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postProject:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postProject","projectPost",t);let i="/api/v2/projects",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),putFlagDefaultsByProject:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putFlagDefaultsByProject","projectKey",t),(0,B.assertParamExists)("putFlagDefaultsByProject","upsertFlagDefaultsPayload",n);let o="/api/v2/projects/{projectKey}/flag-defaults".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PUT"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.ProjectsApiAxiosParamCreator=Jsl;var Xsl=function(r){let t=(0,ce.ProjectsApiAxiosParamCreator)(r);return{deleteProject(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteProject(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getFlagDefaultsByProject(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getFlagDefaultsByProject(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getProject(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getProject(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getProjects(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getProjects(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},patchFlagDefaultsByProject(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchFlagDefaultsByProject(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},patchProject(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchProject(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},postProject(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postProject(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},putFlagDefaultsByProject(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.putFlagDefaultsByProject(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})}}};ce.ProjectsApiFp=Xsl;var $sl=function(r,t,n){let i=(0,ce.ProjectsApiFp)(r);return{deleteProject(o,s){return i.deleteProject(o,s).then(a=>a(n,t))},getFlagDefaultsByProject(o,s){return i.getFlagDefaultsByProject(o,s).then(a=>a(n,t))},getProject(o,s,a){return i.getProject(o,s,a).then(l=>l(n,t))},getProjects(o,s,a,l,c,u){return i.getProjects(o,s,a,l,c,u).then(d=>d(n,t))},patchFlagDefaultsByProject(o,s,a){return i.patchFlagDefaultsByProject(o,s,a).then(l=>l(n,t))},patchProject(o,s,a){return i.patchProject(o,s,a).then(l=>l(n,t))},postProject(o,s){return i.postProject(o,s).then(a=>a(n,t))},putFlagDefaultsByProject(o,s,a){return i.putFlagDefaultsByProject(o,s,a).then(l=>l(n,t))}}};ce.ProjectsApiFactory=$sl;var _Ir=class extends ft.BaseAPI{deleteProject(t,n){return(0,ce.ProjectsApiFp)(this.configuration).deleteProject(t,n).then(i=>i(this.axios,this.basePath))}getFlagDefaultsByProject(t,n){return(0,ce.ProjectsApiFp)(this.configuration).getFlagDefaultsByProject(t,n).then(i=>i(this.axios,this.basePath))}getProject(t,n,i){return(0,ce.ProjectsApiFp)(this.configuration).getProject(t,n,i).then(o=>o(this.axios,this.basePath))}getProjects(t,n,i,o,s,a){return(0,ce.ProjectsApiFp)(this.configuration).getProjects(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}patchFlagDefaultsByProject(t,n,i){return(0,ce.ProjectsApiFp)(this.configuration).patchFlagDefaultsByProject(t,n,i).then(o=>o(this.axios,this.basePath))}patchProject(t,n,i){return(0,ce.ProjectsApiFp)(this.configuration).patchProject(t,n,i).then(o=>o(this.axios,this.basePath))}postProject(t,n){return(0,ce.ProjectsApiFp)(this.configuration).postProject(t,n).then(i=>i(this.axios,this.basePath))}putFlagDefaultsByProject(t,n,i){return(0,ce.ProjectsApiFp)(this.configuration).putFlagDefaultsByProject(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.ProjectsApi=_Ir;var Zsl=function(r){return{deleteRelayAutoConfig:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteRelayAutoConfig","id",t);let i="/api/v2/account/relay-auto-configs/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getRelayProxyConfig:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getRelayProxyConfig","id",t);let i="/api/v2/account/relay-auto-configs/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getRelayProxyConfigs:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/account/relay-auto-configs",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),patchRelayAutoConfig:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchRelayAutoConfig","id",t),(0,B.assertParamExists)("patchRelayAutoConfig","patchWithComment",n);let o="/api/v2/account/relay-auto-configs/{id}".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postRelayAutoConfig:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postRelayAutoConfig","relayAutoConfigPost",t);let i="/api/v2/account/relay-auto-configs",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),resetRelayAutoConfig:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("resetRelayAutoConfig","id",t);let o="/api/v2/account/relay-auto-configs/{id}/reset".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expiry=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}})}};ce.RelayProxyConfigurationsApiAxiosParamCreator=Zsl;var eal=function(r){let t=(0,ce.RelayProxyConfigurationsApiAxiosParamCreator)(r);return{deleteRelayAutoConfig(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteRelayAutoConfig(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getRelayProxyConfig(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getRelayProxyConfig(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getRelayProxyConfigs(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getRelayProxyConfigs(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})},patchRelayAutoConfig(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchRelayAutoConfig(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},postRelayAutoConfig(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postRelayAutoConfig(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},resetRelayAutoConfig(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.resetRelayAutoConfig(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})}}};ce.RelayProxyConfigurationsApiFp=eal;var tal=function(r,t,n){let i=(0,ce.RelayProxyConfigurationsApiFp)(r);return{deleteRelayAutoConfig(o,s){return i.deleteRelayAutoConfig(o,s).then(a=>a(n,t))},getRelayProxyConfig(o,s){return i.getRelayProxyConfig(o,s).then(a=>a(n,t))},getRelayProxyConfigs(o){return i.getRelayProxyConfigs(o).then(s=>s(n,t))},patchRelayAutoConfig(o,s,a){return i.patchRelayAutoConfig(o,s,a).then(l=>l(n,t))},postRelayAutoConfig(o,s){return i.postRelayAutoConfig(o,s).then(a=>a(n,t))},resetRelayAutoConfig(o,s,a){return i.resetRelayAutoConfig(o,s,a).then(l=>l(n,t))}}};ce.RelayProxyConfigurationsApiFactory=tal;var RIr=class extends ft.BaseAPI{deleteRelayAutoConfig(t,n){return(0,ce.RelayProxyConfigurationsApiFp)(this.configuration).deleteRelayAutoConfig(t,n).then(i=>i(this.axios,this.basePath))}getRelayProxyConfig(t,n){return(0,ce.RelayProxyConfigurationsApiFp)(this.configuration).getRelayProxyConfig(t,n).then(i=>i(this.axios,this.basePath))}getRelayProxyConfigs(t){return(0,ce.RelayProxyConfigurationsApiFp)(this.configuration).getRelayProxyConfigs(t).then(n=>n(this.axios,this.basePath))}patchRelayAutoConfig(t,n,i){return(0,ce.RelayProxyConfigurationsApiFp)(this.configuration).patchRelayAutoConfig(t,n,i).then(o=>o(this.axios,this.basePath))}postRelayAutoConfig(t,n){return(0,ce.RelayProxyConfigurationsApiFp)(this.configuration).postRelayAutoConfig(t,n).then(i=>i(this.axios,this.basePath))}resetRelayAutoConfig(t,n,i){return(0,ce.RelayProxyConfigurationsApiFp)(this.configuration).resetRelayAutoConfig(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.RelayProxyConfigurationsApi=RIr;var ral=function(r){return{deleteReleasePipeline:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteReleasePipeline","projectKey",t),(0,B.assertParamExists)("deleteReleasePipeline","pipelineKey",n);let o="/api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{pipelineKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getAllReleasePipelines:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getAllReleasePipelines","projectKey",t);let a="/api/v2/projects/{projectKey}/release-pipelines".replace("{projectKey}",encodeURIComponent(String(t))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),n!==void 0&&(p.filter=n),i!==void 0&&(p.limit=i),o!==void 0&&(p.offset=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getAllReleaseProgressionsForReleasePipeline:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getAllReleaseProgressionsForReleasePipeline","projectKey",t),(0,B.assertParamExists)("getAllReleaseProgressionsForReleasePipeline","pipelineKey",n);let l="/api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}/releases".replace("{projectKey}",encodeURIComponent(String(t))).replace("{pipelineKey}",encodeURIComponent(String(n))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"GET"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),i!==void 0&&(f.filter=i),o!==void 0&&(f.limit=o),s!==void 0&&(f.offset=s),(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),{url:(0,B.toPathString)(c),options:d}}),getReleasePipelineByKey:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getReleasePipelineByKey","projectKey",t),(0,B.assertParamExists)("getReleasePipelineByKey","pipelineKey",n);let o="/api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{pipelineKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),patchReleasePipeline:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchReleasePipeline","projectKey",t),(0,B.assertParamExists)("patchReleasePipeline","pipelineKey",n);let o="/api/v2/projects/{projectKey}/release-pipelines/{pipelineKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{pipelineKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),postReleasePipeline:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postReleasePipeline","projectKey",t),(0,B.assertParamExists)("postReleasePipeline","createReleasePipelineInput",n);let o="/api/v2/projects/{projectKey}/release-pipelines".replace("{projectKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}})}};ce.ReleasePipelinesBetaApiAxiosParamCreator=ral;var nal=function(r){let t=(0,ce.ReleasePipelinesBetaApiAxiosParamCreator)(r);return{deleteReleasePipeline(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteReleasePipeline(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getAllReleasePipelines(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getAllReleasePipelines(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getAllReleaseProgressionsForReleasePipeline(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.getAllReleaseProgressionsForReleasePipeline(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},getReleasePipelineByKey(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getReleasePipelineByKey(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},patchReleasePipeline(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchReleasePipeline(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},postReleasePipeline(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postReleasePipeline(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})}}};ce.ReleasePipelinesBetaApiFp=nal;var ial=function(r,t,n){let i=(0,ce.ReleasePipelinesBetaApiFp)(r);return{deleteReleasePipeline(o,s,a){return i.deleteReleasePipeline(o,s,a).then(l=>l(n,t))},getAllReleasePipelines(o,s,a,l,c){return i.getAllReleasePipelines(o,s,a,l,c).then(u=>u(n,t))},getAllReleaseProgressionsForReleasePipeline(o,s,a,l,c,u){return i.getAllReleaseProgressionsForReleasePipeline(o,s,a,l,c,u).then(d=>d(n,t))},getReleasePipelineByKey(o,s,a){return i.getReleasePipelineByKey(o,s,a).then(l=>l(n,t))},patchReleasePipeline(o,s,a){return i.patchReleasePipeline(o,s,a).then(l=>l(n,t))},postReleasePipeline(o,s,a){return i.postReleasePipeline(o,s,a).then(l=>l(n,t))}}};ce.ReleasePipelinesBetaApiFactory=ial;var wIr=class extends ft.BaseAPI{deleteReleasePipeline(t,n,i){return(0,ce.ReleasePipelinesBetaApiFp)(this.configuration).deleteReleasePipeline(t,n,i).then(o=>o(this.axios,this.basePath))}getAllReleasePipelines(t,n,i,o,s){return(0,ce.ReleasePipelinesBetaApiFp)(this.configuration).getAllReleasePipelines(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getAllReleaseProgressionsForReleasePipeline(t,n,i,o,s,a){return(0,ce.ReleasePipelinesBetaApiFp)(this.configuration).getAllReleaseProgressionsForReleasePipeline(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getReleasePipelineByKey(t,n,i){return(0,ce.ReleasePipelinesBetaApiFp)(this.configuration).getReleasePipelineByKey(t,n,i).then(o=>o(this.axios,this.basePath))}patchReleasePipeline(t,n,i){return(0,ce.ReleasePipelinesBetaApiFp)(this.configuration).patchReleasePipeline(t,n,i).then(o=>o(this.axios,this.basePath))}postReleasePipeline(t,n,i){return(0,ce.ReleasePipelinesBetaApiFp)(this.configuration).postReleasePipeline(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.ReleasePipelinesBetaApi=wIr;var oal=function(r){return{createReleaseForFlag:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createReleaseForFlag","projectKey",t),(0,B.assertParamExists)("createReleaseForFlag","flagKey",n),(0,B.assertParamExists)("createReleaseForFlag","createReleaseInput",i);let s="/api/v2/projects/{projectKey}/flags/{flagKey}/release".replace("{projectKey}",encodeURIComponent(String(t))).replace("{flagKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PUT"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),deleteReleaseByFlagKey:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteReleaseByFlagKey","projectKey",t),(0,B.assertParamExists)("deleteReleaseByFlagKey","flagKey",n);let o="/api/v2/flags/{projectKey}/{flagKey}/release".replace("{projectKey}",encodeURIComponent(String(t))).replace("{flagKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"DELETE"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getReleaseByFlagKey:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getReleaseByFlagKey","projectKey",t),(0,B.assertParamExists)("getReleaseByFlagKey","flagKey",n);let o="/api/v2/flags/{projectKey}/{flagKey}/release".replace("{projectKey}",encodeURIComponent(String(t))).replace("{flagKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),patchReleaseByFlagKey:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchReleaseByFlagKey","projectKey",t),(0,B.assertParamExists)("patchReleaseByFlagKey","flagKey",n),(0,B.assertParamExists)("patchReleaseByFlagKey","patchOperation",i);let s="/api/v2/flags/{projectKey}/{flagKey}/release".replace("{projectKey}",encodeURIComponent(String(t))).replace("{flagKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),updatePhaseStatus:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updatePhaseStatus","projectKey",t),(0,B.assertParamExists)("updatePhaseStatus","flagKey",n),(0,B.assertParamExists)("updatePhaseStatus","phaseId",i),(0,B.assertParamExists)("updatePhaseStatus","updatePhaseStatusInput",o);let a="/api/v2/projects/{projectKey}/flags/{flagKey}/release/phases/{phaseId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{flagKey}",encodeURIComponent(String(n))).replace("{phaseId}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PUT"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}})}};ce.ReleasesBetaApiAxiosParamCreator=oal;var sal=function(r){let t=(0,ce.ReleasesBetaApiAxiosParamCreator)(r);return{createReleaseForFlag(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.createReleaseForFlag(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},deleteReleaseByFlagKey(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.deleteReleaseByFlagKey(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getReleaseByFlagKey(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getReleaseByFlagKey(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},patchReleaseByFlagKey(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.patchReleaseByFlagKey(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},updatePhaseStatus(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.updatePhaseStatus(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})}}};ce.ReleasesBetaApiFp=sal;var aal=function(r,t,n){let i=(0,ce.ReleasesBetaApiFp)(r);return{createReleaseForFlag(o,s,a,l){return i.createReleaseForFlag(o,s,a,l).then(c=>c(n,t))},deleteReleaseByFlagKey(o,s,a){return i.deleteReleaseByFlagKey(o,s,a).then(l=>l(n,t))},getReleaseByFlagKey(o,s,a){return i.getReleaseByFlagKey(o,s,a).then(l=>l(n,t))},patchReleaseByFlagKey(o,s,a,l){return i.patchReleaseByFlagKey(o,s,a,l).then(c=>c(n,t))},updatePhaseStatus(o,s,a,l,c){return i.updatePhaseStatus(o,s,a,l,c).then(u=>u(n,t))}}};ce.ReleasesBetaApiFactory=aal;var BIr=class extends ft.BaseAPI{createReleaseForFlag(t,n,i,o){return(0,ce.ReleasesBetaApiFp)(this.configuration).createReleaseForFlag(t,n,i,o).then(s=>s(this.axios,this.basePath))}deleteReleaseByFlagKey(t,n,i){return(0,ce.ReleasesBetaApiFp)(this.configuration).deleteReleaseByFlagKey(t,n,i).then(o=>o(this.axios,this.basePath))}getReleaseByFlagKey(t,n,i){return(0,ce.ReleasesBetaApiFp)(this.configuration).getReleaseByFlagKey(t,n,i).then(o=>o(this.axios,this.basePath))}patchReleaseByFlagKey(t,n,i,o){return(0,ce.ReleasesBetaApiFp)(this.configuration).patchReleaseByFlagKey(t,n,i,o).then(s=>s(this.axios,this.basePath))}updatePhaseStatus(t,n,i,o,s){return(0,ce.ReleasesBetaApiFp)(this.configuration).updatePhaseStatus(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.ReleasesBetaApi=BIr;var lal=function(r){return{deleteFlagConfigScheduledChanges:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteFlagConfigScheduledChanges","projectKey",t),(0,B.assertParamExists)("deleteFlagConfigScheduledChanges","featureFlagKey",n),(0,B.assertParamExists)("deleteFlagConfigScheduledChanges","environmentKey",i),(0,B.assertParamExists)("deleteFlagConfigScheduledChanges","id",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getFeatureFlagScheduledChange:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFeatureFlagScheduledChange","projectKey",t),(0,B.assertParamExists)("getFeatureFlagScheduledChange","featureFlagKey",n),(0,B.assertParamExists)("getFeatureFlagScheduledChange","environmentKey",i),(0,B.assertParamExists)("getFeatureFlagScheduledChange","id",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getFlagConfigScheduledChanges:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getFlagConfigScheduledChanges","projectKey",t),(0,B.assertParamExists)("getFlagConfigScheduledChanges","featureFlagKey",n),(0,B.assertParamExists)("getFlagConfigScheduledChanges","environmentKey",i);let s="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),patchFlagConfigScheduledChange:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchFlagConfigScheduledChange","projectKey",t),(0,B.assertParamExists)("patchFlagConfigScheduledChange","featureFlagKey",n),(0,B.assertParamExists)("patchFlagConfigScheduledChange","environmentKey",i),(0,B.assertParamExists)("patchFlagConfigScheduledChange","id",o),(0,B.assertParamExists)("patchFlagConfigScheduledChange","flagScheduledChangesInput",s);let c="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes/{id}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{id}",encodeURIComponent(String(o))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"PATCH"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),a!==void 0&&(A.ignoreConflicts=a),f["Content-Type"]="application/json",(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),p.data=(0,B.serializeDataIfNeeded)(s,p,r),{url:(0,B.toPathString)(u),options:p}}),postFlagConfigScheduledChanges:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postFlagConfigScheduledChanges","projectKey",t),(0,B.assertParamExists)("postFlagConfigScheduledChanges","featureFlagKey",n),(0,B.assertParamExists)("postFlagConfigScheduledChanges","environmentKey",i),(0,B.assertParamExists)("postFlagConfigScheduledChanges","postFlagScheduledChangesInput",o);let l="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/scheduled-changes".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"POST"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),s!==void 0&&(f.ignoreConflicts=s),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(o,d,r),{url:(0,B.toPathString)(c),options:d}})}};ce.ScheduledChangesApiAxiosParamCreator=lal;var ual=function(r){let t=(0,ce.ScheduledChangesApiAxiosParamCreator)(r);return{deleteFlagConfigScheduledChanges(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteFlagConfigScheduledChanges(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getFeatureFlagScheduledChange(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getFeatureFlagScheduledChange(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getFlagConfigScheduledChanges(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getFlagConfigScheduledChanges(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},patchFlagConfigScheduledChange(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.patchFlagConfigScheduledChange(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,ft.BASE_PATH,r)})},postFlagConfigScheduledChanges(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.postFlagConfigScheduledChanges(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})}}};ce.ScheduledChangesApiFp=ual;var cal=function(r,t,n){let i=(0,ce.ScheduledChangesApiFp)(r);return{deleteFlagConfigScheduledChanges(o,s,a,l,c){return i.deleteFlagConfigScheduledChanges(o,s,a,l,c).then(u=>u(n,t))},getFeatureFlagScheduledChange(o,s,a,l,c){return i.getFeatureFlagScheduledChange(o,s,a,l,c).then(u=>u(n,t))},getFlagConfigScheduledChanges(o,s,a,l){return i.getFlagConfigScheduledChanges(o,s,a,l).then(c=>c(n,t))},patchFlagConfigScheduledChange(o,s,a,l,c,u,d){return i.patchFlagConfigScheduledChange(o,s,a,l,c,u,d).then(p=>p(n,t))},postFlagConfigScheduledChanges(o,s,a,l,c,u){return i.postFlagConfigScheduledChanges(o,s,a,l,c,u).then(d=>d(n,t))}}};ce.ScheduledChangesApiFactory=cal;var MIr=class extends ft.BaseAPI{deleteFlagConfigScheduledChanges(t,n,i,o,s){return(0,ce.ScheduledChangesApiFp)(this.configuration).deleteFlagConfigScheduledChanges(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getFeatureFlagScheduledChange(t,n,i,o,s){return(0,ce.ScheduledChangesApiFp)(this.configuration).getFeatureFlagScheduledChange(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getFlagConfigScheduledChanges(t,n,i,o){return(0,ce.ScheduledChangesApiFp)(this.configuration).getFlagConfigScheduledChanges(t,n,i,o).then(s=>s(this.axios,this.basePath))}patchFlagConfigScheduledChange(t,n,i,o,s,a,l){return(0,ce.ScheduledChangesApiFp)(this.configuration).patchFlagConfigScheduledChange(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}postFlagConfigScheduledChanges(t,n,i,o,s,a){return(0,ce.ScheduledChangesApiFp)(this.configuration).postFlagConfigScheduledChanges(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}};ce.ScheduledChangesApi=MIr;var dal=function(r){return{deleteSegment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteSegment","projectKey",t),(0,B.assertParamExists)("deleteSegment","environmentKey",n),(0,B.assertParamExists)("deleteSegment","segmentKey",i);let s="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"DELETE"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getContextInstanceSegmentsMembershipByEnv:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getContextInstanceSegmentsMembershipByEnv","projectKey",t),(0,B.assertParamExists)("getContextInstanceSegmentsMembershipByEnv","environmentKey",n),(0,B.assertParamExists)("getContextInstanceSegmentsMembershipByEnv","requestBody",i);let s="/api/v2/projects/{projectKey}/environments/{environmentKey}/segments/evaluate".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),getExpiringTargetsForSegment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExpiringTargetsForSegment","projectKey",t),(0,B.assertParamExists)("getExpiringTargetsForSegment","environmentKey",n),(0,B.assertParamExists)("getExpiringTargetsForSegment","segmentKey",i);let s="/api/v2/segments/{projectKey}/{segmentKey}/expiring-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getExpiringUserTargetsForSegment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExpiringUserTargetsForSegment","projectKey",t),(0,B.assertParamExists)("getExpiringUserTargetsForSegment","environmentKey",n),(0,B.assertParamExists)("getExpiringUserTargetsForSegment","segmentKey",i);let s="/api/v2/segments/{projectKey}/{segmentKey}/expiring-user-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getSegment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSegment","projectKey",t),(0,B.assertParamExists)("getSegment","environmentKey",n),(0,B.assertParamExists)("getSegment","segmentKey",i);let s="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getSegmentMembershipForContext:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSegmentMembershipForContext","projectKey",t),(0,B.assertParamExists)("getSegmentMembershipForContext","environmentKey",n),(0,B.assertParamExists)("getSegmentMembershipForContext","segmentKey",i),(0,B.assertParamExists)("getSegmentMembershipForContext","contextKey",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts/{contextKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))).replace("{contextKey}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getSegmentMembershipForUser:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSegmentMembershipForUser","projectKey",t),(0,B.assertParamExists)("getSegmentMembershipForUser","environmentKey",n),(0,B.assertParamExists)("getSegmentMembershipForUser","segmentKey",i),(0,B.assertParamExists)("getSegmentMembershipForUser","userKey",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/users/{userKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))).replace("{userKey}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getSegments:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSegments","projectKey",t),(0,B.assertParamExists)("getSegments","environmentKey",n);let c="/api/v2/segments/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),i!==void 0&&(A.limit=i),o!==void 0&&(A.offset=o),s!==void 0&&(A.sort=s),a!==void 0&&(A.filter=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}}),patchExpiringTargetsForSegment:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchExpiringTargetsForSegment","projectKey",t),(0,B.assertParamExists)("patchExpiringTargetsForSegment","environmentKey",n),(0,B.assertParamExists)("patchExpiringTargetsForSegment","segmentKey",i),(0,B.assertParamExists)("patchExpiringTargetsForSegment","patchSegmentExpiringTargetInputRep",o);let a="/api/v2/segments/{projectKey}/{segmentKey}/expiring-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),patchExpiringUserTargetsForSegment:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchExpiringUserTargetsForSegment","projectKey",t),(0,B.assertParamExists)("patchExpiringUserTargetsForSegment","environmentKey",n),(0,B.assertParamExists)("patchExpiringUserTargetsForSegment","segmentKey",i),(0,B.assertParamExists)("patchExpiringUserTargetsForSegment","patchSegmentRequest",o);let a="/api/v2/segments/{projectKey}/{segmentKey}/expiring-user-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),patchSegment:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchSegment","projectKey",t),(0,B.assertParamExists)("patchSegment","environmentKey",n),(0,B.assertParamExists)("patchSegment","segmentKey",i),(0,B.assertParamExists)("patchSegment","patchWithComment",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),postSegment:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postSegment","projectKey",t),(0,B.assertParamExists)("postSegment","environmentKey",n),(0,B.assertParamExists)("postSegment","segmentBody",i);let s="/api/v2/segments/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(i,c,r),{url:(0,B.toPathString)(a),options:c}}),updateBigSegmentContextTargets:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updateBigSegmentContextTargets","projectKey",t),(0,B.assertParamExists)("updateBigSegmentContextTargets","environmentKey",n),(0,B.assertParamExists)("updateBigSegmentContextTargets","segmentKey",i),(0,B.assertParamExists)("updateBigSegmentContextTargets","segmentUserState",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),updateBigSegmentTargets:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("updateBigSegmentTargets","projectKey",t),(0,B.assertParamExists)("updateBigSegmentTargets","environmentKey",n),(0,B.assertParamExists)("updateBigSegmentTargets","segmentKey",i),(0,B.assertParamExists)("updateBigSegmentTargets","segmentUserState",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/users".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"POST"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}})}};ce.SegmentsApiAxiosParamCreator=dal;var pal=function(r){let t=(0,ce.SegmentsApiAxiosParamCreator)(r);return{deleteSegment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.deleteSegment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getContextInstanceSegmentsMembershipByEnv(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getContextInstanceSegmentsMembershipByEnv(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getExpiringTargetsForSegment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getExpiringTargetsForSegment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getExpiringUserTargetsForSegment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getExpiringUserTargetsForSegment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getSegment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getSegment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getSegmentMembershipForContext(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getSegmentMembershipForContext(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getSegmentMembershipForUser(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getSegmentMembershipForUser(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getSegments(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getSegments(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,ft.BASE_PATH,r)})},patchExpiringTargetsForSegment(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchExpiringTargetsForSegment(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},patchExpiringUserTargetsForSegment(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchExpiringUserTargetsForSegment(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},patchSegment(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchSegment(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},postSegment(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.postSegment(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},updateBigSegmentContextTargets(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.updateBigSegmentContextTargets(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},updateBigSegmentTargets(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.updateBigSegmentTargets(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})}}};ce.SegmentsApiFp=pal;var fal=function(r,t,n){let i=(0,ce.SegmentsApiFp)(r);return{deleteSegment(o,s,a,l){return i.deleteSegment(o,s,a,l).then(c=>c(n,t))},getContextInstanceSegmentsMembershipByEnv(o,s,a,l){return i.getContextInstanceSegmentsMembershipByEnv(o,s,a,l).then(c=>c(n,t))},getExpiringTargetsForSegment(o,s,a,l){return i.getExpiringTargetsForSegment(o,s,a,l).then(c=>c(n,t))},getExpiringUserTargetsForSegment(o,s,a,l){return i.getExpiringUserTargetsForSegment(o,s,a,l).then(c=>c(n,t))},getSegment(o,s,a,l){return i.getSegment(o,s,a,l).then(c=>c(n,t))},getSegmentMembershipForContext(o,s,a,l,c){return i.getSegmentMembershipForContext(o,s,a,l,c).then(u=>u(n,t))},getSegmentMembershipForUser(o,s,a,l,c){return i.getSegmentMembershipForUser(o,s,a,l,c).then(u=>u(n,t))},getSegments(o,s,a,l,c,u,d){return i.getSegments(o,s,a,l,c,u,d).then(p=>p(n,t))},patchExpiringTargetsForSegment(o,s,a,l,c){return i.patchExpiringTargetsForSegment(o,s,a,l,c).then(u=>u(n,t))},patchExpiringUserTargetsForSegment(o,s,a,l,c){return i.patchExpiringUserTargetsForSegment(o,s,a,l,c).then(u=>u(n,t))},patchSegment(o,s,a,l,c){return i.patchSegment(o,s,a,l,c).then(u=>u(n,t))},postSegment(o,s,a,l){return i.postSegment(o,s,a,l).then(c=>c(n,t))},updateBigSegmentContextTargets(o,s,a,l,c){return i.updateBigSegmentContextTargets(o,s,a,l,c).then(u=>u(n,t))},updateBigSegmentTargets(o,s,a,l,c){return i.updateBigSegmentTargets(o,s,a,l,c).then(u=>u(n,t))}}};ce.SegmentsApiFactory=fal;var xIr=class extends ft.BaseAPI{deleteSegment(t,n,i,o){return(0,ce.SegmentsApiFp)(this.configuration).deleteSegment(t,n,i,o).then(s=>s(this.axios,this.basePath))}getContextInstanceSegmentsMembershipByEnv(t,n,i,o){return(0,ce.SegmentsApiFp)(this.configuration).getContextInstanceSegmentsMembershipByEnv(t,n,i,o).then(s=>s(this.axios,this.basePath))}getExpiringTargetsForSegment(t,n,i,o){return(0,ce.SegmentsApiFp)(this.configuration).getExpiringTargetsForSegment(t,n,i,o).then(s=>s(this.axios,this.basePath))}getExpiringUserTargetsForSegment(t,n,i,o){return(0,ce.SegmentsApiFp)(this.configuration).getExpiringUserTargetsForSegment(t,n,i,o).then(s=>s(this.axios,this.basePath))}getSegment(t,n,i,o){return(0,ce.SegmentsApiFp)(this.configuration).getSegment(t,n,i,o).then(s=>s(this.axios,this.basePath))}getSegmentMembershipForContext(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).getSegmentMembershipForContext(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getSegmentMembershipForUser(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).getSegmentMembershipForUser(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getSegments(t,n,i,o,s,a,l){return(0,ce.SegmentsApiFp)(this.configuration).getSegments(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}patchExpiringTargetsForSegment(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).patchExpiringTargetsForSegment(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}patchExpiringUserTargetsForSegment(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).patchExpiringUserTargetsForSegment(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}patchSegment(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).patchSegment(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}postSegment(t,n,i,o){return(0,ce.SegmentsApiFp)(this.configuration).postSegment(t,n,i,o).then(s=>s(this.axios,this.basePath))}updateBigSegmentContextTargets(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).updateBigSegmentContextTargets(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}updateBigSegmentTargets(t,n,i,o,s){return(0,ce.SegmentsApiFp)(this.configuration).updateBigSegmentTargets(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.SegmentsApi=xIr;var Aal=function(r){return{createBigSegmentExport:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createBigSegmentExport","projectKey",t),(0,B.assertParamExists)("createBigSegmentExport","environmentKey",n),(0,B.assertParamExists)("createBigSegmentExport","segmentKey",i);let s="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/exports".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"POST"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),createBigSegmentImport:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createBigSegmentImport","projectKey",t),(0,B.assertParamExists)("createBigSegmentImport","environmentKey",n),(0,B.assertParamExists)("createBigSegmentImport","segmentKey",i);let l="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"POST"},u),a),p={},f={},A=new(r&&r.formDataCtor||FormData);yield(0,B.setApiKeyToObject)(p,"Authorization",r),o!==void 0&&A.append("file",o),s!==void 0&&A.append("mode",s),p["Content-Type"]="multipart/form-data",(0,B.setSearchParams)(c,f);let h=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),h),a.headers),d.data=A,{url:(0,B.toPathString)(c),options:d}}),getBigSegmentExport:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getBigSegmentExport","projectKey",t),(0,B.assertParamExists)("getBigSegmentExport","environmentKey",n),(0,B.assertParamExists)("getBigSegmentExport","segmentKey",i),(0,B.assertParamExists)("getBigSegmentExport","exportID",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/exports/{exportID}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))).replace("{exportID}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getBigSegmentImport:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getBigSegmentImport","projectKey",t),(0,B.assertParamExists)("getBigSegmentImport","environmentKey",n),(0,B.assertParamExists)("getBigSegmentImport","segmentKey",i),(0,B.assertParamExists)("getBigSegmentImport","importID",o);let a="/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/imports/{importID}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{segmentKey}",encodeURIComponent(String(i))).replace("{importID}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}})}};ce.SegmentsBetaApiAxiosParamCreator=Aal;var hal=function(r){let t=(0,ce.SegmentsBetaApiAxiosParamCreator)(r);return{createBigSegmentExport(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.createBigSegmentExport(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},createBigSegmentImport(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.createBigSegmentImport(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})},getBigSegmentExport(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getBigSegmentExport(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getBigSegmentImport(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getBigSegmentImport(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})}}};ce.SegmentsBetaApiFp=hal;var gal=function(r,t,n){let i=(0,ce.SegmentsBetaApiFp)(r);return{createBigSegmentExport(o,s,a,l){return i.createBigSegmentExport(o,s,a,l).then(c=>c(n,t))},createBigSegmentImport(o,s,a,l,c,u){return i.createBigSegmentImport(o,s,a,l,c,u).then(d=>d(n,t))},getBigSegmentExport(o,s,a,l,c){return i.getBigSegmentExport(o,s,a,l,c).then(u=>u(n,t))},getBigSegmentImport(o,s,a,l,c){return i.getBigSegmentImport(o,s,a,l,c).then(u=>u(n,t))}}};ce.SegmentsBetaApiFactory=gal;var DIr=class extends ft.BaseAPI{createBigSegmentExport(t,n,i,o){return(0,ce.SegmentsBetaApiFp)(this.configuration).createBigSegmentExport(t,n,i,o).then(s=>s(this.axios,this.basePath))}createBigSegmentImport(t,n,i,o,s,a){return(0,ce.SegmentsBetaApiFp)(this.configuration).createBigSegmentImport(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}getBigSegmentExport(t,n,i,o,s){return(0,ce.SegmentsBetaApiFp)(this.configuration).getBigSegmentExport(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getBigSegmentImport(t,n,i,o,s){return(0,ce.SegmentsBetaApiFp)(this.configuration).getBigSegmentImport(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.SegmentsBetaApi=DIr;var mal=function(r){return{getTags:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){let c="/api/v2/tags",u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"GET"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),t&&(A.kind=t),n!==void 0&&(A.pre=n),i!==void 0&&(A.archived=i),o!==void 0&&(A.limit=o),s!==void 0&&(A.offset=s),a!==void 0&&(A.asOf=a),(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),{url:(0,B.toPathString)(u),options:p}})}};ce.TagsApiAxiosParamCreator=mal;var yal=function(r){let t=(0,ce.TagsApiAxiosParamCreator)(r);return{getTags(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.getTags(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,ft.BASE_PATH,r)})}}};ce.TagsApiFp=yal;var Eal=function(r,t,n){let i=(0,ce.TagsApiFp)(r);return{getTags(o,s,a,l,c,u,d){return i.getTags(o,s,a,l,c,u,d).then(p=>p(n,t))}}};ce.TagsApiFactory=Eal;var NIr=class extends ft.BaseAPI{getTags(t,n,i,o,s,a,l){return(0,ce.TagsApiFp)(this.configuration).getTags(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}};ce.TagsApi=NIr;var bal=function(r){return{deleteTeam:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteTeam","teamKey",t);let i="/api/v2/teams/{teamKey}".replace("{teamKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getTeam:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getTeam","teamKey",t);let o="/api/v2/teams/{teamKey}".replace("{teamKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}}),getTeamMaintainers:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getTeamMaintainers","teamKey",t);let s="/api/v2/teams/{teamKey}/maintainers".replace("{teamKey}",encodeURIComponent(String(t))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),n!==void 0&&(d.limit=n),i!==void 0&&(d.offset=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getTeamRoles:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getTeamRoles","teamKey",t);let s="/api/v2/teams/{teamKey}/roles".replace("{teamKey}",encodeURIComponent(String(t))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),n!==void 0&&(d.limit=n),i!==void 0&&(d.offset=i),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getTeams:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){let a="/api/v2/teams",l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),t!==void 0&&(p.limit=t),n!==void 0&&(p.offset=n),i!==void 0&&(p.filter=i),o!==void 0&&(p.expand=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),patchTeam:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchTeam","teamKey",t),(0,B.assertParamExists)("patchTeam","teamPatchInput",n);let s="/api/v2/teams/{teamKey}".replace("{teamKey}",encodeURIComponent(String(t))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"PATCH"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),i!==void 0&&(d.expand=i),u["Content-Type"]="application/json",(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),c.data=(0,B.serializeDataIfNeeded)(n,c,r),{url:(0,B.toPathString)(a),options:c}}),postTeam:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postTeam","teamPostInput",t);let o="/api/v2/teams",s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&(u.expand=n),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(t,l,r),{url:(0,B.toPathString)(s),options:l}}),postTeamMembers:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postTeamMembers","teamKey",t);let o="/api/v2/teams/{teamKey}/members".replace("{teamKey}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"POST"},a),i),c={},u={},d=new(r&&r.formDataCtor||FormData);yield(0,B.setApiKeyToObject)(c,"Authorization",r),n!==void 0&&d.append("file",n),c["Content-Type"]="multipart/form-data",(0,B.setSearchParams)(s,u);let p=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),p),i.headers),l.data=d,{url:(0,B.toPathString)(s),options:l}})}};ce.TeamsApiAxiosParamCreator=bal;var Cal=function(r){let t=(0,ce.TeamsApiAxiosParamCreator)(r);return{deleteTeam(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteTeam(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getTeam(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getTeam(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},getTeamMaintainers(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getTeamMaintainers(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getTeamRoles(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getTeamRoles(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getTeams(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getTeams(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},patchTeam(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.patchTeam(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},postTeam(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postTeam(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},postTeamMembers(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.postTeamMembers(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})}}};ce.TeamsApiFp=Cal;var Ial=function(r,t,n){let i=(0,ce.TeamsApiFp)(r);return{deleteTeam(o,s){return i.deleteTeam(o,s).then(a=>a(n,t))},getTeam(o,s,a){return i.getTeam(o,s,a).then(l=>l(n,t))},getTeamMaintainers(o,s,a,l){return i.getTeamMaintainers(o,s,a,l).then(c=>c(n,t))},getTeamRoles(o,s,a,l){return i.getTeamRoles(o,s,a,l).then(c=>c(n,t))},getTeams(o,s,a,l,c){return i.getTeams(o,s,a,l,c).then(u=>u(n,t))},patchTeam(o,s,a,l){return i.patchTeam(o,s,a,l).then(c=>c(n,t))},postTeam(o,s,a){return i.postTeam(o,s,a).then(l=>l(n,t))},postTeamMembers(o,s,a){return i.postTeamMembers(o,s,a).then(l=>l(n,t))}}};ce.TeamsApiFactory=Ial;var PIr=class extends ft.BaseAPI{deleteTeam(t,n){return(0,ce.TeamsApiFp)(this.configuration).deleteTeam(t,n).then(i=>i(this.axios,this.basePath))}getTeam(t,n,i){return(0,ce.TeamsApiFp)(this.configuration).getTeam(t,n,i).then(o=>o(this.axios,this.basePath))}getTeamMaintainers(t,n,i,o){return(0,ce.TeamsApiFp)(this.configuration).getTeamMaintainers(t,n,i,o).then(s=>s(this.axios,this.basePath))}getTeamRoles(t,n,i,o){return(0,ce.TeamsApiFp)(this.configuration).getTeamRoles(t,n,i,o).then(s=>s(this.axios,this.basePath))}getTeams(t,n,i,o,s){return(0,ce.TeamsApiFp)(this.configuration).getTeams(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}patchTeam(t,n,i,o){return(0,ce.TeamsApiFp)(this.configuration).patchTeam(t,n,i,o).then(s=>s(this.axios,this.basePath))}postTeam(t,n,i){return(0,ce.TeamsApiFp)(this.configuration).postTeam(t,n,i).then(o=>o(this.axios,this.basePath))}postTeamMembers(t,n,i){return(0,ce.TeamsApiFp)(this.configuration).postTeamMembers(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.TeamsApi=PIr;var Sal=function(r){return{patchTeams:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchTeams","teamsPatchInput",t);let i="/api/v2/teams",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"PATCH"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}})}};ce.TeamsBetaApiAxiosParamCreator=Sal;var Tal=function(r){let t=(0,ce.TeamsBetaApiAxiosParamCreator)(r);return{patchTeams(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.patchTeams(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})}}};ce.TeamsBetaApiFp=Tal;var Oal=function(r,t,n){let i=(0,ce.TeamsBetaApiFp)(r);return{patchTeams(o,s){return i.patchTeams(o,s).then(a=>a(n,t))}}};ce.TeamsBetaApiFactory=Oal;var kIr=class extends ft.BaseAPI{patchTeams(t,n){return(0,ce.TeamsBetaApiFp)(this.configuration).patchTeams(t,n).then(i=>i(this.axios,this.basePath))}};ce.TeamsBetaApi=kIr;var _al=function(r){return{getExpiringFlagsForUser:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getExpiringFlagsForUser","projectKey",t),(0,B.assertParamExists)("getExpiringFlagsForUser","userKey",n),(0,B.assertParamExists)("getExpiringFlagsForUser","environmentKey",i);let s="/api/v2/users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{userKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getUserFlagSetting:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getUserFlagSetting","projectKey",t),(0,B.assertParamExists)("getUserFlagSetting","environmentKey",n),(0,B.assertParamExists)("getUserFlagSetting","userKey",i),(0,B.assertParamExists)("getUserFlagSetting","featureFlagKey",o);let a="/api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{userKey}",encodeURIComponent(String(i))).replace("{featureFlagKey}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getUserFlagSettings:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getUserFlagSettings","projectKey",t),(0,B.assertParamExists)("getUserFlagSettings","environmentKey",n),(0,B.assertParamExists)("getUserFlagSettings","userKey",i);let s="/api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{userKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),patchExpiringFlagsForUser:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchExpiringFlagsForUser","projectKey",t),(0,B.assertParamExists)("patchExpiringFlagsForUser","userKey",n),(0,B.assertParamExists)("patchExpiringFlagsForUser","environmentKey",i),(0,B.assertParamExists)("patchExpiringFlagsForUser","patchUsersRequest",o);let a="/api/v2/users/{projectKey}/{userKey}/expiring-user-targets/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{userKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"PATCH"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),d["Content-Type"]="application/json",(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),u.data=(0,B.serializeDataIfNeeded)(o,u,r),{url:(0,B.toPathString)(l),options:u}}),putFlagSetting:(t,n,i,o,s,a={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("putFlagSetting","projectKey",t),(0,B.assertParamExists)("putFlagSetting","environmentKey",n),(0,B.assertParamExists)("putFlagSetting","userKey",i),(0,B.assertParamExists)("putFlagSetting","featureFlagKey",o),(0,B.assertParamExists)("putFlagSetting","valuePut",s);let l="/api/v2/users/{projectKey}/{environmentKey}/{userKey}/flags/{featureFlagKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{userKey}",encodeURIComponent(String(i))).replace("{featureFlagKey}",encodeURIComponent(String(o))),c=new URL(l,B.DUMMY_BASE_URL),u;r&&(u=r.baseOptions);let d=Object.assign(Object.assign({method:"PUT"},u),a),p={},f={};yield(0,B.setApiKeyToObject)(p,"Authorization",r),p["Content-Type"]="application/json",(0,B.setSearchParams)(c,f);let A=u&&u.headers?u.headers:{};return d.headers=Object.assign(Object.assign(Object.assign({},p),A),a.headers),d.data=(0,B.serializeDataIfNeeded)(s,d,r),{url:(0,B.toPathString)(c),options:d}})}};ce.UserSettingsApiAxiosParamCreator=_al;var Ral=function(r){let t=(0,ce.UserSettingsApiAxiosParamCreator)(r);return{getExpiringFlagsForUser(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getExpiringFlagsForUser(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getUserFlagSetting(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getUserFlagSetting(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getUserFlagSettings(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getUserFlagSettings(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},patchExpiringFlagsForUser(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.patchExpiringFlagsForUser(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},putFlagSetting(n,i,o,s,a,l){return Pe(this,void 0,void 0,function*(){let c=yield t.putFlagSetting(n,i,o,s,a,l);return(0,B.createRequestFunction)(c,It.default,ft.BASE_PATH,r)})}}};ce.UserSettingsApiFp=Ral;var wal=function(r,t,n){let i=(0,ce.UserSettingsApiFp)(r);return{getExpiringFlagsForUser(o,s,a,l){return i.getExpiringFlagsForUser(o,s,a,l).then(c=>c(n,t))},getUserFlagSetting(o,s,a,l,c){return i.getUserFlagSetting(o,s,a,l,c).then(u=>u(n,t))},getUserFlagSettings(o,s,a,l){return i.getUserFlagSettings(o,s,a,l).then(c=>c(n,t))},patchExpiringFlagsForUser(o,s,a,l,c){return i.patchExpiringFlagsForUser(o,s,a,l,c).then(u=>u(n,t))},putFlagSetting(o,s,a,l,c,u){return i.putFlagSetting(o,s,a,l,c,u).then(d=>d(n,t))}}};ce.UserSettingsApiFactory=wal;var LIr=class extends ft.BaseAPI{getExpiringFlagsForUser(t,n,i,o){return(0,ce.UserSettingsApiFp)(this.configuration).getExpiringFlagsForUser(t,n,i,o).then(s=>s(this.axios,this.basePath))}getUserFlagSetting(t,n,i,o,s){return(0,ce.UserSettingsApiFp)(this.configuration).getUserFlagSetting(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getUserFlagSettings(t,n,i,o){return(0,ce.UserSettingsApiFp)(this.configuration).getUserFlagSettings(t,n,i,o).then(s=>s(this.axios,this.basePath))}patchExpiringFlagsForUser(t,n,i,o,s){return(0,ce.UserSettingsApiFp)(this.configuration).patchExpiringFlagsForUser(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}putFlagSetting(t,n,i,o,s,a){return(0,ce.UserSettingsApiFp)(this.configuration).putFlagSetting(t,n,i,o,s,a).then(l=>l(this.axios,this.basePath))}};ce.UserSettingsApi=LIr;var Bal=function(r){return{deleteUser:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteUser","projectKey",t),(0,B.assertParamExists)("deleteUser","environmentKey",n),(0,B.assertParamExists)("deleteUser","userKey",i);let s="/api/v2/users/{projectKey}/{environmentKey}/{userKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{userKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"DELETE"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getSearchUsers:(t,n,i,o,s,a,l,c,u,d={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getSearchUsers","projectKey",t),(0,B.assertParamExists)("getSearchUsers","environmentKey",n);let p="/api/v2/user-search/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),f=new URL(p,B.DUMMY_BASE_URL),A;r&&(A=r.baseOptions);let h=Object.assign(Object.assign({method:"GET"},A),d),y={},C={};yield(0,B.setApiKeyToObject)(y,"Authorization",r),i!==void 0&&(C.q=i),o!==void 0&&(C.limit=o),s!==void 0&&(C.offset=s),a!==void 0&&(C.after=a),l!==void 0&&(C.sort=l),c!==void 0&&(C.searchAfter=c),u!==void 0&&(C.filter=u),(0,B.setSearchParams)(f,C);let v=A&&A.headers?A.headers:{};return h.headers=Object.assign(Object.assign(Object.assign({},y),v),d.headers),{url:(0,B.toPathString)(f),options:h}}),getUser:(t,n,i,o={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getUser","projectKey",t),(0,B.assertParamExists)("getUser","environmentKey",n),(0,B.assertParamExists)("getUser","userKey",i);let s="/api/v2/users/{projectKey}/{environmentKey}/{userKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))).replace("{userKey}",encodeURIComponent(String(i))),a=new URL(s,B.DUMMY_BASE_URL),l;r&&(l=r.baseOptions);let c=Object.assign(Object.assign({method:"GET"},l),o),u={},d={};yield(0,B.setApiKeyToObject)(u,"Authorization",r),(0,B.setSearchParams)(a,d);let p=l&&l.headers?l.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},u),p),o.headers),{url:(0,B.toPathString)(a),options:c}}),getUsers:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getUsers","projectKey",t),(0,B.assertParamExists)("getUsers","environmentKey",n);let a="/api/v2/users/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),i!==void 0&&(p.limit=i),o!==void 0&&(p.searchAfter=o),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}})}};ce.UsersApiAxiosParamCreator=Bal;var Mal=function(r){let t=(0,ce.UsersApiAxiosParamCreator)(r);return{deleteUser(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.deleteUser(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getSearchUsers(n,i,o,s,a,l,c,u,d,p){return Pe(this,void 0,void 0,function*(){let f=yield t.getSearchUsers(n,i,o,s,a,l,c,u,d,p);return(0,B.createRequestFunction)(f,It.default,ft.BASE_PATH,r)})},getUser(n,i,o,s){return Pe(this,void 0,void 0,function*(){let a=yield t.getUser(n,i,o,s);return(0,B.createRequestFunction)(a,It.default,ft.BASE_PATH,r)})},getUsers(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getUsers(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})}}};ce.UsersApiFp=Mal;var xal=function(r,t,n){let i=(0,ce.UsersApiFp)(r);return{deleteUser(o,s,a,l){return i.deleteUser(o,s,a,l).then(c=>c(n,t))},getSearchUsers(o,s,a,l,c,u,d,p,f,A){return i.getSearchUsers(o,s,a,l,c,u,d,p,f,A).then(h=>h(n,t))},getUser(o,s,a,l){return i.getUser(o,s,a,l).then(c=>c(n,t))},getUsers(o,s,a,l,c){return i.getUsers(o,s,a,l,c).then(u=>u(n,t))}}};ce.UsersApiFactory=xal;var QIr=class extends ft.BaseAPI{deleteUser(t,n,i,o){return(0,ce.UsersApiFp)(this.configuration).deleteUser(t,n,i,o).then(s=>s(this.axios,this.basePath))}getSearchUsers(t,n,i,o,s,a,l,c,u,d){return(0,ce.UsersApiFp)(this.configuration).getSearchUsers(t,n,i,o,s,a,l,c,u,d).then(p=>p(this.axios,this.basePath))}getUser(t,n,i,o){return(0,ce.UsersApiFp)(this.configuration).getUser(t,n,i,o).then(s=>s(this.axios,this.basePath))}getUsers(t,n,i,o,s){return(0,ce.UsersApiFp)(this.configuration).getUsers(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}};ce.UsersApi=QIr;var Dal=function(r){return{getUserAttributeNames:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getUserAttributeNames","projectKey",t),(0,B.assertParamExists)("getUserAttributeNames","environmentKey",n);let o="/api/v2/user-attributes/{projectKey}/{environmentKey}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{environmentKey}",encodeURIComponent(String(n))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}})}};ce.UsersBetaApiAxiosParamCreator=Dal;var Nal=function(r){let t=(0,ce.UsersBetaApiAxiosParamCreator)(r);return{getUserAttributeNames(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getUserAttributeNames(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})}}};ce.UsersBetaApiFp=Nal;var Pal=function(r,t,n){let i=(0,ce.UsersBetaApiFp)(r);return{getUserAttributeNames(o,s,a){return i.getUserAttributeNames(o,s,a).then(l=>l(n,t))}}};ce.UsersBetaApiFactory=Pal;var FIr=class extends ft.BaseAPI{getUserAttributeNames(t,n,i){return(0,ce.UsersBetaApiFp)(this.configuration).getUserAttributeNames(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.UsersBetaApi=FIr;var kal=function(r){return{deleteWebhook:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteWebhook","id",t);let i="/api/v2/webhooks/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getAllWebhooks:(t={})=>Pe(this,void 0,void 0,function*(){let n="/api/v2/webhooks",i=new URL(n,B.DUMMY_BASE_URL),o;r&&(o=r.baseOptions);let s=Object.assign(Object.assign({method:"GET"},o),t),a={},l={};yield(0,B.setApiKeyToObject)(a,"Authorization",r),(0,B.setSearchParams)(i,l);let c=o&&o.headers?o.headers:{};return s.headers=Object.assign(Object.assign(Object.assign({},a),c),t.headers),{url:(0,B.toPathString)(i),options:s}}),getWebhook:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getWebhook","id",t);let i="/api/v2/webhooks/{id}".replace("{id}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"GET"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),patchWebhook:(t,n,i={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("patchWebhook","id",t),(0,B.assertParamExists)("patchWebhook","patchOperation",n);let o="/api/v2/webhooks/{id}".replace("{id}",encodeURIComponent(String(t))),s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"PATCH"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),c["Content-Type"]="application/json",(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),l.data=(0,B.serializeDataIfNeeded)(n,l,r),{url:(0,B.toPathString)(s),options:l}}),postWebhook:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postWebhook","webhookPost",t);let i="/api/v2/webhooks",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}})}};ce.WebhooksApiAxiosParamCreator=kal;var Lal=function(r){let t=(0,ce.WebhooksApiAxiosParamCreator)(r);return{deleteWebhook(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteWebhook(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getAllWebhooks(n){return Pe(this,void 0,void 0,function*(){let i=yield t.getAllWebhooks(n);return(0,B.createRequestFunction)(i,It.default,ft.BASE_PATH,r)})},getWebhook(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.getWebhook(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},patchWebhook(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.patchWebhook(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})},postWebhook(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.postWebhook(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})}}};ce.WebhooksApiFp=Lal;var Qal=function(r,t,n){let i=(0,ce.WebhooksApiFp)(r);return{deleteWebhook(o,s){return i.deleteWebhook(o,s).then(a=>a(n,t))},getAllWebhooks(o){return i.getAllWebhooks(o).then(s=>s(n,t))},getWebhook(o,s){return i.getWebhook(o,s).then(a=>a(n,t))},patchWebhook(o,s,a){return i.patchWebhook(o,s,a).then(l=>l(n,t))},postWebhook(o,s){return i.postWebhook(o,s).then(a=>a(n,t))}}};ce.WebhooksApiFactory=Qal;var qIr=class extends ft.BaseAPI{deleteWebhook(t,n){return(0,ce.WebhooksApiFp)(this.configuration).deleteWebhook(t,n).then(i=>i(this.axios,this.basePath))}getAllWebhooks(t){return(0,ce.WebhooksApiFp)(this.configuration).getAllWebhooks(t).then(n=>n(this.axios,this.basePath))}getWebhook(t,n){return(0,ce.WebhooksApiFp)(this.configuration).getWebhook(t,n).then(i=>i(this.axios,this.basePath))}patchWebhook(t,n,i){return(0,ce.WebhooksApiFp)(this.configuration).patchWebhook(t,n,i).then(o=>o(this.axios,this.basePath))}postWebhook(t,n){return(0,ce.WebhooksApiFp)(this.configuration).postWebhook(t,n).then(i=>i(this.axios,this.basePath))}};ce.WebhooksApi=qIr;var Fal=function(r){return{createWorkflowTemplate:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("createWorkflowTemplate","createWorkflowTemplateInput",t);let i="/api/v2/templates",o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"POST"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),l["Content-Type"]="application/json",(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),a.data=(0,B.serializeDataIfNeeded)(t,a,r),{url:(0,B.toPathString)(o),options:a}}),deleteWorkflowTemplate:(t,n={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteWorkflowTemplate","templateKey",t);let i="/api/v2/templates/{templateKey}".replace("{templateKey}",encodeURIComponent(String(t))),o=new URL(i,B.DUMMY_BASE_URL),s;r&&(s=r.baseOptions);let a=Object.assign(Object.assign({method:"DELETE"},s),n),l={},c={};yield(0,B.setApiKeyToObject)(l,"Authorization",r),(0,B.setSearchParams)(o,c);let u=s&&s.headers?s.headers:{};return a.headers=Object.assign(Object.assign(Object.assign({},l),u),n.headers),{url:(0,B.toPathString)(o),options:a}}),getWorkflowTemplates:(t,n,i={})=>Pe(this,void 0,void 0,function*(){let o="/api/v2/templates",s=new URL(o,B.DUMMY_BASE_URL),a;r&&(a=r.baseOptions);let l=Object.assign(Object.assign({method:"GET"},a),i),c={},u={};yield(0,B.setApiKeyToObject)(c,"Authorization",r),t!==void 0&&(u.summary=t),n!==void 0&&(u.search=n),(0,B.setSearchParams)(s,u);let d=a&&a.headers?a.headers:{};return l.headers=Object.assign(Object.assign(Object.assign({},c),d),i.headers),{url:(0,B.toPathString)(s),options:l}})}};ce.WorkflowTemplatesApiAxiosParamCreator=Fal;var qal=function(r){let t=(0,ce.WorkflowTemplatesApiAxiosParamCreator)(r);return{createWorkflowTemplate(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.createWorkflowTemplate(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},deleteWorkflowTemplate(n,i){return Pe(this,void 0,void 0,function*(){let o=yield t.deleteWorkflowTemplate(n,i);return(0,B.createRequestFunction)(o,It.default,ft.BASE_PATH,r)})},getWorkflowTemplates(n,i,o){return Pe(this,void 0,void 0,function*(){let s=yield t.getWorkflowTemplates(n,i,o);return(0,B.createRequestFunction)(s,It.default,ft.BASE_PATH,r)})}}};ce.WorkflowTemplatesApiFp=qal;var zal=function(r,t,n){let i=(0,ce.WorkflowTemplatesApiFp)(r);return{createWorkflowTemplate(o,s){return i.createWorkflowTemplate(o,s).then(a=>a(n,t))},deleteWorkflowTemplate(o,s){return i.deleteWorkflowTemplate(o,s).then(a=>a(n,t))},getWorkflowTemplates(o,s,a){return i.getWorkflowTemplates(o,s,a).then(l=>l(n,t))}}};ce.WorkflowTemplatesApiFactory=zal;var zIr=class extends ft.BaseAPI{createWorkflowTemplate(t,n){return(0,ce.WorkflowTemplatesApiFp)(this.configuration).createWorkflowTemplate(t,n).then(i=>i(this.axios,this.basePath))}deleteWorkflowTemplate(t,n){return(0,ce.WorkflowTemplatesApiFp)(this.configuration).deleteWorkflowTemplate(t,n).then(i=>i(this.axios,this.basePath))}getWorkflowTemplates(t,n,i){return(0,ce.WorkflowTemplatesApiFp)(this.configuration).getWorkflowTemplates(t,n,i).then(o=>o(this.axios,this.basePath))}};ce.WorkflowTemplatesApi=zIr;var Ual=function(r){return{deleteWorkflow:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("deleteWorkflow","projectKey",t),(0,B.assertParamExists)("deleteWorkflow","featureFlagKey",n),(0,B.assertParamExists)("deleteWorkflow","environmentKey",i),(0,B.assertParamExists)("deleteWorkflow","workflowId",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{workflowId}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"DELETE"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getCustomWorkflow:(t,n,i,o,s={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getCustomWorkflow","projectKey",t),(0,B.assertParamExists)("getCustomWorkflow","featureFlagKey",n),(0,B.assertParamExists)("getCustomWorkflow","environmentKey",i),(0,B.assertParamExists)("getCustomWorkflow","workflowId",o);let a="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows/{workflowId}".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))).replace("{workflowId}",encodeURIComponent(String(o))),l=new URL(a,B.DUMMY_BASE_URL),c;r&&(c=r.baseOptions);let u=Object.assign(Object.assign({method:"GET"},c),s),d={},p={};yield(0,B.setApiKeyToObject)(d,"Authorization",r),(0,B.setSearchParams)(l,p);let f=c&&c.headers?c.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},d),f),s.headers),{url:(0,B.toPathString)(l),options:u}}),getWorkflows:(t,n,i,o,s,a,l,c={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("getWorkflows","projectKey",t),(0,B.assertParamExists)("getWorkflows","featureFlagKey",n),(0,B.assertParamExists)("getWorkflows","environmentKey",i);let u="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),d=new URL(u,B.DUMMY_BASE_URL),p;r&&(p=r.baseOptions);let f=Object.assign(Object.assign({method:"GET"},p),c),A={},h={};yield(0,B.setApiKeyToObject)(A,"Authorization",r),o!==void 0&&(h.status=o),s!==void 0&&(h.sort=s),a!==void 0&&(h.limit=a),l!==void 0&&(h.offset=l),(0,B.setSearchParams)(d,h);let y=p&&p.headers?p.headers:{};return f.headers=Object.assign(Object.assign(Object.assign({},A),y),c.headers),{url:(0,B.toPathString)(d),options:f}}),postWorkflow:(t,n,i,o,s,a,l={})=>Pe(this,void 0,void 0,function*(){(0,B.assertParamExists)("postWorkflow","projectKey",t),(0,B.assertParamExists)("postWorkflow","featureFlagKey",n),(0,B.assertParamExists)("postWorkflow","environmentKey",i),(0,B.assertParamExists)("postWorkflow","customWorkflowInput",o);let c="/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/workflows".replace("{projectKey}",encodeURIComponent(String(t))).replace("{featureFlagKey}",encodeURIComponent(String(n))).replace("{environmentKey}",encodeURIComponent(String(i))),u=new URL(c,B.DUMMY_BASE_URL),d;r&&(d=r.baseOptions);let p=Object.assign(Object.assign({method:"POST"},d),l),f={},A={};yield(0,B.setApiKeyToObject)(f,"Authorization",r),s!==void 0&&(A.templateKey=s),a!==void 0&&(A.dryRun=a),f["Content-Type"]="application/json",(0,B.setSearchParams)(u,A);let h=d&&d.headers?d.headers:{};return p.headers=Object.assign(Object.assign(Object.assign({},f),h),l.headers),p.data=(0,B.serializeDataIfNeeded)(o,p,r),{url:(0,B.toPathString)(u),options:p}})}};ce.WorkflowsApiAxiosParamCreator=Ual;var jal=function(r){let t=(0,ce.WorkflowsApiAxiosParamCreator)(r);return{deleteWorkflow(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.deleteWorkflow(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getCustomWorkflow(n,i,o,s,a){return Pe(this,void 0,void 0,function*(){let l=yield t.getCustomWorkflow(n,i,o,s,a);return(0,B.createRequestFunction)(l,It.default,ft.BASE_PATH,r)})},getWorkflows(n,i,o,s,a,l,c,u){return Pe(this,void 0,void 0,function*(){let d=yield t.getWorkflows(n,i,o,s,a,l,c,u);return(0,B.createRequestFunction)(d,It.default,ft.BASE_PATH,r)})},postWorkflow(n,i,o,s,a,l,c){return Pe(this,void 0,void 0,function*(){let u=yield t.postWorkflow(n,i,o,s,a,l,c);return(0,B.createRequestFunction)(u,It.default,ft.BASE_PATH,r)})}}};ce.WorkflowsApiFp=jal;var Gal=function(r,t,n){let i=(0,ce.WorkflowsApiFp)(r);return{deleteWorkflow(o,s,a,l,c){return i.deleteWorkflow(o,s,a,l,c).then(u=>u(n,t))},getCustomWorkflow(o,s,a,l,c){return i.getCustomWorkflow(o,s,a,l,c).then(u=>u(n,t))},getWorkflows(o,s,a,l,c,u,d,p){return i.getWorkflows(o,s,a,l,c,u,d,p).then(f=>f(n,t))},postWorkflow(o,s,a,l,c,u,d){return i.postWorkflow(o,s,a,l,c,u,d).then(p=>p(n,t))}}};ce.WorkflowsApiFactory=Gal;var UIr=class extends ft.BaseAPI{deleteWorkflow(t,n,i,o,s){return(0,ce.WorkflowsApiFp)(this.configuration).deleteWorkflow(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getCustomWorkflow(t,n,i,o,s){return(0,ce.WorkflowsApiFp)(this.configuration).getCustomWorkflow(t,n,i,o,s).then(a=>a(this.axios,this.basePath))}getWorkflows(t,n,i,o,s,a,l,c){return(0,ce.WorkflowsApiFp)(this.configuration).getWorkflows(t,n,i,o,s,a,l,c).then(u=>u(this.axios,this.basePath))}postWorkflow(t,n,i,o,s,a,l){return(0,ce.WorkflowsApiFp)(this.configuration).postWorkflow(t,n,i,o,s,a,l).then(c=>c(this.axios,this.basePath))}};ce.WorkflowsApi=UIr});var xfi=I(o2t=>{"use strict";Object.defineProperty(o2t,"__esModule",{value:!0});o2t.Configuration=void 0;var jIr=class{constructor(t={}){this.apiKey=t.apiKey,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.baseOptions=t.baseOptions,this.formDataCtor=t.formDataCtor}isJsonMime(t){let n=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return t!==null&&(n.test(t)||t.toLowerCase()==="application/json-patch+json")}};o2t.Configuration=jIr});var Nfi=I(PY=>{"use strict";var Wal=PY&&PY.__createBinding||(Object.create?function(r,t,n,i){i===void 0&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(r,i,o)}:function(r,t,n,i){i===void 0&&(i=n),r[i]=t[n]}),Dfi=PY&&PY.__exportStar||function(r,t){for(var n in r)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&Wal(t,r,n)};Object.defineProperty(PY,"__esModule",{value:!0});Dfi(Mfi(),PY);Dfi(xfi(),PY)});var s2t,kfi,Pfi,a2t,Hal,GIr,WIr,Lfi=Et(()=>{"use strict";s2t=Ct(Nfi()),kfi=Ct(as());OY();kr();Fmt();Qmt();Pfi="default",a2t=r=>{let t={kind:"multi"};return r.user&&(t.user={key:r.user.id,name:r.user.name,anonymous:r.user.id===Lmt.user.id}),r.org&&(t.organization={key:r.org.id,name:r.org.name}),t},Hal=r=>{switch(r){case"org":return"organization";case"user":return"user";default:throw new bt(`Unsupported feature flags context kind '${r}'`)}},GIr=async(r,t,n,i,o,s)=>{let a=process.env.LAUNCHDARKLY_API_KEY;mb(!!a,"Missing LAUNCHDARKLY_API_KEY environment variable",o);let l=process.env.LAUNCHDARKLY_ENVIRONMENT;mb(!!l,"Missing LAUNCHDARKLY_ENVIRONMENT environment variable",o),s||(s=new s2t.FeatureFlagsApi(new s2t.Configuration({apiKey:a})));let c=Hal(r),{data:u}=await s.getFeatureFlag(Pfi,n,l),d=u.variations.findIndex(h=>(0,kfi.isEqual)(h.value,i));if(d<0)throw new bt(`No LaunchDarkly variation found for flag '${n}' value '${i}'`);let p=u.variations[d]._id,f=u.environments[l]?.contextTargets?.find(h=>h.contextKind===c&&h.values.includes(t))?.variation??-1,A=f>=0?u.variations[f]._id:void 0;if(o.info(`Setting LaunchDarkly feature flag '${n}' to '${i}' for ${r} '${t}' in environment ${l}`),f!==d){let h=[{kind:"addTargets",contextKind:c,values:[t],variationId:p}];A&&h.unshift({kind:"removeTargets",contextKind:c,values:[t],variationId:A}),await s.patchFeatureFlag(Pfi,n,{comment:"Updating target via automation",environmentKey:l,instructions:h},!1,{headers:{"Content-Type":"application/json; domain-model=launchdarkly.semanticpatch"}})}},WIr=r=>Object.keys(r).reduce((t,n)=>(q2[n]&&!q2[n].isLegacyOrgFlag&&(t[n]=r[n]),t),{})});var HIr,oue,VIr,Qfi=Et(()=>{"use strict";oue=()=>(HIr||(HIr=new VIr),HIr),VIr=class{listeners=new Set;flags=new Map;listen(t){return this.listeners.add(t),()=>this.listeners.delete(t)}async setFlag(t,n,i,o){let s=`${t}:${n}`,a=this.flags.get(s);a||(a={},this.flags.set(s,a));let l=a[i];if(a[i]=o,l!==o)for(let c of this.listeners)c(t,n,i,l,o)}getFlags(t){let n={};for(let i in t){let o=t[i].id,s=this.flags.get(`${i}:${o}`);s&&(n={...n,...s})}return n}async clear(){this.flags=new Map,this.listeners=new Set}}});var YIr,l2t,Ffi=Et(()=>{"use strict";OY();wht();Qbr();Qfi();YIr=class{constructor(t){this.logger=t}async initialize(t){}get isInitialized(){return!0}async identify(t){return new Rz(oue().getFlags(t),this.logger)}async close(){}setTestFlag(t,n,i,o){return oue().setFlag(t,n,i,o)}},l2t=class extends YIr{listeners=new Set;_context;flags;constructor(t){super(t),this.flags=new U9(this.logger,()=>oue().getFlags(this.currentContext),n=>oue().getFlags(this.currentContext)[n]),oue().listen(this.onFlagChange.bind(this))}async initialize(t){await super.initialize(t),this._context=t.context}get isInitialized(){return!!this._context}get currentContext(){return mb(!!this._context,"MockFeatureFlagsClientService is not initialized",this.logger),this._context}get currentFlags(){return this.flags}onChange(t){return this.listeners.add(t),()=>this.listeners.delete(t)}async identify(t){let n=oue(),i=n.getFlags(this.currentContext);this._context=t;let o=n.getFlags(t),s={},a=new Set([...Object.keys(o),...Object.keys(i)]);for(let c of a){let u=o[c],d=i[c];u!==d&&(s[c]={current:u,previous:d})}let l=RE();return await setTimeout(()=>{this.notifyListeners(s),l.resolve(this.flags)}),l.promise}notifyListeners(t){for(let n of this.listeners)n(t)}onFlagChange(t,n,i,o,s){this.currentContext[t]?.id===n&&this.notifyListeners({[i]:{current:s,previous:o}})}}});var sue=Et(()=>{"use strict";Qmt();jpi();Fmt();Qbr();Lfi();Ffi()});var Lzd,KIr,XIr,JIr,qfi,G2,wz=Et(()=>{"use strict";Tn();Lbr();sue();Lzd=R.object({orgID:Pmt.optional(),userID:kmt.optional(),requestID:R.string().optional()}),XIr=()=>(KIr||(KIr={logContext:{},featureFlags:new Rz({})}),KIr),JIr=XIr,qfi=r=>{let t=JIr;return JIr=r,t},G2=()=>JIr()});var zfi,Ufi,jfi=Et(()=>{"use strict";zfi=()=>{let r=new WeakSet;return(t,n)=>{if(typeof n=="object"&&n!==null){if(r.has(n))return;r.add(n)}return n}},Ufi=r=>{switch(typeof r){case"object":if(r===null)return"null";try{switch(r?.constructor?.name){case"Object":case"Array":return JSON.stringify(r,zfi());case"Set":return JSON.stringify(Array.from(r),zfi());case"Error":{let t=r.toString();try{let n=JSON.stringify(r);n!=="{}"&&(t=n)}catch{}return t}case"Null":return"null";case"Function":case"RegExp":return r.toString();case"Date":return r.toDateString();case"ReferenceError":case"TypeError":case"SyntaxError":case"JestAssertionError":return r.toString();case void 0:default:return`attempting to stringify object w/ constructor: ${r?.constructor?.name}; ${JSON.stringify(r)}`}}catch(t){return`Error converting object to string: ${t}`}case"undefined":return typeof r;case"bigint":case"number":case"symbol":return r.toString();case"boolean":return String(r);case"string":return r;default:return"Can't convert arg to string"}}});var $Ir,tvr,u2t,Tm,j9,Gfi,Wfi,rvr,Val,ZIr,evr,Hfi,Yal,Kal,Vfi,Yfi,nvr,c0,Ng=Et(()=>{"use strict";$Ir=Ct(qui()),tvr=Ct(vz()),u2t=Ct(as()),Tm=Ct(Zle());Tn();wz();jfi();j9=r=>(0,u2t.cloneDeepWith)(r,(t,n)=>{if(typeof t=="string"&&typeof n=="string"&&n.match(/(password|token|keypair)/i))return"<REDACTED>"}),Gfi={emerg:"error",alert:"error",crit:"error",error:"error",warn:"warn",notice:"info",info:"info",debug:"debug"},Wfi=Tm.default.format((r,t)=>({...r,...G2().logContext})),rvr=R.object({NODE_ENV:R.string().default("development"),LOG_LEVEL:R.string().default("info"),REACT_APP_COALESCE_VERSION:R.string().default(""),HOSTNAME:R.string().default("").optional(),RUNTIME_ENVIRONMENT:R.string().default("").optional()}),Val=(r,t)=>({host:"http-intake.logs.datadoghq.com",path:`/v1/input/pub04bd017317b60c96b62874179d82ff97?ddtags=env:${t.NODE_ENV},coalesceSoftwareVersion:${t.REACT_APP_COALESCE_VERSION}&ddsource=nodejs&service=${r}`,ssl:!0}),ZIr=class extends tvr.default{constructor(t){super(t)}log(t,n){$Ir.datadogLogs.logger&&$Ir.datadogLogs.logger.log(t,{},Gfi[t.level]??"info"),n()}},evr=class extends tvr.default{httpTransport;constructor(t,n){super(n),this.httpTransport=t}log(t,n){this.httpTransport.log?.({...t,level:t.level,status:Gfi[t.level]},n)}},Hfi=(r,t)=>Tm.default.createLogger({levels:Tm.default.config.syslog.levels,level:t.LOG_LEVEL,format:Tm.default.format.combine(Tm.default.format.timestamp(),Wfi(),Tm.default.format.json()),defaultMeta:{service:r,category:"global",coalescesoftwareversion:t.REACT_APP_COALESCE_VERSION,hostname:t.HOSTNAME,env:t.RUNTIME_ENVIRONMENT},transports:[new Tm.default.transports.Console,new evr(new Tm.default.transports.Http(Val(r,t)))]}),Yal=()=>Tm.default.format.combine(Tm.default.format.timestamp(),Tm.default.format.colorize(),Tm.default.format.printf(r=>`${r.timestamp}|${r.category}|${Ufi((0,u2t.omit)(r,"timestamp","message","category","hostname","env","coalescesoftwareversion","level","service"))}|${r.level}:${r.message}`)),Kal=r=>new Tm.default.transports.Console({format:Yal(),silent:r}),Vfi=(r,t)=>Tm.default.createLogger({levels:Tm.default.config.syslog.levels,level:r.LOG_LEVEL,format:Tm.default.format.combine(Tm.default.format.timestamp(),Wfi(),Tm.default.format.json()),defaultMeta:{service:"Frontend",category:"frontend",coalescesoftwareversion:r.REACT_APP_COALESCE_VERSION,hostname:r.HOSTNAME,env:r.RUNTIME_ENVIRONMENT},transports:[new ZIr,Kal(!t)]}),nvr=r=>{Yfi=r},c0=()=>Yfi});var ivr,Kfi=Et(()=>{"use strict";Ng();ivr=(r,t,n,...i)=>{let o=c0(),s={...t,area:r};o[n](...i,s)}});var kY,Jfi,qM,o3e,c2t=Et(()=>{"use strict";kr();Ng();Kfi();kY=class{valid=!1;failures;originalValue;constructor(t,n){this.originalValue=j9(t),this.failures=n}get failureMessage(){return this.failures.map(t=>t.path.length>0?`${t.path}: ${t.message}`:t.message).join(`
177
177
  `)}},Jfi=null,qM=class extends bt{code;result;constructor(t,n,i=400){super(t,typeof n=="string"?n:n?.failureMessage),this.result=typeof n=="string"?void 0:n,this.code=i}statusCode(){return this.code}get validationResult(){return this.result}get failureDetails(){return this.result?`${this.message}: ${this.result.failureMessage}`:this.message}},o3e=class{constructor(t){this.name=t}is(t){return this.validate(t).valid}assert(t,n){return this.doAssert(t,!0,n)}verify(t,n){let i=!!(n?.throwOnVerify??!1);return this.doAssert(t,i,n)}doAssert(t,n,i){let{logContext:o,logArea:s,failureLogLevel:a,successLogLevel:l,statusCode:c,errorMessage:u}=i||{},d=this.validate(t);if(!d.valid){let p=typeof u=="function"?u(d):u??`Found ${d.failures.length} validation failure(s) for ${this.name}`,f=new qM(p,d,c);if(a!==Jfi){let A=t;A&&typeof A=="object"&&(A=j9(A)),ivr(s,o,a||"error",f,A)}if(n)throw f;return t}return l&&ivr(s,o,l,`${this.name} validation succeeded`,t),d.value}}});var ovr,Nd,svr=Et(()=>{"use strict";Ng();kr();c2t();ovr=class extends o3e{constructor(n,i){super(n);this.runtype=i;if(!i)throw new bt(`Missing runtype for ${n} validator. Did you use a circular import?`)}validate(n){try{let i=this.runtype.validate(n);return i.success?{valid:!0,value:n}:this.createValidationFailedResult(i,n)}catch(i){return c0().error(`RuntypesValidator: Unable to validate ${this.name} value. `,`
178
178
  Error: `,i,`
179
- Value: `,n),new kY(n,[{path:"",message:"value triggered unknown runtypes error"}])}}createValidationFailedResult(n,i){let o=[],s=(a,l)=>{for(let[c,u]of Object.entries(l)){let d=a.concat(c);typeof u=="string"?o.push({path:d.join("."),message:u}):s(d,u)}};if(n.code==="TYPE_INCORRECT"||n.code==="CONSTRAINT_FAILED")o.push({path:"",message:n.message});else{let a=n.details;a&&s([],a)}return new kY(i,o)}},Nd=(r,t)=>new ovr(r,t)});var lvr,Jal,Xal,avr,Or,Xfi=Et(()=>{"use strict";lvr=Ct(as());kr();Ng();c2t();Tn();Jal=r=>r.code==="unrecognized_keys"?r.keys.length:r.code==="invalid_type"&&r.received==="undefined"&&r.message==="Required"?1:r.code==="invalid_literal"?10:0,Xal=r=>lvr.default.sum(r.issues.map(t=>Jal(t))),avr=class extends o3e{constructor(n,i){super(n);this.zodType=i;if(!i)throw new bt(`Missing Zod type for ${n} validator. Did you use a circular import?`)}convertZodError=n=>{let i=[];for(let o of n.issues)if(o.code==="invalid_union"){let s=lvr.default.minBy(o.unionErrors,a=>Xal(a));s&&i.push(...this.convertZodError(s))}else i.push({path:o.path.join("."),message:o.message});return i};validate(n){try{let i=this.zodType.safeParse(n);if(i.success)return{valid:!0,value:i.data};let o=this.convertZodError(i.error);return new kY(n,o)}catch(i){let o=i instanceof R.ZodError?[i.flatten(),i.issues]:[];return c0().error(`ZodValidator: Unable to validate ${this.name} value`,"error: ",i,"value: ",n,...o),new kY(n,[{path:"",message:"value triggered unknown Zod error"}])}}},Or=(r,t)=>new avr(r,t)});var s3e=Et(()=>{"use strict";svr();c2t();Xfi()});var $al,Zal,$fi,d2t,Tqe,uvr,Oqe,cvr,dvr,pvr,fvr,Avr,p2t,f2t,a3e,Bz,hvr,Zfi,aS=Et(()=>{"use strict";Tn();Ypr();oY();gyr();Dyr();EEe();Ksi();cY();s3e();$al=R.object({auth:R.string(),firestore:R.string(),storage:R.string()}),Zal=R.object({apiKey:R.string(),authDomain:R.string(),projectId:R.string(),storageBucket:R.string(),messagingSenderId:R.string(),appId:R.string(),measurementId:R.string(),emulatorInfo:$al.optional()}),$fi=Or("FirebaseConfig",Zal),d2t=r=>{v9("firestore.delete",{path:r})},Tqe=r=>{v9("firestore.set",{path:r})},uvr=r=>{v9("firestore.update",{path:r})},Oqe=r=>{v9("firestore.get",{path:r})},cvr=r=>{v9("firestore.transaction.get",{path:r})},dvr=r=>{v9("firestore.transaction.set",{path:r})},pvr=r=>{v9("firestore.transaction.update",{path:r})},fvr=r=>{v9("firestore.transaction.delete",{path:r})},Avr=()=>{v9("firestore.batch")},p2t=_M.getTracer("firestore"),f2t=async r=>(d2t(r.path),p2t.startActiveSpan(`delete ${r.path}`,async t=>{t.setAttribute("path",r.path),t.setAttribute("operation","delete");let n=await r.delete();return t.end(),n})),a3e=(r,t,n)=>(Tqe(r.path),p2t.startActiveSpan(`set ${r.path}`,async i=>{if(i.setAttribute("path",r.path),i.setAttribute("operation","set"),n){let o=await r.set(t,n);return i.end(),o}else{let o=await r.set(t);return i.end(),o}})),Bz=r=>(Oqe(r.path),p2t.startActiveSpan(`get ${r.path}`,async t=>{t.setAttribute("path",r.path),t.setAttribute("operation","get");let n=await r.get();return t.end(),n})),hvr=r=>(Oqe(r.path),p2t.startActiveSpan(`get ${r.path}`,async t=>{t.setAttribute("path",r.path),t.setAttribute("operation","get");let n=await r.get();return t.end(),n})),Zfi=async(r,t=1e3)=>{let n=()=>{},i=new Promise(o=>{n=r.onSnapshot(s=>{s.metadata.hasPendingWrites||o(s)})});return await Ez(t,`Timed out in GetDocumentNoPendingWrites after ${t} ms`,i).finally(n)}});var A2t,h2t,l3e=Et(()=>{"use strict";A2t={emerg:"emerg",info:"info",error:"error",debug:"debug",assert:"assert",warn:"warn",alert:"alert",app:"app"},h2t={LEVELS:{emerg:0,assert:1,alert:2,error:3,app:4,info:5,debug:6,warn:4},COLORS:{emerg:"red",assert:"yellow",alert:"yellow",warn:"yellow",error:"cyan",app:"blue",info:"green",debug:"magenta"}}});var gvr,p5,_qe=Et(()=>{"use strict";gvr=["ACTUAL_STATE","ADVANCED_DEPLOY","APP","AUTH","BULK_WRITE","CLI","CLI_INTERNAL","COLUMN_LINEAGE","COLUMN_METADATA","COMMON","CONNECTION","DEBUG","DEPLOY","DNS","DOCS","DRAG","ENTITY_API","ENV","ENVIRONMENTS","ERROR_OPERATIONS","FIREBASE","FOLDERS","GIT","GIT_SETTINGS","GOOGLE_DEBUG","GRAPH","HEARTBEAT","INTEGRATIONS","JEST","JOBS","JSON_PARSER","LIGHTNING_FS","LISTENERS","MACROS","MAPPING_GRID","METADATA_HYDRATION","METADATA_OPERATIONS","NARROW_METADATA","NODE_TYPES","ORGS","ORG_BOOTSTRAP","ORG_SCANNER","ORG_SETTINGS","ORG_UPGRADE","PACKAGES","PACKAGES_BACKEND","PACKAGE_NAMESPACES","PACKAGE_REGISTRY","PALETTE","PARTNER_CONNECT","PENDO","PERFORMANCE","PIPELINE","PLAN","PLATFORM","PRESYNC","PROBLEM_SCANNER","PROJECTS","RBAC","RENDERER","RUNNER","RUNNER_BACKEND","RUN_RESULTS","RUN_TRANSACTION","SEARCH","SECRETS","SQL_PARSING","SQL_TESTING","STATE","STEPS","STORAGE_LOCATIONS","STRUMENTA","SYSTEM_EMAILS","TEMPLATE_EDITOR","TESTING","TIMING_UTILS","TREE_OPERATIONS","TYPESENSE","UI","USERS","USER_ACTIVATION","USER_MANAGEMENT","USER_SETTINGS","VERSIONING","VERSION_CONTROL_ACTIONS","WORKSPACES","XML_PARSER","YAML","ZIP","AI_COLUMN_DESCRIPTIONS","AI_NODE_DESCRIPTIONS","AI_GIT_COMMIT_MESSAGE"],p5={...Object.fromEntries(gvr.map(r=>[r,{level:"info"}]))}});var sO,u3e,Fh,g2t=Et(()=>{"use strict";sO=(r,t,n,i,o)=>({orgID:r,workspaceID:t,userID:n,runID:i,nodeID:o}),u3e=(r,t)=>{r.runID=t},Fh={}});var tAi=I(eAi=>{"use strict";Object.defineProperty(eAi,"__esModule",{value:!0})});var mvr=I(m2t=>{"use strict";Object.defineProperty(m2t,"__esModule",{value:!0});m2t.Failcode=void 0;m2t.Failcode={TYPE_INCORRECT:"TYPE_INCORRECT",VALUE_INCORRECT:"VALUE_INCORRECT",KEY_INCORRECT:"KEY_INCORRECT",CONTENT_INCORRECT:"CONTENT_INCORRECT",ARGUMENT_INCORRECT:"ARGUMENT_INCORRECT",RETURN_INCORRECT:"RETURN_INCORRECT",CONSTRAINT_FAILED:"CONSTRAINT_FAILED",PROPERTY_MISSING:"PROPERTY_MISSING",PROPERTY_PRESENT:"PROPERTY_PRESENT",NOTHING_EXPECTED:"NOTHING_EXPECTED"}});var d3e=I(c3e=>{"use strict";var ell=c3e&&c3e.__extends||function(){var r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=o[s])},r(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(c3e,"__esModule",{value:!0});c3e.ValidationError=void 0;var tll=function(r){ell(t,r);function t(n){var i=r.call(this,n.message)||this;return i.name="ValidationError",i.code=n.code,n.details!==void 0&&(i.details=n.details),Object.setPrototypeOf(i,t.prototype),i}return t}(Error);c3e.ValidationError=tll});var Rqe=I(yvr=>{"use strict";Object.defineProperty(yvr,"__esModule",{value:!0});var y2t=function(r){return function(t){switch(t.tag){case"literal":return'"'.concat(String(t.value),'"');case"string":return"string";case"brand":return t.brand;case"constraint":return t.name||y2t(r)(t.underlying);case"union":return t.alternatives.map(y2t(r)).join(" | ");case"intersect":return t.intersectees.map(y2t(r)).join(" & ");default:break}return"`${".concat(aO(!1,r)(t),"}`")}},E2t=function(r){return function(t){switch(t.tag){case"literal":return String(t.value);case"brand":return"${".concat(t.brand,"}");case"constraint":return t.name?"${".concat(t.name,"}"):E2t(r)(t.underlying);case"union":if(t.alternatives.length===1){var n=t.alternatives[0];return E2t(r)(n.reflect)}break;case"intersect":if(t.intersectees.length===1){var n=t.intersectees[0];return E2t(r)(n.reflect)}break;default:break}return"${".concat(aO(!1,r)(t),"}")}},aO=function(r,t){return function(n){var i=function(u){return r?"(".concat(u,")"):u};if(t.has(n))return i("CIRCULAR ".concat(n.tag));t.add(n);try{switch(n.tag){case"unknown":case"never":case"void":case"boolean":case"number":case"bigint":case"string":case"symbol":case"function":return n.tag;case"literal":{var o=n.value;return typeof o=="string"?'"'.concat(o,'"'):String(o)}case"template":{if(n.strings.length===0)return'""';if(n.strings.length===1)return'"'.concat(n.strings[0],'"');if(n.strings.length===2&&n.strings.every(function(u){return u===""})){var s=n.runtypes[0];return y2t(t)(s.reflect)}var a=!1,l=n.strings.reduce(function(u,d,p){var f=u+d,A=n.runtypes[p];if(A){var h=E2t(t)(A.reflect);return!a&&h.startsWith("$")&&(a=!0),f+h}else return f},"");return a?"`".concat(l,"`"):'"'.concat(l,'"')}case"array":return"".concat(rAi(n)).concat(aO(!0,t)(n.element),"[]");case"dictionary":return"{ [_: ".concat(n.key,"]: ").concat(aO(!1,t)(n.value)," }");case"record":{var c=Object.keys(n.fields);return c.length?"{ ".concat(c.map(function(u){return"".concat(rAi(n)).concat(u).concat(rll(n,u),": ").concat(n.fields[u].tag==="optional"?aO(!1,t)(n.fields[u].underlying):aO(!1,t)(n.fields[u]),";")}).join(" ")," }"):"{}"}case"tuple":return"[".concat(n.components.map(aO(!1,t)).join(", "),"]");case"union":return i("".concat(n.alternatives.map(aO(!0,t)).join(" | ")));case"intersect":return i("".concat(n.intersectees.map(aO(!0,t)).join(" & ")));case"optional":return aO(r,t)(n.underlying)+" | undefined";case"constraint":return n.name||aO(r,t)(n.underlying);case"instanceof":return n.ctor.name;case"brand":return aO(r,t)(n.entity)}}finally{t.delete(n)}throw Error("impossible")}};yvr.default=aO(!1,new Set);function rll(r,t){var n=r.isPartial,i=r.fields;return n||t!==void 0&&i[t].tag==="optional"?"?":""}function rAi(r){var t=r.isReadonly;return t?"readonly ":""}});var af=I(Pd=>{"use strict";var Evr=Pd&&Pd.__assign||function(){return Evr=Object.assign||function(r){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}return r},Evr.apply(this,arguments)};Object.defineProperty(Pd,"__esModule",{value:!0});Pd.FAILURE=Pd.SUCCESS=Pd.enumerableKeysOf=Pd.typeOf=Pd.hasKey=void 0;var G9=mvr(),aue=Rqe();function nll(r,t){return typeof t=="object"&&t!==null&&r in t}Pd.hasKey=nll;var ill=function(r){var t,n,i;return typeof r=="object"?r===null?"null":Array.isArray(r)?"array":((t=r.constructor)===null||t===void 0?void 0:t.name)==="Object"?"object":(i=(n=r.constructor)===null||n===void 0?void 0:n.name)!==null&&i!==void 0?i:typeof r:typeof r};Pd.typeOf=ill;var oll=function(r){return typeof r=="object"&&r!==null?Reflect.ownKeys(r).filter(function(t){var n,i;return(i=(n=r.propertyIsEnumerable)===null||n===void 0?void 0:n.call(r,t))!==null&&i!==void 0?i:!0}):[]};Pd.enumerableKeysOf=oll;function sll(r){return{success:!0,value:r}}Pd.SUCCESS=sll;Pd.FAILURE=Object.assign(function(r,t,n){return Evr({success:!1,code:r,message:t},n?{details:n}:{})},{TYPE_INCORRECT:function(r,t){var n="Expected ".concat(r.tag==="template"?"string ".concat((0,aue.default)(r)):(0,aue.default)(r),", but was ").concat((0,Pd.typeOf)(t));return(0,Pd.FAILURE)(G9.Failcode.TYPE_INCORRECT,n)},VALUE_INCORRECT:function(r,t,n){return(0,Pd.FAILURE)(G9.Failcode.VALUE_INCORRECT,"Expected ".concat(r," ").concat(String(t),", but was ").concat(String(n)))},KEY_INCORRECT:function(r,t,n){return(0,Pd.FAILURE)(G9.Failcode.KEY_INCORRECT,"Expected ".concat((0,aue.default)(r)," key to be ").concat((0,aue.default)(t),", but was ").concat((0,Pd.typeOf)(n)))},CONTENT_INCORRECT:function(r,t){var n="Expected ".concat((0,aue.default)(r),", but was incompatible");return(0,Pd.FAILURE)(G9.Failcode.CONTENT_INCORRECT,n,t)},ARGUMENT_INCORRECT:function(r){return(0,Pd.FAILURE)(G9.Failcode.ARGUMENT_INCORRECT,r)},RETURN_INCORRECT:function(r){return(0,Pd.FAILURE)(G9.Failcode.RETURN_INCORRECT,r)},CONSTRAINT_FAILED:function(r,t){var n=t?": ".concat(t):"";return(0,Pd.FAILURE)(G9.Failcode.CONSTRAINT_FAILED,"Failed constraint check for ".concat((0,aue.default)(r)).concat(n))},PROPERTY_MISSING:function(r){var t="Expected ".concat((0,aue.default)(r),", but was missing");return(0,Pd.FAILURE)(G9.Failcode.PROPERTY_MISSING,t)},PROPERTY_PRESENT:function(r){var t="Expected nothing, but was ".concat((0,Pd.typeOf)(r));return(0,Pd.FAILURE)(G9.Failcode.PROPERTY_PRESENT,t)},NOTHING_EXPECTED:function(r){var t="Expected nothing, but was ".concat((0,Pd.typeOf)(r));return(0,Pd.FAILURE)(G9.Failcode.NOTHING_EXPECTED,t)}})});var nAi=I(LY=>{"use strict";var all=LY&&LY.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},lll=LY&&LY.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(LY,"__esModule",{value:!0});LY.Contract=void 0;var ull=d3e(),cll=af();function dll(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=r.length-1,i=r.slice(0,n),o=r[n];return{enforce:function(s){return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(a.length<i.length){var c="Expected ".concat(i.length," arguments but only received ").concat(a.length),u=cll.FAILURE.ARGUMENT_INCORRECT(c);throw new ull.ValidationError(u)}for(var d=0;d<i.length;d++)i[d].check(a[d]);return o.check(s.apply(void 0,lll([],all(a),!1)))}}}}LY.Contract=dll});var sAi=I(QY=>{"use strict";var pll=QY&&QY.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},fll=QY&&QY.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(QY,"__esModule",{value:!0});QY.AsyncContract=void 0;var iAi=d3e(),oAi=af();function All(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=r.length-1,i=r.slice(0,n),o=r[n];return{enforce:function(s){return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(a.length<i.length){var c="Expected ".concat(i.length," arguments but only received ").concat(a.length),u=oAi.FAILURE.ARGUMENT_INCORRECT(c);throw new iAi.ValidationError(u)}for(var d=0;d<i.length;d++)i[d].check(a[d]);var p=s.apply(void 0,fll([],pll(a),!1));if(!(p instanceof Promise)){var c="Expected function to return a promise, but instead got ".concat(p),u=oAi.FAILURE.RETURN_INCORRECT(c);throw new iAi.ValidationError(u)}return p.then(o.check)}}}}QY.AsyncContract=All});var aAi=I(W9=>{"use strict";var hll=W9&&W9.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},gll=W9&&W9.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s};Object.defineProperty(W9,"__esModule",{value:!0});W9.when=W9.match=void 0;function mll(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return function(n){var i,o;try{for(var s=hll(r),a=s.next();!a.done;a=s.next()){var l=gll(a.value,2),c=l[0],u=l[1];if(c.guard(n))return u(n)}}catch(d){i={error:d}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}throw new Error("No alternatives were matched")}}W9.match=mll;function yll(r,t){return[r,t]}W9.when=yll});var UA=I(qY=>{"use strict";Object.defineProperty(qY,"__esModule",{value:!0});qY.innerValidate=qY.create=qY.isRuntype=void 0;var FY=xE(),Ell=Rqe(),bll=d3e(),lAi=af(),uAi=Symbol(),Cll=function(r){return(0,lAi.hasKey)(uAi,r)};qY.isRuntype=Cll;function Ill(r,t){return t[uAi]=!0,t.check=n,t.assert=n,t._innerValidate=function(p,f){return f.has(p,t)?(0,lAi.SUCCESS)(p):r(p,f)},t.validate=function(p){return t._innerValidate(p,Sll())},t.guard=i,t.Or=o,t.And=s,t.optional=a,t.nullable=l,t.withConstraint=c,t.withGuard=u,t.withBrand=d,t.reflect=t,t.toString=function(){return"Runtype<".concat((0,Ell.default)(t),">")},t;function n(p){var f=t.validate(p);if(f.success)return f.value;throw new bll.ValidationError(f)}function i(p){return t.validate(p).success}function o(p){return(0,FY.Union)(t,p)}function s(p){return(0,FY.Intersect)(t,p)}function a(){return(0,FY.Optional)(t)}function l(){return(0,FY.Union)(t,FY.Null)}function c(p,f){return(0,FY.Constraint)(t,p,f)}function u(p,f){return(0,FY.Constraint)(t,p,f)}function d(p){return(0,FY.Brand)(p,t)}}qY.create=Ill;function vll(r,t,n){return r._innerValidate(t,n)}qY.innerValidate=vll;function Sll(){var r=new WeakMap,t=function(i,o){if(!(i===null||typeof i!="object")){var s=r.get(i);r.set(i,s?s.set(o,!0):new WeakMap().set(o,!0))}},n=function(i,o){var s=r.get(i),a=s&&s.get(o)||!1;return t(i,o),a};return{has:n}}});var C2t=I(b2t=>{"use strict";Object.defineProperty(b2t,"__esModule",{value:!0});b2t.Unknown=void 0;var Tll=UA(),Oll=af(),_ll={tag:"unknown"};b2t.Unknown=(0,Tll.create)(function(r){return(0,Oll.SUCCESS)(r)},_ll)});var cAi=I(I2t=>{"use strict";Object.defineProperty(I2t,"__esModule",{value:!0});I2t.Never=void 0;var Rll=UA(),wll=af(),Bll={tag:"never"};I2t.Never=(0,Rll.create)(wll.FAILURE.NOTHING_EXPECTED,Bll)});var dAi=I(v2t=>{"use strict";Object.defineProperty(v2t,"__esModule",{value:!0});v2t.Void=void 0;var Mll=C2t();v2t.Void=Mll.Unknown});var bvr=I(p3e=>{"use strict";var S2t=p3e&&p3e.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(p3e,"__esModule",{value:!0});p3e.Union=void 0;var T2t=UA(),wqe=af();function xll(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return function(a){for(var l=0;l<r.length;l++)if(r[l].guard(a))return o[l](a)}},i={tag:"union",alternatives:r,match:n};return(0,T2t.create)(function(o,s){var a,l,c,u,d,p,f,A;if(typeof o!="object"||o===null){try{for(var h=S2t(r),y=h.next();!y.done;y=h.next()){var C=y.value;if((0,T2t.innerValidate)(C,o,s).success)return(0,wqe.SUCCESS)(o)}}catch(J){a={error:J}}finally{try{y&&!y.done&&(l=h.return)&&l.call(h)}finally{if(a)throw a.error}}return wqe.FAILURE.TYPE_INCORRECT(i,o)}var v={};try{for(var O=S2t(r),_=O.next();!_.done;_=O.next()){var C=_.value;if(C.reflect.tag==="record"){var w=function(Y){var Q=C.reflect.fields[Y];Q.tag==="literal"&&(v[Y]?v[Y].every(function(X){return X!==Q.value})&&v[Y].push(Q.value):v[Y]=[Q.value])};for(var x in C.reflect.fields)w(x)}}}catch(J){c={error:J}}finally{try{_&&!_.done&&(u=O.return)&&u.call(O)}finally{if(c)throw c.error}}for(var x in v)if(v[x].length===r.length)try{for(var z=(d=void 0,S2t(r)),W=z.next();!W.done;W=z.next()){var C=W.value;if(C.reflect.tag==="record"){var V=C.reflect.fields[x];if(V.tag==="literal"&&(0,wqe.hasKey)(x,o)&&o[x]===V.value)return(0,T2t.innerValidate)(C,o,s)}}}catch(Y){d={error:Y}}finally{try{W&&!W.done&&(p=z.return)&&p.call(z)}finally{if(d)throw d.error}}try{for(var $=S2t(r),K=$.next();!K.done;K=$.next()){var F=K.value;if((0,T2t.innerValidate)(F,o,s).success)return(0,wqe.SUCCESS)(o)}}catch(J){f={error:J}}finally{try{K&&!K.done&&(A=$.return)&&A.call($)}finally{if(f)throw f.error}}return wqe.FAILURE.TYPE_INCORRECT(i,o)},i)}p3e.Union=xll});var vvr=I(lS=>{"use strict";Object.defineProperty(lS,"__esModule",{value:!0});lS.Nullish=lS.Null=lS.Undefined=lS.Literal=lS.literal=void 0;var Dll=UA(),pAi=af(),Nll=bvr();function Cvr(r){return Array.isArray(r)?String(r.map(String)):typeof r=="bigint"?String(r)+"n":String(r)}lS.literal=Cvr;function Ivr(r){var t={tag:"literal",value:r};return(0,Dll.create)(function(n){return n===r?(0,pAi.SUCCESS)(n):pAi.FAILURE.VALUE_INCORRECT("literal","`".concat(Cvr(r),"`"),"`".concat(Cvr(n),"`"))},t)}lS.Literal=Ivr;lS.Undefined=Ivr(void 0);lS.Null=Ivr(null);lS.Nullish=(0,Nll.Union)(lS.Null,lS.Undefined)});var mAi=I(H9=>{"use strict";var zY=H9&&H9.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},Svr=H9&&H9.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))},fAi=H9&&H9.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(H9,"__esModule",{value:!0});H9.Template=void 0;var O2t=UA(),AAi=Rqe(),Mz=af(),gAi=vvr(),Tvr=function(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},Pll=function(r){if(0<r.length&&Array.isArray(r[0])){var t=zY(r),n=t[0],i=t.slice(1);return[Array.from(n),i]}else{var o=r,n=o.reduce(function(l,c){return(0,O2t.isRuntype)(c)?l.push(""):l.push(l.pop()+String(c)),l},[""]),i=o.filter(O2t.isRuntype);return[n,i]}},kll=function(r,t){for(var n=0;n<t.length;)switch(t[n].reflect.tag){case"literal":{var i=t[n];t.splice(n,1);var o=String(i.value);r.splice(n,2,r[n]+o+r[n+1]);break}case"template":{var s=t[n];t.splice.apply(t,Svr([n,1],zY(s.runtypes),!1));var a=s.strings;if(a.length===1)r.splice(n,2,r[n]+a[0]+r[n+1]);else{var l=a[0],c=a.slice(1,-1),u=a[a.length-1];r.splice.apply(r,Svr(Svr([n,2,r[n]+l],zY(c),!1),[u+r[n+1]],!1))}break}case"union":{var d=t[n];if(d.alternatives.length===1)try{var p=xqe(d);t.splice(n,1);var o=String(p.value);r.splice(n,2,r[n]+o+r[n+1]);break}catch{n++;break}else{n++;break}}case"intersect":{var f=t[n];if(f.intersectees.length===1)try{var A=xqe(f);t.splice(n,1);var o=String(A.value);r.splice(n,2,r[n]+o+r[n+1]);break}catch{n++;break}else{n++;break}}default:n++;break}},Lll=function(r){var t=zY(Pll(r),2),n=t[0],i=t[1];return kll(n,i),[n,i]},xqe=function(r){switch(r.reflect.tag){case"literal":return r;case"brand":return xqe(r.reflect.entity);case"union":if(r.reflect.alternatives.length===1)return xqe(r.reflect.alternatives[0]);break;case"intersect":if(r.reflect.intersectees.length===1)return xqe(r.reflect.intersectees[0]);break;default:break}throw void 0},hAi=function(r){return r},Ovr={string:[function(r){return globalThis.String(r)},".*"],number:[function(r){return globalThis.Number(r)},"[+-]?(?:\\d*\\.\\d+|\\d+\\.\\d*|\\d+)(?:[Ee][+-]?\\d+)?","0[Bb][01]+","0[Oo][0-7]+","0[Xx][0-9A-Fa-f]+"],bigint:[function(r){return globalThis.BigInt(r)},"-?[1-9]d*"],boolean:[function(r){return r!=="false"},"true","false"],null:[function(){return null},"null"],undefined:[function(){},"undefined"]},Bqe=function(r){switch(r.tag){case"literal":{var t=zY(Ovr[(0,Mz.typeOf)(r.value)]||[hAi],1),n=t[0];return n}case"brand":return Bqe(r.entity);case"constraint":return Bqe(r.underlying);case"union":return r.alternatives.map(Bqe);case"intersect":return r.intersectees.map(Bqe);default:var i=zY(Ovr[r.tag]||[hAi],1),o=i[0];return o}},_vr=function(r,t){return function(n){var i,o,s,a,l=Bqe(r);if(Array.isArray(l))switch(r.tag){case"union":try{for(var c=fAi(r.alternatives),u=c.next();!u.done;u=c.next()){var d=u.value,p=_vr(d.reflect,t)(n);if(p.success)return p}}catch(C){i={error:C}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return Mz.FAILURE.TYPE_INCORRECT(r,n);case"intersect":try{for(var f=fAi(r.intersectees),A=f.next();!A.done;A=f.next()){var h=A.value,p=_vr(h.reflect,t)(n);if(!p.success)return p}}catch(C){s={error:C}}finally{try{A&&!A.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}return(0,Mz.SUCCESS)(n);default:throw Error("impossible")}else{var y=l,p=(0,O2t.innerValidate)(r,y(n),t);return!p.success&&p.code==="VALUE_INCORRECT"&&r.tag==="literal"?Mz.FAILURE.VALUE_INCORRECT("literal",'"'.concat((0,gAi.literal)(r.value),'"'),'"'.concat(n,'"')):p}}},Mqe=function(r){switch(r.tag){case"literal":return Tvr(String(r.value));case"brand":return Mqe(r.entity);case"constraint":return Mqe(r.underlying);case"union":return r.alternatives.map(Mqe).join("|");case"template":return r.strings.map(Tvr).reduce(function(i,o,s){var a=i+o,l=r.runtypes[s];return l?a+"(?:".concat(Mqe(l.reflect),")"):a},"");default:var t=zY(Ovr[r.tag]||[void 0,".*"]),n=t.slice(1);return n.join("|")}},Qll=function(r){var t=r.strings.map(Tvr).reduce(function(n,i,o){var s=n+i,a=r.runtypes[o];return a?s+"(".concat(Mqe(a.reflect),")"):s},"");return new RegExp("^".concat(t,"$"),"su")};function Fll(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=zY(Lll(r),2),i=n[0],o=n[1],s={tag:"template",strings:i,runtypes:o},a=Qll(s),l=function(c,u){var d=c.match(a);if(d){for(var p=d.slice(1),f=0;f<o.length;f++){var A=o[f],h=p[f],y=_vr(A.reflect,u)(h);if(!y.success)return y}return(0,Mz.SUCCESS)(c)}else return Mz.FAILURE.VALUE_INCORRECT("string","".concat((0,AAi.default)(s)),'"'.concat((0,gAi.literal)(c),'"'))};return(0,O2t.create)(function(c,u){if(typeof c!="string")return Mz.FAILURE.TYPE_INCORRECT(s,c);var d=l(c,u);if(d.success)return(0,Mz.SUCCESS)(c);var p=Mz.FAILURE.VALUE_INCORRECT("string","".concat((0,AAi.default)(s)),'"'.concat(c,'"'));return p.message!==d.message&&(p.message+=" (inner: ".concat(d.message,")")),p},s)}H9.Template=Fll});var bAi=I(_2t=>{"use strict";Object.defineProperty(_2t,"__esModule",{value:!0});_2t.Boolean=void 0;var qll=UA(),yAi=af(),EAi={tag:"boolean"};_2t.Boolean=(0,qll.create)(function(r){return typeof r=="boolean"?(0,yAi.SUCCESS)(r):yAi.FAILURE.TYPE_INCORRECT(EAi,r)},EAi)});var vAi=I(R2t=>{"use strict";Object.defineProperty(R2t,"__esModule",{value:!0});R2t.Number=void 0;var zll=UA(),CAi=af(),IAi={tag:"number"};R2t.Number=(0,zll.create)(function(r){return typeof r=="number"?(0,CAi.SUCCESS)(r):CAi.FAILURE.TYPE_INCORRECT(IAi,r)},IAi)});var OAi=I(w2t=>{"use strict";Object.defineProperty(w2t,"__esModule",{value:!0});w2t.BigInt=void 0;var Ull=UA(),SAi=af(),TAi={tag:"bigint"};w2t.BigInt=(0,Ull.create)(function(r){return typeof r=="bigint"?(0,SAi.SUCCESS)(r):SAi.FAILURE.TYPE_INCORRECT(TAi,r)},TAi)});var Rvr=I(B2t=>{"use strict";Object.defineProperty(B2t,"__esModule",{value:!0});B2t.String=void 0;var jll=UA(),_Ai=af(),RAi={tag:"string"};B2t.String=(0,jll.create)(function(r){return typeof r=="string"?(0,_Ai.SUCCESS)(r):_Ai.FAILURE.TYPE_INCORRECT(RAi,r)},RAi)});var xAi=I(M2t=>{"use strict";Object.defineProperty(M2t,"__esModule",{value:!0});M2t.Symbol=void 0;var MAi=UA(),Dqe=af(),Gll=function(r){var t={tag:"symbol",key:r};return(0,MAi.create)(function(n){if(typeof n!="symbol")return Dqe.FAILURE.TYPE_INCORRECT(t,n);var i=globalThis.Symbol.keyFor(n);return i!==r?Dqe.FAILURE.VALUE_INCORRECT("symbol key",BAi(r),BAi(i)):(0,Dqe.SUCCESS)(n)},t)},wAi={tag:"symbol"};M2t.Symbol=(0,MAi.create)(function(r){return typeof r=="symbol"?(0,Dqe.SUCCESS)(r):Dqe.FAILURE.TYPE_INCORRECT(wAi,r)},Object.assign(Gll,wAi));var BAi=function(r){return r===void 0?"undefined":'"'.concat(r,'"')}});var PAi=I(x2t=>{"use strict";Object.defineProperty(x2t,"__esModule",{value:!0});x2t.Array=void 0;var DAi=UA(),Nqe=af();function NAi(r,t){var n={tag:"array",isReadonly:t,element:r};return Hll((0,DAi.create)(function(i,o){if(!Array.isArray(i))return Nqe.FAILURE.TYPE_INCORRECT(n,i);var s=(0,Nqe.enumerableKeysOf)(i),a=s.map(function(c){return(0,DAi.innerValidate)(r,i[c],o)}),l=s.reduce(function(c,u){var d=a[u];return d.success||(c[u]=d.details||d.message),c},[]);return(0,Nqe.enumerableKeysOf)(l).length!==0?Nqe.FAILURE.CONTENT_INCORRECT(n,l):(0,Nqe.SUCCESS)(i)},n))}function Wll(r){return NAi(r,!1)}x2t.Array=Wll;function Hll(r){return r.asReadonly=t,r;function t(){return NAi(r.element,!0)}}});var LAi=I(D2t=>{"use strict";Object.defineProperty(D2t,"__esModule",{value:!0});D2t.Tuple=void 0;var kAi=UA(),f3e=af();function Vll(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n={tag:"tuple",components:r};return(0,kAi.create)(function(i,o){if(!Array.isArray(i))return f3e.FAILURE.TYPE_INCORRECT(n,i);if(i.length!==r.length)return f3e.FAILURE.CONSTRAINT_FAILED(n,"Expected length ".concat(r.length,", but was ").concat(i.length));var s=(0,f3e.enumerableKeysOf)(i),a=s.map(function(c){return(0,kAi.innerValidate)(r[c],i[c],o)}),l=s.reduce(function(c,u){var d=a[u];return d.success||(c[u]=d.details||d.message),c},[]);return(0,f3e.enumerableKeysOf)(l).length!==0?f3e.FAILURE.CONTENT_INCORRECT(n,l):(0,f3e.SUCCESS)(i)},n)}D2t.Tuple=Vll});var FAi=I(f5=>{"use strict";var wvr=f5&&f5.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},Bvr=f5&&f5.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(f5,"__esModule",{value:!0});f5.Partial=f5.Record=f5.InternalRecord=void 0;var QAi=UA(),uS=af();function UY(r,t,n){var i={tag:"record",isPartial:t,isReadonly:n,fields:r};return Jll((0,QAi.create)(function(o,s){if(o==null)return uS.FAILURE.TYPE_INCORRECT(i,o);var a=(0,uS.enumerableKeysOf)(r);if(a.length!==0&&typeof o!="object")return uS.FAILURE.TYPE_INCORRECT(i,o);var l=Bvr([],wvr(new Set(Bvr(Bvr([],wvr(a),!1),wvr((0,uS.enumerableKeysOf)(o)),!1))),!1),c=l.reduce(function(d,p){var f=(0,uS.hasKey)(p,r),A=(0,uS.hasKey)(p,o);if(f){var h=r[p],y=t||h.reflect.tag==="optional";if(A){var C=o[p];y&&C===void 0?d[p]=(0,uS.SUCCESS)(C):d[p]=(0,QAi.innerValidate)(h,C,s)}else y?d[p]=(0,uS.SUCCESS)(void 0):d[p]=uS.FAILURE.PROPERTY_MISSING(h.reflect)}else if(A){var C=o[p];d[p]=(0,uS.SUCCESS)(C)}else throw new Error("impossible");return d},{}),u=l.reduce(function(d,p){var f=c[p];return f.success||(d[p]=f.details||f.message),d},{});return(0,uS.enumerableKeysOf)(u).length!==0?uS.FAILURE.CONTENT_INCORRECT(i,u):(0,uS.SUCCESS)(o)},i))}f5.InternalRecord=UY;function Yll(r){return UY(r,!1,!1)}f5.Record=Yll;function Kll(r){return UY(r,!0,!1)}f5.Partial=Kll;function Jll(r){return r.asPartial=t,r.asReadonly=n,r.pick=i,r.omit=o,r.extend=s,r;function t(){return UY(r.fields,!0,r.isReadonly)}function n(){return UY(r.fields,r.isPartial,!0)}function i(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c={};return a.forEach(function(u){c[u]=r.fields[u]}),UY(c,r.isPartial,r.isReadonly)}function o(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c={},u=(0,uS.enumerableKeysOf)(r.fields);return u.forEach(function(d){a.includes(d)||(c[d]=r.fields[d])}),UY(c,r.isPartial,r.isReadonly)}function s(a){return UY(Object.assign({},r.fields,a),r.isPartial,r.isReadonly)}}});var xvr=I(A3e=>{"use strict";Object.defineProperty(A3e,"__esModule",{value:!0});A3e.Guard=A3e.Constraint=void 0;var Xll=UA(),Mvr=af(),$ll=C2t();function Zll(r,t,n){var i=n&&n.name,o=n&&n.args,s={tag:"constraint",underlying:r,constraint:t,name:i,args:o};return(0,Xll.create)(function(a){var l=r.validate(a);if(!l.success)return l;var c=t(l.value);return typeof c=="string"?Mvr.FAILURE.CONSTRAINT_FAILED(s,c):c?(0,Mvr.SUCCESS)(l.value):Mvr.FAILURE.CONSTRAINT_FAILED(s)},s)}A3e.Constraint=Zll;var eul=function(r,t){return $ll.Unknown.withGuard(r,t)};A3e.Guard=eul});var zAi=I(N2t=>{"use strict";Object.defineProperty(N2t,"__esModule",{value:!0});N2t.Dictionary=void 0;var qAi=UA(),Dvr=Rvr(),tul=xvr(),rul=Rqe(),lue=af(),nul=(0,tul.Constraint)(Dvr.String,function(r){return!isNaN(+r)},{name:"number"});function iul(r,t){var n=t===void 0||t==="string"?Dvr.String:t==="number"?nul:t,i=(0,rul.default)(n),o={tag:"dictionary",key:i,value:r};return(0,qAi.create)(function(s,a){if(s==null||typeof s!="object"||Object.getPrototypeOf(s)!==Object.prototype&&(!Array.isArray(s)||i==="string"))return lue.FAILURE.TYPE_INCORRECT(o,s);var l=/^(?:NaN|-?\d+(?:\.\d+)?)$/,c=(0,lue.enumerableKeysOf)(s),u=c.reduce(function(p,f){var A=typeof f=="string"&&l.test(f),h=A?globalThis.Number(f):f;return(A?!n.guard(h)&&!n.guard(f):!n.guard(h))?p[f]=lue.FAILURE.KEY_INCORRECT(o,n.reflect,h):p[f]=(0,qAi.innerValidate)(r,s[f],a),p},{}),d=c.reduce(function(p,f){var A=u[f];return A.success||(p[f]=A.details||A.message),p},{});return(0,lue.enumerableKeysOf)(d).length!==0?lue.FAILURE.CONTENT_INCORRECT(o,d):(0,lue.SUCCESS)(s)},o)}N2t.Dictionary=iul});var jAi=I(h3e=>{"use strict";var oul=h3e&&h3e.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h3e,"__esModule",{value:!0});h3e.Intersect=void 0;var UAi=UA(),sul=af();function aul(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n={tag:"intersect",intersectees:r};return(0,UAi.create)(function(i,o){var s,a;try{for(var l=oul(r),c=l.next();!c.done;c=l.next()){var u=c.value,d=(0,UAi.innerValidate)(u,i,o);if(!d.success)return d}}catch(p){s={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(s)throw s.error}}return(0,sul.SUCCESS)(i)},n)}h3e.Intersect=aul});var GAi=I(P2t=>{"use strict";Object.defineProperty(P2t,"__esModule",{value:!0});P2t.Optional=void 0;var lul=UA(),uul=af();function cul(r){var t={tag:"optional",underlying:r};return(0,lul.create)(function(n){return n===void 0?(0,uul.SUCCESS)(n):r.validate(n)},t)}P2t.Optional=cul});var VAi=I(k2t=>{"use strict";Object.defineProperty(k2t,"__esModule",{value:!0});k2t.Function=void 0;var dul=UA(),WAi=af(),HAi={tag:"function"};k2t.Function=(0,dul.create)(function(r){return typeof r=="function"?(0,WAi.SUCCESS)(r):WAi.FAILURE.TYPE_INCORRECT(HAi,r)},HAi)});var KAi=I(L2t=>{"use strict";Object.defineProperty(L2t,"__esModule",{value:!0});L2t.InstanceOf=void 0;var pul=UA(),YAi=af();function ful(r){var t={tag:"instanceof",ctor:r};return(0,pul.create)(function(n){return n instanceof r?(0,YAi.SUCCESS)(n):YAi.FAILURE.TYPE_INCORRECT(t,n)},t)}L2t.InstanceOf=ful});var JAi=I(Q2t=>{"use strict";Object.defineProperty(Q2t,"__esModule",{value:!0});Q2t.Lazy=void 0;var Aul=UA();function hul(r){var t={get tag(){return i().tag}},n;function i(){if(!n){n=r();for(var o in n)o!=="tag"&&(t[o]=n[o])}return n}return(0,Aul.create)(function(o){return i().validate(o)},t)}Q2t.Lazy=hul});var XAi=I(F2t=>{"use strict";Object.defineProperty(F2t,"__esModule",{value:!0});F2t.Brand=void 0;var gul=UA();function mul(r,t){var n={tag:"brand",brand:r,entity:t};return(0,gul.create)(function(i){return t.validate(i)},n)}F2t.Brand=mul});var $Ai=I(g3e=>{"use strict";Object.defineProperty(g3e,"__esModule",{value:!0});g3e.checked=g3e.check=void 0;var yul=d3e(),Eul=af(),Nvr=new WeakMap;function bul(r,t,n){var i=Nvr.get(r)||new Map;Nvr.set(r,i);var o=i.get(t)||[];i.set(t,o),o.push(n)}g3e.check=bul;function Cul(r,t,n){var i=Nvr.get(r),o=i&&i.get(t);if(o)return o;for(var s=[],a=0;a<n;a++)s.push(a);return s}function Iul(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];if(r.length===0)throw new Error("No runtype provided to `@checked`. Please remove the decorator.");return function(n,i,o){var s=o.value,a=(n.name||n.constructor.name+".prototype")+(typeof i=="string"?'["'.concat(i,'"]'):"[".concat(String(i),"]")),l=Cul(n,i,r.length);if(l.length!==r.length)throw new Error("Number of `@checked` runtypes and @check parameters not matched.");if(l.length>s.length)throw new Error("Number of `@checked` runtypes exceeds actual parameter length.");o.value=function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return r.forEach(function(d,p){var f=l[p],A=d.validate(c[f]);if(!A.success){var h="".concat(a,", argument #").concat(f,": ").concat(A.message),y=Eul.FAILURE.ARGUMENT_INCORRECT(h);throw new yul.ValidationError(y)}}),s.apply(this,c)}}}g3e.checked=Iul});var xE=I(Il=>{"use strict";var vul=Il&&Il.__createBinding||(Object.create?function(r,t,n,i){i===void 0&&(i=n),Object.defineProperty(r,i,{enumerable:!0,get:function(){return t[n]}})}:function(r,t,n,i){i===void 0&&(i=n),r[i]=t[n]}),op=Il&&Il.__exportStar||function(r,t){for(var n in r)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&vul(t,r,n)};Object.defineProperty(Il,"__esModule",{value:!0});Il.InstanceOf=Il.Nullish=Il.Null=Il.Undefined=Il.Literal=void 0;op(tAi(),Il);op(mvr(),Il);op(nAi(),Il);op(sAi(),Il);op(aAi(),Il);op(d3e(),Il);op(C2t(),Il);op(cAi(),Il);op(dAi(),Il);var q2t=vvr();Object.defineProperty(Il,"Literal",{enumerable:!0,get:function(){return q2t.Literal}});Object.defineProperty(Il,"Undefined",{enumerable:!0,get:function(){return q2t.Undefined}});Object.defineProperty(Il,"Null",{enumerable:!0,get:function(){return q2t.Null}});Object.defineProperty(Il,"Nullish",{enumerable:!0,get:function(){return q2t.Nullish}});op(mAi(),Il);op(bAi(),Il);op(vAi(),Il);op(OAi(),Il);op(Rvr(),Il);op(xAi(),Il);op(PAi(),Il);op(LAi(),Il);op(FAi(),Il);op(zAi(),Il);op(bvr(),Il);op(jAi(),Il);op(GAi(),Il);op(VAi(),Il);var Sul=KAi();Object.defineProperty(Il,"InstanceOf",{enumerable:!0,get:function(){return Sul.InstanceOf}});op(JAi(),Il);op(xvr(),Il);op(XAi(),Il);op($Ai(),Il)});var Pqe=I((djd,ZAi)=>{var Tul="2.0.0",Oul=Number.MAX_SAFE_INTEGER||9007199254740991,_ul=16,Rul=250,wul=["major","premajor","minor","preminor","patch","prepatch","prerelease"];ZAi.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:_ul,MAX_SAFE_BUILD_LENGTH:Rul,MAX_SAFE_INTEGER:Oul,RELEASE_TYPES:wul,SEMVER_SPEC_VERSION:Tul,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var kqe=I((pjd,ehi)=>{var Bul=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};ehi.exports=Bul});var m3e=I((xz,thi)=>{var{MAX_SAFE_COMPONENT_LENGTH:Pvr,MAX_SAFE_BUILD_LENGTH:Mul,MAX_LENGTH:xul}=Pqe(),Dul=kqe();xz=thi.exports={};var Nul=xz.re=[],Pul=xz.safeRe=[],ds=xz.src=[],ps=xz.t={},kul=0,kvr="[a-zA-Z0-9-]",Lul=[["\\s",1],["\\d",xul],[kvr,Mul]],Qul=r=>{for(let[t,n]of Lul)r=r.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return r},au=(r,t,n)=>{let i=Qul(t),o=kul++;Dul(r,o,t),ps[r]=o,ds[o]=t,Nul[o]=new RegExp(t,n?"g":void 0),Pul[o]=new RegExp(i,n?"g":void 0)};au("NUMERICIDENTIFIER","0|[1-9]\\d*");au("NUMERICIDENTIFIERLOOSE","\\d+");au("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${kvr}*`);au("MAINVERSION",`(${ds[ps.NUMERICIDENTIFIER]})\\.(${ds[ps.NUMERICIDENTIFIER]})\\.(${ds[ps.NUMERICIDENTIFIER]})`);au("MAINVERSIONLOOSE",`(${ds[ps.NUMERICIDENTIFIERLOOSE]})\\.(${ds[ps.NUMERICIDENTIFIERLOOSE]})\\.(${ds[ps.NUMERICIDENTIFIERLOOSE]})`);au("PRERELEASEIDENTIFIER",`(?:${ds[ps.NUMERICIDENTIFIER]}|${ds[ps.NONNUMERICIDENTIFIER]})`);au("PRERELEASEIDENTIFIERLOOSE",`(?:${ds[ps.NUMERICIDENTIFIERLOOSE]}|${ds[ps.NONNUMERICIDENTIFIER]})`);au("PRERELEASE",`(?:-(${ds[ps.PRERELEASEIDENTIFIER]}(?:\\.${ds[ps.PRERELEASEIDENTIFIER]})*))`);au("PRERELEASELOOSE",`(?:-?(${ds[ps.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ds[ps.PRERELEASEIDENTIFIERLOOSE]})*))`);au("BUILDIDENTIFIER",`${kvr}+`);au("BUILD",`(?:\\+(${ds[ps.BUILDIDENTIFIER]}(?:\\.${ds[ps.BUILDIDENTIFIER]})*))`);au("FULLPLAIN",`v?${ds[ps.MAINVERSION]}${ds[ps.PRERELEASE]}?${ds[ps.BUILD]}?`);au("FULL",`^${ds[ps.FULLPLAIN]}$`);au("LOOSEPLAIN",`[v=\\s]*${ds[ps.MAINVERSIONLOOSE]}${ds[ps.PRERELEASELOOSE]}?${ds[ps.BUILD]}?`);au("LOOSE",`^${ds[ps.LOOSEPLAIN]}$`);au("GTLT","((?:<|>)?=?)");au("XRANGEIDENTIFIERLOOSE",`${ds[ps.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);au("XRANGEIDENTIFIER",`${ds[ps.NUMERICIDENTIFIER]}|x|X|\\*`);au("XRANGEPLAIN",`[v=\\s]*(${ds[ps.XRANGEIDENTIFIER]})(?:\\.(${ds[ps.XRANGEIDENTIFIER]})(?:\\.(${ds[ps.XRANGEIDENTIFIER]})(?:${ds[ps.PRERELEASE]})?${ds[ps.BUILD]}?)?)?`);au("XRANGEPLAINLOOSE",`[v=\\s]*(${ds[ps.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ds[ps.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ds[ps.XRANGEIDENTIFIERLOOSE]})(?:${ds[ps.PRERELEASELOOSE]})?${ds[ps.BUILD]}?)?)?`);au("XRANGE",`^${ds[ps.GTLT]}\\s*${ds[ps.XRANGEPLAIN]}$`);au("XRANGELOOSE",`^${ds[ps.GTLT]}\\s*${ds[ps.XRANGEPLAINLOOSE]}$`);au("COERCE",`(^|[^\\d])(\\d{1,${Pvr}})(?:\\.(\\d{1,${Pvr}}))?(?:\\.(\\d{1,${Pvr}}))?(?:$|[^\\d])`);au("COERCERTL",ds[ps.COERCE],!0);au("LONETILDE","(?:~>?)");au("TILDETRIM",`(\\s*)${ds[ps.LONETILDE]}\\s+`,!0);xz.tildeTrimReplace="$1~";au("TILDE",`^${ds[ps.LONETILDE]}${ds[ps.XRANGEPLAIN]}$`);au("TILDELOOSE",`^${ds[ps.LONETILDE]}${ds[ps.XRANGEPLAINLOOSE]}$`);au("LONECARET","(?:\\^)");au("CARETTRIM",`(\\s*)${ds[ps.LONECARET]}\\s+`,!0);xz.caretTrimReplace="$1^";au("CARET",`^${ds[ps.LONECARET]}${ds[ps.XRANGEPLAIN]}$`);au("CARETLOOSE",`^${ds[ps.LONECARET]}${ds[ps.XRANGEPLAINLOOSE]}$`);au("COMPARATORLOOSE",`^${ds[ps.GTLT]}\\s*(${ds[ps.LOOSEPLAIN]})$|^$`);au("COMPARATOR",`^${ds[ps.GTLT]}\\s*(${ds[ps.FULLPLAIN]})$|^$`);au("COMPARATORTRIM",`(\\s*)${ds[ps.GTLT]}\\s*(${ds[ps.LOOSEPLAIN]}|${ds[ps.XRANGEPLAIN]})`,!0);xz.comparatorTrimReplace="$1$2$3";au("HYPHENRANGE",`^\\s*(${ds[ps.XRANGEPLAIN]})\\s+-\\s+(${ds[ps.XRANGEPLAIN]})\\s*$`);au("HYPHENRANGELOOSE",`^\\s*(${ds[ps.XRANGEPLAINLOOSE]})\\s+-\\s+(${ds[ps.XRANGEPLAINLOOSE]})\\s*$`);au("STAR","(<|>)?=?\\s*\\*");au("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");au("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var z2t=I((fjd,rhi)=>{var Ful=Object.freeze({loose:!0}),qul=Object.freeze({}),zul=r=>r?typeof r!="object"?Ful:r:qul;rhi.exports=zul});var Lvr=I((Ajd,ohi)=>{var nhi=/^[0-9]+$/,ihi=(r,t)=>{let n=nhi.test(r),i=nhi.test(t);return n&&i&&(r=+r,t=+t),r===t?0:n&&!i?-1:i&&!n?1:r<t?-1:1},Uul=(r,t)=>ihi(t,r);ohi.exports={compareIdentifiers:ihi,rcompareIdentifiers:Uul}});var yb=I((hjd,uhi)=>{var U2t=kqe(),{MAX_LENGTH:shi,MAX_SAFE_INTEGER:j2t}=Pqe(),{safeRe:ahi,t:lhi}=m3e(),jul=z2t(),{compareIdentifiers:y3e}=Lvr(),Qvr=class r{constructor(t,n){if(n=jul(n),t instanceof r){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>shi)throw new TypeError(`version is longer than ${shi} characters`);U2t("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let i=t.trim().match(n.loose?ahi[lhi.LOOSE]:ahi[lhi.FULL]);if(!i)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>j2t||this.major<0)throw new TypeError("Invalid major version");if(this.minor>j2t||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>j2t||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){let s=+o;if(s>=0&&s<j2t)return s}return o}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(U2t("SemVer.compare",this.version,this.options,t),!(t instanceof r)){if(typeof t=="string"&&t===this.version)return 0;t=new r(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof r||(t=new r(t,this.options)),y3e(this.major,t.major)||y3e(this.minor,t.minor)||y3e(this.patch,t.patch)}comparePre(t){if(t instanceof r||(t=new r(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{let i=this.prerelease[n],o=t.prerelease[n];if(U2t("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return y3e(i,o)}while(++n)}compareBuild(t){t instanceof r||(t=new r(t,this.options));let n=0;do{let i=this.build[n],o=t.build[n];if(U2t("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return y3e(i,o)}while(++n)}inc(t,n,i){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,i),this.inc("pre",n,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,i),this.inc("pre",n,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let o=Number(i)?1:0;if(!n&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[o];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(n===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(n){let s=[n,o];i===!1&&(s=[n]),y3e(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};uhi.exports=Qvr});var uue=I((gjd,dhi)=>{var chi=yb(),Gul=(r,t,n=!1)=>{if(r instanceof chi)return r;try{return new chi(r,t)}catch(i){if(!n)return null;throw i}};dhi.exports=Gul});var fhi=I((mjd,phi)=>{var Wul=uue(),Hul=(r,t)=>{let n=Wul(r,t);return n?n.version:null};phi.exports=Hul});var hhi=I((yjd,Ahi)=>{var Vul=uue(),Yul=(r,t)=>{let n=Vul(r.trim().replace(/^[=v]+/,""),t);return n?n.version:null};Ahi.exports=Yul});var yhi=I((Ejd,mhi)=>{var ghi=yb(),Kul=(r,t,n,i,o)=>{typeof n=="string"&&(o=i,i=n,n=void 0);try{return new ghi(r instanceof ghi?r.version:r,n).inc(t,i,o).version}catch{return null}};mhi.exports=Kul});var Chi=I((bjd,bhi)=>{var Ehi=uue(),Jul=(r,t)=>{let n=Ehi(r,null,!0),i=Ehi(t,null,!0),o=n.compare(i);if(o===0)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length;if(!!l.prerelease.length&&!c)return!l.patch&&!l.minor?"major":a.patch?"patch":a.minor?"minor":"major";let d=c?"pre":"";return n.major!==i.major?d+"major":n.minor!==i.minor?d+"minor":n.patch!==i.patch?d+"patch":"prerelease"};bhi.exports=Jul});var vhi=I((Cjd,Ihi)=>{var Xul=yb(),$ul=(r,t)=>new Xul(r,t).major;Ihi.exports=$ul});var Thi=I((Ijd,Shi)=>{var Zul=yb(),ecl=(r,t)=>new Zul(r,t).minor;Shi.exports=ecl});var _hi=I((vjd,Ohi)=>{var tcl=yb(),rcl=(r,t)=>new tcl(r,t).patch;Ohi.exports=rcl});var whi=I((Sjd,Rhi)=>{var ncl=uue(),icl=(r,t)=>{let n=ncl(r,t);return n&&n.prerelease.length?n.prerelease:null};Rhi.exports=icl});var A5=I((Tjd,Mhi)=>{var Bhi=yb(),ocl=(r,t,n)=>new Bhi(r,n).compare(new Bhi(t,n));Mhi.exports=ocl});var Dhi=I((Ojd,xhi)=>{var scl=A5(),acl=(r,t,n)=>scl(t,r,n);xhi.exports=acl});var Phi=I((_jd,Nhi)=>{var lcl=A5(),ucl=(r,t)=>lcl(r,t,!0);Nhi.exports=ucl});var G2t=I((Rjd,Lhi)=>{var khi=yb(),ccl=(r,t,n)=>{let i=new khi(r,n),o=new khi(t,n);return i.compare(o)||i.compareBuild(o)};Lhi.exports=ccl});var Fhi=I((wjd,Qhi)=>{var dcl=G2t(),pcl=(r,t)=>r.sort((n,i)=>dcl(n,i,t));Qhi.exports=pcl});var zhi=I((Bjd,qhi)=>{var fcl=G2t(),Acl=(r,t)=>r.sort((n,i)=>fcl(i,n,t));qhi.exports=Acl});var Lqe=I((Mjd,Uhi)=>{var hcl=A5(),gcl=(r,t,n)=>hcl(r,t,n)>0;Uhi.exports=gcl});var W2t=I((xjd,jhi)=>{var mcl=A5(),ycl=(r,t,n)=>mcl(r,t,n)<0;jhi.exports=ycl});var Fvr=I((Djd,Ghi)=>{var Ecl=A5(),bcl=(r,t,n)=>Ecl(r,t,n)===0;Ghi.exports=bcl});var qvr=I((Njd,Whi)=>{var Ccl=A5(),Icl=(r,t,n)=>Ccl(r,t,n)!==0;Whi.exports=Icl});var H2t=I((Pjd,Hhi)=>{var vcl=A5(),Scl=(r,t,n)=>vcl(r,t,n)>=0;Hhi.exports=Scl});var V2t=I((kjd,Vhi)=>{var Tcl=A5(),Ocl=(r,t,n)=>Tcl(r,t,n)<=0;Vhi.exports=Ocl});var zvr=I((Ljd,Yhi)=>{var _cl=Fvr(),Rcl=qvr(),wcl=Lqe(),Bcl=H2t(),Mcl=W2t(),xcl=V2t(),Dcl=(r,t,n,i)=>{switch(t){case"===":return typeof r=="object"&&(r=r.version),typeof n=="object"&&(n=n.version),r===n;case"!==":return typeof r=="object"&&(r=r.version),typeof n=="object"&&(n=n.version),r!==n;case"":case"=":case"==":return _cl(r,n,i);case"!=":return Rcl(r,n,i);case">":return wcl(r,n,i);case">=":return Bcl(r,n,i);case"<":return Mcl(r,n,i);case"<=":return xcl(r,n,i);default:throw new TypeError(`Invalid operator: ${t}`)}};Yhi.exports=Dcl});var Jhi=I((Qjd,Khi)=>{var Ncl=yb(),Pcl=uue(),{safeRe:Y2t,t:K2t}=m3e(),kcl=(r,t)=>{if(r instanceof Ncl)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;t=t||{};let n=null;if(!t.rtl)n=r.match(Y2t[K2t.COERCE]);else{let i;for(;(i=Y2t[K2t.COERCERTL].exec(r))&&(!n||n.index+n[0].length!==r.length);)(!n||i.index+i[0].length!==n.index+n[0].length)&&(n=i),Y2t[K2t.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;Y2t[K2t.COERCERTL].lastIndex=-1}return n===null?null:Pcl(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};Khi.exports=kcl});var $hi=I((Fjd,Xhi)=>{"use strict";Xhi.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var Uvr=I((qjd,Zhi)=>{"use strict";Zhi.exports=d0;d0.Node=cue;d0.create=d0;function d0(r){var t=this;if(t instanceof d0||(t=new d0),t.tail=null,t.head=null,t.length=0,r&&typeof r.forEach=="function")r.forEach(function(o){t.push(o)});else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}d0.prototype.removeNode=function(r){if(r.list!==this)throw new Error("removing node which does not belong to this list");var t=r.next,n=r.prev;return t&&(t.prev=n),n&&(n.next=t),r===this.head&&(this.head=t),r===this.tail&&(this.tail=n),r.list.length--,r.next=null,r.prev=null,r.list=null,t};d0.prototype.unshiftNode=function(r){if(r!==this.head){r.list&&r.list.removeNode(r);var t=this.head;r.list=this,r.next=t,t&&(t.prev=r),this.head=r,this.tail||(this.tail=r),this.length++}};d0.prototype.pushNode=function(r){if(r!==this.tail){r.list&&r.list.removeNode(r);var t=this.tail;r.list=this,r.prev=t,t&&(t.next=r),this.tail=r,this.head||(this.head=r),this.length++}};d0.prototype.push=function(){for(var r=0,t=arguments.length;r<t;r++)Qcl(this,arguments[r]);return this.length};d0.prototype.unshift=function(){for(var r=0,t=arguments.length;r<t;r++)Fcl(this,arguments[r]);return this.length};d0.prototype.pop=function(){if(this.tail){var r=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,r}};d0.prototype.shift=function(){if(this.head){var r=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,r}};d0.prototype.forEach=function(r,t){t=t||this;for(var n=this.head,i=0;n!==null;i++)r.call(t,n.value,i,this),n=n.next};d0.prototype.forEachReverse=function(r,t){t=t||this;for(var n=this.tail,i=this.length-1;n!==null;i--)r.call(t,n.value,i,this),n=n.prev};d0.prototype.get=function(r){for(var t=0,n=this.head;n!==null&&t<r;t++)n=n.next;if(t===r&&n!==null)return n.value};d0.prototype.getReverse=function(r){for(var t=0,n=this.tail;n!==null&&t<r;t++)n=n.prev;if(t===r&&n!==null)return n.value};d0.prototype.map=function(r,t){t=t||this;for(var n=new d0,i=this.head;i!==null;)n.push(r.call(t,i.value,this)),i=i.next;return n};d0.prototype.mapReverse=function(r,t){t=t||this;for(var n=new d0,i=this.tail;i!==null;)n.push(r.call(t,i.value,this)),i=i.prev;return n};d0.prototype.reduce=function(r,t){var n,i=this.head;if(arguments.length>1)n=t;else if(this.head)i=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=0;i!==null;o++)n=r(n,i.value,o),i=i.next;return n};d0.prototype.reduceReverse=function(r,t){var n,i=this.tail;if(arguments.length>1)n=t;else if(this.tail)i=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=this.length-1;i!==null;o--)n=r(n,i.value,o),i=i.prev;return n};d0.prototype.toArray=function(){for(var r=new Array(this.length),t=0,n=this.head;n!==null;t++)r[t]=n.value,n=n.next;return r};d0.prototype.toArrayReverse=function(){for(var r=new Array(this.length),t=0,n=this.tail;n!==null;t++)r[t]=n.value,n=n.prev;return r};d0.prototype.slice=function(r,t){t=t||this.length,t<0&&(t+=this.length),r=r||0,r<0&&(r+=this.length);var n=new d0;if(t<r||t<0)return n;r<0&&(r=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;o!==null&&i<r;i++)o=o.next;for(;o!==null&&i<t;i++,o=o.next)n.push(o.value);return n};d0.prototype.sliceReverse=function(r,t){t=t||this.length,t<0&&(t+=this.length),r=r||0,r<0&&(r+=this.length);var n=new d0;if(t<r||t<0)return n;r<0&&(r=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;o!==null&&i>t;i--)o=o.prev;for(;o!==null&&i>r;i--,o=o.prev)n.push(o.value);return n};d0.prototype.splice=function(r,t,...n){r>this.length&&(r=this.length-1),r<0&&(r=this.length+r);for(var i=0,o=this.head;o!==null&&i<r;i++)o=o.next;for(var s=[],i=0;o&&i<t;i++)s.push(o.value),o=this.removeNode(o);o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var i=0;i<n.length;i++)o=Lcl(this,o,n[i]);return s};d0.prototype.reverse=function(){for(var r=this.head,t=this.tail,n=r;n!==null;n=n.prev){var i=n.prev;n.prev=n.next,n.next=i}return this.head=t,this.tail=r,this};function Lcl(r,t,n){var i=t===r.head?new cue(n,null,t,r):new cue(n,t,t.next,r);return i.next===null&&(r.tail=i),i.prev===null&&(r.head=i),r.length++,i}function Qcl(r,t){r.tail=new cue(t,r.tail,null,r),r.head||(r.head=r.tail),r.length++}function Fcl(r,t){r.head=new cue(t,null,r.head,r),r.tail||(r.tail=r.head),r.length++}function cue(r,t,n,i){if(!(this instanceof cue))return new cue(r,t,n,i);this.list=i,this.value=r,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{$hi()(d0)}catch{}});var C3e=I((zjd,ngi)=>{"use strict";var qcl=Uvr(),due=Symbol("max"),Nz=Symbol("length"),E3e=Symbol("lengthCalculator"),Fqe=Symbol("allowStale"),pue=Symbol("maxAge"),Dz=Symbol("dispose"),egi=Symbol("noDisposeOnSet"),W2=Symbol("lruList"),zM=Symbol("cache"),rgi=Symbol("updateAgeOnGet"),jvr=()=>1,Wvr=class{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");let n=this[due]=t.max||1/0,i=t.length||jvr;if(this[E3e]=typeof i!="function"?jvr:i,this[Fqe]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[pue]=t.maxAge||0,this[Dz]=t.dispose,this[egi]=t.noDisposeOnSet||!1,this[rgi]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[due]=t||1/0,Qqe(this)}get max(){return this[due]}set allowStale(t){this[Fqe]=!!t}get allowStale(){return this[Fqe]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[pue]=t,Qqe(this)}get maxAge(){return this[pue]}set lengthCalculator(t){typeof t!="function"&&(t=jvr),t!==this[E3e]&&(this[E3e]=t,this[Nz]=0,this[W2].forEach(n=>{n.length=this[E3e](n.value,n.key),this[Nz]+=n.length})),Qqe(this)}get lengthCalculator(){return this[E3e]}get length(){return this[Nz]}get itemCount(){return this[W2].length}rforEach(t,n){n=n||this;for(let i=this[W2].tail;i!==null;){let o=i.prev;tgi(this,t,i,n),i=o}}forEach(t,n){n=n||this;for(let i=this[W2].head;i!==null;){let o=i.next;tgi(this,t,i,n),i=o}}keys(){return this[W2].toArray().map(t=>t.key)}values(){return this[W2].toArray().map(t=>t.value)}reset(){this[Dz]&&this[W2]&&this[W2].length&&this[W2].forEach(t=>this[Dz](t.key,t.value)),this[zM]=new Map,this[W2]=new qcl,this[Nz]=0}dump(){return this[W2].map(t=>J2t(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[W2]}set(t,n,i){if(i=i||this[pue],i&&typeof i!="number")throw new TypeError("maxAge must be a number");let o=i?Date.now():0,s=this[E3e](n,t);if(this[zM].has(t)){if(s>this[due])return b3e(this,this[zM].get(t)),!1;let c=this[zM].get(t).value;return this[Dz]&&(this[egi]||this[Dz](t,c.value)),c.now=o,c.maxAge=i,c.value=n,this[Nz]+=s-c.length,c.length=s,this.get(t),Qqe(this),!0}let a=new Hvr(t,n,s,o,i);return a.length>this[due]?(this[Dz]&&this[Dz](t,n),!1):(this[Nz]+=a.length,this[W2].unshift(a),this[zM].set(t,this[W2].head),Qqe(this),!0)}has(t){if(!this[zM].has(t))return!1;let n=this[zM].get(t).value;return!J2t(this,n)}get(t){return Gvr(this,t,!0)}peek(t){return Gvr(this,t,!1)}pop(){let t=this[W2].tail;return t?(b3e(this,t),t.value):null}del(t){b3e(this,this[zM].get(t))}load(t){this.reset();let n=Date.now();for(let i=t.length-1;i>=0;i--){let o=t[i],s=o.e||0;if(s===0)this.set(o.k,o.v);else{let a=s-n;a>0&&this.set(o.k,o.v,a)}}}prune(){this[zM].forEach((t,n)=>Gvr(this,n,!1))}},Gvr=(r,t,n)=>{let i=r[zM].get(t);if(i){let o=i.value;if(J2t(r,o)){if(b3e(r,i),!r[Fqe])return}else n&&(r[rgi]&&(i.value.now=Date.now()),r[W2].unshiftNode(i));return o.value}},J2t=(r,t)=>{if(!t||!t.maxAge&&!r[pue])return!1;let n=Date.now()-t.now;return t.maxAge?n>t.maxAge:r[pue]&&n>r[pue]},Qqe=r=>{if(r[Nz]>r[due])for(let t=r[W2].tail;r[Nz]>r[due]&&t!==null;){let n=t.prev;b3e(r,t),t=n}},b3e=(r,t)=>{if(t){let n=t.value;r[Dz]&&r[Dz](n.key,n.value),r[Nz]-=n.length,r[zM].delete(n.key),r[W2].removeNode(t)}},Hvr=class{constructor(t,n,i,o,s){this.key=t,this.value=n,this.length=i,this.now=o,this.maxAge=s||0}},tgi=(r,t,n,i)=>{let o=n.value;J2t(r,o)&&(b3e(r,n),r[Fqe]||(o=void 0)),o&&t.call(i,o.value,o.key,r)};ngi.exports=Wvr});var h5=I((Ujd,agi)=>{var Vvr=class r{constructor(t,n){if(n=Ucl(n),t instanceof r)return t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease?t:new r(t.raw,n);if(t instanceof Yvr)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(o=>!ogi(o[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let o of this.set)if(o.length===1&&Kcl(o[0])){this.set=[o];break}}}this.format()}format(){return this.range=this.set.map(t=>t.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(t){let i=((this.options.includePrerelease&&Vcl)|(this.options.loose&&Ycl))+":"+t,o=igi.get(i);if(o)return o;let s=this.options.loose,a=s?cS[lI.HYPHENRANGELOOSE]:cS[lI.HYPHENRANGE];t=t.replace(a,o0l(this.options.includePrerelease)),I1("hyphen replace",t),t=t.replace(cS[lI.COMPARATORTRIM],Gcl),I1("comparator trim",t),t=t.replace(cS[lI.TILDETRIM],Wcl),I1("tilde trim",t),t=t.replace(cS[lI.CARETTRIM],Hcl),I1("caret trim",t);let l=t.split(" ").map(p=>Jcl(p,this.options)).join(" ").split(/\s+/).map(p=>i0l(p,this.options));s&&(l=l.filter(p=>(I1("loose invalid filter",p,this.options),!!p.match(cS[lI.COMPARATORLOOSE])))),I1("range list",l);let c=new Map,u=l.map(p=>new Yvr(p,this.options));for(let p of u){if(ogi(p))return[p];c.set(p.value,p)}c.size>1&&c.has("")&&c.delete("");let d=[...c.values()];return igi.set(i,d),d}intersects(t,n){if(!(t instanceof r))throw new TypeError("a Range is required");return this.set.some(i=>sgi(i,n)&&t.set.some(o=>sgi(o,n)&&i.every(s=>o.every(a=>s.intersects(a,n)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new jcl(t,this.options)}catch{return!1}for(let n=0;n<this.set.length;n++)if(s0l(this.set[n],t,this.options))return!0;return!1}};agi.exports=Vvr;var zcl=C3e(),igi=new zcl({max:1e3}),Ucl=z2t(),Yvr=qqe(),I1=kqe(),jcl=yb(),{safeRe:cS,t:lI,comparatorTrimReplace:Gcl,tildeTrimReplace:Wcl,caretTrimReplace:Hcl}=m3e(),{FLAG_INCLUDE_PRERELEASE:Vcl,FLAG_LOOSE:Ycl}=Pqe(),ogi=r=>r.value==="<0.0.0-0",Kcl=r=>r.value==="",sgi=(r,t)=>{let n=!0,i=r.slice(),o=i.pop();for(;n&&i.length;)n=i.every(s=>o.intersects(s,t)),o=i.pop();return n},Jcl=(r,t)=>(I1("comp",r,t),r=Zcl(r,t),I1("caret",r),r=Xcl(r,t),I1("tildes",r),r=t0l(r,t),I1("xrange",r),r=n0l(r,t),I1("stars",r),r),uI=r=>!r||r.toLowerCase()==="x"||r==="*",Xcl=(r,t)=>r.trim().split(/\s+/).map(n=>$cl(n,t)).join(" "),$cl=(r,t)=>{let n=t.loose?cS[lI.TILDELOOSE]:cS[lI.TILDE];return r.replace(n,(i,o,s,a,l)=>{I1("tilde",r,i,o,s,a,l);let c;return uI(o)?c="":uI(s)?c=`>=${o}.0.0 <${+o+1}.0.0-0`:uI(a)?c=`>=${o}.${s}.0 <${o}.${+s+1}.0-0`:l?(I1("replaceTilde pr",l),c=`>=${o}.${s}.${a}-${l} <${o}.${+s+1}.0-0`):c=`>=${o}.${s}.${a} <${o}.${+s+1}.0-0`,I1("tilde return",c),c})},Zcl=(r,t)=>r.trim().split(/\s+/).map(n=>e0l(n,t)).join(" "),e0l=(r,t)=>{I1("caret",r,t);let n=t.loose?cS[lI.CARETLOOSE]:cS[lI.CARET],i=t.includePrerelease?"-0":"";return r.replace(n,(o,s,a,l,c)=>{I1("caret",r,o,s,a,l,c);let u;return uI(s)?u="":uI(a)?u=`>=${s}.0.0${i} <${+s+1}.0.0-0`:uI(l)?s==="0"?u=`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:c?(I1("replaceCaret pr",c),s==="0"?a==="0"?u=`>=${s}.${a}.${l}-${c} <${s}.${a}.${+l+1}-0`:u=`>=${s}.${a}.${l}-${c} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${l}-${c} <${+s+1}.0.0-0`):(I1("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${l}${i} <${s}.${a}.${+l+1}-0`:u=`>=${s}.${a}.${l}${i} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${l} <${+s+1}.0.0-0`),I1("caret return",u),u})},t0l=(r,t)=>(I1("replaceXRanges",r,t),r.split(/\s+/).map(n=>r0l(n,t)).join(" ")),r0l=(r,t)=>{r=r.trim();let n=t.loose?cS[lI.XRANGELOOSE]:cS[lI.XRANGE];return r.replace(n,(i,o,s,a,l,c)=>{I1("xRange",r,i,o,s,a,l,c);let u=uI(s),d=u||uI(a),p=d||uI(l),f=p;return o==="="&&f&&(o=""),c=t.includePrerelease?"-0":"",u?o===">"||o==="<"?i="<0.0.0-0":i="*":o&&f?(d&&(a=0),l=0,o===">"?(o=">=",d?(s=+s+1,a=0,l=0):(a=+a+1,l=0)):o==="<="&&(o="<",d?s=+s+1:a=+a+1),o==="<"&&(c="-0"),i=`${o+s}.${a}.${l}${c}`):d?i=`>=${s}.0.0${c} <${+s+1}.0.0-0`:p&&(i=`>=${s}.${a}.0${c} <${s}.${+a+1}.0-0`),I1("xRange return",i),i})},n0l=(r,t)=>(I1("replaceStars",r,t),r.trim().replace(cS[lI.STAR],"")),i0l=(r,t)=>(I1("replaceGTE0",r,t),r.trim().replace(cS[t.includePrerelease?lI.GTE0PRE:lI.GTE0],"")),o0l=r=>(t,n,i,o,s,a,l,c,u,d,p,f,A)=>(uI(i)?n="":uI(o)?n=`>=${i}.0.0${r?"-0":""}`:uI(s)?n=`>=${i}.${o}.0${r?"-0":""}`:a?n=`>=${n}`:n=`>=${n}${r?"-0":""}`,uI(u)?c="":uI(d)?c=`<${+u+1}.0.0-0`:uI(p)?c=`<${u}.${+d+1}.0-0`:f?c=`<=${u}.${d}.${p}-${f}`:r?c=`<${u}.${d}.${+p+1}-0`:c=`<=${c}`,`${n} ${c}`.trim()),s0l=(r,t,n)=>{for(let i=0;i<r.length;i++)if(!r[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let i=0;i<r.length;i++)if(I1(r[i].semver),r[i].semver!==Yvr.ANY&&r[i].semver.prerelease.length>0){let o=r[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}});var qqe=I((jjd,fgi)=>{var zqe=Symbol("SemVer ANY"),Xvr=class r{static get ANY(){return zqe}constructor(t,n){if(n=lgi(n),t instanceof r){if(t.loose===!!n.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),Jvr("comparator",t,n),this.options=n,this.loose=!!n.loose,this.parse(t),this.semver===zqe?this.value="":this.value=this.operator+this.semver.version,Jvr("comp",this)}parse(t){let n=this.options.loose?ugi[cgi.COMPARATORLOOSE]:ugi[cgi.COMPARATOR],i=t.match(n);if(!i)throw new TypeError(`Invalid comparator: ${t}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new dgi(i[2],this.options.loose):this.semver=zqe}toString(){return this.value}test(t){if(Jvr("Comparator.test",t,this.options.loose),this.semver===zqe||t===zqe)return!0;if(typeof t=="string")try{t=new dgi(t,this.options)}catch{return!1}return Kvr(t,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new pgi(t.value,n).test(this.value):t.operator===""?t.value===""?!0:new pgi(this.value,n).test(t.semver):(n=lgi(n),n.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!n.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||Kvr(this.semver,"<",t.semver,n)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||Kvr(this.semver,">",t.semver,n)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};fgi.exports=Xvr;var lgi=z2t(),{safeRe:ugi,t:cgi}=m3e(),Kvr=zvr(),Jvr=kqe(),dgi=yb(),pgi=h5()});var Uqe=I((Gjd,Agi)=>{var a0l=h5(),l0l=(r,t,n)=>{try{t=new a0l(t,n)}catch{return!1}return t.test(r)};Agi.exports=l0l});var ggi=I((Wjd,hgi)=>{var u0l=h5(),c0l=(r,t)=>new u0l(r,t).set.map(n=>n.map(i=>i.value).join(" ").trim().split(" "));hgi.exports=c0l});var ygi=I((Hjd,mgi)=>{var d0l=yb(),p0l=h5(),f0l=(r,t,n)=>{let i=null,o=null,s=null;try{s=new p0l(t,n)}catch{return null}return r.forEach(a=>{s.test(a)&&(!i||o.compare(a)===-1)&&(i=a,o=new d0l(i,n))}),i};mgi.exports=f0l});var bgi=I((Vjd,Egi)=>{var A0l=yb(),h0l=h5(),g0l=(r,t,n)=>{let i=null,o=null,s=null;try{s=new h0l(t,n)}catch{return null}return r.forEach(a=>{s.test(a)&&(!i||o.compare(a)===1)&&(i=a,o=new A0l(i,n))}),i};Egi.exports=g0l});var vgi=I((Yjd,Igi)=>{var $vr=yb(),m0l=h5(),Cgi=Lqe(),y0l=(r,t)=>{r=new m0l(r,t);let n=new $vr("0.0.0");if(r.test(n)||(n=new $vr("0.0.0-0"),r.test(n)))return n;n=null;for(let i=0;i<r.set.length;++i){let o=r.set[i],s=null;o.forEach(a=>{let l=new $vr(a.semver.version);switch(a.operator){case">":l.prerelease.length===0?l.patch++:l.prerelease.push(0),l.raw=l.format();case"":case">=":(!s||Cgi(l,s))&&(s=l);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!n||Cgi(n,s))&&(n=s)}return n&&r.test(n)?n:null};Igi.exports=y0l});var Tgi=I((Kjd,Sgi)=>{var E0l=h5(),b0l=(r,t)=>{try{return new E0l(r,t).range||"*"}catch{return null}};Sgi.exports=b0l});var X2t=I((Jjd,wgi)=>{var C0l=yb(),Rgi=qqe(),{ANY:I0l}=Rgi,v0l=h5(),S0l=Uqe(),Ogi=Lqe(),_gi=W2t(),T0l=V2t(),O0l=H2t(),_0l=(r,t,n,i)=>{r=new C0l(r,i),t=new v0l(t,i);let o,s,a,l,c;switch(n){case">":o=Ogi,s=T0l,a=_gi,l=">",c=">=";break;case"<":o=_gi,s=O0l,a=Ogi,l="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(S0l(r,t,i))return!1;for(let u=0;u<t.set.length;++u){let d=t.set[u],p=null,f=null;if(d.forEach(A=>{A.semver===I0l&&(A=new Rgi(">=0.0.0")),p=p||A,f=f||A,o(A.semver,p.semver,i)?p=A:a(A.semver,f.semver,i)&&(f=A)}),p.operator===l||p.operator===c||(!f.operator||f.operator===l)&&s(r,f.semver))return!1;if(f.operator===c&&a(r,f.semver))return!1}return!0};wgi.exports=_0l});var Mgi=I((Xjd,Bgi)=>{var R0l=X2t(),w0l=(r,t,n)=>R0l(r,t,">",n);Bgi.exports=w0l});var Dgi=I(($jd,xgi)=>{var B0l=X2t(),M0l=(r,t,n)=>B0l(r,t,"<",n);xgi.exports=M0l});var kgi=I((Zjd,Pgi)=>{var Ngi=h5(),x0l=(r,t,n)=>(r=new Ngi(r,n),t=new Ngi(t,n),r.intersects(t,n));Pgi.exports=x0l});var Qgi=I((eGd,Lgi)=>{var D0l=Uqe(),N0l=A5();Lgi.exports=(r,t,n)=>{let i=[],o=null,s=null,a=r.sort((d,p)=>N0l(d,p,n));for(let d of a)D0l(d,t,n)?(s=d,o||(o=d)):(s&&i.push([o,s]),s=null,o=null);o&&i.push([o,null]);let l=[];for(let[d,p]of i)d===p?l.push(d):!p&&d===a[0]?l.push("*"):p?d===a[0]?l.push(`<=${p}`):l.push(`${d} - ${p}`):l.push(`>=${d}`);let c=l.join(" || "),u=typeof t.raw=="string"?t.raw:String(t);return c.length<u.length?c:t}});var Ggi=I((tGd,jgi)=>{var Fgi=h5(),eSr=qqe(),{ANY:Zvr}=eSr,jqe=Uqe(),tSr=A5(),P0l=(r,t,n={})=>{if(r===t)return!0;r=new Fgi(r,n),t=new Fgi(t,n);let i=!1;e:for(let o of r.set){for(let s of t.set){let a=L0l(o,s,n);if(i=i||a!==null,a)continue e}if(i)return!1}return!0},k0l=[new eSr(">=0.0.0-0")],qgi=[new eSr(">=0.0.0")],L0l=(r,t,n)=>{if(r===t)return!0;if(r.length===1&&r[0].semver===Zvr){if(t.length===1&&t[0].semver===Zvr)return!0;n.includePrerelease?r=k0l:r=qgi}if(t.length===1&&t[0].semver===Zvr){if(n.includePrerelease)return!0;t=qgi}let i=new Set,o,s;for(let A of r)A.operator===">"||A.operator===">="?o=zgi(o,A,n):A.operator==="<"||A.operator==="<="?s=Ugi(s,A,n):i.add(A.semver);if(i.size>1)return null;let a;if(o&&s){if(a=tSr(o.semver,s.semver,n),a>0)return null;if(a===0&&(o.operator!==">="||s.operator!=="<="))return null}for(let A of i){if(o&&!jqe(A,String(o),n)||s&&!jqe(A,String(s),n))return null;for(let h of t)if(!jqe(A,String(h),n))return!1;return!0}let l,c,u,d,p=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1;p&&p.prerelease.length===1&&s.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(let A of t){if(d=d||A.operator===">"||A.operator===">=",u=u||A.operator==="<"||A.operator==="<=",o){if(f&&A.semver.prerelease&&A.semver.prerelease.length&&A.semver.major===f.major&&A.semver.minor===f.minor&&A.semver.patch===f.patch&&(f=!1),A.operator===">"||A.operator===">="){if(l=zgi(o,A,n),l===A&&l!==o)return!1}else if(o.operator===">="&&!jqe(o.semver,String(A),n))return!1}if(s){if(p&&A.semver.prerelease&&A.semver.prerelease.length&&A.semver.major===p.major&&A.semver.minor===p.minor&&A.semver.patch===p.patch&&(p=!1),A.operator==="<"||A.operator==="<="){if(c=Ugi(s,A,n),c===A&&c!==s)return!1}else if(s.operator==="<="&&!jqe(s.semver,String(A),n))return!1}if(!A.operator&&(s||o)&&a!==0)return!1}return!(o&&u&&!s&&a!==0||s&&d&&!o&&a!==0||f||p)},zgi=(r,t,n)=>{if(!r)return t;let i=tSr(r.semver,t.semver,n);return i>0?r:i<0||t.operator===">"&&r.operator===">="?t:r},Ugi=(r,t,n)=>{if(!r)return t;let i=tSr(r.semver,t.semver,n);return i<0?r:i>0||t.operator==="<"&&r.operator==="<="?t:r};jgi.exports=P0l});var I3e=I((rGd,Vgi)=>{var rSr=m3e(),Wgi=Pqe(),Q0l=yb(),Hgi=Lvr(),F0l=uue(),q0l=fhi(),z0l=hhi(),U0l=yhi(),j0l=Chi(),G0l=vhi(),W0l=Thi(),H0l=_hi(),V0l=whi(),Y0l=A5(),K0l=Dhi(),J0l=Phi(),X0l=G2t(),$0l=Fhi(),Z0l=zhi(),edl=Lqe(),tdl=W2t(),rdl=Fvr(),ndl=qvr(),idl=H2t(),odl=V2t(),sdl=zvr(),adl=Jhi(),ldl=qqe(),udl=h5(),cdl=Uqe(),ddl=ggi(),pdl=ygi(),fdl=bgi(),Adl=vgi(),hdl=Tgi(),gdl=X2t(),mdl=Mgi(),ydl=Dgi(),Edl=kgi(),bdl=Qgi(),Cdl=Ggi();Vgi.exports={parse:F0l,valid:q0l,clean:z0l,inc:U0l,diff:j0l,major:G0l,minor:W0l,patch:H0l,prerelease:V0l,compare:Y0l,rcompare:K0l,compareLoose:J0l,compareBuild:X0l,sort:$0l,rsort:Z0l,gt:edl,lt:tdl,eq:rdl,neq:ndl,gte:idl,lte:odl,cmp:sdl,coerce:adl,Comparator:ldl,Range:udl,satisfies:cdl,toComparators:ddl,maxSatisfying:pdl,minSatisfying:fdl,minVersion:Adl,validRange:hdl,outside:gdl,gtr:mdl,ltr:ydl,intersects:Edl,simplifyRange:bdl,subset:Cdl,SemVer:Q0l,re:rSr.re,src:rSr.src,tokens:rSr.t,SEMVER_SPEC_VERSION:Wgi.SEMVER_SPEC_VERSION,RELEASE_TYPES:Wgi.RELEASE_TYPES,compareIdentifiers:Hgi.compareIdentifiers,rcompareIdentifiers:Hgi.rcompareIdentifiers}});var Gqe,Idl,iGd,vdl,Pz,v3e=Et(()=>{"use strict";Gqe=Ct(xE()),Idl=Ct(I3e()),iGd=(0,Gqe.Record)({version:Gqe.String,hash:Gqe.String}),vdl=()=>({version:"7.13.1-rc.1",hash:"9887dd5eb4a462ecfec36f7af0a50f986c10e50f"}),Pz=vdl()});var Ygi,g5,Kgi,nSr,iSr,Tdl,$2t,Odl,Wqe,Z2t=Et(()=>{"use strict";Ygi=Ct(Zle());_qe();l3e();Hqe();pc();v3e();Kgi=r=>{g5=r},nSr=r=>r.includes("production")?"production":r.includes("staging")?"staging":r.includes("qa")?"qa":"development",iSr=()=>{if(Vf()){let r=process.env.RUNTIME_ENVIRONMENT||"development";return uqn("coa")?process.env.COALESCE_COA_CLOUD_JOB_ID?nSr(r):void 0:nSr(r)}else{let r;try{r=self.ENVIRONMENT}catch{}return typeof r=="string"?nSr(r):void 0}},Tdl=()=>{let r=ec();if(r.isTest)return{};let t=iSr();return r.isNode?{firebaseEnv:t}:{windowInfo:{frontendURLHost:self.location.host},firebaseEnv:t}},$2t=r=>({coalesceSoftwareVersion:Pz?.version||"",service:r,env:process.env.REACT_APP_OWNER??"",reactAppCoalesceDev:process.env.REACT_APP_COALESCE_DEV??""}),Odl=r=>{let t=$2t(g5);return{appEnv:Tdl(),loggingArea:r,...t}},Wqe=r=>{let t=p5[r];if(!t)throw new Error(`Logging area "${r}" is not a valid LoggingAreas key`);return t.logger||(t.logger=Ygi.createLogger({levels:h2t.LEVELS,defaultMeta:Odl(r),level:t.level,transports:Jgi(t)})),t.logger}});var lSr,dS,oSr,Xgi,$gi,Zgi,sSr,uSr,eyt,_dl,cSr,S3e,aSr,tyt,dSr,Jgi,Hqe=Et(()=>{"use strict";lSr=Ct(vz()),dS=Ct(Zle());l3e();g2t();Z2t();pc();oSr=null,Xgi=r=>{oSr=r},$gi={emerg:"error",assert:"warn",alert:"warn",error:"warn",warn:"warn",app:"info",info:"info",debug:"debug"},Zgi={emerg:"emerg",assert:"alert",alert:"alert",error:"error",app:"info",info:"info",warn:"warn",debug:"debug"},sSr=class extends lSr.default{baseContext;constructor(t){super(t),this.baseContext=$2t(g5)}log(t,n){oSr&&oSr.log({...t,level:Zgi[t.level]},{...this.baseContext,...Fh},$gi[t.level]),n()}},eyt=r=>{let t=$2t(r);uSr={host:"http-intake.logs.datadoghq.com",path:`/v1/input/pub04bd017317b60c96b62874179d82ff97?ddtags=env:${t.env},coalesceSoftwareVersion:${t.coalesceSoftwareVersion}&ddsource=nodejs&service=${r}`,ssl:!0}},_dl=!1,cSr=()=>dS.format.combine(dS.format.timestamp(),dS.format.colorize({colors:h2t.COLORS}),dS.format.printf(r=>`|${r.timestamp}|${process.env.JEST_WORKER_ID?`[SHARD:${process.env.JEST_WORKER_ID}]`:""}[${r.loggingArea}]${r.orgID?`|(org:${r.orgID})`:""}${r.workspaceID?`|(env:${r.workspaceID})`:""}${r.userID?`|(user:${r.userID})`:""}${r.runID?`|run:${r.runID})`:""}(${r.nodeID?`|(node:${r.nodeID})`:""})|)|${r.level}:${r.message}`)),S3e=r=>new dS.transports.Console({format:process.env.CONSOLE_JSON_LOGS?dS.format.combine(dS.format.timestamp(),dS.format.json()):cSr(),level:r.level,silent:_dl}),aSr=class extends lSr.default{httpTransport;constructor(t,n){super(n),this.httpTransport=t}log(t,n){this.httpTransport.log?.({...t,level:Zgi[t.level],status:$gi[t.level]},n)}},tyt=()=>{let r=new dS.transports.Http({...uSr,format:dS.format.combine(cSr(),dS.format.uncolorize())});return new aSr(r)},dSr=()=>new dS.transports.File({filename:process.env.JEST_WORKER_ID?`test-shard-${process.env.JEST_WORKER_ID}.log`:"test.log",dirname:"./test-logs",format:cSr(),level:A2t.debug}),Jgi=r=>{let t=[];return t.push(S3e(r)),uSr&&t.push(tyt()),ec().isTest&&t.push(dSr()),[new sSr,...t]}});var emi,ryt,nyt,pSr,iyt,kz,tmi=Et(()=>{"use strict";emi=Ct(as()),ryt=Ct(Zle());_qe();Hqe();pc();Z2t();l3e();Ng();nyt=(r,t)=>{let n=r.toUpperCase(),i=[];if(n in p5||i.push(`invalid logging area '${n}'`),A2t[t]||i.push("`invalid log level '${logLevel}'`"),i.length)throw i.forEach(l=>{console.error(l)}),new Error("Invalid logging area or log level: "+i.join(", "));let o=Wqe(n),s=o.transports.filter(l=>l instanceof ryt.transports.Console),a=o.transports;s.length||(a=[...a,S3e(p5[n])]),a.filter(l=>l instanceof ryt.transports.Console)[0].level=t,o.configure({...o,transports:o.transports})},pSr=()=>{Object.keys(p5).forEach(r=>{nyt(r,"debug")})},iyt=(r,t)=>{for(let n in r){let i=n,o=Wqe(i);r[i].defaultMeta={...o.defaultMeta,...r[i].defaultMeta,...t};let s=r[i].transports||o.transports,a;if(ec().isTest&&s.length>0){let l=s[s.length-1];l instanceof ryt.transports.File&&(a=l,s=o.transports.slice(0,-1),s.push(dSr()))}o.configure({...o,...r[i],transports:s,level:r[i].level||o.level}),a&&a.close&&a.close()}},kz=r=>{let t=emi.default.mapValues(p5,(n,i)=>({}));iyt(t,r)}});function Vqe(r,t){return function(){return r.apply(t,arguments)}}var fSr=Et(()=>{"use strict"});function wdl(r){return r!==null&&!Yqe(r)&&r.constructor!==null&&!Yqe(r.constructor)&&lO(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}function Bdl(r){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(r):t=r&&r.buffer&&imi(r.buffer),t}function Kqe(r,t,{allOwnKeys:n=!1}={}){if(r===null||typeof r>"u")return;let i,o;if(typeof r!="object"&&(r=[r]),T3e(r))for(i=0,o=r.length;i<o;i++)t.call(null,r[i],i,r);else{let s=n?Object.getOwnPropertyNames(r):Object.keys(r),a=s.length,l;for(i=0;i<a;i++)l=s[i],t.call(null,r[l],l,r)}}function smi(r,t){t=t.toLowerCase();let n=Object.keys(r),i=n.length,o;for(;i-- >0;)if(o=n[i],t===o.toLowerCase())return o;return null}function hSr(){let{caseless:r}=ami(this)&&this||{},t={},n=(i,o)=>{let s=r&&smi(t,o)||o;oyt(t[s])&&oyt(i)?t[s]=hSr(t[s],i):oyt(i)?t[s]=hSr({},i):T3e(i)?t[s]=i.slice():t[s]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&Kqe(arguments[i],n);return t}function lpl(r){return!!(r&&lO(r.append)&&r[Symbol.toStringTag]==="FormData"&&r[Symbol.iterator])}var Rdl,gSr,syt,UM,ayt,T3e,Yqe,imi,Mdl,lO,omi,lyt,xdl,oyt,Ddl,Ndl,Pdl,kdl,Ldl,Qdl,Fdl,qdl,zdl,Udl,jdl,Gdl,fue,ami,Wdl,Hdl,Vdl,Ydl,Kdl,Jdl,Xdl,$dl,Zdl,epl,tpl,rmi,rpl,lmi,npl,ipl,opl,spl,ASr,nmi,umi,apl,upl,cpl,dpl,cmi,ppl,er,kd=Et(()=>{"use strict";fSr();({toString:Rdl}=Object.prototype),{getPrototypeOf:gSr}=Object,syt=(r=>t=>{let n=Rdl.call(t);return r[n]||(r[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),UM=r=>(r=r.toLowerCase(),t=>syt(t)===r),ayt=r=>t=>typeof t===r,{isArray:T3e}=Array,Yqe=ayt("undefined");imi=UM("ArrayBuffer");Mdl=ayt("string"),lO=ayt("function"),omi=ayt("number"),lyt=r=>r!==null&&typeof r=="object",xdl=r=>r===!0||r===!1,oyt=r=>{if(syt(r)!=="object")return!1;let t=gSr(r);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)},Ddl=UM("Date"),Ndl=UM("File"),Pdl=UM("Blob"),kdl=UM("FileList"),Ldl=r=>lyt(r)&&lO(r.pipe),Qdl=r=>{let t;return r&&(typeof FormData=="function"&&r instanceof FormData||lO(r.append)&&((t=syt(r))==="formdata"||t==="object"&&lO(r.toString)&&r.toString()==="[object FormData]"))},Fdl=UM("URLSearchParams"),[qdl,zdl,Udl,jdl]=["ReadableStream","Request","Response","Headers"].map(UM),Gdl=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");fue=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ami=r=>!Yqe(r)&&r!==fue;Wdl=(r,t,n,{allOwnKeys:i}={})=>(Kqe(t,(o,s)=>{n&&lO(o)?r[s]=Vqe(o,n):r[s]=o},{allOwnKeys:i}),r),Hdl=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),Vdl=(r,t,n,i)=>{r.prototype=Object.create(t.prototype,i),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:t.prototype}),n&&Object.assign(r.prototype,n)},Ydl=(r,t,n,i)=>{let o,s,a,l={};if(t=t||{},r==null)return t;do{for(o=Object.getOwnPropertyNames(r),s=o.length;s-- >0;)a=o[s],(!i||i(a,r,t))&&!l[a]&&(t[a]=r[a],l[a]=!0);r=n!==!1&&gSr(r)}while(r&&(!n||n(r,t))&&r!==Object.prototype);return t},Kdl=(r,t,n)=>{r=String(r),(n===void 0||n>r.length)&&(n=r.length),n-=t.length;let i=r.indexOf(t,n);return i!==-1&&i===n},Jdl=r=>{if(!r)return null;if(T3e(r))return r;let t=r.length;if(!omi(t))return null;let n=new Array(t);for(;t-- >0;)n[t]=r[t];return n},Xdl=(r=>t=>r&&t instanceof r)(typeof Uint8Array<"u"&&gSr(Uint8Array)),$dl=(r,t)=>{let i=(r&&r[Symbol.iterator]).call(r),o;for(;(o=i.next())&&!o.done;){let s=o.value;t.call(r,s[0],s[1])}},Zdl=(r,t)=>{let n,i=[];for(;(n=r.exec(t))!==null;)i.push(n);return i},epl=UM("HTMLFormElement"),tpl=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),rmi=(({hasOwnProperty:r})=>(t,n)=>r.call(t,n))(Object.prototype),rpl=UM("RegExp"),lmi=(r,t)=>{let n=Object.getOwnPropertyDescriptors(r),i={};Kqe(n,(o,s)=>{let a;(a=t(o,s,r))!==!1&&(i[s]=a||o)}),Object.defineProperties(r,i)},npl=r=>{lmi(r,(t,n)=>{if(lO(r)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;let i=r[n];if(lO(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ipl=(r,t)=>{let n={},i=o=>{o.forEach(s=>{n[s]=!0})};return T3e(r)?i(r):i(String(r).split(t)),n},opl=()=>{},spl=(r,t)=>r!=null&&Number.isFinite(r=+r)?r:t,ASr="abcdefghijklmnopqrstuvwxyz",nmi="0123456789",umi={DIGIT:nmi,ALPHA:ASr,ALPHA_DIGIT:ASr+ASr.toUpperCase()+nmi},apl=(r=16,t=umi.ALPHA_DIGIT)=>{let n="",{length:i}=t;for(;r--;)n+=t[Math.random()*i|0];return n};upl=r=>{let t=new Array(10),n=(i,o)=>{if(lyt(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[o]=i;let s=T3e(i)?[]:{};return Kqe(i,(a,l)=>{let c=n(a,o+1);!Yqe(c)&&(s[l]=c)}),t[o]=void 0,s}}return i};return n(r,0)},cpl=UM("AsyncFunction"),dpl=r=>r&&(lyt(r)||lO(r))&&lO(r.then)&&lO(r.catch),cmi=((r,t)=>r?setImmediate:t?((n,i)=>(fue.addEventListener("message",({source:o,data:s})=>{o===fue&&s===n&&i.length&&i.shift()()},!1),o=>{i.push(o),fue.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",lO(fue.postMessage)),ppl=typeof queueMicrotask<"u"?queueMicrotask.bind(fue):typeof process<"u"&&process.nextTick||cmi,er={isArray:T3e,isArrayBuffer:imi,isBuffer:wdl,isFormData:Qdl,isArrayBufferView:Bdl,isString:Mdl,isNumber:omi,isBoolean:xdl,isObject:lyt,isPlainObject:oyt,isReadableStream:qdl,isRequest:zdl,isResponse:Udl,isHeaders:jdl,isUndefined:Yqe,isDate:Ddl,isFile:Ndl,isBlob:Pdl,isRegExp:rpl,isFunction:lO,isStream:Ldl,isURLSearchParams:Fdl,isTypedArray:Xdl,isFileList:kdl,forEach:Kqe,merge:hSr,extend:Wdl,trim:Gdl,stripBOM:Hdl,inherits:Vdl,toFlatObject:Ydl,kindOf:syt,kindOfTest:UM,endsWith:Kdl,toArray:Jdl,forEachEntry:$dl,matchAll:Zdl,isHTMLForm:epl,hasOwnProperty:rmi,hasOwnProp:rmi,reduceDescriptors:lmi,freezeMethods:npl,toObjectSet:ipl,toCamelCase:tpl,noop:opl,toFiniteNumber:spl,findKey:smi,global:fue,isContextDefined:ami,ALPHABET:umi,generateString:apl,isSpecCompliantForm:lpl,toJSONObject:upl,isAsyncFn:cpl,isThenable:dpl,setImmediate:cmi,asap:ppl}});function O3e(r,t,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}var dmi,pmi,ao,uO=Et(()=>{"use strict";kd();er.inherits(O3e,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:er.toJSONObject(this.config),code:this.code,status:this.status}}});dmi=O3e.prototype,pmi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{pmi[r]={value:r}});Object.defineProperties(O3e,pmi);Object.defineProperty(dmi,"isAxiosError",{value:!0});O3e.from=(r,t,n,i,o,s)=>{let a=Object.create(dmi);return er.toFlatObject(r,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),O3e.call(a,r.message,t,n,i,o),a.cause=r,a.name=r.name,s&&Object.assign(a,s),a};ao=O3e});var fmi,uyt,mSr=Et(()=>{fmi=Ct(Aqe(),1),uyt=fmi.default});function ySr(r){return er.isPlainObject(r)||er.isArray(r)}function hmi(r){return er.endsWith(r,"[]")?r.slice(0,-2):r}function Ami(r,t,n){return r?r.concat(t).map(function(o,s){return o=hmi(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function fpl(r){return er.isArray(r)&&!r.some(ySr)}function hpl(r,t,n){if(!er.isObject(r))throw new TypeError("target must be an object");t=t||new(uyt||FormData),n=er.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,C){return!er.isUndefined(C[y])});let i=n.metaTokens,o=n.visitor||d,s=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&er.isSpecCompliantForm(t);if(!er.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(er.isDate(h))return h.toISOString();if(!c&&er.isBlob(h))throw new ao("Blob is not supported. Use a Buffer instead.");return er.isArrayBuffer(h)||er.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,y,C){let v=h;if(h&&!C&&typeof h=="object"){if(er.endsWith(y,"{}"))y=i?y:y.slice(0,-2),h=JSON.stringify(h);else if(er.isArray(h)&&fpl(h)||(er.isFileList(h)||er.endsWith(y,"[]"))&&(v=er.toArray(h)))return y=hmi(y),v.forEach(function(_,w){!(er.isUndefined(_)||_===null)&&t.append(a===!0?Ami([y],w,s):a===null?y:y+"[]",u(_))}),!1}return ySr(h)?!0:(t.append(Ami(C,y,s),u(h)),!1)}let p=[],f=Object.assign(Apl,{defaultVisitor:d,convertValue:u,isVisitable:ySr});function A(h,y){if(!er.isUndefined(h)){if(p.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));p.push(h),er.forEach(h,function(v,O){(!(er.isUndefined(v)||v===null)&&o.call(t,v,er.isString(O)?O.trim():O,y,f))===!0&&A(v,y?y.concat(O):[O])}),p.pop()}}if(!er.isObject(r))throw new TypeError("data must be an object");return A(r),t}var Apl,jY,Jqe=Et(()=>{"use strict";kd();uO();mSr();Apl=er.toFlatObject(er,{},null,function(t){return/^is[A-Z]/.test(t)});jY=hpl});function gmi(r){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function mmi(r,t){this._pairs=[],r&&jY(r,this,t)}var ymi,Emi,bmi=Et(()=>{"use strict";Jqe();ymi=mmi.prototype;ymi.append=function(t,n){this._pairs.push([t,n])};ymi.toString=function(t){let n=t?function(i){return t.call(this,i,gmi)}:gmi;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};Emi=mmi});function gpl(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Aue(r,t,n){if(!t)return r;let i=n&&n.encode||gpl,o=n&&n.serialize,s;if(o?s=o(t,n):s=er.isURLSearchParams(t)?t.toString():new Emi(t,n).toString(i),s){let a=r.indexOf("#");a!==-1&&(r=r.slice(0,a)),r+=(r.indexOf("?")===-1?"?":"&")+s}return r}var cyt=Et(()=>{"use strict";kd();bmi()});var ESr,bSr,Cmi=Et(()=>{"use strict";kd();ESr=class{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){er.forEach(this.handlers,function(i){i!==null&&t(i)})}},bSr=ESr});var _3e,dyt=Et(()=>{"use strict";_3e={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}});var Imi,vmi,Smi=Et(()=>{"use strict";Imi=Ct(require("url"),1),vmi=Imi.default.URLSearchParams});var Tmi,Omi=Et(()=>{Smi();mSr();Tmi={isNode:!0,classes:{URLSearchParams:vmi,FormData:uyt,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]}});var vSr={};MT(vSr,{hasBrowserEnv:()=>ISr,hasStandardBrowserEnv:()=>mpl,hasStandardBrowserWebWorkerEnv:()=>ypl,navigator:()=>CSr,origin:()=>Epl});var ISr,CSr,mpl,ypl,Epl,_mi=Et(()=>{ISr=typeof window<"u"&&typeof document<"u",CSr=typeof navigator=="object"&&navigator||void 0,mpl=ISr&&(!CSr||["ReactNative","NativeScript","NS"].indexOf(CSr.product)<0),ypl=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Epl=ISr&&window.location.href||"http://localhost"});var sp,V9=Et(()=>{Omi();_mi();sp={...vSr,...Tmi}});function SSr(r,t){return jY(r,new sp.classes.URLSearchParams,Object.assign({visitor:function(n,i,o,s){return sp.isNode&&er.isBuffer(n)?(this.append(i,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}var Rmi=Et(()=>{"use strict";kd();Jqe();V9()});function bpl(r){return er.matchAll(/\w+|\[(\w*)]/g,r).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Cpl(r){let t={},n=Object.keys(r),i,o=n.length,s;for(i=0;i<o;i++)s=n[i],t[s]=r[s];return t}function Ipl(r){function t(n,i,o,s){let a=n[s++];if(a==="__proto__")return!0;let l=Number.isFinite(+a),c=s>=n.length;return a=!a&&er.isArray(o)?o.length:a,c?(er.hasOwnProp(o,a)?o[a]=[o[a],i]:o[a]=i,!l):((!o[a]||!er.isObject(o[a]))&&(o[a]=[]),t(n,i,o[a],s)&&er.isArray(o[a])&&(o[a]=Cpl(o[a])),!l)}if(er.isFormData(r)&&er.isFunction(r.entries)){let n={};return er.forEachEntry(r,(i,o)=>{t(bpl(i),o,n,0)}),n}return null}var pyt,TSr=Et(()=>{"use strict";kd();pyt=Ipl});function vpl(r,t,n){if(er.isString(r))try{return(t||JSON.parse)(r),er.trim(r)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(r)}var OSr,R3e,fyt=Et(()=>{"use strict";kd();uO();dyt();Jqe();Rmi();V9();TSr();OSr={transitional:_3e,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){let i=n.getContentType()||"",o=i.indexOf("application/json")>-1,s=er.isObject(t);if(s&&er.isHTMLForm(t)&&(t=new FormData(t)),er.isFormData(t))return o?JSON.stringify(pyt(t)):t;if(er.isArrayBuffer(t)||er.isBuffer(t)||er.isStream(t)||er.isFile(t)||er.isBlob(t)||er.isReadableStream(t))return t;if(er.isArrayBufferView(t))return t.buffer;if(er.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(i.indexOf("application/x-www-form-urlencoded")>-1)return SSr(t,this.formSerializer).toString();if((l=er.isFileList(t))||i.indexOf("multipart/form-data")>-1){let c=this.env&&this.env.FormData;return jY(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),vpl(t)):t}],transformResponse:[function(t){let n=this.transitional||OSr.transitional,i=n&&n.forcedJSONParsing,o=this.responseType==="json";if(er.isResponse(t)||er.isReadableStream(t))return t;if(t&&er.isString(t)&&(i&&!this.responseType||o)){let a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?ao.from(l,ao.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:sp.classes.FormData,Blob:sp.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};er.forEach(["delete","get","head","post","put","patch"],r=>{OSr.headers[r]={}});R3e=OSr});var Spl,wmi,Bmi=Et(()=>{"use strict";kd();Spl=er.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),wmi=r=>{let t={},n,i,o;return r&&r.split(`
179
+ Value: `,n),new kY(n,[{path:"",message:"value triggered unknown runtypes error"}])}}createValidationFailedResult(n,i){let o=[],s=(a,l)=>{for(let[c,u]of Object.entries(l)){let d=a.concat(c);typeof u=="string"?o.push({path:d.join("."),message:u}):s(d,u)}};if(n.code==="TYPE_INCORRECT"||n.code==="CONSTRAINT_FAILED")o.push({path:"",message:n.message});else{let a=n.details;a&&s([],a)}return new kY(i,o)}},Nd=(r,t)=>new ovr(r,t)});var lvr,Jal,Xal,avr,Or,Xfi=Et(()=>{"use strict";lvr=Ct(as());kr();Ng();c2t();Tn();Jal=r=>r.code==="unrecognized_keys"?r.keys.length:r.code==="invalid_type"&&r.received==="undefined"&&r.message==="Required"?1:r.code==="invalid_literal"?10:0,Xal=r=>lvr.default.sum(r.issues.map(t=>Jal(t))),avr=class extends o3e{constructor(n,i){super(n);this.zodType=i;if(!i)throw new bt(`Missing Zod type for ${n} validator. Did you use a circular import?`)}convertZodError=n=>{let i=[];for(let o of n.issues)if(o.code==="invalid_union"){let s=lvr.default.minBy(o.unionErrors,a=>Xal(a));s&&i.push(...this.convertZodError(s))}else i.push({path:o.path.join("."),message:o.message});return i};validate(n){try{let i=this.zodType.safeParse(n);if(i.success)return{valid:!0,value:i.data};let o=this.convertZodError(i.error);return new kY(n,o)}catch(i){let o=i instanceof R.ZodError?[i.flatten(),i.issues]:[];return c0().error(`ZodValidator: Unable to validate ${this.name} value`,"error: ",i,"value: ",n,...o),new kY(n,[{path:"",message:"value triggered unknown Zod error"}])}}},Or=(r,t)=>new avr(r,t)});var s3e=Et(()=>{"use strict";svr();c2t();Xfi()});var $al,Zal,$fi,d2t,Tqe,uvr,Oqe,cvr,dvr,pvr,fvr,Avr,p2t,f2t,a3e,Bz,hvr,Zfi,aS=Et(()=>{"use strict";Tn();Ypr();oY();gyr();Dyr();EEe();Ksi();cY();s3e();$al=R.object({auth:R.string(),firestore:R.string(),storage:R.string()}),Zal=R.object({apiKey:R.string(),authDomain:R.string(),projectId:R.string(),storageBucket:R.string(),messagingSenderId:R.string(),appId:R.string(),measurementId:R.string(),emulatorInfo:$al.optional()}),$fi=Or("FirebaseConfig",Zal),d2t=r=>{v9("firestore.delete",{path:r})},Tqe=r=>{v9("firestore.set",{path:r})},uvr=r=>{v9("firestore.update",{path:r})},Oqe=r=>{v9("firestore.get",{path:r})},cvr=r=>{v9("firestore.transaction.get",{path:r})},dvr=r=>{v9("firestore.transaction.set",{path:r})},pvr=r=>{v9("firestore.transaction.update",{path:r})},fvr=r=>{v9("firestore.transaction.delete",{path:r})},Avr=()=>{v9("firestore.batch")},p2t=_M.getTracer("firestore"),f2t=async r=>(d2t(r.path),p2t.startActiveSpan(`delete ${r.path}`,async t=>{t.setAttribute("path",r.path),t.setAttribute("operation","delete");let n=await r.delete();return t.end(),n})),a3e=(r,t,n)=>(Tqe(r.path),p2t.startActiveSpan(`set ${r.path}`,async i=>{if(i.setAttribute("path",r.path),i.setAttribute("operation","set"),n){let o=await r.set(t,n);return i.end(),o}else{let o=await r.set(t);return i.end(),o}})),Bz=r=>(Oqe(r.path),p2t.startActiveSpan(`get ${r.path}`,async t=>{t.setAttribute("path",r.path),t.setAttribute("operation","get");let n=await r.get();return t.end(),n})),hvr=r=>(Oqe(r.path),p2t.startActiveSpan(`get ${r.path}`,async t=>{t.setAttribute("path",r.path),t.setAttribute("operation","get");let n=await r.get();return t.end(),n})),Zfi=async(r,t=1e3)=>{let n=()=>{},i=new Promise(o=>{n=r.onSnapshot(s=>{s.metadata.hasPendingWrites||o(s)})});return await Ez(t,`Timed out in GetDocumentNoPendingWrites after ${t} ms`,i).finally(n)}});var A2t,h2t,l3e=Et(()=>{"use strict";A2t={emerg:"emerg",info:"info",error:"error",debug:"debug",assert:"assert",warn:"warn",alert:"alert",app:"app"},h2t={LEVELS:{emerg:0,assert:1,alert:2,error:3,app:4,info:5,debug:6,warn:4},COLORS:{emerg:"red",assert:"yellow",alert:"yellow",warn:"yellow",error:"cyan",app:"blue",info:"green",debug:"magenta"}}});var gvr,p5,_qe=Et(()=>{"use strict";gvr=["ACTUAL_STATE","ADVANCED_DEPLOY","APP","AUTH","BULK_WRITE","CLI","CLI_INTERNAL","COLUMN_LINEAGE","COLUMN_METADATA","COMMON","CONNECTION","DEBUG","DEPLOY","DNS","DOCS","DRAG","ENTITY_API","ENV","ENVIRONMENTS","ERROR_OPERATIONS","FIREBASE","FOLDERS","GIT","GIT_SETTINGS","GOOGLE_DEBUG","GRAPH","HEARTBEAT","INTEGRATIONS","JEST","JOBS","JSON_PARSER","LIGHTNING_FS","LISTENERS","MACROS","MAPPING_GRID","METADATA_HYDRATION","METADATA_OPERATIONS","NARROW_METADATA","NODE_TYPES","ORGS","ORG_BOOTSTRAP","ORG_SCANNER","ORG_SETTINGS","ORG_UPGRADE","PACKAGES","PACKAGES_BACKEND","PACKAGE_NAMESPACES","PACKAGE_REGISTRY","PALETTE","PARTNER_CONNECT","PENDO","PERFORMANCE","PIPELINE","PLAN","PLATFORM","PRESYNC","PROBLEM_SCANNER","PROJECTS","RBAC","RENDERER","RUNNER","RUNNER_BACKEND","RUN_RESULTS","RUN_TRANSACTION","SEARCH","SECRETS","SQL_PARSING","SQL_TESTING","STATE","STEPS","STORAGE_LOCATIONS","STRUMENTA","SYSTEM_EMAILS","TEMPLATE_EDITOR","TESTING","TIMING_UTILS","TREE_OPERATIONS","TYPESENSE","UI","USERS","USER_ACTIVATION","USER_MANAGEMENT","USER_SETTINGS","VERSIONING","VERSION_CONTROL_ACTIONS","WORKSPACES","XML_PARSER","YAML","ZIP","AI_COLUMN_DESCRIPTIONS","AI_NODE_DESCRIPTIONS","AI_GIT_COMMIT_MESSAGE"],p5={...Object.fromEntries(gvr.map(r=>[r,{level:"info"}]))}});var sO,u3e,Fh,g2t=Et(()=>{"use strict";sO=(r,t,n,i,o)=>({orgID:r,workspaceID:t,userID:n,runID:i,nodeID:o}),u3e=(r,t)=>{r.runID=t},Fh={}});var tAi=I(eAi=>{"use strict";Object.defineProperty(eAi,"__esModule",{value:!0})});var mvr=I(m2t=>{"use strict";Object.defineProperty(m2t,"__esModule",{value:!0});m2t.Failcode=void 0;m2t.Failcode={TYPE_INCORRECT:"TYPE_INCORRECT",VALUE_INCORRECT:"VALUE_INCORRECT",KEY_INCORRECT:"KEY_INCORRECT",CONTENT_INCORRECT:"CONTENT_INCORRECT",ARGUMENT_INCORRECT:"ARGUMENT_INCORRECT",RETURN_INCORRECT:"RETURN_INCORRECT",CONSTRAINT_FAILED:"CONSTRAINT_FAILED",PROPERTY_MISSING:"PROPERTY_MISSING",PROPERTY_PRESENT:"PROPERTY_PRESENT",NOTHING_EXPECTED:"NOTHING_EXPECTED"}});var d3e=I(c3e=>{"use strict";var ell=c3e&&c3e.__extends||function(){var r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=o[s])},r(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(c3e,"__esModule",{value:!0});c3e.ValidationError=void 0;var tll=function(r){ell(t,r);function t(n){var i=r.call(this,n.message)||this;return i.name="ValidationError",i.code=n.code,n.details!==void 0&&(i.details=n.details),Object.setPrototypeOf(i,t.prototype),i}return t}(Error);c3e.ValidationError=tll});var Rqe=I(yvr=>{"use strict";Object.defineProperty(yvr,"__esModule",{value:!0});var y2t=function(r){return function(t){switch(t.tag){case"literal":return'"'.concat(String(t.value),'"');case"string":return"string";case"brand":return t.brand;case"constraint":return t.name||y2t(r)(t.underlying);case"union":return t.alternatives.map(y2t(r)).join(" | ");case"intersect":return t.intersectees.map(y2t(r)).join(" & ");default:break}return"`${".concat(aO(!1,r)(t),"}`")}},E2t=function(r){return function(t){switch(t.tag){case"literal":return String(t.value);case"brand":return"${".concat(t.brand,"}");case"constraint":return t.name?"${".concat(t.name,"}"):E2t(r)(t.underlying);case"union":if(t.alternatives.length===1){var n=t.alternatives[0];return E2t(r)(n.reflect)}break;case"intersect":if(t.intersectees.length===1){var n=t.intersectees[0];return E2t(r)(n.reflect)}break;default:break}return"${".concat(aO(!1,r)(t),"}")}},aO=function(r,t){return function(n){var i=function(u){return r?"(".concat(u,")"):u};if(t.has(n))return i("CIRCULAR ".concat(n.tag));t.add(n);try{switch(n.tag){case"unknown":case"never":case"void":case"boolean":case"number":case"bigint":case"string":case"symbol":case"function":return n.tag;case"literal":{var o=n.value;return typeof o=="string"?'"'.concat(o,'"'):String(o)}case"template":{if(n.strings.length===0)return'""';if(n.strings.length===1)return'"'.concat(n.strings[0],'"');if(n.strings.length===2&&n.strings.every(function(u){return u===""})){var s=n.runtypes[0];return y2t(t)(s.reflect)}var a=!1,l=n.strings.reduce(function(u,d,p){var f=u+d,A=n.runtypes[p];if(A){var h=E2t(t)(A.reflect);return!a&&h.startsWith("$")&&(a=!0),f+h}else return f},"");return a?"`".concat(l,"`"):'"'.concat(l,'"')}case"array":return"".concat(rAi(n)).concat(aO(!0,t)(n.element),"[]");case"dictionary":return"{ [_: ".concat(n.key,"]: ").concat(aO(!1,t)(n.value)," }");case"record":{var c=Object.keys(n.fields);return c.length?"{ ".concat(c.map(function(u){return"".concat(rAi(n)).concat(u).concat(rll(n,u),": ").concat(n.fields[u].tag==="optional"?aO(!1,t)(n.fields[u].underlying):aO(!1,t)(n.fields[u]),";")}).join(" ")," }"):"{}"}case"tuple":return"[".concat(n.components.map(aO(!1,t)).join(", "),"]");case"union":return i("".concat(n.alternatives.map(aO(!0,t)).join(" | ")));case"intersect":return i("".concat(n.intersectees.map(aO(!0,t)).join(" & ")));case"optional":return aO(r,t)(n.underlying)+" | undefined";case"constraint":return n.name||aO(r,t)(n.underlying);case"instanceof":return n.ctor.name;case"brand":return aO(r,t)(n.entity)}}finally{t.delete(n)}throw Error("impossible")}};yvr.default=aO(!1,new Set);function rll(r,t){var n=r.isPartial,i=r.fields;return n||t!==void 0&&i[t].tag==="optional"?"?":""}function rAi(r){var t=r.isReadonly;return t?"readonly ":""}});var af=I(Pd=>{"use strict";var Evr=Pd&&Pd.__assign||function(){return Evr=Object.assign||function(r){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}return r},Evr.apply(this,arguments)};Object.defineProperty(Pd,"__esModule",{value:!0});Pd.FAILURE=Pd.SUCCESS=Pd.enumerableKeysOf=Pd.typeOf=Pd.hasKey=void 0;var G9=mvr(),aue=Rqe();function nll(r,t){return typeof t=="object"&&t!==null&&r in t}Pd.hasKey=nll;var ill=function(r){var t,n,i;return typeof r=="object"?r===null?"null":Array.isArray(r)?"array":((t=r.constructor)===null||t===void 0?void 0:t.name)==="Object"?"object":(i=(n=r.constructor)===null||n===void 0?void 0:n.name)!==null&&i!==void 0?i:typeof r:typeof r};Pd.typeOf=ill;var oll=function(r){return typeof r=="object"&&r!==null?Reflect.ownKeys(r).filter(function(t){var n,i;return(i=(n=r.propertyIsEnumerable)===null||n===void 0?void 0:n.call(r,t))!==null&&i!==void 0?i:!0}):[]};Pd.enumerableKeysOf=oll;function sll(r){return{success:!0,value:r}}Pd.SUCCESS=sll;Pd.FAILURE=Object.assign(function(r,t,n){return Evr({success:!1,code:r,message:t},n?{details:n}:{})},{TYPE_INCORRECT:function(r,t){var n="Expected ".concat(r.tag==="template"?"string ".concat((0,aue.default)(r)):(0,aue.default)(r),", but was ").concat((0,Pd.typeOf)(t));return(0,Pd.FAILURE)(G9.Failcode.TYPE_INCORRECT,n)},VALUE_INCORRECT:function(r,t,n){return(0,Pd.FAILURE)(G9.Failcode.VALUE_INCORRECT,"Expected ".concat(r," ").concat(String(t),", but was ").concat(String(n)))},KEY_INCORRECT:function(r,t,n){return(0,Pd.FAILURE)(G9.Failcode.KEY_INCORRECT,"Expected ".concat((0,aue.default)(r)," key to be ").concat((0,aue.default)(t),", but was ").concat((0,Pd.typeOf)(n)))},CONTENT_INCORRECT:function(r,t){var n="Expected ".concat((0,aue.default)(r),", but was incompatible");return(0,Pd.FAILURE)(G9.Failcode.CONTENT_INCORRECT,n,t)},ARGUMENT_INCORRECT:function(r){return(0,Pd.FAILURE)(G9.Failcode.ARGUMENT_INCORRECT,r)},RETURN_INCORRECT:function(r){return(0,Pd.FAILURE)(G9.Failcode.RETURN_INCORRECT,r)},CONSTRAINT_FAILED:function(r,t){var n=t?": ".concat(t):"";return(0,Pd.FAILURE)(G9.Failcode.CONSTRAINT_FAILED,"Failed constraint check for ".concat((0,aue.default)(r)).concat(n))},PROPERTY_MISSING:function(r){var t="Expected ".concat((0,aue.default)(r),", but was missing");return(0,Pd.FAILURE)(G9.Failcode.PROPERTY_MISSING,t)},PROPERTY_PRESENT:function(r){var t="Expected nothing, but was ".concat((0,Pd.typeOf)(r));return(0,Pd.FAILURE)(G9.Failcode.PROPERTY_PRESENT,t)},NOTHING_EXPECTED:function(r){var t="Expected nothing, but was ".concat((0,Pd.typeOf)(r));return(0,Pd.FAILURE)(G9.Failcode.NOTHING_EXPECTED,t)}})});var nAi=I(LY=>{"use strict";var all=LY&&LY.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},lll=LY&&LY.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(LY,"__esModule",{value:!0});LY.Contract=void 0;var ull=d3e(),cll=af();function dll(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=r.length-1,i=r.slice(0,n),o=r[n];return{enforce:function(s){return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(a.length<i.length){var c="Expected ".concat(i.length," arguments but only received ").concat(a.length),u=cll.FAILURE.ARGUMENT_INCORRECT(c);throw new ull.ValidationError(u)}for(var d=0;d<i.length;d++)i[d].check(a[d]);return o.check(s.apply(void 0,lll([],all(a),!1)))}}}}LY.Contract=dll});var sAi=I(QY=>{"use strict";var pll=QY&&QY.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},fll=QY&&QY.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(QY,"__esModule",{value:!0});QY.AsyncContract=void 0;var iAi=d3e(),oAi=af();function All(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=r.length-1,i=r.slice(0,n),o=r[n];return{enforce:function(s){return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(a.length<i.length){var c="Expected ".concat(i.length," arguments but only received ").concat(a.length),u=oAi.FAILURE.ARGUMENT_INCORRECT(c);throw new iAi.ValidationError(u)}for(var d=0;d<i.length;d++)i[d].check(a[d]);var p=s.apply(void 0,fll([],pll(a),!1));if(!(p instanceof Promise)){var c="Expected function to return a promise, but instead got ".concat(p),u=oAi.FAILURE.RETURN_INCORRECT(c);throw new iAi.ValidationError(u)}return p.then(o.check)}}}}QY.AsyncContract=All});var aAi=I(W9=>{"use strict";var hll=W9&&W9.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},gll=W9&&W9.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s};Object.defineProperty(W9,"__esModule",{value:!0});W9.when=W9.match=void 0;function mll(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return function(n){var i,o;try{for(var s=hll(r),a=s.next();!a.done;a=s.next()){var l=gll(a.value,2),c=l[0],u=l[1];if(c.guard(n))return u(n)}}catch(d){i={error:d}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}throw new Error("No alternatives were matched")}}W9.match=mll;function yll(r,t){return[r,t]}W9.when=yll});var UA=I(qY=>{"use strict";Object.defineProperty(qY,"__esModule",{value:!0});qY.innerValidate=qY.create=qY.isRuntype=void 0;var FY=xE(),Ell=Rqe(),bll=d3e(),lAi=af(),uAi=Symbol(),Cll=function(r){return(0,lAi.hasKey)(uAi,r)};qY.isRuntype=Cll;function Ill(r,t){return t[uAi]=!0,t.check=n,t.assert=n,t._innerValidate=function(p,f){return f.has(p,t)?(0,lAi.SUCCESS)(p):r(p,f)},t.validate=function(p){return t._innerValidate(p,Sll())},t.guard=i,t.Or=o,t.And=s,t.optional=a,t.nullable=l,t.withConstraint=c,t.withGuard=u,t.withBrand=d,t.reflect=t,t.toString=function(){return"Runtype<".concat((0,Ell.default)(t),">")},t;function n(p){var f=t.validate(p);if(f.success)return f.value;throw new bll.ValidationError(f)}function i(p){return t.validate(p).success}function o(p){return(0,FY.Union)(t,p)}function s(p){return(0,FY.Intersect)(t,p)}function a(){return(0,FY.Optional)(t)}function l(){return(0,FY.Union)(t,FY.Null)}function c(p,f){return(0,FY.Constraint)(t,p,f)}function u(p,f){return(0,FY.Constraint)(t,p,f)}function d(p){return(0,FY.Brand)(p,t)}}qY.create=Ill;function vll(r,t,n){return r._innerValidate(t,n)}qY.innerValidate=vll;function Sll(){var r=new WeakMap,t=function(i,o){if(!(i===null||typeof i!="object")){var s=r.get(i);r.set(i,s?s.set(o,!0):new WeakMap().set(o,!0))}},n=function(i,o){var s=r.get(i),a=s&&s.get(o)||!1;return t(i,o),a};return{has:n}}});var C2t=I(b2t=>{"use strict";Object.defineProperty(b2t,"__esModule",{value:!0});b2t.Unknown=void 0;var Tll=UA(),Oll=af(),_ll={tag:"unknown"};b2t.Unknown=(0,Tll.create)(function(r){return(0,Oll.SUCCESS)(r)},_ll)});var cAi=I(I2t=>{"use strict";Object.defineProperty(I2t,"__esModule",{value:!0});I2t.Never=void 0;var Rll=UA(),wll=af(),Bll={tag:"never"};I2t.Never=(0,Rll.create)(wll.FAILURE.NOTHING_EXPECTED,Bll)});var dAi=I(v2t=>{"use strict";Object.defineProperty(v2t,"__esModule",{value:!0});v2t.Void=void 0;var Mll=C2t();v2t.Void=Mll.Unknown});var bvr=I(p3e=>{"use strict";var S2t=p3e&&p3e.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(p3e,"__esModule",{value:!0});p3e.Union=void 0;var T2t=UA(),wqe=af();function xll(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return function(a){for(var l=0;l<r.length;l++)if(r[l].guard(a))return o[l](a)}},i={tag:"union",alternatives:r,match:n};return(0,T2t.create)(function(o,s){var a,l,c,u,d,p,f,A;if(typeof o!="object"||o===null){try{for(var h=S2t(r),y=h.next();!y.done;y=h.next()){var C=y.value;if((0,T2t.innerValidate)(C,o,s).success)return(0,wqe.SUCCESS)(o)}}catch(J){a={error:J}}finally{try{y&&!y.done&&(l=h.return)&&l.call(h)}finally{if(a)throw a.error}}return wqe.FAILURE.TYPE_INCORRECT(i,o)}var v={};try{for(var O=S2t(r),_=O.next();!_.done;_=O.next()){var C=_.value;if(C.reflect.tag==="record"){var w=function(Y){var Q=C.reflect.fields[Y];Q.tag==="literal"&&(v[Y]?v[Y].every(function(X){return X!==Q.value})&&v[Y].push(Q.value):v[Y]=[Q.value])};for(var x in C.reflect.fields)w(x)}}}catch(J){c={error:J}}finally{try{_&&!_.done&&(u=O.return)&&u.call(O)}finally{if(c)throw c.error}}for(var x in v)if(v[x].length===r.length)try{for(var z=(d=void 0,S2t(r)),W=z.next();!W.done;W=z.next()){var C=W.value;if(C.reflect.tag==="record"){var V=C.reflect.fields[x];if(V.tag==="literal"&&(0,wqe.hasKey)(x,o)&&o[x]===V.value)return(0,T2t.innerValidate)(C,o,s)}}}catch(Y){d={error:Y}}finally{try{W&&!W.done&&(p=z.return)&&p.call(z)}finally{if(d)throw d.error}}try{for(var $=S2t(r),K=$.next();!K.done;K=$.next()){var F=K.value;if((0,T2t.innerValidate)(F,o,s).success)return(0,wqe.SUCCESS)(o)}}catch(J){f={error:J}}finally{try{K&&!K.done&&(A=$.return)&&A.call($)}finally{if(f)throw f.error}}return wqe.FAILURE.TYPE_INCORRECT(i,o)},i)}p3e.Union=xll});var vvr=I(lS=>{"use strict";Object.defineProperty(lS,"__esModule",{value:!0});lS.Nullish=lS.Null=lS.Undefined=lS.Literal=lS.literal=void 0;var Dll=UA(),pAi=af(),Nll=bvr();function Cvr(r){return Array.isArray(r)?String(r.map(String)):typeof r=="bigint"?String(r)+"n":String(r)}lS.literal=Cvr;function Ivr(r){var t={tag:"literal",value:r};return(0,Dll.create)(function(n){return n===r?(0,pAi.SUCCESS)(n):pAi.FAILURE.VALUE_INCORRECT("literal","`".concat(Cvr(r),"`"),"`".concat(Cvr(n),"`"))},t)}lS.Literal=Ivr;lS.Undefined=Ivr(void 0);lS.Null=Ivr(null);lS.Nullish=(0,Nll.Union)(lS.Null,lS.Undefined)});var mAi=I(H9=>{"use strict";var zY=H9&&H9.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},Svr=H9&&H9.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))},fAi=H9&&H9.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(H9,"__esModule",{value:!0});H9.Template=void 0;var O2t=UA(),AAi=Rqe(),Mz=af(),gAi=vvr(),Tvr=function(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},Pll=function(r){if(0<r.length&&Array.isArray(r[0])){var t=zY(r),n=t[0],i=t.slice(1);return[Array.from(n),i]}else{var o=r,n=o.reduce(function(l,c){return(0,O2t.isRuntype)(c)?l.push(""):l.push(l.pop()+String(c)),l},[""]),i=o.filter(O2t.isRuntype);return[n,i]}},kll=function(r,t){for(var n=0;n<t.length;)switch(t[n].reflect.tag){case"literal":{var i=t[n];t.splice(n,1);var o=String(i.value);r.splice(n,2,r[n]+o+r[n+1]);break}case"template":{var s=t[n];t.splice.apply(t,Svr([n,1],zY(s.runtypes),!1));var a=s.strings;if(a.length===1)r.splice(n,2,r[n]+a[0]+r[n+1]);else{var l=a[0],c=a.slice(1,-1),u=a[a.length-1];r.splice.apply(r,Svr(Svr([n,2,r[n]+l],zY(c),!1),[u+r[n+1]],!1))}break}case"union":{var d=t[n];if(d.alternatives.length===1)try{var p=xqe(d);t.splice(n,1);var o=String(p.value);r.splice(n,2,r[n]+o+r[n+1]);break}catch{n++;break}else{n++;break}}case"intersect":{var f=t[n];if(f.intersectees.length===1)try{var A=xqe(f);t.splice(n,1);var o=String(A.value);r.splice(n,2,r[n]+o+r[n+1]);break}catch{n++;break}else{n++;break}}default:n++;break}},Lll=function(r){var t=zY(Pll(r),2),n=t[0],i=t[1];return kll(n,i),[n,i]},xqe=function(r){switch(r.reflect.tag){case"literal":return r;case"brand":return xqe(r.reflect.entity);case"union":if(r.reflect.alternatives.length===1)return xqe(r.reflect.alternatives[0]);break;case"intersect":if(r.reflect.intersectees.length===1)return xqe(r.reflect.intersectees[0]);break;default:break}throw void 0},hAi=function(r){return r},Ovr={string:[function(r){return globalThis.String(r)},".*"],number:[function(r){return globalThis.Number(r)},"[+-]?(?:\\d*\\.\\d+|\\d+\\.\\d*|\\d+)(?:[Ee][+-]?\\d+)?","0[Bb][01]+","0[Oo][0-7]+","0[Xx][0-9A-Fa-f]+"],bigint:[function(r){return globalThis.BigInt(r)},"-?[1-9]d*"],boolean:[function(r){return r!=="false"},"true","false"],null:[function(){return null},"null"],undefined:[function(){},"undefined"]},Bqe=function(r){switch(r.tag){case"literal":{var t=zY(Ovr[(0,Mz.typeOf)(r.value)]||[hAi],1),n=t[0];return n}case"brand":return Bqe(r.entity);case"constraint":return Bqe(r.underlying);case"union":return r.alternatives.map(Bqe);case"intersect":return r.intersectees.map(Bqe);default:var i=zY(Ovr[r.tag]||[hAi],1),o=i[0];return o}},_vr=function(r,t){return function(n){var i,o,s,a,l=Bqe(r);if(Array.isArray(l))switch(r.tag){case"union":try{for(var c=fAi(r.alternatives),u=c.next();!u.done;u=c.next()){var d=u.value,p=_vr(d.reflect,t)(n);if(p.success)return p}}catch(C){i={error:C}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return Mz.FAILURE.TYPE_INCORRECT(r,n);case"intersect":try{for(var f=fAi(r.intersectees),A=f.next();!A.done;A=f.next()){var h=A.value,p=_vr(h.reflect,t)(n);if(!p.success)return p}}catch(C){s={error:C}}finally{try{A&&!A.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}return(0,Mz.SUCCESS)(n);default:throw Error("impossible")}else{var y=l,p=(0,O2t.innerValidate)(r,y(n),t);return!p.success&&p.code==="VALUE_INCORRECT"&&r.tag==="literal"?Mz.FAILURE.VALUE_INCORRECT("literal",'"'.concat((0,gAi.literal)(r.value),'"'),'"'.concat(n,'"')):p}}},Mqe=function(r){switch(r.tag){case"literal":return Tvr(String(r.value));case"brand":return Mqe(r.entity);case"constraint":return Mqe(r.underlying);case"union":return r.alternatives.map(Mqe).join("|");case"template":return r.strings.map(Tvr).reduce(function(i,o,s){var a=i+o,l=r.runtypes[s];return l?a+"(?:".concat(Mqe(l.reflect),")"):a},"");default:var t=zY(Ovr[r.tag]||[void 0,".*"]),n=t.slice(1);return n.join("|")}},Qll=function(r){var t=r.strings.map(Tvr).reduce(function(n,i,o){var s=n+i,a=r.runtypes[o];return a?s+"(".concat(Mqe(a.reflect),")"):s},"");return new RegExp("^".concat(t,"$"),"su")};function Fll(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=zY(Lll(r),2),i=n[0],o=n[1],s={tag:"template",strings:i,runtypes:o},a=Qll(s),l=function(c,u){var d=c.match(a);if(d){for(var p=d.slice(1),f=0;f<o.length;f++){var A=o[f],h=p[f],y=_vr(A.reflect,u)(h);if(!y.success)return y}return(0,Mz.SUCCESS)(c)}else return Mz.FAILURE.VALUE_INCORRECT("string","".concat((0,AAi.default)(s)),'"'.concat((0,gAi.literal)(c),'"'))};return(0,O2t.create)(function(c,u){if(typeof c!="string")return Mz.FAILURE.TYPE_INCORRECT(s,c);var d=l(c,u);if(d.success)return(0,Mz.SUCCESS)(c);var p=Mz.FAILURE.VALUE_INCORRECT("string","".concat((0,AAi.default)(s)),'"'.concat(c,'"'));return p.message!==d.message&&(p.message+=" (inner: ".concat(d.message,")")),p},s)}H9.Template=Fll});var bAi=I(_2t=>{"use strict";Object.defineProperty(_2t,"__esModule",{value:!0});_2t.Boolean=void 0;var qll=UA(),yAi=af(),EAi={tag:"boolean"};_2t.Boolean=(0,qll.create)(function(r){return typeof r=="boolean"?(0,yAi.SUCCESS)(r):yAi.FAILURE.TYPE_INCORRECT(EAi,r)},EAi)});var vAi=I(R2t=>{"use strict";Object.defineProperty(R2t,"__esModule",{value:!0});R2t.Number=void 0;var zll=UA(),CAi=af(),IAi={tag:"number"};R2t.Number=(0,zll.create)(function(r){return typeof r=="number"?(0,CAi.SUCCESS)(r):CAi.FAILURE.TYPE_INCORRECT(IAi,r)},IAi)});var OAi=I(w2t=>{"use strict";Object.defineProperty(w2t,"__esModule",{value:!0});w2t.BigInt=void 0;var Ull=UA(),SAi=af(),TAi={tag:"bigint"};w2t.BigInt=(0,Ull.create)(function(r){return typeof r=="bigint"?(0,SAi.SUCCESS)(r):SAi.FAILURE.TYPE_INCORRECT(TAi,r)},TAi)});var Rvr=I(B2t=>{"use strict";Object.defineProperty(B2t,"__esModule",{value:!0});B2t.String=void 0;var jll=UA(),_Ai=af(),RAi={tag:"string"};B2t.String=(0,jll.create)(function(r){return typeof r=="string"?(0,_Ai.SUCCESS)(r):_Ai.FAILURE.TYPE_INCORRECT(RAi,r)},RAi)});var xAi=I(M2t=>{"use strict";Object.defineProperty(M2t,"__esModule",{value:!0});M2t.Symbol=void 0;var MAi=UA(),Dqe=af(),Gll=function(r){var t={tag:"symbol",key:r};return(0,MAi.create)(function(n){if(typeof n!="symbol")return Dqe.FAILURE.TYPE_INCORRECT(t,n);var i=globalThis.Symbol.keyFor(n);return i!==r?Dqe.FAILURE.VALUE_INCORRECT("symbol key",BAi(r),BAi(i)):(0,Dqe.SUCCESS)(n)},t)},wAi={tag:"symbol"};M2t.Symbol=(0,MAi.create)(function(r){return typeof r=="symbol"?(0,Dqe.SUCCESS)(r):Dqe.FAILURE.TYPE_INCORRECT(wAi,r)},Object.assign(Gll,wAi));var BAi=function(r){return r===void 0?"undefined":'"'.concat(r,'"')}});var PAi=I(x2t=>{"use strict";Object.defineProperty(x2t,"__esModule",{value:!0});x2t.Array=void 0;var DAi=UA(),Nqe=af();function NAi(r,t){var n={tag:"array",isReadonly:t,element:r};return Hll((0,DAi.create)(function(i,o){if(!Array.isArray(i))return Nqe.FAILURE.TYPE_INCORRECT(n,i);var s=(0,Nqe.enumerableKeysOf)(i),a=s.map(function(c){return(0,DAi.innerValidate)(r,i[c],o)}),l=s.reduce(function(c,u){var d=a[u];return d.success||(c[u]=d.details||d.message),c},[]);return(0,Nqe.enumerableKeysOf)(l).length!==0?Nqe.FAILURE.CONTENT_INCORRECT(n,l):(0,Nqe.SUCCESS)(i)},n))}function Wll(r){return NAi(r,!1)}x2t.Array=Wll;function Hll(r){return r.asReadonly=t,r;function t(){return NAi(r.element,!0)}}});var LAi=I(D2t=>{"use strict";Object.defineProperty(D2t,"__esModule",{value:!0});D2t.Tuple=void 0;var kAi=UA(),f3e=af();function Vll(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n={tag:"tuple",components:r};return(0,kAi.create)(function(i,o){if(!Array.isArray(i))return f3e.FAILURE.TYPE_INCORRECT(n,i);if(i.length!==r.length)return f3e.FAILURE.CONSTRAINT_FAILED(n,"Expected length ".concat(r.length,", but was ").concat(i.length));var s=(0,f3e.enumerableKeysOf)(i),a=s.map(function(c){return(0,kAi.innerValidate)(r[c],i[c],o)}),l=s.reduce(function(c,u){var d=a[u];return d.success||(c[u]=d.details||d.message),c},[]);return(0,f3e.enumerableKeysOf)(l).length!==0?f3e.FAILURE.CONTENT_INCORRECT(n,l):(0,f3e.SUCCESS)(i)},n)}D2t.Tuple=Vll});var FAi=I(f5=>{"use strict";var wvr=f5&&f5.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},Bvr=f5&&f5.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(f5,"__esModule",{value:!0});f5.Partial=f5.Record=f5.InternalRecord=void 0;var QAi=UA(),uS=af();function UY(r,t,n){var i={tag:"record",isPartial:t,isReadonly:n,fields:r};return Jll((0,QAi.create)(function(o,s){if(o==null)return uS.FAILURE.TYPE_INCORRECT(i,o);var a=(0,uS.enumerableKeysOf)(r);if(a.length!==0&&typeof o!="object")return uS.FAILURE.TYPE_INCORRECT(i,o);var l=Bvr([],wvr(new Set(Bvr(Bvr([],wvr(a),!1),wvr((0,uS.enumerableKeysOf)(o)),!1))),!1),c=l.reduce(function(d,p){var f=(0,uS.hasKey)(p,r),A=(0,uS.hasKey)(p,o);if(f){var h=r[p],y=t||h.reflect.tag==="optional";if(A){var C=o[p];y&&C===void 0?d[p]=(0,uS.SUCCESS)(C):d[p]=(0,QAi.innerValidate)(h,C,s)}else y?d[p]=(0,uS.SUCCESS)(void 0):d[p]=uS.FAILURE.PROPERTY_MISSING(h.reflect)}else if(A){var C=o[p];d[p]=(0,uS.SUCCESS)(C)}else throw new Error("impossible");return d},{}),u=l.reduce(function(d,p){var f=c[p];return f.success||(d[p]=f.details||f.message),d},{});return(0,uS.enumerableKeysOf)(u).length!==0?uS.FAILURE.CONTENT_INCORRECT(i,u):(0,uS.SUCCESS)(o)},i))}f5.InternalRecord=UY;function Yll(r){return UY(r,!1,!1)}f5.Record=Yll;function Kll(r){return UY(r,!0,!1)}f5.Partial=Kll;function Jll(r){return r.asPartial=t,r.asReadonly=n,r.pick=i,r.omit=o,r.extend=s,r;function t(){return UY(r.fields,!0,r.isReadonly)}function n(){return UY(r.fields,r.isPartial,!0)}function i(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c={};return a.forEach(function(u){c[u]=r.fields[u]}),UY(c,r.isPartial,r.isReadonly)}function o(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c={},u=(0,uS.enumerableKeysOf)(r.fields);return u.forEach(function(d){a.includes(d)||(c[d]=r.fields[d])}),UY(c,r.isPartial,r.isReadonly)}function s(a){return UY(Object.assign({},r.fields,a),r.isPartial,r.isReadonly)}}});var xvr=I(A3e=>{"use strict";Object.defineProperty(A3e,"__esModule",{value:!0});A3e.Guard=A3e.Constraint=void 0;var Xll=UA(),Mvr=af(),$ll=C2t();function Zll(r,t,n){var i=n&&n.name,o=n&&n.args,s={tag:"constraint",underlying:r,constraint:t,name:i,args:o};return(0,Xll.create)(function(a){var l=r.validate(a);if(!l.success)return l;var c=t(l.value);return typeof c=="string"?Mvr.FAILURE.CONSTRAINT_FAILED(s,c):c?(0,Mvr.SUCCESS)(l.value):Mvr.FAILURE.CONSTRAINT_FAILED(s)},s)}A3e.Constraint=Zll;var eul=function(r,t){return $ll.Unknown.withGuard(r,t)};A3e.Guard=eul});var zAi=I(N2t=>{"use strict";Object.defineProperty(N2t,"__esModule",{value:!0});N2t.Dictionary=void 0;var qAi=UA(),Dvr=Rvr(),tul=xvr(),rul=Rqe(),lue=af(),nul=(0,tul.Constraint)(Dvr.String,function(r){return!isNaN(+r)},{name:"number"});function iul(r,t){var n=t===void 0||t==="string"?Dvr.String:t==="number"?nul:t,i=(0,rul.default)(n),o={tag:"dictionary",key:i,value:r};return(0,qAi.create)(function(s,a){if(s==null||typeof s!="object"||Object.getPrototypeOf(s)!==Object.prototype&&(!Array.isArray(s)||i==="string"))return lue.FAILURE.TYPE_INCORRECT(o,s);var l=/^(?:NaN|-?\d+(?:\.\d+)?)$/,c=(0,lue.enumerableKeysOf)(s),u=c.reduce(function(p,f){var A=typeof f=="string"&&l.test(f),h=A?globalThis.Number(f):f;return(A?!n.guard(h)&&!n.guard(f):!n.guard(h))?p[f]=lue.FAILURE.KEY_INCORRECT(o,n.reflect,h):p[f]=(0,qAi.innerValidate)(r,s[f],a),p},{}),d=c.reduce(function(p,f){var A=u[f];return A.success||(p[f]=A.details||A.message),p},{});return(0,lue.enumerableKeysOf)(d).length!==0?lue.FAILURE.CONTENT_INCORRECT(o,d):(0,lue.SUCCESS)(s)},o)}N2t.Dictionary=iul});var jAi=I(h3e=>{"use strict";var oul=h3e&&h3e.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h3e,"__esModule",{value:!0});h3e.Intersect=void 0;var UAi=UA(),sul=af();function aul(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n={tag:"intersect",intersectees:r};return(0,UAi.create)(function(i,o){var s,a;try{for(var l=oul(r),c=l.next();!c.done;c=l.next()){var u=c.value,d=(0,UAi.innerValidate)(u,i,o);if(!d.success)return d}}catch(p){s={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(s)throw s.error}}return(0,sul.SUCCESS)(i)},n)}h3e.Intersect=aul});var GAi=I(P2t=>{"use strict";Object.defineProperty(P2t,"__esModule",{value:!0});P2t.Optional=void 0;var lul=UA(),uul=af();function cul(r){var t={tag:"optional",underlying:r};return(0,lul.create)(function(n){return n===void 0?(0,uul.SUCCESS)(n):r.validate(n)},t)}P2t.Optional=cul});var VAi=I(k2t=>{"use strict";Object.defineProperty(k2t,"__esModule",{value:!0});k2t.Function=void 0;var dul=UA(),WAi=af(),HAi={tag:"function"};k2t.Function=(0,dul.create)(function(r){return typeof r=="function"?(0,WAi.SUCCESS)(r):WAi.FAILURE.TYPE_INCORRECT(HAi,r)},HAi)});var KAi=I(L2t=>{"use strict";Object.defineProperty(L2t,"__esModule",{value:!0});L2t.InstanceOf=void 0;var pul=UA(),YAi=af();function ful(r){var t={tag:"instanceof",ctor:r};return(0,pul.create)(function(n){return n instanceof r?(0,YAi.SUCCESS)(n):YAi.FAILURE.TYPE_INCORRECT(t,n)},t)}L2t.InstanceOf=ful});var JAi=I(Q2t=>{"use strict";Object.defineProperty(Q2t,"__esModule",{value:!0});Q2t.Lazy=void 0;var Aul=UA();function hul(r){var t={get tag(){return i().tag}},n;function i(){if(!n){n=r();for(var o in n)o!=="tag"&&(t[o]=n[o])}return n}return(0,Aul.create)(function(o){return i().validate(o)},t)}Q2t.Lazy=hul});var XAi=I(F2t=>{"use strict";Object.defineProperty(F2t,"__esModule",{value:!0});F2t.Brand=void 0;var gul=UA();function mul(r,t){var n={tag:"brand",brand:r,entity:t};return(0,gul.create)(function(i){return t.validate(i)},n)}F2t.Brand=mul});var $Ai=I(g3e=>{"use strict";Object.defineProperty(g3e,"__esModule",{value:!0});g3e.checked=g3e.check=void 0;var yul=d3e(),Eul=af(),Nvr=new WeakMap;function bul(r,t,n){var i=Nvr.get(r)||new Map;Nvr.set(r,i);var o=i.get(t)||[];i.set(t,o),o.push(n)}g3e.check=bul;function Cul(r,t,n){var i=Nvr.get(r),o=i&&i.get(t);if(o)return o;for(var s=[],a=0;a<n;a++)s.push(a);return s}function Iul(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];if(r.length===0)throw new Error("No runtype provided to `@checked`. Please remove the decorator.");return function(n,i,o){var s=o.value,a=(n.name||n.constructor.name+".prototype")+(typeof i=="string"?'["'.concat(i,'"]'):"[".concat(String(i),"]")),l=Cul(n,i,r.length);if(l.length!==r.length)throw new Error("Number of `@checked` runtypes and @check parameters not matched.");if(l.length>s.length)throw new Error("Number of `@checked` runtypes exceeds actual parameter length.");o.value=function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return r.forEach(function(d,p){var f=l[p],A=d.validate(c[f]);if(!A.success){var h="".concat(a,", argument #").concat(f,": ").concat(A.message),y=Eul.FAILURE.ARGUMENT_INCORRECT(h);throw new yul.ValidationError(y)}}),s.apply(this,c)}}}g3e.checked=Iul});var xE=I(Il=>{"use strict";var vul=Il&&Il.__createBinding||(Object.create?function(r,t,n,i){i===void 0&&(i=n),Object.defineProperty(r,i,{enumerable:!0,get:function(){return t[n]}})}:function(r,t,n,i){i===void 0&&(i=n),r[i]=t[n]}),op=Il&&Il.__exportStar||function(r,t){for(var n in r)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&vul(t,r,n)};Object.defineProperty(Il,"__esModule",{value:!0});Il.InstanceOf=Il.Nullish=Il.Null=Il.Undefined=Il.Literal=void 0;op(tAi(),Il);op(mvr(),Il);op(nAi(),Il);op(sAi(),Il);op(aAi(),Il);op(d3e(),Il);op(C2t(),Il);op(cAi(),Il);op(dAi(),Il);var q2t=vvr();Object.defineProperty(Il,"Literal",{enumerable:!0,get:function(){return q2t.Literal}});Object.defineProperty(Il,"Undefined",{enumerable:!0,get:function(){return q2t.Undefined}});Object.defineProperty(Il,"Null",{enumerable:!0,get:function(){return q2t.Null}});Object.defineProperty(Il,"Nullish",{enumerable:!0,get:function(){return q2t.Nullish}});op(mAi(),Il);op(bAi(),Il);op(vAi(),Il);op(OAi(),Il);op(Rvr(),Il);op(xAi(),Il);op(PAi(),Il);op(LAi(),Il);op(FAi(),Il);op(zAi(),Il);op(bvr(),Il);op(jAi(),Il);op(GAi(),Il);op(VAi(),Il);var Sul=KAi();Object.defineProperty(Il,"InstanceOf",{enumerable:!0,get:function(){return Sul.InstanceOf}});op(JAi(),Il);op(xvr(),Il);op(XAi(),Il);op($Ai(),Il)});var Pqe=I((djd,ZAi)=>{var Tul="2.0.0",Oul=Number.MAX_SAFE_INTEGER||9007199254740991,_ul=16,Rul=250,wul=["major","premajor","minor","preminor","patch","prepatch","prerelease"];ZAi.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:_ul,MAX_SAFE_BUILD_LENGTH:Rul,MAX_SAFE_INTEGER:Oul,RELEASE_TYPES:wul,SEMVER_SPEC_VERSION:Tul,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var kqe=I((pjd,ehi)=>{var Bul=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};ehi.exports=Bul});var m3e=I((xz,thi)=>{var{MAX_SAFE_COMPONENT_LENGTH:Pvr,MAX_SAFE_BUILD_LENGTH:Mul,MAX_LENGTH:xul}=Pqe(),Dul=kqe();xz=thi.exports={};var Nul=xz.re=[],Pul=xz.safeRe=[],ds=xz.src=[],ps=xz.t={},kul=0,kvr="[a-zA-Z0-9-]",Lul=[["\\s",1],["\\d",xul],[kvr,Mul]],Qul=r=>{for(let[t,n]of Lul)r=r.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return r},au=(r,t,n)=>{let i=Qul(t),o=kul++;Dul(r,o,t),ps[r]=o,ds[o]=t,Nul[o]=new RegExp(t,n?"g":void 0),Pul[o]=new RegExp(i,n?"g":void 0)};au("NUMERICIDENTIFIER","0|[1-9]\\d*");au("NUMERICIDENTIFIERLOOSE","\\d+");au("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${kvr}*`);au("MAINVERSION",`(${ds[ps.NUMERICIDENTIFIER]})\\.(${ds[ps.NUMERICIDENTIFIER]})\\.(${ds[ps.NUMERICIDENTIFIER]})`);au("MAINVERSIONLOOSE",`(${ds[ps.NUMERICIDENTIFIERLOOSE]})\\.(${ds[ps.NUMERICIDENTIFIERLOOSE]})\\.(${ds[ps.NUMERICIDENTIFIERLOOSE]})`);au("PRERELEASEIDENTIFIER",`(?:${ds[ps.NUMERICIDENTIFIER]}|${ds[ps.NONNUMERICIDENTIFIER]})`);au("PRERELEASEIDENTIFIERLOOSE",`(?:${ds[ps.NUMERICIDENTIFIERLOOSE]}|${ds[ps.NONNUMERICIDENTIFIER]})`);au("PRERELEASE",`(?:-(${ds[ps.PRERELEASEIDENTIFIER]}(?:\\.${ds[ps.PRERELEASEIDENTIFIER]})*))`);au("PRERELEASELOOSE",`(?:-?(${ds[ps.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ds[ps.PRERELEASEIDENTIFIERLOOSE]})*))`);au("BUILDIDENTIFIER",`${kvr}+`);au("BUILD",`(?:\\+(${ds[ps.BUILDIDENTIFIER]}(?:\\.${ds[ps.BUILDIDENTIFIER]})*))`);au("FULLPLAIN",`v?${ds[ps.MAINVERSION]}${ds[ps.PRERELEASE]}?${ds[ps.BUILD]}?`);au("FULL",`^${ds[ps.FULLPLAIN]}$`);au("LOOSEPLAIN",`[v=\\s]*${ds[ps.MAINVERSIONLOOSE]}${ds[ps.PRERELEASELOOSE]}?${ds[ps.BUILD]}?`);au("LOOSE",`^${ds[ps.LOOSEPLAIN]}$`);au("GTLT","((?:<|>)?=?)");au("XRANGEIDENTIFIERLOOSE",`${ds[ps.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);au("XRANGEIDENTIFIER",`${ds[ps.NUMERICIDENTIFIER]}|x|X|\\*`);au("XRANGEPLAIN",`[v=\\s]*(${ds[ps.XRANGEIDENTIFIER]})(?:\\.(${ds[ps.XRANGEIDENTIFIER]})(?:\\.(${ds[ps.XRANGEIDENTIFIER]})(?:${ds[ps.PRERELEASE]})?${ds[ps.BUILD]}?)?)?`);au("XRANGEPLAINLOOSE",`[v=\\s]*(${ds[ps.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ds[ps.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ds[ps.XRANGEIDENTIFIERLOOSE]})(?:${ds[ps.PRERELEASELOOSE]})?${ds[ps.BUILD]}?)?)?`);au("XRANGE",`^${ds[ps.GTLT]}\\s*${ds[ps.XRANGEPLAIN]}$`);au("XRANGELOOSE",`^${ds[ps.GTLT]}\\s*${ds[ps.XRANGEPLAINLOOSE]}$`);au("COERCE",`(^|[^\\d])(\\d{1,${Pvr}})(?:\\.(\\d{1,${Pvr}}))?(?:\\.(\\d{1,${Pvr}}))?(?:$|[^\\d])`);au("COERCERTL",ds[ps.COERCE],!0);au("LONETILDE","(?:~>?)");au("TILDETRIM",`(\\s*)${ds[ps.LONETILDE]}\\s+`,!0);xz.tildeTrimReplace="$1~";au("TILDE",`^${ds[ps.LONETILDE]}${ds[ps.XRANGEPLAIN]}$`);au("TILDELOOSE",`^${ds[ps.LONETILDE]}${ds[ps.XRANGEPLAINLOOSE]}$`);au("LONECARET","(?:\\^)");au("CARETTRIM",`(\\s*)${ds[ps.LONECARET]}\\s+`,!0);xz.caretTrimReplace="$1^";au("CARET",`^${ds[ps.LONECARET]}${ds[ps.XRANGEPLAIN]}$`);au("CARETLOOSE",`^${ds[ps.LONECARET]}${ds[ps.XRANGEPLAINLOOSE]}$`);au("COMPARATORLOOSE",`^${ds[ps.GTLT]}\\s*(${ds[ps.LOOSEPLAIN]})$|^$`);au("COMPARATOR",`^${ds[ps.GTLT]}\\s*(${ds[ps.FULLPLAIN]})$|^$`);au("COMPARATORTRIM",`(\\s*)${ds[ps.GTLT]}\\s*(${ds[ps.LOOSEPLAIN]}|${ds[ps.XRANGEPLAIN]})`,!0);xz.comparatorTrimReplace="$1$2$3";au("HYPHENRANGE",`^\\s*(${ds[ps.XRANGEPLAIN]})\\s+-\\s+(${ds[ps.XRANGEPLAIN]})\\s*$`);au("HYPHENRANGELOOSE",`^\\s*(${ds[ps.XRANGEPLAINLOOSE]})\\s+-\\s+(${ds[ps.XRANGEPLAINLOOSE]})\\s*$`);au("STAR","(<|>)?=?\\s*\\*");au("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");au("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var z2t=I((fjd,rhi)=>{var Ful=Object.freeze({loose:!0}),qul=Object.freeze({}),zul=r=>r?typeof r!="object"?Ful:r:qul;rhi.exports=zul});var Lvr=I((Ajd,ohi)=>{var nhi=/^[0-9]+$/,ihi=(r,t)=>{let n=nhi.test(r),i=nhi.test(t);return n&&i&&(r=+r,t=+t),r===t?0:n&&!i?-1:i&&!n?1:r<t?-1:1},Uul=(r,t)=>ihi(t,r);ohi.exports={compareIdentifiers:ihi,rcompareIdentifiers:Uul}});var yb=I((hjd,uhi)=>{var U2t=kqe(),{MAX_LENGTH:shi,MAX_SAFE_INTEGER:j2t}=Pqe(),{safeRe:ahi,t:lhi}=m3e(),jul=z2t(),{compareIdentifiers:y3e}=Lvr(),Qvr=class r{constructor(t,n){if(n=jul(n),t instanceof r){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>shi)throw new TypeError(`version is longer than ${shi} characters`);U2t("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let i=t.trim().match(n.loose?ahi[lhi.LOOSE]:ahi[lhi.FULL]);if(!i)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>j2t||this.major<0)throw new TypeError("Invalid major version");if(this.minor>j2t||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>j2t||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){let s=+o;if(s>=0&&s<j2t)return s}return o}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(U2t("SemVer.compare",this.version,this.options,t),!(t instanceof r)){if(typeof t=="string"&&t===this.version)return 0;t=new r(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof r||(t=new r(t,this.options)),y3e(this.major,t.major)||y3e(this.minor,t.minor)||y3e(this.patch,t.patch)}comparePre(t){if(t instanceof r||(t=new r(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{let i=this.prerelease[n],o=t.prerelease[n];if(U2t("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return y3e(i,o)}while(++n)}compareBuild(t){t instanceof r||(t=new r(t,this.options));let n=0;do{let i=this.build[n],o=t.build[n];if(U2t("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return y3e(i,o)}while(++n)}inc(t,n,i){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,i),this.inc("pre",n,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,i),this.inc("pre",n,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let o=Number(i)?1:0;if(!n&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[o];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(n===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(n){let s=[n,o];i===!1&&(s=[n]),y3e(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};uhi.exports=Qvr});var uue=I((gjd,dhi)=>{var chi=yb(),Gul=(r,t,n=!1)=>{if(r instanceof chi)return r;try{return new chi(r,t)}catch(i){if(!n)return null;throw i}};dhi.exports=Gul});var fhi=I((mjd,phi)=>{var Wul=uue(),Hul=(r,t)=>{let n=Wul(r,t);return n?n.version:null};phi.exports=Hul});var hhi=I((yjd,Ahi)=>{var Vul=uue(),Yul=(r,t)=>{let n=Vul(r.trim().replace(/^[=v]+/,""),t);return n?n.version:null};Ahi.exports=Yul});var yhi=I((Ejd,mhi)=>{var ghi=yb(),Kul=(r,t,n,i,o)=>{typeof n=="string"&&(o=i,i=n,n=void 0);try{return new ghi(r instanceof ghi?r.version:r,n).inc(t,i,o).version}catch{return null}};mhi.exports=Kul});var Chi=I((bjd,bhi)=>{var Ehi=uue(),Jul=(r,t)=>{let n=Ehi(r,null,!0),i=Ehi(t,null,!0),o=n.compare(i);if(o===0)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length;if(!!l.prerelease.length&&!c)return!l.patch&&!l.minor?"major":a.patch?"patch":a.minor?"minor":"major";let d=c?"pre":"";return n.major!==i.major?d+"major":n.minor!==i.minor?d+"minor":n.patch!==i.patch?d+"patch":"prerelease"};bhi.exports=Jul});var vhi=I((Cjd,Ihi)=>{var Xul=yb(),$ul=(r,t)=>new Xul(r,t).major;Ihi.exports=$ul});var Thi=I((Ijd,Shi)=>{var Zul=yb(),ecl=(r,t)=>new Zul(r,t).minor;Shi.exports=ecl});var _hi=I((vjd,Ohi)=>{var tcl=yb(),rcl=(r,t)=>new tcl(r,t).patch;Ohi.exports=rcl});var whi=I((Sjd,Rhi)=>{var ncl=uue(),icl=(r,t)=>{let n=ncl(r,t);return n&&n.prerelease.length?n.prerelease:null};Rhi.exports=icl});var A5=I((Tjd,Mhi)=>{var Bhi=yb(),ocl=(r,t,n)=>new Bhi(r,n).compare(new Bhi(t,n));Mhi.exports=ocl});var Dhi=I((Ojd,xhi)=>{var scl=A5(),acl=(r,t,n)=>scl(t,r,n);xhi.exports=acl});var Phi=I((_jd,Nhi)=>{var lcl=A5(),ucl=(r,t)=>lcl(r,t,!0);Nhi.exports=ucl});var G2t=I((Rjd,Lhi)=>{var khi=yb(),ccl=(r,t,n)=>{let i=new khi(r,n),o=new khi(t,n);return i.compare(o)||i.compareBuild(o)};Lhi.exports=ccl});var Fhi=I((wjd,Qhi)=>{var dcl=G2t(),pcl=(r,t)=>r.sort((n,i)=>dcl(n,i,t));Qhi.exports=pcl});var zhi=I((Bjd,qhi)=>{var fcl=G2t(),Acl=(r,t)=>r.sort((n,i)=>fcl(i,n,t));qhi.exports=Acl});var Lqe=I((Mjd,Uhi)=>{var hcl=A5(),gcl=(r,t,n)=>hcl(r,t,n)>0;Uhi.exports=gcl});var W2t=I((xjd,jhi)=>{var mcl=A5(),ycl=(r,t,n)=>mcl(r,t,n)<0;jhi.exports=ycl});var Fvr=I((Djd,Ghi)=>{var Ecl=A5(),bcl=(r,t,n)=>Ecl(r,t,n)===0;Ghi.exports=bcl});var qvr=I((Njd,Whi)=>{var Ccl=A5(),Icl=(r,t,n)=>Ccl(r,t,n)!==0;Whi.exports=Icl});var H2t=I((Pjd,Hhi)=>{var vcl=A5(),Scl=(r,t,n)=>vcl(r,t,n)>=0;Hhi.exports=Scl});var V2t=I((kjd,Vhi)=>{var Tcl=A5(),Ocl=(r,t,n)=>Tcl(r,t,n)<=0;Vhi.exports=Ocl});var zvr=I((Ljd,Yhi)=>{var _cl=Fvr(),Rcl=qvr(),wcl=Lqe(),Bcl=H2t(),Mcl=W2t(),xcl=V2t(),Dcl=(r,t,n,i)=>{switch(t){case"===":return typeof r=="object"&&(r=r.version),typeof n=="object"&&(n=n.version),r===n;case"!==":return typeof r=="object"&&(r=r.version),typeof n=="object"&&(n=n.version),r!==n;case"":case"=":case"==":return _cl(r,n,i);case"!=":return Rcl(r,n,i);case">":return wcl(r,n,i);case">=":return Bcl(r,n,i);case"<":return Mcl(r,n,i);case"<=":return xcl(r,n,i);default:throw new TypeError(`Invalid operator: ${t}`)}};Yhi.exports=Dcl});var Jhi=I((Qjd,Khi)=>{var Ncl=yb(),Pcl=uue(),{safeRe:Y2t,t:K2t}=m3e(),kcl=(r,t)=>{if(r instanceof Ncl)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;t=t||{};let n=null;if(!t.rtl)n=r.match(Y2t[K2t.COERCE]);else{let i;for(;(i=Y2t[K2t.COERCERTL].exec(r))&&(!n||n.index+n[0].length!==r.length);)(!n||i.index+i[0].length!==n.index+n[0].length)&&(n=i),Y2t[K2t.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;Y2t[K2t.COERCERTL].lastIndex=-1}return n===null?null:Pcl(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};Khi.exports=kcl});var $hi=I((Fjd,Xhi)=>{"use strict";Xhi.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var Uvr=I((qjd,Zhi)=>{"use strict";Zhi.exports=d0;d0.Node=cue;d0.create=d0;function d0(r){var t=this;if(t instanceof d0||(t=new d0),t.tail=null,t.head=null,t.length=0,r&&typeof r.forEach=="function")r.forEach(function(o){t.push(o)});else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}d0.prototype.removeNode=function(r){if(r.list!==this)throw new Error("removing node which does not belong to this list");var t=r.next,n=r.prev;return t&&(t.prev=n),n&&(n.next=t),r===this.head&&(this.head=t),r===this.tail&&(this.tail=n),r.list.length--,r.next=null,r.prev=null,r.list=null,t};d0.prototype.unshiftNode=function(r){if(r!==this.head){r.list&&r.list.removeNode(r);var t=this.head;r.list=this,r.next=t,t&&(t.prev=r),this.head=r,this.tail||(this.tail=r),this.length++}};d0.prototype.pushNode=function(r){if(r!==this.tail){r.list&&r.list.removeNode(r);var t=this.tail;r.list=this,r.prev=t,t&&(t.next=r),this.tail=r,this.head||(this.head=r),this.length++}};d0.prototype.push=function(){for(var r=0,t=arguments.length;r<t;r++)Qcl(this,arguments[r]);return this.length};d0.prototype.unshift=function(){for(var r=0,t=arguments.length;r<t;r++)Fcl(this,arguments[r]);return this.length};d0.prototype.pop=function(){if(this.tail){var r=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,r}};d0.prototype.shift=function(){if(this.head){var r=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,r}};d0.prototype.forEach=function(r,t){t=t||this;for(var n=this.head,i=0;n!==null;i++)r.call(t,n.value,i,this),n=n.next};d0.prototype.forEachReverse=function(r,t){t=t||this;for(var n=this.tail,i=this.length-1;n!==null;i--)r.call(t,n.value,i,this),n=n.prev};d0.prototype.get=function(r){for(var t=0,n=this.head;n!==null&&t<r;t++)n=n.next;if(t===r&&n!==null)return n.value};d0.prototype.getReverse=function(r){for(var t=0,n=this.tail;n!==null&&t<r;t++)n=n.prev;if(t===r&&n!==null)return n.value};d0.prototype.map=function(r,t){t=t||this;for(var n=new d0,i=this.head;i!==null;)n.push(r.call(t,i.value,this)),i=i.next;return n};d0.prototype.mapReverse=function(r,t){t=t||this;for(var n=new d0,i=this.tail;i!==null;)n.push(r.call(t,i.value,this)),i=i.prev;return n};d0.prototype.reduce=function(r,t){var n,i=this.head;if(arguments.length>1)n=t;else if(this.head)i=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=0;i!==null;o++)n=r(n,i.value,o),i=i.next;return n};d0.prototype.reduceReverse=function(r,t){var n,i=this.tail;if(arguments.length>1)n=t;else if(this.tail)i=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=this.length-1;i!==null;o--)n=r(n,i.value,o),i=i.prev;return n};d0.prototype.toArray=function(){for(var r=new Array(this.length),t=0,n=this.head;n!==null;t++)r[t]=n.value,n=n.next;return r};d0.prototype.toArrayReverse=function(){for(var r=new Array(this.length),t=0,n=this.tail;n!==null;t++)r[t]=n.value,n=n.prev;return r};d0.prototype.slice=function(r,t){t=t||this.length,t<0&&(t+=this.length),r=r||0,r<0&&(r+=this.length);var n=new d0;if(t<r||t<0)return n;r<0&&(r=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;o!==null&&i<r;i++)o=o.next;for(;o!==null&&i<t;i++,o=o.next)n.push(o.value);return n};d0.prototype.sliceReverse=function(r,t){t=t||this.length,t<0&&(t+=this.length),r=r||0,r<0&&(r+=this.length);var n=new d0;if(t<r||t<0)return n;r<0&&(r=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;o!==null&&i>t;i--)o=o.prev;for(;o!==null&&i>r;i--,o=o.prev)n.push(o.value);return n};d0.prototype.splice=function(r,t,...n){r>this.length&&(r=this.length-1),r<0&&(r=this.length+r);for(var i=0,o=this.head;o!==null&&i<r;i++)o=o.next;for(var s=[],i=0;o&&i<t;i++)s.push(o.value),o=this.removeNode(o);o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var i=0;i<n.length;i++)o=Lcl(this,o,n[i]);return s};d0.prototype.reverse=function(){for(var r=this.head,t=this.tail,n=r;n!==null;n=n.prev){var i=n.prev;n.prev=n.next,n.next=i}return this.head=t,this.tail=r,this};function Lcl(r,t,n){var i=t===r.head?new cue(n,null,t,r):new cue(n,t,t.next,r);return i.next===null&&(r.tail=i),i.prev===null&&(r.head=i),r.length++,i}function Qcl(r,t){r.tail=new cue(t,r.tail,null,r),r.head||(r.head=r.tail),r.length++}function Fcl(r,t){r.head=new cue(t,null,r.head,r),r.tail||(r.tail=r.head),r.length++}function cue(r,t,n,i){if(!(this instanceof cue))return new cue(r,t,n,i);this.list=i,this.value=r,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{$hi()(d0)}catch{}});var C3e=I((zjd,ngi)=>{"use strict";var qcl=Uvr(),due=Symbol("max"),Nz=Symbol("length"),E3e=Symbol("lengthCalculator"),Fqe=Symbol("allowStale"),pue=Symbol("maxAge"),Dz=Symbol("dispose"),egi=Symbol("noDisposeOnSet"),W2=Symbol("lruList"),zM=Symbol("cache"),rgi=Symbol("updateAgeOnGet"),jvr=()=>1,Wvr=class{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");let n=this[due]=t.max||1/0,i=t.length||jvr;if(this[E3e]=typeof i!="function"?jvr:i,this[Fqe]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[pue]=t.maxAge||0,this[Dz]=t.dispose,this[egi]=t.noDisposeOnSet||!1,this[rgi]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[due]=t||1/0,Qqe(this)}get max(){return this[due]}set allowStale(t){this[Fqe]=!!t}get allowStale(){return this[Fqe]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[pue]=t,Qqe(this)}get maxAge(){return this[pue]}set lengthCalculator(t){typeof t!="function"&&(t=jvr),t!==this[E3e]&&(this[E3e]=t,this[Nz]=0,this[W2].forEach(n=>{n.length=this[E3e](n.value,n.key),this[Nz]+=n.length})),Qqe(this)}get lengthCalculator(){return this[E3e]}get length(){return this[Nz]}get itemCount(){return this[W2].length}rforEach(t,n){n=n||this;for(let i=this[W2].tail;i!==null;){let o=i.prev;tgi(this,t,i,n),i=o}}forEach(t,n){n=n||this;for(let i=this[W2].head;i!==null;){let o=i.next;tgi(this,t,i,n),i=o}}keys(){return this[W2].toArray().map(t=>t.key)}values(){return this[W2].toArray().map(t=>t.value)}reset(){this[Dz]&&this[W2]&&this[W2].length&&this[W2].forEach(t=>this[Dz](t.key,t.value)),this[zM]=new Map,this[W2]=new qcl,this[Nz]=0}dump(){return this[W2].map(t=>J2t(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[W2]}set(t,n,i){if(i=i||this[pue],i&&typeof i!="number")throw new TypeError("maxAge must be a number");let o=i?Date.now():0,s=this[E3e](n,t);if(this[zM].has(t)){if(s>this[due])return b3e(this,this[zM].get(t)),!1;let c=this[zM].get(t).value;return this[Dz]&&(this[egi]||this[Dz](t,c.value)),c.now=o,c.maxAge=i,c.value=n,this[Nz]+=s-c.length,c.length=s,this.get(t),Qqe(this),!0}let a=new Hvr(t,n,s,o,i);return a.length>this[due]?(this[Dz]&&this[Dz](t,n),!1):(this[Nz]+=a.length,this[W2].unshift(a),this[zM].set(t,this[W2].head),Qqe(this),!0)}has(t){if(!this[zM].has(t))return!1;let n=this[zM].get(t).value;return!J2t(this,n)}get(t){return Gvr(this,t,!0)}peek(t){return Gvr(this,t,!1)}pop(){let t=this[W2].tail;return t?(b3e(this,t),t.value):null}del(t){b3e(this,this[zM].get(t))}load(t){this.reset();let n=Date.now();for(let i=t.length-1;i>=0;i--){let o=t[i],s=o.e||0;if(s===0)this.set(o.k,o.v);else{let a=s-n;a>0&&this.set(o.k,o.v,a)}}}prune(){this[zM].forEach((t,n)=>Gvr(this,n,!1))}},Gvr=(r,t,n)=>{let i=r[zM].get(t);if(i){let o=i.value;if(J2t(r,o)){if(b3e(r,i),!r[Fqe])return}else n&&(r[rgi]&&(i.value.now=Date.now()),r[W2].unshiftNode(i));return o.value}},J2t=(r,t)=>{if(!t||!t.maxAge&&!r[pue])return!1;let n=Date.now()-t.now;return t.maxAge?n>t.maxAge:r[pue]&&n>r[pue]},Qqe=r=>{if(r[Nz]>r[due])for(let t=r[W2].tail;r[Nz]>r[due]&&t!==null;){let n=t.prev;b3e(r,t),t=n}},b3e=(r,t)=>{if(t){let n=t.value;r[Dz]&&r[Dz](n.key,n.value),r[Nz]-=n.length,r[zM].delete(n.key),r[W2].removeNode(t)}},Hvr=class{constructor(t,n,i,o,s){this.key=t,this.value=n,this.length=i,this.now=o,this.maxAge=s||0}},tgi=(r,t,n,i)=>{let o=n.value;J2t(r,o)&&(b3e(r,n),r[Fqe]||(o=void 0)),o&&t.call(i,o.value,o.key,r)};ngi.exports=Wvr});var h5=I((Ujd,agi)=>{var Vvr=class r{constructor(t,n){if(n=Ucl(n),t instanceof r)return t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease?t:new r(t.raw,n);if(t instanceof Yvr)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(o=>!ogi(o[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let o of this.set)if(o.length===1&&Kcl(o[0])){this.set=[o];break}}}this.format()}format(){return this.range=this.set.map(t=>t.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(t){let i=((this.options.includePrerelease&&Vcl)|(this.options.loose&&Ycl))+":"+t,o=igi.get(i);if(o)return o;let s=this.options.loose,a=s?cS[lI.HYPHENRANGELOOSE]:cS[lI.HYPHENRANGE];t=t.replace(a,o0l(this.options.includePrerelease)),I1("hyphen replace",t),t=t.replace(cS[lI.COMPARATORTRIM],Gcl),I1("comparator trim",t),t=t.replace(cS[lI.TILDETRIM],Wcl),I1("tilde trim",t),t=t.replace(cS[lI.CARETTRIM],Hcl),I1("caret trim",t);let l=t.split(" ").map(p=>Jcl(p,this.options)).join(" ").split(/\s+/).map(p=>i0l(p,this.options));s&&(l=l.filter(p=>(I1("loose invalid filter",p,this.options),!!p.match(cS[lI.COMPARATORLOOSE])))),I1("range list",l);let c=new Map,u=l.map(p=>new Yvr(p,this.options));for(let p of u){if(ogi(p))return[p];c.set(p.value,p)}c.size>1&&c.has("")&&c.delete("");let d=[...c.values()];return igi.set(i,d),d}intersects(t,n){if(!(t instanceof r))throw new TypeError("a Range is required");return this.set.some(i=>sgi(i,n)&&t.set.some(o=>sgi(o,n)&&i.every(s=>o.every(a=>s.intersects(a,n)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new jcl(t,this.options)}catch{return!1}for(let n=0;n<this.set.length;n++)if(s0l(this.set[n],t,this.options))return!0;return!1}};agi.exports=Vvr;var zcl=C3e(),igi=new zcl({max:1e3}),Ucl=z2t(),Yvr=qqe(),I1=kqe(),jcl=yb(),{safeRe:cS,t:lI,comparatorTrimReplace:Gcl,tildeTrimReplace:Wcl,caretTrimReplace:Hcl}=m3e(),{FLAG_INCLUDE_PRERELEASE:Vcl,FLAG_LOOSE:Ycl}=Pqe(),ogi=r=>r.value==="<0.0.0-0",Kcl=r=>r.value==="",sgi=(r,t)=>{let n=!0,i=r.slice(),o=i.pop();for(;n&&i.length;)n=i.every(s=>o.intersects(s,t)),o=i.pop();return n},Jcl=(r,t)=>(I1("comp",r,t),r=Zcl(r,t),I1("caret",r),r=Xcl(r,t),I1("tildes",r),r=t0l(r,t),I1("xrange",r),r=n0l(r,t),I1("stars",r),r),uI=r=>!r||r.toLowerCase()==="x"||r==="*",Xcl=(r,t)=>r.trim().split(/\s+/).map(n=>$cl(n,t)).join(" "),$cl=(r,t)=>{let n=t.loose?cS[lI.TILDELOOSE]:cS[lI.TILDE];return r.replace(n,(i,o,s,a,l)=>{I1("tilde",r,i,o,s,a,l);let c;return uI(o)?c="":uI(s)?c=`>=${o}.0.0 <${+o+1}.0.0-0`:uI(a)?c=`>=${o}.${s}.0 <${o}.${+s+1}.0-0`:l?(I1("replaceTilde pr",l),c=`>=${o}.${s}.${a}-${l} <${o}.${+s+1}.0-0`):c=`>=${o}.${s}.${a} <${o}.${+s+1}.0-0`,I1("tilde return",c),c})},Zcl=(r,t)=>r.trim().split(/\s+/).map(n=>e0l(n,t)).join(" "),e0l=(r,t)=>{I1("caret",r,t);let n=t.loose?cS[lI.CARETLOOSE]:cS[lI.CARET],i=t.includePrerelease?"-0":"";return r.replace(n,(o,s,a,l,c)=>{I1("caret",r,o,s,a,l,c);let u;return uI(s)?u="":uI(a)?u=`>=${s}.0.0${i} <${+s+1}.0.0-0`:uI(l)?s==="0"?u=`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:c?(I1("replaceCaret pr",c),s==="0"?a==="0"?u=`>=${s}.${a}.${l}-${c} <${s}.${a}.${+l+1}-0`:u=`>=${s}.${a}.${l}-${c} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${l}-${c} <${+s+1}.0.0-0`):(I1("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${l}${i} <${s}.${a}.${+l+1}-0`:u=`>=${s}.${a}.${l}${i} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${l} <${+s+1}.0.0-0`),I1("caret return",u),u})},t0l=(r,t)=>(I1("replaceXRanges",r,t),r.split(/\s+/).map(n=>r0l(n,t)).join(" ")),r0l=(r,t)=>{r=r.trim();let n=t.loose?cS[lI.XRANGELOOSE]:cS[lI.XRANGE];return r.replace(n,(i,o,s,a,l,c)=>{I1("xRange",r,i,o,s,a,l,c);let u=uI(s),d=u||uI(a),p=d||uI(l),f=p;return o==="="&&f&&(o=""),c=t.includePrerelease?"-0":"",u?o===">"||o==="<"?i="<0.0.0-0":i="*":o&&f?(d&&(a=0),l=0,o===">"?(o=">=",d?(s=+s+1,a=0,l=0):(a=+a+1,l=0)):o==="<="&&(o="<",d?s=+s+1:a=+a+1),o==="<"&&(c="-0"),i=`${o+s}.${a}.${l}${c}`):d?i=`>=${s}.0.0${c} <${+s+1}.0.0-0`:p&&(i=`>=${s}.${a}.0${c} <${s}.${+a+1}.0-0`),I1("xRange return",i),i})},n0l=(r,t)=>(I1("replaceStars",r,t),r.trim().replace(cS[lI.STAR],"")),i0l=(r,t)=>(I1("replaceGTE0",r,t),r.trim().replace(cS[t.includePrerelease?lI.GTE0PRE:lI.GTE0],"")),o0l=r=>(t,n,i,o,s,a,l,c,u,d,p,f,A)=>(uI(i)?n="":uI(o)?n=`>=${i}.0.0${r?"-0":""}`:uI(s)?n=`>=${i}.${o}.0${r?"-0":""}`:a?n=`>=${n}`:n=`>=${n}${r?"-0":""}`,uI(u)?c="":uI(d)?c=`<${+u+1}.0.0-0`:uI(p)?c=`<${u}.${+d+1}.0-0`:f?c=`<=${u}.${d}.${p}-${f}`:r?c=`<${u}.${d}.${+p+1}-0`:c=`<=${c}`,`${n} ${c}`.trim()),s0l=(r,t,n)=>{for(let i=0;i<r.length;i++)if(!r[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let i=0;i<r.length;i++)if(I1(r[i].semver),r[i].semver!==Yvr.ANY&&r[i].semver.prerelease.length>0){let o=r[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}});var qqe=I((jjd,fgi)=>{var zqe=Symbol("SemVer ANY"),Xvr=class r{static get ANY(){return zqe}constructor(t,n){if(n=lgi(n),t instanceof r){if(t.loose===!!n.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),Jvr("comparator",t,n),this.options=n,this.loose=!!n.loose,this.parse(t),this.semver===zqe?this.value="":this.value=this.operator+this.semver.version,Jvr("comp",this)}parse(t){let n=this.options.loose?ugi[cgi.COMPARATORLOOSE]:ugi[cgi.COMPARATOR],i=t.match(n);if(!i)throw new TypeError(`Invalid comparator: ${t}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new dgi(i[2],this.options.loose):this.semver=zqe}toString(){return this.value}test(t){if(Jvr("Comparator.test",t,this.options.loose),this.semver===zqe||t===zqe)return!0;if(typeof t=="string")try{t=new dgi(t,this.options)}catch{return!1}return Kvr(t,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new pgi(t.value,n).test(this.value):t.operator===""?t.value===""?!0:new pgi(this.value,n).test(t.semver):(n=lgi(n),n.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!n.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||Kvr(this.semver,"<",t.semver,n)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||Kvr(this.semver,">",t.semver,n)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};fgi.exports=Xvr;var lgi=z2t(),{safeRe:ugi,t:cgi}=m3e(),Kvr=zvr(),Jvr=kqe(),dgi=yb(),pgi=h5()});var Uqe=I((Gjd,Agi)=>{var a0l=h5(),l0l=(r,t,n)=>{try{t=new a0l(t,n)}catch{return!1}return t.test(r)};Agi.exports=l0l});var ggi=I((Wjd,hgi)=>{var u0l=h5(),c0l=(r,t)=>new u0l(r,t).set.map(n=>n.map(i=>i.value).join(" ").trim().split(" "));hgi.exports=c0l});var ygi=I((Hjd,mgi)=>{var d0l=yb(),p0l=h5(),f0l=(r,t,n)=>{let i=null,o=null,s=null;try{s=new p0l(t,n)}catch{return null}return r.forEach(a=>{s.test(a)&&(!i||o.compare(a)===-1)&&(i=a,o=new d0l(i,n))}),i};mgi.exports=f0l});var bgi=I((Vjd,Egi)=>{var A0l=yb(),h0l=h5(),g0l=(r,t,n)=>{let i=null,o=null,s=null;try{s=new h0l(t,n)}catch{return null}return r.forEach(a=>{s.test(a)&&(!i||o.compare(a)===1)&&(i=a,o=new A0l(i,n))}),i};Egi.exports=g0l});var vgi=I((Yjd,Igi)=>{var $vr=yb(),m0l=h5(),Cgi=Lqe(),y0l=(r,t)=>{r=new m0l(r,t);let n=new $vr("0.0.0");if(r.test(n)||(n=new $vr("0.0.0-0"),r.test(n)))return n;n=null;for(let i=0;i<r.set.length;++i){let o=r.set[i],s=null;o.forEach(a=>{let l=new $vr(a.semver.version);switch(a.operator){case">":l.prerelease.length===0?l.patch++:l.prerelease.push(0),l.raw=l.format();case"":case">=":(!s||Cgi(l,s))&&(s=l);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!n||Cgi(n,s))&&(n=s)}return n&&r.test(n)?n:null};Igi.exports=y0l});var Tgi=I((Kjd,Sgi)=>{var E0l=h5(),b0l=(r,t)=>{try{return new E0l(r,t).range||"*"}catch{return null}};Sgi.exports=b0l});var X2t=I((Jjd,wgi)=>{var C0l=yb(),Rgi=qqe(),{ANY:I0l}=Rgi,v0l=h5(),S0l=Uqe(),Ogi=Lqe(),_gi=W2t(),T0l=V2t(),O0l=H2t(),_0l=(r,t,n,i)=>{r=new C0l(r,i),t=new v0l(t,i);let o,s,a,l,c;switch(n){case">":o=Ogi,s=T0l,a=_gi,l=">",c=">=";break;case"<":o=_gi,s=O0l,a=Ogi,l="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(S0l(r,t,i))return!1;for(let u=0;u<t.set.length;++u){let d=t.set[u],p=null,f=null;if(d.forEach(A=>{A.semver===I0l&&(A=new Rgi(">=0.0.0")),p=p||A,f=f||A,o(A.semver,p.semver,i)?p=A:a(A.semver,f.semver,i)&&(f=A)}),p.operator===l||p.operator===c||(!f.operator||f.operator===l)&&s(r,f.semver))return!1;if(f.operator===c&&a(r,f.semver))return!1}return!0};wgi.exports=_0l});var Mgi=I((Xjd,Bgi)=>{var R0l=X2t(),w0l=(r,t,n)=>R0l(r,t,">",n);Bgi.exports=w0l});var Dgi=I(($jd,xgi)=>{var B0l=X2t(),M0l=(r,t,n)=>B0l(r,t,"<",n);xgi.exports=M0l});var kgi=I((Zjd,Pgi)=>{var Ngi=h5(),x0l=(r,t,n)=>(r=new Ngi(r,n),t=new Ngi(t,n),r.intersects(t,n));Pgi.exports=x0l});var Qgi=I((eGd,Lgi)=>{var D0l=Uqe(),N0l=A5();Lgi.exports=(r,t,n)=>{let i=[],o=null,s=null,a=r.sort((d,p)=>N0l(d,p,n));for(let d of a)D0l(d,t,n)?(s=d,o||(o=d)):(s&&i.push([o,s]),s=null,o=null);o&&i.push([o,null]);let l=[];for(let[d,p]of i)d===p?l.push(d):!p&&d===a[0]?l.push("*"):p?d===a[0]?l.push(`<=${p}`):l.push(`${d} - ${p}`):l.push(`>=${d}`);let c=l.join(" || "),u=typeof t.raw=="string"?t.raw:String(t);return c.length<u.length?c:t}});var Ggi=I((tGd,jgi)=>{var Fgi=h5(),eSr=qqe(),{ANY:Zvr}=eSr,jqe=Uqe(),tSr=A5(),P0l=(r,t,n={})=>{if(r===t)return!0;r=new Fgi(r,n),t=new Fgi(t,n);let i=!1;e:for(let o of r.set){for(let s of t.set){let a=L0l(o,s,n);if(i=i||a!==null,a)continue e}if(i)return!1}return!0},k0l=[new eSr(">=0.0.0-0")],qgi=[new eSr(">=0.0.0")],L0l=(r,t,n)=>{if(r===t)return!0;if(r.length===1&&r[0].semver===Zvr){if(t.length===1&&t[0].semver===Zvr)return!0;n.includePrerelease?r=k0l:r=qgi}if(t.length===1&&t[0].semver===Zvr){if(n.includePrerelease)return!0;t=qgi}let i=new Set,o,s;for(let A of r)A.operator===">"||A.operator===">="?o=zgi(o,A,n):A.operator==="<"||A.operator==="<="?s=Ugi(s,A,n):i.add(A.semver);if(i.size>1)return null;let a;if(o&&s){if(a=tSr(o.semver,s.semver,n),a>0)return null;if(a===0&&(o.operator!==">="||s.operator!=="<="))return null}for(let A of i){if(o&&!jqe(A,String(o),n)||s&&!jqe(A,String(s),n))return null;for(let h of t)if(!jqe(A,String(h),n))return!1;return!0}let l,c,u,d,p=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1;p&&p.prerelease.length===1&&s.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(let A of t){if(d=d||A.operator===">"||A.operator===">=",u=u||A.operator==="<"||A.operator==="<=",o){if(f&&A.semver.prerelease&&A.semver.prerelease.length&&A.semver.major===f.major&&A.semver.minor===f.minor&&A.semver.patch===f.patch&&(f=!1),A.operator===">"||A.operator===">="){if(l=zgi(o,A,n),l===A&&l!==o)return!1}else if(o.operator===">="&&!jqe(o.semver,String(A),n))return!1}if(s){if(p&&A.semver.prerelease&&A.semver.prerelease.length&&A.semver.major===p.major&&A.semver.minor===p.minor&&A.semver.patch===p.patch&&(p=!1),A.operator==="<"||A.operator==="<="){if(c=Ugi(s,A,n),c===A&&c!==s)return!1}else if(s.operator==="<="&&!jqe(s.semver,String(A),n))return!1}if(!A.operator&&(s||o)&&a!==0)return!1}return!(o&&u&&!s&&a!==0||s&&d&&!o&&a!==0||f||p)},zgi=(r,t,n)=>{if(!r)return t;let i=tSr(r.semver,t.semver,n);return i>0?r:i<0||t.operator===">"&&r.operator===">="?t:r},Ugi=(r,t,n)=>{if(!r)return t;let i=tSr(r.semver,t.semver,n);return i<0?r:i>0||t.operator==="<"&&r.operator==="<="?t:r};jgi.exports=P0l});var I3e=I((rGd,Vgi)=>{var rSr=m3e(),Wgi=Pqe(),Q0l=yb(),Hgi=Lvr(),F0l=uue(),q0l=fhi(),z0l=hhi(),U0l=yhi(),j0l=Chi(),G0l=vhi(),W0l=Thi(),H0l=_hi(),V0l=whi(),Y0l=A5(),K0l=Dhi(),J0l=Phi(),X0l=G2t(),$0l=Fhi(),Z0l=zhi(),edl=Lqe(),tdl=W2t(),rdl=Fvr(),ndl=qvr(),idl=H2t(),odl=V2t(),sdl=zvr(),adl=Jhi(),ldl=qqe(),udl=h5(),cdl=Uqe(),ddl=ggi(),pdl=ygi(),fdl=bgi(),Adl=vgi(),hdl=Tgi(),gdl=X2t(),mdl=Mgi(),ydl=Dgi(),Edl=kgi(),bdl=Qgi(),Cdl=Ggi();Vgi.exports={parse:F0l,valid:q0l,clean:z0l,inc:U0l,diff:j0l,major:G0l,minor:W0l,patch:H0l,prerelease:V0l,compare:Y0l,rcompare:K0l,compareLoose:J0l,compareBuild:X0l,sort:$0l,rsort:Z0l,gt:edl,lt:tdl,eq:rdl,neq:ndl,gte:idl,lte:odl,cmp:sdl,coerce:adl,Comparator:ldl,Range:udl,satisfies:cdl,toComparators:ddl,maxSatisfying:pdl,minSatisfying:fdl,minVersion:Adl,validRange:hdl,outside:gdl,gtr:mdl,ltr:ydl,intersects:Edl,simplifyRange:bdl,subset:Cdl,SemVer:Q0l,re:rSr.re,src:rSr.src,tokens:rSr.t,SEMVER_SPEC_VERSION:Wgi.SEMVER_SPEC_VERSION,RELEASE_TYPES:Wgi.RELEASE_TYPES,compareIdentifiers:Hgi.compareIdentifiers,rcompareIdentifiers:Hgi.rcompareIdentifiers}});var Gqe,Idl,iGd,vdl,Pz,v3e=Et(()=>{"use strict";Gqe=Ct(xE()),Idl=Ct(I3e()),iGd=(0,Gqe.Record)({version:Gqe.String,hash:Gqe.String}),vdl=()=>({version:"7.13.2",hash:"0357716d313b92bf1857f5d397d747a053f3a42f"}),Pz=vdl()});var Ygi,g5,Kgi,nSr,iSr,Tdl,$2t,Odl,Wqe,Z2t=Et(()=>{"use strict";Ygi=Ct(Zle());_qe();l3e();Hqe();pc();v3e();Kgi=r=>{g5=r},nSr=r=>r.includes("production")?"production":r.includes("staging")?"staging":r.includes("qa")?"qa":"development",iSr=()=>{if(Vf()){let r=process.env.RUNTIME_ENVIRONMENT||"development";return uqn("coa")?process.env.COALESCE_COA_CLOUD_JOB_ID?nSr(r):void 0:nSr(r)}else{let r;try{r=self.ENVIRONMENT}catch{}return typeof r=="string"?nSr(r):void 0}},Tdl=()=>{let r=ec();if(r.isTest)return{};let t=iSr();return r.isNode?{firebaseEnv:t}:{windowInfo:{frontendURLHost:self.location.host},firebaseEnv:t}},$2t=r=>({coalesceSoftwareVersion:Pz?.version||"",service:r,env:process.env.REACT_APP_OWNER??"",reactAppCoalesceDev:process.env.REACT_APP_COALESCE_DEV??""}),Odl=r=>{let t=$2t(g5);return{appEnv:Tdl(),loggingArea:r,...t}},Wqe=r=>{let t=p5[r];if(!t)throw new Error(`Logging area "${r}" is not a valid LoggingAreas key`);return t.logger||(t.logger=Ygi.createLogger({levels:h2t.LEVELS,defaultMeta:Odl(r),level:t.level,transports:Jgi(t)})),t.logger}});var lSr,dS,oSr,Xgi,$gi,Zgi,sSr,uSr,eyt,_dl,cSr,S3e,aSr,tyt,dSr,Jgi,Hqe=Et(()=>{"use strict";lSr=Ct(vz()),dS=Ct(Zle());l3e();g2t();Z2t();pc();oSr=null,Xgi=r=>{oSr=r},$gi={emerg:"error",assert:"warn",alert:"warn",error:"warn",warn:"warn",app:"info",info:"info",debug:"debug"},Zgi={emerg:"emerg",assert:"alert",alert:"alert",error:"error",app:"info",info:"info",warn:"warn",debug:"debug"},sSr=class extends lSr.default{baseContext;constructor(t){super(t),this.baseContext=$2t(g5)}log(t,n){oSr&&oSr.log({...t,level:Zgi[t.level]},{...this.baseContext,...Fh},$gi[t.level]),n()}},eyt=r=>{let t=$2t(r);uSr={host:"http-intake.logs.datadoghq.com",path:`/v1/input/pub04bd017317b60c96b62874179d82ff97?ddtags=env:${t.env},coalesceSoftwareVersion:${t.coalesceSoftwareVersion}&ddsource=nodejs&service=${r}`,ssl:!0}},_dl=!1,cSr=()=>dS.format.combine(dS.format.timestamp(),dS.format.colorize({colors:h2t.COLORS}),dS.format.printf(r=>`|${r.timestamp}|${process.env.JEST_WORKER_ID?`[SHARD:${process.env.JEST_WORKER_ID}]`:""}[${r.loggingArea}]${r.orgID?`|(org:${r.orgID})`:""}${r.workspaceID?`|(env:${r.workspaceID})`:""}${r.userID?`|(user:${r.userID})`:""}${r.runID?`|run:${r.runID})`:""}(${r.nodeID?`|(node:${r.nodeID})`:""})|)|${r.level}:${r.message}`)),S3e=r=>new dS.transports.Console({format:process.env.CONSOLE_JSON_LOGS?dS.format.combine(dS.format.timestamp(),dS.format.json()):cSr(),level:r.level,silent:_dl}),aSr=class extends lSr.default{httpTransport;constructor(t,n){super(n),this.httpTransport=t}log(t,n){this.httpTransport.log?.({...t,level:Zgi[t.level],status:$gi[t.level]},n)}},tyt=()=>{let r=new dS.transports.Http({...uSr,format:dS.format.combine(cSr(),dS.format.uncolorize())});return new aSr(r)},dSr=()=>new dS.transports.File({filename:process.env.JEST_WORKER_ID?`test-shard-${process.env.JEST_WORKER_ID}.log`:"test.log",dirname:"./test-logs",format:cSr(),level:A2t.debug}),Jgi=r=>{let t=[];return t.push(S3e(r)),uSr&&t.push(tyt()),ec().isTest&&t.push(dSr()),[new sSr,...t]}});var emi,ryt,nyt,pSr,iyt,kz,tmi=Et(()=>{"use strict";emi=Ct(as()),ryt=Ct(Zle());_qe();Hqe();pc();Z2t();l3e();Ng();nyt=(r,t)=>{let n=r.toUpperCase(),i=[];if(n in p5||i.push(`invalid logging area '${n}'`),A2t[t]||i.push("`invalid log level '${logLevel}'`"),i.length)throw i.forEach(l=>{console.error(l)}),new Error("Invalid logging area or log level: "+i.join(", "));let o=Wqe(n),s=o.transports.filter(l=>l instanceof ryt.transports.Console),a=o.transports;s.length||(a=[...a,S3e(p5[n])]),a.filter(l=>l instanceof ryt.transports.Console)[0].level=t,o.configure({...o,transports:o.transports})},pSr=()=>{Object.keys(p5).forEach(r=>{nyt(r,"debug")})},iyt=(r,t)=>{for(let n in r){let i=n,o=Wqe(i);r[i].defaultMeta={...o.defaultMeta,...r[i].defaultMeta,...t};let s=r[i].transports||o.transports,a;if(ec().isTest&&s.length>0){let l=s[s.length-1];l instanceof ryt.transports.File&&(a=l,s=o.transports.slice(0,-1),s.push(dSr()))}o.configure({...o,...r[i],transports:s,level:r[i].level||o.level}),a&&a.close&&a.close()}},kz=r=>{let t=emi.default.mapValues(p5,(n,i)=>({}));iyt(t,r)}});function Vqe(r,t){return function(){return r.apply(t,arguments)}}var fSr=Et(()=>{"use strict"});function wdl(r){return r!==null&&!Yqe(r)&&r.constructor!==null&&!Yqe(r.constructor)&&lO(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}function Bdl(r){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(r):t=r&&r.buffer&&imi(r.buffer),t}function Kqe(r,t,{allOwnKeys:n=!1}={}){if(r===null||typeof r>"u")return;let i,o;if(typeof r!="object"&&(r=[r]),T3e(r))for(i=0,o=r.length;i<o;i++)t.call(null,r[i],i,r);else{let s=n?Object.getOwnPropertyNames(r):Object.keys(r),a=s.length,l;for(i=0;i<a;i++)l=s[i],t.call(null,r[l],l,r)}}function smi(r,t){t=t.toLowerCase();let n=Object.keys(r),i=n.length,o;for(;i-- >0;)if(o=n[i],t===o.toLowerCase())return o;return null}function hSr(){let{caseless:r}=ami(this)&&this||{},t={},n=(i,o)=>{let s=r&&smi(t,o)||o;oyt(t[s])&&oyt(i)?t[s]=hSr(t[s],i):oyt(i)?t[s]=hSr({},i):T3e(i)?t[s]=i.slice():t[s]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&Kqe(arguments[i],n);return t}function lpl(r){return!!(r&&lO(r.append)&&r[Symbol.toStringTag]==="FormData"&&r[Symbol.iterator])}var Rdl,gSr,syt,UM,ayt,T3e,Yqe,imi,Mdl,lO,omi,lyt,xdl,oyt,Ddl,Ndl,Pdl,kdl,Ldl,Qdl,Fdl,qdl,zdl,Udl,jdl,Gdl,fue,ami,Wdl,Hdl,Vdl,Ydl,Kdl,Jdl,Xdl,$dl,Zdl,epl,tpl,rmi,rpl,lmi,npl,ipl,opl,spl,ASr,nmi,umi,apl,upl,cpl,dpl,cmi,ppl,er,kd=Et(()=>{"use strict";fSr();({toString:Rdl}=Object.prototype),{getPrototypeOf:gSr}=Object,syt=(r=>t=>{let n=Rdl.call(t);return r[n]||(r[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),UM=r=>(r=r.toLowerCase(),t=>syt(t)===r),ayt=r=>t=>typeof t===r,{isArray:T3e}=Array,Yqe=ayt("undefined");imi=UM("ArrayBuffer");Mdl=ayt("string"),lO=ayt("function"),omi=ayt("number"),lyt=r=>r!==null&&typeof r=="object",xdl=r=>r===!0||r===!1,oyt=r=>{if(syt(r)!=="object")return!1;let t=gSr(r);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)},Ddl=UM("Date"),Ndl=UM("File"),Pdl=UM("Blob"),kdl=UM("FileList"),Ldl=r=>lyt(r)&&lO(r.pipe),Qdl=r=>{let t;return r&&(typeof FormData=="function"&&r instanceof FormData||lO(r.append)&&((t=syt(r))==="formdata"||t==="object"&&lO(r.toString)&&r.toString()==="[object FormData]"))},Fdl=UM("URLSearchParams"),[qdl,zdl,Udl,jdl]=["ReadableStream","Request","Response","Headers"].map(UM),Gdl=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");fue=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ami=r=>!Yqe(r)&&r!==fue;Wdl=(r,t,n,{allOwnKeys:i}={})=>(Kqe(t,(o,s)=>{n&&lO(o)?r[s]=Vqe(o,n):r[s]=o},{allOwnKeys:i}),r),Hdl=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),Vdl=(r,t,n,i)=>{r.prototype=Object.create(t.prototype,i),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:t.prototype}),n&&Object.assign(r.prototype,n)},Ydl=(r,t,n,i)=>{let o,s,a,l={};if(t=t||{},r==null)return t;do{for(o=Object.getOwnPropertyNames(r),s=o.length;s-- >0;)a=o[s],(!i||i(a,r,t))&&!l[a]&&(t[a]=r[a],l[a]=!0);r=n!==!1&&gSr(r)}while(r&&(!n||n(r,t))&&r!==Object.prototype);return t},Kdl=(r,t,n)=>{r=String(r),(n===void 0||n>r.length)&&(n=r.length),n-=t.length;let i=r.indexOf(t,n);return i!==-1&&i===n},Jdl=r=>{if(!r)return null;if(T3e(r))return r;let t=r.length;if(!omi(t))return null;let n=new Array(t);for(;t-- >0;)n[t]=r[t];return n},Xdl=(r=>t=>r&&t instanceof r)(typeof Uint8Array<"u"&&gSr(Uint8Array)),$dl=(r,t)=>{let i=(r&&r[Symbol.iterator]).call(r),o;for(;(o=i.next())&&!o.done;){let s=o.value;t.call(r,s[0],s[1])}},Zdl=(r,t)=>{let n,i=[];for(;(n=r.exec(t))!==null;)i.push(n);return i},epl=UM("HTMLFormElement"),tpl=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),rmi=(({hasOwnProperty:r})=>(t,n)=>r.call(t,n))(Object.prototype),rpl=UM("RegExp"),lmi=(r,t)=>{let n=Object.getOwnPropertyDescriptors(r),i={};Kqe(n,(o,s)=>{let a;(a=t(o,s,r))!==!1&&(i[s]=a||o)}),Object.defineProperties(r,i)},npl=r=>{lmi(r,(t,n)=>{if(lO(r)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;let i=r[n];if(lO(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ipl=(r,t)=>{let n={},i=o=>{o.forEach(s=>{n[s]=!0})};return T3e(r)?i(r):i(String(r).split(t)),n},opl=()=>{},spl=(r,t)=>r!=null&&Number.isFinite(r=+r)?r:t,ASr="abcdefghijklmnopqrstuvwxyz",nmi="0123456789",umi={DIGIT:nmi,ALPHA:ASr,ALPHA_DIGIT:ASr+ASr.toUpperCase()+nmi},apl=(r=16,t=umi.ALPHA_DIGIT)=>{let n="",{length:i}=t;for(;r--;)n+=t[Math.random()*i|0];return n};upl=r=>{let t=new Array(10),n=(i,o)=>{if(lyt(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[o]=i;let s=T3e(i)?[]:{};return Kqe(i,(a,l)=>{let c=n(a,o+1);!Yqe(c)&&(s[l]=c)}),t[o]=void 0,s}}return i};return n(r,0)},cpl=UM("AsyncFunction"),dpl=r=>r&&(lyt(r)||lO(r))&&lO(r.then)&&lO(r.catch),cmi=((r,t)=>r?setImmediate:t?((n,i)=>(fue.addEventListener("message",({source:o,data:s})=>{o===fue&&s===n&&i.length&&i.shift()()},!1),o=>{i.push(o),fue.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",lO(fue.postMessage)),ppl=typeof queueMicrotask<"u"?queueMicrotask.bind(fue):typeof process<"u"&&process.nextTick||cmi,er={isArray:T3e,isArrayBuffer:imi,isBuffer:wdl,isFormData:Qdl,isArrayBufferView:Bdl,isString:Mdl,isNumber:omi,isBoolean:xdl,isObject:lyt,isPlainObject:oyt,isReadableStream:qdl,isRequest:zdl,isResponse:Udl,isHeaders:jdl,isUndefined:Yqe,isDate:Ddl,isFile:Ndl,isBlob:Pdl,isRegExp:rpl,isFunction:lO,isStream:Ldl,isURLSearchParams:Fdl,isTypedArray:Xdl,isFileList:kdl,forEach:Kqe,merge:hSr,extend:Wdl,trim:Gdl,stripBOM:Hdl,inherits:Vdl,toFlatObject:Ydl,kindOf:syt,kindOfTest:UM,endsWith:Kdl,toArray:Jdl,forEachEntry:$dl,matchAll:Zdl,isHTMLForm:epl,hasOwnProperty:rmi,hasOwnProp:rmi,reduceDescriptors:lmi,freezeMethods:npl,toObjectSet:ipl,toCamelCase:tpl,noop:opl,toFiniteNumber:spl,findKey:smi,global:fue,isContextDefined:ami,ALPHABET:umi,generateString:apl,isSpecCompliantForm:lpl,toJSONObject:upl,isAsyncFn:cpl,isThenable:dpl,setImmediate:cmi,asap:ppl}});function O3e(r,t,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}var dmi,pmi,ao,uO=Et(()=>{"use strict";kd();er.inherits(O3e,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:er.toJSONObject(this.config),code:this.code,status:this.status}}});dmi=O3e.prototype,pmi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{pmi[r]={value:r}});Object.defineProperties(O3e,pmi);Object.defineProperty(dmi,"isAxiosError",{value:!0});O3e.from=(r,t,n,i,o,s)=>{let a=Object.create(dmi);return er.toFlatObject(r,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),O3e.call(a,r.message,t,n,i,o),a.cause=r,a.name=r.name,s&&Object.assign(a,s),a};ao=O3e});var fmi,uyt,mSr=Et(()=>{fmi=Ct(Aqe(),1),uyt=fmi.default});function ySr(r){return er.isPlainObject(r)||er.isArray(r)}function hmi(r){return er.endsWith(r,"[]")?r.slice(0,-2):r}function Ami(r,t,n){return r?r.concat(t).map(function(o,s){return o=hmi(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function fpl(r){return er.isArray(r)&&!r.some(ySr)}function hpl(r,t,n){if(!er.isObject(r))throw new TypeError("target must be an object");t=t||new(uyt||FormData),n=er.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,C){return!er.isUndefined(C[y])});let i=n.metaTokens,o=n.visitor||d,s=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&er.isSpecCompliantForm(t);if(!er.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(er.isDate(h))return h.toISOString();if(!c&&er.isBlob(h))throw new ao("Blob is not supported. Use a Buffer instead.");return er.isArrayBuffer(h)||er.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,y,C){let v=h;if(h&&!C&&typeof h=="object"){if(er.endsWith(y,"{}"))y=i?y:y.slice(0,-2),h=JSON.stringify(h);else if(er.isArray(h)&&fpl(h)||(er.isFileList(h)||er.endsWith(y,"[]"))&&(v=er.toArray(h)))return y=hmi(y),v.forEach(function(_,w){!(er.isUndefined(_)||_===null)&&t.append(a===!0?Ami([y],w,s):a===null?y:y+"[]",u(_))}),!1}return ySr(h)?!0:(t.append(Ami(C,y,s),u(h)),!1)}let p=[],f=Object.assign(Apl,{defaultVisitor:d,convertValue:u,isVisitable:ySr});function A(h,y){if(!er.isUndefined(h)){if(p.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));p.push(h),er.forEach(h,function(v,O){(!(er.isUndefined(v)||v===null)&&o.call(t,v,er.isString(O)?O.trim():O,y,f))===!0&&A(v,y?y.concat(O):[O])}),p.pop()}}if(!er.isObject(r))throw new TypeError("data must be an object");return A(r),t}var Apl,jY,Jqe=Et(()=>{"use strict";kd();uO();mSr();Apl=er.toFlatObject(er,{},null,function(t){return/^is[A-Z]/.test(t)});jY=hpl});function gmi(r){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function mmi(r,t){this._pairs=[],r&&jY(r,this,t)}var ymi,Emi,bmi=Et(()=>{"use strict";Jqe();ymi=mmi.prototype;ymi.append=function(t,n){this._pairs.push([t,n])};ymi.toString=function(t){let n=t?function(i){return t.call(this,i,gmi)}:gmi;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};Emi=mmi});function gpl(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Aue(r,t,n){if(!t)return r;let i=n&&n.encode||gpl,o=n&&n.serialize,s;if(o?s=o(t,n):s=er.isURLSearchParams(t)?t.toString():new Emi(t,n).toString(i),s){let a=r.indexOf("#");a!==-1&&(r=r.slice(0,a)),r+=(r.indexOf("?")===-1?"?":"&")+s}return r}var cyt=Et(()=>{"use strict";kd();bmi()});var ESr,bSr,Cmi=Et(()=>{"use strict";kd();ESr=class{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){er.forEach(this.handlers,function(i){i!==null&&t(i)})}},bSr=ESr});var _3e,dyt=Et(()=>{"use strict";_3e={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}});var Imi,vmi,Smi=Et(()=>{"use strict";Imi=Ct(require("url"),1),vmi=Imi.default.URLSearchParams});var Tmi,Omi=Et(()=>{Smi();mSr();Tmi={isNode:!0,classes:{URLSearchParams:vmi,FormData:uyt,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]}});var vSr={};MT(vSr,{hasBrowserEnv:()=>ISr,hasStandardBrowserEnv:()=>mpl,hasStandardBrowserWebWorkerEnv:()=>ypl,navigator:()=>CSr,origin:()=>Epl});var ISr,CSr,mpl,ypl,Epl,_mi=Et(()=>{ISr=typeof window<"u"&&typeof document<"u",CSr=typeof navigator=="object"&&navigator||void 0,mpl=ISr&&(!CSr||["ReactNative","NativeScript","NS"].indexOf(CSr.product)<0),ypl=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Epl=ISr&&window.location.href||"http://localhost"});var sp,V9=Et(()=>{Omi();_mi();sp={...vSr,...Tmi}});function SSr(r,t){return jY(r,new sp.classes.URLSearchParams,Object.assign({visitor:function(n,i,o,s){return sp.isNode&&er.isBuffer(n)?(this.append(i,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}var Rmi=Et(()=>{"use strict";kd();Jqe();V9()});function bpl(r){return er.matchAll(/\w+|\[(\w*)]/g,r).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Cpl(r){let t={},n=Object.keys(r),i,o=n.length,s;for(i=0;i<o;i++)s=n[i],t[s]=r[s];return t}function Ipl(r){function t(n,i,o,s){let a=n[s++];if(a==="__proto__")return!0;let l=Number.isFinite(+a),c=s>=n.length;return a=!a&&er.isArray(o)?o.length:a,c?(er.hasOwnProp(o,a)?o[a]=[o[a],i]:o[a]=i,!l):((!o[a]||!er.isObject(o[a]))&&(o[a]=[]),t(n,i,o[a],s)&&er.isArray(o[a])&&(o[a]=Cpl(o[a])),!l)}if(er.isFormData(r)&&er.isFunction(r.entries)){let n={};return er.forEachEntry(r,(i,o)=>{t(bpl(i),o,n,0)}),n}return null}var pyt,TSr=Et(()=>{"use strict";kd();pyt=Ipl});function vpl(r,t,n){if(er.isString(r))try{return(t||JSON.parse)(r),er.trim(r)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(r)}var OSr,R3e,fyt=Et(()=>{"use strict";kd();uO();dyt();Jqe();Rmi();V9();TSr();OSr={transitional:_3e,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){let i=n.getContentType()||"",o=i.indexOf("application/json")>-1,s=er.isObject(t);if(s&&er.isHTMLForm(t)&&(t=new FormData(t)),er.isFormData(t))return o?JSON.stringify(pyt(t)):t;if(er.isArrayBuffer(t)||er.isBuffer(t)||er.isStream(t)||er.isFile(t)||er.isBlob(t)||er.isReadableStream(t))return t;if(er.isArrayBufferView(t))return t.buffer;if(er.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(i.indexOf("application/x-www-form-urlencoded")>-1)return SSr(t,this.formSerializer).toString();if((l=er.isFileList(t))||i.indexOf("multipart/form-data")>-1){let c=this.env&&this.env.FormData;return jY(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),vpl(t)):t}],transformResponse:[function(t){let n=this.transitional||OSr.transitional,i=n&&n.forcedJSONParsing,o=this.responseType==="json";if(er.isResponse(t)||er.isReadableStream(t))return t;if(t&&er.isString(t)&&(i&&!this.responseType||o)){let a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?ao.from(l,ao.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:sp.classes.FormData,Blob:sp.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};er.forEach(["delete","get","head","post","put","patch"],r=>{OSr.headers[r]={}});R3e=OSr});var Spl,wmi,Bmi=Et(()=>{"use strict";kd();Spl=er.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),wmi=r=>{let t={},n,i,o;return r&&r.split(`
180
180
  `).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),i=a.substring(o+1).trim(),!(!n||t[n]&&Spl[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t}});function Xqe(r){return r&&String(r).trim().toLowerCase()}function Ayt(r){return r===!1||r==null?r:er.isArray(r)?r.map(Ayt):String(r)}function Tpl(r){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,i;for(;i=n.exec(r);)t[i[1]]=i[2];return t}function _Sr(r,t,n,i,o){if(er.isFunction(i))return i.call(this,t,n);if(o&&(t=n),!!er.isString(t)){if(er.isString(i))return t.indexOf(i)!==-1;if(er.isRegExp(i))return i.test(t)}}function _pl(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function Rpl(r,t){let n=er.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(r,i+n,{value:function(o,s,a){return this[i].call(this,t,o,s,a)},configurable:!0})})}var Mmi,Opl,w3e,$f,Y9=Et(()=>{"use strict";kd();Bmi();Mmi=Symbol("internals");Opl=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());w3e=class{constructor(t){t&&this.set(t)}set(t,n,i){let o=this;function s(l,c,u){let d=Xqe(c);if(!d)throw new Error("header name must be a non-empty string");let p=er.findKey(o,d);(!p||o[p]===void 0||u===!0||u===void 0&&o[p]!==!1)&&(o[p||c]=Ayt(l))}let a=(l,c)=>er.forEach(l,(u,d)=>s(u,d,c));if(er.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(er.isString(t)&&(t=t.trim())&&!Opl(t))a(wmi(t),n);else if(er.isHeaders(t))for(let[l,c]of t.entries())s(c,l,i);else t!=null&&s(n,t,i);return this}get(t,n){if(t=Xqe(t),t){let i=er.findKey(this,t);if(i){let o=this[i];if(!n)return o;if(n===!0)return Tpl(o);if(er.isFunction(n))return n.call(this,o,i);if(er.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Xqe(t),t){let i=er.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||_Sr(this,this[i],i,n)))}return!1}delete(t,n){let i=this,o=!1;function s(a){if(a=Xqe(a),a){let l=er.findKey(i,a);l&&(!n||_Sr(i,i[l],l,n))&&(delete i[l],o=!0)}}return er.isArray(t)?t.forEach(s):s(t),o}clear(t){let n=Object.keys(this),i=n.length,o=!1;for(;i--;){let s=n[i];(!t||_Sr(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){let n=this,i={};return er.forEach(this,(o,s)=>{let a=er.findKey(i,s);if(a){n[a]=Ayt(o),delete n[s];return}let l=t?_pl(s):String(s).trim();l!==s&&delete n[s],n[l]=Ayt(o),i[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let n=Object.create(null);return er.forEach(this,(i,o)=>{i!=null&&i!==!1&&(n[o]=t&&er.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
181
181
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){let i=new this(t);return n.forEach(o=>i.set(o)),i}static accessor(t){let i=(this[Mmi]=this[Mmi]={accessors:{}}).accessors,o=this.prototype;function s(a){let l=Xqe(a);i[l]||(Rpl(o,a),i[l]=!0)}return er.isArray(t)?t.forEach(s):s(t),this}};w3e.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);er.reduceDescriptors(w3e.prototype,({value:r},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(i){this[n]=i}}});er.freezeMethods(w3e);$f=w3e});function $qe(r,t){let n=this||R3e,i=t||n,o=$f.from(i.headers),s=i.data;return er.forEach(r,function(l){s=l.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}var xmi=Et(()=>{"use strict";kd();fyt();Y9()});function Zqe(r){return!!(r&&r.__CANCEL__)}var RSr=Et(()=>{"use strict"});function Dmi(r,t,n){ao.call(this,r??"canceled",ao.ERR_CANCELED,t,n),this.name="CanceledError"}var cO,hue=Et(()=>{"use strict";uO();kd();er.inherits(Dmi,ao,{__CANCEL__:!0});cO=Dmi});function K9(r,t,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?r(n):t(new ao("Request failed with status code "+n.status,[ao.ERR_BAD_REQUEST,ao.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}var hyt=Et(()=>{"use strict";uO()});function wSr(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}var Nmi=Et(()=>{"use strict"});function BSr(r,t){return t?r.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):r}var Pmi=Et(()=>{"use strict"});function gue(r,t){return r&&!wSr(t)?BSr(r,t):t}var gyt=Et(()=>{"use strict";Nmi();Pmi()});var mue,myt=Et(()=>{mue="1.7.7"});function eze(r){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return t&&t[1]||""}var MSr=Et(()=>{"use strict"});function xSr(r,t,n){let i=n&&n.Blob||sp.classes.Blob,o=eze(r);if(t===void 0&&i&&(t=!0),o==="data"){r=o.length?r.slice(o.length+1):r;let s=wpl.exec(r);if(!s)throw new ao("Invalid URL",ao.ERR_INVALID_URL);let a=s[1],l=s[2],c=s[3],u=Buffer.from(decodeURIComponent(c),l?"base64":"utf8");if(t){if(!i)throw new ao("Blob is not supported",ao.ERR_NOT_SUPPORT);return new i([u],{type:a})}return u}throw new ao("Unsupported protocol "+o,ao.ERR_NOT_SUPPORT)}var wpl,kmi=Et(()=>{"use strict";uO();MSr();V9();wpl=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/});var Lmi,DSr,NSr,PSr,Qmi=Et(()=>{"use strict";Lmi=Ct(require("stream"),1);kd();DSr=Symbol("internals"),NSr=class extends Lmi.default.Transform{constructor(t){t=er.toFlatObject(t,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(i,o)=>!er.isUndefined(o[i])),super({readableHighWaterMark:t.chunkSize});let n=this[DSr]={timeWindow:t.timeWindow,chunkSize:t.chunkSize,maxRate:t.maxRate,minChunkSize:t.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",i=>{i==="progress"&&(n.isCaptured||(n.isCaptured=!0))})}_read(t){let n=this[DSr];return n.onReadCallback&&n.onReadCallback(),super._read(t)}_transform(t,n,i){let o=this[DSr],s=o.maxRate,a=this.readableHighWaterMark,l=o.timeWindow,c=1e3/l,u=s/c,d=o.minChunkSize!==!1?Math.max(o.minChunkSize,u*.01):0,p=(A,h)=>{let y=Buffer.byteLength(A);o.bytesSeen+=y,o.bytes+=y,o.isCaptured&&this.emit("progress",o.bytesSeen),this.push(A)?process.nextTick(h):o.onReadCallback=()=>{o.onReadCallback=null,process.nextTick(h)}},f=(A,h)=>{let y=Buffer.byteLength(A),C=null,v=a,O,_=0;if(s){let w=Date.now();(!o.ts||(_=w-o.ts)>=l)&&(o.ts=w,O=u-o.bytes,o.bytes=O<0?-O:0,_=0),O=u-o.bytes}if(s){if(O<=0)return setTimeout(()=>{h(null,A)},l-_);O<v&&(v=O)}v&&y>v&&y-v>d&&(C=A.subarray(v),A=A.subarray(0,v)),p(A,C?()=>{process.nextTick(h,null,C)}:h)};f(t,function A(h,y){if(h)return i(h);y?f(y,A):i(null)})}},PSr=NSr});var Fmi,Bpl,yyt,kSr=Et(()=>{({asyncIterator:Fmi}=Symbol),Bpl=async function*(r){r.stream?yield*r.stream():r.arrayBuffer?yield await r.arrayBuffer():r[Fmi]?yield*r[Fmi]():yield r},yyt=Bpl});var qmi,zmi,Mpl,tze,GY,xpl,Dpl,LSr,Npl,Umi,jmi=Et(()=>{qmi=require("util"),zmi=require("stream");kd();kSr();Mpl=er.ALPHABET.ALPHA_DIGIT+"-_",tze=new qmi.TextEncoder,GY=`\r
182
182
  `,xpl=tze.encode(GY),Dpl=2,LSr=class{constructor(t,n){let{escapeName:i}=this.constructor,o=er.isString(n),s=`Content-Disposition: form-data; name="${i(t)}"${!o&&n.name?`; filename="${i(n.name)}"`:""}${GY}`;o?n=tze.encode(String(n).replace(/\r?\n|\r\n?/g,GY)):s+=`Content-Type: ${n.type||"application/octet-stream"}${GY}`,this.headers=tze.encode(s+GY),this.contentLength=o?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+Dpl,this.name=t,this.value=n}async*encode(){yield this.headers;let{value:t}=this;er.isTypedArray(t)?yield t:yield*yyt(t),yield xpl}static escapeName(t){return String(t).replace(/[\r\n"]/g,n=>({"\r":"%0D","\n":"%0A",'"':"%22"})[n])}},Npl=(r,t,n)=>{let{tag:i="form-data-boundary",size:o=25,boundary:s=i+"-"+er.generateString(o,Mpl)}=n||{};if(!er.isFormData(r))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 10-70 characters long");let a=tze.encode("--"+s+GY),l=tze.encode("--"+s+"--"+GY+GY),c=l.byteLength,u=Array.from(r.entries()).map(([p,f])=>{let A=new LSr(p,f);return c+=A.size,A});c+=a.byteLength*u.length,c=er.toFiniteNumber(c);let d={"Content-Type":`multipart/form-data; boundary=${s}`};return Number.isFinite(c)&&(d["Content-Length"]=c),t&&t(d),zmi.Readable.from(async function*(){for(let p of u)yield a,yield*p.encode();yield l}())},Umi=Npl});var Gmi,QSr,Wmi,Hmi=Et(()=>{"use strict";Gmi=Ct(require("stream"),1),QSr=class extends Gmi.default.Transform{__transform(t,n,i){this.push(t),i()}_transform(t,n,i){if(t.length!==0&&(this._transform=this.__transform,t[0]!==120)){let o=Buffer.alloc(2);o[0]=120,o[1]=156,this.push(o,n)}this.__transform(t,n,i)}},Wmi=QSr});var Ppl,Vmi,Ymi=Et(()=>{kd();Ppl=(r,t)=>er.isAsyncFn(r)?function(...n){let i=n.pop();r.apply(this,n).then(o=>{try{t?i(null,...t(o)):i(null,o)}catch(s){i(s)}},i)}:r,Vmi=Ppl});function kpl(r,t){r=r||10;let n=new Array(r),i=new Array(r),o=0,s=0,a;return t=t!==void 0?t:1e3,function(c){let u=Date.now(),d=i[s];a||(a=u),n[o]=c,i[o]=u;let p=s,f=0;for(;p!==o;)f+=n[p++],p=p%r;if(o=(o+1)%r,o===s&&(s=(s+1)%r),u-a<t)return;let A=d&&u-d;return A?Math.round(f*1e3/A):void 0}}var Kmi,Jmi=Et(()=>{"use strict";Kmi=kpl});function Lpl(r,t){let n=0,i=1e3/t,o,s,a=(u,d=Date.now())=>{n=d,o=null,s&&(clearTimeout(s),s=null),r.apply(null,u)};return[(...u)=>{let d=Date.now(),p=d-n;p>=i?a(u,d):(o=u,s||(s=setTimeout(()=>{s=null,a(o)},i-p)))},()=>o&&a(o)]}var Xmi,$mi=Et(()=>{Xmi=Lpl});var Lz,B3e,M3e,Eyt=Et(()=>{Jmi();$mi();kd();Lz=(r,t,n=3)=>{let i=0,o=Kmi(50,250);return Xmi(s=>{let a=s.loaded,l=s.lengthComputable?s.total:void 0,c=a-i,u=o(c),d=a<=l;i=a;let p={loaded:a,total:l,progress:l?a/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&d?(l-a)/u:void 0,event:s,lengthComputable:l!=null,[t?"download":"upload"]:!0};r(p)},n)},B3e=(r,t)=>{let n=r!=null;return[i=>t[0]({lengthComputable:n,total:r,loaded:i}),t[1]]},M3e=r=>(...t)=>er.asap(()=>r(...t))});function Upl(r,t){r.beforeRedirects.proxy&&r.beforeRedirects.proxy(r),r.beforeRedirects.config&&r.beforeRedirects.config(r,t)}function c2i(r,t,n){let i=t;if(!i&&i!==!1){let o=(0,i2i.getProxyForUrl)(n);o&&(i=new URL(o))}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){(i.auth.username||i.auth.password)&&(i.auth=(i.auth.username||"")+":"+(i.auth.password||""));let s=Buffer.from(i.auth,"utf8").toString("base64");r.headers["Proxy-Authorization"]="Basic "+s}r.headers.host=r.hostname+(r.port?":"+r.port:"");let o=i.hostname||i.host;r.hostname=o,r.host=o,r.port=i.port,r.path=n,i.protocol&&(r.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`)}r.beforeRedirects.proxy=function(s){c2i(s,t,s.href)}}var i2i,o2i,s2i,a2i,l2i,Qz,yue,u2i,Zmi,Qpl,e2i,Fpl,qpl,zpl,t2i,r2i,jpl,Gpl,Wpl,n2i,d2i,p2i=Et(()=>{"use strict";kd();hyt();gyt();cyt();i2i=Ct(hqe(),1),o2i=Ct(require("http"),1),s2i=Ct(require("https"),1),a2i=Ct(require("util"),1),l2i=Ct(hCr(),1),Qz=Ct(require("zlib"),1);myt();dyt();uO();hue();V9();kmi();yue=Ct(require("stream"),1);Y9();Qmi();u2i=require("events");jmi();kSr();Hmi();Ymi();Eyt();Zmi={flush:Qz.default.constants.Z_SYNC_FLUSH,finishFlush:Qz.default.constants.Z_SYNC_FLUSH},Qpl={flush:Qz.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Qz.default.constants.BROTLI_OPERATION_FLUSH},e2i=er.isFunction(Qz.default.createBrotliDecompress),{http:Fpl,https:qpl}=l2i.default,zpl=/https:?/,t2i=sp.protocols.map(r=>r+":"),r2i=(r,[t,n])=>(r.on("end",n).on("error",n),t);jpl=typeof process<"u"&&er.kindOf(process)==="process",Gpl=r=>new Promise((t,n)=>{let i,o,s=(c,u)=>{o||(o=!0,i&&i(c,u))},a=c=>{s(c),t(c)},l=c=>{s(c,!0),n(c)};r(a,l,c=>i=c).catch(l)}),Wpl=({address:r,family:t})=>{if(!er.isString(r))throw TypeError("address must be a string");return{address:r,family:t||(r.indexOf(".")<0?6:4)}},n2i=(r,t)=>Wpl(er.isObject(r)?r:{address:r,family:t}),d2i=jpl&&function(t){return Gpl(async function(i,o,s){let{data:a,lookup:l,family:c}=t,{responseType:u,responseEncoding:d}=t,p=t.method.toUpperCase(),f,A=!1,h;if(l){let ne=Vmi(l,oe=>er.isArray(oe)?oe:[oe]);l=(oe,H,se)=>{ne(oe,H,(le,ie,fe)=>{if(le)return se(le);let we=er.isArray(ie)?ie.map(Fe=>n2i(Fe)):[n2i(ie,fe)];H.all?se(le,we):se(le,we[0].address,we[0].family)})}}let y=new u2i.EventEmitter,C=()=>{t.cancelToken&&t.cancelToken.unsubscribe(v),t.signal&&t.signal.removeEventListener("abort",v),y.removeAllListeners()};s((ne,oe)=>{f=!0,oe&&(A=!0,C())});function v(ne){y.emit("abort",!ne||ne.type?new cO(null,t,h):ne)}y.once("abort",o),(t.cancelToken||t.signal)&&(t.cancelToken&&t.cancelToken.subscribe(v),t.signal&&(t.signal.aborted?v():t.signal.addEventListener("abort",v)));let O=gue(t.baseURL,t.url),_=new URL(O,sp.hasBrowserEnv?sp.origin:void 0),w=_.protocol||t2i[0];if(w==="data:"){let ne;if(p!=="GET")return K9(i,o,{status:405,statusText:"method not allowed",headers:{},config:t});try{ne=xSr(t.url,u==="blob",{Blob:t.env&&t.env.Blob})}catch(oe){throw ao.from(oe,ao.ERR_BAD_REQUEST,t)}return u==="text"?(ne=ne.toString(d),(!d||d==="utf8")&&(ne=er.stripBOM(ne))):u==="stream"&&(ne=yue.default.Readable.from(ne)),K9(i,o,{data:ne,status:200,statusText:"OK",headers:new $f,config:t})}if(t2i.indexOf(w)===-1)return o(new ao("Unsupported protocol "+w,ao.ERR_BAD_REQUEST,t));let x=$f.from(t.headers).normalize();x.set("User-Agent","axios/"+mue,!1);let{onUploadProgress:z,onDownloadProgress:W}=t,V=t.maxRate,$,K;if(er.isSpecCompliantForm(a)){let ne=x.getContentType(/boundary=([-_\w\d]{10,70})/i);a=Umi(a,oe=>{x.set(oe)},{tag:`axios-${mue}-boundary`,boundary:ne&&ne[1]||void 0})}else if(er.isFormData(a)&&er.isFunction(a.getHeaders)){if(x.set(a.getHeaders()),!x.hasContentLength())try{let ne=await a2i.default.promisify(a.getLength).call(a);Number.isFinite(ne)&&ne>=0&&x.setContentLength(ne)}catch{}}else if(er.isBlob(a))a.size&&x.setContentType(a.type||"application/octet-stream"),x.setContentLength(a.size||0),a=yue.default.Readable.from(yyt(a));else if(a&&!er.isStream(a)){if(!Buffer.isBuffer(a))if(er.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else if(er.isString(a))a=Buffer.from(a,"utf-8");else return o(new ao("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",ao.ERR_BAD_REQUEST,t));if(x.setContentLength(a.length,!1),t.maxBodyLength>-1&&a.length>t.maxBodyLength)return o(new ao("Request body larger than maxBodyLength limit",ao.ERR_BAD_REQUEST,t))}let F=er.toFiniteNumber(x.getContentLength());er.isArray(V)?($=V[0],K=V[1]):$=K=V,a&&(z||$)&&(er.isStream(a)||(a=yue.default.Readable.from(a,{objectMode:!1})),a=yue.default.pipeline([a,new PSr({maxRate:er.toFiniteNumber($)})],er.noop),z&&a.on("progress",r2i(a,B3e(F,Lz(M3e(z),!1,3)))));let J;if(t.auth){let ne=t.auth.username||"",oe=t.auth.password||"";J=ne+":"+oe}if(!J&&_.username){let ne=_.username,oe=_.password;J=ne+":"+oe}J&&x.delete("authorization");let Y;try{Y=Aue(_.pathname+_.search,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(ne){let oe=new Error(ne.message);return oe.config=t,oe.url=t.url,oe.exists=!0,o(oe)}x.set("Accept-Encoding","gzip, compress, deflate"+(e2i?", br":""),!1);let Q={path:Y,method:p,headers:x.toJSON(),agents:{http:t.httpAgent,https:t.httpsAgent},auth:J,protocol:w,family:c,beforeRedirect:Upl,beforeRedirects:{}};!er.isUndefined(l)&&(Q.lookup=l),t.socketPath?Q.socketPath=t.socketPath:(Q.hostname=_.hostname.startsWith("[")?_.hostname.slice(1,-1):_.hostname,Q.port=_.port,c2i(Q,t.proxy,w+"//"+_.hostname+(_.port?":"+_.port:"")+Q.path));let X,ee=zpl.test(Q.protocol);if(Q.agent=ee?t.httpsAgent:t.httpAgent,t.transport?X=t.transport:t.maxRedirects===0?X=ee?s2i.default:o2i.default:(t.maxRedirects&&(Q.maxRedirects=t.maxRedirects),t.beforeRedirect&&(Q.beforeRedirects.config=t.beforeRedirect),X=ee?qpl:Fpl),t.maxBodyLength>-1?Q.maxBodyLength=t.maxBodyLength:Q.maxBodyLength=1/0,t.insecureHTTPParser&&(Q.insecureHTTPParser=t.insecureHTTPParser),h=X.request(Q,function(oe){if(h.destroyed)return;let H=[oe],se=+oe.headers["content-length"];if(W||K){let Fe=new PSr({maxRate:er.toFiniteNumber(K)});W&&Fe.on("progress",r2i(Fe,B3e(se,Lz(M3e(W),!0,3)))),H.push(Fe)}let le=oe,ie=oe.req||h;if(t.decompress!==!1&&oe.headers["content-encoding"])switch((p==="HEAD"||oe.statusCode===204)&&delete oe.headers["content-encoding"],(oe.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":H.push(Qz.default.createUnzip(Zmi)),delete oe.headers["content-encoding"];break;case"deflate":H.push(new Wmi),H.push(Qz.default.createUnzip(Zmi)),delete oe.headers["content-encoding"];break;case"br":e2i&&(H.push(Qz.default.createBrotliDecompress(Qpl)),delete oe.headers["content-encoding"])}le=H.length>1?yue.default.pipeline(H,er.noop):H[0];let fe=yue.default.finished(le,()=>{fe(),C()}),we={status:oe.statusCode,statusText:oe.statusMessage,headers:new $f(oe.headers),config:t,request:ie};if(u==="stream")we.data=le,K9(i,o,we);else{let Fe=[],me=0;le.on("data",function(Ye){Fe.push(Ye),me+=Ye.length,t.maxContentLength>-1&&me>t.maxContentLength&&(A=!0,le.destroy(),o(new ao("maxContentLength size of "+t.maxContentLength+" exceeded",ao.ERR_BAD_RESPONSE,t,ie)))}),le.on("aborted",function(){if(A)return;let Ye=new ao("maxContentLength size of "+t.maxContentLength+" exceeded",ao.ERR_BAD_RESPONSE,t,ie);le.destroy(Ye),o(Ye)}),le.on("error",function(Ye){h.destroyed||o(ao.from(Ye,null,t,ie))}),le.on("end",function(){try{let Ye=Fe.length===1?Fe[0]:Buffer.concat(Fe);u!=="arraybuffer"&&(Ye=Ye.toString(d),(!d||d==="utf8")&&(Ye=er.stripBOM(Ye))),we.data=Ye}catch(Ye){return o(ao.from(Ye,null,t,we.request,we))}K9(i,o,we)})}y.once("abort",Fe=>{le.destroyed||(le.emit("error",Fe),le.destroy())})}),y.once("abort",ne=>{o(ne),h.destroy(ne)}),h.on("error",function(oe){o(ao.from(oe,null,t,h))}),h.on("socket",function(oe){oe.setKeepAlive(!0,1e3*60)}),t.timeout){let ne=parseInt(t.timeout,10);if(Number.isNaN(ne)){o(new ao("error trying to parse `config.timeout` to int",ao.ERR_BAD_OPTION_VALUE,t,h));return}h.setTimeout(ne,function(){if(f)return;let H=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",se=t.transitional||_3e;t.timeoutErrorMessage&&(H=t.timeoutErrorMessage),o(new ao(H,se.clarifyTimeoutError?ao.ETIMEDOUT:ao.ECONNABORTED,t,h)),v()})}if(er.isStream(a)){let ne=!1,oe=!1;a.on("end",()=>{ne=!0}),a.once("error",H=>{oe=!0,h.destroy(H)}),a.on("close",()=>{!ne&&!oe&&v(new cO("Request stream has been aborted",t,h))}),a.pipe(h)}else h.end(a)})}});var f2i,A2i=Et(()=>{"use strict";kd();V9();f2i=sp.hasStandardBrowserEnv?function(){let t=sp.navigator&&/(msie|trident)/i.test(sp.navigator.userAgent),n=document.createElement("a"),i;function o(s){let a=s;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=o(window.location.href),function(a){let l=er.isString(a)?o(a):a;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}()});var h2i,g2i=Et(()=>{kd();V9();h2i=sp.hasStandardBrowserEnv?{write(r,t,n,i,o,s){let a=[r+"="+encodeURIComponent(t)];er.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),er.isString(i)&&a.push("path="+i),er.isString(o)&&a.push("domain="+o),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(r){let t=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(r){this.write(r,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}}});function jM(r,t){t=t||{};let n={};function i(u,d,p){return er.isPlainObject(u)&&er.isPlainObject(d)?er.merge.call({caseless:p},u,d):er.isPlainObject(d)?er.merge({},d):er.isArray(d)?d.slice():d}function o(u,d,p){if(er.isUndefined(d)){if(!er.isUndefined(u))return i(void 0,u,p)}else return i(u,d,p)}function s(u,d){if(!er.isUndefined(d))return i(void 0,d)}function a(u,d){if(er.isUndefined(d)){if(!er.isUndefined(u))return i(void 0,u)}else return i(void 0,d)}function l(u,d,p){if(p in t)return i(u,d);if(p in r)return i(void 0,u)}let c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(u,d)=>o(m2i(u),m2i(d),!0)};return er.forEach(Object.keys(Object.assign({},r,t)),function(d){let p=c[d]||o,f=p(r[d],t[d],d);er.isUndefined(f)&&p!==l||(n[d]=f)}),n}var m2i,byt=Et(()=>{"use strict";kd();Y9();m2i=r=>r instanceof $f?{...r}:r});var Cyt,FSr=Et(()=>{V9();kd();A2i();g2i();gyt();byt();Y9();cyt();Cyt=r=>{let t=jM({},r),{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:l}=t;t.headers=a=$f.from(a),t.url=Aue(gue(t.baseURL,t.url),r.params,r.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(er.isFormData(n)){if(sp.hasStandardBrowserEnv||sp.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){let[u,...d]=c?c.split(";").map(p=>p.trim()).filter(Boolean):[];a.setContentType([u||"multipart/form-data",...d].join("; "))}}if(sp.hasStandardBrowserEnv&&(i&&er.isFunction(i)&&(i=i(t)),i||i!==!1&&f2i(t.url))){let u=o&&s&&h2i.read(s);u&&a.set(o,u)}return t}});var Hpl,y2i,E2i=Et(()=>{kd();hyt();dyt();uO();hue();MSr();V9();Y9();Eyt();FSr();Hpl=typeof XMLHttpRequest<"u",y2i=Hpl&&function(r){return new Promise(function(n,i){let o=Cyt(r),s=o.data,a=$f.from(o.headers).normalize(),{responseType:l,onUploadProgress:c,onDownloadProgress:u}=o,d,p,f,A,h;function y(){A&&A(),h&&h(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let C=new XMLHttpRequest;C.open(o.method.toUpperCase(),o.url,!0),C.timeout=o.timeout;function v(){if(!C)return;let _=$f.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),x={data:!l||l==="text"||l==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:_,config:r,request:C};K9(function(W){n(W),y()},function(W){i(W),y()},x),C=null}"onloadend"in C?C.onloadend=v:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(v)},C.onabort=function(){C&&(i(new ao("Request aborted",ao.ECONNABORTED,r,C)),C=null)},C.onerror=function(){i(new ao("Network Error",ao.ERR_NETWORK,r,C)),C=null},C.ontimeout=function(){let w=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded",x=o.transitional||_3e;o.timeoutErrorMessage&&(w=o.timeoutErrorMessage),i(new ao(w,x.clarifyTimeoutError?ao.ETIMEDOUT:ao.ECONNABORTED,r,C)),C=null},s===void 0&&a.setContentType(null),"setRequestHeader"in C&&er.forEach(a.toJSON(),function(w,x){C.setRequestHeader(x,w)}),er.isUndefined(o.withCredentials)||(C.withCredentials=!!o.withCredentials),l&&l!=="json"&&(C.responseType=o.responseType),u&&([f,h]=Lz(u,!0),C.addEventListener("progress",f)),c&&C.upload&&([p,A]=Lz(c),C.upload.addEventListener("progress",p),C.upload.addEventListener("loadend",A)),(o.cancelToken||o.signal)&&(d=_=>{C&&(i(!_||_.type?new cO(null,r,C):_),C.abort(),C=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));let O=eze(o.url);if(O&&sp.protocols.indexOf(O)===-1){i(new ao("Unsupported protocol "+O+":",ao.ERR_BAD_REQUEST,r));return}C.send(s||null)})}});var Vpl,b2i,C2i=Et(()=>{hue();uO();kd();Vpl=(r,t)=>{let{length:n}=r=r?r.filter(Boolean):[];if(t||n){let i=new AbortController,o,s=function(u){if(!o){o=!0,l();let d=u instanceof Error?u:this.reason;i.abort(d instanceof ao?d:new cO(d instanceof Error?d.message:d))}},a=t&&setTimeout(()=>{a=null,s(new ao(`timeout ${t} of ms exceeded`,ao.ETIMEDOUT))},t),l=()=>{r&&(a&&clearTimeout(a),a=null,r.forEach(u=>{u.unsubscribe?u.unsubscribe(s):u.removeEventListener("abort",s)}),r=null)};r.forEach(u=>u.addEventListener("abort",s));let{signal:c}=i;return c.unsubscribe=()=>er.asap(l),c}},b2i=Vpl});var Ypl,Kpl,Jpl,qSr,I2i=Et(()=>{Ypl=function*(r,t){let n=r.byteLength;if(!t||n<t){yield r;return}let i=0,o;for(;i<n;)o=i+t,yield r.slice(i,o),i=o},Kpl=async function*(r,t){for await(let n of Jpl(r))yield*Ypl(n,t)},Jpl=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}let t=r.getReader();try{for(;;){let{done:n,value:i}=await t.read();if(n)break;yield i}}finally{await t.cancel()}},qSr=(r,t,n,i)=>{let o=Kpl(r,t),s=0,a,l=c=>{a||(a=!0,i&&i(c))};return new ReadableStream({async pull(c){try{let{done:u,value:d}=await o.next();if(u){l(),c.close();return}let p=d.byteLength;if(n){let f=s+=p;n(f)}c.enqueue(new Uint8Array(d))}catch(u){throw l(u),u}},cancel(c){return l(c),o.return()}},{highWaterMark:2})}});var vyt,S2i,Xpl,T2i,$pl,v2i,zSr,Iyt,Zpl,e1l,O2i,_2i=Et(()=>{V9();kd();uO();C2i();I2i();Y9();Eyt();FSr();hyt();vyt=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",S2i=vyt&&typeof ReadableStream=="function",Xpl=vyt&&(typeof TextEncoder=="function"?(r=>t=>r.encode(t))(new TextEncoder):async r=>new Uint8Array(await new Response(r).arrayBuffer())),T2i=(r,...t)=>{try{return!!r(...t)}catch{return!1}},$pl=S2i&&T2i(()=>{let r=!1,t=new Request(sp.origin,{body:new ReadableStream,method:"POST",get duplex(){return r=!0,"half"}}).headers.has("Content-Type");return r&&!t}),v2i=64*1024,zSr=S2i&&T2i(()=>er.isReadableStream(new Response("").body)),Iyt={stream:zSr&&(r=>r.body)};vyt&&(r=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Iyt[t]&&(Iyt[t]=er.isFunction(r[t])?n=>n[t]():(n,i)=>{throw new ao(`Response type '${t}' is not supported`,ao.ERR_NOT_SUPPORT,i)})})})(new Response);Zpl=async r=>{if(r==null)return 0;if(er.isBlob(r))return r.size;if(er.isSpecCompliantForm(r))return(await new Request(sp.origin,{method:"POST",body:r}).arrayBuffer()).byteLength;if(er.isArrayBufferView(r)||er.isArrayBuffer(r))return r.byteLength;if(er.isURLSearchParams(r)&&(r=r+""),er.isString(r))return(await Xpl(r)).byteLength},e1l=async(r,t)=>{let n=er.toFiniteNumber(r.getContentLength());return n??Zpl(t)},O2i=vyt&&(async r=>{let{url:t,method:n,data:i,signal:o,cancelToken:s,timeout:a,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:d,withCredentials:p="same-origin",fetchOptions:f}=Cyt(r);u=u?(u+"").toLowerCase():"text";let A=b2i([o,s&&s.toAbortSignal()],a),h,y=A&&A.unsubscribe&&(()=>{A.unsubscribe()}),C;try{if(c&&$pl&&n!=="get"&&n!=="head"&&(C=await e1l(d,i))!==0){let x=new Request(t,{method:"POST",body:i,duplex:"half"}),z;if(er.isFormData(i)&&(z=x.headers.get("content-type"))&&d.setContentType(z),x.body){let[W,V]=B3e(C,Lz(M3e(c)));i=qSr(x.body,v2i,W,V)}}er.isString(p)||(p=p?"include":"omit");let v="credentials"in Request.prototype;h=new Request(t,{...f,signal:A,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:i,duplex:"half",credentials:v?p:void 0});let O=await fetch(h),_=zSr&&(u==="stream"||u==="response");if(zSr&&(l||_&&y)){let x={};["status","statusText","headers"].forEach($=>{x[$]=O[$]});let z=er.toFiniteNumber(O.headers.get("content-length")),[W,V]=l&&B3e(z,Lz(M3e(l),!0))||[];O=new Response(qSr(O.body,v2i,W,()=>{V&&V(),y&&y()}),x)}u=u||"text";let w=await Iyt[er.findKey(Iyt,u)||"text"](O,r);return!_&&y&&y(),await new Promise((x,z)=>{K9(x,z,{data:w,headers:$f.from(O.headers),status:O.status,statusText:O.statusText,config:r,request:h})})}catch(v){throw y&&y(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new ao("Network Error",ao.ERR_NETWORK,r,h),{cause:v.cause||v}):ao.from(v,v&&v.code,r,h)}})});var USr,R2i,t1l,Syt,jSr=Et(()=>{kd();p2i();E2i();_2i();uO();USr={http:d2i,xhr:y2i,fetch:O2i};er.forEach(USr,(r,t)=>{if(r){try{Object.defineProperty(r,"name",{value:t})}catch{}Object.defineProperty(r,"adapterName",{value:t})}});R2i=r=>`- ${r}`,t1l=r=>er.isFunction(r)||r===null||r===!1,Syt={getAdapter:r=>{r=er.isArray(r)?r:[r];let{length:t}=r,n,i,o={};for(let s=0;s<t;s++){n=r[s];let a;if(i=n,!t1l(n)&&(i=USr[(a=String(n)).toLowerCase()],i===void 0))throw new ao(`Unknown adapter '${a}'`);if(i)break;o[a||"#"+s]=i}if(!i){let s=Object.entries(o).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build")),a=t?s.length>1?`since :