UNPKG

minidev

Version:

支付宝小程序开发 cli(minidev)提供了常用的支付宝系小程序开发指令,能够方便地在各类平台上快速进行小程序的开发、预览、上传等操作。

2 lines 614 kB
/*! For license information please see main.js.LICENSE.txt */ (()=>{var e={76:e=>{"use strict";e.exports=Function.prototype.call},119:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n),Object.defineProperty(e,a,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TacosCloudServiceSDK=void 0;const s=n(611),c=i(n(2505)),l=r(n(7186));t.TacosCloudServiceSDK=class TacosCloudServiceSDK{constructor(e){if(!(null==e?void 0:e.clientId))throw new Error("clientId is necessary");this.host="prepub"===e.env?"https://hybrid-pre.antfin-inc.com":"https://hybrid.antfin-inc.com",this.clientId=e.clientId,this.cacheSet=new Set}async schema(e){var t;const{schema:n,timeout:a,deviceId:o}=e;if(!n)throw new Error("Empty schema");if(this.cacheSet.size>5)throw new Error("最大并发请求为5,请控制请求速率");const r=(0,s.v4)();this.cacheSet.add(r);const i={requestId:r,schema:n,screenshotInterval:a?1e3*a:5e3,clientId:this.clientId,mode:"fast"};let u;o&&(i.deviceId=o),console.log("[call] handle request: ",n);try{u=null===(t=await c.default.get(`${this.host}/cloudDevice/acd/task?${l.stringify(i)}`))||void 0===t?void 0:t.data,console.log("schema method response: ",u)}catch(e){console.error("schema method failed: ",e),u={success:!1,errorMessage:null==e?void 0:e.message}}return this.cacheSet.delete(r),u}async listDevices(){try{const e=await c.default.get(`${this.host}/cloudDevice/acd/list`);return console.log("list result: ",e),e.data||[]}catch(e){return console.error("list devices failed: ",e),[]}}}},148:(e,t,n)=>{"use strict";var a=n(9762),o=Array.prototype.forEach,r=Object.create;e.exports=function(e){var t=r(null);return o.call(arguments,(function(e){a(e)&&function(e,t){var n;for(n in e)t[n]=e[n]}(Object(e),t)})),t}},181:(e,t,n)=>{"use strict";var a=n(8175),o={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!a(e)&&hasOwnProperty.call(o,typeof e)}},214:(e,t,n)=>{"use strict";e.exports=n(525)()?String.prototype.contains:n(1521)},251:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Math.round;function a(e){var t=new Date(e);return t.setHours(0,0,0,0),t}t.default=function(e,t){var o,r,i,s,c,l=n((t=+t)-(e=+e)),u=n(l/1e3),p=n(u/60),d=n(p/60),m=(o=e,r=a(t),i=a(o),s=r.getTime()-6e4*r.getTimezoneOffset(),c=i.getTime()-6e4*i.getTimezoneOffset(),Math.round((s-c)/864e5)),f=n(m/7),h=400*m/146097,v=n(12*h),g=n(h);return{millisecond:l,second:u,"second-short":u,minute:p,"minute-short":p,hour:d,"hour-short":d,day:m,"day-short":m,week:f,"week-short":f,month:v,"month-short":v,year:g,"year-short":g}}},271:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEnterPointUrl=void 0;t.getEnterPointUrl=e=>e?"http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/w_local/lyraHtml/":"https://gw.alipayobjects.com/os/lyra/integration/dist/web/latest/"},311:e=>{"use strict";e.exports=function(e,t,n,a,o,r,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,a,o,r,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},328:(e,t,n)=>{n(8624),e.exports=self.fetch.bind(self)},414:e=>{"use strict";e.exports=Math.round},453:(e,t,n)=>{"use strict";var a,o=n(9612),r=n(9383),i=n(1237),s=n(9290),c=n(9538),l=n(8068),u=n(9675),p=n(5345),d=n(1514),m=n(8968),f=n(6188),h=n(8002),v=n(5880),g=n(414),y=n(3093),b=Function,x=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=n(5795),E=n(655),P=function(){throw new u},S=w?function(){try{return P}catch(e){try{return w(arguments,"callee").get}catch(e){return P}}}():P,k=n(4039)(),C=n(3628),T=n(1064),_=n(8648),A=n(1002),I=n(76),O={},R="undefined"!=typeof Uint8Array&&C?C(Uint8Array):a,N={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?a:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?a:ArrayBuffer,"%ArrayIteratorPrototype%":k&&C?C([][Symbol.iterator]()):a,"%AsyncFromSyncIteratorPrototype%":a,"%AsyncFunction%":O,"%AsyncGenerator%":O,"%AsyncGeneratorFunction%":O,"%AsyncIteratorPrototype%":O,"%Atomics%":"undefined"==typeof Atomics?a:Atomics,"%BigInt%":"undefined"==typeof BigInt?a:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?a:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?a:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?a:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"undefined"==typeof Float16Array?a:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?a:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?a:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?a:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":O,"%Int8Array%":"undefined"==typeof Int8Array?a:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?a:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?a:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":k&&C?C(C([][Symbol.iterator]())):a,"%JSON%":"object"==typeof JSON?JSON:a,"%Map%":"undefined"==typeof Map?a:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&k&&C?C((new Map)[Symbol.iterator]()):a,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?a:Promise,"%Proxy%":"undefined"==typeof Proxy?a:Proxy,"%RangeError%":s,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?a:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?a:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&k&&C?C((new Set)[Symbol.iterator]()):a,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?a:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&C?C(""[Symbol.iterator]()):a,"%Symbol%":k?Symbol:a,"%SyntaxError%":l,"%ThrowTypeError%":S,"%TypedArray%":R,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?a:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?a:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?a:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?a:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?a:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?a:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?a:WeakSet,"%Function.prototype.call%":I,"%Function.prototype.apply%":A,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":T,"%Math.abs%":d,"%Math.floor%":m,"%Math.max%":f,"%Math.min%":h,"%Math.pow%":v,"%Math.round%":g,"%Math.sign%":y,"%Reflect.getPrototypeOf%":_};if(C)try{null.error}catch(e){var j=C(C(e));N["%Error.prototype%"]=j}var D=function e(t){var n;if("%AsyncFunction%"===t)n=x("async function () {}");else if("%GeneratorFunction%"===t)n=x("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=x("async function* () {}");else if("%AsyncGenerator%"===t){var a=e("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&C&&(n=C(o.prototype))}return N[t]=n,n},L={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},B=n(6743),M=n(9957),U=B.call(I,Array.prototype.concat),F=B.call(A,Array.prototype.splice),H=B.call(I,String.prototype.replace),z=B.call(I,String.prototype.slice),W=B.call(I,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,G=function(e,t){var n,a=e;if(M(L,a)&&(a="%"+(n=L[a])[0]+"%"),M(N,a)){var o=N[a];if(o===O&&(o=D(a)),void 0===o&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:a,value:o}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=z(e,0,1),n=z(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var a=[];return H(e,q,(function(e,t,n,o){a[a.length]=n?H(o,V,"$1"):t||e})),a}(e),a=n.length>0?n[0]:"",o=G("%"+a+"%",t),r=o.name,i=o.value,s=!1,c=o.alias;c&&(a=c[0],F(n,U([0,1],c)));for(var p=1,d=!0;p<n.length;p+=1){var m=n[p],f=z(m,0,1),h=z(m,-1);if(('"'===f||"'"===f||"`"===f||'"'===h||"'"===h||"`"===h)&&f!==h)throw new l("property names with quotes must have matching quotes");if("constructor"!==m&&d||(s=!0),M(N,r="%"+(a+="."+m)+"%"))i=N[r];else if(null!=i){if(!(m in i)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&p+1>=n.length){var v=w(i,m);i=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:i[m]}else d=M(i,m),i=i[m];d&&!s&&(N[r]=i)}}return i}},454:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),a=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),a=e.slice(t);return Array.prototype.concat.call([],o(n),o(a))}function r(e){try{return decodeURIComponent(e)}catch(r){for(var t=e.match(n)||[],a=1;a<t.length;a++)t=(e=o(t,a).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=a.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=r(n[0]);o!==n[0]&&(t[n[0]]=o)}n=a.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var c=i[s];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},507:(e,t,n)=>{"use strict";var a=n(453),o=n(6556),r=n(8859),i=n(9675),s=a("%Map%",!0),c=o("Map.prototype.get",!0),l=o("Map.prototype.set",!0),u=o("Map.prototype.has",!0),p=o("Map.prototype.delete",!0),d=o("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+r(e))},delete:function(t){if(e){var n=p(e,t);return 0===d(e)&&(e=void 0),n}return!1},get:function(t){if(e)return c(e,t)},has:function(t){return!!e&&u(e,t)},set:function(t,n){e||(e=new s),l(e,t,n)}};return t}},525:e=>{"use strict";var t="razdwatrzy";e.exports=function(){return"function"==typeof t.contains&&(!0===t.contains("dwa")&&!1===t.contains("foo"))}},528:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},611:(e,t,n)=>{"use strict";var a;n.r(t),n.d(t,{NIL:()=>R,parse:()=>v,stringify:()=>u,v1:()=>h,v3:()=>C,v4:()=>T,v5:()=>O,validate:()=>s,version:()=>N});var o=new Uint8Array(16);function r(){if(!a&&!(a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(o)}const i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const s=function(e){return"string"==typeof e&&i.test(e)};for(var c=[],l=0;l<256;++l)c.push((l+256).toString(16).substr(1));const u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!s(n))throw TypeError("Stringified UUID is invalid");return n};var p,d,m=0,f=0;const h=function(e,t,n){var a=t&&n||0,o=t||new Array(16),i=(e=e||{}).node||p,s=void 0!==e.clockseq?e.clockseq:d;if(null==i||null==s){var c=e.random||(e.rng||r)();null==i&&(i=p=[1|c[0],c[1],c[2],c[3],c[4],c[5]]),null==s&&(s=d=16383&(c[6]<<8|c[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),h=void 0!==e.nsecs?e.nsecs:f+1,v=l-m+(h-f)/1e4;if(v<0&&void 0===e.clockseq&&(s=s+1&16383),(v<0||l>m)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");m=l,f=h,d=s;var g=(1e4*(268435455&(l+=122192928e5))+h)%4294967296;o[a++]=g>>>24&255,o[a++]=g>>>16&255,o[a++]=g>>>8&255,o[a++]=255&g;var y=l/4294967296*1e4&268435455;o[a++]=y>>>8&255,o[a++]=255&y,o[a++]=y>>>24&15|16,o[a++]=y>>>16&255,o[a++]=s>>>8|128,o[a++]=255&s;for(var b=0;b<6;++b)o[a+b]=i[b];return t||u(o)};const v=function(e){if(!s(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function g(e,t,n){function a(e,a,o,r){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof a&&(a=v(a)),16!==a.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var i=new Uint8Array(16+e.length);if(i.set(a),i.set(e,a.length),(i=n(i))[6]=15&i[6]|t,i[8]=63&i[8]|128,o){r=r||0;for(var s=0;s<16;++s)o[r+s]=i[s];return o}return u(i)}try{a.name=e}catch(e){}return a.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",a.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",a}function y(e){return 14+(e+64>>>9<<4)+1}function b(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function x(e,t,n,a,o,r){return b((i=b(b(t,e),b(a,r)))<<(s=o)|i>>>32-s,n);var i,s}function w(e,t,n,a,o,r,i){return x(t&n|~t&a,e,t,o,r,i)}function E(e,t,n,a,o,r,i){return x(t&a|n&~a,e,t,o,r,i)}function P(e,t,n,a,o,r,i){return x(t^n^a,e,t,o,r,i)}function S(e,t,n,a,o,r,i){return x(n^(t|~a),e,t,o,r,i)}const k=function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,a="0123456789abcdef",o=0;o<n;o+=8){var r=e[o>>5]>>>o%32&255,i=parseInt(a.charAt(r>>>4&15)+a.charAt(15&r),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[y(t)-1]=t;for(var n=1732584193,a=-271733879,o=-1732584194,r=271733878,i=0;i<e.length;i+=16){var s=n,c=a,l=o,u=r;n=w(n,a,o,r,e[i],7,-680876936),r=w(r,n,a,o,e[i+1],12,-389564586),o=w(o,r,n,a,e[i+2],17,606105819),a=w(a,o,r,n,e[i+3],22,-1044525330),n=w(n,a,o,r,e[i+4],7,-176418897),r=w(r,n,a,o,e[i+5],12,1200080426),o=w(o,r,n,a,e[i+6],17,-1473231341),a=w(a,o,r,n,e[i+7],22,-45705983),n=w(n,a,o,r,e[i+8],7,1770035416),r=w(r,n,a,o,e[i+9],12,-1958414417),o=w(o,r,n,a,e[i+10],17,-42063),a=w(a,o,r,n,e[i+11],22,-1990404162),n=w(n,a,o,r,e[i+12],7,1804603682),r=w(r,n,a,o,e[i+13],12,-40341101),o=w(o,r,n,a,e[i+14],17,-1502002290),n=E(n,a=w(a,o,r,n,e[i+15],22,1236535329),o,r,e[i+1],5,-165796510),r=E(r,n,a,o,e[i+6],9,-1069501632),o=E(o,r,n,a,e[i+11],14,643717713),a=E(a,o,r,n,e[i],20,-373897302),n=E(n,a,o,r,e[i+5],5,-701558691),r=E(r,n,a,o,e[i+10],9,38016083),o=E(o,r,n,a,e[i+15],14,-660478335),a=E(a,o,r,n,e[i+4],20,-405537848),n=E(n,a,o,r,e[i+9],5,568446438),r=E(r,n,a,o,e[i+14],9,-1019803690),o=E(o,r,n,a,e[i+3],14,-187363961),a=E(a,o,r,n,e[i+8],20,1163531501),n=E(n,a,o,r,e[i+13],5,-1444681467),r=E(r,n,a,o,e[i+2],9,-51403784),o=E(o,r,n,a,e[i+7],14,1735328473),n=P(n,a=E(a,o,r,n,e[i+12],20,-1926607734),o,r,e[i+5],4,-378558),r=P(r,n,a,o,e[i+8],11,-2022574463),o=P(o,r,n,a,e[i+11],16,1839030562),a=P(a,o,r,n,e[i+14],23,-35309556),n=P(n,a,o,r,e[i+1],4,-1530992060),r=P(r,n,a,o,e[i+4],11,1272893353),o=P(o,r,n,a,e[i+7],16,-155497632),a=P(a,o,r,n,e[i+10],23,-1094730640),n=P(n,a,o,r,e[i+13],4,681279174),r=P(r,n,a,o,e[i],11,-358537222),o=P(o,r,n,a,e[i+3],16,-722521979),a=P(a,o,r,n,e[i+6],23,76029189),n=P(n,a,o,r,e[i+9],4,-640364487),r=P(r,n,a,o,e[i+12],11,-421815835),o=P(o,r,n,a,e[i+15],16,530742520),n=S(n,a=P(a,o,r,n,e[i+2],23,-995338651),o,r,e[i],6,-198630844),r=S(r,n,a,o,e[i+7],10,1126891415),o=S(o,r,n,a,e[i+14],15,-1416354905),a=S(a,o,r,n,e[i+5],21,-57434055),n=S(n,a,o,r,e[i+12],6,1700485571),r=S(r,n,a,o,e[i+3],10,-1894986606),o=S(o,r,n,a,e[i+10],15,-1051523),a=S(a,o,r,n,e[i+1],21,-2054922799),n=S(n,a,o,r,e[i+8],6,1873313359),r=S(r,n,a,o,e[i+15],10,-30611744),o=S(o,r,n,a,e[i+6],15,-1560198380),a=S(a,o,r,n,e[i+13],21,1309151649),n=S(n,a,o,r,e[i+4],6,-145523070),r=S(r,n,a,o,e[i+11],10,-1120210379),o=S(o,r,n,a,e[i+2],15,718787259),a=S(a,o,r,n,e[i+9],21,-343485551),n=b(n,s),a=b(a,c),o=b(o,l),r=b(r,u)}return[n,a,o,r]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(y(t)),a=0;a<t;a+=8)n[a>>5]|=(255&e[a/8])<<a%32;return n}(e),8*e.length))};const C=g("v3",48,k);const T=function(e,t,n){var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=a[o];return t}return u(a)};function _(e,t,n,a){switch(e){case 0:return t&n^~t&a;case 1:case 3:return t^n^a;case 2:return t&n^t&a^n&a}}function A(e,t){return e<<t|e>>>32-t}const I=function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var a=unescape(encodeURIComponent(e));e=[];for(var o=0;o<a.length;++o)e.push(a.charCodeAt(o))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var r=e.length/4+2,i=Math.ceil(r/16),s=new Array(i),c=0;c<i;++c){for(var l=new Uint32Array(16),u=0;u<16;++u)l[u]=e[64*c+4*u]<<24|e[64*c+4*u+1]<<16|e[64*c+4*u+2]<<8|e[64*c+4*u+3];s[c]=l}s[i-1][14]=8*(e.length-1)/Math.pow(2,32),s[i-1][14]=Math.floor(s[i-1][14]),s[i-1][15]=8*(e.length-1)&4294967295;for(var p=0;p<i;++p){for(var d=new Uint32Array(80),m=0;m<16;++m)d[m]=s[p][m];for(var f=16;f<80;++f)d[f]=A(d[f-3]^d[f-8]^d[f-14]^d[f-16],1);for(var h=n[0],v=n[1],g=n[2],y=n[3],b=n[4],x=0;x<80;++x){var w=Math.floor(x/20),E=A(h,5)+_(w,v,g,y)+b+t[w]+d[x]>>>0;b=y,y=g,g=A(v,30)>>>0,v=h,h=E}n[0]=n[0]+h>>>0,n[1]=n[1]+v>>>0,n[2]=n[2]+g>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]};const O=g("v5",80,I),R="00000000-0000-0000-0000-000000000000";const N=function(e){if(!s(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},655:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},778:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMiniSimulatorEvents4H5=t.EMiniSimulatorEvents=t.EDeviceName=t.EPackageType=t.ELyraContainerEventType=void 0;var a=n(9325);Object.defineProperty(t,"ELyraContainerEventType",{enumerable:!0,get:function(){return a.ELyraContainerEventType}});var o=n(3844);Object.defineProperty(t,"EPackageType",{enumerable:!0,get:function(){return o.EPackageType}});var r=n(7553);Object.defineProperty(t,"EDeviceName",{enumerable:!0,get:function(){return r.EDeviceName}}),function(e){e.IPC="ipc",e.PageReady="pageReady",e.AppReady="appReady",e.PageShow="pageShow",e.ApiCall="apiCall",e.ApiSyncCall="apiSyncCall",e.SetData="setData",e.Update="update",e.Resize="resize"}(t.EMiniSimulatorEvents||(t.EMiniSimulatorEvents={})),function(e){e.IPC="ipc",e.Update="update",e.PageShow="pageShow",e.Resize="resize"}(t.EMiniSimulatorEvents4H5||(t.EMiniSimulatorEvents4H5={}))},920:(e,t,n)=>{"use strict";var a=n(9675),o=n(8859),r=n(4803),i=n(507),s=n(2271)||i||r;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+o(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2551)},1002:e=>{"use strict";e.exports=Function.prototype.apply},1064:(e,t,n)=>{"use strict";var a=n(9612);e.exports=a.getPrototypeOf||null},1113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1237:e=>{"use strict";e.exports=EvalError},1333:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var a in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},1354:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var a=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),r="/*# ".concat(o," */");return[t].concat([r]).join("\n")}return[t].join("\n")}},1378:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mount=t.MiniSimulator4H5=t.MiniSimulator4AppX=void 0;const a=n(1635),o=n(7553),r=n(119),i=n(271),s=n(9815),c=n(4038),l=a.__importDefault(n(9965)),u=n(7212);a.__exportStar(n(9815),t);class MiniSimulator4AppX{constructor(e,t){this.stateProvider=e,this.mountInstance=t,this.pageReady=!1,this.appReady=!1,this.invokeCurrentPageMethod=(e,t)=>this.mountInstance.getRPC().call("invokeTopPageMethod",{methodName:e,args:JSON.stringify(t)}),this.toggleDevPlugin=e=>this.mountInstance.getRPC().call("toggleAppConfigDisplay",e),this.onAppReady=()=>{this.appReady=!0},this.onPageReady=()=>{this.pageReady=!0},this.stateProvider.on(s.EMiniSimulatorEvents.AppReady,this.onAppReady).on(s.EMiniSimulatorEvents.PageReady,this.onPageReady)}unmount(){this.stateProvider.off(s.EMiniSimulatorEvents.AppReady,this.onAppReady),this.stateProvider.off(s.EMiniSimulatorEvents.PageReady,this.onPageReady),this.mountInstance.unmount(),this.pageReady=!1,this.appReady=!1,this.stateProvider=null,this.mountInstance=null}isPageReady(){return this.pageReady}isAppReady(){return this.appReady}getCurrentPageData(){return this.mountInstance.getRPC().call("getTopPageData",{})}setCurrentPageData(e){return this.mountInstance.getRPC().call("setTopPageData",e||{})}getMockConfig(){return this.mountInstance.getRPC().call("getBuildinMockConfig",{})}setMockConfig(e){const t=[],{rules:n}=e||{};return n&&n.length>0&&n.forEach((e=>{t.push(e.api)})),this.mountInstance.getRPC().call("setBuildinMockConfig",(0,u.mockConfigDecorate)(e))}setProviderMockConfig(e){const t=[],{rules:n}=e||{};return n&&n.length>0&&n.forEach((e=>{t.push(e.api)})),this.mountInstance.getRPC().call("setProviderProperties",{buildinMock:(0,u.mockConfigDecorate)(e)})}restartApp(){this.stateProvider.beforeAppRestart(),this.mountInstance.getRPC().call("startApp",!0)}on(e,t){return this.stateProvider.on(e,t),this}off(e,t){return this.stateProvider.off(e,t),this}async evaluateJavaScriptInWorker(e){return await this.mountInstance.getRPC().call("evaluateJavaScriptInWorker",e)}async evaluateJavaScriptInPluginWorker(e,t){return await this.mountInstance.getRPC().call("evaluateJavaScriptInPluginWorker",{pluginId:e,code:t})}async evaluateJavaScriptInRender(e){return await this.mountInstance.getRPC().call("evaluateJavaScriptInRender",e)}getPageTitle(){return this.mountInstance.getRPC().call("getPageTitle")}dispatchRuntimeContainerEvent(e,t){return this.mountInstance.getRPC().call("dispatchRuntimeContainerEvent",{type:e,payload:t})}getCurrentPages(){return this.mountInstance.getRPC().call("getCurrentPages")}getRPCBindedUserInfo(){return this.mountInstance.getRPC().call("getRPCBindedUserInfo")}showRPCBindModal(){return this.mountInstance.getRPC().call("showRPCBindModal")}getRPCAuthUrl(){return this.mountInstance.getRPC().call("getRPCAuthUrl")}unbindRPCUser(){return this.mountInstance.getRPC().call("unbindRPCUser")}takeScreenshoot(){return this.mountInstance.getRPC().call("takeScreenshoot")}switchLanguage(e){return this.mountInstance.getRPC().call("switchLanguage",e)}async generateDevicePreviewSchema(){return await this.stateProvider.generateDevicePreviewSchema()}showToolBoxItem(e){this.mountInstance.getRPC().call("showToolBoxItem",e)}}t.MiniSimulator4AppX=MiniSimulator4AppX;class MiniSimulator4H5{constructor(e,t){this.stateProvider=e,this.mountInstance=t,this.toggleDevPlugin=e=>this.mountInstance.getRPC().call("toggleAppConfigDisplay",e)}unmount(){this.mountInstance.unmount()}restartApp(){this.mountInstance.getRPC().call("startApp",!0)}on(e,t){return this.stateProvider.on(e,t),this}off(e,t){return this.stateProvider.off(e,t),this}async evaluateJavaScriptInRender(e){return await this.mountInstance.getRPC().call("evaluateJavaScriptInRender",e)}getPageTitle(){return this.mountInstance.getRPC().call("getPageTitle")}getRPCBindedUserInfo(){return this.mountInstance.getRPC().call("getRPCBindedUserInfo")}showRPCBindModal(){return this.mountInstance.getRPC().call("showRPCBindModal")}getRPCAuthUrl(){return this.mountInstance.getRPC().call("getRPCAuthUrl")}unbindRPCUser(){return this.mountInstance.getRPC().call("unbindRPCUser")}takeScreenshoot(){return this.mountInstance.getRPC().call("takeScreenshoot")}updateState(e){return this.stateProvider.updateState(e),this.restartApp()}showToolBoxItem(e){this.mountInstance.getRPC().call("showToolBoxItem",e)}}t.MiniSimulator4H5=MiniSimulator4H5;t.mount=function(e,t="appx"){const{container:n,browserOnly:s=!0,useHttp:u=!1,backend:p,userAgent:d,channel:m,freeRenderType:f,lyraBaseUrl:h,enterPointUrl:v,useDefaultSafeH5Data:g}=e,y=a.__rest(e,["container","browserOnly","useHttp","backend","userAgent","channel","freeRenderType","lyraBaseUrl","enterPointUrl","useDefaultSafeH5Data"]),b=new r.TacosCloudServiceSDK({clientId:"workid-194918"}),x=new l.default(((e,t)=>{const n=e;return n.env="outside"===t?"HPM":"HYBRIDINSPECT",e.onSetData&&(e.enableSetDataHook=!0),e.beforeBridgeInvokeAsync&&(e.enableBeforeBridgeInvokeAsync=!0),e.afterBridgeInvokeAsync&&(e.enableAfterBridgeInvokeAsync=!0),n})(y,p),null,null,t,b);let w=document.body;n&&(w="string"==typeof n?document.getElementById(n):n);const E=(0,o.mount)({el:w,channel:m||"sdk",lyraBaseUrl:h||c.LYRA_BASE_URL,stateProvider:x,browserOnly:s,ua:d,type:t,enterPointUrl:v||(0,i.getEnterPointUrl)(u),freeRenderType:f,useDefaultSafeH5Data:g});return new("h5"===t?MiniSimulator4H5:MiniSimulator4AppX)(x,E)}},1514:e=>{"use strict";e.exports=Math.abs},1521:e=>{"use strict";var t=String.prototype.indexOf;e.exports=function(e){return t.call(this,e,arguments[1])>-1}},1630:e=>{"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,a,o){n=n||"&",a=a||"=";var r={};if("string"!=typeof e||0===e.length)return r;var i=/\+/g;e=e.split(n);var s=1e3;o&&"number"==typeof o.maxKeys&&(s=o.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var l=0;l<c;++l){var u,p,d,m,f=e[l].replace(i,"%20"),h=f.indexOf(a);h>=0?(u=f.substr(0,h),p=f.substr(h+1)):(u=f,p=""),d=decodeURIComponent(u),m=decodeURIComponent(p),t(r,d)?Array.isArray(r[d])?r[d].push(m):r[d]=[r[d],m]:r[d]=m}return r}},1635:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>D,__assign:()=>r,__asyncDelegator:()=>k,__asyncGenerator:()=>S,__asyncValues:()=>C,__await:()=>P,__awaiter:()=>f,__classPrivateFieldGet:()=>R,__classPrivateFieldIn:()=>j,__classPrivateFieldSet:()=>N,__createBinding:()=>v,__decorate:()=>s,__disposeResources:()=>B,__esDecorate:()=>l,__exportStar:()=>g,__extends:()=>o,__generator:()=>h,__importDefault:()=>O,__importStar:()=>I,__makeTemplateObject:()=>T,__metadata:()=>m,__param:()=>c,__propKey:()=>p,__read:()=>b,__rest:()=>i,__rewriteRelativeImportExtension:()=>M,__runInitializers:()=>u,__setFunctionName:()=>d,__spread:()=>x,__spreadArray:()=>E,__spreadArrays:()=>w,__values:()=>y,default:()=>U});var a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},a(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var r=function(){return r=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function i(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]])}return n}function s(e,t,n,a){var o,r=arguments.length,i=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(i=(r<3?o(i):r>3?o(t,n,i):o(t,n))||i);return r>3&&i&&Object.defineProperty(t,n,i),i}function c(e,t){return function(n,a){t(n,a,e)}}function l(e,t,n,a,o,r){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=a.kind,l="getter"===c?"get":"setter"===c?"set":"value",u=!t&&e?a.static?e:e.prototype:null,p=t||(u?Object.getOwnPropertyDescriptor(u,a.name):{}),d=!1,m=n.length-1;m>=0;m--){var f={};for(var h in a)f[h]="access"===h?{}:a[h];for(var h in a.access)f.access[h]=a.access[h];f.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");r.push(i(e||null))};var v=(0,n[m])("accessor"===c?{get:p.get,set:p.set}:p[l],f);if("accessor"===c){if(void 0===v)continue;if(null===v||"object"!=typeof v)throw new TypeError("Object expected");(s=i(v.get))&&(p.get=s),(s=i(v.set))&&(p.set=s),(s=i(v.init))&&o.unshift(s)}else(s=i(v))&&("field"===c?o.unshift(s):p[l]=s)}u&&Object.defineProperty(u,a.name,p),d=!0}function u(e,t,n){for(var a=arguments.length>2,o=0;o<t.length;o++)n=a?t[o].call(e,n):t[o].call(e);return a?n:void 0}function p(e){return"symbol"==typeof e?e:"".concat(e)}function d(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function m(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function f(e,t,n,a){return new(n||(n=Promise))((function(o,r){function i(e){try{c(a.next(e))}catch(e){r(e)}}function s(e){try{c(a.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((a=a.apply(e,t||[])).next())}))}function h(e,t){var n,a,o,r={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=s(0),i.throw=s(1),i.return=s(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(r=0)),r;)try{if(n=1,a&&(o=2&s[0]?a.return:s[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;switch(a=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,a=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(!(o=r.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){r=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(6===s[0]&&r.label<o[1]){r.label=o[1],o=s;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(s);break}o[2]&&r.ops.pop(),r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e],a=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var v=Object.create?function(e,t,n,a){void 0===a&&(a=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,o)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]};function g(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||v(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,o,r=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(a=r.next()).done;)i.push(a.value)}catch(e){o={error:e}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i}function x(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var a=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],i=0,s=r.length;i<s;i++,o++)a[o]=r[i];return a}function E(e,t,n){if(n||2===arguments.length)for(var a,o=0,r=t.length;o<r;o++)!a&&o in t||(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))}function P(e){return this instanceof P?(this.v=e,this):new P(e)}function S(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a,o=n.apply(e,t||[]),r=[];return a=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",(function(e){return function(t){return Promise.resolve(t).then(e,l)}})),a[Symbol.asyncIterator]=function(){return this},a;function i(e,t){o[e]&&(a[e]=function(t){return new Promise((function(n,a){r.push([e,t,n,a])>1||s(e,t)}))},t&&(a[e]=t(a[e])))}function s(e,t){try{(n=o[e](t)).value instanceof P?Promise.resolve(n.value.v).then(c,l):u(r[0][2],n)}catch(e){u(r[0][3],e)}var n}function c(e){s("next",e)}function l(e){s("throw",e)}function u(e,t){e(t),r.shift(),r.length&&s(r[0][0],r[0][1])}}function k(e){var t,n;return t={},a("next"),a("throw",(function(e){throw e})),a("return"),t[Symbol.iterator]=function(){return this},t;function a(a,o){t[a]=e[a]?function(t){return(n=!n)?{value:P(e[a](t)),done:!1}:o?o(t):t}:o}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},a("next"),a("throw"),a("return"),t[Symbol.asyncIterator]=function(){return this},t);function a(n){t[n]=e[n]&&function(t){return new Promise((function(a,o){(function(e,t,n,a){Promise.resolve(a).then((function(t){e({value:t,done:n})}),t)})(a,o,(t=e[n](t)).done,t.value)}))}}}function T(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var _=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},A=function(e){return A=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},A(e)};function I(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=A(e),a=0;a<n.length;a++)"default"!==n[a]&&v(t,e,n[a]);return _(t,e),t}function O(e){return e&&e.__esModule?e:{default:e}}function R(e,t,n,a){if("a"===n&&!a)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?a:"a"===n?a.call(e):a?a.value:t.get(e)}function N(e,t,n,a,o){if("m"===a)throw new TypeError("Private method is not writable");if("a"===a&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?o.call(e,n):o?o.value=n:t.set(e,n),n}function j(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function D(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var a,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");a=t[Symbol.asyncDispose]}if(void 0===a){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");a=t[Symbol.dispose],n&&(o=a)}if("function"!=typeof a)throw new TypeError("Object not disposable.");o&&(a=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:a,async:n})}else n&&e.stack.push({async:!0});return t}var L="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var a=new Error(n);return a.name="SuppressedError",a.error=e,a.suppressed=t,a};function B(e){function t(t){e.error=e.hasError?new L(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,a=0;return function o(){for(;n=e.stack.pop();)try{if(!n.async&&1===a)return a=0,e.stack.push(n),Promise.resolve().then(o);if(n.dispose){var r=n.dispose.call(n.value);if(n.async)return a|=2,Promise.resolve(r).then(o,(function(e){return t(e),o()}))}else a|=1}catch(e){t(e)}if(1===a)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function M(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,n,a,o,r){return n?t?".jsx":".js":!a||o&&r?a+o+"."+r.toLowerCase()+"js":e})):e}const U={__extends:o,__assign:r,__rest:i,__decorate:s,__param:c,__esDecorate:l,__runInitializers:u,__propKey:p,__setFunctionName:d,__metadata:m,__awaiter:f,__generator:h,__createBinding:v,__exportStar:g,__values:y,__read:b,__spread:x,__spreadArrays:w,__spreadArray:E,__await:P,__asyncGenerator:S,__asyncDelegator:k,__asyncValues:C,__makeTemplateObject:T,__importStar:I,__importDefault:O,__classPrivateFieldGet:R,__classPrivateFieldSet:N,__classPrivateFieldIn:j,__addDisposableResource:D,__disposeResources:B,__rewriteRelativeImportExtension:M}},1813:e=>{"use strict";e.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":"