biu.define({name:"@ali/hmod-ace-2023-box",version:"0.1.0",dependencies:{react:"^16.8.1"}},(function(n,r,e){"use strict";const o=n("react"),a="_18a32969382a277c44015217fbc5cb5a_box",t=["top","right","bottom","left"],i={top:"t",right:"r",bottom:"b",left:"l"},d=o.forwardRef((function({pc:n={},h5:r={},hiddenIfEmpty:e,children:d},c){if(!d&&e)return null;const p={};return t.forEach((e=>{n.padding&&n.padding[e]&&(p[`--pc-p-${i[e]}`]=p[`--h5-p-${i[e]}`]=n.padding[e]+"px"),r.padding&&"number"==typeof r.padding[e]&&(p[`--h5-p-${i[e]}`]=r.padding[e]+"px"),n.margin&&n.margin[e]&&(p[`--pc-m-${i[e]}`]=p[`--h5-m-${i[e]}`]=n.margin[e]+"px"),r.margin&&"number"==typeof r.margin[e]&&(p[`--h5-m-${i[e]}`]=r.margin[e]+"px")})),n.backgroundColor&&(p["--pc-bg"]=n.backgroundColor),r.backgroundColor&&(p["--h5-bg"]=r.backgroundColor),o.createElement("div",{className:a,style:p,ref:c},d)}));e.exports=d}));
biu.define({name:"@ali/hmod-ace-2024-global-footer",version:"0.1.2",dependencies:{react:"^16.8.1","react-dom":"^16.8.1"}},(function(e,t,r){"use strict";var n=Object.defineProperty,i=Object.defineProperties,o=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,l=(e,t)=>{for(var r in t||(t={}))s.call(t,r)&&u(e,r,t[r]);if(a)for(var r of a(t))c.call(t,r)&&u(e,r,t[r]);return e},f=(e,t)=>i(e,o(t));const p=e("react"),h=e("react-dom"),m="a52e48969cced2d562e47543eeb73ebb_ali-main-services",d="a52e48969cced2d562e47543eeb73ebb_ali-main-services-title",b="a52e48969cced2d562e47543eeb73ebb_ali-main-services-link",v=function({title:e,subTitle:t,oneIndex:r}){return p.createElement("section",{className:m},p.createElement("h3",{className:d},e),(t||[]).map(((e,t)=>{const{serviceLink:n,serviceText:i}=e;return p.createElement("a",{key:`ali-main-service-${r}-${t}`,className:b,href:n||"",target:"_blank"},i)})))},y="_7b44142961778903dda8af3f769cd06c_focus",g="_7b44142961778903dda8af3f769cd06c_ali-main-services-title",w="_7b44142961778903dda8af3f769cd06c_consult-text",_="_7b44142961778903dda8af3f769cd06c_consult-link",x="_7b44142961778903dda8af3f769cd06c_ali-official-code",E="_7b44142961778903dda8af3f769cd06c_ali-main-services-desc",k=function({focusUs:e,advantages:t}){const{title:r,desc:n,tips:i}=e||{};return p.createElement("article",{className:y},p.createElement("h3",{className:g},r),p.createElement("p",{className:E},n),(i||[]).map((e=>{const{tipsName:t,codeImgSrc:r}=e;return r?p.createElement("img",{alt:t,src:r,className:x,key:r}):null})),(t||[]).map(((e,t)=>{const{content:r,link:n,label:i}=e,o=`${i}\uff1a${r}`;return p.createElement("p",{key:`consult-${t}`,className:w},n?p.createElement("a",{href:n,target:"_blank",className:_},o):o)})))},$="b34f022d45e42bd104ce1362bc0808b1_services",O="b34f022d45e42bd104ce1362bc0808b1_homepage-footer-main-services",S=function({advantages:e,mainServices:t,focusUs:r}){return p.createElement("div",{className:$},p.createElement("nav",{className:O,"aria-label":"\u9875\u811a\u5bfc\u822a"},(t||[]).map(((e,t)=>{const{title:r,subTitle:n=[]}=e;return p.createElement(v,{key:`main-title-${t}`,title:r,subTitle:n,oneIndex:t})}))),p.createElement(k,{focusUs:r,advantages:e}))},j="_4598709a854bea355ceb6ef9f23f10d4_about-link-wrap",N="_4598709a854bea355ceb6ef9f23f10d4_ali-about-link",A="_4598709a854bea355ceb6ef9f23f10d4_friend-link-wrap",P="_4598709a854bea355ceb6ef9f23f10d4_ali-friend-link",L="_4598709a854bea355ceb6ef9f23f10d4_ali-copyright-text",C="_4598709a854bea355ceb6ef9f23f10d4_ali-report-wrap",T="_4598709a854bea355ceb6ef9f23f10d4_ali-report-link",R="_4598709a854bea355ceb6ef9f23f10d4_ali-report-img",M="_4598709a854bea355ceb6ef9f23f10d4_ali-report-link-text",I="_4598709a854bea355ceb6ef9f23f10d4_ali-report-link-text-unique",D=function({copyright:e}){const{aboutList:t=[],friendList:r=[],reportList:n=[],copyrightText:i}=e;return p.createElement(p.Fragment,null,p.createElement("div",{className:j},t.map(((e,t)=>{const{aboutName:r,aboutLink:n}=e;return p.createElement("a",{href:n||"",key:`ali-about-${t}`,className:N,target:"_blank"},r)}))),p.createElement("section",{className:A},p.createElement("h3",{hidden:!0},"\u53cb\u60c5\u94fe\u63a5"),r.map(((e,t)=>{const{friendName:r,friendLink:n}=e;return p.createElement("a",{href:n||"",key:`ali-friend-${t}`,className:P,target:"_blank"},r)}))),p.createElement("p",{className:L,dangerouslySetInnerHTML:{__html:i}}),p.createElement("p",{className:C},n.map(((e,t)=>{const{logoSrc:r,reportLink:n,reportText:i}=e;return p.createElement("a",{href:n||"",target:"_blank",className:T,key:`ali-report-${t}`},r&&p.createElement("img",{src:r,className:R,alt:i||""}),i&&p.createElement("span",{className:r?M:`${M} ${I}`},i))}))))},q="_49ada0cd752f65901c49f2eed0d6c3d5_container",B="_49ada0cd752f65901c49f2eed0d6c3d5_inner",U=function({mode:e,copyright:t,advantages:r,mainServices:n,focusUs:i,isMobile:o}){return o?p.createElement("footer",{className:q,"aria-label":"PC \u7aef\u9875\u5c3e"}):p.createElement("footer",{className:q,"aria-label":"PC \u7aef\u9875\u5c3e"},p.createElement("div",{className:B},"simple"!==e?p.createElement(S,{advantages:r,mainServices:n,focusUs:i}):null,p.createElement(D,{copyright:t})))},z="e7443182f689324abd7789dbc813ce85_ace-commonfooter-download-h5";let F=null;function W(){return document.cookie.replace(/(?:(?:^|.*;\s*)channel\s*=\s*([^;]*).*$)|^.*$/,"$1")}const G=function({h5HandleConfig:e,deliveryInfo:t}){let r,n,i="";if(e&&e.image&&e.link)r=e.image,n=e.link;else if(t&&t.image)if(i=t.scm,r=t.image,t.exts&&t.exts.openType&&"alipay"===t.exts.openType.value){const e=new URLSearchParams(location.search).get("utm_content");let r,i;if(e&&(r=e.match(/^m_(\d+)$/))){i=`https://click.aliyun.com/m/${r[1]}/?inAlipayWebView=true&utm_channel=${W()}`}else{i=t.link?t.link:location.href;const e=new URL(i);e.searchParams.set("inAlipayWebView","true"),i=`${e.protocol}//${e.host}${e.pathname}${e.search}${e.hash}`}n=`alipays://platformapi/startapp?appId=2021004100605659&page=%2Fpages%2Fwebview%2Fwebview%3Furl%3D${encodeURIComponent(encodeURIComponent(i))}`,location.href=n}else if(t.link){n=t.link;const e=W();e&&(n=n+(n.includes("?")?"&":"?")+`utm_channel=${e}`)}if(!r||!n)return null;if(!F){F=document.createElement("div");const e=document.body.firstChild;document.body.insertBefore(F,e)}return h.createPortal(p.createElement("a",{href:n,"data-tracker-scm":i,className:z,style:{backgroundImage:`url(${r})`}}),F)};function H(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function V(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}const X=V(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Y=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},Z=J;function J(e,t,r){e instanceof RegExp&&(e=K(e,r)),t instanceof RegExp&&(t=K(t,r));var n=Q(e,t,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+e.length,n[1]),post:r.slice(n[1]+t.length)}}function K(e,t){var r=t.match(e);return r?r[0]:null}function Q(e,t,r){var n,i,o,a,s,c=r.indexOf(e),u=r.indexOf(t,c+1),l=c;if(c>=0&&u>0){if(e===t)return[c,u];for(n=[],o=r.length;l>=0&&!s;)l==c?(n.push(l),c=r.indexOf(e,l+1)):1==n.length?s=[n.pop(),u]:((i=n.pop())<o&&(o=i,a=u),u=r.indexOf(t,l+1)),l=c<u&&c>=0?c:u;n.length&&(s=[o,a])}return s}J.range=Q;var ee=function(e,t){for(var r=[],n=0;n<e.length;n++){var i=t(e[n],n);Y(i)?r.push.apply(r,i):r.push(i)}return r},te=Z,re=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return de(function(e){return e.split("\\\\").join(ne).split("\\{").join(ie).split("\\}").join(oe).split("\\,").join(ae).split("\\.").join(se)}(e),!0).map(ue)},ne="\0SLASH"+Math.random()+"\0",ie="\0OPEN"+Math.random()+"\0",oe="\0CLOSE"+Math.random()+"\0",ae="\0COMMA"+Math.random()+"\0",se="\0PERIOD"+Math.random()+"\0";function ce(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function ue(e){return e.split(ne).join("\\").split(ie).join("{").split(oe).join("}").split(ae).join(",").split(se).join(".")}function le(e){if(!e)return[""];var t=[],r=te("{","}",e);if(!r)return e.split(",");var n=r.pre,i=r.body,o=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var s=le(o);return o.length&&(a[a.length-1]+=s.shift(),a.push.apply(a,s)),t.push.apply(t,a),t}function fe(e){return"{"+e+"}"}function pe(e){return/^-?0\d/.test(e)}function he(e,t){return e<=t}function me(e,t){return e>=t}function de(e,t){var r=[],n=te("{","}",e);if(!n||/\$$/.test(n.pre))return[e];var i,o=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),a=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),s=o||a,c=n.body.indexOf(",")>=0;if(!s&&!c)return n.post.match(/,.*\}/)?de(e=n.pre+"{"+n.body+oe+n.post):[e];if(s)i=n.body.split(/\.\./);else if(1===(i=le(n.body)).length&&1===(i=de(i[0],!1).map(fe)).length)return(f=n.post.length?de(n.post,!1):[""]).map((function(e){return n.pre+i[0]+e}));var u,l=n.pre,f=n.post.length?de(n.post,!1):[""];if(s){var p=ce(i[0]),h=ce(i[1]),m=Math.max(i[0].length,i[1].length),d=3==i.length?Math.abs(ce(i[2])):1,b=he;h<p&&(d*=-1,b=me);var v=i.some(pe);u=[];for(var y=p;b(y,h);y+=d){var g;if(a)"\\"===(g=String.fromCharCode(y))&&(g="");else if(g=String(y),v){var w=m-g.length;if(w>0){var _=new Array(w+1).join("0");g=y<0?"-"+_+g.slice(1):_+g}}u.push(g)}}else u=ee(i,(function(e){return de(e,!1)}));for(var x=0;x<u.length;x++)for(var E=0;E<f.length;E++){var k=l+u[x]+f[E];(!t||s||k)&&r.push(k)}return r}var be=Oe;Oe.Minimatch=Se;var ve=function(){try{return X}catch(e){}}()||{sep:"/"};Oe.sep=ve.sep;var ye=Oe.GLOBSTAR=Se.GLOBSTAR={},ge=re,we={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},_e="[^/]",xe=_e+"*?",Ee="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var ke=/\/+/;function $e(e,t){t=t||{};var r={};return Object.keys(e).forEach((function(t){r[t]=e[t]})),Object.keys(t).forEach((function(e){r[e]=t[e]})),r}function Oe(e,t,r){return Ne(t),r||(r={}),!(!r.nocomment&&"#"===t.charAt(0))&&new Se(t,r).match(e)}function Se(e,t){if(!(this instanceof Se))return new Se(e,t);Ne(e),t||(t={}),e=e.trim(),t.allowWindowsEscape||"/"===ve.sep||(e=e.split(ve.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}function je(e,t){return t||(t=this instanceof Se?this.options:{}),e=void 0===e?this.pattern:e,Ne(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:ge(e)}Oe.filter=function(e,t){return t=t||{},function(r,n,i){return Oe(r,e,t)}},Oe.defaults=function(e){if(!e||"object"!=typeof e||!Object.keys(e).length)return Oe;var t=Oe,r=function(r,n,i){return t(r,n,$e(e,i))};return(r.Minimatch=function(r,n){return new t.Minimatch(r,$e(e,n))}).defaults=function(r){return t.defaults($e(e,r)).Minimatch},r.filter=function(r,n){return t.filter(r,$e(e,n))},r.defaults=function(r){return t.defaults($e(e,r))},r.makeRe=function(r,n){return t.makeRe(r,$e(e,n))},r.braceExpand=function(r,n){return t.braceExpand(r,$e(e,n))},r.match=function(r,n,i){return t.match(r,n,$e(e,i))},r},Se.defaults=function(e){return Oe.defaults(e).Minimatch},Se.prototype.debug=function(){},Se.prototype.make=function(){var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){});this.debug(this.pattern,r),r=this.globParts=r.map((function(e){return e.split(ke)})),this.debug(this.pattern,r),r=r.map((function(e,t,r){return e.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},Se.prototype.parseNegate=function(){var e=this.pattern,t=!1,r=this.options,n=0;if(r.nonegate)return;for(var i=0,o=e.length;i<o&&"!"===e.charAt(i);i++)t=!t,n++;n&&(this.pattern=e.substr(n));this.negate=t},Oe.braceExpand=function(e,t){return je(e,t)},Se.prototype.braceExpand=je;var Ne=function(e){if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")};Se.prototype.parse=function(e,t){Ne(e);var r=this.options;if("**"===e){if(!r.noglobstar)return ye;e="*"}if(""===e)return"";var n,i="",o=!!r.nocase,a=!1,s=[],c=[],u=!1,l=-1,f=-1,p="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",h=this;function m(){if(n){switch(n){case"*":i+=xe,o=!0;break;case"?":i+=_e,o=!0;break;default:i+="\\"+n}h.debug("clearStateChar %j %j",n,i),n=!1}}for(var d,b=0,v=e.length;b<v&&(d=e.charAt(b));b++)if(this.debug("%s\t%s %s %j",e,b,i,d),a&&Ee[d])i+="\\"+d,a=!1;else switch(d){case"/":return!1;case"\\":m(),a=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,b,i,d),u){this.debug("  in class"),"!"===d&&b===f+1&&(d="^"),i+=d;continue}h.debug("call clearStateChar %j",n),m(),n=d,r.noext&&m();continue;case"(":if(u){i+="(";continue}if(!n){i+="\\(";continue}s.push({type:n,start:b-1,reStart:i.length,open:we[n].open,close:we[n].close}),i+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,i),n=!1;continue;case")":if(u||!s.length){i+="\\)";continue}m(),o=!0;var y=s.pop();i+=y.close,"!"===y.type&&c.push(y),y.reEnd=i.length;continue;case"|":if(u||!s.length||a){i+="\\|",a=!1;continue}m(),i+="|";continue;case"[":if(m(),u){i+="\\"+d;continue}u=!0,f=b,l=i.length,i+=d;continue;case"]":if(b===f+1||!u){i+="\\"+d,a=!1;continue}var g=e.substring(f+1,b);try{RegExp("["+g+"]")}catch(R){var w=this.parse(g,Ae);i=i.substr(0,l)+"\\["+w[0]+"\\]",o=o||w[1],u=!1;continue}o=!0,u=!1,i+=d;continue;default:m(),a?a=!1:!Ee[d]||"^"===d&&u||(i+="\\"),i+=d}u&&(g=e.substr(f+1),w=this.parse(g,Ae),i=i.substr(0,l)+"\\["+w[0],o=o||w[1]);for(y=s.pop();y;y=s.pop()){var _=i.slice(y.reStart+y.open.length);this.debug("setting tail",i,y),_=_.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n   %s",_,_,y,i);var x="*"===y.type?xe:"?"===y.type?_e:"\\"+y.type;o=!0,i=i.slice(0,y.reStart)+x+"\\("+_}m(),a&&(i+="\\\\");var E=!1;switch(i.charAt(0)){case"[":case".":case"(":E=!0}for(var k=c.length-1;k>-1;k--){var $=c[k],O=i.slice(0,$.reStart),S=i.slice($.reStart,$.reEnd-8),j=i.slice($.reEnd-8,$.reEnd),N=i.slice($.reEnd);j+=N;var A=O.split("(").length-1,P=N;for(b=0;b<A;b++)P=P.replace(/\)[+*?]?/,"");var L="";""===(N=P)&&t!==Ae&&(L="$"),i=O+S+N+L+j}""!==i&&o&&(i="(?=.)"+i);E&&(i=p+i);if(t===Ae)return[i,o];if(!o)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var C=r.nocase?"i":"";try{var T=new RegExp("^"+i+"$",C)}catch(R){return new RegExp("$.")}return T._glob=e,T._src=i,T};var Ae={};Oe.makeRe=function(e,t){return new Se(e,t||{}).makeRe()},Se.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,r=t.noglobstar?xe:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=t.nocase?"i":"",i=e.map((function(e){return e.map((function(e){return e===ye?r:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,n)}catch(o){this.regexp=!1}return this.regexp},Oe.match=function(e,t,r){var n=new Se(t,r=r||{});return e=e.filter((function(e){return n.match(e)})),n.options.nonull&&!e.length&&e.push(t),e},Se.prototype.match=function(e,t){if(void 0===t&&(t=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var r=this.options;"/"!==ve.sep&&(e=e.split(ve.sep).join("/")),e=e.split(ke),this.debug(this.pattern,"split",e);var n,i,o=this.set;for(this.debug(this.pattern,"set",o),i=e.length-1;i>=0&&!(n=e[i]);i--);for(i=0;i<o.length;i++){var a=o[i],s=e;if(r.matchBase&&1===a.length&&(s=[n]),this.matchOne(s,a,t))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},Se.prototype.matchOne=function(e,t,r){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var i=0,o=0,a=e.length,s=t.length;i<a&&o<s;i++,o++){this.debug("matchOne loop");var c,u=t[o],l=e[i];if(this.debug(t,u,l),!1===u)return!1;if(u===ye){this.debug("GLOBSTAR",[t,u,l]);var f=i,p=o+1;if(p===s){for(this.debug("** at the end");i<a;i++)if("."===e[i]||".."===e[i]||!n.dot&&"."===e[i].charAt(0))return!1;return!0}for(;f<a;){var h=e[f];if(this.debug("\nglobstar while",e,f,t,p,h),this.matchOne(e.slice(f),t.slice(p),r))return this.debug("globstar found match!",f,a,h),!0;if("."===h||".."===h||!n.dot&&"."===h.charAt(0)){this.debug("dot detected!",e,f,t,p);break}this.debug("globstar swallow a segment, and continue"),f++}return!(!r||(this.debug("\n>>> no match, partial?",e,f,t,p),f!==a))}if("string"==typeof u?(c=l===u,this.debug("string match",u,l,c)):(c=l.match(u),this.debug("pattern match",u,l,c)),!c)return!1}if(i===a&&o===s)return!0;if(i===a)return r;if(o===s)return i===a-1&&""===e[i];throw new Error("wtf?")};const Pe=H(be);function Le(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function Ce(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){Le(o,n,i,a,s,"next",e)}function s(e){Le(o,n,i,a,s,"throw",e)}a(void 0)}))}}var Te={exports:{}},Re={exports:{}};!function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Re);var Me=Re.exports;!function(e){var t=Me.default;function r(){e.exports=r=function(){return i},e.exports.__esModule=!0,e.exports.default=e.exports;var n,i={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(R){p=function(e,t,r){return e[t]=r}}function h(e,t,r,n){var i=t&&t.prototype instanceof w?t:w,o=Object.create(i.prototype),a=new C(n||[]);return s(o,"_invoke",{value:N(e,r,a)}),o}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(n){return{type:"throw",arg:n}}}i.wrap=h;var d="suspendedStart",b="suspendedYield",v="executing",y="completed",g={};function w(){}function _(){}function x(){}var E={};p(E,u,(function(){return this}));var k=Object.getPrototypeOf,$=k&&k(k(T([])));$&&$!==o&&a.call($,u)&&(E=$);var O=x.prototype=w.prototype=Object.create(E);function S(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,r){function n(i,o,s,c){var u=m(e[i],e,o);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==t(f)&&a.call(f,"__await")?r.resolve(f.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):r.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,c)}))}c(u.arg)}var i;s(this,"_invoke",{value:function(e,t){function o(){return new r((function(r,i){n(e,t,r,i)}))}return i=i?i.then(o,o):o()}})}function N(e,t,r){var i=d;return function(o,a){if(i===v)throw Error("Generator is already running");if(i===y){if("throw"===o)throw a;return{value:n,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var c=A(s,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===d)throw i=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=v;var u=m(e,t,r);if("normal"===u.type){if(i=r.done?y:b,u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=y,r.method="throw",r.arg=u.arg)}}}function A(e,t){var r=t.method,i=e.iterator[r];if(i===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=m(i,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,g;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,g):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,g)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function t(){for(;++i<e.length;)if(a.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}throw new TypeError(t(e)+" is not iterable")}return _.prototype=x,s(O,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:_,configurable:!0}),_.displayName=p(x,f,"GeneratorFunction"),i.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},i.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,p(e,f,"GeneratorFunction")),e.prototype=Object.create(O),e},i.awrap=function(e){return{__await:e}},S(j.prototype),p(j.prototype,l,(function(){return this})),i.AsyncIterator=j,i.async=function(e,t,r,n,o){void 0===o&&(o=Promise);var a=new j(h(e,t,r,n),o);return i.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(O),p(O,f,"Generator"),p(O,u,(function(){return this})),p(O,"toString",(function(){return"[object Generator]"})),i.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},i.values=T,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(L),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;L(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),g}},i}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(Te);var Ie=(0,Te.exports)(),De=Ie;try{regeneratorRuntime=Ie}catch(Or){"object"==typeof globalThis?globalThis.regeneratorRuntime=Ie:Function("r","regeneratorRuntime = r")(Ie)}const qe=H(De);var Be=null;function Ue(){return ze.apply(this,arguments)}function ze(){return(ze=Ce(qe.mark((function e(){return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Be){e.next=2;break}return e.abrupt("return",Be);case 2:if(!window.__MONITOR__){e.next=5;break}return Be=new window.__MONITOR__({biz:"adc-core"}),e.abrupt("return",Be);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Fe(e){return We.apply(this,arguments)}function We(){return(We=Ce(qe.mark((function e(t){var r;return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,Ue();case 3:(r=e.sent)&&r.report({level:"warn",message:t});case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ge(){return(Ge=Ce(qe.mark((function e(t){var r;return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,Ue();case 3:(r=e.sent)&&r.report({level:"error",message:t});case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function He(e){return Ve.apply(this,arguments)}function Ve(){return(Ve=Ce(qe.mark((function e(t){var r;return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ue();case 2:(r=e.sent)&&r.report(t);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Xe=Symbol("flag"),Ye=new Map;function Ze(e,t){var r;Ye.has(e)||Ye.set(e,[]),null===(r=Ye.get(e))||void 0===r||r.push(t)}function Je(e,t){return t[Xe]={once:!0},Ze(e,t)}function Ke(e,t){if(Ye.has(e))if(t){var r,n=Ye.get(e).indexOf(t);if(-1!==n)null===(r=Ye.get(e))||void 0===r||r.splice(n,1)}else Ye.delete(e)}function Qe(e,t,r){if(t=[e.name,t].join(":"),Ye.has(t)){var n=Ye.get(t);n.forEach((function(n){try{n({data:r})}catch(i){He({type:"event-emit-error",app:e.name,event:t,error:i.message})}})),Ye.set(t,n.filter((function(e){var t=e[Xe];return!t||!t.once})))}}function et(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function tt(e,t){if(e){if("string"==typeof e)return et(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?et(e,t):void 0}}function rt(e){return function(e){if(Array.isArray(e))return et(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||tt(e)||function(){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 nt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e){return(it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ot(e){var t=function(e,t){if("object"!=it(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=it(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==it(t)?t:t+""}function at(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ot(n.key),n)}}function st(e,t,r){return t&&at(e.prototype,t),r&&at(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ct(e,t,r){return(t=ot(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ut=/\.aliyun\.com$/.test(location.hostname);function lt(e){return new Promise((function(t,r){var n=document.createElement("script");n.src=e,ut&&(n.crossOrigin=""),n.onload=t,n.onerror=function(t){He({type:"script-load-error",url:e}),r(t)},document.body.appendChild(n)}))}var ft=null;function pt(){return ht.apply(this,arguments)}function ht(){return(ht=Ce(qe.mark((function e(){return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!window.biu){e.next=2;break}return e.abrupt("return");case 2:return ft||(ft=lt("https://cloud-assets.alicdn.com/alicdn/code/npm/@ali/biu-loader/latest/index.js")),e.next=5,ft;case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var mt=function(e){if(!window.biu){var t="\u9875\u9762\u4e2d\u672a\u5f15\u5165 biu-loader";throw function(e){Ge.apply(this,arguments)}(t),new Error(t)}return window.biu.require(e)},dt=function(){try{return"pre"===new URL(location.href).searchParams.get("adc-app-env")}catch(e){return!1}}(),bt=[],vt=null,yt=new Map;function gt(e){return wt.apply(this,arguments)}function wt(){return wt=Ce(qe.mark((function e(t){var r,n;return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="@ali/aliyun-com-adc-app-".concat(t),e.next=3,pt();case 3:if(!(n=mt(r))){e.next=6;break}return e.abrupt("return",n);case 6:if(!yt.has(t)){e.next=11;break}return e.next=9,yt.get(t);case 9:e.next=14;break;case 11:return vt?-1===bt.indexOf(t)&&bt.push(t):(bt=[t],vt=Promise.resolve().then((function(){var e;e=dt?Promise.all(bt.map(function(){var e=Ce(qe.mark((function e(t){var r;return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="https://aliyun-com-air-cloud-assets-er.pre-air-er.taobao.com/adc/app/v2/".concat(t,".js"),e.next=3,lt(r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())):Promise.all(bt.map(function(){var e=Ce(qe.mark((function e(t){var r;return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r="https://cloud-assets.alicdn.com/adc/app/v2/".concat(t,".js"),e.next=3,lt(r);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));var t=rt(bt);return t.forEach((function(e){yt.set(e,vt)})),vt=null,e.then((function(){t.forEach((function(e){yt.delete(e)}))})).catch((function(){t.forEach((function(e){yt.delete(e)}))}))}))),e.next=14,vt;case 14:return e.abrupt("return",mt(r));case 15:case"end":return e.stop()}}),e)}))),wt.apply(this,arguments)}var _t=function(){return st((function e(t){nt(this,e),ct(this,"_subscribe",void 0),t&&(this._subscribe=t)}),[{key:"subscribe",value:function(e){var t;return this._subscribe&&(t=this._subscribe({next:function(t){e(t)}})),{unsubscribe:function(){t&&t()}}}}])}(),xt="__property_change__",Et="__app_register__",kt="__app_unregister__",$t=function(){return st((function e(t){nt(this,e),ct(this,"$options",void 0),ct(this,"$listeners",void 0),ct(this,"$subscriptions",void 0),ct(this,"$isDestructed",!1),this.$options=t,this.$listeners=new Map,this.$subscriptions=[],St(this)}),[{key:"name",get:function(){return this.$options.name}},{key:"priority",get:function(){return"number"==typeof this.$options.priority?this.$options.priority:10}},{key:"destructor",value:(e=Ce(qe.mark((function e(){return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.$isDestructed=!0,this.$listeners.forEach((function(e,t){e.forEach((function(e){Ke(t,e)}))})),this.$listeners.clear(),this.$subscriptions.forEach((function(e){e.unsubscribe()})),this.$subscriptions=[];case 5:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"$emit",value:function(e,t){this.$isDestructed||Qe(this,e,t)}},{key:"$on",value:function(e,t){var r;if(!this.$isDestructed)return this.$listeners.has(e)||this.$listeners.set(e,[]),null===(r=this.$listeners.get(e))||void 0===r||r.push(t),Ze(e,t)}},{key:"$once",value:function(e,t){var r;if(!this.$isDestructed)return this.$listeners.has(e)||this.$listeners.set(e,[]),null===(r=this.$listeners.get(e))||void 0===r||r.push(t),Je(e,t)}},{key:"$off",value:function(e,t){if(!this.$isDestructed){var r=this.$listeners.get(e);if(r){var n=r.indexOf(t);-1!==n&&r.splice(n,1)}return Ke(e,t)}}},{key:"$watch",value:function(e,t){var r=this;if(!this.$isDestructed){var n=It(e,t);return new _t((function(e){var t=n.subscribe((function(t){e.next(t)}));return r.$subscriptions.push(t),function(){t.unsubscribe();var e=r.$subscriptions.indexOf(t);-1!==e&&r.$subscriptions.splice(e,1)}}))}}},{key:"$nextProperty",value:function(e,t){this.$isDestructed||Qe(this,xt+e,t)}}]);var e}(),Ot=new Map;function St(e){return jt.apply(this,arguments)}function jt(){return(jt=Ce(qe.mark((function e(t){var r;return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Ot.has(t.name)){e.next=17;break}if(r=Ot.get(t.name),!(t.priority<r.priority)){e.next=11;break}return e.next=8,r.destructor();case 8:Qe(r,kt),e.next=17;break;case 11:return Fe("\u5e94\u7528 ".concat(t.name," \u91cd\u590d\u6ce8\u518c\uff1a")),e.next=16,t.destructor();case 16:return e.abrupt("return");case 17:Ot.set(t.name,t),Qe(t,Et);case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Nt(e){return Ot.has(e)}function At(e){return Pt.apply(this,arguments)}function Pt(){return Pt=Ce(qe.mark((function e(t){var r,n,i,o=arguments;return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},Ot.has(t)){e.next=17;break}if(!1!==r.loadIfNotExists){e.next=6;break}return e.abrupt("return",new Promise((function(e){Je([t,Et].join(":"),(function(){var r=Ot.get(t);e(r)}))})));case 6:return e.next=8,gt(t);case 8:if(n=e.sent){e.next=12;break}throw He({type:"app-load-fail",app:t}),new Error("\u5e94\u7528 ".concat(t," \u52a0\u8f7d\u5931\u8d25"));case 12:if(Ot.has(t)){e.next=17;break}if(new n({name:t}),Ot.has(t)){e.next=17;break}throw He({type:"app-unregister",app:t}),new Error("\u8981\u8c03\u7528\u7684\u5e94\u7528 ".concat(t," \u672a\u6ce8\u518c\uff0c\u53ef\u80fd\u7684\u539f\u56e0\u662f\u5e94\u7528\u5185\u90e8\u5b9e\u4f8b\u5316\u65f6\u5199\u6b7b\u4e86\u5e94\u7528\u540d"));case 17:return i=Ot.get(t),e.abrupt("return",i);case 19:case"end":return e.stop()}}),e)}))),Pt.apply(this,arguments)}function Lt(){return Lt=Ce(qe.mark((function e(t){var r=arguments;return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("string"==typeof t&&(t=[t]),!1!==(r.length>1&&void 0!==r[1]?r[1]:{}).register){e.next=7;break}return e.next=5,t.map((function(e){return gt(e)}));case 5:e.next=9;break;case 7:return e.next=9,t.map((function(e){return At(e)}));case 9:case"end":return e.stop()}}),e)}))),Lt.apply(this,arguments)}function Ct(e,t){return Tt.apply(this,arguments)}function Tt(){return(Tt=Ce(qe.mark((function e(t,r){var n;return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,At(t);case 2:return n=e.sent,e.abrupt("return",n[r]);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Rt(e,t){return Mt.apply(this,arguments)}function Mt(){return Mt=Ce(qe.mark((function e(t,r){var n,i,o,a=arguments;return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=a.length>2&&void 0!==a[2]?a[2]:[],e.next=3,At(t);case 3:if((i=e.sent)[r]){e.next=7;break}throw He({type:"method-nofound",app:t,method:r}),new Error("\u5e94\u7528 ".concat(t," \u4e0a\u4e0d\u5b58\u5728\u65b9\u6cd5 ").concat(r));case 7:return e.prev=7,o=i[r].apply(i,rt(n)),e.abrupt("return",o);case 12:e.prev=12,e.t0=e.catch(7),He({type:"bridge-call-error",app:t,method:r,params:n,error:e.t0.message});case 15:case"end":return e.stop()}}),e,null,[[7,12]])}))),Mt.apply(this,arguments)}function It(e,t){return new _t((function(r){Nt(e)?Ct(e,t).then((function(e){r.next(e)})):At(e);var n="".concat(e,":").concat(xt).concat(t),i=function(e){r.next(e.data)};Ze(n,i);var o="".concat(e,":").concat(Et),a=function(){Ct(e,t).then((function(e){r.next(e)}))};return Ze(o,a),function(){Ke(n,i),Ke(o,a)}}))}var Dt=[],qt=document.body;function Bt(e,t){if("string"==typeof e){var r=new URL(e);e={protocol:r.protocol,hostname:r.hostname,pathname:r.pathname}}e.protocol&&!/:$/.test(e.protocol)&&(e.protocol+=":"),e.pathname&&(e.pathname=e.pathname.replace(/\/$/g,""));var n=function(r){var n=function(e,t){if(!e)return null;if(e.composedPath)return e.composedPath().find((function(e){return e&&-1!==t.indexOf(e.tagName)}));for(var r=e.target;r&&-1===t.indexOf(r.tagName)&&r!==qt;)r=r.parentElement;return r?r===qt?null:r:null}(r,["A"]);if(n&&"A"===n.tagName){var i=n.href;if(!i)return;var o=new URL(i);if(Object.keys(e).some((function(t){var r=o[t];return"pathname"===t&&(r=r.replace(/\/$/g,"")),r!==e[t]})))return;return t(n,o)}};return Dt.push(n),function(){var e=Dt.indexOf(n);-1!==e&&Dt.splice(e,1)}}function Ut(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],c=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(l){u=!0,i=l}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||tt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var zt="__ADC_CORE__",Ft=Symbol("__ADC_CORE_DEBUG__");window[zt]||(!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"click",r=function(e){var t=e.target;if(t){var r=t.tagName;if(r){var n=window.$$customElementInfos;n&&n[r.toLowerCase()]&&e.originalEvent&&(e=e.originalEvent),Dt.some((function(t){return t(e)}))&&e.preventDefault()}}};e.addEventListener(t,r)}(window),Bt({protocol:"adc"},(function(e,t){var r=Ut(t.pathname.replace(/^\/\//,"").split("/"),2),n=r[0],i=r[1],o={};return t.searchParams.forEach((function(e,t){o[t]=e})),Rt(n,i,[o]),!0})),window[zt]={event:{on:Ze,once:Je,off:Ke},bridge:{get:Ct,call:Rt,watch:It},uriScheme:{register:Bt},App:$t,getApp:function(e,t){return At(e,t).then((function(e){return function(e){return new Proxy({},{get:function(t,r){if("on"===r)return function(t,r){return Ze(t=[e.name,t].join(":"),r)};if("off"===r)return function(t,r){return Ke(t=[e.name,t].join(":"),r)};if(/\$$/.test(r))return r=r.replace(/\$$/,""),It(e.name,r);var n=e[r];return"function"==typeof n?function(){return n.apply(void 0,arguments)}:n}})}(e)}))},hasApp:Nt,preloadApp:function(e){return Lt.apply(this,arguments)}},window[Ft]={apps:Ot,registerApp:St,loadApp:gt,PROPERTY_CHANGE_EVENT_PREFIX:xt,APP_REGISTER_EVENT:Et,APP_UNREGISTER_EVENT:kt,listeners:Ye,listenFlag:Xe,emit:Qe});const Wt=window[zt];Wt.event;var Gt=Wt.bridge;Wt.uriScheme,Wt.App,Wt.getApp,Wt.hasApp,Wt.preloadApp;const Ht=function({h5BottomBar:e}){return p.useEffect((function(){if(!e)return;const{navs:t,effectiveScope:r}=e;if(!Array.isArray(t)||0===t.length)return;const n=Vt(location.href);if(r){if(r.whitelist&&!r.whitelist.filter((e=>!!e)).some((e=>Pe(n,Vt(e)))))return;if(r.blacklist&&r.blacklist.filter((e=>!!e)).some((e=>Pe(n,Vt(e)))))return}return Gt.call("bottom-nav-bar","setNavs",[t]),function(){Gt.call("bottom-nav-bar","setNavs",[[]])}}),[e]),null};function Vt(e){return e?e.replace(/^https?:\/\/(pre\-)?/,"").split("#")[0].split("?")[0].replace(/\/$/,""):e}const Xt={container:"_4b41e3343c851a7a8833c9165b249eb2_container","mobile-container":"_4b41e3343c851a7a8833c9165b249eb2_mobile-container",blogroll:"_4b41e3343c851a7a8833c9165b249eb2_blogroll","blogroll-item":"_4b41e3343c851a7a8833c9165b249eb2_blogroll-item","item-bottom":"_4b41e3343c851a7a8833c9165b249eb2_item-bottom",title:"_4b41e3343c851a7a8833c9165b249eb2_title",content:"_4b41e3343c851a7a8833c9165b249eb2_content",logo:"_4b41e3343c851a7a8833c9165b249eb2_logo",WeiBo:"_4b41e3343c851a7a8833c9165b249eb2_WeiBo",WeChat:"_4b41e3343c851a7a8833c9165b249eb2_WeChat",presale:"_4b41e3343c851a7a8833c9165b249eb2_presale","alyun-logo":"_4b41e3343c851a7a8833c9165b249eb2_alyun-logo",copyright:"_4b41e3343c851a7a8833c9165b249eb2_copyright","ali-report-wrap":"_4b41e3343c851a7a8833c9165b249eb2_ali-report-wrap","about-link-wrap":"_4b41e3343c851a7a8833c9165b249eb2_about-link-wrap","ali-report-link":"_4b41e3343c851a7a8833c9165b249eb2_ali-report-link","ali-report-img":"_4b41e3343c851a7a8833c9165b249eb2_ali-report-img","ali-report-link-text":"_4b41e3343c851a7a8833c9165b249eb2_ali-report-link-text","ali-report-link-text-unique":"_4b41e3343c851a7a8833c9165b249eb2_ali-report-link-text-unique"};function Yt(e){return t=this,r=null,n=function*(){if(e){const t=yield window.$ACE.get("Delivery"),r=yield t.fetch(e),{rawData:n={},aliothData:i={}}=r||{},{defaultData:o}=i;return{rawData:n,defaultData:o}}return{}},new Promise(((e,i)=>{var o=e=>{try{s(n.next(e))}catch(t){i(t)}},a=e=>{try{s(n.throw(e))}catch(t){i(t)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,a);s((n=n.apply(t,r)).next())}));var t,r,n}function Zt({h5OmitUA:e,h5DeliveryId:t,h5IsShow:r,h5HandleConfig:n,h5FriendLinks:i,h5Copyright:o,reportList:a,isMobile:s,h5BottomBar:c}){const[u,l]=p.useState(null),[f,h]=p.useState(!1);return p.useEffect((function(){n||!r||function(e){const t=navigator.userAgent;return!!e&&e.split(",").some((e=>t.indexOf(e)>-1))}(e)||Yt(t).then((function({rawData:e,defaultData:t}){h(t),e&&e.infoList&&e.infoList[0]&&l(e.infoList[0])}))}),[]),s?p.createElement("footer",{className:Xt.container,"aria-label":"\u79fb\u52a8\u7aef\u9875\u5c3e"},n||u&&!f?p.createElement(G,{h5HandleConfig:n,deliveryInfo:u}):null,p.createElement("div",{className:Xt["mobile-container"]},p.createElement("div",{className:Xt.blogroll},p.createElement("div",{className:Xt.ul},p.createElement("div",{className:`${Xt["blogroll-item"]} ${Xt["item-bottom"]}`},p.createElement("div",{className:Xt.title},"\u5173\u6ce8\u6211\u4eec\uff1a"),p.createElement("a",{className:Xt.content,href:"https://weibo.com/u/1644971875"},"\u65b0\u6d6a\u5fae\u535a ",p.createElement("div",{className:`${Xt.logo} ${Xt.WeiBo}`}))))),p.createElement("a",{href:"https://www.aliyun.com/contact",className:Xt.presale},"\u8054\u7cfb\u6211\u4eec"),p.createElement("div",{className:Xt["about-link-wrap"]},i.map(((e,t)=>p.createElement(p.Fragment,null,p.createElement("a",{href:e.href},e.title)," ",i.length>t+1&&" | "," ")))),p.createElement("img",{className:Xt["alyun-logo"],alt:"\u963f\u91cc\u4e91",src:"https://img.alicdn.com/tfs/TB13DzOjXP7gK0jSZFjXXc5aXXa-212-48.png"}),p.createElement("div",{className:Xt.copyright},p.createElement("a",{href:"http://terms.aliyun.com/legal-agreement/terms/suit_bu1_ali_cloud/suit_bu1_ali_cloud201902141711_54837.html",target:"_blank"},"\u6cd5\u5f8b\u58f0\u660e\u53ca\u9690\u79c1\u6743\u653f\u7b56")," | ",p.createElement("a",{href:"https://terms.alicdn.com/legal-agreement/terms/platform_service/20220906101446934/20220906101446934.html",target:"_blank"},"Cookies\u653f\u7b56")),p.createElement("div",{className:Xt.copyright,dangerouslySetInnerHTML:{__html:o}}),p.createElement("div",{className:Xt["ali-report-wrap"]},a.map(((e,t)=>{const{logoSrc:r,reportLink:n,reportText:i}=e;return p.createElement("a",{href:n||"",target:"_blank",className:Xt["ali-report-link"],key:`ali-report-${t}`},r&&p.createElement("img",{src:r,className:Xt["ali-report-img"]}),i&&p.createElement("span",{className:r?Xt["ali-report-link-text"]:`${Xt["ali-report-link-text"]} ${Xt["ali-report-link-text-unique"]}`},i))})))),p.createElement(Ht,{h5BottomBar:c})):p.createElement("footer",{className:Xt.container,"aria-label":"\u79fb\u52a8\u7aef\u9875\u5c3e"})}function Jt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Kt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Jt(Object(r),!0).forEach((function(t){ct(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Jt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Qt=(Date.now()+Math.random()).toString(36).replace(".","");function er(e,t){return tr.apply(this,arguments)}function tr(){return(tr=Ce(qe.mark((function e(t,r){var n,i,o;return qe.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==t.length){e.next=2;break}return e.abrupt("return",Promise.resolve(!0));case 2:if(n="".concat("https://www.aliyun.com/api/log","/").concat(r.biz||"unknown"),i=JSON.stringify(t.map((function(e){return Kt(Kt({},e),{},{sessionId:Qt})}))),!navigator.sendBeacon){e.next=9;break}return o=navigator.sendBeacon(n,i),e.abrupt("return",Promise.resolve(o));case 9:return e.next=11,fetch(n,{method:"POST",body:i});case 11:if(200!==e.sent.status){e.next=14;break}return e.abrupt("return",!0);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var rr=!1,nr=new Map,ir=function(){return st((function e(t){if(nt(this,e),ct(this,"queue",void 0),ct(this,"reporter",void 0),ct(this,"listeners",void 0),ct(this,"options",void 0),nr.has(t.biz))return nr.get(t.biz);nr.set(t.biz,this),this.options=t,this.queue=[],this.listeners={},rr||(window.addEventListener("beforeunload",(function(){nr.forEach((function(e){e.emit("beforeunload"),er(e.queue,{biz:e.options.biz})}))})),rr=!0)}),[{key:"report",value:function(e){var t=this;Array.isArray(e)?this.queue=[].concat(rt(this.queue),rt(e)):this.queue.push(e),this.reporter||(this.reporter=Promise.resolve().then((function(){er(t.queue,{biz:t.options.biz}),t.queue=[],t.reporter=null})))}},{key:"on",value:function(e,t){var r=this;return this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t),function(){return r.off(e,t)}}},{key:"off",value:function(e,t){if(this.listeners[e]){var r=this.listeners[e].indexOf(t);-1!==r&&this.listeners[e].splice(r,1)}}},{key:"emit",value:function(e){this.listeners[e]&&this.listeners[e].forEach((function(e){e()}))}}])}(),or="__MONITOR__";window[or]||(window[or]=ir);var ar=window[or];const sr=new(function(){return st((function e(){nt(this,e),ct(this,"interval",100),ct(this,"tasks",void 0),ct(this,"runing",!1),ct(this,"timeoutHandler",null),this.tasks=[]}),[{key:"run",value:function(){var e=this;this.runing&&(this.tasks.forEach((function(e){e()})),this.timeoutHandler=setTimeout((function(){e.timeoutHandler=null,e.run()}),this.interval))}},{key:"start",value:function(){this.runing||(this.runing=!0,this.run())}},{key:"stop",value:function(){this.runing&&(this.runing=!1,this.timeoutHandler&&clearTimeout(this.timeoutHandler))}},{key:"addTask",value:function(e){this.tasks.push(e),this.start()}},{key:"removeTask",value:function(e){var t=this.tasks.indexOf(e);-1!==t&&(this.tasks.splice(t,1),0===this.tasks.length&&this.stop())}}])}());function cr(e){var t=document.querySelector(e);return!t&&window.$$customElementInfos&&Object.keys(window.$$customElementInfos).some((function(r){return window.$$customElementInfos[r].instances.some((function(r){if(r.shadowRoot&&(t=r.shadowRoot.querySelector(e)))return!0}))})),t}function ur(e){var t=Array.from(document.querySelectorAll(e));return window.$$customElementInfos&&Object.keys(window.$$customElementInfos).some((function(r){return window.$$customElementInfos[r].instances.some((function(r){if(r.shadowRoot){var n=Array.from(r.shadowRoot.querySelectorAll(e));if(n.length)return t=[].concat(rt(t),n),!0}}))})),t}var lr=st((function e(t){nt(this,e),ct(this,"schema",void 0),ct(this,"monitor",void 0),ct(this,"cycleTask",sr),ct(this,"querySelector",cr),ct(this,"querySelectorAll",ur),this.schema=t,this.monitor=new ar({biz:t.biz})})),fr={exports:{}},pr="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(pr){var hr=new Uint8Array(16);fr.exports=function(){return pr(hr),hr}}else{var mr=new Array(16);fr.exports=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),mr[t]=e>>>((3&t)<<3)&255;return mr}}for(var dr=fr.exports,br=[],vr=0;vr<256;++vr)br[vr]=(vr+256).toString(16).substr(1);var yr=function(e,t){var r=t||0,n=br;return[n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]]].join("")},gr=dr,wr=yr;var _r=function(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||gr)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var o=0;o<16;++o)t[n+o]=i[o];return t||wr(i)};const xr=H(_r);function Er(){return window.innerWidth>1055?"pc":"mobile"}class kr extends lr{constructor(e){super(e),this.uuid=xr(),this.categories=[],this.renderCompleted=!1,this.setupCategoryCountMonitor(),this.setupWhiteScreenMonitor()}report(e){this.monitor.report(f(l({},e),{uuid:this.uuid,terminal:Er()}))}setupCategoryCountMonitor(){let e=!0,t=!1;this.cycleTask.addTask((()=>{const r=document.querySelector(".ace-homepage-2020-hmod-footer.pc");this.categories=r?Array.from(r.querySelectorAll(".ali-main-services")):[];const n=this.categories.length;e?(e=!1,n>0&&this.renderComplete(!0)):n>0?this.renderCompleted||this.renderComplete(!1):this.renderCompleted&&!t&&(this.report({type:"render-error",time:performance.now()}),t=!0)}))}setupWhiteScreenMonitor(){this.monitor.on("beforeunload",(()=>{this.renderCompleted||this.report({type:"render-time",time:performance.now(),count:0})}))}renderComplete(e){this.report({type:"render-time",time:e?0:performance.now(),count:this.categories.length}),this.renderCompleted=!0}}class $r extends lr{constructor(e){super(e),this.uuid=xr(),this.renderCompleted=!1,this.setupNavMonitor(),this.setupWhiteScreenMonitor()}report(e){this.monitor.report(f(l({},e),{uuid:this.uuid,terminal:Er()}))}setupNavMonitor(){let e=!0,t=!1;this.cycleTask.addTask((()=>{const r=document.querySelector(".ace-homepage-2020-hmod-footer.mobile"),n=r?r.querySelector(".presale"):null,i=r?r.querySelector(".alyun-logo"):null,o=n&&i;e?(e=!1,o&&this.renderComplete(!0)):o?this.renderCompleted||this.renderComplete(!1):this.renderCompleted&&!t&&(this.report({type:"h5-render-error",time:performance.now()}),t=!0)}))}setupWhiteScreenMonitor(){this.monitor.on("beforeunload",(()=>{this.renderCompleted||this.report({type:"h5-render-time",time:performance.now(),isReady:!1})}))}renderComplete(e){this.report({type:"h5-render-time",time:e?0:performance.now(),isReady:!0}),this.renderCompleted=!0}}try{window.innerWidth>1055?new kr({biz:"footer"}):new $r({biz:"footer"})}catch(Sr){window.console.error(Sr)}r.exports=function({mode:e,copyright:t,h5OmitUA:r,h5DeliveryId:n,h5IsShow:i,h5FriendLinks:o=[],h5HandleConfig:a,h5Copyright:s="",advantages:c,mainServices:u,focusUs:l,h5BottomBar:f}){const{reportList:h=[]}=t,[m,d]=p.useState(window.innerWidth<1056);return p.useEffect((function(){const e=function(){const e=window.innerWidth<1056;d(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),p.createElement(p.Fragment,null,p.createElement(U,{mode:e,copyright:t,advantages:c,mainServices:u,focusUs:l,isMobile:m}),p.createElement(Zt,{h5OmitUA:r,h5DeliveryId:n,h5IsShow:i,h5HandleConfig:a,h5FriendLinks:o,h5Copyright:s,reportList:h,isMobile:m,h5BottomBar:f}))}}));
biu.define({name:"@ali/hmod-lowcode-normal-page",version:"0.1.0",dependencies:{}},(function(e,i,n){"use strict";n.exports=function(e){var i,n;return(null==(i=e.mobile)?void 0:i.isDeliveryToAlipay)&&function(e){if((/AppleWebKit.*Mobile/i.test(e)||/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(e))&&/Android|webOS|iPhone|BlackBerry|iPod|Windows Phone/i.test(e))return!0;return!1}(navigator.userAgent)&&(n="https://cloud-assets.alicdn.com/alicdn/aliyun/h5-in-miniapp-bridge/latest/index.js",new Promise((function(e,i){const o=document.createElement("script");o.src=n,o.crossOrigin="",o.onload=e,o.onerror=i,document.body.appendChild(o)}))),e.children}}));
