@melt-js/comps-vue2 2026.11.16 → 2026.11.17
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/hel_dist/cdn/example-esm.html +1 -1
- package/hel_dist/cdn/example-umd.html +1 -1
- package/hel_dist/cdn/manifest.json +8 -8
- package/hel_dist/favicon.ico +0 -0
- package/hel_dist/hel-meta.json +36 -36
- package/hel_dist/index.html +1 -1
- package/hel_dist/js/app.321a25e8.js +1 -0
- package/hel_dist/js/chunk-024e925a.f7b3aa96.js +1 -0
- package/hel_dist/js/chunk-024e925a.f7b3aa96.js.gz +0 -0
- package/hel_dist/js/chunk-1fed66ce.863ba09c.js +1 -0
- package/hel_dist/js/chunk-1fed66ce.863ba09c.js.gz +0 -0
- package/hel_dist/js/runtime.3f1cfd7e.js +1 -0
- package/hel_dist/js/{vendor.a5bc9dd1.js → vendor.4ef7e3e5.js} +1 -1
- package/hel_dist/js/vendor.4ef7e3e5.js.gz +0 -0
- package/package.json +25 -15
- package/hel_dist/js/app.d6543d1d.js +0 -1
- package/hel_dist/js/chunk-024e925a.a9f359ef.js +0 -1
- package/hel_dist/js/chunk-024e925a.a9f359ef.js.gz +0 -0
- package/hel_dist/js/chunk-1fed66ce.6383207e.js +0 -1
- package/hel_dist/js/chunk-1fed66ce.6383207e.js.gz +0 -0
- package/hel_dist/js/runtime.8e55f3d7.js +0 -1
- package/hel_dist/js/vendor.a5bc9dd1.js.gz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(window["helJsonp_comps-vue2_1794760217304"]=window["helJsonp_comps-vue2_1794760217304"]||[]).push([["vendor"],{"0126":function(t,e,r){"use strict";var n=r("666d");t.exports=function(t){var e=n(t);return"BigInt64Array"===e||"BigUint64Array"===e}},"0129":function(t,e,r){"use strict";var n,o,i=r("ff10"),a=r("cbf3"),c=i.process,s=i.Deno,u=c&&c.versions||s&&s.version,f=u&&u.v8;f&&(n=f.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),t.exports=o},"017e":function(t,e,r){"use strict";var n=r("2c8d");t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"01ec":function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("6f09"),a=r("2eeb"),c=o.Uint8Array,s=!c||!c.prototype.setFromBase64||!function(){var t=new c([255,255,255,255,255]);try{return void t.setFromBase64("",null)}catch(e){}try{return void t.setFromBase64("a")}catch(e){}try{t.setFromBase64("MjYyZg===")}catch(e){return 50===t[0]&&54===t[1]&&50===t[2]&&255===t[3]&&255===t[4]}}();c&&n({target:"Uint8Array",proto:!0,forced:s},{setFromBase64:function(t){a(this);var e=i(t,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:e.read,written:e.written}}})},"0214":function(t,e,r){"use strict";var n=r("d744"),o=r("ed76"),i=r("afad"),a=r("2e82"),c=r("9a4d"),s=a("IE_PROTO"),u=Object,f=u.prototype;t.exports=c?u.getPrototypeOf:function(t){var e=i(t);if(n(e,s))return e[s];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?f:null}},"03f4":function(t,e,r){"use strict";var n=r("3dcd"),o=RangeError;t.exports=function(t){var e=n(t);if(e<0)throw new o("The argument can't be less than 0");return e}},"061b":function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("5cb6"),a=r("083c"),c=r("ed76"),s=r("0214"),u=r("a66d"),f=r("fcf6"),p=r("2c8d"),l=r("d744"),d=r("0a8d"),v=r("aaf7").IteratorPrototype,h=r("017e"),m=r("7cc7"),g="constructor",b="Iterator",y=d("toStringTag"),A=TypeError,_=o[b],E=m||!c(_)||_.prototype!==v||!p((function(){_({})})),S=function(){if(i(this,v),s(this)===v)throw new A("Abstract class Iterator not directly constructable")},w=function(t,e){h?u(v,t,{configurable:!0,get:function(){return e},set:function(e){if(a(this),this===v)throw new A("You can't redefine this property");l(this,t)?this[t]=e:f(this,t,e)}}):v[t]=e};l(v,y)||w(y,b),!E&&l(v,g)&&v[g]!==Object||w(g,S),S.prototype=v,n({global:!0,constructor:!0,forced:E},{Iterator:S})},"083c":function(t,e,r){"use strict";var n=r("610b"),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},"086f":function(t,e,r){"use strict";var n=r("155d"),o=0,i=Math.random(),a=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},"0a1c":function(t,e,r){"use strict";var n=r("2c8d"),o=r("ed76"),i=/#|\.prototype\./,a=function(t,e){var r=s[c(t)];return r===f||r!==u&&(o(e)?n(e):!!e)},c=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=a.data={},u=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},"0a22":function(t,e,r){"use strict";var n=r("3d0b");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"0a8d":function(t,e,r){"use strict";var n=r("ff10"),o=r("dcb7"),i=r("d744"),a=r("086f"),c=r("3d0b"),s=r("0a22"),u=n.Symbol,f=o("wks"),p=s?u["for"]||u:u&&u.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=c&&i(u,t)?u[t]:p("Symbol."+t)),f[t]}},"0bc8":function(t,e,r){"use strict";var n=r("017e"),o=r("ebf9"),i=r("92f7"),a=r("083c"),c=r("e374"),s=r("8e50");e.f=n&&!o?Object.defineProperties:function(t,e){a(t);var r,n=c(e),o=s(e),u=o.length,f=0;while(u>f)i.f(t,r=o[f++],n[r]);return t}},1020:function(t,e,r){"use strict";var n=r("7cd2"),o=TypeError;t.exports=function(t){if(n(t))throw new o("ArrayBuffer is detached");return t}},"107a":function(t,e,r){"use strict";var n=r("4dfe");t.exports=n("document","documentElement")},1262:function(t,e,r){"use strict";var n=r("155d");t.exports=n({}.isPrototypeOf)},"13d0":function(t,e,r){"use strict";var n=r("e374"),o=r("7a35"),i=r("e82f"),a=function(t){return function(e,r,a){var c=n(e),s=i(c);if(0===s)return!t&&-1;var u,f=o(a,s);if(t&&r!==r){while(s>f)if(u=c[f++],u!==u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},1502:function(t,e,r){"use strict";var n=r("017e"),o=r("155d"),i=r("a66d"),a=URLSearchParams.prototype,c=o(a.forEach);n&&!("size"in a)&&i(a,"size",{get:function(){var t=0;return c(this,(function(){t++})),t},configurable:!0,enumerable:!0})},"155d":function(t,e,r){"use strict";var n=r("da82"),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},"15f4":function(t,e,r){"use strict";e.f=Object.getOwnPropertySymbols},"199e":function(t,e,r){"use strict";var n=r("a86f"),o=r("610b"),i=r("c129"),a=r("987c"),c=r("9a1d"),s=r("0a8d"),u=TypeError,f=s("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,s=a(t,f);if(s){if(void 0===e&&(e="default"),r=n(s,t,e),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},"1f80":function(t,e,r){"use strict";t.exports=function(t){return null===t||void 0===t}},"217c":function(t,e,r){"use strict";var n=r("03f4"),o=RangeError;t.exports=function(t,e){var r=n(t);if(r%e)throw new o("Wrong offset");return r}},2232:function(t,e,r){"use strict";var n=r("e605"),o=r("a86f"),i=r("6e4c"),a=r("083c"),c=r("734c"),s=r("ac54"),u=r("3ce3"),f=r("f511"),p=r("e7b0"),l=r("36a6"),d=r("7cc7"),v=!d&&!p("map",(function(){})),h=!d&&!v&&l("map",TypeError),m=d||v||h,g=s((function(){var t=this.iterator,e=a(o(this.next,t)),r=this.done=!!e.done;if(!r)return u(t,this.mapper,[e.value,this.counter++],!0)}));n({target:"Iterator",proto:!0,real:!0,forced:m},{map:function(t){a(this);try{i(t)}catch(e){f(this,"throw",e)}return h?o(h,this,t):new g(c(this),{mapper:t})}})},2263:function(t,e,r){"use strict";var n=TypeError;t.exports=function(t){if("string"==typeof t)return t;throw new n("Argument is not a string")}},2694:function(t,e,r){"use strict";var n=r("199e"),o=TypeError;t.exports=function(t){var e=n(t,"number");if("number"==typeof e)throw new o("Can't convert number to bigint");return BigInt(e)}},"26f2":function(t,e,r){"use strict";var n=r("ff10"),o=r("610b"),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},2973:function(t,e,r){"use strict";t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},"2c8a":function(t,e,r){!function(t,n){n(e,r("cbe1"))}(0,(function(t,e){"use strict";var r=function(){return r=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)};function n(t,r){var n=r||(null===e.getAppPlatform||void 0===e.getAppPlatform?void 0:e.getAppPlatform(t)),o=e.getSharedCache(n).appName2Lib;return o[t]||(o[t]={}),o[t]}var o="4.12.1";e.log("hel-lib-proxy ver ".concat(o));var i=e.getUserEventBus,a=e.helConsts,c=i();function s(t,n){var o=r({},n||{});return o.platform=o.platform||a.DEFAULT_PLAT,e.getVerLib(t,o)}function u(t,r){var o,i=!0,c="";r&&("string"==typeof r?c=r:(c=r.platform||"",i=null===(o=r.asProxy)||void 0===o||o));var s=n(t,c=c||e.getAppPlatform(t)||a.DEFAULT_PLAT);return"function"==typeof Proxy&&i&&(s=function(t,r,o){return new Proxy(r,{get:function(r,i){var a=String(i);return e.log("[[getLibProxy]] call lib [".concat(t,"] method [").concat(a,"]")),Object.keys(r).length?r[a]:n(t,o)[a]}})}(t,s,c)),e.log("[[ exposeLib ]] libName, libObj",t,s),s}function f(t,n,o){var i=function(t){var n={allowDup:!1,platform:e.helConsts.DEFAULT_PLAT};return r(r({},n),t||{})}(o);e.libReady(t,n,i)}function p(t,r,n){e.appReady(t,r,n)}function l(t,r){return e.getVerApp(t,r)}var d=e.isSubApp;function v(){return!e.isSubApp()}var h=Object.freeze({__proto__:null,VER:o,eventBus:c,getLib:s,exposeLib:u,libReady:f,appReady:p,exposeApp:l,isSubApp:d,isMasterApp:v}),m=e.commonUtil.purify,g=["isMasterApp","isSubApp","eventBus"],b=["appReady","libReady"];function y(t,e){return e&&"object"==typeof e&&!Array.isArray(e)?r({platform:t},m(e)):{platform:t}}function A(t,e){var r={};return Object.keys(t).forEach((function(n){var o=t[n];if(g.includes(n))r[n]=o;else if(b.includes(n))r[n]=function(t,e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=r[0],i=r[1],a=r[2];return t(o,i,y(e,void 0===a?{}:a))}}(o,e);else{var i="exposeLib"===n;r[n]=function(t,e,r){return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=n[0],a=n[1];return t(i,!r||"string"!=typeof a&&void 0!==a?y(e,a):a||e)}}(o,e,i)}})),r}var _=function t(e){var r=A(h,e);return r.createInstance=t,r},E=o,S=f,w=u,L=s,I=d,T=v,x=c,O=p,C=l,N={VER:E,libReady:S,exposeLib:w,getLib:L,isSubApp:I,isMasterApp:T,eventBus:x,appReady:O,exposeApp:C,createInstance:_};!function(t){var r=e.getGlobalThis();e.commonUtil.isServer()||r.HelLibProxy||(e.log("auto bind hel-lib-proxy to global.HelLibProxy"),r.HelLibProxy=t)}(N),t.VER=E,t.appReady=O,t.createInstance=_,t.default=N,t.eventBus=x,t.exposeApp=C,t.exposeLib=w,t.getLib=L,t.isMasterApp=T,t.isSubApp=I,t.libReady=S,Object.defineProperty(t,"__esModule",{value:!0})}))},"2c8d":function(t,e,r){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2c9e":function(t,e,r){"use strict";var n=r("a86f"),o=r("ed76"),i=r("083c"),a=r("2d1c"),c=r("4a5a"),s=TypeError;t.exports=function(t,e){var r=arguments.length<2?c(t):e;if(o(r))return i(n(r,t));throw new s(a(t)+" is not iterable")}},"2d1c":function(t,e,r){"use strict";var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"2e25":function(t,e,r){"use strict";var n=r("ff10"),o=r("7903"),i=r("ba95"),a=n.ArrayBuffer,c=n.TypeError;t.exports=a&&o(a.prototype,"byteLength","get")||function(t){if("ArrayBuffer"!==i(t))throw new c("ArrayBuffer expected");return t.byteLength}},"2e82":function(t,e,r){"use strict";var n=r("dcb7"),o=r("086f"),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"2e87":function(t,e,r){"use strict";var n=r("e94f");t.exports="NODE"===n},"2eeb":function(t,e,r){"use strict";var n=r("666d"),o=TypeError;t.exports=function(t){if("Uint8Array"===n(t))return t;throw new o("Argument is not an Uint8Array")}},"322e":function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("2263"),a=r("2eeb"),c=r("1020"),s=r("b464");function u(){try{var t=new ArrayBuffer(16,{maxByteLength:1024});new Uint8Array(t).setFromHex("cafed00d")}catch(e){return!0}}o.Uint8Array&&n({target:"Uint8Array",proto:!0,forced:u()},{setFromHex:function(t){a(this),i(t),c(this.buffer);var e=s(t,this).read;return{read:e,written:e/2}}})},3241:function(t,e,r){"use strict";var n=r("f9a8"),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},3600:function(t,e,r){"use strict";var n=r("017e"),o=r("a66d"),i=r("7cd2"),a=ArrayBuffer.prototype;n&&!("detached"in a)&&o(a,"detached",{configurable:!0,get:function(){return i(this)}})},"36a6":function(t,e,r){"use strict";var n=r("ff10");t.exports=function(t,e){var r=n.Iterator,o=r&&r.prototype,i=o&&o[t],a=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){a=!0}},-1)}catch(c){c instanceof e||(a=!1)}if(!a)return i}},"3ce3":function(t,e,r){"use strict";var n=r("083c"),o=r("f511");t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(a){o(t,"throw",a)}}},"3d0b":function(t,e,r){"use strict";var n=r("0129"),o=r("2c8d"),i=r("ff10"),a=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"3dcd":function(t,e,r){"use strict";var n=r("fd0e");t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},"3e09":function(t,e,r){"use strict";var n=r("e82f"),o=r("8bc0"),i=o.aTypedArray,a=o.exportTypedArrayMethod,c=o.getTypedArrayConstructor;a("toReversed",(function(){for(var t=i(this),e=n(t),r=new(c(t))(e),o=0;o<e;o++)r[o]=t[e-o-1];return r}))},4419:function(t,e,r){"use strict";var n=r("e605"),o=r("afad"),i=r("e82f"),a=r("d970"),c=r("bdb8"),s=r("2c8d"),u=s((function(){return 4294967297!==[].push.call({length:4294967296},1)})),f=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},p=u||!f();n({target:"Array",proto:!0,arity:1,forced:p},{push:function(t){var e=o(this),r=i(e),n=arguments.length;c(r+n);for(var s=0;s<n;s++)e[r]=arguments[s],r++;return a(e,r),r}})},"44af":function(t,e,r){"use strict";var n=r("e605"),o=r("a86f"),i=r("4a05"),a=r("6e4c"),c=r("083c"),s=r("734c"),u=r("f511"),f=r("36a6"),p=f("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:p},{find:function(t){c(this);try{a(t)}catch(n){u(this,"throw",n)}if(p)return o(p,this,t);var e=s(this),r=0;return i(e,(function(e,n){if(t(e,r++))return n(e)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},"44ed":function(t,e,r){"use strict";var n=r("e605"),o=r("901b");o&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return o(this,arguments.length?arguments[0]:void 0,!1)}})},4694:function(t,e,r){"use strict";var n=r("e605"),o=r("13d0").includes,i=r("2c8d"),a=r("e4b7"),c=i((function(){return!Array(1).includes()})),s=i((function(){return[,1].includes(void 0,1)}));n({target:"Array",proto:!0,forced:c||s},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},4784:function(t,e,r){"use strict";var n=r("2c8d");t.exports=!n((function(){var t="9007199254740993",e=JSON.rawJSON(t);return!JSON.isRawJSON(e)||JSON.stringify(e)!==t}))},"47a4":function(t,e,r){"use strict";var n,o=r("083c"),i=r("0bc8"),a=r("d4f0"),c=r("a300"),s=r("107a"),u=r("26f2"),f=r("2e82"),p=">",l="<",d="prototype",v="script",h=f("IE_PROTO"),m=function(){},g=function(t){return l+v+p+t+l+"/"+v+p},b=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=u("iframe"),r="java"+v+":";return e.style.display="none",s.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(g("document.F=Object")),t.close(),t.F},A=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}A="undefined"!=typeof document?document.domain&&n?b(n):y():b(n);var t=a.length;while(t--)delete A[d][a[t]];return A()};c[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(m[d]=o(t),r=new m,m[d]=null,r[h]=t):r=A(),void 0===e?r:i.f(r,e)}},"47e0":function(t,e,r){"use strict";var n=r("e82f");t.exports=function(t,e,r){var o=0,i=arguments.length>2?r:n(e),a=new t(i);while(i>o)a[o]=e[o++];return a}},"4a05":function(t,e,r){"use strict";var n=r("89f9"),o=r("a86f"),i=r("083c"),a=r("2d1c"),c=r("4afa"),s=r("e82f"),u=r("1262"),f=r("2c9e"),p=r("4a5a"),l=r("f511"),d=TypeError,v=function(t,e){this.stopped=t,this.result=e},h=v.prototype;t.exports=function(t,e,r){var m,g,b,y,A,_,E,S=r&&r.that,w=!(!r||!r.AS_ENTRIES),L=!(!r||!r.IS_RECORD),I=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),x=n(e,S),O=function(t){var e=m;return m=void 0,e&&l(e,"normal"),new v(!0,t)},C=function(t){return w?(i(t),T?x(t[0],t[1],O):x(t[0],t[1])):T?x(t,O):x(t)};if(L)m=t.iterator;else if(I)m=t;else{if(g=p(t),!g)throw new d(a(t)+" is not iterable");if(c(g)){for(b=0,y=s(t);y>b;b++)if(A=C(t[b]),A&&u(h,A))return A;return new v(!1)}m=f(t,g)}_=L?t.next:m.next;while(!(E=o(_,m)).done){var N=E.value;try{A=C(N)}catch(P){if(!m)throw P;l(m,"throw",P)}if("object"==typeof A&&A&&u(h,A))return A}return new v(!1)}},"4a5a":function(t,e,r){"use strict";var n=r("ba95"),o=r("1f80"),i=r("987c"),a=r("0a8d"),c=a("iterator"),s=Array.prototype;t.exports=function(t){if(!o(t))return i(t,c)||i(t,"@@iterator")||("Arguments"===n(t)?s[c]:void 0)}},"4afa":function(t,e,r){"use strict";var n=r("0a8d"),o=r("f388"),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},"4afb":function(t,e,r){"use strict";var n=r("e605"),o=r("6914"),i=r("7cc7"),a=o.get,c=o.has,s=o.set;n({target:"Map",proto:!0,real:!0,forced:i},{getOrInsert:function(t,e){return c(this,t)?a(this,t):(s(this,t,e),e)}})},"4dfe":function(t,e,r){"use strict";var n=r("ff10"),o=r("ed76"),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},"4e06":function(t,e,r){"use strict";var n=r("8bc0"),o=r("0126"),i=r("e82f"),a=r("3dcd"),c=r("2694"),s=n.aTypedArray,u=n.getTypedArrayConstructor,f=n.exportTypedArrayMethod,p=RangeError,l=function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}(),d=l&&function(){try{new Int8Array(1)["with"](-.5,1)}catch(t){return!0}}();f("with",{with:function(t,e){var r=s(this),n=i(r),f=a(t),l=f<0?n+f:f,d=o(r)?c(e):+e;if(l>=n||l<0)throw new p("Incorrect index");for(var v=new(u(r))(n),h=0;h<n;h++)v[h]=h===l?d:r[h];return v}}["with"],!l||d)},"4e29":function(t,e,r){"use strict";var n=r("e605"),o=r("6e4c"),i=r("6914"),a=r("7cc7"),c=i.get,s=i.has,u=i.set;n({target:"Map",proto:!0,real:!0,forced:a},{getOrInsertComputed:function(t,e){var r=s(this,t);if(o(e),r)return c(this,t);0===t&&1/t===-1/0&&(t=0);var n=e(t);return u(this,t,n),n}})},"54a8":function(t,e,r){"use strict";var n=TypeError;t.exports=function(t,e){if(t<e)throw new n("Not enough arguments");return t}},"55df":function(t,e,r){"use strict";var n=r("8bc0"),o=r("cdc0").findLastIndex,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLastIndex",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},5760:function(t,e,r){"use strict";var n=r("6113"),o=r("a0f5"),i=r("ad2d"),a=Error.captureStackTrace;t.exports=function(t,e,r,c){i&&(a?a(t,e):n(t,"stack",o(r,c)))}},"5bf4":function(t,e,r){"use strict";var n=r("1f80"),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},"5cb6":function(t,e,r){"use strict";var n=r("1262"),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},6091:function(t,e,r){"use strict";var n=r("da82"),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},"610b":function(t,e,r){"use strict";var n=r("ed76");t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},6113:function(t,e,r){"use strict";var n=r("017e"),o=r("92f7"),i=r("8b17");t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},"64b3":function(t,e,r){"use strict";var n=r("3dcd"),o=r("b2a2"),i=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=n(t),r=o(e);if(e!==r)throw new i("Wrong length or index");return r}},6569:function(t,e,r){"use strict";var n=r("c23a");t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},"65cd":function(t,e,r){"use strict";var n=r("4dfe"),o=r("d744"),i=r("6113"),a=r("1262"),c=r("c412"),s=r("b4e7"),u=r("a3ef"),f=r("d0d2"),p=r("a7cd"),l=r("c69c"),d=r("5760"),v=r("017e"),h=r("7cc7");t.exports=function(t,e,r,m){var g="stackTraceLimit",b=m?2:1,y=t.split("."),A=y[y.length-1],_=n.apply(null,y);if(_){var E=_.prototype;if(!h&&o(E,"cause")&&delete E.cause,!r)return _;var S=n("Error"),w=e((function(t,e){var r=p(m?e:t,void 0),n=m?new _(t):new _;return void 0!==r&&i(n,"message",r),d(n,w,n.stack,2),this&&a(E,this)&&f(n,this,w),arguments.length>b&&l(n,arguments[b]),n}));if(w.prototype=E,"Error"!==A?c?c(w,S):s(w,S,{name:!0}):v&&g in _&&(u(w,_,g),u(w,_,"prepareStackTrace")),s(w,_),!h)try{E.name!==A&&i(E,"name",A),E.constructor=w}catch(L){}return w}}},"65d2":function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("155d"),a=r("2eeb"),c=r("1020"),s=i(1.1.toString),u=i([].join),f=Array,p=o.Uint8Array,l=!p||!p.prototype.toHex||!function(){try{var t=new p([255,255,255,255,255,255,255,255]);return"ffffffffffffffff"===t.toHex()}catch(e){return!1}}();p&&n({target:"Uint8Array",proto:!0,forced:l},{toHex:function(){a(this),c(this.buffer);for(var t=f(this.length),e=0,r=this.length;e<r;e++){var n=s(this[e],16);t[e]=1===n.length?"0"+n:n}return u(t,"")}})},"666d":function(t,e,r){"use strict";var n=r("ab9d"),o=r("ed76"),i=r("ba95"),a=r("0a8d"),c=a("toStringTag"),s=Object,u="Arguments"===i(function(){return arguments}()),f=function(t,e){try{return t[e]}catch(r){}};t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=f(e=s(t),c))?r:u?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},6914:function(t,e,r){"use strict";var n=r("155d"),o=Map.prototype;t.exports={Map:Map,set:n(o.set),get:n(o.get),has:n(o.has),remove:n(o["delete"]),proto:o}},"6a82":function(t,e,r){"use strict";function n(t,e,r,n,o,i,a,c){var s,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(s=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=s):o&&(s=c?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(u.functional){u._injectStyles=s;var f=u.render;u.render=function(t,e){return s.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,s):[s]}return{exports:t,options:u}}r.d(e,"a",(function(){return n}))},"6a8d":function(t,e,r){"use strict";var n=r("199e"),o=r("c129");t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},"6acb":function(t,e,r){"use strict";var n=r("ba95");t.exports=Array.isArray||function(t){return"Array"===n(t)}},"6cc4":function(t,e,r){"use strict";var n=r("017e"),o=r("d744"),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&"something"===function(){}.name,u=c&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},"6e4c":function(t,e,r){"use strict";var n=r("ed76"),o=r("2d1c"),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},"6f09":function(t,e,r){"use strict";var n=r("ff10"),o=r("155d"),i=r("a9cb"),a=r("2263"),c=r("d744"),s=r("bf0a"),u=r("b5f0"),f=r("1020"),p=s.c2i,l=s.c2iUrl,d=n.SyntaxError,v=n.TypeError,h=n.Array,m=o("".charAt),g=Math.floor,b=function(t,e){for(var r=t.length;e<r;e++){var n=m(t,e);if(" "!==n&&"\t"!==n&&"\n"!==n&&"\f"!==n&&"\r"!==n)break}return e},y=function(t,e,r){var n=t.length;n<4&&(t+=2===n?"AA":"A");var o=(e[m(t,0)]<<18)+(e[m(t,1)]<<12)+(e[m(t,2)]<<6)+e[m(t,3)],i=[o>>16&255,o>>8&255,255&o];if(2===n){if(r&&0!==i[1])throw new d("Extra bits");return[i[0]]}if(3===n){if(r&&0!==i[2])throw new d("Extra bits");return[i[0],i[1]]}return i},A=function(t,e,r){for(var n=e.length,o=0;o<n;o++)t[r+o]=e[o];return r+n};t.exports=function(t,e,r,n){a(t),i(e);var o="base64"===u(e)?p:l,s=e?e.lastChunkHandling:void 0;if(void 0===s&&(s="loose"),"loose"!==s&&"strict"!==s&&"stop-before-partial"!==s)throw new v("Incorrect `lastChunkHandling` option");r&&f(r.buffer);var _=t.length,E=r||h(g(3*_/4)),S=0,w=0,L="",I=0;if(n)while(1){if(I=b(t,I),I===_){if(L.length>0){if("stop-before-partial"===s)break;if("loose"!==s)throw new d("Missing padding");if(1===L.length)throw new d("Malformed padding: exactly one additional character");S=A(E,y(L,o,!1),S)}w=_;break}var T=m(t,I);if(++I,"="===T){if(L.length<2)throw new d("Padding is too early");if(I=b(t,I),2===L.length){if(I===_){if("stop-before-partial"===s)break;throw new d("Malformed padding: only one =")}"="===m(t,I)&&(++I,I=b(t,I))}if(I<_)throw new d("Unexpected character after padding");S=A(E,y(L,o,"strict"===s),S),w=_;break}if(!c(o,T))throw new d("Unexpected character");var x=n-S;if(1===x&&2===L.length||2===x&&3===L.length)break;if(L+=T,4===L.length&&(S=A(E,y(L,o,!1),S),L="",w=I,S===n))break}return r||(E.length=S),{bytes:E,read:w,written:S}}},"734c":function(t,e,r){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},7684:function(t,e,r){"use strict";var n=r("155d"),o=r("2c8d"),i=r("ed76"),a=r("d744"),c=r("017e"),s=r("6cc4").CONFIGURABLE,u=r("d42f"),f=r("c835"),p=f.enforce,l=f.get,d=String,v=Object.defineProperty,h=n("".slice),m=n("".replace),g=n([].join),b=c&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),y=String(String).split("String"),A=t.exports=function(t,e,r){"Symbol("===h(d(e),0,7)&&(e="["+m(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||s&&t.name!==e)&&(c?v(t,"name",{value:e,configurable:!0}):t.name=e),b&&r&&a(r,"arity")&&t.length!==r.arity&&v(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?c&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=p(t);return a(n,"source")||(n.source=g(y,"string"==typeof e?e:"")),t};Function.prototype.toString=A((function(){return i(this)&&l(this).source||u(this)}),"toString")},7847:function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,c(n.key),n)}}function i(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t,e){if("object"!==typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function c(t){var e=a(t,"string");return"symbol"===typeof e?e:String(e)}r.r(e),r.d(e,"HTMLParser",(function(){return g})),r.d(e,"default",(function(){return y})),r.d(e,"parseHtml",(function(){return b}));var s=/\s/,u=/[a-zA-Z0-9\-]/,f="<!DOCTYPE html>",p="\x3c!--",l="--\x3e",d="</meta>",v="</link>",h=["meta","link"],m={meta:d,link:v},g=function(){function t(){n(this,t),this.input="",this.len=0,this.cur=0}return i(t,[{key:"eof",get:function(){return this.cur>=this.len}},{key:"peek",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.input[this.cur+t]}},{key:"sub",value:function(t,e){var r=e||this.cur;return this.input.substring(r,r+t)}},{key:"moveCur",value:function(t){this.cur+=t}},{key:"consumeChar",value:function(t){var e=this.peek();if(e!==t)throw new Error("Unexpected character: '".concat(e,"' should be '").concat(t,"'"));return this.cur++,e}},{key:"consumeSpace",value:function(){this.consumeWhile(s)}},{key:"consumeWhile",value:function(t){var e=[];do{var r=this.peek();if(!t.test(r))break;e.push(r),this.cur++}while(!this.eof);return e.join("")}},{key:"noop",value:function(){}},{key:"pureInput",value:function(t){var e=t.trim();e.startsWith(f)&&(e=e.substring(f.length));var r=function t(e){var r=e.indexOf(p),n=e.indexOf(l);if(r>=0&&n>=0){var o=e.substring(0,r),i=e.substring(n+l.length);return t("".concat(o).concat(i))}return e};return e=r(e),e}},{key:"parse",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t||"";return this.input=this.pureInput(r),this.len=r.length,this.onTagOpen=e.onTagOpen||this.noop(),this.onTagClose=e.onTagClose||this.noop(),this.cur=0,this.parseNodes()}},{key:"parseNodes",value:function(){var t=[];do{var e=void 0;if("<"===this.peek()){if("/"===this.peek(1))break;e=this.parseElement()}else e=this.parseTextNode();" "!==e&&t.push(e)}while(!this.eof);return t}},{key:"parseTextNode",value:function(){var t=this.consumeWhile(/[^<]/);return t.replace(/[\s\n]+/g," ")}},{key:"parseElement",value:function(){var t=this;this.consumeChar("<");var e=this.parseTag();this.onTagOpen(e),this.consumeSpace();var r=this.parseAttrs(),n=this.peek(),o=this.peek(-1),i=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t.parseTag(),t.consumeSpace(),t.consumeChar(">"),o&&t.moveCur(o);var i={tag:e,attrs:r,children:n};return t.onTagClose(e,i),i};if("/>"==="".concat(o).concat(n))return i([]);if(h.includes(e)&&">"===n){var a=m[e],c=a.length,s=this.sub(c,this.cur+1),u=s===a?c:0;return i([],u)}this.consumeChar(">");var f=this.parseNodes();return this.consumeChar("<"),this.consumeChar("/"),i(f)}},{key:"parseTag",value:function(){var t=this.consumeWhile(u);return t}},{key:"parseAttrs",value:function(){var t={};while(">"!==this.peek()){var e=this.parseTag();if(e){if("="===this.peek()){this.consumeChar("="),this.consumeChar('"');var r=this.consumeWhile(/[^"]/);this.consumeChar('"'),t[e]=r}else t[e]="";this.consumeSpace()}else this.consumeChar(this.peek())}return t}}]),t}();function b(t,e){var r=new g,n=r.parse(t,e);return n}var y={parseHtml:b,HTMLParser:g}},7903:function(t,e,r){"use strict";var n=r("155d"),o=r("6e4c");t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(i){}}},"7a35":function(t,e,r){"use strict";var n=r("3dcd"),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},"7cc7":function(t,e,r){"use strict";t.exports=!1},"7cd2":function(t,e,r){"use strict";var n=r("ff10"),o=r("2973"),i=r("2e25"),a=n.DataView;t.exports=function(t){if(!o||0!==i(t))return!1;try{return new a(t),!1}catch(e){return!0}}},8099:function(t,e,r){"use strict";var n=r("c23a"),o=r("155d"),i=r("b1de"),a=r("54a8"),c=URLSearchParams,s=c.prototype,u=o(s.getAll),f=o(s.has),p=new c("a=1");!p.has("a",2)&&p.has("a",void 0)||n(s,"has",(function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return f(this,t);var n=u(this,t);a(e,1);var o=i(r),c=0;while(c<n.length)if(n[c++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0})},"811f":function(t,e,r){"use strict";var n=r("e605"),o=r("a86f"),i=r("6e4c"),a=r("083c"),c=r("734c"),s=r("ac54"),u=r("3ce3"),f=r("7cc7"),p=r("f511"),l=r("e7b0"),d=r("36a6"),v=!f&&!l("filter",(function(){})),h=!f&&!v&&d("filter",TypeError),m=f||v||h,g=s((function(){var t,e,r,n=this.iterator,i=this.predicate,c=this.next;while(1){if(t=a(o(c,n)),e=this.done=!!t.done,e)return;if(r=t.value,u(n,i,[r,this.counter++],!0))return r}}));n({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function(t){a(this);try{i(t)}catch(e){p(this,"throw",e)}return h?o(h,this,t):new g(c(this),{predicate:t})}})},8403:function(t,e,r){"use strict";var n=r("ff10"),o=r("ed76"),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8471:function(t,e,r){"use strict";var n=r("155d"),o=r("d744"),i=SyntaxError,a=parseInt,c=String.fromCharCode,s=n("".charAt),u=n("".slice),f=n(/./.exec),p={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},l=/^[\da-f]{4}$/i,d=/^[\u0000-\u001F]$/;t.exports=function(t,e){var r=!0,n="";while(e<t.length){var v=s(t,e);if("\\"===v){var h=u(t,e,e+2);if(o(p,h))n+=p[h],e+=2;else{if("\\u"!==h)throw new i('Unknown escape sequence: "'+h+'"');e+=2;var m=u(t,e,e+4);if(!f(l,m))throw new i("Bad Unicode escape at: "+e);n+=c(a(m,16)),e+=4}}else{if('"'===v){r=!1,e++;break}if(f(d,v))throw new i("Bad control character in string literal at: "+e);n+=v,e++}}if(r)throw new i("Unterminated string at: "+e);return{value:n,end:e}}},"86be":function(t,e,r){"use strict";var n=r("8bc0"),o=r("e82f"),i=r("3dcd"),a=n.aTypedArray,c=n.exportTypedArrayMethod;c("at",(function(t){var e=a(this),r=o(e),n=i(t),c=n>=0?n:r+n;return c<0||c>=r?void 0:e[c]}))},"87b6":function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}t.exports=r},8866:function(t,e,r){"use strict";var n=r("155d"),o=r("2c8d"),i=r("ba95"),a=Object,c=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):a(t)}:a},"89f9":function(t,e,r){"use strict";var n=r("cf14"),o=r("6e4c"),i=r("da82"),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},"8a28":function(t,e,r){"use strict";var n=r("e605"),o=r("4dfe"),i=r("a86f"),a=r("155d"),c=r("2c8d"),s=r("6acb"),u=r("ed76"),f=r("610b"),p=r("47a4"),l=r("bc7a"),d=r("c129"),v=r("ba95"),h=r("ce87"),m=r("13d0").includes,g=r("d744"),b=r("b1de"),y=r("8471"),A=r("086f"),_=r("3d0b"),E=r("4784"),S=String,w=TypeError,L=o("JSON","stringify"),I=o("BigInt"),T=a("".valueOf),x=a((!0).valueOf),O=I&&a(I.prototype.valueOf),C=a(/./.exec),N=a("".charAt),P=a("".charCodeAt),R=a("".replace),D=a("".slice),M=a([].push),V=a([].pop),j=a(1.1.toString),F=/[\uD800-\uDFFF]/g,k=/^[\uD800-\uDBFF]$/,U=/^[\uDC00-\uDFFF]$/,B=/^\d+$/,G=A(),H=A(),K=A(),Y=G.length,W=H.length,J=!_||c((function(){var t=o("Symbol")("stringify detection");return"[null]"!==L([t])||"{}"!==L({a:t})||"{}"!==L(Object(t))})),X=c((function(){return'"\\udf06\\ud834"'!==L("\udf06\ud834")||'"\\udead"'!==L("\udead")})),z=E?o("JSON","isRawJSON"):l,q=J?function(t,e,r){return L(t,(function(t,r){var n=i(e,this,t,r);if(!d(n))return n}),r)}:L,$=function(t,e,r){var n=N(r,e-1),o=N(r,e+1);return C(k,t)&&!C(U,o)||C(U,t)&&!C(k,n)?"\\u"+j(P(t,0),16):t},Q=function(t){if(s(t)){for(var e=t.length,r=[],n=p(null),o=0;o<e;o++){var i,a=t[o];if("string"==typeof a)i=a;else{if("number"!=typeof a&&"Number"!==v(a)&&"String"!==v(a))continue;i=b(a)}g(n,i)||(n[i]=!0,M(r,i))}return r}},Z=function(t,e){try{return t(e),!0}catch(r){return!1}},tt=function(t){var e=v(t);return"Number"===e&&Z(h,t)||"String"===e&&Z(T,t)||"Boolean"===e&&Z(x,t)||!!O&&"BigInt"===e&&Z(O,t)},et=function(t){if(!f(t)||u(t)||s(t))return!1;try{return!tt(t)}catch(e){return!0}},rt=function(t,e){return{toJSON:function(){var r=t[e];if(f(r)||"bigint"==typeof r){var n=r.toJSON;u(n)&&(r=i(n,r,e))}return r}}},nt=function(t){for(var e=0,r=t.length;e<r;e++)if(C(B,t[e]))return H;return""},ot=function(t,e,r){for(var n=p(null),o=0,i=e.length;o<i;o++){var a=e[o];n[r+a]=rt(t,a)}return n[K]=null,n};L&&n({target:"JSON",stat:!0,arity:3,forced:J||X||!E},{stringify:function(t,e,r){var n,o=u(e)?e:void 0,a=o?void 0:Q(e),c=a&&nt(a),f=[],p=[],l=[],d=!1,v=!0,h=q(t,(function(t,e){if(t=S(t),a){if(t===K)return V(p),void(n=V(l));if(v)v=!1;else if(this!==n&&!s(this)&&!m(a,t))return}else o&&(e=i(o,this,t,e));if(z(e))return E?e:(d=!0,G+(M(f,e.rawJSON)-1));if(a&&et(e)){if(m(p,e))throw new w("Converting circular structure to JSON");var r=ot(e,a,c);return M(p,e),M(l,n),n=r,c&&(d=!0),r}return e}),r);if("string"!=typeof h)return h;if(X&&(h=R(h,F,$)),!d)return h;for(var g="",b=h.length,A=0;A<b;A++){var _=N(h,A);if('"'===_){var L=y(h,++A).end-1,I=D(h,A,L);D(I,0,Y)===G?g+=f[D(I,Y)]:D(I,0,W)===H?g+='"'+D(I,W)+'"':g+='"'+I+'"',A=L}else g+=_}return g}})},"8b17":function(t,e,r){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"8bc0":function(t,e,r){"use strict";var n,o,i,a=r("2973"),c=r("017e"),s=r("ff10"),u=r("ed76"),f=r("610b"),p=r("d744"),l=r("666d"),d=r("2d1c"),v=r("6113"),h=r("c23a"),m=r("a66d"),g=r("1262"),b=r("0214"),y=r("c412"),A=r("0a8d"),_=r("086f"),E=r("c835"),S=E.enforce,w=E.get,L=s.Int8Array,I=L&&L.prototype,T=s.Uint8ClampedArray,x=T&&T.prototype,O=L&&b(L),C=I&&b(I),N=Object.prototype,P=s.TypeError,R=A("toStringTag"),D=_("TYPED_ARRAY_TAG"),M="TypedArrayConstructor",V=a&&!!y&&"Opera"!==l(s.opera),j=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},k={BigInt64Array:8,BigUint64Array:8},U=function(t){if(!f(t))return!1;var e=l(t);return"DataView"===e||p(F,e)||p(k,e)},B=function(t){var e=b(t);if(f(e)){var r=w(e);return r&&p(r,M)?r[M]:B(e)}},G=function(t){if(!f(t))return!1;var e=l(t);return p(F,e)||p(k,e)},H=function(t){if(G(t))return t;throw new P("Target is not a typed array")},K=function(t){if(u(t)&&(!y||g(O,t)))return t;throw new P(d(t)+" is not a typed array constructor")},Y=function(t,e,r,n){if(c){if(r)for(var o in F){var i=s[o];if(i&&p(i.prototype,t))try{delete i.prototype[t]}catch(a){try{i.prototype[t]=e}catch(u){}}}C[t]&&!r||h(C,t,r?e:V&&I[t]||e,n)}},W=function(t,e,r){var n,o;if(c){if(y){if(r)for(n in F)if(o=s[n],o&&p(o,t))try{delete o[t]}catch(i){}if(O[t]&&!r)return;try{return h(O,t,r?e:V&&O[t]||e)}catch(i){}}for(n in F)o=s[n],!o||o[t]&&!r||h(o,t,e)}};for(n in F)o=s[n],i=o&&o.prototype,i?S(i)[M]=o:V=!1;for(n in k)o=s[n],i=o&&o.prototype,i&&(S(i)[M]=o);if((!V||!u(O)||O===Function.prototype)&&(O=function(){throw new P("Incorrect invocation")},V))for(n in F)s[n]&&y(s[n],O);if((!V||!C||C===N)&&(C=O.prototype,V))for(n in F)s[n]&&y(s[n].prototype,C);if(V&&b(x)!==C&&y(x,C),c&&!p(C,R))for(n in j=!0,m(C,R,{configurable:!0,get:function(){return f(this)?this[D]:void 0}}),F)s[n]&&v(s[n].prototype,D,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:V,TYPED_ARRAY_TAG:j&&D,aTypedArray:H,aTypedArrayConstructor:K,exportTypedArrayMethod:Y,exportTypedArrayStaticMethod:W,getTypedArrayConstructor:B,isView:U,isTypedArray:G,TypedArray:O,TypedArrayPrototype:C}},"8d5e":function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("155d"),a=r("a9cb"),c=r("2eeb"),s=r("1020"),u=r("bf0a"),f=r("b5f0"),p=u.i2c,l=u.i2cUrl,d=Math.floor,v=Math.ceil,h=i("".charAt),m=o.Uint8Array,g=o.Array,b=i([].join),y=!m||!m.prototype.toBase64||!function(){try{var t=new m;t.toBase64(null)}catch(e){return!0}}();m&&n({target:"Uint8Array",proto:!0,forced:y},{toBase64:function(){var t=c(this),e=arguments.length?a(arguments[0]):void 0,r="base64"===f(e)?p:l,n=!!e&&!!e.omitPadding;s(this.buffer);for(var o,i=0,u=t.length,m=g(n?4*d(u/3)+(u%3?u%3+1:0):4*v(u/3)),y=0,A=function(t){return h(r,o>>6*t&63)};i+2<u;i+=3)o=(t[i]<<16)+(t[i+1]<<8)+t[i+2],m[y++]=A(3),m[y++]=A(2),m[y++]=A(1),m[y++]=A(0);return i+2===u?(o=(t[i]<<16)+(t[i+1]<<8),m[y++]=A(3),m[y++]=A(2),m[y++]=A(1),n||(m[y++]="=")):i+1===u&&(o=t[i]<<16,m[y++]=A(3),m[y++]=A(2),n||(m[y++]="=",m[y++]="=")),b(m,"")}})},"8e50":function(t,e,r){"use strict";var n=r("c8cb"),o=r("d4f0");t.exports=Object.keys||function(t){return n(t,o)}},"901b":function(t,e,r){"use strict";var n=r("ff10"),o=r("155d"),i=r("7903"),a=r("64b3"),c=r("1020"),s=r("2e25"),u=r("cff8"),f=r("ab24"),p=n.structuredClone,l=n.ArrayBuffer,d=n.DataView,v=Math.max,h=Math.min,m=l.prototype,g=d.prototype,b=o(m.slice),y=i(m,"resizable","get"),A=i(m,"maxByteLength","get"),_=o(g.getInt8),E=o(g.setInt8);t.exports=(f||u)&&function(t,e,r){var n,o=s(t),i=void 0===e?o:a(e),m=!y||!y(t);if(c(t),f&&(t=p(t,{transfer:[t]}),o===i&&(r||m)))return t;if(o>=i&&(!r||m))n=b(t,0,i);else{var g=r&&!m&&A?{maxByteLength:v(i,A(t))}:void 0;n=new l(i,g);for(var S=new d(t),w=new d(n),L=h(i,o),I=0;I<L;I++)E(w,I,_(S,I))}return f||u(t),n}},"92f7":function(t,e,r){"use strict";var n=r("017e"),o=r("e694"),i=r("ebf9"),a=r("083c"),c=r("6a8d"),s=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",d="writable";e.f=n?i?function(t,e,r){if(a(t),e=c(e),a(r),"function"===typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=f(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:l in r?r[l]:n[l],enumerable:p in r?r[p]:n[p],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(a(t),e=c(e),a(r),o)try{return u(t,e,r)}catch(n){}if("get"in r||"set"in r)throw new s("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"95ea":function(t,e,r){"use strict";function n(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}Object.defineProperty(e,"__esModule",{value:!0});var o=n(r("2c8a")),i=r("cbe1"),a=r("7847"),c="4.15.3";function s(t){var e=t.appGroupName,r=t.Comp,n=t.platform,o=t.lifecycle,a=t.appName,c=t.versionId;i.appReady(e,r,{lifecycle:o,platform:n,appName:a,versionId:c})}var u=function(){return u=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},u.apply(this,arguments)};function f(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}function p(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function a(t){try{s(n.next(t))}catch(e){i(e)}}function c(t){try{s(n["throw"](t))}catch(e){i(e)}}function s(t){t.done?r(t.value):o(t.value).then(a,c)}s((n=n.apply(t,e||[])).next())}))}function l(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(t){return function(e){return s([t,e])}}function s(i){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(o=2&i[0]?n["return"]:i[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(c){i=[6,c],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}}var d={LS_CACHE_APP_PREFIX:"HelAppCache",DATABASE_NAME:"HelIndexedDB",STORE_NAME:"HelMetaData"},v={};function h(){return{db:null,name:"",storeName:"",version:1}}function m(){var t=i.getGlobalThis();return"indexedDB"in t?t.indexedDB:(console.warn("The current browser is not support indexedDB!"),null)}var g=function(){function t(t){this.dbInfo=h(),this.ready=null,this.initStorage(t)}return t.prototype.initStorage=function(t){var e=m();if(e){var r=null,n=null;this.ready=new Promise((function(t,e){r=t,n=e}));var o=this.dbInfo;if(t){var a=t.name,c=t.storeName,s=t.version;Object.assign(o,i.commonUtil.purify({name:a,storeName:c,version:s}))}var u=v[o.name];u||(u=h(),v[o.name]=u),o.db=u.db;var f=this.isUpgradeNeeded(o);if(o.db){if(!f)return void r(o);o.db.close()}var p=[o.name,void 0];f&&(p[1]=o.version);var l=e.open.apply(e,p);f&&(l.onupgradeneeded=function(t){u.db=l.result,o.db=l.result;try{o.db.createObjectStore(o.storeName)}catch(r){if("ConstraintError"!==r.name)throw r;var e=i.commonUtil.nbstr('\n The database "'.concat(o.name,'"\n has been upgraded from version ').concat(t.oldVersion," to version ").concat(t.newVersion,',\n but the storage "').concat(o.storeName,'" already exists.'));console.warn(e)}}),l.onerror=function(){n(l.error)},l.onsuccess=function(){o.db=l.result,u.db=l.result,o.db.onversionchange=function(t){t.target.close()},r(o)}}},t.prototype.isUpgradeNeeded=function(t){if(!t.db)return!0;var e=!t.db.objectStoreNames.contains(t.storeName),r=t.version<t.db.version,n=t.version>t.db.version;if(r&&(console.warn('The database "'.concat(t.name,"\" can't be downgraded from version ").concat(t.db.version," to version ").concat(t.version)),t.version=t.db.version),n||e){if(e){var o=t.db.version+1;o>t.version&&(t.version=o)}return!0}return!1},t.prototype.getObjectStore=function(t,e){var r=t.name,n=t.db,o=t.storeName;if(!n)throw new Error("get ".concat(o," objectStore failed in ").concat(r," database"));var i=n.transaction(o,e||"readonly").objectStore(o);return i},t.prototype.attachHandler=function(t,e,r){t.onsuccess=function(){e(t.result||null)},t.onerror=function(){r(t.error)}},t.prototype.getItem=function(t){return p(this,void 0,void 0,(function(){var e,r,n,o=this;return l(this,(function(i){switch(i.label){case 0:return[4,this.getDbInfo()];case 1:return e=i.sent(),r=this.getObjectStore(e),n=r.get(t),[2,new Promise((function(t,e){o.attachHandler(n,t,e)}))]}}))}))},t.prototype.setItem=function(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i=this;return l(this,(function(a){switch(a.label){case 0:return[4,this.getDbInfo()];case 1:return r=a.sent(),n=this.getObjectStore(r,"readwrite"),o=n.put(e,t),[2,new Promise((function(t,e){i.attachHandler(o,t,e)}))]}}))}))},t.prototype.removeItem=function(t){return p(this,void 0,void 0,(function(){var e,r,n,o=this;return l(this,(function(i){switch(i.label){case 0:return[4,this.getDbInfo()];case 1:return e=i.sent(),r=this.getObjectStore(e,"readwrite"),n=r.delete(t),[2,new Promise((function(t,e){o.attachHandler(n,t,e)}))]}}))}))},t.prototype.getDbInfo=function(){return this.ready?this.ready:Promise.reject("forget init")},t}();function b(t){return!t.startsWith("//")&&(t.startsWith("/")||t.startsWith("./")||t.startsWith("../"))}function y(t,e){return e.startsWith(t)?"build":b(e)?"relative":"static"}function A(){if(!m())return null;try{var t=new g({name:d.DATABASE_NAME,storeName:d.STORE_NAME});return{setItem:function(e,r){return t.setItem(e,r)},getItem:function(e){return t.getItem(e)},removeItem:function(e){return t.removeItem(e)}}}catch(e){return console.error("new IndexedDBStorage error: ".concat(e.message)),null}}function _(){var t,e={getItem:function(){},setItem:function(){},removeItem:function(){}};try{var r=null===(t=i.getGlobalThis())||void 0===t?void 0:t.localStorage;return r||e}catch(n){return e}}function E(t,e,r){var n=Object.prototype.hasOwnProperty.call(t,e);if(n)return t[e]||r}function S(t){return t||i.getPlatform()}function w(t,e){try{_().setItem(t,JSON.stringify(e))}catch(r){i.log("save localStorage failed: ".concat(r.message))}}function L(t){if(!t)return t;var e=t.appInfo,r=t.appVersion;return e&&r?{app:e,version:r}:t}function I(t,e){var r="".concat(d.LS_CACHE_APP_PREFIX,".").concat(S(e),".").concat(t);return r}function T(t,e){return p(this,void 0,Promise,(function(){var r,n,o,a,c,s,u,f,p,d,v;return l(this,(function(l){switch(l.label){case 0:r=e||{},n=r.platform,o=r.cacheKey,a=r.storageType,c=void 0===a?"indexedDB":a,s=o||I(t,n),l.label=1;case 1:return l.trys.push([1,4,,5]),"indexedDB"!==c?[3,3]:(u=A(),u?[4,u.getItem(s)]:[3,3]);case 2:return f=l.sent(),[2,L(f)];case 3:return p=_().getItem(s),d=i.commonUtil.safeParse(p||"",null),[2,L(d)];case 4:return v=l.sent(),console.error(v),[2,null];case 5:return[2]}}))}))}function x(t,e,r){var n=I(t,r),o=(null===e||void 0===e?void 0:e({appName:t,innerKey:n}))||n;return o}function O(t,e){return p(this,void 0,Promise,(function(){var r,n,o,i,a;return l(this,(function(c){switch(c.label){case 0:return r=e.getCacheKey,n=e.storageType,o=e.platform,i=x(t,r,o),[4,T(t,{platform:o,cacheKey:i,storageType:n})];case 1:return a=c.sent(),a?[2,{appInfo:a.app,appVersion:a.version}]:[2,null]}}))}))}function C(t,e,r){var n="indexedDB"===r;if(!n)return w(t,e);var o=A();if(!o)return w(t,e);o.setItem(t,e).catch((function(r){i.log("save indexeddb failed, use localStorage instead, err: ".concat(r.message)),w(t,e)}))}var N={GET_APP_AND_VER:"getSubAppAndItsVersion",GET_APP_AND_FULL_VER:"getSubAppAndItsFullVersion",BATCH_GET_APP_AND_VER:"batchGetSubAppAndItsVersion",BATCH_GET_APP_AND_FULL_VER:"batchGetSubAppAndItsFullVersion",GET_APP_VER:"getSubAppVersion",GET_APP_FULL_VER:"getSubAppFullVersion"},P="get",R="Jsonp";function D(t){var e=t.userLsKey,r=_().getItem(e)||"";if(r)return r;try{var n={};i.getGlobalThis().document.cookie.split(";").forEach((function(t){var e=t.split("="),r=e[0],o=e[1];n[r]=o})),r=n[e]||"",i.log("[[ getUserName ]] result:",r)}catch(o){i.log("[[ getUserName ]] err:",o)}return r}var M=Object.freeze({__proto__:null,getUserName:D}),V=i.commonUtil.isNull;function j(t,e,r){var n=i.getPlatformConfig(t),o=n.origin,a=n[e],c=o[e];return r||a||c}function F(t,e,r,n){var o=j(t,e,n);if(o)return o(r);var i=M[e]||function(){return null};return i(r)}function k(t,e,r,n){var o=r||[],a=o[0],c=o[1];if(!V(a,n))return a;var s=i.getPlatformConfig(t),u=s[e];if(!V(u,n))return u;var f=s.origin,p=f[e];return V(p,n)?c:p}function U(t,e){var r,n=i.getPlatformConfig(t.platform),o=t.hook||{},a=n.origin,c=n.hook;return o[e]||c[e]||(null===(r=a.hook)||void 0===r?void 0:r[e])}function B(t,e){var r,n,o,a="";if(e&&(a=(null===(r=e.getApiPrefix)||void 0===r?void 0:r.call(e))||e.apiPrefix),a)return a;var c=i.getPlatformConfig(t);if(a=(null===(n=c.getApiPrefix)||void 0===n?void 0:n.call(c))||c.apiPrefix,a)return a;var s=c.origin;return a=(null===(o=s.getApiPrefix)||void 0===o?void 0:o.call(s))||s.apiPrefix,a}var G=11,H={now:function(){return(new Date).getTime()},rand:function(){return Math.random().toString().substring(6)},removeElem:function(t){var e=t.parentNode;e&&e.nodeType!==G&&e.removeChild(t)},parseData:function(t){var e="";if("string"===typeof t)e=t;else if("object"===typeof t)for(var r in t)e+="".concat(e,"&").concat(r,"=").concat(encodeURIComponent(t[r]));return e+="&_t=".concat(H.now()),e=e.substring(1),e},getJSON:function(t,e){return new Promise((function(r,n){var o="",a=t;a=a+(-1===a.indexOf("?")?"?":"&")+H.parseData(e);var c=/callback=(\w+)/.exec(a);o=(null===c||void 0===c?void 0:c[1])?c[1]:"helJsonp_".concat(H.now(),"_").concat(H.rand()),a=a.includes("?")?"".concat(a,"&callback=").concat(o):"".concat(a,"?callback=").concat(o);var s=i.getGlobalThis(),u=s.document,f=u.createElement("script");f.type="text/javascript",f.src=a,f.id=o,f.onerror=n,f.addEventListener("error",n),s[o]=function(t){delete s[o];var e=u.getElementById(o);return e&&H.removeElem(e),r(t)};var p=u.getElementsByTagName("head");(null===p||void 0===p?void 0:p[0])&&p[0].appendChild(f)}))}},K=H.getJSON;function Y(){return"XMLHttpRequest"in i.getGlobalThis()?new XMLHttpRequest:null}function W(t,e){return p(this,void 0,Promise,(function(){var r,n,o,i,a;return l(this,(function(c){switch(c.label){case 0:return r=e||{},n=r.method,o=f(r,["method"]),i=new J(o),[4,i.request(t,n)];case 1:return a=c.sent(),[2,a]}}))}))}var J=function(){function t(t){this.req=null,this.resultPromise=Promise.resolve(null),this.init(t||{})}return t.prototype.init=function(t){var e=Y();if(!e)throw new Error("current browser is not support XMLHttpRequest!");this.req=e;var r=t.responseType,n=t.timeout,o=void 0===n?1e4:n,i=t.withCredentials,a=t.headers;e.responseType=r||"json",e.timeout=o,e.withCredentials=!!i,a&&Object.keys(a).forEach((function(t){e.setRequestHeader(t,a[t])}));var c=null,s=null;this.resultPromise=new Promise((function(t,e){c=t,s=e}));var u=function(){var t=e.response,r=e.status,n=e.statusText,o=e.responseURL;c({data:t,status:r,statusText:n,url:o})},f=function(t){var r=e.status,n=e.statusText,o=e.responseURL;s({msg:t,status:r,statusText:n,url:o})};e.onload=function(){return u()},e.onerror=function(t){return f(t)},e.onabort=function(t){return f(t)},e.ontimeout=function(t){return f(t)},e.onprogress=function(){}},t.prototype.request=function(t,e){return p(this,void 0,Promise,(function(){var r;return l(this,(function(n){switch(n.label){case 0:if(!this.req)throw new Error("forget init");return this.req.open(e?e.toUpperCase():"GET",t),this.req.send(),[4,this.resultPromise];case 1:return r=n.sent(),[2,r]}}))}))},t}(),X=0,z="try_detect_latest_ver";function q(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function $(t,e){var r="";return i.allowLog()&&(e&&(X+=1,r="_".concat(X)),console.time("".concat(t).concat(r))),r}function Q(t,e){i.allowLog()&&console.timeEnd("".concat(t).concat(e||""))}function Z(t,e){return p(this,void 0,void 0,(function(){var r,n,o,a,c;return l(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,rt("".concat(e,"/").concat(t,"@latest/").concat(z,"_").concat(Date.now()))];case 1:return r=s.sent().url,n=r.split("@"),o=n[n.length-1],a=o.split("/")[0],[2,a];case 2:return c=s.sent(),i.log("[[ getSemverLatestVer ]] returns ver(latest) due to error:",c.message),[2,"latest"];case 3:return[2]}}))}))}function tt(t,e){return p(this,void 0,void 0,(function(){var r,n,o,a,c;return l(this,(function(s){switch(s.label){case 0:return[4,i.getGlobalThis().fetch(t)];case 1:return r=s.sent(),n=r.status,o=r.url,[200,304].includes(n)?e?[4,r.json()]:[3,3]:[2,{url:o,reply:null,status:n}];case 2:return a=s.sent(),[2,{url:o,reply:a,status:n}];case 3:return[4,r.text()];case 4:return c=s.sent(),[2,{url:o,reply:c,status:n}]}}))}))}function et(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a;return l(this,(function(c){switch(c.label){case 0:return[4,W(t,{method:"GET",responseType:e?"json":"text"})];case 1:return r=c.sent(),n=r.status,o=r.data,i=r.url,a=void 0===i?"":i,400===n?[2,{url:a,reply:null,status:n}]:[2,{url:a,reply:o,status:n}]}}))}))}function rt(t,e){return void 0===e&&(e=!0),p(this,void 0,void 0,(function(){var r,n;return l(this,(function(o){switch(o.label){case 0:return r=et,i.getGlobalThis().fetch&&(r=tt),[4,r(t,e)];case 1:return n=o.sent(),[2,n]}}))}))}function nt(t){var e=t.extraCssList,r=void 0===e?[]:e,n=t.custom;if(n){var o=n.extraCssList,a=void 0===o?[]:o,c=n.enable,s=void 0===c||c;if(s){var u=i.commonUtil.merge2List(r,a);return u}}return r.slice()}var ot=i.commonUtil.safeParse,it={handleSemverRet:function(t,e){var r,n=t||{},o=n.data||n;return e.onlyVersion&&(r=n.version||n.data,o=r),r=r||o.version,!e.isFullVersion&&r&&Reflect.deleteProperty(r,"html_content"),r?{data:o,code:"0",msg:""}:{data:null,code:"404",msg:"no version found"}},appendSearchKV:function(t,e,r){var n=t;return r&&(n+="&".concat(e,"=").concat(r)),n},appendSuffix:function(t,e){var r=t;return e&&(r+=e),r},getSemverApiVal:function(t){var e=t.semverApi;return void 0===e&&(e=!t.customMetaUrl&&!t.customMetaJsonpUrl),e}};function at(t,e){return p(this,void 0,Promise,(function(){var r,n,o,i,a,c,s;return l(this,(function(u){switch(u.label){case 0:r=null,n=e.semverApi,o=void 0===n||n,i=o?P:e.apiMode,a="request ".concat(t),$(a),u.label=1;case 1:return u.trys.push([1,6,,7]),i!==P?[3,3]:[4,rt(t)];case 2:return c=u.sent(),r=c.reply,[3,5];case 3:return[4,K(t)];case 4:r=u.sent(),u.label=5;case 5:return Q(a),o?[2,it.handleSemverRet(r,e)]:[2,r];case 6:return s=u.sent(),Q(a),[2,{data:null,code:"404",msg:s.message}];case 7:return[2]}}))}))}function ct(t){var e=u({},t);return e.additional_scripts=ot(e.additional_scripts,[]),e.additional_body_scripts=ot(e.additional_body_scripts,[]),e}function st(t){var e=u({},t);return e.src_map=ot(e.src_map,{htmlIndexSrc:"",webDirPath:"",headAssetList:[],bodyAssetList:[],chunkJsSrcList:[],chunkCssSrcList:[],staticJsSrcList:[],staticCssSrcList:[],relativeJsSrcList:[],relativeCssSrcList:[],otherSrcList:[]}),e}function ut(t,e,r,n){return void 0===n&&(n=!1),p(this,void 0,void 0,(function(){var o;return l(this,(function(i){switch(i.label){case 0:return o=r,o?[3,3]:n?(o="latest",[3,3]):[3,1];case 1:return[4,Z(e,t)];case 2:o=i.sent(),i.label=3;case 3:return[2,"".concat(t,"/").concat(e,"@").concat(o,"/hel_dist/hel-meta.json?_t=").concat(Date.now())]}}))}))}function ft(t,e){var r=e.versionId,n=e.projectId,o=e.branchId,a=e.apiMode,c=e.isFullVersion,s=void 0!==c&&c,u=e.versionIdList,f=void 0===u?[]:u,p=e.projectIdList,l=void 0===p?[]:p,d=e.branchIdList,v=void 0===d?[]:d,h=e.loadOptions,m=void 0===h?{}:h,g=S(e.platform),b=t,y=b,A=r,_=n,E=o,w=!1;Array.isArray(t)&&(b=t[0],y=t.join(","),A=f.join(","),_=l.join(","),E=v.join(","),w=!0);var L=function(t,e){return k(g,t,[m[t],e])},I=function(t,e){return F(g,t,e,m[t])},T=L("userLsKey",i.helConsts.DEFAULT_USER_LS_KEY),x=I("getUserName",{platform:g,appName:b,userLsKey:T}),O=I("shouldUseGray",{appName:b}),C=L("apiSuffix"),D="";"boolean"===typeof O&&(D=O?"1":"0");var M=a!==P,V="",j="",U=!1;if(w)j=s?N.BATCH_GET_APP_AND_FULL_VER:N.BATCH_GET_APP_AND_VER;else{var G=L("customMetaUrl",""),H=L("customMetaJsonpUrl","");G?V=A?"".concat(G,"/").concat(b,"@").concat(A,"?"):"".concat(G,"/").concat(b,"?"):M&&H&&(V=A?"".concat(H,"/").concat(b,"@").concat(A,"?"):"".concat(H,"/").concat(b,"?")),V?U=!0:j=s?N.GET_APP_AND_FULL_VER:N.GET_APP_AND_VER}if(!U){var K=L("apiPathOfApp",i.helConsts.DEFAULT_API_URL),Y=B(g,m),W=M?R:"",J="".concat(j).concat(W);V="".concat(Y).concat(K,"/").concat(J,"?name=").concat(y),V=it.appendSearchKV(V,"version",A)}return V=it.appendSearchKV(V,"userName",x),V=it.appendSearchKV(V,"projId",_),V=it.appendSearchKV(V,"branch",E),V=it.appendSearchKV(V,"gray",D),V=it.appendSuffix(V,C),V.endsWith("?")&&(V=V.substring(0,V.length-1)),{url:V,userName:x}}function pt(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a;return l(this,(function(c){switch(c.label){case 0:return r=e.versionId,n=e.platform,o=e.loadOptions,i=B(n,o),[4,ut(i,t,r||"",null===o||void 0===o?void 0:o.skip404Sniff)];case 1:return a=c.sent(),[2,a]}}))}))}function lt(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a,c;return l(this,(function(s){switch(s.label){case 0:return r=e.loadOptions,n=void 0===r?{}:r,o="",i="",a=it.getSemverApiVal(n),a?[4,pt(t,e)]:[3,2];case 1:return i=s.sent(),[3,3];case 2:c=ft(t,e),i=c.url,o=c.userName,s.label=3;case 3:return[2,{url:i,userName:o}]}}))}))}function dt(t,e){return p(this,void 0,void 0,(function(){var r,n,o,a,c,s,u,f,p,d,v,h,m,g,b,y,A,_,E,w;return l(this,(function(l){switch(l.label){case 0:return r=e.apiMode,n=e.appName,o=e.isFullVersion,a=void 0!==o&&o,c=e.semverApi,s=e.customMetaUrl,u=e.apiPrefix,f=void 0===u?"":u,p=e.getUrl,d=S(e.platform),v=f||k(d,"apiPrefix"),h=k(d,"apiSuffix"),m=k(d,"apiPathOfApp"),g=k(d,"apiPathOfAppVersion"),b="",y=!!s,y?(b="".concat(s,"/").concat(n).concat(t?"@".concat(t):""),[3,4]):[3,1];case 1:return c?[4,ut(v,n,t)]:[3,3];case 2:return b=l.sent(),[3,4];case 3:A=r===P?"":R,_=a?N.GET_APP_FULL_VER:N.GET_APP_VER,E="".concat(_).concat(A),w=g||m||i.helConsts.DEFAULT_API_URL,b="".concat(v).concat(w,"/").concat(E,"?ver=").concat(t),b=it.appendSearchKV(b,"name",n),b=it.appendSuffix(b,h),l.label=4;case 4:return b=(null===p||void 0===p?void 0:p(b))||b,[2,b]}}))}))}function vt(t,e){var r=e;if(q(r,"app")&&q(r,"version")&&(r={code:0,data:{app:r.app,version:r.version}}),!r||0!==Number(r.code))throw new Error((null===r||void 0===r?void 0:r.msg)||"getSubAppAndItsVersion err`");var n=r.data||{},o=n.app,i=n.version;if(!o)throw new Error("no app for ".concat(t));if(!i)throw new Error("no version for ".concat(t));return{app:ct(o),version:st(i)}}function ht(t,e){return p(this,void 0,void 0,(function(){var r,n,o,a,c,s,u,f,d,v,h,m,g,b,y,A,_,E,S,w,L=this;return l(this,(function(I){switch(I.label){case 0:return r=e.versionId,n=e.branchId,o=e.projectId,a=e.platform,c=e.apiMode,s=e.loadOptions,u=void 0===s?{}:s,f="getSubAppAndItsVersionFn",d="getMeta",v=d,h=j(a,d,u.getMeta),h||(h=j(a,f,u.getSubAppAndItsVersionFn),v=f),[4,lt(t,e)];case 1:return m=I.sent(),g=m.url,b=m.userName,y=function(e,r){return p(L,void 0,void 0,(function(){var n,o,i,a;return l(this,(function(s){switch(s.label){case 0:return n=e||g,o=it.getSemverApiVal(u),[4,at(n,{apiMode:r||c,semverApi:o})];case 1:return i=s.sent(),a=vt(t,i),[2,a]}}))}))},h?(A=F(a,"shouldUseGray",{appName:t},u.shouldUseGray),_={platform:a,appName:t,userName:b,versionId:r,branchId:n,projectId:o,url:g,needGrayVer:A,innerRequest:y},i.log("[[ ".concat(v," ]] fnParams:"),_),[4,Promise.resolve(h(_))]):[3,3];case 2:return E=I.sent(),S=vt(t,E),[2,S];case 3:return[4,y()];case 4:return w=I.sent(),[2,w]}}))}))}function mt(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a,c,s,u,f,p,d,v;return l(this,(function(l){switch(l.label){case 0:return r=e.apiMode,n=e.isFullVersion,o=void 0!==n&&n,i=e.semverApi,a=e.customMetaUrl,[4,dt(t,e)];case 1:return c=l.sent(),s=!a&&i,[4,at(c,{apiMode:r,isFullVersion:o,semverApi:s,onlyVersion:!0})];case 2:if(u=l.sent(),f=u.data,p=u.code,d=u.msg,0!==parseInt(p,10)||!f)throw new Error(d||"ver not found");return v=st(f),[2,v]}}))}))}function gt(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a,c,s,u,f=this;return l(this,(function(d){switch(d.label){case 0:return t.length?(r=e.apiMode,n=e.batchGetFn,o=e.semverApi,i=S(e.platform),[4,ft(t,e)]):[2,[]];case 1:return a=d.sent().url,c=function(){return p(f,void 0,void 0,(function(){var t,e,n,i,c;return l(this,(function(s){switch(s.label){case 0:return[4,at(a,{apiMode:r,semverApi:o})];case 1:if(t=s.sent(),e=t.data,n=t.code,i=t.msg,0!==parseInt(n,10)||!e)throw new Error(i||"batch get failed");return c=e.map((function(t){return{app:ct(t.app),version:st(t.version)}})),[2,c]}}))}))},s=[],n?(u={url:a,platform:i,innerRequest:c},[4,Promise.resolve(n(u))]):[3,3];case 2:return s=d.sent(),[3,5];case 3:return[4,c()];case 4:s=d.sent(),d.label=5;case 5:return[2,s]}}))}))}var bt=i.commonUtil.noop,yt=i.commonUtil.okeys;function At(){var t=i.getGlobalThis();t.__HEL_LOAD_ASSETS_FLAG__=1}function _t(t){var e;try{var r=null===(e=i.getGlobalThis())||void 0===e?void 0:e.document,n=r.querySelector(t);return!!n}catch(o){return!1}}function Et(t,e){var r=t["data-helex"]||"",n=t["data-helappend"],o=i.getGlobalThis();if("0"===n)return!1;if(r){var a=r.split(",");if("script"===e&&a.every((function(t){return!!o[t]})))return!1;var c=_t("".concat(e,'[data-helex="').concat(r,'"]'));return!c}return!0}function St(t,e,r){var n=i.getGlobalThis().document;yt(e).forEach((function(r){return t.setAttribute(r,e[r])})),r?n.body.appendChild(t):n.head.appendChild(t)}function wt(t,e){""===t.textContent?t.textContent=e:t.innerText=e}function Lt(t){var e=t.attrs,r=t.innerText,n=t.appendToBody,o=void 0===n||n,a=t.onloadCb,c=void 0===a?bt:a,s=t.onerrorCb,u=void 0===s?bt:s,p=e.src,l=f(e,["src"]),d=l,v=function(t){return c(t),t};if(!p&&!r)return v(!1);var h=i.getGlobalThis().document;if(p&&_t('script[src="'.concat(p,'"]')))return v(!1);if(!Et(d,"script"))return v(!1);var m=h.createElement("script");return p&&m.setAttribute("src",p),yt(d).forEach((function(t){return m.setAttribute(t,d[t])})),m.onload=c,m.onerror=u,r&&wt(m,r),St(m,d,o),!0}function It(t){var e=t.appendToBody,r=void 0!==e&&e,n=t.innerText,o=t.attrs,a=o.href,c=o.rel,s=f(o,["href","rel"]),u=s,p=i.getGlobalThis().document;if(a||n){if(!Et(u,"link"))return!1;var l=p.createElement("link");a?(l.setAttribute("href",a),l.setAttribute("rel",c||"stylesheet")):c&&l.setAttribute("rel",c),n&&(l.innerText=n),St(l,u,r)}}function Tt(t){var e=t.appendToBody,r=void 0!==e&&e,n=t.innerText,o=void 0===n?"":n,a=t.attrs,c=i.getGlobalThis().document,s=c.createElement("style");s.innerText=o,St(s,a,r)}function xt(t){return["link","staticLink","relativeLink"].includes(t.tag)}function Ot(t,e){return bt(e),["script","staticScript","relativeScript"].includes(t)}function Ct(t){return"staticScript"===t}function Nt(t,e){var r=t.attrs,n=t.innerText,o=void 0===n?"":n,i=e.appendToBody,a=e.appendCss,c=e.webDirPath,s=e.cssAppendTypes,u=e.excludeCssList,f={appendToBody:i,attrs:r,innerText:o},p=r.href;p.endsWith(".ico")&&!0!==t.append||(p.endsWith(".css")?a&&s.includes(y(c,p))&&!u.includes(p)&&It(f):It(f))}function Pt(t,e){var r=e.appendToBody;t.forEach((function(t){var n=t.tag,o=t.attrs,i=t.append,a=void 0===i||i,c=t.innerText,s=void 0===c?"":c;a&&(xt(t)?Nt(t,e):Ot(n,o)?Lt({appendToBody:r,attrs:o,innerText:s}):"style"===n&&Tt({appendToBody:r,attrs:o,innerText:s}))}))}function Rt(t,e){return p(this,void 0,void 0,(function(){var r,n;return l(this,(function(o){switch(o.label){case 0:return r=e.appendToBody,n=function(t){return new Promise((function(n,o){var i=t.tag,a=t.attrs,c=t.append,s=void 0===c||c,u=t.innerText,f=void 0===u?"":u;if(!s)return n(!0);if(xt(t))return Nt(t,e),n(!0);if(Ot(i,a)){var p=function(){return n(!0)},l=function(t,e,r,n,i){console.error(t,e,r,n,i);var a=i instanceof Error?i:new Error(String(t));o(a)};return Lt({appendToBody:r,attrs:a,innerText:f,onloadCb:p,onerrorCb:l})}n(!0)}))},[4,Promise.all(t.map(n))];case 1:return o.sent(),[2]}}))}))}function Dt(t){var e=t.assetUrlList,r=t.appendCss,n=t.excludeCssList,o=t.appendToBody;if(e)for(var i=0,a=e;i<a.length;i++){var c=a[i];c.endsWith(".css")?r&&!n.includes(c)&&It({appendToBody:o,attrs:{href:c}}):Lt({appendToBody:o,attrs:{src:c}})}}function Mt(t,e,r){return p(this,void 0,void 0,(function(){var n,o,a,c,s,u,f,p,d,v,h,m,g,b,y,A,_,E,S,w,L,I,T,x,O,C,N,P,R,D;return l(this,(function(l){switch(l.label){case 0:return At(),n=t.additional_scripts,o=void 0===n?[]:n,a=t.additional_body_scripts,c=void 0===a?[]:a,s=e.src_map,u=s.headAssetList,f=void 0===u?[]:u,p=s.bodyAssetList,d=void 0===p?[]:p,v=s.webDirPath,h=s.chunkCssSrcList,m=void 0===h?[]:h,g=r.useAdditionalScript,b=void 0!==g&&g,y=r.appendCss,A=void 0===y||y,_=r.cssAppendTypes,E=void 0===_?["build","static","relative"]:_,S=r.getExcludeCssList,w=nt(r),L=i.commonUtil.merge2List(w,m),I=(null===S||void 0===S?void 0:S(L,{version:e}))||[],T={excludeCssList:I,webDirPath:v,appendCss:A,cssAppendTypes:E,appendToBody:!1},x={excludeCssList:I,webDirPath:v,appendCss:A,cssAppendTypes:E,appendToBody:!0},b?(O=function(t){return t.endsWith(".css")?{tag:"staticLink",attrs:{href:t}}:{tag:"staticScript",attrs:{src:t}}},C=o.map(O),N=c.map(O),[4,Rt(C,T)]):[3,3];case 1:return l.sent(),[4,Rt(N,x)];case 2:l.sent(),l.label=3;case 3:return w.length&&Dt({assetUrlList:w,excludeCssList:I,appendToBody:!1}),P=[],R=[],D=[],f.forEach((function(t){Ct(t.tag)?P.push(t):R.push(t)})),d.forEach((function(t){Ct(t.tag)?P.push(t):D.push(t)})),P.length?[4,Rt(P,T)]:[3,5];case 4:return l.sent(),Pt(R,T),Pt(D,x),[2];case 5:return Pt(R,T),Pt(D,x),[2]}}))}))}var Vt={SHADOW:!0,SET_STYLE_AS_STRING:!0,ENABLE_DISK_CACHE:!1,ENABLE_DISK_CACHE_FOR_ERR:!0,ENABLE_SYNC_META:!0,STORAGE_TYPE:"localStorage",ENABLE_APPEND_CSS:!0,API_MODE:"get",EXTRA_DATA_PREFIX:"HelExtraData"},jt="[[ isEmitVerMatchInputVer ]]";function Ft(t,e){var r,n=e.branchId,o=e.platform,a=e.emitVer,c=e.inputVer,s=e.projectId,u=k(o,"strictMatchVer",[e.strictMatchVer]),f=i.getAppMeta(t,o);if(!1===u)return i.log("".concat(jt," set strictMatchVer false for app (").concat(t,"), trust emitVer (").concat(a,") is the target version")),!0;if(!a)return i.log("".concat(jt," emitVer should not be null")),!0;if(!c&&f){if(n)return i.log("".concat(jt," found branchId ").concat(n)),!0;var p=f.online_version,l=f.build_version;if(s){var d=(null===(r=f.proj_ver)||void 0===r?void 0:r.map)||{},v=d[s];if(v)return a===v.b||a===l||a===v.o}return a===p||a===l}return a===c}function kt(t){var e=i.getGlobalThis();i.commonUtil.isServer()||e.HelMicro||(i.log("auto bind hel-micro to global.HelMicro"),e.HelMicro=t)}var Ut=i.helConsts.DEFAULT_ONLINE_VER,Bt="http://localhost",Gt="http://127.0.0.1",Ht=["script","link","style"];function Kt(t){var e=i.getGlobalThis().DOMParser,r=(new e).parseFromString(t,"text/html"),n=[],o=function(t,e,r){t.querySelectorAll(r).forEach((function(t){var o=t.getAttributeNames(),i={};o.forEach((function(e){var r=t.getAttribute(e);null!==r&&(i[e]=r)})),n.push({head:e,tag:r,attrs:i,innerText:t.innerText})}))};return Ht.forEach((function(t){return o(r.head,!0,t)})),Ht.forEach((function(t){return o(r.body,!1,t)})),n}var Yt={isSrcMatchHost:function(t,e){return e.startsWith(Bt)||e.startsWith(Gt)?t.startsWith(Bt)||t.startsWith(Gt):t.startsWith(e)},parseHtml:function(t){if(i.getGlobalThis().DOMParser)return Kt(t);var e=!0,r=[],n=function(t){return Ht.includes(t)};return a.parseHtml(t,{onTagOpen:function(t){n(t)&&r.push({tag:t,attrs:{},innerText:"",head:e})},onTagClose:function(t,o){if("head"===t&&(e=!1),n(t)){var i=r[r.length-1];if(i){var a=o.children[0]||"";"string"===typeof a&&(i.innerText=a),i.attrs=o.attrs}}}}),r},convertToAssetList:function(t,e){var r=[],n=[],o=[],i=[],a=[],c=[];return t.forEach((function(t){var s=t.head,u=t.attrs,f=t.innerText,p=t.tag,l=s?r:n,d=u.src,v=u.href,h=u["data-helex"],m=u.rel,g=E(u,"data-helappend","1");if("style"===p)l.push({tag:p,attrs:u,innerText:f,append:!0});else{var y=d||v||"",A=y.endsWith(".css"),_="link"===p;if(!y)return;var S=!0,w=Yt.isSrcMatchHost(y,e);"icon"!==m&&(w||"1"===g||h)||(S=!1);var L=p;w||(b(y)?(L=_?"relativeLink":"relativeScript",A?a.push(y):c.push(y)):(L=_?"staticLink":"staticScript",A?o.push(y):i.push(y)));var I={tag:L,attrs:u,innerText:f,append:S};l.push(I)}})),{headAssetList:r,bodyAssetList:n,staticCssSrcList:o,staticJsSrcList:i,relativeCssSrcList:a,relativeJsSrcList:c}},getChunkList:function(t){var e=[],r=[];return t.forEach((function(t){var n=t.attrs,o=n.href,i=n.src,a=o||i||"";a&&(a.endsWith(".css")?e.push(a):r.push(a))})),{chunkCssSrcList:e,chunkJsSrcList:r}},extactHelMeta:function(t){var e=t.code,r=t.data,n=t.msg;if(e&&r){if("0"!==e)throw new Error(n||"server error occurred");return r}return t},getHelMeta:function(t,e,r){return p(this,void 0,void 0,(function(){var n,o,a,c;return l(this,(function(s){switch(s.label){case 0:n=function(r){return void 0===r&&(r=""),"fetch ".concat(t," helmeta by url ").concat(e," failed in custom mode! ").concat(r)},s.label=1;case 1:return s.trys.push([1,3,,4]),[4,rt(e)];case 2:if(o=s.sent().reply,a=Yt.extactHelMeta(o),a&&a.app&&a.version)return a.app.__fromCust=!0,[2,a];if(r)throw new Error(n());return i.log("[[ getCustomMeta ]] 404 is a expected behavior for custom mode, user can ignore it"),[2,null];case 3:if(c=s.sent(),r)throw new Error(n(c.messgae));return i.commonUtil.noop("json parse fail or other error"),[3,4];case 4:return[2]}}))}))}};function Wt(t){if(t){var e=t.enable,r=void 0===e||e,n=t.host;return!(!n||!r)}return!1}function Jt(t,e){return p(this,void 0,Promise,(function(){var r,n,o,i,a,c,s,p,d,v,h,m,g,b,y,A,_,E,S,w,L,I;return l(this,(function(l){switch(l.label){case 0:return r=e.host,n=e.appGroupName,o=e.skipFetchHelMeta,i=void 0!==o&&o,a=e.isApiUrl,c=e.parseHtml,s=e.attachHostSuffix,p=void 0===s||s,d=Date.now(),a?[4,Yt.getHelMeta(t,r,!0)]:[3,2];case 1:return h=l.sent(),[2,h];case 2:return i?[3,4]:(v=r.endsWith("hel-meta.json")?r:"".concat(r,"/hel-meta.json?_t=").concat(d),[4,Yt.getHelMeta(t,v)]);case 3:if(h=l.sent(),h)return[2,h];l.label=4;case 4:m="",l.label=5;case 5:return l.trys.push([5,7,,8]),g=p?"".concat(r,"/index.html?_t=").concat(d):r,[4,rt(g,!1)];case 6:if(b=l.sent(),m=b.reply||"",![200,304].includes(b.status))throw new Error("status ".concat(b.status));return[3,8];case 7:throw y=l.sent(),new Error("".concat(y.message," from ").concat(r));case 8:return A=c||Yt.parseHtml,_=A(m),E=Yt.convertToAssetList(_,r),S=E.headAssetList,w=E.bodyAssetList,L=f(E,["headAssetList","bodyAssetList"]),I=Yt.getChunkList(S.concat(w)),[2,{app:{__fromCust:!0,name:t,app_group_name:n||t,online_version:Ut,build_version:Ut},version:{sub_app_name:t,sub_app_version:Ut,src_map:u(u({webDirPath:r,headAssetList:S,bodyAssetList:w},I),L)}}]}}))}))}var Xt=i.commonUtil,zt=i.helConsts,qt=i.log,$t=zt.KEY_ASSET_CTX,Qt={recordAssetCtx:function(t,e,r){var n=t.name,o=t.app_group_name,a=e.src_map,c=e.version_tag||e.sub_app_version,s=a.chunkCssSrcList,u=void 0===s?[]:s,f=a.chunkJsSrcList,p=void 0===f?[]:f,l=U(r,"beforeAppendAssetNode"),d=u.concat(p),v=r.platform;d.forEach((function(t){var e=i.getCommonData($t,t)||{};e.marked||(Object.assign(e,{marked:!0,platform:v,groupName:o,name:n,ver:c,beforeAppend:l}),i.setCommonData($t,t,e))}))},tryTriggerOnFetchMetaSuccess:function(t,e,r){var n=r.loadOptions,o=r.fromFallback,i=U(n,"onFetchMetaSuccess");null===i||void 0===i||i({app:t,version:e,fromFallback:o})}};function Zt(t){var e=j(t.platform,"onFetchMetaFailed",t.onFetchMetaFailed),r=U(t,"onFetchMetaFailed");return r||e}function te(t,e){var r=i.getPlatformConfig(t).apiMode;return e||r}function ee(t,e){var r=S(t),n=te(r,e);return{platform:r,apiMode:n}}function re(t,e,r){return p(this,void 0,void 0,(function(){var n,o;return l(this,(function(i){switch(i.label){case 0:return n=A(),o=x(t,e,r),n?[4,n.removeItem(o)]:[3,2];case 1:i.sent(),i.label=2;case 2:return _().removeItem(o),[2]}}))}))}function ne(t,e,r){return p(this,void 0,void 0,(function(){var n,o,a,c,s,u,f,d,v,h,m,g,b,y,A,_,E,S,w,L,I,T,x,C,N,P,R,D,M,V,j,F,k,U,B,G=this;return l(this,(function(H){switch(H.label){case 0:return n=e.enableDiskCache,o=void 0===n?Vt.ENABLE_DISK_CACHE:n,a=e.enableSyncMeta,c=void 0===a?Vt.ENABLE_SYNC_META:a,s=e.versionId,u=void 0===s?"":s,f=e.projectId,d=void 0===f?"":f,v=e.branchId,h=e.isFullVersion,m=void 0!==h&&h,g=e.custom,b=e.strictMatchVer,y=e.semverApi,A=(r||{}).callRemote,_=void 0===A||A,E=ee(e.platform,e.apiMode),S=E.platform,w=E.apiMode,Wt(g)?[4,Jt(t,g)]:[3,2];case 1:return L=H.sent(),I=L.app,T=L.version,ae(I,{appVersion:T,platform:S,toDisk:!1,loadOptions:e}),i.setAppPlatform(I.app_group_name,S),i.setAppPlatformByAppName(t,S),[2,{appInfo:I,appVersion:T}];case 2:return x=i.getAppMeta(t,S),C=i.getVersion(t,{platform:S,versionId:u}),N=!y&&!v,N&&x&&C&&(P=C.version_tag||C.sub_app_version,Ft(t,{platform:S,projectId:d,emitVer:P,inputVer:u,strictMatchVer:b}))?[2,{appInfo:x,appVersion:C}]:(R={platform:S,apiMode:w,versionId:u,projectId:d,branchId:v,isFullVersion:m,loadOptions:e},D=null,M=function(e){return p(G,void 0,void 0,(function(){var r;return l(this,(function(n){switch(n.label){case 0:return e?[4,ce(t,R)]:[3,2];case 1:return r=n.sent(),[2,r];case 2:return[2,null]}}))}))},o?[4,O(t,e)]:[3,9]);case 3:return D=H.sent(),D?[3,5]:(qt("[[ getAppFromRemoteOrLocal ]] get meta from disk but failed!"),[4,M(_)]);case 4:return D=H.sent(),[3,8];case 5:return V=D.appInfo,j=D.appVersion,qt("[[ getAppFromRemoteOrLocal ]] disk meta:",D),F=j.version_tag||j.sub_app_version,u&&F!==u?[4,M(_)]:[3,7];case 6:return D=H.sent(),qt("[[ getAppFromRemoteOrLocal ]] remote meta:",D),[3,8];case 7:ae(V,{appVersion:j,platform:S,toDisk:!1,loadOptions:e}),M(c).catch((function(t){return Xt.noop(t)})),H.label=8;case 8:return[3,11];case 9:return[4,M(_)];case 10:D=H.sent(),H.label=11;case 11:return D&&(k=D.appInfo,U=k.app_group_name,B=k.name,i.setAppPlatform(U,S),i.setAppPlatformByAppName(B,S)),[2,D]}}))}))}function oe(t,e){return p(this,void 0,Promise,(function(){var r,n,o,i,a,c;return l(this,(function(s){switch(s.label){case 0:r=e.isFirstCall,n=void 0===r||r,o=e.enableDiskCacheForErr,i=void 0===o?Vt.ENABLE_DISK_CACHE_FOR_ERR:o,s.label=1;case 1:return s.trys.push([1,3,,6]),[4,ne(t,e)];case 2:return c=s.sent(),[2,{data:c,err:""}];case 3:if(a=s.sent(),n)throw a;return Zt(e)?[2,{data:null,err:a.message}]:(c=null,i?[4,O(t,e)]:[3,5]);case 4:if(c=s.sent(),!c)throw a;Xt.nbalert("\n [Dev mode alert err only]: ".concat(a.message,", hel-micro will try use cached data to keep your app works well,\n please check your network if this behavior is not as you expected! you can also set enableDiskCacheForErr = false\n to skip reusing cached data.\n ")),s.label=5;case 5:return[2,{data:c,err:a}];case 6:return[2]}}))}))}function ie(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a,c,s;return l(this,(function(f){switch(f.label){case 0:return r=ee(e.platform,e.apiMode),n=r.platform,o=r.apiMode,i=u(u({},e),{platform:n,apiMode:o}),[4,ht(t,i)];case 1:if(a=f.sent(),c=a.app,s=a.version,qt("[[ getAppAndVersion ]] result:",{app:c,version:s}),!s)throw new Error("no version found or builded");return[2,{appInfo:c,appVersion:s}]}}))}))}function ae(t,e){var r=e.appVersion,n=e.platform,o=e.toDisk,a=void 0===o||o,c=e.loadOptions;if(t&&r){var s=t,f=s.name;if(a){var p=x(f,c.getCacheKey),l={app:t,version:r};C(p,l,c.storageType)}if(c.semverApi){var d=i.getAppMeta(f,n);!0!==(null===d||void 0===d?void 0:d.__setByLatest)&&(s=c.versionId?s:u(u({},s),{__setByLatest:!0}),i.setAppMeta(s,n))}else i.setAppMeta(t,n);i.setVersion(f,r,{platform:n});var v=nt(c),h=r.version_tag||r.sub_app_version;i.setVerExtraCssList(f,v,{platform:n,versionId:h})}}function ce(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a;return l(this,(function(c){switch(c.label){case 0:return r=e.platform,n=e.loadOptions,[4,ie(t,e)];case 1:return o=c.sent(),i=o.appInfo,a=o.appVersion,ae(i,{appVersion:a,platform:r,loadOptions:n}),[2,o]}}))}))}function se(t,e){return void 0===e&&(e={}),p(this,void 0,Promise,(function(){var r,n,o,i,a,c,s,f,d,v,h,m,g,b,y,A,_,E,w,L,I=this;return l(this,(function(T){switch(T.label){case 0:r=e.isFirstCall,n=void 0===r||r,o=e.controlLoadAssets,i=void 0!==o&&o,a=e.platform,c=e.versionId,s=void 0===c?"":c,T.label=1;case 1:return T.trys.push([1,6,,9]),[4,oe(t,e)];case 2:return f=T.sent(),d=f.data,v=f.err,h=d||{},m=h.appInfo,g=h.appVersion,b=!m||!g,y=!1,!b||n?[3,4]:(A=Zt(e),A?[4,Promise.resolve(A({platform:a,appName:t,versionId:s}))]:[3,4]);case 3:_=T.sent(),_&&(m=_.app,g=_.version,y=!0,ae(m,{appVersion:g,platform:S(a),toDisk:!1,loadOptions:e})),T.label=4;case 4:if(!m)throw new Error(v||"app[".concat(t,"] not exist"));if(!g)throw new Error(v||"app[".concat(t,"]'s version[").concat(s,"] not exist"));return Qt.tryTriggerOnFetchMetaSuccess(m,g,{loadOptions:e,fromFallback:y}),Qt.recordAssetCtx(m,g,e),E=function(){return p(I,void 0,void 0,(function(){return l(this,(function(t){switch(t.label){case 0:return[4,Mt(m,g,e)];case 1:return t.sent(),[2]}}))}))},i?[2,E]:[4,E()];case 5:return T.sent(),[2,null];case 6:return w=T.sent(),n?(console.error("loadApp err and try one more time: ",w),[4,se(t,u(u({},e),{isFirstCall:!1}))]):[3,8];case 7:return L=T.sent(),[2,L];case 8:throw new Error("loadApp [".concat(t,"] err (").concat(w.message,"), recommend config onFetchMetaFailed hook"));case 9:return[2]}}))}))}function ue(t,e){return p(this,void 0,Promise,(function(){var r;return l(this,(function(n){switch(n.label){case 0:return[4,mt(t,e)];case 1:return r=n.sent(),[2,r]}}))}))}function fe(t,e){return p(this,void 0,Promise,(function(){var r,n,o,a,c,s,u,f,p,d;return l(this,(function(l){switch(l.label){case 0:return r=e||{},n=r.versionId,o=r.projectId,a=r.branchId,c=r.platform,s=r.reuseCache,u=void 0===s||s,!u||n||o||a||(p=i.getAppMeta(t,c),d=i.getVersion(t,{platform:c}),p&&d&&(f={app:p,version:d})),f?[3,2]:[4,ht(t,e||{})];case 1:f=l.sent(),l.label=2;case 2:return[2,f]}}))}))}function pe(t,e){var r=e||{},n=r.versionId,o=r.platform,i=r.apiMode,a=void 0===i?P:i,c=r.protocol,s=void 0===c?"http":c,u=r.projectId,f=r.branchId,p=r.semverApi,l=void 0===p||p,d=ft(t,{platform:o,versionId:n,branchId:f,apiMode:a,projectId:u,semverApi:l}).url;return"http"===s&&(d=d.replace("https:","http:")),d}function le(t,e,r){return p(this,void 0,void 0,(function(){var n;return l(this,(function(o){switch(o.label){case 0:return Array.isArray(t)?(n=[],t.forEach((function(t){return n.push(re(t,e,r))})),[4,Promise.all(n)]):[3,2];case 1:return o.sent(),[3,4];case 2:return[4,re(t,e,r)];case 3:o.sent(),o.label=4;case 4:return[2]}}))}))}var de=Object.freeze({__proto__:null,getSubAppVersion:ue,getSubAppMeta:fe,getMetaDataUrl:pe,clearDiskCachedApp:le});function ve(t,e){var r=i.getVersion(t,e);return(null===r||void 0===r?void 0:r.src_map.webDirPath)||""}function he(t,e){var r=e||{},n=S(r.platform),o=r.versionId||"";if(!o){var a=i.getVersion(t,{platform:n});if(a)o=a.version_tag||a.sub_app_version;else{var c=i.getAppMeta(t,n);o=(null===c||void 0===c?void 0:c.online_version)||(null===c||void 0===c?void 0:c.build_version)||""}}return{platform:n,versionId:o}}function me(t,e){var r={static:[],build:[]},n=i.getVersion(t,e);if(n){var o=n.src_map,a=o.webDirPath,c=o.chunkCssSrcList;c.forEach((function(t){t.startsWith(a)?r.build.push(t):r.static.push(t)}))}return r}var ge=ve,be=Object.freeze({__proto__:null,getPlatAndVer:he,getGroupedStyleList:me,getWebDirPath:ge}),ye=i.helConsts.KEY_CSS_STR,Ae=i.helLoadStatus,_e=Ae.LOADED,Ee=Ae.LOADING,Se=Ae.NOT_LOAD,we=i.commonUtil.merge2List,Le=i.getHelEventBus(),Ie=i.helEvents.STYLE_STR_FETCHED,Te={isStyleStatusMatch:function(t,e,r){var n=he(t,r),o=n.platform,a=n.versionId,c=i.getVerStyleStrStatus(t,{platform:o,versionId:a});return c===e},getSelfCssList:function(t,e){var r=he(t,e),n=i.getVersion(t,r),o=i.getVerExtraCssList(t,r),a=[],c=[];if(n){var s=n.src_map||{},u=s.chunkCssSrcList,f=void 0===u?[]:u,p=s.headAssetList,l=void 0===p?[]:p,d=s.bodyAssetList,v=void 0===d?[]:d;a=f;var h=function(t){var e=[];return t.forEach((function(t){var r=t.append,n=void 0===r||r,o=t.attrs.href||"";o.endsWith(".css")&&n&&e.push(o)})),e},m=we(h(l),h(v));c=we(m,a)}return c=we(c,o),{buildCssList:a,initExtraCssList:o,appCssList:c}},fetchStyleStr:function(t){return p(this,void 0,void 0,(function(){var e,r,n,o,a,c,s;return l(this,(function(u){switch(u.label){case 0:e="",r=0,n=t.length,u.label=1;case 1:if(!(r<n))return[3,7];if(o=t[r],!o.endsWith(".css"))return[3,6];if(a=i.getCommonData(ye,o),a)return[3,5];u.label=2;case 2:return u.trys.push([2,4,,5]),[4,rt(o,!1)];case 3:return c=u.sent(),a=c.reply,i.setCommonData(ye,o,a),[3,5];case 4:return s=u.sent(),console.error(s),[3,5];case 5:e+=a,u.label=6;case 6:return r++,[3,1];case 7:return[2,e]}}))}))},waitStyleReady:function(t,e){return p(this,void 0,void 0,(function(){var r;return l(this,(function(n){switch(n.label){case 0:return r=null,[4,new Promise((function(n){r=function(r){var o=r.appName,i=r.platform,a=r.versionId,c=e.branchId,s=e.versionId,u=e.platform,f=e.strictMatchVer;o===t&&i===u&&Ft(t,{branchId:c,platform:u,emitVer:a,inputVer:s,strictMatchVer:f})&&n(!0)},Le.on(Ie,r)}))];case 1:return n.sent(),r&&Le.off(Ie,r),[2]}}))}))},computeStyleData:function(t,e){var r=he(t,e),n=Te.getSelfCssList(t,e),o=n.appCssList,a=n.buildCssList,c=n.initExtraCssList,s=e.extraCssList,u=void 0===s?[]:s,f=e.getExcludeCssList,p=we(o,u),l=(null===f||void 0===f?void 0:f(p,{version:i.getVersion(t,r)}))||[],d=!l.length&&!u.length,v=p;return l.length&&(v=p.filter((function(t){return!l.includes(t)}))),{validCssList:v,onlyUseAppCssList:d,buildCssList:a,initExtraCssList:c,appCssList:o}},fetchStyleData:function(t,e){return p(this,void 0,void 0,(function(){var r,n,o,a,c,s,f,p,d,v,h,m,g,b,y,A,_,E;return l(this,(function(l){switch(l.label){case 0:return r=he(t,e),n=e.extraStyleStr,o=void 0===n?"":n,a=e.cssListToStr,c=e.extraCssList,s=void 0===c?[]:c,f=e.strictMatchVer,p=e.branchId,d=Te.computeStyleData(t,e),v=d.validCssList,h=d.onlyUseAppCssList,m=d.buildCssList,g=d.initExtraCssList,b=d.appCssList,y={validCssList:v,buildCssList:m,initExtraCssList:g,appCssList:b,extraCssList:s,extraStyleStr:o,renderStyleStr:""},a?h?(A=i.getVerStyleStrStatus(t,r),_="",A!==Ee?[3,2]:[4,Te.waitStyleReady(t,u(u({},r),{strictMatchVer:f,branchId:p}))]):[3,6]:[2,y];case 1:return l.sent(),_=i.getAppStyleStr(t,r)||"",[3,5];case 2:return A!==Se?[3,4]:(i.setVerStyleStrStatus(t,Ee,r),[4,Te.fetchStyleStr(b)]);case 3:return _=l.sent(),i.setAppStyleStr(t,_,r),i.setVerStyleStrStatus(t,_e,r),Le.emit(Ie,u({appName:t},r)),[3,5];case 4:_=i.getAppStyleStr(t,r)||"",l.label=5;case 5:return y.renderStyleStr="".concat(_).concat(o),[3,8];case 6:return[4,Te.fetchStyleStr(v)];case 7:E=l.sent(),y.renderStyleStr="".concat(E).concat(o),l.label=8;case 8:return[2,y]}}))}))}};function xe(t,e){return p(this,void 0,Promise,(function(){var r;return l(this,(function(n){switch(n.label){case 0:return[4,Te.fetchStyleData(t,e||{})];case 1:return r=n.sent(),[2,r]}}))}))}function Oe(t,e){var r=he(t,e),n=i.getAppStyleStr(t,r);return n}function Ce(t,e){var r=Te.getSelfCssList(t,e||{});return r}function Ne(t){return p(this,void 0,void 0,(function(){var e;return l(this,(function(r){switch(r.label){case 0:return[4,Te.fetchStyleStr(t)];case 1:return e=r.sent(),[2,e]}}))}))}function Pe(t,e){return Te.isStyleStatusMatch(t,_e,e||{})}function Re(t){var e=i.getGlobalThis();if(e.document){var r=e.document.querySelectorAll('style[data-gname="'.concat(t,'"]'));r.forEach(i.commonUtil.disableNode)}}function De(t){var e=i.commonDataUtil.getStyleTagText(t);return e}function Me(t,e){var r=Ve(t,e),n=i.commonDataUtil.getIgnoreCssPrefixCssUrlList(r)||[];return n}function Ve(t,e){var r=(e||{}).custom||{},n="",o=r.host,i=r.enable,a=void 0===i||i;if(o&&a)if(o.endsWith(".json")||o.endsWith(".html")){var c=o.split("/"),s=c.length;c.splice(s-1,s),n=c.join("/")}else n=o;else n=ve(t,e);return n}var je=Object.freeze({__proto__:null,fetchAppStyleData:xe,getAppStyleStr:Oe,getAppCssList:Ce,fetchStyleByUrlList:Ne,isStyleFetched:Pe,disableStyleTags:Re,getStyleTagText:De,getIgnoredCssUrlList:Me,getSuitableCssPrefix:Ve});function Fe(t,e,r){var n=r.platform,o=i.getAppMeta(e,n);if(!o){var a=i.getAppMeta(t,n),c=i.getVersion(t,r);if(a&&c){i.setAppMeta(u(u({},a),{name:e,__addedByTrust:!0}),n),i.setVersion(e,u(u({},c),{sub_app_name:e,__addedByTrust:!0}),{platform:n});var s=i.getVerExtraCssList(t,r);i.setVerExtraCssList(e,s,r)}}}function ke(t,e,r){var n=r.platform,o=r.emitPlatform,a=r.versionId,c=r.emitVer,s=i.getVerLib(t,r);if(!s){Fe(t,e,r);var u=i.getVerLib(e,{platform:n,versionId:a});if(!u&&o&&(u=i.getVerLib(e,{platform:o,versionId:c,strictMatchVer:!1})),!u)throw new Error("seems plat ".concat(o," emit null lib for ").concat(e));return i.libReady(e,u,{platform:n,appName:t,versionId:a}),!1}return!0}function Ue(t,e,r){var n=r.platform,o=r.emitPlatform,a=r.versionId,c=r.emitVer,f=i.getVerApp(t,r);if(!f){Fe(t,e,r);var p=i.getVerApp(e,{platform:n,versionId:a});if(!p&&o&&(p=i.getVerApp(e,{platform:o,versionId:c,strictMatchVer:!1})),!p)throw new Error("seems plat ".concat(o," emit null app for ").concat(e));return s(u(u({},p),{platform:n,appGroupName:e,appName:t,versionId:a})),!1}return!0}function Be(t,e){var r=e.versionId,n=void 0===r?"":r,o=e.isLib,a=S(e.platform),c=k(a,"strictMatchVer",[e.strictMatchVer]),s=u(u({},e),{strictMatchVer:c}),f=t,p=e.custom;Wt(p)&&(f=p.appGroupName||t,s.strictMatchVer=!1);var l=i.getAppMeta(f,a);if(e.semverApi&&!n&&l&&!0!==l.__setByLatest)return null;if(o){var d=i.getVerLib(f,s),v={appName:f,appGroupName:(null===l||void 0===l?void 0:l.app_group_name)||"",platform:a,appProperties:d,isLib:!0,versionId:n,Comp:null,lifecycle:void 0};return d?v:null}var h=i.getVerApp(f,s);return h||null}function Ge(t,e,r){var n="[[ judgeAppReady ]]",o=e.versionId,a=void 0===o?"":o,c=e.projectId,s=e.appName,u=e.platform,f=e.next,p=e.error,l=e.isLib,d=e.strictMatchVer;i.log("".concat(n," receive emit app and judge (emitAppInfo, judgeOptions):"),t,{inputVer:a,projectId:c,appName:s,platform:u,isLib:l,strictMatchVer:d});var v=S(u),h=t.appName,m=t.appGroupName,g=t.platform,b=void 0===g?v:g,y=t.versionId,A="".concat(u,"/").concat(s,"/").concat(a),_=i.getAppMeta(s,u),E=r.branchId,w=r.custom,L=r.trust,I=function(t){try{var e=l?ke(s,m,t):Ue(s,m,t);return e}catch(r){return p(r),!1}};if(w){var T=w.enable,x=void 0===T||T,O=w.host,C=w.appGroupName,N=w.trust,P=void 0!==N&&N,R=function(){return m&&(m===s||m===C)};if(x&&O){i.log("".concat(n," judge for custom:"),w);var D=function(t){i.log("".concat(n," custom conf ").concat(t?"":"mis","match current emit app!")),t&&f()};if(!P)return D(R());var M=I({versionId:a,platform:v,emitPlatform:b,emitVer:y});return D(M)}}if(!1===d&&m&&(null===_||void 0===_?void 0:_.app_group_name)===m&&v===b)return i.log("".concat(n," treat emitApp as wanted when strictMatchVer is false (appInfo):"),t),f();var V=function(){return i.log("".concat(n," still wait ").concat(A," to be emitted (emitAppInfo,toMatch):"),t,j)},j={branchId:E,platform:u,emitVer:y,inputVer:a,projectId:c,strictMatchVer:d};if(s!==h||!Ft(s,j))return V();var F=k(v,"trustAppNames",[null,[]],{emptyArrIsNull:!1});if(v!==b&&(L||F.includes(s))){M=I({versionId:a,platform:v,emitPlatform:b,emitVer:y});if(!M)return i.log("".concat(n," transfer ").concat(b," app [").concat(s,"] to ").concat(v," plat due to being in trustAppNames")),V()}f()}var He=Object.freeze({__proto__:null,getLibOrApp:Be,judgeAppReady:Ge});function Ke(t){var e=t.platform,r=f(t,["platform"]);i.initPlatformConfig(r,e)}function Ye(){return i.isSubApp()}function We(t){if(t&&!t.default)try{t.default=t}catch(e){}return t}function Je(t){var e=i.getGlobalThis();Object.keys(t).forEach((function(r){var n=t[r];n&&(e[r]=n)}))}function Xe(t){var e=We(t.React),r=We(t.ReactDOM),n=t.ReactIs||null,o=t.ReactReconciler||null,i={LEAH_React:e,LEAH_ReactDOM:r,LEAH_ReactIs:n,LEAH_ReactReconciler:o,React:e,ReactDOM:r,ReactIs:n,ReactReconciler:o};Je(i)}function ze(t){var e=We(t.Vue),r={LEAH_Vue:e,Vue:e};Je(r)}function qe(t){return"".concat(Vt.EXTRA_DATA_PREFIX,".").concat(t)}function $e(t,e){var r,n,o=null!==e&&void 0!==e&&e,a=null!==(n=null===(r=i.getGlobalThis().localStorage)||void 0===r?void 0:r.getItem(qe(t)))&&void 0!==n?n:null;return a?o?JSON.parse(a):a:null}function Qe(t,e,r){var n,o=null!==r&&void 0!==r&&r,a=o?JSON.stringify(e):e;null===(n=i.getGlobalThis().localStorage)||void 0===n||n.setItem(qe(t),a)}function Ze(t){var e;return"string"===typeof t?null===(e=i.getGlobalThis())||void 0===e?void 0:e.document.getElementById(t):t}function tr(t,e){return{name:t,platform:(null===e||void 0===e?void 0:e.platform)||i.getAppPlatform(t),versionId:(null===e||void 0===e?void 0:e.versionId)||"",getShadowAppRoot:Ze,getShadowBodyRoot:Ze}}var er=i.commonUtil.getObjsVal,rr=i.commonUtil.purify,nr=Vt.ENABLE_DISK_CACHE,or=Vt.ENABLE_SYNC_META,ir=Vt.STORAGE_TYPE,ar="preFetchLib",cr="preFetchApp",sr="preFetch";function ur(t,e){var r="string"===typeof e?{versionId:e}:u({},e||{});r.platform=S(r.platform),r.isLib=t;var n=r.platform;return r.strictMatchVer=k(n,"strictMatchVer",[r.strictMatchVer]),r.storageType=r.storageType||"indexedDB",r.semverApi=k(n,"semverApi",[r.semverApi]),r}function fr(t,e,r){if(r.shadow){if(!e)return;var n=Ve(t,r);i.commonDataUtil.setIgnoreCssPrefix(n),i.commonDataUtil.setIgnoreStyleTagKey(t),i.commonDataUtil.setIgnoreStyleTagKey(e),i.commonDataUtil.setIgnoreCssPrefixKey(n,e)}}function pr(t,e,r){return p(this,void 0,void 0,(function(){var n,o,a,c,s,u,f,p,d,v;return l(this,(function(l){switch(l.label){case 0:return n=i.getHelEventBus(),o=e.platform,a=e.isLib,c=void 0!==a&&a,s=e.versionId,u=e.projectId,f=e.strictMatchVer,p=c?i.helEvents.SUB_LIB_LOADED:i.helEvents.SUB_APP_LOADED,d=null,[4,new Promise((function(a,l){if(d=function(r){Ge(r,{appName:t,platform:o,versionId:s,projectId:u,isLib:c,next:a,error:l,strictMatchVer:f},e)},n.on(p,d),r){var v=i.getAppMeta(t,o);v&&fr(t,v.app_group_name,e),r().catch(l)}}))];case 1:return l.sent(),d&&n.off(p,d),v=Be(t,e),[2,v]}}))}))}function lr(t,e){return p(this,void 0,void 0,(function(){var r,n,o,a,c,s,f;return l(this,(function(p){switch(p.label){case 0:r=null,n=e.versionId,o=e.isLib,a=o?ar:cr,p.label=1;case 1:return p.trys.push([1,7,,8]),r=Be(t,e),r&&(!n||n&&r.versionId===n)?(i.log("[[ ".concat(a," ]] return cached app:"),t,e),[2,{emitApp:r,msg:""}]):(c=null,s=i.getVerLoadStatus(t,e),s!==i.helLoadStatus.LOADED?[3,3]:[4,pr(t,e)]);case 2:return r=p.sent(),i.log("[[ ".concat(a," ]] return emit app:"),t,e,r),[2,{emitApp:r,msg:""}];case 3:return s===i.helLoadStatus.LOADING?[3,5]:(i.setVerLoadStatus(t,i.helLoadStatus.LOADING,e),[4,se(t,u(u({},e),{controlLoadAssets:!0}))]);case 4:c=p.sent(),i.perfPeek(sr,"loadApp"),p.label=5;case 5:return[4,pr(t,e,c)];case 6:return r=p.sent(),i.perfPeek(sr,"waitAppEmit"),i.log("[[ ".concat(a," ]] return fetch&emit app:"),t,e,r),[2,{emitApp:r,msg:""}];case 7:return f=p.sent(),console.error(f),i.setVerLoadStatus(t,i.helLoadStatus.NOT_LOAD,e),[2,{emitApp:r,msg:f.message}];case 8:return[2]}}))}))}function dr(t,e){return p(this,void 0,Promise,(function(){var r,n,o,a,c,s,u,f,p;return l(this,(function(l){switch(l.label){case 0:return i.perfMark(sr),r="".concat(ar,"(").concat(t,")"),n=$(r,!0),o=ur(!0,e),[4,lr(t,o)];case 1:if(a=l.sent(),c=a.emitApp,s=a.msg,u=null===c||void 0===c?void 0:c.appProperties,!u&&o.onLibNull&&(f=o.onLibNull(t,{versionId:o.versionId}),f&&(u=f)),Q(r,n),i.perfPeek(sr,"end",!0),!u)throw p=s?" details : ".concat(s):"",new Error("".concat(ar," ").concat(t," fail from ").concat(o.platform,", it may be an invalid module!").concat(p));return[2,u]}}))}))}function vr(t,e){return p(this,void 0,void 0,(function(){var r,n;return l(this,(function(o){switch(o.label){case 0:return i.perfMark(sr),r=ur(!1,e),[4,lr(t,r)];case 1:return n=o.sent(),i.perfPeek(sr,"end",!0),[2,(null===n||void 0===n?void 0:n.emitApp)||null]}}))}))}function hr(t,e){return p(this,void 0,Promise,(function(){var r,n,o,i,a,c,s,f,p,d,v,h,m,g,b,y,A,_,E,w,L,I,T,x,O;return l(this,(function(l){switch(l.label){case 0:if(r=(null===e||void 0===e?void 0:e.preFetchConfigs)||{},n=u({semverApi:!1},(null===e||void 0===e?void 0:e.common)||{}),o=S(n.platform),i=n.versionIdList,a=void 0===i?[]:i,c=n.projectIdList,s=void 0===c?[]:c,f=n.branchIdList,p=void 0===f?[]:f,d=[],v=[],h=[],t.length>8)throw new Error("only support 8 appName at most!");for(A in m=[],g=[],b={},y=[],t)y.push(A);_=0,l.label=1;case 1:return _<y.length?(E=y[_],w=t[E],L=r[w],I={platform:o,versionId:a[E]||"",projectId:s[E]||"",branchId:p[E]||""},"string"===typeof L&&L?I.versionId=L:"object"===typeof L&&L&&(I=u(u({},I),rr(L)),I.platform=o),b[w]=I,I.enableDiskCache=er([I,n],"enableDiskCache",nr),I.enableSyncMeta=er([I,n],"enableSyncMeta",or),I.storageType=er([I,n],"storageType",ir),[4,ne(w,I,{callRemote:!1})]):[3,4];case 2:T=l.sent(),T||(g.push(w),d[E]=I.versionId||"",v[E]=I.projectId||"",h[E]=I.branchId||""),l.label=3;case 3:return _++,[3,1];case 4:return n.versionIdList=d,n.projectIdList=v,n.branchIdList=h,n.semverApi?[4,Promise.all(g.map((function(t){return ht(t,b[t])})))]:[3,6];case 5:return m=l.sent(),[3,8];case 6:return[4,gt(g,n)];case 7:m=l.sent(),l.label=8;case 8:return m.forEach((function(t){var e=t.app,r=t.version,n=b[e.name]||{};ae(e,{appVersion:r,platform:o,toDisk:n.enableDiskCache,loadOptions:n})})),x=t.map((function(t){return dr(t,b[t])})),[4,Promise.all(x)];case 9:return O=l.sent(),[2,O]}}))}))}var mr=Object.freeze({__proto__:null,core:i,VER:c,emitApp:s,getAppCacheKey:I,getCachedAppMeta:T,appMetaSrv:de,appParamSrv:be,appStyleSrv:je,logicSrv:He,init:Ke,isSubApp:Ye,bindExternals:Je,bindReactRuntime:Xe,bindVueRuntime:ze,getExtraData:$e,setExtraData:Qe,getFakeHelContext:tr,batchPreFetchLib:hr,preFetchApp:vr,preFetchLib:dr}),gr=i.commonUtil.purify,br=i.getUserEventBus(),yr=["eventBus","getExtraData","setExtraData","bindExternals","bindVueRuntime","bindReactRuntime","isSubApp"],Ar={ignoreFns:["tryGetAppName","log","commonUtil","getCommonData","setCommonData","setGlobalThis"],arg1PlatFns:["getPlatformConfig","getSharedCache"],arg2PlatFns:["initPlatformConfig","getAppMeta","setAppMeta","tryGetVersion","setAppPlatform"],arg2PlatObjFns:[]},_r=["preFetchLib","preFetchApp"],Er=["getSubAppMeta","getMetaDataUrl"],Sr=["emitApp","init"],wr=["getAppCacheKey"];function Lr(t,e){var r=this,n=e.fnName,o=e.fn,i=e.isCore,a=e.preFetchOptions;return function(){for(var e=[],c=0;c<arguments.length;c++)e[c]=arguments[c];var s=function(e){return u({platform:t},gr(e||{}))},f=e[0],p=e[1],l=e[2];if(i){if("getPlatform"===n)return t;Ar.arg1PlatFns.includes(n)?e[0]=f||t:Ar.arg2PlatFns.includes(n)?e[1]=p||t:Ar.arg2PlatObjFns.includes(n)?e[1]=s(p):Ar.ignoreFns.includes(n)||(n.startsWith("set")?e[2]=s(l):e[1]=s(p))}else if("batchPreFetchLib"===n){var d=p||{},v=s(d.common);e[1]=u(u({},d),{common:v})}else if(_r.includes(n)){var h=gr("string"===typeof p?{versionId:p}:p||{});a&&(h=gr(u(u({},a),h))),e[1]=u({platform:t},h)}else if(Er.includes(n)){var m=(a||{}).semverApi,g=void 0===m||m;e[1]=s(u({semverApi:g},gr(p||{})))}else Sr.includes(n)?e[0]=s(f):wr.includes(n)?e[1]=p||t:e[1]=s(p);return o.apply(r,e)}}function Ir(t,e,r){var n=r.preFetchOptions,o=r.isCore,i={};return Object.keys(e).forEach((function(a){var c=e[a];if(yr.includes(a))i[a]=c;else{var s=typeof c;if("function"!==s)if(c&&"object"===s){var f=u(u({},r),{isCore:"core"===a});i[a]=Ir(t,c,f)}else i[a]=c;else{var p={fnName:a,fn:c,isCore:o,preFetchOptions:n};i[a]=Lr(t,p)}}})),i}function Tr(t,e){var r=Ir(t,mr,{preFetchOptions:e});return r.createInstance=Tr,r.createOriginInstance=xr,r.resetGlobalThis=i.resetGlobalThis,r.eventBus=br,r.default=r,r}function xr(t,e){var r=e||{},n=(r.trustAppNames,f(r,["trustAppNames"]));return i.originInit(t,e),Tr(t,n)}var Or=c,Cr=dr,Nr=vr,Pr=hr,Rr=je,Dr=be,Mr=de,Vr=He,jr=s,Fr=Ke,kr=Ye,Ur=I,Br=T,Gr=tr,Hr=$e,Kr=Qe,Yr=Je,Wr=ze,Jr=Xe,Xr=i,zr=i.resetGlobalThis,qr=Tr,$r=xr,Qr=i.getUserEventBus();Xr.log("hel-micro ver ".concat(Or));var Zr={VER:Or,preFetchLib:Cr,preFetchApp:Nr,batchPreFetchLib:Pr,appStyleSrv:Rr,appParamSrv:Dr,appMetaSrv:Mr,logicSrv:Vr,emitApp:jr,eventBus:Qr,init:Fr,isSubApp:kr,getAppCacheKey:Ur,getCachedAppMeta:Br,getFakeHelContext:Gr,getExtraData:Hr,setExtraData:Kr,bindExternals:Yr,bindVueRuntime:Wr,bindReactRuntime:Jr,resetGlobalThis:zr,core:i,createInstance:qr,createOriginInstance:$r};kt(Zr),i.commonUtil.noop(o),e.VER=Or,e.appMetaSrv=Mr,e.appParamSrv=Dr,e.appStyleSrv=Rr,e.batchPreFetchLib=Pr,e.bindExternals=Yr,e.bindReactRuntime=Jr,e.bindVueRuntime=Wr,e.core=Xr,e.createInstance=qr,e.createOriginInstance=$r,e.default=Zr,e.emitApp=jr,e.eventBus=Qr,e.getAppCacheKey=Ur,e.getCachedAppMeta=Br,e.getExtraData=Hr,e.getFakeHelContext=Gr,e.init=Fr,e.isSubApp=kr,e.logicSrv=Vr,e.preFetchApp=Nr,e.preFetchLib=Cr,e.resetGlobalThis=zr,e.setExtraData=Kr},"96d8":function(t,e,r){"use strict";t.exports=function(t){t.iterator=t.next=t.nextHandler=t.mapper=t.predicate=t.inner=t.iterables=t.iters=t.openIters=t.padding=t.finishResults=t.buffer=null}},"987c":function(t,e,r){"use strict";var n=r("6e4c"),o=r("1f80");t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},"9a1d":function(t,e,r){"use strict";var n=r("a86f"),o=r("ed76"),i=r("610b"),a=TypeError;t.exports=function(t,e){var r,c;if("string"===e&&o(r=t.toString)&&!i(c=n(r,t)))return c;if(o(r=t.valueOf)&&!i(c=n(r,t)))return c;if("string"!==e&&o(r=t.toString)&&!i(c=n(r,t)))return c;throw new a("Can't convert object to primitive value")}},"9a4d":function(t,e,r){"use strict";var n=r("2c8d");t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},"9b3c":function(t,e,r){"use strict";var n=r("c8cb"),o=r("d4f0"),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},a0f5:function(t,e,r){"use strict";var n=r("155d"),o=Error,i=n("".replace),a=function(t){return String(new o(t).stack)}("zxcasd"),c=/\n\s*at [^:]*:[^\n]*/,s=c.test(a);t.exports=function(t,e){if(s&&"string"==typeof t&&!o.prepareStackTrace)while(e--)t=i(t,c,"");return t}},a300:function(t,e,r){"use strict";t.exports={}},a3ef:function(t,e,r){"use strict";var n=r("92f7").f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},a66d:function(t,e,r){"use strict";var n=r("7684"),o=r("92f7");t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},a7cd:function(t,e,r){"use strict";var n=r("b1de");t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},a86f:function(t,e,r){"use strict";var n=r("da82"),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},a9cb:function(t,e,r){"use strict";var n=r("610b"),o=String,i=TypeError;t.exports=function(t){if(void 0===t||n(t))return t;throw new i(o(t)+" is not an object or undefined")}},aaf7:function(t,e,r){"use strict";var n,o,i,a=r("2c8d"),c=r("ed76"),s=r("610b"),u=r("47a4"),f=r("0214"),p=r("c23a"),l=r("0a8d"),d=r("7cc7"),v=l("iterator"),h=!1;[].keys&&(i=[].keys(),"next"in i?(o=f(f(i)),o!==Object.prototype&&(n=o)):h=!0);var m=!s(n)||a((function(){var t={};return n[v].call(t)!==t}));m?n={}:d&&(n=u(n)),c(n[v])||p(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},ab24:function(t,e,r){"use strict";var n=r("ff10"),o=r("2c8d"),i=r("0129"),a=r("e94f"),c=n.structuredClone;t.exports=!!c&&!o((function(){if("DENO"===a&&i>92||"NODE"===a&&i>94||"BROWSER"===a&&i>97)return!1;var t=new ArrayBuffer(8),e=c(t,{transfer:[t]});return 0!==t.byteLength||8!==e.byteLength}))},ab9d:function(t,e,r){"use strict";var n=r("0a8d"),o=n("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},ac02:function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("6091"),a=r("65cd"),c="WebAssembly",s=o[c],u=7!==new Error("e",{cause:7}).cause,f=function(t,e){var r={};r[t]=a(t,e,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},p=function(t,e){if(s&&s[t]){var r={};r[t]=a(c+"."+t,e,u),n({target:c,stat:!0,constructor:!0,arity:1,forced:u},r)}};f("Error",(function(t){return function(e){return i(t,this,arguments)}})),f("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),f("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),f("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),f("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),f("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),f("URIError",(function(t){return function(e){return i(t,this,arguments)}})),p("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),p("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),p("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},ac54:function(t,e,r){"use strict";var n=r("a86f"),o=r("47a4"),i=r("6113"),a=r("6569"),c=r("0a8d"),s=r("c835"),u=r("987c"),f=r("aaf7").IteratorPrototype,p=r("cac5"),l=r("f511"),d=r("ccc1"),v=r("96d8"),h=c("toStringTag"),m="IteratorHelper",g="WrapForValidIterator",b="normal",y="throw",A=s.set,_=function(t){var e=s.getterFor(t?g:m);return a(o(f),{next:function(){var r=e(this);if(t)return r.nextHandler();if(r.done)return p(void 0,!0);try{var n=r.nextHandler();return r.done&&v(r),r.returnHandlerResult?n:p(n,r.done)}catch(o){throw r.done=!0,v(r),o}},return:function(){var r=e(this),o=r.iterator,i=r.inner,a=r.openIters,c=r.done;if(r.done=!0,t){var s=u(o,"return");return s?n(s,o):p(void 0,!0)}if(v(r),c)return p(void 0,!0);if(i)try{l(i.iterator,b)}catch(f){return l(o,y,f)}if(a)try{d(a,b)}catch(f){if(o)return l(o,y,f);throw f}return o&&l(o,b),p(void 0,!0)}})},E=_(!0),S=_(!1);i(S,h,"Iterator Helper"),t.exports=function(t,e,r){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=e?g:m,o.returnHandlerResult=!!r,o.nextHandler=t,o.counter=0,o.done=!1,A(this,o)};return n.prototype=e?E:S,n}},ad2d:function(t,e,r){"use strict";var n=r("2c8d"),o=r("8b17");t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},afad:function(t,e,r){"use strict";var n=r("5bf4"),o=Object;t.exports=function(t){return o(n(t))}},b1de:function(t,e,r){"use strict";var n=r("666d"),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},b2a2:function(t,e,r){"use strict";var n=r("3dcd"),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},b464:function(t,e,r){"use strict";var n=r("ff10"),o=r("155d"),i=n.Uint8Array,a=n.SyntaxError,c=Math.min,s=o("".match);t.exports=function(t,e){var r=t.length;if(r%2!==0)throw new a("String should be an even number of characters");for(var n=e?c(e.length,r/2):r/2,o=e||new i(n),u=s(t,/[\S\s]{2}/g),f=0;f<n;f++){var p=+("0x"+u[f]+"0");if(p!==p)throw new a("String should only contain hex characters");o[f]=p>>4}return{bytes:o,read:f<<1}}},b4e7:function(t,e,r){"use strict";var n=r("d744"),o=r("de70"),i=r("de0b"),a=r("92f7");t.exports=function(t,e,r){for(var c=o(e),s=a.f,u=i.f,f=0;f<c.length;f++){var p=c[f];n(t,p)||r&&n(r,p)||s(t,p,u(e,p))}}},b5f0:function(t,e,r){"use strict";var n=TypeError;t.exports=function(t){var e=t&&t.alphabet;if(void 0===e||"base64"===e||"base64url"===e)return e||"base64";throw new n("Incorrect `alphabet` option")}},ba95:function(t,e,r){"use strict";var n=r("155d"),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},bb46:function(t,e,r){"use strict";t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},bc7a:function(t,e,r){"use strict";var n=r("610b"),o=r("c835").get;t.exports=function(t){if(!n(t))return!1;var e=o(t);return!!e&&"RawJSON"===e.type}},bc9c:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},bdb8:function(t,e,r){"use strict";var n=TypeError,o=9007199254740991;t.exports=function(t){if(t>o)throw new n("Maximum allowed index exceeded");return t}},bf0a:function(t,e,r){"use strict";var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=n+"+/",i=n+"-_",a=function(t){for(var e={},r=0;r<64;r++)e[t.charAt(r)]=r;return e};t.exports={i2c:o,c2i:a(o),i2cUrl:i,c2iUrl:a(i)}},c129:function(t,e,r){"use strict";var n=r("4dfe"),o=r("ed76"),i=r("1262"),a=r("0a22"),c=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,c(t))}},c1f7:function(t,e,r){"use strict";var n=r("ff10"),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},c23a:function(t,e,r){"use strict";var n=r("ed76"),o=r("92f7"),i=r("7684"),a=r("c1f7");t.exports=function(t,e,r,c){c||(c={});var s=c.enumerable,u=void 0!==c.name?c.name:e;if(n(r)&&i(r,u,c),c.global)s?t[e]=r:a(e,r);else{try{c.unsafe?t[e]&&(s=!0):delete t[e]}catch(f){}s?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return t}},c412:function(t,e,r){"use strict";var n=r("7903"),o=r("610b"),i=r("5bf4"),a=r("3241");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{t=n(Object.prototype,"__proto__","set"),t(r,[]),e=r instanceof Array}catch(c){}return function(r,n){return i(r),a(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},c69c:function(t,e,r){"use strict";var n=r("610b"),o=r("6113");t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},c835:function(t,e,r){"use strict";var n,o,i,a=r("8403"),c=r("ff10"),s=r("610b"),u=r("6113"),f=r("d744"),p=r("e1ac"),l=r("2e82"),d=r("a300"),v="Object already initialized",h=c.TypeError,m=c.WeakMap,g=function(t){return i(t)?o(t):n(t,{})},b=function(t){return function(e){var r;if(!s(e)||(r=o(e)).type!==t)throw new h("Incompatible receiver, "+t+" required");return r}};if(a||p.state){var y=p.state||(p.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new h(v);return e.facade=t,y.set(t,e),e},o=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var A=l("state");d[A]=!0,n=function(t,e){if(f(t,A))throw new h(v);return e.facade=t,u(t,A,e),e},o=function(t){return f(t,A)?t[A]:{}},i=function(t){return f(t,A)}}t.exports={set:n,get:o,has:i,enforce:g,getterFor:b}},c8cb:function(t,e,r){"use strict";var n=r("155d"),o=r("d744"),i=r("e374"),a=r("13d0").indexOf,c=r("a300"),s=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,f=[];for(r in n)!o(c,r)&&o(n,r)&&s(f,r);while(e.length>u)o(n,r=e[u++])&&(~a(f,r)||s(f,r));return f}},cac5:function(t,e,r){"use strict";t.exports=function(t,e){return{value:t,done:e}}},cbe1:function(t,e,r){"use strict";r.r(e),function(t){function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function o(t){if(Array.isArray(t))return t}function i(t){if(Array.isArray(t))return n(t)}function a(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=y(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function c(t,e,r){return(e=g(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function u(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],s=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t,e){return o(t)||u(t,e)||y(t,e)||f()}function h(t){return i(t)||s(t)||y(t)||p()}function m(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function g(t){var e=m(t,"string");return"symbol"==typeof e?e:e+""}function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function y(t,e){if(t){if("string"==typeof t)return n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}r.d(e,"allowLog",(function(){return yr})),r.d(e,"appReady",(function(){return sn})),r.d(e,"clearPerfMark",(function(){return Sr})),r.d(e,"commonDataUtil",(function(){return Fr})),r.d(e,"commonUtil",(function(){return dr})),r.d(e,"evName",(function(){return an})),r.d(e,"getAppMeta",(function(){return Cr})),r.d(e,"getAppPlatform",(function(){return qr})),r.d(e,"getAppPlatformByAppName",(function(){return Zr})),r.d(e,"getAppStyleStr",(function(){return Hr})),r.d(e,"getCommonData",(function(){return Vr})),r.d(e,"getCustomData",(function(){return Dr})),r.d(e,"getGlobalThis",(function(){return wr})),r.d(e,"getHelDebug",(function(){return br})),r.d(e,"getHelEventBus",(function(){return nn})),r.d(e,"getPlatform",(function(){return mr})),r.d(e,"getPlatformConfig",(function(){return zr})),r.d(e,"getSharedCache",(function(){return gr})),r.d(e,"getUserEventBus",(function(){return on})),r.d(e,"getVerApp",(function(){return Ir})),r.d(e,"getVerExtraCssList",(function(){return Yr})),r.d(e,"getVerLib",(function(){return xr})),r.d(e,"getVerLoadStatus",(function(){return kr})),r.d(e,"getVerStyleStrStatus",(function(){return Br})),r.d(e,"getVersion",(function(){return Pr})),r.d(e,"helConsts",(function(){return pr})),r.d(e,"helEvents",(function(){return ur})),r.d(e,"helLoadStatus",(function(){return fr})),r.d(e,"inectPlatToMod",(function(){return lr})),r.d(e,"initGlobalConfig",(function(){return rn})),r.d(e,"initPlatformConfig",(function(){return tn})),r.d(e,"isSubApp",(function(){return vr})),r.d(e,"libReady",(function(){return cn})),r.d(e,"log",(function(){return Ar})),r.d(e,"originInit",(function(){return en})),r.d(e,"perfMark",(function(){return _r})),r.d(e,"perfPeek",(function(){return Er})),r.d(e,"resetGlobalThis",(function(){return hr})),r.d(e,"setAppMeta",(function(){return Nr})),r.d(e,"setAppPlatform",(function(){return $r})),r.d(e,"setAppPlatformByAppName",(function(){return Qr})),r.d(e,"setAppStyleStr",(function(){return Kr})),r.d(e,"setCommonData",(function(){return jr})),r.d(e,"setCustomData",(function(){return Mr})),r.d(e,"setEmitApp",(function(){return Tr})),r.d(e,"setEmitLib",(function(){return Or})),r.d(e,"setGlobalThis",(function(){return Lr})),r.d(e,"setVerExtraCssList",(function(){return Wr})),r.d(e,"setVerLoadStatus",(function(){return Ur})),r.d(e,"setVerStyleStrStatus",(function(){return Gr})),r.d(e,"setVersion",(function(){return Rr})),r.d(e,"tryGetAppName",(function(){return Xr})),r.d(e,"tryGetVersion",(function(){return Jr}));var A=null;function _(){if("undefined"===typeof window){if("undefined"===typeof t)throw new Error("unable to locate global object");A=t}else A=window}function E(){return A||_(),A}function S(t){var e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null;null!==(e=A)&&void 0!==e&&e.__HEL_MICRO_SHARED__&&(n=A.__HEL_MICRO_SHARED__),A=r?d(d({},A),t):t,n&&(A.__HEL_MICRO_SHARED__=n)}function w(){return E()}function L(){var t=E();return t.MutationObserver||t.WebKitMutationObserver||t.MozMutationObserver}function I(t,e){for(var r=null,n=t.length,o=0;o<n;o++){var i=t[o];if(i.tagName===e){r=i;break}}return r}function T(t){return Object.keys(t)}function x(){var t=function(t){var e=t||{},r=e.search||"";if(!r){var n=e.hash||"",o=n.split("?")[1]||"";o&&(r="?".concat(o))}return r};try{var e;return t(null===(e=E())||void 0===e||null===(e=e.top)||void 0===e?void 0:e.location)}catch(n){var r;return t(null===(r=E())||void 0===r?void 0:r.location)}}function O(t){var e,r=null===(e=E())||void 0===e?void 0:e.localStorage;return null===r||void 0===r?void 0:r.getItem(t)}function C(t,e){var r,n=null===(r=E())||void 0===r?void 0:r.localStorage;return null===n||void 0===n?void 0:n.setItem(t,e)}function N(){var t=x(),e={};if(null!==t&&void 0!==t&&t.startsWith("?")){var r=t.substring(1),n=r.split("&");n.forEach((function(t){var r=t.split("="),n=v(r,2),o=n[0],i=n[1];e[o]=i}))}return e}function P(){var t="";try{throw new Error("getJsRunLocation")}catch(n){var e=n.stack.split("\n"),r=e.length;t=e[r-1]||e[r-2]||""}return t}function R(t,e,r,n){var o=D(t,e);o[r]=n}function D(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t[e];return n||(n=r,t[e]=n),n}function M(t,e){Object.keys(e).forEach((function(r){var n=e[r];[null,void 0,""].includes(n)||(t[r]=n)}))}function V(t,e){t.includes(e)||t.push(e)}function j(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.nullValues,n=void 0===r?[null,void 0,""]:r,o=e.emptyObjIsNull,i=void 0===o||o,a=e.emptyArrIsNull,c=void 0===a||a,s=n.includes(t);if(s)return!0;if(Array.isArray(t))return!!c&&0===t.length;if("object"===b(t)){var u=T(t),f=u.length;return!!i&&0===f}return!1}function F(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e}function k(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function U(){var t=E();return t.process&&t.global&&!t.document}function B(t,e,r){if(t&&"string"!==typeof t)return t;try{var n=JSON.parse(t);return n||e}catch(o){if(void 0!==e)return e;if(r)throw new Error(r);throw o}}var G=j,H=V,K=T;function Y(t,e){var r=[];return t.forEach((function(t){return H(r,t)})),e.forEach((function(t){return H(r,t)})),r}function W(t,e){var r=e||function(t){return!G(t)},n={};return K(t).forEach((function(e){r(t[e])&&(n[e]=t[e])})),n}function J(t,e,r){var n,o=r,i=a(t);try{for(i.s();!(n=i.n()).done;){var c=n.value,s=c[e];if(![null,void 0,""].includes(s)){o=s;break}}}catch(u){i.e(u)}finally{i.f()}return o}function X(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MULTI",r=t.split("\n"),n=r.length-1,o=r.map((function(t,r){var o;if(!t&&(0===r||r===n))return"";var i=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=t;return t.endsWith("<br/>")?(n=t.substring(0,n.length-5),"".concat(n).concat(e)):"".concat(n).concat(r)},a=(null===(o=t.trimStart)||void 0===o?void 0:o.call(t))||t;return"MULTI"===e?"".concat(i(a,""),"\n"):(a=i(a,"\n"," "),a)})).join("");return o}function z(t){return X(t,"ONE")}function q(t){var e,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=E(),o=z(t),i=n.alert||F;r?(null===(e=n.location)||void 0===e?void 0:e.port)&&i(o):i(o)}function $(t,e,r){t.dataset?t.dataset[e]=r:t.setAttribute("data-".concat(e),r)}function Q(t){$(t,"heldisabled","1"),t.disabled=!0}var Z=Object.freeze({__proto__:null,noop:F,hasProp:k,isServer:U,safeParse:B,isNull:G,noDupPush:H,okeys:K,merge2List:Y,purify:W,getObjsVal:J,pfstr:X,nbstr:z,nbalert:q,setDataset:$,disableNode:Q});function tt(t,e){var r=this,n=e.fn,o=e.fnName,i=e.arg1PlatObjFnKeys,a=i.includes(o);return function(){for(var e=function(e){return d({platform:t},W(e||{}))},o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c];var s=i[0],u=i[1];return a?i[0]=e(s):i[1]=e(u),n.apply(r,i)}}function et(t,e,r){var n=r||{},o=n.ignoreKeys,i=void 0===o?[]:o,a=n.arg1PlatObjFnKeys,c=void 0===a?[]:a,s={};return Object.keys(e).forEach((function(n){var o=e[n];if(i.includes(n))s[n]=o;else{var a=b(o);s[n]=a&&"object"===a?et(t,o,r):"function"!==a?o:tt(t,{arg1PlatObjFnKeys:c,fn:o,fnName:n})}})),s}var rt="hel",nt="unpkg",ot={NONE:0,LOG:1,TRACE:2},it="__default_online_ver__",at=nt,ct={CORE_VER:"4.13.1",DEFAULT_API_PREFIX:"https://unpkg.com",DEFAULT_API_URL:"/openapi/v1/app/info",DEFAULT_ONLINE_VER:it,DEFAULT_USER_LS_KEY:"HelUserRtxName",DEFAULT_PLAT:at,LS_LOG_MODE:"HelConfig.logMode",LS_LOG_FILTER:"HelConfig.logFilter",PLAT_HEL:rt,PLAT_UNPKG:nt,KEY_CSS_STR:"CSS_STR",KEY_ASSET_CTX:"ASSET_CTX",KEY_STYLE_TAG_ADDED:"STYLE_TAG_ADDED",KEY_CSS_LINK_TAG_ADDED:"CSS_LINK_TAG_ADDED",KEY_IGNORE_CSS_PREFIX_LIST:"IGNORE_CSS_PREFIX_LIST",KEY_IGNORE_STYLE_TAG_KEY:"IGNORE_STYLE_TAG_KEY",KEY_IGNORE_CSS_PREFIX_2_KEYS:"IGNORE_CSS_PREFIX_2_KEYS"},st={SUB_APP_LOADED:"subAppLoaded",SUB_LIB_LOADED:"SubLibLoaded",STYLE_STR_FETCHED:"StyleStrFetched",STYLE_TAG_ADDED:"StyleTagAdded",CSS_LINK_TAG_ADDED:"CssLinkTagAdded"},ut={NOT_LOAD:0,LOADING:1,LOADED:2},ft=ct.LS_LOG_FILTER,pt=ct.LS_LOG_MODE,lt=ot.NONE,dt=ot.LOG,vt=ot.TRACE,ht={isIncludeFilter:function(t,e){if(!e.includes(","))return t.includes(e);var r=e.split(",");return r.some((function(e){return t.includes(e)}))},getLogFilter:function(){return _t().logFilter},setLogFilter:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];_t().logFilter=t,e&&C(ft,t)},setLogMode:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=parseInt(t,10);[lt,dt,vt].includes(r)&&(_t().logMode=r,e&&C(pt,r))},getLogMode:function(){return _t().logMode}},mt={};function gt(){if(!_t().isInit){_t().isInit=!0;var t=N(),e=t.hellog,r=t.hellogf,n=e||O(pt)||lt;ht.setLogMode(n,!1);var o=r||O(ft)||"";ht.setLogFilter(o,!1)}}function bt(){return{logMode:lt,logFilter:"",isInit:!1}}function yt(){if(mt=w().__HEL_MICRO_DEBUG__,j(mt)){mt=bt(),w().__HEL_MICRO_DEBUG__=mt;try{gt()}catch(t){}}else void 0===mt.logMode&&(mt.logMode=lt,mt.logFilter="")}function At(){return ht.getLogMode()!==lt}function _t(){return mt}var Et=" %c--\x3e HEL LOG:",St="color:#ad4e00;font-weight:600";function wt(){if(At()){for(var t=ht.getLogMode()===dt?console.log:console.trace||console.log,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=r[0],i=r.slice(1);if("string"!==typeof o)return t.apply(void 0,[Et,St].concat(r));var a=ht.getLogFilter(),c=["".concat(Et," ").concat(o),St].concat(h(i));a?ht.isIncludeFilter(o,a)&&t.apply(void 0,h(c)):t.apply(void 0,h(c))}}var Lt={};function It(t){At()&&!Lt[t]&&(Lt[t]=Date.now())}function Tt(t,e,r){if(At()&&Lt[t]){var n=Lt[t];wt("[[ PerfCheck ]] (".concat(t,"/").concat(e,") costs ").concat(Date.now()-n," ms")),r&&xt(t)}}function xt(t){Lt[t]=0}var Ot=ct.DEFAULT_API_URL,Ct=ct.DEFAULT_USER_LS_KEY,Nt=ct.PLAT_HEL,Pt=ct.PLAT_UNPKG,Rt=ct.DEFAULT_API_PREFIX,Dt=ct.CORE_VER,Mt=ct.KEY_CSS_LINK_TAG_ADDED,Vt=ct.KEY_STYLE_TAG_ADDED,jt=ct.KEY_IGNORE_CSS_PREFIX_LIST,Ft=ct.KEY_IGNORE_STYLE_TAG_KEY,kt=ct.KEY_IGNORE_CSS_PREFIX_2_KEYS;function Ut(t){var e=t||{},r=e.apiPrefix;return{apiMode:"get",apiPrefix:r,apiSuffix:"",apiPathOfApp:Ot,apiPathOfAppVersion:"",getSubAppAndItsVersionFn:null,customMetaUrl:"",customMetaJsonpUrl:"",getMeta:null,onFetchMetaFailed:null,strictMatchVer:!0,getUserName:null,userLsKey:Ct,shouldUseGray:null,trustAppNames:null,semverApi:null,hook:{}}}function Bt(t){var e=d(d({isConfigOverwrite:!1,platform:t,appName2Comp:{},appName2Lib:{},appName2isLibAssigned:{},appName2EmitApp:{},appName2verLoadStatus:{},appName2verEmitLib:{},appName2verEmitApp:{},appName2verStyleStr:{},appName2verStyleFetched:{},appName2verExtraCssList:{},appName2verAppVersion:{},appName2verCustomData:{},appName2app:{},appName2appVersion:{},appName2styleStr:{},appGroupName2firstVer:{},isOriginInitCalled:!1},Ut()),{},{origin:Ut({apiPrefix:Rt})});return e}function Gt(){var t={};return{on:function(e,r){var n=t[e];if(!n){var o=[];t[e]=o,n=o}n.push(r)},emit:function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var i=t[e];if(i){var a=i.slice();a.forEach((function(t){return t.apply(void 0,n)}))}},off:function(e,r){var n=t[e];if(n)for(var o=0,i=n.length;o<i;o++){var a=n[o];if(a===r){n.splice(o,1);break}}}}}function Ht(){var t=Bt(Pt),e=Bt(Nt),r={platform:Nt,platformHint:"the platform value here does not make any sense!",appName2platform:{},appGroupName2platform:{},caches:c(c({},Pt,t),Nt,e),common:{}},n=Gt(),o=Gt();return{ver:Dt,isStyleObInit:!1,nativeHeadAppend:null,nativeBodyAppend:null,patchedHeadAppend:null,patchedBodyAppend:null,createFeature:P(),eventBus:n,userEventBus:o,cacheRoot:r,unpkgCache:t,helCache:e,dev:{setLogMode:ht.setLogMode,setLogFilter:ht.setLogFilter}}}function Kt(t){var e=[Mt,Vt,jt,Ft,kt],r=function(t){return t===jt?[]:{}};e.forEach((function(e){return D(t,e,r(e))}))}function Yt(){var t=Wt();if(t){var e=t.cacheRoot;D(e,"appGroupName2platform"),D(e,"common");var r=e.caches;return Object.keys(r).forEach((function(t){var e=r[t];D(e,"appGroupName2firstVer"),D(e,"appName2isLibAssigned"),D(e,"appName2verExtraCssList"),D(e,"appName2verCustomData"),D(e,"hook"),D(e,"origin",Ut()),D(e.origin,"hook")})),Kt(e.common),void(t.userEventBus||(t.userEventBus=Gt()))}t=Ht(),Kt(t.cacheRoot.common),w().__HEL_MICRO_SHARED__=t}function Wt(){var t=w().__HEL_MICRO_SHARED__;return t}function Jt(){return at}function Xt(t){var e=t||Jt(),r=zt(),n=r.caches[e];if(!n){var o=b(t);if("string"!==o)throw console.error("invalid plaform:",t),new Error("fatal error: platform only can be a string, now it is ".concat(o));var i=Bt(t);r.caches[e]=i,n=i}return n}function zt(){return Wt().cacheRoot}var qt={getCustomData:function(t,e,r){var n=r.versionId,o=r.platform,i=Xt(o),a=i.appName2verCustomData,c=D(a,t),s=D(c,e);return s[n||it]},getAppMeta:function(t,e){var r=Xt(e),n=r.appName2app;return n[t]},setVerLoadStatus:function(t,e,r,n){var o=n||{},i=o.versionId,a=o.platform,c=Xt(a)[r],s=i||it;R(c,t,s,e)},getVerLoadStatus:function(t,e,r){var n,o=r||{},i=o.versionId,a=o.platform,c=Xt(a)[e],s=i||it;return(null===(n=c[t])||void 0===n?void 0:n[s])||ut.NOT_LOAD},ensureOnlineModule:function(t,e,r){if(!t[it]){var n=qt.getAppMeta(e,r),o=t[null===n||void 0===n?void 0:n.online_version];o&&(t[it]=o)}}};function $t(t,e){var r,n=e||{},o=n.versionId,i=n.platform,a=Xt(i),c=a.appName2verEmitApp,s=a.appName2Comp,u=a.strictMatchVer,f=a.appName2EmitApp,p=null!==(r=n.strictMatchVer)&&void 0!==r?r:u,l=D(c,t);qt.ensureOnlineModule(l,t,i);var d=o||it,v=l[d],h=s[t],m=h?{Comp:h}:null,g=p?null:f[t]||m,b=v||g||null;return wt("[[ core:getVerApp ]] appName,options,result:",t,n,b),b}function Qt(t,e){wt("[[ core:setEmitApp ]] appName,emitApp:",t,e);var r=e.versionId,n=e.platform,o=Xt(n),i=o.appName2verEmitApp,a=o.appName2Comp,c=o.appName2EmitApp,s=D(i,t);s[it]||(a[t]=e.Comp,c[t]=e,R(i,t,it,e)),r&&R(i,t,r,e)}var Zt=ct.KEY_CSS_LINK_TAG_ADDED,te=ct.KEY_STYLE_TAG_ADDED,ee=ct.KEY_IGNORE_CSS_PREFIX_LIST,re=ct.KEY_IGNORE_STYLE_TAG_KEY,ne=ct.KEY_IGNORE_CSS_PREFIX_2_KEYS;function oe(t){var e=zt(),r=e.common,n=D(r,t);return n}function ie(t){var e=zt(),r=e.common;return r[t]}function ae(t,e){var r=oe(t),n=r[e];return void 0!==n?n:null}function ce(t,e,r){var n=oe(t);n[e]=r}var se={setIgnoreCssPrefix:function(t){var e=ie(ee);V(e,t)},setIgnoreStyleTagKey:function(t){var e=se.getIgnoreStyleTagMap();e[t]=1},getIgnoreStyleTagMap:function(){var t=ie(re);return t},setIgnoreCssPrefixKey:function(t,e){var r=ae(ne,t);r||(r=[],ce(ne,t,r)),V(r,e)},getIgnoreCssPrefixKeys:function(t){var e=ie(ne);return e[t]||[]},getMatchedIgnoreCssPrefix:function(t){for(var e=ie(ee),r="",n=0;n<e.length;n++){var o=e[n];if(t.startsWith(o)){r=o;break}}return r},getIgnoreCssPrefixCssUrlList:function(t){var e=ae(Zt,t);return e||(e=[],ce(Zt,t,e)),e},setIgnoreCssPrefixCssUrl:function(t,e){var r=se.getIgnoreCssPrefixCssUrlList(t);r.push(e)},getStyleTagText:function(t){var e=ae(te,t)||"";return e},clearStyleTagText:function(t){ce(te,t,"")},appendStyleTagText:function(t,e){var r=se.getStyleTagText(t);ce(te,t,"".concat(r," ").concat(e))}};function ue(t,e){var r=t.apiMode,n=t.apiPrefix,o=t.apiSuffix,i=t.apiPathOfApp,a=t.apiPathOfAppVersion,c=t.getSubAppAndItsVersionFn,s=t.onFetchMetaFailed,u=t.strictMatchVer,f=t.getUserName,p=t.userLsKey,l=t.shouldUseGray,d=t.getApiPrefix,v=t.trustAppNames,h=t.platform,m=t.origin,g=t.hook,b=t.customMetaUrl,y=t.customMetaJsonpUrl,A=t.getMeta,_={apiMode:r,apiPrefix:n,apiSuffix:o,apiPathOfApp:i,apiPathOfAppVersion:a,getSubAppAndItsVersionFn:c,onFetchMetaFailed:s,strictMatchVer:u,getUserName:f,userLsKey:p,shouldUseGray:l,getApiPrefix:d,trustAppNames:v,hook:g,platform:h,customMetaUrl:b,customMetaJsonpUrl:y,getMeta:A};return e&&(_.origin=m),_}function fe(t){var e=Xt(t);return ue(e,!0)}function pe(t){var e=Wt(),r=e.nativeHeadAppend,n=e.nativeBodyAppend,o=t.headAppend||null,i=t.bodyAppend||null,a=function(t){return"pass same ".concat(t," handle, hel will ignore it for avlid 'Maximum call stack size exceeded'")};o&&o===r?console.error(a("headAppend")):e.patchedHeadAppend=o,i&&i===n?console.error(a("bodyAppend")):e.patchedBodyAppend=i}function le(t,e){var r=Xt(e),n=ue(t);r.isConfigOverwrite||(r.isConfigOverwrite=!0,M(r,n))}function de(t,e){var r=Xt(t),n="[[ core:originInit ]] invalid call, it can only been called";if(r.isConfigOverwrite)wt("".concat(n," before init"));else if(r.isOriginInitCalled)wt("".concat(n," one time"));else{var o=ue(e);r.isOriginInitCalled=!0,M(r.origin,o)}}function ve(t){return zt().appGroupName2platform[t]||Jt()}function he(t,e,r){var n=zt().appGroupName2platform;return!r&&n[t]||(n[t]=e),ve(t)}function me(t){return zt().appName2platform[t]||Jt()}function ge(t,e,r){var n=zt().appName2platform;return!r&&n[t]||(n[t]=e),me(t)}function be(t,e){var r=e.customKey,n=e.platform,o=void 0===n?me(t):n,i=Xt(o),a=i.appName2verCustomData,c=D(a,t),s=D(c,r);return s}function ye(t,e){var r=be(t,e),n=r[e.versionId||it];return void 0!==n?n:null}function Ae(t,e){var r=e.customValue,n=e.versionId,o=be(t,e);o[n||it]=r,o[it]||(o[it]=r)}var _e=st.STYLE_TAG_ADDED,Ee=st.CSS_LINK_TAG_ADDED;function Se(){return Wt().eventBus}function we(){return Wt().userEventBus}var Le={styleTagAdded:function(t){return"".concat(_e,"/").concat(t)},cssLinkTagAdded:function(t){return"".concat(Ee,"(").concat(t,")")}};function Ie(t,e){var r,n=e||{},o=n.versionId,i=n.platform,a=Xt(i),c=a.appName2verEmitLib,s=a.appName2Lib,u=a.strictMatchVer,f=a.appName2isLibAssigned,p=null!==(r=n.strictMatchVer)&&void 0!==r?r:u,l=D(c,t);qt.ensureOnlineModule(l,t);var d=o||it,v=l[d],h=f[t]?s[t]:null,m=p?null:h,g=v||m||null;return wt("[[ core:getVerLib ]] appName,options,result:",t,n,g),g}function Te(t,e,r){var n=r||{},o=n.appGroupName,i=e.versionId,a=e.appProperties,c=e.platform||r.platform,s=Xt(c),u=s.appName2verEmitLib,f=s.appName2Lib,p=s.appName2isLibAssigned,l=qt.getAppMeta(t,c),d=function(t){var e=f[t];e?"object"===b(e)&&0===Object.keys(e).length&&Object.assign(e,a):f[t]=a,p[t]=!0};d(t),o?d(o):l&&d(l.app_group_name),wt("[[ core:setEmitLib ]] appMeta:",l);var v=D(u,t);v[it]||R(u,t,it,a),i&&R(u,t,i,a)}function xe(t,e){var r=Xt(e),n=r.appName2app;return n[t]}function Oe(t,e){var r=Xt(e),n=r.appName2app;n[t.name]=t}function Ce(t,e,r){qt.setVerLoadStatus(t,e,"appName2verLoadStatus",r)}function Ne(t,e){return qt.getVerLoadStatus(t,"appName2verLoadStatus",e)}function Pe(t,e,r){qt.setVerLoadStatus(t,e,"appName2verStyleFetched",r)}function Re(t,e){return qt.getVerLoadStatus(t,"appName2verStyleFetched",e)}function De(t,e){var r,n=e||{},o=n.platform,i=n.versionId,a=Xt(o),c=a.appName2verStyleStr,s=a.appName2styleStr,u=s[t]||"";return i?(null===(r=c[t])||void 0===r?void 0:r[i])||u||"":u}function Me(t,e,r){var n=r||{},o=n.platform,i=n.versionId,a=Xt(o),c=a.appName2verStyleStr,s=a.appName2verStyleFetched,u=a.appName2styleStr;i?(R(c,t,i,e),R(s,t,i,ut.LOADED)):u[t]=e}function Ve(t,e,r){var n=r||{},o=n.versionId,i=n.platform,a=Xt(i),c=a.appName2verExtraCssList;wt("[[ core:setVerExtraCssList ]] cssList:",e);var s=D(c,t);s[it]||R(c,t,it,e),o&&R(c,t,o,e)}function je(t,e){var r=e||{},n=r.versionId,o=r.platform,i=Xt(o),a=i.appName2verExtraCssList,c=D(a,t),s=c[n]||c[it]||[];return wt("[[ core:getVerExtraCssList ]] options,cssList:",r,s),s}function Fe(t,e){var r,n=e||{},o=n.platform,i=n.versionId,a=Xt(o),c=a.appName2verAppVersion,s=a.appName2appVersion,u=s[t]||null;return i&&(null===(r=c[t])||void 0===r?void 0:r[i])||u}function ke(t,e,r){var n=r||{},o=n.platform,i=Xt(o),a=i.appName2verAppVersion,c=i.appGroupName2firstVer,s=i.appName2appVersion,u=e.version_tag||e.sub_app_version;if(u){var f=qt.getAppMeta(t,o),p=D(a,t);p[it]||(R(a,t,it,e),s[t]=e),R(a,t,u,e),c[f.app_group_name]=e.sub_app_version}}function Ue(t,e){var r=t.split("@"),n=r.slice(1),o=n.join("@");return o||e||t}function Be(t){return"js"===t||"mjs"===t}function Ge(t,e){var r=P();wt("[[ core:tryGetVersion ]] may include ver source > ".concat(r));var n=Xt(e),o=n.appGroupName2firstVer,i=o[t]||"";if(r.includes("https://")||r.includes("http://")){var a=r.split("//"),c=v(a,2),s=c[1],u=s.split("/");if(i){var f=s.includes("/".concat(i,"/"));if(f){var p=i.startsWith("@");if(p){var l=i.split("/")[1]||"";return Ue(l)}var d=u.indexOf(i),h=u[d-1],m=h.startsWith("@");if(!m)return Ue(i)}var g=u[1],b=u[2];if("static"===g&&Be(b)||Be(g))return Ue(i)}var y=s.indexOf("@");if(y>=0){var A=u.filter((function(t){return t.includes("@")})),_=A.findIndex((function(t){return t.startsWith("@")}));if(_>=0){var E=A[_+1]||"";return Ue(E,i)}var S=A[0]||"";return Ue(S,i)}var w=s.split("/".concat(e,"/")),L=v(w,2),I=L[1],T=void 0===I?"":I,x=T.split("/"),O=v(x,1),C=O[0];return C||i}return i}function He(t,e){if(t===it)return e||"";if(t.includes("_")){var r=t.substring(0,t.length-15);return r}return e||""}var Ke=!1,Ye=!1;function We(t){if(t&&(Ke=!1,Ye=!1),!Ye){Ye=!0;var e=E();void 0===e.__MASTER_APP_LOADED__&&(e.__MASTER_APP_LOADED__=!0,Ke=!0)}}function Je(){var t="WARNING: calling isSubApp is unsafe, use hel-iso.isSubApp instead,\n";return t+="more details see: https://tnfe.github.io/hel/docs/tutorial/attention-is-subapp",console.log("%c".concat(t),"color:red;"),!Ke}function Xe(t,e){var r=e.platform,n=e.groupName,o=e.name,i=e.ver,a=e.elName;$(t,"el",a),$(t,"plat",r),$(t,"gname",n),$(t,"name",o),$(t,"ver",i)}var ze=ct.KEY_ASSET_CTX;function qe(t,e){if(!e||!["LINK","SCRIPT"].includes(e.tagName))return t(e);var r=e.href,n=e.tagName,o=e.src,i=r||o||"",a="LINK"===n,c=ae(ze,i)||{},s=c.platform,u=c.groupName,f=c.name,p=c.ver,l=c.beforeAppend,d=e;if(l){var v=a?"href":"src",h=e.getAttribute(v),m=function(t){return e.setAttribute(v,t)};d=l({el:e,nativeAppend:t,setAssetUrl:m,url:h,tagName:n})||e}var g=a?"HelLink":"HelScript";return s&&Xe(d,{platform:s,groupName:u,name:f,ver:p,elName:g}),t(d)}function $e(){var t=E();if(!t.__POWERED_BY_QIANKUN__&&!t.__DISABLE_HEL_MONKEY_PATCH__){var e=Wt(),r=t.document,n=e.nativeHeadAppend,o=e.nativeBodyAppend;if(!n&&r){var i=r.head,a=r.body;if(n=i.appendChild.bind(i),e.nativeHeadAppend=n,a)o=a.appendChild.bind(a),e.nativeBodyAppend=o;else{var c=L(),s=new c((function(t){for(var r,n=0;n<t.length;n++){var i=t[n].addedNodes;if(r=I(i,"BODY"),r)break}r&&(o=r.appendChild.bind(r),e.nativeBodyAppend=o,r.appendChild=function(t){return qe(f(o,r,"body"),t)},s.disconnect())})),u=I(r.childNodes,"HTML");u&&s.observe(u,{childList:!0})}var f=function(r,n,o){var i=e.patchedHeadAppend,a=e.patchedBodyAppend,c="head"===o;if(i&&c)return i;if(a&&!c)return a;if(t.__POWERED_BY_WUJIE__)return r;var s=t.Element;return s?s.prototype.appendChild.bind(n):r};i.appendChild=function(t){return qe(f(n,i,"head"),t)},a&&(a.appendChild=function(t){return qe(f(o,a,"body"),t)})}}}var Qe="preFetch";function Ze(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.platform||ve(t),o=r.versionId||Ge(t,n),i=r.appName||He(o,t);wt("[[ core:libReady ]] appGroupName ".concat(t,", appName ").concat(i,", versionId ").concat(o));var a=xe(i,n);null!==a&&void 0!==a&&a.__fromCust&&(o=r.versionId||a.online_version,i=a.name,wt("[[ core:libReady ]] fromCust, appGroupName ".concat(t,", appName ").concat(i,", versionId ").concat(o)));var c={platform:n,appName:i,appGroupName:t,versionId:o,appProperties:e,Comp:function(){},lifecycle:{}};Te(i,c,{appGroupName:t,platform:n}),Ce(i,ut.LOADED,{versionId:o,platform:n});var s=Se();Tt(Qe,"libReady"),s.emit(st.SUB_LIB_LOADED,c)}function tr(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.lifecycle,o=r.platform||ve(t),i=r.versionId||Ge(t,o),a=r.appName||He(i,t),c={Comp:e,appName:a,appGroupName:t,lifecycle:n,platform:o,versionId:i,isLib:!1};Qt(a,c),Ce(a,ut.LOADED,{versionId:i,platform:o});var s=Se();Tt(Qe,"appReady"),s.emit(st.SUB_APP_LOADED,c)}var er="/* @helstart ",rr=" @helend */",nr=er.length;function or(t,e){var r=Se(),n=se.getMatchedIgnoreCssPrefix(e);return n&&(se.setIgnoreCssPrefixCssUrl(n,e),r.emit(Le.cssLinkTagAdded(n),{nodes:[t]})),n}function ir(t){var e=E();if(e){var r=e.document.head.querySelectorAll('style[data-gname="'.concat(t,'"]'));if(r.length){se.clearStyleTagText(t),r.forEach((function(e){Q(e),se.appendStyleTagText(t,e.innerText)}));var n=Se();n.emit(Le.styleTagAdded(t),{nodes:r})}}}function ar(t,e){var r=t.tagName,n=t.innerText,o=t.href;if(["STYLE","LINK"].includes(r))if("STYLE"!==r){var i=or(t,o);i&&Q(t)}else{if(!n)return;var a=n.indexOf(er);if(a<0)return;var c=n.indexOf(rr);if(c<0)return;var s=n.substring(nr+a,c);if(s){var u=s.trim(),f="",p=u;if(u.includes("/")){var l=u.split("/");f=l[0],p=l[1]}$(t,"gname",p),f&&$(t,"plat",f),e[u]&&Q(t);var d=Se();se.appendStyleTagText(u,n),d.emit(Le.styleTagAdded(u),{nodes:[t]})}}}function cr(t,e){var r=t.tagName,n=t.src,o=void 0===n?"":n;if("SCRIPT"!==r)return!1;if(!o.endsWith(".hot-update.js"))return!1;var i=se.getMatchedIgnoreCssPrefix(o);if(!i)return!1;var a=se.getIgnoreCssPrefixKeys(i);if(!a.length)return!1;var c=!1;return a.forEach((function(t){e[t]&&(ir(t),c=!0)})),c}function sr(){var t=Wt(),e=E(),r=t.isStyleObInit,n=e.document;if(!r&&n){t.isStyleObInit=!0;var o=se.getIgnoreStyleTagMap(),i=L();if(i){var a=new i((function(t){t.forEach((function(t){for(var e=t.addedNodes,r=t.removedNodes,n=e.length,i=0;i<n;i++)ar(e[i],o);for(var a=r.length,c=0;c<a;c++)if(cr(r[c],o))break}))}));a.observe(document.head,{childList:!0})}}}hr(),wt("hel-micro-core ver ".concat(ct.CORE_VER));var ur=st,fr=ut,pr=ct,lr=et,dr=Z,vr=Je;function hr(t){t&&Lr(t),We(!!t),Yt(),yt(),$e(),sr()}var mr=Jt,gr=Xt,br=_t,yr=At,Ar=wt,_r=It,Er=Tt,Sr=xt,wr=E,Lr=S,Ir=$t,Tr=Qt,xr=Ie,Or=Te,Cr=xe,Nr=Oe,Pr=Fe,Rr=ke,Dr=ye,Mr=Ae,Vr=ae,jr=ce,Fr=se,kr=Ne,Ur=Ce,Br=Re,Gr=Pe,Hr=De,Kr=Me,Yr=je,Wr=Ve,Jr=Ge,Xr=He,zr=fe,qr=ve,$r=he,Qr=ge,Zr=me,tn=le,en=de,rn=pe,nn=Se,on=we,an=Le,cn=Ze,sn=tr}.call(this,r("87b6"))},cbf3:function(t,e,r){"use strict";var n=r("ff10"),o=n.navigator,i=o&&o.userAgent;t.exports=i?String(i):""},ccc1:function(t,e,r){"use strict";var n=r("f511");t.exports=function(t,e,r){for(var o=t.length-1;o>=0;o--)if(void 0!==t[o])try{r=n(t[o].iterator,e,r)}catch(i){e="throw",r=i}if("throw"===e)throw r;return r}},cdc0:function(t,e,r){"use strict";var n=r("89f9"),o=r("8866"),i=r("afad"),a=r("e82f"),c=function(t){var e=1===t;return function(r,c,s){var u,f,p=i(r),l=o(p),d=a(l),v=n(c,s);while(d-- >0)if(u=l[d],f=v(u,d,p),f)switch(t){case 0:return u;case 1:return d}return e?-1:void 0}};t.exports={findLast:c(0),findLastIndex:c(1)}},ce87:function(t,e,r){"use strict";var n=r("155d");t.exports=n(1.1.valueOf)},cf14:function(t,e,r){"use strict";var n=r("ba95"),o=r("155d");t.exports=function(t){if("Function"===n(t))return o(t)}},cff8:function(t,e,r){"use strict";var n,o,i,a,c=r("ff10"),s=r("d46c"),u=r("ab24"),f=c.structuredClone,p=c.ArrayBuffer,l=c.MessageChannel,d=!1;if(u)d=function(t){f(t,{transfer:[t]})};else if(p)try{l||(n=s("worker_threads"),n&&(l=n.MessageChannel)),l&&(o=new l,i=new p(2),a=function(t){o.port1.postMessage(null,[t])},2===i.byteLength&&(a(i),0===i.byteLength&&(d=a)))}catch(v){}t.exports=d},d0d2:function(t,e,r){"use strict";var n=r("ed76"),o=r("610b"),i=r("c412");t.exports=function(t,e,r){var a,c;return i&&n(a=e.constructor)&&a!==r&&o(c=a.prototype)&&c!==r.prototype&&i(t,c),t}},d42f:function(t,e,r){"use strict";var n=r("155d"),o=r("ed76"),i=r("e1ac"),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},d46c:function(t,e,r){"use strict";var n=r("ff10"),o=r("2e87");t.exports=function(t){if(o){try{return n.process.getBuiltinModule(t)}catch(e){}try{return Function('return require("'+t+'")')()}catch(e){}}}},d4f0:function(t,e,r){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},d5f9:function(t,e,r){"use strict";var n=r("c23a"),o=r("155d"),i=r("b1de"),a=r("54a8"),c=URLSearchParams,s=c.prototype,u=o(s.append),f=o(s["delete"]),p=o(s.forEach),l=o([].push),d=new c("a=1&a=2&b=3");d["delete"]("a",1),d["delete"]("b",void 0),d+""!=="a=2"&&n(s,"delete",(function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return f(this,t);var n=[];p(this,(function(t,e){l(n,{key:e,value:t})})),a(e,1);var o,c=i(t),s=i(r),d=0,v=n.length;while(d<v)o=n[d],f(this,o.key),d++;d=0;while(d<v)o=n[d++],o.key===c&&o.value===s||u(this,o.key,o.value)}),{enumerable:!0,unsafe:!0})},d744:function(t,e,r){"use strict";var n=r("155d"),o=r("afad"),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},d970:function(t,e,r){"use strict";var n=r("017e"),o=r("6acb"),i=TypeError,a=Object.getOwnPropertyDescriptor,c=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=c?function(t,e){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},da82:function(t,e,r){"use strict";var n=r("2c8d");t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},db44:function(t,e,r){"use strict";var n=r("e605"),o=r("901b");o&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return o(this,arguments.length?arguments[0]:void 0,!0)}})},dcb7:function(t,e,r){"use strict";var n=r("e1ac"),o=Object.create||Object;t.exports=function(t,e){return n[t]||(n[t]=e||o(null))}},de0b:function(t,e,r){"use strict";var n=r("017e"),o=r("a86f"),i=r("bc9c"),a=r("8b17"),c=r("e374"),s=r("6a8d"),u=r("d744"),f=r("e694"),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=c(t),e=s(e),f)try{return p(t,e)}catch(r){}if(u(t,e))return a(!o(i.f,t,e),t[e])}},de2f:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return p}));var n=a();c();var o=u();function i(){return window||t}function a(){var t=i(),e=t.__HEL_LOAD_ASSETS_FLAG__,r=t.__HEL_ISO_FLAG__,n=t.__MASTER_APP_LOADED__;return{isLoadAssetsCalled:1===e,isFirstMod:void 0===r,isBeforeCore:void 0===n}}function c(){var t=i();void 0===t.__HEL_ISO_FLAG__&&(t.__HEL_ISO_FLAG__=1)}function s(){var t="";try{throw new Error("codeHost")}catch(o){var e=o.stack.split("\n");t=e[e.length-1]||""}var r=t.split("//")[1]||"",n=r.split("/")[0];return n}function u(){var t=i(),e=t.location,r=t.__HEL_MICRO_SHARED__,o=n.isFirstMod,a=n.isBeforeCore,c=n.isLoadAssetsCalled;if(c)return!1;if(!o)return!1;if(a)return!0;var u=s();if(e&&e.host===u)return!0;if(r){var f=r.cacheRoot,p=f.appGroupName2platform,l=f.appName2platform,d=p||l||{};if(!Object.keys(d).length)return!0}return!1}function f(){return o}var p=f}).call(this,r("87b6"))},de70:function(t,e,r){"use strict";var n=r("4dfe"),o=r("155d"),i=r("9b3c"),a=r("15f4"),c=r("083c"),s=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(c(t)),r=a.f;return r?s(e,r(t)):e}},e1ac:function(t,e,r){"use strict";var n=r("7cc7"),o=r("ff10"),i=r("c1f7"),a="__core-js_shared__",c=t.exports=o[a]||i(a,{});(c.versions||(c.versions=[])).push({version:"3.51.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.51.0/LICENSE",source:"https://github.com/zloirock/core-js"})},e374:function(t,e,r){"use strict";var n=r("8866"),o=r("5bf4");t.exports=function(t){return n(o(t))}},e4b7:function(t,e,r){"use strict";var n=r("0a8d"),o=r("47a4"),i=r("92f7").f,a=n("unscopables"),c=Array.prototype;void 0===c[a]&&i(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},e605:function(t,e,r){"use strict";var n=r("ff10"),o=r("de0b").f,i=r("6113"),a=r("c23a"),c=r("c1f7"),s=r("b4e7"),u=r("0a1c");t.exports=function(t,e){var r,f,p,l,d,v,h=t.target,m=t.global,g=t.stat;if(f=m?n:g?n[h]||c(h,{}):n[h]&&n[h].prototype,f)for(p in e){if(d=e[p],t.dontCallGetSet?(v=o(f,p),l=v&&v.value):l=f[p],r=u(m?p:h+(g?".":"#")+p,t.forced),!r&&void 0!==l){if(typeof d==typeof l)continue;s(d,l)}(t.sham||l&&l.sham)&&i(d,"sham",!0),a(f,p,d,t)}}},e694:function(t,e,r){"use strict";var n=r("017e"),o=r("2c8d"),i=r("26f2");t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},e7b0:function(t,e,r){"use strict";t.exports=function(t,e){var r="function"==typeof Iterator&&Iterator.prototype[t];if(r)try{r.call({next:null},e).next()}catch(n){return!0}}},e82f:function(t,e,r){"use strict";var n=r("b2a2");t.exports=function(t){return n(t.length)}},e94f:function(t,e,r){"use strict";var n=r("ff10"),o=r("cbf3"),i=r("ba95"),a=function(t){return o.slice(0,t.length)===t};t.exports=function(){return a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"}()},ebf9:function(t,e,r){"use strict";var n=r("017e"),o=r("2c8d");t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},ece3:function(t,e,r){"use strict";var n=r("8bc0"),o=r("cdc0").findLast,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLast",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},ed76:function(t,e,r){"use strict";var n="object"==typeof document&&document.all;t.exports="undefined"==typeof n&&void 0!==n?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},f388:function(t,e,r){"use strict";t.exports=Object.create?Object.create(null):{}},f47e:function(t,e,r){"use strict";var n=r("ff10"),o=r("a86f"),i=r("8bc0"),a=r("e82f"),c=r("217c"),s=r("afad"),u=r("2c8d"),f=n.RangeError,p=n.Int8Array,l=p&&p.prototype,d=l&&l.set,v=i.aTypedArray,h=i.exportTypedArrayMethod,m=!u((function(){var t=new Uint8ClampedArray(2);return o(d,t,{length:1,0:3},1),3!==t[1]})),g=m&&i.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var t=new p(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));h("set",(function(t){v(this);var e=c(arguments.length>1?arguments[1]:void 0,1),r=s(t);if(m)return o(d,this,r,e);var n=this.length,i=a(r),u=0;if(i+e>n)throw new f("Wrong length");while(u<i)this[e+u]=r[u++]}),!m||g)},f511:function(t,e,r){"use strict";var n=r("a86f"),o=r("083c"),i=r("987c");t.exports=function(t,e,r){var a,c;o(t);try{if(a=i(t,"return"),!a){if("throw"===e)throw r;return r}a=n(a,t)}catch(s){c=!0,a=s}if("throw"===e)throw r;if(c)throw a;return o(a),r}},f9a8:function(t,e,r){"use strict";var n=r("610b");t.exports=function(t){return n(t)||null===t}},fa47:function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("4dfe"),a=r("8b17"),c=r("92f7").f,s=r("d744"),u=r("5cb6"),f=r("d0d2"),p=r("a7cd"),l=r("bb46"),d=r("a0f5"),v=r("017e"),h=r("7cc7"),m="DOMException",g=i("Error"),b=i(m),y=function(){u(this,A);var t=arguments.length,e=p(t<1?void 0:arguments[0]),r=p(t<2?void 0:arguments[1],"Error"),n=new b(e,r),o=new g(e);return o.name=m,c(n,"stack",a(1,d(o.stack,1))),f(n,this,y),n},A=y.prototype=b.prototype,_="stack"in new g(m),E="stack"in new b(1,2),S=b&&v&&Object.getOwnPropertyDescriptor(o,m),w=!!S&&!(S.writable&&S.configurable),L=_&&!w&&!E;n({global:!0,constructor:!0,forced:h||L},{DOMException:L?y:b});var I=i(m),T=I.prototype;if(T.constructor!==I)for(var x in h||c(T,"constructor",a(1,I)),l)if(s(l,x)){var O=l[x],C=O.s;s(I,C)||c(I,C,a(6,O.c))}},fcf6:function(t,e,r){"use strict";var n=r("017e"),o=r("92f7"),i=r("8b17");t.exports=function(t,e,r){n?o.f(t,e,i(0,r)):t[e]=r}},fd0e:function(t,e,r){"use strict";var n=Math.ceil,o=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?o:n)(e)}},fdbb:function(t,e,r){"use strict";var n=r("8bc0"),o=r("155d"),i=r("6e4c"),a=r("47e0"),c=n.aTypedArray,s=n.getTypedArrayConstructor,u=n.exportTypedArrayMethod,f=o(n.TypedArrayPrototype.sort);u("toSorted",(function(t){void 0!==t&&i(t);var e=c(this),r=a(s(e),e);return f(r,t)}))},ff10:function(t,e,r){"use strict";(function(e){var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,r("87b6"))},ff94:function(t,e,r){"use strict";var n=r("e605"),o=r("a86f"),i=r("4a05"),a=r("6e4c"),c=r("083c"),s=r("734c"),u=r("f511"),f=r("36a6"),p=f("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:p},{forEach:function(t){c(this);try{a(t)}catch(n){u(this,"throw",n)}if(p)return o(p,this,t);var e=s(this),r=0;i(e,(function(e){t(e,r++)}),{IS_RECORD:!0})}})}}]);
|
|
1
|
+
(window["helJsonp_comps-vue2_1794847943840"]=window["helJsonp_comps-vue2_1794847943840"]||[]).push([["vendor"],{"0126":function(t,e,r){"use strict";var n=r("666d");t.exports=function(t){var e=n(t);return"BigInt64Array"===e||"BigUint64Array"===e}},"0129":function(t,e,r){"use strict";var n,o,i=r("ff10"),a=r("cbf3"),c=i.process,s=i.Deno,u=c&&c.versions||s&&s.version,f=u&&u.v8;f&&(n=f.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),t.exports=o},"017e":function(t,e,r){"use strict";var n=r("2c8d");t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"01ec":function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("6f09"),a=r("2eeb"),c=o.Uint8Array,s=!c||!c.prototype.setFromBase64||!function(){var t=new c([255,255,255,255,255]);try{return void t.setFromBase64("",null)}catch(e){}try{return void t.setFromBase64("a")}catch(e){}try{t.setFromBase64("MjYyZg===")}catch(e){return 50===t[0]&&54===t[1]&&50===t[2]&&255===t[3]&&255===t[4]}}();c&&n({target:"Uint8Array",proto:!0,forced:s},{setFromBase64:function(t){a(this);var e=i(t,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:e.read,written:e.written}}})},"0214":function(t,e,r){"use strict";var n=r("d744"),o=r("ed76"),i=r("afad"),a=r("2e82"),c=r("9a4d"),s=a("IE_PROTO"),u=Object,f=u.prototype;t.exports=c?u.getPrototypeOf:function(t){var e=i(t);if(n(e,s))return e[s];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?f:null}},"03f4":function(t,e,r){"use strict";var n=r("3dcd"),o=RangeError;t.exports=function(t){var e=n(t);if(e<0)throw new o("The argument can't be less than 0");return e}},"061b":function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("5cb6"),a=r("083c"),c=r("ed76"),s=r("0214"),u=r("a66d"),f=r("fcf6"),p=r("2c8d"),l=r("d744"),d=r("0a8d"),v=r("aaf7").IteratorPrototype,h=r("017e"),m=r("7cc7"),g="constructor",b="Iterator",y=d("toStringTag"),A=TypeError,_=o[b],E=m||!c(_)||_.prototype!==v||!p((function(){_({})})),S=function(){if(i(this,v),s(this)===v)throw new A("Abstract class Iterator not directly constructable")},w=function(t,e){h?u(v,t,{configurable:!0,get:function(){return e},set:function(e){if(a(this),this===v)throw new A("You can't redefine this property");l(this,t)?this[t]=e:f(this,t,e)}}):v[t]=e};l(v,y)||w(y,b),!E&&l(v,g)&&v[g]!==Object||w(g,S),S.prototype=v,n({global:!0,constructor:!0,forced:E},{Iterator:S})},"083c":function(t,e,r){"use strict";var n=r("610b"),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},"086f":function(t,e,r){"use strict";var n=r("155d"),o=0,i=Math.random(),a=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},"0a1c":function(t,e,r){"use strict";var n=r("2c8d"),o=r("ed76"),i=/#|\.prototype\./,a=function(t,e){var r=s[c(t)];return r===f||r!==u&&(o(e)?n(e):!!e)},c=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=a.data={},u=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},"0a22":function(t,e,r){"use strict";var n=r("3d0b");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"0a8d":function(t,e,r){"use strict";var n=r("ff10"),o=r("dcb7"),i=r("d744"),a=r("086f"),c=r("3d0b"),s=r("0a22"),u=n.Symbol,f=o("wks"),p=s?u["for"]||u:u&&u.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=c&&i(u,t)?u[t]:p("Symbol."+t)),f[t]}},"0bc8":function(t,e,r){"use strict";var n=r("017e"),o=r("ebf9"),i=r("92f7"),a=r("083c"),c=r("e374"),s=r("8e50");e.f=n&&!o?Object.defineProperties:function(t,e){a(t);var r,n=c(e),o=s(e),u=o.length,f=0;while(u>f)i.f(t,r=o[f++],n[r]);return t}},1020:function(t,e,r){"use strict";var n=r("7cd2"),o=TypeError;t.exports=function(t){if(n(t))throw new o("ArrayBuffer is detached");return t}},"107a":function(t,e,r){"use strict";var n=r("4dfe");t.exports=n("document","documentElement")},1262:function(t,e,r){"use strict";var n=r("155d");t.exports=n({}.isPrototypeOf)},"13d0":function(t,e,r){"use strict";var n=r("e374"),o=r("7a35"),i=r("e82f"),a=function(t){return function(e,r,a){var c=n(e),s=i(c);if(0===s)return!t&&-1;var u,f=o(a,s);if(t&&r!==r){while(s>f)if(u=c[f++],u!==u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},1502:function(t,e,r){"use strict";var n=r("017e"),o=r("155d"),i=r("a66d"),a=URLSearchParams.prototype,c=o(a.forEach);n&&!("size"in a)&&i(a,"size",{get:function(){var t=0;return c(this,(function(){t++})),t},configurable:!0,enumerable:!0})},"155d":function(t,e,r){"use strict";var n=r("da82"),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},"15f4":function(t,e,r){"use strict";e.f=Object.getOwnPropertySymbols},"199e":function(t,e,r){"use strict";var n=r("a86f"),o=r("610b"),i=r("c129"),a=r("987c"),c=r("9a1d"),s=r("0a8d"),u=TypeError,f=s("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,s=a(t,f);if(s){if(void 0===e&&(e="default"),r=n(s,t,e),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},"1f80":function(t,e,r){"use strict";t.exports=function(t){return null===t||void 0===t}},"217c":function(t,e,r){"use strict";var n=r("03f4"),o=RangeError;t.exports=function(t,e){var r=n(t);if(r%e)throw new o("Wrong offset");return r}},2232:function(t,e,r){"use strict";var n=r("e605"),o=r("a86f"),i=r("6e4c"),a=r("083c"),c=r("734c"),s=r("ac54"),u=r("3ce3"),f=r("f511"),p=r("e7b0"),l=r("36a6"),d=r("7cc7"),v=!d&&!p("map",(function(){})),h=!d&&!v&&l("map",TypeError),m=d||v||h,g=s((function(){var t=this.iterator,e=a(o(this.next,t)),r=this.done=!!e.done;if(!r)return u(t,this.mapper,[e.value,this.counter++],!0)}));n({target:"Iterator",proto:!0,real:!0,forced:m},{map:function(t){a(this);try{i(t)}catch(e){f(this,"throw",e)}return h?o(h,this,t):new g(c(this),{mapper:t})}})},2263:function(t,e,r){"use strict";var n=TypeError;t.exports=function(t){if("string"==typeof t)return t;throw new n("Argument is not a string")}},2694:function(t,e,r){"use strict";var n=r("199e"),o=TypeError;t.exports=function(t){var e=n(t,"number");if("number"==typeof e)throw new o("Can't convert number to bigint");return BigInt(e)}},"26f2":function(t,e,r){"use strict";var n=r("ff10"),o=r("610b"),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},2973:function(t,e,r){"use strict";t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},"2c8a":function(t,e,r){!function(t,n){n(e,r("cbe1"))}(0,(function(t,e){"use strict";var r=function(){return r=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)};function n(t,r){var n=r||(null===e.getAppPlatform||void 0===e.getAppPlatform?void 0:e.getAppPlatform(t)),o=e.getSharedCache(n).appName2Lib;return o[t]||(o[t]={}),o[t]}var o="4.12.1";e.log("hel-lib-proxy ver ".concat(o));var i=e.getUserEventBus,a=e.helConsts,c=i();function s(t,n){var o=r({},n||{});return o.platform=o.platform||a.DEFAULT_PLAT,e.getVerLib(t,o)}function u(t,r){var o,i=!0,c="";r&&("string"==typeof r?c=r:(c=r.platform||"",i=null===(o=r.asProxy)||void 0===o||o));var s=n(t,c=c||e.getAppPlatform(t)||a.DEFAULT_PLAT);return"function"==typeof Proxy&&i&&(s=function(t,r,o){return new Proxy(r,{get:function(r,i){var a=String(i);return e.log("[[getLibProxy]] call lib [".concat(t,"] method [").concat(a,"]")),Object.keys(r).length?r[a]:n(t,o)[a]}})}(t,s,c)),e.log("[[ exposeLib ]] libName, libObj",t,s),s}function f(t,n,o){var i=function(t){var n={allowDup:!1,platform:e.helConsts.DEFAULT_PLAT};return r(r({},n),t||{})}(o);e.libReady(t,n,i)}function p(t,r,n){e.appReady(t,r,n)}function l(t,r){return e.getVerApp(t,r)}var d=e.isSubApp;function v(){return!e.isSubApp()}var h=Object.freeze({__proto__:null,VER:o,eventBus:c,getLib:s,exposeLib:u,libReady:f,appReady:p,exposeApp:l,isSubApp:d,isMasterApp:v}),m=e.commonUtil.purify,g=["isMasterApp","isSubApp","eventBus"],b=["appReady","libReady"];function y(t,e){return e&&"object"==typeof e&&!Array.isArray(e)?r({platform:t},m(e)):{platform:t}}function A(t,e){var r={};return Object.keys(t).forEach((function(n){var o=t[n];if(g.includes(n))r[n]=o;else if(b.includes(n))r[n]=function(t,e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=r[0],i=r[1],a=r[2];return t(o,i,y(e,void 0===a?{}:a))}}(o,e);else{var i="exposeLib"===n;r[n]=function(t,e,r){return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=n[0],a=n[1];return t(i,!r||"string"!=typeof a&&void 0!==a?y(e,a):a||e)}}(o,e,i)}})),r}var _=function t(e){var r=A(h,e);return r.createInstance=t,r},E=o,S=f,w=u,L=s,I=d,T=v,x=c,O=p,C=l,N={VER:E,libReady:S,exposeLib:w,getLib:L,isSubApp:I,isMasterApp:T,eventBus:x,appReady:O,exposeApp:C,createInstance:_};!function(t){var r=e.getGlobalThis();e.commonUtil.isServer()||r.HelLibProxy||(e.log("auto bind hel-lib-proxy to global.HelLibProxy"),r.HelLibProxy=t)}(N),t.VER=E,t.appReady=O,t.createInstance=_,t.default=N,t.eventBus=x,t.exposeApp=C,t.exposeLib=w,t.getLib=L,t.isMasterApp=T,t.isSubApp=I,t.libReady=S,Object.defineProperty(t,"__esModule",{value:!0})}))},"2c8d":function(t,e,r){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2c9e":function(t,e,r){"use strict";var n=r("a86f"),o=r("ed76"),i=r("083c"),a=r("2d1c"),c=r("4a5a"),s=TypeError;t.exports=function(t,e){var r=arguments.length<2?c(t):e;if(o(r))return i(n(r,t));throw new s(a(t)+" is not iterable")}},"2d1c":function(t,e,r){"use strict";var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"2e25":function(t,e,r){"use strict";var n=r("ff10"),o=r("7903"),i=r("ba95"),a=n.ArrayBuffer,c=n.TypeError;t.exports=a&&o(a.prototype,"byteLength","get")||function(t){if("ArrayBuffer"!==i(t))throw new c("ArrayBuffer expected");return t.byteLength}},"2e82":function(t,e,r){"use strict";var n=r("dcb7"),o=r("086f"),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"2e87":function(t,e,r){"use strict";var n=r("e94f");t.exports="NODE"===n},"2eeb":function(t,e,r){"use strict";var n=r("666d"),o=TypeError;t.exports=function(t){if("Uint8Array"===n(t))return t;throw new o("Argument is not an Uint8Array")}},"322e":function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("2263"),a=r("2eeb"),c=r("1020"),s=r("b464");function u(){try{var t=new ArrayBuffer(16,{maxByteLength:1024});new Uint8Array(t).setFromHex("cafed00d")}catch(e){return!0}}o.Uint8Array&&n({target:"Uint8Array",proto:!0,forced:u()},{setFromHex:function(t){a(this),i(t),c(this.buffer);var e=s(t,this).read;return{read:e,written:e/2}}})},3241:function(t,e,r){"use strict";var n=r("f9a8"),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},3600:function(t,e,r){"use strict";var n=r("017e"),o=r("a66d"),i=r("7cd2"),a=ArrayBuffer.prototype;n&&!("detached"in a)&&o(a,"detached",{configurable:!0,get:function(){return i(this)}})},"36a6":function(t,e,r){"use strict";var n=r("ff10");t.exports=function(t,e){var r=n.Iterator,o=r&&r.prototype,i=o&&o[t],a=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){a=!0}},-1)}catch(c){c instanceof e||(a=!1)}if(!a)return i}},"3ce3":function(t,e,r){"use strict";var n=r("083c"),o=r("f511");t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(a){o(t,"throw",a)}}},"3d0b":function(t,e,r){"use strict";var n=r("0129"),o=r("2c8d"),i=r("ff10"),a=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"3dcd":function(t,e,r){"use strict";var n=r("fd0e");t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},"3e09":function(t,e,r){"use strict";var n=r("e82f"),o=r("8bc0"),i=o.aTypedArray,a=o.exportTypedArrayMethod,c=o.getTypedArrayConstructor;a("toReversed",(function(){for(var t=i(this),e=n(t),r=new(c(t))(e),o=0;o<e;o++)r[o]=t[e-o-1];return r}))},4419:function(t,e,r){"use strict";var n=r("e605"),o=r("afad"),i=r("e82f"),a=r("d970"),c=r("bdb8"),s=r("2c8d"),u=s((function(){return 4294967297!==[].push.call({length:4294967296},1)})),f=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},p=u||!f();n({target:"Array",proto:!0,arity:1,forced:p},{push:function(t){var e=o(this),r=i(e),n=arguments.length;c(r+n);for(var s=0;s<n;s++)e[r]=arguments[s],r++;return a(e,r),r}})},"44af":function(t,e,r){"use strict";var n=r("e605"),o=r("a86f"),i=r("4a05"),a=r("6e4c"),c=r("083c"),s=r("734c"),u=r("f511"),f=r("36a6"),p=f("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:p},{find:function(t){c(this);try{a(t)}catch(n){u(this,"throw",n)}if(p)return o(p,this,t);var e=s(this),r=0;return i(e,(function(e,n){if(t(e,r++))return n(e)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},"44ed":function(t,e,r){"use strict";var n=r("e605"),o=r("901b");o&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return o(this,arguments.length?arguments[0]:void 0,!1)}})},4694:function(t,e,r){"use strict";var n=r("e605"),o=r("13d0").includes,i=r("2c8d"),a=r("e4b7"),c=i((function(){return!Array(1).includes()})),s=i((function(){return[,1].includes(void 0,1)}));n({target:"Array",proto:!0,forced:c||s},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},4784:function(t,e,r){"use strict";var n=r("2c8d");t.exports=!n((function(){var t="9007199254740993",e=JSON.rawJSON(t);return!JSON.isRawJSON(e)||JSON.stringify(e)!==t}))},"47a4":function(t,e,r){"use strict";var n,o=r("083c"),i=r("0bc8"),a=r("d4f0"),c=r("a300"),s=r("107a"),u=r("26f2"),f=r("2e82"),p=">",l="<",d="prototype",v="script",h=f("IE_PROTO"),m=function(){},g=function(t){return l+v+p+t+l+"/"+v+p},b=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=u("iframe"),r="java"+v+":";return e.style.display="none",s.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(g("document.F=Object")),t.close(),t.F},A=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}A="undefined"!=typeof document?document.domain&&n?b(n):y():b(n);var t=a.length;while(t--)delete A[d][a[t]];return A()};c[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(m[d]=o(t),r=new m,m[d]=null,r[h]=t):r=A(),void 0===e?r:i.f(r,e)}},"47e0":function(t,e,r){"use strict";var n=r("e82f");t.exports=function(t,e,r){var o=0,i=arguments.length>2?r:n(e),a=new t(i);while(i>o)a[o]=e[o++];return a}},"4a05":function(t,e,r){"use strict";var n=r("89f9"),o=r("a86f"),i=r("083c"),a=r("2d1c"),c=r("4afa"),s=r("e82f"),u=r("1262"),f=r("2c9e"),p=r("4a5a"),l=r("f511"),d=TypeError,v=function(t,e){this.stopped=t,this.result=e},h=v.prototype;t.exports=function(t,e,r){var m,g,b,y,A,_,E,S=r&&r.that,w=!(!r||!r.AS_ENTRIES),L=!(!r||!r.IS_RECORD),I=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),x=n(e,S),O=function(t){var e=m;return m=void 0,e&&l(e,"normal"),new v(!0,t)},C=function(t){return w?(i(t),T?x(t[0],t[1],O):x(t[0],t[1])):T?x(t,O):x(t)};if(L)m=t.iterator;else if(I)m=t;else{if(g=p(t),!g)throw new d(a(t)+" is not iterable");if(c(g)){for(b=0,y=s(t);y>b;b++)if(A=C(t[b]),A&&u(h,A))return A;return new v(!1)}m=f(t,g)}_=L?t.next:m.next;while(!(E=o(_,m)).done){var N=E.value;try{A=C(N)}catch(P){if(!m)throw P;l(m,"throw",P)}if("object"==typeof A&&A&&u(h,A))return A}return new v(!1)}},"4a5a":function(t,e,r){"use strict";var n=r("ba95"),o=r("1f80"),i=r("987c"),a=r("0a8d"),c=a("iterator"),s=Array.prototype;t.exports=function(t){if(!o(t))return i(t,c)||i(t,"@@iterator")||("Arguments"===n(t)?s[c]:void 0)}},"4afa":function(t,e,r){"use strict";var n=r("0a8d"),o=r("f388"),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},"4afb":function(t,e,r){"use strict";var n=r("e605"),o=r("6914"),i=r("7cc7"),a=o.get,c=o.has,s=o.set;n({target:"Map",proto:!0,real:!0,forced:i},{getOrInsert:function(t,e){return c(this,t)?a(this,t):(s(this,t,e),e)}})},"4dfe":function(t,e,r){"use strict";var n=r("ff10"),o=r("ed76"),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},"4e06":function(t,e,r){"use strict";var n=r("8bc0"),o=r("0126"),i=r("e82f"),a=r("3dcd"),c=r("2694"),s=n.aTypedArray,u=n.getTypedArrayConstructor,f=n.exportTypedArrayMethod,p=RangeError,l=function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}(),d=l&&function(){try{new Int8Array(1)["with"](-.5,1)}catch(t){return!0}}();f("with",{with:function(t,e){var r=s(this),n=i(r),f=a(t),l=f<0?n+f:f,d=o(r)?c(e):+e;if(l>=n||l<0)throw new p("Incorrect index");for(var v=new(u(r))(n),h=0;h<n;h++)v[h]=h===l?d:r[h];return v}}["with"],!l||d)},"4e29":function(t,e,r){"use strict";var n=r("e605"),o=r("6e4c"),i=r("6914"),a=r("7cc7"),c=i.get,s=i.has,u=i.set;n({target:"Map",proto:!0,real:!0,forced:a},{getOrInsertComputed:function(t,e){var r=s(this,t);if(o(e),r)return c(this,t);0===t&&1/t===-1/0&&(t=0);var n=e(t);return u(this,t,n),n}})},"54a8":function(t,e,r){"use strict";var n=TypeError;t.exports=function(t,e){if(t<e)throw new n("Not enough arguments");return t}},"55df":function(t,e,r){"use strict";var n=r("8bc0"),o=r("cdc0").findLastIndex,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLastIndex",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},5760:function(t,e,r){"use strict";var n=r("6113"),o=r("a0f5"),i=r("ad2d"),a=Error.captureStackTrace;t.exports=function(t,e,r,c){i&&(a?a(t,e):n(t,"stack",o(r,c)))}},"5bf4":function(t,e,r){"use strict";var n=r("1f80"),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},"5cb6":function(t,e,r){"use strict";var n=r("1262"),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},6091:function(t,e,r){"use strict";var n=r("da82"),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},"610b":function(t,e,r){"use strict";var n=r("ed76");t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},6113:function(t,e,r){"use strict";var n=r("017e"),o=r("92f7"),i=r("8b17");t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},"64b3":function(t,e,r){"use strict";var n=r("3dcd"),o=r("b2a2"),i=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=n(t),r=o(e);if(e!==r)throw new i("Wrong length or index");return r}},6569:function(t,e,r){"use strict";var n=r("c23a");t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},"65cd":function(t,e,r){"use strict";var n=r("4dfe"),o=r("d744"),i=r("6113"),a=r("1262"),c=r("c412"),s=r("b4e7"),u=r("a3ef"),f=r("d0d2"),p=r("a7cd"),l=r("c69c"),d=r("5760"),v=r("017e"),h=r("7cc7");t.exports=function(t,e,r,m){var g="stackTraceLimit",b=m?2:1,y=t.split("."),A=y[y.length-1],_=n.apply(null,y);if(_){var E=_.prototype;if(!h&&o(E,"cause")&&delete E.cause,!r)return _;var S=n("Error"),w=e((function(t,e){var r=p(m?e:t,void 0),n=m?new _(t):new _;return void 0!==r&&i(n,"message",r),d(n,w,n.stack,2),this&&a(E,this)&&f(n,this,w),arguments.length>b&&l(n,arguments[b]),n}));if(w.prototype=E,"Error"!==A?c?c(w,S):s(w,S,{name:!0}):v&&g in _&&(u(w,_,g),u(w,_,"prepareStackTrace")),s(w,_),!h)try{E.name!==A&&i(E,"name",A),E.constructor=w}catch(L){}return w}}},"65d2":function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("155d"),a=r("2eeb"),c=r("1020"),s=i(1.1.toString),u=i([].join),f=Array,p=o.Uint8Array,l=!p||!p.prototype.toHex||!function(){try{var t=new p([255,255,255,255,255,255,255,255]);return"ffffffffffffffff"===t.toHex()}catch(e){return!1}}();p&&n({target:"Uint8Array",proto:!0,forced:l},{toHex:function(){a(this),c(this.buffer);for(var t=f(this.length),e=0,r=this.length;e<r;e++){var n=s(this[e],16);t[e]=1===n.length?"0"+n:n}return u(t,"")}})},"666d":function(t,e,r){"use strict";var n=r("ab9d"),o=r("ed76"),i=r("ba95"),a=r("0a8d"),c=a("toStringTag"),s=Object,u="Arguments"===i(function(){return arguments}()),f=function(t,e){try{return t[e]}catch(r){}};t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=f(e=s(t),c))?r:u?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},6914:function(t,e,r){"use strict";var n=r("155d"),o=Map.prototype;t.exports={Map:Map,set:n(o.set),get:n(o.get),has:n(o.has),remove:n(o["delete"]),proto:o}},"6a82":function(t,e,r){"use strict";function n(t,e,r,n,o,i,a,c){var s,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(s=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=s):o&&(s=c?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(u.functional){u._injectStyles=s;var f=u.render;u.render=function(t,e){return s.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,s):[s]}return{exports:t,options:u}}r.d(e,"a",(function(){return n}))},"6a8d":function(t,e,r){"use strict";var n=r("199e"),o=r("c129");t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},"6acb":function(t,e,r){"use strict";var n=r("ba95");t.exports=Array.isArray||function(t){return"Array"===n(t)}},"6cc4":function(t,e,r){"use strict";var n=r("017e"),o=r("d744"),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&"something"===function(){}.name,u=c&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},"6e4c":function(t,e,r){"use strict";var n=r("ed76"),o=r("2d1c"),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},"6f09":function(t,e,r){"use strict";var n=r("ff10"),o=r("155d"),i=r("a9cb"),a=r("2263"),c=r("d744"),s=r("bf0a"),u=r("b5f0"),f=r("1020"),p=s.c2i,l=s.c2iUrl,d=n.SyntaxError,v=n.TypeError,h=n.Array,m=o("".charAt),g=Math.floor,b=function(t,e){for(var r=t.length;e<r;e++){var n=m(t,e);if(" "!==n&&"\t"!==n&&"\n"!==n&&"\f"!==n&&"\r"!==n)break}return e},y=function(t,e,r){var n=t.length;n<4&&(t+=2===n?"AA":"A");var o=(e[m(t,0)]<<18)+(e[m(t,1)]<<12)+(e[m(t,2)]<<6)+e[m(t,3)],i=[o>>16&255,o>>8&255,255&o];if(2===n){if(r&&0!==i[1])throw new d("Extra bits");return[i[0]]}if(3===n){if(r&&0!==i[2])throw new d("Extra bits");return[i[0],i[1]]}return i},A=function(t,e,r){for(var n=e.length,o=0;o<n;o++)t[r+o]=e[o];return r+n};t.exports=function(t,e,r,n){a(t),i(e);var o="base64"===u(e)?p:l,s=e?e.lastChunkHandling:void 0;if(void 0===s&&(s="loose"),"loose"!==s&&"strict"!==s&&"stop-before-partial"!==s)throw new v("Incorrect `lastChunkHandling` option");r&&f(r.buffer);var _=t.length,E=r||h(g(3*_/4)),S=0,w=0,L="",I=0;if(n)while(1){if(I=b(t,I),I===_){if(L.length>0){if("stop-before-partial"===s)break;if("loose"!==s)throw new d("Missing padding");if(1===L.length)throw new d("Malformed padding: exactly one additional character");S=A(E,y(L,o,!1),S)}w=_;break}var T=m(t,I);if(++I,"="===T){if(L.length<2)throw new d("Padding is too early");if(I=b(t,I),2===L.length){if(I===_){if("stop-before-partial"===s)break;throw new d("Malformed padding: only one =")}"="===m(t,I)&&(++I,I=b(t,I))}if(I<_)throw new d("Unexpected character after padding");S=A(E,y(L,o,"strict"===s),S),w=_;break}if(!c(o,T))throw new d("Unexpected character");var x=n-S;if(1===x&&2===L.length||2===x&&3===L.length)break;if(L+=T,4===L.length&&(S=A(E,y(L,o,!1),S),L="",w=I,S===n))break}return r||(E.length=S),{bytes:E,read:w,written:S}}},"734c":function(t,e,r){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},7684:function(t,e,r){"use strict";var n=r("155d"),o=r("2c8d"),i=r("ed76"),a=r("d744"),c=r("017e"),s=r("6cc4").CONFIGURABLE,u=r("d42f"),f=r("c835"),p=f.enforce,l=f.get,d=String,v=Object.defineProperty,h=n("".slice),m=n("".replace),g=n([].join),b=c&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),y=String(String).split("String"),A=t.exports=function(t,e,r){"Symbol("===h(d(e),0,7)&&(e="["+m(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||s&&t.name!==e)&&(c?v(t,"name",{value:e,configurable:!0}):t.name=e),b&&r&&a(r,"arity")&&t.length!==r.arity&&v(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?c&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=p(t);return a(n,"source")||(n.source=g(y,"string"==typeof e?e:"")),t};Function.prototype.toString=A((function(){return i(this)&&l(this).source||u(this)}),"toString")},7847:function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,c(n.key),n)}}function i(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t,e){if("object"!==typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function c(t){var e=a(t,"string");return"symbol"===typeof e?e:String(e)}r.r(e),r.d(e,"HTMLParser",(function(){return g})),r.d(e,"default",(function(){return y})),r.d(e,"parseHtml",(function(){return b}));var s=/\s/,u=/[a-zA-Z0-9\-]/,f="<!DOCTYPE html>",p="\x3c!--",l="--\x3e",d="</meta>",v="</link>",h=["meta","link"],m={meta:d,link:v},g=function(){function t(){n(this,t),this.input="",this.len=0,this.cur=0}return i(t,[{key:"eof",get:function(){return this.cur>=this.len}},{key:"peek",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.input[this.cur+t]}},{key:"sub",value:function(t,e){var r=e||this.cur;return this.input.substring(r,r+t)}},{key:"moveCur",value:function(t){this.cur+=t}},{key:"consumeChar",value:function(t){var e=this.peek();if(e!==t)throw new Error("Unexpected character: '".concat(e,"' should be '").concat(t,"'"));return this.cur++,e}},{key:"consumeSpace",value:function(){this.consumeWhile(s)}},{key:"consumeWhile",value:function(t){var e=[];do{var r=this.peek();if(!t.test(r))break;e.push(r),this.cur++}while(!this.eof);return e.join("")}},{key:"noop",value:function(){}},{key:"pureInput",value:function(t){var e=t.trim();e.startsWith(f)&&(e=e.substring(f.length));var r=function t(e){var r=e.indexOf(p),n=e.indexOf(l);if(r>=0&&n>=0){var o=e.substring(0,r),i=e.substring(n+l.length);return t("".concat(o).concat(i))}return e};return e=r(e),e}},{key:"parse",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t||"";return this.input=this.pureInput(r),this.len=r.length,this.onTagOpen=e.onTagOpen||this.noop(),this.onTagClose=e.onTagClose||this.noop(),this.cur=0,this.parseNodes()}},{key:"parseNodes",value:function(){var t=[];do{var e=void 0;if("<"===this.peek()){if("/"===this.peek(1))break;e=this.parseElement()}else e=this.parseTextNode();" "!==e&&t.push(e)}while(!this.eof);return t}},{key:"parseTextNode",value:function(){var t=this.consumeWhile(/[^<]/);return t.replace(/[\s\n]+/g," ")}},{key:"parseElement",value:function(){var t=this;this.consumeChar("<");var e=this.parseTag();this.onTagOpen(e),this.consumeSpace();var r=this.parseAttrs(),n=this.peek(),o=this.peek(-1),i=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t.parseTag(),t.consumeSpace(),t.consumeChar(">"),o&&t.moveCur(o);var i={tag:e,attrs:r,children:n};return t.onTagClose(e,i),i};if("/>"==="".concat(o).concat(n))return i([]);if(h.includes(e)&&">"===n){var a=m[e],c=a.length,s=this.sub(c,this.cur+1),u=s===a?c:0;return i([],u)}this.consumeChar(">");var f=this.parseNodes();return this.consumeChar("<"),this.consumeChar("/"),i(f)}},{key:"parseTag",value:function(){var t=this.consumeWhile(u);return t}},{key:"parseAttrs",value:function(){var t={};while(">"!==this.peek()){var e=this.parseTag();if(e){if("="===this.peek()){this.consumeChar("="),this.consumeChar('"');var r=this.consumeWhile(/[^"]/);this.consumeChar('"'),t[e]=r}else t[e]="";this.consumeSpace()}else this.consumeChar(this.peek())}return t}}]),t}();function b(t,e){var r=new g,n=r.parse(t,e);return n}var y={parseHtml:b,HTMLParser:g}},7903:function(t,e,r){"use strict";var n=r("155d"),o=r("6e4c");t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(i){}}},"7a35":function(t,e,r){"use strict";var n=r("3dcd"),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},"7cc7":function(t,e,r){"use strict";t.exports=!1},"7cd2":function(t,e,r){"use strict";var n=r("ff10"),o=r("2973"),i=r("2e25"),a=n.DataView;t.exports=function(t){if(!o||0!==i(t))return!1;try{return new a(t),!1}catch(e){return!0}}},8099:function(t,e,r){"use strict";var n=r("c23a"),o=r("155d"),i=r("b1de"),a=r("54a8"),c=URLSearchParams,s=c.prototype,u=o(s.getAll),f=o(s.has),p=new c("a=1");!p.has("a",2)&&p.has("a",void 0)||n(s,"has",(function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return f(this,t);var n=u(this,t);a(e,1);var o=i(r),c=0;while(c<n.length)if(n[c++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0})},"811f":function(t,e,r){"use strict";var n=r("e605"),o=r("a86f"),i=r("6e4c"),a=r("083c"),c=r("734c"),s=r("ac54"),u=r("3ce3"),f=r("7cc7"),p=r("f511"),l=r("e7b0"),d=r("36a6"),v=!f&&!l("filter",(function(){})),h=!f&&!v&&d("filter",TypeError),m=f||v||h,g=s((function(){var t,e,r,n=this.iterator,i=this.predicate,c=this.next;while(1){if(t=a(o(c,n)),e=this.done=!!t.done,e)return;if(r=t.value,u(n,i,[r,this.counter++],!0))return r}}));n({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function(t){a(this);try{i(t)}catch(e){p(this,"throw",e)}return h?o(h,this,t):new g(c(this),{predicate:t})}})},8403:function(t,e,r){"use strict";var n=r("ff10"),o=r("ed76"),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8471:function(t,e,r){"use strict";var n=r("155d"),o=r("d744"),i=SyntaxError,a=parseInt,c=String.fromCharCode,s=n("".charAt),u=n("".slice),f=n(/./.exec),p={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},l=/^[\da-f]{4}$/i,d=/^[\u0000-\u001F]$/;t.exports=function(t,e){var r=!0,n="";while(e<t.length){var v=s(t,e);if("\\"===v){var h=u(t,e,e+2);if(o(p,h))n+=p[h],e+=2;else{if("\\u"!==h)throw new i('Unknown escape sequence: "'+h+'"');e+=2;var m=u(t,e,e+4);if(!f(l,m))throw new i("Bad Unicode escape at: "+e);n+=c(a(m,16)),e+=4}}else{if('"'===v){r=!1,e++;break}if(f(d,v))throw new i("Bad control character in string literal at: "+e);n+=v,e++}}if(r)throw new i("Unterminated string at: "+e);return{value:n,end:e}}},"86be":function(t,e,r){"use strict";var n=r("8bc0"),o=r("e82f"),i=r("3dcd"),a=n.aTypedArray,c=n.exportTypedArrayMethod;c("at",(function(t){var e=a(this),r=o(e),n=i(t),c=n>=0?n:r+n;return c<0||c>=r?void 0:e[c]}))},"87b6":function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}t.exports=r},8866:function(t,e,r){"use strict";var n=r("155d"),o=r("2c8d"),i=r("ba95"),a=Object,c=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):a(t)}:a},"89f9":function(t,e,r){"use strict";var n=r("cf14"),o=r("6e4c"),i=r("da82"),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},"8a28":function(t,e,r){"use strict";var n=r("e605"),o=r("4dfe"),i=r("a86f"),a=r("155d"),c=r("2c8d"),s=r("6acb"),u=r("ed76"),f=r("610b"),p=r("47a4"),l=r("bc7a"),d=r("c129"),v=r("ba95"),h=r("ce87"),m=r("13d0").includes,g=r("d744"),b=r("b1de"),y=r("8471"),A=r("086f"),_=r("3d0b"),E=r("4784"),S=String,w=TypeError,L=o("JSON","stringify"),I=o("BigInt"),T=a("".valueOf),x=a((!0).valueOf),O=I&&a(I.prototype.valueOf),C=a(/./.exec),N=a("".charAt),P=a("".charCodeAt),R=a("".replace),D=a("".slice),M=a([].push),V=a([].pop),j=a(1.1.toString),F=/[\uD800-\uDFFF]/g,k=/^[\uD800-\uDBFF]$/,U=/^[\uDC00-\uDFFF]$/,B=/^\d+$/,G=A(),H=A(),K=A(),Y=G.length,W=H.length,J=!_||c((function(){var t=o("Symbol")("stringify detection");return"[null]"!==L([t])||"{}"!==L({a:t})||"{}"!==L(Object(t))})),X=c((function(){return'"\\udf06\\ud834"'!==L("\udf06\ud834")||'"\\udead"'!==L("\udead")})),z=E?o("JSON","isRawJSON"):l,q=J?function(t,e,r){return L(t,(function(t,r){var n=i(e,this,t,r);if(!d(n))return n}),r)}:L,$=function(t,e,r){var n=N(r,e-1),o=N(r,e+1);return C(k,t)&&!C(U,o)||C(U,t)&&!C(k,n)?"\\u"+j(P(t,0),16):t},Q=function(t){if(s(t)){for(var e=t.length,r=[],n=p(null),o=0;o<e;o++){var i,a=t[o];if("string"==typeof a)i=a;else{if("number"!=typeof a&&"Number"!==v(a)&&"String"!==v(a))continue;i=b(a)}g(n,i)||(n[i]=!0,M(r,i))}return r}},Z=function(t,e){try{return t(e),!0}catch(r){return!1}},tt=function(t){var e=v(t);return"Number"===e&&Z(h,t)||"String"===e&&Z(T,t)||"Boolean"===e&&Z(x,t)||!!O&&"BigInt"===e&&Z(O,t)},et=function(t){if(!f(t)||u(t)||s(t))return!1;try{return!tt(t)}catch(e){return!0}},rt=function(t,e){return{toJSON:function(){var r=t[e];if(f(r)||"bigint"==typeof r){var n=r.toJSON;u(n)&&(r=i(n,r,e))}return r}}},nt=function(t){for(var e=0,r=t.length;e<r;e++)if(C(B,t[e]))return H;return""},ot=function(t,e,r){for(var n=p(null),o=0,i=e.length;o<i;o++){var a=e[o];n[r+a]=rt(t,a)}return n[K]=null,n};L&&n({target:"JSON",stat:!0,arity:3,forced:J||X||!E},{stringify:function(t,e,r){var n,o=u(e)?e:void 0,a=o?void 0:Q(e),c=a&&nt(a),f=[],p=[],l=[],d=!1,v=!0,h=q(t,(function(t,e){if(t=S(t),a){if(t===K)return V(p),void(n=V(l));if(v)v=!1;else if(this!==n&&!s(this)&&!m(a,t))return}else o&&(e=i(o,this,t,e));if(z(e))return E?e:(d=!0,G+(M(f,e.rawJSON)-1));if(a&&et(e)){if(m(p,e))throw new w("Converting circular structure to JSON");var r=ot(e,a,c);return M(p,e),M(l,n),n=r,c&&(d=!0),r}return e}),r);if("string"!=typeof h)return h;if(X&&(h=R(h,F,$)),!d)return h;for(var g="",b=h.length,A=0;A<b;A++){var _=N(h,A);if('"'===_){var L=y(h,++A).end-1,I=D(h,A,L);D(I,0,Y)===G?g+=f[D(I,Y)]:D(I,0,W)===H?g+='"'+D(I,W)+'"':g+='"'+I+'"',A=L}else g+=_}return g}})},"8b17":function(t,e,r){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"8bc0":function(t,e,r){"use strict";var n,o,i,a=r("2973"),c=r("017e"),s=r("ff10"),u=r("ed76"),f=r("610b"),p=r("d744"),l=r("666d"),d=r("2d1c"),v=r("6113"),h=r("c23a"),m=r("a66d"),g=r("1262"),b=r("0214"),y=r("c412"),A=r("0a8d"),_=r("086f"),E=r("c835"),S=E.enforce,w=E.get,L=s.Int8Array,I=L&&L.prototype,T=s.Uint8ClampedArray,x=T&&T.prototype,O=L&&b(L),C=I&&b(I),N=Object.prototype,P=s.TypeError,R=A("toStringTag"),D=_("TYPED_ARRAY_TAG"),M="TypedArrayConstructor",V=a&&!!y&&"Opera"!==l(s.opera),j=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},k={BigInt64Array:8,BigUint64Array:8},U=function(t){if(!f(t))return!1;var e=l(t);return"DataView"===e||p(F,e)||p(k,e)},B=function(t){var e=b(t);if(f(e)){var r=w(e);return r&&p(r,M)?r[M]:B(e)}},G=function(t){if(!f(t))return!1;var e=l(t);return p(F,e)||p(k,e)},H=function(t){if(G(t))return t;throw new P("Target is not a typed array")},K=function(t){if(u(t)&&(!y||g(O,t)))return t;throw new P(d(t)+" is not a typed array constructor")},Y=function(t,e,r,n){if(c){if(r)for(var o in F){var i=s[o];if(i&&p(i.prototype,t))try{delete i.prototype[t]}catch(a){try{i.prototype[t]=e}catch(u){}}}C[t]&&!r||h(C,t,r?e:V&&I[t]||e,n)}},W=function(t,e,r){var n,o;if(c){if(y){if(r)for(n in F)if(o=s[n],o&&p(o,t))try{delete o[t]}catch(i){}if(O[t]&&!r)return;try{return h(O,t,r?e:V&&O[t]||e)}catch(i){}}for(n in F)o=s[n],!o||o[t]&&!r||h(o,t,e)}};for(n in F)o=s[n],i=o&&o.prototype,i?S(i)[M]=o:V=!1;for(n in k)o=s[n],i=o&&o.prototype,i&&(S(i)[M]=o);if((!V||!u(O)||O===Function.prototype)&&(O=function(){throw new P("Incorrect invocation")},V))for(n in F)s[n]&&y(s[n],O);if((!V||!C||C===N)&&(C=O.prototype,V))for(n in F)s[n]&&y(s[n].prototype,C);if(V&&b(x)!==C&&y(x,C),c&&!p(C,R))for(n in j=!0,m(C,R,{configurable:!0,get:function(){return f(this)?this[D]:void 0}}),F)s[n]&&v(s[n].prototype,D,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:V,TYPED_ARRAY_TAG:j&&D,aTypedArray:H,aTypedArrayConstructor:K,exportTypedArrayMethod:Y,exportTypedArrayStaticMethod:W,getTypedArrayConstructor:B,isView:U,isTypedArray:G,TypedArray:O,TypedArrayPrototype:C}},"8d5e":function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("155d"),a=r("a9cb"),c=r("2eeb"),s=r("1020"),u=r("bf0a"),f=r("b5f0"),p=u.i2c,l=u.i2cUrl,d=Math.floor,v=Math.ceil,h=i("".charAt),m=o.Uint8Array,g=o.Array,b=i([].join),y=!m||!m.prototype.toBase64||!function(){try{var t=new m;t.toBase64(null)}catch(e){return!0}}();m&&n({target:"Uint8Array",proto:!0,forced:y},{toBase64:function(){var t=c(this),e=arguments.length?a(arguments[0]):void 0,r="base64"===f(e)?p:l,n=!!e&&!!e.omitPadding;s(this.buffer);for(var o,i=0,u=t.length,m=g(n?4*d(u/3)+(u%3?u%3+1:0):4*v(u/3)),y=0,A=function(t){return h(r,o>>6*t&63)};i+2<u;i+=3)o=(t[i]<<16)+(t[i+1]<<8)+t[i+2],m[y++]=A(3),m[y++]=A(2),m[y++]=A(1),m[y++]=A(0);return i+2===u?(o=(t[i]<<16)+(t[i+1]<<8),m[y++]=A(3),m[y++]=A(2),m[y++]=A(1),n||(m[y++]="=")):i+1===u&&(o=t[i]<<16,m[y++]=A(3),m[y++]=A(2),n||(m[y++]="=",m[y++]="=")),b(m,"")}})},"8e50":function(t,e,r){"use strict";var n=r("c8cb"),o=r("d4f0");t.exports=Object.keys||function(t){return n(t,o)}},"901b":function(t,e,r){"use strict";var n=r("ff10"),o=r("155d"),i=r("7903"),a=r("64b3"),c=r("1020"),s=r("2e25"),u=r("cff8"),f=r("ab24"),p=n.structuredClone,l=n.ArrayBuffer,d=n.DataView,v=Math.max,h=Math.min,m=l.prototype,g=d.prototype,b=o(m.slice),y=i(m,"resizable","get"),A=i(m,"maxByteLength","get"),_=o(g.getInt8),E=o(g.setInt8);t.exports=(f||u)&&function(t,e,r){var n,o=s(t),i=void 0===e?o:a(e),m=!y||!y(t);if(c(t),f&&(t=p(t,{transfer:[t]}),o===i&&(r||m)))return t;if(o>=i&&(!r||m))n=b(t,0,i);else{var g=r&&!m&&A?{maxByteLength:v(i,A(t))}:void 0;n=new l(i,g);for(var S=new d(t),w=new d(n),L=h(i,o),I=0;I<L;I++)E(w,I,_(S,I))}return f||u(t),n}},"92f7":function(t,e,r){"use strict";var n=r("017e"),o=r("e694"),i=r("ebf9"),a=r("083c"),c=r("6a8d"),s=TypeError,u=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",d="writable";e.f=n?i?function(t,e,r){if(a(t),e=c(e),a(r),"function"===typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=f(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:l in r?r[l]:n[l],enumerable:p in r?r[p]:n[p],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(a(t),e=c(e),a(r),o)try{return u(t,e,r)}catch(n){}if("get"in r||"set"in r)throw new s("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"95ea":function(t,e,r){"use strict";function n(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}Object.defineProperty(e,"__esModule",{value:!0});var o=n(r("2c8a")),i=r("cbe1"),a=r("7847"),c="4.15.3";function s(t){var e=t.appGroupName,r=t.Comp,n=t.platform,o=t.lifecycle,a=t.appName,c=t.versionId;i.appReady(e,r,{lifecycle:o,platform:n,appName:a,versionId:c})}var u=function(){return u=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},u.apply(this,arguments)};function f(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}function p(t,e,r,n){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function a(t){try{s(n.next(t))}catch(e){i(e)}}function c(t){try{s(n["throw"](t))}catch(e){i(e)}}function s(t){t.done?r(t.value):o(t.value).then(a,c)}s((n=n.apply(t,e||[])).next())}))}function l(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(t){return function(e){return s([t,e])}}function s(i){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(o=2&i[0]?n["return"]:i[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(c){i=[6,c],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}}var d={LS_CACHE_APP_PREFIX:"HelAppCache",DATABASE_NAME:"HelIndexedDB",STORE_NAME:"HelMetaData"},v={};function h(){return{db:null,name:"",storeName:"",version:1}}function m(){var t=i.getGlobalThis();return"indexedDB"in t?t.indexedDB:(console.warn("The current browser is not support indexedDB!"),null)}var g=function(){function t(t){this.dbInfo=h(),this.ready=null,this.initStorage(t)}return t.prototype.initStorage=function(t){var e=m();if(e){var r=null,n=null;this.ready=new Promise((function(t,e){r=t,n=e}));var o=this.dbInfo;if(t){var a=t.name,c=t.storeName,s=t.version;Object.assign(o,i.commonUtil.purify({name:a,storeName:c,version:s}))}var u=v[o.name];u||(u=h(),v[o.name]=u),o.db=u.db;var f=this.isUpgradeNeeded(o);if(o.db){if(!f)return void r(o);o.db.close()}var p=[o.name,void 0];f&&(p[1]=o.version);var l=e.open.apply(e,p);f&&(l.onupgradeneeded=function(t){u.db=l.result,o.db=l.result;try{o.db.createObjectStore(o.storeName)}catch(r){if("ConstraintError"!==r.name)throw r;var e=i.commonUtil.nbstr('\n The database "'.concat(o.name,'"\n has been upgraded from version ').concat(t.oldVersion," to version ").concat(t.newVersion,',\n but the storage "').concat(o.storeName,'" already exists.'));console.warn(e)}}),l.onerror=function(){n(l.error)},l.onsuccess=function(){o.db=l.result,u.db=l.result,o.db.onversionchange=function(t){t.target.close()},r(o)}}},t.prototype.isUpgradeNeeded=function(t){if(!t.db)return!0;var e=!t.db.objectStoreNames.contains(t.storeName),r=t.version<t.db.version,n=t.version>t.db.version;if(r&&(console.warn('The database "'.concat(t.name,"\" can't be downgraded from version ").concat(t.db.version," to version ").concat(t.version)),t.version=t.db.version),n||e){if(e){var o=t.db.version+1;o>t.version&&(t.version=o)}return!0}return!1},t.prototype.getObjectStore=function(t,e){var r=t.name,n=t.db,o=t.storeName;if(!n)throw new Error("get ".concat(o," objectStore failed in ").concat(r," database"));var i=n.transaction(o,e||"readonly").objectStore(o);return i},t.prototype.attachHandler=function(t,e,r){t.onsuccess=function(){e(t.result||null)},t.onerror=function(){r(t.error)}},t.prototype.getItem=function(t){return p(this,void 0,void 0,(function(){var e,r,n,o=this;return l(this,(function(i){switch(i.label){case 0:return[4,this.getDbInfo()];case 1:return e=i.sent(),r=this.getObjectStore(e),n=r.get(t),[2,new Promise((function(t,e){o.attachHandler(n,t,e)}))]}}))}))},t.prototype.setItem=function(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i=this;return l(this,(function(a){switch(a.label){case 0:return[4,this.getDbInfo()];case 1:return r=a.sent(),n=this.getObjectStore(r,"readwrite"),o=n.put(e,t),[2,new Promise((function(t,e){i.attachHandler(o,t,e)}))]}}))}))},t.prototype.removeItem=function(t){return p(this,void 0,void 0,(function(){var e,r,n,o=this;return l(this,(function(i){switch(i.label){case 0:return[4,this.getDbInfo()];case 1:return e=i.sent(),r=this.getObjectStore(e,"readwrite"),n=r.delete(t),[2,new Promise((function(t,e){o.attachHandler(n,t,e)}))]}}))}))},t.prototype.getDbInfo=function(){return this.ready?this.ready:Promise.reject("forget init")},t}();function b(t){return!t.startsWith("//")&&(t.startsWith("/")||t.startsWith("./")||t.startsWith("../"))}function y(t,e){return e.startsWith(t)?"build":b(e)?"relative":"static"}function A(){if(!m())return null;try{var t=new g({name:d.DATABASE_NAME,storeName:d.STORE_NAME});return{setItem:function(e,r){return t.setItem(e,r)},getItem:function(e){return t.getItem(e)},removeItem:function(e){return t.removeItem(e)}}}catch(e){return console.error("new IndexedDBStorage error: ".concat(e.message)),null}}function _(){var t,e={getItem:function(){},setItem:function(){},removeItem:function(){}};try{var r=null===(t=i.getGlobalThis())||void 0===t?void 0:t.localStorage;return r||e}catch(n){return e}}function E(t,e,r){var n=Object.prototype.hasOwnProperty.call(t,e);if(n)return t[e]||r}function S(t){return t||i.getPlatform()}function w(t,e){try{_().setItem(t,JSON.stringify(e))}catch(r){i.log("save localStorage failed: ".concat(r.message))}}function L(t){if(!t)return t;var e=t.appInfo,r=t.appVersion;return e&&r?{app:e,version:r}:t}function I(t,e){var r="".concat(d.LS_CACHE_APP_PREFIX,".").concat(S(e),".").concat(t);return r}function T(t,e){return p(this,void 0,Promise,(function(){var r,n,o,a,c,s,u,f,p,d,v;return l(this,(function(l){switch(l.label){case 0:r=e||{},n=r.platform,o=r.cacheKey,a=r.storageType,c=void 0===a?"indexedDB":a,s=o||I(t,n),l.label=1;case 1:return l.trys.push([1,4,,5]),"indexedDB"!==c?[3,3]:(u=A(),u?[4,u.getItem(s)]:[3,3]);case 2:return f=l.sent(),[2,L(f)];case 3:return p=_().getItem(s),d=i.commonUtil.safeParse(p||"",null),[2,L(d)];case 4:return v=l.sent(),console.error(v),[2,null];case 5:return[2]}}))}))}function x(t,e,r){var n=I(t,r),o=(null===e||void 0===e?void 0:e({appName:t,innerKey:n}))||n;return o}function O(t,e){return p(this,void 0,Promise,(function(){var r,n,o,i,a;return l(this,(function(c){switch(c.label){case 0:return r=e.getCacheKey,n=e.storageType,o=e.platform,i=x(t,r,o),[4,T(t,{platform:o,cacheKey:i,storageType:n})];case 1:return a=c.sent(),a?[2,{appInfo:a.app,appVersion:a.version}]:[2,null]}}))}))}function C(t,e,r){var n="indexedDB"===r;if(!n)return w(t,e);var o=A();if(!o)return w(t,e);o.setItem(t,e).catch((function(r){i.log("save indexeddb failed, use localStorage instead, err: ".concat(r.message)),w(t,e)}))}var N={GET_APP_AND_VER:"getSubAppAndItsVersion",GET_APP_AND_FULL_VER:"getSubAppAndItsFullVersion",BATCH_GET_APP_AND_VER:"batchGetSubAppAndItsVersion",BATCH_GET_APP_AND_FULL_VER:"batchGetSubAppAndItsFullVersion",GET_APP_VER:"getSubAppVersion",GET_APP_FULL_VER:"getSubAppFullVersion"},P="get",R="Jsonp";function D(t){var e=t.userLsKey,r=_().getItem(e)||"";if(r)return r;try{var n={};i.getGlobalThis().document.cookie.split(";").forEach((function(t){var e=t.split("="),r=e[0],o=e[1];n[r]=o})),r=n[e]||"",i.log("[[ getUserName ]] result:",r)}catch(o){i.log("[[ getUserName ]] err:",o)}return r}var M=Object.freeze({__proto__:null,getUserName:D}),V=i.commonUtil.isNull;function j(t,e,r){var n=i.getPlatformConfig(t),o=n.origin,a=n[e],c=o[e];return r||a||c}function F(t,e,r,n){var o=j(t,e,n);if(o)return o(r);var i=M[e]||function(){return null};return i(r)}function k(t,e,r,n){var o=r||[],a=o[0],c=o[1];if(!V(a,n))return a;var s=i.getPlatformConfig(t),u=s[e];if(!V(u,n))return u;var f=s.origin,p=f[e];return V(p,n)?c:p}function U(t,e){var r,n=i.getPlatformConfig(t.platform),o=t.hook||{},a=n.origin,c=n.hook;return o[e]||c[e]||(null===(r=a.hook)||void 0===r?void 0:r[e])}function B(t,e){var r,n,o,a="";if(e&&(a=(null===(r=e.getApiPrefix)||void 0===r?void 0:r.call(e))||e.apiPrefix),a)return a;var c=i.getPlatformConfig(t);if(a=(null===(n=c.getApiPrefix)||void 0===n?void 0:n.call(c))||c.apiPrefix,a)return a;var s=c.origin;return a=(null===(o=s.getApiPrefix)||void 0===o?void 0:o.call(s))||s.apiPrefix,a}var G=11,H={now:function(){return(new Date).getTime()},rand:function(){return Math.random().toString().substring(6)},removeElem:function(t){var e=t.parentNode;e&&e.nodeType!==G&&e.removeChild(t)},parseData:function(t){var e="";if("string"===typeof t)e=t;else if("object"===typeof t)for(var r in t)e+="".concat(e,"&").concat(r,"=").concat(encodeURIComponent(t[r]));return e+="&_t=".concat(H.now()),e=e.substring(1),e},getJSON:function(t,e){return new Promise((function(r,n){var o="",a=t;a=a+(-1===a.indexOf("?")?"?":"&")+H.parseData(e);var c=/callback=(\w+)/.exec(a);o=(null===c||void 0===c?void 0:c[1])?c[1]:"helJsonp_".concat(H.now(),"_").concat(H.rand()),a=a.includes("?")?"".concat(a,"&callback=").concat(o):"".concat(a,"?callback=").concat(o);var s=i.getGlobalThis(),u=s.document,f=u.createElement("script");f.type="text/javascript",f.src=a,f.id=o,f.onerror=n,f.addEventListener("error",n),s[o]=function(t){delete s[o];var e=u.getElementById(o);return e&&H.removeElem(e),r(t)};var p=u.getElementsByTagName("head");(null===p||void 0===p?void 0:p[0])&&p[0].appendChild(f)}))}},K=H.getJSON;function Y(){return"XMLHttpRequest"in i.getGlobalThis()?new XMLHttpRequest:null}function W(t,e){return p(this,void 0,Promise,(function(){var r,n,o,i,a;return l(this,(function(c){switch(c.label){case 0:return r=e||{},n=r.method,o=f(r,["method"]),i=new J(o),[4,i.request(t,n)];case 1:return a=c.sent(),[2,a]}}))}))}var J=function(){function t(t){this.req=null,this.resultPromise=Promise.resolve(null),this.init(t||{})}return t.prototype.init=function(t){var e=Y();if(!e)throw new Error("current browser is not support XMLHttpRequest!");this.req=e;var r=t.responseType,n=t.timeout,o=void 0===n?1e4:n,i=t.withCredentials,a=t.headers;e.responseType=r||"json",e.timeout=o,e.withCredentials=!!i,a&&Object.keys(a).forEach((function(t){e.setRequestHeader(t,a[t])}));var c=null,s=null;this.resultPromise=new Promise((function(t,e){c=t,s=e}));var u=function(){var t=e.response,r=e.status,n=e.statusText,o=e.responseURL;c({data:t,status:r,statusText:n,url:o})},f=function(t){var r=e.status,n=e.statusText,o=e.responseURL;s({msg:t,status:r,statusText:n,url:o})};e.onload=function(){return u()},e.onerror=function(t){return f(t)},e.onabort=function(t){return f(t)},e.ontimeout=function(t){return f(t)},e.onprogress=function(){}},t.prototype.request=function(t,e){return p(this,void 0,Promise,(function(){var r;return l(this,(function(n){switch(n.label){case 0:if(!this.req)throw new Error("forget init");return this.req.open(e?e.toUpperCase():"GET",t),this.req.send(),[4,this.resultPromise];case 1:return r=n.sent(),[2,r]}}))}))},t}(),X=0,z="try_detect_latest_ver";function q(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function $(t,e){var r="";return i.allowLog()&&(e&&(X+=1,r="_".concat(X)),console.time("".concat(t).concat(r))),r}function Q(t,e){i.allowLog()&&console.timeEnd("".concat(t).concat(e||""))}function Z(t,e){return p(this,void 0,void 0,(function(){var r,n,o,a,c;return l(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,rt("".concat(e,"/").concat(t,"@latest/").concat(z,"_").concat(Date.now()))];case 1:return r=s.sent().url,n=r.split("@"),o=n[n.length-1],a=o.split("/")[0],[2,a];case 2:return c=s.sent(),i.log("[[ getSemverLatestVer ]] returns ver(latest) due to error:",c.message),[2,"latest"];case 3:return[2]}}))}))}function tt(t,e){return p(this,void 0,void 0,(function(){var r,n,o,a,c;return l(this,(function(s){switch(s.label){case 0:return[4,i.getGlobalThis().fetch(t)];case 1:return r=s.sent(),n=r.status,o=r.url,[200,304].includes(n)?e?[4,r.json()]:[3,3]:[2,{url:o,reply:null,status:n}];case 2:return a=s.sent(),[2,{url:o,reply:a,status:n}];case 3:return[4,r.text()];case 4:return c=s.sent(),[2,{url:o,reply:c,status:n}]}}))}))}function et(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a;return l(this,(function(c){switch(c.label){case 0:return[4,W(t,{method:"GET",responseType:e?"json":"text"})];case 1:return r=c.sent(),n=r.status,o=r.data,i=r.url,a=void 0===i?"":i,400===n?[2,{url:a,reply:null,status:n}]:[2,{url:a,reply:o,status:n}]}}))}))}function rt(t,e){return void 0===e&&(e=!0),p(this,void 0,void 0,(function(){var r,n;return l(this,(function(o){switch(o.label){case 0:return r=et,i.getGlobalThis().fetch&&(r=tt),[4,r(t,e)];case 1:return n=o.sent(),[2,n]}}))}))}function nt(t){var e=t.extraCssList,r=void 0===e?[]:e,n=t.custom;if(n){var o=n.extraCssList,a=void 0===o?[]:o,c=n.enable,s=void 0===c||c;if(s){var u=i.commonUtil.merge2List(r,a);return u}}return r.slice()}var ot=i.commonUtil.safeParse,it={handleSemverRet:function(t,e){var r,n=t||{},o=n.data||n;return e.onlyVersion&&(r=n.version||n.data,o=r),r=r||o.version,!e.isFullVersion&&r&&Reflect.deleteProperty(r,"html_content"),r?{data:o,code:"0",msg:""}:{data:null,code:"404",msg:"no version found"}},appendSearchKV:function(t,e,r){var n=t;return r&&(n+="&".concat(e,"=").concat(r)),n},appendSuffix:function(t,e){var r=t;return e&&(r+=e),r},getSemverApiVal:function(t){var e=t.semverApi;return void 0===e&&(e=!t.customMetaUrl&&!t.customMetaJsonpUrl),e}};function at(t,e){return p(this,void 0,Promise,(function(){var r,n,o,i,a,c,s;return l(this,(function(u){switch(u.label){case 0:r=null,n=e.semverApi,o=void 0===n||n,i=o?P:e.apiMode,a="request ".concat(t),$(a),u.label=1;case 1:return u.trys.push([1,6,,7]),i!==P?[3,3]:[4,rt(t)];case 2:return c=u.sent(),r=c.reply,[3,5];case 3:return[4,K(t)];case 4:r=u.sent(),u.label=5;case 5:return Q(a),o?[2,it.handleSemverRet(r,e)]:[2,r];case 6:return s=u.sent(),Q(a),[2,{data:null,code:"404",msg:s.message}];case 7:return[2]}}))}))}function ct(t){var e=u({},t);return e.additional_scripts=ot(e.additional_scripts,[]),e.additional_body_scripts=ot(e.additional_body_scripts,[]),e}function st(t){var e=u({},t);return e.src_map=ot(e.src_map,{htmlIndexSrc:"",webDirPath:"",headAssetList:[],bodyAssetList:[],chunkJsSrcList:[],chunkCssSrcList:[],staticJsSrcList:[],staticCssSrcList:[],relativeJsSrcList:[],relativeCssSrcList:[],otherSrcList:[]}),e}function ut(t,e,r,n){return void 0===n&&(n=!1),p(this,void 0,void 0,(function(){var o;return l(this,(function(i){switch(i.label){case 0:return o=r,o?[3,3]:n?(o="latest",[3,3]):[3,1];case 1:return[4,Z(e,t)];case 2:o=i.sent(),i.label=3;case 3:return[2,"".concat(t,"/").concat(e,"@").concat(o,"/hel_dist/hel-meta.json?_t=").concat(Date.now())]}}))}))}function ft(t,e){var r=e.versionId,n=e.projectId,o=e.branchId,a=e.apiMode,c=e.isFullVersion,s=void 0!==c&&c,u=e.versionIdList,f=void 0===u?[]:u,p=e.projectIdList,l=void 0===p?[]:p,d=e.branchIdList,v=void 0===d?[]:d,h=e.loadOptions,m=void 0===h?{}:h,g=S(e.platform),b=t,y=b,A=r,_=n,E=o,w=!1;Array.isArray(t)&&(b=t[0],y=t.join(","),A=f.join(","),_=l.join(","),E=v.join(","),w=!0);var L=function(t,e){return k(g,t,[m[t],e])},I=function(t,e){return F(g,t,e,m[t])},T=L("userLsKey",i.helConsts.DEFAULT_USER_LS_KEY),x=I("getUserName",{platform:g,appName:b,userLsKey:T}),O=I("shouldUseGray",{appName:b}),C=L("apiSuffix"),D="";"boolean"===typeof O&&(D=O?"1":"0");var M=a!==P,V="",j="",U=!1;if(w)j=s?N.BATCH_GET_APP_AND_FULL_VER:N.BATCH_GET_APP_AND_VER;else{var G=L("customMetaUrl",""),H=L("customMetaJsonpUrl","");G?V=A?"".concat(G,"/").concat(b,"@").concat(A,"?"):"".concat(G,"/").concat(b,"?"):M&&H&&(V=A?"".concat(H,"/").concat(b,"@").concat(A,"?"):"".concat(H,"/").concat(b,"?")),V?U=!0:j=s?N.GET_APP_AND_FULL_VER:N.GET_APP_AND_VER}if(!U){var K=L("apiPathOfApp",i.helConsts.DEFAULT_API_URL),Y=B(g,m),W=M?R:"",J="".concat(j).concat(W);V="".concat(Y).concat(K,"/").concat(J,"?name=").concat(y),V=it.appendSearchKV(V,"version",A)}return V=it.appendSearchKV(V,"userName",x),V=it.appendSearchKV(V,"projId",_),V=it.appendSearchKV(V,"branch",E),V=it.appendSearchKV(V,"gray",D),V=it.appendSuffix(V,C),V.endsWith("?")&&(V=V.substring(0,V.length-1)),{url:V,userName:x}}function pt(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a;return l(this,(function(c){switch(c.label){case 0:return r=e.versionId,n=e.platform,o=e.loadOptions,i=B(n,o),[4,ut(i,t,r||"",null===o||void 0===o?void 0:o.skip404Sniff)];case 1:return a=c.sent(),[2,a]}}))}))}function lt(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a,c;return l(this,(function(s){switch(s.label){case 0:return r=e.loadOptions,n=void 0===r?{}:r,o="",i="",a=it.getSemverApiVal(n),a?[4,pt(t,e)]:[3,2];case 1:return i=s.sent(),[3,3];case 2:c=ft(t,e),i=c.url,o=c.userName,s.label=3;case 3:return[2,{url:i,userName:o}]}}))}))}function dt(t,e){return p(this,void 0,void 0,(function(){var r,n,o,a,c,s,u,f,p,d,v,h,m,g,b,y,A,_,E,w;return l(this,(function(l){switch(l.label){case 0:return r=e.apiMode,n=e.appName,o=e.isFullVersion,a=void 0!==o&&o,c=e.semverApi,s=e.customMetaUrl,u=e.apiPrefix,f=void 0===u?"":u,p=e.getUrl,d=S(e.platform),v=f||k(d,"apiPrefix"),h=k(d,"apiSuffix"),m=k(d,"apiPathOfApp"),g=k(d,"apiPathOfAppVersion"),b="",y=!!s,y?(b="".concat(s,"/").concat(n).concat(t?"@".concat(t):""),[3,4]):[3,1];case 1:return c?[4,ut(v,n,t)]:[3,3];case 2:return b=l.sent(),[3,4];case 3:A=r===P?"":R,_=a?N.GET_APP_FULL_VER:N.GET_APP_VER,E="".concat(_).concat(A),w=g||m||i.helConsts.DEFAULT_API_URL,b="".concat(v).concat(w,"/").concat(E,"?ver=").concat(t),b=it.appendSearchKV(b,"name",n),b=it.appendSuffix(b,h),l.label=4;case 4:return b=(null===p||void 0===p?void 0:p(b))||b,[2,b]}}))}))}function vt(t,e){var r=e;if(q(r,"app")&&q(r,"version")&&(r={code:0,data:{app:r.app,version:r.version}}),!r||0!==Number(r.code))throw new Error((null===r||void 0===r?void 0:r.msg)||"getSubAppAndItsVersion err`");var n=r.data||{},o=n.app,i=n.version;if(!o)throw new Error("no app for ".concat(t));if(!i)throw new Error("no version for ".concat(t));return{app:ct(o),version:st(i)}}function ht(t,e){return p(this,void 0,void 0,(function(){var r,n,o,a,c,s,u,f,d,v,h,m,g,b,y,A,_,E,S,w,L=this;return l(this,(function(I){switch(I.label){case 0:return r=e.versionId,n=e.branchId,o=e.projectId,a=e.platform,c=e.apiMode,s=e.loadOptions,u=void 0===s?{}:s,f="getSubAppAndItsVersionFn",d="getMeta",v=d,h=j(a,d,u.getMeta),h||(h=j(a,f,u.getSubAppAndItsVersionFn),v=f),[4,lt(t,e)];case 1:return m=I.sent(),g=m.url,b=m.userName,y=function(e,r){return p(L,void 0,void 0,(function(){var n,o,i,a;return l(this,(function(s){switch(s.label){case 0:return n=e||g,o=it.getSemverApiVal(u),[4,at(n,{apiMode:r||c,semverApi:o})];case 1:return i=s.sent(),a=vt(t,i),[2,a]}}))}))},h?(A=F(a,"shouldUseGray",{appName:t},u.shouldUseGray),_={platform:a,appName:t,userName:b,versionId:r,branchId:n,projectId:o,url:g,needGrayVer:A,innerRequest:y},i.log("[[ ".concat(v," ]] fnParams:"),_),[4,Promise.resolve(h(_))]):[3,3];case 2:return E=I.sent(),S=vt(t,E),[2,S];case 3:return[4,y()];case 4:return w=I.sent(),[2,w]}}))}))}function mt(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a,c,s,u,f,p,d,v;return l(this,(function(l){switch(l.label){case 0:return r=e.apiMode,n=e.isFullVersion,o=void 0!==n&&n,i=e.semverApi,a=e.customMetaUrl,[4,dt(t,e)];case 1:return c=l.sent(),s=!a&&i,[4,at(c,{apiMode:r,isFullVersion:o,semverApi:s,onlyVersion:!0})];case 2:if(u=l.sent(),f=u.data,p=u.code,d=u.msg,0!==parseInt(p,10)||!f)throw new Error(d||"ver not found");return v=st(f),[2,v]}}))}))}function gt(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a,c,s,u,f=this;return l(this,(function(d){switch(d.label){case 0:return t.length?(r=e.apiMode,n=e.batchGetFn,o=e.semverApi,i=S(e.platform),[4,ft(t,e)]):[2,[]];case 1:return a=d.sent().url,c=function(){return p(f,void 0,void 0,(function(){var t,e,n,i,c;return l(this,(function(s){switch(s.label){case 0:return[4,at(a,{apiMode:r,semverApi:o})];case 1:if(t=s.sent(),e=t.data,n=t.code,i=t.msg,0!==parseInt(n,10)||!e)throw new Error(i||"batch get failed");return c=e.map((function(t){return{app:ct(t.app),version:st(t.version)}})),[2,c]}}))}))},s=[],n?(u={url:a,platform:i,innerRequest:c},[4,Promise.resolve(n(u))]):[3,3];case 2:return s=d.sent(),[3,5];case 3:return[4,c()];case 4:s=d.sent(),d.label=5;case 5:return[2,s]}}))}))}var bt=i.commonUtil.noop,yt=i.commonUtil.okeys;function At(){var t=i.getGlobalThis();t.__HEL_LOAD_ASSETS_FLAG__=1}function _t(t){var e;try{var r=null===(e=i.getGlobalThis())||void 0===e?void 0:e.document,n=r.querySelector(t);return!!n}catch(o){return!1}}function Et(t,e){var r=t["data-helex"]||"",n=t["data-helappend"],o=i.getGlobalThis();if("0"===n)return!1;if(r){var a=r.split(",");if("script"===e&&a.every((function(t){return!!o[t]})))return!1;var c=_t("".concat(e,'[data-helex="').concat(r,'"]'));return!c}return!0}function St(t,e,r){var n=i.getGlobalThis().document;yt(e).forEach((function(r){return t.setAttribute(r,e[r])})),r?n.body.appendChild(t):n.head.appendChild(t)}function wt(t,e){""===t.textContent?t.textContent=e:t.innerText=e}function Lt(t){var e=t.attrs,r=t.innerText,n=t.appendToBody,o=void 0===n||n,a=t.onloadCb,c=void 0===a?bt:a,s=t.onerrorCb,u=void 0===s?bt:s,p=e.src,l=f(e,["src"]),d=l,v=function(t){return c(t),t};if(!p&&!r)return v(!1);var h=i.getGlobalThis().document;if(p&&_t('script[src="'.concat(p,'"]')))return v(!1);if(!Et(d,"script"))return v(!1);var m=h.createElement("script");return p&&m.setAttribute("src",p),yt(d).forEach((function(t){return m.setAttribute(t,d[t])})),m.onload=c,m.onerror=u,r&&wt(m,r),St(m,d,o),!0}function It(t){var e=t.appendToBody,r=void 0!==e&&e,n=t.innerText,o=t.attrs,a=o.href,c=o.rel,s=f(o,["href","rel"]),u=s,p=i.getGlobalThis().document;if(a||n){if(!Et(u,"link"))return!1;var l=p.createElement("link");a?(l.setAttribute("href",a),l.setAttribute("rel",c||"stylesheet")):c&&l.setAttribute("rel",c),n&&(l.innerText=n),St(l,u,r)}}function Tt(t){var e=t.appendToBody,r=void 0!==e&&e,n=t.innerText,o=void 0===n?"":n,a=t.attrs,c=i.getGlobalThis().document,s=c.createElement("style");s.innerText=o,St(s,a,r)}function xt(t){return["link","staticLink","relativeLink"].includes(t.tag)}function Ot(t,e){return bt(e),["script","staticScript","relativeScript"].includes(t)}function Ct(t){return"staticScript"===t}function Nt(t,e){var r=t.attrs,n=t.innerText,o=void 0===n?"":n,i=e.appendToBody,a=e.appendCss,c=e.webDirPath,s=e.cssAppendTypes,u=e.excludeCssList,f={appendToBody:i,attrs:r,innerText:o},p=r.href;p.endsWith(".ico")&&!0!==t.append||(p.endsWith(".css")?a&&s.includes(y(c,p))&&!u.includes(p)&&It(f):It(f))}function Pt(t,e){var r=e.appendToBody;t.forEach((function(t){var n=t.tag,o=t.attrs,i=t.append,a=void 0===i||i,c=t.innerText,s=void 0===c?"":c;a&&(xt(t)?Nt(t,e):Ot(n,o)?Lt({appendToBody:r,attrs:o,innerText:s}):"style"===n&&Tt({appendToBody:r,attrs:o,innerText:s}))}))}function Rt(t,e){return p(this,void 0,void 0,(function(){var r,n;return l(this,(function(o){switch(o.label){case 0:return r=e.appendToBody,n=function(t){return new Promise((function(n,o){var i=t.tag,a=t.attrs,c=t.append,s=void 0===c||c,u=t.innerText,f=void 0===u?"":u;if(!s)return n(!0);if(xt(t))return Nt(t,e),n(!0);if(Ot(i,a)){var p=function(){return n(!0)},l=function(t,e,r,n,i){console.error(t,e,r,n,i);var a=i instanceof Error?i:new Error(String(t));o(a)};return Lt({appendToBody:r,attrs:a,innerText:f,onloadCb:p,onerrorCb:l})}n(!0)}))},[4,Promise.all(t.map(n))];case 1:return o.sent(),[2]}}))}))}function Dt(t){var e=t.assetUrlList,r=t.appendCss,n=t.excludeCssList,o=t.appendToBody;if(e)for(var i=0,a=e;i<a.length;i++){var c=a[i];c.endsWith(".css")?r&&!n.includes(c)&&It({appendToBody:o,attrs:{href:c}}):Lt({appendToBody:o,attrs:{src:c}})}}function Mt(t,e,r){return p(this,void 0,void 0,(function(){var n,o,a,c,s,u,f,p,d,v,h,m,g,b,y,A,_,E,S,w,L,I,T,x,O,C,N,P,R,D;return l(this,(function(l){switch(l.label){case 0:return At(),n=t.additional_scripts,o=void 0===n?[]:n,a=t.additional_body_scripts,c=void 0===a?[]:a,s=e.src_map,u=s.headAssetList,f=void 0===u?[]:u,p=s.bodyAssetList,d=void 0===p?[]:p,v=s.webDirPath,h=s.chunkCssSrcList,m=void 0===h?[]:h,g=r.useAdditionalScript,b=void 0!==g&&g,y=r.appendCss,A=void 0===y||y,_=r.cssAppendTypes,E=void 0===_?["build","static","relative"]:_,S=r.getExcludeCssList,w=nt(r),L=i.commonUtil.merge2List(w,m),I=(null===S||void 0===S?void 0:S(L,{version:e}))||[],T={excludeCssList:I,webDirPath:v,appendCss:A,cssAppendTypes:E,appendToBody:!1},x={excludeCssList:I,webDirPath:v,appendCss:A,cssAppendTypes:E,appendToBody:!0},b?(O=function(t){return t.endsWith(".css")?{tag:"staticLink",attrs:{href:t}}:{tag:"staticScript",attrs:{src:t}}},C=o.map(O),N=c.map(O),[4,Rt(C,T)]):[3,3];case 1:return l.sent(),[4,Rt(N,x)];case 2:l.sent(),l.label=3;case 3:return w.length&&Dt({assetUrlList:w,excludeCssList:I,appendToBody:!1}),P=[],R=[],D=[],f.forEach((function(t){Ct(t.tag)?P.push(t):R.push(t)})),d.forEach((function(t){Ct(t.tag)?P.push(t):D.push(t)})),P.length?[4,Rt(P,T)]:[3,5];case 4:return l.sent(),Pt(R,T),Pt(D,x),[2];case 5:return Pt(R,T),Pt(D,x),[2]}}))}))}var Vt={SHADOW:!0,SET_STYLE_AS_STRING:!0,ENABLE_DISK_CACHE:!1,ENABLE_DISK_CACHE_FOR_ERR:!0,ENABLE_SYNC_META:!0,STORAGE_TYPE:"localStorage",ENABLE_APPEND_CSS:!0,API_MODE:"get",EXTRA_DATA_PREFIX:"HelExtraData"},jt="[[ isEmitVerMatchInputVer ]]";function Ft(t,e){var r,n=e.branchId,o=e.platform,a=e.emitVer,c=e.inputVer,s=e.projectId,u=k(o,"strictMatchVer",[e.strictMatchVer]),f=i.getAppMeta(t,o);if(!1===u)return i.log("".concat(jt," set strictMatchVer false for app (").concat(t,"), trust emitVer (").concat(a,") is the target version")),!0;if(!a)return i.log("".concat(jt," emitVer should not be null")),!0;if(!c&&f){if(n)return i.log("".concat(jt," found branchId ").concat(n)),!0;var p=f.online_version,l=f.build_version;if(s){var d=(null===(r=f.proj_ver)||void 0===r?void 0:r.map)||{},v=d[s];if(v)return a===v.b||a===l||a===v.o}return a===p||a===l}return a===c}function kt(t){var e=i.getGlobalThis();i.commonUtil.isServer()||e.HelMicro||(i.log("auto bind hel-micro to global.HelMicro"),e.HelMicro=t)}var Ut=i.helConsts.DEFAULT_ONLINE_VER,Bt="http://localhost",Gt="http://127.0.0.1",Ht=["script","link","style"];function Kt(t){var e=i.getGlobalThis().DOMParser,r=(new e).parseFromString(t,"text/html"),n=[],o=function(t,e,r){t.querySelectorAll(r).forEach((function(t){var o=t.getAttributeNames(),i={};o.forEach((function(e){var r=t.getAttribute(e);null!==r&&(i[e]=r)})),n.push({head:e,tag:r,attrs:i,innerText:t.innerText})}))};return Ht.forEach((function(t){return o(r.head,!0,t)})),Ht.forEach((function(t){return o(r.body,!1,t)})),n}var Yt={isSrcMatchHost:function(t,e){return e.startsWith(Bt)||e.startsWith(Gt)?t.startsWith(Bt)||t.startsWith(Gt):t.startsWith(e)},parseHtml:function(t){if(i.getGlobalThis().DOMParser)return Kt(t);var e=!0,r=[],n=function(t){return Ht.includes(t)};return a.parseHtml(t,{onTagOpen:function(t){n(t)&&r.push({tag:t,attrs:{},innerText:"",head:e})},onTagClose:function(t,o){if("head"===t&&(e=!1),n(t)){var i=r[r.length-1];if(i){var a=o.children[0]||"";"string"===typeof a&&(i.innerText=a),i.attrs=o.attrs}}}}),r},convertToAssetList:function(t,e){var r=[],n=[],o=[],i=[],a=[],c=[];return t.forEach((function(t){var s=t.head,u=t.attrs,f=t.innerText,p=t.tag,l=s?r:n,d=u.src,v=u.href,h=u["data-helex"],m=u.rel,g=E(u,"data-helappend","1");if("style"===p)l.push({tag:p,attrs:u,innerText:f,append:!0});else{var y=d||v||"",A=y.endsWith(".css"),_="link"===p;if(!y)return;var S=!0,w=Yt.isSrcMatchHost(y,e);"icon"!==m&&(w||"1"===g||h)||(S=!1);var L=p;w||(b(y)?(L=_?"relativeLink":"relativeScript",A?a.push(y):c.push(y)):(L=_?"staticLink":"staticScript",A?o.push(y):i.push(y)));var I={tag:L,attrs:u,innerText:f,append:S};l.push(I)}})),{headAssetList:r,bodyAssetList:n,staticCssSrcList:o,staticJsSrcList:i,relativeCssSrcList:a,relativeJsSrcList:c}},getChunkList:function(t){var e=[],r=[];return t.forEach((function(t){var n=t.attrs,o=n.href,i=n.src,a=o||i||"";a&&(a.endsWith(".css")?e.push(a):r.push(a))})),{chunkCssSrcList:e,chunkJsSrcList:r}},extactHelMeta:function(t){var e=t.code,r=t.data,n=t.msg;if(e&&r){if("0"!==e)throw new Error(n||"server error occurred");return r}return t},getHelMeta:function(t,e,r){return p(this,void 0,void 0,(function(){var n,o,a,c;return l(this,(function(s){switch(s.label){case 0:n=function(r){return void 0===r&&(r=""),"fetch ".concat(t," helmeta by url ").concat(e," failed in custom mode! ").concat(r)},s.label=1;case 1:return s.trys.push([1,3,,4]),[4,rt(e)];case 2:if(o=s.sent().reply,a=Yt.extactHelMeta(o),a&&a.app&&a.version)return a.app.__fromCust=!0,[2,a];if(r)throw new Error(n());return i.log("[[ getCustomMeta ]] 404 is a expected behavior for custom mode, user can ignore it"),[2,null];case 3:if(c=s.sent(),r)throw new Error(n(c.messgae));return i.commonUtil.noop("json parse fail or other error"),[3,4];case 4:return[2]}}))}))}};function Wt(t){if(t){var e=t.enable,r=void 0===e||e,n=t.host;return!(!n||!r)}return!1}function Jt(t,e){return p(this,void 0,Promise,(function(){var r,n,o,i,a,c,s,p,d,v,h,m,g,b,y,A,_,E,S,w,L,I;return l(this,(function(l){switch(l.label){case 0:return r=e.host,n=e.appGroupName,o=e.skipFetchHelMeta,i=void 0!==o&&o,a=e.isApiUrl,c=e.parseHtml,s=e.attachHostSuffix,p=void 0===s||s,d=Date.now(),a?[4,Yt.getHelMeta(t,r,!0)]:[3,2];case 1:return h=l.sent(),[2,h];case 2:return i?[3,4]:(v=r.endsWith("hel-meta.json")?r:"".concat(r,"/hel-meta.json?_t=").concat(d),[4,Yt.getHelMeta(t,v)]);case 3:if(h=l.sent(),h)return[2,h];l.label=4;case 4:m="",l.label=5;case 5:return l.trys.push([5,7,,8]),g=p?"".concat(r,"/index.html?_t=").concat(d):r,[4,rt(g,!1)];case 6:if(b=l.sent(),m=b.reply||"",![200,304].includes(b.status))throw new Error("status ".concat(b.status));return[3,8];case 7:throw y=l.sent(),new Error("".concat(y.message," from ").concat(r));case 8:return A=c||Yt.parseHtml,_=A(m),E=Yt.convertToAssetList(_,r),S=E.headAssetList,w=E.bodyAssetList,L=f(E,["headAssetList","bodyAssetList"]),I=Yt.getChunkList(S.concat(w)),[2,{app:{__fromCust:!0,name:t,app_group_name:n||t,online_version:Ut,build_version:Ut},version:{sub_app_name:t,sub_app_version:Ut,src_map:u(u({webDirPath:r,headAssetList:S,bodyAssetList:w},I),L)}}]}}))}))}var Xt=i.commonUtil,zt=i.helConsts,qt=i.log,$t=zt.KEY_ASSET_CTX,Qt={recordAssetCtx:function(t,e,r){var n=t.name,o=t.app_group_name,a=e.src_map,c=e.version_tag||e.sub_app_version,s=a.chunkCssSrcList,u=void 0===s?[]:s,f=a.chunkJsSrcList,p=void 0===f?[]:f,l=U(r,"beforeAppendAssetNode"),d=u.concat(p),v=r.platform;d.forEach((function(t){var e=i.getCommonData($t,t)||{};e.marked||(Object.assign(e,{marked:!0,platform:v,groupName:o,name:n,ver:c,beforeAppend:l}),i.setCommonData($t,t,e))}))},tryTriggerOnFetchMetaSuccess:function(t,e,r){var n=r.loadOptions,o=r.fromFallback,i=U(n,"onFetchMetaSuccess");null===i||void 0===i||i({app:t,version:e,fromFallback:o})}};function Zt(t){var e=j(t.platform,"onFetchMetaFailed",t.onFetchMetaFailed),r=U(t,"onFetchMetaFailed");return r||e}function te(t,e){var r=i.getPlatformConfig(t).apiMode;return e||r}function ee(t,e){var r=S(t),n=te(r,e);return{platform:r,apiMode:n}}function re(t,e,r){return p(this,void 0,void 0,(function(){var n,o;return l(this,(function(i){switch(i.label){case 0:return n=A(),o=x(t,e,r),n?[4,n.removeItem(o)]:[3,2];case 1:i.sent(),i.label=2;case 2:return _().removeItem(o),[2]}}))}))}function ne(t,e,r){return p(this,void 0,void 0,(function(){var n,o,a,c,s,u,f,d,v,h,m,g,b,y,A,_,E,S,w,L,I,T,x,C,N,P,R,D,M,V,j,F,k,U,B,G=this;return l(this,(function(H){switch(H.label){case 0:return n=e.enableDiskCache,o=void 0===n?Vt.ENABLE_DISK_CACHE:n,a=e.enableSyncMeta,c=void 0===a?Vt.ENABLE_SYNC_META:a,s=e.versionId,u=void 0===s?"":s,f=e.projectId,d=void 0===f?"":f,v=e.branchId,h=e.isFullVersion,m=void 0!==h&&h,g=e.custom,b=e.strictMatchVer,y=e.semverApi,A=(r||{}).callRemote,_=void 0===A||A,E=ee(e.platform,e.apiMode),S=E.platform,w=E.apiMode,Wt(g)?[4,Jt(t,g)]:[3,2];case 1:return L=H.sent(),I=L.app,T=L.version,ae(I,{appVersion:T,platform:S,toDisk:!1,loadOptions:e}),i.setAppPlatform(I.app_group_name,S),i.setAppPlatformByAppName(t,S),[2,{appInfo:I,appVersion:T}];case 2:return x=i.getAppMeta(t,S),C=i.getVersion(t,{platform:S,versionId:u}),N=!y&&!v,N&&x&&C&&(P=C.version_tag||C.sub_app_version,Ft(t,{platform:S,projectId:d,emitVer:P,inputVer:u,strictMatchVer:b}))?[2,{appInfo:x,appVersion:C}]:(R={platform:S,apiMode:w,versionId:u,projectId:d,branchId:v,isFullVersion:m,loadOptions:e},D=null,M=function(e){return p(G,void 0,void 0,(function(){var r;return l(this,(function(n){switch(n.label){case 0:return e?[4,ce(t,R)]:[3,2];case 1:return r=n.sent(),[2,r];case 2:return[2,null]}}))}))},o?[4,O(t,e)]:[3,9]);case 3:return D=H.sent(),D?[3,5]:(qt("[[ getAppFromRemoteOrLocal ]] get meta from disk but failed!"),[4,M(_)]);case 4:return D=H.sent(),[3,8];case 5:return V=D.appInfo,j=D.appVersion,qt("[[ getAppFromRemoteOrLocal ]] disk meta:",D),F=j.version_tag||j.sub_app_version,u&&F!==u?[4,M(_)]:[3,7];case 6:return D=H.sent(),qt("[[ getAppFromRemoteOrLocal ]] remote meta:",D),[3,8];case 7:ae(V,{appVersion:j,platform:S,toDisk:!1,loadOptions:e}),M(c).catch((function(t){return Xt.noop(t)})),H.label=8;case 8:return[3,11];case 9:return[4,M(_)];case 10:D=H.sent(),H.label=11;case 11:return D&&(k=D.appInfo,U=k.app_group_name,B=k.name,i.setAppPlatform(U,S),i.setAppPlatformByAppName(B,S)),[2,D]}}))}))}function oe(t,e){return p(this,void 0,Promise,(function(){var r,n,o,i,a,c;return l(this,(function(s){switch(s.label){case 0:r=e.isFirstCall,n=void 0===r||r,o=e.enableDiskCacheForErr,i=void 0===o?Vt.ENABLE_DISK_CACHE_FOR_ERR:o,s.label=1;case 1:return s.trys.push([1,3,,6]),[4,ne(t,e)];case 2:return c=s.sent(),[2,{data:c,err:""}];case 3:if(a=s.sent(),n)throw a;return Zt(e)?[2,{data:null,err:a.message}]:(c=null,i?[4,O(t,e)]:[3,5]);case 4:if(c=s.sent(),!c)throw a;Xt.nbalert("\n [Dev mode alert err only]: ".concat(a.message,", hel-micro will try use cached data to keep your app works well,\n please check your network if this behavior is not as you expected! you can also set enableDiskCacheForErr = false\n to skip reusing cached data.\n ")),s.label=5;case 5:return[2,{data:c,err:a}];case 6:return[2]}}))}))}function ie(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a,c,s;return l(this,(function(f){switch(f.label){case 0:return r=ee(e.platform,e.apiMode),n=r.platform,o=r.apiMode,i=u(u({},e),{platform:n,apiMode:o}),[4,ht(t,i)];case 1:if(a=f.sent(),c=a.app,s=a.version,qt("[[ getAppAndVersion ]] result:",{app:c,version:s}),!s)throw new Error("no version found or builded");return[2,{appInfo:c,appVersion:s}]}}))}))}function ae(t,e){var r=e.appVersion,n=e.platform,o=e.toDisk,a=void 0===o||o,c=e.loadOptions;if(t&&r){var s=t,f=s.name;if(a){var p=x(f,c.getCacheKey),l={app:t,version:r};C(p,l,c.storageType)}if(c.semverApi){var d=i.getAppMeta(f,n);!0!==(null===d||void 0===d?void 0:d.__setByLatest)&&(s=c.versionId?s:u(u({},s),{__setByLatest:!0}),i.setAppMeta(s,n))}else i.setAppMeta(t,n);i.setVersion(f,r,{platform:n});var v=nt(c),h=r.version_tag||r.sub_app_version;i.setVerExtraCssList(f,v,{platform:n,versionId:h})}}function ce(t,e){return p(this,void 0,void 0,(function(){var r,n,o,i,a;return l(this,(function(c){switch(c.label){case 0:return r=e.platform,n=e.loadOptions,[4,ie(t,e)];case 1:return o=c.sent(),i=o.appInfo,a=o.appVersion,ae(i,{appVersion:a,platform:r,loadOptions:n}),[2,o]}}))}))}function se(t,e){return void 0===e&&(e={}),p(this,void 0,Promise,(function(){var r,n,o,i,a,c,s,f,d,v,h,m,g,b,y,A,_,E,w,L,I=this;return l(this,(function(T){switch(T.label){case 0:r=e.isFirstCall,n=void 0===r||r,o=e.controlLoadAssets,i=void 0!==o&&o,a=e.platform,c=e.versionId,s=void 0===c?"":c,T.label=1;case 1:return T.trys.push([1,6,,9]),[4,oe(t,e)];case 2:return f=T.sent(),d=f.data,v=f.err,h=d||{},m=h.appInfo,g=h.appVersion,b=!m||!g,y=!1,!b||n?[3,4]:(A=Zt(e),A?[4,Promise.resolve(A({platform:a,appName:t,versionId:s}))]:[3,4]);case 3:_=T.sent(),_&&(m=_.app,g=_.version,y=!0,ae(m,{appVersion:g,platform:S(a),toDisk:!1,loadOptions:e})),T.label=4;case 4:if(!m)throw new Error(v||"app[".concat(t,"] not exist"));if(!g)throw new Error(v||"app[".concat(t,"]'s version[").concat(s,"] not exist"));return Qt.tryTriggerOnFetchMetaSuccess(m,g,{loadOptions:e,fromFallback:y}),Qt.recordAssetCtx(m,g,e),E=function(){return p(I,void 0,void 0,(function(){return l(this,(function(t){switch(t.label){case 0:return[4,Mt(m,g,e)];case 1:return t.sent(),[2]}}))}))},i?[2,E]:[4,E()];case 5:return T.sent(),[2,null];case 6:return w=T.sent(),n?(console.error("loadApp err and try one more time: ",w),[4,se(t,u(u({},e),{isFirstCall:!1}))]):[3,8];case 7:return L=T.sent(),[2,L];case 8:throw new Error("loadApp [".concat(t,"] err (").concat(w.message,"), recommend config onFetchMetaFailed hook"));case 9:return[2]}}))}))}function ue(t,e){return p(this,void 0,Promise,(function(){var r;return l(this,(function(n){switch(n.label){case 0:return[4,mt(t,e)];case 1:return r=n.sent(),[2,r]}}))}))}function fe(t,e){return p(this,void 0,Promise,(function(){var r,n,o,a,c,s,u,f,p,d;return l(this,(function(l){switch(l.label){case 0:return r=e||{},n=r.versionId,o=r.projectId,a=r.branchId,c=r.platform,s=r.reuseCache,u=void 0===s||s,!u||n||o||a||(p=i.getAppMeta(t,c),d=i.getVersion(t,{platform:c}),p&&d&&(f={app:p,version:d})),f?[3,2]:[4,ht(t,e||{})];case 1:f=l.sent(),l.label=2;case 2:return[2,f]}}))}))}function pe(t,e){var r=e||{},n=r.versionId,o=r.platform,i=r.apiMode,a=void 0===i?P:i,c=r.protocol,s=void 0===c?"http":c,u=r.projectId,f=r.branchId,p=r.semverApi,l=void 0===p||p,d=ft(t,{platform:o,versionId:n,branchId:f,apiMode:a,projectId:u,semverApi:l}).url;return"http"===s&&(d=d.replace("https:","http:")),d}function le(t,e,r){return p(this,void 0,void 0,(function(){var n;return l(this,(function(o){switch(o.label){case 0:return Array.isArray(t)?(n=[],t.forEach((function(t){return n.push(re(t,e,r))})),[4,Promise.all(n)]):[3,2];case 1:return o.sent(),[3,4];case 2:return[4,re(t,e,r)];case 3:o.sent(),o.label=4;case 4:return[2]}}))}))}var de=Object.freeze({__proto__:null,getSubAppVersion:ue,getSubAppMeta:fe,getMetaDataUrl:pe,clearDiskCachedApp:le});function ve(t,e){var r=i.getVersion(t,e);return(null===r||void 0===r?void 0:r.src_map.webDirPath)||""}function he(t,e){var r=e||{},n=S(r.platform),o=r.versionId||"";if(!o){var a=i.getVersion(t,{platform:n});if(a)o=a.version_tag||a.sub_app_version;else{var c=i.getAppMeta(t,n);o=(null===c||void 0===c?void 0:c.online_version)||(null===c||void 0===c?void 0:c.build_version)||""}}return{platform:n,versionId:o}}function me(t,e){var r={static:[],build:[]},n=i.getVersion(t,e);if(n){var o=n.src_map,a=o.webDirPath,c=o.chunkCssSrcList;c.forEach((function(t){t.startsWith(a)?r.build.push(t):r.static.push(t)}))}return r}var ge=ve,be=Object.freeze({__proto__:null,getPlatAndVer:he,getGroupedStyleList:me,getWebDirPath:ge}),ye=i.helConsts.KEY_CSS_STR,Ae=i.helLoadStatus,_e=Ae.LOADED,Ee=Ae.LOADING,Se=Ae.NOT_LOAD,we=i.commonUtil.merge2List,Le=i.getHelEventBus(),Ie=i.helEvents.STYLE_STR_FETCHED,Te={isStyleStatusMatch:function(t,e,r){var n=he(t,r),o=n.platform,a=n.versionId,c=i.getVerStyleStrStatus(t,{platform:o,versionId:a});return c===e},getSelfCssList:function(t,e){var r=he(t,e),n=i.getVersion(t,r),o=i.getVerExtraCssList(t,r),a=[],c=[];if(n){var s=n.src_map||{},u=s.chunkCssSrcList,f=void 0===u?[]:u,p=s.headAssetList,l=void 0===p?[]:p,d=s.bodyAssetList,v=void 0===d?[]:d;a=f;var h=function(t){var e=[];return t.forEach((function(t){var r=t.append,n=void 0===r||r,o=t.attrs.href||"";o.endsWith(".css")&&n&&e.push(o)})),e},m=we(h(l),h(v));c=we(m,a)}return c=we(c,o),{buildCssList:a,initExtraCssList:o,appCssList:c}},fetchStyleStr:function(t){return p(this,void 0,void 0,(function(){var e,r,n,o,a,c,s;return l(this,(function(u){switch(u.label){case 0:e="",r=0,n=t.length,u.label=1;case 1:if(!(r<n))return[3,7];if(o=t[r],!o.endsWith(".css"))return[3,6];if(a=i.getCommonData(ye,o),a)return[3,5];u.label=2;case 2:return u.trys.push([2,4,,5]),[4,rt(o,!1)];case 3:return c=u.sent(),a=c.reply,i.setCommonData(ye,o,a),[3,5];case 4:return s=u.sent(),console.error(s),[3,5];case 5:e+=a,u.label=6;case 6:return r++,[3,1];case 7:return[2,e]}}))}))},waitStyleReady:function(t,e){return p(this,void 0,void 0,(function(){var r;return l(this,(function(n){switch(n.label){case 0:return r=null,[4,new Promise((function(n){r=function(r){var o=r.appName,i=r.platform,a=r.versionId,c=e.branchId,s=e.versionId,u=e.platform,f=e.strictMatchVer;o===t&&i===u&&Ft(t,{branchId:c,platform:u,emitVer:a,inputVer:s,strictMatchVer:f})&&n(!0)},Le.on(Ie,r)}))];case 1:return n.sent(),r&&Le.off(Ie,r),[2]}}))}))},computeStyleData:function(t,e){var r=he(t,e),n=Te.getSelfCssList(t,e),o=n.appCssList,a=n.buildCssList,c=n.initExtraCssList,s=e.extraCssList,u=void 0===s?[]:s,f=e.getExcludeCssList,p=we(o,u),l=(null===f||void 0===f?void 0:f(p,{version:i.getVersion(t,r)}))||[],d=!l.length&&!u.length,v=p;return l.length&&(v=p.filter((function(t){return!l.includes(t)}))),{validCssList:v,onlyUseAppCssList:d,buildCssList:a,initExtraCssList:c,appCssList:o}},fetchStyleData:function(t,e){return p(this,void 0,void 0,(function(){var r,n,o,a,c,s,f,p,d,v,h,m,g,b,y,A,_,E;return l(this,(function(l){switch(l.label){case 0:return r=he(t,e),n=e.extraStyleStr,o=void 0===n?"":n,a=e.cssListToStr,c=e.extraCssList,s=void 0===c?[]:c,f=e.strictMatchVer,p=e.branchId,d=Te.computeStyleData(t,e),v=d.validCssList,h=d.onlyUseAppCssList,m=d.buildCssList,g=d.initExtraCssList,b=d.appCssList,y={validCssList:v,buildCssList:m,initExtraCssList:g,appCssList:b,extraCssList:s,extraStyleStr:o,renderStyleStr:""},a?h?(A=i.getVerStyleStrStatus(t,r),_="",A!==Ee?[3,2]:[4,Te.waitStyleReady(t,u(u({},r),{strictMatchVer:f,branchId:p}))]):[3,6]:[2,y];case 1:return l.sent(),_=i.getAppStyleStr(t,r)||"",[3,5];case 2:return A!==Se?[3,4]:(i.setVerStyleStrStatus(t,Ee,r),[4,Te.fetchStyleStr(b)]);case 3:return _=l.sent(),i.setAppStyleStr(t,_,r),i.setVerStyleStrStatus(t,_e,r),Le.emit(Ie,u({appName:t},r)),[3,5];case 4:_=i.getAppStyleStr(t,r)||"",l.label=5;case 5:return y.renderStyleStr="".concat(_).concat(o),[3,8];case 6:return[4,Te.fetchStyleStr(v)];case 7:E=l.sent(),y.renderStyleStr="".concat(E).concat(o),l.label=8;case 8:return[2,y]}}))}))}};function xe(t,e){return p(this,void 0,Promise,(function(){var r;return l(this,(function(n){switch(n.label){case 0:return[4,Te.fetchStyleData(t,e||{})];case 1:return r=n.sent(),[2,r]}}))}))}function Oe(t,e){var r=he(t,e),n=i.getAppStyleStr(t,r);return n}function Ce(t,e){var r=Te.getSelfCssList(t,e||{});return r}function Ne(t){return p(this,void 0,void 0,(function(){var e;return l(this,(function(r){switch(r.label){case 0:return[4,Te.fetchStyleStr(t)];case 1:return e=r.sent(),[2,e]}}))}))}function Pe(t,e){return Te.isStyleStatusMatch(t,_e,e||{})}function Re(t){var e=i.getGlobalThis();if(e.document){var r=e.document.querySelectorAll('style[data-gname="'.concat(t,'"]'));r.forEach(i.commonUtil.disableNode)}}function De(t){var e=i.commonDataUtil.getStyleTagText(t);return e}function Me(t,e){var r=Ve(t,e),n=i.commonDataUtil.getIgnoreCssPrefixCssUrlList(r)||[];return n}function Ve(t,e){var r=(e||{}).custom||{},n="",o=r.host,i=r.enable,a=void 0===i||i;if(o&&a)if(o.endsWith(".json")||o.endsWith(".html")){var c=o.split("/"),s=c.length;c.splice(s-1,s),n=c.join("/")}else n=o;else n=ve(t,e);return n}var je=Object.freeze({__proto__:null,fetchAppStyleData:xe,getAppStyleStr:Oe,getAppCssList:Ce,fetchStyleByUrlList:Ne,isStyleFetched:Pe,disableStyleTags:Re,getStyleTagText:De,getIgnoredCssUrlList:Me,getSuitableCssPrefix:Ve});function Fe(t,e,r){var n=r.platform,o=i.getAppMeta(e,n);if(!o){var a=i.getAppMeta(t,n),c=i.getVersion(t,r);if(a&&c){i.setAppMeta(u(u({},a),{name:e,__addedByTrust:!0}),n),i.setVersion(e,u(u({},c),{sub_app_name:e,__addedByTrust:!0}),{platform:n});var s=i.getVerExtraCssList(t,r);i.setVerExtraCssList(e,s,r)}}}function ke(t,e,r){var n=r.platform,o=r.emitPlatform,a=r.versionId,c=r.emitVer,s=i.getVerLib(t,r);if(!s){Fe(t,e,r);var u=i.getVerLib(e,{platform:n,versionId:a});if(!u&&o&&(u=i.getVerLib(e,{platform:o,versionId:c,strictMatchVer:!1})),!u)throw new Error("seems plat ".concat(o," emit null lib for ").concat(e));return i.libReady(e,u,{platform:n,appName:t,versionId:a}),!1}return!0}function Ue(t,e,r){var n=r.platform,o=r.emitPlatform,a=r.versionId,c=r.emitVer,f=i.getVerApp(t,r);if(!f){Fe(t,e,r);var p=i.getVerApp(e,{platform:n,versionId:a});if(!p&&o&&(p=i.getVerApp(e,{platform:o,versionId:c,strictMatchVer:!1})),!p)throw new Error("seems plat ".concat(o," emit null app for ").concat(e));return s(u(u({},p),{platform:n,appGroupName:e,appName:t,versionId:a})),!1}return!0}function Be(t,e){var r=e.versionId,n=void 0===r?"":r,o=e.isLib,a=S(e.platform),c=k(a,"strictMatchVer",[e.strictMatchVer]),s=u(u({},e),{strictMatchVer:c}),f=t,p=e.custom;Wt(p)&&(f=p.appGroupName||t,s.strictMatchVer=!1);var l=i.getAppMeta(f,a);if(e.semverApi&&!n&&l&&!0!==l.__setByLatest)return null;if(o){var d=i.getVerLib(f,s),v={appName:f,appGroupName:(null===l||void 0===l?void 0:l.app_group_name)||"",platform:a,appProperties:d,isLib:!0,versionId:n,Comp:null,lifecycle:void 0};return d?v:null}var h=i.getVerApp(f,s);return h||null}function Ge(t,e,r){var n="[[ judgeAppReady ]]",o=e.versionId,a=void 0===o?"":o,c=e.projectId,s=e.appName,u=e.platform,f=e.next,p=e.error,l=e.isLib,d=e.strictMatchVer;i.log("".concat(n," receive emit app and judge (emitAppInfo, judgeOptions):"),t,{inputVer:a,projectId:c,appName:s,platform:u,isLib:l,strictMatchVer:d});var v=S(u),h=t.appName,m=t.appGroupName,g=t.platform,b=void 0===g?v:g,y=t.versionId,A="".concat(u,"/").concat(s,"/").concat(a),_=i.getAppMeta(s,u),E=r.branchId,w=r.custom,L=r.trust,I=function(t){try{var e=l?ke(s,m,t):Ue(s,m,t);return e}catch(r){return p(r),!1}};if(w){var T=w.enable,x=void 0===T||T,O=w.host,C=w.appGroupName,N=w.trust,P=void 0!==N&&N,R=function(){return m&&(m===s||m===C)};if(x&&O){i.log("".concat(n," judge for custom:"),w);var D=function(t){i.log("".concat(n," custom conf ").concat(t?"":"mis","match current emit app!")),t&&f()};if(!P)return D(R());var M=I({versionId:a,platform:v,emitPlatform:b,emitVer:y});return D(M)}}if(!1===d&&m&&(null===_||void 0===_?void 0:_.app_group_name)===m&&v===b)return i.log("".concat(n," treat emitApp as wanted when strictMatchVer is false (appInfo):"),t),f();var V=function(){return i.log("".concat(n," still wait ").concat(A," to be emitted (emitAppInfo,toMatch):"),t,j)},j={branchId:E,platform:u,emitVer:y,inputVer:a,projectId:c,strictMatchVer:d};if(s!==h||!Ft(s,j))return V();var F=k(v,"trustAppNames",[null,[]],{emptyArrIsNull:!1});if(v!==b&&(L||F.includes(s))){M=I({versionId:a,platform:v,emitPlatform:b,emitVer:y});if(!M)return i.log("".concat(n," transfer ").concat(b," app [").concat(s,"] to ").concat(v," plat due to being in trustAppNames")),V()}f()}var He=Object.freeze({__proto__:null,getLibOrApp:Be,judgeAppReady:Ge});function Ke(t){var e=t.platform,r=f(t,["platform"]);i.initPlatformConfig(r,e)}function Ye(){return i.isSubApp()}function We(t){if(t&&!t.default)try{t.default=t}catch(e){}return t}function Je(t){var e=i.getGlobalThis();Object.keys(t).forEach((function(r){var n=t[r];n&&(e[r]=n)}))}function Xe(t){var e=We(t.React),r=We(t.ReactDOM),n=t.ReactIs||null,o=t.ReactReconciler||null,i={LEAH_React:e,LEAH_ReactDOM:r,LEAH_ReactIs:n,LEAH_ReactReconciler:o,React:e,ReactDOM:r,ReactIs:n,ReactReconciler:o};Je(i)}function ze(t){var e=We(t.Vue),r={LEAH_Vue:e,Vue:e};Je(r)}function qe(t){return"".concat(Vt.EXTRA_DATA_PREFIX,".").concat(t)}function $e(t,e){var r,n,o=null!==e&&void 0!==e&&e,a=null!==(n=null===(r=i.getGlobalThis().localStorage)||void 0===r?void 0:r.getItem(qe(t)))&&void 0!==n?n:null;return a?o?JSON.parse(a):a:null}function Qe(t,e,r){var n,o=null!==r&&void 0!==r&&r,a=o?JSON.stringify(e):e;null===(n=i.getGlobalThis().localStorage)||void 0===n||n.setItem(qe(t),a)}function Ze(t){var e;return"string"===typeof t?null===(e=i.getGlobalThis())||void 0===e?void 0:e.document.getElementById(t):t}function tr(t,e){return{name:t,platform:(null===e||void 0===e?void 0:e.platform)||i.getAppPlatform(t),versionId:(null===e||void 0===e?void 0:e.versionId)||"",getShadowAppRoot:Ze,getShadowBodyRoot:Ze}}var er=i.commonUtil.getObjsVal,rr=i.commonUtil.purify,nr=Vt.ENABLE_DISK_CACHE,or=Vt.ENABLE_SYNC_META,ir=Vt.STORAGE_TYPE,ar="preFetchLib",cr="preFetchApp",sr="preFetch";function ur(t,e){var r="string"===typeof e?{versionId:e}:u({},e||{});r.platform=S(r.platform),r.isLib=t;var n=r.platform;return r.strictMatchVer=k(n,"strictMatchVer",[r.strictMatchVer]),r.storageType=r.storageType||"indexedDB",r.semverApi=k(n,"semverApi",[r.semverApi]),r}function fr(t,e,r){if(r.shadow){if(!e)return;var n=Ve(t,r);i.commonDataUtil.setIgnoreCssPrefix(n),i.commonDataUtil.setIgnoreStyleTagKey(t),i.commonDataUtil.setIgnoreStyleTagKey(e),i.commonDataUtil.setIgnoreCssPrefixKey(n,e)}}function pr(t,e,r){return p(this,void 0,void 0,(function(){var n,o,a,c,s,u,f,p,d,v;return l(this,(function(l){switch(l.label){case 0:return n=i.getHelEventBus(),o=e.platform,a=e.isLib,c=void 0!==a&&a,s=e.versionId,u=e.projectId,f=e.strictMatchVer,p=c?i.helEvents.SUB_LIB_LOADED:i.helEvents.SUB_APP_LOADED,d=null,[4,new Promise((function(a,l){if(d=function(r){Ge(r,{appName:t,platform:o,versionId:s,projectId:u,isLib:c,next:a,error:l,strictMatchVer:f},e)},n.on(p,d),r){var v=i.getAppMeta(t,o);v&&fr(t,v.app_group_name,e),r().catch(l)}}))];case 1:return l.sent(),d&&n.off(p,d),v=Be(t,e),[2,v]}}))}))}function lr(t,e){return p(this,void 0,void 0,(function(){var r,n,o,a,c,s,f;return l(this,(function(p){switch(p.label){case 0:r=null,n=e.versionId,o=e.isLib,a=o?ar:cr,p.label=1;case 1:return p.trys.push([1,7,,8]),r=Be(t,e),r&&(!n||n&&r.versionId===n)?(i.log("[[ ".concat(a," ]] return cached app:"),t,e),[2,{emitApp:r,msg:""}]):(c=null,s=i.getVerLoadStatus(t,e),s!==i.helLoadStatus.LOADED?[3,3]:[4,pr(t,e)]);case 2:return r=p.sent(),i.log("[[ ".concat(a," ]] return emit app:"),t,e,r),[2,{emitApp:r,msg:""}];case 3:return s===i.helLoadStatus.LOADING?[3,5]:(i.setVerLoadStatus(t,i.helLoadStatus.LOADING,e),[4,se(t,u(u({},e),{controlLoadAssets:!0}))]);case 4:c=p.sent(),i.perfPeek(sr,"loadApp"),p.label=5;case 5:return[4,pr(t,e,c)];case 6:return r=p.sent(),i.perfPeek(sr,"waitAppEmit"),i.log("[[ ".concat(a," ]] return fetch&emit app:"),t,e,r),[2,{emitApp:r,msg:""}];case 7:return f=p.sent(),console.error(f),i.setVerLoadStatus(t,i.helLoadStatus.NOT_LOAD,e),[2,{emitApp:r,msg:f.message}];case 8:return[2]}}))}))}function dr(t,e){return p(this,void 0,Promise,(function(){var r,n,o,a,c,s,u,f,p;return l(this,(function(l){switch(l.label){case 0:return i.perfMark(sr),r="".concat(ar,"(").concat(t,")"),n=$(r,!0),o=ur(!0,e),[4,lr(t,o)];case 1:if(a=l.sent(),c=a.emitApp,s=a.msg,u=null===c||void 0===c?void 0:c.appProperties,!u&&o.onLibNull&&(f=o.onLibNull(t,{versionId:o.versionId}),f&&(u=f)),Q(r,n),i.perfPeek(sr,"end",!0),!u)throw p=s?" details : ".concat(s):"",new Error("".concat(ar," ").concat(t," fail from ").concat(o.platform,", it may be an invalid module!").concat(p));return[2,u]}}))}))}function vr(t,e){return p(this,void 0,void 0,(function(){var r,n;return l(this,(function(o){switch(o.label){case 0:return i.perfMark(sr),r=ur(!1,e),[4,lr(t,r)];case 1:return n=o.sent(),i.perfPeek(sr,"end",!0),[2,(null===n||void 0===n?void 0:n.emitApp)||null]}}))}))}function hr(t,e){return p(this,void 0,Promise,(function(){var r,n,o,i,a,c,s,f,p,d,v,h,m,g,b,y,A,_,E,w,L,I,T,x,O;return l(this,(function(l){switch(l.label){case 0:if(r=(null===e||void 0===e?void 0:e.preFetchConfigs)||{},n=u({semverApi:!1},(null===e||void 0===e?void 0:e.common)||{}),o=S(n.platform),i=n.versionIdList,a=void 0===i?[]:i,c=n.projectIdList,s=void 0===c?[]:c,f=n.branchIdList,p=void 0===f?[]:f,d=[],v=[],h=[],t.length>8)throw new Error("only support 8 appName at most!");for(A in m=[],g=[],b={},y=[],t)y.push(A);_=0,l.label=1;case 1:return _<y.length?(E=y[_],w=t[E],L=r[w],I={platform:o,versionId:a[E]||"",projectId:s[E]||"",branchId:p[E]||""},"string"===typeof L&&L?I.versionId=L:"object"===typeof L&&L&&(I=u(u({},I),rr(L)),I.platform=o),b[w]=I,I.enableDiskCache=er([I,n],"enableDiskCache",nr),I.enableSyncMeta=er([I,n],"enableSyncMeta",or),I.storageType=er([I,n],"storageType",ir),[4,ne(w,I,{callRemote:!1})]):[3,4];case 2:T=l.sent(),T||(g.push(w),d[E]=I.versionId||"",v[E]=I.projectId||"",h[E]=I.branchId||""),l.label=3;case 3:return _++,[3,1];case 4:return n.versionIdList=d,n.projectIdList=v,n.branchIdList=h,n.semverApi?[4,Promise.all(g.map((function(t){return ht(t,b[t])})))]:[3,6];case 5:return m=l.sent(),[3,8];case 6:return[4,gt(g,n)];case 7:m=l.sent(),l.label=8;case 8:return m.forEach((function(t){var e=t.app,r=t.version,n=b[e.name]||{};ae(e,{appVersion:r,platform:o,toDisk:n.enableDiskCache,loadOptions:n})})),x=t.map((function(t){return dr(t,b[t])})),[4,Promise.all(x)];case 9:return O=l.sent(),[2,O]}}))}))}var mr=Object.freeze({__proto__:null,core:i,VER:c,emitApp:s,getAppCacheKey:I,getCachedAppMeta:T,appMetaSrv:de,appParamSrv:be,appStyleSrv:je,logicSrv:He,init:Ke,isSubApp:Ye,bindExternals:Je,bindReactRuntime:Xe,bindVueRuntime:ze,getExtraData:$e,setExtraData:Qe,getFakeHelContext:tr,batchPreFetchLib:hr,preFetchApp:vr,preFetchLib:dr}),gr=i.commonUtil.purify,br=i.getUserEventBus(),yr=["eventBus","getExtraData","setExtraData","bindExternals","bindVueRuntime","bindReactRuntime","isSubApp"],Ar={ignoreFns:["tryGetAppName","log","commonUtil","getCommonData","setCommonData","setGlobalThis"],arg1PlatFns:["getPlatformConfig","getSharedCache"],arg2PlatFns:["initPlatformConfig","getAppMeta","setAppMeta","tryGetVersion","setAppPlatform"],arg2PlatObjFns:[]},_r=["preFetchLib","preFetchApp"],Er=["getSubAppMeta","getMetaDataUrl"],Sr=["emitApp","init"],wr=["getAppCacheKey"];function Lr(t,e){var r=this,n=e.fnName,o=e.fn,i=e.isCore,a=e.preFetchOptions;return function(){for(var e=[],c=0;c<arguments.length;c++)e[c]=arguments[c];var s=function(e){return u({platform:t},gr(e||{}))},f=e[0],p=e[1],l=e[2];if(i){if("getPlatform"===n)return t;Ar.arg1PlatFns.includes(n)?e[0]=f||t:Ar.arg2PlatFns.includes(n)?e[1]=p||t:Ar.arg2PlatObjFns.includes(n)?e[1]=s(p):Ar.ignoreFns.includes(n)||(n.startsWith("set")?e[2]=s(l):e[1]=s(p))}else if("batchPreFetchLib"===n){var d=p||{},v=s(d.common);e[1]=u(u({},d),{common:v})}else if(_r.includes(n)){var h=gr("string"===typeof p?{versionId:p}:p||{});a&&(h=gr(u(u({},a),h))),e[1]=u({platform:t},h)}else if(Er.includes(n)){var m=(a||{}).semverApi,g=void 0===m||m;e[1]=s(u({semverApi:g},gr(p||{})))}else Sr.includes(n)?e[0]=s(f):wr.includes(n)?e[1]=p||t:e[1]=s(p);return o.apply(r,e)}}function Ir(t,e,r){var n=r.preFetchOptions,o=r.isCore,i={};return Object.keys(e).forEach((function(a){var c=e[a];if(yr.includes(a))i[a]=c;else{var s=typeof c;if("function"!==s)if(c&&"object"===s){var f=u(u({},r),{isCore:"core"===a});i[a]=Ir(t,c,f)}else i[a]=c;else{var p={fnName:a,fn:c,isCore:o,preFetchOptions:n};i[a]=Lr(t,p)}}})),i}function Tr(t,e){var r=Ir(t,mr,{preFetchOptions:e});return r.createInstance=Tr,r.createOriginInstance=xr,r.resetGlobalThis=i.resetGlobalThis,r.eventBus=br,r.default=r,r}function xr(t,e){var r=e||{},n=(r.trustAppNames,f(r,["trustAppNames"]));return i.originInit(t,e),Tr(t,n)}var Or=c,Cr=dr,Nr=vr,Pr=hr,Rr=je,Dr=be,Mr=de,Vr=He,jr=s,Fr=Ke,kr=Ye,Ur=I,Br=T,Gr=tr,Hr=$e,Kr=Qe,Yr=Je,Wr=ze,Jr=Xe,Xr=i,zr=i.resetGlobalThis,qr=Tr,$r=xr,Qr=i.getUserEventBus();Xr.log("hel-micro ver ".concat(Or));var Zr={VER:Or,preFetchLib:Cr,preFetchApp:Nr,batchPreFetchLib:Pr,appStyleSrv:Rr,appParamSrv:Dr,appMetaSrv:Mr,logicSrv:Vr,emitApp:jr,eventBus:Qr,init:Fr,isSubApp:kr,getAppCacheKey:Ur,getCachedAppMeta:Br,getFakeHelContext:Gr,getExtraData:Hr,setExtraData:Kr,bindExternals:Yr,bindVueRuntime:Wr,bindReactRuntime:Jr,resetGlobalThis:zr,core:i,createInstance:qr,createOriginInstance:$r};kt(Zr),i.commonUtil.noop(o),e.VER=Or,e.appMetaSrv=Mr,e.appParamSrv=Dr,e.appStyleSrv=Rr,e.batchPreFetchLib=Pr,e.bindExternals=Yr,e.bindReactRuntime=Jr,e.bindVueRuntime=Wr,e.core=Xr,e.createInstance=qr,e.createOriginInstance=$r,e.default=Zr,e.emitApp=jr,e.eventBus=Qr,e.getAppCacheKey=Ur,e.getCachedAppMeta=Br,e.getExtraData=Hr,e.getFakeHelContext=Gr,e.init=Fr,e.isSubApp=kr,e.logicSrv=Vr,e.preFetchApp=Nr,e.preFetchLib=Cr,e.resetGlobalThis=zr,e.setExtraData=Kr},"96d8":function(t,e,r){"use strict";t.exports=function(t){t.iterator=t.next=t.nextHandler=t.mapper=t.predicate=t.inner=t.iterables=t.iters=t.openIters=t.padding=t.finishResults=t.buffer=null}},"987c":function(t,e,r){"use strict";var n=r("6e4c"),o=r("1f80");t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},"9a1d":function(t,e,r){"use strict";var n=r("a86f"),o=r("ed76"),i=r("610b"),a=TypeError;t.exports=function(t,e){var r,c;if("string"===e&&o(r=t.toString)&&!i(c=n(r,t)))return c;if(o(r=t.valueOf)&&!i(c=n(r,t)))return c;if("string"!==e&&o(r=t.toString)&&!i(c=n(r,t)))return c;throw new a("Can't convert object to primitive value")}},"9a4d":function(t,e,r){"use strict";var n=r("2c8d");t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},"9b3c":function(t,e,r){"use strict";var n=r("c8cb"),o=r("d4f0"),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},a0f5:function(t,e,r){"use strict";var n=r("155d"),o=Error,i=n("".replace),a=function(t){return String(new o(t).stack)}("zxcasd"),c=/\n\s*at [^:]*:[^\n]*/,s=c.test(a);t.exports=function(t,e){if(s&&"string"==typeof t&&!o.prepareStackTrace)while(e--)t=i(t,c,"");return t}},a300:function(t,e,r){"use strict";t.exports={}},a3ef:function(t,e,r){"use strict";var n=r("92f7").f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},a66d:function(t,e,r){"use strict";var n=r("7684"),o=r("92f7");t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},a7cd:function(t,e,r){"use strict";var n=r("b1de");t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},a86f:function(t,e,r){"use strict";var n=r("da82"),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},a9cb:function(t,e,r){"use strict";var n=r("610b"),o=String,i=TypeError;t.exports=function(t){if(void 0===t||n(t))return t;throw new i(o(t)+" is not an object or undefined")}},aaf7:function(t,e,r){"use strict";var n,o,i,a=r("2c8d"),c=r("ed76"),s=r("610b"),u=r("47a4"),f=r("0214"),p=r("c23a"),l=r("0a8d"),d=r("7cc7"),v=l("iterator"),h=!1;[].keys&&(i=[].keys(),"next"in i?(o=f(f(i)),o!==Object.prototype&&(n=o)):h=!0);var m=!s(n)||a((function(){var t={};return n[v].call(t)!==t}));m?n={}:d&&(n=u(n)),c(n[v])||p(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},ab24:function(t,e,r){"use strict";var n=r("ff10"),o=r("2c8d"),i=r("0129"),a=r("e94f"),c=n.structuredClone;t.exports=!!c&&!o((function(){if("DENO"===a&&i>92||"NODE"===a&&i>94||"BROWSER"===a&&i>97)return!1;var t=new ArrayBuffer(8),e=c(t,{transfer:[t]});return 0!==t.byteLength||8!==e.byteLength}))},ab9d:function(t,e,r){"use strict";var n=r("0a8d"),o=n("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},ac02:function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("6091"),a=r("65cd"),c="WebAssembly",s=o[c],u=7!==new Error("e",{cause:7}).cause,f=function(t,e){var r={};r[t]=a(t,e,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},p=function(t,e){if(s&&s[t]){var r={};r[t]=a(c+"."+t,e,u),n({target:c,stat:!0,constructor:!0,arity:1,forced:u},r)}};f("Error",(function(t){return function(e){return i(t,this,arguments)}})),f("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),f("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),f("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),f("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),f("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),f("URIError",(function(t){return function(e){return i(t,this,arguments)}})),p("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),p("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),p("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},ac54:function(t,e,r){"use strict";var n=r("a86f"),o=r("47a4"),i=r("6113"),a=r("6569"),c=r("0a8d"),s=r("c835"),u=r("987c"),f=r("aaf7").IteratorPrototype,p=r("cac5"),l=r("f511"),d=r("ccc1"),v=r("96d8"),h=c("toStringTag"),m="IteratorHelper",g="WrapForValidIterator",b="normal",y="throw",A=s.set,_=function(t){var e=s.getterFor(t?g:m);return a(o(f),{next:function(){var r=e(this);if(t)return r.nextHandler();if(r.done)return p(void 0,!0);try{var n=r.nextHandler();return r.done&&v(r),r.returnHandlerResult?n:p(n,r.done)}catch(o){throw r.done=!0,v(r),o}},return:function(){var r=e(this),o=r.iterator,i=r.inner,a=r.openIters,c=r.done;if(r.done=!0,t){var s=u(o,"return");return s?n(s,o):p(void 0,!0)}if(v(r),c)return p(void 0,!0);if(i)try{l(i.iterator,b)}catch(f){return l(o,y,f)}if(a)try{d(a,b)}catch(f){if(o)return l(o,y,f);throw f}return o&&l(o,b),p(void 0,!0)}})},E=_(!0),S=_(!1);i(S,h,"Iterator Helper"),t.exports=function(t,e,r){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=e?g:m,o.returnHandlerResult=!!r,o.nextHandler=t,o.counter=0,o.done=!1,A(this,o)};return n.prototype=e?E:S,n}},ad2d:function(t,e,r){"use strict";var n=r("2c8d"),o=r("8b17");t.exports=!n((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},afad:function(t,e,r){"use strict";var n=r("5bf4"),o=Object;t.exports=function(t){return o(n(t))}},b1de:function(t,e,r){"use strict";var n=r("666d"),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},b2a2:function(t,e,r){"use strict";var n=r("3dcd"),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},b464:function(t,e,r){"use strict";var n=r("ff10"),o=r("155d"),i=n.Uint8Array,a=n.SyntaxError,c=Math.min,s=o("".match);t.exports=function(t,e){var r=t.length;if(r%2!==0)throw new a("String should be an even number of characters");for(var n=e?c(e.length,r/2):r/2,o=e||new i(n),u=s(t,/[\S\s]{2}/g),f=0;f<n;f++){var p=+("0x"+u[f]+"0");if(p!==p)throw new a("String should only contain hex characters");o[f]=p>>4}return{bytes:o,read:f<<1}}},b4e7:function(t,e,r){"use strict";var n=r("d744"),o=r("de70"),i=r("de0b"),a=r("92f7");t.exports=function(t,e,r){for(var c=o(e),s=a.f,u=i.f,f=0;f<c.length;f++){var p=c[f];n(t,p)||r&&n(r,p)||s(t,p,u(e,p))}}},b5f0:function(t,e,r){"use strict";var n=TypeError;t.exports=function(t){var e=t&&t.alphabet;if(void 0===e||"base64"===e||"base64url"===e)return e||"base64";throw new n("Incorrect `alphabet` option")}},ba95:function(t,e,r){"use strict";var n=r("155d"),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},bb46:function(t,e,r){"use strict";t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},bc7a:function(t,e,r){"use strict";var n=r("610b"),o=r("c835").get;t.exports=function(t){if(!n(t))return!1;var e=o(t);return!!e&&"RawJSON"===e.type}},bc9c:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},bdb8:function(t,e,r){"use strict";var n=TypeError,o=9007199254740991;t.exports=function(t){if(t>o)throw new n("Maximum allowed index exceeded");return t}},bf0a:function(t,e,r){"use strict";var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=n+"+/",i=n+"-_",a=function(t){for(var e={},r=0;r<64;r++)e[t.charAt(r)]=r;return e};t.exports={i2c:o,c2i:a(o),i2cUrl:i,c2iUrl:a(i)}},c129:function(t,e,r){"use strict";var n=r("4dfe"),o=r("ed76"),i=r("1262"),a=r("0a22"),c=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,c(t))}},c1f7:function(t,e,r){"use strict";var n=r("ff10"),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},c23a:function(t,e,r){"use strict";var n=r("ed76"),o=r("92f7"),i=r("7684"),a=r("c1f7");t.exports=function(t,e,r,c){c||(c={});var s=c.enumerable,u=void 0!==c.name?c.name:e;if(n(r)&&i(r,u,c),c.global)s?t[e]=r:a(e,r);else{try{c.unsafe?t[e]&&(s=!0):delete t[e]}catch(f){}s?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return t}},c412:function(t,e,r){"use strict";var n=r("7903"),o=r("610b"),i=r("5bf4"),a=r("3241");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{t=n(Object.prototype,"__proto__","set"),t(r,[]),e=r instanceof Array}catch(c){}return function(r,n){return i(r),a(n),o(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},c69c:function(t,e,r){"use strict";var n=r("610b"),o=r("6113");t.exports=function(t,e){n(e)&&"cause"in e&&o(t,"cause",e.cause)}},c835:function(t,e,r){"use strict";var n,o,i,a=r("8403"),c=r("ff10"),s=r("610b"),u=r("6113"),f=r("d744"),p=r("e1ac"),l=r("2e82"),d=r("a300"),v="Object already initialized",h=c.TypeError,m=c.WeakMap,g=function(t){return i(t)?o(t):n(t,{})},b=function(t){return function(e){var r;if(!s(e)||(r=o(e)).type!==t)throw new h("Incompatible receiver, "+t+" required");return r}};if(a||p.state){var y=p.state||(p.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new h(v);return e.facade=t,y.set(t,e),e},o=function(t){return y.get(t)||{}},i=function(t){return y.has(t)}}else{var A=l("state");d[A]=!0,n=function(t,e){if(f(t,A))throw new h(v);return e.facade=t,u(t,A,e),e},o=function(t){return f(t,A)?t[A]:{}},i=function(t){return f(t,A)}}t.exports={set:n,get:o,has:i,enforce:g,getterFor:b}},c8cb:function(t,e,r){"use strict";var n=r("155d"),o=r("d744"),i=r("e374"),a=r("13d0").indexOf,c=r("a300"),s=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,f=[];for(r in n)!o(c,r)&&o(n,r)&&s(f,r);while(e.length>u)o(n,r=e[u++])&&(~a(f,r)||s(f,r));return f}},cac5:function(t,e,r){"use strict";t.exports=function(t,e){return{value:t,done:e}}},cbe1:function(t,e,r){"use strict";r.r(e),function(t){function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function o(t){if(Array.isArray(t))return t}function i(t){if(Array.isArray(t))return n(t)}function a(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=y(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function c(t,e,r){return(e=g(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function u(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],s=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t,e){return o(t)||u(t,e)||y(t,e)||f()}function h(t){return i(t)||s(t)||y(t)||p()}function m(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function g(t){var e=m(t,"string");return"symbol"==typeof e?e:e+""}function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function y(t,e){if(t){if("string"==typeof t)return n(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}r.d(e,"allowLog",(function(){return yr})),r.d(e,"appReady",(function(){return sn})),r.d(e,"clearPerfMark",(function(){return Sr})),r.d(e,"commonDataUtil",(function(){return Fr})),r.d(e,"commonUtil",(function(){return dr})),r.d(e,"evName",(function(){return an})),r.d(e,"getAppMeta",(function(){return Cr})),r.d(e,"getAppPlatform",(function(){return qr})),r.d(e,"getAppPlatformByAppName",(function(){return Zr})),r.d(e,"getAppStyleStr",(function(){return Hr})),r.d(e,"getCommonData",(function(){return Vr})),r.d(e,"getCustomData",(function(){return Dr})),r.d(e,"getGlobalThis",(function(){return wr})),r.d(e,"getHelDebug",(function(){return br})),r.d(e,"getHelEventBus",(function(){return nn})),r.d(e,"getPlatform",(function(){return mr})),r.d(e,"getPlatformConfig",(function(){return zr})),r.d(e,"getSharedCache",(function(){return gr})),r.d(e,"getUserEventBus",(function(){return on})),r.d(e,"getVerApp",(function(){return Ir})),r.d(e,"getVerExtraCssList",(function(){return Yr})),r.d(e,"getVerLib",(function(){return xr})),r.d(e,"getVerLoadStatus",(function(){return kr})),r.d(e,"getVerStyleStrStatus",(function(){return Br})),r.d(e,"getVersion",(function(){return Pr})),r.d(e,"helConsts",(function(){return pr})),r.d(e,"helEvents",(function(){return ur})),r.d(e,"helLoadStatus",(function(){return fr})),r.d(e,"inectPlatToMod",(function(){return lr})),r.d(e,"initGlobalConfig",(function(){return rn})),r.d(e,"initPlatformConfig",(function(){return tn})),r.d(e,"isSubApp",(function(){return vr})),r.d(e,"libReady",(function(){return cn})),r.d(e,"log",(function(){return Ar})),r.d(e,"originInit",(function(){return en})),r.d(e,"perfMark",(function(){return _r})),r.d(e,"perfPeek",(function(){return Er})),r.d(e,"resetGlobalThis",(function(){return hr})),r.d(e,"setAppMeta",(function(){return Nr})),r.d(e,"setAppPlatform",(function(){return $r})),r.d(e,"setAppPlatformByAppName",(function(){return Qr})),r.d(e,"setAppStyleStr",(function(){return Kr})),r.d(e,"setCommonData",(function(){return jr})),r.d(e,"setCustomData",(function(){return Mr})),r.d(e,"setEmitApp",(function(){return Tr})),r.d(e,"setEmitLib",(function(){return Or})),r.d(e,"setGlobalThis",(function(){return Lr})),r.d(e,"setVerExtraCssList",(function(){return Wr})),r.d(e,"setVerLoadStatus",(function(){return Ur})),r.d(e,"setVerStyleStrStatus",(function(){return Gr})),r.d(e,"setVersion",(function(){return Rr})),r.d(e,"tryGetAppName",(function(){return Xr})),r.d(e,"tryGetVersion",(function(){return Jr}));var A=null;function _(){if("undefined"===typeof window){if("undefined"===typeof t)throw new Error("unable to locate global object");A=t}else A=window}function E(){return A||_(),A}function S(t){var e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null;null!==(e=A)&&void 0!==e&&e.__HEL_MICRO_SHARED__&&(n=A.__HEL_MICRO_SHARED__),A=r?d(d({},A),t):t,n&&(A.__HEL_MICRO_SHARED__=n)}function w(){return E()}function L(){var t=E();return t.MutationObserver||t.WebKitMutationObserver||t.MozMutationObserver}function I(t,e){for(var r=null,n=t.length,o=0;o<n;o++){var i=t[o];if(i.tagName===e){r=i;break}}return r}function T(t){return Object.keys(t)}function x(){var t=function(t){var e=t||{},r=e.search||"";if(!r){var n=e.hash||"",o=n.split("?")[1]||"";o&&(r="?".concat(o))}return r};try{var e;return t(null===(e=E())||void 0===e||null===(e=e.top)||void 0===e?void 0:e.location)}catch(n){var r;return t(null===(r=E())||void 0===r?void 0:r.location)}}function O(t){var e,r=null===(e=E())||void 0===e?void 0:e.localStorage;return null===r||void 0===r?void 0:r.getItem(t)}function C(t,e){var r,n=null===(r=E())||void 0===r?void 0:r.localStorage;return null===n||void 0===n?void 0:n.setItem(t,e)}function N(){var t=x(),e={};if(null!==t&&void 0!==t&&t.startsWith("?")){var r=t.substring(1),n=r.split("&");n.forEach((function(t){var r=t.split("="),n=v(r,2),o=n[0],i=n[1];e[o]=i}))}return e}function P(){var t="";try{throw new Error("getJsRunLocation")}catch(n){var e=n.stack.split("\n"),r=e.length;t=e[r-1]||e[r-2]||""}return t}function R(t,e,r,n){var o=D(t,e);o[r]=n}function D(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t[e];return n||(n=r,t[e]=n),n}function M(t,e){Object.keys(e).forEach((function(r){var n=e[r];[null,void 0,""].includes(n)||(t[r]=n)}))}function V(t,e){t.includes(e)||t.push(e)}function j(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.nullValues,n=void 0===r?[null,void 0,""]:r,o=e.emptyObjIsNull,i=void 0===o||o,a=e.emptyArrIsNull,c=void 0===a||a,s=n.includes(t);if(s)return!0;if(Array.isArray(t))return!!c&&0===t.length;if("object"===b(t)){var u=T(t),f=u.length;return!!i&&0===f}return!1}function F(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e}function k(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function U(){var t=E();return t.process&&t.global&&!t.document}function B(t,e,r){if(t&&"string"!==typeof t)return t;try{var n=JSON.parse(t);return n||e}catch(o){if(void 0!==e)return e;if(r)throw new Error(r);throw o}}var G=j,H=V,K=T;function Y(t,e){var r=[];return t.forEach((function(t){return H(r,t)})),e.forEach((function(t){return H(r,t)})),r}function W(t,e){var r=e||function(t){return!G(t)},n={};return K(t).forEach((function(e){r(t[e])&&(n[e]=t[e])})),n}function J(t,e,r){var n,o=r,i=a(t);try{for(i.s();!(n=i.n()).done;){var c=n.value,s=c[e];if(![null,void 0,""].includes(s)){o=s;break}}}catch(u){i.e(u)}finally{i.f()}return o}function X(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MULTI",r=t.split("\n"),n=r.length-1,o=r.map((function(t,r){var o;if(!t&&(0===r||r===n))return"";var i=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=t;return t.endsWith("<br/>")?(n=t.substring(0,n.length-5),"".concat(n).concat(e)):"".concat(n).concat(r)},a=(null===(o=t.trimStart)||void 0===o?void 0:o.call(t))||t;return"MULTI"===e?"".concat(i(a,""),"\n"):(a=i(a,"\n"," "),a)})).join("");return o}function z(t){return X(t,"ONE")}function q(t){var e,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=E(),o=z(t),i=n.alert||F;r?(null===(e=n.location)||void 0===e?void 0:e.port)&&i(o):i(o)}function $(t,e,r){t.dataset?t.dataset[e]=r:t.setAttribute("data-".concat(e),r)}function Q(t){$(t,"heldisabled","1"),t.disabled=!0}var Z=Object.freeze({__proto__:null,noop:F,hasProp:k,isServer:U,safeParse:B,isNull:G,noDupPush:H,okeys:K,merge2List:Y,purify:W,getObjsVal:J,pfstr:X,nbstr:z,nbalert:q,setDataset:$,disableNode:Q});function tt(t,e){var r=this,n=e.fn,o=e.fnName,i=e.arg1PlatObjFnKeys,a=i.includes(o);return function(){for(var e=function(e){return d({platform:t},W(e||{}))},o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c];var s=i[0],u=i[1];return a?i[0]=e(s):i[1]=e(u),n.apply(r,i)}}function et(t,e,r){var n=r||{},o=n.ignoreKeys,i=void 0===o?[]:o,a=n.arg1PlatObjFnKeys,c=void 0===a?[]:a,s={};return Object.keys(e).forEach((function(n){var o=e[n];if(i.includes(n))s[n]=o;else{var a=b(o);s[n]=a&&"object"===a?et(t,o,r):"function"!==a?o:tt(t,{arg1PlatObjFnKeys:c,fn:o,fnName:n})}})),s}var rt="hel",nt="unpkg",ot={NONE:0,LOG:1,TRACE:2},it="__default_online_ver__",at=nt,ct={CORE_VER:"4.13.1",DEFAULT_API_PREFIX:"https://unpkg.com",DEFAULT_API_URL:"/openapi/v1/app/info",DEFAULT_ONLINE_VER:it,DEFAULT_USER_LS_KEY:"HelUserRtxName",DEFAULT_PLAT:at,LS_LOG_MODE:"HelConfig.logMode",LS_LOG_FILTER:"HelConfig.logFilter",PLAT_HEL:rt,PLAT_UNPKG:nt,KEY_CSS_STR:"CSS_STR",KEY_ASSET_CTX:"ASSET_CTX",KEY_STYLE_TAG_ADDED:"STYLE_TAG_ADDED",KEY_CSS_LINK_TAG_ADDED:"CSS_LINK_TAG_ADDED",KEY_IGNORE_CSS_PREFIX_LIST:"IGNORE_CSS_PREFIX_LIST",KEY_IGNORE_STYLE_TAG_KEY:"IGNORE_STYLE_TAG_KEY",KEY_IGNORE_CSS_PREFIX_2_KEYS:"IGNORE_CSS_PREFIX_2_KEYS"},st={SUB_APP_LOADED:"subAppLoaded",SUB_LIB_LOADED:"SubLibLoaded",STYLE_STR_FETCHED:"StyleStrFetched",STYLE_TAG_ADDED:"StyleTagAdded",CSS_LINK_TAG_ADDED:"CssLinkTagAdded"},ut={NOT_LOAD:0,LOADING:1,LOADED:2},ft=ct.LS_LOG_FILTER,pt=ct.LS_LOG_MODE,lt=ot.NONE,dt=ot.LOG,vt=ot.TRACE,ht={isIncludeFilter:function(t,e){if(!e.includes(","))return t.includes(e);var r=e.split(",");return r.some((function(e){return t.includes(e)}))},getLogFilter:function(){return _t().logFilter},setLogFilter:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];_t().logFilter=t,e&&C(ft,t)},setLogMode:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=parseInt(t,10);[lt,dt,vt].includes(r)&&(_t().logMode=r,e&&C(pt,r))},getLogMode:function(){return _t().logMode}},mt={};function gt(){if(!_t().isInit){_t().isInit=!0;var t=N(),e=t.hellog,r=t.hellogf,n=e||O(pt)||lt;ht.setLogMode(n,!1);var o=r||O(ft)||"";ht.setLogFilter(o,!1)}}function bt(){return{logMode:lt,logFilter:"",isInit:!1}}function yt(){if(mt=w().__HEL_MICRO_DEBUG__,j(mt)){mt=bt(),w().__HEL_MICRO_DEBUG__=mt;try{gt()}catch(t){}}else void 0===mt.logMode&&(mt.logMode=lt,mt.logFilter="")}function At(){return ht.getLogMode()!==lt}function _t(){return mt}var Et=" %c--\x3e HEL LOG:",St="color:#ad4e00;font-weight:600";function wt(){if(At()){for(var t=ht.getLogMode()===dt?console.log:console.trace||console.log,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=r[0],i=r.slice(1);if("string"!==typeof o)return t.apply(void 0,[Et,St].concat(r));var a=ht.getLogFilter(),c=["".concat(Et," ").concat(o),St].concat(h(i));a?ht.isIncludeFilter(o,a)&&t.apply(void 0,h(c)):t.apply(void 0,h(c))}}var Lt={};function It(t){At()&&!Lt[t]&&(Lt[t]=Date.now())}function Tt(t,e,r){if(At()&&Lt[t]){var n=Lt[t];wt("[[ PerfCheck ]] (".concat(t,"/").concat(e,") costs ").concat(Date.now()-n," ms")),r&&xt(t)}}function xt(t){Lt[t]=0}var Ot=ct.DEFAULT_API_URL,Ct=ct.DEFAULT_USER_LS_KEY,Nt=ct.PLAT_HEL,Pt=ct.PLAT_UNPKG,Rt=ct.DEFAULT_API_PREFIX,Dt=ct.CORE_VER,Mt=ct.KEY_CSS_LINK_TAG_ADDED,Vt=ct.KEY_STYLE_TAG_ADDED,jt=ct.KEY_IGNORE_CSS_PREFIX_LIST,Ft=ct.KEY_IGNORE_STYLE_TAG_KEY,kt=ct.KEY_IGNORE_CSS_PREFIX_2_KEYS;function Ut(t){var e=t||{},r=e.apiPrefix;return{apiMode:"get",apiPrefix:r,apiSuffix:"",apiPathOfApp:Ot,apiPathOfAppVersion:"",getSubAppAndItsVersionFn:null,customMetaUrl:"",customMetaJsonpUrl:"",getMeta:null,onFetchMetaFailed:null,strictMatchVer:!0,getUserName:null,userLsKey:Ct,shouldUseGray:null,trustAppNames:null,semverApi:null,hook:{}}}function Bt(t){var e=d(d({isConfigOverwrite:!1,platform:t,appName2Comp:{},appName2Lib:{},appName2isLibAssigned:{},appName2EmitApp:{},appName2verLoadStatus:{},appName2verEmitLib:{},appName2verEmitApp:{},appName2verStyleStr:{},appName2verStyleFetched:{},appName2verExtraCssList:{},appName2verAppVersion:{},appName2verCustomData:{},appName2app:{},appName2appVersion:{},appName2styleStr:{},appGroupName2firstVer:{},isOriginInitCalled:!1},Ut()),{},{origin:Ut({apiPrefix:Rt})});return e}function Gt(){var t={};return{on:function(e,r){var n=t[e];if(!n){var o=[];t[e]=o,n=o}n.push(r)},emit:function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var i=t[e];if(i){var a=i.slice();a.forEach((function(t){return t.apply(void 0,n)}))}},off:function(e,r){var n=t[e];if(n)for(var o=0,i=n.length;o<i;o++){var a=n[o];if(a===r){n.splice(o,1);break}}}}}function Ht(){var t=Bt(Pt),e=Bt(Nt),r={platform:Nt,platformHint:"the platform value here does not make any sense!",appName2platform:{},appGroupName2platform:{},caches:c(c({},Pt,t),Nt,e),common:{}},n=Gt(),o=Gt();return{ver:Dt,isStyleObInit:!1,nativeHeadAppend:null,nativeBodyAppend:null,patchedHeadAppend:null,patchedBodyAppend:null,createFeature:P(),eventBus:n,userEventBus:o,cacheRoot:r,unpkgCache:t,helCache:e,dev:{setLogMode:ht.setLogMode,setLogFilter:ht.setLogFilter}}}function Kt(t){var e=[Mt,Vt,jt,Ft,kt],r=function(t){return t===jt?[]:{}};e.forEach((function(e){return D(t,e,r(e))}))}function Yt(){var t=Wt();if(t){var e=t.cacheRoot;D(e,"appGroupName2platform"),D(e,"common");var r=e.caches;return Object.keys(r).forEach((function(t){var e=r[t];D(e,"appGroupName2firstVer"),D(e,"appName2isLibAssigned"),D(e,"appName2verExtraCssList"),D(e,"appName2verCustomData"),D(e,"hook"),D(e,"origin",Ut()),D(e.origin,"hook")})),Kt(e.common),void(t.userEventBus||(t.userEventBus=Gt()))}t=Ht(),Kt(t.cacheRoot.common),w().__HEL_MICRO_SHARED__=t}function Wt(){var t=w().__HEL_MICRO_SHARED__;return t}function Jt(){return at}function Xt(t){var e=t||Jt(),r=zt(),n=r.caches[e];if(!n){var o=b(t);if("string"!==o)throw console.error("invalid plaform:",t),new Error("fatal error: platform only can be a string, now it is ".concat(o));var i=Bt(t);r.caches[e]=i,n=i}return n}function zt(){return Wt().cacheRoot}var qt={getCustomData:function(t,e,r){var n=r.versionId,o=r.platform,i=Xt(o),a=i.appName2verCustomData,c=D(a,t),s=D(c,e);return s[n||it]},getAppMeta:function(t,e){var r=Xt(e),n=r.appName2app;return n[t]},setVerLoadStatus:function(t,e,r,n){var o=n||{},i=o.versionId,a=o.platform,c=Xt(a)[r],s=i||it;R(c,t,s,e)},getVerLoadStatus:function(t,e,r){var n,o=r||{},i=o.versionId,a=o.platform,c=Xt(a)[e],s=i||it;return(null===(n=c[t])||void 0===n?void 0:n[s])||ut.NOT_LOAD},ensureOnlineModule:function(t,e,r){if(!t[it]){var n=qt.getAppMeta(e,r),o=t[null===n||void 0===n?void 0:n.online_version];o&&(t[it]=o)}}};function $t(t,e){var r,n=e||{},o=n.versionId,i=n.platform,a=Xt(i),c=a.appName2verEmitApp,s=a.appName2Comp,u=a.strictMatchVer,f=a.appName2EmitApp,p=null!==(r=n.strictMatchVer)&&void 0!==r?r:u,l=D(c,t);qt.ensureOnlineModule(l,t,i);var d=o||it,v=l[d],h=s[t],m=h?{Comp:h}:null,g=p?null:f[t]||m,b=v||g||null;return wt("[[ core:getVerApp ]] appName,options,result:",t,n,b),b}function Qt(t,e){wt("[[ core:setEmitApp ]] appName,emitApp:",t,e);var r=e.versionId,n=e.platform,o=Xt(n),i=o.appName2verEmitApp,a=o.appName2Comp,c=o.appName2EmitApp,s=D(i,t);s[it]||(a[t]=e.Comp,c[t]=e,R(i,t,it,e)),r&&R(i,t,r,e)}var Zt=ct.KEY_CSS_LINK_TAG_ADDED,te=ct.KEY_STYLE_TAG_ADDED,ee=ct.KEY_IGNORE_CSS_PREFIX_LIST,re=ct.KEY_IGNORE_STYLE_TAG_KEY,ne=ct.KEY_IGNORE_CSS_PREFIX_2_KEYS;function oe(t){var e=zt(),r=e.common,n=D(r,t);return n}function ie(t){var e=zt(),r=e.common;return r[t]}function ae(t,e){var r=oe(t),n=r[e];return void 0!==n?n:null}function ce(t,e,r){var n=oe(t);n[e]=r}var se={setIgnoreCssPrefix:function(t){var e=ie(ee);V(e,t)},setIgnoreStyleTagKey:function(t){var e=se.getIgnoreStyleTagMap();e[t]=1},getIgnoreStyleTagMap:function(){var t=ie(re);return t},setIgnoreCssPrefixKey:function(t,e){var r=ae(ne,t);r||(r=[],ce(ne,t,r)),V(r,e)},getIgnoreCssPrefixKeys:function(t){var e=ie(ne);return e[t]||[]},getMatchedIgnoreCssPrefix:function(t){for(var e=ie(ee),r="",n=0;n<e.length;n++){var o=e[n];if(t.startsWith(o)){r=o;break}}return r},getIgnoreCssPrefixCssUrlList:function(t){var e=ae(Zt,t);return e||(e=[],ce(Zt,t,e)),e},setIgnoreCssPrefixCssUrl:function(t,e){var r=se.getIgnoreCssPrefixCssUrlList(t);r.push(e)},getStyleTagText:function(t){var e=ae(te,t)||"";return e},clearStyleTagText:function(t){ce(te,t,"")},appendStyleTagText:function(t,e){var r=se.getStyleTagText(t);ce(te,t,"".concat(r," ").concat(e))}};function ue(t,e){var r=t.apiMode,n=t.apiPrefix,o=t.apiSuffix,i=t.apiPathOfApp,a=t.apiPathOfAppVersion,c=t.getSubAppAndItsVersionFn,s=t.onFetchMetaFailed,u=t.strictMatchVer,f=t.getUserName,p=t.userLsKey,l=t.shouldUseGray,d=t.getApiPrefix,v=t.trustAppNames,h=t.platform,m=t.origin,g=t.hook,b=t.customMetaUrl,y=t.customMetaJsonpUrl,A=t.getMeta,_={apiMode:r,apiPrefix:n,apiSuffix:o,apiPathOfApp:i,apiPathOfAppVersion:a,getSubAppAndItsVersionFn:c,onFetchMetaFailed:s,strictMatchVer:u,getUserName:f,userLsKey:p,shouldUseGray:l,getApiPrefix:d,trustAppNames:v,hook:g,platform:h,customMetaUrl:b,customMetaJsonpUrl:y,getMeta:A};return e&&(_.origin=m),_}function fe(t){var e=Xt(t);return ue(e,!0)}function pe(t){var e=Wt(),r=e.nativeHeadAppend,n=e.nativeBodyAppend,o=t.headAppend||null,i=t.bodyAppend||null,a=function(t){return"pass same ".concat(t," handle, hel will ignore it for avlid 'Maximum call stack size exceeded'")};o&&o===r?console.error(a("headAppend")):e.patchedHeadAppend=o,i&&i===n?console.error(a("bodyAppend")):e.patchedBodyAppend=i}function le(t,e){var r=Xt(e),n=ue(t);r.isConfigOverwrite||(r.isConfigOverwrite=!0,M(r,n))}function de(t,e){var r=Xt(t),n="[[ core:originInit ]] invalid call, it can only been called";if(r.isConfigOverwrite)wt("".concat(n," before init"));else if(r.isOriginInitCalled)wt("".concat(n," one time"));else{var o=ue(e);r.isOriginInitCalled=!0,M(r.origin,o)}}function ve(t){return zt().appGroupName2platform[t]||Jt()}function he(t,e,r){var n=zt().appGroupName2platform;return!r&&n[t]||(n[t]=e),ve(t)}function me(t){return zt().appName2platform[t]||Jt()}function ge(t,e,r){var n=zt().appName2platform;return!r&&n[t]||(n[t]=e),me(t)}function be(t,e){var r=e.customKey,n=e.platform,o=void 0===n?me(t):n,i=Xt(o),a=i.appName2verCustomData,c=D(a,t),s=D(c,r);return s}function ye(t,e){var r=be(t,e),n=r[e.versionId||it];return void 0!==n?n:null}function Ae(t,e){var r=e.customValue,n=e.versionId,o=be(t,e);o[n||it]=r,o[it]||(o[it]=r)}var _e=st.STYLE_TAG_ADDED,Ee=st.CSS_LINK_TAG_ADDED;function Se(){return Wt().eventBus}function we(){return Wt().userEventBus}var Le={styleTagAdded:function(t){return"".concat(_e,"/").concat(t)},cssLinkTagAdded:function(t){return"".concat(Ee,"(").concat(t,")")}};function Ie(t,e){var r,n=e||{},o=n.versionId,i=n.platform,a=Xt(i),c=a.appName2verEmitLib,s=a.appName2Lib,u=a.strictMatchVer,f=a.appName2isLibAssigned,p=null!==(r=n.strictMatchVer)&&void 0!==r?r:u,l=D(c,t);qt.ensureOnlineModule(l,t);var d=o||it,v=l[d],h=f[t]?s[t]:null,m=p?null:h,g=v||m||null;return wt("[[ core:getVerLib ]] appName,options,result:",t,n,g),g}function Te(t,e,r){var n=r||{},o=n.appGroupName,i=e.versionId,a=e.appProperties,c=e.platform||r.platform,s=Xt(c),u=s.appName2verEmitLib,f=s.appName2Lib,p=s.appName2isLibAssigned,l=qt.getAppMeta(t,c),d=function(t){var e=f[t];e?"object"===b(e)&&0===Object.keys(e).length&&Object.assign(e,a):f[t]=a,p[t]=!0};d(t),o?d(o):l&&d(l.app_group_name),wt("[[ core:setEmitLib ]] appMeta:",l);var v=D(u,t);v[it]||R(u,t,it,a),i&&R(u,t,i,a)}function xe(t,e){var r=Xt(e),n=r.appName2app;return n[t]}function Oe(t,e){var r=Xt(e),n=r.appName2app;n[t.name]=t}function Ce(t,e,r){qt.setVerLoadStatus(t,e,"appName2verLoadStatus",r)}function Ne(t,e){return qt.getVerLoadStatus(t,"appName2verLoadStatus",e)}function Pe(t,e,r){qt.setVerLoadStatus(t,e,"appName2verStyleFetched",r)}function Re(t,e){return qt.getVerLoadStatus(t,"appName2verStyleFetched",e)}function De(t,e){var r,n=e||{},o=n.platform,i=n.versionId,a=Xt(o),c=a.appName2verStyleStr,s=a.appName2styleStr,u=s[t]||"";return i?(null===(r=c[t])||void 0===r?void 0:r[i])||u||"":u}function Me(t,e,r){var n=r||{},o=n.platform,i=n.versionId,a=Xt(o),c=a.appName2verStyleStr,s=a.appName2verStyleFetched,u=a.appName2styleStr;i?(R(c,t,i,e),R(s,t,i,ut.LOADED)):u[t]=e}function Ve(t,e,r){var n=r||{},o=n.versionId,i=n.platform,a=Xt(i),c=a.appName2verExtraCssList;wt("[[ core:setVerExtraCssList ]] cssList:",e);var s=D(c,t);s[it]||R(c,t,it,e),o&&R(c,t,o,e)}function je(t,e){var r=e||{},n=r.versionId,o=r.platform,i=Xt(o),a=i.appName2verExtraCssList,c=D(a,t),s=c[n]||c[it]||[];return wt("[[ core:getVerExtraCssList ]] options,cssList:",r,s),s}function Fe(t,e){var r,n=e||{},o=n.platform,i=n.versionId,a=Xt(o),c=a.appName2verAppVersion,s=a.appName2appVersion,u=s[t]||null;return i&&(null===(r=c[t])||void 0===r?void 0:r[i])||u}function ke(t,e,r){var n=r||{},o=n.platform,i=Xt(o),a=i.appName2verAppVersion,c=i.appGroupName2firstVer,s=i.appName2appVersion,u=e.version_tag||e.sub_app_version;if(u){var f=qt.getAppMeta(t,o),p=D(a,t);p[it]||(R(a,t,it,e),s[t]=e),R(a,t,u,e),c[f.app_group_name]=e.sub_app_version}}function Ue(t,e){var r=t.split("@"),n=r.slice(1),o=n.join("@");return o||e||t}function Be(t){return"js"===t||"mjs"===t}function Ge(t,e){var r=P();wt("[[ core:tryGetVersion ]] may include ver source > ".concat(r));var n=Xt(e),o=n.appGroupName2firstVer,i=o[t]||"";if(r.includes("https://")||r.includes("http://")){var a=r.split("//"),c=v(a,2),s=c[1],u=s.split("/");if(i){var f=s.includes("/".concat(i,"/"));if(f){var p=i.startsWith("@");if(p){var l=i.split("/")[1]||"";return Ue(l)}var d=u.indexOf(i),h=u[d-1],m=h.startsWith("@");if(!m)return Ue(i)}var g=u[1],b=u[2];if("static"===g&&Be(b)||Be(g))return Ue(i)}var y=s.indexOf("@");if(y>=0){var A=u.filter((function(t){return t.includes("@")})),_=A.findIndex((function(t){return t.startsWith("@")}));if(_>=0){var E=A[_+1]||"";return Ue(E,i)}var S=A[0]||"";return Ue(S,i)}var w=s.split("/".concat(e,"/")),L=v(w,2),I=L[1],T=void 0===I?"":I,x=T.split("/"),O=v(x,1),C=O[0];return C||i}return i}function He(t,e){if(t===it)return e||"";if(t.includes("_")){var r=t.substring(0,t.length-15);return r}return e||""}var Ke=!1,Ye=!1;function We(t){if(t&&(Ke=!1,Ye=!1),!Ye){Ye=!0;var e=E();void 0===e.__MASTER_APP_LOADED__&&(e.__MASTER_APP_LOADED__=!0,Ke=!0)}}function Je(){var t="WARNING: calling isSubApp is unsafe, use hel-iso.isSubApp instead,\n";return t+="more details see: https://tnfe.github.io/hel/docs/tutorial/attention-is-subapp",console.log("%c".concat(t),"color:red;"),!Ke}function Xe(t,e){var r=e.platform,n=e.groupName,o=e.name,i=e.ver,a=e.elName;$(t,"el",a),$(t,"plat",r),$(t,"gname",n),$(t,"name",o),$(t,"ver",i)}var ze=ct.KEY_ASSET_CTX;function qe(t,e){if(!e||!["LINK","SCRIPT"].includes(e.tagName))return t(e);var r=e.href,n=e.tagName,o=e.src,i=r||o||"",a="LINK"===n,c=ae(ze,i)||{},s=c.platform,u=c.groupName,f=c.name,p=c.ver,l=c.beforeAppend,d=e;if(l){var v=a?"href":"src",h=e.getAttribute(v),m=function(t){return e.setAttribute(v,t)};d=l({el:e,nativeAppend:t,setAssetUrl:m,url:h,tagName:n})||e}var g=a?"HelLink":"HelScript";return s&&Xe(d,{platform:s,groupName:u,name:f,ver:p,elName:g}),t(d)}function $e(){var t=E();if(!t.__POWERED_BY_QIANKUN__&&!t.__DISABLE_HEL_MONKEY_PATCH__){var e=Wt(),r=t.document,n=e.nativeHeadAppend,o=e.nativeBodyAppend;if(!n&&r){var i=r.head,a=r.body;if(n=i.appendChild.bind(i),e.nativeHeadAppend=n,a)o=a.appendChild.bind(a),e.nativeBodyAppend=o;else{var c=L(),s=new c((function(t){for(var r,n=0;n<t.length;n++){var i=t[n].addedNodes;if(r=I(i,"BODY"),r)break}r&&(o=r.appendChild.bind(r),e.nativeBodyAppend=o,r.appendChild=function(t){return qe(f(o,r,"body"),t)},s.disconnect())})),u=I(r.childNodes,"HTML");u&&s.observe(u,{childList:!0})}var f=function(r,n,o){var i=e.patchedHeadAppend,a=e.patchedBodyAppend,c="head"===o;if(i&&c)return i;if(a&&!c)return a;if(t.__POWERED_BY_WUJIE__)return r;var s=t.Element;return s?s.prototype.appendChild.bind(n):r};i.appendChild=function(t){return qe(f(n,i,"head"),t)},a&&(a.appendChild=function(t){return qe(f(o,a,"body"),t)})}}}var Qe="preFetch";function Ze(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.platform||ve(t),o=r.versionId||Ge(t,n),i=r.appName||He(o,t);wt("[[ core:libReady ]] appGroupName ".concat(t,", appName ").concat(i,", versionId ").concat(o));var a=xe(i,n);null!==a&&void 0!==a&&a.__fromCust&&(o=r.versionId||a.online_version,i=a.name,wt("[[ core:libReady ]] fromCust, appGroupName ".concat(t,", appName ").concat(i,", versionId ").concat(o)));var c={platform:n,appName:i,appGroupName:t,versionId:o,appProperties:e,Comp:function(){},lifecycle:{}};Te(i,c,{appGroupName:t,platform:n}),Ce(i,ut.LOADED,{versionId:o,platform:n});var s=Se();Tt(Qe,"libReady"),s.emit(st.SUB_LIB_LOADED,c)}function tr(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.lifecycle,o=r.platform||ve(t),i=r.versionId||Ge(t,o),a=r.appName||He(i,t),c={Comp:e,appName:a,appGroupName:t,lifecycle:n,platform:o,versionId:i,isLib:!1};Qt(a,c),Ce(a,ut.LOADED,{versionId:i,platform:o});var s=Se();Tt(Qe,"appReady"),s.emit(st.SUB_APP_LOADED,c)}var er="/* @helstart ",rr=" @helend */",nr=er.length;function or(t,e){var r=Se(),n=se.getMatchedIgnoreCssPrefix(e);return n&&(se.setIgnoreCssPrefixCssUrl(n,e),r.emit(Le.cssLinkTagAdded(n),{nodes:[t]})),n}function ir(t){var e=E();if(e){var r=e.document.head.querySelectorAll('style[data-gname="'.concat(t,'"]'));if(r.length){se.clearStyleTagText(t),r.forEach((function(e){Q(e),se.appendStyleTagText(t,e.innerText)}));var n=Se();n.emit(Le.styleTagAdded(t),{nodes:r})}}}function ar(t,e){var r=t.tagName,n=t.innerText,o=t.href;if(["STYLE","LINK"].includes(r))if("STYLE"!==r){var i=or(t,o);i&&Q(t)}else{if(!n)return;var a=n.indexOf(er);if(a<0)return;var c=n.indexOf(rr);if(c<0)return;var s=n.substring(nr+a,c);if(s){var u=s.trim(),f="",p=u;if(u.includes("/")){var l=u.split("/");f=l[0],p=l[1]}$(t,"gname",p),f&&$(t,"plat",f),e[u]&&Q(t);var d=Se();se.appendStyleTagText(u,n),d.emit(Le.styleTagAdded(u),{nodes:[t]})}}}function cr(t,e){var r=t.tagName,n=t.src,o=void 0===n?"":n;if("SCRIPT"!==r)return!1;if(!o.endsWith(".hot-update.js"))return!1;var i=se.getMatchedIgnoreCssPrefix(o);if(!i)return!1;var a=se.getIgnoreCssPrefixKeys(i);if(!a.length)return!1;var c=!1;return a.forEach((function(t){e[t]&&(ir(t),c=!0)})),c}function sr(){var t=Wt(),e=E(),r=t.isStyleObInit,n=e.document;if(!r&&n){t.isStyleObInit=!0;var o=se.getIgnoreStyleTagMap(),i=L();if(i){var a=new i((function(t){t.forEach((function(t){for(var e=t.addedNodes,r=t.removedNodes,n=e.length,i=0;i<n;i++)ar(e[i],o);for(var a=r.length,c=0;c<a;c++)if(cr(r[c],o))break}))}));a.observe(document.head,{childList:!0})}}}hr(),wt("hel-micro-core ver ".concat(ct.CORE_VER));var ur=st,fr=ut,pr=ct,lr=et,dr=Z,vr=Je;function hr(t){t&&Lr(t),We(!!t),Yt(),yt(),$e(),sr()}var mr=Jt,gr=Xt,br=_t,yr=At,Ar=wt,_r=It,Er=Tt,Sr=xt,wr=E,Lr=S,Ir=$t,Tr=Qt,xr=Ie,Or=Te,Cr=xe,Nr=Oe,Pr=Fe,Rr=ke,Dr=ye,Mr=Ae,Vr=ae,jr=ce,Fr=se,kr=Ne,Ur=Ce,Br=Re,Gr=Pe,Hr=De,Kr=Me,Yr=je,Wr=Ve,Jr=Ge,Xr=He,zr=fe,qr=ve,$r=he,Qr=ge,Zr=me,tn=le,en=de,rn=pe,nn=Se,on=we,an=Le,cn=Ze,sn=tr}.call(this,r("87b6"))},cbf3:function(t,e,r){"use strict";var n=r("ff10"),o=n.navigator,i=o&&o.userAgent;t.exports=i?String(i):""},ccc1:function(t,e,r){"use strict";var n=r("f511");t.exports=function(t,e,r){for(var o=t.length-1;o>=0;o--)if(void 0!==t[o])try{r=n(t[o].iterator,e,r)}catch(i){e="throw",r=i}if("throw"===e)throw r;return r}},cdc0:function(t,e,r){"use strict";var n=r("89f9"),o=r("8866"),i=r("afad"),a=r("e82f"),c=function(t){var e=1===t;return function(r,c,s){var u,f,p=i(r),l=o(p),d=a(l),v=n(c,s);while(d-- >0)if(u=l[d],f=v(u,d,p),f)switch(t){case 0:return u;case 1:return d}return e?-1:void 0}};t.exports={findLast:c(0),findLastIndex:c(1)}},ce87:function(t,e,r){"use strict";var n=r("155d");t.exports=n(1.1.valueOf)},cf14:function(t,e,r){"use strict";var n=r("ba95"),o=r("155d");t.exports=function(t){if("Function"===n(t))return o(t)}},cff8:function(t,e,r){"use strict";var n,o,i,a,c=r("ff10"),s=r("d46c"),u=r("ab24"),f=c.structuredClone,p=c.ArrayBuffer,l=c.MessageChannel,d=!1;if(u)d=function(t){f(t,{transfer:[t]})};else if(p)try{l||(n=s("worker_threads"),n&&(l=n.MessageChannel)),l&&(o=new l,i=new p(2),a=function(t){o.port1.postMessage(null,[t])},2===i.byteLength&&(a(i),0===i.byteLength&&(d=a)))}catch(v){}t.exports=d},d0d2:function(t,e,r){"use strict";var n=r("ed76"),o=r("610b"),i=r("c412");t.exports=function(t,e,r){var a,c;return i&&n(a=e.constructor)&&a!==r&&o(c=a.prototype)&&c!==r.prototype&&i(t,c),t}},d42f:function(t,e,r){"use strict";var n=r("155d"),o=r("ed76"),i=r("e1ac"),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},d46c:function(t,e,r){"use strict";var n=r("ff10"),o=r("2e87");t.exports=function(t){if(o){try{return n.process.getBuiltinModule(t)}catch(e){}try{return Function('return require("'+t+'")')()}catch(e){}}}},d4f0:function(t,e,r){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},d5f9:function(t,e,r){"use strict";var n=r("c23a"),o=r("155d"),i=r("b1de"),a=r("54a8"),c=URLSearchParams,s=c.prototype,u=o(s.append),f=o(s["delete"]),p=o(s.forEach),l=o([].push),d=new c("a=1&a=2&b=3");d["delete"]("a",1),d["delete"]("b",void 0),d+""!=="a=2"&&n(s,"delete",(function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return f(this,t);var n=[];p(this,(function(t,e){l(n,{key:e,value:t})})),a(e,1);var o,c=i(t),s=i(r),d=0,v=n.length;while(d<v)o=n[d],f(this,o.key),d++;d=0;while(d<v)o=n[d++],o.key===c&&o.value===s||u(this,o.key,o.value)}),{enumerable:!0,unsafe:!0})},d744:function(t,e,r){"use strict";var n=r("155d"),o=r("afad"),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},d970:function(t,e,r){"use strict";var n=r("017e"),o=r("6acb"),i=TypeError,a=Object.getOwnPropertyDescriptor,c=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=c?function(t,e){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},da82:function(t,e,r){"use strict";var n=r("2c8d");t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},db44:function(t,e,r){"use strict";var n=r("e605"),o=r("901b");o&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return o(this,arguments.length?arguments[0]:void 0,!0)}})},dcb7:function(t,e,r){"use strict";var n=r("e1ac"),o=Object.create||Object;t.exports=function(t,e){return n[t]||(n[t]=e||o(null))}},de0b:function(t,e,r){"use strict";var n=r("017e"),o=r("a86f"),i=r("bc9c"),a=r("8b17"),c=r("e374"),s=r("6a8d"),u=r("d744"),f=r("e694"),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=c(t),e=s(e),f)try{return p(t,e)}catch(r){}if(u(t,e))return a(!o(i.f,t,e),t[e])}},de2f:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return p}));var n=a();c();var o=u();function i(){return window||t}function a(){var t=i(),e=t.__HEL_LOAD_ASSETS_FLAG__,r=t.__HEL_ISO_FLAG__,n=t.__MASTER_APP_LOADED__;return{isLoadAssetsCalled:1===e,isFirstMod:void 0===r,isBeforeCore:void 0===n}}function c(){var t=i();void 0===t.__HEL_ISO_FLAG__&&(t.__HEL_ISO_FLAG__=1)}function s(){var t="";try{throw new Error("codeHost")}catch(o){var e=o.stack.split("\n");t=e[e.length-1]||""}var r=t.split("//")[1]||"",n=r.split("/")[0];return n}function u(){var t=i(),e=t.location,r=t.__HEL_MICRO_SHARED__,o=n.isFirstMod,a=n.isBeforeCore,c=n.isLoadAssetsCalled;if(c)return!1;if(!o)return!1;if(a)return!0;var u=s();if(e&&e.host===u)return!0;if(r){var f=r.cacheRoot,p=f.appGroupName2platform,l=f.appName2platform,d=p||l||{};if(!Object.keys(d).length)return!0}return!1}function f(){return o}var p=f}).call(this,r("87b6"))},de70:function(t,e,r){"use strict";var n=r("4dfe"),o=r("155d"),i=r("9b3c"),a=r("15f4"),c=r("083c"),s=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(c(t)),r=a.f;return r?s(e,r(t)):e}},e1ac:function(t,e,r){"use strict";var n=r("7cc7"),o=r("ff10"),i=r("c1f7"),a="__core-js_shared__",c=t.exports=o[a]||i(a,{});(c.versions||(c.versions=[])).push({version:"3.51.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.51.0/LICENSE",source:"https://github.com/zloirock/core-js"})},e374:function(t,e,r){"use strict";var n=r("8866"),o=r("5bf4");t.exports=function(t){return n(o(t))}},e4b7:function(t,e,r){"use strict";var n=r("0a8d"),o=r("47a4"),i=r("92f7").f,a=n("unscopables"),c=Array.prototype;void 0===c[a]&&i(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},e605:function(t,e,r){"use strict";var n=r("ff10"),o=r("de0b").f,i=r("6113"),a=r("c23a"),c=r("c1f7"),s=r("b4e7"),u=r("0a1c");t.exports=function(t,e){var r,f,p,l,d,v,h=t.target,m=t.global,g=t.stat;if(f=m?n:g?n[h]||c(h,{}):n[h]&&n[h].prototype,f)for(p in e){if(d=e[p],t.dontCallGetSet?(v=o(f,p),l=v&&v.value):l=f[p],r=u(m?p:h+(g?".":"#")+p,t.forced),!r&&void 0!==l){if(typeof d==typeof l)continue;s(d,l)}(t.sham||l&&l.sham)&&i(d,"sham",!0),a(f,p,d,t)}}},e694:function(t,e,r){"use strict";var n=r("017e"),o=r("2c8d"),i=r("26f2");t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},e7b0:function(t,e,r){"use strict";t.exports=function(t,e){var r="function"==typeof Iterator&&Iterator.prototype[t];if(r)try{r.call({next:null},e).next()}catch(n){return!0}}},e82f:function(t,e,r){"use strict";var n=r("b2a2");t.exports=function(t){return n(t.length)}},e94f:function(t,e,r){"use strict";var n=r("ff10"),o=r("cbf3"),i=r("ba95"),a=function(t){return o.slice(0,t.length)===t};t.exports=function(){return a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"}()},ebf9:function(t,e,r){"use strict";var n=r("017e"),o=r("2c8d");t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},ece3:function(t,e,r){"use strict";var n=r("8bc0"),o=r("cdc0").findLast,i=n.aTypedArray,a=n.exportTypedArrayMethod;a("findLast",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},ed76:function(t,e,r){"use strict";var n="object"==typeof document&&document.all;t.exports="undefined"==typeof n&&void 0!==n?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},f388:function(t,e,r){"use strict";t.exports=Object.create?Object.create(null):{}},f47e:function(t,e,r){"use strict";var n=r("ff10"),o=r("a86f"),i=r("8bc0"),a=r("e82f"),c=r("217c"),s=r("afad"),u=r("2c8d"),f=n.RangeError,p=n.Int8Array,l=p&&p.prototype,d=l&&l.set,v=i.aTypedArray,h=i.exportTypedArrayMethod,m=!u((function(){var t=new Uint8ClampedArray(2);return o(d,t,{length:1,0:3},1),3!==t[1]})),g=m&&i.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var t=new p(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));h("set",(function(t){v(this);var e=c(arguments.length>1?arguments[1]:void 0,1),r=s(t);if(m)return o(d,this,r,e);var n=this.length,i=a(r),u=0;if(i+e>n)throw new f("Wrong length");while(u<i)this[e+u]=r[u++]}),!m||g)},f511:function(t,e,r){"use strict";var n=r("a86f"),o=r("083c"),i=r("987c");t.exports=function(t,e,r){var a,c;o(t);try{if(a=i(t,"return"),!a){if("throw"===e)throw r;return r}a=n(a,t)}catch(s){c=!0,a=s}if("throw"===e)throw r;if(c)throw a;return o(a),r}},f9a8:function(t,e,r){"use strict";var n=r("610b");t.exports=function(t){return n(t)||null===t}},fa47:function(t,e,r){"use strict";var n=r("e605"),o=r("ff10"),i=r("4dfe"),a=r("8b17"),c=r("92f7").f,s=r("d744"),u=r("5cb6"),f=r("d0d2"),p=r("a7cd"),l=r("bb46"),d=r("a0f5"),v=r("017e"),h=r("7cc7"),m="DOMException",g=i("Error"),b=i(m),y=function(){u(this,A);var t=arguments.length,e=p(t<1?void 0:arguments[0]),r=p(t<2?void 0:arguments[1],"Error"),n=new b(e,r),o=new g(e);return o.name=m,c(n,"stack",a(1,d(o.stack,1))),f(n,this,y),n},A=y.prototype=b.prototype,_="stack"in new g(m),E="stack"in new b(1,2),S=b&&v&&Object.getOwnPropertyDescriptor(o,m),w=!!S&&!(S.writable&&S.configurable),L=_&&!w&&!E;n({global:!0,constructor:!0,forced:h||L},{DOMException:L?y:b});var I=i(m),T=I.prototype;if(T.constructor!==I)for(var x in h||c(T,"constructor",a(1,I)),l)if(s(l,x)){var O=l[x],C=O.s;s(I,C)||c(I,C,a(6,O.c))}},fcf6:function(t,e,r){"use strict";var n=r("017e"),o=r("92f7"),i=r("8b17");t.exports=function(t,e,r){n?o.f(t,e,i(0,r)):t[e]=r}},fd0e:function(t,e,r){"use strict";var n=Math.ceil,o=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?o:n)(e)}},fdbb:function(t,e,r){"use strict";var n=r("8bc0"),o=r("155d"),i=r("6e4c"),a=r("47e0"),c=n.aTypedArray,s=n.getTypedArrayConstructor,u=n.exportTypedArrayMethod,f=o(n.TypedArrayPrototype.sort);u("toSorted",(function(t){void 0!==t&&i(t);var e=c(this),r=a(s(e),e);return f(r,t)}))},ff10:function(t,e,r){"use strict";(function(e){var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,r("87b6"))},ff94:function(t,e,r){"use strict";var n=r("e605"),o=r("a86f"),i=r("4a05"),a=r("6e4c"),c=r("083c"),s=r("734c"),u=r("f511"),f=r("36a6"),p=f("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:p},{forEach:function(t){c(this);try{a(t)}catch(n){u(this,"throw",n)}if(p)return o(p,this,t);var e=s(this),r=0;i(e,(function(e){t(e,r++)}),{IS_RECORD:!0})}})}}]);
|