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-aliyun-com-floating-toolbar",version:"0.2.6",dependencies:{react:"^16.8.1"}},function(t,e,r){"use strict";const n=t("react");var o=(t=>(t.pc="pc",t.mobile="mobile",t))(o||{});function i(t,e,r,n,o,i,u){try{var a=t[i](u),c=a.value}catch(s){return void r(s)}a.done?e(c):Promise.resolve(c).then(n,o)}function u(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var u=t.apply(e,r);function a(t){i(u,n,o,a,c,"next",t)}function c(t){i(u,n,o,a,c,"throw",t)}a(void 0)})}}function a(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var c,s={exports:{}},f={exports:{}};(c=f).exports=function(t,e){this.v=t,this.k=e},c.exports.__esModule=!0,c.exports.default=c.exports;var p=f.exports,l={exports:{}},h={exports:{}};!function(t){function e(r,n,o,i){var u=Object.defineProperty;try{u({},"",{})}catch(a){u=0}t.exports=e=function(t,r,n,o){function i(r,n){e(t,r,function(t){return this._invoke(r,n,t)})}r?u?u(t,r,{value:n,enumerable:!o,configurable:!o,writable:!o}):t[r]=n:(i("next",0),i("throw",1),i("return",2))},t.exports.__esModule=!0,t.exports.default=t.exports,e(r,n,o,i)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(h);var v=h.exports;!function(t){var e=v;function r(){
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
var n,o,i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",a=i.toStringTag||"@@toStringTag";function c(t,r,i,u){var a=r&&r.prototype instanceof f?r:f,c=Object.create(a.prototype);return e(c,"_invoke",function(t,e,r){var i,u,a,c=0,f=r||[],p=!1,l={p:0,n:0,v:n,a:h,f:h.bind(n,4),d:function(t,e){return i=t,u=0,a=n,l.n=e,s}};function h(t,e){for(u=t,a=e,o=0;!p&&c&&!r&&o<f.length;o++){var r,i=f[o],h=l.p,v=i[2];t>3?(r=v===e)&&(a=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=n):i[0]<=h&&((r=t<2&&h<i[1])?(u=0,l.v=e,l.n=i[1]):h<v&&(r=t<3||i[0]>e||e>v)&&(i[4]=t,i[5]=e,l.n=v,u=0))}if(r||t>1)return s;throw p=!0,e}return function(r,f,v){if(c>1)throw TypeError("Generator is already running");for(p&&1===f&&h(f,v),u=f,a=v;(o=u<2?n:a)||!p;){i||(u?u<3?(u>1&&(l.n=-1),h(u,a)):l.n=a:l.v=a);try{if(c=2,i){if(u||(r="next"),o=i[r]){if(!(o=o.call(i,a)))throw TypeError("iterator result is not an object");if(!o.done)return o;a=o.value,u<2&&(u=0)}else 1===u&&(o=i.return)&&o.call(i),u<2&&(a=TypeError("The iterator does not provide a '"+r+"' method"),u=1);i=n}else if((o=(p=l.n<0)?a:t.call(e,l))!==s)break}catch(d){i=n,u=1,a=d}finally{c=1}}return{value:o,done:p}}}(t,i,u),!0),c}var s={};function f(){}function p(){}function l(){}o=Object.getPrototypeOf;var h=[][u]?o(o([][u]())):(e(o={},u,function(){return this}),o),v=l.prototype=f.prototype=Object.create(h);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,e(t,a,"GeneratorFunction")),t.prototype=Object.create(v),t}return p.prototype=l,e(v,"constructor",l),e(l,"constructor",p),p.displayName="GeneratorFunction",e(l,a,"GeneratorFunction"),e(v),e(v,a,"Generator"),e(v,u,function(){return this}),e(v,"toString",function(){return"[object Generator]"}),(t.exports=r=function(){return{w:c,m:d}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}(l);var d=l.exports,y={exports:{}},m={exports:{}},b={exports:{}};!function(t){var e=p,r=v;t.exports=function t(n,o){function i(t,r,u,a){try{var c=n[t](r),s=c.value;return s instanceof e?o.resolve(s.v).then(function(t){i("next",t,u,a)},function(t){i("throw",t,u,a)}):o.resolve(s).then(function(t){c.value=t,u(c)},function(t){return i("throw",t,u,a)})}catch(f){a(f)}}var u;this.next||(r(t.prototype),r(t.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),r(this,"_invoke",function(t,e,r){function n(){return new o(function(e,n){i(t,r,e,n)})}return u=u?u.then(n,n):n()},!0)},t.exports.__esModule=!0,t.exports.default=t.exports}(b);var x=b.exports;!function(t){var e=d,r=x;t.exports=function(t,n,o,i,u){return new r(e().w(t,n,o,i),u||Promise)},t.exports.__esModule=!0,t.exports.default=t.exports}(m);var w=m.exports;!function(t){var e=w;t.exports=function(t,r,n,o,i){var u=e(t,r,n,o,i);return u.next().then(function(t){return t.done?t.value:u.next()})},t.exports.__esModule=!0,t.exports.default=t.exports}(y);var _=y.exports,g={exports:{}};!function(t){t.exports=function(t){var e=Object(t),r=[];for(var n in e)r.unshift(n);return function t(){for(;r.length;)if((n=r.pop())in e)return t.value=n,t.done=!1,t;return t.done=!0,t}},t.exports.__esModule=!0,t.exports.default=t.exports}(g);var k=g.exports,$={exports:{}},E={exports:{}};!function(t){function e(r){return t.exports=e="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},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(E);var O=E.exports;!function(t){var e=O.default;t.exports=function(t){if(null!=t){var r=t["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}throw new TypeError(e(t)+" is not iterable")},t.exports.__esModule=!0,t.exports.default=t.exports}($);var S=$.exports;!function(t){var e=p,r=d,n=_,o=w,i=x,u=k,a=S;function c(){var s=r(),f=s.m(c),p=(Object.getPrototypeOf?Object.getPrototypeOf(f):f.__proto__).constructor;function l(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))}var h={throw:1,return:2,break:3,continue:3};function v(t){var e,r;return function(n){e||(e={stop:function(){return r(n.a,2)},catch:function(){return n.v},abrupt:function(t,e){return r(n.a,h[t],e)},delegateYield:function(t,o,i){return e.resultName=o,r(n.d,a(t),i)},finish:function(t){return r(n.f,t)}},r=function(t,r,o){n.p=e.prev,n.n=e.next;try{return t(r,o)}finally{e.next=n.n}}),e.resultName&&(e[e.resultName]=n.v,e.resultName=void 0),e.sent=n.v,e.next=n.n;try{return t.call(this,e)}finally{n.p=e.prev,n.n=e.next}}}return(t.exports=c=function(){return{wrap:function(t,e,r,n){return s.w(v(t),e,r,n&&n.reverse())},isGeneratorFunction:l,mark:s.m,awrap:function(t,r){return new e(t,r)},AsyncIterator:i,async:function(t,e,r,i,u){return(l(e)?o:n)(v(t),e,r,i,u)},keys:u,values:a}},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=c,t.exports.__esModule=!0,t.exports.default=t.exports}(s);var P=(0,s.exports)(),j=P;try{regeneratorRuntime=P}catch(Ut){"object"==typeof globalThis?globalThis.regeneratorRuntime=P:Function("r","regeneratorRuntime = r")(P)}const A=a(j);var M=null;function N(){return T.apply(this,arguments)}function T(){return(T=u(A.mark(function t(){return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!M){t.next=2;break}return t.abrupt("return",M);case 2:if(!window.__MONITOR__){t.next=5;break}return M=new window.__MONITOR__({biz:"adc-core"}),t.abrupt("return",M);case 5:case"end":return t.stop()}},t)}))).apply(this,arguments)}function R(t){return I.apply(this,arguments)}function I(){return(I=u(A.mark(function t(e){var r;return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,N();case 3:(r=t.sent)&&r.report({level:"warn",message:e});case 5:case"end":return t.stop()}},t)}))).apply(this,arguments)}function D(){return(D=u(A.mark(function t(e){var r;return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,N();case 3:(r=t.sent)&&r.report({level:"error",message:e});case 5:case"end":return t.stop()}},t)}))).apply(this,arguments)}function G(t){return C.apply(this,arguments)}function C(){return(C=u(A.mark(function t(e){var r;return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,N();case 2:(r=t.sent)&&r.report(e);case 4:case"end":return t.stop()}},t)}))).apply(this,arguments)}var F=Symbol("flag"),U=new Map;function L(t,e){var r;U.has(t)||U.set(t,[]),null===(r=U.get(t))||void 0===r||r.push(e)}function W(t,e){return e[F]={once:!0},L(t,e)}function V(t,e){if(U.has(t))if(e){var r,n=U.get(t).indexOf(e);if(-1!==n)null===(r=U.get(t))||void 0===r||r.splice(n,1)}else U.delete(t)}function Y(t,e,r){if(e=[t.name,e].join(":"),U.has(e)){var n=U.get(e);n.forEach(function(n){try{n({data:r})}catch(o){G({type:"event-emit-error",app:t.name,event:e,error:o.message})}}),U.set(e,n.filter(function(t){var e=t[F];return!e||!e.once}))}}function q(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 z(t,e){if(t){if("string"==typeof t)return q(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)?q(t,e):void 0}}function B(t){return function(t){if(Array.isArray(t))return q(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||z(t)||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 H(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(t){return(X="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})(t)}function J(t){var e=function(t,e){if("object"!=X(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=X(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==X(e)?e:e+""}function K(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,J(n.key),n)}}function Q(t,e,r){return e&&K(t.prototype,e),r&&K(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Z(t,e,r){return(e=J(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var tt=/\.aliyun\.com$/.test(location.hostname);function et(t){return new Promise(function(e,r){var n=document.createElement("script");n.src=t,tt&&(n.crossOrigin=""),n.onload=e,n.onerror=function(e){G({type:"script-load-error",url:t}),r(e)},document.body.appendChild(n)})}var rt=null;function nt(){return ot.apply(this,arguments)}function ot(){return(ot=u(A.mark(function t(){return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!window.biu){t.next=2;break}return t.abrupt("return");case 2:return rt||(rt=et("https://cloud-assets.alicdn.com/alicdn/code/npm/@ali/biu-loader/latest/index.js")),t.next=5,rt;case 5:case"end":return t.stop()}},t)}))).apply(this,arguments)}var it=function(t){if(!window.biu){var e="\u9875\u9762\u4e2d\u672a\u5f15\u5165 biu-loader";throw function(t){D.apply(this,arguments)}(e),new Error(e)}return window.biu.require(t)},ut=function(){try{return"pre"===new URL(location.href).searchParams.get("adc-app-env")}catch(t){return!1}}(),at=[],ct=null,st=new Map;function ft(t){return pt.apply(this,arguments)}function pt(){return pt=u(A.mark(function t(e){var r,n;return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r="@ali/aliyun-com-adc-app-".concat(e),t.next=3,nt();case 3:if(!(n=it(r))){t.next=6;break}return t.abrupt("return",n);case 6:if(!st.has(e)){t.next=11;break}return t.next=9,st.get(e);case 9:t.next=14;break;case 11:return ct?-1===at.indexOf(e)&&at.push(e):(at=[e],ct=Promise.resolve().then(function(){var t;t=ut?Promise.all(at.map(function(){var t=u(A.mark(function t(e){var r;return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r="https://aliyun-com-air-cloud-assets-er.pre-air-er.taobao.com/adc/app/v2/".concat(e,".js"),t.next=3,et(r);case 3:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}())):Promise.all(at.map(function(){var t=u(A.mark(function t(e){var r;return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r="https://cloud-assets.alicdn.com/adc/app/v2/".concat(e,".js"),t.next=3,et(r);case 3:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}()));var e=B(at);return e.forEach(function(t){st.set(t,ct)}),ct=null,t.then(function(){e.forEach(function(t){st.delete(t)})}).catch(function(){e.forEach(function(t){st.delete(t)})})})),t.next=14,ct;case 14:return t.abrupt("return",it(r));case 15:case"end":return t.stop()}},t)})),pt.apply(this,arguments)}var lt=function(){return Q(function t(e){H(this,t),Z(this,"_subscribe",void 0),e&&(this._subscribe=e)},[{key:"subscribe",value:function(t){var e;return this._subscribe&&(e=this._subscribe({next:function(e){t(e)}})),{unsubscribe:function(){e&&e()}}}}])}(),ht="__property_change__",vt="__app_register__",dt="__app_unregister__",yt=function(){return Q(function t(e){H(this,t),Z(this,"$options",void 0),Z(this,"$listeners",void 0),Z(this,"$subscriptions",void 0),Z(this,"$isDestructed",!1),this.$options=e,this.$listeners=new Map,this.$subscriptions=[],bt(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:(t=u(A.mark(function t(){return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.$isDestructed=!0,this.$listeners.forEach(function(t,e){t.forEach(function(t){V(e,t)})}),this.$listeners.clear(),this.$subscriptions.forEach(function(t){t.unsubscribe()}),this.$subscriptions=[];case 5:case"end":return t.stop()}},t,this)})),function(){return t.apply(this,arguments)})},{key:"$emit",value:function(t,e){this.$isDestructed||Y(this,t,e)}},{key:"$on",value:function(t,e){var r;if(!this.$isDestructed)return this.$listeners.has(t)||this.$listeners.set(t,[]),null===(r=this.$listeners.get(t))||void 0===r||r.push(e),L(t,e)}},{key:"$once",value:function(t,e){var r;if(!this.$isDestructed)return this.$listeners.has(t)||this.$listeners.set(t,[]),null===(r=this.$listeners.get(t))||void 0===r||r.push(e),W(t,e)}},{key:"$off",value:function(t,e){if(!this.$isDestructed){var r=this.$listeners.get(t);if(r){var n=r.indexOf(e);-1!==n&&r.splice(n,1)}return V(t,e)}}},{key:"$watch",value:function(t,e){var r=this;if(!this.$isDestructed){var n=Pt(t,e);return new lt(function(t){var e=n.subscribe(function(e){t.next(e)});return r.$subscriptions.push(e),function(){e.unsubscribe();var t=r.$subscriptions.indexOf(e);-1!==t&&r.$subscriptions.splice(t,1)}})}}},{key:"$nextProperty",value:function(t,e){this.$isDestructed||Y(this,ht+t,e)}}]);var t}(),mt=new Map;function bt(t){return xt.apply(this,arguments)}function xt(){return(xt=u(A.mark(function t(e){var r;return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!mt.has(e.name)){t.next=17;break}if(r=mt.get(e.name),!(e.priority<r.priority)){t.next=11;break}return t.next=8,r.destructor();case 8:Y(r,dt),t.next=17;break;case 11:return R("\u5e94\u7528 ".concat(e.name," \u91cd\u590d\u6ce8\u518c\uff1a")),t.next=16,e.destructor();case 16:return t.abrupt("return");case 17:mt.set(e.name,e),Y(e,vt);case 19:case"end":return t.stop()}},t)}))).apply(this,arguments)}function wt(t){return mt.has(t)}function _t(t){return gt.apply(this,arguments)}function gt(){return gt=u(A.mark(function t(e){var r,n,o,i=arguments;return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=i.length>1&&void 0!==i[1]?i[1]:{},mt.has(e)){t.next=17;break}if(!1!==r.loadIfNotExists){t.next=6;break}return t.abrupt("return",new Promise(function(t){W([e,vt].join(":"),function(){var r=mt.get(e);t(r)})}));case 6:return t.next=8,ft(e);case 8:if(n=t.sent){t.next=12;break}throw G({type:"app-load-fail",app:e}),new Error("\u5e94\u7528 ".concat(e," \u52a0\u8f7d\u5931\u8d25"));case 12:if(mt.has(e)){t.next=17;break}if(new n({name:e}),mt.has(e)){t.next=17;break}throw G({type:"app-unregister",app:e}),new Error("\u8981\u8c03\u7528\u7684\u5e94\u7528 ".concat(e," \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 o=mt.get(e),t.abrupt("return",o);case 19:case"end":return t.stop()}},t)})),gt.apply(this,arguments)}function kt(){return kt=u(A.mark(function t(e){var r=arguments;return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("string"==typeof e&&(e=[e]),!1!==(r.length>1&&void 0!==r[1]?r[1]:{}).register){t.next=7;break}return t.next=5,e.map(function(t){return ft(t)});case 5:t.next=9;break;case 7:return t.next=9,e.map(function(t){return _t(t)});case 9:case"end":return t.stop()}},t)})),kt.apply(this,arguments)}function $t(t,e){return Et.apply(this,arguments)}function Et(){return(Et=u(A.mark(function t(e,r){var n;return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_t(e);case 2:return n=t.sent,t.abrupt("return",n[r]);case 4:case"end":return t.stop()}},t)}))).apply(this,arguments)}function Ot(t,e){return St.apply(this,arguments)}function St(){return St=u(A.mark(function t(e,r){var n,o,i,u=arguments;return A.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=u.length>2&&void 0!==u[2]?u[2]:[],t.next=3,_t(e);case 3:if((o=t.sent)[r]){t.next=7;break}throw G({type:"method-nofound",app:e,method:r}),new Error("\u5e94\u7528 ".concat(e," \u4e0a\u4e0d\u5b58\u5728\u65b9\u6cd5 ").concat(r));case 7:return t.prev=7,i=o[r].apply(o,B(n)),t.abrupt("return",i);case 12:t.prev=12,t.t0=t.catch(7),G({type:"bridge-call-error",app:e,method:r,params:n,error:t.t0.message});case 15:case"end":return t.stop()}},t,null,[[7,12]])})),St.apply(this,arguments)}function Pt(t,e){return new lt(function(r){wt(t)?$t(t,e).then(function(t){r.next(t)}):_t(t);var n="".concat(t,":").concat(ht).concat(e),o=function(t){r.next(t.data)};L(n,o);var i="".concat(t,":").concat(vt),u=function(){$t(t,e).then(function(t){r.next(t)})};return L(i,u),function(){V(n,o),V(i,u)}})}var jt=[],At=document.body;function Mt(t,e){if("string"==typeof t){var r=new URL(t);t={protocol:r.protocol,hostname:r.hostname,pathname:r.pathname}}t.protocol&&!/:$/.test(t.protocol)&&(t.protocol+=":"),t.pathname&&(t.pathname=t.pathname.replace(/\/$/g,""));var n=function(r){var n=function(t,e){if(!t)return null;if(t.composedPath)return t.composedPath().find(function(t){return t&&-1!==e.indexOf(t.tagName)});for(var r=t.target;r&&-1===e.indexOf(r.tagName)&&r!==At;)r=r.parentElement;return r?r===At?null:r:null}(r,["A"]);if(n&&"A"===n.tagName){var o=n.href;if(!o)return;var i=new URL(o);if(Object.keys(t).some(function(e){var r=i[e];return"pathname"===e&&(r=r.replace(/\/$/g,"")),r!==t[e]}))return;return e(n,i)}};return jt.push(n),function(){var t=jt.indexOf(n);-1!==t&&jt.splice(t,1)}}function Nt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,u,a=[],c=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(f){s=!0,o=f}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(t,e)||z(t,e)||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 Tt="__ADC_CORE__",Rt=Symbol("__ADC_CORE_DEBUG__");window[Tt]||(!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"click",r=function(t){var e=t.target;if(e){var r=e.tagName;if(r){var n=window.$$customElementInfos;n&&n[r.toLowerCase()]&&t.originalEvent&&(t=t.originalEvent),jt.some(function(e){return e(t)})&&t.preventDefault()}}};t.addEventListener(e,r)}(window),Mt({protocol:"adc"},function(t,e){var r=Nt(e.pathname.replace(/^\/\//,"").split("/"),2),n=r[0],o=r[1],i={};return e.searchParams.forEach(function(t,e){i[e]=t}),Ot(n,o,[i]),!0}),window[Tt]={event:{on:L,once:W,off:V},bridge:{get:$t,call:Ot,watch:Pt},uriScheme:{register:Mt},App:yt,getApp:function(t,e){return _t(t,e).then(function(t){return function(t){return new Proxy({},{get:function(e,r){if("on"===r)return function(e,r){return L(e=[t.name,e].join(":"),r)};if("off"===r)return function(e,r){return V(e=[t.name,e].join(":"),r)};if(/\$$/.test(r))return r=r.replace(/\$$/,""),Pt(t.name,r);var n=t[r];return"function"==typeof n?function(){return n.apply(void 0,arguments)}:n}})}(t)})},hasApp:wt,preloadApp:function(t){return kt.apply(this,arguments)}},window[Rt]={apps:mt,registerApp:bt,loadApp:ft,PROPERTY_CHANGE_EVENT_PREFIX:ht,APP_REGISTER_EVENT:vt,APP_UNREGISTER_EVENT:dt,listeners:U,listenFlag:F,emit:Y});const It=window[Tt];It.event;var Dt=It.bridge;It.uriScheme,It.App,It.getApp,It.hasApp,It.preloadApp;const Gt="floating-widgets",Ct="__adc_source_aliyun_com_floating_toolbar__";let Ft;Ft=window[Ct]?window[Ct]:window[Ct]=Symbol("aliyun-com-floating-toolbar");r.exports=function({staticWidgets:t,deliveryWidgets:e,position:r}){const[i,u]=n.useState(!0);return n.useEffect(function(){!function(){return t=this,e=null,r=function*(){const t=yield fetch("https://www.aliyun.com/api/grey/2024-nav-search");t.ok;const e=yield t.json();u(e.data)},new Promise((n,o)=>{var i=t=>{try{a(r.next(t))}catch(e){o(e)}},u=t=>{try{a(r.throw(t))}catch(e){o(e)}},a=t=>t.done?n(t.value):Promise.resolve(t.value).then(i,u);a((r=r.apply(t,e)).next())});var t,e,r}()},[]),n.useEffect(function(){if(i)return;const r=[...t||[],...e||[]];return Dt.call(Gt,"addWidgets",[Ft,r]),function(){Dt.call(Gt,"removeWidgets",[Ft])}},[t,e,i]),n.useEffect(function(){return(null==r?void 0:r.pc)&&Dt.call(Gt,"addOffset",[Ft,o.pc,r.pc]),(null==r?void 0:r.mobile)&&Dt.call(Gt,"addOffset",[Ft,o.mobile,r.mobile]),function(){(null==r?void 0:r.pc)&&Dt.call(Gt,"removeOffset",[Ft,o.pc]),(null==r?void 0:r.mobile)&&Dt.call(Gt,"removeOffset",[Ft,o.mobile])}},[r]),null}});
biu.define({name:"@ali/hmod-aliyun-com-global-nav-search",version:"0.8.4",dependencies:{react:"^16.8.1"}},function(e,t,r){"use strict";var n=Object.defineProperty,o=Object.defineProperties,i=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,l=(e,t)=>{if(t=Symbol[e])return t;throw Error("Symbol."+e+" is not defined")},u=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(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},d=(e,t)=>o(e,i(t)),p=(e,t,r)=>new Promise((n,o)=>{var i=e=>{try{s(r.next(e))}catch(t){o(t)}},a=e=>{try{s(r.throw(e))}catch(t){o(t)}},s=e=>e.done?n(e.value):Promise.resolve(e.value).then(i,a);s((r=r.apply(e,t)).next())}),h=function(e,t){this[0]=e,this[1]=t},m=(e,t,r)=>{var n=(e,t,o,i)=>{try{var a=r[e](t),s=(t=a.value)instanceof h,c=a.done;Promise.resolve(s?t[0]:t).then(r=>s?n("return"===e?e:"next",t[1]?{done:r.done,value:r.value}:r,o,i):o({value:r,done:c})).catch(e=>n("throw",e,o,i))}catch(l){i(l)}},o=e=>i[e]=t=>new Promise((r,o)=>n(e,t,r,o)),i={};return r=r.apply(e,t),i[Symbol.asyncIterator]=()=>i,o("next"),o("throw"),o("return"),i},g=e=>{var t,r=e[l("asyncIterator")],n=!1,o={};return null==r?(r=e[l("iterator")](),t=e=>o[e]=t=>r[e](t)):(r=r.call(e),t=e=>o[e]=t=>{if(n){if(n=!1,"throw"===e)throw t;return t}return n=!0,{done:!1,value:new h(new Promise(n=>{var o=r[e](t);if(!(o instanceof Object))throw TypeError("Object expected");n(o)}),1)}}),o[l("iterator")]=()=>o,t("next"),"throw"in r?t("throw"):o.throw=e=>{throw e},"return"in r&&t("return"),o};const y=e("react"),b=e=>"string"==typeof e,v=()=>{let e,t;const r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r},E=e=>null==e?"":""+e,w=/###/g,S=e=>e&&e.indexOf("###")>-1?e.replace(w,"."):e,O=e=>!e||b(e),_=(e,t,r)=>{const n=b(t)?t.split("."):t;let o=0;for(;o<n.length-1;){if(O(e))return{};const t=S(n[o]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++o}return O(e)?{}:{obj:e,k:S(n[o])}},R=(e,t,r)=>{const{obj:n,k:o}=_(e,t,Object);if(void 0!==n||1===t.length)return void(n[o]=r);let i=t[t.length-1],a=t.slice(0,t.length-1),s=_(e,a,Object);for(;void 0===s.obj&&a.length;)i=`${a[a.length-1]}.${i}`,a=a.slice(0,a.length-1),s=_(e,a,Object),s&&s.obj&&void 0!==s.obj[`${s.k}.${i}`]&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=r},A=(e,t)=>{const{obj:r,k:n}=_(e,t);if(r)return r[n]},k=(e,t,r)=>{for(const n in t)"__proto__"!==n&&"constructor"!==n&&(n in e?b(e[n])||e[n]instanceof String||b(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):k(e[n],t[n],r):e[n]=t[n]);return e},L=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var P={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const C=e=>b(e)?e.replace(/[&<>"'\/]/g,e=>P[e]):e;const T=[" ",",","?","!",";"],N=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}(20),x=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const n=t.split(r);let o=e;for(let i=0;i<n.length;){if(!o||"object"!=typeof o)return;let e,t="";for(let a=i;a<n.length;++a)if(a!==i&&(t+=r),t+=n[a],e=o[t],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&a<n.length-1)continue;i+=a-i+1;break}o=e}return o},j=e=>e&&e.replace("_","-"),I={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]}};class D{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||I,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,n){return n&&!this.debug?null:(b(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new D(this.logger,f(f({},{prefix:`${this.prefix}:${e}:`}),this.options))}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new D(this.logger,e)}}var U=new D;class F{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(this.observers[e]){Array.from(this.observers[e].entries()).forEach(e=>{let[t,n]=e;for(let o=0;o<n;o++)t(...r)})}if(this.observers["*"]){Array.from(this.observers["*"].entries()).forEach(t=>{let[n,o]=t;for(let i=0;i<o;i++)n.apply(n,[e,...r])})}}}class B extends F{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,i=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],r&&(Array.isArray(r)?a.push(...r):b(r)&&o?a.push(...r.split(o)):a.push(r)));const s=A(this.data,a);return!s&&!t&&!r&&e.indexOf(".")>-1&&(e=a[0],t=a[1],r=a.slice(2).join(".")),!s&&i&&b(r)?x(this.data&&this.data[e]&&this.data[e][t],r,o):s}addResource(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let a=[e,t];r&&(a=a.concat(i?r.split(i):r)),e.indexOf(".")>-1&&(a=e.split("."),n=t,t=a[1]),this.addNamespaces(t),R(this.data,a,n),o.silent||this.emit("added",e,t,r,n)}addResources(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const o in r)(b(r[o])||Array.isArray(r[o]))&&this.addResource(e,t,o,r[o],{silent:!0});n.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),n=r,r=t,t=a[1]),this.addNamespaces(t);let s=A(this.data,a)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?k(s,r,o):s=f(f({},s),r),R(this.data,a,s),i.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?f(f({},{}),this.getResource(e,t)):this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var M={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,o){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,r,n,o))}),t}};const $={};class H extends F{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,n;super(),r=e,n=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(e=>{r[e]&&(n[e]=r[e])}),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=U.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const r=this.resolve(e,t);return r&&void 0!==r.res}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");const n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let o=t.ns||this.options.defaultNS||[];const i=r&&e.indexOf(r)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,r)=>{t=t||"",r=r||"";const n=T.filter(e=>t.indexOf(e)<0&&r.indexOf(e)<0);if(0===n.length)return!0;const o=N.getRegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`);let i=!o.test(e);if(!i){const t=e.indexOf(r);t>0&&!o.test(e.substring(0,t))&&(i=!0)}return i})(e,r,n));if(i&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:b(o)?[o]:o};const i=e.split(r);(r!==n||r===n&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),e=i.join(n)}return{key:e,namespaces:b(o)?[o]:o}}translate(e,t,r){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t=f({},t)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const n=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:i,namespaces:a}=this.extractFromKey(e[e.length-1],t),s=a[a.length-1],c=t.lng||this.language,l=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(l){const e=t.nsSeparator||this.options.nsSeparator;return n?{res:`${s}${e}${i}`,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:`${s}${e}${i}`}return n?{res:i,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:s,usedParams:this.getUsedParamsDetails(t)}:i}const u=this.resolve(e,t);let p=u&&u.res;const h=u&&u.usedKey||i,m=u&&u.exactUsedKey||i,g=Object.prototype.toString.apply(p),y=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,E=!b(p)&&"boolean"!=typeof p&&"number"!=typeof p;if(!(v&&p&&E&&["[object Number]","[object Function]","[object RegExp]"].indexOf(g)<0)||b(y)&&Array.isArray(p))if(v&&b(y)&&Array.isArray(p))p=p.join(y),p&&(p=this.extendTranslation(p,e,t,r));else{let n=!1,a=!1;const l=void 0!==t.count&&!b(t.count),h=H.hasDefaultValue(t),m=l?this.pluralResolver.getSuffix(c,t.count,t):"",g=t.ordinal&&l?this.pluralResolver.getSuffix(c,t.count,{ordinal:!1}):"",y=l&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),v=y&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${m}`]||t[`defaultValue${g}`]||t.defaultValue;!this.isValidLookup(p)&&h&&(n=!0,p=v),this.isValidLookup(p)||(a=!0,p=i);const E=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:p,w=h&&v!==p&&this.options.updateMissing;if(a||n||w){if(this.logger.log(w?"updateKey":"missingKey",c,s,i,w?v:p),o){const e=this.resolve(i,d(f({},t),{keySeparator:!1}));e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const r=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&r&&r[0])for(let t=0;t<r.length;t++)e.push(r[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const n=(e,r,n)=>{const o=h&&n!==p?n:E;this.options.missingKeyHandler?this.options.missingKeyHandler(e,s,r,o,w,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,s,r,o,w,t),this.emit("missingKey",e,s,r,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&l?e.forEach(e=>{const r=this.pluralResolver.getSuffixes(e,t);y&&t[`defaultValue${this.options.pluralSeparator}zero`]&&r.indexOf(`${this.options.pluralSeparator}zero`)<0&&r.push(`${this.options.pluralSeparator}zero`),r.forEach(r=>{n([e],i+r,t[`defaultValue${r}`]||v)})}):n(e,i,v))}p=this.extendTranslation(p,e,t,u,r),a&&p===i&&this.options.appendNamespaceToMissingKey&&(p=`${s}:${i}`),(a||n)&&this.options.parseMissingKeyHandler&&(p="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${i}`:i,n?p:void 0):this.options.parseMissingKeyHandler(p))}else{if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,p,d(f({},t),{ns:a})):`key '${i} (${this.language})' returned an object instead of string.`;return n?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(o){const e=Array.isArray(p),r=e?[]:{},n=e?m:h;for(const i in p)if(Object.prototype.hasOwnProperty.call(p,i)){const e=`${n}${o}${i}`;r[i]=this.translate(e,f(f({},t),{joinArrays:!1,ns:a})),r[i]===e&&(r[i]=p[i])}p=r}}return n?(u.res=p,u.usedParams=this.getUsedParamsDetails(t),u):p}extendTranslation(e,t,r,n,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,f(f({},this.options.interpolation.defaultVariables),r),r.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init(f(f({},r),{interpolation:f(f({},this.options.interpolation),r.interpolation)}));const a=b(e)&&(r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let s;if(a){const t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let c=r.replace&&!b(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(c=f(f({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,r.lng||this.language||n.usedLng,r),a){const t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(r.nest=!1)}!r.lng&&"v1"!==this.options.compatibilityAPI&&n&&n.res&&(r.lng=this.language||n.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return o&&o[0]===n[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${n[0]} in key: ${t[0]}`),null):i.translate(...n,t)},r)),r.interpolation&&this.interpolator.reset()}const a=r.postProcess||this.options.postProcess,s=b(a)?[a]:a;return null!=e&&s&&s.length&&!1!==r.applyPostProcessor&&(e=M.handle(s,e,t,this.options&&this.options.postProcessPassResolved?f({i18nResolved:d(f({},n),{usedParams:this.getUsedParamsDetails(r)})},r):r,this)),e}resolve(e){let t,r,n,o,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return b(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));const u=void 0!==a.count&&!b(a.count),f=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),d=void 0!==a.context&&(b(a.context)||"number"==typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);l.forEach(e=>{this.isValidLookup(t)||(i=e,!$[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&($[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(r=>{if(this.isValidLookup(t))return;o=r;const i=[c];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(i,c,r,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(r,a.count,a));const t=`${this.options.pluralSeparator}zero`,n=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(i.push(c+e),a.ordinal&&0===e.indexOf(n)&&i.push(c+e.replace(n,this.options.pluralSeparator)),f&&i.push(c+t)),d){const r=`${c}${this.options.contextSeparator}${a.context}`;i.push(r),u&&(i.push(r+e),a.ordinal&&0===e.indexOf(n)&&i.push(r+e.replace(n,this.options.pluralSeparator)),f&&i.push(r+t))}}let s;for(;s=i.pop();)this.isValidLookup(t)||(n=s,t=this.getResource(r,e,s,a))}))})}),{res:t,usedKey:r,exactUsedKey:n,usedLng:o,usedNS:i}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!b(e.replace);let n=r?e.replace:e;if(r&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n=f(f({},this.options.interpolation.defaultVariables),n)),!r){n=f({},n);for(const e of t)delete n[e]}return n}static hasDefaultValue(e){const t="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,12)&&void 0!==e[r])return!0;return!1}}const W=e=>e.charAt(0).toUpperCase()+e.slice(1);class K{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=U.create("languageUtils")}getScriptPartFromCode(e){if(!(e=j(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=j(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(b(e)&&e.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch(t){}const r=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map(e=>e.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=W(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=W(n[1].toLowerCase())),r.indexOf(n[2].toLowerCase())>-1&&(n[2]=W(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const r=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(r)||(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:e.indexOf("-")>0&&r.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),b(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){const r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),n=[],o=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return b(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):b(e)&&o(this.formatLanguageCode(e)),r.forEach(e=>{n.indexOf(e)<0&&o(this.formatLanguageCode(e))}),n}}let V=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],z={1:e=>Number(e>1),2:e=>Number(1!=e),3:e=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(1==e||e%10==1&&e%100!=11?0:1),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)};const q=["v1","v2","v3"],Q=["v4"],G={zero:0,one:1,two:2,few:3,many:4,other:5};class J{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=U.create("pluralResolver"),this.options.compatibilityJSON&&!Q.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const e={};return V.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:z[t.fc]}})}),e})(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){const n=j("dev"===e?"en":e),o=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:o});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:o})}catch(r){if(!e.match(/-|_/))return;const n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.getRule(e,t);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.getRule(e,t);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((e,t)=>G[e]-G[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):r.numbers.map(r=>this.getSuffix(e,r,t)):[]}getSuffix(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.getRule(e,r);return n?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:this.getSuffixRetroCompatible(n,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let n=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===n?n="plural":1===n&&(n=""));const o=()=>this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString();return"v1"===this.options.compatibilityJSON?1===n?"":"number"==typeof n?`_plural_${n.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!q.includes(this.options.compatibilityJSON)}}const Y=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=((e,t,r)=>{const n=A(e,r);return void 0!==n?n:A(t,r)})(e,t,r);return!i&&o&&b(r)&&(i=x(e,r,n),void 0===i&&(i=x(t,r,n))),i},Z=e=>e.replace(/\$/g,"$$$$");class X{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=U.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:o,prefixEscaped:i,suffix:a,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:f,nestingPrefixEscaped:d,nestingSuffix:p,nestingSuffixEscaped:h,nestingOptionsSeparator:m,maxReplaces:g,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:C,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=o?L(o):i||"{{",this.suffix=a?L(a):s||"}}",this.formatSeparator=c||",",this.unescapePrefix=l?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":l||"",this.nestingPrefix=f?L(f):d||L("$t("),this.nestingSuffix=p?L(p):h||L(")"),this.nestingOptionsSeparator=m||",",this.maxReplaces=g||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,r,n){let o,i,a;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(e.indexOf(this.formatSeparator)<0){const o=Y(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,r,d(f(f({},n),t),{interpolationkey:e})):o}const o=e.split(this.formatSeparator),i=o.shift().trim(),a=o.join(this.formatSeparator).trim();return this.format(Y(t,s,i,this.options.keySeparator,this.options.ignoreJSONStructure),a,r,d(f(f({},n),t),{interpolationkey:i}))};this.resetRegExp();const l=n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler,u=n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>Z(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?Z(this.escape(e)):Z(e)}].forEach(t=>{for(a=0;o=t.regex.exec(e);){const r=o[1].trim();if(i=c(r),void 0===i)if("function"==typeof l){const t=l(e,o,n);i=b(t)?t:""}else if(n&&Object.prototype.hasOwnProperty.call(n,r))i="";else{if(u){i=o[0];continue}this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),i=""}else b(i)||this.useRawValueToEscape||(i=E(i));const s=t.safeValue(i);if(e=e.replace(o[0],s),u?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),e}nest(e,t){let r,n,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(e,t)=>{const r=this.nestingOptionsSeparator;if(e.indexOf(r)<0)return e;const n=e.split(new RegExp(`${r}[ ]*{`));let i=`{${n[1]}`;e=n[0],i=this.interpolate(i,o);const a=i.match(/'/g),s=i.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o=f(f({},t),o))}catch(c){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,c),`${e}${r}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let s=[];o=f({},i),o=o.replace&&!b(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let c=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){const e=r[1].split(this.formatSeparator).map(e=>e.trim());r[1]=e.shift(),s=e,c=!0}if(n=t(a.call(this,r[1].trim(),o),o),n&&r[0]===e&&!b(n))return n;b(n)||(n=E(n)),n||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),n=""),c&&(n=s.reduce((e,t)=>this.format(e,t,i.lng,d(f({},i),{interpolationkey:r[1].trim()})),n.trim())),e=e.replace(r[0],n),this.regexp.lastIndex=0}return e}}const ee=e=>{const t={};return(r,n,o)=>{let i=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(i=d(f({},i),{[o.interpolationkey]:void 0}));const a=n+JSON.stringify(i);let s=t[a];return s||(s=e(j(n),o),t[a]=s),s(r)}};class te{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=U.create("formatter"),this.options=e,this.formats={number:ee((e,t)=>{const r=new Intl.NumberFormat(e,f({},t));return e=>r.format(e)}),currency:ee((e,t)=>{const r=new Intl.NumberFormat(e,d(f({},t),{style:"currency"}));return e=>r.format(e)}),datetime:ee((e,t)=>{const r=new Intl.DateTimeFormat(e,f({},t));return e=>r.format(e)}),relativetime:ee((e,t)=>{const r=new Intl.RelativeTimeFormat(e,f({},t));return e=>r.format(e,t.range||"day")}),list:ee((e,t)=>{const r=new Intl.ListFormat(e,f({},t));return e=>r.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=ee(t)}format(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=t.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(e=>e.indexOf(")")>-1)){const e=o.findIndex(e=>e.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,e)].join(this.formatSeparator)}return o.reduce((e,t)=>{const{formatName:o,formatOptions:i}=(e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const o=n[1].substring(0,n[1].length-1);"currency"===t&&o.indexOf(":")<0?r.currency||(r.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?r.range||(r.range=o.trim()):o.split(";").forEach(e=>{if(e){const[t,...n]=e.split(":"),o=n.join(":").trim().replace(/^'+|'+$/g,""),i=t.trim();r[i]||(r[i]=o),"false"===o&&(r[i]=!1),"true"===o&&(r[i]=!0),isNaN(o)||(r[i]=parseInt(o,10))}})}return{formatName:t,formatOptions:r}})(t);if(this.formats[o]){let t=e;try{const a=n&&n.formatParams&&n.formatParams[n.interpolationkey]||{},s=a.locale||a.lng||n.locale||n.lng||r;t=this.formats[o](e,s,f(f(f({},i),n),a))}catch(a){this.logger.warn(a)}return t}return this.logger.warn(`there was no format function for ${o}`),e},e)}}class re extends F{constructor(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=U.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,n.backend,n)}queueLoad(e,t,r,n){const o={},i={},a={},s={};return e.forEach(e=>{let n=!0;t.forEach(t=>{const a=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===i[a]&&(i[a]=!0):(this.state[a]=1,n=!1,void 0===i[a]&&(i[a]=!0),void 0===o[a]&&(o[a]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(a[e]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){const n=e.split("|"),o=n[0],i=n[1];t&&this.emit("failedLoading",o,i,t),!t&&r&&this.store.addResourceBundle(o,i,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);const a={};this.queue.forEach(r=>{((e,t,r)=>{const{obj:n,k:o}=_(e,t,Object);n[o]=n[o]||[],n[o].push(r)})(r.loaded,[o],i),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(r,e),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{a[e]||(a[e]={});const t=r.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:o,callback:i});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&n<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,r,n+1,2*o,i)},o):i(a,s)},s=this.backend[r].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const r=s(e,t);r&&"function"==typeof r.then?r.then(e=>a(null,e)).catch(a):a(null,r)}catch(c){a(c)}}prepareLoading(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();b(e)&&(e=this.languageUtils.toResolveHierarchy(e)),b(t)&&(t=[t]);const o=this.queueLoad(e,t,r,n);if(!o.toLoad.length)return o.pending.length||n(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const r=e.split("|"),n=r[0],o=r[1];this.read(n,o,"read",void 0,void 0,(r,i)=>{r&&this.logger.warn(`${t}loading namespace ${o} for language ${n} failed`,r),!r&&i&&this.logger.log(`${t}loaded namespace ${o} for language ${n}`,i),this.loaded(e,r,i)})}saveMissing(e,t,r,n,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=r&&""!==r){if(this.backend&&this.backend.create){const c=d(f({},i),{isUpdate:o}),l=this.backend.create.bind(this.backend);if(l.length<6)try{let o;o=5===l.length?l(e,t,r,n,c):l(e,t,r,n),o&&"function"==typeof o.then?o.then(e=>a(null,e)).catch(a):a(null,o)}catch(s){a(s)}else l(e,t,r,n,a,c)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}}const ne=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),b(e[1])&&(t.defaultValue=e[1]),b(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const r=e[3]||e[2];Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),oe=e=>(b(e.ns)&&(e.ns=[e.ns]),b(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),b(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),ie=()=>{};class ae extends F{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var r;if(super(),this.options=oe(e),this.services={},this.logger=U,this.modules={external:[]},r=this,Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(e=>{"function"==typeof r[e]&&(r[e]=r[e].bind(r))}),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(r=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(b(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=ne();this.options=f(f(f({},n),this.options),oe(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=f(f({},n.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);const o=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?U.init(o(this.modules.logger),this.options):U.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=te);const r=new K(this.options);this.store=new B(this.options.resources,this.options);const i=this.services;i.logger=U,i.resourceStore=this.store,i.languageUtils=r,i.pluralResolver=new J(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(i.formatter=o(t),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new X(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new re(o(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];e.emit(t,...n)}),this.modules.languageDetector&&(i.languageDetector=o(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=o(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new H(this.services,this.options),this.translator.on("*",function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];e.emit(t,...n)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,r||(r=ie),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});const i=v(),a=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(t),r(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?a():setTimeout(a,0),i}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie;const r=b(e)?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],n=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};if(r)n(r);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>n(e))}this.options.preload&&this.options.preload.forEach(e=>n(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)})}else t(null)}reloadResources(e,t,r){const n=v();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=ie),this.services.backendConnector.reload(e,t,e=>{n.resolve(),r(e)}),n}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&M.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t<this.languages.length;t++){const e=this.languages[t];if(!(["cimode","dev"].indexOf(e)>-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;const n=v();this.emit("languageChanging",e);const o=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(e,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,n.resolve(function(){return r.t(...arguments)}),t&&t(e,function(){return r.t(...arguments)})},a=t=>{e||t||!this.services.languageDetector||(t=[]);const r=b(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);r&&(this.language||o(r),this.translator.language||this.translator.changeLanguage(r),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(r)),this.loadResources(r,e=>{i(e,r)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),n}getFixedT(e,t,r){var n=this;const o=function(e,t){let i;if("object"!=typeof t){for(var a=arguments.length,s=new Array(a>2?a-2:0),c=2;c<a;c++)s[c-2]=arguments[c];i=n.options.overloadTranslationOptionHandler([e,t].concat(s))}else i=f({},t);i.lng=i.lng||o.lng,i.lngs=i.lngs||o.lngs,i.ns=i.ns||o.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||r||o.keyPrefix);const l=n.options.keySeparator||".";let u;return u=i.keyPrefix&&Array.isArray(e)?e.map(e=>`${i.keyPrefix}${l}${e}`):i.keyPrefix?`${i.keyPrefix}${l}${e}`:e,n.t(u,i)};return b(e)?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;const i=(e,t)=>{const r=this.services.backendConnector.state[`${e}|${t}`];return-1===r||0===r||2===r};if(t.precheck){const e=t.precheck(this,i);if(void 0!==e)return e}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!i(r,e)||n&&!i(o,e)))}loadNamespaces(e,t){const r=v();return this.options.ns?(b(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){const r=v();b(e)&&(e=[e]);const n=this.options.preload||[],o=e.filter(e=>n.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return o.length?(this.options.preload=n.concat(o),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new K(ne());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new ae(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const n=f(f(f({},this.options),e),{isClone:!0}),o=new ae(n);void 0===e.debug&&void 0===e.prefix||(o.logger=o.logger.clone(e));return["store","services","language"].forEach(e=>{o[e]=this[e]}),o.services=f({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new B(this.store.data,n),o.services.resourceStore=o.store),o.translator=new H(o.services,n),o.translator.on("*",function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];o.emit(e,...r)}),o.init(n,t),o.translator.options=n,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const se=ae.createInstance();se.createInstance=ae.createInstance,se.createInstance,se.dir,se.init,se.loadResources,se.reloadResources,se.use,se.changeLanguage,se.getFixedT,se.t,se.exists,se.setDefaultNamespace,se.hasLoadedNamespace,se.loadNamespaces,se.loadLanguages;var ce={type:"3rdParty",init:function(e){var t=e.options;t.react||(t.react={});var r=t.react;void 0===r.useSuspense&&(r.useSuspense=!1),e.emit("initialized",t)}},le=y.createContext(null),ue=function(e){var t=e.children,r=e.locale,n=y.useMemo(function(){return function(e){var t=e.locale,r=se.createInstance();return r.use(ce).init({lng:"default",fallbackLng:"default",resources:{default:{translation:t}},interpolation:{escapeValue:!1},react:{useSuspense:!1}}),r}({locale:r})},[r]);return y.createElement(le.Provider,{value:n},t)};var fe=function(){var e=function(){var e=y.useContext(le);if(!e)throw new Error("useI18nContext must be used within LocaleProvider");return e}();return{t:function(t,r){return e.t(t,r)}}};function de(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=de(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function pe(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=de(e))&&(n&&(n+=" "),n+=t);return n}const he="_9a1d73bbcd1a80626a31035a12410804_icon",me="_9a1d73bbcd1a80626a31035a12410804_spin";function ge(e){return(ge="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)}var ye=["role","spin","component","className","style","children"];function be(){return be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},be.apply(this,arguments)}function ve(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 Ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach(function(t){we(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function we(e,t,r){var n;return n=function(e,t){if("object"!=ge(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ge(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==ge(n)?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Se(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Oe=function(e){var t=e.role,r=void 0===t?"img":t,n=e.spin,o=e.component,i=e.className,a=e.style;e.children;var s=Se(e,ye);return y.createElement("span",be({role:r,className:pe(he,we({},me,n),i),style:Ee({},a)},s),o)};function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_e.apply(this,arguments)}Oe.displayName="AdcIcon";var Re=function(e){return y.createElement(Oe,_e({spin:!1,component:y.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",focusable:"false",color:"currentColor",fill:"currentColor",className:"","data-icon":"close"},y.createElement("g",null,y.createElement("g",null,y.createElement("path",{fillOpacity:1,d:"M17.41438046875,15.999036328125L26.70768046875,25.292336328125L25.29348046875,26.706536328125L16.000180468750003,17.413236328125002L6.70669046875,26.706636328125L5.29248046875,25.292436328125L14.58598046875,15.998936328125L5.29352759875,6.706446328125L6.70775046875,5.292236328125L16.000180468750003,14.584766328125L25.29258046875,5.292462826125L26.70678046875,6.706686328125L17.41438046875,15.999036328125Z"}))))},e))};function Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ae.apply(this,arguments)}var ke=function(e){return y.createElement(Oe,Ae({spin:!1,component:y.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",focusable:"false",color:"currentColor",fill:"currentColor",className:"","data-icon":"delete"},y.createElement("g",null,y.createElement("g",null,y.createElement("path",{fillOpacity:1,fillRule:"evenodd",d:"M27,6L21.1779,6L19.9184,2L12.13371,2L10.82975,6L5,6L5,8L27,8L27,6ZM13.58532,4L18.4514,4L19.0811,6L12.93333,6L13.58532,4ZM25,30L25,10L7,10L7,30L25,30ZM9,12L23,12L23,28L9,28L9,12ZM13,16L13,17L13,23L13,24L15,24L15,23L15,17L15,16L13,16ZM17,16L17,17L17,23L17,24L19,24L19,23L19,17L19,16L17,16Z"}))))},e))};function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Le.apply(this,arguments)}var Pe=function(e){return y.createElement(Oe,Le({spin:!1,component:y.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",focusable:"false",color:"currentColor",fill:"currentColor",className:"","data-icon":"search"},y.createElement("g",null,y.createElement("g",null,y.createElement("path",{fillOpacity:1,fillRule:"evenodd",d:"M14,4C15.3558,4,16.653399999999998,4.262105,17.8926,4.786314C19.089100000000002,5.29242,20.1486,6.00666,21.071,6.92905C21.9933,7.85144,22.7076,8.91087,23.2137,10.10735C23.7379,11.34664,24,12.64419,24,14C24,15.3558,23.7379,16.653399999999998,23.2137,17.892699999999998C22.8382,18.7803,22.3482,19.5925,21.7436,20.3293L27.7072,26.2928L26.293,27.7071L20.3294,21.7435C19.592599999999997,22.3481,18.7803,22.8382,17.8926,23.2137C16.653399999999998,23.7379,15.3558,24,14,24C12.64419,24,11.34664,23.7379,10.10735,23.2137C8.91087,22.7076,7.85144,21.9933,6.92905,21.0709C6.00666,20.1486,5.29242,19.089100000000002,4.786314,17.8926C4.262105,16.653399999999998,4,15.3558,4,14C4,12.64419,4.262105,11.34664,4.786314,10.10735C5.29242,8.91087,6.00666,7.85144,6.92905,6.92905C7.85144,6.00666,8.91087,5.29242,10.10735,4.786314C11.34664,4.262105,12.64419,4,14,4ZM14,6C11.79102,6,9.905439999999999,6.78109,8.34326,8.34326C6.78109,9.905439999999999,6,11.79102,6,14C6,16.209,6.78109,18.0946,8.34326,19.6567C9.905439999999999,21.2189,11.79102,22,14,22C16.209,22,18.0946,21.2189,19.6567,19.6567C21.2189,18.0946,22,16.209,22,14C22,11.79102,21.2189,9.905439999999999,19.6567,8.34326C18.0946,6.78109,16.209,6,14,6Z"}))))},e))};const Ce="cn-prod",Te={"cn-prod":{baseURL:"https://t.aliyun.com/",defaultParams:{},requestProtocol:"http",searchPageUrl:"https://www.aliyun.com/search/"},"cn-pre":{baseURL:"https://pre-t.aliyun.com/",defaultParams:{},requestProtocol:"http",searchPageUrl:"https://pre-www.aliyun.com/search/"},"intl-prod":{baseURL:"https://api.alibabacloud.com/",defaultParams:{region:"intl",website:"intl",language:"en"},requestProtocol:"pop",searchPageUrl:"https://www.alibabacloud.com/{lang}/search/list"},"intl-pre":{baseURL:"https://pre-api.alibabacloud.com/",defaultParams:{region:"intl",website:"intl",language:"en"},requestProtocol:"pop",searchPageUrl:"https://pre-www.alibabacloud.com/{lang}/search/list"}},Ne={"pre-www.aliyun.com":"cn-pre","www.aliyun.com":"cn-prod","pre-www.alibabacloud.com":"intl-pre","www.alibabacloud.com":"intl-prod"},xe=new Set(["cn-prod","cn-pre","intl-prod","intl-pre"]);function je(){var e,t;return null!=(t=null!=(e=function(){if("undefined"==typeof window)return null;const e=new URLSearchParams(window.location.search).get("env");return e&&xe.has(e)?e:null}())?e:function(){if("undefined"==typeof window)return null;const e=window.location.hostname;return e in Ne?Ne[e]:e.endsWith(".alibabacloud.com")?"intl-prod":null}())?t:Ce}let Ie=null;function De(){return null===Ie&&(Ie=je()),(e=Ie)in Te?Te[e]:Te[Ce];var e}const Ue={"zh-CN":"zh","zh-TW":"zh-TW","en-US":"en","ja-JP":"ja","ko-KR":"ko","id-ID":"id","ru-RU":"ru","es-ES":"es","th-TH":"th","de-DE":"de","fr-FR":"fr","vi-VN":"vi"},Fe="en";function Be(){if("undefined"==typeof document)return"";const e=document.cookie.match(/cna=([^;]+)/);return e?e[1]:""}function Me(e){return{Loc:e,From:"PC",CookieId:Be()}}const $e=function e(t){function r(e,t,n){var o,i={};if(Array.isArray(e))return e.concat(t);for(o in e)i[n?o.toLowerCase():o]=e[o];for(o in t){var a=n?o.toLowerCase():o,s=t[o];i[a]=a in i&&"object"==typeof s?r(i[a],s,"headers"==a):s}return i}function n(e,n,o,i,a){var s="string"!=typeof e?(n=e).url:e,c={config:n},l=r(t,n),u={};i=i||l.data,(l.transformRequest||[]).map(function(e){i=e(i,l.headers)||i}),l.auth&&(u.authorization=l.auth),i&&"object"==typeof i&&"function"!=typeof i.append&&"function"!=typeof i.text&&(i=JSON.stringify(i),u["content-type"]="application/json");try{u[l.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+l.xsrfCookieName+"=([^;]*)"))[2])}catch(f){}return l.baseURL&&(s=s.replace(/^(?!.*\/\/)\/?/,l.baseURL+"/")),l.params&&(s+=(~s.indexOf("?")?"&":"?")+(l.paramsSerializer?l.paramsSerializer(l.params):new URLSearchParams(l.params))),(l.fetch||fetch)(s,{method:(o||l.method||"get").toUpperCase(),body:i,headers:r(l.headers,u,!0),credentials:l.withCredentials?"include":a}).then(function(e){for(var t in e)"function"!=typeof e[t]&&(c[t]=e[t]);return"stream"==l.responseType?(c.data=e.body,c):e[l.responseType||"text"]().then(function(e){c.data=e,c.data=JSON.parse(e)}).catch(Object).then(function(){return(l.validateStatus?l.validateStatus(e.status):e.ok)?c:Promise.reject(c)})})}return t=t||{},n.request=n,n.get=function(e,t){return n(e,t,"get")},n.delete=function(e,t){return n(e,t,"delete")},n.head=function(e,t){return n(e,t,"head")},n.options=function(e,t){return n(e,t,"options")},n.post=function(e,t,r){return n(e,r,"post",t)},n.put=function(e,t,r){return n(e,r,"put",t)},n.patch=function(e,t,r){return n(e,r,"patch",t)},n.all=Promise.all.bind(Promise),n.spread=function(e){return e.apply.bind(e,e)},n.CancelToken="function"==typeof AbortController?AbortController:Object,n.defaults=t,n.create=e,n}(),He={locale:"zh-CN",searchHistory:"\u5386\u53f2\u641c\u7d22",searchDiscovery:"\u641c\u7d22\u53d1\u73b0",guessYouWantToSearch:"\u731c\u4f60\u60f3\u641c",product:"\u4ea7\u54c1",tools:"\u5de5\u5177",searchIcon:"\u641c\u7d22\u56fe\u6807",viewAllSearchResults:'\u67e5\u770b "{{searchWord}}" \u5168\u90e8\u641c\u7d22\u7ed3\u679c'};let We=null;function Ke(){if(!We){const e=je().startsWith("intl")?"https://website.alcasset.com/npm/@ali/hmod-adc-util-console-fetcher-basic/0.1.0/index.js":"https://g.alicdn.com/code/npm/@ali/hmod-adc-util-console-fetcher-basic/0.1.0/index.js";We=function(e){return new Promise((t,r)=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),n.onerror=()=>r(new Error(`Failed to load script: ${e}`)),document.head.appendChild(n)})}(e).then(()=>{var e;const t=null==(e=window.biu)?void 0:e.require("@ali/hmod-adc-util-console-fetcher-basic");if(!t)throw new Error("Failed to load console-fetcher-basic module");return t})}return We}let Ve=!0;function ze(e){return p(this,null,function*(){const t=De(),r="http"===t.requestProtocol;if(("pop"===t.requestProtocol||r&&Ve)&&e.pop){const t=f({},e.pop.params),o=He.locale;t.QuerySceneParams||(t.QuerySceneParams={});const i=(n=o||(r?"zh-CN":"en-US"))&&"zh-cn"===n.replace(/_/g,"-").toLowerCase()?"zh":Fe;r?(t.QuerySceneParams.Website="cn",t.QuerySceneParams.Language=i||"zh"):(t.QuerySceneParams.Website="intl",t.QuerySceneParams.Language=i||"en");const a=yield function(e,t,r){return p(this,null,function*(){return(yield Ke()).callOpenApi(e,t,r)})}(e.pop.service,e.pop.action,t);return function(e){return"true"===e.Success?{status:200,data:{success:!0,data:{success:!0,info:e.Info,totalCount:e.TotalCount,cost:e.Cost}}}:{status:500,data:{success:!1,message:"POP request failed",code:e.Success}}}(a)}var n;if(!e.http)throw new Error("HTTP config is required for cn environment");const{path:o,method:i="get",params:a}=e.http,s=f(f({},t.defaultParams),a),c=`${t.baseURL.replace(/\/+$/,"")}${o.replace(/^\/+/,"/")}`;return"post"===i?$e.post(c,s,{withCredentials:!0}):$e.get(c,{params:s,withCredentials:!0})})}function qe(){const e=je();return"cn-pre"===e||"intl-pre"===e}function Qe(){const e=je(),t=Te[e],r=e.includes("intl"),n=function(e){if(!e)return Fe;const t=e.replace(/_/g,"-");if(t in Ue)return Ue[t];const r=t.split("-")[0];return r&&2===r.length?r:Fe}(He.locale||"zh-CN");let o=t.searchPageUrl;return r&&(o=o.replace("{lang}",n)),{searchPageUrl:o,isIntl:r,lang:n}}function Ge(e){const{searchResultLink:t="",preSearchPageLink:r="",enableCnOpenApi:n=!0}=e;Ve=n;let o=t;qe()&&r&&(o=r);const i=new URL(o),a=new URLSearchParams(i.search);a.set("from","h5-global-nav-search"),i.search=a.toString();return{searchPageLink:o,h5SearchPageLink:i.toString()}}var Je,Ye,Ze,Xe,et,tt,rt,nt,ot,it,at,st,ct,lt,ut,ft,dt,pt;function ht(e,t){return function(){return e.apply(t,arguments)}}(Ye=Je||(Je={})).SearchWord="k",Ye.SearchType="scene",Ye.SearchPageNumber="page",Ye.SearchFilter="filter",Ye.OldSearchWord="keywords",(Xe=Ze||(Ze={})).SearchWord="searchWord",Xe.SearchType="searchType",Xe.SearchPageNumber="searchPageNumber",(tt=et||(et={})).All="all",tt.HelpDoc="helpdoc",tt.Solution="solution",tt.CloudMarket="market",(nt=rt||(rt={})).MainSite="main-site",nt.HelpCenterSite="help-center-site",nt.DeveloperCommunitySite="developer-community-site",nt.CloudMarketSite="cloud-market-site",nt.EduCenterSite="edu-center-site",(it=ot||(ot={})).Main="latest",it.Grey="x-grey",it.CloudMarket="x-cloud-market",it.DeveloperCommunity="x-developer-community",it.HelpCenter="x-help-center",it.EduCenter="x-edu-center",(st=at||(at={}))[st.InputRecommendSearchWord=1]="InputRecommendSearchWord",st[st.PanelRecommendSearchWord=2]="PanelRecommendSearchWord",(lt=ct||(ct={})).Help="help",lt.Activity="activity",lt.Other="other",lt.CloudProduct="product",lt.YunZhi="yunzhi",lt.DeveloperCommunity="community",lt.CloudMarket="market",lt.OpenAPI="openapi",lt.ComputeNest="computenest",lt.Console="console",lt.CustomerStory="customer_case",lt.FreeTrial="freetier",lt.Security="security_help",lt.CloudTopic="cloud_topic",lt.Bulletin="bulletin",lt.Benefits="benefits",lt.TrainAndCertificate="train_and_certificate",lt.TrustCenter="trust",(ft=ut||(ut={})).CloudProduct="\u4e91\u4ea7\u54c1",ft.TechnicalSolution="\u6280\u672f\u89e3\u51b3\u65b9\u6848",ft.Solution="\u89e3\u51b3\u65b9\u6848",ft.DeploymentTutorial="\u6280\u672f\u89e3\u51b3\u65b9\u6848-\u90e8\u7f72\u6559\u7a0b",(pt=dt||(dt={})).CloudProduct="cloud-product",pt.HelpDocumentation="help-documentation",pt.TechnicalSolution="technical-solution",pt.FreeTrial="free-trial",pt.Console="console",pt.CustomerStory="customer-story",pt.Other="other",window.top.SEARCH_LOG_SCRIPT_IS_LOADED=!1;const{toString:mt}=Object.prototype,{getPrototypeOf:gt}=Object,{iterator:yt,toStringTag:bt}=Symbol,vt=(Et=Object.create(null),e=>{const t=mt.call(e);return Et[t]||(Et[t]=t.slice(8,-1).toLowerCase())});var Et;const wt=e=>(e=e.toLowerCase(),t=>vt(t)===e),St=e=>t=>typeof t===e,{isArray:Ot}=Array,_t=St("undefined");function Rt(e){return null!==e&&!_t(e)&&null!==e.constructor&&!_t(e.constructor)&&Lt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const At=wt("ArrayBuffer");const kt=St("string"),Lt=St("function"),Pt=St("number"),Ct=e=>null!==e&&"object"==typeof e,Tt=e=>{if("object"!==vt(e))return!1;const t=gt(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||bt in e||yt in e)},Nt=wt("Date"),xt=wt("File"),jt=wt("Blob"),It=wt("FileList"),Dt=wt("URLSearchParams"),[Ut,Ft,Bt,Mt]=["ReadableStream","Request","Response","Headers"].map(wt);function $t(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,o;if("object"!=typeof e&&(e=[e]),Ot(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{if(Rt(e))return;const o=r?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(n=0;n<i;n++)a=o[n],t.call(null,e[a],a,e)}}function Ht(e,t){if(Rt(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const Wt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Kt=e=>!_t(e)&&e!==Wt;const Vt=(zt="undefined"!=typeof Uint8Array&&gt(Uint8Array),e=>zt&&e instanceof zt);var zt;const qt=wt("HTMLFormElement"),Qt=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Gt=wt("RegExp"),Jt=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};$t(r,(r,o)=>{let i;!1!==(i=t(r,o,e))&&(n[o]=i||r)}),Object.defineProperties(e,n)};const Yt=wt("AsyncFunction"),Zt=(Xt="function"==typeof setImmediate,er=Lt(Wt.postMessage),Xt?setImmediate:er?(tr=`axios@${Math.random()}`,rr=[],Wt.addEventListener("message",({source:e,data:t})=>{e===Wt&&t===tr&&rr.length&&rr.shift()()},!1),e=>{rr.push(e),Wt.postMessage(tr,"*")}):e=>setTimeout(e));var Xt,er,tr,rr;const nr="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Wt):"undefined"!=typeof process&&process.nextTick||Zt,or={isArray:Ot,isArrayBuffer:At,isBuffer:Rt,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Lt(e.append)&&("formdata"===(t=vt(e))||"object"===t&&Lt(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&At(e.buffer),t},isString:kt,isNumber:Pt,isBoolean:e=>!0===e||!1===e,isObject:Ct,isPlainObject:Tt,isEmptyObject:e=>{if(!Ct(e)||Rt(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},isReadableStream:Ut,isRequest:Ft,isResponse:Bt,isHeaders:Mt,isUndefined:_t,isDate:Nt,isFile:xt,isBlob:jt,isRegExp:Gt,isFunction:Lt,isStream:e=>Ct(e)&&Lt(e.pipe),isURLSearchParams:Dt,isTypedArray:Vt,isFileList:It,forEach:$t,merge:function e(){const{caseless:t,skipUndefined:r}=Kt(this)&&this||{},n={},o=(o,i)=>{const a=t&&Ht(n,i)||i;Tt(n[a])&&Tt(o)?n[a]=e(n[a],o):Tt(o)?n[a]=e({},o):Ot(o)?n[a]=o.slice():r&&_t(o)||(n[a]=o)};for(let i=0,a=arguments.length;i<a;i++)arguments[i]&&$t(arguments[i],o);return n},extend:(e,t,r,{allOwnKeys:n}={})=>($t(t,(t,n)=>{r&&Lt(t)?Object.defineProperty(e,n,{value:ht(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&gt(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:vt,kindOfTest:wt,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(Ot(e))return e;let t=e.length;if(!Pt(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[yt]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:qt,hasOwnProperty:Qt,hasOwnProp:Qt,reduceDescriptors:Jt,freezeMethods:e=>{Jt(e,(t,r)=>{if(Lt(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];Lt(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach(e=>{r[e]=!0})};return Ot(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ht,global:Wt,isContextDefined:Kt,isSpecCompliantForm:function(e){return!!(e&&Lt(e.append)&&"FormData"===e[bt]&&e[yt])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(Ct(e)){if(t.indexOf(e)>=0)return;if(Rt(e))return e;if(!("toJSON"in e)){t[n]=e;const o=Ot(e)?[]:{};return $t(e,(e,t)=>{const i=r(e,n+1);!_t(i)&&(o[t]=i)}),t[n]=void 0,o}}return e};return r(e,0)},isAsyncFn:Yt,isThenable:e=>e&&(Ct(e)||Lt(e))&&Lt(e.then)&&Lt(e.catch),setImmediate:Zt,asap:nr,isIterable:e=>null!=e&&Lt(e[yt])};class ir extends Error{static from(e,t,r,n,o,i){const a=new ir(e.message,t||e.code,r,n,o);return a.cause=e,a.name=e.name,i&&Object.assign(a,i),a}constructor(e,t,r,n,o){super(e),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:or.toJSONObject(this.config),code:this.code,status:this.status}}}ir.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",ir.ERR_BAD_OPTION="ERR_BAD_OPTION",ir.ECONNABORTED="ECONNABORTED",ir.ETIMEDOUT="ETIMEDOUT",ir.ERR_NETWORK="ERR_NETWORK",ir.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",ir.ERR_DEPRECATED="ERR_DEPRECATED",ir.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",ir.ERR_BAD_REQUEST="ERR_BAD_REQUEST",ir.ERR_CANCELED="ERR_CANCELED",ir.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",ir.ERR_INVALID_URL="ERR_INVALID_URL";const ar=ir;function sr(e){return or.isPlainObject(e)||or.isArray(e)}function cr(e){return or.endsWith(e,"[]")?e.slice(0,-2):e}function lr(e,t,r){return e?e.concat(t).map(function(e,t){return e=cr(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}const ur=or.toFlatObject(or,{},null,function(e){return/^is[A-Z]/.test(e)});function fr(e,t,r){if(!or.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=or.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!or.isUndefined(t[e])})).metaTokens,o=r.visitor||l,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&or.isSpecCompliantForm(t);if(!or.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(or.isDate(e))return e.toISOString();if(or.isBoolean(e))return e.toString();if(!s&&or.isBlob(e))throw new ar("Blob is not supported. Use a Buffer instead.");return or.isArrayBuffer(e)||or.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,r,o){let s=e;if(e&&!o&&"object"==typeof e)if(or.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(or.isArray(e)&&function(e){return or.isArray(e)&&!e.some(sr)}(e)||(or.isFileList(e)||or.endsWith(r,"[]"))&&(s=or.toArray(e)))return r=cr(r),s.forEach(function(e,n){!or.isUndefined(e)&&null!==e&&t.append(!0===a?lr([r],n,i):null===a?r:r+"[]",c(e))}),!1;return!!sr(e)||(t.append(lr(o,r,i),c(e)),!1)}const u=[],f=Object.assign(ur,{defaultVisitor:l,convertValue:c,isVisitable:sr});if(!or.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!or.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+n.join("."));u.push(r),or.forEach(r,function(r,i){!0===(!(or.isUndefined(r)||null===r)&&o.call(t,r,or.isString(i)?i.trim():i,n,f))&&e(r,n?n.concat(i):[i])}),u.pop()}}(e),t}function dr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function pr(e,t){this._pairs=[],e&&fr(e,this,t)}const hr=pr.prototype;function mr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function gr(e,t,r){if(!t)return e;const n=r&&r.encode||mr,o=or.isFunction(r)?{serialize:r}:r,i=o&&o.serialize;let a;if(a=i?i(t,o):or.isURLSearchParams(t)?t.toString():new pr(t,o).toString(n),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}hr.append=function(e,t){this._pairs.push([e,t])},hr.toString=function(e){const t=e?function(t){return e.call(this,t,dr)}:dr;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};const yr=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){or.forEach(this.handlers,function(t){null!==t&&e(t)})}},br={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vr={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:pr,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Er="undefined"!=typeof window&&"undefined"!=typeof document,wr="object"==typeof navigator&&navigator||void 0,Sr=Er&&(!wr||["ReactNative","NativeScript","NS"].indexOf(wr.product)<0),Or="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,_r=Er&&window.location.href||"http://localhost",Rr=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Er,hasStandardBrowserEnv:Sr,hasStandardBrowserWebWorkerEnv:Or,navigator:wr,origin:_r},Symbol.toStringTag,{value:"Module"})),Ar=f(f({},Rr),vr);function kr(e){function t(e,r,n,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&or.isArray(n)?n.length:i,s)return or.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&or.isObject(n[i])||(n[i]=[]);return t(e,r,n[i],o)&&or.isArray(n[i])&&(n[i]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}(n[i])),!a}if(or.isFormData(e)&&or.isFunction(e.entries)){const r={};return or.forEachEntry(e,(e,n)=>{t(function(e){return or.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),n,r,0)}),r}return null}const Lr={transitional:br,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=or.isObject(e);o&&or.isHTMLForm(e)&&(e=new FormData(e));if(or.isFormData(e))return n?JSON.stringify(kr(e)):e;if(or.isArrayBuffer(e)||or.isBuffer(e)||or.isStream(e)||or.isFile(e)||or.isBlob(e)||or.isReadableStream(e))return e;if(or.isArrayBufferView(e))return e.buffer;if(or.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return fr(e,new Ar.classes.URLSearchParams,f({visitor:function(e,t,r,n){return Ar.isNode&&or.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=or.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return fr(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(or.isString(e))try{return(t||JSON.parse)(e),or.trim(e)}catch(n){if("SyntaxError"!==n.name)throw n}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Lr.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(or.isResponse(e)||or.isReadableStream(e))return e;if(e&&or.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e,this.parseReviver)}catch(o){if(r){if("SyntaxError"===o.name)throw ar.from(o,ar.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ar.classes.FormData,Blob:Ar.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};or.forEach(["delete","get","head","post","put","patch"],e=>{Lr.headers[e]={}});const Pr=Lr,Cr=or.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Tr=Symbol("internals");function Nr(e){return e&&String(e).trim().toLowerCase()}function xr(e){return!1===e||null==e?e:or.isArray(e)?e.map(xr):String(e)}function jr(e,t,r,n,o){return or.isFunction(n)?n.call(this,t,r):(o&&(t=r),or.isString(t)?or.isString(n)?-1!==t.indexOf(n):or.isRegExp(n)?n.test(t):void 0:void 0)}class Ir{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=Nr(t);if(!o)throw new Error("header name must be a non-empty string");const i=or.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||t]=xr(e))}const i=(e,t)=>or.forEach(e,(e,r)=>o(e,r,t));if(or.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(or.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&Cr[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t})(e),t);else if(or.isObject(e)&&or.isIterable(e)){let r,n,o={};for(const t of e){if(!or.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[n=t[0]]=(r=o[n])?or.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,r);return this}get(e,t){if(e=Nr(e)){const r=or.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(or.isFunction(t))return t.call(this,e,r);if(or.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Nr(e)){const r=or.findKey(this,e);return!(!r||void 0===this[r]||t&&!jr(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=Nr(e)){const o=or.findKey(r,e);!o||t&&!jr(0,r[o],o,t)||(delete r[o],n=!0)}}return or.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!jr(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return or.forEach(this,(n,o)=>{const i=or.findKey(r,o);if(i)return t[i]=xr(n),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}(o):String(o).trim();a!==o&&delete t[o],t[a]=xr(n),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return or.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&or.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){const t=(this[Tr]=this[Tr]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Nr(e);t[n]||(!function(e,t){const r=or.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(r,e),t[n]=!0)}return or.isArray(e)?e.forEach(n):n(e),this}}Ir.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),or.reduceDescriptors(Ir.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),or.freezeMethods(Ir);const Dr=Ir;function Ur(e,t){const r=this||Pr,n=t||r,o=Dr.from(n.headers);let i=n.data;return or.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Fr(e){return!(!e||!e.__CANCEL__)}const Br=class extends ar{constructor(e,t,r){super(null==e?"canceled":e,ar.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}};function Mr(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new ar("Request failed with status code "+r.status,[ar.ERR_BAD_REQUEST,ar.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}const $r=(e,t,r=3)=>{let n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),l=n[a];o||(o=c),r[i]=s,n[i]=c;let u=a,f=0;for(;u!==i;)f+=r[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;const d=l&&c-l;return d?Math.round(1e3*f/d):void 0}}(50,250);return function(e,t){let r,n,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=i?a(e,t):(r=e,n||(n=setTimeout(()=>{n=null,a(r)},i-s)))},()=>r&&a(r)]}(r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,c=o(s);n=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&i<=a?(a-i)/c:void 0,event:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})},r)},Hr=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Wr=e=>(...t)=>or.asap(()=>e(...t)),Kr=Ar.hasStandardBrowserEnv?(Vr=new URL(Ar.origin),zr=Ar.navigator&&/(msie|trident)/i.test(Ar.navigator.userAgent),e=>(e=new URL(e,Ar.origin),Vr.protocol===e.protocol&&Vr.host===e.host&&(zr||Vr.port===e.port))):()=>!0;var Vr,zr;const qr=Ar.hasStandardBrowserEnv?{write(e,t,r,n,o,i,a){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];or.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),or.isString(n)&&s.push(`path=${n}`),or.isString(o)&&s.push(`domain=${o}`),!0===i&&s.push("secure"),or.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function Qr(e,t,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(n||0==r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Gr=e=>e instanceof Dr?f({},e):e;function Jr(e,t){t=t||{};const r={};function n(e,t,r,n){return or.isPlainObject(e)&&or.isPlainObject(t)?or.merge.call({caseless:n},e,t):or.isPlainObject(t)?or.merge({},t):or.isArray(t)?t.slice():t}function o(e,t,r,o){return or.isUndefined(t)?or.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function i(e,t){if(!or.isUndefined(t))return n(void 0,t)}function a(e,t){return or.isUndefined(t)?or.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,r)=>o(Gr(e),Gr(t),0,!0)};return or.forEach(Object.keys(f(f({},e),t)),function(n){const i=c[n]||o,a=i(e[n],t[n],n);or.isUndefined(a)&&i!==s||(r[n]=a)}),r}const Yr=e=>{const t=Jr({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;if(t.headers=a=Dr.from(a),t.url=gr(Qr(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),or.isFormData(r))if(Ar.hasStandardBrowserEnv||Ar.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(or.isFunction(r.getHeaders)){const e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,r])=>{t.includes(e.toLowerCase())&&a.set(e,r)})}if(Ar.hasStandardBrowserEnv&&(n&&or.isFunction(n)&&(n=n(t)),n||!1!==n&&Kr(t.url))){const e=o&&i&&qr.read(i);e&&a.set(o,e)}return t},Zr="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=Yr(e);let o=n.data;const i=Dr.from(n.headers).normalize();let a,s,c,l,u,{responseType:f,onUploadProgress:d,onDownloadProgress:p}=n;function h(){l&&l(),u&&u(),n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const n=Dr.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Mr(function(e){t(e),h()},function(e){r(e),h()},{data:f&&"text"!==f&&"json"!==f?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:e,request:m}),m=null}m.open(n.method.toUpperCase(),n.url,!0),m.timeout=n.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(r(new ar("Request aborted",ar.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const n=t&&t.message?t.message:"Network Error",o=new ar(n,ar.ERR_NETWORK,e,m);o.event=t||null,r(o),m=null},m.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||br;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new ar(t,o.clarifyTimeoutError?ar.ETIMEDOUT:ar.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&or.forEach(i.toJSON(),function(e,t){m.setRequestHeader(t,e)}),or.isUndefined(n.withCredentials)||(m.withCredentials=!!n.withCredentials),f&&"json"!==f&&(m.responseType=n.responseType),p&&([c,u]=$r(p,!0),m.addEventListener("progress",c)),d&&m.upload&&([s,l]=$r(d),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",l)),(n.cancelToken||n.signal)&&(a=t=>{m&&(r(!t||t.type?new Br(null,e,m):t),m.abort(),m=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);y&&-1===Ar.protocols.indexOf(y)?r(new ar("Unsupported protocol "+y+":",ar.ERR_BAD_REQUEST,e)):m.send(o||null)})},Xr=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController;const o=function(e){if(!r){r=!0,a();const t=e instanceof Error?e:this.reason;n.abort(t instanceof ar?t:new Br(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new ar(`timeout of ${t}ms exceeded`,ar.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=n;return s.unsubscribe=()=>or.asap(a),s}},en=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},tn=function(e,t){return m(this,null,function*(){try{for(var r,n,o,i=((e,t,r)=>(t=e[l("asyncIterator")])?t.call(e):(e=e[l("iterator")](),t={},(r=(r,n)=>(n=e[r])&&(t[r]=t=>new Promise((r,o,i)=>(t=n.call(e,t),i=t.done,Promise.resolve(t.value).then(e=>r({value:e,done:i}),o)))))("next"),r("return"),t))(rn(e));r=!(n=yield new h(i.next())).done;r=!1){const e=n.value;yield*g(en(e,t))}}catch(n){o=[n]}finally{try{r&&(n=i.return)&&(yield new h(n.call(i)))}finally{if(o)throw o[0]}}})},rn=function(e){return m(this,null,function*(){if(e[Symbol.asyncIterator])return void(yield*g(e));const t=e.getReader();try{for(;;){const{done:e,value:r}=yield new h(t.read());if(e)break;yield r}}finally{yield new h(t.cancel())}})},nn=(e,t,r,n)=>{const o=tn(e,t);let i,a=0,s=e=>{i||(i=!0,n&&n(e))};return new ReadableStream({pull(e){return p(this,null,function*(){try{const{done:t,value:n}=yield o.next();if(t)return s(),void e.close();let i=n.byteLength;if(r){let e=a+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(t){throw s(t),t}})},cancel:e=>(s(e),o.return())},{highWaterMark:2})},{isFunction:on}=or,an=(({Request:e,Response:t})=>({Request:e,Response:t}))(or.global),{ReadableStream:sn,TextEncoder:cn}=or.global,ln=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},un=e=>{e=or.merge.call({skipUndefined:!0},an,e);const{fetch:r,Request:n,Response:o}=e,i=r?on(r):"function"==typeof fetch,a=on(n),s=on(o);if(!i)return!1;const c=i&&on(sn),l=i&&("function"==typeof cn?(u=new cn,e=>u.encode(e)):e=>p(t,null,function*(){return new Uint8Array(yield new n(e).arrayBuffer())}));var u;const h=a&&c&&ln(()=>{let e=!1;const t=new n(Ar.origin,{body:new sn,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),m=s&&c&&ln(()=>or.isReadableStream(new o("").body)),g={stream:m&&(e=>e.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!g[e]&&(g[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new ar(`Response type '${e}' is not supported`,ar.ERR_NOT_SUPPORT,r)})});const y=(e,r)=>p(t,null,function*(){const o=or.toFiniteNumber(e.getContentLength());return null==o?(e=>p(t,null,function*(){if(null==e)return 0;if(or.isBlob(e))return e.size;if(or.isSpecCompliantForm(e)){const t=new n(Ar.origin,{method:"POST",body:e});return(yield t.arrayBuffer()).byteLength}return or.isArrayBufferView(e)||or.isArrayBuffer(e)?e.byteLength:(or.isURLSearchParams(e)&&(e+=""),or.isString(e)?(yield l(e)).byteLength:void 0)}))(r):o});return e=>p(t,null,function*(){let{url:t,method:i,data:s,signal:c,cancelToken:l,timeout:u,onDownloadProgress:p,onUploadProgress:b,responseType:v,headers:E,withCredentials:w="same-origin",fetchOptions:S}=Yr(e),O=r||fetch;v=v?(v+"").toLowerCase():"text";let _=Xr([c,l&&l.toAbortSignal()],u),R=null;const A=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let k;try{if(b&&h&&"get"!==i&&"head"!==i&&0!==(k=yield y(E,s))){let e,r=new n(t,{method:"POST",body:s,duplex:"half"});if(or.isFormData(s)&&(e=r.headers.get("content-type"))&&E.setContentType(e),r.body){const[e,t]=Hr(k,$r(Wr(b)));s=nn(r.body,65536,e,t)}}or.isString(w)||(w=w?"include":"omit");const r=a&&"credentials"in n.prototype,c=d(f({},S),{signal:_,method:i.toUpperCase(),headers:E.normalize().toJSON(),body:s,duplex:"half",credentials:r?w:void 0});R=a&&new n(t,c);let l=yield a?O(R,S):O(t,c);const u=m&&("stream"===v||"response"===v);if(m&&(p||u&&A)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=l[t]});const t=or.toFiniteNumber(l.headers.get("content-length")),[r,n]=p&&Hr(t,$r(Wr(p),!0))||[];l=new o(nn(l.body,65536,r,()=>{n&&n(),A&&A()}),e)}v=v||"text";let L=yield g[or.findKey(g,v)||"text"](l,e);return!u&&A&&A(),yield new Promise((t,r)=>{Mr(t,r,{data:L,headers:Dr.from(l.headers),status:l.status,statusText:l.statusText,config:e,request:R})})}catch(L){if(A&&A(),L&&"TypeError"===L.name&&/Load failed|fetch/i.test(L.message))throw Object.assign(new ar("Network Error",ar.ERR_NETWORK,e,R),{cause:L.cause||L});throw ar.from(L,L&&L.code,e,R)}})},fn=new Map,dn=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,i=[n,o,r];let a,s,c=i.length,l=fn;for(;c--;)a=i[c],s=l.get(a),void 0===s&&l.set(a,s=c?new Map:un(t)),l=s;return s};dn();const pn={http:null,xhr:Zr,fetch:{get:dn}};or.forEach(pn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}});const hn=e=>`- ${e}`,mn=e=>or.isFunction(e)||null===e||!1===e;const gn={getAdapter:function(e,t){e=or.isArray(e)?e:[e];const{length:r}=e;let n,o;const i={};for(let a=0;a<r;a++){let r;if(n=e[a],o=n,!mn(n)&&(o=pn[(r=String(n)).toLowerCase()],void 0===o))throw new ar(`Unknown adapter '${r}'`);if(o&&(or.isFunction(o)||(o=o.get(t))))break;i[r||"#"+a]=o}if(!o){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=r?e.length>1?"since :\n"+e.map(hn).join("\n"):" "+hn(e[0]):"as no adapter specified";throw new ar("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:pn};function yn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Br(null,e)}function bn(e){yn(e),e.headers=Dr.from(e.headers),e.data=Ur.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return gn.getAdapter(e.adapter||Pr.adapter,e)(e).then(function(t){return yn(e),t.data=Ur.call(e,e.transformResponse,t),t.headers=Dr.from(t.headers),t},function(t){return Fr(t)||(yn(e),t&&t.response&&(t.response.data=Ur.call(e,e.transformResponse,t.response),t.response.headers=Dr.from(t.response.headers))),Promise.reject(t)})}const vn="1.13.4",En={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{En[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const wn={};En.transitional=function(e,t,r){return(n,o,i)=>{if(!1===e)throw new ar(function(e,t){return"[Axios v"+vn+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}(o," has been removed"+(t?" in "+t:"")),ar.ERR_DEPRECATED);return t&&!wn[o]&&(wn[o]=!0),!e||e(n,o,i)}},En.spelling=function(e){return(e,t)=>!0};const Sn={assertOptions:function(e,t,r){if("object"!=typeof e)throw new ar("options must be an object",ar.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],a=t[i];if(a){const t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new ar("option "+i+" must be "+r,ar.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new ar("Unknown option "+i,ar.ERR_BAD_OPTION)}},validators:En},On=Sn.validators;class _n{constructor(e){this.defaults=e||{},this.interceptors={request:new yr,response:new yr}}request(e,t){return p(this,null,function*(){try{return yield this._request(e,t)}catch(r){if(r instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{r.stack?t&&!String(r.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+t):r.stack=t}catch(n){}}throw r}})}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Jr(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&Sn.assertOptions(r,{silentJSONParsing:On.transitional(On.boolean),forcedJSONParsing:On.transitional(On.boolean),clarifyTimeoutError:On.transitional(On.boolean)},!1),null!=n&&(or.isFunction(n)?t.paramsSerializer={serialize:n}:Sn.assertOptions(n,{encode:On.function,serialize:On.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Sn.assertOptions(t,{baseUrl:On.spelling("baseURL"),withXsrfToken:On.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&or.merge(o.common,o[t.method]);o&&or.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=Dr.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))});const c=[];let l;this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let u,f=0;if(!s){const e=[bn.bind(this),void 0];for(e.unshift(...a),e.push(...c),u=e.length,l=Promise.resolve(t);f<u;)l=l.then(e[f++],e[f++]);return l}u=a.length;let d=t;for(;f<u;){const e=a[f++],t=a[f++];try{d=e(d)}catch(p){t.call(this,p);break}}try{l=bn.call(this,d)}catch(p){return Promise.reject(p)}for(f=0,u=c.length;f<u;)l=l.then(c[f++],c[f++]);return l}getUri(e){return gr(Qr((e=Jr(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}or.forEach(["delete","get","head","options"],function(e){_n.prototype[e]=function(t,r){return this.request(Jr(r||{},{method:e,url:t,data:(r||{}).data}))}}),or.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,o){return this.request(Jr(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}_n.prototype[e]=t(),_n.prototype[e+"Form"]=t(!0)});const Rn=_n;class An{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;const n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new Br(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new An(function(t){e=t}),cancel:e}}}const kn=An;const Ln={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ln).forEach(([e,t])=>{Ln[t]=e});const Pn=Ln;const Cn=function e(t){const r=new Rn(t),n=ht(Rn.prototype.request,r);return or.extend(n,Rn.prototype,r,{allOwnKeys:!0}),or.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Jr(t,r))},n}(Pr);Cn.Axios=Rn,Cn.CanceledError=Br,Cn.CancelToken=kn,Cn.isCancel=Fr,Cn.VERSION=vn,Cn.toFormData=fr,Cn.AxiosError=ar,Cn.Cancel=Cn.CanceledError,Cn.all=function(e){return Promise.all(e)},Cn.spread=function(e){return function(t){return e.apply(null,t)}},Cn.isAxiosError=function(e){return or.isObject(e)&&!0===e.isAxiosError},Cn.mergeConfig=Jr,Cn.AxiosHeaders=Dr,Cn.formToJSON=e=>kr(or.isHTMLForm(e)?new FormData(e):e),Cn.getAdapter=gn.getAdapter,Cn.HttpStatusCode=Pn,Cn.default=Cn;const Tn=Cn;var Nn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function xn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function jn(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}var In=TypeError;const Dn=jn(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Un="function"==typeof Map&&Map.prototype,Fn=Object.getOwnPropertyDescriptor&&Un?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Bn=Un&&Fn&&"function"==typeof Fn.get?Fn.get:null,Mn=Un&&Map.prototype.forEach,$n="function"==typeof Set&&Set.prototype,Hn=Object.getOwnPropertyDescriptor&&$n?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Wn=$n&&Hn&&"function"==typeof Hn.get?Hn.get:null,Kn=$n&&Set.prototype.forEach,Vn="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,zn="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,qn="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Qn=Boolean.prototype.valueOf,Gn=Object.prototype.toString,Jn=Function.prototype.toString,Yn=String.prototype.match,Zn=String.prototype.slice,Xn=String.prototype.replace,eo=String.prototype.toUpperCase,to=String.prototype.toLowerCase,ro=RegExp.prototype.test,no=Array.prototype.concat,oo=Array.prototype.join,io=Array.prototype.slice,ao=Math.floor,so="function"==typeof BigInt?BigInt.prototype.valueOf:null,co=Object.getOwnPropertySymbols,lo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,uo="function"==typeof Symbol&&"object"==typeof Symbol.iterator,fo="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===uo||"symbol")?Symbol.toStringTag:null,po=Object.prototype.propertyIsEnumerable,ho=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function mo(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||ro.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-ao(-e):ao(e);if(n!==e){var o=String(n),i=Zn.call(t,o.length+1);return Xn.call(o,r,"$&_")+"."+Xn.call(Xn.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Xn.call(t,r,"$&_")}var go=Dn,yo=go.custom,bo=ko(yo)?yo:null,vo={__proto__:null,double:'"',single:"'"},Eo={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},wo=function e(t,r,n,o){var i=r||{};if(Po(i,"quoteStyle")&&!Po(vo,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Po(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!Po(i,"customInspect")||i.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Po(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Po(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return No(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var c=String(t);return s?mo(t,c):c}if("bigint"==typeof t){var l=String(t)+"n";return s?mo(t,l):l}var u=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=u&&u>0&&"object"==typeof t)return Ro(t)?"[Array]":"[Object]";var f=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=oo.call(Array(e.indent+1)," ")}return{base:r,prev:oo.call(Array(t+1),r)}}(i,n);if(void 0===o)o=[];else if(To(o,t)>=0)return"[Circular]";function d(t,r,a){if(r&&(o=io.call(o)).push(r),a){var s={depth:i.depth};return Po(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,n+1,o)}return e(t,i,n+1,o)}if("function"==typeof t&&!Ao(t)){var p=function(e){if(e.name)return e.name;var t=Yn.call(Jn.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),h=Fo(t,d);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(h.length>0?" { "+oo.call(h,", ")+" }":"")}if(ko(t)){var m=uo?Xn.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):lo.call(t);return"object"!=typeof t||uo?m:jo(m)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var g="<"+to.call(String(t.nodeName)),y=t.attributes||[],b=0;b<y.length;b++)g+=" "+y[b].name+"="+So(Oo(y[b].value),"double",i);return g+=">",t.childNodes&&t.childNodes.length&&(g+="..."),g+="</"+to.call(String(t.nodeName))+">"}if(Ro(t)){if(0===t.length)return"[]";var v=Fo(t,d);return f&&!function(e){for(var t=0;t<e.length;t++)if(To(e[t],"\n")>=0)return!1;return!0}(v)?"["+Uo(v,f)+"]":"[ "+oo.call(v,", ")+" ]"}if(function(e){return"[object Error]"===Co(e)&&_o(e)}(t)){var E=Fo(t,d);return"cause"in Error.prototype||!("cause"in t)||po.call(t,"cause")?0===E.length?"["+String(t)+"]":"{ ["+String(t)+"] "+oo.call(E,", ")+" }":"{ ["+String(t)+"] "+oo.call(no.call("[cause]: "+d(t.cause),E),", ")+" }"}if("object"==typeof t&&a){if(bo&&"function"==typeof t[bo]&&go)return go(t,{depth:u-n});if("symbol"!==a&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!Bn||!e||"object"!=typeof e)return!1;try{Bn.call(e);try{Wn.call(e)}catch(g){return!0}return e instanceof Map}catch(t){}return!1}(t)){var w=[];return Mn&&Mn.call(t,function(e,r){w.push(d(r,t,!0)+" => "+d(e,t))}),Do("Map",Bn.call(t),w,f)}if(function(e){if(!Wn||!e||"object"!=typeof e)return!1;try{Wn.call(e);try{Bn.call(e)}catch(t){return!0}return e instanceof Set}catch(r){}return!1}(t)){var S=[];return Kn&&Kn.call(t,function(e){S.push(d(e,t))}),Do("Set",Wn.call(t),S,f)}if(function(e){if(!Vn||!e||"object"!=typeof e)return!1;try{Vn.call(e,Vn);try{zn.call(e,zn)}catch(g){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return Io("WeakMap");if(function(e){if(!zn||!e||"object"!=typeof e)return!1;try{zn.call(e,zn);try{Vn.call(e,Vn)}catch(g){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return Io("WeakSet");if(function(e){if(!qn||!e||"object"!=typeof e)return!1;try{return qn.call(e),!0}catch(t){}return!1}(t))return Io("WeakRef");if(function(e){return"[object Number]"===Co(e)&&_o(e)}(t))return jo(d(Number(t)));if(function(e){if(!e||"object"!=typeof e||!so)return!1;try{return so.call(e),!0}catch(t){}return!1}(t))return jo(d(so.call(t)));if(function(e){return"[object Boolean]"===Co(e)&&_o(e)}(t))return jo(Qn.call(t));if(function(e){return"[object String]"===Co(e)&&_o(e)}(t))return jo(d(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==Nn&&t===Nn)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===Co(e)&&_o(e)}(t)&&!Ao(t)){var O=Fo(t,d),_=ho?ho(t)===Object.prototype:t instanceof Object||t.constructor===Object,R=t instanceof Object?"":"null prototype",A=!_&&fo&&Object(t)===t&&fo in t?Zn.call(Co(t),8,-1):R?"Object":"",k=(_||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(A||R?"["+oo.call(no.call([],A||[],R||[]),": ")+"] ":"");return 0===O.length?k+"{}":f?k+"{"+Uo(O,f)+"}":k+"{ "+oo.call(O,", ")+" }"}return String(t)};function So(e,t,r){var n=r.quoteStyle||t,o=vo[n];return o+e+o}function Oo(e){return Xn.call(String(e),/"/g,"&quot;")}function _o(e){return!fo||!("object"==typeof e&&(fo in e||void 0!==e[fo]))}function Ro(e){return"[object Array]"===Co(e)&&_o(e)}function Ao(e){return"[object RegExp]"===Co(e)&&_o(e)}function ko(e){if(uo)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!lo)return!1;try{return lo.call(e),!0}catch(t){}return!1}var Lo=Object.prototype.hasOwnProperty||function(e){return e in this};function Po(e,t){return Lo.call(e,t)}function Co(e){return Gn.call(e)}function To(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function No(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return No(Zn.call(e,0,t.maxStringLength),t)+n}var o=Eo[t.quoteStyle||"single"];return o.lastIndex=0,So(Xn.call(Xn.call(e,o,"\\$1"),/[\x00-\x1f]/g,xo),"single",t)}function xo(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+eo.call(t.toString(16))}function jo(e){return"Object("+e+")"}function Io(e){return e+" { ? }"}function Do(e,t,r,n){return e+" ("+t+") {"+(n?Uo(r,n):oo.call(r,", "))+"}"}function Uo(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+oo.call(e,","+r)+"\n"+t.prev}function Fo(e,t){var r=Ro(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=Po(e,o)?t(e[o],e):""}var i,a="function"==typeof co?co(e):[];if(uo){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var c in e)Po(e,c)&&(r&&String(Number(c))===c&&c<e.length||uo&&i["$"+c]instanceof Symbol||(ro.call(/[^\w$]/,c)?n.push(t(c,e)+": "+t(e[c],e)):n.push(c+": "+t(e[c],e))));if("function"==typeof co)for(var l=0;l<a.length;l++)po.call(e,a[l])&&n.push("["+t(a[l])+"]: "+t(e[a[l]],e));return n}var Bo=wo,Mo=In,$o=function(e,t,r){for(var n,o=e;null!=(n=o.next);o=n)if(n.key===t)return o.next=n.next,r||(n.next=e.next,e.next=n),n},Ho=Object,Wo=Error,Ko=EvalError,Vo=RangeError,zo=ReferenceError,qo=SyntaxError,Qo=URIError,Go=Math.abs,Jo=Math.floor,Yo=Math.max,Zo=Math.min,Xo=Math.pow,ei=Math.round,ti=Number.isNaN||function(e){return e!=e},ri=Object.getOwnPropertyDescriptor;if(ri)try{ri([],"length")}catch(uu){ri=null}var ni=ri,oi=Object.defineProperty||!1;if(oi)try{oi({},"a",{value:1})}catch(uu){oi=!1}var ii,ai,si,ci,li,ui,fi,di,pi,hi,mi,gi,yi,bi,vi,Ei,wi=oi;function Si(){return ui?li:(ui=1,li="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function Oi(){return di?fi:(di=1,fi=Ho.getPrototypeOf||null)}function _i(){if(gi)return mi;gi=1;var e=function(){if(hi)return pi;hi=1;var e=Object.prototype.toString,t=Math.max,r=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r};return pi=function(n){var o=this;if("function"!=typeof o||"[object Function]"!==e.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(e){for(var t=[],r=1||0,n=0;r<e.length;r+=1,n+=1)t[n]=e[r];return t}(arguments),s=t(0,o.length-a.length),c=[],l=0;l<s;l++)c[l]="$"+l;if(i=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var e=o.apply(this,r(a,arguments));return Object(e)===e?e:this}return o.apply(n,r(a,arguments))}),o.prototype){var u=function(){};u.prototype=o.prototype,i.prototype=new u,u.prototype=null}return i},pi}();return mi=Function.prototype.bind||e}function Ri(){return bi?yi:(bi=1,yi=Function.prototype.call)}function Ai(){return Ei?vi:(Ei=1,vi=Function.prototype.apply)}var ki,Li,Pi,Ci,Ti,Ni,xi,ji="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,Ii=_i(),Di=Ai(),Ui=Ri(),Fi=ji||Ii.call(Ui,Di),Bi=_i(),Mi=In,$i=Ri(),Hi=Fi,Wi=function(e){if(e.length<1||"function"!=typeof e[0])throw new Mi("a function is required");return Hi(Bi,$i,e)};var Ki=Ho,Vi=Wo,zi=Ko,qi=Vo,Qi=zo,Gi=qo,Ji=In,Yi=Qo,Zi=Go,Xi=Jo,ea=Yo,ta=Zo,ra=Xo,na=ei,oa=function(e){return ti(e)||0===e?e:e<0?-1:1},ia=Function,aa=function(e){try{return ia('"use strict"; return ('+e+").constructor;")()}catch(uu){}},sa=ni,ca=wi,la=function(){throw new Ji},ua=sa?function(){try{return la}catch(e){try{return sa(arguments,"callee").get}catch(t){return la}}}():la,fa=function(){if(ci)return si;ci=1;var e="undefined"!=typeof Symbol&&Symbol,t=ai?ii:(ai=1,ii=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0});return si=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))}}()(),da=function(){if(Ci)return Pi;Ci=1;var e=Si(),t=Oi(),r=function(){if(Li)return ki;Li=1;var e,t=Wi,r=ni;try{e=[].__proto__===Array.prototype}catch(uu){if(!uu||"object"!=typeof uu||!("code"in uu)||"ERR_PROTO_ACCESS"!==uu.code)throw uu}var n=!!e&&r&&r(Object.prototype,"__proto__"),o=Object,i=o.getPrototypeOf;return ki=n&&"function"==typeof n.get?t([n.get]):"function"==typeof i&&function(e){return i(null==e?e:o(e))}}();return Pi=e?function(t){return e(t)}:t?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:r?function(e){return r(e)}:null}(),pa=Oi(),ha=Si(),ma=Ai(),ga=Ri(),ya={},ba="undefined"!=typeof Uint8Array&&da?da(Uint8Array):xi,va={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?xi:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?xi:ArrayBuffer,"%ArrayIteratorPrototype%":fa&&da?da([][Symbol.iterator]()):xi,"%AsyncFromSyncIteratorPrototype%":xi,"%AsyncFunction%":ya,"%AsyncGenerator%":ya,"%AsyncGeneratorFunction%":ya,"%AsyncIteratorPrototype%":ya,"%Atomics%":"undefined"==typeof Atomics?xi:Atomics,"%BigInt%":"undefined"==typeof BigInt?xi:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?xi:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?xi:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?xi:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Vi,"%eval%":eval,"%EvalError%":zi,"%Float16Array%":"undefined"==typeof Float16Array?xi:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?xi:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?xi:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?xi:FinalizationRegistry,"%Function%":ia,"%GeneratorFunction%":ya,"%Int8Array%":"undefined"==typeof Int8Array?xi:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?xi:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?xi:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":fa&&da?da(da([][Symbol.iterator]())):xi,"%JSON%":"object"==typeof JSON?JSON:xi,"%Map%":"undefined"==typeof Map?xi:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&fa&&da?da((new Map)[Symbol.iterator]()):xi,"%Math%":Math,"%Number%":Number,"%Object%":Ki,"%Object.getOwnPropertyDescriptor%":sa,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?xi:Promise,"%Proxy%":"undefined"==typeof Proxy?xi:Proxy,"%RangeError%":qi,"%ReferenceError%":Qi,"%Reflect%":"undefined"==typeof Reflect?xi:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?xi:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&fa&&da?da((new Set)[Symbol.iterator]()):xi,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?xi:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":fa&&da?da(""[Symbol.iterator]()):xi,"%Symbol%":fa?Symbol:xi,"%SyntaxError%":Gi,"%ThrowTypeError%":ua,"%TypedArray%":ba,"%TypeError%":Ji,"%Uint8Array%":"undefined"==typeof Uint8Array?xi:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?xi:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?xi:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?xi:Uint32Array,"%URIError%":Yi,"%WeakMap%":"undefined"==typeof WeakMap?xi:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?xi:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?xi:WeakSet,"%Function.prototype.call%":ga,"%Function.prototype.apply%":ma,"%Object.defineProperty%":ca,"%Object.getPrototypeOf%":pa,"%Math.abs%":Zi,"%Math.floor%":Xi,"%Math.max%":ea,"%Math.min%":ta,"%Math.pow%":ra,"%Math.round%":na,"%Math.sign%":oa,"%Reflect.getPrototypeOf%":ha};if(da)try{null.error}catch(uu){var Ea=da(da(uu));va["%Error.prototype%"]=Ea}var wa=function e(t){var r;if("%AsyncFunction%"===t)r=aa("async function () {}");else if("%GeneratorFunction%"===t)r=aa("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=aa("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&da&&(r=da(o.prototype))}return va[t]=r,r},Sa={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Oa=_i(),_a=function(){if(Ni)return Ti;Ni=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=_i();return Ti=r.call(e,t)}(),Ra=Oa.call(ga,Array.prototype.concat),Aa=Oa.call(ma,Array.prototype.splice),ka=Oa.call(ga,String.prototype.replace),La=Oa.call(ga,String.prototype.slice),Pa=Oa.call(ga,RegExp.prototype.exec),Ca=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ta=/\\(\\)?/g,Na=function(e,t){var r,n=e;if(_a(Sa,n)&&(n="%"+(r=Sa[n])[0]+"%"),_a(va,n)){var o=va[n];if(o===ya&&(o=wa(n)),void 0===o&&!t)throw new Ji("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Gi("intrinsic "+e+" does not exist!")},xa=function(e,t){if("string"!=typeof e||0===e.length)throw new Ji("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new Ji('"allowMissing" argument must be a boolean');if(null===Pa(/^%?[^%]*%?$/,e))throw new Gi("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=La(e,0,1),r=La(e,-1);if("%"===t&&"%"!==r)throw new Gi("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new Gi("invalid intrinsic syntax, expected opening `%`");var n=[];return ka(e,Ca,function(e,t,r,o){n[n.length]=r?ka(o,Ta,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",o=Na("%"+n+"%",t),i=o.name,a=o.value,s=!1,c=o.alias;c&&(n=c[0],Aa(r,Ra([0,1],c)));for(var l=1,u=!0;l<r.length;l+=1){var f=r[l],d=La(f,0,1),p=La(f,-1);if(('"'===d||"'"===d||"`"===d||'"'===p||"'"===p||"`"===p)&&d!==p)throw new Gi("property names with quotes must have matching quotes");if("constructor"!==f&&u||(s=!0),_a(va,i="%"+(n+="."+f)+"%"))a=va[i];else if(null!=a){if(!(f in a)){if(!t)throw new Ji("base intrinsic for "+e+" exists, but the property is not available.");return}if(sa&&l+1>=r.length){var h=sa(a,f);a=(u=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:a[f]}else u=_a(a,f),a=a[f];u&&!s&&(va[i]=a)}}return a},ja=xa,Ia=Wi,Da=Ia([ja("%String.prototype.indexOf%")]),Ua=function(e,t){var r=ja(e,!!t);return"function"==typeof r&&Da(e,".prototype.")>-1?Ia([r]):r},Fa=Ua,Ba=wo,Ma=In,$a=xa("%Map%",!0),Ha=Fa("Map.prototype.get",!0),Wa=Fa("Map.prototype.set",!0),Ka=Fa("Map.prototype.has",!0),Va=Fa("Map.prototype.delete",!0),za=Fa("Map.prototype.size",!0),qa=!!$a&&function(){var e,t={assert:function(e){if(!t.has(e))throw new Ma("Side channel does not contain "+Ba(e))},delete:function(t){if(e){var r=Va(e,t);return 0===za(e)&&(e=void 0),r}return!1},get:function(t){if(e)return Ha(e,t)},has:function(t){return!!e&&Ka(e,t)},set:function(t,r){e||(e=new $a),Wa(e,t,r)}};return t},Qa=Ua,Ga=wo,Ja=qa,Ya=In,Za=xa("%WeakMap%",!0),Xa=Qa("WeakMap.prototype.get",!0),es=Qa("WeakMap.prototype.set",!0),ts=Qa("WeakMap.prototype.has",!0),rs=Qa("WeakMap.prototype.delete",!0),ns=In,os=wo,is=(Za?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new Ya("Side channel does not contain "+Ga(e))},delete:function(r){if(Za&&r&&("object"==typeof r||"function"==typeof r)){if(e)return rs(e,r)}else if(Ja&&t)return t.delete(r);return!1},get:function(r){return Za&&r&&("object"==typeof r||"function"==typeof r)&&e?Xa(e,r):t&&t.get(r)},has:function(r){return Za&&r&&("object"==typeof r||"function"==typeof r)&&e?ts(e,r):!!t&&t.has(r)},set:function(r,n){Za&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new Za),es(e,r,n)):Ja&&(t||(t=Ja()),t.set(r,n))}};return r}:Ja)||qa||function(){var e,t={assert:function(e){if(!t.has(e))throw new Mo("Side channel does not contain "+Bo(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return $o(e,t,!0)}(e,t);return n&&r&&r===n&&(e=void 0),!!n},get:function(t){return function(e,t){if(e){var r=$o(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!$o(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=$o(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t},as=function(){var e,t={assert:function(e){if(!t.has(e))throw new ns("Side channel does not contain "+os(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=is()),e.set(t,r)}};return t},ss=String.prototype.replace,cs=/%20/g,ls="RFC3986",us={default:ls,formatters:{RFC1738:function(e){return ss.call(e,cs,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:ls},fs=us,ds=as,ps=Object.prototype.hasOwnProperty,hs=Array.isArray,ms=ds(),gs=function(e,t){return ms.set(e,t),e},ys=function(e){return ms.has(e)},bs=function(e){return ms.get(e)},vs=function(e,t){ms.set(e,t)},Es=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),ws=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},Ss=1024,Os={arrayToObject:ws,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t,r,n){if(ys(e)){var o=bs(e)+1;return e[o]=t,vs(e,o),e}var i=[].concat(e,t);return i.length>r?gs(ws(i,{plainObjects:n}),i.length-1):i},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var c=a[s],l=i[c];"object"==typeof l&&null!==l&&-1===r.indexOf(l)&&(t.push({obj:i,prop:c}),r.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(hs(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(uu){return n}},encode:function(e,t,r,n,o){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var a="",s=0;s<i.length;s+=Ss){for(var c=i.length>=Ss?i.slice(s,s+Ss):i,l=[],u=0;u<c.length;++u){var f=c.charCodeAt(u);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===fs.RFC1738&&(40===f||41===f)?l[l.length]=c.charAt(u):f<128?l[l.length]=Es[f]:f<2048?l[l.length]=Es[192|f>>6]+Es[128|63&f]:f<55296||f>=57344?l[l.length]=Es[224|f>>12]+Es[128|f>>6&63]+Es[128|63&f]:(u+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(u)),l[l.length]=Es[240|f>>18]+Es[128|f>>12&63]+Es[128|f>>6&63]+Es[128|63&f])}a+=l.join("")}return a},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:ys,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(hs(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(hs(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];if(ys(t)){var o=bs(t)+1;t[o]=r,vs(t,o)}else(n&&(n.plainObjects||n.allowPrototypes)||!ps.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t){if(ys(r)){for(var i=Object.keys(r),a=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},s=0;s<i.length;s++){a[parseInt(i[s],10)+1]=r[i[s]]}return gs(a,bs(r)+1)}return[t].concat(r)}var c=t;return hs(t)&&!hs(r)&&(c=ws(t,n)),hs(t)&&hs(r)?(r.forEach(function(r,o){if(ps.call(t,o)){var i=t[o];i&&"object"==typeof i&&r&&"object"==typeof r?t[o]=e(i,r,n):t.push(r)}else t[o]=r}),t):Object.keys(r).reduce(function(t,o){var i=r[o];return ps.call(t,o)?t[o]=e(t[o],i,n):t[o]=i,t},c)}},_s=as,Rs=Os,As=us,ks=Object.prototype.hasOwnProperty,Ls={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},Ps=Array.isArray,Cs=Array.prototype.push,Ts=function(e,t){Cs.apply(e,Ps(t)?t:[t])},Ns=Date.prototype.toISOString,xs=As.default,js={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Rs.encode,encodeValuesOnly:!1,filter:void 0,format:xs,formatter:As.formatters[xs],indices:!1,serializeDate:function(e){return Ns.call(e)},skipNulls:!1,strictNullHandling:!1},Is={},Ds=function e(t,r,n,o,i,a,s,c,l,u,f,d,p,h,m,g,y,b){for(var v,E=t,w=b,S=0,O=!1;void 0!==(w=w.get(Is))&&!O;){var _=w.get(t);if(S+=1,void 0!==_){if(_===S)throw new RangeError("Cyclic object value");O=!0}void 0===w.get(Is)&&(S=0)}if("function"==typeof u?E=u(r,E):E instanceof Date?E=p(E):"comma"===n&&Ps(E)&&(E=Rs.maybeMap(E,function(e){return e instanceof Date?p(e):e})),null===E){if(a)return l&&!g?l(r,js.encoder,y,"key",h):r;E=""}if("string"==typeof(v=E)||"number"==typeof v||"boolean"==typeof v||"symbol"==typeof v||"bigint"==typeof v||Rs.isBuffer(E))return l?[m(g?r:l(r,js.encoder,y,"key",h))+"="+m(l(E,js.encoder,y,"value",h))]:[m(r)+"="+m(String(E))];var R,A=[];if(void 0===E)return A;if("comma"===n&&Ps(E))g&&l&&(E=Rs.maybeMap(E,l)),R=[{value:E.length>0?E.join(",")||null:void 0}];else if(Ps(u))R=u;else{var k=Object.keys(E);R=f?k.sort(f):k}var L=c?String(r).replace(/\./g,"%2E"):String(r),P=o&&Ps(E)&&1===E.length?L+"[]":L;if(i&&Ps(E)&&0===E.length)return P+"[]";for(var C=0;C<R.length;++C){var T=R[C],N="object"==typeof T&&T&&void 0!==T.value?T.value:E[T];if(!s||null!==N){var x=d&&c?String(T).replace(/\./g,"%2E"):String(T),j=Ps(E)?"function"==typeof n?n(P,x):P:P+(d?"."+x:"["+x+"]");b.set(t,S);var I=_s();I.set(Is,b),Ts(A,e(N,j,n,o,i,a,s,c,"comma"===n&&g&&Ps(E)?null:l,u,f,d,p,h,m,g,y,I))}}return A},Us=Os,Fs=Object.prototype.hasOwnProperty,Bs=Array.isArray,Ms={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Us.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},$s=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},Hs=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},Ws=function(e,t,r,n){if(e){var o=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&Fs.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(r),i=o?r.slice(0,o.index):r,a=[];if(i){if(!t.plainObjects&&Fs.call(Object.prototype,i)&&!t.allowPrototypes)return;a.push(i)}for(var s=0;null!==(o=n.exec(r))&&s<t.depth;){s+=1;var c=o[1].slice(1,-1);if(!t.plainObjects&&Fs.call(Object.prototype,c)&&!t.allowPrototypes)return;a.push(o[1])}if(o){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");a.push("["+r.slice(o.index)+"]")}return a}(e,r);if(o)return function(e,t,r,n){var o=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");o=Array.isArray(t)&&t[i]?t[i].length:0}for(var a=n?t:Hs(t,r,o),s=e.length-1;s>=0;--s){var c,l=e[s];if("[]"===l&&r.parseArrays)c=Us.isOverflow(a)?a:r.allowEmptyArrays&&(""===a||r.strictNullHandling&&null===a)?[]:Us.combine([],a,r.arrayLimit,r.plainObjects);else{c=r.plainObjects?{__proto__:null}:{};var u="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,f=r.decodeDotInKeys?u.replace(/%2E/g,"."):u,d=parseInt(f,10);r.parseArrays||""!==f?!isNaN(d)&&l!==f&&String(d)===f&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(c=[])[d]=a:"__proto__"!==f&&(c[f]=a):c={0:a}}a=c}return a}(o,t,r,n)}};const Ks=xn({formats:us,parse:function(e,t){var r=function(e){if(!e)return Ms;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?Ms.charset:e.charset,r=void 0===e.duplicates?Ms.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||Ms.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:Ms.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:Ms.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:Ms.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:Ms.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Ms.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:Ms.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:Ms.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:Ms.decoder,delimiter:"string"==typeof e.delimiter||Us.isRegExp(e.delimiter)?e.delimiter:Ms.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:Ms.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:Ms.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:Ms.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:Ms.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:Ms.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Ms.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var n="string"==typeof e?function(e,t){var r={__proto__:null},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;n=n.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var o=t.parameterLimit===1/0?void 0:t.parameterLimit,i=n.split(t.delimiter,t.throwOnLimitExceeded?o+1:o);if(t.throwOnLimitExceeded&&i.length>o)throw new RangeError("Parameter limit exceeded. Only "+o+" parameter"+(1===o?"":"s")+" allowed.");var a,s=-1,c=t.charset;if(t.charsetSentinel)for(a=0;a<i.length;++a)0===i[a].indexOf("utf8=")&&("utf8=%E2%9C%93"===i[a]?c="utf-8":"utf8=%26%2310003%3B"===i[a]&&(c="iso-8859-1"),s=a,a=i.length);for(a=0;a<i.length;++a)if(a!==s){var l,u,f=i[a],d=f.indexOf("]="),p=-1===d?f.indexOf("="):d+1;if(-1===p?(l=t.decoder(f,Ms.decoder,c,"key"),u=t.strictNullHandling?null:""):null!==(l=t.decoder(f.slice(0,p),Ms.decoder,c,"key"))&&(u=Us.maybeMap(Hs(f.slice(p+1),t,Bs(r[l])?r[l].length:0),function(e){return t.decoder(e,Ms.decoder,c,"value")})),u&&t.interpretNumericEntities&&"iso-8859-1"===c&&(u=$s(String(u))),f.indexOf("[]=")>-1&&(u=Bs(u)?[u]:u),null!==l){var h=Fs.call(r,l);h&&"combine"===t.duplicates?r[l]=Us.combine(r[l],u,t.arrayLimit,t.plainObjects):h&&"last"!==t.duplicates||(r[l]=u)}}return r}(e,r):e,o=r.plainObjects?{__proto__:null}:{},i=Object.keys(n),a=0;a<i.length;++a){var s=i[a],c=Ws(s,n[s],r,"string"==typeof e);o=Us.merge(o,c,r)}return!0===r.allowSparse?o:Us.compact(o)},stringify:function(e,t){var r,n=e,o=function(e){if(!e)return js;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||js.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=As.default;if(void 0!==e.format){if(!ks.call(As.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,o=As.formatters[r],i=js.filter;if(("function"==typeof e.filter||Ps(e.filter))&&(i=e.filter),n=e.arrayFormat in Ls?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":js.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var a=void 0===e.allowDots?!0===e.encodeDotInKeys||js.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:js.addQueryPrefix,allowDots:a,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:js.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:js.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?js.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:js.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:js.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:js.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:js.encodeValuesOnly,filter:i,format:r,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:js.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:js.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:js.strictNullHandling}}(t);"function"==typeof o.filter?n=(0,o.filter)("",n):Ps(o.filter)&&(r=o.filter);var i=[];if("object"!=typeof n||null===n)return"";var a=Ls[o.arrayFormat],s="comma"===a&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var c=_s(),l=0;l<r.length;++l){var u=r[l],f=n[u];o.skipNulls&&null===f||Ts(i,Ds(f,u,a,s,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,c))}var d=i.join(o.delimiter),p=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?p+="utf8=%26%2310003%3B&":p+="utf8=%E2%9C%93&"),d.length>0?p+d:""}});var Vs,zs;function qs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qs(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Gs(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}Tn.create({withCredentials:!0,timeout:5e3,paramsSerializer:function(e){return Ks.stringify(e)}}).interceptors.response.use(function(e){return e},function(e){return Promise.reject(e)}),ct.CloudProduct,ut.CloudProduct,dt.CloudProduct,ut.TechnicalSolution,dt.TechnicalSolution,ut.Solution,dt.TechnicalSolution,ut.DeploymentTutorial,dt.TechnicalSolution,ct.Console,dt.Console,ct.CustomerStory,dt.CustomerStory,ct.Help,dt.HelpDocumentation,ct.FreeTrial,dt.FreeTrial,ct.Activity,dt.Other,ct.Other,dt.Other,ct.YunZhi,dt.Other,ct.DeveloperCommunity,dt.Other,ct.CloudMarket,dt.Other,ct.OpenAPI,dt.Other,ct.ComputeNest,dt.Other,ct.Security,dt.Other,ct.CloudTopic,dt.Other,ct.Bulletin,dt.Other,ct.Benefits,dt.Other,ct.TrainAndCertificate,dt.Other,ct.TrustCenter,dt.Other,null===(Vs=window.top.location.host)||void 0===Vs||Vs.includes("pre-"),qs(zs={},Ze.SearchWord,Je.SearchWord),qs(zs,Ze.SearchType,Je.SearchType),qs(zs,Ze.SearchPageNumber,Je.SearchPageNumber),"function"==typeof SuppressedError&&SuppressedError;var Js=function(e){return"function"==typeof e},Ys=function(e){return"number"==typeof e};const Zs=function(e){var t=y.useRef(e);t.current=y.useMemo(function(){return e},[e]);var r=y.useRef(void 0);return r.current||(r.current=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.current.apply(this,e)}),r.current};function Xs(e,t){if(e===t)return!0;for(var r=0;r<e.length;r++)if(!Object.is(e[r],t[r]))return!1;return!0}function ec(e){var t=y.useRef(e);return t.current=e,t}const tc=function(e){var t=ec(e);y.useEffect(function(){return function(){t.current()}},[])};const rc=!("undefined"==typeof window||!window.document||!window.document.createElement);const nc=function(e){y.useEffect(function(){var t=null==e?void 0:e();if(!t||"object"!=typeof t||"function"!=typeof t.then)return t},[])};function oc(e,t){if(rc)return e?Js(e)?e():"current"in e?e.current:e:t}const ic=function(e){if(!e||!document.getRootNode)return document;var t,r=Array.isArray(e)?e:[e];return function(e){return e.every(function(e){var t=oc(e);return!!t&&t.getRootNode()instanceof ShadowRoot})}(r)&&(t=oc(r[0]))?t.getRootNode():document};const ac=function(e){return function(t,r,n){var o=y.useRef(!1),i=y.useRef([]),a=y.useRef([]),s=y.useRef(void 0);e(function(){var e,c=(Array.isArray(n)?n:[n]).map(function(e){return oc(e)});if(!o.current)return o.current=!0,i.current=c,a.current=r,void(s.current=t());c.length===i.current.length&&Xs(i.current,c)&&Xs(a.current,r)||(null===(e=s.current)||void 0===e||e.call(s),i.current=c,a.current=r,s.current=t())}),tc(function(){var e;null===(e=s.current)||void 0===e||e.call(s),o.current=!1})}};const sc=ac(y.useEffect);var cc="undefined"!=typeof Element,lc="function"==typeof Map,uc="function"==typeof Set,fc="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function dc(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var r,n,o,i;if(Array.isArray(e)){if((r=e.length)!=t.length)return!1;for(n=r;0!==n--;)if(!dc(e[n],t[n]))return!1;return!0}if(lc&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;for(i=e.entries();!(n=i.next()).done;)if(!dc(n.value[1],t.get(n.value[0])))return!1;return!0}if(uc&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(fc&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((r=e.length)!=t.length)return!1;for(n=r;0!==n--;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!==n--;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;if(cc&&e instanceof Element)return!1;for(n=r;0!==n--;)if(("_owner"!==o[n]&&"__v"!==o[n]&&"__o"!==o[n]||!e.$$typeof)&&!dc(e[o[n]],t[o[n]]))return!1;return!0}return e!=e&&t!=t}const pc=xn(function(e,t){try{return dc(e,t)}catch(r){if((r.message||"").match(/stack|recursion/i))return!1;throw r}});const hc=function(e,t,r){void 0===r&&(r={});var n=Zs(e),o=y.useRef(null),i=y.useCallback(function(){o.current&&clearInterval(o.current)},[]);return y.useEffect(function(){if(Ys(t)&&!(t<0))return r.immediate&&n(),o.current=setInterval(n,t),i},[t,r.immediate]),i};const mc=function(e,t,r){var n,o,i=y.useRef(void 0),a=y.useRef(0);n=t,o=i.current,void 0===n&&(n=[]),void 0===o&&(o=[]),pc(n,o)||(a.current+=1),i.current=t,sc(e,[a.current],r)};var gc={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,meta:/(mac|iphone|ipod|ipad)/i.test("undefined"!=typeof navigator?null===navigator||void 0===navigator?void 0:navigator.platform:"")?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},yc={ctrl:function(e){return e.ctrlKey},shift:function(e){return e.shiftKey},alt:function(e){return e.altKey},meta:function(e){return"keyup"===e.type?gc.meta.includes(e.keyCode):e.metaKey}};function bc(e){return function(e){return"string"==typeof e}(e)||Ys(e)}function vc(e,t,r){var n,o;if(!e.key)return!1;if(Ys(t))return e.keyCode===t&&t;var i=t.split("."),a=0;try{for(var s=Qs(i),c=s.next();!c.done;c=s.next()){var l=c.value,u=yc[l],f=gc[l.toLowerCase()];(u&&u(e)||f&&f===e.keyCode)&&a++}}catch(d){n={error:d}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return r?a===i.length&&function(e){var t=Object.keys(yc).reduce(function(t,r){return yc[r](e)?t+1:t},0);return[16,17,18,91,92].includes(e.keyCode)?t:t+1}(e)===i.length&&t:a===i.length&&t}var Ec=["keydown"];function wc(e,t,r){var n=r||{},o=n.events,i=void 0===o?Ec:o,a=n.target,s=n.exactMatch,c=void 0!==s&&s,l=n.useCapture,u=void 0!==l&&l,f=ec(t),d=ec(e);mc(function(){var e,t,r,n=oc(a,window);if(n){var o=function(e){var t,r=e,n=function(e,t){return Js(e)?e:bc(e)?function(r){return vc(r,e,t)}:Array.isArray(e)?function(r){return e.find(function(e){return vc(r,e,t)})}:function(){return Boolean(e)}}(d.current,c),o=n(r),i=bc(o)?o:r.key;if(o)return null===(t=f.current)||void 0===t?void 0:t.call(f,r,i)};try{for(var s=Qs(i),l=s.next();!l.done;l=s.next()){var p=l.value;null===(r=null==n?void 0:n.addEventListener)||void 0===r||r.call(n,p,o,u)}}catch(h){e={error:h}}finally{try{l&&!l.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}return function(){var e,t,r;try{for(var a=Qs(i),s=a.next();!s.done;s=a.next()){var c=s.value;null===(r=null==n?void 0:n.removeEventListener)||void 0===r||r.call(n,c,o,u)}}catch(l){e={error:l}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}}}},[i],a)}var Sc=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some(function(e,n){return e[0]===t&&(r=n,!0)}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var o=n[r];e.call(t,o[1],o[0])}},t}()}(),Oc="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,_c="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),Rc="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(_c):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)};var Ac=["top","right","bottom","left","width","height","size","weight"],kc="undefined"!=typeof MutationObserver,Lc=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var r=!1,n=!1,o=0;function i(){r&&(r=!1,e()),n&&s()}function a(){Rc(i)}function s(){var e=Date.now();if(r){if(e-o<2)return;n=!0}else r=!0,n=!1,setTimeout(a,t);o=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){Oc&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),kc?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){Oc&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;Ac.some(function(e){return!!~r.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Pc=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},Cc=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||_c},Tc=Uc(0,0,0,0);function Nc(e){return parseFloat(e)||0}function xc(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(t,r){return t+Nc(e["border-"+r+"-width"])},0)}function jc(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Tc;var n=Cc(e).getComputedStyle(e),o=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var o=n[r],i=e["padding-"+o];t[o]=Nc(i)}return t}(n),i=o.left+o.right,a=o.top+o.bottom,s=Nc(n.width),c=Nc(n.height);if("border-box"===n.boxSizing&&(Math.round(s+i)!==t&&(s-=xc(n,"left","right")+i),Math.round(c+a)!==r&&(c-=xc(n,"top","bottom")+a)),!function(e){return e===Cc(e).document.documentElement}(e)){var l=Math.round(s+i)-t,u=Math.round(c+a)-r;1!==Math.abs(l)&&(s-=l),1!==Math.abs(u)&&(c-=u)}return Uc(o.left,o.top,s,c)}var Ic="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof Cc(e).SVGGraphicsElement}:function(e){return e instanceof Cc(e).SVGElement&&"function"==typeof e.getBBox};function Dc(e){return Oc?Ic(e)?function(e){var t=e.getBBox();return Uc(0,0,t.width,t.height)}(e):jc(e):Tc}function Uc(e,t,r,n){return{x:e,y:t,width:r,height:n}}var Fc=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Uc(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=Dc(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),Bc=function(e,t){var r,n,o,i,a,s,c,l=(n=(r=t).x,o=r.y,i=r.width,a=r.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(s.prototype),Pc(c,{x:n,y:o,width:i,height:a,top:o,right:n+i,bottom:a+o,left:n}),c);Pc(this,{target:e,contentRect:l})},Mc=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new Sc,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Cc(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new Fc(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Cc(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new Bc(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),$c="undefined"!=typeof WeakMap?new WeakMap:new Sc,Hc=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Lc.getInstance(),n=new Mc(t,r,this);$c.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){Hc.prototype[e]=function(){var t;return(t=$c.get(this))[e].apply(t,arguments)}});var Wc=void 0!==_c.ResizeObserver?_c.ResizeObserver:Hc,Kc=ac(y.useLayoutEffect);const Vc=rc?Kc:sc;function zc(e){var t=Gs(function(e){var t=y.useRef(0),r=Gs(y.useState(e),2),n=r[0],o=r[1],i=y.useCallback(function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){o(e)})},[]);return tc(function(){cancelAnimationFrame(t.current)}),[n,i]}(function(){var t=oc(e);return t?{width:t.clientWidth,height:t.clientHeight}:void 0}),2),r=t[0],n=t[1];return Vc(function(){var t=oc(e);if(t){var r=new Wc(function(e){e.forEach(function(e){var t=e.target,r=t.clientWidth,o=t.clientHeight;n({width:r,height:o})})});return r.observe(t),function(){r.disconnect()}}},[],e),r}function qc(e){const t=e.href;if(t){const r=new URL(t),n=new URLSearchParams(r.search);if(!n.has("spm")){const t=e.getAttribute("data-spm-anchor-id");t&&n.set("spm",t)}if(!n.has("scm")){const t=e.getAttribute("data-tracker-scm");t&&n.set("scm",t)}r.search=n.toString();const o=r.toString();e.href=o}}function Qc(e){const{className:t=""}=e,{t:r}=fe();return y.createElement("svg",{className:t,fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},y.createElement("title",null,r("searchIcon")),y.createElement("clipPath",{id:"nav-search-icon"},y.createElement("path",{d:"m0 0h20v20h-20z"})),y.createElement("radialGradient",{id:"b",cx:"0",cy:"0",gradientTransform:"matrix(8.87122836 15.69931827 -15.33136584 8.66330914 3.76582 1.812358)",gradientUnits:"userSpaceOnUse",r:"1"},y.createElement("stop",{offset:"0","stop-color":"#ff915e"}),y.createElement("stop",{offset:".65171992779","stop-color":"#8968ff"}),y.createElement("stop",{offset:"1","stop-color":"#0062ff"})),y.createElement("radialGradient",{id:"c",cx:"0",cy:"0",gradientTransform:"matrix(-6.16583084 1.18098901 -1.53588444 -8.01870598 1.062887 11.089445)",gradientUnits:"userSpaceOnUse",r:"1"},y.createElement("stop",{offset:"0","stop-color":"#d68fce"}),y.createElement("stop",{offset:"1","stop-color":"#d68fce","stop-opacity":"0"})),y.createElement("radialGradient",{id:"d",cx:"0",cy:"0",gradientTransform:"matrix(7.96858077 2.51124874 -3.9462446 12.52204465 17.877075 10.67723)",gradientUnits:"userSpaceOnUse",r:"1"},y.createElement("stop",{offset:"0","stop-color":"#b6f3ff"}),y.createElement("stop",{offset:"1","stop-color":"#b6f3ff","stop-opacity":"0"})),y.createElement("g",{"clip-path":"url(#nav-search-icon)","fill-rule":"evenodd"},y.createElement("path",{d:"m8.75 2.5c.84738 0 1.65835.163816 2.4329.491447.7478.316314 1.41.762713 1.9864 1.339213.5765.57649 1.0229 1.23863 1.3393 1.98643.3276.77456.4914 1.58553.4914 2.43291s-.1638 1.65835-.4914 2.43291c-.2347.55477-.541 1.0624-.9188 1.52289l3.7272 3.7272-.8839.8839-3.7272-3.7272c-.46052.3779-.96818.6842-1.523.9189-.77455.3276-1.58552.4914-2.4329.4914s-1.65835-.1638-2.43291-.4914c-.74779-.3164-1.40994-.7628-1.98643-1.3393-.5765-.5764-1.0229-1.23859-1.339214-1.9864-.327631-.77455-.491446-1.58552-.491446-2.4329s.163815-1.65835.491446-2.43291c.316314-.74779.762714-1.40994 1.339214-1.98643.57649-.5765 1.23863-1.0229 1.98643-1.339214.77456-.327631 1.58553-.491446 2.43291-.491446zm0 1.25c-1.38061 0-2.5591.48818-3.53546 1.46454s-1.46454 2.15485-1.46454 3.53546.48818 2.5591 1.46454 3.53546c.97636.97634 2.15485 1.46454 3.53546 1.46454 1.38062 0 2.5591-.4882 3.53546-1.46454.97634-.97636 1.46454-2.15484 1.46454-3.53546 0-1.38061-.4882-2.5591-1.46454-3.53546-.97636-.97636-2.15485-1.46454-3.53546-1.46454z",fill:"#1366ec"}),y.createElement("path",{d:"m8.75 2.5c.84738 0 1.65835.163816 2.4329.491447.7478.316314 1.41.762713 1.9864 1.339213.5765.57649 1.0229 1.23863 1.3393 1.98643.3276.77456.4914 1.58553.4914 2.43291s-.1638 1.65835-.4914 2.43291c-.2347.55477-.541 1.0624-.9188 1.52289l3.7272 3.7272-.8839.8839-3.7272-3.7272c-.46052.3779-.96818.6842-1.523.9189-.77455.3276-1.58552.4914-2.4329.4914s-1.65835-.1638-2.43291-.4914c-.74779-.3164-1.40994-.7628-1.98643-1.3393-.5765-.5764-1.0229-1.23859-1.339214-1.9864-.327631-.77455-.491446-1.58552-.491446-2.4329s.163815-1.65835.491446-2.43291c.316314-.74779.762714-1.40994 1.339214-1.98643.57649-.5765 1.23863-1.0229 1.98643-1.339214.77456-.327631 1.58553-.491446 2.43291-.491446zm0 1.25c-1.38061 0-2.5591.48818-3.53546 1.46454s-1.46454 2.15485-1.46454 3.53546.48818 2.5591 1.46454 3.53546c.97636.97634 2.15485 1.46454 3.53546 1.46454 1.38062 0 2.5591-.4882 3.53546-1.46454.97634-.97636 1.46454-2.15484 1.46454-3.53546 0-1.38061-.4882-2.5591-1.46454-3.53546-.97636-.97636-2.15485-1.46454-3.53546-1.46454z",fill:"url(#b)"}),y.createElement("g",{"fill-opacity":".5"},y.createElement("path",{d:"m8.75 2.5c.84738 0 1.65835.163816 2.4329.491447.7478.316314 1.41.762713 1.9864 1.339213.5765.57649 1.0229 1.23863 1.3393 1.98643.3276.77456.4914 1.58553.4914 2.43291s-.1638 1.65835-.4914 2.43291c-.2347.55477-.541 1.0624-.9188 1.52289l3.7272 3.7272-.8839.8839-3.7272-3.7272c-.46052.3779-.96818.6842-1.523.9189-.77455.3276-1.58552.4914-2.4329.4914s-1.65835-.1638-2.43291-.4914c-.74779-.3164-1.40994-.7628-1.98643-1.3393-.5765-.5764-1.0229-1.23859-1.339214-1.9864-.327631-.77455-.491446-1.58552-.491446-2.4329s.163815-1.65835.491446-2.43291c.316314-.74779.762714-1.40994 1.339214-1.98643.57649-.5765 1.23863-1.0229 1.98643-1.339214.77456-.327631 1.58553-.491446 2.43291-.491446zm0 1.25c-1.38061 0-2.5591.48818-3.53546 1.46454s-1.46454 2.15485-1.46454 3.53546.48818 2.5591 1.46454 3.53546c.97636.97634 2.15485 1.46454 3.53546 1.46454 1.38062 0 2.5591-.4882 3.53546-1.46454.97634-.97636 1.46454-2.15484 1.46454-3.53546 0-1.38061-.4882-2.5591-1.46454-3.53546-.97636-.97636-2.15485-1.46454-3.53546-1.46454z",fill:"url(#c)"}),y.createElement("path",{d:"m8.75 2.5c.84738 0 1.65835.163816 2.4329.491447.7478.316314 1.41.762713 1.9864 1.339213.5765.57649 1.0229 1.23863 1.3393 1.98643.3276.77456.4914 1.58553.4914 2.43291s-.1638 1.65835-.4914 2.43291c-.2347.55477-.541 1.0624-.9188 1.52289l3.7272 3.7272-.8839.8839-3.7272-3.7272c-.46052.3779-.96818.6842-1.523.9189-.77455.3276-1.58552.4914-2.4329.4914s-1.65835-.1638-2.43291-.4914c-.74779-.3164-1.40994-.7628-1.98643-1.3393-.5765-.5764-1.0229-1.23859-1.339214-1.9864-.327631-.77455-.491446-1.58552-.491446-2.4329s.163815-1.65835.491446-2.43291c.316314-.74779.762714-1.40994 1.339214-1.98643.57649-.5765 1.23863-1.0229 1.98643-1.339214.77456-.327631 1.58553-.491446 2.43291-.491446zm0 1.25c-1.38061 0-2.5591.48818-3.53546 1.46454s-1.46454 2.15485-1.46454 3.53546.48818 2.5591 1.46454 3.53546c.97636.97634 2.15485 1.46454 3.53546 1.46454 1.38062 0 2.5591-.4882 3.53546-1.46454.97634-.97636 1.46454-2.15484 1.46454-3.53546 0-1.38061-.4882-2.5591-1.46454-3.53546-.97636-.97636-2.15485-1.46454-3.53546-1.46454z",fill:"url(#d)"}))))}const Gc={"search-input-container":"_263a743557b944265b84b2babe9e2639_search-input-container","new-search-button":"_263a743557b944265b84b2babe9e2639_new-search-button","search-input":"_263a743557b944265b84b2babe9e2639_search-input","no-increase-search-input":"_263a743557b944265b84b2babe9e2639_no-increase-search-input","active-search-input":"_263a743557b944265b84b2babe9e2639_active-search-input","search-button-group":"_263a743557b944265b84b2babe9e2639_search-button-group","search-button":"_263a743557b944265b84b2babe9e2639_search-button","active-search-button":"_263a743557b944265b84b2babe9e2639_active-search-button","search-input-border":"_263a743557b944265b84b2babe9e2639_search-input-border","active-search-input-border":"_263a743557b944265b84b2babe9e2639_active-search-input-border","search-input-border-gradient":"_263a743557b944265b84b2babe9e2639_search-input-border-gradient","search-input-projection-gradient":"_263a743557b944265b84b2babe9e2639_search-input-projection-gradient","hidden-element":"_263a743557b944265b84b2babe9e2639_hidden-element","increase-search-input-container":"_263a743557b944265b84b2babe9e2639_increase-search-input-container","active-search-input-container":"_263a743557b944265b84b2babe9e2639_active-search-input-container"};function Jc(e){const{className:t="",inputRef:r,inputValue:n,placeholderValue:o,isLoadPanel:i,showClearButton:a,inputValueChange:s,inputFocus:c,inputBlur:l,inputCompositionStart:u,inputCompositionEnd:f,clickSearchButton:d,clickClearButton:h}=e,{isInit:m,isIncrease:g}=function(){const[e,t]=y.useState(!1),[r,n]=y.useState(void 0);return y.useEffect(()=>{var e,t,r,o;let i=!1,a=null!=(t=(null!=(e=null==window?void 0:window.top)?e:window).location.origin)?t:"";a+=null!=(o=(null!=(r=null==window?void 0:window.top)?r:window).location.pathname)?o:"",/^(https:\/\/(www|pre-www)\.aliyun\.com\/?)$/.test(a)&&(i=!0),/^https:\/\/(www|pre-www)\.alibabacloud\.com(\/.*)?$/.test(a)&&(i=!0),/^(https:\/\/pre-www\.aliyun\.com\/preview\/website\/global\/header-test\/?)$/.test(a)&&(i=!0),/^(https:\/\/pre-www\.aliyun.com\/lowcode\/website\/homepage\/homepage-searchbar-ab\/?)$/.test(a)&&(i=!0),n(i)},[]),nc(()=>p(this,null,function*(){t(!0)})),{isInit:e,isIncrease:r}}();return y.createElement(y.Fragment,null,m?y.createElement("div",{className:[Gc["search-input-container"],g?Gc["increase-search-input-container"]:"",i?Gc["active-search-input-container"]:"",t].join(" ")},y.createElement("button",{className:[Gc["new-search-button"],g?"":Gc["hidden-element"]].join(" "),type:"button",onClick:d},y.createElement(Qc,null)),y.createElement("input",{type:"text","data-testid":"search-word-input",className:[Gc["search-input"],a?Gc["active-search-input"]:"",g?"":Gc["no-increase-search-input"]].join(" "),ref:r,value:n,onChange:s,onFocus:c,onBlur:l,onCompositionStart:u,onCompositionEnd:f,placeholder:o}),y.createElement("div",{className:[Gc["search-input-border"],g?"":Gc["hidden-element"]].join(" ")}),y.createElement("div",{className:[Gc["search-input-border-gradient"],g?"":Gc["hidden-element"]].join(" ")}),y.createElement("div",{className:[Gc["search-input-projection-gradient"],g?"":Gc["hidden-element"]].join(" ")}),y.createElement("div",{className:Gc["search-button-group"]},g?null:y.createElement("button",{type:"button",className:[Gc["search-button"],a?"":Gc["active-search-button"]].join(" "),onClick:d},y.createElement(Pe,null)),a?y.createElement("button",{type:"button",className:Gc["search-button"],onClick:h},y.createElement(Re,null)):null)):null)}const Yc={"search-history-container":"_1a480a7c12ac21e8f2436237ccddda67_search-history-container","search-history-head":"_1a480a7c12ac21e8f2436237ccddda67_search-history-head","search-history-title":"_1a480a7c12ac21e8f2436237ccddda67_search-history-title","search-history-clear-button":"_1a480a7c12ac21e8f2436237ccddda67_search-history-clear-button","search-history-list":"_1a480a7c12ac21e8f2436237ccddda67_search-history-list","search-history-item":"_1a480a7c12ac21e8f2436237ccddda67_search-history-item","search-history-link":"_1a480a7c12ac21e8f2436237ccddda67_search-history-link","search-history-item-active":"_1a480a7c12ac21e8f2436237ccddda67_search-history-item-active"};function Zc(e){const{className:t="",shortcutKey:r,listRef:n,searchHistoryInfoList:o,clearSearchHistory:i}=e,{t:a}=fe();return y.createElement("div",{className:[Yc["search-history-container"],t].join(" ")},y.createElement("div",{className:Yc["search-history-head"]},y.createElement("div",{className:Yc["search-history-title"]},a("searchHistory")),y.createElement("button",{type:"button","data-testid":"clear-history-button",className:Yc["search-history-clear-button"],onClick:i},y.createElement(ke,null))),y.createElement("ul",{className:Yc["search-history-list"],ref:n,"data-tracker-container":"2024-nav-search-history"},o.map(e=>y.createElement("li",{className:[Yc["search-history-item"],r===e.key-1?Yc["search-history-item-active"]:""].join(" "),key:e.key},y.createElement("a",{className:Yc["search-history-link"],target:"_self",rel:"noopener noreferrer",href:e.link,"data-tracker-scm":e.scm},e.label)))))}const Xc={"search-recommend-container":"_4b3044b7d0026c116d30180c942819ae_search-recommend-container","search-recommend-title":"_4b3044b7d0026c116d30180c942819ae_search-recommend-title","search-recommend-list":"_4b3044b7d0026c116d30180c942819ae_search-recommend-list","search-recommend-item":"_4b3044b7d0026c116d30180c942819ae_search-recommend-item","search-recommend-link":"_4b3044b7d0026c116d30180c942819ae_search-recommend-link","search-recommend-item-active":"_4b3044b7d0026c116d30180c942819ae_search-recommend-item-active"};function el(e){const{className:t="",shortcutKey:r,listRef:n,searchRecommendInfoList:o}=e,{t:i}=fe();return y.createElement("div",{className:[Xc["search-recommend-container"],t].join(" ")},y.createElement("div",{className:Xc["search-recommend-title"]},i("searchDiscovery")),y.createElement("ul",{ref:n,className:Xc["search-recommend-list"],"data-tracker-container":"2024-nav-search-recommend-word"},o.map(e=>y.createElement("li",{className:[Xc["search-recommend-item"],r===e.key-1?Xc["search-recommend-item-active"]:""].join(" "),key:e.key},y.createElement("a",{className:Xc["search-recommend-link"],target:"_self",rel:"noopener noreferrer",href:e.link,"data-tracker-scm":e.scm,dangerouslySetInnerHTML:{__html:e.label}})))))}const tl={"search-no-content":"_4b65cdd64479a2fabe582b8c0789821e_search-no-content","search-word":"_4b65cdd64479a2fabe582b8c0789821e_search-word"};function rl(e){const{className:t="",searchWord:r,clickGotoSearchPage:n}=e,{t:o}=fe();return y.createElement("button",{className:[tl["search-no-content"],t].join(" "),type:"button",onClick:n},o("viewAllSearchResults",{searchWord:r}))}function nl(){return nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nl.apply(this,arguments)}var ol=function(e){return y.createElement(Oe,nl({spin:!1,component:y.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",focusable:"false",color:"currentColor",fill:"currentColor",className:"","data-icon":"benefit"},y.createElement("g",null,y.createElement("g",null,y.createElement("path",{fillOpacity:1,fillRule:"evenodd",d:"M8.8437234375,3.800048828125L0.6240234375,12.652028828125L1.2789554375,13.333158828125L15.9998234375,28.642848828125L31.3755234375,12.652028828125L23.1558234375,3.800048828125L8.8437234375,3.800048828125ZM3.3755534375,12.628068828125L15.9998234375,25.757248828125L28.6240234375,12.628068828125L22.2837234375,5.800048828125L9.7158634375,5.800048828125L3.3755534375,12.628068828125ZM16.0001234375,21.842748828125L22.8748234375,14.693148828125L21.4332234375,13.306888828125L16.0001234375,18.957248828125L10.5671534375,13.306898828125L9.1254834375,14.693148828125L16.0001234375,21.842748828125Z"}))))},e))};function il(){return il=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},il.apply(this,arguments)}var al=function(e){return y.createElement(Oe,il({spin:!1,component:y.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",focusable:"false",color:"currentColor",fill:"currentColor",className:"","data-icon":"free"},y.createElement("g",null,y.createElement("g",null,y.createElement("path",{fillOpacity:1,fillRule:"evenodd",d:"M15.9998140625,3L26.9998140625,3L26.9998140625,11L17.4998140625,11Q15.4751140625,11,14.3596240625,14L26.9998140625,14L26.9998140625,22L13.9998440625,22L13.9998440625,29L4.9998420625,29L4.9998420625,20.5316L9.2377940625,17L4.8369140625,17L5.0111270625,15.8502Q6.9581240625,3,15.9998140625,3ZM12.032884062499999,14.7451L11.9656740625,15L7.1833140625,15Q9.0657240625,5,15.9998140625,5L24.9998140625,5L24.9998140625,9L17.4998140625,9Q13.5474940625,9,12.032884062499999,14.7451ZM24.9998140625,16L13.5618940625,16L6.999844062499999,21.4684L6.999844062499999,27L11.9998440625,27L11.9998440625,20L24.9998140625,20L24.9998140625,16Z"}))))},e))};function sl(){return sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sl.apply(this,arguments)}var cl=function(e){return y.createElement(Oe,sl({spin:!1,component:y.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",focusable:"false",color:"currentColor",fill:"currentColor",className:"","data-icon":"help"},y.createElement("g",null,y.createElement("g",null,y.createElement("path",{fillOpacity:1,fillRule:"evenodd",d:"M15,9.71111Q14.9989,8.17466,13.91211,7.08789Q12.82422,6,11.285720000000001,6L6,6L6,23L11.28571,23Q13.42637,23,15,24.369L15,24L15,9.71429L15,9.71111ZM13.91211,26.0879Q15,27.1758,15,28.7143L15,30L17,30L17,9.71429L17,9.711120000000001Q17.0011,8.17466,18.087899999999998,7.08789Q19.175800000000002,6,20.7143,6L26,6L26,23L20,23L20,25L28,25L28,4L20.7143,4Q18.3473,4,16.6737,5.67368Q16.2937,6.05365,16,6.46935Q15.7063,6.05365,15.3263,5.67368Q13.65265,4,11.285720000000001,4L4,4L4,25L11.28571,25Q12.82421,25,13.91211,26.0879Z"}))))},e))};function ll(){return ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ll.apply(this,arguments)}var ul=function(e){return y.createElement(Oe,ll({spin:!1,component:y.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",focusable:"false",color:"currentColor",fill:"currentColor",className:"","data-icon":"tech-solution"},y.createElement("g",null,y.createElement("g",null,y.createElement("path",{fillOpacity:1,fillRule:"evenodd",d:"M20.3916,3.81968Q18.5719,2,15.9985,2Q13.4251,2,11.60542,3.81968Q10.06592,5.359170000000001,9.82888,7.43817Q7.92669,7.58302,6.53922,8.97049Q4.99,10.51971,4.99,12.7106Q4.99,14.9016,6.53922,16.4508Q8.08844,18,10.27936,18L15,18L15,20L5,20L5,24L3,24L3,30L9,30L9,24L7,24L7,22L15,22L15,24L13,24L13,30L19,30L19,24L17,24L17,22L25,22L25,24L23,24L23,30L29,30L29,24L27,24L27,20L17,20L17,18L21.7086,18L21.7177,18Q23.9086,18,25.4578,16.4508Q27.007,14.9016,27.007,12.7106Q27.007,10.51971,25.4578,8.97049Q24.0703,7.58301,22.1681,7.43816Q21.9311,5.359170000000001,20.3916,3.81968ZM13.0196,5.233890000000001Q14.2535,4,15.9985,4Q17.743499999999997,4,18.9774,5.233890000000001Q20.2113,6.46778,20.2113,8.212769999999999Q20.2113,8.30942,20.2068,8.40606L20.1527,9.585709999999999L21.3251,9.44478Q21.5207,9.42128,21.7177,9.42128Q23.0802,9.42128,24.0436,10.38471Q25.007,11.34814,25.007,12.7106Q25.007,14.0731,24.0436,15.0366Q23.0802,16,21.7177,16L21.7102,16L10.27936,16Q8.91686,16,7.95343,15.0366Q6.99,14.0731,6.99,12.7106Q6.99,11.34814,7.95343,10.38471Q8.91686,9.42128,10.27936,9.42128Q10.47633,9.42128,10.6719,9.44478L11.84435,9.585709999999999L11.79018,8.40605Q11.78574,8.30945,11.78574,8.212769999999999Q11.78574,6.46778,13.0196,5.233890000000001ZM5,26L5,28L7,28L7,26L5,26ZM15,26L15,28L17,28L17,26L15,26ZM25,26L25,28L27,28L27,26L25,26Z"}))))},e))};function fl(e){const{bizType:t,subBizType:r}=e;return y.createElement(y.Fragment,null,"benefits"===t?y.createElement(ol,null):null,"freetier"===t?y.createElement(al,null):null,"help"===t?y.createElement(cl,null):null,"product"===t&&"\u4e91\u4ea7\u54c1"!==r?y.createElement(ul,null):null)}const dl={"search-recommend-link-list":"_5c40c3dc4fa8947dca86ded89612fca7_search-recommend-link-list","search-recommend-link-item":"_5c40c3dc4fa8947dca86ded89612fca7_search-recommend-link-item","search-recommend-link":"_5c40c3dc4fa8947dca86ded89612fca7_search-recommend-link","search-recommend-link-divider":"_5c40c3dc4fa8947dca86ded89612fca7_search-recommend-link-divider","search-recommend-link-product-name":"_5c40c3dc4fa8947dca86ded89612fca7_search-recommend-link-product-name","search-recommend-link-icon":"_5c40c3dc4fa8947dca86ded89612fca7_search-recommend-link-icon","search-recommend-link-item-active":"_5c40c3dc4fa8947dca86ded89612fca7_search-recommend-link-item-active"};function pl(e){const{className:t="",shortcutKey:r,listRef:n,searchRecommendLinkInfoList:o}=e;return y.createElement("ul",{className:[dl["search-recommend-link-list"],t].join(" "),ref:n,"data-tracker-container":"2024-nav-search-direct-link"},o.map(e=>y.createElement("li",{className:[dl["search-recommend-link-item"],r===e.key-1?dl["search-recommend-link-item-active"]:""].join(" "),key:e.key},y.createElement("a",{className:dl["search-recommend-link"],href:e.link,target:"_blank",rel:"noopener noreferrer","data-tracker-scm":e.scm},y.createElement("span",{dangerouslySetInnerHTML:{__html:e.label}}),e.helpDocumentProductName?y.createElement(y.Fragment,null,y.createElement("span",{className:dl["search-recommend-link-divider"]},"|"),y.createElement("span",{className:dl["search-recommend-link-product-name"]},e.helpDocumentProductName)):null,y.createElement("div",{className:dl["search-recommend-link-icon"]},y.createElement(fl,{bizType:e.bizType,subBizType:e.subBizType}))))))}const hl={"search-product-container":"ff301f3069c9d5f1ea7058f0ec3a1d33_search-product-container","search-product-title":"ff301f3069c9d5f1ea7058f0ec3a1d33_search-product-title","search-product-list":"ff301f3069c9d5f1ea7058f0ec3a1d33_search-product-list","search-product-item":"ff301f3069c9d5f1ea7058f0ec3a1d33_search-product-item","search-product-link":"ff301f3069c9d5f1ea7058f0ec3a1d33_search-product-link","search-product-link-title":"ff301f3069c9d5f1ea7058f0ec3a1d33_search-product-link-title","search-product-link-describe":"ff301f3069c9d5f1ea7058f0ec3a1d33_search-product-link-describe","search-product-item-active":"ff301f3069c9d5f1ea7058f0ec3a1d33_search-product-item-active"};function ml(e){const{className:t="",shortcutKey:r,listRef:n,productInfoList:o}=e,{t:i}=fe();return y.createElement("div",{className:[hl["search-product-container"],t].join(" ")},y.createElement("div",{className:hl["search-product-title"]},i("product")),y.createElement("ul",{className:hl["search-product-list"],ref:n,"data-tracker-container":"2024-nav-search-product-direct-link"},o.map(e=>y.createElement("li",{className:[hl["search-product-item"],r===e.key-1?hl["search-product-item-active"]:""].join(" "),key:e.key},y.createElement("a",{className:hl["search-product-link"],href:e.link,target:"_blank",rel:"noopener noreferrer","data-tracker-scm":e.scm},y.createElement("div",{className:hl["search-product-link-title"],dangerouslySetInnerHTML:{__html:e.label}}),y.createElement("div",{className:hl["search-product-link-describe"],dangerouslySetInnerHTML:{__html:e.description}}))))))}const gl={"search-tool-container":"_66cb257d7b9317ae47f342f1d71354c0_search-tool-container","search-tool-title":"_66cb257d7b9317ae47f342f1d71354c0_search-tool-title","search-tool-list":"_66cb257d7b9317ae47f342f1d71354c0_search-tool-list","search-tool-item":"_66cb257d7b9317ae47f342f1d71354c0_search-tool-item","search-tool-link":"_66cb257d7b9317ae47f342f1d71354c0_search-tool-link","search-tool-item-active":"_66cb257d7b9317ae47f342f1d71354c0_search-tool-item-active"};function yl(e){const{className:t="",shortcutKey:r,listRef:n,searchToolInfoList:o}=e,{t:i}=fe();return y.createElement("div",{className:[gl["search-tool-container"],t].join(" ")},y.createElement("div",{className:gl["search-tool-title"]},i("tools")),y.createElement("ul",{className:gl["search-tool-list"],ref:n,"data-tracker-container":"2024-nav-search-tool-direct-link"},o.map(e=>y.createElement("li",{className:[gl["search-tool-item"],r===e.key-1?gl["search-tool-item-active"]:""].join(" "),key:e.key},y.createElement("a",{className:gl["search-tool-link"],target:"_blank",rel:"noopener noreferrer",href:e.link,"data-tracker-scm":e.scm,dangerouslySetInnerHTML:{__html:e.label}})))))}const bl={"search-suggest-container":"_0fbe47a092ab5dde3a8f7885541e39cd_search-suggest-container","search-suggest-title":"_0fbe47a092ab5dde3a8f7885541e39cd_search-suggest-title","search-suggest-list":"_0fbe47a092ab5dde3a8f7885541e39cd_search-suggest-list","search-suggest-item":"_0fbe47a092ab5dde3a8f7885541e39cd_search-suggest-item","search-suggest-link":"_0fbe47a092ab5dde3a8f7885541e39cd_search-suggest-link","search-suggest-item-active":"_0fbe47a092ab5dde3a8f7885541e39cd_search-suggest-item-active"};function vl(e){const{className:t="",shortcutKey:r,listRef:n,suggestInfoList:o}=e,{t:i}=fe();return y.createElement("div",{className:[bl["search-suggest-container"],t].join(" ")},y.createElement("div",{className:bl["search-suggest-title"]},i("guessYouWantToSearch")),y.createElement("ul",{className:bl["search-suggest-list"],ref:n,"data-tracker-container":"2024-nav-search-suggest-word"},o.map(e=>y.createElement("li",{className:[bl["search-suggest-item"],r===e.key-1?bl["search-suggest-item-active"]:""].join(" "),key:e.key},y.createElement("a",{className:bl["search-suggest-link"],href:e.link,target:"_self",rel:"noopener noreferrer","data-tracker-scm":e.scm},e.label)))))}const El="2024NSPlaceholder";var wl=(e=>(e.SEARCH_INPUT_FOCUS="search-input-focus",e.INPUT_TEXT_CHANGE="input-text-change",e.KEYBOARD_EVENT_ESC="keyboard-event-esc",e.KEYBOARD_EVENT_ENTER="keyboard-event-enter",e.KEYBOARD_EVENT_LEFT_ARROW="keyboard-event-left-arrow",e.KEYBOARD_EVENT_UP_ARROW="keyboard-event-up-arrow",e.KEYBOARD_EVENT_RIGHT_ARROW="keyboard-event-right-arrow",e.KEYBOARD_EVENT_DOWN_ARROW="keyboard-event-down-arrow",e.INPUT_STATUS_CHANGE="input-status-change",e.INIT_SHORTCUT="init-shortcut",e.CLEAR_INPUT="clear-input",e.CLOSE_PANEL="close-panel",e.PANEL_CLOSED="panel-closed",e.PANEL_OPEN="panel-open",e.CLICK_GOTO_SEARCH_PAGE="click-goto-search-page",e.LOAD_DEFAULT_PANEL_DATA="load-default-panel-data",e))(wl||{});function Sl(){const e=new URL(window.location.href);let t="all";const r=`${e.origin}${e.pathname}`;return/\/\/(pre-)?help\.aliyun\.com/.test(r)?t="helpdoc":/\/\/(pre-)?www\.aliyun\.com\/solution/.test(r)?t="solution":/\/\/(pre-)?market\.aliyun\.com/.test(r)&&(t="market"),t}const Ol=qe();function _l({searchWord:e,scm:t,filter:r}){const{searchPageUrl:n,isIntl:o}=Qe(),i=Sl();let a=`${n}?k=${e}&scene=${i}`;return o&&(a+="&_p_lc=1&page=1"),"market"===i&&(a=`https://${Ol?"pre-":""}market.aliyun.com/products?k=${e}&scene=${i}`),r&&(a+=`&filter=${r}`),t&&(a+=`&scm=${t}`),a}const Rl=qe();function Al(...e){Rl&&window.console.log(...e)}function kl(e,t){var r;const n=window;(null==(r=null==n?void 0:n.$ACE_TRACKER)?void 0:r.log)&&n.$ACE_TRACKER.log(e,t)}const Ll="helpProductId";function Pl(){return p(this,null,function*(){let e="";try{const t={},r=window.helpProductInfo;r&&(3===(null==r?void 0:r.level)?t[Ll]=r.productId.toString():4===(null==r?void 0:r.level)&&(t.helpSubProductId=r.productId.toString(),t[Ll]=yield function(e){return p(this,null,function*(){let t="";const r=yield $e.get("//help.aliyun.com/help/json/menupath.json",{params:{nodeId:e,type:"sub_module",language:"zh",website:"cn"}});return 200===r.status&&r.data.success&&r.data.data.id&&(t=r.data.data.id.toString()),t})}(r.productId)),e=encodeURIComponent(JSON.stringify(t)))}catch(t){}return e})}function Cl(e){const[t,r]=y.useState(""),[n,o]=y.useState(""),[i,a]=y.useState([]),[s,c]=y.useState(0),l=y.useCallback(()=>p(this,null,function*(){var e,t;const n=yield function(){return p(this,null,function*(){var e,t;const r=[],n=Me(El),o=yield ze({http:{path:"/abs/search/fetchGuidingTerm",params:{platform:"PC",channel:[at.InputRecommendSearchWord].join(","),pageSize:3,loc:El}},pop:{service:"aliyun-search",action:"FetchGuidingTerm",params:{CommonParams:n,QuerySceneParams:{Channel:String(at.InputRecommendSearchWord),PageSize:3}}}}),i=null==o?void 0:o.data,a=null==i?void 0:i.data;if(200===(null==o?void 0:o.status)&&(null==i?void 0:i.success)&&(null==a?void 0:a.success)&&(null==(t=null==(e=null==a?void 0:a.info)?void 0:e[at.InputRecommendSearchWord])?void 0:t.length)>0){const e=a.info[at.InputRecommendSearchWord].slice(0,3);let t=1;for(const n of e){const{guidingTerm:e,scm:o=""}=n;e&&(r.push({key:t,label:e,scm:o}),t+=1)}}return r})}();a(n),r((null==(e=n[0])?void 0:e.label)||""),o((null==(t=n[0])?void 0:t.scm)||"")}),[]);nc(()=>p(this,null,function*(){l()})),hc(()=>{const e=i.length;if(e>0){const t=(s+1)%e,{label:n,scm:a}=i[t];kl("2024-aliyundotcom-global-nav-search-placeholder",{key:n,scm:a,acm_type:"exp_v2"}),r(n),o(a),c(t)}},1e4);const u=y.useCallback(()=>{kl("2024-aliyundotcom-global-nav-search-open-panel-placeholder",{key:t,scm:n,acm_type:"js"})},[t,n]);return y.useEffect(()=>(e.on(wl.PANEL_OPEN,u),()=>{e.off(wl.PANEL_OPEN,u)}),[e,u]),{placeholderValue:t,placeholderScm:n}}function Tl(e){const t=y.useRef(null),[r,n]=y.useState(""),[o,i]=y.useState(!1),[a,s]=y.useState(!1),c=function(){const e=y.useRef(!1),t=y.useRef(null);return y.useEffect(()=>{const r=r=>{t.current={x:r.clientX,y:r.clientY},e.current=!1},n=r=>{if(t.current){const n=Math.abs(r.clientX-t.current.x),o=Math.abs(r.clientY-t.current.y);(n>5||o>5)&&(e.current=!0)}},o=()=>{setTimeout(()=>{e.current=!1,t.current=null},100)};return document.addEventListener("mousedown",r),document.addEventListener("mousemove",n),document.addEventListener("mouseup",o),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",o)}},[]),()=>e.current}(),l=y.useCallback(({isShortcut:e})=>{s(e)},[]);y.useEffect(()=>(e.on(wl.INPUT_STATUS_CHANGE,l),()=>{e.off(wl.INPUT_STATUS_CHANGE,l)}),[e,l]);const u=y.useCallback(t=>{const r=t.trim().slice(0,100),n={inputText:r};r!==t&&(n.originalInputText=t),e.emit(wl.INIT_SHORTCUT,{isDefaultPanel:!r,isRecommendPanel:!!r}),e.emit(wl.INPUT_TEXT_CHANGE,n)},[e]),f=y.useCallback(t=>{const r=t.target.value;o||u(r),n(r),r.trim()||e.emit(wl.LOAD_DEFAULT_PANEL_DATA)},[o,u,e]),d=y.useCallback(()=>{if(c())return Al("inputFocus blocked: dragging"),void setTimeout(()=>{var e;null==(e=t.current)||e.blur()},0);Al("inputFocus"),e.emit(wl.SEARCH_INPUT_FOCUS),e.emit(wl.LOAD_DEFAULT_PANEL_DATA)},[e,c]),p=y.useCallback(()=>{Al("inputBlur")},[]),h=y.useCallback(()=>{i(!0),Al("inputCompositionStart")},[]),m=y.useCallback(()=>{Al("inputCompositionEnd"),i(!1);let e=r;const o=null==t?void 0:t.current;if(o){const t=o.value;t!==r&&(e=t,n(t))}u(e)},[r,u]);wc(["enter","esc","leftarrow","uparrow","rightarrow","downarrow"],(r,n)=>{var o;switch(Al("key",n),kl(`2024-aliyundotcom-global-nav-search-key-event:${n}`),n){case"leftarrow":e.emit(wl.KEYBOARD_EVENT_LEFT_ARROW);break;case"uparrow":e.emit(wl.KEYBOARD_EVENT_UP_ARROW);break;case"rightarrow":e.emit(wl.KEYBOARD_EVENT_RIGHT_ARROW);break;case"downarrow":e.emit(wl.KEYBOARD_EVENT_DOWN_ARROW);break;case"esc":null==(o=null==t?void 0:t.current)||o.blur(),e.emit(wl.KEYBOARD_EVENT_ESC);break;case"enter":e.emit(wl.KEYBOARD_EVENT_ENTER)}a&&r.preventDefault()},{target:t});const g=y.useCallback(()=>{var e;n(""),u(""),null==(e=null==t?void 0:t.current)||e.blur()},[u]);return y.useEffect(()=>(e.on(wl.PANEL_CLOSED,g),()=>{e.off(wl.PANEL_CLOSED,g)}),[e,g]),{inputRef:t,inputValue:r,inputValueChange:f,inputFocus:d,inputBlur:p,inputCompositionStart:h,inputCompositionEnd:m}}function Nl(e,t,r,n,o){const[i,a]=y.useState(!1),[s,c]=y.useState(""),l=y.useCallback(({isShortcut:e})=>{a(e)},[]);y.useEffect(()=>(e.on(wl.INPUT_STATUS_CHANGE,l),()=>{e.off(wl.INPUT_STATUS_CHANGE,l)}),[e,l]);const u=y.useCallback(({inputText:e})=>{c(e)},[]);y.useEffect(()=>(e.on(wl.INPUT_TEXT_CHANGE,u),()=>{e.off(wl.INPUT_TEXT_CHANGE,u)}),[e,u]);const f=y.useCallback((e="clickSearchButton")=>p(this,null,function*(){let i=n;o||(i=yield Pl());let a=!1;kl("2024-aliyundotcom-global-nav-search-search-event"),function(){let e=!1;return document.querySelector('[data-id="@ali/alfa-aliyundotcom-search-widget-search-result"]')&&(e=!0),e}()&&kl("2024-aliyundotcom-search-page-nav-search-search-event");let c="";s?c=_l({searchWord:s,filter:i}):(a=!0,kl("2024-aliyundotcom-global-nav-search-placeholder",{key:t,scm:null!=r?r:"",acm_type:"click"}),c=_l({searchWord:t,scm:r,filter:i})),kl("2024-aliyundotcom-global-nav-search-goto-search-page",{acm_params:JSON.stringify({searchEvent:e,searchWord:null!=s?s:t,isPlaceholder:a}),acm_type:"js"}),window.open(c,"_self")}),[s,t,r,o,n]),d=y.useCallback(()=>{i||f("pressEnterKey")},[i,f]);y.useEffect(()=>(e.on(wl.KEYBOARD_EVENT_ENTER,d),()=>{e.off(wl.KEYBOARD_EVENT_ENTER,d)}),[e,d]);const h=y.useCallback(()=>{f()},[f]),m=y.useCallback(()=>{e.emit(wl.CLEAR_INPUT),e.emit(wl.CLOSE_PANEL)},[e]),g=y.useCallback(()=>{f("clickGotoSearchPage")},[f]);y.useEffect(()=>(e.on(wl.CLICK_GOTO_SEARCH_PAGE,g),()=>{e.off(wl.CLICK_GOTO_SEARCH_PAGE,g)}),[e,g]);const b=y.useCallback(()=>{m()},[m]);return y.useEffect(()=>(e.on(wl.KEYBOARD_EVENT_ESC,b),()=>{e.off(wl.KEYBOARD_EVENT_ESC,b)}),[e,b]),{clickSearchButton:h,clickClearButton:m}}function xl(e){const{className:t="",searchEmitter:r,showPanel:n,isLoadPanel:o,searchFilter:i}=e,{placeholderValue:a,placeholderScm:s}=Cl(r),{inputRef:c,inputValue:l,inputValueChange:u,inputFocus:f,inputBlur:d,inputCompositionStart:p,inputCompositionEnd:h}=Tl(r),{clickSearchButton:m,clickClearButton:g}=Nl(r,a,s,i,n);return y.createElement(Jc,{inputRef:c,className:t,inputValue:l,inputValueChange:u,inputFocus:f,inputBlur:d,inputCompositionStart:p,inputCompositionEnd:h,placeholderValue:a,clickSearchButton:m,clickClearButton:g,showClearButton:n,isLoadPanel:o})}const jl="2024NSRecommend";const Il="2024NSSearchHistory";const Dl="2024NSClearSearchHistory";function Ul(e,t){const[r,n]=y.useState([]),[o,i]=y.useState([]),a=y.useCallback(()=>p(this,null,function*(){const e=yield function(){return p(this,null,function*(){var e,t;const r=[],n=Me(jl),o=yield ze({http:{path:"/abs/search/fetchGuidingTerm",params:{from:"PC",channel:[at.PanelRecommendSearchWord].join(","),pageSize:20,loc:jl}},pop:{service:"aliyun-search",action:"FetchGuidingTerm",params:{CommonParams:n,QuerySceneParams:{Channel:String(at.PanelRecommendSearchWord),PageSize:20}}}}),i=null==o?void 0:o.data,a=null==i?void 0:i.data;if(200===(null==o?void 0:o.status)&&(null==i?void 0:i.success)&&(null==a?void 0:a.success)&&(null==(t=null==(e=null==a?void 0:a.info)?void 0:e[at.PanelRecommendSearchWord])?void 0:t.length)>0){const e=a.info[at.PanelRecommendSearchWord].slice(0,20);let t=1;for(const n of e){const{guidingTerm:e,scm:o=""}=n;e&&(r.push({key:t,label:e,scm:o}),t+=1)}}return r})}();n(e)}),[]),s=y.useCallback(()=>p(this,null,function*(){const e=yield function(){return p(this,null,function*(){var e;const t=[],r=Me(Il),n=yield ze({http:{path:"/abs/search/fetchQueryHistory",params:{from:"PC",limit:10,loc:Il}},pop:{service:"aliyun-search",action:"FetchQueryHistory",params:{CommonParams:r,QuerySceneParams:{Limit:10}}}}),o=null==n?void 0:n.data,i=null==o?void 0:o.data;if(200===(null==n?void 0:n.status)&&(null==o?void 0:o.success)&&(null==i?void 0:i.success)&&(null==(e=null==i?void 0:i.info)?void 0:e.length)){const e=i.info;let r=1,n=!0;"string"!=typeof e[0]&&(n=!1);for(const o of e){let e="",i="";if(n)e=o;else{const{historyWord:t,scm:r}=o;e=t,i=r}const a=e.trim();a&&(i||(i=`20140722.NAV-HW_${a}._.LOC_${Il}-P0_${r-1}`),t.push({key:r,label:a,scm:i}),r+=1)}}return t.slice(0,10)})}();i(e)}),[]),c=y.useCallback(()=>p(this,null,function*(){(yield function(){return p(this,null,function*(){let e=!1;const t=Me(Dl),r=yield ze({http:{path:"/abs/search/clearQueryHistory",params:{from:"PC",loc:Dl}},pop:{service:"aliyun-search",action:"ClearQueryHistory",params:{CommonParams:t,QuerySceneParams:{}}}}),n=null==r?void 0:r.data;return 200===(null==r?void 0:r.status)&&(null==n?void 0:n.success)&&(e=!0),e})}())&&i([])}),[]),l=y.useCallback(()=>{r.length||a(),s()},[r,a,s]);y.useEffect(()=>(e.on(wl.LOAD_DEFAULT_PANEL_DATA,l),()=>{e.off(wl.LOAD_DEFAULT_PANEL_DATA,l)}),[e,l]);const u=y.useCallback(()=>{kl("2024-aliyundotcom-global-nav-search-default-panel",{acm_type:"click"})},[]);return{searchRecommendInfoList:y.useMemo(()=>r.map(e=>{const{label:r,scm:n}=e;return d(f({},e),{link:_l({searchWord:r,filter:t,scm:n})})}),[r,t]),searchHistoryInfoList:y.useMemo(()=>o.map(e=>{const{label:r,scm:n}=e;return d(f({},e),{link:_l({searchWord:r,filter:t,scm:n})})}),[o,t]),clearSearchHistory:c,logDefaultPanelClick:u}}var Fl=(e=>(e.InputArea="input",e.HistoryArea="history",e.RecommendArea="recommend",e))(Fl||{});const Bl={"default-search-panel":"f6fd7e4d3293f0634b9ac54848c275b7_default-search-panel","default-search-panel-component":"f6fd7e4d3293f0634b9ac54848c275b7_default-search-panel-component","hidden-default-search-panel":"f6fd7e4d3293f0634b9ac54848c275b7_hidden-default-search-panel"};function Ml(e){const{className:t,searchEmitter:r,showPanel:n,searchFilter:o}=e,{searchRecommendInfoList:i,searchHistoryInfoList:a,clearSearchHistory:s,logDefaultPanelClick:c}=Ul(r,o),{historyRef:l,recommendRef:u,historyShortcutKey:f,recommendShortcutKey:d}=function(e,t,r,n){const o=y.useRef(null),i=y.useRef(null),[a,s]=y.useState(Fl.InputArea),[c,l]=y.useState(0),[u,f]=y.useState(r),[d,p]=y.useState(n);y.useEffect(()=>{f(r)},[r]),y.useEffect(()=>{p(n)},[n]);const h=zc(document.body);y.useEffect(()=>{if(t&&(null==h?void 0:h.width)){const e=o.current,t=i.current;if(e){const t=Array.from(null==e?void 0:e.children),r=e.offsetLeft;let n=0,o=0;for(const e of t){if(e.offsetLeft===r&&(o+=1),o>2)break;n+=1}f(n)}if(t){const e=Array.from(null==t?void 0:t.children),r=t.offsetLeft;let n=0,o=0;for(const t of e){if(t.offsetLeft===r&&(o+=1),o>2)break;n+=1}p(n)}}},[t,null==h?void 0:h.width]);const m=y.useCallback(()=>{s(Fl.InputArea),l(0)},[]);y.useEffect(()=>(e.on(wl.KEYBOARD_EVENT_ESC,m),()=>{e.off(wl.KEYBOARD_EVENT_ESC,m)}),[e,m]),y.useEffect(()=>(e.on(wl.SEARCH_INPUT_FOCUS,m),()=>{e.off(wl.SEARCH_INPUT_FOCUS,m)}),[e,m]),y.useEffect(()=>(e.on(wl.INIT_SHORTCUT,m),()=>{e.off(wl.INIT_SHORTCUT,m)}),[e,m]);const g=y.useCallback(()=>{var e,t,r,n;let s;if(a===Fl.HistoryArea){const r=o.current;(null==(t=null==(e=null==r?void 0:r.children)?void 0:e[c])?void 0:t.children[0])&&(s=r.children[c].children[0])}else if(a===Fl.RecommendArea){const e=i.current;(null==(n=null==(r=null==e?void 0:e.children)?void 0:r[c])?void 0:n.children[0])&&(s=e.children[c].children[0])}s&&(qc(s),s.click())},[a,c]);y.useEffect(()=>(t&&e.on(wl.KEYBOARD_EVENT_ENTER,g),()=>{e.off(wl.KEYBOARD_EVENT_ENTER,g)}),[t,e,g]);const b=y.useCallback(()=>{let t=Fl.InputArea;a===Fl.InputArea?d?t=Fl.RecommendArea:u&&(t=Fl.HistoryArea):a===Fl.RecommendArea&&u&&(t=Fl.HistoryArea),e.emit(wl.INPUT_STATUS_CHANGE,{isShortcut:t!==Fl.InputArea}),l(0),s(t)},[a,d,u,e]);y.useEffect(()=>(t&&e.on(wl.KEYBOARD_EVENT_UP_ARROW,b),()=>{e.off(wl.KEYBOARD_EVENT_UP_ARROW,b)}),[t,e,b]);const v=y.useCallback(()=>{let t=Fl.InputArea;a===Fl.InputArea?u?t=Fl.HistoryArea:d&&(t=Fl.RecommendArea):a===Fl.HistoryArea&&d&&(t=Fl.RecommendArea),e.emit(wl.INPUT_STATUS_CHANGE,{isShortcut:t!==Fl.InputArea}),l(0),s(t)},[a,d,u,e]);y.useEffect(()=>(t&&e.on(wl.KEYBOARD_EVENT_DOWN_ARROW,v),()=>{e.off(wl.KEYBOARD_EVENT_DOWN_ARROW,v)}),[t,e,v]);const E=y.useCallback(()=>{let e;a===Fl.HistoryArea?e=u:a===Fl.RecommendArea&&(e=d),e&&l((c+e-1)%e)},[a,c,d,u]);y.useEffect(()=>(t&&e.on(wl.KEYBOARD_EVENT_LEFT_ARROW,E),()=>{e.off(wl.KEYBOARD_EVENT_LEFT_ARROW,E)}),[t,e,E]);const w=y.useCallback(()=>{let e;a===Fl.HistoryArea?e=u:a===Fl.RecommendArea&&(e=d),e&&l((c+1)%e)},[a,c,d,u]);y.useEffect(()=>(t&&e.on(wl.KEYBOARD_EVENT_RIGHT_ARROW,w),()=>{e.off(wl.KEYBOARD_EVENT_RIGHT_ARROW,w)}),[t,e,w]);const S=y.useMemo(()=>{let e;return a===Fl.HistoryArea&&(e=c),e},[a,c]),O=y.useMemo(()=>{let e;return a===Fl.RecommendArea&&(e=c),e},[a,c]);return Al("\u9ed8\u8ba4\u9762\u677f",a,c),{historyRef:o,recommendRef:i,historyShortcutKey:S,recommendShortcutKey:O}}(r,n,a.length,i.length);return y.createElement("div",{className:[Bl["default-search-panel"],t,n?"":Bl["hidden-default-search-panel"]].join(" "),onClick:c},(null==a?void 0:a.length)>0?y.createElement(Zc,{className:Bl["default-search-panel-component"],shortcutKey:f,listRef:l,searchHistoryInfoList:a,clearSearchHistory:s}):null,(null==i?void 0:i.length)>0?y.createElement(el,{className:Bl["default-search-panel-component"],shortcutKey:d,listRef:u,searchRecommendInfoList:i}):null)}const $l="2024NSSuggest",Hl=Sl();var Wl=(e=>(e.Product="product",e.Help="help",e.Benefit="benefits",e.TechSolution="techSolution",e.Tool="suggestLink",e))(Wl||{});function Kl(e,t){const[r,n]=y.useState(""),[o,i]=y.useState(!1),[a,s]=y.useState([]),[c,l]=y.useState([]),[u,f]=y.useState([]),[d,h]=y.useState([]),m=y.useCallback(e=>p(this,null,function*(){const{searchProductInfoList:t,searchToolInfoList:r,searchRecommendLinkInfoList:n}=yield function(e){return p(this,null,function*(){var t,r,n,o,i;const a=[],s=[],c=[],l=[{scene:Wl.Benefit,loc:"2024NSBenefitLink",pageNo:1,limit:3},{scene:Wl.TechSolution,loc:"2024NSSolutionLink",pageNo:1,limit:3},{scene:Wl.Help,loc:"2024NSHelpLink",pageNo:1,limit:3},{scene:Wl.Tool,loc:"2024NSToolLink",pageNo:1,limit:4},{scene:Wl.Product,loc:"2024NSProductLink",pageNo:1,limit:4}],u=Me("2024NSQuickSearch"),f=yield ze({http:{path:"/abs/search/quickSearch",params:{queryWord:e,filters:JSON.stringify(l)}},pop:{service:"aliyun-search",action:"QuickSearch",params:{CommonParams:u,QuerySceneParams:{QueryWord:e,Filters:JSON.stringify(l)},FilterString:JSON.stringify(l)}}}),d=[],p=[],h=[],m=[],g=null==f?void 0:f.data,y=null==g?void 0:g.data;if(200===(null==f?void 0:f.status)&&(null==g?void 0:g.success)&&(null==y?void 0:y.success)){const{benefits:e,techSolution:a,help:s,suggestLink:l,product:u}=y.info;if((null==e?void 0:e.success)&&(null==(t=null==e?void 0:e.info)?void 0:t.length)>0){const t=e.info.slice(0,3);let r=1;for(const e of t){const{title:t,url:n,bizType:o="",subBizType:i="",scm:a=""}=e;t&&n&&(d.push({key:r,bizType:o,subBizType:i,label:t,link:n,scm:a}),r+=1)}}if((null==a?void 0:a.success)&&(null==(r=null==a?void 0:a.info)?void 0:r.length)>0){const e=a.info.slice(0,3);let t=1;for(const r of e){const{title:e,url:n,bizType:o="",subBizType:i="",scm:a=""}=r;e&&n&&(p.push({key:t,bizType:o,subBizType:i,label:e,link:n,scm:a}),t+=1)}}if((null==s?void 0:s.success)&&(null==(n=null==s?void 0:s.info)?void 0:n.length)>0){const e=s.info.slice(0,3);let t=1;for(const r of e){const{title:e,url:n,bizType:o="",subBizType:i="",scm:a="",productName:s}=r;e&&n&&s&&(h.push({key:t,bizType:o,subBizType:i,label:e,link:n,helpDocumentProductName:s,scm:a}),t+=1)}}if((null==l?void 0:l.success)&&(null==(o=null==l?void 0:l.info)?void 0:o.length)>0){const e=l.info.slice(0,4);let t=1;for(const r of e){const{title:e,url:n,scm:o=""}=r;e&&n&&(c.push({key:t,label:e,link:n,scm:o}),t+=1)}}if((null==u?void 0:u.success)&&(null==(i=null==u?void 0:u.info)?void 0:i.length)>0){const e=u.info.slice(0,4);let t=1;for(const r of e){const{title:e,url:n,description:o,scm:i=""}=r;e&&n&&o&&(m.push({key:t,label:e,description:o,link:n,scm:i}),t+=1)}}}let b=0;d.length&&(b+=1),p.length&&(b+=1),h.length&&(b+=1),c.length&&(b+=1),m.length&&(b+=1),b>3?(a.push(...d.slice(0,1)),a.push(...p.slice(0,1)),a.push(...h.slice(0,1))):b>2?(a.push(...d.slice(0,2)),a.push(...p.slice(0,2)),a.push(...h.slice(0,2))):(a.push(...d.slice(0,3)),a.push(...p.slice(0,3)),a.push(...h.slice(0,3))),s.push(...m.slice(0,4));let v=1;for(let e=0;e<a.length;e+=1)a[e].key=v,v+=1;return{searchRecommendLinkInfoList:a,searchProductInfoList:s,searchToolInfoList:c}})}(e);return{newSearchProductInfoList:t,newSearchToolInfoList:r,newSearchRecommendLinkInfoList:n}}),[]),g=y.useCallback(e=>p(this,null,function*(){const r=yield function(e,t){return p(this,null,function*(){var r;const n=[],o=Me($l),i=yield ze({http:{path:"/abs/search/fetchSuggests",params:{queryWord:e,limit:5,sugType:Hl,loc:$l}},pop:{service:"aliyun-search",action:"FetchSuggests",params:{CommonParams:o,QuerySceneParams:{QueryWord:e,Limit:5,SugType:Hl}}}}),a=null==i?void 0:i.data,s=null==a?void 0:a.data;if(200===(null==i?void 0:i.status)&&(null==a?void 0:a.success)&&(null==s?void 0:s.success)&&(null==(r=null==s?void 0:s.info)?void 0:r.length)>0){const e=s.info.slice(0,5);let r=1;for(const o of e){const{id:e,scm:i=""}=o;e&&(n.push({key:r,label:e,link:_l({searchWord:e,filter:t,scm:i}),scm:i}),r+=1)}}return n})}(e,t);return r}),[t]),b=y.useCallback(e=>p(this,null,function*(){if(i(!0),e){const[{newSearchProductInfoList:t,newSearchToolInfoList:r,newSearchRecommendLinkInfoList:n},o]=yield Promise.all([m(e),g(e)]);s(t),l(r),f(n),h(o)}i(!1)}),[m,g]),v=y.useCallback(({inputText:e,originalInputText:t})=>{b(e),n(t||e)},[b]);y.useEffect(()=>(e.on(wl.INPUT_TEXT_CHANGE,v),()=>{e.off(wl.INPUT_TEXT_CHANGE,v)}),[e,v]);const E=y.useMemo(()=>{let e=!1;return o||u.length||a.length||c.length||d.length||(e=!0),e},[o,u,a,c,d]),w=y.useCallback(()=>{kl("2024-aliyundotcom-global-nav-search-recommend-panel",{acm_type:"click"})},[]),S=y.useCallback(()=>{e.emit(wl.CLICK_GOTO_SEARCH_PAGE)},[e]);return{showNoContent:E,searchWord:r,searchProductInfoList:a,searchToolInfoList:c,searchRecommendLinkInfoList:u,searchSuggestInfoList:d,logRecommendPanelClick:w,clickGotoSearchPage:S}}var Vl=(e=>(e.InputArea="input",e.RecommendLinkArea="recommend-link",e.ProductArea="product",e.ToolArea="tool",e.SuggestArea="suggest",e))(Vl||{});const zl={"search-recommend-panel":"_3b4f5487091623b0b6852e2b46d2729e_search-recommend-panel","search-recommend-panel-component":"_3b4f5487091623b0b6852e2b46d2729e_search-recommend-panel-component","search-recommend-panel-tool":"_3b4f5487091623b0b6852e2b46d2729e_search-recommend-panel-tool","hidden-search-recommend-panel":"_3b4f5487091623b0b6852e2b46d2729e_hidden-search-recommend-panel"};function ql(e){const{className:t,searchEmitter:r,showPanel:n,searchFilter:o}=e,{showNoContent:i,searchWord:a,searchRecommendLinkInfoList:s,searchProductInfoList:c,searchToolInfoList:l,searchSuggestInfoList:u,logRecommendPanelClick:f,clickGotoSearchPage:d}=Kl(r,o),{containerRef:p,recommendLinkRef:h,productRef:m,toolRef:g,suggestRef:b,recommendLinkShortcutKey:v,productShortcutKey:E,toolShortcutKey:w,suggestShortcutKey:S}=function(e,t,r,n,o,i){const a=y.useRef(null),s=y.useRef(null),c=y.useRef(null),l=y.useRef(null),u=y.useRef(null),[f,d]=y.useState(Vl.InputArea),[p,h]=y.useState(0),m=y.useCallback(e=>{const t=a.current;if(t&&e){const{top:r}=t.getBoundingClientRect(),{top:n}=e.getBoundingClientRect();t.scrollTo({top:n-r+t.scrollTop})}else t&&t.scrollTo({top:0})},[]);y.useEffect(()=>{var e,t,r,n;let o;if(f===Vl.RecommendLinkArea){const t=s.current;(null==(e=null==t?void 0:t.children)?void 0:e[p])&&(o=t.children[p])}else if(f===Vl.ProductArea){const e=c.current;(null==(t=null==e?void 0:e.children)?void 0:t[p])&&(o=e.children[p])}else if(f===Vl.ToolArea){const e=l.current;(null==(r=null==e?void 0:e.children)?void 0:r[p])&&(o=e.children[p])}else if(f===Vl.SuggestArea){const e=u.current;(null==(n=null==e?void 0:e.children)?void 0:n[p])&&(o=e.children[p])}m(o)},[f,p,m]);const g=y.useCallback(()=>{d(Vl.InputArea),h(0)},[]);y.useEffect(()=>(e.on(wl.KEYBOARD_EVENT_ESC,g),()=>{e.off(wl.KEYBOARD_EVENT_ESC,g)}),[e,g]),y.useEffect(()=>(e.on(wl.SEARCH_INPUT_FOCUS,g),()=>{e.off(wl.SEARCH_INPUT_FOCUS,g)}),[e,g]),y.useEffect(()=>(e.on(wl.INIT_SHORTCUT,g),()=>{e.off(wl.INIT_SHORTCUT,g)}),[e,g]);const b=y.useCallback(()=>{var e,t,r,n,o,i,a,d;let h;if(f===Vl.RecommendLinkArea){const r=s.current;(null==(t=null==(e=null==r?void 0:r.children)?void 0:e[p])?void 0:t.children[0])&&(h=r.children[p].children[0])}else if(f===Vl.ProductArea){const e=c.current;(null==(n=null==(r=null==e?void 0:e.children)?void 0:r[p])?void 0:n.children[0])&&(h=e.children[p].children[0])}else if(f===Vl.ToolArea){const e=l.current;(null==(i=null==(o=null==e?void 0:e.children)?void 0:o[p])?void 0:i.children[0])&&(h=e.children[p].children[0])}else if(f===Vl.SuggestArea){const e=u.current;(null==(d=null==(a=null==e?void 0:e.children)?void 0:a[p])?void 0:d.children[0])&&(h=e.children[p].children[0])}h&&(qc(h),h.click())},[f,p]);y.useEffect(()=>(t&&e.on(wl.KEYBOARD_EVENT_ENTER,b),()=>{e.off(wl.KEYBOARD_EVENT_ENTER,b)}),[t,e,b]);const v=y.useCallback(()=>{let t=Vl.InputArea;f===Vl.InputArea?i?(t=Vl.SuggestArea,h(i-1)):o?(t=Vl.ToolArea,h(0)):n?(t=Vl.ProductArea,h(n-1)):r&&(t=Vl.RecommendLinkArea,h(r-1)):f===Vl.RecommendLinkArea?p>0&&(h(p-1),t=Vl.RecommendLinkArea):f===Vl.ProductArea?p>0?(h(p-1),t=Vl.ProductArea):r&&(t=Vl.RecommendLinkArea,h(r-1)):f===Vl.ToolArea?n?(t=Vl.ProductArea,h(n-1)):r&&(t=Vl.RecommendLinkArea,h(r-1)):f===Vl.SuggestArea&&(p>0?(h(p-1),t=Vl.SuggestArea):o?(t=Vl.ToolArea,h(0)):n?(t=Vl.ProductArea,h(n-1)):r&&(t=Vl.RecommendLinkArea,h(r-1))),e.emit(wl.INPUT_STATUS_CHANGE,{isShortcut:t!==Vl.InputArea}),t===Vl.InputArea&&h(0),d(t)},[f,p,r,n,o,i,e]);y.useEffect(()=>(t&&e.on(wl.KEYBOARD_EVENT_UP_ARROW,v),()=>{e.off(wl.KEYBOARD_EVENT_UP_ARROW,v)}),[t,e,v]);const E=y.useCallback(()=>{let t=Vl.InputArea,a=0;f===Vl.InputArea?r?t=Vl.RecommendLinkArea:n?t=Vl.ProductArea:o?t=Vl.ToolArea:i&&(t=Vl.SuggestArea):f===Vl.RecommendLinkArea?p<r-1?(a=p+1,t=Vl.RecommendLinkArea):n?t=Vl.ProductArea:o?t=Vl.ToolArea:i&&(t=Vl.SuggestArea):f===Vl.ProductArea?p<n-1?(a=p+1,t=Vl.ProductArea):o?t=Vl.ToolArea:i&&(t=Vl.SuggestArea):f===Vl.ToolArea?i&&(t=Vl.SuggestArea):f===Vl.SuggestArea&&p<i-1&&(t=Vl.SuggestArea,a=p+1),e.emit(wl.INPUT_STATUS_CHANGE,{isShortcut:t!==Vl.InputArea}),h(a),d(t)},[f,p,r,n,o,i,e]);y.useEffect(()=>(t&&e.on(wl.KEYBOARD_EVENT_DOWN_ARROW,E),()=>{e.off(wl.KEYBOARD_EVENT_DOWN_ARROW,E)}),[t,e,E]);const w=y.useCallback(()=>{f===Vl.ToolArea&&o&&h((p+o-1)%o)},[f,p,o]);y.useEffect(()=>(t&&e.on(wl.KEYBOARD_EVENT_LEFT_ARROW,w),()=>{e.off(wl.KEYBOARD_EVENT_LEFT_ARROW,w)}),[t,e,w]);const S=y.useCallback(()=>{f===Vl.ToolArea&&o&&h((p+1)%o)},[f,p,o]);y.useEffect(()=>(t&&e.on(wl.KEYBOARD_EVENT_RIGHT_ARROW,S),()=>{e.off(wl.KEYBOARD_EVENT_RIGHT_ARROW,S)}),[t,e,S]);const O=y.useMemo(()=>({recommendLinkArea:f===Vl.RecommendLinkArea?p:void 0,productArea:f===Vl.ProductArea?p:void 0,toolArea:f===Vl.ToolArea?p:void 0,suggestArea:f===Vl.SuggestArea?p:void 0}),[f,p]);return Al("\u63a8\u8350\u9762\u677f",f,p),{containerRef:a,recommendLinkRef:s,productRef:c,toolRef:l,suggestRef:u,recommendLinkShortcutKey:O.recommendLinkArea,productShortcutKey:O.productArea,toolShortcutKey:O.toolArea,suggestShortcutKey:O.suggestArea}}(r,n,s.length,c.length,l.length,u.length);return y.createElement("div",{ref:p,className:[zl["search-recommend-panel"],t,n?"":zl["hidden-search-recommend-panel"]].join(" "),onClick:f},i?y.createElement(rl,{searchWord:a,clickGotoSearchPage:d}):null,(null==s?void 0:s.length)>0?y.createElement(pl,{className:zl["search-recommend-panel-component"],listRef:h,shortcutKey:v,searchRecommendLinkInfoList:s}):null,(null==c?void 0:c.length)>0?y.createElement(ml,{className:zl["search-recommend-panel-component"],listRef:m,shortcutKey:E,productInfoList:c}):null,(null==l?void 0:l.length)>0?y.createElement(yl,{className:(null==u?void 0:u.length)>0?zl["search-recommend-panel-tool"]:"",listRef:g,shortcutKey:w,searchToolInfoList:l}):null,(null==u?void 0:u.length)>0?y.createElement(vl,{className:zl["search-recommend-panel-component"],listRef:b,shortcutKey:S,suggestInfoList:u}):null)}class Ql extends y.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){const r=this.props.handleError;r&&r(e,t)}render(){return this.state.hasError?y.createElement(y.Fragment,null):this.props.children}}const Gl={"position-desktop-search-container":"ff4f4a96a12f52ffbdd0d6adbdb6a2b0_position-desktop-search-container","base-desktop-search-container":"ff4f4a96a12f52ffbdd0d6adbdb6a2b0_base-desktop-search-container","middle-desktop-search-container":"ff4f4a96a12f52ffbdd0d6adbdb6a2b0_middle-desktop-search-container","active-desktop-search-container":"ff4f4a96a12f52ffbdd0d6adbdb6a2b0_active-desktop-search-container","closing-desktop-search-container":"ff4f4a96a12f52ffbdd0d6adbdb6a2b0_closing-desktop-search-container"},Jl=e=>`${Gl["base-desktop-search-container"]} ${Gl[e]}`;function Yl(e){const t=y.useRef(null),r=y.useRef(null),n=y.useRef({}),[o,i]=y.useState(!1),[a,s]=y.useState(!0),[c,l]=y.useState(!1),u=y.useCallback(()=>{var o,a,s,c,u;const f=t.current,d=r.current;if(l(!0),!n.current.show&&f&&d&&!(null==(o=n.current)?void 0:o.expandTimerId)&&!(null==(a=n.current)?void 0:a.showPanelTimerId)){e.emit(wl.PANEL_OPEN),kl("\u641c\u7d22\u9762\u677f\u5c55\u5f00"),kl("2024-aliyundotcom-global-nav-search-open-panel",{acm_type:"click"}),n.current.show=!0,(null==(s=n.current)?void 0:s.collapseTimerId)&&(clearTimeout(n.current.collapseTimerId),n.current.collapseTimerId=void 0),(null==(c=n.current)?void 0:c.closePanelTimerId)&&(clearTimeout(n.current.closePanelTimerId),n.current.closePanelTimerId=void 0),document.body.classList.add("disable-topbar-ground-glass");const t=f.getBoundingClientRect();d.style.left=`${t.left}px`,(null==(u=null==document?void 0:document.documentElement)?void 0:u.clientWidth)&&(d.style.right=document.documentElement.clientWidth-t.right+"px"),d.className=Jl("middle-desktop-search-container"),n.current.expandTimerId=setTimeout(()=>{d.style.left="136px",d.style.right="367px",n.current.expandTimerId=void 0},0),n.current.showPanelTimerId=setTimeout(()=>{i(!0),d.className=Jl("active-desktop-search-container"),n.current.showPanelTimerId=void 0},400)}},[e]),f=y.useCallback(()=>{var o,a,s,c;const u=t.current,f=r.current;if(l(!1),n.current.show&&u&&f&&!(null==(o=n.current)?void 0:o.collapseTimerId)&&!(null==(a=n.current)?void 0:a.closePanelTimerId)){n.current.show=!1,(null==(s=n.current)?void 0:s.expandTimerId)&&(clearTimeout(n.current.expandTimerId),n.current.expandTimerId=void 0),(null==(c=n.current)?void 0:c.showPanelTimerId)&&(clearTimeout(n.current.showPanelTimerId),n.current.showPanelTimerId=void 0),i(!1),f.className=Jl("active-desktop-search-container");const t=u.getBoundingClientRect();n.current.closePanelTimerId=setTimeout(()=>{var e;f.className=Jl("closing-desktop-search-container"),f.style.left=`${t.left}px`,(null==(e=null==document?void 0:document.documentElement)?void 0:e.clientWidth)&&(f.style.right=document.documentElement.clientWidth-t.right+"px"),n.current.closePanelTimerId=void 0},100),n.current.collapseTimerId=setTimeout(()=>{f.removeAttribute("style"),document.body.classList.remove("disable-topbar-ground-glass"),f.className="",n.current.collapseTimerId=void 0},400),e.emit(wl.PANEL_CLOSED)}},[e]),d=y.useCallback(({inputText:e})=>{s(!e)},[]);y.useEffect(()=>(e.on(wl.INPUT_TEXT_CHANGE,d),()=>{e.off(wl.INPUT_TEXT_CHANGE,d)}),[e,d]),function(e,t,r){void 0===r&&(r="click");var n=ec(e);sc(function(){var e=function(e){(Array.isArray(t)?t:[t]).some(function(t){var r=oc(t);return!r||r.contains(e.target)})||n.current(e)},o=ic(t),i=Array.isArray(r)?r:[r];return i.forEach(function(t){return o.addEventListener(t,e)}),function(){i.forEach(function(t){return o.removeEventListener(t,e)})}},Array.isArray(r)?r:[r],t)}(()=>{f()},t);const p=y.useCallback(e=>{const r=e.originalTarget||e.target,n=t.current;n instanceof HTMLElement&&r instanceof HTMLElement&&!n.contains(r)&&f()},[f]);y.useEffect(()=>{var e,r;return Al("\u662f\u5426 WebComponent\uff1a",(null==(e=t.current)?void 0:e.getRootNode)instanceof ShadowRoot),(null==(r=t.current)?void 0:r.getRootNode())instanceof ShadowRoot&&document.addEventListener("click",p),()=>{document.removeEventListener("click",p)}},[p]);const h=y.useCallback(()=>{u()},[u]);y.useEffect(()=>(e.on(wl.SEARCH_INPUT_FOCUS,h),()=>{e.off(wl.SEARCH_INPUT_FOCUS,h)}),[e,h]);const m=y.useCallback(()=>{f()},[f]);return y.useEffect(()=>(e.on(wl.CLOSE_PANEL,m),()=>{e.off(wl.CLOSE_PANEL,m)}),[e,m]),y.useEffect(()=>{o&&kl(a?"2024-aliyundotcom-global-nav-search-default-panel":"2024-aliyundotcom-global-nav-search-recommend-panel",{acm_type:"exp_v2"})},[o,a]),{positionDesktopSearchContainerRef:t,desktopSearchContainerRef:r,showPanel:o,showDefaultPanel:a,isLoadPanel:c}}const Zl=Sl();const Xl={all:eu=eu||new Map,on:function(e,t){var r=eu.get(e);r?r.push(t):eu.set(e,[t])},off:function(e,t){var r=eu.get(e);r&&(t?r.splice(r.indexOf(t)>>>0,1):eu.set(e,[]))},emit:function(e,t){var r=eu.get(e);r&&r.slice().map(function(e){e(t)}),(r=eu.get("*"))&&r.slice().map(function(r){r(e,t)})}};var eu;function tu(){const{positionDesktopSearchContainerRef:e,desktopSearchContainerRef:t,showPanel:r,showDefaultPanel:n,isLoadPanel:o}=Yl(Xl),{searchFilter:i}=function(e){const[t,r]=y.useState(""),n=y.useCallback(()=>p(this,null,function*(){if(Zl===et.HelpDoc){const e=yield Pl();Al("\u6587\u6863\u641c\u7d22\u65b0\u7b5b\u9009\u9879\uff1a",e),r(e)}}),[]);return y.useEffect(()=>(e.on(wl.SEARCH_INPUT_FOCUS,n),()=>{e.off(wl.SEARCH_INPUT_FOCUS,n)}),[e,n]),{searchFilter:t}}(Xl);return y.createElement("div",{className:Gl["position-desktop-search-container"],ref:e},y.createElement("div",{ref:t},y.createElement(xl,{searchEmitter:Xl,showPanel:r,searchFilter:i,isLoadPanel:o}),y.createElement(Ql,null,y.createElement(Ml,{searchEmitter:Xl,searchFilter:i,showPanel:r&&n})),y.createElement(Ql,null,y.createElement(ql,{searchEmitter:Xl,searchFilter:i,showPanel:r&&!n}))))}const ru="_626567c051250ffe2f303af907d3fc83_global-nav-search",nu="_626567c051250ffe2f303af907d3fc83_global-nav-search-desktop-container",ou="_626567c051250ffe2f303af907d3fc83_global-nav-search-mobile-container",iu="_626567c051250ffe2f303af907d3fc83_search-button",au="_626567c051250ffe2f303af907d3fc83_search-button-icon";const su=(cu=function(e){const t=Ge(e),r=je().startsWith("intl"),{h5SearchPageLink:n}=t;return y.createElement("div",{className:`global-nav-search ${ru}${r?" intl":""}`},y.createElement("div",{className:`global-search-container ${nu}`},y.createElement(tu,null)),y.createElement("div",{className:ou},y.createElement("a",{className:iu,href:n},y.createElement(Pe,{className:au}))))},lu=He,function(e){return y.createElement(ue,{locale:lu},y.createElement(cu,e))});var cu,lu;r.exports=su});
biu.define({name:"@ali/hmod-aliyun-com-global-nav",version:"0.3.17",dependencies:{react:"^16.13.1","react-dom":"^16.13.1"}},function(e,t,n){"use strict";var r,a,i,o,c,s,l,u,d,f,m,h,p,b,g,v,y,_,w,E=Object.defineProperty,k=Object.defineProperties,x=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,$=(e,t,n)=>t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,A=(e,t)=>{for(var n in t||(t={}))S.call(t,n)&&$(e,n,t[n]);if(C)for(var n of C(t))N.call(t,n)&&$(e,n,t[n]);return e},P=(e,t)=>k(e,x(t)),O=(e,t)=>{var n={};for(var r in e)S.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&C)for(var r of C(e))t.indexOf(r)<0&&N.call(e,r)&&(n[r]=e[r]);return n},I=(e,t,n)=>($(e,"symbol"!=typeof t?t+"":t,n),n),L=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},R=(e,t,n)=>(L(e,t,"read from private field"),n?n.call(e):t.get(e)),M=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},T=(e,t,n,r)=>(L(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),j=(e,t,n)=>(L(e,t,"access private method"),n),z=(e,t,n)=>new Promise((r,a)=>{var i=e=>{try{c(n.next(e))}catch(t){a(t)}},o=e=>{try{c(n.throw(e))}catch(t){a(t)}},c=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,o);c((n=n.apply(e,t)).next())});const D=e("react"),F=e("react-dom");var W=(e=>(e.pc="pc",e.mobile="mobile",e))(W||{});function B(){return window.innerWidth>1055?"pc":"mobile"}const H={locale:"zh-CN","product-search-sub-biz-type":"\u4e91\u4ea7\u54c1","solution-search-sub-biz-type":"\u6280\u672f\u89e3\u51b3\u65b9\u6848","contact.pre-sales":"\u552e\u524d\u54a8\u8be2","contact.after-sales":"\u552e\u540e\u5728\u7ebf","contact.other-services":"\u5176\u4ed6\u670d\u52a1","contact.suggest":"\u6211\u8981\u5efa\u8bae","contact.complain":"\u6211\u8981\u6295\u8bc9","contact.contact-us":"\u8054\u7cfb\u6211\u4eec","account.login":"\u767b\u5f55","account.register":"\u6ce8\u518c","account.certification":"\u8ba4\u8bc1\u4eab\u6743\u76ca","account.avatar":"\u5934\u50cf","search.search-products":"\u641c\u7d22\u4e91\u4ea7\u54c1","search.search-solutions":"\u641c\u7d22\u89e3\u51b3\u65b9\u6848","search.result-title":"\u5305\u542b\u201c{keywords}\u201d\u7684\u641c\u7d22\u7ed3\u679c","search.no-results":"\u6ca1\u6709\u627e\u5230\u7ed3\u679c\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165","dashboard.open-menu":"\u6253\u5f00\u83dc\u5355","dashboard.close-menu":"\u5173\u95ed\u83dc\u5355","dashboard.quick-register":"\u5feb\u6377\u6ce8\u518c","dashboard.login-aliyun":"\u767b\u5f55\u963f\u91cc\u4e91","dashboard.login-to-view-resources":"\u767b\u5f55\u4ee5\u67e5\u770b\u60a8\u7684\u63a7\u5236\u53f0\u8d44\u6e90","dashboard.manage-resources":"\u7ba1\u7406\u4e91\u8d44\u6e90","dashboard.status-overview":"\u72b6\u6001\u4e00\u89c8","dashboard.quick-access":"\u5feb\u6377\u8bbf\u95ee","dashboard.login-illustration":"\u767b\u5f55\u63d2\u753b","ai-assistant":"AI \u52a9\u7406","mobile.menu":"\u83dc\u5355","mobile.ai-assistant-tip":"\u4f60\u597d\uff0c\u6211\u662fAI\u52a9\u7406\uff0c\u53ef\u4ee5\u89e3\u7b54\u95ee\u9898\u3001\u63a8\u8350\u89e3\u51b3\u65b9\u6848\u7b49"};var U=(e=>(e.aliyun="aliyun",e.alibabacloud="alibabacloud",e))(U||{}),V=(e=>(e.light="light",e.dark="dark",e))(V||{}),G=(e=>(e.product="product",e.sideMenu="side-menu",e.waterfall="waterfall",e.tile="tile",e.llm="llm",e.llmv2="llmv2",e.solution="solution",e))(G||{}),q=(e=>(e.normal="normal",e.alipay="alipay",e))(q||{}),Y=(e=>(e.zh_CN="zh-CN",e.en_US="en-US",e.de_DE="de-DE",e.ja_JP="ja-JP",e.ko_KR="ko-KR",e.fr_FR="fr-FR",e.th_TH="th-TH",e.ru_RU="ru-RU",e.es_ES="es-ES",e.vi_VN="vi-VN",e.tr_TR="tr-TR",e.id_ID="id-ID",e.zh_TW="zh-TW",e.it_IT="it-IT",e))(Y||{});const K={"zh-CN":"\u7b80\u4f53\u4e2d\u6587","zh-TW":"\u7e41\u9ad4\u4e2d\u6587","en-US":"English","de-DE":"Deutsch","ja-JP":"\u65e5\u672c\u8a9e","ko-KR":"\ud55c\uad6d\uc5b4","fr-FR":"Fran\xe7ais","id-ID":"Bahasa Indonesia","th-TH":"\u0e44\u0e17\u0e22","ru-RU":"","es-ES":"Espa\xf1ol","vi-VN":"Ti\u1ebfng Vi\u1ec7t","tr-TR":"","it-IT":""},Z={"zh-CN":"zh","en-US":"en","de-DE":"de","ja-JP":"ja","ko-KR":"ko","fr-FR":"fr","th-TH":"th","ru-RU":"ru","es-ES":"es","vi-VN":"vi","tr-TR":"tr","id-ID":"id","zh-TW":"tc","it-IT":"it"};var J=(e=>(e.light="light",e.dark="dark",e))(J||{});const X=D.createContext({site:U.aliyun,locale:"zh-CN",theme:"light",terminal:W.pc}),Q=function({site:e,theme:t,children:n}){const r=function(){const[e,t]=D.useState(B);return D.useEffect(function(){const n=function(){const n=B();n!==e&&t(n)};return window.addEventListener("resize",n),function(){window.removeEventListener("resize",n)}},[e]),e}();return D.createElement(X.Provider,{value:{site:e,locale:H.locale,theme:t,terminal:r}},n)};function ee(e,t){const n=t.x-e.x,r=t.y-e.y;if(0===n)return r>0?Math.PI/2:3*Math.PI/2;const a=Math.atan(r/n);return n>0?r>0?a:a+2*Math.PI:a+Math.PI}class te{constructor(e={}){I(this,"points"),I(this,"lastPoint",null),this.options=e,this.points=[]}add(e){this.lastPoint&&e.x===this.lastPoint.x&&e.y===this.lastPoint.y||(this.points.push(e),this.lastPoint=e,this.points.length>(this.options.maxCount||2)&&this.points.shift())}getAngle(){const e=this.points.length;return e<2?null:ee(this.points[e-2],this.points[e-1])}clear(){this.points=[],this.lastPoint=null}}function ne(e){const{trigger:t,panel:n,lazyTime:r,useBoundaryDetection:a,onShow:i,onHide:o}=e;let c=null,s=null;function l(){c&&(clearTimeout(c),c=null),s&&(clearTimeout(s),s=null)}function u(){l(),c=setTimeout(()=>{i(),c=null},r)}function d(){l(),o(),document.removeEventListener("mousemove",A)}function f(){l(),s=setTimeout(()=>{o(),s=null,document.removeEventListener("mousemove",A)},r)}const m=new te;let h,p,b,g,v,y,_="";function w(e){if(!m.lastPoint)return!1;const t=e?ee(m.lastPoint,e):m.getAngle();return!("number"!=typeof t||t<b||t>g)}function E(e){if(!m.lastPoint)return!1;const t=e?ee(m.lastPoint,e):m.getAngle();return!("number"!=typeof t||t<v||t>y)}const k=()=>{u(),document.removeEventListener("mousemove",A),m.clear()},x=e=>{let r=e.clientX,a=e.clientY;h=t.getBoundingClientRect(),r>=h.x&&r<=h.x+h.width&&a>=h.y&&a<=h.y+h.height&&m.add({x:r,y:a}),p=n.getBoundingClientRect(),m.lastPoint&&(b=ee(m.lastPoint,{x:p.x+p.width,y:p.y}),g=ee(m.lastPoint,{x:p.x,y:p.y})),w()?(f(),_="panel",document.addEventListener("mousemove",A)):d()},C=e=>{u(),m.add({x:e.clientX,y:e.clientY})},S=()=>{l(),i(),document.removeEventListener("mousemove",A),m.clear()},N=e=>{let r=e.clientX,i=e.clientY;p=n.getBoundingClientRect(),r>=p.x&&r<=p.x+p.width&&i>=p.y&&i<=p.y+p.height&&m.add({x:r,y:i}),a&&r>p.x+10&&r<p.x+p.width-10&&i>p.y+10&&i<p.y+p.height-10||(h=t.getBoundingClientRect(),m.lastPoint&&(v=ee(m.lastPoint,{x:h.x,y:h.y+h.height}),y=ee(m.lastPoint,{x:h.x+h.width,y:h.y+h.height})),E()?(f(),_="trigger",document.addEventListener("mousemove",A)):d())},$=e=>{m.add({x:e.clientX,y:e.clientY})},A=e=>{if(!m.lastPoint||e.clientX!==m.lastPoint.x||e.clientY!==m.lastPoint.y)switch(_){case"panel":w({x:e.clientX,y:e.clientY})?f():d();break;case"trigger":E({x:e.clientX,y:e.clientY})?f():d()}};return t.addEventListener("mouseenter",k),t.addEventListener("mouseleave",x),t.addEventListener("mousemove",C),n.addEventListener("mouseenter",S),n.addEventListener("mouseleave",N),n.addEventListener("mousemove",$),{moveTrack:m,unbind:()=>{t.removeEventListener("mouseenter",k),t.removeEventListener("mouseleave",x),t.removeEventListener("mousemove",C),n.removeEventListener("mouseenter",S),n.removeEventListener("mouseleave",N),n.removeEventListener("mousemove",$),document.removeEventListener("mousemove",A)}}}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ae(e,t){if(e){if("string"==typeof e)return re(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?re(e,t):void 0}}function ie(e){return function(e){if(Array.isArray(e))return re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ae(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 oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e){return(ce="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 se(e){var t=function(e,t){if("object"!=ce(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ce(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ce(t)?t:t+""}function le(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,se(r.key),r)}}function ue(e,t,n){return t&&le(e.prototype,t),n&&le(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function de(e,t,n){return(t=se(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fe(e,t,n,r,a,i,o){try{var c=e[i](o),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,a)}function me(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(e){fe(i,r,a,o,c,"next",e)}function c(e){fe(i,r,a,o,c,"throw",e)}o(void 0)})}}function he(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pe,be={exports:{}},ge={exports:{}};(pe=ge).exports=function(e,t){this.v=e,this.k=t},pe.exports.__esModule=!0,pe.exports.default=pe.exports;var ve=ge.exports,ye={exports:{}},_e={exports:{}};!function(e){function t(n,r,a,i){var o=Object.defineProperty;try{o({},"",{})}catch(c){o=0}e.exports=t=function(e,n,r,a){function i(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?o?o(e,n,{value:r,enumerable:!a,configurable:!a,writable:!a}):e[n]=r:(i("next",0),i("throw",1),i("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r,a,i)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(_e);var we=_e.exports;!function(e){var t=we;function n(){
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
var r,a,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",c=i.toStringTag||"@@toStringTag";function s(e,n,i,o){var c=n&&n.prototype instanceof u?n:u,s=Object.create(c.prototype);return t(s,"_invoke",function(e,t,n){var i,o,c,s=0,u=n||[],d=!1,f={p:0,n:0,v:r,a:m,f:m.bind(r,4),d:function(e,t){return i=e,o=0,c=r,f.n=t,l}};function m(e,t){for(o=e,c=t,a=0;!d&&s&&!n&&a<u.length;a++){var n,i=u[a],m=f.p,h=i[2];e>3?(n=h===t)&&(c=i[(o=i[4])?5:(o=3,3)],i[4]=i[5]=r):i[0]<=m&&((n=e<2&&m<i[1])?(o=0,f.v=t,f.n=i[1]):m<h&&(n=e<3||i[0]>t||t>h)&&(i[4]=e,i[5]=t,f.n=h,o=0))}if(n||e>1)return l;throw d=!0,t}return function(n,u,h){if(s>1)throw TypeError("Generator is already running");for(d&&1===u&&m(u,h),o=u,c=h;(a=o<2?r:c)||!d;){i||(o?o<3?(o>1&&(f.n=-1),m(o,c)):f.n=c:f.v=c);try{if(s=2,i){if(o||(n="next"),a=i[n]){if(!(a=a.call(i,c)))throw TypeError("iterator result is not an object");if(!a.done)return a;c=a.value,o<2&&(o=0)}else 1===o&&(a=i.return)&&a.call(i),o<2&&(c=TypeError("The iterator does not provide a '"+n+"' method"),o=1);i=r}else if((a=(d=f.n<0)?c:e.call(t,f))!==l)break}catch(p){i=r,o=1,c=p}finally{s=1}}return{value:a,done:d}}}(e,i,o),!0),s}var l={};function u(){}function d(){}function f(){}a=Object.getPrototypeOf;var m=[][o]?a(a([][o]())):(t(a={},o,function(){return this}),a),h=f.prototype=u.prototype=Object.create(m);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,t(e,c,"GeneratorFunction")),e.prototype=Object.create(h),e}return d.prototype=f,t(h,"constructor",f),t(f,"constructor",d),d.displayName="GeneratorFunction",t(f,c,"GeneratorFunction"),t(h),t(h,c,"Generator"),t(h,o,function(){return this}),t(h,"toString",function(){return"[object Generator]"}),(e.exports=n=function(){return{w:s,m:p}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(ye);var Ee=ye.exports,ke={exports:{}},xe={exports:{}},Ce={exports:{}};!function(e){var t=ve,n=we;e.exports=function e(r,a){function i(e,n,o,c){try{var s=r[e](n),l=s.value;return l instanceof t?a.resolve(l.v).then(function(e){i("next",e,o,c)},function(e){i("throw",e,o,c)}):a.resolve(l).then(function(e){s.value=e,o(s)},function(e){return i("throw",e,o,c)})}catch(u){c(u)}}var o;this.next||(n(e.prototype),n(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),n(this,"_invoke",function(e,t,n){function r(){return new a(function(t,r){i(e,n,t,r)})}return o=o?o.then(r,r):r()},!0)},e.exports.__esModule=!0,e.exports.default=e.exports}(Ce);var Se=Ce.exports;!function(e){var t=Ee,n=Se;e.exports=function(e,r,a,i,o){return new n(t().w(e,r,a,i),o||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports}(xe);var Ne=xe.exports;!function(e){var t=Ne;e.exports=function(e,n,r,a,i){var o=t(e,n,r,a,i);return o.next().then(function(e){return e.done?e.value:o.next()})},e.exports.__esModule=!0,e.exports.default=e.exports}(ke);var $e=ke.exports,Ae={exports:{}};!function(e){e.exports=function(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function e(){for(;n.length;)if((r=n.pop())in t)return e.value=r,e.done=!1,e;return e.done=!0,e}},e.exports.__esModule=!0,e.exports.default=e.exports}(Ae);var Pe=Ae.exports,Oe={exports:{}},Ie={exports:{}};!function(e){function t(n){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(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ie);var Le=Ie.exports;!function(e){var t=Le.default;e.exports=function(e){if(null!=e){var n=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}throw new TypeError(t(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports}(Oe);var Re=Oe.exports;!function(e){var t=ve,n=Ee,r=$e,a=Ne,i=Se,o=Pe,c=Re;function s(){var l=n(),u=l.m(s),d=(Object.getPrototypeOf?Object.getPrototypeOf(u):u.__proto__).constructor;function f(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))}var m={throw:1,return:2,break:3,continue:3};function h(e){var t,n;return function(r){t||(t={stop:function(){return n(r.a,2)},catch:function(){return r.v},abrupt:function(e,t){return n(r.a,m[e],t)},delegateYield:function(e,a,i){return t.resultName=a,n(r.d,c(e),i)},finish:function(e){return n(r.f,e)}},n=function(e,n,a){r.p=t.prev,r.n=t.next;try{return e(n,a)}finally{t.next=r.n}}),t.resultName&&(t[t.resultName]=r.v,t.resultName=void 0),t.sent=r.v,t.next=r.n;try{return e.call(this,t)}finally{r.p=t.prev,r.n=t.next}}}return(e.exports=s=function(){return{wrap:function(e,t,n,r){return l.w(h(e),t,n,r&&r.reverse())},isGeneratorFunction:f,mark:l.m,awrap:function(e,n){return new t(e,n)},AsyncIterator:i,async:function(e,t,n,i,o){return(f(t)?a:r)(h(e),t,n,i,o)},keys:o,values:c}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports}(be);var Me=(0,be.exports)(),Te=Me;try{regeneratorRuntime=Me}catch(Af){"object"==typeof globalThis?globalThis.regeneratorRuntime=Me:Function("r","regeneratorRuntime = r")(Me)}const je=he(Te);function ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach(function(t){de(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Fe="object"===("undefined"==typeof location?"undefined":ce(location))&&/(^|\.)aliyun\.com$/.test(location.hostname||""),We=(Date.now()+Math.random()).toString(36).replace(".","");function Be(e,t){return He.apply(this,arguments)}function He(){return(He=me(je.mark(function e(t,n){var r,a,i;return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==t.length&&Fe){e.next=1;break}return e.abrupt("return",Promise.resolve(!0));case 1:if(r="".concat("https://www.aliyun.com/api/log","/").concat(n.biz||"unknown"),a=JSON.stringify(t.map(function(e){return De(De({},e),{},{sessionId:We})})),!navigator.sendBeacon){e.next=2;break}return i=navigator.sendBeacon(r,a),e.abrupt("return",Promise.resolve(i));case 2:return e.next=3,fetch(r,{method:"POST",body:a});case 3:if(200!==e.sent.status){e.next=4;break}return e.abrupt("return",!0);case 4:return e.abrupt("return",!1);case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}var Ue,Ve=!1,Ge=new Map,qe=function(){return ue(function e(t){if(oe(this,e),de(this,"queue",void 0),de(this,"reporter",void 0),de(this,"listeners",void 0),de(this,"options",void 0),Ge.has(t.biz))return Ge.get(t.biz);Ge.set(t.biz,this),this.options=t,this.queue=[],this.listeners={},Ve||(window.addEventListener("beforeunload",function(){Ge.forEach(function(e){e.emit("beforeunload"),Be(e.queue,{biz:e.options.biz})})}),Ve=!0)},[{key:"report",value:function(e){var t=this;Array.isArray(e)?this.queue=[].concat(ie(this.queue),ie(e)):this.queue.push(e),this.reporter||(this.reporter=Promise.resolve().then(function(){Be(t.queue,{biz:t.options.biz}),t.queue=[],t.reporter=null}))}},{key:"on",value:function(e,t){var n=this;return this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t),function(){return n.off(e,t)}}},{key:"off",value:function(e,t){if(this.listeners[e]){var n=this.listeners[e].indexOf(t);-1!==n&&this.listeners[e].splice(n,1)}}},{key:"emit",value:function(e){this.listeners[e]&&this.listeners[e].forEach(function(e){e()})}}])}(),Ye="__MONITOR__";"undefined"!=typeof window?(window[Ye]||(window[Ye]=qe),Ue=window[Ye]):Ue=qe;const Ke=new Ue({biz:"topbar"});function Ze(e){Ke.report(e)}function Je(e){return"string"==typeof e?e:e&&e.message?e.message:void 0}function Xe(e){return z(this,arguments,function*(e,t={}){let n=null;try{n=yield fetch(e,{credentials:t.includeCookie?"include":void 0})}catch(i){throw Ze({type:"nav-api-error",url:e,status:-1,error:Je(i)}),i}const r=n.headers.get("eagleeye-traceid")||n.headers.get("eagleid");if(200!==n.status)throw Ze({type:"nav-api-error",url:e,status:n.status,traceId:r}),new Error(`\u63a5\u53e3 ${e} \u8bf7\u6c42\u9519\u8bef\uff0ccode: ${n.status}`);let a;try{a=yield n.json()}catch(i){throw Ze({type:"nav-api-error",url:e,status:-2,error:Je(i),traceId:r}),i}return a})}const Qe=location.hostname.endsWith(".alibabacloud.com")?U.alibabacloud:U.aliyun,et=new URLSearchParams(location.search),tt="nav-v1-";function nt(e,t){return`${tt}${e}-${t}`}const rt={};function at(e,t){return z(this,null,function*(){const n=Qe===U.alibabacloud?"merak-intl.alicdn.com":"merak.alicdn.com",r=t&&t!==Y.zh_CN?`-${t}`:"",a=et.has("isPreview")?`https://query.aliyun.com/rest/content-platform.api.deliveryInfoDraft?id=${e}&env=com&byGroup=1&count=999`:`https://${n}/delivery/${e}-group${r}.json`,{code:i,data:o}=yield Xe(a);if("200"===i&&o){try{localStorage.setItem(nt(e,t),JSON.stringify(o.infoList)),rt[e]=!0}catch(c){}return o.infoList}throw new Error(`\u5929\u7487\u6295\u653e\u6c60 ${e} \u6570\u636e\u8bf7\u6c42\u5931\u8d25`)})}function it(e,t){return z(this,null,function*(){let n=null;try{const r=localStorage.getItem(nt(e,t));r&&(n=JSON.parse(r))}catch(r){}return n?rt[e]||at(e,t):n=yield at(e,t),n})}function ot(e){return z(this,null,function*(){const t=[],n=localStorage.length;for(let e=0;e<n;e++){let n=localStorage.key(e);n&&/^nav\-(v\d+\-)?\d+$/.test(n)&&t.push(n)}t.forEach(function(t){const n=t.replace(tt,"");if(-1===e.indexOf(n))try{localStorage.removeItem(t)}catch(r){}})})}const ct={visibility:"ddd10ed9ffa4788f54781e516c4c6560-visibility","visibility-off":"ddd10ed9ffa4788f54781e516c4c6560-visibility-off",mobile:"ddd10ed9ffa4788f54781e516c4c6560-mobile",arrow_right:"ddd10ed9ffa4788f54781e516c4c6560-arrow_right",warning_fill:"ddd10ed9ffa4788f54781e516c4c6560-warning_fill",daohang:"ddd10ed9ffa4788f54781e516c4c6560-daohang",quanyiguanli:"ddd10ed9ffa4788f54781e516c4c6560-quanyiguanli",tijiaofankui:"ddd10ed9ffa4788f54781e516c4c6560-tijiaofankui",bangzhuwendang:"ddd10ed9ffa4788f54781e516c4c6560-bangzhuwendang","huodongremai-nor":"ddd10ed9ffa4788f54781e516c4c6560-huodongremai-nor","shouye-nor":"ddd10ed9ffa4788f54781e516c4c6560-shouye-nor",message:"ddd10ed9ffa4788f54781e516c4c6560-message",screen_check:"ddd10ed9ffa4788f54781e516c4c6560-screen_check",chat:"ddd10ed9ffa4788f54781e516c4c6560-chat",order:"ddd10ed9ffa4788f54781e516c4c6560-order",comment_lines:"ddd10ed9ffa4788f54781e516c4c6560-comment_lines",delete:"ddd10ed9ffa4788f54781e516c4c6560-delete",checkmark:"ddd10ed9ffa4788f54781e516c4c6560-checkmark",button_left:"ddd10ed9ffa4788f54781e516c4c6560-button_left",button_right:"ddd10ed9ffa4788f54781e516c4c6560-button_right",edit:"ddd10ed9ffa4788f54781e516c4c6560-edit",contact:"ddd10ed9ffa4788f54781e516c4c6560-contact",document:"ddd10ed9ffa4788f54781e516c4c6560-document",intl:"ddd10ed9ffa4788f54781e516c4c6560-intl",search:"ddd10ed9ffa4788f54781e516c4c6560-search",account:"ddd10ed9ffa4788f54781e516c4c6560-account",authentication:"ddd10ed9ffa4788f54781e516c4c6560-authentication",close:"ddd10ed9ffa4788f54781e516c4c6560-close",cost:"ddd10ed9ffa4788f54781e516c4c6560-cost",copy:"ddd10ed9ffa4788f54781e516c4c6560-copy",document1:"ddd10ed9ffa4788f54781e516c4c6560-document1",edit1:"ddd10ed9ffa4788f54781e516c4c6560-edit1",intl1:"ddd10ed9ffa4788f54781e516c4c6560-intl1",link:"ddd10ed9ffa4788f54781e516c4c6560-link",put_away:"ddd10ed9ffa4788f54781e516c4c6560-put_away",phone:"ddd10ed9ffa4788f54781e516c4c6560-phone",search1:"ddd10ed9ffa4788f54781e516c4c6560-search1",user:"ddd10ed9ffa4788f54781e516c4c6560-user"},st="ee52067fb65534cb06d3b35f654f5441_icon",lt=D.forwardRef(function(e,t){var n=e.name,r=e.className,a=e.style,i=[st,ct[n]];return r&&i.push(r),D.createElement("i",{ref:t,className:i.join(" "),style:a})});const ut=new class{constructor(){I(this,"listeners",[])}on(e){this.listeners.push(e)}off(e){this.listeners=this.listeners.filter(t=>t!==e)}emit(){this.listeners.forEach(e=>e())}},dt={container:"e76910c82efe8556eb8a6ce6019c5d00_container",controller:"e76910c82efe8556eb8a6ce6019c5d00_controller","menu-warp":"e76910c82efe8556eb8a6ce6019c5d00_menu-warp"};const ft=Symbol("stop-scroll");function mt(e){e[ft]&&e.preventDefault()}function ht(e){e&&(e.dataset.disableBodyScroll||(e.addEventListener("wheel",function(e){if(!1===e[ft])return;const t=e.deltaY,n=this.scrollTop;t<0&&n>0||t>0&&Math.ceil(n)<this.scrollHeight-this.offsetHeight?e[ft]=!1:e[ft]=!0}),e.dataset.disableBodyScroll="true"))}document.addEventListener("wheel",mt,{passive:!1});class pt extends D.Component{constructor(){super(...arguments),I(this,"state",{hasError:!1})}componentDidCatch(e,t){try{let t="";"string"==typeof e?t=e:e&&"string"==typeof e.message&&(t=e.message),Ze({type:"nav-component-error",name:this.props.name,error:t})}catch(n){}}static getDerivedStateFromError(e){return{hasError:!0}}render(){return this.state.hasError?this.props.fallback||null:this.props.children}}const bt=D.createContext({root:null,viewBox:null,isFixed:!1,groundGlass:!1}),gt=function({refElement:e,isFixed:t,groundGlass:n,children:r}){let a=null;if(e&&e.getRootNode){const t=e.getRootNode();a=11===t.nodeType?t:document.body}return D.createElement(bt.Provider,{value:{root:a,viewBox:e,isFixed:t,groundGlass:n}},r)},vt="_277ebb348812c9712fac6b680ad5e513_reset",yt="_277ebb348812c9712fac6b680ad5e513_aliyun-font-family",_t="de5ef2fee09ebcb2b1dcaf0c982523bc_theme",wt="de5ef2fee09ebcb2b1dcaf0c982523bc_scrollbar",Et="_06d35164b5e8800dcd580d21cf35cffc_panel",kt="_06d35164b5e8800dcd580d21cf35cffc_fixed";let xt=null;const Ct=D.forwardRef(function(e,t){var n=e,{children:r,id:a,className:i}=n,o=O(n,["children","id","className"]);const{root:c,isFixed:s}=D.useContext(bt),{site:l}=D.useContext(X),u=D.useRef(null);if(D.useEffect(function(){u.current&&ht(u.current)},[u.current]),D.useImperativeHandle(t,()=>u.current,[u.current]),!xt){if(!c)return null;xt=document.createElement("div"),c.appendChild(xt)}const d=[vt,_t,Et];return l===U.aliyun&&d.push(yt),s&&d.push(kt),i&&d.push(i),F.createPortal(D.createElement("div",P(A({},o),{className:d.join(" "),ref:u,"data-spm":`nav-v2-dropdown-${a}`,"data-tracker-exp":!0}),r),xt)}),St="f5b71aa4f9baaaa9065b58acc3388c11_link",Nt="f5b71aa4f9baaaa9065b58acc3388c11_active",$t="f5b71aa4f9baaaa9065b58acc3388c11_icon";var At=null,Pt=null,Ot=0,It=0,Lt=!1,Rt=null;const Mt=function({className:e="",dataSource:t,selectedIndex:n,onSelectedChange:r,panelNode:a}){return D.createElement("div",{className:e,onMouseEnter:e=>{if(Ot=e.clientX,It=e.clientY,a){const e=a.getBoundingClientRect();At={x:e.left,y:e.top},Pt={x:e.left,y:e.top+e.height}}else At=null,Pt=null},onMouseMove:e=>{const{clientX:t,clientY:n}=e;if(t<=Ot)Lt=!1;else if(n===It)Lt=!0;else{const e=t-Ot;if(At&&Pt){const t=At.x-Ot;if(t<=0)Lt=!0;else{const r=(n-It)/e;Lt=r>0?r<(Pt.y-It)/t:r>(At.y-It)/t}}else Lt=n>It?n-It<e:It-n<e}Ot=t,It=n}},t.map(function(e,t){const a={key:e.id||e.title,className:`${St} ${t===n?Nt:""}`,onMouseEnter:()=>{Rt&&(clearTimeout(Rt),Rt=null),Lt?Rt=setTimeout(()=>{r(t),Rt=null},500):r(t)},onMouseLeave:()=>{Rt&&(clearTimeout(Rt),Rt=null)}};return e.scm&&(a["data-tracker-scm"]=e.scm),a["data-spm"]=`d_sidemenu_${t}`,e.link?D.createElement("a",A({href:e.link},a),e.title,D.createElement(lt,{className:$t,name:"link"})):D.createElement("button",A({},a),e.title)}))},Tt="c8245d59c2f71d0fba5670c5910dd96f_summary",jt="c8245d59c2f71d0fba5670c5910dd96f_title",zt="c8245d59c2f71d0fba5670c5910dd96f_icon",Dt="c8245d59c2f71d0fba5670c5910dd96f_detail",Ft=function({title:e,link:t,summary:n,summaryClassName:r="",detailClassName:a="",children:i}){const o=D.useRef(null);return D.createElement(D.Fragment,null,D.createElement("div",{className:`${Tt} ${wt} ${r}`,ref:ht},e?D.createElement("h3",{className:jt},t?D.createElement("a",{href:t,"data-spm":"d_title"},e,D.createElement(lt,{className:zt,name:"link"})):e):null,"function"==typeof n?n({detailNode:o.current}):n),D.createElement("div",{ref:o,className:`${Dt} ${a}`},i))},Wt="_02d7c78cc1f82ac26ba1729437034270_container",Bt="_02d7c78cc1f82ac26ba1729437034270_main",Ht="_02d7c78cc1f82ac26ba1729437034270_side",Ut=function({side:e,$key:t,children:n}){return D.createElement("div",{className:Wt,key:t},D.createElement("div",{className:`${Bt} ${wt}`,ref:ht},n),e?D.createElement("div",{className:`${Ht} ${wt}`,ref:ht},e):null)},Vt="ec36c5d54583cd53b9e8f31fe195271b_image-ad",Gt="ec36c5d54583cd53b9e8f31fe195271b_content",qt="ec36c5d54583cd53b9e8f31fe195271b_text-ad",Yt="ec36c5d54583cd53b9e8f31fe195271b_icon",Kt=function({title:e,desc:t,image:n,link:r,titleColor:a,descColor:i,scm:o,spm:c}){const s={};return o&&(s["data-tracker-scm"]=o),c&&(s["data-spm"]=c),D.createElement("a",A({className:Vt,href:r,target:"_blank"},s),D.createElement("img",{src:n,alt:e||""}),D.createElement("section",{className:Gt,style:{"--title-color":a,"--desc-color":i}},e?D.createElement("h5",null,e):null,t?D.createElement("p",null,t):null))},Zt=function({title:e,link:t,scm:n,spm:r}){const a={};return n&&(a["data-tracker-scm"]=n),r&&(a["data-spm"]=r),D.createElement("a",A({className:qt,href:t,target:"_blank"},a),e,D.createElement(lt,{className:Yt,name:"link"}))},Jt="_4765c9e7bd6737192687fa3fccfc5018_news",Xt="_4765c9e7bd6737192687fa3fccfc5018_title",Qt="_4765c9e7bd6737192687fa3fccfc5018_link",en="_4765c9e7bd6737192687fa3fccfc5018_icon",tn="_4765c9e7bd6737192687fa3fccfc5018_item",nn=function({news:e,index:t}){const n=e.items&&e.items.length>0;return D.createElement(D.Fragment,null,n?D.createElement("section",{className:Jt},e.title?D.createElement("h4",{className:Xt},e.link?D.createElement("a",{className:Qt,href:e.link,target:"_blank","data-spm":`d_new_${t}_0`},e.title,D.createElement(lt,{className:en,name:"link"})):e.title):null,e.items.map(function(e,n){return D.createElement("a",{className:tn,href:e.link,target:"_blank","data-spm":`d_new_${t}_${n+1}`,"data-tracker-scm":e.__scm},D.createElement("img",{src:e.icon,alt:e.title}),e.title)})):null,(e.ads||[]).map(function(e,r){return!n&&0===r&&e.image?D.createElement(Kt,{title:e.title,desc:e.desc,image:e.image||"",link:e.link||"",titleColor:e.titleColor,descColor:e.descColor,scm:e.__scm||"",spm:`d_ad_${t}_${r}`}):D.createElement(Zt,{title:e.title||"",link:e.link||"",scm:e.__scm||"",spm:`d_ad_${t}_${r}`})}))},rn="_9afd2e5ef4dcfdba5070800e5d5eb912_input",an="_9afd2e5ef4dcfdba5070800e5d5eb912_icon",on=D.forwardRef(function({className:e="",placeholder:t="",value:n,onChange:r},a){const[i,o]=D.useState(""),[c,s]=D.useState(!1);D.useEffect(function(){o(n)},[n]);const l=D.useCallback(function(e){const t=e.target.value;o(t),c||r(t.trim())},[c]),u=D.useCallback(function(e){s(!1);const t=e.target.value;r(t.trim())},[]);return D.createElement("div",{className:`${rn} ${e}`,ref:a},D.createElement("input",{type:"text",placeholder:t,"data-spm-click":"gostr=/aliyun;locaid=daliyun-menu-search",value:i,onChange:l,onCompositionStart:()=>s(!0),onCompositionEnd:u}),D.createElement(lt,{className:an,name:"search"}))});var cn,sn=function(e){return e.Daily="daily",e.Pre="pre",e.Grey="grey",e.Prod="prod",e}({}),ln=function(e){return e.zh_CN="zh-CN",e.zh_HK="zh-HK",e.en_US="en-US",e.de_DE="de-DE",e.ja_JP="ja-JP",e.ko_KR="ko-KR",e.fr_FR="fr-FR",e.in_ID="in-ID",e.th_TH="th-TH",e.ru_RU="ru-RU",e.es_ES="es-ES",e.vi_VN="vi-VN",e.tr_TR="tr-TR",e}({}),un=function(e){return e.pc="pc",e.h5="h5",e}({}),dn=sn.Prod,fn=un.pc;(ln.zh_CN,window.__LOWCODE_ENV__&&(dn=window.__LOWCODE_ENV__.env,fn=window.__LOWCODE_ENV__.terminal,window.__LOWCODE_ENV__.language,window.__LOWCODE_ENV__.isSSR),"undefined"!=typeof window)&&("h5"===new URLSearchParams((null===(cn=window)||void 0===cn||null===(cn=cn.location)||void 0===cn?void 0:cn.search)||"").get("terminal")&&(fn=un.h5));function mn(){let e=!1;return(dn===sn.Daily||dn===sn.Pre||/^pre\-/.test(location.hostname)||"new-pre-developer.aliyun.com"===location.hostname)&&(e=!0),e}const hn=new Map;function pn(e){if(hn.has(e))return hn.get(e);const t=Date.now(),n=new Promise(function(n,r){const a=document.createElement("script");a.src=e,a.crossOrigin="",a.onload=function(){n(),Ze({type:"load-script",url:e,success:!0,time:Date.now()-t})},a.onerror=function(){r(),Ze({type:"load-script",url:e,success:!1,time:Date.now()-t})},document.body.appendChild(a)});return hn.set(e,n),n}const bn=Qe===U.alibabacloud?"https://website.alcasset.com/npm/@ali/hmod-adc-util-console-fetcher-basic/0.1.0/index.js":"https://g.alicdn.com/code/npm/@ali/hmod-adc-util-console-fetcher-basic/0.1.0/index.js";function gn(e,t=10){const n=e.reduce(function e(t,n){var r,a;return n.children&&n.children.length>0?n.children.reduce(e,t):n.title&&n.link&&!t.find(e=>e.title===n.title&&e.link===n.link)?[...t,{title:n.title,_title:null==(r=n.title)?void 0:r.toLowerCase(),description:n.description,_description:null==(a=n.description)?void 0:a.toLowerCase(),link:n.link,__scm:n.__scm}]:t},[]);const r=[function(e){return n.filter(function(t){return t._title===e})},function(e){return n.filter(function(t){return t._title.startsWith(e)})},function(e){return n.filter(function(t){return t._title.includes(e)})},function(e){return n.filter(function(t){return t._description===e})},function(e){return n.filter(function(t){var n;return null==(n=t._description)?void 0:n.startsWith(e)})},function(e){return n.filter(function(t){var n;return null==(n=t._description)?void 0:n.includes(e)})}],a=[function(e){return n.filter(function(t){return e.every(function(e){return t._title.includes(e)})})},function(e){return n.filter(function(t){return e.some(function(e){return t._title.includes(e)})})},function(e){return n.filter(function(t){return e.every(function(e){var n;return null==(n=t._description)?void 0:n.includes(e)})})},function(e){return n.filter(function(t){return e.some(function(e){var n;return null==(n=t._description)?void 0:n.includes(e)})})}];return function(e){const{searchWord:n}=e;if(!n)return[];const i=n.trim().split(/\s+/).map(e=>e.toLowerCase()),o=[];if(1===i.length){const e=i[0];for(const n of r)if(n(e).forEach(function(e){o.includes(e)||o.push(e)}),o.length>=t)break}else for(const r of a)if(r(i).forEach(function(e){o.includes(e)||o.push(e)}),o.length>=t)break;return o.slice(0,t)}}new Promise(function(e,t){pn(bn).then(function(){const t=window.biu.require("@ali/hmod-adc-util-console-fetcher-basic");e(t)}).catch(t)});const vn="_44813e0fd78378a0b9a1970e7b3c6e72_container",yn="_44813e0fd78378a0b9a1970e7b3c6e72_title",_n="_44813e0fd78378a0b9a1970e7b3c6e72_clear",wn="_44813e0fd78378a0b9a1970e7b3c6e72_items",En="_44813e0fd78378a0b9a1970e7b3c6e72_link",kn="_44813e0fd78378a0b9a1970e7b3c6e72_empty",xn=function({keywords:e,dataSource:t,onClear:n}){return D.createElement("section",{className:vn},D.createElement("h4",{className:yn},H["search.result-title"].replace("{keywords}",e),D.createElement("button",{className:_n,onClick:n,"data-spm":"d_clearsearch"},D.createElement(lt,{name:"close"}))),t&&t.length?D.createElement("div",{className:wn},t.map(function(e,t){return D.createElement("a",{className:En,href:e.productHomeLink,"data-spm":`d_searchresult_${t}`,"data-tracker-scm":e.scm,key:e.id},e.productName)})):D.createElement("p",{className:kn},H["search.no-results"]))},Cn="_6f79d1b6bd16d337bf03b3b9c3af3777_container",Sn=function({dataSource:e,onResult:t}){const{site:n,locale:r}=D.useContext(X),[a,i]=D.useState(""),[o,c]=D.useState(null);return D.useEffect(function(){n===U.alibabacloud||r===Y.en_US?c(()=>gn(e)):c(null)},[e,n,r]),D.useEffect(function(){if(a){let e=!1,c=setTimeout(function(){if(c=null,n===U.alibabacloud||r===Y.en_US){if(!o)return;const e=o({searchWord:a});t(D.createElement(xn,{keywords:a,dataSource:e.map(function(e,t){return{id:`result-${t}`,productName:e.title,productHomeLink:e.link,scm:e.__scm||""}}),onClear:()=>{i("")}}))}else(function(e){return z(this,null,function*(){var t,n;const r=yield Xe(`//${mn()?"pre-":""}t.aliyun.com/abs/search/searchProduct?queryWord=${e.searchWord}&subBizType=\u4e91\u4ea7\u54c1&from=pc&loc=menu_product&pageNo=1&limit=10`);return r.success&&(null==(n=null==(t=r.data)?void 0:t.info)?void 0:n.length)?r.data.info.map(function(e){const{id:t,title:n,url:r,scm:a}=e,i=(new DOMParser).parseFromString(n,"text/html").body.textContent||"";if(i)return{id:t,productName:i,productHomeLink:r,scm:a}}).filter(e=>!!e):[]})})({searchWord:a,locale:r,site:n}).then(function(n){e||t(D.createElement(xn,{keywords:a,dataSource:n,onClear:()=>{i("")}}))}).catch(function(e){})},200);return function(){c?clearTimeout(c):e=!0}}t(null)},[a,o,n,r]),D.createElement(on,{className:Cn,placeholder:H["search.search-products"],value:a,onChange:i})},Nn="ce35cdf234cb85271d07249f75e3a4f1_container",$n="ce35cdf234cb85271d07249f75e3a4f1_column",An=function({className:e="",columnClassName:t="",dataSource:n,columnCount:r,renderItem:a}){const i=D.useMemo(function(){const e=Array.from(new Array(r)).map(()=>[]);return n.forEach(function(t,n){e[n%r].push({index:n,item:t})}),e},[n,r]);return D.createElement("div",{className:`${Nn} ${e}`},i.map(function(e){return D.createElement("div",{className:`${$n} ${t}`},e.map(({item:e,index:t})=>a(e,t+"")))}))},Pn="_1764b51eb79bdcd07d7126169c26c330_tag",On="_1764b51eb79bdcd07d7126169c26c330_big-model",In=function({name:e,className:t=""}){return e?"\u5927\u6a21\u578b"===e?D.createElement("em",{className:`${Pn} ${On} ${t}`},"\u5927\u6a21\u578b"):D.createElement("em",{className:`${Pn} ${t}`},e):null},Ln={container:"_44b9204357fd469e0ee23370c5b25df5_container",title:"_44b9204357fd469e0ee23370c5b25df5_title",icon:"_44b9204357fd469e0ee23370c5b25df5_icon","title-single-line":"_44b9204357fd469e0ee23370c5b25df5_title-single-line","title-text":"_44b9204357fd469e0ee23370c5b25df5_title-text",tag:"_44b9204357fd469e0ee23370c5b25df5_tag","title-double-line":"_44b9204357fd469e0ee23370c5b25df5_title-double-line",desc:"_44b9204357fd469e0ee23370c5b25df5_desc","desc-double-line":"_44b9204357fd469e0ee23370c5b25df5_desc-double-line",svg:"_44b9204357fd469e0ee23370c5b25df5_svg"},Rn=()=>D.createElement("svg",{fill:"none",version:"1.1",width:"16",height:"16",viewBox:"0 0 16 16",className:Ln.svg},D.createElement("defs",null,D.createElement("clipPath",{id:"master_svg0_1223_66257"},D.createElement("rect",{x:"0",y:"0",width:"16",height:"16",rx:"0"}))),D.createElement("g",{"clip-path":"url(#master_svg0_1223_66257)"},D.createElement("path",{d:"M11.249210384033203,5.47947642494812L11.249210384033203,9.92925712494812L12.249209384033204,9.92925712494812L12.249209384033204,3.77240300178528L6.092354784033203,3.77240252494812L6.092355684033203,4.77240272494812L10.542070384033202,4.77240272494812L3.440662384033203,11.87380962494812L4.147769924033203,12.58091712494812L11.249210384033203,5.47947642494812Z",fill:"currentColor","fill-opacity":"1"}))),Mn=function({TagName:e="h5",title:t,description:n="",link:r,icon:a,tag:i,tagBlacklist:o,className:c="",spm:s,scm:l,titleLine:u,descLine:d=1,target:f}){i&&o&&-1!==o.indexOf(i.toUpperCase())&&(i="");const m={};return f&&(m.target=f),s&&(m["data-spm"]=s),l&&(m["data-tracker-scm"]=l),D.createElement("a",A({className:`${Ln.container} ${c}`,href:r},m),1===u?D.createElement(e,{className:`${Ln.title} ${Ln["title-single-line"]}`},a?D.createElement("img",{className:Ln.icon,src:a,alt:t}):null,D.createElement("span",{className:Ln["title-text"],title:t},t),D.createElement(In,{className:Ln.tag,name:i}),"_blank"===f?D.createElement(Rn,null):null):D.createElement(e,{className:[Ln.title,2===u?Ln["title-double-line"]:""].filter(Boolean).join(" ")},a?D.createElement("img",{className:Ln.icon,src:a,alt:t}):null,t,D.createElement(In,{name:i}),"_blank"===f?D.createElement(Rn,null):null),D.createElement("p",{className:`${Ln.desc} ${2===d?Ln["desc-double-line"]:""}`,title:n},n))},Tn="_242ceb02798454f188ce028bb1f1072d_container",jn="_242ceb02798454f188ce028bb1f1072d_has-side",zn="_242ceb02798454f188ce028bb1f1072d_column",Dn="_242ceb02798454f188ce028bb1f1072d_title",Fn=function({title:e,items:t=[],columnCount:n=3,itemConfig:r}){return D.createElement("section",{className:`${Tn} ${3===n?jn:""}`},D.createElement("h4",{className:Dn},e),D.createElement(An,{columnClassName:zn,dataSource:t,columnCount:n,renderItem:(e,t)=>D.createElement(Mn,{key:t,title:e.name||"",description:e.desc,link:e.link,tag:e.tag,tagBlacklist:[],titleLine:null==r?void 0:r.titleLine,descLine:null==r?void 0:r.descLine,spm:`d_main_0_${t}`,scm:e.__scm})}))},Wn="ce35cdf234cb85271d07249f75e3a4f1_container",Bn="ce35cdf234cb85271d07249f75e3a4f1_column",Hn=function({className:e="",columnClassName:t="",dataSource:n,columnCount:r,renderItem:a,computeItemHeight:i}){const o=D.useMemo(function(){const e=Array.from(new Array(r)).map(()=>({height:0,items:[]}));return n.forEach(function(t,n){let r=0,a=1/0;e.forEach(function(e,t){e.height<a&&(a=e.height,r=t)}),e[r].items.push({index:n,item:t}),e[r].height+=i(t)}),e.map(e=>e.items)},[n,r]);return D.createElement("div",{className:`${Wn} ${e}`},o.map(function(e){return D.createElement("div",{className:`${Bn} ${t}`},e.map(({index:e,item:t})=>a(t,e+"")))}))};function Un(e,t){if(!e.children||0===e.children.length)return 0;let n=82;return e.children.forEach(function(e){e.children&&e.children.length?(n+=60,e.children.forEach(function(e){n+=t.height+t.marginBottom})):n+=t.height+t.marginBottom}),n}const Vn={category:"_88f0bfc21e183bf61fa7003a683fa331_category",title:"_88f0bfc21e183bf61fa7003a683fa331_title","sub-category":"_88f0bfc21e183bf61fa7003a683fa331_sub-category",icon:"_88f0bfc21e183bf61fa7003a683fa331_icon"},Gn=function({dataSource:e,parentKey:t,renderItem:n}){return e.children&&0!==e.children.length?D.createElement("section",{className:Vn.category},e.title?D.createElement("h4",{className:Vn.title},e.link?D.createElement("a",{className:Vn.link,href:e.link,"data-spm":`${t}`,"data-tracker-scm":e.__scm},e.title,D.createElement(lt,{className:Vn.icon,name:"link"})):e.title):null,e.children.map((e,r)=>e.children&&e.children.length?D.createElement(qn,{dataSource:e,parentKey:`${t}_${r}`,renderItem:n}):n(e,`${t}_${r}`))):e.title&&e.link?n(e,t):null},qn=function({dataSource:e,parentKey:t,renderItem:n}){return D.createElement("section",{className:Vn["sub-category"]},e.title?D.createElement("h5",{className:Vn.title},e.link?D.createElement("a",{className:Vn.link,href:e.link,"data-spm":`${t}`,"data-tracker-scm":e.__scm},e.title,D.createElement(lt,{className:Vn.icon,name:"link"})):e.title):null,(e.children||[]).map((e,r)=>n(e,`${t}_${r}`)))},Yn="_7c0bf1b78e080f7e776e4b32403fec49_container",Kn="_7c0bf1b78e080f7e776e4b32403fec49_has-side",Zn="_7c0bf1b78e080f7e776e4b32403fec49_column";const Jn=function({categories:e=[],columnCount:t=3,itemConfig:n,index:r}){return(a=e)&&a.every(e=>!e.children||0===e.children.length)?D.createElement("section",{className:`${Yn} ${3===t?Kn:""}`},D.createElement(An,{columnClassName:Zn,dataSource:e,columnCount:t,renderItem:(e,t)=>D.createElement(Mn,{key:t,title:e.title||"",description:e.description,link:e.link||"",titleLine:null==n?void 0:n.titleLine,descLine:null==n?void 0:n.descLine,scm:e.__scm,spm:t})})):D.createElement(Hn,{className:`${Yn} ${3===t?Kn:""}`,columnClassName:Zn,dataSource:e,columnCount:t,renderItem:(e,t)=>D.createElement(Gn,{key:t,dataSource:e,parentKey:`d_main_${r}_${t}`,renderItem:(e,t)=>D.createElement(Mn,{key:t,title:e.title||"",description:e.description,link:e.link||"",titleLine:null==n?void 0:n.titleLine,descLine:null==n?void 0:n.descLine,scm:e.__scm,spm:t})}),computeItemHeight:e=>Un(e,{height:42,marginBottom:20})});var a},Xn="_063dc3f6865f3b348d4335bf6bd93dd2_summary",Qn="_063dc3f6865f3b348d4335bf6bd93dd2_side-menu",er=function({menuConfig:e,dataSource:t}){var n;const{site:r,locale:a}=D.useContext(X),[i,o]=D.useState(null),[c,s]=D.useState(0),l=!!(null==(n=t.populars)?void 0:n.title);return D.createElement(Ft,{title:e.name,link:e.link,summary:e=>{var n,r,a;return D.createElement(D.Fragment,null,D.createElement(Sn,{onResult:o,dataSource:(null==(n=t.dataSource)?void 0:n.children)||[]}),D.createElement("div",{className:`${Qn} ${wt}`,ref:ht},D.createElement(Mt,{dataSource:[...l?[{title:t.populars.title}]:[],...(null==(a=null==(r=t.dataSource)?void 0:r.children)?void 0:a.filter(e=>e.title&&e.children&&e.children.length>0).map(e=>({title:e.title,link:e.link,scm:e.__scm})))||[]],selectedIndex:c,onSelectedChange:s,panelNode:e.detailNode})))},summaryClassName:Xn},i||function(e,t,n,r=0){var a,i,o,c,s,l;let u,d;0===r?n||(u=null==(a=e.news)?void 0:a.find(e=>{var t;return"populars"===(null==(t=e.category)?void 0:t.id)})):(d=null==(o=null==(i=e.dataSource)?void 0:i.children)?void 0:o[r-1],d&&!n&&(u=null==(c=e.news)?void 0:c.find(e=>{var t;return(null==(t=e.category)?void 0:t.id)===(null==d?void 0:d.id)})));return D.createElement(Ut,{side:u?D.createElement(nn,{news:u,index:r}):null,$key:`category-${r}`},0===r?D.createElement(Fn,{title:null==(s=e.populars)?void 0:s.title,items:null==(l=e.populars)?void 0:l.items,columnCount:u?3:4,itemConfig:t.displayConfig}):D.createElement(Jn,{categories:null==d?void 0:d.children,columnCount:u?3:4,itemConfig:t.displayConfig,index:r}))}(t,e,r===U.aliyun&&a===Y.en_US,l?c:c+1))};const tr="_9afd2e5ef4dcfdba5070800e5d5eb912_input",nr="_9afd2e5ef4dcfdba5070800e5d5eb912_icon",rr=D.forwardRef(function({className:e="",placeholder:t="",value:n,onChange:r},a){const[i,o]=D.useState(""),[c,s]=D.useState(!1);D.useEffect(function(){o(n)},[n]);const l=D.useCallback(function(e){const t=e.target.value;o(t),c||r(t.trim())},[c]),u=D.useCallback(function(e){s(!1);const t=e.target.value;r(t.trim())},[]);return D.createElement("div",{className:`${tr} ${e}`,ref:a},D.createElement("input",{type:"text",placeholder:t,"data-spm-click":"gostr=/aliyun;locaid=daliyun-menu-search",value:i,onChange:l,onCompositionStart:()=>s(!0),onCompositionEnd:u}),D.createElement(lt,{className:nr,name:"search"}))});const ar="_9b08b6f521e6becd0c60fb7e3d41266b_container",ir="_9b08b6f521e6becd0c60fb7e3d41266b_title",or="_9b08b6f521e6becd0c60fb7e3d41266b_clear",cr="_9b08b6f521e6becd0c60fb7e3d41266b_items",sr="_9b08b6f521e6becd0c60fb7e3d41266b_item",lr="_9b08b6f521e6becd0c60fb7e3d41266b_empty",ur=function({keywords:e,dataSource:t,onClear:n}){return D.createElement("section",{className:ar},D.createElement("h4",{className:ir},H["search.result-title"].replace("{keywords}",e),D.createElement("button",{className:or,onClick:n,"data-spm":"d_clearsearch"},D.createElement(lt,{name:"close"}))),t&&t.length?D.createElement("div",{className:cr},t.map(function(e,t){return D.createElement("a",{className:sr,href:e.link,"data-spm":`d_searchresult_${t}`,"data-tracker-scm":e.scm,key:e.id},D.createElement("h5",{title:e.title},e.title),D.createElement("p",{title:e.desc},e.desc))})):D.createElement("p",{className:lr},H["search.no-results"]))},dr="_6f79d1b6bd16d337bf03b3b9c3af3777_container",fr=function({dataSource:e,onResult:t}){const{site:n,locale:r}=D.useContext(X),[a,i]=D.useState(""),[o,c]=D.useState(null);return D.useEffect(function(){n===U.alibabacloud||r===Y.en_US?c(()=>gn(e)):c(null)},[e,n,r]),D.useEffect(function(){if(a){let e=!1,c=setTimeout(function(){if(c=null,n===U.alibabacloud||r===Y.en_US){if(!o)return;const e=o({searchWord:a});t(D.createElement(ur,{keywords:a,dataSource:e.map(function(e,t){return{id:`result-${t}`,title:e.title,desc:e.description||"",link:e.link,scm:e.__scm||""}}),onClear:()=>{i("")}}))}else(function(e){return z(this,null,function*(){var t,n;const r=yield Xe(`//${mn()?"pre-":""}t.aliyun.com/abs/search/doSearch?queryWord=${e.searchWord}&bizType=product&subBizType=\u6280\u672f\u89e3\u51b3\u65b9\u6848&from=pc&loc=menu_solution&pageNo=1&limit=10`);return r.success&&(null==(n=null==(t=r.data)?void 0:t.info)?void 0:n.length)?r.data.info.map(function(e){const{id:t,title:n,description:r,shortDescription:a,url:i,scm:o}=e,c=(new DOMParser).parseFromString(n,"text/html").body.textContent||"";if(c)return{id:t,title:c,desc:a||r,link:i,scm:o}}).filter(e=>!!e):[]})})({searchWord:a,locale:r,site:n}).then(function(n){e||t(D.createElement(ur,{keywords:a,dataSource:n,onClear:()=>{i("")}}))}).catch(function(e){})},200);return function(){c?clearTimeout(c):e=!0}}t(null)},[a,o,n,r]),D.createElement(rr,{className:dr,placeholder:H["search.search-solutions"],value:a,onChange:i})},mr="_242ceb02798454f188ce028bb1f1072d_container",hr="_242ceb02798454f188ce028bb1f1072d_has-side",pr="_242ceb02798454f188ce028bb1f1072d_column",br="_242ceb02798454f188ce028bb1f1072d_title",gr=function({title:e,items:t=[],columnCount:n=3,itemConfig:r}){return D.createElement("section",{className:`${mr} ${3===n?hr:""}`},D.createElement("h4",{className:br},e),D.createElement(An,{columnClassName:pr,dataSource:t,columnCount:n,renderItem:(e,t)=>D.createElement(Mn,{key:t,title:e.name||"",description:e.desc,link:e.link,tag:e.tag,tagBlacklist:[],spm:`d_main_0_${t}`,scm:e.__scm,titleLine:(null==r?void 0:r.titleLine)||1,descLine:null==r?void 0:r.descLine})}))},vr="_7c0bf1b78e080f7e776e4b32403fec49_container",yr="_7c0bf1b78e080f7e776e4b32403fec49_has-side",_r="_7c0bf1b78e080f7e776e4b32403fec49_column";const wr=function({categories:e=[],columnCount:t=3,itemConfig:n,index:r}){return(a=e)&&a.every(e=>!e.children||0===e.children.length)?D.createElement("section",{className:`${vr} ${3===t?yr:""}`},D.createElement(An,{columnClassName:_r,dataSource:e,columnCount:t,renderItem:(e,t)=>D.createElement(Mn,{key:t,title:e.title||"",description:e.description,link:e.link||"",tag:e.tag,scm:e.__scm,spm:t,titleLine:(null==n?void 0:n.titleLine)||1,descLine:null==n?void 0:n.descLine})})):D.createElement(Hn,{className:`${vr} ${3===t?yr:""}`,columnClassName:_r,dataSource:e,columnCount:t,renderItem:(e,t)=>D.createElement(Gn,{key:t,dataSource:e,parentKey:`d_main_${r}_${t}`,renderItem:(e,t)=>D.createElement(Mn,{key:t,title:e.title||"",description:e.description,link:e.link||"",tag:e.tag,scm:e.__scm,spm:t,titleLine:(null==n?void 0:n.titleLine)||1,descLine:null==n?void 0:n.descLine})}),computeItemHeight:e=>Un(e,{height:42,marginBottom:20})});var a},Er="_063dc3f6865f3b348d4335bf6bd93dd2_summary",kr="_063dc3f6865f3b348d4335bf6bd93dd2_side-menu",xr=function({menuConfig:e,dataSource:t}){var n;const[r,a]=D.useState(null),[i,o]=D.useState(0),c=!!(null==(n=t.populars)?void 0:n.title);return D.createElement(Ft,{title:e.name,link:e.link,summary:e=>{var n,r,s;return D.createElement(D.Fragment,null,D.createElement(fr,{onResult:a,dataSource:(null==(n=t.dataSource)?void 0:n.children)||[]}),D.createElement("div",{className:`${kr} ${wt}`,ref:ht},D.createElement(Mt,{dataSource:[...c?[{title:t.populars.title}]:[],...(null==(s=null==(r=t.dataSource)?void 0:r.children)?void 0:s.filter(e=>e.title&&e.children&&e.children.length>0).map(e=>({title:e.title,link:e.link,scm:e.__scm})))||[]],selectedIndex:i,onSelectedChange:o,panelNode:e.detailNode})))},summaryClassName:Er},r||function(e,t,n=0){var r,a,i,o,c;let s,l,u;0===n?l=(null==(r=t.populars)?void 0:r.title)||"":(s=null==(i=null==(a=t.dataSource)?void 0:a.children)?void 0:i[n-1],l=(null==s?void 0:s.title)||"");e.recommends&&l&&(u=e.recommends.find(e=>e.category===l));return D.createElement(Ut,{side:u?D.createElement(nn,{news:u,index:n}):null,$key:`category-${n}`},0===n?D.createElement(gr,{title:null==(o=t.populars)?void 0:o.title,items:null==(c=t.populars)?void 0:c.items,columnCount:u?3:4,itemConfig:e.displayConfig}):D.createElement(wr,{categories:null==s?void 0:s.children,columnCount:u?3:4,itemConfig:e.displayConfig,index:n}))}(e,t,c?i:i+1))};const Cr="fa532b0a251c3820beaedbcc193dd400_container",Sr="fa532b0a251c3820beaedbcc193dd400_item",Nr=function({className:e="",itemClassName:t="",dataSource:n,columnCount:r=3,columnGap:a=32,renderItem:i}){return D.createElement("div",{className:`${Cr} ${e}`,style:{"--column-count":r,"--column-gap":a+"px"}},n.map((e,n)=>D.createElement("div",{className:`${Sr} ${t}`},i(e,`${n}`))))},$r="e5ca0a467e00debcd886104319843d7b_item",Ar=function({title:e,link:t,className:n="",spm:r,scm:a}){const i={};return r&&(i["data-spm"]=r),a&&(i["data-tracker-scm"]=a),D.createElement("a",A({className:`${$r} ${n}`,href:t},i),e)},Pr="_12e5f56bc4f9c609d8dab59f59e39d31_side-menu",Or="_12e5f56bc4f9c609d8dab59f59e39d31_main-container",Ir="_12e5f56bc4f9c609d8dab59f59e39d31_has-side",Lr=function({menuConfig:e,dataSource:t}){var n,r;const[a,i]=D.useState(0);let o;if(e.recommends){const r=null==(n=null==t?void 0:t[a])?void 0:n.title;r&&(o=e.recommends.find(e=>e.category===r))}return D.createElement(Ft,{title:e.name,link:e.link,summary:e=>D.createElement(Mt,{className:Pr,dataSource:(t||[]).filter(e=>e.title&&e.children&&e.children.length).map(e=>({title:e.title,link:e.link,scm:e.scm})),selectedIndex:a,onSelectedChange:i,panelNode:e.detailNode})},D.createElement(Ut,{side:o?D.createElement(nn,{news:o,index:a}):null,$key:`category-${a}`},D.createElement(Nr,{className:`${Or} ${o?Ir:""}`,dataSource:(null==(r=null==t?void 0:t[a])?void 0:r.children)||[],columnCount:o?3:4,renderItem:(e,t)=>D.createElement(Gn,{dataSource:e,parentKey:`d_main_${a}_${t}`,renderItem:(e,t)=>D.createElement(Ar,{key:t,title:e.title||"",link:e.link||"",scm:e.scm,spm:t})})})))},Rr="ee88df88f9b0d235ff7563be3b7e2c6d_desc",Mr="ee88df88f9b0d235ff7563be3b7e2c6d_main-container",Tr="ee88df88f9b0d235ff7563be3b7e2c6d_has-side",jr=function({menuConfig:e,dataSource:t}){const{site:n,locale:r}=D.useContext(X),a=n!==U.aliyun||r!==Y.en_US;return D.createElement(Ft,{title:e.name,link:e.link,summary:D.createElement("p",{className:Rr},e.description)},D.createElement(Ut,{side:a&&e.recommends&&e.recommends[0]?D.createElement(nn,{news:e.recommends[0],index:0}):null},D.createElement(Nr,{className:`${Mr} ${a&&e.recommends&&e.recommends[0]?Tr:""}`,dataSource:t||[],columnCount:a&&e.recommends&&e.recommends[0]?3:4,renderItem:(t,n)=>D.createElement(Gn,{dataSource:t,parentKey:`d_main_${n}`,renderItem:(t,n)=>{var r,a,i,o,c;return(null==(r=e.displayConfig)?void 0:r.displayDesc)?D.createElement(Mn,{key:n,title:t.title||"",description:t.description||"",link:t.link||"",tag:null==(i=null==(a=t.exts)?void 0:a.tag)?void 0:i.value,titleLine:null==(o=e.displayConfig)?void 0:o.titleLine,descLine:null==(c=e.displayConfig)?void 0:c.descLine,scm:t.scm,spm:n}):D.createElement(Ar,{key:n,title:t.title||"",link:t.link||"",scm:t.scm,spm:n})}})})))},zr="_2a8bf086a413c3de2d7c29798c5959ec_main-desc",Dr="_2a8bf086a413c3de2d7c29798c5959ec_container",Fr="_2a8bf086a413c3de2d7c29798c5959ec_has-side",Wr="_2a8bf086a413c3de2d7c29798c5959ec_column",Br="_2a8bf086a413c3de2d7c29798c5959ec_item",Hr="_2a8bf086a413c3de2d7c29798c5959ec_title",Ur="_2a8bf086a413c3de2d7c29798c5959ec_icon",Vr="_2a8bf086a413c3de2d7c29798c5959ec_desc",Gr=function({menuConfig:e,dataSource:t}){const{site:n,locale:r}=D.useContext(X),a=n!==U.aliyun||r!==Y.en_US;return D.createElement(Ft,{title:e.name,link:e.link,summary:D.createElement("p",{className:zr},e.description)},D.createElement(Ut,{side:a&&e.recommends&&e.recommends[0]?D.createElement(nn,{news:e.recommends[0],index:0}):null},D.createElement(An,{className:`${Dr} ${a&&e.recommends&&e.recommends[0]?Fr:""}`,columnClassName:Wr,dataSource:t||[],columnCount:a&&e.recommends&&e.recommends[0]?3:4,renderItem:(e,t)=>D.createElement("a",{className:Br,href:e.link,"data-spm":`d_main_${t}`,"data-tracker-scm":e.scm},D.createElement("h4",{className:Hr},e.title,D.createElement(lt,{className:Ur,name:"link"})),D.createElement("p",{className:Vr,title:e.description},e.description))})))},qr={container:"a57e665b836948f3c5f4743142bb91c2_container","has-side":"a57e665b836948f3c5f4743142bb91c2_has-side",columns:"a57e665b836948f3c5f4743142bb91c2_columns",column:"a57e665b836948f3c5f4743142bb91c2_column",title:"a57e665b836948f3c5f4743142bb91c2_title",desc:"a57e665b836948f3c5f4743142bb91c2_desc",icon:"a57e665b836948f3c5f4743142bb91c2_icon"},Yr=function({dataSource:e,columnCount:t,itemConfig:n}){return D.createElement("section",{className:`${qr.container} ${3===t?qr["has-side"]:""}`},D.createElement("h4",{className:qr.title},e.link?D.createElement("a",{className:qr.link,href:e.link,"data-spm":"d_main_0","data-tracker-scm":e.scm},e.title,e.description&&D.createElement("span",{className:qr.desc},e.description),D.createElement(lt,{className:qr.icon,name:"link"})):D.createElement(D.Fragment,null,e.title,e.description&&D.createElement("span",{className:qr.desc},e.description))),D.createElement(An,{className:qr.columns,columnClassName:qr.column,dataSource:e.children||[],columnCount:t,renderItem:(e,t)=>{var r,a;return D.createElement(Mn,{key:t,title:e.title||"",description:e.description||"",link:e.link||"",tag:null==(a=null==(r=e.exts)?void 0:r.tag)?void 0:a.value,tagBlacklist:[],titleLine:null==n?void 0:n.titleLine,descLine:null==n?void 0:n.descLine,spm:`d_main_0_${t}`,scm:e.scm})}}))},Kr="ee88df88f9b0d235ff7563be3b7e2c6d_desc",Zr="ee88df88f9b0d235ff7563be3b7e2c6d_main-container",Jr="ee88df88f9b0d235ff7563be3b7e2c6d_has-side",Xr=function({menuConfig:e,dataSource:t}){return D.createElement(Ft,{title:e.name,link:e.link,summary:D.createElement("p",{className:Kr},e.description)},D.createElement(Ut,{side:e.recommends&&e.recommends[0]?D.createElement(nn,{news:e.recommends[0],index:0}):null},t&&t[0]?D.createElement(Yr,{dataSource:t[0],columnCount:e.recommends&&e.recommends[0]?3:4,itemConfig:e.displayConfig}):null,D.createElement(Nr,{className:`${Zr} ${e.recommends&&e.recommends[0]?Jr:""}`,dataSource:(t||[]).slice(1),columnCount:e.recommends&&e.recommends[0]?3:4,renderItem:(t,n)=>D.createElement(Gn,{dataSource:t,parentKey:`d_main_${parseInt(n)+1}`,renderItem:(t,n)=>{var r,a,i,o,c;return(null==(r=e.displayConfig)?void 0:r.displayDesc)?D.createElement(Mn,{key:n,title:t.title||"",description:t.description||"",link:t.link||"",tag:null==(i=null==(a=t.exts)?void 0:a.tag)?void 0:i.value,titleLine:null==(o=e.displayConfig)?void 0:o.titleLine,descLine:null==(c=e.displayConfig)?void 0:c.descLine,scm:t.scm,spm:n}):D.createElement(Ar,{key:n,title:t.title||"",link:t.link||"",scm:t.scm,spm:n})}})})))},Qr={title:"dea376c4283a72bf9793d64391ad79f2_title",image:"dea376c4283a72bf9793d64391ad79f2_image",desc:"dea376c4283a72bf9793d64391ad79f2_desc",icon:"dea376c4283a72bf9793d64391ad79f2_icon"},ea=function({TagName:e="h4",title:t,description:n,link:r,image:a,spm:i,scm:o}){return D.createElement(e,{className:Qr.title},r?D.createElement("a",{className:Qr.link,href:r,"data-spm":i,"data-tracker-scm":o},a?D.createElement("img",{className:Qr.image,src:a,alt:t}):null,t,n&&D.createElement("span",{className:Qr.desc},n),D.createElement(lt,{className:Qr.icon,name:"link"})):D.createElement(D.Fragment,null,a?D.createElement("img",{className:Qr.image,src:a,alt:t}):null,t,n&&D.createElement("span",{className:Qr.desc},n)))},ta={column:"_18a4839053fe915fbc602135e724cfee_column",item:"_18a4839053fe915fbc602135e724cfee_item"},na=function({className:e="",style:t,dataSource:n,parentKey:r,columnCount:a,itemConfig:i,level:o=4}){const c=`h${o}`,s=`h${o+1}`;return D.createElement("section",{className:`${ta.container} ${e}`,style:t},D.createElement(ea,{TagName:c,title:n.title,description:n.description,link:n.link,image:n.image,spm:r,scm:n.scm}),D.createElement(An,{className:ta.columns,columnClassName:ta.column,dataSource:n.children||[],columnCount:a,renderItem:(e,t)=>{var n,a,o,c;return D.createElement(Mn,{key:t,className:ta.item,title:e.title||"",description:e.description||"",link:e.link||"",icon:e.image,tag:null==(a=null==(n=e.exts)?void 0:n.tag)?void 0:a.value,tagBlacklist:[],titleLine:null==i?void 0:i.titleLine,descLine:null==i?void 0:i.descLine,spm:`${r}_${t}`,scm:e.scm,target:"_blank"===(null==(c=null==(o=e.exts)?void 0:o.target)?void 0:c.value)?"_blank":void 0,TagName:s})}}))},ra="_1b29ec8b5e00794baba624712715ba77_container",aa="_1b29ec8b5e00794baba624712715ba77_card",ia="_1b29ec8b5e00794baba624712715ba77_bg",oa="_1b29ec8b5e00794baba624712715ba77_title",ca="_1b29ec8b5e00794baba624712715ba77_content",sa="_1b29ec8b5e00794baba624712715ba77_icon",la="_1b29ec8b5e00794baba624712715ba77_desc",ua=function({spm:e,dataSource:t}){var n,r;return t?D.createElement("div",{className:aa},D.createElement("div",{className:ia,style:{"--bg":(null==(r=null==(n=t.exts)?void 0:n.backgroundImage)?void 0:r.value)?`url(${t.exts.backgroundImage.value})`:"none"}}),D.createElement("a",{className:ca,href:t.link,"data-spm":e,"data-tracker-scm":t.scm},D.createElement("h4",{className:oa},t.title,D.createElement(lt,{className:sa,name:"link"})),D.createElement("p",{className:la},t.description))):null},da=function({parentKey:e,dataSource:t,className:n=""}){return t?D.createElement("div",{className:`${ra} ${n}`},t.map((t,n)=>D.createElement(ua,{spm:`${e}_${n}`,dataSource:t}))):null},fa="_5663db1e23a420c5c85dfe1cfd1dd318_desc",ma="_5663db1e23a420c5c85dfe1cfd1dd318_cards",ha="_5663db1e23a420c5c85dfe1cfd1dd318_category",pa="_5663db1e23a420c5c85dfe1cfd1dd318_row",ba="_5663db1e23a420c5c85dfe1cfd1dd318_item",ga=function({menuConfig:e,dataSource:t}){return D.createElement(Ft,{title:e.name,link:e.link,summary:D.createElement("p",{className:fa},e.description)},D.createElement(Ut,{side:null},null==t?void 0:t.map((t,n)=>{var r,a,i,o,c;if("card"===(null==(a=null==(r=t.exts)?void 0:r.display)?void 0:a.value))return D.createElement(da,{parentKey:`d_main_${n}`,dataSource:t.children,className:ma});const s="model"===(null==(o=null==(i=t.exts)?void 0:i.display)?void 0:o.value)&&t.title,l=[];let u=null;return null==(c=t.children)||c.forEach((e,t)=>{var n,r;const a=(null==(r=null==(n=e.exts)?void 0:n.columnCount)?void 0:r.value)||"1",i=Math.min(4,/^\d+$/.test(a)?parseInt(a):1);u||(u={items:[],columnCount:0},l.push(u)),u.columnCount+i>4&&(u={items:[],columnCount:0},l.push(u)),u.items.push({data:e,columnCount:i,index:t}),u.columnCount+=i,4===u.columnCount&&(u=null)}),D.createElement("div",{className:ha},s?D.createElement(ea,{TagName:"h4",title:t.title,description:t.description,link:t.link,image:t.image,spm:`d_main_${n}`,scm:t.scm}):null,l.map(t=>D.createElement("div",{className:pa},t.items.map(t=>D.createElement(na,{className:ba,style:{width:25*t.columnCount+"%"},dataSource:t.data,parentKey:`d_main_${n}_${t.index}`,columnCount:t.columnCount,itemConfig:e.displayConfig,level:s?5:4})),t.columnCount<4?D.createElement("div",{style:{flex:4-t.columnCount}}):null)))})))},va="_6083aaf6ccce09be59580029de8c2fac_container",ya="_6083aaf6ccce09be59580029de8c2fac_visible",_a="_6083aaf6ccce09be59580029de8c2fac_close",wa="_6083aaf6ccce09be59580029de8c2fac_items",Ea="_6083aaf6ccce09be59580029de8c2fac_item",ka="_6083aaf6ccce09be59580029de8c2fac_current",xa=D.forwardRef(function({items:e,productConfig:t,solutionConfig:n,visible:r,onClose:a,showIndex:i},o){const{site:c}=D.useContext(X),[s,l]=D.useState(null),u=D.useRef(null);D.useImperativeHandle(o,()=>s,[s]),D.useEffect(function(){ht(s)},[s]);const[d,f]=D.useState(0);D.useEffect(function(){if(!u.current)return;const e=u.current.childNodes[i];e&&f(e.offsetHeight)},[u.current,i]);const m=[va];r&&m.push(ya);const h=c===U.alibabacloud?344:472;return D.createElement(Ct,{id:"menu-dropdown",className:m.join(" "),ref:l},D.createElement("div",{className:wa,style:{height:d+"px"},ref:u},e.map(function(e,r){const a={"--min-height":h+"px"};return e.displayStyle===G.solution&&(a.height="604px"),D.createElement("div",{className:`${Ea} ${r===i?ka:""}`,style:a,key:r,"data-spm":`nav-v2-dropdown-menu-${r}`,"data-tracker-exp":!0},D.createElement(pt,{name:`\u7b2c ${r} \u4e2a\u83dc\u5355\u4e0b\u62c9\u9762\u677f`},D.createElement(Ca,{menuConfig:e,productConfig:t,solutionConfig:n})))})),D.createElement("button",{className:_a,onClick:a,"data-spm":"d_close"},D.createElement(lt,{name:"close"})))}),Ca=function({menuConfig:e,productConfig:t,solutionConfig:n}){var r,a,i,o;const{locale:c}=D.useContext(X),[s,l]=D.useState(null);switch(D.useEffect(function(){if(e.sourceId){const t=Date.now();it(e.sourceId,c).then(function(n){Ze({type:"nav-menu-load-time",source:e.sourceId,time:Date.now()-t}),l(n)}).catch(function(t){let n="";"string"==typeof t?n=t:t&&"string"==typeof t.message&&(n=t.message),Ze({type:"nav-menu-load-error",source:e.sourceId,error:n})})}},[e.sourceId]),"string"==typeof(null==(r=e.displayConfig)?void 0:r.titleLine)&&(/^\d+$/.test(null==(a=e.displayConfig)?void 0:a.titleLine)?e.displayConfig.titleLine=parseInt(e.displayConfig.titleLine):delete e.displayConfig.titleLine),"string"==typeof(null==(i=e.displayConfig)?void 0:i.descLine)&&(/^\d+$/.test(null==(o=e.displayConfig)?void 0:o.descLine)?e.displayConfig.descLine=parseInt(e.displayConfig.descLine):delete e.displayConfig.descLine),e.displayStyle){case G.product:return D.createElement(er,{menuConfig:e,dataSource:t});case G.sideMenu:return D.createElement(Lr,{menuConfig:e,dataSource:s});case G.waterfall:return D.createElement(jr,{menuConfig:e,dataSource:s});case G.tile:return D.createElement(Gr,{menuConfig:e,dataSource:s});case G.llm:return D.createElement(Xr,{menuConfig:e,dataSource:s});case G.llmv2:return D.createElement(ga,{menuConfig:e,dataSource:s});case G.solution:return D.createElement(xr,{menuConfig:e,dataSource:n})}return null},Sa="_2cdcedb5935313401458d214540870bc_menu",Na="_2cdcedb5935313401458d214540870bc_current",$a="_2cdcedb5935313401458d214540870bc_highlight",Aa="_2cdcedb5935313401458d214540870bc_tag",Pa=D.forwardRef((e,t)=>{var n=e,{className:r="",href:a,children:i}=n,o=O(n,["className","href","children"]);return a?D.createElement("a",A({ref:t,className:r,href:a},o),i):D.createElement("button",A({ref:t,className:r},o),i)}),Oa=function({config:e,isHighlight:t,isCurrent:n,onSelect:r,spm:a,moveTrack:i}){var o;const c=D.useRef(null);D.useEffect(function(){const e=c.current;if(!e)return;let t=null;const n=()=>{t=setTimeout(()=>{r(),t=null},50)},a=()=>{t&&(clearTimeout(t),t=null)},o=()=>{const e=null==i?void 0:i.getAngle();if("number"==typeof e&&(e<Math.PI/18||e>17*Math.PI/18))return a(),void r();n()},s=()=>{a()},l=e=>{a(),n()};return e.addEventListener("mouseenter",o),e.addEventListener("mouseleave",s),e.addEventListener("mousemove",l),()=>{e.removeEventListener("mouseenter",o),e.removeEventListener("mouseleave",s),e.removeEventListener("mousemove",l)}},[c.current,i,r]);const s=[Sa];return t&&s.push($a),n&&s.push(Na),D.createElement(Pa,{ref:c,className:s.join(" "),href:e.link,"data-spm":a},e.name,e.tag?D.createElement("em",{className:Aa},e.tag):(null==(o=e.dynamicTag)?void 0:o.name)?D.createElement("em",{className:Aa},e.dynamicTag.name):null)},Ia="_0b0e00051b37611378e027e6ac3a695a_menus",La=(Ra=D.forwardRef(function({items:e,productConfig:t,solutionConfig:n,scrollLeft:r},a){const[i,o]=D.useState(-1);D.useEffect(function(){e.some(function({highlightNav:e},t){if(e)return e.map(e=>e.trim()).filter(e=>!!e).some(function(e){try{return new RegExp(e).test(location.href)}catch(t){}})?(o(t),!0):void 0})},[e]);const[c,s]=D.useState(-1),[l,u]=D.useState(!1),d=D.useRef(null);D.useImperativeHandle(a,()=>d.current,[d.current]);const[f,m]=D.useState(null),[h,p]=D.useState(null);return D.useEffect(function(){const e=d.current;if(!e||!f)return;const{unbind:t,moveTrack:n}=ne({trigger:e,panel:f,lazyTime:50,useBoundaryDetection:!0,onShow:()=>{u(!0)},onHide:()=>{u(!1)}});return p(n),t},[d.current,f]),D.useEffect(function(){ot(e.map(function(e){return e.sourceId}).filter(e=>!!e))},[]),D.createElement(D.Fragment,null,D.createElement("nav",{className:Ia,style:{transform:r&&r>0?`translateX(-${r}px)`:void 0},ref:d},e.map(function(e,t){return D.createElement(Oa,{key:t,config:e,isHighlight:i===t,isCurrent:l&&c===t,onSelect:()=>s(t),spm:`d_menu_${t}`,moveTrack:h})})),D.createElement(xa,{ref:e=>m(e),items:e,productConfig:t,solutionConfig:n,visible:l,showIndex:c,onClose:()=>u(!1)}))}),function(e){const t=e,{layoutMode:n,onBeforeScrollLeft:r,onBeforeScrollRight:a}=t,i=O(t,["layoutMode","onBeforeScrollLeft","onBeforeScrollRight"]),o=D.useRef(null),c=D.useRef(null),s=D.useRef(null),[l,u]=D.useState(1/0),[d,f]=D.useState(1/0),[m,h]=D.useState(0),[p,b]=D.useState(0),[g,v]=D.useState([]),[y,_]=D.useState(0);D.useEffect(function(){const e=s.current;if(!e)return;const t=Array.from(e.childNodes).filter(e=>!!e).map(function(e){return e.offsetWidth});v(t),_(t.reduce((e,t)=>e+t,0))},[s.current]),D.useEffect(function(){const e=o.current,t=c.current;if(!e||!t)return;const n=function(){const n=e.offsetWidth,r=t.offsetWidth;u(n),f(r)};return n(),window.addEventListener("resize",n),ut.on(n),function(){window.removeEventListener("resize",n),ut.off(n)}},[o.current,c.current,n]);const w=y>l;return D.createElement("div",{className:dt.container,ref:o},D.createElement("button",{className:dt.controller,style:{display:w&&m>0?"block":void 0},"data-spm":"dscroll-left",onClick:function(){if(r&&!r())return;let e=0;const t=g.slice(0,p+1).reverse().reduce(function(t,n,r){return t+n<d?(e=r,t+n):t},0);h(m-t),b(p-e)}},D.createElement(lt,{className:dt.icon,name:"button_left"})),D.createElement("div",{className:dt["menu-warp"],ref:c},D.createElement(Ra,P(A({},i),{ref:s,scrollLeft:w?m:void 0}))),D.createElement("button",{className:dt.controller,style:{display:w&&d+m<y?"block":void 0},"data-spm":"dscroll-right",onClick:function(){if(a&&!a())return;let e=0;const t=g.slice(p).reduce(function(t,n,r){return t+n<d?(e=r,t+n):t},0);h(m+t),b(p+e)}},D.createElement(lt,{className:dt.icon,name:"button_right"})))});var Ra,Ma=Ta;function Ta(e,t,n){e instanceof RegExp&&(e=ja(e,n)),t instanceof RegExp&&(t=ja(t,n));var r=za(e,t,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+e.length,r[1]),post:n.slice(r[1]+t.length)}}function ja(e,t){var n=t.match(e);return n?n[0]:null}function za(e,t,n){var r,a,i,o,c,s=n.indexOf(e),l=n.indexOf(t,s+1),u=s;if(s>=0&&l>0){if(e===t)return[s,l];for(r=[],i=n.length;u>=0&&!c;)u==s?(r.push(u),s=n.indexOf(e,u+1)):1==r.length?c=[r.pop(),l]:((a=r.pop())<i&&(i=a,o=l),l=n.indexOf(t,u+1)),u=s<l&&s>=0?s:l;r.length&&(c=[i,o])}return c}Ta.range=za;var Da=Ma,Fa=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return Qa(function(e){return e.split("\\\\").join(Wa).split("\\{").join(Ba).split("\\}").join(Ha).split("\\,").join(Ua).split("\\.").join(Va)}(e),!0).map(qa)},Wa="\0SLASH"+Math.random()+"\0",Ba="\0OPEN"+Math.random()+"\0",Ha="\0CLOSE"+Math.random()+"\0",Ua="\0COMMA"+Math.random()+"\0",Va="\0PERIOD"+Math.random()+"\0";function Ga(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function qa(e){return e.split(Wa).join("\\").split(Ba).join("{").split(Ha).join("}").split(Ua).join(",").split(Va).join(".")}function Ya(e){if(!e)return[""];var t=[],n=Da("{","}",e);if(!n)return e.split(",");var r=n.pre,a=n.body,i=n.post,o=r.split(",");o[o.length-1]+="{"+a+"}";var c=Ya(i);return i.length&&(o[o.length-1]+=c.shift(),o.push.apply(o,c)),t.push.apply(t,o),t}function Ka(e){return"{"+e+"}"}function Za(e){return/^-?0\d/.test(e)}function Ja(e,t){return e<=t}function Xa(e,t){return e>=t}function Qa(e,t){var n=[],r=Da("{","}",e);if(!r)return[e];var a=r.pre,i=r.post.length?Qa(r.post,!1):[""];if(/\$$/.test(r.pre))for(var o=0;o<i.length;o++){var c=a+"{"+r.body+"}"+i[o];n.push(c)}else{var s,l,u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(r.body),d=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(r.body),f=u||d,m=r.body.indexOf(",")>=0;if(!f&&!m)return r.post.match(/,(?!,).*\}/)?Qa(e=r.pre+"{"+r.body+Ha+r.post):[e];if(f)s=r.body.split(/\.\./);else if(1===(s=Ya(r.body)).length&&1===(s=Qa(s[0],!1).map(Ka)).length)return i.map(function(e){return r.pre+s[0]+e});if(f){var h=Ga(s[0]),p=Ga(s[1]),b=Math.max(s[0].length,s[1].length),g=3==s.length?Math.abs(Ga(s[2])):1,v=Ja;p<h&&(g*=-1,v=Xa);var y=s.some(Za);l=[];for(var _=h;v(_,p);_+=g){var w;if(d)"\\"===(w=String.fromCharCode(_))&&(w="");else if(w=String(_),y){var E=b-w.length;if(E>0){var k=new Array(E+1).join("0");w=_<0?"-"+k+w.slice(1):k+w}}l.push(w)}}else{l=[];for(var x=0;x<s.length;x++)l.push.apply(l,Qa(s[x],!1))}for(x=0;x<l.length;x++)for(o=0;o<i.length;o++){c=a+l[x]+i[o];(!t||f||c)&&n.push(c)}}return n}const ei=he(Fa),ti=e=>{if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")},ni={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},ri=e=>e.replace(/[[\]\\-]/g,"\\$&"),ai=e=>e.join(""),ii=(e,t)=>{const n=t;if("["!==e.charAt(n))throw new Error("not in a brace expression");const r=[],a=[];let i=n+1,o=!1,c=!1,s=!1,l=!1,u=n,d="";e:for(;i<e.length;){const t=e.charAt(i);if("!"!==t&&"^"!==t||i!==n+1){if("]"===t&&o&&!s){u=i+1;break}if(o=!0,"\\"!==t||s){if("["===t&&!s)for(const[t,[o,s,l]]of Object.entries(ni))if(e.startsWith(t,i)){if(d)return["$.",!1,e.length-n,!0];i+=t.length,l?a.push(o):r.push(o),c=c||s;continue e}s=!1,d?(t>d?r.push(ri(d)+"-"+ri(t)):t===d&&r.push(ri(t)),d="",i++):e.startsWith("-]",i+1)?(r.push(ri(t+"-")),i+=2):e.startsWith("-",i+1)?(d=t,i+=2):(r.push(ri(t)),i++)}else s=!0,i++}else l=!0,i++}if(u<i)return["",!1,0,!1];if(!r.length&&!a.length)return["$.",!1,e.length-n,!0];if(0===a.length&&1===r.length&&/^\\?.$/.test(r[0])&&!l){const e=2===r[0].length?r[0].slice(-1):r[0];return[(f=e,f.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")),!1,u-n,!1]}var f;const m="["+(l?"^":"")+ai(r)+"]",h="["+(l?"":"^")+ai(a)+"]";return[r.length&&a.length?"("+m+"|"+h+")":r.length?m:h,c,u-n,!0]},oi=(e,{windowsPathsNoEscape:t=!1}={})=>t?e.replace(/\[([^\/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),ci=new Set(["!","?","+","*","@"]),si=e=>ci.has(e),li="(?!\\.)",ui=new Set(["[","."]),di=new Set(["..","."]),fi=new Set("().*{}+?[]^$\\!"),mi=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),hi="[^/]",pi=hi+"*?",bi=hi+"+?",gi=class e{constructor(e,t,n={}){M(this,h),M(this,v),I(this,"type"),M(this,r,void 0),M(this,a,void 0),M(this,i,!1),M(this,o,[]),M(this,c,void 0),M(this,s,void 0),M(this,l,void 0),M(this,u,!1),M(this,d,void 0),M(this,f,void 0),M(this,m,!1),this.type=e,e&&T(this,a,!0),T(this,c,t),T(this,r,R(this,c)?R(R(this,c),r):this),T(this,d,R(this,r)===this?n:R(R(this,r),d)),T(this,l,R(this,r)===this?[]:R(R(this,r),l)),"!"!==e||R(R(this,r),u)||R(this,l).push(this),T(this,s,R(this,c)?R(R(this,c),o).length:0)}get hasMagic(){if(void 0!==R(this,a))return R(this,a);for(const e of R(this,o))if("string"!=typeof e&&(e.type||e.hasMagic))return T(this,a,!0);return R(this,a)}toString(){return void 0!==R(this,f)?R(this,f):this.type?T(this,f,this.type+"("+R(this,o).map(e=>String(e)).join("|")+")"):T(this,f,R(this,o).map(e=>String(e)).join(""))}push(...t){for(const n of t)if(""!==n){if("string"!=typeof n&&!(n instanceof e&&R(n,c)===this))throw new Error("invalid part: "+n);R(this,o).push(n)}}toJSON(){var e;const t=null===this.type?R(this,o).slice().map(e=>"string"==typeof e?e:e.toJSON()):[this.type,...R(this,o).map(e=>e.toJSON())];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===R(this,r)||R(R(this,r),u)&&"!"===(null==(e=R(this,c))?void 0:e.type))&&t.push({}),t}isStart(){var t;if(R(this,r)===this)return!0;if(!(null==(t=R(this,c))?void 0:t.isStart()))return!1;if(0===R(this,s))return!0;const n=R(this,c);for(let r=0;r<R(this,s);r++){const t=R(n,o)[r];if(!(t instanceof e&&"!"===t.type))return!1}return!0}isEnd(){var e,t,n;if(R(this,r)===this)return!0;if("!"===(null==(e=R(this,c))?void 0:e.type))return!0;if(!(null==(t=R(this,c))?void 0:t.isEnd()))return!1;if(!this.type)return null==(n=R(this,c))?void 0:n.isEnd();const a=R(this,c)?R(R(this,c),o).length:0;return R(this,s)===a-1}copyIn(e){"string"==typeof e?this.push(e):this.push(e.clone(this))}clone(t){const n=new e(this.type,t);for(const e of R(this,o))n.copyIn(e);return n}static fromGlob(t,n={}){var r;const a=new e(null,void 0,n);return j(r=e,b,g).call(r,t,a,0,n),a}toMMPattern(){if(this!==R(this,r))return R(this,r).toMMPattern();const e=this.toString(),[t,n,i,o]=this.toRegExpSource();if(!(i||R(this,a)||R(this,d).nocase&&!R(this,d).nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;const c=(R(this,d).nocase?"i":"")+(o?"u":"");return Object.assign(new RegExp(`^${t}$`,c),{_src:t,_glob:e})}toRegExpSource(t){var n;const s=null!=t?t:!!R(this,d).dot;if(R(this,r)===this&&j(this,h,p).call(this),!this.type){const l=this.isStart()&&this.isEnd(),d=R(this,o).map(n=>{var r;const[o,c,s,u]="string"==typeof n?j(r=e,_,w).call(r,n,R(this,a),l):n.toRegExpSource(t);return T(this,a,R(this,a)||s),T(this,i,R(this,i)||u),o}).join("");let f="";if(this.isStart()&&"string"==typeof R(this,o)[0]){if(!(1===R(this,o).length&&di.has(R(this,o)[0]))){const e=ui,n=s&&e.has(d.charAt(0))||d.startsWith("\\.")&&e.has(d.charAt(2))||d.startsWith("\\.\\.")&&e.has(d.charAt(4)),r=!s&&!t&&e.has(d.charAt(0));f=n?"(?!(?:^|/)\\.\\.?(?:$|/))":r?li:""}}let m="";this.isEnd()&&R(R(this,r),u)&&"!"===(null==(n=R(this,c))?void 0:n.type)&&(m="(?:$|\\/)");return[f+d+m,oi(d),T(this,a,!!R(this,a)),R(this,i)]}const l="*"===this.type||"+"===this.type,f="!"===this.type?"(?:(?!(?:":"(?:";let b=j(this,v,y).call(this,s);if(this.isStart()&&this.isEnd()&&!b&&"!"!==this.type){const e=this.toString();return T(this,o,[e]),this.type=null,T(this,a,void 0),[e,oi(this.toString()),!1,!1]}let g=!l||t||s?"":j(this,v,y).call(this,!0);g===b&&(g=""),g&&(b=`(?:${b})(?:${g})*?`);let E="";if("!"===this.type&&R(this,m))E=(this.isStart()&&!s?li:"")+bi;else{E=f+b+("!"===this.type?"))"+(!this.isStart()||s||t?"":li)+pi+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&g?")":"*"===this.type&&g?")?":`)${this.type}`)}return[E,oi(b),T(this,a,!!R(this,a)),R(this,i)]}};r=new WeakMap,a=new WeakMap,i=new WeakMap,o=new WeakMap,c=new WeakMap,s=new WeakMap,l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap,m=new WeakMap,h=new WeakSet,p=function(){if(this!==R(this,r))throw new Error("should only call on root");if(R(this,u))return this;let e;for(this.toString(),T(this,u,!0);e=R(this,l).pop();){if("!"!==e.type)continue;let t=e,n=R(t,c);for(;n;){for(let r=R(t,s)+1;!n.type&&r<R(n,o).length;r++)for(const t of R(e,o)){if("string"==typeof t)throw new Error("string part in extglob AST??");t.copyIn(R(n,o)[r])}t=n,n=R(t,c)}}return this},b=new WeakSet,g=function(e,t,n,r){var i,c;let s=!1,l=!1,u=-1,d=!1;if(null===t.type){let a=n,o="";for(;a<e.length;){const n=e.charAt(a++);if(s||"\\"===n)s=!s,o+=n;else if(l)a===u+1?"^"!==n&&"!"!==n||(d=!0):"]"!==n||a===u+2&&d||(l=!1),o+=n;else if("["!==n){if(!r.noext&&si(n)&&"("===e.charAt(a)){t.push(o),o="";const c=new gi(n,t);a=j(i=gi,b,g).call(i,e,c,a,r),t.push(c);continue}o+=n}else l=!0,u=a,d=!1,o+=n}return t.push(o),a}let f=n+1,h=new gi(null,t);const p=[];let v="";for(;f<e.length;){const n=e.charAt(f++);if(s||"\\"===n)s=!s,v+=n;else if(l)f===u+1?"^"!==n&&"!"!==n||(d=!0):"]"!==n||f===u+2&&d||(l=!1),v+=n;else if("["!==n){if(si(n)&&"("===e.charAt(f)){h.push(v),v="";const t=new gi(n,h);h.push(t),f=j(c=gi,b,g).call(c,e,t,f,r);continue}if("|"!==n){if(")"===n)return""===v&&0===R(t,o).length&&T(t,m,!0),h.push(v),v="",t.push(...p,h),f;v+=n}else h.push(v),v="",p.push(h),h=new gi(null,t)}else l=!0,u=f,d=!1,v+=n}return t.type=null,T(t,a,void 0),T(t,o,[e.substring(n-1)]),f},v=new WeakSet,y=function(e){return R(this,o).map(t=>{if("string"==typeof t)throw new Error("string type in extglob ast??");const[n,r,a,o]=t.toRegExpSource(e);return T(this,i,R(this,i)||o),n}).filter(e=>!(this.isStart()&&this.isEnd()&&!e)).join("|")},_=new WeakSet,w=function(e,t,n=!1){let r=!1,a="",i=!1;for(let o=0;o<e.length;o++){const c=e.charAt(o);if(r)r=!1,a+=(fi.has(c)?"\\":"")+c;else if("\\"!==c){if("["===c){const[n,r,c,s]=ii(e,o);if(c){a+=n,i=i||r,o+=c-1,t=t||s;continue}}"*"!==c?"?"!==c?a+=mi(c):(a+=hi,t=!0):(a+=n&&"*"===e?bi:pi,t=!0)}else o===e.length-1?a+="\\\\":r=!0}return[a,oi(e),!!t,i]},M(gi,b),M(gi,_);let vi=gi;const yi=(e,t,n={})=>(ti(t),!(!n.nocomment&&"#"===t.charAt(0))&&new Vi(t,n).match(e)),_i=/^\*+([^+@!?\*\[\(]*)$/,wi=e=>t=>!t.startsWith(".")&&t.endsWith(e),Ei=e=>t=>t.endsWith(e),ki=e=>(e=e.toLowerCase(),t=>!t.startsWith(".")&&t.toLowerCase().endsWith(e)),xi=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),Ci=/^\*+\.\*+$/,Si=e=>!e.startsWith(".")&&e.includes("."),Ni=e=>"."!==e&&".."!==e&&e.includes("."),$i=/^\.\*+$/,Ai=e=>"."!==e&&".."!==e&&e.startsWith("."),Pi=/^\*+$/,Oi=e=>0!==e.length&&!e.startsWith("."),Ii=e=>0!==e.length&&"."!==e&&".."!==e,Li=/^\?+([^+@!?\*\[\(]*)?$/,Ri=([e,t=""])=>{const n=zi([e]);return t?(t=t.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(t)):n},Mi=([e,t=""])=>{const n=Di([e]);return t?(t=t.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(t)):n},Ti=([e,t=""])=>{const n=Di([e]);return t?e=>n(e)&&e.endsWith(t):n},ji=([e,t=""])=>{const n=zi([e]);return t?e=>n(e)&&e.endsWith(t):n},zi=([e])=>{const t=e.length;return e=>e.length===t&&!e.startsWith(".")},Di=([e])=>{const t=e.length;return e=>e.length===t&&"."!==e&&".."!==e},Fi="object"==typeof process&&process?"object"==typeof process.env&&process.env&&{}.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";yi.sep="win32"===Fi?{sep:"\\"}.sep:{sep:"/"}.sep;const Wi=Symbol("globstar **");yi.GLOBSTAR=Wi;yi.filter=(e,t={})=>n=>yi(n,e,t);const Bi=(e,t={})=>Object.assign({},e,t);yi.defaults=e=>{if(!e||"object"!=typeof e||!Object.keys(e).length)return yi;const t=yi;return Object.assign((n,r,a={})=>t(n,r,Bi(e,a)),{Minimatch:class extends t.Minimatch{constructor(t,n={}){super(t,Bi(e,n))}static defaults(n){return t.defaults(Bi(e,n)).Minimatch}},AST:class extends t.AST{constructor(t,n,r={}){super(t,n,Bi(e,r))}static fromGlob(n,r={}){return t.AST.fromGlob(n,Bi(e,r))}},unescape:(n,r={})=>t.unescape(n,Bi(e,r)),escape:(n,r={})=>t.escape(n,Bi(e,r)),filter:(n,r={})=>t.filter(n,Bi(e,r)),defaults:n=>t.defaults(Bi(e,n)),makeRe:(n,r={})=>t.makeRe(n,Bi(e,r)),braceExpand:(n,r={})=>t.braceExpand(n,Bi(e,r)),match:(n,r,a={})=>t.match(n,r,Bi(e,a)),sep:t.sep,GLOBSTAR:Wi})};const Hi=(e,t={})=>(ti(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:ei(e));yi.braceExpand=Hi;yi.makeRe=(e,t={})=>new Vi(e,t).makeRe();yi.match=(e,t,n={})=>{const r=new Vi(t,n);return e=e.filter(e=>r.match(e)),r.options.nonull&&!e.length&&e.push(t),e};const Ui=/[?*]|[+@!]\(.*?\)|\[|\]/;class Vi{constructor(e,t={}){I(this,"options"),I(this,"set"),I(this,"pattern"),I(this,"windowsPathsNoEscape"),I(this,"nonegate"),I(this,"negate"),I(this,"comment"),I(this,"empty"),I(this,"preserveMultipleSlashes"),I(this,"partial"),I(this,"globSet"),I(this,"globParts"),I(this,"nocase"),I(this,"isWindows"),I(this,"platform"),I(this,"windowsNoMagicRoot"),I(this,"regexp"),ti(e),t=t||{},this.options=t,this.pattern=e,this.platform=t.platform||Fi,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||!1===t.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==t.windowsNoMagicRoot?t.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const e of this.set)for(const t of e)if("string"!=typeof t)return!0;return!1}debug(...e){}make(){const 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(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...e)=>{}),this.debug(this.pattern,this.globSet);const n=this.globSet.map(e=>this.slashSplit(e));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let r=this.globParts.map((e,t,n)=>{if(this.isWindows&&this.windowsNoMagicRoot){const t=!(""!==e[0]||""!==e[1]||"?"!==e[2]&&Ui.test(e[2])||Ui.test(e[3])),n=/^[a-z]:/i.test(e[0]);if(t)return[...e.slice(0,4),...e.slice(4).map(e=>this.parse(e))];if(n)return[e[0],...e.slice(1).map(e=>this.parse(e))]}return e.map(e=>this.parse(e))});if(this.debug(this.pattern,r),this.set=r.filter(e=>-1===e.indexOf(!1)),this.isWindows)for(let a=0;a<this.set.length;a++){const e=this.set[a];""===e[0]&&""===e[1]&&"?"===this.globParts[a][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let n=0;n<e.length;n++)for(let t=0;t<e[n].length;t++)"**"===e[n][t]&&(e[n][t]="*");const{optimizationLevel:t=1}=this.options;return t>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):e=t>=1?this.levelOneOptimize(e):this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(e=>{let t=-1;for(;-1!==(t=e.indexOf("**",t+1));){let n=t;for(;"**"===e[n+1];)n++;n!==t&&e.splice(t,n-t)}return e})}levelOneOptimize(e){return e.map(e=>0===(e=e.reduce((e,t)=>{const n=e[e.length-1];return"**"===t&&"**"===n?e:".."===t&&n&&".."!==n&&"."!==n&&"**"!==n?(e.pop(),e):(e.push(t),e)},[])).length?[""]:e)}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let n=1;n<e.length-1;n++){const r=e[n];1===n&&""===r&&""===e[0]||("."!==r&&""!==r||(t=!0,e.splice(n,1),n--))}"."!==e[0]||2!==e.length||"."!==e[1]&&""!==e[1]||(t=!0,e.pop())}let n=0;for(;-1!==(n=e.indexOf("..",n+1));){const r=e[n-1];r&&"."!==r&&".."!==r&&"**"!==r&&(t=!0,e.splice(n-1,2),n-=2)}}while(t);return 0===e.length?[""]:e}firstPhasePreProcess(e){let t=!1;do{t=!1;for(let n of e){let r=-1;for(;-1!==(r=n.indexOf("**",r+1));){let a=r;for(;"**"===n[a+1];)a++;a>r&&n.splice(r+1,a-r);let i=n[r+1];const o=n[r+2],c=n[r+3];if(".."!==i)continue;if(!o||"."===o||".."===o||!c||"."===c||".."===c)continue;t=!0,n.splice(r,1);const s=n.slice(0);s[r]="**",e.push(s),r--}if(!this.preserveMultipleSlashes){for(let e=1;e<n.length-1;e++){const r=n[e];1===e&&""===r&&""===n[0]||("."!==r&&""!==r||(t=!0,n.splice(e,1),e--))}"."!==n[0]||2!==n.length||"."!==n[1]&&""!==n[1]||(t=!0,n.pop())}let a=0;for(;-1!==(a=n.indexOf("..",a+1));){const e=n[a-1];if(e&&"."!==e&&".."!==e&&"**"!==e){t=!0;const e=1===a&&"**"===n[a+1]?["."]:[];n.splice(a-1,2,...e),0===n.length&&n.push(""),a-=2}}}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let n=t+1;n<e.length;n++){const r=this.partsMatch(e[t],e[n],!this.preserveMultipleSlashes);r&&(e[t]=r,e[n]=[])}return e.filter(e=>e.length)}partsMatch(e,t,n=!1){let r=0,a=0,i=[],o="";for(;r<e.length&&a<t.length;)if(e[r]===t[a])i.push("b"===o?t[a]:e[r]),r++,a++;else if(n&&"**"===e[r]&&t[a]===e[r+1])i.push(e[r]),r++;else if(n&&"**"===t[a]&&e[r]===t[a+1])i.push(t[a]),a++;else if("*"!==e[r]||!t[a]||!this.options.dot&&t[a].startsWith(".")||"**"===t[a]){if("*"!==t[a]||!e[r]||!this.options.dot&&e[r].startsWith(".")||"**"===e[r])return!1;if("a"===o)return!1;o="b",i.push(t[a]),r++,a++}else{if("b"===o)return!1;o="a",i.push(e[r]),r++,a++}return e.length===t.length&&i}parseNegate(){if(this.nonegate)return;const e=this.pattern;let t=!1,n=0;for(let r=0;r<e.length&&"!"===e.charAt(r);r++)t=!t,n++;n&&(this.pattern=e.slice(n)),this.negate=t}matchOne(e,t,n=!1){const r=this.options;if(this.isWindows){const n="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),r=!n&&""===e[0]&&""===e[1]&&"?"===e[2]&&/^[a-z]:$/i.test(e[3]),a="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),i=r?3:n?0:void 0,o=!a&&""===t[0]&&""===t[1]&&"?"===t[2]&&"string"==typeof t[3]&&/^[a-z]:$/i.test(t[3])?3:a?0:void 0;if("number"==typeof i&&"number"==typeof o){const[n,r]=[e[i],t[o]];n.toLowerCase()===r.toLowerCase()&&(t[o]=n,o>i?t=t.slice(o):i>o&&(e=e.slice(i)))}}const{optimizationLevel:a=1}=this.options;a>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var i=0,o=0,c=e.length,s=t.length;i<c&&o<s;i++,o++){this.debug("matchOne loop");var l=t[o],u=e[i];if(this.debug(t,l,u),!1===l)return!1;if(l===Wi){this.debug("GLOBSTAR",[t,l,u]);var d=i,f=o+1;if(f===s){for(this.debug("** at the end");i<c;i++)if("."===e[i]||".."===e[i]||!r.dot&&"."===e[i].charAt(0))return!1;return!0}for(;d<c;){var m=e[d];if(this.debug("\nglobstar while",e,d,t,f,m),this.matchOne(e.slice(d),t.slice(f),n))return this.debug("globstar found match!",d,c,m),!0;if("."===m||".."===m||!r.dot&&"."===m.charAt(0)){this.debug("dot detected!",e,d,t,f);break}this.debug("globstar swallow a segment, and continue"),d++}return!(!n||(this.debug("\n>>> no match, partial?",e,d,t,f),d!==c))}let a;if("string"==typeof l?(a=u===l,this.debug("string match",l,u,a)):(a=l.test(u),this.debug("pattern match",l,u,a)),!a)return!1}if(i===c&&o===s)return!0;if(i===c)return n;if(o===s)return i===c-1&&""===e[i];throw new Error("wtf?")}braceExpand(){return Hi(this.pattern,this.options)}parse(e){ti(e);const t=this.options;if("**"===e)return Wi;if(""===e)return"";let n,r=null;(n=e.match(Pi))?r=t.dot?Ii:Oi:(n=e.match(_i))?r=(t.nocase?t.dot?xi:ki:t.dot?Ei:wi)(n[1]):(n=e.match(Li))?r=(t.nocase?t.dot?Mi:Ri:t.dot?Ti:ji)(n):(n=e.match(Ci))?r=t.dot?Ni:Si:(n=e.match($i))&&(r=Ai);const a=vi.fromGlob(e,this.options).toMMPattern();return r?Object.assign(a,{test:r}):a}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const e=this.set;if(!e.length)return this.regexp=!1,this.regexp;const t=this.options,n=t.noglobstar?"[^/]*?":t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",r=new Set(t.nocase?["i"]:[]);let a=e.map(e=>{const t=e.map(e=>{if(e instanceof RegExp)for(const t of e.flags.split(""))r.add(t);return"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e===Wi?Wi:e._src});return t.forEach((e,r)=>{const a=t[r+1],i=t[r-1];e===Wi&&i!==Wi&&(void 0===i?void 0!==a&&a!==Wi?t[r+1]="(?:\\/|"+n+"\\/)?"+a:t[r]=n:void 0===a?t[r-1]=i+"(?:\\/|"+n+")?":a!==Wi&&(t[r-1]=i+"(?:\\/|\\/"+n+"\\/)"+a,t[r+1]=Wi))}),t.filter(e=>e!==Wi).join("/")}).join("|");const[i,o]=e.length>1?["(?:",")"]:["",""];a="^"+i+a+o+"$",this.negate&&(a="^(?!"+a+").+$");try{this.regexp=new RegExp(a,[...r].join(""))}catch(c){this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;const n=this.options;this.isWindows&&(e=e.split("\\").join("/"));const r=this.slashSplit(e);this.debug(this.pattern,"split",r);const a=this.set;this.debug(this.pattern,"set",a);let i=r[r.length-1];if(!i)for(let o=r.length-2;!i&&o>=0;o--)i=r[o];for(let o=0;o<a.length;o++){const e=a[o];let c=r;n.matchBase&&1===e.length&&(c=[i]);if(this.matchOne(c,e,t))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate}static defaults(e){return yi.defaults(e).Minimatch}}yi.AST=vi,yi.Minimatch=Vi,yi.escape=(e,{windowsPathsNoEscape:t=!1}={})=>t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&"),yi.unescape=oi;const Gi=new Map;function qi(e){if(!e)return!0;if(Gi.has(e))return Gi.get(e);const t=function(e){const t=location.href.replace(/^https?:\/\/(pre\-)?/,"").split("?")[0];return!(e.whitelist&&!e.whitelist.filter(e=>!!e).some(e=>yi(t,e))||e.blacklist&&e.blacklist.filter(e=>!!e).some(e=>yi(t,e)))}(e);return Gi.set(e,t),t}const Yi=Qe===U.alibabacloud?new Promise(function(e){e({get:e=>Promise.resolve(localStorage.getItem(e)),set:(e,t)=>Promise.resolve(localStorage.setItem(e,t))})}):new Promise(function(e,t){return z(this,null,function*(){if(!window.$ACE_SMARTER_ENGINE)try{yield pn("https://cloud-assets.alicdn.com/alicdn/dawn/smarter-engine/latest/js/index.js")}catch(n){t(n)}window.$ACE_SMARTER_ENGINE?e(window.$ACE_SMARTER_ENGINE.Storage):t(new Error("\u52a0\u8f7d smarter engine \u5931\u8d25"))})});function Ki(e,t){return z(this,null,function*(){const n=yield Yi;n&&(yield n.set(e,t))})}const Zi="_9a849e1e2be3a35e39ebe9e75b40ea9e_banner",Ji="_9a849e1e2be3a35e39ebe9e75b40ea9e_link",Xi="_9a849e1e2be3a35e39ebe9e75b40ea9e_close",Qi="_9a849e1e2be3a35e39ebe9e75b40ea9e_content",eo="_9a849e1e2be3a35e39ebe9e75b40ea9e_tag",to="_9a849e1e2be3a35e39ebe9e75b40ea9e_title",no="_9a849e1e2be3a35e39ebe9e75b40ea9e_button",ro=D.memo(function({canClose:e,staticConfig:t,dynamicConfig:n,effectiveScope:r={},onVisibleChange:a}){const[i,o]=D.useState(!!(null==t?void 0:t.image)),c=(null==t?void 0:t.image)?A({id:t.image},t):(null==n?void 0:n.image)?n:null;return D.useEffect(function(){(null==c?void 0:c.id)&&function(e){return z(this,null,function*(){const t=yield oo();return!t||!!t[e]&&(t[e].count>1||Date.now()-t[e].time<864e5)})}(null==c?void 0:c.id).then(function(e){e||o(!0)})},[null==c?void 0:c.id]),i&&qi(r)&&c?(a&&a(!0),D.createElement(ao,P(A({},c),{canClose:!1!==e,onClose:()=>{o(!1),a&&a(!1);try{!function(e){z(this,null,function*(){const t=(yield oo())||{};t[e]?(t[e].count++,t[e].time=Date.now()):t[e]={count:1,time:Date.now()};try{yield Ki(io,JSON.stringify(t)),Ze({type:"nav-banner",name:`close-${t[e].count}`})}catch(n){window.console.log(n),Ze({type:"nav-banner",name:"set-storage-error",error:Je(n)})}})}(c.id)}catch(e){}}}))):null}),ao=function({title:e,image:t,backgroundColor:n,link:r,tag:a,button:i,titleColor:o,titleStrongColor:c,__scm:s,canClose:l,onClose:u}){const[d,f]=D.useState(!1);if(D.useEffect(function(){f(!0)},[]),!d)return null;let m;if(n&&/^#[0-9a-f]{6}$/.test(n)){let[e,t,r,a]=n.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/);m=(parseInt(t,16)+parseInt(r,16)+parseInt(a,16))/3/255>.5?"#666":"#fff"}return D.createElement("div",{className:Zi,style:{"--image":`url(${t})`,"--bg-color":n,"--close-color":m}},r?D.createElement("a",{className:Ji,href:r,target:"_blank","data-tracker-scm":s},D.createElement("p",{className:Qi},a&&a.text?D.createElement("em",{className:eo,style:{"--color":a.color,"--bg":a.bg}},a.text):null,e?D.createElement("span",{className:to,style:{"--color":o,"--strong-color":c}},e.split("**").map(function(e,t){return t%2==1?D.createElement("strong",null,e):e})):null,i&&i.text?D.createElement("span",{className:no,style:{"--color":i.color,"--bg":i.bg}},i.text):null)):null,l?D.createElement("a",{className:Xi,onClick:u,"data-tracker-content":"\u5173\u95ed\u9876\u901aBanner"}):null)},io="topbar-banner";function oo(){return z(this,null,function*(){let e={};try{const t=yield function(e){return z(this,null,function*(){const t=yield Yi;return t?yield t.get(e):null})}(io);t&&(e=JSON.parse(t))}catch(t){return window.console.log(t),Ze({type:"nav-banner",name:"get-storage-error",error:Je(t)}),null}if(function(e){let t=!1;const n=Date.now()-2592e6;return Object.keys(e).forEach(function(r){e[r].time<n&&(delete e[r],t=!0)}),t}(e))try{yield Ki(io,JSON.stringify(e))}catch(t){Ze({type:"nav-banner",name:"set-storage-error",error:Je(t)})}return e})}var co=null;function so(){return lo.apply(this,arguments)}function lo(){return(lo=me(je.mark(function e(){return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!co){e.next=2;break}return e.abrupt("return",co);case 2:if(!window.__MONITOR__){e.next=5;break}return co=new window.__MONITOR__({biz:"adc-core"}),e.abrupt("return",co);case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}function uo(e){return fo.apply(this,arguments)}function fo(){return(fo=me(je.mark(function e(t){var n;return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,so();case 3:(n=e.sent)&&n.report({level:"warn",message:t});case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}function mo(){return(mo=me(je.mark(function e(t){var n;return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,so();case 3:(n=e.sent)&&n.report({level:"error",message:t});case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ho(e){return po.apply(this,arguments)}function po(){return(po=me(je.mark(function e(t){var n;return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,so();case 2:(n=e.sent)&&n.report(t);case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}var bo=Symbol("flag"),go=new Map;function vo(e,t){var n;go.has(e)||go.set(e,[]),null===(n=go.get(e))||void 0===n||n.push(t)}function yo(e,t){return t[bo]={once:!0},vo(e,t)}function _o(e,t){if(go.has(e))if(t){var n,r=go.get(e).indexOf(t);if(-1!==r)null===(n=go.get(e))||void 0===n||n.splice(r,1)}else go.delete(e)}function wo(e,t,n){if(t=[e.name,t].join(":"),go.has(t)){var r=go.get(t);r.forEach(function(r){try{r({data:n})}catch(a){ho({type:"event-emit-error",app:e.name,event:t,error:a.message})}}),go.set(t,r.filter(function(e){var t=e[bo];return!t||!t.once}))}}var Eo=/\.aliyun\.com$/.test(location.hostname);function ko(e){return new Promise(function(t,n){var r=document.createElement("script");r.src=e,Eo&&(r.crossOrigin=""),r.onload=t,r.onerror=function(t){ho({type:"script-load-error",url:e}),n(t)},document.body.appendChild(r)})}var xo=null;function Co(){return So.apply(this,arguments)}function So(){return(So=me(je.mark(function e(){return je.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 xo||(xo=ko("https://cloud-assets.alicdn.com/alicdn/code/npm/@ali/biu-loader/latest/index.js")),e.next=5,xo;case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}var No=function(e){if(!window.biu){var t="\u9875\u9762\u4e2d\u672a\u5f15\u5165 biu-loader";throw function(e){mo.apply(this,arguments)}(t),new Error(t)}return window.biu.require(e)},$o=function(){try{return"pre"===new URL(location.href).searchParams.get("adc-app-env")}catch(e){return!1}}(),Ao=[],Po=null,Oo=new Map;function Io(e){return Lo.apply(this,arguments)}function Lo(){return Lo=me(je.mark(function e(t){var n,r;return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="@ali/aliyun-com-adc-app-".concat(t),e.next=3,Co();case 3:if(!(r=No(n))){e.next=6;break}return e.abrupt("return",r);case 6:if(!Oo.has(t)){e.next=11;break}return e.next=9,Oo.get(t);case 9:e.next=14;break;case 11:return Po?-1===Ao.indexOf(t)&&Ao.push(t):(Ao=[t],Po=Promise.resolve().then(function(){var e;e=$o?Promise.all(Ao.map(function(){var e=me(je.mark(function e(t){var n;return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="https://aliyun-com-air-cloud-assets-er.pre-air-er.taobao.com/adc/app/v2/".concat(t,".js"),e.next=3,ko(n);case 3:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}())):Promise.all(Ao.map(function(){var e=me(je.mark(function e(t){var n;return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n="https://cloud-assets.alicdn.com/adc/app/v2/".concat(t,".js"),e.next=3,ko(n);case 3:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()));var t=ie(Ao);return t.forEach(function(e){Oo.set(e,Po)}),Po=null,e.then(function(){t.forEach(function(e){Oo.delete(e)})}).catch(function(){t.forEach(function(e){Oo.delete(e)})})})),e.next=14,Po;case 14:return e.abrupt("return",No(n));case 15:case"end":return e.stop()}},e)})),Lo.apply(this,arguments)}var Ro=function(){return ue(function e(t){oe(this,e),de(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()}}}}])}(),Mo="__property_change__",To="__app_register__",jo="__app_unregister__",zo=function(){return ue(function e(t){oe(this,e),de(this,"$options",void 0),de(this,"$listeners",void 0),de(this,"$subscriptions",void 0),de(this,"$isDestructed",!1),this.$options=t,this.$listeners=new Map,this.$subscriptions=[],Fo(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=me(je.mark(function e(){return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.$isDestructed=!0,this.$listeners.forEach(function(e,t){e.forEach(function(e){_o(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||wo(this,e,t)}},{key:"$on",value:function(e,t){var n;if(!this.$isDestructed)return this.$listeners.has(e)||this.$listeners.set(e,[]),null===(n=this.$listeners.get(e))||void 0===n||n.push(t),vo(e,t)}},{key:"$once",value:function(e,t){var n;if(!this.$isDestructed)return this.$listeners.has(e)||this.$listeners.set(e,[]),null===(n=this.$listeners.get(e))||void 0===n||n.push(t),yo(e,t)}},{key:"$off",value:function(e,t){if(!this.$isDestructed){var n=this.$listeners.get(e);if(n){var r=n.indexOf(t);-1!==r&&n.splice(r,1)}return _o(e,t)}}},{key:"$watch",value:function(e,t){var n=this;if(!this.$isDestructed){var r=Zo(e,t);return new Ro(function(e){var t=r.subscribe(function(t){e.next(t)});return n.$subscriptions.push(t),function(){t.unsubscribe();var e=n.$subscriptions.indexOf(t);-1!==e&&n.$subscriptions.splice(e,1)}})}}},{key:"$nextProperty",value:function(e,t){this.$isDestructed||wo(this,Mo+e,t)}}]);var e}(),Do=new Map;function Fo(e){return Wo.apply(this,arguments)}function Wo(){return(Wo=me(je.mark(function e(t){var n;return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!Do.has(t.name)){e.next=17;break}if(n=Do.get(t.name),!(t.priority<n.priority)){e.next=11;break}return e.next=8,n.destructor();case 8:wo(n,jo),e.next=17;break;case 11:return uo("\u5e94\u7528 ".concat(t.name," \u91cd\u590d\u6ce8\u518c\uff1a")),e.next=16,t.destructor();case 16:return e.abrupt("return");case 17:Do.set(t.name,t),wo(t,To);case 19:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Bo(e){return Do.has(e)}function Ho(e){return Uo.apply(this,arguments)}function Uo(){return Uo=me(je.mark(function e(t){var n,r,a,i=arguments;return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=i.length>1&&void 0!==i[1]?i[1]:{},Do.has(t)){e.next=17;break}if(!1!==n.loadIfNotExists){e.next=6;break}return e.abrupt("return",new Promise(function(e){yo([t,To].join(":"),function(){var n=Do.get(t);e(n)})}));case 6:return e.next=8,Io(t);case 8:if(r=e.sent){e.next=12;break}throw ho({type:"app-load-fail",app:t}),new Error("\u5e94\u7528 ".concat(t," \u52a0\u8f7d\u5931\u8d25"));case 12:if(Do.has(t)){e.next=17;break}if(new r({name:t}),Do.has(t)){e.next=17;break}throw ho({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 a=Do.get(t),e.abrupt("return",a);case 19:case"end":return e.stop()}},e)})),Uo.apply(this,arguments)}function Vo(){return Vo=me(je.mark(function e(t){var n=arguments;return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("string"==typeof t&&(t=[t]),!1!==(n.length>1&&void 0!==n[1]?n[1]:{}).register){e.next=7;break}return e.next=5,t.map(function(e){return Io(e)});case 5:e.next=9;break;case 7:return e.next=9,t.map(function(e){return Ho(e)});case 9:case"end":return e.stop()}},e)})),Vo.apply(this,arguments)}function Go(e,t){return qo.apply(this,arguments)}function qo(){return(qo=me(je.mark(function e(t,n){var r;return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ho(t);case 2:return r=e.sent,e.abrupt("return",r[n]);case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Yo(e,t){return Ko.apply(this,arguments)}function Ko(){return Ko=me(je.mark(function e(t,n){var r,a,i,o=arguments;return je.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>2&&void 0!==o[2]?o[2]:[],e.next=3,Ho(t);case 3:if((a=e.sent)[n]){e.next=7;break}throw ho({type:"method-nofound",app:t,method:n}),new Error("\u5e94\u7528 ".concat(t," \u4e0a\u4e0d\u5b58\u5728\u65b9\u6cd5 ").concat(n));case 7:return e.prev=7,i=a[n].apply(a,ie(r)),e.abrupt("return",i);case 12:e.prev=12,e.t0=e.catch(7),ho({type:"bridge-call-error",app:t,method:n,params:r,error:e.t0.message});case 15:case"end":return e.stop()}},e,null,[[7,12]])})),Ko.apply(this,arguments)}function Zo(e,t){return new Ro(function(n){Bo(e)?Go(e,t).then(function(e){n.next(e)}):Ho(e);var r="".concat(e,":").concat(Mo).concat(t),a=function(e){n.next(e.data)};vo(r,a);var i="".concat(e,":").concat(To),o=function(){Go(e,t).then(function(e){n.next(e)})};return vo(i,o),function(){_o(r,a),_o(i,o)}})}var Jo=[],Xo=document.body;function Qo(e,t){if("string"==typeof e){var n=new URL(e);e={protocol:n.protocol,hostname:n.hostname,pathname:n.pathname}}e.protocol&&!/:$/.test(e.protocol)&&(e.protocol+=":"),e.pathname&&(e.pathname=e.pathname.replace(/\/$/g,""));var r=function(n){var r=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 n=e.target;n&&-1===t.indexOf(n.tagName)&&n!==Xo;)n=n.parentElement;return n?n===Xo?null:n:null}(n,["A"]);if(r&&"A"===r.tagName){var a=r.href;if(!a)return;var i=new URL(a);if(Object.keys(e).some(function(t){var n=i[t];return"pathname"===t&&(n=n.replace(/\/$/g,"")),n!==e[t]}))return;return t(r,i)}};return Jo.push(r),function(){var e=Jo.indexOf(r);-1!==e&&Jo.splice(e,1)}}function ec(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(u){l=!0,a=u}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return c}}(e,t)||ae(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 tc="__ADC_CORE__",nc=Symbol("__ADC_CORE_DEBUG__");window[tc]||(!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"click",n=function(e){var t=e.target;if(t){var n=t.tagName;if(n){var r=window.$$customElementInfos;r&&r[n.toLowerCase()]&&e.originalEvent&&(e=e.originalEvent),Jo.some(function(t){return t(e)})&&e.preventDefault()}}};e.addEventListener(t,n)}(window),Qo({protocol:"adc"},function(e,t){var n=ec(t.pathname.replace(/^\/\//,"").split("/"),2),r=n[0],a=n[1],i={};return t.searchParams.forEach(function(e,t){i[t]=e}),Yo(r,a,[i]),!0}),window[tc]={event:{on:vo,once:yo,off:_o},bridge:{get:Go,call:Yo,watch:Zo},uriScheme:{register:Qo},App:zo,getApp:function(e,t){return Ho(e,t).then(function(e){return function(e){return new Proxy({},{get:function(t,n){if("on"===n)return function(t,n){return vo(t=[e.name,t].join(":"),n)};if("off"===n)return function(t,n){return _o(t=[e.name,t].join(":"),n)};if(/\$$/.test(n))return n=n.replace(/\$$/,""),Zo(e.name,n);var r=e[n];return"function"==typeof r?function(){return r.apply(void 0,arguments)}:r}})}(e)})},hasApp:Bo,preloadApp:function(e){return Vo.apply(this,arguments)}},window[nc]={apps:Do,registerApp:Fo,loadApp:Io,PROPERTY_CHANGE_EVENT_PREFIX:Mo,APP_REGISTER_EVENT:To,APP_UNREGISTER_EVENT:jo,listeners:go,listenFlag:bo,emit:wo});const rc=window[tc];rc.event;var ac=rc.bridge;rc.uriScheme;var ic=rc.App;rc.getApp,rc.hasApp,rc.preloadApp;const oc=D.createContext({isLogin:void 0,userInfo:null,loginUrl:null,mobileLoginUrl:null,registerUrl:null}),cc={[U.aliyun]:"OFFICIAL",[U.alibabacloud]:"SIN"},sc=function({site:e,children:t}){const[n,r]=D.useState(null),[a,i]=D.useState(),[o,c]=D.useState(null),[s,l]=D.useState(null),[u,d]=D.useState(null);return D.useEffect(function(){const{unsubscribe:t}=ac.watch("account","isLogin").subscribe(i),{unsubscribe:n}=ac.watch("account","userInfo").subscribe(t=>{!t||t.channelId&&t.channelId!==cc[e]?r(null):r(t)});return ac.call("account","getLoginUrl").then(c),ac.call("account","getLoginUrl",[{terminal:"mobile"}]).then(l),ac.call("account","getRegisterUrl").then(d),function(){t(),n()}},[]),D.useEffect(function(){"boolean"==typeof a&&pn("https://cloud-assets.alicdn.com/alicdn/code/npm/@ali/aliyun-com-adc-scheme-registers/latest/index.js")},[a]),D.createElement(oc.Provider,{value:{isLogin:"boolean"==typeof a?a&&!!n:a,userInfo:n,loginUrl:o,mobileLoginUrl:s,registerUrl:u}},t)},lc="_17fcaf1a4ee37405e5ad5fbad24204b4_container",uc="_17fcaf1a4ee37405e5ad5fbad24204b4_burger",dc="_17fcaf1a4ee37405e5ad5fbad24204b4_middle",fc="_17fcaf1a4ee37405e5ad5fbad24204b4_open",mc="_17fcaf1a4ee37405e5ad5fbad24204b4_loading";function hc({packageName:e,version:t="latest",bindRoot:n=!0}){const{root:r}=D.useContext(bt),[a,i]=D.useState(null);return D.useEffect(()=>{if(!r||a)return;const o=mn()?"aliyun-com-air-cloud-assets-er.pre-air-er.taobao.com":"cloud-assets.alicdn.com";Promise.all([`https://${o}/alicdn/code/npm/${e}/${t}/index.js`,`https://${o}/alicdn/code/npm/${e}/${t}/index.css`].map(e=>e.endsWith(".js")?pn(e):e.endsWith(".css")?function(e,t=document.head){if(hn.has(e))return hn.get(e);const n=Date.now(),r=new Promise(function(r,a){const i=document.createElement("link");i.href=e,i.rel="stylesheet",i.onload=function(){r(),Ze({type:"load-style",url:e,success:!0,time:Date.now()-n})},i.onerror=function(){a(),Ze({type:"load-style",url:e,success:!1,time:Date.now()-n})},t.appendChild(i)});return hn.set(e,r),r}(e,n?r:void 0):void 0)).then(()=>{window.biu&&i(()=>window.biu.require(e))})},[r,n,a]),a}const pc="b39cef73dc75f6428632b4e919838f88_login",bc="b39cef73dc75f6428632b4e919838f88_fixed",gc="b39cef73dc75f6428632b4e919838f88_visible",vc="b39cef73dc75f6428632b4e919838f88_border",yc="b39cef73dc75f6428632b4e919838f88_close",_c="b39cef73dc75f6428632b4e919838f88_illustration",wc="b39cef73dc75f6428632b4e919838f88_title",Ec="b39cef73dc75f6428632b4e919838f88_features",kc="b39cef73dc75f6428632b4e919838f88_feature",xc="b39cef73dc75f6428632b4e919838f88_actions",Cc="b39cef73dc75f6428632b4e919838f88_registerBtn",Sc="b39cef73dc75f6428632b4e919838f88_loginBtn",Nc=D.forwardRef(({visible:e,isFixed:t,hasBorder:n,onClose:r},a)=>{const{loginUrl:i,registerUrl:o}=D.useContext(oc),{site:c}=D.useContext(X);return D.createElement("div",{className:`${pc} ${vt} ${_t} ${c===U.aliyun?yt:""} ${e?gc:""} ${t?bc:""} ${n?vc:""}`,"data-spm":"nav-v2-dropdown-login-box","data-tracker-exp":!0,ref:a},D.createElement("button",{className:yc,onClick:r,"data-spm":"d_close"}),D.createElement("img",{className:_c,src:"https://img.alicdn.com/imgextra/i2/O1CN015QIT9m1FmmyUntYlQ_!!6000000000530-2-tps-320-200.png",alt:H["dashboard.login-illustration"]}),D.createElement("p",{className:wc},H["dashboard.login-to-view-resources"]),D.createElement("div",{className:Ec},D.createElement("div",{className:kc},H["dashboard.manage-resources"]),D.createElement("div",{className:kc},H["dashboard.status-overview"]),D.createElement("div",{className:kc},H["dashboard.quick-access"])),D.createElement("div",{className:xc},D.createElement("a",{className:Cc,href:o||"","data-spm":"d_register"},H["dashboard.quick-register"]),D.createElement("a",{className:Sc,href:i||"","data-spm":"d_login"},H["dashboard.login-aliyun"])))});let $c=null,Ac=null;const Pc=D.forwardRef(function({visible:e,isFixed:t,hasBorder:n,onClose:r},a){const{root:i}=D.useContext(bt),{locale:o}=D.useContext(X),{isLogin:c}=D.useContext(oc),s=hc({packageName:"@ali/hmod-global-nav-console-dashboard",bindRoot:!1});if(!c){if(!$c){if(!i)return null;$c=document.createElement("div"),i.appendChild($c)}return F.createPortal(D.createElement(Nc,{visible:e,isFixed:t,hasBorder:n,onClose:r,ref:a}),$c)}return s?(Ac||(Ac=document.createElement("div"),document.body.appendChild(Ac)),F.createPortal(D.createElement(s,{visible:e,isFixed:t,hasBorder:n,onClose:r,locale:o,ref:a}),Ac)):null}),Oc=D.memo(function(){const[e,t]=D.useState(!1),{isLogin:n}=D.useContext(oc),{isFixed:r,groundGlass:a}=D.useContext(bt),i=D.useRef(null),[o,c]=D.useState(null);return D.useEffect(function(){const e=i.current,r=o;if(!e||!r||"boolean"!=typeof n)return;const{unbind:a}=ne({trigger:e,panel:r,lazyTime:50,onShow:()=>{t(!0)},onHide:()=>{t(!1)}});return a},[i.current,o,n]),D.createElement(D.Fragment,null,D.createElement("button",{className:`${lc} ${"boolean"!=typeof n?mc:""}`,"aria-label":e?H["dashboard.close-menu"]:H["dashboard.open-menu"],"data-spm":"d_dashboard_trigger","data-tracker-exp":!0,ref:i,onClick:()=>{t(!e)}},D.createElement("span",{className:`${uc} ${e?fc:""}`},D.createElement("span",{className:dc}))),"boolean"==typeof n&&D.createElement(pt,{name:"console-home-dashboard"},D.createElement(Pc,{visible:e,isFixed:r,hasBorder:a,onClose:()=>t(!1),ref:c})))}),Ic="_3f46140aade30bc61f3012933357c477_logo",Lc={[U.aliyun]:"https://www.aliyun.com/",[U.alibabacloud]:"https://www.alibabacloud.com/"},Rc=function({className:e,site:t=U.aliyun,terminal:n="pc"}){const r={};return t===U.aliyun?"pc"===n?r.width=80:r.height=20:r.height=16,D.createElement("a",{href:Lc[t],className:`${Ic} ${e||""}`,"data-tracker-content":("mobile"===n?"M\u7ad9":"")+"LOGO","data-spm":"d_logo"},t===U.alibabacloud?D.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 295.93 37.28",fill:"#ff6a00"},r),D.createElement("rect",{x:"19.94",y:"16.3",width:"19.92",height:"4.49"}),D.createElement("path",{d:"M49.84,0H36.66l3.18,4.5,9.61,3a4.15,4.15,0,0,1,2.9,4V25.84h0a4.17,4.17,0,0,1-2.9,4l-9.61,2.94-3.18,4.5H49.84a9.94,9.94,0,0,0,9.95-10V10A10,10,0,0,0,49.84,0Z"}),D.createElement("path",{d:"M10,0H23.14L20,4.5l-9.61,3a4.16,4.16,0,0,0-2.91,4V25.84h0a4.18,4.18,0,0,0,2.91,4L20,32.78l3.18,4.5H10a10,10,0,0,1-10-10V10A10,10,0,0,1,10,0Z"}),D.createElement("path",{d:"M221.19,26a5.91,5.91,0,0,1-11.81,0V11.78a5.91,5.91,0,0,1,11.81,0V12h4.52v-.17a10.43,10.43,0,0,0-20.85,0V26a10.42,10.42,0,0,0,20.84,0v-.19h-4.52Z"}),D.createElement("path",{d:"M244.67,10.69a8.92,8.92,0,0,0-9,8.45v8.73a9,9,0,0,0,17.91,0V19.13A8.9,8.9,0,0,0,244.67,10.69Zm4.43,16.67a4.43,4.43,0,1,1-8.86,0V19.65a4.43,4.43,0,1,1,8.86,0Z"}),D.createElement("rect",{x:"227.95",y:"1.48",width:"4.5",height:"34.28"}),D.createElement("rect",{x:"103.81",y:"10.69",width:"4.5",height:"25.07"}),D.createElement("rect",{x:"94.81",y:"1.48",width:"4.5",height:"34.28"}),D.createElement("path",{d:"M83.45,1.48H77.9L68.8,35.71v0h4.49l2.42-9.1,10,0,2.41,9v0h4.49L83.45,1.5Zm1,20.72H76.89L80.67,8Z"}),D.createElement("path",{d:"M270.27,27.83a4.44,4.44,0,1,1-8.88,0V10.69h-4.51V28.57A7.76,7.76,0,0,0,266.94,36a6.21,6.21,0,0,0,1.24-.51,7.7,7.7,0,0,0,1.87-1.35l.2-.19v1.84h4.54V10.69h-4.52Z"}),D.createElement("rect",{x:"103.81",y:"1.48",width:"4.5",height:"4.51"}),D.createElement("path",{d:"M122.93,10.66a7.72,7.72,0,0,0-5.42,2.22l-.19.19V1.48h-4.51V35.76h4.51V33.92l.19.19a7.76,7.76,0,0,0,13.18-5.54V18.42A7.77,7.77,0,0,0,122.93,10.66Zm3.31,8.58v8.51a4.45,4.45,0,1,1-8.9,0V19.24a4.45,4.45,0,1,1,8.9,0Z"}),D.createElement("path",{d:"M164.89,10.66a7.72,7.72,0,0,0-5.43,2.22l-.19.19V1.48h-4.5V35.76h4.5V33.92l.19.19a7.76,7.76,0,0,0,13.18-5.54V18.42A7.77,7.77,0,0,0,164.89,10.66Zm3.3,8.58v8.5a4.45,4.45,0,1,1-8.9,0v-8.5a4.45,4.45,0,1,1,8.9,0Z"}),D.createElement("path",{d:"M291.42,1.48V13.07l-.19-.19a7.75,7.75,0,0,0-13.18,5.54V28.6a7.76,7.76,0,0,0,13.18,5.51l.19-.19v1.84h4.51V1.48Zm0,17.76v8.5a4.45,4.45,0,1,1-8.9,0v-8.5a4.45,4.45,0,1,1,8.9,0Z"}),D.createElement("path",{d:"M151.53,19.17a7.51,7.51,0,0,0-.09-.88l0-.12a9.2,9.2,0,0,0-1.54-3.76,8.79,8.79,0,0,0-6.69-3.73l-.52,0A9,9,0,0,0,133.83,18v0h4.42v0a4.45,4.45,0,0,1,4.35-3.59A4.46,4.46,0,0,1,147,18.69v2.1h-6.39a7.75,7.75,0,0,0-2,15.25l.12,0,.43.1.54.08h.11a10.9,10.9,0,0,0,1.17.06,8.5,8.5,0,0,0,2.71-.39,7.61,7.61,0,0,0,3.07-1.85l.2-.19v1.84h4.5v-3h0Zm-10.06,5H147v3.17a5,5,0,0,1-4.09,4.92,4.47,4.47,0,0,1-1,.12,4.52,4.52,0,0,1-2.28-.64,4.79,4.79,0,0,1-.58-.37,4.5,4.5,0,0,1-.69-.69l-.05-.06a4,4,0,0,1,3.19-6.45Z"}),D.createElement("path",{d:"M193.54,19.19a7.51,7.51,0,0,0-.09-.88l0-.12a9.16,9.16,0,0,0-1.54-3.75,8.85,8.85,0,0,0-6.69-3.74h-.52A9,9,0,0,0,175.84,18v0h4.41v0a4.43,4.43,0,0,1,8.78.68v2.1h-6.4a7.75,7.75,0,0,0-1.95,15.25l.12,0,.43.1.54.08h.11a10.82,10.82,0,0,0,1.17.07,8.5,8.5,0,0,0,2.71-.39,7.84,7.84,0,0,0,3.07-1.85l.2-.19v1.84h4.5v-3h0Zm-10.06,5H189V27.4a5,5,0,0,1-4.09,4.92,4.47,4.47,0,0,1-1,.12,4.52,4.52,0,0,1-2.28-.64,3.82,3.82,0,0,1-.58-.37,4.57,4.57,0,0,1-.7-.69l0-.06a3.94,3.94,0,0,1-.83-2.42A4,4,0,0,1,183.48,24.23Z"})):D.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 4608 1024",fill:"#ff6a00"},r),D.createElement("path",{d:"M3266.56 773.12h327.68v-102.4h-327.68v-102.4H3584V35.84H2846.72v532.48h317.44v102.4h-327.68v102.4h327.68v112.64h-353.28v102.4h814.08v-102.4h-353.28v-112.64zM3276.8 138.24h215.04v112.64H3276.8V138.24z m0 215.04h215.04V460.8H3276.8V353.28zM3174.4 460.8h-215.04V353.28H3174.4V460.8z m0-209.92h-215.04V138.24H3174.4v112.64zM537.6 445.44H1075.2v122.88H537.6z"}),D.createElement("path",{d:"M1341.44 5.12h-353.28L1075.2 128l256 81.92c46.08 15.36 76.8 61.44 76.8 107.52v389.12c0 46.08-30.72 92.16-76.8 107.52l-256 81.92-87.04 122.88h353.28c148.48 0 266.24-117.76 266.24-266.24V276.48c0-148.48-117.76-271.36-266.24-271.36zM276.48 814.08c-46.08-15.36-76.8-61.44-76.8-107.52V317.44c0-46.08 30.72-92.16 76.8-107.52l256-81.92L619.52 5.12H266.24C117.76 5.12 0 128 0 276.48v471.04c0 148.48 117.76 266.24 266.24 266.24h353.28l-87.04-122.88-256-76.8zM2493.44 250.88h-261.12v537.6h261.12V250.88z m-107.52 430.08h-56.32V353.28h56.32v327.68zM1848.32 988.16h102.4V138.24h107.52L1996.8 419.84v102.4h61.44v225.28c0 15.36-10.24 25.6-25.6 25.6h-25.6v102.4h51.2c56.32 0 102.4-46.08 102.4-102.4v-358.4H2099.2l61.44-281.6v-102.4h-312.32v957.44z"}),D.createElement("path",{d:"M2206.72 138.24H2560v660.48c0 46.08-35.84 87.04-87.04 87.04h-76.8v102.4h107.52c87.04 0 163.84-71.68 163.84-163.84V138.24h35.84v-102.4h-496.64v102.4zM3763.2 40.96h737.28v102.4H3763.2zM4541.44 527.36v-102.4H3727.36v102.4h204.8l-163.84 358.4v102.4h691.2c30.72 0 51.2-25.6 51.2-51.2 0-10.24 0-15.36-5.12-20.48l-87.04-194.56h-112.64l76.8 163.84h-496.64l163.84-358.4h491.52z"})))},Mc="bd4ff60b2647e42dcd53550af1de4b21_link",Tc="bd4ff60b2647e42dcd53550af1de4b21_icon",jc="bd4ff60b2647e42dcd53550af1de4b21_iconHover",zc="bd4ff60b2647e42dcd53550af1de4b21_text",Dc=({icon:e,iconHover:t,text:n,href:r,textGradient:a})=>{const i=D.useRef(null),o=D.useCallback(()=>{const e=i.current;if(!e)return;const t=e.getBoundingClientRect().width;e.style.setProperty("--width",`${t}px`)},[]);return D.useLayoutEffect(()=>{o();const e=i.current;if(!e)return;const t=new ResizeObserver(o);return t.observe(e),()=>t.disconnect()},[n,o]),D.createElement("a",{className:Mc,href:r},D.createElement("img",{className:Tc,src:e,alt:"icon",width:16,height:16}),t&&D.createElement("img",{className:jc,src:t,alt:"icon",width:16,height:16}),D.createElement("span",{ref:i,className:zc,style:{backgroundImage:a}},n))},Fc={button:"_0055435acd28e60da8ef7e8c053ca5c2_button",icon:"_0055435acd28e60da8ef7e8c053ca5c2_icon",container:"_0055435acd28e60da8ef7e8c053ca5c2_container",visible:"_0055435acd28e60da8ef7e8c053ca5c2_visible",aliyun:"_0055435acd28e60da8ef7e8c053ca5c2_aliyun",alibabacloud:"_0055435acd28e60da8ef7e8c053ca5c2_alibabacloud"},Wc={container:"_174801eef2caf75aeaee91c72b19c09a_container",item:"_174801eef2caf75aeaee91c72b19c09a_item"},Bc={[U.aliyun]:Fc.aliyun,[U.alibabacloud]:Fc.alibabacloud},Hc=["help.aliyun.com","pre-help.aliyun.com"].includes(location.hostname),Uc=function({site:e}){const t=D.useRef(null),[n,r]=D.useState(null),[a,i]=D.useState(!1),[o,c]=D.useState(null);D.useEffect(function(){const e=t.current;if(!e||!n)return;const{unbind:r}=ne({trigger:e,panel:n,lazyTime:50,onShow:()=>{c(e.getBoundingClientRect()),i(!0)},onHide:()=>{i(!1)}});return r},[t.current,n]);const{locale:s}=D.useContext(X),l=hc({packageName:e===U.alibabacloud?"@ali/hmod-alibabacloud-language-switch":Hc?"@ali/hmod-aliyun-language-switch-new":"@ali/hmod-aliyun-language-switch"});return D.createElement(D.Fragment,null,D.createElement("button",{className:[Wc.item,Fc.button].join(" "),ref:t},e===U.alibabacloud?D.createElement(D.Fragment,null,D.createElement(lt,{name:"intl",className:Fc.icon}),(Z[s]||"").toUpperCase()):D.createElement(lt,{name:"intl"})),D.createElement(Ct,{id:"locale",className:`${Fc.container} ${Bc[e]} ${a&&o?Fc.visible:""}`,style:o?{left:o.x-24+"px","--trigger-center-x":o.width/2+9+"px","--trigger-center-y":-o.height/2+"px"}:{},ref:e=>r(e)},D.createElement(pt,{name:"\u8bed\u8a00\u5207\u6362"},l?D.createElement(l,{locale:s}):null)))};const Vc="f9c0581c7b0803efa9027b0f2d228294_container",Gc="f9c0581c7b0803efa9027b0f2d228294_visible",qc="f9c0581c7b0803efa9027b0f2d228294_group",Yc="f9c0581c7b0803efa9027b0f2d228294_title",Kc="f9c0581c7b0803efa9027b0f2d228294_item",Zc="f9c0581c7b0803efa9027b0f2d228294_action",Jc="f9c0581c7b0803efa9027b0f2d228294_icon";function Xc(){const e=new URL(location.href).searchParams.has("utm_content"),t=D.useRef(null),[n,r]=D.useState(null),[a,i]=D.useState(!1),[o,c]=D.useState(null);return D.useEffect(function(){const e=t.current;if(!e||!n)return;const{unbind:r}=ne({trigger:e,panel:n,lazyTime:50,onShow:()=>{c(e.getBoundingClientRect()),i(!0)},onHide:()=>{i(!1)}});return r},[t.current,n]),D.createElement(D.Fragment,null,D.createElement("button",{className:Wc.item,ref:t},D.createElement(lt,{className:Jc,name:"contact"})),D.createElement(Ct,{id:"contact",className:`${Vc} ${a&&o?Gc:""}`,style:o?{left:o.x-20+"px","--trigger-center-x":o.width/2+9+"px","--trigger-center-y":-o.height/2+"px"}:{},ref:e=>r(e)},D.createElement("section",{className:qc},D.createElement("h3",{className:Yc},H["contact.contact-us"]),D.createElement("span",{className:Kc},D.createElement(lt,{className:Jc,name:"phone"}),e?"4009032380":"4008013260"),D.createElement("a",{className:`${Kc} ${Zc}`,href:`https://smartservice.console.aliyun.com/pre-sale/chat?entrance=201&referrer=${encodeURIComponent(location.href)}${e?"&type=utm":""}`},D.createElement(lt,{className:Jc,name:"screen_check"}),H["contact.pre-sales"]),D.createElement("a",{className:`${Kc} ${Zc}`,href:`https://smartservice.console.aliyun.com/service/robot-chat?entrance=201&referrer=${encodeURIComponent(location.href)}${e?"&type=utm":""}`},D.createElement(lt,{className:Jc,name:"contact"}),H["contact.after-sales"])),D.createElement("section",{className:qc},D.createElement("h3",{className:Yc},H["contact.other-services"]),D.createElement("a",{className:`${Kc} ${Zc}`,href:"https://www.aliyun.com/connect/home"},D.createElement(lt,{className:Jc,name:"comment_lines"}),H["contact.suggest"]),D.createElement("a",{className:`${Kc} ${Zc}`,href:"https://www.aliyun.com/complaint"},D.createElement(lt,{className:Jc,name:"order"}),H["contact.complain"]))))}var Qc={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},es={exports:{}},ts={},ns=Symbol.for("react.transitional.element"),rs=Symbol.for("react.portal"),as=Symbol.for("react.fragment"),is=Symbol.for("react.strict_mode"),os=Symbol.for("react.profiler"),cs=Symbol.for("react.consumer"),ss=Symbol.for("react.context"),ls=Symbol.for("react.forward_ref"),us=Symbol.for("react.suspense"),ds=Symbol.for("react.suspense_list"),fs=Symbol.for("react.memo"),ms=Symbol.for("react.lazy"),hs=Symbol.for("react.view_transition"),ps=Symbol.for("react.client.reference");function bs(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case ns:switch(e=e.type){case as:case os:case is:case us:case ds:case hs:return e;default:switch(e=e&&e.$$typeof){case ss:case ls:case ms:case fs:case cs:return e;default:return t}}case rs:return t}}}ts.ContextConsumer=cs,ts.ContextProvider=ss,ts.Element=ns,ts.ForwardRef=ls,ts.Fragment=as,ts.Lazy=ms,ts.Memo=fs,ts.Portal=rs,ts.Profiler=os,ts.StrictMode=is,ts.Suspense=us,ts.SuspenseList=ds,ts.isContextConsumer=function(e){return bs(e)===cs},ts.isContextProvider=function(e){return bs(e)===ss},ts.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ns},ts.isForwardRef=function(e){return bs(e)===ls},ts.isFragment=function(e){return bs(e)===as},ts.isLazy=function(e){return bs(e)===ms},ts.isMemo=function(e){return bs(e)===fs},ts.isPortal=function(e){return bs(e)===rs},ts.isProfiler=function(e){return bs(e)===os},ts.isStrictMode=function(e){return bs(e)===is},ts.isSuspense=function(e){return bs(e)===us},ts.isSuspenseList=function(e){return bs(e)===ds},ts.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===as||e===os||e===is||e===us||e===ds||"object"==typeof e&&null!==e&&(e.$$typeof===ms||e.$$typeof===fs||e.$$typeof===ss||e.$$typeof===cs||e.$$typeof===ls||e.$$typeof===ps||void 0!==e.getModuleId)},ts.typeOf=bs,es.exports=ts;var gs=es.exports;function vs(e){function t(e,r,s,l,f){for(var m,h,p,b,_,E=0,k=0,x=0,C=0,S=0,I=0,R=p=m=0,T=0,j=0,z=0,D=0,F=s.length,W=F-1,B="",H="",U="",V="";T<F;){if(h=s.charCodeAt(T),T===W&&0!==k+C+x+E&&(0!==k&&(h=47===k?10:47),C=x=E=0,F++,W++),0===k+C+x+E){if(T===W&&(0<j&&(B=B.replace(d,"")),0<B.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:B+=s.charAt(T)}h=59}switch(h){case 123:for(m=(B=B.trim()).charCodeAt(0),p=1,D=++T;T<F;){switch(h=s.charCodeAt(T)){case 123:p++;break;case 125:p--;break;case 47:switch(h=s.charCodeAt(T+1)){case 42:case 47:e:{for(R=T+1;R<W;++R)switch(s.charCodeAt(R)){case 47:if(42===h&&42===s.charCodeAt(R-1)&&T+2!==R){T=R+1;break e}break;case 10:if(47===h){T=R+1;break e}}T=R}}break;case 91:h++;case 40:h++;case 34:case 39:for(;T++<W&&s.charCodeAt(T)!==h;);}if(0===p)break;T++}if(p=s.substring(D,T),0===m&&(m=(B=B.replace(u,"").trim()).charCodeAt(0)),64===m){switch(0<j&&(B=B.replace(d,"")),h=B.charCodeAt(1)){case 100:case 109:case 115:case 45:j=r;break;default:j=O}if(D=(p=t(r,j,p,h,f+1)).length,0<L&&(_=c(3,p,j=n(O,B,z),r,$,N,D,h,f,l),B=j.join(""),void 0!==_&&0===(D=(p=_.trim()).length)&&(h=0,p="")),0<D)switch(h){case 115:B=B.replace(w,o);case 100:case 109:case 45:p=B+"{"+p+"}";break;case 107:p=(B=B.replace(g,"$1 $2"))+"{"+p+"}",p=1===P||2===P&&i("@"+p,3)?"@-webkit-"+p+"@"+p:"@"+p;break;default:p=B+p,112===l&&(H+=p,p="")}else p=""}else p=t(r,n(r,B,z),p,l,f+1);U+=p,p=z=j=R=m=0,B="",h=s.charCodeAt(++T);break;case 125:case 59:if(1<(D=(B=(0<j?B.replace(d,""):B).trim()).length))switch(0===R&&(m=B.charCodeAt(0),45===m||96<m&&123>m)&&(D=(B=B.replace(" ",":")).length),0<L&&void 0!==(_=c(1,B,r,e,$,N,H.length,l,f,l))&&0===(D=(B=_.trim()).length)&&(B="\0\0"),m=B.charCodeAt(0),h=B.charCodeAt(1),m){case 0:break;case 64:if(105===h||99===h){V+=B+s.charAt(T);break}default:58!==B.charCodeAt(D-1)&&(H+=a(B,m,h,B.charCodeAt(2)))}z=j=R=m=0,B="",h=s.charCodeAt(++T)}}switch(h){case 13:case 10:47===k?k=0:0===1+m&&107!==l&&0<B.length&&(j=1,B+="\0"),0<L*M&&c(0,B,r,e,$,N,H.length,l,f,l),N=1,$++;break;case 59:case 125:if(0===k+C+x+E){N++;break}default:switch(N++,b=s.charAt(T),h){case 9:case 32:if(0===C+E+k)switch(S){case 44:case 58:case 9:case 32:b="";break;default:32!==h&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===C+k+E&&(j=z=1,b="\f"+b);break;case 108:if(0===C+k+E+A&&0<R)switch(T-R){case 2:112===S&&58===s.charCodeAt(T-3)&&(A=S);case 8:111===I&&(A=I)}break;case 58:0===C+k+E&&(R=T);break;case 44:0===k+x+C+E&&(j=1,b+="\r");break;case 34:case 39:0===k&&(C=C===h?0:0===C?h:C);break;case 91:0===C+k+x&&E++;break;case 93:0===C+k+x&&E--;break;case 41:0===C+k+E&&x--;break;case 40:if(0===C+k+E){if(0===m)if(2*S+3*I==533);else m=1;x++}break;case 64:0===k+x+C+E+R+p&&(p=1);break;case 42:case 47:if(!(0<C+E+x))switch(k){case 0:switch(2*h+3*s.charCodeAt(T+1)){case 235:k=47;break;case 220:D=T,k=42}break;case 42:47===h&&42===S&&D+2!==T&&(33===s.charCodeAt(D+2)&&(H+=s.substring(D,T+1)),b="",k=0)}}0===k&&(B+=b)}I=S,S=h,T++}if(0<(D=H.length)){if(j=r,0<L&&(void 0!==(_=c(2,H,j,e,$,N,D,l,f,l))&&0===(H=_).length))return V+H+U;if(H=j.join(",")+"{"+H+"}",0!==P*A){switch(2!==P||i(H,2)||(A=0),A){case 111:H=H.replace(y,":-moz-$1")+H;break;case 112:H=H.replace(v,"::-webkit-input-$1")+H.replace(v,"::-moz-$1")+H.replace(v,":-ms-input-$1")+H}A=0}}return V+H+U}function n(e,t,n){var a=t.trim().split(p);t=a;var i=a.length,o=e.length;switch(o){case 0:case 1:var c=0;for(e=0===o?"":e[0]+" ";c<i;++c)t[c]=r(e,t[c],n).trim();break;default:var s=c=0;for(t=[];c<i;++c)for(var l=0;l<o;++l)t[s++]=r(e[l]+" ",a[c],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(b,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function a(e,t,n,r){var o=e+";",c=2*t+3*n+4*r;if(944===c){e=o.indexOf(":",9)+1;var s=o.substring(e,o.length-1).trim();return s=o.substring(0,e).trim()+s+";",1===P||2===P&&i(s,1)?"-webkit-"+s+s:s}if(0===P||2===P&&!i(o,1))return o;switch(c){case 1015:return 97===o.charCodeAt(10)?"-webkit-"+o+o:o;case 951:return 116===o.charCodeAt(3)?"-webkit-"+o+o:o;case 963:return 110===o.charCodeAt(5)?"-webkit-"+o+o:o;case 1009:if(100!==o.charCodeAt(4))break;case 969:case 942:return"-webkit-"+o+o;case 978:return"-webkit-"+o+"-moz-"+o+o;case 1019:case 983:return"-webkit-"+o+"-moz-"+o+"-ms-"+o+o;case 883:if(45===o.charCodeAt(8))return"-webkit-"+o+o;if(0<o.indexOf("image-set(",11))return o.replace(S,"$1-webkit-$2")+o;break;case 932:if(45===o.charCodeAt(4))switch(o.charCodeAt(5)){case 103:return"-webkit-box-"+o.replace("-grow","")+"-webkit-"+o+"-ms-"+o.replace("grow","positive")+o;case 115:return"-webkit-"+o+"-ms-"+o.replace("shrink","negative")+o;case 98:return"-webkit-"+o+"-ms-"+o.replace("basis","preferred-size")+o}return"-webkit-"+o+"-ms-"+o+o;case 964:return"-webkit-"+o+"-ms-flex-"+o+o;case 1023:if(99!==o.charCodeAt(8))break;return"-webkit-box-pack"+(s=o.substring(o.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+o+"-ms-flex-pack"+s+o;case 1005:return m.test(o)?o.replace(f,":-webkit-")+o.replace(f,":-moz-")+o:o;case 1e3:switch(t=(s=o.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=o.replace(_,"tb");break;case 232:s=o.replace(_,"tb-rl");break;case 220:s=o.replace(_,"lr");break;default:return o}return"-webkit-"+o+"-ms-"+s+o;case 1017:if(-1===o.indexOf("sticky",9))break;case 975:switch(t=(o=e).length-10,c=(s=(33===o.charCodeAt(t)?o.substring(0,t):o).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:o=o.replace(s,"-webkit-"+s)+";"+o;break;case 207:case 102:o=o.replace(s,"-webkit-"+(102<c?"inline-":"")+"box")+";"+o.replace(s,"-webkit-"+s)+";"+o.replace(s,"-ms-"+s+"box")+";"+o}return o+";";case 938:if(45===o.charCodeAt(5))switch(o.charCodeAt(6)){case 105:return s=o.replace("-items",""),"-webkit-"+o+"-webkit-box-"+s+"-ms-flex-"+s+o;case 115:return"-webkit-"+o+"-ms-flex-item-"+o.replace(k,"")+o;default:return"-webkit-"+o+"-ms-flex-line-pack"+o.replace("align-content","").replace(k,"")+o}break;case 973:case 989:if(45!==o.charCodeAt(3)||122===o.charCodeAt(4))break;case 931:case 953:if(!0===C.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?a(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):o.replace(s,"-webkit-"+s)+o.replace(s,"-moz-"+s.replace("fill-",""))+o;break;case 962:if(o="-webkit-"+o+(102===o.charCodeAt(5)?"-ms-"+o:"")+o,211===n+r&&105===o.charCodeAt(13)&&0<o.indexOf("transform",10))return o.substring(0,o.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+o}return o}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),R(2!==t?r:r.replace(x,"$1"),n,t)}function o(e,t){var n=a(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function c(e,t,n,r,a,i,o,c,s,u){for(var d,f=0,m=t;f<L;++f)switch(d=I[f].call(l,e,m,n,r,a,i,o,c,s,u)){case void 0:case!1:case!0:case null:break;default:m=d}if(m!==t)return m}function s(e){return void 0!==(e=e.prefix)&&(R=null,e?"function"!=typeof e?P=1:(P=2,R=e):P=0),s}function l(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<L){var a=c(-1,n,r,r,$,N,0,0,0,0);void 0!==a&&"string"==typeof a&&(n=a)}var i=t(O,r,n,0,0);return 0<L&&(void 0!==(a=c(-2,i,r,r,$,N,i.length,0,0,0))&&(i=a)),A=0,N=$=1,i}var u=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,m=/zoo|gra/,h=/([,: ])(transform)/g,p=/,\r+?/g,b=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,y=/:(read-only)/g,_=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,k=/-self|flex-/g,x=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,N=1,$=1,A=0,P=1,O=[],I=[],L=0,R=null,M=0;return l.use=function e(t){switch(t){case void 0:case null:L=I.length=0;break;default:if("function"==typeof t)I[L++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else M=0|!!t}return e},l.set=s,void 0!==e&&s(e),l}function ys(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var _s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ws=ys(function(e){return _s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),Es={exports:{}},ks={},xs="function"==typeof Symbol&&Symbol.for,Cs=xs?Symbol.for("react.element"):60103,Ss=xs?Symbol.for("react.portal"):60106,Ns=xs?Symbol.for("react.fragment"):60107,$s=xs?Symbol.for("react.strict_mode"):60108,As=xs?Symbol.for("react.profiler"):60114,Ps=xs?Symbol.for("react.provider"):60109,Os=xs?Symbol.for("react.context"):60110,Is=xs?Symbol.for("react.async_mode"):60111,Ls=xs?Symbol.for("react.concurrent_mode"):60111,Rs=xs?Symbol.for("react.forward_ref"):60112,Ms=xs?Symbol.for("react.suspense"):60113,Ts=xs?Symbol.for("react.suspense_list"):60120,js=xs?Symbol.for("react.memo"):60115,zs=xs?Symbol.for("react.lazy"):60116,Ds=xs?Symbol.for("react.block"):60121,Fs=xs?Symbol.for("react.fundamental"):60117,Ws=xs?Symbol.for("react.responder"):60118,Bs=xs?Symbol.for("react.scope"):60119;function Hs(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Cs:switch(e=e.type){case Is:case Ls:case Ns:case As:case $s:case Ms:return e;default:switch(e=e&&e.$$typeof){case Os:case Rs:case zs:case js:case Ps:return e;default:return t}}case Ss:return t}}}function Us(e){return Hs(e)===Ls}ks.AsyncMode=Is,ks.ConcurrentMode=Ls,ks.ContextConsumer=Os,ks.ContextProvider=Ps,ks.Element=Cs,ks.ForwardRef=Rs,ks.Fragment=Ns,ks.Lazy=zs,ks.Memo=js,ks.Portal=Ss,ks.Profiler=As,ks.StrictMode=$s,ks.Suspense=Ms,ks.isAsyncMode=function(e){return Us(e)||Hs(e)===Is},ks.isConcurrentMode=Us,ks.isContextConsumer=function(e){return Hs(e)===Os},ks.isContextProvider=function(e){return Hs(e)===Ps},ks.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Cs},ks.isForwardRef=function(e){return Hs(e)===Rs},ks.isFragment=function(e){return Hs(e)===Ns},ks.isLazy=function(e){return Hs(e)===zs},ks.isMemo=function(e){return Hs(e)===js},ks.isPortal=function(e){return Hs(e)===Ss},ks.isProfiler=function(e){return Hs(e)===As},ks.isStrictMode=function(e){return Hs(e)===$s},ks.isSuspense=function(e){return Hs(e)===Ms},ks.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Ns||e===Ls||e===As||e===$s||e===Ms||e===Ts||"object"==typeof e&&null!==e&&(e.$$typeof===zs||e.$$typeof===js||e.$$typeof===Ps||e.$$typeof===Os||e.$$typeof===Rs||e.$$typeof===Fs||e.$$typeof===Ws||e.$$typeof===Bs||e.$$typeof===Ds)},ks.typeOf=Hs,Es.exports=ks;var Vs=Es.exports,Gs={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},qs={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ys={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ks={};function Zs(e){return Vs.isMemo(e)?Ys:Ks[e.$$typeof]||Gs}Ks[Vs.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ks[Vs.Memo]=Ys;var Js=Object.defineProperty,Xs=Object.getOwnPropertyNames,Qs=Object.getOwnPropertySymbols,el=Object.getOwnPropertyDescriptor,tl=Object.getPrototypeOf,nl=Object.prototype;var rl=function e(t,n,r){if("string"!=typeof n){if(nl){var a=tl(n);a&&a!==nl&&e(t,a,r)}var i=Xs(n);Qs&&(i=i.concat(Qs(n)));for(var o=Zs(t),c=Zs(n),s=0;s<i.length;++s){var l=i[s];if(!(qs[l]||r&&r[l]||c&&c[l]||o&&o[l])){var u=el(n,l);try{Js(t,l,u)}catch(d){}}}}return t};const al=he(rl);function il(){return(il=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var ol=function(e,t){for(var n=[e[0]],r=0,a=t.length;r<a;r+=1)n.push(t[r],e[r+1]);return n},cl=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!gs.typeOf(e)},sl=Object.freeze([]),ll=Object.freeze({});function ul(e){return"function"==typeof e}function dl(e){return e.displayName||e.name||"Component"}function fl(e){return e&&"string"==typeof e.styledComponentId}var ml="undefined"!=typeof process&&void 0!==process.env&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",hl="undefined"!=typeof window&&"HTMLElement"in window,pl=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&(void 0!=={}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={}.REACT_APP_SC_DISABLE_SPEEDY&&{}.REACT_APP_SC_DISABLE_SPEEDY:void 0!=={}.SC_DISABLE_SPEEDY&&""!=={}.SC_DISABLE_SPEEDY&&("false"!=={}.SC_DISABLE_SPEEDY&&{}.SC_DISABLE_SPEEDY)));function bl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var gl=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)(a<<=1)<0&&bl(16,""+e);this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i<a;i++)this.groupSizes[i]=0}for(var o=this.indexOfGroup(e+1),c=0,s=t.length;c<s;c++)this.tag.insertRule(o,t[c])&&(this.groupSizes[e]++,o++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var a=n;a<r;a++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i<a;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),vl=new Map,yl=new Map,_l=1,wl=function(e){if(vl.has(e))return vl.get(e);for(;yl.has(_l);)_l++;var t=_l++;return vl.set(e,t),yl.set(t,e),t},El=function(e){return yl.get(e)},kl=function(e,t){t>=_l&&(_l=t+1),vl.set(e,t),yl.set(t,e)},xl="style["+ml+'][data-styled-version="5.3.11"]',Cl=new RegExp("^"+ml+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Sl=function(e,t,n){for(var r,a=n.split(","),i=0,o=a.length;i<o;i++)(r=a[i])&&e.registerName(t,r)},Nl=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],a=0,i=n.length;a<i;a++){var o=n[a].trim();if(o){var c=o.match(Cl);if(c){var s=0|parseInt(c[1],10),l=c[2];0!==s&&(kl(l,s),Sl(e,l,c[3]),e.getTag().insertRules(s,r)),r.length=0}else r.push(o)}}},$l=function(e){var t=document.head,n=e||t,r=document.createElement("style"),a=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(ml))return r}}(n),i=void 0!==a?a.nextSibling:null;r.setAttribute(ml,"active"),r.setAttribute("data-styled-version","5.3.11");var o="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return o&&r.setAttribute("nonce",o),n.insertBefore(r,i),r},Al=function(){function e(e){var t=this.element=$l(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var a=t[n];if(a.ownerNode===e)return a}bl(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(n){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),Pl=function(){function e(e){var t=this.element=$l(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ol=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Il=hl,Ll={isServer:!hl,useCSSOMInjection:!pl},Rl=function(){function e(e,t,n){void 0===e&&(e=ll),void 0===t&&(t={}),this.options=il({},Ll,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&hl&&Il&&(Il=!1,function(e){for(var t=document.querySelectorAll(xl),n=0,r=t.length;n<r;n++){var a=t[n];a&&"active"!==a.getAttribute(ml)&&(Nl(e,a),a.parentNode&&a.parentNode.removeChild(a))}}(this))}e.registerId=function(e){return wl(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(il({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,a=t.target,e=n?new Ol(a):r?new Al(a):new Pl(a),new gl(e)));var e,t,n,r,a},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(wl(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(wl(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(wl(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",a=0;a<n;a++){var i=El(a);if(void 0!==i){var o=e.names.get(i),c=t.getGroup(a);if(o&&c&&o.size){var s=ml+".g"+a+'[id="'+i+'"]',l="";void 0!==o&&o.forEach(function(e){e.length>0&&(l+=e+",")}),r+=""+c+s+'{content:"'+l+'"}/*!sc*/\n'}}}return r}(this)},e}(),Ml=/(a)(d)/gi,Tl=function(e){return String.fromCharCode(e+(e>25?39:97))};function jl(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Tl(t%52)+n;return(Tl(t%52)+n).replace(Ml,"$1-$2")}var zl=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Dl=function(e){return zl(5381,e)};var Fl=Dl("5.3.11"),Wl=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(ul(n)&&!fl(n))return!1}return!0}(e),this.componentId=t,this.baseHash=zl(Fl,t),this.baseStyle=n,Rl.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,a=[];if(this.baseStyle&&a.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))a.push(this.staticRulesId);else{var i=tu(this.rules,e,t,n).join(""),o=jl(zl(this.baseHash,i)>>>0);if(!t.hasNameForId(r,o)){var c=n(i,"."+o,void 0,r);t.insertRules(r,o,c)}a.push(o),this.staticRulesId=o}else{for(var s=this.rules.length,l=zl(this.baseHash,n.hash),u="",d=0;d<s;d++){var f=this.rules[d];if("string"==typeof f)u+=f;else if(f){var m=tu(f,e,t,n),h=Array.isArray(m)?m.join(""):m;l=zl(l,h+d),u+=h}}if(u){var p=jl(l>>>0);if(!t.hasNameForId(r,p)){var b=n(u,"."+p,void 0,r);t.insertRules(r,p,b)}a.push(p)}}return a.join(" ")},e}(),Bl=/^\s*\/\/.*$/gm,Hl=[":","[",".","#"];var Ul=D.createContext();Ul.Consumer;var Vl=D.createContext(),Gl=(Vl.Consumer,new Rl),ql=function(e){var t,n,r,a,i=void 0===e?ll:e,o=i.options,c=void 0===o?ll:o,s=i.plugins,l=void 0===s?sl:s,u=new vs(c),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(n){}}return function(n,r,a,i,o,c,s,l,u,d){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(a[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}(function(e){d.push(e)}),m=function(e,r,i){return 0===r&&-1!==Hl.indexOf(i[n.length])||i.match(a)?e:"."+t};function h(e,i,o,c){void 0===c&&(c="&");var s=e.replace(Bl,""),l=i&&o?o+" "+i+" { "+s+" }":s;return t=c,n=i,r=new RegExp("\\"+n+"\\b","g"),a=new RegExp("(\\"+n+"\\b){2,}"),u(o||!i?"":i,l)}return u.use([].concat(l,[function(e,t,a){2===e&&a.length&&a[0].lastIndexOf(n)>0&&(a[0]=a[0].replace(r,m))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),h.hash=l.length?l.reduce(function(e,t){return t.name||bl(15),zl(e,t.name)},5381).toString():"",h}();var Yl=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ql);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return bl(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ql),this.name+e.hash},e}(),Kl=/([A-Z])/,Zl=/([A-Z])/g,Jl=/^ms-/,Xl=function(e){return"-"+e.toLowerCase()};function Ql(e){return Kl.test(e)?e.replace(Zl,Xl).replace(Jl,"-ms-"):e}var eu=function(e){return null==e||!1===e||""===e};function tu(e,t,n,r){if(Array.isArray(e)){for(var a,i=[],o=0,c=e.length;o<c;o+=1)""!==(a=tu(e[o],t,n,r))&&(Array.isArray(a)?i.push.apply(i,a):i.push(a));return i}return eu(e)?"":fl(e)?"."+e.styledComponentId:ul(e)?"function"!=typeof(s=e)||s.prototype&&s.prototype.isReactComponent||!t?e:tu(e(t),t,n,r):e instanceof Yl?n?(e.inject(n,r),e.getName(r)):e:cl(e)?function e(t,n){var r,a,i=[];for(var o in t)t.hasOwnProperty(o)&&!eu(t[o])&&(Array.isArray(t[o])&&t[o].isCss||ul(t[o])?i.push(Ql(o)+":",t[o],";"):cl(t[o])?i.push.apply(i,e(t[o],o)):i.push(Ql(o)+": "+(r=o,(null==(a=t[o])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||r in Qc||r.startsWith("--")?String(a).trim():a+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var s}var nu=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ru(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ul(e)||cl(e)?nu(tu(ol(sl,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:nu(tu(ol(e,n)))}var au=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,iu=/(^-|-$)/g;function ou(e){return e.replace(au,"-").replace(iu,"")}function cu(e){return"string"==typeof e&&!0}var su=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},lu=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function uu(e,t,n){var r=e[n];su(t)&&su(r)?du(r,t):e[n]=t}function du(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var a=0,i=n;a<i.length;a++){var o=i[a];if(su(o))for(var c in o)lu(c)&&uu(e,o[c],c)}return e}var fu=D.createContext();fu.Consumer;var mu={};function hu(e,t,n){var r,a=fl(e),i=!cu(e),o=t.attrs,c=void 0===o?sl:o,s=t.componentId,l=void 0===s?function(e,t){var n="string"!=typeof e?"sc":ou(e);mu[n]=(mu[n]||0)+1;var r=n+"-"+function(e){return jl(Dl(e)>>>0)}("5.3.11"+n+mu[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):s,u=t.displayName,d=void 0===u?cu(r=e)?"styled."+r:"Styled("+dl(r)+")":u,f=t.displayName&&t.componentId?ou(t.displayName)+"-"+t.componentId:t.componentId||l,m=a&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,h=t.shouldForwardProp;a&&e.shouldForwardProp&&(h=t.shouldForwardProp?function(n,r,a){return e.shouldForwardProp(n,r,a)&&t.shouldForwardProp(n,r,a)}:e.shouldForwardProp);var p,b=new Wl(n,f,a?e.componentStyle:void 0),g=b.isStatic&&0===c.length,v=function(e,t){return function(e,t,n,r){var a,i,o,c,s,l=e.attrs,u=e.componentStyle,d=e.defaultProps,f=e.foldedComponentIds,m=e.shouldForwardProp,h=e.styledComponentId,p=e.target,b=function(e,t,n){void 0===e&&(e=ll);var r=il({},t,{theme:e}),a={};return n.forEach(function(e){var t,n,i,o=e;for(t in ul(o)&&(o=o(r)),o)r[t]=a[t]="className"===t?(n=a[t],i=o[t],n&&i?n+" "+i:n||i):o[t]}),[r,a]}(function(e,t,n){return void 0===n&&(n=ll),e.theme!==n.theme&&e.theme||t||n.theme}(t,D.useContext(fu),d)||ll,t,l),g=b[0],v=b[1],y=(a=u,i=r,o=g,c=D.useContext(Ul)||Gl,s=D.useContext(Vl)||ql,i?a.generateAndInjectStyles(ll,c,s):a.generateAndInjectStyles(o,c,s)),_=n,w=v.$as||t.$as||v.as||t.as||p,E=cu(w),k=v!==t?il({},t,{},v):t,x={};for(var C in k)"$"!==C[0]&&"as"!==C&&("forwardedAs"===C?x.as=k[C]:(m?m(C,ws,w):!E||ws(C))&&(x[C]=k[C]));return t.style&&v.style!==t.style&&(x.style=il({},t.style,{},v.style)),x.className=Array.prototype.concat(f,h,y!==h?y:null,t.className,v.className).filter(Boolean).join(" "),x.ref=_,D.createElement(w,x)}(p,e,t,g)};return v.displayName=d,(p=D.forwardRef(v)).attrs=m,p.componentStyle=b,p.displayName=d,p.shouldForwardProp=h,p.foldedComponentIds=a?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):sl,p.styledComponentId=f,p.target=a?e.target:e,p.withComponent=function(e){var r=t.componentId,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(t,["componentId"]),i=r&&r+"-"+(cu(e)?e:ou(dl(e)));return hu(e,il({},a,{attrs:m,componentId:i}),n)},Object.defineProperty(p,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=a?du({},e.defaultProps,t):t}}),Object.defineProperty(p,"toString",{value:function(){return"."+p.styledComponentId}}),i&&al(p,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),p}var pu=function(e){return function e(t,n,r){if(void 0===r&&(r=ll),!gs.isValidElementType(n))return bl(1,String(n));var a=function(){return t(n,r,ru.apply(void 0,arguments))};return a.withConfig=function(a){return e(t,n,il({},r,{},a))},a.attrs=function(a){return e(t,n,il({},r,{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},a}(hu,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){pu[e]=pu(e)});var bu={small:{width:"20px",height:"20px"},medium:{width:"26px",height:"26px"},large:{width:"30px",height:"30px"},xlarge:{width:"40px",height:"40px"}},gu=pu.div.withConfig({displayName:"LogoStyled",componentId:"aliyun-ai-assistant-rc-8096__sc-1qusfpt-0"})(["position:relative;width:",";height:",";.ai-assistant-brand-logo-icon{z-index:1;border-radius:50%;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;color:white;font-family:Arial,sans-serif;img{width:100%;position:relative;z-index:2;}}.ai-assistant-brand-logo-tooltip{position:absolute;z-index:1000;top:calc(100% + 12px);min-width:56px;border-radius:4px;text-align:center;opacity:0;display:none;backdrop-filter:blur(15px);font-size:12px;line-height:18px;font-weight:400;left:50%;transform:translateX(-50%);white-space:nowrap;color:#181818;.ai-assistant-logo-tooltip-content{position:relative;z-index:1;background-color:#fff;width:100%;height:100%;border-radius:4px;padding:6px 4px;box-sizing:border-box;}&::before{content:'';position:absolute;background:radial-gradient( 88% 56% at 103% 55%,rgba(182,243,255,0.5) 0%,rgba(182,243,255,0) 100% ),radial-gradient( 55% 42% at -10% 57%,rgba(214,143,206,0.5) 0%,rgba(214,143,206,0) 100% ),radial-gradient(118% 121% at 8% -5%,#ff915e 2%,#8968ff 65%,#0062ff 100%);filter:blur(8px);top:0px;left:0px;right:0px;bottom:0px;z-index:-1;opacity:0.4;}&::after{content:'';position:absolute;left:50%;transform:translateX(-50%);top:-6px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;}","}.ai-assistant-brand-logo-tooltip-visible{opacity:1;display:block;}"],function(e){var t=e.width,n=e.size;return t?"".concat(t,"px"):bu[n].width},function(e){var t=e.height,n=e.size;return t?"".concat(t,"px"):bu[n].height},function(e){return"dark"===e.theme&&"\n      .ai-assistant-logo-tooltip-content {\n        background-color: rgb(58, 58, 58);\n        border-color: rgb(103, 103, 111);\n        color: #fff;\n      }\n\n      &::after {\n        border-bottom-color: rgb(58, 58, 58);\n      }\n    "});function vu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(u){l=!0,a=u}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return yu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yu(e,t)}(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.")}()}function yu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var _u=function(e){var t=e.size,n=void 0===t?"medium":t,r=e.width,a=e.height,i=e.theme,o=e.tooltip,c=e.open,s=vu(D.useState(!1),2),l=s[0],u=s[1];return D.createElement(gu,{size:n,width:r,height:a,theme:i,onMouseOver:function(e){c&&e.stopPropagation()}},D.createElement("div",{className:"ai-assistant-brand-logo-icon",onMouseEnter:function(){u(!0)},onMouseLeave:function(){u(!1)},style:{background:"no-repeat center/100%  url(https://img.alicdn.com/imgextra/i4/O1CN012X1Rxl1clAgB5waMK_!!6000000003640-2-tps-52-52.png)"}},D.createElement("img",{src:"https://img.alicdn.com/imgextra/i2/O1CN01bYc1m81RrcSAyOjMu_!!6000000002165-54-tps-60-60.apng"})),o&&D.createElement("div",{className:"ai-assistant-brand-logo-tooltip ".concat(l?"ai-assistant-brand-logo-tooltip-visible":"")},D.createElement("div",{className:"ai-assistant-logo-tooltip-content"},o)))};const wu={[U.aliyun]:"https://www.aliyun.com/ai-assistant?displayMode=side",[U.alibabacloud]:"https://www.alibabacloud.com/ai-assistant?displayMode=side"},Eu=new URL(location.href),ku=["https://www.aliyun.com/ai-assistant","https://www.aliyun.com/ai-assistant/index","https://pre-www.aliyun.com/ai-assistant","https://pre-www.aliyun.com/ai-assistant/index","https://www.aliyun.com/ai-assistant/chat","https://pre-www.aliyun.com/ai-assistant/chat","https://www.alibabacloud.com/ai-assistant"],xu=function({className:e="",children:t}){const{site:n,locale:r}=D.useContext(X),[a,i]=D.useState(n!==U.aliyun||r!==Y.en_US);return D.useEffect(function(){-1!==ku.indexOf(`https://${Eu.hostname}${Eu.pathname.replace(/\/$/,"")}`)&&i(!1)},[]),a?D.createElement("a",{className:`global-nav-ai-assistant ${e}`,href:wu[n],"data-spm":"dai_assistant",target:"_blank"},D.createElement(pt,{name:"AI \u52a9\u7406\u56fe\u6807"},D.createElement(_u,{size:"small",tooltip:H["ai-assistant"],webgl:!0})),t):null},Cu={btn:"_2d3ef330b3f8055912d355b9a255bfcf_btn"},Su=function(){return D.createElement(xu,{className:[Wc.item,Cu.btn].join(" ")})},Nu={loading:"f8312ad103723788906e97b238dccd8c_loading","primary-link":"f8312ad103723788906e97b238dccd8c_primary-link","secondary-link":"f8312ad103723788906e97b238dccd8c_secondary-link","user-container":"f8312ad103723788906e97b238dccd8c_user-container",nick:"f8312ad103723788906e97b238dccd8c_nick",auth:"f8312ad103723788906e97b238dccd8c_auth",panel:"f8312ad103723788906e97b238dccd8c_panel",visible:"f8312ad103723788906e97b238dccd8c_visible"},$u=function({site:e,accountConfig:t,accountPanelConfig:n}){const{isLogin:r,userInfo:a}=D.useContext(oc),{locale:i}=D.useContext(X),[o,c]=D.useState(null);D.useEffect(function(){e===U.alibabacloud&&2===(null==a?void 0:a.accountType)&&function(){return z(this,null,function*(){const{success:e,data:t}=yield function(e){return z(this,arguments,function*(e,t={}){return new Promise(function(n){const r=`jsonp_${(Date.now()+Math.random()).toString(36).replace(".","_")}`;window[r]=function(e){delete window[r],n(e)};const a=-1===e.indexOf("?")?"?":"&",i=document.createElement("script");i.src=`${e}${a}${t.callbackParam||"callback"}=${r}`,i.onload=i.onerror=function(){document.body.removeChild(i)},document.body.appendChild(i)})})}("https://myaccount.alibabacloud.com/api/UserStatus.jsonp");return e?t.isProfileCompleted:null})}().then(e=>{c(e)})},[e,a]),D.useEffect(function(){ut.emit()},[r]);return"boolean"!=typeof r||e===U.alibabacloud&&2===(null==a?void 0:a.accountType)&&"boolean"!=typeof o?D.createElement("span",{className:[Nu.loading,Wc.item].filter(Boolean).join(" ")}):r&&a?e!==U.alibabacloud||2!==a.accountType||o?D.createElement(D.Fragment,null,((null==t?void 0:t.login)||[]).map((r,o)=>{switch(r.type){case"link":return D.createElement(Lu,{name:r.name,link:r.link,style:r.style,spm:`d_login_link_${o}`});case"user-info":return D.createElement(Iu,{site:e,locale:i,userInfo:a,accountPanelConfig:n,isLatest:o===t.login.length-1})}})):D.createElement(D.Fragment,null,((null==t?void 0:t.loginNeedImprove)||[]).map((r,o)=>{switch(r.type){case"link":return D.createElement(Lu,{name:r.name,link:r.link,style:r.style,spm:`d_need_improve_link_${o}`});case"user-info":return D.createElement(Iu,{site:e,locale:i,userInfo:a,accountPanelConfig:n,isLatest:o===t.loginNeedImprove.length-1})}})):D.createElement(D.Fragment,null,((null==t?void 0:t.noLogin)||[]).map((e,t)=>{switch(e.type){case"link":return D.createElement(Lu,{name:e.name,link:e.link,style:e.style,spm:`d_nologin_link_${t}`});case"register":return D.createElement(Ou,{style:e.style});case"login":return D.createElement(Pu,{style:e.style})}}))};const Au={primary:Nu["primary-link"],secondary:Nu["secondary-link"]},Pu=function({style:e="primary"}){const{loginUrl:t}=D.useContext(oc);return D.createElement("a",{className:[Au[e],Wc.item].filter(Boolean).join(" "),href:t||"","data-spm":"d_login","data-tracker-exp":!0},H["account.login"])},Ou=function({style:e="secondary"}){const{registerUrl:t}=D.useContext(oc);return D.createElement("a",{className:[Au[e],Wc.item].filter(Boolean).join(" "),href:t||"","data-spm":"d_register","data-tracker-exp":!0},H["account.register"])},Iu=function({site:e,locale:t,userInfo:n,accountPanelConfig:r,isLatest:a=!1}){const{root:i}=D.useContext(bt),o=hc({packageName:e===U.alibabacloud?"@ali/hmod-alibabacloud-account-panel":"@ali/hmod-ace-2024-my-aliyun"}),c=D.useRef(null),[s,l]=D.useState(null),[u,d]=D.useState(!1),[f,m]=D.useState(null);return D.useEffect(function(){const e=c.current;if(!e||!s)return;const{unbind:t}=ne({trigger:e,panel:s,lazyTime:50,onShow:()=>{m(e.getBoundingClientRect()),d(!0)},onHide:()=>{d(!1)}});return t},[c.current,s]),D.createElement(D.Fragment,null,D.createElement("button",{className:[Nu["user-container"],Wc.item].filter(Boolean).join(" "),ref:c},D.createElement("img",{src:n.accountPic,alt:H["account.avatar"]}),e===U.alibabacloud?null:n.certificated?D.createElement("span",{className:Nu.nick},n.userNick):D.createElement("a",{className:Nu.auth,href:"https://account.console.aliyun.com/v2#/authc/home","data-spm":"d_auth","data-tracker-exp":!0},H["account.certification"])),D.createElement(Ct,{id:`my-aliyun-${n.accountType}`,className:`${Nu.panel} ${u&&f?Nu.visible:""}`,style:f?{right:Math.max(0,window.innerWidth-f.x-f.width-(a?24:18))+"px"}:{},ref:e=>l(e)},D.createElement(pt,{name:"\u6211\u7684\u963f\u91cc\u4e91"},o?D.createElement(o,{accountType:n.accountType,root:i,language:t,visible:u,links:(null==r?void 0:r.links)||[]}):null)))},Lu=function({name:e,link:t,style:n,spm:r}){return D.createElement("a",{className:[Au[n],Wc.item].filter(Boolean).join(" "),href:t,"data-spm":r,"data-tracker-exp":!0},e)},Ru=function({site:e,items:t,accountConfig:n,accountPanelConfig:r}){return D.createElement("div",{className:Wc.container},t.map((t,n)=>{switch(t.type){case"link":{const e={};return t.nofollow&&(e.rel="nofollow"),D.createElement("a",A({className:Wc.item,href:t.link,target:"_blank","data-spm":`d_quick_access_${n}`},e),t.name)}case"language-switch":return D.createElement(Uc,{site:e});case"connect":return D.createElement(Xc,null);case"ai-assistant":return D.createElement(Su,null)}}),D.createElement($u,{site:e,accountConfig:n,accountPanelConfig:r}))};function Mu(){return!!document.body&&document.body.classList.contains("__hidden_header__")}function Tu(e,t){window.$ACE_TRACKER&&window.$ACE_TRACKER.log(e,t)}let ju=null,zu=!1,Du=0;class Fu extends ic{constructor(){super({name:"global-nav",priority:0}),ju=(e,t)=>{try{this.$nextProperty(e,t)}catch(n){}}}destructor(){super.destructor(),ju=null}get isFixed(){return zu}get height(){return Du}}const Wu={set isFixed(e){e!==zu&&(zu=e,ju&&ju("isFixed",e))},set height(e){e!==Du&&(Du=e,ju&&ju("height",e))}},Bu={fixed:"_702422913dd5754f065139ec2d2def80_fixed",container:"_702422913dd5754f065139ec2d2def80_container","ground-glass":"_702422913dd5754f065139ec2d2def80_ground-glass",hover:"_702422913dd5754f065139ec2d2def80_hover",logo:"_702422913dd5754f065139ec2d2def80_logo","search-wrap":"_702422913dd5754f065139ec2d2def80_search-wrap","highlight-searchbar":"_702422913dd5754f065139ec2d2def80_highlight-searchbar"},Hu=function({fixed:e,groundGlass:t,hasBanner:n,children:r}){return e?D.createElement("div",{className:Bu["fixed-placeholder"],style:{height:t?n?"60px":"0.1px":n?"124px":"64px"}},D.createElement("div",{className:Bu.fixed},r)):D.createElement(D.Fragment,null,r)},Uu=function(e){var t,n;const{site:r,fixed:a,groundGlass:i,superPortal:o,menus:c=[],searchOption:s,quickAccess:l,accountConfig:u,accountPanelConfig:d,productConfig:f,solutionConfig:m,banner:h,background:p,showDisclaimer:b}=e,{locale:g}=D.useContext(X),v={};p&&(p.color&&(v.backgroundColor=p.color),p.image&&(v.backgroundImage=`url(${p.image})`),p.align&&(v.backgroundPositionX=p.align));const[y,_]=D.useState(!1),w=D.useRef({in:!1,out:!1}),E={};a&&i&&(E.onMouseEnter=()=>_(!0),E.onMouseLeave=()=>_(!1));const[k,x]=D.useState(!1);D.useEffect(function(){var e,t;const n=Mu()?0:64+(k?60:0);return null==(t=null==(e=document.querySelector(":root"))?void 0:e.style)||t.setProperty("--topbar-main-height",n+"px"),Wu.isFixed=a||!1,Wu.height=n,()=>{var e,t;null==(t=null==(e=document.querySelector(":root"))?void 0:e.style)||t.setProperty("--topbar-main-height","0px")}},[k]),D.useEffect(function(){var e,t;return null==(t=null==(e=document.querySelector(":root"))?void 0:e.style)||t.setProperty("--topbar-main-cover-height",i?"64px":"0px"),()=>{var e,t;null==(t=null==(e=document.querySelector(":root"))?void 0:e.style)||t.setProperty("--topbar-main-cover-height","0px")}},[i]);const[C,S]=D.useState(0),[N,$]=D.useState(0);D.useEffect(function(){const e=document.querySelectorAll(`.${Sa}`),t=document.querySelector(`.${Wc.container}`);if(e[1]){const t=e[1].getBoundingClientRect();S(t.left+t.width)}if(t){const e=t.getBoundingClientRect();$(e.width)}},[]);const[O,I]=D.useState(!1),[L,R]=D.useState("normal");return D.useEffect(function(){var e;if(!a||!(null==(e=null==s?void 0:s.highlight)?void 0:e.top))return;const t=s.highlight.top;let n=window.scrollY;const r=()=>{const e=window.scrollY;Math.abs(e-n)<10||(e>n?e>t&&(I(!0),w.current.in||(w.current.in=!0,Tu("highlight-searchbar",{action:"zoom-in"}))):e<t&&(I(!1),w.current.out||(w.current.out=!0,Tu("highlight-searchbar",{action:"zoom-out"}))),n=e)};return window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r)}},[a,null==(t=null==s?void 0:s.highlight)?void 0:t.top]),D.createElement(Hu,{fixed:a,groundGlass:i,hasBanner:k},D.createElement(ro,P(A({},h),{onVisibleChange:e=>{x(e)}})),D.createElement("header",A({className:`${Bu.container} ${a&&i?Bu["ground-glass"]:""} ${y?Bu.hover:""} ${O?Bu["highlight-searchbar"]:""}`,style:A({},v)},E),r===U.alibabacloud?null:D.createElement(Oc,null),D.createElement(Rc,{className:Bu.logo,site:r}),(null==o?void 0:o.icon)&&(null==o?void 0:o.text)&&(null==o?void 0:o.link)&&(null==o?void 0:o.textGradient)&&D.createElement(Dc,{icon:o.icon,iconHover:o.iconHover,text:o.text,href:o.link,textGradient:o.textGradient}),D.createElement(La,{items:c,productConfig:f,solutionConfig:m,layoutMode:L,onBeforeScrollRight:()=>!O||(I(!1),Tu("highlight-searchbar",{action:"close"}),!1)}),s&&s.children&&(r!==U.aliyun||g!==Y.en_US)?D.createElement("div",{className:`${Bu["search-wrap"]} ${O&&(null==(n=null==s?void 0:s.highlight)?void 0:n.className)?s.highlight.className:""}`,style:{"--left-width":`${C}px`,"--right-width":`${N}px`},onTransitionEnd:()=>{R(O?"highlight-searchbar":"normal")}},s.children):null,D.createElement(Ru,{site:r,items:l,accountConfig:u,accountPanelConfig:d})),b?D.createElement("aliyun-disclaimer",null):null)};function Vu(e){var t,n,r;const a=[];return(null==(t=null==e?void 0:e.populars)?void 0:t.items)&&a.push({title:e.populars.title,children:e.populars.items.map(function(e){return{title:e.name,description:e.desc,link:e.link,scm:e.__scm}})}),null==(r=null==(n=null==e?void 0:e.dataSource)?void 0:n.children)||r.forEach(function(e){a.push(Gu(e))}),a}function Gu(e){const t={title:e.title,description:e.description,link:e.link,scm:e.__scm};return e.children&&(t.children=e.children.map(Gu)),t}const qu=function(e){const t=new Map;function n(...n){const r=JSON.stringify(n);if(t.has(r))return t.get(r);const a=e(...n);return t.set(r,a),a}return n.callNoCache=function(...n){const r=JSON.stringify(n),a=e(...n);return t.set(r,a),a},n}(function(e){return z(this,null,function*(){try{const t=yield Xe(`https://www.aliyun.com/api/ab/${e}`,{includeCookie:!0});if("200"===t.code)return t.data}catch(t){}return null})}),Yu="_77d11fd5c930e9b626b24384e179a9c3_header",Ku="_77d11fd5c930e9b626b24384e179a9c3_close",Zu="_77d11fd5c930e9b626b24384e179a9c3_icon",Ju=function({onClose:e,trackerContent:t}){const{site:n}=D.useContext(X);return D.createElement("div",{className:Yu},D.createElement(Rc,{terminal:"mobile",site:n}),D.createElement("button",{className:Ku,onClick:()=>e(),"data-tracker-content":t},D.createElement(lt,{className:Zu,name:"close"})))},Xu={title:"b6a48b8ec2e3852a2b20789808ce3892_title","category-name":"b6a48b8ec2e3852a2b20789808ce3892_category-name",icon:"b6a48b8ec2e3852a2b20789808ce3892_icon",navs:"b6a48b8ec2e3852a2b20789808ce3892_navs",selected:"b6a48b8ec2e3852a2b20789808ce3892_selected",link:"b6a48b8ec2e3852a2b20789808ce3892_link"},Qu=function({menu:e,dataSourceMap:t,productDataSource:n,solutionDataSource:r,selectedIndex:a}){const[i,o]=D.useState(0);if(!e)return null;let c=null;if(e.displayStyle===G.product?c=n:e.displayStyle===G.solution?c=r:e.sourceId&&(c=t[e.sourceId]),!c)return null;if(e.displayStyle!==G.tile){if(!c[a]||!c[a].children)return null;c=c[a].children}return D.createElement(D.Fragment,null,D.createElement("h3",{className:Xu.title},e.name),D.createElement("ul",null,c.map(function(e,t){return e.children&&e.children.length?D.createElement("li",{className:`${Xu.category} ${t===i?Xu.selected:""}`,key:e.id||e.title},D.createElement("button",{className:Xu["category-name"],onClick:()=>{o(t===i?-1:t)}},e.title,D.createElement(lt,{className:Xu.icon,name:"link"})),D.createElement("nav",{className:Xu.navs},e.children.map(function(e){return D.createElement(D.Fragment,null,e.title&&e.link?D.createElement("a",{className:Xu.link,href:e.link,"data-tracker-scm":e.scm,key:e.id||e.title},e.title):null,e.children?e.children.map(function(e){return e.title&&e.link?D.createElement("a",{className:Xu.link,href:e.link,"data-tracker-scm":e.scm,key:e.id||e.title},e.title):null}):null)}))):e.title&&e.link?D.createElement("li",{className:Xu.category},D.createElement("a",{className:Xu.link,href:e.link,"data-tracker-scm":e.scm},e.title)):void 0})))},ed={container:"_78e6a181886444868b303c8ee58c2c51_container",actions:"_78e6a181886444868b303c8ee58c2c51_actions",button:"_78e6a181886444868b303c8ee58c2c51_button",item:"_78e6a181886444868b303c8ee58c2c51_item",icon:"_78e6a181886444868b303c8ee58c2c51_icon",arrow:"_78e6a181886444868b303c8ee58c2c51_arrow",dropdown:"_78e6a181886444868b303c8ee58c2c51_dropdown",open:"_78e6a181886444868b303c8ee58c2c51_open"},td=function({quickAccess:e}){const{site:t,locale:n}=D.useContext(X),[r,a]=D.useState(!1),i=hc({packageName:t===U.alibabacloud?"@ali/hmod-alibabacloud-language-switch":Hc?"@ali/hmod-aliyun-language-switch-new":"@ali/hmod-aliyun-language-switch"});return D.createElement("div",{className:[ed.container,r?ed.open:""].filter(Boolean).join(" ")},D.createElement("div",{className:ed.dropdown},i?D.createElement(i,{locale:n}):null),D.createElement("div",{className:ed.actions},D.createElement("button",{className:ed.button,onClick:()=>a(!r)},D.createElement(lt,{className:ed.icon,name:"intl"}),K[n],D.createElement(lt,{className:ed.arrow,name:"put_away"})),e.filter(e=>"link"===e.type).map((e,t)=>D.createElement("a",{href:e.link,key:t,className:ed.item},e.name))))},nd="cfb6d6bb868da5f6e963b9ed319199bd_container",rd="cfb6d6bb868da5f6e963b9ed319199bd_content",ad="cfb6d6bb868da5f6e963b9ed319199bd_menus",id="cfb6d6bb868da5f6e963b9ed319199bd_detail",od="cfb6d6bb868da5f6e963b9ed319199bd_category",cd="cfb6d6bb868da5f6e963b9ed319199bd_selected",sd="cfb6d6bb868da5f6e963b9ed319199bd_title",ld="cfb6d6bb868da5f6e963b9ed319199bd_navs",ud="cfb6d6bb868da5f6e963b9ed319199bd_nav";let dd;const fd=function({menus:e,productConfig:t,solutionConfig:n,quickAccess:r,onClose:a}){const{root:i}=D.useContext(bt),{locale:o,site:c}=D.useContext(X),[s,l]=D.useState({}),[u,d]=D.useState([]);D.useEffect(function(){const t={},n=[],r=Date.now();Promise.all(e.map(function(e,r){return z(this,null,function*(){var a,i,c,s;let l=e.sourceId;if((null==(a=e.ab)?void 0:a.id)&&(null==(c=null==(i=e.ab)?void 0:i.buckets)?void 0:c.length)){const t=yield qu(e.ab.id),a=e.ab.buckets.find(e=>e.name===t);a&&(n[r]=a.config,(null==(s=a.config)?void 0:s.sourceId)&&(l=a.config.sourceId))}if(l)try{let n=yield it(l,o);n&&e.displayStyle===G.llmv2&&(n=n.reduce(function(e,t){var n,r;return"card"===(null==(r=null==(n=t.exts)?void 0:n.display)?void 0:r.value)?[...e,t]:t.children?[...e,...t.children]:e},[])),t[l]=n}catch(u){let e="";"string"==typeof u?e=u:u&&"string"==typeof u.message&&(e=u.message),Ze({type:"h5-nav-menu-load-error",source:l,error:e})}})})).then(function(){Ze({type:"h5-nav-menu-load-time",time:Date.now()-r}),l(t),d(n)})},[e,o]);const f=D.useMemo(function(){return Vu(t)},[t]),m=D.useMemo(function(){return Vu(n)},[n]),[h,p]=D.useState(0),[b,g]=D.useState(0);D.useEffect(function(){ot(e.map(function(e,t){const n=u[t];return(null==n?void 0:n.sourceId)?n.sourceId:e.sourceId}).filter(e=>!!e))},[e,u]);const v=e.map(function(e,t){return A(A({},e),u[t]||{})});if(!dd){if(!i)return null;dd=document.createElement("div"),i.appendChild(dd)}return F.createPortal(D.createElement("div",{className:`${nd} ${vt} ${_t} ${c===U.aliyun?yt:""}`},D.createElement(Ju,{onClose:a,trackerContent:"\u5173\u95edM\u7ad9\u83dc\u5355"}),D.createElement(td,{quickAccess:r}),D.createElement("div",{className:rd},D.createElement("ul",{className:ad},v.map(function(e,t){let n=null;return e.displayStyle===G.product?n=f:e.displayStyle===G.solution?n=m:e.sourceId&&(n=s[e.sourceId]),n?D.createElement("li",{className:`${od} ${t===h?cd:""}`,key:e.name},D.createElement("a",{className:sd,onClick:function(){t===h?p(-1):(p(t),g(0))}},e.name),e.displayStyle!==G.tile?D.createElement("nav",{className:ld},n.map(function(e,t){return D.createElement("a",{className:`${ud} ${t===b?cd:""}`,onClick:function(){t!==b&&g(t)},"data-tracker-scm":e.scm,key:e.id||e.title},e.title)})):null):null})),D.createElement("div",{className:id},D.createElement(Qu,{menu:v[h],dataSourceMap:s,productDataSource:f,solutionDataSource:m,selectedIndex:b})))),dd)},md="b3ba47554687f990707a0048d3546050_trigger",hd=function({className:e="",menus:t,productConfig:n,solutionConfig:r,quickAccess:a}){const[i,o]=D.useState(!1);return D.createElement(D.Fragment,null,D.createElement("button",{className:`${md} ${e}`,onClick:()=>o(!0),"data-tracker-content":"\u6253\u5f00M\u7ad9\u83dc\u5355"},D.createElement("img",{src:"https://img.alicdn.com/imgextra/i1/O1CN01Brs4C81doCcbIEL6F_!!6000000003782-2-tps-48-48.png",alt:H["mobile.menu"]})),i?D.createElement(pt,{name:"M\u7ad9\u4e0b\u62c9\u83dc\u5355"},D.createElement(fd,{menus:t,productConfig:n,solutionConfig:r,quickAccess:a,onClose:()=>o(!1)})):null)},pd="e67770def04c23550b841d82337fec99_container",bd="e67770def04c23550b841d82337fec99_mask",gd="e67770def04c23550b841d82337fec99_content",vd="e67770def04c23550b841d82337fec99_body";let yd;const _d=function({visible:e,userInfo:t,menus:n,banners:r,onClose:a}){const{locale:i,site:o}=D.useContext(X),c=hc({packageName:"@ali/hmod-ace-2024-my-aliyun-mobile"}),{root:s}=D.useContext(bt);if(!yd){if(!s)return null;yd=document.createElement("div"),s.appendChild(yd)}return e&&t?F.createPortal(D.createElement("div",{className:`${pd} ${vt} ${_t} ${o===U.aliyun?yt:""}`},D.createElement("div",{className:bd,onClick:()=>a()}),D.createElement("div",{className:gd},D.createElement(Ju,{onClose:a,trackerContent:"\u5173\u95edM\u7ad9\u6211\u7684\u963f\u91cc\u4e91"}),D.createElement("div",{className:vd},c?D.createElement(c,{locale:i,userInfo:t,sliders:(r||[]).filter(e=>!!e).map(e=>({title:e.title,desc:e.desc,imgSrc:e.image,link:e.link})),cardList:(n||[]).filter(e=>!!e).map(e=>({title:e.name,iconSrc:e.icon,link:e.link,tip:e.tip}))}):null))),yd):null},wd="bed46063d4098909834e8aa540efb983_container",Ed="bed46063d4098909834e8aa540efb983_mask",kd="bed46063d4098909834e8aa540efb983_content",xd="bed46063d4098909834e8aa540efb983_visible";let Cd;const Sd=function({onClose:e,visible:t,accountPanelConfig:n}){const{locale:r,site:a}=D.useContext(X),i=hc({packageName:"@ali/hmod-alibabacloud-account-panel"}),{root:o}=D.useContext(bt);if(!Cd){if(!o)return null;Cd=document.createElement("div"),o.appendChild(Cd)}return F.createPortal(D.createElement("div",{className:`${wd} ${vt} ${_t} ${a===U.aliyun?yt:""} ${t?xd:""}`},D.createElement("div",{className:Ed,onClick:()=>e()}),D.createElement("div",{className:kd},i?D.createElement(i,{language:r,links:(null==n?void 0:n.links)||[]}):null)),Cd)},Nd="_08969ce69a6fbfa100cb2a24f40fc985_button",$d="_08969ce69a6fbfa100cb2a24f40fc985_loading",Ad=function({className:e="",menus:t,banners:n,accountPanelConfig:r}){const[a,i]=D.useState(!1),{isLogin:o,userInfo:c,mobileLoginUrl:s}=D.useContext(oc),{site:l}=D.useContext(X),u="boolean"!=typeof o;return D.createElement(D.Fragment,null,D.createElement("button",{className:`${Nd} ${e}`,onClick:()=>{c?i(!0):!1===o&&s&&(location.href=s)},"data-tracker-content":"\u6253\u5f00M\u7ad9\u6211\u7684\u963f\u91cc\u4e91"},D.createElement("img",{className:u?$d:"",src:u?"https://img.alicdn.com/imgextra/i4/O1CN01zJMPkf1vvDtzGGQKW_!!6000000006234-2-tps-144-144.png":o?(null==c?void 0:c.accountPic)||"https://img.alicdn.com/imgextra/i4/O1CN01zJMPkf1vvDtzGGQKW_!!6000000006234-2-tps-144-144.png":"https://img.alicdn.com/imgextra/i3/O1CN01yXhn5t1WbC3mVT1db_!!6000000002806-2-tps-44-44.png","data-tracker-content":"\u5934\u90e8\u5bfc\u822a\u5934\u50cf",alt:H["account.avatar"]})),D.createElement(pt,{name:"M\u7ad9\u6211\u7684\u963f\u91cc\u4e91\u9762\u677f"},l===U.alibabacloud?D.createElement(Sd,{visible:a,accountPanelConfig:r,onClose:()=>i(!1)}):D.createElement(_d,{visible:a,userInfo:c,menus:t,banners:n,onClose:()=>i(!1)})))};function Pd(e,t){return z(this,null,function*(){localStorage.setItem(e,t)})}const Od={btn:"_067c06577330c72cb8ebc7f843e2731d_btn",tip:"_067c06577330c72cb8ebc7f843e2731d_tip",show:"_067c06577330c72cb8ebc7f843e2731d_show",info:"_067c06577330c72cb8ebc7f843e2731d_info"},Id="ai-assistant-tip",Ld=function({className:e=""}){const[t,n]=D.useState(!1);return D.useEffect(function(){function e(e){n(!0);const t=function(){n(!1),document.removeEventListener("click",t,!1)};document.addEventListener("click",t,!1),setTimeout(t,5e3),Pd(Id,e?JSON.stringify({closeCount:e.closeCount+1,lastCloseTime:Date.now()}):JSON.stringify({closeCount:1,lastCloseTime:Date.now()}))}(function(e){return z(this,null,function*(){return localStorage.getItem(e)})})(Id).then(function(t){if(!t)return void e();const n=JSON.parse(t);n?n.closeCount>1||Date.now()-n.lastCloseTime<864e5||e(n):e()})},[]),D.createElement(xu,{className:[Od.btn,e].join(" ")},D.createElement("div",{className:`${Od.tip} ${t?Od.show:""}`},D.createElement("p",{className:Od.info},H["mobile.ai-assistant-tip"])))};function Rd(){return document.cookie.replace(/(?:(?:^|.*;\s*)channel\s*=\s*([^;]*).*$)|^.*$/,"$1")}function Md(e){const t=new URLSearchParams(location.search).get("utm_content");let n,r;if(t&&(n=t.match(/^m_(\d+)$/))){r=`https://click.aliyun.com/m/${n[1]}/?inAlipayWebView=true&utm_channel=${Rd()}`}else{r=e||location.href;const t=new URL(r);t.searchParams.set("inAlipayWebView","true"),r=`${t.protocol}//${t.host}${t.pathname}${t.search}${t.hash}`}return`alipays://platformapi/startapp?appId=2021004100605659&page=%2Fpages%2Fwebview%2Fwebview%3Furl%3D${encodeURIComponent(encodeURIComponent(r))}`}function Td(e){const t=Rd();return t?e+(e.includes("?")?"&":"?")+`_utm_channel_=${t}`:e}function jd(e,t){return z(this,null,function*(){localStorage.setItem(e,t)})}const zd="mobile-topbar-banner";function Dd(){return z(this,null,function*(){let e={};try{const t=yield function(e){return z(this,null,function*(){return localStorage.getItem(e)})}(zd);t&&(e=JSON.parse(t))}catch(t){return window.console.log(t),Ze({type:"mobile-nav-banner",name:"get-storage-error",error:Je(t)}),null}if(function(e){let t=!1;const n=Date.now()-2592e6;return Object.keys(e).forEach(function(r){e[r].time<n&&(delete e[r],t=!0)}),t}(e))try{yield jd(zd,JSON.stringify(e))}catch(t){Ze({type:"mobile-nav-banner",name:"set-storage-error",error:Je(t)})}return e})}const Fd="b9597db622ab0cad8a532b789afe3bb2_container",Wd="b9597db622ab0cad8a532b789afe3bb2_bg",Bd="b9597db622ab0cad8a532b789afe3bb2_inner",Hd="b9597db622ab0cad8a532b789afe3bb2_close",Ud="b9597db622ab0cad8a532b789afe3bb2_icon",Vd="b9597db622ab0cad8a532b789afe3bb2_content",Gd="b9597db622ab0cad8a532b789afe3bb2_theme-image",qd="b9597db622ab0cad8a532b789afe3bb2_button";const Yd=D.memo(function({dynamicConfig:e,effectiveScope:t,omitUA:n,onVisibleChange:r,onHeightChange:a}){var i,o,c,s,l,u;const[d,f]=D.useState(!1),m=(null==e?void 0:e.link)||(null==(i=null==e?void 0:e.button)?void 0:i.link)||(null==(o=null==e?void 0:e.background)?void 0:o.image)||(null==e?void 0:e.themeImage);D.useEffect(function(){m&&function(e){return z(this,null,function*(){const t=yield Dd();return!t||!!t[e]})}(m).then(function(e){e||f(!0)})},[m]);const h=D.useRef(null);if(D.useEffect(function(){const e=h.current;if(!e)return;const t=function(){if(a){const t=e.offsetHeight;a(t)}};return t(),window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}},[h.current]),!d||!m)return null;if(function(e){const t=navigator.userAgent;return!!e&&e.some(e=>-1!==t.indexOf(e))}(n))return null;if(!qi(t))return null;let p="",b="";return(null==e?void 0:e.openType)===q.alipay?(p=Md(e.link),location.href=p):(null==(c=null==e?void 0:e.button)?void 0:c.openType)===q.alipay&&(b=Md(e.button.link),location.href=b),r&&r(!0),D.createElement(Kd,{link:p||((null==e?void 0:e.link)?Td(null==e?void 0:e.link):void 0),backgroundColor:null==(s=null==e?void 0:e.background)?void 0:s.color,backgroundImage:null==(l=null==e?void 0:e.background)?void 0:l.image,scm:null==e?void 0:e.__scm,ref:h},"true"===(null==e?void 0:e.supportClose)&&D.createElement("a",{className:Hd,onClick:()=>{f(!1),r&&r(!1);try{!function(e){z(this,null,function*(){const t=(yield Dd())||{};t[e]={time:Date.now()};try{yield jd(zd,JSON.stringify(t)),Ze({type:"mobile-nav-banner",name:"close"})}catch(n){window.console.log(n),Ze({type:"mobile-nav-banner",name:"set-storage-error",error:Je(n)})}})}(m)}catch(e){}}},D.createElement(lt,{className:Ud,name:"close"})),D.createElement("div",{className:Vd},(null==e?void 0:e.themeImage)&&D.createElement("img",{className:Gd,src:e.themeImage}),(null==(u=null==e?void 0:e.button)?void 0:u.text)&&(b||e.button.link)&&D.createElement("a",{className:qd,href:b||Td(e.button.link)},e.button.text)))}),Kd=D.forwardRef(function({link:e,backgroundColor:t="",backgroundImage:n,scm:r,children:a},i){const o={};return t&&(o.backgroundColor=t),n&&(o.backgroundImage=`url(${n})`),D.createElement("div",{className:Fd,style:o,ref:i,"data-tracker-scm":r},e?D.createElement(D.Fragment,null,D.createElement("a",{className:Wd,href:e}),D.createElement("div",{className:Bd},a)):a)}),Zd={container:"_866fd689f9b40c3607cfb570d98a0a9c_container",actions:"_866fd689f9b40c3607cfb570d98a0a9c_actions",item:"_866fd689f9b40c3607cfb570d98a0a9c_item",fixed:"_866fd689f9b40c3607cfb570d98a0a9c_fixed",hidden:"_866fd689f9b40c3607cfb570d98a0a9c_hidden"},Jd=function({fixed:e,groundGlass:t,hasSubNav:n,bannerHeight:r=0,children:a}){const[i,o]=D.useState(!1);return D.useEffect(function(){let e=window.scrollY,t=0,n=0;const a=function(){const a=window.scrollY;if(a<42+r)return e=a,void(i&&o(!1));const c=a>e?1:-1;if(c!==t)return t=c,n=1,void(e=a);if(n<3)return n++,void(e=a);const s=1===c;s!==i&&o(s),e=a};return window.addEventListener("scroll",a),function(){window.removeEventListener("scroll",a)}},[i]),e?D.createElement("div",{className:Zd["fixed-placeholder"],style:{height:n?t?`${42+r}px`:`${84+r}px`:t?`${.1+r}px`:`${42+r}px`}},D.createElement("div",{className:`${Zd.fixed} ${i?Zd.hidden:""}`,style:{"--translate-y":`-${42+r}px`}},a)):D.createElement(D.Fragment,null,a)},Xd=function({site:e,fixed:t,fixedEffectiveScope:n,menus:r,productConfig:a,solutionConfig:i,searchOption:o,quickAccess:c,myAliyunConfig:s,accountPanelConfig:l,banner:u,showDisclaimer:d,children:f}){const[m,h]=D.useState(!1),[p,b]=D.useState(0),g=t&&qi(n);return D.useEffect(function(){var e,t;const n=Mu()?0:42+(m?p:0);return null==(t=null==(e=document.querySelector(":root"))?void 0:e.style)||t.setProperty("--topbar-main-height",n+"px"),Wu.isFixed=g||!1,Wu.height=n,()=>{var e,t;null==(t=null==(e=document.querySelector(":root"))?void 0:e.style)||t.setProperty("--topbar-main-height","0px")}},[m,p,g]),D.createElement(Jd,{fixed:g,hasSubNav:D.Children.count(f)>0,bannerHeight:m?p:0},D.createElement(pt,{name:"mobile-banner"},D.createElement(Yd,P(A({},u),{onVisibleChange:e=>{h(e)},onHeightChange:e=>{b(e)}}))),D.createElement("header",{className:Zd.container},D.createElement(Rc,{site:e,terminal:"mobile"}),D.createElement("div",{className:Zd.actions},o&&o.children?D.createElement("div",{className:Zd.item},o.children):null,D.createElement(Ld,{className:Zd.item}),D.createElement(Ad,{className:Zd.item,menus:s.menus,banners:s.banners,accountPanelConfig:l}),D.createElement(hd,{className:Zd.item,menus:r,productConfig:a,solutionConfig:i,quickAccess:c}))),f,d?D.createElement("aliyun-disclaimer",null):null)};let Qd=null;const ef=function({rootElement:e}){const[t,n]=D.useState(!1);return D.useEffect(()=>{if(!e)return;if(e.getRootNode){if(11===e.getRootNode().nodeType)return}const t=document.body;if(!t)return;const r=function(){t.classList.contains("__fallback_topbar__")?(n(!0),Qd||(Qd=pn("//cloud-assets.alicdn.com/common/topbar/www.zh.js").then(function(){Ze({type:"fallback",success:!0})}).catch(function(){Ze({type:"fallback",success:!1})}))):n(!1)},a=new MutationObserver(function(e){e.forEach(function(e){"attributes"===e.type&&"class"===e.attributeName&&r()})});return a.observe(t,{attributes:!0}),r(),()=>a.disconnect()},[e]),t?D.createElement("topbar-www",null):null},tf={[U.alibabacloud]:"https://website.alcasset.com/npm/@ali/hmod-disclaimer-2025/latest/index.js",[U.aliyun]:"https://website.alyasset.com/npm/@ali/hmod-disclaimer-2025/latest/index.js"};function nf(){const{root:e}=D.useContext(bt),{site:t}=D.useContext(X);return D.useEffect(()=>{if(!e)return;if(!window.biu)return;const n=tf[t];n&&pn(n)},[e,t]),null}const rf=["www.aliyun.com","help.aliyun.com","account.aliyun.com"],af=location.hostname.endsWith(".aliyun.cn"),of=location.hostname.startsWith("pre-");function cf(e){if(!af)return;const t=e.composedPath().find(e=>e instanceof HTMLElement&&"A"===e.tagName);if(t&&t.href)try{const e=new URL(t.href);if(rf.includes(e.hostname)){const n=(of?"pre-":"")+e.hostname.replace(".aliyun.com",".aliyun.cn");t.href=t.href.replace(e.hostname,n)}}catch(n){}}const sf="_3bd147f6948a20d6c528ac898ad4ba47_pc",lf="_3bd147f6948a20d6c528ac898ad4ba47_mobile";const uf=new(function(){return ue(function e(){oe(this,e),de(this,"interval",100),de(this,"tasks",void 0),de(this,"runing",!1),de(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 df(e){var t=document.querySelector(e);return!t&&window.$$customElementInfos&&Object.keys(window.$$customElementInfos).some(function(n){return window.$$customElementInfos[n].instances.some(function(n){if(n.shadowRoot&&(t=n.shadowRoot.querySelector(e)))return!0})}),t}function ff(e){var t=Array.from(document.querySelectorAll(e));return window.$$customElementInfos&&Object.keys(window.$$customElementInfos).some(function(n){return window.$$customElementInfos[n].instances.some(function(n){if(n.shadowRoot){var r=Array.from(n.shadowRoot.querySelectorAll(e));if(r.length)return t=[].concat(ie(t),r),!0}})}),t}var mf=ue(function e(t){oe(this,e),de(this,"schema",void 0),de(this,"monitor",void 0),de(this,"cycleTask",uf),de(this,"querySelector",df),de(this,"querySelectorAll",ff),this.schema=t,this.monitor=new Ue({biz:t.biz})}),hf={exports:{}},pf="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(pf){var bf=new Uint8Array(16);hf.exports=function(){return pf(bf),bf}}else{var gf=new Array(16);hf.exports=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),gf[t]=e>>>((3&t)<<3)&255;return gf}}for(var vf=hf.exports,yf=[],_f=0;_f<256;++_f)yf[_f]=(_f+256).toString(16).substr(1);var wf=function(e,t){var n=t||0,r=yf;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")},Ef=vf,kf=wf;var xf=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||Ef)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var i=0;i<16;++i)t[r+i]=a[i];return t||kf(a)};const Cf=he(xf);function Sf(){return window.$$customElementInfos&&Object.keys(window.$$customElementInfos).some(e=>/^topbar\-/.test(e))?"webc":"ssg"}class Nf extends mf{constructor(e){super(e),I(this,"navs"),I(this,"renderCompleted",!1),I(this,"uuid"),I(this,"url"),this.uuid=Cf();const t=new URL(location.href);this.url=t.host+t.pathname,this.loadComplete(),this.navs=[],this.setupNavCountMonitor(),this.setupWhiteScreenMonitor()}report(e){this.monitor.report(P(A({},e),{uuid:this.uuid,url:this.url,terminal:this.schema.terminal}))}setupNavCountMonitor(){let e=!0,t=!1;this.cycleTask.addTask(()=>{this.navs=this.querySelectorAll(`.${Sa}`);const n=this.navs.length;e?(e=!1,n>0&&this.renderComplete(!0)):n>0?this.renderCompleted||this.renderComplete(!1):this.renderCompleted&&!t&&(this.report({type:"nav-render-error",time:performance.now()}),t=!0)})}setupWhiteScreenMonitor(){this.monitor.on("beforeunload",()=>{this.renderCompleted||this.report({type:"nav-render-time",time:performance.now(),count:0,mode:Sf()})})}loadComplete(){this.report({type:"nav-load-time",time:performance.now()})}renderComplete(e){this.report({type:"nav-render-time",time:e?0:performance.now(),count:this.navs.length,mode:Sf()}),this.renderCompleted=!0}}class $f extends mf{constructor(e){super(e),I(this,"renderCompleted",!1),I(this,"uuid"),I(this,"url"),this.uuid=Cf();const t=new URL(location.href);this.url=t.host+t.pathname,this.loadComplete(),this.setupNavMonitor(),this.setupWhiteScreenMonitor()}report(e){this.monitor.report(P(A({},e),{uuid:this.uuid,url:this.url,terminal:this.schema.terminal}))}setupNavMonitor(){let e=!0,t=!1;this.cycleTask.addTask(()=>{const n=this.querySelector(`.${md}`),r=this.querySelector(`.${Nd}`),a=n&&r;e?(e=!1,a&&this.renderComplete(!0)):a?this.renderCompleted||this.renderComplete(!1):this.renderCompleted&&!t&&(this.report({type:"h5-nav-render-error",time:performance.now()}),t=!0)})}setupWhiteScreenMonitor(){this.monitor.on("beforeunload",()=>{this.renderCompleted||this.report({type:"h5-nav-render-time",time:performance.now(),isReady:!1,mode:Sf()})})}loadComplete(){this.report({type:"h5-nav-load-time",time:performance.now()})}renderComplete(e){this.report({type:"h5-nav-render-time",time:e?0:performance.now(),isReady:!0,mode:Sf()}),this.renderCompleted=!0}}try{window.innerWidth>1055?new Nf({biz:"topbar",terminal:fn}):new $f({biz:"topbar",terminal:fn})}catch(Pf){window.console.error(Pf)}n.exports=function({site:e=U.aliyun,fixNav:t,groundGlass:n,mobileFixNav:r,mobileFixNavEffectiveScope:a,theme:i,superPortal:o,productConfig:c,solutionConfig:s,items:l,searchOption:u,quickAccess:d=[],accountConfig:f,accountPanelConfig:m,banner:h,mobileBanner:p,showDisclaimer:b,mobileShowDisclaimer:g,background:v,mobileMyAliyun:y,children:_}){const[w,E]=D.useState(null);return D.useEffect(function(){const e=new Fu;return function(){e.destructor()}},[]),D.createElement(Q,{site:e,theme:i===V.dark?J.dark:J.light},D.createElement(sc,{site:e},D.createElement(gt,{refElement:w,isFixed:!0===t,groundGlass:!0===n},D.createElement(nf,null),D.createElement(X.Consumer,null,({terminal:i})=>D.createElement(D.Fragment,null,D.createElement("div",{className:`${sf} ${_t} ${vt} ${e===U.aliyun?yt:""}`,ref:e=>E(e),"data-ai-assistant-text-selection-tooltip":"disabled",onMouseDown:e=>cf(e.nativeEvent)},i===W.pc?D.createElement(D.Fragment,null,D.createElement(Uu,{site:e,fixed:t,groundGlass:n,superPortal:o,menus:l||[],productConfig:c,solutionConfig:s,searchOption:u,quickAccess:d,accountConfig:f,accountPanelConfig:m,banner:h,background:v,showDisclaimer:b}),D.createElement(ef,{rootElement:w}),_):null),D.createElement("div",{className:`${lf} ${_t} ${vt} ${e===U.aliyun?yt:""}`,onMouseDown:e=>cf(e.nativeEvent)},i===W.mobile?D.createElement(D.Fragment,null,D.createElement(Xd,{site:e,fixed:r,fixedEffectiveScope:a,menus:l||[],productConfig:c,solutionConfig:s,searchOption:u,quickAccess:d,myAliyunConfig:y||{menus:[]},accountPanelConfig:m,banner:p,showDisclaimer:g},_),D.createElement(ef,{rootElement:w})):null))))))}});
