(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31473,(e,t,r)=>{"use strict";t.exports=TypeError},87405,(e,t,r)=>{var o="function"==typeof Map&&Map.prototype,n=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=o&&n&&"function"==typeof n.get?n.get:null,a=o&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"==typeof l.get?l.get:null,c=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,f=Object.prototype.toString,y=Function.prototype.toString,v=String.prototype.match,P=String.prototype.slice,g=String.prototype.replace,T=String.prototype.toUpperCase,_=String.prototype.toLowerCase,E=RegExp.prototype.test,S=Array.prototype.concat,b=Array.prototype.join,O=Array.prototype.slice,x=Math.floor,w="function"==typeof BigInt?BigInt.prototype.valueOf:null,A=Object.getOwnPropertySymbols,R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,G="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===G?"object":"symbol")?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,j=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function k(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||E.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var o=e<0?-x(-e):x(e);if(o!==e){var n=String(o),i=P.call(t,n.length+1);return g.call(n,r,"$&_")+"."+g.call(g.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return g.call(t,r,"$&_")}var D={},N=D.custom,M=z(N)?N:null,F={__proto__:null,double:'"',single:"'"},q={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function L(e,t,r){var o=F[r.quoteStyle||t];return o+e+o}function U(e){return!C||!("object"==typeof e&&(C in e||void 0!==e[C]))}function H(e){return"[object Array]"===W(e)&&U(e)}function $(e){return"[object RegExp]"===W(e)&&U(e)}function z(e){if(G)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!R)return!1;try{return R.call(e),!0}catch(e){}return!1}t.exports=function t(r,o,n,s){var l,f,T,E,x,A=o||{};if(K(A,"quoteStyle")&&!K(F,A.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(K(A,"maxStringLength")&&("number"==typeof A.maxStringLength?A.maxStringLength<0&&A.maxStringLength!==1/0:null!==A.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var N=!K(A,"customInspect")||A.customInspect;if("boolean"!=typeof N&&"symbol"!==N)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(K(A,"indent")&&null!==A.indent&&"	"!==A.indent&&!(parseInt(A.indent,10)===A.indent&&A.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(K(A,"numericSeparator")&&"boolean"!=typeof A.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var B=A.numericSeparator;if(void 0===r)return"undefined";if(null===r)return"null";if("boolean"==typeof r)return r?"true":"false";if("string"==typeof r)return function e(t,r){if(t.length>r.maxStringLength){var o=t.length-r.maxStringLength;return e(P.call(t,0,r.maxStringLength),r)+("... "+o)+" more character"+(o>1?"s":"")}var n=q[r.quoteStyle||"single"];return n.lastIndex=0,L(g.call(g.call(t,n,"\\$1"),/[\x00-\x1f]/g,J),"single",r)}(r,A);if("number"==typeof r){if(0===r)return 1/0/r>0?"0":"-0";var et=String(r);return B?k(r,et):et}if("bigint"==typeof r){var er=String(r)+"n";return B?k(r,er):er}var eo=void 0===A.depth?5:A.depth;if(void 0===n&&(n=0),n>=eo&&eo>0&&"object"==typeof r)return H(r)?"[Array]":"[Object]";var en=function(e,t){var r;if("	"===e.indent)r="	";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=b.call(Array(e.indent+1)," ")}return{base:r,prev:b.call(Array(t+1),r)}}(A,n);if(void 0===s)s=[];else if(V(s,r)>=0)return"[Circular]";function ei(e,r,o){if(r&&(s=O.call(s)).push(r),o){var i={depth:A.depth};return K(A,"quoteStyle")&&(i.quoteStyle=A.quoteStyle),t(e,i,n+1,s)}return t(e,A,n+1,s)}if("function"==typeof r&&!$(r)){var ea=function(e){if(e.name)return e.name;var t=v.call(y.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(r),es=ee(r,ei);return"[Function"+(ea?": "+ea:" (anonymous)")+"]"+(es.length>0?" { "+b.call(es,", ")+" }":"")}if(z(r)){var el=G?g.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):R.call(r);return"object"!=typeof r||G?el:Y(el)}if((eu=r)&&"object"==typeof eu&&("u">typeof HTMLElement&&eu instanceof HTMLElement||"string"==typeof eu.nodeName&&"function"==typeof eu.getAttribute)){for(var eu,ec,ed="<"+_.call(String(r.nodeName)),eh=r.attributes||[],ep=0;ep<eh.length;ep++){ed+=" "+eh[ep].name+"="+L((ec=eh[ep].value,g.call(String(ec),/"/g,"&quot;")),"double",A)}return ed+=">",r.childNodes&&r.childNodes.length&&(ed+="..."),ed+="</"+_.call(String(r.nodeName))+">"}if(H(r)){if(0===r.length)return"[]";var em=ee(r,ei);return en&&!function(e){for(var t=0;t<e.length;t++)if(V(e[t],"\n")>=0)return!1;return!0}(em)?"["+Z(em,en)+"]":"[ "+b.call(em,", ")+" ]"}if("[object Error]"===W(l=r)&&U(l)){var ef=ee(r,ei);return"cause"in Error.prototype||!("cause"in r)||I.call(r,"cause")?0===ef.length?"["+String(r)+"]":"{ ["+String(r)+"] "+b.call(ef,", ")+" }":"{ ["+String(r)+"] "+b.call(S.call("[cause]: "+ei(r.cause),ef),", ")+" }"}if("object"==typeof r&&N){if(M&&"function"==typeof r[M]&&D)return D(r,{depth:eo-n});else if("symbol"!==N&&"function"==typeof r.inspect)return r.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(r)){var ey=[];return a&&a.call(r,function(e,t){ey.push(ei(t,r,!0)+" => "+ei(e,r))}),Q("Map",i.call(r),ey,en)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(r)){var ev=[];return c&&c.call(r,function(e){ev.push(ei(e,r))}),Q("Set",u.call(r),ev,en)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(r))return X("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(r))return X("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(r))return X("WeakRef");if("[object Number]"===W(f=r)&&U(f))return Y(ei(Number(r)));if(function(e){if(!e||"object"!=typeof e||!w)return!1;try{return w.call(e),!0}catch(e){}return!1}(r))return Y(ei(w.call(r)));if("[object Boolean]"===W(T=r)&&U(T))return Y(m.call(r));if("[object String]"===W(E=r)&&U(E))return Y(ei(String(r)));if("u">typeof window&&r===window)return"{ [object Window] }";if("u">typeof globalThis&&r===globalThis||r===e.g)return"{ [object globalThis] }";if(!("[object Date]"===W(x=r)&&U(x))&&!$(r)){var eP=ee(r,ei),eg=j?j(r)===Object.prototype:r instanceof Object||r.constructor===Object,eT=r instanceof Object?"":"null prototype",e_=!eg&&C&&Object(r)===r&&C in r?P.call(W(r),8,-1):eT?"Object":"",eE=(eg||"function"!=typeof r.constructor?"":r.constructor.name?r.constructor.name+" ":"")+(e_||eT?"["+b.call(S.call([],e_||[],eT||[]),": ")+"] ":"");return 0===eP.length?eE+"{}":en?eE+"{"+Z(eP,en)+"}":eE+"{ "+b.call(eP,", ")+" }"}return String(r)};var B=Object.prototype.hasOwnProperty||function(e){return e in this};function K(e,t){return B.call(e,t)}function W(e){return f.call(e)}function V(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,o=e.length;r<o;r++)if(e[r]===t)return r;return -1}function J(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+T.call(t.toString(16))}function Y(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function Q(e,t,r,o){return e+" ("+t+") {"+(o?Z(r,o):b.call(r,", "))+"}"}function Z(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+b.call(e,","+r)+"\n"+t.prev}function ee(e,t){var r,o=H(e),n=[];if(o){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=K(e,i)?t(e[i],e):""}var a="function"==typeof A?A(e):[];if(G){r={};for(var s=0;s<a.length;s++)r["$"+a[s]]=a[s]}for(var l in e)if(K(e,l)&&(!o||String(Number(l))!==l||!(l<e.length)))if(G&&r["$"+l]instanceof Symbol)continue;else E.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e));if("function"==typeof A)for(var u=0;u<a.length;u++)I.call(e,a[u])&&n.push("["+t(a[u])+"]: "+t(e[a[u]],e));return n}},24270,(e,t,r)=>{"use strict";var o=e.r(87405),n=e.r(31473),i=function(e,t,r){for(var o,n=e;null!=(o=n.next);n=o)if(o.key===t)return n.next=o.next,r||(o.next=e.next,e.next=o),o},a=function(e,t){if(e){var r=i(e,t);return r&&r.value}},s=function(e,t,r){var o=i(e,t);o?o.value=r:e.next={key:t,next:e.next,value:r}},l=function(e,t){if(e)return i(e,t,!0)};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n("Side channel does not contain "+o(e))},delete:function(t){var r=e&&e.next,o=l(e,t);return o&&r&&r===o&&(e=void 0),!!o},get:function(t){return a(e,t)},has:function(t){var r;return!!(r=e)&&!!i(r,t)},set:function(t,r){e||(e={next:void 0}),s(e,t,r)}};return t}},14174,(e,t,r)=>{"use strict";t.exports=Object},92715,(e,t,r)=>{"use strict";t.exports=Error},7829,(e,t,r)=>{"use strict";t.exports=EvalError},98493,(e,t,r)=>{"use strict";t.exports=RangeError},67914,(e,t,r)=>{"use strict";t.exports=ReferenceError},26857,(e,t,r)=>{"use strict";t.exports=SyntaxError},91878,(e,t,r)=>{"use strict";t.exports=URIError},78866,(e,t,r)=>{"use strict";t.exports=Math.abs},65335,(e,t,r)=>{"use strict";t.exports=Math.floor},22083,(e,t,r)=>{"use strict";t.exports=Math.max},40465,(e,t,r)=>{"use strict";t.exports=Math.min},18849,(e,t,r)=>{"use strict";t.exports=Math.pow},97988,(e,t,r)=>{"use strict";t.exports=Math.round},36469,(e,t,r)=>{"use strict";t.exports=Number.isNaN||function(e){return e!=e}},66205,(e,t,r)=>{"use strict";var o=e.r(36469);t.exports=function(e){return o(e)||0===e?e:e<0?-1:1}},84153,(e,t,r)=>{"use strict";t.exports=Object.getOwnPropertyDescriptor},83585,(e,t,r)=>{"use strict";var o=e.r(84153);if(o)try{o([],"length")}catch(e){o=null}t.exports=o},93155,(e,t,r)=>{"use strict";var o=Object.defineProperty||!1;if(o)try{o({},"a",{value:1})}catch(e){o=!1}t.exports=o},99260,(e,t,r)=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var o in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},11880,(e,t,r)=>{"use strict";var o="u">typeof Symbol&&Symbol,n=e.r(99260);t.exports=function(){return"function"==typeof o&&"function"==typeof Symbol&&"symbol"==typeof o("foo")&&"symbol"==typeof Symbol("bar")&&n()}},77146,(e,t,r)=>{"use strict";t.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},18991,(e,t,r)=>{"use strict";t.exports=e.r(14174).getPrototypeOf||null},92819,(e,t,r)=>{"use strict";var o=Object.prototype.toString,n=Math.max,i=function(e,t){for(var r=[],o=0;o<e.length;o+=1)r[o]=e[o];for(var n=0;n<t.length;n+=1)r[n+e.length]=t[n];return r},a=function(e,t){for(var r=[],o=t||0,n=0;o<e.length;o+=1,n+=1)r[n]=e[o];return r},s=function(e,t){for(var r="",o=0;o<e.length;o+=1)r+=e[o],o+1<e.length&&(r+=t);return r};t.exports=function(e){var t,r=this;if("function"!=typeof r||"[object Function]"!==o.apply(r))throw TypeError("Function.prototype.bind called on incompatible "+r);for(var l=a(arguments,1),u=n(0,r.length-l.length),c=[],d=0;d<u;d++)c[d]="$"+d;if(t=Function("binder","return function ("+s(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof t){var o=r.apply(this,i(l,arguments));return Object(o)===o?o:this}return r.apply(e,i(l,arguments))}),r.prototype){var h=function(){};h.prototype=r.prototype,t.prototype=new h,h.prototype=null}return t}},78387,(e,t,r)=>{"use strict";var o=e.r(92819);t.exports=Function.prototype.bind||o},87957,(e,t,r)=>{"use strict";t.exports=Function.prototype.call},96077,(e,t,r)=>{"use strict";t.exports=Function.prototype.apply},28403,(e,t,r)=>{"use strict";t.exports="u">typeof Reflect&&Reflect&&Reflect.apply},10938,(e,t,r)=>{"use strict";var o=e.r(78387),n=e.r(96077),i=e.r(87957);t.exports=e.r(28403)||o.call(i,n)},54767,(e,t,r)=>{"use strict";var o=e.r(78387),n=e.r(31473),i=e.r(87957),a=e.r(10938);t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new n("a function is required");return a(o,i,e)}},5408,(e,t,r)=>{"use strict";var o,n=e.r(54767),i=e.r(83585);try{o=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!o&&i&&i(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;t.exports=a&&"function"==typeof a.get?n([a.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},11915,(e,t,r)=>{"use strict";var o=e.r(77146),n=e.r(18991),i=e.r(5408);t.exports=o?function(e){return o(e)}:n?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return n(e)}:i?function(e){return i(e)}:null},16322,(e,t,r)=>{"use strict";var o=Function.prototype.call,n=Object.prototype.hasOwnProperty;t.exports=e.r(78387).call(o,n)},43473,(e,t,r)=>{"use strict";var o=e.r(14174),n=e.r(92715),i=e.r(7829),a=e.r(98493),s=e.r(67914),l=e.r(26857),u=e.r(31473),c=e.r(91878),d=e.r(78866),h=e.r(65335),p=e.r(22083),m=e.r(40465),f=e.r(18849),y=e.r(97988),v=e.r(66205),P=Function,g=function(e){try{return P('"use strict"; return ('+e+").constructor;")()}catch(e){}},T=e.r(83585),_=e.r(93155),E=function(){throw new u},S=T?function(){try{return arguments.callee,E}catch(e){try{return T(arguments,"callee").get}catch(e){return E}}}():E,b=e.r(11880)(),O=e.r(11915),x=e.r(18991),w=e.r(77146),A=e.r(96077),R=e.r(87957),G={},C="u">typeof Uint8Array&&O?O(Uint8Array):void 0,I={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":b&&O?O([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":G,"%AsyncGenerator%":G,"%AsyncGeneratorFunction%":G,"%AsyncIteratorPrototype%":G,"%Atomics%":"u"<typeof Atomics?void 0:Atomics,"%BigInt%":"u"<typeof BigInt?void 0:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"u"<typeof Float16Array?void 0:Float16Array,"%Float32Array%":"u"<typeof Float32Array?void 0:Float32Array,"%Float64Array%":"u"<typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":P,"%GeneratorFunction%":G,"%Int8Array%":"u"<typeof Int8Array?void 0:Int8Array,"%Int16Array%":"u"<typeof Int16Array?void 0:Int16Array,"%Int32Array%":"u"<typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":b&&O?O(O([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"u"<typeof Map?void 0:Map,"%MapIteratorPrototype%":"u">typeof Map&&b&&O?O(new Map()[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":T,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?void 0:Promise,"%Proxy%":"u"<typeof Proxy?void 0:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"u"<typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?void 0:Set,"%SetIteratorPrototype%":"u">typeof Set&&b&&O?O(new Set()[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":b&&O?O(""[Symbol.iterator]()):void 0,"%Symbol%":b?Symbol:void 0,"%SyntaxError%":l,"%ThrowTypeError%":S,"%TypedArray%":C,"%TypeError%":u,"%Uint8Array%":"u"<typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?void 0:Uint32Array,"%URIError%":c,"%WeakMap%":"u"<typeof WeakMap?void 0:WeakMap,"%WeakRef%":"u"<typeof WeakRef?void 0:WeakRef,"%WeakSet%":"u"<typeof WeakSet?void 0:WeakSet,"%Function.prototype.call%":R,"%Function.prototype.apply%":A,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":x,"%Math.abs%":d,"%Math.floor%":h,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":f,"%Math.round%":y,"%Math.sign%":v,"%Reflect.getPrototypeOf%":w};if(O)try{null.error}catch(e){var j=O(O(e));I["%Error.prototype%"]=j}var k=function e(t){var r;if("%AsyncFunction%"===t)r=g("async function () {}");else if("%GeneratorFunction%"===t)r=g("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=g("async function* () {}");else if("%AsyncGenerator%"===t){var o=e("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var n=e("%AsyncGenerator%");n&&O&&(r=O(n.prototype))}return I[t]=r,r},D={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},N=e.r(78387),M=e.r(16322),F=N.call(R,Array.prototype.concat),q=N.call(A,Array.prototype.splice),L=N.call(R,String.prototype.replace),U=N.call(R,String.prototype.slice),H=N.call(R,RegExp.prototype.exec),$=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,B=function(e){var t=U(e,0,1),r=U(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var o=[];return L(e,$,function(e,t,r,n){o[o.length]=r?L(n,z,"$1"):t||e}),o},K=function(e,t){var r,o=e;if(M(D,o)&&(o="%"+(r=D[o])[0]+"%"),M(I,o)){var n=I[o];if(n===G&&(n=k(o)),void 0===n&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:o,value:n}}throw new l("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===H(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=B(e),o=r.length>0?r[0]:"",n=K("%"+o+"%",t),i=n.name,a=n.value,s=!1,c=n.alias;c&&(o=c[0],q(r,F([0,1],c)));for(var d=1,h=!0;d<r.length;d+=1){var p=r[d],m=U(p,0,1),f=U(p,-1);if(('"'===m||"'"===m||"`"===m||'"'===f||"'"===f||"`"===f)&&m!==f)throw new l("property names with quotes must have matching quotes");if("constructor"!==p&&h||(s=!0),o+="."+p,M(I,i="%"+o+"%"))a=I[i];else if(null!=a){if(!(p in a)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(T&&d+1>=r.length){var y=T(a,p);a=(h=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[p]}else h=M(a,p),a=a[p];h&&!s&&(I[i]=a)}}return a}},95081,(e,t,r)=>{"use strict";var o=e.r(43473),n=e.r(54767),i=n([o("%String.prototype.indexOf%")]);t.exports=function(e,t){var r=o(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?n([r]):r}},75251,(e,t,r)=>{"use strict";var o=e.r(43473),n=e.r(95081),i=e.r(87405),a=e.r(31473),s=o("%Map%",!0),l=n("Map.prototype.get",!0),u=n("Map.prototype.set",!0),c=n("Map.prototype.has",!0),d=n("Map.prototype.delete",!0),h=n("Map.prototype.size",!0);t.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+i(e))},delete:function(t){if(e){var r=d(e,t);return 0===h(e)&&(e=void 0),r}return!1},get:function(t){if(e)return l(e,t)},has:function(t){return!!e&&c(e,t)},set:function(t,r){e||(e=new s),u(e,t,r)}};return t}},20719,(e,t,r)=>{"use strict";var o=e.r(43473),n=e.r(95081),i=e.r(87405),a=e.r(75251),s=e.r(31473),l=o("%WeakMap%",!0),u=n("WeakMap.prototype.get",!0),c=n("WeakMap.prototype.set",!0),d=n("WeakMap.prototype.has",!0),h=n("WeakMap.prototype.delete",!0);t.exports=l?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+i(e))},delete:function(r){if(l&&r&&("object"==typeof r||"function"==typeof r)){if(e)return h(e,r)}else if(a&&t)return t.delete(r);return!1},get:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?u(e,r):t&&t.get(r)},has:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?d(e,r):!!t&&t.has(r)},set:function(r,o){l&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new l),c(e,r,o)):a&&(t||(t=a()),t.set(r,o))}};return r}:a},68251,(e,t,r)=>{"use strict";var o=e.r(31473),n=e.r(87405),i=e.r(24270),a=e.r(75251),s=e.r(20719)||a||i;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+n(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=s()),e.set(t,r)}};return t}},35302,(e,t,r)=>{"use strict";var o=String.prototype.replace,n=/%20/g,i="RFC3986";t.exports={default:i,formatters:{RFC1738:function(e){return o.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:i}},47567,(e,t,r)=>{"use strict";var o=e.r(35302),n=e.r(68251),i=Object.prototype.hasOwnProperty,a=Array.isArray,s=n(),l=function(e,t){return s.set(e,t),e},u=function(e){return s.has(e)},c=function(e){return s.get(e)},d=function(e,t){s.set(e,t)},h=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),p=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var o=[],n=0;n<r.length;++n)void 0!==r[n]&&o.push(r[n]);t.obj[t.prop]=o}}},m=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},o=0;o<e.length;++o)void 0!==e[o]&&(r[o]=e[o]);return r};t.exports={arrayToObject:m,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t,r,o){if(u(e)){var n=c(e)+1;return e[n]=t,d(e,n),e}var i=[].concat(e,t);return i.length>r?l(m(i,{plainObjects:o}),i.length-1):i},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],o=0;o<t.length;++o)for(var n=t[o],i=n.obj[n.prop],a=Object.keys(i),s=0;s<a.length;++s){var l=a[s],u=i[l];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:i,prop:l}),r.push(u))}return p(t),e},decode:function(e,t,r){var o=e.replace(/\+/g," ");if("iso-8859-1"===r)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(e){return o}},encode:function(e,t,r,n,i){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===r)return escape(a).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var s="",l=0;l<a.length;l+=1024){for(var u=a.length>=1024?a.slice(l,l+1024):a,c=[],d=0;d<u.length;++d){var p=u.charCodeAt(d);if(45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===o.RFC1738&&(40===p||41===p)){c[c.length]=u.charAt(d);continue}if(p<128){c[c.length]=h[p];continue}if(p<2048){c[c.length]=h[192|p>>6]+h[128|63&p];continue}if(p<55296||p>=57344){c[c.length]=h[224|p>>12]+h[128|p>>6&63]+h[128|63&p];continue}d+=1,p=65536+((1023&p)<<10|1023&u.charCodeAt(d)),c[c.length]=h[240|p>>18]+h[128|p>>12&63]+h[128|p>>6&63]+h[128|63&p]}s+=c.join("")}return s},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:u,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var r=[],o=0;o<e.length;o+=1)r.push(t(e[o]));return r}return t(e)},merge:function e(t,r,o){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(a(t))t.push(r);else if(!t||"object"!=typeof t)return[t,r];else if(u(t)){var n=c(t)+1;t[n]=r,d(t,n)}else(o&&(o.plainObjects||o.allowPrototypes)||!i.call(Object.prototype,r))&&(t[r]=!0);return t}if(!t||"object"!=typeof t){if(u(r)){for(var s=Object.keys(r),h=o&&o.plainObjects?{__proto__:null,0:t}:{0:t},p=0;p<s.length;p++)h[parseInt(s[p],10)+1]=r[s[p]];return l(h,c(r)+1)}return[t].concat(r)}var f=t;return(a(t)&&!a(r)&&(f=m(t,o)),a(t)&&a(r))?(r.forEach(function(r,n){if(i.call(t,n)){var a=t[n];a&&"object"==typeof a&&r&&"object"==typeof r?t[n]=e(a,r,o):t.push(r)}else t[n]=r}),t):Object.keys(r).reduce(function(t,n){var a=r[n];return i.call(t,n)?t[n]=e(t[n],a,o):t[n]=a,t},f)}}},25391,(e,t,r)=>{"use strict";var o=e.r(68251),n=e.r(47567),i=e.r(35302),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,h=i.default,p={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:n.encode,encodeValuesOnly:!1,filter:void 0,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},m={},f=function e(t,r,i,a,s,u,d,h,f,y,v,P,g,T,_,E,S,b){for(var O,x,w=t,A=b,R=0,G=!1;void 0!==(A=A.get(m))&&!G;){var C=A.get(t);if(R+=1,void 0!==C)if(C===R)throw RangeError("Cyclic object value");else G=!0;void 0===A.get(m)&&(R=0)}if("function"==typeof y?w=y(r,w):w instanceof Date?w=g(w):"comma"===i&&l(w)&&(w=n.maybeMap(w,function(e){return e instanceof Date?g(e):e})),null===w){if(u)return f&&!E?f(r,p.encoder,S,"key",T):r;w=""}if("string"==typeof(O=w)||"number"==typeof O||"boolean"==typeof O||"symbol"==typeof O||"bigint"==typeof O||n.isBuffer(w))return f?[_(E?r:f(r,p.encoder,S,"key",T))+"="+_(f(w,p.encoder,S,"value",T))]:[_(r)+"="+_(String(w))];var I=[];if(void 0===w)return I;if("comma"===i&&l(w))E&&f&&(w=n.maybeMap(w,f)),x=[{value:w.length>0?w.join(",")||null:void 0}];else if(l(y))x=y;else{var j=Object.keys(w);x=v?j.sort(v):j}var k=h?String(r).replace(/\./g,"%2E"):String(r),D=a&&l(w)&&1===w.length?k+"[]":k;if(s&&l(w)&&0===w.length)return D+"[]";for(var N=0;N<x.length;++N){var M=x[N],F="object"==typeof M&&M&&void 0!==M.value?M.value:w[M];if(!d||null!==F){var q=P&&h?String(M).replace(/\./g,"%2E"):String(M),L=l(w)?"function"==typeof i?i(D,q):D:D+(P?"."+q:"["+q+"]");b.set(t,R);var U=o();U.set(m,b),c(I,e(F,L,i,a,s,u,d,h,"comma"===i&&E&&l(w)?null:f,y,v,P,g,T,_,E,S,U))}}return I},y=function(e){if(!e)return p;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t,r=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var o=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw TypeError("Unknown format option provided.");o=e.format}var n=i.formatters[o],u=p.filter;if(("function"==typeof e.filter||l(e.filter))&&(u=e.filter),t=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":p.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var c=void 0===e.allowDots?!0===e.encodeDotInKeys||p.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:p.allowEmptyArrays,arrayFormat:t,charset:r,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:p.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:u,format:o,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};t.exports=function(e,t){var r,n=e,i=y(t);"function"==typeof i.filter?n=(0,i.filter)("",n):l(i.filter)&&(r=i.filter);var a=[];if("object"!=typeof n||null===n)return"";var u=s[i.arrayFormat],d="comma"===u&&i.commaRoundTrip;r||(r=Object.keys(n)),i.sort&&r.sort(i.sort);for(var h=o(),p=0;p<r.length;++p){var m=r[p],v=n[m];i.skipNulls&&null===v||c(a,f(v,m,u,d,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,h))}var P=a.join(i.delimiter),g=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),P.length>0?g+P:""}},25834,(e,t,r)=>{"use strict";var o=e.r(47567),n=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:o.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},l=function(e,t){var r={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=t.parameterLimit===1/0?void 0:t.parameterLimit,c=l.split(t.delimiter,t.throwOnLimitExceeded?u+1:u);if(t.throwOnLimitExceeded&&c.length>u)throw RangeError("Parameter limit exceeded. Only "+u+" parameter"+(1===u?"":"s")+" allowed.");var d=-1,h=t.charset;if(t.charsetSentinel)for(p=0;p<c.length;++p)0===c[p].indexOf("utf8=")&&("utf8=%E2%9C%93"===c[p]?h="utf-8":"utf8=%26%2310003%3B"===c[p]&&(h="iso-8859-1"),d=p,p=c.length);for(p=0;p<c.length;++p)if(p!==d){var p,m,f,y=c[p],v=y.indexOf("]="),P=-1===v?y.indexOf("="):v+1;if(-1===P?(m=t.decoder(y,a.decoder,h,"key"),f=t.strictNullHandling?null:""):null!==(m=t.decoder(y.slice(0,P),a.decoder,h,"key"))&&(f=o.maybeMap(s(y.slice(P+1),t,i(r[m])?r[m].length:0),function(e){return t.decoder(e,a.decoder,h,"value")})),f&&t.interpretNumericEntities&&"iso-8859-1"===h&&(f=String(f).replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),y.indexOf("[]=")>-1&&(f=i(f)?[f]:f),null!==m){var g=n.call(r,m);g&&"combine"===t.duplicates?r[m]=o.combine(r[m],f,t.arrayLimit,t.plainObjects):g&&"last"!==t.duplicates||(r[m]=f)}}return r},u=function(e,t,r,n){var i=0;if(e.length>0&&"[]"===e[e.length-1]){var a=e.slice(0,-1).join("");i=Array.isArray(t)&&t[a]?t[a].length:0}for(var l=n?t:s(t,r,i),u=e.length-1;u>=0;--u){var c,d=e[u];if("[]"===d&&r.parseArrays)c=o.isOverflow(l)?l:r.allowEmptyArrays&&(""===l||r.strictNullHandling&&null===l)?[]:o.combine([],l,r.arrayLimit,r.plainObjects);else{c=r.plainObjects?{__proto__:null}:{};var h="["===d.charAt(0)&&"]"===d.charAt(d.length-1)?d.slice(1,-1):d,p=r.decodeDotInKeys?h.replace(/%2E/g,"."):h,m=parseInt(p,10);r.parseArrays||""!==p?!isNaN(m)&&d!==p&&String(m)===p&&m>=0&&r.parseArrays&&m<=r.arrayLimit?(c=[])[m]=l:"__proto__"!==p&&(c[p]=l):c={0:l}}l=c}return l},c=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&n.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var o=/(\[[^[\]]*])/g,i=/(\[[^[\]]*])/.exec(r),a=i?r.slice(0,i.index):r,s=[];if(a){if(!t.plainObjects&&n.call(Object.prototype,a)&&!t.allowPrototypes)return;s.push(a)}for(var l=0;null!==(i=o.exec(r))&&l<t.depth;){l+=1;var u=i[1].slice(1,-1);if(!t.plainObjects&&n.call(Object.prototype,u)&&!t.allowPrototypes)return;s.push(i[1])}if(i){if(!0===t.strictDepth)throw RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");s.push("["+r.slice(i.index)+"]")}return s},d=function(e,t,r,o){if(e){var n=c(e,r);if(n)return u(n,t,r,o)}},h=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?a.charset:e.charset,r=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||o.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}};t.exports=function(e,t){var r=h(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var n="string"==typeof e?l(e,r):e,i=r.plainObjects?{__proto__:null}:{},a=Object.keys(n),s=0;s<a.length;++s){var u=a[s],c=d(u,n[u],r,"string"==typeof e);i=o.merge(i,c,r)}return!0===r.allowSparse?i:o.compact(i)}},6078,(e,t,r)=>{"use strict";var o=e.r(25391),n=e.r(25834);t.exports={formats:e.r(35302),parse:n,stringify:o}},89132,e=>{"use strict";let t;var r=e.i(45168),o=e.i(6078);let n=["apiKey","idempotencyKey","stripeAccount","apiVersion","maxNetworkRetries","timeout","host","authenticator","stripeContext","additionalHeaders","streaming"];function i(e){return e&&"object"==typeof e&&n.some(t=>Object.prototype.hasOwnProperty.call(e,t))}function a(e,t){return o.stringify(e,{serializeDate:e=>Math.floor(e.getTime()/1e3).toString(),arrayFormat:"indices"}).replace(/%5B/g,"[").replace(/%5D/g,"]")}let s=(t={"\n":"\\n",'"':'\\"',"\u2028":"\\u2028","\u2029":"\\u2029"},e=>{let r=e.replace(/["\n\r\u2028\u2029]/g,e=>t[e]);return e=>r.replace(/\{([\s\S]+?)\}/g,(t,r)=>{let o=e[r];return["number","string","boolean"].includes(typeof o)?encodeURIComponent(o):""})});function l(e){if(!Array.isArray(e)||!e[0]||"object"!=typeof e[0])return{};if(!i(e[0]))return e.shift();let t=Object.keys(e[0]),r=t.filter(e=>n.includes(e));return r.length>0&&r.length!==t.length&&h(`Options found in arguments (${r.join(", ")}). Did you mean to pass an options object? See https://github.com/stripe/stripe-node/wiki/Passing-Options.`),{}}function u(e){let t={host:null,headers:{},settings:{},streaming:!1};if(e.length>0){let r=e[e.length-1];if("string"==typeof r)t.authenticator=m(e.pop());else if(i(r)){let r=Object.assign({},e.pop()),o=Object.keys(r).filter(e=>!n.includes(e));if(o.length&&h(`Invalid options found (${o.join(", ")}); ignoring.`),r.apiKey&&(t.authenticator=m(r.apiKey)),r.idempotencyKey&&(t.headers["Idempotency-Key"]=r.idempotencyKey),r.stripeAccount&&(t.headers["Stripe-Account"]=r.stripeAccount),r.stripeContext){if(t.headers["Stripe-Account"])throw Error("Can't specify both stripeAccount and stripeContext.");t.headers["Stripe-Context"]=r.stripeContext}if(r.apiVersion&&(t.headers["Stripe-Version"]=r.apiVersion),Number.isInteger(r.maxNetworkRetries)&&(t.settings.maxNetworkRetries=r.maxNetworkRetries),Number.isInteger(r.timeout)&&(t.settings.timeout=r.timeout),r.host&&(t.host=r.host),r.authenticator){if(r.apiKey)throw Error("Can't specify both apiKey and authenticator.");if("function"!=typeof r.authenticator)throw Error("The authenticator must be a function receiving a request as the first parameter.");t.authenticator=r.authenticator}r.additionalHeaders&&(t.headers=r.additionalHeaders),r.streaming&&(t.streaming=!0)}}return t}function c(e){if("object"!=typeof e)throw Error("Argument must be an object");return Object.keys(e).reduce((t,r)=>(null!=e[r]&&(t[r]=e[r]),t),{})}function d(e,t){return t?e.then(e=>{setTimeout(()=>{t(null,e)},0)},e=>{setTimeout(()=>{t(e,null)},0)}):e}function h(e){return"function"!=typeof r.default.emitWarning?console.warn(`Stripe: ${e}`):r.default.emitWarning(e,"Stripe")}function p(e,t,r){if(!Number.isInteger(t))if(void 0!==r)return r;else throw Error(`${e} must be an integer`);return t}function m(e){let t=t=>(t.headers.Authorization="Bearer "+e,Promise.resolve());return t._apiKey=e,t}function f(e,t){return this[e]instanceof Date?Math.floor(this[e].getTime()/1e3).toString():t}function y(e){return e&&e.startsWith("/v2")?"v2":"v1"}function v(e){return Array.isArray(e)?e.join(", "):String(e)}class P{getClientName(){throw Error("getClientName not implemented.")}makeRequest(e,t,r,o,n,i,a,s){throw Error("makeRequest not implemented.")}static makeTimeoutError(){let e=TypeError(P.TIMEOUT_ERROR_CODE);return e.code=P.TIMEOUT_ERROR_CODE,e}}P.CONNECTION_CLOSED_ERROR_CODES=["ECONNRESET","EPIPE"],P.TIMEOUT_ERROR_CODE="ETIMEDOUT";class g{constructor(e,t){this._statusCode=e,this._headers=t}getStatusCode(){return this._statusCode}getHeaders(){return this._headers}getRawResponse(){throw Error("getRawResponse not implemented.")}toStream(e){throw Error("toStream not implemented.")}toJSON(){throw Error("toJSON not implemented.")}}class T extends P{constructor(e){if(super(),!e){if(!globalThis.fetch)throw Error("fetch() function not provided and is not defined in the global scope. You must provide a fetch implementation.");e=globalThis.fetch}globalThis.AbortController?this._fetchFn=T.makeFetchWithAbortTimeout(e):this._fetchFn=T.makeFetchWithRaceTimeout(e)}static makeFetchWithRaceTimeout(e){return(t,r,o)=>{let n,i=new Promise((e,t)=>{n=setTimeout(()=>{n=null,t(P.makeTimeoutError())},o)});return Promise.race([e(t,r),i]).finally(()=>{n&&clearTimeout(n)})}}static makeFetchWithAbortTimeout(e){return async(t,r,o)=>{let n=new AbortController,i=setTimeout(()=>{i=null,n.abort(P.makeTimeoutError())},o);try{return await e(t,Object.assign(Object.assign({},r),{signal:n.signal}))}catch(e){if("AbortError"===e.name)throw P.makeTimeoutError();throw e}finally{i&&clearTimeout(i)}}}getClientName(){return"fetch"}async makeRequest(e,t,r,o,n,i,a,s){let l=new URL(r,`${"http"===a?"http":"https"}://${e}`);l.port=t;let u="POST"==o||"PUT"==o||"PATCH"==o;return new _(await this._fetchFn(l.toString(),{method:o,headers:Object.entries(n).map(([e,t])=>[e,v(t)]),body:i||(u?"":void 0)},s))}}class _ extends g{constructor(e){super(e.status,_._transformHeadersToObject(e.headers)),this._res=e}getRawResponse(){return this._res}toStream(e){return e(),this._res.body}toJSON(){return this._res.json()}static _transformHeadersToObject(e){let t={};for(let r of e){if(!Array.isArray(r)||2!=r.length)throw Error("Response objects produced by the fetch function given to FetchHttpClient do not have an iterable headers map. Response#headers should be an iterable object.");t[r[0]]=r[1]}return t}}class E{computeHMACSignature(e,t){throw Error("computeHMACSignature not implemented.")}computeHMACSignatureAsync(e,t){throw Error("computeHMACSignatureAsync not implemented.")}computeSHA256Async(e){throw Error("computeSHA256 not implemented.")}}class S extends Error{}class b extends E{constructor(e){super(),this.subtleCrypto=e||crypto.subtle}computeHMACSignature(e,t){throw new S("SubtleCryptoProvider cannot be used in a synchronous context.")}async computeHMACSignatureAsync(e,t){let r=new TextEncoder,o=await this.subtleCrypto.importKey("raw",r.encode(t),{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),n=new Uint8Array(await this.subtleCrypto.sign("hmac",o,r.encode(e))),i=Array(n.length);for(let e=0;e<n.length;e++)i[e]=O[n[e]];return i.join("")}async computeSHA256Async(e){return new Uint8Array(await this.subtleCrypto.digest("SHA-256",e))}}let O=Array(256);for(let e=0;e<O.length;e++)O[e]=e.toString(16).padStart(2,"0");class x{constructor(){this._fetchFn=null,this._agent=null}getUname(){throw Error("getUname not implemented.")}uuid4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}secureCompare(e,t){if(e.length!==t.length)return!1;let r=e.length,o=0;for(let n=0;n<r;++n)o|=e.charCodeAt(n)^t.charCodeAt(n);return 0===o}createEmitter(){throw Error("createEmitter not implemented.")}tryBufferData(e){throw Error("tryBufferData not implemented.")}createNodeHttpClient(e){throw Error("createNodeHttpClient not implemented.")}createFetchHttpClient(e){return new T(e)}createDefaultHttpClient(){throw Error("createDefaultHttpClient not implemented.")}createNodeCryptoProvider(){throw Error("createNodeCryptoProvider not implemented.")}createSubtleCryptoProvider(e){return new b(e)}createDefaultCryptoProvider(){throw Error("createDefaultCryptoProvider not implemented.")}}class w extends Event{constructor(e,t){super(e),this.data=t}}class A{constructor(){this.eventTarget=new EventTarget,this.listenerMapping=new Map}on(e,t){let r=e=>{t(e.data)};return this.listenerMapping.set(t,r),this.eventTarget.addEventListener(e,r)}removeListener(e,t){let r=this.listenerMapping.get(t);return this.listenerMapping.delete(t),this.eventTarget.removeEventListener(e,r)}once(e,t){let r=e=>{t(e.data)};return this.listenerMapping.set(t,r),this.eventTarget.addEventListener(e,r,{once:!0})}emit(e,t){return this.eventTarget.dispatchEvent(new w(e,t))}}let R=e=>{switch(e.type){case"card_error":return new I(e);case"invalid_request_error":return new j(e);case"api_error":return new k(e);case"authentication_error":return new D(e);case"rate_limit_error":return new M(e);case"idempotency_error":return new L(e);case"invalid_grant":return new U(e);default:return new H(e)}},G=e=>"temporary_session_expired"===e.type?new $(e):"invalid_fields"===e.code?new j(e):R(e);class C extends Error{constructor(e={},t=null){var r;super(e.message),this.type=t||this.constructor.name,this.raw=e,this.rawType=e.type,this.code=e.code,this.doc_url=e.doc_url,this.param=e.param,this.detail=e.detail,this.headers=e.headers,this.requestId=e.requestId,this.statusCode=e.statusCode,this.message=null!=(r=e.message)?r:"",this.userMessage=e.user_message,this.charge=e.charge,this.decline_code=e.decline_code,this.payment_intent=e.payment_intent,this.payment_method=e.payment_method,this.payment_method_type=e.payment_method_type,this.setup_intent=e.setup_intent,this.source=e.source}}C.generate=R;class I extends C{constructor(e={}){super(e,"StripeCardError")}}class j extends C{constructor(e={}){super(e,"StripeInvalidRequestError")}}class k extends C{constructor(e={}){super(e,"StripeAPIError")}}class D extends C{constructor(e={}){super(e,"StripeAuthenticationError")}}class N extends C{constructor(e={}){super(e,"StripePermissionError")}}class M extends C{constructor(e={}){super(e,"StripeRateLimitError")}}class F extends C{constructor(e={}){super(e,"StripeConnectionError")}}class q extends C{constructor(e,t,r={}){super(r,"StripeSignatureVerificationError"),this.header=e,this.payload=t}}class L extends C{constructor(e={}){super(e,"StripeIdempotencyError")}}class U extends C{constructor(e={}){super(e,"StripeInvalidGrantError")}}class H extends C{constructor(e={}){super(e,"StripeUnknownError")}}class $ extends C{constructor(e={}){super(e,"TemporarySessionExpiredError")}}e.s(["StripeAPIError",()=>k,"StripeAuthenticationError",()=>D,"StripeCardError",()=>I,"StripeConnectionError",()=>F,"StripeError",()=>C,"StripeIdempotencyError",()=>L,"StripeInvalidGrantError",()=>U,"StripeInvalidRequestError",()=>j,"StripePermissionError",()=>N,"StripeRateLimitError",()=>M,"StripeSignatureVerificationError",()=>q,"StripeUnknownError",()=>H,"TemporarySessionExpiredError",()=>$,"generateV1Error",0,R,"generateV2Error",0,G],12968);var z=e.i(12968);class B{constructor(e,t){this._stripe=e,this._maxBufferedRequestMetric=t}_normalizeStripeContext(e,t){return e?e.toString()||null:(null==t?void 0:t.toString())||null}_addHeadersDirectlyToObject(e,t){e.requestId=t["request-id"],e.stripeAccount=e.stripeAccount||t["stripe-account"],e.apiVersion=e.apiVersion||t["stripe-version"],e.idempotencyKey=e.idempotencyKey||t["idempotency-key"]}_makeResponseEvent(e,t,r){let o=Date.now(),n=o-e.request_start_time;return c({api_version:r["stripe-version"],account:r["stripe-account"],idempotency_key:r["idempotency-key"],method:e.method,path:e.path,status:t,request_id:this._getRequestId(r),elapsed:n,request_start_time:e.request_start_time,request_end_time:o})}_getRequestId(e){return e["request-id"]}_streamingResponseHandler(e,t,r){return o=>{let n=o.getHeaders(),i=()=>{let r=this._makeResponseEvent(e,o.getStatusCode(),n);this._stripe._emitter.emit("response",r),this._recordRequestMetrics(this._getRequestId(n),r.elapsed,t)},a=o.toStream(i);return this._addHeadersDirectlyToObject(a,n),r(null,a)}}_jsonResponseHandler(e,t,r,o){return n=>{let i=n.getHeaders(),a=this._getRequestId(i),s=n.getStatusCode(),l=this._makeResponseEvent(e,s,i);this._stripe._emitter.emit("response",l),n.toJSON().then(e=>{if(e.error)throw"string"==typeof e.error&&(e.error={type:e.error,message:e.error_description}),e.error.headers=i,e.error.statusCode=s,e.error.requestId=a,401===s?new D(e.error):403===s?new N(e.error):429===s?new M(e.error):"v2"===t?G(e.error):R(e.error);return e},e=>{throw new k({message:"Invalid JSON received from the Stripe API",exception:e,requestId:i["request-id"]})}).then(e=>{this._recordRequestMetrics(a,l.elapsed,r);let t=n.getRawResponse();this._addHeadersDirectlyToObject(t,i),Object.defineProperty(e,"lastResponse",{enumerable:!1,writable:!1,value:t}),o(null,e)},e=>o(e,null))}}static _generateConnectionErrorMessage(e){return`An error occurred with our connection to Stripe.${e>0?` Request was retried ${e} times.`:""}`}static _shouldRetry(e,t,r,o){return!!(o&&0===t&&P.CONNECTION_CLOSED_ERROR_CODES.includes(o.code))||!(t>=r)&&(!e||"false"!==e.getHeaders()["stripe-should-retry"]&&!!("true"===e.getHeaders()["stripe-should-retry"]||409===e.getStatusCode()||e.getStatusCode()>=500))}_getSleepTimeInMS(e,t=null){let r=this._stripe.getInitialNetworkRetryDelay(),o=Math.min(r*Math.pow(2,e-1),this._stripe.getMaxNetworkRetryDelay());return o*=.5*(1+Math.random()),o=Math.max(r,o),Number.isInteger(t)&&t<=60&&(o=Math.max(o,t)),1e3*o}_getMaxNetworkRetries(e={}){return void 0!==e.maxNetworkRetries&&Number.isInteger(e.maxNetworkRetries)?e.maxNetworkRetries:this._stripe.getMaxNetworkRetries()}_defaultIdempotencyKey(e,t,r){let o=this._getMaxNetworkRetries(t),n=()=>`stripe-node-retry-${this._stripe._platformFunctions.uuid4()}`;if("v2"===r){if("POST"===e||"DELETE"===e)return n()}else if("v1"===r&&"POST"===e&&o>0)return n();return null}_makeHeaders({contentType:e,contentLength:t,apiVersion:r,clientUserAgent:o,method:n,userSuppliedHeaders:i,userSuppliedSettings:a,stripeAccount:s,stripeContext:l,apiMode:u}){let d={Accept:"application/json","Content-Type":e,"User-Agent":this._getUserAgentString(u),"X-Stripe-Client-User-Agent":o,"X-Stripe-Client-Telemetry":this._getTelemetryHeader(),"Stripe-Version":r,"Stripe-Account":s,"Stripe-Context":l,"Idempotency-Key":this._defaultIdempotencyKey(n,a,u)},p="POST"==n||"PUT"==n||"PATCH"==n;return(p||t)&&(p||h(`${n} method had non-zero contentLength but no payload is expected for this verb`),d["Content-Length"]=t),Object.assign(c(d),i&&"object"==typeof i?Object.keys(i).reduce((e,t)=>(e[t.split("-").map(e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()).join("-")]=i[t],e),{}):i)}_getUserAgentString(e){let t=this._stripe.getConstant("PACKAGE_VERSION"),r=this._stripe._appInfo?this._stripe.getAppInfoAsString():"";return`Stripe/${e} NodeBindings/${t} ${r}`.trim()}_getTelemetryHeader(){if(this._stripe.getTelemetryEnabled()&&this._stripe._prevRequestMetrics.length>0)return JSON.stringify({last_request_metrics:this._stripe._prevRequestMetrics.shift()})}_recordRequestMetrics(e,t,r){if(this._stripe.getTelemetryEnabled()&&e)if(this._stripe._prevRequestMetrics.length>this._maxBufferedRequestMetric)h("Request metrics buffer is full, dropping telemetry message.");else{let o={request_id:e,request_duration_ms:t};r&&r.length>0&&(o.usage=r),this._stripe._prevRequestMetrics.push(o)}}_rawRequest(e,t,r,o,n){return new Promise((i,a)=>{let s;try{let i=e.toUpperCase();if("POST"!==i&&r&&0!==Object.keys(r).length)throw Error("rawRequest only supports params on POST requests. Please pass null and add your parameters to path.");let a=[].slice.call([r,o]),c=l(a),d="POST"===i?Object.assign({},c):null,h=u(a),p=h.headers,m=h.authenticator;s={requestMethod:i,requestPath:t,bodyData:d,queryData:{},authenticator:m,headers:p,host:h.host,streaming:!!h.streaming,settings:{},usage:n||["raw_request"]}}catch(e){a(e);return}let{headers:c,settings:d}=s,h=s.authenticator;this._request(s.requestMethod,s.host,t,s.bodyData,h,{headers:c,settings:d,streaming:s.streaming},s.usage,function(e,t){e?a(e):i(t)})})}_getContentLength(e){return"string"==typeof e?new TextEncoder().encode(e).length:e.length}_request(e,t,r,o,n,i,s=[],l,u=null){var d;let h;n=null!=(d=null!=n?n:this._stripe._authenticator)?d:null;let p=y(r),m=(e,t,r,o,n)=>setTimeout(e,this._getSleepTimeInMS(o,n),t,r,o+1),g=(o,a,u)=>{let d=i.settings&&i.settings.timeout&&Number.isInteger(i.settings.timeout)&&i.settings.timeout>=0?i.settings.timeout:this._stripe.getApiField("timeout"),f={host:t||this._stripe.getApiField("host"),port:this._stripe.getApiField("port"),path:r,method:e,headers:Object.assign({},a),body:h,protocol:this._stripe.getApiField("protocol")};n(f).then(()=>{let t=this._stripe.getApiField("httpClient").makeRequest(f.host,f.port,f.path,f.method,f.headers,f.body,f.protocol,d),n=Date.now(),h=c({api_version:o,account:v(a["Stripe-Account"]),idempotency_key:v(a["Idempotency-Key"]),method:e,path:r,request_start_time:n}),y=u||0,T=this._getMaxNetworkRetries(i.settings||{});this._stripe._emitter.emit("request",h),t.then(e=>{if(B._shouldRetry(e,y,T)){var t;return m(g,o,a,y,Number(Array.isArray(t=e.getHeaders()["retry-after"])?t[0]:t))}return i.streaming&&400>e.getStatusCode()?this._streamingResponseHandler(h,s,l)(e):this._jsonResponseHandler(h,p,s,l)(e)}).catch(e=>B._shouldRetry(null,y,T,e)?m(g,o,a,y,null):l(new F({message:e.code&&e.code===P.TIMEOUT_ERROR_CODE?`Request aborted due to timeout being reached (${d}ms)`:B._generateConnectionErrorMessage(y),detail:e})))}).catch(e=>{throw new C({message:"Unable to authenticate the request",exception:e})})},T=(t,r)=>{if(t)return l(t);h=r,this._stripe.getClientUserAgent(t=>{var o,n,a;let s=this._stripe.getApiField("version"),l=this._makeHeaders({contentType:"v2"==p?"application/json":"application/x-www-form-urlencoded",contentLength:this._getContentLength(r),apiVersion:s,clientUserAgent:t,method:e,userSuppliedHeaders:null!=(o=i.headers)?o:null,userSuppliedSettings:null!=(n=i.settings)?n:{},stripeAccount:null!=(a=i.stripeAccount)?a:this._stripe.getApiField("stripeAccount"),stripeContext:this._normalizeStripeContext(i.stripeContext,this._stripe.getApiField("stripeContext")),apiMode:p});g(s,l,0)})};if(u)u(e,o,i.headers,T);else{let e;T(null,e="v2"==p?o?JSON.stringify(o,f):"":a(o||{},p))}}}class K{constructor(e,t,r,o){this.index=0,this.pagePromise=e,this.promiseCache={currentPromise:null},this.requestArgs=t,this.spec=r,this.stripeResource=o}async iterate(e){if(!(e&&e.data&&"number"==typeof e.data.length))throw Error("Unexpected: Stripe API response does not have a well-formed `data` array.");let t=X(this.requestArgs);if(this.index<e.data.length){let r=t?e.data.length-1-this.index:this.index,o=e.data[r];return this.index+=1,{value:o,done:!1}}if(e.has_more){this.index=0,this.pagePromise=this.getNextPage(e);let t=await this.pagePromise;return this.iterate(t)}return{done:!0,value:void 0}}getNextPage(e){throw Error("Unimplemented")}async _next(){return this.iterate(await this.pagePromise)}next(){if(this.promiseCache.currentPromise)return this.promiseCache.currentPromise;let e=(async()=>{let e=await this._next();return this.promiseCache.currentPromise=null,e})();return this.promiseCache.currentPromise=e,e}}class W extends K{getNextPage(e){let t=X(this.requestArgs),r=function(e,t){let r=t?0:e.data.length-1,o=e.data[r],n=o&&o.id;if(!n)throw Error("Unexpected: No `id` found on the last item while auto-paging a list.");return n}(e,t);return this.stripeResource._makeRequest(this.requestArgs,this.spec,{[t?"ending_before":"starting_after"]:r})}}class V extends K{getNextPage(e){if(!e.next_page)throw Error("Unexpected: Stripe API response does not have a well-formed `next_page` field, but `has_more` was true.");return this.stripeResource._makeRequest(this.requestArgs,this.spec,{page:e.next_page})}}class J{constructor(e,t,r,o){this.currentPageIterator=(async()=>(await e).data[Symbol.iterator]())(),this.nextPageUrl=(async()=>(await e).next_page_url||null)(),this.requestArgs=t,this.spec=r,this.stripeResource=o}async turnPage(){let e=await this.nextPageUrl;if(!e)return null;this.spec.fullPath=e;let t=await this.stripeResource._makeRequest([],this.spec,{});return this.nextPageUrl=Promise.resolve(t.next_page_url),this.currentPageIterator=Promise.resolve(t.data[Symbol.iterator]()),this.currentPageIterator}async next(){{let e=(await this.currentPageIterator).next();if(!e.done)return{done:!1,value:e.value}}let e=await this.turnPage();if(!e)return{done:!0,value:void 0};let t=e.next();return t.done?{done:!0,value:void 0}:{done:!1,value:t.value}}}let Y=e=>{var t,r;let o=(t=(...t)=>e.next(...t),function(){var e,r;let o=[].slice.call(arguments),n=function(e){if(0===e.length)return;let t=e[0];if("function"!=typeof t)throw Error(`The first argument to autoPagingEach, if present, must be a callback function; received ${typeof t}`);if(2===t.length)return t;if(t.length>2)throw Error(`The \`onItem\` callback function passed to autoPagingEach must accept at most two arguments; got ${t}`);return function(e,r){r(t(e))}}(o),i=function(e){if(e.length<2)return null;let t=e[1];if("function"!=typeof t)throw Error(`The second argument to autoPagingEach, if present, must be a callback function; received ${typeof t}`);return t}(o);if(o.length>2)throw Error(`autoPagingEach takes up to two arguments; received ${o}`);return d((e=t,r=n,new Promise((t,o)=>{e().then(function o(n){if(n.done)return void t();let i=n.value;return new Promise(e=>{r(i,e)}).then(t=>!1===t?o({done:!0,value:void 0}):e().then(o))}).catch(o)})),i)}),n=(r=o,function(e,t){let o=e&&e.limit;if(!o)throw Error("You must pass a `limit` option to autoPagingToArray, e.g., `autoPagingToArray({limit: 1000});`.");if(o>1e4)throw Error("You cannot specify a limit of more than 10,000 items to fetch in `autoPagingToArray`; use `autoPagingEach` to iterate through longer lists.");return d(new Promise((e,t)=>{let n=[];r(e=>{if(n.push(e),n.length>=o)return!1}).then(()=>{e(n)}).catch(t)}),t)}),i={autoPagingEach:o,autoPagingToArray:n,next:()=>e.next(),return:()=>({}),["u">typeof Symbol&&Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator"]:()=>i};return i};function X(e){return!!l([].slice.call(e)).ending_before}function Q(e,t){if(this._stripe=e,t)throw Error("Support for curried url params was dropped in stripe-node v7.0.0. Instead, pass two ids.");this.basePath=s(this.basePath||e.getApiField("basePath")),this.resourcePath=this.path,this.path=s(this.path),this.initialize(...arguments)}Q.extend=function(e){let t=this,r=Object.prototype.hasOwnProperty.call(e,"constructor")?e.constructor:function(...e){t.apply(this,e)};return Object.assign(r,t),r.prototype=Object.create(t.prototype),Object.assign(r.prototype,e),r},Q.method=function(e){if(void 0!==e.path&&void 0!==e.fullPath)throw Error(`Method spec specified both a 'path' (${e.path}) and a 'fullPath' (${e.fullPath}).`);return function(...t){let r,o,n="function"==typeof t[t.length-1]&&t.pop();r=(e.fullPath||this.createResourcePathWithSymbols(e.path||"")).match(/\{\w+\}/g),e.urlParams=r?r.map(e=>e.replace(/[{}]/g,"")):[];let i=d(this._makeRequest(t,e,{}),n);return Object.assign(i,"v2"!==(o=y(e.fullPath||e.path))&&"search"===e.methodType?Y(new V(i,t,e,this)):"v2"!==o&&"list"===e.methodType?Y(new W(i,t,e,this)):"v2"===o&&"list"===e.methodType?Y(new J(i,t,e,this)):null),i}},Q.MAX_BUFFERED_REQUEST_METRICS=100,Q.prototype={_stripe:null,path:"",resourcePath:"",basePath:null,initialize(){},requestDataProcessor:null,validateRequest:null,createFullPath(e,t){let r=[this.basePath(t),this.path(t)];if("function"==typeof e){let o=e(t);o&&r.push(o)}else r.push(e);return this._joinUrlParts(r)},createResourcePathWithSymbols(e){return e?`/${this._joinUrlParts([this.resourcePath,e])}`:`/${this.resourcePath}`},_joinUrlParts:e=>e.join("/").replace(/\/{2,}/g,"/"),_getRequestOpts(e,t,r){var o;let n=(t.method||"GET").toUpperCase(),i=t.usage||[],a=t.urlParams||[],c=t.encode||(e=>e),d=!!t.fullPath,h=s(d?t.fullPath:t.path||""),p=d?t.fullPath:this.createResourcePathWithSymbols(t.path),m=[].slice.call(e),f=a.reduce((e,t)=>{let r=m.shift();if("string"!=typeof r)throw Error(`Stripe: Argument "${t}" must be a string, but got: ${r} (on API request to \`${n} ${p}\`)`);return e[t]=r,e},{}),y=c(Object.assign({},l(m),r)),v=u(m),P=v.host||t.host,g=!!t.streaming||!!v.streaming;if(m.filter(e=>null!=e).length)throw Error(`Stripe: Unknown arguments (${m}). Did you mean to pass an options object? See https://github.com/stripe/stripe-node/wiki/Passing-Options. (on API request to ${n} \`${p}\`)`);let T=d?h(f):this.createFullPath(h,f),_=Object.assign(v.headers,t.headers);t.validator&&t.validator(y,{headers:_});let E="GET"===t.method||"DELETE"===t.method;return{requestMethod:n,requestPath:T,bodyData:E?null:y,queryData:E?y:{},authenticator:null!=(o=v.authenticator)?o:null,headers:_,host:null!=P?P:null,streaming:g,settings:v.settings,usage:i}},_makeRequest(e,t,r){return new Promise((o,n)=>{var i;let s;try{s=this._getRequestOpts(e,t,r)}catch(e){n(e);return}let l=0===Object.keys(s.queryData).length,u=[s.requestPath,l?"":"?",a(s.queryData,y(s.requestPath))].join(""),{headers:c,settings:d}=s;this._stripe._requestSender._request(s.requestMethod,s.host,u,s.bodyData,s.authenticator,{headers:c,settings:d,streaming:s.streaming},s.usage,function(e,r){e?n(e):o(t.transformResponseData?t.transformResponseData(r):r)},null==(i=this.requestDataProcessor)?void 0:i.bind(this))})}};class Z{constructor(e=[]){this._segments=[...e]}get segments(){return[...this._segments]}push(e){if(!e)throw Error("Segment cannot be null or undefined");return new Z([...this._segments,e])}pop(){if(0===this._segments.length)throw Error("Cannot pop from an empty context");return new Z(this._segments.slice(0,-1))}toString(){return this._segments.join("/")}static parse(e){return new Z(e?e.split("/"):[])}}let ee="2025-12-15.clover";function et(e,t){for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let o=r[0].toLowerCase()+r.substring(1),n=new t[r](e);this[o]=n}}function er(e,t){return function(e){return new et(e,t)}}let eo=Q.method,en=Q.extend({create:eo({method:"POST",fullPath:"/v2/core/account_links"})}),ei=Q.method,ea=Q.extend({create:ei({method:"POST",fullPath:"/v2/core/account_tokens"}),retrieve:ei({method:"GET",fullPath:"/v2/core/account_tokens/{id}"})}),es=Q.method,el=Q.extend({retrieve:es({method:"GET",fullPath:"/v1/financial_connections/accounts/{account}"}),list:es({method:"GET",fullPath:"/v1/financial_connections/accounts",methodType:"list"}),disconnect:es({method:"POST",fullPath:"/v1/financial_connections/accounts/{account}/disconnect"}),listOwners:es({method:"GET",fullPath:"/v1/financial_connections/accounts/{account}/owners",methodType:"list"}),refresh:es({method:"POST",fullPath:"/v1/financial_connections/accounts/{account}/refresh"}),subscribe:es({method:"POST",fullPath:"/v1/financial_connections/accounts/{account}/subscribe"}),unsubscribe:es({method:"POST",fullPath:"/v1/financial_connections/accounts/{account}/unsubscribe"})}),eu=Q.method,ec=Q.extend({create:eu({method:"POST",fullPath:"/v2/core/accounts/{account_id}/persons"}),retrieve:eu({method:"GET",fullPath:"/v2/core/accounts/{account_id}/persons/{id}"}),update:eu({method:"POST",fullPath:"/v2/core/accounts/{account_id}/persons/{id}"}),list:eu({method:"GET",fullPath:"/v2/core/accounts/{account_id}/persons",methodType:"list"}),del:eu({method:"DELETE",fullPath:"/v2/core/accounts/{account_id}/persons/{id}"})}),ed=Q.method,eh=Q.extend({create:ed({method:"POST",fullPath:"/v2/core/accounts/{account_id}/person_tokens"}),retrieve:ed({method:"GET",fullPath:"/v2/core/accounts/{account_id}/person_tokens/{id}"})}),ep=Q.method,em=Q.extend({constructor:function(...e){Q.apply(this,e),this.persons=new ec(...e),this.personTokens=new eh(...e)},create:ep({method:"POST",fullPath:"/v2/core/accounts"}),retrieve:ep({method:"GET",fullPath:"/v2/core/accounts/{id}"}),update:ep({method:"POST",fullPath:"/v2/core/accounts/{id}"}),list:ep({method:"GET",fullPath:"/v2/core/accounts",methodType:"list"}),close:ep({method:"POST",fullPath:"/v2/core/accounts/{id}/close"})}),ef=Q.method,ey=Q.extend({retrieve:ef({method:"GET",fullPath:"/v1/entitlements/active_entitlements/{id}"}),list:ef({method:"GET",fullPath:"/v1/entitlements/active_entitlements",methodType:"list"})}),ev=Q.method,eP=Q.extend({create:ev({method:"POST",fullPath:"/v1/billing/alerts"}),retrieve:ev({method:"GET",fullPath:"/v1/billing/alerts/{id}"}),list:ev({method:"GET",fullPath:"/v1/billing/alerts",methodType:"list"}),activate:ev({method:"POST",fullPath:"/v1/billing/alerts/{id}/activate"}),archive:ev({method:"POST",fullPath:"/v1/billing/alerts/{id}/archive"}),deactivate:ev({method:"POST",fullPath:"/v1/billing/alerts/{id}/deactivate"})}),eg=Q.method,eT=Q.extend({find:eg({method:"GET",fullPath:"/v1/tax/associations/find"})}),e_=Q.method,eE=Q.extend({retrieve:e_({method:"GET",fullPath:"/v1/issuing/authorizations/{authorization}"}),update:e_({method:"POST",fullPath:"/v1/issuing/authorizations/{authorization}"}),list:e_({method:"GET",fullPath:"/v1/issuing/authorizations",methodType:"list"}),approve:e_({method:"POST",fullPath:"/v1/issuing/authorizations/{authorization}/approve"}),decline:e_({method:"POST",fullPath:"/v1/issuing/authorizations/{authorization}/decline"})}),eS=Q.method,eb=Q.extend({create:eS({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations"}),capture:eS({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/capture"}),expire:eS({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/expire"}),finalizeAmount:eS({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/finalize_amount"}),increment:eS({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/increment"}),respond:eS({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/fraud_challenges/respond"}),reverse:eS({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/reverse"})}),eO=Q.method,ex=Q.extend({create:eO({method:"POST",fullPath:"/v1/tax/calculations"}),retrieve:eO({method:"GET",fullPath:"/v1/tax/calculations/{calculation}"}),listLineItems:eO({method:"GET",fullPath:"/v1/tax/calculations/{calculation}/line_items",methodType:"list"})}),ew=Q.method,eA=Q.extend({create:ew({method:"POST",fullPath:"/v1/issuing/cardholders"}),retrieve:ew({method:"GET",fullPath:"/v1/issuing/cardholders/{cardholder}"}),update:ew({method:"POST",fullPath:"/v1/issuing/cardholders/{cardholder}"}),list:ew({method:"GET",fullPath:"/v1/issuing/cardholders",methodType:"list"})}),eR=Q.method,eG=Q.extend({create:eR({method:"POST",fullPath:"/v1/issuing/cards"}),retrieve:eR({method:"GET",fullPath:"/v1/issuing/cards/{card}"}),update:eR({method:"POST",fullPath:"/v1/issuing/cards/{card}"}),list:eR({method:"GET",fullPath:"/v1/issuing/cards",methodType:"list"})}),eC=Q.method,eI=Q.extend({deliverCard:eC({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/deliver"}),failCard:eC({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/fail"}),returnCard:eC({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/return"}),shipCard:eC({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/ship"}),submitCard:eC({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/submit"})}),ej=Q.method,ek=Q.extend({create:ej({method:"POST",fullPath:"/v1/billing_portal/configurations"}),retrieve:ej({method:"GET",fullPath:"/v1/billing_portal/configurations/{configuration}"}),update:ej({method:"POST",fullPath:"/v1/billing_portal/configurations/{configuration}"}),list:ej({method:"GET",fullPath:"/v1/billing_portal/configurations",methodType:"list"})}),eD=Q.method,eN=Q.extend({create:eD({method:"POST",fullPath:"/v1/terminal/configurations"}),retrieve:eD({method:"GET",fullPath:"/v1/terminal/configurations/{configuration}"}),update:eD({method:"POST",fullPath:"/v1/terminal/configurations/{configuration}"}),list:eD({method:"GET",fullPath:"/v1/terminal/configurations",methodType:"list"}),del:eD({method:"DELETE",fullPath:"/v1/terminal/configurations/{configuration}"})}),eM=Q.method,eF=Q.extend({create:eM({method:"POST",fullPath:"/v1/test_helpers/confirmation_tokens"})}),eq=Q.method,eL=Q.extend({create:eq({method:"POST",fullPath:"/v1/terminal/connection_tokens"})}),eU=Q.method,eH=Q.extend({retrieve:eU({method:"GET",fullPath:"/v1/billing/credit_balance_summary"})}),e$=Q.method,ez=Q.extend({retrieve:e$({method:"GET",fullPath:"/v1/billing/credit_balance_transactions/{id}"}),list:e$({method:"GET",fullPath:"/v1/billing/credit_balance_transactions",methodType:"list"})}),eB=Q.method,eK=Q.extend({create:eB({method:"POST",fullPath:"/v1/billing/credit_grants"}),retrieve:eB({method:"GET",fullPath:"/v1/billing/credit_grants/{id}"}),update:eB({method:"POST",fullPath:"/v1/billing/credit_grants/{id}"}),list:eB({method:"GET",fullPath:"/v1/billing/credit_grants",methodType:"list"}),expire:eB({method:"POST",fullPath:"/v1/billing/credit_grants/{id}/expire"}),voidGrant:eB({method:"POST",fullPath:"/v1/billing/credit_grants/{id}/void"})}),eW=Q.method,eV=Q.extend({create:eW({method:"POST",fullPath:"/v1/treasury/credit_reversals"}),retrieve:eW({method:"GET",fullPath:"/v1/treasury/credit_reversals/{credit_reversal}"}),list:eW({method:"GET",fullPath:"/v1/treasury/credit_reversals",methodType:"list"})}),eJ=Q.method,eY=Q.extend({fundCashBalance:eJ({method:"POST",fullPath:"/v1/test_helpers/customers/{customer}/fund_cash_balance"})}),eX=Q.method,eQ=Q.extend({create:eX({method:"POST",fullPath:"/v1/treasury/debit_reversals"}),retrieve:eX({method:"GET",fullPath:"/v1/treasury/debit_reversals/{debit_reversal}"}),list:eX({method:"GET",fullPath:"/v1/treasury/debit_reversals",methodType:"list"})}),eZ=Q.method,e1=Q.extend({create:eZ({method:"POST",fullPath:"/v1/issuing/disputes"}),retrieve:eZ({method:"GET",fullPath:"/v1/issuing/disputes/{dispute}"}),update:eZ({method:"POST",fullPath:"/v1/issuing/disputes/{dispute}"}),list:eZ({method:"GET",fullPath:"/v1/issuing/disputes",methodType:"list"}),submit:eZ({method:"POST",fullPath:"/v1/issuing/disputes/{dispute}/submit"})}),e0=Q.method,e2=Q.extend({retrieve:e0({method:"GET",fullPath:"/v1/radar/early_fraud_warnings/{early_fraud_warning}"}),list:e0({method:"GET",fullPath:"/v1/radar/early_fraud_warnings",methodType:"list"})}),e8=Q.method,e3=Q.extend({create:e8({method:"POST",fullPath:"/v2/core/event_destinations"}),retrieve:e8({method:"GET",fullPath:"/v2/core/event_destinations/{id}"}),update:e8({method:"POST",fullPath:"/v2/core/event_destinations/{id}"}),list:e8({method:"GET",fullPath:"/v2/core/event_destinations",methodType:"list"}),del:e8({method:"DELETE",fullPath:"/v2/core/event_destinations/{id}"}),disable:e8({method:"POST",fullPath:"/v2/core/event_destinations/{id}/disable"}),enable:e8({method:"POST",fullPath:"/v2/core/event_destinations/{id}/enable"}),ping:e8({method:"POST",fullPath:"/v2/core/event_destinations/{id}/ping"})}),e9=Q.method,e6=Q.extend({retrieve(...e){return e9({method:"GET",fullPath:"/v2/core/events/{id}",transformResponseData:e=>this.addFetchRelatedObjectIfNeeded(e)}).apply(this,e)},list(...e){return e9({method:"GET",fullPath:"/v2/core/events",methodType:"list",transformResponseData:e=>Object.assign(Object.assign({},e),{data:e.data.map(this.addFetchRelatedObjectIfNeeded.bind(this))})}).apply(this,e)},addFetchRelatedObjectIfNeeded(e){return e.related_object&&e.related_object.url?Object.assign(Object.assign({},e),{fetchRelatedObject:()=>e9({method:"GET",fullPath:e.related_object.url}).apply(this,[{stripeContext:e.context}])}):e}}),e5=Q.method,e4=Q.extend({create:e5({method:"POST",fullPath:"/v1/entitlements/features"}),retrieve:e5({method:"GET",fullPath:"/v1/entitlements/features/{id}"}),update:e5({method:"POST",fullPath:"/v1/entitlements/features/{id}"}),list:e5({method:"GET",fullPath:"/v1/entitlements/features",methodType:"list"})}),e7=Q.method,te=Q.extend({create:e7({method:"POST",fullPath:"/v1/treasury/financial_accounts"}),retrieve:e7({method:"GET",fullPath:"/v1/treasury/financial_accounts/{financial_account}"}),update:e7({method:"POST",fullPath:"/v1/treasury/financial_accounts/{financial_account}"}),list:e7({method:"GET",fullPath:"/v1/treasury/financial_accounts",methodType:"list"}),close:e7({method:"POST",fullPath:"/v1/treasury/financial_accounts/{financial_account}/close"}),retrieveFeatures:e7({method:"GET",fullPath:"/v1/treasury/financial_accounts/{financial_account}/features"}),updateFeatures:e7({method:"POST",fullPath:"/v1/treasury/financial_accounts/{financial_account}/features"})}),tt=Q.method,tr=Q.extend({fail:tt({method:"POST",fullPath:"/v1/test_helpers/treasury/inbound_transfers/{id}/fail"}),returnInboundTransfer:tt({method:"POST",fullPath:"/v1/test_helpers/treasury/inbound_transfers/{id}/return"}),succeed:tt({method:"POST",fullPath:"/v1/test_helpers/treasury/inbound_transfers/{id}/succeed"})}),to=Q.method,tn=Q.extend({create:to({method:"POST",fullPath:"/v1/treasury/inbound_transfers"}),retrieve:to({method:"GET",fullPath:"/v1/treasury/inbound_transfers/{id}"}),list:to({method:"GET",fullPath:"/v1/treasury/inbound_transfers",methodType:"list"}),cancel:to({method:"POST",fullPath:"/v1/treasury/inbound_transfers/{inbound_transfer}/cancel"})}),ti=Q.method,ta=Q.extend({create:ti({method:"POST",fullPath:"/v1/terminal/locations"}),retrieve:ti({method:"GET",fullPath:"/v1/terminal/locations/{location}"}),update:ti({method:"POST",fullPath:"/v1/terminal/locations/{location}"}),list:ti({method:"GET",fullPath:"/v1/terminal/locations",methodType:"list"}),del:ti({method:"DELETE",fullPath:"/v1/terminal/locations/{location}"})}),ts=Q.method,tl=Q.extend({create:ts({method:"POST",fullPath:"/v1/billing/meter_event_adjustments"})}),tu=Q.method,tc=Q.extend({create:tu({method:"POST",fullPath:"/v2/billing/meter_event_adjustments"})}),td=Q.method,th=Q.extend({create:td({method:"POST",fullPath:"/v2/billing/meter_event_session"})}),tp=Q.method,tm=Q.extend({create:tp({method:"POST",fullPath:"/v2/billing/meter_event_stream",host:"meter-events.stripe.com"})}),tf=Q.method,ty=Q.extend({create:tf({method:"POST",fullPath:"/v1/billing/meter_events"})}),tv=Q.method,tP=Q.extend({create:tv({method:"POST",fullPath:"/v2/billing/meter_events"})}),tg=Q.method,tT=Q.extend({create:tg({method:"POST",fullPath:"/v1/billing/meters"}),retrieve:tg({method:"GET",fullPath:"/v1/billing/meters/{id}"}),update:tg({method:"POST",fullPath:"/v1/billing/meters/{id}"}),list:tg({method:"GET",fullPath:"/v1/billing/meters",methodType:"list"}),deactivate:tg({method:"POST",fullPath:"/v1/billing/meters/{id}/deactivate"}),listEventSummaries:tg({method:"GET",fullPath:"/v1/billing/meters/{id}/event_summaries",methodType:"list"}),reactivate:tg({method:"POST",fullPath:"/v1/billing/meters/{id}/reactivate"})}),t_=Q.method,tE=Q.extend({create:t_({method:"POST",fullPath:"/v1/terminal/onboarding_links"})}),tS=Q.method,tb=Q.extend({create:tS({method:"POST",fullPath:"/v1/climate/orders"}),retrieve:tS({method:"GET",fullPath:"/v1/climate/orders/{order}"}),update:tS({method:"POST",fullPath:"/v1/climate/orders/{order}"}),list:tS({method:"GET",fullPath:"/v1/climate/orders",methodType:"list"}),cancel:tS({method:"POST",fullPath:"/v1/climate/orders/{order}/cancel"})}),tO=Q.method,tx=Q.extend({update:tO({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_payments/{id}"}),fail:tO({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_payments/{id}/fail"}),post:tO({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_payments/{id}/post"}),returnOutboundPayment:tO({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_payments/{id}/return"})}),tw=Q.method,tA=Q.extend({create:tw({method:"POST",fullPath:"/v1/treasury/outbound_payments"}),retrieve:tw({method:"GET",fullPath:"/v1/treasury/outbound_payments/{id}"}),list:tw({method:"GET",fullPath:"/v1/treasury/outbound_payments",methodType:"list"}),cancel:tw({method:"POST",fullPath:"/v1/treasury/outbound_payments/{id}/cancel"})}),tR=Q.method,tG=Q.extend({update:tR({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}"}),fail:tR({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail"}),post:tR({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post"}),returnOutboundTransfer:tR({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return"})}),tC=Q.method,tI=Q.extend({create:tC({method:"POST",fullPath:"/v1/treasury/outbound_transfers"}),retrieve:tC({method:"GET",fullPath:"/v1/treasury/outbound_transfers/{outbound_transfer}"}),list:tC({method:"GET",fullPath:"/v1/treasury/outbound_transfers",methodType:"list"}),cancel:tC({method:"POST",fullPath:"/v1/treasury/outbound_transfers/{outbound_transfer}/cancel"})}),tj=Q.method,tk=Q.extend({create:tj({method:"POST",fullPath:"/v1/issuing/personalization_designs"}),retrieve:tj({method:"GET",fullPath:"/v1/issuing/personalization_designs/{personalization_design}"}),update:tj({method:"POST",fullPath:"/v1/issuing/personalization_designs/{personalization_design}"}),list:tj({method:"GET",fullPath:"/v1/issuing/personalization_designs",methodType:"list"})}),tD=Q.method,tN=Q.extend({activate:tD({method:"POST",fullPath:"/v1/test_helpers/issuing/personalization_designs/{personalization_design}/activate"}),deactivate:tD({method:"POST",fullPath:"/v1/test_helpers/issuing/personalization_designs/{personalization_design}/deactivate"}),reject:tD({method:"POST",fullPath:"/v1/test_helpers/issuing/personalization_designs/{personalization_design}/reject"})}),tM=Q.method,tF=Q.extend({retrieve:tM({method:"GET",fullPath:"/v1/issuing/physical_bundles/{physical_bundle}"}),list:tM({method:"GET",fullPath:"/v1/issuing/physical_bundles",methodType:"list"})}),tq=Q.method,tL=Q.extend({retrieve:tq({method:"GET",fullPath:"/v1/climate/products/{product}"}),list:tq({method:"GET",fullPath:"/v1/climate/products",methodType:"list"})}),tU=Q.method,tH=Q.extend({create:tU({method:"POST",fullPath:"/v1/terminal/readers"}),retrieve:tU({method:"GET",fullPath:"/v1/terminal/readers/{reader}"}),update:tU({method:"POST",fullPath:"/v1/terminal/readers/{reader}"}),list:tU({method:"GET",fullPath:"/v1/terminal/readers",methodType:"list"}),del:tU({method:"DELETE",fullPath:"/v1/terminal/readers/{reader}"}),cancelAction:tU({method:"POST",fullPath:"/v1/terminal/readers/{reader}/cancel_action"}),collectInputs:tU({method:"POST",fullPath:"/v1/terminal/readers/{reader}/collect_inputs"}),collectPaymentMethod:tU({method:"POST",fullPath:"/v1/terminal/readers/{reader}/collect_payment_method"}),confirmPaymentIntent:tU({method:"POST",fullPath:"/v1/terminal/readers/{reader}/confirm_payment_intent"}),processPaymentIntent:tU({method:"POST",fullPath:"/v1/terminal/readers/{reader}/process_payment_intent"}),processSetupIntent:tU({method:"POST",fullPath:"/v1/terminal/readers/{reader}/process_setup_intent"}),refundPayment:tU({method:"POST",fullPath:"/v1/terminal/readers/{reader}/refund_payment"}),setReaderDisplay:tU({method:"POST",fullPath:"/v1/terminal/readers/{reader}/set_reader_display"})}),t$=Q.method,tz=Q.extend({presentPaymentMethod:t$({method:"POST",fullPath:"/v1/test_helpers/terminal/readers/{reader}/present_payment_method"}),succeedInputCollection:t$({method:"POST",fullPath:"/v1/test_helpers/terminal/readers/{reader}/succeed_input_collection"}),timeoutInputCollection:t$({method:"POST",fullPath:"/v1/test_helpers/terminal/readers/{reader}/timeout_input_collection"})}),tB=Q.method,tK=Q.extend({create:tB({method:"POST",fullPath:"/v1/test_helpers/treasury/received_credits"})}),tW=Q.method,tV=Q.extend({retrieve:tW({method:"GET",fullPath:"/v1/treasury/received_credits/{id}"}),list:tW({method:"GET",fullPath:"/v1/treasury/received_credits",methodType:"list"})}),tJ=Q.method,tY=Q.extend({create:tJ({method:"POST",fullPath:"/v1/test_helpers/treasury/received_debits"})}),tX=Q.method,tQ=Q.extend({retrieve:tX({method:"GET",fullPath:"/v1/treasury/received_debits/{id}"}),list:tX({method:"GET",fullPath:"/v1/treasury/received_debits",methodType:"list"})}),tZ=Q.method,t1=Q.extend({expire:tZ({method:"POST",fullPath:"/v1/test_helpers/refunds/{refund}/expire"})}),t0=Q.method,t2=Q.extend({create:t0({method:"POST",fullPath:"/v1/tax/registrations"}),retrieve:t0({method:"GET",fullPath:"/v1/tax/registrations/{id}"}),update:t0({method:"POST",fullPath:"/v1/tax/registrations/{id}"}),list:t0({method:"GET",fullPath:"/v1/tax/registrations",methodType:"list"})}),t8=Q.method,t3=Q.extend({create:t8({method:"POST",fullPath:"/v1/reporting/report_runs"}),retrieve:t8({method:"GET",fullPath:"/v1/reporting/report_runs/{report_run}"}),list:t8({method:"GET",fullPath:"/v1/reporting/report_runs",methodType:"list"})}),t9=Q.method,t6=Q.extend({retrieve:t9({method:"GET",fullPath:"/v1/reporting/report_types/{report_type}"}),list:t9({method:"GET",fullPath:"/v1/reporting/report_types",methodType:"list"})}),t5=Q.method,t4=Q.extend({create:t5({method:"POST",fullPath:"/v1/forwarding/requests"}),retrieve:t5({method:"GET",fullPath:"/v1/forwarding/requests/{id}"}),list:t5({method:"GET",fullPath:"/v1/forwarding/requests",methodType:"list"})}),t7=Q.method,re=Q.extend({retrieve:t7({method:"GET",fullPath:"/v1/sigma/scheduled_query_runs/{scheduled_query_run}"}),list:t7({method:"GET",fullPath:"/v1/sigma/scheduled_query_runs",methodType:"list"})}),rt=Q.method,rr=Q.extend({create:rt({method:"POST",fullPath:"/v1/apps/secrets"}),list:rt({method:"GET",fullPath:"/v1/apps/secrets",methodType:"list"}),deleteWhere:rt({method:"POST",fullPath:"/v1/apps/secrets/delete"}),find:rt({method:"GET",fullPath:"/v1/apps/secrets/find"})}),ro=Q.method,rn=Q.extend({create:ro({method:"POST",fullPath:"/v1/billing_portal/sessions"})}),ri=Q.method,ra=Q.extend({create:ri({method:"POST",fullPath:"/v1/checkout/sessions"}),retrieve:ri({method:"GET",fullPath:"/v1/checkout/sessions/{session}"}),update:ri({method:"POST",fullPath:"/v1/checkout/sessions/{session}"}),list:ri({method:"GET",fullPath:"/v1/checkout/sessions",methodType:"list"}),expire:ri({method:"POST",fullPath:"/v1/checkout/sessions/{session}/expire"}),listLineItems:ri({method:"GET",fullPath:"/v1/checkout/sessions/{session}/line_items",methodType:"list"})}),rs=Q.method,rl=Q.extend({create:rs({method:"POST",fullPath:"/v1/financial_connections/sessions"}),retrieve:rs({method:"GET",fullPath:"/v1/financial_connections/sessions/{session}"})}),ru=Q.method,rc=Q.extend({retrieve:ru({method:"GET",fullPath:"/v1/tax/settings"}),update:ru({method:"POST",fullPath:"/v1/tax/settings"})}),rd=Q.method,rh=Q.extend({retrieve:rd({method:"GET",fullPath:"/v1/climate/suppliers/{supplier}"}),list:rd({method:"GET",fullPath:"/v1/climate/suppliers",methodType:"list"})}),rp=Q.method,rm=Q.extend({create:rp({method:"POST",fullPath:"/v1/test_helpers/test_clocks"}),retrieve:rp({method:"GET",fullPath:"/v1/test_helpers/test_clocks/{test_clock}"}),list:rp({method:"GET",fullPath:"/v1/test_helpers/test_clocks",methodType:"list"}),del:rp({method:"DELETE",fullPath:"/v1/test_helpers/test_clocks/{test_clock}"}),advance:rp({method:"POST",fullPath:"/v1/test_helpers/test_clocks/{test_clock}/advance"})}),rf=Q.method,ry=Q.extend({retrieve:rf({method:"GET",fullPath:"/v1/issuing/tokens/{token}"}),update:rf({method:"POST",fullPath:"/v1/issuing/tokens/{token}"}),list:rf({method:"GET",fullPath:"/v1/issuing/tokens",methodType:"list"})}),rv=Q.method,rP=Q.extend({retrieve:rv({method:"GET",fullPath:"/v1/treasury/transaction_entries/{id}"}),list:rv({method:"GET",fullPath:"/v1/treasury/transaction_entries",methodType:"list"})}),rg=Q.method,rT=Q.extend({retrieve:rg({method:"GET",fullPath:"/v1/financial_connections/transactions/{transaction}"}),list:rg({method:"GET",fullPath:"/v1/financial_connections/transactions",methodType:"list"})}),r_=Q.method,rE=Q.extend({retrieve:r_({method:"GET",fullPath:"/v1/issuing/transactions/{transaction}"}),update:r_({method:"POST",fullPath:"/v1/issuing/transactions/{transaction}"}),list:r_({method:"GET",fullPath:"/v1/issuing/transactions",methodType:"list"})}),rS=Q.method,rb=Q.extend({retrieve:rS({method:"GET",fullPath:"/v1/tax/transactions/{transaction}"}),createFromCalculation:rS({method:"POST",fullPath:"/v1/tax/transactions/create_from_calculation"}),createReversal:rS({method:"POST",fullPath:"/v1/tax/transactions/create_reversal"}),listLineItems:rS({method:"GET",fullPath:"/v1/tax/transactions/{transaction}/line_items",methodType:"list"})}),rO=Q.method,rx=Q.extend({createForceCapture:rO({method:"POST",fullPath:"/v1/test_helpers/issuing/transactions/create_force_capture"}),createUnlinkedRefund:rO({method:"POST",fullPath:"/v1/test_helpers/issuing/transactions/create_unlinked_refund"}),refund:rO({method:"POST",fullPath:"/v1/test_helpers/issuing/transactions/{transaction}/refund"})}),rw=Q.method,rA=Q.extend({retrieve:rw({method:"GET",fullPath:"/v1/treasury/transactions/{id}"}),list:rw({method:"GET",fullPath:"/v1/treasury/transactions",methodType:"list"})}),rR=Q.method,rG=Q.extend({create:rR({method:"POST",fullPath:"/v1/radar/value_list_items"}),retrieve:rR({method:"GET",fullPath:"/v1/radar/value_list_items/{item}"}),list:rR({method:"GET",fullPath:"/v1/radar/value_list_items",methodType:"list"}),del:rR({method:"DELETE",fullPath:"/v1/radar/value_list_items/{item}"})}),rC=Q.method,rI=Q.extend({create:rC({method:"POST",fullPath:"/v1/radar/value_lists"}),retrieve:rC({method:"GET",fullPath:"/v1/radar/value_lists/{value_list}"}),update:rC({method:"POST",fullPath:"/v1/radar/value_lists/{value_list}"}),list:rC({method:"GET",fullPath:"/v1/radar/value_lists",methodType:"list"}),del:rC({method:"DELETE",fullPath:"/v1/radar/value_lists/{value_list}"})}),rj=Q.method,rk=Q.extend({retrieve:rj({method:"GET",fullPath:"/v1/identity/verification_reports/{report}"}),list:rj({method:"GET",fullPath:"/v1/identity/verification_reports",methodType:"list"})}),rD=Q.method,rN=Q.extend({create:rD({method:"POST",fullPath:"/v1/identity/verification_sessions"}),retrieve:rD({method:"GET",fullPath:"/v1/identity/verification_sessions/{session}"}),update:rD({method:"POST",fullPath:"/v1/identity/verification_sessions/{session}"}),list:rD({method:"GET",fullPath:"/v1/identity/verification_sessions",methodType:"list"}),cancel:rD({method:"POST",fullPath:"/v1/identity/verification_sessions/{session}/cancel"}),redact:rD({method:"POST",fullPath:"/v1/identity/verification_sessions/{session}/redact"})}),rM=Q.method,rF=Q.extend({create:rM({method:"POST",fullPath:"/v1/accounts"}),retrieve(e,...t){return"string"==typeof e?rM({method:"GET",fullPath:"/v1/accounts/{id}"}).apply(this,[e,...t]):(null==e&&[].shift.apply([e,...t]),rM({method:"GET",fullPath:"/v1/account"}).apply(this,[e,...t]))},update:rM({method:"POST",fullPath:"/v1/accounts/{account}"}),list:rM({method:"GET",fullPath:"/v1/accounts",methodType:"list"}),del:rM({method:"DELETE",fullPath:"/v1/accounts/{account}"}),createExternalAccount:rM({method:"POST",fullPath:"/v1/accounts/{account}/external_accounts"}),createLoginLink:rM({method:"POST",fullPath:"/v1/accounts/{account}/login_links"}),createPerson:rM({method:"POST",fullPath:"/v1/accounts/{account}/persons"}),deleteExternalAccount:rM({method:"DELETE",fullPath:"/v1/accounts/{account}/external_accounts/{id}"}),deletePerson:rM({method:"DELETE",fullPath:"/v1/accounts/{account}/persons/{person}"}),listCapabilities:rM({method:"GET",fullPath:"/v1/accounts/{account}/capabilities",methodType:"list"}),listExternalAccounts:rM({method:"GET",fullPath:"/v1/accounts/{account}/external_accounts",methodType:"list"}),listPersons:rM({method:"GET",fullPath:"/v1/accounts/{account}/persons",methodType:"list"}),reject:rM({method:"POST",fullPath:"/v1/accounts/{account}/reject"}),retrieveCurrent:rM({method:"GET",fullPath:"/v1/account"}),retrieveCapability:rM({method:"GET",fullPath:"/v1/accounts/{account}/capabilities/{capability}"}),retrieveExternalAccount:rM({method:"GET",fullPath:"/v1/accounts/{account}/external_accounts/{id}"}),retrievePerson:rM({method:"GET",fullPath:"/v1/accounts/{account}/persons/{person}"}),updateCapability:rM({method:"POST",fullPath:"/v1/accounts/{account}/capabilities/{capability}"}),updateExternalAccount:rM({method:"POST",fullPath:"/v1/accounts/{account}/external_accounts/{id}"}),updatePerson:rM({method:"POST",fullPath:"/v1/accounts/{account}/persons/{person}"})}),rq=Q.method,rL=Q.extend({create:rq({method:"POST",fullPath:"/v1/account_links"})}),rU=Q.method,rH=Q.extend({create:rU({method:"POST",fullPath:"/v1/account_sessions"})}),r$=Q.method,rz=Q.extend({create:r$({method:"POST",fullPath:"/v1/apple_pay/domains"}),retrieve:r$({method:"GET",fullPath:"/v1/apple_pay/domains/{domain}"}),list:r$({method:"GET",fullPath:"/v1/apple_pay/domains",methodType:"list"}),del:r$({method:"DELETE",fullPath:"/v1/apple_pay/domains/{domain}"})}),rB=Q.method,rK=Q.extend({retrieve:rB({method:"GET",fullPath:"/v1/application_fees/{id}"}),list:rB({method:"GET",fullPath:"/v1/application_fees",methodType:"list"}),createRefund:rB({method:"POST",fullPath:"/v1/application_fees/{id}/refunds"}),listRefunds:rB({method:"GET",fullPath:"/v1/application_fees/{id}/refunds",methodType:"list"}),retrieveRefund:rB({method:"GET",fullPath:"/v1/application_fees/{fee}/refunds/{id}"}),updateRefund:rB({method:"POST",fullPath:"/v1/application_fees/{fee}/refunds/{id}"})}),rW=Q.method,rV=Q.extend({retrieve:rW({method:"GET",fullPath:"/v1/balance"})}),rJ=Q.method,rY=Q.extend({retrieve:rJ({method:"GET",fullPath:"/v1/balance_settings"}),update:rJ({method:"POST",fullPath:"/v1/balance_settings"})}),rX=Q.method,rQ=Q.extend({retrieve:rX({method:"GET",fullPath:"/v1/balance_transactions/{id}"}),list:rX({method:"GET",fullPath:"/v1/balance_transactions",methodType:"list"})}),rZ=Q.method,r1=Q.extend({create:rZ({method:"POST",fullPath:"/v1/charges"}),retrieve:rZ({method:"GET",fullPath:"/v1/charges/{charge}"}),update:rZ({method:"POST",fullPath:"/v1/charges/{charge}"}),list:rZ({method:"GET",fullPath:"/v1/charges",methodType:"list"}),capture:rZ({method:"POST",fullPath:"/v1/charges/{charge}/capture"}),search:rZ({method:"GET",fullPath:"/v1/charges/search",methodType:"search"})}),r0=Q.method,r2=Q.extend({retrieve:r0({method:"GET",fullPath:"/v1/confirmation_tokens/{confirmation_token}"})}),r8=Q.method,r3=Q.extend({retrieve:r8({method:"GET",fullPath:"/v1/country_specs/{country}"}),list:r8({method:"GET",fullPath:"/v1/country_specs",methodType:"list"})}),r9=Q.method,r6=Q.extend({create:r9({method:"POST",fullPath:"/v1/coupons"}),retrieve:r9({method:"GET",fullPath:"/v1/coupons/{coupon}"}),update:r9({method:"POST",fullPath:"/v1/coupons/{coupon}"}),list:r9({method:"GET",fullPath:"/v1/coupons",methodType:"list"}),del:r9({method:"DELETE",fullPath:"/v1/coupons/{coupon}"})}),r5=Q.method,r4=Q.extend({create:r5({method:"POST",fullPath:"/v1/credit_notes"}),retrieve:r5({method:"GET",fullPath:"/v1/credit_notes/{id}"}),update:r5({method:"POST",fullPath:"/v1/credit_notes/{id}"}),list:r5({method:"GET",fullPath:"/v1/credit_notes",methodType:"list"}),listLineItems:r5({method:"GET",fullPath:"/v1/credit_notes/{credit_note}/lines",methodType:"list"}),listPreviewLineItems:r5({method:"GET",fullPath:"/v1/credit_notes/preview/lines",methodType:"list"}),preview:r5({method:"GET",fullPath:"/v1/credit_notes/preview"}),voidCreditNote:r5({method:"POST",fullPath:"/v1/credit_notes/{id}/void"})}),r7=Q.method,oe=Q.extend({create:r7({method:"POST",fullPath:"/v1/customer_sessions"})}),ot=Q.method,or=Q.extend({create:ot({method:"POST",fullPath:"/v1/customers"}),retrieve:ot({method:"GET",fullPath:"/v1/customers/{customer}"}),update:ot({method:"POST",fullPath:"/v1/customers/{customer}"}),list:ot({method:"GET",fullPath:"/v1/customers",methodType:"list"}),del:ot({method:"DELETE",fullPath:"/v1/customers/{customer}"}),createBalanceTransaction:ot({method:"POST",fullPath:"/v1/customers/{customer}/balance_transactions"}),createFundingInstructions:ot({method:"POST",fullPath:"/v1/customers/{customer}/funding_instructions"}),createSource:ot({method:"POST",fullPath:"/v1/customers/{customer}/sources"}),createTaxId:ot({method:"POST",fullPath:"/v1/customers/{customer}/tax_ids"}),deleteDiscount:ot({method:"DELETE",fullPath:"/v1/customers/{customer}/discount"}),deleteSource:ot({method:"DELETE",fullPath:"/v1/customers/{customer}/sources/{id}"}),deleteTaxId:ot({method:"DELETE",fullPath:"/v1/customers/{customer}/tax_ids/{id}"}),listBalanceTransactions:ot({method:"GET",fullPath:"/v1/customers/{customer}/balance_transactions",methodType:"list"}),listCashBalanceTransactions:ot({method:"GET",fullPath:"/v1/customers/{customer}/cash_balance_transactions",methodType:"list"}),listPaymentMethods:ot({method:"GET",fullPath:"/v1/customers/{customer}/payment_methods",methodType:"list"}),listSources:ot({method:"GET",fullPath:"/v1/customers/{customer}/sources",methodType:"list"}),listTaxIds:ot({method:"GET",fullPath:"/v1/customers/{customer}/tax_ids",methodType:"list"}),retrieveBalanceTransaction:ot({method:"GET",fullPath:"/v1/customers/{customer}/balance_transactions/{transaction}"}),retrieveCashBalance:ot({method:"GET",fullPath:"/v1/customers/{customer}/cash_balance"}),retrieveCashBalanceTransaction:ot({method:"GET",fullPath:"/v1/customers/{customer}/cash_balance_transactions/{transaction}"}),retrievePaymentMethod:ot({method:"GET",fullPath:"/v1/customers/{customer}/payment_methods/{payment_method}"}),retrieveSource:ot({method:"GET",fullPath:"/v1/customers/{customer}/sources/{id}"}),retrieveTaxId:ot({method:"GET",fullPath:"/v1/customers/{customer}/tax_ids/{id}"}),search:ot({method:"GET",fullPath:"/v1/customers/search",methodType:"search"}),updateBalanceTransaction:ot({method:"POST",fullPath:"/v1/customers/{customer}/balance_transactions/{transaction}"}),updateCashBalance:ot({method:"POST",fullPath:"/v1/customers/{customer}/cash_balance"}),updateSource:ot({method:"POST",fullPath:"/v1/customers/{customer}/sources/{id}"}),verifySource:ot({method:"POST",fullPath:"/v1/customers/{customer}/sources/{id}/verify"})}),oo=Q.method,on=Q.extend({retrieve:oo({method:"GET",fullPath:"/v1/disputes/{dispute}"}),update:oo({method:"POST",fullPath:"/v1/disputes/{dispute}"}),list:oo({method:"GET",fullPath:"/v1/disputes",methodType:"list"}),close:oo({method:"POST",fullPath:"/v1/disputes/{dispute}/close"})}),oi=Q.method,oa=Q.extend({create:oi({method:"POST",fullPath:"/v1/ephemeral_keys",validator:(e,t)=>{if(!t.headers||!t.headers["Stripe-Version"])throw Error("Passing apiVersion in a separate options hash is required to create an ephemeral key. See https://stripe.com/docs/api/versioning?lang=node")}}),del:oi({method:"DELETE",fullPath:"/v1/ephemeral_keys/{key}"})}),os=Q.method,ol=Q.extend({retrieve:os({method:"GET",fullPath:"/v1/events/{id}"}),list:os({method:"GET",fullPath:"/v1/events",methodType:"list"})}),ou=Q.method,oc=Q.extend({retrieve:ou({method:"GET",fullPath:"/v1/exchange_rates/{rate_id}"}),list:ou({method:"GET",fullPath:"/v1/exchange_rates",methodType:"list"})}),od=Q.method,oh=Q.extend({create:od({method:"POST",fullPath:"/v1/file_links"}),retrieve:od({method:"GET",fullPath:"/v1/file_links/{link}"}),update:od({method:"POST",fullPath:"/v1/file_links/{link}"}),list:od({method:"GET",fullPath:"/v1/file_links",methodType:"list"})}),op=Q.method,om=Q.extend({create:op({method:"POST",fullPath:"/v1/files",headers:{"Content-Type":"multipart/form-data"},host:"files.stripe.com"}),retrieve:op({method:"GET",fullPath:"/v1/files/{file}"}),list:op({method:"GET",fullPath:"/v1/files",methodType:"list"}),requestDataProcessor:function(e,t,r,o){if(t=t||{},"POST"!==e)return o(null,a(t));this._stripe._platformFunctions.tryBufferData(t).then(e=>o(null,((e,t,r)=>{let o,n,i=(Math.round(1e16*Math.random())+Math.round(1e16*Math.random())).toString();r["Content-Type"]=`multipart/form-data; boundary=${i}`;let a=new TextEncoder,s=new Uint8Array(0),l=a.encode("\r\n");function u(e){let t=s,r=e instanceof Uint8Array?e:new Uint8Array(a.encode(e));(s=new Uint8Array(t.length+r.length+2)).set(t),s.set(r,t.length),s.set(l,s.length-2)}function c(e){return`"${e.replace(/"|"/g,"%22").replace(/\r\n|\r|\n/g," ")}"`}let d=(o={},(n=(e,t)=>{Object.entries(e).forEach(([e,r])=>{let i,a=t?`${t}[${e}]`:e;if(("function"==(i=typeof r)||"object"===i)&&r){if(!(r instanceof Uint8Array)&&!Object.prototype.hasOwnProperty.call(r,"data"))return n(r,a);o[a]=r}else o[a]=String(r)})})(t,null),o);for(let e in d){if(!Object.prototype.hasOwnProperty.call(d,e))continue;let t=d[e];u(`--${i}`),Object.prototype.hasOwnProperty.call(t,"data")?(u(`Content-Disposition: form-data; name=${c(e)}; filename=${c(t.name||"blob")}`),u(`Content-Type: ${t.type||"application/octet-stream"}`),u(""),u(t.data)):(u(`Content-Disposition: form-data; name=${c(e)}`),u(""),u(t))}return u(`--${i}--`),s})(0,e,r))).catch(e=>o(e,null))}}),of=Q.method,oy=Q.extend({create:of({method:"POST",fullPath:"/v1/invoiceitems"}),retrieve:of({method:"GET",fullPath:"/v1/invoiceitems/{invoiceitem}"}),update:of({method:"POST",fullPath:"/v1/invoiceitems/{invoiceitem}"}),list:of({method:"GET",fullPath:"/v1/invoiceitems",methodType:"list"}),del:of({method:"DELETE",fullPath:"/v1/invoiceitems/{invoiceitem}"})}),ov=Q.method,oP=Q.extend({retrieve:ov({method:"GET",fullPath:"/v1/invoice_payments/{invoice_payment}"}),list:ov({method:"GET",fullPath:"/v1/invoice_payments",methodType:"list"})}),og=Q.method,oT=Q.extend({retrieve:og({method:"GET",fullPath:"/v1/invoice_rendering_templates/{template}"}),list:og({method:"GET",fullPath:"/v1/invoice_rendering_templates",methodType:"list"}),archive:og({method:"POST",fullPath:"/v1/invoice_rendering_templates/{template}/archive"}),unarchive:og({method:"POST",fullPath:"/v1/invoice_rendering_templates/{template}/unarchive"})}),o_=Q.method,oE=Q.extend({create:o_({method:"POST",fullPath:"/v1/invoices"}),retrieve:o_({method:"GET",fullPath:"/v1/invoices/{invoice}"}),update:o_({method:"POST",fullPath:"/v1/invoices/{invoice}"}),list:o_({method:"GET",fullPath:"/v1/invoices",methodType:"list"}),del:o_({method:"DELETE",fullPath:"/v1/invoices/{invoice}"}),addLines:o_({method:"POST",fullPath:"/v1/invoices/{invoice}/add_lines"}),attachPayment:o_({method:"POST",fullPath:"/v1/invoices/{invoice}/attach_payment"}),createPreview:o_({method:"POST",fullPath:"/v1/invoices/create_preview"}),finalizeInvoice:o_({method:"POST",fullPath:"/v1/invoices/{invoice}/finalize"}),listLineItems:o_({method:"GET",fullPath:"/v1/invoices/{invoice}/lines",methodType:"list"}),markUncollectible:o_({method:"POST",fullPath:"/v1/invoices/{invoice}/mark_uncollectible"}),pay:o_({method:"POST",fullPath:"/v1/invoices/{invoice}/pay"}),removeLines:o_({method:"POST",fullPath:"/v1/invoices/{invoice}/remove_lines"}),search:o_({method:"GET",fullPath:"/v1/invoices/search",methodType:"search"}),sendInvoice:o_({method:"POST",fullPath:"/v1/invoices/{invoice}/send"}),updateLines:o_({method:"POST",fullPath:"/v1/invoices/{invoice}/update_lines"}),updateLineItem:o_({method:"POST",fullPath:"/v1/invoices/{invoice}/lines/{line_item_id}"}),voidInvoice:o_({method:"POST",fullPath:"/v1/invoices/{invoice}/void"})}),oS=Q.method,ob=Q.extend({retrieve:oS({method:"GET",fullPath:"/v1/mandates/{mandate}"})}),oO=Q.method,ox="connect.stripe.com",ow=Q.extend({basePath:"/",authorizeUrl(e,t){e=e||{};let r="oauth/authorize";return(t=t||{}).express&&(r=`express/${r}`),e.response_type||(e.response_type="code"),e.client_id||(e.client_id=this._stripe.getClientId()),e.scope||(e.scope="read_write"),`https://${ox}/${r}?${a(e)}`},token:oO({method:"POST",path:"oauth/token",host:ox}),deauthorize(e,...t){return e.client_id||(e.client_id=this._stripe.getClientId()),oO({method:"POST",path:"oauth/deauthorize",host:ox}).apply(this,[e,...t])}}),oA=Q.method,oR=Q.extend({retrieve:oA({method:"GET",fullPath:"/v1/payment_attempt_records/{id}"}),list:oA({method:"GET",fullPath:"/v1/payment_attempt_records",methodType:"list"})}),oG=Q.method,oC=Q.extend({create:oG({method:"POST",fullPath:"/v1/payment_intents"}),retrieve:oG({method:"GET",fullPath:"/v1/payment_intents/{intent}"}),update:oG({method:"POST",fullPath:"/v1/payment_intents/{intent}"}),list:oG({method:"GET",fullPath:"/v1/payment_intents",methodType:"list"}),applyCustomerBalance:oG({method:"POST",fullPath:"/v1/payment_intents/{intent}/apply_customer_balance"}),cancel:oG({method:"POST",fullPath:"/v1/payment_intents/{intent}/cancel"}),capture:oG({method:"POST",fullPath:"/v1/payment_intents/{intent}/capture"}),confirm:oG({method:"POST",fullPath:"/v1/payment_intents/{intent}/confirm"}),incrementAuthorization:oG({method:"POST",fullPath:"/v1/payment_intents/{intent}/increment_authorization"}),listAmountDetailsLineItems:oG({method:"GET",fullPath:"/v1/payment_intents/{intent}/amount_details_line_items",methodType:"list"}),search:oG({method:"GET",fullPath:"/v1/payment_intents/search",methodType:"search"}),verifyMicrodeposits:oG({method:"POST",fullPath:"/v1/payment_intents/{intent}/verify_microdeposits"})}),oI=Q.method,oj=Q.extend({create:oI({method:"POST",fullPath:"/v1/payment_links"}),retrieve:oI({method:"GET",fullPath:"/v1/payment_links/{payment_link}"}),update:oI({method:"POST",fullPath:"/v1/payment_links/{payment_link}"}),list:oI({method:"GET",fullPath:"/v1/payment_links",methodType:"list"}),listLineItems:oI({method:"GET",fullPath:"/v1/payment_links/{payment_link}/line_items",methodType:"list"})}),ok=Q.method,oD=Q.extend({create:ok({method:"POST",fullPath:"/v1/payment_method_configurations"}),retrieve:ok({method:"GET",fullPath:"/v1/payment_method_configurations/{configuration}"}),update:ok({method:"POST",fullPath:"/v1/payment_method_configurations/{configuration}"}),list:ok({method:"GET",fullPath:"/v1/payment_method_configurations",methodType:"list"})}),oN=Q.method,oM=Q.extend({create:oN({method:"POST",fullPath:"/v1/payment_method_domains"}),retrieve:oN({method:"GET",fullPath:"/v1/payment_method_domains/{payment_method_domain}"}),update:oN({method:"POST",fullPath:"/v1/payment_method_domains/{payment_method_domain}"}),list:oN({method:"GET",fullPath:"/v1/payment_method_domains",methodType:"list"}),validate:oN({method:"POST",fullPath:"/v1/payment_method_domains/{payment_method_domain}/validate"})}),oF=Q.method,oq=Q.extend({create:oF({method:"POST",fullPath:"/v1/payment_methods"}),retrieve:oF({method:"GET",fullPath:"/v1/payment_methods/{payment_method}"}),update:oF({method:"POST",fullPath:"/v1/payment_methods/{payment_method}"}),list:oF({method:"GET",fullPath:"/v1/payment_methods",methodType:"list"}),attach:oF({method:"POST",fullPath:"/v1/payment_methods/{payment_method}/attach"}),detach:oF({method:"POST",fullPath:"/v1/payment_methods/{payment_method}/detach"})}),oL=Q.method,oU=Q.extend({retrieve:oL({method:"GET",fullPath:"/v1/payment_records/{id}"}),reportPayment:oL({method:"POST",fullPath:"/v1/payment_records/report_payment"}),reportPaymentAttempt:oL({method:"POST",fullPath:"/v1/payment_records/{id}/report_payment_attempt"}),reportPaymentAttemptCanceled:oL({method:"POST",fullPath:"/v1/payment_records/{id}/report_payment_attempt_canceled"}),reportPaymentAttemptFailed:oL({method:"POST",fullPath:"/v1/payment_records/{id}/report_payment_attempt_failed"}),reportPaymentAttemptGuaranteed:oL({method:"POST",fullPath:"/v1/payment_records/{id}/report_payment_attempt_guaranteed"}),reportPaymentAttemptInformational:oL({method:"POST",fullPath:"/v1/payment_records/{id}/report_payment_attempt_informational"}),reportRefund:oL({method:"POST",fullPath:"/v1/payment_records/{id}/report_refund"})}),oH=Q.method,o$=Q.extend({create:oH({method:"POST",fullPath:"/v1/payouts"}),retrieve:oH({method:"GET",fullPath:"/v1/payouts/{payout}"}),update:oH({method:"POST",fullPath:"/v1/payouts/{payout}"}),list:oH({method:"GET",fullPath:"/v1/payouts",methodType:"list"}),cancel:oH({method:"POST",fullPath:"/v1/payouts/{payout}/cancel"}),reverse:oH({method:"POST",fullPath:"/v1/payouts/{payout}/reverse"})}),oz=Q.method,oB=Q.extend({create:oz({method:"POST",fullPath:"/v1/plans"}),retrieve:oz({method:"GET",fullPath:"/v1/plans/{plan}"}),update:oz({method:"POST",fullPath:"/v1/plans/{plan}"}),list:oz({method:"GET",fullPath:"/v1/plans",methodType:"list"}),del:oz({method:"DELETE",fullPath:"/v1/plans/{plan}"})}),oK=Q.method,oW=Q.extend({create:oK({method:"POST",fullPath:"/v1/prices"}),retrieve:oK({method:"GET",fullPath:"/v1/prices/{price}"}),update:oK({method:"POST",fullPath:"/v1/prices/{price}"}),list:oK({method:"GET",fullPath:"/v1/prices",methodType:"list"}),search:oK({method:"GET",fullPath:"/v1/prices/search",methodType:"search"})}),oV=Q.method,oJ=Q.extend({create:oV({method:"POST",fullPath:"/v1/products"}),retrieve:oV({method:"GET",fullPath:"/v1/products/{id}"}),update:oV({method:"POST",fullPath:"/v1/products/{id}"}),list:oV({method:"GET",fullPath:"/v1/products",methodType:"list"}),del:oV({method:"DELETE",fullPath:"/v1/products/{id}"}),createFeature:oV({method:"POST",fullPath:"/v1/products/{product}/features"}),deleteFeature:oV({method:"DELETE",fullPath:"/v1/products/{product}/features/{id}"}),listFeatures:oV({method:"GET",fullPath:"/v1/products/{product}/features",methodType:"list"}),retrieveFeature:oV({method:"GET",fullPath:"/v1/products/{product}/features/{id}"}),search:oV({method:"GET",fullPath:"/v1/products/search",methodType:"search"})}),oY=Q.method,oX=Q.extend({create:oY({method:"POST",fullPath:"/v1/promotion_codes"}),retrieve:oY({method:"GET",fullPath:"/v1/promotion_codes/{promotion_code}"}),update:oY({method:"POST",fullPath:"/v1/promotion_codes/{promotion_code}"}),list:oY({method:"GET",fullPath:"/v1/promotion_codes",methodType:"list"})}),oQ=Q.method,oZ=Q.extend({create:oQ({method:"POST",fullPath:"/v1/quotes"}),retrieve:oQ({method:"GET",fullPath:"/v1/quotes/{quote}"}),update:oQ({method:"POST",fullPath:"/v1/quotes/{quote}"}),list:oQ({method:"GET",fullPath:"/v1/quotes",methodType:"list"}),accept:oQ({method:"POST",fullPath:"/v1/quotes/{quote}/accept"}),cancel:oQ({method:"POST",fullPath:"/v1/quotes/{quote}/cancel"}),finalizeQuote:oQ({method:"POST",fullPath:"/v1/quotes/{quote}/finalize"}),listComputedUpfrontLineItems:oQ({method:"GET",fullPath:"/v1/quotes/{quote}/computed_upfront_line_items",methodType:"list"}),listLineItems:oQ({method:"GET",fullPath:"/v1/quotes/{quote}/line_items",methodType:"list"}),pdf:oQ({method:"GET",fullPath:"/v1/quotes/{quote}/pdf",host:"files.stripe.com",streaming:!0})}),o1=Q.method,o0=Q.extend({create:o1({method:"POST",fullPath:"/v1/refunds"}),retrieve:o1({method:"GET",fullPath:"/v1/refunds/{refund}"}),update:o1({method:"POST",fullPath:"/v1/refunds/{refund}"}),list:o1({method:"GET",fullPath:"/v1/refunds",methodType:"list"}),cancel:o1({method:"POST",fullPath:"/v1/refunds/{refund}/cancel"})}),o2=Q.method,o8=Q.extend({retrieve:o2({method:"GET",fullPath:"/v1/reviews/{review}"}),list:o2({method:"GET",fullPath:"/v1/reviews",methodType:"list"}),approve:o2({method:"POST",fullPath:"/v1/reviews/{review}/approve"})}),o3=Q.method,o9=Q.extend({list:o3({method:"GET",fullPath:"/v1/setup_attempts",methodType:"list"})}),o6=Q.method,o5=Q.extend({create:o6({method:"POST",fullPath:"/v1/setup_intents"}),retrieve:o6({method:"GET",fullPath:"/v1/setup_intents/{intent}"}),update:o6({method:"POST",fullPath:"/v1/setup_intents/{intent}"}),list:o6({method:"GET",fullPath:"/v1/setup_intents",methodType:"list"}),cancel:o6({method:"POST",fullPath:"/v1/setup_intents/{intent}/cancel"}),confirm:o6({method:"POST",fullPath:"/v1/setup_intents/{intent}/confirm"}),verifyMicrodeposits:o6({method:"POST",fullPath:"/v1/setup_intents/{intent}/verify_microdeposits"})}),o4=Q.method,o7=Q.extend({create:o4({method:"POST",fullPath:"/v1/shipping_rates"}),retrieve:o4({method:"GET",fullPath:"/v1/shipping_rates/{shipping_rate_token}"}),update:o4({method:"POST",fullPath:"/v1/shipping_rates/{shipping_rate_token}"}),list:o4({method:"GET",fullPath:"/v1/shipping_rates",methodType:"list"})}),ne=Q.method,nt=Q.extend({create:ne({method:"POST",fullPath:"/v1/sources"}),retrieve:ne({method:"GET",fullPath:"/v1/sources/{source}"}),update:ne({method:"POST",fullPath:"/v1/sources/{source}"}),listSourceTransactions:ne({method:"GET",fullPath:"/v1/sources/{source}/source_transactions",methodType:"list"}),verify:ne({method:"POST",fullPath:"/v1/sources/{source}/verify"})}),nr=Q.method,no=Q.extend({create:nr({method:"POST",fullPath:"/v1/subscription_items"}),retrieve:nr({method:"GET",fullPath:"/v1/subscription_items/{item}"}),update:nr({method:"POST",fullPath:"/v1/subscription_items/{item}"}),list:nr({method:"GET",fullPath:"/v1/subscription_items",methodType:"list"}),del:nr({method:"DELETE",fullPath:"/v1/subscription_items/{item}"})}),nn=Q.method,ni=Q.extend({create:nn({method:"POST",fullPath:"/v1/subscription_schedules"}),retrieve:nn({method:"GET",fullPath:"/v1/subscription_schedules/{schedule}"}),update:nn({method:"POST",fullPath:"/v1/subscription_schedules/{schedule}"}),list:nn({method:"GET",fullPath:"/v1/subscription_schedules",methodType:"list"}),cancel:nn({method:"POST",fullPath:"/v1/subscription_schedules/{schedule}/cancel"}),release:nn({method:"POST",fullPath:"/v1/subscription_schedules/{schedule}/release"})}),na=Q.method,ns=Q.extend({create:na({method:"POST",fullPath:"/v1/subscriptions"}),retrieve:na({method:"GET",fullPath:"/v1/subscriptions/{subscription_exposed_id}"}),update:na({method:"POST",fullPath:"/v1/subscriptions/{subscription_exposed_id}"}),list:na({method:"GET",fullPath:"/v1/subscriptions",methodType:"list"}),cancel:na({method:"DELETE",fullPath:"/v1/subscriptions/{subscription_exposed_id}"}),deleteDiscount:na({method:"DELETE",fullPath:"/v1/subscriptions/{subscription_exposed_id}/discount"}),migrate:na({method:"POST",fullPath:"/v1/subscriptions/{subscription}/migrate"}),resume:na({method:"POST",fullPath:"/v1/subscriptions/{subscription}/resume"}),search:na({method:"GET",fullPath:"/v1/subscriptions/search",methodType:"search"})}),nl=Q.method,nu=Q.extend({retrieve:nl({method:"GET",fullPath:"/v1/tax_codes/{id}"}),list:nl({method:"GET",fullPath:"/v1/tax_codes",methodType:"list"})}),nc=Q.method,nd=Q.extend({create:nc({method:"POST",fullPath:"/v1/tax_ids"}),retrieve:nc({method:"GET",fullPath:"/v1/tax_ids/{id}"}),list:nc({method:"GET",fullPath:"/v1/tax_ids",methodType:"list"}),del:nc({method:"DELETE",fullPath:"/v1/tax_ids/{id}"})}),nh=Q.method,np=Q.extend({create:nh({method:"POST",fullPath:"/v1/tax_rates"}),retrieve:nh({method:"GET",fullPath:"/v1/tax_rates/{tax_rate}"}),update:nh({method:"POST",fullPath:"/v1/tax_rates/{tax_rate}"}),list:nh({method:"GET",fullPath:"/v1/tax_rates",methodType:"list"})}),nm=Q.method,nf=Q.extend({create:nm({method:"POST",fullPath:"/v1/tokens"}),retrieve:nm({method:"GET",fullPath:"/v1/tokens/{token}"})}),ny=Q.method,nv=Q.extend({create:ny({method:"POST",fullPath:"/v1/topups"}),retrieve:ny({method:"GET",fullPath:"/v1/topups/{topup}"}),update:ny({method:"POST",fullPath:"/v1/topups/{topup}"}),list:ny({method:"GET",fullPath:"/v1/topups",methodType:"list"}),cancel:ny({method:"POST",fullPath:"/v1/topups/{topup}/cancel"})}),nP=Q.method,ng=Q.extend({create:nP({method:"POST",fullPath:"/v1/transfers"}),retrieve:nP({method:"GET",fullPath:"/v1/transfers/{transfer}"}),update:nP({method:"POST",fullPath:"/v1/transfers/{transfer}"}),list:nP({method:"GET",fullPath:"/v1/transfers",methodType:"list"}),createReversal:nP({method:"POST",fullPath:"/v1/transfers/{id}/reversals"}),listReversals:nP({method:"GET",fullPath:"/v1/transfers/{id}/reversals",methodType:"list"}),retrieveReversal:nP({method:"GET",fullPath:"/v1/transfers/{transfer}/reversals/{id}"}),updateReversal:nP({method:"POST",fullPath:"/v1/transfers/{transfer}/reversals/{id}"})}),nT=Q.method,n_=Q.extend({create:nT({method:"POST",fullPath:"/v1/webhook_endpoints"}),retrieve:nT({method:"GET",fullPath:"/v1/webhook_endpoints/{webhook_endpoint}"}),update:nT({method:"POST",fullPath:"/v1/webhook_endpoints/{webhook_endpoint}"}),list:nT({method:"GET",fullPath:"/v1/webhook_endpoints",methodType:"list"}),del:nT({method:"DELETE",fullPath:"/v1/webhook_endpoints/{webhook_endpoint}"})}),nE=er("apps",{Secrets:rr}),nS=er("billing",{Alerts:eP,CreditBalanceSummary:eH,CreditBalanceTransactions:ez,CreditGrants:eK,MeterEventAdjustments:tl,MeterEvents:ty,Meters:tT}),nb=er("billingPortal",{Configurations:ek,Sessions:rn}),nO=er("checkout",{Sessions:ra}),nx=er("climate",{Orders:tb,Products:tL,Suppliers:rh}),nw=er("entitlements",{ActiveEntitlements:ey,Features:e4}),nA=er("financialConnections",{Accounts:el,Sessions:rl,Transactions:rT}),nR=er("forwarding",{Requests:t4}),nG=er("identity",{VerificationReports:rk,VerificationSessions:rN}),nC=er("issuing",{Authorizations:eE,Cardholders:eA,Cards:eG,Disputes:e1,PersonalizationDesigns:tk,PhysicalBundles:tF,Tokens:ry,Transactions:rE}),nI=er("radar",{EarlyFraudWarnings:e2,ValueListItems:rG,ValueLists:rI}),nj=er("reporting",{ReportRuns:t3,ReportTypes:t6}),nk=er("sigma",{ScheduledQueryRuns:re}),nD=er("tax",{Associations:eT,Calculations:ex,Registrations:t2,Settings:rc,Transactions:rb}),nN=er("terminal",{Configurations:eN,ConnectionTokens:eL,Locations:ta,OnboardingLinks:tE,Readers:tH}),nM=er("testHelpers",{ConfirmationTokens:eF,Customers:eY,Refunds:t1,TestClocks:rm,Issuing:er("issuing",{Authorizations:eb,Cards:eI,PersonalizationDesigns:tN,Transactions:rx}),Terminal:er("terminal",{Readers:tz}),Treasury:er("treasury",{InboundTransfers:tr,OutboundPayments:tx,OutboundTransfers:tG,ReceivedCredits:tK,ReceivedDebits:tY})}),nF=er("treasury",{CreditReversals:eV,DebitReversals:eQ,FinancialAccounts:te,InboundTransfers:tn,OutboundPayments:tA,OutboundTransfers:tI,ReceivedCredits:tV,ReceivedDebits:tQ,TransactionEntries:rP,Transactions:rA}),nq=er("v2",{Billing:er("billing",{MeterEventAdjustments:tc,MeterEventSession:th,MeterEventStream:tm,MeterEvents:tP}),Core:er("core",{AccountLinks:en,AccountTokens:ea,Accounts:em,EventDestinations:e3,Events:e6})});e.s(["Apps",0,nE,"Billing",0,nS,"BillingPortal",0,nb,"Checkout",0,nO,"Climate",0,nx,"Entitlements",0,nw,"FinancialConnections",0,nA,"Forwarding",0,nR,"Identity",0,nG,"Issuing",0,nC,"Radar",0,nI,"Reporting",0,nj,"Sigma",0,nk,"Tax",0,nD,"Terminal",0,nN,"TestHelpers",0,nM,"Treasury",0,nF,"V2",0,nq],56962),e.i(56962),e.s(["Account",0,rF,"AccountLinks",0,rL,"AccountSessions",0,rH,"Accounts",0,rF,"ApplePayDomains",0,rz,"ApplicationFees",0,rK,"Apps",0,nE,"Balance",0,rV,"BalanceSettings",0,rY,"BalanceTransactions",0,rQ,"Billing",0,nS,"BillingPortal",0,nb,"Charges",0,r1,"Checkout",0,nO,"Climate",0,nx,"ConfirmationTokens",0,r2,"CountrySpecs",0,r3,"Coupons",0,r6,"CreditNotes",0,r4,"CustomerSessions",0,oe,"Customers",0,or,"Disputes",0,on,"Entitlements",0,nw,"EphemeralKeys",0,oa,"Events",0,ol,"ExchangeRates",0,oc,"FileLinks",0,oh,"Files",0,om,"FinancialConnections",0,nA,"Forwarding",0,nR,"Identity",0,nG,"InvoiceItems",0,oy,"InvoicePayments",0,oP,"InvoiceRenderingTemplates",0,oT,"Invoices",0,oE,"Issuing",0,nC,"Mandates",0,ob,"OAuth",0,ow,"PaymentAttemptRecords",0,oR,"PaymentIntents",0,oC,"PaymentLinks",0,oj,"PaymentMethodConfigurations",0,oD,"PaymentMethodDomains",0,oM,"PaymentMethods",0,oq,"PaymentRecords",0,oU,"Payouts",0,o$,"Plans",0,oB,"Prices",0,oW,"Products",0,oJ,"PromotionCodes",0,oX,"Quotes",0,oZ,"Radar",0,nI,"Refunds",0,o0,"Reporting",0,nj,"Reviews",0,o8,"SetupAttempts",0,o9,"SetupIntents",0,o5,"ShippingRates",0,o7,"Sigma",0,nk,"Sources",0,nt,"SubscriptionItems",0,no,"SubscriptionSchedules",0,ni,"Subscriptions",0,ns,"Tax",0,nD,"TaxCodes",0,nu,"TaxIds",0,nd,"TaxRates",0,np,"Terminal",0,nN,"TestHelpers",0,nM,"Tokens",0,nf,"Topups",0,nv,"Transfers",0,ng,"Treasury",0,nF,"V2",0,nq,"WebhookEndpoints",0,n_],85310);var nL=e.i(85310);let nU="api.stripe.com",nH="/v1/",n$=["name","version","url","partner_id"],nz=["authenticator","apiVersion","typescript","maxNetworkRetries","httpAgent","httpClient","timeout","host","port","protocol","telemetry","appInfo","stripeAccount","stripeContext"],nB=function(e,t=e=>new B(e,Q.MAX_BUFFERED_REQUEST_METRICS)){function o(r,n={}){if(!(this instanceof o))return new o(r,n);let i=this._getPropsFromConfig(n);this._platformFunctions=e,Object.defineProperty(this,"_emitter",{value:this._platformFunctions.createEmitter(),enumerable:!1,configurable:!1,writable:!1}),this.VERSION=o.PACKAGE_VERSION,this.on=this._emitter.on.bind(this._emitter),this.once=this._emitter.once.bind(this._emitter),this.off=this._emitter.removeListener.bind(this._emitter);let a=i.httpAgent||null;this._api={host:i.host||nU,port:i.port||"443",protocol:i.protocol||"https",basePath:nH,version:i.apiVersion||ee,timeout:p("timeout",i.timeout,8e4),maxNetworkRetries:p("maxNetworkRetries",i.maxNetworkRetries,2),agent:a,httpClient:i.httpClient||(a?this._platformFunctions.createNodeHttpClient(a):this._platformFunctions.createDefaultHttpClient()),dev:!1,stripeAccount:i.stripeAccount||null,stripeContext:i.stripeContext||null};let s=i.typescript||!1;s!==o.USER_AGENT.typescript&&(o.USER_AGENT.typescript=s),i.appInfo&&this._setAppInfo(i.appInfo),this._prepResources(),this._setAuthenticator(r,i.authenticator),this.errors=z,this.webhooks=o.webhooks,this._prevRequestMetrics=[],this._enableTelemetry=!1!==i.telemetry,this._requestSender=t(this),this.StripeResource=o.StripeResource}return o.PACKAGE_VERSION="20.2.0",o.API_VERSION=ee,o.USER_AGENT=Object.assign({bindings_version:o.PACKAGE_VERSION,lang:"node",publisher:"stripe",uname:null,typescript:!1},void 0===r.default?{}:{lang_version:r.default.version,platform:r.default.platform}),o.StripeResource=Q,o.StripeContext=Z,o.resources=nL,o.HttpClient=P,o.HttpClientResponse=g,o.CryptoProvider=E,o.webhooks=function(e){let t={DEFAULT_TOLERANCE:300,signature:null,constructEvent(e,r,o,n,i,a){try{if(!this.signature)throw Error("ERR: missing signature helper, unable to verify");this.signature.verifyHeader(e,r,o,n||t.DEFAULT_TOLERANCE,i,a)}catch(e){throw e instanceof S&&(e.message+="\nUse `await constructEventAsync(...)` instead of `constructEvent(...)`"),e}return e instanceof Uint8Array?JSON.parse(new TextDecoder("utf8").decode(e)):JSON.parse(e)},async constructEventAsync(e,r,o,n,i,a){if(!this.signature)throw Error("ERR: missing signature helper, unable to verify");return await this.signature.verifyHeaderAsync(e,r,o,n||t.DEFAULT_TOLERANCE,i,a),e instanceof Uint8Array?JSON.parse(new TextDecoder("utf8").decode(e)):JSON.parse(e)},generateTestHeaderString:function(e){let t=l(e),r=t.signature||t.cryptoProvider.computeHMACSignature(t.payloadString,t.secret);return t.generateHeaderString(r)},generateTestHeaderStringAsync:async function(e){let t=l(e),r=t.signature||await t.cryptoProvider.computeHMACSignatureAsync(t.payloadString,t.secret);return t.generateHeaderString(r)}},r={EXPECTED_SCHEME:"v1",verifyHeader(e,t,r,a,l,u){let{decodedHeader:c,decodedPayload:d,details:h,suspectPayloadType:p}=n(e,t,this.EXPECTED_SCHEME),m=/\s/.test(r),f=(l=l||s()).computeHMACSignature(o(d,h),r);return i(d,c,h,f,a,p,m,u),!0},async verifyHeaderAsync(e,t,r,a,l,u){let{decodedHeader:c,decodedPayload:d,details:h,suspectPayloadType:p}=n(e,t,this.EXPECTED_SCHEME),m=/\s/.test(r);l=l||s();let f=await l.computeHMACSignatureAsync(o(d,h),r);return i(d,c,h,f,a,p,m,u)}};function o(e,t){return`${t.timestamp}.${e}`}function n(e,t,r){var o,n;if(!e)throw new q(t,e,{message:"No webhook payload was provided."});let i="string"!=typeof e&&!(e instanceof Uint8Array),a=new TextDecoder("utf8"),s=e instanceof Uint8Array?a.decode(e):e;if(Array.isArray(t))throw Error("Unexpected: An array was passed as a header, which should not be possible for the stripe-signature header.");if(null==t||""==t)throw new q(t,e,{message:"No stripe-signature header value was provided."});let l=t instanceof Uint8Array?a.decode(t):t,u=(o=l,n=r,"string"!=typeof o?null:o.split(",").reduce((e,t)=>{let r=t.split("=");return"t"===r[0]&&(e.timestamp=parseInt(r[1],10)),r[0]===n&&e.signatures.push(r[1]),e},{timestamp:-1,signatures:[]}));if(!u||-1===u.timestamp)throw new q(l,s,{message:"Unable to extract timestamp and signatures from header"});if(!u.signatures.length)throw new q(l,s,{message:"No signatures found with expected scheme"});return{decodedPayload:s,decodedHeader:l,details:u,suspectPayloadType:i}}function i(t,r,o,n,i,a,s,l){let u=!!o.signatures.filter(e.secureCompare.bind(e,n)).length,c="\nLearn more about webhook signing and explore webhook integration examples for various frameworks at https://docs.stripe.com/webhooks/signature",d=s?"\n\nNote: The provided signing secret contains whitespace. This often indicates an extra newline or space is in the value":"";if(!u){if(a)throw new q(r,t,{message:"Webhook payload must be provided as a string or a Buffer (https://nodejs.org/api/buffer.html) instance representing the _raw_ request body.Payload was provided as a parsed JavaScript object instead. \nSignature verification is impossible without access to the original signed material. \n"+c+"\n"+d});throw new q(r,t,{message:"No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? \n If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.\n"+c+"\n"+d})}let h=Math.floor(("number"==typeof l?l:Date.now())/1e3)-o.timestamp;if(i>0&&h>i)throw new q(r,t,{message:"Timestamp outside the tolerance zone"});return!0}let a=null;function s(){return a||(a=e.createDefaultCryptoProvider()),a}function l(e){if(!e)throw new C({message:"Options are required"});let t=Math.floor(e.timestamp)||Math.floor(Date.now()/1e3),o=e.scheme||r.EXPECTED_SCHEME,n=e.cryptoProvider||s(),i=`${t}.${e.payload}`;return Object.assign(Object.assign({},e),{timestamp:t,scheme:o,cryptoProvider:n,payloadString:i,generateHeaderString:e=>`t=${t},${o}=${e}`})}return t.signature=r,t}(e),o.errors=z,o.createNodeHttpClient=e.createNodeHttpClient,o.createFetchHttpClient=e.createFetchHttpClient,o.createNodeCryptoProvider=e.createNodeCryptoProvider,o.createSubtleCryptoProvider=e.createSubtleCryptoProvider,o.prototype={_appInfo:void 0,on:null,off:null,once:null,VERSION:null,StripeResource:null,webhooks:null,errors:null,_api:null,_prevRequestMetrics:null,_emitter:null,_enableTelemetry:null,_requestSender:null,_platformFunctions:null,rawRequest(e,t,r,o){return this._requestSender._rawRequest(e,t,r,o)},_setAuthenticator(e,t){if(e&&t)throw Error("Can't specify both apiKey and authenticator");if(!e&&!t)throw Error("Neither apiKey nor config.authenticator provided");this._authenticator=e?m(e):t},_setAppInfo(e){if(e&&"object"!=typeof e)throw Error("AppInfo must be an object.");if(e&&!e.name)throw Error("AppInfo.name is required");e=e||{},this._appInfo=n$.reduce((t,r)=>("string"==typeof e[r]&&((t=t||{})[r]=e[r]),t),{})},_setApiField(e,t){this._api[e]=t},getApiField(e){return this._api[e]},setClientId(e){this._clientId=e},getClientId(){return this._clientId},getConstant:e=>{switch(e){case"DEFAULT_HOST":return nU;case"DEFAULT_PORT":return"443";case"DEFAULT_BASE_PATH":return nH;case"DEFAULT_API_VERSION":return ee;case"DEFAULT_TIMEOUT":return 8e4;case"MAX_NETWORK_RETRY_DELAY_SEC":return 5;case"INITIAL_NETWORK_RETRY_DELAY_SEC":return .5}return o[e]},getMaxNetworkRetries(){return this.getApiField("maxNetworkRetries")},_setApiNumberField(e,t,r){let o=p(e,t,r);this._setApiField(e,o)},getMaxNetworkRetryDelay:()=>5,getInitialNetworkRetryDelay:()=>.5,getClientUserAgent(e){return this.getClientUserAgentSeeded(o.USER_AGENT,e)},getClientUserAgentSeeded(e,t){this._platformFunctions.getUname().then(r=>{var o;let n={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=encodeURIComponent(null!=(o=e[t])?o:"null"));n.uname=encodeURIComponent(r||"UNKNOWN");let i=this.getApiField("httpClient");i&&(n.httplib=encodeURIComponent(i.getClientName())),this._appInfo&&(n.application=this._appInfo),t(JSON.stringify(n))})},getAppInfoAsString(){if(!this._appInfo)return"";let e=this._appInfo.name;return this._appInfo.version&&(e+=`/${this._appInfo.version}`),this._appInfo.url&&(e+=` (${this._appInfo.url})`),e},getTelemetryEnabled(){return this._enableTelemetry},_prepResources(){for(let e in nL)Object.prototype.hasOwnProperty.call(nL,e)&&(this["OAuth"===e?"oauth":e[0].toLowerCase()+e.substring(1)]=new nL[e](this))},_getPropsFromConfig(e){if(!e)return{};let t="string"==typeof e;if(!(e===Object(e)&&!Array.isArray(e))&&!t)throw Error("Config must either be an object or a string");if(t)return{apiVersion:e};if(Object.keys(e).filter(e=>!nz.includes(e)).length>0)throw Error(`Config object may only contain the following: ${nz.join(", ")}`);return e},parseEventNotification(e,t,r,o,n,i){let a=this.webhooks.constructEvent(e,t,r,o,n,i);return a.context&&(a.context=Z.parse(a.context)),a.fetchEvent=()=>this._requestSender._rawRequest("GET",`/v2/core/events/${a.id}`,void 0,{stripeContext:a.context},["fetch_event"]),a.fetchRelatedObject=()=>a.related_object?this._requestSender._rawRequest("GET",a.related_object.url,void 0,{stripeContext:a.context},["fetch_related_object"]):Promise.resolve(null),a}},o}(new class extends x{getUname(){return Promise.resolve(null)}createEmitter(){return new A}tryBufferData(e){if(e.file.data instanceof ReadableStream)throw Error("Uploading a file as a stream is not supported in non-Node environments. Please open or upvote an issue at github.com/stripe/stripe-node if you use this, detailing your use-case.");return Promise.resolve(e)}createNodeHttpClient(){throw Error("Stripe: `createNodeHttpClient()` is not available in non-Node environments. Please use `createFetchHttpClient()` instead.")}createDefaultHttpClient(){return super.createFetchHttpClient()}createNodeCryptoProvider(){throw Error("Stripe: `createNodeCryptoProvider()` is not available in non-Node environments. Please use `createSubtleCryptoProvider()` instead.")}createDefaultCryptoProvider(){return this.createSubtleCryptoProvider()}}),nK=r.default.env.STRIPE_SECRET_KEY;nK||console.warn("[Stripe] STRIPE_SECRET_KEY not configured"),nK&&new nB(nK,{apiVersion:"2025-12-15.clover",typescript:!0}),e.s(["STRIPE_PRODUCTS",0,{USA_STATES:{productId:"usa_states",stripeProductId:"prod_TpnE0QLI0r1lp8",stripePriceId:"price_1Ss7eGPAXjWpvqKKbJROOCDt",priceAmount:499,price:"$4.99",currency:"usd",name:"USA States Mode",description:"Unlock exclusive USA States gameplay mode"},CANADA_MODE:{productId:"canada_mode",stripeProductId:"prod_U6LAGaBIAjdUAb",stripePriceId:"price_1T88ThPAXjWpvqKKJRxAJ5JM",priceAmount:199,price:"$1.99",currency:"usd",name:"Canada Mode",description:"Unlock Canada provinces & territories mode"},EUROPE_MODE:{productId:"europe_mode",stripeProductId:"prod_U7jg69PCebhEbj",stripePriceId:"price_1T9UD4PAXjWpvqKKbFR148tu",priceAmount:399,price:"$3.99",currency:"usd",name:"Europe Mode",description:"Unlock Europe countries mode"},PRO_MONTHLY:{productId:"pro_monthly",stripeProductId:"prod_U6LEJYpilT2spe",stripePriceId:"price_1T88YSPAXjWpvqKK7wRsTYzx",priceAmount:599,price:"$5.99",currency:"usd",name:"GeoHunter Pro",description:"All modes + weekly challenge"},PRO_YEARLY:{productId:"pro_yearly",stripeProductId:"prod_U6LEJYpilT2spe",stripePriceId:"price_1TCgXsPAXjWpvqKKfryDpRlz",priceAmount:5999,price:"$59.99/yr",currency:"usd",name:"GeoHunter Pro (Yearly)",description:"All modes + weekly challenge — annual"},EXPLORER_MONTHLY:{productId:"explorer_monthly",stripeProductId:"prod_U6LEFzLzS2N27A",stripePriceId:"price_1T88XrPAXjWpvqKKjeX31FqN",priceAmount:299,price:"$2.99",currency:"usd",name:"GeoHunter Explorer (No Ads)",description:"Remove all ads"},EXPLORER_YEARLY:{productId:"explorer_yearly",stripeProductId:"prod_U6LEFzLzS2N27A",stripePriceId:"price_1TCgYePAXjWpvqKKOpUweNJM",priceAmount:2999,price:"$29.99/yr",currency:"usd",name:"GeoHunter Explorer (Yearly)",description:"Remove all ads — annual"}}],89132)}]);