@oiyo/framework 0.4.0-beta.2 → 0.4.0-beta.3

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,5 +1,5 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
package/dist/index.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
6
6
  */
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
8
- require("./chunk-BnILMwZG.cjs");
9
- const require_oiyo = require("./oiyo-CZ64L3f6.cjs");
8
+ require("./chunk-BGy3oB1q.cjs");
9
+ const require_oiyo = require("./oiyo-BOfXIUcB.cjs");
10
10
  require("./uni.cjs");
11
11
  require("./vue.cjs");
12
12
  //#endregion
package/dist/index.d.cts CHANGED
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
6
6
  */
7
- import { a as HttpDownloadResponse, c as HttpDownloadOptions, d as ResponseBodyType, f as createHttpAborter, i as HttpError, l as HttpRequestOptions, n as http, o as HttpRequestResponse, r as HttpConfig, s as HttpUploadResponse, t as createHttp, u as HttpUploadOptions } from "./index-DCAh9vr9.cjs";
7
+ import { a as HttpDownloadResponse, c as HttpDownloadOptions, d as ResponseBodyType, f as createHttpAborter, i as HttpError, l as HttpRequestOptions, n as http, o as HttpRequestResponse, r as HttpConfig, s as HttpUploadResponse, t as createHttp, u as HttpUploadOptions } from "./index-B4NECdKj.cjs";
8
8
  export * from "@dcloudio/uni-app";
9
9
  export * from "vue";
10
10
 
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
6
6
  */
7
- import { a as HttpDownloadResponse, c as HttpDownloadOptions, d as ResponseBodyType, f as createHttpAborter, i as HttpError, l as HttpRequestOptions, n as http, o as HttpRequestResponse, r as HttpConfig, s as HttpUploadResponse, t as createHttp, u as HttpUploadOptions } from "./index-DCAh9vr9.mjs";
7
+ import { a as HttpDownloadResponse, c as HttpDownloadOptions, d as ResponseBodyType, f as createHttpAborter, i as HttpError, l as HttpRequestOptions, n as http, o as HttpRequestResponse, r as HttpConfig, s as HttpUploadResponse, t as createHttp, u as HttpUploadOptions } from "./index-B4NECdKj.mjs";
8
8
  export * from "@dcloudio/uni-app";
9
9
  export * from "vue";
10
10
 
package/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
6
6
  */
7
- import "./chunk-Bcqm9nz_.mjs";
8
- import { n as http, r as createHttpAborter, t as createHttp } from "./oiyo-CUWG-Hhg.mjs";
7
+ import "./chunk-BIMTDWTb.mjs";
8
+ import { n as http, r as createHttpAborter, t as createHttp } from "./oiyo-BOeGyXdP.mjs";
9
9
  import "./uni.mjs";
10
10
  import "./vue.mjs";
11
11
  export * from "@dcloudio/uni-app";
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @oiyo/framework v0.4.0-beta.3
3
+ * Copyright (c) 2026 skiyee. All rights reserved.
4
+ * Commercial software. See LICENSE for terms.
5
+ * Official site: https://oiyo.js.org
6
+ */
7
+ const _0x7f66db=_0xbd60;(function(_0x5329f5,_0x2e49f1){const _0x3d95dd=_0xbd60,_0x5c89f7=_0x5329f5();while(!![]){try{const _0x2d6984=-parseInt(_0x3d95dd(0x1a2))/0x1+-parseInt(_0x3d95dd(0x192))/0x2+parseInt(_0x3d95dd(0x1ac))/0x3+-parseInt(_0x3d95dd(0x196))/0x4+-parseInt(_0x3d95dd(0x17e))/0x5*(-parseInt(_0x3d95dd(0x1ad))/0x6)+parseInt(_0x3d95dd(0x1b5))/0x7*(-parseInt(_0x3d95dd(0x19d))/0x8)+parseInt(_0x3d95dd(0x184))/0x9;if(_0x2d6984===_0x2e49f1)break;else _0x5c89f7['push'](_0x5c89f7['shift']());}catch(_0x1dc112){_0x5c89f7['push'](_0x5c89f7['shift']());}}}(_0x5285,0xe55e8));function createHttpAborter(){const _0x44e027=new HttpAbortSignal();return{'signal':_0x44e027,'abort':_0x2f3f62=>_0x44e027['_abort'](_0x2f3f62)};}const ABORT_ERROR_NAME='AbortError';var AbortEmitter=class{[_0x7f66db(0x186)]=[];[_0x7f66db(0x180)](_0x2cabe1,_0x11dc68){const _0x52debf=_0x7f66db;if(_0x2cabe1!==_0x52debf(0x165))return;this['listeners'][_0x52debf(0x1a7)](_0x11dc68);}[_0x7f66db(0x1b1)](_0x52c5cf,_0xd11530){const _0x1cd231=_0x7f66db;if(_0x52c5cf!==_0x1cd231(0x165))return;const _0x2890fa=this[_0x1cd231(0x186)]['indexOf'](_0xd11530);if(_0x2890fa!==-0x1)this[_0x1cd231(0x186)][_0x1cd231(0x18a)](_0x2890fa,0x1);}['emit'](_0x5e69ac){const _0x5b89ad=_0x7f66db;for(const _0x54cbbd of this[_0x5b89ad(0x186)][_0x5b89ad(0x16b)]())_0x54cbbd[_0x5b89ad(0x161)](this,_0x5e69ac);}},HttpAbortSignal=class extends AbortEmitter{[_0x7f66db(0x17d)]=![];[_0x7f66db(0x1b2)]=void 0x0;['onabort']=null;['_abort'](_0x480e56){const _0x4907f5=_0x7f66db;if(this['aborted'])return;this[_0x4907f5(0x17d)]=!![],this[_0x4907f5(0x1b2)]=_0x480e56===void 0x0?createAbortError():_0x480e56;const _0xe545b3={};_0xe545b3['type']='abort';const _0x240b87=_0xe545b3;if(typeof this['onabort']===_0x4907f5(0x19c))this[_0x4907f5(0x1b6)](_0x240b87);this['emit'](_0x240b87);}['throwIfAborted'](){if(this['aborted'])throw this['reason'];}};function _0x5285(){const _0x209e57=['GET','657160qdONeS','onabort','fail','body','call','has','tempFilePath','text','abort','resolve','entries','catch','create','assign','slice','query','enableCache','onFail','enableHttpDNS','baseURL','parseResponse','options','DELETE','file','upload','url','uploadFile','HttpError','json','The\x20operation\x20was\x20aborted','errMsg','headers','aborted','7627825ZhMlWe','enableQuic','addEventListener','timeout','request','response','34158357xiokoG','name','listeners','filePath','stringify','<no\x20response\x20body>','splice','method','statusCode','fileType','sslVerify','onResponseError','onProgressUpdate','raw','2085444mMreSe','download','data','ignoreResponseError','3053560iciMNU','onSuccess','dataType','number','success','responseType','function','152gbpMgy','enableChunked','onResponse','retryDelay','POST','1605742uALFOI','httpDNSServiceId','header','flatMap','onHeadersReceived','push','signal','formData','then','map','2442396alwqWg','6MyXsDm','arrayBuffer','test','files','removeEventListener','reason','complete'];_0x5285=function(){return _0x209e57;};return _0x5285();}function createAbortError(_0x2aba9c=_0x7f66db(0x17a)){const _0x2765a3=new Error(_0x2aba9c);return _0x2765a3['name']=ABORT_ERROR_NAME,_0x2765a3;}function isAbortError(_0x3dc750){return _0x3dc750 instanceof Error&&_0x3dc750['name']===ABORT_ERROR_NAME;}function onAbort(_0x3550d1,_0xbcf30f){const _0x2f9a53=_0x7f66db;if(!_0x3550d1)return()=>{};if(_0x3550d1['aborted'])return _0xbcf30f(),()=>{};return _0x3550d1['addEventListener'](_0x2f9a53(0x165),_0xbcf30f),()=>_0x3550d1[_0x2f9a53(0x1b1)]('abort',_0xbcf30f);}const HOOK_NAMES=['onRequest','onRequestError',_0x7f66db(0x19f),_0x7f66db(0x18f)];function mergeOptions(..._0x599e4f){const _0x200528=_0x7f66db,_0x28a101={},_0x239b26={};for(const _0xa90c35 of _0x599e4f){if(!_0xa90c35)continue;for(const _0x16aa49 of HOOK_NAMES)collectHook(_0x239b26,_0x16aa49,_0xa90c35);const _0xbba6d1=_0x28a101['headers'],_0x3bbb47=_0x28a101[_0x200528(0x16c)];Object[_0x200528(0x16a)](_0x28a101,_0xa90c35);const _0x1401b5={..._0xbba6d1,..._0xa90c35['headers']};_0x28a101['headers']=_0x1401b5;const _0x45cd5f={..._0x3bbb47,..._0xa90c35['query']};_0x28a101['query']=_0x45cd5f;}for(const [_0x443a84,_0x1585c4]of Object[_0x200528(0x167)](_0x239b26))Object[_0x200528(0x16a)](_0x28a101,{[_0x443a84]:async _0x426c44=>{for(const _0x50630a of _0x1585c4)await _0x50630a(_0x426c44);}});return _0x28a101;}function collectHook(_0x4054bd,_0x5fc684,_0x520f7c){const _0x1ef9cd=_0x7f66db,_0x29e474=_0x520f7c[_0x5fc684];if(typeof _0x29e474!==_0x1ef9cd(0x19c))return;_0x4054bd[_0x5fc684]??=[],_0x4054bd[_0x5fc684]['push'](_0x29e474);}function dispatch(_0x46d616,_0x350c2d,_0x41586a,_0x57b52a){const _0x3cd526=_0x7f66db;let _0x58fc23;if(_0x46d616===_0x3cd526(0x175))_0x58fc23=dispatchUpload(_0x350c2d,_0x41586a,_0x57b52a);else{if(_0x46d616===_0x3cd526(0x193))_0x58fc23=dispatchDownload(_0x350c2d,_0x41586a,_0x57b52a);else _0x58fc23=dispatchRequest(_0x350c2d,_0x41586a,_0x57b52a);}bindTask(_0x58fc23,_0x41586a);}function bindTask(_0xf903c2,_0x2e7095){const _0x4d051e=_0x7f66db;onAbort(_0x2e7095[_0x4d051e(0x1a8)],()=>_0xf903c2[_0x4d051e(0x165)]());if(typeof _0x2e7095[_0x4d051e(0x1a6)]===_0x4d051e(0x19c))_0xf903c2[_0x4d051e(0x1a6)](_0x2e7095[_0x4d051e(0x1a6)]);const _0x9c58a6=_0x2e7095['onProgress'];if(typeof _0x9c58a6===_0x4d051e(0x19c)&&_0x4d051e(0x190)in _0xf903c2)_0xf903c2['onProgressUpdate'](_0x9c58a6);}function dispatchRequest(_0x388141,_0x215477,_0x3ffa61){const _0x4e1c5b=_0x7f66db,_0x44f40e={'url':_0x388141,'method':_0x215477[_0x4e1c5b(0x18b)],'header':_0x215477[_0x4e1c5b(0x17c)],'data':_0x215477['body']??{},'timeout':_0x215477['timeout'],'dataType':_0x215477[_0x4e1c5b(0x198)]||'json','responseType':mappedResponseBodyType(_0x215477['responseType']),'sslVerify':_0x215477[_0x4e1c5b(0x18e)],'withCredentials':_0x215477['withCredentials'],'firstIpv4':_0x215477['firstIpv4'],'enableHttp2':_0x215477['enableHttp2'],'enableQuic':_0x215477[_0x4e1c5b(0x17f)],'enableCache':_0x215477[_0x4e1c5b(0x16d)],'enableHttpDNS':_0x215477[_0x4e1c5b(0x16f)],'httpDNSServiceId':_0x215477[_0x4e1c5b(0x1a3)],'enableChunked':_0x215477[_0x4e1c5b(0x19e)],'forceCellularNetwork':_0x215477['forceCellularNetwork'],'success':_0x3ffa61['onSuccess'],'fail':_0x3ffa61[_0x4e1c5b(0x16e)],'complete':()=>{}};return uni['request'](_0x44f40e);}function dispatchUpload(_0x1d6944,_0x4b9116,_0x2bf192){const _0x48cc7a=_0x7f66db,_0x192b94={};_0x192b94[_0x48cc7a(0x176)]=_0x1d6944,_0x192b94['fileType']=_0x4b9116[_0x48cc7a(0x18d)],_0x192b94['file']=_0x4b9116['file'],_0x192b94[_0x48cc7a(0x187)]=_0x4b9116[_0x48cc7a(0x187)],_0x192b94[_0x48cc7a(0x185)]=_0x4b9116['name']??_0x48cc7a(0x174),_0x192b94[_0x48cc7a(0x1b0)]=_0x4b9116['files'],_0x192b94[_0x48cc7a(0x1a4)]=_0x4b9116['headers'],_0x192b94[_0x48cc7a(0x1a9)]=_0x4b9116[_0x48cc7a(0x160)]??{},_0x192b94['timeout']=_0x4b9116[_0x48cc7a(0x181)],_0x192b94[_0x48cc7a(0x19a)]=_0x2bf192['onSuccess'],_0x192b94[_0x48cc7a(0x1b7)]=_0x2bf192[_0x48cc7a(0x16e)],_0x192b94[_0x48cc7a(0x1b3)]=()=>{};const _0x538c8a=_0x192b94;return uni[_0x48cc7a(0x177)](_0x538c8a);}function dispatchDownload(_0x36ca09,_0x132551,_0x20d202){const _0x5bfd65={'url':_0x36ca09,'header':_0x132551['headers'],'timeout':_0x132551['timeout'],'success':_0x1c2c65=>{const _0x2febf4=_0xbd60,_0x1b88cd={..._0x1c2c65};_0x1b88cd[_0x2febf4(0x194)]={},_0x1b88cd[_0x2febf4(0x194)]['tempFilePath']=_0x1c2c65[_0x2febf4(0x163)],_0x20d202[_0x2febf4(0x197)](_0x1b88cd);},'fail':_0x20d202['onFail'],'complete':()=>{}};return uni['downloadFile'](_0x5bfd65);}function mappedResponseBodyType(_0x28a251){const _0x50da86=_0x7f66db;if(!_0x28a251||_0x28a251===_0x50da86(0x179))return'text';if(_0x28a251===_0x50da86(0x1ae))return'arraybuffer';return _0x50da86(0x164);}function _0xbd60(_0x5acaf0,_0x406d7e){_0x5acaf0=_0x5acaf0-0x160;const _0x5285a2=_0x5285();let _0xbd60a0=_0x5285a2[_0x5acaf0];return _0xbd60a0;}var HttpError=class extends Error{constructor(_0x408d09){const _0x302b70=_0x7f66db;super(_0x408d09),this['name']=_0x302b70(0x178);}};function createResponseError(_0x36462b,_0x470398,_0x49cfe6){const _0x5574d9=_0x7f66db,_0x2e236a=_0x36462b,_0x5a935f='['+(_0x470398?.['method']||_0x5574d9(0x1b4))+']\x20'+_0x2e236a,_0x53e8b8=_0x49cfe6?_0x49cfe6[_0x5574d9(0x18c)]+'\x20'+(_0x49cfe6[_0x5574d9(0x17b)]||''):'<no\x20response>',_0x180ea=_0x49cfe6?JSON[_0x5574d9(0x188)](_0x49cfe6['data']):_0x5574d9(0x189),_0x33b266=new HttpError(_0x5a935f+':\x20'+_0x53e8b8+(_0x49cfe6['data']?'\x20'+_0x180ea:''));for(const _0xf2c3ce of[_0x5574d9(0x182),_0x5574d9(0x172),'response','data'])Object['defineProperty'](_0x33b266,_0xf2c3ce,{'get'(){const _0x372432=_0x5574d9,_0x2a7f1c={};return _0x2a7f1c['request']=_0x36462b,_0x2a7f1c['options']=_0x470398,_0x2a7f1c[_0x372432(0x183)]=_0x49cfe6,_0x2a7f1c['data']=_0x49cfe6[_0x372432(0x194)],_0x2a7f1c[_0xf2c3ce];}});return _0x33b266;}function normalizeError(_0x45d1a3){if(_0x45d1a3 instanceof Error)return _0x45d1a3;return Object['assign'](new Error(_0x45d1a3?.['errMsg']||_0x45d1a3?.['message']||'HTTP\x20request\x20failed'),{'cause':_0x45d1a3});}async function callRequestHooks(_0x110750,_0x456e15){await _0x456e15['onRequest']?.({'options':_0x456e15,'resource':_0x110750});}async function callRequestErrorHooks(_0x6269d8,_0x27bc6f,_0x3660e7){await _0x27bc6f['onRequestError']?.({'options':_0x27bc6f,'resource':_0x6269d8,'error':_0x3660e7});}async function callResponseHooks(_0x4bc4d4,_0x3f0330,_0x1d86af){const _0x16b730=_0x7f66db;await _0x3f0330[_0x16b730(0x19f)]?.({'options':_0x3f0330,'resource':_0x4bc4d4,'response':_0x1d86af});}async function callResponseErrorHooks(_0x313f4a,_0x54edda,_0x1a479e){const _0x3101c3=_0x7f66db;await _0x54edda[_0x3101c3(0x18f)]?.({'options':_0x54edda,'resource':_0x313f4a,'response':_0x1a479e});}async function refineResponse(_0x1a5c9b,_0x3e2509){const _0x38e023=_0x7f66db;if(_0x3e2509[_0x38e023(0x19b)]==='json'||!_0x3e2509['responseType'])return{..._0x1a5c9b,'data':await parseJSONResponse(_0x1a5c9b['data'],_0x3e2509)};return _0x1a5c9b;}function parseJSONResponse(_0x2d279e,_0x3a2879){const _0x208319=_0x7f66db;if(typeof _0x2d279e!=='string')return _0x2d279e;if(_0x3a2879[_0x208319(0x171)])return _0x3a2879[_0x208319(0x171)](_0x2d279e);return _0x2d279e?JSON['parse'](_0x2d279e):null;}function isResponseError(_0x4f8261){const _0x42721f=_0x7f66db,_0x229350='statusCode'in _0x4f8261?_0x4f8261['statusCode']:void 0x0;return typeof _0x229350===_0x42721f(0x199)&&(_0x229350<0xc8||_0x229350>=0x12c);}const DEFAULT_RETRY_STATUS_CODES=[0x198,0x199,0x1a9,0x1ad,0x1f4,0x1f6,0x1f7,0x1f8],PAYLOAD_METHODS=new Set([_0x7f66db(0x1a1),'PUT',_0x7f66db(0x173),'PATCH']);async function withRetry(_0x364372,_0x2554e2){const _0xd3cf43=_0x7f66db,_0x2c9105=resolveRetryCount(_0x364372);for(let _0x191809=0x0;;_0x191809++)try{return await _0x2554e2();}catch(_0x511f2e){if(_0x191809>=_0x2c9105||!shouldRetry(_0x511f2e,_0x364372))throw _0x511f2e;await sleep(_0x364372[_0xd3cf43(0x1a0)]??0x0,_0x364372['signal']);}}function resolveRetryCount(_0x5592fe){const _0x265279=_0x7f66db,{retry:_0x3fed04}=_0x5592fe;if(_0x3fed04===![])return 0x0;if(typeof _0x3fed04==='number')return _0x3fed04>0x0?_0x3fed04:0x0;return isPayloadMethod(_0x5592fe[_0x265279(0x18b)])?0x0:0x1;}function shouldRetry(_0x1efb62,_0x4c4c7a){const _0x2e2334=_0x7f66db;if(_0x4c4c7a[_0x2e2334(0x1a8)]?.['aborted']||isAbortError(_0x1efb62))return![];const _0x1e46b6=_0x1efb62?.[_0x2e2334(0x183)]?.['statusCode'];if(typeof _0x1e46b6!=='number')return!![];return(_0x4c4c7a['retryStatusCodes']??DEFAULT_RETRY_STATUS_CODES)['includes'](_0x1e46b6);}function isPayloadMethod(_0x50bfc2){const _0x132a4a=_0x7f66db;return!!_0x50bfc2&&PAYLOAD_METHODS[_0x132a4a(0x162)](_0x50bfc2['toUpperCase']());}function sleep(_0x54602f,_0x6c2f99){return new Promise((_0xa7da23,_0x761457)=>{if(_0x6c2f99?.['aborted']){_0x761457(_0x6c2f99['reason']);return;}if(!(_0x54602f>0x0)){_0xa7da23();return;}let _0x219729=()=>{};const _0x104842=setTimeout(()=>{_0x219729(),_0xa7da23();},_0x54602f);_0x219729=onAbort(_0x6c2f99,()=>{clearTimeout(_0x104842),_0x761457(_0x6c2f99['reason']);});});}function buildURL(_0x3e43ae,_0x16d5c4){const _0x5aeb9a=_0x7f66db,_0x2f7128=joinURL(_0x16d5c4[_0x5aeb9a(0x170)],_0x3e43ae),_0x52c30d=_0x16d5c4['query']??{},_0xf4c521=Object['keys'](_0x52c30d)['filter'](_0xa38c9c=>_0x52c30d[_0xa38c9c]!==void 0x0)[_0x5aeb9a(0x1a5)](_0x4c47e0=>{const _0x1ac10c=_0x5aeb9a,_0x4da312=_0x52c30d[_0x4c47e0];return(Array['isArray'](_0x4da312)?_0x4da312:[_0x4da312])[_0x1ac10c(0x1ab)](_0x8ecbb3=>encodeURIComponent(_0x4c47e0)+'='+encodeURIComponent(String(_0x8ecbb3)));})['join']('&');if(!_0xf4c521)return _0x2f7128;return''+_0x2f7128+(_0x2f7128['includes']('?')?'&':'?')+_0xf4c521;}function joinURL(_0x1cecf2,_0x931937){if(!_0x1cecf2||isAbsoluteURL(_0x931937))return _0x931937;return _0x1cecf2['replace'](/\/+$/,'')+'/'+_0x931937['replace'](/^\/+/,'');}function isAbsoluteURL(_0x37b105){const _0x1d735d=_0x7f66db;return/^[a-z][a-z\d+\-.]*:\/\//i[_0x1d735d(0x1af)](_0x37b105)||_0x37b105['startsWith']('//');}function dispatchHttp(_0x2bf126,_0x4297ba,_0x1ca056){const _0x53f25b=buildURL(_0x4297ba,_0x1ca056);return withRetry(_0x1ca056,()=>attemptRequest(_0x2bf126,_0x4297ba,_0x53f25b,_0x1ca056));}function attemptRequest(_0x45941f,_0x27c0df,_0x516ecf,_0x386a6a){const _0x5c0edc=_0x7f66db,_0x3b6656=!!_0x386a6a[_0x5c0edc(0x191)];return new Promise((_0x2c00d7,_0x1e5850)=>{const _0x3871e4=_0x5c0edc;let _0x521053=![];const _0x3b91c8=_0x1e12c7=>{if(_0x521053)return;_0x521053=!![],_0x1e12c7();},_0x1a912c=onAbort(_0x386a6a[_0x3871e4(0x1a8)],()=>{_0x3b91c8(()=>_0x1e5850(_0x386a6a['signal']['reason']));}),_0x29e1f9=_0x5342e0=>{_0x1a912c(),_0x3b91c8(_0x5342e0);};callRequestHooks(_0x27c0df,_0x386a6a)[_0x3871e4(0x1aa)](()=>{if(_0x521053)return;dispatch(_0x45941f,_0x516ecf,_0x386a6a,{'onSuccess':_0x39d652=>{const _0x5b586a=_0xbd60;Promise[_0x5b586a(0x166)]()[_0x5b586a(0x1aa)](()=>refineResponse(_0x39d652,_0x386a6a))[_0x5b586a(0x1aa)](async _0x27f138=>{const _0x6aec80=_0x5b586a;if(isResponseError(_0x39d652)){await callResponseErrorHooks(_0x27c0df,_0x386a6a,_0x27f138);if(!_0x386a6a[_0x6aec80(0x195)])throw createResponseError(_0x27c0df,_0x386a6a,_0x27f138);}else await callResponseHooks(_0x27c0df,_0x386a6a,_0x27f138);_0x29e1f9(()=>_0x2c00d7(_0x3b6656?_0x27f138:_0x27f138['data']));})['catch'](_0x3a216a=>_0x29e1f9(()=>_0x1e5850(_0x3a216a)));},'onFail':_0x4eb09b=>{const _0x3a5398=_0xbd60;Promise[_0x3a5398(0x166)]()['then'](async()=>{const _0x326fd2=normalizeError(_0x4eb09b);if(!isAbortError(_0x326fd2))await callRequestErrorHooks(_0x27c0df,_0x386a6a,_0x326fd2);throw _0x326fd2;})[_0x3a5398(0x168)](_0x4037e0=>_0x29e1f9(()=>_0x1e5850(_0x4037e0)));}});})[_0x3871e4(0x168)](async _0xb46300=>{const _0x33c69e=normalizeError(_0xb46300);await callRequestErrorHooks(_0x27c0df,_0x386a6a,_0x33c69e),_0x29e1f9(()=>_0x1e5850(_0x33c69e));});});}const _0x424161={};_0x424161['method']='GET',_0x424161['responseType']='json';const defaultConfig=_0x424161;function createHttp(_0x19868={}){const _0x33ec67=_0x7f66db,_0x26f4fe=(_0x57f853,_0x3ab5d1)=>{const _0x4c7ae7=_0xbd60;return dispatchHttp(_0x4c7ae7(0x182),_0x57f853,mergeOptions(defaultConfig,_0x19868,_0x3ab5d1));},_0xc433c5=(_0x2797e3,_0x11ea28)=>{const _0x4e1036={};return _0x4e1036['method']='POST',dispatchHttp('upload',_0x2797e3,mergeOptions(defaultConfig,_0x19868,_0x11ea28,_0x4e1036));},_0x3b8ec0=(_0x3ca3d3,_0x14aac5)=>{const _0x177efb=_0xbd60,_0x43f2cf={};return _0x43f2cf[_0x177efb(0x18b)]=_0x177efb(0x1b4),dispatchHttp(_0x177efb(0x193),_0x3ca3d3,mergeOptions(defaultConfig,_0x19868,_0x14aac5,_0x43f2cf));},_0x5399c4=_0x2908e0=>createHttp(mergeOptions(_0x19868,_0x2908e0)),_0x239775={};return _0x239775[_0x33ec67(0x182)]=_0x26f4fe,_0x239775['upload']=_0xc433c5,_0x239775['download']=_0x3b8ec0,_0x239775[_0x33ec67(0x169)]=_0x5399c4,_0x239775;}const http=createHttp();export{http as n,createHttpAborter as r,createHttp as t};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @oiyo/framework v0.4.0-beta.3
3
+ * Copyright (c) 2026 skiyee. All rights reserved.
4
+ * Commercial software. See LICENSE for terms.
5
+ * Official site: https://oiyo.js.org
6
+ */
7
+ const _0x27439e=_0x5c48;(function(_0x46122b,_0x12be92){const _0x90f373=_0x5c48,_0x2cd1e9=_0x46122b();while(!![]){try{const _0xf3be82=-parseInt(_0x90f373(0x1b1))/0x1*(-parseInt(_0x90f373(0x1f5))/0x2)+parseInt(_0x90f373(0x1fb))/0x3*(parseInt(_0x90f373(0x1d8))/0x4)+-parseInt(_0x90f373(0x1f0))/0x5*(parseInt(_0x90f373(0x1db))/0x6)+parseInt(_0x90f373(0x1d6))/0x7+parseInt(_0x90f373(0x1f6))/0x8*(-parseInt(_0x90f373(0x1b6))/0x9)+parseInt(_0x90f373(0x1cd))/0xa*(parseInt(_0x90f373(0x1e7))/0xb)+-parseInt(_0x90f373(0x1e1))/0xc;if(_0xf3be82===_0x12be92)break;else _0x2cd1e9['push'](_0x2cd1e9['shift']());}catch(_0x1444ae){_0x2cd1e9['push'](_0x2cd1e9['shift']());}}}(_0x591a,0x26f8d));function createHttpAborter(){const _0xef7a19=_0x5c48,_0x91841d=new HttpAbortSignal();return{'signal':_0x91841d,'abort':_0x425c57=>_0x91841d[_0xef7a19(0x1b8)](_0x425c57)};}const ABORT_ERROR_NAME=_0x27439e(0x1c4);var AbortEmitter=class{[_0x27439e(0x1c5)]=[];[_0x27439e(0x1b5)](_0x150af6,_0x6de233){const _0x100d4b=_0x27439e;if(_0x150af6!==_0x100d4b(0x1eb))return;this[_0x100d4b(0x1c5)]['push'](_0x6de233);}['removeEventListener'](_0x5e85d4,_0x929758){const _0x1909b7=_0x27439e;if(_0x5e85d4!=='abort')return;const _0x1e9507=this['listeners'][_0x1909b7(0x1d9)](_0x929758);if(_0x1e9507!==-0x1)this[_0x1909b7(0x1c5)][_0x1909b7(0x1b3)](_0x1e9507,0x1);}['emit'](_0x3c1115){const _0x235c9f=_0x27439e;for(const _0x21231b of this['listeners']['slice']())_0x21231b[_0x235c9f(0x1b4)](this,_0x3c1115);}},HttpAbortSignal=class extends AbortEmitter{[_0x27439e(0x1be)]=![];[_0x27439e(0x1f4)]=void 0x0;['onabort']=null;[_0x27439e(0x1b8)](_0x1e85b1){const _0x171574=_0x27439e;if(this[_0x171574(0x1be)])return;this['aborted']=!![],this['reason']=_0x1e85b1===void 0x0?createAbortError():_0x1e85b1;const _0x1b8d17={};_0x1b8d17[_0x171574(0x1ed)]='abort';const _0x218691=_0x1b8d17;if(typeof this[_0x171574(0x1e4)]==='function')this[_0x171574(0x1e4)](_0x218691);this['emit'](_0x218691);}['throwIfAborted'](){if(this['aborted'])throw this['reason'];}};function createAbortError(_0x2e78a3=_0x27439e(0x1ff)){const _0x4d66a1=new Error(_0x2e78a3);return _0x4d66a1['name']=ABORT_ERROR_NAME,_0x4d66a1;}function isAbortError(_0x34acf2){const _0x47cab1=_0x27439e;return _0x34acf2 instanceof Error&&_0x34acf2[_0x47cab1(0x1cb)]===ABORT_ERROR_NAME;}function onAbort(_0x1f6497,_0x460e95){const _0x3bb818=_0x27439e;if(!_0x1f6497)return()=>{};if(_0x1f6497[_0x3bb818(0x1be)])return _0x460e95(),()=>{};return _0x1f6497[_0x3bb818(0x1b5)]('abort',_0x460e95),()=>_0x1f6497[_0x3bb818(0x1e8)](_0x3bb818(0x1eb),_0x460e95);}const HOOK_NAMES=['onRequest','onRequestError',_0x27439e(0x1cf),'onResponseError'];function mergeOptions(..._0x135b25){const _0x23e9f7=_0x27439e,_0x37a340={},_0x1cd0c7={};for(const _0x22e340 of _0x135b25){if(!_0x22e340)continue;for(const _0x5b1dd5 of HOOK_NAMES)collectHook(_0x1cd0c7,_0x5b1dd5,_0x22e340);const _0x479b0c=_0x37a340[_0x23e9f7(0x1c0)],_0x957607=_0x37a340['query'];Object['assign'](_0x37a340,_0x22e340);const _0x2e6bc4={..._0x479b0c,..._0x22e340['headers']};_0x37a340['headers']=_0x2e6bc4;const _0x2e66ba={..._0x957607,..._0x22e340[_0x23e9f7(0x1cc)]};_0x37a340['query']=_0x2e66ba;}for(const [_0x3cdbb7,_0x9d11de]of Object[_0x23e9f7(0x1c1)](_0x1cd0c7))Object['assign'](_0x37a340,{[_0x3cdbb7]:async _0x340900=>{for(const _0x17e08a of _0x9d11de)await _0x17e08a(_0x340900);}});return _0x37a340;}function collectHook(_0x108f14,_0x41e4d7,_0x4c3057){const _0x3bb108=_0x27439e,_0x3a78ef=_0x4c3057[_0x41e4d7];if(typeof _0x3a78ef!==_0x3bb108(0x1d7))return;_0x108f14[_0x41e4d7]??=[],_0x108f14[_0x41e4d7]['push'](_0x3a78ef);}function dispatch(_0x1cfbb1,_0x11daa9,_0x3a162a,_0x35f7eb){let _0x2df81b;if(_0x1cfbb1==='upload')_0x2df81b=dispatchUpload(_0x11daa9,_0x3a162a,_0x35f7eb);else{if(_0x1cfbb1==='download')_0x2df81b=dispatchDownload(_0x11daa9,_0x3a162a,_0x35f7eb);else _0x2df81b=dispatchRequest(_0x11daa9,_0x3a162a,_0x35f7eb);}bindTask(_0x2df81b,_0x3a162a);}function bindTask(_0x3b2f15,_0x47d22f){const _0x59d3c1=_0x27439e;onAbort(_0x47d22f[_0x59d3c1(0x1ba)],()=>_0x3b2f15['abort']());if(typeof _0x47d22f[_0x59d3c1(0x1f1)]==='function')_0x3b2f15['onHeadersReceived'](_0x47d22f[_0x59d3c1(0x1f1)]);const _0x4f56f3=_0x47d22f[_0x59d3c1(0x1ee)];if(typeof _0x4f56f3===_0x59d3c1(0x1d7)&&_0x59d3c1(0x1d4)in _0x3b2f15)_0x3b2f15['onProgressUpdate'](_0x4f56f3);}function dispatchRequest(_0x2d8afa,_0x2f2e8c,_0x500306){const _0x5525ef=_0x27439e,_0x3db3ae={'url':_0x2d8afa,'method':_0x2f2e8c[_0x5525ef(0x1da)],'header':_0x2f2e8c['headers'],'data':_0x2f2e8c['body']??{},'timeout':_0x2f2e8c['timeout'],'dataType':_0x2f2e8c['dataType']||_0x5525ef(0x200),'responseType':mappedResponseBodyType(_0x2f2e8c['responseType']),'sslVerify':_0x2f2e8c[_0x5525ef(0x1bd)],'withCredentials':_0x2f2e8c[_0x5525ef(0x1e5)],'firstIpv4':_0x2f2e8c[_0x5525ef(0x1ce)],'enableHttp2':_0x2f2e8c['enableHttp2'],'enableQuic':_0x2f2e8c[_0x5525ef(0x1dd)],'enableCache':_0x2f2e8c[_0x5525ef(0x1c9)],'enableHttpDNS':_0x2f2e8c[_0x5525ef(0x1fc)],'httpDNSServiceId':_0x2f2e8c['httpDNSServiceId'],'enableChunked':_0x2f2e8c['enableChunked'],'forceCellularNetwork':_0x2f2e8c['forceCellularNetwork'],'success':_0x500306['onSuccess'],'fail':_0x500306['onFail'],'complete':()=>{}};return uni['request'](_0x3db3ae);}function dispatchUpload(_0xcf9cbe,_0x39c2ed,_0x38de42){const _0x5c64a2=_0x27439e,_0x1ba71a={};_0x1ba71a['url']=_0xcf9cbe,_0x1ba71a[_0x5c64a2(0x1c6)]=_0x39c2ed['fileType'],_0x1ba71a['file']=_0x39c2ed['file'],_0x1ba71a[_0x5c64a2(0x1d3)]=_0x39c2ed[_0x5c64a2(0x1d3)],_0x1ba71a['name']=_0x39c2ed[_0x5c64a2(0x1cb)]??'file',_0x1ba71a[_0x5c64a2(0x1b2)]=_0x39c2ed['files'],_0x1ba71a['header']=_0x39c2ed[_0x5c64a2(0x1c0)],_0x1ba71a['formData']=_0x39c2ed['body']??{},_0x1ba71a['timeout']=_0x39c2ed['timeout'],_0x1ba71a['success']=_0x38de42['onSuccess'],_0x1ba71a['fail']=_0x38de42['onFail'],_0x1ba71a['complete']=()=>{};const _0x26cc23=_0x1ba71a;return uni[_0x5c64a2(0x1e6)](_0x26cc23);}function dispatchDownload(_0xe49056,_0x52f55b,_0x5c819f){const _0x39a2db=_0x27439e,_0x315535={'url':_0xe49056,'header':_0x52f55b[_0x39a2db(0x1c0)],'timeout':_0x52f55b[_0x39a2db(0x1f3)],'success':_0x11f595=>{const _0x2a9e2d=_0x39a2db,_0x1abd68={..._0x11f595};_0x1abd68[_0x2a9e2d(0x1c7)]={},_0x1abd68[_0x2a9e2d(0x1c7)]['tempFilePath']=_0x11f595['tempFilePath'],_0x5c819f[_0x2a9e2d(0x1ae)](_0x1abd68);},'fail':_0x5c819f['onFail'],'complete':()=>{}};return uni['downloadFile'](_0x315535);}function mappedResponseBodyType(_0x2f74d8){const _0xc57996=_0x27439e;if(!_0x2f74d8||_0x2f74d8===_0xc57996(0x200))return'text';if(_0x2f74d8===_0xc57996(0x1dc))return'arraybuffer';return _0xc57996(0x1bb);}var HttpError=class extends Error{constructor(_0x832f28){const _0x357e21=_0x27439e;super(_0x832f28),this[_0x357e21(0x1cb)]=_0x357e21(0x1b7);}};function createResponseError(_0xa016b0,_0x54d1ff,_0x2ff9ca){const _0x47a1d7=_0x27439e,_0x413150=_0xa016b0,_0x1462fe='['+(_0x54d1ff?.['method']||'GET')+']\x20'+_0x413150,_0x7f892e=_0x2ff9ca?_0x2ff9ca['statusCode']+'\x20'+(_0x2ff9ca[_0x47a1d7(0x1d5)]||''):'<no\x20response>',_0x4245ff=_0x2ff9ca?JSON['stringify'](_0x2ff9ca[_0x47a1d7(0x1c7)]):'<no\x20response\x20body>',_0x2cb7c2=new HttpError(_0x1462fe+':\x20'+_0x7f892e+(_0x2ff9ca['data']?'\x20'+_0x4245ff:''));for(const _0x35c2ce of['request',_0x47a1d7(0x1e0),'response','data'])Object[_0x47a1d7(0x1e2)](_0x2cb7c2,_0x35c2ce,{'get'(){const _0x33144d=_0x47a1d7,_0x20ba7e={};return _0x20ba7e['request']=_0xa016b0,_0x20ba7e[_0x33144d(0x1e0)]=_0x54d1ff,_0x20ba7e['response']=_0x2ff9ca,_0x20ba7e[_0x33144d(0x1c7)]=_0x2ff9ca[_0x33144d(0x1c7)],_0x20ba7e[_0x35c2ce];}});return _0x2cb7c2;}function normalizeError(_0x27010d){const _0xea4657=_0x27439e;if(_0x27010d instanceof Error)return _0x27010d;return Object[_0xea4657(0x1df)](new Error(_0x27010d?.[_0xea4657(0x1d5)]||_0x27010d?.[_0xea4657(0x1fa)]||'HTTP\x20request\x20failed'),{'cause':_0x27010d});}async function callRequestHooks(_0x50ef0e,_0x51288d){await _0x51288d['onRequest']?.({'options':_0x51288d,'resource':_0x50ef0e});}async function callRequestErrorHooks(_0x2008b2,_0x47cb44,_0x1e6721){const _0x1aaac2=_0x27439e;await _0x47cb44[_0x1aaac2(0x1ec)]?.({'options':_0x47cb44,'resource':_0x2008b2,'error':_0x1e6721});}async function callResponseHooks(_0x5b4fa2,_0x501571,_0x4c681c){await _0x501571['onResponse']?.({'options':_0x501571,'resource':_0x5b4fa2,'response':_0x4c681c});}function _0x5c48(_0x5533ad,_0x5892c1){_0x5533ad=_0x5533ad-0x1ae;const _0x591ae9=_0x591a();let _0x5c48db=_0x591ae9[_0x5533ad];return _0x5c48db;}async function callResponseErrorHooks(_0x3a1445,_0x41fc11,_0x23c5be){const _0x5afa11=_0x27439e;await _0x41fc11[_0x5afa11(0x1af)]?.({'options':_0x41fc11,'resource':_0x3a1445,'response':_0x23c5be});}async function refineResponse(_0x3ef305,_0x56b8d5){const _0x4b4206=_0x27439e;if(_0x56b8d5['responseType']===_0x4b4206(0x200)||!_0x56b8d5[_0x4b4206(0x201)])return{..._0x3ef305,'data':await parseJSONResponse(_0x3ef305['data'],_0x56b8d5)};return _0x3ef305;}function _0x591a(){const _0x5c22f9=['abort','onRequestError','type','onProgress','retryDelay','159025lUBvaE','onHeadersReceived','download','timeout','reason','22BTOjkd','104janMIP','flatMap','parse','catch','message','6pXqzgc','enableHttpDNS','POST','upload','The\x20operation\x20was\x20aborted','json','responseType','keys','onSuccess','onResponseError','string','3933ZmfLtk','files','splice','call','addEventListener','38259JjYDDO','HttpError','_abort','createHttpAborter','signal','text','includes','sslVerify','aborted','ignoreResponseError','headers','entries','then','get','AbortError','listeners','fileType','data','createHttp','enableCache','parseResponse','name','query','964190bFZpZg','firstIpv4','onResponse','http','statusCode','number','filePath','onProgressUpdate','errMsg','1391334RmHQRR','function','193588rVBIOv','indexOf','method','30pAUEdZ','arrayBuffer','enableQuic','enumerable','assign','options','3049908mEiomr','defineProperty','startsWith','onabort','withCredentials','uploadFile','33CNJhIP','removeEventListener','resolve','request'];_0x591a=function(){return _0x5c22f9;};return _0x591a();}function parseJSONResponse(_0x29a19c,_0x52875f){const _0x5ce6db=_0x27439e;if(typeof _0x29a19c!==_0x5ce6db(0x1b0))return _0x29a19c;if(_0x52875f[_0x5ce6db(0x1ca)])return _0x52875f['parseResponse'](_0x29a19c);return _0x29a19c?JSON[_0x5ce6db(0x1f8)](_0x29a19c):null;}function isResponseError(_0x3a5dc3){const _0x58099b=_0x27439e,_0x4b8171=_0x58099b(0x1d1)in _0x3a5dc3?_0x3a5dc3[_0x58099b(0x1d1)]:void 0x0;return typeof _0x4b8171==='number'&&(_0x4b8171<0xc8||_0x4b8171>=0x12c);}const DEFAULT_RETRY_STATUS_CODES=[0x198,0x199,0x1a9,0x1ad,0x1f4,0x1f6,0x1f7,0x1f8],PAYLOAD_METHODS=new Set([_0x27439e(0x1fd),'PUT','DELETE','PATCH']);async function withRetry(_0x30d3b1,_0x32cc3c){const _0x59be42=_0x27439e,_0x26008d=resolveRetryCount(_0x30d3b1);for(let _0x2d557e=0x0;;_0x2d557e++)try{return await _0x32cc3c();}catch(_0x27a266){if(_0x2d557e>=_0x26008d||!shouldRetry(_0x27a266,_0x30d3b1))throw _0x27a266;await sleep(_0x30d3b1[_0x59be42(0x1ef)]??0x0,_0x30d3b1[_0x59be42(0x1ba)]);}}function resolveRetryCount(_0xc41c1){const _0x242cc5=_0x27439e,{retry:_0x18a88f}=_0xc41c1;if(_0x18a88f===![])return 0x0;if(typeof _0x18a88f===_0x242cc5(0x1d2))return _0x18a88f>0x0?_0x18a88f:0x0;return isPayloadMethod(_0xc41c1[_0x242cc5(0x1da)])?0x0:0x1;}function shouldRetry(_0x32d0b0,_0x52a539){const _0x505766=_0x27439e;if(_0x52a539['signal']?.[_0x505766(0x1be)]||isAbortError(_0x32d0b0))return![];const _0x45983f=_0x32d0b0?.['response']?.[_0x505766(0x1d1)];if(typeof _0x45983f!=='number')return!![];return(_0x52a539['retryStatusCodes']??DEFAULT_RETRY_STATUS_CODES)['includes'](_0x45983f);}function isPayloadMethod(_0x325ff6){return!!_0x325ff6&&PAYLOAD_METHODS['has'](_0x325ff6['toUpperCase']());}function sleep(_0x2aa080,_0x3d7eb8){return new Promise((_0x2b1946,_0x3c1f62)=>{const _0x389bce=_0x5c48;if(_0x3d7eb8?.[_0x389bce(0x1be)]){_0x3c1f62(_0x3d7eb8['reason']);return;}if(!(_0x2aa080>0x0)){_0x2b1946();return;}let _0x474e95=()=>{};const _0x57ab08=setTimeout(()=>{_0x474e95(),_0x2b1946();},_0x2aa080);_0x474e95=onAbort(_0x3d7eb8,()=>{clearTimeout(_0x57ab08),_0x3c1f62(_0x3d7eb8['reason']);});});}function buildURL(_0x36e38a,_0x322a94){const _0x3ddabd=_0x27439e,_0x2b3723=joinURL(_0x322a94['baseURL'],_0x36e38a),_0x5e7968=_0x322a94['query']??{},_0x45e74d=Object[_0x3ddabd(0x202)](_0x5e7968)['filter'](_0x4c3d45=>_0x5e7968[_0x4c3d45]!==void 0x0)[_0x3ddabd(0x1f7)](_0x4d9cb3=>{const _0x157c85=_0x5e7968[_0x4d9cb3];return(Array['isArray'](_0x157c85)?_0x157c85:[_0x157c85])['map'](_0x1edb1e=>encodeURIComponent(_0x4d9cb3)+'='+encodeURIComponent(String(_0x1edb1e)));})['join']('&');if(!_0x45e74d)return _0x2b3723;return''+_0x2b3723+(_0x2b3723[_0x3ddabd(0x1bc)]('?')?'&':'?')+_0x45e74d;}function joinURL(_0x1f832e,_0xb3d2a7){if(!_0x1f832e||isAbsoluteURL(_0xb3d2a7))return _0xb3d2a7;return _0x1f832e['replace'](/\/+$/,'')+'/'+_0xb3d2a7['replace'](/^\/+/,'');}function isAbsoluteURL(_0x16b87e){const _0x2456c6=_0x27439e;return/^[a-z][a-z\d+\-.]*:\/\//i['test'](_0x16b87e)||_0x16b87e[_0x2456c6(0x1e3)]('//');}function dispatchHttp(_0x763689,_0x5af7fb,_0x53802e){const _0x2f5dd5=buildURL(_0x5af7fb,_0x53802e);return withRetry(_0x53802e,()=>attemptRequest(_0x763689,_0x5af7fb,_0x2f5dd5,_0x53802e));}function attemptRequest(_0x55faf4,_0x5e3e1d,_0x507d5e,_0x42994c){const _0x19d71f=!!_0x42994c['raw'];return new Promise((_0x524c6b,_0x20c696)=>{const _0x338e8d=_0x5c48;let _0x417b9a=![];const _0x529ab1=_0x536f8c=>{if(_0x417b9a)return;_0x417b9a=!![],_0x536f8c();},_0x337fcc=onAbort(_0x42994c[_0x338e8d(0x1ba)],()=>{_0x529ab1(()=>_0x20c696(_0x42994c['signal']['reason']));}),_0x2cac19=_0xd1ded6=>{_0x337fcc(),_0x529ab1(_0xd1ded6);};callRequestHooks(_0x5e3e1d,_0x42994c)['then'](()=>{if(_0x417b9a)return;dispatch(_0x55faf4,_0x507d5e,_0x42994c,{'onSuccess':_0x5e3c98=>{const _0x426bb3=_0x5c48;Promise[_0x426bb3(0x1e9)]()[_0x426bb3(0x1c2)](()=>refineResponse(_0x5e3c98,_0x42994c))['then'](async _0x43ae8d=>{const _0x180096=_0x426bb3;if(isResponseError(_0x5e3c98)){await callResponseErrorHooks(_0x5e3e1d,_0x42994c,_0x43ae8d);if(!_0x42994c[_0x180096(0x1bf)])throw createResponseError(_0x5e3e1d,_0x42994c,_0x43ae8d);}else await callResponseHooks(_0x5e3e1d,_0x42994c,_0x43ae8d);_0x2cac19(()=>_0x524c6b(_0x19d71f?_0x43ae8d:_0x43ae8d['data']));})[_0x426bb3(0x1f9)](_0x2d6043=>_0x2cac19(()=>_0x20c696(_0x2d6043)));},'onFail':_0xd0969=>{const _0x4996b8=_0x5c48;Promise['resolve']()[_0x4996b8(0x1c2)](async()=>{const _0x476d71=normalizeError(_0xd0969);if(!isAbortError(_0x476d71))await callRequestErrorHooks(_0x5e3e1d,_0x42994c,_0x476d71);throw _0x476d71;})[_0x4996b8(0x1f9)](_0x1407a6=>_0x2cac19(()=>_0x20c696(_0x1407a6)));}});})['catch'](async _0x38727f=>{const _0x1d5ea5=normalizeError(_0x38727f);await callRequestErrorHooks(_0x5e3e1d,_0x42994c,_0x1d5ea5),_0x2cac19(()=>_0x20c696(_0x1d5ea5));});});}const _0x33cb46={};_0x33cb46['method']='GET',_0x33cb46[_0x27439e(0x201)]=_0x27439e(0x200);const defaultConfig=_0x33cb46;function createHttp(_0x251a0f={}){const _0x1233f7=_0x27439e,_0x4dcd2c=(_0x4a40ac,_0x16d2b8)=>{const _0xa74036=_0x5c48;return dispatchHttp(_0xa74036(0x1ea),_0x4a40ac,mergeOptions(defaultConfig,_0x251a0f,_0x16d2b8));},_0x15d24c=(_0x58e398,_0x561b91)=>{const _0xc9a705=_0x5c48,_0xa0da09={};return _0xa0da09[_0xc9a705(0x1da)]=_0xc9a705(0x1fd),dispatchHttp('upload',_0x58e398,mergeOptions(defaultConfig,_0x251a0f,_0x561b91,_0xa0da09));},_0x3fa44e=(_0x313930,_0x48e36c)=>{const _0x1e2d6f=_0x5c48,_0x46d899={};return _0x46d899[_0x1e2d6f(0x1da)]='GET',dispatchHttp(_0x1e2d6f(0x1f2),_0x313930,mergeOptions(defaultConfig,_0x251a0f,_0x48e36c,_0x46d899));},_0xc0b832=_0x57c430=>createHttp(mergeOptions(_0x251a0f,_0x57c430)),_0x2224ae={};return _0x2224ae[_0x1233f7(0x1ea)]=_0x4dcd2c,_0x2224ae[_0x1233f7(0x1fe)]=_0x15d24c,_0x2224ae[_0x1233f7(0x1f2)]=_0x3fa44e,_0x2224ae['create']=_0xc0b832,_0x2224ae;}const http=createHttp(),_0x50cca6={};_0x50cca6['enumerable']=!![],_0x50cca6[_0x27439e(0x1c3)]=function(){return createHttp;},Object[_0x27439e(0x1e2)](exports,_0x27439e(0x1c8),_0x50cca6);const _0x236b91={};_0x236b91['enumerable']=!![],_0x236b91[_0x27439e(0x1c3)]=function(){return createHttpAborter;},Object['defineProperty'](exports,_0x27439e(0x1b9),_0x236b91);const _0x5d6668={};_0x5d6668[_0x27439e(0x1de)]=!![],_0x5d6668['get']=function(){return http;},Object[_0x27439e(0x1e2)](exports,_0x27439e(0x1d0),_0x5d6668);
package/dist/oiyo.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
6
6
  */
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
8
- const require_oiyo = require("./oiyo-CZ64L3f6.cjs");
8
+ const require_oiyo = require("./oiyo-BOfXIUcB.cjs");
9
9
  exports.createHttp = require_oiyo.createHttp;
10
10
  exports.createHttpAborter = require_oiyo.createHttpAborter;
11
11
  exports.http = require_oiyo.http;
package/dist/oiyo.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
6
6
  */
7
- import { a as HttpDownloadResponse, c as HttpDownloadOptions, d as ResponseBodyType, f as createHttpAborter, i as HttpError, l as HttpRequestOptions, n as http, o as HttpRequestResponse, r as HttpConfig, s as HttpUploadResponse, t as createHttp, u as HttpUploadOptions } from "./index-DCAh9vr9.cjs";
7
+ import { a as HttpDownloadResponse, c as HttpDownloadOptions, d as ResponseBodyType, f as createHttpAborter, i as HttpError, l as HttpRequestOptions, n as http, o as HttpRequestResponse, r as HttpConfig, s as HttpUploadResponse, t as createHttp, u as HttpUploadOptions } from "./index-B4NECdKj.cjs";
8
8
  export { type HttpConfig, type HttpDownloadOptions, type HttpDownloadResponse, type HttpError, type HttpRequestOptions, type HttpRequestResponse, type HttpUploadOptions, type HttpUploadResponse, type ResponseBodyType, createHttp, createHttpAborter, http };
package/dist/oiyo.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
6
6
  */
7
- import { a as HttpDownloadResponse, c as HttpDownloadOptions, d as ResponseBodyType, f as createHttpAborter, i as HttpError, l as HttpRequestOptions, n as http, o as HttpRequestResponse, r as HttpConfig, s as HttpUploadResponse, t as createHttp, u as HttpUploadOptions } from "./index-DCAh9vr9.mjs";
7
+ import { a as HttpDownloadResponse, c as HttpDownloadOptions, d as ResponseBodyType, f as createHttpAborter, i as HttpError, l as HttpRequestOptions, n as http, o as HttpRequestResponse, r as HttpConfig, s as HttpUploadResponse, t as createHttp, u as HttpUploadOptions } from "./index-B4NECdKj.mjs";
8
8
  export { type HttpConfig, type HttpDownloadOptions, type HttpDownloadResponse, type HttpError, type HttpRequestOptions, type HttpRequestResponse, type HttpUploadOptions, type HttpUploadResponse, type ResponseBodyType, createHttp, createHttpAborter, http };
package/dist/oiyo.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
6
6
  */
7
- import { n as http, r as createHttpAborter, t as createHttp } from "./oiyo-CUWG-Hhg.mjs";
7
+ import { n as http, r as createHttpAborter, t as createHttp } from "./oiyo-BOeGyXdP.mjs";
8
8
  export { createHttp, createHttpAborter, http };
package/dist/uni.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
6
6
  */
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
8
- require("./chunk-BnILMwZG.cjs");
8
+ require("./chunk-BGy3oB1q.cjs");
9
9
  var _dcloudio_uni_app = require("@dcloudio/uni-app");
10
10
  Object.keys(_dcloudio_uni_app).forEach(function(k) {
11
11
  if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
package/dist/uni.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
package/dist/uni.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
package/dist/uni.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
6
6
  */
7
- import "./chunk-Bcqm9nz_.mjs";
7
+ import "./chunk-BIMTDWTb.mjs";
8
8
  export * from "@dcloudio/uni-app";
9
9
  export {};
package/dist/vue.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
6
6
  */
7
7
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
8
- require("./chunk-BnILMwZG.cjs");
8
+ require("./chunk-BGy3oB1q.cjs");
9
9
  var vue = require("vue");
10
10
  Object.keys(vue).forEach(function(k) {
11
11
  if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
package/dist/vue.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
package/dist/vue.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
package/dist/vue.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @oiyo/framework v0.4.0-beta.2
2
+ * @oiyo/framework v0.4.0-beta.3
3
3
  * Copyright (c) 2026 skiyee. All rights reserved.
4
4
  * Commercial software. See LICENSE for terms.
5
5
  * Official site: https://oiyo.js.org
6
6
  */
7
- import "./chunk-Bcqm9nz_.mjs";
7
+ import "./chunk-BIMTDWTb.mjs";
8
8
  export * from "vue";
9
9
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oiyo/framework",
3
3
  "type": "module",
4
- "version": "0.4.0-beta.2",
4
+ "version": "0.4.0-beta.3",
5
5
  "author": {
6
6
  "name": "skiyee",
7
7
  "email": "319619193@qq.com",
@@ -1,7 +0,0 @@
1
- /**
2
- * @oiyo/framework v0.4.0-beta.2
3
- * Copyright (c) 2026 skiyee. All rights reserved.
4
- * Commercial software. See LICENSE for terms.
5
- * Official site: https://oiyo.js.org
6
- */
7
- const _0x2b5027=_0x167a;(function(_0x369913,_0x37e29a){const _0x481d05=_0x167a,_0x5c5bde=_0x369913();while(!![]){try{const _0x29de9c=-parseInt(_0x481d05(0x10e))/0x1*(parseInt(_0x481d05(0x119))/0x2)+parseInt(_0x481d05(0xfc))/0x3*(parseInt(_0x481d05(0x115))/0x4)+-parseInt(_0x481d05(0x107))/0x5*(-parseInt(_0x481d05(0xf4))/0x6)+-parseInt(_0x481d05(0xf7))/0x7+-parseInt(_0x481d05(0xd6))/0x8*(parseInt(_0x481d05(0x10b))/0x9)+parseInt(_0x481d05(0xd8))/0xa+parseInt(_0x481d05(0xe4))/0xb;if(_0x29de9c===_0x37e29a)break;else _0x5c5bde['push'](_0x5c5bde['shift']());}catch(_0x271def){_0x5c5bde['push'](_0x5c5bde['shift']());}}}(_0x1c3b,0x68e1c));function createHttpAborter(){const _0x5a8243=new HttpAbortSignal();return{'signal':_0x5a8243,'abort':_0x19de66=>_0x5a8243['_abort'](_0x19de66)};}const ABORT_ERROR_NAME='AbortError';var AbortEmitter=class{['listeners']=[];['addEventListener'](_0x1d14a1,_0x1e3382){const _0x3753ee=_0x167a;if(_0x1d14a1!=='abort')return;this[_0x3753ee(0xff)][_0x3753ee(0xd1)](_0x1e3382);}[_0x2b5027(0xd9)](_0x16eea4,_0x3c875d){const _0x2065c5=_0x2b5027;if(_0x16eea4!=='abort')return;const _0x228222=this[_0x2065c5(0xff)][_0x2065c5(0xdf)](_0x3c875d);if(_0x228222!==-0x1)this[_0x2065c5(0xff)]['splice'](_0x228222,0x1);}['emit'](_0x460a13){for(const _0x2fe4d6 of this['listeners']['slice']())_0x2fe4d6['call'](this,_0x460a13);}},HttpAbortSignal=class extends AbortEmitter{['aborted']=![];[_0x2b5027(0x106)]=void 0x0;['onabort']=null;[_0x2b5027(0xe2)](_0x50020c){const _0xc3e650=_0x2b5027;if(this['aborted'])return;this['aborted']=!![],this['reason']=_0x50020c===void 0x0?createAbortError():_0x50020c;const _0x2ee881={};_0x2ee881[_0xc3e650(0x11b)]=_0xc3e650(0xd4);const _0x46b8de=_0x2ee881;if(typeof this[_0xc3e650(0x10f)]==='function')this['onabort'](_0x46b8de);this['emit'](_0x46b8de);}['throwIfAborted'](){const _0x1e7d73=_0x2b5027;if(this[_0x1e7d73(0xdc)])throw this[_0x1e7d73(0x106)];}};function createAbortError(_0x3eefc0=_0x2b5027(0x101)){const _0xb82315=new Error(_0x3eefc0);return _0xb82315['name']=ABORT_ERROR_NAME,_0xb82315;}function isAbortError(_0x52a9aa){const _0x385137=_0x2b5027;return _0x52a9aa instanceof Error&&_0x52a9aa[_0x385137(0x108)]===ABORT_ERROR_NAME;}function onAbort(_0x38742e,_0x1714f4){const _0x7feeb8=_0x2b5027;if(!_0x38742e)return()=>{};if(_0x38742e[_0x7feeb8(0xdc)])return _0x1714f4(),()=>{};return _0x38742e[_0x7feeb8(0x114)](_0x7feeb8(0xd4),_0x1714f4),()=>_0x38742e['removeEventListener']('abort',_0x1714f4);}function _0x167a(_0x5661b0,_0x584ce0){_0x5661b0=_0x5661b0-0xc3;const _0x1c3b4d=_0x1c3b();let _0x167adf=_0x1c3b4d[_0x5661b0];return _0x167adf;}const HOOK_NAMES=['onRequest',_0x2b5027(0xe0),'onResponse','onResponseError'];function mergeOptions(..._0x3820dd){const _0x35614e=_0x2b5027,_0x4299c5={},_0x542a5c={};for(const _0x17c8c1 of _0x3820dd){if(!_0x17c8c1)continue;for(const _0x25d2f8 of HOOK_NAMES)collectHook(_0x542a5c,_0x25d2f8,_0x17c8c1);const _0x13ff84=_0x4299c5['headers'],_0x2cdfa5=_0x4299c5['query'];Object[_0x35614e(0xd7)](_0x4299c5,_0x17c8c1);const _0x267e82={..._0x13ff84,..._0x17c8c1['headers']};_0x4299c5['headers']=_0x267e82;const _0x215bff={..._0x2cdfa5,..._0x17c8c1[_0x35614e(0xea)]};_0x4299c5[_0x35614e(0xea)]=_0x215bff;}for(const [_0x449045,_0x20e1ef]of Object['entries'](_0x542a5c))Object['assign'](_0x4299c5,{[_0x449045]:async _0x17d19b=>{for(const _0x2afca4 of _0x20e1ef)await _0x2afca4(_0x17d19b);}});return _0x4299c5;}function collectHook(_0x29568b,_0x1207c8,_0x377d25){const _0x5212e6=_0x2b5027,_0x4b9611=_0x377d25[_0x1207c8];if(typeof _0x4b9611!==_0x5212e6(0xe1))return;_0x29568b[_0x1207c8]??=[],_0x29568b[_0x1207c8]['push'](_0x4b9611);}function dispatch(_0x44ea88,_0x2ac0e5,_0x13d576,_0x326236){const _0x1c7b88=_0x2b5027;let _0x69fbde;if(_0x44ea88===_0x1c7b88(0x116))_0x69fbde=dispatchUpload(_0x2ac0e5,_0x13d576,_0x326236);else{if(_0x44ea88==='download')_0x69fbde=dispatchDownload(_0x2ac0e5,_0x13d576,_0x326236);else _0x69fbde=dispatchRequest(_0x2ac0e5,_0x13d576,_0x326236);}bindTask(_0x69fbde,_0x13d576);}function bindTask(_0x51e77b,_0x3e9dc8){const _0x12f7b8=_0x2b5027;onAbort(_0x3e9dc8['signal'],()=>_0x51e77b[_0x12f7b8(0xd4)]());if(typeof _0x3e9dc8['onHeadersReceived']===_0x12f7b8(0xe1))_0x51e77b['onHeadersReceived'](_0x3e9dc8[_0x12f7b8(0xf5)]);const _0x310183=_0x3e9dc8[_0x12f7b8(0xcc)];if(typeof _0x310183==='function'&&_0x12f7b8(0xfa)in _0x51e77b)_0x51e77b[_0x12f7b8(0xfa)](_0x310183);}function _0x1c3b(){const _0x50c8b7=['enableHttpDNS','catch','onProgress','dataType','flatMap','create','onResponse','push','tempFilePath','includes','abort','data','8UTJXTA','assign','510640EBvjYt','removeEventListener','url','toUpperCase','aborted','HTTP\x20request\x20failed','json','indexOf','onRequestError','function','_abort','formData','13449623aHAgyf','timeout','method','filePath','arrayBuffer','fileType','query','ignoreResponseError','errMsg','retryStatusCodes','forceCellularNetwork','enableQuic','headers','number','request','enableChunked','335334ljHvWW','onHeadersReceived','files','3021270ODWxeO','defineProperty','signal','onProgressUpdate','message','3fRLyty','then','GET','listeners','replace','The\x20operation\x20was\x20aborted','has','response','test','onFail','reason','5UWEjWx','name','body','POST','3891996WFStVD','statusCode','isArray','4790BrpbMw','onabort','responseType','PATCH','onResponseError','enableCache','addEventListener','2710856ZUqEmW','upload','text','baseURL','298MPUcMC','join','type','download','<no\x20response>','resolve','arraybuffer','PUT','enableHttp2','startsWith'];_0x1c3b=function(){return _0x50c8b7;};return _0x1c3b();}function dispatchRequest(_0x1594c0,_0x421334,_0x2c7a59){const _0x41dc81=_0x2b5027,_0x3edf08={'url':_0x1594c0,'method':_0x421334[_0x41dc81(0xe6)],'header':_0x421334[_0x41dc81(0xf0)],'data':_0x421334[_0x41dc81(0x109)]??{},'timeout':_0x421334['timeout'],'dataType':_0x421334[_0x41dc81(0xcd)]||'json','responseType':mappedResponseBodyType(_0x421334['responseType']),'sslVerify':_0x421334['sslVerify'],'withCredentials':_0x421334['withCredentials'],'firstIpv4':_0x421334['firstIpv4'],'enableHttp2':_0x421334[_0x41dc81(0xc8)],'enableQuic':_0x421334[_0x41dc81(0xef)],'enableCache':_0x421334[_0x41dc81(0x113)],'enableHttpDNS':_0x421334[_0x41dc81(0xca)],'httpDNSServiceId':_0x421334['httpDNSServiceId'],'enableChunked':_0x421334[_0x41dc81(0xf3)],'forceCellularNetwork':_0x421334[_0x41dc81(0xee)],'success':_0x2c7a59['onSuccess'],'fail':_0x2c7a59[_0x41dc81(0x105)],'complete':()=>{}};return uni['request'](_0x3edf08);}function dispatchUpload(_0x255ff5,_0x34f365,_0x4c7282){const _0x422fda=_0x2b5027,_0x13b266={};_0x13b266[_0x422fda(0xda)]=_0x255ff5,_0x13b266[_0x422fda(0xe9)]=_0x34f365['fileType'],_0x13b266['file']=_0x34f365['file'],_0x13b266['filePath']=_0x34f365[_0x422fda(0xe7)],_0x13b266['name']=_0x34f365['name']??'file',_0x13b266[_0x422fda(0xf6)]=_0x34f365[_0x422fda(0xf6)],_0x13b266['header']=_0x34f365[_0x422fda(0xf0)],_0x13b266[_0x422fda(0xe3)]=_0x34f365[_0x422fda(0x109)]??{},_0x13b266['timeout']=_0x34f365[_0x422fda(0xe5)],_0x13b266['success']=_0x4c7282['onSuccess'],_0x13b266['fail']=_0x4c7282[_0x422fda(0x105)],_0x13b266['complete']=()=>{};const _0x140615=_0x13b266;return uni['uploadFile'](_0x140615);}function dispatchDownload(_0x597dd8,_0x29b619,_0x574c10){const _0x45c597=_0x2b5027,_0x461ac6={'url':_0x597dd8,'header':_0x29b619['headers'],'timeout':_0x29b619[_0x45c597(0xe5)],'success':_0x36bee4=>{const _0x3aa507=_0x45c597,_0x498ac2={..._0x36bee4};_0x498ac2[_0x3aa507(0xd5)]={},_0x498ac2[_0x3aa507(0xd5)][_0x3aa507(0xd2)]=_0x36bee4['tempFilePath'],_0x574c10['onSuccess'](_0x498ac2);},'fail':_0x574c10['onFail'],'complete':()=>{}};return uni['downloadFile'](_0x461ac6);}function mappedResponseBodyType(_0x1b4f4a){const _0x108aaa=_0x2b5027;if(!_0x1b4f4a||_0x1b4f4a==='json')return'text';if(_0x1b4f4a===_0x108aaa(0xe8))return _0x108aaa(0xc6);return _0x108aaa(0x117);}var HttpError=class extends Error{constructor(_0x149bb2){super(_0x149bb2),this['name']='HttpError';}};function createResponseError(_0x1aebad,_0x14b814,_0x749082){const _0x150b8a=_0x2b5027,_0x3887f3=_0x1aebad,_0x42b20d='['+(_0x14b814?.['method']||'GET')+']\x20'+_0x3887f3,_0x5beff7=_0x749082?_0x749082[_0x150b8a(0x10c)]+'\x20'+(_0x749082[_0x150b8a(0xec)]||''):_0x150b8a(0xc4),_0x5a661d=_0x749082?JSON['stringify'](_0x749082[_0x150b8a(0xd5)]):'<no\x20response\x20body>',_0x464136=new HttpError(_0x42b20d+':\x20'+_0x5beff7+(_0x749082['data']?'\x20'+_0x5a661d:''));for(const _0x577157 of['request','options',_0x150b8a(0x103),'data'])Object[_0x150b8a(0xf8)](_0x464136,_0x577157,{'get'(){const _0x40ee5f=_0x150b8a,_0x12032e={};return _0x12032e[_0x40ee5f(0xf2)]=_0x1aebad,_0x12032e['options']=_0x14b814,_0x12032e['response']=_0x749082,_0x12032e['data']=_0x749082[_0x40ee5f(0xd5)],_0x12032e[_0x577157];}});return _0x464136;}function normalizeError(_0x47dca7){const _0x2e551b=_0x2b5027;if(_0x47dca7 instanceof Error)return _0x47dca7;return Object[_0x2e551b(0xd7)](new Error(_0x47dca7?.[_0x2e551b(0xec)]||_0x47dca7?.[_0x2e551b(0xfb)]||_0x2e551b(0xdd)),{'cause':_0x47dca7});}async function callRequestHooks(_0x19ded4,_0x4768ae){await _0x4768ae['onRequest']?.({'options':_0x4768ae,'resource':_0x19ded4});}async function callRequestErrorHooks(_0x2b2afd,_0x21d50d,_0x46e6fd){await _0x21d50d['onRequestError']?.({'options':_0x21d50d,'resource':_0x2b2afd,'error':_0x46e6fd});}async function callResponseHooks(_0xd08b59,_0x1f164a,_0x994454){const _0x1e3fcd=_0x2b5027;await _0x1f164a[_0x1e3fcd(0xd0)]?.({'options':_0x1f164a,'resource':_0xd08b59,'response':_0x994454});}async function callResponseErrorHooks(_0x591c48,_0x4ea977,_0x4ac985){const _0x481cf4=_0x2b5027;await _0x4ea977[_0x481cf4(0x112)]?.({'options':_0x4ea977,'resource':_0x591c48,'response':_0x4ac985});}async function refineResponse(_0x4da2d7,_0x5708ac){const _0x2e97c0=_0x2b5027;if(_0x5708ac[_0x2e97c0(0x110)]==='json'||!_0x5708ac['responseType'])return{..._0x4da2d7,'data':await parseJSONResponse(_0x4da2d7['data'],_0x5708ac)};return _0x4da2d7;}function parseJSONResponse(_0x1c5bbd,_0xf954a5){if(typeof _0x1c5bbd!=='string')return _0x1c5bbd;if(_0xf954a5['parseResponse'])return _0xf954a5['parseResponse'](_0x1c5bbd);return _0x1c5bbd?JSON['parse'](_0x1c5bbd):null;}function isResponseError(_0x471b14){const _0x565c17=_0x2b5027,_0x19a6c5='statusCode'in _0x471b14?_0x471b14[_0x565c17(0x10c)]:void 0x0;return typeof _0x19a6c5===_0x565c17(0xf1)&&(_0x19a6c5<0xc8||_0x19a6c5>=0x12c);}const DEFAULT_RETRY_STATUS_CODES=[0x198,0x199,0x1a9,0x1ad,0x1f4,0x1f6,0x1f7,0x1f8],PAYLOAD_METHODS=new Set([_0x2b5027(0x10a),_0x2b5027(0xc7),'DELETE',_0x2b5027(0x111)]);async function withRetry(_0x272f73,_0x29fd77){const _0x1adf15=_0x2b5027,_0x341cbd=resolveRetryCount(_0x272f73);for(let _0x48fe33=0x0;;_0x48fe33++)try{return await _0x29fd77();}catch(_0x2fd81c){if(_0x48fe33>=_0x341cbd||!shouldRetry(_0x2fd81c,_0x272f73))throw _0x2fd81c;await sleep(_0x272f73['retryDelay']??0x0,_0x272f73[_0x1adf15(0xf9)]);}}function resolveRetryCount(_0x1e67f1){const {retry:_0x532595}=_0x1e67f1;if(_0x532595===![])return 0x0;if(typeof _0x532595==='number')return _0x532595>0x0?_0x532595:0x0;return isPayloadMethod(_0x1e67f1['method'])?0x0:0x1;}function shouldRetry(_0x296f7e,_0x30f08b){const _0x5f4932=_0x2b5027;if(_0x30f08b[_0x5f4932(0xf9)]?.['aborted']||isAbortError(_0x296f7e))return![];const _0x5cc7c9=_0x296f7e?.[_0x5f4932(0x103)]?.[_0x5f4932(0x10c)];if(typeof _0x5cc7c9!=='number')return!![];return(_0x30f08b[_0x5f4932(0xed)]??DEFAULT_RETRY_STATUS_CODES)['includes'](_0x5cc7c9);}function isPayloadMethod(_0xdaf9fc){const _0x18bd6f=_0x2b5027;return!!_0xdaf9fc&&PAYLOAD_METHODS[_0x18bd6f(0x102)](_0xdaf9fc[_0x18bd6f(0xdb)]());}function sleep(_0x222eb3,_0x1ef38c){return new Promise((_0x28ec9a,_0x4ccc73)=>{const _0x11f9e1=_0x167a;if(_0x1ef38c?.[_0x11f9e1(0xdc)]){_0x4ccc73(_0x1ef38c['reason']);return;}if(!(_0x222eb3>0x0)){_0x28ec9a();return;}let _0x7332ae=()=>{};const _0xf1f75d=setTimeout(()=>{_0x7332ae(),_0x28ec9a();},_0x222eb3);_0x7332ae=onAbort(_0x1ef38c,()=>{clearTimeout(_0xf1f75d),_0x4ccc73(_0x1ef38c['reason']);});});}function buildURL(_0x201eb2,_0x2a07a9){const _0x1cfcc2=_0x2b5027,_0x445420=joinURL(_0x2a07a9[_0x1cfcc2(0x118)],_0x201eb2),_0x4e843f=_0x2a07a9['query']??{},_0x3cc429=Object['keys'](_0x4e843f)['filter'](_0x25b573=>_0x4e843f[_0x25b573]!==void 0x0)[_0x1cfcc2(0xce)](_0x2756e9=>{const _0x1f5fb9=_0x1cfcc2,_0x52f1a9=_0x4e843f[_0x2756e9];return(Array[_0x1f5fb9(0x10d)](_0x52f1a9)?_0x52f1a9:[_0x52f1a9])['map'](_0xd5d5c5=>encodeURIComponent(_0x2756e9)+'='+encodeURIComponent(String(_0xd5d5c5)));})[_0x1cfcc2(0x11a)]('&');if(!_0x3cc429)return _0x445420;return''+_0x445420+(_0x445420[_0x1cfcc2(0xd3)]('?')?'&':'?')+_0x3cc429;}function joinURL(_0x392199,_0xd1268b){const _0x22cddb=_0x2b5027;if(!_0x392199||isAbsoluteURL(_0xd1268b))return _0xd1268b;return _0x392199['replace'](/\/+$/,'')+'/'+_0xd1268b[_0x22cddb(0x100)](/^\/+/,'');}function isAbsoluteURL(_0x19be06){const _0x121396=_0x2b5027;return/^[a-z][a-z\d+\-.]*:\/\//i[_0x121396(0x104)](_0x19be06)||_0x19be06[_0x121396(0xc9)]('//');}function dispatchHttp(_0x3cdeaa,_0x5d2330,_0x221b47){const _0x4b121e=buildURL(_0x5d2330,_0x221b47);return withRetry(_0x221b47,()=>attemptRequest(_0x3cdeaa,_0x5d2330,_0x4b121e,_0x221b47));}function attemptRequest(_0x21d6d0,_0x513be7,_0x44cc30,_0x3a717d){const _0x31abf4=!!_0x3a717d['raw'];return new Promise((_0x33a20d,_0xbe2fa9)=>{const _0x4a52b6=_0x167a;let _0x53994c=![];const _0x58382f=_0x1c3808=>{if(_0x53994c)return;_0x53994c=!![],_0x1c3808();},_0x3f6362=onAbort(_0x3a717d['signal'],()=>{const _0x52d034=_0x167a;_0x58382f(()=>_0xbe2fa9(_0x3a717d['signal'][_0x52d034(0x106)]));}),_0x94bf9b=_0x5b89fe=>{_0x3f6362(),_0x58382f(_0x5b89fe);};callRequestHooks(_0x513be7,_0x3a717d)[_0x4a52b6(0xfd)](()=>{if(_0x53994c)return;dispatch(_0x21d6d0,_0x44cc30,_0x3a717d,{'onSuccess':_0x3ab3cf=>{Promise['resolve']()['then'](()=>refineResponse(_0x3ab3cf,_0x3a717d))['then'](async _0x4ab5cd=>{const _0x19dde6=_0x167a;if(isResponseError(_0x3ab3cf)){await callResponseErrorHooks(_0x513be7,_0x3a717d,_0x4ab5cd);if(!_0x3a717d[_0x19dde6(0xeb)])throw createResponseError(_0x513be7,_0x3a717d,_0x4ab5cd);}else await callResponseHooks(_0x513be7,_0x3a717d,_0x4ab5cd);_0x94bf9b(()=>_0x33a20d(_0x31abf4?_0x4ab5cd:_0x4ab5cd['data']));})['catch'](_0x3cbbb7=>_0x94bf9b(()=>_0xbe2fa9(_0x3cbbb7)));},'onFail':_0x3234b2=>{const _0x4796f8=_0x167a;Promise[_0x4796f8(0xc5)]()[_0x4796f8(0xfd)](async()=>{const _0x184679=normalizeError(_0x3234b2);if(!isAbortError(_0x184679))await callRequestErrorHooks(_0x513be7,_0x3a717d,_0x184679);throw _0x184679;})[_0x4796f8(0xcb)](_0x36a984=>_0x94bf9b(()=>_0xbe2fa9(_0x36a984)));}});})[_0x4a52b6(0xcb)](async _0x12011b=>{const _0x432976=normalizeError(_0x12011b);await callRequestErrorHooks(_0x513be7,_0x3a717d,_0x432976),_0x94bf9b(()=>_0xbe2fa9(_0x432976));});});}const _0x15a9f7={};_0x15a9f7['method']=_0x2b5027(0xfe),_0x15a9f7['responseType']=_0x2b5027(0xde);const defaultConfig=_0x15a9f7;function createHttp(_0x54e2ce={}){const _0x3aadf4=_0x2b5027,_0x52a994=(_0x210d5f,_0x38c05c)=>{const _0x3207f8=_0x167a;return dispatchHttp(_0x3207f8(0xf2),_0x210d5f,mergeOptions(defaultConfig,_0x54e2ce,_0x38c05c));},_0x53a720=(_0x59770d,_0x52af02)=>{const _0x52b156=_0x167a,_0x44400c={};return _0x44400c['method']=_0x52b156(0x10a),dispatchHttp(_0x52b156(0x116),_0x59770d,mergeOptions(defaultConfig,_0x54e2ce,_0x52af02,_0x44400c));},_0x268a29=(_0x462177,_0x2f6f20)=>{const _0x47567a=_0x167a,_0x11bf67={};return _0x11bf67[_0x47567a(0xe6)]=_0x47567a(0xfe),dispatchHttp(_0x47567a(0xc3),_0x462177,mergeOptions(defaultConfig,_0x54e2ce,_0x2f6f20,_0x11bf67));},_0x343296=_0x5d0dab=>createHttp(mergeOptions(_0x54e2ce,_0x5d0dab)),_0x41cd82={};return _0x41cd82[_0x3aadf4(0xf2)]=_0x52a994,_0x41cd82[_0x3aadf4(0x116)]=_0x53a720,_0x41cd82['download']=_0x268a29,_0x41cd82[_0x3aadf4(0xcf)]=_0x343296,_0x41cd82;}const http=createHttp();export{http as n,createHttpAborter as r,createHttp as t};
@@ -1,7 +0,0 @@
1
- /**
2
- * @oiyo/framework v0.4.0-beta.2
3
- * Copyright (c) 2026 skiyee. All rights reserved.
4
- * Commercial software. See LICENSE for terms.
5
- * Official site: https://oiyo.js.org
6
- */
7
- const _0x351574=_0x5285;(function(_0x3dda41,_0x134864){const _0x654f75=_0x5285,_0x3e58da=_0x3dda41();while(!![]){try{const _0x306b2d=parseInt(_0x654f75(0x1be))/0x1*(parseInt(_0x654f75(0x1c9))/0x2)+-parseInt(_0x654f75(0x1c8))/0x3+-parseInt(_0x654f75(0x1ec))/0x4*(parseInt(_0x654f75(0x1e9))/0x5)+parseInt(_0x654f75(0x1b9))/0x6*(parseInt(_0x654f75(0x1c2))/0x7)+parseInt(_0x654f75(0x1fc))/0x8*(parseInt(_0x654f75(0x1f0))/0x9)+parseInt(_0x654f75(0x1d0))/0xa*(parseInt(_0x654f75(0x1fb))/0xb)+-parseInt(_0x654f75(0x210))/0xc;if(_0x306b2d===_0x134864)break;else _0x3e58da['push'](_0x3e58da['shift']());}catch(_0x503577){_0x3e58da['push'](_0x3e58da['shift']());}}}(_0x3192,0xad737));function createHttpAborter(){const _0x97092a=_0x5285,_0xa00505=new HttpAbortSignal();return{'signal':_0xa00505,'abort':_0x22b86c=>_0xa00505[_0x97092a(0x1dc)](_0x22b86c)};}const ABORT_ERROR_NAME='AbortError';var AbortEmitter=class{['listeners']=[];['addEventListener'](_0x1780b4,_0x3da2ed){const _0x3e81ef=_0x5285;if(_0x1780b4!==_0x3e81ef(0x1d9))return;this['listeners']['push'](_0x3da2ed);}[_0x351574(0x1bc)](_0x326a39,_0x5de996){const _0x711962=_0x351574;if(_0x326a39!==_0x711962(0x1d9))return;const _0x5e0cd1=this[_0x711962(0x1ee)][_0x711962(0x1f2)](_0x5de996);if(_0x5e0cd1!==-0x1)this[_0x711962(0x1ee)]['splice'](_0x5e0cd1,0x1);}['emit'](_0x302124){for(const _0x14d9c3 of this['listeners']['slice']())_0x14d9c3['call'](this,_0x302124);}},HttpAbortSignal=class extends AbortEmitter{[_0x351574(0x1cb)]=![];['reason']=void 0x0;['onabort']=null;['_abort'](_0x59c7e7){const _0xfbf602=_0x351574;if(this[_0xfbf602(0x1cb)])return;this['aborted']=!![],this[_0xfbf602(0x1ff)]=_0x59c7e7===void 0x0?createAbortError():_0x59c7e7;const _0x31b093={};_0x31b093[_0xfbf602(0x1c1)]=_0xfbf602(0x1d9);const _0x5648ad=_0x31b093;if(typeof this['onabort']==='function')this['onabort'](_0x5648ad);this[_0xfbf602(0x204)](_0x5648ad);}['throwIfAborted'](){const _0x24588c=_0x351574;if(this[_0x24588c(0x1cb)])throw this['reason'];}};function createAbortError(_0x9abc1e='The\x20operation\x20was\x20aborted'){const _0x232a3b=_0x351574,_0x3c8361=new Error(_0x9abc1e);return _0x3c8361[_0x232a3b(0x209)]=ABORT_ERROR_NAME,_0x3c8361;}function isAbortError(_0x382d76){const _0x1096ff=_0x351574;return _0x382d76 instanceof Error&&_0x382d76[_0x1096ff(0x209)]===ABORT_ERROR_NAME;}function onAbort(_0x4a2ab3,_0x2d0a9d){const _0x3e81c8=_0x351574;if(!_0x4a2ab3)return()=>{};if(_0x4a2ab3['aborted'])return _0x2d0a9d(),()=>{};return _0x4a2ab3[_0x3e81c8(0x1da)](_0x3e81c8(0x1d9),_0x2d0a9d),()=>_0x4a2ab3[_0x3e81c8(0x1bc)]('abort',_0x2d0a9d);}const HOOK_NAMES=['onRequest',_0x351574(0x1df),'onResponse','onResponseError'];function mergeOptions(..._0x2cc5cd){const _0x3a4cdd=_0x351574,_0x2b672c={},_0xa58b46={};for(const _0x3f4b87 of _0x2cc5cd){if(!_0x3f4b87)continue;for(const _0x7f763c of HOOK_NAMES)collectHook(_0xa58b46,_0x7f763c,_0x3f4b87);const _0x1d67e0=_0x2b672c['headers'],_0x46474f=_0x2b672c[_0x3a4cdd(0x20f)];Object[_0x3a4cdd(0x1e7)](_0x2b672c,_0x3f4b87);const _0x5378ec={..._0x1d67e0,..._0x3f4b87['headers']};_0x2b672c['headers']=_0x5378ec;const _0x3cbc7d={..._0x46474f,..._0x3f4b87[_0x3a4cdd(0x20f)]};_0x2b672c['query']=_0x3cbc7d;}for(const [_0x3d89f3,_0x191ac0]of Object['entries'](_0xa58b46))Object['assign'](_0x2b672c,{[_0x3d89f3]:async _0x1105de=>{for(const _0x4b290c of _0x191ac0)await _0x4b290c(_0x1105de);}});return _0x2b672c;}function collectHook(_0x4e63d8,_0x1e80ec,_0x56fab2){const _0x46234d=_0x351574,_0x51ea2a=_0x56fab2[_0x1e80ec];if(typeof _0x51ea2a!==_0x46234d(0x1d3))return;_0x4e63d8[_0x1e80ec]??=[],_0x4e63d8[_0x1e80ec][_0x46234d(0x1f6)](_0x51ea2a);}function dispatch(_0x55bc4,_0x1d7822,_0x14ca55,_0x5928a9){let _0x55e044;if(_0x55bc4==='upload')_0x55e044=dispatchUpload(_0x1d7822,_0x14ca55,_0x5928a9);else{if(_0x55bc4==='download')_0x55e044=dispatchDownload(_0x1d7822,_0x14ca55,_0x5928a9);else _0x55e044=dispatchRequest(_0x1d7822,_0x14ca55,_0x5928a9);}bindTask(_0x55e044,_0x14ca55);}function bindTask(_0x22c745,_0x1d119b){const _0xeb36b2=_0x351574;onAbort(_0x1d119b['signal'],()=>_0x22c745['abort']());if(typeof _0x1d119b['onHeadersReceived']===_0xeb36b2(0x1d3))_0x22c745[_0xeb36b2(0x1e6)](_0x1d119b['onHeadersReceived']);const _0x5b1125=_0x1d119b[_0xeb36b2(0x1c5)];if(typeof _0x5b1125===_0xeb36b2(0x1d3)&&'onProgressUpdate'in _0x22c745)_0x22c745[_0xeb36b2(0x1d5)](_0x5b1125);}function dispatchRequest(_0x4b2309,_0x8e2a75,_0xf439ec){const _0x338e01=_0x351574,_0x2b5a99={'url':_0x4b2309,'method':_0x8e2a75[_0x338e01(0x202)],'header':_0x8e2a75[_0x338e01(0x1f4)],'data':_0x8e2a75['body']??{},'timeout':_0x8e2a75[_0x338e01(0x1f8)],'dataType':_0x8e2a75['dataType']||_0x338e01(0x1cd),'responseType':mappedResponseBodyType(_0x8e2a75['responseType']),'sslVerify':_0x8e2a75[_0x338e01(0x1e3)],'withCredentials':_0x8e2a75['withCredentials'],'firstIpv4':_0x8e2a75[_0x338e01(0x1bd)],'enableHttp2':_0x8e2a75['enableHttp2'],'enableQuic':_0x8e2a75[_0x338e01(0x1d2)],'enableCache':_0x8e2a75['enableCache'],'enableHttpDNS':_0x8e2a75[_0x338e01(0x1ea)],'httpDNSServiceId':_0x8e2a75['httpDNSServiceId'],'enableChunked':_0x8e2a75['enableChunked'],'forceCellularNetwork':_0x8e2a75[_0x338e01(0x1e8)],'success':_0xf439ec[_0x338e01(0x1ba)],'fail':_0xf439ec['onFail'],'complete':()=>{}};return uni['request'](_0x2b5a99);}function dispatchUpload(_0x53cc8d,_0x5e74b9,_0x2ac009){const _0xc9a1a2=_0x351574,_0x128c5c={};_0x128c5c[_0xc9a1a2(0x1d7)]=_0x53cc8d,_0x128c5c['fileType']=_0x5e74b9['fileType'],_0x128c5c['file']=_0x5e74b9['file'],_0x128c5c[_0xc9a1a2(0x1f3)]=_0x5e74b9['filePath'],_0x128c5c[_0xc9a1a2(0x209)]=_0x5e74b9['name']??'file',_0x128c5c[_0xc9a1a2(0x1db)]=_0x5e74b9[_0xc9a1a2(0x1db)],_0x128c5c[_0xc9a1a2(0x1e0)]=_0x5e74b9['headers'],_0x128c5c[_0xc9a1a2(0x1c0)]=_0x5e74b9['body']??{},_0x128c5c[_0xc9a1a2(0x1f8)]=_0x5e74b9[_0xc9a1a2(0x1f8)],_0x128c5c[_0xc9a1a2(0x1cf)]=_0x2ac009[_0xc9a1a2(0x1ba)],_0x128c5c[_0xc9a1a2(0x20e)]=_0x2ac009['onFail'],_0x128c5c[_0xc9a1a2(0x1f9)]=()=>{};const _0x5d9b1d=_0x128c5c;return uni[_0xc9a1a2(0x1ca)](_0x5d9b1d);}function dispatchDownload(_0x1bf236,_0x1a1f29,_0x199441){const _0x566d45=_0x351574,_0x48f6e5={'url':_0x1bf236,'header':_0x1a1f29['headers'],'timeout':_0x1a1f29[_0x566d45(0x1f8)],'success':_0xdae9b2=>{const _0x39711e=_0x566d45,_0x978b60={..._0xdae9b2};_0x978b60[_0x39711e(0x1cc)]={},_0x978b60[_0x39711e(0x1cc)][_0x39711e(0x203)]=_0xdae9b2['tempFilePath'],_0x199441['onSuccess'](_0x978b60);},'fail':_0x199441[_0x566d45(0x1c6)],'complete':()=>{}};return uni[_0x566d45(0x1e1)](_0x48f6e5);}function mappedResponseBodyType(_0x28d927){const _0x20de18=_0x351574;if(!_0x28d927||_0x28d927===_0x20de18(0x1cd))return _0x20de18(0x1d6);if(_0x28d927==='arrayBuffer')return'arraybuffer';return'text';}var HttpError=class extends Error{constructor(_0x70f2ed){const _0x4a601a=_0x351574;super(_0x70f2ed),this['name']=_0x4a601a(0x211);}};function createResponseError(_0x13895c,_0x45c0e0,_0x3968e9){const _0x5b79de=_0x351574,_0x332078=_0x13895c,_0x5d3d11='['+(_0x45c0e0?.[_0x5b79de(0x202)]||'GET')+']\x20'+_0x332078,_0x3b278a=_0x3968e9?_0x3968e9['statusCode']+'\x20'+(_0x3968e9[_0x5b79de(0x1e2)]||''):'<no\x20response>',_0x30484f=_0x3968e9?JSON['stringify'](_0x3968e9['data']):_0x5b79de(0x1f7),_0x4e8bdb=new HttpError(_0x5d3d11+':\x20'+_0x3b278a+(_0x3968e9['data']?'\x20'+_0x30484f:''));for(const _0x1cb020 of['request','options',_0x5b79de(0x206),_0x5b79de(0x1cc)])Object[_0x5b79de(0x1bb)](_0x4e8bdb,_0x1cb020,{'get'(){const _0x41dbcb=_0x5b79de,_0x3d3862={};return _0x3d3862[_0x41dbcb(0x1de)]=_0x13895c,_0x3d3862[_0x41dbcb(0x1c7)]=_0x45c0e0,_0x3d3862['response']=_0x3968e9,_0x3d3862['data']=_0x3968e9[_0x41dbcb(0x1cc)],_0x3d3862[_0x1cb020];}});return _0x4e8bdb;}function normalizeError(_0x2d12d0){if(_0x2d12d0 instanceof Error)return _0x2d12d0;return Object['assign'](new Error(_0x2d12d0?.['errMsg']||_0x2d12d0?.['message']||'HTTP\x20request\x20failed'),{'cause':_0x2d12d0});}async function callRequestHooks(_0x5adcaa,_0x59040b){await _0x59040b['onRequest']?.({'options':_0x59040b,'resource':_0x5adcaa});}async function callRequestErrorHooks(_0xb96117,_0x4e2277,_0x481625){await _0x4e2277['onRequestError']?.({'options':_0x4e2277,'resource':_0xb96117,'error':_0x481625});}async function callResponseHooks(_0x4a72e9,_0x43a748,_0xc72657){const _0x2fef8f=_0x351574;await _0x43a748[_0x2fef8f(0x1dd)]?.({'options':_0x43a748,'resource':_0x4a72e9,'response':_0xc72657});}async function callResponseErrorHooks(_0xfc7503,_0x103eb4,_0x2288d2){const _0x165a83=_0x351574;await _0x103eb4[_0x165a83(0x20d)]?.({'options':_0x103eb4,'resource':_0xfc7503,'response':_0x2288d2});}async function refineResponse(_0x38dd83,_0x4223c3){const _0x36464f=_0x351574;if(_0x4223c3[_0x36464f(0x1c4)]===_0x36464f(0x1cd)||!_0x4223c3[_0x36464f(0x1c4)])return{..._0x38dd83,'data':await parseJSONResponse(_0x38dd83[_0x36464f(0x1cc)],_0x4223c3)};return _0x38dd83;}function parseJSONResponse(_0x3cd3ef,_0x402e33){const _0x2429d9=_0x351574;if(typeof _0x3cd3ef!=='string')return _0x3cd3ef;if(_0x402e33['parseResponse'])return _0x402e33[_0x2429d9(0x205)](_0x3cd3ef);return _0x3cd3ef?JSON[_0x2429d9(0x212)](_0x3cd3ef):null;}function isResponseError(_0x4e6002){const _0x34df53=_0x351574,_0x1bdd85=_0x34df53(0x1fd)in _0x4e6002?_0x4e6002[_0x34df53(0x1fd)]:void 0x0;return typeof _0x1bdd85==='number'&&(_0x1bdd85<0xc8||_0x1bdd85>=0x12c);}const DEFAULT_RETRY_STATUS_CODES=[0x198,0x199,0x1a9,0x1ad,0x1f4,0x1f6,0x1f7,0x1f8],PAYLOAD_METHODS=new Set(['POST','PUT','DELETE',_0x351574(0x207)]);async function withRetry(_0x59edb3,_0x32970a){const _0x258cb4=_0x351574,_0x227341=resolveRetryCount(_0x59edb3);for(let _0x3ca263=0x0;;_0x3ca263++)try{return await _0x32970a();}catch(_0xb1b8f6){if(_0x3ca263>=_0x227341||!shouldRetry(_0xb1b8f6,_0x59edb3))throw _0xb1b8f6;await sleep(_0x59edb3[_0x258cb4(0x1c3)]??0x0,_0x59edb3['signal']);}}function resolveRetryCount(_0xfbd84f){const {retry:_0x24f350}=_0xfbd84f;if(_0x24f350===![])return 0x0;if(typeof _0x24f350==='number')return _0x24f350>0x0?_0x24f350:0x0;return isPayloadMethod(_0xfbd84f['method'])?0x0:0x1;}function shouldRetry(_0x351c59,_0x5a14d2){const _0x244442=_0x351574;if(_0x5a14d2['signal']?.['aborted']||isAbortError(_0x351c59))return![];const _0x34ac20=_0x351c59?.['response']?.[_0x244442(0x1fd)];if(typeof _0x34ac20!==_0x244442(0x1fe))return!![];return(_0x5a14d2['retryStatusCodes']??DEFAULT_RETRY_STATUS_CODES)['includes'](_0x34ac20);}function isPayloadMethod(_0x312403){return!!_0x312403&&PAYLOAD_METHODS['has'](_0x312403['toUpperCase']());}function sleep(_0x1cea43,_0x3aba64){return new Promise((_0x3544a1,_0x1a7273)=>{const _0x465650=_0x5285;if(_0x3aba64?.['aborted']){_0x1a7273(_0x3aba64[_0x465650(0x1ff)]);return;}if(!(_0x1cea43>0x0)){_0x3544a1();return;}let _0x35f8a8=()=>{};const _0x59a2d1=setTimeout(()=>{_0x35f8a8(),_0x3544a1();},_0x1cea43);_0x35f8a8=onAbort(_0x3aba64,()=>{const _0x3731df=_0x465650;clearTimeout(_0x59a2d1),_0x1a7273(_0x3aba64[_0x3731df(0x1ff)]);});});}function buildURL(_0x3a3101,_0x341a47){const _0x558409=_0x351574,_0xfbdddd=joinURL(_0x341a47[_0x558409(0x201)],_0x3a3101),_0x58d150=_0x341a47[_0x558409(0x20f)]??{},_0x2f5010=Object[_0x558409(0x1fa)](_0x58d150)[_0x558409(0x1d1)](_0x139ae8=>_0x58d150[_0x139ae8]!==void 0x0)[_0x558409(0x1eb)](_0x2992ce=>{const _0x1eeb56=_0x558409,_0x2fa4a9=_0x58d150[_0x2992ce];return(Array[_0x1eeb56(0x1ef)](_0x2fa4a9)?_0x2fa4a9:[_0x2fa4a9])['map'](_0x413df2=>encodeURIComponent(_0x2992ce)+'='+encodeURIComponent(String(_0x413df2)));})['join']('&');if(!_0x2f5010)return _0xfbdddd;return''+_0xfbdddd+(_0xfbdddd[_0x558409(0x208)]('?')?'&':'?')+_0x2f5010;}function joinURL(_0xc9c725,_0x5c5f4b){const _0x5416d7=_0x351574;if(!_0xc9c725||isAbsoluteURL(_0x5c5f4b))return _0x5c5f4b;return _0xc9c725[_0x5416d7(0x20c)](/\/+$/,'')+'/'+_0x5c5f4b['replace'](/^\/+/,'');}function _0x3192(){const _0x320e1a=['createHttpAborter','baseURL','method','tempFilePath','emit','parseResponse','response','PATCH','includes','name','http','test','replace','onResponseError','fail','query','15123144jlAnLe','HttpError','parse','6738048RErlwD','onSuccess','defineProperty','removeEventListener','firstIpv4','1zIaQRD','resolve','formData','type','7fMmGVE','retryDelay','responseType','onProgress','onFail','options','3458793dAXUyE','2109010zVdftr','uploadFile','aborted','data','json','GET','success','10RPeexx','filter','enableQuic','function','catch','onProgressUpdate','text','url','ignoreResponseError','abort','addEventListener','files','_abort','onResponse','request','onRequestError','header','downloadFile','errMsg','sslVerify','create','enumerable','onHeadersReceived','assign','forceCellularNetwork','5yCBSUn','enableHttpDNS','flatMap','2491400ToKVZZ','download','listeners','isArray','64791TCjgSo','createHttp','indexOf','filePath','headers','upload','push','<no\x20response\x20body>','timeout','complete','keys','15437488odBFLk','184cOvrfM','statusCode','number','reason'];_0x3192=function(){return _0x320e1a;};return _0x3192();}function isAbsoluteURL(_0x5ccea9){const _0xb1a615=_0x351574;return/^[a-z][a-z\d+\-.]*:\/\//i[_0xb1a615(0x20b)](_0x5ccea9)||_0x5ccea9['startsWith']('//');}function dispatchHttp(_0x461db6,_0x3b6e1e,_0x247ea3){const _0x68a1fd=buildURL(_0x3b6e1e,_0x247ea3);return withRetry(_0x247ea3,()=>attemptRequest(_0x461db6,_0x3b6e1e,_0x68a1fd,_0x247ea3));}function attemptRequest(_0x4e39c3,_0x1e5cc2,_0x2c368e,_0x3011b5){const _0x19cba3=!!_0x3011b5['raw'];return new Promise((_0x355fb3,_0x5353d4)=>{let _0x7773e5=![];const _0x37f1a5=_0x2e573a=>{if(_0x7773e5)return;_0x7773e5=!![],_0x2e573a();},_0x10ff81=onAbort(_0x3011b5['signal'],()=>{const _0x318cb3=_0x5285;_0x37f1a5(()=>_0x5353d4(_0x3011b5['signal'][_0x318cb3(0x1ff)]));}),_0x13ba6a=_0x242e84=>{_0x10ff81(),_0x37f1a5(_0x242e84);};callRequestHooks(_0x1e5cc2,_0x3011b5)['then'](()=>{if(_0x7773e5)return;dispatch(_0x4e39c3,_0x2c368e,_0x3011b5,{'onSuccess':_0xcdca6=>{const _0x4b0a19=_0x5285;Promise['resolve']()['then'](()=>refineResponse(_0xcdca6,_0x3011b5))['then'](async _0x584a5b=>{const _0x15b8f7=_0x5285;if(isResponseError(_0xcdca6)){await callResponseErrorHooks(_0x1e5cc2,_0x3011b5,_0x584a5b);if(!_0x3011b5[_0x15b8f7(0x1d8)])throw createResponseError(_0x1e5cc2,_0x3011b5,_0x584a5b);}else await callResponseHooks(_0x1e5cc2,_0x3011b5,_0x584a5b);_0x13ba6a(()=>_0x355fb3(_0x19cba3?_0x584a5b:_0x584a5b['data']));})[_0x4b0a19(0x1d4)](_0x1c1f3e=>_0x13ba6a(()=>_0x5353d4(_0x1c1f3e)));},'onFail':_0x73c10a=>{const _0x3416a4=_0x5285;Promise[_0x3416a4(0x1bf)]()['then'](async()=>{const _0x256138=normalizeError(_0x73c10a);if(!isAbortError(_0x256138))await callRequestErrorHooks(_0x1e5cc2,_0x3011b5,_0x256138);throw _0x256138;})[_0x3416a4(0x1d4)](_0x33ec24=>_0x13ba6a(()=>_0x5353d4(_0x33ec24)));}});})['catch'](async _0x2de28c=>{const _0x1806c5=normalizeError(_0x2de28c);await callRequestErrorHooks(_0x1e5cc2,_0x3011b5,_0x1806c5),_0x13ba6a(()=>_0x5353d4(_0x1806c5));});});}const _0x488ff8={};_0x488ff8['method']='GET',_0x488ff8[_0x351574(0x1c4)]=_0x351574(0x1cd);const defaultConfig=_0x488ff8;function _0x5285(_0x2e7584,_0x4bc5f2){_0x2e7584=_0x2e7584-0x1b9;const _0x319204=_0x3192();let _0x5285e0=_0x319204[_0x2e7584];return _0x5285e0;}function createHttp(_0x4fadc9={}){const _0x58b816=_0x351574,_0x5bf06c=(_0x273403,_0x14639a)=>{const _0x525d50=_0x5285;return dispatchHttp(_0x525d50(0x1de),_0x273403,mergeOptions(defaultConfig,_0x4fadc9,_0x14639a));},_0x4f4e25=(_0x3ae0c5,_0x3cbb5e)=>{const _0x2530bb=_0x5285,_0x4cc701={};return _0x4cc701[_0x2530bb(0x202)]='POST',dispatchHttp(_0x2530bb(0x1f5),_0x3ae0c5,mergeOptions(defaultConfig,_0x4fadc9,_0x3cbb5e,_0x4cc701));},_0xdb3334=(_0x173979,_0x482970)=>{const _0x233ab8=_0x5285,_0x4a26ea={};return _0x4a26ea[_0x233ab8(0x202)]=_0x233ab8(0x1ce),dispatchHttp(_0x233ab8(0x1ed),_0x173979,mergeOptions(defaultConfig,_0x4fadc9,_0x482970,_0x4a26ea));},_0x456954=_0x5f20c3=>createHttp(mergeOptions(_0x4fadc9,_0x5f20c3)),_0x32e13={};return _0x32e13[_0x58b816(0x1de)]=_0x5bf06c,_0x32e13['upload']=_0x4f4e25,_0x32e13['download']=_0xdb3334,_0x32e13[_0x58b816(0x1e4)]=_0x456954,_0x32e13;}const http=createHttp(),_0x25be38={};_0x25be38['enumerable']=!![],_0x25be38['get']=function(){return createHttp;},Object[_0x351574(0x1bb)](exports,_0x351574(0x1f1),_0x25be38);const _0xc1833f={};_0xc1833f[_0x351574(0x1e5)]=!![],_0xc1833f['get']=function(){return createHttpAborter;},Object[_0x351574(0x1bb)](exports,_0x351574(0x200),_0xc1833f);const _0xe345cf={};_0xe345cf[_0x351574(0x1e5)]=!![],_0xe345cf['get']=function(){return http;},Object['defineProperty'](exports,_0x351574(0x20a),_0xe345cf);