@yuno-payments/dashboard-api-mfe 0.34.34-beta.1 → 0.35.0-beta.2

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.
@@ -1,20 +1,13 @@
1
- import{__spreadArray as e,__awaiter as t,__generator as n,__extends as o,__assign as a,__rest as i}from"tslib";import{setupWorker as r}from"msw/browser";import{http as s,HttpResponse as c}from"msw";import u,{TextEncoder as l}from"util";import p,{Readable as d}from"stream";import f from"path";import m from"http";import h from"https";import v from"url";import y from"fs";import g from"assert";import b from"tty";import x from"os";import k from"zlib";import{EventEmitter as w}from"events";import*as C from"react";import E,{useState as _,useRef as S,useEffect as R,useMemo as I,useCallback as T}from"react";var A,O={total:{total_conversion_rate:.8491,insight_payment_total_conversion_rate_periodicity:{"2025-05-05":.854357872962925,"2025-05-06":.8464466315045402,"2025-05-07":.8464068445151444}},cards:{cards_approvals_rate:.8537,insight_payment_total_conversion_rate_periodicity_for_card:{"2025-05-05":.8535902892724836,"2025-05-06":.8544554997052155,"2025-05-07":.8529382291046492}},apms:{apms_conversion_rate:.846,insight_payment_total_conversion_rate_periodicity_for_apm:{"2025-05-05":.8548995923297599,"2025-05-06":.8409580339477246,"2025-05-07":.8419575308800616}},cards_without_insufficient_funds:{without_insufficient_funds_conversion_rate:.8993,insight_conversion_rate_without_insufficient_funds:{"2025-05-05":.9018141803473709,"2025-05-06":.9025951512661153,"2025-05-07":.8933830566240437}}},P={fraud:{conversion_rate_fraud_transactions:0,conversion_fraud_transactions_periodicity:null},"3ds":{conversion_rate_card_transactions3ds:.25,conversion_rate_card_transactions3ds_periodicity:{"2025-05-05":.2391304347826087,"2025-05-06":.3023255813953488,"2025-05-07":.21568627450980393}}},D={sales_volume_metric_group:{distribution:[{key:"2025-04-03",total:2146090},{key:"2025-04-04",total:498220},{key:"2025-04-05",total:563560},{key:"2025-04-06",total:822600},{key:"2025-04-07",total:660445},{key:"2025-04-08",total:553400},{key:"2025-04-09",total:464195},{key:"2025-04-10",total:470835},{key:"2025-04-11",total:3482795},{key:"2025-04-12",total:127585},{key:"2025-04-13",total:207200},{key:"2025-04-14",total:245970},{key:"2025-04-15",total:277185},{key:"2025-04-16",total:177485},{key:"2025-04-17",total:147300},{key:"2025-04-18",total:152590},{key:"2025-04-19",total:41800},{key:"2025-04-20",total:1060845},{key:"2025-04-21",total:715160},{key:"2025-04-22",total:686465},{key:"2025-04-23",total:268490},{key:"2025-04-24",total:699500},{key:"2025-04-25",total:306090},{key:"2025-04-26",total:469500},{key:"2025-04-27",total:364800},{key:"2025-04-28",total:1610220},{key:"2025-04-29",total:699965},{key:"2025-04-30",total:482340},{key:"2025-05-01",total:666160},{key:"2025-05-02",total:52565}],total:19121355,average:637378.5},total_payments:{distribution:[{key:"2025-04-03",total:18},{key:"2025-04-04",total:10},{key:"2025-04-05",total:6},{key:"2025-04-06",total:9},{key:"2025-04-07",total:14},{key:"2025-04-08",total:12},{key:"2025-04-09",total:13},{key:"2025-04-10",total:12},{key:"2025-04-11",total:23},{key:"2025-04-12",total:3},{key:"2025-04-13",total:5},{key:"2025-04-14",total:7},{key:"2025-04-15",total:7},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:3},{key:"2025-04-19",total:1},{key:"2025-04-20",total:11},{key:"2025-04-21",total:13},{key:"2025-04-22",total:15},{key:"2025-04-23",total:10},{key:"2025-04-24",total:14},{key:"2025-04-25",total:9},{key:"2025-04-26",total:6},{key:"2025-04-27",total:3},{key:"2025-04-28",total:21},{key:"2025-04-29",total:15},{key:"2025-04-30",total:9},{key:"2025-05-01",total:7},{key:"2025-05-02",total:2}],total:285,average:9.5},average_ticket:{distribution:[{key:"2025-04-03",total:118580.63,min_ticket:12665,max_ticket:882e3},{key:"2025-04-04",total:51146.67,min_ticket:25900,max_ticket:121500},{key:"2025-04-05",total:74692,min_ticket:23800,max_ticket:190100},{key:"2025-04-06",total:85150,min_ticket:20900,max_ticket:141400},{key:"2025-04-07",total:46528.75,min_ticket:16200,max_ticket:125e3},{key:"2025-04-08",total:48290.91,min_ticket:21900,max_ticket:106700},{key:"2025-04-09",total:34366.25,min_ticket:13900,max_ticket:64005},{key:"2025-04-10",total:39730.45,min_ticket:15900,max_ticket:74545},{key:"2025-04-11",total:76968.93,min_ticket:15900,max_ticket:454200},{key:"2025-04-12",total:42528.33,min_ticket:29835,max_ticket:66130},{key:"2025-04-13",total:48800,min_ticket:21900,max_ticket:64800},{key:"2025-04-14",total:35138.57,min_ticket:7900,max_ticket:55100},{key:"2025-04-15",total:41117,min_ticket:35800,max_ticket:53100},{key:"2025-04-16",total:35497,min_ticket:21420,max_ticket:53700},{key:"2025-04-17",total:73650,min_ticket:47700,max_ticket:99600},{key:"2025-04-18",total:47947.5,min_ticket:39200,max_ticket:56695},{key:"2025-04-19",total:41800,min_ticket:41800,max_ticket:41800},{key:"2025-04-20",total:61248.33,min_ticket:25900,max_ticket:121600},{key:"2025-04-21",total:74095,min_ticket:16200,max_ticket:308e3},{key:"2025-04-22",total:47066.54,min_ticket:15900,max_ticket:98200},{key:"2025-04-23",total:28732.22,min_ticket:9900,max_ticket:39200},{key:"2025-04-24",total:40025,min_ticket:20200,max_ticket:109600},{key:"2025-04-25",total:34755.71,min_ticket:15900,max_ticket:45390},{key:"2025-04-26",total:84900,min_ticket:34800,max_ticket:130400},{key:"2025-04-27",total:121600,min_ticket:5e4,max_ticket:162300},{key:"2025-04-28",total:62873.33,min_ticket:21900,max_ticket:293400},{key:"2025-04-29",total:47213.75,min_ticket:11900,max_ticket:113700},{key:"2025-04-30",total:53593.33,min_ticket:27800,max_ticket:120600},{key:"2025-05-01",total:93426.67,min_ticket:15900,max_ticket:159500},{key:"2025-05-02",total:26282.5,min_ticket:22900,max_ticket:29665}],total:58001.28,min_ticket:7900,max_ticket:882e3},conversion_rate:null,total_payments_and_conversion_rate:{payments:{distribution:[{key:"2025-04-03",total:18},{key:"2025-04-04",total:10},{key:"2025-04-05",total:6},{key:"2025-04-06",total:9},{key:"2025-04-07",total:14},{key:"2025-04-08",total:12},{key:"2025-04-09",total:13},{key:"2025-04-10",total:12},{key:"2025-04-11",total:23},{key:"2025-04-12",total:3},{key:"2025-04-13",total:5},{key:"2025-04-14",total:7},{key:"2025-04-15",total:7},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:3},{key:"2025-04-19",total:1},{key:"2025-04-20",total:11},{key:"2025-04-21",total:13},{key:"2025-04-22",total:15},{key:"2025-04-23",total:10},{key:"2025-04-24",total:14},{key:"2025-04-25",total:9},{key:"2025-04-26",total:6},{key:"2025-04-27",total:3},{key:"2025-04-28",total:21},{key:"2025-04-29",total:15},{key:"2025-04-30",total:9},{key:"2025-05-01",total:7},{key:"2025-05-02",total:2}],total:285},conversion_rate:{distribution:[{key:"2025-04-03",total:.8889},{key:"2025-04-04",total:.9},{key:"2025-04-05",total:.8333},{key:"2025-04-06",total:.8889},{key:"2025-04-07",total:.8571},{key:"2025-04-08",total:.9167},{key:"2025-04-09",total:.9231},{key:"2025-04-10",total:.9167},{key:"2025-04-11",total:.6087},{key:"2025-04-12",total:1},{key:"2025-04-13",total:.6},{key:"2025-04-14",total:1},{key:"2025-04-15",total:.7143},{key:"2025-04-16",total:1},{key:"2025-04-17",total:1},{key:"2025-04-18",total:.6667},{key:"2025-04-19",total:1},{key:"2025-04-20",total:.2727},{key:"2025-04-21",total:.6154},{key:"2025-04-22",total:.8667},{key:"2025-04-23",total:.9},{key:"2025-04-24",total:.8571},{key:"2025-04-25",total:.7778},{key:"2025-04-26",total:.6667},{key:"2025-04-27",total:1},{key:"2025-04-28",total:.5714},{key:"2025-04-29",total:.8},{key:"2025-04-30",total:1},{key:"2025-05-01",total:.8571},{key:"2025-05-02",total:1}],total:.793}},quantity_status_distribution:[{SUCCEEDED:{distribution:[{key:"2025-04-03",total:16},{key:"2025-04-04",total:9},{key:"2025-04-05",total:5},{key:"2025-04-06",total:8},{key:"2025-04-07",total:12},{key:"2025-04-08",total:11},{key:"2025-04-09",total:12},{key:"2025-04-10",total:11},{key:"2025-04-11",total:14},{key:"2025-04-12",total:3},{key:"2025-04-13",total:3},{key:"2025-04-14",total:7},{key:"2025-04-15",total:5},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:2},{key:"2025-04-19",total:1},{key:"2025-04-20",total:3},{key:"2025-04-21",total:8},{key:"2025-04-22",total:13},{key:"2025-04-23",total:9},{key:"2025-04-24",total:12},{key:"2025-04-25",total:7},{key:"2025-04-26",total:4},{key:"2025-04-27",total:3},{key:"2025-04-28",total:12},{key:"2025-04-29",total:12},{key:"2025-04-30",total:9},{key:"2025-05-01",total:6},{key:"2025-05-02",total:2}],total:226}},{DECLINED:{distribution:[{key:"2025-04-03",total:2},{key:"2025-04-04",total:1},{key:"2025-04-05",total:1},{key:"2025-04-06",total:1},{key:"2025-04-07",total:2},{key:"2025-04-08",total:1},{key:"2025-04-09",total:1},{key:"2025-04-10",total:1},{key:"2025-04-11",total:9},{key:"2025-04-13",total:2},{key:"2025-04-15",total:2},{key:"2025-04-18",total:1},{key:"2025-04-20",total:8},{key:"2025-04-21",total:5},{key:"2025-04-22",total:2},{key:"2025-04-23",total:1},{key:"2025-04-24",total:2},{key:"2025-04-25",total:2},{key:"2025-04-26",total:2},{key:"2025-04-28",total:9},{key:"2025-04-29",total:3},{key:"2025-05-01",total:1}],total:59}}],volume_successful_payments:13108290,volume_successful_payments_by_periodicity:[{key:"2025-04-03",total:1897290},{key:"2025-04-04",total:460320},{key:"2025-04-05",total:373460},{key:"2025-04-06",total:681200},{key:"2025-04-07",total:558345},{key:"2025-04-08",total:531200},{key:"2025-04-09",total:412395},{key:"2025-04-10",total:437035},{key:"2025-04-11",total:1077565},{key:"2025-04-12",total:127585},{key:"2025-04-13",total:146400},{key:"2025-04-14",total:245970},{key:"2025-04-15",total:205585},{key:"2025-04-16",total:177485},{key:"2025-04-17",total:147300},{key:"2025-04-18",total:95895},{key:"2025-04-19",total:41800},{key:"2025-04-20",total:183745},{key:"2025-04-21",total:592760},{key:"2025-04-22",total:611865},{key:"2025-04-23",total:258590},{key:"2025-04-24",total:480300},{key:"2025-04-25",total:243290},{key:"2025-04-26",total:339600},{key:"2025-04-27",total:364800},{key:"2025-04-28",total:754480},{key:"2025-04-29",total:566565},{key:"2025-04-30",total:482340},{key:"2025-05-01",total:560560},{key:"2025-05-02",total:52565}],quantity_successful_payments:226,quantity_successful_payments_by_periodicity:[{key:"2025-04-03",total:16},{key:"2025-04-04",total:9},{key:"2025-04-05",total:5},{key:"2025-04-06",total:8},{key:"2025-04-07",total:12},{key:"2025-04-08",total:11},{key:"2025-04-09",total:12},{key:"2025-04-10",total:11},{key:"2025-04-11",total:14},{key:"2025-04-12",total:3},{key:"2025-04-13",total:3},{key:"2025-04-14",total:7},{key:"2025-04-15",total:5},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:2},{key:"2025-04-19",total:1},{key:"2025-04-20",total:3},{key:"2025-04-21",total:8},{key:"2025-04-22",total:13},{key:"2025-04-23",total:9},{key:"2025-04-24",total:12},{key:"2025-04-25",total:7},{key:"2025-04-26",total:4},{key:"2025-04-27",total:3},{key:"2025-04-28",total:12},{key:"2025-04-29",total:12},{key:"2025-04-30",total:9},{key:"2025-05-01",total:6},{key:"2025-05-02",total:2}],average_provider_latency:[{PAYMENTEZ:{distribution:[{key:"2025-04-03",total:1582.1429},{key:"2025-04-04",total:1972.6667},{key:"2025-04-05",total:2059.25},{key:"2025-04-06",total:1772},{key:"2025-04-07",total:1236.1667},{key:"2025-04-08",total:1310.7143},{key:"2025-04-09",total:1645.25},{key:"2025-04-10",total:2277},{key:"2025-04-11",total:1729.7143},{key:"2025-04-12",total:0},{key:"2025-04-13",total:1870},{key:"2025-04-14",total:1109},{key:"2025-04-15",total:1110},{key:"2025-04-16",total:1255.5},{key:"2025-04-17",total:0},{key:"2025-04-18",total:0},{key:"2025-04-19",total:1930},{key:"2025-04-20",total:0},{key:"2025-04-21",total:1502.3333},{key:"2025-04-22",total:2444.25},{key:"2025-04-23",total:1450.6667},{key:"2025-04-24",total:1376.75},{key:"2025-04-25",total:2074},{key:"2025-04-26",total:2339.75},{key:"2025-04-27",total:0},{key:"2025-04-28",total:1719.8},{key:"2025-04-29",total:1600.5},{key:"2025-04-30",total:1692.5},{key:"2025-05-01",total:1468.5},{key:"2025-05-02",total:0}],total:1727.7576}},{NUVEI:{distribution:[{key:"2025-04-03",total:3110.5},{key:"2025-04-04",total:2706.6667},{key:"2025-04-05",total:3637.5},{key:"2025-04-06",total:2654.4},{key:"2025-04-07",total:3068.1429},{key:"2025-04-08",total:2907.6},{key:"2025-04-09",total:2998.6667},{key:"2025-04-10",total:2732.5714},{key:"2025-04-11",total:3071.4167},{key:"2025-04-12",total:3222},{key:"2025-04-13",total:3020.3333},{key:"2025-04-14",total:2870},{key:"2025-04-15",total:3333},{key:"2025-04-16",total:3319},{key:"2025-04-17",total:3217},{key:"2025-04-18",total:2612},{key:"2025-04-19",total:0},{key:"2025-04-20",total:1829.7778},{key:"2025-04-21",total:2948.875},{key:"2025-04-22",total:3199},{key:"2025-04-23",total:2890.5},{key:"2025-04-24",total:3157},{key:"2025-04-25",total:3302},{key:"2025-04-26",total:2752},{key:"2025-04-27",total:3965.6667},{key:"2025-04-28",total:3059.7333},{key:"2025-04-29",total:3012.1},{key:"2025-04-30",total:3227.6667},{key:"2025-05-01",total:2788.6667},{key:"2025-05-02",total:3353}],total:2973.3793}},{WOMPI:{distribution:[{key:"2025-04-03",total:6647},{key:"2025-04-04",total:5687},{key:"2025-04-05",total:0},{key:"2025-04-06",total:5731.6667},{key:"2025-04-07",total:4024},{key:"2025-04-08",total:8196},{key:"2025-04-09",total:6371.25},{key:"2025-04-10",total:4857},{key:"2025-04-11",total:5636.6364},{key:"2025-04-12",total:0},{key:"2025-04-13",total:7057.5},{key:"2025-04-14",total:0},{key:"2025-04-15",total:6098.3333},{key:"2025-04-16",total:7633},{key:"2025-04-17",total:4292},{key:"2025-04-18",total:7642.5},{key:"2025-04-19",total:0},{key:"2025-04-20",total:7386.5},{key:"2025-04-21",total:6093.1667},{key:"2025-04-22",total:7832.75},{key:"2025-04-23",total:5280.4},{key:"2025-04-24",total:7190.5},{key:"2025-04-25",total:0},{key:"2025-04-26",total:4156},{key:"2025-04-27",total:0},{key:"2025-04-28",total:8211.6667},{key:"2025-04-29",total:6907.3333},{key:"2025-04-30",total:6054},{key:"2025-05-01",total:7726.3333},{key:"2025-05-02",total:0}],total:6579.7901}}],total_subscriptions_and_conversion_rate:{subscriptions:{distribution:null,total:0},subscriptions_succeeded:{distribution:null,total:0},conversion_rate:{distribution:null,total:0}},total_status_distribution:[{SUCCEEDED:{distribution:[{key:"2025-04-03",total:1897290},{key:"2025-04-04",total:460320},{key:"2025-04-05",total:373460},{key:"2025-04-06",total:681200},{key:"2025-04-07",total:558345},{key:"2025-04-08",total:531200},{key:"2025-04-09",total:412395},{key:"2025-04-10",total:437035},{key:"2025-04-11",total:1077565},{key:"2025-04-12",total:127585},{key:"2025-04-13",total:146400},{key:"2025-04-14",total:245970},{key:"2025-04-15",total:205585},{key:"2025-04-16",total:177485},{key:"2025-04-17",total:147300},{key:"2025-04-18",total:95895},{key:"2025-04-19",total:41800},{key:"2025-04-20",total:183745},{key:"2025-04-21",total:592760},{key:"2025-04-22",total:611865},{key:"2025-04-23",total:258590},{key:"2025-04-24",total:480300},{key:"2025-04-25",total:243290},{key:"2025-04-26",total:339600},{key:"2025-04-27",total:364800},{key:"2025-04-28",total:754480},{key:"2025-04-29",total:566565},{key:"2025-04-30",total:482340},{key:"2025-05-01",total:560560},{key:"2025-05-02",total:52565}],total:13108290}},{DECLINED:{distribution:[{key:"2025-04-03",total:248800},{key:"2025-04-04",total:37900},{key:"2025-04-05",total:190100},{key:"2025-04-06",total:141400},{key:"2025-04-07",total:102100},{key:"2025-04-08",total:22200},{key:"2025-04-09",total:51800},{key:"2025-04-10",total:33800},{key:"2025-04-11",total:2405230},{key:"2025-04-13",total:60800},{key:"2025-04-15",total:71600},{key:"2025-04-18",total:56695},{key:"2025-04-20",total:877100},{key:"2025-04-21",total:122400},{key:"2025-04-22",total:74600},{key:"2025-04-23",total:9900},{key:"2025-04-24",total:219200},{key:"2025-04-25",total:62800},{key:"2025-04-26",total:129900},{key:"2025-04-28",total:855740},{key:"2025-04-29",total:133400},{key:"2025-05-01",total:105600}],total:6013065}}]};!function(e){e.GENERAL="volume-and-total-payments",e.LATENCY="provider-latency",e.STATUS="status",e.SUBSCRIPTIONS="subscriptions"}(A||(A={}));var j={sales_volume_metric_group:D.sales_volume_metric_group,total_payments:D.total_payments},L=s.get("/api/insights/overview-metrics",(function(){return c.json(j)})),N=[s.get("/api/v3/insights/overview-metrics/".concat(A.GENERAL),(function(){return c.json({sales_volume_metric_group:j.sales_volume_metric_group})})),s.get("/api/v3/insights/overview-metrics/".concat(A.LATENCY),(function(){return c.json({latency_metrics:{average_response_time:250,distribution:[{key:"2025-04-01",value:200},{key:"2025-04-02",value:300}]}})})),s.get("/api/v3/insights/overview-metrics/".concat(A.STATUS),(function(){return c.json({status_metrics:{success_rate:95,distribution:[{key:"2025-04-01",value:98},{key:"2025-04-02",value:92}]}})})),s.get("/api/v3/insights/overview-metrics/".concat(A.SUBSCRIPTIONS),(function(){return c.json({subscription_metrics:{active_subscriptions:1e3,distribution:[{key:"2025-04-01",value:950},{key:"2025-04-02",value:1050}]}})}))],F=e([L],N,!0),B=e([s.post("https://dev.y.uno/dashboard-bff/api/v3/insights/conversion-rate/overview",(function(){return c.json(O)})),s.post("https://dev.y.uno/dashboard-bff/api/v3/insights/conversion-rate/overview-fraud-3ds",(function(){return c.json(P)}))],F,!0),M=r.apply(void 0,B),z="MSW_ENABLED";function U(e){e?(localStorage.setItem(z,"true"),console.info("MSW enabled. Reload the page to activate the mocks.")):(localStorage.removeItem(z),console.info("MSW disabled. Reload the page to disable the mocks.")),window.location.reload()}function q(){return"true"===localStorage.getItem(z)}function V(e,t){return function(){return e.apply(t,arguments)}}"undefined"!=typeof window&&(window.enableMSW=function(){return U(!0)},window.disableMSW=function(){return U(!1)},window.isMSWEnabled=q);const{toString:G}=Object.prototype,{getPrototypeOf:K}=Object,W=(Q=Object.create(null),e=>{const t=G.call(e);return Q[t]||(Q[t]=t.slice(8,-1).toLowerCase())});var Q;const H=e=>(e=e.toLowerCase(),t=>W(t)===e),J=e=>t=>typeof t===e,{isArray:Y}=Array,$=J("undefined");const X=H("ArrayBuffer");const Z=J("string"),ee=J("function"),te=J("number"),ne=e=>null!==e&&"object"==typeof e,oe=e=>{if("object"!==W(e))return!1;const t=K(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},ae=H("Date"),ie=H("File"),re=H("Blob"),se=H("FileList"),ce=H("URLSearchParams"),[ue,le,pe,de]=["ReadableStream","Request","Response","Headers"].map(H);function fe(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let o,a;if("object"!=typeof e&&(e=[e]),Y(e))for(o=0,a=e.length;o<a;o++)t.call(null,e[o],o,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let r;for(o=0;o<i;o++)r=a[o],t.call(null,e[r],r,e)}}function me(e,t){t=t.toLowerCase();const n=Object.keys(e);let o,a=n.length;for(;a-- >0;)if(o=n[a],t===o.toLowerCase())return o;return null}const he="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,ve=e=>!$(e)&&e!==he;const ye=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&K(Uint8Array)),ge=H("HTMLFormElement"),be=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xe=H("RegExp"),ke=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};fe(n,((n,a)=>{let i;!1!==(i=t(n,a,e))&&(o[a]=i||n)})),Object.defineProperties(e,o)},we="abcdefghijklmnopqrstuvwxyz",Ce="0123456789",Ee={DIGIT:Ce,ALPHA:we,ALPHA_DIGIT:we+we.toUpperCase()+Ce};const _e=H("AsyncFunction"),Se=(Re="function"==typeof setImmediate,Ie=ee(he.postMessage),Re?setImmediate:Ie?(Te=`axios@${Math.random()}`,Ae=[],he.addEventListener("message",(({source:e,data:t})=>{e===he&&t===Te&&Ae.length&&Ae.shift()()}),!1),e=>{Ae.push(e),he.postMessage(Te,"*")}):e=>setTimeout(e));var Re,Ie,Te,Ae;const Oe="undefined"!=typeof queueMicrotask?queueMicrotask.bind(he):"undefined"!=typeof process&&process.nextTick||Se;var Pe={isArray:Y,isArrayBuffer:X,isBuffer:function(e){return null!==e&&!$(e)&&null!==e.constructor&&!$(e.constructor)&&ee(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||ee(e.append)&&("formdata"===(t=W(e))||"object"===t&&ee(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&X(e.buffer),t},isString:Z,isNumber:te,isBoolean:e=>!0===e||!1===e,isObject:ne,isPlainObject:oe,isReadableStream:ue,isRequest:le,isResponse:pe,isHeaders:de,isUndefined:$,isDate:ae,isFile:ie,isBlob:re,isRegExp:xe,isFunction:ee,isStream:e=>ne(e)&&ee(e.pipe),isURLSearchParams:ce,isTypedArray:ye,isFileList:se,forEach:fe,merge:function e(){const{caseless:t}=ve(this)&&this||{},n={},o=(o,a)=>{const i=t&&me(n,a)||a;oe(n[i])&&oe(o)?n[i]=e(n[i],o):oe(o)?n[i]=e({},o):Y(o)?n[i]=o.slice():n[i]=o};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&fe(arguments[e],o);return n},extend:(e,t,n,{allOwnKeys:o}={})=>(fe(t,((t,o)=>{n&&ee(t)?e[o]=V(t,n):e[o]=t}),{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,o)=>{let a,i,r;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)r=a[i],o&&!o(r,e,t)||s[r]||(t[r]=e[r],s[r]=!0);e=!1!==n&&K(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:W,kindOfTest:H,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return-1!==o&&o===n},toArray:e=>{if(!e)return null;if(Y(e))return e;let t=e.length;if(!te(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const n=o.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const o=[];for(;null!==(n=e.exec(t));)o.push(n);return o},isHTMLForm:ge,hasOwnProperty:be,hasOwnProp:be,reduceDescriptors:ke,freezeMethods:e=>{ke(e,((t,n)=>{if(ee(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const o=e[n];ee(o)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},o=e=>{e.forEach((e=>{n[e]=!0}))};return Y(e)?o(e):o(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:me,global:he,isContextDefined:ve,ALPHABET:Ee,generateString:(e=16,t=Ee.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n},isSpecCompliantForm:function(e){return!!(e&&ee(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,o)=>{if(ne(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[o]=e;const a=Y(e)?[]:{};return fe(e,((e,t)=>{const i=n(e,o+1);!$(i)&&(a[t]=i)})),t[o]=void 0,a}}return e};return n(e,0)},isAsyncFn:_e,isThenable:e=>e&&(ne(e)||ee(e))&&ee(e.then)&&ee(e.catch),setImmediate:Se,asap:Oe};function De(e,t,n,o,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),a&&(this.response=a,this.status=a.status?a.status:null)}Pe.inherits(De,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Pe.toJSONObject(this.config),code:this.code,status:this.status}}});const je=De.prototype,Le={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Le[e]={value:e}})),Object.defineProperties(De,Le),Object.defineProperty(je,"isAxiosError",{value:!0}),De.from=(e,t,n,o,a,i)=>{const r=Object.create(je);return Pe.toFlatObject(e,r,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),De.call(r,e.message,t,n,o,a),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};var Ne="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Fe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Be=p.Stream,Me=ze;function ze(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}u.inherits(ze,Be),ze.create=function(e,t){var n=new this;for(var o in t=t||{})n[o]=t[o];n.source=e;var a=e.emit;return e.emit=function(){return n._handleEmit(arguments),a.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(ze.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),ze.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},ze.prototype.resume=function(){this._released||this.release(),this.source.resume()},ze.prototype.pause=function(){this.source.pause()},ze.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},ze.prototype.pipe=function(){var e=Be.prototype.pipe.apply(this,arguments);return this.resume(),e},ze.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},ze.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}};var Ue=u,qe=p.Stream,Ve=Me,Ge=Ke;function Ke(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}Ue.inherits(Ke,qe),Ke.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},Ke.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},Ke.prototype.append=function(e){if(Ke.isStreamLike(e)){if(!(e instanceof Ve)){var t=Ve.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},Ke.prototype.pipe=function(e,t){return qe.prototype.pipe.call(this,e,t),this.resume(),e},Ke.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},Ke.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){Ke.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},Ke.prototype._pipeNext=function(e){if(this._currentStream=e,Ke.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},Ke.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},Ke.prototype.write=function(e){this.emit("data",e)},Ke.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},Ke.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},Ke.prototype.end=function(){this._reset(),this.emit("end")},Ke.prototype.destroy=function(){this._reset(),this.emit("close")},Ke.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},Ke.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},Ke.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},Ke.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var We={},Qe={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};
2
- /*!
3
- * mime-types
4
- * Copyright(c) 2014 Jonathan Ong
5
- * Copyright(c) 2015 Douglas Christopher Wilson
6
- * MIT Licensed
7
- */
8
- !function(e){var t,n,o,a=Qe,i=f.extname,r=/^\s*([^;\s]*)(?:;|\s|$)/,s=/^text\//i;function c(e){if(!e||"string"!=typeof e)return!1;var t=r.exec(e),n=t&&a[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!s.test(t[1]))&&"UTF-8"}e.charset=c,e.charsets={lookup:c},e.contentType=function(t){if(!t||"string"!=typeof t)return!1;var n=-1===t.indexOf("/")?e.lookup(t):t;if(!n)return!1;if(-1===n.indexOf("charset")){var o=e.charset(n);o&&(n+="; charset="+o.toLowerCase())}return n},e.extension=function(t){if(!t||"string"!=typeof t)return!1;var n=r.exec(t),o=n&&e.extensions[n[1].toLowerCase()];if(!o||!o.length)return!1;return o[0]},e.extensions=Object.create(null),e.lookup=function(t){if(!t||"string"!=typeof t)return!1;var n=i("x."+t).toLowerCase().substr(1);if(!n)return!1;return e.types[n]||!1},e.types=Object.create(null),t=e.extensions,n=e.types,o=["nginx","apache",void 0,"iana"],Object.keys(a).forEach((function(e){var i=a[e],r=i.extensions;if(r&&r.length){t[e]=r;for(var s=0;s<r.length;s++){var c=r[s];if(n[c]){var u=o.indexOf(a[n[c]].source),l=o.indexOf(i.source);if("application/octet-stream"!==n[c]&&(u>l||u===l&&"application/"===n[c].substr(0,12)))continue}n[c]=e}}}))}(We);var He=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)},Je=function(e){var t=!1;return He((function(){t=!0})),function(n,o){t?e(n,o):He((function(){e(n,o)}))}};var Ye=function(e){Object.keys(e.jobs).forEach($e.bind(e)),e.jobs={}};function $e(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var Xe=Je,Ze=Ye,et=function(e,t,n,o){var a=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[a]=function(e,t,n,o){var a;a=2==e.length?e(n,Xe(o)):e(n,t,Xe(o));return a}(t,a,e[a],(function(e,t){a in n.jobs&&(delete n.jobs[a],e?Ze(n):n.results[a]=t,o(e,n.results))}))};var tt=function(e,t){var n=!Array.isArray(e),o={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};t&&o.keyedList.sort(n?t:function(n,o){return t(e[n],e[o])});return o};var nt=Ye,ot=Je,at=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,nt(this),ot(e)(null,this.results)};var it=et,rt=tt,st=at,ct=function(e,t,n){var o=rt(e);for(;o.index<(o.keyedList||e).length;)it(e,t,o,(function(e,t){e?n(e,t):0!==Object.keys(o.jobs).length||n(null,o.results)})),o.index++;return st.bind(o,n)};var ut={exports:{}},lt=et,pt=tt,dt=at;function ft(e,t){return e<t?-1:e>t?1:0}ut.exports=function(e,t,n,o){var a=pt(e,n);return lt(e,t,a,(function n(i,r){i?o(i,r):(a.index++,a.index<(a.keyedList||e).length?lt(e,t,a,n):o(null,a.results))})),dt.bind(a,o)},ut.exports.ascending=ft,ut.exports.descending=function(e,t){return-1*ft(e,t)};var mt=ut.exports,ht=mt;var vt={parallel:ct,serial:function(e,t,n){return ht(e,t,null,n)},serialOrdered:mt},yt=Ge,gt=u,bt=f,xt=m,kt=h,wt=v.parse,Ct=y,Et=p.Stream,_t=We,St=vt,Rt=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e},It=Tt;function Tt(e){if(!(this instanceof Tt))return new Tt(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],yt.call(this),e=e||{})this[t]=e[t]}gt.inherits(Tt,yt),Tt.LINE_BREAK="\r\n",Tt.DEFAULT_CONTENT_TYPE="application/octet-stream",Tt.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var o=yt.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),Array.isArray(t))this._error(new Error("Arrays are not supported."));else{var a=this._multiPartHeader(e,t,n),i=this._multiPartFooter();o(a),o(t),o(i),this._trackLength(a,t,n)}},Tt.prototype._trackLength=function(e,t,n){var o=0;null!=n.knownLength?o+=+n.knownLength:Buffer.isBuffer(t)?o=t.length:"string"==typeof t&&(o=Buffer.byteLength(t)),this._valueLength+=o,this._overheadLength+=Buffer.byteLength(e)+Tt.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof Et)&&(n.knownLength||this._valuesToMeasure.push(t))},Tt.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):Ct.stat(e.path,(function(n,o){var a;n?t(n):(a=o.size-(e.start?e.start:0),t(null,a))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},Tt.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var o,a=this._getContentDisposition(t,n),i=this._getContentType(t,n),r="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(a||[]),"Content-Type":[].concat(i||[])};for(var c in"object"==typeof n.header&&Rt(s,n.header),s)s.hasOwnProperty(c)&&null!=(o=s[c])&&(Array.isArray(o)||(o=[o]),o.length&&(r+=c+": "+o.join("; ")+Tt.LINE_BREAK));return"--"+this.getBoundary()+Tt.LINE_BREAK+r+Tt.LINE_BREAK},Tt.prototype._getContentDisposition=function(e,t){var n,o;return"string"==typeof t.filepath?n=bt.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=bt.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=bt.basename(e.client._httpMessage.path||"")),n&&(o='filename="'+n+'"'),o},Tt.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=_t.lookup(e.name)),!n&&e.path&&(n=_t.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=_t.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=Tt.DEFAULT_CONTENT_TYPE),n},Tt.prototype._multiPartFooter=function(){return function(e){var t=Tt.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},Tt.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+Tt.LINE_BREAK},Tt.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},Tt.prototype.setBoundary=function(e){this._boundary=e},Tt.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},Tt.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,o=this._streams.length;n<o;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(Tt.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},Tt.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},Tt.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},Tt.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},Tt.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?St.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,o){n?e(n):(o.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},Tt.prototype.submit=function(e,t){var n,o,a={method:"post"};return"string"==typeof e?(e=wt(e),o=Rt({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},a)):(o=Rt(e,a)).port||(o.port="https:"==o.protocol?443:80),o.headers=this.getHeaders(e.headers),n="https:"==o.protocol?kt.request(o):xt.request(o),this.getLength(function(e,o){if(e&&"Unknown stream"!==e)this._error(e);else if(o&&n.setHeader("Content-Length",o),this.pipe(n),t){var a,i=function(e,o){return n.removeListener("error",i),n.removeListener("response",a),t.call(this,e,o)};a=i.bind(this,null),n.on("error",i),n.on("response",a)}}.bind(this)),n},Tt.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},Tt.prototype.toString=function(){return"[object FormData]"};var At=Fe(It);function Ot(e){return Pe.isPlainObject(e)||Pe.isArray(e)}function Pt(e){return Pe.endsWith(e,"[]")?e.slice(0,-2):e}function Dt(e,t,n){return e?e.concat(t).map((function(e,t){return e=Pt(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const jt=Pe.toFlatObject(Pe,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Lt(e,t,n){if(!Pe.isObject(e))throw new TypeError("target must be an object");t=t||new(At||FormData);const o=(n=Pe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Pe.isUndefined(t[e])}))).metaTokens,a=n.visitor||u,i=n.dots,r=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Pe.isSpecCompliantForm(t);if(!Pe.isFunction(a))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(Pe.isDate(e))return e.toISOString();if(!s&&Pe.isBlob(e))throw new De("Blob is not supported. Use a Buffer instead.");return Pe.isArrayBuffer(e)||Pe.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,a){let s=e;if(e&&!a&&"object"==typeof e)if(Pe.endsWith(n,"{}"))n=o?n:n.slice(0,-2),e=JSON.stringify(e);else if(Pe.isArray(e)&&function(e){return Pe.isArray(e)&&!e.some(Ot)}(e)||(Pe.isFileList(e)||Pe.endsWith(n,"[]"))&&(s=Pe.toArray(e)))return n=Pt(n),s.forEach((function(e,o){!Pe.isUndefined(e)&&null!==e&&t.append(!0===r?Dt([n],o,i):null===r?n:n+"[]",c(e))})),!1;return!!Ot(e)||(t.append(Dt(a,n,i),c(e)),!1)}const l=[],p=Object.assign(jt,{defaultVisitor:u,convertValue:c,isVisitable:Ot});if(!Pe.isObject(e))throw new TypeError("data must be an object");return function e(n,o){if(!Pe.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+o.join("."));l.push(n),Pe.forEach(n,(function(n,i){!0===(!(Pe.isUndefined(n)||null===n)&&a.call(t,n,Pe.isString(i)?i.trim():i,o,p))&&e(n,o?o.concat(i):[i])})),l.pop()}}(e),t}function Nt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Ft(e,t){this._pairs=[],e&&Lt(e,this,t)}const Bt=Ft.prototype;function Mt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function zt(e,t,n){if(!t)return e;const o=n&&n.encode||Mt,a=n&&n.serialize;let i;if(i=a?a(t,n):Pe.isURLSearchParams(t)?t.toString():new Ft(t,n).toString(o),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Bt.append=function(e,t){this._pairs.push([e,t])},Bt.toString=function(e){const t=e?function(t){return e.call(this,t,Nt)}:Nt;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Ut=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Pe.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},qt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Vt={isNode:!0,classes:{URLSearchParams:v.URLSearchParams,FormData:At,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]};const Gt="undefined"!=typeof window&&"undefined"!=typeof document,Kt="object"==typeof navigator&&navigator||void 0,Wt=Gt&&(!Kt||["ReactNative","NativeScript","NS"].indexOf(Kt.product)<0),Qt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ht=Gt&&window.location.href||"http://localhost";var Jt={...Object.freeze({__proto__:null,hasBrowserEnv:Gt,hasStandardBrowserEnv:Wt,hasStandardBrowserWebWorkerEnv:Qt,navigator:Kt,origin:Ht}),...Vt};function Yt(e){function t(e,n,o,a){let i=e[a++];if("__proto__"===i)return!0;const r=Number.isFinite(+i),s=a>=e.length;if(i=!i&&Pe.isArray(o)?o.length:i,s)return Pe.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!r;o[i]&&Pe.isObject(o[i])||(o[i]=[]);return t(e,n,o[i],a)&&Pe.isArray(o[i])&&(o[i]=function(e){const t={},n=Object.keys(e);let o;const a=n.length;let i;for(o=0;o<a;o++)i=n[o],t[i]=e[i];return t}(o[i])),!r}if(Pe.isFormData(e)&&Pe.isFunction(e.entries)){const n={};return Pe.forEachEntry(e,((e,o)=>{t(function(e){return Pe.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),o,n,0)})),n}return null}const $t={transitional:qt,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",o=n.indexOf("application/json")>-1,a=Pe.isObject(e);a&&Pe.isHTMLForm(e)&&(e=new FormData(e));if(Pe.isFormData(e))return o?JSON.stringify(Yt(e)):e;if(Pe.isArrayBuffer(e)||Pe.isBuffer(e)||Pe.isStream(e)||Pe.isFile(e)||Pe.isBlob(e)||Pe.isReadableStream(e))return e;if(Pe.isArrayBufferView(e))return e.buffer;if(Pe.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Lt(e,new Jt.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,o){return Jt.isNode&&Pe.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=Pe.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Lt(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||o?(t.setContentType("application/json",!1),function(e,t,n){if(Pe.isString(e))try{return(t||JSON.parse)(e),Pe.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||$t.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(Pe.isResponse(e)||Pe.isReadableStream(e))return e;if(e&&Pe.isString(e)&&(n&&!this.responseType||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw De.from(e,De.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Jt.classes.FormData,Blob:Jt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Pe.forEach(["delete","get","head","post","put","patch"],(e=>{$t.headers[e]={}}));var Xt=$t;const Zt=Pe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const en=Symbol("internals");function tn(e){return e&&String(e).trim().toLowerCase()}function nn(e){return!1===e||null==e?e:Pe.isArray(e)?e.map(nn):String(e)}function on(e,t,n,o,a){return Pe.isFunction(o)?o.call(this,t,n):(a&&(t=n),Pe.isString(t)?Pe.isString(o)?-1!==t.indexOf(o):Pe.isRegExp(o)?o.test(t):void 0:void 0)}class an{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function a(e,t,n){const a=tn(t);if(!a)throw new Error("header name must be a non-empty string");const i=Pe.findKey(o,a);(!i||void 0===o[i]||!0===n||void 0===n&&!1!==o[i])&&(o[i||t]=nn(e))}const i=(e,t)=>Pe.forEach(e,((e,n)=>a(e,n,t)));if(Pe.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Pe.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,o,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),o=e.substring(a+1).trim(),!n||t[n]&&Zt[n]||("set-cookie"===n?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)})),t})(e),t);else if(Pe.isHeaders(e))for(const[t,o]of e.entries())a(o,t,n);else null!=e&&a(t,e,n);return this}get(e,t){if(e=tn(e)){const n=Pe.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}(e);if(Pe.isFunction(t))return t.call(this,e,n);if(Pe.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=tn(e)){const n=Pe.findKey(this,e);return!(!n||void 0===this[n]||t&&!on(0,this[n],n,t))}return!1}delete(e,t){const n=this;let o=!1;function a(e){if(e=tn(e)){const a=Pe.findKey(n,e);!a||t&&!on(0,n[a],a,t)||(delete n[a],o=!0)}}return Pe.isArray(e)?e.forEach(a):a(e),o}clear(e){const t=Object.keys(this);let n=t.length,o=!1;for(;n--;){const a=t[n];e&&!on(0,this[a],a,e,!0)||(delete this[a],o=!0)}return o}normalize(e){const t=this,n={};return Pe.forEach(this,((o,a)=>{const i=Pe.findKey(n,a);if(i)return t[i]=nn(o),void delete t[a];const r=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();r!==a&&delete t[a],t[r]=nn(o),n[r]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Pe.forEach(this,((n,o)=>{null!=n&&!1!==n&&(t[o]=e&&Pe.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[en]=this[en]={accessors:{}}).accessors,n=this.prototype;function o(e){const o=tn(e);t[o]||(!function(e,t){const n=Pe.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,a){return this[o].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[o]=!0)}return Pe.isArray(e)?e.forEach(o):o(e),this}}an.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Pe.reduceDescriptors(an.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Pe.freezeMethods(an);var rn=an;function sn(e,t){const n=this||Xt,o=t||n,a=rn.from(o.headers);let i=o.data;return Pe.forEach(e,(function(e){i=e.call(n,i,a.normalize(),t?t.status:void 0)})),a.normalize(),i}function cn(e){return!(!e||!e.__CANCEL__)}function un(e,t,n){De.call(this,null==e?"canceled":e,De.ERR_CANCELED,t,n),this.name="CanceledError"}function ln(e,t,n){const o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new De("Request failed with status code "+n.status,[De.ERR_BAD_REQUEST,De.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function pn(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}Pe.inherits(un,De,{__CANCEL__:!0});var dn=v.parse,fn={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},mn=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function hn(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}var vn,yn,gn,bn,xn,kn=function(e){var t="string"==typeof e?dn(e):e||{},n=t.protocol,o=t.host,a=t.port;if("string"!=typeof o||!o||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(hn("npm_config_no_proxy")||hn("no_proxy")).toLowerCase();if(!n)return!0;if("*"===n)return!1;return n.split(/[,\s]/).every((function(n){if(!n)return!0;var o=n.match(/^(.+):(\d+)$/),a=o?o[1]:n,i=o?parseInt(o[2]):0;return!(!i||i===t)||(/^[.*]/.test(a)?("*"===a.charAt(0)&&(a=a.slice(1)),!mn.call(e,a)):e!==a)}))}(o=o.replace(/:\d*$/,""),a=parseInt(a)||fn[n]||0))return"";var i=hn("npm_config_"+n+"_proxy")||hn(n+"_proxy")||hn("npm_config_proxy")||hn("all_proxy");return i&&-1===i.indexOf("://")&&(i=n+"://"+i),i},wn={exports:{}},Cn={exports:{}},En={exports:{}};function _n(){if(yn)return vn;yn=1;var e=1e3,t=60*e,n=60*t,o=24*n,a=7*o,i=365.25*o;function r(e,t,n,o){var a=t>=1.5*n;return Math.round(e/n)+" "+o+(a?"s":"")}return vn=function(s,c){c=c||{};var u=typeof s;if("string"===u&&s.length>0)return function(r){if((r=String(r)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(r);if(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(s);if("number"===u&&isFinite(s))return c.long?function(a){var i=Math.abs(a);if(i>=o)return r(a,i,o,"day");if(i>=n)return r(a,i,n,"hour");if(i>=t)return r(a,i,t,"minute");if(i>=e)return r(a,i,e,"second");return a+" ms"}(s):function(a){var i=Math.abs(a);if(i>=o)return Math.round(a/o)+"d";if(i>=n)return Math.round(a/n)+"h";if(i>=t)return Math.round(a/t)+"m";if(i>=e)return Math.round(a/e)+"s";return a+"ms"}(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))},vn}function Sn(){if(bn)return gn;return bn=1,gn=function(e){function t(e){let o,a,i,r=null;function s(...e){if(!s.enabled)return;const n=s,a=Number(new Date),i=a-(o||a);n.diff=i,n.prev=o,n.curr=a,o=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,a)=>{if("%%"===o)return"%";r++;const i=t.formatters[a];if("function"==typeof i){const t=e[r];o=i.call(n,t),e.splice(r,1),r--}return o})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(a!==t.namespaces&&(a=t.namespaces,i=t.enabled(e)),i),set:e=>{r=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const o=("string"==typeof e?e:"").split(/[\s,]+/),a=o.length;for(n=0;n<a;n++)o[n]&&("-"===(e=o[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,o;for(n=0,o=t.skips.length;n<o;n++)if(t.skips[n].test(e))return!1;for(n=0,o=t.names.length;n<o;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=_n(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t},gn}var Rn,In,Tn,An,On,Pn,Dn,jn={exports:{}};function Ln(){return In?Rn:(In=1,Rn=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",o=t.indexOf(n+e),a=t.indexOf("--");return-1!==o&&(-1===a||o<a)})}function Nn(){return On||(On=1,function(e,t){const n=b,o=u;t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let o=0;o<n.length;o++)e.inspectOpts[n[o]]=t.inspectOpts[n[o]]},t.log=function(...e){return process.stderr.write(o.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(n){const{namespace:o,useColors:a}=this;if(a){const t=this.color,a="[3"+(t<8?t:"8;5;"+t),i=` ${a};1m${o} `;n[0]=i+n[0].split("\n").join("\n"+i),n.push(a+"m+"+e.exports.humanize(this.diff)+"")}else n[0]=function(){if(t.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+o+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)},t.destroy=o.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=function(){if(An)return Tn;An=1;const e=x,t=b,n=Ln(),{env:o}=process;let a;function i(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function r(t,i){if(0===a)return 0;if(n("color=16m")||n("color=full")||n("color=truecolor"))return 3;if(n("color=256"))return 2;if(t&&!i&&void 0===a)return 0;const r=a||0;if("dumb"===o.TERM)return r;if("win32"===process.platform){const t=e.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in o))||"codeship"===o.CI_NAME?1:r;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:r}return n("no-color")||n("no-colors")||n("color=false")||n("color=never")?a=0:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(a=1),"FORCE_COLOR"in o&&(a="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),Tn={supportsColor:function(e){return i(r(e,e&&e.isTTY))},stdout:i(r(!0,t.isatty(1))),stderr:i(r(!0,t.isatty(2)))},Tn}();e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let o=process.env[t];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),e[n]=o,e}),{}),e.exports=Sn()(t);const{formatters:a}=e.exports;a.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},a.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}}(jn,jn.exports)),jn.exports}function Fn(){return Pn||(Pn=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?Cn.exports=(xn||(xn=1,function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(o++,"%c"===e&&(a=o))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=Sn()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(En,En.exports)),En.exports):Cn.exports=Nn()),Cn.exports}var Bn,Mn,zn,Un=v,qn=Un.URL,Vn=m,Gn=h,Kn=p.Writable,Wn=g,Qn=function(){if(!Dn){try{Dn=Fn()("follow-redirects")}catch(e){}"function"!=typeof Dn&&(Dn=function(){})}Dn.apply(null,arguments)};Bn="undefined"!=typeof process,Mn="undefined"!=typeof window&&"undefined"!=typeof document,zn=ho(Error.captureStackTrace),Bn||!Mn&&zn||console.warn("The follow-redirects package should be excluded from browser builds.");var Hn=!1;try{Wn(new qn(""))}catch(e){Hn="ERR_INVALID_URL"===e.code}var Jn=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Yn=["abort","aborted","connect","error","socket","timeout"],$n=Object.create(null);Yn.forEach((function(e){$n[e]=function(t,n,o){this._redirectable.emit(e,t,n,o)}}));var Xn=po("ERR_INVALID_URL","Invalid URL",TypeError),Zn=po("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),eo=po("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Zn),to=po("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),no=po("ERR_STREAM_WRITE_AFTER_END","write after end"),oo=Kn.prototype.destroy||ro;function ao(e,t){Kn.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof Zn?e:new Zn({cause:e}))}},this._performRequest()}function io(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(o){var a=o+":",i=n[a]=e[o],r=t[o]=Object.create(i);Object.defineProperties(r,{request:{value:function(e,o,i){var r;return r=e,qn&&r instanceof qn?e=uo(e):mo(e)?e=uo(so(e)):(i=o,o=co(e),e={protocol:a}),ho(o)&&(i=o,o=null),(o=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,o)).nativeProtocols=n,mo(o.host)||mo(o.hostname)||(o.hostname="::1"),Wn.equal(o.protocol,a,"protocol mismatch"),Qn("options",o),new ao(o,i)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var o=r.request(e,t,n);return o.end(),o},configurable:!0,enumerable:!0,writable:!0}})})),t}function ro(){}function so(e){var t;if(Hn)t=new qn(e);else if(!mo((t=co(Un.parse(e))).protocol))throw new Xn({input:e});return t}function co(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Xn({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Xn({input:e.href||e});return e}function uo(e,t){var n=t||{};for(var o of Jn)n[o]=e[o];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function lo(e,t){var n;for(var o in t)e.test(o)&&(n=t[o],delete t[o]);return null==n?void 0:String(n).trim()}function po(e,t,n){function o(n){ho(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return o.prototype=new(n||Error),Object.defineProperties(o.prototype,{constructor:{value:o,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),o}function fo(e,t){for(var n of Yn)e.removeListener(n,$n[n]);e.on("error",ro),e.destroy(t)}function mo(e){return"string"==typeof e||e instanceof String}function ho(e){return"function"==typeof e}ao.prototype=Object.create(Kn.prototype),ao.prototype.abort=function(){fo(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},ao.prototype.destroy=function(e){return fo(this._currentRequest,e),oo.call(this,e),this},ao.prototype.write=function(e,t,n){if(this._ending)throw new no;if(!mo(e)&&("object"!=typeof(o=e)||!("length"in o)))throw new TypeError("data should be a string, Buffer or Uint8Array");var o;ho(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new to),this.abort()):n&&n()},ao.prototype.end=function(e,t,n){if(ho(e)?(n=e,e=t=null):ho(t)&&(n=t,t=null),e){var o=this,a=this._currentRequest;this.write(e,t,(function(){o._ended=!0,a.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},ao.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},ao.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},ao.prototype.setTimeout=function(e,t){var n=this;function o(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function a(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),i()}),e),o(t)}function i(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",i),n.removeListener("error",i),n.removeListener("response",i),n.removeListener("close",i),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",a)}return t&&this.on("timeout",t),this.socket?a(this.socket):this._currentRequest.once("socket",a),this.on("socket",o),this.on("abort",i),this.on("error",i),this.on("response",i),this.on("close",i),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){ao.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(ao.prototype,e,{get:function(){return this._currentRequest[e]}})})),ao.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},ao.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var o=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var a of(o._redirectable=this,Yn))o.on(a,$n[a]);if(this._currentUrl=/^\//.test(this._options.path)?Un.format(this._options):this._options.path,this._isRedirect){var i=0,r=this,s=this._requestBodyBuffers;!function e(t){if(o===r._currentRequest)if(t)r.emit("error",t);else if(i<s.length){var n=s[i++];o.finished||o.write(n.data,n.encoding,e)}else r._ended&&o.end()}()}},ao.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,o=e.headers.location;if(!o||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(fo(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new eo;var a=this._options.beforeRedirect;a&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var i=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],lo(/^content-/i,this._options.headers));var r,s,c=lo(/^host$/i,this._options.headers),u=so(this._currentUrl),l=c||u.host,p=/^\w+:/.test(o)?this._currentUrl:Un.format(Object.assign(u,{host:l})),d=(r=o,s=p,Hn?new qn(r,s):so(Un.resolve(s,r)));if(Qn("redirecting to",d.href),this._isRedirect=!0,uo(d,this._options),(d.protocol!==u.protocol&&"https:"!==d.protocol||d.host!==l&&!function(e,t){Wn(mo(e)&&mo(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(d.host,l))&&lo(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),ho(a)){var f={headers:e.headers,statusCode:t},m={url:p,method:i,headers:n};a(this._options,f,m),this._sanitizeOptions(this._options)}this._performRequest()},wn.exports=io({http:Vn,https:Gn}),wn.exports.wrap=io;var vo=Fe(wn.exports);const yo="1.7.7";function go(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const bo=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;const xo=Symbol("internals");class ko extends p.Transform{constructor(e){super({readableHighWaterMark:(e=Pe.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!Pe.isUndefined(t[e])))).chunkSize});const t=this[xo]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))}))}_read(e){const t=this[xo];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const o=this[xo],a=o.maxRate,i=this.readableHighWaterMark,r=o.timeWindow,s=a/(1e3/r),c=!1!==o.minChunkSize?Math.max(o.minChunkSize,.01*s):0,u=(e,t)=>{const n=Buffer.byteLength(e);o.bytesSeen+=n,o.bytes+=n,o.isCaptured&&this.emit("progress",o.bytesSeen),this.push(e)?process.nextTick(t):o.onReadCallback=()=>{o.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,p=null,d=i,f=0;if(a){const e=Date.now();(!o.ts||(f=e-o.ts)>=r)&&(o.ts=e,l=s-o.bytes,o.bytes=l<0?-l:0,f=0),l=s-o.bytes}if(a){if(l<=0)return setTimeout((()=>{t(null,e)}),r-f);l<d&&(d=l)}d&&n>d&&n-d>c&&(p=e.subarray(d),e=e.subarray(0,d)),u(e,p?()=>{process.nextTick(t,null,p)}:t)};l(e,(function e(t,o){if(t)return n(t);o?l(o,e):n(null)}))}}var wo=ko;const{asyncIterator:Co}=Symbol;var Eo=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[Co]?yield*e[Co]():yield e};const _o=Pe.ALPHABET.ALPHA_DIGIT+"-_",So=new l,Ro="\r\n",Io=So.encode(Ro);class To{constructor(e,t){const{escapeName:n}=this.constructor,o=Pe.isString(t);let a=`Content-Disposition: form-data; name="${n(e)}"${!o&&t.name?`; filename="${n(t.name)}"`:""}${Ro}`;o?t=So.encode(String(t).replace(/\r?\n|\r\n?/g,Ro)):a+=`Content-Type: ${t.type||"application/octet-stream"}${Ro}`,this.headers=So.encode(a+Ro),this.contentLength=o?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;Pe.isTypedArray(e)?yield e:yield*Eo(e),yield Io}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}var Ao=(e,t,n)=>{const{tag:o="form-data-boundary",size:a=25,boundary:i=o+"-"+Pe.generateString(a,_o)}=n||{};if(!Pe.isFormData(e))throw TypeError("FormData instance required");if(i.length<1||i.length>70)throw Error("boundary must be 10-70 characters long");const r=So.encode("--"+i+Ro),s=So.encode("--"+i+"--"+Ro+Ro);let c=s.byteLength;const u=Array.from(e.entries()).map((([e,t])=>{const n=new To(e,t);return c+=n.size,n}));c+=r.byteLength*u.length,c=Pe.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${i}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),d.from(async function*(){for(const e of u)yield r,yield*e.encode();yield s}())};class Oo extends p.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}var Po=Oo;var Do=(e,t)=>Pe.isAsyncFn(e)?function(...n){const o=n.pop();e.apply(this,n).then((e=>{try{t?o(null,...t(e)):o(null,e)}catch(e){o(e)}}),o)}:e;const jo=(e,t,n=3)=>{let o=0;const a=function(e,t){e=e||10;const n=new Array(e),o=new Array(e);let a,i=0,r=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),u=o[r];a||(a=c),n[i]=s,o[i]=c;let l=r,p=0;for(;l!==i;)p+=n[l++],l%=e;if(i=(i+1)%e,i===r&&(r=(r+1)%e),c-a<t)return;const d=u&&c-u;return d?Math.round(1e3*p/d):void 0}}(50,250);return function(e,t){let n,o,a=0,i=1e3/t;const r=(t,i=Date.now())=>{a=i,n=null,o&&(clearTimeout(o),o=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-a;s>=i?r(e,t):(n=e,o||(o=setTimeout((()=>{o=null,r(n)}),i-s)))},()=>n&&r(n)]}((n=>{const i=n.loaded,r=n.lengthComputable?n.total:void 0,s=i-o,c=a(s);o=i;e({loaded:i,total:r,progress:r?i/r:void 0,bytes:s,rate:c||void 0,estimated:c&&r&&i<=r?(r-i)/c:void 0,event:n,lengthComputable:null!=r,[t?"download":"upload"]:!0})}),n)},Lo=(e,t)=>{const n=null!=e;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},No=e=>(...t)=>Pe.asap((()=>e(...t))),Fo={flush:k.constants.Z_SYNC_FLUSH,finishFlush:k.constants.Z_SYNC_FLUSH},Bo={flush:k.constants.BROTLI_OPERATION_FLUSH,finishFlush:k.constants.BROTLI_OPERATION_FLUSH},Mo=Pe.isFunction(k.createBrotliDecompress),{http:zo,https:Uo}=vo,qo=/https:?/,Vo=Jt.protocols.map((e=>e+":")),Go=(e,[t,n])=>(e.on("end",n).on("error",n),t);function Ko(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function Wo(e,t,n){let o=t;if(!o&&!1!==o){const e=kn(n);e&&(o=new URL(e))}if(o){if(o.username&&(o.auth=(o.username||"")+":"+(o.password||"")),o.auth){(o.auth.username||o.auth.password)&&(o.auth=(o.auth.username||"")+":"+(o.auth.password||""));const t=Buffer.from(o.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=o.hostname||o.host;e.hostname=t,e.host=t,e.port=o.port,e.path=n,o.protocol&&(e.protocol=o.protocol.includes(":")?o.protocol:`${o.protocol}:`)}e.beforeRedirects.proxy=function(e){Wo(e,t,e.href)}}const Qo="undefined"!=typeof process&&"process"===Pe.kindOf(process),Ho=(e,t)=>(({address:e,family:t})=>{if(!Pe.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(Pe.isObject(e)?e:{address:e,family:t});var Jo=Qo&&function(e){return t=async function(t,n,o){let{data:a,lookup:i,family:r}=e;const{responseType:s,responseEncoding:c}=e,l=e.method.toUpperCase();let d,f,v=!1;if(i){const e=Do(i,(e=>Pe.isArray(e)?e:[e]));i=(t,n,o)=>{e(t,n,((e,t,a)=>{if(e)return o(e);const i=Pe.isArray(t)?t.map((e=>Ho(e))):[Ho(t,a)];n.all?o(e,i):o(e,i[0].address,i[0].family)}))}}const y=new w,g=()=>{e.cancelToken&&e.cancelToken.unsubscribe(b),e.signal&&e.signal.removeEventListener("abort",b),y.removeAllListeners()};function b(t){y.emit("abort",!t||t.type?new un(null,e,f):t)}o(((e,t)=>{d=!0,t&&(v=!0,g())})),y.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(b),e.signal&&(e.signal.aborted?b():e.signal.addEventListener("abort",b)));const x=pn(e.baseURL,e.url),C=new URL(x,Jt.hasBrowserEnv?Jt.origin:void 0),E=C.protocol||Vo[0];if("data:"===E){let o;if("GET"!==l)return ln(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{o=function(e,t,n){const o=n&&n.Blob||Jt.classes.Blob,a=go(e);if(void 0===t&&o&&(t=!0),"data"===a){e=a.length?e.slice(a.length+1):e;const n=bo.exec(e);if(!n)throw new De("Invalid URL",De.ERR_INVALID_URL);const i=n[1],r=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),r?"base64":"utf8");if(t){if(!o)throw new De("Blob is not supported",De.ERR_NOT_SUPPORT);return new o([c],{type:i})}return c}throw new De("Unsupported protocol "+a,De.ERR_NOT_SUPPORT)}(e.url,"blob"===s,{Blob:e.env&&e.env.Blob})}catch(t){throw De.from(t,De.ERR_BAD_REQUEST,e)}return"text"===s?(o=o.toString(c),c&&"utf8"!==c||(o=Pe.stripBOM(o))):"stream"===s&&(o=p.Readable.from(o)),ln(t,n,{data:o,status:200,statusText:"OK",headers:new rn,config:e})}if(-1===Vo.indexOf(E))return n(new De("Unsupported protocol "+E,De.ERR_BAD_REQUEST,e));const _=rn.from(e.headers).normalize();_.set("User-Agent","axios/"+yo,!1);const{onUploadProgress:S,onDownloadProgress:R}=e,I=e.maxRate;let T,A;if(Pe.isSpecCompliantForm(a)){const e=_.getContentType(/boundary=([-_\w\d]{10,70})/i);a=Ao(a,(e=>{_.set(e)}),{tag:`axios-${yo}-boundary`,boundary:e&&e[1]||void 0})}else if(Pe.isFormData(a)&&Pe.isFunction(a.getHeaders)){if(_.set(a.getHeaders()),!_.hasContentLength())try{const e=await u.promisify(a.getLength).call(a);Number.isFinite(e)&&e>=0&&_.setContentLength(e)}catch(e){}}else if(Pe.isBlob(a))a.size&&_.setContentType(a.type||"application/octet-stream"),_.setContentLength(a.size||0),a=p.Readable.from(Eo(a));else if(a&&!Pe.isStream(a)){if(Buffer.isBuffer(a));else if(Pe.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else{if(!Pe.isString(a))return n(new De("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",De.ERR_BAD_REQUEST,e));a=Buffer.from(a,"utf-8")}if(_.setContentLength(a.length,!1),e.maxBodyLength>-1&&a.length>e.maxBodyLength)return n(new De("Request body larger than maxBodyLength limit",De.ERR_BAD_REQUEST,e))}const O=Pe.toFiniteNumber(_.getContentLength());let P,D;Pe.isArray(I)?(T=I[0],A=I[1]):T=A=I,a&&(S||T)&&(Pe.isStream(a)||(a=p.Readable.from(a,{objectMode:!1})),a=p.pipeline([a,new wo({maxRate:Pe.toFiniteNumber(T)})],Pe.noop),S&&a.on("progress",Go(a,Lo(O,jo(No(S),!1,3))))),e.auth&&(P=(e.auth.username||"")+":"+(e.auth.password||"")),!P&&C.username&&(P=C.username+":"+C.password),P&&_.delete("authorization");try{D=zt(C.pathname+C.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const o=new Error(t.message);return o.config=e,o.url=e.url,o.exists=!0,n(o)}_.set("Accept-Encoding","gzip, compress, deflate"+(Mo?", br":""),!1);const j={path:D,method:l,headers:_.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:P,protocol:E,family:r,beforeRedirect:Ko,beforeRedirects:{}};let L;!Pe.isUndefined(i)&&(j.lookup=i),e.socketPath?j.socketPath=e.socketPath:(j.hostname=C.hostname.startsWith("[")?C.hostname.slice(1,-1):C.hostname,j.port=C.port,Wo(j,e.proxy,E+"//"+C.hostname+(C.port?":"+C.port:"")+j.path));const N=qo.test(j.protocol);if(j.agent=N?e.httpsAgent:e.httpAgent,e.transport?L=e.transport:0===e.maxRedirects?L=N?h:m:(e.maxRedirects&&(j.maxRedirects=e.maxRedirects),e.beforeRedirect&&(j.beforeRedirects.config=e.beforeRedirect),L=N?Uo:zo),e.maxBodyLength>-1?j.maxBodyLength=e.maxBodyLength:j.maxBodyLength=1/0,e.insecureHTTPParser&&(j.insecureHTTPParser=e.insecureHTTPParser),f=L.request(j,(function(o){if(f.destroyed)return;const a=[o],i=+o.headers["content-length"];if(R||A){const e=new wo({maxRate:Pe.toFiniteNumber(A)});R&&e.on("progress",Go(e,Lo(i,jo(No(R),!0,3)))),a.push(e)}let r=o;const u=o.req||f;if(!1!==e.decompress&&o.headers["content-encoding"])switch("HEAD"!==l&&204!==o.statusCode||delete o.headers["content-encoding"],(o.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":a.push(k.createUnzip(Fo)),delete o.headers["content-encoding"];break;case"deflate":a.push(new Po),a.push(k.createUnzip(Fo)),delete o.headers["content-encoding"];break;case"br":Mo&&(a.push(k.createBrotliDecompress(Bo)),delete o.headers["content-encoding"])}r=a.length>1?p.pipeline(a,Pe.noop):a[0];const d=p.finished(r,(()=>{d(),g()})),m={status:o.statusCode,statusText:o.statusMessage,headers:new rn(o.headers),config:e,request:u};if("stream"===s)m.data=r,ln(t,n,m);else{const o=[];let a=0;r.on("data",(function(t){o.push(t),a+=t.length,e.maxContentLength>-1&&a>e.maxContentLength&&(v=!0,r.destroy(),n(new De("maxContentLength size of "+e.maxContentLength+" exceeded",De.ERR_BAD_RESPONSE,e,u)))})),r.on("aborted",(function(){if(v)return;const t=new De("maxContentLength size of "+e.maxContentLength+" exceeded",De.ERR_BAD_RESPONSE,e,u);r.destroy(t),n(t)})),r.on("error",(function(t){f.destroyed||n(De.from(t,null,e,u))})),r.on("end",(function(){try{let e=1===o.length?o[0]:Buffer.concat(o);"arraybuffer"!==s&&(e=e.toString(c),c&&"utf8"!==c||(e=Pe.stripBOM(e))),m.data=e}catch(t){return n(De.from(t,null,e,m.request,m))}ln(t,n,m)}))}y.once("abort",(e=>{r.destroyed||(r.emit("error",e),r.destroy())}))})),y.once("abort",(e=>{n(e),f.destroy(e)})),f.on("error",(function(t){n(De.from(t,null,e,f))})),f.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void n(new De("error trying to parse `config.timeout` to int",De.ERR_BAD_OPTION_VALUE,e,f));f.setTimeout(t,(function(){if(d)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const o=e.transitional||qt;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new De(t,o.clarifyTimeoutError?De.ETIMEDOUT:De.ECONNABORTED,e,f)),b()}))}if(Pe.isStream(a)){let t=!1,n=!1;a.on("end",(()=>{t=!0})),a.once("error",(e=>{n=!0,f.destroy(e)})),a.on("close",(()=>{t||n||b(new un("Request stream has been aborted",e,f))})),a.pipe(f)}else f.end(a)},new Promise(((e,n)=>{let o,a;const i=(e,t)=>{a||(a=!0,o&&o(e,t))},r=e=>{i(e,!0),n(e)};t((t=>{i(t),e(t)}),r,(e=>o=e)).catch(r)}));var t},Yo=Jt.hasStandardBrowserEnv?function(){const e=Jt.navigator&&/(msie|trident)/i.test(Jt.navigator.userAgent),t=document.createElement("a");let n;function o(n){let o=n;return e&&(t.setAttribute("href",o),o=t.href),t.setAttribute("href",o),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=o(window.location.href),function(e){const t=Pe.isString(e)?o(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},$o=Jt.hasStandardBrowserEnv?{write(e,t,n,o,a,i){const r=[e+"="+encodeURIComponent(t)];Pe.isNumber(n)&&r.push("expires="+new Date(n).toGMTString()),Pe.isString(o)&&r.push("path="+o),Pe.isString(a)&&r.push("domain="+a),!0===i&&r.push("secure"),document.cookie=r.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};const Xo=e=>e instanceof rn?{...e}:e;function Zo(e,t){t=t||{};const n={};function o(e,t,n){return Pe.isPlainObject(e)&&Pe.isPlainObject(t)?Pe.merge.call({caseless:n},e,t):Pe.isPlainObject(t)?Pe.merge({},t):Pe.isArray(t)?t.slice():t}function a(e,t,n){return Pe.isUndefined(t)?Pe.isUndefined(e)?void 0:o(void 0,e,n):o(e,t,n)}function i(e,t){if(!Pe.isUndefined(t))return o(void 0,t)}function r(e,t){return Pe.isUndefined(t)?Pe.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function s(n,a,i){return i in t?o(n,a):i in e?o(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:s,headers:(e,t)=>a(Xo(e),Xo(t),!0)};return Pe.forEach(Object.keys(Object.assign({},e,t)),(function(o){const i=c[o]||a,r=i(e[o],t[o],o);Pe.isUndefined(r)&&i!==s||(n[o]=r)})),n}var ea=e=>{const t=Zo({},e);let n,{data:o,withXSRFToken:a,xsrfHeaderName:i,xsrfCookieName:r,headers:s,auth:c}=t;if(t.headers=s=rn.from(s),t.url=zt(pn(t.baseURL,t.url),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),Pe.isFormData(o))if(Jt.hasStandardBrowserEnv||Jt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Jt.hasStandardBrowserEnv&&(a&&Pe.isFunction(a)&&(a=a(t)),a||!1!==a&&Yo(t.url))){const e=i&&r&&$o.read(r);e&&s.set(i,e)}return t};var ta="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const o=ea(e);let a=o.data;const i=rn.from(o.headers).normalize();let r,s,c,u,l,{responseType:p,onUploadProgress:d,onDownloadProgress:f}=o;function m(){u&&u(),l&&l(),o.cancelToken&&o.cancelToken.unsubscribe(r),o.signal&&o.signal.removeEventListener("abort",r)}let h=new XMLHttpRequest;function v(){if(!h)return;const o=rn.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());ln((function(e){t(e),m()}),(function(e){n(e),m()}),{data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:o,config:e,request:h}),h=null}h.open(o.method.toUpperCase(),o.url,!0),h.timeout=o.timeout,"onloadend"in h?h.onloadend=v:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(v)},h.onabort=function(){h&&(n(new De("Request aborted",De.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new De("Network Error",De.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const a=o.transitional||qt;o.timeoutErrorMessage&&(t=o.timeoutErrorMessage),n(new De(t,a.clarifyTimeoutError?De.ETIMEDOUT:De.ECONNABORTED,e,h)),h=null},void 0===a&&i.setContentType(null),"setRequestHeader"in h&&Pe.forEach(i.toJSON(),(function(e,t){h.setRequestHeader(t,e)})),Pe.isUndefined(o.withCredentials)||(h.withCredentials=!!o.withCredentials),p&&"json"!==p&&(h.responseType=o.responseType),f&&([c,l]=jo(f,!0),h.addEventListener("progress",c)),d&&h.upload&&([s,u]=jo(d),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",u)),(o.cancelToken||o.signal)&&(r=t=>{h&&(n(!t||t.type?new un(null,e,h):t),h.abort(),h=null)},o.cancelToken&&o.cancelToken.subscribe(r),o.signal&&(o.signal.aborted?r():o.signal.addEventListener("abort",r)));const y=go(o.url);y&&-1===Jt.protocols.indexOf(y)?n(new De("Unsupported protocol "+y+":",De.ERR_BAD_REQUEST,e)):h.send(a||null)}))};var na=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,o=new AbortController;const a=function(e){if(!n){n=!0,r();const t=e instanceof Error?e:this.reason;o.abort(t instanceof De?t:new un(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,a(new De(`timeout ${t} of ms exceeded`,De.ETIMEDOUT))}),t);const r=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(a):e.removeEventListener("abort",a)})),e=null)};e.forEach((e=>e.addEventListener("abort",a)));const{signal:s}=o;return s.unsubscribe=()=>Pe.asap(r),s}};const oa=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let o,a=0;for(;a<n;)o=a+t,yield e.slice(a,o),a=o},aa=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},ia=(e,t,n,o)=>{const a=async function*(e,t){for await(const n of aa(e))yield*oa(n,t)}(e,t);let i,r=0,s=e=>{i||(i=!0,o&&o(e))};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await a.next();if(t)return s(),void e.close();let i=o.byteLength;if(n){let e=r+=i;n(e)}e.enqueue(new Uint8Array(o))}catch(e){throw s(e),e}},cancel:e=>(s(e),a.return())},{highWaterMark:2})},ra="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,sa=ra&&"function"==typeof ReadableStream,ca=ra&&("function"==typeof TextEncoder?(ua=new TextEncoder,e=>ua.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var ua;const la=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},pa=sa&&la((()=>{let e=!1;const t=new Request(Jt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),da=sa&&la((()=>Pe.isReadableStream(new Response("").body))),fa={stream:da&&(e=>e.body)};var ma;ra&&(ma=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!fa[e]&&(fa[e]=Pe.isFunction(ma[e])?t=>t[e]():(t,n)=>{throw new De(`Response type '${e}' is not supported`,De.ERR_NOT_SUPPORT,n)})})));const ha=async(e,t)=>{const n=Pe.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Pe.isBlob(e))return e.size;if(Pe.isSpecCompliantForm(e)){const t=new Request(Jt.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Pe.isArrayBufferView(e)||Pe.isArrayBuffer(e)?e.byteLength:(Pe.isURLSearchParams(e)&&(e+=""),Pe.isString(e)?(await ca(e)).byteLength:void 0)})(t):n};var va=ra&&(async e=>{let{url:t,method:n,data:o,signal:a,cancelToken:i,timeout:r,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:l,withCredentials:p="same-origin",fetchOptions:d}=ea(e);u=u?(u+"").toLowerCase():"text";let f,m=na([a,i&&i.toAbortSignal()],r);const h=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let v;try{if(c&&pa&&"get"!==n&&"head"!==n&&0!==(v=await ha(l,o))){let e,n=new Request(t,{method:"POST",body:o,duplex:"half"});if(Pe.isFormData(o)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=Lo(v,jo(No(c)));o=ia(n.body,65536,e,t)}}Pe.isString(p)||(p=p?"include":"omit");const a="credentials"in Request.prototype;f=new Request(t,{...d,signal:m,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:o,duplex:"half",credentials:a?p:void 0});let i=await fetch(f);const r=da&&("stream"===u||"response"===u);if(da&&(s||r&&h)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Pe.toFiniteNumber(i.headers.get("content-length")),[n,o]=s&&Lo(t,jo(No(s),!0))||[];i=new Response(ia(i.body,65536,n,(()=>{o&&o(),h&&h()})),e)}u=u||"text";let y=await fa[Pe.findKey(fa,u)||"text"](i,e);return!r&&h&&h(),await new Promise(((t,n)=>{ln(t,n,{data:y,headers:rn.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:f})}))}catch(t){if(h&&h(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new De("Network Error",De.ERR_NETWORK,e,f),{cause:t.cause||t});throw De.from(t,t&&t.code,e,f)}});const ya={http:Jo,xhr:ta,fetch:va};Pe.forEach(ya,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const ga=e=>`- ${e}`,ba=e=>Pe.isFunction(e)||null===e||!1===e;var xa=e=>{e=Pe.isArray(e)?e:[e];const{length:t}=e;let n,o;const a={};for(let i=0;i<t;i++){let t;if(n=e[i],o=n,!ba(n)&&(o=ya[(t=String(n)).toLowerCase()],void 0===o))throw new De(`Unknown adapter '${t}'`);if(o)break;a[t||"#"+i]=o}if(!o){const e=Object.entries(a).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new De("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(ga).join("\n"):" "+ga(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o};function ka(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new un(null,e)}function wa(e){ka(e),e.headers=rn.from(e.headers),e.data=sn.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return xa(e.adapter||Xt.adapter)(e).then((function(t){return ka(e),t.data=sn.call(e,e.transformResponse,t),t.headers=rn.from(t.headers),t}),(function(t){return cn(t)||(ka(e),t&&t.response&&(t.response.data=sn.call(e,e.transformResponse,t.response),t.response.headers=rn.from(t.response.headers))),Promise.reject(t)}))}const Ca={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Ca[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Ea={};Ca.transitional=function(e,t,n){function o(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,i)=>{if(!1===e)throw new De(o(a," has been removed"+(t?" in "+t:"")),De.ERR_DEPRECATED);return t&&!Ea[a]&&(Ea[a]=!0,console.warn(o(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,i)}};var _a={assertOptions:function(e,t,n){if("object"!=typeof e)throw new De("options must be an object",De.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let a=o.length;for(;a-- >0;){const i=o[a],r=t[i];if(r){const t=e[i],n=void 0===t||r(t,i,e);if(!0!==n)throw new De("option "+i+" must be "+n,De.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new De("Unknown option "+i,De.ERR_BAD_OPTION)}},validators:Ca};const Sa=_a.validators;let Ra=class{constructor(e){this.defaults=e,this.interceptors={request:new Ut,response:new Ut}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Zo(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:a}=t;void 0!==n&&_a.assertOptions(n,{silentJSONParsing:Sa.transitional(Sa.boolean),forcedJSONParsing:Sa.transitional(Sa.boolean),clarifyTimeoutError:Sa.transitional(Sa.boolean)},!1),null!=o&&(Pe.isFunction(o)?t.paramsSerializer={serialize:o}:_a.assertOptions(o,{encode:Sa.function,serialize:Sa.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=a&&Pe.merge(a.common,a[t.method]);a&&Pe.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=rn.concat(i,a);const r=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,p=0;if(!s){const e=[wa.bind(this),void 0];for(e.unshift.apply(e,r),e.push.apply(e,c),l=e.length,u=Promise.resolve(t);p<l;)u=u.then(e[p++],e[p++]);return u}l=r.length;let d=t;for(p=0;p<l;){const e=r[p++],t=r[p++];try{d=e(d)}catch(e){t.call(this,e);break}}try{u=wa.call(this,d)}catch(e){return Promise.reject(e)}for(p=0,l=c.length;p<l;)u=u.then(c[p++],c[p++]);return u}getUri(e){return zt(pn((e=Zo(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}};Pe.forEach(["delete","get","head","options"],(function(e){Ra.prototype[e]=function(t,n){return this.request(Zo(n||{},{method:e,url:t,data:(n||{}).data}))}})),Pe.forEach(["post","put","patch"],(function(e){function t(t){return function(n,o,a){return this.request(Zo(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:o}))}}Ra.prototype[e]=t(),Ra.prototype[e+"Form"]=t(!0)}));var Ia=Ra;class Ta{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e),t=e})).then(e);return o.cancel=function(){n.unsubscribe(t)},o},e((function(e,o,a){n.reason||(n.reason=new un(e,o,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Ta((function(t){e=t})),cancel:e}}}var Aa=Ta;const Oa={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Oa).forEach((([e,t])=>{Oa[t]=e}));var Pa=Oa;const Da=function e(t){const n=new Ia(t),o=V(Ia.prototype.request,n);return Pe.extend(o,Ia.prototype,n,{allOwnKeys:!0}),Pe.extend(o,n,null,{allOwnKeys:!0}),o.create=function(n){return e(Zo(t,n))},o}(Xt);Da.Axios=Ia,Da.CanceledError=un,Da.CancelToken=Aa,Da.isCancel=cn,Da.VERSION=yo,Da.toFormData=Lt,Da.AxiosError=De,Da.Cancel=Da.CanceledError,Da.all=function(e){return Promise.all(e)},Da.spread=function(e){return function(t){return e.apply(null,t)}},Da.isAxiosError=function(e){return Pe.isObject(e)&&!0===e.isAxiosError},Da.mergeConfig=Zo,Da.AxiosHeaders=rn,Da.formToJSON=e=>Yt(Pe.isHTMLForm(e)?new FormData(e):e),Da.getAdapter=xa,Da.HttpStatusCode=Pa,Da.default=Da;var ja,La=Da,Na=function(e){function t(t){var n,o,i,r,s=this;return(s=e.call(this,t)||this).token="",null===(o=null===(n=s.instance)||void 0===n?void 0:n.interceptors)||void 0===o||o.request.use((function(e){return a(a({},e),{defaults:{headers:a(a({},e.headers),{Authorization:"Bearer ".concat(s.getToken())})}})}),(function(e){return Promise.reject(e)})),null===(r=null===(i=s.instance)||void 0===i?void 0:i.interceptors)||void 0===r||r.response.use((function(e){return a({},e)}),(function(e){return Promise.reject(e)})),s}return o(t,e),t.prototype.getToken=function(){return"Bearer ".concat(this.token)},t.prototype.setToken=function(e){this.token=e},t.prototype.getUri=function(e){return this.instance.getUri(e)},t.prototype.getCancelTokenSource=function(){var e;return this.cancelToken&&this.cancelToken.cancel(),this.cancelToken=null===(e=La.CancelToken)||void 0===e?void 0:e.source(),this.cancelToken},t.prototype.request=function(e){var t;return e.cancelToken=null===(t=this.getCancelTokenSource())||void 0===t?void 0:t.token,this.instance.request(e)},t.prototype.get=function(e,t){return this.instance.get(e,t)},t.prototype.options=function(e,t){return this.instance.options(e,t)},t.prototype.delete=function(e,t){return this.instance.delete(e,t)},t.prototype.head=function(e,t){return this.instance.head(e,t)},t.prototype.post=function(e,t,n){return this.instance.post(e,t,n)},t.prototype.put=function(e,t,n){return this.instance.put(e,t,n)},t.prototype.patch=function(e,t,n){return this.instance.patch(e,t,n)},t.prototype.success=function(e){return null==e?void 0:e.data},t.prototype.error=function(e){throw e},t}((function(e){this.instance=La.create(e)})),Fa=Error,Ba=EvalError,Ma=RangeError,za=ReferenceError,Ua=SyntaxError,qa=TypeError,Va=URIError,Ga="undefined"!=typeof Symbol&&Symbol,Ka=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0},Wa={__proto__:null,foo:{}},Qa=Object,Ha=Object.prototype.toString,Ja=Math.max,Ya=function(e,t){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n},$a=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==Ha.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,o=function(e,t){for(var n=[],o=t||0,a=0;o<e.length;o+=1,a+=1)n[a]=e[o];return n}(arguments,1),a=Ja(0,t.length-o.length),i=[],r=0;r<a;r++)i[r]="$"+r;if(n=Function("binder","return function ("+function(e,t){for(var n="",o=0;o<e.length;o+=1)n+=e[o],o+1<e.length&&(n+=t);return n}(i,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof n){var a=t.apply(this,Ya(o,arguments));return Object(a)===a?a:this}return t.apply(e,Ya(o,arguments))})),t.prototype){var s=function(){};s.prototype=t.prototype,n.prototype=new s,s.prototype=null}return n},Xa=Function.prototype.bind||$a,Za=Function.prototype.call,ei=Object.prototype.hasOwnProperty,ti=Xa.call(Za,ei),ni=Fa,oi=Ba,ai=Ma,ii=za,ri=Ua,si=qa,ci=Va,ui=Function,li=function(e){try{return ui('"use strict"; return ('+e+").constructor;")()}catch(e){}},pi=Object.getOwnPropertyDescriptor;if(pi)try{pi({},"")}catch(e){pi=null}var di=function(){throw new si},fi=pi?function(){try{return di}catch(e){try{return pi(arguments,"callee").get}catch(e){return di}}}():di,mi="function"==typeof Ga&&"function"==typeof Symbol&&"symbol"==typeof Ga("foo")&&"symbol"==typeof Symbol("bar")&&Ka(),hi={__proto__:Wa}.foo===Wa.foo&&!(Wa instanceof Qa),vi=Object.getPrototypeOf||(hi?function(e){return e.__proto__}:null),yi={},gi="undefined"!=typeof Uint8Array&&vi?vi(Uint8Array):ja,bi={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?ja:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?ja:ArrayBuffer,"%ArrayIteratorPrototype%":mi&&vi?vi([][Symbol.iterator]()):ja,"%AsyncFromSyncIteratorPrototype%":ja,"%AsyncFunction%":yi,"%AsyncGenerator%":yi,"%AsyncGeneratorFunction%":yi,"%AsyncIteratorPrototype%":yi,"%Atomics%":"undefined"==typeof Atomics?ja:Atomics,"%BigInt%":"undefined"==typeof BigInt?ja:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?ja:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?ja:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?ja:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":ni,"%eval%":eval,"%EvalError%":oi,"%Float32Array%":"undefined"==typeof Float32Array?ja:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?ja:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?ja:FinalizationRegistry,"%Function%":ui,"%GeneratorFunction%":yi,"%Int8Array%":"undefined"==typeof Int8Array?ja:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?ja:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?ja:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":mi&&vi?vi(vi([][Symbol.iterator]())):ja,"%JSON%":"object"==typeof JSON?JSON:ja,"%Map%":"undefined"==typeof Map?ja:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&mi&&vi?vi((new Map)[Symbol.iterator]()):ja,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?ja:Promise,"%Proxy%":"undefined"==typeof Proxy?ja:Proxy,"%RangeError%":ai,"%ReferenceError%":ii,"%Reflect%":"undefined"==typeof Reflect?ja:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?ja:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&mi&&vi?vi((new Set)[Symbol.iterator]()):ja,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?ja:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":mi&&vi?vi(""[Symbol.iterator]()):ja,"%Symbol%":mi?Symbol:ja,"%SyntaxError%":ri,"%ThrowTypeError%":fi,"%TypedArray%":gi,"%TypeError%":si,"%Uint8Array%":"undefined"==typeof Uint8Array?ja:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?ja:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?ja:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?ja:Uint32Array,"%URIError%":ci,"%WeakMap%":"undefined"==typeof WeakMap?ja:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?ja:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?ja:WeakSet};if(vi)try{null.error}catch(e){var xi=vi(vi(e));bi["%Error.prototype%"]=xi}var ki,wi,Ci=function e(t){var n;if("%AsyncFunction%"===t)n=li("async function () {}");else if("%GeneratorFunction%"===t)n=li("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=li("async function* () {}");else if("%AsyncGenerator%"===t){var o=e("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&vi&&(n=vi(a.prototype))}return bi[t]=n,n},Ei={__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"]},_i=Xa,Si=ti,Ri=_i.call(Function.call,Array.prototype.concat),Ii=_i.call(Function.apply,Array.prototype.splice),Ti=_i.call(Function.call,String.prototype.replace),Ai=_i.call(Function.call,String.prototype.slice),Oi=_i.call(Function.call,RegExp.prototype.exec),Pi=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Di=/\\(\\)?/g,ji=function(e,t){var n,o=e;if(Si(Ei,o)&&(o="%"+(n=Ei[o])[0]+"%"),Si(bi,o)){var a=bi[o];if(a===yi&&(a=Ci(o)),void 0===a&&!t)throw new si("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:a}}throw new ri("intrinsic "+e+" does not exist!")},Li=function(e,t){if("string"!=typeof e||0===e.length)throw new si("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new si('"allowMissing" argument must be a boolean');if(null===Oi(/^%?[^%]*%?$/,e))throw new ri("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=Ai(e,0,1),n=Ai(e,-1);if("%"===t&&"%"!==n)throw new ri("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new ri("invalid intrinsic syntax, expected opening `%`");var o=[];return Ti(e,Pi,(function(e,t,n,a){o[o.length]=n?Ti(a,Di,"$1"):t||e})),o}(e),o=n.length>0?n[0]:"",a=ji("%"+o+"%",t),i=a.name,r=a.value,s=!1,c=a.alias;c&&(o=c[0],Ii(n,Ri([0,1],c)));for(var u=1,l=!0;u<n.length;u+=1){var p=n[u],d=Ai(p,0,1),f=Ai(p,-1);if(('"'===d||"'"===d||"`"===d||'"'===f||"'"===f||"`"===f)&&d!==f)throw new ri("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),Si(bi,i="%"+(o+="."+p)+"%"))r=bi[i];else if(null!=r){if(!(p in r)){if(!t)throw new si("base intrinsic for "+e+" exists, but the property is not available.");return}if(pi&&u+1>=n.length){var m=pi(r,p);r=(l=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:r[p]}else l=Si(r,p),r=r[p];l&&!s&&(bi[i]=r)}}return r},Ni={exports:{}};function Fi(){if(wi)return ki;wi=1;var e=Li("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}return ki=e}var Bi=Li("%Object.getOwnPropertyDescriptor%",!0);if(Bi)try{Bi([],"length")}catch(e){Bi=null}var Mi=Bi,zi=Fi(),Ui=Ua,qi=qa,Vi=Mi,Gi=Fi(),Ki=function(){return!!Gi};Ki.hasArrayLengthDefineBug=function(){if(!Gi)return null;try{return 1!==Gi([],"length",{value:1}).length}catch(e){return!0}};var Wi=Li,Qi=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new qi("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new qi("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new qi("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new qi("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new qi("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new qi("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,r=arguments.length>6&&arguments[6],s=!!Vi&&Vi(e,t);if(zi)zi(e,t,{configurable:null===i&&s?s.configurable:!i,enumerable:null===o&&s?s.enumerable:!o,value:n,writable:null===a&&s?s.writable:!a});else{if(!r&&(o||a||i))throw new Ui("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}},Hi=Ki(),Ji=Mi,Yi=qa,$i=Wi("%Math.floor%"),Xi=function(e,t){if("function"!=typeof e)throw new Yi("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||$i(t)!==t)throw new Yi("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,a=!0;if("length"in e&&Ji){var i=Ji(e,"length");i&&!i.configurable&&(o=!1),i&&!i.writable&&(a=!1)}return(o||a||!n)&&(Hi?Qi(e,"length",t,!0,!0):Qi(e,"length",t)),e};!function(e){var t=Xa,n=Li,o=Xi,a=qa,i=n("%Function.prototype.apply%"),r=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||t.call(r,i),c=Fi(),u=n("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var n=s(t,r,arguments);return o(n,1+u(0,e.length-(arguments.length-1)),!0)};var l=function(){return s(t,i,arguments)};c?c(e.exports,"apply",{value:l}):e.exports.apply=l}(Ni);var Zi=Li,er=Ni.exports,tr=er(Zi("String.prototype.indexOf")),nr=u.inspect,or="function"==typeof Map&&Map.prototype,ar=Object.getOwnPropertyDescriptor&&or?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ir=or&&ar&&"function"==typeof ar.get?ar.get:null,rr=or&&Map.prototype.forEach,sr="function"==typeof Set&&Set.prototype,cr=Object.getOwnPropertyDescriptor&&sr?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ur=sr&&cr&&"function"==typeof cr.get?cr.get:null,lr=sr&&Set.prototype.forEach,pr="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,dr="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,fr="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,mr=Boolean.prototype.valueOf,hr=Object.prototype.toString,vr=Function.prototype.toString,yr=String.prototype.match,gr=String.prototype.slice,br=String.prototype.replace,xr=String.prototype.toUpperCase,kr=String.prototype.toLowerCase,wr=RegExp.prototype.test,Cr=Array.prototype.concat,Er=Array.prototype.join,_r=Array.prototype.slice,Sr=Math.floor,Rr="function"==typeof BigInt?BigInt.prototype.valueOf:null,Ir=Object.getOwnPropertySymbols,Tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Ar="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Or="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ar||"symbol")?Symbol.toStringTag:null,Pr=Object.prototype.propertyIsEnumerable,Dr=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function jr(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||wr.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var o=e<0?-Sr(-e):Sr(e);if(o!==e){var a=String(o),i=gr.call(t,a.length+1);return br.call(a,n,"$&_")+"."+br.call(br.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return br.call(t,n,"$&_")}var Lr=nr,Nr=Lr.custom,Fr=Gr(Nr)?Nr:null,Br={__proto__:null,double:'"',single:"'"},Mr={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function zr(e,t,n){var o=n.quoteStyle||t,a=Br[o];return a+e+a}function Ur(e){return br.call(String(e),/"/g,"&quot;")}function qr(e){return!("[object Array]"!==Qr(e)||Or&&"object"==typeof e&&Or in e)}function Vr(e){return!("[object RegExp]"!==Qr(e)||Or&&"object"==typeof e&&Or in e)}function Gr(e){if(Ar)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!Tr)return!1;try{return Tr.call(e),!0}catch(e){}return!1}var Kr=Object.prototype.hasOwnProperty||function(e){return e in this};function Wr(e,t){return Kr.call(e,t)}function Qr(e){return hr.call(e)}function Hr(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1}function Jr(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return Jr(gr.call(e,0,t.maxStringLength),t)+o}var a=Mr[t.quoteStyle||"single"];return a.lastIndex=0,zr(br.call(br.call(e,a,"\\$1"),/[\x00-\x1f]/g,Yr),"single",t)}function Yr(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+xr.call(t.toString(16))}function $r(e){return"Object("+e+")"}function Xr(e){return e+" { ? }"}function Zr(e,t,n,o){return e+" ("+t+") {"+(o?es(n,o):Er.call(n,", "))+"}"}function es(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+Er.call(e,","+n)+"\n"+t.prev}function ts(e,t){var n=qr(e),o=[];if(n){o.length=e.length;for(var a=0;a<e.length;a++)o[a]=Wr(e,a)?t(e[a],e):""}var i,r="function"==typeof Ir?Ir(e):[];if(Ar){i={};for(var s=0;s<r.length;s++)i["$"+r[s]]=r[s]}for(var c in e)Wr(e,c)&&(n&&String(Number(c))===c&&c<e.length||Ar&&i["$"+c]instanceof Symbol||(wr.call(/[^\w$]/,c)?o.push(t(c,e)+": "+t(e[c],e)):o.push(c+": "+t(e[c],e))));if("function"==typeof Ir)for(var u=0;u<r.length;u++)Pr.call(e,r[u])&&o.push("["+t(r[u])+"]: "+t(e[r[u]],e));return o}var ns,os,as,is,rs,ss,cs,us,ls,ps=Li,ds=function(e,t){var n=Zi(e,!!t);return"function"==typeof n&&tr(e,".prototype.")>-1?er(n):n},fs=function e(t,n,o,a){var i=n||{};if(Wr(i,"quoteStyle")&&!Wr(Br,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Wr(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var r=!Wr(i,"customInspect")||i.customInspect;if("boolean"!=typeof r&&"symbol"!==r)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Wr(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Wr(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Jr(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var c=String(t);return s?jr(t,c):c}if("bigint"==typeof t){var u=String(t)+"n";return s?jr(t,u):u}var l=void 0===i.depth?5:i.depth;if(void 0===o&&(o=0),o>=l&&l>0&&"object"==typeof t)return qr(t)?"[Array]":"[Object]";var p=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Er.call(Array(e.indent+1)," ")}return{base:n,prev:Er.call(Array(t+1),n)}}(i,o);if(void 0===a)a=[];else if(Hr(a,t)>=0)return"[Circular]";function d(t,n,r){if(n&&(a=_r.call(a)).push(n),r){var s={depth:i.depth};return Wr(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,o+1,a)}return e(t,i,o+1,a)}if("function"==typeof t&&!Vr(t)){var f=function(e){if(e.name)return e.name;var t=yr.call(vr.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),m=ts(t,d);return"[Function"+(f?": "+f:" (anonymous)")+"]"+(m.length>0?" { "+Er.call(m,", ")+" }":"")}if(Gr(t)){var h=Ar?br.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Tr.call(t);return"object"!=typeof t||Ar?h:$r(h)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var v="<"+kr.call(String(t.nodeName)),y=t.attributes||[],g=0;g<y.length;g++)v+=" "+y[g].name+"="+zr(Ur(y[g].value),"double",i);return v+=">",t.childNodes&&t.childNodes.length&&(v+="..."),v+="</"+kr.call(String(t.nodeName))+">"}if(qr(t)){if(0===t.length)return"[]";var b=ts(t,d);return p&&!function(e){for(var t=0;t<e.length;t++)if(Hr(e[t],"\n")>=0)return!1;return!0}(b)?"["+es(b,p)+"]":"[ "+Er.call(b,", ")+" ]"}if(function(e){return!("[object Error]"!==Qr(e)||Or&&"object"==typeof e&&Or in e)}(t)){var x=ts(t,d);return"cause"in Error.prototype||!("cause"in t)||Pr.call(t,"cause")?0===x.length?"["+String(t)+"]":"{ ["+String(t)+"] "+Er.call(x,", ")+" }":"{ ["+String(t)+"] "+Er.call(Cr.call("[cause]: "+d(t.cause),x),", ")+" }"}if("object"==typeof t&&r){if(Fr&&"function"==typeof t[Fr]&&Lr)return Lr(t,{depth:l-o});if("symbol"!==r&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!ir||!e||"object"!=typeof e)return!1;try{ir.call(e);try{ur.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var k=[];return rr&&rr.call(t,(function(e,n){k.push(d(n,t,!0)+" => "+d(e,t))})),Zr("Map",ir.call(t),k,p)}if(function(e){if(!ur||!e||"object"!=typeof e)return!1;try{ur.call(e);try{ir.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var w=[];return lr&&lr.call(t,(function(e){w.push(d(e,t))})),Zr("Set",ur.call(t),w,p)}if(function(e){if(!pr||!e||"object"!=typeof e)return!1;try{pr.call(e,pr);try{dr.call(e,dr)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Xr("WeakMap");if(function(e){if(!dr||!e||"object"!=typeof e)return!1;try{dr.call(e,dr);try{pr.call(e,pr)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Xr("WeakSet");if(function(e){if(!fr||!e||"object"!=typeof e)return!1;try{return fr.call(e),!0}catch(e){}return!1}(t))return Xr("WeakRef");if(function(e){return!("[object Number]"!==Qr(e)||Or&&"object"==typeof e&&Or in e)}(t))return $r(d(Number(t)));if(function(e){if(!e||"object"!=typeof e||!Rr)return!1;try{return Rr.call(e),!0}catch(e){}return!1}(t))return $r(d(Rr.call(t)));if(function(e){return!("[object Boolean]"!==Qr(e)||Or&&"object"==typeof e&&Or in e)}(t))return $r(mr.call(t));if(function(e){return!("[object String]"!==Qr(e)||Or&&"object"==typeof e&&Or in e)}(t))return $r(d(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==Ne&&t===Ne)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==Qr(e)||Or&&"object"==typeof e&&Or in e)}(t)&&!Vr(t)){var C=ts(t,d),E=Dr?Dr(t)===Object.prototype:t instanceof Object||t.constructor===Object,_=t instanceof Object?"":"null prototype",S=!E&&Or&&Object(t)===t&&Or in t?gr.call(Qr(t),8,-1):_?"Object":"",R=(E||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(S||_?"["+Er.call(Cr.call([],S||[],_||[]),": ")+"] ":"");return 0===C.length?R+"{}":p?R+"{"+es(C,p)+"}":R+"{ "+Er.call(C,", ")+" }"}return String(t)},ms=qa,hs=ps("%WeakMap%",!0),vs=ps("%Map%",!0),ys=ds("WeakMap.prototype.get",!0),gs=ds("WeakMap.prototype.set",!0),bs=ds("WeakMap.prototype.has",!0),xs=ds("Map.prototype.get",!0),ks=ds("Map.prototype.set",!0),ws=ds("Map.prototype.has",!0),Cs=function(e,t){for(var n,o=e;null!==(n=o.next);o=n)if(n.key===t)return o.next=n.next,n.next=e.next,e.next=n,n},Es=String.prototype.replace,_s=/%20/g,Ss="RFC3986",Rs={default:Ss,formatters:{RFC1738:function(e){return Es.call(e,_s,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:Ss},Is=Rs,Ts=Object.prototype.hasOwnProperty,As=Array.isArray,Os=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),Ps=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},o=0;o<e.length;++o)void 0!==e[o]&&(n[o]=e[o]);return n},Ds=1024,js={arrayToObject:Ps,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],o=0;o<t.length;++o)for(var a=t[o],i=a.obj[a.prop],r=Object.keys(i),s=0;s<r.length;++s){var c=r[s],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:i,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(As(n)){for(var o=[],a=0;a<n.length;++a)void 0!==n[a]&&o.push(n[a]);t.obj[t.prop]=o}}}(t),e},decode:function(e,t,n){var o=e.replace(/\+/g," ");if("iso-8859-1"===n)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(e){return o}},encode:function(e,t,n,o,a){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===n)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var r="",s=0;s<i.length;s+=Ds){for(var c=i.length>=Ds?i.slice(s,s+Ds):i,u=[],l=0;l<c.length;++l){var p=c.charCodeAt(l);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===Is.RFC1738&&(40===p||41===p)?u[u.length]=c.charAt(l):p<128?u[u.length]=Os[p]:p<2048?u[u.length]=Os[192|p>>6]+Os[128|63&p]:p<55296||p>=57344?u[u.length]=Os[224|p>>12]+Os[128|p>>6&63]+Os[128|63&p]:(l+=1,p=65536+((1023&p)<<10|1023&c.charCodeAt(l)),u[u.length]=Os[240|p>>18]+Os[128|p>>12&63]+Os[128|p>>6&63]+Os[128|63&p])}r+=u.join("")}return r},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(As(e)){for(var n=[],o=0;o<e.length;o+=1)n.push(t(e[o]));return n}return t(e)},merge:function e(t,n,o){if(!n)return t;if("object"!=typeof n){if(As(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(o&&(o.plainObjects||o.allowPrototypes)||!Ts.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return As(t)&&!As(n)&&(a=Ps(t,o)),As(t)&&As(n)?(n.forEach((function(n,a){if(Ts.call(t,a)){var i=t[a];i&&"object"==typeof i&&n&&"object"==typeof n?t[a]=e(i,n,o):t.push(n)}else t[a]=n})),t):Object.keys(n).reduce((function(t,a){var i=n[a];return Ts.call(t,a)?t[a]=e(t[a],i,o):t[a]=i,t}),a)}},Ls=function(){var e,t,n,o={assert:function(e){if(!o.has(e))throw new ms("Side channel does not contain "+fs(e))},get:function(o){if(hs&&o&&("object"==typeof o||"function"==typeof o)){if(e)return ys(e,o)}else if(vs){if(t)return xs(t,o)}else if(n)return function(e,t){var n=Cs(e,t);return n&&n.value}(n,o)},has:function(o){if(hs&&o&&("object"==typeof o||"function"==typeof o)){if(e)return bs(e,o)}else if(vs){if(t)return ws(t,o)}else if(n)return function(e,t){return!!Cs(e,t)}(n,o);return!1},set:function(o,a){hs&&o&&("object"==typeof o||"function"==typeof o)?(e||(e=new hs),gs(e,o,a)):vs?(t||(t=new vs),ks(t,o,a)):(n||(n={key:{},next:null}),function(e,t,n){var o=Cs(e,t);o?o.value=n:e.next={key:t,next:e.next,value:n}}(n,o,a))}};return o},Ns=js,Fs=Rs,Bs=Object.prototype.hasOwnProperty,Ms={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},zs=Array.isArray,Us=Array.prototype.push,qs=function(e,t){Us.apply(e,zs(t)?t:[t])},Vs=Date.prototype.toISOString,Gs=Fs.default,Ks={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Ns.encode,encodeValuesOnly:!1,format:Gs,formatter:Fs.formatters[Gs],indices:!1,serializeDate:function(e){return Vs.call(e)},skipNulls:!1,strictNullHandling:!1},Ws={},Qs=function e(t,n,o,a,i,r,s,c,u,l,p,d,f,m,h,v,y,g){for(var b,x=t,k=g,w=0,C=!1;void 0!==(k=k.get(Ws))&&!C;){var E=k.get(t);if(w+=1,void 0!==E){if(E===w)throw new RangeError("Cyclic object value");C=!0}void 0===k.get(Ws)&&(w=0)}if("function"==typeof l?x=l(n,x):x instanceof Date?x=f(x):"comma"===o&&zs(x)&&(x=Ns.maybeMap(x,(function(e){return e instanceof Date?f(e):e}))),null===x){if(r)return u&&!v?u(n,Ks.encoder,y,"key",m):n;x=""}if("string"==typeof(b=x)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||Ns.isBuffer(x))return u?[h(v?n:u(n,Ks.encoder,y,"key",m))+"="+h(u(x,Ks.encoder,y,"value",m))]:[h(n)+"="+h(String(x))];var _,S=[];if(void 0===x)return S;if("comma"===o&&zs(x))v&&u&&(x=Ns.maybeMap(x,u)),_=[{value:x.length>0?x.join(",")||null:void 0}];else if(zs(l))_=l;else{var R=Object.keys(x);_=p?R.sort(p):R}var I=c?n.replace(/\./g,"%2E"):n,T=a&&zs(x)&&1===x.length?I+"[]":I;if(i&&zs(x)&&0===x.length)return T+"[]";for(var A=0;A<_.length;++A){var O=_[A],P="object"==typeof O&&void 0!==O.value?O.value:x[O];if(!s||null!==P){var D=d&&c?O.replace(/\./g,"%2E"):O,j=zs(x)?"function"==typeof o?o(T,D):T:T+(d?"."+D:"["+D+"]");g.set(t,w);var L=Ls();L.set(Ws,g),qs(S,e(P,j,o,a,i,r,s,c,"comma"===o&&v&&zs(x)?null:u,l,p,d,f,m,h,v,y,L))}}return S},Hs=js,Js=Object.prototype.hasOwnProperty,Ys=Array.isArray,$s={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Hs.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},Xs=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},Zs=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},ec=function(e,t,n,o){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,r=n.depth>0&&/(\[[^[\]]*])/.exec(a),s=r?a.slice(0,r.index):a,c=[];if(s){if(!n.plainObjects&&Js.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var u=0;n.depth>0&&null!==(r=i.exec(a))&&u<n.depth;){if(u+=1,!n.plainObjects&&Js.call(Object.prototype,r[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(r[1])}if(r){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");c.push("["+a.slice(r.index)+"]")}return function(e,t,n,o){for(var a=o?t:Zs(t,n),i=e.length-1;i>=0;--i){var r,s=e[i];if("[]"===s&&n.parseArrays)r=n.allowEmptyArrays&&(""===a||n.strictNullHandling&&null===a)?[]:[].concat(a);else{r=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=n.decodeDotInKeys?c.replace(/%2E/g,"."):c,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(r=[])[l]=a:"__proto__"!==u&&(r[u]=a):r={0:a}}a=r}return a}(c,t,n,o)}},tc=function(e,t){var n,o=e,a=function(e){if(!e)return Ks;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||Ks.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Fs.default;if(void 0!==e.format){if(!Bs.call(Fs.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var o,a=Fs.formatters[n],i=Ks.filter;if(("function"==typeof e.filter||zs(e.filter))&&(i=e.filter),o=e.arrayFormat in Ms?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":Ks.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var r=void 0===e.allowDots?!0===e.encodeDotInKeys||Ks.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:Ks.addQueryPrefix,allowDots:r,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:Ks.allowEmptyArrays,arrayFormat:o,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Ks.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?Ks.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:Ks.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:Ks.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:Ks.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:Ks.encodeValuesOnly,filter:i,format:n,formatter:a,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:Ks.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:Ks.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Ks.strictNullHandling}}(t);"function"==typeof a.filter?o=(0,a.filter)("",o):zs(a.filter)&&(n=a.filter);var i=[];if("object"!=typeof o||null===o)return"";var r=Ms[a.arrayFormat],s="comma"===r&&a.commaRoundTrip;n||(n=Object.keys(o)),a.sort&&n.sort(a.sort);for(var c=Ls(),u=0;u<n.length;++u){var l=n[u];a.skipNulls&&null===o[l]||qs(i,Qs(o[l],l,r,s,a.allowEmptyArrays,a.strictNullHandling,a.skipNulls,a.encodeDotInKeys,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,c))}var p=i.join(a.delimiter),d=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),p.length>0?d+p:""},nc=function(e,t){var n=function(e){if(!e)return $s;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?$s.charset:e.charset,n=void 0===e.duplicates?$s.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||$s.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:$s.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:$s.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:$s.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:$s.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:$s.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:$s.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:$s.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:$s.decoder,delimiter:"string"==typeof e.delimiter||Hs.isRegExp(e.delimiter)?e.delimiter:$s.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:$s.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:$s.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:$s.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:$s.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:$s.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:$s.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var o="string"==typeof e?function(e,t){var n={__proto__:null},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a,i=t.parameterLimit===1/0?void 0:t.parameterLimit,r=o.split(t.delimiter,i),s=-1,c=t.charset;if(t.charsetSentinel)for(a=0;a<r.length;++a)0===r[a].indexOf("utf8=")&&("utf8=%E2%9C%93"===r[a]?c="utf-8":"utf8=%26%2310003%3B"===r[a]&&(c="iso-8859-1"),s=a,a=r.length);for(a=0;a<r.length;++a)if(a!==s){var u,l,p=r[a],d=p.indexOf("]="),f=-1===d?p.indexOf("="):d+1;-1===f?(u=t.decoder(p,$s.decoder,c,"key"),l=t.strictNullHandling?null:""):(u=t.decoder(p.slice(0,f),$s.decoder,c,"key"),l=Hs.maybeMap(Zs(p.slice(f+1),t),(function(e){return t.decoder(e,$s.decoder,c,"value")}))),l&&t.interpretNumericEntities&&"iso-8859-1"===c&&(l=Xs(l)),p.indexOf("[]=")>-1&&(l=Ys(l)?[l]:l);var m=Js.call(n,u);m&&"combine"===t.duplicates?n[u]=Hs.combine(n[u],l):m&&"last"!==t.duplicates||(n[u]=l)}return n}(e,n):e,a=n.plainObjects?Object.create(null):{},i=Object.keys(o),r=0;r<i.length;++r){var s=i[r],c=ec(s,o[s],n,"string"==typeof e);a=Hs.merge(a,c,n)}return!0===n.allowSparse?a:Hs.compact(a)},oc={formats:Rs,parse:nc,stringify:tc},ac={withCredentials:!0,timeout:9e4,baseURL:"https://jsonplaceholder.typicode.com/",headers:{"Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache","Content-Type":"application/json",Accept:"application/json"},paramsSerializer:function(e){return oc.stringify(e,{indices:!1})}};!function(e){var t,n;(t=e.NotificationStatus||(e.NotificationStatus={})).SETTLED="SETTLED",t.NOT_SETTLED="NOT_SETTLED",(n=e.NotificationReason||(e.NotificationReason={})).REFUNDED="REFUNDED",n.RESOLVED="RESOLVED",n.CANCELLED="CANCELLED",n.SERVICE_SUSPENDED="SERVICE_SUSPENDED",n.ORDER_STOPPED="ORDER_STOPPED",n.DISMISS="DISMISS"}(ns||(ns={})),function(e){var t;(t=e.CustomClaims||(e.CustomClaims={})).ORGANIZATION_CODE="https://dashboard.dev.y.uno/organization_code",t.USER_CODE="https://dashboard.dev.y.uno/user_code",t.USER_EMAIL="https://dashboard.dev.y.uno/user_email"}(os||(os={})),function(e){var t;(t=e.CountryCode||(e.CountryCode={})).COLOMBIA="CO",t.MEXICO="MX",t.BRAZIL="BR",t.ARGENTINA="AR",t.CHILE="CL",t.PERU="PE",t.URUGUAY="UR",t.ECUADOR="EC"}(as||(as={})),function(e){var t,n;(t=e.Locale||(e.Locale={})).EN="en",t.ES="es",t.PT="pt",(n=e.Target||(e.Target={})).BLANK="_blank",n.PARENT="_parent",n.SELF="_self",n.TOP="_top"}(is||(is={})),function(e){e.PAYMENTS="PAYMENTS",e.TRANSACTIONS="TRANSACTIONS",e.FRAUD_TRANSACTIONS="FRAUD_TRANSACTIONS",e.PAYOUTS="PAYOUTS"}(rs||(rs={})),function(e){e.ALL="ALL",e.DEFAULT="DEFAULT",e.CUSTOM="CUSTOM"}(ss||(ss={})),function(e){var t;(t=e.InsightsVolumeMetricsV2Path||(e.InsightsVolumeMetricsV2Path={})).REFUNDS_AND_CHARGEBACKS="refunds-and-chargebacks",t.APPROVED_PAYMENTS="approved-payments",t.PAYMENT_METHODS="payment-methods",t.PROVIDERS="providers",t.COUNTRIES="countries",t.UNIQUE_CUSTOMER_PAYMENTS="unique-customer-payments",t.TOTAL_PAYMENTS="total-payments",function(e){e.GENERAL="volume-and-total-payments",e.LATENCY="provider-latency",e.STATUS="status",e.SUBSCRIPTIONS="subscriptions"}(e.OverviewMetricType||(e.OverviewMetricType={}))}(cs||(cs={})),function(e){e.TRANSACTIONS="TRANSACTION_RECONCILIATION",e.SETTLEMENTS="SETTLEMENTS",e.SETTLEMENTS_HEADER="SETTLEMENTS_HEADER",e.AGENDA="AGENDA",e.SALES_CONCILIATION="SALES_CONCILIATION",e.ADVANCEMENTS="ADVANCEMENTS",e.FEES="FEES"}(us||(us={})),function(e){e.TOTAL_AMOUNT="AGENDA_TOTAL_AMOUNT",e.DAILY="AGENDA_DAILY_DISTRIBUTION",e.PAYMENT_METHOD="AGENDA_PAYMENT_METHOD_DISTRIBUTION",e.CARD_BRAND="AGENDA_CARD_BRAND_DISTRIBUTION"}(ls||(ls={}));var ic,rc=["PAUSED","ACTIVE"],sc={PAUSED:"pause",DELETED:"delete",ACTIVE:"unpause"},cc="DELETED",uc={CR_CARD_BIN:"bin",CR_CARD_BRAND:"brand",CR_CARD_ISSUER_NAME:"issuer-name",CR_CARD_TYPE:"type",CR_FALLBACK:"fallback"},lc=function(e){return!(null==e?void 0:e.data)||"string"==typeof(null==e?void 0:e.data)&&""===(null==e?void 0:e.data)},pc=[{status:"CREATED",sub_status:"CREATED",icon:"FlagBanner",type:"info",label:"Created",sub_status_icon:"FlagBanner",sub_status_label:"Created"},{status:"CREATED",sub_status:"REJECTED",icon:"WarningCircle",type:"error",label:"Created",sub_status_icon:"WarningCircle",sub_status_label:"Rejected"},{status:"ERROR",sub_status:"CREATED",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Created"},{status:"ERROR",sub_status:"ERROR",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Error"},{status:"ERROR",sub_status:"TIMEOUT",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Timeout"},{status:"ERROR",sub_status:"PENDING_REVERSE",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Pending reverse"},{status:"ERROR",sub_status:"REVERSED_BY_TIMEOUT",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Reversed by timeout"},{status:"SUCCEEDED",sub_status:"CREATED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Created"},{status:"SUCCEEDED",sub_status:"PARTIALLY_APPROVED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Partially approved"},{status:"SUCCEEDED",sub_status:"APPROVED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Approved"},{status:"SUCCEEDED",sub_status:"CAPTURED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Captured"},{status:"SUCCEEDED",sub_status:"PARTIALLY_CAPTURED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Partially captured"},{status:"SUCCEEDED",sub_status:"PARTIALLY_REFUNDED",icon:"ArrowCircleLeft",type:"success",label:"Succeeded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Partially refunded"},{status:"CANCELED",sub_status:"CREATED",icon:"Prohibit",type:"error",label:"Canceled",sub_status_icon:"Prohibit",sub_status_label:"Created"},{status:"CANCELED",sub_status:"PENDING_PROVIDER_CONFIRMATION",icon:"Clock",type:"info",label:"Cancellation pending",sub_status_icon:"Clock",sub_status_label:"Pending provider confirmation"},{status:"CANCELED",sub_status:"CANCELED",icon:"Prohibit",type:"error",label:"Canceled",sub_status_icon:"Prohibit",sub_status_label:"Canceled"},{status:"DECLINED",sub_status:"CREATED",icon:"Prohibit",type:"error",label:"Declined",sub_status_icon:"Prohibit",sub_status_label:"Created"},{status:"DECLINED",sub_status:"DECLINED",icon:"Prohibit",type:"error",label:"Declined",sub_status_icon:"Prohibit",sub_status_label:"Declined"},{status:"REJECTED",sub_status:"CREATED",icon:"Prohibit",type:"error",label:"Rejected",sub_status_icon:"Prohibit",sub_status_label:"Created"},{status:"REJECTED",sub_status:"REJECTED",icon:"Prohibit",type:"error",label:"Rejected",sub_status_icon:"Prohibit",sub_status_label:"Rejected"},{status:"REFUNDED",sub_status:"CREATED",icon:"ArrowCircleLeft",type:"secondary",label:"Refunded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Created"},{status:"REFUNDED",sub_status:"PARTIALLY_REFUNDED",icon:"ArrowCircleLeft",type:"success",label:"Refunded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Partially refunded"},{status:"REFUNDED",sub_status:"PENDING_PROVIDER_CONFIRMATION",icon:"Clock",type:"secondary",label:"Refunded",sub_status_icon:"Clock",sub_status_label:"Pending provider confirmation"},{status:"REFUNDED",sub_status:"REFUNDED",icon:"ArrowCircleLeft",type:"secondary",label:"Refunded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Refunded"},{status:"PENDING",sub_status:"CREATED",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Created"},{status:"PENDING",sub_status:"AUTHORIZED",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Authorized"},{status:"PENDING",sub_status:"WAITING_ADDITIONAL_STEP",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Waiting additional step"},{status:"PENDING",sub_status:"PENDING_PROVIDER_CONFIRMATION",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Pending provider confirmation"},{status:"VERIFIED",sub_status:"CREATED",icon:"CheckCircle",type:"success",label:"Verified",sub_status_icon:"CheckCircle",sub_status_label:"Created"},{status:"VERIFIED",sub_status:"VERIFIED",icon:"CheckCircle",type:"success",label:"Verified",sub_status_icon:"CheckCircle",sub_status_label:"Verified"},{status:"READY_TO_PAY",sub_status:"CREATED",icon:"FlagBanner",type:"info",label:"Ready to pay",sub_status_icon:"FlagBanner",sub_status_label:"Created"},{status:"READY_TO_PAY",sub_status:"READY_TO_PAY",icon:"FlagBanner",type:"info",label:"Ready to pay",sub_status_icon:"FlagBanner",sub_status_label:"Ready to pay"},{status:"EXPIRED",sub_status:"CREATED",icon:"Clock",type:"error",label:"Expired",sub_status_icon:"Clock",sub_status_label:"Created"},{status:"EXPIRED",sub_status:"EXPIRED",icon:"Clock",type:"error",label:"Expired",sub_status_icon:"Clock",sub_status_label:"Expired"},{status:"PENDING",sub_status:"IN_PROCESS",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"In process"},{status:"PENDING",sub_status:"PENDING_FRAUD_REVIEW",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Pending fraud review"},{status:"REJECTED",sub_status:"FRAUD_DECLINED",icon:"Prohibit",type:"error",label:"Rejected",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"},{status:"DECLINED",sub_status:"FRAUD_DECLINED",icon:"Prohibit",type:"error",label:"Declined",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"},{status:"FRAUD_VERIFIED",sub_status:"FRAUD_SCREENING_VERIFIED",icon:"CheckCircle",type:"success",label:"Fraud verified",sub_status_icon:"CheckCircle",sub_status_label:"Fraud screening verified"},{status:"SUCCEEDED",sub_status:"PARTIALLY_CHARGEBACKED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Partially chargebacked"},{status:"IN_DISPUTE",sub_status:"RECEIVED",icon:"ArrowCircleLeft",type:"secondary",label:"In dispute",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Received"},{status:"IN_DISPUTE",sub_status:"PENDING_REVIEW",icon:"ArrowCircleLeft",type:"secondary",label:"In dispute",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Pending review"},{status:"CHARGEBACK",sub_status:"LOST",icon:"Prohibit",type:"error",label:"Chargeback",sub_status_icon:"Prohibit",sub_status_label:"Lost"},{status:"SUCCEEDED",sub_status:"VERIFIED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Verified"},{status:"SUCCEEDED",sub_status:"FRAUD_DECLINED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"},{status:"PENDING",sub_status:"FRAUD_DECLINED",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"}],dc=[{status:"SUCCEEDED",icon:"CheckCircle",type:"success",label:"Succeeded"},{status:"CREATED",icon:"FlagBanner",type:"info",label:"Created"},{status:"ERROR",icon:"WarningCircle",type:"error",label:"Error"},{status:"EXPIRED",icon:"Clock",type:"error",label:"Expired"},{status:"CANCELED",icon:"Prohibit",type:"error",label:"Canceled"},{status:"DECLINED",icon:"Prohibit",type:"error",label:"Declined"},{status:"PENDING",icon:"Clock",type:"warning",label:"Pending"},{status:"REJECTED",icon:"Prohibit",type:"error",label:"Rejected"},{status:"WON",icon:"CheckCircle",type:"success",label:"Won"},{status:"LOST",icon:"WarningCircle",type:"error",label:"Lost"}],fc=[{id:1,status:"RECONCILED",sub_status:"AUTOMATICALLY",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Automatically",sub_status_icon:"CheckCircle"},{id:2,status:"RECONCILED",sub_status:"MANUALLY",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Manually",sub_status_icon:"CheckCircle"},{id:3,status:"NOT_RECONCILED",sub_status:"PENDING",type:"warning",label:"Not reconciled",icon:"Clock",sub_status_label:"Pending",sub_status_icon:"Clock"},{id:4,status:"NOT_RECONCILED",sub_status:"MISSING",type:"warning",label:"Not reconciled",icon:"Clock",sub_status_label:"Missing",sub_status_icon:"Clock"},{id:5,status:"RECONCILED",sub_status:"STATUS_CONFLICT",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Status conflict",sub_status_icon:"CheckCircle"},{id:6,status:"RECONCILED",sub_status:"DATE_CONFLICT",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Date conflict",sub_status_icon:"CheckCircle"},{id:7,status:"RECONCILED",sub_status:"AMOUNT_CONFLICT",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Amount conflict",sub_status_icon:"CheckCircle"},{id:8,status:"RECONCILING_INSTALLMENTS",sub_status:"PENDING_INSTALLMENTS",type:"warning",label:"Reconciling installments",icon:"Clock",sub_status_label:"Pending installments",sub_status_icon:"Clock"},{id:9,status:"NON_RECONCILABLE",sub_status:"AUTOMATICALLY",type:"warning",label:"Non Reconciliable",icon:"Clock",sub_status_label:"Automatically",sub_status_icon:"Clock"}],mc=[{identifier:"America/Argentina/Buenos_Aires",utc_offset:{dst:"-03:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Asuncion",utc_offset:{dst:"-04:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/Bogota",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Caracas",utc_offset:{dst:"-04:00",std:"-04:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/Chicago",utc_offset:{dst:"-05:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Costa_Rica",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/El_Salvador",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Guatemala",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Guayaquil",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Havana",utc_offset:{dst:"-05:00",std:"-04:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/La_Paz",utc_offset:{dst:"-04:00",std:"-04:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/Lima",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Managua",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Mexico_City",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Montevideo",utc_offset:{dst:"-03:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Panama",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Phoenix",utc_offset:{dst:"-07:00",std:"-07:00"},abbreviation:{dst:"GMT",std:"-7"}},{identifier:"America/Santiago",utc_offset:{dst:"-04:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Sao_Paulo",utc_offset:{dst:"-03:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Tegucigalpa",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"Asia/Famagusta",utc_offset:{dst:"+02:00",std:"+03:00"},abbreviation:{dst:"EET",std:""}},{identifier:"Asia/Seoul",utc_offset:{dst:"+09:00",std:"+09:00"},abbreviation:{dst:"KST",std:""}},{identifier:"Asia/Shanghai",utc_offset:{dst:"+08:00",std:"+08:00"},abbreviation:{dst:"CST",std:""}},{identifier:"Asia/Tokyo",utc_offset:{dst:"+09:00",std:"+09:00"},abbreviation:{dst:"JST",std:""}},{identifier:"Australia/Sydney",utc_offset:{dst:"+10:00",std:"+11:00"},abbreviation:{dst:"AEST",std:""}},{identifier:"Coordinated Universal Time",utc_offset:{dst:"+00:00",std:"+00:00"},abbreviation:{dst:"UTC",std:""}},{identifier:"Europe/Madrid",utc_offset:{dst:"+01:00",std:"+01:00"},abbreviation:{dst:"GMT",std:"+1"}},{identifier:"Europe/Moscow",utc_offset:{dst:"+03:00",std:"+03:00"},abbreviation:{dst:"MSK",std:""}},{identifier:"India",utc_offset:{dst:"+03:00",std:"+03:00"},abbreviation:{dst:"IST",std:""}}],hc=[{id:1,value:"ACCOUNTS",type:"source"},{id:2,value:"CHECKOUT",type:"source"},{id:3,value:"CREATE",type:"event"},{id:4,value:"UPDATE",type:"event"},{id:5,value:"CONNECTIONS",type:"source"},{id:6,value:"ROLES",type:"source"},{id:7,value:"ROUTING",type:"source"},{id:8,value:"TEAMS",type:"source"},{id:9,value:"WEBHOOKS",type:"source"},{id:10,value:"PAYMENT_LINKS",type:"source"},{id:11,value:"DELETE",type:"event"}],vc={docs_url:"https://docs.y.uno/reference/api-reference-overview"},yc={en:[{text:"Home",pathname:"/",position:1,icon:"Monitor",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"Insights",pathname:"/insights",position:2,icon:"ChartLine",type:null,target:null,permission:"access_actionable_payment_insights",locale:"en",submenues:null},{text:"Payments",pathname:"/payments",position:3,icon:"ArrowsLeftRight",type:null,target:null,permission:"view_payment_transactions",locale:"en",submenues:null},{text:"Risk conditions",pathname:"/risk-conditions",position:4,icon:"ShieldWarning",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"Payment links",pathname:"/payment-links",position:5,icon:"LinkSimple",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"Connections",pathname:"/connections",position:6,icon:"BoundingBox",type:null,target:null,permission:"view_connections",locale:"en",submenues:null},{text:"Reconciliations",pathname:"/reconciliations",position:7,icon:"Swap",type:null,target:null,permission:"view_settlement_reports",locale:"en",submenues:null},{text:"Routing",pathname:"/routing",position:8,icon:"TreeStructure",type:null,target:null,permission:"view_your_processing_routes",locale:"en",submenues:null},{text:"Checkout builder",pathname:"/checkout-builder",position:9,icon:"ShoppingCart",type:null,target:null,permission:"view_your_checkout",locale:"en",submenues:null},{text:"Developers",pathname:"/developers",position:10,icon:"Code",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"SUPPORT",pathname:null,position:11,icon:"Monitor",type:"SUB_HEADER",target:null,permission:"all",locale:"en",submenues:null},{text:"API Reference",pathname:"https://docs.y.uno/reference/introduction",position:13,icon:"TerminalWindow",type:null,target:"_blank",permission:"all",locale:"en",submenues:null},{text:"Audit logs",pathname:"/audit",position:14,icon:"FileSearch",type:null,target:null,permission:"all",locale:"en",submenues:null}],pt:[{text:"Pagamentos",pathname:"/payments",position:3,icon:"ArrowsLeftRight",type:null,target:null,permission:"view_payment_transactions",locale:"pt",submenues:null},{text:"Início",pathname:"/",position:1,icon:"Monitor",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Insights",pathname:"/insights",position:2,icon:"ChartLine",type:null,target:null,permission:"access_actionable_payment_insights",locale:"pt",submenues:null},{text:"ASSISTÊNCIA",pathname:null,position:11,icon:"Monitor",type:"SUB_HEADER",target:null,permission:"all",locale:"pt",submenues:null},{text:"Risk conditions",pathname:"/risk-conditions",position:4,icon:"ShieldWarning",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Checkout builder",pathname:"/checkout-builder",position:9,icon:"ShoppingCart",type:null,target:null,permission:"view_your_checkout",locale:"pt",submenues:null},{text:"Programadores",pathname:"/developers",position:10,icon:"Code",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Links de pagamento",pathname:"/payment-links",position:5,icon:"LinkSimple",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Reconciliações",pathname:"/reconciliations",position:7,icon:"Swap",type:null,target:null,permission:"view_settlement_reports",locale:"pt",submenues:null},{text:"Auditoria",pathname:"/audit",position:14,icon:"FileSearch",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"API referência",pathname:"https://docs.y.uno/reference/introduction",position:13,icon:"TerminalWindow",type:null,target:"_blank",permission:"all",locale:"pt",submenues:null},{text:"Conexões",pathname:"/connections",position:6,icon:"BoundingBox",type:null,target:null,permission:"view_connections",locale:"pt",submenues:null},{text:"Roteamento",pathname:"/routing",position:8,icon:"TreeStructure",type:null,target:null,permission:"view_your_processing_routes",locale:"pt",submenues:null}],es:[{text:"Insights",pathname:"/insights",position:2,icon:"ChartLine",type:null,target:null,permission:"access_actionable_payment_insights",locale:"es",submenues:null},{text:"Inicio",pathname:"/",position:1,icon:"Monitor",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Pagos",pathname:"/payments",position:3,icon:"ArrowsLeftRight",type:null,target:null,permission:"view_payment_transactions",locale:"es",submenues:null},{text:"Ruteo",pathname:"/routing",position:8,icon:"TreeStructure",type:null,target:null,permission:"view_your_processing_routes",locale:"es",submenues:null},{text:"Checkout builder",pathname:"/checkout-builder",position:9,icon:"ShoppingCart",type:null,target:null,permission:"view_your_checkout",locale:"es",submenues:null},{text:"Desarrolladores",pathname:"/developers",position:10,icon:"Code",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Registros de auditoria",pathname:"/audit",position:14,icon:"FileSearch",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"ASISTENCIA",pathname:null,position:11,icon:"Monitor",type:"SUB_HEADER",target:null,permission:"all",locale:"es",submenues:null},{text:"Risk conditions",pathname:"/risk-conditions",position:4,icon:"ShieldWarning",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Documentación de la API",pathname:"https://docs.y.uno/reference/introduction",position:13,icon:"TerminalWindow",type:null,target:"_blank",permission:"all",locale:"es",submenues:null},{text:"Enlaces de pago",pathname:"/payment-links",position:5,icon:"LinkSimple",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Conexiones",pathname:"/connections",position:6,icon:"BoundingBox",type:null,target:null,permission:"view_connections",locale:"es",submenues:null},{text:"Conciliaciones",pathname:"/reconciliations",position:7,icon:"Swap",type:null,target:null,permission:"view_settlement_reports",locale:"es",submenues:null}]},gc=[{code:"en",name:"English (en)"},{code:"es",name:"Spanish (es)"},{code:"pt",name:"Portuguese (pt)"}],bc=new Uint8Array(16);function xc(){if(!ic&&!(ic="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ic(bc)}var kc=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var wc=[],Cc=0;Cc<256;++Cc)wc.push((Cc+256).toString(16).substr(1));function Ec(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(wc[e[t+0]]+wc[e[t+1]]+wc[e[t+2]]+wc[e[t+3]]+"-"+wc[e[t+4]]+wc[e[t+5]]+"-"+wc[e[t+6]]+wc[e[t+7]]+"-"+wc[e[t+8]]+wc[e[t+9]]+"-"+wc[e[t+10]]+wc[e[t+11]]+wc[e[t+12]]+wc[e[t+13]]+wc[e[t+14]]+wc[e[t+15]]).toLowerCase();if(!function(e){return"string"==typeof e&&kc.test(e)}(n))throw TypeError("Stringified UUID is invalid");return n}function _c(e,t,n){var o=(e=e||{}).random||(e.rng||xc)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var a=0;a<16;++a)t[n+a]=o[a];return t}return Ec(o)}var Sc=function(e){return{account_codes:e&&(null==e?void 0:e.length)>0?null==e?void 0:e.split(","):[]}},Rc=function(e){function r(t){var n=t?a(a({},ac),t):ac;return e.call(this,n)||this}return o(r,e),r.prototype.simulateAxiosError=function(){return new Promise((function(e,t){t({name:"AxiosError"})}))},r.prototype.updateReconciliationReportTemplate=function(e){var t=e.type===us.TRANSACTIONS?"TRANSACTIONS":e.type,n=a(a({},e),{type:t});return this.put("/v1/reconciliation/reports/templates",n)},r.prototype.createReconciliationReportTemplate=function(e){var t=e.type===us.TRANSACTIONS?"TRANSACTIONS":e.type,n=a(a({},e),{type:t});return this.post("/v1/reconciliation/reports/templates",n)},r.prototype.getReconciliationTransactions=function(e){var t=e.account_code;return delete e.account_code,this.post("v2/reconciliation/transactions",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},r.prototype.getReconciliationSettlements=function(e){var t=e.account_code;return delete e.account_code,this.post("/reconciliation/settlements",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},r.prototype.getReconciliationSettlementsHeader=function(e){var t=e.account_code;return delete e.account_code,this.post("/reconciliation/settlements/header",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},r.prototype.getReconciliationSettlementsBody=function(e){return this.get("/reconciliation/settlements/body",{params:e})},r.prototype.getReconciliationMetrics=function(e){var t=e.account_code;return delete e.account_code,this.post("/reconciliation/reports",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},r.prototype.getReconciliationFilters=function(){return this.get("/reconciliation/filters")},r.prototype.getReconciliationsReportColumns=function(e,t){return this.get("/v1/reconciliation/reports/columns/".concat(e,"/").concat(t))},r.prototype.getReconciliationReportTemplates=function(){return this.get("/v1/reconciliation/reports/templates")},r.prototype.getAllTableColumns=function(e){return this.get("/v1/reconciliation/table/".concat(e,"/columns"))},r.prototype.getReconciliationActive=function(){return this.get("/v1/reconciliation/status")},r.prototype.getReconciliationAlerts=function(e,t){return this.post("/reconciliation/alerts/list",e,{params:t})},r.prototype.postReconciliationAlert=function(e){return this.post("/reconciliation/alerts",e)},r.prototype.updateReconciliationAlert=function(e){return this.patch("/reconciliation/alerts",e)},r.prototype.deleteReconciliationAlert=function(e){return this.delete("/reconciliation/alerts",{params:e})},r.prototype.getReconciliationAgenda=function(e,t){return this.post("/reconciliation/agenda/list",e,{params:t})},r.prototype.getReconciliationAgendaInsightByKey=function(e,t){return this.post("/reconciliation/agenda/insights",e,{params:t})},r.prototype.getReconciliationSales=function(e,t){return this.post("/reconciliation/sales/list",e,{params:t})},r.prototype.getReconciliationAdvancements=function(e,t){return this.post("/reconciliation/advancements/list",e,{params:t})},r.prototype.getReconciliationFees=function(e,t){return this.post("/reconciliation/fees/list",e,{params:t})},r.prototype.getPayments=function(e){return this.get("/payments",{params:e})},r.prototype.postPaymentsLazy=function(e){var t=e.account_code;return delete e.account_code,e.start_date||(e=a(a({},e),{start_date:new Date})),e.end_date||(e=a(a({},e),{end_date:new Date})),this.post("/payments/lazy",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},r.prototype.postPayouts=function(e){var t=e.account_code;return delete e.account_code,e.start_date||(e=a(a({},e),{start_date:new Date})),e.end_date||(e=a(a({},e),{end_date:new Date})),this.post("/payouts",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},r.prototype.getPayoutsFilters=function(e){return this.get("/payouts/filters",{headers:{"x-organization-code":e}})},r.prototype.postPaymentsEvaluated=function(e){return delete e.account_code,e.start_date||(e=a(a({},e),{start_date:new Date})),e.end_date||(e=a(a({},e),{end_date:new Date})),this.post("/payments/evaluated",a({},e))},r.prototype.getPayment=function(e){return this.get("/payments/".concat(e.payment_code))},r.prototype.getPaymentV2=function(e){return this.get("/payments/v2/".concat(e))},r.prototype.getPaymentTransactions=function(e,t){return this.get("/payments/".concat(e,"/transactions"),{params:t})},r.prototype.getPaymentTransactionsLazy=function(e){return this.get("/payments/".concat(e,"/transactions/lazy"))},r.prototype.getTransactions=function(e){return this.get("/transactions",{params:e})},r.prototype.postTransactions=function(e){var t=e.account_code;return delete e.account_code,this.post("/v2/transactions",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},r.prototype.postFraudTransactions=function(e){var t=e.account_code;return delete e.account_code,this.post("/fraud-transactions",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},r.prototype.getPayoutDetails=function(e){var t={"x-organization-code":e.organization_code};return this.get("/payouts/detail/".concat(e.payout_code),{headers:t})},r.prototype.getPayoutTransactionDetails=function(e){var t={"x-organization-code":e.organization_code};return this.get("/payouts/".concat(e.payout_code,"/transaction/").concat(e.transaction_code,"/detail"),{headers:t})},r.prototype.getPayoutHistoryDetails=function(e,t){var n={"x-organization-code":t};return this.get("/payouts/".concat(e.payout_code,"/history"),{headers:n})},r.prototype.getPaymentMethodsByCountry=function(e,t){var n=e.provider_id,o=e.country,a=localStorage.getItem("x-organization-code"),i={"x-organization-code":t};return this.get("/organizations/provider-params/".concat(n,"/").concat(o),a?{}:{headers:i})},r.prototype.getOrgByName=function(e){return this.post("/organizations/get-by-name",{org_name:e})},r.prototype.createOperationTransaction=function(e,t,n,o){return this.post("/payments/".concat(n,"/transactions/").concat(t,"/").concat(o),e)},r.prototype.getPaymentMethodsByProvider=function(e){return this.get("/payments/payment-methods/provider/".concat(e.provider))},r.prototype.getPaymentMethodsAndProvidersActive=function(){return this.get("/payments/payment-methods/providers/active")},r.prototype.getPaymentMethodsAndProviders=function(){return this.get("/payments/payment-methods/providers")},r.prototype.useGetPaymentAndTrxStatuses=function(){return this.get("/payments/transaction/statuses")},r.prototype.getTransactionDetails=function(e){return this.get("/payments/".concat(e.payment_code,"/transactions/").concat(e.transaction_code))},r.prototype.getTransactionDetailsV2=function(e){return this.get("/payments/".concat(e.payment_code,"/transactions/details"),{params:{payment_code:e.payment_code,size:99}})},r.prototype.getTransactionRawResponse=function(e){return this.get("/transactions/".concat(e.transaction_code,"/raw-response"))},r.prototype.uploadChargebacks=function(e,t,n,o){return this.post("/chargebacks/upload-file/payment/".concat(t,"/transaction/").concat(n),e,{onUploadProgress:function(e){o(e.total?Math.round(100*e.loaded/e.total):0)},headers:{"x-account-code":null==e?void 0:e.account_id,"x-idempotency-key":_c()}})},r.prototype.getTransactionHistory=function(e){var t=e.transaction_code;return this.get("/transactions/".concat(t,"/history"))},r.prototype.getPaymentTransactionsDetails=function(e){var t=e.transaction_code;return this.get("/transactions/".concat(t,"/details"))},r.prototype.getTransactionHistoryByPaymentCode=function(e){var t=e.payment_code;return this.get("/transactions/by-payment/".concat(t,"/history"))},r.prototype.getDeveloperCredentials=function(e,t){return this.get("/v2/developers/credentials",{headers:{"x-password":e,"x-account-code":t}})},r.prototype.getDeveloperCredentialsValidatePassword=function(e){return this.get("/validate-password",{headers:{"x-password":e}})},r.prototype.getAllowedIps=function(){return this.get("/allowlist-ips")},r.prototype.patchAllowedIps=function(e){return this.patch("/allowlist-ips",e)},r.prototype.getOrganization=function(){return this.get("/organizations",{headers:{"x-organization-code":""}})},r.prototype.getAllOrganization=function(){return this.get("/organizations/all")},r.prototype.getProviderParams=function(e,t){var n,o=localStorage.getItem("x-organization-code"),a={"x-organization-code":o?null===(n=JSON.parse(o))||void 0===n?void 0:n.value:t};return this.get("/organizations/provider-params/".concat(e.id),{headers:a})},r.prototype.getIntegrationByAccount=function(e){var t=e.accountCode,n=e.organizationCode,o={"x-organization-code":n};return this.get("/organizations/account-integrations/".concat(t),n?{headers:o}:{})},r.prototype.getIntegrationByAccountV2=function(e){var t=e.accountCode,n={"x-organization-code":e.organizationCode,"x-account-code":t};return this.post("/connections/my-connections",{account_code:t},{headers:n})},r.prototype.putCosts=function(e){return t(this,void 0,void 0,(function(){return n(this,(function(t){return[2,this.put("/connections/costs",{costs:[e]})]}))}))},r.prototype.updateOrganizationStatus=function(){return t(this,void 0,void 0,(function(){return n(this,(function(e){return[2,this.patch("/organizations/status")]}))}))},r.prototype.getIntegrationParams=function(e){var t=e.integration_code;return this.get("/connections/integration-params/".concat(t))},r.prototype.getConnectionsByPaymentMethod=function(e,o){return t(this,void 0,void 0,(function(){return n(this,(function(t){return[2,this.get("/organizations/connections/".concat(e,"/").concat(o))]}))}))},r.prototype.getHashPylon=function(){return this.get("/pylon-hash")},r.prototype.getConnections=function(){return this.get("/connections")},r.prototype.postValidateStatusConnection=function(e){var t=e.payload,n={"x-account-code":e.accountCode};return this.post("/connections/validate-status",t,{headers:n})},r.prototype.postChangeStatusConnection=function(e){var t=e.payload,n=e.accountCode,o="/connections/change-status";if(t.status==cc)return delete t.status,this.delete(o,{data:t});Object.values(rc).includes(null==t?void 0:t.status)&&(o="".concat(o,"/").concat(sc[t.status]),delete t.status);var a={"x-account-code":n};return this.post(o,t,{headers:a})},r.prototype.postConnection=function(e){var t=e.payload,n=e.accountCode;return this.post("/connections/create/".concat(n),t)},r.prototype.postMultiConnection=function(e){var t=e.payload;return this.post("/connections/multi-accounts",t)},r.prototype.postMultiConnectionValidate=function(){return this.get("/connection/valid-accounts")},r.prototype.newPostConnection=function(e){var t=e.payload,n=e.accountCode;return this.post("/connections/v3/".concat(n),t)},r.prototype.patchConnection=function(e){var t,n=e.payload,o=e.connectionCode,i=localStorage.getItem("account"),r=i?null===(t=JSON.parse(i).value)||void 0===t?void 0:t.code:"";return this.patch("/connections/".concat(o),a({account_code:r},n))},r.prototype.deleteConnection=function(e){return this.delete("/connections/".concat(e))},r.prototype.postArchiveConnection=function(e){var t=e.payload,n=e.connectionCode;return this.post("/connections/archive/".concat(n),t)},r.prototype.postDefaultRoutes=function(e){var t=e.payload;return this.post("/connections/default-routes",t)},r.prototype.getDialogs=function(){return this.get("/dialogs")},r.prototype.getWebhookParams=function(){return this.get("/accounts/webhooks/params-catalog")},r.prototype.getWebhooks=function(e){var t=e.accountCode;return this.get("/accounts/webhooks/".concat(t))},r.prototype.postWebhook=function(e){var t=e.payload,n=e.accountCode;return this.post("/accounts/webhooks/".concat(n),t)},r.prototype.deleteWebhook=function(e){return this.delete("/accounts/webhooks/".concat(e))},r.prototype.updateWebhook=function(e,t){return this.patch("/accounts/webhooks/".concat(e),t)},r.prototype.getWebhookParamsV2=function(){return this.get("/accounts/webhooks-v2/params-catalog")},r.prototype.getWebhooksV2=function(e){var t=e.accountCode;return this.get("/accounts/webhooks-v2/".concat(t))},r.prototype.getWebhooksV3=function(e){var t=e.accountCode,n=e.name;return this.post("/accounts/webhooks-v2/search",{name:n},{headers:{"x-account-code":t}})},r.prototype.getWebhooksV2Detail=function(e){var t=e.accountCode;return this.get("/accounts/webhooks-v2/detail/".concat(t))},r.prototype.postWebhookV2=function(e){var t=e.payload,n=e.accountCode;return this.post("/accounts/webhooks-v2/".concat(n),t)},r.prototype.postWebhookV2MultiAccount=function(e){var t=e.payload;return this.post("/accounts/webhooks/multi-account",t)},r.prototype.deleteWebhookV2=function(e,t){return this.delete("/accounts/webhooks-v2/".concat(e,"/").concat(t))},r.prototype.updateWebhookV2=function(e,t,n){return this.patch("/accounts/webhooks-v2/".concat(e,"/").concat(n),t)},r.prototype.getMenu=function(){return this.get("/cms/menu")},r.prototype.useGetPaymentStatusesStyles=function(){return this.get("/cms/payment/statuses")},r.prototype.useGetTransactionStatusesStyles=function(){return this.get("/cms/transaction/statuses")},r.prototype.useGetReconciliationTransactionStatusesStyles=function(){return this.get("/cms/reconciliation/transaction/statuses")},r.prototype.useGetCountriesConfig=function(){return this.get("/country-data-api/v1/config")},r.prototype.useGetTimeZoneCatalog=function(){return this.get("/cms/timezone/catalog")},r.prototype.useGetAuditLogsFilters=function(){return this.get("/cms/audit-logs-filters")},r.prototype.getDashboardStaticContents=function(){return this.get("/cms/static-contents")},r.prototype.getLocales=function(){return this.get("/cms/locales")},r.prototype.getSmartRoutingMethods=function(e){return this.get("/smart-routing/methods/".concat(e))},r.prototype.putSmartRoutingToggleMethod=function(e,t,n){return this.put("/smart-routing/methods/".concat(e,"/").concat(t),{active:n})},r.prototype.getSmartRoutingConditionTypes=function(e,t){return this.get("/smart-routing/condition-types/".concat(e,"/").concat(t))},r.prototype.getSmartRoutingConditionPaymentMethod=function(e,t){var n={"x-account-code":e};return this.get("/smart-routing/payment-methods/".concat(t,"/conditions"),{headers:n})},r.prototype.getSmartRoutingConditionTypesValues=function(e,t){return this.get("/smart-routing/condition-types-values/".concat(e,"/").concat(t))},r.prototype.getSmartRoutingNextSteps=function(e,t,n){return this.get("/smart-routing/next-route/".concat(e,"/").concat(t,"/").concat(n))},r.prototype.getSmartRoutingWorkflowVersion=function(e,t){return this.get("/smart-routing/workflow-version/".concat(e,"/").concat(t))},r.prototype.getSmartRoutingWorkflow=function(e,t){return this.get("/smart-routing/workflow/".concat(e,"/").concat(t))},r.prototype.putSmartRoutingUpdateWorkflow=function(e,t){return this.put("/smart-routing/update-workflow/".concat(e),t)},r.prototype.putSmartRoutingUpdateWorkflowName=function(e,t){return this.put("/smart-routing/workflow/".concat(e,"/edit-name"),t)},r.prototype.postSmartRoutingCreateWorkflow=function(e,t){return this.post("/smart-routing/create-workflow/".concat(e),t)},r.prototype.postSmartRoutingPublishVersion=function(e,t,n){var o={"x-organization-code":n};return this.post("/smart-routing/publish-version/".concat(e,"/").concat(t),{},{headers:o})},r.prototype.postSmartRoutingValidateConnection=function(e){return this.post("/smart-routing/connections/".concat(e))},r.prototype.deleteSmartRoutingVersion=function(e,t){return this.delete("/smart-routing/delete-version/".concat(e,"/").concat(t))},r.prototype.postSmartRoutingDuplicateVersion=function(e,t){return this.post("/smart-routing/duplicate-version/".concat(e,"/").concat(t))},r.prototype.getSmartRoutingDeclinedGroup=function(e){return this.get("/smart-routing/declined-groups/".concat(e))},r.prototype.updateSmartRoutingDeclinedGroup=function(e,t,n){return this.put("/smart-routing/declined-groups/".concat(e,"/").concat(t),n)},r.prototype.createSmartRoutingDeclinedGroup=function(e,t){return this.post("/smart-routing/declined-groups/".concat(e),t)},r.prototype.getSmartRoutingTutorial=function(e){return this.get("/smart-routing/tutorial/".concat(e))},r.prototype.updateSmartRoutingTutorial=function(e,t){return this.put("/smart-routing/tutorial/".concat(e,"/").concat(t),{})},r.prototype.getSmartRoutingPaymentRoute=function(e,t){return this.get("/smart-routing/payment-route/".concat(e,"/").concat(t))},r.prototype.updateSmartRoutingFavorite=function(e,t,n){return this.put("/smart-routing/favorite/".concat(e,"/").concat(t),{favorite:n})},r.prototype.getSmartRoutingSimulateConditionTypeValues=function(e){return this.get("/smart-routing/condition-types-values-list/".concat(e))},r.prototype.simulateSmartRoutingTransaction=function(e,t,n){return this.post("/smart-routing/simulate-transaction/".concat(e,"/").concat(t),n)},r.prototype.getSmartRoutingSearchConditionValues=function(e,t){return this.get("/smart-routing/search-condition-values/".concat(e,"/").concat(t))},r.prototype.getProviderConversionRatesData=function(){return this.get("/smart-routing/conversion-rates/all")},r.prototype.updateMonitorRedistribution=function(e,t){var n={"x-organization-code":e};return this.post("/smart-routing/monitor-redistribution",t,{headers:n})},r.prototype.removeDeclinedGroup=function(e,t){var n={"x-organization-code":e};return this.delete("/smart-routing/declined-groups/".concat(t),{headers:n})},r.prototype.multiAccountDeclinedGroupCreate=function(e,t){var n={"x-organization-code":e};return this.post("/smart-routing/declined-groups/massive/create",t,{headers:n})},r.prototype.generateAIWorkflowRoutes=function(e,t){var n={"x-organization-code":e};return this.post("/ai/generate-route",t,{headers:n})},r.prototype.getRoutingMonitorsTemplates=function(e){var t={"x-organization-code":e};return this.get("/routing-monitor/templates",{headers:t})},r.prototype.getRoutingMonitorsTemplate=function(e,t){var n={"x-organization-code":t};return this.get("/routing-monitor/template/".concat(e),{headers:n})},r.prototype.createMonitorThreshold=function(e,t){var n={"x-organization-code":t};return this.post("/routing-monitor/threshold",e,{headers:n})},r.prototype.createMonitorTemplate=function(e,t){var n={"x-organization-code":t};return this.post("/routing-monitor/template",e,{headers:n})},r.prototype.getSmartRoutingDataReport=function(e){return this.get("/data-report",{params:e})},r.prototype.getDashboardInsights=function(e){return this.get("/data-report/dashboard/insights",{params:e})},r.prototype.getInsightsMetricsConversionRate=function(e){var t=e.account_code;return delete e.account_code,this.post("/insights/conversion-rate/metrics",Sc(t),{params:e})},r.prototype.getInsightsMetricsConversionRateV2=function(e,t){var n=e.account_code,o=e.connection_name,a=Sc(n);return o&&(a.connection_name=o.split(","),delete e.connection_name),delete e.account_code,this.post("/insights/conversion-rate/".concat(t),a,{params:e})},r.prototype.getInsightsMetricsConversionRateViewMore=function(e,t){var n=e.account_code;return delete e.account_code,this.post("/insights/conversion-rate/cards/metrics/".concat(t),Sc(n),{params:e})},r.prototype.getInsightFallbackMetrics=function(e){var t=e.account_code;return delete e.account_code,this.post("/insights/conversion-rate/fallback",Sc(t),{params:e})},r.prototype.getInsightsMetricsVolume=function(e,t){var n,o={account_codes:(null==e?void 0:e.length)?null==e?void 0:e.split(","):[]};return t.connection_name&&(o=a(a({},o),{connection_name:null===(n=t.connection_name)||void 0===n?void 0:n.split(",")}),delete t.connection_name),this.post("/insights/volume/metrics",o,{params:t})},r.prototype.getInsightsMetricsVolumeV2=function(e,t,n){var o,i={account_codes:(null==e?void 0:e.length)?null==e?void 0:e.split(","):[]};return n.connection_name&&(i=a(a({},i),{connection_name:null===(o=n.connection_name)||void 0===o?void 0:o.split(",")}),delete n.connection_name),this.post("/insights/volume/".concat(t),i,{params:n})},r.prototype.getInsightsFraudScreeningVolumeAndCountTx=function(e,t){return this.post("/insights/fraud-screening/volume-and-count-tx",e,{params:t})},r.prototype.getInsightsFraudScreeningConversionRate=function(e,t){return this.post("/insights/fraud-screening/conversion-rate",e,{params:t})},r.prototype.getInsights3dsVolumeAndCountTx=function(e,t){return this.post("/insights/3ds/volume-and-count-tx",e,{params:t})},r.prototype.getInsights3dsConversionRateAndEvolution=function(e,t){return this.post("/insights/3ds/conversion-rate-and-evolution",e,{params:t})},r.prototype.getInsights3dsDeclineReasons=function(e,t){return this.post("/insights/3ds/decline-reasons",e,{params:t})},r.prototype.getInsights3dsFrictionlessVsChallenge=function(e,t){return this.post("/insights/3ds/frictionless-vs-challenge",e,{params:t})},r.prototype.getInsightsChargebacksVolumeAndCountTx=function(e,t){return this.post("/insights/chargebacks/volume-and-count-tx",e,{params:t})},r.prototype.getInsightsChargebacksWinRate=function(e,t){return this.post("/insights/chargebacks/win-rate",e,{params:t})},r.prototype.getInsightsChargebacksDisputed=function(e,t){return this.post("/insights/chargebacks/disputed",e,{params:t})},r.prototype.getInsightsChargebacksByProviderAndCardBrand=function(e,t){return this.post("/insights/chargebacks/by-provider-and-card-brand",e,{params:t})},r.prototype.getInsightsChargebacksReasonsDistribution=function(e,t){return this.post("/insights/chargebacks/reasons-distribution",e,{params:t})},r.prototype.getInsightsChargebacksStatusDistribution=function(e,t){return this.post("/insights/chargebacks/status-distribution",e,{params:t})},r.prototype.getInsightsChargebacksByCardBrand=function(e,t){return this.post("/insights/chargebacks/by-card-brand",e,{params:t})},r.prototype.getInsightOverview=function(e){var t=e.account_code,n=e.connection_name,o=Sc(t);return n&&(o=a(a({},o),{connection_name:null==n?void 0:n.split(",")}),delete e.connection_name),delete e.account_code,this.post("/insights/overview",o,{params:e})},r.prototype.getInsightOverviewV3=function(e,t){var n=e.account_code,o=e.connection_name,i=Sc(n);return o&&(i=a(a({},i),{connection_name:null==o?void 0:o.split(",")}),delete e.connection_name),delete e.account_code,this.post("/insights/overview/".concat(t),i,{params:e})},r.prototype.getInsighstHomeMetrics=function(e){return this.post("/insights/dashboard-home-metrics",e)},r.prototype.getInsightsMetricsTotalPaymentsAndFraud=function(e,t){return this.post("/insights/payments-and-fraud/payments",{account_codes:(null==e?void 0:e.length)?null==e?void 0:e.split(","):[]},{params:t})},r.prototype.getInsightsMetricsCustomerPaymentsAndFraud=function(e,t){return this.post("/insights/payments-and-fraud/customer",{account_codes:(null==e?void 0:e.length)?null==e?void 0:e.split(","):[]},{params:t})},r.prototype.getCheckouts=function(e){var t=e.accountCode;return this.get("/checkouts/".concat(t))},r.prototype.getCheckoutTemplate=function(e){var t=e.accountCode;return this.get("/v2/checkouts/template/".concat(t))},r.prototype.getNameAndIcon=function(e){var t=e.paymentMethodType,n=e.type;return this.get("/checkouts/payment-methods/".concat(t,"/icon-name?type=").concat(n))},r.prototype.getRequiredFields=function(e){var t=e.paymentMethodType,n=e.type;return this.get("/checkouts/payment-methods/".concat(t,"/required-fields?type=").concat(n))},r.prototype.updateCheckoutTemplate=function(e){var t=e.accountCode,n=e.template;return this.post("/v2/checkouts/template",{account_code:t,template:n})},r.prototype.updateIsActivePaymentMethod=function(e,t){return this.patch("/checkouts/payment-methods",{checkoutCode:e,paymentMethods:t})},r.prototype.updateIsActiveCheckout=function(e){var t,n=localStorage.getItem("account"),o=n?null===(t=JSON.parse(n).value)||void 0===t?void 0:t.code:"";return this.patch("/checkouts/publish",e,{headers:{"x-account-code":o}})},r.prototype.getStylingTheme=function(e){var t={"x-account-code":e.accountCode};return this.get("/checkouts/styling/theme",{headers:t})},r.prototype.updateStylingTheme=function(e){var t=e.accountCode,n=e.theme,o={"x-account-code":t};return this.patch("/checkouts/styling/theme",n,{headers:o})},r.prototype.getStylingSettings=function(e){var t={"x-account-code":e.accountCode};return this.get("/checkout/settings",{headers:t})},r.prototype.changePassword=function(e){return this.patch("/user/change-password/".concat(e.user_id),a({},e.payload))},r.prototype.emailVerification=function(e){return this.get("/user/email-verification/".concat(e))},r.prototype.createReport=function(e){return this.post("/reports/create",e)},r.prototype.createReconciliationsReportV2=function(e){return this.post("/v2/reports/create",e)},r.prototype.createReportV2=function(e){return this.post("/reports",e)},r.prototype.getTotalRowsForExport=function(e){return this.post("/reports/count",e)},r.prototype.reportsList=function(){return this.get("/reports")},r.prototype.reportsListMultiEnv=function(){return this.get("/reports/multi-environment")},r.prototype.downloadReports=function(e){return this.get("/reports-redirect/".concat(e))},r.prototype.cancelReport=function(e){return this.patch("/reports/".concat(e))},r.prototype.getReportTemplates=function(){return this.get("/reports/templates")},r.prototype.createReportTemplate=function(e){return this.post("/reports/templates",e)},r.prototype.updateReportTemplate=function(e){return this.put("/reports/templates",e)},r.prototype.getReportColumns=function(e,t){return this.get("/reports/columns/".concat(e,"/").concat(t))},r.prototype.getRefundPdf=function(e,t){var n={"x-organization-code":t};return this.get("/refund-pdf/".concat(e),{headers:n})},r.prototype.getProofOfCancel=function(e,t){var n={"x-organization-code":t};return this.get("/transactions/".concat(e,"/proof-of-cancel"),{headers:n})},r.prototype.getScheduledReport=function(e){return this.get("/scheduled-reports?reportType=".concat(e))},r.prototype.postScheduledReport=function(e){return this.post("/scheduled-reports",e)},r.prototype.updateScheduledReport=function(e,t){return this.patch("/scheduled-reports/".concat(e),t)},r.prototype.deleteScheduledReport=function(e){return this.delete("/scheduled-reports/".concat(e))},r.prototype.getProfile=function(){return this.get("/user")},r.prototype.updateProfile=function(e){return this.patch("/user",e)},r.prototype.inviteUsers=function(e){return this.post("/user/invite",e)},r.prototype.inviteUsersV2=function(e,t){var n={"x-organization-code":t};return this.post("v2/user/invite",e,{headers:n})},r.prototype.inviteUsersMassive=function(e,t){var n={"x-organization-code":t};return this.post("user/invite/massive",e,{headers:n})},r.prototype.unInviteUsers=function(e){var t=e.userCode;return this.delete("/user/uninvite/".concat(t))},r.prototype.unInviteUsersV2=function(e){var t=e.userCode,n={"x-organization-code":e.organizationCode};return this.delete("/v2/user/uninvite/".concat(t),{headers:n})},r.prototype.getAccounts=function(e){var t={"x-organization-code":e};return this.get("/accounts-user",{headers:t})},r.prototype.getAccountsV2=function(){return this.get("/accounts-user")},r.prototype.getAccountsByUser=function(e){return this.get("/accounts-user/user/".concat(e))},r.prototype.putAccountsUser=function(e,t,n){var o={"x-organization-code":e,"x-user-code":t};return this.put("/accounts-user/role",n,{headers:o})},r.prototype.putAccountsUserMassive=function(e,t,n){var o={"x-organization-code":e};return this.put("/accounts-user/role/massive/user/".concat(t),n,{headers:o})},r.prototype.deleteAccountsUserMassive=function(e,t,n){var o={"x-organization-code":e};return this.delete("/accounts-user/role/massive/user/".concat(t),{data:n,headers:o})},r.prototype.postAccount=function(e,t){return this.post("/accounts",{name:e,principal:t})},r.prototype.patchAccount=function(e){var t=e.name,n=e.code,o=e.principal;return this.patch("/accounts/".concat(n),{name:t,principal:o})},r.prototype.patchAccountV2=function(e){var t=e.name,n=e.code,o=e.principal;return this.patch("/accounts/with-principal",{name:t,principal:o},{headers:{"x-account-code":n}})},r.prototype.putAccountPrincipal=function(e){var t=e.account_code;return this.put("/user-accounts/principal",{account_code:t})},r.prototype.createNotificacion=function(e){return this.post("/notifications",e)},r.prototype.getMergedNotifications=function(){return this.get("/notifications-all")},r.prototype.getNotificationsCustomer=function(e){return this.get("/notifications/".concat(e))},r.prototype.getValidateOpsgenieKey=function(e){return this.get("/notifications/opsgenie/validate/".concat(e))},r.prototype.getNotificationsAccount=function(e){return this.get("/notifications/".concat(e))},r.prototype.getNotification=function(){return this.patch("/notifications")},r.prototype.postSlackMessageChannel=function(e){return this.post("/slack-channel-message",e)},r.prototype.pathNotification=function(e){return this.patch("/notifications",e)},r.prototype.getNotificationsNumber=function(e){return this.get("/notifications/".concat(e,"/number"))},r.prototype.getMembers=function(e){var t={"x-organization-code":e};return this.get("/teams",e&&{headers:t})},r.prototype.getMembersV3=function(e){var t={"x-organization-code":e.organizationCode};return this.get("/v3/teams",{headers:t})},r.prototype.teamsFiltersMembers=function(e){var t={"x-organization-code":e.organizationCode};return this.get("/teams/filters/members",{headers:t})},r.prototype.getMembersV4=function(e){var t=e.organizationCode,n=e.accountCodes,o={"x-organization-code":t};return this.get("/v4/teams?accountCodes=".concat(n),{headers:o})},r.prototype.postMembersV4=function(e){var t=e.organizationCode,n=e.accountCodes,o={"x-organization-code":t};return this.post("/v4/teams",{account_codes:n},{headers:o})},r.prototype.postMembersPaginated=function(e){var t=e.organizationCode,n=e.accountCodes,o=e.page,a=e.pageSize,i={"x-organization-code":t};return this.post("/teams/paginated",{account_codes:n,page:o,page_size:a},{headers:i})},r.prototype.postMembersPaginatedV2=function(e){var t=e.organizationCode,n=e.accountCodes,o=e.email,a=e.page,i=e.pageSize,r={"x-organization-code":t};return this.post("/teams/paginated",{account_codes:n,email:o,page:a,page_size:i},{headers:r})},r.prototype.getRoles=function(){return this.get("/teams/roles")},r.prototype.setRoles=function(e){return this.patch("/teams",e)},r.prototype.setCustodian=function(){return this.post("/teams/custodian")},r.prototype.deleteUserTeam=function(e){var t=e.userCode;return this.delete("/teams/".concat(t))},r.prototype.deleteUserTeamV2=function(e){var t=e.userCode,n={"x-organization-code":e.organizationCode};return this.delete("/v2/teams/".concat(t),{headers:n})},r.prototype.createRoles=function(e,t){return this.post("/teams/roles",e,{headers:{"x-account-code":t}})},r.prototype.editRoles=function(e,t){var n=e.payload,o=e.id;return this.patch("/teams/roles/".concat(o),n,{headers:{"x-account-code":t}})},r.prototype.deleteRoles=function(e){return this.delete("/teams/roles/".concat(e))},r.prototype.getRolesPermissions=function(){return this.get("/teams/permissions")},r.prototype.getFeatureFlagId=function(e){var t=e.name,n=i(e,["name"]);return this.post("/feature-flags/evaluate",{name:t,parameters:n})},r.prototype.getFeatureFlagIdAll=function(e){var o=e.names,a=e.body;return t(this,void 0,void 0,(function(){var e,t,i,r=this;return n(this,(function(n){switch(n.label){case 0:e=o.map((function(e){var t={name:e,parameters:a};return r.post("/feature-flags/evaluate",t)})),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,Promise.all(e)];case 2:return t=n.sent(),i={},t.forEach((function(e,t){var n=o[t];i[n]=e.data.result})),[2,{data:i,status:200,statusText:"OK",headers:{},config:{}}];case 3:throw n.sent();case 4:return[2]}}))}))},r.prototype.getPermissionsCatalog=function(){return this.get("/teams/permissions-catalog")},r.prototype.changePasswordV2=function(e){return this.patch("/user/change-password-profile",e)},r.prototype.getCardBrands=function(){return this.get("/catalog/card-brands")},r.prototype.getPaymentFilters=function(){return this.get("/payments/filters")},r.prototype.getPaymentMetricsFilters=function(){return this.get("/payments/metrics/filters")},r.prototype.sendPaymentNotification=function(e,t){return this.post("/payments/".concat(e.paymentCode,"/transactions/").concat(e.transactionCode,"/settle"),t)},r.prototype.postAuditMonitors=function(e){return this.post("/routing-monitor/audit",e)},r.prototype.getAuditMonitorDetail=function(e){return this.get("/routing-monitor/audit-monitors-details/".concat(e))},r.prototype.getAuditEvents=function(e){return this.post("v2/events/organization?time_zone=".concat(null==e?void 0:e.time_zone,"&now=").concat(null==e?void 0:e.now,"&page=").concat(null==e?void 0:e.page,"&size=").concat(null==e?void 0:e.size,"&periodicity=").concat(e.periodicity,"&event=").concat(e.event,"&source=").concat(e.source,"&search=").concat(e.search,"&start_date=").concat(e.start_date,"&end_date=").concat(e.end_date),{account_codes:null==e?void 0:e.account_code})},r.prototype.getPaymentLinks=function(e,t){return this.get("/v2/payment-links/".concat(t),{params:e})},r.prototype.getPaymentLinksByCode=function(e){return this.get("/v2/payment-links/by-code/".concat(e))},r.prototype.postPaymentLinks=function(e){var t=e.payload,n=e.accountCode;return this.post("/v2/payment-links/".concat(n),t)},r.prototype.patchPaymentLinks=function(e){var t=e.payload,n=e.accountCode,o=e.paymentLinkCode;return this.patch("/v2/payment-links/".concat(n,"/").concat(o),t)},r.prototype.postCreateProducts=function(e){var t=e.payload;return this.post("/v2/catalog/products",t)},r.prototype.postDeletePaymentLink=function(e){var t=e.code;return this.post("/v2/payment-links/cancel/".concat(t))},r.prototype.getProductsByAccount=function(e){var t=e.accountCode;return this.get("/v2/catalog/products/account/".concat(t))},r.prototype.getPaymentsByPaymentLink=function(e,t){return this.get("/payments",{params:e,headers:{"x-organization-code":t}})},r.prototype.getTimezone=function(e){return this.get("/cms/timezone/catalog",{headers:{"x-organization-code":e}})},r.prototype.firebaseUserSubscribe=function(e){return this.post("/firebase/user/subscribe",e)},r.prototype.postUserSettings=function(e){return this.patch("/user-settings",e)},r.prototype.postUserSettingsTables=function(e,t){return this.patch("/user-settings/".concat(t),e)},r.prototype.postUserSettingsPinned=function(e){return this.patch("/user-settings/pinned_sections",e)},r.prototype.postUserThemeSettings=function(e){return this.patch("/user-settings/theme",e)},r.prototype.getMfaTokenValidation=function(e,t){return this.post("/mfa/token",{password:e,otp_input:t,user_code:""})},r.prototype.getMfaToken=function(e){return this.post("/mfa/token",{password:e})},r.prototype.getEmailOtp=function(){return this.post("/mfa/send-otp",{})},r.prototype.validateOtp=function(e){return this.post("/mfa/confirm/otp",{otp:e})},r.prototype.confirmMfaOtp=function(e){return this.post("/mfa/confirm/otp",e)},r.prototype.confirmOtp=function(e){return this.post("/mfa/confirm/otp",e)},r.prototype.unrollMfa=function(e){return this.post("/mfa/unroll/otp",{password:e})},r.prototype.sendOTPForMFA=function(){return this.post("/mfa/send-otp")},r.prototype.getMFAStatus=function(){return this.get("/mfa/status")},r.prototype.postValidatePassword=function(e){return this.post("/mfa/validate/password",{password:e})},r.prototype.getConfigAllowlist=function(e){var t={"x-account-code":e};return this.get("/yuno-fraud-screening-int/allow-lists/config",{headers:t})},r.prototype.getBlackListType=function(e){var t={"x-account-code":e};return this.get("/blacklist",{headers:t})},r.prototype.postBlockList=function(e,t,n,o){var a={name:t,account_codes:e,page:n,size:o};return this.post("/blacklist",a)},r.prototype.getOneBlackListType=function(e){return this.get("/blacklist/get-one/".concat(e))},r.prototype.getBlackListSummary=function(e,t){return void 0===t&&(t=null),this.get("/blacklist/get-one/".concat(e,"/summary"),t?{headers:{"x-account-code":t}}:{})},r.prototype.getBlacklistDetail=function(e,t,n,o,a){void 0===n&&(n=26),void 0===o&&(o=null),void 0===a&&(a=null);var i="/blacklist/get-one/".concat(e,"/detail?offset=").concat(t,"&limit=").concat(n);return a&&(null==a?void 0:a.length)>0&&(i+="&search=".concat(a)),this.get(i,o?{headers:{"x-account-code":o}}:{})},r.prototype.getAllowlistDetail=function(e,t){return void 0===t&&(t=null),this.get("/yuno-fraud-screening-int/allow-lists/".concat(e),t?{headers:{"x-account-code":t}}:{})},r.prototype.postAllowlistItems=function(e){var t=e.payload;return this.post("yuno-fraud-screening-int/allow-lists/".concat(t.code,"/items/pageable"),t,t.account&&{headers:{"x-account-code":t.account}})},r.prototype.postGetAllowlist=function(e){var t=e.payload;return this.post("/yuno-fraud-screening-int/allow-lists/pageable",t)},r.prototype.postCreateAllowlistMultiAccount=function(e){var t=e.payload;return this.post("/yuno-fraud-screening-int/allow-lists/massive",t)},r.prototype.patchChangeStatusAllowlist=function(e){var t=e.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(t.code),{active:t.active},(null==t?void 0:t.account)&&{headers:{"x-account-code":null==t?void 0:t.account}})},r.prototype.patchChangeStatusAllowlistItem=function(e){var t=e.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code,"/items/").concat(t.item_allowlist_code),{active:t.active})},r.prototype.patchAddAllowlistItems=function(e){var t=e.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code,"/items"),t,t.account&&{headers:{"x-account-code":t.account}})},r.prototype.deleteAllowlistItem=function(e){var t=e.payload,n={"x-account-code":t.account_code};return this.delete("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code,"/items/").concat(t.allowlist_item_id),{headers:n})},r.prototype.validateAllowlistItems=function(e){var t=e.payload;return this.post("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code,"/validate/duplicate-items"),t,{headers:{"x-account-code":t.account_code}})},r.prototype.patchAllowlist=function(e){var t=e.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code),t,t.account&&{headers:{"x-account-code":t.account}})},r.prototype.postBlackListMultiAccount=function(e){var t=e.payload;return this.post("/blacklist/create/multi-account",t,t.account&&{headers:{"x-account-code":t.account}})},r.prototype.postBlackListType=function(e){var t=e.payload;return this.post("/blacklist/create",t,t.account&&{headers:{"x-account-code":t.account}})},r.prototype.putBlackListType=function(e){return this.put("/blacklist/edit",e)},r.prototype.changeBlackListStatus=function(e){return this.put("/blacklist/change-status",e)},r.prototype.changeBlackListStatusItem=function(e){return this.put("/blacklist/change-item-status",e)},r.prototype.postBlackListItems=function(e){var t=e.payload;return this.post("/blacklist/items",t)},r.prototype.postBlackListBatch=function(e){var t=e.blacklist_code,n=e.expiration_days,o=e.file,a=e.handleSetProgress;return this.post("/blacklist/create-batch/".concat(t),{expiration_days:n,file:o},{onUploadProgress:function(e){a(e.total?Math.round(100*e.loaded/e.total):0)}})},r.prototype.deleteBlackListType=function(e){var t=e.black_list_code;return this.delete("/blacklist/delete/".concat(t))},r.prototype.deleteBlockListItem=function(e){var t=e.blocklist_code,n=e.blocklist_item_id,o=e.account_code;return this.delete("/blacklist/".concat(t,"/items/").concat(n),{headers:{"x-account-code":o}})},r.prototype.valiateBlockListItems=function(e){var t=e.payload;return this.post("/blacklist/".concat(t.blocklist_code,"/validate/duplicate-items"),t,{headers:{"x-account-code":t.account_code}})},r.prototype.getGeographicCoordinates=function(e){var t=e.params;return this.get("/coordinates",{params:t})},r.prototype.deleteBlackListItem=function(e){var t=e.black_list_code,n=e.account_code,o=e.item;return this.delete("/blacklist/delete/item/".concat(n,"/").concat(t,"?item=").concat(o))},r.prototype.getVelocityRules=function(e){return this.post("/yuno-fraud-screening-int/velocity-rules-list",a({},e))},r.prototype.postChangePaymentsWebhook=function(e){var t=e.status,n=e.paymentCode;return this.post("/yuno-fraud-screening-int/payments/webhook",{status:t,payment_code:n})},r.prototype.uploadFileS3ClientBatchRefunds=function(e){var t=e.payload,n=e.handleSetProgress,o=this.getCancelTokenSource();return{promise:this.post("/batch-refunds/upload-s3-file",t,{onUploadProgress:function(e){return null==n?void 0:n(e.total?Math.round(100*e.loaded/e.total):0)},cancelToken:o.token}),cancel:function(){return o.cancel()}}},r.prototype.uploadFileS3ClientChargeBacks=function(e){var t=e.payload,n=e.handleSetProgress,o=this.getCancelTokenSource();return{promise:this.post("/chargebacks/upload-s3-file",t,{cancelToken:o.token,onUploadProgress:function(e){null==n||n(e.total?Math.round(100*e.loaded/e.total):0)}}),cancel:function(){return o.cancel()}}},r.prototype.batchRefundByFile=function(e){var t=e.payload;return this.post("/batch-refund-by-file",a({},t))},r.prototype.uploadBatchRefundsV2=function(e){var t=e.payload;return this.post("/batch-refunds",a({},t))},r.prototype.uploadBatchRefunds=function(e){var t=e.payload,n=e.handleSetProgress;return this.post("/batch-refunds",a({},t),{onUploadProgress:function(e){n(e.total?Math.round(100*e.loaded/e.total):0)}})},r.prototype.getBatchRefunds=function(e,t){return this.get("/batch-refunds?limit=".concat(e,"&offset=").concat(t))},r.prototype.getBatchRefundProcessedFileDownload=function(e,t,n){var o={"x-organization-code":t,"x-account-code":n};return this.get("/batch-refunds/".concat(e,"/processed-file-download"),{headers:o})},r.prototype.getBatchRefundUserFileDownload=function(e,t,n){var o={"x-organization-code":t,"x-account-code":n};return this.get("/batch-refunds/".concat(e,"/user-file-download"),{headers:o})},r.prototype.getMFAConfig=function(e){var t={"x-organization-code":e.organizationCode};return this.get("/organization-settings/mfa/config",{headers:t})},r.prototype.getMFAExcludedUsers=function(e){var t={"x-organization-code":e.organizationCode};return this.get("/organization-settings/mfa/excluded-users",{headers:t})},r.prototype.getMFAEnforcementStatus=function(){return this.get("/mfa/enforcement-status")},r.prototype.updateMFAConfig=function(e,t){return this.post("/organization-settings/mfa/config",e,{headers:{"x-organization-code":t}})},r.prototype.mfaExcludeUsers=function(e,t){return this.post("/organization-settings/mfa/exclude-users",e,{headers:{"x-organization-code":t}})},r.prototype.getAllConfigRules=function(){return this.get("/yuno-fraud-screening-int/velocity-rules/config/all")},r.prototype.getConditionalConfigRules=function(e){return this.get("/yuno-fraud-screening-int/velocity-rules/config/conditional/".concat(e))},r.prototype.getRule=function(e){return this.get("/yuno-fraud-screening-int/velocity-rules/".concat(e.idRule),(null==e?void 0:e.accountCode)&&{headers:{"x-account-code":null==e?void 0:e.accountCode}})},r.prototype.postCreateRuleMultiAccount=function(e,t){return this.post("/yuno-fraud-screening-int/velocity-rules/multi-account",e,{headers:{"x-account-code":t}})},r.prototype.postCreateRule=function(e,t){return this.post("/yuno-fraud-screening-int/velocity-rules",e,{headers:{"x-account-code":t}})},r.prototype.postEditRule=function(e,t,n){return this.patch("/yuno-fraud-screening-int/velocity-rules/".concat(t),e,{headers:{"x-account-code":n}})},r.prototype.postApiKeysRoll=function(e,t,n){return this.post("/credentials-manager/v1/keys/roll/".concat(t),e,{headers:{"x-password":n}})},r.prototype.patchApiKeysEditNote=function(e,t){return this.patch("/credentials-manager/keys/edit-note/".concat(t),e)},r.prototype.getCustomizedApiKeysMembers=function(){return this.get("/organization-user/resources/users/customized-keys")},r.prototype.getCustomizedApiKeysAccounts=function(){return this.get("/organization-user/resources/accounts/customized-keys")},r.prototype.postCreateCustomizedApiKeys=function(e){return this.post("/credentials-manager/keys",e)},r.prototype.pathCreateCustomizedApiKeys=function(e,t){return this.patch("/credentials-manager/key/".concat(t),e)},r.prototype.postCustomizedApiKeys=function(e){return this.post("/credentials-manager/keys/retrieve",{account_codes:e})},r.prototype.getCustomizedApiKeysProducts=function(){return this.get("/credentials-manager/product-list")},r.prototype.getCustomizedApiKeysToken=function(e,t){return this.get("/credentials-manager/keys/show-token/".concat(e),{headers:{"x-password":t}})},r.prototype.validatePasswordStatus=function(){return this.get("/validate-password-status")},r.prototype.getCustomizedApiKeysShowToken=function(e){return this.get("/credentials-manager/keys/show-token/".concat(e))},r.prototype.getLoginSSO=function(e){return this.get("/saml/metadata?email=".concat(e))},r.prototype.deleteCustomizedApiKeys=function(e){return this.delete("/credentials-manager/key/".concat(e))},r.prototype.postCreateInsightsReport=function(e){var t="CR_FALLBACK"===(null==e?void 0:e.type)?"/insights/conversion-rate/".concat(uc[null==e?void 0:e.type],"/export"):"/insights/conversion-rate/cards/metrics/".concat(uc[null==e?void 0:e.type],"/export");return this.post(t,e)},r.prototype.getInsightsReport=function(e){return this.get("/insights/conversion-rate/exports/".concat(null==e?void 0:e.type,"/by-user"))},r.prototype.getInsightsReportAgain=function(e){return this.get("/insights/conversion-rate/exports/".concat(e.code))},r.prototype.createUserAuth0=function(e){return this.post("/user/auth0",e)},r.prototype.getSamlConfig=function(){return this.get("/saml-config")},r.prototype.createSamlConfig=function(e){return this.post("/saml-config",e)},r.prototype.updateSamlConfig=function(e){return this.patch("/saml-config",e)},r.prototype.deleteSamlConfig=function(){return this.delete("/saml-config")},r.prototype.postCall=function(e){return this.post("/ai-agent-caller/demo",e)},r.prototype.getLoginMethods=function(){return this.get("/organization/login-methods")},r.prototype.changeLoginMethods=function(e){return this.patch("/organization/login-methods/".concat(e.methodCode),{enabled:e.enabled})},r.prototype.postValidateCredentials=function(e){var t=e.payload;return this.post("/connections/validate-credentials",t)},r.prototype.getInsightsConversionRateOverview=function(e,t){return this.post("/v3/insights/conversion-rate/overview",e,{params:t})},r.prototype.getInsightsConversionRateOverviewFraud3ds=function(e,t){return this.post("/v3/insights/conversion-rate/overview-fraud-3ds",e,{params:t})},r.prototype.getConversionRateChargebacksByCardBrand=function(e,t){return this.post("/insights/chargebacks/by-card-brand",e,{params:t})},r.prototype.get3DSExemptions=function(){return this.get("/routing/3ds-exemptions")},r.prototype.createChartGPTChart=function(e){return this.post("/api/chartgpt/charts",e)},r.prototype.deleteChartGPTChart=function(e){return this.delete("/api/chartgpt/charts/".concat(e))},r.prototype.patchChartGPTChart=function(e,t){return this.patch("/api/chartgpt/charts/".concat(e),t)},r.prototype.getChartsByUser=function(){return this.get("/api/chartgpt/user/charts")},r.prototype.executeChartGPTChart=function(e){return this.get("/api/chartgpt/charts/".concat(e,"/execute"))},r}(Na),Ic={ENVIRONMENT:process.env.ENVIRONMENT,BFF_URL_PROD:process.env.BFF_URL_PROD,BFF_URL_SBX:process.env.BFF_URL_SBX,BFF_URL_STG:process.env.BFF_URL_STG,BFF_URL_DEV:process.env.BFF_URL_DEV,BFF_URL_LOCAL:process.env.BFF_URL_LOCAL},Tc=function(e){function i(t){return e.call(this,t)||this}return o(i,e),i.refreshInstance=function(e){var t;return this.classInstance=new i(a(a({},e),{baseURL:Ic["BFF_URL_".concat(Ic.ENVIRONMENT)]})),null===(t=this.classInstance.instance.interceptors)||void 0===t||t.response.use((function(e){return e}),(function(e){var t;if(401!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))return Promise.reject(e);window.location.href="/auth/logout"})),this.classInstance},i.getInstance=function(e){var t,n;if(this.classInstance){var o=localStorage.getItem("account");if(o){var r=null===(n=null===(t=JSON.parse(o))||void 0===t?void 0:t.value)||void 0===n?void 0:n.code,s=this.classInstance.instance.defaults.headers["x-account-code"];!!r&&""!==r&&r!==s&&(this.classInstance.instance.defaults.headers["x-account-code"]=r)}return this.classInstance}return this.classInstance=new i(a(a({},e),{baseURL:(null==e?void 0:e.baseURL)||Ic["BFF_URL_".concat(Ic.ENVIRONMENT)]})),this.classInstance},i.setMode=function(e){return t(this,void 0,void 0,(function(){return n(this,(function(t){return this.classInstance.instance.interceptors.request.use((function(t){return t.headers&&(t.headers["X-Environment"]=e),t}),(function(e){return Promise.reject(e)})),[2]}))}))},i}(Rc);class Ac{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){const t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const Oc="undefined"==typeof window||"Deno"in window;function Pc(){}function Dc(e){return"number"==typeof e&&e>=0&&e!==1/0}function jc(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Lc(e,t,n){return Hc(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Nc(e,t,n){return Hc(e)?[{...t,queryKey:e},n]:[e||{},t]}function Fc(e,t){const{type:n="all",exact:o,fetchStatus:a,predicate:i,queryKey:r,stale:s}=e;if(Hc(r))if(o){if(t.queryHash!==Mc(r,t.options))return!1}else if(!Uc(t.queryKey,r))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((void 0===a||a===t.state.fetchStatus)&&!(i&&!i(t)))}function Bc(e,t){const{exact:n,fetching:o,predicate:a,mutationKey:i}=e;if(Hc(i)){if(!t.options.mutationKey)return!1;if(n){if(zc(t.options.mutationKey)!==zc(i))return!1}else if(!Uc(t.options.mutationKey,i))return!1}return("boolean"!=typeof o||"loading"===t.state.status===o)&&!(a&&!a(t))}function Mc(e,t){return((null==t?void 0:t.queryKeyHashFn)||zc)(e)}function zc(e){return JSON.stringify(e,((e,t)=>Wc(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function Uc(e,t){return qc(e,t)}function qc(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!qc(e[n],t[n]))))}function Vc(e,t){if(e===t)return e;const n=Kc(e)&&Kc(t);if(n||Wc(e)&&Wc(t)){const o=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),i=a.length,r=n?[]:{};let s=0;for(let o=0;o<i;o++){const i=n?o:a[o];r[i]=Vc(e[i],t[i]),r[i]===e[i]&&s++}return o===i&&s===o?e:r}return t}function Gc(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Kc(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Wc(e){if(!Qc(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Qc(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Qc(e){return"[object Object]"===Object.prototype.toString.call(e)}function Hc(e){return Array.isArray(e)}function Jc(e){return new Promise((t=>{setTimeout(t,e)}))}function Yc(e){Jc(0).then(e)}function $c(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?Vc(e,t):t}const Xc=new class extends Ac{constructor(){super(),this.setup=e=>{if(!Oc&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.focused!==e&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach((({listener:e})=>{e()}))}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},Zc=["online","offline"];const eu=new class extends Ac{constructor(){super(),this.setup=e=>{if(!Oc&&window.addEventListener){const t=()=>e();return Zc.forEach((e=>{window.addEventListener(e,t,!1)})),()=>{Zc.forEach((e=>{window.removeEventListener(e,t)}))}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()}))}setOnline(e){this.online!==e&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach((({listener:e})=>{e()}))}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function tu(e){return Math.min(1e3*2**e,3e4)}function nu(e){return"online"!==(null!=e?e:"online")||eu.isOnline()}class ou{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function au(e){return e instanceof ou}function iu(e){let t,n,o,a=!1,i=0,r=!1;const s=new Promise(((e,t)=>{n=e,o=t})),c=()=>!Xc.isFocused()||"always"!==e.networkMode&&!eu.isOnline(),u=o=>{r||(r=!0,null==e.onSuccess||e.onSuccess(o),null==t||t(),n(o))},l=n=>{r||(r=!0,null==e.onError||e.onError(n),null==t||t(),o(n))},p=()=>new Promise((n=>{t=e=>{const t=r||!c();return t&&n(e),t},null==e.onPause||e.onPause()})).then((()=>{t=void 0,r||null==e.onContinue||e.onContinue()})),d=()=>{if(r)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(u).catch((t=>{var n,o;if(r)return;const s=null!=(n=e.retry)?n:3,u=null!=(o=e.retryDelay)?o:tu,f="function"==typeof u?u(i,t):u,m=!0===s||"number"==typeof s&&i<s||"function"==typeof s&&s(i,t);!a&&m?(i++,null==e.onFail||e.onFail(i,t),Jc(f).then((()=>{if(c())return p()})).then((()=>{a?l(t):d()}))):l(t)}))};return nu(e.networkMode)?d():p().then(d),{promise:s,cancel:t=>{r||(l(new ou(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?s:Promise.resolve(),cancelRetry:()=>{a=!0},continueRetry:()=>{a=!1}}}const ru=console;const su=function(){let e=[],t=0,n=e=>{e()},o=e=>{e()};const a=o=>{t?e.push(o):Yc((()=>{n(o)}))},i=()=>{const t=e;e=[],t.length&&Yc((()=>{o((()=>{t.forEach((e=>{n(e)}))}))}))};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||i()}return n},batchCalls:e=>(...t)=>{a((()=>{e(...t)}))},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{o=e}}}();class cu{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Dc(this.cacheTime)&&(this.gcTimeout=setTimeout((()=>{this.optionalRemove()}),this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:Oc?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class uu extends cu{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||ru,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,o=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=o?o:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){const n=$c(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(Pc).catch(Pc):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some((e=>!1!==e.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((e=>e.getCurrentResult().isStale))}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!jc(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find((e=>e.shouldFetchOnWindowFocus()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;const t=this.observers.find((e=>e.shouldFetchOnReconnect()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,o;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var a;return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}"production"!==process.env.NODE_ENV&&(Array.isArray(this.options.queryKey)||this.logger.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const i=function(){if("function"==typeof AbortController)return new AbortController}(),r={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(i)return this.abortSignalConsumed=!0,i.signal}})};s(r);const c={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(r)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};var u;(s(c),null==(n=this.options.behavior)||n.onFetch(c),this.revertState=this.state,"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(o=c.fetchOptions)?void 0:o.meta))&&this.dispatch({type:"fetch",meta:null==(u=c.fetchOptions)?void 0:u.meta});const l=e=>{var t,n,o,a;(au(e)&&e.silent||this.dispatch({type:"error",error:e}),au(e))||(null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(o=(a=this.cache.config).onSettled)||o.call(a,this.state.data,e,this),"production"!==process.env.NODE_ENV&&this.logger.error(e));this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=iu({fn:c.fetchFn,abort:null==i?void 0:i.abort.bind(i),onSuccess:e=>{var t,n,o,a;if(void 0===e)return"production"!==process.env.NODE_ENV&&this.logger.error("Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: "+this.queryHash),void l(new Error(this.queryHash+" data is undefined"));this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(o=(a=this.cache.config).onSettled)||o.call(a,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var n,o;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:nu(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(o=e.dataUpdatedAt)?o:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=e.error;return au(a)&&a.revert&&this.revertState?{...this.revertState,fetchStatus:"idle"}:{...t,error:a,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),su.batch((()=>{this.observers.forEach((t=>{t.onQueryUpdate(e)})),this.cache.notify({query:this,type:"updated",action:e})}))}}class lu extends Ac{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var o;const a=t.queryKey,i=null!=(o=t.queryHash)?o:Mc(a,t);let r=this.get(i);return r||(r=new uu({cache:this,logger:e.getLogger(),queryKey:a,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(r)),r}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((t=>t!==e)),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){su.batch((()=>{this.queries.forEach((e=>{this.remove(e)}))}))}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=Nc(e,t);return void 0===n.exact&&(n.exact=!0),this.queries.find((e=>Fc(n,e)))}findAll(e,t){const[n]=Nc(e,t);return Object.keys(n).length>0?this.queries.filter((e=>Fc(n,e))):this.queries}notify(e){su.batch((()=>{this.listeners.forEach((({listener:t})=>{t(e)}))}))}onFocus(){su.batch((()=>{this.queries.forEach((e=>{e.onFocus()}))}))}onOnline(){su.batch((()=>{this.queries.forEach((e=>{e.onOnline()}))}))}}class pu extends cu{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||ru,this.observers=[],this.state=e.state||du(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter((t=>t!==e)),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){const e=()=>{var e;return this.retryer=iu({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t="loading"===this.state.status;try{var n,o,a,i,r,s,c,u;if(!t){var l,p,d,f;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(l=(p=this.mutationCache.config).onMutate)?void 0:l.call(p,this.state.variables,this));const e=await(null==(d=(f=this.options).onMutate)?void 0:d.call(f,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}const m=await e();return await(null==(n=(o=this.mutationCache.config).onSuccess)?void 0:n.call(o,m,this.state.variables,this.state.context,this)),await(null==(a=(i=this.options).onSuccess)?void 0:a.call(i,m,this.state.variables,this.state.context)),await(null==(r=(s=this.mutationCache.config).onSettled)?void 0:r.call(s,m,null,this.state.variables,this.state.context,this)),await(null==(c=(u=this.options).onSettled)?void 0:c.call(u,m,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:m}),m}catch(e){try{var m,h,v,y,g,b,x,k;throw await(null==(m=(h=this.mutationCache.config).onError)?void 0:m.call(h,e,this.state.variables,this.state.context,this)),"production"!==process.env.NODE_ENV&&this.logger.error(e),await(null==(v=(y=this.options).onError)?void 0:v.call(y,e,this.state.variables,this.state.context)),await(null==(g=(b=this.mutationCache.config).onSettled)?void 0:g.call(b,void 0,e,this.state.variables,this.state.context,this)),await(null==(x=(k=this.options).onSettled)?void 0:x.call(k,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!nu(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),su.batch((()=>{this.observers.forEach((t=>{t.onMutationUpdate(e)})),this.mutationCache.notify({mutation:this,type:"updated",action:e})}))}}function du(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class fu extends Ac{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const o=new pu({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(o),o}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter((t=>t!==e)),this.notify({type:"removed",mutation:e})}clear(){su.batch((()=>{this.mutations.forEach((e=>{this.remove(e)}))}))}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((t=>Bc(e,t)))}findAll(e){return this.mutations.filter((t=>Bc(e,t)))}notify(e){su.batch((()=>{this.listeners.forEach((({listener:t})=>{t(e)}))}))}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then((()=>{const e=this.mutations.filter((e=>e.state.isPaused));return su.batch((()=>e.reduce(((e,t)=>e.then((()=>t.continue().catch(Pc)))),Promise.resolve())))})).then((()=>{this.resuming=void 0})),this.resuming}}function mu(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,o,a,i,r;const s=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,c=null==(o=e.fetchOptions)||null==(a=o.meta)?void 0:a.fetchMore,u=null==c?void 0:c.pageParam,l="forward"===(null==c?void 0:c.direction),p="backward"===(null==c?void 0:c.direction),d=(null==(i=e.state.data)?void 0:i.pages)||[],f=(null==(r=e.state.data)?void 0:r.pageParams)||[];let m=f,h=!1;const v=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),y=(e,t,n,o)=>(m=o?[t,...m]:[...m,t],o?[n,...e]:[...e,n]),g=(t,n,o,a)=>{if(h)return Promise.reject("Cancelled");if(void 0===o&&!n&&t.length)return Promise.resolve(t);const i={queryKey:e.queryKey,pageParam:o,meta:e.options.meta};var r;r=i,Object.defineProperty(r,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?h=!0:null==(n=e.signal)||n.addEventListener("abort",(()=>{h=!0})),e.signal}});const s=v(i);return Promise.resolve(s).then((e=>y(t,o,e,a)))};let b;if(d.length)if(l){const t=void 0!==u,n=t?u:hu(e.options,d);b=g(d,t,n)}else if(p){const t=void 0!==u,n=t?u:(x=e.options,k=d,null==x.getPreviousPageParam?void 0:x.getPreviousPageParam(k[0],k));b=g(d,t,n,!0)}else{m=[];const t=void 0===e.options.getNextPageParam;b=!s||!d[0]||s(d[0],0,d)?g([],t,f[0]):Promise.resolve(y([],f[0],d[0]));for(let n=1;n<d.length;n++)b=b.then((o=>{if(!s||!d[n]||s(d[n],n,d)){const a=t?f[n]:hu(e.options,o);return g(o,t,a)}return Promise.resolve(y(o,f[n],d[n]))}))}else b=g([]);var x,k;const w=b.then((e=>({pages:e,pageParams:m})));return w}}}}function hu(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}class vu extends Ac{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),yu(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return gu(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return gu(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,o=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),"production"!==process.env.NODE_ENV&&void 0!==(null==e?void 0:e.isDataEqual)&&this.client.getLogger().error("The isDataEqual option has been deprecated and will be removed in the next major version. You can achieve the same functionality by passing a function as the structuralSharing option"),Gc(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const a=this.hasListeners();a&&bu(this.currentQuery,o,this.options,n)&&this.executeFetch(),this.updateResult(t),!a||this.currentQuery===o&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const i=this.computeRefetchInterval();!a||this.currentQuery===o&&this.options.enabled===n.enabled&&i===this.currentRefetchInterval||this.updateRefetchInterval(i)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e),n=this.createResult(t,e);return function(e,t,n){if(n.keepPreviousData)return!1;if(void 0!==n.placeholderData)return t.isPlaceholderData;if(!Gc(e.getCurrentResult(),t))return!0;return!1}(this,n,e)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach((n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})})),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then((()=>(this.updateResult(),this.currentResult)))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(Pc)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),Oc||this.currentResult.isStale||!Dc(this.options.staleTime))return;const e=jc(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((()=>{this.currentResult.isStale||this.updateResult()}),e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!Oc&&!1!==this.options.enabled&&Dc(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((()=>{(this.options.refetchIntervalInBackground||Xc.isFocused())&&this.executeFetch()}),this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,o=this.options,a=this.currentResult,i=this.currentResultState,r=this.currentResultOptions,s=e!==n,c=s?e.state:this.currentQueryInitialState,u=s?this.currentResult:this.previousQueryResult,{state:l}=e;let p,{dataUpdatedAt:d,error:f,errorUpdatedAt:m,fetchStatus:h,status:v}=l,y=!1,g=!1;if(t._optimisticResults){const a=this.hasListeners(),i=!a&&yu(e,t),r=a&&bu(e,n,t,o);(i||r)&&(h=nu(e.options.networkMode)?"fetching":"paused",d||(v="loading")),"isRestoring"===t._optimisticResults&&(h="idle")}if(t.keepPreviousData&&!l.dataUpdatedAt&&null!=u&&u.isSuccess&&"error"!==v)p=u.data,d=u.dataUpdatedAt,v=u.status,y=!0;else if(t.select&&void 0!==l.data)if(a&&l.data===(null==i?void 0:i.data)&&t.select===this.selectFn)p=this.selectResult;else try{this.selectFn=t.select,p=t.select(l.data),p=$c(null==a?void 0:a.data,p,t),this.selectResult=p,this.selectError=null}catch(e){"production"!==process.env.NODE_ENV&&this.client.getLogger().error(e),this.selectError=e}else p=l.data;if(void 0!==t.placeholderData&&void 0===p&&"loading"===v){let e;if(null!=a&&a.isPlaceholderData&&t.placeholderData===(null==r?void 0:r.placeholderData))e=a.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){"production"!==process.env.NODE_ENV&&this.client.getLogger().error(e),this.selectError=e}void 0!==e&&(v="success",p=$c(null==a?void 0:a.data,e,t),g=!0)}this.selectError&&(f=this.selectError,p=this.selectResult,m=Date.now(),v="error");const b="fetching"===h,x="loading"===v,k="error"===v;return{status:v,fetchStatus:h,isLoading:x,isSuccess:"success"===v,isError:k,isInitialLoading:x&&b,data:p,dataUpdatedAt:d,error:f,errorUpdatedAt:m,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:l.dataUpdateCount>0||l.errorUpdateCount>0,isFetchedAfterMount:l.dataUpdateCount>c.dataUpdateCount||l.errorUpdateCount>c.errorUpdateCount,isFetching:b,isRefetching:b&&!x,isLoadingError:k&&0===l.dataUpdatedAt,isPaused:"paused"===h,isPlaceholderData:g,isPreviousData:y,isRefetchError:k&&0!==l.dataUpdatedAt,isStale:xu(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Gc(n,t))return;this.currentResult=n;const o={cache:!0};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.trackedProps.size)return!0;const o=new Set(null!=n?n:this.trackedProps);return this.options.useErrorBoundary&&o.add("error"),Object.keys(this.currentResult).some((e=>{const n=e;return this.currentResult[n]!==t[n]&&o.has(n)}))})()&&(o.listeners=!0),this.notify({...o,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||au(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){su.batch((()=>{var t,n,o,a;if(e.onSuccess)null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(o=(a=this.options).onSettled)||o.call(a,this.currentResult.data,null);else if(e.onError){var i,r,s,c;null==(i=(r=this.options).onError)||i.call(r,this.currentResult.error),null==(s=(c=this.options).onSettled)||s.call(c,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach((({listener:e})=>{e(this.currentResult)})),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})}))}}function yu(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&gu(e,t,t.refetchOnMount)}function gu(e,t,n){if(!1!==t.enabled){const o="function"==typeof n?n(e):n;return"always"===o||!1!==o&&xu(e,t)}return!1}function bu(e,t,n,o){return!1!==n.enabled&&(e!==t||!1===o.enabled)&&(!n.suspense||"error"!==e.state.status)&&xu(e,n)}function xu(e,t){return e.isStaleByTime(t.staleTime)}class ku extends Ac{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=this.client.defaultMutationOptions(e),Gc(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.currentMutation)||e.removeObserver(this))}onMutationUpdate(e){this.updateResult();const t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){su.batch((()=>{var t,n,o,a;if(this.mutateOptions&&this.hasListeners())if(e.onSuccess)null==(t=(n=this.mutateOptions).onSuccess)||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(o=(a=this.mutateOptions).onSettled)||o.call(a,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context);else if(e.onError){var i,r,s,c;null==(i=(r=this.mutateOptions).onError)||i.call(r,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(s=(c=this.mutateOptions).onSettled)||s.call(c,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}e.listeners&&this.listeners.forEach((({listener:e})=>{e(this.currentResult)}))}))}}var wu,Cu={exports:{}},Eu={};var _u,Su={};
1
+ import{__spreadArray as t,__awaiter as e,__generator as n,__extends as r,__assign as o,__rest as i}from"tslib";import{setupWorker as a}from"msw/browser";import{http as s,HttpResponse as u}from"msw";import*as c from"react";import l,{useState as d,useRef as p,useEffect as f,useMemo as h,useCallback as y}from"react";var g,m={total:{total_conversion_rate:.8491,insight_payment_total_conversion_rate_periodicity:{"2025-05-05":.854357872962925,"2025-05-06":.8464466315045402,"2025-05-07":.8464068445151444}},cards:{cards_approvals_rate:.8537,insight_payment_total_conversion_rate_periodicity_for_card:{"2025-05-05":.8535902892724836,"2025-05-06":.8544554997052155,"2025-05-07":.8529382291046492}},apms:{apms_conversion_rate:.846,insight_payment_total_conversion_rate_periodicity_for_apm:{"2025-05-05":.8548995923297599,"2025-05-06":.8409580339477246,"2025-05-07":.8419575308800616}},cards_without_insufficient_funds:{without_insufficient_funds_conversion_rate:.8993,insight_conversion_rate_without_insufficient_funds:{"2025-05-05":.9018141803473709,"2025-05-06":.9025951512661153,"2025-05-07":.8933830566240437}}},v={fraud:{conversion_rate_fraud_transactions:0,conversion_fraud_transactions_periodicity:null},"3ds":{conversion_rate_card_transactions3ds:.25,conversion_rate_card_transactions3ds_periodicity:{"2025-05-05":.2391304347826087,"2025-05-06":.3023255813953488,"2025-05-07":.21568627450980393}}},b={sales_volume_metric_group:{distribution:[{key:"2025-04-03",total:2146090},{key:"2025-04-04",total:498220},{key:"2025-04-05",total:563560},{key:"2025-04-06",total:822600},{key:"2025-04-07",total:660445},{key:"2025-04-08",total:553400},{key:"2025-04-09",total:464195},{key:"2025-04-10",total:470835},{key:"2025-04-11",total:3482795},{key:"2025-04-12",total:127585},{key:"2025-04-13",total:207200},{key:"2025-04-14",total:245970},{key:"2025-04-15",total:277185},{key:"2025-04-16",total:177485},{key:"2025-04-17",total:147300},{key:"2025-04-18",total:152590},{key:"2025-04-19",total:41800},{key:"2025-04-20",total:1060845},{key:"2025-04-21",total:715160},{key:"2025-04-22",total:686465},{key:"2025-04-23",total:268490},{key:"2025-04-24",total:699500},{key:"2025-04-25",total:306090},{key:"2025-04-26",total:469500},{key:"2025-04-27",total:364800},{key:"2025-04-28",total:1610220},{key:"2025-04-29",total:699965},{key:"2025-04-30",total:482340},{key:"2025-05-01",total:666160},{key:"2025-05-02",total:52565}],total:19121355,average:637378.5},total_payments:{distribution:[{key:"2025-04-03",total:18},{key:"2025-04-04",total:10},{key:"2025-04-05",total:6},{key:"2025-04-06",total:9},{key:"2025-04-07",total:14},{key:"2025-04-08",total:12},{key:"2025-04-09",total:13},{key:"2025-04-10",total:12},{key:"2025-04-11",total:23},{key:"2025-04-12",total:3},{key:"2025-04-13",total:5},{key:"2025-04-14",total:7},{key:"2025-04-15",total:7},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:3},{key:"2025-04-19",total:1},{key:"2025-04-20",total:11},{key:"2025-04-21",total:13},{key:"2025-04-22",total:15},{key:"2025-04-23",total:10},{key:"2025-04-24",total:14},{key:"2025-04-25",total:9},{key:"2025-04-26",total:6},{key:"2025-04-27",total:3},{key:"2025-04-28",total:21},{key:"2025-04-29",total:15},{key:"2025-04-30",total:9},{key:"2025-05-01",total:7},{key:"2025-05-02",total:2}],total:285,average:9.5},average_ticket:{distribution:[{key:"2025-04-03",total:118580.63,min_ticket:12665,max_ticket:882e3},{key:"2025-04-04",total:51146.67,min_ticket:25900,max_ticket:121500},{key:"2025-04-05",total:74692,min_ticket:23800,max_ticket:190100},{key:"2025-04-06",total:85150,min_ticket:20900,max_ticket:141400},{key:"2025-04-07",total:46528.75,min_ticket:16200,max_ticket:125e3},{key:"2025-04-08",total:48290.91,min_ticket:21900,max_ticket:106700},{key:"2025-04-09",total:34366.25,min_ticket:13900,max_ticket:64005},{key:"2025-04-10",total:39730.45,min_ticket:15900,max_ticket:74545},{key:"2025-04-11",total:76968.93,min_ticket:15900,max_ticket:454200},{key:"2025-04-12",total:42528.33,min_ticket:29835,max_ticket:66130},{key:"2025-04-13",total:48800,min_ticket:21900,max_ticket:64800},{key:"2025-04-14",total:35138.57,min_ticket:7900,max_ticket:55100},{key:"2025-04-15",total:41117,min_ticket:35800,max_ticket:53100},{key:"2025-04-16",total:35497,min_ticket:21420,max_ticket:53700},{key:"2025-04-17",total:73650,min_ticket:47700,max_ticket:99600},{key:"2025-04-18",total:47947.5,min_ticket:39200,max_ticket:56695},{key:"2025-04-19",total:41800,min_ticket:41800,max_ticket:41800},{key:"2025-04-20",total:61248.33,min_ticket:25900,max_ticket:121600},{key:"2025-04-21",total:74095,min_ticket:16200,max_ticket:308e3},{key:"2025-04-22",total:47066.54,min_ticket:15900,max_ticket:98200},{key:"2025-04-23",total:28732.22,min_ticket:9900,max_ticket:39200},{key:"2025-04-24",total:40025,min_ticket:20200,max_ticket:109600},{key:"2025-04-25",total:34755.71,min_ticket:15900,max_ticket:45390},{key:"2025-04-26",total:84900,min_ticket:34800,max_ticket:130400},{key:"2025-04-27",total:121600,min_ticket:5e4,max_ticket:162300},{key:"2025-04-28",total:62873.33,min_ticket:21900,max_ticket:293400},{key:"2025-04-29",total:47213.75,min_ticket:11900,max_ticket:113700},{key:"2025-04-30",total:53593.33,min_ticket:27800,max_ticket:120600},{key:"2025-05-01",total:93426.67,min_ticket:15900,max_ticket:159500},{key:"2025-05-02",total:26282.5,min_ticket:22900,max_ticket:29665}],total:58001.28,min_ticket:7900,max_ticket:882e3},conversion_rate:null,total_payments_and_conversion_rate:{payments:{distribution:[{key:"2025-04-03",total:18},{key:"2025-04-04",total:10},{key:"2025-04-05",total:6},{key:"2025-04-06",total:9},{key:"2025-04-07",total:14},{key:"2025-04-08",total:12},{key:"2025-04-09",total:13},{key:"2025-04-10",total:12},{key:"2025-04-11",total:23},{key:"2025-04-12",total:3},{key:"2025-04-13",total:5},{key:"2025-04-14",total:7},{key:"2025-04-15",total:7},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:3},{key:"2025-04-19",total:1},{key:"2025-04-20",total:11},{key:"2025-04-21",total:13},{key:"2025-04-22",total:15},{key:"2025-04-23",total:10},{key:"2025-04-24",total:14},{key:"2025-04-25",total:9},{key:"2025-04-26",total:6},{key:"2025-04-27",total:3},{key:"2025-04-28",total:21},{key:"2025-04-29",total:15},{key:"2025-04-30",total:9},{key:"2025-05-01",total:7},{key:"2025-05-02",total:2}],total:285},conversion_rate:{distribution:[{key:"2025-04-03",total:.8889},{key:"2025-04-04",total:.9},{key:"2025-04-05",total:.8333},{key:"2025-04-06",total:.8889},{key:"2025-04-07",total:.8571},{key:"2025-04-08",total:.9167},{key:"2025-04-09",total:.9231},{key:"2025-04-10",total:.9167},{key:"2025-04-11",total:.6087},{key:"2025-04-12",total:1},{key:"2025-04-13",total:.6},{key:"2025-04-14",total:1},{key:"2025-04-15",total:.7143},{key:"2025-04-16",total:1},{key:"2025-04-17",total:1},{key:"2025-04-18",total:.6667},{key:"2025-04-19",total:1},{key:"2025-04-20",total:.2727},{key:"2025-04-21",total:.6154},{key:"2025-04-22",total:.8667},{key:"2025-04-23",total:.9},{key:"2025-04-24",total:.8571},{key:"2025-04-25",total:.7778},{key:"2025-04-26",total:.6667},{key:"2025-04-27",total:1},{key:"2025-04-28",total:.5714},{key:"2025-04-29",total:.8},{key:"2025-04-30",total:1},{key:"2025-05-01",total:.8571},{key:"2025-05-02",total:1}],total:.793}},quantity_status_distribution:[{SUCCEEDED:{distribution:[{key:"2025-04-03",total:16},{key:"2025-04-04",total:9},{key:"2025-04-05",total:5},{key:"2025-04-06",total:8},{key:"2025-04-07",total:12},{key:"2025-04-08",total:11},{key:"2025-04-09",total:12},{key:"2025-04-10",total:11},{key:"2025-04-11",total:14},{key:"2025-04-12",total:3},{key:"2025-04-13",total:3},{key:"2025-04-14",total:7},{key:"2025-04-15",total:5},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:2},{key:"2025-04-19",total:1},{key:"2025-04-20",total:3},{key:"2025-04-21",total:8},{key:"2025-04-22",total:13},{key:"2025-04-23",total:9},{key:"2025-04-24",total:12},{key:"2025-04-25",total:7},{key:"2025-04-26",total:4},{key:"2025-04-27",total:3},{key:"2025-04-28",total:12},{key:"2025-04-29",total:12},{key:"2025-04-30",total:9},{key:"2025-05-01",total:6},{key:"2025-05-02",total:2}],total:226}},{DECLINED:{distribution:[{key:"2025-04-03",total:2},{key:"2025-04-04",total:1},{key:"2025-04-05",total:1},{key:"2025-04-06",total:1},{key:"2025-04-07",total:2},{key:"2025-04-08",total:1},{key:"2025-04-09",total:1},{key:"2025-04-10",total:1},{key:"2025-04-11",total:9},{key:"2025-04-13",total:2},{key:"2025-04-15",total:2},{key:"2025-04-18",total:1},{key:"2025-04-20",total:8},{key:"2025-04-21",total:5},{key:"2025-04-22",total:2},{key:"2025-04-23",total:1},{key:"2025-04-24",total:2},{key:"2025-04-25",total:2},{key:"2025-04-26",total:2},{key:"2025-04-28",total:9},{key:"2025-04-29",total:3},{key:"2025-05-01",total:1}],total:59}}],volume_successful_payments:13108290,volume_successful_payments_by_periodicity:[{key:"2025-04-03",total:1897290},{key:"2025-04-04",total:460320},{key:"2025-04-05",total:373460},{key:"2025-04-06",total:681200},{key:"2025-04-07",total:558345},{key:"2025-04-08",total:531200},{key:"2025-04-09",total:412395},{key:"2025-04-10",total:437035},{key:"2025-04-11",total:1077565},{key:"2025-04-12",total:127585},{key:"2025-04-13",total:146400},{key:"2025-04-14",total:245970},{key:"2025-04-15",total:205585},{key:"2025-04-16",total:177485},{key:"2025-04-17",total:147300},{key:"2025-04-18",total:95895},{key:"2025-04-19",total:41800},{key:"2025-04-20",total:183745},{key:"2025-04-21",total:592760},{key:"2025-04-22",total:611865},{key:"2025-04-23",total:258590},{key:"2025-04-24",total:480300},{key:"2025-04-25",total:243290},{key:"2025-04-26",total:339600},{key:"2025-04-27",total:364800},{key:"2025-04-28",total:754480},{key:"2025-04-29",total:566565},{key:"2025-04-30",total:482340},{key:"2025-05-01",total:560560},{key:"2025-05-02",total:52565}],quantity_successful_payments:226,quantity_successful_payments_by_periodicity:[{key:"2025-04-03",total:16},{key:"2025-04-04",total:9},{key:"2025-04-05",total:5},{key:"2025-04-06",total:8},{key:"2025-04-07",total:12},{key:"2025-04-08",total:11},{key:"2025-04-09",total:12},{key:"2025-04-10",total:11},{key:"2025-04-11",total:14},{key:"2025-04-12",total:3},{key:"2025-04-13",total:3},{key:"2025-04-14",total:7},{key:"2025-04-15",total:5},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:2},{key:"2025-04-19",total:1},{key:"2025-04-20",total:3},{key:"2025-04-21",total:8},{key:"2025-04-22",total:13},{key:"2025-04-23",total:9},{key:"2025-04-24",total:12},{key:"2025-04-25",total:7},{key:"2025-04-26",total:4},{key:"2025-04-27",total:3},{key:"2025-04-28",total:12},{key:"2025-04-29",total:12},{key:"2025-04-30",total:9},{key:"2025-05-01",total:6},{key:"2025-05-02",total:2}],average_provider_latency:[{PAYMENTEZ:{distribution:[{key:"2025-04-03",total:1582.1429},{key:"2025-04-04",total:1972.6667},{key:"2025-04-05",total:2059.25},{key:"2025-04-06",total:1772},{key:"2025-04-07",total:1236.1667},{key:"2025-04-08",total:1310.7143},{key:"2025-04-09",total:1645.25},{key:"2025-04-10",total:2277},{key:"2025-04-11",total:1729.7143},{key:"2025-04-12",total:0},{key:"2025-04-13",total:1870},{key:"2025-04-14",total:1109},{key:"2025-04-15",total:1110},{key:"2025-04-16",total:1255.5},{key:"2025-04-17",total:0},{key:"2025-04-18",total:0},{key:"2025-04-19",total:1930},{key:"2025-04-20",total:0},{key:"2025-04-21",total:1502.3333},{key:"2025-04-22",total:2444.25},{key:"2025-04-23",total:1450.6667},{key:"2025-04-24",total:1376.75},{key:"2025-04-25",total:2074},{key:"2025-04-26",total:2339.75},{key:"2025-04-27",total:0},{key:"2025-04-28",total:1719.8},{key:"2025-04-29",total:1600.5},{key:"2025-04-30",total:1692.5},{key:"2025-05-01",total:1468.5},{key:"2025-05-02",total:0}],total:1727.7576}},{NUVEI:{distribution:[{key:"2025-04-03",total:3110.5},{key:"2025-04-04",total:2706.6667},{key:"2025-04-05",total:3637.5},{key:"2025-04-06",total:2654.4},{key:"2025-04-07",total:3068.1429},{key:"2025-04-08",total:2907.6},{key:"2025-04-09",total:2998.6667},{key:"2025-04-10",total:2732.5714},{key:"2025-04-11",total:3071.4167},{key:"2025-04-12",total:3222},{key:"2025-04-13",total:3020.3333},{key:"2025-04-14",total:2870},{key:"2025-04-15",total:3333},{key:"2025-04-16",total:3319},{key:"2025-04-17",total:3217},{key:"2025-04-18",total:2612},{key:"2025-04-19",total:0},{key:"2025-04-20",total:1829.7778},{key:"2025-04-21",total:2948.875},{key:"2025-04-22",total:3199},{key:"2025-04-23",total:2890.5},{key:"2025-04-24",total:3157},{key:"2025-04-25",total:3302},{key:"2025-04-26",total:2752},{key:"2025-04-27",total:3965.6667},{key:"2025-04-28",total:3059.7333},{key:"2025-04-29",total:3012.1},{key:"2025-04-30",total:3227.6667},{key:"2025-05-01",total:2788.6667},{key:"2025-05-02",total:3353}],total:2973.3793}},{WOMPI:{distribution:[{key:"2025-04-03",total:6647},{key:"2025-04-04",total:5687},{key:"2025-04-05",total:0},{key:"2025-04-06",total:5731.6667},{key:"2025-04-07",total:4024},{key:"2025-04-08",total:8196},{key:"2025-04-09",total:6371.25},{key:"2025-04-10",total:4857},{key:"2025-04-11",total:5636.6364},{key:"2025-04-12",total:0},{key:"2025-04-13",total:7057.5},{key:"2025-04-14",total:0},{key:"2025-04-15",total:6098.3333},{key:"2025-04-16",total:7633},{key:"2025-04-17",total:4292},{key:"2025-04-18",total:7642.5},{key:"2025-04-19",total:0},{key:"2025-04-20",total:7386.5},{key:"2025-04-21",total:6093.1667},{key:"2025-04-22",total:7832.75},{key:"2025-04-23",total:5280.4},{key:"2025-04-24",total:7190.5},{key:"2025-04-25",total:0},{key:"2025-04-26",total:4156},{key:"2025-04-27",total:0},{key:"2025-04-28",total:8211.6667},{key:"2025-04-29",total:6907.3333},{key:"2025-04-30",total:6054},{key:"2025-05-01",total:7726.3333},{key:"2025-05-02",total:0}],total:6579.7901}}],total_subscriptions_and_conversion_rate:{subscriptions:{distribution:null,total:0},subscriptions_succeeded:{distribution:null,total:0},conversion_rate:{distribution:null,total:0}},total_status_distribution:[{SUCCEEDED:{distribution:[{key:"2025-04-03",total:1897290},{key:"2025-04-04",total:460320},{key:"2025-04-05",total:373460},{key:"2025-04-06",total:681200},{key:"2025-04-07",total:558345},{key:"2025-04-08",total:531200},{key:"2025-04-09",total:412395},{key:"2025-04-10",total:437035},{key:"2025-04-11",total:1077565},{key:"2025-04-12",total:127585},{key:"2025-04-13",total:146400},{key:"2025-04-14",total:245970},{key:"2025-04-15",total:205585},{key:"2025-04-16",total:177485},{key:"2025-04-17",total:147300},{key:"2025-04-18",total:95895},{key:"2025-04-19",total:41800},{key:"2025-04-20",total:183745},{key:"2025-04-21",total:592760},{key:"2025-04-22",total:611865},{key:"2025-04-23",total:258590},{key:"2025-04-24",total:480300},{key:"2025-04-25",total:243290},{key:"2025-04-26",total:339600},{key:"2025-04-27",total:364800},{key:"2025-04-28",total:754480},{key:"2025-04-29",total:566565},{key:"2025-04-30",total:482340},{key:"2025-05-01",total:560560},{key:"2025-05-02",total:52565}],total:13108290}},{DECLINED:{distribution:[{key:"2025-04-03",total:248800},{key:"2025-04-04",total:37900},{key:"2025-04-05",total:190100},{key:"2025-04-06",total:141400},{key:"2025-04-07",total:102100},{key:"2025-04-08",total:22200},{key:"2025-04-09",total:51800},{key:"2025-04-10",total:33800},{key:"2025-04-11",total:2405230},{key:"2025-04-13",total:60800},{key:"2025-04-15",total:71600},{key:"2025-04-18",total:56695},{key:"2025-04-20",total:877100},{key:"2025-04-21",total:122400},{key:"2025-04-22",total:74600},{key:"2025-04-23",total:9900},{key:"2025-04-24",total:219200},{key:"2025-04-25",total:62800},{key:"2025-04-26",total:129900},{key:"2025-04-28",total:855740},{key:"2025-04-29",total:133400},{key:"2025-05-01",total:105600}],total:6013065}}]};!function(t){t.GENERAL="volume-and-total-payments",t.LATENCY="provider-latency",t.STATUS="status",t.SUBSCRIPTIONS="subscriptions"}(g||(g={}));var E={sales_volume_metric_group:b.sales_volume_metric_group,total_payments:b.total_payments},C=s.get("/api/insights/overview-metrics",(function(){return u.json(E)})),k=[s.get("/api/v3/insights/overview-metrics/".concat(g.GENERAL),(function(){return u.json({sales_volume_metric_group:E.sales_volume_metric_group})})),s.get("/api/v3/insights/overview-metrics/".concat(g.LATENCY),(function(){return u.json({latency_metrics:{average_response_time:250,distribution:[{key:"2025-04-01",value:200},{key:"2025-04-02",value:300}]}})})),s.get("/api/v3/insights/overview-metrics/".concat(g.STATUS),(function(){return u.json({status_metrics:{success_rate:95,distribution:[{key:"2025-04-01",value:98},{key:"2025-04-02",value:92}]}})})),s.get("/api/v3/insights/overview-metrics/".concat(g.SUBSCRIPTIONS),(function(){return u.json({subscription_metrics:{active_subscriptions:1e3,distribution:[{key:"2025-04-01",value:950},{key:"2025-04-02",value:1050}]}})}))],_=t([C],k,!0),w=t([s.post("https://dev.y.uno/dashboard-bff/api/v3/insights/conversion-rate/overview",(function(){return u.json(m)})),s.post("https://dev.y.uno/dashboard-bff/api/v3/insights/conversion-rate/overview-fraud-3ds",(function(){return u.json(v)}))],_,!0),S=a.apply(void 0,w),R="MSW_ENABLED";function I(t){t?(localStorage.setItem(R,"true"),console.info("MSW enabled. Reload the page to activate the mocks.")):(localStorage.removeItem(R),console.info("MSW disabled. Reload the page to disable the mocks.")),window.location.reload()}function A(){return"true"===localStorage.getItem(R)}function T(t,e){return function(){return t.apply(e,arguments)}}"undefined"!=typeof window&&(window.enableMSW=function(){return I(!0)},window.disableMSW=function(){return I(!1)},window.isMSWEnabled=A);const{toString:O}=Object.prototype,{getPrototypeOf:P}=Object,{iterator:x,toStringTag:D}=Symbol,N=(L=Object.create(null),t=>{const e=O.call(t);return L[e]||(L[e]=e.slice(8,-1).toLowerCase())});var L;const M=t=>(t=t.toLowerCase(),e=>N(e)===t),B=t=>e=>typeof e===t,{isArray:F}=Array,U=B("undefined");const j=M("ArrayBuffer");const z=B("string"),q=B("function"),V=B("number"),G=t=>null!==t&&"object"==typeof t,Q=t=>{if("object"!==N(t))return!1;const e=P(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||D in t||x in t)},K=M("Date"),W=M("File"),H=M("Blob"),J=M("FileList"),Y=M("URLSearchParams"),[X,$,Z,tt]=["ReadableStream","Request","Response","Headers"].map(M);function et(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,o;if("object"!=typeof t&&(t=[t]),F(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const o=n?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let a;for(r=0;r<i;r++)a=o[r],e.call(null,t[a],a,t)}}function nt(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,o=n.length;for(;o-- >0;)if(r=n[o],e===r.toLowerCase())return r;return null}const rt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,ot=t=>!U(t)&&t!==rt;const it=(t=>e=>t&&e instanceof t)("undefined"!=typeof Uint8Array&&P(Uint8Array)),at=M("HTMLFormElement"),st=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),ut=M("RegExp"),ct=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};et(n,((n,o)=>{let i;!1!==(i=e(n,o,t))&&(r[o]=i||n)})),Object.defineProperties(t,r)};const lt=M("AsyncFunction"),dt=(pt="function"==typeof setImmediate,ft=q(rt.postMessage),pt?setImmediate:ft?(ht=`axios@${Math.random()}`,yt=[],rt.addEventListener("message",(({source:t,data:e})=>{t===rt&&e===ht&&yt.length&&yt.shift()()}),!1),t=>{yt.push(t),rt.postMessage(ht,"*")}):t=>setTimeout(t));var pt,ft,ht,yt;const gt="undefined"!=typeof queueMicrotask?queueMicrotask.bind(rt):"undefined"!=typeof process&&process.nextTick||dt;var mt={isArray:F,isArrayBuffer:j,isBuffer:function(t){return null!==t&&!U(t)&&null!==t.constructor&&!U(t.constructor)&&q(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||q(t.append)&&("formdata"===(e=N(t))||"object"===e&&q(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&j(t.buffer),e},isString:z,isNumber:V,isBoolean:t=>!0===t||!1===t,isObject:G,isPlainObject:Q,isReadableStream:X,isRequest:$,isResponse:Z,isHeaders:tt,isUndefined:U,isDate:K,isFile:W,isBlob:H,isRegExp:ut,isFunction:q,isStream:t=>G(t)&&q(t.pipe),isURLSearchParams:Y,isTypedArray:it,isFileList:J,forEach:et,merge:function t(){const{caseless:e}=ot(this)&&this||{},n={},r=(r,o)=>{const i=e&&nt(n,o)||o;Q(n[i])&&Q(r)?n[i]=t(n[i],r):Q(r)?n[i]=t({},r):F(r)?n[i]=r.slice():n[i]=r};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&et(arguments[t],r);return n},extend:(t,e,n,{allOwnKeys:r}={})=>(et(e,((e,r)=>{n&&q(e)?t[r]=T(e,n):t[r]=e}),{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let o,i,a;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],r&&!r(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==n&&P(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:N,kindOfTest:M,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(F(t))return t;let e=t.length;if(!V(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[x]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:at,hasOwnProperty:st,hasOwnProp:st,reduceDescriptors:ct,freezeMethods:t=>{ct(t,((e,n)=>{if(q(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];q(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return F(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:nt,global:rt,isContextDefined:ot,isSpecCompliantForm:function(t){return!!(t&&q(t.append)&&"FormData"===t[D]&&t[x])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(G(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const o=F(t)?[]:{};return et(t,((t,e)=>{const i=n(t,r+1);!U(i)&&(o[e]=i)})),e[r]=void 0,o}}return t};return n(t,0)},isAsyncFn:lt,isThenable:t=>t&&(G(t)||q(t))&&q(t.then)&&q(t.catch),setImmediate:dt,asap:gt,isIterable:t=>null!=t&&q(t[x])};function vt(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}mt.inherits(vt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:mt.toJSONObject(this.config),code:this.code,status:this.status}}});const bt=vt.prototype,Et={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{Et[t]={value:t}})),Object.defineProperties(vt,Et),Object.defineProperty(bt,"isAxiosError",{value:!0}),vt.from=(t,e,n,r,o,i)=>{const a=Object.create(bt);return mt.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),vt.call(a,t.message,e,n,r,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};function Ct(t){return mt.isPlainObject(t)||mt.isArray(t)}function kt(t){return mt.endsWith(t,"[]")?t.slice(0,-2):t}function _t(t,e,n){return t?t.concat(e).map((function(t,e){return t=kt(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const wt=mt.toFlatObject(mt,{},null,(function(t){return/^is[A-Z]/.test(t)}));function St(t,e,n){if(!mt.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=mt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!mt.isUndefined(e[t])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&mt.isSpecCompliantForm(e);if(!mt.isFunction(o))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(mt.isDate(t))return t.toISOString();if(!s&&mt.isBlob(t))throw new vt("Blob is not supported. Use a Buffer instead.");return mt.isArrayBuffer(t)||mt.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,n,o){let s=t;if(t&&!o&&"object"==typeof t)if(mt.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(mt.isArray(t)&&function(t){return mt.isArray(t)&&!t.some(Ct)}(t)||(mt.isFileList(t)||mt.endsWith(n,"[]"))&&(s=mt.toArray(t)))return n=kt(n),s.forEach((function(t,r){!mt.isUndefined(t)&&null!==t&&e.append(!0===a?_t([n],r,i):null===a?n:n+"[]",u(t))})),!1;return!!Ct(t)||(e.append(_t(o,n,i),u(t)),!1)}const l=[],d=Object.assign(wt,{defaultVisitor:c,convertValue:u,isVisitable:Ct});if(!mt.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!mt.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),mt.forEach(n,(function(n,i){!0===(!(mt.isUndefined(n)||null===n)&&o.call(e,n,mt.isString(i)?i.trim():i,r,d))&&t(n,r?r.concat(i):[i])})),l.pop()}}(t),e}function Rt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function It(t,e){this._pairs=[],t&&St(t,this,e)}const At=It.prototype;function Tt(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ot(t,e,n){if(!e)return t;const r=n&&n.encode||Tt;mt.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(e,n):mt.isURLSearchParams(e)?e.toString():new It(e,n).toString(r),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}At.append=function(t,e){this._pairs.push([t,e])},At.toString=function(t){const e=t?function(e){return t.call(this,e,Rt)}:Rt;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var Pt=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){mt.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},xt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:It,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Nt="undefined"!=typeof window&&"undefined"!=typeof document,Lt="object"==typeof navigator&&navigator||void 0,Mt=Nt&&(!Lt||["ReactNative","NativeScript","NS"].indexOf(Lt.product)<0),Bt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ft=Nt&&window.location.href||"http://localhost";var Ut={...Object.freeze({__proto__:null,hasBrowserEnv:Nt,hasStandardBrowserEnv:Mt,hasStandardBrowserWebWorkerEnv:Bt,navigator:Lt,origin:Ft}),...Dt};function jt(t){function e(t,n,r,o){let i=t[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&mt.isArray(r)?r.length:i,s)return mt.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&mt.isObject(r[i])||(r[i]=[]);return e(t,n,r[i],o)&&mt.isArray(r[i])&&(r[i]=function(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}(r[i])),!a}if(mt.isFormData(t)&&mt.isFunction(t.entries)){const n={};return mt.forEachEntry(t,((t,r)=>{e(function(t){return mt.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null}const zt={transitional:xt,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=mt.isObject(t);o&&mt.isHTMLForm(t)&&(t=new FormData(t));if(mt.isFormData(t))return r?JSON.stringify(jt(t)):t;if(mt.isArrayBuffer(t)||mt.isBuffer(t)||mt.isStream(t)||mt.isFile(t)||mt.isBlob(t)||mt.isReadableStream(t))return t;if(mt.isArrayBufferView(t))return t.buffer;if(mt.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return St(t,new Ut.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return Ut.isNode&&mt.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=mt.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return St(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),function(t,e,n){if(mt.isString(t))try{return(e||JSON.parse)(t),mt.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||zt.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(mt.isResponse(t)||mt.isReadableStream(t))return t;if(t&&mt.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw vt.from(t,vt.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ut.classes.FormData,Blob:Ut.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};mt.forEach(["delete","get","head","post","put","patch"],(t=>{zt.headers[t]={}}));var qt=zt;const Vt=mt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Gt=Symbol("internals");function Qt(t){return t&&String(t).trim().toLowerCase()}function Kt(t){return!1===t||null==t?t:mt.isArray(t)?t.map(Kt):String(t)}function Wt(t,e,n,r,o){return mt.isFunction(r)?r.call(this,e,n):(o&&(e=n),mt.isString(e)?mt.isString(r)?-1!==e.indexOf(r):mt.isRegExp(r)?r.test(e):void 0:void 0)}class Ht{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function o(t,e,n){const o=Qt(e);if(!o)throw new Error("header name must be a non-empty string");const i=mt.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||e]=Kt(t))}const i=(t,e)=>mt.forEach(t,((t,n)=>o(t,n,e)));if(mt.isPlainObject(t)||t instanceof this.constructor)i(t,e);else if(mt.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))i((t=>{const e={};let n,r,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),r=t.substring(o+1).trim(),!n||e[n]&&Vt[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e})(t),e);else if(mt.isObject(t)&&mt.isIterable(t)){let n,r,o={};for(const e of t){if(!mt.isArray(e))throw TypeError("Object iterator must return a key-value pair");o[r=e[0]]=(n=o[r])?mt.isArray(n)?[...n,e[1]]:[n,e[1]]:e[1]}i(o,e)}else null!=t&&o(e,t,n);return this}get(t,e){if(t=Qt(t)){const n=mt.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(mt.isFunction(e))return e.call(this,t,n);if(mt.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Qt(t)){const n=mt.findKey(this,t);return!(!n||void 0===this[n]||e&&!Wt(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function o(t){if(t=Qt(t)){const o=mt.findKey(n,t);!o||e&&!Wt(0,n[o],o,e)||(delete n[o],r=!0)}}return mt.isArray(t)?t.forEach(o):o(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const o=e[n];t&&!Wt(0,this[o],o,t,!0)||(delete this[o],r=!0)}return r}normalize(t){const e=this,n={};return mt.forEach(this,((r,o)=>{const i=mt.findKey(n,o);if(i)return e[i]=Kt(r),void delete e[o];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete e[o],e[a]=Kt(r),n[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return mt.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&mt.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[Gt]=this[Gt]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=Qt(t);e[r]||(!function(t,e){const n=mt.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,o){return this[r].call(this,e,t,n,o)},configurable:!0})}))}(n,t),e[r]=!0)}return mt.isArray(t)?t.forEach(r):r(t),this}}Ht.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),mt.reduceDescriptors(Ht.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),mt.freezeMethods(Ht);var Jt=Ht;function Yt(t,e){const n=this||qt,r=e||n,o=Jt.from(r.headers);let i=r.data;return mt.forEach(t,(function(t){i=t.call(n,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function Xt(t){return!(!t||!t.__CANCEL__)}function $t(t,e,n){vt.call(this,null==t?"canceled":t,vt.ERR_CANCELED,e,n),this.name="CanceledError"}function Zt(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new vt("Request failed with status code "+n.status,[vt.ERR_BAD_REQUEST,vt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}mt.inherits($t,vt,{__CANCEL__:!0});const te=(t,e,n=3)=>{let r=0;const o=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const u=Date.now(),c=r[a];o||(o=u),n[i]=s,r[i]=u;let l=a,d=0;for(;l!==i;)d+=n[l++],l%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),u-o<e)return;const p=c&&u-c;return p?Math.round(1e3*d/p):void 0}}(50,250);return function(t,e){let n,r,o=0,i=1e3/e;const a=(e,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),s=e-o;s>=i?a(t,e):(n=t,r||(r=setTimeout((()=>{r=null,a(n)}),i-s)))},()=>n&&a(n)]}((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,u=o(s);r=i;t({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:n,lengthComputable:null!=a,[e?"download":"upload"]:!0})}),n)},ee=(t,e)=>{const n=null!=t;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},ne=t=>(...e)=>mt.asap((()=>t(...e)));var re=Ut.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Ut.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Ut.origin),Ut.navigator&&/(msie|trident)/i.test(Ut.navigator.userAgent)):()=>!0,oe=Ut.hasStandardBrowserEnv?{write(t,e,n,r,o,i){const a=[t+"="+encodeURIComponent(e)];mt.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),mt.isString(r)&&a.push("path="+r),mt.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function ie(t,e,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);return t&&(r||0==n)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const ae=t=>t instanceof Jt?{...t}:t;function se(t,e){e=e||{};const n={};function r(t,e,n,r){return mt.isPlainObject(t)&&mt.isPlainObject(e)?mt.merge.call({caseless:r},t,e):mt.isPlainObject(e)?mt.merge({},e):mt.isArray(e)?e.slice():e}function o(t,e,n,o){return mt.isUndefined(e)?mt.isUndefined(t)?void 0:r(void 0,t,0,o):r(t,e,0,o)}function i(t,e){if(!mt.isUndefined(e))return r(void 0,e)}function a(t,e){return mt.isUndefined(e)?mt.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function s(n,o,i){return i in e?r(n,o):i in t?r(void 0,n):void 0}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e,n)=>o(ae(t),ae(e),0,!0)};return mt.forEach(Object.keys(Object.assign({},t,e)),(function(r){const i=u[r]||o,a=i(t[r],e[r],r);mt.isUndefined(a)&&i!==s||(n[r]=a)})),n}var ue=t=>{const e=se({},t);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:u}=e;if(e.headers=s=Jt.from(s),e.url=Ot(ie(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),mt.isFormData(r))if(Ut.hasStandardBrowserEnv||Ut.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[t,...e]=n?n.split(";").map((t=>t.trim())).filter(Boolean):[];s.setContentType([t||"multipart/form-data",...e].join("; "))}if(Ut.hasStandardBrowserEnv&&(o&&mt.isFunction(o)&&(o=o(e)),o||!1!==o&&re(e.url))){const t=i&&a&&oe.read(a);t&&s.set(i,t)}return e};var ce="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const r=ue(t);let o=r.data;const i=Jt.from(r.headers).normalize();let a,s,u,c,l,{responseType:d,onUploadProgress:p,onDownloadProgress:f}=r;function h(){c&&c(),l&&l(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let y=new XMLHttpRequest;function g(){if(!y)return;const r=Jt.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());Zt((function(t){e(t),h()}),(function(t){n(t),h()}),{data:d&&"text"!==d&&"json"!==d?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:t,request:y}),y=null}y.open(r.method.toUpperCase(),r.url,!0),y.timeout=r.timeout,"onloadend"in y?y.onloadend=g:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(g)},y.onabort=function(){y&&(n(new vt("Request aborted",vt.ECONNABORTED,t,y)),y=null)},y.onerror=function(){n(new vt("Network Error",vt.ERR_NETWORK,t,y)),y=null},y.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||xt;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new vt(e,o.clarifyTimeoutError?vt.ETIMEDOUT:vt.ECONNABORTED,t,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&mt.forEach(i.toJSON(),(function(t,e){y.setRequestHeader(e,t)})),mt.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),d&&"json"!==d&&(y.responseType=r.responseType),f&&([u,l]=te(f,!0),y.addEventListener("progress",u)),p&&y.upload&&([s,c]=te(p),y.upload.addEventListener("progress",s),y.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=e=>{y&&(n(!e||e.type?new $t(null,t,y):e),y.abort(),y=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const m=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(r.url);m&&-1===Ut.protocols.indexOf(m)?n(new vt("Unsupported protocol "+m+":",vt.ERR_BAD_REQUEST,t)):y.send(o||null)}))};var le=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,r=new AbortController;const o=function(t){if(!n){n=!0,a();const e=t instanceof Error?t:this.reason;r.abort(e instanceof vt?e:new $t(e instanceof Error?e.message:e))}};let i=e&&setTimeout((()=>{i=null,o(new vt(`timeout ${e} of ms exceeded`,vt.ETIMEDOUT))}),e);const a=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)})),t=null)};t.forEach((t=>t.addEventListener("abort",o)));const{signal:s}=r;return s.unsubscribe=()=>mt.asap(a),s}};const de=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let r,o=0;for(;o<n;)r=o+e,yield t.slice(o,r),o=r},pe=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}},fe=(t,e,n,r)=>{const o=async function*(t,e){for await(const n of pe(t))yield*de(n,e)}(t,e);let i,a=0,s=t=>{i||(i=!0,r&&r(t))};return new ReadableStream({async pull(t){try{const{done:e,value:r}=await o.next();if(e)return s(),void t.close();let i=r.byteLength;if(n){let t=a+=i;n(t)}t.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel:t=>(s(t),o.return())},{highWaterMark:2})},he="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,ye=he&&"function"==typeof ReadableStream,ge=he&&("function"==typeof TextEncoder?(me=new TextEncoder,t=>me.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var me;const ve=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},be=ye&&ve((()=>{let t=!1;const e=new Request(Ut.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),Ee=ye&&ve((()=>mt.isReadableStream(new Response("").body))),Ce={stream:Ee&&(t=>t.body)};var ke;he&&(ke=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Ce[t]&&(Ce[t]=mt.isFunction(ke[t])?e=>e[t]():(e,n)=>{throw new vt(`Response type '${t}' is not supported`,vt.ERR_NOT_SUPPORT,n)})})));const _e=async(t,e)=>{const n=mt.toFiniteNumber(t.getContentLength());return null==n?(async t=>{if(null==t)return 0;if(mt.isBlob(t))return t.size;if(mt.isSpecCompliantForm(t)){const e=new Request(Ut.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return mt.isArrayBufferView(t)||mt.isArrayBuffer(t)?t.byteLength:(mt.isURLSearchParams(t)&&(t+=""),mt.isString(t)?(await ge(t)).byteLength:void 0)})(e):n};const we={http:null,xhr:ce,fetch:he&&(async t=>{let{url:e,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:u,responseType:c,headers:l,withCredentials:d="same-origin",fetchOptions:p}=ue(t);c=c?(c+"").toLowerCase():"text";let f,h=le([o,i&&i.toAbortSignal()],a);const y=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let g;try{if(u&&be&&"get"!==n&&"head"!==n&&0!==(g=await _e(l,r))){let t,n=new Request(e,{method:"POST",body:r,duplex:"half"});if(mt.isFormData(r)&&(t=n.headers.get("content-type"))&&l.setContentType(t),n.body){const[t,e]=ee(g,te(ne(u)));r=fe(n.body,65536,t,e)}}mt.isString(d)||(d=d?"include":"omit");const o="credentials"in Request.prototype;f=new Request(e,{...p,signal:h,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:o?d:void 0});let i=await fetch(f);const a=Ee&&("stream"===c||"response"===c);if(Ee&&(s||a&&y)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=i[e]}));const e=mt.toFiniteNumber(i.headers.get("content-length")),[n,r]=s&&ee(e,te(ne(s),!0))||[];i=new Response(fe(i.body,65536,n,(()=>{r&&r(),y&&y()})),t)}c=c||"text";let m=await Ce[mt.findKey(Ce,c)||"text"](i,t);return!a&&y&&y(),await new Promise(((e,n)=>{Zt(e,n,{data:m,headers:Jt.from(i.headers),status:i.status,statusText:i.statusText,config:t,request:f})}))}catch(e){if(y&&y(),e&&"TypeError"===e.name&&/Load failed|fetch/i.test(e.message))throw Object.assign(new vt("Network Error",vt.ERR_NETWORK,t,f),{cause:e.cause||e});throw vt.from(e,e&&e.code,t,f)}})};mt.forEach(we,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const Se=t=>`- ${t}`,Re=t=>mt.isFunction(t)||null===t||!1===t;var Ie=t=>{t=mt.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let i=0;i<e;i++){let e;if(n=t[i],r=n,!Re(n)&&(r=we[(e=String(n)).toLowerCase()],void 0===r))throw new vt(`Unknown adapter '${e}'`);if(r)break;o[e||"#"+i]=r}if(!r){const t=Object.entries(o).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));throw new vt("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(Se).join("\n"):" "+Se(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function Ae(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new $t(null,t)}function Te(t){Ae(t),t.headers=Jt.from(t.headers),t.data=Yt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Ie(t.adapter||qt.adapter)(t).then((function(e){return Ae(t),e.data=Yt.call(t,t.transformResponse,e),e.headers=Jt.from(e.headers),e}),(function(e){return Xt(e)||(Ae(t),e&&e.response&&(e.response.data=Yt.call(t,t.transformResponse,e.response),e.response.headers=Jt.from(e.response.headers))),Promise.reject(e)}))}const Oe="1.9.0",Pe={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Pe[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const xe={};Pe.transitional=function(t,e,n){function r(t,e){return"[Axios v1.9.0] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,i)=>{if(!1===t)throw new vt(r(o," has been removed"+(e?" in "+e:"")),vt.ERR_DEPRECATED);return e&&!xe[o]&&(xe[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,i)}},Pe.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};var De={assertOptions:function(t,e,n){if("object"!=typeof t)throw new vt("options must be an object",vt.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],a=e[i];if(a){const e=t[i],n=void 0===e||a(e,i,t);if(!0!==n)throw new vt("option "+i+" must be "+n,vt.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new vt("Unknown option "+i,vt.ERR_BAD_OPTION)}},validators:Pe};const Ne=De.validators;let Le=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Pt,response:new Pt}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=se(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:o}=e;void 0!==n&&De.assertOptions(n,{silentJSONParsing:Ne.transitional(Ne.boolean),forcedJSONParsing:Ne.transitional(Ne.boolean),clarifyTimeoutError:Ne.transitional(Ne.boolean)},!1),null!=r&&(mt.isFunction(r)?e.paramsSerializer={serialize:r}:De.assertOptions(r,{encode:Ne.function,serialize:Ne.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),De.assertOptions(e,{baseUrl:Ne.spelling("baseURL"),withXsrfToken:Ne.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&mt.merge(o.common,o[e.method]);o&&mt.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=Jt.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let l,d=0;if(!s){const t=[Te.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,u),l=t.length,c=Promise.resolve(e);d<l;)c=c.then(t[d++],t[d++]);return c}l=a.length;let p=e;for(d=0;d<l;){const t=a[d++],e=a[d++];try{p=t(p)}catch(t){e.call(this,t);break}}try{c=Te.call(this,p)}catch(t){return Promise.reject(t)}for(d=0,l=u.length;d<l;)c=c.then(u[d++],u[d++]);return c}getUri(t){return Ot(ie((t=se(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls),t.params,t.paramsSerializer)}};mt.forEach(["delete","get","head","options"],(function(t){Le.prototype[t]=function(e,n){return this.request(se(n||{},{method:t,url:e,data:(n||{}).data}))}})),mt.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,o){return this.request(se(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Le.prototype[t]=e(),Le.prototype[t+"Form"]=e(!0)}));var Me=Le;class Be{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,o){n.reason||(n.reason=new $t(t,r,o),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new Be((function(e){t=e})),cancel:t}}}var Fe=Be;const Ue={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ue).forEach((([t,e])=>{Ue[e]=t}));var je=Ue;const ze=function t(e){const n=new Me(e),r=T(Me.prototype.request,n);return mt.extend(r,Me.prototype,n,{allOwnKeys:!0}),mt.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(se(e,n))},r}(qt);ze.Axios=Me,ze.CanceledError=$t,ze.CancelToken=Fe,ze.isCancel=Xt,ze.VERSION=Oe,ze.toFormData=St,ze.AxiosError=vt,ze.Cancel=ze.CanceledError,ze.all=function(t){return Promise.all(t)},ze.spread=function(t){return function(e){return t.apply(null,e)}},ze.isAxiosError=function(t){return mt.isObject(t)&&!0===t.isAxiosError},ze.mergeConfig=se,ze.AxiosHeaders=Jt,ze.formToJSON=t=>jt(mt.isHTMLForm(t)?new FormData(t):t),ze.getAdapter=Ie,ze.HttpStatusCode=je,ze.default=ze;var qe=ze,Ve=function(t){function e(e){var n,r,i,a,s=this;return(s=t.call(this,e)||this).token="",null===(r=null===(n=s.instance)||void 0===n?void 0:n.interceptors)||void 0===r||r.request.use((function(t){return o(o({},t),{defaults:{headers:o(o({},t.headers),{Authorization:"Bearer ".concat(s.getToken())})}})}),(function(t){return Promise.reject(t)})),null===(a=null===(i=s.instance)||void 0===i?void 0:i.interceptors)||void 0===a||a.response.use((function(t){return o({},t)}),(function(t){return Promise.reject(t)})),s}return r(e,t),e.prototype.getToken=function(){return"Bearer ".concat(this.token)},e.prototype.setToken=function(t){this.token=t},e.prototype.getUri=function(t){return this.instance.getUri(t)},e.prototype.getCancelTokenSource=function(){var t;return this.cancelToken&&this.cancelToken.cancel(),this.cancelToken=null===(t=qe.CancelToken)||void 0===t?void 0:t.source(),this.cancelToken},e.prototype.request=function(t){var e;return t.cancelToken=null===(e=this.getCancelTokenSource())||void 0===e?void 0:e.token,this.instance.request(t)},e.prototype.get=function(t,e){return this.instance.get(t,e)},e.prototype.options=function(t,e){return this.instance.options(t,e)},e.prototype.delete=function(t,e){return this.instance.delete(t,e)},e.prototype.head=function(t,e){return this.instance.head(t,e)},e.prototype.post=function(t,e,n){return this.instance.post(t,e,n)},e.prototype.put=function(t,e,n){return this.instance.put(t,e,n)},e.prototype.patch=function(t,e,n){return this.instance.patch(t,e,n)},e.prototype.success=function(t){return null==t?void 0:t.data},e.prototype.error=function(t){throw t},e}((function(t){this.instance=qe.create(t)})),Ge="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Qe(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var n=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})})),n}var Ke=TypeError,We=Qe(Object.freeze({__proto__:null,default:{}})),He="function"==typeof Map&&Map.prototype,Je=Object.getOwnPropertyDescriptor&&He?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ye=He&&Je&&"function"==typeof Je.get?Je.get:null,Xe=He&&Map.prototype.forEach,$e="function"==typeof Set&&Set.prototype,Ze=Object.getOwnPropertyDescriptor&&$e?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,tn=$e&&Ze&&"function"==typeof Ze.get?Ze.get:null,en=$e&&Set.prototype.forEach,nn="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,rn="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,on="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,an=Boolean.prototype.valueOf,sn=Object.prototype.toString,un=Function.prototype.toString,cn=String.prototype.match,ln=String.prototype.slice,dn=String.prototype.replace,pn=String.prototype.toUpperCase,fn=String.prototype.toLowerCase,hn=RegExp.prototype.test,yn=Array.prototype.concat,gn=Array.prototype.join,mn=Array.prototype.slice,vn=Math.floor,bn="function"==typeof BigInt?BigInt.prototype.valueOf:null,En=Object.getOwnPropertySymbols,Cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,kn="function"==typeof Symbol&&"object"==typeof Symbol.iterator,_n="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===kn||"symbol")?Symbol.toStringTag:null,wn=Object.prototype.propertyIsEnumerable,Sn=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Rn(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||hn.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var r=t<0?-vn(-t):vn(t);if(r!==t){var o=String(r),i=ln.call(e,o.length+1);return dn.call(o,n,"$&_")+"."+dn.call(dn.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return dn.call(e,n,"$&_")}var In=We,An=In.custom,Tn=Fn(An)?An:null,On={__proto__:null,double:'"',single:"'"},Pn={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},xn=function t(e,n,r,o){var i=n||{};if(jn(i,"quoteStyle")&&!jn(On,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(jn(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!jn(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(jn(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(jn(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return Vn(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var u=String(e);return s?Rn(e,u):u}if("bigint"==typeof e){var c=String(e)+"n";return s?Rn(e,c):c}var l=void 0===i.depth?5:i.depth;if(void 0===r&&(r=0),r>=l&&l>0&&"object"==typeof e)return Mn(e)?"[Array]":"[Object]";var d=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=gn.call(Array(t.indent+1)," ")}return{base:n,prev:gn.call(Array(e+1),n)}}(i,r);if(void 0===o)o=[];else if(qn(o,e)>=0)return"[Circular]";function p(e,n,a){if(n&&(o=mn.call(o)).push(n),a){var s={depth:i.depth};return jn(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),t(e,s,r+1,o)}return t(e,i,r+1,o)}if("function"==typeof e&&!Bn(e)){var f=function(t){if(t.name)return t.name;var e=cn.call(un.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),h=Jn(e,p);return"[Function"+(f?": "+f:" (anonymous)")+"]"+(h.length>0?" { "+gn.call(h,", ")+" }":"")}if(Fn(e)){var y=kn?dn.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Cn.call(e);return"object"!=typeof e||kn?y:Qn(y)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var g="<"+fn.call(String(e.nodeName)),m=e.attributes||[],v=0;v<m.length;v++)g+=" "+m[v].name+"="+Dn(Nn(m[v].value),"double",i);return g+=">",e.childNodes&&e.childNodes.length&&(g+="..."),g+="</"+fn.call(String(e.nodeName))+">"}if(Mn(e)){if(0===e.length)return"[]";var b=Jn(e,p);return d&&!function(t){for(var e=0;e<t.length;e++)if(qn(t[e],"\n")>=0)return!1;return!0}(b)?"["+Hn(b,d)+"]":"[ "+gn.call(b,", ")+" ]"}if(function(t){return"[object Error]"===zn(t)&&Ln(t)}(e)){var E=Jn(e,p);return"cause"in Error.prototype||!("cause"in e)||wn.call(e,"cause")?0===E.length?"["+String(e)+"]":"{ ["+String(e)+"] "+gn.call(E,", ")+" }":"{ ["+String(e)+"] "+gn.call(yn.call("[cause]: "+p(e.cause),E),", ")+" }"}if("object"==typeof e&&a){if(Tn&&"function"==typeof e[Tn]&&In)return In(e,{depth:l-r});if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!Ye||!t||"object"!=typeof t)return!1;try{Ye.call(t);try{tn.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var C=[];return Xe&&Xe.call(e,(function(t,n){C.push(p(n,e,!0)+" => "+p(t,e))})),Wn("Map",Ye.call(e),C,d)}if(function(t){if(!tn||!t||"object"!=typeof t)return!1;try{tn.call(t);try{Ye.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var k=[];return en&&en.call(e,(function(t){k.push(p(t,e))})),Wn("Set",tn.call(e),k,d)}if(function(t){if(!nn||!t||"object"!=typeof t)return!1;try{nn.call(t,nn);try{rn.call(t,rn)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return Kn("WeakMap");if(function(t){if(!rn||!t||"object"!=typeof t)return!1;try{rn.call(t,rn);try{nn.call(t,nn)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return Kn("WeakSet");if(function(t){if(!on||!t||"object"!=typeof t)return!1;try{return on.call(t),!0}catch(t){}return!1}(e))return Kn("WeakRef");if(function(t){return"[object Number]"===zn(t)&&Ln(t)}(e))return Qn(p(Number(e)));if(function(t){if(!t||"object"!=typeof t||!bn)return!1;try{return bn.call(t),!0}catch(t){}return!1}(e))return Qn(p(bn.call(e)));if(function(t){return"[object Boolean]"===zn(t)&&Ln(t)}(e))return Qn(an.call(e));if(function(t){return"[object String]"===zn(t)&&Ln(t)}(e))return Qn(p(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&e===globalThis||void 0!==Ge&&e===Ge)return"{ [object globalThis] }";if(!function(t){return"[object Date]"===zn(t)&&Ln(t)}(e)&&!Bn(e)){var _=Jn(e,p),w=Sn?Sn(e)===Object.prototype:e instanceof Object||e.constructor===Object,S=e instanceof Object?"":"null prototype",R=!w&&_n&&Object(e)===e&&_n in e?ln.call(zn(e),8,-1):S?"Object":"",I=(w||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(R||S?"["+gn.call(yn.call([],R||[],S||[]),": ")+"] ":"");return 0===_.length?I+"{}":d?I+"{"+Hn(_,d)+"}":I+"{ "+gn.call(_,", ")+" }"}return String(e)};function Dn(t,e,n){var r=n.quoteStyle||e,o=On[r];return o+t+o}function Nn(t){return dn.call(String(t),/"/g,"&quot;")}function Ln(t){return!_n||!("object"==typeof t&&(_n in t||void 0!==t[_n]))}function Mn(t){return"[object Array]"===zn(t)&&Ln(t)}function Bn(t){return"[object RegExp]"===zn(t)&&Ln(t)}function Fn(t){if(kn)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!Cn)return!1;try{return Cn.call(t),!0}catch(t){}return!1}var Un=Object.prototype.hasOwnProperty||function(t){return t in this};function jn(t,e){return Un.call(t,e)}function zn(t){return sn.call(t)}function qn(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function Vn(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Vn(ln.call(t,0,e.maxStringLength),e)+r}var o=Pn[e.quoteStyle||"single"];return o.lastIndex=0,Dn(dn.call(dn.call(t,o,"\\$1"),/[\x00-\x1f]/g,Gn),"single",e)}function Gn(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+pn.call(e.toString(16))}function Qn(t){return"Object("+t+")"}function Kn(t){return t+" { ? }"}function Wn(t,e,n,r){return t+" ("+e+") {"+(r?Hn(n,r):gn.call(n,", "))+"}"}function Hn(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+gn.call(t,","+n)+"\n"+e.prev}function Jn(t,e){var n=Mn(t),r=[];if(n){r.length=t.length;for(var o=0;o<t.length;o++)r[o]=jn(t,o)?e(t[o],t):""}var i,a="function"==typeof En?En(t):[];if(kn){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var u in t)jn(t,u)&&(n&&String(Number(u))===u&&u<t.length||kn&&i["$"+u]instanceof Symbol||(hn.call(/[^\w$]/,u)?r.push(e(u,t)+": "+e(t[u],t)):r.push(u+": "+e(t[u],t))));if("function"==typeof En)for(var c=0;c<a.length;c++)wn.call(t,a[c])&&r.push("["+e(a[c])+"]: "+e(t[a[c]],t));return r}var Yn=xn,Xn=Ke,$n=function(t,e,n){for(var r,o=t;null!=(r=o.next);o=r)if(r.key===e)return o.next=r.next,n||(r.next=t.next,t.next=r),r},Zn=Object,tr=Error,er=EvalError,nr=RangeError,rr=ReferenceError,or=SyntaxError,ir=URIError,ar=Math.abs,sr=Math.floor,ur=Math.max,cr=Math.min,lr=Math.pow,dr=Math.round,pr=Number.isNaN||function(t){return t!=t},fr=Object.getOwnPropertyDescriptor;if(fr)try{fr([],"length")}catch(t){fr=null}var hr=fr,yr=Object.defineProperty||!1;if(yr)try{yr({},"a",{value:1})}catch(t){yr=!1}var gr,mr,vr,br,Er,Cr,kr,_r,wr,Sr,Rr,Ir,Ar,Tr,Or,Pr,xr=yr;function Dr(){return Cr?Er:(Cr=1,Er="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function Nr(){return _r?kr:(_r=1,kr=Zn.getPrototypeOf||null)}function Lr(){if(Sr)return wr;Sr=1;var t=Object.prototype.toString,e=Math.max,n=function(t,e){for(var n=[],r=0;r<t.length;r+=1)n[r]=t[r];for(var o=0;o<e.length;o+=1)n[o+t.length]=e[o];return n};return wr=function(r){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(t,e){for(var n=[],r=e||0,o=0;r<t.length;r+=1,o+=1)n[o]=t[r];return n}(arguments,1),s=e(0,o.length-a.length),u=[],c=0;c<s;c++)u[c]="$"+c;if(i=Function("binder","return function ("+function(t,e){for(var n="",r=0;r<t.length;r+=1)n+=t[r],r+1<t.length&&(n+=e);return n}(u,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var t=o.apply(this,n(a,arguments));return Object(t)===t?t:this}return o.apply(r,n(a,arguments))})),o.prototype){var l=function(){};l.prototype=o.prototype,i.prototype=new l,l.prototype=null}return i},wr}function Mr(){if(Ir)return Rr;Ir=1;var t=Lr();return Rr=Function.prototype.bind||t}function Br(){return Tr?Ar:(Tr=1,Ar=Function.prototype.call)}function Fr(){return Pr?Or:(Pr=1,Or=Function.prototype.apply)}var Ur,jr,zr,qr,Vr,Gr,Qr,Kr="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,Wr=Mr(),Hr=Fr(),Jr=Br(),Yr=Kr||Wr.call(Jr,Hr),Xr=Mr(),$r=Ke,Zr=Br(),to=Yr,eo=function(t){if(t.length<1||"function"!=typeof t[0])throw new $r("a function is required");return to(Xr,Zr,t)};var no=Zn,ro=tr,oo=er,io=nr,ao=rr,so=or,uo=Ke,co=ir,lo=ar,po=sr,fo=ur,ho=cr,yo=lr,go=dr,mo=function(t){return pr(t)||0===t?t:t<0?-1:1},vo=Function,bo=function(t){try{return vo('"use strict"; return ('+t+").constructor;")()}catch(t){}},Eo=hr,Co=xr,ko=function(){throw new uo},_o=Eo?function(){try{return ko}catch(t){try{return Eo(arguments,"callee").get}catch(t){return ko}}}():ko,wo=function(){if(br)return vr;br=1;var t="undefined"!=typeof Symbol&&Symbol,e=mr?gr:(mr=1,gr=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0});return vr=function(){return"function"==typeof t&&("function"==typeof Symbol&&("symbol"==typeof t("foo")&&("symbol"==typeof Symbol("bar")&&e())))}}()(),So=function(){if(qr)return zr;qr=1;var t=Dr(),e=Nr(),n=function(){if(jr)return Ur;jr=1;var t,e=eo,n=hr;try{t=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var r=!!t&&n&&n(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return Ur=r&&"function"==typeof r.get?e([r.get]):"function"==typeof i&&function(t){return i(null==t?t:o(t))}}();return zr=t?function(e){return t(e)}:e?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("getProto: not an object");return e(t)}:n?function(t){return n(t)}:null}(),Ro=Nr(),Io=Dr(),Ao=Fr(),To=Br(),Oo={},Po="undefined"!=typeof Uint8Array&&So?So(Uint8Array):Qr,xo={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?Qr:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?Qr:ArrayBuffer,"%ArrayIteratorPrototype%":wo&&So?So([][Symbol.iterator]()):Qr,"%AsyncFromSyncIteratorPrototype%":Qr,"%AsyncFunction%":Oo,"%AsyncGenerator%":Oo,"%AsyncGeneratorFunction%":Oo,"%AsyncIteratorPrototype%":Oo,"%Atomics%":"undefined"==typeof Atomics?Qr:Atomics,"%BigInt%":"undefined"==typeof BigInt?Qr:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?Qr:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?Qr:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?Qr:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":ro,"%eval%":eval,"%EvalError%":oo,"%Float16Array%":"undefined"==typeof Float16Array?Qr:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?Qr:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?Qr:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?Qr:FinalizationRegistry,"%Function%":vo,"%GeneratorFunction%":Oo,"%Int8Array%":"undefined"==typeof Int8Array?Qr:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?Qr:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?Qr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":wo&&So?So(So([][Symbol.iterator]())):Qr,"%JSON%":"object"==typeof JSON?JSON:Qr,"%Map%":"undefined"==typeof Map?Qr:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&wo&&So?So((new Map)[Symbol.iterator]()):Qr,"%Math%":Math,"%Number%":Number,"%Object%":no,"%Object.getOwnPropertyDescriptor%":Eo,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?Qr:Promise,"%Proxy%":"undefined"==typeof Proxy?Qr:Proxy,"%RangeError%":io,"%ReferenceError%":ao,"%Reflect%":"undefined"==typeof Reflect?Qr:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?Qr:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&wo&&So?So((new Set)[Symbol.iterator]()):Qr,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?Qr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":wo&&So?So(""[Symbol.iterator]()):Qr,"%Symbol%":wo?Symbol:Qr,"%SyntaxError%":so,"%ThrowTypeError%":_o,"%TypedArray%":Po,"%TypeError%":uo,"%Uint8Array%":"undefined"==typeof Uint8Array?Qr:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?Qr:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?Qr:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?Qr:Uint32Array,"%URIError%":co,"%WeakMap%":"undefined"==typeof WeakMap?Qr:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?Qr:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?Qr:WeakSet,"%Function.prototype.call%":To,"%Function.prototype.apply%":Ao,"%Object.defineProperty%":Co,"%Object.getPrototypeOf%":Ro,"%Math.abs%":lo,"%Math.floor%":po,"%Math.max%":fo,"%Math.min%":ho,"%Math.pow%":yo,"%Math.round%":go,"%Math.sign%":mo,"%Reflect.getPrototypeOf%":Io};if(So)try{null.error}catch(t){var Do=So(So(t));xo["%Error.prototype%"]=Do}var No,Lo,Mo,Bo,Fo,Uo,jo,zo,qo,Vo=function t(e){var n;if("%AsyncFunction%"===e)n=bo("async function () {}");else if("%GeneratorFunction%"===e)n=bo("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=bo("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&So&&(n=So(o.prototype))}return xo[e]=n,n},Go={__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"]},Qo=Mr(),Ko=function(){if(Gr)return Vr;Gr=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,n=Mr();return Vr=n.call(t,e)}(),Wo=Qo.call(To,Array.prototype.concat),Ho=Qo.call(Ao,Array.prototype.splice),Jo=Qo.call(To,String.prototype.replace),Yo=Qo.call(To,String.prototype.slice),Xo=Qo.call(To,RegExp.prototype.exec),$o=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Zo=/\\(\\)?/g,ti=function(t,e){var n,r=t;if(Ko(Go,r)&&(r="%"+(n=Go[r])[0]+"%"),Ko(xo,r)){var o=xo[r];if(o===Oo&&(o=Vo(r)),void 0===o&&!e)throw new uo("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new so("intrinsic "+t+" does not exist!")},ei=function(t,e){if("string"!=typeof t||0===t.length)throw new uo("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new uo('"allowMissing" argument must be a boolean');if(null===Xo(/^%?[^%]*%?$/,t))throw new so("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(t){var e=Yo(t,0,1),n=Yo(t,-1);if("%"===e&&"%"!==n)throw new so("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new so("invalid intrinsic syntax, expected opening `%`");var r=[];return Jo(t,$o,(function(t,e,n,o){r[r.length]=n?Jo(o,Zo,"$1"):e||t})),r}(t),r=n.length>0?n[0]:"",o=ti("%"+r+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(r=u[0],Ho(n,Wo([0,1],u)));for(var c=1,l=!0;c<n.length;c+=1){var d=n[c],p=Yo(d,0,1),f=Yo(d,-1);if(('"'===p||"'"===p||"`"===p||'"'===f||"'"===f||"`"===f)&&p!==f)throw new so("property names with quotes must have matching quotes");if("constructor"!==d&&l||(s=!0),Ko(xo,i="%"+(r+="."+d)+"%"))a=xo[i];else if(null!=a){if(!(d in a)){if(!e)throw new uo("base intrinsic for "+t+" exists, but the property is not available.");return}if(Eo&&c+1>=n.length){var h=Eo(a,d);a=(l=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:a[d]}else l=Ko(a,d),a=a[d];l&&!s&&(xo[i]=a)}}return a},ni=ei,ri=eo,oi=ri([ni("%String.prototype.indexOf%")]),ii=function(t,e){var n=ni(t,!!e);return"function"==typeof n&&oi(t,".prototype.")>-1?ri([n]):n},ai=ii,si=xn,ui=Ke,ci=ei("%Map%",!0),li=ai("Map.prototype.get",!0),di=ai("Map.prototype.set",!0),pi=ai("Map.prototype.has",!0),fi=ai("Map.prototype.delete",!0),hi=ai("Map.prototype.size",!0),yi=!!ci&&function(){var t,e={assert:function(t){if(!e.has(t))throw new ui("Side channel does not contain "+si(t))},delete:function(e){if(t){var n=fi(t,e);return 0===hi(t)&&(t=void 0),n}return!1},get:function(e){if(t)return li(t,e)},has:function(e){return!!t&&pi(t,e)},set:function(e,n){t||(t=new ci),di(t,e,n)}};return e},gi=ii,mi=xn,vi=yi,bi=Ke,Ei=ei("%WeakMap%",!0),Ci=gi("WeakMap.prototype.get",!0),ki=gi("WeakMap.prototype.set",!0),_i=gi("WeakMap.prototype.has",!0),wi=gi("WeakMap.prototype.delete",!0),Si=Ke,Ri=xn,Ii=(Ei?function(){var t,e,n={assert:function(t){if(!n.has(t))throw new bi("Side channel does not contain "+mi(t))},delete:function(n){if(Ei&&n&&("object"==typeof n||"function"==typeof n)){if(t)return wi(t,n)}else if(vi&&e)return e.delete(n);return!1},get:function(n){return Ei&&n&&("object"==typeof n||"function"==typeof n)&&t?Ci(t,n):e&&e.get(n)},has:function(n){return Ei&&n&&("object"==typeof n||"function"==typeof n)&&t?_i(t,n):!!e&&e.has(n)},set:function(n,r){Ei&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new Ei),ki(t,n,r)):vi&&(e||(e=vi()),e.set(n,r))}};return n}:vi)||yi||function(){var t,e={assert:function(t){if(!e.has(t))throw new Xn("Side channel does not contain "+Yn(t))},delete:function(e){var n=t&&t.next,r=function(t,e){if(t)return $n(t,e,!0)}(t,e);return r&&n&&n===r&&(t=void 0),!!r},get:function(e){return function(t,e){if(t){var n=$n(t,e);return n&&n.value}}(t,e)},has:function(e){return function(t,e){return!!t&&!!$n(t,e)}(t,e)},set:function(e,n){t||(t={next:void 0}),function(t,e,n){var r=$n(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(t,e,n)}};return e},Ai=String.prototype.replace,Ti=/%20/g,Oi="RFC3986",Pi={default:Oi,formatters:{RFC1738:function(t){return Ai.call(t,Ti,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:Oi},xi=Pi,Di=Object.prototype.hasOwnProperty,Ni=Array.isArray,Li=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),Mi=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n},Bi=1024,Fi={arrayToObject:Mi,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var o=e[r],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],c=i[u];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(e.push({obj:i,prop:u}),n.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(Ni(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n,r,o){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===n)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",s=0;s<i.length;s+=Bi){for(var u=i.length>=Bi?i.slice(s,s+Bi):i,c=[],l=0;l<u.length;++l){var d=u.charCodeAt(l);45===d||46===d||95===d||126===d||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||o===xi.RFC1738&&(40===d||41===d)?c[c.length]=u.charAt(l):d<128?c[c.length]=Li[d]:d<2048?c[c.length]=Li[192|d>>6]+Li[128|63&d]:d<55296||d>=57344?c[c.length]=Li[224|d>>12]+Li[128|d>>6&63]+Li[128|63&d]:(l+=1,d=65536+((1023&d)<<10|1023&u.charCodeAt(l)),c[c.length]=Li[240|d>>18]+Li[128|d>>12&63]+Li[128|d>>6&63]+Li[128|63&d])}a+=c.join("")}return a},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(Ni(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,r){if(!n)return e;if("object"!=typeof n){if(Ni(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!Di.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var o=e;return Ni(e)&&!Ni(n)&&(o=Mi(e,r)),Ni(e)&&Ni(n)?(n.forEach((function(n,o){if(Di.call(e,o)){var i=e[o];i&&"object"==typeof i&&n&&"object"==typeof n?e[o]=t(i,n,r):e.push(n)}else e[o]=n})),e):Object.keys(n).reduce((function(e,o){var i=n[o];return Di.call(e,o)?e[o]=t(e[o],i,r):e[o]=i,e}),o)}},Ui=function(){var t,e={assert:function(t){if(!e.has(t))throw new Si("Side channel does not contain "+Ri(t))},delete:function(e){return!!t&&t.delete(e)},get:function(e){return t&&t.get(e)},has:function(e){return!!t&&t.has(e)},set:function(e,n){t||(t=Ii()),t.set(e,n)}};return e},ji=Fi,zi=Pi,qi=Object.prototype.hasOwnProperty,Vi={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},Gi=Array.isArray,Qi=Array.prototype.push,Ki=function(t,e){Qi.apply(t,Gi(e)?e:[e])},Wi=Date.prototype.toISOString,Hi=zi.default,Ji={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:ji.encode,encodeValuesOnly:!1,format:Hi,formatter:zi.formatters[Hi],indices:!1,serializeDate:function(t){return Wi.call(t)},skipNulls:!1,strictNullHandling:!1},Yi={},Xi=function t(e,n,r,o,i,a,s,u,c,l,d,p,f,h,y,g,m,v){for(var b,E=e,C=v,k=0,_=!1;void 0!==(C=C.get(Yi))&&!_;){var w=C.get(e);if(k+=1,void 0!==w){if(w===k)throw new RangeError("Cyclic object value");_=!0}void 0===C.get(Yi)&&(k=0)}if("function"==typeof l?E=l(n,E):E instanceof Date?E=f(E):"comma"===r&&Gi(E)&&(E=ji.maybeMap(E,(function(t){return t instanceof Date?f(t):t}))),null===E){if(a)return c&&!g?c(n,Ji.encoder,m,"key",h):n;E=""}if("string"==typeof(b=E)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||ji.isBuffer(E))return c?[y(g?n:c(n,Ji.encoder,m,"key",h))+"="+y(c(E,Ji.encoder,m,"value",h))]:[y(n)+"="+y(String(E))];var S,R=[];if(void 0===E)return R;if("comma"===r&&Gi(E))g&&c&&(E=ji.maybeMap(E,c)),S=[{value:E.length>0?E.join(",")||null:void 0}];else if(Gi(l))S=l;else{var I=Object.keys(E);S=d?I.sort(d):I}var A=u?n.replace(/\./g,"%2E"):n,T=o&&Gi(E)&&1===E.length?A+"[]":A;if(i&&Gi(E)&&0===E.length)return T+"[]";for(var O=0;O<S.length;++O){var P=S[O],x="object"==typeof P&&void 0!==P.value?P.value:E[P];if(!s||null!==x){var D=p&&u?P.replace(/\./g,"%2E"):P,N=Gi(E)?"function"==typeof r?r(T,D):T:T+(p?"."+D:"["+D+"]");v.set(e,k);var L=Ui();L.set(Yi,v),Ki(R,t(x,N,r,o,i,a,s,u,"comma"===r&&g&&Gi(E)?null:c,l,d,p,f,h,y,g,m,L))}}return R},$i=Fi,Zi=Object.prototype.hasOwnProperty,ta=Array.isArray,ea={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:$i.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},na=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},ra=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},oa=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(o),s=a?o.slice(0,a.index):o,u=[];if(s){if(!n.plainObjects&&Zi.call(Object.prototype,s)&&!n.allowPrototypes)return;u.push(s)}for(var c=0;n.depth>0&&null!==(a=i.exec(o))&&c<n.depth;){if(c+=1,!n.plainObjects&&Zi.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(a[1])}if(a){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");u.push("["+o.slice(a.index)+"]")}return function(t,e,n,r){for(var o=r?e:ra(e,n),i=t.length-1;i>=0;--i){var a,s=t[i];if("[]"===s&&n.parseArrays)a=n.allowEmptyArrays&&(""===o||n.strictNullHandling&&null===o)?[]:[].concat(o);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=n.decodeDotInKeys?u.replace(/%2E/g,"."):u,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:"__proto__"!==c&&(a[c]=o):a={0:o}}o=a}return o}(u,e,n,r)}},ia=function(t,e){var n,r=t,o=function(t){if(!t)return Ji;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.encodeDotInKeys&&"boolean"!=typeof t.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||Ji.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=zi.default;if(void 0!==t.format){if(!qi.call(zi.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r,o=zi.formatters[n],i=Ji.filter;if(("function"==typeof t.filter||Gi(t.filter))&&(i=t.filter),r=t.arrayFormat in Vi?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":Ji.arrayFormat,"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=void 0===t.allowDots?!0===t.encodeDotInKeys||Ji.allowDots:!!t.allowDots;return{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:Ji.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:Ji.allowEmptyArrays,arrayFormat:r,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:Ji.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:void 0===t.delimiter?Ji.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:Ji.encode,encodeDotInKeys:"boolean"==typeof t.encodeDotInKeys?t.encodeDotInKeys:Ji.encodeDotInKeys,encoder:"function"==typeof t.encoder?t.encoder:Ji.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:Ji.encodeValuesOnly,filter:i,format:n,formatter:o,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:Ji.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:Ji.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:Ji.strictNullHandling}}(e);"function"==typeof o.filter?r=(0,o.filter)("",r):Gi(o.filter)&&(n=o.filter);var i=[];if("object"!=typeof r||null===r)return"";var a=Vi[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;n||(n=Object.keys(r)),o.sort&&n.sort(o.sort);for(var u=Ui(),c=0;c<n.length;++c){var l=n[c];o.skipNulls&&null===r[l]||Ki(i,Xi(r[l],l,a,s,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,u))}var d=i.join(o.delimiter),p=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?p+="utf8=%26%2310003%3B&":p+="utf8=%E2%9C%93&"),d.length>0?p+d:""},aa=function(t,e){var n=function(t){if(!t)return ea;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?ea.charset:t.charset,n=void 0===t.duplicates?ea.duplicates:t.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===t.allowDots?!0===t.decodeDotInKeys||ea.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:ea.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:ea.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:ea.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:ea.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:ea.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:ea.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:ea.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:ea.decoder,delimiter:"string"==typeof t.delimiter||$i.isRegExp(t.delimiter)?t.delimiter:ea.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:ea.depth,duplicates:n,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:ea.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:ea.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:ea.plainObjects,strictDepth:"boolean"==typeof t.strictDepth?!!t.strictDepth:ea.strictDepth,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:ea.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof t?function(t,e){var n={__proto__:null},r=e.ignoreQueryPrefix?t.replace(/^\?/,""):t;r=r.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o,i=e.parameterLimit===1/0?void 0:e.parameterLimit,a=r.split(e.delimiter,i),s=-1,u=e.charset;if(e.charsetSentinel)for(o=0;o<a.length;++o)0===a[o].indexOf("utf8=")&&("utf8=%E2%9C%93"===a[o]?u="utf-8":"utf8=%26%2310003%3B"===a[o]&&(u="iso-8859-1"),s=o,o=a.length);for(o=0;o<a.length;++o)if(o!==s){var c,l,d=a[o],p=d.indexOf("]="),f=-1===p?d.indexOf("="):p+1;-1===f?(c=e.decoder(d,ea.decoder,u,"key"),l=e.strictNullHandling?null:""):(c=e.decoder(d.slice(0,f),ea.decoder,u,"key"),l=$i.maybeMap(ra(d.slice(f+1),e),(function(t){return e.decoder(t,ea.decoder,u,"value")}))),l&&e.interpretNumericEntities&&"iso-8859-1"===u&&(l=na(l)),d.indexOf("[]=")>-1&&(l=ta(l)?[l]:l);var h=Zi.call(n,c);h&&"combine"===e.duplicates?n[c]=$i.combine(n[c],l):h&&"last"!==e.duplicates||(n[c]=l)}return n}(t,n):t,o=n.plainObjects?Object.create(null):{},i=Object.keys(r),a=0;a<i.length;++a){var s=i[a],u=oa(s,r[s],n,"string"==typeof t);o=$i.merge(o,u,n)}return!0===n.allowSparse?o:$i.compact(o)},sa={formats:Pi,parse:aa,stringify:ia},ua={withCredentials:!0,timeout:9e4,baseURL:"https://jsonplaceholder.typicode.com/",headers:{"Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache","Content-Type":"application/json",Accept:"application/json"},paramsSerializer:function(t){return sa.stringify(t,{indices:!1})}};!function(t){var e,n;(e=t.NotificationStatus||(t.NotificationStatus={})).SETTLED="SETTLED",e.NOT_SETTLED="NOT_SETTLED",(n=t.NotificationReason||(t.NotificationReason={})).REFUNDED="REFUNDED",n.RESOLVED="RESOLVED",n.CANCELLED="CANCELLED",n.SERVICE_SUSPENDED="SERVICE_SUSPENDED",n.ORDER_STOPPED="ORDER_STOPPED",n.DISMISS="DISMISS"}(No||(No={})),function(t){var e;(e=t.CustomClaims||(t.CustomClaims={})).ORGANIZATION_CODE="https://dashboard.dev.y.uno/organization_code",e.USER_CODE="https://dashboard.dev.y.uno/user_code",e.USER_EMAIL="https://dashboard.dev.y.uno/user_email"}(Lo||(Lo={})),function(t){var e;(e=t.CountryCode||(t.CountryCode={})).COLOMBIA="CO",e.MEXICO="MX",e.BRAZIL="BR",e.ARGENTINA="AR",e.CHILE="CL",e.PERU="PE",e.URUGUAY="UR",e.ECUADOR="EC"}(Mo||(Mo={})),function(t){var e,n;(e=t.Locale||(t.Locale={})).EN="en",e.ES="es",e.PT="pt",(n=t.Target||(t.Target={})).BLANK="_blank",n.PARENT="_parent",n.SELF="_self",n.TOP="_top"}(Bo||(Bo={})),function(t){t.PAYMENTS="PAYMENTS",t.TRANSACTIONS="TRANSACTIONS",t.FRAUD_TRANSACTIONS="FRAUD_TRANSACTIONS",t.PAYOUTS="PAYOUTS"}(Fo||(Fo={})),function(t){t.ALL="ALL",t.DEFAULT="DEFAULT",t.CUSTOM="CUSTOM"}(Uo||(Uo={})),function(t){var e;(e=t.InsightsVolumeMetricsV2Path||(t.InsightsVolumeMetricsV2Path={})).REFUNDS_AND_CHARGEBACKS="refunds-and-chargebacks",e.APPROVED_PAYMENTS="approved-payments",e.PAYMENT_METHODS="payment-methods",e.PROVIDERS="providers",e.COUNTRIES="countries",e.UNIQUE_CUSTOMER_PAYMENTS="unique-customer-payments",e.TOTAL_PAYMENTS="total-payments",function(t){t.GENERAL="volume-and-total-payments",t.LATENCY="provider-latency",t.STATUS="status",t.SUBSCRIPTIONS="subscriptions"}(t.OverviewMetricType||(t.OverviewMetricType={}))}(jo||(jo={})),function(t){t.TRANSACTIONS="TRANSACTION_RECONCILIATION",t.SETTLEMENTS="SETTLEMENTS",t.SETTLEMENTS_HEADER="SETTLEMENTS_HEADER",t.AGENDA="AGENDA",t.SALES_CONCILIATION="SALES_CONCILIATION",t.ADVANCEMENTS="ADVANCEMENTS",t.FEES="FEES"}(zo||(zo={})),function(t){t.TOTAL_AMOUNT="AGENDA_TOTAL_AMOUNT",t.DAILY="AGENDA_DAILY_DISTRIBUTION",t.PAYMENT_METHOD="AGENDA_PAYMENT_METHOD_DISTRIBUTION",t.CARD_BRAND="AGENDA_CARD_BRAND_DISTRIBUTION"}(qo||(qo={}));var ca=["PAUSED","ACTIVE"],la={PAUSED:"pause",DELETED:"delete",ACTIVE:"unpause"},da="DELETED",pa={CR_CARD_BIN:"bin",CR_CARD_BRAND:"brand",CR_CARD_ISSUER_NAME:"issuer-name",CR_CARD_TYPE:"type",CR_FALLBACK:"fallback"},fa=function(t){return!(null==t?void 0:t.data)||"string"==typeof(null==t?void 0:t.data)&&""===(null==t?void 0:t.data)},ha=[{status:"CREATED",sub_status:"CREATED",icon:"FlagBanner",type:"info",label:"Created",sub_status_icon:"FlagBanner",sub_status_label:"Created"},{status:"CREATED",sub_status:"REJECTED",icon:"WarningCircle",type:"error",label:"Created",sub_status_icon:"WarningCircle",sub_status_label:"Rejected"},{status:"ERROR",sub_status:"CREATED",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Created"},{status:"ERROR",sub_status:"ERROR",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Error"},{status:"ERROR",sub_status:"TIMEOUT",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Timeout"},{status:"ERROR",sub_status:"PENDING_REVERSE",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Pending reverse"},{status:"ERROR",sub_status:"REVERSED_BY_TIMEOUT",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Reversed by timeout"},{status:"SUCCEEDED",sub_status:"CREATED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Created"},{status:"SUCCEEDED",sub_status:"PARTIALLY_APPROVED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Partially approved"},{status:"SUCCEEDED",sub_status:"APPROVED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Approved"},{status:"SUCCEEDED",sub_status:"CAPTURED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Captured"},{status:"SUCCEEDED",sub_status:"PARTIALLY_CAPTURED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Partially captured"},{status:"SUCCEEDED",sub_status:"PARTIALLY_REFUNDED",icon:"ArrowCircleLeft",type:"success",label:"Succeeded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Partially refunded"},{status:"CANCELED",sub_status:"CREATED",icon:"Prohibit",type:"error",label:"Canceled",sub_status_icon:"Prohibit",sub_status_label:"Created"},{status:"CANCELED",sub_status:"PENDING_PROVIDER_CONFIRMATION",icon:"Clock",type:"info",label:"Cancellation pending",sub_status_icon:"Clock",sub_status_label:"Pending provider confirmation"},{status:"CANCELED",sub_status:"CANCELED",icon:"Prohibit",type:"error",label:"Canceled",sub_status_icon:"Prohibit",sub_status_label:"Canceled"},{status:"DECLINED",sub_status:"CREATED",icon:"Prohibit",type:"error",label:"Declined",sub_status_icon:"Prohibit",sub_status_label:"Created"},{status:"DECLINED",sub_status:"DECLINED",icon:"Prohibit",type:"error",label:"Declined",sub_status_icon:"Prohibit",sub_status_label:"Declined"},{status:"REJECTED",sub_status:"CREATED",icon:"Prohibit",type:"error",label:"Rejected",sub_status_icon:"Prohibit",sub_status_label:"Created"},{status:"REJECTED",sub_status:"REJECTED",icon:"Prohibit",type:"error",label:"Rejected",sub_status_icon:"Prohibit",sub_status_label:"Rejected"},{status:"REFUNDED",sub_status:"CREATED",icon:"ArrowCircleLeft",type:"secondary",label:"Refunded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Created"},{status:"REFUNDED",sub_status:"PARTIALLY_REFUNDED",icon:"ArrowCircleLeft",type:"success",label:"Refunded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Partially refunded"},{status:"REFUNDED",sub_status:"PENDING_PROVIDER_CONFIRMATION",icon:"Clock",type:"secondary",label:"Refunded",sub_status_icon:"Clock",sub_status_label:"Pending provider confirmation"},{status:"REFUNDED",sub_status:"REFUNDED",icon:"ArrowCircleLeft",type:"secondary",label:"Refunded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Refunded"},{status:"PENDING",sub_status:"CREATED",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Created"},{status:"PENDING",sub_status:"AUTHORIZED",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Authorized"},{status:"PENDING",sub_status:"WAITING_ADDITIONAL_STEP",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Waiting additional step"},{status:"PENDING",sub_status:"PENDING_PROVIDER_CONFIRMATION",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Pending provider confirmation"},{status:"VERIFIED",sub_status:"CREATED",icon:"CheckCircle",type:"success",label:"Verified",sub_status_icon:"CheckCircle",sub_status_label:"Created"},{status:"VERIFIED",sub_status:"VERIFIED",icon:"CheckCircle",type:"success",label:"Verified",sub_status_icon:"CheckCircle",sub_status_label:"Verified"},{status:"READY_TO_PAY",sub_status:"CREATED",icon:"FlagBanner",type:"info",label:"Ready to pay",sub_status_icon:"FlagBanner",sub_status_label:"Created"},{status:"READY_TO_PAY",sub_status:"READY_TO_PAY",icon:"FlagBanner",type:"info",label:"Ready to pay",sub_status_icon:"FlagBanner",sub_status_label:"Ready to pay"},{status:"EXPIRED",sub_status:"CREATED",icon:"Clock",type:"error",label:"Expired",sub_status_icon:"Clock",sub_status_label:"Created"},{status:"EXPIRED",sub_status:"EXPIRED",icon:"Clock",type:"error",label:"Expired",sub_status_icon:"Clock",sub_status_label:"Expired"},{status:"PENDING",sub_status:"IN_PROCESS",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"In process"},{status:"PENDING",sub_status:"PENDING_FRAUD_REVIEW",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Pending fraud review"},{status:"REJECTED",sub_status:"FRAUD_DECLINED",icon:"Prohibit",type:"error",label:"Rejected",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"},{status:"DECLINED",sub_status:"FRAUD_DECLINED",icon:"Prohibit",type:"error",label:"Declined",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"},{status:"FRAUD_VERIFIED",sub_status:"FRAUD_SCREENING_VERIFIED",icon:"CheckCircle",type:"success",label:"Fraud verified",sub_status_icon:"CheckCircle",sub_status_label:"Fraud screening verified"},{status:"SUCCEEDED",sub_status:"PARTIALLY_CHARGEBACKED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Partially chargebacked"},{status:"IN_DISPUTE",sub_status:"RECEIVED",icon:"ArrowCircleLeft",type:"secondary",label:"In dispute",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Received"},{status:"IN_DISPUTE",sub_status:"PENDING_REVIEW",icon:"ArrowCircleLeft",type:"secondary",label:"In dispute",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Pending review"},{status:"CHARGEBACK",sub_status:"LOST",icon:"Prohibit",type:"error",label:"Chargeback",sub_status_icon:"Prohibit",sub_status_label:"Lost"},{status:"SUCCEEDED",sub_status:"VERIFIED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Verified"},{status:"SUCCEEDED",sub_status:"FRAUD_DECLINED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"},{status:"PENDING",sub_status:"FRAUD_DECLINED",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"}],ya=[{status:"SUCCEEDED",icon:"CheckCircle",type:"success",label:"Succeeded"},{status:"CREATED",icon:"FlagBanner",type:"info",label:"Created"},{status:"ERROR",icon:"WarningCircle",type:"error",label:"Error"},{status:"EXPIRED",icon:"Clock",type:"error",label:"Expired"},{status:"CANCELED",icon:"Prohibit",type:"error",label:"Canceled"},{status:"DECLINED",icon:"Prohibit",type:"error",label:"Declined"},{status:"PENDING",icon:"Clock",type:"warning",label:"Pending"},{status:"REJECTED",icon:"Prohibit",type:"error",label:"Rejected"},{status:"WON",icon:"CheckCircle",type:"success",label:"Won"},{status:"LOST",icon:"WarningCircle",type:"error",label:"Lost"}],ga=[{id:1,status:"RECONCILED",sub_status:"AUTOMATICALLY",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Automatically",sub_status_icon:"CheckCircle"},{id:2,status:"RECONCILED",sub_status:"MANUALLY",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Manually",sub_status_icon:"CheckCircle"},{id:3,status:"NOT_RECONCILED",sub_status:"PENDING",type:"warning",label:"Not reconciled",icon:"Clock",sub_status_label:"Pending",sub_status_icon:"Clock"},{id:4,status:"NOT_RECONCILED",sub_status:"MISSING",type:"warning",label:"Not reconciled",icon:"Clock",sub_status_label:"Missing",sub_status_icon:"Clock"},{id:5,status:"RECONCILED",sub_status:"STATUS_CONFLICT",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Status conflict",sub_status_icon:"CheckCircle"},{id:6,status:"RECONCILED",sub_status:"DATE_CONFLICT",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Date conflict",sub_status_icon:"CheckCircle"},{id:7,status:"RECONCILED",sub_status:"AMOUNT_CONFLICT",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Amount conflict",sub_status_icon:"CheckCircle"},{id:8,status:"RECONCILING_INSTALLMENTS",sub_status:"PENDING_INSTALLMENTS",type:"warning",label:"Reconciling installments",icon:"Clock",sub_status_label:"Pending installments",sub_status_icon:"Clock"},{id:9,status:"NON_RECONCILABLE",sub_status:"AUTOMATICALLY",type:"warning",label:"Non Reconciliable",icon:"Clock",sub_status_label:"Automatically",sub_status_icon:"Clock"}],ma=[{identifier:"America/Argentina/Buenos_Aires",utc_offset:{dst:"-03:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Asuncion",utc_offset:{dst:"-04:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/Bogota",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Caracas",utc_offset:{dst:"-04:00",std:"-04:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/Chicago",utc_offset:{dst:"-05:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Costa_Rica",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/El_Salvador",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Guatemala",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Guayaquil",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Havana",utc_offset:{dst:"-05:00",std:"-04:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/La_Paz",utc_offset:{dst:"-04:00",std:"-04:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/Lima",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Managua",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Mexico_City",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Montevideo",utc_offset:{dst:"-03:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Panama",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Phoenix",utc_offset:{dst:"-07:00",std:"-07:00"},abbreviation:{dst:"GMT",std:"-7"}},{identifier:"America/Santiago",utc_offset:{dst:"-04:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Sao_Paulo",utc_offset:{dst:"-03:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Tegucigalpa",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"Asia/Famagusta",utc_offset:{dst:"+02:00",std:"+03:00"},abbreviation:{dst:"EET",std:""}},{identifier:"Asia/Seoul",utc_offset:{dst:"+09:00",std:"+09:00"},abbreviation:{dst:"KST",std:""}},{identifier:"Asia/Shanghai",utc_offset:{dst:"+08:00",std:"+08:00"},abbreviation:{dst:"CST",std:""}},{identifier:"Asia/Tokyo",utc_offset:{dst:"+09:00",std:"+09:00"},abbreviation:{dst:"JST",std:""}},{identifier:"Australia/Sydney",utc_offset:{dst:"+10:00",std:"+11:00"},abbreviation:{dst:"AEST",std:""}},{identifier:"Coordinated Universal Time",utc_offset:{dst:"+00:00",std:"+00:00"},abbreviation:{dst:"UTC",std:""}},{identifier:"Europe/Madrid",utc_offset:{dst:"+01:00",std:"+01:00"},abbreviation:{dst:"GMT",std:"+1"}},{identifier:"Europe/Moscow",utc_offset:{dst:"+03:00",std:"+03:00"},abbreviation:{dst:"MSK",std:""}},{identifier:"India",utc_offset:{dst:"+03:00",std:"+03:00"},abbreviation:{dst:"IST",std:""}}],va=[{id:1,value:"ACCOUNTS",type:"source"},{id:2,value:"CHECKOUT",type:"source"},{id:3,value:"CREATE",type:"event"},{id:4,value:"UPDATE",type:"event"},{id:5,value:"CONNECTIONS",type:"source"},{id:6,value:"ROLES",type:"source"},{id:7,value:"ROUTING",type:"source"},{id:8,value:"TEAMS",type:"source"},{id:9,value:"WEBHOOKS",type:"source"},{id:10,value:"PAYMENT_LINKS",type:"source"},{id:11,value:"DELETE",type:"event"}],ba={docs_url:"https://docs.y.uno/reference/api-reference-overview"},Ea={en:[{text:"Home",pathname:"/",position:1,icon:"Monitor",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"Insights",pathname:"/insights",position:2,icon:"ChartLine",type:null,target:null,permission:"access_actionable_payment_insights",locale:"en",submenues:null},{text:"Payments",pathname:"/payments",position:3,icon:"ArrowsLeftRight",type:null,target:null,permission:"view_payment_transactions",locale:"en",submenues:null},{text:"Risk conditions",pathname:"/risk-conditions",position:4,icon:"ShieldWarning",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"Payment links",pathname:"/payment-links",position:5,icon:"LinkSimple",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"Connections",pathname:"/connections",position:6,icon:"BoundingBox",type:null,target:null,permission:"view_connections",locale:"en",submenues:null},{text:"Reconciliations",pathname:"/reconciliations",position:7,icon:"Swap",type:null,target:null,permission:"view_settlement_reports",locale:"en",submenues:null},{text:"Routing",pathname:"/routing",position:8,icon:"TreeStructure",type:null,target:null,permission:"view_your_processing_routes",locale:"en",submenues:null},{text:"Checkout builder",pathname:"/checkout-builder",position:9,icon:"ShoppingCart",type:null,target:null,permission:"view_your_checkout",locale:"en",submenues:null},{text:"Developers",pathname:"/developers",position:10,icon:"Code",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"SUPPORT",pathname:null,position:11,icon:"Monitor",type:"SUB_HEADER",target:null,permission:"all",locale:"en",submenues:null},{text:"API Reference",pathname:"https://docs.y.uno/reference/introduction",position:13,icon:"TerminalWindow",type:null,target:"_blank",permission:"all",locale:"en",submenues:null},{text:"Audit logs",pathname:"/audit",position:14,icon:"FileSearch",type:null,target:null,permission:"all",locale:"en",submenues:null}],pt:[{text:"Pagamentos",pathname:"/payments",position:3,icon:"ArrowsLeftRight",type:null,target:null,permission:"view_payment_transactions",locale:"pt",submenues:null},{text:"Início",pathname:"/",position:1,icon:"Monitor",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Insights",pathname:"/insights",position:2,icon:"ChartLine",type:null,target:null,permission:"access_actionable_payment_insights",locale:"pt",submenues:null},{text:"ASSISTÊNCIA",pathname:null,position:11,icon:"Monitor",type:"SUB_HEADER",target:null,permission:"all",locale:"pt",submenues:null},{text:"Risk conditions",pathname:"/risk-conditions",position:4,icon:"ShieldWarning",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Checkout builder",pathname:"/checkout-builder",position:9,icon:"ShoppingCart",type:null,target:null,permission:"view_your_checkout",locale:"pt",submenues:null},{text:"Programadores",pathname:"/developers",position:10,icon:"Code",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Links de pagamento",pathname:"/payment-links",position:5,icon:"LinkSimple",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Reconciliações",pathname:"/reconciliations",position:7,icon:"Swap",type:null,target:null,permission:"view_settlement_reports",locale:"pt",submenues:null},{text:"Auditoria",pathname:"/audit",position:14,icon:"FileSearch",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"API referência",pathname:"https://docs.y.uno/reference/introduction",position:13,icon:"TerminalWindow",type:null,target:"_blank",permission:"all",locale:"pt",submenues:null},{text:"Conexões",pathname:"/connections",position:6,icon:"BoundingBox",type:null,target:null,permission:"view_connections",locale:"pt",submenues:null},{text:"Roteamento",pathname:"/routing",position:8,icon:"TreeStructure",type:null,target:null,permission:"view_your_processing_routes",locale:"pt",submenues:null}],es:[{text:"Insights",pathname:"/insights",position:2,icon:"ChartLine",type:null,target:null,permission:"access_actionable_payment_insights",locale:"es",submenues:null},{text:"Inicio",pathname:"/",position:1,icon:"Monitor",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Pagos",pathname:"/payments",position:3,icon:"ArrowsLeftRight",type:null,target:null,permission:"view_payment_transactions",locale:"es",submenues:null},{text:"Ruteo",pathname:"/routing",position:8,icon:"TreeStructure",type:null,target:null,permission:"view_your_processing_routes",locale:"es",submenues:null},{text:"Checkout builder",pathname:"/checkout-builder",position:9,icon:"ShoppingCart",type:null,target:null,permission:"view_your_checkout",locale:"es",submenues:null},{text:"Desarrolladores",pathname:"/developers",position:10,icon:"Code",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Registros de auditoria",pathname:"/audit",position:14,icon:"FileSearch",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"ASISTENCIA",pathname:null,position:11,icon:"Monitor",type:"SUB_HEADER",target:null,permission:"all",locale:"es",submenues:null},{text:"Risk conditions",pathname:"/risk-conditions",position:4,icon:"ShieldWarning",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Documentación de la API",pathname:"https://docs.y.uno/reference/introduction",position:13,icon:"TerminalWindow",type:null,target:"_blank",permission:"all",locale:"es",submenues:null},{text:"Enlaces de pago",pathname:"/payment-links",position:5,icon:"LinkSimple",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Conexiones",pathname:"/connections",position:6,icon:"BoundingBox",type:null,target:null,permission:"view_connections",locale:"es",submenues:null},{text:"Conciliaciones",pathname:"/reconciliations",position:7,icon:"Swap",type:null,target:null,permission:"view_settlement_reports",locale:"es",submenues:null}]},Ca=[{code:"en",name:"English (en)"},{code:"es",name:"Spanish (es)"},{code:"pt",name:"Portuguese (pt)"}];const ka=[];for(let t=0;t<256;++t)ka.push((t+256).toString(16).slice(1));let _a;const wa=new Uint8Array(16);var Sa={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Ra(t,e,n){if(Sa.randomUUID&&!e&&!t)return Sa.randomUUID();const r=(t=t||{}).random??t.rng?.()??function(){if(!_a){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");_a=crypto.getRandomValues.bind(crypto)}return _a(wa)}();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){if((n=n||0)<0||n+16>e.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let t=0;t<16;++t)e[n+t]=r[t];return e}return function(t,e=0){return(ka[t[e+0]]+ka[t[e+1]]+ka[t[e+2]]+ka[t[e+3]]+"-"+ka[t[e+4]]+ka[t[e+5]]+"-"+ka[t[e+6]]+ka[t[e+7]]+"-"+ka[t[e+8]]+ka[t[e+9]]+"-"+ka[t[e+10]]+ka[t[e+11]]+ka[t[e+12]]+ka[t[e+13]]+ka[t[e+14]]+ka[t[e+15]]).toLowerCase()}(r)}var Ia=function(t){return{account_codes:t&&(null==t?void 0:t.length)>0?null==t?void 0:t.split(","):[]}},Aa=function(t){function a(e){var n=e?o(o({},ua),e):ua;return t.call(this,n)||this}return r(a,t),a.prototype.simulateAxiosError=function(){return new Promise((function(t,e){e({name:"AxiosError"})}))},a.prototype.updateReconciliationReportTemplate=function(t){var e=t.type===zo.TRANSACTIONS?"TRANSACTIONS":t.type,n=o(o({},t),{type:e});return this.put("/v1/reconciliation/reports/templates",n)},a.prototype.createReconciliationReportTemplate=function(t){var e=t.type===zo.TRANSACTIONS?"TRANSACTIONS":t.type,n=o(o({},t),{type:e});return this.post("/v1/reconciliation/reports/templates",n)},a.prototype.getReconciliationTransactions=function(t){var e=t.account_code;return delete t.account_code,this.post("v2/reconciliation/transactions",{account_codes:(null==e?void 0:e.split(","))||[]},{params:t})},a.prototype.getReconciliationSettlements=function(t){var e=t.account_code;return delete t.account_code,this.post("/reconciliation/settlements",{account_codes:(null==e?void 0:e.split(","))||[]},{params:t})},a.prototype.getReconciliationSettlementsHeader=function(t){var e=t.account_code;return delete t.account_code,this.post("/reconciliation/settlements/header",{account_codes:(null==e?void 0:e.split(","))||[]},{params:t})},a.prototype.getReconciliationSettlementsBody=function(t){return this.get("/reconciliation/settlements/body",{params:t})},a.prototype.getReconciliationMetrics=function(t){var e=t.account_code;return delete t.account_code,this.post("/reconciliation/reports",{account_codes:(null==e?void 0:e.split(","))||[]},{params:t})},a.prototype.getReconciliationFilters=function(){return this.get("/reconciliation/filters")},a.prototype.getReconciliationsReportColumns=function(t,e){return this.get("/v1/reconciliation/reports/columns/".concat(t,"/").concat(e))},a.prototype.getReconciliationReportTemplates=function(){return this.get("/v1/reconciliation/reports/templates")},a.prototype.getAllTableColumns=function(t){return this.get("/v1/reconciliation/table/".concat(t,"/columns"))},a.prototype.getReconciliationActive=function(){return this.get("/v1/reconciliation/status")},a.prototype.getReconciliationAlerts=function(t,e){return this.post("/reconciliation/alerts/list",t,{params:e})},a.prototype.postReconciliationAlert=function(t){return this.post("/reconciliation/alerts",t)},a.prototype.updateReconciliationAlert=function(t){return this.patch("/reconciliation/alerts",t)},a.prototype.deleteReconciliationAlert=function(t){return this.delete("/reconciliation/alerts",{params:t})},a.prototype.getReconciliationAgenda=function(t,e){return this.post("/reconciliation/agenda/list",t,{params:e})},a.prototype.getReconciliationAgendaInsightByKey=function(t,e){return this.post("/reconciliation/agenda/insights",t,{params:e})},a.prototype.getReconciliationSales=function(t,e){return this.post("/reconciliation/sales/list",t,{params:e})},a.prototype.getReconciliationAdvancements=function(t,e){return this.post("/reconciliation/advancements/list",t,{params:e})},a.prototype.getReconciliationFees=function(t,e){return this.post("/reconciliation/fees/list",t,{params:e})},a.prototype.getPayments=function(t){return this.get("/payments",{params:t})},a.prototype.postPaymentsLazy=function(t){var e=t.account_code;return delete t.account_code,t.start_date||(t=o(o({},t),{start_date:new Date})),t.end_date||(t=o(o({},t),{end_date:new Date})),this.post("/payments/lazy",{account_codes:(null==e?void 0:e.split(","))||[]},{params:t})},a.prototype.postPayouts=function(t){var e=t.account_code;return delete t.account_code,t.start_date||(t=o(o({},t),{start_date:new Date})),t.end_date||(t=o(o({},t),{end_date:new Date})),this.post("/payouts",{account_codes:(null==e?void 0:e.split(","))||[]},{params:t})},a.prototype.getPayoutsFilters=function(t){return this.get("/payouts/filters",{headers:{"x-organization-code":t}})},a.prototype.postPaymentsEvaluated=function(t){return delete t.account_code,t.start_date||(t=o(o({},t),{start_date:new Date})),t.end_date||(t=o(o({},t),{end_date:new Date})),this.post("/payments/evaluated",o({},t))},a.prototype.getPayment=function(t){return this.get("/payments/".concat(t.payment_code))},a.prototype.getPaymentV2=function(t){return this.get("/payments/v2/".concat(t))},a.prototype.getPaymentTransactions=function(t,e){return this.get("/payments/".concat(t,"/transactions"),{params:e})},a.prototype.getPaymentTransactionsLazy=function(t){return this.get("/payments/".concat(t,"/transactions/lazy"))},a.prototype.getTransactions=function(t){return this.get("/transactions",{params:t})},a.prototype.postTransactions=function(t){var e=t.account_code;return delete t.account_code,this.post("/v2/transactions",{account_codes:(null==e?void 0:e.split(","))||[]},{params:t})},a.prototype.postFraudTransactions=function(t){var e=t.account_code;return delete t.account_code,this.post("/fraud-transactions",{account_codes:(null==e?void 0:e.split(","))||[]},{params:t})},a.prototype.getPayoutDetails=function(t){var e={"x-organization-code":t.organization_code};return this.get("/payouts/detail/".concat(t.payout_code),{headers:e})},a.prototype.getPayoutTransactionDetails=function(t){var e={"x-organization-code":t.organization_code};return this.get("/payouts/".concat(t.payout_code,"/transaction/").concat(t.transaction_code,"/detail"),{headers:e})},a.prototype.getPayoutHistoryDetails=function(t,e){var n={"x-organization-code":e};return this.get("/payouts/".concat(t.payout_code,"/history"),{headers:n})},a.prototype.getPaymentMethodsByCountry=function(t,e){var n=t.provider_id,r=t.country,o=localStorage.getItem("x-organization-code"),i={"x-organization-code":e};return this.get("/organizations/provider-params/".concat(n,"/").concat(r),o?{}:{headers:i})},a.prototype.getOrgByName=function(t){return this.post("/organizations/get-by-name",{org_name:t})},a.prototype.createOperationTransaction=function(t,e,n,r){return this.post("/payments/".concat(n,"/transactions/").concat(e,"/").concat(r),t)},a.prototype.getPaymentMethodsByProvider=function(t){return this.get("/payments/payment-methods/provider/".concat(t.provider))},a.prototype.getPaymentMethodsAndProvidersActive=function(){return this.get("/payments/payment-methods/providers/active")},a.prototype.getPaymentMethodsAndProviders=function(){return this.get("/payments/payment-methods/providers")},a.prototype.useGetPaymentAndTrxStatuses=function(){return this.get("/payments/transaction/statuses")},a.prototype.getTransactionDetails=function(t){return this.get("/payments/".concat(t.payment_code,"/transactions/").concat(t.transaction_code))},a.prototype.getTransactionDetailsV2=function(t){return this.get("/payments/".concat(t.payment_code,"/transactions/details"),{params:{payment_code:t.payment_code,size:99}})},a.prototype.getTransactionRawResponse=function(t){return this.get("/transactions/".concat(t.transaction_code,"/raw-response"))},a.prototype.uploadChargebacks=function(t,e,n,r){return this.post("/chargebacks/upload-file/payment/".concat(e,"/transaction/").concat(n),t,{onUploadProgress:function(t){r(t.total?Math.round(100*t.loaded/t.total):0)},headers:{"x-account-code":null==t?void 0:t.account_id,"x-idempotency-key":Ra()}})},a.prototype.getTransactionHistory=function(t){var e=t.transaction_code;return this.get("/transactions/".concat(e,"/history"))},a.prototype.getPaymentTransactionsDetails=function(t){var e=t.transaction_code;return this.get("/transactions/".concat(e,"/details"))},a.prototype.getTransactionHistoryByPaymentCode=function(t){var e=t.payment_code;return this.get("/transactions/by-payment/".concat(e,"/history"))},a.prototype.getDeveloperCredentials=function(t,e){return this.get("/v2/developers/credentials",{headers:{"x-password":t,"x-account-code":e}})},a.prototype.getDeveloperCredentialsValidatePassword=function(t){return this.get("/validate-password",{headers:{"x-password":t}})},a.prototype.getAllowedIps=function(){return this.get("/allowlist-ips")},a.prototype.patchAllowedIps=function(t){return this.patch("/allowlist-ips",t)},a.prototype.getOrganization=function(){return this.get("/organizations",{headers:{"x-organization-code":""}})},a.prototype.getAllOrganization=function(){return this.get("/organizations/all")},a.prototype.getProviderParams=function(t,e){var n,r=localStorage.getItem("x-organization-code"),o={"x-organization-code":r?null===(n=JSON.parse(r))||void 0===n?void 0:n.value:e};return this.get("/organizations/provider-params/".concat(t.id),{headers:o})},a.prototype.getIntegrationByAccount=function(t){var e=t.accountCode,n=t.organizationCode,r={"x-organization-code":n};return this.get("/organizations/account-integrations/".concat(e),n?{headers:r}:{})},a.prototype.getIntegrationByAccountV2=function(t){var e=t.accountCode,n={"x-organization-code":t.organizationCode,"x-account-code":e};return this.post("/connections/my-connections",{account_code:e},{headers:n})},a.prototype.putCosts=function(t){return e(this,void 0,void 0,(function(){return n(this,(function(e){return[2,this.put("/connections/costs",{costs:[t]})]}))}))},a.prototype.updateOrganizationStatus=function(){return e(this,void 0,void 0,(function(){return n(this,(function(t){return[2,this.patch("/organizations/status")]}))}))},a.prototype.getIntegrationParams=function(t){var e=t.integration_code;return this.get("/connections/integration-params/".concat(e))},a.prototype.getConnectionsByPaymentMethod=function(t,r){return e(this,void 0,void 0,(function(){return n(this,(function(e){return[2,this.get("/organizations/connections/".concat(t,"/").concat(r))]}))}))},a.prototype.getHashPylon=function(){return this.get("/pylon-hash")},a.prototype.getConnections=function(){return this.get("/connections")},a.prototype.postValidateStatusConnection=function(t){var e=t.payload,n={"x-account-code":t.accountCode};return this.post("/connections/validate-status",e,{headers:n})},a.prototype.postChangeStatusConnection=function(t){var e=t.payload,n=t.accountCode,r="/connections/change-status";if(e.status==da)return delete e.status,this.delete(r,{data:e});Object.values(ca).includes(null==e?void 0:e.status)&&(r="".concat(r,"/").concat(la[e.status]),delete e.status);var o={"x-account-code":n};return this.post(r,e,{headers:o})},a.prototype.postConnection=function(t){var e=t.payload,n=t.accountCode;return this.post("/connections/create/".concat(n),e)},a.prototype.postMultiConnection=function(t){var e=t.payload;return this.post("/connections/multi-accounts",e)},a.prototype.postMultiConnectionValidate=function(){return this.get("/connection/valid-accounts")},a.prototype.newPostConnection=function(t){var e=t.payload,n=t.accountCode;return this.post("/connections/v3/".concat(n),e)},a.prototype.patchConnection=function(t){var e,n=t.payload,r=t.connectionCode,i=localStorage.getItem("account"),a=i?null===(e=JSON.parse(i).value)||void 0===e?void 0:e.code:"";return this.patch("/connections/".concat(r),o({account_code:a},n))},a.prototype.deleteConnection=function(t){return this.delete("/connections/".concat(t))},a.prototype.postArchiveConnection=function(t){var e=t.payload,n=t.connectionCode;return this.post("/connections/archive/".concat(n),e)},a.prototype.postDefaultRoutes=function(t){var e=t.payload;return this.post("/connections/default-routes",e)},a.prototype.getDialogs=function(){return this.get("/dialogs")},a.prototype.getWebhookParams=function(){return this.get("/accounts/webhooks/params-catalog")},a.prototype.getWebhooks=function(t){var e=t.accountCode;return this.get("/accounts/webhooks/".concat(e))},a.prototype.postWebhook=function(t){var e=t.payload,n=t.accountCode;return this.post("/accounts/webhooks/".concat(n),e)},a.prototype.deleteWebhook=function(t){return this.delete("/accounts/webhooks/".concat(t))},a.prototype.updateWebhook=function(t,e){return this.patch("/accounts/webhooks/".concat(t),e)},a.prototype.getWebhookParamsV2=function(){return this.get("/accounts/webhooks-v2/params-catalog")},a.prototype.getWebhooksV2=function(t){var e=t.accountCode;return this.get("/accounts/webhooks-v2/".concat(e))},a.prototype.getWebhooksV3=function(t){var e=t.accountCode,n=t.name;return this.post("/accounts/webhooks-v2/search",{name:n},{headers:{"x-account-code":e}})},a.prototype.getWebhooksV2Detail=function(t){var e=t.accountCode;return this.get("/accounts/webhooks-v2/detail/".concat(e))},a.prototype.postWebhookV2=function(t){var e=t.payload,n=t.accountCode;return this.post("/accounts/webhooks-v2/".concat(n),e)},a.prototype.postWebhookV2MultiAccount=function(t){var e=t.payload;return this.post("/accounts/webhooks/multi-account",e)},a.prototype.deleteWebhookV2=function(t,e){return this.delete("/accounts/webhooks-v2/".concat(t,"/").concat(e))},a.prototype.updateWebhookV2=function(t,e,n){return this.patch("/accounts/webhooks-v2/".concat(t,"/").concat(n),e)},a.prototype.getMenu=function(){return this.get("/cms/menu")},a.prototype.useGetPaymentStatusesStyles=function(){return this.get("/cms/payment/statuses")},a.prototype.useGetTransactionStatusesStyles=function(){return this.get("/cms/transaction/statuses")},a.prototype.useGetReconciliationTransactionStatusesStyles=function(){return this.get("/cms/reconciliation/transaction/statuses")},a.prototype.useGetCountriesConfig=function(){return this.get("/country-data-api/v1/config")},a.prototype.useGetTimeZoneCatalog=function(){return this.get("/cms/timezone/catalog")},a.prototype.useGetAuditLogsFilters=function(){return this.get("/cms/audit-logs-filters")},a.prototype.getDashboardStaticContents=function(){return this.get("/cms/static-contents")},a.prototype.getLocales=function(){return this.get("/cms/locales")},a.prototype.getSmartRoutingMethods=function(t){return this.get("/smart-routing/methods/".concat(t))},a.prototype.putSmartRoutingToggleMethod=function(t,e,n){return this.put("/smart-routing/methods/".concat(t,"/").concat(e),{active:n})},a.prototype.getSmartRoutingConditionTypes=function(t,e){return this.get("/smart-routing/condition-types/".concat(t,"/").concat(e))},a.prototype.getSmartRoutingConditionPaymentMethod=function(t,e){var n={"x-account-code":t};return this.get("/smart-routing/payment-methods/".concat(e,"/conditions"),{headers:n})},a.prototype.getSmartRoutingConditionTypesValues=function(t,e){return this.get("/smart-routing/condition-types-values/".concat(t,"/").concat(e))},a.prototype.getSmartRoutingNextSteps=function(t,e,n){return this.get("/smart-routing/next-route/".concat(t,"/").concat(e,"/").concat(n))},a.prototype.getSmartRoutingWorkflowVersion=function(t,e){return this.get("/smart-routing/workflow-version/".concat(t,"/").concat(e))},a.prototype.getSmartRoutingWorkflow=function(t,e){return this.get("/smart-routing/workflow/".concat(t,"/").concat(e))},a.prototype.putSmartRoutingUpdateWorkflow=function(t,e){return this.put("/smart-routing/update-workflow/".concat(t),e)},a.prototype.putSmartRoutingUpdateWorkflowName=function(t,e){return this.put("/smart-routing/workflow/".concat(t,"/edit-name"),e)},a.prototype.postSmartRoutingCreateWorkflow=function(t,e){return this.post("/smart-routing/create-workflow/".concat(t),e)},a.prototype.postSmartRoutingPublishVersion=function(t,e,n){var r={"x-organization-code":n};return this.post("/smart-routing/publish-version/".concat(t,"/").concat(e),{},{headers:r})},a.prototype.postSmartRoutingValidateConnection=function(t){return this.post("/smart-routing/connections/".concat(t))},a.prototype.deleteSmartRoutingVersion=function(t,e){return this.delete("/smart-routing/delete-version/".concat(t,"/").concat(e))},a.prototype.postSmartRoutingDuplicateVersion=function(t,e){return this.post("/smart-routing/duplicate-version/".concat(t,"/").concat(e))},a.prototype.getSmartRoutingDeclinedGroup=function(t){return this.get("/smart-routing/declined-groups/".concat(t))},a.prototype.updateSmartRoutingDeclinedGroup=function(t,e,n){return this.put("/smart-routing/declined-groups/".concat(t,"/").concat(e),n)},a.prototype.createSmartRoutingDeclinedGroup=function(t,e){return this.post("/smart-routing/declined-groups/".concat(t),e)},a.prototype.getSmartRoutingTutorial=function(t){return this.get("/smart-routing/tutorial/".concat(t))},a.prototype.updateSmartRoutingTutorial=function(t,e){return this.put("/smart-routing/tutorial/".concat(t,"/").concat(e),{})},a.prototype.getSmartRoutingPaymentRoute=function(t,e){return this.get("/smart-routing/payment-route/".concat(t,"/").concat(e))},a.prototype.updateSmartRoutingFavorite=function(t,e,n){return this.put("/smart-routing/favorite/".concat(t,"/").concat(e),{favorite:n})},a.prototype.getSmartRoutingSimulateConditionTypeValues=function(t){return this.get("/smart-routing/condition-types-values-list/".concat(t))},a.prototype.simulateSmartRoutingTransaction=function(t,e,n){return this.post("/smart-routing/simulate-transaction/".concat(t,"/").concat(e),n)},a.prototype.getSmartRoutingSearchConditionValues=function(t,e){return this.get("/smart-routing/search-condition-values/".concat(t,"/").concat(e))},a.prototype.getProviderConversionRatesData=function(){return this.get("/smart-routing/conversion-rates/all")},a.prototype.updateMonitorRedistribution=function(t,e){var n={"x-organization-code":t};return this.post("/smart-routing/monitor-redistribution",e,{headers:n})},a.prototype.removeDeclinedGroup=function(t,e){var n={"x-organization-code":t};return this.delete("/smart-routing/declined-groups/".concat(e),{headers:n})},a.prototype.multiAccountDeclinedGroupCreate=function(t,e){var n={"x-organization-code":t};return this.post("/smart-routing/declined-groups/massive/create",e,{headers:n})},a.prototype.generateAIWorkflowRoutes=function(t,e){var n={"x-organization-code":t};return this.post("/ai/generate-route",e,{headers:n})},a.prototype.getRoutingMonitorsTemplates=function(t){var e={"x-organization-code":t};return this.get("/routing-monitor/templates",{headers:e})},a.prototype.getRoutingMonitorsTemplate=function(t,e){var n={"x-organization-code":e};return this.get("/routing-monitor/template/".concat(t),{headers:n})},a.prototype.createMonitorThreshold=function(t,e){var n={"x-organization-code":e};return this.post("/routing-monitor/threshold",t,{headers:n})},a.prototype.createMonitorTemplate=function(t,e){var n={"x-organization-code":e};return this.post("/routing-monitor/template",t,{headers:n})},a.prototype.getSmartRoutingDataReport=function(t){return this.get("/data-report",{params:t})},a.prototype.getDashboardInsights=function(t){return this.get("/data-report/dashboard/insights",{params:t})},a.prototype.getInsightsMetricsConversionRate=function(t){var e=t.account_code;return delete t.account_code,this.post("/insights/conversion-rate/metrics",Ia(e),{params:t})},a.prototype.getInsightsMetricsConversionRateV2=function(t,e){var n=t.account_code,r=t.connection_name,o=Ia(n);return r&&(o.connection_name=r.split(","),delete t.connection_name),delete t.account_code,this.post("/insights/conversion-rate/".concat(e),o,{params:t})},a.prototype.getInsightsMetricsConversionRateViewMore=function(t,e){var n=t.account_code;return delete t.account_code,this.post("/insights/conversion-rate/cards/metrics/".concat(e),Ia(n),{params:t})},a.prototype.getInsightFallbackMetrics=function(t){var e=t.account_code;return delete t.account_code,this.post("/insights/conversion-rate/fallback",Ia(e),{params:t})},a.prototype.getInsightsMetricsVolume=function(t,e){var n,r={account_codes:(null==t?void 0:t.length)?null==t?void 0:t.split(","):[]};return e.connection_name&&(r=o(o({},r),{connection_name:null===(n=e.connection_name)||void 0===n?void 0:n.split(",")}),delete e.connection_name),this.post("/insights/volume/metrics",r,{params:e})},a.prototype.getInsightsMetricsVolumeV2=function(t,e,n){var r,i={account_codes:(null==t?void 0:t.length)?null==t?void 0:t.split(","):[]};return n.connection_name&&(i=o(o({},i),{connection_name:null===(r=n.connection_name)||void 0===r?void 0:r.split(",")}),delete n.connection_name),this.post("/insights/volume/".concat(e),i,{params:n})},a.prototype.getInsightsFraudScreeningVolumeAndCountTx=function(t,e){return this.post("/insights/fraud-screening/volume-and-count-tx",t,{params:e})},a.prototype.getInsightsFraudScreeningConversionRate=function(t,e){return this.post("/insights/fraud-screening/conversion-rate",t,{params:e})},a.prototype.getInsights3dsVolumeAndCountTx=function(t,e){return this.post("/insights/3ds/volume-and-count-tx",t,{params:e})},a.prototype.getInsights3dsConversionRateAndEvolution=function(t,e){return this.post("/insights/3ds/conversion-rate-and-evolution",t,{params:e})},a.prototype.getInsights3dsDeclineReasons=function(t,e){return this.post("/insights/3ds/decline-reasons",t,{params:e})},a.prototype.getInsights3dsFrictionlessVsChallenge=function(t,e){return this.post("/insights/3ds/frictionless-vs-challenge",t,{params:e})},a.prototype.getInsightsChargebacksVolumeAndCountTx=function(t,e){return this.post("/insights/chargebacks/volume-and-count-tx",t,{params:e})},a.prototype.getInsightsChargebacksWinRate=function(t,e){return this.post("/insights/chargebacks/win-rate",t,{params:e})},a.prototype.getInsightsChargebacksDisputed=function(t,e){return this.post("/insights/chargebacks/disputed",t,{params:e})},a.prototype.getInsightsChargebacksByProviderAndCardBrand=function(t,e){return this.post("/insights/chargebacks/by-provider-and-card-brand",t,{params:e})},a.prototype.getInsightsChargebacksReasonsDistribution=function(t,e){return this.post("/insights/chargebacks/reasons-distribution",t,{params:e})},a.prototype.getInsightsChargebacksStatusDistribution=function(t,e){return this.post("/insights/chargebacks/status-distribution",t,{params:e})},a.prototype.getInsightsChargebacksByCardBrand=function(t,e){return this.post("/insights/chargebacks/by-card-brand",t,{params:e})},a.prototype.getInsightOverview=function(t){var e=t.account_code,n=t.connection_name,r=Ia(e);return n&&(r=o(o({},r),{connection_name:null==n?void 0:n.split(",")}),delete t.connection_name),delete t.account_code,this.post("/insights/overview",r,{params:t})},a.prototype.getInsightOverviewV3=function(t,e){var n=t.account_code,r=t.connection_name,i=Ia(n);return r&&(i=o(o({},i),{connection_name:null==r?void 0:r.split(",")}),delete t.connection_name),delete t.account_code,this.post("/insights/overview/".concat(e),i,{params:t})},a.prototype.getInsighstHomeMetrics=function(t){return this.post("/insights/dashboard-home-metrics",t)},a.prototype.getInsightsMetricsTotalPaymentsAndFraud=function(t,e){return this.post("/insights/payments-and-fraud/payments",{account_codes:(null==t?void 0:t.length)?null==t?void 0:t.split(","):[]},{params:e})},a.prototype.getInsightsMetricsCustomerPaymentsAndFraud=function(t,e){return this.post("/insights/payments-and-fraud/customer",{account_codes:(null==t?void 0:t.length)?null==t?void 0:t.split(","):[]},{params:e})},a.prototype.getCheckouts=function(t){var e=t.accountCode;return this.get("/checkouts/".concat(e))},a.prototype.getCheckoutTemplate=function(t){var e=t.accountCode;return this.get("/v2/checkouts/template/".concat(e))},a.prototype.getNameAndIcon=function(t){var e=t.paymentMethodType,n=t.type;return this.get("/checkouts/payment-methods/".concat(e,"/icon-name?type=").concat(n))},a.prototype.getRequiredFields=function(t){var e=t.paymentMethodType,n=t.type;return this.get("/checkouts/payment-methods/".concat(e,"/required-fields?type=").concat(n))},a.prototype.updateCheckoutTemplate=function(t){var e=t.accountCode,n=t.template;return this.post("/v2/checkouts/template",{account_code:e,template:n})},a.prototype.updateIsActivePaymentMethod=function(t,e){return this.patch("/checkouts/payment-methods",{checkoutCode:t,paymentMethods:e})},a.prototype.updateIsActiveCheckout=function(t){var e,n=localStorage.getItem("account"),r=n?null===(e=JSON.parse(n).value)||void 0===e?void 0:e.code:"";return this.patch("/checkouts/publish",t,{headers:{"x-account-code":r}})},a.prototype.getStylingTheme=function(t){var e={"x-account-code":t.accountCode};return this.get("/checkouts/styling/theme",{headers:e})},a.prototype.updateStylingTheme=function(t){var e=t.accountCode,n=t.theme,r={"x-account-code":e};return this.patch("/checkouts/styling/theme",n,{headers:r})},a.prototype.getStylingSettings=function(t){var e={"x-account-code":t.accountCode};return this.get("/checkout/settings",{headers:e})},a.prototype.changePassword=function(t){return this.patch("/user/change-password/".concat(t.user_id),o({},t.payload))},a.prototype.emailVerification=function(t){return this.get("/user/email-verification/".concat(t))},a.prototype.createReport=function(t){return this.post("/reports/create",t)},a.prototype.createReconciliationsReportV2=function(t){return this.post("/v2/reports/create",t)},a.prototype.createReportV2=function(t){return this.post("/reports",t)},a.prototype.getTotalRowsForExport=function(t){return this.post("/reports/count",t)},a.prototype.reportsList=function(){return this.get("/reports")},a.prototype.reportsListMultiEnv=function(){return this.get("/reports/multi-environment")},a.prototype.downloadReports=function(t){return this.get("/reports-redirect/".concat(t))},a.prototype.cancelReport=function(t){return this.patch("/reports/".concat(t))},a.prototype.getReportTemplates=function(){return this.get("/reports/templates")},a.prototype.createReportTemplate=function(t){return this.post("/reports/templates",t)},a.prototype.updateReportTemplate=function(t){return this.put("/reports/templates",t)},a.prototype.getReportColumns=function(t,e){return this.get("/reports/columns/".concat(t,"/").concat(e))},a.prototype.getRefundPdf=function(t,e){var n={"x-organization-code":e};return this.get("/refund-pdf/".concat(t),{headers:n})},a.prototype.getProofOfCancel=function(t,e){var n={"x-organization-code":e};return this.get("/transactions/".concat(t,"/proof-of-cancel"),{headers:n})},a.prototype.getScheduledReport=function(t){return this.get("/scheduled-reports?reportType=".concat(t))},a.prototype.postScheduledReport=function(t){return this.post("/scheduled-reports",t)},a.prototype.updateScheduledReport=function(t,e){return this.patch("/scheduled-reports/".concat(t),e)},a.prototype.deleteScheduledReport=function(t){return this.delete("/scheduled-reports/".concat(t))},a.prototype.getProfile=function(){return this.get("/user")},a.prototype.updateProfile=function(t){return this.patch("/user",t)},a.prototype.inviteUsers=function(t){return this.post("/user/invite",t)},a.prototype.inviteUsersV2=function(t,e){var n={"x-organization-code":e};return this.post("v2/user/invite",t,{headers:n})},a.prototype.inviteUsersMassive=function(t,e){var n={"x-organization-code":e};return this.post("user/invite/massive",t,{headers:n})},a.prototype.unInviteUsers=function(t){var e=t.userCode;return this.delete("/user/uninvite/".concat(e))},a.prototype.unInviteUsersV2=function(t){var e=t.userCode,n={"x-organization-code":t.organizationCode};return this.delete("/v2/user/uninvite/".concat(e),{headers:n})},a.prototype.getAccounts=function(t){var e={"x-organization-code":t};return this.get("/accounts-user",{headers:e})},a.prototype.getAccountsV2=function(){return this.get("/accounts-user")},a.prototype.getAccountsByUser=function(t){return this.get("/accounts-user/user/".concat(t))},a.prototype.putAccountsUser=function(t,e,n){var r={"x-organization-code":t,"x-user-code":e};return this.put("/accounts-user/role",n,{headers:r})},a.prototype.putAccountsUserMassive=function(t,e,n){var r={"x-organization-code":t};return this.put("/accounts-user/role/massive/user/".concat(e),n,{headers:r})},a.prototype.deleteAccountsUserMassive=function(t,e,n){var r={"x-organization-code":t};return this.delete("/accounts-user/role/massive/user/".concat(e),{data:n,headers:r})},a.prototype.postAccount=function(t,e){return this.post("/accounts",{name:t,principal:e})},a.prototype.patchAccount=function(t){var e=t.name,n=t.code,r=t.principal;return this.patch("/accounts/".concat(n),{name:e,principal:r})},a.prototype.patchAccountV2=function(t){var e=t.name,n=t.code,r=t.principal;return this.patch("/accounts/with-principal",{name:e,principal:r},{headers:{"x-account-code":n}})},a.prototype.putAccountPrincipal=function(t){var e=t.account_code;return this.put("/user-accounts/principal",{account_code:e})},a.prototype.createNotificacion=function(t){return this.post("/notifications",t)},a.prototype.getMergedNotifications=function(){return this.get("/notifications-all")},a.prototype.getNotificationsCustomer=function(t){return this.get("/notifications/".concat(t))},a.prototype.getValidateOpsgenieKey=function(t){return this.get("/notifications/opsgenie/validate/".concat(t))},a.prototype.getNotificationsAccount=function(t){return this.get("/notifications/".concat(t))},a.prototype.getNotification=function(){return this.patch("/notifications")},a.prototype.postSlackMessageChannel=function(t){return this.post("/slack-channel-message",t)},a.prototype.pathNotification=function(t){return this.patch("/notifications",t)},a.prototype.getNotificationsNumber=function(t){return this.get("/notifications/".concat(t,"/number"))},a.prototype.getMembers=function(t){var e={"x-organization-code":t};return this.get("/teams",t&&{headers:e})},a.prototype.getMembersV3=function(t){var e={"x-organization-code":t.organizationCode};return this.get("/v3/teams",{headers:e})},a.prototype.teamsFiltersMembers=function(t){var e={"x-organization-code":t.organizationCode};return this.get("/teams/filters/members",{headers:e})},a.prototype.getMembersV4=function(t){var e=t.organizationCode,n=t.accountCodes,r={"x-organization-code":e};return this.get("/v4/teams?accountCodes=".concat(n),{headers:r})},a.prototype.postMembersV4=function(t){var e=t.organizationCode,n=t.accountCodes,r={"x-organization-code":e};return this.post("/v4/teams",{account_codes:n},{headers:r})},a.prototype.postMembersPaginated=function(t){var e=t.organizationCode,n=t.accountCodes,r=t.page,o=t.pageSize,i={"x-organization-code":e};return this.post("/teams/paginated",{account_codes:n,page:r,page_size:o},{headers:i})},a.prototype.postMembersPaginatedV2=function(t){var e=t.organizationCode,n=t.accountCodes,r=t.email,o=t.page,i=t.pageSize,a={"x-organization-code":e};return this.post("/teams/paginated",{account_codes:n,email:r,page:o,page_size:i},{headers:a})},a.prototype.getRoles=function(){return this.get("/teams/roles")},a.prototype.setRoles=function(t){return this.patch("/teams",t)},a.prototype.setCustodian=function(){return this.post("/teams/custodian")},a.prototype.deleteUserTeam=function(t){var e=t.userCode;return this.delete("/teams/".concat(e))},a.prototype.deleteUserTeamV2=function(t){var e=t.userCode,n={"x-organization-code":t.organizationCode};return this.delete("/v2/teams/".concat(e),{headers:n})},a.prototype.createRoles=function(t,e){return this.post("/teams/roles",t,{headers:{"x-account-code":e}})},a.prototype.editRoles=function(t,e){var n=t.payload,r=t.id;return this.patch("/teams/roles/".concat(r),n,{headers:{"x-account-code":e}})},a.prototype.deleteRoles=function(t){return this.delete("/teams/roles/".concat(t))},a.prototype.getRolesPermissions=function(){return this.get("/teams/permissions")},a.prototype.getFeatureFlagId=function(t){var e=t.name,n=i(t,["name"]);return this.post("/feature-flags/evaluate",{name:e,parameters:n})},a.prototype.getFeatureFlagIdAll=function(t){var r=t.names,o=t.body;return e(this,void 0,void 0,(function(){var t,e,i,a=this;return n(this,(function(n){switch(n.label){case 0:t=r.map((function(t){var e={name:t,parameters:o};return a.post("/feature-flags/evaluate",e)})),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,Promise.all(t)];case 2:return e=n.sent(),i={},e.forEach((function(t,e){var n=r[e];i[n]=t.data.result})),[2,{data:i,status:200,statusText:"OK",headers:{},config:{}}];case 3:throw n.sent();case 4:return[2]}}))}))},a.prototype.getPermissionsCatalog=function(){return this.get("/teams/permissions-catalog")},a.prototype.changePasswordV2=function(t){return this.patch("/user/change-password-profile",t)},a.prototype.getCardBrands=function(){return this.get("/catalog/card-brands")},a.prototype.getPaymentFilters=function(){return this.get("/payments/filters")},a.prototype.getPaymentMetricsFilters=function(){return this.get("/payments/metrics/filters")},a.prototype.sendPaymentNotification=function(t,e){return this.post("/payments/".concat(t.paymentCode,"/transactions/").concat(t.transactionCode,"/settle"),e)},a.prototype.postAuditMonitors=function(t){return this.post("/routing-monitor/audit",t)},a.prototype.getAuditMonitorDetail=function(t){return this.get("/routing-monitor/audit-monitors-details/".concat(t))},a.prototype.getAuditEvents=function(t){return this.post("v2/events/organization?time_zone=".concat(null==t?void 0:t.time_zone,"&now=").concat(null==t?void 0:t.now,"&page=").concat(null==t?void 0:t.page,"&size=").concat(null==t?void 0:t.size,"&periodicity=").concat(t.periodicity,"&event=").concat(t.event,"&source=").concat(t.source,"&search=").concat(t.search,"&start_date=").concat(t.start_date,"&end_date=").concat(t.end_date),{account_codes:null==t?void 0:t.account_code})},a.prototype.getPaymentLinks=function(t,e){return this.get("/v2/payment-links/".concat(e),{params:t})},a.prototype.getPaymentLinksByCode=function(t){return this.get("/v2/payment-links/by-code/".concat(t))},a.prototype.postPaymentLinks=function(t){var e=t.payload,n=t.accountCode;return this.post("/v2/payment-links/".concat(n),e)},a.prototype.patchPaymentLinks=function(t){var e=t.payload,n=t.accountCode,r=t.paymentLinkCode;return this.patch("/v2/payment-links/".concat(n,"/").concat(r),e)},a.prototype.postCreateProducts=function(t){var e=t.payload;return this.post("/v2/catalog/products",e)},a.prototype.postDeletePaymentLink=function(t){var e=t.code;return this.post("/v2/payment-links/cancel/".concat(e))},a.prototype.getProductsByAccount=function(t){var e=t.accountCode;return this.get("/v2/catalog/products/account/".concat(e))},a.prototype.getPaymentsByPaymentLink=function(t,e){return this.get("/payments",{params:t,headers:{"x-organization-code":e}})},a.prototype.getTimezone=function(t){return this.get("/cms/timezone/catalog",{headers:{"x-organization-code":t}})},a.prototype.firebaseUserSubscribe=function(t){return this.post("/firebase/user/subscribe",t)},a.prototype.postUserSettings=function(t){return this.patch("/user-settings",t)},a.prototype.postUserSettingsTables=function(t,e){return this.patch("/user-settings/".concat(e),t)},a.prototype.postUserSettingsPinned=function(t){return this.patch("/user-settings/pinned_sections",t)},a.prototype.postUserThemeSettings=function(t){return this.patch("/user-settings/theme",t)},a.prototype.getMfaTokenValidation=function(t,e){return this.post("/mfa/token",{password:t,otp_input:e,user_code:""})},a.prototype.getMfaToken=function(t){return this.post("/mfa/token",{password:t})},a.prototype.getEmailOtp=function(){return this.post("/mfa/send-otp",{})},a.prototype.validateOtp=function(t){return this.post("/mfa/confirm/otp",{otp:t})},a.prototype.confirmMfaOtp=function(t){return this.post("/mfa/confirm/otp",t)},a.prototype.confirmOtp=function(t){return this.post("/mfa/confirm/otp",t)},a.prototype.unrollMfa=function(t){return this.post("/mfa/unroll/otp",{password:t})},a.prototype.sendOTPForMFA=function(){return this.post("/mfa/send-otp")},a.prototype.getMFAStatus=function(){return this.get("/mfa/status")},a.prototype.postValidatePassword=function(t){return this.post("/mfa/validate/password",{password:t})},a.prototype.getConfigAllowlist=function(t){var e={"x-account-code":t};return this.get("/yuno-fraud-screening-int/allow-lists/config",{headers:e})},a.prototype.getBlackListType=function(t){var e={"x-account-code":t};return this.get("/blacklist",{headers:e})},a.prototype.postBlockList=function(t,e,n,r){var o={name:e,account_codes:t,page:n,size:r};return this.post("/blacklist",o)},a.prototype.getOneBlackListType=function(t){return this.get("/blacklist/get-one/".concat(t))},a.prototype.getBlackListSummary=function(t,e){return void 0===e&&(e=null),this.get("/blacklist/get-one/".concat(t,"/summary"),e?{headers:{"x-account-code":e}}:{})},a.prototype.getBlacklistDetail=function(t,e,n,r,o){void 0===n&&(n=26),void 0===r&&(r=null),void 0===o&&(o=null);var i="/blacklist/get-one/".concat(t,"/detail?offset=").concat(e,"&limit=").concat(n);return o&&(null==o?void 0:o.length)>0&&(i+="&search=".concat(o)),this.get(i,r?{headers:{"x-account-code":r}}:{})},a.prototype.getAllowlistDetail=function(t,e){return void 0===e&&(e=null),this.get("/yuno-fraud-screening-int/allow-lists/".concat(t),e?{headers:{"x-account-code":e}}:{})},a.prototype.postAllowlistItems=function(t){var e=t.payload;return this.post("yuno-fraud-screening-int/allow-lists/".concat(e.code,"/items/pageable"),e,e.account&&{headers:{"x-account-code":e.account}})},a.prototype.postGetAllowlist=function(t){var e=t.payload;return this.post("/yuno-fraud-screening-int/allow-lists/pageable",e)},a.prototype.postCreateAllowlistMultiAccount=function(t){var e=t.payload;return this.post("/yuno-fraud-screening-int/allow-lists/massive",e)},a.prototype.patchChangeStatusAllowlist=function(t){var e=t.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(e.code),{active:e.active},(null==e?void 0:e.account)&&{headers:{"x-account-code":null==e?void 0:e.account}})},a.prototype.patchChangeStatusAllowlistItem=function(t){var e=t.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(e.allowlist_code,"/items/").concat(e.item_allowlist_code),{active:e.active})},a.prototype.patchAddAllowlistItems=function(t){var e=t.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(e.allowlist_code,"/items"),e,e.account&&{headers:{"x-account-code":e.account}})},a.prototype.deleteAllowlistItem=function(t){var e=t.payload,n={"x-account-code":e.account_code};return this.delete("/yuno-fraud-screening-int/allow-lists/".concat(e.allowlist_code,"/items/").concat(e.allowlist_item_id),{headers:n})},a.prototype.validateAllowlistItems=function(t){var e=t.payload;return this.post("/yuno-fraud-screening-int/allow-lists/".concat(e.allowlist_code,"/validate/duplicate-items"),e,{headers:{"x-account-code":e.account_code}})},a.prototype.patchAllowlist=function(t){var e=t.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(e.allowlist_code),e,e.account&&{headers:{"x-account-code":e.account}})},a.prototype.postBlackListMultiAccount=function(t){var e=t.payload;return this.post("/blacklist/create/multi-account",e,e.account&&{headers:{"x-account-code":e.account}})},a.prototype.postBlackListType=function(t){var e=t.payload;return this.post("/blacklist/create",e,e.account&&{headers:{"x-account-code":e.account}})},a.prototype.putBlackListType=function(t){return this.put("/blacklist/edit",t)},a.prototype.changeBlackListStatus=function(t){return this.put("/blacklist/change-status",t)},a.prototype.changeBlackListStatusItem=function(t){return this.put("/blacklist/change-item-status",t)},a.prototype.postBlackListItems=function(t){var e=t.payload;return this.post("/blacklist/items",e)},a.prototype.postBlackListBatch=function(t){var e=t.blacklist_code,n=t.expiration_days,r=t.file,o=t.handleSetProgress;return this.post("/blacklist/create-batch/".concat(e),{expiration_days:n,file:r},{onUploadProgress:function(t){o(t.total?Math.round(100*t.loaded/t.total):0)}})},a.prototype.deleteBlackListType=function(t){var e=t.black_list_code;return this.delete("/blacklist/delete/".concat(e))},a.prototype.deleteBlockListItem=function(t){var e=t.blocklist_code,n=t.blocklist_item_id,r=t.account_code;return this.delete("/blacklist/".concat(e,"/items/").concat(n),{headers:{"x-account-code":r}})},a.prototype.valiateBlockListItems=function(t){var e=t.payload;return this.post("/blacklist/".concat(e.blocklist_code,"/validate/duplicate-items"),e,{headers:{"x-account-code":e.account_code}})},a.prototype.getGeographicCoordinates=function(t){var e=t.params;return this.get("/coordinates",{params:e})},a.prototype.deleteBlackListItem=function(t){var e=t.black_list_code,n=t.account_code,r=t.item;return this.delete("/blacklist/delete/item/".concat(n,"/").concat(e,"?item=").concat(r))},a.prototype.getVelocityRules=function(t){return this.post("/yuno-fraud-screening-int/velocity-rules-list",o({},t))},a.prototype.postChangePaymentsWebhook=function(t){var e=t.status,n=t.paymentCode;return this.post("/yuno-fraud-screening-int/payments/webhook",{status:e,payment_code:n})},a.prototype.uploadFileS3ClientBatchRefunds=function(t){var e=t.payload,n=t.handleSetProgress,r=this.getCancelTokenSource();return{promise:this.post("/batch-refunds/upload-s3-file",e,{onUploadProgress:function(t){return null==n?void 0:n(t.total?Math.round(100*t.loaded/t.total):0)},cancelToken:r.token}),cancel:function(){return r.cancel()}}},a.prototype.uploadFileS3ClientChargeBacks=function(t){var e=t.payload,n=t.handleSetProgress,r=this.getCancelTokenSource();return{promise:this.post("/chargebacks/upload-s3-file",e,{cancelToken:r.token,onUploadProgress:function(t){null==n||n(t.total?Math.round(100*t.loaded/t.total):0)}}),cancel:function(){return r.cancel()}}},a.prototype.batchRefundByFile=function(t){var e=t.payload;return this.post("/batch-refund-by-file",o({},e))},a.prototype.uploadBatchRefundsV2=function(t){var e=t.payload;return this.post("/batch-refunds",o({},e))},a.prototype.uploadBatchRefunds=function(t){var e=t.payload,n=t.handleSetProgress;return this.post("/batch-refunds",o({},e),{onUploadProgress:function(t){n(t.total?Math.round(100*t.loaded/t.total):0)}})},a.prototype.getBatchRefunds=function(t,e){return this.get("/batch-refunds?limit=".concat(t,"&offset=").concat(e))},a.prototype.getBatchRefundProcessedFileDownload=function(t,e,n){var r={"x-organization-code":e,"x-account-code":n};return this.get("/batch-refunds/".concat(t,"/processed-file-download"),{headers:r})},a.prototype.getBatchRefundUserFileDownload=function(t,e,n){var r={"x-organization-code":e,"x-account-code":n};return this.get("/batch-refunds/".concat(t,"/user-file-download"),{headers:r})},a.prototype.getMFAConfig=function(t){var e={"x-organization-code":t.organizationCode};return this.get("/organization-settings/mfa/config",{headers:e})},a.prototype.getMFAExcludedUsers=function(t){var e={"x-organization-code":t.organizationCode};return this.get("/organization-settings/mfa/excluded-users",{headers:e})},a.prototype.getMFAEnforcementStatus=function(){return this.get("/mfa/enforcement-status")},a.prototype.updateMFAConfig=function(t,e){return this.post("/organization-settings/mfa/config",t,{headers:{"x-organization-code":e}})},a.prototype.mfaExcludeUsers=function(t,e){return this.post("/organization-settings/mfa/exclude-users",t,{headers:{"x-organization-code":e}})},a.prototype.getAllConfigRules=function(){return this.get("/yuno-fraud-screening-int/velocity-rules/config/all")},a.prototype.getConditionalConfigRules=function(t){return this.get("/yuno-fraud-screening-int/velocity-rules/config/conditional/".concat(t))},a.prototype.getRule=function(t){return this.get("/yuno-fraud-screening-int/velocity-rules/".concat(t.idRule),(null==t?void 0:t.accountCode)&&{headers:{"x-account-code":null==t?void 0:t.accountCode}})},a.prototype.postCreateRuleMultiAccount=function(t,e){return this.post("/yuno-fraud-screening-int/velocity-rules/multi-account",t,{headers:{"x-account-code":e}})},a.prototype.postCreateRule=function(t,e){return this.post("/yuno-fraud-screening-int/velocity-rules",t,{headers:{"x-account-code":e}})},a.prototype.postEditRule=function(t,e,n){return this.patch("/yuno-fraud-screening-int/velocity-rules/".concat(e),t,{headers:{"x-account-code":n}})},a.prototype.postApiKeysRoll=function(t,e,n){return this.post("/credentials-manager/v1/keys/roll/".concat(e),t,{headers:{"x-password":n}})},a.prototype.patchApiKeysEditNote=function(t,e){return this.patch("/credentials-manager/keys/edit-note/".concat(e),t)},a.prototype.getCustomizedApiKeysMembers=function(){return this.get("/organization-user/resources/users/customized-keys")},a.prototype.getCustomizedApiKeysAccounts=function(){return this.get("/organization-user/resources/accounts/customized-keys")},a.prototype.postCreateCustomizedApiKeys=function(t){return this.post("/credentials-manager/keys",t)},a.prototype.pathCreateCustomizedApiKeys=function(t,e){return this.patch("/credentials-manager/key/".concat(e),t)},a.prototype.postCustomizedApiKeys=function(t){return this.post("/credentials-manager/keys/retrieve",{account_codes:t})},a.prototype.getCustomizedApiKeysProducts=function(){return this.get("/credentials-manager/product-list")},a.prototype.getCustomizedApiKeysToken=function(t,e){return this.get("/credentials-manager/keys/show-token/".concat(t),{headers:{"x-password":e}})},a.prototype.validatePasswordStatus=function(){return this.get("/validate-password-status")},a.prototype.getCustomizedApiKeysShowToken=function(t){return this.get("/credentials-manager/keys/show-token/".concat(t))},a.prototype.getLoginSSO=function(t){return this.get("/saml/metadata?email=".concat(t))},a.prototype.deleteCustomizedApiKeys=function(t){return this.delete("/credentials-manager/key/".concat(t))},a.prototype.postCreateInsightsReport=function(t){var e="CR_FALLBACK"===(null==t?void 0:t.type)?"/insights/conversion-rate/".concat(pa[null==t?void 0:t.type],"/export"):"/insights/conversion-rate/cards/metrics/".concat(pa[null==t?void 0:t.type],"/export");return this.post(e,t)},a.prototype.getInsightsReport=function(t){return this.get("/insights/conversion-rate/exports/".concat(null==t?void 0:t.type,"/by-user"))},a.prototype.getInsightsReportAgain=function(t){return this.get("/insights/conversion-rate/exports/".concat(t.code))},a.prototype.createUserAuth0=function(t){return this.post("/user/auth0",t)},a.prototype.getSamlConfig=function(){return this.get("/saml-config")},a.prototype.createSamlConfig=function(t){return this.post("/saml-config",t)},a.prototype.updateSamlConfig=function(t){return this.patch("/saml-config",t)},a.prototype.deleteSamlConfig=function(){return this.delete("/saml-config")},a.prototype.postCall=function(t){return this.post("/ai-agent-caller/demo",t)},a.prototype.getLoginMethods=function(){return this.get("/organization/login-methods")},a.prototype.changeLoginMethods=function(t){return this.patch("/organization/login-methods/".concat(t.methodCode),{enabled:t.enabled})},a.prototype.postValidateCredentials=function(t){var e=t.payload;return this.post("/connections/validate-credentials",e)},a.prototype.getInsightsConversionRateOverview=function(t,e){return this.post("/v3/insights/conversion-rate/overview",t,{params:e})},a.prototype.getInsightsConversionRateOverviewFraud3ds=function(t,e){return this.post("/v3/insights/conversion-rate/overview-fraud-3ds",t,{params:e})},a.prototype.getConversionRateChargebacksByCardBrand=function(t,e){return this.post("/insights/chargebacks/by-card-brand",t,{params:e})},a.prototype.get3DSExemptions=function(){return this.get("/routing/3ds-exemptions")},a.prototype.createChartGPTChart=function(t){return this.post("/api/chartgpt/charts",t)},a.prototype.deleteChartGPTChart=function(t){return this.delete("/api/chartgpt/charts/".concat(t))},a.prototype.patchChartGPTChart=function(t,e){return this.patch("/api/chartgpt/charts/".concat(t),e)},a.prototype.getChartsByUser=function(){return this.get("/api/chartgpt/user/charts")},a.prototype.executeChartGPTChart=function(t){return this.get("/api/chartgpt/charts/".concat(t,"/execute"))},a}(Ve),Ta={ENVIRONMENT:process.env.ENVIRONMENT,BFF_URL_PROD:process.env.BFF_URL_PROD,BFF_URL_SBX:process.env.BFF_URL_SBX,BFF_URL_STG:process.env.BFF_URL_STG,BFF_URL_DEV:process.env.BFF_URL_DEV,BFF_URL_LOCAL:process.env.BFF_URL_LOCAL},Oa=function(t){function i(e){return t.call(this,e)||this}return r(i,t),i.refreshInstance=function(t){var e;return this.classInstance=new i(o(o({},t),{baseURL:Ta["BFF_URL_".concat(Ta.ENVIRONMENT)]})),null===(e=this.classInstance.instance.interceptors)||void 0===e||e.response.use((function(t){return t}),(function(t){var e;if(401!==(null===(e=null==t?void 0:t.response)||void 0===e?void 0:e.status))return Promise.reject(t);window.location.href="/auth/logout"})),this.classInstance},i.getInstance=function(t){var e,n;if(this.classInstance){var r=localStorage.getItem("account");if(r){var a=null===(n=null===(e=JSON.parse(r))||void 0===e?void 0:e.value)||void 0===n?void 0:n.code,s=this.classInstance.instance.defaults.headers["x-account-code"];!!a&&""!==a&&a!==s&&(this.classInstance.instance.defaults.headers["x-account-code"]=a)}return this.classInstance}return this.classInstance=new i(o(o({},t),{baseURL:(null==t?void 0:t.baseURL)||Ta["BFF_URL_".concat(Ta.ENVIRONMENT)]})),this.classInstance},i.setMode=function(t){return e(this,void 0,void 0,(function(){return n(this,(function(e){return this.classInstance.instance.interceptors.request.use((function(e){return e.headers&&(e.headers["X-Environment"]=t),e}),(function(t){return Promise.reject(t)})),[2]}))}))},i}(Aa);class Pa{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){const e={listener:t};return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const xa="undefined"==typeof window||"Deno"in window;function Da(){}function Na(t){return"number"==typeof t&&t>=0&&t!==1/0}function La(t,e){return Math.max(t+(e||0)-Date.now(),0)}function Ma(t,e,n){return Ja(t)?"function"==typeof e?{...n,queryKey:t,queryFn:e}:{...e,queryKey:t}:t}function Ba(t,e,n){return Ja(t)?[{...e,queryKey:t},n]:[t||{},e]}function Fa(t,e){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=t;if(Ja(a))if(r){if(e.queryHash!==ja(a,e.options))return!1}else if(!qa(e.queryKey,a))return!1;if("all"!==n){const t=e.isActive();if("active"===n&&!t)return!1;if("inactive"===n&&t)return!1}return("boolean"!=typeof s||e.isStale()===s)&&((void 0===o||o===e.state.fetchStatus)&&!(i&&!i(e)))}function Ua(t,e){const{exact:n,fetching:r,predicate:o,mutationKey:i}=t;if(Ja(i)){if(!e.options.mutationKey)return!1;if(n){if(za(e.options.mutationKey)!==za(i))return!1}else if(!qa(e.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===e.state.status===r)&&!(o&&!o(e))}function ja(t,e){return((null==e?void 0:e.queryKeyHashFn)||za)(t)}function za(t){return JSON.stringify(t,((t,e)=>Wa(e)?Object.keys(e).sort().reduce(((t,n)=>(t[n]=e[n],t)),{}):e))}function qa(t,e){return Va(t,e)}function Va(t,e){return t===e||typeof t==typeof e&&(!(!t||!e||"object"!=typeof t||"object"!=typeof e)&&!Object.keys(e).some((n=>!Va(t[n],e[n]))))}function Ga(t,e){if(t===e)return t;const n=Ka(t)&&Ka(e);if(n||Wa(t)&&Wa(e)){const r=n?t.length:Object.keys(t).length,o=n?e:Object.keys(e),i=o.length,a=n?[]:{};let s=0;for(let r=0;r<i;r++){const i=n?r:o[r];a[i]=Ga(t[i],e[i]),a[i]===t[i]&&s++}return r===i&&s===r?t:a}return e}function Qa(t,e){if(t&&!e||e&&!t)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}function Ka(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Wa(t){if(!Ha(t))return!1;const e=t.constructor;if(void 0===e)return!0;const n=e.prototype;return!!Ha(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Ha(t){return"[object Object]"===Object.prototype.toString.call(t)}function Ja(t){return Array.isArray(t)}function Ya(t){return new Promise((e=>{setTimeout(e,t)}))}function Xa(t){Ya(0).then(t)}function $a(t,e,n){return null!=n.isDataEqual&&n.isDataEqual(t,e)?t:"function"==typeof n.structuralSharing?n.structuralSharing(t,e):!1!==n.structuralSharing?Ga(t,e):e}const Za=new class extends Pa{constructor(){super(),this.setup=t=>{if(!xa&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),window.addEventListener("focus",e,!1),()=>{window.removeEventListener("visibilitychange",e),window.removeEventListener("focus",e)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var t;this.hasListeners()||(null==(t=this.cleanup)||t.call(this),this.cleanup=void 0)}setEventListener(t){var e;this.setup=t,null==(e=this.cleanup)||e.call(this),this.cleanup=t((t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()}))}setFocused(t){this.focused!==t&&(this.focused=t,this.onFocus())}onFocus(){this.listeners.forEach((({listener:t})=>{t()}))}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},ts=["online","offline"];const es=new class extends Pa{constructor(){super(),this.setup=t=>{if(!xa&&window.addEventListener){const e=()=>t();return ts.forEach((t=>{window.addEventListener(t,e,!1)})),()=>{ts.forEach((t=>{window.removeEventListener(t,e)}))}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var t;this.hasListeners()||(null==(t=this.cleanup)||t.call(this),this.cleanup=void 0)}setEventListener(t){var e;this.setup=t,null==(e=this.cleanup)||e.call(this),this.cleanup=t((t=>{"boolean"==typeof t?this.setOnline(t):this.onOnline()}))}setOnline(t){this.online!==t&&(this.online=t,this.onOnline())}onOnline(){this.listeners.forEach((({listener:t})=>{t()}))}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function ns(t){return Math.min(1e3*2**t,3e4)}function rs(t){return"online"!==(null!=t?t:"online")||es.isOnline()}class os{constructor(t){this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}}function is(t){return t instanceof os}function as(t){let e,n,r,o=!1,i=0,a=!1;const s=new Promise(((t,e)=>{n=t,r=e})),u=()=>!Za.isFocused()||"always"!==t.networkMode&&!es.isOnline(),c=r=>{a||(a=!0,null==t.onSuccess||t.onSuccess(r),null==e||e(),n(r))},l=n=>{a||(a=!0,null==t.onError||t.onError(n),null==e||e(),r(n))},d=()=>new Promise((n=>{e=t=>{const e=a||!u();return e&&n(t),e},null==t.onPause||t.onPause()})).then((()=>{e=void 0,a||null==t.onContinue||t.onContinue()})),p=()=>{if(a)return;let e;try{e=t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(c).catch((e=>{var n,r;if(a)return;const s=null!=(n=t.retry)?n:3,c=null!=(r=t.retryDelay)?r:ns,f="function"==typeof c?c(i,e):c,h=!0===s||"number"==typeof s&&i<s||"function"==typeof s&&s(i,e);!o&&h?(i++,null==t.onFail||t.onFail(i,e),Ya(f).then((()=>{if(u())return d()})).then((()=>{o?l(e):p()}))):l(e)}))};return rs(t.networkMode)?p():d().then(p),{promise:s,cancel:e=>{a||(l(new os(e)),null==t.abort||t.abort())},continue:()=>(null==e?void 0:e())?s:Promise.resolve(),cancelRetry:()=>{o=!0},continueRetry:()=>{o=!1}}}const ss=console;const us=function(){let t=[],e=0,n=t=>{t()},r=t=>{t()};const o=r=>{e?t.push(r):Xa((()=>{n(r)}))},i=()=>{const e=t;t=[],e.length&&Xa((()=>{r((()=>{e.forEach((t=>{n(t)}))}))}))};return{batch:t=>{let n;e++;try{n=t()}finally{e--,e||i()}return n},batchCalls:t=>(...e)=>{o((()=>{t(...e)}))},schedule:o,setNotifyFunction:t=>{n=t},setBatchNotifyFunction:t=>{r=t}}}();class cs{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Na(this.cacheTime)&&(this.gcTimeout=setTimeout((()=>{this.optionalRemove()}),this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,null!=t?t:xa?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class ls extends cs{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||ss,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||function(t){const e="function"==typeof t.initialData?t.initialData():t.initialData,n=void 0!==e,r=n?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(t,e){const n=$a(this.state.data,t,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==e?void 0:e.updatedAt,manual:null==e?void 0:e.manual}),n}setState(t,e){this.dispatch({type:"setState",state:t,setStateOptions:e})}cancel(t){var e;const n=this.promise;return null==(e=this.retryer)||e.cancel(t),n?n.then(Da).catch(Da):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some((t=>!1!==t.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((t=>t.getCurrentResult().isStale))}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!La(this.state.dataUpdatedAt,t)}onFocus(){var t;const e=this.observers.find((t=>t.shouldFetchOnWindowFocus()));e&&e.refetch({cancelRefetch:!1}),null==(t=this.retryer)||t.continue()}onOnline(){var t;const e=this.observers.find((t=>t.shouldFetchOnReconnect()));e&&e.refetch({cancelRefetch:!1}),null==(t=this.retryer)||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter((e=>e!==t)),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,e){var n,r;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=e&&e.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return null==(o=this.retryer)||o.continueRetry(),this.promise}if(t&&this.setOptions(t),!this.options.queryFn){const t=this.observers.find((t=>t.options.queryFn));t&&this.setOptions(t.options)}"production"!==process.env.NODE_ENV&&(Array.isArray(this.options.queryKey)||this.logger.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const i=function(){if("function"==typeof AbortController)return new AbortController}(),a={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},s=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>{if(i)return this.abortSignalConsumed=!0,i.signal}})};s(a);const u={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(a)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};var c;(s(u),null==(n=this.options.behavior)||n.onFetch(u),this.revertState=this.state,"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=u.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(c=u.fetchOptions)?void 0:c.meta});const l=t=>{var e,n,r,o;(is(t)&&t.silent||this.dispatch({type:"error",error:t}),is(t))||(null==(e=(n=this.cache.config).onError)||e.call(n,t,this),null==(r=(o=this.cache.config).onSettled)||r.call(o,this.state.data,t,this),"production"!==process.env.NODE_ENV&&this.logger.error(t));this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=as({fn:u.fetchFn,abort:null==i?void 0:i.abort.bind(i),onSuccess:t=>{var e,n,r,o;if(void 0===t)return"production"!==process.env.NODE_ENV&&this.logger.error("Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: "+this.queryHash),void l(new Error(this.queryHash+" data is undefined"));this.setData(t),null==(e=(n=this.cache.config).onSuccess)||e.call(n,t,this),null==(r=(o=this.cache.config).onSettled)||r.call(o,t,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(t,e)=>{this.dispatch({type:"failed",failureCount:t,error:e})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){this.state=(e=>{var n,r;switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=t.meta)?n:null,fetchStatus:rs(this.options.networkMode)?"fetching":"paused",...!e.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(r=t.dataUpdatedAt)?r:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return is(o)&&o.revert&&this.revertState?{...this.revertState,fetchStatus:"idle"}:{...e,error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}})(this.state),us.batch((()=>{this.observers.forEach((e=>{e.onQueryUpdate(t)})),this.cache.notify({query:this,type:"updated",action:t})}))}}class ds extends Pa{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,e,n){var r;const o=e.queryKey,i=null!=(r=e.queryHash)?r:ja(o,e);let a=this.get(i);return a||(a=new ls({cache:this,logger:t.getLogger(),queryKey:o,queryHash:i,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(o)}),this.add(a)),a}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const e=this.queriesMap[t.queryHash];e&&(t.destroy(),this.queries=this.queries.filter((e=>e!==t)),e===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){us.batch((()=>{this.queries.forEach((t=>{this.remove(t)}))}))}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,e){const[n]=Ba(t,e);return void 0===n.exact&&(n.exact=!0),this.queries.find((t=>Fa(n,t)))}findAll(t,e){const[n]=Ba(t,e);return Object.keys(n).length>0?this.queries.filter((t=>Fa(n,t))):this.queries}notify(t){us.batch((()=>{this.listeners.forEach((({listener:e})=>{e(t)}))}))}onFocus(){us.batch((()=>{this.queries.forEach((t=>{t.onFocus()}))}))}onOnline(){us.batch((()=>{this.queries.forEach((t=>{t.onOnline()}))}))}}class ps extends cs{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||ss,this.observers=[],this.state=t.state||fs(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter((e=>e!==t)),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,e;return null!=(t=null==(e=this.retryer)?void 0:e.continue())?t:this.execute()}async execute(){const t=()=>{var t;return this.retryer=as({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(t,e)=>{this.dispatch({type:"failed",failureCount:t,error:e})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},e="loading"===this.state.status;try{var n,r,o,i,a,s,u,c;if(!e){var l,d,p,f;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(l=(d=this.mutationCache.config).onMutate)?void 0:l.call(d,this.state.variables,this));const t=await(null==(p=(f=this.options).onMutate)?void 0:p.call(f,this.state.variables));t!==this.state.context&&this.dispatch({type:"loading",context:t,variables:this.state.variables})}const h=await t();return await(null==(n=(r=this.mutationCache.config).onSuccess)?void 0:n.call(r,h,this.state.variables,this.state.context,this)),await(null==(o=(i=this.options).onSuccess)?void 0:o.call(i,h,this.state.variables,this.state.context)),await(null==(a=(s=this.mutationCache.config).onSettled)?void 0:a.call(s,h,null,this.state.variables,this.state.context,this)),await(null==(u=(c=this.options).onSettled)?void 0:u.call(c,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(t){try{var h,y,g,m,v,b,E,C;throw await(null==(h=(y=this.mutationCache.config).onError)?void 0:h.call(y,t,this.state.variables,this.state.context,this)),"production"!==process.env.NODE_ENV&&this.logger.error(t),await(null==(g=(m=this.options).onError)?void 0:g.call(m,t,this.state.variables,this.state.context)),await(null==(v=(b=this.mutationCache.config).onSettled)?void 0:v.call(b,void 0,t,this.state.variables,this.state.context,this)),await(null==(E=(C=this.options).onSettled)?void 0:E.call(C,void 0,t,this.state.variables,this.state.context)),t}finally{this.dispatch({type:"error",error:t})}}}dispatch(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"loading":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!rs(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"};case"setState":return{...e,...t.state}}})(this.state),us.batch((()=>{this.observers.forEach((e=>{e.onMutationUpdate(t)})),this.mutationCache.notify({mutation:this,type:"updated",action:t})}))}}function fs(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class hs extends Pa{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,e,n){const r=new ps({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(e),state:n,defaultOptions:e.mutationKey?t.getMutationDefaults(e.mutationKey):void 0});return this.add(r),r}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter((e=>e!==t)),this.notify({type:"removed",mutation:t})}clear(){us.batch((()=>{this.mutations.forEach((t=>{this.remove(t)}))}))}getAll(){return this.mutations}find(t){return void 0===t.exact&&(t.exact=!0),this.mutations.find((e=>Ua(t,e)))}findAll(t){return this.mutations.filter((e=>Ua(t,e)))}notify(t){us.batch((()=>{this.listeners.forEach((({listener:e})=>{e(t)}))}))}resumePausedMutations(){var t;return this.resuming=(null!=(t=this.resuming)?t:Promise.resolve()).then((()=>{const t=this.mutations.filter((t=>t.state.isPaused));return us.batch((()=>t.reduce(((t,e)=>t.then((()=>e.continue().catch(Da)))),Promise.resolve())))})).then((()=>{this.resuming=void 0})),this.resuming}}function ys(){return{onFetch:t=>{t.fetchFn=()=>{var e,n,r,o,i,a;const s=null==(e=t.fetchOptions)||null==(n=e.meta)?void 0:n.refetchPage,u=null==(r=t.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,c=null==u?void 0:u.pageParam,l="forward"===(null==u?void 0:u.direction),d="backward"===(null==u?void 0:u.direction),p=(null==(i=t.state.data)?void 0:i.pages)||[],f=(null==(a=t.state.data)?void 0:a.pageParams)||[];let h=f,y=!1;const g=t.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+t.options.queryHash+"'")),m=(t,e,n,r)=>(h=r?[e,...h]:[...h,e],r?[n,...t]:[...t,n]),v=(e,n,r,o)=>{if(y)return Promise.reject("Cancelled");if(void 0===r&&!n&&e.length)return Promise.resolve(e);const i={queryKey:t.queryKey,pageParam:r,meta:t.options.meta};var a;a=i,Object.defineProperty(a,"signal",{enumerable:!0,get:()=>{var e,n;return null!=(e=t.signal)&&e.aborted?y=!0:null==(n=t.signal)||n.addEventListener("abort",(()=>{y=!0})),t.signal}});const s=g(i);return Promise.resolve(s).then((t=>m(e,r,t,o)))};let b;if(p.length)if(l){const e=void 0!==c,n=e?c:gs(t.options,p);b=v(p,e,n)}else if(d){const e=void 0!==c,n=e?c:(E=t.options,C=p,null==E.getPreviousPageParam?void 0:E.getPreviousPageParam(C[0],C));b=v(p,e,n,!0)}else{h=[];const e=void 0===t.options.getNextPageParam;b=!s||!p[0]||s(p[0],0,p)?v([],e,f[0]):Promise.resolve(m([],f[0],p[0]));for(let n=1;n<p.length;n++)b=b.then((r=>{if(!s||!p[n]||s(p[n],n,p)){const o=e?f[n]:gs(t.options,r);return v(r,e,o)}return Promise.resolve(m(r,f[n],p[n]))}))}else b=v([]);var E,C;const k=b.then((t=>({pages:t,pageParams:h})));return k}}}}function gs(t,e){return null==t.getNextPageParam?void 0:t.getNextPageParam(e[e.length-1],e)}class ms extends Pa{constructor(t,e){super(),this.client=t,this.options=e,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(e)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),vs(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return bs(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return bs(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,e){const n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),"production"!==process.env.NODE_ENV&&void 0!==(null==t?void 0:t.isDataEqual)&&this.client.getLogger().error("The isDataEqual option has been deprecated and will be removed in the next major version. You can achieve the same functionality by passing a function as the structuralSharing option"),Qa(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const o=this.hasListeners();o&&Es(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(e),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const i=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&i===this.currentRefetchInterval||this.updateRefetchInterval(i)}getOptimisticResult(t){const e=this.client.getQueryCache().build(this.client,t),n=this.createResult(e,t);return function(t,e,n){if(n.keepPreviousData)return!1;if(void 0!==n.placeholderData)return e.isPlaceholderData;if(!Qa(t.getCurrentResult(),e))return!0;return!1}(this,n,t)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(t){const e={};return Object.keys(t).forEach((n=>{Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),t[n])})})),e}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...e}={}){return this.fetch({...e,meta:{refetchPage:t}})}fetchOptimistic(t){const e=this.client.defaultQueryOptions(t),n=this.client.getQueryCache().build(this.client,e);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,e)))}fetch(t){var e;return this.executeFetch({...t,cancelRefetch:null==(e=t.cancelRefetch)||e}).then((()=>(this.updateResult(),this.currentResult)))}executeFetch(t){this.updateQuery();let e=this.currentQuery.fetch(this.options,t);return null!=t&&t.throwOnError||(e=e.catch(Da)),e}updateStaleTimeout(){if(this.clearStaleTimeout(),xa||this.currentResult.isStale||!Na(this.options.staleTime))return;const t=La(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((()=>{this.currentResult.isStale||this.updateResult()}),t)}computeRefetchInterval(){var t;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(t=this.options.refetchInterval)&&t}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!xa&&!1!==this.options.enabled&&Na(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((()=>{(this.options.refetchIntervalInBackground||Za.isFocused())&&this.executeFetch()}),this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,e){const n=this.currentQuery,r=this.options,o=this.currentResult,i=this.currentResultState,a=this.currentResultOptions,s=t!==n,u=s?t.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,{state:l}=t;let d,{dataUpdatedAt:p,error:f,errorUpdatedAt:h,fetchStatus:y,status:g}=l,m=!1,v=!1;if(e._optimisticResults){const o=this.hasListeners(),i=!o&&vs(t,e),a=o&&Es(t,n,e,r);(i||a)&&(y=rs(t.options.networkMode)?"fetching":"paused",p||(g="loading")),"isRestoring"===e._optimisticResults&&(y="idle")}if(e.keepPreviousData&&!l.dataUpdatedAt&&null!=c&&c.isSuccess&&"error"!==g)d=c.data,p=c.dataUpdatedAt,g=c.status,m=!0;else if(e.select&&void 0!==l.data)if(o&&l.data===(null==i?void 0:i.data)&&e.select===this.selectFn)d=this.selectResult;else try{this.selectFn=e.select,d=e.select(l.data),d=$a(null==o?void 0:o.data,d,e),this.selectResult=d,this.selectError=null}catch(t){"production"!==process.env.NODE_ENV&&this.client.getLogger().error(t),this.selectError=t}else d=l.data;if(void 0!==e.placeholderData&&void 0===d&&"loading"===g){let t;if(null!=o&&o.isPlaceholderData&&e.placeholderData===(null==a?void 0:a.placeholderData))t=o.data;else if(t="function"==typeof e.placeholderData?e.placeholderData():e.placeholderData,e.select&&void 0!==t)try{t=e.select(t),this.selectError=null}catch(t){"production"!==process.env.NODE_ENV&&this.client.getLogger().error(t),this.selectError=t}void 0!==t&&(g="success",d=$a(null==o?void 0:o.data,t,e),v=!0)}this.selectError&&(f=this.selectError,d=this.selectResult,h=Date.now(),g="error");const b="fetching"===y,E="loading"===g,C="error"===g;return{status:g,fetchStatus:y,isLoading:E,isSuccess:"success"===g,isError:C,isInitialLoading:E&&b,data:d,dataUpdatedAt:p,error:f,errorUpdatedAt:h,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:l.dataUpdateCount>0||l.errorUpdateCount>0,isFetchedAfterMount:l.dataUpdateCount>u.dataUpdateCount||l.errorUpdateCount>u.errorUpdateCount,isFetching:b,isRefetching:b&&!E,isLoadingError:C&&0===l.dataUpdatedAt,isPaused:"paused"===y,isPlaceholderData:v,isPreviousData:m,isRefetchError:C&&0!==l.dataUpdatedAt,isStale:Cs(t,e),refetch:this.refetch,remove:this.remove}}updateResult(t){const e=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Qa(n,e))return;this.currentResult=n;const r={cache:!0};!1!==(null==t?void 0:t.listeners)&&(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.trackedProps.size)return!0;const r=new Set(null!=n?n:this.trackedProps);return this.options.useErrorBoundary&&r.add("error"),Object.keys(this.currentResult).some((t=>{const n=t;return this.currentResult[n]!==e[n]&&r.has(n)}))})()&&(r.listeners=!0),this.notify({...r,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const e=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const e={};"success"===t.type?e.onSuccess=!t.manual:"error"!==t.type||is(t.error)||(e.onError=!0),this.updateResult(e),this.hasListeners()&&this.updateTimers()}notify(t){us.batch((()=>{var e,n,r,o;if(t.onSuccess)null==(e=(n=this.options).onSuccess)||e.call(n,this.currentResult.data),null==(r=(o=this.options).onSettled)||r.call(o,this.currentResult.data,null);else if(t.onError){var i,a,s,u;null==(i=(a=this.options).onError)||i.call(a,this.currentResult.error),null==(s=(u=this.options).onSettled)||s.call(u,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach((({listener:t})=>{t(this.currentResult)})),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})}))}}function vs(t,e){return function(t,e){return!(!1===e.enabled||t.state.dataUpdatedAt||"error"===t.state.status&&!1===e.retryOnMount)}(t,e)||t.state.dataUpdatedAt>0&&bs(t,e,e.refetchOnMount)}function bs(t,e,n){if(!1!==e.enabled){const r="function"==typeof n?n(t):n;return"always"===r||!1!==r&&Cs(t,e)}return!1}function Es(t,e,n,r){return!1!==n.enabled&&(t!==e||!1===r.enabled)&&(!n.suspense||"error"!==t.state.status)&&Cs(t,n)}function Cs(t,e){return t.isStaleByTime(e.staleTime)}class ks extends Pa{constructor(t,e){super(),this.client=t,this.setOptions(e),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var e;const n=this.options;this.options=this.client.defaultMutationOptions(t),Qa(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(e=this.currentMutation)||e.setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(null==(t=this.currentMutation)||t.removeObserver(this))}onMutationUpdate(t){this.updateResult();const e={listeners:!0};"success"===t.type?e.onSuccess=!0:"error"===t.type&&(e.onError=!0),this.notify(e)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(t,e){return this.mutateOptions=e,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==t?t:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const t=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},e={...t,isLoading:"loading"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset};this.currentResult=e}notify(t){us.batch((()=>{var e,n,r,o;if(this.mutateOptions&&this.hasListeners())if(t.onSuccess)null==(e=(n=this.mutateOptions).onSuccess)||e.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(o=this.mutateOptions).onSettled)||r.call(o,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context);else if(t.onError){var i,a,s,u;null==(i=(a=this.mutateOptions).onError)||i.call(a,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(s=(u=this.mutateOptions).onSettled)||s.call(u,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}t.listeners&&this.listeners.forEach((({listener:t})=>{t(this.currentResult)}))}))}}var _s,ws={exports:{}},Ss={};var Rs,Is={};
9
2
  /**
10
3
  * @license React
11
4
  * use-sync-external-store-shim.development.js
12
5
  *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
6
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
7
  *
15
8
  * This source code is licensed under the MIT license found in the
16
9
  * LICENSE file in the root directory of this source tree.
17
- */"production"===process.env.NODE_ENV?Cu.exports=function(){if(wu)return Eu;wu=1;var e=E,t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useState,o=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function r(e){var n=e.getSnapshot;e=e.value;try{var o=n();return!t(e,o)}catch(e){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var s=t(),c=n({inst:{value:s,getSnapshot:t}}),u=c[0].inst,l=c[1];return a((function(){u.value=s,u.getSnapshot=t,r(u)&&l({inst:u})}),[e,s,t]),o((function(){return r(u)&&l({inst:u}),e((function(){r(u)&&l({inst:u})}))}),[e]),i(s),s};return Eu.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:s,Eu}():Cu.exports=(_u||(_u=1,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=E,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];!function(e,n,o){var a=t.ReactDebugCurrentFrame.getStackAddendum();""!==a&&(n+="%s",o=o.concat([a]));var i=o.map((function(e){return String(e)}));i.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,i)}("error",e,o)}var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=e.useState,i=e.useEffect,r=e.useLayoutEffect,s=e.useDebugValue,c=!1,u=!1;function l(e){var t=e.getSnapshot,n=e.value;try{var a=t();return!o(n,a)}catch(e){return!0}}var p="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t,n){return t()}:function(t,p,d){c||void 0!==e.startTransition&&(c=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var f=p();if(!u){var m=p();o(f,m)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),u=!0)}var h=a({inst:{value:f,getSnapshot:p}}),v=h[0].inst,y=h[1];return r((function(){v.value=f,v.getSnapshot=p,l(v)&&y({inst:v})}),[t,f,p]),i((function(){return l(v)&&y({inst:v}),t((function(){l(v)&&y({inst:v})}))}),[t]),s(f),f},d=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:p;Su.useSyncExternalStore=d,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Su);var Ru=Cu.exports;const Iu=Ru.useSyncExternalStore,Tu=C.createContext(void 0),Au=C.createContext(!1);function Ou(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Tu),window.ReactQueryClientContext):Tu)}const Pu=({context:e}={})=>{const t=C.useContext(Ou(e,C.useContext(Au)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Du=({client:e,children:t,context:n,contextSharing:o=!1})=>{C.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),"production"!==process.env.NODE_ENV&&o&&e.getLogger().error("The contextSharing option has been deprecated and will be removed in the next major version");const a=Ou(n,o);return C.createElement(Au.Provider,{value:!n&&o},C.createElement(a.Provider,{value:e},t))},ju=C.createContext(!1);ju.Provider;const Lu=C.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}());function Nu(e,t){return"function"==typeof e?e(...t):!!e}function Fu(e,t){const n=Pu({context:e.context}),o=C.useContext(ju),a=C.useContext(Lu),i=n.defaultQueryOptions(e);i._optimisticResults=o?"isRestoring":"optimistic",i.onError&&(i.onError=su.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=su.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=su.batchCalls(i.onSettled)),(e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)})(i),((e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))})(i,a),(e=>{C.useEffect((()=>{e.clearReset()}),[e])})(a);const[r]=C.useState((()=>new t(n,i))),s=r.getOptimisticResult(i);if(Iu(C.useCallback((e=>{const t=o?()=>{}:r.subscribe(su.batchCalls(e));return r.updateResult(),t}),[r,o]),(()=>r.getCurrentResult()),(()=>r.getCurrentResult())),C.useEffect((()=>{r.setOptions(i,{listeners:!1})}),[i,r]),((e,t,n)=>(null==e?void 0:e.suspense)&&((e,t)=>e.isLoading&&e.isFetching&&!t)(t,n))(i,s,o))throw((e,t,n)=>t.fetchOptimistic(e).then((({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)})).catch((t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)})))(i,r,a);if((({result:e,errorResetBoundary:t,useErrorBoundary:n,query:o})=>e.isError&&!t.isReset()&&!e.isFetching&&Nu(n,[e.error,o]))({result:s,errorResetBoundary:a,useErrorBoundary:i.useErrorBoundary,query:r.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:r.trackResult(s)}function Bu(e,t,n){return Fu(Lc(e,t,n),vu)}function Mu(e,t,n){const o=function(e,t,n){return Hc(e)?"function"==typeof t?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}(e,t,n),a=Pu({context:o.context}),[i]=C.useState((()=>new ku(a,o)));C.useEffect((()=>{i.setOptions(o)}),[i,o]);const r=Iu(C.useCallback((e=>i.subscribe(su.batchCalls(e))),[i]),(()=>i.getCurrentResult()),(()=>i.getCurrentResult())),s=C.useCallback(((e,t)=>{i.mutate(e,t).catch(zu)}),[i]);if(r.error&&Nu(i.options.useErrorBoundary,[r.error]))throw r.error;return{...r,mutate:s,mutateAsync:r.mutate}}function zu(){}function Uu(e){return Mu((function(e){var t=e.payload,n=e.accountCode;return Tc.getInstance().postWebhook({payload:t,accountCode:n})}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})}function qu(e){return Mu((function(e){var t=e.payload,n=e.accountCode;return Tc.getInstance().postWebhookV2({payload:t,accountCode:n})}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})}function Vu(e){return Mu((function(e){var t=e.payload;return Tc.getInstance().postWebhookV2MultiAccount({payload:t})}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})}function Gu(e){return Mu((function(e){var t=e.code;return Tc.getInstance().deleteWebhook(t)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})}function Ku(e){return Mu((function(e){var t=e.code,n=e.accountCode;return Tc.getInstance().deleteWebhookV2(t,n)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})}function Wu(e){return Mu((function(e){var t=e.code,n=e.payload;return Tc.getInstance().updateWebhook(t,n)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})}function Qu(e){return Mu((function(e){var t=e.code,n=e.payload,o=e.accountCode;return Tc.getInstance().updateWebhookV2(t,n,o)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})}function Hu(){return Mu((function(e){var t=e.name,n=e.principal;return Tc.getInstance().postAccount(t,n)}))}function Ju(){return Mu((function(e){var t=e.name,n=e.code,o=e.principal;return Tc.getInstance().patchAccount({name:t,code:n,principal:o})}))}function Yu(){return Mu((function(e){var t=e.name,n=e.code,o=e.principal;return Tc.getInstance().patchAccountV2({name:t,code:n,principal:o})}))}function $u(){return Mu((function(e){var t=e.account_code;return Tc.getInstance().putAccountPrincipal({account_code:t})}))}function Xu(){return Mu((function(e){var t=e.organizationCode,n=e.userCode,o=e.payload;return Tc.getInstance().putAccountsUser(t,n,o)}))}function Zu(){return Mu((function(e){var t=e.organizationCode,n=e.userCode,o=e.payload;return Tc.getInstance().putAccountsUserMassive(t,n,o)}))}function el(){return Mu((function(e){var t=e.organizationCode,n=e.userCode,o=e.payload;return Tc.getInstance().deleteAccountsUserMassive(t,n,o)}))}function tl(){return Mu(["post-validate-status-connection"],(function(e){var t=e.payload,n=e.accountCode;return Tc.getInstance().postValidateStatusConnection({payload:t,accountCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function nl(){return Mu(["post-change-status-connection"],(function(e){var t=e.payload,n=e.accountCode;return Tc.getInstance().postChangeStatusConnection({payload:t,accountCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function ol(){return Mu((function(e){return Tc.getInstance().putCosts(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})}function al(){return Mu(["post-connection"],(function(e){var t=e.payload,n=e.accountCode;return Tc.getInstance().postConnection({payload:t,accountCode:n}).then((function(e){return null==e?void 0:e.data}))}))}function il(){return Mu(["post-connection"],(function(e){var t=e.payload;return Tc.getInstance().postMultiConnection({payload:t}).then((function(e){return null==e?void 0:e.data}))}))}function rl(){return Mu(["new-post-connection"],(function(e){var t=e.payload,n=e.accountCode;return Tc.getInstance().newPostConnection({payload:t,accountCode:n}).then((function(e){return null==e?void 0:e.data}))}))}function sl(){return Mu(["new-post-connection-validate"],(function(){return Tc.getInstance().postMultiConnectionValidate().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})}function cl(){return Mu(["patch-connection"],(function(e){var t=e.payload,n=e.connectionCode;return Tc.getInstance().patchConnection({payload:t,connectionCode:n}).then((function(e){return null==e?void 0:e.data}))}))}function ul(){return Mu(["delete-connection"],(function(e){return Tc.getInstance().deleteConnection(e).then((function(e){return null==e?void 0:e.data}))}))}function ll(){return Mu(["auth-connection"],(function(e){var t=e.payload,n=e.connectionCode;return Tc.getInstance().postArchiveConnection({payload:t,connectionCode:n}).then((function(e){return null==e?void 0:e.data}))}))}function pl(){return Mu((function(e){var t=e.payload;return Tc.getInstance().postDefaultRoutes({payload:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}))}function dl(){return Mu((function(e){return Tc.getInstance().postValidateCredentials(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}))}function fl(){return Mu(["patch-organizations"],(function(){return Tc.getInstance().updateOrganizationStatus().then((function(e){return null==e?void 0:e.data}))}))}function ml(){return Mu((function(e){return Tc.getInstance().getOrgByName(e).then((function(e){return null==e?void 0:e.data}))}))}function hl(e){var o=this;return Mu((function(){return t(o,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().changePassword(e).then((function(e){return null==e?void 0:e.data}))];case 1:return[2,t.sent()]}}))}))}))}function vl(){var e=this;return Mu((function(o){return t(e,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Tc.getInstance().changePasswordV2(o).then((function(e){return null==e?void 0:e.data}))];case 1:return[2,e.sent()]}}))}))}))}function yl(e){return Mu((function(e){return Tc.getInstance().updateProfile(e)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})}function gl(){return Mu((function(e){return Tc.getInstance().inviteUsers(e)}))}function bl(){return Mu((function(e){return Tc.getInstance().inviteUsersV2(e,e.organizationCode)}))}function xl(){return Mu((function(e){return Tc.getInstance().inviteUsersMassive(e,e.organizationCode)}))}function kl(){return Mu((function(e){var t=e.userCode;return Tc.getInstance().unInviteUsers({userCode:t})}))}function wl(){return Mu((function(e){var t=e.userCode,n=e.organizationCode;return Tc.getInstance().unInviteUsersV2({userCode:t,organizationCode:n})}))}function Cl(){return Mu((function(e){return Tc.getInstance().createUserAuth0(e)}))}function El(){return Mu((function(e){return Tc.getInstance().postCall(e)}))}function _l(){return Mu((function(e){return Tc.getInstance().changeLoginMethods(e)}))}function Sl(){return Mu((function(e){var t=e.paymentMethod,n=e.checkoutCode;return Tc.getInstance().updateIsActivePaymentMethod(n,t).then((function(e){return null==e?void 0:e.data}))}))}function Rl(e){return Mu((function(e){return Tc.getInstance().updateIsActiveCheckout(e)}),e)}function Il(){return Mu((function(e){var t=e.accountCode,n=e.template;return Tc.getInstance().updateCheckoutTemplate({accountCode:t,template:n}).then((function(e){return null==e?void 0:e.data}))}))}function Tl(){return Mu((function(e){var t=e.accountCode,n=e.theme;return Tc.getInstance().updateStylingTheme({accountCode:t,theme:n}).then((function(e){return null==e?void 0:e.data}))}))}function Al(){return Mu((function(e){var t=e.payload,n=e.transactionId,o=e.paymentId,a=e.action;return Tc.getInstance().createOperationTransaction(t,n,o,a)}))}function Ol(){return Mu((function(e){var t=e.payload,n=e.paymentId,o=e.transactionId,a=e.handleSetProgress;return Tc.getInstance().uploadChargebacks(t,n,o,a)}))}var Pl=new lu({}),Dl=new class{constructor(e={}){this.queryCache=e.queryCache||new lu,this.mutationCache=e.mutationCache||new fu,this.logger=e.logger||ru,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0,"production"!==process.env.NODE_ENV&&e.logger&&this.logger.error("Passing a custom logger has been deprecated and will be removed in the next major version.")}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=Xc.subscribe((()=>{Xc.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=eu.subscribe((()=>{eu.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=Nc(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const o=Lc(e,t,n),a=this.getQueryData(o.queryKey);return a?Promise.resolve(a):this.fetchQuery(o)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const o=this.queryCache.find(e),a=function(e,t){return"function"==typeof e?e(t):e}(t,null==o?void 0:o.state.data);if(void 0===a)return;const i=Lc(e),r=this.defaultQueryOptions(i);return this.queryCache.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return su.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=Nc(e,t),o=this.queryCache;su.batch((()=>{o.findAll(n).forEach((e=>{o.remove(e)}))}))}resetQueries(e,t,n){const[o,a]=Nc(e,t,n),i=this.queryCache,r={type:"active",...o};return su.batch((()=>(i.findAll(o).forEach((e=>{e.reset()})),this.refetchQueries(r,a))))}cancelQueries(e,t,n){const[o,a={}]=Nc(e,t,n);void 0===a.revert&&(a.revert=!0);const i=su.batch((()=>this.queryCache.findAll(o).map((e=>e.cancel(a)))));return Promise.all(i).then(Pc).catch(Pc)}invalidateQueries(e,t,n){const[o,a]=Nc(e,t,n);return su.batch((()=>{var e,t;if(this.queryCache.findAll(o).forEach((e=>{e.invalidate()})),"none"===o.refetchType)return Promise.resolve();const n={...o,type:null!=(e=null!=(t=o.refetchType)?t:o.type)?e:"active"};return this.refetchQueries(n,a)}))}refetchQueries(e,t,n){const[o,a]=Nc(e,t,n),i=su.batch((()=>this.queryCache.findAll(o).filter((e=>!e.isDisabled())).map((e=>{var t;return e.fetch(void 0,{...a,cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:o.refetchPage}})}))));let r=Promise.all(i).then(Pc);return null!=a&&a.throwOnError||(r=r.catch(Pc)),r}fetchQuery(e,t,n){const o=Lc(e,t,n),a=this.defaultQueryOptions(o);void 0===a.retry&&(a.retry=!1);const i=this.queryCache.build(this,a);return i.isStaleByTime(a.staleTime)?i.fetch(a):Promise.resolve(i.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(Pc).catch(Pc)}fetchInfiniteQuery(e,t,n){const o=Lc(e,t,n);return o.behavior=mu(),this.fetchQuery(o)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(Pc).catch(Pc)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find((t=>zc(e)===zc(t.queryKey)));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find((t=>Uc(e,t.queryKey)));if("production"!==process.env.NODE_ENV){this.queryDefaults.filter((t=>Uc(e,t.queryKey))).length>1&&this.logger.error("[QueryClient] Several query defaults match with key '"+JSON.stringify(e)+"'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults.")}return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find((t=>zc(e)===zc(t.mutationKey)));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find((t=>Uc(e,t.mutationKey)));if("production"!==process.env.NODE_ENV){this.mutationDefaults.filter((t=>Uc(e,t.mutationKey))).length>1&&this.logger.error("[QueryClient] Several mutation defaults match with key '"+JSON.stringify(e)+"'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults.")}return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=Mc(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1,staleTime:3e5,useErrorBoundary:!0}},queryCache:Pl});function jl(){return Mu((function(e){return Tc.getInstance().createReport(e).then((function(e){return null==e?void 0:e.data}))}))}function Ll(){return Mu((function(e){return Tc.getInstance().createReconciliationsReportV2(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})}function Nl(){return Mu((function(e){return Tc.getInstance().createReportV2(e).then((function(e){return null==e?void 0:e.data}))}))}function Fl(){return Mu((function(e){return Tc.getInstance().getTotalRowsForExport(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})}function Bl(){return Mu((function(e){return Tc.getInstance().cancelReport(e).then((function(e){return null==e?void 0:e.data}))}))}function Ml(o){var a=this;return Mu((function(){return t(a,void 0,void 0,(function(){return n(this,(function(e){return[2,Tc.getInstance().createReportTemplate(o).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onMutate:function(o){return t(a,void 0,void 0,(function(){var t;return n(this,(function(n){switch(n.label){case 0:return[4,Dl.cancelQueries({queryKey:["GET/reports/templates"]})];case 1:return n.sent(),t=Dl.getQueryData(["GET/reports/templates"]),Dl.setQueryData(["GET/reports/templates"],(function(t){return e(e([],t,!0),[o],!1)})),[2,{previousTemplates:t}]}}))}))},onError:function(e,t,n){Dl.setQueryData(["GET/reports/templates"],null==n?void 0:n.previousTemplates)},onSettled:function(){Dl.invalidateQueries({queryKey:["GET/reports/templates"]})}})}function zl(e){return Mu((function(){return Tc.getInstance().updateReportTemplate(e).then((function(e){return null==e?void 0:e.data}))}))}function Ul(e,o,a){var i=this;return void 0===a&&(a=null),Mu((function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().postSmartRoutingCreateWorkflow(e,o).then((function(e){return null==e?void 0:e.data}))];case 1:return[2,t.sent()]}}))}))}),a)}function ql(e,o){var a=this,i=e.versionCode,r=e.accountCode,s=e.organizationCode;return void 0===o&&(o=null),Mu((function(){return t(a,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Tc.getInstance().postSmartRoutingPublishVersion(r,i,s).then((function(e){return null==e?void 0:e.data}))];case 1:return[2,e.sent()]}}))}))}),o)}function Vl(){return Mu(["validate-connection"],(function(e){var t=e.connectionCode;return Tc.getInstance().postSmartRoutingValidateConnection(t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function Gl(e,t){var n=e.data,o=e.accountCode;return void 0===t&&(t=null),Mu((function(){return Tc.getInstance().putSmartRoutingUpdateWorkflow(o,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),t)}function Kl(e,t){var n=e.versionCode,o=e.accountCode;return void 0===t&&(t=null),Mu((function(){return Tc.getInstance().deleteSmartRoutingVersion(o,n).then((function(e){return null==e?void 0:e.data}))}),t)}function Wl(e,t){var n=e.versionCode,o=e.accountCode;return void 0===t&&(t=null),Mu((function(){return Tc.getInstance().postSmartRoutingDuplicateVersion(o,n).then((function(e){return null==e?void 0:e.data}))}),t)}function Ql(e,t){var n=e.paymentMethod,o=e.active,a=e.accountCode;return void 0===t&&(t=null),Mu((function(){return Tc.getInstance().putSmartRoutingToggleMethod(a,n,o).then((function(e){return null==e?void 0:e.data}))}),t)}function Hl(e,t){var n=e.declinedId,o=e.accountCode;return void 0===t&&(t=null),Mu((function(e){return void 0===e&&(e=null),Tc.getInstance().updateSmartRoutingDeclinedGroup(o,n,e).then((function(e){return null==e?void 0:e.data}))}),t)}function Jl(e){var t=e.accountCode;return Mu((function(e){return void 0===e&&(e=null),Tc.getInstance().createSmartRoutingDeclinedGroup(t,e).then((function(e){return null==e?void 0:e.data}))}),e.options)}function Yl(e){var t=e.accountCode;return Mu((function(e){return void 0===e&&(e=null),Tc.getInstance().updateSmartRoutingTutorial(t,e||"").then((function(e){return null==e?void 0:e.data}))}),e.options)}function $l(e,t){var n=e.versionCode,o=e.accountCode;return void 0===t&&(t=null),Mu((function(e){return void 0===e&&(e=!1),Tc.getInstance().updateSmartRoutingFavorite(o,n,e).then((function(e){return null==e?void 0:e.data}))}),t)}function Xl(e,t){var n=e.code,o=e.name,a=e.accountCode;return void 0===t&&(t=null),Mu((function(){return Tc.getInstance().putSmartRoutingUpdateWorkflowName(a,{code:n,name:o}).then((function(e){return null==e?void 0:e.data}))}),t)}function Zl(e,t){var n=e.accountCode,o=e.workflowVersionCode;return void 0===t&&(t=null),Mu((function(e){return Tc.getInstance().simulateSmartRoutingTransaction(n,o,e).then((function(e){return null==e?void 0:e.data}))}),t)}function ep(e,t){return void 0===t&&(t=null),Mu((function(t){return Tc.getInstance().updateMonitorRedistribution(e,t).then((function(e){return null==e?void 0:e.data}))}),t)}function tp(e,t){return void 0===t&&(t={}),Mu((function(t){var n=t.declinedGroupCode;return Tc.getInstance().removeDeclinedGroup(e,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),a(a({},t),{useErrorBoundary:!1}))}function np(e,t){return void 0===t&&(t={}),Mu((function(t){var n=t.payload;return Tc.getInstance().multiAccountDeclinedGroupCreate(e,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),a(a({},t),{useErrorBoundary:!1}))}var op=function(e){return Mu((function(t){return Tc.getInstance().createMonitorThreshold(t,e).then((function(e){return e.data}))}))},ap=function(e){return Mu((function(t){return Tc.getInstance().createMonitorTemplate(t,e).then((function(e){return e.data}))}))};function ip(e){return Mu((function(){return Tc.getInstance().createNotificacion(e).then((function(e){return null==e?void 0:e.data}))}))}function rp(){return Mu((function(){return Tc.getInstance().getNotification().then((function(e){return null==e?void 0:e.data}))}))}function sp(){return Mu((function(e){var t=e.payload;return Tc.getInstance().postSlackMessageChannel(t).then((function(e){return null==e?void 0:e.data}))}))}function cp(){var e=this;return Mu((function(o){var a=o.roles,i=o.userCode;return t(e,void 0,void 0,(function(){var e;return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().setRoles({roles:a,userCode:i})];case 1:return[2,null==(e=t.sent())?void 0:e.data]}}))}))}))}function up(){var e=this;return Mu((function(o){var a=o.userCode;return t(e,void 0,void 0,(function(){var e;return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().deleteUserTeam({userCode:a})];case 1:return[2,null==(e=t.sent())?void 0:e.data]}}))}))}))}function lp(){return Mu((function(e){var t=e.userCode,n=e.organizationCode;return Tc.getInstance().deleteUserTeamV2({userCode:t,organizationCode:n}).then((function(e){return null==e?void 0:e.data}))}))}function pp(){return Mu((function(){return Tc.getInstance().setCustodian().then((function(e){return null==e?void 0:e.data}))}))}function dp(){return Mu((function(e){var t=e.payload,n=e.accountCode;return Tc.getInstance().createRoles(t,n).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})}function fp(){var e=this;return Mu((function(o){var a=o.payload,i=o.id,r=o.accountCode;return t(e,void 0,void 0,(function(){var e;return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().editRoles({payload:a,id:i},r)];case 1:return[2,null==(e=t.sent())?void 0:e.data]}}))}))}),{useErrorBoundary:!1})}function mp(){return Mu((function(e){return Tc.getInstance().deleteRoles(e).then((function(e){return null==e?void 0:e.data}))}))}function hp(){return Mu(["post-payment-links"],(function(e){var t=e.payload,n=e.accountCode;return Tc.getInstance().postPaymentLinks({payload:t,accountCode:n}).then((function(e){return null==e?void 0:e.data}))}))}function vp(){return Mu(["post-products-account"],(function(e){var t=e.payload;return Tc.getInstance().postCreateProducts({payload:t}).then((function(e){return null==e?void 0:e.data}))}))}function yp(){return Mu(["post-delete-payment-link"],(function(e){var t=e.code;return Tc.getInstance().postDeletePaymentLink({code:t}).then((function(e){return null==e?void 0:e.data}))}))}function gp(){return Mu(["patch-payment-links"],(function(e){var t=e.payload,n=e.accountCode,o=e.paymentLinkCode;return Tc.getInstance().patchPaymentLinks({payload:t,accountCode:n,paymentLinkCode:o}).then((function(e){return null==e?void 0:e.data}))}))}function bp(e){return Mu((function(){return Tc.getInstance().postValidatePassword(e).then((function(e){return null==e?void 0:e.data}))}))}function xp(){return Mu((function(e){var t=e.payload;return Tc.getInstance().postUserSettings(t)}),{onMutate:function(e){return e}})}function kp(){return Mu((function(e){return Tc.getInstance().postUserThemeSettings(e)}))}function wp(){return Mu((function(e){var t=e.payload,n=e.section;return Tc.getInstance().postUserSettingsTables(t,n)}),{onMutate:function(e){return e},onSuccess:function(e){var t=Dl.getQueryData(["fetch-profile"]);e.data&&Dl.setQueryData(["fetch-profile"],a(a({},t),{settings:e.data}))}})}function Cp(e){return Mu(["pinned-sections"],(function(e){var t=e.payload;return Tc.getInstance().postUserSettingsPinned(t)}),{onMutate:function(t){var n=t.payload;return e({payload:n})}})}function Ep(){return Mu((function(e){var t=e.password,n=e.otp;return Tc.getInstance().getMfaTokenValidation(t,n).then((function(e){return null==e?void 0:e.data}))}))}function _p(e){return Mu((function(){return Tc.getInstance().getMfaToken(e).then((function(e){return null==e?void 0:e.data}))}))}function Sp(){return Mu((function(){return Tc.getInstance().getEmailOtp().then((function(e){return null==e?void 0:e.data}))}))}function Rp(e){return Mu((function(){return Tc.getInstance().validateOtp(e).then((function(e){return null==e?void 0:e.data}))}))}function Ip(){return Mu((function(e){return Tc.getInstance().confirmMfaOtp(e).then((function(e){return null==e?void 0:e.data}))}))}function Tp(e){return Mu((function(){return Tc.getInstance().confirmMfaOtp(e).then((function(e){return null==e?void 0:e.data}))}))}function Ap(e){return Mu((function(){return Tc.getInstance().unrollMfa(e).then((function(e){return null==e?void 0:e.data}))}))}function Op(){return Mu((function(e){return Tc.getInstance().unrollMfa(e).then((function(e){return null==e?void 0:e.data}))}))}function Pp(){return Mu((function(){return Tc.getInstance().sendOTPForMFA().then((function(e){return null==e?void 0:e.data}))}))}function Dp(){return Mu((function(){return Tc.getInstance().getMFAStatus().then((function(e){return null==e?void 0:e.data}))}))}function jp(){return Mu((function(){return Tc.getInstance().validatePasswordStatus().then((function(e){return null==e?void 0:e.data})).catch((function(e){return{valid:!1}}))}))}function Lp(){return Mu(["post-get-allowlist-items"],(function(e){var t=e.payload;return Tc.getInstance().postAllowlistItems({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function Np(){return Mu(["post-get-allowlist-multi-account"],(function(e){var t=e.payload;return Tc.getInstance().postGetAllowlist({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function Fp(){return Mu(["post-create-allowlist-multi-account"],(function(e){var t=e.payload;return Tc.getInstance().postCreateAllowlistMultiAccount({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function Bp(){return Mu(["patch-change-status-allowlist"],(function(e){var t=e.payload;return Tc.getInstance().patchChangeStatusAllowlist({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function Mp(){return Mu(["patch-change-status-allowlist-item"],(function(e){var t=e.payload;return Tc.getInstance().patchChangeStatusAllowlistItem({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function zp(){return Mu(["post-add-allowlist-items"],(function(e){var t=e.payload;return Tc.getInstance().patchAddAllowlistItems({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function Up(){return Mu(["patch-allowlist"],(function(e){var t=e.payload;return Tc.getInstance().patchAllowlist({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function qp(){return Mu(["post-blacklist-multi-account"],(function(e){var t=e.payload;return Tc.getInstance().postBlackListMultiAccount({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function Vp(){return Mu(["post-blacklist"],(function(e){var t=e.payload;return Tc.getInstance().postBlackListType({payload:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function Gp(){return Mu(["put-blacklist"],(function(e){return Tc.getInstance().putBlackListType(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function Kp(){return Mu(["change-blacklist"],(function(e){return Tc.getInstance().changeBlackListStatus(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function Wp(){return Mu(["change-blacklist-item"],(function(e){return Tc.getInstance().changeBlackListStatusItem(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function Qp(){return Mu(["post-blacklist-items"],(function(e){var t=e.payload;return Tc.getInstance().postBlackListItems({payload:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function Hp(){return Mu(["delete-blacklist"],(function(e){var t=e.black_list_code;return Tc.getInstance().deleteBlackListType({black_list_code:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function Jp(){return Mu(["delete-blacklist-item"],(function(e){var t=e.black_list_code,n=e.account_code,o=e.item;return Tc.getInstance().deleteBlackListItem({black_list_code:t,account_code:n,item:o}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function Yp(e){var t=e.handleSetProgress;return Mu(["post-blacklist-batch"],(function(e){var n=e.blacklist_code,o=e.expiration_days,a=e.file;return Tc.getInstance().postBlackListBatch({blacklist_code:n,expiration_days:o,file:a,handleSetProgress:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function $p(){return Mu(["change-payments-webhook"],(function(e){var t=e.status,n=e.paymentCode;return Tc.getInstance().postChangePaymentsWebhook({status:t,paymentCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function Xp(){return Mu(["delete-blacklist-items"],(function(e){var t=e.blocklist_code,n=e.blocklist_item_id,o=e.account_code;return Tc.getInstance().deleteBlockListItem({blocklist_code:t,blocklist_item_id:n,account_code:o}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function Zp(){return Mu(["valiate-blacklist-items"],(function(e){return Tc.getInstance().valiateBlockListItems({payload:e}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function ed(){return Mu(["delete-allowlist-item"],(function(e){return Tc.getInstance().deleteAllowlistItem({payload:e}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function td(){return Mu(["validate-allowlist-items"],(function(e){return Tc.getInstance().validateAllowlistItems({payload:e}).then((function(e){return e.data})).catch((function(e){return e}))}))}function nd(e){var t=e.fileName,n=e.onSuccess,o=e.onError,a=_(0),i=a[0],r=a[1],s=S({cancel:function(){return null}}),c=Mu(["upload-file-chargeback",t],(function(e){var t=Tc.getInstance().uploadFileS3ClientBatchRefunds({payload:e,handleSetProgress:r}),a=t.promise,i=t.cancel;return s.current.cancel=i,a.then((function(e){return null==n||n(null==e?void 0:e.data),null==e?void 0:e.data})).catch((function(e){throw null==o||o(),e}))}),{useErrorBoundary:!1});return{mutation:c,cancelRequest:s.current.cancel,progress:i}}function od(e){var t=e.handleSetProgress;return Mu((function(e){return Tc.getInstance().uploadBatchRefunds({payload:e,handleSetProgress:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function ad(){return Mu((function(e){return Tc.getInstance().uploadBatchRefundsV2({payload:e}).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})}function id(){var e=this;return Mu((function(o){return t(e,void 0,void 0,(function(){return n(this,(function(e){return[2,Tc.getInstance().batchRefundByFile({payload:o}).then((function(e){return null==e?void 0:e.data}))]}))}))}),{useErrorBoundary:!1})}function rd(){var e=this;return Mu((function(o){var a=o.batchRefundId,i=o.organizationCode,r=o.accountCode;return t(e,void 0,void 0,(function(){return n(this,(function(e){return[2,Tc.getInstance().getBatchRefundProcessedFileDownload(a,i,r).then((function(e){return null==e?void 0:e.data}))]}))}))}),{useErrorBoundary:!1})}function sd(){var e=this;return Mu((function(o){var a=o.batchRefundId,i=o.organizationCode,r=o.accountCode;return t(e,void 0,void 0,(function(){return n(this,(function(e){return[2,Tc.getInstance().getBatchRefundUserFileDownload(a,i,r).then((function(e){return null==e?void 0:e.data}))]}))}))}),{useErrorBoundary:!1})}function cd(){var e=S({cancel:function(){return null}}),t=Mu(["upload-file"],(function(t){var n=Tc.getInstance().uploadFileS3ClientBatchRefunds({payload:t}),o=n.promise,a=n.cancel;return e.current.cancel=a,o.then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}));return{mutation:t,cancelRequest:e.current.cancel}}function ud(){return Mu((function(e){var t=e.payload,n=e.organizationCode;return Tc.getInstance().updateMFAConfig(t,n)}))}function ld(){return Mu((function(e){var t=e.payload,n=e.organizationCode;return Tc.getInstance().mfaExcludeUsers(t,n)}))}function pd(e){return Bu(["GET/scheduled-reports",e],(function(){return Tc.getInstance().getScheduledReport(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!e,useErrorBoundary:!1})}function dd(){return Mu((function(e){var t=e.payload;return Tc.getInstance().postScheduledReport(t).then((function(e){return{data:e.data,status:e.status}})).catch((function(e){return e}))}))}function fd(){return Mu((function(e){var t=e.reportCode,n=e.payload;return Tc.getInstance().updateScheduledReport(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function md(){return Mu((function(e){return Tc.getInstance().deleteScheduledReport(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function hd(){return Mu((function(e){return Tc.getInstance().getConditionalConfigRules(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function vd(){return Mu((function(e){return Tc.getInstance().getRule(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function yd(){return Mu((function(e){var t=e.payload,n=e.accountCode;return Tc.getInstance().postCreateRuleMultiAccount(t,n).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function gd(){return Mu((function(e){var t=e.payload,n=e.accountCode;return Tc.getInstance().postCreateRule(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function bd(){return Mu((function(e){var t=e.payload,n=e.ruleId,o=e.accountCode;return Tc.getInstance().postEditRule(t,n,o).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function xd(){return Mu((function(e){var t=e.payload;return Tc.getInstance().postCreateCustomizedApiKeys(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function kd(){return Mu((function(e){var t=e.payload,n=e.code;return Tc.getInstance().pathCreateCustomizedApiKeys(t,n).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function wd(){return Mu((function(e){var t=e.code,n=e.password;return Tc.getInstance().getCustomizedApiKeysToken(t,n).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}))}function Cd(){return Mu((function(e){var t=e.passwordOtp;return Tc.getInstance().getDeveloperCredentialsValidatePassword(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}))}function Ed(){return Mu((function(e){var t=e.code;return Tc.getInstance().getCustomizedApiKeysShowToken(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function _d(){return Mu((function(e){var t=e.code;return Tc.getInstance().deleteCustomizedApiKeys(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function Sd(){return Mu((function(e){var t=e.payload,n=e.code;return Tc.getInstance().patchApiKeysEditNote(t,n).then((function(e){return e.data})).catch((function(e){return e}))}))}function Rd(){return Mu((function(e){var t=e.payload,n=e.code,o=e.password;return Tc.getInstance().postApiKeysRoll(t,n,o).then((function(e){return e.data})).catch((function(e){return e}))}))}function Id(){return Mu((function(e){var t=e.password,n=e.accountCode;return Tc.getInstance().getDeveloperCredentials(t,n).then((function(e){return a(a({},null==e?void 0:e.data),{isValid:!0})})).catch((function(e){var t,n;return{isValid:!1,status:e.response.status,error:null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.data}}))}))}function Td(e){return Mu((function(e){var t=e.payload;return Tc.getInstance().postAuditMonitors(t)}),{onMutate:e.onMutate})}function Ad(o){var a=this;return Mu((function(){return Tc.getInstance().createReconciliationReportTemplate(o).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}),{onMutate:function(o){return t(a,void 0,void 0,(function(){var t,a;return n(this,(function(n){switch(n.label){case 0:return[4,Dl.cancelQueries({queryKey:["GET/reconciliation/reports/templates"]})];case 1:return n.sent(),t=null===(a=Dl.getQueryData(["GET/reconciliation/reports/templates"]))||void 0===a?void 0:a.templates,Dl.setQueryData(["GET/reconciliation/reports/templates"],(function(t){return{templates:e(e([],t.templates,!0),[o],!1)}})),[2,{previousTemplates:t}]}}))}))},onError:function(e,t,n){Dl.setQueryData(["GET/reconciliation/reports/templates"],null==n?void 0:n.previousTemplates)},onSettled:function(){Dl.invalidateQueries({queryKey:["GET/reconciliation/reports/templates"]})},useErrorBoundary:!1})}function Od(e){return Mu((function(){return Tc.getInstance().updateReconciliationReportTemplate(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}),{useErrorBoundary:!1})}function Pd(){return Mu(["POST/reconciliation/alerts"],(function(e){return Tc.getInstance().postReconciliationAlert(e).then((function(e){return e.data})).catch((function(e){throw e}))}),{onSuccess:function(){Dl.invalidateQueries(["GET/reconciliation/alerts/list"])},useErrorBoundary:!1})}function Dd(){return Mu(["DELETE/reconciliation/alerts"],(function(e){return Tc.getInstance().deleteReconciliationAlert(e).then((function(e){return e.data})).catch((function(e){throw e}))}),{onSuccess:function(){Dl.invalidateQueries(["GET/reconciliation/alerts/list"])},useErrorBoundary:!1})}function jd(){return Mu(["UPDATE/reconciliation/alerts"],(function(e){return Tc.getInstance().updateReconciliationAlert(e).then((function(e){return e.data})).catch((function(e){throw e}))}),{onSuccess:function(){Dl.invalidateQueries(["GET/reconciliation/alerts/list"])},useErrorBoundary:!1})}function Ld(){return Mu((function(e){var t=e.payload;return Tc.getInstance().postCreateInsightsReport(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function Nd(){return Mu((function(e){return Tc.getInstance().createSamlConfig(e)}))}function Fd(){return Mu((function(e){return Tc.getInstance().updateSamlConfig(e)}))}function Bd(){return Mu((function(){return Tc.getInstance().deleteSamlConfig()}))}function Md(e,t){return void 0===t&&(t={}),Mu((function(t){return Tc.getInstance().generateAIWorkflowRoutes(e,t).then((function(e){return null==e?void 0:e.data}))}),a(a({},t),{useErrorBoundary:!1}))}function zd(){return Mu((function(e){return Tc.getInstance().createChartGPTChart(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})}function Ud(){return Mu((function(e){return Tc.getInstance().deleteChartGPTChart(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})}function qd(){return Mu((function(e){var t=e.chartgpt_id,n=e.type,o=e.name;return Tc.getInstance().patchChartGPTChart(t,{type:n,name:o}).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})}var Vd=function(){var e,t;return null===(t=null===(e=function(e){var t=localStorage.getItem(e),n=_(t&&JSON.parse(t)),o=n[0],a=n[1];return R((function(){var t=function(t){if(t.key===e){var n=t.newValue;a(n)}};return window.addEventListener("storage",t),function(){window.removeEventListener("storage",t)}}),[e]),o}("account"))||void 0===e?void 0:e.value)||void 0===t?void 0:t.organization_code};function Gd(e){var o=this;return Bu(["fetch-payments-lazy",e],(function(){return t(o,void 0,void 0,(function(){return n(this,(function(t){return[2,Tc.getInstance().postPaymentsLazy(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))]}))}))}),{enabled:!!e&&Object.keys(e).length>0,cacheTime:0})}function Kd(e){return Bu(["fetch-payments-evaluated",e],(function(){return Tc.getInstance().postPaymentsEvaluated(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e&&Object.keys(e).length>0,cacheTime:0})}function Wd(e){var t=e.enabled,n=void 0===t||t,o=i(e,["enabled"]);return Bu(["fetch-payments-".concat(o.payment_code),o],(function(){return Tc.getInstance().getPayment(o).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:500})}function Qd(e){var o=this,a=e.paymentCode,i=e.enabled,r=void 0===i||i,s=Tc.getInstance();return Bu(["get-payment-v2",a],(function(){return t(o,void 0,void 0,(function(){return n(this,(function(e){return[2,s.getPaymentV2(a).then((function(e){return e.data})).catch((function(e){throw e}))]}))}))}),{enabled:r,cacheTime:500})}function Hd(e,t){return Bu(["payments/".concat(e,"/transactions"),t],(function(){return Tc.getInstance().getPaymentTransactions(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t,cacheTime:500})}function Jd(e){return Bu(["payments/".concat(e,"/transactions/lazy")],(function(){return Tc.getInstance().getPaymentTransactionsLazy(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e.response.data}))}),{enabled:!!e,cacheTime:500})}function Yd(e){var t=e.payment_code,n=e.transaction_code,o=e.enabled,a=void 0===o||o;return Bu(["payments/".concat(t,"/transactions/").concat(n)],(function(){return Tc.getInstance().getTransactionDetails({payment_code:t,transaction_code:n}).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:500,enabled:a})}function $d(e){var o=this,a=e.payment_code,i=e.enabled,r=void 0===i||i,s=Tc.getInstance();return Bu(["get-payment-transaction-details-v2",a],(function(){return t(o,void 0,void 0,(function(){return n(this,(function(e){return[2,s.getTransactionDetailsV2({payment_code:a}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))]}))}))}),{enabled:!!a&&r,cacheTime:0})}function Xd(e){var o=this,a=e.transaction_code,i=e.enabled,r=void 0===i||i,s=Tc.getInstance();return Bu(["get-payment-transaction-raw-response",a],(function(){return t(o,void 0,void 0,(function(){return n(this,(function(e){return[2,s.getTransactionRawResponse({transaction_code:a})]}))}))}),{enabled:!!a&&r,cacheTime:0})}function Zd(e){var t=Vd();return Bu(["payment-methods",e],(function(){return Tc.getInstance().getPaymentMethodsByCountry({provider_id:null==e?void 0:e.provider_id,country:null==e?void 0:e.country},t).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:!!e&&!!(null==e?void 0:e.provider_id),useErrorBoundary:!1})}function ef(e){var t=e.provider;return Bu(["/payment-methods/provider/".concat(t)],(function(){return Tc.getInstance().getPaymentMethodsByProvider({provider:t}).then((function(e){return null==e?void 0:e.data}))}))}function tf(){return Bu(["/payment-methods/providers"],(function(){return Tc.getInstance().getPaymentMethodsAndProviders().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function nf(){return Bu(["/payments/payment-methods/providers/active"],(function(){return Tc.getInstance().getPaymentMethodsAndProvidersActive().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function of(){return Bu(["/payments/transaction/statuses"],(function(){return Tc.getInstance().useGetPaymentAndTrxStatuses().then((function(e){return null==e?void 0:e.data}))}))}function af(){return Bu(["GET/catalog/card-brands"],(function(){return Tc.getInstance().getCardBrands().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function rf(e){return void 0===e&&(e=!0),Bu(["payment-filters",e],(function(){return Tc.getInstance().getPaymentFilters().then((function(e){return null==e?void 0:e.data}))}),{enabled:e,useErrorBoundary:!1})}function sf(){return Bu(["payment-metrics-filters"],(function(){return Tc.getInstance().getPaymentMetricsFilters().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})}function cf(e){var t=e.transaction_code;return Bu(["payment-filters",t],(function(){return Tc.getInstance().getTransactionHistory({transaction_code:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t})}function uf(e){var t=e.transaction_code,n=e.enabled;return Bu(["payment-transaction-details",t],(function(){return Tc.getInstance().getPaymentTransactionsDetails({transaction_code:t}).then((function(e){return null==e?void 0:e.data})).catch((function(){return{error:!0}}))}),{enabled:!!t&&(void 0===n||n)})}function lf(e){var t=e.payment_code,n=e.enabled;return Bu(["transaction-history",t],(function(){return Tc.getInstance().getTransactionHistoryByPaymentCode({payment_code:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:!!t&&(void 0===n||n),useErrorBoundary:!1})}function pf(e){return Bu(["GET/transactions",JSON.stringify(e)],(function(){return Tc.getInstance().getTransactions(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})}function df(e){var o=this;return Bu(["POST/transactions",JSON.stringify(e)],(function(){return t(o,void 0,void 0,(function(){return n(this,(function(t){return[2,Tc.getInstance().postTransactions(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))]}))}))}),{enabled:!!e,cacheTime:0})}function ff(e){var o=this;return Bu(["POST/fraud-transactions",JSON.stringify(e)],(function(){return t(o,void 0,void 0,(function(){return n(this,(function(t){return[2,Tc.getInstance().postFraudTransactions(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))]}))}))}),{enabled:!!e&&Object.keys(e).length>0,cacheTime:0})}function mf(e){return Bu(["GET/payout-detail",JSON.stringify(e)],(function(){var t=Tc.getInstance();return e.organization_code?t.getPayoutDetails(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e})):{}}),{enabled:!!e.organization_code&&!!e&&e.enabled,cacheTime:0})}function hf(e){return Bu(["GET/payout-transaction-detail",JSON.stringify(e)],(function(){return Tc.getInstance().getPayoutTransactionDetails(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e&&!!(null==e?void 0:e.transaction_code)&&(null==e?void 0:e.enabled),cacheTime:0})}function vf(e){var t=Vd();return Bu(["GET/payout-history-detail",JSON.stringify(e)],(function(){return Tc.getInstance().getPayoutHistoryDetails(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!(null==e?void 0:e.payout_code)&&e.enabled,cacheTime:0})}function yf(e){var o=this,a=Vd();return Bu(["GET/useGetProofOfCancel",a,e],(function(){return t(o,void 0,void 0,(function(){return n(this,(function(t){return[2,Tc.getInstance().getProofOfCancel(e,a).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))]}))}))}),{enabled:!!e&&!!a,cacheTime:0,useErrorBoundary:!1})}function gf(e,o,a){var i=this,r=Tc.getInstance();return Bu(["send-payment-notification",e,o],(function(){return t(i,void 0,void 0,(function(){var t,i;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,r.sendPaymentNotification(e,o)];case 1:return t=n.sent(),a.onSuccess(),[2,t.data];case 2:throw i=n.sent(),a.onError(),i;case 3:return[2]}}))}))}),{enabled:a.enabled,cacheTime:0,useErrorBoundary:!1})}function bf(e){return Bu(["usePayoutsList",e&&JSON.stringify(e)],(function(){var t=Tc.getInstance();if(e)return t.postPayouts(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e&&!!Object.values(e).length,cacheTime:0})}function xf(e){var o=this;void 0===e&&(e=!0);var a=Vd();return Bu(["getPayoutsFilters",a],(function(){return t(o,void 0,void 0,(function(){return n(this,(function(e){return[2,Tc.getInstance().getPayoutsFilters(a).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))]}))}))}),{enabled:e&&!!a})}function kf(e){var t=e.password,n=e.accountCode;return Bu(["developers"],(function(){return Tc.getInstance().getDeveloperCredentials(t,n).then((function(e){return a(a({},null==e?void 0:e.data),{isValid:!0})})).catch((function(e){var t,n;return{isValid:!1,status:e.response.status,error:null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.data}}))}),{enabled:!1,cacheTime:0})}function wf(e){var t=e.password;return Bu(["developers"],(function(){return Tc.getInstance().getDeveloperCredentialsValidatePassword(t).then((function(e){return a(a({},null==e?void 0:e.data),{isValid:!0})})).catch((function(e){var t,n;return{isValid:!1,status:e.response.status,error:null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.data}}))}),{enabled:!1,cacheTime:0})}function Cf(){return Bu(["fetch-customized-api-keys-members"],(function(){return Tc.getInstance().getCustomizedApiKeysMembers().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{keepPreviousData:!0})}function Ef(){return Bu(["developers-get-allowed-ips"],(function(){return Tc.getInstance().getAllowedIps().then((function(e){return(null==e?void 0:e.data)?a(a({},null==e?void 0:e.data),{isError:!1}):null})).catch((function(e){return a(a({},e),{isError:!0})}))}),{enabled:!1,cacheTime:0})}function _f(){return Bu(["fetch-customized-api-keys-accounts"],(function(){return Tc.getInstance().getCustomizedApiKeysAccounts().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{keepPreviousData:!0})}function Sf(e){return Bu(["fetch-customized-api-keys",e],(function(){return Tc.getInstance().postCustomizedApiKeys(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!(null==e?void 0:e.length)})}function Rf(){return Bu(["fetch-customized-api-keys-products"],(function(){return Tc.getInstance().getCustomizedApiKeysProducts().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{cacheTime:0})}function If(){return Mu(["developers-patch-allowed-ips"],(function(e){return Tc.getInstance().patchAllowedIps(e).then((function(e){return(null==e?void 0:e.data)?a(a({},null==e?void 0:e.data),{isError:!1}):null})).catch((function(e){return a(a({},e),{isError:!0})}))}),{cacheTime:0})}function Tf(){return Bu(["fetch-organizations"],(function(){return Tc.getInstance().getOrganization().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{keepPreviousData:!0})}function Af(){return Bu(["fetch-all-organizations"],(function(){return Tc.getInstance().getAllOrganization().then((function(e){return(null==e?void 0:e.data)||[]}))}),{keepPreviousData:!0,useErrorBoundary:!1})}function Of(e){var t=Vd();return Bu(["organizations-provider-params",e],(function(e){var n=e.queryKey;return Tc.getInstance().getProviderParams(n[1],t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.id),useErrorBoundary:!1})}function Pf(e){var t=e.integration_code,n=e.enabled;return Bu(["integration-params",t],(function(){return t.includes("undefined")?{}:Tc.getInstance().getIntegrationParams({integration_code:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,useErrorBoundary:!1})}function Df(e){var t=e.accountCode,n=e.organizationCode;return Bu(["organizations-account-integrations"],(function(){return Tc.getInstance().getIntegrationByAccount({accountCode:t,organizationCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!t})}function jf(e){var t=e.accountCode,n=e.organizationCode,o=Vd(),a=Bu(["organizations-account-integrations",t,n],(function(){return Tc.getInstance().getIntegrationByAccountV2({accountCode:t,organizationCode:n||o}).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0,enabled:!!t,useErrorBoundary:!1});return a}function Lf(e){var t=e.accountCode,n=e.paymentMethod;return Bu(["fetch-connections-by-payment-method",n,t],(function(){return Tc.getInstance().getConnectionsByPaymentMethod(t,n).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!n&&!!t,cacheTime:0,useErrorBoundary:!1})}function Nf(){var e=this;return Bu(["fetch-hash-pylon"],(function(){return t(e,void 0,void 0,(function(){return n(this,(function(e){return[2,Tc.getInstance().getHashPylon()]}))}))}),{keepPreviousData:!0,useErrorBoundary:!1})}function Ff(){return Bu(["connections"],(function(){return Tc.getInstance().getConnections().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})}function Bf(){return Bu(["dialogs"],(function(){return Tc.getInstance().getDialogs().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1,retryDelay:2e3})}function Mf(){return Bu(["params-catalog"],(function(){return Tc.getInstance().getWebhookParams().then((function(e){return null==e?void 0:e.data}))}))}function zf(){return Bu(["params-catalog"],(function(){return Tc.getInstance().getWebhookParamsV2().then((function(e){return null==e?void 0:e.data}))}))}function Uf(e){var t=e.accountCode;return Bu(["webhooks"],(function(){return Tc.getInstance().getWebhooks({accountCode:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t})}function qf(e){var t=e.accountCode;return Bu(["webhooks"],(function(){return Tc.getInstance().getWebhooksV2({accountCode:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t})}function Vf(e){var t=e.accountCode,n=e.name;return Bu(["webhooks",t,n],(function(){return Tc.getInstance().getWebhooksV3({accountCode:t,name:n}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t,useErrorBoundary:!1})}function Gf(e){var t=e.accountCode,n=e.enabled;return Bu(["webhooks-detail",t],(function(){return Tc.getInstance().getWebhooksV2Detail({accountCode:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t&&!!n})}function Kf(e){var t,n=Vd(),o=null!==(t=null!=e?e:n)&&void 0!==t?t:null;return Bu({queryKey:["accounts",o],queryFn:function(){return Tc.getInstance().getAccounts(o).then((function(e){return null==e?void 0:e.data}))},keepPreviousData:!0,cacheTime:3e3,enabled:!!o})}function Wf(e){return Bu(["accountsV2",e],(function(){return Tc.getInstance().getAccountsV2().then((function(e){return(null==e?void 0:e.data)||[]})).catch((function(e){throw e}))}),{keepPreviousData:!0,enabled:!!e,useErrorBoundary:!1})}function Qf(e){return Bu(["accountsV2-by-user",e],(function(){return e?Tc.getInstance().getAccountsByUser(e).then((function(e){return{accountsV2ByUser:(null==e?void 0:e.data)||null}})).catch((function(e){return{accountsV2ByUser:[],error:e}})):{accountsV2ByUser:[]}}),{enabled:!!e,staleTime:0})}function Hf(){return Bu(["menu"],(function(){return Tc.getInstance().getMenu().then((function(e){return lc(e)?yc:null==e?void 0:e.data})).catch((function(){return yc}))}))}function Jf(){return Bu(["/payment/statuses/style"],(function(){return Tc.getInstance().useGetPaymentStatusesStyles().then((function(e){return lc(e)?pc:null==e?void 0:e.data})).catch((function(){return pc}))}))}function Yf(){return Bu(["/transaction/statuses/style"],(function(){return Tc.getInstance().useGetTransactionStatusesStyles().then((function(e){return lc(e)?dc:null==e?void 0:e.data})).catch((function(){return dc}))}))}function $f(){return Bu(["/reconciliation/transaction/statuses/style"],(function(){return Tc.getInstance().useGetReconciliationTransactionStatusesStyles().then((function(e){return lc(e)?fc:null==e?void 0:e.data})).catch((function(){return fc}))}))}function Xf(){return Bu(["timezone-catalog"],(function(){return Tc.getInstance().useGetTimeZoneCatalog().then((function(e){return lc(e)?mc:null==e?void 0:e.data})).catch((function(){return mc}))}))}function Zf(){return Bu(["/cms/audit-logs-filters"],(function(){return Tc.getInstance().useGetAuditLogsFilters().then((function(e){return lc(e)?hc:null==e?void 0:e.data})).catch((function(){return hc}))}))}function em(){return Bu(["/cms/static-contents"],(function(){return Tc.getInstance().getDashboardStaticContents().then((function(e){var t,n;return lc(e)?vc:(null===(n=null===(t=null==e?void 0:e.data)||void 0===t?void 0:t[0])||void 0===n?void 0:n.data)||{}})).catch((function(){return vc}))}))}function tm(){return Bu(["/cms/locales"],(function(){return Tc.getInstance().getLocales().then((function(e){return lc(e)?gc:e.data})).catch((function(){return gc}))}))}var nm=function(){var e=_("ON"===localStorage.getItem("isTesting")),t=e[0],n=e[1];return R((function(){window.addEventListener("storage",(function(e){"isTesting"===e.key&&n("ON"===e.newValue)}))}),[]),{isTesting:t}};function om(e){return Bu(["smart-routing-methods",e],(function(){return Tc.getInstance().getSmartRoutingMethods(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})}function am(e,t){return Bu(["smart-routing-workflow",t,e],(function(){return Tc.getInstance().getSmartRoutingWorkflow(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t&&!!e,cacheTime:0,retry:!1})}function im(e,t){return Bu(["smart-routing-condition-types",e,t],(function(){return Tc.getInstance().getSmartRoutingConditionTypes(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t&&!!e})}function rm(e,t){return Bu(["smart-routing-condition-payment-method",e,t],(function(){return Tc.getInstance().getSmartRoutingConditionPaymentMethod(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:null!==t})}function sm(e,t){return Bu(["smart-routing-condition-types-values",t,e],(function(){return Tc.getInstance().getSmartRoutingConditionTypesValues(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t&&!!e})}function cm(e){var t=e.accountCode,n=e.workflowVersionId;return Bu(["smart-routing-workflow-version",n,t],(function(){return Tc.getInstance().getSmartRoutingWorkflowVersion(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!n&&!!t,cacheTime:0})}function um(e,t,n){return Bu(["smart-routing-next-route",e,n,t],(function(){return Tc.getInstance().getSmartRoutingNextSteps(e,t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e})}function lm(e){return Bu(["smart-routing-decline-groups",e],(function(){return Tc.getInstance().getSmartRoutingDeclinedGroup(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})}function pm(e){return Bu(["smart-routing-tutorial",e],(function(){return Tc.getInstance().getSmartRoutingTutorial(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})}function dm(e,t){return Bu(["smart-routing-payment-route",e,t],(function(){return Tc.getInstance().getSmartRoutingPaymentRoute(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e&&!!t,cacheTime:0})}function fm(e){return Bu(["smart-routing-simulate-condition-type-values",e],(function(){return Tc.getInstance().getSmartRoutingSimulateConditionTypeValues(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})}function mm(e){var t=e.text,n=e.conditionType;return Bu(["smart-routing-search-condition-values",t,n],(function(){return Tc.getInstance().getSmartRoutingSearchConditionValues(n,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!n&&!!t,cacheTime:0})}function hm(){return Bu(["smart-routing-conversion-rates"],(function(){return Tc.getInstance().getProviderConversionRatesData().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:!1,useErrorBoundary:!1})}function vm(){var e=this;return Bu({queryKey:["smart-routing-3ds-excemptions"],queryFn:function(){return t(e,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Tc.getInstance().get3DSExemptions()];case 1:return[2,e.sent().data]}}))}))},useErrorBoundary:!1})}function ym(e){return Bu(["fetch-routing-monitors-templates",e],(function(){return Tc.getInstance().getRoutingMonitorsTemplates(e).then((function(e){return e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:!!e,useErrorBoundary:!1})}function gm(e,t){return Bu(["fetch-routing-monitors-template",e],(function(){return Tc.getInstance().getRoutingMonitorsTemplate(e,t).then((function(e){return e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:!!e&&!!t&&"NONE"!==e,useErrorBoundary:!1})}function bm(e){var t=e.accountCode;return Bu(["checkouts",t],(function(){return Tc.getInstance().getCheckouts({accountCode:t}).then((function(e){return e.data}))}),{cacheTime:0,enabled:Boolean(t)})}function xm(e){var t=e.accountCode;return Bu(["checkouts-template"],(function(){return Tc.getInstance().getCheckoutTemplate({accountCode:t}).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0,enabled:Boolean(t)})}var km=function(e){return["checkout-builder-name-and-icon",e.paymentMethodType,e.type]},wm=function(e,t){var n=e.paymentMethodType,o=e.type;return Bu(km({paymentMethodType:n,type:o}),(function(){return Tc.getInstance().getNameAndIcon({paymentMethodType:n,type:o}).then((function(e){return null==e?void 0:e.data}))}),t)},Cm=function(e){return["checkout-builder-required-fields",e.paymentMethodType,e.type]},Em=function(e,t){var n=e.paymentMethodType,o=e.type;return Bu(Cm({paymentMethodType:n,type:o}),(function(){return Tc.getInstance().getRequiredFields({paymentMethodType:n,type:o}).then((function(e){return null==e?void 0:e.data}))}),t)};function _m(e){var t=e.accountCode;return Bu(["styling-theme",t],(function(){return Tc.getInstance().getStylingTheme({accountCode:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:Boolean(t),useErrorBoundary:!1})}function Sm(e){var t=e.accountCode;return Bu(["styling-settings",t],(function(){return Tc.getInstance().getStylingSettings({accountCode:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:Boolean(t),useErrorBoundary:!1})}function Rm(){return Bu(["fetch-profile"],(function(){return Tc.getInstance().getProfile().then((function(e){var t=null==e?void 0:e.data;return t&&localStorage.setItem("user",JSON.stringify(t)),t})).catch((function(e){throw e}))}),{keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3})}function Im(e,t){return Bu(["fetch-permissions",e,t],(function(){var e,t,n,o=localStorage.getItem("account"),a=localStorage.getItem("user"),i=o&&JSON.parse(o),r=a&&JSON.parse(a);return((null==r?void 0:r.merlin)?null===(e=null==r?void 0:r.merlin)||void 0===e?void 0:e.permissions:null===(n=null===(t=null==i?void 0:i.value)||void 0===t?void 0:t.role)||void 0===n?void 0:n.permission_ids.map((function(e){return{permission_name:e,description:e,resource_server_name:e,resource_server_identifier:e}})))||[]}))}function Tm(e){return Bu(["email-verification",e],(function(){return Tc.getInstance().emailVerification(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e})}function Am(e){return Bu(["login-sso",e],(function(){return Tc.getInstance().getLoginSSO(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e})}function Om(){return Bu({queryKey:["get-login-methods"],queryFn:function(){return Tc.getInstance().getLoginMethods().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}})}function Pm(e){return Bu(["notifications-customer",e],(function(){return Tc.getInstance().getNotificationsCustomer(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,keepPreviousData:!1})}function Dm(e){return Bu(["validate-opsgenie-key",e],(function(){return Tc.getInstance().getValidateOpsgenieKey(e).then((function(e){return null==e?void 0:e.data})).catch((function(){return{error:!0}}))}),{enabled:!!e,cacheTime:0})}function jm(){return Bu(["notifications-merged"],(function(){return Tc.getInstance().getMergedNotifications().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{keepPreviousData:!1,cacheTime:0})}function Lm(e){return Bu(["notifications-account",e],(function(){return Tc.getInstance().getNotificationsCustomer(e).then((function(e){return null==e?void 0:e.data}))}))}function Nm(e){return Bu(["notifications-number",e],(function(){return Tc.getInstance().getNotificationsNumber(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e})}function Fm(){return Mu((function(e){return Tc.getInstance().getNotificationsNumber(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))}function Bm(){var e=this;return Mu((function(o){return t(e,void 0,void 0,(function(){var e;return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().pathNotification(o)];case 1:return[2,null==(e=t.sent())?void 0:e.data]}}))}))}))}var Mm={key:"metadata_fields",name:"metadata_fields"};function zm(){return Bu(["reports"],(function(){return Tc.getInstance().reportsList().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})}function Um(e){return void 0===e&&(e=!0),Bu(["reports-multi-env"],(function(){return Tc.getInstance().reportsListMultiEnv().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:e})}function qm(e,t,n){return void 0===t&&(t=!1),Bu(["reports/".concat(e)],(function(){return Tc.getInstance().downloadReports(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:t,onSuccess:n,useErrorBoundary:!1})}function Vm(e){return Bu(["GET/reports/templates"],(function(){return Tc.getInstance().getReportTemplates().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:e,useErrorBoundary:!1})}function Gm(t,n,o){return Bu(["GET/reports/columns/".concat(n,"/").concat(o)],(function(){return Tc.getInstance().getReportColumns(n,o).then((function(t){return"ALL"===n&&"PAYMENTS"===o?e(e([],null==t?void 0:t.data,!0),[Mm],!1):null==t?void 0:t.data})).catch((function(e){return e}))}),{enabled:t,useErrorBoundary:!1})}function Km(e){var o=this,a=Vd();return Bu(["getRefundPdf",e,a],(function(){return t(o,void 0,void 0,(function(){return n(this,(function(t){return[2,Tc.getInstance().getRefundPdf(e,a).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))]}))}))}),{enabled:!!e&&!!a,useErrorBoundary:!1})}function Wm(e){return Bu(["fetch-members"],(function(){return Tc.getInstance().getMembers(e).then((function(e){return null==e?void 0:e.data}))}),{keepPreviousData:!0})}function Qm(e){var t=e.organizationCode,n=Vd();return Bu(["fetch-members-v3",t],(function(){return t?Tc.getInstance().getMembersV3({organizationCode:n}).then((function(e){return null==e?void 0:e.data})):null}),{enabled:!!t,cacheTime:0})}function Hm(){var e=Vd();return Bu(["teams-filters-members"],(function(){return Tc.getInstance().teamsFiltersMembers({organizationCode:e}).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0})}function Jm(e){var t=e.organizationCode,n=e.accountCodes,o=Vd();return Bu(["fetch-members-v4",t,n],(function(){return n?t?Tc.getInstance().getMembersV4({organizationCode:o,accountCodes:n}).then((function(e){return null==e?void 0:e.data})):null:{}}),{enabled:!!t&&!!n,cacheTime:0})}function Ym(e){var t=e.organizationCode,n=e.accountCodes,o=Vd();return Bu(["fetch-post-members-v4",t,n],(function(){return Tc.getInstance().postMembersV4({organizationCode:o,accountCodes:n}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t&&!!n,cacheTime:0})}function $m(e){var t=e.organizationCode,n=e.accountCodes,o=e.page,a=e.pageSize,i=Vd();return Bu(["fetch-post-members-v4",t,n,o,a],(function(){return Tc.getInstance().postMembersPaginated({organizationCode:i,accountCodes:n,page:o,pageSize:a}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t&&!!n,cacheTime:0,useErrorBoundary:!1})}function Xm(e){var t=e.organizationCode,n=e.accountCodes,o=e.email,a=e.page,i=e.pageSize,r=Vd();return Bu(["fetch-post-members-v2",t,n,o,a,i],(function(){return Tc.getInstance().postMembersPaginatedV2({organizationCode:r,accountCodes:n,email:o,page:a,pageSize:i}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t&&!!n,cacheTime:0,useErrorBoundary:!1})}function Zm(){return Bu(["fetch-roles"],(function(){return Tc.getInstance().getRoles().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})}function eh(){return Bu(["fetch-rolespermissions"],(function(){return Tc.getInstance().getRolesPermissions().then((function(e){return null==e?void 0:e.data}))}))}function th(){return Bu(["fetch-permissions-catalog"],(function(){return Tc.getInstance().getPermissionsCatalog().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})}function nh(e){return Bu(["data-report",e],(function(){return Tc.getInstance().getSmartRoutingDataReport(e).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0,useErrorBoundary:!1})}function oh(e,t,n){return Bu(["data-insights",e],(function(){return("LOCAL"===process.env.ENVIRONMENT||"DEV"===process.env.ENVIRONMENT||localStorage.getItem("log_metrics"))&&(console.log("%c ".concat(e.key_metric),"background: #222; color: #bada55"),console.log(e)),Tc.getInstance().getDashboardInsights(e).then((function(e){return null==e?void 0:e.data}))}),{keepPreviousData:n,enabled:!!e.account_code&&!!t&&!!e.key_metric&&"Empty"!==e.currency_code,cacheTime:0,useErrorBoundary:!1})}function ah(e,t){return Bu(["get-isolated-metric",e],(function(){return Tc.getInstance().getDashboardInsights(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e.account_code,cacheTime:0,keepPreviousData:t,useErrorBoundary:!1})}function ih(e){return Bu(["get-insights-conversion-rate-metrics",e],(function(){return Tc.getInstance().getInsightsMetricsConversionRate(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.enabled)&&void 0!==e.account_code,cacheTime:200,useErrorBoundary:!1})}function rh(e,t){return Bu(["get-insights-conversion-rate-metrics-v2",e,t],(function(){return Tc.getInstance().getInsightsMetricsConversionRateV2(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:!!(null==e?void 0:e.enabled)&&void 0!==e.account_code,cacheTime:0,useErrorBoundary:!1})}function sh(e,t){return Bu(["get-insights-conversion-rate-view-more-metrics",t,e],(function(){return Tc.getInstance().getInsightsMetricsConversionRateViewMore(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.enabled)&&!!t,cacheTime:200,useErrorBoundary:!1})}function ch(e){return Bu(["get-insights-conversion-rate-fallback-metrics",e],(function(){return Tc.getInstance().getInsightFallbackMetrics(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.enabled),cacheTime:200,useErrorBoundary:!1})}function uh(e,t,n){return void 0===n&&(n=!0),delete t.account_code,Bu(["get-insights-volume-metrics",t,e],(function(){return Tc.getInstance().getInsightsMetricsVolume(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:200,useErrorBoundary:!1})}function lh(e,t,n,o){return void 0===o&&(o=!0),delete t.account_code,Bu(["get-insights-volume-metrics-v2",t,e,n],(function(){return Tc.getInstance().getInsightsMetricsVolumeV2(e,n,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:o,cacheTime:200,useErrorBoundary:!1})}function ph(e,t,n){return void 0===n&&(n=!0),delete t.account_code,Bu(["get-insights-total-payment-fraud-metrics",t,e],(function(){return Tc.getInstance().getInsightsMetricsTotalPaymentsAndFraud(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:200,useErrorBoundary:!1})}function dh(e,t,n){return void 0===n&&(n=!0),delete t.account_code,Bu(["get-insights-customer-payment-fraud-metrics",t,e],(function(){return Tc.getInstance().getInsightsMetricsCustomerPaymentsAndFraud(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:200,useErrorBoundary:!1})}function fh(e){return Bu(["get-insights-overview",e],(function(){return Tc.getInstance().getInsightOverview(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.enabled)&&void 0!==e.account_code,cacheTime:200,useErrorBoundary:!1})}function mh(e,t){var n=!!(null==e?void 0:e.enabled)&&void 0!==(null==e?void 0:e.account_code);return Bu(["get-insights-overview-v3",e,t],(function(){return Tc.getInstance().getInsightOverviewV3(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:0,useErrorBoundary:!1})}function hh(e){return Bu(["get-insights-home-metrics",e],(function(){return Tc.getInstance().getInsighstHomeMetrics(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.currency_code)&&!!(null==e?void 0:e.account_codes)&&!!(null==e?void 0:e.organization_code)&&(null==e?void 0:e.isLiveMode)&&!!(null==e?void 0:e.timezone),cacheTime:200,useErrorBoundary:!1})}function vh(e){return Bu(["get-insights-reports",e],(function(){return Tc.getInstance().getInsightsReport(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!(null==e?void 0:e.type),cacheTime:0,useErrorBoundary:!1})}function yh(e){return Bu(["get-insights-reports-again",e],(function(){return Tc.getInstance().getInsightsReportAgain(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!(null==e?void 0:e.code),cacheTime:0,useErrorBoundary:!1})}function gh(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-fraud-screening-volume-and-count-tx",e,o],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsightsFraudScreeningVolumeAndCountTx(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}function bh(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-fraud-screening-conversion-rate",e,o],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsightsFraudScreeningConversionRate(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}function xh(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-3ds-volume-and-count-tx",o,e],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsights3dsVolumeAndCountTx(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}function kh(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-3ds-conversion-rate-and-evolution",e,o],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsights3dsConversionRateAndEvolution(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}function wh(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-3ds-decline-reasons",e,o],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsights3dsDeclineReasons(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}function Ch(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-3ds-frictionless-vs-challenge",e,o],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsights3dsFrictionlessVsChallenge(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}function Eh(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-chargebacks-volume-and-count-tx",e,o],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsightsChargebacksVolumeAndCountTx(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}function _h(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-chargebacks-win-rate",e,o],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsightsChargebacksWinRate(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}function Sh(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-chargebacks-disputed",e,o],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsightsChargebacksDisputed(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}function Rh(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-chargebacks-by-provider-and-card-brand",e,o],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsightsChargebacksByProviderAndCardBrand(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}function Ih(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-chargebacks-reasons-distribution",e,o],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsightsChargebacksReasonsDistribution(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}function Th(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-chargebacks-status-distribution",e,o],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsightsChargebacksStatusDistribution(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}function Ah(e,o,a){var i=this;return void 0===a&&(a={enabled:!0}),Bu({queryKey:["post-insights-chargebacks-by-card-brand",e,o],queryFn:function(){return t(i,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsightsChargebacksByCardBrand(e,o)];case 1:return[2,t.sent()]}}))}))},enabled:a.enabled&&void 0!==e.account_codes,cacheTime:200,useErrorBoundary:!1})}var Oh=function(e,o,i){return void 0===i&&(i={}),Bu(["conversion-rate-overview",e,o],(function(){return t(void 0,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsightsConversionRateOverview(o,e)];case 1:return[2,t.sent()]}}))}))}),a({useErrorBoundary:!1},i))},Ph=function(e,o,i){return void 0===i&&(i={}),Bu(["conversion-rate-overview-fraud-3ds",e,o],(function(){return t(void 0,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Tc.getInstance().getInsightsConversionRateOverviewFraud3ds(o,e)];case 1:return[2,t.sent()]}}))}))}),a({useErrorBoundary:!1},i))};function Dh(e,t){return Bu(["fetch-reconciliation-transaction",e],(function(){return Tc.getInstance().getReconciliationTransactions(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:!!t,useErrorBoundary:!1})}function jh(e,t){return Bu(["fetch-reconciliation-settlements",e],(function(){return Tc.getInstance().getReconciliationSettlements(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:!!t,useErrorBoundary:!1})}function Lh(e,t){return Bu(["fetch-reconciliation-settlements-header",e],(function(){return Tc.getInstance().getReconciliationSettlementsHeader(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t,cacheTime:500})}function Nh(e,t){return Bu(["fetch-reconciliation-settlements-body",e],(function(){return Tc.getInstance().getReconciliationSettlementsBody(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t,cacheTime:500})}function Fh(e,t){return Bu(["fetch-reconciliation-metrics",e],(function(){return Tc.getInstance().getReconciliationMetrics(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t,cacheTime:500})}function Bh(){return Bu(["GET-reconciliation-filters"],(function(){return Tc.getInstance().getReconciliationFilters().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})}function Mh(e){return Bu(["GET/v1/reconciliation/table/".concat(e,"/columns")],(function(){return Tc.getInstance().getAllTableColumns(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function zh(){return Bu(["GET/v1/reconciliation/active"],(function(){return Tc.getInstance().getReconciliationActive().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))}function Uh(e,t,n){return Bu(["GET/reconciliation/reports/columns/".concat(t,"/").concat(n)],(function(){return Tc.getInstance().getReconciliationsReportColumns(t,n).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}),{enabled:e,useErrorBoundary:!1})}function qh(e){return Bu(["GET/reconciliation/reports/templates"],(function(){return Tc.getInstance().getReconciliationReportTemplates().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}),{enabled:e,useErrorBoundary:!1})}function Vh(e){var t=e.body,n=e.params,o=e.enabled;return Bu(["GET/reconciliation/alerts/list",t,n],(function(){return Tc.getInstance().getReconciliationAlerts(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})}function Gh(e){var t=e.body,n=e.params,o=e.enabled;return Bu(["GET/reconciliation/agenda/list",t,n],(function(){return Tc.getInstance().getReconciliationAgenda(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})}function Kh(e){var t=e.body,n=e.params,o=e.enabled;return Bu(["GET/reconciliation/agenda/insights",t,n],(function(){return Tc.getInstance().getReconciliationAgendaInsightByKey(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})}function Wh(e){var t=e.body,n=e.params,o=e.enabled;return Bu(["GET/reconciliation/sales/list",t,n],(function(){return Tc.getInstance().getReconciliationSales(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})}function Qh(e){var t=e.body,n=e.params,o=e.enabled;return Bu(["GET/reconciliation/advancements/list",t,n],(function(){return Tc.getInstance().getReconciliationAdvancements(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})}function Hh(e){var t=e.body,n=e.params,o=e.enabled;return Bu(["GET/reconciliation/fees/list",t,n],(function(){return Tc.getInstance().getReconciliationFees(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})}function Jh(e){var o=this,a=Object.values(e).filter(Boolean);return Bu(["feature-flags",a],(function(){return t(o,void 0,void 0,(function(){return n(this,(function(t){return[2,Tc.getInstance().getFeatureFlagId(e).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:a.length>1,useErrorBoundary:!1})}var Yh=["FRAUD_INSIGHTS","STARROCKS_OVERVIEW_INSIGHTS","SHOW-BR-TABS","RECONCILIATION-TABS-V2","SHOW-RECON-FEES-TAB"];function $h(e){var o=this,a=Bu({queryKey:["all-feature-flags",Object.values(e).filter(Boolean)],queryFn:function(){return t(o,void 0,void 0,(function(){var t,o;return n(this,(function(n){return t=Tc.getInstance(),o={names:Yh,body:e},[2,t.getFeatureFlagIdAll(o).then((function(e){return null==e?void 0:e.data}))]}))}))},enabled:!!e.account_code&&!!e.organization_code&&!!e.email,useErrorBoundary:!1}),i=Pu();return R((function(){i.setQueryData(["cached-feature-flags"],a)}),[a,i]),a}function Xh(e){var t=Pu();return Bu({queryKey:["cached-feature-flags"],queryFn:function(){},enabled:!1,select:function(t){var n;return{result:null===(n=t.data)||void 0===n?void 0:n[e]}},initialData:function(){var e=t.getQueryData(["cached-feature-flags"]);return(null==e?void 0:e.data)||{}}})}function Zh(e){return Bu(["events",e],(function(){return Tc.getInstance().getAuditEvents(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e.account_code&&!!e.organizationCode,cacheTime:0,keepPreviousData:!0,useErrorBoundary:!1})}function ev(e){return Bu(["audit-monitor-event-detail",e],(function(){return Tc.getInstance().getAuditMonitorDetail(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:null!==e,cacheTime:0,useErrorBoundary:!1})}function tv(e,t){return Bu(["fetch-payment-links",e,t],(function(){return Tc.getInstance().getPaymentLinks(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t,cacheTime:0})}function nv(e){return Bu(["payment-link"],(function(){return Tc.getInstance().getPaymentLinksByCode(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e})}function ov(e){var t=e.accountCode;return Bu(["products"],(function(){return Tc.getInstance().getProductsByAccount({accountCode:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t})}function av(e,t){return Bu(["fetch-payments-by-link-code",e],(function(){return Tc.getInstance().getPaymentsByPaymentLink(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e})}function iv(e){return void 0===e&&(e=!0),Bu(["countries",e],(function(){return Tc.getInstance().useGetCountriesConfig().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:e,keepPreviousData:!0})}function rv(e){return Bu(["timezone"],(function(){return Tc.getInstance().getTimezone(e).then((function(e){return lc(e)?mc:null==e?void 0:e.data})).catch((function(){return mc}))}),{enabled:!0,keepPreviousData:!0})}function sv(e){return Mu((function(e){var t=e.payload;return Tc.getInstance().firebaseUserSubscribe(t)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})}function cv(e,t){return Bu(["get-cofig-allow-list",e],(function(){return Tc.getInstance().getConfigAllowlist(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!e&&!!t})}function uv(e){return Bu(["get-black-list",e],(function(){return Tc.getInstance().getBlackListType(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!e})}function lv(e,t,n,o){var a;return Bu(["post-black-list",e],(function(){return Tc.getInstance().postBlockList(e,null!=t?t:"",null!=n?n:0,null!=o?o:25).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:(null===(a=e[0])||void 0===a?void 0:a.length)>0&&null!==t,useErrorBoundary:!1})}function pv(e){return Bu(["get-one-black-list",e],(function(){return Tc.getInstance().getOneBlackListType(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e})}function dv(e,t,n){return Bu(["get-block-list-summary",e,t,n],(function(){var o=Tc.getInstance();return n?o.getBlackListSummary(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e})):Promise.resolve({})}),{enabled:!!e&&!!n})}function fv(e,t,n,o,a,i){return Bu(["black-list-detail",e,t,o,a,i],(function(){return Tc.getInstance().getBlacklistDetail(e,t,n,o,a).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e&&i,cacheTime:0})}function mv(e,t,n){return Bu(["allow-list-detail",e],(function(){return Tc.getInstance().getAllowlistDetail(e,t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{enabled:!!e&&!!n})}function hv(e){return Bu(["query-post-get-allowlist-multi-account",JSON.stringify(e)],(function(){return Tc.getInstance().postGetAllowlist({payload:e}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})}function vv(e,o){var a=this;return void 0===e&&(e=26),void 0===o&&(o=0),Bu(["batch-refunds",e,o],(function(){return t(a,void 0,void 0,(function(){return n(this,(function(t){return[2,Tc.getInstance().getBatchRefunds(e,o).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))]}))}))}),{cacheTime:0})}function yv(e){return Bu(["velocity-rules",e],(function(){var t=Tc.getInstance();return e?t.getVelocityRules(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e})):Promise.resolve({})}),{enabled:!!e,keepPreviousData:!0})}function gv(){return Bu(["config-rules"],(function(){return Tc.getInstance().getAllConfigRules().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0})}function bv(e,t){var n=e.organizationCode;return Bu(["mfa-excluded-users",n],(function(){return Tc.getInstance().getMFAExcludedUsers({organizationCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:t})}function xv(e,t){var n=e.organizationCode;return Bu(["mfa-config",n],(function(){return Tc.getInstance().getMFAConfig({organizationCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:t})}function kv(e,t){return Bu(["mfa-enforcement-status",e.accountCode],(function(){return Tc.getInstance().getMFAEnforcementStatus().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:t})}function wv(e){return Bu(["fetch-organization-saml-config",e],(function(){return Tc.getInstance().getSamlConfig().then((function(e){return e.data}))}),{cacheTime:0,enabled:!!e,useErrorBoundary:!1})}function Cv(){return Cv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Cv.apply(this,arguments)}
10
+ */"production"===process.env.NODE_ENV?ws.exports=function(){if(_s)return Ss;_s=1;var t=l,e="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},n=t.useState,r=t.useEffect,o=t.useLayoutEffect,i=t.useDebugValue;function a(t){var n=t.getSnapshot;t=t.value;try{var r=n();return!e(t,r)}catch(t){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var s=e(),u=n({inst:{value:s,getSnapshot:e}}),c=u[0].inst,l=u[1];return o((function(){c.value=s,c.getSnapshot=e,a(c)&&l({inst:c})}),[t,s,e]),r((function(){return a(c)&&l({inst:c}),t((function(){a(c)&&l({inst:c})}))}),[t]),i(s),s};return Ss.useSyncExternalStore=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:s,Ss}():ws.exports=(Rs||(Rs=1,"production"!==process.env.NODE_ENV&&function(){function t(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!n(t,r)}catch(t){return!0}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var e=l,n="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},r=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue,s=!1,u=!1,c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(c,l){s||void 0===e.startTransition||(s=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var d=l();if(!u){var p=l();n(d,p)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),u=!0)}var f=(p=r({inst:{value:d,getSnapshot:l}}))[0].inst,h=p[1];return i((function(){f.value=d,f.getSnapshot=l,t(f)&&h({inst:f})}),[c,d,l]),o((function(){return t(f)&&h({inst:f}),c((function(){t(f)&&h({inst:f})}))}),[c]),a(d),d};Is.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:c,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Is);var As=ws.exports;const Ts=As.useSyncExternalStore,Os=c.createContext(void 0),Ps=c.createContext(!1);function xs(t,e){return t||(e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Os),window.ReactQueryClientContext):Os)}const Ds=({context:t}={})=>{const e=c.useContext(xs(t,c.useContext(Ps)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Ns=({client:t,children:e,context:n,contextSharing:r=!1})=>{c.useEffect((()=>(t.mount(),()=>{t.unmount()})),[t]),"production"!==process.env.NODE_ENV&&r&&t.getLogger().error("The contextSharing option has been deprecated and will be removed in the next major version");const o=xs(n,r);return c.createElement(Ps.Provider,{value:!n&&r},c.createElement(o.Provider,{value:t},e))},Ls=c.createContext(!1);Ls.Provider;const Ms=c.createContext(function(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}());function Bs(t,e){return"function"==typeof t?t(...e):!!t}function Fs(t,e){const n=Ds({context:t.context}),r=c.useContext(Ls),o=c.useContext(Ms),i=n.defaultQueryOptions(t);i._optimisticResults=r?"isRestoring":"optimistic",i.onError&&(i.onError=us.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=us.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=us.batchCalls(i.onSettled)),(t=>{t.suspense&&"number"!=typeof t.staleTime&&(t.staleTime=1e3)})(i),((t,e)=>{(t.suspense||t.useErrorBoundary)&&(e.isReset()||(t.retryOnMount=!1))})(i,o),(t=>{c.useEffect((()=>{t.clearReset()}),[t])})(o);const[a]=c.useState((()=>new e(n,i))),s=a.getOptimisticResult(i);if(Ts(c.useCallback((t=>{const e=r?()=>{}:a.subscribe(us.batchCalls(t));return a.updateResult(),e}),[a,r]),(()=>a.getCurrentResult()),(()=>a.getCurrentResult())),c.useEffect((()=>{a.setOptions(i,{listeners:!1})}),[i,a]),((t,e,n)=>(null==t?void 0:t.suspense)&&((t,e)=>t.isLoading&&t.isFetching&&!e)(e,n))(i,s,r))throw((t,e,n)=>e.fetchOptimistic(t).then((({data:e})=>{null==t.onSuccess||t.onSuccess(e),null==t.onSettled||t.onSettled(e,null)})).catch((e=>{n.clearReset(),null==t.onError||t.onError(e),null==t.onSettled||t.onSettled(void 0,e)})))(i,a,o);if((({result:t,errorResetBoundary:e,useErrorBoundary:n,query:r})=>t.isError&&!e.isReset()&&!t.isFetching&&Bs(n,[t.error,r]))({result:s,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:a.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:a.trackResult(s)}function Us(t,e,n){return Fs(Ma(t,e,n),ms)}function js(t,e,n){const r=function(t,e,n){return Ja(t)?"function"==typeof e?{...n,mutationKey:t,mutationFn:e}:{...e,mutationKey:t}:"function"==typeof t?{...e,mutationFn:t}:{...t}}(t,e,n),o=Ds({context:r.context}),[i]=c.useState((()=>new ks(o,r)));c.useEffect((()=>{i.setOptions(r)}),[i,r]);const a=Ts(c.useCallback((t=>i.subscribe(us.batchCalls(t))),[i]),(()=>i.getCurrentResult()),(()=>i.getCurrentResult())),s=c.useCallback(((t,e)=>{i.mutate(t,e).catch(zs)}),[i]);if(a.error&&Bs(i.options.useErrorBoundary,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}function zs(){}function qs(t){return js((function(t){var e=t.payload,n=t.accountCode;return Oa.getInstance().postWebhook({payload:e,accountCode:n})}),{onMutate:function(t){return t},onSuccess:t.onSuccessCallback})}function Vs(t){return js((function(t){var e=t.payload,n=t.accountCode;return Oa.getInstance().postWebhookV2({payload:e,accountCode:n})}),{onMutate:function(t){return t},onSuccess:t.onSuccessCallback})}function Gs(t){return js((function(t){var e=t.payload;return Oa.getInstance().postWebhookV2MultiAccount({payload:e})}),{onMutate:function(t){return t},onSuccess:t.onSuccessCallback})}function Qs(t){return js((function(t){var e=t.code;return Oa.getInstance().deleteWebhook(e)}),{onMutate:function(t){return t},onSuccess:t.onSuccessCallback})}function Ks(t){return js((function(t){var e=t.code,n=t.accountCode;return Oa.getInstance().deleteWebhookV2(e,n)}),{onMutate:function(t){return t},onSuccess:t.onSuccessCallback})}function Ws(t){return js((function(t){var e=t.code,n=t.payload;return Oa.getInstance().updateWebhook(e,n)}),{onMutate:function(t){return t},onSuccess:t.onSuccessCallback})}function Hs(t){return js((function(t){var e=t.code,n=t.payload,r=t.accountCode;return Oa.getInstance().updateWebhookV2(e,n,r)}),{onMutate:function(t){return t},onSuccess:t.onSuccessCallback})}function Js(){return js((function(t){var e=t.name,n=t.principal;return Oa.getInstance().postAccount(e,n)}))}function Ys(){return js((function(t){var e=t.name,n=t.code,r=t.principal;return Oa.getInstance().patchAccount({name:e,code:n,principal:r})}))}function Xs(){return js((function(t){var e=t.name,n=t.code,r=t.principal;return Oa.getInstance().patchAccountV2({name:e,code:n,principal:r})}))}function $s(){return js((function(t){var e=t.account_code;return Oa.getInstance().putAccountPrincipal({account_code:e})}))}function Zs(){return js((function(t){var e=t.organizationCode,n=t.userCode,r=t.payload;return Oa.getInstance().putAccountsUser(e,n,r)}))}function tu(){return js((function(t){var e=t.organizationCode,n=t.userCode,r=t.payload;return Oa.getInstance().putAccountsUserMassive(e,n,r)}))}function eu(){return js((function(t){var e=t.organizationCode,n=t.userCode,r=t.payload;return Oa.getInstance().deleteAccountsUserMassive(e,n,r)}))}function nu(){return js(["post-validate-status-connection"],(function(t){var e=t.payload,n=t.accountCode;return Oa.getInstance().postValidateStatusConnection({payload:e,accountCode:n}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function ru(){return js(["post-change-status-connection"],(function(t){var e=t.payload,n=t.accountCode;return Oa.getInstance().postChangeStatusConnection({payload:e,accountCode:n}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function ou(){return js((function(t){return Oa.getInstance().putCosts(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{useErrorBoundary:!1})}function iu(){return js(["post-connection"],(function(t){var e=t.payload,n=t.accountCode;return Oa.getInstance().postConnection({payload:e,accountCode:n}).then((function(t){return null==t?void 0:t.data}))}))}function au(){return js(["post-connection"],(function(t){var e=t.payload;return Oa.getInstance().postMultiConnection({payload:e}).then((function(t){return null==t?void 0:t.data}))}))}function su(){return js(["new-post-connection"],(function(t){var e=t.payload,n=t.accountCode;return Oa.getInstance().newPostConnection({payload:e,accountCode:n}).then((function(t){return null==t?void 0:t.data}))}))}function uu(){return js(["new-post-connection-validate"],(function(){return Oa.getInstance().postMultiConnectionValidate().then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{useErrorBoundary:!1})}function cu(){return js(["patch-connection"],(function(t){var e=t.payload,n=t.connectionCode;return Oa.getInstance().patchConnection({payload:e,connectionCode:n}).then((function(t){return null==t?void 0:t.data}))}))}function lu(){return js(["delete-connection"],(function(t){return Oa.getInstance().deleteConnection(t).then((function(t){return null==t?void 0:t.data}))}))}function du(){return js(["auth-connection"],(function(t){var e=t.payload,n=t.connectionCode;return Oa.getInstance().postArchiveConnection({payload:e,connectionCode:n}).then((function(t){return null==t?void 0:t.data}))}))}function pu(){return js((function(t){var e=t.payload;return Oa.getInstance().postDefaultRoutes({payload:e}).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}))}function fu(){return js((function(t){return Oa.getInstance().postValidateCredentials(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}))}function hu(){return js(["patch-organizations"],(function(){return Oa.getInstance().updateOrganizationStatus().then((function(t){return null==t?void 0:t.data}))}))}function yu(){return js((function(t){return Oa.getInstance().getOrgByName(t).then((function(t){return null==t?void 0:t.data}))}))}function gu(t){var r=this;return js((function(){return e(r,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().changePassword(t).then((function(t){return null==t?void 0:t.data}))];case 1:return[2,e.sent()]}}))}))}))}function mu(){var t=this;return js((function(r){return e(t,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Oa.getInstance().changePasswordV2(r).then((function(t){return null==t?void 0:t.data}))];case 1:return[2,t.sent()]}}))}))}))}function vu(t){return js((function(t){return Oa.getInstance().updateProfile(t)}),{onMutate:function(t){return t},onSuccess:t.onSuccessCallback})}function bu(){return js((function(t){return Oa.getInstance().inviteUsers(t)}))}function Eu(){return js((function(t){return Oa.getInstance().inviteUsersV2(t,t.organizationCode)}))}function Cu(){return js((function(t){return Oa.getInstance().inviteUsersMassive(t,t.organizationCode)}))}function ku(){return js((function(t){var e=t.userCode;return Oa.getInstance().unInviteUsers({userCode:e})}))}function _u(){return js((function(t){var e=t.userCode,n=t.organizationCode;return Oa.getInstance().unInviteUsersV2({userCode:e,organizationCode:n})}))}function wu(){return js((function(t){return Oa.getInstance().createUserAuth0(t)}))}function Su(){return js((function(t){return Oa.getInstance().postCall(t)}))}function Ru(){return js((function(t){return Oa.getInstance().changeLoginMethods(t)}))}function Iu(){return js((function(t){var e=t.paymentMethod,n=t.checkoutCode;return Oa.getInstance().updateIsActivePaymentMethod(n,e).then((function(t){return null==t?void 0:t.data}))}))}function Au(t){return js((function(t){return Oa.getInstance().updateIsActiveCheckout(t)}),t)}function Tu(){return js((function(t){var e=t.accountCode,n=t.template;return Oa.getInstance().updateCheckoutTemplate({accountCode:e,template:n}).then((function(t){return null==t?void 0:t.data}))}))}function Ou(){return js((function(t){var e=t.accountCode,n=t.theme;return Oa.getInstance().updateStylingTheme({accountCode:e,theme:n}).then((function(t){return null==t?void 0:t.data}))}))}function Pu(){return js((function(t){var e=t.payload,n=t.transactionId,r=t.paymentId,o=t.action;return Oa.getInstance().createOperationTransaction(e,n,r,o)}))}function xu(){return js((function(t){var e=t.payload,n=t.paymentId,r=t.transactionId,o=t.handleSetProgress;return Oa.getInstance().uploadChargebacks(e,n,r,o)}))}var Du=new ds({}),Nu=new class{constructor(t={}){this.queryCache=t.queryCache||new ds,this.mutationCache=t.mutationCache||new hs,this.logger=t.logger||ss,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0,"production"!==process.env.NODE_ENV&&t.logger&&this.logger.error("Passing a custom logger has been deprecated and will be removed in the next major version.")}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=Za.subscribe((()=>{Za.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=es.subscribe((()=>{es.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})))}unmount(){var t,e;this.mountCount--,0===this.mountCount&&(null==(t=this.unsubscribeFocus)||t.call(this),this.unsubscribeFocus=void 0,null==(e=this.unsubscribeOnline)||e.call(this),this.unsubscribeOnline=void 0)}isFetching(t,e){const[n]=Ba(t,e);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state.data}ensureQueryData(t,e,n){const r=Ma(t,e,n),o=this.getQueryData(r.queryKey);return o?Promise.resolve(o):this.fetchQuery(r)}getQueriesData(t){return this.getQueryCache().findAll(t).map((({queryKey:t,state:e})=>[t,e.data]))}setQueryData(t,e,n){const r=this.queryCache.find(t),o=function(t,e){return"function"==typeof t?t(e):t}(e,null==r?void 0:r.state.data);if(void 0===o)return;const i=Ma(t),a=this.defaultQueryOptions(i);return this.queryCache.build(this,a).setData(o,{...n,manual:!0})}setQueriesData(t,e,n){return us.batch((()=>this.getQueryCache().findAll(t).map((({queryKey:t})=>[t,this.setQueryData(t,e,n)]))))}getQueryState(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state}removeQueries(t,e){const[n]=Ba(t,e),r=this.queryCache;us.batch((()=>{r.findAll(n).forEach((t=>{r.remove(t)}))}))}resetQueries(t,e,n){const[r,o]=Ba(t,e,n),i=this.queryCache,a={type:"active",...r};return us.batch((()=>(i.findAll(r).forEach((t=>{t.reset()})),this.refetchQueries(a,o))))}cancelQueries(t,e,n){const[r,o={}]=Ba(t,e,n);void 0===o.revert&&(o.revert=!0);const i=us.batch((()=>this.queryCache.findAll(r).map((t=>t.cancel(o)))));return Promise.all(i).then(Da).catch(Da)}invalidateQueries(t,e,n){const[r,o]=Ba(t,e,n);return us.batch((()=>{var t,e;if(this.queryCache.findAll(r).forEach((t=>{t.invalidate()})),"none"===r.refetchType)return Promise.resolve();const n={...r,type:null!=(t=null!=(e=r.refetchType)?e:r.type)?t:"active"};return this.refetchQueries(n,o)}))}refetchQueries(t,e,n){const[r,o]=Ba(t,e,n),i=us.batch((()=>this.queryCache.findAll(r).filter((t=>!t.isDisabled())).map((t=>{var e;return t.fetch(void 0,{...o,cancelRefetch:null==(e=null==o?void 0:o.cancelRefetch)||e,meta:{refetchPage:r.refetchPage}})}))));let a=Promise.all(i).then(Da);return null!=o&&o.throwOnError||(a=a.catch(Da)),a}fetchQuery(t,e,n){const r=Ma(t,e,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);const i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)}prefetchQuery(t,e,n){return this.fetchQuery(t,e,n).then(Da).catch(Da)}fetchInfiniteQuery(t,e,n){const r=Ma(t,e,n);return r.behavior=ys(),this.fetchQuery(r)}prefetchInfiniteQuery(t,e,n){return this.fetchInfiniteQuery(t,e,n).then(Da).catch(Da)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,e){const n=this.queryDefaults.find((e=>za(t)===za(e.queryKey)));n?n.defaultOptions=e:this.queryDefaults.push({queryKey:t,defaultOptions:e})}getQueryDefaults(t){if(!t)return;const e=this.queryDefaults.find((e=>qa(t,e.queryKey)));if("production"!==process.env.NODE_ENV){this.queryDefaults.filter((e=>qa(t,e.queryKey))).length>1&&this.logger.error("[QueryClient] Several query defaults match with key '"+JSON.stringify(t)+"'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults.")}return null==e?void 0:e.defaultOptions}setMutationDefaults(t,e){const n=this.mutationDefaults.find((e=>za(t)===za(e.mutationKey)));n?n.defaultOptions=e:this.mutationDefaults.push({mutationKey:t,defaultOptions:e})}getMutationDefaults(t){if(!t)return;const e=this.mutationDefaults.find((e=>qa(t,e.mutationKey)));if("production"!==process.env.NODE_ENV){this.mutationDefaults.filter((e=>qa(t,e.mutationKey))).length>1&&this.logger.error("[QueryClient] Several mutation defaults match with key '"+JSON.stringify(t)+"'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults.")}return null==e?void 0:e.defaultOptions}defaultQueryOptions(t){if(null!=t&&t._defaulted)return t;const e={...this.defaultOptions.queries,...this.getQueryDefaults(null==t?void 0:t.queryKey),...t,_defaulted:!0};return!e.queryHash&&e.queryKey&&(e.queryHash=ja(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.useErrorBoundary&&(e.useErrorBoundary=!!e.suspense),e}defaultMutationOptions(t){return null!=t&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==t?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1,staleTime:3e5,useErrorBoundary:!0}},queryCache:Du});function Lu(){return js((function(t){return Oa.getInstance().createReport(t).then((function(t){return null==t?void 0:t.data}))}))}function Mu(){return js((function(t){return Oa.getInstance().createReconciliationsReportV2(t).then((function(t){return null==t?void 0:t.data}))}),{useErrorBoundary:!1})}function Bu(){return js((function(t){return Oa.getInstance().createReportV2(t).then((function(t){return null==t?void 0:t.data}))}))}function Fu(){return js((function(t){return Oa.getInstance().getTotalRowsForExport(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{useErrorBoundary:!1})}function Uu(){return js((function(t){return Oa.getInstance().cancelReport(t).then((function(t){return null==t?void 0:t.data}))}))}function ju(r){var o=this;return js((function(){return e(o,void 0,void 0,(function(){return n(this,(function(t){return[2,Oa.getInstance().createReportTemplate(r).then((function(t){return null==t?void 0:t.data}))]}))}))}),{onMutate:function(r){return e(o,void 0,void 0,(function(){var e;return n(this,(function(n){switch(n.label){case 0:return[4,Nu.cancelQueries({queryKey:["GET/reports/templates"]})];case 1:return n.sent(),e=Nu.getQueryData(["GET/reports/templates"]),Nu.setQueryData(["GET/reports/templates"],(function(e){return t(t([],e,!0),[r],!1)})),[2,{previousTemplates:e}]}}))}))},onError:function(t,e,n){Nu.setQueryData(["GET/reports/templates"],null==n?void 0:n.previousTemplates)},onSettled:function(){Nu.invalidateQueries({queryKey:["GET/reports/templates"]})}})}function zu(t){return js((function(){return Oa.getInstance().updateReportTemplate(t).then((function(t){return null==t?void 0:t.data}))}))}function qu(t,r,o){var i=this;return void 0===o&&(o=null),js((function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().postSmartRoutingCreateWorkflow(t,r).then((function(t){return null==t?void 0:t.data}))];case 1:return[2,e.sent()]}}))}))}),o)}function Vu(t,r){var o=this,i=t.versionCode,a=t.accountCode,s=t.organizationCode;return void 0===r&&(r=null),js((function(){return e(o,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Oa.getInstance().postSmartRoutingPublishVersion(a,i,s).then((function(t){return null==t?void 0:t.data}))];case 1:return[2,t.sent()]}}))}))}),r)}function Gu(){return js(["validate-connection"],(function(t){var e=t.connectionCode;return Oa.getInstance().postSmartRoutingValidateConnection(e).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function Qu(t,e){var n=t.data,r=t.accountCode;return void 0===e&&(e=null),js((function(){return Oa.getInstance().putSmartRoutingUpdateWorkflow(r,n).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),e)}function Ku(t,e){var n=t.versionCode,r=t.accountCode;return void 0===e&&(e=null),js((function(){return Oa.getInstance().deleteSmartRoutingVersion(r,n).then((function(t){return null==t?void 0:t.data}))}),e)}function Wu(t,e){var n=t.versionCode,r=t.accountCode;return void 0===e&&(e=null),js((function(){return Oa.getInstance().postSmartRoutingDuplicateVersion(r,n).then((function(t){return null==t?void 0:t.data}))}),e)}function Hu(t,e){var n=t.paymentMethod,r=t.active,o=t.accountCode;return void 0===e&&(e=null),js((function(){return Oa.getInstance().putSmartRoutingToggleMethod(o,n,r).then((function(t){return null==t?void 0:t.data}))}),e)}function Ju(t,e){var n=t.declinedId,r=t.accountCode;return void 0===e&&(e=null),js((function(t){return void 0===t&&(t=null),Oa.getInstance().updateSmartRoutingDeclinedGroup(r,n,t).then((function(t){return null==t?void 0:t.data}))}),e)}function Yu(t){var e=t.accountCode;return js((function(t){return void 0===t&&(t=null),Oa.getInstance().createSmartRoutingDeclinedGroup(e,t).then((function(t){return null==t?void 0:t.data}))}),t.options)}function Xu(t){var e=t.accountCode;return js((function(t){return void 0===t&&(t=null),Oa.getInstance().updateSmartRoutingTutorial(e,t||"").then((function(t){return null==t?void 0:t.data}))}),t.options)}function $u(t,e){var n=t.versionCode,r=t.accountCode;return void 0===e&&(e=null),js((function(t){return void 0===t&&(t=!1),Oa.getInstance().updateSmartRoutingFavorite(r,n,t).then((function(t){return null==t?void 0:t.data}))}),e)}function Zu(t,e){var n=t.code,r=t.name,o=t.accountCode;return void 0===e&&(e=null),js((function(){return Oa.getInstance().putSmartRoutingUpdateWorkflowName(o,{code:n,name:r}).then((function(t){return null==t?void 0:t.data}))}),e)}function tc(t,e){var n=t.accountCode,r=t.workflowVersionCode;return void 0===e&&(e=null),js((function(t){return Oa.getInstance().simulateSmartRoutingTransaction(n,r,t).then((function(t){return null==t?void 0:t.data}))}),e)}function ec(t,e){return void 0===e&&(e=null),js((function(e){return Oa.getInstance().updateMonitorRedistribution(t,e).then((function(t){return null==t?void 0:t.data}))}),e)}function nc(t,e){return void 0===e&&(e={}),js((function(e){var n=e.declinedGroupCode;return Oa.getInstance().removeDeclinedGroup(t,n).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),o(o({},e),{useErrorBoundary:!1}))}function rc(t,e){return void 0===e&&(e={}),js((function(e){var n=e.payload;return Oa.getInstance().multiAccountDeclinedGroupCreate(t,n).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),o(o({},e),{useErrorBoundary:!1}))}var oc=function(t){return js((function(e){return Oa.getInstance().createMonitorThreshold(e,t).then((function(t){return t.data}))}))},ic=function(t){return js((function(e){return Oa.getInstance().createMonitorTemplate(e,t).then((function(t){return t.data}))}))};function ac(t){return js((function(){return Oa.getInstance().createNotificacion(t).then((function(t){return null==t?void 0:t.data}))}))}function sc(){return js((function(){return Oa.getInstance().getNotification().then((function(t){return null==t?void 0:t.data}))}))}function uc(){return js((function(t){var e=t.payload;return Oa.getInstance().postSlackMessageChannel(e).then((function(t){return null==t?void 0:t.data}))}))}function cc(){var t=this;return js((function(r){var o=r.roles,i=r.userCode;return e(t,void 0,void 0,(function(){var t;return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().setRoles({roles:o,userCode:i})];case 1:return[2,null==(t=e.sent())?void 0:t.data]}}))}))}))}function lc(){var t=this;return js((function(r){var o=r.userCode;return e(t,void 0,void 0,(function(){var t;return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().deleteUserTeam({userCode:o})];case 1:return[2,null==(t=e.sent())?void 0:t.data]}}))}))}))}function dc(){return js((function(t){var e=t.userCode,n=t.organizationCode;return Oa.getInstance().deleteUserTeamV2({userCode:e,organizationCode:n}).then((function(t){return null==t?void 0:t.data}))}))}function pc(){return js((function(){return Oa.getInstance().setCustodian().then((function(t){return null==t?void 0:t.data}))}))}function fc(){return js((function(t){var e=t.payload,n=t.accountCode;return Oa.getInstance().createRoles(e,n).then((function(t){return null==t?void 0:t.data}))}),{useErrorBoundary:!1})}function hc(){var t=this;return js((function(r){var o=r.payload,i=r.id,a=r.accountCode;return e(t,void 0,void 0,(function(){var t;return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().editRoles({payload:o,id:i},a)];case 1:return[2,null==(t=e.sent())?void 0:t.data]}}))}))}),{useErrorBoundary:!1})}function yc(){return js((function(t){return Oa.getInstance().deleteRoles(t).then((function(t){return null==t?void 0:t.data}))}))}function gc(){return js(["post-payment-links"],(function(t){var e=t.payload,n=t.accountCode;return Oa.getInstance().postPaymentLinks({payload:e,accountCode:n}).then((function(t){return null==t?void 0:t.data}))}))}function mc(){return js(["post-products-account"],(function(t){var e=t.payload;return Oa.getInstance().postCreateProducts({payload:e}).then((function(t){return null==t?void 0:t.data}))}))}function vc(){return js(["post-delete-payment-link"],(function(t){var e=t.code;return Oa.getInstance().postDeletePaymentLink({code:e}).then((function(t){return null==t?void 0:t.data}))}))}function bc(){return js(["patch-payment-links"],(function(t){var e=t.payload,n=t.accountCode,r=t.paymentLinkCode;return Oa.getInstance().patchPaymentLinks({payload:e,accountCode:n,paymentLinkCode:r}).then((function(t){return null==t?void 0:t.data}))}))}function Ec(t){return js((function(){return Oa.getInstance().postValidatePassword(t).then((function(t){return null==t?void 0:t.data}))}))}function Cc(){return js((function(t){var e=t.payload;return Oa.getInstance().postUserSettings(e)}),{onMutate:function(t){return t}})}function kc(){return js((function(t){return Oa.getInstance().postUserThemeSettings(t)}))}function _c(){return js((function(t){var e=t.payload,n=t.section;return Oa.getInstance().postUserSettingsTables(e,n)}),{onMutate:function(t){return t},onSuccess:function(t){var e=Nu.getQueryData(["fetch-profile"]);t.data&&Nu.setQueryData(["fetch-profile"],o(o({},e),{settings:t.data}))}})}function wc(t){return js(["pinned-sections"],(function(t){var e=t.payload;return Oa.getInstance().postUserSettingsPinned(e)}),{onMutate:function(e){var n=e.payload;return t({payload:n})}})}function Sc(){return js((function(t){var e=t.password,n=t.otp;return Oa.getInstance().getMfaTokenValidation(e,n).then((function(t){return null==t?void 0:t.data}))}))}function Rc(t){return js((function(){return Oa.getInstance().getMfaToken(t).then((function(t){return null==t?void 0:t.data}))}))}function Ic(){return js((function(){return Oa.getInstance().getEmailOtp().then((function(t){return null==t?void 0:t.data}))}))}function Ac(t){return js((function(){return Oa.getInstance().validateOtp(t).then((function(t){return null==t?void 0:t.data}))}))}function Tc(){return js((function(t){return Oa.getInstance().confirmMfaOtp(t).then((function(t){return null==t?void 0:t.data}))}))}function Oc(t){return js((function(){return Oa.getInstance().confirmMfaOtp(t).then((function(t){return null==t?void 0:t.data}))}))}function Pc(t){return js((function(){return Oa.getInstance().unrollMfa(t).then((function(t){return null==t?void 0:t.data}))}))}function xc(){return js((function(t){return Oa.getInstance().unrollMfa(t).then((function(t){return null==t?void 0:t.data}))}))}function Dc(){return js((function(){return Oa.getInstance().sendOTPForMFA().then((function(t){return null==t?void 0:t.data}))}))}function Nc(){return js((function(){return Oa.getInstance().getMFAStatus().then((function(t){return null==t?void 0:t.data}))}))}function Lc(){return js((function(){return Oa.getInstance().validatePasswordStatus().then((function(t){return null==t?void 0:t.data})).catch((function(t){return{valid:!1}}))}))}function Mc(){return js(["post-get-allowlist-items"],(function(t){var e=t.payload;return Oa.getInstance().postAllowlistItems({payload:e}).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function Bc(){return js(["post-get-allowlist-multi-account"],(function(t){var e=t.payload;return Oa.getInstance().postGetAllowlist({payload:e}).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function Fc(){return js(["post-create-allowlist-multi-account"],(function(t){var e=t.payload;return Oa.getInstance().postCreateAllowlistMultiAccount({payload:e}).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function Uc(){return js(["patch-change-status-allowlist"],(function(t){var e=t.payload;return Oa.getInstance().patchChangeStatusAllowlist({payload:e}).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function jc(){return js(["patch-change-status-allowlist-item"],(function(t){var e=t.payload;return Oa.getInstance().patchChangeStatusAllowlistItem({payload:e}).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function zc(){return js(["post-add-allowlist-items"],(function(t){var e=t.payload;return Oa.getInstance().patchAddAllowlistItems({payload:e}).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function qc(){return js(["patch-allowlist"],(function(t){var e=t.payload;return Oa.getInstance().patchAllowlist({payload:e}).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function Vc(){return js(["post-blacklist-multi-account"],(function(t){var e=t.payload;return Oa.getInstance().postBlackListMultiAccount({payload:e}).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function Gc(){return js(["post-blacklist"],(function(t){var e=t.payload;return Oa.getInstance().postBlackListType({payload:e}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function Qc(){return js(["put-blacklist"],(function(t){return Oa.getInstance().putBlackListType(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function Kc(){return js(["change-blacklist"],(function(t){return Oa.getInstance().changeBlackListStatus(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function Wc(){return js(["change-blacklist-item"],(function(t){return Oa.getInstance().changeBlackListStatusItem(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function Hc(){return js(["post-blacklist-items"],(function(t){var e=t.payload;return Oa.getInstance().postBlackListItems({payload:e}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function Jc(){return js(["delete-blacklist"],(function(t){var e=t.black_list_code;return Oa.getInstance().deleteBlackListType({black_list_code:e}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function Yc(){return js(["delete-blacklist-item"],(function(t){var e=t.black_list_code,n=t.account_code,r=t.item;return Oa.getInstance().deleteBlackListItem({black_list_code:e,account_code:n,item:r}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function Xc(t){var e=t.handleSetProgress;return js(["post-blacklist-batch"],(function(t){var n=t.blacklist_code,r=t.expiration_days,o=t.file;return Oa.getInstance().postBlackListBatch({blacklist_code:n,expiration_days:r,file:o,handleSetProgress:e}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function $c(){return js(["change-payments-webhook"],(function(t){var e=t.status,n=t.paymentCode;return Oa.getInstance().postChangePaymentsWebhook({status:e,paymentCode:n}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function Zc(){return js(["delete-blacklist-items"],(function(t){var e=t.blocklist_code,n=t.blocklist_item_id,r=t.account_code;return Oa.getInstance().deleteBlockListItem({blocklist_code:e,blocklist_item_id:n,account_code:r}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function tl(){return js(["valiate-blacklist-items"],(function(t){return Oa.getInstance().valiateBlockListItems({payload:t}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function el(){return js(["delete-allowlist-item"],(function(t){return Oa.getInstance().deleteAllowlistItem({payload:t}).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function nl(){return js(["validate-allowlist-items"],(function(t){return Oa.getInstance().validateAllowlistItems({payload:t}).then((function(t){return t.data})).catch((function(t){return t}))}))}function rl(t){var e=t.fileName,n=t.onSuccess,r=t.onError,o=d(0),i=o[0],a=o[1],s=p({cancel:function(){return null}}),u=js(["upload-file-chargeback",e],(function(t){var e=Oa.getInstance().uploadFileS3ClientBatchRefunds({payload:t,handleSetProgress:a}),o=e.promise,i=e.cancel;return s.current.cancel=i,o.then((function(t){return null==n||n(null==t?void 0:t.data),null==t?void 0:t.data})).catch((function(t){throw null==r||r(),t}))}),{useErrorBoundary:!1});return{mutation:u,cancelRequest:s.current.cancel,progress:i}}function ol(t){var e=t.handleSetProgress;return js((function(t){return Oa.getInstance().uploadBatchRefunds({payload:t,handleSetProgress:e}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function il(){return js((function(t){return Oa.getInstance().uploadBatchRefundsV2({payload:t}).then((function(t){return null==t?void 0:t.data}))}),{useErrorBoundary:!1})}function al(){var t=this;return js((function(r){return e(t,void 0,void 0,(function(){return n(this,(function(t){return[2,Oa.getInstance().batchRefundByFile({payload:r}).then((function(t){return null==t?void 0:t.data}))]}))}))}),{useErrorBoundary:!1})}function sl(){var t=this;return js((function(r){var o=r.batchRefundId,i=r.organizationCode,a=r.accountCode;return e(t,void 0,void 0,(function(){return n(this,(function(t){return[2,Oa.getInstance().getBatchRefundProcessedFileDownload(o,i,a).then((function(t){return null==t?void 0:t.data}))]}))}))}),{useErrorBoundary:!1})}function ul(){var t=this;return js((function(r){var o=r.batchRefundId,i=r.organizationCode,a=r.accountCode;return e(t,void 0,void 0,(function(){return n(this,(function(t){return[2,Oa.getInstance().getBatchRefundUserFileDownload(o,i,a).then((function(t){return null==t?void 0:t.data}))]}))}))}),{useErrorBoundary:!1})}function cl(){var t=p({cancel:function(){return null}}),e=js(["upload-file"],(function(e){var n=Oa.getInstance().uploadFileS3ClientBatchRefunds({payload:e}),r=n.promise,o=n.cancel;return t.current.cancel=o,r.then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}));return{mutation:e,cancelRequest:t.current.cancel}}function ll(){return js((function(t){var e=t.payload,n=t.organizationCode;return Oa.getInstance().updateMFAConfig(e,n)}))}function dl(){return js((function(t){var e=t.payload,n=t.organizationCode;return Oa.getInstance().mfaExcludeUsers(e,n)}))}function pl(t){return Us(["GET/scheduled-reports",t],(function(){return Oa.getInstance().getScheduledReport(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{cacheTime:0,enabled:!!t,useErrorBoundary:!1})}function fl(){return js((function(t){var e=t.payload;return Oa.getInstance().postScheduledReport(e).then((function(t){return{data:t.data,status:t.status}})).catch((function(t){return t}))}))}function hl(){return js((function(t){var e=t.reportCode,n=t.payload;return Oa.getInstance().updateScheduledReport(e,n).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function yl(){return js((function(t){return Oa.getInstance().deleteScheduledReport(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function gl(){return js((function(t){return Oa.getInstance().getConditionalConfigRules(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function ml(){return js((function(t){return Oa.getInstance().getRule(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function vl(){return js((function(t){var e=t.payload,n=t.accountCode;return Oa.getInstance().postCreateRuleMultiAccount(e,n).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function bl(){return js((function(t){var e=t.payload,n=t.accountCode;return Oa.getInstance().postCreateRule(e,n).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function El(){return js((function(t){var e=t.payload,n=t.ruleId,r=t.accountCode;return Oa.getInstance().postEditRule(e,n,r).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function Cl(){return js((function(t){var e=t.payload;return Oa.getInstance().postCreateCustomizedApiKeys(e).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function kl(){return js((function(t){var e=t.payload,n=t.code;return Oa.getInstance().pathCreateCustomizedApiKeys(e,n).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function _l(){return js((function(t){var e=t.code,n=t.password;return Oa.getInstance().getCustomizedApiKeysToken(e,n).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){throw t}))}))}function wl(){return js((function(t){var e=t.passwordOtp;return Oa.getInstance().getDeveloperCredentialsValidatePassword(e).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){throw t}))}))}function Sl(){return js((function(t){var e=t.code;return Oa.getInstance().getCustomizedApiKeysShowToken(e).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function Rl(){return js((function(t){var e=t.code;return Oa.getInstance().deleteCustomizedApiKeys(e).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function Il(){return js((function(t){var e=t.payload,n=t.code;return Oa.getInstance().patchApiKeysEditNote(e,n).then((function(t){return t.data})).catch((function(t){return t}))}))}function Al(){return js((function(t){var e=t.payload,n=t.code,r=t.password;return Oa.getInstance().postApiKeysRoll(e,n,r).then((function(t){return t.data})).catch((function(t){return t}))}))}function Tl(){return js((function(t){var e=t.password,n=t.accountCode;return Oa.getInstance().getDeveloperCredentials(e,n).then((function(t){return o(o({},null==t?void 0:t.data),{isValid:!0})})).catch((function(t){var e,n;return{isValid:!1,status:t.response.status,error:null===(n=null===(e=null==t?void 0:t.response)||void 0===e?void 0:e.data)||void 0===n?void 0:n.data}}))}))}function Ol(t){return js((function(t){var e=t.payload;return Oa.getInstance().postAuditMonitors(e)}),{onMutate:t.onMutate})}function Pl(r){var o=this;return js((function(){return Oa.getInstance().createReconciliationReportTemplate(r).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){throw t}))}),{onMutate:function(r){return e(o,void 0,void 0,(function(){var e,o;return n(this,(function(n){switch(n.label){case 0:return[4,Nu.cancelQueries({queryKey:["GET/reconciliation/reports/templates"]})];case 1:return n.sent(),e=null===(o=Nu.getQueryData(["GET/reconciliation/reports/templates"]))||void 0===o?void 0:o.templates,Nu.setQueryData(["GET/reconciliation/reports/templates"],(function(e){return{templates:t(t([],e.templates,!0),[r],!1)}})),[2,{previousTemplates:e}]}}))}))},onError:function(t,e,n){Nu.setQueryData(["GET/reconciliation/reports/templates"],null==n?void 0:n.previousTemplates)},onSettled:function(){Nu.invalidateQueries({queryKey:["GET/reconciliation/reports/templates"]})},useErrorBoundary:!1})}function xl(t){return js((function(){return Oa.getInstance().updateReconciliationReportTemplate(t).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){throw t}))}),{useErrorBoundary:!1})}function Dl(){return js(["POST/reconciliation/alerts"],(function(t){return Oa.getInstance().postReconciliationAlert(t).then((function(t){return t.data})).catch((function(t){throw t}))}),{onSuccess:function(){Nu.invalidateQueries(["GET/reconciliation/alerts/list"])},useErrorBoundary:!1})}function Nl(){return js(["DELETE/reconciliation/alerts"],(function(t){return Oa.getInstance().deleteReconciliationAlert(t).then((function(t){return t.data})).catch((function(t){throw t}))}),{onSuccess:function(){Nu.invalidateQueries(["GET/reconciliation/alerts/list"])},useErrorBoundary:!1})}function Ll(){return js(["UPDATE/reconciliation/alerts"],(function(t){return Oa.getInstance().updateReconciliationAlert(t).then((function(t){return t.data})).catch((function(t){throw t}))}),{onSuccess:function(){Nu.invalidateQueries(["GET/reconciliation/alerts/list"])},useErrorBoundary:!1})}function Ml(){return js((function(t){var e=t.payload;return Oa.getInstance().postCreateInsightsReport(e).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function Bl(){return js((function(t){return Oa.getInstance().createSamlConfig(t)}))}function Fl(){return js((function(t){return Oa.getInstance().updateSamlConfig(t)}))}function Ul(){return js((function(){return Oa.getInstance().deleteSamlConfig()}))}function jl(t,e){return void 0===e&&(e={}),js((function(e){return Oa.getInstance().generateAIWorkflowRoutes(t,e).then((function(t){return null==t?void 0:t.data}))}),o(o({},e),{useErrorBoundary:!1}))}function zl(){return js((function(t){return Oa.getInstance().createChartGPTChart(t).then((function(t){return null==t?void 0:t.data}))}),{useErrorBoundary:!1})}function ql(){return js((function(t){return Oa.getInstance().deleteChartGPTChart(t).then((function(t){return null==t?void 0:t.data}))}),{useErrorBoundary:!1})}function Vl(){return js((function(t){var e=t.chartgpt_id,n=t.type,r=t.name;return Oa.getInstance().patchChartGPTChart(e,{type:n,name:r}).then((function(t){return null==t?void 0:t.data}))}),{useErrorBoundary:!1})}var Gl=function(){var t,e;return null===(e=null===(t=function(t){var e=localStorage.getItem(t),n=d(e&&JSON.parse(e)),r=n[0],o=n[1];return f((function(){var e=function(e){if(e.key===t){var n=e.newValue;o(n)}};return window.addEventListener("storage",e),function(){window.removeEventListener("storage",e)}}),[t]),r}("account"))||void 0===t?void 0:t.value)||void 0===e?void 0:e.organization_code};function Ql(t){var r=this;return Us(["fetch-payments-lazy",t],(function(){return e(r,void 0,void 0,(function(){return n(this,(function(e){return[2,Oa.getInstance().postPaymentsLazy(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))]}))}))}),{enabled:!!t&&Object.keys(t).length>0,cacheTime:0})}function Kl(t){return Us(["fetch-payments-evaluated",t],(function(){return Oa.getInstance().postPaymentsEvaluated(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t&&Object.keys(t).length>0,cacheTime:0})}function Wl(t){var e=t.enabled,n=void 0===e||e,r=i(t,["enabled"]);return Us(["fetch-payments-".concat(r.payment_code),r],(function(){return Oa.getInstance().getPayment(r).then((function(t){return null==t?void 0:t.data}))}),{enabled:n,cacheTime:500})}function Hl(t){var r=this,o=t.paymentCode,i=t.enabled,a=void 0===i||i,s=Oa.getInstance();return Us(["get-payment-v2",o],(function(){return e(r,void 0,void 0,(function(){return n(this,(function(t){return[2,s.getPaymentV2(o).then((function(t){return t.data})).catch((function(t){throw t}))]}))}))}),{enabled:a,cacheTime:500})}function Jl(t,e){return Us(["payments/".concat(t,"/transactions"),e],(function(){return Oa.getInstance().getPaymentTransactions(t,e).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!e,cacheTime:500})}function Yl(t){return Us(["payments/".concat(t,"/transactions/lazy")],(function(){return Oa.getInstance().getPaymentTransactionsLazy(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t.response.data}))}),{enabled:!!t,cacheTime:500})}function Xl(t){var e=t.payment_code,n=t.transaction_code,r=t.enabled,o=void 0===r||r;return Us(["payments/".concat(e,"/transactions/").concat(n)],(function(){return Oa.getInstance().getTransactionDetails({payment_code:e,transaction_code:n}).then((function(t){return null==t?void 0:t.data}))}),{cacheTime:500,enabled:o})}function $l(t){var r=this,o=t.payment_code,i=t.enabled,a=void 0===i||i,s=Oa.getInstance();return Us(["get-payment-transaction-details-v2",o],(function(){return e(r,void 0,void 0,(function(){return n(this,(function(t){return[2,s.getTransactionDetailsV2({payment_code:o}).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))]}))}))}),{enabled:!!o&&a,cacheTime:0})}function Zl(t){var r=this,o=t.transaction_code,i=t.enabled,a=void 0===i||i,s=Oa.getInstance();return Us(["get-payment-transaction-raw-response",o],(function(){return e(r,void 0,void 0,(function(){return n(this,(function(t){return[2,s.getTransactionRawResponse({transaction_code:o})]}))}))}),{enabled:!!o&&a,cacheTime:0})}function td(t){var e=Gl();return Us(["payment-methods",t],(function(){return Oa.getInstance().getPaymentMethodsByCountry({provider_id:null==t?void 0:t.provider_id,country:null==t?void 0:t.country},e).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{enabled:!!t&&!!(null==t?void 0:t.provider_id),useErrorBoundary:!1})}function ed(t){var e=t.provider;return Us(["/payment-methods/provider/".concat(e)],(function(){return Oa.getInstance().getPaymentMethodsByProvider({provider:e}).then((function(t){return null==t?void 0:t.data}))}))}function nd(){return Us(["/payment-methods/providers"],(function(){return Oa.getInstance().getPaymentMethodsAndProviders().then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function rd(){return Us(["/payments/payment-methods/providers/active"],(function(){return Oa.getInstance().getPaymentMethodsAndProvidersActive().then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function od(){return Us(["/payments/transaction/statuses"],(function(){return Oa.getInstance().useGetPaymentAndTrxStatuses().then((function(t){return null==t?void 0:t.data}))}))}function id(){return Us(["GET/catalog/card-brands"],(function(){return Oa.getInstance().getCardBrands().then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function ad(t){return void 0===t&&(t=!0),Us(["payment-filters",t],(function(){return Oa.getInstance().getPaymentFilters().then((function(t){return null==t?void 0:t.data}))}),{enabled:t,useErrorBoundary:!1})}function sd(){return Us(["payment-metrics-filters"],(function(){return Oa.getInstance().getPaymentMetricsFilters().then((function(t){return null==t?void 0:t.data}))}),{useErrorBoundary:!1})}function ud(t){var e=t.transaction_code;return Us(["payment-filters",e],(function(){return Oa.getInstance().getTransactionHistory({transaction_code:e}).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!e})}function cd(t){var e=t.transaction_code,n=t.enabled;return Us(["payment-transaction-details",e],(function(){return Oa.getInstance().getPaymentTransactionsDetails({transaction_code:e}).then((function(t){return null==t?void 0:t.data})).catch((function(){return{error:!0}}))}),{enabled:!!e&&(void 0===n||n)})}function ld(t){var e=t.payment_code,n=t.enabled;return Us(["transaction-history",e],(function(){return Oa.getInstance().getTransactionHistoryByPaymentCode({payment_code:e}).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{enabled:!!e&&(void 0===n||n),useErrorBoundary:!1})}function dd(t){return Us(["GET/transactions",JSON.stringify(t)],(function(){return Oa.getInstance().getTransactions(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t,cacheTime:0})}function pd(t){var r=this;return Us(["POST/transactions",JSON.stringify(t)],(function(){return e(r,void 0,void 0,(function(){return n(this,(function(e){return[2,Oa.getInstance().postTransactions(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))]}))}))}),{enabled:!!t,cacheTime:0})}function fd(t){var r=this;return Us(["POST/fraud-transactions",JSON.stringify(t)],(function(){return e(r,void 0,void 0,(function(){return n(this,(function(e){return[2,Oa.getInstance().postFraudTransactions(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))]}))}))}),{enabled:!!t&&Object.keys(t).length>0,cacheTime:0})}function hd(t){return Us(["GET/payout-detail",JSON.stringify(t)],(function(){var e=Oa.getInstance();return t.organization_code?e.getPayoutDetails(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t})):{}}),{enabled:!!t.organization_code&&!!t&&t.enabled,cacheTime:0})}function yd(t){return Us(["GET/payout-transaction-detail",JSON.stringify(t)],(function(){return Oa.getInstance().getPayoutTransactionDetails(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t&&!!(null==t?void 0:t.transaction_code)&&(null==t?void 0:t.enabled),cacheTime:0})}function gd(t){var e=Gl();return Us(["GET/payout-history-detail",JSON.stringify(t)],(function(){return Oa.getInstance().getPayoutHistoryDetails(t,e).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!(null==t?void 0:t.payout_code)&&t.enabled,cacheTime:0})}function md(t){var r=this,o=Gl();return Us(["GET/useGetProofOfCancel",o,t],(function(){return e(r,void 0,void 0,(function(){return n(this,(function(e){return[2,Oa.getInstance().getProofOfCancel(t,o).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))]}))}))}),{enabled:!!t&&!!o,cacheTime:0,useErrorBoundary:!1})}function vd(t,r,o){var i=this,a=Oa.getInstance();return Us(["send-payment-notification",t,r],(function(){return e(i,void 0,void 0,(function(){var e,i;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,a.sendPaymentNotification(t,r)];case 1:return e=n.sent(),o.onSuccess(),[2,e.data];case 2:throw i=n.sent(),o.onError(),i;case 3:return[2]}}))}))}),{enabled:o.enabled,cacheTime:0,useErrorBoundary:!1})}function bd(t){return Us(["usePayoutsList",t&&JSON.stringify(t)],(function(){var e=Oa.getInstance();if(t)return e.postPayouts(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t&&!!Object.values(t).length,cacheTime:0})}function Ed(t){var r=this;void 0===t&&(t=!0);var o=Gl();return Us(["getPayoutsFilters",o],(function(){return e(r,void 0,void 0,(function(){return n(this,(function(t){return[2,Oa.getInstance().getPayoutsFilters(o).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))]}))}))}),{enabled:t&&!!o})}function Cd(t){var e=t.password,n=t.accountCode;return Us(["developers"],(function(){return Oa.getInstance().getDeveloperCredentials(e,n).then((function(t){return o(o({},null==t?void 0:t.data),{isValid:!0})})).catch((function(t){var e,n;return{isValid:!1,status:t.response.status,error:null===(n=null===(e=null==t?void 0:t.response)||void 0===e?void 0:e.data)||void 0===n?void 0:n.data}}))}),{enabled:!1,cacheTime:0})}function kd(t){var e=t.password;return Us(["developers"],(function(){return Oa.getInstance().getDeveloperCredentialsValidatePassword(e).then((function(t){return o(o({},null==t?void 0:t.data),{isValid:!0})})).catch((function(t){var e,n;return{isValid:!1,status:t.response.status,error:null===(n=null===(e=null==t?void 0:t.response)||void 0===e?void 0:e.data)||void 0===n?void 0:n.data}}))}),{enabled:!1,cacheTime:0})}function _d(){return Us(["fetch-customized-api-keys-members"],(function(){return Oa.getInstance().getCustomizedApiKeysMembers().then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}),{keepPreviousData:!0})}function wd(){return Us(["developers-get-allowed-ips"],(function(){return Oa.getInstance().getAllowedIps().then((function(t){return(null==t?void 0:t.data)?o(o({},null==t?void 0:t.data),{isError:!1}):null})).catch((function(t){return o(o({},t),{isError:!0})}))}),{enabled:!1,cacheTime:0})}function Sd(){return Us(["fetch-customized-api-keys-accounts"],(function(){return Oa.getInstance().getCustomizedApiKeysAccounts().then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}),{keepPreviousData:!0})}function Rd(t){return Us(["fetch-customized-api-keys",t],(function(){return Oa.getInstance().postCustomizedApiKeys(t).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}),{cacheTime:0,enabled:!!(null==t?void 0:t.length)})}function Id(){return Us(["fetch-customized-api-keys-products"],(function(){return Oa.getInstance().getCustomizedApiKeysProducts().then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}),{cacheTime:0})}function Ad(){return js(["developers-patch-allowed-ips"],(function(t){return Oa.getInstance().patchAllowedIps(t).then((function(t){return(null==t?void 0:t.data)?o(o({},null==t?void 0:t.data),{isError:!1}):null})).catch((function(t){return o(o({},t),{isError:!0})}))}),{cacheTime:0})}function Td(){return Us(["fetch-organizations"],(function(){return Oa.getInstance().getOrganization().then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}),{keepPreviousData:!0})}function Od(){return Us(["fetch-all-organizations"],(function(){return Oa.getInstance().getAllOrganization().then((function(t){return(null==t?void 0:t.data)||[]}))}),{keepPreviousData:!0,useErrorBoundary:!1})}function Pd(t){var e=Gl();return Us(["organizations-provider-params",t],(function(t){var n=t.queryKey;return Oa.getInstance().getProviderParams(n[1],e).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!(null==t?void 0:t.id),useErrorBoundary:!1})}function xd(t){var e=t.integration_code,n=t.enabled;return Us(["integration-params",e],(function(){return e.includes("undefined")?{}:Oa.getInstance().getIntegrationParams({integration_code:e}).then((function(t){return null==t?void 0:t.data}))}),{enabled:n,useErrorBoundary:!1})}function Dd(t){var e=t.accountCode,n=t.organizationCode;return Us(["organizations-account-integrations"],(function(){return Oa.getInstance().getIntegrationByAccount({accountCode:e,organizationCode:n}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{cacheTime:0,enabled:!!e})}function Nd(t){var e=t.accountCode,n=t.organizationCode,r=Gl(),o=Us(["organizations-account-integrations",e,n],(function(){return Oa.getInstance().getIntegrationByAccountV2({accountCode:e,organizationCode:n||r}).then((function(t){return null==t?void 0:t.data}))}),{cacheTime:0,enabled:!!e,useErrorBoundary:!1});return o}function Ld(t){var e=t.accountCode,n=t.paymentMethod;return Us(["fetch-connections-by-payment-method",n,e],(function(){return Oa.getInstance().getConnectionsByPaymentMethod(e,n).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!n&&!!e,cacheTime:0,useErrorBoundary:!1})}function Md(){var t=this;return Us(["fetch-hash-pylon"],(function(){return e(t,void 0,void 0,(function(){return n(this,(function(t){return[2,Oa.getInstance().getHashPylon()]}))}))}),{keepPreviousData:!0,useErrorBoundary:!1})}function Bd(){return Us(["connections"],(function(){return Oa.getInstance().getConnections().then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{useErrorBoundary:!1})}function Fd(){return Us(["dialogs"],(function(){return Oa.getInstance().getDialogs().then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{useErrorBoundary:!1,retryDelay:2e3})}function Ud(){return Us(["params-catalog"],(function(){return Oa.getInstance().getWebhookParams().then((function(t){return null==t?void 0:t.data}))}))}function jd(){return Us(["params-catalog"],(function(){return Oa.getInstance().getWebhookParamsV2().then((function(t){return null==t?void 0:t.data}))}))}function zd(t){var e=t.accountCode;return Us(["webhooks"],(function(){return Oa.getInstance().getWebhooks({accountCode:e}).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!e})}function qd(t){var e=t.accountCode;return Us(["webhooks"],(function(){return Oa.getInstance().getWebhooksV2({accountCode:e}).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!e})}function Vd(t){var e=t.accountCode,n=t.name;return Us(["webhooks",e,n],(function(){return Oa.getInstance().getWebhooksV3({accountCode:e,name:n}).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!e,useErrorBoundary:!1})}function Gd(t){var e=t.accountCode,n=t.enabled;return Us(["webhooks-detail",e],(function(){return Oa.getInstance().getWebhooksV2Detail({accountCode:e}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!e&&!!n})}function Qd(t){var e,n=Gl(),r=null!==(e=null!=t?t:n)&&void 0!==e?e:null;return Us({queryKey:["accounts",r],queryFn:function(){return Oa.getInstance().getAccounts(r).then((function(t){return null==t?void 0:t.data}))},keepPreviousData:!0,cacheTime:3e3,enabled:!!r})}function Kd(t){return Us(["accountsV2",t],(function(){return Oa.getInstance().getAccountsV2().then((function(t){return(null==t?void 0:t.data)||[]})).catch((function(t){throw t}))}),{keepPreviousData:!0,enabled:!!t,useErrorBoundary:!1})}function Wd(t){return Us(["accountsV2-by-user",t],(function(){return t?Oa.getInstance().getAccountsByUser(t).then((function(t){return{accountsV2ByUser:(null==t?void 0:t.data)||null}})).catch((function(t){return{accountsV2ByUser:[],error:t}})):{accountsV2ByUser:[]}}),{enabled:!!t,staleTime:0})}function Hd(){return Us(["menu"],(function(){return Oa.getInstance().getMenu().then((function(t){return fa(t)?Ea:null==t?void 0:t.data})).catch((function(){return Ea}))}))}function Jd(){return Us(["/payment/statuses/style"],(function(){return Oa.getInstance().useGetPaymentStatusesStyles().then((function(t){return fa(t)?ha:null==t?void 0:t.data})).catch((function(){return ha}))}))}function Yd(){return Us(["/transaction/statuses/style"],(function(){return Oa.getInstance().useGetTransactionStatusesStyles().then((function(t){return fa(t)?ya:null==t?void 0:t.data})).catch((function(){return ya}))}))}function Xd(){return Us(["/reconciliation/transaction/statuses/style"],(function(){return Oa.getInstance().useGetReconciliationTransactionStatusesStyles().then((function(t){return fa(t)?ga:null==t?void 0:t.data})).catch((function(){return ga}))}))}function $d(){return Us(["timezone-catalog"],(function(){return Oa.getInstance().useGetTimeZoneCatalog().then((function(t){return fa(t)?ma:null==t?void 0:t.data})).catch((function(){return ma}))}))}function Zd(){return Us(["/cms/audit-logs-filters"],(function(){return Oa.getInstance().useGetAuditLogsFilters().then((function(t){return fa(t)?va:null==t?void 0:t.data})).catch((function(){return va}))}))}function tp(){return Us(["/cms/static-contents"],(function(){return Oa.getInstance().getDashboardStaticContents().then((function(t){var e,n;return fa(t)?ba:(null===(n=null===(e=null==t?void 0:t.data)||void 0===e?void 0:e[0])||void 0===n?void 0:n.data)||{}})).catch((function(){return ba}))}))}function ep(){return Us(["/cms/locales"],(function(){return Oa.getInstance().getLocales().then((function(t){return fa(t)?Ca:t.data})).catch((function(){return Ca}))}))}var np=function(){var t=d("ON"===localStorage.getItem("isTesting")),e=t[0],n=t[1];return f((function(){window.addEventListener("storage",(function(t){"isTesting"===t.key&&n("ON"===t.newValue)}))}),[]),{isTesting:e}};function rp(t){return Us(["smart-routing-methods",t],(function(){return Oa.getInstance().getSmartRoutingMethods(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t,cacheTime:0})}function op(t,e){return Us(["smart-routing-workflow",e,t],(function(){return Oa.getInstance().getSmartRoutingWorkflow(t,e).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!e&&!!t,cacheTime:0,retry:!1})}function ip(t,e){return Us(["smart-routing-condition-types",t,e],(function(){return Oa.getInstance().getSmartRoutingConditionTypes(t,e).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!e&&!!t})}function ap(t,e){return Us(["smart-routing-condition-payment-method",t,e],(function(){return Oa.getInstance().getSmartRoutingConditionPaymentMethod(t,e).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{cacheTime:0,enabled:null!==e})}function sp(t,e){return Us(["smart-routing-condition-types-values",e,t],(function(){return Oa.getInstance().getSmartRoutingConditionTypesValues(t,e).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!e&&!!t})}function up(t){var e=t.accountCode,n=t.workflowVersionId;return Us(["smart-routing-workflow-version",n,e],(function(){return Oa.getInstance().getSmartRoutingWorkflowVersion(e,n).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!n&&!!e,cacheTime:0})}function cp(t,e,n){return Us(["smart-routing-next-route",t,n,e],(function(){return Oa.getInstance().getSmartRoutingNextSteps(t,e,n).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t})}function lp(t){return Us(["smart-routing-decline-groups",t],(function(){return Oa.getInstance().getSmartRoutingDeclinedGroup(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t,cacheTime:0})}function dp(t){return Us(["smart-routing-tutorial",t],(function(){return Oa.getInstance().getSmartRoutingTutorial(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t,cacheTime:0})}function pp(t,e){return Us(["smart-routing-payment-route",t,e],(function(){return Oa.getInstance().getSmartRoutingPaymentRoute(t,e).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t&&!!e,cacheTime:0})}function fp(t){return Us(["smart-routing-simulate-condition-type-values",t],(function(){return Oa.getInstance().getSmartRoutingSimulateConditionTypeValues(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t,cacheTime:0})}function hp(t){var e=t.text,n=t.conditionType;return Us(["smart-routing-search-condition-values",e,n],(function(){return Oa.getInstance().getSmartRoutingSearchConditionValues(n,e).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!n&&!!e,cacheTime:0})}function yp(){return Us(["smart-routing-conversion-rates"],(function(){return Oa.getInstance().getProviderConversionRatesData().then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{enabled:!1,useErrorBoundary:!1})}function gp(){var t=this;return Us({queryKey:["smart-routing-3ds-excemptions"],queryFn:function(){return e(t,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,Oa.getInstance().get3DSExemptions()];case 1:return[2,t.sent().data]}}))}))},useErrorBoundary:!1})}function mp(t){return Us(["fetch-routing-monitors-templates",t],(function(){return Oa.getInstance().getRoutingMonitorsTemplates(t).then((function(t){return t.data})).catch((function(t){throw t}))}),{cacheTime:0,enabled:!!t,useErrorBoundary:!1})}function vp(t,e){return Us(["fetch-routing-monitors-template",t],(function(){return Oa.getInstance().getRoutingMonitorsTemplate(t,e).then((function(t){return t.data})).catch((function(t){throw t}))}),{cacheTime:0,enabled:!!t&&!!e&&"NONE"!==t,useErrorBoundary:!1})}function bp(t){var e=t.accountCode;return Us(["checkouts",e],(function(){return Oa.getInstance().getCheckouts({accountCode:e}).then((function(t){return t.data}))}),{cacheTime:0,enabled:Boolean(e)})}function Ep(t){var e=t.accountCode;return Us(["checkouts-template"],(function(){return Oa.getInstance().getCheckoutTemplate({accountCode:e}).then((function(t){return null==t?void 0:t.data}))}),{cacheTime:0,enabled:Boolean(e)})}var Cp=function(t){return["checkout-builder-name-and-icon",t.paymentMethodType,t.type]},kp=function(t,e){var n=t.paymentMethodType,r=t.type;return Us(Cp({paymentMethodType:n,type:r}),(function(){return Oa.getInstance().getNameAndIcon({paymentMethodType:n,type:r}).then((function(t){return null==t?void 0:t.data}))}),e)},_p=function(t){return["checkout-builder-required-fields",t.paymentMethodType,t.type]},wp=function(t,e){var n=t.paymentMethodType,r=t.type;return Us(_p({paymentMethodType:n,type:r}),(function(){return Oa.getInstance().getRequiredFields({paymentMethodType:n,type:r}).then((function(t){return null==t?void 0:t.data}))}),e)};function Sp(t){var e=t.accountCode;return Us(["styling-theme",e],(function(){return Oa.getInstance().getStylingTheme({accountCode:e}).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{cacheTime:0,enabled:Boolean(e),useErrorBoundary:!1})}function Rp(t){var e=t.accountCode;return Us(["styling-settings",e],(function(){return Oa.getInstance().getStylingSettings({accountCode:e}).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{cacheTime:0,enabled:Boolean(e),useErrorBoundary:!1})}function Ip(){return Us(["fetch-profile"],(function(){return Oa.getInstance().getProfile().then((function(t){var e=null==t?void 0:t.data;return e&&localStorage.setItem("user",JSON.stringify(e)),e})).catch((function(t){throw t}))}),{keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3})}function Ap(t,e){return Us(["fetch-permissions",t,e],(function(){var t,e,n,r=localStorage.getItem("account"),o=localStorage.getItem("user"),i=r&&JSON.parse(r),a=o&&JSON.parse(o);return((null==a?void 0:a.merlin)?null===(t=null==a?void 0:a.merlin)||void 0===t?void 0:t.permissions:null===(n=null===(e=null==i?void 0:i.value)||void 0===e?void 0:e.role)||void 0===n?void 0:n.permission_ids.map((function(t){return{permission_name:t,description:t,resource_server_name:t,resource_server_identifier:t}})))||[]}))}function Tp(t){return Us(["email-verification",t],(function(){return Oa.getInstance().emailVerification(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t})}function Op(t){return Us(["login-sso",t],(function(){return Oa.getInstance().getLoginSSO(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t})}function Pp(){return Us({queryKey:["get-login-methods"],queryFn:function(){return Oa.getInstance().getLoginMethods().then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}})}function xp(t){return Us(["notifications-customer",t],(function(){return Oa.getInstance().getNotificationsCustomer(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t,keepPreviousData:!1})}function Dp(t){return Us(["validate-opsgenie-key",t],(function(){return Oa.getInstance().getValidateOpsgenieKey(t).then((function(t){return null==t?void 0:t.data})).catch((function(){return{error:!0}}))}),{enabled:!!t,cacheTime:0})}function Np(){return Us(["notifications-merged"],(function(){return Oa.getInstance().getMergedNotifications().then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{keepPreviousData:!1,cacheTime:0})}function Lp(t){return Us(["notifications-account",t],(function(){return Oa.getInstance().getNotificationsCustomer(t).then((function(t){return null==t?void 0:t.data}))}))}function Mp(t){return Us(["notifications-number",t],(function(){return Oa.getInstance().getNotificationsNumber(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t})}function Bp(){return js((function(t){return Oa.getInstance().getNotificationsNumber(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}))}function Fp(){var t=this;return js((function(r){return e(t,void 0,void 0,(function(){var t;return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().pathNotification(r)];case 1:return[2,null==(t=e.sent())?void 0:t.data]}}))}))}))}var Up={key:"metadata_fields",name:"metadata_fields"};function jp(){return Us(["reports"],(function(){return Oa.getInstance().reportsList().then((function(t){return null==t?void 0:t.data}))}),{useErrorBoundary:!1})}function zp(t){return void 0===t&&(t=!0),Us(["reports-multi-env"],(function(){return Oa.getInstance().reportsListMultiEnv().then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:t})}function qp(t,e,n){return void 0===e&&(e=!1),Us(["reports/".concat(t)],(function(){return Oa.getInstance().downloadReports(t).then((function(t){return null==t?void 0:t.data}))}),{enabled:e,onSuccess:n,useErrorBoundary:!1})}function Vp(t){return Us(["GET/reports/templates"],(function(){return Oa.getInstance().getReportTemplates().then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:t,useErrorBoundary:!1})}function Gp(e,n,r){return Us(["GET/reports/columns/".concat(n,"/").concat(r)],(function(){return Oa.getInstance().getReportColumns(n,r).then((function(e){return"ALL"===n&&"PAYMENTS"===r?t(t([],null==e?void 0:e.data,!0),[Up],!1):null==e?void 0:e.data})).catch((function(t){return t}))}),{enabled:e,useErrorBoundary:!1})}function Qp(t){var r=this,o=Gl();return Us(["getRefundPdf",t,o],(function(){return e(r,void 0,void 0,(function(){return n(this,(function(e){return[2,Oa.getInstance().getRefundPdf(t,o).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))]}))}))}),{enabled:!!t&&!!o,useErrorBoundary:!1})}function Kp(t){return Us(["fetch-members"],(function(){return Oa.getInstance().getMembers(t).then((function(t){return null==t?void 0:t.data}))}),{keepPreviousData:!0})}function Wp(t){var e=t.organizationCode,n=Gl();return Us(["fetch-members-v3",e],(function(){return e?Oa.getInstance().getMembersV3({organizationCode:n}).then((function(t){return null==t?void 0:t.data})):null}),{enabled:!!e,cacheTime:0})}function Hp(){var t=Gl();return Us(["teams-filters-members"],(function(){return Oa.getInstance().teamsFiltersMembers({organizationCode:t}).then((function(t){return null==t?void 0:t.data}))}),{cacheTime:0})}function Jp(t){var e=t.organizationCode,n=t.accountCodes,r=Gl();return Us(["fetch-members-v4",e,n],(function(){return n?e?Oa.getInstance().getMembersV4({organizationCode:r,accountCodes:n}).then((function(t){return null==t?void 0:t.data})):null:{}}),{enabled:!!e&&!!n,cacheTime:0})}function Yp(t){var e=t.organizationCode,n=t.accountCodes,r=Gl();return Us(["fetch-post-members-v4",e,n],(function(){return Oa.getInstance().postMembersV4({organizationCode:r,accountCodes:n}).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!e&&!!n,cacheTime:0})}function Xp(t){var e=t.organizationCode,n=t.accountCodes,r=t.page,o=t.pageSize,i=Gl();return Us(["fetch-post-members-v4",e,n,r,o],(function(){return Oa.getInstance().postMembersPaginated({organizationCode:i,accountCodes:n,page:r,pageSize:o}).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!e&&!!n,cacheTime:0,useErrorBoundary:!1})}function $p(t){var e=t.organizationCode,n=t.accountCodes,r=t.email,o=t.page,i=t.pageSize,a=Gl();return Us(["fetch-post-members-v2",e,n,r,o,i],(function(){return Oa.getInstance().postMembersPaginatedV2({organizationCode:a,accountCodes:n,email:r,page:o,pageSize:i}).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!e&&!!n,cacheTime:0,useErrorBoundary:!1})}function Zp(){return Us(["fetch-roles"],(function(){return Oa.getInstance().getRoles().then((function(t){return null==t?void 0:t.data}))}),{useErrorBoundary:!1})}function tf(){return Us(["fetch-rolespermissions"],(function(){return Oa.getInstance().getRolesPermissions().then((function(t){return null==t?void 0:t.data}))}))}function ef(){return Us(["fetch-permissions-catalog"],(function(){return Oa.getInstance().getPermissionsCatalog().then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{useErrorBoundary:!1})}function nf(t){return Us(["data-report",t],(function(){return Oa.getInstance().getSmartRoutingDataReport(t).then((function(t){return null==t?void 0:t.data}))}),{cacheTime:0,useErrorBoundary:!1})}function rf(t,e,n){return Us(["data-insights",t],(function(){return("LOCAL"===process.env.ENVIRONMENT||"DEV"===process.env.ENVIRONMENT||localStorage.getItem("log_metrics"))&&(console.log("%c ".concat(t.key_metric),"background: #222; color: #bada55"),console.log(t)),Oa.getInstance().getDashboardInsights(t).then((function(t){return null==t?void 0:t.data}))}),{keepPreviousData:n,enabled:!!t.account_code&&!!e&&!!t.key_metric&&"Empty"!==t.currency_code,cacheTime:0,useErrorBoundary:!1})}function of(t,e){return Us(["get-isolated-metric",t],(function(){return Oa.getInstance().getDashboardInsights(t).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!t.account_code,cacheTime:0,keepPreviousData:e,useErrorBoundary:!1})}function af(t){return Us(["get-insights-conversion-rate-metrics",t],(function(){return Oa.getInstance().getInsightsMetricsConversionRate(t).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!(null==t?void 0:t.enabled)&&void 0!==t.account_code,cacheTime:200,useErrorBoundary:!1})}function sf(t,e){return Us(["get-insights-conversion-rate-metrics-v2",t,e],(function(){return Oa.getInstance().getInsightsMetricsConversionRateV2(t,e).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{enabled:!!(null==t?void 0:t.enabled)&&void 0!==t.account_code,cacheTime:0,useErrorBoundary:!1})}function uf(t,e){return Us(["get-insights-conversion-rate-view-more-metrics",e,t],(function(){return Oa.getInstance().getInsightsMetricsConversionRateViewMore(t,e).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!(null==t?void 0:t.enabled)&&!!e,cacheTime:200,useErrorBoundary:!1})}function cf(t){return Us(["get-insights-conversion-rate-fallback-metrics",t],(function(){return Oa.getInstance().getInsightFallbackMetrics(t).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!(null==t?void 0:t.enabled),cacheTime:200,useErrorBoundary:!1})}function lf(t,e,n){return void 0===n&&(n=!0),delete e.account_code,Us(["get-insights-volume-metrics",e,t],(function(){return Oa.getInstance().getInsightsMetricsVolume(t,e).then((function(t){return null==t?void 0:t.data}))}),{enabled:n,cacheTime:200,useErrorBoundary:!1})}function df(t,e,n,r){return void 0===r&&(r=!0),delete e.account_code,Us(["get-insights-volume-metrics-v2",e,t,n],(function(){return Oa.getInstance().getInsightsMetricsVolumeV2(t,n,e).then((function(t){return null==t?void 0:t.data}))}),{enabled:r,cacheTime:200,useErrorBoundary:!1})}function pf(t,e,n){return void 0===n&&(n=!0),delete e.account_code,Us(["get-insights-total-payment-fraud-metrics",e,t],(function(){return Oa.getInstance().getInsightsMetricsTotalPaymentsAndFraud(t,e).then((function(t){return null==t?void 0:t.data}))}),{enabled:n,cacheTime:200,useErrorBoundary:!1})}function ff(t,e,n){return void 0===n&&(n=!0),delete e.account_code,Us(["get-insights-customer-payment-fraud-metrics",e,t],(function(){return Oa.getInstance().getInsightsMetricsCustomerPaymentsAndFraud(t,e).then((function(t){return null==t?void 0:t.data}))}),{enabled:n,cacheTime:200,useErrorBoundary:!1})}function hf(t){return Us(["get-insights-overview",t],(function(){return Oa.getInstance().getInsightOverview(t).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!(null==t?void 0:t.enabled)&&void 0!==t.account_code,cacheTime:200,useErrorBoundary:!1})}function yf(t,e){var n=!!(null==t?void 0:t.enabled)&&void 0!==(null==t?void 0:t.account_code);return Us(["get-insights-overview-v3",t,e],(function(){return Oa.getInstance().getInsightOverviewV3(t,e).then((function(t){return null==t?void 0:t.data}))}),{enabled:n,cacheTime:0,useErrorBoundary:!1})}function gf(t){return Us(["get-insights-home-metrics",t],(function(){return Oa.getInstance().getInsighstHomeMetrics(t).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!(null==t?void 0:t.currency_code)&&!!(null==t?void 0:t.account_codes)&&!!(null==t?void 0:t.organization_code)&&(null==t?void 0:t.isLiveMode)&&!!(null==t?void 0:t.timezone),cacheTime:200,useErrorBoundary:!1})}function mf(t){return Us(["get-insights-reports",t],(function(){return Oa.getInstance().getInsightsReport(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!(null==t?void 0:t.type),cacheTime:0,useErrorBoundary:!1})}function vf(t){return Us(["get-insights-reports-again",t],(function(){return Oa.getInstance().getInsightsReportAgain(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!(null==t?void 0:t.code),cacheTime:0,useErrorBoundary:!1})}function bf(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-fraud-screening-volume-and-count-tx",t,r],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsightsFraudScreeningVolumeAndCountTx(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}function Ef(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-fraud-screening-conversion-rate",t,r],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsightsFraudScreeningConversionRate(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}function Cf(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-3ds-volume-and-count-tx",r,t],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsights3dsVolumeAndCountTx(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}function kf(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-3ds-conversion-rate-and-evolution",t,r],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsights3dsConversionRateAndEvolution(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}function _f(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-3ds-decline-reasons",t,r],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsights3dsDeclineReasons(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}function wf(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-3ds-frictionless-vs-challenge",t,r],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsights3dsFrictionlessVsChallenge(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}function Sf(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-chargebacks-volume-and-count-tx",t,r],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsightsChargebacksVolumeAndCountTx(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}function Rf(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-chargebacks-win-rate",t,r],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsightsChargebacksWinRate(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}function If(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-chargebacks-disputed",t,r],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsightsChargebacksDisputed(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}function Af(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-chargebacks-by-provider-and-card-brand",t,r],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsightsChargebacksByProviderAndCardBrand(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}function Tf(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-chargebacks-reasons-distribution",t,r],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsightsChargebacksReasonsDistribution(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}function Of(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-chargebacks-status-distribution",t,r],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsightsChargebacksStatusDistribution(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}function Pf(t,r,o){var i=this;return void 0===o&&(o={enabled:!0}),Us({queryKey:["post-insights-chargebacks-by-card-brand",t,r],queryFn:function(){return e(i,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsightsChargebacksByCardBrand(t,r)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})}var xf=function(t,r,i){return void 0===i&&(i={}),Us(["conversion-rate-overview",t,r],(function(){return e(void 0,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsightsConversionRateOverview(r,t)];case 1:return[2,e.sent()]}}))}))}),o({useErrorBoundary:!1},i))},Df=function(t,r,i){return void 0===i&&(i={}),Us(["conversion-rate-overview-fraud-3ds",t,r],(function(){return e(void 0,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Oa.getInstance().getInsightsConversionRateOverviewFraud3ds(r,t)];case 1:return[2,e.sent()]}}))}))}),o({useErrorBoundary:!1},i))};function Nf(t,e){return Us(["fetch-reconciliation-transaction",t],(function(){return Oa.getInstance().getReconciliationTransactions(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{enabled:!!e,useErrorBoundary:!1})}function Lf(t,e){return Us(["fetch-reconciliation-settlements",t],(function(){return Oa.getInstance().getReconciliationSettlements(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{enabled:!!e,useErrorBoundary:!1})}function Mf(t,e){return Us(["fetch-reconciliation-settlements-header",t],(function(){return Oa.getInstance().getReconciliationSettlementsHeader(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!e,cacheTime:500})}function Bf(t,e){return Us(["fetch-reconciliation-settlements-body",t],(function(){return Oa.getInstance().getReconciliationSettlementsBody(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!e,cacheTime:500})}function Ff(t,e){return Us(["fetch-reconciliation-metrics",t],(function(){return Oa.getInstance().getReconciliationMetrics(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!e,cacheTime:500})}function Uf(){return Us(["GET-reconciliation-filters"],(function(){return Oa.getInstance().getReconciliationFilters().then((function(t){return null==t?void 0:t.data}))}),{useErrorBoundary:!1})}function jf(t){return Us(["GET/v1/reconciliation/table/".concat(t,"/columns")],(function(){return Oa.getInstance().getAllTableColumns(t).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function zf(){return Us(["GET/v1/reconciliation/active"],(function(){return Oa.getInstance().getReconciliationActive().then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}))}function qf(t,e,n){return Us(["GET/reconciliation/reports/columns/".concat(e,"/").concat(n)],(function(){return Oa.getInstance().getReconciliationsReportColumns(e,n).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){throw t}))}),{enabled:t,useErrorBoundary:!1})}function Vf(t){return Us(["GET/reconciliation/reports/templates"],(function(){return Oa.getInstance().getReconciliationReportTemplates().then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){throw t}))}),{enabled:t,useErrorBoundary:!1})}function Gf(t){var e=t.body,n=t.params,r=t.enabled;return Us(["GET/reconciliation/alerts/list",e,n],(function(){return Oa.getInstance().getReconciliationAlerts(e,n).then((function(t){return t.data}))}),{enabled:r,useErrorBoundary:!1})}function Qf(t){var e=t.body,n=t.params,r=t.enabled;return Us(["GET/reconciliation/agenda/list",e,n],(function(){return Oa.getInstance().getReconciliationAgenda(e,n).then((function(t){return t.data}))}),{enabled:r,useErrorBoundary:!1})}function Kf(t){var e=t.body,n=t.params,r=t.enabled;return Us(["GET/reconciliation/agenda/insights",e,n],(function(){return Oa.getInstance().getReconciliationAgendaInsightByKey(e,n).then((function(t){return t.data}))}),{enabled:r,useErrorBoundary:!1})}function Wf(t){var e=t.body,n=t.params,r=t.enabled;return Us(["GET/reconciliation/sales/list",e,n],(function(){return Oa.getInstance().getReconciliationSales(e,n).then((function(t){return t.data}))}),{enabled:r,useErrorBoundary:!1})}function Hf(t){var e=t.body,n=t.params,r=t.enabled;return Us(["GET/reconciliation/advancements/list",e,n],(function(){return Oa.getInstance().getReconciliationAdvancements(e,n).then((function(t){return t.data}))}),{enabled:r,useErrorBoundary:!1})}function Jf(t){var e=t.body,n=t.params,r=t.enabled;return Us(["GET/reconciliation/fees/list",e,n],(function(){return Oa.getInstance().getReconciliationFees(e,n).then((function(t){return t.data}))}),{enabled:r,useErrorBoundary:!1})}function Yf(t){var r=this,o=Object.values(t).filter(Boolean);return Us(["feature-flags",o],(function(){return e(r,void 0,void 0,(function(){return n(this,(function(e){return[2,Oa.getInstance().getFeatureFlagId(t).then((function(t){return null==t?void 0:t.data}))]}))}))}),{enabled:o.length>1,useErrorBoundary:!1})}var Xf=["FRAUD_INSIGHTS","STARROCKS_OVERVIEW_INSIGHTS","SHOW-BR-TABS","RECONCILIATION-TABS-V2","SHOW-RECON-FEES-TAB"];function $f(t){var r=this,o=Us({queryKey:["all-feature-flags",Object.values(t).filter(Boolean)],queryFn:function(){return e(r,void 0,void 0,(function(){var e,r;return n(this,(function(n){return e=Oa.getInstance(),r={names:Xf,body:t},[2,e.getFeatureFlagIdAll(r).then((function(t){return null==t?void 0:t.data}))]}))}))},enabled:!!t.account_code&&!!t.organization_code&&!!t.email,useErrorBoundary:!1}),i=Ds();return f((function(){i.setQueryData(["cached-feature-flags"],o)}),[o,i]),o}function Zf(t){var e=Ds();return Us({queryKey:["cached-feature-flags"],queryFn:function(){},enabled:!1,select:function(e){var n;return{result:null===(n=e.data)||void 0===n?void 0:n[t]}},initialData:function(){var t=e.getQueryData(["cached-feature-flags"]);return(null==t?void 0:t.data)||{}}})}function th(t){return Us(["events",t],(function(){return Oa.getInstance().getAuditEvents(t).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!t.account_code&&!!t.organizationCode,cacheTime:0,keepPreviousData:!0,useErrorBoundary:!1})}function eh(t){return Us(["audit-monitor-event-detail",t],(function(){return Oa.getInstance().getAuditMonitorDetail(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){throw t}))}),{enabled:null!==t,cacheTime:0,useErrorBoundary:!1})}function nh(t,e){return Us(["fetch-payment-links",t,e],(function(){return Oa.getInstance().getPaymentLinks(t,e).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!e,cacheTime:0})}function rh(t){return Us(["payment-link"],(function(){return Oa.getInstance().getPaymentLinksByCode(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t})}function oh(t){var e=t.accountCode;return Us(["products"],(function(){return Oa.getInstance().getProductsByAccount({accountCode:e}).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!e})}function ih(t,e){return Us(["fetch-payments-by-link-code",t],(function(){return Oa.getInstance().getPaymentsByPaymentLink(t,e).then((function(t){return null==t?void 0:t.data}))}),{enabled:!!t})}function ah(t){return void 0===t&&(t=!0),Us(["countries",t],(function(){return Oa.getInstance().useGetCountriesConfig().then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:t,keepPreviousData:!0})}function sh(t){return Us(["timezone"],(function(){return Oa.getInstance().getTimezone(t).then((function(t){return fa(t)?ma:null==t?void 0:t.data})).catch((function(){return ma}))}),{enabled:!0,keepPreviousData:!0})}function uh(t){return js((function(t){var e=t.payload;return Oa.getInstance().firebaseUserSubscribe(e)}),{onMutate:function(t){return t},onSuccess:t.onSuccessCallback})}function ch(t,e){return Us(["get-cofig-allow-list",t],(function(){return Oa.getInstance().getConfigAllowlist(t).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}),{cacheTime:0,enabled:!!t&&!!e})}function lh(t){return Us(["get-black-list",t],(function(){return Oa.getInstance().getBlackListType(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{cacheTime:0,enabled:!!t})}function dh(t,e,n,r){var o;return Us(["post-black-list",t],(function(){return Oa.getInstance().postBlockList(t,null!=e?e:"",null!=n?n:0,null!=r?r:25).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{cacheTime:0,enabled:(null===(o=t[0])||void 0===o?void 0:o.length)>0&&null!==e,useErrorBoundary:!1})}function ph(t){return Us(["get-one-black-list",t],(function(){return Oa.getInstance().getOneBlackListType(t).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t})}function fh(t,e,n){return Us(["get-block-list-summary",t,e,n],(function(){var r=Oa.getInstance();return n?r.getBlackListSummary(t,e).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t})):Promise.resolve({})}),{enabled:!!t&&!!n})}function hh(t,e,n,r,o,i){return Us(["black-list-detail",t,e,r,o,i],(function(){return Oa.getInstance().getBlacklistDetail(t,e,n,r,o).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{enabled:!!t&&i,cacheTime:0})}function yh(t,e,n){return Us(["allow-list-detail",t],(function(){return Oa.getInstance().getAllowlistDetail(t,e).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}),{enabled:!!t&&!!n})}function gh(t){return Us(["query-post-get-allowlist-multi-account",JSON.stringify(t)],(function(){return Oa.getInstance().postGetAllowlist({payload:t}).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t}))}),{enabled:!!t,cacheTime:0})}function mh(t,r){var o=this;return void 0===t&&(t=26),void 0===r&&(r=0),Us(["batch-refunds",t,r],(function(){return e(o,void 0,void 0,(function(){return n(this,(function(e){return[2,Oa.getInstance().getBatchRefunds(t,r).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))]}))}))}),{cacheTime:0})}function vh(t){return Us(["velocity-rules",t],(function(){var e=Oa.getInstance();return t?e.getVelocityRules(t).then((function(t){return(null==t?void 0:t.data)||null})).catch((function(t){return t})):Promise.resolve({})}),{enabled:!!t,keepPreviousData:!0})}function bh(){return Us(["config-rules"],(function(){return Oa.getInstance().getAllConfigRules().then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{cacheTime:0})}function Eh(t,e){var n=t.organizationCode;return Us(["mfa-excluded-users",n],(function(){return Oa.getInstance().getMFAExcludedUsers({organizationCode:n}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{cacheTime:0,enabled:e})}function Ch(t,e){var n=t.organizationCode;return Us(["mfa-config",n],(function(){return Oa.getInstance().getMFAConfig({organizationCode:n}).then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{cacheTime:0,enabled:e})}function kh(t,e){return Us(["mfa-enforcement-status",t.accountCode],(function(){return Oa.getInstance().getMFAEnforcementStatus().then((function(t){return null==t?void 0:t.data})).catch((function(t){return t}))}),{cacheTime:0,enabled:e})}function _h(t){return Us(["fetch-organization-saml-config",t],(function(){return Oa.getInstance().getSamlConfig().then((function(t){return t.data}))}),{cacheTime:0,enabled:!!t,useErrorBoundary:!1})}function wh(){return wh=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},wh.apply(this,arguments)}
18
11
  /**
19
12
  * match-sorter-utils
20
13
  *
@@ -24,12 +17,12 @@ import{__spreadArray as e,__awaiter as t,__generator as n,__extends as o,__assig
24
17
  * LICENSE.md file in the root directory of this source tree.
25
18
  *
26
19
  * @license MIT
27
- */const Ev={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Ấ":"A","Ắ":"A","Ẳ":"A","Ẵ":"A","Ặ":"A","Æ":"AE","Ầ":"A","Ằ":"A","Ȃ":"A","Ç":"C","Ḉ":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ế":"E","Ḗ":"E","Ề":"E","Ḕ":"E","Ḝ":"E","Ȇ":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ḯ":"I","Ȋ":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ố":"O","Ṍ":"O","Ṓ":"O","Ȏ":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","ấ":"a","ắ":"a","ẳ":"a","ẵ":"a","ặ":"a","æ":"ae","ầ":"a","ằ":"a","ȃ":"a","ç":"c","ḉ":"c","è":"e","é":"e","ê":"e","ë":"e","ế":"e","ḗ":"e","ề":"e","ḕ":"e","ḝ":"e","ȇ":"e","ì":"i","í":"i","î":"i","ï":"i","ḯ":"i","ȋ":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ố":"o","ṍ":"o","ṓ":"o","ȏ":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","C̆":"C","c̆":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","Ǵ":"G","ĝ":"g","ǵ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ḫ":"H","ḫ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ḱ":"K","ḱ":"k","K̆":"K","k̆":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ḿ":"M","ḿ":"m","M̆":"M","m̆":"m","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","N̆":"N","n̆":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","P̆":"P","p̆":"p","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","R̆":"R","r̆":"r","Ȓ":"R","ȓ":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","Ș":"S","ș":"s","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","ț":"t","Ț":"T","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","T̆":"T","t̆":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ȗ":"U","ȗ":"u","V̆":"V","v̆":"v","Ŵ":"W","ŵ":"w","Ẃ":"W","ẃ":"w","X̆":"X","x̆":"x","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Y̆":"Y","y̆":"y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ứ":"U","ứ":"u","Ṹ":"U","ṹ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o","Þ":"TH","þ":"th","Ṕ":"P","ṕ":"p","Ṥ":"S","ṥ":"s","X́":"X","x́":"x","Ѓ":"Г","ѓ":"г","Ќ":"К","ќ":"к","A̋":"A","a̋":"a","E̋":"E","e̋":"e","I̋":"I","i̋":"i","Ǹ":"N","ǹ":"n","Ồ":"O","ồ":"o","Ṑ":"O","ṑ":"o","Ừ":"U","ừ":"u","Ẁ":"W","ẁ":"w","Ỳ":"Y","ỳ":"y","Ȁ":"A","ȁ":"a","Ȅ":"E","ȅ":"e","Ȉ":"I","ȉ":"i","Ȍ":"O","ȍ":"o","Ȑ":"R","ȑ":"r","Ȕ":"U","ȕ":"u","B̌":"B","b̌":"b","Č̣":"C","č̣":"c","Ê̌":"E","ê̌":"e","F̌":"F","f̌":"f","Ǧ":"G","ǧ":"g","Ȟ":"H","ȟ":"h","J̌":"J","ǰ":"j","Ǩ":"K","ǩ":"k","M̌":"M","m̌":"m","P̌":"P","p̌":"p","Q̌":"Q","q̌":"q","Ř̩":"R","ř̩":"r","Ṧ":"S","ṧ":"s","V̌":"V","v̌":"v","W̌":"W","w̌":"w","X̌":"X","x̌":"x","Y̌":"Y","y̌":"y","A̧":"A","a̧":"a","B̧":"B","b̧":"b","Ḑ":"D","ḑ":"d","Ȩ":"E","ȩ":"e","Ɛ̧":"E","ɛ̧":"e","Ḩ":"H","ḩ":"h","I̧":"I","i̧":"i","Ɨ̧":"I","ɨ̧":"i","M̧":"M","m̧":"m","O̧":"O","o̧":"o","Q̧":"Q","q̧":"q","U̧":"U","u̧":"u","X̧":"X","x̧":"x","Z̧":"Z","z̧":"z"},_v=Object.keys(Ev).join("|"),Sv=new RegExp(_v,"g");
20
+ */const Sh={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Ấ":"A","Ắ":"A","Ẳ":"A","Ẵ":"A","Ặ":"A","Æ":"AE","Ầ":"A","Ằ":"A","Ȃ":"A","Ç":"C","Ḉ":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ế":"E","Ḗ":"E","Ề":"E","Ḕ":"E","Ḝ":"E","Ȇ":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ḯ":"I","Ȋ":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ố":"O","Ṍ":"O","Ṓ":"O","Ȏ":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","ấ":"a","ắ":"a","ẳ":"a","ẵ":"a","ặ":"a","æ":"ae","ầ":"a","ằ":"a","ȃ":"a","ç":"c","ḉ":"c","è":"e","é":"e","ê":"e","ë":"e","ế":"e","ḗ":"e","ề":"e","ḕ":"e","ḝ":"e","ȇ":"e","ì":"i","í":"i","î":"i","ï":"i","ḯ":"i","ȋ":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ố":"o","ṍ":"o","ṓ":"o","ȏ":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","C̆":"C","c̆":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","Ǵ":"G","ĝ":"g","ǵ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ḫ":"H","ḫ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ḱ":"K","ḱ":"k","K̆":"K","k̆":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ḿ":"M","ḿ":"m","M̆":"M","m̆":"m","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","N̆":"N","n̆":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","P̆":"P","p̆":"p","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","R̆":"R","r̆":"r","Ȓ":"R","ȓ":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","Ș":"S","ș":"s","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","ț":"t","Ț":"T","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","T̆":"T","t̆":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ȗ":"U","ȗ":"u","V̆":"V","v̆":"v","Ŵ":"W","ŵ":"w","Ẃ":"W","ẃ":"w","X̆":"X","x̆":"x","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Y̆":"Y","y̆":"y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ứ":"U","ứ":"u","Ṹ":"U","ṹ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o","Þ":"TH","þ":"th","Ṕ":"P","ṕ":"p","Ṥ":"S","ṥ":"s","X́":"X","x́":"x","Ѓ":"Г","ѓ":"г","Ќ":"К","ќ":"к","A̋":"A","a̋":"a","E̋":"E","e̋":"e","I̋":"I","i̋":"i","Ǹ":"N","ǹ":"n","Ồ":"O","ồ":"o","Ṑ":"O","ṑ":"o","Ừ":"U","ừ":"u","Ẁ":"W","ẁ":"w","Ỳ":"Y","ỳ":"y","Ȁ":"A","ȁ":"a","Ȅ":"E","ȅ":"e","Ȉ":"I","ȉ":"i","Ȍ":"O","ȍ":"o","Ȑ":"R","ȑ":"r","Ȕ":"U","ȕ":"u","B̌":"B","b̌":"b","Č̣":"C","č̣":"c","Ê̌":"E","ê̌":"e","F̌":"F","f̌":"f","Ǧ":"G","ǧ":"g","Ȟ":"H","ȟ":"h","J̌":"J","ǰ":"j","Ǩ":"K","ǩ":"k","M̌":"M","m̌":"m","P̌":"P","p̌":"p","Q̌":"Q","q̌":"q","Ř̩":"R","ř̩":"r","Ṧ":"S","ṧ":"s","V̌":"V","v̌":"v","W̌":"W","w̌":"w","X̌":"X","x̌":"x","Y̌":"Y","y̌":"y","A̧":"A","a̧":"a","B̧":"B","b̧":"b","Ḑ":"D","ḑ":"d","Ȩ":"E","ȩ":"e","Ɛ̧":"E","ɛ̧":"e","Ḩ":"H","ḩ":"h","I̧":"I","i̧":"i","Ɨ̧":"I","ɨ̧":"i","M̧":"M","m̧":"m","O̧":"O","o̧":"o","Q̧":"Q","q̧":"q","U̧":"U","u̧":"u","X̧":"X","x̧":"x","Z̧":"Z","z̧":"z"},Rh=Object.keys(Sh).join("|"),Ih=new RegExp(Rh,"g");
28
21
  /**
29
22
  * @name match-sorter
30
23
  * @license MIT license.
31
24
  * @copyright (c) 2099 Kent C. Dodds
32
25
  * @author Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)
33
26
  */
34
- const Rv=7,Iv=6,Tv=5,Av=4,Ov=3,Pv=2,Dv=1,jv=0;function Lv(e,t,n){var o;if((n=n||{}).threshold=null!=(o=n.threshold)?o:Dv,!n.accessors){const o=Nv(e,t,n);return{rankedValue:e,rank:o,accessorIndex:-1,accessorThreshold:n.threshold,passed:o>=n.threshold}}const a=function(e,t){const n=[];for(let o=0,a=t.length;o<a;o++){const a=t[o],i=zv(a),r=Bv(e,a);for(let e=0,t=r.length;e<t;e++)n.push({itemValue:r[e],attributes:i})}return n}(e,n.accessors),i={rankedValue:e,rank:jv,accessorIndex:-1,accessorThreshold:n.threshold,passed:!1};for(let e=0;e<a.length;e++){const o=a[e];let r=Nv(o.itemValue,t,n);const{minRanking:s,maxRanking:c,threshold:u=n.threshold}=o.attributes;r<s&&r>=Dv?r=s:r>c&&(r=c),r=Math.min(r,c),r>=u&&r>i.rank&&(i.rank=r,i.passed=!0,i.accessorIndex=e,i.accessorThreshold=u,i.rankedValue=o.itemValue)}return i}function Nv(e,t,n){return e=Fv(e,n),(t=Fv(t,n)).length>e.length?jv:e===t?Rv:(e=e.toLowerCase())===(t=t.toLowerCase())?Iv:e.startsWith(t)?Tv:e.includes(` ${t}`)?Av:e.includes(t)?Ov:1===t.length?jv:function(e){let t="";return e.split(" ").forEach((e=>{e.split("-").forEach((e=>{t+=e.substr(0,1)}))})),t}(e).includes(t)?Pv:function(e,t){let n=0,o=0;function a(e,t,o){for(let a=o,i=t.length;a<i;a++){if(t[a]===e)return n+=1,a+1}return-1}function i(e){const o=1/e,a=n/t.length;return Dv+a*o}const r=a(t[0],e,0);if(r<0)return jv;o=r;for(let n=1,i=t.length;n<i;n++){o=a(t[n],e,o);if(!(o>-1))return jv}const s=o-r;return i(s)}(e,t)}function Fv(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=e.replace(Sv,(e=>Ev[e]))),e}function Bv(e,t){let n=t;"object"==typeof t&&(n=t.accessor);const o=n(e);return null==o?[]:Array.isArray(o)?o:[String(o)]}const Mv={maxRanking:1/0,minRanking:-1/0};function zv(e){return"function"==typeof e?Mv:{...Mv,...e}}function Uv(e,t){const[n,o]=C.useState();C.useEffect((()=>{const n=(e=>{try{const t=localStorage.getItem(e);return"string"==typeof t?JSON.parse(t):void 0}catch{return}})(e);o(null==n?"function"==typeof t?t():t:n)}),[t,e]);return[n,C.useCallback((t=>{o((n=>{let o=t;"function"==typeof t&&(o=t(n));try{localStorage.setItem(e,JSON.stringify(o))}catch{}return o}))}),[e])]}var qv,Vv=function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)},e.prototype.getByKey=function(e){return this.keyToValue.get(e)},e.prototype.getByValue=function(e){return this.valueToKey.get(e)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e}(),Gv=function(){function e(e){this.generateIdentifier=e,this.kv=new Vv}return e.prototype.register=function(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(e){return this.kv.getByValue(e)},e.prototype.getValue=function(e){return this.kv.getByKey(e)},e}(),Kv=(qv=function(e,t){return qv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},qv(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}qv(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Wv=function(e){function t(){var t=e.call(this,(function(e){return e.name}))||this;return t.classToAllowedProps=new Map,t}return Kv(t,e),t.prototype.register=function(t,n){"object"==typeof n?(n.allowProps&&this.classToAllowedProps.set(t,n.allowProps),e.prototype.register.call(this,t,n.identifier)):e.prototype.register.call(this,t,n)},t.prototype.getAllowedProps=function(e){return this.classToAllowedProps.get(e)},t}(Gv),Qv=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return r};function Hv(e,t){var n=function(e){if("values"in Object)return Object.values(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}(e);if("find"in n)return n.find(t);for(var o=n,a=0;a<o.length;a++){var i=o[a];if(t(i))return i}}function Jv(e,t){Object.entries(e).forEach((function(e){var n=Qv(e,2),o=n[0],a=n[1];return t(a,o)}))}function Yv(e,t){return-1!==e.indexOf(t)}function $v(e,t){for(var n=0;n<e.length;n++){var o=e[n];if(t(o))return o}}var Xv=function(){function e(){this.transfomers={}}return e.prototype.register=function(e){this.transfomers[e.name]=e},e.prototype.findApplicable=function(e){return Hv(this.transfomers,(function(t){return t.isApplicable(e)}))},e.prototype.findByName=function(e){return this.transfomers[e]},e}(),Zv=function(e){return void 0===e},ey=function(e){return"object"==typeof e&&null!==e&&(e!==Object.prototype&&(null===Object.getPrototypeOf(e)||Object.getPrototypeOf(e)===Object.prototype))},ty=function(e){return ey(e)&&0===Object.keys(e).length},ny=function(e){return Array.isArray(e)},oy=function(e){return e instanceof Map},ay=function(e){return e instanceof Set},iy=function(e){return"Symbol"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)},ry=function(e){return"number"==typeof e&&isNaN(e)},sy=function(e){return function(e){return"boolean"==typeof e}(e)||function(e){return null===e}(e)||Zv(e)||function(e){return"number"==typeof e&&!isNaN(e)}(e)||function(e){return"string"==typeof e}(e)||iy(e)},cy=function(e){return e.replace(/\./g,"\\.")},uy=function(e){return e.map(String).map(cy).join(".")},ly=function(e){for(var t=[],n="",o=0;o<e.length;o++){var a=e.charAt(o);if("\\"===a&&"."===e.charAt(o+1))n+=".",o++;else"."===a?(t.push(n),n=""):n+=a}var i=n;return t.push(i),t},py=function(){return py=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},py.apply(this,arguments)},dy=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return r},fy=function(e,t){for(var n=0,o=t.length,a=e.length;n<o;n++,a++)e[a]=t[n];return e};function my(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var hy=[my(Zv,"undefined",(function(){return null}),(function(){})),my((function(e){return"bigint"==typeof e}),"bigint",(function(e){return e.toString()}),(function(e){return"undefined"!=typeof BigInt?BigInt(e):(console.error("Please add a BigInt polyfill."),e)})),my((function(e){return e instanceof Date&&!isNaN(e.valueOf())}),"Date",(function(e){return e.toISOString()}),(function(e){return new Date(e)})),my((function(e){return e instanceof Error}),"Error",(function(e,t){var n={name:e.name,message:e.message};return t.allowedErrorProps.forEach((function(t){n[t]=e[t]})),n}),(function(e,t){var n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach((function(t){n[t]=e[t]})),n})),my((function(e){return e instanceof RegExp}),"regexp",(function(e){return""+e}),(function(e){var t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)})),my(ay,"set",(function(e){return fy([],dy(e.values()))}),(function(e){return new Set(e)})),my(oy,"map",(function(e){return fy([],dy(e.entries()))}),(function(e){return new Map(e)})),my((function(e){return ry(e)||((t=e)===1/0||t===-1/0);var t}),"number",(function(e){return ry(e)?"NaN":e>0?"Infinity":"-Infinity"}),Number),my((function(e){return 0===e&&1/e==-1/0}),"number",(function(){return"-0"}),Number),my((function(e){return e instanceof URL}),"URL",(function(e){return e.toString()}),(function(e){return new URL(e)}))];function vy(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var yy=vy((function(e,t){return!!iy(e)&&!!t.symbolRegistry.getIdentifier(e)}),(function(e,t){return["symbol",t.symbolRegistry.getIdentifier(e)]}),(function(e){return e.description}),(function(e,t,n){var o=n.symbolRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown symbol");return o})),gy=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((function(e,t){return e[t.name]=t,e}),{}),by=vy((function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}),(function(e){return["typed-array",e.constructor.name]}),(function(e){return fy([],dy(e))}),(function(e,t){var n=gy[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)}));function xy(e,t){return!!(null==e?void 0:e.constructor)&&!!t.classRegistry.getIdentifier(e.constructor)}var ky=vy(xy,(function(e,t){return["class",t.classRegistry.getIdentifier(e.constructor)]}),(function(e,t){var n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return py({},e);var o={};return n.forEach((function(t){o[t]=e[t]})),o}),(function(e,t,n){var o=n.classRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(o.prototype),e)})),wy=vy((function(e,t){return!!t.customTransformerRegistry.findApplicable(e)}),(function(e,t){return["custom",t.customTransformerRegistry.findApplicable(e).name]}),(function(e,t){return t.customTransformerRegistry.findApplicable(e).serialize(e)}),(function(e,t,n){var o=n.customTransformerRegistry.findByName(t[1]);if(!o)throw new Error("Trying to deserialize unknown custom value");return o.deserialize(e)})),Cy=[ky,yy,wy,by],Ey=function(e,t){var n=$v(Cy,(function(n){return n.isApplicable(e,t)}));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var o=$v(hy,(function(n){return n.isApplicable(e,t)}));return o?{value:o.transform(e,t),type:o.annotation}:void 0},_y={};hy.forEach((function(e){_y[e.annotation]=e}));var Sy=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function Ry(e){if(Yv(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Yv(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Yv(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Iy=function(e,t,n){if(Ry(t),0===t.length)return n(e);for(var o=e,a=0;a<t.length-1;a++){var i=t[a];if(ny(o))o=o[+i];else if(ey(o))o=o[i];else if(ay(o)){o=Sy(o,r=+i)}else if(oy(o)){if(a===t.length-2)break;var r=+i,s=0==+t[++a]?"key":"value",c=Sy(o,r);switch(s){case"key":o=c;break;case"value":o=o.get(c)}}}var u=t[t.length-1];if(ny(o)?o[+u]=n(o[+u]):ey(o)&&(o[u]=n(o[u])),ay(o)){var l=Sy(o,+u),p=n(l);l!==p&&(o.delete(l),o.add(p))}if(oy(o)){r=+t[t.length-2];var d=Sy(o,r);switch(s=0==+u?"key":"value"){case"key":var f=n(d);o.set(f,o.get(d)),f!==d&&o.delete(d);break;case"value":o.set(d,n(o.get(d)))}}return e},Ty=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return r},Ay=function(e,t){for(var n=0,o=t.length,a=e.length;n<o;n++,a++)e[a]=t[n];return e};function Oy(e,t,n){if(void 0===n&&(n=[]),e)if(ny(e)){var o=Ty(e,2),a=o[0],i=o[1];i&&Jv(i,(function(e,o){Oy(e,t,Ay(Ay([],Ty(n)),Ty(ly(o))))})),t(a,n)}else Jv(e,(function(e,o){return Oy(e,t,Ay(Ay([],Ty(n)),Ty(ly(o))))}))}function Py(e,t,n){return Oy(t,(function(t,o){e=Iy(e,o,(function(e){return function(e,t,n){if(!ny(t)){var o=_y[t];if(!o)throw new Error("Unknown transformation: "+t);return o.untransform(e,n)}switch(t[0]){case"symbol":return yy.untransform(e,t,n);case"class":return ky.untransform(e,t,n);case"custom":return wy.untransform(e,t,n);case"typed-array":return by.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}}(e,t,n)}))})),e}function Dy(e,t){function n(t,n){var o=function(e,t){Ry(t);for(var n=0;n<t.length;n++){var o=t[n];if(ay(e))e=Sy(e,+o);else if(oy(e)){var a=+o,i=0==+t[++n]?"key":"value",r=Sy(e,a);switch(i){case"key":e=r;break;case"value":e=e.get(r)}}else e=e[o]}return e}(e,ly(n));t.map(ly).forEach((function(t){e=Iy(e,t,(function(){return o}))}))}if(ny(t)){var o=Ty(t,2),a=o[0],i=o[1];a.forEach((function(t){e=Iy(e,ly(t),(function(){return e}))})),i&&Jv(i,n)}else Jv(t,n);return e}var jy=function(e,t,n,o,a,i,r){var s;void 0===a&&(a=[]),void 0===i&&(i=[]),void 0===r&&(r=new Map);var c=sy(e);if(!c){!function(e,t,n){var o=n.get(e);o?o.push(t):n.set(e,[t])}(e,a,t);var u=r.get(e);if(u)return o?{transformedValue:null}:u}if(!function(e,t){return ey(e)||ny(e)||oy(e)||ay(e)||xy(e,t)}(e,n)){var l=Ey(e,n),p=l?{transformedValue:l.value,annotations:[l.type]}:{transformedValue:e};return c||r.set(e,p),p}if(Yv(i,e))return{transformedValue:null};var d=Ey(e,n),f=null!==(s=null==d?void 0:d.value)&&void 0!==s?s:e,m=ny(f)?[]:{},h={};Jv(f,(function(s,c){var u=jy(s,t,n,o,Ay(Ay([],Ty(a)),[c]),Ay(Ay([],Ty(i)),[e]),r);m[c]=u.transformedValue,ny(u.annotations)?h[c]=u.annotations:ey(u.annotations)&&Jv(u.annotations,(function(e,t){h[cy(c)+"."+t]=e}))}));var v=ty(h)?{transformedValue:m,annotations:d?[d.type]:void 0}:{transformedValue:m,annotations:d?[d.type,h]:h};return c||r.set(e,v),v};function Ly(e){return Object.prototype.toString.call(e).slice(8,-1)}function Ny(e){return"Array"===Ly(e)}function Fy(e,t={}){if(Ny(e))return e.map((e=>Fy(e,t)));if(!function(e){if("Object"!==Ly(e))return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}(e))return e;return[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)].reduce(((n,o)=>{if(Ny(t.props)&&!t.props.includes(o))return n;return function(e,t,n,o,a){const i={}.propertyIsEnumerable.call(o,t)?"enumerable":"nonenumerable";"enumerable"===i&&(e[t]=n),a&&"nonenumerable"===i&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}(n,o,Fy(e[o],t),e,t.nonenumerable),n}),{})}var By=function(){return By=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},By.apply(this,arguments)},My=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return r},zy=function(e,t){for(var n=0,o=t.length,a=e.length;n<o;n++,a++)e[a]=t[n];return e},Uy=function(){function e(e){var t=(void 0===e?{}:e).dedupe,n=void 0!==t&&t;this.classRegistry=new Wv,this.symbolRegistry=new Gv((function(e){var t;return null!==(t=e.description)&&void 0!==t?t:""})),this.customTransformerRegistry=new Xv,this.allowedErrorProps=[],this.dedupe=n}return e.prototype.serialize=function(e){var t=new Map,n=jy(e,t,this,this.dedupe),o={json:n.transformedValue};n.annotations&&(o.meta=By(By({},o.meta),{values:n.annotations}));var a,i,r,s,c=(a=t,i=this.dedupe,r={},s=void 0,a.forEach((function(e){if(!(e.length<=1)){i||(e=e.map((function(e){return e.map(String)})).sort((function(e,t){return e.length-t.length})));var t=Ty(e),n=t[0],o=t.slice(1);0===n.length?s=o.map(uy):r[uy(n)]=o.map(uy)}})),s?ty(r)?[s]:[s,r]:ty(r)?void 0:r);return c&&(o.meta=By(By({},o.meta),{referentialEqualities:c})),o},e.prototype.deserialize=function(e){var t=e.json,n=e.meta,o=Fy(t);return(null==n?void 0:n.values)&&(o=Py(o,n.values,this)),(null==n?void 0:n.referentialEqualities)&&(o=Dy(o,n.referentialEqualities)),o},e.prototype.stringify=function(e){return JSON.stringify(this.serialize(e))},e.prototype.parse=function(e){return this.deserialize(JSON.parse(e))},e.prototype.registerClass=function(e,t){this.classRegistry.register(e,t)},e.prototype.registerSymbol=function(e,t){this.symbolRegistry.register(e,t)},e.prototype.registerCustom=function(e,t){this.customTransformerRegistry.register(By({name:t},e))},e.prototype.allowErrorProps=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];(e=this.allowedErrorProps).push.apply(e,zy([],My(t)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e}();const qy={background:"#0b1521",backgroundAlt:"#132337",foreground:"white",gray:"#3f4e60",grayAlt:"#222e3e",inputBackgroundColor:"#fff",inputTextColor:"#000",success:"#00ab52",danger:"#ff0085",active:"#006bff",paused:"#8c49eb",warning:"#ffb200"},Vy=C.createContext(qy);function Gy({theme:e,...t}){return C.createElement(Vy.Provider,Cv({value:e},t))}function Ky({queryState:e,observerCount:t,isStale:n,theme:o}){return"fetching"===e.fetchStatus?o.active:t?"paused"===e.fetchStatus?o.paused:n?o.warning:o.success:o.gray}function Wy(e){return"fetching"===e.state.fetchStatus?"fetching":e.getObserversCount()?"paused"===e.state.fetchStatus?"paused":e.isStale()?"stale":"fresh":"inactive"}function Qy(e,t,n={}){return C.forwardRef((({style:o,...a},i)=>{const r=C.useContext(Vy),s=Object.entries(n).reduce(((e,[t,n])=>function(e){const[t,n]=C.useState((()=>{if("undefined"!=typeof window)return window.matchMedia(e).matches}));return C.useEffect((()=>{if("undefined"!=typeof window){const t=window.matchMedia(e),o=({matches:e})=>n(e);return t.addListener(o),()=>{t.removeListener(o)}}}),[t,e,n]),t}(t)?{...e,..."function"==typeof n?n(a,r):n}:e),{});return C.createElement(e,{...a,style:{..."function"==typeof t?t(a,r):t,...o,...s},ref:i})}))}const Hy=(e,t=!1)=>{const{json:n}=Uy.serialize(e);return JSON.stringify(n,null,t?2:void 0)},Jy=e=>"idle"!==e.state.fetchStatus?0:e.getObserversCount()?e.isStale()?2:1:3,Yy=(e,t)=>e.state.dataUpdatedAt<t.state.dataUpdatedAt?1:-1,$y={"Status > Last Updated":(e,t)=>Jy(e)===Jy(t)?Yy(e,t):Jy(e)>Jy(t)?1:-1,"Query Hash":(e,t)=>e.queryHash.localeCompare(t.queryHash),"Last Updated":Yy},Xy=500,Zy={top:"bottom",bottom:"top",left:"right",right:"left"};function eg(e){return["left","right"].includes(e)}function tg(e){return Zy[e]}function ng(e,t){return""+e+(t.charAt(0).toUpperCase()+t.slice(1))}function og(e="bottom"){const t=eg(e),n=tg(e),o=ng("margin",n);return{position:"absolute",cursor:t?"col-resize":"row-resize",zIndex:1e5,[n]:0,[o]:"-4px",...t?{top:0,height:"100%",width:"4px"}:{width:"100%",height:"4px"}}}const ag=Qy("div",((e,t)=>({fontSize:"clamp(12px, 1.5vw, 14px)",fontFamily:"sans-serif",display:"flex",backgroundColor:t.background,color:t.foreground})),{"(max-width: 700px)":{flexDirection:"column"},"(max-width: 600px)":{fontSize:".9em"}}),ig=Qy("div",(()=>({flex:"1 1 500px",display:"flex",flexDirection:"column",overflow:"auto",height:"100%"})),{"(max-width: 700px)":(e,t)=>({borderTop:"2px solid "+t.gray})}),rg=Qy("button",((e,t)=>({appearance:"none",fontSize:".9em",fontWeight:"bold",background:t.gray,border:"0",borderRadius:".3em",color:"white",padding:".5em",opacity:e.disabled?".5":void 0,cursor:"pointer"}))),sg=Qy("span",{display:"flex",flexWrap:"wrap",gap:"0.5em",fontSize:"0.9em"}),cg=Qy("span",{display:"inline-flex",alignItems:"center",padding:".2em .4em",fontWeight:"bold",textShadow:"0 0 10px black",borderRadius:".2em"}),ug=Qy("code",{fontSize:".9em",color:"inherit",background:"inherit"}),lg=Qy("input",((e,t)=>({backgroundColor:t.inputBackgroundColor,border:0,borderRadius:".2em",color:t.inputTextColor,fontSize:".9em",lineHeight:"1.3",padding:".3em .4em"}))),pg=Qy("select",((e,t)=>({display:"inline-block",fontSize:".9em",fontFamily:"sans-serif",fontWeight:"normal",lineHeight:"1.3",padding:".3em 1.5em .3em .5em",height:"auto",border:0,borderRadius:".2em",appearance:"none",WebkitAppearance:"none",backgroundColor:t.inputBackgroundColor,backgroundImage:"url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23444444'><polygon points='0,25 100,25 50,75'/></svg>\")",backgroundRepeat:"no-repeat",backgroundPosition:"right .55em center",backgroundSize:".65em auto, 100%",color:t.inputTextColor})),{"(max-width: 500px)":{display:"none"}});function dg({text:e}){return C.createElement("span",{style:{position:"absolute",width:"0.1px",height:"0.1px",overflow:"hidden"}},e)}const fg=Qy("div",{fontFamily:"Menlo, monospace",fontSize:"1em",lineHeight:"1.7",outline:"none",wordBreak:"break-word"}),mg=Qy("span",{color:"white"}),hg=Qy("button",{cursor:"pointer",color:"white"}),vg=Qy("button",{cursor:"pointer",color:"inherit",font:"inherit",outline:"inherit",background:"transparent",border:"none",padding:0}),yg=({value:e})=>{const[t,n]=C.useState("NoCopy");return C.createElement("button",{onClick:"NoCopy"===t?()=>{navigator.clipboard.writeText(Uy.stringify(e)).then((()=>{n("SuccessCopy"),setTimeout((()=>{n("NoCopy")}),1500)}),(e=>{console.error("Failed to copy: ",e),n("ErrorCopy"),setTimeout((()=>{n("NoCopy")}),1500)}))}:void 0,style:{cursor:"pointer",color:"inherit",font:"inherit",outline:"inherit",background:"transparent",border:"none",padding:0}},"NoCopy"===t?C.createElement(wg,null):"SuccessCopy"===t?C.createElement(Eg,null):C.createElement(Cg,null))},gg=Qy("span",((e,t)=>({color:t.danger}))),bg=Qy("div",{marginLeft:".1em",paddingLeft:"1em",borderLeft:"2px solid rgba(0,0,0,.15)"}),xg=Qy("span",{color:"grey",fontSize:".7em"}),kg=({expanded:e,style:t={}})=>C.createElement("span",{style:{display:"inline-block",transition:"all .1s ease",transform:"rotate("+(e?90:0)+"deg) "+(t.transform||""),...t}},"▶"),wg=()=>C.createElement("span",{"aria-label":"Copy object to clipboard",title:"Copy object to clipboard",style:{paddingLeft:"1em"}},C.createElement("svg",{height:"12",viewBox:"0 0 16 12",width:"10"},C.createElement("path",{fill:"currentColor",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"}),C.createElement("path",{fill:"currentColor",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"}))),Cg=()=>C.createElement("span",{"aria-label":"Failed copying to clipboard",title:"Failed copying to clipboard",style:{paddingLeft:"1em",display:"flex",alignItems:"center"}},C.createElement("svg",{height:"12",viewBox:"0 0 16 12",width:"10",display:"block"},C.createElement("path",{fill:"red",d:"M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"})),C.createElement("span",{style:{color:"red",fontSize:"12px",paddingLeft:"4px",position:"relative",top:"2px"}},"See console")),Eg=()=>C.createElement("span",{"aria-label":"Object copied to clipboard",title:"Object copied to clipboard",style:{paddingLeft:"1em",display:"inline-block",verticalAlign:"middle"}},C.createElement("svg",{height:"16",viewBox:"0 0 16 16",width:"16",display:"block"},C.createElement("path",{fill:"green",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"})));const _g=({handleEntry:e,label:t,value:n,subEntries:o=[],subEntryPages:a=[],type:i,expanded:r=!1,copyable:s=!1,toggleExpanded:c,pageSize:u})=>{const[l,p]=C.useState([]);return C.createElement(fg,{key:t},a.length?C.createElement(C.Fragment,null,C.createElement(vg,{onClick:()=>c()},C.createElement(kg,{expanded:r})," ",t," ",C.createElement(xg,null,"iterable"===String(i).toLowerCase()?"(Iterable) ":"",o.length," ",o.length>1?"items":"item")),s?C.createElement(yg,{value:n}):null,r?1===a.length?C.createElement(bg,null,o.map(e)):C.createElement(bg,null,a.map(((t,n)=>C.createElement("div",{key:n},C.createElement(fg,null,C.createElement(hg,{onClick:()=>p((e=>e.includes(n)?e.filter((e=>e!==n)):[...e,n]))},C.createElement(kg,{expanded:r})," [",n*u," ..."," ",n*u+u-1,"]"),l.includes(n)?C.createElement(bg,null,t.map(e)):null))))):null):C.createElement(C.Fragment,null,C.createElement(mg,null,t,":")," ",C.createElement(gg,null,Hy(n))))};function Sg({value:e,defaultExpanded:t,renderer:n=_g,pageSize:o=100,copyable:a=!1,...i}){const[r,s]=C.useState(Boolean(t)),c=C.useCallback((()=>s((e=>!e))),[]);let u=typeof e,l=[];const p=e=>{const n=!0===t?{[e.label]:!0}:null==t?void 0:t[e.label];return{...e,defaultExpanded:n}};var d;Array.isArray(e)?(u="array",l=e.map(((e,t)=>p({label:t.toString(),value:e})))):null!==e&&"object"==typeof e&&(d=e,Symbol.iterator in d)&&"function"==typeof e[Symbol.iterator]?(u="Iterable",l=Array.from(e,((e,t)=>p({label:t.toString(),value:e})))):"object"==typeof e&&null!==e&&(u="object",l=Object.entries(e).map((([e,t])=>p({label:e,value:t}))));const f=function(e,t){if(t<1)return[];let n=0;const o=[];for(;n<e.length;)o.push(e.slice(n,n+t)),n+=t;return o}(l,o);return n({handleEntry:t=>C.createElement(Sg,Cv({key:t.label,value:e,renderer:n,copyable:a},i,t)),type:u,subEntries:l,subEntryPages:f,value:e,expanded:r,copyable:a,toggleExpanded:c,pageSize:o,...i})}function Rg(e){return C.createElement("svg",Cv({width:"40px",height:"40px",viewBox:"0 0 190 190",version:"1.1"},e),C.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},C.createElement("g",{transform:"translate(-33.000000, 0.000000)"},C.createElement("path",{d:"M72.7239712,61.3436237 C69.631224,46.362877 68.9675112,34.8727722 70.9666331,26.5293551 C72.1555965,21.5671678 74.3293088,17.5190846 77.6346064,14.5984631 C81.1241394,11.5150478 85.5360327,10.0020122 90.493257,10.0020122 C98.6712013,10.0020122 107.26826,13.7273214 116.455725,20.8044264 C120.20312,23.6910458 124.092437,27.170411 128.131651,31.2444746 C128.45314,30.8310265 128.816542,30.4410453 129.22143,30.0806152 C140.64098,19.9149716 150.255245,13.5989272 158.478408,11.1636507 C163.367899,9.715636 167.958526,9.57768202 172.138936,10.983031 C176.551631,12.4664684 180.06766,15.5329489 182.548314,19.8281091 C186.642288,26.9166735 187.721918,36.2310983 186.195595,47.7320243 C185.573451,52.4199112 184.50985,57.5263831 183.007094,63.0593153 C183.574045,63.1277086 184.142416,63.2532808 184.705041,63.4395297 C199.193932,68.2358678 209.453582,73.3937462 215.665021,79.2882839 C219.360669,82.7953831 221.773972,86.6998434 222.646365,91.0218204 C223.567176,95.5836746 222.669313,100.159332 220.191548,104.451297 C216.105211,111.529614 208.591643,117.11221 197.887587,121.534031 C193.589552,123.309539 188.726579,124.917559 183.293259,126.363748 C183.541176,126.92292 183.733521,127.516759 183.862138,128.139758 C186.954886,143.120505 187.618598,154.61061 185.619477,162.954027 C184.430513,167.916214 182.256801,171.964297 178.951503,174.884919 C175.46197,177.968334 171.050077,179.48137 166.092853,179.48137 C157.914908,179.48137 149.31785,175.756061 140.130385,168.678956 C136.343104,165.761613 132.410866,162.238839 128.325434,158.108619 C127.905075,158.765474 127.388968,159.376011 126.77857,159.919385 C115.35902,170.085028 105.744755,176.401073 97.5215915,178.836349 C92.6321009,180.284364 88.0414736,180.422318 83.8610636,179.016969 C79.4483686,177.533532 75.9323404,174.467051 73.4516862,170.171891 C69.3577116,163.083327 68.2780823,153.768902 69.8044053,142.267976 C70.449038,137.410634 71.56762,132.103898 73.1575891,126.339009 C72.5361041,126.276104 71.9120754,126.144816 71.2949591,125.940529 C56.8060684,121.144191 46.5464184,115.986312 40.3349789,110.091775 C36.6393312,106.584675 34.2260275,102.680215 33.3536352,98.3582381 C32.4328237,93.7963839 33.3306866,89.2207269 35.8084524,84.9287618 C39.8947886,77.8504443 47.4083565,72.2678481 58.1124133,67.8460273 C62.5385143,66.0176154 67.5637208,64.366822 73.1939394,62.8874674 C72.9933393,62.3969171 72.8349374,61.8811235 72.7239712,61.3436237 Z",fill:"#002C4B",fillRule:"nonzero",transform:"translate(128.000000, 95.000000) scale(-1, 1) translate(-128.000000, -95.000000) "}),C.createElement("path",{d:"M113.396882,64 L142.608177,64 C144.399254,64 146.053521,64.958025 146.944933,66.5115174 L161.577138,92.0115174 C162.461464,93.5526583 162.461464,95.4473417 161.577138,96.9884826 L146.944933,122.488483 C146.053521,124.041975 144.399254,125 142.608177,125 L113.396882,125 C111.605806,125 109.951539,124.041975 109.060126,122.488483 L94.4279211,96.9884826 C93.543596,95.4473417 93.543596,93.5526583 94.4279211,92.0115174 L109.060126,66.5115174 C109.951539,64.958025 111.605806,64 113.396882,64 Z M138.987827,70.2765273 C140.779849,70.2765273 142.434839,71.2355558 143.325899,72.7903404 L154.343038,92.0138131 C155.225607,93.5537825 155.225607,95.4462175 154.343038,96.9861869 L143.325899,116.20966 C142.434839,117.764444 140.779849,118.723473 138.987827,118.723473 L117.017233,118.723473 C115.225211,118.723473 113.570221,117.764444 112.67916,116.20966 L101.662022,96.9861869 C100.779452,95.4462175 100.779452,93.5537825 101.662022,92.0138131 L112.67916,72.7903404 C113.570221,71.2355558 115.225211,70.2765273 117.017233,70.2765273 L138.987827,70.2765273 Z M135.080648,77.1414791 L120.924411,77.1414791 C119.134228,77.1414791 117.480644,78.0985567 116.5889,79.6508285 L116.5889,79.6508285 L109.489217,92.0093494 C108.603232,93.5515958 108.603232,95.4484042 109.489217,96.9906506 L109.489217,96.9906506 L116.5889,109.349172 C117.480644,110.901443 119.134228,111.858521 120.924411,111.858521 L120.924411,111.858521 L135.080648,111.858521 C136.870831,111.858521 138.524416,110.901443 139.41616,109.349172 L139.41616,109.349172 L146.515843,96.9906506 C147.401828,95.4484042 147.401828,93.5515958 146.515843,92.0093494 L146.515843,92.0093494 L139.41616,79.6508285 C138.524416,78.0985567 136.870831,77.1414791 135.080648,77.1414791 L135.080648,77.1414791 Z M131.319186,83.7122186 C133.108028,83.7122186 134.760587,84.6678753 135.652827,86.2183156 L138.983552,92.0060969 C139.87203,93.5500005 139.87203,95.4499995 138.983552,96.9939031 L135.652827,102.781684 C134.760587,104.332125 133.108028,105.287781 131.319186,105.287781 L124.685874,105.287781 C122.897032,105.287781 121.244473,104.332125 120.352233,102.781684 L117.021508,96.9939031 C116.13303,95.4499995 116.13303,93.5500005 117.021508,92.0060969 L120.352233,86.2183156 C121.244473,84.6678753 122.897032,83.7122186 124.685874,83.7122186 L131.319186,83.7122186 Z M128.003794,90.1848875 C126.459294,90.1848875 125.034382,91.0072828 124.263005,92.3424437 C123.491732,93.6774232 123.491732,95.3225768 124.263005,96.6575563 C125.034382,97.9927172 126.459294,98.8151125 128.001266,98.8151125 L128.001266,98.8151125 C129.545766,98.8151125 130.970678,97.9927172 131.742055,96.6575563 C132.513327,95.3225768 132.513327,93.6774232 131.742055,92.3424437 C130.970678,91.0072828 129.545766,90.1848875 128.003794,90.1848875 L128.003794,90.1848875 Z M93,94.5009646 L100.767764,94.5009646",fill:"#FFD94C"}),C.createElement("path",{d:"M87.8601729,108.357758 C89.1715224,107.608286 90.8360246,108.074601 91.5779424,109.399303 L91.5779424,109.399303 L92.0525843,110.24352 C95.8563392,116.982993 99.8190116,123.380176 103.940602,129.435068 C108.807881,136.585427 114.28184,143.82411 120.362479,151.151115 C121.316878,152.30114 121.184944,154.011176 120.065686,154.997937 L120.065686,154.997937 L119.454208,155.534625 C99.3465389,173.103314 86.2778188,176.612552 80.2480482,166.062341 C74.3500652,155.742717 76.4844915,136.982888 86.6513274,109.782853 C86.876818,109.179582 87.3045861,108.675291 87.8601729,108.357758 Z M173.534177,129.041504 C174.986131,128.785177 176.375496,129.742138 176.65963,131.194242 L176.65963,131.194242 L176.812815,131.986376 C181.782365,157.995459 178.283348,171 166.315764,171 C154.609745,171 139.708724,159.909007 121.612702,137.727022 C121.211349,137.235047 120.994572,136.617371 121,135.981509 C121.013158,134.480686 122.235785,133.274651 123.730918,133.287756 L123.730918,133.287756 L124.684654,133.294531 C132.305698,133.335994 139.714387,133.071591 146.910723,132.501323 C155.409039,131.82788 164.283523,130.674607 173.534177,129.041504 Z M180.408726,73.8119663 C180.932139,72.4026903 182.508386,71.6634537 183.954581,72.149012 L183.954581,72.149012 L184.742552,72.4154854 C210.583763,81.217922 220.402356,90.8916805 214.198332,101.436761 C208.129904,111.751366 190.484347,119.260339 161.26166,123.963678 C160.613529,124.067994 159.948643,123.945969 159.382735,123.618843 C158.047025,122.846729 157.602046,121.158214 158.388848,119.847438 L158.388848,119.847438 L158.889328,119.0105 C162.877183,112.31633 166.481358,105.654262 169.701854,99.0242957 C173.50501,91.1948179 177.073967,82.7907081 180.408726,73.8119663 Z M94.7383398,66.0363218 C95.3864708,65.9320063 96.0513565,66.0540315 96.6172646,66.3811573 C97.9529754,67.153271 98.3979538,68.8417862 97.6111517,70.1525615 L97.6111517,70.1525615 L97.1106718,70.9895001 C93.1228168,77.6836699 89.5186416,84.3457379 86.2981462,90.9757043 C82.49499,98.8051821 78.9260328,107.209292 75.5912744,116.188034 C75.0678608,117.59731 73.4916142,118.336546 72.045419,117.850988 L72.045419,117.850988 L71.2574475,117.584515 C45.4162372,108.782078 35.597644,99.1083195 41.8016679,88.5632391 C47.8700957,78.2486335 65.515653,70.7396611 94.7383398,66.0363218 Z M136.545792,34.4653746 C156.653461,16.8966864 169.722181,13.3874478 175.751952,23.9376587 C181.649935,34.2572826 179.515508,53.0171122 169.348673,80.2171474 C169.123182,80.8204179 168.695414,81.324709 168.139827,81.6422422 C166.828478,82.3917144 165.163975,81.9253986 164.422058,80.6006966 L164.422058,80.6006966 L163.947416,79.7564798 C160.143661,73.0170065 156.180988,66.6198239 152.059398,60.564932 C147.192119,53.4145727 141.71816,46.1758903 135.637521,38.8488847 C134.683122,37.6988602 134.815056,35.9888243 135.934314,35.0020629 L135.934314,35.0020629 Z M90.6842361,18 C102.390255,18 117.291276,29.0909926 135.387298,51.2729777 C135.788651,51.7649527 136.005428,52.3826288 136,53.0184911 C135.986842,54.5193144 134.764215,55.7253489 133.269082,55.7122445 L133.269082,55.7122445 L132.315346,55.7054689 C124.694302,55.6640063 117.285613,55.9284091 110.089277,56.4986773 C101.590961,57.17212 92.7164767,58.325393 83.4658235,59.9584962 C82.0138691,60.2148231 80.6245044,59.2578618 80.3403697,57.805758 L80.3403697,57.805758 L80.1871846,57.0136235 C75.2176347,31.0045412 78.7166519,18 90.6842361,18 Z",fill:"#FF4154"}))))}const Ig=(e,t,n=!1)=>Ru.useSyncExternalStore(C.useCallback((t=>n?()=>{}:e.subscribe(su.batchCalls(t))),[e,n]),t,t),Tg=C.forwardRef((function(e,t){const{isOpen:n=!0,styleNonce:o,setIsOpen:a,context:i,onDragStart:r,onPositionChange:s,showCloseButton:c,position:u,closeButtonProps:l={},errorTypes:p=[],...d}=e,{onClick:f,...m}=l,h=Pu({context:i}),v=h.getQueryCache(),[y,g]=Uv("reactQueryDevtoolsSortFn",Object.keys($y)[0]),[b,x]=Uv("reactQueryDevtoolsFilter",""),[k,w]=Uv("reactQueryDevtoolsBaseSort",1),E=C.useMemo((()=>$y[y]),[y]),_=Ig(v,(()=>v.getAll().length),!n),[S,R]=Uv("reactQueryDevtoolsActiveQueryHash",""),I=C.useMemo((()=>{const e=v.getAll();if(0===_)return[];const t=b?e.filter((e=>Lv(e.queryHash,b).passed)):[...e];return E?t.sort(((e,t)=>E(e,t)*k)):t}),[k,E,b,_,v]),[T,A]=C.useState(!1);return C.createElement(Gy,{theme:qy},C.createElement(ag,Cv({ref:t,className:"ReactQueryDevtoolsPanel","aria-label":"React Query Devtools Panel",id:"ReactQueryDevtoolsPanel"},d,{style:{height:Xy,position:"relative",...d.style}}),C.createElement("style",{nonce:o,dangerouslySetInnerHTML:{__html:"\n .ReactQueryDevtoolsPanel * {\n scrollbar-color: "+qy.backgroundAlt+" "+qy.gray+";\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar, .ReactQueryDevtoolsPanel scrollbar {\n width: 1em;\n height: 1em;\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar-track, .ReactQueryDevtoolsPanel scrollbar-track {\n background: "+qy.backgroundAlt+";\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar-thumb, .ReactQueryDevtoolsPanel scrollbar-thumb {\n background: "+qy.gray+";\n border-radius: .5em;\n border: 3px solid "+qy.backgroundAlt+";\n }\n "}}),C.createElement("div",{style:og(u),onMouseDown:r}),n&&C.createElement("div",{style:{flex:"1 1 500px",minHeight:"40%",maxHeight:"100%",overflow:"auto",borderRight:"1px solid "+qy.grayAlt,display:"flex",flexDirection:"column"}},C.createElement("div",{style:{padding:".5em",background:qy.backgroundAlt,display:"flex",justifyContent:"space-between",alignItems:"center"}},C.createElement("button",{type:"button","aria-label":"Close React Query Devtools","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"true",onClick:()=>a(!1),style:{display:"inline-flex",background:"none",border:0,padding:0,marginRight:".5em",cursor:"pointer"}},C.createElement(Rg,{"aria-hidden":!0}),C.createElement(dg,{text:"Close React Query Devtools"})),C.createElement("div",{style:{display:"flex",flexDirection:"column"}},C.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:".5em"}},C.createElement(Og,{queryCache:v}),u&&s?C.createElement(pg,{"aria-label":"Panel position",value:u,style:{marginInlineStart:".5em"},onChange:e=>s(e.target.value)},C.createElement("option",{value:"left"},"Left"),C.createElement("option",{value:"right"},"Right"),C.createElement("option",{value:"top"},"Top"),C.createElement("option",{value:"bottom"},"Bottom")):null),C.createElement("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:"0.5em"}},C.createElement(lg,{placeholder:"Filter","aria-label":"Filter by queryhash",value:null!=b?b:"",onChange:e=>x(e.target.value),onKeyDown:e=>{"Escape"===e.key&&x("")},style:{flex:"1",width:"100%"}}),C.createElement(pg,{"aria-label":"Sort queries",value:y,onChange:e=>g(e.target.value),style:{flex:"1",minWidth:75,marginRight:".5em"}},Object.keys($y).map((e=>C.createElement("option",{key:e,value:e},"Sort by ",e)))),C.createElement(rg,{type:"button",onClick:()=>w((e=>-1*e)),style:{padding:".3em .4em",marginRight:".5em"}},1===k?"⬆ Asc":"⬇ Desc"),C.createElement(rg,{title:"Clear cache","aria-label":"Clear cache",type:"button",onClick:()=>v.clear(),style:{padding:".3em .4em",marginRight:".5em"}},"Clear"),C.createElement(rg,{type:"button",onClick:()=>{T?(eu.setOnline(void 0),A(!1),window.dispatchEvent(new Event("online"))):(eu.setOnline(!1),A(!0))},"aria-label":T?"Restore offline mock":"Mock offline behavior",title:T?"Restore offline mock":"Mock offline behavior",style:{padding:"0",height:"2em"}},C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"2em",height:"2em",viewBox:"0 0 24 24",stroke:T?qy.danger:"currentColor",fill:"none"},T?C.createElement(C.Fragment,null,C.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),C.createElement("line",{x1:"12",y1:"18",x2:"12.01",y2:"18"}),C.createElement("path",{d:"M9.172 15.172a4 4 0 0 1 5.656 0"}),C.createElement("path",{d:"M6.343 12.343a7.963 7.963 0 0 1 3.864 -2.14m4.163 .155a7.965 7.965 0 0 1 3.287 2"}),C.createElement("path",{d:"M3.515 9.515a12 12 0 0 1 3.544 -2.455m3.101 -.92a12 12 0 0 1 10.325 3.374"}),C.createElement("line",{x1:"3",y1:"3",x2:"21",y2:"21"})):C.createElement(C.Fragment,null,C.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),C.createElement("line",{x1:"12",y1:"18",x2:"12.01",y2:"18"}),C.createElement("path",{d:"M9.172 15.172a4 4 0 0 1 5.656 0"}),C.createElement("path",{d:"M6.343 12.343a8 8 0 0 1 11.314 0"}),C.createElement("path",{d:"M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0"}))),C.createElement(dg,{text:T?"Restore offline mock":"Mock offline behavior"}))))),C.createElement("div",{style:{overflowY:"auto",flex:"1"}},I.map((e=>C.createElement(Pg,{queryKey:e.queryKey,activeQueryHash:S,setActiveQueryHash:R,key:e.queryHash,queryCache:v}))))),S&&n?C.createElement(Ag,{activeQueryHash:S,queryCache:v,queryClient:h,errorTypes:p}):null,c?C.createElement(rg,Cv({type:"button","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"true"},m,{style:{position:"absolute",zIndex:99999,margin:".5em",bottom:0,left:0,...m.style},onClick:e=>{a(!1),null==f||f(e)}}),"Close"):null))})),Ag=({queryCache:e,activeQueryHash:t,queryClient:n,errorTypes:o})=>{var a,i;const r=Ig(e,(()=>e.getAll().find((e=>e.queryHash===t)))),s=Ig(e,(()=>{var n;return null==(n=e.getAll().find((e=>e.queryHash===t)))?void 0:n.state})),c=null!=(a=Ig(e,(()=>{var n;return null==(n=e.getAll().find((e=>e.queryHash===t)))?void 0:n.isStale()})))&&a,u=null!=(i=Ig(e,(()=>{var n;return null==(n=e.getAll().find((e=>e.queryHash===t)))?void 0:n.getObserversCount()})))?i:0,l=I((()=>{if(r&&null!=s&&s.error){const e=o.find((e=>{var t;return e.initializer(r).toString()===(null==(t=s.error)?void 0:t.toString())}));return null==e?void 0:e.name}}),[r,null==s?void 0:s.error,o]);if(!r||!s)return null;const p=e=>{var t;const n=null!=(t=null==e?void 0:e.initializer(r))?t:new Error("Unknown error from devtools"),o=r.options;r.setState({status:"error",error:n,fetchMeta:{...r.state.fetchMeta,__previousQueryOptions:o}})};return C.createElement(ig,null,C.createElement("div",{style:{padding:".5em",background:qy.backgroundAlt,position:"sticky",top:0,zIndex:1}},"Query Details"),C.createElement("div",{style:{padding:".5em"}},C.createElement("div",{style:{marginBottom:".5em",display:"flex",alignItems:"flex-start",justifyContent:"space-between"}},C.createElement(ug,{style:{lineHeight:"1.8em"}},C.createElement("pre",{style:{margin:0,padding:0,overflow:"auto"}},Hy(r.queryKey,!0))),C.createElement("span",{style:{padding:"0.3em .6em",borderRadius:"0.4em",fontWeight:"bold",textShadow:"0 2px 10px black",background:Ky({queryState:s,isStale:c,observerCount:u,theme:qy}),flexShrink:0}},Wy(r))),C.createElement("div",{style:{marginBottom:".5em",display:"flex",alignItems:"center",justifyContent:"space-between"}},"Observers: ",C.createElement(ug,null,u)),C.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"Last Updated:"," ",C.createElement(ug,null,new Date(s.dataUpdatedAt).toLocaleTimeString()))),C.createElement("div",{style:{background:qy.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Actions"),C.createElement("div",{style:{padding:"0.5em",display:"flex",flexWrap:"wrap",gap:"0.5em",alignItems:"flex-end"}},C.createElement(rg,{type:"button",onClick:()=>{const e=null==r?void 0:r.fetch();null==e||e.catch(Dg)},disabled:"fetching"===s.fetchStatus,style:{background:qy.active}},"Refetch")," ",C.createElement(rg,{type:"button",onClick:()=>n.invalidateQueries(r),style:{background:qy.warning,color:qy.inputTextColor}},"Invalidate")," ",C.createElement(rg,{type:"button",onClick:()=>n.resetQueries(r),style:{background:qy.gray}},"Reset")," ",C.createElement(rg,{type:"button",onClick:()=>n.removeQueries(r),style:{background:qy.danger}},"Remove")," ",C.createElement(rg,{type:"button",onClick:()=>{var e;if("fetching"!==r.state.fetchStatus||void 0!==(null==(e=r.state.fetchMeta)?void 0:e.__previousQueryOptions))if(void 0===r.state.data)r.fetch(r.state.fetchMeta.__previousQueryOptions,{cancelRefetch:!0});else{const e=r.options;r.fetch({...e,queryFn:()=>new Promise((()=>{})),cacheTime:-1}),r.setState({data:void 0,status:"loading",fetchMeta:{...r.state.fetchMeta,__previousQueryOptions:e}})}},style:{background:qy.paused}},"loading"===r.state.status?"Restore":"Trigger"," ","loading")," ",0===o.length||"error"===r.state.status?C.createElement(rg,{type:"button",onClick:()=>{r.state.error?n.resetQueries(r):p()},style:{background:qy.danger}},"error"===r.state.status?"Restore":"Trigger"," error"):C.createElement("label",null,"Trigger error:",C.createElement(pg,{value:null!=l?l:"",style:{marginInlineStart:".5em"},onChange:e=>{const t=o.find((t=>t.name===e.target.value));p(t)}},C.createElement("option",{key:"",value:""}),o.map((e=>C.createElement("option",{key:e.name,value:e.name},e.name)))))),C.createElement("div",{style:{background:qy.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Data Explorer"),C.createElement("div",{style:{padding:".5em"}},C.createElement(Sg,{label:"Data",value:s.data,defaultExpanded:{},copyable:!0})),C.createElement("div",{style:{background:qy.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Query Explorer"),C.createElement("div",{style:{padding:".5em"}},C.createElement(Sg,{label:"Query",value:r,defaultExpanded:{queryKey:!0}})))},Og=({queryCache:e})=>{const t=Ig(e,(()=>e.getAll().filter((e=>"fresh"===Wy(e))).length)),n=Ig(e,(()=>e.getAll().filter((e=>"fetching"===Wy(e))).length)),o=Ig(e,(()=>e.getAll().filter((e=>"paused"===Wy(e))).length)),a=Ig(e,(()=>e.getAll().filter((e=>"stale"===Wy(e))).length)),i=Ig(e,(()=>e.getAll().filter((e=>"inactive"===Wy(e))).length));return C.createElement(sg,null,C.createElement(cg,{style:{background:qy.success,opacity:t?1:.3}},"fresh ",C.createElement(ug,null,"(",t,")"))," ",C.createElement(cg,{style:{background:qy.active,opacity:n?1:.3}},"fetching ",C.createElement(ug,null,"(",n,")"))," ",C.createElement(cg,{style:{background:qy.paused,opacity:o?1:.3}},"paused ",C.createElement(ug,null,"(",o,")"))," ",C.createElement(cg,{style:{background:qy.warning,color:"black",textShadow:"0",opacity:a?1:.3}},"stale ",C.createElement(ug,null,"(",a,")"))," ",C.createElement(cg,{style:{background:qy.gray,opacity:i?1:.3}},"inactive ",C.createElement(ug,null,"(",i,")")))},Pg=C.memo((({queryKey:e,setActiveQueryHash:t,activeQueryHash:n,queryCache:o})=>{var a,i,r,s;const c=null!=(a=Ig(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.queryHash})))?a:"",u=Ig(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.state})),l=null!=(i=Ig(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.isStale()})))&&i,p=null!=(r=Ig(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.isDisabled()})))&&r,d=null!=(s=Ig(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.getObserversCount()})))?s:0;return u?C.createElement("div",{role:"button","aria-label":"Open query details for "+c,onClick:()=>t(n===c?"":c),style:{display:"flex",borderBottom:"solid 1px "+qy.grayAlt,cursor:"pointer",background:c===n?"rgba(255,255,255,.1)":void 0}},C.createElement("div",{style:{flex:"0 0 auto",width:"2em",height:"2em",background:Ky({queryState:u,isStale:l,observerCount:d,theme:qy}),display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",textShadow:l?"0":"0 0 10px black",color:l?"black":"white"}},d),p?C.createElement("div",{style:{flex:"0 0 auto",height:"2em",background:qy.gray,display:"flex",alignItems:"center",fontWeight:"bold",padding:"0 0.5em"}},"disabled"):null,C.createElement(ug,{style:{padding:".5em"}},""+c)):null}));function Dg(){}Pg.displayName="QueryRow";const jg="development"!==process.env.NODE_ENV?function(){return null}:function({initialIsOpen:e,panelProps:t={},closeButtonProps:n={},toggleButtonProps:o={},position:a="bottom-left",containerElement:i="aside",context:r,styleNonce:s,panelPosition:c="bottom",errorTypes:u=[]}){const l=C.useRef(null),p=C.useRef(null),[d,f]=Uv("reactQueryDevtoolsOpen",e),[m,h]=Uv("reactQueryDevtoolsHeight",Xy),[v,y]=Uv("reactQueryDevtoolsWidth",Xy),[g="bottom",b]=Uv("reactQueryDevtoolsPanelPosition",c),[x,k]=C.useState(!1),[w,E]=C.useState(!1),_=function(){const e=C.useRef(!1),t=C.useCallback((()=>e.current),[]);return C.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),t}();C.useEffect((()=>{k(null!=d&&d)}),[d,x,k]),C.useEffect((()=>{const e=p.current;if(e){const t=()=>{x&&(e.style.visibility="visible")},n=()=>{x||(e.style.visibility="hidden")};return e.addEventListener("transitionstart",t),e.addEventListener("transitionend",n),()=>{e.removeEventListener("transitionstart",t),e.removeEventListener("transitionend",n)}}}),[x]),C.useEffect((()=>{var e;if(x&&null!=(e=l.current)&&e.parentElement){const{parentElement:e}=l.current,t=ng("padding",g),n=eg(g),o=(({padding:e,paddingTop:t,paddingBottom:n,paddingLeft:o,paddingRight:a})=>({padding:e,paddingTop:t,paddingBottom:n,paddingLeft:o,paddingRight:a}))(e.style),a=()=>{e.style.padding="0px",e.style.paddingTop="0px",e.style.paddingBottom="0px",e.style.paddingLeft="0px",e.style.paddingRight="0px",e.style[t]=(n?v:m)+"px"};if(a(),"undefined"!=typeof window)return window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a),Object.entries(o).forEach((([t,n])=>{e.style[t]=n}))}}}),[x,g,m,v]);const{style:S={},...R}=t,{style:I={},onClick:T,...A}=o,O=function({position:e="bottom",height:t,width:n,devtoolsTheme:o,isOpen:a,isResizing:i,panelStyle:r}){const s=tg(e),c=ng("border",s),u=eg(e);return{...r,direction:"ltr",position:"fixed",[e]:0,[c]:"1px solid "+o.gray,transformOrigin:s,boxShadow:"0 0 20px rgba(0,0,0,.3)",zIndex:99999,visibility:a?"visible":"hidden",...i?{transition:"none"}:{transition:"all .2s ease"},...a?{opacity:1,pointerEvents:"all",transform:u?"translateX(0) scale(1)":"translateY(0) scale(1)"}:{opacity:0,pointerEvents:"none",transform:u?"translateX(15px) scale(1.02)":"translateY(15px) scale(1.02)"},...u?{top:0,height:"100vh",maxWidth:"90%",width:"number"==typeof n&&n>=70?n:Xy}:{left:0,width:"100%",maxHeight:"90%",height:"number"==typeof t&&t>=70?t:Xy}}}({position:g,devtoolsTheme:qy,isOpen:x,height:m,width:v,isResizing:w,panelStyle:S});return _()?C.createElement(i,{ref:l,className:"ReactQueryDevtools","aria-label":"React Query Devtools"},C.createElement(Gy,{theme:qy},C.createElement(Tg,Cv({ref:p,context:r,styleNonce:s,position:g,onPositionChange:b,showCloseButton:!0,closeButtonProps:n},R,{style:O,isOpen:x,setIsOpen:f,onDragStart:e=>((e,t)=>{if(!e)return;if(0!==t.button)return;const n=eg(g);E(!0);const{height:o,width:a}=e.getBoundingClientRect(),i=t.clientX,r=t.clientY;let s=0;const c=e=>{e.preventDefault(),n?(s=a+("right"===g?i-e.clientX:e.clientX-i),y(s)):(s=o+("bottom"===g?r-e.clientY:e.clientY-r),h(s)),f(!(s<70))},u=()=>{w&&E(!1),document.removeEventListener("mousemove",c,!1),document.removeEventListener("mouseUp",u,!1)};document.addEventListener("mousemove",c,!1),document.addEventListener("mouseup",u,!1)})(p.current,e),errorTypes:u}))),x?null:C.createElement("button",Cv({type:"button"},A,{"aria-label":"Open React Query Devtools","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"false",onClick:e=>{f(!0),null==T||T(e)},style:{background:"none",border:0,padding:0,position:"fixed",zIndex:99999,display:"inline-flex",fontSize:"1.5em",margin:".5em",cursor:"pointer",width:"fit-content",..."top-right"===a?{top:"0",right:"0"}:"top-left"===a?{top:"0",left:"0"}:"bottom-right"===a?{bottom:"0",right:"0"}:{bottom:"0",left:"0"},...I}}),C.createElement(Rg,{"aria-hidden":!0}),C.createElement(dg,{text:"Open React Query Devtools"}))):null};process.env.NODE_ENV;var Lg,Ng={backgroundColor:"#fcfcff",width:"100%",zIndex:1e7,height:"100%",position:"absolute"};function Fg(e){var o=this,i=e.children,r=process.env.ENVIRONMENT,s=I((function(){return"DEV"!==r&&"LOCAL"!==r?"testing":"live"}),[process.env.ENVIRONMENT]),c=_(!1),u=c[0],l=c[1],p=T((function(e){return t(o,void 0,void 0,(function(){var t,o,i,r,c;return n(this,(function(n){switch(n.label){case 0:return t=localStorage.getItem("headers"),o=t&&JSON.parse(t),i=localStorage.getItem("isTesting")&&"OFF"!==localStorage.getItem("isTesting")?"testing":"live",r=localStorage.getItem("x-organization-code"),c=r?JSON.parse(r).value:"",[4,Tc.refreshInstance({headers:a(a({},o),{"X-Environment":i||s,"x-organization-code":c,"x-account-code":e.detail.accountCode,"X-Content-Type-Options":"nosniff"})})];case 1:return n.sent(),[2]}}))}))}),[s,l]);R((function(){return addEventListener("ACCOUNT_CHANGED",p),function(){window.removeEventListener("ACCOUNT_CHANGED",p)}}),[p]);var d=T((function(e){return t(o,void 0,void 0,(function(){var t,o,i,r,c,u,p;return n(this,(function(n){switch(n.label){case 0:return t=localStorage.getItem("headers"),(o=t&&JSON.parse(t))?(i=localStorage.getItem("x-organization-code"),r=localStorage.getItem("account"),c=r?null===(p=JSON.parse(r).value)||void 0===p?void 0:p.code:"",u=i?JSON.parse(i).value:"",[4,Tc.refreshInstance({headers:a(a({},o),{"X-Environment":e||s,"x-organization-code":u,"x-account-code":c,"X-Content-Type-Options":"nosniff"})})]):[3,2];case 1:n.sent(),Dl.refetchQueries(["fetch-profile","accountsV2","accounts","fetch-all-organizations","fetch-permissions"]),l(!0),n.label=2;case 2:return[2]}}))}))}),[s,l]);return R((function(){var e=localStorage.getItem("isTesting")&&"OFF"!==localStorage.getItem("isTesting")?"testing":"live";window.addEventListener("storage",(function(t){if("token"===t.key||"isTesting"===t.key){var n="OFF"===t.newValue?"live":"testing";"isTesting"===t.key?d(n):"token"===t.key&&d(e)}})),d(e)}),[l,d]),u?React.createElement(Du,{client:Dl},i,React.createElement(jg,{initialIsOpen:!1})):React.createElement("div",{style:Ng})}!function(e){e.ECONNABORTED="ECONNABORTED",e.ETIMEDOUT="ETIMEDOUT",e.ERR_BAD_REQUEST="ERR_BAD_REQUEST"}(Lg||(Lg={}));var Bg=["LOCAL","DEV","STG"].includes(process.env.ENVIRONMENT||"");"undefined"!=typeof window&&Bg&&function(){t(this,void 0,void 0,(function(){var e;return n(this,(function(t){switch(t.label){case 0:if(!q())return console.info('MSW is disabled. Run "window.enableMSW()" to enable it.'),[2];console.info('MSW is enabled. Run "window.disableMSW()" to disable it.'),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,M.start({serviceWorker:{url:"/mockServiceWorker.js"},onUnhandledRequest:"bypass"})];case 2:return t.sent(),[3,4];case 3:return e=t.sent(),console.error("Error starting MSW:",e),[3,4];case 4:return[2]}}))}))}();export{Yh as ALL_FEATURE_FLAGS,Rc as Api,Lg as ApiErrorCodes,Fg as ApiProvider,Tc as ApiSingleton,is as Cms,as as Country,cs as DataReport,os as Organization,ls as ReconciliationAgendaInsight,us as ReconciliationReportType,rs as ReportType,ns as SendPaymentNotification,ss as TemplateType,km as getQueryKeyGetNameAndIcon,Cm as getQueryKeyRequiredFields,Pl as queryCache,Dl as queryClient,vm as use3DSExemptions,Md as useAICreateWorkflow,$h as useAllFeatureFlags,mv as useAllowListDetail,ll as useArchiveConnection,fv as useBlackListDetail,Xh as useCachedFeatureFlag,Bl as useCancelReport,hl as useChangePassword,vl as useChangePasswordV2,$p as useChangePaymentsWebhook,rp as useChangeState,Kp as useChangeStatusBlackList,Wp as useChangeStatusItemBlackList,Ol as useChargebacksUpload,Tp as useConfirmedOtpForEnrollment,Ip as useConfirmedOtpMfa,Oh as useConversionRateOverview,Ph as useConversionRateOverviewFraud3ds,Fl as useCountRowsForReport,zd as useCreateChart,ap as useCreateMonitorTemplate,op as useCreateMonitorThreshold,ip as useCreateNotification,Al as useCreateOperationTransaction,hp as useCreatePaymentLinks,vp as useCreateProductsByAccount,Pd as useCreateReconciliationAlert,Ad as useCreateReconciliationReportTemplate,Ll as useCreateReconciliationsReportV2,jl as useCreateReport,Ml as useCreateReportTemplate,Nl as useCreateReportV2,dp as useCreateRoles,Nd as useCreateSamlConfig,dd as useCreateScheduledReport,Cl as useCreateUserAuth0,Ul as useCreateWorkflow,oh as useDashboardInsights,ah as useDashboardInsightsIsolated,el as useDeleteAccountsUserMassive,ed as useDeleteAllowlistItem,Jp as useDeleteBlackListItem,Hp as useDeleteBlackListType,Xp as useDeleteBlockListItem,Ud as useDeleteChart,ul as useDeleteConnection,_d as useDeleteCustomizedApiKeys,yp as useDeletePaymentLink,Dd as useDeleteReconciliationAlert,mp as useDeleteRoles,Bd as useDeleteSamlConfig,md as useDeleteScheduledReport,up as useDeleteUserTeam,lp as useDeleteUserTeamV2,Kl as useDeleteVersion,Gu as useDeleteWebhook,Ku as useDeleteWebhookV2,Wl as useDuplicateVersion,gp as useEditPaymentLinks,fp as useEditRoles,Tm as useEmailVerification,ld as useExcludeUsers,Jh as useFeatureFlags,sv as useFirebaseUserSubscribe,Kf as useGetAccounts,Qf as useGetAccountsByUser,Wf as useGetAccountsV2,gv as useGetAllConfigRules,Af as useGetAllOrganizations,Qh as useGetAllReconciliationsAdvancements,Gh as useGetAllReconciliationsAgenda,Vh as useGetAllReconciliationsAlerts,Hh as useGetAllReconciliationsFees,Wh as useGetAllReconciliationsSales,Mh as useGetAllTableColumns,Ef as useGetAllowedIps,Zh as useGetAuditEvents,Zf as useGetAuditLogsFilters,ev as useGetAuditMonitorEventDetail,rd as useGetBatchRefundProcessedFileDownload,sd as useGetBatchRefundUserFileDownload,vv as useGetBatchRefunds,uv as useGetBlackList,dv as useGetBlockListSummary,af as useGetCardBrands,xm as useGetCheckoutTemplate,bm as useGetCheckouts,hd as useGetConditionalConfigRules,cv as useGetConfigAllowlist,Ff as useGetConnections,Lf as useGetConnectionsByPaymentMethod,iv as useGetCountriesConfigPaymentLink,kf as useGetCredentials,Id as useGetCredentialsMFA,wf as useGetCredentialsValidatePassword,Sf as useGetCustomizedApiKeys,_f as useGetCustomizedApiKeysAccounts,Cf as useGetCustomizedApiKeysMembers,Rf as useGetCustomizedApiKeysProducts,Ed as useGetCustomizedApiKeysShowToken,wd as useGetCustomizedApiKeysToken,em as useGetDashboardStaticContents,Bf as useGetDialogs,qm as useGetDownloadReport,Sp as useGetEmailOtp,Nf as useGetHashPylon,Dp as useGetIndividualMFAStatus,vh as useGetInsightsReport,yh as useGetInsightsReportAgain,Df as useGetIntegrationByAccount,jf as useGetIntegrationByAccountV2,Pf as useGetIntegrationParams,tm as useGetLocales,Om as useGetLoginMethods,xv as useGetMFAConfig,bv as useGetMFAExcludedUsers,kv as useGetMFAStatus,Wm as useGetMembers,Qm as useGetMembersV3,Jm as useGetMembersV4,Hf as useGetMenu,jm as useGetMergedNotifications,wm as useGetNameAndIcon,Lm as useGetNotificationsAccount,Pm as useGetNotificationsCustomer,Nm as useGetNotificationsNumber,Fm as useGetNotificationsNumberMutation,Tf as useGetOrganization,Wd as useGetPayment,of as useGetPaymentAndTrxStatuses,rf as useGetPaymentFilters,nv as useGetPaymentLinkByCode,tv as useGetPaymentLinks,tf as useGetPaymentMethodsAndProviders,nf as useGetPaymentMethodsAndProvidersActive,ef as useGetPaymentMethodsByProvider,sf as useGetPaymentMetricsFilters,Jf as useGetPaymentStatusesStyles,Hd as useGetPaymentTransactions,uf as useGetPaymentTransactionsDetails,Jd as useGetPaymentTransactionsLazy,Qd as useGetPaymentV2,av as useGetPaymentsByPaymentLink,Zd as useGetPaymentsMethodsByCountry,mf as useGetPayoutDetail,vf as useGetPayoutHistoryDetail,hf as useGetPayoutTransactionDetail,Im as useGetPermissions,th as useGetPermissionsCatalog,ov as useGetProductsByAccount,Rm as useGetProfile,yf as useGetProofOfCancel,Of as useGetProviderParams,zh as useGetReconciliationActive,Kh as useGetReconciliationAgendaInsightsByKey,Bh as useGetReconciliationFilters,Fh as useGetReconciliationMetrics,$f as useGetReconciliationTransactionStatusesStyles,Dh as useGetReconciliationTransactions,Uh as useGetReconciliationsReportColumns,qh as useGetReconciliationsReportTemplates,Km as useGetRefundPdf,Gm as useGetReportColumns,Vm as useGetReportTemplates,zm as useGetReportsList,Um as useGetReportsListMultiEnv,Em as useGetRequiredFields,Zm as useGetRoles,eh as useGetRolesPermissions,gm as useGetRoutingMonitorsTemplate,ym as useGetRoutingMonitorsTemplates,vd as useGetRule,wv as useGetSamlConfig,pd as useGetScheduledReportsList,jh as useGetSettlements,Nh as useGetSettlementsBody,Lh as useGetSettlementsHeader,rm as useGetSmartRoutingConditionPaymentMethod,im as useGetSmartRoutingConditionTypes,sm as useGetSmartRoutingConditionTypesValues,nh as useGetSmartRoutingDataReport,lm as useGetSmartRoutingDeclineGroups,om as useGetSmartRoutingMethods,um as useGetSmartRoutingNextRoute,dm as useGetSmartRoutingPaymentRoute,mm as useGetSmartRoutingSearchConditionValues,fm as useGetSmartRoutingSimulateConditionTypeValues,pm as useGetSmartRoutingTutorial,am as useGetSmartRoutingWorkflow,cm as useGetSmartRoutingWorkflowVersion,Sm as useGetStylingSettings,_m as useGetStylingTheme,Hm as useGetTeamsFiltersMembers,Xf as useGetTimeZoneCatalog,rv as useGetTimezonePaymentLink,_p as useGetTokenForEnrollment,Ep as useGetTokenValidation,Yd as useGetTransactionDetails,$d as useGetTransactionDetailsV2,cf as useGetTransactionHistory,lf as useGetTransactionHistoryByPaymentCode,Xd as useGetTransactionRawResponse,Yf as useGetTransactionStatusesStyles,pf as useGetTransactions,Dm as useGetValidateOpsgenieKey,Mf as useGetWebhookParams,zf as useGetWebhookParamsV2,Uf as useGetWebhooks,qf as useGetWebhooksV2,Gf as useGetWebhooksV2Detail,Vf as useGetWebhooksV3,kh as useInsights3dsConversionRateAndEvolution,wh as useInsights3dsDeclineReasons,Ch as useInsights3dsFrictionlessVsChallenge,xh as useInsights3dsVolumeAndCountTx,Ah as useInsightsChargebacksByCardBrand,Rh as useInsightsChargebacksByProviderAndCardBrand,Sh as useInsightsChargebacksDisputed,Ih as useInsightsChargebacksReasonsDistribution,Th as useInsightsChargebacksStatusDistribution,Eh as useInsightsChargebacksVolumeAndCountTx,_h as useInsightsChargebacksWinRate,ih as useInsightsConversionRateMetrics,rh as useInsightsConversionRateMetricsV2,dh as useInsightsCustomerPaymentsAndFraudMetrics,ch as useInsightsFallbackMetrics,bh as useInsightsFraudScreeningConversionRate,gh as useInsightsFraudScreeningVolumeAndCountTx,hh as useInsightsHomeMetrics,fh as useInsightsOverviewMetrics,mh as useInsightsOverviewMetricsV3,ph as useInsightsTotalPaymentsAndFraudMetrics,uh as useInsightsVolumeMetrics,lh as useInsightsVolumeMetricsV2,gl as useInviteUsers,bl as useInviteUsersMultiaccount,xl as useInviteUsersMultiaccountMassive,nm as useIsTesting,_l as useLoginMethods,Am as useLoginSSO,rl as useNewPostConnection,sl as useNewPostConnectionValidate,pv as useOneBlackList,Ju as usePatchAccount,Yu as usePatchAccountV2,zp as usePatchAddAllowlistItems,If as usePatchAllowedIps,Up as usePatchAllowlist,Sd as usePatchApiKeysEditNote,Bp as usePatchChangeStatusAllowlist,Mp as usePatchChangeStatusAllowlistItem,qd as usePatchChartName,cl as usePatchConnection,kd as usePathCreateCustomizedApiKeys,Bm as usePathNotifications,xf as usePayoutsFilters,bf as usePayoutsList,Hu as usePostAccount,hv as usePostAllowlistMultiAccount,Rd as usePostApiKeysRoll,Td as usePostAuditMonitors,id as usePostBatchRefundByFile,Yp as usePostBlackListBatch,Qp as usePostBlackListItems,qp as usePostBlackListMultiAccount,Vp as usePostBlackListType,lv as usePostBlockList,El as usePostCall,nl as usePostChangeStatusConnection,al as usePostConnection,il as usePostConnectionMultiAccount,Fp as usePostCreateAllowlistMultiAccount,xd as usePostCreateCustomizedApiKeys,Ld as usePostCreateInsightsReport,gd as usePostCreateRule,yd as usePostCreateRuleMultiAccount,Cd as usePostCredentialsValidatePassword,pl as usePostDefaultRoutes,bd as usePostEditRule,ff as usePostFraudTransactions,Lp as usePostGetAllowlistItems,Np as usePostGetAllowlistMultiAccount,$m as usePostMembersPaginated,Xm as usePostMembersPaginatedV2,Ym as usePostMembersV4,Kd as usePostPaymentsEvaluated,Gd as usePostPaymentsLazy,sp as usePostSlackMessageChannel,df as usePostTransactions,xp as usePostUserSettings,Cp as usePostUserSettingsPinned,wp as usePostUserSettingsTables,kp as usePostUserThemeSettings,Rp as usePostValidateOtp,bp as usePostValidatePassword,tl as usePostValideStatusConnection,yv as usePostVelocityRules,Uu as usePostWebhook,Vu as usePostWebhookMultiAccount,qu as usePostWebhookV2,hm as useProviderConversionRatesData,ql as usePublishVersion,$u as usePutAccountPrincipal,Xu as usePutAccountsUser,Zu as usePutAccountsUserMassive,Gp as usePutBlackListType,ol as usePutCosts,Gl as useSaveVersion,Pp as useSendOTPForMFA,gf as useSendPaymentNotification,pp as useSetCustodian,cp as useSetRoles,Jl as useSmartRoutingCreateDeclinedGroup,Xl as useSmartRoutingEditWorkflowName,np as useSmartRoutingMultiAccountDeclinedGroupCreate,tp as useSmartRoutingRemoveDeclinedGroup,Zl as useSmartRoutingSimulateTransaction,$l as useSmartRoutingToggleFavorite,Hl as useSmartRoutingUpdateDeclinedGroup,ep as useSmartRoutingUpdateMonitorRedistribution,Yl as useSmartRoutingUpdateTutorial,Ql as useToggleMethod,kl as useUnInviteUsers,wl as useUnInviteUsersV2,Ap as useUnrollUser,Op as useUnrollUserV2,Sl as useUpdateCheckoutPaymentMethods,Il as useUpdateCheckoutTemplate,Rl as useUpdateIsActiveCheckout,ud as useUpdateMFAConfig,fl as useUpdateOrganizationStatus,yl as useUpdateProfile,jd as useUpdateReconciliationAlert,Od as useUpdateReconciliationReportTemplate,zl as useUpdateReportTemplate,Fd as useUpdateSamlConfig,fd as useUpdateScheduledReport,Tl as useUpdateStylingTheme,Wu as useUpdateWebhook,Qu as useUpdateWebhookV2,od as useUploadBatchRefundsFile,nd as useUploadBatchRefundsFileV2,ad as useUploadBatchRefundsV2,cd as useUploadFileS3ClientBatchRefunds,td as useValiateAllowlistItems,Zp as useValidateBlockListItems,Vl as useValidateConnection,dl as useValidateCredentials,ml as useValidateOrgName,jp as useValidatePasswordStatus,sh as useViewMoreMetrics};
27
+ const Ah=7,Th=6,Oh=5,Ph=4,xh=3,Dh=2,Nh=1,Lh=0;function Mh(t,e,n){var r;if((n=n||{}).threshold=null!=(r=n.threshold)?r:Nh,!n.accessors){const r=Bh(t,e,n);return{rankedValue:t,rank:r,accessorIndex:-1,accessorThreshold:n.threshold,passed:r>=n.threshold}}const o=function(t,e){const n=[];for(let r=0,o=e.length;r<o;r++){const o=e[r],i=zh(o),a=Uh(t,o);for(let t=0,e=a.length;t<e;t++)n.push({itemValue:a[t],attributes:i})}return n}(t,n.accessors),i={rankedValue:t,rank:Lh,accessorIndex:-1,accessorThreshold:n.threshold,passed:!1};for(let t=0;t<o.length;t++){const r=o[t];let a=Bh(r.itemValue,e,n);const{minRanking:s,maxRanking:u,threshold:c=n.threshold}=r.attributes;a<s&&a>=Nh?a=s:a>u&&(a=u),a=Math.min(a,u),a>=c&&a>i.rank&&(i.rank=a,i.passed=!0,i.accessorIndex=t,i.accessorThreshold=c,i.rankedValue=r.itemValue)}return i}function Bh(t,e,n){return t=Fh(t,n),(e=Fh(e,n)).length>t.length?Lh:t===e?Ah:(t=t.toLowerCase())===(e=e.toLowerCase())?Th:t.startsWith(e)?Oh:t.includes(` ${e}`)?Ph:t.includes(e)?xh:1===e.length?Lh:function(t){let e="";return t.split(" ").forEach((t=>{t.split("-").forEach((t=>{e+=t.substr(0,1)}))})),e}(t).includes(e)?Dh:function(t,e){let n=0,r=0;function o(t,e,r){for(let o=r,i=e.length;o<i;o++){if(e[o]===t)return n+=1,o+1}return-1}function i(t){const r=1/t,o=n/e.length;return Nh+o*r}const a=o(e[0],t,0);if(a<0)return Lh;r=a;for(let n=1,i=e.length;n<i;n++){r=o(e[n],t,r);if(!(r>-1))return Lh}const s=r-a;return i(s)}(t,e)}function Fh(t,e){let{keepDiacritics:n}=e;return t=`${t}`,n||(t=t.replace(Ih,(t=>Sh[t]))),t}function Uh(t,e){let n=e;"object"==typeof e&&(n=e.accessor);const r=n(t);return null==r?[]:Array.isArray(r)?r:[String(r)]}const jh={maxRanking:1/0,minRanking:-1/0};function zh(t){return"function"==typeof t?jh:{...jh,...t}}function qh(t,e){const[n,r]=c.useState();c.useEffect((()=>{const n=(t=>{try{const e=localStorage.getItem(t);return"string"==typeof e?JSON.parse(e):void 0}catch{return}})(t);r(null==n?"function"==typeof e?e():e:n)}),[e,t]);return[n,c.useCallback((e=>{r((n=>{let r=e;"function"==typeof e&&(r=e(n));try{localStorage.setItem(t,JSON.stringify(r))}catch{}return r}))}),[t])]}var Vh,Gh=function(){function t(){this.keyToValue=new Map,this.valueToKey=new Map}return t.prototype.set=function(t,e){this.keyToValue.set(t,e),this.valueToKey.set(e,t)},t.prototype.getByKey=function(t){return this.keyToValue.get(t)},t.prototype.getByValue=function(t){return this.valueToKey.get(t)},t.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},t}(),Qh=function(){function t(t){this.generateIdentifier=t,this.kv=new Gh}return t.prototype.register=function(t,e){this.kv.getByValue(t)||(e||(e=this.generateIdentifier(t)),this.kv.set(e,t))},t.prototype.clear=function(){this.kv.clear()},t.prototype.getIdentifier=function(t){return this.kv.getByValue(t)},t.prototype.getValue=function(t){return this.kv.getByKey(t)},t}(),Kh=(Vh=function(t,e){return Vh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Vh(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Vh(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),Wh=function(t){function e(){var e=t.call(this,(function(t){return t.name}))||this;return e.classToAllowedProps=new Map,e}return Kh(e,t),e.prototype.register=function(e,n){"object"==typeof n?(n.allowProps&&this.classToAllowedProps.set(e,n.allowProps),t.prototype.register.call(this,e,n.identifier)):t.prototype.register.call(this,e,n)},e.prototype.getAllowedProps=function(t){return this.classToAllowedProps.get(t)},e}(Qh),Hh=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function Jh(t,e){var n=function(t){if("values"in Object)return Object.values(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e}(t);if("find"in n)return n.find(e);for(var r=n,o=0;o<r.length;o++){var i=r[o];if(e(i))return i}}function Yh(t,e){Object.entries(t).forEach((function(t){var n=Hh(t,2),r=n[0],o=n[1];return e(o,r)}))}function Xh(t,e){return-1!==t.indexOf(e)}function $h(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(e(r))return r}}var Zh=function(){function t(){this.transfomers={}}return t.prototype.register=function(t){this.transfomers[t.name]=t},t.prototype.findApplicable=function(t){return Jh(this.transfomers,(function(e){return e.isApplicable(t)}))},t.prototype.findByName=function(t){return this.transfomers[t]},t}(),ty=function(t){return void 0===t},ey=function(t){return"object"==typeof t&&null!==t&&(t!==Object.prototype&&(null===Object.getPrototypeOf(t)||Object.getPrototypeOf(t)===Object.prototype))},ny=function(t){return ey(t)&&0===Object.keys(t).length},ry=function(t){return Array.isArray(t)},oy=function(t){return t instanceof Map},iy=function(t){return t instanceof Set},ay=function(t){return"Symbol"===function(t){return Object.prototype.toString.call(t).slice(8,-1)}(t)},sy=function(t){return"number"==typeof t&&isNaN(t)},uy=function(t){return function(t){return"boolean"==typeof t}(t)||function(t){return null===t}(t)||ty(t)||function(t){return"number"==typeof t&&!isNaN(t)}(t)||function(t){return"string"==typeof t}(t)||ay(t)},cy=function(t){return t.replace(/\./g,"\\.")},ly=function(t){return t.map(String).map(cy).join(".")},dy=function(t){for(var e=[],n="",r=0;r<t.length;r++){var o=t.charAt(r);if("\\"===o&&"."===t.charAt(r+1))n+=".",r++;else"."===o?(e.push(n),n=""):n+=o}var i=n;return e.push(i),e},py=function(){return py=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},py.apply(this,arguments)},fy=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},hy=function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t};function yy(t,e,n,r){return{isApplicable:t,annotation:e,transform:n,untransform:r}}var gy=[yy(ty,"undefined",(function(){return null}),(function(){})),yy((function(t){return"bigint"==typeof t}),"bigint",(function(t){return t.toString()}),(function(t){return"undefined"!=typeof BigInt?BigInt(t):(console.error("Please add a BigInt polyfill."),t)})),yy((function(t){return t instanceof Date&&!isNaN(t.valueOf())}),"Date",(function(t){return t.toISOString()}),(function(t){return new Date(t)})),yy((function(t){return t instanceof Error}),"Error",(function(t,e){var n={name:t.name,message:t.message};return e.allowedErrorProps.forEach((function(e){n[e]=t[e]})),n}),(function(t,e){var n=new Error(t.message);return n.name=t.name,n.stack=t.stack,e.allowedErrorProps.forEach((function(e){n[e]=t[e]})),n})),yy((function(t){return t instanceof RegExp}),"regexp",(function(t){return""+t}),(function(t){var e=t.slice(1,t.lastIndexOf("/")),n=t.slice(t.lastIndexOf("/")+1);return new RegExp(e,n)})),yy(iy,"set",(function(t){return hy([],fy(t.values()))}),(function(t){return new Set(t)})),yy(oy,"map",(function(t){return hy([],fy(t.entries()))}),(function(t){return new Map(t)})),yy((function(t){return sy(t)||((e=t)===1/0||e===-1/0);var e}),"number",(function(t){return sy(t)?"NaN":t>0?"Infinity":"-Infinity"}),Number),yy((function(t){return 0===t&&1/t==-1/0}),"number",(function(){return"-0"}),Number),yy((function(t){return t instanceof URL}),"URL",(function(t){return t.toString()}),(function(t){return new URL(t)}))];function my(t,e,n,r){return{isApplicable:t,annotation:e,transform:n,untransform:r}}var vy=my((function(t,e){return!!ay(t)&&!!e.symbolRegistry.getIdentifier(t)}),(function(t,e){return["symbol",e.symbolRegistry.getIdentifier(t)]}),(function(t){return t.description}),(function(t,e,n){var r=n.symbolRegistry.getValue(e[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r})),by=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((function(t,e){return t[e.name]=e,t}),{}),Ey=my((function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}),(function(t){return["typed-array",t.constructor.name]}),(function(t){return hy([],fy(t))}),(function(t,e){var n=by[e[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(t)}));function Cy(t,e){return!!(null==t?void 0:t.constructor)&&!!e.classRegistry.getIdentifier(t.constructor)}var ky=my(Cy,(function(t,e){return["class",e.classRegistry.getIdentifier(t.constructor)]}),(function(t,e){var n=e.classRegistry.getAllowedProps(t.constructor);if(!n)return py({},t);var r={};return n.forEach((function(e){r[e]=t[e]})),r}),(function(t,e,n){var r=n.classRegistry.getValue(e[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),t)})),_y=my((function(t,e){return!!e.customTransformerRegistry.findApplicable(t)}),(function(t,e){return["custom",e.customTransformerRegistry.findApplicable(t).name]}),(function(t,e){return e.customTransformerRegistry.findApplicable(t).serialize(t)}),(function(t,e,n){var r=n.customTransformerRegistry.findByName(e[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(t)})),wy=[ky,vy,_y,Ey],Sy=function(t,e){var n=$h(wy,(function(n){return n.isApplicable(t,e)}));if(n)return{value:n.transform(t,e),type:n.annotation(t,e)};var r=$h(gy,(function(n){return n.isApplicable(t,e)}));return r?{value:r.transform(t,e),type:r.annotation}:void 0},Ry={};gy.forEach((function(t){Ry[t.annotation]=t}));var Iy=function(t,e){for(var n=t.keys();e>0;)n.next(),e--;return n.next().value};function Ay(t){if(Xh(t,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Xh(t,"prototype"))throw new Error("prototype is not allowed as a property");if(Xh(t,"constructor"))throw new Error("constructor is not allowed as a property")}var Ty=function(t,e,n){if(Ay(e),0===e.length)return n(t);for(var r=t,o=0;o<e.length-1;o++){var i=e[o];if(ry(r))r=r[+i];else if(ey(r))r=r[i];else if(iy(r)){r=Iy(r,a=+i)}else if(oy(r)){if(o===e.length-2)break;var a=+i,s=0==+e[++o]?"key":"value",u=Iy(r,a);switch(s){case"key":r=u;break;case"value":r=r.get(u)}}}var c=e[e.length-1];if(ry(r)?r[+c]=n(r[+c]):ey(r)&&(r[c]=n(r[c])),iy(r)){var l=Iy(r,+c),d=n(l);l!==d&&(r.delete(l),r.add(d))}if(oy(r)){a=+e[e.length-2];var p=Iy(r,a);switch(s=0==+c?"key":"value"){case"key":var f=n(p);r.set(f,r.get(p)),f!==p&&r.delete(p);break;case"value":r.set(p,n(r.get(p)))}}return t},Oy=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Py=function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t};function xy(t,e,n){if(void 0===n&&(n=[]),t)if(ry(t)){var r=Oy(t,2),o=r[0],i=r[1];i&&Yh(i,(function(t,r){xy(t,e,Py(Py([],Oy(n)),Oy(dy(r))))})),e(o,n)}else Yh(t,(function(t,r){return xy(t,e,Py(Py([],Oy(n)),Oy(dy(r))))}))}function Dy(t,e,n){return xy(e,(function(e,r){t=Ty(t,r,(function(t){return function(t,e,n){if(!ry(e)){var r=Ry[e];if(!r)throw new Error("Unknown transformation: "+e);return r.untransform(t,n)}switch(e[0]){case"symbol":return vy.untransform(t,e,n);case"class":return ky.untransform(t,e,n);case"custom":return _y.untransform(t,e,n);case"typed-array":return Ey.untransform(t,e,n);default:throw new Error("Unknown transformation: "+e)}}(t,e,n)}))})),t}function Ny(t,e){function n(e,n){var r=function(t,e){Ay(e);for(var n=0;n<e.length;n++){var r=e[n];if(iy(t))t=Iy(t,+r);else if(oy(t)){var o=+r,i=0==+e[++n]?"key":"value",a=Iy(t,o);switch(i){case"key":t=a;break;case"value":t=t.get(a)}}else t=t[r]}return t}(t,dy(n));e.map(dy).forEach((function(e){t=Ty(t,e,(function(){return r}))}))}if(ry(e)){var r=Oy(e,2),o=r[0],i=r[1];o.forEach((function(e){t=Ty(t,dy(e),(function(){return t}))})),i&&Yh(i,n)}else Yh(e,n);return t}var Ly=function(t,e,n,r,o,i,a){var s;void 0===o&&(o=[]),void 0===i&&(i=[]),void 0===a&&(a=new Map);var u=uy(t);if(!u){!function(t,e,n){var r=n.get(t);r?r.push(e):n.set(t,[e])}(t,o,e);var c=a.get(t);if(c)return r?{transformedValue:null}:c}if(!function(t,e){return ey(t)||ry(t)||oy(t)||iy(t)||Cy(t,e)}(t,n)){var l=Sy(t,n),d=l?{transformedValue:l.value,annotations:[l.type]}:{transformedValue:t};return u||a.set(t,d),d}if(Xh(i,t))return{transformedValue:null};var p=Sy(t,n),f=null!==(s=null==p?void 0:p.value)&&void 0!==s?s:t,h=ry(f)?[]:{},y={};Yh(f,(function(s,u){var c=Ly(s,e,n,r,Py(Py([],Oy(o)),[u]),Py(Py([],Oy(i)),[t]),a);h[u]=c.transformedValue,ry(c.annotations)?y[u]=c.annotations:ey(c.annotations)&&Yh(c.annotations,(function(t,e){y[cy(u)+"."+e]=t}))}));var g=ny(y)?{transformedValue:h,annotations:p?[p.type]:void 0}:{transformedValue:h,annotations:p?[p.type,y]:y};return u||a.set(t,g),g};function My(t){return Object.prototype.toString.call(t).slice(8,-1)}function By(t){return"Array"===My(t)}function Fy(t,e={}){if(By(t))return t.map((t=>Fy(t,e)));if(!function(t){if("Object"!==My(t))return!1;const e=Object.getPrototypeOf(t);return!!e&&e.constructor===Object&&e===Object.prototype}(t))return t;return[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)].reduce(((n,r)=>{if(By(e.props)&&!e.props.includes(r))return n;return function(t,e,n,r,o){const i={}.propertyIsEnumerable.call(r,e)?"enumerable":"nonenumerable";"enumerable"===i&&(t[e]=n),o&&"nonenumerable"===i&&Object.defineProperty(t,e,{value:n,enumerable:!1,writable:!0,configurable:!0})}(n,r,Fy(t[r],e),t,e.nonenumerable),n}),{})}var Uy=function(){return Uy=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Uy.apply(this,arguments)},jy=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},zy=function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t},qy=function(){function t(t){var e=(void 0===t?{}:t).dedupe,n=void 0!==e&&e;this.classRegistry=new Wh,this.symbolRegistry=new Qh((function(t){var e;return null!==(e=t.description)&&void 0!==e?e:""})),this.customTransformerRegistry=new Zh,this.allowedErrorProps=[],this.dedupe=n}return t.prototype.serialize=function(t){var e=new Map,n=Ly(t,e,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta=Uy(Uy({},r.meta),{values:n.annotations}));var o,i,a,s,u=(o=e,i=this.dedupe,a={},s=void 0,o.forEach((function(t){if(!(t.length<=1)){i||(t=t.map((function(t){return t.map(String)})).sort((function(t,e){return t.length-e.length})));var e=Oy(t),n=e[0],r=e.slice(1);0===n.length?s=r.map(ly):a[ly(n)]=r.map(ly)}})),s?ny(a)?[s]:[s,a]:ny(a)?void 0:a);return u&&(r.meta=Uy(Uy({},r.meta),{referentialEqualities:u})),r},t.prototype.deserialize=function(t){var e=t.json,n=t.meta,r=Fy(e);return(null==n?void 0:n.values)&&(r=Dy(r,n.values,this)),(null==n?void 0:n.referentialEqualities)&&(r=Ny(r,n.referentialEqualities)),r},t.prototype.stringify=function(t){return JSON.stringify(this.serialize(t))},t.prototype.parse=function(t){return this.deserialize(JSON.parse(t))},t.prototype.registerClass=function(t,e){this.classRegistry.register(t,e)},t.prototype.registerSymbol=function(t,e){this.symbolRegistry.register(t,e)},t.prototype.registerCustom=function(t,e){this.customTransformerRegistry.register(Uy({name:e},t))},t.prototype.allowErrorProps=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];(t=this.allowedErrorProps).push.apply(t,zy([],jy(e)))},t.defaultInstance=new t,t.serialize=t.defaultInstance.serialize.bind(t.defaultInstance),t.deserialize=t.defaultInstance.deserialize.bind(t.defaultInstance),t.stringify=t.defaultInstance.stringify.bind(t.defaultInstance),t.parse=t.defaultInstance.parse.bind(t.defaultInstance),t.registerClass=t.defaultInstance.registerClass.bind(t.defaultInstance),t.registerSymbol=t.defaultInstance.registerSymbol.bind(t.defaultInstance),t.registerCustom=t.defaultInstance.registerCustom.bind(t.defaultInstance),t.allowErrorProps=t.defaultInstance.allowErrorProps.bind(t.defaultInstance),t}();const Vy={background:"#0b1521",backgroundAlt:"#132337",foreground:"white",gray:"#3f4e60",grayAlt:"#222e3e",inputBackgroundColor:"#fff",inputTextColor:"#000",success:"#00ab52",danger:"#ff0085",active:"#006bff",paused:"#8c49eb",warning:"#ffb200"},Gy=c.createContext(Vy);function Qy({theme:t,...e}){return c.createElement(Gy.Provider,wh({value:t},e))}function Ky({queryState:t,observerCount:e,isStale:n,theme:r}){return"fetching"===t.fetchStatus?r.active:e?"paused"===t.fetchStatus?r.paused:n?r.warning:r.success:r.gray}function Wy(t){return"fetching"===t.state.fetchStatus?"fetching":t.getObserversCount()?"paused"===t.state.fetchStatus?"paused":t.isStale()?"stale":"fresh":"inactive"}function Hy(t,e,n={}){return c.forwardRef((({style:r,...o},i)=>{const a=c.useContext(Gy),s=Object.entries(n).reduce(((t,[e,n])=>function(t){const[e,n]=c.useState((()=>{if("undefined"!=typeof window)return window.matchMedia(t).matches}));return c.useEffect((()=>{if("undefined"!=typeof window){const e=window.matchMedia(t),r=({matches:t})=>n(t);return e.addListener(r),()=>{e.removeListener(r)}}}),[e,t,n]),e}(e)?{...t,..."function"==typeof n?n(o,a):n}:t),{});return c.createElement(t,{...o,style:{..."function"==typeof e?e(o,a):e,...r,...s},ref:i})}))}const Jy=(t,e=!1)=>{const{json:n}=qy.serialize(t);return JSON.stringify(n,null,e?2:void 0)},Yy=t=>"idle"!==t.state.fetchStatus?0:t.getObserversCount()?t.isStale()?2:1:3,Xy=(t,e)=>t.state.dataUpdatedAt<e.state.dataUpdatedAt?1:-1,$y={"Status > Last Updated":(t,e)=>Yy(t)===Yy(e)?Xy(t,e):Yy(t)>Yy(e)?1:-1,"Query Hash":(t,e)=>t.queryHash.localeCompare(e.queryHash),"Last Updated":Xy},Zy=500,tg={top:"bottom",bottom:"top",left:"right",right:"left"};function eg(t){return["left","right"].includes(t)}function ng(t){return tg[t]}function rg(t,e){return""+t+(e.charAt(0).toUpperCase()+e.slice(1))}function og(t="bottom"){const e=eg(t),n=ng(t),r=rg("margin",n);return{position:"absolute",cursor:e?"col-resize":"row-resize",zIndex:1e5,[n]:0,[r]:"-4px",...e?{top:0,height:"100%",width:"4px"}:{width:"100%",height:"4px"}}}const ig=Hy("div",((t,e)=>({fontSize:"clamp(12px, 1.5vw, 14px)",fontFamily:"sans-serif",display:"flex",backgroundColor:e.background,color:e.foreground})),{"(max-width: 700px)":{flexDirection:"column"},"(max-width: 600px)":{fontSize:".9em"}}),ag=Hy("div",(()=>({flex:"1 1 500px",display:"flex",flexDirection:"column",overflow:"auto",height:"100%"})),{"(max-width: 700px)":(t,e)=>({borderTop:"2px solid "+e.gray})}),sg=Hy("button",((t,e)=>({appearance:"none",fontSize:".9em",fontWeight:"bold",background:e.gray,border:"0",borderRadius:".3em",color:"white",padding:".5em",opacity:t.disabled?".5":void 0,cursor:"pointer"}))),ug=Hy("span",{display:"flex",flexWrap:"wrap",gap:"0.5em",fontSize:"0.9em"}),cg=Hy("span",{display:"inline-flex",alignItems:"center",padding:".2em .4em",fontWeight:"bold",textShadow:"0 0 10px black",borderRadius:".2em"}),lg=Hy("code",{fontSize:".9em",color:"inherit",background:"inherit"}),dg=Hy("input",((t,e)=>({backgroundColor:e.inputBackgroundColor,border:0,borderRadius:".2em",color:e.inputTextColor,fontSize:".9em",lineHeight:"1.3",padding:".3em .4em"}))),pg=Hy("select",((t,e)=>({display:"inline-block",fontSize:".9em",fontFamily:"sans-serif",fontWeight:"normal",lineHeight:"1.3",padding:".3em 1.5em .3em .5em",height:"auto",border:0,borderRadius:".2em",appearance:"none",WebkitAppearance:"none",backgroundColor:e.inputBackgroundColor,backgroundImage:"url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23444444'><polygon points='0,25 100,25 50,75'/></svg>\")",backgroundRepeat:"no-repeat",backgroundPosition:"right .55em center",backgroundSize:".65em auto, 100%",color:e.inputTextColor})),{"(max-width: 500px)":{display:"none"}});function fg({text:t}){return c.createElement("span",{style:{position:"absolute",width:"0.1px",height:"0.1px",overflow:"hidden"}},t)}const hg=Hy("div",{fontFamily:"Menlo, monospace",fontSize:"1em",lineHeight:"1.7",outline:"none",wordBreak:"break-word"}),yg=Hy("span",{color:"white"}),gg=Hy("button",{cursor:"pointer",color:"white"}),mg=Hy("button",{cursor:"pointer",color:"inherit",font:"inherit",outline:"inherit",background:"transparent",border:"none",padding:0}),vg=({value:t})=>{const[e,n]=c.useState("NoCopy");return c.createElement("button",{onClick:"NoCopy"===e?()=>{navigator.clipboard.writeText(qy.stringify(t)).then((()=>{n("SuccessCopy"),setTimeout((()=>{n("NoCopy")}),1500)}),(t=>{console.error("Failed to copy: ",t),n("ErrorCopy"),setTimeout((()=>{n("NoCopy")}),1500)}))}:void 0,style:{cursor:"pointer",color:"inherit",font:"inherit",outline:"inherit",background:"transparent",border:"none",padding:0}},"NoCopy"===e?c.createElement(_g,null):"SuccessCopy"===e?c.createElement(Sg,null):c.createElement(wg,null))},bg=Hy("span",((t,e)=>({color:e.danger}))),Eg=Hy("div",{marginLeft:".1em",paddingLeft:"1em",borderLeft:"2px solid rgba(0,0,0,.15)"}),Cg=Hy("span",{color:"grey",fontSize:".7em"}),kg=({expanded:t,style:e={}})=>c.createElement("span",{style:{display:"inline-block",transition:"all .1s ease",transform:"rotate("+(t?90:0)+"deg) "+(e.transform||""),...e}},"▶"),_g=()=>c.createElement("span",{"aria-label":"Copy object to clipboard",title:"Copy object to clipboard",style:{paddingLeft:"1em"}},c.createElement("svg",{height:"12",viewBox:"0 0 16 12",width:"10"},c.createElement("path",{fill:"currentColor",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"}),c.createElement("path",{fill:"currentColor",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"}))),wg=()=>c.createElement("span",{"aria-label":"Failed copying to clipboard",title:"Failed copying to clipboard",style:{paddingLeft:"1em",display:"flex",alignItems:"center"}},c.createElement("svg",{height:"12",viewBox:"0 0 16 12",width:"10",display:"block"},c.createElement("path",{fill:"red",d:"M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"})),c.createElement("span",{style:{color:"red",fontSize:"12px",paddingLeft:"4px",position:"relative",top:"2px"}},"See console")),Sg=()=>c.createElement("span",{"aria-label":"Object copied to clipboard",title:"Object copied to clipboard",style:{paddingLeft:"1em",display:"inline-block",verticalAlign:"middle"}},c.createElement("svg",{height:"16",viewBox:"0 0 16 16",width:"16",display:"block"},c.createElement("path",{fill:"green",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"})));const Rg=({handleEntry:t,label:e,value:n,subEntries:r=[],subEntryPages:o=[],type:i,expanded:a=!1,copyable:s=!1,toggleExpanded:u,pageSize:l})=>{const[d,p]=c.useState([]);return c.createElement(hg,{key:e},o.length?c.createElement(c.Fragment,null,c.createElement(mg,{onClick:()=>u()},c.createElement(kg,{expanded:a})," ",e," ",c.createElement(Cg,null,"iterable"===String(i).toLowerCase()?"(Iterable) ":"",r.length," ",r.length>1?"items":"item")),s?c.createElement(vg,{value:n}):null,a?1===o.length?c.createElement(Eg,null,r.map(t)):c.createElement(Eg,null,o.map(((e,n)=>c.createElement("div",{key:n},c.createElement(hg,null,c.createElement(gg,{onClick:()=>p((t=>t.includes(n)?t.filter((t=>t!==n)):[...t,n]))},c.createElement(kg,{expanded:a})," [",n*l," ..."," ",n*l+l-1,"]"),d.includes(n)?c.createElement(Eg,null,e.map(t)):null))))):null):c.createElement(c.Fragment,null,c.createElement(yg,null,e,":")," ",c.createElement(bg,null,Jy(n))))};function Ig({value:t,defaultExpanded:e,renderer:n=Rg,pageSize:r=100,copyable:o=!1,...i}){const[a,s]=c.useState(Boolean(e)),u=c.useCallback((()=>s((t=>!t))),[]);let l=typeof t,d=[];const p=t=>{const n=!0===e?{[t.label]:!0}:null==e?void 0:e[t.label];return{...t,defaultExpanded:n}};var f;Array.isArray(t)?(l="array",d=t.map(((t,e)=>p({label:e.toString(),value:t})))):null!==t&&"object"==typeof t&&(f=t,Symbol.iterator in f)&&"function"==typeof t[Symbol.iterator]?(l="Iterable",d=Array.from(t,((t,e)=>p({label:e.toString(),value:t})))):"object"==typeof t&&null!==t&&(l="object",d=Object.entries(t).map((([t,e])=>p({label:t,value:e}))));const h=function(t,e){if(e<1)return[];let n=0;const r=[];for(;n<t.length;)r.push(t.slice(n,n+e)),n+=e;return r}(d,r);return n({handleEntry:e=>c.createElement(Ig,wh({key:e.label,value:t,renderer:n,copyable:o},i,e)),type:l,subEntries:d,subEntryPages:h,value:t,expanded:a,copyable:o,toggleExpanded:u,pageSize:r,...i})}function Ag(t){return c.createElement("svg",wh({width:"40px",height:"40px",viewBox:"0 0 190 190",version:"1.1"},t),c.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(-33.000000, 0.000000)"},c.createElement("path",{d:"M72.7239712,61.3436237 C69.631224,46.362877 68.9675112,34.8727722 70.9666331,26.5293551 C72.1555965,21.5671678 74.3293088,17.5190846 77.6346064,14.5984631 C81.1241394,11.5150478 85.5360327,10.0020122 90.493257,10.0020122 C98.6712013,10.0020122 107.26826,13.7273214 116.455725,20.8044264 C120.20312,23.6910458 124.092437,27.170411 128.131651,31.2444746 C128.45314,30.8310265 128.816542,30.4410453 129.22143,30.0806152 C140.64098,19.9149716 150.255245,13.5989272 158.478408,11.1636507 C163.367899,9.715636 167.958526,9.57768202 172.138936,10.983031 C176.551631,12.4664684 180.06766,15.5329489 182.548314,19.8281091 C186.642288,26.9166735 187.721918,36.2310983 186.195595,47.7320243 C185.573451,52.4199112 184.50985,57.5263831 183.007094,63.0593153 C183.574045,63.1277086 184.142416,63.2532808 184.705041,63.4395297 C199.193932,68.2358678 209.453582,73.3937462 215.665021,79.2882839 C219.360669,82.7953831 221.773972,86.6998434 222.646365,91.0218204 C223.567176,95.5836746 222.669313,100.159332 220.191548,104.451297 C216.105211,111.529614 208.591643,117.11221 197.887587,121.534031 C193.589552,123.309539 188.726579,124.917559 183.293259,126.363748 C183.541176,126.92292 183.733521,127.516759 183.862138,128.139758 C186.954886,143.120505 187.618598,154.61061 185.619477,162.954027 C184.430513,167.916214 182.256801,171.964297 178.951503,174.884919 C175.46197,177.968334 171.050077,179.48137 166.092853,179.48137 C157.914908,179.48137 149.31785,175.756061 140.130385,168.678956 C136.343104,165.761613 132.410866,162.238839 128.325434,158.108619 C127.905075,158.765474 127.388968,159.376011 126.77857,159.919385 C115.35902,170.085028 105.744755,176.401073 97.5215915,178.836349 C92.6321009,180.284364 88.0414736,180.422318 83.8610636,179.016969 C79.4483686,177.533532 75.9323404,174.467051 73.4516862,170.171891 C69.3577116,163.083327 68.2780823,153.768902 69.8044053,142.267976 C70.449038,137.410634 71.56762,132.103898 73.1575891,126.339009 C72.5361041,126.276104 71.9120754,126.144816 71.2949591,125.940529 C56.8060684,121.144191 46.5464184,115.986312 40.3349789,110.091775 C36.6393312,106.584675 34.2260275,102.680215 33.3536352,98.3582381 C32.4328237,93.7963839 33.3306866,89.2207269 35.8084524,84.9287618 C39.8947886,77.8504443 47.4083565,72.2678481 58.1124133,67.8460273 C62.5385143,66.0176154 67.5637208,64.366822 73.1939394,62.8874674 C72.9933393,62.3969171 72.8349374,61.8811235 72.7239712,61.3436237 Z",fill:"#002C4B",fillRule:"nonzero",transform:"translate(128.000000, 95.000000) scale(-1, 1) translate(-128.000000, -95.000000) "}),c.createElement("path",{d:"M113.396882,64 L142.608177,64 C144.399254,64 146.053521,64.958025 146.944933,66.5115174 L161.577138,92.0115174 C162.461464,93.5526583 162.461464,95.4473417 161.577138,96.9884826 L146.944933,122.488483 C146.053521,124.041975 144.399254,125 142.608177,125 L113.396882,125 C111.605806,125 109.951539,124.041975 109.060126,122.488483 L94.4279211,96.9884826 C93.543596,95.4473417 93.543596,93.5526583 94.4279211,92.0115174 L109.060126,66.5115174 C109.951539,64.958025 111.605806,64 113.396882,64 Z M138.987827,70.2765273 C140.779849,70.2765273 142.434839,71.2355558 143.325899,72.7903404 L154.343038,92.0138131 C155.225607,93.5537825 155.225607,95.4462175 154.343038,96.9861869 L143.325899,116.20966 C142.434839,117.764444 140.779849,118.723473 138.987827,118.723473 L117.017233,118.723473 C115.225211,118.723473 113.570221,117.764444 112.67916,116.20966 L101.662022,96.9861869 C100.779452,95.4462175 100.779452,93.5537825 101.662022,92.0138131 L112.67916,72.7903404 C113.570221,71.2355558 115.225211,70.2765273 117.017233,70.2765273 L138.987827,70.2765273 Z M135.080648,77.1414791 L120.924411,77.1414791 C119.134228,77.1414791 117.480644,78.0985567 116.5889,79.6508285 L116.5889,79.6508285 L109.489217,92.0093494 C108.603232,93.5515958 108.603232,95.4484042 109.489217,96.9906506 L109.489217,96.9906506 L116.5889,109.349172 C117.480644,110.901443 119.134228,111.858521 120.924411,111.858521 L120.924411,111.858521 L135.080648,111.858521 C136.870831,111.858521 138.524416,110.901443 139.41616,109.349172 L139.41616,109.349172 L146.515843,96.9906506 C147.401828,95.4484042 147.401828,93.5515958 146.515843,92.0093494 L146.515843,92.0093494 L139.41616,79.6508285 C138.524416,78.0985567 136.870831,77.1414791 135.080648,77.1414791 L135.080648,77.1414791 Z M131.319186,83.7122186 C133.108028,83.7122186 134.760587,84.6678753 135.652827,86.2183156 L138.983552,92.0060969 C139.87203,93.5500005 139.87203,95.4499995 138.983552,96.9939031 L135.652827,102.781684 C134.760587,104.332125 133.108028,105.287781 131.319186,105.287781 L124.685874,105.287781 C122.897032,105.287781 121.244473,104.332125 120.352233,102.781684 L117.021508,96.9939031 C116.13303,95.4499995 116.13303,93.5500005 117.021508,92.0060969 L120.352233,86.2183156 C121.244473,84.6678753 122.897032,83.7122186 124.685874,83.7122186 L131.319186,83.7122186 Z M128.003794,90.1848875 C126.459294,90.1848875 125.034382,91.0072828 124.263005,92.3424437 C123.491732,93.6774232 123.491732,95.3225768 124.263005,96.6575563 C125.034382,97.9927172 126.459294,98.8151125 128.001266,98.8151125 L128.001266,98.8151125 C129.545766,98.8151125 130.970678,97.9927172 131.742055,96.6575563 C132.513327,95.3225768 132.513327,93.6774232 131.742055,92.3424437 C130.970678,91.0072828 129.545766,90.1848875 128.003794,90.1848875 L128.003794,90.1848875 Z M93,94.5009646 L100.767764,94.5009646",fill:"#FFD94C"}),c.createElement("path",{d:"M87.8601729,108.357758 C89.1715224,107.608286 90.8360246,108.074601 91.5779424,109.399303 L91.5779424,109.399303 L92.0525843,110.24352 C95.8563392,116.982993 99.8190116,123.380176 103.940602,129.435068 C108.807881,136.585427 114.28184,143.82411 120.362479,151.151115 C121.316878,152.30114 121.184944,154.011176 120.065686,154.997937 L120.065686,154.997937 L119.454208,155.534625 C99.3465389,173.103314 86.2778188,176.612552 80.2480482,166.062341 C74.3500652,155.742717 76.4844915,136.982888 86.6513274,109.782853 C86.876818,109.179582 87.3045861,108.675291 87.8601729,108.357758 Z M173.534177,129.041504 C174.986131,128.785177 176.375496,129.742138 176.65963,131.194242 L176.65963,131.194242 L176.812815,131.986376 C181.782365,157.995459 178.283348,171 166.315764,171 C154.609745,171 139.708724,159.909007 121.612702,137.727022 C121.211349,137.235047 120.994572,136.617371 121,135.981509 C121.013158,134.480686 122.235785,133.274651 123.730918,133.287756 L123.730918,133.287756 L124.684654,133.294531 C132.305698,133.335994 139.714387,133.071591 146.910723,132.501323 C155.409039,131.82788 164.283523,130.674607 173.534177,129.041504 Z M180.408726,73.8119663 C180.932139,72.4026903 182.508386,71.6634537 183.954581,72.149012 L183.954581,72.149012 L184.742552,72.4154854 C210.583763,81.217922 220.402356,90.8916805 214.198332,101.436761 C208.129904,111.751366 190.484347,119.260339 161.26166,123.963678 C160.613529,124.067994 159.948643,123.945969 159.382735,123.618843 C158.047025,122.846729 157.602046,121.158214 158.388848,119.847438 L158.388848,119.847438 L158.889328,119.0105 C162.877183,112.31633 166.481358,105.654262 169.701854,99.0242957 C173.50501,91.1948179 177.073967,82.7907081 180.408726,73.8119663 Z M94.7383398,66.0363218 C95.3864708,65.9320063 96.0513565,66.0540315 96.6172646,66.3811573 C97.9529754,67.153271 98.3979538,68.8417862 97.6111517,70.1525615 L97.6111517,70.1525615 L97.1106718,70.9895001 C93.1228168,77.6836699 89.5186416,84.3457379 86.2981462,90.9757043 C82.49499,98.8051821 78.9260328,107.209292 75.5912744,116.188034 C75.0678608,117.59731 73.4916142,118.336546 72.045419,117.850988 L72.045419,117.850988 L71.2574475,117.584515 C45.4162372,108.782078 35.597644,99.1083195 41.8016679,88.5632391 C47.8700957,78.2486335 65.515653,70.7396611 94.7383398,66.0363218 Z M136.545792,34.4653746 C156.653461,16.8966864 169.722181,13.3874478 175.751952,23.9376587 C181.649935,34.2572826 179.515508,53.0171122 169.348673,80.2171474 C169.123182,80.8204179 168.695414,81.324709 168.139827,81.6422422 C166.828478,82.3917144 165.163975,81.9253986 164.422058,80.6006966 L164.422058,80.6006966 L163.947416,79.7564798 C160.143661,73.0170065 156.180988,66.6198239 152.059398,60.564932 C147.192119,53.4145727 141.71816,46.1758903 135.637521,38.8488847 C134.683122,37.6988602 134.815056,35.9888243 135.934314,35.0020629 L135.934314,35.0020629 Z M90.6842361,18 C102.390255,18 117.291276,29.0909926 135.387298,51.2729777 C135.788651,51.7649527 136.005428,52.3826288 136,53.0184911 C135.986842,54.5193144 134.764215,55.7253489 133.269082,55.7122445 L133.269082,55.7122445 L132.315346,55.7054689 C124.694302,55.6640063 117.285613,55.9284091 110.089277,56.4986773 C101.590961,57.17212 92.7164767,58.325393 83.4658235,59.9584962 C82.0138691,60.2148231 80.6245044,59.2578618 80.3403697,57.805758 L80.3403697,57.805758 L80.1871846,57.0136235 C75.2176347,31.0045412 78.7166519,18 90.6842361,18 Z",fill:"#FF4154"}))))}const Tg=(t,e,n=!1)=>As.useSyncExternalStore(c.useCallback((e=>n?()=>{}:t.subscribe(us.batchCalls(e))),[t,n]),e,e),Og=c.forwardRef((function(t,e){const{isOpen:n=!0,styleNonce:r,setIsOpen:o,context:i,onDragStart:a,onPositionChange:s,showCloseButton:u,position:l,closeButtonProps:d={},errorTypes:p=[],...f}=t,{onClick:h,...y}=d,g=Ds({context:i}),m=g.getQueryCache(),[v,b]=qh("reactQueryDevtoolsSortFn",Object.keys($y)[0]),[E,C]=qh("reactQueryDevtoolsFilter",""),[k,_]=qh("reactQueryDevtoolsBaseSort",1),w=c.useMemo((()=>$y[v]),[v]),S=Tg(m,(()=>m.getAll().length),!n),[R,I]=qh("reactQueryDevtoolsActiveQueryHash",""),A=c.useMemo((()=>{const t=m.getAll();if(0===S)return[];const e=E?t.filter((t=>Mh(t.queryHash,E).passed)):[...t];return w?e.sort(((t,e)=>w(t,e)*k)):e}),[k,w,E,S,m]),[T,O]=c.useState(!1);return c.createElement(Qy,{theme:Vy},c.createElement(ig,wh({ref:e,className:"ReactQueryDevtoolsPanel","aria-label":"React Query Devtools Panel",id:"ReactQueryDevtoolsPanel"},f,{style:{height:Zy,position:"relative",...f.style}}),c.createElement("style",{nonce:r,dangerouslySetInnerHTML:{__html:"\n .ReactQueryDevtoolsPanel * {\n scrollbar-color: "+Vy.backgroundAlt+" "+Vy.gray+";\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar, .ReactQueryDevtoolsPanel scrollbar {\n width: 1em;\n height: 1em;\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar-track, .ReactQueryDevtoolsPanel scrollbar-track {\n background: "+Vy.backgroundAlt+";\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar-thumb, .ReactQueryDevtoolsPanel scrollbar-thumb {\n background: "+Vy.gray+";\n border-radius: .5em;\n border: 3px solid "+Vy.backgroundAlt+";\n }\n "}}),c.createElement("div",{style:og(l),onMouseDown:a}),n&&c.createElement("div",{style:{flex:"1 1 500px",minHeight:"40%",maxHeight:"100%",overflow:"auto",borderRight:"1px solid "+Vy.grayAlt,display:"flex",flexDirection:"column"}},c.createElement("div",{style:{padding:".5em",background:Vy.backgroundAlt,display:"flex",justifyContent:"space-between",alignItems:"center"}},c.createElement("button",{type:"button","aria-label":"Close React Query Devtools","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"true",onClick:()=>o(!1),style:{display:"inline-flex",background:"none",border:0,padding:0,marginRight:".5em",cursor:"pointer"}},c.createElement(Ag,{"aria-hidden":!0}),c.createElement(fg,{text:"Close React Query Devtools"})),c.createElement("div",{style:{display:"flex",flexDirection:"column"}},c.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:".5em"}},c.createElement(xg,{queryCache:m}),l&&s?c.createElement(pg,{"aria-label":"Panel position",value:l,style:{marginInlineStart:".5em"},onChange:t=>s(t.target.value)},c.createElement("option",{value:"left"},"Left"),c.createElement("option",{value:"right"},"Right"),c.createElement("option",{value:"top"},"Top"),c.createElement("option",{value:"bottom"},"Bottom")):null),c.createElement("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:"0.5em"}},c.createElement(dg,{placeholder:"Filter","aria-label":"Filter by queryhash",value:null!=E?E:"",onChange:t=>C(t.target.value),onKeyDown:t=>{"Escape"===t.key&&C("")},style:{flex:"1",width:"100%"}}),c.createElement(pg,{"aria-label":"Sort queries",value:v,onChange:t=>b(t.target.value),style:{flex:"1",minWidth:75,marginRight:".5em"}},Object.keys($y).map((t=>c.createElement("option",{key:t,value:t},"Sort by ",t)))),c.createElement(sg,{type:"button",onClick:()=>_((t=>-1*t)),style:{padding:".3em .4em",marginRight:".5em"}},1===k?"⬆ Asc":"⬇ Desc"),c.createElement(sg,{title:"Clear cache","aria-label":"Clear cache",type:"button",onClick:()=>m.clear(),style:{padding:".3em .4em",marginRight:".5em"}},"Clear"),c.createElement(sg,{type:"button",onClick:()=>{T?(es.setOnline(void 0),O(!1),window.dispatchEvent(new Event("online"))):(es.setOnline(!1),O(!0))},"aria-label":T?"Restore offline mock":"Mock offline behavior",title:T?"Restore offline mock":"Mock offline behavior",style:{padding:"0",height:"2em"}},c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"2em",height:"2em",viewBox:"0 0 24 24",stroke:T?Vy.danger:"currentColor",fill:"none"},T?c.createElement(c.Fragment,null,c.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),c.createElement("line",{x1:"12",y1:"18",x2:"12.01",y2:"18"}),c.createElement("path",{d:"M9.172 15.172a4 4 0 0 1 5.656 0"}),c.createElement("path",{d:"M6.343 12.343a7.963 7.963 0 0 1 3.864 -2.14m4.163 .155a7.965 7.965 0 0 1 3.287 2"}),c.createElement("path",{d:"M3.515 9.515a12 12 0 0 1 3.544 -2.455m3.101 -.92a12 12 0 0 1 10.325 3.374"}),c.createElement("line",{x1:"3",y1:"3",x2:"21",y2:"21"})):c.createElement(c.Fragment,null,c.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),c.createElement("line",{x1:"12",y1:"18",x2:"12.01",y2:"18"}),c.createElement("path",{d:"M9.172 15.172a4 4 0 0 1 5.656 0"}),c.createElement("path",{d:"M6.343 12.343a8 8 0 0 1 11.314 0"}),c.createElement("path",{d:"M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0"}))),c.createElement(fg,{text:T?"Restore offline mock":"Mock offline behavior"}))))),c.createElement("div",{style:{overflowY:"auto",flex:"1"}},A.map((t=>c.createElement(Dg,{queryKey:t.queryKey,activeQueryHash:R,setActiveQueryHash:I,key:t.queryHash,queryCache:m}))))),R&&n?c.createElement(Pg,{activeQueryHash:R,queryCache:m,queryClient:g,errorTypes:p}):null,u?c.createElement(sg,wh({type:"button","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"true"},y,{style:{position:"absolute",zIndex:99999,margin:".5em",bottom:0,left:0,...y.style},onClick:t=>{o(!1),null==h||h(t)}}),"Close"):null))})),Pg=({queryCache:t,activeQueryHash:e,queryClient:n,errorTypes:r})=>{var o,i;const a=Tg(t,(()=>t.getAll().find((t=>t.queryHash===e)))),s=Tg(t,(()=>{var n;return null==(n=t.getAll().find((t=>t.queryHash===e)))?void 0:n.state})),u=null!=(o=Tg(t,(()=>{var n;return null==(n=t.getAll().find((t=>t.queryHash===e)))?void 0:n.isStale()})))&&o,l=null!=(i=Tg(t,(()=>{var n;return null==(n=t.getAll().find((t=>t.queryHash===e)))?void 0:n.getObserversCount()})))?i:0,d=h((()=>{if(a&&null!=s&&s.error){const t=r.find((t=>{var e;return t.initializer(a).toString()===(null==(e=s.error)?void 0:e.toString())}));return null==t?void 0:t.name}}),[a,null==s?void 0:s.error,r]);if(!a||!s)return null;const p=t=>{var e;const n=null!=(e=null==t?void 0:t.initializer(a))?e:new Error("Unknown error from devtools"),r=a.options;a.setState({status:"error",error:n,fetchMeta:{...a.state.fetchMeta,__previousQueryOptions:r}})};return c.createElement(ag,null,c.createElement("div",{style:{padding:".5em",background:Vy.backgroundAlt,position:"sticky",top:0,zIndex:1}},"Query Details"),c.createElement("div",{style:{padding:".5em"}},c.createElement("div",{style:{marginBottom:".5em",display:"flex",alignItems:"flex-start",justifyContent:"space-between"}},c.createElement(lg,{style:{lineHeight:"1.8em"}},c.createElement("pre",{style:{margin:0,padding:0,overflow:"auto"}},Jy(a.queryKey,!0))),c.createElement("span",{style:{padding:"0.3em .6em",borderRadius:"0.4em",fontWeight:"bold",textShadow:"0 2px 10px black",background:Ky({queryState:s,isStale:u,observerCount:l,theme:Vy}),flexShrink:0}},Wy(a))),c.createElement("div",{style:{marginBottom:".5em",display:"flex",alignItems:"center",justifyContent:"space-between"}},"Observers: ",c.createElement(lg,null,l)),c.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"Last Updated:"," ",c.createElement(lg,null,new Date(s.dataUpdatedAt).toLocaleTimeString()))),c.createElement("div",{style:{background:Vy.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Actions"),c.createElement("div",{style:{padding:"0.5em",display:"flex",flexWrap:"wrap",gap:"0.5em",alignItems:"flex-end"}},c.createElement(sg,{type:"button",onClick:()=>{const t=null==a?void 0:a.fetch();null==t||t.catch(Ng)},disabled:"fetching"===s.fetchStatus,style:{background:Vy.active}},"Refetch")," ",c.createElement(sg,{type:"button",onClick:()=>n.invalidateQueries(a),style:{background:Vy.warning,color:Vy.inputTextColor}},"Invalidate")," ",c.createElement(sg,{type:"button",onClick:()=>n.resetQueries(a),style:{background:Vy.gray}},"Reset")," ",c.createElement(sg,{type:"button",onClick:()=>n.removeQueries(a),style:{background:Vy.danger}},"Remove")," ",c.createElement(sg,{type:"button",onClick:()=>{var t;if("fetching"!==a.state.fetchStatus||void 0!==(null==(t=a.state.fetchMeta)?void 0:t.__previousQueryOptions))if(void 0===a.state.data)a.fetch(a.state.fetchMeta.__previousQueryOptions,{cancelRefetch:!0});else{const t=a.options;a.fetch({...t,queryFn:()=>new Promise((()=>{})),cacheTime:-1}),a.setState({data:void 0,status:"loading",fetchMeta:{...a.state.fetchMeta,__previousQueryOptions:t}})}},style:{background:Vy.paused}},"loading"===a.state.status?"Restore":"Trigger"," ","loading")," ",0===r.length||"error"===a.state.status?c.createElement(sg,{type:"button",onClick:()=>{a.state.error?n.resetQueries(a):p()},style:{background:Vy.danger}},"error"===a.state.status?"Restore":"Trigger"," error"):c.createElement("label",null,"Trigger error:",c.createElement(pg,{value:null!=d?d:"",style:{marginInlineStart:".5em"},onChange:t=>{const e=r.find((e=>e.name===t.target.value));p(e)}},c.createElement("option",{key:"",value:""}),r.map((t=>c.createElement("option",{key:t.name,value:t.name},t.name)))))),c.createElement("div",{style:{background:Vy.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Data Explorer"),c.createElement("div",{style:{padding:".5em"}},c.createElement(Ig,{label:"Data",value:s.data,defaultExpanded:{},copyable:!0})),c.createElement("div",{style:{background:Vy.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Query Explorer"),c.createElement("div",{style:{padding:".5em"}},c.createElement(Ig,{label:"Query",value:a,defaultExpanded:{queryKey:!0}})))},xg=({queryCache:t})=>{const e=Tg(t,(()=>t.getAll().filter((t=>"fresh"===Wy(t))).length)),n=Tg(t,(()=>t.getAll().filter((t=>"fetching"===Wy(t))).length)),r=Tg(t,(()=>t.getAll().filter((t=>"paused"===Wy(t))).length)),o=Tg(t,(()=>t.getAll().filter((t=>"stale"===Wy(t))).length)),i=Tg(t,(()=>t.getAll().filter((t=>"inactive"===Wy(t))).length));return c.createElement(ug,null,c.createElement(cg,{style:{background:Vy.success,opacity:e?1:.3}},"fresh ",c.createElement(lg,null,"(",e,")"))," ",c.createElement(cg,{style:{background:Vy.active,opacity:n?1:.3}},"fetching ",c.createElement(lg,null,"(",n,")"))," ",c.createElement(cg,{style:{background:Vy.paused,opacity:r?1:.3}},"paused ",c.createElement(lg,null,"(",r,")"))," ",c.createElement(cg,{style:{background:Vy.warning,color:"black",textShadow:"0",opacity:o?1:.3}},"stale ",c.createElement(lg,null,"(",o,")"))," ",c.createElement(cg,{style:{background:Vy.gray,opacity:i?1:.3}},"inactive ",c.createElement(lg,null,"(",i,")")))},Dg=c.memo((({queryKey:t,setActiveQueryHash:e,activeQueryHash:n,queryCache:r})=>{var o,i,a,s;const u=null!=(o=Tg(r,(()=>{var e;return null==(e=r.find(t))?void 0:e.queryHash})))?o:"",l=Tg(r,(()=>{var e;return null==(e=r.find(t))?void 0:e.state})),d=null!=(i=Tg(r,(()=>{var e;return null==(e=r.find(t))?void 0:e.isStale()})))&&i,p=null!=(a=Tg(r,(()=>{var e;return null==(e=r.find(t))?void 0:e.isDisabled()})))&&a,f=null!=(s=Tg(r,(()=>{var e;return null==(e=r.find(t))?void 0:e.getObserversCount()})))?s:0;return l?c.createElement("div",{role:"button","aria-label":"Open query details for "+u,onClick:()=>e(n===u?"":u),style:{display:"flex",borderBottom:"solid 1px "+Vy.grayAlt,cursor:"pointer",background:u===n?"rgba(255,255,255,.1)":void 0}},c.createElement("div",{style:{flex:"0 0 auto",width:"2em",height:"2em",background:Ky({queryState:l,isStale:d,observerCount:f,theme:Vy}),display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",textShadow:d?"0":"0 0 10px black",color:d?"black":"white"}},f),p?c.createElement("div",{style:{flex:"0 0 auto",height:"2em",background:Vy.gray,display:"flex",alignItems:"center",fontWeight:"bold",padding:"0 0.5em"}},"disabled"):null,c.createElement(lg,{style:{padding:".5em"}},""+u)):null}));function Ng(){}Dg.displayName="QueryRow";const Lg="development"!==process.env.NODE_ENV?function(){return null}:function({initialIsOpen:t,panelProps:e={},closeButtonProps:n={},toggleButtonProps:r={},position:o="bottom-left",containerElement:i="aside",context:a,styleNonce:s,panelPosition:u="bottom",errorTypes:l=[]}){const d=c.useRef(null),p=c.useRef(null),[f,h]=qh("reactQueryDevtoolsOpen",t),[y,g]=qh("reactQueryDevtoolsHeight",Zy),[m,v]=qh("reactQueryDevtoolsWidth",Zy),[b="bottom",E]=qh("reactQueryDevtoolsPanelPosition",u),[C,k]=c.useState(!1),[_,w]=c.useState(!1),S=function(){const t=c.useRef(!1),e=c.useCallback((()=>t.current),[]);return c.useEffect((()=>(t.current=!0,()=>{t.current=!1})),[]),e}();c.useEffect((()=>{k(null!=f&&f)}),[f,C,k]),c.useEffect((()=>{const t=p.current;if(t){const e=()=>{C&&(t.style.visibility="visible")},n=()=>{C||(t.style.visibility="hidden")};return t.addEventListener("transitionstart",e),t.addEventListener("transitionend",n),()=>{t.removeEventListener("transitionstart",e),t.removeEventListener("transitionend",n)}}}),[C]),c.useEffect((()=>{var t;if(C&&null!=(t=d.current)&&t.parentElement){const{parentElement:t}=d.current,e=rg("padding",b),n=eg(b),r=(({padding:t,paddingTop:e,paddingBottom:n,paddingLeft:r,paddingRight:o})=>({padding:t,paddingTop:e,paddingBottom:n,paddingLeft:r,paddingRight:o}))(t.style),o=()=>{t.style.padding="0px",t.style.paddingTop="0px",t.style.paddingBottom="0px",t.style.paddingLeft="0px",t.style.paddingRight="0px",t.style[e]=(n?m:y)+"px"};if(o(),"undefined"!=typeof window)return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o),Object.entries(r).forEach((([e,n])=>{t.style[e]=n}))}}}),[C,b,y,m]);const{style:R={},...I}=e,{style:A={},onClick:T,...O}=r,P=function({position:t="bottom",height:e,width:n,devtoolsTheme:r,isOpen:o,isResizing:i,panelStyle:a}){const s=ng(t),u=rg("border",s),c=eg(t);return{...a,direction:"ltr",position:"fixed",[t]:0,[u]:"1px solid "+r.gray,transformOrigin:s,boxShadow:"0 0 20px rgba(0,0,0,.3)",zIndex:99999,visibility:o?"visible":"hidden",...i?{transition:"none"}:{transition:"all .2s ease"},...o?{opacity:1,pointerEvents:"all",transform:c?"translateX(0) scale(1)":"translateY(0) scale(1)"}:{opacity:0,pointerEvents:"none",transform:c?"translateX(15px) scale(1.02)":"translateY(15px) scale(1.02)"},...c?{top:0,height:"100vh",maxWidth:"90%",width:"number"==typeof n&&n>=70?n:Zy}:{left:0,width:"100%",maxHeight:"90%",height:"number"==typeof e&&e>=70?e:Zy}}}({position:b,devtoolsTheme:Vy,isOpen:C,height:y,width:m,isResizing:_,panelStyle:R});return S()?c.createElement(i,{ref:d,className:"ReactQueryDevtools","aria-label":"React Query Devtools"},c.createElement(Qy,{theme:Vy},c.createElement(Og,wh({ref:p,context:a,styleNonce:s,position:b,onPositionChange:E,showCloseButton:!0,closeButtonProps:n},I,{style:P,isOpen:C,setIsOpen:h,onDragStart:t=>((t,e)=>{if(!t)return;if(0!==e.button)return;const n=eg(b);w(!0);const{height:r,width:o}=t.getBoundingClientRect(),i=e.clientX,a=e.clientY;let s=0;const u=t=>{t.preventDefault(),n?(s=o+("right"===b?i-t.clientX:t.clientX-i),v(s)):(s=r+("bottom"===b?a-t.clientY:t.clientY-a),g(s)),h(!(s<70))},c=()=>{_&&w(!1),document.removeEventListener("mousemove",u,!1),document.removeEventListener("mouseUp",c,!1)};document.addEventListener("mousemove",u,!1),document.addEventListener("mouseup",c,!1)})(p.current,t),errorTypes:l}))),C?null:c.createElement("button",wh({type:"button"},O,{"aria-label":"Open React Query Devtools","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"false",onClick:t=>{h(!0),null==T||T(t)},style:{background:"none",border:0,padding:0,position:"fixed",zIndex:99999,display:"inline-flex",fontSize:"1.5em",margin:".5em",cursor:"pointer",width:"fit-content",..."top-right"===o?{top:"0",right:"0"}:"top-left"===o?{top:"0",left:"0"}:"bottom-right"===o?{bottom:"0",right:"0"}:{bottom:"0",left:"0"},...A}}),c.createElement(Ag,{"aria-hidden":!0}),c.createElement(fg,{text:"Open React Query Devtools"}))):null};process.env.NODE_ENV;var Mg,Bg={backgroundColor:"#fcfcff",width:"100%",zIndex:1e7,height:"100%",position:"absolute"};function Fg(t){var r=this,i=t.children,a=process.env.ENVIRONMENT,s=h((function(){return"DEV"!==a&&"LOCAL"!==a?"testing":"live"}),[process.env.ENVIRONMENT]),u=d(!1),c=u[0],l=u[1],p=y((function(t){return e(r,void 0,void 0,(function(){var e,r,i,a,u;return n(this,(function(n){switch(n.label){case 0:return e=localStorage.getItem("headers"),r=e&&JSON.parse(e),i=localStorage.getItem("isTesting")&&"OFF"!==localStorage.getItem("isTesting")?"testing":"live",a=localStorage.getItem("x-organization-code"),u=a?JSON.parse(a).value:"",[4,Oa.refreshInstance({headers:o(o({},r),{"X-Environment":i||s,"x-organization-code":u,"x-account-code":t.detail.accountCode,"X-Content-Type-Options":"nosniff"})})];case 1:return n.sent(),[2]}}))}))}),[s,l]);f((function(){return addEventListener("ACCOUNT_CHANGED",p),function(){window.removeEventListener("ACCOUNT_CHANGED",p)}}),[p]);var g=y((function(t){return e(r,void 0,void 0,(function(){var e,r,i,a,u,c,d;return n(this,(function(n){switch(n.label){case 0:return e=localStorage.getItem("headers"),(r=e&&JSON.parse(e))?(i=localStorage.getItem("x-organization-code"),a=localStorage.getItem("account"),u=a?null===(d=JSON.parse(a).value)||void 0===d?void 0:d.code:"",c=i?JSON.parse(i).value:"",[4,Oa.refreshInstance({headers:o(o({},r),{"X-Environment":t||s,"x-organization-code":c,"x-account-code":u,"X-Content-Type-Options":"nosniff"})})]):[3,2];case 1:n.sent(),Nu.refetchQueries(["fetch-profile","accountsV2","accounts","fetch-all-organizations","fetch-permissions"]),l(!0),n.label=2;case 2:return[2]}}))}))}),[s,l]);return f((function(){var t=localStorage.getItem("isTesting")&&"OFF"!==localStorage.getItem("isTesting")?"testing":"live";window.addEventListener("storage",(function(e){if("token"===e.key||"isTesting"===e.key){var n="OFF"===e.newValue?"live":"testing";"isTesting"===e.key?g(n):"token"===e.key&&g(t)}})),g(t)}),[l,g]),c?React.createElement(Ns,{client:Nu},i,React.createElement(Lg,{initialIsOpen:!1})):React.createElement("div",{style:Bg})}!function(t){t.ECONNABORTED="ECONNABORTED",t.ETIMEDOUT="ETIMEDOUT",t.ERR_BAD_REQUEST="ERR_BAD_REQUEST"}(Mg||(Mg={}));var Ug=["LOCAL","DEV","STG"].includes(process.env.ENVIRONMENT||"");"undefined"!=typeof window&&Ug&&function(){e(this,void 0,void 0,(function(){var t;return n(this,(function(e){switch(e.label){case 0:if(!A())return console.info('MSW is disabled. Run "window.enableMSW()" to enable it.'),[2];console.info('MSW is enabled. Run "window.disableMSW()" to disable it.'),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,S.start({serviceWorker:{url:"/mockServiceWorker.js"},onUnhandledRequest:"bypass"})];case 2:return e.sent(),[3,4];case 3:return t=e.sent(),console.error("Error starting MSW:",t),[3,4];case 4:return[2]}}))}))}();export{Xf as ALL_FEATURE_FLAGS,Aa as Api,Mg as ApiErrorCodes,Fg as ApiProvider,Oa as ApiSingleton,Bo as Cms,Mo as Country,jo as DataReport,Lo as Organization,qo as ReconciliationAgendaInsight,zo as ReconciliationReportType,Fo as ReportType,No as SendPaymentNotification,Uo as TemplateType,Cp as getQueryKeyGetNameAndIcon,_p as getQueryKeyRequiredFields,Du as queryCache,Nu as queryClient,gp as use3DSExemptions,jl as useAICreateWorkflow,$f as useAllFeatureFlags,yh as useAllowListDetail,du as useArchiveConnection,hh as useBlackListDetail,Zf as useCachedFeatureFlag,Uu as useCancelReport,gu as useChangePassword,mu as useChangePasswordV2,$c as useChangePaymentsWebhook,sc as useChangeState,Kc as useChangeStatusBlackList,Wc as useChangeStatusItemBlackList,xu as useChargebacksUpload,Oc as useConfirmedOtpForEnrollment,Tc as useConfirmedOtpMfa,xf as useConversionRateOverview,Df as useConversionRateOverviewFraud3ds,Fu as useCountRowsForReport,zl as useCreateChart,ic as useCreateMonitorTemplate,oc as useCreateMonitorThreshold,ac as useCreateNotification,Pu as useCreateOperationTransaction,gc as useCreatePaymentLinks,mc as useCreateProductsByAccount,Dl as useCreateReconciliationAlert,Pl as useCreateReconciliationReportTemplate,Mu as useCreateReconciliationsReportV2,Lu as useCreateReport,ju as useCreateReportTemplate,Bu as useCreateReportV2,fc as useCreateRoles,Bl as useCreateSamlConfig,fl as useCreateScheduledReport,wu as useCreateUserAuth0,qu as useCreateWorkflow,rf as useDashboardInsights,of as useDashboardInsightsIsolated,eu as useDeleteAccountsUserMassive,el as useDeleteAllowlistItem,Yc as useDeleteBlackListItem,Jc as useDeleteBlackListType,Zc as useDeleteBlockListItem,ql as useDeleteChart,lu as useDeleteConnection,Rl as useDeleteCustomizedApiKeys,vc as useDeletePaymentLink,Nl as useDeleteReconciliationAlert,yc as useDeleteRoles,Ul as useDeleteSamlConfig,yl as useDeleteScheduledReport,lc as useDeleteUserTeam,dc as useDeleteUserTeamV2,Ku as useDeleteVersion,Qs as useDeleteWebhook,Ks as useDeleteWebhookV2,Wu as useDuplicateVersion,bc as useEditPaymentLinks,hc as useEditRoles,Tp as useEmailVerification,dl as useExcludeUsers,Yf as useFeatureFlags,uh as useFirebaseUserSubscribe,Qd as useGetAccounts,Wd as useGetAccountsByUser,Kd as useGetAccountsV2,bh as useGetAllConfigRules,Od as useGetAllOrganizations,Hf as useGetAllReconciliationsAdvancements,Qf as useGetAllReconciliationsAgenda,Gf as useGetAllReconciliationsAlerts,Jf as useGetAllReconciliationsFees,Wf as useGetAllReconciliationsSales,jf as useGetAllTableColumns,wd as useGetAllowedIps,th as useGetAuditEvents,Zd as useGetAuditLogsFilters,eh as useGetAuditMonitorEventDetail,sl as useGetBatchRefundProcessedFileDownload,ul as useGetBatchRefundUserFileDownload,mh as useGetBatchRefunds,lh as useGetBlackList,fh as useGetBlockListSummary,id as useGetCardBrands,Ep as useGetCheckoutTemplate,bp as useGetCheckouts,gl as useGetConditionalConfigRules,ch as useGetConfigAllowlist,Bd as useGetConnections,Ld as useGetConnectionsByPaymentMethod,ah as useGetCountriesConfigPaymentLink,Cd as useGetCredentials,Tl as useGetCredentialsMFA,kd as useGetCredentialsValidatePassword,Rd as useGetCustomizedApiKeys,Sd as useGetCustomizedApiKeysAccounts,_d as useGetCustomizedApiKeysMembers,Id as useGetCustomizedApiKeysProducts,Sl as useGetCustomizedApiKeysShowToken,_l as useGetCustomizedApiKeysToken,tp as useGetDashboardStaticContents,Fd as useGetDialogs,qp as useGetDownloadReport,Ic as useGetEmailOtp,Md as useGetHashPylon,Nc as useGetIndividualMFAStatus,mf as useGetInsightsReport,vf as useGetInsightsReportAgain,Dd as useGetIntegrationByAccount,Nd as useGetIntegrationByAccountV2,xd as useGetIntegrationParams,ep as useGetLocales,Pp as useGetLoginMethods,Ch as useGetMFAConfig,Eh as useGetMFAExcludedUsers,kh as useGetMFAStatus,Kp as useGetMembers,Wp as useGetMembersV3,Jp as useGetMembersV4,Hd as useGetMenu,Np as useGetMergedNotifications,kp as useGetNameAndIcon,Lp as useGetNotificationsAccount,xp as useGetNotificationsCustomer,Mp as useGetNotificationsNumber,Bp as useGetNotificationsNumberMutation,Td as useGetOrganization,Wl as useGetPayment,od as useGetPaymentAndTrxStatuses,ad as useGetPaymentFilters,rh as useGetPaymentLinkByCode,nh as useGetPaymentLinks,nd as useGetPaymentMethodsAndProviders,rd as useGetPaymentMethodsAndProvidersActive,ed as useGetPaymentMethodsByProvider,sd as useGetPaymentMetricsFilters,Jd as useGetPaymentStatusesStyles,Jl as useGetPaymentTransactions,cd as useGetPaymentTransactionsDetails,Yl as useGetPaymentTransactionsLazy,Hl as useGetPaymentV2,ih as useGetPaymentsByPaymentLink,td as useGetPaymentsMethodsByCountry,hd as useGetPayoutDetail,gd as useGetPayoutHistoryDetail,yd as useGetPayoutTransactionDetail,Ap as useGetPermissions,ef as useGetPermissionsCatalog,oh as useGetProductsByAccount,Ip as useGetProfile,md as useGetProofOfCancel,Pd as useGetProviderParams,zf as useGetReconciliationActive,Kf as useGetReconciliationAgendaInsightsByKey,Uf as useGetReconciliationFilters,Ff as useGetReconciliationMetrics,Xd as useGetReconciliationTransactionStatusesStyles,Nf as useGetReconciliationTransactions,qf as useGetReconciliationsReportColumns,Vf as useGetReconciliationsReportTemplates,Qp as useGetRefundPdf,Gp as useGetReportColumns,Vp as useGetReportTemplates,jp as useGetReportsList,zp as useGetReportsListMultiEnv,wp as useGetRequiredFields,Zp as useGetRoles,tf as useGetRolesPermissions,vp as useGetRoutingMonitorsTemplate,mp as useGetRoutingMonitorsTemplates,ml as useGetRule,_h as useGetSamlConfig,pl as useGetScheduledReportsList,Lf as useGetSettlements,Bf as useGetSettlementsBody,Mf as useGetSettlementsHeader,ap as useGetSmartRoutingConditionPaymentMethod,ip as useGetSmartRoutingConditionTypes,sp as useGetSmartRoutingConditionTypesValues,nf as useGetSmartRoutingDataReport,lp as useGetSmartRoutingDeclineGroups,rp as useGetSmartRoutingMethods,cp as useGetSmartRoutingNextRoute,pp as useGetSmartRoutingPaymentRoute,hp as useGetSmartRoutingSearchConditionValues,fp as useGetSmartRoutingSimulateConditionTypeValues,dp as useGetSmartRoutingTutorial,op as useGetSmartRoutingWorkflow,up as useGetSmartRoutingWorkflowVersion,Rp as useGetStylingSettings,Sp as useGetStylingTheme,Hp as useGetTeamsFiltersMembers,$d as useGetTimeZoneCatalog,sh as useGetTimezonePaymentLink,Rc as useGetTokenForEnrollment,Sc as useGetTokenValidation,Xl as useGetTransactionDetails,$l as useGetTransactionDetailsV2,ud as useGetTransactionHistory,ld as useGetTransactionHistoryByPaymentCode,Zl as useGetTransactionRawResponse,Yd as useGetTransactionStatusesStyles,dd as useGetTransactions,Dp as useGetValidateOpsgenieKey,Ud as useGetWebhookParams,jd as useGetWebhookParamsV2,zd as useGetWebhooks,qd as useGetWebhooksV2,Gd as useGetWebhooksV2Detail,Vd as useGetWebhooksV3,kf as useInsights3dsConversionRateAndEvolution,_f as useInsights3dsDeclineReasons,wf as useInsights3dsFrictionlessVsChallenge,Cf as useInsights3dsVolumeAndCountTx,Pf as useInsightsChargebacksByCardBrand,Af as useInsightsChargebacksByProviderAndCardBrand,If as useInsightsChargebacksDisputed,Tf as useInsightsChargebacksReasonsDistribution,Of as useInsightsChargebacksStatusDistribution,Sf as useInsightsChargebacksVolumeAndCountTx,Rf as useInsightsChargebacksWinRate,af as useInsightsConversionRateMetrics,sf as useInsightsConversionRateMetricsV2,ff as useInsightsCustomerPaymentsAndFraudMetrics,cf as useInsightsFallbackMetrics,Ef as useInsightsFraudScreeningConversionRate,bf as useInsightsFraudScreeningVolumeAndCountTx,gf as useInsightsHomeMetrics,hf as useInsightsOverviewMetrics,yf as useInsightsOverviewMetricsV3,pf as useInsightsTotalPaymentsAndFraudMetrics,lf as useInsightsVolumeMetrics,df as useInsightsVolumeMetricsV2,bu as useInviteUsers,Eu as useInviteUsersMultiaccount,Cu as useInviteUsersMultiaccountMassive,np as useIsTesting,Ru as useLoginMethods,Op as useLoginSSO,su as useNewPostConnection,uu as useNewPostConnectionValidate,ph as useOneBlackList,Ys as usePatchAccount,Xs as usePatchAccountV2,zc as usePatchAddAllowlistItems,Ad as usePatchAllowedIps,qc as usePatchAllowlist,Il as usePatchApiKeysEditNote,Uc as usePatchChangeStatusAllowlist,jc as usePatchChangeStatusAllowlistItem,Vl as usePatchChartName,cu as usePatchConnection,kl as usePathCreateCustomizedApiKeys,Fp as usePathNotifications,Ed as usePayoutsFilters,bd as usePayoutsList,Js as usePostAccount,gh as usePostAllowlistMultiAccount,Al as usePostApiKeysRoll,Ol as usePostAuditMonitors,al as usePostBatchRefundByFile,Xc as usePostBlackListBatch,Hc as usePostBlackListItems,Vc as usePostBlackListMultiAccount,Gc as usePostBlackListType,dh as usePostBlockList,Su as usePostCall,ru as usePostChangeStatusConnection,iu as usePostConnection,au as usePostConnectionMultiAccount,Fc as usePostCreateAllowlistMultiAccount,Cl as usePostCreateCustomizedApiKeys,Ml as usePostCreateInsightsReport,bl as usePostCreateRule,vl as usePostCreateRuleMultiAccount,wl as usePostCredentialsValidatePassword,pu as usePostDefaultRoutes,El as usePostEditRule,fd as usePostFraudTransactions,Mc as usePostGetAllowlistItems,Bc as usePostGetAllowlistMultiAccount,Xp as usePostMembersPaginated,$p as usePostMembersPaginatedV2,Yp as usePostMembersV4,Kl as usePostPaymentsEvaluated,Ql as usePostPaymentsLazy,uc as usePostSlackMessageChannel,pd as usePostTransactions,Cc as usePostUserSettings,wc as usePostUserSettingsPinned,_c as usePostUserSettingsTables,kc as usePostUserThemeSettings,Ac as usePostValidateOtp,Ec as usePostValidatePassword,nu as usePostValideStatusConnection,vh as usePostVelocityRules,qs as usePostWebhook,Gs as usePostWebhookMultiAccount,Vs as usePostWebhookV2,yp as useProviderConversionRatesData,Vu as usePublishVersion,$s as usePutAccountPrincipal,Zs as usePutAccountsUser,tu as usePutAccountsUserMassive,Qc as usePutBlackListType,ou as usePutCosts,Qu as useSaveVersion,Dc as useSendOTPForMFA,vd as useSendPaymentNotification,pc as useSetCustodian,cc as useSetRoles,Yu as useSmartRoutingCreateDeclinedGroup,Zu as useSmartRoutingEditWorkflowName,rc as useSmartRoutingMultiAccountDeclinedGroupCreate,nc as useSmartRoutingRemoveDeclinedGroup,tc as useSmartRoutingSimulateTransaction,$u as useSmartRoutingToggleFavorite,Ju as useSmartRoutingUpdateDeclinedGroup,ec as useSmartRoutingUpdateMonitorRedistribution,Xu as useSmartRoutingUpdateTutorial,Hu as useToggleMethod,ku as useUnInviteUsers,_u as useUnInviteUsersV2,Pc as useUnrollUser,xc as useUnrollUserV2,Iu as useUpdateCheckoutPaymentMethods,Tu as useUpdateCheckoutTemplate,Au as useUpdateIsActiveCheckout,ll as useUpdateMFAConfig,hu as useUpdateOrganizationStatus,vu as useUpdateProfile,Ll as useUpdateReconciliationAlert,xl as useUpdateReconciliationReportTemplate,zu as useUpdateReportTemplate,Fl as useUpdateSamlConfig,hl as useUpdateScheduledReport,Ou as useUpdateStylingTheme,Ws as useUpdateWebhook,Hs as useUpdateWebhookV2,ol as useUploadBatchRefundsFile,rl as useUploadBatchRefundsFileV2,il as useUploadBatchRefundsV2,cl as useUploadFileS3ClientBatchRefunds,nl as useValiateAllowlistItems,tl as useValidateBlockListItems,Gu as useValidateConnection,fu as useValidateCredentials,yu as useValidateOrgName,Lc as useValidatePasswordStatus,uf as useViewMoreMetrics};
35
28
  //# sourceMappingURL=index.js.map