1var gt=Object.defineProperty;var St=(r,e,t)=>e in r?gt(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var sr=(r,e,t)=>St(r,typeof e!="symbol"?e+"":e,t);import{as as kr,bs as N,a_ as dr,bb as Hr,ba as wt,be as bt,aw as vr,bk as Ot,aQ as At}from"./index-Ugp7TO5J.js";import{N as Et}from"./NavigationPath-BSTPkn4h.js";const T=kr.create({baseURL:"https://api.meupedagio.com"});T.interceptors.request.use(async r=>{try{let t=N.getState().auth;t.expiresIn&&dr.utc(t.expiresIn).toDate().getTime()<dr.utc().toDate().getTime()&&(await zr(t),t=N.getState().auth),t&&t.idToken&&(r.headers.Authorization=`Bearer ${t.idToken}`)}catch(e){console.error(e),N.dispatch(Hr()),window.location.href=Et.auth.sign_in,window.location.reload()}return r});T.interceptors.response.use(r=>r,async r=>{var e,t,n,a;if(((e=r.response)==null?void 0:e.status)===401)try{await zr()}catch{return N.dispatch(Hr()),window.location.reload(),Promise.reject({message:"Usuário não autenticado"})}return((t=r.response)==null?void 0:t.status)===403?Promise.reject({message:"Recurso proibido"}):((n=r.response)==null?void 0:n.status)===413?Promise.reject({message:"Arquivo muito grande, por favor substitua por um arquivo mais leve"}):(a=r==null?void 0:r.response)!=null&&a.data?Promise.reject(r.response.data):r.message==="Network Error"?Promise.reject({message:"Falha de conexão com o servidor"}):Promise.reject(r)});async function zr(r){var e,t;if(r??(r=N.getState().auth),r&&r.refreshToken){const n=((e=N.getState().auth.user)==null?void 0:e.professional)??null,a=await kr.post("https://api.meupedagio.com/api/auth/refresh-token",{email:(t=r.user)==null?void 0:t.email,refreshToken:r.refreshToken});N.dispatch(wt(a.data)),N.dispatch(bt(n))}}var ee=TypeError,ir=typeof Map=="function"&&Map.prototype,De=Object.getOwnPropertyDescriptor&&ir?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Oe=ir&&De&&typeof De.get=="function"?De.get:null,hr=ir&&Map.prototype.forEach,lr=typeof Set=="function"&&Set.prototype,Me=Object.getOwnPropertyDescriptor&&lr?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ae=lr&&Me&&typeof Me.get=="function"?Me.get:null,mr=lr&&Set.prototype.forEach,Pt=typeof WeakMap=="function"&&WeakMap.prototype,oe=Pt?WeakMap.prototype.has:null,$t=typeof WeakSet=="function"&&WeakSet.prototype,ie=$t?WeakSet.prototype.has:null,xt=typeof WeakRef=="function"&&WeakRef.prototype,gr=xt?WeakRef.prototype.deref:null,Rt=Boolean.prototype.valueOf,It=Object.prototype.toString,_t=Function.prototype.toString,Ft=String.prototype.match,fr=String.prototype.slice,C=String.prototype.replace,Dt=String.prototype.toUpperCase,Sr=String.prototype.toLowerCase,Kr=RegExp.prototype.test,wr=Array.prototype.concat,$=Array.prototype.join,Mt=Array.prototype.slice,br=Math.floor,er=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Te=Object.getOwnPropertySymbols,rr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,X=typeof Symbol=="function"&&typeof Symbol.iterator=="object",le=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===X||!0)?Symbol.toStringTag:null,Qr=Object.prototype.propertyIsEnumerable,Or=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function Ar(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||Kr.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-br(-r):br(r);if(n!==r){var a=String(n),o=fr.call(e,a.length+1);return C.call(a,t,"$&_")+"."+C.call(C.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return C.call(e,t,"$&_")}var tr=Ot,Er=tr.custom,Pr=Jr(Er)?Er:null,Vr={__proto__:null,double:'"',single:"'"},Tt={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},$e=function r(e,t,n,a){var o=t||{};if(I(o,"quoteStyle")&&!I(Vr,o.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(I(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=I(o,"customInspect")?o.customInspect:!0;if(typeof l!="boolean"&&l!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
vendor: 9,419 bytes, lines 1-4
1if(I(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(I(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var p=o.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Xr(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var f=String(e);return p?Ar(e,f):f}if(typeof e=="bigint"){var c=String(e)+"n";return p?Ar(e,c):c}var u=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=u&&u>0&&typeof e=="object")return nr(e)?"[Array]":"[Object]";var y=Xt(o,n);if(typeof a>"u")a=[];else if(Yr(a,e)>=0)return"[Circular]";function i(A,M,R){if(M&&(a=Mt.call(a),a.push(M)),R){var te={depth:o.depth};return I(o,"quoteStyle")&&(te.quoteStyle=o.quoteStyle),r(A,te,n+1,a)}return r(A,o,n+1,a)}if(typeof e=="function"&&!$r(e)){var s=kt(e),d=he(e,i);return"[Function"+(s?": "+s:" (anonymous)")+"]"+(d.length>0?" { "+$.call(d,", ")+" }":"")}if(Jr(e)){var m=X?C.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):rr.call(e);return typeof e=="object"&&!X?ne(m):m}if(jt(e)){for(var b="<"+Sr.call(String(e.nodeName)),O=e.attributes||[],_=0;_<O.length;_++)b+=" "+O[_].name+"="+jr(Nt(O[_].value),"double",o);return b+=">",e.childNodes&&e.childNodes.length&&(b+="..."),b+="</"+Sr.call(String(e.nodeName))+">",b}if(nr(e)){if(e.length===0)return"[]";var h=he(e,i);return y&&!Yt(h)?"["+ar(h,y)+"]":"[ "+$.call(h,", ")+" ]"}if(Lt(e)){var F=he(e,i);return!("cause"in Error.prototype)&&"cause"in e&&!Qr.call(e,"cause")?"{ ["+String(e)+"] "+$.call(wr.call("[cause]: "+i(e.cause),F),", ")+" }":F.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+$.call(F,", ")+" }"}if(typeof e=="object"&&l){if(Pr&&typeof e[Pr]=="function"&&tr)return tr(e,{depth:u-n});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Ht(e)){var B=[];return hr&&hr.call(e,function(A,M){B.push(i(M,e,!0)+" => "+i(A,e))}),xr("Map",Oe.call(e),B,y)}if(Qt(e)){var re=[];return mr&&mr.call(e,function(A){re.push(i(A,e))}),xr("Set",Ae.call(e),re,y)}if(zt(e))return Ne("WeakMap");if(Vt(e))return Ne("WeakSet");if(Kt(e))return Ne("WeakRef");if(Ut(e))return ne(i(Number(e)));if(qt(e))return ne(i(er.call(e)));if(Wt(e))return ne(Rt.call(e));if(Bt(e))return ne(i(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof vr<"u"&&e===vr)return"{ [object globalThis] }";if(!Ct(e)&&!$r(e)){var z=he(e,i),de=Or?Or(e)===Object.prototype:e instanceof Object||e.constructor===Object,U=e instanceof Object?"":"null prototype",D=!de&&le&&Object(e)===e&&le in e?fr.call(L(e),8,-1):U?"Object":"",ve=de||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",K=ve+(D||U?"["+$.call(wr.call([],D||[],U||[]),": ")+"] ":"");return z.length===0?K+"{}":y?K+"{"+ar(z,y)+"}":K+"{ "+$.call(z,", ")+" }"}return String(e)};function jr(r,e,t){var n=t.quoteStyle||e,a=Vr[n];return a+r+a}function Nt(r){return C.call(String(r),/"/g,""")}function H(r){return!le||!(typeof r=="object"&&(le in r||typeof r[le]<"u"))}function nr(r){return L(r)==="[object Array]"&&H(r)}function Ct(r){return L(r)==="[object Date]"&&H(r)}function $r(r){return L(r)==="[object RegExp]"&&H(r)}function Lt(r){return L(r)==="[object Error]"&&H(r)}function Bt(r){return L(r)==="[object String]"&&H(r)}function Ut(r){return L(r)==="[object Number]"&&H(r)}function Wt(r){return L(r)==="[object Boolean]"&&H(r)}function Jr(r){if(X)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!rr)return!1;try{return rr.call(r),!0}catch{}return!1}function qt(r){if(!r||typeof r!="object"||!er)return!1;try{return er.call(r),!0}catch{}return!1}var Gt=Object.prototype.hasOwnProperty||function(r){return r in this};function I(r,e){return Gt.call(r,e)}function L(r){return It.call(r)}function kt(r){if(r.name)return r.name;var e=Ft.call(_t.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Yr(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1}function Ht(r){if(!Oe||!r||typeof r!="object")return!1;try{Oe.call(r);try{Ae.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function zt(r){if(!oe||!r||typeof r!="object")return!1;try{oe.call(r,oe);try{ie.call(r,ie)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function Kt(r){if(!gr||!r||typeof r!="object")return!1;try{return gr.call(r),!0}catch{}return!1}function Qt(r){if(!Ae||!r||typeof r!="object")return!1;try{Ae.call(r);try{Oe.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function Vt(r){if(!ie||!r||typeof r!="object")return!1;try{ie.call(r,ie);try{oe.call(r,oe)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function jt(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function Xr(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Xr(fr.call(r,0,e.maxStringLength),e)+n}var a=Tt[e.quoteStyle||"single"];a.lastIndex=0;var o=C.call(C.call(r,a,"\\$1"),/[\x00-\x1f]/g,Jt);return jr(o,"single",e)}function Jt(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+Dt.call(e.toString(16))}function ne(r){return"Object("+r+")"}function Ne(r){return r+" { ? }"}function xr(r,e,t,n){var a=n?ar(t,n):$.call(t,", ");return r+" ("+e+") {"+a+"}"}function Yt(r){for(var e=0;e<r.length;e++)if(Yr(r[e],` 2`)>=0)return!1;return!0}function Xt(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=$.call(Array(r.indent+1)," ");else return null;return{base:t,prev:$.call(Array(e+1),t)}}function ar(r,e){if(r.length===0)return"";var t=` 3`+e.prev+e.base;return t+$.call(r,","+t)+` 4`+e.prev}function he(r,e){var t=nr(r),n=[];if(t){n.length=r.length;for(var a=0;a<r.length;a++)n[a]=I(r,a)?e(r[a],r):""}var o=typeof Te=="function"?Te(r):[],l;if(X){l={};for(var p=0;p<o.length;p++)l["$"+o[p]]=o[p]}for(var f in r)I(r,f)&&(t&&String(Number(f))===f&&f<r.length||X&&l["$"+f]instanceof Symbol||(Kr.call(/[^\w$]/,f)?n.push(e(f,r)+": "+e(r[f],r)):n.push(f+": "+e(r[f],r))));if(typeof Te=="function")for(var c=0;c<o.length;c++)Qr.call(r,o[c])&&n.push("["+e(o[c])+"]: "+e(r[o[c]],r));return n}var Zt=$e,en=ee,xe=function(r,e,t){for(var n=r,a;(a=n.next)!=null;n=a)if(a.key===e)return n.next=a.next,t||(a.next=r.next,r.next=a),a},rn=function(r,e){if(r){var t=xe(r,e);return t&&t.value}},tn=function(r,e,t){var n=xe(r,e);n?n.value=t:r.next={key:e,next:r.next,value:t}},nn=function(r,e){return r?!!xe(r,e):!1},an=function(r,e){if(r)return xe(r,e,!0)},on=function(){var e,t={assert:function(n){if(!t.has(n))throw new en("Side channel does not contain "+Zt(n))},delete:function(n){var a=an(e,n);return a&&e&&!e.next&&(e=void 0),!!a},get:function(n){return rn(e,n)},has:function(n){return nn(e,n)},set:function(n,a){e||(e={next:void 0}),tn(e,n,a)}};return t},Zr=Object,ln=Error,fn=EvalError,un=RangeError,cn=ReferenceError,pn=SyntaxError,yn=URIError,sn=Math.abs,dn=Math.floor,vn=Math.max,hn=Math.min,mn=Math.pow,gn=Math.round,Sn=Number.isNaN||function(e){return e!==e},wn=Sn,bn=function(e){return wn(e)||e===0?e:e<0?-1:1},On=Object.getOwnPropertyDescriptor,ge=On;if(ge)try{ge([],"length")}catch{ge=null}var et=ge,Se=Object.defineProperty||!1;if(Se)try{Se({},"a",{value:1})}catch{Se=!1}var An=Se,Ce,Rr;function En(){return Rr||(Rr=1,Ce=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;e[t]=a;for(var o in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var l=Object.getOwnPropertySymbols(e);if(l.length!==1||l[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var p=Object.getOwnPropertyDescriptor(e,t);if(p.value!==a||p.enumerable!==!0)return!1}return!0}),Ce}var Le,Ir;function Pn(){if(Ir)return Le;Ir=1;var r=typeof Symbol<"u"&&Symbol,e=En();return Le=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Le}var Be,_r;function rt(){return _r||(_r=1,Be=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Be}var Ue,Fr;function tt(){if(Fr)return Ue;Fr=1;var r=Zr;return Ue=r.getPrototypeOf||null,Ue}var We,Dr;function $n(){if(Dr)return We;Dr=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",a=function(f,c){for(var u=[],y=0;y<f.length;y+=1)u[y]=f[y];for(var i=0;i<c.length;i+=1)u[i+f.length]=c[i];return u},o=function(f,c){for(var u=[],y=c,i=0;y<f.length;y+=1,i+=1)u[i]=f[y];return u},l=function(p,f){for(var c="",u=0;u<p.length;u+=1)c+=p[u],u+1<p.length&&(c+=f);return c};return We=function(f){var c=this;if(typeof c!="function"||e.apply(c)!==n)throw new TypeError(r+c);
4for(var u=o(arguments,1),y,i=function(){if(this instanceof y){var O=c.apply(this,a(u,arguments));return Object(O)===O?O:this}return c.apply(f,a(u,arguments))},s=t(0,c.length-u.length),d=[],m=0;m<s;m++)d[m]="$"+m;if(y=Function("binder","return function ("+l(d,",")+"){ return binder.apply(this,arguments); }")(i),c.prototype){var b=function(){};b.prototype=c.prototype,y.prototype=new b,b.prototype=null}return y},We}var qe,Mr;function Re(){if(Mr)return qe;Mr=1;var r=$n();return qe=Function.prototype.bind||r,qe}var Ge,Tr;function ur(){return Tr||(Tr=1,Ge=Function.prototype.call),Ge}var ke,Nr;function nt(){return Nr||(Nr=1,ke=Function.prototype.apply),ke}var xn=typeof Reflect<"u"&&Reflect&&Reflect.apply,Rn=Re(),In=nt(),_n=ur(),Fn=xn,Dn=Fn||Rn.call(_n,In),Mn=Re(),Tn=ee,Nn=ur(),Cn=Dn,at=function(e){if(e.length<1||typeof e[0]!="function")throw new Tn("a function is required");return Cn(Mn,Nn,e)},He,Cr;function Ln(){if(Cr)return He;Cr=1;var r=at,e=et,t;try{t=[].__proto__===Array.prototype}catch(l){if(!l||typeof l!="object"||!("code"in l)||l.code!=="ERR_PROTO_ACCESS")throw l}var n=!!t&&e&&e(Object.prototype,"__proto__"),a=Object,o=a.getPrototypeOf;return He=n&&typeof n.get=="function"?r([n.get]):typeof o=="function"?function(p){return o(p==null?p:a(p))}:!1,He}var ze,Lr;function Bn(){if(Lr)return ze;Lr=1;var r=rt(),e=tt(),t=Ln();return ze=r?function(a){return r(a)}:e?function(a){if(!a||typeof a!="object"&&typeof a!="function")throw new TypeError("getProto: not an object");return e(a)}:t?function(a){return t(a)}:null,ze}var Ke,Br;function Un(){if(Br)return Ke;Br=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=Re();return Ke=t.call(r,e),Ke}var v,Wn=Zr,qn=ln,Gn=fn,kn=un,Hn=cn,Z=pn,Y=ee,zn=yn,Kn=sn,Qn=dn,Vn=vn,jn=hn,Jn=mn,Yn=gn,Xn=bn,ot=Function,Qe=function(r){try{return ot('"use strict"; return ('+r+").constructor;")()}catch{}},ce=et,Zn=An,Ve=function(){throw new Y},ea=ce?function(){try{return arguments.callee,Ve}catch{try{return ce(arguments,"callee").get}catch{return Ve}}}():Ve,Q=Pn()(),w=Bn(),ra=tt(),ta=rt(),it=nt(),pe=ur(),j={},na=typeof Uint8Array>"u"||!w?v:w(Uint8Array),k={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":Q&&w?w([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":j,"%AsyncGenerator%":j,"%AsyncGeneratorFunction%":j,"%AsyncIteratorPrototype%":j,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":qn,"%eval%":eval,"%EvalError%":Gn,"%Float16Array%":typeof Float16Array>"u"?v:Float16Array,"%Float32Array%":typeof Float32Array>"u"?v:Float32Array,"%Float64Array%":typeof Float64Array>"u"?v:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?v:FinalizationRegistry,"%Function%":ot,"%GeneratorFunction%":j,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>
vendor: 24,147 bytes, line 4
4"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Q&&w?w(w([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Q||!w?v:w(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Wn,"%Object.getOwnPropertyDescriptor%":ce,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":kn,"%ReferenceError%":Hn,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Q||!w?v:w(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Q&&w?w(""[Symbol.iterator]()):v,"%Symbol%":Q?Symbol:v,"%SyntaxError%":Z,"%ThrowTypeError%":ea,"%TypedArray%":na,"%TypeError%":Y,"%Uint8Array%":typeof Uint8Array>"u"?v:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?v:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?v:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?v:Uint32Array,"%URIError%":zn,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":pe,"%Function.prototype.apply%":it,"%Object.defineProperty%":Zn,"%Object.getPrototypeOf%":ra,"%Math.abs%":Kn,"%Math.floor%":Qn,"%Math.max%":Vn,"%Math.min%":jn,"%Math.pow%":Jn,"%Math.round%":Yn,"%Math.sign%":Xn,"%Reflect.getPrototypeOf%":ta};if(w)try{null.error}catch(r){var aa=w(w(r));k["%Error.prototype%"]=aa}var oa=function r(e){var t;if(e==="%AsyncFunction%")t=Qe("async function () {}");else if(e==="%GeneratorFunction%")t=Qe("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Qe("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var a=r("%AsyncGenerator%");a&&w&&(t=w(a.prototype))}return k[e]=t,t},Ur={__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"]},ye=Re(),Ee=Un(),ia=ye.call(pe,Array.prototype.concat),la=ye.call(it,Array.prototype.splice),Wr=ye.call(pe,String.prototype.replace),Pe=ye.call(pe,String.prototype.slice),fa=ye.call(pe,RegExp.prototype.exec),ua=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ca=/\\(\\)?/g,pa=function(e){var t=Pe(e,0,1),n=Pe(e,-1);if(t==="%"&&n!=="%")throw new Z("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new Z("invalid intrinsic syntax, expected opening `%`");var a=[];return Wr(e,ua,function(o,l,p,f){a[a.length]=p?Wr(f,ca,"$1"):l||o}),a},ya=function(e,t){var n=e,a;if(Ee(Ur,n)&&(a=Ur[n],n="%"+a[0]+"%"),Ee(k,n)){var o=k[n];if(o===j&&(o=oa(n)),typeof o>"u"&&!t)throw new Y("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new Z("intrinsic "+e+" does not exist!")},cr=function(e,t){if(typeof e!="string"||e.length===0)throw new Y("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Y('"allowMissing" argument must be a boolean');if(fa(/^%?[^%]*%?$/,e)===null)throw new Z("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=pa(e),a=n.length>0?n[0]:"",o=ya("%"+a+"%",t),l=o.name,p=o.value,f=!1,c=o.alias;c&&(a=c[0],la(n,ia([0,1],c)));for(var u=1,y=!0;u<n.length;u+=1){var i=n[u],s=Pe(i,0,1),d=Pe(i,-1);if((s==='"'||s==="'"||s==="`"||d==='"'||d==="'"||d==="`")&&s!==d)throw new Z("property names with quotes must have matching quotes");if((i==="constructor"||!y)&&(f=!0),a+="."+i,l="%"+a+"%",Ee(k,l))p=k[l];else if(p!=null){if(!(i in p)){if(!t)throw new Y("base intrinsic for "+e+" exists, but the property is not available.");return}if(ce&&u+1>=n.length){var m=ce(p,i);y=!!m,y&&"get"in m&&!("originalValue"in m.get)?p=m.get:p=p[i]}else y=Ee(p,i),p=p[i];y&&!f&&(k[l]=p)}}return p},lt=cr,ft=at,sa=ft([lt("%String.prototype.indexOf%")]),ut=function(e,t){var n=lt(e,!!t);return typeof n=="function"&&sa(e,".prototype.")>-1?ft([n]):n},da=cr,se=ut,va=$e,ha=ee,qr=da("%Map%",!0),ma=se("Map.prototype.get",!0),ga=se("Map.prototype.set",!0),Sa=se("Map.prototype.has",!0),wa=se("Map.prototype.delete",!0),ba=se("Map.prototype.size",!0),ct=!!qr&&function(){var e,t={assert:function(n){if(!t.has(n))throw new ha("Side channel does not contain "+va(n))},delete:function(n){if(e){var a=wa(e,n);return ba(e)===0&&(e=void 0),a}return!1},get:function(n){if(e)return ma(e,n)},has:function(n){return e?Sa(e,n):!1},set:function(n,a){e||(e=new qr),ga(e,n,a)}};return t},Oa=cr,Ie=ut,Aa=$e,me=ct,Ea=ee,V=Oa("%WeakMap%",!0),Pa=Ie("WeakMap.prototype.get",!0),$a=Ie("WeakMap.prototype.set",!0),xa=Ie("WeakMap.prototype.has",!0),Ra=Ie("WeakMap.prototype.delete",!0),Ia=V?function(){var e,t,n={assert:function(a){if(!n.has(a))throw new Ea("Side channel does not contain "+Aa(a))},delete:function(a){if(V&&a&&(typeof a=="object"||typeof a=="function")){if(e)return Ra(e,a)}else if(me&&t)return t.delete(a);return!1},get:function(a){return V&&a&&(typeof a=="object"||typeof a=="function")&&e?Pa(e,a):t&&t.get(a)},has:function(a){return V&&a&&(typeof a=="object"||typeof a=="function")&&e?xa(e,a):!!t&&t.has(a)},set:function(a,o){V&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new V),$a(e,a,o)):me&&(t||(t=me()),t.set(a,o))}};return n}:me,_a=ee,Fa=$e,Da=on,Ma=ct,Ta=Ia,Na=Ta||Ma||Da,pt=function(){var e,t={assert:function(n){if(!t.has(n))throw new _a("Side channel does not contain "+Fa(n))},delete:function(n){return!!e&&e.delete(n)},get:function(n){return e&&e.get(n)},has:function(n){return!!e&&e.has(n)},set:function(n,a){e||(e=Na()),e.set(n,a)}};return t},Ca=String.prototype.replace,La=/%20/g,je={RFC1738:"RFC1738",RFC3986:"RFC3986"},pr={default:je.RFC3986,formatters:{RFC1738:function(r){return Ca.call(r,La,"+")},RFC3986:function(r){return String(r)}},RFC1738:je.RFC1738,RFC3986:je.RFC3986},Ba=pr,Ua=pt,Je=Object.prototype.hasOwnProperty,q=Array.isArray,_e=Ua(),J=function(e,t){return _e.set(e,t),e},G=function(e){return _e.has(e)},ae=function(e){return _e.get(e)},or=function(e,t){_e.set(e,t)},E=function(){for(var r=[],e=0;e<256;++e)r[r.length]="%"+((e<16?"0":"")+e.toString(16)).toUpperCase();return r}(),Wa=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(q(n)){for(var a=[],o=0;o<n.length;++o)typeof n[o]<"u"&&(a[a.length]=n[o]);t.obj[t.prop]=a}}},fe=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},a=0;a<e.length;++a)typeof e[a]<"u"&&(n[a]=e[a]);return n},qa=function r(e,t,n){if(!t)return e;if(typeof t!="object"&&typeof t!="function"){if(q(e)){var a=e.length;if(n&&typeof n.arrayLimit=="number"&&a>n.arrayLimit)return J(fe(e.concat(t),n),a);e[a]=t}else if(e&&typeof e=="object")if(G(e)){var o=ae(e)+1;e[o]=t,or(e,o)}else{if(n&&n.strictMerge)return[e,t];(n&&(n.plainObjects||n.allowPrototypes)||!Je.call(Object.prototype,t))&&(e[t]=!0)}else return[e,t];return e}if(!e||typeof e!="object"){if(G(t)){for(var l=Object.keys(t),p=n&&n.plainObjects?{__proto__:null,0:e}:{0:e},f=0;f<l.length;f++){var c=parseInt(l[f],10);p[c+1]=t[l[f]]}return J(p,ae(t)+1)}var u=[e].concat(t);return n&&typeof n.arrayLimit=="number"&&u.length>n.arrayLimit?J(fe(u,n),u.length-1):u}var y=e;return q(e)&&!q(t)&&(y=fe(e,n)),q(e)&&q(t)?(t.forEach(function(i,s){if(Je.call(e,s)){var d=e[s];d&&typeof d=="object"&&i&&typeof i=="object"?e[s]=r(d,i,n):e[e.length]=i}else e[s]=i}),e):Object.keys(t).reduce(function(i,s){var d=t[s];if(Je.call(i,s)?i[s]=r(i[s],d,n):i[s]=d,G(t)&&!G(i)&&J(i,ae(t)),G(i)){var m=parseInt(s,10);String(m)===s&&m>=0&&m>ae(i)&&or(i,m)}return i},y)},Ga=function(e,t){return Object.keys(t).reduce(function(n,a){return n[a]=t[a],n},e)},ka=function(r,e,t){var n=r.replace(/\+/g," ");if(t==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Ye=1024,Ha=function(e,t,n,a,o){if(e.length===0)return e;var l=e;if(typeof e=="symbol"?l=Symbol.prototype.toString.call(e):typeof e!="string"&&(l=String(e)),n==="iso-8859-1")return escape(l).replace(/%u[0-9a-f]{4}/gi,function(s){return"%26%23"+parseInt(s.slice(2),16)+"%3B"});for(var p="",f=0;f<l.length;f+=Ye){for(var c=l.length>=Ye?l.slice(f,f+Ye):l,u=[],y=0;y<c.length;++y){var i=c.charCodeAt(y);if(i===45||i===46||i===95||i===126||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||o===Ba.RFC1738&&(i===40||i===41)){u[u.length]=c.charAt(y);continue}if(i<128){u[u.length]=E[i];continue}if(i<2048){u[u.length]=E[192|i>>6]+E[128|i&63];continue}if(i<55296||i>=57344){u[u.length]=E[224|i>>12]+E[128|i>>6&63]+E[128|i&63];continue}y+=1,i=65536+((i&1023)<<10|c.charCodeAt(y)&1023),u[u.length]=E[240|i>>18]+E[128|i>>12&63]+E[128|i>>6&63]+E[128|i&63]}p+=u.join("")}return p},za=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var o=t[a],l=o.obj[o.prop],p=Object.keys(l),f=0;f<p.length;++f){var c=p[f],u=l[c];typeof u=="object"&&u!==null&&n.indexOf(u)===-1&&(t[t.length]={obj:l,prop:c},n[n.length]=u)}return Wa(t),e},Ka=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Qa=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Va=function(e,t,n,a){if(G(e)){var o=ae(e)+1;return e[o]=t,or(e,o),e}var l=[].concat(e,t);return l.length>n?J(fe(l,{plainObjects:a}),l.length-1):l},ja=function(e,t){if(q(e)){for(var n=[],a=0;a<e.length;a+=1)n[n.length]=t(e[a]);return n}return t(e)},yt={arrayToObject:fe,assign:Ga,combine:Va,compact:za,decode:ka,encode:Ha,isBuffer:Qa,isOverflow:G,isRegExp:Ka,markOverflow:J,maybeMap:ja,merge:qa},st=pt,we=yt,ue=pr,Ja=Object.prototype.hasOwnProperty,dt={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},P=Array.isArray,Ya=Array.prototype.push,vt=function(r,e){Ya.apply(r,P(e)?e:[e])},Xa=Date.prototype.toISOString,Gr=ue.default,S={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:we.encode,encodeValuesOnly:!1,filter:void 0,format:Gr,formatter:ue.formatters[Gr],indices:!1,serializeDate:function(e){return Xa.call(e)},skipNulls:!1,strictNullHandling:!1},Za=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},Xe={},eo=function r(e,t,n,a,o,l,p,f,c,u,y,i,s,d,m,b,O,_){for(var h=e,F=_,B=0,re=!1;(F=F.get(Xe))!==void 0&&!re;){var z=F.get(e);if(B+=1,typeof z<"u"){if(z===B)throw new RangeError("Cyclic object value");re=!0}typeof F.get(Xe)>"u"&&(B=0)}if(typeof u=="function"?h=u(t,h):h instanceof Date?h=s(h):n==="comma"&&P(h)&&(h=we.maybeMap(h,function(W){return W instanceof Date?s(W):W})),h===null){if(l)return m(c&&!b?c(t,S.encoder,O,"key",d):t);h=""}if(Za(h)||we.isBuffer(h)){if(c){var de=b?t:c(t,S.encoder,O,"key",d);return[m(de)+"="+m(c(h,S.encoder,O,"value",d))]}return[m(t)+"="+m(String(h))]}var U=[];if(typeof h>"u")return U;var D;if(n==="comma"&&P(h))b&&c&&(h=we.maybeMap(h,function(W){return W==null?W:c(W)})),D=[{value:h.length>0?h.join(",")||null:void 0}];else if(P(u))D=u;else{var ve=Object.keys(h);D=y?ve.sort(y):ve}var K=f?String(t).replace(/\./g,"%2E"):String(t),A=a&&P(h)&&h.length===1?K+"[]":K;if(o&&P(h)&&h.length===0)return A+"[]";for(var M=0;M<D.length;++M){var R=D[M],te=typeof R=="object"&&R&&typeof R.value<"u"?R.value:h[R];if(!(p&&te===null)){var Fe=i&&f?String(R).replace(/\./g,"%2E"):String(R),mt=P(h)?typeof n=="function"?n(A,Fe):A:A+(i?"."+Fe:"["+Fe+"]");_.set(e,B);var yr=st();yr.set(Xe,_),vt(U,r(te,mt,n,a,o,l,p,f,n==="comma"&&b&&P(h)?null:c,u,y,i,s,d,m,b,O,yr))}}return U},ro=function(e){if(!e)return S;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var t=e.charset||S.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=ue.default;if(typeof e.format<"u"){if(!Ja.call(ue.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a=ue.formatters[n],o=S.filter;(typeof e.filter=="function"||P(e.filter))&&(o=e.filter);var l;if(e.arrayFormat in dt?l=e.arrayFormat:"indices"in e?l=e.indices?"indices":"repeat":l=S.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var p=typeof e.allowDots>"u"?e.encodeDotInKeys===!0?!0:S.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:S.addQueryPrefix,allowDots:p,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:S.allowEmptyArrays,arrayFormat:l,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:S.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?S.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:S.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:S.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:S.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:S.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:S.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:S.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:S.strictNullHandling}},to=function(r,e){var t=r,n=ro(e),a,o;typeof n.filter=="function"?(o=n.filter,t=o("",t)):P(n.filter)&&(o=n.filter,a=o);var l=[];if(typeof t!="object"||t===null)return"";var p=dt[n.arrayFormat],f=p==="comma"&&n.commaRoundTrip;a||(a=Object.keys(t)),n.sort&&a.sort(n.sort);for(var c=st(),u=0;u<a.length;++u){var y=a[u];if(!(typeof y>"u"||y===null)){var i=t[y];n.skipNulls&&i===null||vt(l,eo(i,y,p,f,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,c))}}var s=l.join(n.delimiter),d=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?d+="utf8=%26%2310003%3B"+n.delimiter:d+="utf8=%E2%9C%93"+n.delimiter),s.length>0?d+s:""},x=yt,be=Object.prototype.hasOwnProperty,Ze=Array.isArray,g={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:x.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},no=function(r){return r.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},ht=function(r,e,t){if(r&&typeof r=="string"&&e.comma&&r.indexOf(",")>-1)return r.split(",");if(e.throwOnLimitExceeded&&t>=e.arrayLimit)throw new RangeError("Array limit exceeded. Only "+e.arrayLimit+" element"+(e.arrayLimit===1?"":"s")+" allowed in an array.");return r},ao="utf8=%26%2310003%3B",oo="utf8=%E2%9C%93",io=function(e,t){var n={__proto__:null},a=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;a=a.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=t.parameterLimit===1/0?void 0:t.parameterLimit,l=a.split(t.delimiter,t.throwOnLimitExceeded&&typeof o<"u"?o+1:o);if(t.throwOnLimitExceeded&&typeof o<"u"&&l.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(o===1?"":"s")+" allowed.");var p=-1,f,c=t.charset;if(t.charsetSentinel)for(f=0;f<l.length;++f)l[f].indexOf("utf8=")===0&&(l[f]===oo?c="utf-8":l[f]===ao&&(c="iso-8859-1"),p=f,f=l.length);for(f=0;f<l.length;++f)if(f!==p){var u=l[f],y=u.indexOf("]="),i=y===-1?u.indexOf("="):y+1,s,d;if(i===-1?(s=t.decoder(u,g.decoder,c,"key"),d=t.strictNullHandling?null:""):(s=t.decoder(u.slice(0,i),g.decoder,c,"key"),s!==null&&(d=x.maybeMap(ht(u.slice(i+1),t,Ze(n[s])?n[s].length:0),function(b){return t.decoder(b,g.decoder,c,"value")}))),d&&t.interpretNumericEntities&&c==="iso-8859-1"&&(d=no(String(d))),u.indexOf("[]=")>-1&&(d=Ze(d)?[d]:d),t.comma&&Ze(d)&&d.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");d=x.combine([],d,t.arrayLimit,t.plainObjects)}if(s!==null){var m=be.call(n,s);m&&(t.duplicates==="combine"||u.indexOf("[]=")>-1)?n[s]=x.combine(n[s],d,t.arrayLimit,t.plainObjects):(!m||t.duplicates==="last")&&(n[s]=d)}}return n},lo=function(r,e,t,n){var a=0;if(r.length>0&&r[r.length-1]==="[]"){var o=r.slice(0,-1).join("");a=Array.isArray(e)&&e[o]?e[o].length:0}for(var l=n?e:ht(e,t,a),p=r.length-1;p>=0;--p){var f,c=r[p];if(c==="[]"&&t.parseArrays)x.isOverflow(l)?f=l:f=t.allowEmptyArrays&&(l===""||t.strictNullHandling&&l===null)?[]:x.combine([],l,t.arrayLimit,t.plainObjects);else{f=t.plainObjects?{__proto__:null}:{};var u=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,y=t.decodeDotInKeys?u.replace(/%2E/g,"."):u,i=parseInt(y,10),s=!isNaN(i)&&c!==y&&String(i)===y&&i>=0&&t.parseArrays;if(!t.parseArrays&&y==="")f={0:l};else if(s&&i<t.arrayLimit)f=[],f[i]=l;else{if(s&&t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");s?(f[i]=l,x.markOverflow(f,i)):y!=="__proto__"&&(f[y]=l)}}l=f}return l},fo=function(e,t){var n=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0)return!t.plainObjects&&be.call(Object.prototype,n)&&!t.allowPrototypes?void 0:[n];var a=[],o=n.indexOf("["),l=o>=0?n.slice(0,o):n;if(l){if(!t.plainObjects&&be.call(Object.prototype,l)&&!t.allowPrototypes)return;a[a.length]=l}for(var p=n.length,f=o,c=0;f>=0&&c<t.depth;){for(var u=1,y=f+1,i=-1;y<p&&i<0;){var s=n.charCodeAt(y);s===91?u+=1:s===93&&(u-=1,u===0&&(i=y)),y+=1}if(i<0)return a[a.length]="["+n.slice(f)+"]",a;var d=n.slice(f,i+1),m=d.slice(1,-1);if(!t.plainObjects&&be.call(Object.prototype,m)&&!t.allowPrototypes)return;a[a.length]=d,c+=1,f=n.indexOf("[",i+1)}if(f>=0){if(t.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");a[a.length]="["+n.slice(f)+"]"}return a},uo=function(e,t,n,a){if(e){var o=fo(e,n);if(o)return lo(o,t,n,a)}},co=function(e){if(!e)return g;if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.decodeDotInKeys<"u"&&typeof e.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&typeof e.decoder<"u"&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof e.throwOnLimitExceeded<"u"&&typeof e.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=typeof e.charset>"u"?g.charset:e.charset,n=typeof e.duplicates>"u"?g.duplicates:e.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var a=typeof e.allowDots>"u"?e.decodeDotInKeys===!0?!0:g.allowDots:!!e.allowDots;return{allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:g.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:g.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:g.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:g.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:g.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:g.comma,decodeDotInKeys:typeof e.decodeDotInKeys=="boolean"?e.decodeDotInKeys:g.decodeDotInKeys,decoder:typeof e.decoder=="function"?e.decoder:g.decoder,delimiter:typeof e.delimiter=="string"||x.isRegExp(e.delimiter)?e.delimiter:g.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:g.depth,duplicates:n,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:g.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:g.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:g.plainObjects,strictDepth:typeof e.strictDepth=="boolean"?!!e.strictDepth:g.strictDepth,strictMerge:typeof e.strictMerge=="boolean"?!!e.strictMerge:g.strictMerge,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:g.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded=="boolean"?e.throwOnLimitExceeded:!1}},po=function(r,e){var t=co(e);if(r===""||r===null||typeof r>"u")return t.plainObjects?{__proto__:null}:{};for(var n=typeof r=="string"?io(r,t):r,a=t.plainObjects?{__proto__:null}:{},o=Object.keys(n),l=0;l<o.length;++l){var p=o[l],f=uo(p,n[p],t,typeof r=="string");a=x.merge(a,f,t)}return t.allowSparse===!0?a:x.compact(a)}
4,yo=to,so=po,vo=pr,ho={formats:vo,parse:so,stringify:yo};const mo=At(ho);class bo{constructor(e){sr(this,"_controller");this._controller=`api/${e}`}async get(e,t,n,a){const o=this._controller+"/"+(e??"");return(await T.get(o,{params:t,paramsSerializer:p=>mo.stringify(p),...n,signal:a})).data}async paged(e,t,n){const a=this._controller+"/"+(e??"");return(await T.get(a,{params:t,signal:n})).data}async post(e,t,n){const a=this._controller+"/"+(e??"");return await T.post(a,t,{signal:n})}async put(e,t,n){const a=this._controller+"/"+(e??"");return await T.put(a,t,{signal:n})}async delete(e,t,n){const a=`${this._controller}/${e}`;await T.delete(a,{signal:n,params:t})}async patch(e,t,n,a){const o=this._controller+"/"+(e??"");await T.patch(o,t,{...n,signal:a})}}export{bo as B,T as a}; 5//# sourceMappingURL=BaseService-8pk1J3gZ.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.