PageSourceSearch

https://antler.digital/_next/static/chunks/797-703385523cec26b0.js

js antler.digital collected 2026-10-06 06:10:29 UTC 49,730 bytes, 6 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[797],{58816:function(e,t,r){"use strict";var o,i,n,s,a,u,f,h,l,c=r(48764).lW,p=this&&this.__classPrivateFieldSet||function(e,t,r,o,i){if("m"===o)throw TypeError("Private method is not writable");if("a"===o&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?i.call(e,r):i?i.value=r:t.set(e,r),r},d=this&&this.__classPrivateFieldGet||function(e,t,r,o){if("a"===r&&!o)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!o:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?o:"a"===r?o.call(e):o?o.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0});let y=r(72197),g=r(23697),m=r(29576),b=r(30557),B=r(83300),v=r(43797);let Client=class Client{constructor(e){var t,r,c,d,g,P;o.set(this,void 0),i.set(this,void 0),n.set(this,void 0),s.set(this,void 0),a.set(this,void 0),u.set(this,void 0),f.set(this,void 0),h.set(this,void 0),l.set(this,void 0),this.blocks={retrieve:e=>this.request({path:b.getBlock.path(e),method:b.getBlock.method,query:(0,m.pick)(e,b.getBlock.queryParams),body:(0,m.pick)(e,b.getBlock.bodyParams),auth:null==e?void 0:e.auth}),update:e=>this.request({path:b.updateBlock.path(e),method:b.updateBlock.method,query:(0,m.pick)(e,b.updateBlock.queryParams),body:(0,m.pick)(e,b.updateBlock.bodyParams),auth:null==e?void 0:e.auth}),delete:e=>this.request({path:b.deleteBlock.path(e),method:b.deleteBlock.method,query:(0,m.pick)(e,b.deleteBlock.queryParams),body:(0,m.pick)(e,b.deleteBlock.bodyParams),auth:null==e?void 0:e.auth}),children:{append:e=>this.request({path:b.appendBlockChildren.path(e),method:b.appendBlockChildren.method,query:(0,m.pick)(e,b.appendBlockChildren.queryParams),body:(0,m.pick)(e,b.appendBlockChildren.bodyParams),auth:null==e?void 0:e.auth}),list:e=>this.request({path:b.listBlockChildren.path(e),method:b.listBlockChildren.method,query:(0,m.pick)(e,b.listBlockChildren.queryParams),body:(0,m.pick)(e,b.listBlockChildren.bodyParams),auth:null==e?void 0:e.auth})}},this.databases={list:e=>this.request({path:b.listDatabases.path(),method:b.listDatabases.method,query:(0,m.pick)(e,b.listDatabases.queryParams),body:(0,m.pick)(e,b.listDatabases.bodyParams),auth:null==e?void 0:e.auth}),retrieve:e=>this.request({path:b.getDatabase.path(e),method:b.getDatabase.method,query:(0,m.pick)(e,b.getDatabase.queryParams),body:(0,m.pick)(e,b.getDatabase.bodyParams),auth:null==e?void 0:e.auth}),query:e=>this.request({path:b.queryDatabase.path(e),method:b.queryDatabase.method,query:(0,m.pick)(e,b.queryDatabase.queryParams),body:(0,m.pick)(e,b.queryDatabase.bodyParams),auth:null==e?void 0:e.auth}),create:e=>this.request({path:b.createDatabase.path(),method:b.createDatabase.method,query:(0,m.pick)(e,b.createDatabase.queryParams),body:(0,m.pick)(e,b.createDatabase.bodyParams),auth:null==e?void 0:e.auth}),update:e=>this.request({path:b.updateDatabase.path(e),method:b.updateDatabase.method,query:(0,m.pick)(e,b.updateDatabase.queryParams),body:(0,m.pick)(e,b.updateDatabase.bodyParams),auth:null==e?void 0:e.auth})},this.pages={create:e=>this.request({path:b.createPage.path(),method:b.createPage.method,query:(0,m.pick)(e,b.createPage.queryParams),body:(0,m.pick)(e,b.createPage.bodyParams),auth:null==e?void 0:e.auth}),retrieve:e=>this.request({path:b.getPage.path(e),method:b.getPage.method,query:(0,m.pick)(e,b.getPage.queryParams),body:(0,m.pick)(e,b.getPage.bodyParams),auth:null==e?void 0:e.auth}),update:e=>this.request({path:b.updatePage.path(e),method:b.updatePage.method,query:(0,m.pick)(e,b.updatePage.queryParams),body:(0,m.pick)(e,b.updatePage.bodyParams),auth:null==e?void 0:e.auth}),properties:{retrieve:e=>this.request({path:b.getPageProperty.path(e),method:b.getPageProperty.method,query:(0,m.pick)(e,b.getPageProperty.queryParams),body:(0,m.pick)(e,b.getPageProperty.bodyParams),auth:null==e?void 0:e.auth})}},this.users={retrieve:e=>this.request({path:b.getUser.path(e),method:b.getUser.method,query:(0,m.pick)(e,b.getUser.queryParams),body:(0,m.pick)(e,b.getUser.bodyParams),auth:null==e?void 0:e.auth}),list:e=>this.request({path:b.listUsers.path(),method:b.listUsers.method,query:(0,m.pick)(e,b.listUsers.queryParams),body:(0,m.pick)(e,b.listUsers.bodyParams),auth:null==e?void 0:e.auth}),me:e=>this.request({path:b.getSelf.path(),method:b.getSelf.method,query:(0,m.pick)(e,b.getSelf.queryParams),body:(0,m.pick)(e,b.getSelf.bodyParams),auth:null==e?void 0:e.auth})},this.comments={create:e=>this.request({path:b.createComment.path(),method:b.createComment.method,query:(0,m.pick)(e,b.createComment.queryParams),body:(0,m.pick)(e,b.createComment.bodyParams),auth:null==e?void 0:e.auth}),list:e=>this.request({path:b.listComments.path(),method:b.listComments.method,query:(0,m.pick)(e,b.listComments.queryParams),body:(0,m.pick)(e,b.listComments.bodyParams),auth:null==e?void 0:e.auth})},this.search=e=>this.request({path:b.search.path(),method:b.search.method,query:(0,m.pick)(e,b.search.queryParams),body:(0,m.pick)(e,b.search.bodyParams),auth:null==e?void 0:e.auth}),this.oauth={token:e=>this.request({path:b.oauthToken.path(),method:b.oauthToken.method,query:(0,m.pick)(e,b.oauthToken.queryParams),body:(0,m.pick)(e,b.oauthToken.bodyParams),auth:{client_id:e.client_id,client_secret:e.client_secret}}),introspect:e=>this.request({path:b.oauthIntrospect.path(),method:b.oauthIntrospect.method,query:(0,m.pick)(e,b.oauthIntrospect.queryParams),body:(0,m.pick)(e,b.oauthIntrospect.bodyParams),auth:{client_id:e.client_id,client_secret:e.client_secret}}),revoke:e=>this.request({path:b.oauthRevoke.path(),method:b.oauthRevoke.method,query:(0,m.pick)(e,b.oauthRevoke.queryParams),body:(0,m.pick)(e,b.oauthRevoke.bodyParams),auth:{client_id:e.client_id,client_secret:e.client_secret}})},p(this,o,null==e?void 0:e.auth,"f"),p(this,i,null!==(t=null==e?void 0:e.logLevel)&&void 0!==t?t:y.LogLevel.WARN,"f"),p(this,n,null!==(r=null==e?void 0:e.logger)&&void 0!==r?r:(0,y.makeConsoleLogger)(v.name),"f"),p(this,s,`${null!==(c=null==e?void 0:e.baseUrl)&&void 0!==c?c:"https://api.notion.com"}/v1/`,"f"),p(this,a,null!==(d=null==e?void 0:e.timeoutMs)&&void 0!==d?d:6e4,"f"),p(this,u,null!==(g=null==e?void 0:e.notionVersion)&&void 0!==g?g:Client.defaultNotionVersion,"f"),p(this,f,null!==(P=null==e?void 0:e.fetch)&&void 0!==P?P:B.default,"f"),p(this,h,null==e?void 0:e.agent,"f"),p(this,l,`notionhq-client/${v.version}`,"f")}async request({path:e,method:t,query:r,body:o,auth:i}){let n;this.log(y.LogLevel.INFO,"request start",{method:t,path:e});let p=o&&0!==Object.entries(o).length?JSON.stringify(o):void 0,m=new URL(`${d(this,s,"f")}${e}`);if(r)for(let[e,t]of Object.entries(r))void 0!==t&&(Array.isArray(t)?t.forEach(t=>m.searchParams.append(e,decodeURIComponent(t))):m.searchParams.append(e,String(t)));if("object"==typeof i){let e=`${i.client_id}:${i.client_secret}`,t=c.from(e).toString("base64");n={authorization:`Basic ${t}`}}else n=this.authAsHeaders(i);let b={...n,"Notion-Version":d(this,u,"f"),"user-agent":d(this,l,"f")};void 0!==p&&(b["content-type"]="application/json");try{let r=await g.RequestTimeoutError.rejectAfterTimeout(d(this,f,"f").call(this,m.toString(),{method:t.toUpperCase(),headers:b,body:p,agent:d(this,h,"f")}),d(this,a,"f")),o=await r.text();if(!r.ok)throw(0,g.buildRequestError)(r,o);let i=JSON.parse(o);return this.log(y.LogLevel.INFO,"request success",{method:t,path:e}),i}catch(e){if(!(0,g.isNotionClientError)(e))throw e;
1throw this.log(y.LogLevel.WARN,"request fail",{code:e.code,message:e.message}),(0,g.isHTTPResponseError)(e)&&this.log(y.LogLevel.DEBUG,"failed response body",{body:e.body}),e}}log(e,t,r){(0,y.logLevelSeverity)(e)>=(0,y.logLevelSeverity)(d(this,i,"f"))&&d(this,n,"f").call(this,e,t,r)}authAsHeaders(e){let t={},r=null!=e?e:d(this,o,"f");return void 0!==r&&(t.authorization=`Bearer ${r}`),t}};t.default=Client,o=new WeakMap,i=new WeakMap,n=new WeakMap,s=new WeakMap,a=new WeakMap,u=new WeakMap,f=new WeakMap,h=new WeakMap,l=new WeakMap,Client.defaultNotionVersion="2022-06-28"},30557:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.oauthIntrospect=t.oauthRevoke=t.oauthToken=t.listComments=t.createComment=t.search=t.createDatabase=t.listDatabases=t.queryDatabase=t.updateDatabase=t.getDatabase=t.appendBlockChildren=t.listBlockChildren=t.deleteBlock=t.updateBlock=t.getBlock=t.getPageProperty=t.updatePage=t.getPage=t.createPage=t.listUsers=t.getUser=t.getSelf=void 0,t.getSelf={method:"get",pathParams:[],queryParams:[],bodyParams:[],path:()=>"users/me"},t.getUser={method:"get",pathParams:["user_id"],queryParams:[],bodyParams:[],path:e=>`users/${e.user_id}`},t.listUsers={method:"get",pathParams:[],queryParams:["start_cursor","page_size"],bodyParams:[],path:()=>"users"},t.createPage={method:"post",pathParams:[],queryParams:[],bodyParams:["parent","properties","icon","cover","content","children"],path:()=>"pages"},t.getPage={method:"get",pathParams:["page_id"],queryParams:["filter_properties"],bodyParams:[],path:e=>`pages/${e.page_id}`},t.updatePage={method:"patch",pathParams:["page_id"],queryParams:[],bodyParams:["properties","icon","cover","archived","in_trash"],path:e=>`pages/${e.page_id}`},t.getPageProperty={method:"get",pathParams:["page_id","property_id"],queryParams:["start_cursor","page_size"],bodyParams:[],path:e=>`pages/${e.page_id}/properties/${e.property_id}`},t.getBlock={method:"get",pathParams:["block_id"],queryParams:[],bodyParams:[],path:e=>`blocks/${e.block_id}`},t.updateBlock={method:"patch",pathParams:["block_id"],queryParams:[],bodyParams:["embed","type","archived","in_trash","bookmark","image","video","pdf","file","audio","code","equation","divider","breadcrumb","table_of_contents","link_to_page","table_row","heading_1","heading_2","heading_3","paragraph","bulleted_list_item","numbered_list_item","quote","to_do","toggle","template","callout","synced_block","table"],path:e=>`blocks/${e.block_id}`},t.deleteBlock={method:"delete",pathParams:["block_id"],queryParams:[],bodyParams:[],path:e=>`blocks/${e.block_id}`},t.listBlockChildren={method:"get",pathParams:["block_id"],queryParams:["start_cursor","page_size"],bodyParams:[],path:e=>`blocks/${e.block_id}/children`},t.appendBlockChildren={method:"patch",pathParams:["block_id"],queryParams:[],bodyParams:["children","after"],path:e=>`blocks/${e.block_id}/children`},t.getDatabase={method:"get",pathParams:["database_id"],queryParams:[],bodyParams:[],path:e=>`databases/${e.database_id}`},t.updateDatabase={method:"patch",pathParams:["database_id"],queryParams:[],bodyParams:["title","description","icon","cover","properties","is_inline","archived","in_trash"],path:e=>`databases/${e.database_id}`},t.queryDatabase={method:"post",pathParams:["database_id"],queryParams:["filter_properties"],bodyParams:["sorts","filter","start_cursor","page_size","archived","in_trash"],path:e=>`databases/${e.database_id}/query`},t.listDatabases={method:"get",pathParams:[],queryParams:["start_cursor","page_size"],bodyParams:[],path:()=>"databases"},t.createDatabase={method:"post",pathParams:[],queryParams:[],bodyParams:["parent","properties","icon","cover","title","description","is_inline"],path:()=>"databases"},t.search={method:"post",pathParams:[],queryParams:[],bodyParams:["sort","query","start_cursor","page_size","filter"],path:()=>"search"},t.createComment={method:"post",pathParams:[],queryParams:[],bodyParams:["parent","rich_text","discussion_id"],path:()=>"comments"},t.listComments={method:"get",pathParams:[],queryParams:["block_id","start_cursor","page_size"],bodyParams:[],path:()=>"comments"},t.oauthToken={method:"post",pathParams:[],queryParams:[],bodyParams:["grant_type","code","redirect_uri","external_account"],path:()=>"oauth/token"},t.oauthRevoke={method:"post",pathParams:[],queryParams:[],bodyParams:["token"],path:()=>"oauth/revoke"},t.oauthIntrospect={method:"post",pathParams:[],queryParams:[],bodyParams:["token"],path:()=>"oauth/introspect"}},23697:function(e,t,r){"use strict";var o,i,n,s;
1Object.defineProperty(t,"__esModule",{value:!0}),t.buildRequestError=t.APIResponseError=t.UnknownHTTPResponseError=t.isHTTPResponseError=t.RequestTimeoutError=t.isNotionClientError=t.ClientErrorCode=t.APIErrorCode=void 0;let a=r(29576);(n=o=t.APIErrorCode||(t.APIErrorCode={})).Unauthorized="unauthorized",n.RestrictedResource="restricted_resource",n.ObjectNotFound="object_not_found",n.RateLimited="rate_limited",n.InvalidJSON="invalid_json",n.InvalidRequestURL="invalid_request_url",n.InvalidRequest="invalid_request",n.ValidationError="validation_error",n.ConflictError="conflict_error",n.InternalServerError="internal_server_error",n.ServiceUnavailable="service_unavailable",(s=i=t.ClientErrorCode||(t.ClientErrorCode={})).RequestTimeout="notionhq_client_request_timeout",s.ResponseError="notionhq_client_response_error";let NotionClientErrorBase=class NotionClientErrorBase extends Error{};function isNotionClientError(e){return(0,a.isObject)(e)&&e instanceof NotionClientErrorBase}function isNotionClientErrorWithCode(e,t){return isNotionClientError(e)&&e.code in t}t.isNotionClientError=isNotionClientError;let RequestTimeoutError=class RequestTimeoutError extends NotionClientErrorBase{constructor(e="Request to Notion API has timed out"){super(e),this.code=i.RequestTimeout,this.name="RequestTimeoutError"}static isRequestTimeoutError(e){return isNotionClientErrorWithCode(e,{[i.RequestTimeout]:!0})}static rejectAfterTimeout(e,t){return new Promise((r,o)=>{let i=setTimeout(()=>{o(new RequestTimeoutError)},t);e.then(r).catch(o).then(()=>clearTimeout(i))})}};t.RequestTimeoutError=RequestTimeoutError;let HTTPResponseError=class HTTPResponseError extends NotionClientErrorBase{constructor(e){super(e.message),this.name="HTTPResponseError";let{code:t,status:r,headers:o,rawBodyText:i}=e;this.code=t,this.status=r,this.headers=o,this.body=i}};let u={[i.ResponseError]:!0,[o.Unauthorized]:!0,[o.RestrictedResource]:!0,[o.ObjectNotFound]:!0,[o.RateLimited]:!0,[o.InvalidJSON]:!0,[o.InvalidRequestURL]:!0,[o.InvalidRequest]:!0,[o.ValidationError]:!0,[o.ConflictError]:!0,[o.InternalServerError]:!0,[o.ServiceUnavailable]:!0};t.isHTTPResponseError=function(e){return!!isNotionClientErrorWithCode(e,u)};let UnknownHTTPResponseError=class UnknownHTTPResponseError extends HTTPResponseError{constructor(e){var t;super({...e,code:i.ResponseError,message:null!==(t=e.message)&&void 0!==t?t:`Request to Notion API failed with status: ${e.status}`}),this.name="UnknownHTTPResponseError"}static isUnknownHTTPResponseError(e){return isNotionClientErrorWithCode(e,{[i.ResponseError]:!0})}};t.UnknownHTTPResponseError=UnknownHTTPResponseError;let f={[o.Unauthorized]:!0,[o.RestrictedResource]:!0,[o.ObjectNotFound]:!0,[o.RateLimited]:!0,[o.InvalidJSON]:!0,[o.InvalidRequestURL]:!0,[o.InvalidRequest]:!0,[o.ValidationError]:!0,[o.ConflictError]:!0,[o.InternalServerError]:!0,[o.ServiceUnavailable]:!0};let APIResponseError=class APIResponseError extends HTTPResponseError{constructor(){super(...arguments),this.name="APIResponseError"}static isAPIResponseError(e){return isNotionClientErrorWithCode(e,f)}};t.APIResponseError=APIResponseError,t.buildRequestError=function(e,t){let r=function(e){var t;let r;if("string"==typeof e){try{r=JSON.parse(e)}catch(e){return}if((0,a.isObject)(r)&&"string"==typeof r.message&&"string"==typeof(t=r.code)&&t in f)return{...r,code:r.code,message:r.message}}}(t);return void 0!==r?new APIResponseError({code:r.code,message:r.message,headers:e.headers,status:e.status,rawBodyText:t}):new UnknownHTTPResponseError({message:void 0,headers:e.headers,status:e.status,rawBodyText:t})}},71356:function(e,t){"use strict";async function*iteratePaginatedAPI(e,t){let r=t.start_cursor;do{let o=await e({...t,start_cursor:r});yield*o.results,r=o.next_cursor}while(r)}async function collectPaginatedAPI(e,t){let r=[];for await(let o of iteratePaginatedAPI(e,t))r.push(o);return r}function isFullPage(e){return"page"===e.object&&"url"in e}function isFullDatabase(e){return"database"===e.object&&"title"in e}Object.defineProperty(t,"__esModule",{value:!0}),t.isMentionRichTextItemResponse=t.isEquationRichTextItemResponse=t.isTextRichTextItemResponse=t.isFullComment=t.isFullUser=t.isFullPageOrDatabase=t.isFullDatabase=t.isFullPage=t.is
1FullBlock=t.collectPaginatedAPI=t.iteratePaginatedAPI=void 0,t.iteratePaginatedAPI=iteratePaginatedAPI,t.collectPaginatedAPI=collectPaginatedAPI,t.isFullBlock=function(e){return"block"===e.object&&"type"in e},t.isFullPage=isFullPage,t.isFullDatabase=isFullDatabase,t.isFullPageOrDatabase=function(e){return"database"===e.object?isFullDatabase(e):isFullPage(e)},t.isFullUser=function(e){return"type"in e},t.isFullComment=function(e){return"created_by"in e},t.isTextRichTextItemResponse=function(e){return"text"===e.type},t.isEquationRichTextItemResponse=function(e){return"equation"===e.type},t.isMentionRichTextItemResponse=function(e){return"mention"===e.type}},29267:function(e,t,r){"use strict";r(58816),r(72197),r(23697),r(71356)},72197:function(e,t,r){"use strict";var o,i;Object.defineProperty(t,"__esModule",{value:!0}),t.logLevelSeverity=t.makeConsoleLogger=t.LogLevel=void 0;let n=r(29576);(i=o=t.LogLevel||(t.LogLevel={})).DEBUG="debug",i.INFO="info",i.WARN="warn",i.ERROR="error",t.makeConsoleLogger=function(e){return(t,r,o)=>{console[t](`${e} ${t}:`,r,o)}},t.logLevelSeverity=function(e){switch(e){case o.DEBUG:return 20;case o.INFO:return 40;case o.WARN:return 60;case o.ERROR:return 80;default:return(0,n.assertNever)(e)}}},29576:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=t.pick=t.assertNever=void 0,t.assertNever=function(e){throw Error(`Unexpected value should never occur: ${e}`)},t.pick=function(e,t){let r=t.map(t=>[t,null==e?void 0:e[t]]);return Object.fromEntries(r)},t.isObject=function(e){return"object"==typeof e&&null!==e}},80258:function(e,t){"use strict";t.byteLength=function(e){var t=getLens(e),r=t[0],o=t[1];return(r+o)*3/4-o},t.toByteArray=function(e){var t,r,n=getLens(e),s=n[0],a=n[1],u=new i((s+a)*3/4-a),f=0,h=a>0?s-4:s;for(r=0;r<h;r+=4)t=o[e.charCodeAt(r)]<<18|o[e.charCodeAt(r+1)]<<12|o[e.charCodeAt(r+2)]<<6|o[e.charCodeAt(r+3)],u[f++]=t>>16&255,u[f++]=t>>8&255,u[f++]=255&t;return 2===a&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,u[f++]=255&t),1===a&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,u[f++]=t>>8&255,u[f++]=255&t),u},t.fromByteArray=function(e){for(var t,o=e.length,i=o%3,n=[],s=0,a=o-i;s<a;s+=16383)n.push(function(e,t,o){for(var i,n=[],s=t;s<o;s+=3)n.push(r[(i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return n.join("")}(e,s,s+16383>a?a:s+16383));return 1===i?n.push(r[(t=e[o-1])>>2]+r[t<<4&63]+"=="):2===i&&n.push(r[(t=(e[o-2]<<8)+e[o-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),n.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=n.length;s<a;++s)r[s]=n[s],o[n.charCodeAt(s)]=s;function getLens(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var o=r===t?0:4-r%4;return[r,o]}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},48764:function(e,t,r){"use strict";/*!
2 * The buffer module from node.js, for the browser.
3 *
4 * @author   Feross Aboukhadijeh <https://feross.org>
5 * @license  MIT
6 */let o=r(80258),i=r(80645),n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function createBuffer(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,Buffer.prototype),t}function Buffer(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(e)}return from(e,t,r)}function from(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!Buffer.isEncoding(t))throw TypeError("Unknown encoding: "+t);let r=0|byteLength(e,t),o=createBuffer(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}(e,t);if(ArrayBuffer.isView(e))return function(e){if(isInstance(e,Uint8Array)){let t=new Uint8Array(e);return fromArrayBuffer(t.buffer,t.byteOffset,t.byteLength)}return fromArrayLike(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(isInstance(e,ArrayBuffer)||e&&isInstance(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(isInstance(e,SharedArrayBuffer)||e&&isInstance(e.buffer,SharedArrayBuffer)))return fromArrayBuffer(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return Buffer.from(o,t,r);let i=function(e){var t;if(Buffer.isBuffer(e)){let t=0|checked(e.length),r=createBuffer(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?createBuffer(0):fromArrayLike(e):"Buffer"===e.type&&Array.isArray(e.data)?fromArrayLike(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return Buffer.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function assertSize(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 21,028 bytes, line 6
6if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function allocUnsafe(e){return assertSize(e),createBuffer(e<0?0:0|checked(e))}function fromArrayLike(e){let t=e.length<0?0:0|checked(e.length),r=createBuffer(t);for(let o=0;o<t;o+=1)r[o]=255&e[o];return r}function fromArrayBuffer(e,t,r){let o;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(o=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Buffer.prototype),o}function checked(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function byteLength(e,t){if(Buffer.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||isInstance(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return utf8ToBytes(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return base64ToBytes(e).length;default:if(i)return o?-1:utf8ToBytes(e).length;t=(""+t).toLowerCase(),i=!0}}function slowToString(e,t,r){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);let i="";for(let o=t;o<r;++o)i+=u[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return utf8Slice(this,t,r);case"ascii":return function(e,t,r){let o="";r=Math.min(e.length,r);for(let i=t;i<r;++i)o+=String.fromCharCode(127&e[i]);return o}(this,t,r);case"latin1":case"binary":return function(e,t,r){let o="";r=Math.min(e.length,r);for(let i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}(this,t,r);case"base64":var n,s;return n=t,s=r,0===n&&s===this.length?o.fromByteArray(this):o.fromByteArray(this.slice(n,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){let o=e.slice(t,r),i="";for(let e=0;e<o.length-1;e+=2)i+=String.fromCharCode(o[e]+256*o[e+1]);return i}(this,t,r);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function swap(e,t,r){let o=e[t];e[t]=e[r],e[r]=o}function bidirectionalIndexOf(e,t,r,o,i){var n;if(0===e.length)return -1;if("string"==typeof r?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(n=r=+r)!=n&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=Buffer.from(t,o)),Buffer.isBuffer(t))return 0===t.length?-1:arrayIndexOf(e,t,r,o,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):arrayIndexOf(e,[t],r,o,i);throw TypeError("val must be string, number or Buffer")}function arrayIndexOf(e,t,r,o,i){let n,s=1,a=e.length,u=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return -1;s=2,a/=2,u/=2,r/=2}function read(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){let o=-1;for(n=r;n<a;n++)if(read(e,n)===read(t,-1===o?0:n-o)){if(-1===o&&(o=n),n-o+1===u)return o*s}else -1!==o&&(n-=n-o),o=-1}else for(r+u>a&&(r=a-u),n=r;n>=0;n--){let r=!0;for(let o=0;o<u;o++)if(read(e,n+o)!==read(t,o)){r=!1;break}if(r)return n}return -1}function utf8Slice(e,t,r){r=Math.min(e.length,r);let o=[],i=t;for(;i<r;){let t=e[i],n=null,s=t>239?4:t>223?3:t>191?2:1;if(i+s<=r){let r,o,a,u;switch(s){case 1:t<128&&(n=t);break;case 2:(192&(r=e[i+1]))==128&&(u=(31&t)<<6|63&r)>127&&(n=u);break;case 3:r=e[i+1],o=e[i+2],(192&r)==128&&(192&o)==128&&(u=(15&t)<<12|(63&r)<<6|63&o)>2047&&(u<55296||u>57343)&&(n=u);break;case 4:r=e[i+1],o=e[i+2],a=e[i+3],(192&r)==128&&(192&o)==128&&(192&a)==128&&(u=(15&t)<<18|(63&r)<<12|(63&o)<<6|63&a)>65535&&u<1114112&&(n=u)}}null===n?(n=65533,s=1):n>65535&&(n-=65536,o.push(n>>>10&1023|55296),n=56320|1023&n),o.push(n),i+=s}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let r="",o=0;for(;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=4096));return r}(o)}function checkOffset(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function checkInt(e,t,r,o,i,n){if(!Buffer.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<n)throw RangeError('"value" argument is out of bounds');if(r+o>e.length)throw RangeError("Index out of range")}function wrtBigUInt64LE(e,t,r,o,i){checkIntBI(t,o,i,e,r,7);let n=Number(t&BigInt(4294967295));e[r++]=n,n>>=8,e[r++]=n,n>>=8,e[r++]=n,n>>=8,e[r++]=n;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,r}function wrtBigUInt64BE(e,t,r,o,i){checkIntBI(t,o,i,e,r,7);let n=Number(t&BigInt(4294967295));e[r+7]=n,n>>=8,e[r+6]=n,n>>=8,e[r+5]=n,n>>=8,e[r+4]=n;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=s,s>>=8,e[r+2]=s,s>>=8,e[r+1]=s,s>>=8,e[r]=s,r+8}function checkIEEE754(e,t,r,o,i,n){if(r+o>e.length||r<0)throw RangeError("Index out of range")}function writeFloat(e,t,r,o,n){return t=+t,r>>>=0,n||checkIEEE754(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,o,23,4),r+4}function writeDouble(e,t,r,o,n){return t=+t,r>>>=0,n||checkIEEE754(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,o,52,8),r+8}t.lW=Buffer,t.h2=50,Buffer.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),Buffer.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(Buffer.prototype,"parent",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.buffer}}),Object.defineProperty(Buffer.prototype,"offset",{enumerable:!0,get:function(){if(Buffer.isBuffer(this))return this.byteOffset}}),Buffer.poolSize=8192,Buffer.from=function(e,t,r){return from(e,t,r)},Object.setPrototypeOf(Buffer.prototype,Uint8Array.prototype),Object.setPrototypeOf(Buffer,Uint8Array),Buffer.alloc=function(e,t,r){return(assertSize(e),e<=0)?createBuffer(e):void 0!==t?"string"==typeof r?createBuffer(e).fill(t,r):createBuffer(e).fill(t):createBuffer(e)},Buffer.allocUnsafe=function(e){return allocUnsafe(e)},Buffer.allocUnsafeSlow=function(e){return allocUnsafe(e)},Buffer.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==Buffer.prototype},Buffer.compare=function(e,t){if(isInstance(e,Uint8Array)&&(e=Buffer.from(e,e.offset,e.byteLength)),isInstance(t,Uint8Array)&&(t=Buffer.from(t,t.offset,t.byteLength)),!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,o=t.length;for(let i=0,n=Math.min(r,o);i<n;++i)if(e[i]!==t[i]){r=e[i],o=t[i];break}return r<o?-1:o<r?1:0},Buffer.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function(e,t){let r;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Buffer.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;let o=Buffer.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){let t=e[r];if(isInstance(t,Uint8Array))i+t.length>o.length?(Buffer.isBuffer(t)||(t=Buffer.from(t)),t.copy(o,i)):Uint8Array.prototype.set.call(o,t,i);else if(Buffer.isBuffer(t))t.copy(o,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return o},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)swap(this,t,t+1);return this},Buffer.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)swap(this,t,t+3),swap(this,t+1,t+2);return this},Buffer.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)swap(this,t,t+7),swap(this,t+1,t+6),swap(this,t+2,t+5),swap(this,t+3,t+4);return this},Buffer.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?utf8Slice(this,0,e):slowToString.apply(this,arguments)},Buffer.prototype.toLocaleString=Buffer.prototype.toString,Buffer.prototype.equals=function(e){if(!Buffer.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===Buffer.compare(this,e)},Buffer.prototype.inspect=function(){let e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},n&&(Buffer.prototype[n]=Buffer.prototype.inspect),Buffer.prototype.compare=function(e,t,r,o,i){if(isInstance(e,Uint8Array)&&(e=Buffer.from(e,e.offset,e.byteLength)),!Buffer.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===o&&(o=0),void 0===i&&(i=this.length),t<0||r>e.length||o<0||i>this.length)throw RangeError("out of range index");if(o>=i&&t>=r)return 0;if(o>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,o>>>=0,i>>>=0,this===e)return 0;let n=i-o,s=r-t,a=Math.min(n,s),u=this.slice(o,i),f=e.slice(t,r);for(let e=0;e<a;++e)if(u[e]!==f[e]){n=u[e],s=f[e];break}return n<s?-1:s<n?1:0},Buffer.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},Buffer.prototype.indexOf=function(e,t,r){return bidirectionalIndexOf(this,e,t,r,!0)},Buffer.prototype.lastIndexOf=function(e,t,r){return bidirectionalIndexOf(this,e,t,r,!1)},Buffer.prototype.write=function(e,t,r,o){var i,n,s,a,u,f,h,l;if(void 0===t)o="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)o=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===o&&(o="utf8")):(o=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let c=this.length-t;if((void 0===r||r>c)&&(r=c),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");o||(o="utf8");let p=!1;for(;;)switch(o){case"hex":return function(e,t,r,o){let i;r=Number(r)||0;let n=e.length-r;o?(o=Number(o))>n&&(o=n):o=n;let s=t.length;for(o>s/2&&(o=s/2),i=0;i<o;++i){let o=parseInt(t.substr(2*i,2),16);if(o!=o)break;e[r+i]=o}return i}(this,e,t,r);case"utf8":case"utf-8":return i=t,n=r,blitBuffer(utf8ToBytes(e,this.length-i),this,i,n);case"ascii":case"latin1":case"binary":return s=t,a=r,blitBuffer(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,s,a);case"base64":return u=t,f=r,blitBuffer(base64ToBytes(e),this,u,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=t,l=r,blitBuffer(function(e,t){let r,o;let i=[];for(let n=0;n<e.length&&!((t-=2)<0);++n)o=(r=e.charCodeAt(n))>>8,i.push(r%256),i.push(o);return i}(e,this.length-h),this,h,l);default:if(p)throw TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),p=!0}},Buffer.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Buffer.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let o=this.subarray(e,t);return Object.setPrototypeOf(o,Buffer.prototype),o},Buffer.prototype.readUintLE=Buffer.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||checkOffset(e,t,this.length);let o=this[e],i=1,n=0;for(;++n<t&&(i*=256);)o+=this[e+n]*i;return o},Buffer.prototype.readUintBE=Buffer.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||checkOffset(e,t,this.length);let o=this[e+--t],i=1;for(;t>0&&(i*=256);)o+=this[e+--t]*i;return o},Buffer.prototype.readUint8=Buffer.prototype.readUInt8=function(e,t){return e>>>=0,t||checkOffset(e,1,this.length),this[e]},Buffer.prototype.readUint16LE=Buffer.prototype.readUInt16LE=function(e,t){return e>>>=0,t||checkOffset(e,2,this.length),this[e]|this[e+1]<<8},Buffer.prototype.readUint16BE=Buffer.prototype.readUInt16BE=function(e,t){return e>>>=0,t||checkOffset(e,2,this.length),this[e]<<8|this[e+1]},Buffer.prototype.readUint32LE=Buffer.prototype.readUInt32LE=function(e,t){return e>>>=0,t||checkOffset(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Buffer.prototype.readUint32BE=Buffer.prototype.readUInt32BE=function(e,t){return e>>>=0,t||checkOffset(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Buffer.prototype.readBigUInt64LE=defineBigIntMethod(function(e){validateNumber(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&boundsError(e,this.length-8);let o=t+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*r;return BigInt(o)+(BigInt(i)<<BigInt(32))}),Buffer.prototype.readBigUInt64BE=defineBigIntMethod(function(e){validateNumber(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&boundsError(e,this.length-8);let o=16777216*t+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(o)<<BigInt(32))+BigInt(i)}),Buffer.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||checkOffset(e,t,this.length);let o=this[e],i=1,n=0;for(;++n<t&&(i*=256);)o+=this[e+n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},Buffer.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||checkOffset(e,t,this.length);let o=t,i=1,n=this[e+--o];for(;o>0&&(i*=256);)n+=this[e+--o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},Buffer.prototype.readInt8=function(e,t){return(e>>>=0,t||checkOffset(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},Buffer.prototype.readInt16LE=function(e,t){e>>>=0,t||checkOffset(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt16BE=function(e,t){e>>>=0,t||checkOffset(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Buffer.prototype.readInt32LE=function(e,t){return e>>>=0,t||checkOffset(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Buffer.prototype.readInt32BE=function(e,t){return e>>>=0,t||checkOffset(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Buffer.prototype.readBigInt64LE=defineBigIntMethod(function(e){validateNumber(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&boundsError(e,this.length-8);let o=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(o)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+16777216*this[++e])}),Buffer.prototype.readBigInt64BE=defineBigIntMethod(function(e){validateNumber(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&boundsError(e,this.length-8);let o=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(o)<<BigInt(32))+BigInt(16777216*this[++e]+65536*this[++e]+256*this[++e]+r)}),Buffer.prototype.readFloatLE=function(e,t){return e>>>=0,t||checkOffset(e,4,this.length),i.read(this,e,!0,23,4)},Buffer.prototype.readFloatBE=function(e,t){return e>>>=0,t||checkOffset(e,4,this.length),i.read(this,e,!1,23,4)},Buffer.prototype.readDoubleLE=function(e,t){return e>>>=0,t||checkOffset(e,8,this.length),i.read(this,e,!0,52,8)},Buffer.prototype.readDoubleBE=function(e,t){return e>>>=0,t||checkOffset(e,8,this.length),i.read(this,e,!1,52,8)},Buffer.prototype.writeUintLE=Buffer.prototype.writeUIntLE=function(e,t,r,o){if(e=+e,t>>>=0,r>>>=0,!o){let o=Math.pow(2,8*r)-1;checkInt(this,e,t,r,o,0)}let i=1,n=0;for(this[t]=255&e;++n<r&&(i*=256);)this[t+n]=e/i&255;return t+r},Buffer.prototype.writeUintBE=Buffer.prototype.writeUIntBE=function(e,t,r,o){if(e=+e,t>>>=0,r>>>=0,!o){let o=Math.pow(2,8*r)-1;checkInt(this,e,t,r,o,0)}let i=r-1,n=1;for(this[t+i]=255&e;--i>=0&&(n*=256);)this[t+i]=e/n&255;return t+r},Buffer.prototype.writeUint8=Buffer.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,1,255,0),this[t]=255&e,t+1},Buffer.prototype.writeUint16LE=Buffer.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},Buffer.prototype.writeUint16BE=Buffer.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},Buffer.prototype.writeUint32LE=Buffer.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},Buffer.prototype.writeUint32BE=Buffer.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Buffer.prototype.writeBigUInt64LE=defineBigIntMethod(function(e,t=0){return wrtBigUInt64LE(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),Buffer.prototype.writeBigUInt64BE=defineBigIntMethod(function(e,t=0){return wrtBigUInt64BE(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),Buffer.prototype.writeIntLE=function(e,t,r,o){if(e=+e,t>>>=0,!o){let o=Math.pow(2,8*r-1);checkInt(this,e,t,r,o-1,-o)}let i=0,n=1,s=0;for(this[t]=255&e;++i<r&&(n*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/n>>0)-s&255;return t+r},Buffer.prototype.writeIntBE=function(e,t,r,o){if(e=+e,t>>>=0,!o){let o=Math.pow(2,8*r-1);checkInt(this,e,t,r,o-1,-o)}let i=r-1,n=1,s=0;for(this[t+i]=255&e;--i>=0&&(n*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/n>>0)-s&255;return t+r},Buffer.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},Buffer.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},Buffer.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},Buffer.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},Buffer.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||checkInt(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Buffer.prototype.writeBigInt64LE=defineBigIntMethod(function(e,t=0){return wrtBigUInt64LE(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),Buffer.prototype.writeBigInt64BE=defineBigIntMethod(function(e,t=0){return wrtBigUInt64BE(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),Buffer.prototype.writeFloatLE=function(e,t,r){return writeFloat(this,e,t,!0,r)},Buffer.prototype.writeFloatBE=function(e,t,r){return writeFloat(this,e,t,!1,r)},Buffer.prototype.writeDoubleLE=function(e,t,r){return writeDouble(this,e,t,!0,r)},Buffer.prototype.writeDoubleBE=function(e,t,r){return writeDouble(this,e,t,!1,r)},Buffer.prototype.copy=function(e,t,r,o){if(!Buffer.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o<r&&(o=r),o===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(o<0)throw RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t<o-r&&(o=e.length-t+r);let i=o-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,o):Uint8Array.prototype.set.call(e,this.subarray(r,o),t),i},Buffer.prototype.fill=function(e,t,r,o){let i;if("string"==typeof e){if("string"==typeof t?(o=t,t=0,r=this.length):"string"==typeof r&&(o=r,r=this.length),void 0!==o&&"string"!=typeof o)throw TypeError("encoding must be a string");if("string"==typeof o&&!Buffer.isEncoding(o))throw TypeError("Unknown encoding: "+o);if(1===e.length){let t=e.charCodeAt(0);("utf8"===o&&t<128||"latin1"===o)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{let n=Buffer.isBuffer(e)?e:Buffer.from(e,o),s=n.length;
6if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=n[i%s]}return this};let s={};function E(e,t,r){s[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function addNumericalSeparator(e){let t="",r=e.length,o="-"===e[0]?1:0;for(;r>=o+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function checkIntBI(e,t,r,o,i,n){if(e>r||e<t){let o;let i="bigint"==typeof t?"n":"";throw o=n>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(n+1)*8}${i}`:`>= -(2${i} ** ${(n+1)*8-1}${i}) and < 2 ** ${(n+1)*8-1}${i}`:`>= ${t}${i} and <= ${r}${i}`,new s.ERR_OUT_OF_RANGE("value",o,e)}validateNumber(i,"offset"),(void 0===o[i]||void 0===o[i+n])&&boundsError(i,o.length-(n+1))}function validateNumber(e,t){if("number"!=typeof e)throw new s.ERR_INVALID_ARG_TYPE(t,"number",e)}function boundsError(e,t,r){if(Math.floor(e)!==e)throw validateNumber(e,r),new s.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new s.ERR_BUFFER_OUT_OF_BOUNDS;throw new s.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}E("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),E("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),E("ERR_OUT_OF_RANGE",function(e,t,r){let o=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>4294967296?i=addNumericalSeparator(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=addNumericalSeparator(i)),i+="n"),o+=` It must be ${t}. Received ${i}`},RangeError);let a=/[^+/0-9A-Za-z-_]/g;function utf8ToBytes(e,t){let r;t=t||1/0;let o=e.length,i=null,n=[];for(let s=0;s<o;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===o){(t-=3)>-1&&n.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&n.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&n.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;n.push(r)}else if(r<2048){if((t-=2)<0)break;n.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;n.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;n.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return n}function base64ToBytes(e){return o.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(a,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function blitBuffer(e,t,r,o){let i;for(i=0;i<o&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function isInstance(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let u=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let o=16*r;for(let i=0;i<16;++i)t[o+i]=e[r]+e[i]}return t}();function defineBigIntMethod(e){return"undefined"==typeof BigInt?BufferBigIntNotDefined:e}function BufferBigIntNotDefined(){throw Error("BigInt not supported")}},80645:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,r,o,i){var n,s,a=8*i-o-1,u=(1<<a)-1,f=u>>1,h=-7,l=r?i-1:0,c=r?-1:1,p=e[t+l];for(l+=c,n=p&(1<<-h)-1,p>>=-h,h+=a;h>0;n=256*n+e[t+l],l+=c,h-=8);for(s=n&(1<<-h)-1,n>>=-h,h+=o;h>0;s=256*s+e[t+l],l+=c,h-=8);if(0===n)n=1-f;else{if(n===u)return s?NaN:(p?-1:1)*(1/0);s+=Math.pow(2,o),n-=f}return(p?-1:1)*s*Math.pow(2,n-o)},t.write=function(e,t,r,o,i,n){var s,a,u,f=8*n-i-1,h=(1<<f)-1,l=h>>1,c=23===i?5960464477539062e-23:0,p=o?0:n-1,d=o?1:-1,y=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=h):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+l>=1?t+=c/u:t+=c*Math.pow(2,1-l),t*u>=2&&(s++,u/=2),s+l>=h?(a=0,s=h):s+l>=1?(a=(t*u-1)*Math.pow(2,i),s+=l):(a=t*Math.pow(2,l-1)*Math.pow(2,i),s=0));i>=8;e[r+p]=255&a,p+=d,a/=256,i-=8);for(s=s<<i|a,f+=i;f>0;e[r+p]=255&s,p+=d,s/=256,f-=8);e[r+p-d]|=128*y}},83300:function(e,t,r){"use strict";var o=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r.g)return r.g;throw Error("unable to locate global object")}();e.exports=t=o.fetch,o.fetch&&(t.default=o.fetch.bind(o)),t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response},16893:function(e,t,r){"use strict";r.d(t,{Y:function(){return useInView}});var o=r(67294),i=r(11816);let n={some:0,all:1};function useInView(e,{root:t,margin:r,amount:s,once:a=!1,initial:u=!1}={}){let[f,h]=(0,o.useState)(u);return(0,o.useEffect)(()=>
6{if(!e.current||a&&f)return;let o={root:t&&t.current||void 0,margin:r,amount:s};return function(e,t,{root:r,margin:o,amount:s="some"}={}){let a=(0,i.I)(e),u=new WeakMap,f=new IntersectionObserver(e=>{e.forEach(e=>{let r=u.get(e.target);if(!!r!==e.isIntersecting){if(e.isIntersecting){let r=t(e.target,e);"function"==typeof r?u.set(e.target,r):f.unobserve(e.target)}else"function"==typeof r&&(r(e),u.delete(e.target))}})},{root:r,rootMargin:o,threshold:"number"==typeof s?s:n[s]});return a.forEach(e=>f.observe(e)),()=>f.disconnect()}(e.current,()=>(h(!0),a?void 0:()=>h(!1)),o)},[t,e,r,a,s]),f}},43797:function(e){"use strict";e.exports=JSON.parse('{"name":"@notionhq/client","version":"2.3.0","description":"A simple and easy to use client for the Notion API","engines":{"node":">=12"},"homepage":"https://developers.notion.com/docs/getting-started","bugs":{"url":"https://github.com/makenotion/notion-sdk-js/issues"},"repository":{"type":"git","url":"https://github.com/makenotion/notion-sdk-js/"},"keywords":["notion","notionapi","rest","notion-api"],"main":"./build/src","types":"./build/src/index.d.ts","scripts":{"prepare":"npm run build","prepublishOnly":"npm run checkLoggedIn && npm run lint && npm run test","build":"tsc","prettier":"prettier --write .","lint":"prettier --check . && eslint . --ext .ts && cspell \'**/*\' ","test":"jest ./test","check-links":"git ls-files | grep md$ | xargs -n 1 markdown-link-check","prebuild":"npm run clean","clean":"rm -rf ./build","checkLoggedIn":"./scripts/verifyLoggedIn.sh"},"author":"","license":"MIT","files":["build/package.json","build/src/**"],"dependencies":{"@types/node-fetch":"^2.5.10","node-fetch":"^2.6.1"},"devDependencies":{"@types/jest":"^28.1.4","@typescript-eslint/eslint-plugin":"^5.39.0","@typescript-eslint/parser":"^5.39.0","cspell":"^5.4.1","eslint":"^7.24.0","jest":"^28.1.2","markdown-link-check":"^3.8.7","prettier":"^2.8.8","ts-jest":"^28.0.5","typescript":"^4.8.4"}}')}}]);

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.