@zeniai/web-app-ui 5.3.32-dev → 5.3.32-prod
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/AccountMappingScreen-BXftSVn-.js +9 -0
- package/dist/assets/AddressRoutes-Dx1aQN-n.js +1 -0
- package/dist/assets/{AddressScreen-LFBV9KsX.js → AddressScreen-TLZdvXNy.js} +2 -2
- package/dist/assets/{AiCfoScreen-N1tWqaxl.js → AiCfoScreen-DmLnUFml.js} +1 -1
- package/dist/assets/{AppDrawer-DmTC2F7R.js → AppDrawer-BnHpD6dG.js} +3 -3
- package/dist/assets/{BillPayApprovalRoutes-sbvXc3_Z.js → BillPayApprovalRoutes-DPALyyf2.js} +1 -1
- package/dist/assets/{BillPayRoutes-Cf4T_cOn.js → BillPayRoutes-qAhjjusa.js} +18 -18
- package/dist/assets/BusinessVerificationPageScreen-BYV8fDWH.js +9 -0
- package/dist/assets/{CardsAiCfoScreen-p_ZDfSVk.js → CardsAiCfoScreen-Cd63K_-0.js} +2 -2
- package/dist/assets/{ChargeCardRoutes-DWtJK7tn.js → ChargeCardRoutes-BH9evnp_.js} +7 -7
- package/dist/assets/{CompanyPassportScreen-Cr55ZhHa.js → CompanyPassportScreen-D0g6Nmxq.js} +1 -1
- package/dist/assets/ConnectionAuthScreen-CpG3pE-i.js +11 -0
- package/dist/assets/CustomerOnboardingAuthScreen-CXLOaLgp.js +1 -0
- package/dist/assets/CustomerOnboardingRoutes-CI_z4poM.js +30 -0
- package/dist/assets/{DashboardRoutes-DmGJojZS.js → DashboardRoutes-C_4oAXQg.js} +3 -3
- package/dist/assets/{DefaultTenantHome-CWi1XNJj.js → DefaultTenantHome-D3eb-jo9.js} +1 -1
- package/dist/assets/DomesticWireDetailScreen-i7JC-m7w.js +18 -0
- package/dist/assets/{DrawerScreen-DVJ1nhu5.js → DrawerScreen-DUO1Z5ow.js} +1 -1
- package/dist/assets/EntityDetailRoutes-B2ai8pR3.js +1 -0
- package/dist/assets/{ExpenseAutomationRoutes-OyBtxM5J.js → ExpenseAutomationRoutes-DQA6yQ4O.js} +4 -4
- package/dist/assets/FeaturePreviewScreen-CjFoHQHk.js +1 -0
- package/dist/assets/HubSpotOAuthCallbackScreen-qemWA0jI.js +1 -0
- package/dist/assets/{InboxNotificationsProvider-DBc6Mphu.js → InboxNotificationsProvider-7eYmgI1F.js} +1 -1
- package/dist/assets/{InvoicingRoutes-B1FBFxmX.js → InvoicingRoutes-DOUUybBE.js} +2 -2
- package/dist/assets/{MagicLinkRoutes-70CKQAmw.js → MagicLinkRoutes-CTs6OYkH.js} +7 -7
- package/dist/assets/MagicLinkSignInScreen-CDEl_Ic_.js +12 -0
- package/dist/assets/MobileAppDrawer-BMvh-RAa.js +1 -0
- package/dist/assets/NotFoundScreen-Wkt8x0Ja.js +1 -0
- package/dist/assets/NotificationRoutes-BF1aTPUh.js +1 -0
- package/dist/assets/OAuthConsentScreen-8oM_ijmg.js +1 -0
- package/dist/assets/{PandLWithForecastRoutes-DHCQWgYM.js → PandLWithForecastRoutes-DvwOSp2G.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-nMdnk521.js → PaymentLinkScreen-D0VzMTpF.js} +4 -4
- package/dist/assets/PeopleRoutes-CMx_k0hr.js +22 -0
- package/dist/assets/PerformanceRoutes-OuxZJbf_.js +1 -0
- package/dist/assets/{Preview-C_55fm97.js → Preview-Dkzm36JB.js} +1 -1
- package/dist/assets/QBOConnectionScreen-Cxvr0UGn.js +100 -0
- package/dist/assets/ReimbursementApprovalRoutes-ChPdj5ky.js +1 -0
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-kIivYyt0.js +1 -0
- package/dist/assets/ReimbursementRoutes-DlTMcw_k.js +68 -0
- package/dist/assets/{ReportsRoutes-BMuQOI7M.js → ReportsRoutes-DUvTlB32.js} +1 -1
- package/dist/assets/RewardsRoutes-CANJzBfw.js +1 -0
- package/dist/assets/ScreenRoutes-B2jpCRd2.js +2 -0
- package/dist/assets/{SettingsRoutes-6XcFcNwI.js → SettingsRoutes-D405mYiE.js} +7 -7
- package/dist/assets/{SetupPagesScreen-BxDIT7Xu.js → SetupPagesScreen-o-PhLBXH.js} +5 -5
- package/dist/assets/SignInScreen-CsdAWM0a.js +1 -0
- package/dist/assets/SignOutScreen-DjO_hTaY.js +9 -0
- package/dist/assets/TaskListScreen-D5rs0HLr.js +9 -0
- package/dist/assets/TaskRoutes-IWzYaX-F.js +9 -0
- package/dist/assets/TransactionDetailRoutes-DExFe-03.js +1 -0
- package/dist/assets/{TransactionDetailScreen-2kUyCbFm.js → TransactionDetailScreen-7v-3l9dA.js} +2 -2
- package/dist/assets/TransactionListRoutes-hxVuwPcb.js +1 -0
- package/dist/assets/TreasuryRoutes-C4GA1Tde.js +37 -0
- package/dist/assets/{VendorsRoutes-zeljYW53.js → VendorsRoutes-DLC5o9yJ.js} +20 -20
- package/dist/assets/WiseConfirmationScreen-BJNaaQrG.js +12 -0
- package/dist/assets/{ZeniAccountRoutes-Dl9FUScI.js → ZeniAccountRoutes-CPdfqL23.js} +9 -9
- package/dist/assets/ZeniAccountStatementScreen-Butd8DWu.js +9 -0
- package/dist/assets/{accountMappingHelper-ZLBxLrOl.js → accountMappingHelper-DsN6SM7a.js} +1 -1
- package/dist/assets/{analytics-DHBkdK00.js → analytics-NBT5BH2R.js} +1 -1
- package/dist/assets/{analyticsHelper-C8sM1z8L.js → analyticsHelper-Bw6Cjeqd.js} +1 -1
- package/dist/assets/{core-DuNHGHBC.js → core-Dlma5MIa.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-CcNRl55W.js → decodeURIComponentSafe-MgEJs-XP.js} +1 -1
- package/dist/assets/{dnd-DKR3QBLX.js → dnd-BgBEAfSC.js} +1 -1
- package/dist/assets/{empty-DRiI770H.js → empty-BRn9rxGR.js} +1 -1
- package/dist/assets/{empty-BA0WbUFe.js → empty-DpC6uPKD.js} +1 -1
- package/dist/assets/{emptyVideoElement-h3Sv0Oh_.js → emptyVideoElement-BpruyOrt.js} +1 -1
- package/dist/assets/epic-TdjWG3DC.js +2 -0
- package/dist/assets/{expenseAutomationHelper-DGi7tuOw.js → expenseAutomationHelper-BpaM_jjL.js} +1 -1
- package/dist/assets/{getLocaleForTenant-D1jcEP43.js → getLocaleForTenant-B0nO-Z7L.js} +1 -1
- package/dist/assets/{index-CxkwDRG8.js → index-Blw4A66-.js} +30310 -31275
- package/dist/assets/{index-y1KlwLzp.js → index-BtQ2P-s4.js} +1 -1
- package/dist/assets/{index-DgXVMYGv.js → index-CYHgs6V3.js} +1 -1
- package/dist/assets/{index-CFb8siio.js → index-CexFEAIL.js} +1 -1
- package/dist/assets/{index-DplrRYRh.js → index-Cr8P80rT.js} +1 -1
- package/dist/assets/{index-DRythsNE.js → index-DHUOQOTf.js} +1 -1
- package/dist/assets/{index-bPK7WXlx.js → index-YntXYqu4.js} +2 -2
- package/dist/assets/{index-B21g9_qj.js → index-ui_UfE_7.js} +1 -1
- package/dist/assets/{lexical-CcqvVKiN.js → lexical-Cc-23sPJ.js} +1 -1
- package/dist/assets/{liveblocks-BkTNzfNi.js → liveblocks-BD1fi6wA.js} +1 -1
- package/dist/assets/{lottie-DACJJNY9.js → lottie-Dd5kLrRz.js} +1 -1
- package/dist/assets/{mui-DaLeH41l.js → mui-DPmPgDDD.js} +1 -1
- package/dist/assets/{pathToGoBack-CmznLvKE.js → pathToGoBack-C5NlBrdk.js} +1 -1
- package/dist/assets/{pdf-BjtwR-dW.js → pdf-BCsxh4ki.js} +3 -3
- package/dist/assets/{pdf-lib-oygBYinp.js → pdf-lib-BSghpPvP.js} +1 -1
- package/dist/assets/{plaid-BVNoSR_u.js → plaid-w5kSeMkL.js} +1 -1
- package/dist/assets/{pusher-Db4sFIYV.js → pusher-D_NnYp1B.js} +1 -1
- package/dist/assets/{react-CYKQo_kF.js → react-BRcmo_so.js} +1 -1
- package/dist/assets/{react-1oTTb5wo.js → react-BYFmdCmG.js} +1 -1
- package/dist/assets/{react-CEkBTHgm.js → react-BiCIC8nJ.js} +1 -1
- package/dist/assets/{react-CMoOPPDa.js → react-CKnkKWiv.js} +1 -1
- package/dist/assets/{react-CNf8hG5M.js → react-Co4WxHXe.js} +1 -1
- package/dist/assets/{react-eY-XTCmQ.js → react-wEOgqpw3.js} +1 -1
- package/dist/assets/{recharts-CkuQpH_L.js → recharts-WuCIKI4c.js} +1 -1
- package/dist/assets/{routePaths-CKTfFzY9.js → routePaths-1GgW-roh.js} +1 -1
- package/dist/assets/{sentry-CNLjKkQW.js → sentry-C6D8WJ15.js} +1 -1
- package/dist/assets/{url-C3nvEZls.js → url-7hMA9KrE.js} +1 -1
- package/dist/assets/url-BVCS53n5.js +6 -0
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-BnMQqj78.js → useAiCfoDashboardSuggestedQuestionsChips-Cox0FTmj.js} +1 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-5qRN6gKs.js +1 -0
- package/dist/assets/{useChargeCardPusherEvents-B74EcXIV.js → useChargeCardPusherEvents-Cu201ke6.js} +1 -1
- package/dist/assets/{useDeviceId-J3kskmrp.js → useDeviceId-p2IpPhWq.js} +1 -1
- package/dist/assets/useEmailConnectResultRefresh-pFVkjSX_.js +1 -0
- package/dist/assets/{useInitialThreadRequest-DANB6KeB.js → useInitialThreadRequest-Ddm4sao-.js} +1 -1
- package/dist/assets/useTaskManagerAccess-BKVtGCGL.js +1 -0
- package/dist/assets/utils-Bv9LDtmr.js +36 -0
- package/dist/assets/{withTransactionSidePanel-CbsHNOl9.js → withTransactionSidePanel-QyMR1bIP.js} +2 -2
- package/dist/assets/{zeni-epic-state-IKQP0lNP.js → zeni-epic-state-2zvjmkUL.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/AccountMappingScreen-Dst-9gUw.js +0 -9
- package/dist/assets/AddressRoutes-O-cTW9EV.js +0 -1
- package/dist/assets/BusinessVerificationPageScreen--LjYD0BK.js +0 -9
- package/dist/assets/ConnectionAuthScreen-D-vDZGov.js +0 -11
- package/dist/assets/CustomerOnboardingAuthScreen-Cs_F35vo.js +0 -1
- package/dist/assets/CustomerOnboardingRoutes-deFe2P-n.js +0 -30
- package/dist/assets/DomesticWireDetailScreen-D5RLzOT3.js +0 -18
- package/dist/assets/EntityDetailRoutes-DJgrP2Nz.js +0 -1
- package/dist/assets/FeaturePreviewScreen-BhrA_knX.js +0 -1
- package/dist/assets/HubSpotOAuthCallbackScreen-Dm5LF-fb.js +0 -1
- package/dist/assets/MagicLinkSignInScreen-CC7wdqci.js +0 -12
- package/dist/assets/MobileAppDrawer-BtnNKdri.js +0 -1
- package/dist/assets/NotFoundScreen-DjDyDYWZ.js +0 -1
- package/dist/assets/NotificationRoutes-Jy_Q0gUN.js +0 -1
- package/dist/assets/OAuthConsentScreen-DB2EvPsq.js +0 -1
- package/dist/assets/PeopleRoutes-rPdm-Ydn.js +0 -22
- package/dist/assets/PerformanceRoutes-CF0jBH_I.js +0 -1
- package/dist/assets/QBOConnectionScreen-Dlky0ESM.js +0 -100
- package/dist/assets/ReimbursementApprovalRoutes-Bf9cBzdf.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-XQSOHGYn.js +0 -1
- package/dist/assets/ReimbursementRoutes-CgvBDllF.js +0 -68
- package/dist/assets/RewardsRoutes-CF7hyIJJ.js +0 -1
- package/dist/assets/ScreenRoutes-vV1s5761.js +0 -2
- package/dist/assets/SignInScreen-UcqpfzAX.js +0 -1
- package/dist/assets/SignOutScreen-14vW04Vy.js +0 -9
- package/dist/assets/TaskListScreen-CwNgkHwd.js +0 -9
- package/dist/assets/TaskRoutes-uBt2S29g.js +0 -9
- package/dist/assets/TransactionDetailRoutes-Burs226A.js +0 -1
- package/dist/assets/TransactionListRoutes-Dm5jOGqp.js +0 -1
- package/dist/assets/TreasuryRoutes-C3nO4w9n.js +0 -37
- package/dist/assets/WiseConfirmationScreen-BBqG7Bw5.js +0 -12
- package/dist/assets/ZeniAccountStatementScreen-BjcRzB88.js +0 -9
- package/dist/assets/epic-leJAVePQ.js +0 -2
- package/dist/assets/url-CaYHIgYK.js +0 -6
- package/dist/assets/useAskAiCfoHostNavButtonProps-D-XiURTy.js +0 -1
- package/dist/assets/useEmailConnectResultRefresh-F2D_LM69.js +0 -1
- package/dist/assets/useTaskManagerAccess-CgZlooKP.js +0 -1
- package/dist/assets/utils-BN2UhEgk.js +0 -36
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{d as Tt,c as fe}from"./sentry-CNLjKkQW.js";import{t as It,f as le,c as se,u as pe}from"./utils-BN2UhEgk.js";(function(){try{var M=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},E=new M.Error().stack;E&&(M._sentryDebugIds=M._sentryDebugIds||{},M._sentryDebugIds[E]="bf57271b-7b83-43a9-bc33-5d569eb6e2fb",M._sentryDebugIdIdentifier="sentry-dbid-bf57271b-7b83-43a9-bc33-5d569eb6e2fb")}catch{}})();var Ft,Ct={exports:{}},Lt={exports:{}},he=Lt.exports;function ye(){return Ft||(Ft=1,M=Lt,E=Lt.exports,(function(F){var w=E&&!E.nodeType&&E,$=M&&!M.nodeType&&M,I=typeof Tt=="object"&&Tt;I.global!==I&&I.window!==I&&I.self!==I||(F=I);var j,m,p=2147483647,_=36,v=/^xn--/,q=/[^\x20-\x7E]/,U=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},i=Math.floor,l=String.fromCharCode;function t(u){throw new RangeError(x[u])}function n(u,a){for(var y=u.length,c=[];y--;)c[y]=a(u[y]);return c}function S(u,a){var y=u.split("@"),c="";return y.length>1&&(c=y[0]+"@",u=y[1]),c+n((u=u.replace(U,".")).split("."),a).join(".")}function f(u){for(var a,y,c=[],Q=0,V=u.length;Q<V;)(a=u.charCodeAt(Q++))>=55296&&a<=56319&&Q<V?(64512&(y=u.charCodeAt(Q++)))==56320?c.push(((1023&a)<<10)+(1023&y)+65536):(c.push(a),Q--):c.push(a);return c}function A(u){return n(u,(function(a){var y="";return a>65535&&(y+=l((a-=65536)>>>10&1023|55296),a=56320|1023&a),y+=l(a)})).join("")}function b(u,a){return u+22+75*(u<26)-((a!=0)<<5)}function d(u,a,y){var c=0;for(u=y?i(u/700):u>>1,u+=i(u/a);u>455;c+=_)u=i(u/35);return i(c+36*u/(u+38))}function k(u){var a,y,c,Q,V,z,J,G,C,lt,X,nt=[],ht=u.length,Y=0,ot=128,et=72;for((y=u.lastIndexOf("-"))<0&&(y=0),c=0;c<y;++c)u.charCodeAt(c)>=128&&t("not-basic"),nt.push(u.charCodeAt(c));for(Q=y>0?y+1:0;Q<ht;){for(V=Y,z=1,J=_;Q>=ht&&t("invalid-input"),((G=(X=u.charCodeAt(Q++))-48<10?X-22:X-65<26?X-65:X-97<26?X-97:_)>=_||G>i((p-Y)/z))&&t("overflow"),Y+=G*z,!(G<(C=J<=et?1:J>=et+26?26:J-et));J+=_)z>i(p/(lt=_-C))&&t("overflow"),z*=lt;et=d(Y-V,a=nt.length+1,V==0),i(Y/a)>p-ot&&t("overflow"),ot+=i(Y/a),Y%=a,nt.splice(Y++,0,ot)}return A(nt)}function L(u){var a,y,c,Q,V,z,J,G,C,lt,X,nt,ht,Y,ot,et=[];for(nt=(u=f(u)).length,a=128,y=0,V=72,z=0;z<nt;++z)(X=u[z])<128&&et.push(l(X));for(c=Q=et.length,Q&&et.push("-");c<nt;){for(J=p,z=0;z<nt;++z)(X=u[z])>=a&&X<J&&(J=X);for(J-a>i((p-y)/(ht=c+1))&&t("overflow"),y+=(J-a)*ht,a=J,z=0;z<nt;++z)if((X=u[z])<a&&++y>p&&t("overflow"),X==a){for(G=y,C=_;!(G<(lt=C<=V?1:C>=V+26?26:C-V));C+=_)ot=G-lt,Y=_-lt,et.push(l(b(lt+ot%Y,0))),G=i(ot/Y);et.push(l(b(G,0))),V=d(y,ht,c==Q),y=0,++c}++y,++a}return et.join("")}if(j={version:"1.4.1",ucs2:{decode:f,encode:A},decode:k,encode:L,toASCII:function(u){return S(u,(function(a){return q.test(a)?"xn--"+L(a):a}))},toUnicode:function(u){return S(u,(function(a){return v.test(a)?k(a.slice(4).toLowerCase()):a}))}},w&&$)if(M.exports==w)$.exports=j;else for(m in j)j.hasOwnProperty(m)&&(w[m]=j[m]);else F.punycode=j})(he)),Lt.exports;var M,E}const de=fe(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Pt,Ht,Kt,$t,zt,Bt,Qt,Vt,Zt,Gt,Jt,Yt,Mt,Xt,Nt,te,ee,re,ne,oe,ie;function Dt(){if(Ht)return Pt;Ht=1;var M=typeof Map=="function"&&Map.prototype,E=Object.getOwnPropertyDescriptor&&M?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,F=M&&E&&typeof E.get=="function"?E.get:null,w=M&&Map.prototype.forEach,$=typeof Set=="function"&&Set.prototype,I=Object.getOwnPropertyDescriptor&&$?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,j=$&&I&&typeof I.get=="function"?I.get:null,m=$&&Set.prototype.forEach,p=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap.prototype.has:null,_=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet.prototype.has:null,v=typeof WeakRef=="function"&&WeakRef.prototype?WeakRef.prototype.deref:null,q=Boolean.prototype.valueOf,U=Object.prototype.toString,x=Function.prototype.toString,i=String.prototype.match,l=String.prototype.slice,t=String.prototype.replace,n=String.prototype.toUpperCase,S=String.prototype.toLowerCase,f=RegExp.prototype.test,A=Array.prototype.concat,b=Array.prototype.join,d=Array.prototype.slice,k=Math.floor,L=typeof BigInt=="function"?BigInt.prototype.valueOf:null,u=Object.getOwnPropertySymbols,a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,y=typeof Symbol=="function"&&typeof Symbol.iterator=="object",c=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===y||!0)?Symbol.toStringTag:null,Q=Object.prototype.propertyIsEnumerable,V=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(s){return s.__proto__}:null);function z(s,o){if(s===1/0||s===-1/0||s!=s||s&&s>-1e3&&s<1e3||f.call(/e/,o))return o;var P=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof s=="number"){var H=s<0?-k(-s):k(s);if(H!==s){var N=String(H),D=l.call(o,N.length+1);return t.call(N,P,"$&_")+"."+t.call(t.call(D,/([0-9]{3})/g,"$&_"),/_$/,"")}}return t.call(o,P,"$&_")}var J=de,G=J.custom,C=bt(G)?G:null,lt={__proto__:null,double:'"',single:"'"},X={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function nt(s,o,P){var H=P.quoteStyle||o,N=lt[H];return N+s+N}function ht(s){return t.call(String(s),/"/g,""")}function Y(s){return!c||!(typeof s=="object"&&(c in s||s[c]!==void 0))}function ot(s){return ut(s)==="[object Array]"&&Y(s)}function et(s){return ut(s)==="[object RegExp]"&&Y(s)}function bt(s){if(y)return s&&typeof s=="object"&&s instanceof Symbol;if(typeof s=="symbol")return!0;if(!s||typeof s!="object"||!a)return!1;try{return a.call(s),!0}catch{}return!1}Pt=function s(o,P,H,N){var D=P||{};if(st(D,"quoteStyle")&&!st(lt,D.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(st(D,"maxStringLength")&&(typeof D.maxStringLength=="number"?D.maxStringLength<0&&D.maxStringLength!==1/0:D.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var B=!st(D,"customInspect")||D.customInspect;if(typeof B!="boolean"&&B!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(st(D,"indent")&&D.indent!==null&&D.indent!==" "&&!(parseInt(D.indent,10)===D.indent&&D.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(st(D,"numericSeparator")&&typeof D.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ct=D.numericSeparator;if(o===void 0)return"undefined";if(o===null)return"null";if(typeof o=="boolean")return o?"true":"false";if(typeof o=="string")return T(o,D);if(typeof o=="number"){if(o===0)return 1/0/o>0?"0":"-0";var it=String(o);return ct?z(o,it):it}if(typeof o=="bigint"){var rt=String(o)+"n";return ct?z(o,rt):rt}var gt=D.depth===void 0?5:D.depth;if(H===void 0&&(H=0),H>=gt&>>0&&typeof o=="object")return ot(o)?"[Array]":"[Object]";var R=(function(h,tt){var Et;if(h.indent===" ")Et=" ";else{if(!(typeof h.indent=="number"&&h.indent>0))return null;Et=b.call(Array(h.indent+1)," ")}return{base:Et,prev:b.call(Array(tt+1),Et)}})(D,H);if(N===void 0)N=[];else if(r(N,o)>=0)return"[Circular]";function at(h,tt,Et){if(tt&&(N=d.call(N)).push(tt),Et){var Wt={depth:D.depth};return st(D,"quoteStyle")&&(Wt.quoteStyle=D.quoteStyle),s(h,Wt,H+1,N)}return s(h,D,H+1,N)}if(typeof o=="function"&&!et(o)){var yt=(function(h){if(h.name)return h.name;var tt=i.call(x.call(h),/^function\s*([\w$]+)/);return tt?tt[1]:null})(o),jt=K(o,at);return"[Function"+(yt?": "+yt:" (anonymous)")+"]"+(jt.length>0?" { "+b.call(jt,", ")+" }":"")}if(bt(o)){var dt=y?t.call(String(o),/^(Symbol\(.*\))_[^)]*$/,"$1"):a.call(o);return typeof o!="object"||y?dt:O(dt)}if((function(h){return!h||typeof h!="object"?!1:typeof HTMLElement<"u"&&h instanceof HTMLElement?!0:typeof h.nodeName=="string"&&typeof h.getAttribute=="function"})(o)){for(var ft="<"+S.call(String(o.nodeName)),pt=o.attributes||[],mt=0;mt<pt.length;mt++)ft+=" "+pt[mt].name+"="+nt(ht(pt[mt].value),"double",D);return ft+=">",o.childNodes&&o.childNodes.length&&(ft+="..."),ft+="</"+S.call(String(o.nodeName))+">"}if(ot(o)){if(o.length===0)return"[]";var At=K(o,at);return R&&!(function(h){for(var tt=0;tt<h.length;tt++)if(r(h[tt],`
|
|
2
|
-
`)>=0)return!1;return!0})(At)?"["+g(At,R)+"]":"[ "+b.call(At,", ")+" ]"}if((function(h){return ut(h)==="[object Error]"&&Y(h)})(o)){var vt=K(o,at);return"cause"in Error.prototype||!("cause"in o)||Q.call(o,"cause")?vt.length===0?"["+String(o)+"]":"{ ["+String(o)+"] "+b.call(vt,", ")+" }":"{ ["+String(o)+"] "+b.call(A.call("[cause]: "+at(o.cause),vt),", ")+" }"}if(typeof o=="object"&&B){if(C&&typeof o[C]=="function"&&J)return J(o,{depth:gt-H});if(B!=="symbol"&&typeof o.inspect=="function")return o.inspect()}if((function(h){if(!F||!h||typeof h!="object")return!1;try{F.call(h);try{j.call(h)}catch{return!0}return h instanceof Map}catch{}return!1})(o)){var St=[];return w&&w.call(o,(function(h,tt){St.push(at(tt,o,!0)+" => "+at(h,o))})),Z("Map",F.call(o),St,R)}if((function(h){if(!j||!h||typeof h!="object")return!1;try{j.call(h);try{F.call(h)}catch{return!0}return h instanceof Set}catch{}return!1})(o)){var xt=[];return m&&m.call(o,(function(h){xt.push(at(h,o))})),Z("Set",j.call(o),xt,R)}if((function(h){if(!p||!h||typeof h!="object")return!1;try{p.call(h,p);try{_.call(h,_)}catch{return!0}return h instanceof WeakMap}catch{}return!1})(o))return W("WeakMap");if((function(h){if(!_||!h||typeof h!="object")return!1;try{_.call(h,_);try{p.call(h,p)}catch{return!0}return h instanceof WeakSet}catch{}return!1})(o))return W("WeakSet");if((function(h){if(!v||!h||typeof h!="object")return!1;try{return v.call(h),!0}catch{}return!1})(o))return W("WeakRef");if((function(h){return ut(h)==="[object Number]"&&Y(h)})(o))return O(at(Number(o)));if((function(h){if(!h||typeof h!="object"||!L)return!1;try{return L.call(h),!0}catch{}return!1})(o))return O(at(L.call(o)));if((function(h){return ut(h)==="[object Boolean]"&&Y(h)})(o))return O(q.call(o));if((function(h){return ut(h)==="[object String]"&&Y(h)})(o))return O(at(String(o)));if(typeof window<"u"&&o===window)return"{ [object Window] }";if(typeof globalThis<"u"&&o===globalThis||Tt!==void 0&&o===Tt)return"{ [object globalThis] }";if(!(function(h){return ut(h)==="[object Date]"&&Y(h)})(o)&&!et(o)){var wt=K(o,at),_t=V?V(o)===Object.prototype:o instanceof Object||o.constructor===Object,Rt=o instanceof Object?"":"null prototype",Ut=!_t&&c&&Object(o)===o&&c in o?l.call(ut(o),8,-1):Rt?"Object":"",kt=(_t||typeof o.constructor!="function"?"":o.constructor.name?o.constructor.name+" ":"")+(Ut||Rt?"["+b.call(A.call([],Ut||[],Rt||[]),": ")+"] ":"");return wt.length===0?kt+"{}":R?kt+"{"+g(wt,R)+"}":kt+"{ "+b.call(wt,", ")+" }"}return String(o)};var Ot=Object.prototype.hasOwnProperty||function(s){return s in this};function st(s,o){return Ot.call(s,o)}function ut(s){return U.call(s)}function r(s,o){if(s.indexOf)return s.indexOf(o);for(var P=0,H=s.length;P<H;P++)if(s[P]===o)return P;return-1}function T(s,o){if(s.length>o.maxStringLength){var P=s.length-o.maxStringLength,H="... "+P+" more character"+(P>1?"s":"");return T(l.call(s,0,o.maxStringLength),o)+H}var N=X[o.quoteStyle||"single"];return N.lastIndex=0,nt(t.call(t.call(s,N,"\\$1"),/[\x00-\x1f]/g,e),"single",o)}function e(s){var o=s.charCodeAt(0),P={8:"b",9:"t",10:"n",12:"f",13:"r"}[o];return P?"\\"+P:"\\x"+(o<16?"0":"")+n.call(o.toString(16))}function O(s){return"Object("+s+")"}function W(s){return s+" { ? }"}function Z(s,o,P,H){return s+" ("+o+") {"+(H?g(P,H):b.call(P,", "))+"}"}function g(s,o){if(s.length===0)return"";var P=`
|
|
3
|
-
`+o.prev+o.base;return P+b.call(s,","+P)+`
|
|
4
|
-
`+o.prev}function K(s,o){var P=ot(s),H=[];if(P){H.length=s.length;for(var N=0;N<s.length;N++)H[N]=st(s,N)?o(s[N],s):""}var D,B=typeof u=="function"?u(s):[];if(y){D={};for(var ct=0;ct<B.length;ct++)D["$"+B[ct]]=B[ct]}for(var it in s)st(s,it)&&(P&&String(Number(it))===it&&it<s.length||y&&D["$"+it]instanceof Symbol||(f.call(/[^\w$]/,it)?H.push(o(it,s)+": "+o(s[it],s)):H.push(it+": "+o(s[it],s))));if(typeof u=="function")for(var rt=0;rt<B.length;rt++)Q.call(s,B[rt])&&H.push("["+o(B[rt])+"]: "+o(s[B[rt]],s));return H}return Pt}function me(){if($t)return Kt;$t=1;var M=Dt(),E=It(),F=function(w,$,I){for(var j,m=w;(j=m.next)!=null;m=j)if(j.key===$)return m.next=j.next,I||(j.next=w.next,w.next=j),j};return Kt=function(){var w,$={assert:function(I){if(!$.has(I))throw new E("Side channel does not contain "+M(I))},delete:function(I){var j=(function(m,p){if(m)return F(m,p,!0)})(w,I);return j&&w&&!w.next&&(w=void 0),!!j},get:function(I){return(function(j,m){if(j){var p=F(j,m);return p&&p.value}})(w,I)},has:function(I){return(function(j,m){return!!j&&!!F(j,m)})(w,I)},set:function(I,j){w||(w={next:void 0}),(function(m,p,_){var v=F(m,p);v?v.value=_:m.next={key:p,next:m.next,value:_}})(w,I,j)}};return $}}function ae(){if(Bt)return zt;Bt=1;var M=le(),E=se(),F=Dt(),w=It(),$=M("%Map%",!0),I=E("Map.prototype.get",!0),j=E("Map.prototype.set",!0),m=E("Map.prototype.has",!0),p=E("Map.prototype.delete",!0),_=E("Map.prototype.size",!0);return zt=!!$&&function(){var v,q={assert:function(U){if(!q.has(U))throw new w("Side channel does not contain "+F(U))},delete:function(U){if(v){var x=p(v,U);return _(v)===0&&(v=void 0),x}return!1},get:function(U){if(v)return I(v,U)},has:function(U){return!!v&&m(v,U)},set:function(U,x){v||(v=new $),j(v,U,x)}};return q}}function ce(){if(Gt)return Zt;Gt=1;var M=It(),E=Dt(),F=me(),w=ae(),$=(function(){if(Vt)return Qt;Vt=1;var j=le(),m=se(),p=Dt(),_=ae(),v=It(),q=j("%WeakMap%",!0),U=m("WeakMap.prototype.get",!0),x=m("WeakMap.prototype.set",!0),i=m("WeakMap.prototype.has",!0),l=m("WeakMap.prototype.delete",!0);return Qt=q?function(){var t,n,S={assert:function(f){if(!S.has(f))throw new v("Side channel does not contain "+p(f))},delete:function(f){if(q&&f&&(typeof f=="object"||typeof f=="function")){if(t)return l(t,f)}else if(_&&n)return n.delete(f);return!1},get:function(f){return q&&f&&(typeof f=="object"||typeof f=="function")&&t?U(t,f):n&&n.get(f)},has:function(f){return q&&f&&(typeof f=="object"||typeof f=="function")&&t?i(t,f):!!n&&n.has(f)},set:function(f,A){q&&f&&(typeof f=="object"||typeof f=="function")?(t||(t=new q),x(t,f,A)):_&&(n||(n=_()),n.set(f,A))}};return S}:_})(),I=$||w||F;return Zt=function(){var j,m={assert:function(p){if(!m.has(p)){var _=p&&Object(p)===p?"the given object key":E(p);throw new M("Side channel does not contain "+_)}},delete:function(p){return!!j&&j.delete(p)},get:function(p){return j&&j.get(p)},has:function(p){return!!j&&j.has(p)},set:function(p,_){j||(j=I()),j.set(p,_)}};return m}}function qt(){if(Yt)return Jt;Yt=1;var M=String.prototype.replace,E=/%20/g,F="RFC3986";return Jt={default:F,formatters:{RFC1738:function(w){return M.call(w,E,"+")},RFC3986:function(w){return String(w)}},RFC1738:"RFC1738",RFC3986:F}}function ue(){if(Xt)return Mt;Xt=1;var M=qt(),E=ce(),F=pe(),w=Object.prototype.hasOwnProperty,$=Array.isArray,I=E(),j=function(i,l){return I.set(i,l),i},m=function(i){return I.has(i)},p=function(i){return I.get(i)},_=function(i,l){I.set(i,l)},v=(function(){for(var i=[],l=0;l<256;++l)i[i.length]="%"+((l<16?"0":"")+l.toString(16)).toUpperCase();return i})(),q=function(i,l){for(var t=l&&l.plainObjects?{__proto__:null}:{},n=0;n<i.length;++n)i[n]!==void 0&&(t[n]=i[n]);return t},U=function(i,l,t){l==="__proto__"&&F?F(i,l,{configurable:!0,enumerable:!0,value:t,writable:!0}):i[l]=t},x=1024;return Mt={arrayToObject:q,assign:function(i,l){return Object.keys(l).reduce((function(t,n){return U(t,n,l[n]),t}),i)},combine:function(i,l,t,n,S){if(m(i)){if(S)throw new RangeError("Array limit exceeded. Only "+t+" element"+(t===1?"":"s")+" allowed in an array.");for(var f=$(l)?l:[l],A=p(i),b=0;b<f.length;++b)i[A+=1]=f[b];return _(i,A),i}var d=[].concat(i,l);if(d.length>t){if(S)throw new RangeError("Array limit exceeded. Only "+t+" element"+(t===1?"":"s")+" allowed in an array.");return j(q(d,{plainObjects:n}),d.length-1)}return d},compact:function(i){for(var l=[{obj:{o:i},prop:"o"}],t=E(),n=0;n<l.length;++n)for(var S=l[n],f=S.obj[S.prop],A=Object.keys(f),b=0;b<A.length;++b){var d=A[b],k=f[d];typeof k!="object"||k===null||t.has(k)||(l[l.length]={obj:f,prop:d},t.set(k,!0))}return(function(L){for(;L.length>1;){var u=L.pop(),a=u.obj[u.prop];if($(a)){for(var y=[],c=0;c<a.length;++c)a[c]!==void 0&&(y[y.length]=a[c]);u.obj[u.prop]=y}}})(l),i},decode:function(i,l,t){var n=i.replace(/\+/g," ");if(t==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},encode:function(i,l,t,n,S){if(i.length===0)return i;var f=i;if(typeof i=="symbol"?f=Symbol.prototype.toString.call(i):typeof i!="string"&&(f=String(i)),t==="iso-8859-1")return escape(f).replace(/%u[0-9a-f]{4}/gi,(function(y){return"%26%23"+parseInt(y.slice(2),16)+"%3B"}));for(var A="",b=0;b<f.length;b+=x){var d=f.length>=x?f.slice(b,b+x):f;if(b+x<f.length){var k=d.charCodeAt(d.length-1);k>=55296&&k<=56319&&(d=d.slice(0,-1),b-=1)}for(var L=[],u=0;u<d.length;++u){var a=d.charCodeAt(u);a===45||a===46||a===95||a===126||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122||S===M.RFC1738&&(a===40||a===41)?L[L.length]=d.charAt(u):a<128?L[L.length]=v[a]:a<2048?L[L.length]=v[192|a>>6]+v[128|63&a]:a<55296||a>=57344?L[L.length]=v[224|a>>12]+v[128|a>>6&63]+v[128|63&a]:(u+=1,a=65536+((1023&a)<<10|1023&d.charCodeAt(u)),L[L.length]=v[240|a>>18]+v[128|a>>12&63]+v[128|a>>6&63]+v[128|63&a])}A+=L.join("")}return A},isBuffer:function(i){return!(!i||typeof i!="object")&&!(!i.constructor||typeof i.constructor.isBuffer!="function"||!i.constructor.isBuffer(i))},isOverflow:m,isRegExp:function(i){return Object.prototype.toString.call(i)==="[object RegExp]"},markOverflow:j,maybeMap:function(i,l){if($(i)){for(var t=[],n=0;n<i.length;n+=1)t[t.length]=l(i[n]);return t}return l(i)},merge:function i(l,t,n){if(!t)return l;if(typeof t!="object"&&typeof t!="function"){if($(l)){var S=l.length;if(n&&typeof n.arrayLimit=="number"&&S>=n.arrayLimit){if(n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");return j(q(l.concat(t),n),S)}l[S]=t}else{if(!l||typeof l!="object")return[l,t];if(m(l)){var f=p(l)+1;l[f]=t,_(l,f)}else{if(n&&n.strictMerge)return[l,t];(n&&(n.plainObjects||n.allowPrototypes)||!w.call(Object.prototype,t))&&(l[t]=!0)}}return l}if(!l||typeof l!="object"){if(m(t)){for(var A=Object.keys(t),b=n&&n.plainObjects?{__proto__:null,0:l}:{0:l},d=0;d<A.length;d++)b[parseInt(A[d],10)+1]=t[A[d]];return j(b,p(t)+1)}var k=[l].concat(t);if(n&&typeof n.arrayLimit=="number"&&k.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");return j(q(k,n),k.length-1)}return k}var L=l;if($(l)&&!$(t)&&(L=q(l,n)),$(l)&&$(t)){if(t.forEach((function(u,a){if(w.call(l,a)){var y=l[a];y&&typeof y=="object"&&u&&typeof u=="object"?l[a]=i(y,u,n):l[l.length]=u}else l[a]=u})),n&&typeof n.arrayLimit=="number"&&l.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");return j(q(l,n),l.length-1)}return l}return Object.keys(t).reduce((function(u,a){var y=t[a];if(w.call(u,a)?U(u,a,i(u[a],y,n)):U(u,a,y),m(t)&&!m(u)&&j(u,p(t)),m(u)){var c=parseInt(a,10);String(c)===a&&c>=0&&c>p(u)&&_(u,c)}return u}),L)}},Mt}function ge(){if(te)return Nt;te=1;var M=ce(),E=ue(),F=qt(),w=Object.prototype.hasOwnProperty,$={brackets:function(x){return x+"[]"},comma:"comma",indices:function(x,i){return x+"["+i+"]"},repeat:function(x){return x}},I=Array.isArray,j=Array.prototype.push,m=function(x,i){j.apply(x,I(i)?i:[i])},p=Date.prototype.toISOString,_=F.default,v={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",depth:1/0,encode:!0,encodeDotInKeys:!1,encoder:E.encode,encodeValuesOnly:!1,filter:void 0,format:_,formatter:F.formatters[_],indices:!1,serializeDate:function(x){return p.call(x)},skipNulls:!1,strictNullHandling:!1},q={},U=function x(i,l,t,n,S,f,A,b,d,k,L,u,a,y,c,Q,V,z,J,G){var C=i;if(G>J)throw new RangeError("Input depth exceeded depth option of "+J);for(var lt,X=z,nt=0,ht=!1;(X=X.get(q))!==void 0&&!ht;){var Y=X.get(i);if(nt+=1,Y!==void 0){if(Y===nt)throw new RangeError("Cyclic object value");ht=!0}X.get(q)===void 0&&(nt=0)}if((C=typeof k=="function"?k(l,C):C)instanceof Date?C=a(C):t==="comma"&&I(C)&&(C=E.maybeMap(C,(function(Z){return Z instanceof Date?a(Z):Z}))),C===null){if(f)return c(d&&!Q?d(l,v.encoder,V,"key",y):l);C=""}if(typeof(lt=C)=="string"||typeof lt=="number"||typeof lt=="boolean"||typeof lt=="symbol"||typeof lt=="bigint"||E.isBuffer(C))return d?[c(Q?l:d(l,v.encoder,V,"key",y))+"="+c(d(C,v.encoder,V,"value",y))]:[c(l)+"="+c(String(C))];var ot,et=[];if(C===void 0)return et;if(t==="comma"&&I(C))Q&&d&&(C=E.maybeMap(C,(function(Z){return Z==null?Z:d(Z)}))),ot=[{value:C.length>0?C.join(",")||null:void 0}];else if(I(k))ot=k;else{var bt=Object.keys(C);ot=L?bt.sort(L):bt}var Ot=b?String(l).replace(/\./g,"%2E"):String(l),st=n&&I(C)&&C.length===1?Ot+"[]":Ot;if(S&&I(C)&&C.length===0&&Object.keys(C).length===0)return st+"[]";for(var ut=0;ut<ot.length;++ut){var r=ot[ut],T=typeof r=="object"&&r&&r.value!==void 0?r.value:C[r];if(!A||T!==null){var e=u&&b?String(r).replace(/\./g,"%2E"):String(r),O=I(C)?typeof t=="function"?t(st,e):st:st+(u?"."+e:"["+e+"]");z.set(i,nt);var W=M();W.set(q,z),m(et,x(T,O,t,n,S,f,A,b,t==="comma"&&Q&&I(C)?null:d,k,L,u,a,y,c,Q,V,W,J,G+1))}}return et};return Nt=function(x,i){var l,t=x,n=(function(c){if(!c)return v;if(c.allowEmptyArrays!==void 0&&typeof c.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(c.encodeDotInKeys!==void 0&&typeof c.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(c.encoder!==null&&c.encoder!==void 0&&typeof c.encoder!="function")throw new TypeError("Encoder has to be a function.");var Q=c.charset||v.charset;if(c.charset!==void 0&&c.charset!=="utf-8"&&c.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var V=F.default;if(c.format!==void 0){if(!w.call(F.formatters,c.format))throw new TypeError("Unknown format option provided.");V=c.format}var z,J=F.formatters[V],G=v.filter;if((typeof c.filter=="function"||I(c.filter))&&(G=c.filter),z=c.arrayFormat in $?c.arrayFormat:"indices"in c?c.indices?"indices":"repeat":v.arrayFormat,"commaRoundTrip"in c&&typeof c.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var C=c.allowDots===void 0?c.encodeDotInKeys===!0||v.allowDots:!!c.allowDots;return{addQueryPrefix:typeof c.addQueryPrefix=="boolean"?c.addQueryPrefix:v.addQueryPrefix,allowDots:C,allowEmptyArrays:typeof c.allowEmptyArrays=="boolean"?!!c.allowEmptyArrays:v.allowEmptyArrays,arrayFormat:z,charset:Q,charsetSentinel:typeof c.charsetSentinel=="boolean"?c.charsetSentinel:v.charsetSentinel,commaRoundTrip:!!c.commaRoundTrip,delimiter:c.delimiter===void 0?v.delimiter:c.delimiter,depth:typeof c.depth=="number"?c.depth:v.depth,encode:typeof c.encode=="boolean"?c.encode:v.encode,encodeDotInKeys:typeof c.encodeDotInKeys=="boolean"?c.encodeDotInKeys:v.encodeDotInKeys,encoder:typeof c.encoder=="function"?c.encoder:v.encoder,encodeValuesOnly:typeof c.encodeValuesOnly=="boolean"?c.encodeValuesOnly:v.encodeValuesOnly,filter:G,format:V,formatter:J,serializeDate:typeof c.serializeDate=="function"?c.serializeDate:v.serializeDate,skipNulls:typeof c.skipNulls=="boolean"?c.skipNulls:v.skipNulls,sort:typeof c.sort=="function"?c.sort:null,strictNullHandling:typeof c.strictNullHandling=="boolean"?c.strictNullHandling:v.strictNullHandling}})(i);typeof n.filter=="function"?t=(0,n.filter)("",t):I(n.filter)&&(l=n.filter);var S=[];if(typeof t!="object"||t===null)return"";var f=$[n.arrayFormat],A=f==="comma"&&n.commaRoundTrip;l||(l=Object.keys(t)),n.sort&&l.sort(n.sort);for(var b=M(),d=0;d<l.length;++d){var k=l[d];if(k!=null){var L=t[k];if(!n.skipNulls||L!==null){var u=n.encodeDotInKeys?String(k).replace(/\./g,"%2E"):String(k);m(S,U(L,u,f,A,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,b,n.depth,0))}}}var a=S.join(n.delimiter),y=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?y+="utf8=%26%2310003%3B"+n.delimiter:y+="utf8=%E2%9C%93"+n.delimiter),a.length>0?y+a:""},Nt}function ve(){if(re)return ee;re=1;var M=ue(),E=Object.prototype.hasOwnProperty,F=Array.isArray,w={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:M.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},$=function(m){return m.replace(/&#(\d+);/g,(function(p,_){return String.fromCharCode(parseInt(_,10))}))},I=function(m,p,_){if(m&&typeof m=="string"&&p.comma&&m.indexOf(",")>-1){if(p.throwOnLimitExceeded)for(var v=0,q=m.indexOf(",");q>-1;){if((v+=1)>=p.arrayLimit)throw new RangeError("Array limit exceeded. Only "+p.arrayLimit+" element"+(p.arrayLimit===1?"":"s")+" allowed in an array.");q=m.indexOf(",",q+1)}return m.split(",")}if(p.throwOnLimitExceeded&&_>=p.arrayLimit)throw new RangeError("Array limit exceeded. Only "+p.arrayLimit+" element"+(p.arrayLimit===1?"":"s")+" allowed in an array.");return m},j=function(m,p,_,v){if(m){var q=(function(U,x){var i=x.allowDots?U.replace(/\.([^.[]+)/g,"[$1]"):U;if(x.depth<=0)return!x.plainObjects&&E.call(Object.prototype,i)&&!x.allowPrototypes?void 0:[i];var l=[],t=i.indexOf("["),n=t>=0?i.slice(0,t):i;if(n){if(!x.plainObjects&&E.call(Object.prototype,n)&&!x.allowPrototypes)return;l[l.length]=n}for(var S=i.length,f=t,A=0;f>=0&&A<x.depth;){for(var b=1,d=f+1,k=-1;d<S&&k<0;){var L=i.charCodeAt(d);L===91?b+=1:L===93&&(b-=1)==0&&(k=d),d+=1}if(k<0)return l[l.length]="["+i.slice(f)+"]",l;var u=i.slice(f,k+1),a=u.slice(1,-1);if(!x.plainObjects&&E.call(Object.prototype,a)&&!x.allowPrototypes)return;l[l.length]=u,A+=1,f=i.indexOf("[",k+1)}if(f>=0){if(x.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+x.depth+" and strictDepth is true");l[l.length]="["+i.slice(f)+"]"}return l})(m,_);if(q)return(function(U,x,i,l){var t=0;if(U.length>0&&U[U.length-1]==="[]"){var n=U.slice(0,-1).join("");t=Array.isArray(x)&&x[n]?x[n].length:0}for(var S=l?x:I(x,i,t),f=U.length-1;f>=0;--f){var A,b=U[f];if(b==="[]"&&i.parseArrays)A=M.isOverflow(S)?S:i.allowEmptyArrays&&(S===""||i.strictNullHandling&&S===null)?[]:M.combine([],S,i.arrayLimit,i.plainObjects,i.throwOnLimitExceeded);else{A=i.plainObjects?{__proto__:null}:{};var d=b.charAt(0)==="["&&b.charAt(b.length-1)==="]"?b.slice(1,-1):b,k=i.decodeDotInKeys?d.replace(/%2E/g,"."):d,L=parseInt(k,10),u=!isNaN(L)&&b!==k&&String(L)===k&&L>=0&&i.parseArrays;if(i.parseArrays||k!=="")if(u&&L<i.arrayLimit)(A=[])[L]=S;else{if(u&&i.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.");u?(A[L]=S,M.markOverflow(A,L)):k!=="__proto__"&&(A[k]=S)}else A={0:S}}S=A}return S})(q,p,_,v)}};return ee=function(m,p){var _=(function(t){if(!t)return w;if(t.allowEmptyArrays!==void 0&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(t.decodeDotInKeys!==void 0&&typeof t.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(t.charset!==void 0&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(t.throwOnLimitExceeded!==void 0&&typeof t.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var n=t.charset===void 0?w.charset:t.charset,S=t.duplicates===void 0?w.duplicates:t.duplicates;if(S!=="combine"&&S!=="first"&&S!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:t.allowDots===void 0?t.decodeDotInKeys===!0||w.allowDots:!!t.allowDots,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:w.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:w.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:w.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:w.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:w.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:w.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:w.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:w.decoder,delimiter:typeof t.delimiter=="string"||M.isRegExp(t.delimiter)?t.delimiter:w.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:w.depth,duplicates:S,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:w.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:w.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:w.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:w.strictDepth,strictMerge:typeof t.strictMerge=="boolean"?!!t.strictMerge:w.strictMerge,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:w.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"&&t.throwOnLimitExceeded}})(p);if(m===""||m==null)return _.plainObjects?{__proto__:null}:{};for(var v=typeof m=="string"?(function(t,n){var S={__proto__:null},f=n.ignoreQueryPrefix?t.replace(/^\?/,""):t;f=f.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var A=n.parameterLimit===1/0?void 0:n.parameterLimit,b=f.split(n.delimiter,n.throwOnLimitExceeded&&A!==void 0?A+1:A);if(n.throwOnLimitExceeded&&A!==void 0&&b.length>A)throw new RangeError("Parameter limit exceeded. Only "+A+" parameter"+(A===1?"":"s")+" allowed.");var d,k=-1,L=n.charset;if(n.charsetSentinel)for(d=0;d<b.length;++d)b[d].indexOf("utf8=")===0&&(b[d]==="utf8=%E2%9C%93"?L="utf-8":b[d]==="utf8=%26%2310003%3B"&&(L="iso-8859-1"),k=d,d=b.length);for(d=0;d<b.length;++d)if(d!==k){var u,a,y=b[d],c=y.indexOf("]="),Q=c===-1?y.indexOf("="):c+1;if(Q===-1?(u=n.decoder(y,w.decoder,L,"key"),a=n.strictNullHandling?null:""):(u=n.decoder(y.slice(0,Q),w.decoder,L,"key"))!==null&&(a=M.maybeMap(I(y.slice(Q+1),n,F(S[u])?S[u].length:0),(function(z){return n.decoder(z,w.decoder,L,"value")}))),a&&n.interpretNumericEntities&&L==="iso-8859-1"&&(a=$(String(a))),y.indexOf("[]=")>-1&&(a=F(a)?[a]:a),n.comma&&F(a)&&a.length>n.arrayLimit&&(a=M.combine([],a,n.arrayLimit,n.plainObjects,n.throwOnLimitExceeded)),u!==null){var V=E.call(S,u);V&&(n.duplicates==="combine"||y.indexOf("[]=")>-1)?S[u]=M.combine(S[u],a,n.arrayLimit,n.plainObjects,n.throwOnLimitExceeded):V&&n.duplicates!=="last"||(S[u]=a)}}return S})(m,_):m,q=_.plainObjects?{__proto__:null}:{},U=Object.keys(v),x=0;x<U.length;++x){var i=U[x],l=j(i,v[i],_,typeof m=="string");q=M.merge(q,l,_)}return _.allowSparse===!0?q:M.compact(q)}}function be(){if(oe)return ne;oe=1;var M=ge(),E=ve();return ne={formats:qt(),parse:E,stringify:M}}function je(){return ie||(ie=1,(function(M,E){Object.defineProperty(E,"__esModule",{value:!0});var F=ye(),w=be();function $(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var I=$(F),j=$(w),m=I.default;function p(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var _=/^([a-z0-9.+-]+:)/i,v=/:[0-9]*$/,q=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,U=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
|
|
5
|
-
`," "]),x=["'"].concat(U),i=["%","/","?",";","#"].concat(x),l=["/","?","#"],t=/^[+a-z0-9A-Z_-]{0,63}$/,n=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,S={javascript:!0,"javascript:":!0},f={javascript:!0,"javascript:":!0},A={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=j.default;function d(r,T,e){if(r&&typeof r=="object"&&r instanceof p)return r;var O=new p;return O.parse(r,T,e),O}p.prototype.parse=function(r,T,e){if(typeof r!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof r);var O=r.indexOf("?"),W=O!==-1&&O<r.indexOf("#")?"?":"#",Z=r.split(W);Z[0]=Z[0].replace(/\\/g,"/");var g=r=Z.join(W);if(g=g.trim(),!e&&r.split("#").length===1){var K=q.exec(g);if(K)return this.path=g,this.href=g,this.pathname=K[1],K[2]?(this.search=K[2],this.query=T?b.parse(this.search.substr(1)):this.search.substr(1)):T&&(this.search="",this.query={}),this}var s=_.exec(g);if(s){var o=(s=s[0]).toLowerCase();this.protocol=o,g=g.substr(s.length)}if(e||s||g.match(/^\/\/[^@/]+@[^@/]+/)){var P=g.substr(0,2)==="//";!P||s&&f[s]||(g=g.substr(2),this.slashes=!0)}if(!f[s]&&(P||s&&!A[s])){for(var H,N,D=-1,B=0;B<l.length;B++)(ct=g.indexOf(l[B]))!==-1&&(D===-1||ct<D)&&(D=ct);for((N=D===-1?g.lastIndexOf("@"):g.lastIndexOf("@",D))!==-1&&(H=g.slice(0,N),g=g.slice(N+1),this.auth=decodeURIComponent(H)),D=-1,B=0;B<i.length;B++){var ct;(ct=g.indexOf(i[B]))!==-1&&(D===-1||ct<D)&&(D=ct)}D===-1&&(D=g.length),this.host=g.slice(0,D),g=g.slice(D),this.parseHost(),this.hostname=this.hostname||"";var it=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!it)for(var rt=this.hostname.split(/\./),gt=(B=0,rt.length);B<gt;B++){var R=rt[B];if(R&&!R.match(t)){for(var at="",yt=0,jt=R.length;yt<jt;yt++)R.charCodeAt(yt)>127?at+="x":at+=R[yt];if(!at.match(t)){var dt=rt.slice(0,B),ft=rt.slice(B+1),pt=R.match(n);pt&&(dt.push(pt[1]),ft.unshift(pt[2])),ft.length&&(g="/"+ft.join(".")+g),this.hostname=dt.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),it||(this.hostname=m.toASCII(this.hostname));var mt=this.port?":"+this.port:"",At=this.hostname||"";this.host=At+mt,this.href+=this.host,it&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),g[0]!=="/"&&(g="/"+g))}if(!S[o])for(B=0,gt=x.length;B<gt;B++){var vt=x[B];if(g.indexOf(vt)!==-1){var St=encodeURIComponent(vt);St===vt&&(St=escape(vt)),g=g.split(vt).join(St)}}var xt=g.indexOf("#");xt!==-1&&(this.hash=g.substr(xt),g=g.slice(0,xt));var wt=g.indexOf("?");if(wt!==-1?(this.search=g.substr(wt),this.query=g.substr(wt+1),T&&(this.query=b.parse(this.query)),g=g.slice(0,wt)):T&&(this.search="",this.query={}),g&&(this.pathname=g),A[o]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){mt=this.pathname||"";var _t=this.search||"";this.path=mt+_t}return this.href=this.format(),this},p.prototype.format=function(){var r=this.auth||"";r&&(r=(r=encodeURIComponent(r)).replace(/%3A/i,":"),r+="@");var T=this.protocol||"",e=this.pathname||"",O=this.hash||"",W=!1,Z="";this.host?W=r+this.host:this.hostname&&(W=r+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(W+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(Z=b.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var g=this.search||Z&&"?"+Z||"";return T&&T.substr(-1)!==":"&&(T+=":"),this.slashes||(!T||A[T])&&W!==!1?(W="//"+(W||""),e&&e.charAt(0)!=="/"&&(e="/"+e)):W||(W=""),O&&O.charAt(0)!=="#"&&(O="#"+O),g&&g.charAt(0)!=="?"&&(g="?"+g),T+W+(e=e.replace(/[?#]/g,(function(K){return encodeURIComponent(K)})))+(g=g.replace("#","%23"))+O},p.prototype.resolve=function(r){return this.resolveObject(d(r,!1,!0)).format()},p.prototype.resolveObject=function(r){if(typeof r=="string"){var T=new p;T.parse(r,!1,!0),r=T}for(var e=new p,O=Object.keys(this),W=0;W<O.length;W++){var Z=O[W];e[Z]=this[Z]}if(e.hash=r.hash,r.href==="")return e.href=e.format(),e;if(r.slashes&&!r.protocol){for(var g=Object.keys(r),K=0;K<g.length;K++){var s=g[K];s!=="protocol"&&(e[s]=r[s])}return A[e.protocol]&&e.hostname&&!e.pathname&&(e.pathname="/",e.path=e.pathname),e.href=e.format(),e}if(r.protocol&&r.protocol!==e.protocol){if(!A[r.protocol]){for(var o=Object.keys(r),P=0;P<o.length;P++){var H=o[P];e[H]=r[H]}return e.href=e.format(),e}if(e.protocol=r.protocol,r.host||f[r.protocol])e.pathname=r.pathname;else{for(var N=(r.pathname||"").split("/");N.length&&!(r.host=N.shift()););r.host||(r.host=""),r.hostname||(r.hostname=""),N[0]!==""&&N.unshift(""),N.length<2&&N.unshift(""),e.pathname=N.join("/")}if(e.search=r.search,e.query=r.query,e.host=r.host||"",e.auth=r.auth,e.hostname=r.hostname||r.host,e.port=r.port,e.pathname||e.search){var D=e.pathname||"",B=e.search||"";e.path=D+B}return e.slashes=e.slashes||r.slashes,e.href=e.format(),e}var ct=e.pathname&&e.pathname.charAt(0)==="/",it=r.host||r.pathname&&r.pathname.charAt(0)==="/",rt=it||ct||e.host&&r.pathname,gt=rt,R=e.pathname&&e.pathname.split("/")||[],at=(N=r.pathname&&r.pathname.split("/")||[],e.protocol&&!A[e.protocol]);if(at&&(e.hostname="",e.port=null,e.host&&(R[0]===""?R[0]=e.host:R.unshift(e.host)),e.host="",r.protocol&&(r.hostname=null,r.port=null,r.host&&(N[0]===""?N[0]=r.host:N.unshift(r.host)),r.host=null),rt=rt&&(N[0]===""||R[0]==="")),it)e.host=r.host||r.host===""?r.host:e.host,e.hostname=r.hostname||r.hostname===""?r.hostname:e.hostname,e.search=r.search,e.query=r.query,R=N;else if(N.length)R||(R=[]),R.pop(),R=R.concat(N),e.search=r.search,e.query=r.query;else if(r.search!=null)return at&&(e.host=R.shift(),e.hostname=e.host,(pt=!!(e.host&&e.host.indexOf("@")>0)&&e.host.split("@"))&&(e.auth=pt.shift(),e.hostname=pt.shift(),e.host=e.hostname)),e.search=r.search,e.query=r.query,e.pathname===null&&e.search===null||(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.href=e.format(),e;if(!R.length)return e.pathname=null,e.search?e.path="/"+e.search:e.path=null,e.href=e.format(),e;for(var yt=R.slice(-1)[0],jt=(e.host||r.host||R.length>1)&&(yt==="."||yt==="..")||yt==="",dt=0,ft=R.length;ft>=0;ft--)(yt=R[ft])==="."?R.splice(ft,1):yt===".."?(R.splice(ft,1),dt++):dt&&(R.splice(ft,1),dt--);if(!rt&&!gt)for(;dt--;dt)R.unshift("..");!rt||R[0]===""||R[0]&&R[0].charAt(0)==="/"||R.unshift(""),jt&&R.join("/").substr(-1)!=="/"&&R.push("");var pt,mt=R[0]===""||R[0]&&R[0].charAt(0)==="/";return at&&(e.hostname=mt?"":R.length?R.shift():"",e.host=e.hostname,(pt=!!(e.host&&e.host.indexOf("@")>0)&&e.host.split("@"))&&(e.auth=pt.shift(),e.hostname=pt.shift(),e.host=e.hostname)),(rt=rt||e.host&&R.length)&&!mt&&R.unshift(""),R.length>0?e.pathname=R.join("/"):(e.pathname=null,e.path=null),e.pathname===null&&e.search===null||(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.auth=r.auth||e.auth,e.slashes=e.slashes||r.slashes,e.href=e.format(),e},p.prototype.parseHost=function(){var r=this.host,T=v.exec(r);T&&((T=T[0])!==":"&&(this.port=T.substr(1)),r=r.substr(0,r.length-T.length)),r&&(this.hostname=r)};var k=d,L=function(r,T){return d(r,!1,!0).resolve(T)},u=function(r,T){return r?d(r,!1,!0).resolveObject(T):T},a=function(r){return typeof r=="string"&&(r=d(r)),r instanceof p?r.format():p.prototype.format.call(r)},y=p,c=(function(r){function T(){var e=this||self;return delete r.prototype.__magic__,e}return typeof globalThis=="object"?globalThis:this?T():(r.defineProperty(r.prototype,"__magic__",{configurable:!0,get:T}),__magic__)})(Object),Q=a,V=k,z=L,J=y,G=c.URL,C=c.URLSearchParams,lt=/%/g,X=/\\/g,nt=/\n/g,ht=/\r/g,Y=/\t/g,ot=function(r){if(r===void 0)throw new TypeError('The "domain" argument must be specified');return new G("http://"+r).hostname},et=function(r){if(r===void 0)throw new TypeError('The "domain" argument must be specified');return new G("http://"+r).hostname},bt=function(r){var T=new G("file://"),e=(function(){for(var O="",W=!1,Z=arguments.length-1;Z>=-1&&!W;Z--){var g=Z>=0?arguments[Z]:"/";if(typeof g!="string")throw new TypeError("Arguments to path.resolve must be strings");g&&(O=g+"/"+O,W=g.charAt(0)==="/")}return O=(function(K,s){for(var o=0,P=K.length-1;P>=0;P--){var H=K[P];H==="."?K.splice(P,1):H===".."?(K.splice(P,1),o++):o&&(K.splice(P,1),o--)}if(s)for(;o--;o)K.unshift("..");return K})((function(K,s){if(K.filter)return K.filter(s);for(var o=[],P=0;P<K.length;P++)s(K[P],P,K)&&o.push(K[P]);return o})(O.split("/"),(function(K){return!!K})),!W).join("/"),(W?"/":"")+O||"."})(r);return r.charCodeAt(r.length-1)===47&&e[e.length-1]!=="/"&&(e+="/"),T.pathname=(function(O){return O.includes("%")&&(O=O.replace(lt,"%25")),O.includes("\\")&&(O=O.replace(X,"%5C")),O.includes(`
|
|
6
|
-
`)&&(O=O.replace(nt,"%0A")),O.includes("\r")&&(O=O.replace(ht,"%0D")),O.includes(" ")&&(O=O.replace(Y,"%09")),O})(e),T},Ot=function(r){if(!(function(e){var O=e??null;return!!(O!==null&&O?.href&&O?.origin)})(r)&&typeof r!="string")throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof r+" ("+r+")");var T=new G(r);if(T.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return(function(e){if(e.hostname!=="")throw new TypeError('File URL host must be "localhost" or empty on browser');for(var O=e.pathname,W=0;W<O.length;W++)if(O[W]==="%"){var Z=32|O.codePointAt(W+2);if(O[W+1]==="2"&&Z===102)throw new TypeError("File URL path must not include encoded / characters")}return decodeURIComponent(O)})(T)},st=function(r,T){var e,O,W;if(T===void 0&&(T={}),!(r instanceof G))return Q(r);if(typeof T!="object"||T===null)throw new TypeError('The "options" argument must be of type object.');var Z=(e=T.auth)==null||e,g=(O=T.fragment)==null||O,K=(W=T.search)==null||W;T.unicode;var s=new G(r.toString());return Z||(s.username="",s.password=""),g||(s.hash=""),K||(s.search=""),s.toString()},ut={format:st,parse:V,resolve:z,resolveObject:u,Url:J,URL:G,URLSearchParams:C,domainToASCII:ot,domainToUnicode:et,pathToFileURL:bt,fileURLToPath:Ot};E.URL=G,E.URLSearchParams=C,E.Url=J,E.default=ut,E.domainToASCII=ot,E.domainToUnicode=et,E.fileURLToPath=Ot,E.format=st,E.parse=V,E.pathToFileURL=bt,E.resolve=z,E.resolveObject=u,E=M.exports=ut})(Ct,Ct.exports)),Ct.exports}export{je as r};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as m}from"./sentry-CNLjKkQW.js";import{h as u,g,i as h,j as S}from"./core-DuNHGHBC.js";import{fB as y}from"./zeni-epic-state-IKQP0lNP.js";import{a as k,$ as C,d as A,ap as T,s as I,p as w,as as D}from"./index-CxkwDRG8.js";import"./mui-DaLeH41l.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6d1c72e1-663e-4bbc-b45e-3c76f3cdb1f7",e._sentryDebugIdIdentifier="sentry-dbid-6d1c72e1-663e-4bbc-b45e-3c76f3cdb1f7")}catch{}})();function B(e){const{mobileExploreReferrer:t}=e,{isAiCfoOpen:r,setIsAiCfoOpen:i}=k(),s=u(),o=g(),{tenantEmailDomain:n}=h(),d=C(),f=D(d),l=A(),p=T(),b=S((a=>a.tenantState.fetchState==="Completed"||a.tenantState.activeTenantFetchState.fetchState==="Completed"?y(a):void 0)),c=b?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:p&&l&&!r,onAskAiCfoClick:m.useCallback((()=>{if(n!=null)if(c)if(f){const a=w(o.state?.pathnameStackToGoBack,o.pathname);s(`/${n}/ai-cfo/explore`,{state:{pathnameStackToGoBack:a,referrer:t}})}else i(!0);else I({location:o,navigate:s,mergeState:{referrer:t}})}),[c,f,o,t,s,i,n])}}export{B as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./sentry-CNLjKkQW.js";import{u as P}from"./plaid-BVNoSR_u.js";import{u as x,j as m}from"./core-DuNHGHBC.js";import{UT as U,Fg as C,LO as R,Bv as w,UU as $,fB as F,gJ as T,B9 as N,UV as V}from"./zeni-epic-state-IKQP0lNP.js";import{aH as B,z as q}from"./index-CxkwDRG8.js";import"./mui-DaLeH41l.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="26308152-8367-487b-af72-e0d4a963e143",t._sentryDebugIdIdentifier="sentry-dbid-26308152-8367-487b-af72-e0d4a963e143")}catch{}})();const j=new Set($),K=({companyId:t})=>{const n=x(),i=m((e=>e.plaidAccountViewState.external_account.plaidConnectionDetails.link_external_account)),s=m((e=>e.plaidAccountViewState.external_account.plaidConnectionDetails.update_account)),d=m((e=>U(e.paymentAccountState))),r=a.useRef(!1),[o,u]=a.useState(void 0),[c,l]=a.useState(!1);a.useEffect((()=>{n(C())}),[n]);const f=a.useCallback((e=>{t!=null&&(n(R(e,t,"external_account",void 0,o!=null?"update_account":"link_external_account")),r.current=!1,o!=null&&l(!0))}),[n,t,o]),A=a.useCallback((()=>{r.current=!1,u(void 0),l(!1)}),[]),p=o!=null?s:i,D=p.fetchStatus.fetchState==="Completed"?p.linkToken??null:null,{open:g,ready:h}=P({token:D,onSuccess:f,onExit:A});a.useEffect((()=>{r.current&&h&&(g(),r.current=!1)}),[h,g]);const b=p.fetchStatus.fetchState;a.useEffect((()=>{b==="Error"&&(r.current=!1)}),[b]);const E=a.useCallback((()=>{t!=null&&(u(void 0),r.current=!0,n(w("external_account","link_external_account")))}),[n,t]),v=a.useCallback((e=>{t!=null&&(u(e),l(!1),r.current=!0,n(w("external_account","update_account",e)))}),[n,t]),_=s.fetchStatus.fetchState==="In-Progress"||s.updateStatus.fetchState==="In-Progress"?"In-Progress":s.fetchStatus.fetchState==="Error"||c&&s.updateStatus.fetchState==="Error"?"Error":"Not-Started";return{plaidAccounts:a.useMemo((()=>d.map((e=>{const L=B(e.institutionDetails?.logo);return{accountId:e.paymentAccountId,name:e.institutionDetails?.institutionName??e.accountName,mask:e.accountLast4Digits,balanceFormatted:(S=e.balances?.current?.amount,y=e.balances?.current?.currencySymbol,S==null?"":`${y??"$"}${S.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`),isActive:j.has(e.providerVerificationStatus?.code??""),isLoginRequired:e.isLoginRequired,reLoginStatus:e.paymentAccountId===o?_:"Not-Started",institutionLogoUrl:L};var S,y}))),[d,o,_]),onAddPlaidAccount:E,onReLoginPlaidAccount:v}},I="email_connect_result",k="onboarding_step",Q=()=>{const t=x(),n=m((o=>F(o).tenantId)),i=q.getSignedInUser()?.userId,s=a.useRef(!1),[d,r]=a.useState(null);return a.useEffect((()=>{if(s.current||i==null||i===""||n==null||n==="")return;const{consumed:o,onboardingStep:u}=(()=>{const c=new URL(window.location.href),l=c.searchParams.has(I),f=c.searchParams.get(k);return l||f!=null?(c.searchParams.delete(I),c.searchParams.delete(k),window.history.replaceState(window.history.state,"",`${c.pathname}${c.search}${c.hash}`),{consumed:l,onboardingStep:f}):{consumed:!1,onboardingStep:null}})();!o&&u==null||(s.current=!0,o&&(t(T(i,n)),r("email")),u!=null&&new Set(["connect_data_source"]).has(u)&&t(N({step:V(u)})))}),[t,n,i]),{pendingAutoFocusTabId:d}};export{K as a,Q as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./sentry-CNLjKkQW.js";import{bn as i}from"./zeni-epic-state-IKQP0lNP.js";import{O as d,y as t}from"./index-CxkwDRG8.js";import"./mui-DaLeH41l.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="14997721-7ab1-4396-9c4c-c86a053fff4c",e._sentryDebugIdIdentifier="sentry-dbid-14997721-7ab1-4396-9c4c-c86a053fff4c")}catch{}})();const u=e=>{const{useFeatureGate:s}=d(),{isFeatureEnabled:n}=s(t.isTaskManagerCustomerUserAccessEnabled),{isFeatureEnabled:o}=s(t.isTaskManagerNotificationControlsEnabled),a=r.useMemo((()=>i(e)),[e]);return{isNotificationControlsEnabled:a||o,isTaskManagerAccessEnabled:a||n,isZeniUser:a}};export{u};
|