@glodon-aiot/apis 3.0.5 → 3.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var Nh=Object.defineProperty,Rh=Object.defineProperties;var Ph=Object.getOwnPropertyDescriptors;var So=Object.getOwnPropertySymbols;var Vu=Object.prototype.hasOwnProperty,Ku=Object.prototype.propertyIsEnumerable;var La=(de,B)=>{if(B=Symbol[de])return B;throw Error("Symbol."+de+" is not defined")},Yi=Math.pow,zu=(de,B,G)=>B in de?Nh(de,B,{enumerable:!0,configurable:!0,writable:!0,value:G}):de[B]=G,Wn=(de,B)=>{for(var G in B||(B={}))Vu.call(B,G)&&zu(de,G,B[G]);if(So)for(var G of So(B))Ku.call(B,G)&&zu(de,G,B[G]);return de},bi=(de,B)=>Rh(de,Ph(B));var Hu=(de,B)=>{var G={};for(var he in de)Vu.call(de,he)&&B.indexOf(he)<0&&(G[he]=de[he]);if(de!=null&&So)for(var he of So(de))B.indexOf(he)<0&&Ku.call(de,he)&&(G[he]=de[he]);return G};var re=(de,B,G)=>new Promise((he,_e)=>{var Oe=x=>{try{O(G.next(x))}catch(k){_e(k)}},H=x=>{try{O(G.throw(x))}catch(k){_e(k)}},O=x=>x.done?he(x.value):Promise.resolve(x.value).then(Oe,H);O((G=G.apply(de,B)).next())}),Ch=function(de,B){this[0]=de,this[1]=B};var Wu=de=>{var B=de[La("asyncIterator")],G=!1,he,_e={};return B==null?(B=de[La("iterator")](),he=Oe=>_e[Oe]=H=>B[Oe](H)):(B=B.call(de),he=Oe=>_e[Oe]=H=>{if(G){if(G=!1,Oe==="throw")throw H;return H}return G=!0,{done:!1,value:new Ch(new Promise(O=>{var x=B[Oe](H);if(!(x instanceof Object))throw TypeError("Object expected");O(x)}),1)}}),_e[La("iterator")]=()=>_e,he("next"),"throw"in B?he("throw"):_e.throw=Oe=>{throw Oe},"return"in B&&he("return"),_e};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ui=require("axios"),Fa=require("dayjs"),Yu=require("buffer");class Qn{constructor(B,G){this.axios=B,this.errorHandler=G}get(B,G,he){return re(this,null,function*(){const _e=this.axios.get(B,{params:G});return this.handleResponse(_e,he)})}listPaged(B,G){return re(this,null,function*(){const he=this.axios.get(B,{params:G});return this.handleResponse(he)})}list(B,G){return re(this,null,function*(){const he=this.axios.get(B,{params:G});return this.handleResponse(he)})}delete(B,G){return re(this,null,function*(){const he=this.axios.delete(B,{params:G});return this.handleResponse(he)})}post(B,G,he,_e){return re(this,null,function*(){const Oe=this.axios.post(B,G,Wn({params:he},_e));return this.handleResponse(Oe)})}postForm(B,G,he){return re(this,null,function*(){const _e=this.axios.post(B,G,{params:he,headers:{"Content-Type":"multipart/form-data"}});return this.handleResponse(_e)})}patch(B,G,he){return re(this,null,function*(){const _e=this.axios.patch(B,G,{params:he});return this.handleResponse(_e)})}put(B,G){return re(this,null,function*(){const he=this.axios.put(B,G);return this.handleResponse(he)})}upload(B,G,he){return re(this,null,function*(){const _e=this.axios.post(B,G,Wn({},he));return this.handleResponse(_e)})}getNonStandard(B,G){return re(this,null,function*(){const he=this.axios.get(B,G);try{const _e=yield he;if(_e.status===200)return _e}catch(_e){throw this.handleError(_e)}})}postNonStandard(B,G,he,_e){return re(this,null,function*(){var O,x;const H=yield this.axios.post(B,G,Wn({params:he},_e));if(H.status===200)if((O=H.data)!=null&&O.code)(x=this.errorHandler)!=null&&x.onAppStatusError&&this.errorHandler.onAppStatusError(H.data.code,H.data.message);else return H.data})}handleResponse(B,G){return re(this,null,function*(){try{const he=yield B;return this.handleAppError(he.data,G).data}catch(he){throw this.handleError(he)}})}handleAppError(B,G){var he;if(B.code<200||B.code>=300)throw(he=this.errorHandler)!=null&&he.onAppStatusError?this.errorHandler.onAppStatusError(B.code,Qu(B.code,B.message),G):console.error("未处理应用错误:",B),{isAxiosError:!1,message:B.message};return B}handleError(B){var G,he;return B.response?(console.log(B.response.data),console.log(B.response.status),console.log(B.response.headers),(G=this.errorHandler)!=null&&G.onHttpStatusError&&(console.log("HTTP 错误",this.errorHandler),this.errorHandler.onHttpStatusError(B.response.status,"",B.response))):B.request?(console.log(B.request),(he=this.errorHandler)!=null&&he.onNetworkError&&this.errorHandler.onNetworkError()):console.error("axios request config error:",B),new Error(B.message)}}const Ju=de=>de>=10002&&de<=10012,Qu=(de,B)=>Ju(de)?"数据操作错误":B||"未知接口错误";class Bh extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}getLoginUrl(){return re(this,null,function*(){return this.get("/openAddress")})}getToken(B,G){return re(this,null,function*(){return this.get(B,G)})}getAIoTTokenByGTeamToken(B){return re(this,null,function*(){return this.post("/validate/glodonCloud",B).then(G=>G.accessToken)})}postRefreshToken(B,G,he,_e="3600",Oe){return re(this,null,function*(){return this.post("/refresh-token",{oldToken:B,tenant:G,orgId:he,expired:_e,product:Oe})})}}class Dh extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}getTenant(B){return re(this,null,function*(){return this.get(`/tenant/${B}`)})}listProduct(){return re(this,null,function*(){return this.list("/products")})}listProvinces(){return re(this,null,function*(){return this.list("/regions/provinces")})}listCities(B){return re(this,null,function*(){return this.list(`/regions/provinces/${B}/city`)})}listCounties(B,G){return re(this,null,function*(){return this.list(`/regions/provinces/${B}/city/${G}/county`)})}getOrgList(B){return re(this,null,function*(){return this.list("/org",B)})}getUserIdOrgList(B,G){return re(this,null,function*(){return this.list(`/users/${B}/org`,G)})}delOrg(B){return re(this,null,function*(){return this.delete(`/org/${B}`)})}postOrg(B){return re(this,null,function*(){return this.post("/org",B)})}patchOrg(B,G){return re(this,null,function*(){return this.patch(`/org/${B}`,G)})}getUsers(B,G){return re(this,null,function*(){return this.list(`/tenant/${B}/users`,G)})}delUser(B,G){return re(this,null,function*(){return this.delete(`/tenant/${B}/users/${G}`)})}postUser(B,G){return re(this,null,function*(){return this.post(`/tenant/${B}/users`,G)})}patchUser(B,G,he){return re(this,null,function*(){return this.patch(`tenant/${B}/users/${G}`,he)})}getTenantList(){return re(this,null,function*(){return this.get("/tenant")})}getUserIdRoles(B){return re(this,null,function*(){return this.get(`/users/${B}/role`)})}getProductCodeRole(B){return re(this,null,function*(){return this.get(`/products/${B}/role`)})}postUserRole(B,G){return re(this,null,function*(){return this.post(`/users/${B}/role`,G)})}patchUserRole(B,G,he){return re(this,null,function*(){return this.patch(`/users/${B}/role/${G}`,he)})}deleteUserRole(B,G){return re(this,null,function*(){return this.delete(`/users/${B}/role/${G}`)})}getUsersIdProductCodeMenu(B,G,he="web",_e){return re(this,null,function*(){return this.get(`/users/${B}/product/${G}/menu?groupCode=${he}`,{level:_e})})}getUserInfo(B){return re(this,null,function*(){return this.get(`/users/${B}`)})}uipermission(B,G,he="web"){return re(this,null,function*(){return this.get(`/users/${B}/product/${G}/uipermission?groupCode=${he}`)})}getAppInfo(B){return re(this,null,function*(){return this.get(`/products/${B}/apps`)})}getTenantUserInfo(B,G){return re(this,null,function*(){return this.get(`/tenant/${B}/users/${G}`)})}uploadFile(B){return re(this,null,function*(){return this.upload("/upload",B)})}getUserIdProductCodeOrg(B,G){return re(this,null,function*(){return this.get(`/users/${B}/product/${G}/org`)})}getOrg(B){return re(this,null,function*(){return this.get(`/org/${B}`)})}getUploadTicket(B){return re(this,null,function*(){return this.get("/upload/ticket",B)})}putAppInfo(B,G){return re(this,null,function*(){return this.put(`/products/${B}/apps`,G)})}getTenantKeySecret(B){return re(this,null,function*(){return this.get(`/tenant/${B}/key`)})}resetTenantKeySecret(B){return re(this,null,function*(){return this.post(`/tenant/${B}/resetSecret`,void 0)})}getProductsCode(B){return re(this,null,function*(){return this.get(`/products/${B}`)})}}var ec=(de=>(de.Collecting="采集中",de.CollectionTimeout="超时",de.CollectionFinish="完成",de.WaitUpload="等待上传",de.Uploading="上传中",de.UploadFinish="上传完成",de.UploadFailed="上传失败",de.WaitMerge="等待合成",de.CreateMergeTaskFailed="创建合成任务失败",de.Merging="合成中",de.MergeFailed="合成失败",de.MergeFinish="合成成功",de))(ec||{}),tc=(de=>(de.Collecting="采集中",de.CollectionTimeout="超时",de.CollectionFinish="完成",de.WaitUpload="等待上传",de.Uploading="上传中",de.UploadFinish="上传完成",de.UploadFailed="上传失败",de.WaitMerge="等待合成",de.CreateMergeTaskFailed="创建合成任务失败",de.Merging="合成中",de.MergeFailed="合成失败",de.MergeFinish="合成成功",de))(tc||{});class Lh extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}static parseApiToken(B){const G=window.atob(B.split(".")[1]);return JSON.parse(G)}static loadApiToken(B,G,he){return re(this,null,function*(){return fetch(`${B}${G}/viewtoken/${he}/create_apitoken`,{method:"POST"}).then(_e=>{if(_e.status!==200)throw console.error(_e),Error(JSON.stringify(_e));return _e.json()}).then(_e=>{if(_e.code!==200)throw Error(JSON.stringify(_e));return _e.data.apiToken})})}listRecord(B){return re(this,null,function*(){return this.listPaged("/spacetwins",B)})}postRecord(B){return re(this,null,function*(){return this.post("/spacetwins",B)})}getRecordOverview(B){return re(this,null,function*(){return this.get(`/spacetwins/${B}`)})}getRecordViewtoken(B){return re(this,null,function*(){return this.get(`/spacetwins/${B}/viewtoken`)})}listScene(B){return re(this,null,function*(){return this.list(`/spacetwins/${B}/scenes`)})}getScenesByTimestamp(B,G){return re(this,null,function*(){return this.list(`/spacetwins/${B}/scenes_timestamp`,{timestamp:G})})}recomputeTrack(B,G){return re(this,null,function*(){return this.patch(`/spacetwins/${B}/track`,{points:G})})}updateRecordUploadStatus(B,G){return re(this,null,function*(){return this.post(`/spacetwins/${B}/update_upload_status`,G)})}getApiToken(B){return re(this,null,function*(){return this.post(`/viewtoken/${B}/create_apitoken`,{})})}getSpacetwins(B){return re(this,null,function*(){return this.listPaged("/spacetwins",B)})}postSpacetwins(B){return re(this,null,function*(){return this.post("/spacetwins",B)})}updateInspection(B,G){return re(this,null,function*(){return this.patch(`/patrolInspection/${B}`,G)})}getSpacetwinsIdViewtoken(B){return re(this,null,function*(){return this.get(`/spacetwins/${B}/viewtoken`)})}postSpacetwinsIdUpdateUploadStatus(B,G){return re(this,null,function*(){return this.post(`/spacetwins/${B}/update_upload_status`,G)})}postUploadTicket(B){return re(this,null,function*(){return this.post("/upload/ticket",B)})}getDownloadUrl(B){return re(this,null,function*(){return this.get(`/download/url?isv=${B.isv}&key=${B.key}`)})}listTrack(B,G){return re(this,null,function*(){return this.list(`/spacetwins/${B}/track`,{type:G})})}}class qh extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}listPlugin(B){return re(this,null,function*(){return this.list("/plugins",B)})}postPlugin(B){return re(this,null,function*(){return this.post("/plugins",B)})}getPlugin(B){return re(this,null,function*(){return this.get(`/plugins/${B}`)})}updatePlugin(B,G){return re(this,null,function*(){return this.patch(`/plugins/${B}`,G)})}listPluginData(B,G){return re(this,null,function*(){return this.list(`/plugins/${B}/datas`,G)})}postPluginData(B,G){return re(this,null,function*(){return this.post(`/plugins/${B}/datas`,G)})}getPluginData(B,G){return re(this,null,function*(){return this.get(`/plugins/${B}/datas/${G}`).then(he=>bi(Wn({},he),{arguments:JSON.parse(he.arguments)}))})}updatePluginData(B,G,he){return re(this,null,function*(){return this.patch(`/plugins/${B}/datas/${G}`,he)})}deletePluginData(B,G){return re(this,null,function*(){return this.delete(`/plugins/${B}/datas/${G}`)})}}var Fh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},nc={exports:{}};/*! For license information please see minio-zj.js.LICENSE.txt */(function(de,B){(function(G,he){de.exports=he()})(Fh,()=>(()=>{var G={9809:(H,O,x)=>{const k=O;k.bignum=x(4590),k.define=x(2500).define,k.base=x(1979),k.constants=x(6826),k.decoders=x(8307),k.encoders=x(6579)},2500:(H,O,x)=>{const k=x(6579),w=x(8307),g=x(5717);function M(a,d){this.name=a,this.body=d,this.decoders={},this.encoders={}}O.define=function(a,d){return new M(a,d)},M.prototype._createNamed=function(a){const d=this.name;function c(l){this._initNamed(l,d)}return g(c,a),c.prototype._initNamed=function(l,p){a.call(this,l,p)},new c(this)},M.prototype._getDecoder=function(a){return a=a||"der",this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(w[a])),this.decoders[a]},M.prototype.decode=function(a,d,c){return this._getDecoder(d).decode(a,c)},M.prototype._getEncoder=function(a){return a=a||"der",this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(k[a])),this.encoders[a]},M.prototype.encode=function(a,d,c){return this._getEncoder(d).encode(a,c)}},6625:(H,O,x)=>{const k=x(5717),w=x(8465).b,g=x(2399).Buffer;function M(d,c){w.call(this,c),g.isBuffer(d)?(this.base=d,this.offset=0,this.length=d.length):this.error("Input not Buffer")}function a(d,c){if(Array.isArray(d))this.length=0,this.value=d.map(function(l){return a.isEncoderBuffer(l)||(l=new a(l,c)),this.length+=l.length,l},this);else if(typeof d=="number"){if(!(0<=d&&d<=255))return c.error("non-byte EncoderBuffer value");this.value=d,this.length=1}else if(typeof d=="string")this.value=d,this.length=g.byteLength(d);else{if(!g.isBuffer(d))return c.error("Unsupported type: "+typeof d);this.value=d,this.length=d.length}}k(M,w),O.C=M,M.isDecoderBuffer=function(d){return d instanceof M||typeof d=="object"&&g.isBuffer(d.base)&&d.constructor.name==="DecoderBuffer"&&typeof d.offset=="number"&&typeof d.length=="number"&&typeof d.save=="function"&&typeof d.restore=="function"&&typeof d.isEmpty=="function"&&typeof d.readUInt8=="function"&&typeof d.skip=="function"&&typeof d.raw=="function"},M.prototype.save=function(){return{offset:this.offset,reporter:w.prototype.save.call(this)}},M.prototype.restore=function(d){const c=new M(this.base);return c.offset=d.offset,c.length=this.offset,this.offset=d.offset,w.prototype.restore.call(this,d.reporter),c},M.prototype.isEmpty=function(){return this.offset===this.length},M.prototype.readUInt8=function(d){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(d||"DecoderBuffer overrun")},M.prototype.skip=function(d,c){if(!(this.offset+d<=this.length))return this.error(c||"DecoderBuffer overrun");const l=new M(this.base);return l._reporterState=this._reporterState,l.offset=this.offset,l.length=this.offset+d,this.offset+=d,l},M.prototype.raw=function(d){return this.base.slice(d?d.offset:this.offset,this.length)},O.R=a,a.isEncoderBuffer=function(d){return d instanceof a||typeof d=="object"&&d.constructor.name==="EncoderBuffer"&&typeof d.length=="number"&&typeof d.join=="function"},a.prototype.join=function(d,c){return d||(d=g.alloc(this.length)),c||(c=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(l){l.join(d,c),c+=l.length}):(typeof this.value=="number"?d[c]=this.value:typeof this.value=="string"?d.write(this.value,c):g.isBuffer(this.value)&&this.value.copy(d,c),c+=this.length)),d}},1979:(H,O,x)=>{const k=O;k.Reporter=x(8465).b,k.DecoderBuffer=x(6625).C,k.EncoderBuffer=x(6625).R,k.Node=x(1949)},1949:(H,O,x)=>{const k=x(8465).b,w=x(6625).R,g=x(6625).C,M=x(9746),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],d=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function c(p,m,h){const u={};this._baseState=u,u.name=h,u.enc=p,u.parent=m||null,u.children=null,u.tag=null,u.args=null,u.reverseArgs=null,u.choice=null,u.optional=!1,u.any=!1,u.obj=!1,u.use=null,u.useDecoder=null,u.key=null,u.default=null,u.explicit=null,u.implicit=null,u.contains=null,u.parent||(u.children=[],this._wrap())}H.exports=c;const l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){const p=this._baseState,m={};l.forEach(function(u){m[u]=p[u]});const h=new this.constructor(m.parent);return h._baseState=m,h},c.prototype._wrap=function(){const p=this._baseState;d.forEach(function(m){this[m]=function(){const h=new this.constructor(this);return p.children.push(h),h[m].apply(h,arguments)}},this)},c.prototype._init=function(p){const m=this._baseState;M(m.parent===null),p.call(this),m.children=m.children.filter(function(h){return h._baseState.parent===this},this),M.equal(m.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(p){const m=this._baseState,h=p.filter(function(u){return u instanceof this.constructor},this);p=p.filter(function(u){return!(u instanceof this.constructor)},this),h.length!==0&&(M(m.children===null),m.children=h,h.forEach(function(u){u._baseState.parent=this},this)),p.length!==0&&(M(m.args===null),m.args=p,m.reverseArgs=p.map(function(u){if(typeof u!="object"||u.constructor!==Object)return u;const y={};return Object.keys(u).forEach(function(v){v==(0|v)&&(v|=0);const _=u[v];y[_]=v}),y}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(p){c.prototype[p]=function(){const m=this._baseState;throw new Error(p+" not implemented for encoding: "+m.enc)}}),a.forEach(function(p){c.prototype[p]=function(){const m=this._baseState,h=Array.prototype.slice.call(arguments);return M(m.tag===null),m.tag=p,this._useArgs(h),this}}),c.prototype.use=function(p){M(p);const m=this._baseState;return M(m.use===null),m.use=p,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(p){const m=this._baseState;return M(m.default===null),m.default=p,m.optional=!0,this},c.prototype.explicit=function(p){const m=this._baseState;return M(m.explicit===null&&m.implicit===null),m.explicit=p,this},c.prototype.implicit=function(p){const m=this._baseState;return M(m.explicit===null&&m.implicit===null),m.implicit=p,this},c.prototype.obj=function(){const p=this._baseState,m=Array.prototype.slice.call(arguments);return p.obj=!0,m.length!==0&&this._useArgs(m),this},c.prototype.key=function(p){const m=this._baseState;return M(m.key===null),m.key=p,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(p){const m=this._baseState;return M(m.choice===null),m.choice=p,this._useArgs(Object.keys(p).map(function(h){return p[h]})),this},c.prototype.contains=function(p){const m=this._baseState;return M(m.use===null),m.contains=p,this},c.prototype._decode=function(p,m){const h=this._baseState;if(h.parent===null)return p.wrapResult(h.children[0]._decode(p,m));let u,y=h.default,v=!0,_=null;if(h.key!==null&&(_=p.enterKey(h.key)),h.optional){let S=null;if(h.explicit!==null?S=h.explicit:h.implicit!==null?S=h.implicit:h.tag!==null&&(S=h.tag),S!==null||h.any){if(v=this._peekTag(p,S,h.any),p.isError(v))return v}else{const b=p.save();try{h.choice===null?this._decodeGeneric(h.tag,p,m):this._decodeChoice(p,m),v=!0}catch(T){v=!1}p.restore(b)}}if(h.obj&&v&&(u=p.enterObject()),v){if(h.explicit!==null){const b=this._decodeTag(p,h.explicit);if(p.isError(b))return b;p=b}const S=p.offset;if(h.use===null&&h.choice===null){let b;h.any&&(b=p.save());const T=this._decodeTag(p,h.implicit!==null?h.implicit:h.tag,h.any);if(p.isError(T))return T;h.any?y=p.raw(b):p=T}if(m&&m.track&&h.tag!==null&&m.track(p.path(),S,p.length,"tagged"),m&&m.track&&h.tag!==null&&m.track(p.path(),p.offset,p.length,"content"),h.any||(y=h.choice===null?this._decodeGeneric(h.tag,p,m):this._decodeChoice(p,m)),p.isError(y))return y;if(h.any||h.choice!==null||h.children===null||h.children.forEach(function(b){b._decode(p,m)}),h.contains&&(h.tag==="octstr"||h.tag==="bitstr")){const b=new g(y);y=this._getUse(h.contains,p._reporterState.obj)._decode(b,m)}}return h.obj&&v&&(y=p.leaveObject(u)),h.key===null||y===null&&v!==!0?_!==null&&p.exitKey(_):p.leaveKey(_,h.key,y),y},c.prototype._decodeGeneric=function(p,m,h){const u=this._baseState;return p==="seq"||p==="set"?null:p==="seqof"||p==="setof"?this._decodeList(m,p,u.args[0],h):/str$/.test(p)?this._decodeStr(m,p,h):p==="objid"&&u.args?this._decodeObjid(m,u.args[0],u.args[1],h):p==="objid"?this._decodeObjid(m,null,null,h):p==="gentime"||p==="utctime"?this._decodeTime(m,p,h):p==="null_"?this._decodeNull(m,h):p==="bool"?this._decodeBool(m,h):p==="objDesc"?this._decodeStr(m,p,h):p==="int"||p==="enum"?this._decodeInt(m,u.args&&u.args[0],h):u.use!==null?this._getUse(u.use,m._reporterState.obj)._decode(m,h):m.error("unknown tag: "+p)},c.prototype._getUse=function(p,m){const h=this._baseState;return h.useDecoder=this._use(p,m),M(h.useDecoder._baseState.parent===null),h.useDecoder=h.useDecoder._baseState.children[0],h.implicit!==h.useDecoder._baseState.implicit&&(h.useDecoder=h.useDecoder.clone(),h.useDecoder._baseState.implicit=h.implicit),h.useDecoder},c.prototype._decodeChoice=function(p,m){const h=this._baseState;let u=null,y=!1;return Object.keys(h.choice).some(function(v){const _=p.save(),S=h.choice[v];try{const b=S._decode(p,m);if(p.isError(b))return!1;u={type:v,value:b},y=!0}catch(b){return p.restore(_),!1}return!0},this),y?u:p.error("Choice not matched")},c.prototype._createEncoderBuffer=function(p){return new w(p,this.reporter)},c.prototype._encode=function(p,m,h){const u=this._baseState;if(u.default!==null&&u.default===p)return;const y=this._encodeValue(p,m,h);return y===void 0||this._skipDefault(y,m,h)?void 0:y},c.prototype._encodeValue=function(p,m,h){const u=this._baseState;if(u.parent===null)return u.children[0]._encode(p,m||new k);let y=null;if(this.reporter=m,u.optional&&p===void 0){if(u.default===null)return;p=u.default}let v=null,_=!1;if(u.any)y=this._createEncoderBuffer(p);else if(u.choice)y=this._encodeChoice(p,m);else if(u.contains)v=this._getUse(u.contains,h)._encode(p,m),_=!0;else if(u.children)v=u.children.map(function(S){if(S._baseState.tag==="null_")return S._encode(null,m,p);if(S._baseState.key===null)return m.error("Child should have a key");const b=m.enterKey(S._baseState.key);if(typeof p!="object")return m.error("Child expected, but input is not object");const T=S._encode(p[S._baseState.key],m,p);return m.leaveKey(b),T},this).filter(function(S){return S}),v=this._createEncoderBuffer(v);else if(u.tag==="seqof"||u.tag==="setof"){if(!u.args||u.args.length!==1)return m.error("Too many args for : "+u.tag);if(!Array.isArray(p))return m.error("seqof/setof, but data is not Array");const S=this.clone();S._baseState.implicit=null,v=this._createEncoderBuffer(p.map(function(b){const T=this._baseState;return this._getUse(T.args[0],p)._encode(b,m)},S))}else u.use!==null?y=this._getUse(u.use,h)._encode(p,m):(v=this._encodePrimitive(u.tag,p),_=!0);if(!u.any&&u.choice===null){const S=u.implicit!==null?u.implicit:u.tag,b=u.implicit===null?"universal":"context";S===null?u.use===null&&m.error("Tag could be omitted only for .use()"):u.use===null&&(y=this._encodeComposite(S,_,b,v))}return u.explicit!==null&&(y=this._encodeComposite(u.explicit,!1,"context",y)),y},c.prototype._encodeChoice=function(p,m){const h=this._baseState,u=h.choice[p.type];return u||M(!1,p.type+" not found in "+JSON.stringify(Object.keys(h.choice))),u._encode(p.value,m)},c.prototype._encodePrimitive=function(p,m){const h=this._baseState;if(/str$/.test(p))return this._encodeStr(m,p);if(p==="objid"&&h.args)return this._encodeObjid(m,h.reverseArgs[0],h.args[1]);if(p==="objid")return this._encodeObjid(m,null,null);if(p==="gentime"||p==="utctime")return this._encodeTime(m,p);if(p==="null_")return this._encodeNull();if(p==="int"||p==="enum")return this._encodeInt(m,h.args&&h.reverseArgs[0]);if(p==="bool")return this._encodeBool(m);if(p==="objDesc")return this._encodeStr(m,p);throw new Error("Unsupported tag: "+p)},c.prototype._isNumstr=function(p){return/^[0-9 ]*$/.test(p)},c.prototype._isPrintstr=function(p){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(p)}},8465:(H,O,x)=>{const k=x(5717);function w(M){this._reporterState={obj:null,path:[],options:M||{},errors:[]}}function g(M,a){this.path=M,this.rethrow(a)}O.b=w,w.prototype.isError=function(M){return M instanceof g},w.prototype.save=function(){const M=this._reporterState;return{obj:M.obj,pathLen:M.path.length}},w.prototype.restore=function(M){const a=this._reporterState;a.obj=M.obj,a.path=a.path.slice(0,M.pathLen)},w.prototype.enterKey=function(M){return this._reporterState.path.push(M)},w.prototype.exitKey=function(M){const a=this._reporterState;a.path=a.path.slice(0,M-1)},w.prototype.leaveKey=function(M,a,d){const c=this._reporterState;this.exitKey(M),c.obj!==null&&(c.obj[a]=d)},w.prototype.path=function(){return this._reporterState.path.join("/")},w.prototype.enterObject=function(){const M=this._reporterState,a=M.obj;return M.obj={},a},w.prototype.leaveObject=function(M){const a=this._reporterState,d=a.obj;return a.obj=M,d},w.prototype.error=function(M){let a;const d=this._reporterState,c=M instanceof g;if(a=c?M:new g(d.path.map(function(l){return"["+JSON.stringify(l)+"]"}).join(""),M.message||M,M.stack),!d.options.partial)throw a;return c||d.errors.push(a),a},w.prototype.wrapResult=function(M){const a=this._reporterState;return a.options.partial?{result:this.isError(M)?null:M,errors:a.errors}:M},k(g,Error),g.prototype.rethrow=function(M){if(this.message=M+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,g),!this.stack)try{throw new Error(this.message)}catch(a){this.stack=a.stack}return this}},160:(H,O)=>{function x(k){const w={};return Object.keys(k).forEach(function(g){(0|g)==g&&(g|=0);const M=k[g];w[M]=g}),w}O.tagClass={0:"universal",1:"application",2:"context",3:"private"},O.tagClassByName=x(O.tagClass),O.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},O.tagByName=x(O.tag)},6826:(H,O,x)=>{const k=O;k._reverse=function(w){const g={};return Object.keys(w).forEach(function(M){(0|M)==M&&(M|=0);const a=w[M];g[a]=M}),g},k.der=x(160)},1671:(H,O,x)=>{const k=x(5717),w=x(4590),g=x(6625).C,M=x(1949),a=x(160);function d(m){this.enc="der",this.name=m.name,this.entity=m,this.tree=new c,this.tree._init(m.body)}function c(m){M.call(this,"der",m)}function l(m,h){let u=m.readUInt8(h);if(m.isError(u))return u;const y=a.tagClass[u>>6],v=(32&u)==0;if((31&u)==31){let _=u;for(u=0;(128&_)==128;){if(_=m.readUInt8(h),m.isError(_))return _;u<<=7,u|=127&_}}else u&=31;return{cls:y,primitive:v,tag:u,tagStr:a.tag[u]}}function p(m,h,u){let y=m.readUInt8(u);if(m.isError(y))return y;if(!h&&y===128)return null;if(!(128&y))return y;const v=127&y;if(v>4)return m.error("length octect is too long");y=0;for(let _=0;_<v;_++){y<<=8;const S=m.readUInt8(u);if(m.isError(S))return S;y|=S}return y}H.exports=d,d.prototype.decode=function(m,h){return g.isDecoderBuffer(m)||(m=new g(m,h)),this.tree._decode(m,h)},k(c,M),c.prototype._peekTag=function(m,h,u){if(m.isEmpty())return!1;const y=m.save(),v=l(m,'Failed to peek tag: "'+h+'"');return m.isError(v)?v:(m.restore(y),v.tag===h||v.tagStr===h||v.tagStr+"of"===h||u)},c.prototype._decodeTag=function(m,h,u){const y=l(m,'Failed to decode tag of "'+h+'"');if(m.isError(y))return y;let v=p(m,y.primitive,'Failed to get length of "'+h+'"');if(m.isError(v))return v;if(!u&&y.tag!==h&&y.tagStr!==h&&y.tagStr+"of"!==h)return m.error('Failed to match tag: "'+h+'"');if(y.primitive||v!==null)return m.skip(v,'Failed to match body of: "'+h+'"');const _=m.save(),S=this._skipUntilEnd(m,'Failed to skip indefinite length body: "'+this.tag+'"');return m.isError(S)?S:(v=m.offset-_.offset,m.restore(_),m.skip(v,'Failed to match body of: "'+h+'"'))},c.prototype._skipUntilEnd=function(m,h){for(;;){const u=l(m,h);if(m.isError(u))return u;const y=p(m,u.primitive,h);if(m.isError(y))return y;let v;if(v=u.primitive||y!==null?m.skip(y):this._skipUntilEnd(m,h),m.isError(v))return v;if(u.tagStr==="end")break}},c.prototype._decodeList=function(m,h,u,y){const v=[];for(;!m.isEmpty();){const _=this._peekTag(m,"end");if(m.isError(_))return _;const S=u.decode(m,"der",y);if(m.isError(S)&&_)break;v.push(S)}return v},c.prototype._decodeStr=function(m,h){if(h==="bitstr"){const u=m.readUInt8();return m.isError(u)?u:{unused:u,data:m.raw()}}if(h==="bmpstr"){const u=m.raw();if(u.length%2==1)return m.error("Decoding of string type: bmpstr length mismatch");let y="";for(let v=0;v<u.length/2;v++)y+=String.fromCharCode(u.readUInt16BE(2*v));return y}if(h==="numstr"){const u=m.raw().toString("ascii");return this._isNumstr(u)?u:m.error("Decoding of string type: numstr unsupported characters")}if(h==="octstr"||h==="objDesc")return m.raw();if(h==="printstr"){const u=m.raw().toString("ascii");return this._isPrintstr(u)?u:m.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(h)?m.raw().toString():m.error("Decoding of string type: "+h+" unsupported")},c.prototype._decodeObjid=function(m,h,u){let y;const v=[];let _=0,S=0;for(;!m.isEmpty();)S=m.readUInt8(),_<<=7,_|=127&S,!(128&S)&&(v.push(_),_=0);128&S&&v.push(_);const b=v[0]/40|0,T=v[0]%40;if(y=u?v:[b,T].concat(v.slice(1)),h){let C=h[y.join(" ")];C===void 0&&(C=h[y.join(".")]),C!==void 0&&(y=C)}return y},c.prototype._decodeTime=function(m,h){const u=m.raw().toString();let y,v,_,S,b,T;if(h==="gentime")y=0|u.slice(0,4),v=0|u.slice(4,6),_=0|u.slice(6,8),S=0|u.slice(8,10),b=0|u.slice(10,12),T=0|u.slice(12,14);else{if(h!=="utctime")return m.error("Decoding "+h+" time is not supported yet");y=0|u.slice(0,2),v=0|u.slice(2,4),_=0|u.slice(4,6),S=0|u.slice(6,8),b=0|u.slice(8,10),T=0|u.slice(10,12),y=y<70?2e3+y:1900+y}return Date.UTC(y,v-1,_,S,b,T,0)},c.prototype._decodeNull=function(){return null},c.prototype._decodeBool=function(m){const h=m.readUInt8();return m.isError(h)?h:h!==0},c.prototype._decodeInt=function(m,h){const u=m.raw();let y=new w(u);return h&&(y=h[y.toString(10)]||y),y},c.prototype._use=function(m,h){return typeof m=="function"&&(m=m(h)),m._getDecoder("der").tree}},8307:(H,O,x)=>{const k=O;k.der=x(1671),k.pem=x(9631)},9631:(H,O,x)=>{const k=x(5717),w=x(2399).Buffer,g=x(1671);function M(a){g.call(this,a),this.enc="pem"}k(M,g),H.exports=M,M.prototype.decode=function(a,d){const c=a.toString().split(/[\r\n]+/g),l=d.label.toUpperCase(),p=/^-----(BEGIN|END) ([^-]+)-----$/;let m=-1,h=-1;for(let v=0;v<c.length;v++){const _=c[v].match(p);if(_!==null&&_[2]===l){if(m!==-1){if(_[1]!=="END")break;h=v;break}if(_[1]!=="BEGIN")break;m=v}}if(m===-1||h===-1)throw new Error("PEM section not found for: "+l);const u=c.slice(m+1,h).join("");u.replace(/[^a-z0-9+/=]+/gi,"");const y=w.from(u,"base64");return g.prototype.decode.call(this,y,d)}},6984:(H,O,x)=>{const k=x(5717),w=x(2399).Buffer,g=x(1949),M=x(160);function a(l){this.enc="der",this.name=l.name,this.entity=l,this.tree=new d,this.tree._init(l.body)}function d(l){g.call(this,"der",l)}function c(l){return l<10?"0"+l:l}H.exports=a,a.prototype.encode=function(l,p){return this.tree._encode(l,p).join()},k(d,g),d.prototype._encodeComposite=function(l,p,m,h){const u=function(_,S,b,T){let C;if(_==="seqof"?_="seq":_==="setof"&&(_="set"),M.tagByName.hasOwnProperty(_))C=M.tagByName[_];else{if(typeof _!="number"||(0|_)!==_)return T.error("Unknown tag: "+_);C=_}return C>=31?T.error("Multi-octet tag encoding unsupported"):(S||(C|=32),C|=M.tagClassByName[b||"universal"]<<6,C)}(l,p,m,this.reporter);if(h.length<128){const _=w.alloc(2);return _[0]=u,_[1]=h.length,this._createEncoderBuffer([_,h])}let y=1;for(let _=h.length;_>=256;_>>=8)y++;const v=w.alloc(2+y);v[0]=u,v[1]=128|y;for(let _=1+y,S=h.length;S>0;_--,S>>=8)v[_]=255&S;return this._createEncoderBuffer([v,h])},d.prototype._encodeStr=function(l,p){if(p==="bitstr")return this._createEncoderBuffer([0|l.unused,l.data]);if(p==="bmpstr"){const m=w.alloc(2*l.length);for(let h=0;h<l.length;h++)m.writeUInt16BE(l.charCodeAt(h),2*h);return this._createEncoderBuffer(m)}return p==="numstr"?this._isNumstr(l)?this._createEncoderBuffer(l):this.reporter.error("Encoding of string type: numstr supports only digits and space"):p==="printstr"?this._isPrintstr(l)?this._createEncoderBuffer(l):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(p)||p==="objDesc"?this._createEncoderBuffer(l):this.reporter.error("Encoding of string type: "+p+" unsupported")},d.prototype._encodeObjid=function(l,p,m){if(typeof l=="string"){if(!p)return this.reporter.error("string objid given, but no values map found");if(!p.hasOwnProperty(l))return this.reporter.error("objid not found in values map");l=p[l].split(/[\s.]+/g);for(let v=0;v<l.length;v++)l[v]|=0}else if(Array.isArray(l)){l=l.slice();for(let v=0;v<l.length;v++)l[v]|=0}if(!Array.isArray(l))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(l));if(!m){if(l[1]>=40)return this.reporter.error("Second objid identifier OOB");l.splice(0,2,40*l[0]+l[1])}let h=0;for(let v=0;v<l.length;v++){let _=l[v];for(h++;_>=128;_>>=7)h++}const u=w.alloc(h);let y=u.length-1;for(let v=l.length-1;v>=0;v--){let _=l[v];for(u[y--]=127&_;(_>>=7)>0;)u[y--]=128|127&_}return this._createEncoderBuffer(u)},d.prototype._encodeTime=function(l,p){let m;const h=new Date(l);return p==="gentime"?m=[c(h.getUTCFullYear()),c(h.getUTCMonth()+1),c(h.getUTCDate()),c(h.getUTCHours()),c(h.getUTCMinutes()),c(h.getUTCSeconds()),"Z"].join(""):p==="utctime"?m=[c(h.getUTCFullYear()%100),c(h.getUTCMonth()+1),c(h.getUTCDate()),c(h.getUTCHours()),c(h.getUTCMinutes()),c(h.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+p+" time is not supported yet"),this._encodeStr(m,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(l,p){if(typeof l=="string"){if(!p)return this.reporter.error("String int or enum given, but no values map");if(!p.hasOwnProperty(l))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(l));l=p[l]}if(typeof l!="number"&&!w.isBuffer(l)){const u=l.toArray();!l.sign&&128&u[0]&&u.unshift(0),l=w.from(u)}if(w.isBuffer(l)){let u=l.length;l.length===0&&u++;const y=w.alloc(u);return l.copy(y),l.length===0&&(y[0]=0),this._createEncoderBuffer(y)}if(l<128)return this._createEncoderBuffer(l);if(l<256)return this._createEncoderBuffer([0,l]);let m=1;for(let u=l;u>=256;u>>=8)m++;const h=new Array(m);for(let u=h.length-1;u>=0;u--)h[u]=255&l,l>>=8;return 128&h[0]&&h.unshift(0),this._createEncoderBuffer(w.from(h))},d.prototype._encodeBool=function(l){return this._createEncoderBuffer(l?255:0)},d.prototype._use=function(l,p){return typeof l=="function"&&(l=l(p)),l._getEncoder("der").tree},d.prototype._skipDefault=function(l,p,m){const h=this._baseState;let u;if(h.default===null)return!1;const y=l.join();if(h.defaultBuffer===void 0&&(h.defaultBuffer=this._encodeValue(h.default,p,m).join()),y.length!==h.defaultBuffer.length)return!1;for(u=0;u<y.length;u++)if(y[u]!==h.defaultBuffer[u])return!1;return!0}},6579:(H,O,x)=>{const k=O;k.der=x(6984),k.pem=x(2883)},2883:(H,O,x)=>{const k=x(5717),w=x(6984);function g(M){w.call(this,M),this.enc="pem"}k(g,w),H.exports=g,g.prototype.encode=function(M,a){const d=w.prototype.encode.call(this,M).toString("base64"),c=["-----BEGIN "+a.label+"-----"];for(let l=0;l<d.length;l+=64)c.push(d.slice(l,l+64));return c.push("-----END "+a.label+"-----"),c.join(`
1
+ "use strict";var Nh=Object.defineProperty,Rh=Object.defineProperties;var Ph=Object.getOwnPropertyDescriptors;var So=Object.getOwnPropertySymbols;var Vu=Object.prototype.hasOwnProperty,Ku=Object.prototype.propertyIsEnumerable;var La=(de,B)=>{if(B=Symbol[de])return B;throw Error("Symbol."+de+" is not defined")},Yi=Math.pow,zu=(de,B,G)=>B in de?Nh(de,B,{enumerable:!0,configurable:!0,writable:!0,value:G}):de[B]=G,Wn=(de,B)=>{for(var G in B||(B={}))Vu.call(B,G)&&zu(de,G,B[G]);if(So)for(var G of So(B))Ku.call(B,G)&&zu(de,G,B[G]);return de},bi=(de,B)=>Rh(de,Ph(B));var Hu=(de,B)=>{var G={};for(var he in de)Vu.call(de,he)&&B.indexOf(he)<0&&(G[he]=de[he]);if(de!=null&&So)for(var he of So(de))B.indexOf(he)<0&&Ku.call(de,he)&&(G[he]=de[he]);return G};var re=(de,B,G)=>new Promise((he,_e)=>{var Oe=x=>{try{O(G.next(x))}catch(k){_e(k)}},H=x=>{try{O(G.throw(x))}catch(k){_e(k)}},O=x=>x.done?he(x.value):Promise.resolve(x.value).then(Oe,H);O((G=G.apply(de,B)).next())}),Ch=function(de,B){this[0]=de,this[1]=B};var Wu=de=>{var B=de[La("asyncIterator")],G=!1,he,_e={};return B==null?(B=de[La("iterator")](),he=Oe=>_e[Oe]=H=>B[Oe](H)):(B=B.call(de),he=Oe=>_e[Oe]=H=>{if(G){if(G=!1,Oe==="throw")throw H;return H}return G=!0,{done:!1,value:new Ch(new Promise(O=>{var x=B[Oe](H);if(!(x instanceof Object))throw TypeError("Object expected");O(x)}),1)}}),_e[La("iterator")]=()=>_e,he("next"),"throw"in B?he("throw"):_e.throw=Oe=>{throw Oe},"return"in B&&he("return"),_e};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ui=require("axios"),Fa=require("dayjs"),Yu=require("buffer");class Qn{constructor(B,G){this.axios=B,this.errorHandler=G}get(B,G,he){return re(this,null,function*(){const _e=this.axios.get(B,{params:G});return this.handleResponse(_e,he)})}listPaged(B,G){return re(this,null,function*(){const he=this.axios.get(B,{params:G});return this.handleResponse(he)})}list(B,G){return re(this,null,function*(){const he=this.axios.get(B,{params:G});return this.handleResponse(he)})}delete(B,G){return re(this,null,function*(){const he=this.axios.delete(B,{params:G});return this.handleResponse(he)})}post(B,G,he,_e){return re(this,null,function*(){const Oe=this.axios.post(B,G,Wn({params:he},_e));return this.handleResponse(Oe)})}postForm(B,G,he){return re(this,null,function*(){const _e=this.axios.post(B,G,{params:he,headers:{"Content-Type":"multipart/form-data"}});return this.handleResponse(_e)})}patch(B,G,he){return re(this,null,function*(){const _e=this.axios.patch(B,G,{params:he});return this.handleResponse(_e)})}put(B,G){return re(this,null,function*(){const he=this.axios.put(B,G);return this.handleResponse(he)})}upload(B,G,he){return re(this,null,function*(){const _e=this.axios.post(B,G,Wn({},he));return this.handleResponse(_e)})}getNonStandard(B,G){return re(this,null,function*(){const he=this.axios.get(B,G);try{const _e=yield he;if(_e.status===200)return _e}catch(_e){throw this.handleError(_e)}})}postNonStandard(B,G,he,_e){return re(this,null,function*(){var O,x;const H=yield this.axios.post(B,G,Wn({params:he},_e));if(H.status===200)if((O=H.data)!=null&&O.code)(x=this.errorHandler)!=null&&x.onAppStatusError&&this.errorHandler.onAppStatusError(H.data.code,H.data.message);else return H.data})}handleResponse(B,G){return re(this,null,function*(){try{const he=yield B;return this.handleAppError(he.data,G).data}catch(he){throw this.handleError(he)}})}handleAppError(B,G){var he;if(B.code<200||B.code>=300)throw(he=this.errorHandler)!=null&&he.onAppStatusError?this.errorHandler.onAppStatusError(B.code,Qu(B.code,B.message),G):console.error("未处理应用错误:",B),{isAxiosError:!1,message:B.message};return B}handleError(B){var G,he;return B.response?(G=this.errorHandler)!=null&&G.onHttpStatusError&&(console.log("HTTP 错误",this.errorHandler),this.errorHandler.onHttpStatusError(B.response.status,"",B.response)):B.request?(console.log(B.request),(he=this.errorHandler)!=null&&he.onNetworkError&&this.errorHandler.onNetworkError()):console.error("axios request config error:",B),new Error(B.message)}}const Ju=de=>de>=10002&&de<=10012,Qu=(de,B)=>Ju(de)?"数据操作错误":B||"未知接口错误";class Bh extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}getLoginUrl(){return re(this,null,function*(){return this.get("/openAddress")})}getToken(B,G){return re(this,null,function*(){return this.get(B,G)})}getAIoTTokenByGTeamToken(B){return re(this,null,function*(){return this.post("/validate/glodonCloud",B).then(G=>G.accessToken)})}postRefreshToken(B,G,he,_e="3600",Oe){return re(this,null,function*(){return this.post("/refresh-token",{oldToken:B,tenant:G,orgId:he,expired:_e,product:Oe})})}}class Dh extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}getTenant(B){return re(this,null,function*(){return this.get(`/tenant/${B}`)})}listProduct(){return re(this,null,function*(){return this.list("/products")})}listProvinces(){return re(this,null,function*(){return this.list("/regions/provinces")})}listCities(B){return re(this,null,function*(){return this.list(`/regions/provinces/${B}/city`)})}listCounties(B,G){return re(this,null,function*(){return this.list(`/regions/provinces/${B}/city/${G}/county`)})}getOrgList(B){return re(this,null,function*(){return this.list("/org",B)})}getUserIdOrgList(B,G){return re(this,null,function*(){return this.list(`/users/${B}/org`,G)})}delOrg(B){return re(this,null,function*(){return this.delete(`/org/${B}`)})}postOrg(B){return re(this,null,function*(){return this.post("/org",B)})}patchOrg(B,G){return re(this,null,function*(){return this.patch(`/org/${B}`,G)})}getUsers(B,G){return re(this,null,function*(){return this.list(`/tenant/${B}/users`,G)})}delUser(B,G){return re(this,null,function*(){return this.delete(`/tenant/${B}/users/${G}`)})}postUser(B,G){return re(this,null,function*(){return this.post(`/tenant/${B}/users`,G)})}patchUser(B,G,he){return re(this,null,function*(){return this.patch(`tenant/${B}/users/${G}`,he)})}getTenantList(){return re(this,null,function*(){return this.get("/tenant")})}getUserIdRoles(B){return re(this,null,function*(){return this.get(`/users/${B}/role`)})}getProductCodeRole(B){return re(this,null,function*(){return this.get(`/products/${B}/role`)})}postUserRole(B,G){return re(this,null,function*(){return this.post(`/users/${B}/role`,G)})}patchUserRole(B,G,he){return re(this,null,function*(){return this.patch(`/users/${B}/role/${G}`,he)})}deleteUserRole(B,G){return re(this,null,function*(){return this.delete(`/users/${B}/role/${G}`)})}getUsersIdProductCodeMenu(B,G,he="web",_e){return re(this,null,function*(){return this.get(`/users/${B}/product/${G}/menu?groupCode=${he}`,{level:_e})})}getUserInfo(B){return re(this,null,function*(){return this.get(`/users/${B}`)})}uipermission(B,G,he="web"){return re(this,null,function*(){return this.get(`/users/${B}/product/${G}/uipermission?groupCode=${he}`)})}getAppInfo(B){return re(this,null,function*(){return this.get(`/products/${B}/apps`)})}getTenantUserInfo(B,G){return re(this,null,function*(){return this.get(`/tenant/${B}/users/${G}`)})}uploadFile(B){return re(this,null,function*(){return this.upload("/upload",B)})}getUserIdProductCodeOrg(B,G){return re(this,null,function*(){return this.get(`/users/${B}/product/${G}/org`)})}getOrg(B){return re(this,null,function*(){return this.get(`/org/${B}`)})}getUploadTicket(B){return re(this,null,function*(){return this.get("/upload/ticket",B)})}putAppInfo(B,G){return re(this,null,function*(){return this.put(`/products/${B}/apps`,G)})}getTenantKeySecret(B){return re(this,null,function*(){return this.get(`/tenant/${B}/key`)})}resetTenantKeySecret(B){return re(this,null,function*(){return this.post(`/tenant/${B}/resetSecret`,void 0)})}getProductsCode(B){return re(this,null,function*(){return this.get(`/products/${B}`)})}}var ec=(de=>(de.Collecting="采集中",de.CollectionTimeout="超时",de.CollectionFinish="完成",de.WaitUpload="等待上传",de.Uploading="上传中",de.UploadFinish="上传完成",de.UploadFailed="上传失败",de.WaitMerge="等待合成",de.CreateMergeTaskFailed="创建合成任务失败",de.Merging="合成中",de.MergeFailed="合成失败",de.MergeFinish="合成成功",de))(ec||{}),tc=(de=>(de.Collecting="采集中",de.CollectionTimeout="超时",de.CollectionFinish="完成",de.WaitUpload="等待上传",de.Uploading="上传中",de.UploadFinish="上传完成",de.UploadFailed="上传失败",de.WaitMerge="等待合成",de.CreateMergeTaskFailed="创建合成任务失败",de.Merging="合成中",de.MergeFailed="合成失败",de.MergeFinish="合成成功",de))(tc||{});class Lh extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}static parseApiToken(B){const G=window.atob(B.split(".")[1]);return JSON.parse(G)}static loadApiToken(B,G,he){return re(this,null,function*(){return fetch(`${B}${G}/viewtoken/${he}/create_apitoken`,{method:"POST"}).then(_e=>{if(_e.status!==200)throw console.error(_e),Error(JSON.stringify(_e));return _e.json()}).then(_e=>{if(_e.code!==200)throw Error(JSON.stringify(_e));return _e.data.apiToken})})}listRecord(B){return re(this,null,function*(){return this.listPaged("/spacetwins",B)})}postRecord(B){return re(this,null,function*(){return this.post("/spacetwins",B)})}getRecordOverview(B){return re(this,null,function*(){return this.get(`/spacetwins/${B}`)})}getRecordViewtoken(B){return re(this,null,function*(){return this.get(`/spacetwins/${B}/viewtoken`)})}listScene(B){return re(this,null,function*(){return this.list(`/spacetwins/${B}/scenes`)})}getScenesByTimestamp(B,G){return re(this,null,function*(){return this.list(`/spacetwins/${B}/scenes_timestamp`,{timestamp:G})})}recomputeTrack(B,G){return re(this,null,function*(){return this.patch(`/spacetwins/${B}/track`,{points:G})})}updateRecordUploadStatus(B,G){return re(this,null,function*(){return this.post(`/spacetwins/${B}/update_upload_status`,G)})}getApiToken(B){return re(this,null,function*(){return this.post(`/viewtoken/${B}/create_apitoken`,{})})}getSpacetwins(B){return re(this,null,function*(){return this.listPaged("/spacetwins",B)})}postSpacetwins(B){return re(this,null,function*(){return this.post("/spacetwins",B)})}updateInspection(B,G){return re(this,null,function*(){return this.patch(`/patrolInspection/${B}`,G)})}getSpacetwinsIdViewtoken(B){return re(this,null,function*(){return this.get(`/spacetwins/${B}/viewtoken`)})}postSpacetwinsIdUpdateUploadStatus(B,G){return re(this,null,function*(){return this.post(`/spacetwins/${B}/update_upload_status`,G)})}postUploadTicket(B){return re(this,null,function*(){return this.post("/upload/ticket",B)})}getDownloadUrl(B){return re(this,null,function*(){return this.get(`/download/url?isv=${B.isv}&key=${B.key}`)})}listTrack(B,G){return re(this,null,function*(){return this.list(`/spacetwins/${B}/track`,{type:G})})}}class qh extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}listPlugin(B){return re(this,null,function*(){return this.list("/plugins",B)})}postPlugin(B){return re(this,null,function*(){return this.post("/plugins",B)})}getPlugin(B){return re(this,null,function*(){return this.get(`/plugins/${B}`)})}updatePlugin(B,G){return re(this,null,function*(){return this.patch(`/plugins/${B}`,G)})}listPluginData(B,G){return re(this,null,function*(){return this.list(`/plugins/${B}/datas`,G)})}postPluginData(B,G){return re(this,null,function*(){return this.post(`/plugins/${B}/datas`,G)})}getPluginData(B,G){return re(this,null,function*(){return this.get(`/plugins/${B}/datas/${G}`).then(he=>bi(Wn({},he),{arguments:JSON.parse(he.arguments)}))})}updatePluginData(B,G,he){return re(this,null,function*(){return this.patch(`/plugins/${B}/datas/${G}`,he)})}deletePluginData(B,G){return re(this,null,function*(){return this.delete(`/plugins/${B}/datas/${G}`)})}}var Fh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},nc={exports:{}};/*! For license information please see minio-zj.js.LICENSE.txt */(function(de,B){(function(G,he){de.exports=he()})(Fh,()=>(()=>{var G={9809:(H,O,x)=>{const k=O;k.bignum=x(4590),k.define=x(2500).define,k.base=x(1979),k.constants=x(6826),k.decoders=x(8307),k.encoders=x(6579)},2500:(H,O,x)=>{const k=x(6579),w=x(8307),g=x(5717);function M(a,d){this.name=a,this.body=d,this.decoders={},this.encoders={}}O.define=function(a,d){return new M(a,d)},M.prototype._createNamed=function(a){const d=this.name;function c(l){this._initNamed(l,d)}return g(c,a),c.prototype._initNamed=function(l,p){a.call(this,l,p)},new c(this)},M.prototype._getDecoder=function(a){return a=a||"der",this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(w[a])),this.decoders[a]},M.prototype.decode=function(a,d,c){return this._getDecoder(d).decode(a,c)},M.prototype._getEncoder=function(a){return a=a||"der",this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(k[a])),this.encoders[a]},M.prototype.encode=function(a,d,c){return this._getEncoder(d).encode(a,c)}},6625:(H,O,x)=>{const k=x(5717),w=x(8465).b,g=x(2399).Buffer;function M(d,c){w.call(this,c),g.isBuffer(d)?(this.base=d,this.offset=0,this.length=d.length):this.error("Input not Buffer")}function a(d,c){if(Array.isArray(d))this.length=0,this.value=d.map(function(l){return a.isEncoderBuffer(l)||(l=new a(l,c)),this.length+=l.length,l},this);else if(typeof d=="number"){if(!(0<=d&&d<=255))return c.error("non-byte EncoderBuffer value");this.value=d,this.length=1}else if(typeof d=="string")this.value=d,this.length=g.byteLength(d);else{if(!g.isBuffer(d))return c.error("Unsupported type: "+typeof d);this.value=d,this.length=d.length}}k(M,w),O.C=M,M.isDecoderBuffer=function(d){return d instanceof M||typeof d=="object"&&g.isBuffer(d.base)&&d.constructor.name==="DecoderBuffer"&&typeof d.offset=="number"&&typeof d.length=="number"&&typeof d.save=="function"&&typeof d.restore=="function"&&typeof d.isEmpty=="function"&&typeof d.readUInt8=="function"&&typeof d.skip=="function"&&typeof d.raw=="function"},M.prototype.save=function(){return{offset:this.offset,reporter:w.prototype.save.call(this)}},M.prototype.restore=function(d){const c=new M(this.base);return c.offset=d.offset,c.length=this.offset,this.offset=d.offset,w.prototype.restore.call(this,d.reporter),c},M.prototype.isEmpty=function(){return this.offset===this.length},M.prototype.readUInt8=function(d){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(d||"DecoderBuffer overrun")},M.prototype.skip=function(d,c){if(!(this.offset+d<=this.length))return this.error(c||"DecoderBuffer overrun");const l=new M(this.base);return l._reporterState=this._reporterState,l.offset=this.offset,l.length=this.offset+d,this.offset+=d,l},M.prototype.raw=function(d){return this.base.slice(d?d.offset:this.offset,this.length)},O.R=a,a.isEncoderBuffer=function(d){return d instanceof a||typeof d=="object"&&d.constructor.name==="EncoderBuffer"&&typeof d.length=="number"&&typeof d.join=="function"},a.prototype.join=function(d,c){return d||(d=g.alloc(this.length)),c||(c=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(l){l.join(d,c),c+=l.length}):(typeof this.value=="number"?d[c]=this.value:typeof this.value=="string"?d.write(this.value,c):g.isBuffer(this.value)&&this.value.copy(d,c),c+=this.length)),d}},1979:(H,O,x)=>{const k=O;k.Reporter=x(8465).b,k.DecoderBuffer=x(6625).C,k.EncoderBuffer=x(6625).R,k.Node=x(1949)},1949:(H,O,x)=>{const k=x(8465).b,w=x(6625).R,g=x(6625).C,M=x(9746),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],d=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function c(p,m,h){const u={};this._baseState=u,u.name=h,u.enc=p,u.parent=m||null,u.children=null,u.tag=null,u.args=null,u.reverseArgs=null,u.choice=null,u.optional=!1,u.any=!1,u.obj=!1,u.use=null,u.useDecoder=null,u.key=null,u.default=null,u.explicit=null,u.implicit=null,u.contains=null,u.parent||(u.children=[],this._wrap())}H.exports=c;const l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){const p=this._baseState,m={};l.forEach(function(u){m[u]=p[u]});const h=new this.constructor(m.parent);return h._baseState=m,h},c.prototype._wrap=function(){const p=this._baseState;d.forEach(function(m){this[m]=function(){const h=new this.constructor(this);return p.children.push(h),h[m].apply(h,arguments)}},this)},c.prototype._init=function(p){const m=this._baseState;M(m.parent===null),p.call(this),m.children=m.children.filter(function(h){return h._baseState.parent===this},this),M.equal(m.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(p){const m=this._baseState,h=p.filter(function(u){return u instanceof this.constructor},this);p=p.filter(function(u){return!(u instanceof this.constructor)},this),h.length!==0&&(M(m.children===null),m.children=h,h.forEach(function(u){u._baseState.parent=this},this)),p.length!==0&&(M(m.args===null),m.args=p,m.reverseArgs=p.map(function(u){if(typeof u!="object"||u.constructor!==Object)return u;const y={};return Object.keys(u).forEach(function(v){v==(0|v)&&(v|=0);const _=u[v];y[_]=v}),y}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(p){c.prototype[p]=function(){const m=this._baseState;throw new Error(p+" not implemented for encoding: "+m.enc)}}),a.forEach(function(p){c.prototype[p]=function(){const m=this._baseState,h=Array.prototype.slice.call(arguments);return M(m.tag===null),m.tag=p,this._useArgs(h),this}}),c.prototype.use=function(p){M(p);const m=this._baseState;return M(m.use===null),m.use=p,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(p){const m=this._baseState;return M(m.default===null),m.default=p,m.optional=!0,this},c.prototype.explicit=function(p){const m=this._baseState;return M(m.explicit===null&&m.implicit===null),m.explicit=p,this},c.prototype.implicit=function(p){const m=this._baseState;return M(m.explicit===null&&m.implicit===null),m.implicit=p,this},c.prototype.obj=function(){const p=this._baseState,m=Array.prototype.slice.call(arguments);return p.obj=!0,m.length!==0&&this._useArgs(m),this},c.prototype.key=function(p){const m=this._baseState;return M(m.key===null),m.key=p,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(p){const m=this._baseState;return M(m.choice===null),m.choice=p,this._useArgs(Object.keys(p).map(function(h){return p[h]})),this},c.prototype.contains=function(p){const m=this._baseState;return M(m.use===null),m.contains=p,this},c.prototype._decode=function(p,m){const h=this._baseState;if(h.parent===null)return p.wrapResult(h.children[0]._decode(p,m));let u,y=h.default,v=!0,_=null;if(h.key!==null&&(_=p.enterKey(h.key)),h.optional){let S=null;if(h.explicit!==null?S=h.explicit:h.implicit!==null?S=h.implicit:h.tag!==null&&(S=h.tag),S!==null||h.any){if(v=this._peekTag(p,S,h.any),p.isError(v))return v}else{const b=p.save();try{h.choice===null?this._decodeGeneric(h.tag,p,m):this._decodeChoice(p,m),v=!0}catch(T){v=!1}p.restore(b)}}if(h.obj&&v&&(u=p.enterObject()),v){if(h.explicit!==null){const b=this._decodeTag(p,h.explicit);if(p.isError(b))return b;p=b}const S=p.offset;if(h.use===null&&h.choice===null){let b;h.any&&(b=p.save());const T=this._decodeTag(p,h.implicit!==null?h.implicit:h.tag,h.any);if(p.isError(T))return T;h.any?y=p.raw(b):p=T}if(m&&m.track&&h.tag!==null&&m.track(p.path(),S,p.length,"tagged"),m&&m.track&&h.tag!==null&&m.track(p.path(),p.offset,p.length,"content"),h.any||(y=h.choice===null?this._decodeGeneric(h.tag,p,m):this._decodeChoice(p,m)),p.isError(y))return y;if(h.any||h.choice!==null||h.children===null||h.children.forEach(function(b){b._decode(p,m)}),h.contains&&(h.tag==="octstr"||h.tag==="bitstr")){const b=new g(y);y=this._getUse(h.contains,p._reporterState.obj)._decode(b,m)}}return h.obj&&v&&(y=p.leaveObject(u)),h.key===null||y===null&&v!==!0?_!==null&&p.exitKey(_):p.leaveKey(_,h.key,y),y},c.prototype._decodeGeneric=function(p,m,h){const u=this._baseState;return p==="seq"||p==="set"?null:p==="seqof"||p==="setof"?this._decodeList(m,p,u.args[0],h):/str$/.test(p)?this._decodeStr(m,p,h):p==="objid"&&u.args?this._decodeObjid(m,u.args[0],u.args[1],h):p==="objid"?this._decodeObjid(m,null,null,h):p==="gentime"||p==="utctime"?this._decodeTime(m,p,h):p==="null_"?this._decodeNull(m,h):p==="bool"?this._decodeBool(m,h):p==="objDesc"?this._decodeStr(m,p,h):p==="int"||p==="enum"?this._decodeInt(m,u.args&&u.args[0],h):u.use!==null?this._getUse(u.use,m._reporterState.obj)._decode(m,h):m.error("unknown tag: "+p)},c.prototype._getUse=function(p,m){const h=this._baseState;return h.useDecoder=this._use(p,m),M(h.useDecoder._baseState.parent===null),h.useDecoder=h.useDecoder._baseState.children[0],h.implicit!==h.useDecoder._baseState.implicit&&(h.useDecoder=h.useDecoder.clone(),h.useDecoder._baseState.implicit=h.implicit),h.useDecoder},c.prototype._decodeChoice=function(p,m){const h=this._baseState;let u=null,y=!1;return Object.keys(h.choice).some(function(v){const _=p.save(),S=h.choice[v];try{const b=S._decode(p,m);if(p.isError(b))return!1;u={type:v,value:b},y=!0}catch(b){return p.restore(_),!1}return!0},this),y?u:p.error("Choice not matched")},c.prototype._createEncoderBuffer=function(p){return new w(p,this.reporter)},c.prototype._encode=function(p,m,h){const u=this._baseState;if(u.default!==null&&u.default===p)return;const y=this._encodeValue(p,m,h);return y===void 0||this._skipDefault(y,m,h)?void 0:y},c.prototype._encodeValue=function(p,m,h){const u=this._baseState;if(u.parent===null)return u.children[0]._encode(p,m||new k);let y=null;if(this.reporter=m,u.optional&&p===void 0){if(u.default===null)return;p=u.default}let v=null,_=!1;if(u.any)y=this._createEncoderBuffer(p);else if(u.choice)y=this._encodeChoice(p,m);else if(u.contains)v=this._getUse(u.contains,h)._encode(p,m),_=!0;else if(u.children)v=u.children.map(function(S){if(S._baseState.tag==="null_")return S._encode(null,m,p);if(S._baseState.key===null)return m.error("Child should have a key");const b=m.enterKey(S._baseState.key);if(typeof p!="object")return m.error("Child expected, but input is not object");const T=S._encode(p[S._baseState.key],m,p);return m.leaveKey(b),T},this).filter(function(S){return S}),v=this._createEncoderBuffer(v);else if(u.tag==="seqof"||u.tag==="setof"){if(!u.args||u.args.length!==1)return m.error("Too many args for : "+u.tag);if(!Array.isArray(p))return m.error("seqof/setof, but data is not Array");const S=this.clone();S._baseState.implicit=null,v=this._createEncoderBuffer(p.map(function(b){const T=this._baseState;return this._getUse(T.args[0],p)._encode(b,m)},S))}else u.use!==null?y=this._getUse(u.use,h)._encode(p,m):(v=this._encodePrimitive(u.tag,p),_=!0);if(!u.any&&u.choice===null){const S=u.implicit!==null?u.implicit:u.tag,b=u.implicit===null?"universal":"context";S===null?u.use===null&&m.error("Tag could be omitted only for .use()"):u.use===null&&(y=this._encodeComposite(S,_,b,v))}return u.explicit!==null&&(y=this._encodeComposite(u.explicit,!1,"context",y)),y},c.prototype._encodeChoice=function(p,m){const h=this._baseState,u=h.choice[p.type];return u||M(!1,p.type+" not found in "+JSON.stringify(Object.keys(h.choice))),u._encode(p.value,m)},c.prototype._encodePrimitive=function(p,m){const h=this._baseState;if(/str$/.test(p))return this._encodeStr(m,p);if(p==="objid"&&h.args)return this._encodeObjid(m,h.reverseArgs[0],h.args[1]);if(p==="objid")return this._encodeObjid(m,null,null);if(p==="gentime"||p==="utctime")return this._encodeTime(m,p);if(p==="null_")return this._encodeNull();if(p==="int"||p==="enum")return this._encodeInt(m,h.args&&h.reverseArgs[0]);if(p==="bool")return this._encodeBool(m);if(p==="objDesc")return this._encodeStr(m,p);throw new Error("Unsupported tag: "+p)},c.prototype._isNumstr=function(p){return/^[0-9 ]*$/.test(p)},c.prototype._isPrintstr=function(p){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(p)}},8465:(H,O,x)=>{const k=x(5717);function w(M){this._reporterState={obj:null,path:[],options:M||{},errors:[]}}function g(M,a){this.path=M,this.rethrow(a)}O.b=w,w.prototype.isError=function(M){return M instanceof g},w.prototype.save=function(){const M=this._reporterState;return{obj:M.obj,pathLen:M.path.length}},w.prototype.restore=function(M){const a=this._reporterState;a.obj=M.obj,a.path=a.path.slice(0,M.pathLen)},w.prototype.enterKey=function(M){return this._reporterState.path.push(M)},w.prototype.exitKey=function(M){const a=this._reporterState;a.path=a.path.slice(0,M-1)},w.prototype.leaveKey=function(M,a,d){const c=this._reporterState;this.exitKey(M),c.obj!==null&&(c.obj[a]=d)},w.prototype.path=function(){return this._reporterState.path.join("/")},w.prototype.enterObject=function(){const M=this._reporterState,a=M.obj;return M.obj={},a},w.prototype.leaveObject=function(M){const a=this._reporterState,d=a.obj;return a.obj=M,d},w.prototype.error=function(M){let a;const d=this._reporterState,c=M instanceof g;if(a=c?M:new g(d.path.map(function(l){return"["+JSON.stringify(l)+"]"}).join(""),M.message||M,M.stack),!d.options.partial)throw a;return c||d.errors.push(a),a},w.prototype.wrapResult=function(M){const a=this._reporterState;return a.options.partial?{result:this.isError(M)?null:M,errors:a.errors}:M},k(g,Error),g.prototype.rethrow=function(M){if(this.message=M+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,g),!this.stack)try{throw new Error(this.message)}catch(a){this.stack=a.stack}return this}},160:(H,O)=>{function x(k){const w={};return Object.keys(k).forEach(function(g){(0|g)==g&&(g|=0);const M=k[g];w[M]=g}),w}O.tagClass={0:"universal",1:"application",2:"context",3:"private"},O.tagClassByName=x(O.tagClass),O.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},O.tagByName=x(O.tag)},6826:(H,O,x)=>{const k=O;k._reverse=function(w){const g={};return Object.keys(w).forEach(function(M){(0|M)==M&&(M|=0);const a=w[M];g[a]=M}),g},k.der=x(160)},1671:(H,O,x)=>{const k=x(5717),w=x(4590),g=x(6625).C,M=x(1949),a=x(160);function d(m){this.enc="der",this.name=m.name,this.entity=m,this.tree=new c,this.tree._init(m.body)}function c(m){M.call(this,"der",m)}function l(m,h){let u=m.readUInt8(h);if(m.isError(u))return u;const y=a.tagClass[u>>6],v=(32&u)==0;if((31&u)==31){let _=u;for(u=0;(128&_)==128;){if(_=m.readUInt8(h),m.isError(_))return _;u<<=7,u|=127&_}}else u&=31;return{cls:y,primitive:v,tag:u,tagStr:a.tag[u]}}function p(m,h,u){let y=m.readUInt8(u);if(m.isError(y))return y;if(!h&&y===128)return null;if(!(128&y))return y;const v=127&y;if(v>4)return m.error("length octect is too long");y=0;for(let _=0;_<v;_++){y<<=8;const S=m.readUInt8(u);if(m.isError(S))return S;y|=S}return y}H.exports=d,d.prototype.decode=function(m,h){return g.isDecoderBuffer(m)||(m=new g(m,h)),this.tree._decode(m,h)},k(c,M),c.prototype._peekTag=function(m,h,u){if(m.isEmpty())return!1;const y=m.save(),v=l(m,'Failed to peek tag: "'+h+'"');return m.isError(v)?v:(m.restore(y),v.tag===h||v.tagStr===h||v.tagStr+"of"===h||u)},c.prototype._decodeTag=function(m,h,u){const y=l(m,'Failed to decode tag of "'+h+'"');if(m.isError(y))return y;let v=p(m,y.primitive,'Failed to get length of "'+h+'"');if(m.isError(v))return v;if(!u&&y.tag!==h&&y.tagStr!==h&&y.tagStr+"of"!==h)return m.error('Failed to match tag: "'+h+'"');if(y.primitive||v!==null)return m.skip(v,'Failed to match body of: "'+h+'"');const _=m.save(),S=this._skipUntilEnd(m,'Failed to skip indefinite length body: "'+this.tag+'"');return m.isError(S)?S:(v=m.offset-_.offset,m.restore(_),m.skip(v,'Failed to match body of: "'+h+'"'))},c.prototype._skipUntilEnd=function(m,h){for(;;){const u=l(m,h);if(m.isError(u))return u;const y=p(m,u.primitive,h);if(m.isError(y))return y;let v;if(v=u.primitive||y!==null?m.skip(y):this._skipUntilEnd(m,h),m.isError(v))return v;if(u.tagStr==="end")break}},c.prototype._decodeList=function(m,h,u,y){const v=[];for(;!m.isEmpty();){const _=this._peekTag(m,"end");if(m.isError(_))return _;const S=u.decode(m,"der",y);if(m.isError(S)&&_)break;v.push(S)}return v},c.prototype._decodeStr=function(m,h){if(h==="bitstr"){const u=m.readUInt8();return m.isError(u)?u:{unused:u,data:m.raw()}}if(h==="bmpstr"){const u=m.raw();if(u.length%2==1)return m.error("Decoding of string type: bmpstr length mismatch");let y="";for(let v=0;v<u.length/2;v++)y+=String.fromCharCode(u.readUInt16BE(2*v));return y}if(h==="numstr"){const u=m.raw().toString("ascii");return this._isNumstr(u)?u:m.error("Decoding of string type: numstr unsupported characters")}if(h==="octstr"||h==="objDesc")return m.raw();if(h==="printstr"){const u=m.raw().toString("ascii");return this._isPrintstr(u)?u:m.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(h)?m.raw().toString():m.error("Decoding of string type: "+h+" unsupported")},c.prototype._decodeObjid=function(m,h,u){let y;const v=[];let _=0,S=0;for(;!m.isEmpty();)S=m.readUInt8(),_<<=7,_|=127&S,!(128&S)&&(v.push(_),_=0);128&S&&v.push(_);const b=v[0]/40|0,T=v[0]%40;if(y=u?v:[b,T].concat(v.slice(1)),h){let C=h[y.join(" ")];C===void 0&&(C=h[y.join(".")]),C!==void 0&&(y=C)}return y},c.prototype._decodeTime=function(m,h){const u=m.raw().toString();let y,v,_,S,b,T;if(h==="gentime")y=0|u.slice(0,4),v=0|u.slice(4,6),_=0|u.slice(6,8),S=0|u.slice(8,10),b=0|u.slice(10,12),T=0|u.slice(12,14);else{if(h!=="utctime")return m.error("Decoding "+h+" time is not supported yet");y=0|u.slice(0,2),v=0|u.slice(2,4),_=0|u.slice(4,6),S=0|u.slice(6,8),b=0|u.slice(8,10),T=0|u.slice(10,12),y=y<70?2e3+y:1900+y}return Date.UTC(y,v-1,_,S,b,T,0)},c.prototype._decodeNull=function(){return null},c.prototype._decodeBool=function(m){const h=m.readUInt8();return m.isError(h)?h:h!==0},c.prototype._decodeInt=function(m,h){const u=m.raw();let y=new w(u);return h&&(y=h[y.toString(10)]||y),y},c.prototype._use=function(m,h){return typeof m=="function"&&(m=m(h)),m._getDecoder("der").tree}},8307:(H,O,x)=>{const k=O;k.der=x(1671),k.pem=x(9631)},9631:(H,O,x)=>{const k=x(5717),w=x(2399).Buffer,g=x(1671);function M(a){g.call(this,a),this.enc="pem"}k(M,g),H.exports=M,M.prototype.decode=function(a,d){const c=a.toString().split(/[\r\n]+/g),l=d.label.toUpperCase(),p=/^-----(BEGIN|END) ([^-]+)-----$/;let m=-1,h=-1;for(let v=0;v<c.length;v++){const _=c[v].match(p);if(_!==null&&_[2]===l){if(m!==-1){if(_[1]!=="END")break;h=v;break}if(_[1]!=="BEGIN")break;m=v}}if(m===-1||h===-1)throw new Error("PEM section not found for: "+l);const u=c.slice(m+1,h).join("");u.replace(/[^a-z0-9+/=]+/gi,"");const y=w.from(u,"base64");return g.prototype.decode.call(this,y,d)}},6984:(H,O,x)=>{const k=x(5717),w=x(2399).Buffer,g=x(1949),M=x(160);function a(l){this.enc="der",this.name=l.name,this.entity=l,this.tree=new d,this.tree._init(l.body)}function d(l){g.call(this,"der",l)}function c(l){return l<10?"0"+l:l}H.exports=a,a.prototype.encode=function(l,p){return this.tree._encode(l,p).join()},k(d,g),d.prototype._encodeComposite=function(l,p,m,h){const u=function(_,S,b,T){let C;if(_==="seqof"?_="seq":_==="setof"&&(_="set"),M.tagByName.hasOwnProperty(_))C=M.tagByName[_];else{if(typeof _!="number"||(0|_)!==_)return T.error("Unknown tag: "+_);C=_}return C>=31?T.error("Multi-octet tag encoding unsupported"):(S||(C|=32),C|=M.tagClassByName[b||"universal"]<<6,C)}(l,p,m,this.reporter);if(h.length<128){const _=w.alloc(2);return _[0]=u,_[1]=h.length,this._createEncoderBuffer([_,h])}let y=1;for(let _=h.length;_>=256;_>>=8)y++;const v=w.alloc(2+y);v[0]=u,v[1]=128|y;for(let _=1+y,S=h.length;S>0;_--,S>>=8)v[_]=255&S;return this._createEncoderBuffer([v,h])},d.prototype._encodeStr=function(l,p){if(p==="bitstr")return this._createEncoderBuffer([0|l.unused,l.data]);if(p==="bmpstr"){const m=w.alloc(2*l.length);for(let h=0;h<l.length;h++)m.writeUInt16BE(l.charCodeAt(h),2*h);return this._createEncoderBuffer(m)}return p==="numstr"?this._isNumstr(l)?this._createEncoderBuffer(l):this.reporter.error("Encoding of string type: numstr supports only digits and space"):p==="printstr"?this._isPrintstr(l)?this._createEncoderBuffer(l):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(p)||p==="objDesc"?this._createEncoderBuffer(l):this.reporter.error("Encoding of string type: "+p+" unsupported")},d.prototype._encodeObjid=function(l,p,m){if(typeof l=="string"){if(!p)return this.reporter.error("string objid given, but no values map found");if(!p.hasOwnProperty(l))return this.reporter.error("objid not found in values map");l=p[l].split(/[\s.]+/g);for(let v=0;v<l.length;v++)l[v]|=0}else if(Array.isArray(l)){l=l.slice();for(let v=0;v<l.length;v++)l[v]|=0}if(!Array.isArray(l))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(l));if(!m){if(l[1]>=40)return this.reporter.error("Second objid identifier OOB");l.splice(0,2,40*l[0]+l[1])}let h=0;for(let v=0;v<l.length;v++){let _=l[v];for(h++;_>=128;_>>=7)h++}const u=w.alloc(h);let y=u.length-1;for(let v=l.length-1;v>=0;v--){let _=l[v];for(u[y--]=127&_;(_>>=7)>0;)u[y--]=128|127&_}return this._createEncoderBuffer(u)},d.prototype._encodeTime=function(l,p){let m;const h=new Date(l);return p==="gentime"?m=[c(h.getUTCFullYear()),c(h.getUTCMonth()+1),c(h.getUTCDate()),c(h.getUTCHours()),c(h.getUTCMinutes()),c(h.getUTCSeconds()),"Z"].join(""):p==="utctime"?m=[c(h.getUTCFullYear()%100),c(h.getUTCMonth()+1),c(h.getUTCDate()),c(h.getUTCHours()),c(h.getUTCMinutes()),c(h.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+p+" time is not supported yet"),this._encodeStr(m,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(l,p){if(typeof l=="string"){if(!p)return this.reporter.error("String int or enum given, but no values map");if(!p.hasOwnProperty(l))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(l));l=p[l]}if(typeof l!="number"&&!w.isBuffer(l)){const u=l.toArray();!l.sign&&128&u[0]&&u.unshift(0),l=w.from(u)}if(w.isBuffer(l)){let u=l.length;l.length===0&&u++;const y=w.alloc(u);return l.copy(y),l.length===0&&(y[0]=0),this._createEncoderBuffer(y)}if(l<128)return this._createEncoderBuffer(l);if(l<256)return this._createEncoderBuffer([0,l]);let m=1;for(let u=l;u>=256;u>>=8)m++;const h=new Array(m);for(let u=h.length-1;u>=0;u--)h[u]=255&l,l>>=8;return 128&h[0]&&h.unshift(0),this._createEncoderBuffer(w.from(h))},d.prototype._encodeBool=function(l){return this._createEncoderBuffer(l?255:0)},d.prototype._use=function(l,p){return typeof l=="function"&&(l=l(p)),l._getEncoder("der").tree},d.prototype._skipDefault=function(l,p,m){const h=this._baseState;let u;if(h.default===null)return!1;const y=l.join();if(h.defaultBuffer===void 0&&(h.defaultBuffer=this._encodeValue(h.default,p,m).join()),y.length!==h.defaultBuffer.length)return!1;for(u=0;u<y.length;u++)if(y[u]!==h.defaultBuffer[u])return!1;return!0}},6579:(H,O,x)=>{const k=O;k.der=x(6984),k.pem=x(2883)},2883:(H,O,x)=>{const k=x(5717),w=x(6984);function g(M){w.call(this,M),this.enc="pem"}k(g,w),H.exports=g,g.prototype.encode=function(M,a){const d=w.prototype.encode.call(this,M).toString("base64"),c=["-----BEGIN "+a.label+"-----"];for(let l=0;l<d.length;l+=64)c.push(d.slice(l,l+64));return c.push("-----END "+a.label+"-----"),c.join(`
2
2
  `)}},4590:function(H,O,x){(function(k,w){function g(e,r){if(!e)throw new Error(r||"Assertion failed")}function M(e,r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e}function a(e,r,i){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,e!==null&&(r!=="le"&&r!=="be"||(i=r,r=10),this._init(e||0,r||10,i||"be"))}var d;typeof k=="object"?k.exports=a:w.BN=a,a.BN=a,a.wordSize=26;try{d=typeof window!="undefined"&&window.Buffer!==void 0?window.Buffer:x(950).Buffer}catch(e){}function c(e,r){var i=e.charCodeAt(r);return i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:i-48&15}function l(e,r,i){var n=c(e,i);return i-1>=r&&(n|=c(e,i-1)<<4),n}function p(e,r,i,n){for(var t=0,o=Math.min(e.length,i),s=r;s<o;s++){var I=e.charCodeAt(s)-48;t*=n,t+=I>=49?I-49+10:I>=17?I-17+10:I}return t}a.isBN=function(e){return e instanceof a||e!==null&&typeof e=="object"&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,r){return e.cmp(r)>0?e:r},a.min=function(e,r){return e.cmp(r)<0?e:r},a.prototype._init=function(e,r,i){if(typeof e=="number")return this._initNumber(e,r,i);if(typeof e=="object")return this._initArray(e,r,i);r==="hex"&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var n=0;(e=e.toString().replace(/\s+/g,""))[0]==="-"&&(n++,this.negative=1),n<e.length&&(r===16?this._parseHex(e,n,i):(this._parseBase(e,r,n),i==="le"&&this._initArray(this.toArray(),r,i)))},a.prototype._initNumber=function(e,r,i){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(g(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),i==="le"&&this._initArray(this.toArray(),r,i)},a.prototype._initArray=function(e,r,i){if(g(typeof e.length=="number"),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var t,o,s=0;if(i==="be")for(n=e.length-1,t=0;n>=0;n-=3)o=e[n]|e[n-1]<<8|e[n-2]<<16,this.words[t]|=o<<s&67108863,this.words[t+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,t++);else if(i==="le")for(n=0,t=0;n<e.length;n+=3)o=e[n]|e[n+1]<<8|e[n+2]<<16,this.words[t]|=o<<s&67108863,this.words[t+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,t++);return this.strip()},a.prototype._parseHex=function(e,r,i){this.length=Math.ceil((e.length-r)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var t,o=0,s=0;if(i==="be")for(n=e.length-1;n>=r;n-=2)t=l(e,r,n)<<o,this.words[s]|=67108863&t,o>=18?(o-=18,s+=1,this.words[s]|=t>>>26):o+=8;else for(n=(e.length-r)%2==0?r+1:r;n<e.length;n+=2)t=l(e,r,n)<<o,this.words[s]|=67108863&t,o>=18?(o-=18,s+=1,this.words[s]|=t>>>26):o+=8;this.strip()},a.prototype._parseBase=function(e,r,i){this.words=[0],this.length=1;for(var n=0,t=1;t<=67108863;t*=r)n++;n--,t=t/r|0;for(var o=e.length-i,s=o%n,I=Math.min(o,o-s)+i,P=0,j=i;j<I;j+=n)P=p(e,j,j+n,r),this.imuln(t),this.words[0]+P<67108864?this.words[0]+=P:this._iaddn(P);if(s!==0){var A=1;for(P=p(e,j,e.length,r),j=0;j<s;j++)A*=r;this.imuln(A),this.words[0]+P<67108864?this.words[0]+=P:this._iaddn(P)}this.strip()},a.prototype.copy=function(e){e.words=new Array(this.length);for(var r=0;r<this.length;r++)e.words[r]=this.words[r];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},a.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var m=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],u=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function y(e,r,i){i.negative=r.negative^e.negative;var n=e.length+r.length|0;i.length=n,n=n-1|0;var t=0|e.words[0],o=0|r.words[0],s=t*o,I=67108863&s,P=s/67108864|0;i.words[0]=I;for(var j=1;j<n;j++){for(var A=P>>>26,N=67108863&P,L=Math.min(j,r.length-1),z=Math.max(0,j-e.length+1);z<=L;z++){var Y=j-z|0;A+=(s=(t=0|e.words[Y])*(o=0|r.words[z])+N)/67108864|0,N=67108863&s}i.words[j]=0|N,P=0|A}return P!==0?i.words[j]=0|P:i.length--,i.strip()}a.prototype.toString=function(e,r){var i;if(r=0|r||1,(e=e||10)===16||e==="hex"){i="";for(var n=0,t=0,o=0;o<this.length;o++){var s=this.words[o],I=(16777215&(s<<n|t)).toString(16);i=(t=s>>>24-n&16777215)!=0||o!==this.length-1?m[6-I.length]+I+i:I+i,(n+=2)>=26&&(n-=26,o--)}for(t!==0&&(i=t.toString(16)+i);i.length%r!=0;)i="0"+i;return this.negative!==0&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var P=h[e],j=u[e];i="";var A=this.clone();for(A.negative=0;!A.isZero();){var N=A.modn(j).toString(e);i=(A=A.idivn(j)).isZero()?N+i:m[P-N.length]+N+i}for(this.isZero()&&(i="0"+i);i.length%r!=0;)i="0"+i;return this.negative!==0&&(i="-"+i),i}g(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return this.length===2?e+=67108864*this.words[1]:this.length===3&&this.words[2]===1?e+=4503599627370496+67108864*this.words[1]:this.length>2&&g(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,r){return g(d!==void 0),this.toArrayLike(d,e,r)},a.prototype.toArray=function(e,r){return this.toArrayLike(Array,e,r)},a.prototype.toArrayLike=function(e,r,i){var n=this.byteLength(),t=i||Math.max(1,n);g(n<=t,"byte array longer than desired length"),g(t>0,"Requested array length <= 0"),this.strip();var o,s,I=r==="le",P=new e(t),j=this.clone();if(I){for(s=0;!j.isZero();s++)o=j.andln(255),j.iushrn(8),P[s]=o;for(;s<t;s++)P[s]=0}else{for(s=0;s<t-n;s++)P[s]=0;for(s=0;!j.isZero();s++)o=j.andln(255),j.iushrn(8),P[t-s-1]=o}return P},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var r=e,i=0;return r>=4096&&(i+=13,r>>>=13),r>=64&&(i+=7,r>>>=7),r>=8&&(i+=4,r>>>=4),r>=2&&(i+=2,r>>>=2),i+r},a.prototype._zeroBits=function(e){if(e===0)return 26;var r=e,i=0;return!(8191&r)&&(i+=13,r>>>=13),!(127&r)&&(i+=7,r>>>=7),!(15&r)&&(i+=4,r>>>=4),!(3&r)&&(i+=2,r>>>=2),!(1&r)&&i++,i},a.prototype.bitLength=function(){var e=this.words[this.length-1],r=this._countBits(e);return 26*(this.length-1)+r},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,r=0;r<this.length;r++){var i=this._zeroBits(this.words[r]);if(e+=i,i!==26)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return this.negative!==0?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return this.negative!==0},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]|e.words[r];return this.strip()},a.prototype.ior=function(e){return g((this.negative|e.negative)==0),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var r;r=this.length>e.length?e:this;for(var i=0;i<r.length;i++)this.words[i]=this.words[i]&e.words[i];return this.length=r.length,this.strip()},a.prototype.iand=function(e){return g((this.negative|e.negative)==0),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var r,i;this.length>e.length?(r=this,i=e):(r=e,i=this);for(var n=0;n<i.length;n++)this.words[n]=r.words[n]^i.words[n];if(this!==r)for(;n<r.length;n++)this.words[n]=r.words[n];return this.length=r.length,this.strip()},a.prototype.ixor=function(e){return g((this.negative|e.negative)==0),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){g(typeof e=="number"&&e>=0);var r=0|Math.ceil(e/26),i=e%26;this._expand(r),i>0&&r--;for(var n=0;n<r;n++)this.words[n]=67108863&~this.words[n];return i>0&&(this.words[n]=~this.words[n]&67108863>>26-i),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,r){g(typeof e=="number"&&e>=0);var i=e/26|0,n=e%26;return this._expand(i+1),this.words[i]=r?this.words[i]|1<<n:this.words[i]&~(1<<n),this.strip()},a.prototype.iadd=function(e){var r,i,n;if(this.negative!==0&&e.negative===0)return this.negative=0,r=this.isub(e),this.negative^=1,this._normSign();if(this.negative===0&&e.negative!==0)return e.negative=0,r=this.isub(e),e.negative=1,r._normSign();this.length>e.length?(i=this,n=e):(i=e,n=this);for(var t=0,o=0;o<n.length;o++)r=(0|i.words[o])+(0|n.words[o])+t,this.words[o]=67108863&r,t=r>>>26;for(;t!==0&&o<i.length;o++)r=(0|i.words[o])+t,this.words[o]=67108863&r,t=r>>>26;if(this.length=i.length,t!==0)this.words[this.length]=t,this.length++;else if(i!==this)for(;o<i.length;o++)this.words[o]=i.words[o];return this},a.prototype.add=function(e){var r;return e.negative!==0&&this.negative===0?(e.negative=0,r=this.sub(e),e.negative^=1,r):e.negative===0&&this.negative!==0?(this.negative=0,r=e.sub(this),this.negative=1,r):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(e.negative!==0){e.negative=0;var r=this.iadd(e);return e.negative=1,r._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var i,n,t=this.cmp(e);if(t===0)return this.negative=0,this.length=1,this.words[0]=0,this;t>0?(i=this,n=e):(i=e,n=this);for(var o=0,s=0;s<n.length;s++)o=(r=(0|i.words[s])-(0|n.words[s])+o)>>26,this.words[s]=67108863&r;for(;o!==0&&s<i.length;s++)o=(r=(0|i.words[s])+o)>>26,this.words[s]=67108863&r;if(o===0&&s<i.length&&i!==this)for(;s<i.length;s++)this.words[s]=i.words[s];return this.length=Math.max(this.length,s),i!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var v=function(e,r,i){var n,t,o,s=e.words,I=r.words,P=i.words,j=0,A=0|s[0],N=8191&A,L=A>>>13,z=0|s[1],Y=8191&z,D=z>>>13,K=0|s[2],q=8191&K,U=K>>>13,te=0|s[3],J=8191&te,ae=te>>>13,xe=0|s[4],ce=8191&xe,fe=xe>>>13,Te=0|s[5],ye=8191&Te,Ee=Te>>>13,V=0|s[6],W=8191&V,Q=V>>>13,ge=0|s[7],oe=8191&ge,ue=ge>>>13,Ne=0|s[8],we=8191&Ne,Me=Ne>>>13,pt=0|s[9],ke=8191&pt,je=pt>>>13,Et=0|I[0],Ie=8191&Et,Xe=Et>>>13,Ct=0|I[1],De=8191&Ct,Ke=Ct>>>13,Nt=0|I[2],Pe=8191&Nt,He=Nt>>>13,vt=0|I[3],Ce=8191&vt,Ze=vt>>>13,St=0|I[4],Re=8191&St,Ge=St>>>13,It=0|I[5],qe=8191&It,Ye=It>>>13,Dt=0|I[6],Le=8191&Dt,et=Dt>>>13,$t=0|I[7],Fe=8191&$t,Qe=$t>>>13,Ut=0|I[8],$e=8191&Ut,nt=Ut>>>13,zt=0|I[9],Ue=8191&zt,tt=zt>>>13;i.negative=e.negative^r.negative,i.length=19;var Tt=(j+(n=Math.imul(N,Ie))|0)+((8191&(t=(t=Math.imul(N,Xe))+Math.imul(L,Ie)|0))<<13)|0;j=((o=Math.imul(L,Xe))+(t>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(Y,Ie),t=(t=Math.imul(Y,Xe))+Math.imul(D,Ie)|0,o=Math.imul(D,Xe);var Rt=(j+(n=n+Math.imul(N,De)|0)|0)+((8191&(t=(t=t+Math.imul(N,Ke)|0)+Math.imul(L,De)|0))<<13)|0;j=((o=o+Math.imul(L,Ke)|0)+(t>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(q,Ie),t=(t=Math.imul(q,Xe))+Math.imul(U,Ie)|0,o=Math.imul(U,Xe),n=n+Math.imul(Y,De)|0,t=(t=t+Math.imul(Y,Ke)|0)+Math.imul(D,De)|0,o=o+Math.imul(D,Ke)|0;var Zt=(j+(n=n+Math.imul(N,Pe)|0)|0)+((8191&(t=(t=t+Math.imul(N,He)|0)+Math.imul(L,Pe)|0))<<13)|0;j=((o=o+Math.imul(L,He)|0)+(t>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,n=Math.imul(J,Ie),t=(t=Math.imul(J,Xe))+Math.imul(ae,Ie)|0,o=Math.imul(ae,Xe),n=n+Math.imul(q,De)|0,t=(t=t+Math.imul(q,Ke)|0)+Math.imul(U,De)|0,o=o+Math.imul(U,Ke)|0,n=n+Math.imul(Y,Pe)|0,t=(t=t+Math.imul(Y,He)|0)+Math.imul(D,Pe)|0,o=o+Math.imul(D,He)|0;var on=(j+(n=n+Math.imul(N,Ce)|0)|0)+((8191&(t=(t=t+Math.imul(N,Ze)|0)+Math.imul(L,Ce)|0))<<13)|0;j=((o=o+Math.imul(L,Ze)|0)+(t>>>13)|0)+(on>>>26)|0,on&=67108863,n=Math.imul(ce,Ie),t=(t=Math.imul(ce,Xe))+Math.imul(fe,Ie)|0,o=Math.imul(fe,Xe),n=n+Math.imul(J,De)|0,t=(t=t+Math.imul(J,Ke)|0)+Math.imul(ae,De)|0,o=o+Math.imul(ae,Ke)|0,n=n+Math.imul(q,Pe)|0,t=(t=t+Math.imul(q,He)|0)+Math.imul(U,Pe)|0,o=o+Math.imul(U,He)|0,n=n+Math.imul(Y,Ce)|0,t=(t=t+Math.imul(Y,Ze)|0)+Math.imul(D,Ce)|0,o=o+Math.imul(D,Ze)|0;var tn=(j+(n=n+Math.imul(N,Re)|0)|0)+((8191&(t=(t=t+Math.imul(N,Ge)|0)+Math.imul(L,Re)|0))<<13)|0;j=((o=o+Math.imul(L,Ge)|0)+(t>>>13)|0)+(tn>>>26)|0,tn&=67108863,n=Math.imul(ye,Ie),t=(t=Math.imul(ye,Xe))+Math.imul(Ee,Ie)|0,o=Math.imul(Ee,Xe),n=n+Math.imul(ce,De)|0,t=(t=t+Math.imul(ce,Ke)|0)+Math.imul(fe,De)|0,o=o+Math.imul(fe,Ke)|0,n=n+Math.imul(J,Pe)|0,t=(t=t+Math.imul(J,He)|0)+Math.imul(ae,Pe)|0,o=o+Math.imul(ae,He)|0,n=n+Math.imul(q,Ce)|0,t=(t=t+Math.imul(q,Ze)|0)+Math.imul(U,Ce)|0,o=o+Math.imul(U,Ze)|0,n=n+Math.imul(Y,Re)|0,t=(t=t+Math.imul(Y,Ge)|0)+Math.imul(D,Re)|0,o=o+Math.imul(D,Ge)|0;var an=(j+(n=n+Math.imul(N,qe)|0)|0)+((8191&(t=(t=t+Math.imul(N,Ye)|0)+Math.imul(L,qe)|0))<<13)|0;j=((o=o+Math.imul(L,Ye)|0)+(t>>>13)|0)+(an>>>26)|0,an&=67108863,n=Math.imul(W,Ie),t=(t=Math.imul(W,Xe))+Math.imul(Q,Ie)|0,o=Math.imul(Q,Xe),n=n+Math.imul(ye,De)|0,t=(t=t+Math.imul(ye,Ke)|0)+Math.imul(Ee,De)|0,o=o+Math.imul(Ee,Ke)|0,n=n+Math.imul(ce,Pe)|0,t=(t=t+Math.imul(ce,He)|0)+Math.imul(fe,Pe)|0,o=o+Math.imul(fe,He)|0,n=n+Math.imul(J,Ce)|0,t=(t=t+Math.imul(J,Ze)|0)+Math.imul(ae,Ce)|0,o=o+Math.imul(ae,Ze)|0,n=n+Math.imul(q,Re)|0,t=(t=t+Math.imul(q,Ge)|0)+Math.imul(U,Re)|0,o=o+Math.imul(U,Ge)|0,n=n+Math.imul(Y,qe)|0,t=(t=t+Math.imul(Y,Ye)|0)+Math.imul(D,qe)|0,o=o+Math.imul(D,Ye)|0;var sn=(j+(n=n+Math.imul(N,Le)|0)|0)+((8191&(t=(t=t+Math.imul(N,et)|0)+Math.imul(L,Le)|0))<<13)|0;j=((o=o+Math.imul(L,et)|0)+(t>>>13)|0)+(sn>>>26)|0,sn&=67108863,n=Math.imul(oe,Ie),t=(t=Math.imul(oe,Xe))+Math.imul(ue,Ie)|0,o=Math.imul(ue,Xe),n=n+Math.imul(W,De)|0,t=(t=t+Math.imul(W,Ke)|0)+Math.imul(Q,De)|0,o=o+Math.imul(Q,Ke)|0,n=n+Math.imul(ye,Pe)|0,t=(t=t+Math.imul(ye,He)|0)+Math.imul(Ee,Pe)|0,o=o+Math.imul(Ee,He)|0,n=n+Math.imul(ce,Ce)|0,t=(t=t+Math.imul(ce,Ze)|0)+Math.imul(fe,Ce)|0,o=o+Math.imul(fe,Ze)|0,n=n+Math.imul(J,Re)|0,t=(t=t+Math.imul(J,Ge)|0)+Math.imul(ae,Re)|0,o=o+Math.imul(ae,Ge)|0,n=n+Math.imul(q,qe)|0,t=(t=t+Math.imul(q,Ye)|0)+Math.imul(U,qe)|0,o=o+Math.imul(U,Ye)|0,n=n+Math.imul(Y,Le)|0,t=(t=t+Math.imul(Y,et)|0)+Math.imul(D,Le)|0,o=o+Math.imul(D,et)|0;var un=(j+(n=n+Math.imul(N,Fe)|0)|0)+((8191&(t=(t=t+Math.imul(N,Qe)|0)+Math.imul(L,Fe)|0))<<13)|0;j=((o=o+Math.imul(L,Qe)|0)+(t>>>13)|0)+(un>>>26)|0,un&=67108863,n=Math.imul(we,Ie),t=(t=Math.imul(we,Xe))+Math.imul(Me,Ie)|0,o=Math.imul(Me,Xe),n=n+Math.imul(oe,De)|0,t=(t=t+Math.imul(oe,Ke)|0)+Math.imul(ue,De)|0,o=o+Math.imul(ue,Ke)|0,n=n+Math.imul(W,Pe)|0,t=(t=t+Math.imul(W,He)|0)+Math.imul(Q,Pe)|0,o=o+Math.imul(Q,He)|0,n=n+Math.imul(ye,Ce)|0,t=(t=t+Math.imul(ye,Ze)|0)+Math.imul(Ee,Ce)|0,o=o+Math.imul(Ee,Ze)|0,n=n+Math.imul(ce,Re)|0,t=(t=t+Math.imul(ce,Ge)|0)+Math.imul(fe,Re)|0,o=o+Math.imul(fe,Ge)|0,n=n+Math.imul(J,qe)|0,t=(t=t+Math.imul(J,Ye)|0)+Math.imul(ae,qe)|0,o=o+Math.imul(ae,Ye)|0,n=n+Math.imul(q,Le)|0,t=(t=t+Math.imul(q,et)|0)+Math.imul(U,Le)|0,o=o+Math.imul(U,et)|0,n=n+Math.imul(Y,Fe)|0,t=(t=t+Math.imul(Y,Qe)|0)+Math.imul(D,Fe)|0,o=o+Math.imul(D,Qe)|0;var cn=(j+(n=n+Math.imul(N,$e)|0)|0)+((8191&(t=(t=t+Math.imul(N,nt)|0)+Math.imul(L,$e)|0))<<13)|0;j=((o=o+Math.imul(L,nt)|0)+(t>>>13)|0)+(cn>>>26)|0,cn&=67108863,n=Math.imul(ke,Ie),t=(t=Math.imul(ke,Xe))+Math.imul(je,Ie)|0,o=Math.imul(je,Xe),n=n+Math.imul(we,De)|0,t=(t=t+Math.imul(we,Ke)|0)+Math.imul(Me,De)|0,o=o+Math.imul(Me,Ke)|0,n=n+Math.imul(oe,Pe)|0,t=(t=t+Math.imul(oe,He)|0)+Math.imul(ue,Pe)|0,o=o+Math.imul(ue,He)|0,n=n+Math.imul(W,Ce)|0,t=(t=t+Math.imul(W,Ze)|0)+Math.imul(Q,Ce)|0,o=o+Math.imul(Q,Ze)|0,n=n+Math.imul(ye,Re)|0,t=(t=t+Math.imul(ye,Ge)|0)+Math.imul(Ee,Re)|0,o=o+Math.imul(Ee,Ge)|0,n=n+Math.imul(ce,qe)|0,t=(t=t+Math.imul(ce,Ye)|0)+Math.imul(fe,qe)|0,o=o+Math.imul(fe,Ye)|0,n=n+Math.imul(J,Le)|0,t=(t=t+Math.imul(J,et)|0)+Math.imul(ae,Le)|0,o=o+Math.imul(ae,et)|0,n=n+Math.imul(q,Fe)|0,t=(t=t+Math.imul(q,Qe)|0)+Math.imul(U,Fe)|0,o=o+Math.imul(U,Qe)|0,n=n+Math.imul(Y,$e)|0,t=(t=t+Math.imul(Y,nt)|0)+Math.imul(D,$e)|0,o=o+Math.imul(D,nt)|0;var ln=(j+(n=n+Math.imul(N,Ue)|0)|0)+((8191&(t=(t=t+Math.imul(N,tt)|0)+Math.imul(L,Ue)|0))<<13)|0;j=((o=o+Math.imul(L,tt)|0)+(t>>>13)|0)+(ln>>>26)|0,ln&=67108863,n=Math.imul(ke,De),t=(t=Math.imul(ke,Ke))+Math.imul(je,De)|0,o=Math.imul(je,Ke),n=n+Math.imul(we,Pe)|0,t=(t=t+Math.imul(we,He)|0)+Math.imul(Me,Pe)|0,o=o+Math.imul(Me,He)|0,n=n+Math.imul(oe,Ce)|0,t=(t=t+Math.imul(oe,Ze)|0)+Math.imul(ue,Ce)|0,o=o+Math.imul(ue,Ze)|0,n=n+Math.imul(W,Re)|0,t=(t=t+Math.imul(W,Ge)|0)+Math.imul(Q,Re)|0,o=o+Math.imul(Q,Ge)|0,n=n+Math.imul(ye,qe)|0,t=(t=t+Math.imul(ye,Ye)|0)+Math.imul(Ee,qe)|0,o=o+Math.imul(Ee,Ye)|0,n=n+Math.imul(ce,Le)|0,t=(t=t+Math.imul(ce,et)|0)+Math.imul(fe,Le)|0,o=o+Math.imul(fe,et)|0,n=n+Math.imul(J,Fe)|0,t=(t=t+Math.imul(J,Qe)|0)+Math.imul(ae,Fe)|0,o=o+Math.imul(ae,Qe)|0,n=n+Math.imul(q,$e)|0,t=(t=t+Math.imul(q,nt)|0)+Math.imul(U,$e)|0,o=o+Math.imul(U,nt)|0;var hn=(j+(n=n+Math.imul(Y,Ue)|0)|0)+((8191&(t=(t=t+Math.imul(Y,tt)|0)+Math.imul(D,Ue)|0))<<13)|0;j=((o=o+Math.imul(D,tt)|0)+(t>>>13)|0)+(hn>>>26)|0,hn&=67108863,n=Math.imul(ke,Pe),t=(t=Math.imul(ke,He))+Math.imul(je,Pe)|0,o=Math.imul(je,He),n=n+Math.imul(we,Ce)|0,t=(t=t+Math.imul(we,Ze)|0)+Math.imul(Me,Ce)|0,o=o+Math.imul(Me,Ze)|0,n=n+Math.imul(oe,Re)|0,t=(t=t+Math.imul(oe,Ge)|0)+Math.imul(ue,Re)|0,o=o+Math.imul(ue,Ge)|0,n=n+Math.imul(W,qe)|0,t=(t=t+Math.imul(W,Ye)|0)+Math.imul(Q,qe)|0,o=o+Math.imul(Q,Ye)|0,n=n+Math.imul(ye,Le)|0,t=(t=t+Math.imul(ye,et)|0)+Math.imul(Ee,Le)|0,o=o+Math.imul(Ee,et)|0,n=n+Math.imul(ce,Fe)|0,t=(t=t+Math.imul(ce,Qe)|0)+Math.imul(fe,Fe)|0,o=o+Math.imul(fe,Qe)|0,n=n+Math.imul(J,$e)|0,t=(t=t+Math.imul(J,nt)|0)+Math.imul(ae,$e)|0,o=o+Math.imul(ae,nt)|0;var Gt=(j+(n=n+Math.imul(q,Ue)|0)|0)+((8191&(t=(t=t+Math.imul(q,tt)|0)+Math.imul(U,Ue)|0))<<13)|0;j=((o=o+Math.imul(U,tt)|0)+(t>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,n=Math.imul(ke,Ce),t=(t=Math.imul(ke,Ze))+Math.imul(je,Ce)|0,o=Math.imul(je,Ze),n=n+Math.imul(we,Re)|0,t=(t=t+Math.imul(we,Ge)|0)+Math.imul(Me,Re)|0,o=o+Math.imul(Me,Ge)|0,n=n+Math.imul(oe,qe)|0,t=(t=t+Math.imul(oe,Ye)|0)+Math.imul(ue,qe)|0,o=o+Math.imul(ue,Ye)|0,n=n+Math.imul(W,Le)|0,t=(t=t+Math.imul(W,et)|0)+Math.imul(Q,Le)|0,o=o+Math.imul(Q,et)|0,n=n+Math.imul(ye,Fe)|0,t=(t=t+Math.imul(ye,Qe)|0)+Math.imul(Ee,Fe)|0,o=o+Math.imul(Ee,Qe)|0,n=n+Math.imul(ce,$e)|0,t=(t=t+Math.imul(ce,nt)|0)+Math.imul(fe,$e)|0,o=o+Math.imul(fe,nt)|0;var pn=(j+(n=n+Math.imul(J,Ue)|0)|0)+((8191&(t=(t=t+Math.imul(J,tt)|0)+Math.imul(ae,Ue)|0))<<13)|0;j=((o=o+Math.imul(ae,tt)|0)+(t>>>13)|0)+(pn>>>26)|0,pn&=67108863,n=Math.imul(ke,Re),t=(t=Math.imul(ke,Ge))+Math.imul(je,Re)|0,o=Math.imul(je,Ge),n=n+Math.imul(we,qe)|0,t=(t=t+Math.imul(we,Ye)|0)+Math.imul(Me,qe)|0,o=o+Math.imul(Me,Ye)|0,n=n+Math.imul(oe,Le)|0,t=(t=t+Math.imul(oe,et)|0)+Math.imul(ue,Le)|0,o=o+Math.imul(ue,et)|0,n=n+Math.imul(W,Fe)|0,t=(t=t+Math.imul(W,Qe)|0)+Math.imul(Q,Fe)|0,o=o+Math.imul(Q,Qe)|0,n=n+Math.imul(ye,$e)|0,t=(t=t+Math.imul(ye,nt)|0)+Math.imul(Ee,$e)|0,o=o+Math.imul(Ee,nt)|0;var mn=(j+(n=n+Math.imul(ce,Ue)|0)|0)+((8191&(t=(t=t+Math.imul(ce,tt)|0)+Math.imul(fe,Ue)|0))<<13)|0;j=((o=o+Math.imul(fe,tt)|0)+(t>>>13)|0)+(mn>>>26)|0,mn&=67108863,n=Math.imul(ke,qe),t=(t=Math.imul(ke,Ye))+Math.imul(je,qe)|0,o=Math.imul(je,Ye),n=n+Math.imul(we,Le)|0,t=(t=t+Math.imul(we,et)|0)+Math.imul(Me,Le)|0,o=o+Math.imul(Me,et)|0,n=n+Math.imul(oe,Fe)|0,t=(t=t+Math.imul(oe,Qe)|0)+Math.imul(ue,Fe)|0,o=o+Math.imul(ue,Qe)|0,n=n+Math.imul(W,$e)|0,t=(t=t+Math.imul(W,nt)|0)+Math.imul(Q,$e)|0,o=o+Math.imul(Q,nt)|0;var Qt=(j+(n=n+Math.imul(ye,Ue)|0)|0)+((8191&(t=(t=t+Math.imul(ye,tt)|0)+Math.imul(Ee,Ue)|0))<<13)|0;j=((o=o+Math.imul(Ee,tt)|0)+(t>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,n=Math.imul(ke,Le),t=(t=Math.imul(ke,et))+Math.imul(je,Le)|0,o=Math.imul(je,et),n=n+Math.imul(we,Fe)|0,t=(t=t+Math.imul(we,Qe)|0)+Math.imul(Me,Fe)|0,o=o+Math.imul(Me,Qe)|0,n=n+Math.imul(oe,$e)|0,t=(t=t+Math.imul(oe,nt)|0)+Math.imul(ue,$e)|0,o=o+Math.imul(ue,nt)|0;var en=(j+(n=n+Math.imul(W,Ue)|0)|0)+((8191&(t=(t=t+Math.imul(W,tt)|0)+Math.imul(Q,Ue)|0))<<13)|0;j=((o=o+Math.imul(Q,tt)|0)+(t>>>13)|0)+(en>>>26)|0,en&=67108863,n=Math.imul(ke,Fe),t=(t=Math.imul(ke,Qe))+Math.imul(je,Fe)|0,o=Math.imul(je,Qe),n=n+Math.imul(we,$e)|0,t=(t=t+Math.imul(we,nt)|0)+Math.imul(Me,$e)|0,o=o+Math.imul(Me,nt)|0;var Yt=(j+(n=n+Math.imul(oe,Ue)|0)|0)+((8191&(t=(t=t+Math.imul(oe,tt)|0)+Math.imul(ue,Ue)|0))<<13)|0;j=((o=o+Math.imul(ue,tt)|0)+(t>>>13)|0)+(Yt>>>26)|0,Yt&=67108863,n=Math.imul(ke,$e),t=(t=Math.imul(ke,nt))+Math.imul(je,$e)|0,o=Math.imul(je,nt);var fn=(j+(n=n+Math.imul(we,Ue)|0)|0)+((8191&(t=(t=t+Math.imul(we,tt)|0)+Math.imul(Me,Ue)|0))<<13)|0;j=((o=o+Math.imul(Me,tt)|0)+(t>>>13)|0)+(fn>>>26)|0,fn&=67108863;var nn=(j+(n=Math.imul(ke,Ue))|0)+((8191&(t=(t=Math.imul(ke,tt))+Math.imul(je,Ue)|0))<<13)|0;return j=((o=Math.imul(je,tt))+(t>>>13)|0)+(nn>>>26)|0,nn&=67108863,P[0]=Tt,P[1]=Rt,P[2]=Zt,P[3]=on,P[4]=tn,P[5]=an,P[6]=sn,P[7]=un,P[8]=cn,P[9]=ln,P[10]=hn,P[11]=Gt,P[12]=pn,P[13]=mn,P[14]=Qt,P[15]=en,P[16]=Yt,P[17]=fn,P[18]=nn,j!==0&&(P[19]=j,i.length++),i};function _(e,r,i){return new S().mulp(e,r,i)}function S(e,r){this.x=e,this.y=r}Math.imul||(v=y),a.prototype.mulTo=function(e,r){var i,n=this.length+e.length;return i=this.length===10&&e.length===10?v(this,e,r):n<63?y(this,e,r):n<1024?function(t,o,s){s.negative=o.negative^t.negative,s.length=t.length+o.length;for(var I=0,P=0,j=0;j<s.length-1;j++){var A=P;P=0;for(var N=67108863&I,L=Math.min(j,o.length-1),z=Math.max(0,j-t.length+1);z<=L;z++){var Y=j-z,D=(0|t.words[Y])*(0|o.words[z]),K=67108863&D;N=67108863&(K=K+N|0),P+=(A=(A=A+(D/67108864|0)|0)+(K>>>26)|0)>>>26,A&=67108863}s.words[j]=N,I=A,A=P}return I!==0?s.words[j]=I:s.length--,s.strip()}(this,e,r):_(this,e,r),i},S.prototype.makeRBT=function(e){for(var r=new Array(e),i=a.prototype._countBits(e)-1,n=0;n<e;n++)r[n]=this.revBin(n,i,e);return r},S.prototype.revBin=function(e,r,i){if(e===0||e===i-1)return e;for(var n=0,t=0;t<r;t++)n|=(1&e)<<r-t-1,e>>=1;return n},S.prototype.permute=function(e,r,i,n,t,o){for(var s=0;s<o;s++)n[s]=r[e[s]],t[s]=i[e[s]]},S.prototype.transform=function(e,r,i,n,t,o){this.permute(o,e,r,i,n,t);for(var s=1;s<t;s<<=1)for(var I=s<<1,P=Math.cos(2*Math.PI/I),j=Math.sin(2*Math.PI/I),A=0;A<t;A+=I)for(var N=P,L=j,z=0;z<s;z++){var Y=i[A+z],D=n[A+z],K=i[A+z+s],q=n[A+z+s],U=N*K-L*q;q=N*q+L*K,K=U,i[A+z]=Y+K,n[A+z]=D+q,i[A+z+s]=Y-K,n[A+z+s]=D-q,z!==I&&(U=P*N-j*L,L=P*L+j*N,N=U)}},S.prototype.guessLen13b=function(e,r){var i=1|Math.max(r,e),n=1&i,t=0;for(i=i/2|0;i;i>>>=1)t++;return 1<<t+1+n},S.prototype.conjugate=function(e,r,i){if(!(i<=1))for(var n=0;n<i/2;n++){var t=e[n];e[n]=e[i-n-1],e[i-n-1]=t,t=r[n],r[n]=-r[i-n-1],r[i-n-1]=-t}},S.prototype.normalize13b=function(e,r){for(var i=0,n=0;n<r/2;n++){var t=8192*Math.round(e[2*n+1]/r)+Math.round(e[2*n]/r)+i;e[n]=67108863&t,i=t<67108864?0:t/67108864|0}return e},S.prototype.convert13b=function(e,r,i,n){for(var t=0,o=0;o<r;o++)t+=0|e[o],i[2*o]=8191&t,t>>>=13,i[2*o+1]=8191&t,t>>>=13;for(o=2*r;o<n;++o)i[o]=0;g(t===0),g((-8192&t)==0)},S.prototype.stub=function(e){for(var r=new Array(e),i=0;i<e;i++)r[i]=0;return r},S.prototype.mulp=function(e,r,i){var n=2*this.guessLen13b(e.length,r.length),t=this.makeRBT(n),o=this.stub(n),s=new Array(n),I=new Array(n),P=new Array(n),j=new Array(n),A=new Array(n),N=new Array(n),L=i.words;L.length=n,this.convert13b(e.words,e.length,s,n),this.convert13b(r.words,r.length,j,n),this.transform(s,o,I,P,n,t),this.transform(j,o,A,N,n,t);for(var z=0;z<n;z++){var Y=I[z]*A[z]-P[z]*N[z];P[z]=I[z]*N[z]+P[z]*A[z],I[z]=Y}return this.conjugate(I,P,n),this.transform(I,P,L,o,n,t),this.conjugate(L,o,n),this.normalize13b(L,n),i.negative=e.negative^r.negative,i.length=e.length+r.length,i.strip()},a.prototype.mul=function(e){var r=new a(null);return r.words=new Array(this.length+e.length),this.mulTo(e,r)},a.prototype.mulf=function(e){var r=new a(null);return r.words=new Array(this.length+e.length),_(this,e,r)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){g(typeof e=="number"),g(e<67108864);for(var r=0,i=0;i<this.length;i++){var n=(0|this.words[i])*e,t=(67108863&n)+(67108863&r);r>>=26,r+=n/67108864|0,r+=t>>>26,this.words[i]=67108863&t}return r!==0&&(this.words[i]=r,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var r=function(o){for(var s=new Array(o.bitLength()),I=0;I<s.length;I++){var P=I/26|0,j=I%26;s[I]=(o.words[P]&1<<j)>>>j}return s}(e);if(r.length===0)return new a(1);for(var i=this,n=0;n<r.length&&r[n]===0;n++,i=i.sqr());if(++n<r.length)for(var t=i.sqr();n<r.length;n++,t=t.sqr())r[n]!==0&&(i=i.mul(t));return i},a.prototype.iushln=function(e){g(typeof e=="number"&&e>=0);var r,i=e%26,n=(e-i)/26,t=67108863>>>26-i<<26-i;if(i!==0){var o=0;for(r=0;r<this.length;r++){var s=this.words[r]&t,I=(0|this.words[r])-s<<i;this.words[r]=I|o,o=s>>>26-i}o&&(this.words[r]=o,this.length++)}if(n!==0){for(r=this.length-1;r>=0;r--)this.words[r+n]=this.words[r];for(r=0;r<n;r++)this.words[r]=0;this.length+=n}return this.strip()},a.prototype.ishln=function(e){return g(this.negative===0),this.iushln(e)},a.prototype.iushrn=function(e,r,i){var n;g(typeof e=="number"&&e>=0),n=r?(r-r%26)/26:0;var t=e%26,o=Math.min((e-t)/26,this.length),s=67108863^67108863>>>t<<t,I=i;if(n-=o,n=Math.max(0,n),I){for(var P=0;P<o;P++)I.words[P]=this.words[P];I.length=o}if(o!==0)if(this.length>o)for(this.length-=o,P=0;P<this.length;P++)this.words[P]=this.words[P+o];else this.words[0]=0,this.length=1;var j=0;for(P=this.length-1;P>=0&&(j!==0||P>=n);P--){var A=0|this.words[P];this.words[P]=j<<26-t|A>>>t,j=A&s}return I&&j!==0&&(I.words[I.length++]=j),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,r,i){return g(this.negative===0),this.iushrn(e,r,i)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){g(typeof e=="number"&&e>=0);var r=e%26,i=(e-r)/26,n=1<<r;return!(this.length<=i||!(this.words[i]&n))},a.prototype.imaskn=function(e){g(typeof e=="number"&&e>=0);var r=e%26,i=(e-r)/26;if(g(this.negative===0,"imaskn works only with positive numbers"),this.length<=i)return this;if(r!==0&&i++,this.length=Math.min(i,this.length),r!==0){var n=67108863^67108863>>>r<<r;this.words[this.length-1]&=n}return this.strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return g(typeof e=="number"),g(e<67108864),e<0?this.isubn(-e):this.negative!==0?this.length===1&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},a.prototype.isubn=function(e){if(g(typeof e=="number"),g(e<67108864),e<0)return this.iaddn(-e);if(this.negative!==0)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,r,i){var n,t,o=e.length+i;this._expand(o);var s=0;for(n=0;n<e.length;n++){t=(0|this.words[n+i])+s;var I=(0|e.words[n])*r;s=((t-=67108863&I)>>26)-(I/67108864|0),this.words[n+i]=67108863&t}for(;n<this.length-i;n++)s=(t=(0|this.words[n+i])+s)>>26,this.words[n+i]=67108863&t;if(s===0)return this.strip();for(g(s===-1),s=0,n=0;n<this.length;n++)s=(t=-(0|this.words[n])+s)>>26,this.words[n]=67108863&t;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,r){var i=(this.length,e.length),n=this.clone(),t=e,o=0|t.words[t.length-1];(i=26-this._countBits(o))!=0&&(t=t.ushln(i),n.iushln(i),o=0|t.words[t.length-1]);var s,I=n.length-t.length;if(r!=="mod"){(s=new a(null)).length=I+1,s.words=new Array(s.length);for(var P=0;P<s.length;P++)s.words[P]=0}var j=n.clone()._ishlnsubmul(t,1,I);j.negative===0&&(n=j,s&&(s.words[I]=1));for(var A=I-1;A>=0;A--){var N=67108864*(0|n.words[t.length+A])+(0|n.words[t.length+A-1]);for(N=Math.min(N/o|0,67108863),n._ishlnsubmul(t,N,A);n.negative!==0;)N--,n.negative=0,n._ishlnsubmul(t,1,A),n.isZero()||(n.negative^=1);s&&(s.words[A]=N)}return s&&s.strip(),n.strip(),r!=="div"&&i!==0&&n.iushrn(i),{div:s||null,mod:n}},a.prototype.divmod=function(e,r,i){return g(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:this.negative!==0&&e.negative===0?(o=this.neg().divmod(e,r),r!=="mod"&&(n=o.div.neg()),r!=="div"&&(t=o.mod.neg(),i&&t.negative!==0&&t.iadd(e)),{div:n,mod:t}):this.negative===0&&e.negative!==0?(o=this.divmod(e.neg(),r),r!=="mod"&&(n=o.div.neg()),{div:n,mod:o.mod}):this.negative&e.negative?(o=this.neg().divmod(e.neg(),r),r!=="div"&&(t=o.mod.neg(),i&&t.negative!==0&&t.isub(e)),{div:o.div,mod:t}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:e.length===1?r==="div"?{div:this.divn(e.words[0]),mod:null}:r==="mod"?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,r);var n,t,o},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var r=this.divmod(e);if(r.mod.isZero())return r.div;var i=r.div.negative!==0?r.mod.isub(e):r.mod,n=e.ushrn(1),t=e.andln(1),o=i.cmp(n);return o<0||t===1&&o===0?r.div:r.div.negative!==0?r.div.isubn(1):r.div.iaddn(1)},a.prototype.modn=function(e){g(e<=67108863);for(var r=67108864%e,i=0,n=this.length-1;n>=0;n--)i=(r*i+(0|this.words[n]))%e;return i},a.prototype.idivn=function(e){g(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var n=(0|this.words[i])+67108864*r;this.words[i]=n/e|0,r=n%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){g(e.negative===0),g(!e.isZero());var r=this,i=e.clone();r=r.negative!==0?r.umod(e):r.clone();for(var n=new a(1),t=new a(0),o=new a(0),s=new a(1),I=0;r.isEven()&&i.isEven();)r.iushrn(1),i.iushrn(1),++I;for(var P=i.clone(),j=r.clone();!r.isZero();){for(var A=0,N=1;!(r.words[0]&N)&&A<26;++A,N<<=1);if(A>0)for(r.iushrn(A);A-- >0;)(n.isOdd()||t.isOdd())&&(n.iadd(P),t.isub(j)),n.iushrn(1),t.iushrn(1);for(var L=0,z=1;!(i.words[0]&z)&&L<26;++L,z<<=1);if(L>0)for(i.iushrn(L);L-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(P),s.isub(j)),o.iushrn(1),s.iushrn(1);r.cmp(i)>=0?(r.isub(i),n.isub(o),t.isub(s)):(i.isub(r),o.isub(n),s.isub(t))}return{a:o,b:s,gcd:i.iushln(I)}},a.prototype._invmp=function(e){g(e.negative===0),g(!e.isZero());var r=this,i=e.clone();r=r.negative!==0?r.umod(e):r.clone();for(var n,t=new a(1),o=new a(0),s=i.clone();r.cmpn(1)>0&&i.cmpn(1)>0;){for(var I=0,P=1;!(r.words[0]&P)&&I<26;++I,P<<=1);if(I>0)for(r.iushrn(I);I-- >0;)t.isOdd()&&t.iadd(s),t.iushrn(1);for(var j=0,A=1;!(i.words[0]&A)&&j<26;++j,A<<=1);if(j>0)for(i.iushrn(j);j-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);r.cmp(i)>=0?(r.isub(i),t.isub(o)):(i.isub(r),o.isub(t))}return(n=r.cmpn(1)===0?t:o).cmpn(0)<0&&n.iadd(e),n},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var r=this.clone(),i=e.clone();r.negative=0,i.negative=0;for(var n=0;r.isEven()&&i.isEven();n++)r.iushrn(1),i.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;i.isEven();)i.iushrn(1);var t=r.cmp(i);if(t<0){var o=r;r=i,i=o}else if(t===0||i.cmpn(1)===0)break;r.isub(i)}return i.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){g(typeof e=="number");var r=e%26,i=(e-r)/26,n=1<<r;if(this.length<=i)return this._expand(i+1),this.words[i]|=n,this;for(var t=n,o=i;t!==0&&o<this.length;o++){var s=0|this.words[o];t=(s+=t)>>>26,s&=67108863,this.words[o]=s}return t!==0&&(this.words[o]=t,this.length++),this},a.prototype.isZero=function(){return this.length===1&&this.words[0]===0},a.prototype.cmpn=function(e){var r,i=e<0;if(this.negative!==0&&!i)return-1;if(this.negative===0&&i)return 1;if(this.strip(),this.length>1)r=1;else{i&&(e=-e),g(e<=67108863,"Number is too big");var n=0|this.words[0];r=n===e?0:n<e?-1:1}return this.negative!==0?0|-r:r},a.prototype.cmp=function(e){if(this.negative!==0&&e.negative===0)return-1;if(this.negative===0&&e.negative!==0)return 1;var r=this.ucmp(e);return this.negative!==0?0|-r:r},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var r=0,i=this.length-1;i>=0;i--){var n=0|this.words[i],t=0|e.words[i];if(n!==t){n<t?r=-1:n>t&&(r=1);break}}return r},a.prototype.gtn=function(e){return this.cmpn(e)===1},a.prototype.gt=function(e){return this.cmp(e)===1},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return this.cmpn(e)===-1},a.prototype.lt=function(e){return this.cmp(e)===-1},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return this.cmpn(e)===0},a.prototype.eq=function(e){return this.cmp(e)===0},a.red=function(e){return new Z(e)},a.prototype.toRed=function(e){return g(!this.red,"Already a number in reduction context"),g(this.negative===0,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return g(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return g(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function T(e,r){this.name=e,this.p=new a(r,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function C(){T.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function R(){T.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function F(){T.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function X(){T.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function Z(e){if(typeof e=="string"){var r=a._prime(e);this.m=r.p,this.prime=r}else g(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function ne(e){Z.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}T.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},T.prototype.ireduce=function(e){var r,i=e;do this.split(i,this.tmp),r=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength();while(r>this.n);var n=r<this.n?-1:i.ucmp(this.p);return n===0?(i.words[0]=0,i.length=1):n>0?i.isub(this.p):i.strip!==void 0?i.strip():i._strip(),i},T.prototype.split=function(e,r){e.iushrn(this.n,0,r)},T.prototype.imulK=function(e){return e.imul(this.k)},M(C,T),C.prototype.split=function(e,r){for(var i=4194303,n=Math.min(e.length,9),t=0;t<n;t++)r.words[t]=e.words[t];if(r.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(r.words[r.length++]=o&i,t=10;t<e.length;t++){var s=0|e.words[t];e.words[t-10]=(s&i)<<4|o>>>22,o=s}o>>>=22,e.words[t-10]=o,o===0&&e.length>10?e.length-=10:e.length-=9},C.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var r=0,i=0;i<e.length;i++){var n=0|e.words[i];r+=977*n,e.words[i]=67108863&r,r=64*n+(r/67108864|0)}return e.words[e.length-1]===0&&(e.length--,e.words[e.length-1]===0&&e.length--),e},M(R,T),M(F,T),M(X,T),X.prototype.imulK=function(e){for(var r=0,i=0;i<e.length;i++){var n=19*(0|e.words[i])+r,t=67108863&n;n>>>=26,e.words[i]=t,r=n}return r!==0&&(e.words[e.length++]=r),e},a._prime=function(e){if(b[e])return b[e];var r;if(e==="k256")r=new C;else if(e==="p224")r=new R;else if(e==="p192")r=new F;else{if(e!=="p25519")throw new Error("Unknown prime "+e);r=new X}return b[e]=r,r},Z.prototype._verify1=function(e){g(e.negative===0,"red works only with positives"),g(e.red,"red works only with red numbers")},Z.prototype._verify2=function(e,r){g((e.negative|r.negative)==0,"red works only with positives"),g(e.red&&e.red===r.red,"red works only with red numbers")},Z.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},Z.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},Z.prototype.add=function(e,r){this._verify2(e,r);var i=e.add(r);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},Z.prototype.iadd=function(e,r){this._verify2(e,r);var i=e.iadd(r);return i.cmp(this.m)>=0&&i.isub(this.m),i},Z.prototype.sub=function(e,r){this._verify2(e,r);var i=e.sub(r);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},Z.prototype.isub=function(e,r){this._verify2(e,r);var i=e.isub(r);return i.cmpn(0)<0&&i.iadd(this.m),i},Z.prototype.shl=function(e,r){return this._verify1(e),this.imod(e.ushln(r))},Z.prototype.imul=function(e,r){return this._verify2(e,r),this.imod(e.imul(r))},Z.prototype.mul=function(e,r){return this._verify2(e,r),this.imod(e.mul(r))},Z.prototype.isqr=function(e){return this.imul(e,e.clone())},Z.prototype.sqr=function(e){return this.mul(e,e)},Z.prototype.sqrt=function(e){if(e.isZero())return e.clone();var r=this.m.andln(3);if(g(r%2==1),r===3){var i=this.m.add(new a(1)).iushrn(2);return this.pow(e,i)}for(var n=this.m.subn(1),t=0;!n.isZero()&&n.andln(1)===0;)t++,n.iushrn(1);g(!n.isZero());var o=new a(1).toRed(this),s=o.redNeg(),I=this.m.subn(1).iushrn(1),P=this.m.bitLength();for(P=new a(2*P*P).toRed(this);this.pow(P,I).cmp(s)!==0;)P.redIAdd(s);for(var j=this.pow(P,n),A=this.pow(e,n.addn(1).iushrn(1)),N=this.pow(e,n),L=t;N.cmp(o)!==0;){for(var z=N,Y=0;z.cmp(o)!==0;Y++)z=z.redSqr();g(Y<L);var D=this.pow(j,new a(1).iushln(L-Y-1));A=A.redMul(D),j=D.redSqr(),N=N.redMul(j),L=Y}return A},Z.prototype.invm=function(e){var r=e._invmp(this.m);return r.negative!==0?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},Z.prototype.pow=function(e,r){if(r.isZero())return new a(1).toRed(this);if(r.cmpn(1)===0)return e.clone();var i=new Array(16);i[0]=new a(1).toRed(this),i[1]=e;for(var n=2;n<i.length;n++)i[n]=this.mul(i[n-1],e);var t=i[0],o=0,s=0,I=r.bitLength()%26;for(I===0&&(I=26),n=r.length-1;n>=0;n--){for(var P=r.words[n],j=I-1;j>=0;j--){var A=P>>j&1;t!==i[0]&&(t=this.sqr(t)),A!==0||o!==0?(o<<=1,o|=A,(++s==4||n===0&&j===0)&&(t=this.mul(t,i[o]),s=0,o=0)):s=0}I=26}return t},Z.prototype.convertTo=function(e){var r=e.umod(this.m);return r===e?r.clone():r},Z.prototype.convertFrom=function(e){var r=e.clone();return r.red=null,r},a.mont=function(e){return new ne(e)},M(ne,Z),ne.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},ne.prototype.convertFrom=function(e){var r=this.imod(e.mul(this.rinv));return r.red=null,r},ne.prototype.imul=function(e,r){if(e.isZero()||r.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(r),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=i.isub(n).iushrn(this.shift),o=t;return t.cmp(this.m)>=0?o=t.isub(this.m):t.cmpn(0)<0&&(o=t.iadd(this.m)),o._forceRed(this)},ne.prototype.mul=function(e,r){if(e.isZero()||r.isZero())return new a(0)._forceRed(this);var i=e.mul(r),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=i.isub(n).iushrn(this.shift),o=t;return t.cmp(this.m)>=0?o=t.isub(this.m):t.cmpn(0)<0&&(o=t.iadd(this.m)),o._forceRed(this)},ne.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}})(H=x.nmd(H),this)},9282:(H,O,x)=>{var k=x(4155),w=x(5108);function g(j){return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},g(j)}var M,a,d=x(2136).codes,c=d.ERR_AMBIGUOUS_ARGUMENT,l=d.ERR_INVALID_ARG_TYPE,p=d.ERR_INVALID_ARG_VALUE,m=d.ERR_INVALID_RETURN_VALUE,h=d.ERR_MISSING_ARGS,u=x(5961),y=x(9539).inspect,v=x(9539).types,_=v.isPromise,S=v.isRegExp,b=Object.assign?Object.assign:x(8091).assign,T=Object.is?Object.is:x(609);function C(){var j=x(9158);M=j.isDeepEqual,a=j.isDeepStrictEqual}var R=!1,F=H.exports=e,X={};function Z(j){throw j.message instanceof Error?j.message:new u(j)}function ne(j,A,N,L){if(!N){var z=!1;if(A===0)z=!0,L="No value argument passed to `assert.ok()`";else if(L instanceof Error)throw L;var Y=new u({actual:N,expected:!0,message:L,operator:"==",stackStartFn:j});throw Y.generatedMessage=z,Y}}function e(){for(var j=arguments.length,A=new Array(j),N=0;N<j;N++)A[N]=arguments[N];ne.apply(void 0,[e,A.length].concat(A))}F.fail=function j(A,N,L,z,Y){var D,K=arguments.length;if(K===0?D="Failed":K===1?(L=A,A=void 0):(R===!1&&(R=!0,(k.emitWarning?k.emitWarning:w.warn.bind(w))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")),K===2&&(z="!=")),L instanceof Error)throw L;var q={actual:A,expected:N,operator:z===void 0?"fail":z,stackStartFn:Y||j};L!==void 0&&(q.message=L);var U=new u(q);throw D&&(U.message=D,U.generatedMessage=!0),U},F.AssertionError=u,F.ok=e,F.equal=function j(A,N,L){if(arguments.length<2)throw new h("actual","expected");A!=N&&Z({actual:A,expected:N,message:L,operator:"==",stackStartFn:j})},F.notEqual=function j(A,N,L){if(arguments.length<2)throw new h("actual","expected");A==N&&Z({actual:A,expected:N,message:L,operator:"!=",stackStartFn:j})},F.deepEqual=function j(A,N,L){if(arguments.length<2)throw new h("actual","expected");M===void 0&&C(),M(A,N)||Z({actual:A,expected:N,message:L,operator:"deepEqual",stackStartFn:j})},F.notDeepEqual=function j(A,N,L){if(arguments.length<2)throw new h("actual","expected");M===void 0&&C(),M(A,N)&&Z({actual:A,expected:N,message:L,operator:"notDeepEqual",stackStartFn:j})},F.deepStrictEqual=function j(A,N,L){if(arguments.length<2)throw new h("actual","expected");M===void 0&&C(),a(A,N)||Z({actual:A,expected:N,message:L,operator:"deepStrictEqual",stackStartFn:j})},F.notDeepStrictEqual=function j(A,N,L){if(arguments.length<2)throw new h("actual","expected");M===void 0&&C(),a(A,N)&&Z({actual:A,expected:N,message:L,operator:"notDeepStrictEqual",stackStartFn:j})},F.strictEqual=function j(A,N,L){if(arguments.length<2)throw new h("actual","expected");T(A,N)||Z({actual:A,expected:N,message:L,operator:"strictEqual",stackStartFn:j})},F.notStrictEqual=function j(A,N,L){if(arguments.length<2)throw new h("actual","expected");T(A,N)&&Z({actual:A,expected:N,message:L,operator:"notStrictEqual",stackStartFn:j})};var r=function j(A,N,L){var z=this;(function(Y,D){if(!(Y instanceof D))throw new TypeError("Cannot call a class as a function")})(this,j),N.forEach(function(Y){Y in A&&(L!==void 0&&typeof L[Y]=="string"&&S(A[Y])&&A[Y].test(L[Y])?z[Y]=L[Y]:z[Y]=A[Y])})};function i(j,A,N,L){if(typeof A!="function"){if(S(A))return A.test(j);if(arguments.length===2)throw new l("expected",["Function","RegExp"],A);if(g(j)!=="object"||j===null){var z=new u({actual:j,expected:A,message:N,operator:"deepStrictEqual",stackStartFn:L});throw z.operator=L.name,z}var Y=Object.keys(A);if(A instanceof Error)Y.push("name","message");else if(Y.length===0)throw new p("error",A,"may not be an empty object");return M===void 0&&C(),Y.forEach(function(D){typeof j[D]=="string"&&S(A[D])&&A[D].test(j[D])||function(K,q,U,te,J,ae){if(!(U in K)||!a(K[U],q[U])){if(!te){var xe=new r(K,J),ce=new r(q,J,K),fe=new u({actual:xe,expected:ce,operator:"deepStrictEqual",stackStartFn:ae});throw fe.actual=K,fe.expected=q,fe.operator=ae.name,fe}Z({actual:K,expected:q,message:te,operator:ae.name,stackStartFn:ae})}}(j,A,D,N,Y,L)}),!0}return A.prototype!==void 0&&j instanceof A||!Error.isPrototypeOf(A)&&A.call({},j)===!0}function n(j){if(typeof j!="function")throw new l("fn","Function",j);try{j()}catch(A){return A}return X}function t(j){return _(j)||j!==null&&g(j)==="object"&&typeof j.then=="function"&&typeof j.catch=="function"}function o(j){return Promise.resolve().then(function(){var A;if(typeof j=="function"){if(!t(A=j()))throw new m("instance of Promise","promiseFn",A)}else{if(!t(j))throw new l("promiseFn",["Function","Promise"],j);A=j}return Promise.resolve().then(function(){return A}).then(function(){return X}).catch(function(N){return N})})}function s(j,A,N,L){if(typeof N=="string"){if(arguments.length===4)throw new l("error",["Object","Error","Function","RegExp"],N);if(g(A)==="object"&&A!==null){if(A.message===N)throw new c("error/message",'The error message "'.concat(A.message,'" is identical to the message.'))}else if(A===N)throw new c("error/message",'The error "'.concat(A,'" is identical to the message.'));L=N,N=void 0}else if(N!=null&&g(N)!=="object"&&typeof N!="function")throw new l("error",["Object","Error","Function","RegExp"],N);if(A===X){var z="";N&&N.name&&(z+=" (".concat(N.name,")")),z+=L?": ".concat(L):".";var Y=j.name==="rejects"?"rejection":"exception";Z({actual:void 0,expected:N,operator:j.name,message:"Missing expected ".concat(Y).concat(z),stackStartFn:j})}if(N&&!i(A,N,L,j))throw A}function I(j,A,N,L){if(A!==X){if(typeof N=="string"&&(L=N,N=void 0),!N||i(A,N)){var z=L?": ".concat(L):".",Y=j.name==="doesNotReject"?"rejection":"exception";Z({actual:A,expected:N,operator:j.name,message:"Got unwanted ".concat(Y).concat(z,`
3
3
  `)+'Actual message: "'.concat(A&&A.message,'"'),stackStartFn:j})}throw A}}function P(){for(var j=arguments.length,A=new Array(j),N=0;N<j;N++)A[N]=arguments[N];ne.apply(void 0,[P,A.length].concat(A))}F.throws=function j(A){for(var N=arguments.length,L=new Array(N>1?N-1:0),z=1;z<N;z++)L[z-1]=arguments[z];s.apply(void 0,[j,n(A)].concat(L))},F.rejects=function j(A){for(var N=arguments.length,L=new Array(N>1?N-1:0),z=1;z<N;z++)L[z-1]=arguments[z];return o(A).then(function(Y){return s.apply(void 0,[j,Y].concat(L))})},F.doesNotThrow=function j(A){for(var N=arguments.length,L=new Array(N>1?N-1:0),z=1;z<N;z++)L[z-1]=arguments[z];I.apply(void 0,[j,n(A)].concat(L))},F.doesNotReject=function j(A){for(var N=arguments.length,L=new Array(N>1?N-1:0),z=1;z<N;z++)L[z-1]=arguments[z];return o(A).then(function(Y){return I.apply(void 0,[j,Y].concat(L))})},F.ifError=function j(A){if(A!=null){var N="ifError got unwanted exception: ";g(A)==="object"&&typeof A.message=="string"?A.message.length===0&&A.constructor?N+=A.constructor.name:N+=A.message:N+=y(A);var L=new u({actual:A,expected:null,operator:"ifError",message:N,stackStartFn:j}),z=A.stack;if(typeof z=="string"){var Y=z.split(`
4
4
  `);Y.shift();for(var D=L.stack.split(`
@@ -117,4 +117,4 @@ Actual: `+q.attribValue);else{var ae=q.tag,xe=q.tags[q.tags.length-1]||q;ae.ns==
117
117
  Source:
118
118
  `+_t);let[,Wt]=gt;return Wt.replace(/\s/g,"").split(Y).map(Xt=>Xt.replace(D,"").trim())}(ze),ze.length===0&&!Je&&We.length===0)throw new Error("autoInject task functions require explicit parameters.");Je||We.pop(),me[Ae]=We.concat(ct)}function ct(xt,_t){var gt=We.map(Wt=>xt[Wt]);gt.push(_t),_(ze)(...gt)}}),N(me,le)}class q{constructor(){this.head=this.tail=null,this.length=0}removeLink(le){return le.prev?le.prev.next=le.next:this.head=le.next,le.next?le.next.prev=le.prev:this.tail=le.prev,le.prev=le.next=null,this.length-=1,le}empty(){for(;this.head;)this.shift();return this}insertAfter(le,me){me.prev=le,me.next=le.next,le.next?le.next.prev=me:this.tail=me,le.next=me,this.length+=1}insertBefore(le,me){me.prev=le.prev,me.next=le,le.prev?le.prev.next=me:this.head=me,le.prev=me,this.length+=1}unshift(le){this.head?this.insertBefore(this.head,le):U(this,le)}push(le){this.tail?this.insertAfter(this.tail,le):U(this,le)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var le=this.head;le;)yield le.data,le=le.next}remove(le){for(var me=this.head;me;){var{next:Ae}=me;le(me)&&this.removeLink(me),me=Ae}return this}}function U(ve,le){ve.length=1,ve.head=ve.tail=le}function te(ve,le,me){if(le==null)le=1;else if(le===0)throw new RangeError("Concurrency must not be zero");var Ae=_(ve),We=0,ze=[];const Je={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function it(bt,dt){return bt?dt?void(Je[bt]=Je[bt].filter(Ot=>Ot!==dt)):Je[bt]=[]:Object.keys(Je).forEach(Ot=>Je[Ot]=[])}function ct(bt,...dt){Je[bt].forEach(Ot=>Ot(...dt))}var xt=!1;function _t(bt,dt,Ot,dn){if(dn!=null&&typeof dn!="function")throw new Error("task callback must be a function");var En,Sn;function bn(qn,...fi){return qn?Ot?Sn(qn):En():fi.length<=1?En(fi[0]):void En(fi)}yt.started=!0;var ci=yt._createTaskItem(bt,Ot?bn:dn||bn);if(dt?yt._tasks.unshift(ci):yt._tasks.push(ci),xt||(xt=!0,m(()=>{xt=!1,yt.process()})),Ot||!dn)return new Promise((qn,fi)=>{En=qn,Sn=fi})}function gt(bt){return function(dt,...Ot){We-=1;for(var dn=0,En=bt.length;dn<En;dn++){var Sn=bt[dn],bn=ze.indexOf(Sn);bn===0?ze.shift():bn>0&&ze.splice(bn,1),Sn.callback(dt,...Ot),dt!=null&&ct("error",dt,Sn.data)}We<=yt.concurrency-yt.buffer&&ct("unsaturated"),yt.idle()&&ct("drain"),yt.process()}}function Wt(bt){return!(bt.length!==0||!yt.idle()||(m(()=>ct("drain")),0))}const Xt=bt=>dt=>{if(!dt)return new Promise((Ot,dn)=>{(function(En,Sn){const bn=(...ci)=>{it(En,bn),((qn,fi)=>{if(qn)return dn(qn);Ot(fi)})(...ci)};Je[En].push(bn)})(bt)});it(bt),function(Ot,dn){Je[Ot].push(dn)}(bt,dt)};var Ln=!1,yt={_tasks:new q,_createTaskItem:(bt,dt)=>({data:bt,callback:dt}),*[Symbol.iterator](){yield*Wu(yt._tasks[Symbol.iterator]())},concurrency:le,payload:me,buffer:le/4,started:!1,paused:!1,push(bt,dt){return Array.isArray(bt)?Wt(bt)?void 0:bt.map(Ot=>_t(Ot,!1,!1,dt)):_t(bt,!1,!1,dt)},pushAsync(bt,dt){return Array.isArray(bt)?Wt(bt)?void 0:bt.map(Ot=>_t(Ot,!1,!0,dt)):_t(bt,!1,!0,dt)},kill(){it(),yt._tasks.empty()},unshift(bt,dt){return Array.isArray(bt)?Wt(bt)?void 0:bt.map(Ot=>_t(Ot,!0,!1,dt)):_t(bt,!0,!1,dt)},unshiftAsync(bt,dt){return Array.isArray(bt)?Wt(bt)?void 0:bt.map(Ot=>_t(Ot,!0,!0,dt)):_t(bt,!0,!0,dt)},remove(bt){yt._tasks.remove(bt)},process(){if(!Ln){for(Ln=!0;!yt.paused&&We<yt.concurrency&&yt._tasks.length;){var bt=[],dt=[],Ot=yt._tasks.length;yt.payload&&(Ot=Math.min(Ot,yt.payload));for(var dn=0;dn<Ot;dn++){var En=yt._tasks.shift();bt.push(En),ze.push(En),dt.push(En.data)}We+=1,yt._tasks.length===0&&ct("empty"),We===yt.concurrency&&ct("saturated");var Sn=X(gt(bt));Ae(dt,Sn)}Ln=!1}},length:()=>yt._tasks.length,running:()=>We,workersList:()=>ze,idle:()=>yt._tasks.length+We===0,pause(){yt.paused=!0},resume(){yt.paused!==!1&&(yt.paused=!1,m(yt.process))}};return Object.defineProperties(yt,{saturated:{writable:!1,value:Xt("saturated")},unsaturated:{writable:!1,value:Xt("unsaturated")},empty:{writable:!1,value:Xt("empty")},drain:{writable:!1,value:Xt("drain")},error:{writable:!1,value:Xt("error")}}),yt}function J(ve,le){return te(ve,1,le)}function ae(ve,le,me){return te(ve,le,me)}var xe=S(function(ve,le,me,Ae){Ae=F(Ae);var We=_(me);return s(ve,(ze,Je,it)=>{We(le,ze,(ct,xt)=>{le=xt,it(ct)})},ze=>Ae(ze,le))},4);function ce(...ve){var le=ve.map(_);return function(...me){var Ae=this,We=me[me.length-1];return typeof We=="function"?me.pop():We=A(),xe(le,me,(ze,Je,it)=>{Je.apply(Ae,ze.concat((ct,...xt)=>{it(ct,xt)}))},(ze,Je)=>We(ze,...Je)),We[j]}}function fe(...ve){return ce(...ve.reverse())}var Te=S(function(ve,le,me,Ae){return T(ne(le),ve,me,Ae)},4),ye=S(function(ve,le,me,Ae){var We=_(me);return Te(ve,le,(ze,Je)=>{We(ze,(it,...ct)=>it?Je(it):Je(it,ct))},(ze,Je)=>{for(var it=[],ct=0;ct<Je.length;ct++)Je[ct]&&(it=it.concat(...Je[ct]));return Ae(ze,it)})},4),Ee=S(function(ve,le,me){return ye(ve,1/0,le,me)},3),V=S(function(ve,le,me){return ye(ve,1,le,me)},3);function W(...ve){return function(...le){return le.pop()(null,...ve)}}function Q(ve,le){return(me,Ae,We,ze)=>{var Je,it=!1;const ct=_(We);me(Ae,(xt,_t,gt)=>{ct(xt,(Wt,Xt)=>Wt||Wt===!1?gt(Wt):ve(Xt)&&!Je?(it=!0,Je=le(!0,xt),gt(null,R)):void gt())},xt=>{if(xt)return ze(xt);ze(null,it?Je:le(!1))})}}var ge=S(function(ve,le,me){return Q(Ae=>Ae,(Ae,We)=>We)(n,ve,le,me)},3),oe=S(function(ve,le,me,Ae){return Q(We=>We,(We,ze)=>ze)(ne(le),ve,me,Ae)},4),ue=S(function(ve,le,me){return Q(Ae=>Ae,(Ae,We)=>We)(ne(1),ve,le,me)},3);function Ne(ve){return(le,...me)=>_(le)(...me,(Ae,...We)=>{typeof w=="object"&&(Ae?w.error&&w.error(Ae):w[ve]&&We.forEach(ze=>w[ve](ze)))})}var we=Ne("dir"),Me=S(function(ve,le,me){me=X(me);var Ae,We=_(ve),ze=_(le);function Je(ct,...xt){if(ct)return me(ct);ct!==!1&&(Ae=xt,ze(...xt,it))}function it(ct,xt){return ct?me(ct):ct!==!1?xt?void We(Je):me(null,...Ae):void 0}return it(null,!0)},3);function pt(ve,le,me){const Ae=_(le);return Me(ve,(...We)=>{const ze=We.pop();Ae(...We,(Je,it)=>ze(Je,!it))},me)}function ke(ve){return(le,me,Ae)=>ve(le,Ae)}var je=S(function(ve,le,me){return n(ve,ke(_(le)),me)},3),Et=S(function(ve,le,me,Ae){return ne(le)(ve,ke(_(me)),Ae)},4),Ie=S(function(ve,le,me){return Et(ve,1,le,me)},3);function Xe(ve){return v(ve)?ve:function(...le){var me=le.pop(),Ae=!0;le.push((...We)=>{Ae?m(()=>me(...We)):me(...We)}),ve.apply(this,le),Ae=!1}}var Ct=S(function(ve,le,me){return Q(Ae=>!Ae,Ae=>!Ae)(n,ve,le,me)},3),De=S(function(ve,le,me,Ae){return Q(We=>!We,We=>!We)(ne(le),ve,me,Ae)},4),Ke=S(function(ve,le,me){return Q(Ae=>!Ae,Ae=>!Ae)(s,ve,le,me)},3);function Nt(ve,le,me,Ae){var We=new Array(le.length);ve(le,(ze,Je,it)=>{me(ze,(ct,xt)=>{We[Je]=!!xt,it(ct)})},ze=>{if(ze)return Ae(ze);for(var Je=[],it=0;it<le.length;it++)We[it]&&Je.push(le[it]);Ae(null,Je)})}function Pe(ve,le,me,Ae){var We=[];ve(le,(ze,Je,it)=>{me(ze,(ct,xt)=>{if(ct)return it(ct);xt&&We.push({index:Je,value:ze}),it(ct)})},ze=>{if(ze)return Ae(ze);Ae(null,We.sort((Je,it)=>Je.index-it.index).map(Je=>Je.value))})}function He(ve,le,me,Ae){return(C(le)?Nt:Pe)(ve,le,_(me),Ae)}var vt=S(function(ve,le,me){return He(n,ve,le,me)},3),Ce=S(function(ve,le,me,Ae){return He(ne(le),ve,me,Ae)},4),Ze=S(function(ve,le,me){return He(s,ve,le,me)},3),St=S(function(ve,le){var me=X(le),Ae=_(Xe(ve));return function We(ze){if(ze)return me(ze);ze!==!1&&Ae(We)}()},2),Re=S(function(ve,le,me,Ae){var We=_(me);return Te(ve,le,(ze,Je)=>{We(ze,(it,ct)=>it?Je(it):Je(it,{key:ct,val:ze}))},(ze,Je)=>{for(var it={},{hasOwnProperty:ct}=Object.prototype,xt=0;xt<Je.length;xt++)if(Je[xt]){var{key:_t}=Je[xt],{val:gt}=Je[xt];ct.call(it,_t)?it[_t].push(gt):it[_t]=[gt]}return Ae(ze,it)})},4);function Ge(ve,le,me){return Re(ve,1/0,le,me)}function It(ve,le,me){return Re(ve,1,le,me)}var qe=Ne("log"),Ye=S(function(ve,le,me,Ae){Ae=F(Ae);var We={},ze=_(me);return ne(le)(ve,(Je,it,ct)=>{ze(Je,it,(xt,_t)=>{if(xt)return ct(xt);We[it]=_t,ct(xt)})},Je=>Ae(Je,We))},4);function Dt(ve,le,me){return Ye(ve,1/0,le,me)}function Le(ve,le,me){return Ye(ve,1,le,me)}function et(ve,le=me=>me){var me=Object.create(null),Ae=Object.create(null),We=_(ve),ze=M((Je,it)=>{var ct=le(...Je);ct in me?m(()=>it(null,...me[ct])):ct in Ae?Ae[ct].push(it):(Ae[ct]=[it],We(...Je,(xt,..._t)=>{xt||(me[ct]=_t);var gt=Ae[ct];delete Ae[ct];for(var Wt=0,Xt=gt.length;Wt<Xt;Wt++)gt[Wt](xt,..._t)}))});return ze.memo=me,ze.unmemoized=ve,ze}var $t=p(c?k.nextTick:d?setImmediate:l),Fe=S((ve,le,me)=>{var Ae=C(le)?[]:{};ve(le,(We,ze,Je)=>{_(We)((it,...ct)=>{ct.length<2&&([ct]=ct),Ae[ze]=ct,Je(it)})},We=>me(We,Ae))},3);function Qe(ve,le){return Fe(n,ve,le)}function Ut(ve,le,me){return Fe(ne(le),ve,me)}function $e(ve,le){var me=_(ve);return te((Ae,We)=>{me(Ae[0],We)},le,1)}class nt{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(le){let me;for(;le>0&&Ue(this.heap[le],this.heap[me=zt(le)]);){let Ae=this.heap[le];this.heap[le]=this.heap[me],this.heap[me]=Ae,le=me}}percDown(le){let me;for(;(me=1+(le<<1))<this.heap.length&&(me+1<this.heap.length&&Ue(this.heap[me+1],this.heap[me])&&(me+=1),!Ue(this.heap[le],this.heap[me]));){let Ae=this.heap[le];this.heap[le]=this.heap[me],this.heap[me]=Ae,le=me}}push(le){le.pushCount=++this.pushCount,this.heap.push(le),this.percUp(this.heap.length-1)}unshift(le){return this.heap.push(le)}shift(){let[le]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),le}toArray(){return[...this]}*[Symbol.iterator](){for(let le=0;le<this.heap.length;le++)yield this.heap[le].data}remove(le){let me=0;for(let Ae=0;Ae<this.heap.length;Ae++)le(this.heap[Ae])||(this.heap[me]=this.heap[Ae],me++);this.heap.splice(me);for(let Ae=zt(this.heap.length-1);Ae>=0;Ae--)this.percDown(Ae);return this}}function zt(ve){return(ve+1>>1)-1}function Ue(ve,le){return ve.priority!==le.priority?ve.priority<le.priority:ve.pushCount<le.pushCount}function tt(ve,le){var me=$e(ve,le),{push:Ae,pushAsync:We}=me;function ze(Je,it){return Array.isArray(Je)?Je.map(ct=>({data:ct,priority:it})):{data:Je,priority:it}}return me._tasks=new nt,me._createTaskItem=({data:Je,priority:it},ct)=>({data:Je,priority:it,callback:ct}),me.push=function(Je,it=0,ct){return Ae(ze(Je,it),ct)},me.pushAsync=function(Je,it=0,ct){return We(ze(Je,it),ct)},delete me.unshift,delete me.unshiftAsync,me}var Tt=S(function(ve,le){if(le=F(le),!Array.isArray(ve))return le(new TypeError("First argument to race must be an array of functions"));if(!ve.length)return le();for(var me=0,Ae=ve.length;me<Ae;me++)_(ve[me])(le)},2);function Rt(ve,le,me,Ae){var We=[...ve].reverse();return xe(We,le,me,Ae)}function Zt(ve){var le=_(ve);return M(function(me,Ae){return me.push((We,...ze)=>{let Je={};if(We&&(Je.error=We),ze.length>0){var it=ze;ze.length<=1&&([it]=ze),Je.value=it}Ae(null,Je)}),le.apply(this,me)})}function on(ve){var le;return Array.isArray(ve)?le=ve.map(Zt):(le={},Object.keys(ve).forEach(me=>{le[me]=Zt.call(this,ve[me])})),le}function tn(ve,le,me,Ae){const We=_(me);return He(ve,le,(ze,Je)=>{We(ze,(it,ct)=>{Je(it,!ct)})},Ae)}var an=S(function(ve,le,me){return tn(n,ve,le,me)},3),sn=S(function(ve,le,me,Ae){return tn(ne(le),ve,me,Ae)},4),un=S(function(ve,le,me){return tn(s,ve,le,me)},3);function cn(ve){return function(){return ve}}const ln=5,hn=0;function Gt(ve,le,me){var Ae={times:ln,intervalFunc:cn(hn)};if(arguments.length<3&&typeof ve=="function"?(me=le||A(),le=ve):(function(Je,it){if(typeof it=="object")Je.times=+it.times||ln,Je.intervalFunc=typeof it.interval=="function"?it.interval:cn(+it.interval||hn),Je.errorFilter=it.errorFilter;else{if(typeof it!="number"&&typeof it!="string")throw new Error("Invalid arguments for async.retry");Je.times=+it||ln}}(Ae,ve),me=me||A()),typeof le!="function")throw new Error("Invalid arguments for async.retry");var We=_(le),ze=1;return function Je(){We((it,...ct)=>{it!==!1&&(it&&ze++<Ae.times&&(typeof Ae.errorFilter!="function"||Ae.errorFilter(it))?setTimeout(Je,Ae.intervalFunc(ze-1)):me(it,...ct))})}(),me[j]}function pn(ve,le){le||(le=ve,ve=null);let me=ve&&ve.arity||le.length;v(le)&&(me+=1);var Ae=_(le);return M((We,ze)=>{function Je(it){Ae(...We,it)}return(We.length<me-1||ze==null)&&(We.push(ze),ze=A()),ve?Gt(ve,Je,ze):Gt(Je,ze),ze[j]})}function mn(ve,le){return Fe(s,ve,le)}var Qt=S(function(ve,le,me){return Q(Boolean,Ae=>Ae)(n,ve,le,me)},3),en=S(function(ve,le,me,Ae){return Q(Boolean,We=>We)(ne(le),ve,me,Ae)},4),Yt=S(function(ve,le,me){return Q(Boolean,Ae=>Ae)(s,ve,le,me)},3),fn=S(function(ve,le,me){var Ae=_(le);return t(ve,(ze,Je)=>{Ae(ze,(it,ct)=>{if(it)return Je(it);Je(it,{value:ze,criteria:ct})})},(ze,Je)=>{if(ze)return me(ze);me(null,Je.sort(We).map(it=>it.value))});function We(ze,Je){var it=ze.criteria,ct=Je.criteria;return it<ct?-1:it>ct?1:0}},3);function nn(ve,le,me){var Ae=_(ve);return M((We,ze)=>{var Je,it=!1;We.push((...ct)=>{it||(ze(...ct),clearTimeout(Je))}),Je=setTimeout(function(){var ct=ve.name||"anonymous",xt=new Error('Callback function "'+ct+'" timed out.');xt.code="ETIMEDOUT",me&&(xt.info=me),it=!0,ze(xt)},le),Ae(...We)})}function ei(ve,le,me,Ae){var We=_(me);return Te(function(ze){for(var Je=Array(ze);ze--;)Je[ze]=ze;return Je}(ve),le,We,Ae)}function Zn(ve,le,me){return ei(ve,1/0,le,me)}function pr(ve,le,me){return ei(ve,1,le,me)}function fr(ve,le,me,Ae){arguments.length<=3&&typeof le=="function"&&(Ae=me,me=le,le=Array.isArray(ve)?[]:{}),Ae=F(Ae||A());var We=_(me);return n(ve,(ze,Je,it)=>{We(le,ze,Je,it)},ze=>Ae(ze,le)),Ae[j]}var Nr=S(function(ve,le){var me,Ae=null;return Ie(ve,(We,ze)=>{_(We)((Je,...it)=>{if(Je===!1)return ze(Je);it.length<2?[me]=it:me=it,Ae=Je,ze(Je?null:{})})},()=>le(Ae,me))});function dr(ve){return(...le)=>(ve.unmemoized||ve)(...le)}var Ti=S(function(ve,le,me){me=X(me);var Ae=_(le),We=_(ve),ze=[];function Je(ct,...xt){if(ct)return me(ct);ze=xt,ct!==!1&&We(it)}function it(ct,xt){return ct?me(ct):ct!==!1?xt?void Ae(Je):me(null,...ze):void 0}return We(it)},3);function mr(ve,le,me){const Ae=_(ve);return Ti(We=>Ae((ze,Je)=>We(ze,!Je)),le,me)}var gr=S(function(ve,le){if(le=F(le),!Array.isArray(ve))return le(new Error("First argument to waterfall must be an array of functions"));if(!ve.length)return le();var me=0;function Ae(ze){_(ve[me++])(...ze,X(We))}function We(ze,...Je){if(ze!==!1)return ze||me===ve.length?le(ze,...Je):void Ae(Je)}Ae([])});const Rr={apply:g,applyEach:o,applyEachSeries:P,asyncify:h,auto:N,autoInject:K,cargo:J,cargoQueue:ae,compose:fe,concat:Ee,concatLimit:ye,concatSeries:V,constant:W,detect:ge,detectLimit:oe,detectSeries:ue,dir:we,doUntil:pt,doWhilst:Me,each:je,eachLimit:Et,eachOf:n,eachOfLimit:e,eachOfSeries:s,eachSeries:Ie,ensureAsync:Xe,every:Ct,everyLimit:De,everySeries:Ke,filter:vt,filterLimit:Ce,filterSeries:Ze,forever:St,groupBy:Ge,groupByLimit:Re,groupBySeries:It,log:qe,map:t,mapLimit:Te,mapSeries:I,mapValues:Dt,mapValuesLimit:Ye,mapValuesSeries:Le,memoize:et,nextTick:$t,parallel:Qe,parallelLimit:Ut,priorityQueue:tt,queue:$e,race:Tt,reduce:xe,reduceRight:Rt,reflect:Zt,reflectAll:on,reject:an,rejectLimit:sn,rejectSeries:un,retry:Gt,retryable:pn,seq:ce,series:mn,setImmediate:m,some:Qt,someLimit:en,someSeries:Yt,sortBy:fn,timeout:nn,times:Zn,timesLimit:ei,timesSeries:pr,transform:fr,tryEach:Nr,unmemoize:dr,until:mr,waterfall:gr,whilst:Ti,all:Ct,allLimit:De,allSeries:Ke,any:Qt,anyLimit:en,anySeries:Yt,find:ge,findLimit:oe,findSeries:ue,flatMap:Ee,flatMapLimit:ye,flatMapSeries:V,forEach:je,forEachSeries:Ie,forEachLimit:Et,forEachOf:n,forEachOfSeries:s,forEachOfLimit:e,inject:xe,foldl:xe,foldr:Rt,select:vt,selectLimit:Ce,selectSeries:Ze,wrapSync:h,during:Ti,doDuring:Me}},4946:H=>{H.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},5207:H=>{H.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},1308:H=>{H.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},9799:H=>{H.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},8597:H=>{H.exports={i8:"6.5.4"}},3765:H=>{H.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"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":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"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":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"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":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"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":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"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":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"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":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"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":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"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":true},"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":false,"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":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"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":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"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":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"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":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"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":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"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":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"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":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"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":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"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":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"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":false,"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":true,"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":true},"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":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"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":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"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":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"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":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"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":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"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":true,"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":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"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":true},"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":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"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":true,"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":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"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":true},"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":true},"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":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"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":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"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":false},"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":false},"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":false},"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":true},"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":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"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":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"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":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"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":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"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":false},"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":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"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":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"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":true},"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":true},"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":true,"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":false,"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":true,"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":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"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":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"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":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"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":false,"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":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"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":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"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":true},"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":false,"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":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"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":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"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":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"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":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"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":true},"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":true},"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":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"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":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"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":true,"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":true},"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":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"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":true},"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":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"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":true,"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":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"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":true,"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":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"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":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"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":true,"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":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"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":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"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":true},"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":true,"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":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"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":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"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":false,"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":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"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":false},"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":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"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":true,"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":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"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":false},"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":true,"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":false,"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":false,"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":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"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":true,"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":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"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":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"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":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"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":false,"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":false,"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":false},"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":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"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":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"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":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"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":false,"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":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"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":false},"image/png":{"source":"iana","compressible":false,"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":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"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":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"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":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"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":false},"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":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"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":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"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":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"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":true},"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":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"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":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"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":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"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":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"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":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"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":true,"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":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"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":true,"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":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"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":true,"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":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"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":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"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":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"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":false,"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":true},"x-shader/x-vertex":{"compressible":true}}')},5454:H=>{H.exports=JSON.parse('{"name":"minio","version":"7.0.32","description":"S3 Compatible Cloud Storage client","main":"./dist/main/minio.js","scripts":{"compile":"gulp compile","test":"gulp test","lint":"gulp lint","lint-fix":"gulp lint --fix","prepublishOnly":"gulp test","functional":"gulp functionalTest","browserify":"gulp browserify","prepare":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/minio/minio-js.git"},"author":{"name":"MinIO, Inc.","email":"","url":"https://min.io"},"engines":{"node":">8 <=18"},"license":"Apache-2.0","bugs":{"url":"https://github.com/minio/minio-js/issues","mail":""},"homepage":"https://github.com/minio/minio-js#readme","dependencies":{"async":"^3.1.0","block-stream2":"^2.0.0","browser-or-node":"^1.3.0","buffer-crc32":"^0.2.13","crypto-browserify":"^3.12.0","es6-error":"^4.1.1","fast-xml-parser":"^3.17.5","ipaddr.js":"^2.0.1","json-stream":"^1.0.0","lodash":"^4.17.21","mime-types":"^2.1.14","mkdirp":"^0.5.1","query-string":"^7.1.1","through2":"^3.0.1","web-encoding":"^1.1.5","xml":"^1.0.0","xml2js":"^0.4.15"},"devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.10","babelify":"^10.0.0","browserify":"^16.5.2","chai":"^4.2.0","eslint":"^8.9.0","gulp":"^4.0.2","gulp-babel":"^8.0.0","gulp-eslint":"^4.0.2","gulp-if":"^3.0.0","gulp-mocha":"^8.0.0","gulp-sourcemaps":"^2.6.5","mocha":"^9.2.0","mocha-steps":"^1.1.0","nock":"^13.2.2","source-map-support":"^0.5.13","split-file":"^2.2.2","superagent":"^5.1.0","uuid":"^3.3.2"},"keywords":["api","amazon","minio","cloud","s3","storage"]}')},2562:H=>{H.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},he={};function _e(H){var O=he[H];if(O!==void 0)return O.exports;var x=he[H]={id:H,loaded:!1,exports:{}};return G[H].call(x.exports,x,x.exports,_e),x.loaded=!0,x.exports}_e.d=(H,O)=>{for(var x in O)_e.o(O,x)&&!_e.o(H,x)&&Object.defineProperty(H,x,{enumerable:!0,get:O[x]})},_e.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(H){if(typeof window=="object")return window}}(),_e.o=(H,O)=>Object.prototype.hasOwnProperty.call(H,O),_e.r=H=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(H,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(H,"__esModule",{value:!0})},_e.nmd=H=>(H.paths=[],H.children||(H.children=[]),H);var Oe={};return(()=>{_e.r(Oe),_e.d(Oe,{Minio:()=>O,initMinio:()=>k,putObjectBuffer:()=>w});var H=_e(8764).Buffer;const O=_e(2525);let x=null;function k(g){if(!g)throw new Error("Minio的配置不能为空");x=g;const M=(g.endPoint||"").split(":");M[0]&&(x.endPoint=M[0]),M[1]&&(x.port=Number(M[1]))}function w(g,M,a,d,c){if(!x)throw new Error("请先初始化Minio");let l=H.from(a);new(_e(2525)).Client(x).putObject(g,M,l,d,c)}})(),Oe})())})(nc);var Fi=nc.exports,ic=(de=>(de[de.None=0]="None",de[de.SourceFile=1]="SourceFile",de[de.WebLink=2]="WebLink",de))(ic||{}),rc=(de=>(de.Unprotected="不受著作权保护",de.ProtectAuthorize="受著作权保护,已获得授权",de.ProtectUnauthorize="受著作权保护,未获得授权",de))(rc||{}),hr=(de=>(de[de.Robot=1]="Robot",de[de.User=2]="User",de[de.System=3]="System",de))(hr||{}),oc=(de=>(de.Start="start",de.End="end",de))(oc||{}),$i=(de=>(de[de.Processing=1]="Processing",de[de.Success=2]="Success",de[de.Failed=3]="Failed",de))($i||{}),ac=(de=>(de.AECPILOT="aecpilot",de))(ac||{});function $h(de,B){return re(this,null,function*(){const G=de.getReader();let he;for(;!(he=yield G.read()).done;)B(he.value)})}function Uh(de){let B,G,he,_e=!1,Oe;return function(O){B===void 0?(B=O,G=0,he=-1,Oe=!1):B=Vh(B,O);const x=B.length;let k=0;for(;G<x;){_e&&(B[G]===10&&(k=++G),_e=!1);let w=-1;for(;G<x&&w===-1;++G)switch(B[G]){case 58:he===-1&&(he=G-k);break;case 13:_e=!1,G+4<x&&B[G+1]===10&&B[G+2]!==13&&B[G-1]!==10&&B[G-2]!==13&&(Oe=!0);case 10:w=G;break}if(w===-1)break;de(B.subarray(k,w),he,Oe),k=G,he=-1,Oe=!1}k===x?B=void 0:k!==0&&(B=B.subarray(k),G-=k)}}function zh(de,B,G){let he=Zu();const _e=new TextDecoder;return function(H,O,x){if(H.length===0)G==null||G(he),he=Zu();else if(O>0){const k=_e.decode(H.subarray(0,O)),w=O+(H[O+1]===32?2:1);let g=_e.decode(H.subarray(w));switch(x&&(g+=`
119
119
  `),k){case"data":he.data=he.data?he.data+`
120
- `+g:g;break;case"event":he.event=g;break;case"id":de(he.id=g);break;case"retry":const M=parseInt(g,10);isNaN(M)||B(he.retry=M);break}}}}function Vh(de,B){const G=new Uint8Array(de.length+B.length);return G.set(de),G.set(B,de.length),G}function Zu(){return{data:"",event:"",id:"",retry:void 0}}const qa="text/event-stream",Kh=1e3,Gu="last-event-id";function Io(de,w){var g=w,{signal:B,headers:G,onopen:he,onmessage:_e,onclose:Oe,onerror:H,openWhenHidden:O,fetch:x}=g,k=Hu(g,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((M,a)=>{const d=Wn({},G);d.accept||(d.accept=qa);let c;function l(){c.abort(),document.hidden||v()}O||document.addEventListener("visibilitychange",l);let p=Kh,m=0;function h(){document.removeEventListener("visibilitychange",l),window.clearTimeout(m),c.abort()}B==null||B.addEventListener("abort",()=>{h(),M()});const u=x!=null?x:window.fetch,y=he!=null?he:Hh;function v(){return re(this,null,function*(){var _;c=new AbortController;try{const S=yield u(de,bi(Wn({},k),{headers:d,signal:c.signal}));yield y(S),yield $h(S.body,Uh(zh(b=>{b?d[Gu]=b:delete d[Gu]},b=>{p=b},_e))),Oe==null||Oe(),h(),M()}catch(S){if(!c.signal.aborted)try{const b=(_=H==null?void 0:H(S))!=null?_:p;window.clearTimeout(m),m=window.setTimeout(v,b)}catch(b){h(),a(b)}}})}v()})}function Hh(de){const B=de.headers.get("content-type");if(!(B!=null&&B.startsWith(qa)))throw new Error(`Expected content-type to be ${qa}, Actual: ${B}`)}let Ao;const Wh=new Uint8Array(16);function Zh(){if(!Ao&&(Ao=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ao))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ao(Wh)}const Pn=[];for(let de=0;de<256;++de)Pn.push((de+256).toString(16).slice(1));function Gh(de,B=0){return Pn[de[B+0]]+Pn[de[B+1]]+Pn[de[B+2]]+Pn[de[B+3]]+"-"+Pn[de[B+4]]+Pn[de[B+5]]+"-"+Pn[de[B+6]]+Pn[de[B+7]]+"-"+Pn[de[B+8]]+Pn[de[B+9]]+"-"+Pn[de[B+10]]+Pn[de[B+11]]+Pn[de[B+12]]+Pn[de[B+13]]+Pn[de[B+14]]+Pn[de[B+15]]}const Xh=typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Xu={randomUUID:Xh};function To(de,B,G){if(Xu.randomUUID&&!B&&!de)return Xu.randomUUID();de=de||{};const he=de.random||(de.rng||Zh)();if(he[6]=he[6]&15|64,he[8]=he[8]&63|128,B){G=G||0;for(let _e=0;_e<16;++_e)B[G+_e]=he[_e];return B}return Gh(he)}const Oo=128,Yh=20;class Jh extends Qn{constructor(B,G,he){super(B!=null?B:ui.create(),he),this.axiosInstance=B,this.getToken=G}getSessions(){return re(this,null,function*(){return this.get("/chatSession")})}postSession(B){return re(this,null,function*(){return this.post("/chatSession",B)})}getSession(B){return re(this,null,function*(){return this.get(`/chatSession/${B}`)})}updateSession(B,G){return re(this,null,function*(){return this.patch(`/chatSession/${B}`,G)})}deleteSession(B){return re(this,null,function*(){return this.delete(`/chatSession/${B}`)})}getSessionKnowledgeFiles(B,G){return re(this,null,function*(){return this.get(`chatSession/${B}/file`,G)})}postSessionKnowledgeFile(B,G){return re(this,null,function*(){return this.post(`chatSession/${B}/file`,G)})}deleteSessionKnowledgeFiles(B,G){return re(this,null,function*(){return this.delete(`chatSession/${B}/file`,G)})}getSessionKnowledgeFile(B,G){return re(this,null,function*(){return this.get(`chatSession/${B}/file/${G}`)})}deleteSessionKnowledgeFile(B,G){return re(this,null,function*(){return this.delete(`chatSession/${B}/file/${G}`)})}getSessionChatHistory(B,G){return re(this,null,function*(){return this.get(`/chatSession/${B}/history`,G)})}postMessage(B,G,he){return re(this,null,function*(){return this.post(`/config/tenantApplication?applicationId=${B}&sessionId=${G}`,he)})}postComments(B,G){return re(this,null,function*(){return this.post(`/chatSession/${B}/comments`,G)})}listApplications(){return re(this,null,function*(){return this.list("/applications")})}getApplication(){return re(this,null,function*(){return this.get("/config/tenantApplication")})}postApplication(B){return re(this,null,function*(){return this.post("/config/tenantApplication",{applicationId:B})})}getRecommendQues(){return re(this,null,function*(){return this.get("/recommendQues")})}postRecommendQues(B){return re(this,null,function*(){return this.post("/recommendQues",B)})}patchRecommendQues(B,G){return re(this,null,function*(){return this.patch(`/recommendQues/${B}`,G)})}delRecommendQues(B){return re(this,null,function*(){return this.delete(`/recommendQues/${B}`)})}getUploadTicket(B){return re(this,null,function*(){return this.get("/upload/ticket",B)})}uploadMinioFile(B,G){return re(this,null,function*(){return new Promise((he,_e)=>{const Oe=new FileReader;Oe.readAsArrayBuffer(G),Oe.onload=H=>{Fi.initMinio({endPoint:B.endpoints[0],useSSL:B.useSSL,accessKey:B.accessKey,secretKey:B.secretKey});const O=Buffer.from(H.target.result),x={"Content-Type":"application/octet-stream"};Fi.putObjectBuffer(B.bucket,B.fileKeys[0],O,x,k=>{if(k)throw console.error(k),Error(k);he(B.fileKeys[0])})}})})}uploadFile(B,G){return re(this,null,function*(){const he={files:[G.name],isv:"minio",knowledgeId:B};return this.postUploadTicket(he).then(_e=>this.uploadMinioFile(_e,G)).catch(_e=>{throw Error(_e)})})}uploadFiles(B,G){return re(this,null,function*(){const he={files:G.map(_e=>_e.name),isv:"minio",knowledgeId:B};return this.postUploadTicket(he).then(_e=>Promise.all(G.map(Oe=>this.uploadMinioFile(_e,Oe)))).catch(_e=>{throw Error(_e)})})}getKnowledge(B,G){return re(this,null,function*(){return this.get("/knowledge",{docId:B,name:G})})}getKnowledgeIdFileId(B,G){return re(this,null,function*(){return this.get(`/knowledge/${B}/file/${G}`)})}updateKnowledgeIdFileId(B,G,he){return re(this,null,function*(){return this.patch(`/chatSession/${B}/file/${G}`,he)})}getKnowledgeIdFileIdData(B,G,he){return re(this,null,function*(){return this.get(`/knowledge/${B}/file/${G}/data/${he}`)})}checkFileReady(B,G,he=()=>!0,_e=1e4,Oe){return re(this,null,function*(){return new Promise((H,O)=>{const x=()=>{if(!he()){clearInterval(k);return}G?this.getSessionKnowledgeFile(B,G).then(g=>{if(Oe==null||Oe(g),g.status===$i.Success&&(clearInterval(k),H(g)),g.status===$i.Failed){clearInterval(k);const M="该文件无法读取,请上传可编辑pdf,doc,docx文档";O(Error(M,{cause:{code:-101,message:M,data:g}}))}}).catch(g=>{clearInterval(k),O(g)}):H(null)},k=setInterval(x,_e);x()})})}postChat(B,G){return re(this,null,function*(){return this.post("/chat",B,G)})}postChatV2EventSource(B,G,he,_e){return re(this,null,function*(){var x;const Oe={code:0,messageId:To(),content:"",role:hr.Robot,sessionId:"",reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1},H=yield this.getToken(),O=bi(Wn({},G),{stream:!0});Io(`${(x=this.axiosInstance)==null?void 0:x.defaults.baseURL}/chat?sessionId=${B}`,{method:"POST",headers:{Authorization:`Bearer ${H}`,"Content-Type":"application/json"},body:JSON.stringify(O),openWhenHidden:!0,signal:he,onopen(k){return console.log("onopen"),k.ok&&_e!=null&&_e.onopen&&_e.onopen(),Promise.resolve()},onmessage(k){if(!k.data&&!k.event&&!k.id&&!k.retry)return;if(!k.data.includes('{"code": ')){let g={};try{g=JSON.parse(k.data)}catch(a){}(g==null?void 0:g.mtype)==="search"?Oe.searchReference.push(g):Oe.content=Oe.content+k.data;const M={content:Oe.content,role:1,reference:Oe.reference,searchReference:Oe.searchReference,messageId:Oe.messageId,sessionId:B,messageTime:Fa(new Date).format("YYYY-MM-DD HH:mm:ss"),comment:{isAgree:0},isReplying:!0};return(_e==null?void 0:_e.onmessage)&&_e.onmessage(M)}const w=JSON.parse(k.data);if(Oe.reference=w.data.reference,Oe.messageTime=w.data.messageTime,Oe.messageId=w.data.messageId,Oe.llmModel=w.data.llmModel,Oe.code=w.code,w.code===200){const g={code:Oe.code,content:Oe.content,role:1,reference:Oe.reference,searchReference:Oe.searchReference,messageId:Oe.messageId,sessionId:B,messageTime:Oe.messageTime,isReplying:!0};_e!=null&&_e.onmessage&&_e.onmessage(g)}},onerror(){_e!=null&&_e.onerror&&_e.onerror()},onclose(){const k={code:Oe.code,content:Oe.content,role:1,reference:Oe.reference,searchReference:Oe.searchReference,messageId:Oe.messageId,sessionId:B,messageTime:Oe.messageTime,comment:{isAgree:0},isReplying:!1};_e!=null&&_e.onclose&&_e.onclose(k)}})})}postChatV3EventSource(B,G,he,_e){return re(this,null,function*(){var x,k;const Oe={code:0,messageId:To(),content:"",role:hr.Robot,sessionId:"",reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1,reasoningContent:"",thinkingSecs:"",thinkingStatus:""},H=yield this.getToken(),O=bi(Wn({},G),{stream:!0});Io(`${(k=(x=this.axiosInstance)==null?void 0:x.defaults.baseURL)==null?void 0:k.replace("/v1","/v3")}/chat?sessionId=${B}`,{method:"POST",headers:{Authorization:`Bearer ${H}`,"Content-Type":"application/json"},body:JSON.stringify(O),openWhenHidden:!0,signal:he,onopen(w){return console.log("onopen"),w.ok&&_e!=null&&_e.onopen&&_e.onopen(),Promise.resolve()},onmessage(w){if(!w.data&&!w.event&&!w.id&&!w.retry)return;let g={};try{g=JSON.parse(w.data)}catch(d){console.log("eventData",w.data)}const M=g.data.type,a=g.data.payload;if(Oe.isReplying=!0,M==="error"&&(Oe.code=g.code,Oe.message=g.message),M==="search"&&(Oe.code=g.code,Oe.message=g.message,Oe.searchReference.push(a)),M==="thinking"){Oe.code=g.code,Oe.message=g.message,Oe.thinkingStatus="start";const c=a.choices[0];Oe.reasoningContent=Oe.reasoningContent+c.delta.reasoningContent}if(M==="thinkingOver"){Oe.code=g.code,Oe.message=g.message,Oe.thinkingStatus="end";const d=a.thinkingSecs;Oe.thinkingSecs=d}if(M==="text"){Oe.code=g.code,Oe.message=g.message;const c=a.choices[0];Oe.content=Oe.content+c.delta.content}if(M==="reference"&&(Oe.code=g.code,Oe.message=g.message,Oe.reference=a),M==="result"){Oe.code=g.code,Oe.message=g.message;const d=a.messageId,c=a.llmModel,l=a.messageTime;Oe.messageId=d,Oe.llmModel=c,Oe.messageTime=l,Oe.sessionId=B}_e!=null&&_e.onmessage&&_e.onmessage(Oe)},onerror(){_e!=null&&_e.onerror&&_e.onerror()},onclose(){const w=bi(Wn({},Oe),{isReplying:!1});_e!=null&&_e.onclose&&_e.onclose(w)}})})}getResourceToken(B){return re(this,null,function*(){return this.get("/resourceToken",B)})}postUploadTicket(B){return re(this,null,function*(){return this.post("/upload/ticket",B)})}postPrompts(B){return re(this,null,function*(){return this.post("/prompts",B)})}listPrompt(B){return re(this,null,function*(){return B!=null&&B.title&&B.title.length>Oo?[]:this.get("/prompts",B)})}getPrompt(B){return re(this,null,function*(){return this.get(`/prompts/${B}`)})}updatePrompt(B,G){return re(this,null,function*(){return this.put(`/prompts/${B}`,G)})}deletePrompt(B){return re(this,null,function*(){return this.delete(`/prompts/${B}`)})}chatSessionIdContext(B){return re(this,null,function*(){return this.patch(`/chatSession/${B}/context`,{})})}getBaseModelInfo(B){return re(this,null,function*(){return this.get("/data/v1/baseModelInfo",{serviceId:B})})}getApplicationId(B){return re(this,null,function*(){return this.get(`/applications/${B}`)})}getAppService(){return re(this,null,function*(){return this.get("/appservice")})}}window.Buffer=Yu.Buffer;class Qh extends Qn{constructor(B,G,he){super(B!=null?B:ui.create(),he),this.axiosInstance=B,this.getToken=G}getApplicationIdSessions(B){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session`)})}getApplicationId(B){return re(this,null,function*(){return this.get(`/data/v1/applications/${B}`)})}postApplicationIdSession(B){return re(this,null,function*(){return this.post(`/data/v1/application/${B.applicationId}/sessions`,B)})}getApplicationIdSessionsId(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/sessions/${G}`)})}patchApplicationIdSessionsId(B,G,he){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/sessions/${G}`,he)})}patchApplicationIdSessionsIdContext(B,G){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/sessions/${G}/context`,{})})}delApplicationIdSessionsId(B,G){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/sessions/${G}`)})}postComments(B,G,he){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/sessions/${G}/comments`,he)})}getChatHistorySessionId(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/chatHistory/${G}`)})}postChatV2EventSource(B,G,he,_e,Oe,H){return re(this,null,function*(){const O={code:0,messageId:To(),content:"",role:hr.Robot,sessionId:"",reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1},x=yield this.getToken(),k=bi(Wn({},he),{stream:!0});Io(`https://aiot-dev.glodon.com/api/cvforcepd/chat/v2/chat?applicationId=${B}&sessionId=${G}`,{method:"POST",headers:{Authorization:`Bearer ${x}`,"Content-Type":"application/json"},body:JSON.stringify(k),openWhenHidden:!0,signal:_e,onopen(w){return console.log("onopen"),w.ok&&Oe!=null&&Oe.onopen&&Oe.onopen(),Promise.resolve()},onmessage(w){if(!w.data.includes('{"code": ')){let M={};try{M=JSON.parse(w.data)}catch(d){}(M==null?void 0:M.mtype)==="search"?O.searchReference.push(M):O.content=O.content+w.data;const a={content:O.content,role:1,reference:O.reference,searchReference:O.searchReference,messageId:O.messageId,sessionId:G,messageTime:Fa(new Date).format("YYYY-MM-DD HH:mm:ss"),comment:{isAgree:0},isReplying:!0};return(Oe==null?void 0:Oe.onmessage)&&Oe.onmessage(a)}const g=JSON.parse(w.data);if(O.reference=g.data.reference,O.searchReference=g.data.searchReference,O.messageTime=g.data.messageTime,O.messageId=g.data.messageId,O.llmModel=g.data.llmModel,O.content=g.data.content,O.code=g.code,g.code===200){const M={code:O.code,content:O.content,role:1,reference:O.reference,searchReference:O.searchReference,messageId:O.messageId,sessionId:G,messageTime:O.messageTime,isReplying:!0};Oe!=null&&Oe.onmessage&&Oe.onmessage(M)}else return H&&H({code:g.code,message:g.message})},onerror(){Oe!=null&&Oe.onerror&&Oe.onerror()},onclose(){const w={code:O.code,content:O.content,role:1,reference:O.reference,searchReference:O.searchReference,messageId:O.messageId,sessionId:G,messageTime:O.messageTime,comment:{isAgree:0},isReplying:!1};Oe!=null&&Oe.onclose&&Oe.onclose(w)}})})}getKnowledgeIdFileIdData(B,G,he){return re(this,null,function*(){return this.get(`/data/v1/knowledge/${B}/file/${G}/data/${he}`)})}getKnowledgeIdFileId(B,G){return re(this,null,function*(){return this.get(`/data/v1/knowledge/${B}/file/${G}`)})}getKnowledgeId(B){return re(this,null,function*(){return this.get(`/data/v1/knowledge/${B}`)})}getSessionKnowledgeFile(B,G){return re(this,null,function*(){return this.get(`/data/v1/chatSession/${B}/file/${G}`)})}sleep(B){return re(this,null,function*(){return new Promise(G=>{setTimeout(()=>{G("")},B)})})}getBaseModelInfo(B){return re(this,null,function*(){return this.get("/data/v1/baseModelInfo",{serviceId:B})})}uploadFiles(B,G){return re(this,null,function*(){const he={files:G.map(_e=>_e.name),isv:"minio",knowledgeId:B};return this.postTicket(he).then(_e=>Promise.all(G.map(Oe=>this.uploadMinioFile(_e.minio,Oe)))).catch(_e=>{throw Error(_e)})})}postFile(B,G,he){return re(this,null,function*(){const _e={files:[G.name],isv:"minio",knowledgeId:B,type:he};return this.postTicket(_e).then(Oe=>this.uploadMinioFile(Oe.minio,G)).catch(Oe=>{throw Error(Oe)})})}postTicket(B){return re(this,null,function*(){return this.post("/data/v1/ticket",B)})}uploadFile(B,G){return re(this,null,function*(){const he={files:[G.name],isv:"minio",knowledgeId:B};return this.postTicket(he).then(_e=>this.uploadMinioFile(_e.minio,G)).catch(_e=>{throw Error(_e)})})}uploadMinioFile(B,G){return re(this,null,function*(){return new Promise((he,_e)=>{const Oe=new FileReader;Oe.readAsArrayBuffer(G),Oe.onload=H=>{Fi.initMinio({endPoint:B.endpoints[0],useSSL:B.useSSL,accessKey:B.accessKey,secretKey:B.secretKey});const O=Buffer.from(H.target.result),x={"Content-Type":"application/octet-stream"};Fi.putObjectBuffer(B.bucket,B.fileKeys[0],O,x,k=>{if(k)throw console.error(k),Error(k);he(B.fileKeys[0])})}})})}getRecommendQues(B){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/recommendQues`)})}postPrompts(B,G){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/prompts`,G)})}listPrompt(B,G){return re(this,null,function*(){return G!=null&&G.title&&G.title.length>Oo?[]:this.get(`/data/v1/application/${B}/prompts`,G)})}getPrompt(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/prompts/${G}`)})}updatePrompt(B,G,he){return re(this,null,function*(){return this.put(`/data/v1/application/${B}/prompts/${G}`,he)})}deletePrompt(B,G){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/prompts/${G}`)})}postGeneques(B,G){return re(this,null,function*(){return this.post("/data/v1/geneques",B,{},G)})}getApplicationIdSessionKnowledgeFiles(B,G,he){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session/${G}/file`,he)})}checkFileReady(B,G,he,_e=()=>!0,Oe=1e4,H){return re(this,null,function*(){return new Promise((O,x)=>{const k=()=>{if(!_e()){clearInterval(w);return}he?this.getApplicationIdSessionKnowledgeFileId(B,G,he,{},!0).then(M=>{if(H==null||H(M),M.status===$i.Success&&(clearInterval(w),O(M)),M.status===$i.Failed){clearInterval(w);const a="该文件无法读取,请上传可编辑pdf,doc,docx文档";x(Error(a,{cause:{code:-101,message:a,data:M}}))}}).catch(M=>{clearInterval(w),x(M)}):O(null)},w=setInterval(k,Oe);k()})})}getApplicationIdSessionKnowledgeFileId(B,G,he,_e,Oe){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session/${G}/file/${he}`,_e,Oe)})}delApplicationIdSessionKnowledgeFileId(B,G,he){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/session/${G}/file/${he}`)})}postApplicationIdSessionKnowledgeSessionFile(B,G,he,_e,Oe){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/session/${G}/sessionfile`,he,_e,Oe)})}delApplicationIdSessionKnowledgeFile(B,G,he){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/session/${G}/file`,he)})}deleteSessionKnowledgeFiles(B,G){return re(this,null,function*(){return this.delete(`/data/v1/chatSession/${B}/file`,G)})}patchApplicationIdKnowledgeIdFileId(B,G,he,_e){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/session/${G}/file/${he}`,_e)})}getApplicationIdSessionIdPromptVariables(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session/${G}/promptVariables`)})}getApplicationIdPromptVariables(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/promptVariables`,G)})}patchApplicationIdSessionpromptVariablesId(B,G,he,_e){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/session/${G}/promptVariables/${he}`,_e)})}updateSession(B,G,he){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/sessions/${G}`,he)})}getSession(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/sessions/${G}`)})}}globalThis.Buffer=Yu.Buffer;class ep extends Qn{constructor(B,G,he){super(B!=null?B:ui.create(),he),this.axiosInstance=B,this.getToken=G}getBaseModelInfo(B){return re(this,null,function*(){return this.get("/data/v1/baseModelInfo",{serviceId:B})})}postGeneques(B){return re(this,null,function*(){return this.post("/data/v1/geneques",B)})}getApplicationId(B){return re(this,null,function*(){return this.get(`/data/v1/applications/${B}`)})}getApplicationIdSessions(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/sessionsa`,G)})}postApplicationIdSession(B){return re(this,null,function*(){return this.post(`/data/v1/application/${B.applicationId}/sessions`,B)})}getApplicationIdSessionsId(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/sessions/${G}`)})}patchApplicationIdSessionsId(B,G,he){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/sessions/${G}`,he)})}delApplicationIdSessionsId(B,G){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/sessions/${G}`)})}getApplicationIdPromptVariables(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/promptVariables`,G)})}getApplicationIdSessionIdPromptVariables(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session/${G}/promptVariables`)})}patchApplicationIdSessionpromptVariablesId(B,G,he,_e){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/session/${G}/promptVariables/${he}`,_e)})}deleteSessionKnowledgeFiles(B,G){return re(this,null,function*(){return this.delete(`/data/v1/chatSession/${B}/file`,G)})}getRecommendQues(B){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/recommendQues`)})}postRecommendQues(B,G){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/recommendQues`,G)})}delRecommendQues(B,G){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/recommendQues/${G}`)})}getChatHistorySessionId(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/chatHistory/${G}`)})}postPrompts(B,G){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/prompts`,G)})}listPrompt(B,G){return re(this,null,function*(){return G!=null&&G.title&&G.title.length>Oo?[]:this.get(`/data/v1/application/${B}/prompts`,G)})}getPrompt(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/prompts/${G}`)})}updatePrompt(B,G,he){return re(this,null,function*(){return this.put(`/data/v1/application/${B}/prompts/${G}`,he)})}deletePrompt(B,G){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/prompts/${G}`)})}patchApplicationIdSessionsIdContext(B,G){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/sessions/${G}/context`,{})})}getApplicationIdSessionKnowledgeFiles(B,G,he){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session/${G}/file`,he)})}postApplicationIdSessionKnowledgeFile(B,G,he){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/session/${G}/file`,he)})}postApplicationIdSessionKnowledgeSessionFile(B,G,he){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/session/${G}/sessionfile`,he)})}delApplicationIdSessionKnowledgeFile(B,G,he){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/session/${G}/file`,he)})}getApplicationIdSessionKnowledgeFileId(B,G,he,_e,Oe){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session/${G}/file/${he}`,_e,Oe)})}delApplicationIdSessionKnowledgeFileId(B,G,he){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/session/${G}/file/${he}`)})}patchApplicationIdKnowledgeIdFileId(B,G,he,_e){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/session/${G}/file/${he}`,_e)})}checkFileReady(B,G,he,_e=()=>!0,Oe=1e4,H){return re(this,null,function*(){return new Promise((O,x)=>{const k=()=>{if(!_e()){clearInterval(w);return}he?this.getApplicationIdSessionKnowledgeFileId(B,G,he,{},!0).then(M=>{if(H==null||H(M),M.status===$i.Success&&(clearInterval(w),O(M)),M.status===$i.Failed){clearInterval(w);const a="该文件无法读取,请上传可编辑pdf,doc,docx文档";x(Error(a,{cause:{code:-101,message:a,data:M}}))}}).catch(M=>{clearInterval(w),x(M)}):O(null)},w=setInterval(k,Oe);k()})})}uploadFile(B,G){return re(this,null,function*(){const he={files:[G.name],isv:"minio",knowledgeId:B};return this.postUploadTicket(he).then(_e=>this.uploadMinioFile(_e.minio,G)).catch(_e=>{throw Error(_e)})})}postUploadTicket(B){return re(this,null,function*(){return this.post("/data/v1/ticket",B)})}uploadMinioFile(B,G){return re(this,null,function*(){return new Promise((he,_e)=>{const Oe=new FileReader;Oe.readAsArrayBuffer(G),Oe.onload=H=>{Fi.initMinio({endPoint:B.endpoints[0],useSSL:B.useSSL,accessKey:B.accessKey,secretKey:B.secretKey});const O=Buffer.from(H.target.result),x={"Content-Type":"application/octet-stream"};Fi.putObjectBuffer(B.bucket,B.fileKeys[0],O,x,k=>{if(k)throw console.error(k),Error(k);he(B.fileKeys[0])})}})})}postComments(B,G,he){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/sessions/${G}/comments`,he)})}getKnowledgeId(B){return re(this,null,function*(){return this.get(`/data/v1/knowledge/${B}`)})}getKnowledgeIdFileId(B,G){return re(this,null,function*(){return this.get(`/data/v1/knowledge/${B}/file/${G}`)})}getKnowledgeIdFileIdData(B,G,he){return re(this,null,function*(){return this.get(`/data/v1/knowledge/${B}/file/${G}/data/${he}`)})}postChatV2EventSource(B,G,he,_e,Oe){return re(this,null,function*(){var k;const H={code:0,messageId:To(),content:"",role:hr.Robot,sessionId:"",reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1,message:""},O=yield this.getToken(),x=bi(Wn({},he),{stream:!0});Io(`${(k=this.axiosInstance)==null?void 0:k.defaults.baseURL}/chat/v2/chat?applicationId=${B}&sessionId=${G}`,{method:"POST",headers:{Authorization:`Bearer ${O}`,"Content-Type":"application/json"},body:JSON.stringify(x),openWhenHidden:!0,signal:_e,onopen(w){return console.log("onopen"),w.ok&&Oe!=null&&Oe.onopen&&Oe.onopen(),Promise.resolve()},onmessage(w){if(!w.data&&!w.event&&!w.id&&!w.retry)return;if(!w.data.includes('{"code": ')){let M={};try{M=JSON.parse(w.data)}catch(d){}(M==null?void 0:M.mtype)==="search"?H.searchReference.push(M):H.content=H.content+w.data;const a={content:H.content,role:1,reference:H.reference,searchReference:H.searchReference,messageId:H.messageId,sessionId:G,messageTime:Fa(new Date).format("YYYY-MM-DD HH:mm:ss"),comment:{isAgree:0},isReplying:!0};return(Oe==null?void 0:Oe.onmessage)&&Oe.onmessage(a)}const g=JSON.parse(w.data);if(H.reference=g.data.reference,H.messageTime=g.data.messageTime,H.messageId=g.data.messageId,H.llmModel=g.data.llmModel,H.code=g.code,H.message=g.message,g.code===200){const M={code:H.code,content:H.content,role:1,reference:H.reference,searchReference:H.searchReference,messageId:H.messageId,sessionId:G,messageTime:H.messageTime,isReplying:!0};Oe!=null&&Oe.onmessage&&Oe.onmessage(M)}},onerror(){Oe!=null&&Oe.onerror&&Oe.onerror()},onclose(){const w={code:H.code,content:H.content,role:1,reference:H.reference,searchReference:H.searchReference,messageId:H.messageId,sessionId:G,messageTime:H.messageTime,comment:{isAgree:0},isReplying:!1,message:H.message};Oe!=null&&Oe.onclose&&Oe.onclose(w)}})})}postChat(B,G){return re(this,null,function*(){var he;return this.post(`${(he=this.axiosInstance)==null?void 0:he.defaults.baseURL}/chat/v2/chat`,B,G)})}}var sc=(de=>(de[de.Dialog=0]="Dialog",de[de.TextGenerate=1]="TextGenerate",de[de.FileSummery=2]="FileSummery",de))(sc||{}),uc=(de=>(de[de.Robot=1]="Robot",de[de.User=2]="User",de[de.System=3]="System",de))(uc||{}),cc=(de=>(de[de.Processing=1]="Processing",de[de.Done=2]="Done",de[de.Failed=3]="Failed",de))(cc||{}),lc=(de=>(de[de.File=0]="File",de[de.WebLink=1]="WebLink",de))(lc||{}),hc=(de=>(de[de.Processing=1]="Processing",de[de.Success=2]="Success",de[de.Failed=3]="Failed",de))(hc||{}),pc=(de=>(de.InputFile="ui.input.file",de.LLMModel="ui.llm.model",de))(pc||{}),fc=(de=>(de[de.Idle=0]="Idle",de[de.Quoted=1]="Quoted",de))(fc||{}),dc=(de=>(de[de.Basic=0]="Basic",de[de.Pro=1]="Pro",de))(dc||{}),mc=(de=>(de[de.Dialog=0]="Dialog",de[de.Text=1]="Text",de[de.Agent=2]="Agent",de[de.All=3]="All",de))(mc||{});class tp extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}getKnowledge(B,G){return re(this,null,function*(){return this.get("/knowledge",{docId:B,name:G})})}postKnowledge(B){return re(this,null,function*(){return this.post("/knowledge",B)})}getKnowledgeId(B){return re(this,null,function*(){return this.get(`/knowledge/${B}`)})}patchKnowledgeId(B,G){return re(this,null,function*(){return this.patch(`/knowledge/${B}`,G)})}delKnowledgeId(B){return re(this,null,function*(){return this.delete(`/knowledge/${B}`)})}getKnowledgeIdFile(B){return re(this,null,function*(){return this.get(`/knowledge/${B}/file`)})}getKnowledgeIdFileList(B,G){return re(this,null,function*(){return this.listPaged(`/knowledge/${B}/file`,G)})}postKnowledgeIdFile(B,G){return re(this,null,function*(){return this.post(`/knowledge/${B}/file`,G)})}getUploadTicket(B){return re(this,null,function*(){return this.get("/upload/ticket",B)})}delKnowledgeIdFileFid(B,G){return re(this,null,function*(){return this.delete(`/knowledge/${B}/file/${G}`)})}patchKnowledgeIdFileFid(B,G,he){return re(this,null,function*(){return this.patch(`/knowledge/${B}/file/${G}`,he)})}listSessions(B,G){return re(this,null,function*(){return this.get(`/application/${B}/sessionsa`,G)})}postSession(B,G){return re(this,null,function*(){return this.post(`/application/${B}/sessions`,G)})}getSession(B,G){return re(this,null,function*(){return this.get(`/application/${B}/sessions/${G}`)})}patchSessionsId(B,G,he){return re(this,null,function*(){return this.patch(`/application/${B}/sessions/${G}`,he)})}delSessionsId(B,G){return re(this,null,function*(){return this.delete(`/application/${B}/sessions/${G}`)})}getSessionKnowledgeFile(B,G,he){return re(this,null,function*(){return this.get(`/application/${B}session/${G}/file/${he}`)})}postSessionKnowledgeFile(B,G,he){return re(this,null,function*(){return this.post(`/application/${B}session/${G}/file`,he)})}postComments(B,G,he){return re(this,null,function*(){return this.post(`/application/${B}/sessions/${G}/comments`,he)})}getChatHistorySessionId(B,G,he){return re(this,null,function*(){return this.get(`application/${B}/chatHistory/${G}`,he)})}postChatHistorySessionId(B,G){return re(this,null,function*(){return this.post(`/chatHistory/${B}`,G)})}getApplications(B){return re(this,null,function*(){return this.get("/applications",B)})}postApplication(B){return re(this,null,function*(){return this.post("/applications",B)})}getApplicationId(B){return re(this,null,function*(){return this.get(`/applications/${B}`)})}patchApplicationId(B,G){return re(this,null,function*(){return this.patch(`/applications/${B}`,G)})}delApplicationId(B){return re(this,null,function*(){return this.delete(`/applications/${B}`)})}getApplicationIdSessions(B){return re(this,null,function*(){return this.get(`/applications/${B}/session`)})}patchFileId(B,G){return re(this,null,function*(){return this.patch(`/file/${B}`,G)})}getCvforceResource(B){return re(this,null,function*(){return this.get("/cvforce/resource",B)})}postKnowledgeIdComposedFiles(B,G){return re(this,null,function*(){return this.post(`/knowledge/${B}/composedFiles`,G)})}getTokensApplicationId(B,G){return re(this,null,function*(){return this.get(`/tokens/${B}`,G)})}getTokens(B){return re(this,null,function*(){return this.get("/tokens",B)})}uploadMinioFile(B,G){return re(this,null,function*(){return new Promise((he,_e)=>{const Oe=new FileReader;Oe.readAsArrayBuffer(G),Oe.onload=H=>{Fi.initMinio({endPoint:B.endpoints[0],useSSL:B.useSSL,accessKey:B.accessKey,secretKey:B.secretKey});const O=Buffer.from(H.target.result),x={"Content-Type":"application/octet-stream"};Fi.putObjectBuffer(B.bucket,B.fileKeys[0],O,x,k=>{if(k)throw console.error(k),Error(k);he(B.fileKeys[0])})}})})}uploadFile(B,G){return re(this,null,function*(){const he={files:[G.name],isv:"minio",knowledgeId:B};return this.getUploadTicket(he).then(_e=>this.uploadMinioFile(_e.minio,G)).catch(_e=>{throw Error(_e)})})}uploadFiles(B,G){return re(this,null,function*(){const he={files:G.map(_e=>_e.name),isv:"minio",knowledgeId:B};return this.getUploadTicket(he).then(_e=>Promise.all(G.map(Oe=>this.uploadMinioFile(_e.minio,Oe)))).catch(_e=>{throw Error(_e)})})}getAecModels(){return re(this,null,function*(){return this.get("/aecModels")})}postTextFilter(B){return re(this,null,function*(){return this.post("/textFilter",B)})}getTenantModel(){return re(this,null,function*(){return this.get("/tenantModel")})}getPrompts(B,G){return re(this,null,function*(){return this.get(`application/${B}/promptVariables`,G)})}postPrompt(B,G){return re(this,null,function*(){return this.post(`application/${B}/promptVariables`,G)})}patchPromptId(B,G,he){return re(this,null,function*(){return this.patch(`application/${B}/promptVariables/${G}`,he)})}delPromptId(B,G){return re(this,null,function*(){return this.delete(`application/${B}/promptVariables/${G}`)})}getSessionPrompts(B){return re(this,null,function*(){return this.get(`session/${B}/promptVariables`)})}patchSessionPromptId(B,G,he){return re(this,null,function*(){return this.patch(`session/${G}/promptVariables/${B}`,he)})}getApplicationIdSessionIdPromptVariables(B,G){return re(this,null,function*(){return this.get(`/application/${B}/session/${G}/promptVariables`)})}patchApplicationIdSessionpromptVariablesId(B,G,he,_e){return re(this,null,function*(){return this.patch(`/application/${B}/session/${G}/promptVariables/${he}`,_e)})}getPresetApplication(B){return re(this,null,function*(){return this.get("presetApplication",B)})}postKnowledgeConfig(B){return re(this,null,function*(){return this.post("/knowledgeConfig",B)})}getKnowledgeConfig(B){return re(this,null,function*(){return this.get(`/knowledgeConfig/${B}`)})}patchKnowledgeConfig(B,G){return re(this,null,function*(){return this.patch(`/knowledgeConfig/${B}`,G)})}getKnowledgeIdFileId(B,G){return re(this,null,function*(){return this.get(`/knowledge/${B}/file/${G}`)})}getKnowledgeIdFileIdData(B,G,he){return re(this,null,function*(){return this.listPaged(`/knowledge/${B}/file/${G}/data`,he)})}postKnowledgeIdFileIdData(B,G,he){return re(this,null,function*(){return this.post(`/knowledge/${B}/file/${G}/data`,{data:he})})}patchKnowledgeIdFileIdData(B,G,he,_e){return re(this,null,function*(){return this.patch(`/knowledge/${B}/file/${G}/data/${he}`,{data:_e})})}delKnowledgeIdFileIdDataDid(B,G,he){return re(this,null,function*(){return this.delete(`/knowledge/${B}/file/${G}/data/${he}`)})}getPresetKnowledge(B){return re(this,null,function*(){return this.get("/presetKnowledge",B)})}patchSessionsIdContext(B){return re(this,null,function*(){return this.patch(`/sessions/${B}/context`,{})})}postResourceToken(B){return re(this,null,function*(){return this.post("/resourceToken",B)})}getApplicationIdSession(B){return re(this,null,function*(){return this.get(`/application/${B}/session`)})}patchApplicationIdSessionsIdContext(B,G){return re(this,null,function*(){return this.patch(`/application/${B}/sessions/${G}/context`,{})})}postApplicationIdSessions(B,G){return re(this,null,function*(){return this.post(`/application/${B}/sessions`,G)})}getApplicationIdChatHistorySessionId(B,G){return re(this,null,function*(){return this.get(`/application/${B}/chatHistory/${G}`)})}postApplicationIdChatHistorySessionIdComments(B,G,he){return re(this,null,function*(){return this.post(`/application/${B}/sessions/${G}/comments`,he)})}getApplicationIdPrompts(B,G){return re(this,null,function*(){return this.get(`/application/${B}/promptVariables`,G)})}postKnowledgeSourceFile(B,G,he){return re(this,null,function*(){return this.post(`/knowledge/${B}/sourceFile/${G}`,he)})}getMetadata(B){return re(this,null,function*(){return this.get("/metadata",B)})}postGeneques(B){return re(this,null,function*(){return this.post("/geneques",B)})}getBaseModel(B){return re(this,null,function*(){return this.get("/baseModelInfo",{serviceId:B})})}}var gc=(de=>(de[de.inital=0]="inital",de[de.success=1]="success",de[de.processing=2]="processing",de[de.failed=3]="failed",de))(gc||{}),vc=(de=>(de[de.inital=0]="inital",de[de.processing=1]="processing",de[de.paused=2]="paused",de[de.failed=3]="failed",de[de.done=4]="done",de))(vc||{}),Ji=(de=>(de.Pending="PENDING",de.Started="STARTED",de.Failure="FAILURE",de.Success="SUCCESS",de.Abort="ABORT",de))(Ji||{}),yc=(de=>(de.Pending="PENDING",de.Started="STARTED",de.Success="SUCCESS",de.Failure="FAILURE ",de))(yc||{}),bc=(de=>(de[de.all=0]="all",de[de.general=1]="general",de[de.major=2]="major",de))(bc||{});function np(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(de){const B=Math.random()*16|0;return(de=="x"?B:B&3|8).toString(16)})}class ip extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}getDatasets(B){return re(this,null,function*(){return this.get("/datasets",B)})}postDatasets(B){return re(this,null,function*(){return this.post("/datasets",B)})}getDatasetsId(B){return re(this,null,function*(){return this.get(`/datasets/${B}`)})}delDatasetsId(B){return re(this,null,function*(){return this.delete(`/datasets/${B}`)})}patchDatasetsId(B,G){return re(this,null,function*(){return this.patch(`/datasets/${B}`,G)})}getDatasetsIdVersions(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions?pageNo=${G}&pageSize=${he}`)})}getDatasetsIdVersionsVidNextno(B){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/nextno`)})}getS3Iam(B,G){return re(this,null,function*(){return this.post("/s3/iam",{datasetId:B,publicBucket:G})})}postDatasetsIdVersions(B,G){return re(this,null,function*(){return this.post(`/datasets/${B}/versions`,G)})}patchDatasetsIdVersionsVid(B,G,he){return re(this,null,function*(){return this.patch(`/datasets/${B}/versions/${G}`,he)})}getDatasetsIdVersionsVid(B,G){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}`)})}delDatasetsIdVersionsVid(B,G){return re(this,null,function*(){return this.delete(`/datasets/${B}/versions/${G}`)})}getDatasetsIdVersionsNo(B,G){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/no`,G)})}listDatasetsIdLabels(B,G){return re(this,null,function*(){return this.listPaged(`/datasets/${B}/labels`,G)})}getDatasetsIdVersionsVidLabelcount(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/labelcount`,he)})}getDatasetsIdVersionsVidSamples(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/samples`,he)})}updateSamples(B,G,he,_e){return re(this,null,function*(){return this.patch(`/datasets/${B}/versions/${G}/samples`,{samples:he,confirmStatus:_e})})}delDatasetsIdVersionsVidSamplesId(B,G,he){return re(this,null,function*(){return this.delete(`/datasets/${B}/versions/${G}/samples/${he}`)})}delDatasetsIdVersionsVidLlmSamplesId(B,G,he){return re(this,null,function*(){return this.delete(`datasets/${B}/versions/${G}/llmSamples/${he}`)})}getDatasetsIdVersionsVidSsamplesSid(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/samples/${he}`).then(_e=>bi(Wn({},_e),{labels:_e.labels?_e.labels.map(Oe=>bi(Wn({},Oe),{uuid:Oe.uuid||np()})):[]}))})}getImportInfo(){return re(this,null,function*(){return this.get("/importInfo")})}getOptionsMarkType(){return re(this,null,function*(){return this.get("/options/markType")})}getOptionsOcrMarkTmpl(){return re(this,null,function*(){return this.get("/options/ocrMarkTmpl")})}getOptionsLlmMarkTmpl(){return re(this,null,function*(){return this.get("/options/llmMarkTmpl")})}getOptionsLlmResponseSort(){return re(this,null,function*(){return this.get("/options/llmResponseSort")})}getOptionsImgproxy(){return re(this,null,function*(){return this.get("/options/imgproxy")})}getDeduplication(B,G){return re(this,null,function*(){return this.post("/files/deduplication",{md5s:B,datasetId:G})})}postDatasetsIdVersionsVidSamples(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/samples`,he)})}patchDatasetsIdVersionsVidSamples(B,G,he){return re(this,null,function*(){return this.patch(`/datasets/${B}/versions/${G}/samples`,he)})}listCategory(B){return re(this,null,function*(){return this.list(`/datasets/${B}/catagory`)})}postCategory(B,G){return re(this,null,function*(){return this.post(`/datasets/${B}/catagory`,{name:G})})}updateCategory(B,G,he){return re(this,null,function*(){return this.patch(`/datasets/${B}/catagory/${G}`,{name:he})})}deleteCategory(B,G){return re(this,null,function*(){return this.delete(`/datasets/${B}/catagory/${G}`)})}postDatasetIdVersionIdFilesDeduplication(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/files/deduplication`,he)})}postDatasetIdVersionIdLlmSamples(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/llmSamples`,he)})}patchDatasetIdVersionIdLlmSampleId(B,G,he,_e){return re(this,null,function*(){return this.patch(`/datasets/${B}/versions/${G}/llmSamples/${he}`,_e)})}postLlmSamplesSubsection(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/llmSamples/subsection`,he)})}generatellmSamplesSubsection(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/llmSamples/subsection`,he)})}listSubsection(B,G,he,_e){return re(this,null,function*(){return this.listPaged(`/datasets/${B}/versions/${G}/llmSamples/${he}/subsection`,_e)})}postSubsection(B,G,he,_e){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/llmSamples/${he}/subsection`,_e)})}updateSubsection(B,G,he,_e,Oe){return re(this,null,function*(){return this.patch(`/datasets/${B}/versions/${G}/llmSamples/${he}/subsection/${_e}`,Oe)})}deleteSubsection(B,G,he,_e){return re(this,null,function*(){return this.delete(`/datasets/${B}/versions/${G}/llmSamples/${he}/subsection/${_e}`)})}llmSupervisedRecordGenerate(B){return re(this,null,function*(){return this.post("/llm/supervisedRecord/generatedata",B)})}llmSupervisedRecordAbordTask(B){return re(this,null,function*(){return this.post("/llm/supervisedRecord/abortTask",B)})}llmSupervisedRecordPauseTask(B){return re(this,null,function*(){return this.post("/llm/supervisedRecord/pauseTask",B)})}getLlmSupervisedRecord(B){return re(this,null,function*(){return this.get(`/llm/supervisedRecord/${B}`)})}getDatasetsIdVersionsIdLlmSamplesV2(B,G,he){return re(this,null,function*(){return this.listPaged(`/datasets/${B}/versions/${G}/llmSamplesV2`,he)})}postDatasetsIdVersionsIdLlmSamplesV2(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/llmSamplesV2`,he)})}getDatasetsIdVersionsIdLlmSamplesV2Sid(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/llmSamplesV2/${he}`)})}patchDatasetsIdVersionsIdLlmSamplesV2Sid(B,G,he,_e){return re(this,null,function*(){return this.patch(`/datasets/${B}/versions/${G}/llmSamplesV2/${he}`,_e)})}delDatasetsIdVersionsIdLlmSamplesV2Sid(B,G,he){return re(this,null,function*(){return this.delete(`/datasets/${B}/versions/${G}/llmSamplesV2/${he}`)})}getDatasetsIdVersionsIdExportLLMSamples(B,G){return re(this,null,function*(){return this.getNonStandard(`/datasets/${B}/versions/${G}/exportLLMSamples`,{responseType:"blob"})})}llmSamplesSubsectionView(B,G,he,_e){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/llmSamples/${he}/previewSubsection`,_e)})}listLabels(B,G){return re(this,null,function*(){return this.listPaged(`/datasets/${B}/labels`,G)})}postLabels(B,G){return re(this,null,function*(){return this.post(`/datasets/${B}/labels`,G)})}patchLabel(B,G,he){return re(this,null,function*(){return this.patch(`/datasets/${B}/labels/${G}`,he)})}deleteLabel(B,G){return re(this,null,function*(){return this.delete(`/datasets/${B}/labels/${G}`)})}postUploadPicsZip(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/uploadzip`,he)})}checkFileResult(B,G,he,_e=1e3,Oe){return re(this,null,function*(){return new Promise((H,O)=>{const x=()=>{B?this.getUploadPicsZipResult(B,G,he).then(w=>{const g=w[0];if(g.state===Ji.Started||g.state===Ji.Pending){const M=g.process||0;Oe&&Oe(M)}if(g.state===Ji.Success&&(clearInterval(k),H(g.lastTaskResult)),g.state===Ji.Failure){clearInterval(k);const M="该文件处理失败";O(Error(M,{cause:{code:-101,message:M,data:g.lastTaskResult}}))}g.state===Ji.Abort&&(clearInterval(k),H(g.lastTaskResult))}).catch(w=>{clearInterval(k),O(w)}):H(null)},k=setInterval(x,_e);x()})})}getUploadPicsZipResult(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/uploadzip`,he)})}getUploadabort(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/uploadabort`,he)})}postPreLabelTask(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/prelabeltask`,he)})}getPreLabelTask(B,G){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/prelabeltask`)})}delPreLabelTask(B,G,he){return re(this,null,function*(){return this.delete(`/datasets/${B}/versions/${G}/prelabeltask/${he}`)})}getAllConfirmSamples(B,G){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/confirm`)})}getDataSetCopyTask(B,G){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/copyDataset`)})}postDataSetCopyTask(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/copyDataset`,he)})}deleteDatasetCopyTask(B,G,he){return re(this,null,function*(){return this.delete(`/datasets/${B}/versions/${G}/copyDataset`,he)})}}class rp extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}listModelServices(B){return re(this,null,function*(){return this.listPaged("/modelService",B)})}postModelService(B){return re(this,null,function*(){return this.post("/modelService",B)})}getModelServiceById(B){return re(this,null,function*(){return this.get(`/modelService/${B}`)})}patchModelServiceById(B,G){return re(this,null,function*(){return this.patch(`/modelService/${B}`,G)})}deleteModelService(B){return re(this,null,function*(){return this.delete(`/modelService/${B}`)})}getEnableModelService(B){return re(this,null,function*(){return this.get(`/modelService/${B}/enable`)})}getDisableModelService(B){return re(this,null,function*(){return this.get(`/modelService/${B}/disable`)})}getModelServiceList(B){return re(this,null,function*(){return this.get(`/modelService/${B}/list`)})}getModelServiceDelist(B){return re(this,null,function*(){return this.get(`/modelService/${B}/delist`)})}importService(B){return re(this,null,function*(){return this.post("/modelService/import",B)})}patchModelService(B,G){return re(this,null,function*(){return this.patch(`/modelService/${B}`,G)})}openModelServices(B){return re(this,null,function*(){return this.get("/openModelService",B)})}importMirronService(B){return re(this,null,function*(){return this.post("/modelService/importMirron",B)})}patchMirronService(B,G){return re(this,null,function*(){return this.patch(`/modelService/importMirron/${B}`,G)})}getServiceSignList(B){return re(this,null,function*(){return this.get("/serviceSign",B)})}}var wc=(de=>(de[de.minio=0]="minio",de[de.pvc=1]="pvc",de))(wc||{}),xc=(de=>(de.common="A100",de.idcard="A104",de.bankcard="A108",de.page="A112",de.rmwatermark="A115",de.seal="A116",de.rmseal="A117",de.table="A118",de))(xc||{}),Mc=(de=>(de.User="user",de.Assistant="assistant",de.System="system",de))(Mc||{});class op extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}ocr(B,G){return re(this,null,function*(){if(G.modelStore===wc.pvc){const he=this.convertToBatchParams(G),_e=yield this.ocrPvcBatch(B,he);return this.convertToMinioResult(_e)}else return this.ocrMinio(B,G)})}convertToBatchParams(B){return{pages:[{image:B.image}]}}convertToMinioResult(B){var G;return(G=B.pages)==null?void 0:G.flatMap(he=>{var _e;return((_e=he.textItems)==null?void 0:_e.map(Oe=>({box:Oe.bbox})))||[]})}ocrMinio(B,G){return re(this,null,function*(){return G.image&&G.image.split("base64,").length>1&&(G.image=G.image.split("base64,")[1]),this.post(`/v2/infer?serviceId=${B}`,G)})}ocrPvcBatch(B,G){return re(this,null,function*(){return this.post(`/v2/infer?serviceId=${B}`,G)})}getSleep(B){return re(this,null,function*(){return new Promise(G=>{setTimeout(()=>{G(!0)},B*1e3)})})}postChatCompletions(B){return re(this,null,function*(){return this.postNonStandard("/v1/chat/completions",B)})}detection(B,G){return re(this,null,function*(){return this.post(`/v2/infer?serviceId=${B}`,G)})}getBaseModel(B){return re(this,null,function*(){return this.get("/v1/baseModel",{serviceId:B})})}postEmbeddings(B){return re(this,null,function*(){return this.postNonStandard("/v1/embeddings",B)})}}class ap extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}listTasks(B){return re(this,null,function*(){return this.get("/tasks",B)})}createTask(B){return re(this,null,function*(){return this.post("/tasks",B)})}getTask(B){return re(this,null,function*(){return this.get(`/tasks/${B}`)})}updateTask(B,G){return re(this,null,function*(){return this.patch(`/tasks/${B}`,G)})}deleteTask(B){return re(this,null,function*(){return this.delete(`/tasks/${B}`)})}listTaskFiles(B){return re(this,null,function*(){return this.get(`/tasks/${B}/files`)})}uploadTaskFile(B,G){return re(this,null,function*(){return this.post(`/tasks/${B}/files`,G)})}listWorkflowExecutions(B){return re(this,null,function*(){return this.get("/workflows/executions",B)})}getWorkflowExecution(B){return re(this,null,function*(){return this.get(`/workflows/executions/${B}`)})}startWorkflowExecution(B){return re(this,null,function*(){return this.post("/workflows/executions",B)})}updateWorkflowExecution(B,G){return re(this,null,function*(){return this.patch(`/workflows/executions/${B}`,G)})}cancelWorkflowExecution(B){return re(this,null,function*(){return this.post(`/workflows/executions/${B}/cancel`,{})})}getUploadTicket(B){return re(this,null,function*(){return this.get("/upload/ticket",B)})}}exports.AECPilotApi=Jh;exports.AIShopApi=op;exports.AecKnowledgeFileStatus=$i;exports.AecpilotUIApi=ep;exports.AgentClientUIApi=Qh;exports.ApplicationTypes=mc;exports.ArchiGptUIKeys=pc;exports.AuthApi=Bh;exports.BaseApi=Qn;exports.CVForceApi=tp;exports.CVForceDatahubApi=ip;exports.ChatMessageRole=uc;exports.ChatMode=sc;exports.ContralyzeApi=ap;exports.DataApi=Dh;exports.FileProccessStatus=cc;exports.GenerateStatus=vc;exports.IChatRole=Mc;exports.IDatasetLevel=bc;exports.IFileOrigin=ac;exports.IHistoryRole=hr;exports.ISourceType=ic;exports.ISpacetwinStatus=tc;exports.IThinkingStatus=oc;exports.IversionInfo=rc;exports.KnowledgeFileStatus=hc;exports.KnowledgeType=dc;exports.ModelServiceApi=rp;exports.OCRServiceId=xc;exports.PROMPT_SEARCH_MAX_LENGTH=Oo;exports.PROMPT_TITLE_MAX_LENGTH=Yh;exports.PanoramaApi=Lh;exports.PanoramaPluginMgrApi=qh;exports.PreLabelTaskStatus=yc;exports.PromptStatus=fc;exports.RecordStatus=ec;exports.SourceType=lc;exports.SubsectionStatus=gc;exports.UploadZipsStatus=Ji;exports.needPrettifyMsg=Ju;exports.prettifyMsg=Qu;
120
+ `+g:g;break;case"event":he.event=g;break;case"id":de(he.id=g);break;case"retry":const M=parseInt(g,10);isNaN(M)||B(he.retry=M);break}}}}function Vh(de,B){const G=new Uint8Array(de.length+B.length);return G.set(de),G.set(B,de.length),G}function Zu(){return{data:"",event:"",id:"",retry:void 0}}const qa="text/event-stream",Kh=1e3,Gu="last-event-id";function Io(de,w){var g=w,{signal:B,headers:G,onopen:he,onmessage:_e,onclose:Oe,onerror:H,openWhenHidden:O,fetch:x}=g,k=Hu(g,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((M,a)=>{const d=Wn({},G);d.accept||(d.accept=qa);let c;function l(){c.abort(),document.hidden||v()}O||document.addEventListener("visibilitychange",l);let p=Kh,m=0;function h(){document.removeEventListener("visibilitychange",l),window.clearTimeout(m),c.abort()}B==null||B.addEventListener("abort",()=>{h(),M()});const u=x!=null?x:window.fetch,y=he!=null?he:Hh;function v(){return re(this,null,function*(){var _;c=new AbortController;try{const S=yield u(de,bi(Wn({},k),{headers:d,signal:c.signal}));yield y(S),yield $h(S.body,Uh(zh(b=>{b?d[Gu]=b:delete d[Gu]},b=>{p=b},_e))),Oe==null||Oe(),h(),M()}catch(S){if(!c.signal.aborted)try{const b=(_=H==null?void 0:H(S))!=null?_:p;window.clearTimeout(m),m=window.setTimeout(v,b)}catch(b){h(),a(b)}}})}v()})}function Hh(de){const B=de.headers.get("content-type");if(!(B!=null&&B.startsWith(qa)))throw new Error(`Expected content-type to be ${qa}, Actual: ${B}`)}let Ao;const Wh=new Uint8Array(16);function Zh(){if(!Ao&&(Ao=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ao))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ao(Wh)}const Pn=[];for(let de=0;de<256;++de)Pn.push((de+256).toString(16).slice(1));function Gh(de,B=0){return Pn[de[B+0]]+Pn[de[B+1]]+Pn[de[B+2]]+Pn[de[B+3]]+"-"+Pn[de[B+4]]+Pn[de[B+5]]+"-"+Pn[de[B+6]]+Pn[de[B+7]]+"-"+Pn[de[B+8]]+Pn[de[B+9]]+"-"+Pn[de[B+10]]+Pn[de[B+11]]+Pn[de[B+12]]+Pn[de[B+13]]+Pn[de[B+14]]+Pn[de[B+15]]}const Xh=typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Xu={randomUUID:Xh};function To(de,B,G){if(Xu.randomUUID&&!B&&!de)return Xu.randomUUID();de=de||{};const he=de.random||(de.rng||Zh)();if(he[6]=he[6]&15|64,he[8]=he[8]&63|128,B){G=G||0;for(let _e=0;_e<16;++_e)B[G+_e]=he[_e];return B}return Gh(he)}const Oo=128,Yh=20;class Jh extends Qn{constructor(B,G,he){super(B!=null?B:ui.create(),he),this.axiosInstance=B,this.getToken=G}getSessions(){return re(this,null,function*(){return this.get("/chatSession")})}postSession(B){return re(this,null,function*(){return this.post("/chatSession",B)})}getSession(B){return re(this,null,function*(){return this.get(`/chatSession/${B}`)})}updateSession(B,G){return re(this,null,function*(){return this.patch(`/chatSession/${B}`,G)})}deleteSession(B){return re(this,null,function*(){return this.delete(`/chatSession/${B}`)})}getSessionKnowledgeFiles(B,G){return re(this,null,function*(){return this.get(`chatSession/${B}/file`,G)})}postSessionKnowledgeFile(B,G){return re(this,null,function*(){return this.post(`chatSession/${B}/file`,G)})}deleteSessionKnowledgeFiles(B,G){return re(this,null,function*(){return this.delete(`chatSession/${B}/file`,G)})}getSessionKnowledgeFile(B,G){return re(this,null,function*(){return this.get(`chatSession/${B}/file/${G}`)})}deleteSessionKnowledgeFile(B,G){return re(this,null,function*(){return this.delete(`chatSession/${B}/file/${G}`)})}getSessionChatHistory(B,G){return re(this,null,function*(){return this.get(`/chatSession/${B}/history`,G)})}postMessage(B,G,he){return re(this,null,function*(){return this.post(`/config/tenantApplication?applicationId=${B}&sessionId=${G}`,he)})}postComments(B,G){return re(this,null,function*(){return this.post(`/chatSession/${B}/comments`,G)})}listApplications(){return re(this,null,function*(){return this.list("/applications")})}getApplication(){return re(this,null,function*(){return this.get("/config/tenantApplication")})}postApplication(B){return re(this,null,function*(){return this.post("/config/tenantApplication",{applicationId:B})})}getRecommendQues(){return re(this,null,function*(){return this.get("/recommendQues")})}postRecommendQues(B){return re(this,null,function*(){return this.post("/recommendQues",B)})}patchRecommendQues(B,G){return re(this,null,function*(){return this.patch(`/recommendQues/${B}`,G)})}delRecommendQues(B){return re(this,null,function*(){return this.delete(`/recommendQues/${B}`)})}getUploadTicket(B){return re(this,null,function*(){return this.get("/upload/ticket",B)})}uploadMinioFile(B,G){return re(this,null,function*(){return new Promise((he,_e)=>{const Oe=new FileReader;Oe.readAsArrayBuffer(G),Oe.onload=H=>{Fi.initMinio({endPoint:B.endpoints[0],useSSL:B.useSSL,accessKey:B.accessKey,secretKey:B.secretKey});const O=Buffer.from(H.target.result),x={"Content-Type":"application/octet-stream"};Fi.putObjectBuffer(B.bucket,B.fileKeys[0],O,x,k=>{if(k)throw console.error(k),Error(k);he(B.fileKeys[0])})}})})}uploadFile(B,G){return re(this,null,function*(){const he={files:[G.name],isv:"minio",knowledgeId:B};return this.postUploadTicket(he).then(_e=>this.uploadMinioFile(_e,G)).catch(_e=>{throw Error(_e)})})}uploadFiles(B,G){return re(this,null,function*(){const he={files:G.map(_e=>_e.name),isv:"minio",knowledgeId:B};return this.postUploadTicket(he).then(_e=>Promise.all(G.map(Oe=>this.uploadMinioFile(_e,Oe)))).catch(_e=>{throw Error(_e)})})}getKnowledge(B,G){return re(this,null,function*(){return this.get("/knowledge",{docId:B,name:G})})}getKnowledgeIdFileId(B,G){return re(this,null,function*(){return this.get(`/knowledge/${B}/file/${G}`)})}updateKnowledgeIdFileId(B,G,he){return re(this,null,function*(){return this.patch(`/chatSession/${B}/file/${G}`,he)})}getKnowledgeIdFileIdData(B,G,he){return re(this,null,function*(){return this.get(`/knowledge/${B}/file/${G}/data/${he}`)})}checkFileReady(B,G,he=()=>!0,_e=1e4,Oe){return re(this,null,function*(){return new Promise((H,O)=>{const x=()=>{if(!he()){clearInterval(k);return}G?this.getSessionKnowledgeFile(B,G).then(g=>{if(Oe==null||Oe(g),g.status===$i.Success&&(clearInterval(k),H(g)),g.status===$i.Failed){clearInterval(k);const M="该文件无法读取,请上传可编辑pdf,doc,docx文档";O(Error(M,{cause:{code:-101,message:M,data:g}}))}}).catch(g=>{clearInterval(k),O(g)}):H(null)},k=setInterval(x,_e);x()})})}postChat(B,G){return re(this,null,function*(){return this.post("/chat",B,G)})}postChatV2EventSource(B,G,he,_e){return re(this,null,function*(){var x;const Oe={code:0,messageId:To(),content:"",role:hr.Robot,sessionId:"",reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1},H=yield this.getToken(),O=bi(Wn({},G),{stream:!0});Io(`${(x=this.axiosInstance)==null?void 0:x.defaults.baseURL}/chat?sessionId=${B}`,{method:"POST",headers:{Authorization:`Bearer ${H}`,"Content-Type":"application/json"},body:JSON.stringify(O),openWhenHidden:!0,signal:he,onopen(k){return console.log("onopen"),k.ok&&_e!=null&&_e.onopen&&_e.onopen(),Promise.resolve()},onmessage(k){if(!k.data&&!k.event&&!k.id&&!k.retry)return;if(!k.data.includes('{"code": ')){let g={};try{g=JSON.parse(k.data)}catch(a){}(g==null?void 0:g.mtype)==="search"?Oe.searchReference.push(g):Oe.content=Oe.content+k.data;const M={content:Oe.content,role:1,reference:Oe.reference,searchReference:Oe.searchReference,messageId:Oe.messageId,sessionId:B,messageTime:Fa(new Date).format("YYYY-MM-DD HH:mm:ss"),comment:{isAgree:0},isReplying:!0};return(_e==null?void 0:_e.onmessage)&&_e.onmessage(M)}const w=JSON.parse(k.data);if(Oe.reference=w.data.reference,Oe.messageTime=w.data.messageTime,Oe.messageId=w.data.messageId,Oe.llmModel=w.data.llmModel,Oe.code=w.code,w.code===200){const g={code:Oe.code,content:Oe.content,role:1,reference:Oe.reference,searchReference:Oe.searchReference,messageId:Oe.messageId,sessionId:B,messageTime:Oe.messageTime,isReplying:!0};_e!=null&&_e.onmessage&&_e.onmessage(g)}},onerror(){_e!=null&&_e.onerror&&_e.onerror()},onclose(){const k={code:Oe.code,content:Oe.content,role:1,reference:Oe.reference,searchReference:Oe.searchReference,messageId:Oe.messageId,sessionId:B,messageTime:Oe.messageTime,comment:{isAgree:0},isReplying:!1};_e!=null&&_e.onclose&&_e.onclose(k)}})})}postChatV3EventSource(B,G,he,_e){return re(this,null,function*(){var x,k;const Oe={code:0,messageId:To(),content:"",role:hr.Robot,sessionId:"",reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1,reasoningContent:"",thinkingSecs:"",thinkingStatus:""},H=yield this.getToken(),O=bi(Wn({},G),{stream:!0});Io(`${(k=(x=this.axiosInstance)==null?void 0:x.defaults.baseURL)==null?void 0:k.replace("/v1","/v3")}/chat?sessionId=${B}`,{method:"POST",headers:{Authorization:`Bearer ${H}`,"Content-Type":"application/json"},body:JSON.stringify(O),openWhenHidden:!0,signal:he,onopen(w){return console.log("onopen"),w.ok&&_e!=null&&_e.onopen&&_e.onopen(),Promise.resolve()},onmessage(w){if(!w.data&&!w.event&&!w.id&&!w.retry)return;let g={};try{g=JSON.parse(w.data)}catch(d){console.log("eventData",w.data)}const M=g.data.type,a=g.data.payload;if(Oe.isReplying=!0,M==="error"&&(Oe.code=g.code,Oe.message=g.message),M==="search"&&(Oe.code=g.code,Oe.message=g.message,Oe.searchReference.push(a)),M==="thinking"){Oe.code=g.code,Oe.message=g.message,Oe.thinkingStatus="start";const c=a.choices[0];Oe.reasoningContent=Oe.reasoningContent+c.delta.reasoningContent}if(M==="thinkingOver"){Oe.code=g.code,Oe.message=g.message,Oe.thinkingStatus="end";const d=a.thinkingSecs;Oe.thinkingSecs=d}if(M==="text"){Oe.code=g.code,Oe.message=g.message;const c=a.choices[0];Oe.content=Oe.content+c.delta.content}if(M==="reference"&&(Oe.code=g.code,Oe.message=g.message,Oe.reference=a),M==="result"){Oe.code=g.code,Oe.message=g.message;const d=a.messageId,c=a.llmModel,l=a.messageTime;Oe.messageId=d,Oe.llmModel=c,Oe.messageTime=l,Oe.sessionId=B}_e!=null&&_e.onmessage&&_e.onmessage(Oe)},onerror(){_e!=null&&_e.onerror&&_e.onerror()},onclose(){const w=bi(Wn({},Oe),{isReplying:!1});_e!=null&&_e.onclose&&_e.onclose(w)}})})}getResourceToken(B){return re(this,null,function*(){return this.get("/resourceToken",B)})}postUploadTicket(B){return re(this,null,function*(){return this.post("/upload/ticket",B)})}postPrompts(B){return re(this,null,function*(){return this.post("/prompts",B)})}listPrompt(B){return re(this,null,function*(){return B!=null&&B.title&&B.title.length>Oo?[]:this.get("/prompts",B)})}getPrompt(B){return re(this,null,function*(){return this.get(`/prompts/${B}`)})}updatePrompt(B,G){return re(this,null,function*(){return this.put(`/prompts/${B}`,G)})}deletePrompt(B){return re(this,null,function*(){return this.delete(`/prompts/${B}`)})}chatSessionIdContext(B){return re(this,null,function*(){return this.patch(`/chatSession/${B}/context`,{})})}getBaseModelInfo(B){return re(this,null,function*(){return this.get("/data/v1/baseModelInfo",{serviceId:B})})}getApplicationId(B){return re(this,null,function*(){return this.get(`/applications/${B}`)})}getAppService(){return re(this,null,function*(){return this.get("/appservice")})}}window.Buffer=Yu.Buffer;class Qh extends Qn{constructor(B,G,he){super(B!=null?B:ui.create(),he),this.axiosInstance=B,this.getToken=G}getApplicationIdSessions(B){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session`)})}getApplicationId(B){return re(this,null,function*(){return this.get(`/data/v1/applications/${B}`)})}postApplicationIdSession(B){return re(this,null,function*(){return this.post(`/data/v1/application/${B.applicationId}/sessions`,B)})}getApplicationIdSessionsId(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/sessions/${G}`)})}patchApplicationIdSessionsId(B,G,he){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/sessions/${G}`,he)})}patchApplicationIdSessionsIdContext(B,G){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/sessions/${G}/context`,{})})}delApplicationIdSessionsId(B,G){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/sessions/${G}`)})}postComments(B,G,he){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/sessions/${G}/comments`,he)})}getChatHistorySessionId(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/chatHistory/${G}`)})}postChatV2EventSource(B,G,he,_e,Oe,H){return re(this,null,function*(){const O={code:0,messageId:To(),content:"",role:hr.Robot,sessionId:"",reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1},x=yield this.getToken(),k=bi(Wn({},he),{stream:!0});Io(`https://aiot-dev.glodon.com/api/cvforcepd/chat/v2/chat?applicationId=${B}&sessionId=${G}`,{method:"POST",headers:{Authorization:`Bearer ${x}`,"Content-Type":"application/json"},body:JSON.stringify(k),openWhenHidden:!0,signal:_e,onopen(w){return w.ok&&Oe!=null&&Oe.onopen&&Oe.onopen(),Promise.resolve()},onmessage(w){if(!w.data.includes('{"code": ')){let M={};try{M=JSON.parse(w.data)}catch(d){}(M==null?void 0:M.mtype)==="search"?O.searchReference.push(M):O.content=O.content+w.data;const a={content:O.content,role:1,reference:O.reference,searchReference:O.searchReference,messageId:O.messageId,sessionId:G,messageTime:Fa(new Date).format("YYYY-MM-DD HH:mm:ss"),comment:{isAgree:0},isReplying:!0};return(Oe==null?void 0:Oe.onmessage)&&Oe.onmessage(a)}const g=JSON.parse(w.data);if(O.reference=g.data.reference,O.searchReference=g.data.searchReference,O.messageTime=g.data.messageTime,O.messageId=g.data.messageId,O.llmModel=g.data.llmModel,O.content=g.data.content,O.code=g.code,g.code===200){const M={code:O.code,content:O.content,role:1,reference:O.reference,searchReference:O.searchReference,messageId:O.messageId,sessionId:G,messageTime:O.messageTime,isReplying:!0};Oe!=null&&Oe.onmessage&&Oe.onmessage(M)}else return H&&H({code:g.code,message:g.message})},onerror(){Oe!=null&&Oe.onerror&&Oe.onerror()},onclose(){const w={code:O.code,content:O.content,role:1,reference:O.reference,searchReference:O.searchReference,messageId:O.messageId,sessionId:G,messageTime:O.messageTime,comment:{isAgree:0},isReplying:!1};Oe!=null&&Oe.onclose&&Oe.onclose(w)}})})}getKnowledgeIdFileIdData(B,G,he){return re(this,null,function*(){return this.get(`/data/v1/knowledge/${B}/file/${G}/data/${he}`)})}getKnowledgeIdFileId(B,G){return re(this,null,function*(){return this.get(`/data/v1/knowledge/${B}/file/${G}`)})}getKnowledgeId(B){return re(this,null,function*(){return this.get(`/data/v1/knowledge/${B}`)})}getSessionKnowledgeFile(B,G){return re(this,null,function*(){return this.get(`/data/v1/chatSession/${B}/file/${G}`)})}sleep(B){return re(this,null,function*(){return new Promise(G=>{setTimeout(()=>{G("")},B)})})}getBaseModelInfo(B){return re(this,null,function*(){return this.get("/data/v1/baseModelInfo",{serviceId:B})})}uploadFiles(B,G){return re(this,null,function*(){const he={files:G.map(_e=>_e.name),isv:"minio",knowledgeId:B};return this.postTicket(he).then(_e=>Promise.all(G.map(Oe=>this.uploadMinioFile(_e.minio,Oe)))).catch(_e=>{throw Error(_e)})})}postFile(B,G,he){return re(this,null,function*(){const _e={files:[G.name],isv:"minio",knowledgeId:B,type:he};return this.postTicket(_e).then(Oe=>this.uploadMinioFile(Oe.minio,G)).catch(Oe=>{throw Error(Oe)})})}postTicket(B){return re(this,null,function*(){return this.post("/data/v1/ticket",B)})}uploadFile(B,G){return re(this,null,function*(){const he={files:[G.name],isv:"minio",knowledgeId:B};return this.postTicket(he).then(_e=>this.uploadMinioFile(_e.minio,G)).catch(_e=>{throw Error(_e)})})}uploadMinioFile(B,G){return re(this,null,function*(){return new Promise((he,_e)=>{const Oe=new FileReader;Oe.readAsArrayBuffer(G),Oe.onload=H=>{Fi.initMinio({endPoint:B.endpoints[0],useSSL:B.useSSL,accessKey:B.accessKey,secretKey:B.secretKey});const O=Buffer.from(H.target.result),x={"Content-Type":"application/octet-stream"};Fi.putObjectBuffer(B.bucket,B.fileKeys[0],O,x,k=>{if(k)throw console.error(k),Error(k);he(B.fileKeys[0])})}})})}getRecommendQues(B){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/recommendQues`)})}postPrompts(B,G){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/prompts`,G)})}listPrompt(B,G){return re(this,null,function*(){return G!=null&&G.title&&G.title.length>Oo?[]:this.get(`/data/v1/application/${B}/prompts`,G)})}getPrompt(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/prompts/${G}`)})}updatePrompt(B,G,he){return re(this,null,function*(){return this.put(`/data/v1/application/${B}/prompts/${G}`,he)})}deletePrompt(B,G){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/prompts/${G}`)})}postGeneques(B,G){return re(this,null,function*(){return this.post("/data/v1/geneques",B,{},G)})}getApplicationIdSessionKnowledgeFiles(B,G,he){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session/${G}/file`,he)})}checkFileReady(B,G,he,_e=()=>!0,Oe=1e4,H){return re(this,null,function*(){return new Promise((O,x)=>{const k=()=>{if(!_e()){clearInterval(w);return}he?this.getApplicationIdSessionKnowledgeFileId(B,G,he,{},!0).then(M=>{if(H==null||H(M),M.status===$i.Success&&(clearInterval(w),O(M)),M.status===$i.Failed){clearInterval(w);const a="该文件无法读取,请上传可编辑pdf,doc,docx文档";x(Error(a,{cause:{code:-101,message:a,data:M}}))}}).catch(M=>{clearInterval(w),x(M)}):O(null)},w=setInterval(k,Oe);k()})})}getApplicationIdSessionKnowledgeFileId(B,G,he,_e,Oe){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session/${G}/file/${he}`,_e,Oe)})}delApplicationIdSessionKnowledgeFileId(B,G,he){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/session/${G}/file/${he}`)})}postApplicationIdSessionKnowledgeSessionFile(B,G,he,_e,Oe){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/session/${G}/sessionfile`,he,_e,Oe)})}delApplicationIdSessionKnowledgeFile(B,G,he){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/session/${G}/file`,he)})}deleteSessionKnowledgeFiles(B,G){return re(this,null,function*(){return this.delete(`/data/v1/chatSession/${B}/file`,G)})}patchApplicationIdKnowledgeIdFileId(B,G,he,_e){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/session/${G}/file/${he}`,_e)})}getApplicationIdSessionIdPromptVariables(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session/${G}/promptVariables`)})}getApplicationIdPromptVariables(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/promptVariables`,G)})}patchApplicationIdSessionpromptVariablesId(B,G,he,_e){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/session/${G}/promptVariables/${he}`,_e)})}updateSession(B,G,he){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/sessions/${G}`,he)})}getSession(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/sessions/${G}`)})}}globalThis.Buffer=Yu.Buffer;class ep extends Qn{constructor(B,G,he){super(B!=null?B:ui.create(),he),this.axiosInstance=B,this.getToken=G}getBaseModelInfo(B){return re(this,null,function*(){return this.get("/data/v1/baseModelInfo",{serviceId:B})})}postGeneques(B){return re(this,null,function*(){return this.post("/data/v1/geneques",B)})}getApplicationId(B){return re(this,null,function*(){return this.get(`/data/v1/applications/${B}`)})}getApplicationIdSessions(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/sessionsa`,G)})}postApplicationIdSession(B){return re(this,null,function*(){return this.post(`/data/v1/application/${B.applicationId}/sessions`,B)})}getApplicationIdSessionsId(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/sessions/${G}`)})}patchApplicationIdSessionsId(B,G,he){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/sessions/${G}`,he)})}delApplicationIdSessionsId(B,G){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/sessions/${G}`)})}getApplicationIdPromptVariables(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/promptVariables`,G)})}getApplicationIdSessionIdPromptVariables(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session/${G}/promptVariables`)})}patchApplicationIdSessionpromptVariablesId(B,G,he,_e){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/session/${G}/promptVariables/${he}`,_e)})}deleteSessionKnowledgeFiles(B,G){return re(this,null,function*(){return this.delete(`/data/v1/chatSession/${B}/file`,G)})}getRecommendQues(B){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/recommendQues`)})}postRecommendQues(B,G){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/recommendQues`,G)})}delRecommendQues(B,G){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/recommendQues/${G}`)})}getChatHistorySessionId(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/chatHistory/${G}`)})}postPrompts(B,G){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/prompts`,G)})}listPrompt(B,G){return re(this,null,function*(){return G!=null&&G.title&&G.title.length>Oo?[]:this.get(`/data/v1/application/${B}/prompts`,G)})}getPrompt(B,G){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/prompts/${G}`)})}updatePrompt(B,G,he){return re(this,null,function*(){return this.put(`/data/v1/application/${B}/prompts/${G}`,he)})}deletePrompt(B,G){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/prompts/${G}`)})}patchApplicationIdSessionsIdContext(B,G){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/sessions/${G}/context`,{})})}getApplicationIdSessionKnowledgeFiles(B,G,he){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session/${G}/file`,he)})}postApplicationIdSessionKnowledgeFile(B,G,he){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/session/${G}/file`,he)})}postApplicationIdSessionKnowledgeSessionFile(B,G,he){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/session/${G}/sessionfile`,he)})}delApplicationIdSessionKnowledgeFile(B,G,he){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/session/${G}/file`,he)})}getApplicationIdSessionKnowledgeFileId(B,G,he,_e,Oe){return re(this,null,function*(){return this.get(`/data/v1/application/${B}/session/${G}/file/${he}`,_e,Oe)})}delApplicationIdSessionKnowledgeFileId(B,G,he){return re(this,null,function*(){return this.delete(`/data/v1/application/${B}/session/${G}/file/${he}`)})}patchApplicationIdKnowledgeIdFileId(B,G,he,_e){return re(this,null,function*(){return this.patch(`/data/v1/application/${B}/session/${G}/file/${he}`,_e)})}checkFileReady(B,G,he,_e=()=>!0,Oe=1e4,H){return re(this,null,function*(){return new Promise((O,x)=>{const k=()=>{if(!_e()){clearInterval(w);return}he?this.getApplicationIdSessionKnowledgeFileId(B,G,he,{},!0).then(M=>{if(H==null||H(M),M.status===$i.Success&&(clearInterval(w),O(M)),M.status===$i.Failed){clearInterval(w);const a="该文件无法读取,请上传可编辑pdf,doc,docx文档";x(Error(a,{cause:{code:-101,message:a,data:M}}))}}).catch(M=>{clearInterval(w),x(M)}):O(null)},w=setInterval(k,Oe);k()})})}uploadFile(B,G){return re(this,null,function*(){const he={files:[G.name],isv:"minio",knowledgeId:B};return this.postUploadTicket(he).then(_e=>this.uploadMinioFile(_e.minio,G)).catch(_e=>{throw Error(_e)})})}postUploadTicket(B){return re(this,null,function*(){return this.post("/data/v1/ticket",B)})}uploadMinioFile(B,G){return re(this,null,function*(){return new Promise((he,_e)=>{const Oe=new FileReader;Oe.readAsArrayBuffer(G),Oe.onload=H=>{Fi.initMinio({endPoint:B.endpoints[0],useSSL:B.useSSL,accessKey:B.accessKey,secretKey:B.secretKey});const O=Buffer.from(H.target.result),x={"Content-Type":"application/octet-stream"};Fi.putObjectBuffer(B.bucket,B.fileKeys[0],O,x,k=>{if(k)throw console.error(k),Error(k);he(B.fileKeys[0])})}})})}postComments(B,G,he){return re(this,null,function*(){return this.post(`/data/v1/application/${B}/sessions/${G}/comments`,he)})}getKnowledgeId(B){return re(this,null,function*(){return this.get(`/data/v1/knowledge/${B}`)})}getKnowledgeIdFileId(B,G){return re(this,null,function*(){return this.get(`/data/v1/knowledge/${B}/file/${G}`)})}getKnowledgeIdFileIdData(B,G,he){return re(this,null,function*(){return this.get(`/data/v1/knowledge/${B}/file/${G}/data/${he}`)})}postChatV2EventSource(B,G,he,_e,Oe){return re(this,null,function*(){var k;const H={code:0,messageId:To(),content:"",role:hr.Robot,sessionId:"",reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1,message:""},O=yield this.getToken(),x=bi(Wn({},he),{stream:!0});Io(`${(k=this.axiosInstance)==null?void 0:k.defaults.baseURL}/chat/v2/chat?applicationId=${B}&sessionId=${G}`,{method:"POST",headers:{Authorization:`Bearer ${O}`,"Content-Type":"application/json"},body:JSON.stringify(x),openWhenHidden:!0,signal:_e,onopen(w){return w.ok&&Oe!=null&&Oe.onopen&&Oe.onopen(),Promise.resolve()},onmessage(w){if(!w.data&&!w.event&&!w.id&&!w.retry)return;if(!w.data.includes('{"code": ')){let M={};try{M=JSON.parse(w.data)}catch(d){}(M==null?void 0:M.mtype)==="search"?H.searchReference.push(M):H.content=H.content+w.data;const a={content:H.content,role:1,reference:H.reference,searchReference:H.searchReference,messageId:H.messageId,sessionId:G,messageTime:Fa(new Date).format("YYYY-MM-DD HH:mm:ss"),comment:{isAgree:0},isReplying:!0};return(Oe==null?void 0:Oe.onmessage)&&Oe.onmessage(a)}const g=JSON.parse(w.data);if(H.reference=g.data.reference,H.messageTime=g.data.messageTime,H.messageId=g.data.messageId,H.llmModel=g.data.llmModel,H.code=g.code,H.message=g.message,g.code===200){const M={code:H.code,content:H.content,role:1,reference:H.reference,searchReference:H.searchReference,messageId:H.messageId,sessionId:G,messageTime:H.messageTime,isReplying:!0};Oe!=null&&Oe.onmessage&&Oe.onmessage(M)}},onerror(){Oe!=null&&Oe.onerror&&Oe.onerror()},onclose(){const w={code:H.code,content:H.content,role:1,reference:H.reference,searchReference:H.searchReference,messageId:H.messageId,sessionId:G,messageTime:H.messageTime,comment:{isAgree:0},isReplying:!1,message:H.message};Oe!=null&&Oe.onclose&&Oe.onclose(w)}})})}postChat(B,G){return re(this,null,function*(){var he;return this.post(`${(he=this.axiosInstance)==null?void 0:he.defaults.baseURL}/chat/v2/chat`,B,G)})}}var sc=(de=>(de[de.Dialog=0]="Dialog",de[de.TextGenerate=1]="TextGenerate",de[de.FileSummery=2]="FileSummery",de))(sc||{}),uc=(de=>(de[de.Robot=1]="Robot",de[de.User=2]="User",de[de.System=3]="System",de))(uc||{}),cc=(de=>(de[de.Processing=1]="Processing",de[de.Done=2]="Done",de[de.Failed=3]="Failed",de))(cc||{}),lc=(de=>(de[de.File=0]="File",de[de.WebLink=1]="WebLink",de))(lc||{}),hc=(de=>(de[de.Processing=1]="Processing",de[de.Success=2]="Success",de[de.Failed=3]="Failed",de))(hc||{}),pc=(de=>(de.InputFile="ui.input.file",de.LLMModel="ui.llm.model",de))(pc||{}),fc=(de=>(de[de.Idle=0]="Idle",de[de.Quoted=1]="Quoted",de))(fc||{}),dc=(de=>(de[de.Basic=0]="Basic",de[de.Pro=1]="Pro",de))(dc||{}),mc=(de=>(de[de.Dialog=0]="Dialog",de[de.Text=1]="Text",de[de.Agent=2]="Agent",de[de.All=3]="All",de))(mc||{});class tp extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}getKnowledge(B,G){return re(this,null,function*(){return this.get("/knowledge",{docId:B,name:G})})}postKnowledge(B){return re(this,null,function*(){return this.post("/knowledge",B)})}getKnowledgeId(B){return re(this,null,function*(){return this.get(`/knowledge/${B}`)})}patchKnowledgeId(B,G){return re(this,null,function*(){return this.patch(`/knowledge/${B}`,G)})}delKnowledgeId(B){return re(this,null,function*(){return this.delete(`/knowledge/${B}`)})}getKnowledgeIdFile(B){return re(this,null,function*(){return this.get(`/knowledge/${B}/file`)})}getKnowledgeIdFileList(B,G){return re(this,null,function*(){return this.listPaged(`/knowledge/${B}/file`,G)})}postKnowledgeIdFile(B,G){return re(this,null,function*(){return this.post(`/knowledge/${B}/file`,G)})}getUploadTicket(B){return re(this,null,function*(){return this.get("/upload/ticket",B)})}delKnowledgeIdFileFid(B,G){return re(this,null,function*(){return this.delete(`/knowledge/${B}/file/${G}`)})}patchKnowledgeIdFileFid(B,G,he){return re(this,null,function*(){return this.patch(`/knowledge/${B}/file/${G}`,he)})}listSessions(B,G){return re(this,null,function*(){return this.get(`/application/${B}/sessionsa`,G)})}postSession(B,G){return re(this,null,function*(){return this.post(`/application/${B}/sessions`,G)})}getSession(B,G){return re(this,null,function*(){return this.get(`/application/${B}/sessions/${G}`)})}patchSessionsId(B,G,he){return re(this,null,function*(){return this.patch(`/application/${B}/sessions/${G}`,he)})}delSessionsId(B,G){return re(this,null,function*(){return this.delete(`/application/${B}/sessions/${G}`)})}getSessionKnowledgeFile(B,G,he){return re(this,null,function*(){return this.get(`/application/${B}session/${G}/file/${he}`)})}postSessionKnowledgeFile(B,G,he){return re(this,null,function*(){return this.post(`/application/${B}session/${G}/file`,he)})}postComments(B,G,he){return re(this,null,function*(){return this.post(`/application/${B}/sessions/${G}/comments`,he)})}getChatHistorySessionId(B,G,he){return re(this,null,function*(){return this.get(`application/${B}/chatHistory/${G}`,he)})}postChatHistorySessionId(B,G){return re(this,null,function*(){return this.post(`/chatHistory/${B}`,G)})}getApplications(B){return re(this,null,function*(){return this.get("/applications",B)})}postApplication(B){return re(this,null,function*(){return this.post("/applications",B)})}getApplicationId(B){return re(this,null,function*(){return this.get(`/applications/${B}`)})}patchApplicationId(B,G){return re(this,null,function*(){return this.patch(`/applications/${B}`,G)})}delApplicationId(B){return re(this,null,function*(){return this.delete(`/applications/${B}`)})}getApplicationIdSessions(B){return re(this,null,function*(){return this.get(`/applications/${B}/session`)})}patchFileId(B,G){return re(this,null,function*(){return this.patch(`/file/${B}`,G)})}getCvforceResource(B){return re(this,null,function*(){return this.get("/cvforce/resource",B)})}postKnowledgeIdComposedFiles(B,G){return re(this,null,function*(){return this.post(`/knowledge/${B}/composedFiles`,G)})}getTokensApplicationId(B,G){return re(this,null,function*(){return this.get(`/tokens/${B}`,G)})}getTokens(B){return re(this,null,function*(){return this.get("/tokens",B)})}uploadMinioFile(B,G){return re(this,null,function*(){return new Promise((he,_e)=>{const Oe=new FileReader;Oe.readAsArrayBuffer(G),Oe.onload=H=>{Fi.initMinio({endPoint:B.endpoints[0],useSSL:B.useSSL,accessKey:B.accessKey,secretKey:B.secretKey});const O=Buffer.from(H.target.result),x={"Content-Type":"application/octet-stream"};Fi.putObjectBuffer(B.bucket,B.fileKeys[0],O,x,k=>{if(k)throw console.error(k),Error(k);he(B.fileKeys[0])})}})})}uploadFile(B,G){return re(this,null,function*(){const he={files:[G.name],isv:"minio",knowledgeId:B};return this.getUploadTicket(he).then(_e=>this.uploadMinioFile(_e.minio,G)).catch(_e=>{throw Error(_e)})})}uploadFiles(B,G){return re(this,null,function*(){const he={files:G.map(_e=>_e.name),isv:"minio",knowledgeId:B};return this.getUploadTicket(he).then(_e=>Promise.all(G.map(Oe=>this.uploadMinioFile(_e.minio,Oe)))).catch(_e=>{throw Error(_e)})})}getAecModels(){return re(this,null,function*(){return this.get("/aecModels")})}postTextFilter(B){return re(this,null,function*(){return this.post("/textFilter",B)})}getTenantModel(){return re(this,null,function*(){return this.get("/tenantModel")})}getPrompts(B,G){return re(this,null,function*(){return this.get(`application/${B}/promptVariables`,G)})}postPrompt(B,G){return re(this,null,function*(){return this.post(`application/${B}/promptVariables`,G)})}patchPromptId(B,G,he){return re(this,null,function*(){return this.patch(`application/${B}/promptVariables/${G}`,he)})}delPromptId(B,G){return re(this,null,function*(){return this.delete(`application/${B}/promptVariables/${G}`)})}getSessionPrompts(B){return re(this,null,function*(){return this.get(`session/${B}/promptVariables`)})}patchSessionPromptId(B,G,he){return re(this,null,function*(){return this.patch(`session/${G}/promptVariables/${B}`,he)})}getApplicationIdSessionIdPromptVariables(B,G){return re(this,null,function*(){return this.get(`/application/${B}/session/${G}/promptVariables`)})}patchApplicationIdSessionpromptVariablesId(B,G,he,_e){return re(this,null,function*(){return this.patch(`/application/${B}/session/${G}/promptVariables/${he}`,_e)})}getPresetApplication(B){return re(this,null,function*(){return this.get("presetApplication",B)})}postKnowledgeConfig(B){return re(this,null,function*(){return this.post("/knowledgeConfig",B)})}getKnowledgeConfig(B){return re(this,null,function*(){return this.get(`/knowledgeConfig/${B}`)})}patchKnowledgeConfig(B,G){return re(this,null,function*(){return this.patch(`/knowledgeConfig/${B}`,G)})}getKnowledgeIdFileId(B,G){return re(this,null,function*(){return this.get(`/knowledge/${B}/file/${G}`)})}getKnowledgeIdFileIdData(B,G,he){return re(this,null,function*(){return this.listPaged(`/knowledge/${B}/file/${G}/data`,he)})}postKnowledgeIdFileIdData(B,G,he){return re(this,null,function*(){return this.post(`/knowledge/${B}/file/${G}/data`,{data:he})})}patchKnowledgeIdFileIdData(B,G,he,_e){return re(this,null,function*(){return this.patch(`/knowledge/${B}/file/${G}/data/${he}`,{data:_e})})}delKnowledgeIdFileIdDataDid(B,G,he){return re(this,null,function*(){return this.delete(`/knowledge/${B}/file/${G}/data/${he}`)})}getPresetKnowledge(B){return re(this,null,function*(){return this.get("/presetKnowledge",B)})}patchSessionsIdContext(B){return re(this,null,function*(){return this.patch(`/sessions/${B}/context`,{})})}postResourceToken(B){return re(this,null,function*(){return this.post("/resourceToken",B)})}getApplicationIdSession(B){return re(this,null,function*(){return this.get(`/application/${B}/session`)})}patchApplicationIdSessionsIdContext(B,G){return re(this,null,function*(){return this.patch(`/application/${B}/sessions/${G}/context`,{})})}postApplicationIdSessions(B,G){return re(this,null,function*(){return this.post(`/application/${B}/sessions`,G)})}getApplicationIdChatHistorySessionId(B,G){return re(this,null,function*(){return this.get(`/application/${B}/chatHistory/${G}`)})}postApplicationIdChatHistorySessionIdComments(B,G,he){return re(this,null,function*(){return this.post(`/application/${B}/sessions/${G}/comments`,he)})}getApplicationIdPrompts(B,G){return re(this,null,function*(){return this.get(`/application/${B}/promptVariables`,G)})}postKnowledgeSourceFile(B,G,he){return re(this,null,function*(){return this.post(`/knowledge/${B}/sourceFile/${G}`,he)})}getMetadata(B){return re(this,null,function*(){return this.get("/metadata",B)})}postGeneques(B){return re(this,null,function*(){return this.post("/geneques",B)})}getBaseModel(B){return re(this,null,function*(){return this.get("/baseModelInfo",{serviceId:B})})}}var gc=(de=>(de[de.inital=0]="inital",de[de.success=1]="success",de[de.processing=2]="processing",de[de.failed=3]="failed",de))(gc||{}),vc=(de=>(de[de.inital=0]="inital",de[de.processing=1]="processing",de[de.paused=2]="paused",de[de.failed=3]="failed",de[de.done=4]="done",de))(vc||{}),Ji=(de=>(de.Pending="PENDING",de.Started="STARTED",de.Failure="FAILURE",de.Success="SUCCESS",de.Abort="ABORT",de))(Ji||{}),yc=(de=>(de.Pending="PENDING",de.Started="STARTED",de.Success="SUCCESS",de.Failure="FAILURE ",de))(yc||{}),bc=(de=>(de[de.all=0]="all",de[de.general=1]="general",de[de.major=2]="major",de))(bc||{});function np(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(de){const B=Math.random()*16|0;return(de=="x"?B:B&3|8).toString(16)})}class ip extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}getDatasets(B){return re(this,null,function*(){return this.get("/datasets",B)})}postDatasets(B){return re(this,null,function*(){return this.post("/datasets",B)})}getDatasetsId(B){return re(this,null,function*(){return this.get(`/datasets/${B}`)})}delDatasetsId(B){return re(this,null,function*(){return this.delete(`/datasets/${B}`)})}patchDatasetsId(B,G){return re(this,null,function*(){return this.patch(`/datasets/${B}`,G)})}getDatasetsIdVersions(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions?pageNo=${G}&pageSize=${he}`)})}getDatasetsIdVersionsVidNextno(B){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/nextno`)})}getS3Iam(B,G){return re(this,null,function*(){return this.post("/s3/iam",{datasetId:B,publicBucket:G})})}postDatasetsIdVersions(B,G){return re(this,null,function*(){return this.post(`/datasets/${B}/versions`,G)})}patchDatasetsIdVersionsVid(B,G,he){return re(this,null,function*(){return this.patch(`/datasets/${B}/versions/${G}`,he)})}getDatasetsIdVersionsVid(B,G){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}`)})}delDatasetsIdVersionsVid(B,G){return re(this,null,function*(){return this.delete(`/datasets/${B}/versions/${G}`)})}getDatasetsIdVersionsNo(B,G){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/no`,G)})}listDatasetsIdLabels(B,G){return re(this,null,function*(){return this.listPaged(`/datasets/${B}/labels`,G)})}getDatasetsIdVersionsVidLabelcount(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/labelcount`,he)})}getDatasetsIdVersionsVidSamples(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/samples`,he)})}updateSamples(B,G,he,_e){return re(this,null,function*(){return this.patch(`/datasets/${B}/versions/${G}/samples`,{samples:he,confirmStatus:_e})})}delDatasetsIdVersionsVidSamplesId(B,G,he){return re(this,null,function*(){return this.delete(`/datasets/${B}/versions/${G}/samples/${he}`)})}delDatasetsIdVersionsVidLlmSamplesId(B,G,he){return re(this,null,function*(){return this.delete(`datasets/${B}/versions/${G}/llmSamples/${he}`)})}getDatasetsIdVersionsVidSsamplesSid(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/samples/${he}`).then(_e=>bi(Wn({},_e),{labels:_e.labels?_e.labels.map(Oe=>bi(Wn({},Oe),{uuid:Oe.uuid||np()})):[]}))})}getImportInfo(){return re(this,null,function*(){return this.get("/importInfo")})}getOptionsMarkType(){return re(this,null,function*(){return this.get("/options/markType")})}getOptionsOcrMarkTmpl(){return re(this,null,function*(){return this.get("/options/ocrMarkTmpl")})}getOptionsLlmMarkTmpl(){return re(this,null,function*(){return this.get("/options/llmMarkTmpl")})}getOptionsLlmResponseSort(){return re(this,null,function*(){return this.get("/options/llmResponseSort")})}getOptionsImgproxy(){return re(this,null,function*(){return this.get("/options/imgproxy")})}getDeduplication(B,G){return re(this,null,function*(){return this.post("/files/deduplication",{md5s:B,datasetId:G})})}postDatasetsIdVersionsVidSamples(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/samples`,he)})}patchDatasetsIdVersionsVidSamples(B,G,he){return re(this,null,function*(){return this.patch(`/datasets/${B}/versions/${G}/samples`,he)})}listCategory(B){return re(this,null,function*(){return this.list(`/datasets/${B}/catagory`)})}postCategory(B,G){return re(this,null,function*(){return this.post(`/datasets/${B}/catagory`,{name:G})})}updateCategory(B,G,he){return re(this,null,function*(){return this.patch(`/datasets/${B}/catagory/${G}`,{name:he})})}deleteCategory(B,G){return re(this,null,function*(){return this.delete(`/datasets/${B}/catagory/${G}`)})}postDatasetIdVersionIdFilesDeduplication(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/files/deduplication`,he)})}postDatasetIdVersionIdLlmSamples(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/llmSamples`,he)})}patchDatasetIdVersionIdLlmSampleId(B,G,he,_e){return re(this,null,function*(){return this.patch(`/datasets/${B}/versions/${G}/llmSamples/${he}`,_e)})}postLlmSamplesSubsection(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/llmSamples/subsection`,he)})}generatellmSamplesSubsection(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/llmSamples/subsection`,he)})}listSubsection(B,G,he,_e){return re(this,null,function*(){return this.listPaged(`/datasets/${B}/versions/${G}/llmSamples/${he}/subsection`,_e)})}postSubsection(B,G,he,_e){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/llmSamples/${he}/subsection`,_e)})}updateSubsection(B,G,he,_e,Oe){return re(this,null,function*(){return this.patch(`/datasets/${B}/versions/${G}/llmSamples/${he}/subsection/${_e}`,Oe)})}deleteSubsection(B,G,he,_e){return re(this,null,function*(){return this.delete(`/datasets/${B}/versions/${G}/llmSamples/${he}/subsection/${_e}`)})}llmSupervisedRecordGenerate(B){return re(this,null,function*(){return this.post("/llm/supervisedRecord/generatedata",B)})}llmSupervisedRecordAbordTask(B){return re(this,null,function*(){return this.post("/llm/supervisedRecord/abortTask",B)})}llmSupervisedRecordPauseTask(B){return re(this,null,function*(){return this.post("/llm/supervisedRecord/pauseTask",B)})}getLlmSupervisedRecord(B){return re(this,null,function*(){return this.get(`/llm/supervisedRecord/${B}`)})}getDatasetsIdVersionsIdLlmSamplesV2(B,G,he){return re(this,null,function*(){return this.listPaged(`/datasets/${B}/versions/${G}/llmSamplesV2`,he)})}postDatasetsIdVersionsIdLlmSamplesV2(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/llmSamplesV2`,he)})}getDatasetsIdVersionsIdLlmSamplesV2Sid(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/llmSamplesV2/${he}`)})}patchDatasetsIdVersionsIdLlmSamplesV2Sid(B,G,he,_e){return re(this,null,function*(){return this.patch(`/datasets/${B}/versions/${G}/llmSamplesV2/${he}`,_e)})}delDatasetsIdVersionsIdLlmSamplesV2Sid(B,G,he){return re(this,null,function*(){return this.delete(`/datasets/${B}/versions/${G}/llmSamplesV2/${he}`)})}getDatasetsIdVersionsIdExportLLMSamples(B,G){return re(this,null,function*(){return this.getNonStandard(`/datasets/${B}/versions/${G}/exportLLMSamples`,{responseType:"blob"})})}llmSamplesSubsectionView(B,G,he,_e){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/llmSamples/${he}/previewSubsection`,_e)})}listLabels(B,G){return re(this,null,function*(){return this.listPaged(`/datasets/${B}/labels`,G)})}postLabels(B,G){return re(this,null,function*(){return this.post(`/datasets/${B}/labels`,G)})}patchLabel(B,G,he){return re(this,null,function*(){return this.patch(`/datasets/${B}/labels/${G}`,he)})}deleteLabel(B,G){return re(this,null,function*(){return this.delete(`/datasets/${B}/labels/${G}`)})}postUploadPicsZip(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/uploadzip`,he)})}checkFileResult(B,G,he,_e=1e3,Oe){return re(this,null,function*(){return new Promise((H,O)=>{const x=()=>{B?this.getUploadPicsZipResult(B,G,he).then(w=>{const g=w[0];if(g.state===Ji.Started||g.state===Ji.Pending){const M=g.process||0;Oe&&Oe(M)}if(g.state===Ji.Success&&(clearInterval(k),H(g.lastTaskResult)),g.state===Ji.Failure){clearInterval(k);const M="该文件处理失败";O(Error(M,{cause:{code:-101,message:M,data:g.lastTaskResult}}))}g.state===Ji.Abort&&(clearInterval(k),H(g.lastTaskResult))}).catch(w=>{clearInterval(k),O(w)}):H(null)},k=setInterval(x,_e);x()})})}getUploadPicsZipResult(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/uploadzip`,he)})}getUploadabort(B,G,he){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/uploadabort`,he)})}postPreLabelTask(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/prelabeltask`,he)})}getPreLabelTask(B,G){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/prelabeltask`)})}delPreLabelTask(B,G,he){return re(this,null,function*(){return this.delete(`/datasets/${B}/versions/${G}/prelabeltask/${he}`)})}getAllConfirmSamples(B,G){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/confirm`)})}getDataSetCopyTask(B,G){return re(this,null,function*(){return this.get(`/datasets/${B}/versions/${G}/copyDataset`)})}postDataSetCopyTask(B,G,he){return re(this,null,function*(){return this.post(`/datasets/${B}/versions/${G}/copyDataset`,he)})}deleteDatasetCopyTask(B,G,he){return re(this,null,function*(){return this.delete(`/datasets/${B}/versions/${G}/copyDataset`,he)})}}class rp extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}listModelServices(B){return re(this,null,function*(){return this.listPaged("/modelService",B)})}postModelService(B){return re(this,null,function*(){return this.post("/modelService",B)})}getModelServiceById(B){return re(this,null,function*(){return this.get(`/modelService/${B}`)})}patchModelServiceById(B,G){return re(this,null,function*(){return this.patch(`/modelService/${B}`,G)})}deleteModelService(B){return re(this,null,function*(){return this.delete(`/modelService/${B}`)})}getEnableModelService(B){return re(this,null,function*(){return this.get(`/modelService/${B}/enable`)})}getDisableModelService(B){return re(this,null,function*(){return this.get(`/modelService/${B}/disable`)})}getModelServiceList(B){return re(this,null,function*(){return this.get(`/modelService/${B}/list`)})}getModelServiceDelist(B){return re(this,null,function*(){return this.get(`/modelService/${B}/delist`)})}importService(B){return re(this,null,function*(){return this.post("/modelService/import",B)})}patchModelService(B,G){return re(this,null,function*(){return this.patch(`/modelService/${B}`,G)})}openModelServices(B){return re(this,null,function*(){return this.get("/openModelService",B)})}importMirronService(B){return re(this,null,function*(){return this.post("/modelService/importMirron",B)})}patchMirronService(B,G){return re(this,null,function*(){return this.patch(`/modelService/importMirron/${B}`,G)})}getServiceSignList(B){return re(this,null,function*(){return this.get("/serviceSign",B)})}}var wc=(de=>(de[de.minio=0]="minio",de[de.pvc=1]="pvc",de))(wc||{}),xc=(de=>(de.common="A100",de.idcard="A104",de.bankcard="A108",de.page="A112",de.rmwatermark="A115",de.seal="A116",de.rmseal="A117",de.table="A118",de))(xc||{}),Mc=(de=>(de.User="user",de.Assistant="assistant",de.System="system",de))(Mc||{});class op extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}ocr(B,G){return re(this,null,function*(){if(G.modelStore===wc.pvc){const he=this.convertToBatchParams(G),_e=yield this.ocrPvcBatch(B,he);return this.convertToMinioResult(_e)}else return this.ocrMinio(B,G)})}convertToBatchParams(B){return{pages:[{image:B.image}]}}convertToMinioResult(B){var G;return(G=B.pages)==null?void 0:G.flatMap(he=>{var _e;return((_e=he.textItems)==null?void 0:_e.map(Oe=>({box:Oe.bbox})))||[]})}ocrMinio(B,G){return re(this,null,function*(){return G.image&&G.image.split("base64,").length>1&&(G.image=G.image.split("base64,")[1]),this.post(`/v2/infer?serviceId=${B}`,G)})}ocrPvcBatch(B,G){return re(this,null,function*(){return this.post(`/v2/infer?serviceId=${B}`,G)})}getSleep(B){return re(this,null,function*(){return new Promise(G=>{setTimeout(()=>{G(!0)},B*1e3)})})}postChatCompletions(B){return re(this,null,function*(){return this.postNonStandard("/v1/chat/completions",B)})}detection(B,G){return re(this,null,function*(){return this.post(`/v2/infer?serviceId=${B}`,G)})}getBaseModel(B){return re(this,null,function*(){return this.get("/v1/baseModel",{serviceId:B})})}postEmbeddings(B){return re(this,null,function*(){return this.postNonStandard("/v1/embeddings",B)})}}class ap extends Qn{constructor(B,G){super(B!=null?B:ui.create(),G)}listTasks(B){return re(this,null,function*(){return this.get("/tasks",B)})}createTask(B){return re(this,null,function*(){return this.post("/tasks",B)})}getTask(B){return re(this,null,function*(){return this.get(`/tasks/${B}`)})}updateTask(B,G){return re(this,null,function*(){return this.patch(`/tasks/${B}`,G)})}deleteTask(B){return re(this,null,function*(){return this.delete(`/tasks/${B}`)})}listTaskFiles(B){return re(this,null,function*(){return this.get(`/tasks/${B}/files`)})}uploadTaskFile(B,G){return re(this,null,function*(){return this.post(`/tasks/${B}/files`,G)})}listWorkflowExecutions(B){return re(this,null,function*(){return this.get("/workflows/executions",B)})}getWorkflowExecution(B){return re(this,null,function*(){return this.get(`/workflows/executions/${B}`)})}startWorkflowExecution(B){return re(this,null,function*(){return this.post("/workflows/executions",B)})}updateWorkflowExecution(B,G){return re(this,null,function*(){return this.patch(`/workflows/executions/${B}`,G)})}cancelWorkflowExecution(B){return re(this,null,function*(){return this.post(`/workflows/executions/${B}/cancel`,{})})}getUploadTicket(B){return re(this,null,function*(){return this.get("/upload/ticket",B)})}}exports.AECPilotApi=Jh;exports.AIShopApi=op;exports.AecKnowledgeFileStatus=$i;exports.AecpilotUIApi=ep;exports.AgentClientUIApi=Qh;exports.ApplicationTypes=mc;exports.ArchiGptUIKeys=pc;exports.AuthApi=Bh;exports.BaseApi=Qn;exports.CVForceApi=tp;exports.CVForceDatahubApi=ip;exports.ChatMessageRole=uc;exports.ChatMode=sc;exports.ContralyzeApi=ap;exports.DataApi=Dh;exports.FileProccessStatus=cc;exports.GenerateStatus=vc;exports.IChatRole=Mc;exports.IDatasetLevel=bc;exports.IFileOrigin=ac;exports.IHistoryRole=hr;exports.ISourceType=ic;exports.ISpacetwinStatus=tc;exports.IThinkingStatus=oc;exports.IversionInfo=rc;exports.KnowledgeFileStatus=hc;exports.KnowledgeType=dc;exports.ModelServiceApi=rp;exports.OCRServiceId=xc;exports.PROMPT_SEARCH_MAX_LENGTH=Oo;exports.PROMPT_TITLE_MAX_LENGTH=Yh;exports.PanoramaApi=Lh;exports.PanoramaPluginMgrApi=qh;exports.PreLabelTaskStatus=yc;exports.PromptStatus=fc;exports.RecordStatus=ec;exports.SourceType=lc;exports.SubsectionStatus=gc;exports.UploadZipsStatus=Ji;exports.needPrettifyMsg=Ju;exports.prettifyMsg=Qu;