var feloader=function(t){!function(t){"use strict";for(var e,r,n={},i=function(){},o="memory".split(","),a="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");e=o.pop();)t[e]=t[e]||n;for(;r=a.pop();)t[r]=t[r]||i}(this.console=this.console||{});var e=this,r=function(){this.Env={host:e,mods:{}},this.Config={debug:"",packages:{},fns:{},useDailyAssets:!1,forceAssetsHost:t,assetsHost:"g.alicdn.com",dailyAssetsHost:"g-assets.daily.taobao.net",crossorigin:!1};var r=this.Loader={};r.Status={ERROR:-1,UNLOADED:0,LOADING:1,LOADED:2,INITIALIZING:3,INITIALIZED:4},this.initUtils(),this.initDataStructure(),this.initCssOnLoad(),this.initGetScript(),this.initConfig(),this.initComboLoader(),this.initLoader(),this.init()};return r.prototype.__BUILD_TIME="",r.prototype.version="5.0.5",r.prototype.config=function(e,r){var n,i,o,a=this.Config,s=a.fns,u=this;if("string"==typeof e)n=s[e],r===t?i=n?n.call(u):a[e]:n?i=n.call(u,r):a[e]=r;else for(var c in e)r=e[c],o=s[c],o?o.call(u,r):a[c]=r;return i},r}();!function(t){function e(t){var e=t.match(u)||[],r={};for(var n in c)r[n]=e[c[n]];return r.hostname&&(r.hostname=r.hostname.toLowerCase()),r.hostname&&!r.pathname&&(r.pathname="/"),r.host=r.hostname,r.port&&(r.host=r.hostname+":"+r.port),r}function r(t){var e=0;return parseFloat(t.replace(/\./g,function(){return 0===e++?".":""}))}function n(t){var e=t.split(/\//);return"/"===t.charAt(0)&&e[0]&&e.unshift(""),"/"===t.charAt(t.length-1)&&t.length>1&&e[e.length-1]&&e.push(""),e}function i(t,e){var r,n,i=0;if(l(t))for(n=t.length;n>i&&e(t[i],i,t)!==!1;i++);else for(r=o(t),n=r.length;n>i&&e(t[r[i]],r[i],t)!==!1;i++);}function o(t){var e=[];for(var r in t)e.push(r);return e}function a(t,e){for(var r in e)t[r]=e[r];return t}function s(t){return"/"===t.charAt(0)&&(t=0===t.indexOf("//")?location.protocol+t:location.protocol+"//"+location.host+t),"/"===t.charAt(t.length-1)&&(t+="index"),p.endsWith(t,".js")&&(t=t.slice(0,-3)),t}var u=new RegExp("^([\\w\\d+.-]+:)?(?://(?:([^/?#@]*)@)?([\\w\\d\\-\\u0100-\\uffff.+%]*|\\[[^\\]]+\\])(?::([0-9]+))?)?([^?#]+)?(\\?[^#]*)?(#.*)?$"),c={protocol:1,auth:2,hostname:3,port:4,pathname:5,search:6,hash:7},l=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},f=/(http(s)?:)?\/\/([^\/]+)(?::(\d+))?/,d=Array.prototype.map,h=Array.prototype.filter,g=String.prototype.startsWith,p={noop:function(){},filter:h?function(t,e,r){return d.call(t,e,r||this)}:function(t,e,r){for(var n=t.length,i=new Array(n),o=0;n>o;o++){var a="string"==typeof t?t.charAt(o):t[o];(a||o in t)&&e.call(r||this,a,o,t)&&i.push(a)}return i},map:d?function(t,e,r){return d.call(t,e,r||this)}:function(t,e,r){for(var n=t.length,i=new Array(n),o=0;n>o;o++){var a="string"==typeof t?t.charAt(o):t[o];(a||o in t)&&(i[o]=e.call(r||this,a,o,t))}return i},startsWith:g?function(t,e){return g.call(t,e)}:function(t,e){return 0===t.lastIndexOf(e,0)},isEmptyObject:function(t){for(var e in t)if(void 0!==e)return!1;return!0},endsWith:function(t,e){var r=t.length-e.length;return r>=0&&t.indexOf(e,r)===r},now:Date.now||function(){return+new Date},each:i,keys:o,isArray:l,indexOf:function(t,e){for(var r=0,n=e.length;n>r;r++)if(e[r]===t)return r;return-1},normalizeSlash:function(t){return t.replace(/\\/g,"/")},normalizePath:function(t,r){var i=r.charAt(0);if("."!==i)return r;var o="";if(p.startsWithProtocol(t)){var a=e(t);o=a.protocol+"//"+a.host,t=a.pathname}var s=n(t),u=n(r);s.pop();for(var c=0,l=u.length;l>c;c++){var f=u[c];"."===f||(".."===f?s.pop():s.push(f))}return o+s.join("/").replace(/\/+/,"/")},startsWithProtocol:function(t){return p.startsWith(t,"http:")||p.startsWith(t,"https:")||p.startsWith(t,"file:")},isSameOriginAs:function(t,e){var r=t.match(f),n=e.match(f);return r[0]===n[0]},getHash:function(t){var e,r=5381;for(e=t.length;--e>-1;)r=(r<<5)+r+t.charCodeAt(e);return r+""},getSuffix:function(t){var e=t.match(/\.(\w+)$/);return e?e[1]:void 0}},m=function(){var t,e,n=this.Loader,i=this.Env,o=n.Status,u=i.mods,c=i.host,l=n.Utils={},f=c.document,d=(c.navigator||{}).userAgent||"";((t=d.match(/Web[Kk]it[\/]{0,1}([\d.]*)/))||(t=d.match(/Safari[\/]{0,1}([\d.]*)/)))&&t[1]&&(l.webkit=r(t[1])),(t=d.match(/Trident\/([\d.]*)/))&&(l.trident=r(t[1])),(t=d.match(/Gecko/))&&(l.gecko=.1,(t=d.match(/rv:([\d.]*)/))&&t[1]&&(l.gecko=r(t[1]))),(t=d.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/))&&(e=t[1]||t[2])&&(l.ie=r(e),l.ieMode=f.documentMode||l.ie,l.trident=l.trident||1),a(l,p),a(l,{mix:a,docHead:function(){return f.getElementsByTagName("head")[0]||f.documentElement},collectErrors:function(t,e,r){var n,i,a,s;for(r=r||{},e=e||[],n=0;n<t.length;n++)a=t[n],i=a.id,r[i]||(r[i]=1,s=a.status,s!==o.ERROR?l.collectErrors(a.getNormalizedRequiredModules(),e,r):e.push(a));return e},createModule:function(t,e){t=s(t);var r=u[t];return r||(r=u[t]),r?(e&&r.reset(e),r):(u[t]=r=new n.Module(a({id:t},e)),r)},createModules:function(t){return l.map(t,function(t){return l.createModule(t)})},initModules:function(t){var e,r=t.length,n=1;for(e=0;r>e;e++)n&=t[e].initRecursive();return n},getModulesExports:function(t){for(var e=t.length,r=[],n=0;e>n;n++)r.push(t[n].getExports());return r},addModule:function(t,e,r){var n=u[t];return n&&void 0!==n.factory?(console.warn(t+" is defined more than once"),void 0):(l.createModule(t,a({id:t,status:o.LOADED,factory:e},r)),void 0)}})};t.prototype.initUtils=m}(feloader),function(t,e){function r(t,r){var n=this;n.name=e,n.base=e,n.main=e,n.filter=e,n.tag=e,n.charset=e,n.combine=e,n.group=e,n.modules={},n.ctx=r,n.ctx.Loader.Utils.mix(n,t)}function n(t,r){return t[r]!==e?t[r]:t.ctx.Config[r]}function i(t,e,r){for(var n=0;n<e.length;n++)e[n]=t.resolve(e[n]).id;t.ctx.use(e,r)}function o(t,r){var n=this;n.ctx=r;var o=this.ctx.Loader.Status,a=this.ctx.Loader.Utils;n.exports=e,n.module=n,n.status=o.UNLOADED,n.id=e,n.factory=e,n.config=e,n.cjs=1;var s=this.ctx.Loader.Utils.mix;s(n,t),n.waits={};var u=n._require=function(t,e){if("string"==typeof t){var r=n.resolve(t);return a.initModules(r.getNormalizedModules()),r.getExports()}i(n,t,e)};u.toUrl=function(t){var e=n.getUri(),r="",i=e,o=e.indexOf("//");return-1!==o&&(r=e.slice(0,o+2),i=e.slice(o+2)),r+a.normalizePath(i,t)},u.load=r.getScript}function a(e,r){var n=e.indexOf("!");if(-1!==n){var i=e.substring(0,n);e=e.substring(n+1);var o=r.ctx.Loader.Utils.createModule(i);o.initRecursive();var a=o.getExports()||{};a.alias&&(e=a.alias(t,e,i))}return e}function s(t,e){t=t||[];for(var r=t.length,n=0;r>n;n++)t[n]=e.resolve(t[n]).id;return t}function u(t){var e,r=t.id,n=t.alias;if("string"==typeof n&&(t.alias=n=[n]),n)return n;if(e=t.getPackage()){var i;e.name===r&&(i=e.main)?(r+="/","."!==i.charAt(0)&&(i="./"+i),n=[t.ctx.Loader.Utils.normalizePath(r,i)]):e.alias&&(n=e.alias(r))}return n=t.alias=n||[a(r,t)]}var c="ignorePackageNameInUri";r.prototype={constructor:r,reset:function(t){this.ctx.Loader.Utils.mix(this,t);for(var e in this.modules)this.modules[e].reset()},getFilter:function(){return n(this,"filter")},getTag:function(){return n(this,"tag")},getBase:function(){return this.base},getCharset:function(){return n(this,"charset")},isCombine:function(){return n(this,"combine")},isIgnorePackageNameInUri:function(){return n(this,c)},getGroup:function(){return n(this,"group")},addChildModule:function(t,e){this.modules[t]=e}},o.prototype={feloader:1,constructor:o,config:function(){return this.config},reset:function(t){var e=this,r=this.ctx.Loader.Utils.mix;r(e,t),t&&t.requires&&e.setRequiresModules(t.requires),delete e.packageInfo},require:function(t){return this.resolve(t).getExports()},resolve:function(t){var e=this.ctx.Loader.Utils;return e.createModule(e.normalizePath(this.id,t))},add:function(t){this.waits[t.id]=t},remove:function(t){delete this.waits[t.id]},contains:function(t){return this.waits[t.id]},flush:function(){this.ctx.Loader.Utils.each(this.waits,function(t){t.flush()}),this.waits={}},getType:function(){var t=this.ctx.Loader.Utils,e=this,r=e.type;if(!r){var n=e.id;r=t.endsWith(n,".css")?"css":"js",e.type=r}return r},getAlias:function(){var t=this,e=t.id,r=u(t),n=[];if(r[0]===e)n=r;else if(r.length>1)for(var i=0,o=r.length;o>i;i++){var a=r[i];if(a&&a!==e){var s=this.ctx.Loader.Utils.createModule(a),c=s.getAlias();c?n.push.apply(n,c):n.push(a)}}else n.push(r[0]);return t.normalizedAlias=n,n},getNormalizedModules:function(){var t=this,e=t.getAlias(),r=[],n=this.ctx.Loader.Utils;return n.each(e,function(t){t&&r.push(t)}),t.normalizedModules=n.map(r,function(e){return t.ctx.Loader.Utils.createModule(e)}),t.normalizedModules},fixTwoVersion:function(t){var e=/(\d+\.\d+\.\d+\/.*)\d+\.\d+\.\d+\//;return e.test(t)&&(t=t.replace(e,"$1")),t},getUri:function(){var t=this;return t.uri=this.ctx.Loader.Utils.normalizeSlash(this.ctx.Config.resolveModFn(t)),this.fixTwoVersion(t.uri)},getUrl:function(){return this.getUri()},getExports:function(){var t=this.getNormalizedModules();return t[0]&&t[0].exports},getPackage:function(){var t=this;if("undefined"!=typeof t.packageInfo)return t.packageInfo;var e=t.id,r=this.ctx.Config,n=this.ctx.Loader.Utils,i=n.startsWith,o=n.filter,a=r.packages,s=t.id+"/",u=o(s.split("/"),function(t){return t.length>0}).slice(0,2).join("/");if(a[u])return t.packageInfo=a[u],t.packageInfo;u="";var c;for(c in a){var l=c;n.endsWith(l,"/")||(l+="/"),i(s,l)&&c.length>u.length&&(u=c)}return a[u]?(t.packageInfo=a[u],t.packageInfo.addChildModule(u,t),t.packageInfo):i(e,"/")||i(e,"http://")||i(e,"https://")||i(e,"file://")?(t.packageInfo=null,t.packageInfo):(t.packageInfo=a.core,t.packageInfo)},getTag:function(){var t=this;return t.tag||t.getPackage()&&t.getPackage().getTag()},getCharset:function(){var t=this;return t.charset||t.getPackage()&&t.getPackage().getCharset()},setRequiresModules:function(t){var e=this,r=e.requiredModules=e.ctx.Loader.Utils.map(s(t,e),function(t){return e.ctx.Loader.Utils.createModule(t)}),n=[];this.ctx.Loader.Utils.each(r,function(t){n.push.apply(n,t.getNormalizedModules())}),e.normalizedRequiredModules=n},getNormalizedRequiredModules:function(){var t=this;return t.setRequiresModules(t.requires),t.normalizedRequiredModules},getRequiredModules:function(){var t=this;return t.requiredModules?t.requiredModules:(t.setRequiresModules(t.requires),t.requiredModules)},callFactory:function(){var t=this;return t.factory.apply(t,t.cjs?[t._require,t.exports,t]:t.ctx.Loader.Utils.map(t.getRequiredModules(),function(t){return t.getExports()}))},initSelf:function(){var t,r=this,n=r.factory,i=this.ctx.Config,o=this.ctx.Loader.Status,a=this.ctx.Loader.Utils;if("function"==typeof n){if(r.exports={},i.debug)t=r.callFactory();else{try{t=r.callFactory()}catch(s){if(r.status=o.ERROR,r.onError||i.onModuleError){var u={type:"init",exception:s,module:r};r.error=u,r.onError&&r.onError(u),i.onModuleError&&i.onModuleError(u)}else setTimeout(function(){throw s},0);return 0}var c=1;if(a.each(r.getNormalizedRequiredModules(),function(t){return t.status===o.ERROR?(c=0,!1):void 0}),!c)return 0}t!==e&&(r.exports=t)}else r.exports=n;return r.status=o.INITIALIZED,r.afterInit&&r.afterInit(r),i.afterModuleInit&&i.afterModuleInit(r),1},initRecursive:function(){var t=this,e=1,r=t.status,n=this.ctx.Loader.Status,i=this.ctx.Loader.Utils;return r===n.ERROR?0:r>=n.INITIALIZING?e:(t.status=n.INITIALIZING,t.cjs?e=t.initSelf():(i.each(t.getNormalizedRequiredModules(),function(t){e=e&&t.initRecursive()}),e&&t.initSelf()),e)},undef:function(){this.status=this.ctx.Loader.Status.UNLOADED,this.error=null,this.factory=null,this.exports=null}};var l=function(){var t=this,e=this.Loader;e.Package=function(e){return new r(e,t)},e.Module=function(e){return new o(e,t)}};t.prototype.initDataStructure=l}(feloader),function(t){var e=function(){function t(){o||r()}function e(t){var e=0;if(i.webkit)t.sheet&&(e=1);else if(t.sheet)try{var r=t.sheet.cssRules;r&&(e=1)}catch(n){var o=n.name;"NS_ERROR_DOM_SECURITY_ERR"===o&&(e=1)}return e}function r(){for(var t in a){var s=a[t],u=s.node;e(u)&&(s.callback&&s.callback.call(u),delete a[t])}o=i.isEmptyObject(a)?0:setTimeout(r,n)}var n=30,i=this.Loader.Utils,o=0,a={};i.pollCss=function(e,r){var n=e.href,i=a[n]={};i.node=e,i.callback=r,t()},i.isCssLoaded=e};t.prototype.initCssOnLoad=e}(feloader),function(t){var e=function(){var t,e=1e3,r=this.Env.host,n=r.document,i=this.Loader.Utils,o=this.Config,a={},s=i.webkit;this.getScript=function(r,u,c,l){function f(){var t=M.readyState;t&&"loaded"!==t&&"complete"!==t||(M.onreadystatechange=M.onload=null,E(0))}var d,h,g,p,m,v=u,y=o.crossorigin,x=i.endsWith(r,".css");if(l===!0?y=!0:l===!1&&(y=!1),"object"==typeof v&&(u=v.success,d=v.error,h=v.timeout,c=v.charset,g=v.attrs,v.crossorigin===!0?y=!0:v.crossorigin===!1&&(y=!1)),x&&i.ieMode<10&&n.getElementsByTagName("style").length+n.getElementsByTagName("link").length>=31)return setTimeout(function(){throw new Error("style and link's number is more than 31.ie < 10 can not insert link: "+r)},0),d&&d(),void 0;if(p=a[r]=a[r]||[],p.push([u,d]),p.length>1)return p.node;var M=n.createElement(x?"link":"script"),b=function(){m&&(clearTimeout(m),m=void 0)};g&&i.each(g,function(t,e){M.setAttribute(e,t)}),c&&(M.charset=c),x?(M.href=r,M.rel="stylesheet"):(M.src=r,M.async=!0,y&&M.setAttribute("crossorigin","anonymous")),p.node=M;var E=function(t){var e,n=t;b(),i.each(a[r],function(t){(e=t[n])&&e.call(M)}),delete a[r]},L="onload"in M,k=o.forceCssPoll||s&&536>s||!s&&!i.trident&&!i.gecko;return x&&k&&L&&(L=!1),L?(M.onload=f,M.onerror=function(){M.onerror=null,E(1)}):x?i.pollCss(M,function(){E(0)}):M.onreadystatechange=f,h&&(m=setTimeout(function(){E(1)},h*e)),t||(t=i.docHead()),x?t.appendChild(M):t.insertBefore(M,t.firstChild),M}};t.prototype.initGetScript=e}(feloader),function(t,e){function r(t,e){return function(r){var n={};for(var i in r)n[i]={},n[i][t]=r[i];e.config("modules",n)}}var n=function(){function t(t,e){if(t=s.normalizeSlash(t),e&&"/"!==t.charAt(t.length-1)&&(t+="/"),l){if(s.startsWith(t,"http:")||s.startsWith(t,"//")||s.startsWith(t,"https:")||s.startsWith(t,"file:"))return t;t=l.protocol+"//"+l.host+s.normalizePath(l.pathname,t)}return t}function n(t,e,r){var n=e.getTag()||c.tag||"";return n&&(r&&(n+=r),t+="?t="+n),t}var i=this,o=this.Loader,a=o.Package,s=o.Utils,u=this.Env.host,c=this.Config,l=u.location,f=c.fns;c.loadModsFn=function(t,e){i.getScript(t.uri,e)},c.resolveModFn=function(t){var e,r,i,o,a=t.id,u=t.path,c=t.getPackage();if(!c){var l=s.endsWith(a,".css"),f=s.endsWith(a,".js");return o=l?"css":"js",i="."+o,l||f||(a+=".js"),n(a,t,i)}var d=c.getBase(),h=c.name;return o=t.getType(),i="."+o,u||(s.endsWith(a,i)&&(a=a.slice(0,-i.length)),e=c.getFilter()||"","function"==typeof e?u=e(a,o):"string"==typeof e&&(e&&(e="-"+e),u=a+e+i)),"core"===h?r=d+u:a===h?r=d.substring(0,d.length-1)+e+i:(c.isIgnorePackageNameInUri()&&(u=u.substring(h.length+1)),r=d+u),n(r,t,i)},f.requires=r("requires",i),f.alias=r("alias",i),f.packages=function(r){var n=c.packages;return r===e?n:r?(s.each(r,function(e,r){var i=e.name||r;s.startsWith(i,"/")?i=l.protocol+"//"+l.host+i:(s.startsWith(i,"./")||s.startsWith(i,"../"))&&(i=s.normalizePath(l.href,i)),s.endsWith(i,"/")&&(i=i.slice(0,-1)),e.name=i;var o=e.base||e.path;o&&(e.base=t(o,!0)),n[i]?n[i].reset(e):n[i]=new a(e)}),e):(c.packages={core:n.core},e)},f.modules=function(e){e&&s.each(e,function(e,r){var n=e.uri;n&&(e.uri=t(n)),s.createModule(r,e)})},f.base=function(t){var r=this,n=c.packages.core;return t?(r.config("packages",{core:{base:t}}),e):n&&n.getBase()}};t.prototype.initConfig=n}(feloader),function(t,e){function r(t,e){if(t||"function"!=typeof e)t&&t.requires&&!t.cjs&&(t.cjs=0);else{var r=[];r.length&&(t=t||{},t.requires=r)}return t}function n(t){var e,r,n,i=[];for(e=0,n=t.length;n>e;e++)r=t[e],"exports"===r||"module"===r||"require"===r||i.push(r);return i}function i(t,e){var r=t.indexOf("//"),n="";-1!==r&&(n=t.substring(0,t.indexOf("//")+2)),t=t.substring(n.length).split(/\//),e=e.substring(n.length).split(/\//);for(var i=Math.min(t.length,e.length),o=0;i>o&&t[o]===e[o];o++);var a=n+t.slice(0,o).join("/")+"/";return a=a.replace(/\/\/$/,"/")}function o(t,e,r,n,i,o){if(t&&e.length>1){for(var a=t.length,s=[],u=0;u<e.length;u++)s[u]=e[u].substring(a);return r+t+n+s.join(i)+o}return r+n+e.join(i)+o}var a=function(){function t(t,r,n){function i(){--o||r(s,a)}var o=t&&t.length,a=[],s=[];m(t,function(t){var r,o={timeout:n,success:function(){s.push(t),r&&u&&(p(r.id,u.factory,u.config),u=e),i()},error:function(){a.push(t),i()},charset:t.charset};t.combine||(r=t.mods[0],"css"===r.getType()?r=e:b&&(c=r.id,l=+new Date,o.attrs={"data-mod-id":r.id})),d.loadModsFn(t,o)})}function a(t){this.callback=t,this.head=this.tail=e,this.id="loader"+ ++E}function s(){var t,e,r,n,i=document.getElementsByTagName("script");for(e=i.length-1;e>=0;e--)if(n=i[e],"interactive"===n.readyState){t=n;break}return r=t?t.getAttribute("data-mod-id"):c}var u,c,l,f=this.Loader,d=this.Config,h=f.Status,g=f.Utils,p=g.addModule,m=g.each,v=g.getHash,y=h.LOADING,x=h.LOADED,M=h.ERROR,b=g.ieMode&&g.ieMode<10,E=0;a.add=function(t,i,o,a){if("string"==typeof t)if(3===a&&g.isArray(i)){var f=i;i=o,o={requires:n(f),cjs:1}}else 2===a&&i.call&&(o={cjs:1});if(g.isArray(t)&&2===a){var f=t;t=i,i={requires:n(f),cjs:1}}"function"==typeof t||1===a?(o=i,i=t,o=r(o,i),b?(t=s(),t&&p(t,i,o),c=null,l=0):u={factory:i,config:o}):(b?(c=null,l=0):u=e,o=r(o,i),p(t,i,o))};var L;L=function(t){m(t,function(t){var e=[];m(t.mods,function(t){t.status===x&&e.push(t.id)})})},g.mix(a.prototype,{use:function(e){for(var r,n=this,i=d.timeout,o=[],a=0;a<e.length;a++)e[a].id&&o.push(e[a]);e=o,r=n.getComboUris(e),r.css&&t(r.css,function(t,e){L(t),m(t,function(t){m(t.mods,function(t){p(t.id,g.noop),t.flush()})}),m(e,function(t){m(t.mods,function(e){var r=e.id+" is not loaded! can not find module in uri: "+t.uri;console.error(r),e.status=M;var n={type:"load",exception:r,module:e};e.error=n,e.onError&&e.onError(n),d.onModuleError&&d.onModuleError(n),e.flush()})})},i),r.js&&t(r.js,function(t){L(t),m(r.js,function(t){m(t.mods,function(e){if(!e.factory){var r=e.id+" is not loaded! can not find module in uri: "+t.uri;console.error(r),e.status=M;var n={type:"load",exception:r,module:e};e.error=n,e.onError&&e.onError(n),d.onModuleError&&d.onModuleError(n)}e.flush()})})},i)},calculate:function(t,e,r,n,i){var o,a,s,u,c,l=this;for(r=r||[],i=i||[],n=n||{},o=0;o<t.length;o++)if(s=t[o],a=s.id,!n[a])if(c=r.length,u=s.status,u!==M)if(d.requireModsPre&&l.calculate(s.getNormalizedRequiredModules(),e,r,n,i),u>x)n[a]=1;else if(u===x||s.contains(l)||(u!==y&&(s.status=y,i.push(s)),s.add(l),l.wait(s)),r[a])console.warn("find cyclic dependency between mods: "+r),n[a]=1;else{r[a]=1,r.push(a),d.requireModsPre||l.calculate(s.getNormalizedRequiredModules(),e,r,n,i),n[a]=1;for(var f=c;f<r.length;f++)r[r[f]]=0;r.length=c}else e.push(s),n[a]=1;return i},getComboMods:function(t){var e,r,n,o,a,s,u,c,l,f,d,h=t.length,p={},m={};for(e=0;h>e;++e)if(n=t[e],a=n.getType(),d=n.getUri(),o=n.getPackage(),o?(c=o.getBase(),l=o.name,u=o.getCharset(),s=o.getTag(),f=o.getGroup()):c=n.id,o&&o.isCombine()&&f){var y=p[a]||(p[a]={});f=f+"-"+u;var x=y[f]||(y[f]={}),M=0;g.each(x,function(t,e){if(g.isSameOriginAs(e,c)){var r=i(e,c);t.push(n),s&&s!==t.tag&&(t.tag=v(t.tag+s)),delete x[e],x[r]=t,M=1}}),M||(r=x[c]=[n],r.charset=u,r.tag=s||"")}else{var b=m[a]||(m[a]={});(r=b[c])?s&&s!==r.tag&&(r.tag=v(r.tag+s)):(r=b[c]=[],r.charset=u,r.tag=s||""),r.push(n)}return{groups:p,normals:m}},getComboUris:function(t){function r(t,r,n){function a(t){if(r){if(d.useDailyAssets)return t.replace(d.assetsHost,d.dailyAssetsHost);if(d.forceAssetsHost)return t.replace(d.assetsHost,d.forceAssetsHost)}return t}function s(t){L.push({combine:1,uri:a(t),charset:M,mods:y})}function p(){return o(m,v,r,u,c,b)}for(var m,v=[],y=[],x=n.tag,M=n.charset,b=x?"?t="+encodeURIComponent(x)+"."+t:"",E=r.length,L=[],k=0;k<n.length;k++){var w=n[k],q=w.getUri();if(w.getPackage()&&w.getPackage().isCombine()&&g.startsWith(q,r)){var I=q.slice(E).replace(/\?.*$/,"");v.push(I),y.push(w),m===e?m=-1!==I.indexOf("/")?I:"":""!==m&&(m=i(m,I),"/"===m&&(m="")),(v.length>f||p().length>h)&&(v.pop(),y.pop(),s(p()),v=[],y=[],m=e,k--)}else L.push({combine:0,uri:a(q),charset:M,mods:[w]})}v.length&&s(p()),l[t].push.apply(l[t],L)}var n,a,s,u=d.comboPrefix,c=d.comboSep,l={},f=d.comboMaxFileNum,h=d.comboMaxUriLength,p=this.getComboMods(t),m=p.normals,v=p.groups;for(n in m){l[n]=l[n]||[];for(a in m[n])r(n,a,m[n][a])}for(n in v){l[n]=l[n]||[];for(s in v[n])for(a in v[n][s])r(n,a,v[n][s][a])}return l},flush:function(){var t=this;if(t.callback){for(var e=t.head,r=t.callback;e;){var n=e.node,i=n.status;if(!(i>=x||i===M))return;n.remove(t),e=t.head=e.next}t.callback=null,r()}},isCompleteLoading:function(){return!this.head},wait:function(t){var e=this;if(e.head){var r={node:t};e.tail.next=r,e.tail=r}else e.tail=e.head={node:t}}}),f.ComboLoader=a};t.prototype.initComboLoader=a}(feloader),function(t){var e=function(){var e=this.Loader,r=e.Utils,n=r.createModule,i=e.ComboLoader;r.mix(this,{getModule:function(t){return n(t)},getPackage:function(t){return this.Config.packages[t]},add:function(t,e,r){i.add(t,e,r,arguments.length)},use:function(e,n,o){function a(e,n){console.error("feloader: "+n+" the following modules error"),console.error(r.map(e,function(t){return t.id})),o&&(o.apply(t,e),o=null)}function s(){++c;var e=[],i=u.calculate(h,e);if(e.length)a(e,"load");else if(u.isCompleteLoading()){var o=r.initModules(h);o?n&&(n.apply(t,r.getModulesExports(d)),n=null):a(r.collectErrors(h),"init")}else u.callback=s,i.length&&u.use(i)}var u,c=0;if("string"==typeof e&&(e=e.split(/\s*,\s*/)),!e||e&&!e.length)return t;"object"==typeof n&&(o=n.error,n=n.success);for(var l=0;l<e.length;l++){var f=e[l];(r.startsWith(f,"./")||r.startsWith(f,"../"))&&(e[l]=r.normalizePath(location.href,f))}var d=r.createModules(e),h=[];return r.each(d,function(t){h.push.apply(h,t.getNormalizedModules())}),u=new i(s),s(),t},require:function(t){return n(t).getExports()},undef:function(t){var e=n(t),i=e.getNormalizedModules();r.each(i,function(t){t.undef()})}});var o="??",a=",";this.config({comboPrefix:o,comboSep:a,charset:"utf-8",filter:"",lang:"zh-cn"}),this.config("packages",{core:{filter:"",base:"."}})};t.prototype.initLoader=e}(feloader),function(t){var e=function(){};t.prototype.init=e,window.feloader=t=new t;var r=t.Env.host&&t.Env.host.document,n=t.Loader,i=n.Utils,o=function(t){return new Function("return "+t)()},a=function(t,e){var r=new RegExp("^(.*)("+e+")(?:-debug|)?\\.js[^/]*","i"),n=new RegExp("("+e+")(?:-debug|)?\\.js","i"),i=t.src||"";if(!i.match(n))return 0;var a=t.getAttribute("data-config");a=a?o(a):{};var s,u,c=a.comboPrefix,l=a.comboSep,f=i.indexOf(c);if(-1===f)u=i.replace(r,"$1");else{u=i.substring(0,f),"/"!==u.charAt(u.length-1)&&(u+="/"),s=i.substring(f+c.length).split(l);for(var d=0,h=s.length;h>d;d++){var g=s[d];if(g.match(n)){u+=g.replace(r,"$1");break}}}return a.base=a.base||u,a},s=function(t){var e,n,i=r.getElementsByTagName("script");for(e=i.length-1;e>=0;e--)if(n=a(i[e],t))return n;return null};t.init=function(e){var r=e.name;t.config(s(r))},r&&r.getElementsByTagName&&(t.config(i.mix({comboMaxUriLength:2e3,comboMaxFileNum:40},s("feloader"))),t.config("combine",!0)),function(){function e(t){var e;for(e=0;e<t.length;e+=1)t[e](l)}function r(){var t=f;c&&t.length&&(f=[],e(t))}function n(){c||(c=!0,s&&clearInterval(s),r())}function i(t){return c?t(l):f.push(t),i}var o,a,s,u="undefined"!=typeof window&&window.document,c=!u,l=u?document:null,f=[];if(u){if(document.addEventListener)document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1);else if(window.attachEvent){window.attachEvent("onload",n),a=document.createElement("div");try{o=null===window.frameElement}catch(d){}a.doScroll&&o&&window.external&&(s=setInterval(function(){try{a.doScroll(),n()}catch(t){}},30))}"complete"===document.readyState&&n()}i.load=function(t,e,r,n){n.isBuild?r(null):i(r)},t.ready=i}();var u=window,c=u.require;u.require=function(){t.use.apply(t,arguments)},u.require.config=function(){t.config.apply(t,arguments)};var l=u.define;u.define=function(){t.add.apply(t,arguments)},u.define.amd={},u.KISSY||(u.KISSY=t),t.noConflict=function(){u.require=c,u.define=l},i.ie<10&&t.config({modules:{"@ali/mui-zepto/event":{alias:"@ali/mui-jquery/jquery"},"@ali/mui-zepto/form":{alias:"@ali/mui-jquery/jquery"},"@ali/mui-zepto/fx":{alias:"@ali/mui-jquery/jquery"},"@ali/mui-zepto/fx_methods":{alias:"@ali/mui-jquery/jquery"},"@ali/mui-zepto/gesture":{alias:"@ali/mui-jquery/jquery"},"@ali/mui-zepto/ie":{alias:"@ali/mui-jquery/jquery"},"@ali/mui-zepto/selector":{alias:"@ali/mui-jquery/jquery"},"@ali/mui-zepto/stack":{alias:"@ali/mui-jquery/jquery"},"@ali/mui-zepto/touch":{alias:"@ali/mui-jquery/jquery"},"@ali/mui-zepto/zepto":{alias:"@ali/mui-jquery/jquery"}}})}(feloader);define("@ali/pnpm-react@18/6a96e9f5", [], function(require, exports, module) {"use strict";var react={exports:{}},react_production_min={},l=Symbol.for("react.element"),n=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),t=Symbol.for("react.provider"),u=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),z=Symbol.iterator;function A(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=z&&e[z]||e["@@iterator"])?e:null}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(e,o,c){this.props=e,this.context=o,this.refs=D,this.updater=c||B}function F(){}function G(e,o,c){this.props=e,this.context=o,this.refs=D,this.updater=c||B}E.prototype.isReactComponent={},E.prototype.setState=function(e,o){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,o,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},F.prototype=E.prototype;var H=G.prototype=new F;H.constructor=G,C(H,E.prototype),H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};function M(e,o,c){var i,a={},f=null,s=null;if(null!=o)for(i in void 0!==o.ref&&(s=o.ref),void 0!==o.key&&(f=""+o.key),o)J.call(o,i)&&!L.hasOwnProperty(i)&&(a[i]=o[i]);var _=arguments.length-2;if(1===_)a.children=c;else if(1<_){for(var d=Array(_),m=0;m<_;m++)d[m]=arguments[m+2];a.children=d}if(e&&e.defaultProps)for(i in _=e.defaultProps)void 0===a[i]&&(a[i]=_[i]);return{$$typeof:l,type:e,key:f,ref:s,props:a,_owner:K.current}}function N(e,o){return{$$typeof:l,type:e.type,key:o,ref:e.ref,props:e.props,_owner:e._owner}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===l}function escape(e){var o={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return o[e]})}var P=/\/+/g;function Q(e,o){return"object"==typeof e&&null!==e&&null!=e.key?escape(""+e.key):o.toString(36)}function R(e,o,c,i,a){var f=typeof e;("undefined"===f||"boolean"===f)&&(e=null);var s=!1;if(null===e)s=!0;else switch(f){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case l:case n:s=!0}}if(s)return a=a(s=e),e=""===i?"."+Q(s,0):i,I(a)?(c="",null!=e&&(c=e.replace(P,"$&/")+"/"),R(a,o,c,"",function(e){return e})):null!=a&&(O(a)&&(a=N(a,c+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+e)),o.push(a)),1;if(s=0,i=""===i?".":i+":",I(e))for(var _=0;_<e.length;_++){f=e[_];var d=i+Q(f,_);s+=R(f,o,c,d,a)}else if("function"==typeof(d=A(e)))for(e=d.call(e),_=0;!(f=e.next()).done;)d=i+Q(f=f.value,_++),s+=R(f,o,c,d,a);else if("object"===f)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(o=String(e))?"object with keys {"+Object.keys(e).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return s}function S(e,o,c){if(null==e)return e;var i=[],a=0;return R(e,i,"","",function(e){return o.call(c,e,a++)}),i}function T(e){if(-1===e._status){var o=e._result;(o=o()).then(function(o){(0===e._status||-1===e._status)&&(e._status=1,e._result=o)},function(o){(0===e._status||-1===e._status)&&(e._status=2,e._result=o)}),-1===e._status&&(e._status=0,e._result=o)}if(1===e._status)return e._result.default;throw e._result}var U={current:null},V={transition:null},W={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:V,ReactCurrentOwner:K};react_production_min.Children={map:S,forEach:function(e,o,c){S(e,function(){o.apply(this,arguments)},c)},count:function(e){var o=0;return S(e,function(){o++}),o},toArray:function(e){return S(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},react_production_min.Component=E,react_production_min.Fragment=p,react_production_min.Profiler=r,react_production_min.PureComponent=G,react_production_min.StrictMode=q,react_production_min.Suspense=w,react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W,react_production_min.cloneElement=function(e,o,c){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=C({},e.props),a=e.key,f=e.ref,s=e._owner;if(null!=o){if(void 0!==o.ref&&(f=o.ref,s=K.current),void 0!==o.key&&(a=""+o.key),e.type&&e.type.defaultProps)var _=e.type.defaultProps;for(d in o)J.call(o,d)&&!L.hasOwnProperty(d)&&(i[d]=void 0===o[d]&&void 0!==_?_[d]:o[d])}var d=arguments.length-2;if(1===d)i.children=c;else if(1<d){_=Array(d);for(var m=0;m<d;m++)_[m]=arguments[m+2];i.children=_}return{$$typeof:l,type:e.type,key:a,ref:f,props:i,_owner:s}},react_production_min.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:t,_context:e},e.Consumer=e},react_production_min.createElement=M,react_production_min.createFactory=function(e){var o=M.bind(null,e);return o.type=e,o},react_production_min.createRef=function(){return{current:null}},react_production_min.forwardRef=function(e){return{$$typeof:v,render:e}},react_production_min.isValidElement=O,react_production_min.lazy=function(e){return{$$typeof:y,_payload:{_status:-1,_result:e},_init:T}},react_production_min.memo=function(e,o){return{$$typeof:x,type:e,compare:void 0===o?null:o}},react_production_min.startTransition=function(e){var o=V.transition;V.transition={};try{e()}finally{V.transition=o}},react_production_min.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},react_production_min.useCallback=function(e,o){return U.current.useCallback(e,o)},react_production_min.useContext=function(e){return U.current.useContext(e)},react_production_min.useDebugValue=function(){},react_production_min.useDeferredValue=function(e){return U.current.useDeferredValue(e)},react_production_min.useEffect=function(e,o){return U.current.useEffect(e,o)},react_production_min.useId=function(){return U.current.useId()},react_production_min.useImperativeHandle=function(e,o,c){return U.current.useImperativeHandle(e,o,c)},react_production_min.useInsertionEffect=function(e,o){return U.current.useInsertionEffect(e,o)},react_production_min.useLayoutEffect=function(e,o){return U.current.useLayoutEffect(e,o)},react_production_min.useMemo=function(e,o){return U.current.useMemo(e,o)},react_production_min.useReducer=function(e,o,c){return U.current.useReducer(e,o,c)},react_production_min.useRef=function(e){return U.current.useRef(e)},react_production_min.useState=function(e){return U.current.useState(e)},react_production_min.useSyncExternalStore=function(e,o,c){return U.current.useSyncExternalStore(e,o,c)},react_production_min.useTransition=function(){return U.current.useTransition()},react_production_min.version="18.2.0",react.exports=react_production_min,exports.react=react;
;        (function (e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if ((k(e).length === 2 && e[g](f) === !0) ||                    (k(e).length === 1 && e[g](f) === !1)) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/pnpm-react@18/index", [], function(require, exports, module) {"use strict";var index=require("@ali/pnpm-react@18/6a96e9f5"),src=index.react.exports;module.exports=src;
;        (function (e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if ((k(e).length === 2 && e[g](f) === !0) ||                    (k(e).length === 1 && e[g](f) === !1)) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/pnpm-react-dom@18/280b565f", [], function(require, exports, module) {"use strict";var xe,Aj,Bj,Cj,Dj,Wk,require$$0=require("@ali/pnpm-react@18/index");function _interopDefaultLegacy(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function _mergeNamespaces(e,n){return n.forEach(function(n){n&&"string"!=typeof n&&!Array.isArray(n)&&Object.keys(n).forEach(function(t){if("default"!==t&&!(t in e)){var r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:function(){return n[t]}})}})}),Object.freeze(e)}var require$$0__default=_interopDefaultLegacy(require$$0),reactDom$1={exports:{}},reactDom_production_min={},scheduler={exports:{}},scheduler_production_min={};!function(e){function n(e,n){var t=e.length;e.push(n);e:for(;0<t;){var r=t-1>>>1,a=e[r];if(0<l(a,n))e[r]=n,e[t]=a,t=r;else break e}}function t(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var u=2*(r+1)-1,o=e[u],c=u+1,s=e[c];if(0>l(o,t))c<a&&0>l(s,o)?(e[r]=s,e[c]=t,r=c):(e[r]=o,e[u]=t,r=u);else if(c<a&&0>l(s,t))e[r]=s,e[c]=t,r=c;else break e}}return n}function l(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var a,i=performance;e.unstable_now=function(){return i.now()}}else{var u=Date,o=u.now();e.unstable_now=function(){return u.now()-o}}var c=[],s=[],f=1,d=null,h=3,g=!1,m=!1,b=!1,y="function"==typeof setTimeout?setTimeout:null,k="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var l=t(s);null!==l;){if(null===l.callback)r(s);else if(l.startTime<=e)r(s),l.sortIndex=l.expirationTime,n(c,l);else break;l=t(s)}}function j(e){if(b=!1,x(e),!m){if(null!==t(c))m=!0,es(_);else{var n=t(s);null!==n&&ep(j,n.startTime-e)}}}function _(n,l){m=!1,b&&(b=!1,k(q),q=-1),g=!0;var a=h;try{for(x(l),d=t(c);null!==d&&(!(d.expirationTime>l)||n&&!et());){var i=d.callback;if("function"==typeof i){d.callback=null,h=d.priorityLevel;var u=i(d.expirationTime<=l);l=e.unstable_now(),"function"==typeof u?d.callback=u:d===t(c)&&r(c),x(l)}else r(c);d=t(c)}if(null!==d)var o=!0;else{var f=t(s);null!==f&&ep(j,f.startTime-l),o=!1}return o}finally{d=null,h=a,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var F=!1,$=null,q=-1,J=5,en=-1;function et(){return!(e.unstable_now()-en<J)}function er(){if(null!==$){var n=e.unstable_now();en=n;var t=!0;try{t=$(!0,n)}finally{t?a():(F=!1,$=null)}}else F=!1}if("function"==typeof w)a=function(){w(er)};else if("undefined"!=typeof MessageChannel){var eu=new MessageChannel,eo=eu.port2;eu.port1.onmessage=er,a=function(){eo.postMessage(null)}}else a=function(){y(er,0)};function es(e){$=e,F||(F=!0,a())}function ep(n,t){q=y(function(){n(e.unstable_now())},t)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){m||g||(m=!0,es(_))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return t(c)},e.unstable_next=function(e){switch(h){case 1:case 2:case 3:var n=3;break;default:n=h}var t=h;h=n;try{return e()}finally{h=t}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=h;h=e;try{return n()}finally{h=t}},e.unstable_scheduleCallback=function(r,l,a){var i=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,r){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return u=a+u,r={id:f++,callback:l,priorityLevel:r,startTime:a,expirationTime:u,sortIndex:-1},a>i?(r.sortIndex=a,n(s,r),null===t(c)&&r===t(s)&&(b?(k(q),q=-1):b=!0,ep(j,a-i))):(r.sortIndex=u,n(c,r),m||g||(m=!0,es(_))),r},e.unstable_shouldYield=et,e.unstable_wrapCallback=function(e){var n=h;return function(){var t=h;h=n;try{return e.apply(this,arguments)}finally{h=t}}}}(scheduler_production_min),scheduler.exports=scheduler_production_min;/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var aa=require$$0__default.default,ca=scheduler.exports;function p(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var da=new Set,ea={};function fa(e,n){ha(e,n),ha(e+"Capture",n)}function ha(e,n){for(ea[e]=n,e=0;e<n.length;e++)da.add(n[e])}var ia=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ja=Object.prototype.hasOwnProperty,ka=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,la={},ma={};function oa(e){return!!ja.call(ma,e)||!ja.call(la,e)&&(ka.test(e)?ma[e]=!0:(la[e]=!0,!1))}function pa(e,n,t,r){if(null!==t&&0===t.type)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==t)return!t.acceptsBooleans;return"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return!1}}function qa(e,n,t,r){if(null==n||pa(e,n,t,r))return!0;if(r)return!1;if(null!==t)switch(t.type){case 3:return!n;case 4:return!1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function v(e,n,t,r,l,a,i){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=a,this.removeEmptyString=i}var z={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){z[e]=new v(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];z[n]=new v(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){z[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){z[e]=new v(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){z[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){z[e]=new v(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){z[e]=new v(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){z[e]=new v(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){z[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)});var ra=/[\-:]([a-z])/g;function sa(e){return e[1].toUpperCase()}function ta(e,n,t,r){var l=z.hasOwnProperty(n)?z[n]:null;(null!==l?0!==l.type:r||!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&(qa(n,t,l,r)&&(t=null),r||null===l?oa(n)&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=null===t?3!==l.type&&"":t:(n=l.attributeName,r=l.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(l=l.type)||4===l&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(ra,sa);z[n]=new v(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(ra,sa);z[n]=new v(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(ra,sa);z[n]=new v(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){z[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)}),z.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){z[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)});var ua=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,va=Symbol.for("react.element"),wa=Symbol.for("react.portal"),ya=Symbol.for("react.fragment"),za=Symbol.for("react.strict_mode"),Aa=Symbol.for("react.profiler"),Ba=Symbol.for("react.provider"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),Ha=Symbol.for("react.lazy"),Ia=Symbol.for("react.offscreen"),Ja=Symbol.iterator;function Ka(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ja&&e[Ja]||e["@@iterator"])?e:null}var La,A=Object.assign;function Ma(e){if(void 0===La)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);La=n&&n[1]||""}return"\n"+La+e}var Na=!1;function Oa(e,n){if(!e||Na)return"";Na=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n){if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(l){var r=l}Reflect.construct(e,[],n)}else{try{n.call()}catch(a){r=a}e.call(n.prototype)}}else{try{throw Error()}catch(i){r=i}e()}}catch(d){if(d&&r&&"string"==typeof d.stack){for(var u=d.stack.split("\n"),o=r.stack.split("\n"),c=u.length-1,s=o.length-1;1<=c&&0<=s&&u[c]!==o[s];)s--;for(;1<=c&&0<=s;c--,s--)if(u[c]!==o[s]){if(1!==c||1!==s)do if(c--,0>--s||u[c]!==o[s]){var f="\n"+u[c].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),f}while(1<=c&&0<=s);break}}}finally{Na=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?Ma(e):""}function Pa(e){switch(e.tag){case 5:return Ma(e.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 2:case 15:return e=Oa(e.type,!1);case 11:return e=Oa(e.type.render,!1);case 1:return e=Oa(e.type,!0);default:return""}}function Qa(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ya:return"Fragment";case wa:return"Portal";case Aa:return"Profiler";case za:return"StrictMode";case Ea:return"Suspense";case Fa:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Ca:return(e.displayName||"Context")+".Consumer";case Ba:return(e._context.displayName||"Context")+".Provider";case Da:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Ga:return null!==(n=e.displayName||null)?n:Qa(e.type)||"Memo";case Ha:n=e._payload,e=e._init;try{return Qa(e(n))}catch(t){}}return null}function Ra(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=n.render).displayName||e.name||"",n.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Qa(n);case 8:return n===za?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n}return null}function Sa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Ta(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function Ua(e){var n=Ta(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&void 0!==t&&"function"==typeof t.get&&"function"==typeof t.set){var l=t.get,a=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Va(e){e._valueTracker||(e._valueTracker=Ua(e))}function Wa(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Ta(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function Xa(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function Ya(e,n){var t=n.checked;return A({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function Za(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=Sa(null!=n.value?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function ab(e,n){null!=(n=n.checked)&&ta(e,"checked",n,!1)}function bb(e,n){ab(e,n);var t=Sa(n.value),r=n.type;if(null!=t)"number"===r?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===r||"reset"===r){e.removeAttribute("value");return}n.hasOwnProperty("value")?cb(e,n.type,t):n.hasOwnProperty("defaultValue")&&cb(e,n.type,Sa(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function db(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!("submit"!==r&&"reset"!==r||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t)}function cb(e,n,t){("number"!==n||Xa(e.ownerDocument)!==e)&&(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var eb=Array.isArray;function fb(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l<t.length;l++)n["$"+t[l]]=!0;for(t=0;t<e.length;t++)l=n.hasOwnProperty("$"+e[t].value),e[t].selected!==l&&(e[t].selected=l),l&&r&&(e[t].defaultSelected=!0)}else{for(l=0,t=""+Sa(t),n=null;l<e.length;l++){if(e[l].value===t){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}null!==n||e[l].disabled||(n=e[l])}null!==n&&(n.selected=!0)}}function gb(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(p(91));return A({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function hb(e,n){var t=n.value;if(null==t){if(t=n.children,n=n.defaultValue,null!=t){if(null!=n)throw Error(p(92));if(eb(t)){if(1<t.length)throw Error(p(93));t=t[0]}n=t}null==n&&(n=""),t=n}e._wrapperState={initialValue:Sa(t)}}function ib(e,n){var t=Sa(n.value),r=Sa(n.defaultValue);null!=t&&((t=""+t)!==e.value&&(e.value=t),null==n.defaultValue&&e.defaultValue!==t&&(e.defaultValue=t)),null!=r&&(e.defaultValue=""+r)}function jb(e){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}function kb(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function lb(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?kb(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}var mb,nb=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(n,t,r,l){MSApp.execUnsafeLocalFunction(function(){return e(n,t,r,l)})}:e}(function(e,n){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=n;else{for((mb=mb||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=mb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function ob(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType){t.nodeValue=n;return}}e.textContent=n}var pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=["Webkit","ms","Moz","O"];function rb(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||pb.hasOwnProperty(e)&&pb[e]?(""+n).trim():n+"px"}function sb(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),l=rb(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}Object.keys(pb).forEach(function(e){qb.forEach(function(n){pb[n=n+e.charAt(0).toUpperCase()+e.substring(1)]=pb[e]})});var tb=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ub(e,n){if(n){if(tb[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(p(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(p(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(p(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(p(62))}}function vb(e,n){if(-1===e.indexOf("-"))return"string"==typeof n.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var wb=null;function xb(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var yb=null,zb=null,Ab=null;function Bb(e){if(e=Cb(e)){if("function"!=typeof yb)throw Error(p(280));var n=e.stateNode;n&&(n=Db(n),yb(e.stateNode,e.type,n))}}function Eb(e){zb?Ab?Ab.push(e):Ab=[e]:zb=e}function Fb(){if(zb){var e=zb,n=Ab;if(Ab=zb=null,Bb(e),n)for(e=0;e<n.length;e++)Bb(n[e])}}function Gb(e,n){return e(n)}function Hb(){}var Ib=!1;function Jb(e,n,t){if(Ib)return e(n,t);Ib=!0;try{return Gb(e,n,t)}finally{Ib=!1,(null!==zb||null!==Ab)&&(Hb(),Fb())}}function Kb(e,n){var t=e.stateNode;if(null===t)return null;var r=Db(t);if(null===r)return null;t=r[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(t&&"function"!=typeof t)throw Error(p(231,n,typeof t));return t}var Lb=!1;if(ia)try{var e={};Object.defineProperty(e,"passive",{get:function(){Lb=!0}}),window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(n){Lb=!1}function Nb(e,n,t,r,l,a,i,u,o){var c=Array.prototype.slice.call(arguments,3);try{n.apply(t,c)}catch(s){this.onError(s)}}var Ob=!1,Pb=null,Qb=!1,Rb=null,Sb={onError:function(e){Ob=!0,Pb=e}};function Tb(e,n,t,r,l,a,i,u,o){Ob=!1,Pb=null,Nb.apply(Sb,arguments)}function Ub(e,n,t,r,l,a,i,u,o){if(Tb.apply(this,arguments),Ob){if(Ob){var c=Pb;Ob=!1,Pb=null}else throw Error(p(198));Qb||(Qb=!0,Rb=c)}}function Vb(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do 0!=(4098&(n=e).flags)&&(t=n.return),e=n.return;while(e)}return 3===n.tag?t:null}function Wb(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&null!==(e=e.alternate)&&(n=e.memoizedState),null!==n)return n.dehydrated}return null}function Xb(e){if(Vb(e)!==e)throw Error(p(188))}function Yb(e){var n=e.alternate;if(!n){if(null===(n=Vb(e)))throw Error(p(188));return n!==e?null:e}for(var t=e,r=n;;){var l=t.return;if(null===l)break;var a=l.alternate;if(null===a){if(null!==(r=l.return)){t=r;continue}break}if(l.child===a.child){for(a=l.child;a;){if(a===t)return Xb(l),e;if(a===r)return Xb(l),n;a=a.sibling}throw Error(p(188))}if(t.return!==r.return)t=l,r=a;else{for(var i=!1,u=l.child;u;){if(u===t){i=!0,t=l,r=a;break}if(u===r){i=!0,r=l,t=a;break}u=u.sibling}if(!i){for(u=a.child;u;){if(u===t){i=!0,t=a,r=l;break}if(u===r){i=!0,r=a,t=l;break}u=u.sibling}if(!i)throw Error(p(189))}}if(t.alternate!==r)throw Error(p(190))}if(3!==t.tag)throw Error(p(188));return t.stateNode.current===t?e:n}function Zb(e){return null!==(e=Yb(e))?$b(e):null}function $b(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var n=$b(e);if(null!==n)return n;e=e.sibling}return null}var ac=ca.unstable_scheduleCallback,bc=ca.unstable_cancelCallback,cc=ca.unstable_shouldYield,dc=ca.unstable_requestPaint,B=ca.unstable_now,ec=ca.unstable_getCurrentPriorityLevel,fc=ca.unstable_ImmediatePriority,gc=ca.unstable_UserBlockingPriority,hc=ca.unstable_NormalPriority,ic=ca.unstable_LowPriority,jc=ca.unstable_IdlePriority,kc=null,lc=null;function mc(e){if(lc&&"function"==typeof lc.onCommitFiberRoot)try{lc.onCommitFiberRoot(kc,e,void 0,128==(128&e.current.flags))}catch(n){}}var oc=Math.clz32?Math.clz32:nc,pc=Math.log,qc=Math.LN2;function nc(e){return 0==(e>>>=0)?32:31-(pc(e)/qc|0)|0}var rc=64,sc=4194304;function tc(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function uc(e,n){var t=e.pendingLanes;if(0===t)return 0;var r=0,l=e.suspendedLanes,a=e.pingedLanes,i=268435455&t;if(0!==i){var u=i&~l;0!==u?r=tc(u):0!=(a&=i)&&(r=tc(a))}else 0!=(i=t&~l)?r=tc(i):0!==a&&(r=tc(a));if(0===r)return 0;if(0!==n&&n!==r&&0==(n&l)&&((l=r&-r)>=(a=n&-n)||16===l&&0!=(4194240&a)))return n;if(0!=(4&r)&&(r|=16&t),0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)l=1<<(t=31-oc(n)),r|=e[t],n&=~l;return r}function vc(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;default:return -1}}function wc(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-oc(a),u=1<<i,o=l[i];-1===o?(0==(u&t)||0!=(u&r))&&(l[i]=vc(u,n)):o<=n&&(e.expiredLanes|=u),a&=~u}}function xc(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function yc(){var e=rc;return 0==(4194240&(rc<<=1))&&(rc=64),e}function zc(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function Ac(e,n,t){e.pendingLanes|=n,536870912!==n&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[n=31-oc(n)]=t}function Bc(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var l=31-oc(t),a=1<<l;n[l]=0,r[l]=-1,e[l]=-1,t&=~a}}function Cc(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-oc(t),l=1<<r;l&n|e[r]&n&&(e[r]|=n),t&=~l}}var C=0;function Dc(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Ec,Fc,Gc,Hc,Ic,Jc=!1,Kc=[],Lc=null,Mc=null,Nc=null,Oc=new Map,Pc=new Map,Qc=[],Rc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Sc(e,n){switch(e){case"focusin":case"focusout":Lc=null;break;case"dragenter":case"dragleave":Mc=null;break;case"mouseover":case"mouseout":Nc=null;break;case"pointerover":case"pointerout":Oc.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pc.delete(n.pointerId)}}function Tc(e,n,t,r,l,a){return null===e||e.nativeEvent!==a?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:a,targetContainers:[l]},null!==n&&null!==(n=Cb(n))&&Fc(n),e):(e.eventSystemFlags|=r,n=e.targetContainers,null!==l&&-1===n.indexOf(l)&&n.push(l),e)}function Uc(e,n,t,r,l){switch(n){case"focusin":return Lc=Tc(Lc,e,n,t,r,l),!0;case"dragenter":return Mc=Tc(Mc,e,n,t,r,l),!0;case"mouseover":return Nc=Tc(Nc,e,n,t,r,l),!0;case"pointerover":var a=l.pointerId;return Oc.set(a,Tc(Oc.get(a)||null,e,n,t,r,l)),!0;case"gotpointercapture":return a=l.pointerId,Pc.set(a,Tc(Pc.get(a)||null,e,n,t,r,l)),!0}return!1}function Vc(e){var n=Wc(e.target);if(null!==n){var t=Vb(n);if(null!==t){if(13===(n=t.tag)){if(null!==(n=Wb(t))){e.blockedOn=n,Ic(e.priority,function(){Gc(t)});return}}else if(3===n&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===t.tag?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Xc(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=Yc(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=Cb(t))&&Fc(n),e.blockedOn=t,!1;var r=new(t=e.nativeEvent).constructor(t.type,t);wb=r,t.target.dispatchEvent(r),wb=null,n.shift()}return!0}function Zc(e,n,t){Xc(e)&&t.delete(n)}function $c(){Jc=!1,null!==Lc&&Xc(Lc)&&(Lc=null),null!==Mc&&Xc(Mc)&&(Mc=null),null!==Nc&&Xc(Nc)&&(Nc=null),Oc.forEach(Zc),Pc.forEach(Zc)}function ad(e,n){e.blockedOn===n&&(e.blockedOn=null,Jc||(Jc=!0,ca.unstable_scheduleCallback(ca.unstable_NormalPriority,$c)))}function bd(e){function n(n){return ad(n,e)}if(0<Kc.length){ad(Kc[0],e);for(var t=1;t<Kc.length;t++){var r=Kc[t];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Lc&&ad(Lc,e),null!==Mc&&ad(Mc,e),null!==Nc&&ad(Nc,e),Oc.forEach(n),Pc.forEach(n),t=0;t<Qc.length;t++)(r=Qc[t]).blockedOn===e&&(r.blockedOn=null);for(;0<Qc.length&&null===(t=Qc[0]).blockedOn;)Vc(t),null===t.blockedOn&&Qc.shift()}var cd=ua.ReactCurrentBatchConfig,dd=!0;function ed(e,n,t,r){var l=C,a=cd.transition;cd.transition=null;try{C=1,fd(e,n,t,r)}finally{C=l,cd.transition=a}}function gd(e,n,t,r){var l=C,a=cd.transition;cd.transition=null;try{C=4,fd(e,n,t,r)}finally{C=l,cd.transition=a}}function fd(e,n,t,r){if(dd){var l=Yc(e,n,t,r);if(null===l)hd(e,n,r,id,t),Sc(e,r);else if(Uc(l,e,n,t,r))r.stopPropagation();else if(Sc(e,r),4&n&&-1<Rc.indexOf(e)){for(;null!==l;){var a=Cb(l);if(null!==a&&Ec(a),null===(a=Yc(e,n,t,r))&&hd(e,n,r,id,t),a===l)break;l=a}null!==l&&r.stopPropagation()}else hd(e,n,r,null,t)}}var id=null;function Yc(e,n,t,r){if(id=null,null!==(e=Wc(e=xb(r)))){if(null===(n=Vb(e)))e=null;else if(13===(t=n.tag)){if(null!==(e=Wb(n)))return e;e=null}else if(3===t){if(n.stateNode.current.memoizedState.isDehydrated)return 3===n.tag?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}return id=e,null}function jd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ec()){case fc:return 1;case gc:return 4;case hc:case ic:return 16;case jc:return 536870912;default:return 16}default:return 16}}var kd=null,ld=null,md=null;function nd(){if(md)return md;var e,n,t=ld,r=t.length,l="value"in kd?kd.value:kd.textContent,a=l.length;for(e=0;e<r&&t[e]===l[e];e++);var i=r-e;for(n=1;n<=i&&t[r-n]===l[a-n];n++);return md=l.slice(e,1<n?1-n:void 0)}function od(e){var n=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}function pd(){return!0}function qd(){return!1}function rd(e){function n(n,t,r,l,a){for(var i in this._reactName=n,this._targetInst=r,this.type=t,this.nativeEvent=l,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(l):l[i]);return this.isDefaultPrevented=(null!=l.defaultPrevented?l.defaultPrevented:!1===l.returnValue)?pd:qd,this.isPropagationStopped=qd,this}return A(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=pd)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=pd)},persist:function(){},isPersistent:pd}),n}var wd,xd,yd,sd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=rd(sd),ud=A({},sd,{view:0,detail:0}),vd=rd(ud),Ad=A({},ud,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zd,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==yd&&(yd&&"mousemove"===e.type?(wd=e.screenX-yd.screenX,xd=e.screenY-yd.screenY):xd=wd=0,yd=e),wd)},movementY:function(e){return"movementY"in e?e.movementY:xd}}),Bd=rd(Ad),Cd=A({},Ad,{dataTransfer:0}),Dd=rd(Cd),Ed=A({},ud,{relatedTarget:0}),Fd=rd(Ed),Gd=A({},sd,{animationName:0,elapsedTime:0,pseudoElement:0}),Hd=rd(Gd),Id=A({},sd,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jd=rd(Id),Kd=A({},sd,{data:0}),Ld=rd(Kd),Md={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nd={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Od={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pd(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=Od[e])&&!!n[e]}function zd(){return Pd}var Qd=A({},ud,{key:function(e){if(e.key){var n=Md[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=od(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Nd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zd,charCode:function(e){return"keypress"===e.type?od(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?od(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Rd=rd(Qd),Sd=A({},Ad,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Td=rd(Sd),Ud=A({},ud,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zd}),Vd=rd(Ud),Wd=A({},sd,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xd=rd(Wd),Yd=A({},Ad,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Zd=rd(Yd),$d=[9,13,27,32],ae=ia&&"CompositionEvent"in window,be=null;ia&&"documentMode"in document&&(be=document.documentMode);var ce=ia&&"TextEvent"in window&&!be,de=ia&&(!ae||be&&8<be&&11>=be),ee=" ",fe=!1;function ge(e,n){switch(e){case"keyup":return -1!==$d.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function he(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ie=!1;function je(e,n){switch(e){case"compositionend":return he(n);case"keypress":if(32!==n.which)return null;return fe=!0,ee;case"textInput":return(e=n.data)===ee&&fe?null:e;default:return null}}function ke(e,n){if(ie)return"compositionend"===e||!ae&&ge(e,n)?(e=nd(),md=ld=kd=null,ie=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return de&&"ko"!==n.locale?null:n.data}}var le={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function me(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!le[e.type]:"textarea"===n}function ne(e,n,t,r){Eb(r),0<(n=oe(n,"onChange")).length&&(t=new td("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var pe=null,qe=null;function re(e){se(e,0)}function te(e){if(Wa(ue(e)))return e}function ve(e,n){if("change"===e)return n}var we=!1;if(ia){if(ia){var t="oninput"in document;if(!t){var r=document.createElement("div");r.setAttribute("oninput","return;"),t="function"==typeof r.oninput}xe=t}else xe=!1;we=xe&&(!document.documentMode||9<document.documentMode)}function Ae(){pe&&(pe.detachEvent("onpropertychange",Be),qe=pe=null)}function Be(e){if("value"===e.propertyName&&te(qe)){var n=[];ne(n,qe,e,xb(e)),Jb(re,n)}}function Ce(e,n,t){"focusin"===e?(Ae(),pe=n,qe=t,pe.attachEvent("onpropertychange",Be)):"focusout"===e&&Ae()}function De(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return te(qe)}function Ee(e,n){if("click"===e)return te(n)}function Fe(e,n){if("input"===e||"change"===e)return te(n)}function Ge(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n}var He="function"==typeof Object.is?Object.is:Ge;function Ie(e,n){if(He(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var l=t[r];if(!ja.call(n,l)||!He(e[l],n[l]))return!1}return!0}function Je(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ke(e,n){var t,r=Je(e);for(e=0;r;){if(3===r.nodeType){if(t=e+r.textContent.length,e<=n&&t>=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Je(r)}}function Le(e,n){return!!e&&!!n&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?Le(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function Me(){for(var e=window,n=Xa();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(r){t=!1}if(t)e=n.contentWindow;else break;n=Xa(e.document)}return n}function Ne(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}function Oe(e){var n=Me(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Le(t.ownerDocument.documentElement,t)){if(null!==r&&Ne(t)){if(n=r.start,void 0===(e=r.end)&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if((e=(n=t.ownerDocument||document)&&n.defaultView||window).getSelection){e=e.getSelection();var l=t.textContent.length,a=Math.min(r.start,l);r=void 0===r.end?a:Math.min(r.end,l),!e.extend&&a>r&&(l=r,r=a,a=l),l=Ke(t,a);var i=Ke(t,r);l&&i&&(1!==e.rangeCount||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((n=n.createRange()).setStart(l.node,l.offset),e.removeAllRanges(),a>r?(e.addRange(n),e.extend(i.node,i.offset)):(n.setEnd(i.node,i.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)1===e.nodeType&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<n.length;t++)(e=n[t]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Pe=ia&&"documentMode"in document&&11>=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;function Ue(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;Te||null==Qe||Qe!==Xa(r)||(r="selectionStart"in(r=Qe)&&Ne(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Se&&Ie(Se,r)||(Se=r,0<(r=oe(Re,"onSelect")).length&&(n=new td("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=Qe)))}function Ve(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var We={animationend:Ve("Animation","AnimationEnd"),animationiteration:Ve("Animation","AnimationIteration"),animationstart:Ve("Animation","AnimationStart"),transitionend:Ve("Transition","TransitionEnd")},Xe={},Ye={};function Ze(e){if(Xe[e])return Xe[e];if(!We[e])return e;var n,t=We[e];for(n in t)if(t.hasOwnProperty(n)&&n in Ye)return Xe[e]=t[n];return e}ia&&(Ye=document.createElement("div").style,"AnimationEvent"in window||(delete We.animationend.animation,delete We.animationiteration.animation,delete We.animationstart.animation),"TransitionEvent"in window||delete We.transitionend.transition);var $e=Ze("animationend"),af=Ze("animationiteration"),bf=Ze("animationstart"),cf=Ze("transitionend"),df=new Map,ef="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ff(e,n){df.set(e,n),fa(n,[e])}for(var gf=0;gf<ef.length;gf++){var l,a,i=ef[gf];ff(i.toLowerCase(),"on"+(i[0].toUpperCase()+i.slice(1)))}ff($e,"onAnimationEnd"),ff(af,"onAnimationIteration"),ff(bf,"onAnimationStart"),ff("dblclick","onDoubleClick"),ff("focusin","onFocus"),ff("focusout","onBlur"),ff(cf,"onTransitionEnd"),ha("onMouseEnter",["mouseout","mouseover"]),ha("onMouseLeave",["mouseout","mouseover"]),ha("onPointerEnter",["pointerout","pointerover"]),ha("onPointerLeave",["pointerout","pointerover"]),fa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),fa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),fa("onBeforeInput",["compositionend","keypress","textInput","paste"]),fa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),fa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),fa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mf=new Set("cancel close invalid load scroll toggle".split(" ").concat(lf));function nf(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,Ub(r,n,void 0,e),e.currentTarget=null}function se(e,n){n=0!=(4&n);for(var t=0;t<e.length;t++){var r=e[t],l=r.event;r=r.listeners;e:{var a=void 0;if(n)for(var i=r.length-1;0<=i;i--){var u=r[i],o=u.instance,c=u.currentTarget;if(u=u.listener,o!==a&&l.isPropagationStopped())break e;nf(l,u,c),a=o}else for(i=0;i<r.length;i++){if(o=(u=r[i]).instance,c=u.currentTarget,u=u.listener,o!==a&&l.isPropagationStopped())break e;nf(l,u,c),a=o}}}if(Qb)throw e=Rb,Qb=!1,Rb=null,e}function D(e,n){var t=n[of];void 0===t&&(t=n[of]=new Set);var r=e+"__bubble";t.has(r)||(pf(n,e,2,!1),t.add(r))}function qf(e,n,t){var r=0;n&&(r|=4),pf(t,e,r,n)}var rf="_reactListening"+Math.random().toString(36).slice(2);function sf(e){if(!e[rf]){e[rf]=!0,da.forEach(function(n){"selectionchange"!==n&&(mf.has(n)||qf(n,!1,e),qf(n,!0,e))});var n=9===e.nodeType?e:e.ownerDocument;null===n||n[rf]||(n[rf]=!0,qf("selectionchange",!1,n))}}function pf(e,n,t,r){switch(jd(n)){case 1:var l=ed;break;case 4:l=gd;break;default:l=fd}t=l.bind(null,n,t,e),l=void 0,Lb&&("touchstart"===n||"touchmove"===n||"wheel"===n)&&(l=!0),r?void 0!==l?e.addEventListener(n,t,{capture:!0,passive:l}):e.addEventListener(n,t,!0):void 0!==l?e.addEventListener(n,t,{passive:l}):e.addEventListener(n,t,!1)}function hd(e,n,t,r,l){var a=r;if(0==(1&n)&&0==(2&n)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var u=r.stateNode.containerInfo;if(u===l||8===u.nodeType&&u.parentNode===l)break;if(4===i)for(i=r.return;null!==i;){var o=i.tag;if((3===o||4===o)&&((o=i.stateNode.containerInfo)===l||8===o.nodeType&&o.parentNode===l))return;i=i.return}for(;null!==u;){if(null===(i=Wc(u)))return;if(5===(o=i.tag)||6===o){r=a=i;continue e}u=u.parentNode}}r=r.return}Jb(function(){var r=a,l=xb(t),i=[];e:{var u=df.get(e);if(void 0!==u){var o=td,c=e;switch(e){case"keypress":if(0===od(t))break e;case"keydown":case"keyup":o=Rd;break;case"focusin":c="focus",o=Fd;break;case"focusout":c="blur",o=Fd;break;case"beforeblur":case"afterblur":o=Fd;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":o=Bd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":o=Dd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":o=Vd;break;case $e:case af:case bf:o=Hd;break;case cf:o=Xd;break;case"scroll":o=vd;break;case"wheel":o=Zd;break;case"copy":case"cut":case"paste":o=Jd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":o=Td}var s=0!=(4&n),f=!s&&"scroll"===e,d=s?null!==u?u+"Capture":null:u;s=[];for(var h,g=r;null!==g;){var m=(h=g).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==d&&null!=(m=Kb(g,d))&&s.push(tf(g,m,h))),f)break;g=g.return}0<s.length&&(u=new o(u,c,null,t,l),i.push({event:u,listeners:s}))}}if(0==(7&n)){e:if(u="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e,!(u&&t!==wb&&(c=t.relatedTarget||t.fromElement)&&(Wc(c)||c[uf]))&&(o||u)&&(u=l.window===l?l:(u=l.ownerDocument)?u.defaultView||u.parentWindow:window,o?(c=t.relatedTarget||t.toElement,o=r,null!==(c=c?Wc(c):null)&&(f=Vb(c),c!==f||5!==c.tag&&6!==c.tag)&&(c=null)):(o=null,c=r),o!==c)){if(s=Bd,m="onMouseLeave",d="onMouseEnter",g="mouse",("pointerout"===e||"pointerover"===e)&&(s=Td,m="onPointerLeave",d="onPointerEnter",g="pointer"),f=null==o?u:ue(o),h=null==c?u:ue(c),(u=new s(m,g+"leave",o,t,l)).target=f,u.relatedTarget=h,m=null,Wc(l)===r&&((s=new s(d,g+"enter",c,t,l)).target=h,s.relatedTarget=f,m=s),f=m,o&&c)n:{for(s=o,d=c,g=0,h=s;h;h=vf(h))g++;for(h=0,m=d;m;m=vf(m))h++;for(;0<g-h;)s=vf(s),g--;for(;0<h-g;)d=vf(d),h--;for(;g--;){if(s===d||null!==d&&s===d.alternate)break n;s=vf(s),d=vf(d)}s=null}else s=null;null!==o&&wf(i,u,o,s,!1),null!==c&&null!==f&&wf(i,f,c,s,!0)}e:{if("select"===(o=(u=r?ue(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===o&&"file"===u.type)var b,y=ve;else if(me(u)){if(we)y=Fe;else{y=De;var k=Ce}}else(o=u.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(y=Ee);if(y&&(y=y(e,r))){ne(i,y,t,l);break e}k&&k(e,u,r),"focusout"===e&&(k=u._wrapperState)&&k.controlled&&"number"===u.type&&cb(u,"number",u.value)}switch(k=r?ue(r):window,e){case"focusin":(me(k)||"true"===k.contentEditable)&&(Qe=k,Re=r,Se=null);break;case"focusout":Se=Re=Qe=null;break;case"mousedown":Te=!0;break;case"contextmenu":case"mouseup":case"dragend":Te=!1,Ue(i,t,l);break;case"selectionchange":if(Pe)break;case"keydown":case"keyup":Ue(i,t,l)}if(ae)n:{switch(e){case"compositionstart":var w="onCompositionStart";break n;case"compositionend":w="onCompositionEnd";break n;case"compositionupdate":w="onCompositionUpdate";break n}w=void 0}else ie?ge(e,t)&&(w="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(w="onCompositionStart");w&&(de&&"ko"!==t.locale&&(ie||"onCompositionStart"!==w?"onCompositionEnd"===w&&ie&&(b=nd()):(ld="value"in(kd=l)?kd.value:kd.textContent,ie=!0)),0<(k=oe(r,w)).length&&(w=new Ld(w,e,null,t,l),i.push({event:w,listeners:k}),b?w.data=b:null!==(b=he(t))&&(w.data=b))),(b=ce?je(e,t):ke(e,t))&&0<(r=oe(r,"onBeforeInput")).length&&(l=new Ld("onBeforeInput","beforeinput",null,t,l),i.push({event:l,listeners:r}),l.data=b)}se(i,n)})}function tf(e,n,t){return{instance:e,listener:n,currentTarget:t}}function oe(e,n){for(var t=n+"Capture",r=[];null!==e;){var l=e,a=l.stateNode;5===l.tag&&null!==a&&(l=a,null!=(a=Kb(e,t))&&r.unshift(tf(e,a,l)),null!=(a=Kb(e,n))&&r.push(tf(e,a,l))),e=e.return}return r}function vf(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag);return e||null}function wf(e,n,t,r,l){for(var a=n._reactName,i=[];null!==t&&t!==r;){var u=t,o=u.alternate,c=u.stateNode;if(null!==o&&o===r)break;5===u.tag&&null!==c&&(u=c,l?null!=(o=Kb(t,a))&&i.unshift(tf(t,o,u)):l||null!=(o=Kb(t,a))&&i.push(tf(t,o,u))),t=t.return}0!==i.length&&e.push({event:n,listeners:i})}var xf=/\r\n?/g,yf=/\u0000|\uFFFD/g;function zf(e){return("string"==typeof e?e:""+e).replace(xf,"\n").replace(yf,"")}function Af(e,n,t){if(n=zf(n),zf(e)!==n&&t)throw Error(p(425))}function Bf(){}var Cf=null,Df=null;function Ef(e,n){return"textarea"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}var Ff="function"==typeof setTimeout?setTimeout:void 0,Gf="function"==typeof clearTimeout?clearTimeout:void 0,Hf="function"==typeof Promise?Promise:void 0,Jf="function"==typeof queueMicrotask?queueMicrotask:void 0!==Hf?function(e){return Hf.resolve(null).then(e).catch(If)}:Ff;function If(e){setTimeout(function(){throw e})}function Kf(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&8===l.nodeType){if("/$"===(t=l.data)){if(0===r){e.removeChild(l),bd(n);return}r--}else"$"!==t&&"$?"!==t&&"$!"!==t||r++}t=l}while(t);bd(n)}function Lf(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break;if(8===n){if("$"===(n=e.data)||"$!"===n||"$?"===n)break;if("/$"===n)return null}}return e}function Mf(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===n)return e;n--}else"/$"===t&&n++}e=e.previousSibling}return null}var Nf=Math.random().toString(36).slice(2),Of="__reactFiber$"+Nf,Pf="__reactProps$"+Nf,uf="__reactContainer$"+Nf,of="__reactEvents$"+Nf,Qf="__reactListeners$"+Nf,Rf="__reactHandles$"+Nf;function Wc(e){var n=e[Of];if(n)return n;for(var t=e.parentNode;t;){if(n=t[uf]||t[Of]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=Mf(e);null!==e;){if(t=e[Of])return t;e=Mf(e)}return n}t=(e=t).parentNode}return null}function Cb(e){return(e=e[Of]||e[uf])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function ue(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(p(33))}function Db(e){return e[Pf]||null}var Sf=[],Tf=-1;function Uf(e){return{current:e}}function E(e){0>Tf||(e.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(e,n){Sf[++Tf]=e.current,e.current=n}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(e,n){var t=e.type.contextTypes;if(!t)return Vf;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l,a={};for(l in t)a[l]=n[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function Zf(e){return null!=(e=e.childContextTypes)}function $f(){E(Wf),E(H)}function ag(e,n,t){if(H.current!==Vf)throw Error(p(168));G(H,n),G(Wf,t)}function bg(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,"function"!=typeof r.getChildContext)return t;for(var l in r=r.getChildContext())if(!(l in n))throw Error(p(108,Ra(e)||"Unknown",l));return A({},t,r)}function cg(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Vf,Xf=H.current,G(H,e),G(Wf,Wf.current),!0}function dg(e,n,t){var r=e.stateNode;if(!r)throw Error(p(169));t?(e=bg(e,n,Xf),r.__reactInternalMemoizedMergedChildContext=e,E(Wf),E(H),G(H,e)):E(Wf),G(Wf,t)}var eg=null,fg=!1,gg=!1;function hg(e){null===eg?eg=[e]:eg.push(e)}function ig(e){fg=!0,hg(e)}function jg(){if(!gg&&null!==eg){gg=!0;var e=0,n=C;try{var t=eg;for(C=1;e<t.length;e++){var r=t[e];do r=r(!0);while(null!==r)}eg=null,fg=!1}catch(l){throw null!==eg&&(eg=eg.slice(e+1)),ac(fc,jg),l}finally{C=n,gg=!1}}return null}var kg=[],lg=0,mg=null,ng=0,og=[],pg=0,qg=null,rg=1,sg="";function tg(e,n){kg[lg++]=ng,kg[lg++]=mg,mg=e,ng=n}function ug(e,n,t){og[pg++]=rg,og[pg++]=sg,og[pg++]=qg,qg=e;var r=rg;e=sg;var l=32-oc(r)-1;r&=~(1<<l),t+=1;var a=32-oc(n)+l;if(30<a){var i=l-l%5;a=(r&(1<<i)-1).toString(32),r>>=i,l-=i,rg=1<<32-oc(n)+l|t<<l|r,sg=a+e}else rg=1<<a|t<<l|r,sg=e}function vg(e){null!==e.return&&(tg(e,1),ug(e,1,0))}function wg(e){for(;e===mg;)mg=kg[--lg],kg[lg]=null,ng=kg[--lg],kg[lg]=null;for(;e===qg;)qg=og[--pg],og[pg]=null,sg=og[--pg],og[pg]=null,rg=og[--pg],og[pg]=null}var xg=null,yg=null,I=!1,zg=null;function Ag(e,n){var t=Bg(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,null===(n=e.deletions)?(e.deletions=[t],e.flags|=16):n.push(t)}function Cg(e,n){switch(e.tag){case 5:var t=e.type;return null!==(n=1!==n.nodeType||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n)&&(e.stateNode=n,xg=e,yg=Lf(n.firstChild),!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,xg=e,yg=null,!0);case 13:return null!==(n=8!==n.nodeType?null:n)&&(t=null!==qg?{id:rg,overflow:sg}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},(t=Bg(18,null,null,0)).stateNode=n,t.return=e,e.child=t,xg=e,yg=null,!0);default:return!1}}function Dg(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function Eg(e){if(I){var n=yg;if(n){var t=n;if(!Cg(e,n)){if(Dg(e))throw Error(p(418));n=Lf(t.nextSibling);var r=xg;n&&Cg(e,n)?Ag(r,t):(e.flags=-4097&e.flags|2,I=!1,xg=e)}}else{if(Dg(e))throw Error(p(418));e.flags=-4097&e.flags|2,I=!1,xg=e}}}function Fg(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;xg=e}function Gg(e){if(e!==xg)return!1;if(!I)return Fg(e),I=!0,!1;if((n=3!==e.tag)&&!(n=5!==e.tag)&&(n="head"!==(n=e.type)&&"body"!==n&&!Ef(e.type,e.memoizedProps)),n&&(n=yg)){if(Dg(e))throw Hg(),Error(p(418));for(;n;)Ag(e,n),n=Lf(n.nextSibling)}if(Fg(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(p(317));e:{for(n=0,e=e.nextSibling;e;){if(8===e.nodeType){var n,t=e.data;if("/$"===t){if(0===n){yg=Lf(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++}e=e.nextSibling}yg=null}}else yg=xg?Lf(e.stateNode.nextSibling):null;return!0}function Hg(){for(var e=yg;e;)e=Lf(e.nextSibling)}function Ig(){yg=xg=null,I=!1}function Jg(e){null===zg?zg=[e]:zg.push(e)}var Kg=ua.ReactCurrentBatchConfig;function Lg(e,n){if(e&&e.defaultProps)for(var t in n=A({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}var Mg=Uf(null),Ng=null,Og=null,Pg=null;function Qg(){Pg=Og=Ng=null}function Rg(e){var n=Mg.current;E(Mg),e._currentValue=n}function Sg(e,n,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,null!==r&&(r.childLanes|=n)):null!==r&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Tg(e,n){Ng=e,Pg=Og=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&n)&&(Ug=!0),e.firstContext=null)}function Vg(e){var n=e._currentValue;if(Pg!==e){if(e={context:e,memoizedValue:n,next:null},null===Og){if(null===Ng)throw Error(p(308));Og=e,Ng.dependencies={lanes:0,firstContext:e}}else Og=Og.next=e}return n}var Wg=null;function Xg(e){null===Wg?Wg=[e]:Wg.push(e)}function Yg(e,n,t,r){var l=n.interleaved;return null===l?(t.next=t,Xg(n)):(t.next=l.next,l.next=t),n.interleaved=t,Zg(e,r)}function Zg(e,n){e.lanes|=n;var t=e.alternate;for(null!==t&&(t.lanes|=n),t=e,e=e.return;null!==e;)e.childLanes|=n,null!==(t=e.alternate)&&(t.childLanes|=n),t=e,e=e.return;return 3===t.tag?t.stateNode:null}var $g=!1;function ah(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function bh(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ch(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function dh(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&K)){var l=r.pending;return null===l?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Zg(e,t)}return null===(l=r.interleaved)?(n.next=n,Xg(r)):(n.next=l.next,l.next=n),r.interleaved=n,Zg(e,t)}function eh(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,0!=(4194240&t))){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Cc(e,t)}}function fh(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var l=null,a=null;if(null!==(t=t.firstBaseUpdate)){do{var i={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===a?l=a=i:a=a.next=i,t=t.next}while(null!==t);null===a?l=a=n:a=a.next=n}else l=a=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=t;return}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function gh(e,n,t,r){var l=e.updateQueue;$g=!1;var a=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(null!==u){l.shared.pending=null;var o=u,c=o.next;o.next=null,null===i?a=c:i.next=c,i=o;var s=e.alternate;null!==s&&(u=(s=s.updateQueue).lastBaseUpdate)!==i&&(null===u?s.firstBaseUpdate=c:u.next=c,s.lastBaseUpdate=o)}if(null!==a){var f=l.baseState;for(i=0,s=c=o=null,u=a;;){var d=u.lane,h=u.eventTime;if((r&d)===d){null!==s&&(s=s.next={eventTime:h,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,m=u;switch(d=n,h=t,m.tag){case 1:if("function"==typeof(g=m.payload)){f=g.call(h,f,d);break e}f=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(d="function"==typeof(g=m.payload)?g.call(h,f,d):g))break e;f=A({},f,d);break e;case 2:$g=!0}}null!==u.callback&&0!==u.lane&&(e.flags|=64,null===(d=l.effects)?l.effects=[u]:d.push(u))}else h={eventTime:h,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},null===s?(c=s=h,o=f):s=s.next=h,i|=d;if(null===(u=u.next)){if(null===(u=l.shared.pending))break;u=(d=u).next,d.next=null,l.lastBaseUpdate=d,l.shared.pending=null}}if(null===s&&(o=f),l.baseState=o,l.firstBaseUpdate=c,l.lastBaseUpdate=s,null!==(n=l.shared.interleaved)){l=n;do i|=l.lane,l=l.next;while(l!==n)}else null===a&&(l.shared.lanes=0);hh|=i,e.lanes=i,e.memoizedState=f}}function ih(e,n,t){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var r=e[n],l=r.callback;if(null!==l){if(r.callback=null,r=t,"function"!=typeof l)throw Error(p(191,l));l.call(r)}}}var jh=(new aa.Component).refs;function kh(e,n,t,r){n=e.memoizedState,t=null==(t=t(r,n))?n:A({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}var nh={isMounted:function(e){return!!(e=e._reactInternals)&&Vb(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=L(),l=lh(e),a=ch(r,l);a.payload=n,null!=t&&(a.callback=t),null!==(n=dh(e,a,l))&&(mh(n,e,l,r),eh(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=L(),l=lh(e),a=ch(r,l);a.tag=1,a.payload=n,null!=t&&(a.callback=t),null!==(n=dh(e,a,l))&&(mh(n,e,l,r),eh(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=L(),r=lh(e),l=ch(t,r);l.tag=2,null!=n&&(l.callback=n),null!==(n=dh(e,l,r))&&(mh(n,e,r,t),eh(n,e,r))}};function oh(e,n,t,r,l,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!n.prototype||!n.prototype.isPureReactComponent||!Ie(t,r)||!Ie(l,a)}function ph(e,n,t){var r=!1,l=Vf,a=n.contextType;return"object"==typeof a&&null!==a?a=Vg(a):(l=Zf(n)?Xf:H.current,a=(r=null!=(r=n.contextTypes))?Yf(e,l):Vf),n=new n(t,a),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=nh,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=a),n}function qh(e,n,t,r){e=n.state,"function"==typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,r),"function"==typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&nh.enqueueReplaceState(n,n.state,null)}function rh(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs=jh,ah(e);var a=n.contextType;"object"==typeof a&&null!==a?l.context=Vg(a):(a=Zf(n)?Xf:H.current,l.context=Yf(e,a)),l.state=e.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(kh(e,n,a,t),l.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||(n=l.state,"function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),n!==l.state&&nh.enqueueReplaceState(l,l.state,null),gh(e,t,l,r),l.state=e.memoizedState),"function"==typeof l.componentDidMount&&(e.flags|=4194308)}function sh(e,n,t){if(null!==(e=t.ref)&&"function"!=typeof e&&"object"!=typeof e){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(p(309));var r=t.stateNode}if(!r)throw Error(p(147,e));var l=r,a=""+e;return null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===a?n.ref:((n=function(e){var n=l.refs;n===jh&&(n=l.refs={}),null===e?delete n[a]:n[a]=e})._stringRef=a,n)}if("string"!=typeof e)throw Error(p(284));if(!t._owner)throw Error(p(290,e))}return e}function th(e,n){throw Error(p(31,"[object Object]"===(e=Object.prototype.toString.call(n))?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function uh(e){return(0,e._init)(e._payload)}function vh(e){function n(n,t){if(e){var r=n.deletions;null===r?(n.deletions=[t],n.flags|=16):r.push(t)}}function t(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function r(e,n){for(e=new Map;null!==n;)null!==n.key?e.set(n.key,n):e.set(n.index,n),n=n.sibling;return e}function l(e,n){return(e=wh(e,n)).index=0,e.sibling=null,e}function a(n,t,r){return(n.index=r,e)?null!==(r=n.alternate)?(r=r.index)<t?(n.flags|=2,t):r:(n.flags|=2,t):(n.flags|=1048576,t)}function i(n){return e&&null===n.alternate&&(n.flags|=2),n}function u(e,n,t,r){return null===n||6!==n.tag?((n=xh(t,e.mode,r)).return=e,n):((n=l(n,t)).return=e,n)}function o(e,n,t,r){var a=t.type;return a===ya?s(e,n,t.props.children,r,t.key):null!==n&&(n.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===Ha&&uh(a)===n.type)?((r=l(n,t.props)).ref=sh(e,n,t),r.return=e,r):((r=yh(t.type,t.key,t.props,null,e.mode,r)).ref=sh(e,n,t),r.return=e,r)}function c(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=zh(t,e.mode,r)).return=e,n):((n=l(n,t.children||[])).return=e,n)}function s(e,n,t,r,a){return null===n||7!==n.tag?((n=Ah(t,e.mode,r,a)).return=e,n):((n=l(n,t)).return=e,n)}function f(e,n,t){if("string"==typeof n&&""!==n||"number"==typeof n)return(n=xh(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case va:return(t=yh(n.type,n.key,n.props,null,e.mode,t)).ref=sh(e,null,n),t.return=e,t;case wa:return(n=zh(n,e.mode,t)).return=e,n;case Ha:var r=n._init;return f(e,r(n._payload),t)}if(eb(n)||Ka(n))return(n=Ah(n,e.mode,t,null)).return=e,n;th(e,n)}return null}function d(e,n,t,r){var l=null!==n?n.key:null;if("string"==typeof t&&""!==t||"number"==typeof t)return null!==l?null:u(e,n,""+t,r);if("object"==typeof t&&null!==t){switch(t.$$typeof){case va:return t.key===l?o(e,n,t,r):null;case wa:return t.key===l?c(e,n,t,r):null;case Ha:return d(e,n,(l=t._init)(t._payload),r)}if(eb(t)||Ka(t))return null!==l?null:s(e,n,t,r,null);th(e,t)}return null}function h(e,n,t,r,l){if("string"==typeof r&&""!==r||"number"==typeof r)return u(n,e=e.get(t)||null,""+r,l);if("object"==typeof r&&null!==r){switch(r.$$typeof){case va:return o(n,e=e.get(null===r.key?t:r.key)||null,r,l);case wa:return c(n,e=e.get(null===r.key?t:r.key)||null,r,l);case Ha:return h(e,n,t,(0,r._init)(r._payload),l)}if(eb(r)||Ka(r))return s(n,e=e.get(t)||null,r,l,null);th(n,r)}return null}return function u(o,c,s,g){if("object"==typeof s&&null!==s&&s.type===ya&&null===s.key&&(s=s.props.children),"object"==typeof s&&null!==s){switch(s.$$typeof){case va:e:{for(var m=s.key,b=c;null!==b;){if(b.key===m){if((m=s.type)===ya){if(7===b.tag){t(o,b.sibling),(c=l(b,s.props.children)).return=o,o=c;break e}}else if(b.elementType===m||"object"==typeof m&&null!==m&&m.$$typeof===Ha&&uh(m)===b.type){t(o,b.sibling),(c=l(b,s.props)).ref=sh(o,b,s),c.return=o,o=c;break e}t(o,b);break}n(o,b),b=b.sibling}s.type===ya?((c=Ah(s.props.children,o.mode,g,s.key)).return=o,o=c):((g=yh(s.type,s.key,s.props,null,o.mode,g)).ref=sh(o,c,s),g.return=o,o=g)}return i(o);case wa:e:{for(b=s.key;null!==c;){if(c.key===b){if(4===c.tag&&c.stateNode.containerInfo===s.containerInfo&&c.stateNode.implementation===s.implementation){t(o,c.sibling),(c=l(c,s.children||[])).return=o,o=c;break e}t(o,c);break}n(o,c),c=c.sibling}(c=zh(s,o.mode,g)).return=o,o=c}return i(o);case Ha:return u(o,c,(b=s._init)(s._payload),g)}if(eb(s))return function(l,i,u,o){for(var c=null,s=null,g=i,m=i=0,b=null;null!==g&&m<u.length;m++){g.index>m?(b=g,g=null):b=g.sibling;var y=d(l,g,u[m],o);if(null===y){null===g&&(g=b);break}e&&g&&null===y.alternate&&n(l,g),i=a(y,i,m),null===s?c=y:s.sibling=y,s=y,g=b}if(m===u.length)return t(l,g),I&&tg(l,m),c;if(null===g){for(;m<u.length;m++)null!==(g=f(l,u[m],o))&&(i=a(g,i,m),null===s?c=g:s.sibling=g,s=g);return I&&tg(l,m),c}for(g=r(l,g);m<u.length;m++)null!==(b=h(g,l,m,u[m],o))&&(e&&null!==b.alternate&&g.delete(null===b.key?m:b.key),i=a(b,i,m),null===s?c=b:s.sibling=b,s=b);return e&&g.forEach(function(e){return n(l,e)}),I&&tg(l,m),c}(o,c,s,g);if(Ka(s))return function(l,i,u,o){var c=Ka(u);if("function"!=typeof c)throw Error(p(150));if(null==(u=c.call(u)))throw Error(p(151));for(var s=c=null,g=i,m=i=0,b=null,y=u.next();null!==g&&!y.done;m++,y=u.next()){g.index>m?(b=g,g=null):b=g.sibling;var k=d(l,g,y.value,o);if(null===k){null===g&&(g=b);break}e&&g&&null===k.alternate&&n(l,g),i=a(k,i,m),null===s?c=k:s.sibling=k,s=k,g=b}if(y.done)return t(l,g),I&&tg(l,m),c;if(null===g){for(;!y.done;m++,y=u.next())null!==(y=f(l,y.value,o))&&(i=a(y,i,m),null===s?c=y:s.sibling=y,s=y);return I&&tg(l,m),c}for(g=r(l,g);!y.done;m++,y=u.next())null!==(y=h(g,l,m,y.value,o))&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),i=a(y,i,m),null===s?c=y:s.sibling=y,s=y);return e&&g.forEach(function(e){return n(l,e)}),I&&tg(l,m),c}(o,c,s,g);th(o,s)}return"string"==typeof s&&""!==s||"number"==typeof s?(s=""+s,null!==c&&6===c.tag?(t(o,c.sibling),(c=l(c,s)).return=o,o=c):(t(o,c),(c=xh(s,o.mode,g)).return=o,o=c),i(o)):t(o,c)}}var Bh=vh(!0),Ch=vh(!1),Dh={},Eh=Uf(Dh),Fh=Uf(Dh),Gh=Uf(Dh);function Hh(e){if(e===Dh)throw Error(p(174));return e}function Ih(e,n){switch(G(Gh,n),G(Fh,e),G(Eh,Dh),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:lb(null,"");break;default:n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName,n=lb(n,e)}E(Eh),G(Eh,n)}function Jh(){E(Eh),E(Fh),E(Gh)}function Kh(e){Hh(Gh.current);var n=Hh(Eh.current),t=lb(n,e.type);n!==t&&(G(Fh,e),G(Eh,t))}function Lh(e){Fh.current===e&&(E(Eh),E(Fh))}var M=Uf(0);function Mh(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(0!=(128&n.flags))return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Nh=[];function Oh(){for(var e=0;e<Nh.length;e++)Nh[e]._workInProgressVersionPrimary=null;Nh.length=0}var Ph=ua.ReactCurrentDispatcher,Qh=ua.ReactCurrentBatchConfig,Rh=0,N=null,O=null,P=null,Sh=!1,Th=!1,Uh=0,Vh=0;function Q(){throw Error(p(321))}function Wh(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!He(e[t],n[t]))return!1;return!0}function Xh(e,n,t,r,l,a){if(Rh=a,N=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Ph.current=null===e||null===e.memoizedState?Yh:Zh,e=t(r,l),Th){a=0;do{if(Th=!1,Uh=0,25<=a)throw Error(p(301));a+=1,P=O=null,n.updateQueue=null,Ph.current=$h,e=t(r,l)}while(Th)}if(Ph.current=ai,n=null!==O&&null!==O.next,Rh=0,P=O=N=null,Sh=!1,n)throw Error(p(300));return e}function bi(){var e=0!==Uh;return Uh=0,e}function ci(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===P?N.memoizedState=P=e:P=P.next=e,P}function di(){if(null===O){var e=N.alternate;e=null!==e?e.memoizedState:null}else e=O.next;var n=null===P?N.memoizedState:P.next;if(null!==n)P=n,O=e;else{if(null===e)throw Error(p(310));e={memoizedState:(O=e).memoizedState,baseState:O.baseState,baseQueue:O.baseQueue,queue:O.queue,next:null},null===P?N.memoizedState=P=e:P=P.next=e}return P}function ei(e,n){return"function"==typeof n?n(e):n}function fi(e){var n=di(),t=n.queue;if(null===t)throw Error(p(311));t.lastRenderedReducer=e;var r=O,l=r.baseQueue,a=t.pending;if(null!==a){if(null!==l){var i=l.next;l.next=a.next,a.next=i}r.baseQueue=l=a,t.pending=null}if(null!==l){a=l.next,r=r.baseState;var u=i=null,o=null,c=a;do{var s=c.lane;if((Rh&s)===s)null!==o&&(o=o.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:s,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===o?(u=o=f,i=r):o=o.next=f,N.lanes|=s,hh|=s}c=c.next}while(null!==c&&c!==a);null===o?i=r:o.next=u,He(r,n.memoizedState)||(Ug=!0),n.memoizedState=r,n.baseState=i,n.baseQueue=o,t.lastRenderedState=r}if(null!==(e=t.interleaved)){l=e;do a=l.lane,N.lanes|=a,hh|=a,l=l.next;while(l!==e)}else null===l&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function gi(e){var n=di(),t=n.queue;if(null===t)throw Error(p(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,a=n.memoizedState;if(null!==l){t.pending=null;var i=l=l.next;do a=e(a,i.action),i=i.next;while(i!==l);He(a,n.memoizedState)||(Ug=!0),n.memoizedState=a,null===n.baseQueue&&(n.baseState=a),t.lastRenderedState=a}return[a,r]}function hi(){}function ii(e,n){var t=N,r=di(),l=n(),a=!He(r.memoizedState,l);if(a&&(r.memoizedState=l,Ug=!0),r=r.queue,ji(ki.bind(null,t,r,e),[e]),r.getSnapshot!==n||a||null!==P&&1&P.memoizedState.tag){if(t.flags|=2048,li(9,mi.bind(null,t,r,l,n),void 0,null),null===R)throw Error(p(349));0!=(30&Rh)||ni(t,n,l)}return l}function ni(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},null===(n=N.updateQueue)?(n={lastEffect:null,stores:null},N.updateQueue=n,n.stores=[e]):null===(t=n.stores)?n.stores=[e]:t.push(e)}function mi(e,n,t,r){n.value=t,n.getSnapshot=r,oi(n)&&pi(e)}function ki(e,n,t){return t(function(){oi(n)&&pi(e)})}function oi(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!He(e,t)}catch(r){return!0}}function pi(e){var n=Zg(e,1);null!==n&&mh(n,e,1,-1)}function qi(e){var n=ci();return"function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ei,lastRenderedState:e},n.queue=e,e=e.dispatch=ri.bind(null,N,e),[n.memoizedState,e]}function li(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=N.updateQueue)?(n={lastEffect:null,stores:null},N.updateQueue=n,n.lastEffect=e.next=e):null===(t=n.lastEffect)?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e),e}function si(){return di().memoizedState}function ti(e,n,t,r){var l=ci();N.flags|=e,l.memoizedState=li(1|n,t,void 0,void 0===r?null:r)}function ui(e,n,t,r){var l=di();r=void 0===r?null:r;var a=void 0;if(null!==O){var i=O.memoizedState;if(a=i.destroy,null!==r&&Wh(r,i.deps)){l.memoizedState=li(n,t,a,r);return}}N.flags|=e,l.memoizedState=li(1|n,t,a,r)}function vi(e,n){return ti(8390656,8,e,n)}function ji(e,n){return ui(2048,8,e,n)}function wi(e,n){return ui(4,2,e,n)}function xi(e,n){return ui(4,4,e,n)}function yi(e,n){return"function"==typeof n?(n(e=e()),function(){n(null)}):null!=n?(e=e(),n.current=e,function(){n.current=null}):void 0}function zi(e,n,t){return t=null!=t?t.concat([e]):null,ui(4,4,yi.bind(null,n,e),t)}function Ai(){}function Bi(e,n){var t=di();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&Wh(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Ci(e,n){var t=di();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&Wh(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Di(e,n,t){return 0==(21&Rh)?(e.baseState&&(e.baseState=!1,Ug=!0),e.memoizedState=t):(He(t,n)||(t=yc(),N.lanes|=t,hh|=t,e.baseState=!0),n)}function Ei(e,n){var t=C;C=0!==t&&4>t?t:4,e(!0);var r=Qh.transition;Qh.transition={};try{e(!1),n()}finally{C=t,Qh.transition=r}}function Fi(){return di().memoizedState}function Gi(e,n,t){var r=lh(e);(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Hi(e))?Ii(n,t):null!==(t=Yg(e,n,t,r))&&(mh(t,e,r,L()),Ji(t,n,r))}function ri(e,n,t){var r=lh(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Hi(e))Ii(n,l);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=n.lastRenderedReducer))try{var i=n.lastRenderedState,u=a(i,t);if(l.hasEagerState=!0,l.eagerState=u,He(u,i)){var o=n.interleaved;null===o?(l.next=l,Xg(n)):(l.next=o.next,o.next=l),n.interleaved=l;return}}catch(c){}finally{}null!==(t=Yg(e,n,l,r))&&(mh(t,e,r,l=L()),Ji(t,n,r))}}function Hi(e){var n=e.alternate;return e===N||null!==n&&n===N}function Ii(e,n){Th=Sh=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Ji(e,n,t){if(0!=(4194240&t)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Cc(e,t)}}var ai={readContext:Vg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useInsertionEffect:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useDeferredValue:Q,useTransition:Q,useMutableSource:Q,useSyncExternalStore:Q,useId:Q,unstable_isNewReconciler:!1},Yh={readContext:Vg,useCallback:function(e,n){return ci().memoizedState=[e,void 0===n?null:n],e},useContext:Vg,useEffect:vi,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,ti(4194308,4,yi.bind(null,n,e),t)},useLayoutEffect:function(e,n){return ti(4194308,4,e,n)},useInsertionEffect:function(e,n){return ti(4,2,e,n)},useMemo:function(e,n){var t=ci();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=ci();return n=void 0!==t?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=Gi.bind(null,N,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ci().memoizedState=e},useState:qi,useDebugValue:Ai,useDeferredValue:function(e){return ci().memoizedState=e},useTransition:function(){var e=qi(!1),n=e[0];return e=Ei.bind(null,e[1]),ci().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=N,l=ci();if(I){if(void 0===t)throw Error(p(407));t=t()}else{if(t=n(),null===R)throw Error(p(349));0!=(30&Rh)||ni(r,n,t)}l.memoizedState=t;var a={value:t,getSnapshot:n};return l.queue=a,vi(ki.bind(null,r,a,e),[e]),r.flags|=2048,li(9,mi.bind(null,r,a,t,n),void 0,null),t},useId:function(){var e=ci(),n=R.identifierPrefix;if(I){var t=sg,r=rg;n=":"+n+"R"+(t=(r&~(1<<32-oc(r)-1)).toString(32)+t),0<(t=Uh++)&&(n+="H"+t.toString(32)),n+=":"}else n=":"+n+"r"+(t=Vh++).toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},Zh={readContext:Vg,useCallback:Bi,useContext:Vg,useEffect:ji,useImperativeHandle:zi,useInsertionEffect:wi,useLayoutEffect:xi,useMemo:Ci,useReducer:fi,useRef:si,useState:function(){return fi(ei)},useDebugValue:Ai,useDeferredValue:function(e){return Di(di(),O.memoizedState,e)},useTransition:function(){return[fi(ei)[0],di().memoizedState]},useMutableSource:hi,useSyncExternalStore:ii,useId:Fi,unstable_isNewReconciler:!1},$h={readContext:Vg,useCallback:Bi,useContext:Vg,useEffect:ji,useImperativeHandle:zi,useInsertionEffect:wi,useLayoutEffect:xi,useMemo:Ci,useReducer:gi,useRef:si,useState:function(){return gi(ei)},useDebugValue:Ai,useDeferredValue:function(e){var n=di();return null===O?n.memoizedState=e:Di(n,O.memoizedState,e)},useTransition:function(){return[gi(ei)[0],di().memoizedState]},useMutableSource:hi,useSyncExternalStore:ii,useId:Fi,unstable_isNewReconciler:!1};function Ki(e,n){try{var t="",r=n;do t+=Pa(r),r=r.return;while(r);var l=t}catch(a){l="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:n,stack:l,digest:null}}function Li(e,n,t){return{value:e,source:null,stack:null!=t?t:null,digest:null!=n?n:null}}function Mi(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var Ni="function"==typeof WeakMap?WeakMap:Map;function Oi(e,n,t){(t=ch(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Pi||(Pi=!0,Qi=r),Mi(e,n)},t}function Ri(e,n,t){(t=ch(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){Mi(e,n)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(t.callback=function(){Mi(e,n),"function"!=typeof r&&(null===Si?Si=new Set([this]):Si.add(this));var t=n.stack;this.componentDidCatch(n.value,{componentStack:null!==t?t:""})}),t}function Ti(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new Ni;var l=new Set;r.set(n,l)}else void 0===(l=r.get(n))&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=Ui.bind(null,e,n,t),n.then(e,e))}function Vi(e){do{var n;if((n=13===e.tag)&&(n=null===(n=e.memoizedState)||null!==n.dehydrated),n)return e;e=e.return}while(null!==e);return null}function Wi(e,n,t,r,l){return 0==(1&e.mode)?(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((n=ch(-1,1)).tag=2,dh(t,n,1))),t.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var Xi=ua.ReactCurrentOwner,Ug=!1;function Yi(e,n,t,r){n.child=null===e?Ch(n,null,t,r):Bh(n,e.child,t,r)}function Zi(e,n,t,r,l){t=t.render;var a=n.ref;return(Tg(n,l),r=Xh(e,n,t,r,a,l),t=bi(),null===e||Ug)?(I&&t&&vg(n),n.flags|=1,Yi(e,n,r,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,$i(e,n,l))}function aj(e,n,t,r,l){if(null===e){var a=t.type;return"function"!=typeof a||bj(a)||void 0!==a.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=yh(t.type,null,r,n,n.mode,l)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=a,cj(e,n,a,r,l))}if(a=e.child,0==(e.lanes&l)){var i=a.memoizedProps;if((t=null!==(t=t.compare)?t:Ie)(i,r)&&e.ref===n.ref)return $i(e,n,l)}return n.flags|=1,(e=wh(a,r)).ref=n.ref,e.return=n,n.child=e}function cj(e,n,t,r,l){if(null!==e){var a=e.memoizedProps;if(Ie(a,r)&&e.ref===n.ref){if(Ug=!1,n.pendingProps=r=a,0==(e.lanes&l))return n.lanes=e.lanes,$i(e,n,l);0!=(131072&e.flags)&&(Ug=!0)}}return dj(e,n,t,r,l)}function ej(e,n,t){var r=n.pendingProps,l=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&n.mode))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(fj,gj),gj|=t;else{if(0==(1073741824&t))return e=null!==a?a.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,G(fj,gj),gj|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:t,G(fj,gj),gj|=r}}else null!==a?(r=a.baseLanes|t,n.memoizedState=null):r=t,G(fj,gj),gj|=r;return Yi(e,n,l,t),n.child}function hj(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function dj(e,n,t,r,l){var a=Zf(t)?Xf:H.current;return(a=Yf(n,a),Tg(n,l),t=Xh(e,n,t,r,a,l),r=bi(),null===e||Ug)?(I&&r&&vg(n),n.flags|=1,Yi(e,n,t,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,$i(e,n,l))}function ij(e,n,t,r,l){if(Zf(t)){var a=!0;cg(n)}else a=!1;if(Tg(n,l),null===n.stateNode)jj(e,n),ph(n,t,r),rh(n,t,r,l),r=!0;else if(null===e){var i=n.stateNode,u=n.memoizedProps;i.props=u;var o=i.context,c=t.contextType;c="object"==typeof c&&null!==c?Vg(c):Yf(n,c=Zf(t)?Xf:H.current);var s=t.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(u!==r||o!==c)&&qh(n,i,r,c),$g=!1;var d=n.memoizedState;i.state=d,gh(n,r,i,l),o=n.memoizedState,u!==r||d!==o||Wf.current||$g?("function"==typeof s&&(kh(n,t,s,r),o=n.memoizedState),(u=$g||oh(n,t,u,r,d,o,c))?(f||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(n.flags|=4194308)):("function"==typeof i.componentDidMount&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=o),i.props=r,i.state=o,i.context=c,r=u):("function"==typeof i.componentDidMount&&(n.flags|=4194308),r=!1)}else{i=n.stateNode,bh(e,n),u=n.memoizedProps,c=n.type===n.elementType?u:Lg(n.type,u),i.props=c,f=n.pendingProps,d=i.context,o="object"==typeof(o=t.contextType)&&null!==o?Vg(o):Yf(n,o=Zf(t)?Xf:H.current);var h=t.getDerivedStateFromProps;(s="function"==typeof h||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(u!==f||d!==o)&&qh(n,i,r,o),$g=!1,d=n.memoizedState,i.state=d,gh(n,r,i,l);var g=n.memoizedState;u!==f||d!==g||Wf.current||$g?("function"==typeof h&&(kh(n,t,h,r),g=n.memoizedState),(c=$g||oh(n,t,c,r,d,g,o)||!1)?(s||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,g,o),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,g,o)),"function"==typeof i.componentDidUpdate&&(n.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(n.flags|=1024)):("function"!=typeof i.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=g),i.props=r,i.state=g,i.context=o,r=c):("function"!=typeof i.componentDidUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||u===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),r=!1)}return kj(e,n,t,r,a,l)}function kj(e,n,t,r,l,a){hj(e,n);var i=0!=(128&n.flags);if(!r&&!i)return l&&dg(n,t,!1),$i(e,n,a);r=n.stateNode,Xi.current=n;var u=i&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&i?(n.child=Bh(n,e.child,null,a),n.child=Bh(n,null,u,a)):Yi(e,n,u,a),n.memoizedState=r.state,l&&dg(n,t,!0),n.child}function lj(e){var n=e.stateNode;n.pendingContext?ag(e,n.pendingContext,n.pendingContext!==n.context):n.context&&ag(e,n.context,!1),Ih(e,n.containerInfo)}function mj(e,n,t,r,l){return Ig(),Jg(l),n.flags|=256,Yi(e,n,t,r),n.child}var nj={dehydrated:null,treeContext:null,retryLane:0};function oj(e){return{baseLanes:e,cachePool:null,transitions:null}}function pj(e,n,t){var r,l=n.pendingProps,a=M.current,i=!1,u=0!=(128&n.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,n.flags&=-129):(null===e||null!==e.memoizedState)&&(a|=1),G(M,1&a),null===e)return(Eg(n),null!==(e=n.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&n.mode)?n.lanes=1:"$!"===e.data?n.lanes=8:n.lanes=1073741824,null):(u=l.children,e=l.fallback,i?(l=n.mode,i=n.child,u={mode:"hidden",children:u},0==(1&l)&&null!==i?(i.childLanes=0,i.pendingProps=u):i=qj(u,l,0,null),e=Ah(e,l,t,null),i.return=n,e.return=n,i.sibling=e,n.child=i,n.child.memoizedState=oj(t),n.memoizedState=nj,e):rj(n,u));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return sj(e,n,u,l,r,a,t);if(i){i=l.fallback,u=n.mode,r=(a=e.child).sibling;var o={mode:"hidden",children:l.children};return 0==(1&u)&&n.child!==a?((l=n.child).childLanes=0,l.pendingProps=o,n.deletions=null):(l=wh(a,o)).subtreeFlags=14680064&a.subtreeFlags,null!==r?i=wh(r,i):(i=Ah(i,u,t,null),i.flags|=2),i.return=n,l.return=n,l.sibling=i,n.child=l,l=i,i=n.child,u=null===(u=e.child.memoizedState)?oj(t):{baseLanes:u.baseLanes|t,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~t,n.memoizedState=nj,l}return e=(i=e.child).sibling,l=wh(i,{mode:"visible",children:l.children}),0==(1&n.mode)&&(l.lanes=t),l.return=n,l.sibling=null,null!==e&&(null===(t=n.deletions)?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=l,n.memoizedState=null,l}function rj(e,n){return(n=qj({mode:"visible",children:n},e.mode,0,null)).return=e,e.child=n}function tj(e,n,t,r){return null!==r&&Jg(r),Bh(n,e.child,null,t),e=rj(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function sj(e,n,t,r,l,a,i){if(t)return 256&n.flags?(n.flags&=-257,tj(e,n,i,r=Li(Error(p(422))))):null!==n.memoizedState?(n.child=e.child,n.flags|=128,null):(a=r.fallback,l=n.mode,r=qj({mode:"visible",children:r.children},l,0,null),a=Ah(a,l,i,null),a.flags|=2,r.return=n,a.return=n,r.sibling=a,n.child=r,0!=(1&n.mode)&&Bh(n,e.child,null,i),n.child.memoizedState=oj(i),n.memoizedState=nj,a);if(0==(1&n.mode))return tj(e,n,i,null);if("$!"===l.data){if(r=l.nextSibling&&l.nextSibling.dataset)var u=r.dgst;return r=u,r=Li(a=Error(p(419)),r,void 0),tj(e,n,i,r)}if(u=0!=(i&e.childLanes),Ug||u){if(null!==(r=R)){switch(i&-i){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}0!==(l=0!=(l&(r.suspendedLanes|i))?0:l)&&l!==a.retryLane&&(a.retryLane=l,Zg(e,l),mh(r,e,l,-1))}return uj(),tj(e,n,i,r=Li(Error(p(421))))}return"$?"===l.data?(n.flags|=128,n.child=e.child,n=vj.bind(null,e),l._reactRetry=n,null):(e=a.treeContext,yg=Lf(l.nextSibling),xg=n,I=!0,zg=null,null!==e&&(og[pg++]=rg,og[pg++]=sg,og[pg++]=qg,rg=e.id,sg=e.overflow,qg=n),n=rj(n,r.children),n.flags|=4096,n)}function wj(e,n,t){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n),Sg(e.return,n,t)}function xj(e,n,t,r,l){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(a.isBackwards=n,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=t,a.tailMode=l)}function yj(e,n,t){var r=n.pendingProps,l=r.revealOrder,a=r.tail;if(Yi(e,n,r.children,t),0!=(2&(r=M.current)))r=1&r|2,n.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&wj(e,t,n);else if(19===e.tag)wj(e,t,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(G(M,r),0==(1&n.mode))n.memoizedState=null;else switch(l){case"forwards":for(l=null,t=n.child;null!==t;)null!==(e=t.alternate)&&null===Mh(e)&&(l=t),t=t.sibling;null===(t=l)?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),xj(n,!1,l,t,a);break;case"backwards":for(t=null,l=n.child,n.child=null;null!==l;){if(null!==(e=l.alternate)&&null===Mh(e)){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}xj(n,!0,t,null,a);break;case"together":xj(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function jj(e,n){0==(1&n.mode)&&null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2)}function $i(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),hh|=n.lanes,0==(t&n.childLanes))return null;if(null!==e&&n.child!==e.child)throw Error(p(153));if(null!==n.child){for(t=wh(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=wh(e,e.pendingProps)).return=n;t.sibling=null}return n.child}function zj(e,n,t){switch(n.tag){case 3:lj(n),Ig();break;case 5:Kh(n);break;case 1:Zf(n.type)&&cg(n);break;case 4:Ih(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;G(Mg,r._currentValue),r._currentValue=l;break;case 13:if(null!==(r=n.memoizedState)){if(null!==r.dehydrated)return G(M,1&M.current),n.flags|=128,null;if(0!=(t&n.child.childLanes))return pj(e,n,t);return G(M,1&M.current),null!==(e=$i(e,n,t))?e.sibling:null}G(M,1&M.current);break;case 19:if(r=0!=(t&n.childLanes),0!=(128&e.flags)){if(r)return yj(e,n,t);n.flags|=128}if(null!==(l=n.memoizedState)&&(l.rendering=null,l.tail=null,l.lastEffect=null),G(M,M.current),!r)return null;break;case 22:case 23:return n.lanes=0,ej(e,n,t)}return $i(e,n,t)}function Ej(e,n){if(!I)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?n||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function S(e){var n=null!==e.alternate&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=14680064&l.subtreeFlags,r|=14680064&l.flags,l.return=e,l=l.sibling;else for(l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function Fj(e,n,t){var r=n.pendingProps;switch(wg(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return S(n),null;case 1:case 17:return Zf(n.type)&&$f(),S(n),null;case 3:return r=n.stateNode,Jh(),E(Wf),E(H),Oh(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(Gg(n)?n.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&n.flags)||(n.flags|=1024,null!==zg&&(Gj(zg),zg=null))),Bj(e,n),S(n),null;case 5:Lh(n);var l=Hh(Gh.current);if(t=n.type,null!==e&&null!=n.stateNode)Cj(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(null===n.stateNode)throw Error(p(166));return S(n),null}if(e=Hh(Eh.current),Gg(n)){r=n.stateNode,t=n.type;var a=n.memoizedProps;switch(r[Of]=n,r[Pf]=a,e=0!=(1&n.mode),t){case"dialog":D("cancel",r),D("close",r);break;case"iframe":case"object":case"embed":D("load",r);break;case"video":case"audio":for(l=0;l<lf.length;l++)D(lf[l],r);break;case"source":D("error",r);break;case"img":case"image":case"link":D("error",r),D("load",r);break;case"details":D("toggle",r);break;case"input":Za(r,a),D("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},D("invalid",r);break;case"textarea":hb(r,a),D("invalid",r)}for(var i in ub(t,a),l=null,a)if(a.hasOwnProperty(i)){var u=a[i];"children"===i?"string"==typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Af(r.textContent,u,e),l=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Af(r.textContent,u,e),l=["children",""+u]):ea.hasOwnProperty(i)&&null!=u&&"onScroll"===i&&D("scroll",r)}switch(t){case"input":Va(r),db(r,a,!0);break;case"textarea":Va(r),jb(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Bf)}r=l,n.updateQueue=r,null!==r&&(n.flags|=4)}else{i=9===l.nodeType?l:l.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=kb(t)),"http://www.w3.org/1999/xhtml"===e?"script"===t?((e=i.createElement("div")).innerHTML="<script></script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(t,{is:r.is}):(e=i.createElement(t),"select"===t&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,t),e[Of]=n,e[Pf]=r,Aj(e,n,!1,!1),n.stateNode=e;e:{switch(i=vb(t,r),t){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;l<lf.length;l++)D(lf[l],e);l=r;break;case"source":D("error",e),l=r;break;case"img":case"image":case"link":D("error",e),D("load",e),l=r;break;case"details":D("toggle",e),l=r;break;case"input":Za(e,r),l=Ya(e,r),D("invalid",e);break;case"option":default:l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=A({},r,{value:void 0}),D("invalid",e);break;case"textarea":hb(e,r),l=gb(e,r),D("invalid",e)}for(a in ub(t,l),u=l)if(u.hasOwnProperty(a)){var o=u[a];"style"===a?sb(e,o):"dangerouslySetInnerHTML"===a?null!=(o=o?o.__html:void 0)&&nb(e,o):"children"===a?"string"==typeof o?("textarea"!==t||""!==o)&&ob(e,o):"number"==typeof o&&ob(e,""+o):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(ea.hasOwnProperty(a)?null!=o&&"onScroll"===a&&D("scroll",e):null!=o&&ta(e,a,o,i))}switch(t){case"input":Va(e),db(e,r,!1);break;case"textarea":Va(e),jb(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Sa(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?fb(e,!!r.multiple,a,!1):null!=r.defaultValue&&fb(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=Bf)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}null!==n.ref&&(n.flags|=512,n.flags|=2097152)}return S(n),null;case 6:if(e&&null!=n.stateNode)Dj(e,n,e.memoizedProps,r);else{if("string"!=typeof r&&null===n.stateNode)throw Error(p(166));if(t=Hh(Gh.current),Hh(Eh.current),Gg(n)){if(r=n.stateNode,t=n.memoizedProps,r[Of]=n,(a=r.nodeValue!==t)&&null!==(e=xg))switch(e.tag){case 3:Af(r.nodeValue,t,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Af(r.nodeValue,t,0!=(1&e.mode))}a&&(n.flags|=4)}else(r=(9===t.nodeType?t:t.ownerDocument).createTextNode(r))[Of]=n,n.stateNode=r}return S(n),null;case 13:if(E(M),r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(I&&null!==yg&&0!=(1&n.mode)&&0==(128&n.flags))Hg(),Ig(),n.flags|=98560,a=!1;else if(a=Gg(n),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(p(318));if(!(a=null!==(a=n.memoizedState)?a.dehydrated:null))throw Error(p(317));a[Of]=n}else Ig(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;S(n),a=!1}else null!==zg&&(Gj(zg),zg=null),a=!0;if(!a)return 65536&n.flags?n:null}if(0!=(128&n.flags))return n.lanes=t,n;return(r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(n.child.flags|=8192,0!=(1&n.mode)&&(null===e||0!=(1&M.current)?0===T&&(T=3):uj())),null!==n.updateQueue&&(n.flags|=4),S(n),null;case 4:return Jh(),Bj(e,n),null===e&&sf(n.stateNode.containerInfo),S(n),null;case 10:return Rg(n.type._context),S(n),null;case 19:if(E(M),null===(a=n.memoizedState))return S(n),null;if(r=0!=(128&n.flags),null===(i=a.rendering)){if(r)Ej(a,!1);else{if(0!==T||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(i=Mh(e))){for(n.flags|=128,Ej(a,!1),null!==(r=i.updateQueue)&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;null!==t;)a=t,e=r,a.flags&=14680066,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return G(M,1&M.current|2),n.child}e=e.sibling}null!==a.tail&&B()>Hj&&(n.flags|=128,r=!0,Ej(a,!1),n.lanes=4194304)}}else{if(!r){if(null!==(e=Mh(i))){if(n.flags|=128,r=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.flags|=4),Ej(a,!0),null===a.tail&&"hidden"===a.tailMode&&!i.alternate&&!I)return S(n),null}else 2*B()-a.renderingStartTime>Hj&&1073741824!==t&&(n.flags|=128,r=!0,Ej(a,!1),n.lanes=4194304)}a.isBackwards?(i.sibling=n.child,n.child=i):(null!==(t=a.last)?t.sibling=i:n.child=i,a.last=i)}if(null!==a.tail)return n=a.tail,a.rendering=n,a.tail=n.sibling,a.renderingStartTime=B(),n.sibling=null,t=M.current,G(M,r?1&t|2:1&t),n;return S(n),null;case 22:case 23:return Ij(),r=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==r&&(n.flags|=8192),r&&0!=(1&n.mode)?0!=(1073741824&gj)&&(S(n),6&n.subtreeFlags&&(n.flags|=8192)):S(n),null;case 24:case 25:return null}throw Error(p(156,n.tag))}function Jj(e,n){switch(wg(n),n.tag){case 1:return Zf(n.type)&&$f(),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return Jh(),E(Wf),E(H),Oh(),0!=(65536&(e=n.flags))&&0==(128&e)?(n.flags=-65537&e|128,n):null;case 5:return Lh(n),null;case 13:if(E(M),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(p(340));Ig()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return E(M),null;case 4:return Jh(),null;case 10:return Rg(n.type._context),null;case 22:case 23:return Ij(),null;default:return null}}Aj=function(e,n){for(var t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},Bj=function(){},Cj=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,Hh(Eh.current);var a,i=null;switch(t){case"input":l=Ya(e,l),r=Ya(e,r),i=[];break;case"select":l=A({},l,{value:void 0}),r=A({},r,{value:void 0}),i=[];break;case"textarea":l=gb(e,l),r=gb(e,r),i=[];break;default:"function"!=typeof l.onClick&&"function"==typeof r.onClick&&(e.onclick=Bf)}for(c in ub(t,r),t=null,l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&null!=l[c]){if("style"===c){var u=l[c];for(a in u)u.hasOwnProperty(a)&&(t||(t={}),t[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(ea.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null))}for(c in r){var o=r[c];if(u=null!=l?l[c]:void 0,r.hasOwnProperty(c)&&o!==u&&(null!=o||null!=u)){if("style"===c){if(u){for(a in u)!u.hasOwnProperty(a)||o&&o.hasOwnProperty(a)||(t||(t={}),t[a]="");for(a in o)o.hasOwnProperty(a)&&u[a]!==o[a]&&(t||(t={}),t[a]=o[a])}else t||(i||(i=[]),i.push(c,t)),t=o}else"dangerouslySetInnerHTML"===c?(o=o?o.__html:void 0,u=u?u.__html:void 0,null!=o&&u!==o&&(i=i||[]).push(c,o)):"children"===c?"string"!=typeof o&&"number"!=typeof o||(i=i||[]).push(c,""+o):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(ea.hasOwnProperty(c)?(null!=o&&"onScroll"===c&&D("scroll",e),i||u===o||(i=[])):(i=i||[]).push(c,o))}}t&&(i=i||[]).push("style",t);var c=i;(n.updateQueue=c)&&(n.flags|=4)}},Dj=function(e,n,t,r){t!==r&&(n.flags|=4)};var Kj=!1,U=!1,Lj="function"==typeof WeakSet?WeakSet:Set,V=null;function Mj(e,n){var t=e.ref;if(null!==t){if("function"==typeof t)try{t(null)}catch(r){W(e,n,r)}else t.current=null}}function Nj(e,n,t){try{t()}catch(r){W(e,n,r)}}var Oj=!1;function Pj(e,n){if(Cf=dd,Ne(e=Me())){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(r&&0!==r.rangeCount){t=r.anchorNode;var l,a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch(u){t=null;break e}var o=0,c=-1,s=-1,f=0,d=0,h=e,g=null;n:for(;;){for(;h!==t||0!==a&&3!==h.nodeType||(c=o+a),h!==i||0!==r&&3!==h.nodeType||(s=o+r),3===h.nodeType&&(o+=h.nodeValue.length),null!==(l=h.firstChild);)g=h,h=l;for(;;){if(h===e)break n;if(g===t&&++f===a&&(c=o),g===i&&++d===r&&(s=o),null!==(l=h.nextSibling))break;g=(h=g).parentNode}h=l}t=-1===c||-1===s?null:{start:c,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(Df={focusedElem:e,selectionRange:t},dd=!1,V=n;null!==V;)if(e=(n=V).child,0!=(1028&n.subtreeFlags)&&null!==e)e.return=n,V=e;else for(;null!==V;){n=V;try{var m=n.alternate;if(0!=(1024&n.flags))switch(n.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var b=m.memoizedProps,y=m.memoizedState,k=n.stateNode,w=k.getSnapshotBeforeUpdate(n.elementType===n.type?b:Lg(n.type,b),y);k.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var x=n.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(p(163))}}catch(j){W(n,n.return,j)}if(null!==(e=n.sibling)){e.return=n.return,V=e;break}V=n.return}return m=Oj,Oj=!1,m}function Qj(e,n,t){var r=n.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l=r=r.next;do{if((l.tag&e)===e){var a=l.destroy;l.destroy=void 0,void 0!==a&&Nj(n,t,a)}l=l.next}while(l!==r)}}function Rj(e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Sj(e){var n=e.ref;if(null!==n){var t=e.stateNode;e.tag,e=t,"function"==typeof n?n(e):n.current=e}}function Tj(e){var n=e.alternate;null!==n&&(e.alternate=null,Tj(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(n=e.stateNode)&&(delete n[Of],delete n[Pf],delete n[of],delete n[Qf],delete n[Rf]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Uj(e){return 5===e.tag||3===e.tag||4===e.tag}function Vj(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Uj(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Wj(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?8===t.nodeType?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(8===t.nodeType?(n=t.parentNode).insertBefore(e,t):(n=t).appendChild(e),null!=(t=t._reactRootContainer)||null!==n.onclick||(n.onclick=Bf));else if(4!==r&&null!==(e=e.child))for(Wj(e,n,t),e=e.sibling;null!==e;)Wj(e,n,t),e=e.sibling}function Xj(e,n,t){var r=e.tag;if(5===r||6===r)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Xj(e,n,t),e=e.sibling;null!==e;)Xj(e,n,t),e=e.sibling}var X=null,Yj=!1;function Zj(e,n,t){for(t=t.child;null!==t;)ak(e,n,t),t=t.sibling}function ak(e,n,t){if(lc&&"function"==typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,t)}catch(r){}switch(t.tag){case 5:U||Mj(t,n);case 6:var l=X,a=Yj;X=null,Zj(e,n,t),X=l,Yj=a,null!==X&&(Yj?(e=X,t=t.stateNode,8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)):X.removeChild(t.stateNode));break;case 18:null!==X&&(Yj?(e=X,t=t.stateNode,8===e.nodeType?Kf(e.parentNode,t):1===e.nodeType&&Kf(e,t),bd(e)):Kf(X,t.stateNode));break;case 4:l=X,a=Yj,X=t.stateNode.containerInfo,Yj=!0,Zj(e,n,t),X=l,Yj=a;break;case 0:case 11:case 14:case 15:if(!U&&null!==(l=t.updateQueue)&&null!==(l=l.lastEffect)){a=l=l.next;do{var i=a,u=i.destroy;i=i.tag,void 0!==u&&(0!=(2&i)?Nj(t,n,u):0!=(4&i)&&Nj(t,n,u)),a=a.next}while(a!==l)}Zj(e,n,t);break;case 1:if(!U&&(Mj(t,n),"function"==typeof(l=t.stateNode).componentWillUnmount))try{l.props=t.memoizedProps,l.state=t.memoizedState,l.componentWillUnmount()}catch(o){W(t,n,o)}Zj(e,n,t);break;case 21:default:Zj(e,n,t);break;case 22:1&t.mode?(U=(l=U)||null!==t.memoizedState,Zj(e,n,t),U=l):Zj(e,n,t)}}function bk(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new Lj),n.forEach(function(n){var r=ck.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))})}}function dk(e,n){var t=n.deletions;if(null!==t)for(var r=0;r<t.length;r++){var l=t[r];try{var a=n,i=a;e:for(;null!==i;){switch(i.tag){case 5:X=i.stateNode,Yj=!1;break e;case 3:case 4:X=i.stateNode.containerInfo,Yj=!0;break e}i=i.return}if(null===X)throw Error(p(160));ak(e,a,l),X=null,Yj=!1;var u=l.alternate;null!==u&&(u.return=null),l.return=null}catch(o){W(l,n,o)}}if(12854&n.subtreeFlags)for(n=n.child;null!==n;)ek(n,e),n=n.sibling}function ek(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(dk(n,e),fk(e),4&r){try{Qj(3,e,e.return),Rj(3,e)}catch(l){W(e,e.return,l)}try{Qj(5,e,e.return)}catch(a){W(e,e.return,a)}}break;case 1:dk(n,e),fk(e),512&r&&null!==t&&Mj(t,t.return);break;case 5:if(dk(n,e),fk(e),512&r&&null!==t&&Mj(t,t.return),32&e.flags){var i=e.stateNode;try{ob(i,"")}catch(u){W(e,e.return,u)}}if(4&r&&null!=(i=e.stateNode)){var o=e.memoizedProps,c=null!==t?t.memoizedProps:o,s=e.type,f=e.updateQueue;if(e.updateQueue=null,null!==f)try{"input"===s&&"radio"===o.type&&null!=o.name&&ab(i,o),vb(s,c);var d=vb(s,o);for(c=0;c<f.length;c+=2){var h=f[c],g=f[c+1];"style"===h?sb(i,g):"dangerouslySetInnerHTML"===h?nb(i,g):"children"===h?ob(i,g):ta(i,h,g,d)}switch(s){case"input":bb(i,o);break;case"textarea":ib(i,o);break;case"select":var m=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var b=o.value;null!=b?fb(i,!!o.multiple,b,!1):!!o.multiple!==m&&(null!=o.defaultValue?fb(i,!!o.multiple,o.defaultValue,!0):fb(i,!!o.multiple,o.multiple?[]:"",!1))}i[Pf]=o}catch(y){W(e,e.return,y)}}break;case 6:if(dk(n,e),fk(e),4&r){if(null===e.stateNode)throw Error(p(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(k){W(e,e.return,k)}}break;case 3:if(dk(n,e),fk(e),4&r&&null!==t&&t.memoizedState.isDehydrated)try{bd(n.containerInfo)}catch(w){W(e,e.return,w)}break;case 4:default:dk(n,e),fk(e);break;case 13:dk(n,e),fk(e),8192&(i=e.child).flags&&(o=null!==i.memoizedState,i.stateNode.isHidden=o,o&&(null===i.alternate||null===i.alternate.memoizedState)&&(gk=B())),4&r&&bk(e);break;case 22:if(h=null!==t&&null!==t.memoizedState,1&e.mode?(U=(d=U)||h,dk(n,e),U=d):dk(n,e),fk(e),8192&r){if(d=null!==e.memoizedState,(e.stateNode.isHidden=d)&&!h&&0!=(1&e.mode))for(V=e,h=e.child;null!==h;){for(g=V=h;null!==V;){switch(b=(m=V).child,m.tag){case 0:case 11:case 14:case 15:Qj(4,m,m.return);break;case 1:Mj(m,m.return);var x=m.stateNode;if("function"==typeof x.componentWillUnmount){r=m,t=m.return;try{n=r,x.props=n.memoizedProps,x.state=n.memoizedState,x.componentWillUnmount()}catch(j){W(r,t,j)}}break;case 5:Mj(m,m.return);break;case 22:if(null!==m.memoizedState){hk(g);continue}}null!==b?(b.return=m,V=b):hk(g)}h=h.sibling}e:for(h=null,g=e;;){if(5===g.tag){if(null===h){h=g;try{i=g.stateNode,d?(o=i.style,"function"==typeof o.setProperty?o.setProperty("display","none","important"):o.display="none"):(s=g.stateNode,c=null!=(f=g.memoizedProps.style)&&f.hasOwnProperty("display")?f.display:null,s.style.display=rb("display",c))}catch(_){W(e,e.return,_)}}}else if(6===g.tag){if(null===h)try{g.stateNode.nodeValue=d?"":g.memoizedProps}catch(F){W(e,e.return,F)}}else if((22!==g.tag&&23!==g.tag||null===g.memoizedState||g===e)&&null!==g.child){g.child.return=g,g=g.child;continue}if(g===e)break e;for(;null===g.sibling;){if(null===g.return||g.return===e)break e;h===g&&(h=null),g=g.return}h===g&&(h=null),g.sibling.return=g.return,g=g.sibling}}break;case 19:dk(n,e),fk(e),4&r&&bk(e);case 21:}}function fk(e){var n=e.flags;if(2&n){try{e:{for(var t=e.return;null!==t;){if(Uj(t)){var r=t;break e}t=t.return}throw Error(p(160))}switch(r.tag){case 5:var l=r.stateNode;32&r.flags&&(ob(l,""),r.flags&=-33);var a=Vj(e);Xj(e,a,l);break;case 3:case 4:var i=r.stateNode.containerInfo,u=Vj(e);Wj(e,u,i);break;default:throw Error(p(161))}}catch(o){W(e,e.return,o)}e.flags&=-3}4096&n&&(e.flags&=-4097)}function ik(e,n,t){V=e,jk(e)}function jk(e,n,t){for(var r=0!=(1&e.mode);null!==V;){var l=V,a=l.child;if(22===l.tag&&r){var i=null!==l.memoizedState||Kj;if(!i){var u=l.alternate,o=null!==u&&null!==u.memoizedState||U;u=Kj;var c=U;if(Kj=i,(U=o)&&!c)for(V=l;null!==V;)o=(i=V).child,22===i.tag&&null!==i.memoizedState?kk(l):null!==o?(o.return=i,V=o):kk(l);for(;null!==a;)V=a,jk(a),a=a.sibling;V=l,Kj=u,U=c}lk(e)}else 0!=(8772&l.subtreeFlags)&&null!==a?(a.return=l,V=a):lk(e)}}function lk(e){for(;null!==V;){var n=V;if(0!=(8772&n.flags)){var t=n.alternate;try{if(0!=(8772&n.flags))switch(n.tag){case 0:case 11:case 15:U||Rj(5,n);break;case 1:var r=n.stateNode;if(4&n.flags&&!U){if(null===t)r.componentDidMount();else{var l=n.elementType===n.type?t.memoizedProps:Lg(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}}var a=n.updateQueue;null!==a&&ih(n,a,r);break;case 3:var i=n.updateQueue;if(null!==i){if(t=null,null!==n.child)switch(n.child.tag){case 5:case 1:t=n.child.stateNode}ih(n,i,t)}break;case 5:var u=n.stateNode;if(null===t&&4&n.flags){t=u;var o=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":o.autoFocus&&t.focus();break;case"img":o.src&&(t.src=o.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===n.memoizedState){var c=n.alternate;if(null!==c){var s=c.memoizedState;if(null!==s){var f=s.dehydrated;null!==f&&bd(f)}}}break;default:throw Error(p(163))}U||512&n.flags&&Sj(n)}catch(d){W(n,n.return,d)}}if(n===e){V=null;break}if(null!==(t=n.sibling)){t.return=n.return,V=t;break}V=n.return}}function hk(e){for(;null!==V;){var n=V;if(n===e){V=null;break}var t=n.sibling;if(null!==t){t.return=n.return,V=t;break}V=n.return}}function kk(e){for(;null!==V;){var n=V;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{Rj(4,n)}catch(r){W(n,t,r)}break;case 1:var l=n.stateNode;if("function"==typeof l.componentDidMount){var a=n.return;try{l.componentDidMount()}catch(i){W(n,a,i)}}var u=n.return;try{Sj(n)}catch(o){W(n,u,o)}break;case 5:var c=n.return;try{Sj(n)}catch(s){W(n,c,s)}}}catch(f){W(n,n.return,f)}if(n===e){V=null;break}var d=n.sibling;if(null!==d){d.return=n.return,V=d;break}V=n.return}}var mk=Math.ceil,nk=ua.ReactCurrentDispatcher,ok=ua.ReactCurrentOwner,pk=ua.ReactCurrentBatchConfig,K=0,R=null,Y=null,Z=0,gj=0,fj=Uf(0),T=0,qk=null,hh=0,rk=0,sk=0,tk=null,uk=null,gk=0,Hj=1/0,vk=null,Pi=!1,Qi=null,Si=null,wk=!1,xk=null,yk=0,zk=0,Ak=null,Bk=-1,Ck=0;function L(){return 0!=(6&K)?B():-1!==Bk?Bk:Bk=B()}function lh(e){return 0==(1&e.mode)?1:0!=(2&K)&&0!==Z?Z&-Z:null!==Kg.transition?(0===Ck&&(Ck=yc()),Ck):0!==(e=C)?e:e=void 0===(e=window.event)?16:jd(e.type)}function mh(e,n,t,r){if(50<zk)throw zk=0,Ak=null,Error(p(185));Ac(e,t,r),(0==(2&K)||e!==R)&&(e===R&&(0==(2&K)&&(rk|=t),4===T&&Dk(e,Z)),Ek(e,r),1===t&&0===K&&0==(1&n.mode)&&(Hj=B()+500,fg&&jg()))}function Ek(e,n){var t=e.callbackNode;wc(e,n);var r=uc(e,e===R?Z:0);if(0===r)null!==t&&bc(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(null!=t&&bc(t),1===n)0===e.tag?ig(Fk.bind(null,e)):hg(Fk.bind(null,e)),Jf(function(){0==(6&K)&&jg()}),t=null;else{switch(Dc(r)){case 1:t=fc;break;case 4:t=gc;break;case 16:default:t=hc;break;case 536870912:t=jc}t=Gk(t,Hk.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function Hk(e,n){if(Bk=-1,Ck=0,0!=(6&K))throw Error(p(327));var t=e.callbackNode;if(Ik()&&e.callbackNode!==t)return null;var r=uc(e,e===R?Z:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||n)n=Jk(e,r);else{n=r;var l=K;K|=2;var a=Kk();for((R!==e||Z!==n)&&(vk=null,Hj=B()+500,Lk(e,n));;)try{Mk();break}catch(i){Nk(e,i)}Qg(),nk.current=a,K=l,null!==Y?n=0:(R=null,Z=0,n=T)}if(0!==n){if(2===n&&0!==(l=xc(e))&&(r=l,n=Ok(e,l)),1===n)throw t=qk,Lk(e,0),Dk(e,r),Ek(e,B()),t;if(6===n)Dk(e,r);else{if(l=e.current.alternate,0==(30&r)&&!Pk(l)&&(2===(n=Jk(e,r))&&0!==(a=xc(e))&&(r=a,n=Ok(e,a)),1===n))throw t=qk,Lk(e,0),Dk(e,r),Ek(e,B()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(p(345));case 2:case 5:Qk(e,uk,vk);break;case 3:if(Dk(e,r),(130023424&r)===r&&10<(n=gk+500-B())){if(0!==uc(e,0))break;if(((l=e.suspendedLanes)&r)!==r){L(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Ff(Qk.bind(null,e,uk,vk),n);break}Qk(e,uk,vk);break;case 4:if(Dk(e,r),(4194240&r)===r)break;for(l=-1,n=e.eventTimes;0<r;){var u=31-oc(r);a=1<<u,(u=n[u])>l&&(l=u),r&=~a}if(r=l,10<(r=(120>(r=B()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*mk(r/1960))-r)){e.timeoutHandle=Ff(Qk.bind(null,e,uk,vk),r);break}Qk(e,uk,vk);break;default:throw Error(p(329))}}}return Ek(e,B()),e.callbackNode===t?Hk.bind(null,e):null}function Ok(e,n){var t=tk;return e.current.memoizedState.isDehydrated&&(Lk(e,n).flags|=256),2!==(e=Jk(e,n))&&(n=uk,uk=t,null!==n&&Gj(n)),e}function Gj(e){null===uk?uk=e:uk.push.apply(uk,e)}function Pk(e){for(var n=e;;){if(16384&n.flags){var t=n.updateQueue;if(null!==t&&null!==(t=t.stores))for(var r=0;r<t.length;r++){var l=t[r],a=l.getSnapshot;l=l.value;try{if(!He(a(),l))return!1}catch(i){return!1}}}if(t=n.child,16384&n.subtreeFlags&&null!==t)t.return=n,n=t;else{if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Dk(e,n){for(n&=~sk,n&=~rk,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-oc(n),r=1<<t;e[t]=-1,n&=~r}}function Fk(e){if(0!=(6&K))throw Error(p(327));Ik();var n=uc(e,0);if(0==(1&n))return Ek(e,B()),null;var t=Jk(e,n);if(0!==e.tag&&2===t){var r=xc(e);0!==r&&(n=r,t=Ok(e,r))}if(1===t)throw t=qk,Lk(e,0),Dk(e,n),Ek(e,B()),t;if(6===t)throw Error(p(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,Qk(e,uk,vk),Ek(e,B()),null}function Rk(e,n){var t=K;K|=1;try{return e(n)}finally{0===(K=t)&&(Hj=B()+500,fg&&jg())}}function Sk(e){null!==xk&&0===xk.tag&&0==(6&K)&&Ik();var n=K;K|=1;var t=pk.transition,r=C;try{if(pk.transition=null,C=1,e)return e()}finally{C=r,pk.transition=t,0==(6&(K=n))&&jg()}}function Ij(){gj=fj.current,E(fj)}function Lk(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,Gf(t)),null!==Y)for(t=Y.return;null!==t;){var r=t;switch(wg(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&$f();break;case 3:Jh(),E(Wf),E(H),Oh();break;case 5:Lh(r);break;case 4:Jh();break;case 13:case 19:E(M);break;case 10:Rg(r.type._context);break;case 22:case 23:Ij()}t=t.return}if(R=e,Y=e=wh(e.current,null),Z=gj=n,T=0,qk=null,sk=rk=hh=0,uk=tk=null,null!==Wg){for(n=0;n<Wg.length;n++)if(null!==(r=(t=Wg[n]).interleaved)){t.interleaved=null;var l=r.next,a=t.pending;if(null!==a){var i=a.next;a.next=l,r.next=i}t.pending=r}Wg=null}return e}function Nk(e,n){for(;;){var t=Y;try{if(Qg(),Ph.current=ai,Sh){for(var r=N.memoizedState;null!==r;){var l=r.queue;null!==l&&(l.pending=null),r=r.next}Sh=!1}if(Rh=0,P=O=N=null,Th=!1,Uh=0,ok.current=null,null===t||null===t.return){T=1,qk=n,Y=null;break}e:{var a=e,i=t.return,u=t,o=n;if(n=Z,u.flags|=32768,null!==o&&"object"==typeof o&&"function"==typeof o.then){var c=o,s=u,f=s.tag;if(0==(1&s.mode)&&(0===f||11===f||15===f)){var d=s.alternate;d?(s.updateQueue=d.updateQueue,s.memoizedState=d.memoizedState,s.lanes=d.lanes):(s.updateQueue=null,s.memoizedState=null)}var h=Vi(i);if(null!==h){h.flags&=-257,Wi(h,i,u,a,n),1&h.mode&&Ti(a,c,n),n=h,o=c;var g=n.updateQueue;if(null===g){var m=new Set;m.add(o),n.updateQueue=m}else g.add(o);break e}if(0==(1&n)){Ti(a,c,n),uj();break e}o=Error(p(426))}else if(I&&1&u.mode){var b=Vi(i);if(null!==b){0==(65536&b.flags)&&(b.flags|=256),Wi(b,i,u,a,n),Jg(Ki(o,u));break e}}a=o=Ki(o,u),4!==T&&(T=2),null===tk?tk=[a]:tk.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,n&=-n,a.lanes|=n;var y=Oi(a,o,n);fh(a,y);break e;case 1:u=o;var k=a.type,w=a.stateNode;if(0==(128&a.flags)&&("function"==typeof k.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Si||!Si.has(w)))){a.flags|=65536,n&=-n,a.lanes|=n;var x=Ri(a,u,n);fh(a,x);break e}}a=a.return}while(null!==a)}Tk(t)}catch(j){n=j,Y===t&&null!==t&&(Y=t=t.return);continue}break}}function Kk(){var e=nk.current;return nk.current=ai,null===e?ai:e}function uj(){(0===T||3===T||2===T)&&(T=4),null===R||0==(268435455&hh)&&0==(268435455&rk)||Dk(R,Z)}function Jk(e,n){var t=K;K|=2;var r=Kk();for((R!==e||Z!==n)&&(vk=null,Lk(e,n));;)try{Uk();break}catch(l){Nk(e,l)}if(Qg(),K=t,nk.current=r,null!==Y)throw Error(p(261));return R=null,Z=0,T}function Uk(){for(;null!==Y;)Vk(Y)}function Mk(){for(;null!==Y&&!cc();)Vk(Y)}function Vk(e){var n=Wk(e.alternate,e,gj);e.memoizedProps=e.pendingProps,null===n?Tk(e):Y=n,ok.current=null}function Tk(e){var n=e;do{var t=n.alternate;if(e=n.return,0==(32768&n.flags)){if(null!==(t=Fj(t,n,gj))){Y=t;return}}else{if(null!==(t=Jj(t,n))){t.flags&=32767,Y=t;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{T=6,Y=null;return}}if(null!==(n=n.sibling)){Y=n;return}Y=n=e}while(null!==n);0===T&&(T=5)}function Qk(e,n,t){var r=C,l=pk.transition;try{pk.transition=null,C=1,Xk(e,n,t,r)}finally{pk.transition=l,C=r}return null}function Xk(e,n,t,r){do Ik();while(null!==xk);if(0!=(6&K))throw Error(p(327));t=e.finishedWork;var l=e.finishedLanes;if(null===t)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(p(177));e.callbackNode=null,e.callbackPriority=0;var a=t.lanes|t.childLanes;if(Bc(e,a),e===R&&(Y=R=null,Z=0),0==(2064&t.subtreeFlags)&&0==(2064&t.flags)||wk||(wk=!0,Gk(hc,function(){return Ik(),null})),a=0!=(15990&t.flags),0!=(15990&t.subtreeFlags)||a){a=pk.transition,pk.transition=null;var i=C;C=1;var u=K;K|=4,ok.current=null,Pj(e,t),ek(t,e),Oe(Df),dd=!!Cf,Df=Cf=null,e.current=t,ik(t),dc(),K=u,C=i,pk.transition=a}else e.current=t;if(wk&&(wk=!1,xk=e,yk=l),0===(a=e.pendingLanes)&&(Si=null),mc(t.stateNode),Ek(e,B()),null!==n)for(r=e.onRecoverableError,t=0;t<n.length;t++)r((l=n[t]).value,{componentStack:l.stack,digest:l.digest});if(Pi)throw Pi=!1,e=Qi,Qi=null,e;return 0!=(1&yk)&&0!==e.tag&&Ik(),0!=(1&(a=e.pendingLanes))?e===Ak?zk++:(zk=0,Ak=e):zk=0,jg(),null}function Ik(){if(null!==xk){var e=Dc(yk),n=pk.transition,t=C;try{if(pk.transition=null,C=16>e?16:e,null===xk)var r=!1;else{if(e=xk,xk=null,yk=0,0!=(6&K))throw Error(p(331));var l=K;for(K|=4,V=e.current;null!==V;){var a=V,i=a.child;if(0!=(16&V.flags)){var u=a.deletions;if(null!==u){for(var o=0;o<u.length;o++){var c=u[o];for(V=c;null!==V;){var s=V;switch(s.tag){case 0:case 11:case 15:Qj(8,s,a)}var f=s.child;if(null!==f)f.return=s,V=f;else for(;null!==V;){var d=(s=V).sibling,h=s.return;if(Tj(s),s===c){V=null;break}if(null!==d){d.return=h,V=d;break}V=h}}}var g=a.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var b=m.sibling;m.sibling=null,m=b}while(null!==m)}}V=a}}if(0!=(2064&a.subtreeFlags)&&null!==i)i.return=a,V=i;else n:for(;null!==V;){if(a=V,0!=(2048&a.flags))switch(a.tag){case 0:case 11:case 15:Qj(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,V=y;break n}V=a.return}}var k=e.current;for(V=k;null!==V;){var w=(i=V).child;if(0!=(2064&i.subtreeFlags)&&null!==w)w.return=i,V=w;else n:for(i=k;null!==V;){if(u=V,0!=(2048&u.flags))try{switch(u.tag){case 0:case 11:case 15:Rj(9,u)}}catch(x){W(u,u.return,x)}if(u===i){V=null;break n}var j=u.sibling;if(null!==j){j.return=u.return,V=j;break n}V=u.return}}if(K=l,jg(),lc&&"function"==typeof lc.onPostCommitFiberRoot)try{lc.onPostCommitFiberRoot(kc,e)}catch(_){}r=!0}return r}finally{C=t,pk.transition=n}}return!1}function Yk(e,n,t){n=Ki(t,n),n=Oi(e,n,1),e=dh(e,n,1),n=L(),null!==e&&(Ac(e,1,n),Ek(e,n))}function W(e,n,t){if(3===e.tag)Yk(e,e,t);else for(;null!==n;){if(3===n.tag){Yk(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Si||!Si.has(r))){e=Ki(t,e),e=Ri(n,e,1),n=dh(n,e,1),e=L(),null!==n&&(Ac(n,1,e),Ek(n,e));break}}n=n.return}}function Ui(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=L(),e.pingedLanes|=e.suspendedLanes&t,R===e&&(Z&t)===t&&(4===T||3===T&&(130023424&Z)===Z&&500>B()-gk?Lk(e,0):sk|=t),Ek(e,n)}function Zk(e,n){0===n&&(0==(1&e.mode)?n=1:(n=sc,0==(130023424&(sc<<=1))&&(sc=4194304)));var t=L();null!==(e=Zg(e,n))&&(Ac(e,n,t),Ek(e,t))}function vj(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),Zk(e,t)}function ck(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(p(314))}null!==r&&r.delete(n),Zk(e,t)}function Gk(e,n){return ac(e,n)}function al(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bg(e,n,t,r){return new al(e,n,t,r)}function bj(e){return!(!(e=e.prototype)||!e.isReactComponent)}function $k(e){if("function"==typeof e)return bj(e)?1:0;if(null!=e){if((e=e.$$typeof)===Da)return 11;if(e===Ga)return 14}return 2}function wh(e,n){var t=e.alternate;return null===t?((t=Bg(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=14680064&e.flags,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function yh(e,n,t,r,l,a){var i=2;if(r=e,"function"==typeof e)bj(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case ya:return Ah(t.children,l,a,n);case za:i=8,l|=8;break;case Aa:return(e=Bg(12,t,n,2|l)).elementType=Aa,e.lanes=a,e;case Ea:return(e=Bg(13,t,n,l)).elementType=Ea,e.lanes=a,e;case Fa:return(e=Bg(19,t,n,l)).elementType=Fa,e.lanes=a,e;case Ia:return qj(t,l,a,n);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ba:i=10;break e;case Ca:i=9;break e;case Da:i=11;break e;case Ga:i=14;break e;case Ha:i=16,r=null;break e}throw Error(p(130,null==e?e:typeof e,""))}return(n=Bg(i,t,n,l)).elementType=e,n.type=r,n.lanes=a,n}function Ah(e,n,t,r){return(e=Bg(7,e,r,n)).lanes=t,e}function qj(e,n,t,r){return(e=Bg(22,e,r,n)).elementType=Ia,e.lanes=t,e.stateNode={isHidden:!1},e}function xh(e,n,t){return(e=Bg(6,e,null,n)).lanes=t,e}function zh(e,n,t){return(n=Bg(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function bl(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zc(0),this.expirationTimes=zc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zc(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function cl(e,n,t,r,l,a,i,u,o){return e=new bl(e,n,t,u,o),1===n?(n=1,!0===a&&(n|=8)):n=0,a=Bg(3,null,null,n),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},ah(a),e}function dl(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:wa,key:null==r?null:""+r,children:e,containerInfo:n,implementation:t}}function el(e){if(!e)return Vf;e=e._reactInternals;e:{if(Vb(e)!==e||1!==e.tag)throw Error(p(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(Zf(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(null!==n);throw Error(p(171))}if(1===e.tag){var t=e.type;if(Zf(t))return bg(e,t,n)}return n}function fl(e,n,t,r,l,a,i,u,o){return(e=cl(t,r,!0,e,l,a,i,u,o)).context=el(null),t=e.current,(a=ch(r=L(),l=lh(t))).callback=null!=n?n:null,dh(t,a,l),e.current.lanes=l,Ac(e,l,r),Ek(e,r),e}function gl(e,n,t,r){var l=n.current,a=L(),i=lh(l);return t=el(t),null===n.context?n.context=t:n.pendingContext=t,(n=ch(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),null!==(e=dh(l,n,i))&&(mh(e,l,i,a),eh(e,l,i)),i}function hl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function il(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function jl(e,n){il(e,n),(e=e.alternate)&&il(e,n)}function kl(){return null}Wk=function(e,n,t){if(null!==e){if(e.memoizedProps!==n.pendingProps||Wf.current)Ug=!0;else{if(0==(e.lanes&t)&&0==(128&n.flags))return Ug=!1,zj(e,n,t);Ug=0!=(131072&e.flags)}}else Ug=!1,I&&0!=(1048576&n.flags)&&ug(n,ng,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;jj(e,n),e=n.pendingProps;var l=Yf(n,H.current);Tg(n,t),l=Xh(null,n,r,e,l,t);var a=bi();return n.flags|=1,"object"==typeof l&&null!==l&&"function"==typeof l.render&&void 0===l.$$typeof?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Zf(r)?(a=!0,cg(n)):a=!1,n.memoizedState=null!==l.state&&void 0!==l.state?l.state:null,ah(n),l.updater=nh,n.stateNode=l,l._reactInternals=n,rh(n,r,e,t),n=kj(null,n,r,!0,a,t)):(n.tag=0,I&&a&&vg(n),Yi(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(jj(e,n),e=n.pendingProps,r=(l=r._init)(r._payload),n.type=r,l=n.tag=$k(r),e=Lg(r,e),l){case 0:n=dj(null,n,r,e,t);break e;case 1:n=ij(null,n,r,e,t);break e;case 11:n=Zi(null,n,r,e,t);break e;case 14:n=aj(null,n,r,Lg(r.type,e),t);break e}throw Error(p(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Lg(r,l),dj(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Lg(r,l),ij(e,n,r,l,t);case 3:e:{if(lj(n),null===e)throw Error(p(387));r=n.pendingProps,l=(a=n.memoizedState).element,bh(e,n),gh(n,r,null,t);var i=n.memoizedState;if(r=i.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},n.updateQueue.baseState=a,n.memoizedState=a,256&n.flags){l=Ki(Error(p(423)),n),n=mj(e,n,r,t,l);break e}if(r!==l){l=Ki(Error(p(424)),n),n=mj(e,n,r,t,l);break e}for(yg=Lf(n.stateNode.containerInfo.firstChild),xg=n,I=!0,zg=null,t=Ch(n,null,r,t),n.child=t;t;)t.flags=-3&t.flags|4096,t=t.sibling}else{if(Ig(),r===l){n=$i(e,n,t);break e}Yi(e,n,r,t)}n=n.child}return n;case 5:return Kh(n),null===e&&Eg(n),r=n.type,l=n.pendingProps,a=null!==e?e.memoizedProps:null,i=l.children,Ef(r,l)?i=null:null!==a&&Ef(r,a)&&(n.flags|=32),hj(e,n),Yi(e,n,i,t),n.child;case 6:return null===e&&Eg(n),null;case 13:return pj(e,n,t);case 4:return Ih(n,n.stateNode.containerInfo),r=n.pendingProps,null===e?n.child=Bh(n,null,r,t):Yi(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Lg(r,l),Zi(e,n,r,l,t);case 7:return Yi(e,n,n.pendingProps,t),n.child;case 8:case 12:return Yi(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,a=n.memoizedProps,i=l.value,G(Mg,r._currentValue),r._currentValue=i,null!==a){if(He(a.value,i)){if(a.children===l.children&&!Wf.current){n=$i(e,n,t);break e}}else for(null!==(a=n.child)&&(a.return=n);null!==a;){var u=a.dependencies;if(null!==u){i=a.child;for(var o=u.firstContext;null!==o;){if(o.context===r){if(1===a.tag){(o=ch(-1,t&-t)).tag=2;var c=a.updateQueue;if(null!==c){var s=(c=c.shared).pending;null===s?o.next=o:(o.next=s.next,s.next=o),c.pending=o}}a.lanes|=t,null!==(o=a.alternate)&&(o.lanes|=t),Sg(a.return,t,n),u.lanes|=t;break}o=o.next}}else if(10===a.tag)i=a.type===n.type?null:a.child;else if(18===a.tag){if(null===(i=a.return))throw Error(p(341));i.lanes|=t,null!==(u=i.alternate)&&(u.lanes|=t),Sg(i,t,n),i=a.sibling}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===n){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}}Yi(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Tg(n,t),l=Vg(l),r=r(l),n.flags|=1,Yi(e,n,r,t),n.child;case 14:return l=Lg(r=n.type,n.pendingProps),l=Lg(r.type,l),aj(e,n,r,l,t);case 15:return cj(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Lg(r,l),jj(e,n),n.tag=1,Zf(r)?(e=!0,cg(n)):e=!1,Tg(n,t),ph(n,r,l),rh(n,r,l,t),kj(null,n,r,!0,e,t);case 19:return yj(e,n,t);case 22:return ej(e,n,t)}throw Error(p(156,n.tag))};var ll="function"==typeof reportError?reportError:function(e){console.error(e)};function ml(e){this._internalRoot=e}function nl(e){this._internalRoot=e}function ol(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function pl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ql(){}function rl(e,n,t,r,l){if(l){if("function"==typeof r){var a=r;r=function(){var e=hl(i);a.call(e)}}var i=fl(n,r,e,0,null,!1,!1,"",ql);return e._reactRootContainer=i,e[uf]=i.current,sf(8===e.nodeType?e.parentNode:e),Sk(),i}for(;l=e.lastChild;)e.removeChild(l);if("function"==typeof r){var u=r;r=function(){var e=hl(o);u.call(e)}}var o=cl(e,0,!1,null,null,!1,!1,"",ql);return e._reactRootContainer=o,e[uf]=o.current,sf(8===e.nodeType?e.parentNode:e),Sk(function(){gl(n,o,t,r)}),o}function sl(e,n,t,r,l){var a=t._reactRootContainer;if(a){var i=a;if("function"==typeof l){var u=l;l=function(){var e=hl(i);u.call(e)}}gl(n,i,e,l)}else i=rl(t,n,e,l,r);return hl(i)}nl.prototype.render=ml.prototype.render=function(e){var n=this._internalRoot;if(null===n)throw Error(p(409));gl(e,n,null,null)},nl.prototype.unmount=ml.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var n=e.containerInfo;Sk(function(){gl(null,e,null,null)}),n[uf]=null}},nl.prototype.unstable_scheduleHydration=function(e){if(e){var n=Hc();e={blockedOn:null,target:e,priority:n};for(var t=0;t<Qc.length&&0!==n&&n<Qc[t].priority;t++);Qc.splice(t,0,e),0===t&&Vc(e)}},Ec=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=tc(n.pendingLanes);0!==t&&(Cc(n,1|t),Ek(n,B()),0==(6&K)&&(Hj=B()+500,jg()))}break;case 13:Sk(function(){var n=Zg(e,1);null!==n&&mh(n,e,1,L())}),jl(e,1)}},Fc=function(e){if(13===e.tag){var n=Zg(e,134217728);null!==n&&mh(n,e,134217728,L()),jl(e,134217728)}},Gc=function(e){if(13===e.tag){var n=lh(e),t=Zg(e,n);null!==t&&mh(t,e,n,L()),jl(e,n)}},Hc=function(){return C},Ic=function(e,n){var t=C;try{return C=e,n()}finally{C=t}},yb=function(e,n,t){switch(n){case"input":if(bb(e,t),n=t.name,"radio"===t.type&&null!=n){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var l=Db(r);if(!l)throw Error(p(90));Wa(r),bb(r,l)}}}break;case"textarea":ib(e,t);break;case"select":null!=(n=t.value)&&fb(e,!!t.multiple,n,!1)}},Gb=Rk,Hb=Sk;var tl={usingClientEntryPoint:!1,Events:[Cb,ue,Db,Eb,Fb,Rk]},ul={findFiberByHostInstance:Wc,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},vl={bundleType:ul.bundleType,version:ul.version,rendererPackageName:ul.rendererPackageName,rendererConfig:ul.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ua.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Zb(e))?null:e.stateNode},findFiberByHostInstance:ul.findFiberByHostInstance||kl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var u=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!u.isDisabled&&u.supportsFiber)try{kc=u.inject(vl),lc=u}catch(o){}}function checkDCE(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(e){console.error(e)}}reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tl,reactDom_production_min.createPortal=function(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ol(n))throw Error(p(200));return dl(e,n,null,t)},reactDom_production_min.createRoot=function(e,n){if(!ol(e))throw Error(p(299));var t=!1,r="",l=ll;return null!=n&&(!0===n.unstable_strictMode&&(t=!0),void 0!==n.identifierPrefix&&(r=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),n=cl(e,1,!1,null,null,t,!1,r,l),e[uf]=n.current,sf(8===e.nodeType?e.parentNode:e),new ml(n)},reactDom_production_min.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternals;if(void 0===n){if("function"==typeof e.render)throw Error(p(188));throw Error(p(268,e=Object.keys(e).join(",")))}return e=null===(e=Zb(n))?null:e.stateNode},reactDom_production_min.flushSync=function(e){return Sk(e)},reactDom_production_min.hydrate=function(e,n,t){if(!pl(n))throw Error(p(200));return sl(null,e,n,!0,t)},reactDom_production_min.hydrateRoot=function(e,n,t){if(!ol(e))throw Error(p(405));var r=null!=t&&t.hydratedSources||null,l=!1,a="",i=ll;if(null!=t&&(!0===t.unstable_strictMode&&(l=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),n=fl(n,null,e,1,null!=t?t:null,l,!1,a,i),e[uf]=n.current,sf(e),r)for(e=0;e<r.length;e++)l=(l=(t=r[e])._getVersion)(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l);return new nl(n)},reactDom_production_min.render=function(e,n,t){if(!pl(n))throw Error(p(200));return sl(null,e,n,!1,t)},reactDom_production_min.unmountComponentAtNode=function(e){if(!pl(e))throw Error(p(40));return!!e._reactRootContainer&&(Sk(function(){sl(null,null,e,!1,function(){e._reactRootContainer=null,e[uf]=null})}),!0)},reactDom_production_min.unstable_batchedUpdates=Rk,reactDom_production_min.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!pl(t))throw Error(p(200));if(null==e||void 0===e._reactInternals)throw Error(p(38));return sl(e,n,t,!1,r)},reactDom_production_min.version="18.2.0-next-9e3b772b8-20220608",checkDCE(),reactDom$1.exports=reactDom_production_min;var reactDom=reactDom$1.exports,ReactDOM=_mergeNamespaces({__proto__:null,default:reactDom},[reactDom$1.exports]);exports.ReactDOM=ReactDOM,exports.reactDom=reactDom$1;
;        (function (e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if ((k(e).length === 2 && e[g](f) === !0) ||                    (k(e).length === 1 && e[g](f) === !1)) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/pnpm-react-dom@18/client", [], function(require, exports, module) {"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var index=require("@ali/pnpm-react-dom@18/280b565f");require("@ali/pnpm-react@18/index"),exports.hydrateRoot=void 0,exports.createRoot=void 0;var m=index.reactDom.exports;exports.createRoot=m.createRoot,exports.hydrateRoot=m.hydrateRoot;
;        (function (e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if ((k(e).length === 2 && e[g](f) === !0) ||                    (k(e).length === 1 && e[g](f) === !1)) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/pnpm-react-dom@18/index", [], function(require, exports, module) {"use strict";var index=require("@ali/pnpm-react-dom@18/280b565f");require("@ali/pnpm-react@18/index"),module.exports=index.ReactDOM;
;        (function (e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if ((k(e).length === 2 && e[g](f) === !0) ||                    (k(e).length === 1 && e[g](f) === !1)) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-lzd-sites/index", [], function(require, exports, module) {"use strict";module.exports={ID:{id:"360",lang:["id","en"],langShort:["id","en"],currency:"IDR",domain:"lazada.co.id",regionID:"ID"},MY:{id:"458",lang:["en-MY","ms","zh"],langShort:["en","ms","zh"],currency:"MYR",domain:"lazada.com.my",regionID:"MY"},PH:{id:"608",lang:["en-PH"],langShort:["en"],currency:"PHP",domain:"lazada.com.ph",regionID:"PH"},SG:{id:"702",lang:["en-SG","zh"],langShort:["en","zh"],currency:"SGD",domain:"lazada.sg",regionID:"SG"},TH:{id:"764",lang:["th","en"],langShort:["th","en"],currency:"THB",domain:"lazada.co.th",regionID:"TH"},VN:{id:"704",lang:["vi","en"],langShort:["vi","en"],currency:"VND",domain:"lazada.vn",regionID:"VN"},KH:{id:"116",lang:["km-KH","zh-KH","en-KH"],langShort:["km","zh","en"],currency:"KHR",domain:"kh.lazada.com",regionID:"KH"},BD:{id:"050",lang:["en-BD","bn-BD"],langShort:["en","bn"],currency:"BDT",domain:"daraz.com.bd",regionID:"BD"},LK:{id:"144",lang:["en-LK","si-LK"],langShort:["en","si"],currency:"LKR",domain:"daraz.lk",regionID:"LK"},MM:{id:"104",lang:["en-MM","my-MM"],langShort:["en","my"],currency:"MMK",domain:"shop.com.mm",regionID:"MM"},NP:{id:"524",lang:["en-NP","ne-NP"],langShort:["en","ne"],currency:"NPR",domain:"daraz.com.np",regionID:"NP"},PK:{id:"586",lang:["en-PK","ur-PK"],langShort:["en","ur"],currency:"PKR",domain:"daraz.pk",regionID:"PK"}};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-lzd-cookie/index", [], function(require, exports, module) {"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=function(e,o,t){if("number"==typeof(t=Object.assign({path:"/"},t)).expires){var n=new Date;n.setMilliseconds(n.getMilliseconds()+864e5*t.expires),t.expires=n}t.expires=t.expires?t.expires.toUTCString():"","object"==typeof o&&(o=JSON.stringify(o)),o=encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var r="";for(var c in t){var i=t[c];i&&(r+="; ".concat(c),!0!==i&&(r+="=".concat(i)))}return document.cookie="".concat(e,"=").concat(o).concat(r)};exports.getCookie=function(e){for(var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e?null:{},n=document.cookie,r=n?n.split("; "):[],c=/(%[0-9A-Z]{2})+/g,i=0;i<r.length;i++){var s=r[i].split("="),a=s.slice(1).join("=");o.json||'"'!==a.charAt(0)||(a=a.slice(1,-1));try{var p=s[0].replace(c,decodeURIComponent);if(a=a.replace(c,decodeURIComponent),o.json)try{a=JSON.parse(a)}catch(e){}if(e===p){t=a;break}e||(t[p]=a)}catch(e){}}return t},exports.removeCookie=function(o){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e(o,"",Object.assign(t||{},{expires:-1}))},exports.setCookie=e;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-lzd-env/index", [], function(require, exports, module) {"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@ali/gcom-lzd-sites/index"),n=require("@ali/gcom-lzd-cookie/index"),t=e&&"object"==typeof e&&"default"in e?e:{default:e},i="undefined"!=typeof navigator&&navigator.userAgent?navigator.userAgent:"";function o(){return/AliApp/.test(i)}function r(){var e="object"==typeof location&&location.hostname||"";return!!e&&/127\.0\.0\.1|localhost|daily|waptest|\.test/.test(e)}function a(){var e="object"==typeof location&&location.hostname||"";return!!e&&(e.indexOf("pre-www.")>=0||e.indexOf("pre-wormhole.")>=0||e.indexOf("-p.lazada.")>=0||e.indexOf("-p.daraz.")>=0||e.indexOf("-p.shop.")>=0||e.indexOf("pre-wallet-nav.")>=0||e.indexOf("pre-ewallet-aipay.")>=0||e.indexOf("i.lazada.")>=0||e.indexOf("pre.lazada.")>=0||e.indexOf("-staging.lazada.")>=0||e.indexOf("-staging.daraz.")>=0||e.indexOf("-staging.shop.")>=0||e.indexOf("pre-live.")>=0)}function s(){var e,i=!(arguments.length>0)||void 0===arguments[0]||arguments[0],o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="",a="";if("object"==typeof window&&window._i18n_){var s=window._i18n_;if("string"==typeof s)try{s=JSON.parse(s)}catch(e){}"object"==typeof s&&(r=s.regionID,a=s.language)}!r&&window.g_config&&"object"==typeof window.g_config&&(r=window.g_config.regionID,a=window.g_config.language);var p=!0!==o&&r?[]:(e=n.getCookie("hng"))?e.split("|"):[];if(!r&&"object"==typeof location&&location.hostname){for(var d in t.default){var f=t.default[d];if(f&&f.domain&&location.hostname.indexOf(f.domain)>-1){r=f.regionID;break}}p.length>1&&(a=p[1])}return!r&&p.length>=4&&(r=p[0],a=p[1]),o&&p.length>1&&(a=p[1]),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e=e.toLocaleUpperCase();var i=t.default[e],o=i?i.lang:[];if(!Array.isArray(o))return n;for(var r="",a=0;a<o.length;a++){var s=o[a];if(s&&s.indexOf(n)>-1){r=s;break}}return r||(r=o[0]),r}(r=r||"SG",a)||"en",i&&(a=a.substring(0,2)),{regionID:r.toLocaleUpperCase(),language:a}}exports.default=s,exports.getAppInfo=function(){var e=i.toLowerCase(),n={appVersion:"",appName:""},t="",r="";if(o()&&e){try{var a=e.match(/AliApp\(([a-z-A-Z]{1,20})\/(\d+(\.\d+){0,6})?\)/i);a&&a.length>=3&&(t=a[1],r=a[2])}catch(e){}t&&(n.appName=t),r&&(n.appVersion=r)}return n},exports.getEntrance=function(){var e=i.toLocaleLowerCase();if(/skywalker/i.test(e))return"dana";var n="",t=e.match(/(gcash|tngkit|truemoney|momo|zalo|paylah|lazlite)/gi);return t&&t[0]&&(n=t[0]),n},exports.getRealVersion=function(e){var n=e.split(".").reverse();return(n=n.slice(0,3).reverse()).join(".")},exports.isAndroid=function(){return i.toLowerCase().indexOf("android")>-1},exports.isBrowser=function(){return"undefined"!=typeof window&&!window.__isSSR},exports.isDaily=r,exports.isDrz=function(){return["BD","LK","MM","NP","PK"].includes(s().regionID)},exports.isDrzShopMM=function(){return"MM"===s().regionID},exports.isInAliApp=o,exports.isInDrzApp=function(){return/AliApp\(DZ/i.test(i)||/AliApp\(SM/i.test(i)},exports.isInLzdApp=function(){return/AliApp\(LA/i.test(i)},exports.isIos=function(){return/iPad|iPhone|iPod/.test(i)},exports.isLzd=function(){return["SG","MY","PH","VN","TH","ID"].includes(s().regionID)},exports.isMobile=function(){return/Android|webOS|iPhone|iPad|BlackBerry/.test(i)},exports.isOnline=function(){return!r()&&!a()},exports.isPre=a,exports.isWindVane=function(){return!!i.match(/WindVane[/\s](\d+[._]\d+[._]\d+)/)};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-lzd-qs/index", [], function(require, exports, module) {"use strict";function t(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}function r(r,n){return function(t){if(Array.isArray(t))return t}(r)||function(t,r){var n,e,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(t);!(a=(n=o.next()).done)&&(i.push(n.value),!r||i.length!==r);a=!0);}catch(t){l=!0,e=t}finally{try{a||null==o.return||o.return()}finally{if(l)throw e}}return i}}(r,n)||function(r,n){if(r){if("string"==typeof r)return t(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);if("Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return t(r,n)}}(r,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Object.defineProperty(exports,"__esModule",{value:!0});var n=function(t){var n,e,o=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!t){if("undefined"==typeof window||!window.location)return{};t=window.location.search}var i=t;t.includes("?")&&(i=void 0===(n=r(t.split("?"),2)[1])?"":n),i.includes("#")&&(i=void 0===(e=r(i.split("#"),1)[0])?"":e);for(var a=i.split("&"),l={};a.length;){var u=r(a.shift().split("="),2),c=u[0],s=void 0===c?"":c,f=u[1],d=void 0===f?"":f;s&&(l[s]=o?decodeURIComponent(d):d)}return l},e=function(t){t||(t=window.location.href);var e,o,i=r(t.split("?"),2),a=i[0],l=i[1],u=void 0===l?"":l,c="";return a.includes("#")?(a=(e=r(a.split("#"),2))[0],c=e[1]):u.includes("#")&&(u=(o=r(u.split("#"),2))[0],c=o[1]),{url:a,query:u?n(u):{},hash:c}},o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=[];return Object.keys(t).forEach(function(e){var o=t[e]||"";n.push("".concat(e,"=").concat(r?encodeURIComponent(o):o))}),n.join("&")},i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="",i=e(t),a=i.url,l=i.query,u=i.hash,c=o(Object.assign({},l,r));return c&&(n="".concat(a,"?").concat(c)),u&&(n="".concat(n,"#").concat(u)),n};exports.default={parseUrl:e,getQueryParams:n,stringify:o,stringifyUrl:i},exports.getQueryParams=n,exports.parseUrl=e,exports.stringify=o,exports.stringifyUrl=i;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-jsonp/index", [], function(require, exports, module) {"use strict";var e={timeout:5e3,jsonpCallback:"callback"};function t(e){try{delete window[e]}catch(t){window[e]=void 0}}function o(e){document.getElementsByTagName("head")[0].removeChild(e)}module.exports=function(n){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(a,i){var r,u=c.timeout,l=c.jsonpCallback,m=c.jsonpCallbackFunctionName;u||(u=e.timeout),l||(l=e.jsonpCallback),m||(m="jsonp_".concat(Date.now(),"_").concat(Math.ceil(1e5*Math.random())));var d=document.createElement("script");window[m]=function(e){a({ok:!0,json:function(){return Promise.resolve(e)}}),r&&clearTimeout(r),o(d),t(m)},n+=-1===n.indexOf("?")?"?":"&",d.setAttribute("src","".concat(n).concat(l,"=").concat(m)),document.getElementsByTagName("head")[0].appendChild(d),r=window.setTimeout(function(){r&&clearTimeout(r),i(Error("JSONP request to ".concat(n," timed out"))),t(m),o(d)},u)})};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-lzd-mtop/index", [], function(require, exports, module) {"use strict";var a=require("@ali/gcom-lzd-cookie/index"),e=require("@ali/gcom-lzd-env/index"),o=require("@ali/gcom-jsonp/index");function n(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var i=n(e),t=n(o);function r(a){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(a){return Object.getOwnPropertyDescriptor(o,a).enumerable}))),n.forEach(function(e){var n;n=o[e],e in a?Object.defineProperty(a,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):a[e]=n})}return a}var m={DAILY:{prefix:"acs",subDomain:"waptest",mainDomain:"lazada.test"},PRE:{ID:{prefix:"",subDomain:"acs-wapa",mainDomain:"lazada.co.id"},MY:{prefix:"",subDomain:"acs-wapa",mainDomain:"lazada.com.my"},PH:{prefix:"",subDomain:"acs-wapa",mainDomain:"lazada.com.ph"},SG:{prefix:"",subDomain:"acs-wapa",mainDomain:"lazada.sg"},SG_RED_MART:{prefix:"",subDomain:"acs-wapa-rm",mainDomain:"lazada.sg"},TH:{prefix:"",subDomain:"acs-wapa",mainDomain:"lazada.co.th"},VN:{prefix:"",subDomain:"acs-wapa",mainDomain:"lazada.vn"},PK:{prefix:"",subDomain:"acs-wapa",mainDomain:"daraz.pk"},BD:{prefix:"",subDomain:"acs-wapa",mainDomain:"daraz.com.bd"},MM:{prefix:"",subDomain:"acs-wapa",mainDomain:"shop.com.mm"},NP:{prefix:"",subDomain:"acs-wapa",mainDomain:"daraz.com.np"},LK:{prefix:"",subDomain:"acs-wapa",mainDomain:"daraz.lk"}},PROD:{ID:{prefix:"",subDomain:"acs-m",mainDomain:"lazada.co.id"},MY:{prefix:"",subDomain:"acs-m",mainDomain:"lazada.com.my"},PH:{prefix:"",subDomain:"acs-m",mainDomain:"lazada.com.ph"},SG:{prefix:"",subDomain:"acs-m",mainDomain:"lazada.sg"},TH:{prefix:"",subDomain:"acs-m",mainDomain:"lazada.co.th"},VN:{prefix:"",subDomain:"acs-m",mainDomain:"lazada.vn"},PK:{prefix:"",subDomain:"acs-m",mainDomain:"daraz.pk"},BD:{prefix:"",subDomain:"acs-m",mainDomain:"daraz.com.bd"},MM:{prefix:"",subDomain:"acs-m",mainDomain:"shop.com.mm"},NP:{prefix:"",subDomain:"acs-m",mainDomain:"daraz.com.np"},LK:{prefix:"",subDomain:"acs-m",mainDomain:"daraz.lk"}}},c={en:"Network error, please try again later",id:"Kesalahan jaringan, coba lagi nanti",ms:"Ralat rangkaian, sila cuba lagi kemudian",my:"ကွန်ယက်ကိုအမှား, နောက်မှာထပ်ကြိုးစားကြည့်ပါ",th:"ข้อผิดพลาดของเครือข่ายโปรดลองอีกครั้งในภายหลัง",vi:"Lỗi mạng, vui l\xf2ng thử lại sau",bn:"নেটওয়ার্ক ত্রুটি, দয়া করে পরে আবার চেষ্টা করুন",si:"ජාල දෝෂය, නැවත උත්සාහ කරන්න",ne:"सञ्जाल त्रुटि, कृपया पछि फेरि प्रयास गर्नुहोस्",ur:"نیٹ ورک کی غلطی، براہ کرم بعد میں دوبارہ کوشش کریں"};function d(){var a=i.default(!0,!0).language;return c[(void 0===a?"EN":a).toLowerCase()]||c.en}function l(a){var e=a&&a.length&&a[0].split("::");return -1!==a[0].indexOf("FAIL_SYS")||-1!==a[0].indexOf("SYSTEM_ERROR")||-1!==a[0].indexOf("UNKNOWN_FAIL_CODE")||-1!==a[0].indexOf("TIMEOUT")?{key:e[0],displayMessage:d()}:e&&e[1]?{key:e[0],displayMessage:e[1]}:{key:a[0],displayMessage:d()}}var s=["SESSION_EXPIRED","SID_INVALID","AUTH_REJECT","NEED_LOGIN"],p=i.default(!0,!0),u=p.regionID,w=p.language,b=e.isDaily(),f=e.getEntrance(),g=e.isInLzdApp()||e.isInDrzApp(),D=e.isLzd(),z=e.isDrz(),v=!!z&&e.isDrzShopMM(),h=e.isPre(),y=e.isMobile(),x=function(a){var e={};return window.umidTokenFromHeader?e={"x-ua":window.uabModule&&window.uabModule.getUA?window.uabModule.getUA({OnlyHost:a}):window.UAFromHeader,"x-umidtoken":window.umidTokenFromHeader}:window.Group_umid&&window.Group_umid.getUA&&window.Group_umid.getUmidToken&&(e={"x-ua":window.Group_umid.getUA(),"x-umidtoken":window.Group_umid.getUmidToken()}),e},P=function(a){var e={};return 1===a.isSec&&window.fyModule&&(e={"x-ua":window.fyModule.getFYToken?window.fyModule.getFYToken():"","x-umidtoken":window.fyModule.getUidToken?window.fyModule.getUidToken():""}),e},k=function(a){},M=b?m.DAILY:h?m.PRE[u]:m.PROD[u],O={};function S(a,e,o,n){var i=a.replace(/-/g,"_"),r=a.replace(/,/g,"/"),m="//overseas-aladdin.alicdn.com/bottom/".concat(r,"/language=").concat(w,"/regionID=").concat(u,"/data.jsonp"),c="callback_".concat(i,"_language_").concat(w,"_regionID_").concat(u);if(e&&e.isByBackParamGen){for(var d=e.data.backupParams.split(",").sort(),l="",s="",p=e.host||"ald-lamp.alicdn.com",b=e.needRemoveExtParamLists||[],f=0;f<d.length;f++)!function(a){if(Object.prototype.hasOwnProperty.call(e.data,d[a])){var o=e.data[d[a]];if(!(null==o||""===o.toString().trim())){var n=o,i="_".concat(o);if("extParam"===d[a]){for(var t=JSON.parse(o),r=0;r<b.length;r++)Object.prototype.hasOwnProperty.call(t,b[r])&&delete t[b[r]];var m="";Object.keys(t).sort().forEach(function(a){m+="_".concat(a,"_").concat(t[a])}),i=m,n=m.substr(1)}s+="/".concat(d[a],"=").concat(n),l+="_".concat(d[a]).concat(i)}}}(f);m="//".concat(p,"/bottom/").concat(r).concat(s,"/data.jsonp"),c="callback_".concat(i).concat(l)}t.default(m,{jsonpCallbackFunctionName:c}).then(function(a){o(a.json())}).catch(function(a){n(a)})}function E(a,e,o){var n=a.isIcmsMtop||0,i=a.data&&a.data.appId||a.api,t=a.data&&a.data.isbackup||"",r=a.bottomConfig||{};return r.data||(r.data=a.data||{}),window.lib.mtop.request(a,function(m){var c=m&&m.ret&&m.ret.length&&m.ret[0].split("::");m&&m.ret&&m.ret.length&&"WV_ERR::PARAM_PARSE_ERROR"===m.ret[0]?window.lib.mtop.H5Request(a,e,o):"SUCCESS"===c[0]&&m.data?n&&m.data.resultValue&&m.data.resultValue[i]?"false"===m.data.resultValue[i].success&&m.data.resultValue[i].success&&t?S(i,r,e,o):e(m.data.resultValue[i]):e(m):n&&t?S(i,r,e,o):(m.errorCode=l(m.ret)||{},m.errorCodeMessage=m.errorCode.displayMessage,o(m))},function(a){n&&t?S(i,r,e,o):(a.errorCode=l(a.ret)||{},a.errorCodeMessage=a.errorCode.displayMessage,o(a))})}var _=["mtop.lazada.ug.stars.vulcan.benefit.multi.tag.batch.collect","mtop.lazada.ug.stars.vulcan.allocation.collectbenefits"],R=function(a){var e,o,n,i;if(g&&(null===(i=window)||void 0===i?void 0:null===(n=i.lib)||void 0===n?void 0:null===(o=n.mtop)||void 0===o?void 0:null===(e=o.config)||void 0===e?void 0:e.H5Request)!==void 0&&_.includes(a.toLowerCase()))try{delete window.lib.mtop.config.H5Request}catch(a){}};module.exports={request:function(e,o,n){var t=e.lzdExtraParams;delete e.lzdExtraParams,e.method&&(delete e.method,delete e.mock),e.data=e.data||{};var r={"x-i18n-language":w,"x-i18n-regionID":u,entrance:f};e=Object.assign({},{api:"",v:"1.0",ecode:0,type:"GET",isSec:1,AntiCreep:!0,timeout:2e4,needLogin:!1,appKey:D?b?"4272":"24677475":z?v?b?"60040780":"24936599":b?"60040781":"24937400":void 0,dataType:"json",sessionOption:"AutoLoginOnly"},r,e);var m=a.getCookie("lzd_uid");m&&(r["x-uid"]=m);var c=x(e.shortUa?1:0),d=P(e);if(e.ext_headers=Object.assign(e.ext_headers||{},r,c,d),0===e.api.length){console.error("api can not be empty");return}if(R(e.api),!Promise){var l="当前浏览器不支持Promise，请在windows对象上挂载Promise对象,可参考（http://gitlab.alibaba-inc.com/mtb/lib-es6polyfill/tree/master）中的解决方案";throw window.lib.mtop={ERROR:l},Error(l)}return new Promise(function(a,r){var m,c,d,l,p=function(e){o?o(e):a(e)},w=function(a){console.warn("UAT mtop error log:".concat(JSON.stringify(a))),n?n(a):r(a)};if(window.lib&&window.lib.mtop)return c=(m=Object.assign({prefix:"",subDomain:"acs-m",mainDomain:"lazada.com"},M,O)).prefix,d=m.subDomain,l=m.mainDomain,window.lib.mtop.config.prefix=c,window.lib.mtop.config.subDomain=d,window.lib.mtop.config.mainDomain=l,window.lib.mtop.config.pageDomain=l,E(e,p,function(a){if(!function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";for(var e in"string"!=typeof a&&(a=JSON.stringify(a)),s)if(-1!==a.indexOf(s[e]))return!0;return!1}(a.ret)||!0!==e.needLogin)return w(a);!function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k,n=window.location.href;if(g)window&&window.WindVane&&window.WindVane.call("LAWVUserInfo","login",{},function(a){e&&e(a)},function(){o&&o({errorCode:{displayMessage:"Sorry, you have not login"}})});else if(!y&&window.lib_signuppop)window.lib_signuppop.show("Login",{callback:e});else{var t,r,m="",c="spm=".concat(a.spm||"").concat(a.bizScene?"&bizScene=".concat(a.bizScene):"");m=b?"//buyer.lazada.test/user/login?redirect=".concat(encodeURIComponent(n),"&hybrid=1&").concat(c):f?"//".concat(b?"buyer.lazada.test":h?({SG:"member-p.lazada.sg",MY:"member-p.lazada.com.my",ID:"member-p.lazada.co.id",VN:"member-p.lazada.vn",TH:"member-p.lazada.co.th",PH:"member-p.lazada.com.ph",PK:"member-p.daraz.pk",BD:"member-p.daraz.com.bd",MM:"member-p.shop.com.mm",NP:"member-p.daraz.com.np",LK:"member-p.daraz.lk"})[u]||"":({SG:"member-m.lazada.sg",MY:"member-m.lazada.com.my",ID:"member-m.lazada.co.id",VN:"member-m.lazada.vn",TH:"member-m.lazada.co.th",PH:"member-m.lazada.com.ph",PK:"member-m.daraz.pk",BD:"member-m.daraz.com.bd",MM:"member-m.shop.com.mm",NP:"member-m.daraz.com.np",LK:"member-m.daraz.lk"})[u]||"","/user/login?redirect=").concat(encodeURIComponent(n),"&hybrid=1&").concat(c):"//".concat(b?"buyer.lazada.test":h?({SG:"pre-www.lazada.sg",MY:"pre-www.lazada.com.my",ID:"pre-www.lazada.co.id",VN:"pre-www.lazada.vn",TH:"pre-www.lazada.co.th",PH:"pre-www.lazada.com.ph",PK:"pre-www.daraz.pk",BD:"pre-www.daraz.com.bd",MM:"pre-www.shop.com.mm",NP:"pre-www.daraz.com.np",LK:"pre-www.daraz.lk"})[u]||"":({SG:"www.lazada.sg",MY:"www.lazada.com.my",ID:"www.lazada.co.id",VN:"www.lazada.vn",TH:"www.lazada.co.th",PH:"www.lazada.com.ph",PK:"www.daraz.pk",BD:"www.daraz.com.bd",MM:"www.shop.com.mm",NP:"www.daraz.com.np",LK:"www.daraz.lk"})[u]||"").concat((t=i.default().regionID.toLowerCase(),r="/wow/gcp/".concat(t,"/member/"),h?"".concat(r,"login-signup-test"):"".concat(r,"login-signup")),"?redirect=").concat(encodeURIComponent(n),"&hybrid=1&").concat(c),window.location.href=m}}(t,function(){e.fromLoginCallBack=!0,E(e,p,w)},w)});w("lib is not defined, please check out lib-mtop.js has been loaded")})},config:function(a,e){void 0!==window.lib&&window.lib.mtop&&("string"==typeof a?(O[a]=e,window.lib.mtop.config[a]=e):(O=r({},window.lib.mtop.config,a),window.lib.mtop.config=r({},window.lib.mtop.config,a)))},setDomain:function(a){Object.assign(O,a)},RESPONSE_TYPE:{ERROR:-1,SUCCESS:0,TOKEN_EXPIRED:1,SESSION_EXPIRED:2},fetchBottomData:S,useWindVaneRequest:function(a){a=a.toLowerCase(),_.includes(a)||_.push(a)}};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-lzd-data-prefetch/index", [], function(require, exports, module) {"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t,r,_=require("@ali/gcom-lzd-qs/index"),c=require("@ali/gcom-lzd-env/index"),o=require("@ali/gcom-lzd-mtop/index"),n=o&&"object"==typeof o&&"default"in o?o:{default:o};function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},_=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(_=_.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),_.forEach(function(t){i(e,t,r[t])})}return e}var s=c.isInLzdApp()||c.isInDrzApp(),a=function(e){var t;return function(){return void 0===t&&(t=e()),t}},f=a(function(){return _.getQueryParams(window.location.search,!1)});exports.ERROR=void 0,(e=exports.ERROR||(exports.ERROR={})).PREFETCH_GET_DATA_ERROR="3",e.PREFERCH_TIME_OUT="4",e.PREFERCH_DATA_PARSE_ERROR="5",e.PREFERCH_KEY_GET_ERROR="6",e.PREFERCH_CHECK_ERROR="7",(t=r||(r={})).ALL="PrefetchAll",t.V1="PrefetchV1",t.V2="PrefetchV2",t.NOPREFETCH="NoPrefetch";var u=function(){return!!f().wh_prefetch},p=function(){return!!f().laz_prefetch_id},R=function(){var e=f(),t=e.laz_prefetch_id,_=e.wh_prefetch;return t?(window.__LZD_DATA_PREFETCH_USE_PREFETCH=!0,window.__LZD_DATA_PREFETCH_TYPE=r.V2,t):_?(window.__LZD_DATA_PREFETCH_USE_PREFETCH=!0,window.__LZD_DATA_PREFETCH_TYPE=r.V1,_):""},T=function(e){return e===r.V1?u():p()},d=function(e){var t=e.prefetchVersion,_=e.forceMtop,c=e.prefetch_use,o=e.prefetch_success,n=e.prefetch_success_time,i=e.prefetch_fail_time,s=e.mtop_back_status,a=e.mtop_back_success_time,f=e.mtop_back_fail_time,u=e.mtop_success_time,R=e.mtop_fail_time,T=function(e,t){if(null==e)return{};var r,_,c=function(e,t){if(null==e)return{};var r,_,c={},o=Object.keys(e);for(_=0;_<o.length;_++)r=o[_],t.indexOf(r)>=0||(c[r]=e[r]);return c}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(_=0;_<o.length;_++)r=o[_],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}(e,["prefetchVersion","forceMtop","prefetch_use","prefetch_success","prefetch_success_time","prefetch_fail_time","mtop_back_status","mtop_back_success_time","mtop_back_fail_time","mtop_success_time","mtop_fail_time"]);return t!==r.ALL?E({},T):E({prefetch_version:void 0!==_&&_?"mtop":p()?"v2":"v1",prefetch_use:void 0===c?0:c,prefetch_success:void 0===o?0:o,prefetch_success_time:void 0===n?0:n,prefetch_fail_time:void 0===i?0:i,mtop_back_status:void 0===s?0:s,mtop_back_success_time:void 0===a?0:a,mtop_back_fail_time:void 0===f?0:f,mtop_success_time:void 0===u?0:u,mtop_fail_time:void 0===R?0:R},T)},w=a(function(){return/debug/i.test(window.location.search)}),l=function(e){var t=p()?r.V2:u()?r.V1:r.NOPREFETCH;w()&&console.log("%c[".concat(t,"] ").concat(e),"color: green")},h=function(){if(!s)return{isSuccess:!1,msg:"not in lzd app, jump prefetch"};var e=R();return e&&"null"!==e?{isSuccess:!0,msg:"success"}:{isSuccess:!1,msg:"".concat(p()?"laz_prefetch_id":u()?"wh_prefetch":"prefetch params"," does not exist on url query")}},m=function(e,t,r){var _=R(),c=function(_){l("Ready to invoke prefetch, prefetchKey: ".concat(_)),window.WindVane&&window.WindVane.call("Prefetch","getData",{externalKey:_},function(c){if(null==e||!e.isTimeOut){var o=Date.now();try{var n="string"==typeof c?JSON.parse(c):c;l("get prefetch callback success"),n.msg&&(l("callback data is empty"),r({code:exports.ERROR.PREFETCH_GET_DATA_ERROR,msg:"callback data is empty",ret:"PREFETCH_DATA_EMPTY"}));var i=n[decodeURIComponent(_)];i="string"==typeof i?JSON.parse(i):i,window.__LZD_DATA_PREFETCH_RESPONSE_PARSE_TIME=Date.now()-o;var E=i||n;t({data:E})}catch(e){l("parse prefetch data error: ".concat(JSON.stringify(e))),r({msg:"prefetch data parse error: ".concat(JSON.stringify(e)),code:exports.ERROR.PREFERCH_DATA_PARSE_ERROR,ret:"prefetch data parse error"})}}},function(t){null!=e&&e.isTimeOut||(l("get prefetch data error: ".concat(JSON.stringify(t))),r({msg:(null==t?void 0:t.msg)||(null==t?void 0:t.ret),code:exports.ERROR.PREFETCH_GET_DATA_ERROR,ret:null==t?void 0:t.ret}))})};_.startsWith("laz_")&&window.WindVane.call("LAPrefetchWVPlugin","getPrefetchValue",{prefetch_id:_},function(e){e&&e.prefetch_key?(l("get prefetch key success"),c(e.prefetch_key)):(l("get prefetch key error"),r({msg:"prefetch key is empty",code:exports.ERROR.PREFERCH_KEY_GET_ERROR,ret:"prefetch key is empty"}))},function(e){l("get prefetch key error: ".concat(JSON.stringify(e))),r({msg:(null==e?void 0:e.msg)||"get prefetch key error",code:exports.ERROR.PREFERCH_KEY_GET_ERROR,ret:null==e?void 0:e.ret})})};m.isSupport=function(){return T(r.V1)};var P=function(e,t,r){var _=R();window.WindVane.call("LAPrefetchWVPlugin","getPrefetchValue",{prefetch_id:_},function(_){if(null==e||!e.isTimeOut){l("get prefetch data success");var c=Date.now(),o=_.data,n=_.currentTime;o||(l("callback data is empty"),r({code:exports.ERROR.PREFETCH_GET_DATA_ERROR,msg:"callback data is empty",ret:"PREFETCH_DATA_EMPTY"}));var i=null;try{i="string"==typeof o?JSON.parse(o):o}catch(e){l("parse prefetch data fail"),r({msg:"prefetch data parse error: ".concat(JSON.stringify(e)),code:exports.ERROR.PREFERCH_DATA_PARSE_ERROR,ret:"prefetch_data_parse_error"})}window.__LZD_DATA_PREFETCH_RESPONSE_PARSE_TIME=Date.now()-c,t({data:i,windVaneTime:Date.now()-n})}},function(e){r(e)})};P.isSupport=function(){return T(r.V2)};var O=function(){if(window.__wpk)try{var e={category:126,msg:"接口请求-".concat(window.location.origin).concat(window.location.pathname),c1:window.__LZD_DATA_PREFETCH_TYPE,c2:window.__LZD_DATA_PREFETCH_RESPONSE_ERROR_MESSAGE};window.__LZD_DATA_PREFETCH_USE_PREFETCH?(e.w_succ=1,window.__LZD_DATA_PREFETCH_RESPONSE_SUCCESS?(e.w_succ1=1,e.wl_avgv1=window.__LZD_DATA_PREFETCH_RESPONSE_TIME,e.wl_avgv4=window.__LZD_DATA_PREFETCH_RESPONSE_WINDVANE_TIME,e.wl_avgv5=window.__LZD_DATA_PREFETCH_RESPONSE_PARSE_TIME):(e.w_succ1=0,e.wl_avgv1=window.__LZD_DATA_PREFETCH_RESPONSE_TIME)):e.w_succ=0,window.__LZD_DATA_PREFETCH_USE_NETWORK?(e.w_succ2=1,window.__LZD_DATA_PREFETCH_NETWORK_RESPONSE_SUCCESS?e.w_succ3=1:e.w_succ3=0,e.wl_avgv2=window.__LZD_DATA_PREFETCH_NETWORK_RESPONSE_TIME):e.w_succ2=0,e.wl_avgv3=window.__LZD_DATA_PREFETCH_ALL_RESPONSE_TIME,window.__wpk.report(e)}catch(e){console.log("[report-mtop-exception]",e,e.message,e.stack)}},S=function(e){var t=e.prefetchTimeOut,_=e.prefetchVersion,c=e.isReportItrace,o=void 0===c||c,n=Date.now(),i=R();return new Promise(function(e,c){var o=h();if(!o.isSuccess){l(o.msg),c(d({prefetchVersion:_,err:{code:exports.ERROR.PREFERCH_CHECK_ERROR,msg:o.msg}}));return}var n=_===r.V2?P:_===r.V1?m:T(r.V2)?P:m;if(n&&!n.isSupport()){c(d({prefetchVersion:_,err:{code:exports.ERROR.PREFERCH_CHECK_ERROR,msg:"do not support this prefetch method"}}));return}var i={isTimeOut:!1};n(i,e,c),setTimeout(function(){i.isTimeOut=!0,c({ret:"PREFETCH_TIMEOUT",code:exports.ERROR.PREFERCH_TIME_OUT,msg:"Prefetch timeout"})},t)}).then(function(e){window.__LZD_DATA_PREFETCH_RESPONSE_SUCCESS=!0;var t=e.windVaneTime,r=e.data;return window.__LZD_DATA_PREFETCH_RESPONSE_TIME=Date.now()-n,window.__LZD_DATA_PREFETCH_RESPONSE_WINDVANE_TIME=t,l("use prefetch success"),d({prefetchVersion:_,data:r,prefetch_use:1,prefetch_success:1,prefetch_success_time:Date.now()-n})}).catch(function(e){return window.__LZD_DATA_PREFETCH_RESPONSE_SUCCESS=!1,window.__LZD_DATA_PREFETCH_RESPONSE_ERROR_MESSAGE=JSON.stringify(e),window.__LZD_DATA_PREFETCH_RESPONSE_TIME=Date.now()-n,l("use prefetch error: ".concat(JSON.stringify(e))),Promise.reject(d({prefetchVersion:_,error:e,prefetch_use:i?1:0,prefetch_fail_time:Date.now()-n}))}).finally(function(){window.__LZD_DATA_PREFETCH_ALL_RESPONSE_TIME=Date.now()-n,o&&O()})},A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.prefetchTimeOut;return S({prefetchTimeOut:void 0===t?5e3:t,prefetchVersion:r.V1})};A.isSupportV1=function(){return m.isSupport()};var D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.prefetchTimeOut;return S({prefetchTimeOut:void 0===t?5e3:t,prefetchVersion:r.V2})};D.isSupportV2=function(){return P.isSupport()};var v=function(e,t){window.__LZD_DATA_PREFETCH_USE_NETWORK=!0;var _=t.forceMtop,c=void 0!==_&&_,o=Date.now(),E=R();return n.default.request(e).then(function(e){return l("mtop request success"),window.__LZD_DATA_PREFETCH_NETWORK_RESPONSE_SUCCESS=!0,window.__LZD_DATA_PREFETCH_NETWORK_RESPONSE_TIME=Date.now()-o,d(i({prefetchVersion:r.ALL,forceMtop:c,data:e,prefetch_use:E?1:0},c?"mtop_success_time":"mtop_back_success_time",Date.now()-o))}).catch(function(e){return l("mtop request error ".concat(JSON.stringify(e))),window.__LZD_DATA_PREFETCH_NETWORK_RESPONSE_SUCCESS=!1,window.__LZD_DATA_PREFETCH_NETWORK_RESPONSE_TIME=Date.now()-o,Promise.reject(d(i({prefetchVersion:r.ALL,forceMtop:c,err:e,prefetch_use:E?1:0},c?"mtop_fail_time":"mtop_back_fail_time",Date.now()-o)))}).finally(function(){window.__LZD_DATA_PREFETCH_ALL_RESPONSE_TIME=Date.now()-o,O()})};exports.Prefetch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.prefetchTimeOut;return S({prefetchVersion:r.ALL,prefetchTimeOut:void 0===t?5e3:t})},exports.PrefetchRequest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mtopParams,_=void 0===t?{}:t,c=e.prefetchTimeOut,o=e.forceMtop,n=void 0!==o&&o,i=Date.now();return n?(l("request with mtop"),v(_,{forceMtop:n,startTime:i})):(l("request with prefetch"),S({prefetchTimeOut:void 0===c?5e3:c,prefetchVersion:r.ALL,isReportItrace:!1}).catch(function(){return v(_,{forceMtop:n,startTime:i,isCallPrefetch:1})}))},exports.PrefetchV1=A,exports.PrefetchV2=D;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-lzd-resize/index", [], function(require, exports, module) {module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/",r(r.s=3)}([function(t,e,r){"use strict";r.d(e,"qb",function(){return n}),r.d(e,"sb",function(){return i}),r.d(e,"pb",function(){return o}),r.d(e,"tb",function(){return u}),r.d(e,"T",function(){return s}),r.d(e,"t",function(){return f}),r.d(e,"d",function(){return a}),r.d(e,"u",function(){return c}),r.d(e,"w",function(){return l}),r.d(e,"v",function(){return h}),r.d(e,"R",function(){return p}),r.d(e,"Q",function(){return d}),r.d(e,"S",function(){return g}),r.d(e,"G",function(){return b}),r.d(e,"L",function(){return y}),r.d(e,"B",function(){return w}),r.d(e,"j",function(){return v}),r.d(e,"H",function(){return m}),r.d(e,"Z",function(){return A}),r.d(e,"vb",function(){return _}),r.d(e,"wb",function(){return E}),r.d(e,"xb",function(){return R}),r.d(e,"z",function(){return P}),r.d(e,"K",function(){return S}),r.d(e,"P",function(){return T}),r.d(e,"D",function(){return B}),r.d(e,"E",function(){return U}),r.d(e,"F",function(){return O}),r.d(e,"f",function(){return z}),r.d(e,"db",function(){return j}),r.d(e,"eb",function(){return I}),r.d(e,"cb",function(){return k}),r.d(e,"hb",function(){return Y}),r.d(e,"fb",function(){return x}),r.d(e,"gb",function(){return L}),r.d(e,"r",function(){return C}),r.d(e,"kb",function(){return M}),r.d(e,"bb",function(){return D}),r.d(e,"ob",function(){return N}),r.d(e,"jb",function(){return q}),r.d(e,"i",function(){return F}),r.d(e,"ab",function(){return W}),r.d(e,"nb",function(){return Q}),r.d(e,"mb",function(){return X}),r.d(e,"lb",function(){return Z}),r.d(e,"X",function(){return J}),r.d(e,"h",function(){return V}),r.d(e,"g",function(){return G}),r.d(e,"A",function(){return H}),r.d(e,"ub",function(){return K}),r.d(e,"V",function(){return $}),r.d(e,"U",function(){return tt}),r.d(e,"W",function(){return et}),r.d(e,"b",function(){return rt}),r.d(e,"I",function(){return nt}),r.d(e,"c",function(){return it}),r.d(e,"J",function(){return ot}),r.d(e,"l",function(){return ut}),r.d(e,"k",function(){return st}),r.d(e,"x",function(){return ft}),r.d(e,"ib",function(){return at}),r.d(e,"yb",function(){return ct}),r.d(e,"C",function(){return lt}),r.d(e,"rb",function(){return ht}),r.d(e,"s",function(){return pt}),r.d(e,"M",function(){return dt}),r.d(e,"e",function(){return gt}),r.d(e,"Y",function(){return bt}),r.d(e,"y",function(){return yt}),r.d(e,"N",function(){return wt}),r.d(e,"O",function(){return vt}),r.d(e,"m",function(){return mt}),r.d(e,"n",function(){return At}),r.d(e,"q",function(){return _t}),r.d(e,"p",function(){return Et}),r.d(e,"o",function(){return Rt}),r.d(e,"a",function(){return Pt});var n=/(sg|my|vn|th|ph|id)\.s\.alibaba\.lzd\.co/,i=/\.slatic\.net/i,o=/(sg|my|vn|th|ph|id)-test-11\.slatic\.net/i,u=/(sg|my|vn|th|ph|id)-live(-0\d)?\.slatic\.net/i,s=/(laz-img-(sg|my|vn|th|ph|id))\.alicdn\.com/i,f=/filebroker-lzd-(sg|my|vn|th|ph|id)\.alibaba\.com/,a=/\.alibaba\.com/,c=/filebroker-cdn\.lazada\.(sg|vn|(co\.id)|(co\.th)|(com\.my)|(com\.ph))/i,l="filebroker-s.slatic.net",h="img-ovs.alicdn.com",p=/laz-img-cdn\.alicdn\.com/,d="laz-img-cdn.alicdn.com",g="laz-img.alicdn.com",b="gw.alicdn.com",y="img.alicdn.com",w=/gd(1|2|3|4)\.alicdn\.com/,v=/cbu(01|02|03|04)\.alicdn\.com/i,m=/\/\/gw\.alicdn\.com/,A=/ossgw\.alicdn\.com/,_=/lzd-u\.slatic\.net/,E="lazada-user-upload.oss-accelerate.aliyuncs.com",R="lazada-user-upload.oss-ap-southeast-1.aliyuncs.com",P=/gcp-img\.slatic\.net/i,S=/icms-image\.slatic\.net/i,T=/\.lazcdn\.com/i,B="https://img.lazcdn.com/",U=/\/\/img\.lazcdn\.com/i,O=/\/\/lzd-img-global\.slatic\.net/i,z=/\/\/img\.mrvcdn\.com/i,j=/^\/(p|original)\//,I=/^\/v2\/resize\/products\//,k=/[A-Za-z0-9]{32}(?=[_\.])/,Y=/^\/(p|original)\/[0-9]{1,2}?\//,x=/-(product|catalog_233|catalog|zoom|gallery|related|list|detail|cart)/,L="-webp",C=/sg|my|id|ph|vn|th|bd|np|lk|pk|mm/i,M=/^\/shop\//,D=/^\/other\//,N=/^\/skyline\//,q=/^\/sea-pics\//,F=/^\/awplzd\//,W=/^\/skyline-lazada\//,Q="_mobile.jpg",X="_desktop.jpg",Z=/^\/v2\/resize\/page_decoration\//,J=/lzd-live-(sg|my|vn|th|ph|id|bd|np|lk|pk|mm)-member\.oss-ap-southeast-1\.aliyuncs.com/i,V="asc-public.oss-ap-southeast-1.aliyuncs.com",G="asc-public-id.oss-ap-southeast-5.aliyuncs.com",H="gcp-material-sg.oss-accelerate.aliyuncs.com",K="lzd-social-img.oss-ap-southeast-1.aliyuncs.com",$="lzd-live-sg-other.oss-ap-southeast-1.aliyuncs.com",tt="lzd-live-sg-other.oss-accelerate.aliyuncs.com",et=/lzd-staging-(sg|my|ph|vn|th|id)-im(-m)?\.oss-ap-southeast-1\.aliyuncs\.com/i,rt=/ae(01|02|03|04)\.alicdn\.com/i,nt=/sc(01|02|03|04)\.alicdn\.com/i,it=/^\/kf\/[A-Za-z0-9_\.]+\//,ot=/^\/kf\/[A-Za-z0-9_\.]+\/[0-9]+\/[A-Za-z0-9_]+/,ut=/\/[0-9]+\/[0-9]+\/[0-9]+\//,st=/\.[0-9]+x[0-9]+\./,ft=/\.svg/i,at=/_((\d+)?x(\d+)?)?([qQ]\d{2,3}?)?(s\d{3})?\.(jpg|jpeg|png|gif|webp)(_\.webp)?$/,ct=/_\.webp/,lt=/\.gif$/,ht=/^\/cms\//,pt=/(jpg|jpeg|png|gif|webp)\.(jpg|jpeg|png|gif|webp)/i,dt=/\.lazada\.(sg|vn|com\.ph|com\.my|co\.id|co\.th)/,gt=/\.alicdn\.com/,bt=/\.aliyuncs\.com/,yt=/\.(jpg|jpeg|png|gif|webp|bmp|tiff|cnt)/i,wt=/lazvideo\.slatic\.net/i,vt=/^\/psp\//,mt="https://img.drz.lazcdn.com/",At=/img\.drz\.lazcdn\.com/i,_t=/static\-01\.((daraz\.((com\.bd)|(com\.np)|lk|pk))|(shop\.com\.mm))/i,Et=/(bd|np|lk|pk|mm)\-live\-21\.slatic\.net/,Rt=/\.((daraz\.((com\.bd)|(com\.np)|lk|pk))|(shop\.com\.mm))/,Pt=["avif","webp"]},function(t,e,r){"use strict";(function(t){r.d(e,"d",function(){return i}),r.d(e,"e",function(){return o}),r.d(e,"a",function(){return u}),r.d(e,"c",function(){return s}),r.d(e,"b",function(){return f}),r.d(e,"f",function(){return a});var n=r(0);function i(t){return!(n.M.test(t)||n.e.test(t)||n.Y.test(t)||n.sb.test(t)||n.o.test(t)||n.d.test(t))}function o(t){return!!t&&(!n.P.test(t)&&(!n.f.test(t)&&!n.E.test(t)))}function u(t){if(!t)return"";var e=null;return(t=t.trim()).startsWith("http")?e=t:t.startsWith("//")&&(e="https:"+t),e}function s(t){var e=n.r.exec(t);return e&&e[0]?e[0].toLowerCase():null}function f(e){return"object"==typeof window&&window.btoa?window.btoa(e):void 0!==t?t.from(e,"binary").toString("base64"):null}function a(t){return t.replace(n.nb,"").replace(n.mb,"")}}).call(this,r(4).Buffer)},function(t,e){t.exports=require("@ali/gcom-lzd-env/index")},function(t,e,r){t.exports=r(9)},function(t,e,r){"use strict";(function(t){var n=r(6),i=r(7),o=r(8);function u(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(u()<e)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=f.prototype:(null===t&&(t=new f(e)),t.length=e),t}function f(t,e,r){if(!(f.TYPED_ARRAY_SUPPORT||this instanceof f))return new f(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return a(this,t,e,r)}function a(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);f.TYPED_ARRAY_SUPPORT?(t=e).__proto__=f.prototype:t=h(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!f.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|d(e,r);t=s(t,n);var i=t.write(e,r);i!==n&&(t=t.slice(0,i));return t}(t,e,r):function(t,e){if(f.isBuffer(e)){var r=0|p(e.length);return 0===(t=s(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?s(t,0):h(t,e);if("Buffer"===e.type&&o(e.data))return h(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function l(t,e){if(c(e),t=s(t,e<0?0:0|p(e)),!f.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function h(t,e){var r=e.length<0?0:0|p(e.length);t=s(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function p(t){if(t>=u())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u().toString(16)+" bytes");return 0|t}function d(t,e){if(f.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return N(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return q(t).length;default:if(n)return N(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return O(this,e,r);case"utf8":case"utf-8":return S(this,e,r);case"ascii":return B(this,e,r);case"latin1":case"binary":return U(this,e,r);case"base64":return P(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function b(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=f.from(e,n)),f.isBuffer(e))return 0===e.length?-1:w(t,e,r,n,i);if("number"==typeof e)return e&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):w(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function w(t,e,r,n,i){var o,u=1,s=t.length,f=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;u=2,s/=2,f/=2,r/=2}function a(t,e){return 1===u?t[e]:t.readUInt16BE(e*u)}if(i){var c=-1;for(o=r;o<s;o++)if(a(t,o)===a(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===f)return c*u}else-1!==c&&(o-=o-c),c=-1}else for(r+f>s&&(r=s-f),o=r;o>=0;o--){for(var l=!0,h=0;h<f;h++)if(a(t,o+h)!==a(e,h)){l=!1;break}if(l)return o}return-1}function v(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var u=0;u<n;++u){var s=parseInt(e.substr(2*u,2),16);if(isNaN(s))return u;t[r+u]=s}return u}function m(t,e,r,n){return F(N(e,t.length-r),t,r,n)}function A(t,e,r,n){return F(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function _(t,e,r,n){return A(t,e,r,n)}function E(t,e,r,n){return F(q(e),t,r,n)}function R(t,e,r,n){return F(function(t,e){for(var r,n,i,o=[],u=0;u<t.length&&!((e-=2)<0);++u)n=(r=t.charCodeAt(u))>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function P(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function S(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,u,s,f,a=t[i],c=null,l=a>239?4:a>223?3:a>191?2:1;if(i+l<=r)switch(l){case 1:a<128&&(c=a);break;case 2:128==(192&(o=t[i+1]))&&(f=(31&a)<<6|63&o)>127&&(c=f);break;case 3:o=t[i+1],u=t[i+2],128==(192&o)&&128==(192&u)&&(f=(15&a)<<12|(63&o)<<6|63&u)>2047&&(f<55296||f>57343)&&(c=f);break;case 4:o=t[i+1],u=t[i+2],s=t[i+3],128==(192&o)&&128==(192&u)&&128==(192&s)&&(f=(15&a)<<18|(63&o)<<12|(63&u)<<6|63&s)>65535&&f<1114112&&(c=f)}null===c?(c=65533,l=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=l}return function(t){var e=t.length;if(e<=T)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=T));return r}(n)}e.Buffer=f,e.SlowBuffer=function(t){+t!=t&&(t=0);return f.alloc(+t)},e.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=u(),f.poolSize=8192,f._augment=function(t){return t.__proto__=f.prototype,t},f.from=function(t,e,r){return a(null,t,e,r)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0})),f.alloc=function(t,e,r){return function(t,e,r,n){return c(e),e<=0?s(t,e):void 0!==r?"string"==typeof n?s(t,e).fill(r,n):s(t,e).fill(r):s(t,e)}(null,t,e,r)},f.allocUnsafe=function(t){return l(null,t)},f.allocUnsafeSlow=function(t){return l(null,t)},f.isBuffer=function(t){return!(null==t||!t._isBuffer)},f.compare=function(t,e){if(!f.isBuffer(t)||!f.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},f.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=f.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var u=t[r];if(!f.isBuffer(u))throw new TypeError('"list" argument must be an Array of Buffers');u.copy(n,i),i+=u.length}return n},f.byteLength=d,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)b(this,e,e+1);return this},f.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)b(this,e,e+3),b(this,e+1,e+2);return this},f.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)b(this,e,e+7),b(this,e+1,e+6),b(this,e+2,e+5),b(this,e+3,e+4);return this},f.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?S(this,0,t):g.apply(this,arguments)},f.prototype.equals=function(t){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===f.compare(this,t)},f.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},f.prototype.compare=function(t,e,r,n,i){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),u=(r>>>=0)-(e>>>=0),s=Math.min(o,u),a=this.slice(n,i),c=t.slice(e,r),l=0;l<s;++l)if(a[l]!==c[l]){o=a[l],u=c[l];break}return o<u?-1:u<o?1:0},f.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},f.prototype.indexOf=function(t,e,r){return y(this,t,e,r,!0)},f.prototype.lastIndexOf=function(t,e,r){return y(this,t,e,r,!1)},f.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return v(this,t,e,r);case"utf8":case"utf-8":return m(this,t,e,r);case"ascii":return A(this,t,e,r);case"latin1":case"binary":return _(this,t,e,r);case"base64":return E(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var T=4096;function B(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function U(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function O(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=D(t[o]);return i}function z(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function j(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,r,n,i,o){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function k(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function Y(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function x(t,e,r,n){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function L(t,e,r,n,o){return o||x(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function C(t,e,r,n,o){return o||x(t,0,r,8),i.write(t,e,r,n,52,8),r+8}f.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),f.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=f.prototype;else{var i=e-t;r=new f(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+t]}return r},f.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||j(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},f.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||j(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},f.prototype.readUInt8=function(t,e){return e||j(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,e){return e||j(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,e){return e||j(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,e){return e||j(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function(t,e){return e||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||j(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},f.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||j(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){e||j(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt16BE=function(t,e){e||j(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt32LE=function(t,e){return e||j(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return e||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return e||j(t,4,this.length),i.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return e||j(t,4,this.length),i.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return e||j(t,8,this.length),i.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return e||j(t,8,this.length),i.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||I(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},f.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||I(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},f.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,1,255,0),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},f.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):k(this,t,e,!0),e+2},f.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):k(this,t,e,!1),e+2},f.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Y(this,t,e,!0),e+4},f.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Y(this,t,e,!1),e+4},f.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);I(this,t,e,r,i-1,-i)}var o=0,u=1,s=0;for(this[e]=255&t;++o<r&&(u*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/u|0)-s&255;return e+r},f.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);I(this,t,e,r,i-1,-i)}var o=r-1,u=1,s=0;for(this[e+o]=255&t;--o>=0&&(u*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/u|0)-s&255;return e+r},f.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,1,127,-128),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):k(this,t,e,!0),e+2},f.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):k(this,t,e,!1),e+2},f.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Y(this,t,e,!0),e+4},f.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Y(this,t,e,!1),e+4},f.prototype.writeFloatLE=function(t,e,r){return L(this,t,e,!0,r)},f.prototype.writeFloatBE=function(t,e,r){return L(this,t,e,!1,r)},f.prototype.writeDoubleLE=function(t,e,r){return C(this,t,e,!0,r)},f.prototype.writeDoubleBE=function(t,e,r){return C(this,t,e,!1,r)},f.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},f.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!f.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var u=f.isBuffer(t)?t:N(new f(t,n).toString()),s=u.length;for(o=0;o<r-e;++o)this[o+e]=u[o%s]}return this};var M=/[^+\/0-9A-Za-z-_]/g;function D(t){return t<16?"0"+t.toString(16):t.toString(16)}function N(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],u=0;u<n;++u){if((r=t.charCodeAt(u))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(u+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function q(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(M,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function F(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(5))},function(t,e){var r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";e.byteLength=function(t){var e=f(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,n=f(t),u=n[0],s=n[1],a=new o(function(t,e,r){return 3*(e+r)/4-r}(0,u,s)),c=0,l=s>0?u-4:u;for(r=0;r<l;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],a[c++]=e>>16&255,a[c++]=e>>8&255,a[c++]=255&e;2===s&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,a[c++]=255&e);1===s&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,a[c++]=e>>8&255,a[c++]=255&e);return a},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],u=16383,s=0,f=r-i;s<f;s+=u)o.push(c(t,s,s+u>f?f:s+u));1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return o.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)n[s]=u[s],i[u.charCodeAt(s)]=s;function f(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function a(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function c(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),i.push(a(n));return i.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,i){var o,u,s=8*i-n-1,f=(1<<s)-1,a=f>>1,c=-7,l=r?i-1:0,h=r?-1:1,p=t[e+l];for(l+=h,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+t[e+l],l+=h,c-=8);for(u=o&(1<<-c)-1,o>>=-c,c+=n;c>0;u=256*u+t[e+l],l+=h,c-=8);if(0===o)o=1-a;else{if(o===f)return u?NaN:1/0*(p?-1:1);u+=Math.pow(2,n),o-=a}return(p?-1:1)*u*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var u,s,f,a=8*o-i-1,c=(1<<a)-1,l=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,u=c):(u=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-u))<1&&(u--,f*=2),(e+=u+l>=1?h/f:h*Math.pow(2,1-l))*f>=2&&(u++,f/=2),u+l>=c?(s=0,u=c):u+l>=1?(s=(e*f-1)*Math.pow(2,i),u+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),u=0));i>=8;t[r+p]=255&s,p+=d,s/=256,i-=8);for(u=u<<i|s,a+=i;a>0;t[r+p]=255&u,p+=d,u/=256,a-=8);t[r+p-d]|=128*g}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){"use strict";r.r(e),r.d(e,"getFitUrl",function(){return R}),r.d(e,"urlRewrite",function(){return c}),r.d(e,"isRightUrl",function(){return _}),r.d(e,"getOriginalUrl",function(){return v}),r.d(e,"getOriginalFitUrl",function(){return P}),r.d(e,"isSupportWebp",function(){return h});var n=r(0),i=r(2),o=!1;try{o=Object(i.isDrz)()}catch(t){console.warn("env check error ->",t)}var u=r(1);function s(t,e){var r="";t=t.replace(n.fb,"").replace(n.gb,"").replace("-.",".");var i=n.cb.exec(t);if(i&&i[0]){var o=i.index||0,s=(t=t.slice(o)).split("_"),f=s[0],a=s[1],c=void 0===a?"":a;if(c&&-1===f.indexOf("."))t=f+"."+(c.split(".")[1]||"jpg")}var l=Object(u.c)(e);return l&&(r="live/"+l+"/p/"+t,"sg"===l&&(r="g/p/"+t)),r}function f(t){if(!t)return t;if(n.F.test(t))try{return t.replace(n.F,"//img.lazcdn.com")}catch(e){return t}try{var e=new URL(t),r="",i=e.hostname,o=e.pathname;if("/"===o)return t;if(n.pb.test(i)||n.tb.test(i)||n.T.test(i)||n.qb.test(i)||n.t.test(i))if(n.db.test(o))if(n.hb.test(o)){if(!(r=s(o.replace(n.hb,""),i)))return t}else if(-1!==o.indexOf("-")){if(!(r=s(o.replace(n.db,""),i)))return t}else r="g"+o.replace(n.db,"/p/");else if(n.kb.test(o))r="g"+o;else if(n.bb.test(o))r="g"+o.replace(n.bb,"/ot/");else if(n.ob.test(o))r="g"+Object(u.f)(o);else if(n.jb.test(o)||n.i.test(o))r="g/ot"+o;else if(n.eb.test(o)){var f=o.replace(n.eb,""),a=f.split("-");a.length>1&&(f=a[a.length-1]),r="g/p/"+f}else if(n.lb.test(o)){var c=Object(u.c)(i);if(!c)return t;r="live/"+c+"/ot/"+o.replace(n.lb,"")}else{if(!n.rb.test(o))return t;var l=Object(u.b)(t.replace(n.ib,""));if(!l)return t;r="3rd/q/"+l}else if(n.V===i||n.U===i)r="g/ot"+o;else if(n.v===i&&n.bb.test(o))r="g/ot"+o.replace(n.bb,"/");else if(n.Z.test(i))r=n.ab.test(o)?"g"+Object(u.f)(o).replace(n.ab,"/skyline/"):"collect/gw"+o;else if(n.vb.test(i)||n.wb===i||n.xb===i)r="g/ugc"+o;else if(n.u.test(i))r="g/ff"+o;else if(n.w===i)r="g/ff/kf"+o;else if(n.z.test(i))r="g/gcp"+o;else if(n.K.test(i))r="g/icms"+o;else if(n.Q===i||n.S===i||n.G===i||n.L===i)r="g/tps"+o;else if(n.B.test(i))r="g/tps"+o;else if(n.X.test(i)){r="live/"+Object(u.c)(i)+"/member"+o}else if(n.h===i)r="collect/asc"+o;else if(n.g===i)r="collect/asc-id"+o;else if(n.A===i)r="collect/gcp-material"+o;else if(n.ub===i)r="collect/social-img"+o;else if(n.W.test(i)){var h=i.match(/lzd-staging-(sg|my|ph|vn|th|id)-im(-m)?/i);if(!h||!h[1])return t;r="collect/im/"+h[1].toLowerCase()+o}else if(n.N.test(i)&&n.O.test(o))r=o.replace("/psp/","psp/");else if(n.b.test(i))if(n.c.test(o))try{var p=o.replace("/kf/","").split("/");r="collect/ae/kf/"+p[0]+"."+p[p.length-1].split(".").splice(1).join(".")}catch(t){r="collect/ae"+o}else r="collect/ae"+o;else if(n.I.test(i))if(n.J.test(o)){var d=o.split("/");r="collect/icbu/kf/"+d[d.length-1]}else r="collect/icbu"+o;else if(n.j.test(i)){r="collect/cbu"+o.replace(n.l,"/").replace(n.k,".")}else{if(!Object(u.d)(i))return t;var g=Object(u.b)(t);if(!g)return t;r="3rd/q/"+g}if(r)return n.D+r}catch(t){console.warn("url rewrite error ->",t)}return t}function a(t){if(!t)return t;try{var e=new URL(t),r=e.hostname,i=e.pathname;if("/"===i)return t;var o="";if(n.q.test(r))if(n.ob.test(i))o=Object(u.f)(i).replace(n.ob,"skyline/");else{var s=Object(u.c)(r);s&&(o="static/"+s+i.replace("/original/","/p/"))}else if(n.Z.test(r))o=n.ab.test(i)?Object(u.f)(i).replace(n.ab,"skyline/"):"collect/gw"+i;else if(n.Q===r||n.S===r||n.G===r||n.L===r||n.B.test(r))o="g/tps"+i;else if(n.p.test(r))o="g"+i;else if(n.z.test(r))o="g/gcp"+i;else if(n.K.test(r))o="g/icms"+i;else if(n.pb.test(r)||n.tb.test(r))o="collect/"+Object(u.c)(r)+i;else if(n.X.test(r))o="member/"+Object(u.c)(r)+i;else if(n.I.test(r))if(n.J.test(i)){var f=i.split("/");o="collect/icbu/kf/"+f[f.length-1]}else o="collect/icbu"+i;else if(n.j.test(r)){o="collect/cbu"+i.replace(n.l,"/").replace(n.k,".")}else if(Object(u.d)(r)){var a=Object(u.b)(t);if(!a)return t;o="3rd/q/"+a}if(o)return n.m+o}catch(t){console.warn("url rewrite error ->",t)}return t}function c(t,e){var r=Object(u.a)(t);return Object(u.e)(r)?e?"Daraz"===e?a(r):f(r):o?a(r):f(r):t}function l(t){window.is_browser_support_webp=t;try{window.localStorage&&window.localStorage.setItem("isWebpSupport",t?"1":"0")}catch(t){console.log(t)}}!function(){var t,e;if("undefined"!=typeof window)if("undefined"!=typeof navigator&&/AliApp\(LA/i.test(navigator.userAgent)||"function"==typeof callNative||"object"==typeof WXEnvironment&&"Web"!==WXEnvironment.platform){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&((e=navigator.userAgent.match(/OS (\d+)_(\d+)_?(\d+)?/))&&e.length?parseInt(e[1],10):0)<=13)return void(window.is_browser_support_webp=!1);window.is_browser_support_webp=!0}else window.localStorage&&window.localStorage.getItem("isWebpSupport")?window.is_browser_support_webp="1"===window.localStorage.getItem("isWebpSupport"):((t=new Image).onload=function(){l(t.width>0&&t.height>0)},t.onerror=function(){l(!1)},t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA")}();var h=function(){return"undefined"!=typeof window&&void 0!==window.is_browser_support_webp&&window.is_browser_support_webp},p="undefined"!=typeof window?window.devicePixelRatio:1;(p=Number(p))>1&&(p=2);var d=p,g=[[80],[120],[150],[170],[200],[240],[260],[270],[300],[340],[360],[400],[460],[500],[580],[600],[640],[680],[720],[760],[960],[1200],[2200]];var b=function(t,e,r){var n=0,i=t||screen.width||0,o=e||0;if(!i&&!o)return"";n=Math.max(i,o),n*=d;var u=g;r.sizeList&&"[object Array]"===Object.prototype.toString.call(r.sizeList)&&r.sizeList.length>0&&(u=r.sizeList);var s=u.find(function(t){return Math.min(t[0],t[1]||t[0])>=n});return s||(s=u[u.length-1]),s?s[0]+"x"+(s[1]||s[0]):""},y={"2g":50,"3g":75,"4g":80,wifi:90};function w(){var t,e;return"q"+Math.min(function(){if("undefined"!=typeof navigator){var t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;if(t&&t.effectiveType){var e=t.effectiveType;return y[e]||90}}return 90}(),(e=90,(t=d)>=3?e=50:t>=2&&(e=75),e))}function v(t){return t.replace(n.ib,"").replace(n.yb,"").replace(n.s,"$1")}function m(t,e){var r=v(t),i="",o="";if(e.size&&(i+=e.size),e.quality&&(i+=e.quality),e.sharpen&&(i+=e.sharpen),i){var u="jpg";if(e.format&&!n.a.includes(e.format)&&(u=e.format),n.C.test(r)&&(u="gif"),e.alpha){var s=function(t){var e=n.y.exec(t);return e&&e[1]?e[1]:""}(r)||"png";"png"===s&&(u="png")}i="_"+i+"."+u}return e.format&&n.a.includes(e.format)&&(o="_."+e.format),r+i+o}function A(t,e){var r=e.clean?{}:function(t){var e=n.ib.exec(t);return e?{size:e[1],quality:e[4],sharpen:e[5]}:{}}(t);return m(t,e=Object.assign({},r,e))}function _(t){return n.E.test(t)||n.F.test(t)||n.f.test(t)||n.n.test(t)}function E(t,e,r,n){void 0===e&&(e=0),void 0===r&&(r=0),void 0===n&&(n={});var i="object"==typeof window&&window.crossimageConfig||{},o=Object.assign({clean:!0,alpha:!0},i,n);return!o.format&&h()&&(o.format="webp"),o.size||(o.size=b(e,r,o)),o.quality=o.quality?o.quality:w(),o.sharpen=o.sharpen?o.sharpen:function(t){var e="";if("string"==typeof t){var r=t.match(/^[q|Q](\d{2})$/);(r&&r.length>=2?parseInt(r[1],10):1e4)<=50&&(e="s150")}return e}(o.quality),A(t,o)}function R(t,e,r,i){void 0===e&&(e=0),void 0===r&&(r=0),void 0===i&&(i={});var o=c(t);return _(o)?n.x.test(o)?o:E(o.split("?")[0].split("#")[0],e,r,i):o}function P(t,e,r,i){if(void 0===e&&(e=0),void 0===r&&(r=0),void 0===i&&(i={}),/\.(svg|gif)/.test(t))return t;if((n.H.test(t)?t=t.replace(n.H,"//laz-img-cdn.alicdn.com"):(n.pb.test(t)||n.tb.test(t))&&(t=t.replace(/live(-0\d)?/,"live-05").replace(/test-11/,"live-05")),n.pb.test(t)||n.tb.test(t)||n.K.test(t)||n.z.test(t)||n.T.test(t)||n.vb.test(t)||n.H.test(t)||n.R.test(t)||n.j.test(t)||n.b.test(t)||n.I.test(t))&&!/(\/skyline\/)/i.test(t))return E(t.split("?")[0].split("#")[0],e,r,i);return t}e.default={getFitUrl:R,urlRewrite:c,isRightUrl:_,getOriginalUrl:v,getOriginalFitUrl:P,isSupportWebp:h}}]);;        (function (e, k, f, g, d) { if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {            if ((k(e).length === 2 && e[g](f) === !0) || (k(e).length === 1 && e[g](f) === !1)) {                module.exports = e[d];                module.exports[d] = module.exports;            }        } })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/pnpm-react@18/jsx-runtime", [], function(require, exports, module) {"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var index=require("@ali/pnpm-react@18/6a96e9f5"),jsxRuntime={exports:{}},reactJsxRuntime_production_min={},f=index.react.exports,k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function q(e,r,t){var o,s={},i=null,u=null;for(o in void 0!==t&&(i=""+t),void 0!==r.key&&(i=""+r.key),void 0!==r.ref&&(u=r.ref),r)m.call(r,o)&&!p.hasOwnProperty(o)&&(s[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===s[o]&&(s[o]=r[o]);return{$$typeof:k,type:e,key:i,ref:u,props:s,_owner:n.current}}reactJsxRuntime_production_min.Fragment=l,reactJsxRuntime_production_min.jsx=q,reactJsxRuntime_production_min.jsxs=q,jsxRuntime.exports=reactJsxRuntime_production_min,exports.Fragment=jsxRuntime.exports.Fragment,exports.jsx=jsxRuntime.exports.jsx,exports.jsxs=jsxRuntime.exports.jsxs;
;        (function (e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if ((k(e).length === 2 && e[g](f) === !0) ||                    (k(e).length === 1 && e[g](f) === !1)) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });

define("@ali/gcom-lzd-version-compare/index", [], function(require, exports, module) {"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VERSION_EQUAL=0,exports.VERSION_GREATER=1,exports.VERSION_LESS=-1,exports.default=function(r,t){if(void 0===r||void 0===t)throw Error("Version parameters cannot be undefined");if(0===r.length&&0===t.length)return 0;if(0===r.length)return -1;if(0===t.length)return 1;for(var e=String(r).split(".").map(function(r){return parseInt(r,10)}),n=String(t).split(".").map(function(r){return parseInt(r,10)}),i=Math.max(e.length,n.length),o=0;o<i;o++){var u=function(r,t){var e=isNaN(r)?0:r,n=isNaN(t)?0:t;return e>n?1:e<n?-1:0}(e[o],n[o]);if(0!==u)return u}return 0};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-lzd-device/index", [], function(require, exports, module) {"use strict";var e,n=require("@ali/gcom-lzd-env/index"),i=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(require("@ali/gcom-lzd-version-compare/index")),o=n.getAppInfo().appVersion,t=n.isInLzdApp(),r=n.isIos(),l=0>i.default(o,"7.27.0");!function(e){e[e.LOW=1]="LOW",e[e.MID=2]="MID",e[e.HIGH=3]="HIGH",e[e.UNKNOW=-1]="UNKNOW"}(e||(e={}));var c={get:function(e){return(null==window?void 0:window.localStorage)?window.localStorage.getItem(e):""},set:function(e,n){if(null==window?void 0:window.localStorage)try{window.localStorage.setItem(e,JSON.stringify(n))}catch(e){console.log(e)}}},u=e.UNKNOW,d="lzd_device_level",a=function(){var e=c.get(d);return e?Number(e):void 0};!function(){var n=t?r?e.HIGH:a():e.UNKNOW;n?u=n:((null==window?void 0:window.WindVane)&&!l?new Promise(function(n,i){try{window.WindVane.call("LADevice","getPerformanceInfo",{},function(i){var o=i.deviceLevel;o!==e.UNKNOW&&c.set(d,o),n(o)},function(){n(e.UNKNOW)})}catch(i){n(e.UNKNOW)}}):Promise.resolve(e.UNKNOW)).then(function(e){u=e})}();var f={isHighLevel:function(){return u===e.HIGH},isLowLevel:function(){return u===e.LOW},isMidLevel:function(){return u===e.MID},getDeviceLevel:function(){return u},DEVICELEVEL:e};module.exports=f;
;        (function (e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if ((k(e).length === 2 && e[g](f) === !0) ||                    (k(e).length === 1 && e[g](f) === !1)) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-lzd-push/index", [], function(require, exports, module) {"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t,e,r,n,i=require("@ali/gcom-lzd-qs/index"),o=require("@ali/gcom-lzd-env/index"),a=require("@ali/gcom-lzd-version-compare/index"),u=require("@ali/gcom-lzd-device/index");function l(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var c=l(a),_=l(u);function s(t,e,r,n,i,o,a){try{var u=t[o](a),l=u.value}catch(t){r(t);return}u.done?e(l):Promise.resolve(l).then(n,i)}function d(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"==typeof SuppressedError&&SuppressedError;var f=o.getAppInfo().appVersion,m=o.isIos(),p=o.isAndroid(),S=o.isInLzdApp(),g=o.isInDrzApp(),v=c.default(f,"7.30.0")>=0,h=c.default(f,"7.43.0")>=0;function y(){}(t=e||(e={})).NOT_IN_LZD_APP="This Page is not in lzd app",t.APP_VERSION_LOW="The APP version is less than 7.30.0",t.NO_IMGURL="Parameter has no image url",t.DEVICELEVEL_LOW="Device Rating Low",t.SIZE_IS_OVER="Image size is large than 700",t.ONLOAD_TIME_OUT="Image onload timeout",t.OTHER="Other condition error";var O=i.getQueryParams(),E=function(t){return"[object Object]"===Object.prototype.toString.call(t)};function w(t,e){if(!E(t))return"";try{var r=t.isCurrencyLeft;return r&&"string"!=typeof r&&(t.isCurrencyLeft=r?"1":"0"),JSON.stringify(t)}catch(t){return e.__WYSWYG_PUSH_ERROR_MESSAGE=JSON.stringify(t),""}}var A=function(){for(var t,e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];/debug/i.test(window.location.search)&&(t=console).log.apply(t,["[lzdPush] "].concat(function(t){if(Array.isArray(t))return d(t)}(r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(r)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,e)}}(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))},b=function(t){window.location.href=t},I=function(t,e,r){var n;(null===(n=window)||void 0===n?void 0:n.WindVane)?window.WindVane.call("LANavigator","push",t,e,r):b(t.url)},P=function(t){var e=t.indexOf("64,")+3;return t.substring(e)},W=function(t){try{var e=null==t?void 0:t.itemImgDOM;if("function"==typeof e)return e();return e}catch(t){A("pushGetImageDOM: ",JSON.stringify(t))}return null},U=function(t,e){var r=W(t);if(!r)return e.__WYSWYG_PUSH_ERROR_MESSAGE="get dom failure","";if(1!==r.nodeType)return E(r)&&(r.x||r.y||r.width||r.height)?JSON.stringify(r):"";var n=r.getBoundingClientRect();return JSON.stringify({x:n.left,y:n.top,width:n.width,height:n.height})};function Y(){var t;return t=function(t){var r,n,i,o,a,u,l;return function(t,e){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=u(0),a.throw=u(1),a.return=u(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(u){return function(l){return function(u){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,n=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(t){u=[6,t],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,l])}}}(this,function(c){switch(c.label){case 0:r=Date.now(),c.label=1;case 1:return c.trys.push([1,6,,7]),[4,Promise.race([fetch(t,{mode:"cors"}),new Promise(function(t,r){return setTimeout(function(){return r(e.ONLOAD_TIME_OUT)},100)})])];case 2:return[4,c.sent().blob()];case 3:return n=c.sent(),(i=new Image).crossOrigin="anonymous",i.src=URL.createObjectURL(n),[4,new Promise(function(t,e){i.onload=t,i.onerror=e})];case 4:if(c.sent(),i.width>1500||i.height>1500)throw URL.revokeObjectURL(i.src),e.SIZE_IS_OVER;return o=Date.now()-r,a=Date.now(),[4,new Promise(function(t,e){var r=new FileReader;r.onload=function(){return t(r.result)},r.onerror=e,r.readAsDataURL(n)})];case 5:return u=c.sent(),URL.revokeObjectURL(i.src),[2,{imgLoadTime:o,imgBase64:P(u),encodeTime:Date.now()-a}];case 6:throw l=c.sent(),A("Could not load image at ".concat(t,", reason: ").concat(JSON.stringify(l))),"Could not load image at ".concat(t,", reason: ").concat(JSON.stringify(l));case 7:return[2]}})},(Y=function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function a(t){s(o,n,i,a,u,"next",t)}function u(t){s(o,n,i,a,u,"throw",t)}a(void 0)})}).apply(this,arguments)}var G=function(){var t=window.location.origin+window.location.pathname,e=O.wh_pid;return e?"".concat(t,"?wh_pid=").concat(e):t},L=function(t,r,n){var i=t.url,o=void 0===i?"":i,a=t.imgUrl,u=void 0===a?"":a,l=t.isAddImageAtFirst,c=void 0===l||l,_=t.productDetail,s=t.transition,d=t.startTime,f=t.global;if(f.__WYSWYG_PUSH_VERSION="V1",!u){f.__WYSWYG_PUSH_ERROR_MESSAGE=e.NO_IMGURL,T({url:o,imgUrl:u,isAddImageAtFirst:c,productDetail:_,transition:s,startTime:d,global:f},r,n);return}var p="",S="";(function(t){return Y.apply(this,arguments)})(u).then(function(t){var e=t.imgBase64,r=t.imgLoadTime,n=t.encodeTime;e&&e.length<9e5&&(p=e,f.__WYSWYG_PUSH_IMAGE_SUCCESS=!0,f.__WYSWYG_PUSH_IMAGE_LENGTH=e.length,f.__WYSWYG_PUSH_IMAGE_ONLOAD_TIME=r,f.__WYSWYG_PUSH_IMAGE_TOBASE64_TIME=n,m&&(S=U(s,f)))}).catch(function(t){var e=JSON.stringify(t.message||t);A("pushV1Error: ",e),f.__WYSWYG_PUSH_ERROR_MESSAGE=e}).finally(function(){var t={url:o};p&&(t={url:o,h5_start_time:d,is_smart_image:c,main_item_image:(null==_?void 0:_.itemImg)||u||"",h5_main_image:p,product_detail_info:w(_,f),transitionScene:(null==s?void 0:s.scene)||"",h5ItemImgFrame:S}),A("pushV1: ",t),I(t,r,n),f.__WYSWYG_PUSH_PARAM_MESSAGE=JSON.stringify({main_item_image:t.main_item_image,is_smart_image:t.is_smart_image,product_detail_info:t.product_detail_info}),f.__WYSWYG_PUSH_ALL_TIME=Date.now()-d,f.__WYSWYG_PUSH_IMAGE_ANIMATION_SUCCESS=!!S})},R=function(t,e,r){var n=t.url,i=t.imgUrl,o=void 0===i?"":i,a=t.isAddImageAtFirst,u=t.productDetail,l=t.startTime,c=t.global,_=o?G():"",s=!!o&&(void 0===a||a),d={url:void 0===n?"":n,h5_start_time:l,main_item_image:(null==u?void 0:u.itemImg)||"",is_smart_image:s,preview_item_image:o,h5_page_url:_,product_detail_info:w(u,c)};I(d,e,r),A("pushV2: ",d),c.__WYSWYG_PUSH_ALL_TIME=Date.now()-l,c.__WYSWYG_PUSH_IMAGE_ANIMATION_SUCCESS=!0,c.__WYSWYG_PUSH_IMAGE_SUCCESS=!0,c.__WYSWYG_PUSH_PARAM_MESSAGE=JSON.stringify({main_item_image:d.main_item_image,h5_page_url:d.h5_page_url,is_smart_image:d.is_smart_image,preview_item_image:d.preview_item_image,product_detail_info:d.product_detail_info})},M=function(t){var e=t.url;A("not use windvane: ",{url:e}),b(e)},N=function(t,e,r){var n=t.url,i=t.startTime;t.global.__WYSWYG_PUSH_ALL_TIME=Date.now()-i,A("push only Url: ",{url:n}),I({url:n},e,r)},T=function(t,e,r){var n=t.url,i=t.isAddImageAtFirst,o=t.productDetail,a=t.startTime,u=t.global,l={url:void 0===n?"":n,h5_start_time:a,is_smart_image:void 0!==i&&i,main_item_image:(null==o?void 0:o.itemImg)||"",product_detail_info:w(o,u)};A("pushNoUseImage: ",l),u.__WYSWYG_PUSH_ALL_TIME=Date.now()-a,I(l,e,r)},D=function(t,e,r){if(!h)return N(t,e,r);R(t,e,r)},H=function(t,e,r){if(!v){N(t,e,r);return}L(t,e,r)};function j(t){var r,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y,a=Date.now(),u={};(S||g?m?H:p?D:(u.__WYSWYG_PUSH_ERROR_MESSAGE=e.OTHER,N):(u.__WYSWYG_PUSH_ERROR_MESSAGE=e.NOT_IN_LZD_APP,M))((r=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},t),n=n={startTime:a,global:u},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):(function(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r.push.apply(r,n)}return r})(Object(n)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(n,t))}),r),function(){(null==t?void 0:t.imgUrl)&&function(t){if(window.__wpk)try{var e={category:125,msg:"LzdPush借图-".concat(window.location.origin).concat(window.location.pathname),c1:_.default.getDeviceLevel(),c2:t.__WYSWYG_PUSH_VERSION,bl1:t.__WYSWYG_PUSH_ERROR_MESSAGE,bl2:t.__WYSWYG_PUSH_PARAM_MESSAGE};t.__WYSWYG_PUSH_IMAGE_SUCCESS?(e.w_succ=1,e.wl_avgv1=t.__WYSWYG_PUSH_IMAGE_ONLOAD_TIME,e.wl_avgv2=t.__WYSWYG_PUSH_IMAGE_TOBASE64_TIME,e.wl_avgv4=t.__WYSWYG_PUSH_IMAGE_LENGTH):e.w_succ=0,e.wl_avgv3=t.__WYSWYG_PUSH_ALL_TIME,t.__WYSWYG_PUSH_IMAGE_ANIMATION_SUCCESS?e.w_succ1=1:e.w_succ1=0,window.__wpk.report(e)}catch(t){A("[report-mtop-exception]",t,t.message,t.stack)}}(u),i()},o)}var x="_LZD_PUSH_PDP_WYSWYG_CONTAINER",C=function(t){return t.split("/").pop().split(".").shift()||""},V="",k="",z=null,J=!0,F=null===(n=window)||void 0===n?void 0:null===(r=n.WindVane)||void 0===r?void 0:r.call;function q(){V="",k="",z=null}function Z(){window.WindVane.call=F}exports.LzdPush=j,exports.PDP_PUSH_CONTAINER_NAME=x,exports.pdpListener=function(){var t,e,r,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o.isInLzdApp()&&(null===(e=document)||void 0===e?void 0:null===(t=e.body)||void 0===t?void 0:t.closest)&&"function"==typeof(null===(n=document)||void 0===n?void 0:null===(r=n.body)||void 0===r?void 0:r.closest)&&(window.LZD_PUSH_PDP_HAVE_LISTENER||(window.LZD_PUSH_PDP_HAVE_LISTENER=!0,J=!1!==i.isAddImageAtFirst,i.isAtag?document.addEventListener("click",function(t){var e=t.target.closest(".".concat(x));if(e&&"A"===e.tagName&&e.href&&e.href.indexOf("/products/")>=0){var r=e.dataset.product;if(!r)return;var n=null;try{n=JSON.parse(r)}catch(t){return}var i=n.itemImg;if(!i)return;var o=C(new URL(i).pathname),a=e.querySelectorAll("img"),u=!0,l=!1,c=void 0;try{for(var _,s=a[Symbol.iterator]();!(u=(_=s.next()).done);u=!0){var d=_.value,f=d.getAttribute("src");if(-1!==f.indexOf(o)){V=f,z=d,k=n,t.preventDefault();var m=z?{scene:"H5",itemImgDOM:function(){return z}}:"";j({url:e.href||"",imgUrl:V,isAddImageAtFirst:J,productDetail:k,transition:m});break}}}catch(t){l=!0,c=t}finally{try{u||null==s.return||s.return()}finally{if(l)throw c}}}},!1):document.addEventListener("click",function(t){var e=t.target.closest(".".concat(x));if(e){var r=e.dataset.product;if(!r)return;var n=null;try{n=JSON.parse(r)}catch(t){return}var i=n.itemImg;if(!i)return;var o=C(new URL(i).pathname),a=e.querySelectorAll("img"),u=!0,l=!1,c=void 0;try{for(var _,s=a[Symbol.iterator]();!(u=(_=s.next()).done);u=!0){var d=_.value,f=d.getAttribute("src");if(-1!==f.indexOf(o)){V=f,z=d,k=n,function(){var t=this;window.WindVane.call=function(e,r,n,i,o,a){try{var u=(null==n?void 0:n.url)||"",l="LANavigator"===e&&"push"===r,c=l&&u&&u.indexOf("/products/")>=0;if(l){if(Z(),c){var _=z;console.log("push from pdplistener"),j({url:n.url,imgUrl:V,isAddImageAtFirst:J,productDetail:k,transition:_?{scene:"H5",itemImgDOM:function(){return _}}:""}),q();return}q()}return F.apply(t,[e,r,n,i,o,a])}catch(u){return F.apply(t,[e,r,n,i,o,a])}}}();break}}}catch(t){l=!0,c=t}finally{try{u||null==s.return||s.return()}finally{if(l)throw c}}}else q(),Z()},{capture:!0})))};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-lzd-render-v3/index", [], function(require, exports, module) {"use strict";var VisibilityChangeEvent,VisibilityChangeDirection,intersectionObserver,Appear,__rpx_coefficient__,__viewport_width__,EApp,EAppKey,EProPrefix,EPrePrefix,ESubDomain,EAEMainDomain,ELazadaMainDomain,EDarazMainDomain,fsDomReadyNowTime,fspTime,lcpTime,_skeletonCache,_skeletonUrl,_skeletonDisabledInUrl,_autoSkeletonEnabledInUrl,pixelRatio,listScrollOffsetTop,React=require("@ali/pnpm-react@18/index"),ReactDOM=require("@ali/pnpm-react-dom@18/client"),index$1=require("@ali/pnpm-react-dom@18/index"),getEnv=require("@ali/gcom-lzd-env/index"),index$2=require("@ali/gcom-lzd-cookie/index"),index$3=require("@ali/gcom-lzd-data-prefetch/index"),index$4=require("@ali/gcom-lzd-resize/index"),jsxRuntime=require("@ali/pnpm-react@18/jsx-runtime"),device=require("@ali/gcom-lzd-device/index"),SITE_CONFIGS=require("@ali/gcom-lzd-sites/index"),index$5=require("@ali/gcom-lzd-push/index");function _interopDefaultLegacy(R){return R&&"object"==typeof R&&"default"in R?R:{default:R}}function _interopNamespace(R){if(R&&R.__esModule)return R;var T=Object.create(null);return R&&Object.keys(R).forEach(function(O){if("default"!==O){var P=Object.getOwnPropertyDescriptor(R,O);Object.defineProperty(T,O,P.get?P:{enumerable:!0,get:function(){return R[O]}})}}),T.default=R,Object.freeze(T)}var React__namespace=_interopNamespace(React),ReactDOM__namespace=_interopNamespace(ReactDOM),getEnv__default=_interopDefaultLegacy(getEnv),device__default=_interopDefaultLegacy(device),SITE_CONFIGS__default=_interopDefaultLegacy(SITE_CONFIGS);function _class_call_check(R,T){if(!(R instanceof T))throw TypeError("Cannot call a class as a function")}function _defineProperties(R,T){for(var O=0;O<T.length;O++){var P=T[O];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(R,P.key,P)}}function _create_class(R,T,O){return T&&_defineProperties(R.prototype,T),O&&_defineProperties(R,O),R}function _define_property(R,T,O){return T in R?Object.defineProperty(R,T,{value:O,enumerable:!0,configurable:!0,writable:!0}):R[T]=O,R}function _object_spread(R){for(var T=1;T<arguments.length;T++){var O=null!=arguments[T]?arguments[T]:{},P=Object.keys(O);"function"==typeof Object.getOwnPropertySymbols&&(P=P.concat(Object.getOwnPropertySymbols(O).filter(function(R){return Object.getOwnPropertyDescriptor(O,R).enumerable}))),P.forEach(function(T){_define_property(R,T,O[T])})}return R}function ownKeys(R,T){var O=Object.keys(R);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(R);T&&(P=P.filter(function(T){return Object.getOwnPropertyDescriptor(R,T).enumerable})),O.push.apply(O,P)}return O}function _object_spread_props(R,T){return T=null!=T?T:{},Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(T)):ownKeys(Object(T)).forEach(function(O){Object.defineProperty(R,O,Object.getOwnPropertyDescriptor(T,O))}),R}function _object_without_properties_loose(R,T){if(null==R)return{};var O,P,U={},W=Object.getOwnPropertyNames(R);for(P=0;P<W.length;P++)O=W[P],!(T.indexOf(O)>=0)&&Object.prototype.propertyIsEnumerable.call(R,O)&&(U[O]=R[O]);return U}function _object_without_properties(R,T){if(null==R)return{};var O,P,U,W={};if("undefined"!=typeof Reflect&&Reflect.ownKeys){for(U=0,O=Reflect.ownKeys(R);U<O.length;U++)P=O[U],!(T.indexOf(P)>=0)&&Object.prototype.propertyIsEnumerable.call(R,P)&&(W[P]=R[P]);return W}if(W=_object_without_properties_loose(R,T),Object.getOwnPropertySymbols)for(U=0,O=Object.getOwnPropertySymbols(R);U<O.length;U++)P=O[U],!(T.indexOf(P)>=0)&&Object.prototype.propertyIsEnumerable.call(R,P)&&(W[P]=R[P]);return W}function _array_like_to_array(R,T){(null==T||T>R.length)&&(T=R.length);for(var O=0,P=Array(T);O<T;O++)P[O]=R[O];return P}function _array_without_holes(R){if(Array.isArray(R))return _array_like_to_array(R)}function _iterable_to_array(R){if("undefined"!=typeof Symbol&&null!=R[Symbol.iterator]||null!=R["@@iterator"])return Array.from(R)}function _non_iterable_spread(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupported_iterable_to_array(R,T){if(R){if("string"==typeof R)return _array_like_to_array(R,T);var O=Object.prototype.toString.call(R).slice(8,-1);if("Object"===O&&R.constructor&&(O=R.constructor.name),"Map"===O||"Set"===O)return Array.from(O);if("Arguments"===O||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return _array_like_to_array(R,T)}}function _to_consumable_array(R){return _array_without_holes(R)||_iterable_to_array(R)||_unsupported_iterable_to_array(R)||_non_iterable_spread()}function isFunction$1(R){return"function"==typeof R}function IntersectionObserverEntry(R){this.time=R.time,this.target=R.target,this.rootBounds=R.rootBounds,this.boundingClientRect=R.boundingClientRect,this.intersectionRect=R.intersectionRect||getEmptyRect(),this.isIntersecting=!!R.intersectionRect;var T=this.boundingClientRect,O=T.width*T.height,P=this.intersectionRect,U=P.width*P.height;O?this.intersectionRatio=Number((U/O).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}var IntersectionObserver$1=function(){function R(T,O){var P=this;_class_call_check(this,R),this.THROTTLE_TIMEOUT=100,this.POLL_INTERVAL=null,this.USE_MUTATION_OBSERVER=!0,this._checkForIntersections=function(){var R=P._rootIsInDom(),T=R?P._getRootRect():getEmptyRect();P._observationTargets.forEach(function(O){var P=O.element,U=getBoundingClientRect(P),W=this._rootContainsTarget(P),V=O.entry,Y=R&&W&&this._computeTargetAndRootIntersection(P,T),$=O.entry=new IntersectionObserverEntry({time:now(),target:P,boundingClientRect:U,rootBounds:T,intersectionRect:Y});V?R&&W?this._hasCrossedThreshold(V,$)&&this._queuedEntries.push($):V&&V.isIntersecting&&this._queuedEntries.push($):this._queuedEntries.push($)},P),P._queuedEntries.length&&P._callback(P.takeRecords(),P)};var U=O||{};if("function"!=typeof T)throw Error("callback must be a function");if(U.root&&1!=U.root.nodeType)throw Error("root must be an Element");this._checkForIntersections=throttle$1(this._checkForIntersections,this.THROTTLE_TIMEOUT),this._callback=T,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(U.rootMargin),this.thresholds=this._initThresholds(U.threshold),this.root=U.root||null,this.rootMargin=this._rootMarginValues.map(function(R){return R.value+R.unit}).join(" ")}return _create_class(R,[{key:"observe",value:function(R){if(!this._observationTargets.some(function(T){return T.element===R})){if(!(R&&1==R.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:R,entry:null}),this._monitorIntersections(),this._checkForIntersections()}}},{key:"unobserve",value:function(R){this._observationTargets=this._observationTargets.filter(function(T){return T.element!==R}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())}},{key:"disconnect",value:function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()}},{key:"takeRecords",value:function(){var R=this._queuedEntries.slice();return this._queuedEntries=[],R}},{key:"_initThresholds",value:function(R){var T=R||[0];return Array.isArray(T)||(T=[T]),T.sort().filter(function(R,T,O){if("number"!=typeof R||Number.isNaN(R)||R<0||R>1)throw Error("threshold must be a number between 0 and 1 inclusively");return R!==O[T-1]})}},{key:"_parseRootMargin",value:function(R){var T=(R||"0px").split(/\s+/).map(function(R){var T=/^(-?\d*\.?\d+)(px|%)$/.exec(R);if(!T)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(T[1]),unit:T[2]}});return T[1]=T[1]||T[0],T[2]=T[2]||T[0],T[3]=T[3]||T[1],T}},{key:"_monitorIntersections",value:function(){!this._monitoringIntersections&&(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(addEvent(window,"resize",this._checkForIntersections,!0),addEvent(document,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))}},{key:"_unmonitorIntersections",value:function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,removeEvent(window,"resize",this._checkForIntersections,!0),removeEvent(document,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))}},{key:"_computeTargetAndRootIntersection",value:function(R,T){if("none"!=window.getComputedStyle(R).display){for(var O=getBoundingClientRect(R),P=O,U=getParentNode(R),W=!1;!W;){var V=null,Y=1==U.nodeType?window.getComputedStyle(U):{};if("none"===Y.display)return;if(U===this.root||U===document?(W=!0,V=T):U!==document.body&&U!==document.documentElement&&"visible"!==Y.overflow&&(V=getBoundingClientRect(U)),V&&!(P=computeRectIntersection(V,P)))break;U=getParentNode(U)}return P}}},{key:"_getRootRect",value:function(){var R;if(this.root)R=getBoundingClientRect(this.root);else{var T=document.documentElement,O=document.body;R={top:0,left:0,right:T.clientWidth||O.clientWidth,width:T.clientWidth||O.clientWidth,bottom:T.clientHeight||O.clientHeight,height:T.clientHeight||O.clientHeight}}return this._expandRectByRootMargin(R)}},{key:"_expandRectByRootMargin",value:function(R){var T=this._rootMarginValues.map(function(T,O){return"px"===T.unit?T.value:T.value*(O%2?R.width:R.height)/100}),O={top:R.top-T[0],right:R.right+T[1],bottom:R.bottom+T[2],left:R.left-T[3]};return O.width=O.right-O.left,O.height=O.bottom-O.top,O}},{key:"_hasCrossedThreshold",value:function(R,T){var O=R&&R.isIntersecting?R.intersectionRatio||0:-1,P=T.isIntersecting?T.intersectionRatio||0:-1;if(O!==P)for(var U=0;U<this.thresholds.length;U++){var W=this.thresholds[U];if(W==O||W==P||W<O!=W<P)return!0}}},{key:"_rootIsInDom",value:function(){return!this.root||containsDeep(document,this.root)}},{key:"_rootContainsTarget",value:function(R){return containsDeep(this.root||document,R)}},{key:"_registerInstance",value:function(){}},{key:"_unregisterInstance",value:function(){}}]),R}();function now(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()}function throttle$1(R,T){var O=null;return function(){O||(O=setTimeout(function(){R(),O=null},T))}}function addEvent(R,T,O,P){"function"==typeof R.addEventListener?R.addEventListener(T,O,P||!1):"function"==typeof R.attachEvent&&R.attachEvent("on".concat(T),O)}function removeEvent(R,T,O,P){"function"==typeof R.removeEventListener?R.removeEventListener(T,O,P||!1):"function"==typeof R.detatchEvent&&R.detatchEvent("on".concat(T),O)}function computeRectIntersection(R,T){var O=Math.max(R.top,T.top),P=Math.min(R.bottom,T.bottom),U=Math.max(R.left,T.left),W=Math.min(R.right,T.right),V=W-U,Y=P-O;return V>=0&&Y>=0&&{top:O,bottom:P,left:U,right:W,width:V,height:Y}}function getBoundingClientRect(R){var T;try{T=R.getBoundingClientRect()}catch(R){}return T?(T.width&&T.height||(T={top:T.top,right:T.right,bottom:T.bottom,left:T.left,width:T.right-T.left,height:T.bottom-T.top}),T):getEmptyRect()}function getEmptyRect(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function containsDeep(R,T){for(var O=T;O;){if(O===R)return!0;O=getParentNode(O)}return!1}function getParentNode(R){var T=R.parentNode;return T&&11==T.nodeType&&T.host?T.host:T&&T.assignedSlot?T.assignedSlot.parentNode:T}!function(R){R.appear="appear",R.disappear="disappear"}(VisibilityChangeEvent||(VisibilityChangeEvent={})),function(R){R.up="up",R.down="down"}(VisibilityChangeDirection||(VisibilityChangeDirection={}));var IntersectionObserver=function(){return"undefined"!=typeof window&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?window.IntersectionObserver:IntersectionObserver$1}();function generateThreshold(R){for(var T=[],O=0;O<R;O++)T.push(O/R);return T}var defaultOptions$1={root:null,rootMargin:"0px",threshold:generateThreshold(10)};function createIntersectionObserver(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:defaultOptions$1;intersectionObserver=new IntersectionObserver(handleIntersect,R)}function observerElement(R){intersectionObserver||createIntersectionObserver(),R===document&&(R=document.documentElement),intersectionObserver.observe(R)}function handleIntersect(R){R.forEach(function(R){var T=R.target,O=R.boundingClientRect,P=R.intersectionRatio,U=O.y||O.top,W=parseInt(T.getAttribute("data-before-current-y"),10)||U;!(P>.01)||isTrue(T.getAttribute("data-appeared"))||appearOnce(T,VisibilityChangeEvent.appear)?0===P&&isTrue(T.getAttribute("data-appeared"))&&!appearOnce(T,VisibilityChangeEvent.disappear)&&(T.setAttribute("data-appeared","false"),T.setAttribute("data-has-disappeared","true"),T.dispatchEvent(createEvent(VisibilityChangeEvent.disappear,{direction:U>W?VisibilityChangeDirection.up:VisibilityChangeDirection.down}))):(T.setAttribute("data-appeared","true"),T.setAttribute("data-has-appeared","true"),T.dispatchEvent(createEvent(VisibilityChangeEvent.appear,{direction:U>W?VisibilityChangeDirection.up:VisibilityChangeDirection.down}))),T.setAttribute("data-before-current-y",String(U))})}function appearOnce(R,T){var O=isTrue(R.getAttribute("isonce"))||isTrue(R.getAttribute("data-once")),P=T===VisibilityChangeEvent.appear?"data-has-appeared":"data-has-disappeared";return O&&isTrue(R.getAttribute(P))}function isTrue(R){return R&&"false"!==R}function createEvent(R,T){return new CustomEvent(R,{bubbles:!1,cancelable:!0,detail:T})}function VisibilityChange$1(R){var T=R.onAppear,O=R.onDisappear,P=R.children,U=React.useRef(),W=P.ref&&"object"==typeof P.ref?P.ref:U;React.useEffect(function(){"function"==typeof P.ref&&P.ref(W.current)},[W,P]);var V=React.useCallback(function(R,T){var O=W.current;if(O&&isFunction$1(T)){var P=O._nativeNode||O;observerElement(P),P.addEventListener(R,T)}return function(){var O=W.current;O&&(O._nativeNode||O).removeEventListener(R,T)}},[W]);return React.useEffect(function(){return V(VisibilityChangeEvent.appear,T)},[W,T,V]),React.useEffect(function(){return V(VisibilityChangeEvent.disappear,O)},[W,O,V]),React.Children.only(_object_spread_props(_object_spread({},P),{ref:W}))}var WeexAppear=React.forwardRef(function(R,T){var O=React.useRef(null),P=null!=T?T:O,U=R.children,W=R.onAppear,V=R.onDisappear;return React.useEffect(function(){var R="object"==typeof P?P.current:null,T=function(R){null==W||W(R)};return W&&(null==R||R.addEventListener("appear",T)),function(){W&&(null==R||R.removeEventListener("appear",T))}},[P,W]),React.useEffect(function(){var R="object"==typeof P?P.current:null,T=function(R){null==V||V(R)};return V&&(null==R||R.addEventListener("disappear",T)),function(){V&&(null==R||R.removeEventListener("disappear",T))}},[P,V]),React.cloneElement(React.Children.only(U),{ref:P})});Appear=VisibilityChange$1;var VisibilityChange=Appear,events=["abort","auxClick","animationEnd","animationIteration","animationStart","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","dblclick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","transitionEnd","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel","mouseEnter","mouseLeave","pointerEnter","pointerLeave","change","select","beforeInput","compositionEnd","compositionStart","compositionUpdate"],registrationNameToReactEvent=new Map;function registerDirectEvent(R,T){registrationNameToReactEvent.set("on".concat(R),T)}function registerEvents(){for(var R=0;R<events.length;R++){var T=events[R],O=T.toLowerCase(),P=T[0].toUpperCase()+T.slice(1);registerDirectEvent(O,"on".concat(P))}registerDirectEvent("dblclick","onDoubleClick")}registerEvents();var possibleStandardNames=["className","innerHTML","autoFocus","inputMode","crossOrigin","autoPlay","autoComplete","defaultChecked","defaultValue","htmlFor","maxLength","minLength","readOnly","playsInline","marginWidth","marginHeight","charSet"].reduce(function(R,T){return R[T.toLowerCase()]=T,R},{class:"className",for:"htmlFor"}),possibleStandardNames$1=possibleStandardNames;function isEventLikeProp(R){return 0===R.indexOf("on")}function transformProps(R){var T={};return Object.keys(R).forEach(function(O){var P=O,U=R[O],W=O.toLowerCase();if(isEventLikeProp(W)){if(registrationNameToReactEvent.has(W)){var V=registrationNameToReactEvent.get(W);V!==O&&(P=V)}}else possibleStandardNames$1.hasOwnProperty(W)&&(P=possibleStandardNames$1[W]);T[P]=U}),T}function _type_of(R){return R&&"undefined"!=typeof Symbol&&R.constructor===Symbol?"symbol":typeof R}function getAugmentedNamespace(R){if(R.__esModule)return R;var T=R.default;if("function"==typeof T){var O=function R(){return this instanceof R?Reflect.construct(T,arguments,this.constructor):T.apply(this,arguments)};O.prototype=T.prototype}else O={};return Object.defineProperty(O,"__esModule",{value:!0}),Object.keys(R).forEach(function(T){var P=Object.getOwnPropertyDescriptor(R,T);Object.defineProperty(O,T,P.get?P:{enumerable:!0,get:function(){return R[T]}})}),O}var lib={},isWeb="undefined"!=typeof window&&"onload"in window,isNode="undefined"!=typeof process&&!!(process.versions&&process.versions.node),isWeex="undefined"!=typeof WXEnvironment&&"Web"!==WXEnvironment.platform,isKraken="undefined"!=typeof __kraken__,isMiniApp="undefined"!=typeof my&&null!==my&&void 0!==my.alert,isByteDanceMicroApp="undefined"!=typeof tt&&null!==tt&&void 0!==tt.showToast,isBaiduSmartProgram="undefined"!=typeof swan&&null!==swan&&void 0!==swan.showToast,isKuaiShouMiniProgram="undefined"!=typeof ks&&null!==ks&&void 0!==ks.showToast,isWeChatMiniProgram=!isByteDanceMicroApp&&"undefined"!=typeof wx&&null!==wx&&(void 0!==wx.request||void 0!==wx.miniProgram),isQuickApp="undefined"!=typeof global&&null!==global&&void 0!==global.callNative&&!isWeex,isPHA=isWeb&&"object"==typeof pha,isFRM=isMiniApp&&isWeb&&my.isFRM,ua="object"==typeof navigator?navigator.userAgent||navigator.swuserAgent:"",isWindVane=/.+AliApp\((\w+)\/((?:\d+\.)+\d+)\).* .*(WindVane)(?:\/((?:\d+\.)+\d+))?.*/.test(ua)&&isWeb&&"undefined"!=typeof WindVane&&void 0!==WindVane.call,index={isWeb:isWeb,isNode:isNode,isWeex:isWeex,isKraken:isKraken,isMiniApp:isMiniApp,isByteDanceMicroApp:isByteDanceMicroApp,isBaiduSmartProgram:isBaiduSmartProgram,isKuaiShouMiniProgram:isKuaiShouMiniProgram,isWeChatMiniProgram:isWeChatMiniProgram,isQuickApp:isQuickApp,isPHA:isPHA,isWindVane:isWindVane,isFRM:isFRM},es=Object.freeze({__proto__:null,isWeb:isWeb,isNode:isNode,isWeex:isWeex,isKraken:isKraken,isMiniApp:isMiniApp,isByteDanceMicroApp:isByteDanceMicroApp,isBaiduSmartProgram:isBaiduSmartProgram,isKuaiShouMiniProgram:isKuaiShouMiniProgram,isWeChatMiniProgram:isWeChatMiniProgram,isQuickApp:isQuickApp,isPHA:isPHA,isFRM:isFRM,isWindVane:isWindVane,default:index}),require$$0=getAugmentedNamespace(es);!function(R){R.__esModule=!0;var T=require$$0;Object.keys(T).forEach(function(O){"default"!==O&&"__esModule"!==O&&(O in R&&R[O]===T[O]||(R[O]=T[O]))})}(lib);var RPX_REG=/"[^"]+"|'[^']+'|url\([^\)]+\)|(\d*\.?\d+)rpx/g,targetPlatform=lib.isWeb?"web":lib.isWeex?"weex":lib.isNode?"node":"",unitPrecision=4,toFixed=function(R,T){var O=Math.pow(10,T+1);return 10*Math.round(Math.floor(R*O)/10)/O},decimalPixelTransformer=function(R,T){return T?parseFloat(R)*getRpx()+"px":R},decimalVWTransformer=function(R,T){return T?toFixed(parseFloat(R)/(getViewportWidth()/100),unitPrecision)+"vw":R};void 0===getRpx()&&setRpx(1),void 0===getViewportWidth()&&setViewportWidth(750);var CustomMap=function(){function R(){this.__store={}}var T=R.prototype;return T.set=function(R,T){this.__store[R+"_"+(void 0===R?"undefined":_type_of(R))]=T},T.get=function(R){return this.__store[R+"_"+(void 0===R?"undefined":_type_of(R))]},T.has=function(R){return Object.prototype.hasOwnProperty.call(this.__store,R+"_"+(void 0===R?"undefined":_type_of(R)))},R}();function isRpx(R){return"string"==typeof R&&RPX_REG.test(R)}function calcRpx(R){return"web"===targetPlatform||"node"===targetPlatform?R.replace(RPX_REG,decimalVWTransformer):"weex"===targetPlatform?R.replace(RPX_REG,decimalPixelTransformer):R}function getRpx(){return __rpx_coefficient__}function setRpx(R){__rpx_coefficient__=R}function getViewportWidth(){return __viewport_width__}function setViewportWidth(R){__viewport_width__=R}function cached(R){var T=new CustomMap;return function(){var O=arguments.length<=0?void 0:arguments[0];return T.has(O)||T.set(O,R.apply(void 0,arguments)),T.get(O)}}function setTargetPlatform(R){targetPlatform=R}var convertUnit=cached(function(R,T,O){return O&&setTargetPlatform(O),isRpx(R)?calcRpx(R):R});function isFunction(R){return"function"==typeof R}function isObject$1(R){return"object"==typeof R}function isNumber(R){return"number"==typeof R}function isString(R){return"string"==typeof R}var NON_DIMENSIONAL_REG=/opa|ntw|ne[ch]|ex(?:s|g|n|p|$)|^ord|zoo|grid|orp|ows|mnc|^columns$|bs|erim|onit/i,isDimensionalProp=cached(function(R){return!NON_DIMENSIONAL_REG.test(R)});function compatStyle(R){if(isObject$1(R)){var T=Object.create(Object.prototype);for(var O in R){var P=R[O];isNumber(P)&&isDimensionalProp(O)?T[O]=convertUnit("".concat(P,"rpx")):isString(P)?T[O]=convertUnit(P):T[O]=P}return T}return R}function _array_with_holes(R){if(Array.isArray(R))return R}function _iterable_to_array_limit(R,T){var O,P,U=null==R?null:"undefined"!=typeof Symbol&&R[Symbol.iterator]||R["@@iterator"];if(null!=U){var W=[],V=!0,Y=!1;try{for(U=U.call(R);!(V=(O=U.next()).done)&&(W.push(O.value),!T||W.length!==T);V=!0);}catch(R){Y=!0,P=R}finally{try{V||null==U.return||U.return()}finally{if(Y)throw P}}return W}}function _non_iterable_rest(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _sliced_to_array(R,T){return _array_with_holes(R)||_iterable_to_array_limit(R,T)||_unsupported_iterable_to_array(R,T)||_non_iterable_rest()}var InputCompat=React.forwardRef(function(R,T){var O=R.value,P=R.onInput,U=R.onChange,W=R.inputType,V=_object_without_properties(R,["value","onInput","onChange","inputType"]),Y=_sliced_to_array(React.useState(O),2),$=Y[0],X=Y[1],Q=React.useCallback(function(R){X(R.target.value),P&&P(R.nativeEvent)},[P]),Z=React.useRef(),ee=T||Z;return React.useEffect(function(){X(O)},[O]),React.useEffect(function(){var R,T=function(R){setTimeout(function(){null==U||U(R),null==P||P(R),X(R.target.value)},0)};return ee&&ee.current&&((R=ee.current).addEventListener("change",T),R.addEventListener("input",T)),function(){null==R||R.removeEventListener("change",T),null==R||R.removeEventListener("input",T)}},[U,P,ee]),React.createElement(W,_object_spread_props(_object_spread({},V),{value:null!=$?$:"",onChange:Q,ref:ee}))});function createJSXElementFactory(R){return function(T,O){for(var P=arguments.length,U=Array(P>2?P-2:0),W=2;W<P;W++)U[W-2]=arguments[W];var V=Object.assign({},O),Y=V.onAppear,$=V.onDisappear,X="string"==typeof T;return(X&&(V=transformProps(V),delete V.onAppear,delete V.onDisappear),V.style&&(V.style=compatStyle(V.style)),("input"===T||"textarea"===T)&&(V.inputType=T,T=InputCompat),X&&(isFunction(Y)||isFunction($)))?React.createElement(VisibilityChange,{onAppear:Y,onDisappear:$},R.apply(void 0,[T,V].concat(_to_consumable_array(U)))):R.apply(void 0,[T,V].concat(_to_consumable_array(U)))}}var jsx$1=createJSXElementFactory(function(R,T){for(var O=arguments.length,P=Array(O>2?O-2:0),U=2;U<O;U++)P[U-2]=arguments[U];return React.createElement.apply(void 0,[R,T].concat(_to_consumable_array(P)))}),normalizeStyleProp=function(R){return R.flat().reduce(function(R,T){return _object_spread({},R,T)},{})};function createElement$1(R,T){for(var O=arguments.length,P=Array(O>2?O-2:0),U=2;U<O;U++)P[U-2]=arguments[U];if(Array.isArray(null==T?void 0:T.style)){var W=normalizeStyleProp(T.style);return jsx$1.apply(void 0,[R,_object_spread_props(_object_spread({},T),{style:W})].concat(_to_consumable_array(P)))}return jsx$1.apply(void 0,[R,T].concat(_to_consumable_array(P)))}var containerRootMap=new WeakMap;function render(R,T,O,P){isFunction(O)&&(P=O,O={}),T||(T=document.body);var U=ReactDOM.createRoot(T,O);return U.render(R),containerRootMap.set(T,U),isFunction(P)&&P.call(R),R}function is(R,T){return R===T?0!==R||1/R==1/T:R!=R&&T!=T}function useState(R){var T=function(R){isFunction(R)&&(R=R(O.current)),is(R,O.current)||P[1](R),O.current=R},O=React.useRef(null);isFunction(R)&&(R=R());var P=React.useState(R);return O.current=P[0],[P[0],T,O.current]}function useContext(R){return React.useContext(R)}function useEffect(R,T){return React.useEffect(R,T)}function useLayoutEffect(R,T){return React.useLayoutEffect(R,T)}function useImperativeHandle(R,T,O){return React.useImperativeHandle(R,T,O)}function useRef(R){return React.useRef(R)}function useCallback(R,T){return React.useCallback(R,T)}function useMemo(R,T){return React.useMemo(R,T)}function useReducer(R,T,O){return React.useReducer(R,T,O)}function forwardRef(R){if(R.defaultProps){var T=R.defaultProps;delete R.defaultProps;var O=React.forwardRef(R);return O.defaultProps=T,O}return React.forwardRef(R)}var INSTANCE_KEY="_r",REACT_ELEMENT_TYPE=Symbol.for("react.element"),shared$1={Element:function(R,T,O,P,U){return{$$typeof:REACT_ELEMENT_TYPE,type:R,key:T,ref:O,props:P,_owner:U}},Host:{get owner(){return React__namespace.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current}},Instance:{get:function(R){return Object.assign({},R[INSTANCE_KEY],{_internal:{unmountComponent:function(){var T;return null===(T=R.parentNode)||void 0===T||T.removeChild(R),index$1.unmountComponentAtNode(R)}}})},remove:function(R){R[INSTANCE_KEY]=null},set:function(R,T){R[INSTANCE_KEY]||(R[INSTANCE_KEY]=T)}},flattenChildren:flattenChildren};function flattenChildren(R){if(null==R)return R;var T=[];return traverseChildren(R,T),T.length-1?T:T[0]}function traverseChildren(R,T){if(Array.isArray(R))for(var O=0,P=R.length;O<P;O++)traverseChildren(R[O],T);else T.push(R)}var shared$2=shared$1,version="1.2.2-compat",Rax=Object.freeze({__proto__:null,Component:React.Component,Fragment:React.Fragment,PureComponent:React.PureComponent,createContext:React.createContext,createElement:createElement$1,createRef:React.createRef,forwardRef:forwardRef,memo:React.memo,render:render,shared:shared$2,useCallback:useCallback,useContext:useContext,useEffect:useEffect,useImperativeHandle:useImperativeHandle,useLayoutEffect:useLayoutEffect,useMemo:useMemo,useReducer:useReducer,useRef:useRef,useState:useState,version:version}),rax$1=Object.freeze({__proto__:null,default:Rax,Component:React.Component,Fragment:React.Fragment,PureComponent:React.PureComponent,createContext:React.createContext,createElement:createElement$1,createRef:React.createRef,forwardRef:forwardRef,memo:React.memo,render:render,shared:shared$2,useCallback:useCallback,useContext:useContext,useEffect:useEffect,useImperativeHandle:useImperativeHandle,useLayoutEffect:useLayoutEffect,useMemo:useMemo,useReducer:useReducer,useRef:useRef,useState:useState,version:version}),_propTypes_15_8_1_propTypes={exports:{}},ReactPropTypesSecret$1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ReactPropTypesSecret_1=ReactPropTypesSecret$1,ReactPropTypesSecret=ReactPropTypesSecret_1;function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function R(R,T,O,P,U,W){if(W!==ReactPropTypesSecret){var V=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw V.name="Invariant Violation",V}}function T(){return R}R.isRequired=R;var O={array:R,bigint:R,bool:R,func:R,number:R,object:R,string:R,symbol:R,any:R,arrayOf:T,element:R,elementType:R,instanceOf:T,node:R,objectOf:T,oneOf:T,oneOfType:T,shape:T,exact:T,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return O.PropTypes=O,O};_propTypes_15_8_1_propTypes.exports=factoryWithThrowingShims();var _propTypes_15_8_1_propTypesExports=_propTypes_15_8_1_propTypes.exports,_createElement=createElement$1,_shared=shared$2,restRax=_object_without_properties(rax$1,["createElement","shared"]);function createElement(R,T){for(var O=arguments.length,P=Array(O>2?O-2:0),U=2;U<O;U++)P[U-2]=arguments[U];if((null===(W=T)||void 0===W?void 0:W.style)!==void 0&&"object"!=typeof T.style&&(console.warn("[rax-compat-warning] In component ".concat(R,", style should be an object, instead of"),T.style),T.style=void 0),Array.isArray(null===(V=T)||void 0===V?void 0:V.style)&&(T.style=(er=Object).assign.apply(er,[{}].concat(_to_consumable_array(T.style)))),"number"==typeof(null===($=T)||void 0===$?void 0:null===(Y=$.style)||void 0===Y?void 0:Y.lineHeight)&&T.style.lineHeight>=3&&(T.style.lineHeight="".concat(T.style.lineHeight,"rpx")),(null===(X=T)||void 0===X?void 0:X.appContext)&&(null===(Z=R)||void 0===Z?void 0:null===(Q=Z.prototype)||void 0===Q?void 0:Q.getChildContext)&&!(null===(ee=R)||void 0===ee?void 0:ee.childContextTypes)){var W,V,Y,$,X,Q,Z,ee,en,er,eo,ei=Object.keys(null===(eo=T)||void 0===eo?void 0:eo.appContext)||[],ea={};ei.forEach(function(R){ea[R]=_propTypes_15_8_1_propTypesExports.any}),R.childContextTypes=ea}return(null===(en=T)||void 0===en?void 0:en.ref)==="spm-link"&&delete T.ref,_createElement.apply(void 0,[R,T].concat(_to_consumable_array(P)))}var _Host=_shared.Host,_Element=_shared.Element,restShared=_object_without_properties(_shared,["Host","Element"]),shared=_object_spread_props(_object_spread({},restShared),{Host:_object_spread_props(_object_spread({},_Host),{get driver(){return{}}})});shared.Element=function(){for(var R=arguments.length,T=Array(R),O=0;O<R;O++)T[O]=arguments[O];return _Element.apply(void 0,_to_consumable_array(T))};var rax=_object_spread_props(_object_spread({},restRax),{createElement:createElement,shared:shared});function _assert_this_initialized(R){if(void 0===R)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function _set_prototype_of(R,T){return(_set_prototype_of=Object.setPrototypeOf||function(R,T){return R.__proto__=T,R})(R,T)}function _inherits(R,T){if("function"!=typeof T&&null!==T)throw TypeError("Super expression must either be null or a function");R.prototype=Object.create(T&&T.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),T&&_set_prototype_of(R,T)}function _get_prototype_of(R){return(_get_prototype_of=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)})(R)}function _is_native_reflect_construct(){try{var R=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(R){}return(_is_native_reflect_construct=function(){return!!R})()}function _possible_constructor_return(R,T){return T&&("object"===_type_of(T)||"function"==typeof T)?T:_assert_this_initialized(R)}function _create_super(R){var T=_is_native_reflect_construct();return function(){var O,P=_get_prototype_of(R);if(T){var U=_get_prototype_of(this).constructor;O=Reflect.construct(P,arguments,U)}else O=P.apply(this,arguments);return _possible_constructor_return(this,O)}}var AUTOBIND_BLACKLIST={render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1};function collateMixins(R){for(var T={},O=0;O<R.length;O++){var P=R[O];for(var U in P.mixins&&applyMixins(P,collateMixins(P.mixins)),P)P.hasOwnProperty(U)&&"mixins"!==U&&(T[U]||(T[U]=[])).push(P[U])}return T}function flattenHooks(R,T){var O=_type_of(T[0]);return T[0]&&"object"===O?(T.unshift({}),Object.assign.apply(null,T)):"function"===O&&("getInitialState"===R||"getDefaultProps"===R||"getChildContext"===R)?function(){for(var R,O=0;O<T.length;O++){var P=T[O].apply(this,arguments);P&&(R||(R={}),Object.assign(R,P))}return R}:T[0]}function applyMixins(R,T){for(var O in T)T.hasOwnProperty(O)&&(R[O]=flattenHooks(O,T[O].concat(R[O]||[])))}function createReactClass(R){var T=function(T){_inherits(P,T);var O=_create_super(P);function P(T,U){for(var W in _class_call_check(this,P),_assert_this_initialized(V=O.call(this,T,U))){var V,Y=V[W];"function"!=typeof Y||AUTOBIND_BLACKLIST[W]||(V[W]=Y.bind(_assert_this_initialized(V)))}return R.getInitialState&&(V.state=R.getInitialState.call(_assert_this_initialized(V))),V}return P}(React.Component);R.mixins&&applyMixins(R,collateMixins(R.mixins)),R.propTypes,R.contextTypes;var O=_object_without_properties(R,["propTypes","contextTypes"]);return Object.assign(T.prototype,O),R.statics&&Object.assign(T,R.statics),R.propTypes&&(T.propTypes=R.propTypes),R.getDefaultProps&&(T.defaultProps=R.getDefaultProps()),R.contextTypes&&(T.contextTypes=R.contextTypes),R.childContextTypes&&(T.childContextTypes=R.childContextTypes),R.displayName&&(T.displayName=R.displayName),T}function unmountComponentAtNode(R){var T=containerRootMap.get(R);T&&(T.unmount(),containerRootMap.delete(R))}var raxCompatSubPkgMap={"@ali/rax-pkg-rax/index":rax,"@ali/rax-pkg-rax-children/index":React.Children,"@ali/rax-pkg-rax-clone-element/index":React.cloneElement,"@ali/rax-pkg-rax-create-class/index":createReactClass,"@ali/rax-pkg-rax-create-factory/index":React.createFactory,"@ali/rax-pkg-rax-create-portal/index":index$1.createPortal,"@ali/rax-pkg-rax-find-dom-node/index":index$1.findDOMNode,"@ali/rax-pkg-rax-is-valid-element/index":React.isValidElement,"@ali/rax-pkg-rax-unmount-component-at-node/index":unmountComponentAtNode},replaceRaxDepCsr=function(){var R=function(R){window.define(R,[],function(T,O,P){P.exports=raxCompatSubPkgMap[R]})};for(var T in raxCompatSubPkgMap)R(T)},utilsEnv=null,utils={getEnv:function(){if(utilsEnv)return utilsEnv;var R={isIOS:!1,isMobile:!0,isAndroid:!1,isInAliApp:!1,isInLazAPP:!1,appName:"",appVersion:""},T=navigator.userAgent.toLowerCase();R.isMobile=/Android|webOS|iPhone|iPad|BlackBerry/i.test(navigator.userAgent),R.isIOS=/ios|iPhone/i.test(T),R.isAndroid=/android/i.test(T),R.isInAliApp=/AliApp/i.test(T);var O=T.match(/AliApp\(([a-z-A-Z]{1,20})\/(\d+(\.\d+){0,6})?\)/i);return R.isInAliApp&&O&&O.length>=3&&(R.appName=O[1],R.appVersion=O[2]),R.isInLazAPP=R.isInAliApp&&/(la)|(dz)/i.test(R.appName),utilsEnv=R,R},getUrlParam:function(R,T,O){var P=new RegExp("(^|&)".concat(R,"=([^&]*)(&|$)")),U=T.substr(1).match(P);return null!=U?O?U[2]:decodeURIComponent(U[2]):null},getUrlParamLast:function(R,T,O){var P=T.split("#").shift()||"",U={};return(P.replace(/([^?&=]+)=([^&]+)/g,function(R,T,O){return U[T]=O}),U[R])?O?U[R]:decodeURIComponent(U[R]):null},log:function(){for(var R,T=arguments.length,O=Array(T),P=0;P<T;P++)O[P]=arguments[P];(R=logger$1).log.apply(R,_to_consumable_array(O))},setPageName:function(){var R,T=navigator.userAgent.toLowerCase();/AliApp/i.test(T)&&(/la-android/i.test(T)||/(la)|(dz)/i.test(T)),/wh_pid/i.test(location.search)&&(R=this.getUrlParam("wh_pid",location.search)),window.g_config.jstracker2&&(window.g_config.jstracker2.collection_url=location.hostname+location.pathname+R)},getTimeOrigin:function(){return window.performance.now?Date.now()-window.performance.now():window.performance.timeOrigin},sleep:function(R){return new Promise(function(T){setTimeout(T,R)})},escapeHtml:function(R){return R&&"string"==typeof R?R=(R=(R=(R=R.replace(/>/g,"&gt;")).replace(/</g,"&lt;")).replace(/"/g,"&quot;")).replace(/'/g,"&#39;"):R},compareVersion:function(R,T){if(!R||!T)return!1;for(var O=R.split("."),P=T.split("."),U=0;U<3;U++){if(parseInt(O[U])<parseInt(P[U]))return!1;if(parseInt(O[U])>parseInt(P[U]))break}return!0}},TYPE_INFO="info",TYPE_WARNING="warning",TYPE_ERROR="error";function msgGen(R,T,O){if(window&&window.WindVane&&window.WindVane.isAvailable&&window.WindVane.call){"object"==typeof T&&(T=JSON.stringify(T));var P="[campaign_log][".concat(O,"]: ").concat(T);try{window.WindVane.call("LALog",R,{message:P},function(){},function(R){console.warn("[call LALog error]",R)})}catch(R){console.warn("[call LALog error]",R&&R.name)}}}var LALog=function(){function R(){_class_call_check(this,R),_define_property(this,"isOpen",void 0),this.refresh()}return _create_class(R,[{key:"refresh",value:function(){var R=utils.getUrlParam("lalog",window.location.search,!0);this.isOpen="1"===R}},{key:"info",value:function(R,T){if(this.isOpen)return msgGen(TYPE_INFO,T,R)}},{key:"warning",value:function(R,T){if(this.isOpen)return msgGen(TYPE_WARNING,T,R)}},{key:"error",value:function(R,T){if(this.isOpen)return msgGen(TYPE_ERROR,T,R)}}]),R}(),LogIns=new LALog;window&&(window.__LALog=LogIns);var LALog$1=LogIns,Logger=function(){function R(){_class_call_check(this,R),_define_property(this,"isInDebugMode",void 0),_define_property(this,"isInSsrDebugMode",void 0),this.isInDebugMode=window.location.href.includes("debug=true")||window.location.href.includes("wh_query=devtool"),this.isInSsrDebugMode=window.location.href.includes("ssr_debug=true")}return _create_class(R,[{key:"log",value:function(){for(var R,T=arguments.length,O=Array(T),P=0;P<T;P++)O[P]=arguments[P];this.isInDebugMode&&((R=console).log.apply(R,_to_consumable_array(O)),LALog$1.info("logger",this.normalizeInfo(O)))}},{key:"logWithTime",value:function(){for(var R=arguments.length,T=Array(R),O=0;O<R;O++)T[O]=arguments[O];var P=window.performance?window.performance.now()-(window.prehotShowUpTime||0):Date.now();this.log.apply(this,_to_consumable_array(T).concat(["time:".concat(P)]))}},{key:"time",value:function(){for(var R,T=arguments.length,O=Array(T),P=0;P<T;P++)O[P]=arguments[P];this.isInDebugMode&&(R=console).time.apply(R,_to_consumable_array(O))}},{key:"timeEnd",value:function(){for(var R,T=arguments.length,O=Array(T),P=0;P<T;P++)O[P]=arguments[P];this.isInDebugMode&&(R=console).timeEnd.apply(R,_to_consumable_array(O))}},{key:"ssrLog",value:function(){for(var R=arguments.length,T=Array(R),O=0;O<R;O++)T[O]=arguments[O];try{if(this.isInSsrDebugMode){var P,U=JSON.parse(JSON.stringify(T));(P=console).log.apply(P,_to_consumable_array(U))}}catch(R){console.error(R)}}},{key:"error",value:function(){for(var R=arguments.length,T=Array(R),O=0;O<R;O++)T[O]=arguments[O];console.error(this.normalizeInfo(T)),LALog$1.error("logger",this.normalizeInfo(T))}},{key:"warn",value:function(){for(var R=arguments.length,T=Array(R),O=0;O<R;O++)T[O]=arguments[O];console.error(this.normalizeInfo(T)),LALog$1.warning("logger",this.normalizeInfo(T))}},{key:"notice",value:function(){for(var R=arguments.length,T=Array(R),O=0;O<R;O++)T[O]=arguments[O];LALog$1.warning("logger",this.normalizeInfo(T))}},{key:"normalizeInfo",value:function(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return R.map(function(R){return R instanceof Error?"msg: ".concat(R.message,", stack: ").concat(R.stack):R}).join(", ")}}]),R}(),logger=new Logger,logger$1=logger;function asyncGeneratorStep(R,T,O,P,U,W,V){try{var Y=R[W](V),$=Y.value}catch(R){O(R);return}Y.done?T($):Promise.resolve($).then(P,U)}function _async_to_generator(R){return function(){var T=this,O=arguments;return new Promise(function(P,U){var W=R.apply(T,O);function V(R){asyncGeneratorStep(W,P,U,V,Y,"next",R)}function Y(R){asyncGeneratorStep(W,P,U,V,Y,"throw",R)}V(void 0)})}}function _ts_generator(R,T){var O,P,U,W={label:0,sent:function(){if(1&U[0])throw U[1];return U[1]},trys:[],ops:[]},V=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),Y=Object.defineProperty;return Y(V,"next",{value:$(0)}),Y(V,"throw",{value:$(1)}),Y(V,"return",{value:$(2)}),"function"==typeof Symbol&&Y(V,Symbol.iterator,{value:function(){return this}}),V;function $(R){return function(T){return X([R,T])}}function X(Y){if(O)throw TypeError("Generator is already executing.");for(;V&&(V=0,Y[0]&&(W=0)),W;)try{if(O=1,P&&(U=2&Y[0]?P.return:Y[0]?P.throw||((U=P.return)&&U.call(P),0):P.next)&&!(U=U.call(P,Y[1])).done)return U;switch(P=0,U&&(Y=[2&Y[0],U.value]),Y[0]){case 0:case 1:U=Y;break;case 4:return W.label++,{value:Y[1],done:!1};case 5:W.label++,P=Y[1],Y=[0];continue;case 7:Y=W.ops.pop(),W.trys.pop();continue;default:if(!(U=(U=W.trys).length>0&&U[U.length-1])&&(6===Y[0]||2===Y[0])){W=0;continue}if(3===Y[0]&&(!U||Y[1]>U[0]&&Y[1]<U[3])){W.label=Y[1];break}if(6===Y[0]&&W.label<U[1]){W.label=U[1],U=Y;break}if(U&&W.label<U[2]){W.label=U[2],W.ops.push(Y);break}U[2]&&W.ops.pop(),W.trys.pop();continue}Y=T.call(R,W)}catch(R){Y=[6,R],P=0}finally{O=U=0}if(5&Y[0])throw Y[1];return{value:Y[0]?Y[1]:void 0,done:!0}}}function feRequire(R){return new Promise(function(T,O){try{(0,window.require)(R,T)}catch(R){O(R)}})}var ModuleManager=function(){function R(T){_class_call_check(this,R),_define_property(this,"moduleIndex",0),_define_property(this,"mapRowKey",new Map),_define_property(this,"ctx",void 0),this.ctx=T}return _create_class(R,[{key:"updateSysInfo",value:function(R){this.ctx.sysInfo=R}},{key:"updatePageInfo",value:function(R){this.ctx.pageInfo=R}},{key:"getRenderRows",value:function(R,T){var O=this;return _async_to_generator(function(){var P;return _ts_generator(this,function(U){switch(U.label){case 0:if(!R||!R.length)return[2,[[],[]]];return P=[],[4,Promise.all(R.map(function(){var R=_async_to_generator(function(R,U){var W,V,Y;return _ts_generator(this,function(U){switch(U.label){case 0:return V=T[W=O.getModuleId(R)],R.index=O.moduleIndex++,[4,O.setModuleRowData(W,R,V)];case 1:return(Y=U.sent())&&Y.moduleInfo?Y.moduleInfo.isZebraModule=!0:P.push(W),R.cellLength=1,[2,Y]}})});return function(T,O){return R.apply(this,arguments)}}()))];case 1:return[2,[U.sent(),P]]}})})()}},{key:"getRenderRowsSync",value:function(R,T){var O=this;if(!R&&!R.length)return[[],[]];var P=[];return[R.map(function(R,U){var W=O.getModuleId(R),V=T[W],Y=O.getModuleDefId(R);R.index=O.moduleIndex++,R.data=V;var $={rowId:"".concat(W),rowKey:"".concat(W),moduleInfo:R,moduleClass:nativeRequire(Y)};return $&&$.moduleInfo?$.moduleInfo.isZebraModule=!0:P.push(W),R.cellLength=1,$}),P]}},{key:"setModuleRowData",value:function(R,T,O){var P=this;return _async_to_generator(function(){var U,W;return _ts_generator(this,function(V){switch(V.label){case 0:return[4,feRequire(U=P.getModuleDefId(T))];case 1:if(!(W=V.sent()))return logger$1.warn("[set-module-row-data]","cannot find module define of ".concat(U)),[2,[]];return O||logger$1.log("[set-module-row-data]","got no data for module: ".concat(T.name," of uuid: ").concat(T.uuid)),T.data=O||{},[2,{rowId:"".concat(R),rowKey:"".concat(R),moduleInfo:T,moduleClass:W}]}})})()}},{key:"getModuleDefId",value:function(R){var T=R.fullName,O=R.name;R.modSpec;var P=T||"mui/".concat(O),U="pc"===this.ctx.config.platform?"-pc":window.__supportsES6?"-es6":"";return"".concat(P,"/index").concat(U)}},{key:"getModuleId",value:function(R){return R.uuid||R.moduleId||R.rmcId}}]),R}(),ModuleManager$1=ModuleManager,DataProcessor=function R(T){var O=this;_class_call_check(this,R),_define_property(this,"ctx",void 0),_define_property(this,"moduleManager",void 0),_define_property(this,"allModRows",void 0);var P=this;_define_property(this,"processData",function(){var R=_async_to_generator(function(R,T){var O,U,W,V,Y,$,X,Q,Z;return _ts_generator(this,function(ee){switch(ee.label){case 0:return O=R.pageInfo,U=R.sysInfo,W=R.data,V=R.hasMoreModules,Y=R.allUI,$=R.fri,X=R.prefetchTime,Q=R.prefetchStartTime,[4,P.moduleManager.getRenderRows(T,R.data)];case 1:return Z=_sliced_to_array.apply(void 0,[ee.sent(),1])[0],P.allModRows=(P.allModRows||[]).concat(Z||[]),[2,{modRows:P.allModRows,data:W,hasMoreModules:V,allUI:Y,pageInfo:O,sysInfo:U,fri:$,prefetchTime:X,prefetchStartTime:Q}]}})});return function(T,O){return R.apply(this,arguments)}}()),_define_property(this,"processDataSync",function(R){var T=R.pageInfo,P=R.sysInfo,U=R.data,W=R.modules,V=R.hasMoreModules,Y=R.allUI,$=R.fri,X=R.prefetchTime,Q=R.prefetchStartTime,Z=_sliced_to_array(O.moduleManager.getRenderRowsSync(W,U),1)[0];return O.allModRows=(O.allModRows||[]).concat(Z||[]),{modRows:O.allModRows,data:U,hasMoreModules:V,allUI:Y,pageInfo:T,sysInfo:P,fri:$,prefetchTime:X,prefetchStartTime:Q}}),this.ctx=T,this.moduleManager=new ModuleManager$1(T)},DataProcessor$1=DataProcessor,ParseUrl=function(){function R(){_class_call_check(this,R),_define_property(this,"_params",void 0),_define_property(this,"_hash",void 0),_define_property(this,"protocol",void 0),_define_property(this,"username",void 0),_define_property(this,"password",void 0),_define_property(this,"hostname",void 0),_define_property(this,"host",void 0),_define_property(this,"port",void 0),_define_property(this,"pathname",void 0),_define_property(this,"origin",void 0),_define_property(this,"_url",void 0),this._params={},this._hash=""}return _create_class(R,[{key:"parse",value:function(){var R,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",O=T.split("?"),P=RegExp("^([a-z0-9-]+:)?[/]{2}(?:([^@/:?]+)(?::([^@/:]+))?@)?([^:/?#]+)(?:[:]([0-9]+))?([/][^?#]*)?(?:[?]([^?#]*))?(#[^#]*)?$","i");if(R=T.match(P)||O[0].match(P))O.shift(),this.protocol=R[1]||"",this.username=R[2]||"",this.password=R[3]||"",this.hostname=this.host=R[4],this.port=R[5]||"",this.pathname=R[6]||"/",this.search=R[7]||O.join("?")||"",this.hash=R[8]||"",this.origin="".concat(this.protocol,"//").concat(this.hostname);else throw console.error("wrong url scheme"),Error("parse url error");return this._url=T,this}},{key:"params",get:function(){return this._params},set:function(R){"object"==typeof R&&(this._params=R)}},{key:"search",get:function(){var R=[];for(var T in this.params)if(this.params[T])try{R.push("".concat(encodeURIComponent(T),"=").concat(encodeURIComponent(this.params[T])))}catch(R){}else try{R.push(encodeURIComponent(T))}catch(R){}return R.length?"?".concat(R.join("&")):""},set:function(R){if("string"==typeof R){0===R.indexOf("?")&&(R=R.substr(1));var T=R.split("&");for(var O in this.params)delete this.params[O];for(var P=0;P<T.length;P++){var U=T[P].split("=");if(U[0])try{this.params[decodeURIComponent(U[0])]=decodeURIComponent(U[1]||"")}catch(R){this.params[U[0]]=U[1]||""}}}}},{key:"hash",get:function(){return this._hash},set:function(R){"string"==typeof R&&(R&&0>R.indexOf("#")&&(R="#".concat(R)),this._hash=R||"")}},{key:"toString",value:function(){var R=this.protocol?"".concat(this.protocol,"//"):"//";return(this.username&&(R+=this.username,this.password&&(R+=":".concat(this.password)),R+="@"),R+=this.host?this.host:"",this.port&&"80"!==this.port&&(R+=":".concat(this.port)),this.pathname&&(R+=this.pathname),R)?(this.search&&(R+=this.search),this.hash&&(R+=this.hash),R):this._url}}]),R}(),Url=ParseUrl,NEW_LAZ_CDN="g.lazcdn.com",PREFETCH_ERROR="Prefetch异常",SPLITED_DATA_GETTER_ERROR="Splited_Data获取异常",MTOP_ERROR="袋鼠MTOP异常",FAIL_APP_REPORT="FAIL_APP模块上报",SCREEN_BOTTOM_JSONP_ERROR="分屏JSONP兜底数据异常",SINGLE_BOTTOM_JSONP_ERROR="单资源JSONP兜底数据异常",COMMON_JS_ERROR="通用JS异常",GLOBAL_ASYNC_ERROR_BLACK_LIST_MAP={'"api":"mtop.com':"MTOP请求未捕获全局异常",HY_RESULT_PARSE_ERROR:"Native传递给H5的数据出现格式错误"},GET_FIRST_SCREEN_DATA_ERROR="获取首屏数据异常",BEFORE_GET_FIRST_SCREEN="beforeGetFirstScreen",BEFORE_GET_NEXT_SCREEN="beforeGetNextScreen",AFTER_GET_FIRST_SCREEN="afterGetFirstScreen",AFTER_GET_NEXT_SCREEN="afterGetNextScreen",AFTER_FIRST_SCREEN_RENDER="afterFirstScreenRender",AFTER_NEXT_SCREEN_RENDER="afterNextScreenRender",HOOKS={BEFORE_GET_FIRST_SCREEN:BEFORE_GET_FIRST_SCREEN,BEFORE_GET_NEXT_SCREEN:BEFORE_GET_NEXT_SCREEN,AFTER_GET_FIRST_SCREEN:AFTER_GET_FIRST_SCREEN,AFTER_GET_NEXT_SCREEN:AFTER_GET_NEXT_SCREEN,AFTER_FIRST_SCREEN_RENDER:AFTER_FIRST_SCREEN_RENDER,AFTER_NEXT_SCREEN_RENDER:AFTER_NEXT_SCREEN_RENDER},GET_MODULES="getModules",GET_FIRST_SCREEN_DATA="getFirstScreenData",GET_NEXT_SCREEN_DATA="getNextScreenData",PROCESS_DATA="processData",APIS={GET_MODULES:GET_MODULES,GET_FIRST_SCREEN_DATA:GET_FIRST_SCREEN_DATA,GET_NEXT_SCREEN_DATA:GET_NEXT_SCREEN_DATA,PROCESS_DATA:PROCESS_DATA},versionCheckWhiteList=["gcom-lzd-cookie","gcom-lzd-sites","gcom-lzd-env","gcom-lzd-qs","gcom-jsonp","gcom-lzd-mtop","gcom-lzd-data-prefetch","gcom-lzd-version-compare","gcom-lzd-device","gcom-lzd-resize"],isModuleInVersionCheckWhiteList=function(R,T,O){return versionCheckWhiteList.indexOf(R)>=0&&T&&O&&T.split(".")[0]===O.split(".")[0]},ScriptLoader=function(){function R(T){_class_call_check(this,R),_define_property(this,"resWithoutHost",[]);var O=T.preload,P=void 0===O?{js:[]}:O;this.addPreload(P)}return _create_class(R,[{key:"addPreload",value:function(R){var T=this;(R.js||[]).forEach(function(R){T.addBaseComboRes(R)})}},{key:"addBaseComboRes",value:function(R){var T=R.indexOf("??");if(T>=0){var O=R.substring(0,T),P=new Url().parse(O),U=P.hostname,W=P.pathname,V=R.substring(T+2).split(",").map(function(R){return(U===NEW_LAZ_CDN?W.replace("/g/","/"):W)+R});this.resWithoutHost=this.resWithoutHost.concat(V)}else this.resWithoutHost.push(R)}},{key:"compareVersion",value:function(R,T){for(var O=R.split("."),P=T.split("."),U=0,W=0;W<O.length;W+=1){var V=parseInt(O[W]),Y=parseInt(P[W]);if(0===W){if(V!==Y)return 1;continue}if(V>Y){U=1;break}if(V<Y){U=-1;break}}return U}},{key:"filterExistRes",value:function(R){var T=this;if(this.resWithoutHost.length>0){var O=R.indexOf("??");if(O>=0){var P=R.substring(0,O),U=new Url().parse(P),W=U.hostname,V=U.pathname,Y=W===NEW_LAZ_CDN?V.replace("/g/","/"):V,$=R.substring(O+2).split(",").filter(function(R){return!T.resWithoutHost.some(function(O){var P=(Y+R).split("/"),U=O.split("/");return!!("rax-pkg"===P[1]&&"rax"===P[2]||P.length===U.length&&P[P.length-1]===U[U.length-1]&&P.slice(0,-2).join("/")===U.slice(0,-2).join("/")&&(0>=T.compareVersion(P[P.length-2],U[U.length-2])||isModuleInVersionCheckWhiteList(P[P.length-3],P[P.length-2],U[U.length-2])))})}),X="";return $.length&&(X="//".concat(W).concat(V,"??").concat($.join(","))),X}}return R}},{key:"load",value:function(R){return new Promise(function(T,O){var P=document.createElement("script");P.type="text/javascript",P.async=!0,P.src=R,P.crossOrigin="anonymous",document.getElementsByTagName("head")[0].appendChild(P),P.addEventListener("load",function(){T(P)}),P.addEventListener("error",function(){O(Error("".concat(R," failed to load.")))})})}}]),R}(),CssLoader=function(){function R(){_class_call_check(this,R),_define_property(this,"resWithoutHost",[])}return _create_class(R,[{key:"addBaseComboRes",value:function(R){var T=R.indexOf("??");if(T>=0){var O=R.substring(0,T),P=new Url().parse(O),U=P.hostname,W=P.pathname,V=R.substring(T+2).split(",").map(function(R){return(U===NEW_LAZ_CDN?W.replace("/g/","/"):W)+R});this.resWithoutHost=this.resWithoutHost.concat(V)}}},{key:"filterExistRes",value:function(R){var T=this;if(this.resWithoutHost.length>0){var O=R.indexOf("??");if(O>=0){var P=R.substring(0,O),U=new Url().parse(P),W=U.hostname,V=U.pathname,Y=W===NEW_LAZ_CDN?V.replace("/g/","/"):V,$=R.substring(O+2).split(",").filter(function(R){return!T.resWithoutHost.some(function(T){var O=(Y+R).split("/"),P=T.split("/");return O.length===P.length&&O[O.length-1]===P[P.length-1]&&O.slice(0,-2).join("/")===P.slice(0,-2).join("/")})}),X="";return $.length&&(X="//".concat(W).concat(V,"??").concat($.join(","))),X}}return R}},{key:"load",value:function(R){return new Promise(function(T,O){var P=document.getElementsByTagName("head")[0],U=document.createElement("link");U.type="text/css",U.rel="stylesheet",U.href=R,P.appendChild(U),U.addEventListener("load",function(){T(U)}),U.addEventListener("error",function(){O(Error("".concat(R," failed to load")))})})}}]),R}(),ModuleProcessor=function(){function R(T){_class_call_check(this,R),_define_property(this,"ctx",void 0),_define_property(this,"scriptLoader",void 0),_define_property(this,"cssLoader",void 0);var O,P,U=this;_define_property(this,"getModules",function(){var R=_async_to_generator(function(R){var T,O,P,W,V,Y;return _ts_generator(this,function($){switch($.label){case 0:if(O=(T=R||{}).modules,P=T.data,W=T.seedComboUris,V=T.isFirstScreen,!O||!P)return[2,null];return Y=[],V&&(R.cssHtml||window.__FIRST_SCREEN_CSS_INJECTED)||R.cssInjected?U.addCssWithoutLoad(W):Y.push(U.loadCss(W)),Y.push(U.runJSFromComboJSUri(W)),[4,Promise.all(Y)];case 1:return $.sent(),[2,O]}})});return function(T){return R.apply(this,arguments)}}()),this.ctx=T,this.scriptLoader=new ScriptLoader({preload:null===(P=T)||void 0===P?void 0:null===(O=P.config)||void 0===O?void 0:O.preload}),this.cssLoader=new CssLoader}return _create_class(R,[{key:"runJSFromComboJSUri",value:function(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],T=this;return _async_to_generator(function(){var O,P,U,W,V;return _ts_generator(this,function(Y){try{for(U=0,O=[],P=R.filter(function(R){return"js"===R.type});U<P.length;U++)W=P[U],(V=T.scriptLoader.filterExistRes(W.uri))&&(T.scriptLoader.addBaseComboRes(V),O.push(T.scriptLoader.load(V)));return[2,Promise.all(O)]}catch(R){return console.error("load js exception",R),[2,Promise.resolve()]}return[2]})})()}},{key:"loadCss",value:function(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],T=this;return _async_to_generator(function(){var O,P,U,W,V;return _ts_generator(this,function(Y){try{for(U=0,O=[],P=R.filter(function(R){return"css"===R.type});U<P.length;U++)W=P[U],(V=T.cssLoader.filterExistRes(W.uri))&&(T.cssLoader.addBaseComboRes(V),O.push(T.cssLoader.load(V)));return[2,Promise.all(O)]}catch(R){return console.error("load css exception",R),[2,Promise.resolve()]}return[2]})})()}},{key:"addCssWithoutLoad",value:function(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],T=this;return _async_to_generator(function(){var O,P,U;return _ts_generator(this,function(W){try{for(P=0,O=R.filter(function(R){return"css"===R.type});P<O.length;P++)U=O[P],T.cssLoader.addBaseComboRes(U.uri)}catch(R){console.error("load css exception",R)}return[2]})})()}}]),R}(),ModuleProcessor$1=ModuleProcessor,defaultOptions={timeout:5e3,jsonpCallback:"callback"};function generateCallbackFunction(){return"jsonp_".concat(Date.now(),"_").concat(Math.ceil(1e5*Math.random()))}function clearFunction(R){try{delete window[R]}catch(T){window[R]=void 0}}function removeScript(R){try{document.getElementsByTagName("head")[0].removeChild(R)}catch(R){console.warn("[jsonp-removeScript-error]",R)}}var fetchJsonp=function(R){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(O,P){var U,W=null!=T.timeout?T.timeout:defaultOptions.timeout,V=null!=T.jsonpCallback?T.jsonpCallback:defaultOptions.jsonpCallback,Y=T.jsonpCallbackFunctionName||generateCallbackFunction(),$=document.createElement("script");window[Y]=function(R){O({ok:!0,json:function(){return Promise.resolve(R)}}),U&&clearTimeout(U),removeScript($),clearFunction(Y)},$.onreadystatechange=$.onerror=function(){this.readyState&&("loaded"!==this.readyState&&"complete"!==this.readyState||window[Y])||(P(Error("JSONP request to "+R+" error")),U&&clearTimeout(U),clearFunction(Y),removeScript($))},R+=-1===R.indexOf("?")?"?":"&",$.setAttribute("src",R+V+"="+Y),document.getElementsByTagName("head")[0].appendChild($),U=setTimeout(function(){P(Error("JSONP request to ".concat(R," timed out"))),clearFunction(Y),removeScript($)},W)})},jsonp=fetchJsonp,Fetch=function(R){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"jsonp"===T.mode?jsonp(R,T):fetch(R,T)},pcomFetch=Fetch;function compose(R){return function(T,O){var P=-1;function U(W){if(W<=P)return Promise.reject(Error("next() should not be called multiple times in one middleware!"));P=W;var V=R[W]||O;if(!V)return Promise.resolve();try{return Promise.resolve(V(T,function(){return U(W+1)}))}catch(R){return Promise.reject(R)}}return U(0)}}var Onion=function(){function R(T,O){_class_call_check(this,R),_define_property(this,"defaultMiddlewares",void 0),_define_property(this,"instanceMiddlewares",void 0),_define_property(this,"coreMiddlewares",void 0),this.defaultMiddlewares=T,this.instanceMiddlewares=[],this.coreMiddlewares=O}return _create_class(R,[{key:"use",value:function(R){this.instanceMiddlewares.push(R)}},{key:"execute",value:function(R){return compose(_to_consumable_array(this.defaultMiddlewares).concat(_to_consumable_array(this.instanceMiddlewares),_to_consumable_array(this.coreMiddlewares)))(R)}}]),R}(),Onion$1=Onion,Core=function(){function R(T,O){_class_call_check(this,R),_define_property(this,"onion",void 0),this.onion=new Onion$1(T,O)}return _create_class(R,[{key:"use",value:function(R){return this.onion.use(R),this}},{key:"request",value:function(R){var T=this.onion,O={req:{options:R},res:null};return new Promise(function(R,P){T.execute(O).then(function(){var T=O.req.options,U=T.successHandler,W=T.errorHandler;if(U){var V=U(O.res)||{};return V.ok||V.success||0===V.retType?R(V):P(W?W(V):V)}R(O.res)}).catch(function(R){var T=O.req.options.errorHandler;T&&(R=T(R)),P(R)})})}}]),R}(),Core$1=Core;!function(R){R.AE="AE",R.Lazada="Lazada",R.Daraz="Daraz",R.DarazMM="DarazMM"}(EApp||(EApp={})),function(R){R.AE="24815441",R.Lazada="24677475",R.Daraz="24937400",R.DarazMM="24936599"}(EAppKey||(EAppKey={})),function(R){R.AE="acs",R.Lazada="acs-m",R.Daraz="acs-m",R.DarazMM="acs-m"}(EProPrefix||(EProPrefix={})),function(R){R.AE="pre-acs",R.Lazada="acs-wapa",R.Daraz="acs-wapa",R.DarazMM="acs-wapa"}(EPrePrefix||(EPrePrefix={})),function(R){R.AE="",R.Lazada="lazada",R.Daraz="daraz",R.DarazMM="shop"}(ESubDomain||(ESubDomain={})),function(R){R.AE="aliexpress.com",R.AERu="aliexpress.ru"}(EAEMainDomain||(EAEMainDomain={})),function(R){R.SG="sg",R.ID="co.id",R.TH="co.th",R.VN="vn",R.MY="com.my",R.PH="com.ph"}(ELazadaMainDomain||(ELazadaMainDomain={})),function(R){R.BD="com.bd",R.LK="lk",R.MM="com.mm",R.NP="com.np",R.PK="pk"}(EDarazMainDomain||(EDarazMainDomain={}));var ELazadaMainDomainStr=["sg","co.id","co.th","vn","com.my","com.ph"],EDarazMainDomainStr=["com.bd","lk","com.mm","com.np","pk"];function getAppBase(R){var T,O,P=R.isLazada,U=void 0!==P&&P,W=EApp.AE;return U&&(W=EApp.Lazada),(null===(O=window)||void 0===O?void 0:null===(T=O.g_config)||void 0===T?void 0:T.regionID)&&EDarazMainDomain[window.g_config.regionID]&&(W="MM"===window.g_config.regionID?EApp.DarazMM:EApp.Daraz),W}var getAppEnumConfig=function(R,T){var O="";switch(R){case EApp.AE:O=T.AE;break;case EApp.Lazada:O=T.Lazada;break;case EApp.Daraz:O=T.Daraz;break;case EApp.DarazMM:O=T.DarazMM;break;default:O=T.AE}return O},getAppKeyBase=function(R){return getAppEnumConfig(R,EAppKey)};function getH5App(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.host;return getAppBase({isLazada:-1!==R.indexOf("lazada")})}function getH5AppKey(R){return R||(R=getH5App()),getAppKeyBase(R)}var parseH5Url=function(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href,T={},O=null,P=/[?&](.*?)=([^&#]*)/g;for(O=P.exec(R);O;){try{T[O[1]]=decodeURIComponent(O[2])}catch(R){try{T[O[1]]=unescape(O[2])}catch(R){T[O[1]]=O[2]}}O=P.exec(R)}return T},setWindowMtopConfig=function(R){["prefix","subDomain","mainDomain"].forEach(function(T){window.lib.mtop.config[T]=R[T]||""})},defaultRequestOptions={api:"",v:"1.0",ecode:0};!function(R,T){function O(R,T){ed[R]||(ed[R]=!0,console.log(T))}function P(){var R={},T=new ec(function(T,O){R.resolve=T,R.reject=O});return R.promise=T,R}function U(R,T){for(var O in T)void 0===R[O]&&(R[O]=T[O]);return R}function W(R){(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]||document.firstElementChild||document).appendChild(R)}function V(){if(window.etSign)window.__etReady=!0;else{window.etReady=function(){window.__etReady=!0};var R=document.createElement("script");R.src="//g.alicdn.com/sd/baxia-entry/index.js",W(R)}}function Y(R){var T=[];for(var O in R)R[O]&&T.push(O+"="+encodeURIComponent(R[O]));return T.join("&")}function $(R){try{return".com"!==R.substring(R.lastIndexOf("."))?(R.split(".")||[]).length<=3?R:R.split(".").slice(1).join("."):R.substring(R.lastIndexOf(".",R.lastIndexOf(".")-1)+1)}catch(T){return R.substring(R.lastIndexOf(".",R.lastIndexOf(".")-1)+1)}}function X(R){function T(R,T){return R<<T|R>>>32-T}function O(R,T){var O,P,U,W,V;return U=2147483648&R,W=2147483648&T,O=1073741824&R,P=1073741824&T,V=(1073741823&R)+(1073741823&T),O&P?2147483648^V^U^W:O|P?1073741824&V?3221225472^V^U^W:1073741824^V^U^W:V^U^W}function P(R,T,O){return R&T|~R&O}function U(R,T,O){return R&O|T&~O}function W(R,T,O){return R^T^O}function V(R,T,O){return T^(R|~O)}function Y(R,U,W,V,Y,$,X){return R=O(R,O(O(P(U,W,V),Y),X)),O(T(R,$),U)}function $(R,P,W,V,Y,$,X){return R=O(R,O(O(U(P,W,V),Y),X)),O(T(R,$),P)}function X(R,P,U,V,Y,$,X){return R=O(R,O(O(W(P,U,V),Y),X)),O(T(R,$),P)}function Q(R,P,U,W,Y,$,X){return R=O(R,O(O(V(P,U,W),Y),X)),O(T(R,$),P)}function Z(R){var T,O="",P="";for(T=0;3>=T;T++)O+=(P="0"+(R>>>8*T&255).toString(16)).substr(P.length-2,2);return O}var ee,en,er,eo,ei,ea,ec,eu,ed,ep=[],ef=7,em=12,ew=17,eh=22,e_=5,eg=9,ev=14,ey=20,eS=4,eE=11,eR=16,eb=23,eT=6,eI=10,ek=15,eN=21;for(ep=function(R){for(var T,O=R.length,P=O+8,U=(P-P%64)/64,W=16*(U+1),V=Array(W-1),Y=0,$=0;O>$;)T=($-$%4)/4,Y=$%4*8,V[T]=V[T]|R.charCodeAt($)<<Y,$++;return T=($-$%4)/4,Y=$%4*8,V[T]=V[T]|128<<Y,V[W-2]=O<<3,V[W-1]=O>>>29,V}(R=function(R){R=R.replace(/\r\n/g,"\n");for(var T="",O=0;O<R.length;O++){var P=R.charCodeAt(O);128>P?T+=String.fromCharCode(P):P>127&&2048>P?T+=String.fromCharCode(P>>6|192)+String.fromCharCode(63&P|128):T+=String.fromCharCode(P>>12|224)+String.fromCharCode(P>>6&63|128)+String.fromCharCode(63&P|128)}return T}(R)),ea=1732584193,ec=4023233417,eu=2562383102,ed=271733878,ee=0;ee<ep.length;ee+=16)en=ea,er=ec,eo=eu,ei=ed,ea=Y(ea,ec,eu,ed,ep[ee+0],ef,3614090360),ed=Y(ed,ea,ec,eu,ep[ee+1],em,3905402710),eu=Y(eu,ed,ea,ec,ep[ee+2],ew,606105819),ec=Y(ec,eu,ed,ea,ep[ee+3],eh,3250441966),ea=Y(ea,ec,eu,ed,ep[ee+4],ef,4118548399),ed=Y(ed,ea,ec,eu,ep[ee+5],em,1200080426),eu=Y(eu,ed,ea,ec,ep[ee+6],ew,2821735955),ec=Y(ec,eu,ed,ea,ep[ee+7],eh,4249261313),ea=Y(ea,ec,eu,ed,ep[ee+8],ef,1770035416),ed=Y(ed,ea,ec,eu,ep[ee+9],em,2336552879),eu=Y(eu,ed,ea,ec,ep[ee+10],ew,4294925233),ec=Y(ec,eu,ed,ea,ep[ee+11],eh,2304563134),ea=Y(ea,ec,eu,ed,ep[ee+12],ef,1804603682),ed=Y(ed,ea,ec,eu,ep[ee+13],em,4254626195),eu=Y(eu,ed,ea,ec,ep[ee+14],ew,2792965006),ec=Y(ec,eu,ed,ea,ep[ee+15],eh,1236535329),ea=$(ea,ec,eu,ed,ep[ee+1],e_,4129170786),ed=$(ed,ea,ec,eu,ep[ee+6],eg,3225465664),eu=$(eu,ed,ea,ec,ep[ee+11],ev,643717713),ec=$(ec,eu,ed,ea,ep[ee+0],ey,3921069994),ea=$(ea,ec,eu,ed,ep[ee+5],e_,3593408605),ed=$(ed,ea,ec,eu,ep[ee+10],eg,38016083),eu=$(eu,ed,ea,ec,ep[ee+15],ev,3634488961),ec=$(ec,eu,ed,ea,ep[ee+4],ey,3889429448),ea=$(ea,ec,eu,ed,ep[ee+9],e_,568446438),ed=$(ed,ea,ec,eu,ep[ee+14],eg,3275163606),eu=$(eu,ed,ea,ec,ep[ee+3],ev,4107603335),ec=$(ec,eu,ed,ea,ep[ee+8],ey,1163531501),ea=$(ea,ec,eu,ed,ep[ee+13],e_,2850285829),ed=$(ed,ea,ec,eu,ep[ee+2],eg,4243563512),eu=$(eu,ed,ea,ec,ep[ee+7],ev,1735328473),ec=$(ec,eu,ed,ea,ep[ee+12],ey,2368359562),ea=X(ea,ec,eu,ed,ep[ee+5],eS,4294588738),ed=X(ed,ea,ec,eu,ep[ee+8],eE,2272392833),eu=X(eu,ed,ea,ec,ep[ee+11],eR,1839030562),ec=X(ec,eu,ed,ea,ep[ee+14],eb,4259657740),ea=X(ea,ec,eu,ed,ep[ee+1],eS,2763975236),ed=X(ed,ea,ec,eu,ep[ee+4],eE,1272893353),eu=X(eu,ed,ea,ec,ep[ee+7],eR,4139469664),ec=X(ec,eu,ed,ea,ep[ee+10],eb,3200236656),ea=X(ea,ec,eu,ed,ep[ee+13],eS,681279174),ed=X(ed,ea,ec,eu,ep[ee+0],eE,3936430074),eu=X(eu,ed,ea,ec,ep[ee+3],eR,3572445317),ec=X(ec,eu,ed,ea,ep[ee+6],eb,76029189),ea=X(ea,ec,eu,ed,ep[ee+9],eS,3654602809),ed=X(ed,ea,ec,eu,ep[ee+12],eE,3873151461),eu=X(eu,ed,ea,ec,ep[ee+15],eR,530742520),ec=X(ec,eu,ed,ea,ep[ee+2],eb,3299628645),ea=Q(ea,ec,eu,ed,ep[ee+0],eT,4096336452),ed=Q(ed,ea,ec,eu,ep[ee+7],eI,1126891415),eu=Q(eu,ed,ea,ec,ep[ee+14],ek,2878612391),ec=Q(ec,eu,ed,ea,ep[ee+5],eN,4237533241),ea=Q(ea,ec,eu,ed,ep[ee+12],eT,1700485571),ed=Q(ed,ea,ec,eu,ep[ee+3],eI,2399980690),eu=Q(eu,ed,ea,ec,ep[ee+10],ek,4293915773),ec=Q(ec,eu,ed,ea,ep[ee+1],eN,2240044497),ea=Q(ea,ec,eu,ed,ep[ee+8],eT,1873313359),ed=Q(ed,ea,ec,eu,ep[ee+15],eI,4264355552),eu=Q(eu,ed,ea,ec,ep[ee+6],ek,2734768916),ec=Q(ec,eu,ed,ea,ep[ee+13],eN,1309151649),ea=Q(ea,ec,eu,ed,ep[ee+4],eT,4149444226),ed=Q(ed,ea,ec,eu,ep[ee+11],eI,3174756917),eu=Q(eu,ed,ea,ec,ep[ee+2],ek,718787259),ec=Q(ec,eu,ed,ea,ep[ee+9],eN,3951481745),ea=O(ea,en),ec=O(ec,er),eu=O(eu,eo),ed=O(ed,ei);return(Z(ea)+Z(ec)+Z(eu)+Z(ed)).toLowerCase()}function Q(R){return"[object Object]"==({}).toString.call(R)}function Z(R,T,O){var P=O||{};document.cookie=R.replace(/[^+#$&^`|]/g,encodeURIComponent).replace("(","%28").replace(")","%29")+"="+T.replace(/[^+#$&/:<-\[\]-}]/g,encodeURIComponent)+(P.domain?";domain="+P.domain:"")+(P.path?";path="+P.path:"")+(P.secure?";secure":"")+(P.httponly?";HttpOnly":"")+(P.sameSite?";Samesite="+P.sameSite:"")}function ee(R){var T=RegExp("(?:^|;\\s*)"+R+"\\=([^;]+)(?:;\\s*|$)").exec(document.cookie);return T?T[1]:void 0}function en(R,T,O){var P=new Date;P.setTime(P.getTime()-864e5);var U="/";document.cookie=R+"=;path="+U+";domain=."+T+";expires="+P.toGMTString(),document.cookie=R+"=;path="+U+";domain=."+O+"."+T+";expires="+P.toGMTString()}function er(R,T){for(var O=R.split("."),P=T.split("."),U=3,W=0;U>W;W++){var V=Number(O[W]),Y=Number(P[W]);if(V>Y)return 1;if(Y>V)return -1;if(!isNaN(V)&&isNaN(Y))return 1;if(isNaN(V)&&!isNaN(Y))return -1}return 0}function eo(){var T=R.location.hostname;if(!T){var O=R.parent.location.hostname;O&&~O.indexOf("zebra.alibaba-inc.com")&&(T=O)}var P=RegExp("([^.]*?)\\.?((?:"+"taobao.net)|(?:taobao.com)|(?:tmall.com)|(?:tmall.hk)|(?:alibaba-inc.com".replace(/\./g,"\\.")+"))","i"),U=T.match(P)||[],W=U[2]||"taobao.com",V=U[1]||"m";"taobao.net"!==W||"x"!==V&&"waptest"!==V&&"daily"!==V?"taobao.net"===W&&"demo"===V?V="demo":"alibaba-inc.com"===W&&"zebra"===V?V="zebra":"waptest"!==V&&"wapa"!==V&&"m"!==V&&(V="m"):V="waptest";var Y="h5api";"taobao.net"===W&&"waptest"===V&&(Y="acs"),ef.mainDomain=W,ef.subDomain=V,ef.prefix=Y}function ei(){var T=R.navigator.userAgent,O=T.match(/WindVane[\/\s]([\d\.\_]+)/);O&&(ef.WindVaneVersion=O[1]);var P=T.match(/AliApp\(([^\/]+)\/([\d\.\_]+)\)/i);P&&(ef.AliAppName=P[1],ef.AliAppVersion=P[2]);var U=T.match(/AMapClient\/([\d\.\_]+)/i);U&&(ef.AliAppName="AMAP",ef.AliAppVersion=U[1])}function ea(R){this.id=""+(new Date).getTime()+ ++eg,this.params=U(R||{},{v:"*",data:{},type:"get",dataType:"jsonp"}),this.params.type=this.params.type.toLowerCase(),"object"==typeof this.params.data&&(this.params.data=JSON.stringify(this.params.data)),this.middlewares=em.slice(0)}var ec=R.Promise,eu=(ec||{resolve:function(){}}).resolve(),ed={},ep={DOWNGRADE_BY_WINDVANE:"DOWNGRADE_BY_WINDVANE",DOWNGRADE_BY_IFRAME:"DOWNGRADE_BY_IFRAME"};String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")});var ef={useJsonpResultType:!1,safariGoLogin:!0,useAlipayJSBridge:!1},em=[],ew={ERROR:-1,SUCCESS:0,TOKEN_EXPIRED:1,SESSION_EXPIRED:2};eo(),ei();var eh=/[Android|Adr]/.test(R.navigator.userAgent),e_="AP"===ef.AliAppName&&er(ef.AliAppVersion,"10.1.2")>=0||"KB"===ef.AliAppName&&er(ef.AliAppVersion,"7.1.62")>=0||eh&&"AMAP"===ef.AliAppName&&er(ef.AliAppVersion,"1.0.1")>=0,eg=0,ev="2.7.5";ea.prototype.use=function(R){if(!R)throw Error("middleware is undefined");return this.middlewares.push(R),this},ea.prototype.__processRequestMethod=function(R){var T=this.params,O=this.options;"get"===T.type&&"jsonp"===T.dataType?O.getJSONP=!0:"get"===T.type&&"originaljsonp"===T.dataType?O.getOriginalJSONP=!0:"get"===T.type&&"json"===T.dataType?O.getJSON=!0:"post"===T.type&&(O.postJSON=!0),R()},ea.prototype.__processRequestType=function(P){var U=this,W=this.params,V=this.options;if(!0===ef.H5Request&&(V.H5Request=!0),!0===ef.WindVaneRequest&&(V.WindVaneRequest=!0),!1===V.H5Request&&!0===V.WindVaneRequest){if(!e_&&(!T.windvane||5.4>parseFloat(V.WindVaneVersion)))throw Error("WINDVANE_NOT_FOUND::缺少WindVane环境");if(e_&&!R.AlipayJSBridge)throw Error("ALIPAY_NOT_READY::支付宝通道未准备好，支付宝请见 https://lark.alipay.com/mtbsdkdocs/mtopjssdkdocs/pucq6z")}else if(!0===V.H5Request)V.WindVaneRequest=!1;else if(void 0===V.WindVaneRequest&&void 0===V.H5Request){if(T.windvane&&parseFloat(V.WindVaneVersion)>=5.4?V.WindVaneRequest=!0:(O(ep.DOWNGRADE_BY_WINDVANE,"[@ali/lib-mtop] The current page does not have the lib.windvane variable, automatically downgraded to H5 request"),V.H5Request=!0),e_){if(V.WindVaneRequest=V.H5Request=void 0,R.AlipayJSBridge){if(Q(W.data))V.WindVaneRequest=!0;else try{Q(JSON.parse(W.data))?V.WindVaneRequest=!0:V.H5Request=!0}catch(R){V.H5Request=!0}}else V.H5Request=!0;"AMAP"!==ef.AliAppName||W.useNebulaJSbridgeWithAMAP||(V.WindVaneRequest=V.H5Request=void 0,V.H5Request=!0)}window.self!==window.top&&(O(ep.DOWNGRADE_BY_IFRAME,"[@ali/lib-mtop] The current page is embedded in an iframe, cannot use WindVane request, automatically downgraded to H5 request"),V.H5Request=!0)}var Y=R.navigator.userAgent.toLowerCase();return Y.indexOf("youku")>-1&&0>V.mainDomain.indexOf("youku.com")&&(V.WindVaneRequest=!1,V.H5Request=!0),V.mainDomain.indexOf("youku.com")>-1&&0>Y.indexOf("youku")&&(V.WindVaneRequest=!1,V.H5Request=!0),P?P().then(function(){var R=V.retJson.ret;if(R instanceof Array&&(R=R.join(",")),!0===V.WindVaneRequest&&e_&&V.retJson.error||!R||R.indexOf("PARAM_PARSE_ERROR")>-1||R.indexOf("HY_FAILED")>-1||R.indexOf("HY_NO_HANDLER")>-1||R.indexOf("HY_CLOSED")>-1||R.indexOf("HY_EXCEPTION")>-1||R.indexOf("HY_NO_PERMISSION")>-1){if(!e_||!isNaN(V.retJson.error)||-1!==V.retJson.error.indexOf("FAIL_SYS_ACCESS_DENIED"))return e_&&Q(W.data)&&(W.data=JSON.stringify(W.data)),ef.H5Request=!0,U.__sequence([U.__processRequestType,U.__processToken,U.__processRequestUrl,U.middlewares,U.__processRequest]);void 0===V.retJson.api&&void 0===V.retJson.v&&(V.retJson.api=W.api,V.retJson.v=W.v,V.retJson.ret=[V.retJson.error+"::"+V.retJson.errorMessage],V.retJson.data={})}}):void 0};var ey="_m_h5_c",eS="_m_h5_tk",eE="_m_h5_tk_enc";ea.prototype.__getTokenFromAlipay=function(){var T=P(),O=this.options,U=(R.navigator.userAgent,!!location.protocol.match(/^https?\:$/));return!0===O.useAlipayJSBridge&&!U&&e_&&R.AlipayJSBridge&&R.AlipayJSBridge.call?R.AlipayJSBridge.call("getMtopToken",function(R){R&&R.token&&(O.token=R.token),T.resolve()},function(){T.resolve()}):T.resolve(),T.promise},ea.prototype.__getTokenFromCookie=function(){var R=this.options;return R.CDR&&ee(ey)?R.token=ee(ey).split(";")[0]:R.token=R.token||ee(eS),R.token&&(R.token=R.token.split("_")[0]),ec.resolve()},ea.prototype.__waitWKWebViewCookie=function(T){var O=this.options;O.waitWKWebViewCookieFn&&O.H5Request&&R.webkit&&R.webkit.messageHandlers?O.waitWKWebViewCookieFn(T):T()},ea.prototype.__processToken=function(R){var T=this,O=this.options;return this.params,O.token&&delete O.token,!0!==O.WindVaneRequest?eu.then(function(){return T.__getTokenFromAlipay()}).then(function(){return T.__getTokenFromCookie()}).then(R).then(function(){var R=O.retJson,P=R.ret;if(P instanceof Array&&(P=P.join(",")),P.indexOf("TOKEN_EMPTY")>-1||(!0===O.CDR||!0===O.syncCookieMode)&&P.indexOf("ILLEGAL_ACCESS")>-1||P.indexOf("TOKEN_EXOIRED")>-1){if(O.maxRetryTimes=O.maxRetryTimes||5,O.failTimes=O.failTimes||0,O.H5Request&&++O.failTimes<O.maxRetryTimes){var U=[T.__waitWKWebViewCookie,T.__processToken,T.__processRequestUrl,T.middlewares,T.__processRequest];return!0===O.syncCookieMode&&T.constructor.__cookieProcessorId!==T.id&&(T.constructor.__cookieProcessor?U=[function(R){var O=function(){T.constructor.__cookieProcessor=null,T.constructor.__cookieProcessorId=null,R()};T.constructor.__cookieProcessor?T.constructor.__cookieProcessor.then(O).catch(O):R()},T.__waitWKWebViewCookie,T.__processToken,T.__processRequestUrl,T.middlewares,T.__processRequest]:(T.constructor.__cookieProcessor=T.__requestProcessor,T.constructor.__cookieProcessorId=T.id)),T.__sequence(U)}O.maxRetryTimes>0&&(en(ey,O.pageDomain,"*"),en(eS,O.mainDomain,O.subDomain),en(eE,O.mainDomain,O.subDomain)),R.retType=ew.TOKEN_EXPIRED}}):void R()},ea.prototype.__processRequestUrl=function(T){var O=this.params,P=this.options;if(P.hostSetting&&P.hostSetting[R.location.hostname]){var U=P.hostSetting[R.location.hostname];U.prefix&&(P.prefix=U.prefix),U.subDomain&&(P.subDomain=U.subDomain),U.mainDomain&&(P.mainDomain=U.mainDomain)}if(!0===P.H5Request){var W="//"+(P.prefix?P.prefix+".":"")+(P.subDomain?P.subDomain+".":"")+P.mainDomain+"/h5/"+O.api.toLowerCase()+"/"+O.v.toLowerCase()+"/",Y=O.appKey||("waptest"===P.subDomain?"4272":"12574478"),$=(new Date).getTime(),Q=X(P.token+"&"+$+"&"+Y+"&"+O.data),Z={jsv:ev,appKey:Y,t:$,sign:Q};P.bxOption&&Object.keys(P.bxOption).forEach(function(R){Z["_"+R]=P.bxOption[R]});var ee={data:O.data,ua:O.ua};Object.keys(O).forEach(function(R){void 0===Z[R]&&void 0===ee[R]&&"headers"!==R&&"ext_headers"!==R&&"ext_querys"!==R&&(Z[R]=O[R])}),O.ext_querys&&Object.keys(O.ext_querys).forEach(function(R){Z[R]=O.ext_querys[R]}),P.getJSONP?Z.type="jsonp":P.getOriginalJSONP?Z.type="originaljsonp":(P.getJSON||P.postJSON)&&(Z.type="originaljson"),void 0!==O.valueType&&("original"===O.valueType?P.getJSONP||P.getOriginalJSONP?Z.type="originaljsonp":(P.getJSON||P.postJSON)&&(Z.type="originaljson"):"string"===O.valueType&&(P.getJSONP||P.getOriginalJSONP?Z.type="jsonp":(P.getJSON||P.postJSON)&&(Z.type="json"))),!0===P.useJsonpResultType&&"originaljson"===Z.type&&delete Z.type,P.dangerouslySetProtocol&&(W=P.dangerouslySetProtocol+":"+W),"5.0"===O.SV&&(W+="5.0/",V()),P.querystring=Z,P.postdata=ee,P.path=W}T()},ea.prototype.__processUnitPrefix=function(R){R()};var eR=0;ea.prototype.__requestJSONP=function(R){function T(R){if(Q&&clearTimeout(Q),Z.parentNode&&Z.parentNode.removeChild(Z),"TIMEOUT"===R)window[X]=function(){window[X]=void 0;try{delete window[X]}catch(R){}};else{window[X]=void 0;try{delete window[X]}catch(R){}}}var O=P(),U=this.params,V=this.options,$=U.timeout||2e4,X="mtopjsonp"+(U.jsonpIncPrefix||"")+ ++eR,Q=setTimeout(function(){R(V.timeoutErrMsg||"TIMEOUT::接口超时"),T("TIMEOUT")},$);V.querystring.callback=X;var Z=document.createElement("script"),ee=V.path+"?"+Y(V.querystring)+"&"+Y(V.postdata);return"5.0"===U.SV&&window.etSign&&(ee+="&bx_et="+window.etSign(ee)),Z.src=ee,Z.async=!0,Z.onerror=function(){T("ABORT"),R(V.abortErrMsg||"ABORT::接口异常退出")},window[X]=function(){V.results=Array.prototype.slice.call(arguments),T(),O.resolve()},W(Z),O.promise},ea.prototype.__requestJSON=function(T){function O(R){X&&clearTimeout(X),"TIMEOUT"===R&&$.abort()}var U=P(),W=this.params,V=this.options,$=new R.XMLHttpRequest,X=setTimeout(function(){T(V.timeoutErrMsg||"TIMEOUT::接口超时"),O("TIMEOUT")},W.timeout||2e4);V.CDR&&ee(ey)&&(V.querystring.c=decodeURIComponent(ee(ey))),$.onreadystatechange=function(){if(4==$.readyState){var R,P,W=$.status;if(W>=200&&300>W||304==W){O(),R=$.responseText,P=$.getAllResponseHeaders()||"";try{(R=/^\s*$/.test(R)?{}:JSON.parse(R)).responseHeaders=P,V.results=[R],U.resolve()}catch(R){T("PARSE_JSON_ERROR::解析JSON失败")}}else O("ABORT"),T(V.abortErrMsg||"ABORT::接口异常退出")}};var Q,Z,en=V.path+"?"+Y(V.querystring);V.getJSON?(Q="GET",en+="&"+Y(V.postdata)):V.postJSON&&(Q="POST",Z=Y(V.postdata)),"5.0"===W.SV&&window.etSign&&(en+="&bx_et="+window.etSign(en)),$.open(Q,en,!0),$.withCredentials=!0,$.setRequestHeader("Accept","application/json"),$.setRequestHeader("Content-type","application/x-www-form-urlencoded");var er=W.ext_headers||W.headers;if(er)for(var eo in er)$.setRequestHeader(eo,er[eo]);return $.send(Z),U.promise},ea.prototype.__requestWindVane=function(R){function O(R){if(V.results=[R],R&&R.stat&&R.stat.falcoId){var O=function(){},P={mtopStart:ed,mtopEnd:Date.now(),falcoId:R.stat.falcoId};T.windvane.call(ef,"falcoExtend",P,O,O)}U.resolve()}var U=P(),W=this.params,V=this.options,Y=W.data,$=W.api,X=W.v,Q=V.postJSON?1:0,Z=V.getJSON||V.postJSON||V.getOriginalJSONP?"originaljson":"";void 0!==W.valueType&&("original"===W.valueType?Z="originaljson":"string"===W.valueType&&(Z="")),!0===V.useJsonpResultType&&(Z="");var ee,en,er="https"===location.protocol?1:0,eo=W.isSec||0,ei=W.sessionOption||"AutoLoginOnly",ea=W.ecode||0,ec=W.ext_headers||{},eu=W.ext_querys||{};ee=2*(en=void 0!==W.timer?parseInt(W.timer):void 0!==W.timeout?parseInt(W.timeout):2e4);var ed=Date.now();!0===W.needLogin&&void 0===W.sessionOption&&(ei="AutoLoginAndManualLogin"),void 0!==W.secType&&void 0===W.isSec&&(eo=W.secType);var ep={api:$,v:X,post:String(Q),type:Z,isHttps:String(er),ecode:String(ea),isSec:String(eo),param:JSON.parse(Y),timer:en,needLogin:!!W.needLogin,sessionOption:ei,ext_headers:ec,ext_querys:eu};W.ttid&&!0===V.dangerouslySetWVTtid&&(ep.ttid=W.ttid),Object.assign&&W.dangerouslySetWindvaneParams&&Object.assign(ep,W.dangerouslySetWindvaneParams);var ef="MtopWVPlugin";return"string"==typeof W.customWindVaneClassName&&(ef=W.customWindVaneClassName),T.windvane.call(ef,"send",ep,O,O,ee),U.promise},ea.prototype.__requestAlipay=function(T){function O(R){V.results=[R],U.resolve()}var U=P(),W=this.params,V=this.options,Y={apiName:W.api,apiVersion:W.v,needEcodeSign:"1"===String(W.ecode),headers:W.ext_headers||{},usePost:!!V.postJSON};Q(W.data)||(W.data=JSON.parse(W.data)),Y.data=W.data,W.ttid&&!0===V.dangerouslySetWVTtid&&(Y.ttid=W.ttid),(V.getJSON||V.postJSON||V.getOriginalJSONP)&&(Y.type="originaljson"),void 0!==W.valueType&&("original"===W.valueType?Y.type="originaljson":"string"===W.valueType&&delete Y.type),!0===V.useJsonpResultType&&delete Y.type,Object.assign&&W.dangerouslySetAlipayParams&&Object.assign(Y,W.dangerouslySetAlipayParams);var $="mtop";return"string"==typeof W.customAlipayJSBridgeApi&&($=W.customAlipayJSBridgeApi),R.AlipayJSBridge.call($,Y,O),U.promise},ea.prototype.__processRequest=function(R,T){var O=this;return eu.then(function(){var R=O.options;if(R.H5Request&&(R.getJSONP||R.getOriginalJSONP))return O.__requestJSONP(T);if(R.H5Request&&(R.getJSON||R.postJSON))return O.__requestJSON(T);if(R.WindVaneRequest)return e_?O.__requestAlipay(T):O.__requestWindVane(T);throw Error("UNEXCEPT_REQUEST::错误的请求类型")}).then(R).then(function(){var R=O.options,T=(O.params,R.results[0]),P=T&&T.ret||[];T.ret=P,P instanceof Array&&(P=P.join(","));var U=T.c;R.CDR&&U&&Z(ey,U,{domain:R.pageDomain,path:"/",secure:R.secure,sameSite:R.sameSite}),P.indexOf("SUCCESS")>-1?T.retType=ew.SUCCESS:T.retType=ew.ERROR,R.retJson=T})},ea.prototype.__sequence=function(R){function T(R){if(R instanceof Array)R.forEach(T);else{var V,Y=P(),$=P();U.push(function(){return Y=P(),(V=R.call(O,function(R){return Y.resolve(R),$.promise},function(R){return Y.reject(R),$.promise}))&&(V=V.catch(function(R){Y.reject(R)})),Y.promise}),W.push(function(R){return $.resolve(R),V})}}var O=this,U=[],W=[];R.forEach(T);for(var V,Y=eu;V=U.shift();)Y=Y.then(V);for(;V=W.pop();)Y=Y.then(V);return Y};var eb=function(R){if(!ef.EtRequest)return void R();if(window.etSign)return window.__etReady=!0,void R();if(window.__etReady)R();else{V();var T,O,P=Number(ef.EtLoadTimeout)||5e3,U=!1;window.etReady=function(){window.__etReady=!0,U||(U=!0,R())};var W=function(){T&&clearInterval(T),O&&clearTimeout(O),U||(U=!0,R())};T=setInterval(function(){try{window.etSign&&(window.__etReady=!0,W()),window.etReady&&!window.__etReady&&(window.etReady=function(){window.__etReady=!0,W()})}catch(R){W()}},100),O=setTimeout(function(){W()},P)}},eT=function(R){R()};ea.prototype.request=function(O){var P=this;if(this.options=U(O||{},ef),!ec){var W="当前浏览器不支持Promise，请在windows对象上挂载Promise对象";throw T.mtop={ERROR:W},Error(W)}var V=ec.resolve([eb,eT]).then(function(R){var T=R[0],O=R[1];return P.__sequence([T,P.__processRequestMethod,P.__processRequestType,P.__processToken,P.__processRequestUrl,P.middlewares,P.__processRequest,O])}).then(function(){var R=P.options.retJson;return R.retType!==ew.SUCCESS?ec.reject(R):P.options.successCallback?void P.options.successCallback(R):ec.resolve(R)}).catch(function(R){var O;return R instanceof Error?(console.error(R.stack),O={ret:[R.message],stack:[R.stack],retJson:ew.ERROR}):O="string"==typeof R?{ret:[R],retJson:ew.ERROR}:void 0!==R?R:P.options.retJson,T.mtop.errorListener&&T.mtop.errorListener({api:P.params.api,data:P.params.data,v:P.params.v,retJson:O}),P.options.failureCallback?void P.options.failureCallback(O):ec.reject(O)});return this.__processRequestType(),P.options.H5Request&&(P.constructor.__firstProcessor||(P.constructor.__firstProcessor=V),eb=function(R){P.constructor.__firstProcessor.then(R).catch(R)}),("get"===this.params.type&&"json"===this.params.dataType||"post"===this.params.type)&&(O.pageDomain=O.pageDomain||$(R.location.hostname),O.mainDomain!==O.pageDomain&&(O.maxRetryTimes=4,O.CDR=!0)),this.__requestProcessor=V,V},T.mtop=function(R){return new ea(R)},T.mtop.request=function(R,T,O){var P={H5Request:R.H5Request,WindVaneRequest:R.WindVaneRequest,LoginRequest:R.LoginRequest,AntiCreep:R.AntiCreep,AntiFlood:R.AntiFlood,successCallback:T,failureCallback:O||T};return new ea(R).request(P)},T.mtop.H5Request=function(R,T,O){var P={H5Request:!0,successCallback:T,failureCallback:O||T};return new ea(R).request(P)},T.mtop.middlewares=em,T.mtop.config=ef,T.mtop.RESPONSE_TYPE=ew,T.mtop.CLASS=ea}(window,window.lib||(window.lib={})),function(R,T){function O(R){return R.preventDefault(),!1}function P(R){var T=RegExp("(?:^|;\\s*)"+R+"\\=([^;]+)(?:;\\s*|$)").exec(document.cookie);return T?T[1]:void 0}function U(T,P,U){var W=navigator.userAgent.match(/.*(iPhone|iPad|Android|ios|SymbianOS|Windows Phone).*/i),V=W&&P.h5url?P.h5url:P.url,Y=P.dialogSize;U=U||P.attributes;var $=this,X=R.dpr||1,Q=document.createElement("div"),Z=document.documentElement.getBoundingClientRect(),ee=Math.max(Z.width,window.innerWidth)/X,en=window.innerHeight/X;Q.style.cssText=["-webkit-transform:scale("+X+") translateZ(0)","-ms-transform:scale("+X+") translateZ(0)","transform:scale("+X+") translateZ(0)","-webkit-transform-origin:0 0","-ms-transform-origin:0 0","transform-origin:0 0","width:"+ee+"px","height:"+en+"px","z-index:2147483647","position: fixed","left:0","top:0px","background:"+(ee>800?"rgba(0,0,0,.5)":"#FFF"),"display:none"].join(";");var er=document.createElement("div");er.style.cssText="width:100%;height:52px;background:transparent;line-height:52px;text-align:left;box-sizing:border-box;padding-left:20px;position:absolute;left:0;top:0;font-size:16px;font-weight:bold;color:#333",er.innerText=T;var eo=document.createElement("img");eo.style.cssText="display:block;position:absolute;margin-top:15px;right:0;top:0;height:15px;line-height:52px;padding:0 20px;color:#999",eo.src="https://gw.alicdn.com/tfs/TB1QZN.CYj1gK0jSZFuXXcrHpXa-200-200.png";var ei=document.createElement("iframe");if(ei.style.cssText="width:100%;height:100%;border:0;overflow:hidden",W)er.appendChild(eo),Q.appendChild(er);else{var ea=Y&&Y.width||"420px",ec=Y&&Y.height||"320px",eu=50,ed=50,ep=24,ef=-39;ec.indexOf("px")>-1?ep-=Number(ec.replace("px",""))/2:ec.indexOf("%")>-1&&(eu-=Number(ec.replace("%",""))/2),ea.indexOf("px")>-1?ef+=Number(ea.replace("px",""))/2:ea.indexOf("%")>-1&&(ed+=Number(ea.replace("%",""))/2),eo.style.cssText=["position:absolute","width:15px","height:15px","top:"+eu+"%","left:"+ed+"%","cursor: pointer","border:0","z-index:1","overflow:hidden","margin-top:"+ep+"px","margin-left:"+ef+"px"].join(";"),Q.appendChild(eo),ei.style.cssText=["position:absolute","top:0px","left:0px","bottom:0px","right:0px","margin:auto","width:"+ea,"height:"+ec,"border:0","background:#FFF","overflow:hidden","border-radius:18px"].join(";"),U&&U.style&&(ei.style.cssText+=U.style,delete U.style)}if(U)try{U.style&&delete U.style,Object.keys(U).forEach(function(R){ei.setAttribute(R,U[R])})}catch(R){}Q.appendChild(ei),Q.className="J_MIDDLEWARE_FRAME_WIDGET",document.body.appendChild(Q),ei.src=V,eo.addEventListener("click",function(){$.hide();var R=document.createEvent("HTMLEvents");R.initEvent("close",!1,!1),Q.dispatchEvent(R)},!1),this.addEventListener=function(){Q.addEventListener.apply(Q,arguments)},this.removeEventListener=function(){Q.removeEventListener.apply(Q,arguments)},this.show=function(){document.addEventListener("touchmove",O,!1),Q.style.display="block",window.scrollTo(0,0)},this.hide=function(){document.removeEventListener("touchmove",O),window.scrollTo(0,-Z.top),Q.parentNode&&Q.parentNode.removeChild(Q)}}function W(R){var O=this,P=this.options,U=this.params;return R().then(function(){var R=P.retJson,W=R.ret,V=navigator.userAgent.toLowerCase(),Y=V.indexOf("safari")>-1&&0>V.indexOf("chrome")&&0>V.indexOf("qqbrowser");if(W instanceof Array&&(W=W.join(",")),(W.indexOf("SESSION_EXPIRED")>-1||W.indexOf("SID_INVALID")>-1||W.indexOf("AUTH_REJECT")>-1||W.indexOf("NEED_LOGIN")>-1)&&(R.retType=Z.SESSION_EXPIRED,!P.WindVaneRequest&&(!0===Q.LoginRequest||!0===P.LoginRequest||!0===U.needLogin))){if(!T.login)throw Error("LOGIN_NOT_FOUND::缺少lib.login");var $={apiReferer:U.api+":"+U.v};if(!0!==P.safariGoLogin||!Y||"taobao.com"===P.pageDomain)return T.login.goLoginAsync($).then(function(R){return O.__sequence([O.__processToken,O.__processRequestUrl,O.__processUnitPrefix,O.middlewares,O.__processRequest])}).catch(function(R){throw"CANCEL"===R?Error("LOGIN_CANCEL::用户取消登录"):Error("LOGIN_FAILURE::用户登录失败")});T.login.goLogin($)}})}function V(R){var T=this.options;return this.params,!0!==T.H5Request||!0!==Q.AntiFlood&&!0!==T.AntiFlood?void R():R().then(function(){var R=T.retJson,O=R.ret;O instanceof Array&&(O=O.join(",")),O.indexOf("FAIL_SYS_USER_VALIDATE")>-1&&R.data.url&&(T.AntiFloodReferer?location.href=R.data.url.replace(/(http_referer=).+/,"$1"+T.AntiFloodReferer):location.href=R.data.url)})}function Y(T){var O=this,W=this.options,V=this.params;return!1!==W.AntiCreep&&(W.AntiCreep=!0),!0!==V.forceAntiCreep&&!0!==W.H5Request||!0!==Q.AntiCreep&&!0!==W.AntiCreep?void T():T().then(function(){var T=W.retJson,Y=T.ret;if(Y instanceof Array&&(Y=Y.join(",")),Y.indexOf("CHECKJS_FLAG")>-1&&T.uuid&&T.serid){try{var X=!!window.document._sufei_data2,Q=new Image,Z="https://fourier.taobao.com/ts?ext=200&uuid="+T.uuid+"&serid="+T.serid+"&sufei="+X;window.location&&location.href&&(Z+="&href=="+location.href.substr(0,128)),window.__fyModule&&(Z+="&fyModuleLoad="+window.__fyModule.load+"&fyModuleInit="+window.__fyModule.init),window.__umModule&&(Z+="&umModuleLoad="+window.__umModule.load+"&umModuleInit="+window.__umModule.init),window.__uabModule&&(Z+="&uabModuleLoad="+window.__uabModule.load+"&uabModuleInit="+window.__uabModule.init),window.__ncModule&&(Z+="&ncModuleLoad="+window.__ncModule.load+"&ncModuleInit="+window.__ncModule.init),window.__nsModule&&(Z+="&nsModuleLoad="+window.__nsModule.load+"&nsModuleInit="+window.__nsModule.init),window.__etModule&&(Z+="&etModuleLoad="+window.__etModule.load+"&etModuleInit="+window.__etModule.init),Q.src=Z,document.body.appendChild(Q)}catch(R){console.log(R,"上报异常")}return O.__sequence([O.__processToken,O.__processRequestUrl,O.__processUnitPrefix,O.middlewares,O.__processRequest])}if(Y.indexOf("RGV587_RUN_SCRIPT::SM")>-1)return new $(function(R,P){try{var U=O;U.resend=function(){O.__sequence([O.__processToken,O.__processRequestUrl,O.__processUnitPrefix,O.middlewares,O.__processRequest]).then(R)},U.resolve=R,U.reject=P,U.timer=setTimeout(function(){clearTimeout(U.timer),U.timer=null,U.resend()},2e3);var W=document.createElement("script");W.src=T.data.url,W.crossOrigin=!0,W.async=!0,W.onerror=function(){U.resend()};var V=!1;W.onload=W.onreadystatechange=function(){V||W.readyState&&!/loaded|complete/.test(W.readyState)||(W.onload=W.onreadystatechange=null,V=!0,window._bxPunishFun&&"function"==typeof window._bxPunishFun&&window._bxPunishFun(U),T.data.async||(clearTimeout(U.timer),U.timer=null,U.resend()))},(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]||document.firstElementChild||document).appendChild(W)}catch(R){P("SCRIPT_RUN_ERROR::执行失败")}});if((Y.indexOf("RGV587_ERROR::SM")>-1||Y.indexOf("ASSIST_FLAG")>-1)&&T.data.url){if("object"==typeof W.bxOption&&"new"===W.bxOption["bx-"+T.action]){var ee=T.data.url+"&x5referer="+encodeURIComponent(location.href);return location.href=ee,new $(function(){})}var en="_m_h5_smt",er=P(en),eo=!1;if(!0===W.saveAntiCreepToken&&er)for(var ei in er=JSON.parse(er))V[ei]&&(eo=!0);if(!0===W.saveAntiCreepToken&&er&&!eo){for(var ei in er)V[ei]=er[ei];return O.__sequence([O.__processToken,O.__processRequestUrl,O.__processUnitPrefix,O.middlewares,O.__processRequest])}return new $(function(P,Y){function $(){Q.removeEventListener("close",$),R.removeEventListener("message",X),Y("USER_INPUT_CANCEL::用户取消输入")}function X(T){var U,Z;try{U=JSON.parse(T.data)||{}}catch(R){}if(U&&"child"===U.type){Q.removeEventListener("close",$),R.removeEventListener("message",X),Q.hide();try{for(var ee in Z=JSON.parse(decodeURIComponent(U.content)),"string"==typeof Z&&(Z=JSON.parse(Z)),Z)V[ee]=Z[ee];!0===W.saveAntiCreepToken?(document.cookie=en+"="+JSON.stringify(Z)+";",R.location.reload()):O.__sequence([O.__processToken,O.__processRequestUrl,O.__processUnitPrefix,O.middlewares,O.__processRequest]).then(P)}catch(R){Y("USER_INPUT_FAILURE::用户输入失败")}}}var Q=new U("",T.data,T.attributes);Q.addEventListener("close",$,!1),R.addEventListener("message",X,!1),T.data.dialogHide||Q.show()})}})}if(!T||!T.mtop||T.mtop.ERROR)throw Error("Mtop 初始化失败！");var $=R.Promise,X=T.mtop.CLASS,Q=T.mtop.config,Z=T.mtop.RESPONSE_TYPE;T.mtop.middlewares.push(W),T.mtop.loginRequest=function(R,T,O){var P={LoginRequest:!0,H5Request:!0,successCallback:T,failureCallback:O||T};return new X(R).request(P)},T.mtop.antiFloodRequest=function(R,T,O){var P={AntiFlood:!0,successCallback:T,failureCallback:O||T};return new X(R).request(P)},T.mtop.middlewares.push(V),T.mtop.antiCreepRequest=function(R,T,O){var P={AntiCreep:!0,successCallback:T,failureCallback:O||T};return new X(R).request(P)},T.mtop.middlewares.push(Y)}(window,window.lib||(window.lib={}));var coreMiddware=function(R,T){if(!R)return T();var O=R.req,P=(void 0===O?{}:O).libMtopConfig,U=void 0===P?{}:P,W=_object_spread({},defaultRequestOptions,R.req.options);if(window.lib&&window.lib.mtop)return setWindowMtopConfig(U),window.lib.mtop.request(W).then(function(T){R.res=T}).catch(function(R){throw R});console.error("window.lib.mtop undefined!")},libMtopMiddleware=coreMiddware,getAEMainDomain=function(){return/aliexpress\.ru/.test(window.location.host)?EAEMainDomain.AERu:EAEMainDomain.AE},getLazadaMainDomain=function(){return ELazadaMainDomainStr.filter(function(R){return -1!==window.location.host.indexOf(R)})[0]||""},getDarazMainDomain=function(){if(null===(T=window)||void 0===T?void 0:null===(R=T.g_config)||void 0===R?void 0:R.regionID){var R,T,O=window.g_config.regionID;if(EDarazMainDomain[O])return EDarazMainDomain[O]}return EDarazMainDomainStr.filter(function(R){return -1!==window.location.host.indexOf(R)})[0]||""},getMainDomain=function(R){var T="";switch(R){case EApp.Lazada:T=getLazadaMainDomain();break;case EApp.Daraz:case EApp.DarazMM:T=getDarazMainDomain();break;default:T=getAEMainDomain()}return T},urlMiddware=function(R,T){if(!R)return T();var O=getH5App(),P=parseH5Url(),U={},W=getAppEnumConfig(O,EProPrefix),V=P._prefix_;if(V?W="true"===V?getAppEnumConfig(O,EPrePrefix):V:"pre"===R.req.options._env_&&(W=R.req.options._prefix_||getAppEnumConfig(O,EPrePrefix)),["_env_","_prefix_"].forEach(function(T){R.req.options[T]&&delete R.req.options[T]}),U.prefix=W,O===EApp.AE&&V){var Y=P._projectTag_,$=P._dpath_;Y&&(R.req.options.tb_eagleeyex_scm_project=Y),$&&(R.req.options.tb_eagleeyex_dpath_env=$)}return U.subDomain=getAppEnumConfig(O,ESubDomain),U.mainDomain=getMainDomain(O),R.req.libMtopConfig=U,T()},urlMiddleware=urlMiddware,appKeyMiddware=function(R,T){if(!R)return T();var O=R.req,P=(void 0===O?{}:O).options;return(void 0===P?{}:P).appKey||(R.req.options.appKey=getH5AppKey()),T()},appKeyMiddleware=appKeyMiddware,baseMiddlewares=[appKeyMiddleware,urlMiddleware],coreMiddlewares=[libMtopMiddleware],webMtop=function(){var R=new Core$1(baseMiddlewares,coreMiddlewares),T=function(T){return R.request(T)};return T.use=R.use.bind(R),T},webMtop$1=webMtop,baseMtop=webMtop$1(),Mtop=function(){function R(){_class_call_check(this,R)}return _create_class(R,[{key:"request",value:function(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(R){},O=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,P=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,U=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,W=P,V=U,Y=_object_spread({},R);"function"==typeof W&&(Y=W(Y));var $=T,X=O||T;return new Promise(function(R,T){baseMtop(Y).then(function(T){var O=T;"function"==typeof V&&(O=V("success",O)),!O.ret&&O.ok&&(O.ret=["SUCCESS::调用成功"]),$(O),R(O)}).catch(function(R){var O=R;"function"==typeof V&&(O=V("fail",O)),X(O),T(O)})})}}]),R}(),Mtop$1=Mtop,BOTTOM_QUERY_PARAM_LIST=["wh_act_nativebar","wh_bizStageId","wh_fromout","wh_inshopfrom","wh_minisite_scene","wh_pid","wh_seed","wh_solution_version","wh_ttid"],Bottom=function(){function R(){_class_call_check(this,R),_define_property(this,"base64EncodeInput",void 0),_define_property(this,"base64EncodeResult",void 0),this.base64EncodeInput="",this.base64EncodeResult=""}return _create_class(R,[{key:"getBottom",value:function(R){return{location:this.getBottomUrl(R),callback:this.getBottomCallback(R)}}},{key:"getBase64",value:function(R){return R===this.base64EncodeInput||(this.base64EncodeInput=R,this.base64EncodeResult=window.btoa(R)),this.base64EncodeResult}},{key:"getBottomUrl",value:function(R){var T=R.appId||"",O=R.backupParams||{},P=R.prefix;if(R.url)P+=this.getBase64(this.standardizationUrl(R.url||""));else{var U=T.split(",");P+=U.sort().join("/")}return Object.keys(O).sort().forEach(function(R){P+="/".concat(R,"=").concat(O[R])}),P+="/data.jsonp"}},{key:"getBottomCallback",value:function(R){var T="callback_",O=R.appId||"",P=R.backupParams||{};if(R.url)T+=this.getBase64(this.standardizationUrl(R.url||""));else{var U=O.replace(/-/g,"_").split(",");T+=U.sort().join(",")}return Object.keys(P).sort().forEach(function(R){T+="_".concat(R,"_").concat(P[R])}),T}},{key:"standardizationUrl",value:function(R){if(!R)return R;var T=new Url().parse(R),O="http:"===T.protocol?"https:":T.protocol,P=[];BOTTOM_QUERY_PARAM_LIST.forEach(function(R){T.params&&T.params[R]&&P.push("".concat(R,"=").concat(encodeURIComponent(T.params[R])))});var U=P.join("&"),W=T.pathname.endsWith("/")?T.pathname.slice(0,-1):T.pathname;P.length>0&&"/"===T.pathname&&(W+="/");var V="".concat(O,"//").concat(T.hostname).concat(T.port&&":".concat(T.port)).concat(W);return U&&(V+="?".concat(U)),V}}]),R}(),Bottom$1=Bottom;function get(R,T){var O,P=T.split("."),U=R;for(O=0;O<P.length;++O){if(void 0==U[P[O]])return;U=U[P[O]]}return U}function set(R,T,O){for(var P=T.split("."),U=R,W=0;W<P.length-1;W++){var V=P[W];V in U||(U[V]={}),U=U[V]}U[P[P.length-1]]=O}var giveBrowserPaintTime=window.giveBrowserPaintTime||function(){},widthStandard=750,rate=window.innerWidth/widthStandard;function px2rpx(R){return Math.round(R/rate)}var requestAnimationFrame$1=void 0!==window.requestAnimationFrame?window.requestAnimationFrame:function(R){return setTimeout(R,16)},cancelAnimationFrame=void 0!==window.cancelAnimationFrame?window.cancelAnimationFrame:clearTimeout;function yieldToMain(){return new Promise(function(R){setTimeout(R,16)})}var setTimeToRightReportField=function(R){var T=R.time,O=R.minValidTime,P=void 0===O?0:O,U=R.maxValidTime,W=void 0===U?2e4:U,V=R.fieldForValidTime,Y=R.fieldForInvalidTime,$=R.reportData;T>=P&&T<=W?$[V]=T:$[Y]=T},setTimeFieldWhenValid=function(R){var T=R.time,O=R.minValidTime,P=void 0===O?0:O,U=R.maxValidTime,W=void 0===U?2e4:U,V=R.fieldForValidTime,Y=R.reportData;T&&T>=P&&T<=W&&(Y[V]=T)},reportCustomizeJSError=function(){var R=_async_to_generator(function(R){var T,O,P,U,W;return _ts_generator(this,function(V){switch(V.label){case 0:if(T=R.type,O=R.msg,U=void 0===(P=R.extendedParams)?{}:P,shouldNotReport)return[2];return Object.assign(W=_object_spread({category:1007,msg:"".concat(T,"-").concat(O),c1:window.__PAGE_NAME,c2:window.__PAGE_ID,c3:T},getReportRenderInfo("c4","c5")),U),logger$1.notice("[".concat(T,"]: ").concat(O)),[4,yieldToMain()];case 1:return V.sent(),window.__gcpWpkSampleReport&&window.__gcpWpkSampleReport(W),[2]}})});return function(T){return R.apply(this,arguments)}}(),gcpStartConfig=window.gcpStartConfig||{},renderInfo={renderCoreName:gcpStartConfig.renderCoreName||"-",renderCoreVersion:gcpStartConfig.renderCoreVersion||"-"};function getReportRenderInfo(R,T){var O,P=renderInfo.renderCoreName,U=renderInfo.renderCoreVersion;return _define_property(O={},R,P),_define_property(O,T,U),O}var shouldNotReport=!window.__wpk||window.location.href.indexOf("//gcp.lazada.com")>=0,plaftorm="pc"===gcpStartConfig.platform?gcpStartConfig.platform:getEnv.isInAliApp()?"app":"msite",SplitedDataGetter=function(){function R(){_class_call_check(this,R),_define_property(this,"prefetchTimeout",5e3)}return _create_class(R,[{key:"shouldUseSplitedDataGetter",value:function(){var R=utils.getEnv().isInLazAPP;return logger$1.log("[GCP SplitedDataGetter]shouldUseSplitedDataGetter:",R),R}},{key:"getDataByAppSSRDataCache",value:function(){var R=this;return new Promise(function(T){var O=!1;window.WindVane&&window.WindVane.call("LACustomWVPlugin","getCache",{action:"ssr_page_data"},function(R){O=!0;try{if(R){var P,U=null===(P=R)||void 0===P?void 0:P.data,W="string"==typeof U?JSON.parse(U):U;logger$1.log("[GCP SplitedDataGetter]Windvane callback data:",W),T({ssrData:W,success:!!W})}else logger$1.log("[GCP SplitedDataGetter]Windvane callback data response body empty"),T({success:!1,failType:"callbackValueResEmpty",msg:R})}catch(R){reportCustomizeJSError({type:SPLITED_DATA_GETTER_ERROR,msg:R.message}),T({success:!1,failType:"parseCallbackValueErr",msg:R})}},function(R){logger$1.log("[GCP SplitedDataGetter]Error".concat(JSON.stringify(R))),reportCustomizeJSError({type:SPLITED_DATA_GETTER_ERROR,msg:JSON.stringify(R)}),O=!0,T({success:!1,failType:"callbackValueErr",msg:R})}),setTimeout(function(){O||(logger$1.log("[GCP Prefetch]Prefetch data callback timeout"),T({success:!1,failType:"timeout"}))},R.prefetchTimeout)})}}]),R}(),splitedDataGetter=new SplitedDataGetter;function getGlobalInfo(){var R={};try{var T=(index$2.getCookie("hng")||"").toLowerCase(),O=(T=decodeURIComponent(T)).split("|");R.locale=(O[1]||"").split("-")[0],R.region=O[0]||"",R.currency=O[2]||""}catch(R){console.error("parse cookie error",R)}return R}var PrefetchV2=function(){function R(){_class_call_check(this,R),_define_property(this,"prefetchTimeout",5e3)}return _create_class(R,[{key:"shouldUsePrefetch",value:function(){return utils.getEnv().isInLazAPP?!!index$3.PrefetchV2.isSupportV2()||(logger$1.log("[prefetch-v2-skip] not support"),!1):(logger$1.log("[prefetch-v2-skip] not in lazapp"),!1)}},{key:"getDataByAppPrefetch",value:function(){var R=this;return _async_to_generator(function(){var T;return _ts_generator(this,function(O){switch(O.label){case 0:return O.trys.push([0,2,,3]),[4,index$3.PrefetchV2({prefetchTimeOut:R.prefetchTimeout})];case 1:return[2,O.sent()];case 2:return reportCustomizeJSError({type:PREFETCH_ERROR,msg:(T=O.sent()).error.message}),[2,T];case 3:return[2]}})})()}}]),R}(),prefetchV2=new PrefetchV2;function fetch$1(R){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return pcomFetch(R,T)}var DataLoader=function(){function R(T){_class_call_check(this,R),_define_property(this,"ctx",void 0),_define_property(this,"isFirstScreen",!0),_define_property(this,"hasMoreModules",!0),_define_property(this,"fri",void 0),_define_property(this,"excludes",void 0),_define_property(this,"pvuuid",""),_define_property(this,"schemaVersion",""),_define_property(this,"sequence",1),_define_property(this,"mtop",void 0),_define_property(this,"bottom",void 0),_define_property(this,"preloadNextScreenDataPromises",[]),this.ctx=T,this.mtop=new Mtop$1,this.bottom=new Bottom$1}return _create_class(R,[{key:"getExcludes",value:function(R,T){return(R||[]).map(function(R){return R.uuid||R.moduleId}).concat(T||[]).sort().join(";")}},{key:"getPageUrlFromMeta",value:function(){var R=document.querySelector('meta[name="page-url"]');return R?R.getAttribute("content"):null}},{key:"getMtopParams",value:function(R){var T="currency,regionId,language,device",O=this.ctx.config,P=O.mtopConfig,U=R.sequence,W=R.excludes,V=R.pvuuid,Y=R.schemaVersion,$=R.fri,X=getGlobalInfo(),Q=X.locale,Z=X.region,ee=X.currency,en=this.getPageUrlFromMeta()||O.url;en=en.replace("ssr_type=UPRPROXY_SSR","ssr_type=KANGAROO_SSR"),window.__FIRST_SCREEN_DATA_CACHE_KEY&&(en=en.replace("?","?data_cache_key=".concat(window.__FIRST_SCREEN_DATA_CACHE_KEY,"&")));var er={backupParams:1===U?T:"".concat(T,",excludes"),url:en,device:O.platform,regionId:Z,language:Q,currency:ee,sequence:U,extParam:JSON.stringify({screenHeight:window.innerHeight,screenWidth:window.innerWidth,platform:O.platform}),pvuuid:V,cookie:""};return 1!==U&&(er.excludes=W,er.fri=$,er.schemaVersion=Y),{api:P.pageRecommendApi,jsonpIncPrefix:"kangaroo",timeout:P.timeout,v:"1.0",isSec:1,ecode:0,appKey:P.appKey,type:P.type,dataType:"jsonp",_env_:"pre",_prefix_:P.prefix,data:er}}},{key:"getBottomParams",value:function(){var R=this.ctx.config,T=getGlobalInfo(),O=T.locale,P=T.region,U=T.currency;return{reqSourcePrefixMap:{utcp:"//".concat(R.bottomConfig.kangaroo,".alicdn.com/bottom/"),"utcp-us":"//".concat(R.bottomConfig.kangaroo,".alicdn.com/bottom/"),"ald-lamp":"//".concat(R.bottomConfig.aldlamp,".alicdn.com/bottom/"),"ald-lamp-us":"//".concat(R.bottomConfig.aldlamp,".alicdn.com/bottom/")},url:this.resetUrlSSRDomainToWormhole(R.url),mainReqSource:"utcp-us",backupParams:{device:R.platform,regionId:P,language:O,currency:U}}}},{key:"resetUrlSSRDomainToWormhole",value:function(R){return R.replace(/:\/\/ssr-std-pre.lazada/i,"://pre-wormhole.lazada").replace(/:\/\/ssr.lazada/i,"://pre-wormhole.lazada").replace(/:\/\/ssr-std.lazada/i,"://pages.lazada")}},{key:"sleep",value:function(R){return _async_to_generator(function(){return _ts_generator(this,function(T){return[2,new Promise(function(T){setTimeout(T,R)})]})})()}},{key:"safeRetry",value:function(R,T,O){var P=this;return _async_to_generator(function(){var U,W,V,Y,$;return _ts_generator(this,function(X){switch(X.label){case 0:T=T||10,O=O||3e3,U=0,X.label=1;case 1:if(!(U<T))return[3,5];return logger$1.log("[safe-retry-begin]",U),W=Date.now(),[4,R()];case 2:if(V=X.sent())return logger$1.log("[safe-retry-success]"),[2,V];if(!((Y=Date.now()-W)<($=O+1e3*U)))return[3,4];return[4,P.sleep($-Y)];case 3:X.sent(),X.label=4;case 4:return U++,[3,1];case 5:return[2]}})})()}},{key:"addFlagIfIsBottomData",value:function(R){R&&R.isBottomData&&(R.modules||[]).forEach(function(T){((R.data||{})[T.uuid]||{}).isBottomData=R.isBottomData})}},{key:"getFirstScreenData",value:function(){var R=this;return _async_to_generator(function(){var T;return _ts_generator(this,function(O){switch(O.label){case 0:if(!(window.__FIRST_SCREEN_DATA&&!window.ssrHtmlIsFromCache))return[3,1];return T=window.__FIRST_SCREEN_DATA,"TRADITION_SSR"===window.__SSR_TYPE&&(window.__FIRST_SCREEN_USE_TRADITION_SSR=!0),"UPRPROXY_SSR"===window.__SSR_TYPE&&(window.__FIRST_SCREEN_USE_UPRPROXY_SSR=!0),[3,11];case 1:if(!(window.__FIRST_SCREEN_DATA_SPLITTED&&"UPRPROXY_SSR"===window.__SSR_TYPE&&!window.ssrHtmlIsFromCache))return[3,3];return[4,R.getFirstScreenDataByAppSSRCache()];case 2:return(T=O.sent())&&(window.__FIRST_SCREEN_USE_UPRPROXY_SSR=!0),[3,5];case 3:return[4,R.getFirstScreenDataByPrefetch()];case 4:T=O.sent(),O.label=5;case 5:if(T)return[3,7];return[4,R.getFirstScreenDataByNetwork()];case 6:T=O.sent(),O.label=7;case 7:if(T)return[3,9];return[4,R.getFirstScreenDataByBottom()];case 8:T=O.sent(),O.label=9;case 9:if(T)return[3,11];return[4,R.safeRetry(R.getFirstScreenDataByNetwork.bind(R))];case 10:T=O.sent(),O.label=11;case 11:if(!T)throw Error("[GET_FIRST_SCREEN_DATA_FAILED]");return[4,R.checkSingleResource(T)];case 12:return(T=O.sent())&&(R.hasMoreModules=T.hasMoreModules,R.pvuuid=T.pvuuid,R.schemaVersion=T.pageInfo&&T.pageInfo.schemaVersion,R.fri=JSON.stringify(T.fri),R.excludes=R.getExcludes(T.modules,T.moduleIdsWithoutValidData),R.addFlagIfIsBottomData(T)),R.isFirstScreen=!1,window.lzdWebviewHidden||R.preloadNextScreenDataPromises.push(R.getNextScreenData(!0)),[2,T]}})})()}},{key:"getFirstScreenDataByAppSSRCache",value:function(){return _async_to_generator(function(){var R,T,O,P;return _ts_generator(this,function(U){switch(U.label){case 0:if(!splitedDataGetter.shouldUseSplitedDataGetter())return[2];return O=new Date().getTime(),[4,splitedDataGetter.getDataByAppSSRDataCache()];case 1:if(T=U.sent(),P=new Date().getTime(),window.__FIRST_SCREEN_SPLITED_DATA_RESPONSE_TIME=P-O,null===(R=T)||void 0===R?void 0:R.ssrData)return window.__FIRST_SCREEN_USE_SPLITED_DATA=!0,[2,T.ssrData];return[2]}})})()}},{key:"getFirstScreenDataByPrefetch",value:function(){return _async_to_generator(function(){var R,T,O,P,U,W;return _ts_generator(this,function(V){switch(V.label){case 0:if(!prefetchV2.shouldUsePrefetch())return[3,2];return U=new Date().getTime(),[4,prefetchV2.getDataByAppPrefetch()];case 1:if(P=V.sent(),W=new Date().getTime(),window.__FIRST_SCREEN_USE_PREFETCH=!0,window.__FIRST_SCREEN_PREFETCH_RESPONSE_TIME=W-U,null===(O=P)||void 0===O?void 0:null===(T=O.data)||void 0===T?void 0:null===(R=T.data)||void 0===R?void 0:R.resultValue)return window.__FIRST_SCREEN_PREFETCH_RESPONSE_SUCCESS=!0,[2,P.data.data.resultValue];P&&P.data&&(window.__FIRST_SCREEN_PREFETCH_RESPONSE_TRACE_ID=P.data.data?P.data.data.traceId:void 0,window.__FIRST_SCREEN_PREFETCH_RESPONSE_MESSAGE=P.data.ret?P.data.ret[0]:void 0),window.__FIRST_SCREEN_PREFETCH_RESPONSE_SUCCESS=!1,V.label=2;case 2:return[2]}})})()}},{key:"getFirstScreenDataByNetwork",value:function(){var R=this;return _async_to_generator(function(){var T,O,P;return _ts_generator(this,function(U){switch(U.label){case 0:return T=new Date().getTime(),window.__FIRST_SCREEN_USE_NETWORK=!0,window.__FIRST_SCREEN_USE_NETWORK_FETCH_TIME=(window.__FIRST_SCREEN_USE_NETWORK_FETCH_TIME||0)+1,[4,R.getScreenDataByNetwork()];case 1:return O=U.sent(),P=new Date().getTime(),window.__FIRST_SCREEN_NETWORK_RESPONSE_TIME=P-T,O?window.__FIRST_SCREEN_NETWORK_RESPONSE_SUCCESS=!0:(window.__FIRST_SCREEN_NETWORK_RESPONSE_TRACE_ID=window.__CURRENT_SCREEN_NETWORK_RESPONSE_TRACE_ID,window.__FIRST_SCREEN_NETWORK_RESPONSE_MESSAGE=window.__CURRENT_SCREEN_NETWORK_RESPONSE_MESSAGE,window.__FIRST_SCREEN_NETWORK_RESPONSE_SUCCESS=!1),[2,O]}})})()}},{key:"getFirstScreenDataByBottom",value:function(){var R=this;return _async_to_generator(function(){var T,O,P;return _ts_generator(this,function(U){switch(U.label){case 0:return window.__FIRST_SCREEN_USE_BOTTOM=!0,T=new Date().getTime(),[4,R.getScreenDataByBottom()];case 1:return O=U.sent(),P=new Date().getTime(),window.__FIRST_SCREEN_BOTTOM_RESPONSE_TIME=P-T,O?window.__FIRST_SCREEN_BOTTOM_RESPONSE_SUCCESS=!0:window.__FIRST_SCREEN_BOTTOM_RESPONSE_SUCCESS=!1,[2,O]}})})()}},{key:"getNextScreenData",value:function(R){var T=this;return _async_to_generator(function(){var O;return _ts_generator(this,function(P){switch(P.label){case 0:if(logger$1.log("[get-next-screen-data]","isPreload:",R,"hasMoreModules",T.hasMoreModules),!R&&T.preloadNextScreenDataPromises.length)return[2,T.preloadNextScreenDataPromises.shift()];if(!T.hasMoreModules||!T.fri||!T.excludes)return[2];return T.sequence=T.sequence+1,[4,T.getScreenDataByNetwork()];case 1:if(O=P.sent())return[3,3];return[4,T.getScreenDataByBottom()];case 2:O=P.sent(),P.label=3;case 3:if(O)return[3,5];return[4,T.safeRetry(T.getScreenDataByNetwork.bind(T))];case 4:O=P.sent(),P.label=5;case 5:if(!O)throw Error("[GET_NEXT_SCREEN_DATA_FAILED]");return[4,T.checkSingleResource(O)];case 6:return O=P.sent(),logger$1.log("[next-screen-data-single-resource-checked]",O),O&&(T.hasMoreModules=O.hasMoreModules,T.fri=JSON.stringify(O.fri),T.excludes="".concat(T.excludes,";").concat(T.getExcludes(O.modules,O.moduleIdsWithoutValidData)),T.addFlagIfIsBottomData(O)),T.preloadNextScreenDataPromises.push(T.getNextScreenData(!0)),[2,O]}})})()}},{key:"getScreenDataByBottom",value:function(){var R=this;return _async_to_generator(function(){var T,O,P,U,W,V;return _ts_generator(this,function(Y){switch(Y.label){case 0:T=1===R.sequence,O=R.getBottomParams(),P=R.bottom.getBottom({appId:O.appId||"",prefix:O.reqSourcePrefixMap[O.mainReqSource],backupParams:T?O.backupParams:_object_spread_props(_object_spread({},O.backupParams),{excludes:R.excludes||[]}),url:O.url}),Y.label=1;case 1:return Y.trys.push([1,5,,6]),logger$1.log("[get-screen-data-by-bottom-begin]",R.sequence,P.location,P.callback),[4,fetch$1(P.location,{mode:"jsonp",jsonpCallback:"cb",jsonpCallbackFunctionName:P.callback})];case 2:if(!(U=Y.sent()))return[3,4];return[4,U.json()];case 3:if(W=Y.sent(),logger$1.log("[get-screen-data-by-bottom-fetched]",W),W)return W.resStatus="oss-bottom",W.isBottomData=!0,[2,W];reportCustomizeJSError({type:SCREEN_BOTTOM_JSONP_ERROR,msg:"".concat(R.sequence,",").concat(P.location,",response with no data.")}),Y.label=4;case 4:return[3,6];case 5:return V=Y.sent(),reportCustomizeJSError({type:SCREEN_BOTTOM_JSONP_ERROR,msg:"".concat(R.sequence,",").concat(V.message)}),[3,6];case 6:return[2]}})})()}},{key:"getScreenDataByNetwork",value:function(){var R=this;return _async_to_generator(function(){var T,O,P,U,W,V,Y,$,X,Q,Z,ee,en,er,eo;return _ts_generator(this,function(ei){switch(ei.label){case 0:T=R.getMtopParams(R),window.__mtopNetwork__=window.__mtopNetwork__||[],ei.label=1;case 1:return ei.trys.push([1,3,,4]),logger$1.log("[get-screen-data-by-network-begin]",R.sequence,T),[4,R.mtop.request(T)];case 2:if(O=ei.sent(),logger$1.log("[get-screen-data-by-network-fetched]",O),O.ok||O.ret&&O.ret[0]&&"SUCCESS::调用成功"===O.ret[0]){if("lazada-gcp-handler"===((P=O.data.resultValue)||{}).handler)return logger$1.warn("[wrong-pre-hot-link-reload]","open source page in pre_hot webview"),[2,location.replace("".concat(location.href).concat("".concat(location.href.includes("?")?"&":"?","wrong_pre_hot_link_reload=true")))];return[2,P]}return window.__CURRENT_SCREEN_NETWORK_RESPONSE_TRACE_ID=O.data?O.data.traceId:void 0,window.__CURRENT_SCREEN_NETWORK_RESPONSE_MESSAGE=O.ret?O.ret[0]:void 0,reportCustomizeJSError({type:MTOP_ERROR,msg:"".concat(R.sequence,",traceId: ").concat(null!==($=null===(W=O)||void 0===W?void 0:null===(U=W.data)||void 0===U?void 0:U.traceId)&&void 0!==$?$:"",",reason: ").concat(null!==(X=null===(Y=O)||void 0===Y?void 0:null===(V=Y.ret)||void 0===V?void 0:V[0])&&void 0!==X?X:"")}),[3,4];case 3:return console.log(Q=ei.sent()),Q&&Q.ret?(window.__CURRENT_SCREEN_NETWORK_RESPONSE_MESSAGE=Q.ret[0],reportCustomizeJSError({type:MTOP_ERROR,msg:"".concat(R.sequence,",reason: ").concat(Q.ret[0])}),eo=null!==(er=null===(en=Q)||void 0===en?void 0:null===(ee=en.data)||void 0===ee?void 0:null===(Z=ee.resultValue)||void 0===Z?void 0:Z.error)&&void 0!==er?er:"",location.href.includes("wrong_pre_hot_link_reload=true")&&logger$1.warn("[wrong-pre-hot-link-reload]",eo.replace("InfoStructBlankException ","")),eo.includes("InfoStructBlankException")&&!location.href.includes("wrong_pre_hot_link_reload=true")&&location.replace("".concat(location.href).concat("".concat(location.href.includes("?")?"&":"?","wrong_pre_hot_link_reload=true")))):reportCustomizeJSError({type:MTOP_ERROR,msg:"".concat(R.sequence,",reason: ").concat(Q.message)}),[3,4];case 4:return[2]}})})()}},{key:"checkSingleResource",value:function(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=this;return _async_to_generator(function(){var O,P,U;return _ts_generator(this,function(W){switch(W.label){case 0:if(!(R.failApp&&R.failApp.length>0))return[3,2];return O=[],P=/\.autoBuildTag/,reportCustomizeJSError({type:FAIL_APP_REPORT,msg:(U=R.failApp).join(",")}),Array.prototype.forEach.call(U,function(U){var W=U;P.test(W)&&(W=W.replace(".autoBuildTag",".data"));var V=get(R.data,W),Y=Array.isArray(V)&&V.length?V[0]:V;if(Y&&Y.__data_param&&Y.__data_source&&Y.__data_param.backupParams){var $={};(Array.isArray(Y.__data_param.backupParams)?Y.__data_param.backupParams.join(","):Y.__data_param.backupParams).split(",").forEach(function(R){$[R]=Y.__data_param[R]});var X={appId:Y.__data_param.appId,backupParams:$,prefix:T.getBottomParams().reqSourcePrefixMap[Y.__data_source]},Q=T.bottom.getBottom(X),Z=fetch$1(Q.location,{mode:"jsonp",jsonpCallback:"cb",jsonpCallbackFunctionName:Q.callback}).then(function(R){return R.json()}).then(function(T){var O=T.data;set(R.data,W,O);var P=(W||"").split(".")[0];P&&set(R.data,"".concat(P,".isBottomData"),!0)}).catch(function(R){reportCustomizeJSError({type:SINGLE_BOTTOM_JSONP_ERROR,msg:R.message})});O.push(Z)}}),[4,Promise.all(O)];case 1:W.sent(),W.label=2;case 2:return[2,R]}})})()}}]),R}(),DataLoader$1=DataLoader,APIClass=function(){function R(T){_class_call_check(this,R),_define_property(this,"ctx",void 0),_define_property(this,"dataProcessor",void 0),_define_property(this,"dataLoader",void 0),_define_property(this,"moduleProcessor",void 0),this.ctx=T,this.dataLoader=new DataLoader$1(T),this.dataProcessor=new DataProcessor$1(T),this.moduleProcessor=new ModuleProcessor$1(T)}return _create_class(R,[{key:"getModules",value:function(R){var T=this;return _async_to_generator(function(){return _ts_generator(this,function(O){switch(O.label){case 0:return[4,T.moduleProcessor.getModules(R)];case 1:return[2,O.sent()]}})})()}},{key:"getFirstScreenData",value:function(){var R=this;return _async_to_generator(function(){return _ts_generator(this,function(T){switch(T.label){case 0:return[4,R.dataLoader.getFirstScreenData()];case 1:return[2,T.sent()]}})})()}},{key:"getNextScreenData",value:function(){var R=this;return _async_to_generator(function(){return _ts_generator(this,function(T){switch(T.label){case 0:return[4,R.dataLoader.getNextScreenData()];case 1:return[2,T.sent()]}})})()}},{key:"processData",value:function(R,T){return this.dataProcessor.processData(R,T)}},{key:"processDataSync",value:function(R){return this.dataProcessor.processDataSync(R)}},{key:"resetDataProcessor",value:function(){this.dataProcessor.allModRows=[]}}]),R}(),STYLE="style";function jsx(R,T,O,P,U){return jsxRuntime.jsx(R,hijackElementProps(T),O,P,U)}function jsxs(R,T,O,P,U){return jsxRuntime.jsxs(R,hijackElementProps(T),O,P,U)}function isObject(R){return"object"==typeof R}function hijackElementProps(R){if(R&&STYLE in R){var T=R.style;if(isObject(T)){var O=Object.assign({},R),P={};for(var U in T)P[U]="string"==typeof T[U]?convertUnit(T[U]):T[U];return O.style=P,O}}return R}var PageBackgroundImage=function(R){var T=R.backgroundUrl;return T?jsx("img",{src:T,style:{position:"absolute",top:0,left:0,width:"100%",maxHeight:"initial"}}):null},getBGImageData=function(R,T){if(R&&R[T]&&R[T].backgroundData){var O,P,U,W=R[T].backgroundData,V=W.filter(function(R){return"backgroundImageUrl"===R.name});O=V.length?V[0].value:"";var Y=W.filter(function(R){return"width"===R.name});P=Y.length?Y[0].value:"";var $=W.filter(function(R){return"backgroundImageUrl"===R.name});U=$.length?$[0].value:""}return{url:O,ratio:P&&U&&P/U||2}},getBGColor=function(R,T){if(!R)return"transparent";if(R&&R[T]&&R[T].backgroundData){var O,P=R[T].backgroundData.filter(function(R){return"backgroundColor"===R.name});O=P.length?P[0].value:""}return O||"transparent"},getBgScrollableStatus=function(R,T){if(!R)return!0;try{if(R&&R[T]&&Object.prototype.hasOwnProperty.call(R[T],"bgScrollable"))return R[T].bgScrollable;return!0}catch(R){return!0}},createPageTheme=function(R){return function(T){var O,P=R?"pc":"mobile",U=T&&T.pageInfo&&T.pageInfo.theme;if("string"==typeof U)try{U=JSON.parse(U)}catch(R){U=null,logger$1.warn("[create-page-theme-error]","unable to parse pageInfo.theme ".concat(U),R,R.message,R.stack)}var W="transparent",V=!0;U&&(W=getBGColor(U,P),O=getBGImageData(U,P),V=getBgScrollableStatus(U,P));var Y={backgroundColor:W,position:R?"static":"absolute"},$=null,X=null;return O&&O.url&&(R?(Y.backgroundImage="url(".concat(O.url,")"),Y.backgroundPosition="top center",Y.backgroundRepeat="no-repeat"):$=jsx(PageBackgroundImage,{backgroundUrl:X=index$4.getFitUrl(O.url,0,0,{size:"750x"}),ratio:O.ratio})),{pageStyle:Y,BackgoundImage:$,bgScrollable:V,backgroundImageUrl:X}}},createPageTheme$1=createPageTheme,withRecycleviewItem=function(R){return R.dependencies,R.variables,function(R){return function(T){var O=T.moduleInfo,P=T.pageInfo,U="floor-title"===O.fullName?void 0:"mui-zebra-module aplus-common-module-data-tracker",W=O.uuid||O.moduleId,V="".concat(O.name,".").concat(W,".").concat(O.index),Y=V,$=P?"".concat(P.spma,".").concat(P.spmb,".").concat(W):"",X=P&&P.fri&&P.fri.floorCustomize,Q=P&&P.fri&&P.fri.autoBuild,Z=X||Q;if(Z)try{var ee=JSON.parse(Z).find(function(R){return R.moduleUUID===O.uuid});Y=ee&&ee.trackInfo||Y}catch(R){logger$1.warn("[with-recycle-view-item-error]",R,R.message,R.stack)}var en={className:U,"data-tracker":W,trackinfo:Y,"data-module":V,"mod-spm":$,"data-spm-anchor-id":"".concat($,".0.0")},er={};return jsx(R,_object_spread_props(_object_spread({},T),{itemProps:en,modRowsProps:er}))}}},withRecycleviewItem$1=withRecycleviewItem;function plugin$3(R){R.isPC="pc"===R.config.platform,R.isMobile="pc"!==R.config.platform,R.isMsite="phone"===R.config.platform,R.getElevatorTitle=function(T){var O=T.moduleInfo;if(O&&O.data){var P=O.data.theme||{};if(!(R.isPC?"true"===P.hidePCElevatorTitle:"true"===P.hideMobileElevatorTitle))return O.data.floorTitle&&O.data.floorTitle.text}},R.createPageTheme=createPageTheme$1(R.isPC),R.withRecycleviewItem=withRecycleviewItem$1}function addCpsRtTrackingJs(){try{if(!(utils.getUrlParam("laz_trackid",window.location.search,!0)||utils.getUrlParam("exlaz",window.location.search,!0)||utils.getUrlParam("i_exlaz",window.location.search,!0)))return;function R(){var R=Date.now(),T=window.performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(O){var P=16*Math.random();return R>0?(P=(R+P)%16|0,R=Math.floor(R/16)):(P=(T+P)%16|0,T=Math.floor(T/16)),("x"===O?P:3&P|8).toString(16)})}function T(){return R()}function O(){var R,O=P("mkttid");return O?R=O:window.__mkttid?R=window.__mkttid:(R=T(),window.__mkttid=R),R}function P(R){var T=window.location.search,O=T.indexOf("#");O>0&&(T=T.substr(0,O));var P=T.match(new RegExp("[?|&]".concat(encodeURIComponent(R),"=([^&]*)(&|$)")));return P&&"%s"===P[1]?P[1]:P?decodeURIComponent(P[1]):""}function U(){var R=new Image,T=/pre-/.test(window.location.host)?"pre-c":"c",P=window.location.host;P=getEnv.isDrzShopMM()?P.replace(/[\w-.]+\.shop\./,"".concat(T,".shop.")):getEnv.isDrz()?P.replace(/[\w-.]+\.daraz\./,"".concat(T,".daraz.")):P.replace(/[\w-.]+\.lazada\./,"".concat(T,".lazada."));var U=encodeURIComponent(window.location.href),W=O();R.src="//".concat(P,"/t/v.gif?mkttid=").concat(W,"&lpUrl=").concat(U,"&__t=").concat(Date.now())}setTimeout(U,0)}catch(R){logger$1.warn("[add-cps-rt-tracking-js-exception]",R,R.message,R.stack)}}function calculateCfpt(R,T,O,P){logger$1.log("[calculate-cfpt]",R,T,O,P);var U=window.__MTOP_SSR_RENDERED?window.__SSR_RENDERED_TIME:window.performance.now&&window.performance.now(),W=utils.getTimeOrigin();P?window.cfpt=calculateCfptOfUprProxySSR(U):O?window.cfpt=calculateCfptOfTraditionSSR(U):T?window.cfpt=calculateCfptOfKangarooSSR():(R?window.cfpt=U-window.prehotShowUpTime:window.cfpt=U,window.__COMPONENT_DID_MOUNT_TIMESTAMP=U+W),(window.cfpt<=0||window.cfpt>6e4)&&logger$1.warn("[calculate-cfpt-value-abnormal]",JSON.stringify({cfpt:window.cfpt,isPrehot:R,isKangarooSSR:T,isTraditionSSR:O,isUprProxySSR:P,now:U,prehotShowUpTime:window.prehotShowUpTime})),window.__PAGE_CFPT=window.cfpt}function calculateCfptOfUprProxySSR(R){try{var T,O=parseInt(utils.getUrlParamLast("uprproxy_time",window.location.search)),P=Date.now();if(window.__FIRST_SCREEN_RENDERED_BY_SSR){var U=window.performance.getEntriesByName("first-contentful-paint")[0],W=P-R;T=U?W+U.startTime-O:-1}else T=P-O;return window.__COMPONENT_DID_MOUNT_TIMESTAMP=O+T,(T<=0||T>=2e4)&&logger$1.warn("[calculate-cfpt-of-uprproxy-ssr-value-abnormal]",O,T),T}catch(R){return logger$1.warn("[calculate-cfpt-of-uprproxy-ssr-error]",R,R.message,R.stack),-1}}function calculateCfptOfTraditionSSR(R){try{var T,O=utils.getTimeOrigin();if(window.__FIRST_SCREEN_RENDERED_BY_SSR){var P=window.performance.getEntriesByName("first-contentful-paint")[0];T=P?P.startTime:-1}else T=R;return window.__COMPONENT_DID_MOUNT_TIMESTAMP=O+T,(T<=0||T>=2e4)&&logger$1.warn("[calculate-cfpt-of-tradidion-ssr-value-abnormal]",O,T),T}catch(R){return logger$1.warn("[calculate-cfpt-of-tradition-ssr-error]",R,R.message,R.stack),-1}}function calculateCfptOfKangarooSSR(){try{var R=window.prehotShowUpTime||0,T=window.__SSR_RENDERED_TIME||window.performance.now&&window.performance.now(),O=T-R;return window.__COMPONENT_DID_MOUNT_TIMESTAMP=T+utils.getTimeOrigin(),(O<=0||O>=2e4)&&logger$1.warn("[calculate-cfpt-of-kangaroo-ssr-value-abnormal]",R,T,O),O}catch(R){return logger$1.warn("[calculate-cfpt-of-kangaroo-ssr-error]",R,R.message,R.stack),-1}}function noticeApp(R,T){logger$1.log("[notice-app]",R,T);var O=[];window.mtopStarttime&&window.mtopEndtime&&O.push({type:"mtopConsumeTime",startTime:window.mtopStarttime,endTime:window.mtopEndtime}),window.WindVane&&window.WindVane.isAvailable&&window.WindVane.call("LACustomWVPlugin","reportPerformanceInfo",{webViewType:T,url:location.href,containerType:"object"==typeof window.__pha_environment__?1:0,firstScreenPaint:R,firstScreenPaintTimeStamp:+new Date,perf:O})}function noticeAppPrehotShow(){noticeApp(window.__PAGE_CFPT,"show_pre_hot")}function noticeAppNormalShow(){noticeApp(window.__PAGE_CFPT,"")}function noticeUprProxySsrShow(){noticeApp(window.__PAGE_CFPT,"show_uprproxy_ssr")}function noticeAppPHAShow(){noticeApp(1,"")}var sendDetail2App=function(R){logger$1.log("[send detail to app]");var T={functype:"ctrl",funcId:"19999",url:"".concat(location.origin).concat(location.pathname),_h5url:location.href,"spm-cnt":"".concat(R.spma,".").concat(R.spmb),pageId:R.id,logkey:"/lazada_campaign.campaign_info.page_info"};window.WindVane&&window.WindVane.isAvailable&&window.WindVane.call("WVTBUserTrack","toUT2",T,function(){},function(R){logger$1.log("[send-detail-to-app-error]",R)})};function noticeAppPageShow(R){var T=R.isPrehot,O=R.isKangarooSSR,P=R.isTraditionSSR,U=R.isUprProxySSR;calculateCfpt(T,O,P,U),T?noticeAppPrehotShow():U?noticeUprProxySsrShow():noticeAppNormalShow()}var aplusConfig={logkey:"",enabled:!0,disableAutoLaunch:!0,pages:[{goldlogQueueKeys:[],pageName:"BlU3j9YXYf6v9UPo",cookieKeys:[{cookieName:"t_sid",commitKey:"ps_i"},{cookieName:"t_uid",commitKey:"pc_i"},{cookieName:"t_uid",commitKey:"pu_i"}],extraParams:{}}],isSPA:!1,stdId:"BlU3j9YXYf6v9UPo",points:[{selector:".aplus-benefit-data-tracker",trackerType:"exposure",goldlogQueueKeys:[],pageName:"BlU3j9YXYf6v9UPo",arg1:"/lazada-marketing.ug.benefit",cookieKeys:[],customArgs:{},logkey:"/lazada-marketing.ug.benefit",attrArgs:[{commitKey:"life_cycle",recursive:!1,attrName:"exp_life_cycle"},{commitKey:"promotion_tracking",recursive:!1,attrName:"promotion_tracking"},{commitKey:"track_info",recursive:!1,attrName:"track_info"},{commitKey:"user_data",recursive:!1,attrName:"user_data"},{commitKey:"promotion_id",recursive:!1,attrName:"promotion_id"},{commitKey:"promotion_status",recursive:!1,attrName:"promotion_status"},{commitKey:"plan_id",recursive:!1,attrName:"plan_id"},{commitKey:"scene_id",recursive:!1,attrName:"scene_id"},{commitKey:"tag_union_id",recursive:!1,attrName:"tag_union_id"},{commitKey:"tag_id",recursive:!1,attrName:"tag_id"},{commitKey:"promotion_source",recursive:!1,attrName:"promotion_source"},{commitKey:"is_auto_collect",recursive:!1,attrName:"is_auto_collect"},{commitKey:"module",recursive:!1,attrName:"module"},{commitKey:"promotion_allow_cnt",recursive:!1,attrName:"promotion_allow_cnt"},{commitKey:"promotion_amount",recursive:!1,attrName:"promotion_amount"},{commitKey:"discount_type",recursive:!1,attrName:"discount_type"},{commitKey:"percent_amount",recursive:!1,attrName:"percent_amount"},{commitKey:"collect_id",recursive:!1,attrName:"collect_id"},{commitKey:"offer_benefit_id",recursive:!1,attrName:"offer_benefit_id"},{commitKey:"min_spend",recursive:!1,attrName:"min_spend"},{commitKey:"cap_value",recursive:!1,attrName:"cap_value"},{commitKey:"autoexp_data",recursive:!1,attrName:"autoexp_data"}]},{selector:".aplus-benefit-data-tracker",trackerType:"click",goldlogQueueKeys:[],pageName:"BlU3j9YXYf6v9UPo",arg1:"/lazada-marketing.ug.benefit",cookieKeys:[],customArgs:{},logkey:"/lazada-marketing.ug.benefit",attrArgs:[{commitKey:"life_cycle",recursive:!1,attrName:"clk_life_cycle"},{commitKey:"promotion_tracking",recursive:!1,attrName:"promotion_tracking"},{commitKey:"track_info",recursive:!1,attrName:"track_info"},{commitKey:"user_data",recursive:!1,attrName:"user_data"},{commitKey:"promotion_id",recursive:!1,attrName:"promotion_id"},{commitKey:"promotion_status",recursive:!1,attrName:"promotion_status"},{commitKey:"plan_id",recursive:!1,attrName:"plan_id"},{commitKey:"scene_id",recursive:!1,attrName:"scene_id"},{commitKey:"tag_union_id",recursive:!1,attrName:"tag_union_id"},{commitKey:"tag_id",recursive:!1,attrName:"tag_id"},{commitKey:"promotion_source",recursive:!1,attrName:"promotion_source"},{commitKey:"is_auto_collect",recursive:!1,attrName:"is_auto_collect"},{commitKey:"module",recursive:!1,attrName:"module"},{commitKey:"promotion_allow_cnt",recursive:!1,attrName:"promotion_allow_cnt"},{commitKey:"promotion_amount",recursive:!1,attrName:"promotion_amount"},{commitKey:"discount_type",recursive:!1,attrName:"discount_type"},{commitKey:"percent_amount",recursive:!1,attrName:"percent_amount"},{commitKey:"collect_id",recursive:!1,attrName:"collect_id"},{commitKey:"offer_benefit_id",recursive:!1,attrName:"offer_benefit_id"},{commitKey:"min_spend",recursive:!1,attrName:"min_spend"},{commitKey:"cap_value",recursive:!1,attrName:"cap_value"},{commitKey:"autoexp_data",recursive:!1,attrName:"autoexp_data"}]},{selector:".aplus-ug-data-tracker",trackerType:"exposure",goldlogQueueKeys:[],pageName:"BlU3j9YXYf6v9UPo",arg1:"/lazada-marketing.ug.ug",cookieKeys:[],customArgs:{},logkey:"/lazada-marketing.ug.ug",attrArgs:[{commitKey:"autoexp_data",recursive:!1,attrName:"autoexp_data"}]},{selector:".aplus-common-data-tracker:not(.aplus-benefit-data-tracker)",trackerType:"exposure",goldlogQueueKeys:[],pageName:"BlU3j9YXYf6v9UPo",arg1:"/lzd.aplus-auto.exp",cookieKeys:[],customArgs:{},logkey:"/lzd.aplus-auto.exp",attrArgs:[{commitKey:"data-tracker",recursive:!1,attrName:"data-tracker"},{commitKey:"group",recursive:!1,attrName:"group"},{commitKey:"trackinfo",recursive:!1,attrName:"trackinfo"},{commitKey:"data-item-id",recursive:!1,attrName:"data-item-id"},{commitKey:"data-seller-id",recursive:!1,attrName:"data-seller-id"},{commitKey:"data-sku-id",recursive:!1,attrName:"data-sku-id"},{commitKey:"bizname",recursive:!1,attrName:"bizname"},{commitKey:"data-algo-scm",recursive:!1,attrName:"data-algo-scm"},{commitKey:"user_data",recursive:!1,attrName:"user_data"}]},{selector:".aplus-common-data-tracker:not(.aplus-benefit-data-tracker)",trackerType:"click",goldlogQueueKeys:[],pageName:"BlU3j9YXYf6v9UPo",arg1:"/lzd.aplus-auto.clk",cookieKeys:[],customArgs:{},logkey:"/lzd.aplus-auto.clk",attrArgs:[{commitKey:"data-tracker",recursive:!1,attrName:"data-tracker"},{commitKey:"user_data",recursive:!1,attrName:"user_data"},{commitKey:"bizname",recursive:!1,attrName:"bizname"},{commitKey:"clicktrackinfo",recursive:!1,attrName:"clicktrackinfo"},{commitKey:"group",recursive:!1,attrName:"group"},{commitKey:"trackinfo",recursive:!1,attrName:"trackinfo"},{commitKey:"data-item-id",recursive:!1,attrName:"data-item-id"},{commitKey:"data-seller-id",recursive:!1,attrName:"data-seller-id"},{commitKey:"data-sku-id",recursive:!1,attrName:"data-sku-id"},{commitKey:"data-algo-scm",recursive:!1,attrName:"data-algo-scm"}]},{selector:".aplus-common-module-data-tracker",trackerType:"exposure",goldlogQueueKeys:[],pageName:"BlU3j9YXYf6v9UPo",arg1:"/lzd.aplus-module-auto.exp",cookieKeys:[],customArgs:{},logkey:"/lzd.aplus-module-auto.exp",attrArgs:[{commitKey:"bizname",recursive:!1,attrName:"bizname"},{commitKey:"data-version",recursive:!1,attrName:"data-version"},{commitKey:"data-tracker",recursive:!1,attrName:"data-tracker"},{commitKey:"data-module",recursive:!1,attrName:"data-module"},{commitKey:"data-uuid",recursive:!1,attrName:"data-uuid"}]},{selector:".aplus-common-jfy-data-tracker",trackerType:"exposure",goldlogQueueKeys:[],pageName:"BlU3j9YXYf6v9UPo",arg1:"/Product.Exposure.Event",cookieKeys:[],customArgs:{},logkey:"/Product.Exposure.Event",attrArgs:[{commitKey:"_p_prod",recursive:!1,attrName:"_p_prod"},{commitKey:"_p_sku",recursive:!1,attrName:"_p_sku"},{commitKey:"_p_slr",recursive:!1,attrName:"_p_slr"},{commitKey:"_p_shop",recursive:!1,attrName:"_p_shop"},{commitKey:"utLogMap",recursive:!1,attrName:"utLogMap"},{commitKey:"pageIndex",recursive:!1,attrName:"pageIndex"},{commitKey:"pagePos",recursive:!1,attrName:"pagePos"},{commitKey:"listno",recursive:!1,attrName:"listno"},{commitKey:"pageSize",recursive:!1,attrName:"pageSize"},{commitKey:"trackinfo",recursive:!1,attrName:"trackinfo"},{commitKey:"user_data",recursive:!1,attrName:"user_data"},{commitKey:"data-tracker",recursive:!1,attrName:"data-tracker"},{commitKey:"group",recursive:!1,attrName:"group"},{commitKey:"data-item-id",recursive:!1,attrName:"data-item-id"},{commitKey:"data-seller-id",recursive:!1,attrName:"data-seller-id"},{commitKey:"data-sku-id",recursive:!1,attrName:"data-sku-id"},{commitKey:"bizname",recursive:!1,attrName:"bizname"},{commitKey:"data-algo-scm",recursive:!1,attrName:"data-algo-scm"}]},{selector:".aplus-common-jfy-data-tracker",trackerType:"click",goldlogQueueKeys:[],pageName:"BlU3j9YXYf6v9UPo",arg1:"/Product.Click.Event",cookieKeys:[],customArgs:{},logkey:"/Product.Click.Event",attrArgs:[{commitKey:"_p_prod",recursive:!1,attrName:"_p_prod"},{commitKey:"_p_sku",recursive:!1,attrName:"_p_sku"},{commitKey:"_p_slr",recursive:!1,attrName:"_p_slr"},{commitKey:"_p_shop",recursive:!1,attrName:"_p_shop"},{commitKey:"utLogMap",recursive:!1,attrName:"utLogMap"},{commitKey:"pageIndex",recursive:!1,attrName:"pageIndex"},{commitKey:"pagePos",recursive:!1,attrName:"pagePos"},{commitKey:"listno",recursive:!1,attrName:"listno"},{commitKey:"pageSize",recursive:!1,attrName:"pageSize"},{commitKey:"trackinfo",recursive:!1,attrName:"trackinfo"},{commitKey:"clicktrackinfo",recursive:!1,attrName:"clicktrackinfo"},{commitKey:"user_data",recursive:!1,attrName:"user_data"},{commitKey:"data-tracker",recursive:!1,attrName:"data-tracker"},{commitKey:"bizname",recursive:!1,attrName:"bizname"},{commitKey:"group",recursive:!1,attrName:"group"},{commitKey:"data-item-id",recursive:!1,attrName:"data-item-id"},{commitKey:"data-seller-id",recursive:!1,attrName:"data-seller-id"},{commitKey:"data-sku-id",recursive:!1,attrName:"data-sku-id"},{commitKey:"data-algo-scm",recursive:!1,attrName:"data-algo-scm"}]},{selector:".aplus-common-jfy-other-data-tracker",trackerType:"exposure",goldlogQueueKeys:[],pageName:"BlU3j9YXYf6v9UPo",arg1:"/ProductOther.Exposure.Event",cookieKeys:[],customArgs:{},logkey:"/ProductOther.Exposure.Event",attrArgs:[{commitKey:"_p_prod_ids",recursive:!1,attrName:"_p_prod_ids"},{commitKey:"_p_sku_ids",recursive:!1,attrName:"_p_sku_ids"},{commitKey:"_p_slr_ids",recursive:!1,attrName:"_p_slr_ids"},{commitKey:"_p_shop_ids",recursive:!1,attrName:"_p_shop_ids"},{commitKey:"pageIndex",recursive:!1,attrName:"pageIndex"},{commitKey:"pagePos",recursive:!1,attrName:"pagePos"},{commitKey:"listno",recursive:!1,attrName:"listno"},{commitKey:"pageSize",recursive:!1,attrName:"pageSize"},{commitKey:"trackinfo",recursive:!1,attrName:"trackinfo"},{commitKey:"user_data",recursive:!1,attrName:"user_data"},{commitKey:"data-tracker",recursive:!1,attrName:"data-tracker"},{commitKey:"group",recursive:!1,attrName:"group"},{commitKey:"data-item-id",recursive:!1,attrName:"data-item-id"},{commitKey:"data-seller-id",recursive:!1,attrName:"data-seller-id"},{commitKey:"data-sku-id",recursive:!1,attrName:"data-sku-id"},{commitKey:"bizname",recursive:!1,attrName:"bizname"},{commitKey:"data-algo-scm",recursive:!1,attrName:"data-algo-scm"}]},{selector:".aplus-common-jfy-other-data-tracker",trackerType:"click",goldlogQueueKeys:[],pageName:"BlU3j9YXYf6v9UPo",arg1:"/ProductOther.Click.Event",cookieKeys:[],customArgs:{},logkey:"/ProductOther.Click.Event",attrArgs:[{commitKey:"_p_prod_ids",recursive:!1,attrName:"_p_prod_ids"},{commitKey:"_p_sku_ids",recursive:!1,attrName:"_p_sku_ids"},{commitKey:"_p_slr_ids",recursive:!1,attrName:"_p_slr_ids"},{commitKey:"_p_shop_ids",recursive:!1,attrName:"_p_shop_ids"},{commitKey:"pageIndex",recursive:!1,attrName:"pageIndex"},{commitKey:"pagePos",recursive:!1,attrName:"pagePos"},{commitKey:"listno",recursive:!1,attrName:"listno"},{commitKey:"pageSize",recursive:!1,attrName:"pageSize"},{commitKey:"trackinfo",recursive:!1,attrName:"trackinfo"},{commitKey:"clicktrackinfo",recursive:!1,attrName:"clicktrackinfo"},{commitKey:"user_data",recursive:!1,attrName:"user_data"},{commitKey:"data-tracker",recursive:!1,attrName:"data-tracker"},{commitKey:"bizname",recursive:!1,attrName:"bizname"},{commitKey:"group",recursive:!1,attrName:"group"},{commitKey:"data-item-id",recursive:!1,attrName:"data-item-id"},{commitKey:"data-seller-id",recursive:!1,attrName:"data-seller-id"},{commitKey:"data-sku-id",recursive:!1,attrName:"data-sku-id"},{commitKey:"data-algo-scm",recursive:!1,attrName:"data-algo-scm"}]}],url:"",triggerMoment:"On_CustomEvent_Trigger",__v:"V2021-11-24 19:23:51"};window.excute_aplus_func=function(R){var T=R.action,O=R.args;if(logger$1.log("[excute-aplus-func-begin]",T,O),!window.aplus){logger$1.warn("[excute-aplus-func-error]: window.aplus is null or undefined",window.aplus);return}for(var P=T.split("."),U=window,W=window.aplus,V=0;V<P.length;V++){var Y=P[V];if(!W[Y]){logger$1.warn("[excute-aplus-func-error]: action is not valid",T);return}U=W,W=W[Y]}if("function"!=typeof W){logger$1.warn("[excute-aplus-func-error]: action is not function",T);return}W.apply(U,O),"sendPV"===T&&(window.dispatchEvent(new Event("afterSendPV")),window.__PV_SENDED=!0),logger$1.log("[excute-aplus-func-done]",T,O)},window.aplus_safe_excute=function(R){var T=R.action,O=R.args;if(!T){logger$1.warn("[aplus-safe-excute-error]: action is empty");return}if(!window.aplusIsReadied){window.temp_aplus_queue||(window.temp_aplus_queue=[]),window.temp_aplus_queue.push({action:T,args:O});return}window.excute_aplus_func({action:T,args:O})};var initWebvtConfig=function(){if(window.aplus&&window.aplus._aplus_cplugin_webvt&&!window.__webvtconfigInited&&(logger$1.log("[init-aplus-webvt-config]",aplusConfig),window.__webvtconfigInited=!0,window.aplusIsReadied=!0,window.aplus._aplus_vt_cfg=aplusConfig,window.aplus_safe_excute({action:"aplus_pubsub.publish",args:["WebVtConfigFormat",{pageConfig:aplusConfig,originSpm:{spmA:"",spmB:""}}]}),window.temp_aplus_queue))for(;window.temp_aplus_queue.length;){var R=window.temp_aplus_queue.shift(),T=R.action,O=R.args;logger$1.log("[aplus-ready]",T,O),window.excute_aplus_func({action:T,args:O})}},tryToInitWebvtConfig=function(R){R=R||1,logger$1.log("[try-to-init-webvt-config]",R),R>=10&&logger$1.warn("[try-to-init-webvt-config-too-many-times]",R),initWebvtConfig(),window.__webvtconfigInited||setTimeout(function(){tryToInitWebvtConfig(++R)},50)},setPageReady=function(){logger$1.log("[open-auto-exp]"),window.aplus_safe_excute({action:"setMetaInfo",args:["pageReady","complete"]})},resetAutoExp=function(){logger$1.log("[reset-auto-exp]");var R=window.aplusAutoExp||window.aplus&&window.aplus.getMetaInfo("aplus-auto-exp");R&&R.length&&(window.aplus_safe_excute({action:"setMetaInfo",args:["aplus-auto-exp",[]]}),window.aplus_safe_excute({action:"setMetaInfo",args:["aplus-auto-exp",R]}))},sendPv=function(R){window.__disableSendSpm||/[&?]disable_send_pv=true/.test(window.location.href)||window.__sendedPV&&!R||(window.__sendedPV=!0,logger$1.log("[send-pv]"),window.aplus_safe_excute({action:"sendPV",args:[{is_auto:!1}]}))},setSpmab=function(R,T){R&&T&&!window.__spmabSeted&&(window.__SPM_AB={spma:R,spmb:T},window.__spmabSeted=!0,logger$1.log("[set-spmab]",R,T),window.aplus_safe_excute({action:"setPageSPM",args:[R,T]}))},registerAplusReady=function(){logger$1.log("[register-aplus-ready]"),(window.aplus_queue||(window.aplus_queue=[])).push({action:"aplus.aplus_pubsub.subscribe",arguments:["aplusReady",function(R){logger$1.log("[aplus-ready]",R),"complete"===R&&(window.__tryToInitWebvtConfigBegun||(window.__tryToInitWebvtConfigBegun=!0,tryToInitWebvtConfig()))}]})};function updateItrace(R){try{var T=R||{},O=T.itraceBid,P=T.sampleRate,U=O||"t8h20ib5-k98ohdir",W=document.querySelector("meta[name='wpk-bid']");if((W&&W.content||"")===U)return;W&&W.setAttribute("content",U);var V={pid:U,uid:index$2.getCookie("utdid")||index$2.getCookie("cna")};void 0!==P&&Object.assign(V,{sampleRate:Number(P)}),window.iLogger.iLoggerInit(V)}catch(R){logger$1.log("[update-itrace-params-failed]",R)}}function registerCallbackOfItraceCfpt(){window.rocket_report_fsp=function(R){if(!R||!R.fspTime){logger$1.warn("[rocket-report-fsp-error]","cfpt or cfpt.fspTime is empty",JSON.stringify(R));return}logger$1.log("[rocket-report-fsp-call]",R);var T="default";window.__FIRST_SCREEN_USE_PREHOT?T="show_pre_hot":window.__IS_UPRPROXY_SSR&&(T="show_uprproxy_ssr"),window.WindVane&&window.WindVane.isAvailable&&window.WindVane.call("LACustomWVPlugin","iTracePerformanceInfo",{firstScreenPaint:"".concat(R.fspTime),url:window.location.href,webViewType:T},function(){logger$1.log("[rocket-report-fsp-success]",R.fspTime,T)},function(){logger$1.warn("[rocket-report-fsp-error]",R.fspTime,T)})},window.lzdiTraceLifeCircle=window.lzdiTraceLifeCircle||{},window.lzdiTraceLifeCircle.lzdiTraceShareFspTime=window.rocket_report_fsp}function itraceBeforeSendSet(){function R(R){return R&&"object"==typeof R&&(R.w_ctrid="lzdgcpmp",void 0===R.c10&&(R.c10=window.__gcpIsGrep?1:0)),R}window.lzdiTraceLifeCircle=window.lzdiTraceLifeCircle||{},window.lzdiTraceLifeCircle.lzdiTraceBeforeSend=R}var reported=!1,reportOptimizationFull=function(R,T,O){try{if(shouldNotReport){window.__wpk||logger$1.warn("[report-optimization-full-error]","wpk is empty");return}if(fsDomReadyNowTime=fsDomReadyNowTime||R,fspTime=fspTime||T,lcpTime=lcpTime||O,!fsDomReadyNowTime||!fspTime||reported)return;reported=!0;var P,U=!!utils.getUrlParam("exlaz",window.location.search,!0),W=_object_spread_props(_object_spread({category:1988,msg:"全链路-".concat(window.__PAGE_NAME),w_succ:window.__FIRST_SCREEN_USE_PREHOT?1:0,w_succ1:window.__FIRST_SCREEN_RENDERED_BY_SSR||window.__SSR_HTML_RENDERED_IN_KANGAROO?1:0,w_succ3:window.__FIRST_SCREEN_PREFETCH_RESPONSE_SUCCESS?1:0,c1:plaftorm,c2:device__default.default.getDeviceLevel(),c3:U?1:0},getReportRenderInfo("c4","c5")),{c6:utils.getUrlParam("spm",window.location.search,!0)||"-",c8:4,c9:window.wwwHostnameReplaced?1:0});W.w_succ2=0;var V="NONE_SSR";window.__IS_TRADITION_SSR?V="TRADITION_SSR":window.__IS_UPRPROXY_SSR?V="UPRPROXY_SSR":window.__IS_KANGAROO_SSR&&(V="KANGAROO_SSR"),W.c7=V;var Y=[{time:window.__PAGE_CFPT,fieldForValidTime:"wl_avgv1",reportData:W},{time:lcpTime,fieldForValidTime:"wl_avgv2",reportData:W},{time:window.preLoadReadyTime,fieldForValidTime:"wl_avgv3",reportData:W},{time:fsDomReadyNowTime?fsDomReadyNowTime-(window.preLoadTime||0):null,fieldForValidTime:"wl_avgv8",reportData:W},{time:fspTime,fieldForValidTime:"wl_avgv10",reportData:W}];if(window.__IS_UPRPROXY_SSR){var $=parseInt(utils.getUrlParamLast("uprproxy_time",window.location.search));P=window.mtopEndtime-$}else P=window.mtopEndNowTime-(window.preLoadTime||0);Y.push({time:P,fieldForValidTime:"wl_avgv4",reportData:W}),Y.forEach(setTimeFieldWhenValid);var X=(window.__SCREEN_DATAS||[])[0]||{},Q=X.ssrTime,Z=X.prefetchTime;Q&&(W.wl_avgv5=Q),Z&&(W.wl_avgv6=Z);var ee=window.__FIRST_SCREEN_JS_CSS_LOAD_TIME;ee&&ee>=0&&ee<=2e4&&(W.wl_avgv7=ee),W.w_succ4=window.__FS_RATIO>=100?1:0,window.__FS_RATIO&&(W.wl_avgv9=window.__FS_RATIO),logger$1.log("[report-optimization-full]",W),window.__gcpWpkSampleReport&&window.__gcpWpkSampleReport(W)}catch(R){logger$1.warn("[report-optimization-full-exception]",R,R.message,R.stack)}},_utils_getEnv=utils.getEnv(),isIOS=_utils_getEnv.isIOS,isInAliApp=_utils_getEnv.isInAliApp,CACHE_NAME="lazada_gcp_v2_skeleton",ACTIVE_EXPIRE_TIME_CACHE_NAME="lazada_gcp_skeleton_active_expire_time",isPre=/pre-(www|wormhole)\./.test(location.href),SKELETON_URL="//".concat(isPre?"pre-":"","g.lazcdn.com/gcp-skeleton"),supportSkeleton=isInAliApp&&"caches"in window&&"function"==typeof fetch&&index$4.isSupportWebp(),getSkeletonCache=function(){var R=_async_to_generator(function(){return _ts_generator(this,function(R){switch(R.label){case 0:if(_skeletonCache)return[3,2];return[4,caches.open(CACHE_NAME)];case 1:_skeletonCache=R.sent(),R.label=2;case 2:return[2,_skeletonCache]}})});return function(){return R.apply(this,arguments)}}(),customCachePut=function(){var R=_async_to_generator(function(R,T,O){return _ts_generator(this,function(P){switch(P.label){case 0:if(!isIOS)return[3,5];return[4,R.match(T)];case 1:if(!P.sent())return[3,3];return[4,R.delete(T)];case 2:P.sent(),P.label=3;case 3:return[4,R.add(T,O)];case 4:case 6:return[2,P.sent()];case 5:return[4,R.put(T,O)];case 7:return[2]}})});return function(T,O,P){return R.apply(this,arguments)}}(),getSkeletonUrl=function(){if(!_skeletonUrl){var R,T,O=window.__PID;if(!O)return null;var P=null===(T=window.g_config)||void 0===T?void 0:null===(R=T.regionID)||void 0===R?void 0:R.toLowerCase(),U=location.href.indexOf("skeleton_debug=true")>0;_skeletonUrl="".concat(SKELETON_URL,"?regionId=").concat(P,"&whPid=").concat(O).concat(U?"&debug=true":"")}return _skeletonUrl},getSkeletonActiveUrl=function(){var R,T,O=null===(T=window.g_config)||void 0===T?void 0:null===(R=T.regionID)||void 0===R?void 0:R.toLowerCase();return O?"".concat(SKELETON_URL,"?regionId=").concat(O):null},isSkeletonDisabledInUrl=function(){return void 0===_skeletonDisabledInUrl&&(_skeletonDisabledInUrl="false"===utils.getUrlParam("use_skeleton",window.location.search,!0)),_skeletonDisabledInUrl},isAutoSkeletonEnabledInUrl=function(){return void 0===_autoSkeletonEnabledInUrl&&(_autoSkeletonEnabledInUrl="true"===utils.getUrlParam("use_auto_skeleton",window.location.search,!0)),_autoSkeletonEnabledInUrl},skeletonInjected=!1,injectSkeleton=function(){var R=_async_to_generator(function(R){var T,O,P,U,W,V,Y,$,X,Q,Z,ee;return _ts_generator(this,function(en){switch(en.label){case 0:if(skeletonInjected)return[2];if(skeletonInjected=!0,!supportSkeleton)return logger$1.log("skeleton debug: supportSkeleton",supportSkeleton,"isSupportWebp",index$4.isSupportWebp()),[2];if(isSkeletonDisabledInUrl())return[2];en.label=1;case 1:return en.trys.push([1,8,,9]),[4,getSkeletonCache()];case 2:return T=en.sent(),O=getSkeletonUrl(),[4,T.match(O)];case 3:if(!(P=en.sent()))return[3,7];return[4,P.json()];case 4:if(W=(U=en.sent()).type,V=U.content,Y=U.safeTop,$=U.expireTime,X=U.uniqueKey,Q=U.isAuto,!($>Date.now()&&"image"===W))return[3,5];if(Q&&!isAutoSkeletonEnabledInUrl())return[2];return(Z=document.querySelector(R))&&(Z.innerHTML='<div ignorefspcollection="true" style="width:100vw;height:100vh;overflow:hidden;"><img src="'.concat(V,'" style="width:100vw;margin-top:calc(env(safe-area-inset-top) - ').concat(Y,');"></div>'),window.__SKELETON_INJECTED=!0,window.__SKELETON_INJECTED_IS_AUTO=Q,window.__SKELETON_UNIQUE_KEY=X),[3,7];case 5:return[4,T.delete(O)];case 6:en.sent(),en.label=7;case 7:return[3,9];case 8:return ee=en.sent(),logger$1.error("[inject-skeleton-error]",ee),[3,9];case 9:return[2]}})});return function(T){return R.apply(this,arguments)}}(),skeletonPassivelyCached=!1,cacheSkeletonPassively=function(){var R=_async_to_generator(function(R){var T,O,P,U,W,V,Y;return _ts_generator(this,function($){switch($.label){case 0:if(skeletonPassivelyCached||(skeletonPassivelyCached=!0,!supportSkeleton||isSkeletonDisabledInUrl()))return[2,null];T=getSkeletonUrl(),$.label=1;case 1:if($.trys.push([1,9,10,11]),isPre)return[3,3];return[4,utils.sleep(3e3)];case 2:$.sent(),$.label=3;case 3:return[4,fetch(T)];case 4:if(!(O=$.sent()))return[3,8];return[4,O.clone().json()];case 5:if(U=(P=$.sent()).content,W=P.expireTime,V=P.isAuto,R.skeletonEnabled&&V)return[2,null];if(!(U&&W>Date.now()))return[3,8];return[4,getSkeletonCache()];case 6:return[4,customCachePut($.sent(),T,O)];case 7:return $.sent(),logger$1.log("[passively-cache-skeleton] success"),[2,O];case 8:return[3,11];case 9:return Y=$.sent(),logger$1.error("[passively-cache-skeleton-error]",Y),[3,11];case 10:return clearSkeletonCache(),[7];case 11:return[2,null]}})});return function(T){return R.apply(this,arguments)}}(),skeletonActivelyCached=!1,cacheSkeletonActively=function(){var R=_async_to_generator(function(){var R,T,O,P,U,W,V,Y,$,X,Q,Z,ee,en;return _ts_generator(this,function(er){switch(er.label){case 0:if(skeletonActivelyCached||(skeletonActivelyCached=!0,!supportSkeleton||!window.localStorage||!(R=getSkeletonActiveUrl())))return[2,null];er.label=1;case 1:if(er.trys.push([1,12,,13]),(T=Number(localStorage.getItem(ACTIVE_EXPIRE_TIME_CACHE_NAME)))&&T>Date.now())return[2,null];return[4,fetch(R)];case 2:if(!(O=er.sent()))return[3,11];return[4,O.json()];case 3:if(U=(P=er.sent()||{}).map,W=P.expireTime,!(U&&W))return[3,11];for(Y in localStorage.setItem(ACTIVE_EXPIRE_TIME_CACHE_NAME,W),V=[],U)V.push(Y);$=0,er.label=4;case 4:if(!($<V.length))return[3,10];if(Z=(Q=U[X=V[$]]).content,ee=Q.expireTime,!(Z&&ee>Date.now()))return[3,7];return[4,getSkeletonCache()];case 5:return[4,customCachePut(er.sent(),"".concat(R,"&whPid=").concat(X),new Response(JSON.stringify(Q)))];case 6:er.sent(),er.label=7;case 7:return[4,utils.sleep(10)];case 8:er.sent(),er.label=9;case 9:return $++,[3,4];case 10:logger$1.log("[actively-cache-skeleton] success"),er.label=11;case 11:return[3,13];case 12:return en=er.sent(),logger$1.log("[actively-cache-skeleton-error]",en),[3,13];case 13:return[2,null]}})});return function(){return R.apply(this,arguments)}}(),skeletonCacheCleared=!1,clearSkeletonCache=function(){var R=_async_to_generator(function(){var R,T,O,P,U,W,V,Y,$,X,Q;return _ts_generator(this,function(Z){switch(Z.label){case 0:if(skeletonCacheCleared||(skeletonCacheCleared=!0,!supportSkeleton))return[2,null];Z.label=1;case 1:return Z.trys.push([1,14,,15]),[4,getSkeletonCache()];case 2:return[4,(R=Z.sent()).keys()];case 3:T=Z.sent()||[],O=!0,P=!1,U=void 0,Z.label=4;case 4:Z.trys.push([4,11,12,13]),W=T[Symbol.iterator](),Z.label=5;case 5:if(O=(V=W.next()).done)return[3,10];return Y=V.value,[4,R.match(Y)];case 6:return[4,Z.sent().json()];case 7:if(!(!($=Z.sent().expireTime)||$<Date.now()))return[3,9];return[4,R.delete(Y)];case 8:Z.sent(),Z.label=9;case 9:return O=!0,[3,5];case 10:return[3,13];case 11:return X=Z.sent(),P=!0,U=X,[3,13];case 12:try{O||null==W.return||W.return()}finally{if(P)throw U}return[7];case 13:return logger$1.log("[clear-skeleton-cache] complete"),[3,15];case 14:return Q=Z.sent(),logger$1.error("[clear-skeleton-cache-error]",Q),[3,15];case 15:return[2,null]}})});return function(){return R.apply(this,arguments)}}(),getSkeletonInjectedStatus=function(){var R=!!window.__SKELETON_INJECTED,T=Number(window.__SKELETON_INJECTED_IS_AUTO)||0,O=!1;if(R){var P=window.__SKELETON_UNIQUE_KEY,U=window.__SKELETON_DOM_SELECTORS;if(P&&Array.isArray(U)&&U.length>0){var W=[],V=document.body;U.forEach(function(R){var T=V.querySelectorAll(R);W.push(T.length)});var Y=W.join("-");(0===P.indexOf(Y)||0===Y.indexOf(P))&&(logger$1.log("[skeleton-injected-perfectly]"),O=!0)}}return{skeletonInjected:R,skeletonPerfectlyInjected:O,skeletonInjectedIsAuto:T}},CHAIN_TYPE={SSE:"sse",HTML:"html",PREHOT:"prehot",UPR_PROXY:"upr_proxy",DEFAULT:"default"},SSR_TYPE={STREAM_SSR:"STREAM_SSR",UPRPROXY_SSR:"UPRPROXY_SSR"};function getElementSelectorPath(R){if(!(R instanceof Element))return"";for(var T=[];R&&R.nodeType===Node.ELEMENT_NODE;){var O=R.nodeName.toLowerCase();R.id&&(O+="#".concat(R.id)),R.classList.length>0&&(O+=".".concat(R.classList[0]));var P=R.getAttribute&&R.getAttribute("mod-name");P&&(O+="[mod-name=".concat(P,"]")),T.unshift(O),R=R.parentNode}return T.join(" > ")}var calculateFirstScreenResouceSize=function(){try{logger$1.logWithTime("[start-calculate-first-screen-resource-size]");var R=0,T=0,O=window.performance.getEntriesByType("resource"),P=!0,U=!1,W=void 0;try{for(var V,Y=O[Symbol.iterator]();!(P=(V=Y.next()).done);P=!0){var $=V.value;$.name.endsWith(".js")&&$.name.includes("code/npm")&&!$.name.includes("lzd-render")&&!$.name.includes("pcom-feloader")?R+=$.decodedBodySize:$.name.endsWith(".css")&&(T+=$.decodedBodySize)}}catch(R){U=!0,W=R}finally{try{P||null==Y.return||Y.return()}finally{if(U)throw W}}var X=_to_consumable_array(document.querySelectorAll("body style")).concat(_to_consumable_array(document.querySelectorAll("head #css-container"))),Q=!0,Z=!1,ee=void 0;try{for(var en,er=X[Symbol.iterator]();!(Q=(en=er.next()).done);Q=!0){var eo=en.value;T+=eo.innerHTML.length}}catch(R){Z=!0,ee=R}finally{try{Q||null==er.return||er.return()}finally{if(Z)throw ee}}window.__FIRST_SCREEN_JS_SIZE=R,window.__FIRST_SCREEN_CSS_SIZE=T,logger$1.logWithTime("[complete-calculate-first-screen-resource-size]",{jsSize:R,cssSize:T})}catch(R){logger$1.error("[calculate-first-screen-resource-size-error]",R)}},calculateFirstScreenImgSize=function(){try{if(!window.__FSPV2||!window.__FSPV2.cost)return{};var R=[],T=0,O=0,P=window.performance.getEntriesByType("resource"),U=!0,W=!1,V=void 0;try{for(var Y,$=P[Symbol.iterator]();!(U=(Y=$.next()).done);U=!0){var X=Y.value;!(X.responseEnd>window.__FSPV2.cost||!/\.(jpg|jpeg|jpe|jfif|pjpeg|pjp|png|gif|bmp|tiff|tif|webp|avif|ico|apng|svg|heic)$/i.test(X.name)||X.name.endsWith("favicon.ico"))&&(R.push(X.name),T+=X.transferSize||X.encodedBodySize||0,/\.(webp|avif)$/i.test(X.name)&&(O+=1))}}catch(R){W=!0,V=R}finally{try{U||null==$.return||$.return()}finally{if(W)throw V}}var Q=R.length,Z=Q?O/Q:1;return{firstScreenImgCount:Q,firstScreenImgSize:T,firstScreenImgAvifWebpCount:O,firstScreenImgAvifWebpRatio:Z,firstScreenImgUrls:R}}catch(R){return logger$1.error("[calculate-first-screen-img-size-error]",R),{}}},reportPagePerformanceDetail=function(){try{if(shouldNotReport&&!(window.WindVane&&window.WindVane.isAvailable)||!window.__lzd_fsp_done||!window.__lzd_hydrate_done||window.__pagePerformanceDetailReported)return;window.__pagePerformanceDetailReported=!0,logger$1.logWithTime("[start-report-page-performance-detail]");var R=CHAIN_TYPE.DEFAULT;window.__SSR_TYPE===SSR_TYPE.STREAM_SSR?R=window.gcpMarks.beforeSseFetch?CHAIN_TYPE.SSE:CHAIN_TYPE.HTML:window.__FIRST_SCREEN_USE_PREHOT?R=CHAIN_TYPE.PREHOT:window.__SSR_TYPE===SSR_TYPE.UPRPROXY_SSR&&(R=CHAIN_TYPE.UPR_PROXY);var T=void 0,O=void 0,P=void 0,U=void 0,W=void 0,V=void 0,Y=window.performance.timeOrigin;if(window.__FIRST_SCREEN_USE_PREHOT)O=T=window.prehotShowUpTime+Y,P=T,R===CHAIN_TYPE.SSE?(U=window.gcpMarks.beforeSseFetch,W=window.__FIRST_SCREEN_LOAD_TIME_STAMP,V=window.__STREAM_SSR_DATA_FETCH_FIRST_TRUNK_RT):(U=window.gcpMarks.beforeDataFetch,W=window.__SSR_RENDERED_TIME?window.__SSR_RENDERED_TIME+Y:window.gcpMarks.afterDataFetch,V=window.gcpMarks.afterDataFetch-window.gcpMarks.beforeDataFetch);else{var $=(window.performance.getEntriesByType("navigation")||[])[0];if(!$)return;R===CHAIN_TYPE.UPR_PROXY&&(window.uprproxyStartTime=parseInt(utils.getUrlParamLast("uprproxy_time",window.location.search))),T=$.responseStart+Y,O=window.gcpMarks.htmlStart,P=window.gcpMarks.styleLoaded,R===CHAIN_TYPE.SSE?(U=window.gcpMarks.beforeSseFetch,V=window.__STREAM_SSR_DATA_FETCH_FIRST_TRUNK_RT):(U=P,V=window.gcpMarks.htmlStart-T),W=window.__FIRST_SCREEN_LOAD_TIME_STAMP?window.__FIRST_SCREEN_LOAD_TIME_STAMP:window.gcpMarks.afterDataFetch}var X=window.gcpMarks.startToHydrate,Q=window.gcpMarks.firstScreenDomReady,Z=!!window.__IS_PHA,ee=!!window.__FIRST_SCREEN_USE_PREHOT,en=!!(window.__FIRST_SCREEN_USE_PREFETCH||window.__STREAM_SSR_DATA_FETCH_USE_PREFETCH),er=(window.performance.getEntriesByName("first-contentful-paint")||[])[0],eo=er?er.startTime:void 0,ei=void 0,ea=void 0,ec=void 0,eu=void 0,ed=void 0,ep=window.__CORE_WEB_VITALS&&window.__CORE_WEB_VITALS.LCP;if(ep){var ef=ep.value,em=ep.attribution,ew=em.lcpResourceEntry,eh=em.element,e_=em.url;ei=ef-(window.prehotShowUpTime||0),ea=eh,ec=e_,ew&&"img"===ew.initiatorType?(eu=ew.duration,ed=ew.startTime-(window.prehotShowUpTime||0)):ec&&ec.indexOf("data:")>=0&&(ec=ec.slice(0,50)+"...",eu=0,ed=void 0)}var eg=void 0,ev=void 0,ey=void 0,eS=void 0,eE=void 0;if(window.__FSPV2){var eR=window.__FSPV2,eb=eR.cost,eT=eR.lastImg,eI=eR.ssrLastImg,ek=eR.validFrames;if(eg=eb-(window.prehotShowUpTime||0),ev=eT||eI,ev="string"==typeof ev?ev:getElementSelectorPath(ev),ek&&ek.length)for(var eN=ek.length-1;eN>=0;eN--){var eA=ek[eN];if(eA.imgSeq&&eA.imgSeq.length){var ex=eA.imgSeq.slice(-1)[0];ex&&ex.node&&ex.node.currentSrc&&(ey=ex.node.currentSrc)}if((!ev||!ey)&&eA.bgImg&&eA.bgImg.length){var eO=eA.bgImg.slice(-1)[0];ev=ev||eO,ey=ey||eO}if(ev&&ey)break}if(ey){if(ey.indexOf("data:")>=0)ey=ey.slice(0,50)+"...",eS=0,eE=void 0;else{var eC=window.performance.getEntriesByName(ey)[0];eC&&(eS=eC.duration,eE=eC.startTime-(window.prehotShowUpTime||0))}}}if(R===CHAIN_TYPE.UPR_PROXY){ej=T-window.uprproxyStartTime;var eP=Y-window.uprproxyStartTime;eo&&(eo+=eP),ei&&(ei+=eP),eg&&(eg+=eP)}else ej=T-Y-(window.prehotShowUpTime||0);var eD=!!utils.getUrlParamLast("exlaz",window.location.search),eM={chainType:R,ttfb:ej,htmlStartLoad:O-T,htmlHeadLoad:P-O,preJsLoad:U-P,firstScreenLoad:W-U,jsLoad:X-W,hydrate:Q-X,fcp:eo,lcp:ei,fsp:eg,firstTrunkTime:V,firstTrunkSize:window.__STREAM_SSR_FIRST_TRUNK_SIZE,firstTrunkServerRT:window.__STREAM_SSR_FIRST_TRUNK_SERVER_RT,fullSize:window.__STREAM_SSR_FULL_SIZE,serverRT:window.__STREAM_SSR_FULL_SERVER_RT||window.__FIRST_SCREEN_HANDLER_RT,jsSize:window.__FIRST_SCREEN_JS_SIZE,cssSize:window.__FIRST_SCREEN_CSS_SIZE,lcpImgTime:eu,fspImgTime:eS,prehotHit:ee,prefetchHit:en,isExlaz:eD},eL={phaHit:Z,fspEle:ev,fspImgUrl:ey,fspImgTime:eS,fspImgStartTime:eE,lcpEle:ea,lcpImgUrl:ec,lcpImgTime:eu,lcpImgStartTime:ed},eF=!0,ez=!1,eU=void 0;try{for(var ej,eH,eK=Object.keys(eM)[Symbol.iterator]();!(eF=(eH=eK.next()).done);eF=!0){var eq=eH.value,eW=eM[eq];"number"==typeof eW&&(eW=parseInt(eW),-0===eW&&(eW=0),eM[eq]=eW)}}catch(R){ez=!0,eU=R}finally{try{eF||null==eK.return||eK.return()}finally{if(ez)throw eU}}var eV=calculateFirstScreenImgSize(),eB=eV.firstScreenImgCount,eJ=eV.firstScreenImgSize,eG=eV.firstScreenImgAvifWebpCount,eY=eV.firstScreenImgAvifWebpRatio,e$=eV.firstScreenImgUrls;if(Object.assign(eM,{firstScreenImgCount:eB,firstScreenImgSize:eJ,firstScreenImgAvifWebpCount:eG,firstScreenImgAvifWebpRatio:eY}),window.WindVane&&window.WindVane.isAvailable&&window.WindVane.call("LACustomWVPlugin","reportFullPerformanceInfo",eM,function(){logger$1.logWithTime("[report-page-performance-detail-to-app-success]")},function(R){logger$1.log("[report-page-performance-detail-to-app-error]",R)}),!shouldNotReport){var eX=!1;eX=R===CHAIN_TYPE.SSE?window.__STREAM_SSR_DATA_FETCH_SUCCESS:!window.__FIRST_SCREEN_USE_BOTTOM;var eQ=getSkeletonInjectedStatus(),eZ=eQ.skeletonInjected,e0=eQ.skeletonPerfectlyInjected,e2=eQ.skeletonInjectedIsAuto,e3=_object_spread_props(_object_spread({category:888,msg:window.__PAGE_NAME||window.location.pathname,w_succ:eM.prehotHit?1:0,w_succ1:eM.prefetchHit?1:0,w_succ2:eX?1:0,w_succ3:eZ?1:0,w_succ4:e0?1:0,wl_avgv1:eM.ttfb,wl_avgv2:eM.htmlStartLoad,wl_avgv3:eM.htmlHeadLoad,wl_avgv4:eM.preJsLoad,wl_avgv5:eM.firstScreenLoad,wl_avgv6:eM.jsLoad,wl_avgv7:eM.hydrate,wl_avgv8:eM.fcp,wl_avgv9:eM.lcp,wl_avgv10:eM.fsp,wl_avgv11:eM.firstTrunkTime,wl_avgv12:eM.firstTrunkSize,wl_avgv13:eM.firstTrunkServerRT,wl_avgv14:eM.fullSize,wl_avgv15:eM.serverRT,wl_avgv16:eM.jsSize,wl_avgv17:eM.cssSize,wl_avgv18:eM.lcpImgTime,wl_avgv19:eM.fspImgTime,c1:eM.chainType,c2:window.__SSR_TYPE||"-"},getReportRenderInfo("c3","c4")),{c5:e2,c6:ec,c7:ey,c8:ev,bl1:JSON.stringify(eL)});window.__gcpWpkSampleReport&&window.__gcpWpkSampleReport(e3),logger$1.logWithTime("[report-page-performance-detail-to-itrace-success]"),eM.skeleton={skeletonInjected:eZ,skeletonPerfectlyInjected:e0,skeletonInjectedIsAuto:e2}}eM.otherMetrics=eL,window.__PAGE_PERFORMANCE={fullPerformanceInfo:eM,coreWebVitals:window.__CORE_WEB_VITALS,fspV2:window.__FSPV2,firstScreenImgs:{firstScreenImgCount:eB,firstScreenImgSize:eJ,firstScreenImgAvifWebpCount:eG,firstScreenImgAvifWebpRatio:eY,firstScreenImgUrls:e$}},logger$1.logWithTime("[complete-report-page-performance-detail]",eM)}catch(R){logger$1.error("[report-page-performance-detail-error]",R)}},reportOptimization=function(){var R=_async_to_generator(function(R){return _ts_generator(this,function(T){logger$1.log("[report-optimization]");try{if(shouldNotReport)return window.__wpk||logger$1.warn("[report-optimization-error]","wpk is empty"),[2];reportOptimizationFull(R,null,null),window.__LCP?reportOptimizationFull(null,null,window.__LCP):window.__LCP_LISTENER=function(R){reportOptimizationFull(null,null,R)}}catch(R){logger$1.warn("[report-optimization-exception]",R,R.message,R.stack)}finally{setTimeout(reportPagePerformanceDetail,200)}return[2]})});return function(T){return R.apply(this,arguments)}}(),reportFSR=function(){var R=_async_to_generator(function(){var R,T,O,P;return _ts_generator(this,function(U){logger$1.log("[report-fsr]");try{if(shouldNotReport)return window.__wpk||logger$1.warn("[report-fsr-error]","wpk is empty"),[2];if(!(R=window.__FIRST_SCREEN_LAST_MODULE_ID)||!(T=document.getElementById(R)))return[2];O=caculateElementBottom(T),P=parseInt((O/window.innerHeight*100).toFixed(0)),window.__FS_RATIO=P}catch(R){logger$1.warn("[report-fsr-exception]",R,R.message,R.stack)}return[2]})});return function(){return R.apply(this,arguments)}}(),caculateElementBottom=function(R){for(var T=R.offsetTop,O=R.offsetParent;null!==O;)T+=O.offsetTop,O=O.offsetParent;return T+R.offsetHeight},reportFSP=function(R){logger$1.log("[fsp-received-from-jstracker]",R);try{if(window.__lzd_fsp_done=!0,shouldNotReport){window.__wpk||logger$1.warn("[report-fsp-error]","wpk is empty");return}Date.now();var T=Math.floor(R-(window.preLoadTime||0)),O=_object_spread({category:200,msg:"".concat(window.__PAGE_NAME,"-自定义首屏"),c1:T,c2:R,c3:window.preLoadTime||"-"},getReportRenderInfo("c4","c5"));setTimeToRightReportField({time:T,fieldForValidTime:"wl_avgv1",fieldForInvalidTime:"wl_avgv2",reportData:O}),logger$1.log("[fsp-to-be-reported]",O),window.__gcpWpkSampleReport&&window.__gcpWpkSampleReport(O);var P=(window.lzdiTraceLifeCircle||{}).lzdiTraceShareFspTime;"function"==typeof P&&P({fspTime:T,preLoadTime:window.preLoadTime,url:window.location.href}),"function"==typeof window.__LCP_STOP_LISTENING&&window.__LCP_STOP_LISTENING(),setTimeout(function(){reportOptimizationFull(null,T,null)},200)}catch(R){logger$1.warn("[report-fsp-exception]",R,R.message,R.stack)}finally{setTimeout(reportPagePerformanceDetail,200)}},PRECISE_HEIGHT_THRESHOLD=1.5,reportedMap={},report=function(){var R=_async_to_generator(function(R){var T,O,P,U,W,V,Y,$,X,Q;return _ts_generator(this,function(Z){switch(Z.label){case 0:if(O=void 0===(T=R.isValidMod)||T,P=R.mod,U=R.uuid,!(Y=O?null===(V=P)||void 0===V?void 0:null===(W=V.dataset)||void 0===W?void 0:W.uuid:U))return[2];if($=0,O){if(reportedMap[Y])return[2];$=px2rpx(P.getBoundingClientRect().height),reportedMap[Y]=!0}logger$1.log("[report-mods-height]",Y,$),Z.label=1;case 1:return Z.trys.push([1,3,,4]),X=_object_spread({category:1008,msg:"模块高度采集-".concat(window.__PAGE_NAME,"-").concat(window.__PAGE_ID,"-").concat(Y),wl_avgv1:0!==$?Math.min($,px2rpx(window.innerHeight*PRECISE_HEIGHT_THRESHOLD)):0,c1:window.__PAGE_NAME,c2:window.__PAGE_ID,c3:Y,c4:window.location.href.includes("pre-")?0:1,sampleRate:window.location.href.includes("pre-")?1:.1},getReportRenderInfo("c5","c6")),[4,yieldToMain()];case 2:return Z.sent(),window.__gcpWpkSampleReport&&window.__gcpWpkSampleReport(X),[3,4];case 3:return Q=Z.sent(),logger$1.warn("[report-mods-height-exception]",Q,Q.message,Q.stack),[3,4];case 4:return[2]}})});return function(T){return R.apply(this,arguments)}}(),reportModsHeight=function(){var R=_async_to_generator(function(){return _ts_generator(this,function(R){return shouldNotReport?window.__wpk||logger$1.warn("[report-mods-height]","wpk is empty"):(reportValidMod(),reportInvalidMod()),[2]})});return function(){return R.apply(this,arguments)}}(),reportValidMod=function(){if(utils.getEnv().isMobile){var R=Array.from(document.querySelectorAll(".rax-scrollview-webcontainer > [data-uuid]")).slice(0,10);R.forEach(function(R){report({isValidMod:!0,mod:R})})}},reportInvalidMod=function(){utils.getEnv().isMobile&&(window.__FIRST_SCREEN_INVALID_MODS||[]).forEach(function(R){report({isValidMod:!1,uuid:R})})};function rewriteConsoleJSError(){if(!(location.href.indexOf("//pre-www")>=0||location.href.indexOf("use_react_dev=true")>=0)){var R=console.error;console.error=function(){for(var T=arguments.length,O=Array(T),P=0;P<T;P++)O[P]=arguments[P];reportCustomizeJSError({type:COMMON_JS_ERROR,msg:logger$1.normalizeInfo(O).slice(0,5e3)}),R.apply(void 0,_to_consumable_array(O))}}}function plugin$2(R){window.__PID=utils.getUrlParam("wh_pid",location.search,!1),window.__IS_PHA="object"==typeof window.__pha_environment__,window.__PAGE_NAME=window.__PID||window.location.pathname,rewriteConsoleJSError(),addCpsRtTrackingJs(),registerAplusReady(),registerCallbackOfItraceCfpt(),window.addEventListener&&window.addEventListener("load",function(){window.onload_finished=!0}),window.addEventListener&&window.addEventListener("onFirstScreenDomReady",function(){window.__lzd_hydrate_done=!0,window.gcpMarks.firstScreenDomReady=Date.now();var T=window.performance.now&&window.performance.now();setPageReady(),logger$1.log("[first-screen-dom-ready]",T),void 0===window.__PAGE_CFPT&&noticeAppPageShow(R),reportOptimization(T)});var T=location.href.indexOf("//pre-www")>=0;window.addEventListener&&window.addEventListener("error",function(R){R.preventDefault();var O,P,U,W,V=null===(P=R)||void 0===P?void 0:null===(O=P.error)||void 0===O?void 0:O.message,Y=["service-worker-error","Minified React error #418","Minified React error #423","Minified React error #425"];if(!T&&V&&Y.some(function(R){return V.includes(R)})){console.warn(R.error);return}var $=R.error;logger$1.warn("[global-sync-error-captured]","msg: ".concat((null===(U=$)||void 0===U?void 0:U.message)||R.message,", filename: ").concat(R.filename,", line: ").concat(R.lineno,", column: ").concat(R.colno,", stack: ").concat(null===(W=$)||void 0===W?void 0:W.stack))}),window.addEventListener&&window.addEventListener("unhandledrejection",function(R){return R.preventDefault(),filterErrorByBlackListThenReport(R.reason,T),!0}),itraceBeforeSendSet();var O=utils.getUrlParam("lzd_open_type",window.location.search,!0);O?"pre_hot"===O&&(R.isPrehot=!0,R.lzdWebviewHidden=!0,window.lzdWebviewHidden=!0,logger$1.log("[openType]: pre_hot",window.location.href)):logger$1.log("[openType]: normal",window.location.href),!R.isPrehot&&window._JT_FSP&&(window.__FSPV2?(reportFSR(),reportFSP(window.__FSPV2.cost),reportModsHeight()):window._JT_FSP.listeners=[function(R){window.__FSPV2=R,reportFSR(),reportFSP(R.cost),reportModsHeight()}])}function filterErrorByBlackListThenReport(R,T){if("object"==typeof R){var O="",P=Object.getOwnPropertyNames(R);if(O=P.includes("message")&&P.includes("stack")?"".concat(R.message," ").concat(R.stack):JSON.stringify(R),!T)for(var U=Object.keys(GLOBAL_ASYNC_ERROR_BLACK_LIST_MAP),W=0;W<U.length;W++){var V=U[W],Y=GLOBAL_ASYNC_ERROR_BLACK_LIST_MAP[V];if(O.includes(V)){reportCustomizeJSError({type:Y,msg:O});return}}logger$1.warn("[global-async-error-captured]",O)}else logger$1.warn("[global-async-error-captured]",R)}function polyfillWeb(R){R&&polyfillMsite()}function polyfillMsite(){var R,T=window,O=T.document,P=O.documentElement,U=O.querySelector('meta[name="viewport"]'),W=0,V=0;if(U){var Y=U.getAttribute("content").match(/initial-scale=([\d.]+)/);Y&&(W=Math.round(1/(V=parseFloat(Y[1]))))}function $(){var R=P.clientWidth||P.getBoundingClientRect().width,T=100*(R/750);P.style.fontSize="".concat(T,"px"),window.__global_rem_unit__=R/750}P.setAttribute("data-dpr","".concat(W));var X="orientationchange"in window?"orientationchange":"resize";T.addEventListener(X,function(){clearTimeout(R),R=setTimeout($,300)},!1),T.addEventListener("pageshow",function(T){T.persisted&&(clearTimeout(R),R=setTimeout($,300))},!1),$(),setTimeout(function(){document.querySelector("#content").setAttribute("style","")},5e3)}function plugin$1(R){polyfillWeb(R.isMobile)}var OLDLANGKEY="userLanguageML",DAILY_DOMAIN="lazada.test";function rewriteLanguageForUPR(R){var T=R.split("|")||[];window.g_config.language=T[1]||"en"}function fixLangToStandard(R,T){var O;try{O=SITE_CONFIGS__default.default[T].lang}catch(R){}return O?Array.isArray(O)?(O.forEach(function(T){(T===R||T.indexOf(R)>-1)&&(R=T)}),R):O:null}function setDefaultLzdCookie(){var R,T=getEnv__default.default(),O=T.regionID,P=T.language;try{R=SITE_CONFIGS__default.default[O].lang}catch(R){}if(R)return Array.isArray(R)?R.indexOf(P)>-1?setLzdCookie(P):setLzdCookie(R[0]):setLzdCookie(R)}function setDefaultLzdCookieInSellerApp(R){var T,O=_sliced_to_array(R.split("_"),2),P=O[0],U=O[1];try{T=SITE_CONFIGS__default.default[U].lang}catch(R){}if(T)return Array.isArray(T)?T.indexOf(P)>-1?setLzdCookie(P):setLzdCookie(T[0]):setLzdCookie(T)}function setLzdCookie(R){if(R){var T=getEnv__default.default().regionID;R=fixLangToStandard(R,T);var O=SITE_CONFIGS__default.default[T],P=location.hostname.indexOf(DAILY_DOMAIN)>0;if(R||O){var U={domain:P?".".concat(DAILY_DOMAIN):".".concat(O.domain),expires:30},W="".concat(T,"|").concat(R,"|").concat(O.currency,"|").concat(O.id);index$2.setCookie("hng",W,U),rewriteLanguageForUPR(W),P||(index$2.removeCookie(OLDLANGKEY,{path:"/",domain:".".concat(O.domain)}),R=R.substring(0,2),index$2.setCookie(OLDLANGKEY,R,{expires:30}))}}}function setDeaultCookie(){if(window&&(/lsc\//i.test(window.navigator.userAgent)||/lazadaseller\//i.test(window.navigator.userAgent))){var R=index$2.getCookie("_lang")||"";if(R){setDefaultLzdCookieInSellerApp(R),rewriteLanguageForUPR(index$2.getCookie("hng")||"");return}}var T=index$2.getCookie("hng")||"";T?rewriteLanguageForUPR(T):setDefaultLzdCookie()}function setLanguage(){setDeaultCookie()}function plugin(R){setLanguage()}function renderRightItem(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(window.WindVane&&window.WindVane.isAvailable){logger$1.log("[render-right-item]",window.g_config.LANavigationBarParams);var T=window.g_config.LANavigationBarParams;if(!T){var O={icon:"search"};if(([1,19].includes(R.scenarioId)||(window.__PID||"").includes("/megascenario/"))&&getEnv.isLzd()&&(getEnv.isAndroid()&&utils.compareVersion(getEnv.getAppInfo().appVersion,"7.92.0")||getEnv.isIos()))try{var P=getMcpSearchBoxParams(R);O.link="//native.m.lazada.com/searchbox?".concat(P),logger$1.log("[render-right-item-mcp-search-box-link]",O.link)}catch(R){logger$1.warn("[render-right-item-error]",R)}T={iconType:"enum",items:[{icon:"share",shareData:window.g_config.shareData},O,{icon:"more"}]}}window.WindVane.call("LANavigationBar","setRightItem",T,function(){},function(R){logger$1.log("[render-right-item-error]",R)})}}function getMcpSearchBoxParams(R){var T="mcp",O=R.pageConfigId,P=R.spma,U=R.spmb,W=JSON.stringify({src:T,refer_id:O||"default",page_spm:"".concat(P,".").concat(U),promotion_biz:T});return qsStringify({searchDoorType:T,spm:"".concat(P,".").concat(U,".unified-header.searchbox"),"spm-url":new URLSearchParams(window.location.search).get("spm")||"",params:getEnv.isIos()?encodeURIComponent(W):W,tab:T,service:T})}function qsStringify(R){return Object.keys(R).map(function(T){return Array.isArray(R[T])?R[T].map(function(R){return"".concat(encodeURIComponent(T),"=").concat(encodeURIComponent(R))}).join("&"):"".concat(encodeURIComponent(T),"=").concat(encodeURIComponent(R[T]))}).join("&")}function renderTitle(){logger$1.log("[render-title]",document.title),window.WindVane&&window.WindVane.isAvailable&&window.WindVane.call("LANavigationBar","setTitle",{title:document.title||""},function(){},function(R){logger$1.log("[render-title-error]",R)})}function renderSearchBar(){logger$1.log("[render-searchbar]",window.g_config.LANavigationBarSearchbarParams);var R=window.g_config.LANavigationBarSearchbarParams,T=window.g_config.LANavigationBarSearchbarCallback,O=window.g_config.LANavigationBarStyleParams||{iconColor:"#333333",color:"#333333"};R?(window.WindVane&&window.WindVane.isAvailable&&window.WindVane.call("LANavigationBar","setSearchBar",R,function(R){T&&T(R),logger$1.log("[render-searchbar-success]",R)},function(R){logger$1.log("[render-searchbar-error]",R)}),window.WindVane&&window.WindVane.isAvailable&&window.WindVane.call("LANavigationBar","setStyle",{iconColor:"#ffffff",color:"#ffffff"},function(){},function(R){logger$1.log("[reset-searchbar-color-error]",R)})):window.WindVane&&window.WindVane.isAvailable&&window.WindVane.call("LANavigationBar","setStyle",O,function(){},function(R){logger$1.log("[reset-searchbar-color-error]",R)})}function renderNavbar(R){"true"!==utils.getUrlParam("disable_render_title",window.location.search,!1)&&renderTitle(),"true"!==utils.getUrlParam("use_default_navbar",window.location.search,!1)&&(renderRightItem(R),renderSearchBar())}function phaHandler(){var R=navigator&&navigator.userAgent;if("object"==typeof window.__pha_environment__||/PHA/i.test(R)){if(R.indexOf("Android")>-1||R.indexOf("Adr")>-1){var T=window.__solutionFn&&window.__solutionFn.WindVane;T&&T("LANavigationBar","setStyle",{iconColor:"#333333",color:"#333333"})}window.addEventListener&&window.addEventListener("message",function(R){var T=R&&R.data;window.g_config.pageInfo&&T&&"AppWorker"===R.origin&&"tabBarItemClick"===T.eventType&&(renderNavbar(),sendPv(!0),resetAutoExp(),noticeAppPHAShow(),reportFSP(1))})}}function addPageInfoToGlobal(R){window.g_config=window.g_config||{},window.g_config.pageInfo=window.g_config.pageInfo||{},Object.assign(window.g_config.pageInfo,R.pageInfo)}function checkOffline(R,T){if(!utils.getUrlParam("prevent_offline_jump",window.location.search,!0)){var O=T.activeExtends,P=void 0===O?{}:O,U=T.sysInfo,W=void 0===U?{}:U;if(P&&P.redirect&&P.redirectUrl)noticeAppPageOffline(function(){redirectToOfflineUrl(P.redirectUrl)});else{var V=Number(W.serverTime);"native"!==R.config.platform&&"maintain"!==R.config.previewEnv&&V&&P&&P.offTime&&V>P.offTime&&noticeAppPageOffline(function(){redirectToOfflineUrl(P.redirectUrl)})}}}function redirectToOfflineUrl(R){var T=window.location.href;if(R!==T){var O=utils.getUrlParam("wh_pid",R,!1),P=utils.getUrlParam("wh_pid",T,!1);O&&P&&O===P||location.replace(R)}}function noticeAppPageOffline(R){window.WindVane&&window.WindVane.isAvailable?window.WindVane.call("LACustomWVPlugin","setPageOffline",{offline:!0},function(T){logger$1.log("[notice-app-page-offline-success]",T),R&&R()},function(T){logger$1.log("[notice-app-page-offline-failed]",T),R&&R()}):R&&R()}function hackAddBaseI18nText(R){if(getEnv.isLzd()){var T={en:"Shop now",id:"Beli Sekarang",th:"ช้อปเลย",vi:"Mua ngay",ms:"Beli Sekarang",zh:"立即购买"},O={en:"Add to Cart",id:"Tambah Ke Troli",th:"เพิ่มลงรถเข็น",vi:"Th\xeam v\xe0o giỏ",ms:"Tambah Ke Troli",zh:"加入购物车"},P={"campaign-rwb-sold":{en:"Sold",id:"Terjual",th:"ขายแล้ว",vi:"Đ\xe3 b\xe1n",ms:"Dijual",zh:"已售"},"campaign-rwb-more":{en:"More",id:"Lanjut",th:"เพิ่มเติม",vi:"Xem",ms:"Lagi",zh:"更多"},"campaign-rwb-free":{en:"Free",id:"Bebas",th:"ฟรี",vi:"Miễn ph\xed",ms:"Percuma",zh:"免邮"},"campaign-rwb-starts-soon":{en:"Starts soon",id:"Segera",th:"เริ่มเร็วๆ นี้",vi:"Sắp bắt đầu",ms:"akan bermula",zh:"即将开始"},"campaign-rwb-capped-at":{en:"Capped at",id:"Maks. diskon",th:"ลดสูงสุด",vi:"Giảm tối đa",ms:"Diskaun maks.",zh:"最高抵扣"},"campaign-rwb-used":{en:"used",id:"Dipakai",th:"ใช้แล้ว",vi:"Đ\xe3 d\xf9ng",ms:"Ditebus",zh:"已使用"},"campaign-rwb-cashback":{en:"Cashback",id:"Cashback",th:"เงินคืน",vi:"Ho\xe0n tiền",ms:"Cashback",zh:"返现"},"campaign-rwb-shopNow":T,"campaign-rwb-shopNow-mismatch":T,"campaign-rwb-shopNow-preTeasing":O,"campaign-rwb-shopNow-teasing":O,"campaign-rwb-shopNow-mega":T,"campaign-rwb-error-msg":{en:"Sorry, something went wrong on our side. Please retry later.",id:"Maaf, ada gangguan. Silahkan coba lagi nanti",th:"ขออภัย ไม่สามารถทํารายการได้ในขณะนี้ กรุณาลองใหม่อีกครั้งในภายหลัง",vi:"Ối! Xảy ra lỗi. Bạn thử lại sau nh\xe9!",ms:"Maaf, sesuatu telah berlaku. Sila cuba kemudian.",zh:"抱歉，我们这边出了点问题。请稍后重试。"},"campaign-rwb-use-now":{en:"Use Now",id:"Pakai",th:"ใช้ตอนนี้",vi:"Sử dụng",ms:"Guna",zh:"立即使用"},"campaign-rwb-free-shipping":{en:"Free Shipping",id:"Gratis Ongkir",th:"คูปองส่งฟรี",vi:"Freeship",ms:"Free shipping",zh:"免邮"},"campaign-rwb-off":{en:"OFF",id:"OFF",th:"ส่วนลด",vi:"Giảm",ms:"OFF",zh:"折扣"},"campaign-rwb-copy":{en:"Copy",id:"Salin",th:"คัดลอก",vi:"Sao Ch\xe9p",ms:"Salin",zh:"复制"},"campaign-rwb-collect":{en:"Collect",id:"Ambil",th:"เก็บ",vi:"Thu Thập",ms:"kumpul",zh:"领取"},"campaign-rwb-code":{en:"Code",id:"Kode",th:"โค้ด",vi:"M\xe3",ms:"Kod",zh:"优惠码"},"dg.voucher.stockSuffix":{en:"left only",id:"Tersisa",th:"เหลืออีกแค่ สิทธิ์",vi:"Chỉ c\xf2n lượt",ms:"Baki sahaja",zh:"剩下库存"},"campaign-rwb-no-min-spend":{en:"No min spend",id:"Tanpa Min. Pembelian",th:"ไม่มีขั้นต่ำ",vi:"Kh\xf4ng \xe1p dụng gi\xe1 trị đơn h\xe0ng",ms:"Tiada Perbelanjaan Minimum",zh:"没有最低消费"},"campaign-rwb-min-spend":{en:"Min.spend",id:"Belanja",th:"ซื้อขั้นต่ำ",vi:"Đơn h\xe0ng từ",ms:"Belanja",zh:"最低消费"},"campaign-rwb-validity":{en:"Validity",id:"Validitas",th:"ระยะเวลา",vi:"C\xf3 hiệu lực",ms:"sah",zh:"有效期"},"campaign-rwb-shipping":{en:"Shipping",id:"Pengiriman",th:"จัดส่ง",vi:"Vận chuyển",ms:"Hantar",zh:"运费"},"campaign-rwb-get-another":{en:"Get another",id:"Dapatkan voucher lainnya",th:"รับคูปองอีกใบ",vi:"Nhận th\xeam",ms:"dapatkan lagi",zh:"再领一次"},"campaign-rwb-new-user":{en:"New User",id:"Akun baru",th:"ลูกค้าใหม่",vi:"Bạn mới",ms:"user baru",zh:"新人"},"campaign-rwb-follow-only":{en:"Follower Only",id:"Khusus follower",th:"สำหรับผู้ติดตามเท่านั้น",vi:"D\xe0nh cho người theo d\xf5i",ms:"pengikut shj",zh:"仅限于粉丝"},"campaign-rwb-payment":{en:"Payment",id:"Pembayaran",th:"ช่องทางการชำระเงิน",vi:"Thanh to\xe1n",ms:"Bayaran",zh:"支付"},"campaign-rwb-preSale":{en:"Presale",id:"Pre-Order",th:"พรีเซลล์",vi:"Mở b\xe1n sớm",ms:"PreSale",zh:"预售"},"campaign-rwb-shipping-fee":{en:"Shipping fee",id:"Ongkos kirim",th:"จัดส่งฟรี",vi:"Ph\xed Vận Chuyển",ms:"kos penghantaran",zh:"运费"},"campaign-rwb-detail":{en:"Detail",id:"Detail",th:"รายละเอียด",vi:"Chi tiết",ms:"Butiran",zh:"详情"},"campaign-rwb-store-pick-up":{en:"Store Pick-Up",id:"Ambil di Toko",th:"รับสินค้าที่สาข",vi:"Store Pick-Up",ms:"Store Pick-Up",zh:"Store Pick-Up"},"campaign-rwb-collect-success-msg":{en:'Collected successfully! Go to "My Account" for more details.',id:"berhasil mengumpulkan",th:"ได้รับคูปองแล้ว",vi:'Sưu tầm th\xe0nh c\xf4ng! V\xe0o "V\xed Voucher" để xem chi tiết.',ms:"Berjaya Dikumpul!",zh:"领取成功!有关更多详细信息，请转到 “我的帐户”。"}};for(var U in P)R[U]||(R[U]=P[U][window.g_config.language]),R.voyager&&!R.voyager[U]&&(R.voyager[U]=P[U][window.g_config.language])}window.flute_langs=R}function setHeaderTitleForMsite(R){if(R&&!window.__HeaderTitleForMsiteSet){var T=window.g_config.language,O=utils.getUrlParam("page_title",window.location.search,!1);document.title=O||R[T]||R.default||"";var P=utils.escapeHtml(O)||R[T]||R.default||"",U=document.querySelector("#title-wrap #page-title");U&&(U.innerHTML=P)}}function getFaviconLink(){var R=document.querySelectorAll('link[rel="shortcut icon"]');return R.length>0?R[0].href:null}function appShare(R){if(!(window.$detector&&window.$detector.isAliApp&&(window.$detector.appName.indexOf("la")>=0||window.$detector.appName.indexOf("dz")>=0||window.$detector.appName.indexOf("sm")>=0)))return!1;var T=function(){var R={TH:"th",VN:"vi",ID:"id",MY:"ms",BD:"bn",LK:"si",MM:"my",NP:"ne",PK:"ur"};return R[window.g_config.regionID]&&window.g_config.language===R[window.g_config.regionID]},O=function(O){return T()?R["".concat(O,"Local")]:R[O]},P=window.location.href;R.shareLink&&(P=R.shareLink.indexOf("?")>-1?"".concat(R.shareLink,"&").concat(location.search.replace("?","")):"".concat(R.shareLink).concat(location.search));var U=function(){var O="Campaign Page Title",P=T();if(R.name&&R.nameLocal)O=P?R.nameLocal:R.name;else if(R.i18nTitle){var U=R.i18nTitle;O=P?U["".concat(window.g_config.language)]:U.en||U.default}return O}(),W={sourceId:1e3,mediaType:2,webUrl:P,title:O("shareTitle")||U,subject:O("shareContent")||U,imageUrl:O("shareImage")||getFaviconLink()||"https://lzd-img-global.slatic.net/g/tps/tfs/TB1e_.JhHY1gK0jSZTEXXXDQVXa-64-64.png"};return window.g_config=window.g_config||{},window.g_config.shareData=W,!0}var reportMtop=function(){var R=_async_to_generator(function(R){var T,O;return _ts_generator(this,function(P){switch(P.label){case 0:logger$1.log("[report-mtop]"),P.label=1;case 1:if(P.trys.push([1,3,,4]),shouldNotReport)return window.__wpk||logger$1.warn("[report-mtop-error]","wpk is empty"),[2];return T=_object_spread_props(_object_spread({category:1001,msg:"接口请求-".concat(window.__PAGE_NAME),c1:window.location.host,c2:window.__PAGE_NAME,c3:window.__FIRST_SCREEN_PREFETCH_RESPONSE_TRACE_ID,c4:window.__FIRST_SCREEN_PREFETCH_RESPONSE_MESSAGE,c5:window.__FIRST_SCREEN_NETWORK_RESPONSE_TRACE_ID,c6:window.__FIRST_SCREEN_NETWORK_RESPONSE_MESSAGE,c7:window.performance&&window.performance.now&&window.performance.now()},getReportRenderInfo("c8","c9")),{c10:window.__SCREEN_DATAS&&window.__SCREEN_DATAS[0]&&window.__SCREEN_DATAS[0].traceId}),(window.__FIRST_SCREEN_USE_UPRPROXY_SSR||window.__FIRST_SCREEN_USE_TRADITION_SSR)&&(T.w_succ=1),window.__FIRST_SCREEN_USE_NETWORK&&(window.__FIRST_SCREEN_NETWORK_RESPONSE_SUCCESS?(T.w_succ=1,T.wl_avgv1=window.__FIRST_SCREEN_NETWORK_RESPONSE_TIME):(T.w_succ=0,T.wl_avgv2=window.__FIRST_SCREEN_NETWORK_RESPONSE_TIME),T.wl_avgv9=window.__FIRST_SCREEN_USE_NETWORK_FETCH_TIME),window.__FIRST_SCREEN_USE_BOTTOM?(T.w_succ3=1,window.__FIRST_SCREEN_BOTTOM_RESPONSE_SUCCESS?(T.w_succ1=1,T.wl_avgv3=window.__FIRST_SCREEN_BOTTOM_RESPONSE_TIME):(T.w_succ1=0,T.wl_avgv4=window.__FIRST_SCREEN_BOTTOM_RESPONSE_TIME)):T.w_succ3=0,window.__FIRST_SCREEN_USE_PREFETCH?(T.w_succ4=1,window.__FIRST_SCREEN_PREFETCH_RESPONSE_SUCCESS?(T.w_succ2=1,T.wl_avgv5=window.__FIRST_SCREEN_PREFETCH_RESPONSE_TIME):(T.w_succ2=0,T.wl_avgv6=window.__FIRST_SCREEN_PREFETCH_RESPONSE_TIME)):T.w_succ4=0,R&&(R.replenishCount&&(T.wl_avgv7=R.replenishTime,T.wl_avgv10=R.replenishCount),R.prefetchCount&&(T.wl_avgv8=R.prefetchTime,T.wl_avgv11=R.prefetchCount,T.wl_avgv12=R.prefetchSuccessCount),R.ssrPrefetch?T.wl_avgv13=100:T.wl_avgv13=0),window.mtopStarttime&&window.mtopEndtime&&(T.wl_avgv14=window.mtopEndtime-window.mtopStarttime),[4,yieldToMain()];case 2:return P.sent(),window.__gcpWpkSampleReport&&window.__gcpWpkSampleReport(T),[3,4];case 3:return O=P.sent(),logger$1.warn("[report-mtop-exception]",O,O.message,O.stack),[3,4];case 4:return[2]}})});return function(T){return R.apply(this,arguments)}}();function runAfterGetFirstScreen(R){R.hooks.add("afterGetFirstScreen",function(){var T=_async_to_generator(function(T){return _ts_generator(this,function(O){return logger$1.log("[after-get-first-screen]"),updateItrace(T.pageInfo),R.lzdWebviewHidden||(setSpmab(T.pageInfo.spma,T.pageInfo.spmb),sendPv(),reportMtop(T),sendDetail2App(T.pageInfo)),window.__SSR_ENABLED_IN_KANGAROO=T.ssrEnabled,window.__SSR_RENDERED_TIME_IN_KANGAROO=T.ssrTime,window.__SSR_HTML_RENDERED_IN_KANGAROO=!!T.ssrHtml,window.__FIRST_SCREEN_LAST_MODULE_ID=T.modules&&T.modules.length?(T.modules.slice(-1)[0]||{}).uuid:null,T&&T.handlerRT&&(window.__FIRST_SCREEN_HANDLER_RT=T.handlerRT),checkOffline(R,T),addPageInfoToGlobal(T),hackAddBaseI18nText(T.modulesStaticI18n||{}),appShare(T.renderExtends||{}),window.__solutionFn.RAF(function(){var R,O;setHeaderTitleForMsite(null===(O=T)||void 0===O?void 0:null===(R=O.renderExtends)||void 0===R?void 0:R.i18nTitle),renderNavbar(T.pageInfo||{})}),T.isFirstScreen&&(T.skeletonEnabled||isAutoSkeletonEnabledInUrl())&&(window.__SKELETON_DOM_SELECTORS=T.skeletonDomSelectors,cacheSkeletonPassively(T)),[2]})});return function(R){return T.apply(this,arguments)}}())}function afterFirstScreenRender(R){R.hooks.addAsync(HOOKS.AFTER_FIRST_SCREEN_RENDER,_async_to_generator(function(){return _ts_generator(this,function(R){return!window.__lzdCallApp&&window.LzdCallApp&&(window.__lzdCallApp=new window.LzdCallApp({from:"gcp"})),[2]})}))}var scrollToModule=function(R){return getScrollToModuleWeb(R.isPC?window:document.getElementById("recyclerview"))(R)},scrollToModule$1=scrollToModule,getScrollToModuleWeb=function(R){return function(T){var O=T.moduleId,P=T.animated,U=void 0!==P&&P,W=T.offset,V=void 0===W?0:W,Y=O,$=document.getElementById(Y)&&document.getElementById(Y).getBoundingClientRect().top,X=R.getBoundingClientRect?R.getBoundingClientRect().top:0,Q=$+("number"==typeof R.scrollTop?R.scrollTop:R.scrollY)-X+V;return window.dispatchEvent(new CustomEvent("liftScrollToModule",{detail:{elevatorId:Y,moduleId:O}})),R.scrollTo?R.scrollTo({top:Q,behavior:U?"smooth":"auto"}):R.scrollTop=Q,$+V}},ErrorBoundary=function(R){_inherits(O,R);var T=_create_super(O);function O(){var R;return _class_call_check(this,O),R=T.apply(this,arguments),_define_property(_assert_this_initialized(R),"state",{error:null}),_define_property(_assert_this_initialized(R),"componentDidCatch",function(T){console.error("moduleId: ".concat(R.props.moduleId,", name: ").concat(R.props.name,", errMsg: ").concat(T.message," errStack: ").concat(JSON.stringify(T.stack))),R.setState({error:T})}),R}return _create_class(O,[{key:"render",value:function(){return this.state.error?null:this.props.children}}]),O}(React.Component),DataStore$1=function(){function R(T){_class_call_check(this,R),_define_property(this,"_data",{}),this._data=T||{}}return _create_class(R,[{key:"useData",value:function(R){if(!R||!R.length)return{};var T={},O=!0,P=!1,U=void 0;try{for(var W,V=R[Symbol.iterator]();!(O=(W=V.next()).done);O=!0){var Y=W.value;"string"==typeof Y&&(T[Y]=this._data[Y])}}catch(R){P=!0,U=R}finally{try{O||null==V.return||V.return()}finally{if(P)throw U}}return T}}]),R}(),getRenderRows=function(R){var T=R.renderRows,O=R.context,P=R.pageInfo,U=R.sysInfo,W=R.allUI,V=R.isHydrating,Y=R.isSSring,$=R.onPageScroll,X=R.onPageEndReached,Q=R.isSticky,Z=R.stickyOffsetManage,ee=R.updateFloorTitle,en={};if(T&&T.length>0)return T.reduce(function(R,T){var er=T.moduleInfo.moduleId||T.moduleInfo.uuid,eo="".concat(er,"-0")===T.rowId,ei=T.rowIndex===T.moduleInfo.cellLength+T.moduleInfo.removeLength-1,ea=T.splitResult&&T.splitResult.rowData||T.moduleInfo.data||en,ec=ea&&ea.isBottomData,eu=new DataStore$1(ea);return R.push(React.useMemo(function(){return jsx(ErrorBoundary,{moduleId:er,name:T.moduleInfo.name,children:jsx(T.moduleClass,{setStickyOffset:Z&&Z.current.setStickyOffset,onStickyOffsetChange:Z&&Z.current.onStickyOffsetChange,getStickyOffset:Z&&Z.current.getStickyOffset,isSticky:Q,isRTL:window.__isRtl,onPageScroll:$,onPageEndReached:X,moduleId:er,dataSpm:T.rowId,id:T.rowId,index:T.moduleInfo.index||0,rowIndex:T.rowIndex,renderIndex:T.renderIndex,name:T.moduleInfo.name||"",version:T.moduleInfo.version||"",kangaroo:T.moduleInfo.kangaroo||{},data:ea,useData:eu.useData.bind(eu),isBottomData:ec,dataConfig:T.moduleInfo.dataConfig,theme:T.moduleInfo.theme||T.moduleInfo.meta||en,config:T.moduleInfo.config||en,spm:T.rowId,cellLength:T.moduleInfo.cellLength,isFirstCell:eo,isLastCell:ei,allUI:W,isHydrating:V,isSSring:Y,pageInfo:P,sysInfo:U,context:O,scrollToModule:scrollToModule$1,updateFloorTitle:ee},T.rowId)})},[Q,T.rowId,T.moduleInfo.index,T.moduleInfo.name,T.moduleInfo.data,T.moduleInfo.dataConfig,T.moduleInfo.theme,T.moduleInfo.meta,T.moduleInfo.config,T.rowIndex,T.splitResult,er,eo,ei])),R},[])};function ModRows(R){var T=R.renderRows,O=R.pageInfo,P=R.sysInfo,U=R.allUI,W=R.isHydrating,V=R.isSSring;return getRenderRows({renderRows:T,context:R.context,pageInfo:O,sysInfo:P,allUI:U,isHydrating:W,isSSring:V,onPageScroll:R.onPageScroll,onPageEndReached:R.onPageEndReached,isSticky:R.isSticky,stickyOffsetManage:R.stickyOffsetManage,updateFloorTitle:R.updateFloorTitle})}var isIE=!!window.ActiveXObject||"ActiveXObject"in window,getPageStyle=function(R){var T=_object_spread({position:"absolute",top:0,right:0,left:0,bottom:0,overflow:"hidden",boxSizing:"border-box",display:"flex",flexDirection:"column"},R);return isIE&&(T.display="block"),T},Page=function(R,T){var O=getPageStyle(R.style);return jsx("div",_object_spread_props(_object_spread({},R),{style:O,ref:T,children:R.children}))},Page$1=React__namespace.forwardRef(Page),TYPES={START:"start",END:"end",RUN:"run",STOP:"stop"},easing={easeOutSine:function(R){return Math.sin(R*Math.PI/2)}},MIN_DURATION=1,noop=function(R){},Timer=function(){function R(T){_class_call_check(this,R),_define_property(this,"config",{easing:"linear",duration:1/0,onStart:noop,onRun:noop,onStop:noop,onEnd:noop}),_define_property(this,"isfinished",!1),_define_property(this,"start",void 0),_define_property(this,"percent",void 0),_define_property(this,"easingFn",void 0),_define_property(this,"now",void 0),_define_property(this,"t",void 0),_define_property(this,"duration",void 0),_define_property(this,"progress",void 0),_define_property(this,"_hasFinishedPercent",void 0),_define_property(this,"_stop",void 0),_define_property(this,"_raf",void 0),this.config=_object_spread({},this.config,T)}return _create_class(R,[{key:"run",value:function(){var R=this.config,T=R.duration,O=R.onStart,P=R.onRun;T<=MIN_DURATION&&(this.isfinished=!0,P({percent:1}),this.stop()),this.isfinished||(this._hasFinishedPercent=this._stop&&this._stop.percent||0,this._stop=null,this.start=Date.now(),this.percent=0,O({percent:0,type:TYPES.START}),this.easingFn=easing[this.config.easing],this._run())}},{key:"_run",value:function(){var R=this,T=this.config,O=T.onRun,P=T.onStop;this._raf&&cancelAnimationFrame(this._raf),this._raf=requestAnimationFrame$1(function(){if(R.now=Date.now(),R.t=R.now-R.start,R.duration=R.now-R.start>=R.config.duration?R.config.duration:R.now-R.start,R.progress=R.easingFn(R.duration/R.config.duration),R.percent=R.duration/R.config.duration+R._hasFinishedPercent,R.percent>=1||R._stop){R.percent=R._stop&&R._stop.percent?R._stop.percent:1,R.duration=R._stop&&R._stop.duration?R._stop.duration:R.duration,O({percent:R.progress,originPercent:R.percent,t:R.t,type:TYPES.RUN}),P({percent:R.percent,t:R.t,type:TYPES.STOP}),R.percent>=1&&(R.isfinished=!0,R.stop());return}O({percent:R.progress,originPercent:R.percent,t:R.t,type:TYPES.RUN}),R._run()})}},{key:"stop",value:function(){var R=this.config.onEnd;this._stop={percent:this.percent,now:this.now},R({percent:1,t:this.t,type:TYPES.END}),cancelAnimationFrame(this._raf)}}]),R}(),Timer$1=Timer;function throttle(R,T){var O,P,U,W,V=0;function Y(){W=0,V=+new Date,U=R.apply(O,P),O=null,P=null}return function(){O=this,P=arguments;var R=new Date().getTime()-V;return W||(R>=T?Y():W=setTimeout(Y,T-R)),U}}var DEFAULT_END_REACHED_THRESHOLD=500,DEFAULT_SCROLL_CALLBACK_THROTTLE=50;function wrapDefaultProperties(R){return R.defaultProps={scrollEventThrottle:DEFAULT_SCROLL_CALLBACK_THROTTLE,onEndReachedThreshold:DEFAULT_END_REACHED_THRESHOLD,showsHorizontalScrollIndicator:!0,showsVerticalScrollIndicator:!0,className:"rax-scrollview"},R.displayName="ScrollView",R}var hasOwn={}.hasOwnProperty;function classNames(){for(var R=[],T=0;T<arguments.length;T++){var O=arguments[T];if(O){var P=void 0===O?"undefined":_type_of(O);if("string"===P||"number"===P)R.push(O);else if(Array.isArray(O)){if(O.length){var U=classNames.apply(null,O);U&&R.push(U)}}else if("object"===P){if(O.toString!==Object.prototype.toString&&!O.toString.toString().includes("[native code]")){R.push(O.toString());continue}for(var W in O)hasOwn.call(O,W)&&O[W]&&R.push(W)}}}return R.join(" ")}var FULL_WIDTH=750,ANIMATION_DURATION=400,STYLE_NODE_ID="rax-scrollview-style",baseCls="rax-scrollview";function scrollTo(R,T,O,P,U){var W=R.current,V=W.scrollLeft,Y=W.scrollTop;P?new Timer$1({duration:U,easing:"easeOutSine",onRun:function(P){R&&R.current&&(T>=0&&(R.current.scrollLeft=V+P.percent*(T-V)),O>=0&&(R.current.scrollTop=Y+P.percent*(O-Y)))}}).run():(T>=0&&(R.current.scrollLeft=T),O>=0&&(R.current.scrollTop=O))}function getPixelRatio(){return pixelRatio||(pixelRatio=document.documentElement.clientWidth/FULL_WIDTH)}function translateToPx(R){var T=getPixelRatio();if("number"==typeof R)return R*T;var O=/^(\d+)(r{0,1}px){0,1}$/.exec(R);if(O){if(!O[2]||"rpx"===O[2])return parseInt(O[1])*T;if("px"===O[2])return parseInt(O[1])}return 0}var ScrollView=React.forwardRef(function(R,T){var O,P=R.className,U=R.style,W=R.horizontal,V=R.contentContainerStyle,Y=R.disableScroll,$=R.scrollEventThrottle,X=R.showsHorizontalScrollIndicator,Q=R.showsVerticalScrollIndicator,Z=R.onEndReached,ee=R.onEndReachedThreshold,en=R.onScroll,er=R.children,eo=React.useRef(0),ei=React.useRef(0),ea=React.useRef(0),ec=React.useRef(null),eu=React.useRef(null),ed=function(T){if(R.onScroll&&(T.nativeEvent={get contentOffset(){return{x:T.target.scrollLeft,y:T.target.scrollTop}},get contentSize(){return{width:T.target.scrollWidth,height:T.target.scrollHeight}}},en(T)),Z){var O=ec.current;if(O){ea.current=W?O.offsetWidth:O.offsetHeight;var P=W?O.scrollWidth:O.scrollHeight,U=W?O.scrollLeft:O.scrollTop,V=translateToPx(ee),Y=P-U-ea.current<V,$=U>eo.current,X=P!=ei.current;Y&&$&&X&&(ei.current=P,R.onEndReached(T)),eo.current=U}}};if(React.useImperativeHandle(T,function(){return{_nativeNode:ec.current,resetScroll:function(){ei.current=0,eo.current=0},scrollTo:function(R){var T=R||{},O=T.x,P=void 0===O?0:O,U=T.y,W=void 0===U?0:U,V=T.animated,Y=void 0===V||V,$=T.duration,X=void 0===$?ANIMATION_DURATION:$;scrollTo(ec,translateToPx(P),translateToPx(W),Y,X)},scrollIntoView:function(R){var T=R||{},O=T.id,P=T.animated,U=void 0===P||P,W=T.duration,V=void 0===W?ANIMATION_DURATION:W,Y=T.offsetX,$=T.offsetY;if(!O)throw Error("Params missing id.");var X=document.getElementById(O);if(X&&eu.current){var Q=X.getBoundingClientRect(),Z=eu.current.getBoundingClientRect();scrollTo(ec,Q.x-Z.x+translateToPx(Y),Q.y-Z.y+translateToPx($),U,V)}}}}),U){var ep=["alignItems","justifyContent"].filter(function(R){return void 0!==U[R]});0!==ep.length&&console.warn("ScrollView child layout ("+JSON.stringify(ep)+") must be applied through the contentContainerStyle prop.")}var ef=jsx("div",{ref:eu,className:classNames((_define_property(O={},"".concat(baseCls,"-content-container-horizontal"),W),_define_property(O,"".concat(baseCls,"-webcontainer"),!W),O)),style:V,children:er}),em=_object_spread({},U);(null===em.height||void 0===em.height)&&(em.flex=1);var ew=classNames(baseCls,"".concat(baseCls,"-").concat(W?"horizontal":"vertical"),P);if(!(W?X:Q)&&"undefined"!=typeof document&&"function"==typeof document.getElementById&&!document.getElementById(STYLE_NODE_ID)){var eh=document.createElement("style");eh.id=STYLE_NODE_ID,document.head.appendChild(eh),eh.innerHTML=".".concat(baseCls,"::-webkit-scrollbar{display: none;}")}em.WebkitOverflowScrolling="touch",W?(em.overflowX="scroll",em.overflowY="hidden"):(em.overflowX="hidden",em.overflowY="scroll"),Y&&(em.overflowX="hidden",em.overflowY="scroll");var e_=_object_spread({},R);return delete e_.onEndReachedThreshold,jsx("div",_object_spread_props(_object_spread({},e_),{ref:ec,className:ew,style:em,onScroll:$?throttle(ed,$):ed,children:ef}))}),GcpRenderList=wrapDefaultProperties(ScrollView),cellBaseStyle={boxSizing:"border-box",display:"flex",flexDirection:"column",alignContent:"flex-start",flexShrink:0,border:"0px solid black"},Cell=React.memo(React.forwardRef(function(R,T){var O=R.className,P=R.style;return jsx(VisibilityChange,{onAppear:R.onAppear,onDisappear:R.onDisappear,children:jsx("div",_object_spread_props(_object_spread({},_object_without_properties(R,["className","style","onAppear","onDisappear"])),{ref:T,className:O,style:_object_spread({},cellBaseStyle,P)}))})}));Cell.displayName="Cell";var Header=React.memo(React.forwardRef(function(R,T){var O=R.className,P=R.style;return jsx(VisibilityChange,{onAppear:R.onAppear,onDisappear:R.onDisappear,children:jsx("div",_object_spread_props(_object_spread({},_object_without_properties(R,["className","style","onAppear","onDisappear"])),{ref:T,className:O,style:_object_spread({},cellBaseStyle,P)}))})}));Header.displayName="Header",GcpRenderList.Header=Header,GcpRenderList.Cell=Cell,GcpRenderList.displayName="RecyclerView";var StickyOffsetManage=function R(){var T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,O=this;_class_call_check(this,R),_define_property(this,"stickyOffset",void 0),_define_property(this,"stickyOffsetListeners",void 0),_define_property(this,"setStickyOffset",function(R){var T="function"==typeof R?R(O.stickyOffset):R;O.stickyOffset!==T&&(O.stickyOffset=T,O.stickyOffsetListeners.forEach(function(R){R(O.stickyOffset)}))}),_define_property(this,"onStickyOffsetChange",function(R){return O.stickyOffsetListeners.push(R),function(){var T=O.stickyOffsetListeners.indexOf(R);O.stickyOffsetListeners.splice(T,1)}}),_define_property(this,"getStickyOffset",function(){return O.stickyOffset}),this.stickyOffset=T,this.stickyOffsetListeners=[]},_reactIs_16_13_1_reactIs={exports:{}},reactIs_production_min={},b="function"==typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d$1=b?Symbol.for("react.portal"):60106,e$1=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n$1=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.suspense_list"):60120,r$1=b?Symbol.for("react.memo"):60115,t$1=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;function z(R){if("object"==typeof R&&null!==R){var T=R.$$typeof;switch(T){case c:switch(R=R.type){case l:case m:case e$1:case g:case f:case p:return R;default:switch(R=R&&R.$$typeof){case k:case n$1:case t$1:case r$1:case h:return R;default:return T}}case d$1:return T}}}function A(R){return z(R)===m}reactIs_production_min.AsyncMode=l,reactIs_production_min.ConcurrentMode=m,reactIs_production_min.ContextConsumer=k,reactIs_production_min.ContextProvider=h,reactIs_production_min.Element=c,reactIs_production_min.ForwardRef=n$1,reactIs_production_min.Fragment=e$1,reactIs_production_min.Lazy=t$1,reactIs_production_min.Memo=r$1,reactIs_production_min.Portal=d$1,reactIs_production_min.Profiler=g,reactIs_production_min.StrictMode=f,reactIs_production_min.Suspense=p,reactIs_production_min.isAsyncMode=function(R){return A(R)||z(R)===l},reactIs_production_min.isConcurrentMode=A,reactIs_production_min.isContextConsumer=function(R){return z(R)===k},reactIs_production_min.isContextProvider=function(R){return z(R)===h},reactIs_production_min.isElement=function(R){return"object"==typeof R&&null!==R&&R.$$typeof===c},reactIs_production_min.isForwardRef=function(R){return z(R)===n$1},reactIs_production_min.isFragment=function(R){return z(R)===e$1},reactIs_production_min.isLazy=function(R){return z(R)===t$1},reactIs_production_min.isMemo=function(R){return z(R)===r$1},reactIs_production_min.isPortal=function(R){return z(R)===d$1},reactIs_production_min.isProfiler=function(R){return z(R)===g},reactIs_production_min.isStrictMode=function(R){return z(R)===f},reactIs_production_min.isSuspense=function(R){return z(R)===p},reactIs_production_min.isValidElementType=function(R){return"string"==typeof R||"function"==typeof R||R===e$1||R===m||R===g||R===f||R===p||R===q||"object"==typeof R&&null!==R&&(R.$$typeof===t$1||R.$$typeof===r$1||R.$$typeof===h||R.$$typeof===k||R.$$typeof===n$1||R.$$typeof===w||R.$$typeof===x||R.$$typeof===y||R.$$typeof===v)},reactIs_production_min.typeOf=z,_reactIs_16_13_1_reactIs.exports=reactIs_production_min;var _reactIs_16_13_1_reactIsExports=_reactIs_16_13_1_reactIs.exports,REACT_STATICS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KNOWN_STATICS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},FORWARD_REF_STATICS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},MEMO_STATICS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},TYPE_STATICS={};function getStatics(R){return _reactIs_16_13_1_reactIsExports.isMemo(R)?MEMO_STATICS:TYPE_STATICS[R.$$typeof]||REACT_STATICS}TYPE_STATICS[_reactIs_16_13_1_reactIsExports.ForwardRef]=FORWARD_REF_STATICS,TYPE_STATICS[_reactIs_16_13_1_reactIsExports.Memo]=MEMO_STATICS;var defineProperty=Object.defineProperty,getOwnPropertyNames=Object.getOwnPropertyNames,getOwnPropertySymbols=Object.getOwnPropertySymbols,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,getPrototypeOf=Object.getPrototypeOf,objectPrototype=Object.prototype;function hoistNonReactStatics(R,T,O){if("string"!=typeof T){if(objectPrototype){var P=getPrototypeOf(T);P&&P!==objectPrototype&&hoistNonReactStatics(R,P,O)}var U=getOwnPropertyNames(T);getOwnPropertySymbols&&(U=U.concat(getOwnPropertySymbols(T)));for(var W=getStatics(R),V=getStatics(T),Y=0;Y<U.length;++Y){var $=U[Y];if(!KNOWN_STATICS[$]&&!(O&&O[$])&&!(V&&V[$])&&!(W&&W[$])){var X=getOwnPropertyDescriptor(T,$);try{defineProperty(R,$,X)}catch(R){}}}}return R}var EVENT$2={MODULE_APPEAR:"moduleAppear",MODULE_DISAPPEAR:"moduleDisappear"},ElevatorManager=function(){function R(T){_class_call_check(this,R),_define_property(this,"isInit",void 0),_define_property(this,"navigating",void 0),_define_property(this,"animated",void 0),_define_property(this,"floors",void 0),_define_property(this,"floorData",void 0),_define_property(this,"elevatorTitles",void 0),_define_property(this,"elevatorTitlesOrder",void 0),_define_property(this,"destroy",void 0),_define_property(this,"cachedUpdatedTitle",void 0),_define_property(this,"setActiveFloorIndex",void 0),_define_property(this,"activeFloorIndex",void 0),_define_property(this,"setFloors",void 0),_define_property(this,"ctx",void 0),this.ctx=T,this.isInit=!1,this.navigating=!1,this.animated=!1,this.floors=[],this.floorData={},this.elevatorTitles={},this.elevatorTitlesOrder=[],this.destroy=this.initFloorsListener(),this.cachedUpdatedTitle={}}return _create_class(R,[{key:"updateElevatorTitles",value:function(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.assign(this.elevatorTitles,R)}},{key:"initFloorsListener",value:function(){var R,T,O=this,P=!1,U=function(){P||(P=!0)},W=function(R){if(!O.navigating&&P){var T=O.floorData[R.detail.rowId];if(T){var U=R.detail.ev||R.detail.event;if("down"===(U&&(U.direction||U.detail&&U.detail.direction))&&O.setActiveFloorIndex){var W=O.getFloorsIndex(T.moduleId);-1!==W&&O.setActiveFloorIndex(W)}}}},V=function(R){if(!O.navigating&&P){var T=O.floorData[R.detail.rowId];if(T){var U=R.detail.ev||R.detail.event;if("up"===(U&&(U.direction||U.detail&&U.detail.direction))&&O.setActiveFloorIndex){var W=O.getFloorsIndex(T.moduleId);-1!==W&&O.setActiveFloorIndex(W&&W-1)}}}},Y=(null===(T=this.ctx)||void 0===T?void 0:null===(R=T.config)||void 0===R?void 0:R.platform)==="pc"?"scroll":"onListScroll";return window.addEventListener(Y,U),window.addEventListener(EVENT$2.MODULE_APPEAR,W),window.addEventListener(EVENT$2.MODULE_DISAPPEAR,V),function(){window.removeEventListener(Y,U),window.removeEventListener(EVENT$2.MODULE_APPEAR,W),window.removeEventListener(EVENT$2.MODULE_DISAPPEAR,V)}}},{key:"getFloors",value:function(){return this.elevatorTitlesOrder.filter(function(R){return!!R.title})}},{key:"getFloorsIndex",value:function(R){return this.elevatorTitlesOrder.filter(function(R){return R.title}).findIndex(function(T){return T.moduleId===R})}},{key:"withElevatorProps",value:function(R){this.isInit=!0;var T=this;return this.floorData={},this.floors=[],this.elevatorTitlesOrder=[],T.activeFloorIndex=0,hoistNonReactStatics(function(O){var P=_sliced_to_array(React.useState(T.activeFloorIndex),2),U=P[0],W=P[1],V=_sliced_to_array(React.useState(T.getFloors()),2),Y=V[0],$=V[1];T.setActiveFloorIndex=W,T.activeFloorIndex=U,T.setFloors=$;var X=React.useCallback(function(R){var O,P,U=R.moduleId,W=R.offset,V=void 0===W?0:W,Y=scrollToModule$1({isPC:(null===(P=T.ctx)||void 0===P?void 0:null===(O=P.config)||void 0===O?void 0:O.platform)==="pc",moduleId:U,animated:T.animated,offset:V}),$=100;"number"==typeof Y&&T.animated&&($+=Math.abs(Y/(5+.5*Math.sqrt(Math.sqrt(Math.abs(Y)))))+600),T.navigating=!0,setTimeout(function(){var R=T.getFloorsIndex(U);T.navigating=!1,-1!==R&&T.setActiveFloorIndex(R)},$)},[]);return jsx(R,_object_spread_props(_object_spread({},O),{data:_object_spread_props(_object_spread({},O.data),{data:Y}),activeFloorIndex:T.activeFloorIndex,scrollToFloor:X}))},R)}},{key:"pushFloorData",value:function(R){if(R){var T=R.title,O=R.moduleId,P=this.getFloors();this.setFloors&&this.setFloors(_to_consumable_array(P)),this.floorData[O]={moduleId:O,title:T}}}},{key:"getElevatorTitle",value:function(R){if(this.elevatorTitles){var T=R.moduleInfo.uuid,O=this.elevatorTitles[T];if(O)return O.text}}},{key:"updateFloorTitle",value:function(R){var T=R.title,O=R.moduleId;this.cachedUpdatedTitle[O]={title:T,moduleId:O};var P=this.elevatorTitlesOrder.findIndex(function(R){return R.moduleId===O});-1===P?this.elevatorTitlesOrder.push({moduleId:O,title:T}):this.elevatorTitlesOrder[P].title=T,this.pushFloorData({title:T,moduleId:O})}},{key:"pushFloorTitle",value:function(R){var T=R.title,O=R.moduleId;-1===this.elevatorTitlesOrder.findIndex(function(R){return R.moduleId===O})&&(this.elevatorTitlesOrder.push({moduleId:O,title:this.cachedUpdatedTitle[O]?this.cachedUpdatedTitle[O].title:T}),this.pushFloorData({title:T,moduleId:O}))}},{key:"pushFloor",value:function(R){var T,O=null===(T=this.ctx)||void 0===T?void 0:T.getElevatorTitle,P=O?O(R):this.getElevatorTitle(R),U=R.moduleInfo.uuid;this.pushFloorTitle({title:P,moduleId:U})}}]),R}(),ElevatorManager$1=ElevatorManager,styles={sticky:{position:"fixed",width:"100%"},unsticky:{position:"static",width:"100%"}},headerViews=[],removeStickyView=function(R){headerViews.splice(R,1)},addStickyView=function(R,T,O){var P=R&&R.current;return headerViews.push({headerRef:R,props:T,setSticky:O,offsetTop:P.offsetTop}),headerViews.length-1},stickyThreshold=10,getHeaderOffset=function(R){for(var T=R.parentElement,O=T.offsetTop;T.offsetParent;)O+=(T=T.offsetParent).offsetTop;return O};function StickyHeaderWeb(R){var T=R.children,O=React.useRef(),P=React.useRef("auto"),U=_sliced_to_array(React.useState(!1),2),W=U[0],V=U[1];React.useEffect(function(){!0===W&&R.onSticky?R.onSticky():!1===W&&R.onUnsticky&&R.onUnsticky()},[R,W]),React.useEffect(function(){var T=addStickyView(O,R,function(R){V(R)});return P.current=window.getComputedStyle(O.current).height,function(){removeStickyView(T)}},[]);var Y=_object_spread_props(_object_spread({},W?styles.sticky:styles.unsticky),{zIndex:100,top:"".concat(listScrollOffsetTop,"px")});return jsx(GcpRenderList.Header,_object_spread_props(_object_spread({},R),{style:{height:W?P.current:"auto"},children:jsx("div",{ref:O,style:Y,children:T})}))}window.addEventListener("onListScroll",function(R){listScrollOffsetTop=R.detail&&R.detail.target&&R.detail.target.getBoundingClientRect?R.detail.target.getBoundingClientRect().top:0;for(var T,O=(R.detail.target.scrollTop||window.scrollY)+listScrollOffsetTop+stickyThreshold,P=0;P<headerViews.length&&!(O<getHeaderOffset(headerViews[P].headerRef.current));P++)T=P;var U=headerViews[T];U&&!U.isSticky&&(U.isSticky=!0,U.setSticky(!0)),headerViews.forEach(function(R,O){(O!==T||void 0===T)&&R.isSticky&&(R.isSticky=!1,R.setSticky(!1))})});var StickyHeaderWeb$1=React.memo(StickyHeaderWeb),EVENT$1={HEADER_STICKY:"headerSticky",HEADER_UNSTICKY:"headerUnsticky",MODULE_APPEAR:"moduleAppear",MODULE_DISAPPEAR:"moduleDisappear"},handleAppear=function(R,T,O){window.dispatchEvent(new CustomEvent(EVENT$1.MODULE_APPEAR,{detail:{rowId:T,rows:O,event:R,moduleRenderMode:"header"}}))},handleDisappear=function(R,T,O){window.dispatchEvent(new CustomEvent(EVENT$1.MODULE_DISAPPEAR,{detail:{rowId:T,rows:O,event:R,moduleRenderMode:"header"}}))},dispatchSticky=function(R,T,O){window.dispatchEvent(new CustomEvent(EVENT$1.HEADER_STICKY,{detail:{rowId:T,rows:[O],event:R}}))},dispatchUnsticky=function(R,T,O){window.dispatchEvent(new CustomEvent(EVENT$1.HEADER_UNSTICKY,{detail:{rowId:T,rows:[O],event:R}}))};function RecyclerviewItem(R){var T,O=R.moduleInfo,P=R.rows,U=R.allUI,W=R.isHydrating,V=R.isSSring,Y=R.context,$=R.onPageScroll,X=R.onPageEndReached,Q=R.isHeader,Z=R.itemProps,ee=void 0===Z?{}:Z,en=R.modRowsProps,er=void 0===en?{}:en,eo=O.uuid||O.moduleId,ei="floor-title"===O.fullName?void 0:"mui-zebra-module",ea=_sliced_to_array(React.useState(!1),2),ec=ea[0],eu=ea[1];T=Q?StickyHeaderWeb$1:GcpRenderList.Cell;var ed=React.useCallback(function(R){Q&&(eu(!0),dispatchSticky(R,eo,P[0]))},[]),ep=React.useCallback(function(R){Q&&(eu(!1),dispatchUnsticky(R,eo,P[0]))},[]),ef={onAppear:function(R){handleAppear(R,eo,P)},onDisappear:function(R){handleDisappear(R,eo,P)}},em=0===P[0].rowIndex?eo:P[0].rowId,ew=O.name||O.fullName,eh={};return O.kangaroo&&O.kangaroo.ignoreInteraction&&(eh.ignoreInteraction="true"),jsx(T,_object_spread_props(_object_spread(_object_spread_props(_object_spread({},ef),{onSticky:ed,onUnsticky:ep,id:em,"data-spm":eo,"data-uuid":eo,"mod-name":ew,"data-version":O.version,className:ei}),eh,ee),{children:jsx(ModRows,_object_spread(_object_spread_props(_object_spread({isSticky:ec,onPageScroll:$,onPageEndReached:X},R),{renderRows:P,allUI:U,isHydrating:W,isSSring:V,context:Y}),er))}))}var moduleData={dependencies:{ModRows:ModRows,StickyHeaderWeb:StickyHeaderWeb$1},variables:{EVENT:EVENT$1,handleAppear:handleAppear,handleDisappear:handleDisappear,dispatchSticky:dispatchSticky,dispatchUnsticky:dispatchUnsticky}},HOCRecyclerviewItem=React.memo(function(R){var T,O=null===(T=R.ctx)||void 0===T?void 0:T.withRecycleviewItem;return O?O(moduleData)(RecyclerviewItem)(R):jsx(RecyclerviewItem,_object_spread({},R))}),RecyclerViewItem=HOCRecyclerviewItem,useElevatorManager=function(R){var T=React.useMemo(function(){return new ElevatorManager$1(R)},[]);return React.useEffect(function(){return function(){T.destroy()}},[]),T},pageScrollEndReachedListeners=[],addPageScrollEndReachedListener=function(R){return pageScrollEndReachedListeners.push(R),function(){var T=pageScrollEndReachedListeners.findIndex(R);pageScrollEndReachedListeners.splice(T,1)}},handleEndReached=function(R){window.dispatchEvent(new CustomEvent("onListEndReached",{detail:R})),pageScrollEndReachedListeners.length&&pageScrollEndReachedListeners.forEach(function(T){return"function"==typeof T&&T(R)})},pageScrollListeners=[],addPageScrollListener=function(R){return pageScrollListeners.push(R),function(){var T=pageScrollListeners.findIndex(R);pageScrollListeners.splice(T,1)}},handleScroll=function(R){window.dispatchEvent(new CustomEvent("onListScroll",{detail:R})),pageScrollListeners.length&&pageScrollListeners.forEach(function(T){return"function"==typeof T&&T(R)})};function RecyclerView(R){var T,O,P=R.renderRows,U=R.context,W=R.elevatorTitles,V=R.ctx,Y=R.backgroundImage,$=R.showLoadMoreLoading,X=R.loadMoreComp,Q=React.useRef(!1),Z=React.useRef(null),ee=useElevatorManager(V);ee.updateElevatorTitles(W);var en=ee.updateFloorTitle.bind(ee),er=(null===(O=V)||void 0===O?void 0:null===(T=O.config)||void 0===T?void 0:T.platform)!=="phone"||window.__inApp?0:750/window.innerWidth*56,eo=React.useRef(new StickyOffsetManage(er)),ei=[];if(Y&&ei.push(jsx(GcpRenderList.Cell,{children:Y})),P&&P.length>0)for(var ea=0;ea<P.length;){"elevator"===P[ea].moduleClass.moduleType&&(P[ea].moduleClass=ee.withElevatorProps(P[ea].moduleClass));var ec=P[ea],eu=ec.moduleInfo,ed=ec.rowId;if("header"===ec.moduleClass.moduleRenderMode)ei.push(jsx(RecyclerViewItem,_object_spread_props(_object_spread({isHeader:!0,moduleInfo:eu,rows:[P[ea]]},R),{context:U,ctx:V,onPageScroll:addPageScrollListener,onPageEndReached:addPageScrollEndReachedListener,stickyOffsetManage:eo,updateFloorTitle:en}),ed)),ea++;else{ee.pushFloor(P[ea]);var ep=eu.uuid||eu.moduleId,ef=eu.cellLength||1,em=P.slice(ea,ea+ef);ei.push(jsx(RecyclerViewItem,_object_spread_props(_object_spread({moduleInfo:eu,rows:em},R),{context:U,ctx:V,onPageScroll:addPageScrollListener,onPageEndReached:addPageScrollEndReachedListener,stickyOffsetManage:eo,updateFloorTitle:en}),ep)),ea+=ef}}return React.useEffect(function(){(P&&P.length||0)>0&&!Q.current&&(Q.current=!0,window.dispatchEvent(new Event("onFirstScreenDomReady")))},[P]),jsxs(GcpRenderList,{id:"recyclerview",ref:Z,onScroll:handleScroll,onEndReached:handleEndReached,style:{position:"relative"},children:[ei.length>0&&ei,ei.length>0&&$&&X]})}var AppContext=React.createContext(),moduleRowsState=function(R){if(R&&R.length>0){var T={},O=makeRenderGroup(R),P=O.fixTop,U=O.fixBottom,W=O.fixBg,V=O.listRows;return T.fixTopModules=P,T.fixBottomModules=U,T.fixBgModules=W,T.listRowsModules=V,T}return{}},makeRenderGroup=function(R){var T=[],O=[],P=[],U=[];return R.forEach(function(R){if(R.moduleInfo){var W=R.moduleClass;if(W||"floor-title"!==R.moduleInfo.fullName||(W=R.floorTitle,R.moduleClass=W),W)switch(W.modulePosition){case"top":T.push(R);break;case"background":P.push(R);break;case"bottom":O.push(R);break;default:U.push(R)}}}),{fixTop:T,fixBottom:O,fixBg:P,listRows:U}},createRefHandle=function(R,T,O,P){return function(){return{updateData:function(P,U){U&&-1===O.current.indexOf(U)&&O.current.push(U),P&&R(function(R){return _object_spread({},R,P)}),P&&P.allUI&&P.allUI.length>0&&T(P.allUI)},setCustomPage:function(R){R&&P(R)}}}},checkSSR=function(){window.__isHydrating=!1},usePageUpdatedHook=function(){React.useEffect(function(){window&&window.$zebra&&"maintain"===window.$zebra.previewEnv&&window&&window.postMessage&&window.postMessage({type:"pageUpdated"},location.origin)})};function App$1(R,T){var O,P=R.isHydrating,U=void 0!==P&&P,W=R.isSSring,V=void 0!==W&&W,Y=R.ctx,$=R.onAfterFirstScreenRender,X=R.onAfterFellowScreenRender,Q=R.showLoadMoreLoading,Z=R.loadMoreComp,ee=R.stage,en=void 0===ee?[]:ee,er=_sliced_to_array(React.useState(R||{}),2),eo=er[0],ei=er[1],ea=_sliced_to_array(React.useState(null),2),ec=ea[0],eu=ea[1],ed=React.useRef(en),ep=_sliced_to_array(React.useState(R.allUI||[]),2),ef=ep[0],em=ep[1],ew="function"==typeof(null===(O=Y)||void 0===O?void 0:O.createPageTheme)&&Y.createPageTheme(eo)||{},eh=ew.pageStyle,e_=void 0===eh?{}:eh,eg=ew.BackgoundImage,ev=ew.bgScrollable,ey=void 0!==ev&&ev,eS=ey?eg:null;React.useImperativeHandle(T,createRefHandle(ei,em,ed,eu)),usePageUpdatedHook(),checkSSR(),React.useEffect(function(){ed.current.map(function(R){return"firstScreen"===R?$:"fellowScreen"===R&&X}).filter(Boolean).forEach(function(R){R()}),ed.current=[]});var eE=eo.modRows,eR=eo.devicePerf,eb=eo.pageInfo,eT=eo.sysInfo,eI={};eE&&eE.length>0&&(eI=moduleRowsState(eE));var ek=eb?"".concat(eb.spma,".").concat(eb.spmb):"0.0";return ec||jsxs(Page$1,{style:e_,"spm-id":ek,append:"tree",children:[ey?null:eg,jsx(ModRows,{renderRows:eI.fixBgModules,pageInfo:eb,sysInfo:eT,devicePerf:eR,allUI:ef,isHydrating:U,isSSring:V,context:AppContext,onPageScroll:addPageScrollListener,onPageEndReached:addPageScrollEndReachedListener}),jsx(ModRows,{renderRows:eI.fixTopModules,pageInfo:eb,sysInfo:eT,devicePerf:eR,allUI:ef,isHydrating:U,isSSring:V,context:AppContext,onPageScroll:addPageScrollListener,onPageEndReached:addPageScrollEndReachedListener}),jsx(RecyclerView,{ctx:Y,renderRows:eI.listRowsModules,context:AppContext,devicePerf:eR,allUI:ef,isHydrating:U,isSSring:V,pageInfo:eb,sysInfo:eT,elevatorTitles:eo.elevatorTitles,backgroundImage:eS,showLoadMoreLoading:Q&&eo.hasMoreModules,loadMoreComp:Z}),jsx(ModRows,{renderRows:eI.fixBottomModules,pageInfo:eb,sysInfo:eT,devicePerf:eR,allUI:ef,isHydrating:U,isSSring:V,context:AppContext,onPageScroll:addPageScrollListener,onPageEndReached:addPageScrollEndReachedListener})]})}var SingleRootApp=React.forwardRef(App$1),EVENT={MODULE_APPEAR:"moduleAppear",MODULE_DISAPPEAR:"moduleDisappear",MODULE_DOM_READY:"moduleDomReady",PAGE_SCROLL:"onListScroll",SCROLL_TO_MODULE:"liftScrollToModule",FIRST_SCREEN_DOM_READY:"onFirstScreenDomReady"},isPC=!1,listeners$1=[],elevatorData={floors:[],activeFloorIndex:0},elevatorStore={setIsPC:function(R){isPC=R},addFloor:function(R){var T=R.moduleId,O=R.title;!O||elevatorData.floors.find(function(R){return R.moduleId===T})||(elevatorData=_object_spread_props(_object_spread({},elevatorData),{floors:_to_consumable_array(elevatorData.floors).concat([{moduleId:T,title:O}])}),elevatorStore._emitChange())},subscribe:function(R){return listeners$1=_to_consumable_array(listeners$1).concat([R]),function(){listeners$1=listeners$1.filter(function(T){return T!==R})}},getSnapshot:function(){return elevatorData},getServerSnapshot:function(){return elevatorData},setPreFloorAsActive:function(R){for(var T=0,O=0;O<elevatorData.floors.length;O++){if(elevatorData.floors[O].moduleId===R){elevatorData=_object_spread_props(_object_spread({},elevatorData),{activeFloorIndex:T}),elevatorStore._emitChange();break}T=O}},setCurFloorAsActive:function(R){var T=elevatorData.floors.findIndex(function(T){return T.moduleId===R});T<0||(elevatorData=_object_spread_props(_object_spread({},elevatorData),{activeFloorIndex:T}),elevatorStore._emitChange())},scrollToFloor:function(R){var T=R.moduleId,O=elevatorData.floors.find(function(R){return R.moduleId===T});if(O){var P=document.getElementById(O.moduleId);if(P){var U=isPC?window:document.getElementById("recyclerview"),W=document.getElementsByClassName("gcp-sticky-container")[0],V=P.offsetTop-(W?W.offsetHeight:0);U.scrollTo?U.scrollTo({top:V,behavior:"instant"}):U.scrollTop=P.offsetTop-(W?W.offsetHeight:0),window.dispatchEvent(new CustomEvent(EVENT.SCROLL_TO_MODULE,{detail:{elevatorId:T,moduleId:T}})),setTimeout(function(){elevatorStore.setCurFloorAsActive(T)},50)}}},_emitChange:function(){var R=!0,T=!1,O=void 0;try{for(var P,U=listeners$1[Symbol.iterator]();!(R=(P=U.next()).done);R=!0)(0,P.value)()}catch(R){T=!0,O=R}finally{try{R||null==U.return||U.return()}finally{if(T)throw O}}}},elevatorStore$1=elevatorStore,listeners=[],floors=[],stickyData={stickyModuleId:null},SICKY_THRESHOLD=10,stickyStore={addFloor:function(R){var T=R.moduleId,O=R.moduleContainerRef;floors.length||stickyStore._init(),floors.find(function(R){return R.moduleId===T})||floors.push({moduleId:T,moduleContainerRef:O})},getStickyOffset:function(){return document.getElementById("recyclerview").getBoundingClientRect().top},subscribe:function(R){return listeners=_to_consumable_array(listeners).concat([R]),function(){listeners=listeners.filter(function(T){return T!==R})}},getSnapshot:function(){return stickyData},getServerSnapshot:function(){return stickyData},_init:function(){window.addEventListener("onListScroll",function(){for(var R=document.getElementById("recyclerview").scrollTop,T=null,O=floors.length-1;O>=0;O--){var P=floors[O],U=P.moduleId,W=P.moduleContainerRef;if(W.current&&R+SICKY_THRESHOLD>=W.current.offsetTop){T=U;break}}T!==stickyData.stickyModuleId&&(stickyData=_object_spread_props(_object_spread({},stickyData),{stickyModuleId:T}),stickyStore._emitChange())})},_emitChange:function(){var R=!0,T=!1,O=void 0;try{for(var P,U=listeners[Symbol.iterator]();!(R=(P=U.next()).done);R=!0)(0,P.value)()}catch(R){T=!0,O=R}finally{try{R||null==U.return||U.return()}finally{if(T)throw O}}}},stickyStore$1=stickyStore;function DataFetchEnd(R){return(0,R.useData)(["__data_fetch_end"]),logger$1.log("[data-fetch-end]"),jsx(jsxRuntime.Fragment,{})}function Module(R){var T=_object_spread({},R);return(delete T.ref,delete T.moduleClass,T.ssrSuspenseEnabled)?jsxs(jsxRuntime.Fragment,{children:[jsx(React.Suspense,{fallback:jsx(jsxRuntime.Fragment,{}),children:jsx(ErrorBoundary,{moduleId:R.id,name:R.name,children:jsx(R.moduleClass,_object_spread({},T))})}),jsx(React.Suspense,{fallback:jsx(jsxRuntime.Fragment,{}),children:jsx(DataFetchEnd,{useData:R.useData})})]}):jsx(ErrorBoundary,{moduleId:R.id,name:R.name,children:jsx(R.moduleClass,_object_spread({},T))})}function App(R){var T=R.sysInfo,O=R.pageInfo,P=R.moduleInfo,U=R.moduleData,W=R.moduleClass,V=R.onPageScroll,Y=R.moduleContainer,$=R.pageHasBeenScrolledRef,X=R.dataStore;logger$1.log("[module-rendering]",P.name,P.uuid);var Q=null;window.__isSSR||(Q=React.useRef(Y)),React.useEffect(function(){window.dispatchEvent(new CustomEvent(EVENT.MODULE_DOM_READY,{detail:{moduleId:P.uuid}}))},[]);var Z={id:P.uuid,index:P.index||0,key:P.uuid,spm:P.uuid,name:P.name||"",version:P.version||"",kangaroo:P.kangaroo||{},data:U,dataSpm:P.uuid,moduleId:P.uuid,scrollToFloor:elevatorStore$1.scrollToFloor,isSticky:!1,getStickyOffset:function(){return 0},onPageScroll:V,isBottomData:!1,pageInfo:O,sysInfo:T,ref:Q,dataConfig:P.dataConfig||{},theme:P.theme||P.meta||{},config:P.config||{},moduleClass:W,useData:X&&X.useData.bind(X),ssrSuspenseEnabled:P.ssrSuspenseEnabled};if("elevator"===W.moduleType){if(window.__isSSR)return jsx(jsxRuntime.Fragment,{});var ee=React.useSyncExternalStore(elevatorStore$1.subscribe,elevatorStore$1.getSnapshot,elevatorStore$1.getServerSnapshot),en=ee.activeFloorIndex,er=ee.floors;U.data=er,Z.activeFloorIndex=en}var eo=React.useRef(null);if(!window.__isSSR&&"header"===W.moduleRenderMode){stickyStore$1.addFloor({moduleId:P.uuid,moduleContainerRef:Q});var ei=React.useSyncExternalStore(stickyStore$1.subscribe,stickyStore$1.getSnapshot,stickyStore$1.getServerSnapshot).stickyModuleId;Z.isSticky=ei===P.uuid,React.useEffect(function(){var R=window.getComputedStyle(eo.current).height;Q.current.style.height=R},[])}var ea=function(R){"down"===(R&&R.detail&&R.detail.direction)&&$.current&&elevatorStore$1.setCurFloorAsActive(P.uuid),logger$1.log("[module-appear]",P.uuid,P.name,R),window.dispatchEvent(new CustomEvent(EVENT.MODULE_APPEAR,{detail:{rowId:P.uuid,rows:[{rowId:P.uuid,rowKey:P.uuid,moduleInfo:P,moduleClass:W}],event:R}}))},ec=function(R){"up"===(R&&R.detail&&R.detail.direction)&&elevatorStore$1.setPreFloorAsActive(P.uuid),logger$1.log("[module-disappear]",P.uuid,P.name,R),window.dispatchEvent(new CustomEvent(EVENT.MODULE_DISAPPEAR,{detail:{rowId:P.uuid,rows:[{rowId:P.uuid,rowKey:P.uuid,moduleInfo:P,moduleClass:W}],event:R}}))};if("header"!==W.moduleRenderMode)return jsx(VisibilityChange,{onAppear:ea,onDisappear:ec,children:jsx(Module,_object_spread({},Z))});var eu={position:"static",width:"100%",zIndex:100};if(!window.__isSSR&&Z.isSticky){var ed=stickyStore$1.getStickyOffset();eu=_object_spread_props(_object_spread({},eu),{position:"fixed",top:"".concat(ed,"px")})}return jsx(VisibilityChange,{onAppear:ea,onDisappear:ec,children:jsx("div",{style:eu,ref:eo,className:Z.isSticky?"gcp-sticky-container":"",children:jsx(Module,_object_spread({},Z))})})}function registerShowupHandlerAsync(R,T,O){logger$1.log("[register-showup-handler-async]");var P=getShowupHandler(R,T,O);if(window.gcpPrehotParamsInStr)P(window.gcpPrehotParamsInStr);else{var U=window.webviewShowUp||function(R){window.gcpPrehotParamsInStr=R};window.webviewShowUp=function(R){U(R),P(R)}}}function getShowupHandler(R,T,O){return function(P){if(logger$1.log("[showup-handler-try-to-excute]",P),!R.isPrehot||!R.lzdWebviewHidden||!P){logger$1.log("[showup-handler-exit]",R.isPrehot,R.lzdWebviewHidden,P);return}"function"==typeof window.gcpFpsInitFunc&&window.gcpFpsInitFunc(),addFSPListeners(),window.__FIRST_SCREEN_USE_PREHOT=R.isPrehot;var U,W=getParamsInJson(P),V=W.url,Y=W.webViewType,$=W.backupUrl,X=W.exception;if(X){logger$1.warn("[showup-handler-params-exception]",Y,P,X.message,X.stack),$?window.location.replace($):logger$1.log("[showup-handler-backup-url-empty]");return}window.history.replaceState({},"",V),R.config.url=V,R.lzdWebviewHidden=!1,window.lzdWebviewHidden=!1,!window.gcpShouldImportItrace&&window.gcpIsPageMustImportItrace&&window.gcpLoadItraceAsync&&window.gcpIsPageMustImportItrace()&&(window.gcpShouldImportItrace=!0,setTimeout(function(){window.gcpLoadItraceAsync()},1500)),window.__PID=utils.getUrlParam("wh_pid",location.search,!1),window.__IS_PHA="object"==typeof window.__pha_environment__,window.__PAGE_NAME=window.__PID||window.location.pathname,setLanguage(),"pre_hot"===Y&&(utils.setPageName(),window.prehotShowUpTime=window.performance.now(),phaHandler(),"function"==typeof window.gcpReplaceMybizLoadingHtml&&window.gcpReplaceMybizLoadingHtml(window.location.pathname,window.__PID),setPageLoading(T,V),getEnv.isDrz()&&setBodyClassForMybiz(window.location.pathname,window.__PID)),"function"==typeof(null===(U=window.gcpStartConfig)||void 0===U?void 0:U.vconsoleInit)&&window.gcpStartConfig.vconsoleInit(),LALog$1.refresh(),LALog$1.info("lalog-open-status",LALog$1.isOpen),LALog$1.info("showup-handler-invoked","type:".concat(Y,",url:").concat(V)),O&&O()}}function setPageLoading(R,T){if(/[&?](hide_page_loading|hide_mobile_loading)=true/.test(T)){var O=document.querySelector(R.rootSelector);O&&(O.innerHTML="")}}function getParamsInJson(R){try{O=JSON.parse(R)}catch(W){logger$1.warn("[get-params-in-json-exception-out]",R,W.message,W.stack),T=W;try{var T,O,P=R.match(/https.*?webviewType/gi);if(P&&P.length){var U=P[0].replace('","webViewType',"").match(/\{.*(?=\})\}/);R=R.replace(U[0],encodeURIComponent(U[0])),O=JSON.parse(R)}}catch(O){logger$1.warn("[get-params-in-json-exception-in]",R,O.message,O.stack),T=O}}return O.url&&O.webViewType?(O.url=unifyUrlOrigin(O.url),O.url=addWebviewTypeToUrl(O.url,O.webViewType),O):{backupUrl:getBackupUrl(R),exception:T}}function getBackupUrl(R){var T=R.match(/https.*?clickTrackInfo/gi);return T&&T.length?T[0].replace("&clickTrackInfo",""):null}function unifyUrlOrigin(R){var T=window.location.href,O=R;return R.indexOf("//www.lazada.")>=0&&(window.wwwHostnameReplaced=!0),T.slice(0,T.indexOf("/wow"))+O.slice(O.indexOf("/wow"))}function addFSPListeners(){try{if(!window._JT_FSP)return;window._JT_FSP.install(),window._JT_FSP.listeners=[function(R){window.__FSPV2=R,reportFSR(),reportFSP(R.cost),reportModsHeight()}]}catch(R){logger$1.warn("[register-fsp-prehot-error]",R)}}function addWebviewTypeToUrl(R,T){return"".concat(R).concat(R.includes("?")?"&":"?","web_view_type=").concat(T)}function setBodyClassForMybiz(R,T){if(R.includes("-mybiz")||T&&T.includes("-mybiz")){var O=document.querySelector("body"),P=O.className||"";O.className=P.replace("gcp-daraz-page","gcp-daraz-mybiz-page")}}var reportSSR=function(){logger$1.log("[report-ssr]");try{if(shouldNotReport){window.__wpk||logger$1.warn("[report-ssr-error]","wpk is empty");return}window.__IS_TRADITION_SSR&&reportTraditionSSR(),window.__IS_KANGAROO_SSR&&reportKangarooSSR(),window.location.href.indexOf("use_ssr=true")>=0&&reportUprProxySSR()}catch(R){logger$1.warn("[report-ssr-exception]",R,R.message,R.stack)}},reportTraditionSSR=function(){var R=_async_to_generator(function(){return _ts_generator(this,function(R){return window.__PAGE_CFPT||calculateCfptOfTraditionSSR(window.performance&&window.performance.now&&window.performance.now()),[2]})});return function(){return R.apply(this,arguments)}}(),reportUprProxySSR=function(){var R=_async_to_generator(function(){return _ts_generator(this,function(R){return window.__IS_UPRPROXY_SSR||calculateCfptOfUprProxySSR(window.performance&&window.performance.now&&window.performance.now()),[2]})});return function(){return R.apply(this,arguments)}}(),reportKangarooSSR=function(){var R=_async_to_generator(function(){return _ts_generator(this,function(R){return window.__MTOP_SSR_RENDERED&&calculateCfptOfKangarooSSR(),[2]})});return function(){return R.apply(this,arguments)}}();function setDarkMode(R){var T=(R||{}).darkModeEnabled;if(logger$1.log("[dark-mode-enabled]",T),T&&window.$detector&&window.$detector.isAliApp&&(window.$detector.appName.indexOf("la")>=0||window.$detector.appName.indexOf("dz")>=0)){var O=window.setDarkMode;O&&"function"==typeof O&&(logger$1.log("[set-dark-mode-trigger]"),O())}}var reactRollbackUprsPre={ID:{"/upr_1000345_lazada/":"//pre-www.lazada.co.id/wow/gcp/route/lazada/id/upr_1000345_lazada/channel/id/upr-router/id_upr","/upr_1002611_lazada/":"//pre-www.lazada.co.id/wow/gcp/route/lazada/id/upr_1002611_lazada/channel/id/upr-router-other/id"},SG:{"/upr_1000345_lazada/":"//pre-www.lazada.sg/wow/gcp/route/lazada/sg/upr_1000345_lazada/channel/sg/upr-router/sg","/upr_1002611_lazada/":"//pre-www.lazada.sg/wow/gcp/route/lazada/sg/upr_1002611_lazada/channel/sg/upr-router-other/sg"},MY:{"/upr_1000345_lazada/":"//pre-www.lazada.com.my/wow/gcp/route/lazada/my/upr_1000345_lazada/channel/my/upr-router/my","/upr_1002611_lazada/":"//pre-www.lazada.com.my/wow/gcp/route/lazada/my/upr_1002611_lazada/channel/my/upr-router-other/my"},TH:{"/upr_1000345_lazada/":"//pre-www.lazada.co.th/wow/gcp/route/lazada/th/upr_1000345_lazada/channel/th/upr-router/th","/upr_1002611_lazada/":"//pre-www.lazada.co.th/wow/gcp/route/lazada/th/upr_1002611_lazada/channel/th/upr-router-other/th"},PH:{"/upr_1000345_lazada/":"//pre-www.lazada.com.ph/wow/gcp/route/lazada/ph/upr_1000345_lazada/channel/ph/upr-router/render","/upr_1002611_lazada/":"//pre-www.lazada.com.ph/wow/gcp/route/lazada/ph/upr_1002611_lazada/channel/ph/upr-router-other/ph"},VN:{"/upr_1000345_lazada/":"//pre-www.lazada.vn/wow/gcp/route/lazada/vn/upr_1000345_lazada/channel/vn/upr-router/vn","/upr_1002611_lazada/":"//pre-www.lazada.vn/wow/gcp/route/lazada/vn/upr_1002611_lazada/channel/vn/upr-router-other/vn"}},reactRollbackUprsProd={ID:{"/upr_1000345_lazada/":"//pages.lazada.co.id/wow/gcp/route/lazada/id/upr_1000345_lazada/channel/id/upr-router/id_upr","/upr_1002611_lazada/":"//pages.lazada.co.id/wow/gcp/route/lazada/id/upr_1002611_lazada/channel/id/upr-router-other/id"},SG:{"/upr_1000345_lazada/":"//pages.lazada.sg/wow/gcp/route/lazada/sg/upr_1000345_lazada/channel/sg/upr-router/sg","/upr_1002611_lazada/":"//pages.lazada.sg/wow/gcp/route/lazada/sg/upr_1002611_lazada/channel/sg/upr-router-other/sg"},MY:{"/upr_1000345_lazada/":"//pages.lazada.com.my/wow/gcp/route/lazada/my/upr_1000345_lazada/channel/my/upr-router/my","/upr_1002611_lazada/":"//pages.lazada.com.my/wow/gcp/route/lazada/my/upr_1002611_lazada/channel/my/upr-router-other/my"},TH:{"/upr_1000345_lazada/":"//pages.lazada.co.th/wow/gcp/route/lazada/th/upr_1000345_lazada/channel/th/upr-router/th","/upr_1002611_lazada/":"//pages.lazada.co.th/wow/gcp/route/lazada/th/upr_1002611_lazada/channel/th/upr-router-other/th"},PH:{"/upr_1000345_lazada/":"//pages.lazada.com.ph/wow/gcp/route/lazada/ph/upr_1000345_lazada/channel/ph/upr-router/render","/upr_1002611_lazada/":"//pages.lazada.com.ph/wow/gcp/route/lazada/ph/upr_1002611_lazada/channel/ph/upr-router-other/ph"},VN:{"/upr_1000345_lazada/":"//pages.lazada.vn/wow/gcp/route/lazada/vn/upr_1000345_lazada/channel/vn/upr-router/vn","/upr_1002611_lazada/":"//pages.lazada.vn/wow/gcp/route/lazada/vn/upr_1002611_lazada/channel/vn/upr-router-other/vn"}};function babelHelper(){var R="function"==typeof Symbol&&"symbol"==_type_of(Symbol.iterator)?function(R){return void 0===R?"undefined":_type_of(R)}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol?"symbol":void 0===R?"undefined":_type_of(R)},T=function(R,T){if(!(R instanceof T))throw TypeError("Cannot call a class as a function")},O=function(){function R(R,T){for(var O=0;O<T.length;O++){var P=T[O];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(R,P.key,P)}}return function(T,O,P){return O&&R(T.prototype,O),P&&R(T,P),T}}(),P=function(R,T,O){return T in R?Object.defineProperty(R,T,{value:O,enumerable:!0,configurable:!0,writable:!0}):R[T]=O,R},U=Object.assign||function(R){for(var T=1;T<arguments.length;T++){var O=arguments[T];for(var P in O)Object.prototype.hasOwnProperty.call(O,P)&&(R[P]=O[P])}return R},W=function(R,T){if("function"!=typeof T&&null!==T)throw TypeError("Super expression must either be null or a function, not "+(void 0===T?"undefined":_type_of(T)));R.prototype=Object.create(T&&T.prototype,{constructor:{value:R,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(R,T):R.__proto__=T)},V=function(R){return R&&R.__esModule?R:{default:R}},Y=function(R){if(R&&R.__esModule)return R;var T={};if(null!=R)for(var O in R)Object.prototype.hasOwnProperty.call(R,O)&&(T[O]=R[O]);return T.default=R,T},$=function(R,T){if(!R)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return T&&("object"==typeof T||"function"==typeof T)?T:R},X=function(){function R(R,T){var O=[],P=!0,U=!1,W=void 0;try{for(var V,Y=R[Symbol.iterator]();!(P=(V=Y.next()).done)&&(O.push(V.value),!T||O.length!==T);P=!0);}catch(R){U=!0,W=R}finally{try{!P&&Y.return&&Y.return()}finally{if(U)throw W}}return O}return function(T,O){if(Array.isArray(T))return T;if(Symbol.iterator in Object(T))return R(T,O);throw TypeError("Invalid attempt to destructure non-iterable instance")}}(),Q=window;Q._typeof=R,Q._classCallCheck=T,Q._createClass=O,Q._defineProperty=P,Q._extends=U,Q._inherits=W,Q._interopRequireDefault=V,Q._interopRequireWildcard=Y,Q._possibleConstructorReturn=$,Q._slicedToArray=X}function e(R){return(e="function"==typeof Symbol&&"symbol"==_type_of(Symbol.iterator)?function(R){return void 0===R?"undefined":_type_of(R)}:function(R){return R&&"function"==typeof Symbol&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":void 0===R?"undefined":_type_of(R)})(R)}var n=function(R,T){void 0===T&&(T={});for(var O=R?null:{},P=document.cookie,U=P?P.split("; "):[],W=/(%[0-9A-Z]{2})+/g,V=0;V<U.length;V++){var Y=U[V].split("="),$=Y.slice(1).join("=");T.json||'"'!==$.charAt(0)||($=$.slice(1,-1));try{var X=Y[0].replace(W,decodeURIComponent);if($=$.replace(W,decodeURIComponent),T.json)try{$=JSON.parse($)}catch(R){}if(R===X){O=$;break}R||(O[X]=$)}catch(R){}}return O},t={ID:{id:"360",lang:["id","en"],langShort:["id","en"],currency:"IDR",domain:"lazada.co.id",regionID:"ID"},MY:{id:"458",currency:"MYR",lang:["en-MY","ms","zh"],langShort:["en","ms","zh"],domain:"lazada.com.my",regionID:"MY"},PH:{id:"608",currency:"PHP",lang:["en-PH"],langShort:["en"],domain:"lazada.com.ph",regionID:"PH"},SG:{id:"702",currency:"SGD",lang:["en-SG","zh"],langShort:["en","zh"],domain:"lazada.sg",regionID:"SG"},TH:{id:"764",currency:"THB",lang:["th","en"],domain:"lazada.co.th",regionID:"TH"},VN:{id:"704",currency:"VND",lang:["vi","en"],domain:"lazada.vn",regionID:"VN"},KH:{id:"116",lang:["km-KH","zh-KH","en-KH"],langShort:["km","zh","en"],currency:"KHR",domain:"kh.lazada.com",regionID:"KH"},BD:{id:"050",currency:"BDT",lang:["en-BD","bn-BD"],langShort:["en","bn"],domain:"daraz.com.bd",regionID:"BD"},LK:{id:"144",currency:"LKR",lang:["en-LK","si-LK"],langShort:["en","si"],domain:"daraz.lk",regionID:"LK"},MM:{id:"104",currency:"MMK",lang:["en-MM","my-MM"],langShort:["en","my"],domain:"shop.com.mm",regionID:"MM"},NP:{id:"524",currency:"NPR",lang:["en-NP","ne-NP"],langShort:["en","ne"],domain:"daraz.com.np",regionID:"NP"},PK:{id:"586",currency:"PKR",lang:["en-PK","ur-PK"],langShort:["en","ur"],domain:"daraz.pk",regionID:"PK"}},o="undefined"!=typeof navigator&&navigator.userAgent?navigator.userAgent:"",r=function(R,T){void 0===R&&(R=!0),void 0===T&&(T=!1);var O="",P="";if("object"==typeof window&&window._i18n_){var U=window._i18n_;if("string"==typeof U)try{U=JSON.parse(U)}catch(R){}"object"==typeof U&&(O=U.regionID,P=U.language)}!O&&window.g_config&&"object"==typeof window.g_config&&(O=window.g_config.regionID,P=window.g_config.language);var W,V=!0!==T&&O?[]:(W=n("hng"))?W.split("|"):[];if(!O&&"object"==typeof location&&location.hostname){for(var Y in t){var $=t[Y];if($&&$.domain&&location.hostname.indexOf($.domain)>-1){O=$.regionID;break}}V.length>1&&(P=V[1])}return O||V.length>=4&&(O=V[0],P=V[1]),T&&V.length>1&&(P=V[1]),P=function(R,T){void 0===R&&(R=""),void 0===T&&(T="");var O=t[R=R.toLocaleUpperCase()],P=O?O.lang:[];if(!Array.isArray(P))return T;for(var U="",W=0;W<P.length;W++){var V=P[W];if(V&&V.indexOf(T)>-1){U=V;break}}return U||(U=P[0]),U}(O=O||"SG",P)||"en",R&&(P=P.substring(0,2)),{regionID:O.toLocaleUpperCase(),language:P}}(!0,!0),a=r.regionID,i=r.language,s=function(){var R=o.toLocaleLowerCase();if(/skywalker/i.test(R))return"dana";var T="",O=R.match(/(gcash|tngkit|truemoney|momo|zalo|paylah|lazlite)/gi);return O&&O[0]&&(T=O[0]),T}();function d(R){return{key:R&&R.length&&R[0].split("::"),displayMessage:"Network error, please try again later"}}var u={request:function(R,T,O){R.method&&delete R.method,R.method&&delete R.mock,R.data=R.data||{};var P={"x-i18n-language":i,"x-i18n-regionID":a,entrance:s};R=Object.assign({},{api:"",v:"1.0",ecode:0,type:"GET",isSec:1,AntiCreep:!0,timeout:2e4,needLogin:!1,dataType:"json",sessionOption:"AutoLoginOnly"},P,R);var U=n("lzd_uid");U&&(P["x-uid"]=U);var W,V,Y=(W=R.shortUa?1:0,V={},window.umidTokenFromHeader?V={"x-ua":window.uabModule&&window.uabModule.getUA?window.uabModule.getUA({OnlyHost:W}):window.UAFromHeader,"x-umidtoken":window.umidTokenFromHeader}:window.Group_umid&&window.Group_umid.getUA&&window.Group_umid.getUmidToken&&(V={"x-ua":window.Group_umid.getUA(),"x-umidtoken":window.Group_umid.getUmidToken()}),V),$=function(R){var T={};return 1===R.isSec&&window.fyModule&&(T={"x-ua":window.fyModule.getFYToken?window.fyModule.getFYToken():"","x-umidtoken":window.fyModule.getUidToken?window.fyModule.getUidToken():""}),T}(R);return R.ext_headers=Object.assign(R.ext_headers||{},P,Y,$),new Promise(function(P,U){return function(R,T,O){return window.lib.streamMtop.request(R,function(R){var P=R&&R.ret&&R.ret.length&&R.ret[0].split("::");"finish"===R.callbackEvent||"SUCCESS"===P[0]&&R.data?T(R):(R.errorCode=d(R.ret)||{},R.errorCodeMessage=R.errorCode.displayMessage,O(R))},function(R){R.errorCode=d(R.ret)||{},R.errorCodeMessage=R.errorCode.displayMessage,O(R)})}(R,function(R){T?T(R):P(R)},function(R){console.warn("UAT mtop error log:".concat(JSON.stringify(R))),O?O(R):U(R)})})}};!function(R,T){var O=R.Promise,P=(O||{resolve:function(){}}).resolve();function U(){var R={},T=new O(function(T,O){R.resolve=T,R.reject=O});return R.promise=T,R}function W(R,T){for(var O in T)void 0===R[O]&&(R[O]=T[O]);return R}String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")});var V={useJsonpResultType:!1,safariGoLogin:!0},Y=[],$={ERROR:-1,SUCCESS:0,TOKEN_EXPIRED:1,SESSION_EXPIRED:2};!function(){var T=R.location.hostname;if(!T){var O=R.parent.location.hostname;O&&~O.indexOf("zebra.alibaba-inc.com")&&(T=O)}var P=RegExp("([^.]*?)\\.?((?:"+"taobao.net)|(?:taobao.com)|(?:tmall.com)|(?:tmall.hk)|(?:alibaba-inc.com".replace(/\./g,"\\.")+"))","i"),U=T.match(P)||[],W=U[2]||"taobao.com",Y=U[1]||"m";"taobao.net"!==W||"x"!==Y&&"waptest"!==Y&&"daily"!==Y?"taobao.net"===W&&"demo"===Y?Y="demo":"alibaba-inc.com"===W&&"zebra"===Y?Y="zebra":"waptest"!==Y&&"wapa"!==Y&&"m"!==Y&&(Y="m"):Y="waptest";var $="h5api";"taobao.net"===W&&"waptest"===Y&&($="acs"),V.mainDomain=W,V.subDomain=Y,V.prefix=$}(),function(){var T=R.navigator.userAgent,O=T.match(/WindVane[\/\s]([\d\.\_]+)/);O&&(V.WindVaneVersion=O[1]);var P=T.match(/AliApp\(([^\/]+)\/([\d\.\_]+)\)/i);P&&(V.AliAppName=P[1],V.AliAppVersion=P[2]);var U=T.match(/AMapClient\/([\d\.\_]+)/i);U&&(V.AliAppName="AMAP",V.AliAppVersion=U[1])}();var X=0;function Q(R){this.id=""+(new Date).getTime()+ ++X,this.params=W(R||{},{v:"*",data:{},type:"get",dataType:"jsonp"}),this.params.type=this.params.type.toLowerCase(),"object"===e(this.params.data)&&(this.params.data=JSON.stringify(this.params.data)),this.middlewares=Y.slice(0)}Q.prototype.use=function(R){if(!R)throw Error("middleware is undefined");return this.middlewares.push(R),this},Q.prototype.__processRequestMethod=function(R){var T=this.params,O=this.options;"get"===T.type&&"jsonp"===T.dataType?O.getJSONP=!0:"get"===T.type&&"originaljsonp"===T.dataType?O.getOriginalJSONP=!0:"get"===T.type&&"json"===T.dataType?O.getJSON=!0:"post"===T.type&&(O.postJSON=!0),R()},Q.prototype.__processRequestType=function(R){this.params;var O=this.options;if(O.WindVaneRequest=!0,!T.windvane||5.4>parseFloat(O.WindVaneVersion))throw Error("WINDVANE_NOT_FOUND::缺少WindVane环境");if(R)return R().then(function(){var R=O.retJson.ret;R instanceof Array&&(R=R.join(","))})},Q.prototype.__processRequestUrl=function(T){this.params;var O=this.options;if(O.hostSetting&&O.hostSetting[R.location.hostname]){var P=O.hostSetting[R.location.hostname];P.prefix&&(O.prefix=P.prefix),P.subDomain&&(O.subDomain=P.subDomain),P.mainDomain&&(O.mainDomain=P.mainDomain)}T()},Q.prototype.__requestWindVane=function(R){var O=this,P=U(),W=this.params,V=this.options,Y=W.data,X=W.api,Q=W.v,Z=V.postJSON?1:0,ee=V.getJSON||V.postJSON||V.getOriginalJSONP?"originaljson":"";void 0!==W.valueType&&("original"===W.valueType?ee="originaljson":"string"===W.valueType&&(ee="")),!0===V.useJsonpResultType&&(ee="");var en,er,eo="https"===location.protocol?1:0,ei=W.isSec||0,ea=W.sessionOption||"AutoLoginOnly",ec=W.ecode||0,eu=W.ext_headers||{},ed=W.ext_querys||{};function ep(R){var U,W=R;V.results=[R],W instanceof Error?(console.error(W.stack),U={ret:[W.message],stack:[W.stack],retJson:$.ERROR}):U="string"==typeof W?{ret:[W],retJson:$.ERROR}:void 0!==W?W:O.options.retJson,T.streamMtop.errorListener&&T.streamMtop.errorListener({api:O.params.api,data:O.params.data,v:O.params.v,retJson:U}),O.options.failureCallback&&O.options.failureCallback(U),P.resolve()}en=2*(er=void 0!==W.timer?parseInt(W.timer):void 0!==W.timeout?parseInt(W.timeout):2e4),!0===W.needLogin&&void 0===W.sessionOption&&(ea="AutoLoginAndManualLogin"),void 0!==W.secType&&void 0===W.isSec&&(ei=W.secType);var ef={api:X,v:Q,post:String(Z),type:ee,isHttps:String(eo),ecode:String(ec),isSec:String(ei),param:JSON.parse(Y),timer:er,needLogin:!!W.needLogin,sessionOption:ea,ext_headers:eu,ext_querys:ed,streamMode:!0};W.ttid&&!0===V.dangerouslySetWVTtid&&(ef.ttid=W.ttid),Object.assign&&W.dangerouslySetWindvaneParams&&Object.assign(ef,W.dangerouslySetWindvaneParams);var em="MtopWVPlugin";return"string"==typeof W.customWindVaneClassName&&(em=W.customWindVaneClassName),T.windvane.call(em,"sendStream",ef,function(R){V.results=[R];var T=V.results[0],U=T&&T.ret||[];T.ret=U,U instanceof Array&&(U=U.join(",")),U.indexOf("SUCCESS")>-1||T.retCode.indexOf("SUCCESS")>-1?T.retType=$.SUCCESS:T.retType=$.ERROR,V.retJson=T,T.retType!==$.SUCCESS?ep(T):O.options.successCallback&&O.options.successCallback(T),P.resolve()},ep,en),P.promise},Q.prototype.__processRequest=function(R,T){var O=this;return P.then(function(){return O.__requestWindVane(T)}).then(R)},Q.prototype.__sequence=function(R){var T=this,O=[],W=[];R.forEach(function R(P){if(P instanceof Array)P.forEach(R);else{var V,Y=U(),$=U();O.push(function(){return Y=U(),(V=P.call(T,function(R){return Y.resolve(R),$.promise},function(R){return Y.reject(R),$.promise}))&&(V=V.catch(function(R){Y.reject(R)})),Y.promise}),W.push(function(R){return $.resolve(R),V})}});for(var V,Y=P;V=O.shift();)Y=Y.then(V);for(;V=W.pop();)Y=Y.then(V);return Y};var Z=function(R){R()},ee=function(R){R()};Q.prototype.request=function(P){var U=this;if(this.options=W(P||{},V),!O){var Y="当前浏览器不支持Promise，请在windows对象上挂载Promise对象";throw T.streamMtop={ERROR:Y},Error(Y)}var $=O.resolve([Z,ee]).then(function(R){var T=R[0],O=R[1];return U.__sequence([T,U.__processRequestMethod,U.__processRequestType,U.__processRequestUrl,U.middlewares,U.__processRequest,O])}).catch(function(R){});return("get"===this.params.type&&"json"===this.params.dataType||"post"===this.params.type)&&(P.pageDomain=P.pageDomain||function(R){try{return".com"!==R.substring(R.lastIndexOf("."))?(R.split(".")||[]).length<=3?R:R.split(".").slice(1).join("."):R.substring(R.lastIndexOf(".",R.lastIndexOf(".")-1)+1)}catch(T){return R.substring(R.lastIndexOf(".",R.lastIndexOf(".")-1)+1)}}(R.location.hostname),P.mainDomain!==P.pageDomain&&(P.maxRetryTimes=4,P.CDR=!0)),this.__requestProcessor=$,$},T.streamMtop=function(R){return new Q(R)},T.streamMtop.request=function(R,T,O){var P={WindVaneRequest:R.WindVaneRequest,LoginRequest:R.LoginRequest,AntiCreep:R.AntiCreep,AntiFlood:R.AntiFlood,successCallback:T,failureCallback:O||T};return new Q(R).request(P)},T.streamMtop.middlewares=Y,T.streamMtop.config=V,T.streamMtop.RESPONSE_TYPE=$,T.streamMtop.CLASS=Q}(window,window.lib||(window.lib={}));var STATUS={PENDING:"PENDING",RESOLVED:"RESOLVED"},DataStore=function(){function R(T,O){_class_call_check(this,R),_define_property(this,"_data",{}),_define_property(this,"_dataSnapshot",{}),_define_property(this,"_end",!1),_define_property(this,"_fetchFunc",void 0),this._fetchFunc=O,T&&(this.set(T,!1),this.end())}return _create_class(R,[{key:"get",value:function(R){if(!R){var T={},O=!0,P=!1,U=void 0;try{for(var W,V=Object.entries(this._data)[Symbol.iterator]();!(O=(W=V.next()).done);O=!0){var Y=_sliced_to_array(W.value,2),$=Y[0],X=Y[1];X.status===STATUS.RESOLVED&&(T[$]=X.value)}}catch(R){P=!0,U=R}finally{try{O||null==V.return||V.return()}finally{if(P)throw U}}return T}if(this._data[R]&&this._data[R].status===STATUS.RESOLVED)return this._data[R].value}},{key:"getSnapshot",value:function(){return this._dataSnapshot}},{key:"set",value:function(R){var T=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(R){var O=!0,P=!1,U=void 0;try{for(var W,V=Object.entries(R)[Symbol.iterator]();!(O=(W=V.next()).done);O=!0){var Y=_sliced_to_array(W.value,2),$=Y[0],X=Y[1],Q=this._data[$];if(this._data[$]={status:STATUS.RESOLVED,value:X},window.__isSSR&&T)try{this._dataSnapshot[$]="object"==typeof X?JSON.parse(JSON.stringify(X)):X}catch(R){console.error("[set-data-snapshot-error]: JSON.stringify error",R)}Q&&Q.status===STATUS.PENDING&&Q.value&&Q.value.pings&&Q.value.pings.forEach(function(R){return R()})}}catch(R){P=!0,U=R}finally{try{O||null==V.return||V.return()}finally{if(P)throw U}}}}},{key:"init",value:function(R){var T=this,O={pings:[],then:function(P){T._data[R].status===STATUS.PENDING?O.pings.push(P):Promise.resolve().then(function(){return P()})}};return this._data[R]={status:STATUS.PENDING,value:O},O}},{key:"end",value:function(){var R=!0,T=!1,O=void 0;try{for(var P,U=Object.entries(this._data)[Symbol.iterator]();!(R=(P=U.next()).done);R=!0){var W=_sliced_to_array(P.value,2),V=W[0];W[1].status===STATUS.PENDING&&this.set(_define_property({},V,void 0))}}catch(R){T=!0,O=R}finally{try{R||null==U.return||U.return()}finally{if(T)throw O}}this.set({__data_fetch_end:!0}),this._end=!0}},{key:"useData",value:function(R){if(!R||!R.length)return{};var T={},O=[],P=!0,U=!1,W=void 0;try{for(var V,Y=R[Symbol.iterator]();!(P=(V=Y.next()).done);P=!0){var $=V.value;if("string"==typeof $){var X=this._data[$];if(this._end){X&&X.status===STATUS.RESOLVED?T[$]=X.value:T[$]=void 0;continue}if(X)X.status===STATUS.RESOLVED?T[$]=X.value:O.push(X.value);else{var Q=this.init($);O.push(Q)}}}}catch(R){U=!0,W=R}finally{try{P||null==Y.return||Y.return()}finally{if(U)throw W}}if(!(O.length>0))return T;throw Promise.all(O)}},{key:"fetchData",value:function(){var R=this;return _async_to_generator(function(){var T,O,P,U,W,V,Y,$,X,Q,Z,ee,en,er;return _ts_generator(this,function(eo){switch(eo.label){case 0:if(!window.__isSSR||R._end)return[2];O=(T=window.__FETCH_DATA_CONTEXT||{}).moduleInfo,P=T.aldConfig,U=T.urlParams,W=T.mtopParams,V=T.superFetch,Y=T.callback,$=Date.now(),eo.label=1;case 1:if(eo.trys.push([1,3,4,5]),!V)return console.warn("[fetch-module-data-error]: superFetch is not defined"),[2];return V.setDataStore(R),R._fetchFunc||(R._fetchFunc=_async_to_generator(function(){return _ts_generator(this,function(R){switch(R.label){case 0:return[4,V.fetchModData()];case 1:return R.sent(),[2]}})})),[4,R._fetchFunc({moduleInfo:O,aldConfig:P,urlParams:U,mtopParams:W,superFetch:V,dataStore:R})];case 2:return X=eo.sent(),Z=(Q=Date.now())-$,Y({success:!0,isValid:!0,data:X||R._dataSnapshot,startTimestamp:$,endTimestamp:Q,rt:Z}),[3,5];case 3:throw ee=eo.sent(),console.error("[fetch-module-data-error]: ".concat(ee,", ").concat(O?"".concat(O.name,"@").concat(O.version,"@").concat(O.uuid):"unknown module"),ee),er=(en=Date.now())-$,"MODULE_IS_NOT_VALID"===ee.message?Y({success:!0,isValid:!1,startTimestamp:$,endTimestamp:en,rt:er}):Y({success:!1,error:ee.message,startTimestamp:$,endTimestamp:en,rt:er}),ee;case 4:return R.end(),[7];case 5:return[2]}})})()}}]),R}(),MultiRootRender=function(){function R(T){var O=T.ctx,P=T.appRef,U=T.showLoadMore,W=T.loadingCmp,V=T.lifecycle,Y=T.container;_class_call_check(this,R),_define_property(this,"_ctx",void 0),_define_property(this,"_appRef",void 0),_define_property(this,"_isMobile",void 0),_define_property(this,"_lifecycle",void 0),_define_property(this,"_container",void 0),_define_property(this,"_loadingCmp",void 0),_define_property(this,"_showLoadMore",void 0),_define_property(this,"_renderedModuleIds",void 0),_define_property(this,"_domReadyModuleIds",void 0),_define_property(this,"_pageScrollListeners",void 0),_define_property(this,"_pageHasBeenScrolledRef",void 0),_define_property(this,"_firstScreenModuleIds",void 0),_define_property(this,"_firstScreenDomIsReady",void 0),this._ctx=O,this._lifecycle=V,this._container=Y,this._loadingCmp=W,this._showLoadMore=U,this._appRef=P,this._renderedModuleIds=[],this._domReadyModuleIds=[],this._pageScrollListeners=[],this._pageHasBeenScrolledRef={current:!1},this._firstScreenModuleIds=[],this._firstScreenDomIsReady=!1,elevatorStore$1.setIsPC(this._ctx.isPC)}return _create_class(R,[{key:"renderDataToScreen",value:function(R){var T=R.processedData,O=R.isFirstScreen,P=this;if(logger$1.log("[render_data_to_screen_of_multi_root]",T,O),O){this._createModulesContainer({processedData:T});var U=document.getElementById("recyclerview");U&&U.addEventListener("scroll",throttle(this._handlePageScroll.bind(this),50));var W=this._ctx.isPC?"scroll":"onListScroll",V=function(){P._pageHasBeenScrolledRef.current=!0,window.removeEventListener(W,V)};window.addEventListener(W,V),window.addEventListener(EVENT.MODULE_DOM_READY,this._checkFirstScreenDomReady.bind(this))}this._createModulesRoot({processedData:T}),this._renderOrHydrateModules({processedData:T})}},{key:"_createModulesContainer",value:function(R){var T=R.processedData;if(!document.querySelector(".rax-scrollview-webcontainer")){var O=T.pageInfo,P=O.spma,U=O.spmb,W=createPageTheme$1(this._ctx.isPC)(T),V=W.pageStyle,Y=W.bgScrollable,$=W.backgroundImageUrl,X=this._reactStyleToCssRule(getPageStyle(V)),Q='<div style="box-sizing:border-box;display:flex;flex-direction:column;align-content:flex-start;flex-shrink:0;border:0px solid black"><img src="'.concat($,'" style="position:absolute;top:0;left:0;width:100%;max-height:initial"></div>');this._container.innerHTML='\n      <div spm-id="'.concat(P,".").concat(U,'" append="tree" style="').concat(X,'">\n        ').concat(!Y&&$?Q:"",'\n        <div id="recyclerview" scrolleventthrottle="50" class="rax-scrollview rax-scrollview-vertical rax-scrollview" style="position: relative; flex: 1 1 0%; overflow: hidden scroll;">\n          <div class="rax-scrollview-webcontainer">\n            ').concat(Y&&$?Q:"","\n          </div>\n        </div>\n      </div>")}}},{key:"_createModulesRoot",value:function(R){for(var T=R.processedData,O=this._container.querySelector(".rax-scrollview-webcontainer"),P=T.modRows,U=T.pageInfo,W=null,V=0;V<P.length;V++){var Y=P[V].moduleInfo,$=Y.uuid,X=Y.name,Q=V,Z=Y.version,ee=document.getElementById($);if(ee){W=ee;continue}(ee=document.createElement("div")).id=$,ee.className="mui-zebra-module aplus-common-module-data-tracker",ee.setAttribute("data-tracker",$);var en="".concat(X,".").concat($,".").concat(Q);ee.setAttribute("data-module",en);var er=this._getModTrackInfo({moduleName:X,moduleId:$,moduleIndex:Q,pageInfo:U});ee.setAttribute("trackinfo",er);var eo=U?"".concat(U.spma,".").concat(U.spmb,".").concat($):"";ee.setAttribute("mod-spm",eo),ee.setAttribute("data-spm-anchor-id","".concat(eo,".0.0")),ee.setAttribute("data-spm",$),ee.setAttribute("data-uuid",$),ee.setAttribute("mod-name",X),ee.setAttribute("data-version",Z),ee.setAttribute("style","box-sizing: border-box; display: flex; flex-direction: column; align-content: flex-start; flex-shrink: 0; border: 0px solid black;"),W&&W.nextSibling?O.insertBefore(ee,W.nextSibling):O.appendChild(ee),W=ee}}},{key:"_getModTrackInfo",value:function(R){var T=R.moduleName,O=R.moduleId,P=R.moduleIndex,U=(R.pageInfo||{}).fri||{},W=U.floorCustomize,V=U.autoBuild,Y="".concat(T,".").concat(O,".").concat(P);if(!W&&!V)return Y;try{var $=JSON.parse(W||V).find(function(R){return R.moduleUUID===O});Y=$&&$.trackInfo||Y}catch(R){logger$1.error("[get-mod-track-info-error]: ",R)}return Y}},{key:"_renderOrHydrateModules",value:function(R){var T=R.processedData;if(T.modRows.length){0===this._firstScreenModuleIds.length&&(this._firstScreenModuleIds=T.modRows.map(function(R){return R.moduleInfo.uuid}));for(var O=0;O<T.modRows.length;O++){var P=T.modRows[O],U=P.moduleClass,W=P.moduleInfo;if(!this._renderedModuleIds.includes(W.uuid)){this._renderedModuleIds.push(W.uuid);try{logger$1.time("[csr-render]: mod(".concat(W.uuid,")"));var V=T.pageInfo,Y=T.sysInfo,$=T.data[W.uuid],X=document.getElementById(W.uuid);if((!$||!X)&&"elevator"!==U.moduleType)continue;($=$||{}).floorTitle&&$.floorTitle.text&&elevatorStore$1.addFloor({moduleId:W.uuid,title:$.floorTitle.text});var Q=new DataStore($,null),Z=jsx(App,{moduleClass:U,moduleInfo:W,moduleData:$,moduleContainer:X,pageInfo:V,sysInfo:Y,onPageScroll:this._addPageScrollListener.bind(this),pageHasBeenScrolledRef:this._pageHasBeenScrolledRef,dataStore:Q});X.innerHTML.trim().length>0?(logger$1.log("[hydrate_module]",W.uuid,W.name),ReactDOM__namespace.hydrateRoot(X,Z,{identifierPrefix:W.uuid})):(logger$1.log("[render_module]",W.uuid,W.name),ReactDOM__namespace.createRoot(X,{identifierPrefix:W.uuid}).render(Z)),logger$1.timeEnd("[csr-render]: mod(".concat(W.uuid,")"))}catch(R){logger$1.error("[render-module-error]: ".concat(W.uuid),R)}}}}}},{key:"_reactStyleToCssRule",value:function(R){var T="";for(var O in R){var P=O.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();P.startsWith("webkit")&&(P="-"+P),T+="".concat(O.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),":").concat(R[O],";")}return T}},{key:"_addPageScrollListener",value:function(R){var T=this;return this._pageScrollListeners.push(R),function(){var O=T._pageScrollListeners.findIndex(R);T._pageScrollListeners.splice(O,1)}}},{key:"_handlePageScroll",value:function(R){R.nativeEvent={get contentOffset(){return{x:R.target.scrollLeft,y:R.target.scrollTop}},get contentSize(){return{width:R.target.scrollWidth,height:R.target.scrollHeight}}},this._pageHasBeenScrolledRef.current=!0,window.dispatchEvent(new CustomEvent(EVENT.PAGE_SCROLL,{detail:R})),this._pageScrollListeners.length&&this._pageScrollListeners.forEach(function(T){return"function"==typeof T&&T(R)})}},{key:"_checkFirstScreenDomReady",value:function(R){var T=this;this._domReadyModuleIds.push(R.detail.moduleId),!this._firstScreenDomIsReady&&this._firstScreenModuleIds.every(function(R){return T._domReadyModuleIds.includes(R)})&&(this._firstScreenDomIsReady=!0,window.dispatchEvent(new Event(EVENT.FIRST_SCREEN_DOM_READY)))}}]),R}(),MultiRootRender$1=MultiRootRender,LZDCoreRender=function(){function LZDCoreRender1(R){var T=this;_class_call_check(this,LZDCoreRender1),_define_property(this,"config",void 0),_define_property(this,"api",void 0),_define_property(this,"logger",void 0),_define_property(this,"appRef",void 0),_define_property(this,"hooksEvent",void 0),_define_property(this,"ctx",void 0),_define_property(this,"_multiRootRender",void 0),_define_property(this,"addHook",function(R,O){T.hooksEvent[R].sync.push(O)}),_define_property(this,"addAsyncHook",function(R,O){T.hooksEvent[R].async.push(O)}),this.logger=R.logger||console,this.config=R,this.hooksEvent={},this.appRef=React.createRef(),this.ctx={config:this.config,logger:this.logger,appRef:this.appRef,hooks:{add:this.addHook,addAsync:this.addAsyncHook}};var O=R.api;this.api=new O(this.ctx),Object.values(HOOKS).forEach(function(R){T.hooksEvent[R]={sync:[],async:[]}}),this.loadPlugins(),this.checkApi()}return _create_class(LZDCoreRender1,[{key:"checkApi",value:function(){var R=this;Object.values(APIS).forEach(function(T){if("function"!=typeof R.api[T])throw Error("".concat(T," not implement in api"))})}},{key:"applyHooks",value:function(R){for(var T=arguments.length,O=Array(T>1?T-1:0),P=1;P<T;P++)O[P-1]=arguments[P];var U=this;return _async_to_generator(function(){var T,P,W,V;return _ts_generator(this,function(Y){switch(Y.label){case 0:if(U.hooksEvent[R].sync.length&&U.hooksEvent[R].sync.forEach(function(R){R.apply(void 0,_to_consumable_array(O))}),!U.hooksEvent[R].async.length)return[3,2];for(W=0,T=U.hooksEvent[R].async,P=[];W<T.length;W++)P.push((V=T)[W].apply(V,_to_consumable_array(O)));return[4,Promise.all(P)];case 1:Y.sent(),Y.label=2;case 2:return[2]}})})()}},{key:"loadPlugins",value:function(){var R=this;this.config.plugins.forEach(function(T){var O=_sliced_to_array(Array.isArray(T)?T:[T],2),P=O[0],U=O[1];P(R.ctx,U)})}},{key:"lifecycle",get:function(){var R=this;return{onAfterFirstScreenRender:function(){R.applyHooks(HOOKS.AFTER_FIRST_SCREEN_RENDER)},onAfterNextScreenRender:function(){R.applyHooks(HOOKS.AFTER_NEXT_SCREEN_RENDER)}}}},{key:"isTraditionSSR",get:function(){return!!window.__FIRST_SCREEN_DATA&&"TRADITION_SSR"===window.__SSR_TYPE}},{key:"isStreamSSR",get:function(){return!!window.__FIRST_SCREEN_DATA&&"STREAM_SSR"===window.__SSR_TYPE}},{key:"isUprProxySSR",get:function(){return!!(window.__FIRST_SCREEN_DATA||window.__FIRST_SCREEN_DATA_SPLITTED)&&"UPRPROXY_SSR"===window.__SSR_TYPE}},{key:"isKangarooSSR",get:function(){return"false"!==utils.getUrlParam("ssr_render",window.location.search,!0)&&!window.__SSR_TYPE}},{key:"isOnlySSRHtml",get:function(){return window.location.href.includes("only_ssr_html=true")||window.location.href.includes("ssr_skeleton_render=true")||window.location.href.includes("ssr_auto_skeleton_render=true")}},{key:"isOnlySSRRender",get:function(){return window.location.href.includes("only_ssr_render=true")}},{key:"ssrHtmlIsFromCache",get:function(){return window.location.href.includes("ssr_html_from_cache=true")}},{key:"isUsingSseStream",get:function(){var R=utils.getEnv().appVersion;return R&&utils.compareVersion(R,"7.71.0")?window.location.href.includes("use_ssr_stream=true")&&window.WindVane&&window.WindVane.isAvailable:(logger$1.log("[sse-stream-not-supported]",R),!1)}},{key:"isUsingMultiRoot",get:function(){return window.location.href.includes("use_multi_root=true")||window.__USE_MULTI_ROOT}},{key:"customCtx",get:function(){return this.ctx}},{key:"showLoadMore",get:function(){return"false"!==utils.getUrlParam("show_load_more",window.location.search,!0)&&!/[&?](hide_page_loading|hide_pc_loading)=true/.test(window.location.href)}},{key:"multiRootRender",get:function(){if(!this._multiRootRender){var R=utils.getEnv().isMobile;this._multiRootRender=new MultiRootRender$1({ctx:this.ctx,appRef:this.appRef,showLoadMore:R&&this.showLoadMore,loadingCmp:R?this.getCustomizeLoading():null,lifecycle:this.lifecycle,container:document.querySelector(this.config.rootSelector)||null})}return this._multiRootRender}},{key:"insertSSRHtml",value:function(R){var T=document.querySelector(this.config.rootSelector);R&&T&&(this.replaceHTML(T,R),logger$1.log("[ssr-html-inserted]"))}},{key:"insertCSSHtml",value:function(R){var T=document.querySelector("#css-container");R&&T&&(this.replaceHTML(T,R),logger$1.log("[css-html-inserted]"))}},{key:"replaceHTML",value:function(R,T){var O=R.cloneNode(!1);O.innerHTML=T,R.parentNode.replaceChild(O,R)}},{key:"nextWorkflow",value:function(R){var T=this;return _async_to_generator(function(){var O,P,U,W,V;return _ts_generator(this,function(Y){switch(Y.label){case 0:if(logger$1.log("[next-work-flow]",R),!(R&&("true"===R.hasMoreModules||!0===R.hasMoreModules)))return[3,15];return logger$1.log("[next-work-flow-begin]"),[4,T.applyHooks(HOOKS.BEFORE_GET_NEXT_SCREEN,R)];case 1:return Y.sent(),[4,T.api.getNextScreenData()];case 2:return O=Y.sent(),[4,yieldToMain()];case 3:return Y.sent(),window.__SCREEN_DATAS.push(O),logger$1.log("[next-screen-data]",O),[4,T.applyHooks(HOOKS.AFTER_GET_NEXT_SCREEN,O)];case 4:return Y.sent(),[4,T.api.getModules(O)];case 5:return P=Y.sent(),[4,T.api.processData(O,P)];case 6:if((U=Y.sent()).isHydrating=!1,T.isUsingMultiRoot)return[3,12];W=0,Y.label=7;case 7:if(!(W<10))return[3,11];if(!(null===(V=T.appRef)||void 0===V?void 0:V.current))return[3,8];return[3,11];case 8:return[4,utils.sleep(0===W?0:50)];case 9:Y.sent(),Y.label=10;case 10:return W++,[3,7];case 11:return T.appRef.current.updateData(U),[3,13];case 12:T.multiRootRender.renderDataToScreen({processedData:U,isFirstScreen:!1}),Y.label=13;case 13:return[4,yieldToMain()];case 14:return Y.sent(),reportValidMod(),T.nextWorkflow(O),[3,16];case 15:logger$1.log("[next-work-flow-stop]"),Y.label=16;case 16:return[2]}})})()}},{key:"renderSingleModule",value:function(R){var T=this;return _async_to_generator(function(){var O,P,U,W,V,Y,$,X,Q,Z,ee,en,er;return _ts_generator(this,function(eo){switch(eo.label){case 0:return eo.trys.push([0,3,,4]),logger$1.log("[render-single-module-begin]: ".concat(R)),P=(O=window.__FIRST_SCREEN_DATA).pageInfo,U=O.sysInfo,W=O.allUI,V=O.fri,Y=window.__MODS_DATA[R],$=window.__MODS_INFO[R],X=window.__MODS_SEED[R],Q=!$.isLastModuleOfWholeScreen,Z={pageInfo:P,sysInfo:U,data:_define_property({},R,Y),hasMoreModules:Q,allUI:W,fri:V,modules:[$],seedComboUris:X,cssInjected:!0,isFirstScreen:!1},window.__SCREEN_DATAS.push(Z),[4,T.api.getModules(Z)];case 1:return ee=eo.sent(),[4,T.api.processData(Z,ee)];case 2:return en=eo.sent(),T.multiRootRender.renderDataToScreen({processedData:en,isFirstScreen:!1}),reportValidMod(),logger$1.log("[render-single-module-success]: ".concat(R)),[3,4];case 3:return er=eo.sent(),logger$1.error("[render-single-module-error]: ".concat(R,", ").concat(er&&er.message)),[3,4];case 4:return[2]}})})()}},{key:"addModuleToRenderQueue",value:function(R){window.__MODULE_RENDER_PROMISE_QUEUE=window.__MODULE_RENDER_PROMISE_QUEUE||[];var T=window.__MODULE_RENDER_PROMISE_QUEUE[window.__MODULE_RENDER_PROMISE_QUEUE.length-1],O=this;window.__MODULE_RENDER_PROMISE_QUEUE.push(_async_to_generator(function(){return _ts_generator(this,function(P){switch(P.label){case 0:if(!T)return[3,2];return[4,T];case 1:P.sent(),P.label=2;case 2:return[4,O.renderSingleModule(R)];case 3:return P.sent(),[2]}})})())}},{key:"getFirstScreenDataFromNetwork",value:function(){var R=this;return _async_to_generator(function(){var T;return _ts_generator(this,function(O){switch(O.label){case 0:logger$1.log("[get-first-screen-data-from-network]"),window.mtopStarttime=Date.now(),O.label=1;case 1:return O.trys.push([1,3,,4]),[4,R.api.getFirstScreenData()];case 2:return T=O.sent(),[3,4];case 3:return reportCustomizeJSError({type:GET_FIRST_SCREEN_DATA_ERROR,msg:O.sent().message}),[3,4];case 4:return window.mtopEndtime=Date.now(),window.mtopEndNowTime=performance&&performance.now&&performance.now(),[2,T]}})})()}},{key:"processFirstScreenData",value:function(R){var T=this;return _async_to_generator(function(){var O,P,U,W,V;return _ts_generator(this,function(Y){switch(Y.label){case 0:return(O=[]).push(T.api.getModules(R)),P=Date.now(),[4,Promise.all(O)];case 1:return U=Y.sent(),W=Date.now()-P,logger$1.log("[first-screen-js-css-load-time]",W),window.__FIRST_SCREEN_JS_CSS_LOAD_TIME=W,V=U.slice(-1)[0],[4,T.api.processData(R,V)];case 2:return[2,Y.sent()]}})})()}},{key:"renderFirstScreen",value:function(){var R=this;return _async_to_generator(function(){var T,O,P,U,W,V,Y,$,X,Q,Z,ee,en,er,eo,ei,ea,ec,eu,ed,ep,ef,em,ew,eh,e_,eg;return _ts_generator(this,function(ev){switch(ev.label){case 0:return logger$1.log("[render-first-screen]"),Z=R.isKangarooSSR,ee=R.isTraditionSSR,en=R.isUprProxySSR,window.__IS_KANGAROO_SSR=Z,window.__IS_TRADITION_SSR=ee,window.__IS_UPRPROXY_SSR=en,window.__SCREEN_DATAS=[],R.customCtx.isKangarooSSR=Z,R.customCtx.isTraditionSSR=ee,R.customCtx.isUprProxySSR=en,R.customCtx.configPreload=R.config.preload,window.ssrHtmlIsFromCache=en&&R.ssrHtmlIsFromCache,getEnv.isDrz()&&R.injectDrzMultiTenant(),window.gcpMarks.beforeDataFetch=Date.now(),[4,R.getFirstScreenDataFromNetwork()];case 1:if(er=ev.sent(),window.gcpMarks.afterDataFetch=Date.now(),(null===(T=er)||void 0===T?void 0:T.pageDtcLandingPageUrl)&&!er.isBottomData)return location.replace(er.pageDtcLandingPageUrl),[2];if((null===(P=er)||void 0===P?void 0:null===(O=P.sysInfo)||void 0===O?void 0:O.isGrey)&&(window.__gcpIsGrep=!0),(null===(U=er)||void 0===U?void 0:U.isBottomData)&&(delete er.ssrHtml,delete er.cssHtml,er.ssrEnabled=!1),setDarkMode(er),en&&noticeAppPageShow(R.customCtx),eo=Z?R.getKangarooHtml(er):null,!(Z&&eo))return[3,3];return window.__SSR_TYPE="KANGAROO_SSR",R.renderKangarooHtml(eo),R.handleKangarooDynamicImport(er,eo),ei=Date.now(),[4,giveBrowserPaintTime(!0,device__default.default.isLowLevel()?200:device__default.default.isHighLevel()?100:150)];case 2:ev.sent(),ea=Date.now(),logger$1.log("[袋鼠SSR绘制耗时]",ea-ei),noticeAppPageShow(R.customCtx),ev.label=3;case 3:return[4,R.applyHooks(HOOKS.AFTER_GET_FIRST_SCREEN,er)];case 4:if(ev.sent(),window.__SCREEN_DATAS.push(er),eu=(ec=er||{}).reactRollbackUprFrom,ed=ec.reactRollbackUprTo,ep=ec.reactRollbackParamFrom,ef=ec.reactRollbackParamTo,eu&&ed&&(em=window.g_config.regionID,(ew=(location.href.indexOf("//pre-www")>=0?reactRollbackUprsPre:reactRollbackUprsProd)[em])&&ew[eu]&&ew[ed]&&location.href.indexOf(ew[eu])>=0))return eh=location.href.replace(ew[eu],ew[ed]),ep&&ef&&(eh=eh.replace(ep,ef)),location.href=eh,[2];if(window.__FIRST_SCREEN_MODS_NUM=null===(V=er)||void 0===V?void 0:null===(W=V.modules)||void 0===W?void 0:W.length,window.__FIRST_SCREEN_INVALID_MODS=null===(Y=er)||void 0===Y?void 0:Y.moduleIdsWithoutValidData,window.__PAGE_ID=null===(X=er)||void 0===X?void 0:null===($=X.pageInfo)||void 0===$?void 0:$.id,window.__USE_PRECISED_FIRST_SCREEN=null===(Q=er)||void 0===Q?void 0:Q.isFirstScreenPrecised,R.isOnlySSRHtml)return[2];return babelHelper(),[4,giveBrowserPaintTime(eo,50)];case 5:return ev.sent(),[4,R.processFirstScreenData(er)];case 6:return e_=ev.sent(),[4,giveBrowserPaintTime(eo,50)];case 7:return ev.sent(),[4,R.renderScreenDataToDom(e_)];case 8:if(ev.sent(),R.customCtx.firstScreenRendered=!0,R.isOnlySSRRender)return[2];return[4,yieldToMain()];case 9:if(ev.sent(),"function"==typeof window.gcpWebVitalsInitFunc&&window.gcpWebVitalsInitFunc(),reportSSR(),calculateFirstScreenResouceSize(),R.isStreamSSR){if(window.$ADD_MODULE_TO_RENDER_QUEUE=R.addModuleToRenderQueue.bind(R),window.__MODULE_RENDER_QUEUE&&window.__MODULE_RENDER_QUEUE.length)for(;eg=window.__MODULE_RENDER_QUEUE.shift();)R.addModuleToRenderQueue(eg)}else R.nextWorkflow(er);return[2]}})})()}},{key:"injectDrzMultiTenant",value:function(){!function(R,T){function O(R){this.params||(this.params={});var T=this.params.ext_headers||(this.params.ext_headers={});T.traffic||(T.traffic="drz-replatform"),R()}if(T.mtop)T.mtop.middlewares.push(O);else if(window.Proxy&&!T.mtop){var P={set:function(R,T,P,U){return"middlewares"===T&&P.push(O),Reflect.set(R,T,P,U)}},U={set:function(R,T,O,U){return"mtop"===T&&(O=new Proxy(O,P)),Reflect.set(R,T,O,U)}};window.lib=new Proxy(T,U)}else throw Error("Please load lib-mtop.js first!")}(window,window.lib||(window.lib={}))}},{key:"getKangarooHtml",value:function(R){logger$1.log("[get-kangaroo-ssr-html]");var T=R.ssrHtml,O=R.cssHtml,P=R.ssrType;return T&&"KANGAROO_SSR"===P&&this.isKangarooSSR?{ssrHtml:T,cssHtml:O}:null}},{key:"renderKangarooHtml",value:function(R){var T=R.ssrHtml,O=R.cssHtml;if(window.__MTOP_SSR_RENDERED||!T){logger$1.log("[render-kangaroo-ssr-html-skipped]");return}this.insertSSRHtml(T),this.insertCSSHtml(O),window.__MTOP_SSR_RENDERED=!0,window.__SSR_RENDERED_TIME=window.performance.now&&window.performance.now(),logger$1.log("[render-kangaroo-ssr-html]",window.__SSR_RENDERED_TIME)}},{key:"handleKangarooDynamicImport",value:function(R,T){try{if(R.dynamicImportEnabled){var O=document.querySelector(this.config.rootSelector)||null;if(O&&/<div hidden.*>.*<\/div><script>/.test(T.ssrHtml)){var P=O.querySelectorAll("script");Array.from(P).forEach(function(R){var T=document.createElement("script");Array.from(R.attributes).forEach(function(R){T.setAttribute(R.name,R.value)}),T.text=R.text,R.parentNode.replaceChild(T,R)})}}}catch(R){console.error(R)}}},{key:"getCustomizeLoading",value:function(){var R;return(null===(R=window.gcpLoadingHtmlDaraz)||void 0===R?void 0:R.replace)?jsx("div",{className:"lzd-gcp-load-more-wrapper",style:{height:"13.866vw"},children:jsx("div",{className:"lzd-gcp-load-more-circle",style:{width:"10.666vw",height:"10.666vw"},dangerouslySetInnerHTML:{__html:window.gcpLoadingHtmlDaraz.replace(/\n/g,"").replace(/<div class="gcp-loading-wrapper">(.*?)<\/div>/,"$1")}})}):jsx("div",{className:"lzd-gcp-load-more-wrapper",style:{height:"13.866vw"},children:jsxs("div",{className:"lzd-gcp-load-more-circle",style:{width:"10.666vw",height:"10.666vw"},children:[jsx("div",{className:"lzd-gcp-load-more-circle-ext"}),jsx("div",{className:"lzd-gcp-load-more-circle-loading"}),jsx("img",{src:window.gcpLoadingPicBg||""})]})})}},{key:"renderScreenDataToDom",value:function(R){var T=this;return _async_to_generator(function(){var O,P,U;return _ts_generator(this,function(W){return logger$1.log("[render-screen-data-to-dom]"),window.gcpMarks.startToHydrate=Date.now(),T.isUsingMultiRoot?T.multiRootRender.renderDataToScreen({processedData:R,isFirstScreen:!0}):(O=document.querySelector(T.config.rootSelector)||null,P=utils.getEnv().isMobile,U=jsx(SingleRootApp,_object_spread_props(_object_spread({ref:T.appRef,ctx:T.ctx,showLoadMoreLoading:P&&T.showLoadMore,loadMoreComp:P?T.getCustomizeLoading():null},T.lifecycle,R),{stage:["firstScreen"]})),window.__FIRST_SCREEN_RENDERED_BY_SSR||window.__SSR_HTML_RENDERED_IN_KANGAROO?ReactDOM__namespace.hydrateRoot(O,U):ReactDOM__namespace.createRoot(O).render(U)),[2]})})()}},{key:"loadDataBySseStream",value:function loadDataBySseStream(){return _async_to_generator(function(){var startTime,_ref,platform,renderCoreName,renderCoreVersion,e,endTime;return _ts_generator(this,function(_state){switch(_state.label){case 0:startTime=Date.now(),_ref=window.gcpStartConfig||{},platform=_ref.platform,renderCoreName=_ref.renderCoreName,renderCoreVersion=_ref.renderCoreVersion,window.$SEND_PV=function(R,T){setSpmab(R,T),sendPv()},_state.label=1;case 1:return _state.trys.push([1,3,4,5]),[4,new Promise(function(resolve,reject){var successCb=function(res){if(logger$1.logWithTime("[res-stream]",res),window.__STREAM_SSR_DATA_FETCH_FIRST_TRUNK_RT||(window.__STREAM_SSR_DATA_FETCH_FIRST_TRUNK_RT=Date.now()-startTime),"finish"===res.callbackEvent){resolve(!0);return}var data={};if(res.data){if(res.data.result){if("string"==typeof(data=res.data.result))try{data=JSON.parse(data)}catch(err){}}else data=res.data}if(!data){reject("data is empty");return}if(data.hasOwnProperty("end")&&"string"==typeof data.end&&(data.end="true"===data.end),data.hasOwnProperty("timestamp")&&"string"==typeof data.timestamp&&(data.timestamp=parseInt(data.timestamp,10)),data.hasOwnProperty("isShell")&&"string"==typeof data.isShell&&(data.isShell="true"===data.isShell),data.end){resolve(!0);return}window.__USE_MULTI_ROOT=!0;var shellSelector="#content > .mui-zebra-page",containerSelector="#content > .mui-zebra-page .rax-scrollview-webcontainer";if("HTML"===data.type){if(data.isShell)document.querySelector(shellSelector).innerHTML=data.data;else{var _document_querySelector,template=document.createElement("div");template.innerHTML=data.data;for(var nodes=[],i=0;i<template.childNodes.length;i++)nodes.push(template.childNodes[i]);(_document_querySelector=document.querySelector(containerSelector)).append.apply(_document_querySelector,_to_consumable_array(nodes))}}else if("CSS"===data.type){var template=document.createElement("style");template.appendChild(document.createTextNode(data.data)),document.querySelector(containerSelector).appendChild(template)}else"SCRIPT"===data.type?eval(data.data):"LOG"===data.type&&logger$1.log("[res-log]",data.data)},errorCb=function(R){reject("error callback: ".concat(R))},prefetchEnabled="true"===utils.getUrlParam("data_prefetch_stream",location.search,!1),prefetchId=utils.getUrlParam("laz_prefetch_id",location.search,!1),isAndroid=utils.getEnv().isAndroid,usingDataPefetch=prefetchEnabled&&prefetchId&&isAndroid;if(usingDataPefetch)logger$1.logWithTime("[sse-data-using-prefetch]"),window.__STREAM_SSR_DATA_FETCH_USE_PREFETCH=!0,window.WindVane.call("LAPrefetchWVPlugin","getPrefetchValue",{prefetch_id:prefetchId},function(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(R.data=("string"==typeof R.data?JSON.parse(R.data):R.data)||{},R.data&&R.data.error&&R.data.ERROR_TYPE){errorCb("sse-data-prefetch-error:".concat(R.data.ERROR_TYPE,", ").concat(R.data.error));return}successCb(R)},errorCb);else{logger$1.logWithTime("[sse-data-using-mtop]"),window.__STREAM_SSR_DATA_FETCH_USE_NETWORK=!0;var params={data:{func:"ssr",biz:"gcpModule",param:JSON.stringify({url:window.location.href,platform:platform,renderCoreName:renderCoreName,renderCoreVersion:renderCoreVersion})},api:"mtop.lazada.fe.stream.facade.render",v:"1.0",isSec:"1",type:"POST"};u.request(params,successCb,errorCb)}if(window.location.href.includes("test-sse-error=true"))throw Error("test-sse-error")})];case 2:return window.__STREAM_SSR_DATA_FETCH_SUCCESS=_state.sent(),[3,5];case 3:return e=_state.sent(),window.__STREAM_SSR_DATA_FETCH_SUCCESS=!1,logger$1.error("[load-data-by-sse-stream-error]",e),[3,5];case 4:return endTime=Date.now(),window.__STREAM_SSR_DATA_FETCH_RT=endTime-startTime,logger$1.logWithTime("[sse-data-finish]"),[7];case 5:return[2,window.__STREAM_SSR_DATA_FETCH_SUCCESS]}})})()}},{key:"renderWithSSEStream",value:function(){var R=this;return _async_to_generator(function(){var T,O;return _ts_generator(this,function(P){switch(P.label){case 0:return window.$RENDER_FIRST_SCREEN=R.renderFirstScreen.bind(R),window.gcpMarks.beforeSseFetch=Date.now(),[4,R.loadDataBySseStream()];case 1:return T=P.sent(),window.gcpMarks.afterSseFetch=Date.now(),T||(O=(O=window.location.href).includes("use_ssr_stream=true")?O.replace("use_ssr_stream=true","use_ssr_stream=false"):O.includes("?")?O+"&use_ssr_stream=false":O+"?use_ssr_stream=false",logger$1.warn("[downgrade-to-normal-render-due-to-sse-error]"),window.location.href=O),[2]}})})()}},{key:"preHotShowupCallback",value:function(){var R=this;return _async_to_generator(function(){return _ts_generator(this,function(T){switch(T.label){case 0:if(!R.isUsingSseStream)return[3,2];return[4,R.renderWithSSEStream()];case 1:return T.sent(),[3,5];case 2:return[4,injectSkeleton(R.config.rootSelector)];case 3:return T.sent(),[4,R.renderFirstScreen()];case 4:T.sent(),T.label=5;case 5:return[2]}})})()}},{key:"init",value:function(){var R=this;return _async_to_generator(function(){var T,O;return _ts_generator(this,function(P){switch(P.label){case 0:if(P.trys.push([0,6,,7]),!(T=R.ctx).isPrehot)return[3,1];return registerShowupHandlerAsync(T,R.config,R.preHotShowupCallback.bind(R)),cacheSkeletonActively(),[3,5];case 1:if(!(R.isUsingSseStream&&window.location.href.includes("force_use_sse=true")))return[3,3];return[4,R.renderWithSSEStream()];case 2:return P.sent(),[3,5];case 3:return[4,R.renderFirstScreen()];case 4:P.sent(),P.label=5;case 5:return[3,7];case 6:return O=P.sent(),logger$1.warn("[core-render-init-exception]",O,O.message,O.stack),[3,7];case 7:return[2]}})})()}},{key:"getSSRApp",value:function(R){var T=this.api;addPageInfoToGlobal(R),hackAddBaseI18nText(R.modulesStaticI18n||{});var O=T.processDataSync(R),P=utils.getEnv().isMobile,U=P&&this.showLoadMore&&!R.__ssrHideLoadMore;if(R.__usingMultiRoot){var W=O.pageInfo,V=O.sysInfo,Y=O.modRows[0],$=Y.moduleClass,X=Y.moduleInfo,Q=O.data[X.uuid]||{},Z=new DataStore(X.ssrSuspenseEnabled?null:Q,$.server&&$.server.fetchData);return Z.fetchData(),jsx(App,{moduleClass:$,moduleData:Q,moduleInfo:X,pageInfo:W,sysInfo:V,dataStore:Z})}return jsx(SingleRootApp,_object_spread_props(_object_spread({ref:this.appRef,ctx:this.ctx},O),{showLoadMoreLoading:U,loadMoreComp:P?this.getCustomizeLoading():null}))}}]),LZDCoreRender1}();function solutionFn(){function R(R){var T=!1,O=document,P=!1;function U(){T||(R(),T=!0)}if("loading"!=document.readyState&&(P=!0),P)return U();if(O.addEventListener)O.addEventListener("DOMContentLoaded",U,!1);else if(O.attachEvent){var W=!1;try{W=null!==window.frameElement}catch(R){}O.documentElement.doScroll&&!W&&function R(){if(!T)try{O.documentElement.doScroll("left"),U()}catch(T){setTimeout(R,10)}}(),O.attachEvent("onreadystatechange",function(){"complete"===O.readyState&&U()})}}function T(R){window.requestNextAnimationFrame=function(){var R,T,O=0,P=navigator.userAgent,U=0,W=this;return window.webkitRequestAnimationFrame&&(T=function(R){void 0===R&&(R=+new Date),W.callback(R)},R=window.webkitRequestAnimationFrame,window.webkitRequestAnimationFrame=function(O,P){W.callback=O,R(T,P)}),window.mozRequestAnimationFrame&&(U=P.indexOf("rv:"),-1!=P.indexOf("Gecko")&&"2.0"===(O=P.substr(U+3,3))&&(window.mozRequestAnimationFrame=void 0)),window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(R,T){var O,P;window.setTimeout(function(){R(O=+new Date),P=+new Date,W.timeout=1e3/60-(P-O)},W.timeout)}}(),window.requestNextAnimationFrame(R)}function O(R,T,O){if(window.WindVane)window.WindVane&&window.WindVane.call(R,T,O);else{var P=document.createElement("script");P.src="//g.lazcdn.com/g/mtb/lib-windvane/3.0.6/windvane.js",P.crossOrigin="anonymous",P.setAttribute("type","text/javascript"),document.body.appendChild(P),P.onload=function(){try{window.WindVane.call(R,T,O)}catch(R){}}}}window.__solutionFn={ready:R,WindVane:O,RAF:T}}function canonicalLink(){var R=document.querySelector("link[rel=canonical]");if(!R||!R.href){for(var T=["hybrid","data_prefetch","prefetch_replace","at_iframe","wh_pid"],O=window.location.origin+window.location.pathname,P=!0,U=0;U<T.length;U++){var W=T[U],V=$(W);null!==V&&(O+="".concat(P?"?":"&").concat(W,"=").concat(encodeURIComponent(V)),P=!1)}var Y=document.createElement("link");Y.rel="canonical",Y.href=O,document.head.appendChild(Y)}function $(R){var T=new RegExp("(^|&)".concat(R,"=([^&]*)(&|$)")),O=window.location.search.substr(1).match(T);return null!=O?decodeURIComponent(O[2]):null}}function detector(){var R=navigator.userAgent.toLowerCase(),T=/AliApp/i.test(R),O=R.match(/AliApp\(([a-z-A-Z]{1,20})\/(\d+(\.\d+){0,6})?\)/i),P=function(){var R={isAliApp:T,type:"h5"};return T&&O&&O.length>=3&&(R.appName=O[1],R.appVersion=O[2]),R};window.$detector=P()}var minWidth=window.screen.width/4,IS_IN_ANDROID=getEnv.isAndroid(),RESIZE_SUFFIX_REG=/_((\d+)?x(\d+)?)?([qQ]\d{2,3}?)?(s\d{3})?\.(jpg|jpeg|png|gif|webp)(_\.webp)?$/;function pushWindow(){var R=function(R){return!!(R&&0>R.indexOf("/products/")&&0>R.indexOf("/shop/")&&0>R.indexOf("/catalog/")&&0>R.indexOf("disable_push_window=true")&&(0>R.indexOf("wh_weex=true")||R.indexOf("wh_weex=true")>0&&R.indexOf("hybrid=1")>0))},T=function(R,T){var O=R.target;do{if(O.nodeName&&O.nodeName.toLowerCase()!=T||!O.href)continue;return O}while(O=O.parentNode)},O=function(R,T){for(var O=R.split("."),P=T.split("."),U=0;U<3;U++){if(parseInt(O[U])<parseInt(P[U]))return!1;if(parseInt(O[U])>parseInt(P[U]))break}return!0},P=function(R){if(/android/i.test(navigator.userAgent)&&/data_prefetch/i.test(location.href)){var T=window.$detector.appVersion;if(T&&!O(T,"6.59.0"))return R.replace("data_prefetch=true","data_prefetch=false")}return R},U=function(R){return R&&-1!==R.indexOf("/products/")},W=function(R){var T=null;try{if((T=R.querySelector(".lzd-item img"))||(T=R.querySelector("img.lzdItemImg")),!T){var O=R.querySelectorAll("img"),P=!0,U=!1,W=void 0;try{for(var V,Y=O[Symbol.iterator]();!(P=(V=Y.next()).done);P=!0){var $=V.value;if(Math.min($.clientWidth,$.clientHeight)>=minWidth){T=$;break}}}catch(R){U=!0,W=R}finally{try{P||null==Y.return||Y.return()}finally{if(U)throw W}}}}catch(R){}return T};document.addEventListener("click",function(O){var V=T(O,"a"),Y=V&&V.href,$=!1;if(R(Y)&&!$)try{return $=!0,requestAnimationFrame(function(){setTimeout(function(){var R=P(Y);window.__solutionFn.WindVane("LANavigator","push",{url:R,isBrowser:!0}),setTimeout(function(){$=!1},1e3)},0)}),O.preventDefault(),!1}catch(R){console.warn("push window failed. error:".concat(R))}else if(U(Y)&&!$&&-1===V.getAttribute("class").indexOf(index$5.PDP_PUSH_CONTAINER_NAME))try{var X=W(V);if(X){var Q=X.src;$=!0;var Z={url:Y,imgUrl:Q,isAddImageAtFirst:!1,transition:{scene:"gcp",itemImgDOM:function(){return X}}};if(IS_IN_ANDROID){var ee=Q.replace(RESIZE_SUFFIX_REG,"");Z.productDetail={itemImg:ee}}return index$5.LzdPush(Z,function(){$=!1},function(){$=!1}),O.preventDefault(),!1}}catch(R){console.warn("push window failed. error:".concat(R))}})}function preProcessing(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"phone";solutionFn(),canonicalLink(),window.crossimageConfig=window.crossimageConfig||{},window.crossimageConfig.quality="q80",window.onpageshow=function(R){R.persisted&&window.location.reload()},"phone"==R&&(detector(),window.$detector&&window.$detector.isAliApp&&(window.$detector.appName.indexOf("la")>=0||window.$detector.appName.indexOf("dz")>=0)&&window.__solutionFn.ready(function(){window.WindVane&&window.WindVane.isAvailable&&window.WindVane.call("LAAjustTrack","openScreen",{screen_name:"campaign"},function(R){console.log("[LAAjustTrack-openScreen-success]",R)},function(R){console.log("[LAAjustTrack-openScreen-error]",R)}),pushWindow()})),window.setupManifestUrl=function(R){try{var T=document.getElementById("manifest-placeholder");if(!T)return;T.setAttribute("href",R)}catch(R){}}}window.gcpMarks=window.gcpMarks||{};var LZDRender=function(){function R(){_class_call_check(this,R)}return _create_class(R,[{key:"start",value:function(R){logger$1.log("[rax-comapt-imported]",rax.version),replaceRaxDepCsr(),preProcessing(R.platform);var T={rootSelector:R.rootSelector,platform:R.platform,preload:R.preload||{js:[]},url:R.url,previewEnv:R.previewEnv,mtopConfig:R.mtopConfig,bottomConfig:R.bottomConfig,logger:logger$1,api:APIClass,plugins:[plugin$2,plugin$3,plugin$1,plugin,phaHandler,runAfterGetFirstScreen,afterFirstScreenRender]};new LZDCoreRender(T).init()}}]),R}();function getSSRApp(R){var T=R.obj,O=R.data,P={rootSelector:T.rootSelector,platform:T.platform,preload:T.preload||{js:[]},url:T.url,previewEnv:T.previewEnv,mtopConfig:T.mtopConfig,bottomConfig:T.bottomConfig,logger:logger$1,api:APIClass,plugins:[plugin$3,runAfterGetFirstScreen]};return new LZDCoreRender(P).getSSRApp(O)}var defaultExport=window.__isSSR?getSSRApp:new LZDRender;module.exports=defaultExport;
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
