PageSourceSearch

https://gather-app-five.vercel.app/_next/static/chunks/722-3cdb114dd0d0345a.js

js gather-app-five.vercel.app collected 2026-10-03 06:59:36 UTC 23,878 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[722],{401:function(e,t,n){var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}c((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.SearchOrgsClaimedStatusEnum=t.SearchOrgsDeployedStatusEnum=t.EndaomentSdkApi=void 0;var u=n(65),c=n(5879),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getDeployedOrgsRaw=function(e,t){return i(this,void 0,void 0,function(){var n,r,o;return a(this,function(i){switch(i.label){case 0:return n={},void 0!==e.count&&(n.count=e.count),void 0!==e.offset&&(n.offset=e.offset),r={},[4,this.request({path:"/v1/sdk/orgs/deployed",method:"GET",headers:r,query:n},t)];case 1:return o=i.sent(),[2,new u.JSONApiResponse(o,function(e){return e.map(c.NdaoSdkOrgFromJSON)})]}})})},t.prototype.getDeployedOrgs=function(e,t){return void 0===e&&(e={}),i(this,void 0,void 0,function(){return a(this,function(n){switch(n.label){case 0:return[4,this.getDeployedOrgsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}})})},t.prototype.getDonationSwapTransactionRaw=function(e,t){return i(this,void 0,void 0,function(){var n,r,o;return a(this,function(i){switch(i.label){case 0:if(null===e.einOrId||void 0===e.einOrId)throw new u.RequiredError("einOrId","Required parameter requestParameters.einOrId was null or undefined when calling getDonationSwapTransaction.");if(null===e.amountIn||void 0===e.amountIn)throw new u.RequiredError("amountIn","Required parameter requestParameters.amountIn was null or undefined when calling getDonationSwapTransaction.");return n={},void 0!==e.einOrId&&(n.einOrId=e.einOrId),void 0!==e.tokenContractAddress&&(n.tokenContractAddress=e.tokenContractAddress),void 0!==e.amountIn&&(n.amountIn=e.amountIn),r={},[4,this.request({path:"/v1/sdk/donations/swap",method:"GET",headers:r,query:n},t)];case 1:return o=i.sent(),[2,new u.JSONApiResponse(o,function(e){return(0,c.NdaoSdkDonationSwapFromJSON)(e)})]}})})},t.prototype.getDonationSwapTransaction=function(e,t){return i(this,void 0,void 0,function(){return a(this,function(n){switch(n.label){case 0:return[4,this.getDonationSwapTransactionRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}})})},t.prototype.getOrgDeployTransactionRaw=function(e,t){return i(this,void 0,void 0,function(){var n,r,o;return a(this,function(i){switch(i.label){case 0:if(null===e.einOrId||void 0===e.einOrId)throw new u.RequiredError("einOrId","Required parameter requestParameters.einOrId was null or undefined when calling getOrgDeployTransaction.");return n={},void 0!==e.einOrId&&(n.einOrId=e.einOrId),r={},[4,this.request({path:"/v1/sdk/orgs/deploy",method:"GET",headers:r,query:n},t)];case 1:return o=i.sent(),[2,new u.JSONApiResponse(o,function(e){return(0,c.NdaoSdkTransactionFromJSON)(e)})]}})})},t.prototype.getOrgDeployTransaction=function(e,t){return i(this,void 0,void 0,function(){return a(this,function(n){switch(n.label){case 0:return[4,this.getOrgDeployTransactionRaw(e,t)];
1case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}})})},t.prototype.getVisibleFundsRaw=function(e,t){return i(this,void 0,void 0,function(){var n,r,o;return a(this,function(i){switch(i.label){case 0:return n={},void 0!==e.count&&(n.count=e.count),void 0!==e.offset&&(n.offset=e.offset),r={},[4,this.request({path:"/v1/sdk/funds",method:"GET",headers:r,query:n},t)];case 1:return o=i.sent(),[2,new u.JSONApiResponse(o,function(e){return e.map(c.NdaoSdkFundFromJSON)})]}})})},t.prototype.getVisibleFunds=function(e,t){return void 0===e&&(e={}),i(this,void 0,void 0,function(){return a(this,function(n){switch(n.label){case 0:return[4,this.getVisibleFundsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}})})},t.prototype.searchOrgsRaw=function(e,t){return i(this,void 0,void 0,function(){var n,r,o;return a(this,function(i){switch(i.label){case 0:return n={},void 0!==e.searchTerm&&(n.searchTerm=e.searchTerm),void 0!==e.nteeMajorCodes&&(n.nteeMajorCodes=e.nteeMajorCodes),void 0!==e.nteeMinorCodes&&(n.nteeMinorCodes=e.nteeMinorCodes),void 0!==e.deployedStatus&&(n.deployedStatus=e.deployedStatus),void 0!==e.countries&&(n.countries=e.countries),void 0!==e.claimedStatus&&(n.claimedStatus=e.claimedStatus),void 0!==e.count&&(n.count=e.count),void 0!==e.offset&&(n.offset=e.offset),r={},[4,this.request({path:"/v1/sdk/orgs/search",method:"GET",headers:r,query:n},t)];case 1:return o=i.sent(),[2,new u.JSONApiResponse(o,function(e){return e.map(c.NdaoSdkOrgFromJSON)})]}})})},t.prototype.searchOrgs=function(e,t){return void 0===e&&(e={}),i(this,void 0,void 0,function(){return a(this,function(n){switch(n.label){case 0:return[4,this.searchOrgsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}})})},t.prototype.searchVisibleFundsRaw=function(e,t){return i(this,void 0,void 0,function(){var n,r,o;return a(this,function(i){switch(i.label){case 0:if(null===e.name||void 0===e.name)throw new u.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling searchVisibleFunds.");return n={},void 0!==e.name&&(n.name=e.name),void 0!==e.count&&(n.count=e.count),void 0!==e.offset&&(n.offset=e.offset),r={},[4,this.request({path:"/v1/sdk/funds/search",method:"GET",headers:r,query:n},t)];case 1:return o=i.sent(),[2,new u.JSONApiResponse(o,function(e){return e.map(c.NdaoSdkFundFromJSON)})]}})})},t.prototype.searchVisibleFunds=function(e,t){return i(this,void 0,void 0,function(){return a(this,function(n){switch(n.label){case 0:return[4,this.searchVisibleFundsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}})})},t}(u.BaseAPI);t.EndaomentSdkApi=s,t.SearchOrgsDeployedStatusEnum={Deployed:"deployed",Undeployed:"undeployed",All:"all"},t.SearchOrgsClaimedStatusEnum={Claimed:"claimed",Unclaimed:"unclaimed",All:"all"}},4295:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=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(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(401),t)},5722:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=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(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(65),t),o(n(4295),t),o(n(5879),t)},6205:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.NdaoSdkDonationSwapToJSON=t.NdaoSdkDonationSwapFromJSONTyped=t.NdaoSdkDonationSwapFromJSON=t.instanceOfNdaoSdkDonationSwap=void 0;var r=n(8141);function o(e,t){return null==e?e:{to:e.to,data:e.data,value:e.value,quote:(0,r.NdaoSdkDonationSwapQuoteFromJSON)(e.quote)}}t.instanceOfNdaoSdkDonationSwap=function(e){return"to"in e&&"data"in e&&"value"in e&&"quote"in e},t.NdaoSdkDonationSwapFromJSON=function(e){return o(e,!1)},t.NdaoSdkDonationSwapFromJSONTyped=o,t.NdaoSdkDonationSwapToJSON=function(e){return void 0===e?void 0:null===e?null:{to:e.to,data:e.data,value:e.value,quote:(0,r.NdaoSdkDonationSwapQuoteToJSON)(e.quote)}}},8141:function(e,t){function n(e,t){return null==e?e:{priceImpact:e.priceImpact,expectedUsdc:e.expectedUsdc,minimumTolerableUsdc:e.minimumTolerableUsdc}}
1Object.defineProperty(t,"__esModule",{value:!0}),t.NdaoSdkDonationSwapQuoteToJSON=t.NdaoSdkDonationSwapQuoteFromJSONTyped=t.NdaoSdkDonationSwapQuoteFromJSON=t.instanceOfNdaoSdkDonationSwapQuote=void 0,t.instanceOfNdaoSdkDonationSwapQuote=function(e){return"priceImpact"in e&&"expectedUsdc"in e&&"minimumTolerableUsdc"in e},t.NdaoSdkDonationSwapQuoteFromJSON=function(e){return n(e,!1)},t.NdaoSdkDonationSwapQuoteFromJSONTyped=n,t.NdaoSdkDonationSwapQuoteToJSON=function(e){return void 0===e?void 0:null===e?null:{priceImpact:e.priceImpact,expectedUsdc:e.expectedUsdc,minimumTolerableUsdc:e.minimumTolerableUsdc}}},844:function(e,t){function n(e,t){return null==e?e:{id:e.id,name:e.name,contractAddress:e.contractAddress,logoUrl:e.logoUrl,description:e.description,endaomentUrl:e.endaomentUrl}}Object.defineProperty(t,"__esModule",{value:!0}),t.NdaoSdkFundToJSON=t.NdaoSdkFundFromJSONTyped=t.NdaoSdkFundFromJSON=t.instanceOfNdaoSdkFund=void 0,t.instanceOfNdaoSdkFund=function(e){return"id"in e&&"name"in e&&"contractAddress"in e&&"logoUrl"in e&&"description"in e&&"endaomentUrl"in e},t.NdaoSdkFundFromJSON=function(e){return n(e,!1)},t.NdaoSdkFundFromJSONTyped=n,t.NdaoSdkFundToJSON=function(e){return void 0===e?void 0:null===e?null:{id:e.id,name:e.name,contractAddress:e.contractAddress,logoUrl:e.logoUrl,description:e.description,endaomentUrl:e.endaomentUrl}}},2208:function(e,t){function n(e,t){return null==e?e:{id:e.id,name:e.name,ein:e.ein,contractAddress:e.contractAddress,logoUrl:e.logoUrl,nteeCode:e.nteeCode,nteeDescription:e.nteeDescription,description:e.description,endaomentUrl:e.endaomentUrl}}Object.defineProperty(t,"__esModule",{value:!0}),t.NdaoSdkOrgToJSON=t.NdaoSdkOrgFromJSONTyped=t.NdaoSdkOrgFromJSON=t.instanceOfNdaoSdkOrg=void 0,t.instanceOfNdaoSdkOrg=function(e){return"id"in e&&"name"in e&&"ein"in e&&"contractAddress"in e&&"logoUrl"in e&&"nteeCode"in e&&"nteeDescription"in e&&"description"in e&&"endaomentUrl"in e},t.NdaoSdkOrgFromJSON=function(e){return n(e,!1)},t.NdaoSdkOrgFromJSONTyped=n,t.NdaoSdkOrgToJSON=function(e){return void 0===e?void 0:null===e?null:{id:e.id,name:e.name,ein:e.ein,contractAddress:e.contractAddress,logoUrl:e.logoUrl,nteeCode:e.nteeCode,nteeDescription:e.nteeDescription,description:e.description,endaomentUrl:e.endaomentUrl}}},4764:function(e,t){function n(e,t){return null==e?e:{priceImpact:e.priceImpact,expectedUsdc:e.expectedUsdc,minimumTolerableUsdc:e.minimumTolerableUsdc}}Object.defineProperty(t,"__esModule",{value:!0}),t.NdaoSdkSwapQuoteToJSON=t.NdaoSdkSwapQuoteFromJSONTyped=t.NdaoSdkSwapQuoteFromJSON=t.instanceOfNdaoSdkSwapQuote=void 0,t.instanceOfNdaoSdkSwapQuote=function(e){return"priceImpact"in e&&"expectedUsdc"in e&&"minimumTolerableUsdc"in e},t.NdaoSdkSwapQuoteFromJSON=function(e){return n(e,!1)},t.NdaoSdkSwapQuoteFromJSONTyped=n,t.NdaoSdkSwapQuoteToJSON=function(e){return void 0===e?void 0:null===e?null:{priceImpact:e.priceImpact,expectedUsdc:e.expectedUsdc,minimumTolerableUsdc:e.minimumTolerableUsdc}}},9727:function(e,t){function n(e,t){return null==e?e:{to:e.to,data:e.data,value:e.value}}Object.defineProperty(t,"__esModule",{value:!0}),t.NdaoSdkTransactionToJSON=t.NdaoSdkTransactionFromJSONTyped=t.NdaoSdkTransactionFromJSON=t.instanceOfNdaoSdkTransaction=void 0,t.instanceOfNdaoSdkTransaction=function(e){return"to"in e&&"data"in e&&"value"in e},t.NdaoSdkTransactionFromJSON=function(e){return n(e,!1)},t.NdaoSdkTransactionFromJSONTyped=n,t.NdaoSdkTransactionToJSON=function(e){return void 0===e?void 0:null===e?null:{to:e.to,data:e.data,value:e.value}}},5879:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=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(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(6205),t),o(n(8141),t),o(n(844),t),o(n(2208),t),o(n(4764),t),o(n(9727),t)},65:function(e,t){var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.
1setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}c((r=r.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextApiResponse=t.BlobApiResponse=t.VoidApiResponse=t.JSONApiResponse=t.canConsumeForm=t.mapValues=t.querystring=t.exists=t.COLLECTION_FORMATS=t.RequiredError=t.FetchError=t.ResponseError=t.BaseAPI=t.DefaultConfig=t.Configuration=void 0;var u=function(){function e(e){void 0===e&&(e={network:"mainnet"}),this.configuration=e}return Object.defineProperty(e.prototype,"config",{set:function(e){this.configuration=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"basePath",{get:function(){switch(this.configuration.network){case"goerli":return"https://api.staging.endaoment.org";case"local":return"http://localhost:3333";default:return"https://api.endaoment.org"}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fetchApi",{get:function(){return this.configuration.fetchApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"middleware",{get:function(){return this.configuration.middleware||[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"queryParamsStringify",{get:function(){return this.configuration.queryParamsStringify||f},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"username",{get:function(){return this.configuration.username},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"password",{get:function(){return this.configuration.password},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apiKey",{get:function(){var e=this.configuration.apiKey;if(e)return"function"==typeof e?e:function(){return e}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"accessToken",{get:function(){var e=this,t=this.configuration.accessToken;if(t)return"function"==typeof t?t:function(){return i(e,void 0,void 0,function(){return a(this,function(e){return[2,t]})})}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"headers",{get:function(){return this.configuration.headers},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"credentials",{get:function(){return this.configuration.credentials}
1,enumerable:!1,configurable:!0}),e}();t.Configuration=u,t.DefaultConfig=new u;var c=function(){function e(e){void 0===e&&(e=t.DefaultConfig);var n=this;this.configuration=e,this.fetchApi=function(e,t){return i(n,void 0,void 0,function(){var n,r,i,u,c,s,l,f,p,h;return a(this,function(a){switch(a.label){case 0:n={url:e,init:t},r=0,i=this.middleware,a.label=1;case 1:if(!(r<i.length))return[3,4];if(!(u=i[r]).pre)return[3,3];return[4,u.pre(o({fetch:this.fetchApi},n))];case 2:n=a.sent()||n,a.label=3;case 3:return r++,[3,1];case 4:c=void 0,a.label=5;case 5:return a.trys.push([5,7,,12]),[4,(this.configuration.fetchApi||fetch)(n.url,n.init)];case 6:return c=a.sent(),[3,12];case 7:s=a.sent(),l=0,f=this.middleware,a.label=8;case 8:if(!(l<f.length))return[3,11];if(!(u=f[l]).onError)return[3,10];return[4,u.onError({fetch:this.fetchApi,url:n.url,init:n.init,error:s,response:c?c.clone():void 0})];case 9:c=a.sent()||c,a.label=10;case 10:return l++,[3,8];case 11:if(void 0===c){if(s instanceof Error)throw new d(s,"The request failed and the interceptors did not return an alternative response");throw s}return[3,12];case 12:p=0,h=this.middleware,a.label=13;case 13:if(!(p<h.length))return[3,16];if(!(u=h[p]).post)return[3,15];return[4,u.post({fetch:this.fetchApi,url:n.url,init:n.init,response:c.clone()})];case 14:c=a.sent()||c,a.label=15;case 15:return p++,[3,13];case 16:return[2,c]}})})},this.middleware=e.middleware}return e.prototype.withMiddleware=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this.clone();return r.middleware=(e=r.middleware).concat.apply(e,t),r},e.prototype.withPreMiddleware=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.map(function(e){return{pre:e}});return this.withMiddleware.apply(this,n)},e.prototype.withPostMiddleware=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.map(function(e){return{post:e}});return this.withMiddleware.apply(this,n)},e.prototype.request=function(e,t){return i(this,void 0,void 0,function(){var n,r,o,i;return a(this,function(a){switch(a.label){case 0:return[4,this.createFetchParams(e,t)];case 1:return r=(n=a.sent()).url,o=n.init,[4,this.fetchApi(r,o)];case 2:if((i=a.sent())&&i.status>=200&&i.status<300)return[2,i];throw new s(i,"Response returned an error code")}})})},e.prototype.createFetchParams=function(e,t){return i(this,void 0,void 0,function(){var n,r,u,c,s,d,l=this;return a(this,function(f){switch(f.label){case 0:return n=this.configuration.basePath+e.path,void 0!==e.query&&0!==Object.keys(e.query).length&&(n+="?"+this.configuration.queryParamsStringify(e.query)),Object.keys(r=Object.assign({},this.configuration.headers,e.headers)).forEach(function(e){return void 0===r[e]?delete r[e]:{}}),u="function"==typeof t?t:function(){return i(l,void 0,void 0,function(){return a(this,function(e){return[2,t]})})},d=[o({},c={method:e.method,headers:r,body:e.body,credentials:this.configuration.credentials})],[4,u({init:c,context:e})];case 1:var p,h;return s=o.apply(void 0,d.concat([f.sent()])),[2,{url:n,init:o(o({},s),{body:(p=s.body,"undefined"!=typeof FormData&&p instanceof FormData||s.body instanceof URLSearchParams||(h=s.body,"undefined"!=typeof Blob&&h instanceof Blob))?s.body:JSON.stringify(s.body)})}]}})})},e.prototype.clone=function(){var e=new this.constructor(this.configuration);return e.middleware=this.middleware.slice(),e},e}();t.BaseAPI=c;var s=function(e){function t(t,n){var r=e.call(this,n)||this;return r.response=t,r.name="ResponseError",r}return r(t,e),t}(Error);t.ResponseError=s;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.cause=t,r.name="FetchError",r}return r(t,e),t}(Error);t.FetchError=d;var l=function(e){function t(t,n){var r=e.call(this,n)||this;return r.field=t,r.name="RequiredError",r}return r(t,e),t}(Error);function f(e,t){return void 0===t&&(t=""),Object.keys(e).map(function(n){return function e(t,n,r){void 0===r&&(r="");var o=r+(r.length?"[".concat(t,"]"):t);if(n instanceof Array){var i=n.map(function(e){return encodeURIComponent(String(e))}).join("&".concat(encodeURIComponent(o),"="));return"".concat(encodeURIComponent(o),"=").concat(i)}return n instanceof Set?e(t,Array.from(n),r):n instanceof Date?"".concat(encodeURIComponent(o),"=").concat(encodeURIComponent(n.toISOString())):n instanceof Object?f(n,o):"".concat(encodeURIComponent(o),"=").concat(encodeURIComponent(String(n)))}(n,e[n],t)}).filter(function(e){return e.length>0}).join("&")}t.RequiredError=l,t.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:"	",pipes:"|"},t.exists=function(e,t){return null!=e[t]},t.querystring=f,t.mapValues=function(e,t){return Object.keys(e).reduce(function(n,r){var i;return o(o({},n),((i={})[r]=t(e[r]),i))},{})},t.canConsumeForm=function(e){for(var t=0;t<e.length;t++)if("multipart/form-data"===e[t].contentType)return!0;return!1};var p=function(){function e(e,t){void 0===t&&(t=function(e){return e}),this.raw=e,this.transformer=t}return e.prototype.value=function(){return i(this,void 0,void 0,function(){var e;return a(this,function(t){switch(t.label){case 0:return e=this.transformer,[4,this.raw.json()];case 1:return[2,e.apply(this,[t.sent()])]}})})},e}();t.JSONApiResponse=p;var h=function(){function e(e){this.raw=e}return e.prototype.value=function(){return i(this,void 0,void 0,function(){return a(this,function(e){return[2,void 0]})})},e}();t.VoidApiResponse=h;var v=function(){function e(e){this.raw=e}return e.prototype.value=function(){return i(this,void 0,void 0,function(){return a(this,function(e){switch(e.label){case 0:return[4,this.raw.blob()];case 1:return[2,e.sent()]}})})},e}();t.BlobApiResponse=v;var m=function(){function e(e){this.raw=e}return e.prototype.value=function(){return i(this,void 0,void 0,function(){return a(this,function(e){switch(e.label){case 0:return[4,this.raw.text()];case 1:return[2,e.sent()]}})})},e}();t.TextApiResponse=m}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.