define("@ali/tubes-tb-ability-env/tube/index", [], function(require, exports, module) {module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="./",n(n.s=13)}([function(e,t){e.exports=require("@ali/rax-pkg-universal-env/index")},function(e,t,n){e.exports=n(6)},function(e,t,n){e.exports=n(7)},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return p}));var r=n(1),i=n.n(r),o=n(0),a=n(4),c=n.n(a),u=n(5),s=n.n(u),l=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function c(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}u((r=r.apply(e,t||[])).next())}))},f="isHydrate";function d(e){return l(this,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.store.set("env",{}),p(e,"isWeb",o.isWeb),p(e,"isNode",o.isNode),p(e,"isApp","undefined"!=typeof window&&"true"===String(window.__inApp)),p(e,"isZcache","undefined"!=typeof window&&"true"===String(window.__isZcache)),p(e,"device","undefined"!=typeof window?window.__detectedDevice:""),p(e,"ignoreFirstScreenLimit",!("undefined"==typeof window||!window._wv_preload)),w(e),m(e),t.next=11,Promise.all([h(e),v(e)]);case 11:case"end":return t.stop()}}),t)})))}function v(e){return l(this,void 0,void 0,i.a.mark((function t(){var n,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n="object"==typeof window.__pha_environment__,p(e,"isPha",n),!n){t.next=14;break}return t.prev=3,t.next=6,s.a.fetchEnvInfo({timeout:2e3});case 6:r=t.sent,window.__phaEnvConf__=r,p(e,"phaConf",r),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(3),e.log("fetchPHAEnv\u65f6\u62a5\u9519\u4e86",t.t0);case 14:case"end":return t.stop()}}),t,null,[[3,11]])})))}function p(e,t,n){e.store.set("env."+t,n)}function h(e){return l(this,void 0,void 0,i.a.mark((function t(){var n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n="",t.prev=1,t.next=4,c.a.getDeviceLevel();case 4:n=t.sent,t.next=9;break;case 7:t.prev=7,t.t0=t.catch(1);case 9:p(e,"deviceLevel",n);case 10:case"end":return t.stop()}}),t,null,[[1,7]])})))}function w(e){var t="docSsr"===window.__ssrType||void 0!==window.__INIT_DATA,n=window.__render_use_hydrate||t;p(e,f,n)}function m(e){if(window&&window.navigator&&window.navigator.userAgent){var t=window.navigator.userAgent;p(e,"isIOS",/iphone|ipad|ipod/i.test(t)),p(e,"isAndroid",/Safari/.test(t)&&/Android[\s\/]([\d\.]+)/.test(t))}}},function(e,t,n){e.exports=n(10)},function(e,t){e.exports=require("@ali/pcom-pha-helper/index")},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof f?t:f,o=Object.create(i.prototype),a=new E(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return P()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var c=_(a,n);if(c){if(c===l)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l={};function f(){}function d(){}function v(){}var p={};p[i]=function(){return this};var h=Object.getPrototypeOf,w=h&&h(h(O([])));w&&w!==t&&n.call(w,i)&&(p=w);var m=v.prototype=f.prototype=Object.create(p);function g(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function y(e,t){var r;this._invoke=function(i,o){function a(){return new t((function(r,a){!function r(i,o,a,c){var u=s(e[i],e,o);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(c&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";n.r(t);var r=n(0),i=function(){return r.isWeex?"lx"===navigator.appName.toLowerCase():Boolean(navigator.userAgent.match(/aliapp\(lx/i))},o=Boolean(r.isWeb&&window.WindVane&&window.WindVane.isAvailable),a=Boolean(r.isWeb&&navigator.userAgent.match(/(windmill)/i));t.default={isWeb:r.isWeb,isWeex:r.isWeex,isWindVane:o,isWindmillWebview:a,isTM:r.isWeex?"tm"===navigator.appName.toLowerCase():Boolean(navigator.userAgent.match(/aliapp\(tm/i)),isTB:r.isWeex?"tb"===navigator.appName.toLowerCase():Boolean(navigator.userAgent.match(/aliapp\(tb/i)),isLX:i(),isPig:i(),isAndroid:r.isWeex?"android"==navigator.platform.toLowerCase():Boolean(navigator.userAgent.match(/android/i)),isIOS:r.isWeex?"ios"==navigator.platform.toLowerCase():Boolean(navigator.userAgent.match(/(iphone|ipod|ipad)/i))}},function(e,t){"undefined"==typeof window&&(window={ctrl:{},lib:{}}),!window.ctrl&&(window.ctrl={}),!window.lib&&(window.lib={}),function(e,t){function n(e,t){e=e.toString().split("."),t=t.toString().split(".");for(var n=0;nr)return-1;if(r>i)return 1}return 0}var r=e.Promise,i=e.document,o=e.navigator.userAgent,a=/Windows\sPhone\s(?:OS\s)?[\d\.]+/i.test(o)||/Windows\sNT\s[\d\.]+/i.test(o),c=a&&e.WindVane_Win_Private&&e.WindVane_Win_Private.call,u=/iPhone|iPad|iPod/i.test(o),s=/Android/i.test(o),l=o.match(/WindVane[\/\s](\d+[._]\d+[._]\d+)/),f=Object.prototype.hasOwnProperty,d=t.windvane=e.WindVane||(e.WindVane={version:"3.0.7"}),v=Math.floor(65536*Math.random()),p=1,h=[],w="hybrid",m="iframe_",g="param_",y={isAvailable:1===n(l=l?(l[1]||"0.0.0").replace(/\_/g,"."):"0.0.0","0"),isNewBridgeAvailable:1===n(l,s?"8.3.0":"8.2.0"),call2:function(e,t,n,r,i){var o=e.indexOf(".");return y.call(e.substr(0,o),e.substr(o+1),t,n,r,i)},call:function(t,n,i,o,a,c){var u,l;"number"==typeof arguments[arguments.length-1]&&(c=arguments[arguments.length-1]),"function"!=typeof o&&(o=null),"function"!=typeof a&&(a=null),!r||o||a||(l=new r((function(e,t){o=e,a=t})));var f=(""+n).indexOf(".")>-1;if((!s||!f)&&y.isNewBridgeAvailable&&e.__windvane__&&(!e.__windvane__.call&&e.__windvane__.windVaneCoreJs&&new Function(e.__windvane__.windVaneCoreJs())(),e.__windvane__.call))return e.__windvane__.call(t+"."+n,i,o,a,c),l;u=_.getSid();var d={success:o,failure:a};return c>0&&(d.timeout=setTimeout((function(){y.onFailure(u,{ret:"HY_TIMEOUT"})}),c)),_.registerCall(u,d),_.registerGC(u,c),y.isAvailable?_.callMethod(t,n,i,u):y.onFailure(u,{ret:"HY_NOT_IN_WINDVANE"}),l},fireEvent:function(e,t){var n=i.createEvent("HTMLEvents");n.initEvent(e,!1,!0),n.param=_.parseData(t),i.dispatchEvent(n)},getParam:function(e){return _.getParam(e)},setData:function(){},find:function(e,t){t||_.unregisterCall(e,!1)},onSuccess:function(e,t,n){_.onComplete(e,t,"success",n)},onFailure:function(e,t){_.onComplete(e,t,"failure")}};y.isNewBridgeAvailable&&e.__windvane__&&e.__windvane__.callSync&&(y.callSync=function(t,n){if(u)return e.__windvane__.callSync(t,n);if(s){var r={name:t};n&&(r.params=JSON.stringify(n));var i=e.__windvane__.callSync(r);if(i)try{return JSON.parse(i)}catch(e){}}});var _={params:{},calls:{},getSid:function(){return(v+p++)%65536+""},buildParam:function(e){return e&&"object"==typeof e?JSON.stringify(e):e||""},getParam:function(e){return this.params[g+e]||""},setParam:function(e,t){this.params[g+e]=t},parseData:function(e){var t;if(e&&"string"==typeof e)try{t=JSON.parse(e)}catch(n){t={ret:"HY_RESULT_PARSE_ERROR",originValue:e}}else t=e||{};return t},registerCall:function(e,t){this.calls[e]=t},unregisterCall:function(e,t){var n=this.calls[e]||{},r=n.timeout;return r&&clearTimeout(r),t||delete this.calls[e],n},useIframe:function(e,t){var n=h.pop();n||((n=i.createElement("iframe")).setAttribute("frameborder","0"),n.style.cssText="width:0;height:0;border:0;display:none;"),n.setAttribute("id",m+e),n.setAttribute("src",t),n.parentNode||setTimeout((function(){i.body.appendChild(n)}),5)},retrieveIframe:function(e){var t=i.querySelector("#"+(m+e));if(t)if(h.length>=3)try{i.body.removeChild(t)}catch(e){}else h.indexOf(t)<0&&h.push(t)},callMethod:function(t,n,r,i){var o=_.buildParam(r);if(a)c?e.WindVane_Win_Private.call(t,n,i,o):this.onComplete(i,{ret:"HY_NO_HANDLER_ON_WP"},"failure");else if(u){this.setParam(i,o);var l=w+"://"+t+":"+i+"/"+n+"?"+encodeURIComponent(o);this.useIframe(i,l)}else if(s){this.setParam(i,r);l=w+"://"+t+":"+i+"/"+n+"?"+o;window.prompt(l,"wv_hybrid:")}else this.onComplete(i,{ret:"HY_NOT_SUPPORT_DEVICE"},"failure")},registerGC:function(e,t){var n=this,r=Math.max(t||0,6e5),i=Math.max(t||0,6e4);setTimeout((function(){n.unregisterCall(e)}),r),u&&setTimeout((function(){n.params[g+e]&&delete n.params[g+e]}),i)},onComplete:function(e,t,n,r){var i=this.unregisterCall(e,r),o=i.success,a=i.failure,c=(t=this.parseData(t)).ret;"string"==typeof c&&((t=t.value||t).ret||(t.ret=[c])),"success"===n?o&&o(t):"failure"===n&&a&&a(t),u&&(this.retrieveIframe(e),this.params[g+e]&&delete this.params[g+e])}};for(var b in y)f.call(d,b)||(d[b]=y[b])}(window,window.lib||(window.lib={})),e.exports=window.lib.windvane},function(e,t){e.exports=require("@weex-module/device")},function(e,t,n){"use strict";n.r(t),n.d(t,"getDeviceLevel",(function(){return h}));var r=n(2),i=n.n(r),o=function(e,t){e=String(e),t=String(t);for(var n=e.split("."),r=t.split("."),i=0,o=Math.max(n.length,r.length);i0||parseInt(n[i])>parseInt(r[i]))return 1;if(r[i]&&!n[i]&&parseInt(r[i])>0||parseInt(n[i])0;)if(typeof n===e[i])return n;o(t)}}Object.assign(b.prototype,{subscribe:function(e,t,r){var n=this,o=this._target,i=this._emitter,s=this._listeners,a=function(){var n=y.apply(null,arguments),s={data:n,name:t,original:e};if(r){var a=r.call(o,s);!1!==a&&i.emit.apply(i,[s.name].concat(n))}else i.emit.apply(i,[t].concat(n))};if(s[e])throw Error("Event '"+e+"' is already listening");this._listenersCount++,i._newListener&&i._removeListener&&!n._onNewListener?(this._onNewListener=function(r){r===t&&null===s[e]&&(s[e]=a,n._on.call(o,e,a))},i.on("newListener",this._onNewListener),this._onRemoveListener=function(r){r===t&&!i.hasListeners(r)&&s[e]&&(s[e]=null,n._off.call(o,e,a))},s[e]=null,i.on("removeListener",this._onRemoveListener)):(s[e]=a,n._on.call(o,e,a))},unsubscribe:function(e){var t,r,n,o=this,i=this._listeners,s=this._emitter,a=this._off,c=this._target;if(e&&"string"!=typeof e)throw TypeError("event must be a string");function u(){o._onNewListener&&(s.off("newListener",o._onNewListener),s.off("removeListener",o._onRemoveListener),o._onNewListener=null,o._onRemoveListener=null);var e=T.call(s,o);s._observers.splice(e,1)}if(e){if(!(t=i[e]))return;a.call(c,e,t),delete i[e],--this._listenersCount||u()}else{for(n=(r=h(i)).length;n-- >0;)e=r[n],a.call(c,e,i[e]);this._listeners={},this._listenersCount=0,u()}}});var k=x(["function"]),I=x(["object","function"]);function E(e,t,r){var n,o,i,s=0,a=new e((function(c,u,l){function f(){o&&(o=null),s&&(clearTimeout(s),s=0)}r=_(r,{timeout:0,overload:!1},{timeout:function(e,t){return("number"!=typeof(e*=1)||e<0||!Number.isFinite(e))&&t("timeout must be a positive number"),e}}),n=!r.overload&&"function"==typeof e.prototype.cancel&&"function"==typeof l;var p=function(e){f(),c(e)},h=function(e){f(),u(e)};n?t(p,h,l):(o=[function(e){h(e||Error("canceled"))}],t(p,h,(function(e){if(i)throw Error("Unable to subscribe on cancel event asynchronously");if("function"!=typeof e)throw TypeError("onCancel callback must be a function");o.push(e)})),i=!0),r.timeout>0&&(s=setTimeout((function(){var e=Error("timeout");e.code="ETIMEDOUT",s=0,a.cancel(e),u(e)}),r.timeout))}));return n||(a.cancel=function(e){if(o){for(var t=o.length,r=1;r0;)"_listeners"!==(p=g[a])&&(b=j(e,t,r[p],n+1,o))&&(_?_.push.apply(_,b):_=b);return _}if("**"===w){for((y=n+1===o||n+2===o&&"*"===x)&&r._listeners&&(_=j(e,t,r,o,o)),a=(g=h(r)).length;a-- >0;)"_listeners"!==(p=g[a])&&("*"===p||"**"===p?(r[p]._listeners&&!y&&(b=j(e,t,r[p],o,o))&&(_?_.push.apply(_,b):_=b),b=j(e,t,r[p],n,o)):b=j(e,t,r[p],p===x?n+2:n,o),b&&(_?_.push.apply(_,b):_=b));return _}if(r[w]&&(_=j(e,t,r[w],n+1,o)),(m=r["*"])&&j(e,t,m,n+1,o),d=r["**"])if(n0;)"_listeners"!==(p=g[a])&&(p===x?j(e,t,d[p],n+2,o):p===w?j(e,t,d[p],n+1,o):((v={})[p]=d[p],j(e,t,{"**":v},n+1,o)));else d._listeners?j(e,t,d,o,o):d["*"]&&d["*"]._listeners&&j(e,t,d["*"],o,o);return _}function L(e,t,r){var n,o,i=0,s=0,a=this.delimiter,c=a.length;if("string"==typeof e)if(-1!==(n=e.indexOf(a))){o=new Array(5);do{o[i++]=e.slice(s,n),s=n+c}while(-1!==(n=e.indexOf(a,s)));o[i++]=e.slice(s)}else o=[e],i=1;else o=e,i=e.length;if(i>1)for(n=0;n+10&&l._listeners.length>this._maxListeners&&(l._listeners.warned=!0,v.call(this,l._listeners.length,u))):l._listeners=t,!0;return!0}function P(e,t,r,n){for(var o,i,s,a,c=h(e),u=c.length,l=e._listeners;u-- >0;)o=e[i=c[u]],s="_listeners"===i?r:r?r.concat(i):[i],a=n||"symbol"==typeof i,l&&t.push(a?s:s.join(this.delimiter)),"object"==typeof o&&P.call(this,o,t,s,a);return t}function O(e){for(var t,r,n,o=h(e),i=o.length;i-- >0;)(t=e[r=o[i]])&&(n=!0,"_listeners"===r||O(t)||delete e[r]);return n}function S(e,t,r){this.emitter=e,this.event=t,this.listener=r}function A(e,t,r){if(!0===r)i=!0;else if(!1===r)o=!0;else{if(!r||"object"!=typeof r)throw TypeError("options should be an object or true");var o=r.async,i=r.promisify,a=r.nextTick,c=r.objectify}if(o||a||i){var l=t,f=t._origin||t;if(a&&!u)throw Error("process.nextTick is not supported");i===s&&(i="AsyncFunction"===t.constructor.name),t=function(){var e=arguments,t=this,r=this.event;return i?a?Promise.resolve():new Promise((function(e){p(e)})).then((function(){return t.event=r,l.apply(t,e)})):(a?n.nextTick:p)((function(){t.event=r,l.apply(t,e)}))},t._async=!0,t._origin=f}return[t,c?new S(this,e,t):this]}function C(e){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,d.call(this,e)}S.prototype.off=function(){return this.emitter.off(this.event,this.listener),this},C.EventEmitter2=C,C.prototype.listenTo=function(e,t,r){if("object"!=typeof e)throw TypeError("target musts be an object");var n=this;function o(t){if("object"!=typeof t)throw TypeError("events must be an object");var o,i=r.reducers,s=T.call(n,e);o=-1===s?new b(n,e,r):n._observers[s];for(var a,c=h(t),u=c.length,l=0;l0;)n=r[o],e&&n._target!==e||(n.unsubscribe(t),i=!0);return i},C.prototype.delimiter=".",C.prototype.setMaxListeners=function(e){e!==s&&(this._maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e)},C.prototype.getMaxListeners=function(){return this._maxListeners},C.prototype.event="",C.prototype.once=function(e,t,r){return this._once(e,t,!1,r)},C.prototype.prependOnceListener=function(e,t,r){return this._once(e,t,!0,r)},C.prototype._once=function(e,t,r,n){return this._many(e,1,t,r,n)},C.prototype.many=function(e,t,r,n){return this._many(e,t,r,!1,n)},C.prototype.prependMany=function(e,t,r,n){return this._many(e,t,r,!0,n)},C.prototype._many=function(e,t,r,n,o){var i=this;if("function"!=typeof r)throw new Error("many only accepts instances of Function");function s(){return 0==--t&&i.off(e,s),r.apply(this,arguments)}return s._origin=r,this._on(e,s,n,o)},C.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||m.call(this);var e,t,r,n,o,i,s=arguments[0],a=this.wildcard;if("newListener"===s&&!this._newListener&&!this._events.newListener)return!1;if(a&&(e=s,"newListener"!==s&&"removeListener"!==s&&"object"==typeof s)){if(r=s.length,l)for(n=0;n3)for(t=new Array(u-1),o=1;o3)for(r=new Array(f-1),i=1;i0&&this._events[e].length>this._maxListeners&&(this._events[e].warned=!0,v.call(this,this._events[e].length,e))):this._events[e]=t,i)},C.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var r,n=[];if(this.wildcard){var o="string"==typeof e?e.split(this.delimiter):e.slice();if(!(n=j.call(this,null,o,this.listenerTree,0)))return this}else{if(!this._events[e])return this;r=this._events[e],n.push({_listeners:r})}for(var i=0;i0){for(r=0,n=(t=this._all).length;r0;)"function"==typeof(r=a[t[o]])?n.push(r):n.push.apply(n,r);return n}if(this.wildcard){if(!(i=this.listenerTree))return[];var c=[],u="string"==typeof e?e.split(this.delimiter):e.slice();return j.call(this,c,u,i,0),c}return a&&(r=a[e])?"function"==typeof r?[r]:r:[]},C.prototype.eventNames=function(e){var t=this._events;return this.wildcard?P.call(this,this.listenerTree,[],null,e):t?h(t):[]},C.prototype.listenerCount=function(e){return this.listeners(e).length},C.prototype.hasListeners=function(e){if(this.wildcard){var t=[],r="string"==typeof e?e.split(this.delimiter):e.slice();return j.call(this,t,r,this.listenerTree,0),t.length>0}var n=this._events,o=this._all;return!!(o&&o.length||n&&(e===s?h(n).length:n[e]))},C.prototype.listenersAny=function(){return this._all?this._all:[]},C.prototype.waitFor=function(e,t){var r=this,n=typeof t;return"number"===n?t={timeout:t}:"function"===n&&(t={filter:t}),E((t=_(t,{timeout:0,filter:s,handleError:!1,Promise:Promise,overload:!1},{filter:k,Promise:w})).Promise,(function(n,o,i){function s(){var i=t.filter;if(!i||i.apply(r,arguments))if(r.off(e,s),t.handleError){var a=arguments[0];a?o(a):n(y.apply(null,arguments).slice(1))}else n(y.apply(null,arguments))}i((function(){r.off(e,s)})),r._on(e,s,!1)}),{timeout:t.timeout,overload:t.overload})};var R=C.prototype;Object.defineProperties(C,{defaultMaxListeners:{get:function(){return R._maxListeners},set:function(e){if("number"!=typeof e||e<0||Number.isNaN(e))throw TypeError("n must be a non-negative number");R._maxListeners=e},enumerable:!0},once:{value:function(e,t,r){return E((r=_(r,{Promise:Promise,timeout:0,overload:!1},{Promise:w})).Promise,(function(r,n,o){var i;if("function"==typeof e.addEventListener)return i=function(){r(y.apply(null,arguments))},o((function(){e.removeEventListener(t,i)})),void e.addEventListener(t,i,{once:!0});var s,a=function(){s&&e.removeListener("error",s),r(y.apply(null,arguments))};"error"!==t&&(s=function(r){e.removeListener(t,a),n(r)},e.once("error",s)),o((function(){s&&e.removeListener("error",s),e.removeListener(t,a)})),e.once(t,a)}),{timeout:r.timeout,overload:r.overload})},writable:!0,configurable:!0}}),Object.defineProperties(R,{_maxListeners:{value:10,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),(i=function(){return C}.call(t,r,t,e))===s||(e.exports=i)}()}).call(this,r(6),r(9).setImmediate)},function(e,t){var r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";(function(e){var n=r(1),o="undefined"!=typeof self?self:void 0!==e?e:"undefined"!=typeof window?window:{};function i(e){return"string"!=typeof e&&(e=String(e)),e.toLowerCase()}function s(e){return"string"!=typeof e&&(e=String(e)),e}function a(e){this.originHeaders=e,this.map={},e instanceof a?e.forEach((function(e,t){this.append(t,e)}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function c(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function u(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function l(e){var t=new FileReader;return t.readAsArrayBuffer(e),u(t)}a.prototype.append=function(e,t){e=i(e),t=s(t);var r=this.map[e];r||(r=[],this.map[e]=r),r.push(t)},a.prototype.delete=function(e){delete this.map[i(e)]},a.prototype.get=function(e){var t=this.map[i(e)];return t?t[0]:null},a.prototype.getAll=function(e){return this.map[i(e)]||[]},a.prototype.has=function(e){return this.map.hasOwnProperty(i(e))},a.prototype.set=function(e,t){this.map[i(e)]=[s(t)]},a.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach((function(r){this.map[r].forEach((function(n){e.call(t,n,r,this)}),this)}),this)};var f="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),p="FormData"in o,h="ArrayBuffer"in o;function m(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(f&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e,this._options=t;else if(p&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!h||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},f?(this.blob=function(){var e=c(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(l)},this.text=function(){var e,t,r,n,o,i,s,a=c(this);if(a)return a;if(this._bodyBlob)return e=this._bodyBlob,t=this._options,r=new FileReader,n=t.headers.map["content-type"]?t.headers.map["content-type"].toString():"",o=/charset\=[0-9a-zA-Z\-\_]*;?/,i=e.type.match(o)||n.match(o),s=[e],i&&s.push(i[0].replace(/^charset\=/,"").replace(/;$/,"")),r.readAsText.apply(r,s),u(r);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=c(this);return e||Promise.resolve(this._bodyText)},p&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function v(e,t){var r,n,o=(t=t||{}).body;if(v.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new a(e.headers)),this.method=e.method,this.mode=e.mode,o||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new a(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),d.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o,t)}function y(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function g(e){var t=new a;return e.getAllResponseHeaders().trim().split("\n").forEach((function(e){var r=e.trim().split(":"),n=r.shift().trim(),o=r.join(":").trim();t.append(n,o)})),t}function b(e,t){t||(t={}),this._initBody(e,t),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof a?t.headers:new a(t.headers),this.url=t.url||""}v.prototype.clone=function(){return new v(this)},m.call(v.prototype),m.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new a(this.headers),url:this.url})},b.error=function(){var e=new b(null,{status:0,statusText:""});return e.type="error",e};var _=[301,302,303,307,308];b.redirect=function(e,t){if(-1===_.indexOf(t))throw new RangeError("Invalid status code");return new b(null,{status:t,headers:{location:e}})};t.a=function(e,t){return new Promise((function(r,o){var i;if(i=v.prototype.isPrototypeOf(e)&&!t?e:new v(e,t),n.isWeex){var s=__weex_require__("@weex-module/stream"),a={url:i.url,method:i.method,headers:i.headers&&i.headers.originHeaders};void 0!==i._bodyInit&&(a.body=i._bodyInit),s.fetch?(a.type=t&&t.dataType?t.dataType:"json",s.fetch(a,(function(e){try{"string"==typeof e&&(e=JSON.parse(e));var t=new b("string"==typeof e.data?e.data:JSON.stringify(e.data),{status:e.status,statusText:e.statusText,headers:e.headers,url:i.url});r(t)}catch(e){o(e)}}),(function(){}))):s.sendHttp&&s.sendHttp(a,(function(e){r(new b(e,{status:200}))}))}else{var c=function(){if(4===u.readyState){var e=1223===u.status?204:u.status;if(e<100||e>599){if(l)return;return l=!0,void o(new TypeError("Network request failed"))}var t={status:e,statusText:u.statusText,headers:g(u),url:"responseURL"in u?u.responseURL:/^X-Request-URL:/im.test(u.getAllResponseHeaders())?u.getResponseHeader("X-Request-URL"):void 0},n="response"in u?u.response:u.responseText;l||(l=!0,r(new b(n,t)))}},u=new XMLHttpRequest,l=!1;u.onreadystatechange=c,u.onload=c,u.onerror=function(){l||(l=!0,o(new TypeError("Network request failed")))},u.ontimeout=function(){o(new TypeError("Network request timeout"))},u.open(i.method,i.url,!0);try{"include"===i.credentials&&("withCredentials"in u?u.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(e){console&&console.warn&&console.warn("set withCredentials error:"+e)}"responseType"in u&&f&&(u.responseType="blob"),i.headers.forEach((function(e,t){u.setRequestHeader(t,e)})),u.send(void 0===i._bodyInit?null:i._bodyInit)}}))}}).call(this,r(4))},function(e,t){var r,n,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var c,u=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&h())}function h(){if(!l){var e=a(p);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f1)for(var r=1;r=0;--i){var s=this.tryEntries[i],a=s.completion;if("root"===s.tryLoc)return o("end");if(s.tryLoc<=this.prev){var c=n.call(s,"catchLoc"),u=n.call(s,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:L(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(10),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(4))},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,o,i,s,a,c=1,u={},l=!1,f=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){m(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){m(e.data)},n=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,n=function(e){var t=f.createElement("script");t.onreadystatechange=function(){m(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):n=function(e){setTimeout(m,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&m(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(s+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r0&&o-1 in n)){for(r=0;r=0?"4272":"24677475";i.map&&i.map((function(e){e.__data_source="overseas",Object.assign(e.__data_param,e.__dynamic_param)})),Object.assign(k,{api:"mtop.lazada.pegasus.service.AldRecommendService.recommend2",appKey:l,"x-i18n-language":a,"x-i18n-regionID":c});var p=Array.isArray(i)?i[0].__data_param:i,h=o.backupParams||{};Object.assign(h,{language:a,resourceCode:p.resourceCode}),o.backupParams=h,o.mtop=!!o.mtop,o.mtopApiName=o.mtopApiName||"mtop.lazada.pegasus.service.AldRecommendService.recommend2",o.params=Object.assign({terminalType:"msite"===r.g_config.terminalType?2:1,campaignId:s.campaignId,pageId:s.pageId,language:a,regionID:c,backupParams:p.backupParams||"language,resourceCode"},o.params||{}),o.reqSource="overseas",t&&t(e)}}};function E(e){var t=["userId","utcpDebug","bottom","utcp"];e=e||t;var r=Array.isArray(e)?e.concat([]):t;return""+e!="false"&&r}function T(e,t,r,n){var o=e.shift();if(o){var i=I[o];"string"!=typeof o&&(i=o),i&&p(i[t])?i[t](r,(function(){T(e,t,r,n)})):T(e,t,r,n)}else n&&n(r)}var j;!function(e){e.http="http",e.mtop="mtop",e.hsf="hsf"}(j||(j={}));var L,P=r(3);function O(e){return e?(e^16*Math.random()>>e/4).toString(16):(1e7.toString()+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,O)}!function(e){e.aldlamp="ald-lamp",e.utcp="utcp",e.overseas="overseas",e.aladdin="aladdin"}(L||(L={}));var S=function(){function e(e){this.ctx=e.ctx,this.requestParams=e.requestParams,this.requestParams.pvuuid||(this.requestParams.pvuuid=this.getOrGenPvuuid()),this.requestParams.__pvuuid=this.requestParams.pvuuid}return e.prototype.getOrGenPvuuid=function(){if(this.ctx.__pvuuid)return this.ctx.__pvuuid;var e="v1-"+O()+"-"+String(Date.now());return this.ctx.__pvuuid=e,e},e}();function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}var C=function(){},R=function(){};R.EVENT_NAME="bottom-cdn";var q=function(e){var t,r;function n(t){var r=e.call(this,{ignoreErrors:!0})||this;return r.ioService=t.ioService,r}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,A(t,r);var o=n.prototype;return o.getBottomDataDomainPrefix=function(e){switch(e.reqSource){case L.utcp:return"kangaroo";case L.aldlamp:return"ald-lamp";case L.overseas:return"overseas-aladdin";default:return"aladdin"}},o.getBottomData=function(e,t){var r=this,n=this.getBottomDataUrl(e);return this.ioService.doIO(j.http,{url:n,dataType:"jsonp",params:{},timeout:t.timeout,callback:this.getBottomCallbackName(e)}).then((function(t){var n=new R;return n.success=!0,n.params=e,r.emit(R.EVENT_NAME,n),t})).catch((function(t){var n=new R;throw n.success=!1,n.params=e,n.error=t,r.emit(R.EVENT_NAME,n),t}))},o.getBottomDataUrl=function(e){if(!e.requestItem.resId)throw new Error("\u83b7\u53d6\u6253\u5e95 url \u5931\u8d25\uff0c\u8bf7\u4f20\u5165 resId");var t=e.requestItem.resId.split(","),r=e.requestItem.backupParams||{},n="//"+this.getBottomDataDomainPrefix(e)+".alicdn.com/bottom/"+t.sort().join("/");return Object.keys(r).sort().forEach((function(e){n+="/"+e+"="+r[e]})),n+="/data.jsonp"},o.getBottomCallbackName=function(e){if(!e.requestItem.resId)throw new Error("\u83b7\u53d6\u6253\u5e95\u6570\u636e callback \u540d\u5931\u8d25\uff0c\u8bf7\u4f20\u5165 resId");var t=e.requestItem.resId.replace(/-/g,"_").split(",");t=t.sort();var r=e.requestItem.backupParams||{},n="";return Object.keys(r).sort().forEach((function(e){n+="_"+e+"_"+r[e]})),"callback_"+t.join(",")+n},n}(P.EventEmitter2);function D(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return N(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&($.a.config("prefix","h5api"),$.a.config("subDomain","wapa"),$.a.config("mainDomain","tmall.com"));function ne(e){return"utcp"===e.reqSource||"ald-lamp"===e.reqSource?e.url:re.api}var oe=function(e){e.params.appId?e.params.resId=e.params.appId:e.params.appId=e.params.resId,void 0!==e.params.backupParams&&(e.params.backupParams=e.params.backupParams.join(",")),void 0!==e.params.pvuuid?e.params.__pvuuid=e.params.pvuuid:void 0!==e.params.__pvuuid&&(e.params.pvuuid=e.params.__pvuuid),void 0!==e.params.pvuuid&&(e.params._pvuuid=e.params.pvuuid);var t=Object.assign({},e,re,{data:e.params||{},timeout:e.timeout||x.timeout,dataType:e.dataType,api:e.api||ne(e)});return t.v=e.version||t.v,new Promise((function(e,r){$.a.request(t,(function(t){var n,o;o=(n=t)?n.retType:void 0,n&&n.ret&&void 0===o&&(n.ret instanceof Array?n.ret.join(","):n.ret).indexOf("SUCCESS")>-1&&(o=0),n&&Array.isArray(n.ret)&&n.ret.length>0&&0!==o?r(new Error("Mtop\u63a5\u53e3\u8c03\u7528\u5931\u8d25")):e(t&&t.data&&t.data.resultValue)}),(function(e){r(new Error(e&&e.ret&&e.ret[0]||"Mtop\u63a5\u53e3\u8c03\u7528\u5931\u8d25"))})).catch((function(){}))}))},ie=function(){function e(){}return e.prototype.doIO=function(e,t){return"mtop"===e?oe(t):function(e){var t={url:(e=e).url,body:Object.keys(e.params).map((function(t){return t+"="+e.params[t]})).join("&"),mode:"jsonp",timeout:e.timeout};return e.callback&&(t.jsonpCallbackFunctionName=e.callback,t.jsonCallback="callback"),s.isMiniApp?new Promise((function(e,r){var n=t;n.fail=function(e){r(e)},n.success=function(t){if(t.data){var n=t.data.split("({")[1].split("})")[0];e(JSON.parse("{"+n+"}"))}else r(t)},n.dataType="text",n.method="GET",-1===n.url.indexOf("http")&&(n.url="https:"+n.url),my.request(n)})):te(t.url,t).then((function(e){return e.json()}))}(t)},e}(),se=new ie;function ae(e,t,r,n,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(n,o)}function ce(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return ue(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ue(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r100?r:1e3*r:x.timeout,n=Object.assign({},{timeout:r,api:this.constructConfig.config.mtopApiName||"mtop.taobao.aladdin.service.AldRecommendService.tmall.recommend2",version:this.constructConfig.config.mtopApiVersion},t.ioConfig),i=new q({ioService:se}),s=new G({useBottomResponseAsResponse:!!this.constructConfig.config.directUseBackup,bottomService:i,ioService:se,ioConfig:n}),e.next=7,s.getResponse(t.request);case 7:return a=e.sent,e.abrupt("return",a.data[t.request.requestItems[0].resId]);case 9:case"end":return e.stop()}}),e,this)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function s(e){ae(i,n,o,s,a,"next",e)}function a(e){ae(i,n,o,s,a,"throw",e)}s(void 0)}))});return function(){return t.apply(this,arguments)}}(),t.parseDataConfig=function(e,t){var r=this;t=t||"",this.checkIsDataTag(e)&&(this.checkTagIsDynamic(e)?this.pushToXPathMapAndGenerateRequest(e,t):m(e,(function(e,n){r.checkIsDataTag(n)&&r.parseDataConfig(n,t+"."+e)})))},t.checkIsDataTag=function(e){return Array.isArray(e)||le(e)},t.pushToXPathMapAndGenerateRequest=function(e,t){var r=Array.isArray(e)?e[0]:e;this.xPathMap[t]=r.__data_param.appId;var n=new S({ctx:this.constructConfig.ctx,requestParams:this.constructConfig.config.params});n.requestSource=r.__data_source;var o=new z;o.ctx=this.constructConfig.ctx,o.enableBackup=!this.constructConfig.config.closeBackup,o.params=r.__data_param,o.params=v(o.ctx,o.params),o.params.resId||(o.params.resId=r.__data_param.appId);var i=new W(o);n.requestItems=[i],this.requests.push({request:n,ioConfig:{api:r.__data_url}})},t.checkTagIsDynamic=function(e){return Array.isArray(e)?!(e.length>1)&&this.checkDataConfig(e[0]):this.checkDataConfig(e)},t.checkDataConfig=function(e){return!(!e||!le(e))&&(e.__data_source&&e.__data_param&&le(e.__data_param))},e}();function pe(e,t){return pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},pe(e,t)}var he=function(e){var t,r;function n(t){return e.call(this,t)||this}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,pe(t,r),n}(fe);function me(e,t,r,n,o,i,s){try{var a=e[i](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(n,o)}var de=h,ve=function(){function e(e){var t=this,r=f(),n=(r&&r.g_config||{}).dynamicConfig||{},o=Object.assign({},n,e),i=E(o.plugins);(e=o).ctx||(e.ctx=f()||{}),i?T(i,"argumentPreprocess",{data:{},config:e},(function(e){t.doRequest(e.config)})):this.doRequest(e)}var t=e.prototype;return t.doRequest=function(e){this.doRequestPromise(e).then(e.callback).catch((function(t){e.errCallback&&e.errCallback(t)}))},t.doRequestPromise=function(){var e,t=(e=o.a.mark((function e(t){var r,n,i,s,a,c,u,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.normalizeDataConfig(t),t.params.appId=""+t.params.appId,(r=new z).ctx=t.ctx,r.enableBackup=!t.closeBackup,r.params=t.params,r.params=v(r.ctx,r.params),t.backupParams&&(Array.isArray(t.backupParams)?r.params.backupParams=t.backupParams:r.params.backupParams=Object.keys(t.backupParams)),n=new W(r),(i=new S({ctx:t.ctx||f()||{},requestParams:{}})).requestItems=[n],i.requestSource=t.dataSource,s=(s=parseInt(String(t.timeout),10))?s>100?s:1e3*s:x.timeout,a={timeout:s,api:t.mtopApiName||"mtop.taobao.aladdin.service.AldRecommendService.tmall.recommend2",version:t.mtopApiVersion},t.mtopConfig&&Object.assign(a,t.mtopConfig),c=new q({ioService:se}),u=new G({useBottomResponseAsResponse:!!t.directUseBackup,bottomService:c,ioService:se,ioConfig:a}),e.next=20,u.getResponse(i);case 20:return l=e.sent,e.abrupt("return",l.data);case 22:case"end":return e.stop()}}),e,this)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function s(e){me(i,n,o,s,a,"next",e)}function a(e){me(i,n,o,s,a,"throw",e)}s(void 0)}))});return function(){return t.apply(this,arguments)}}(),t.normalizeDataConfig=function(e){if(!e||!de(e))throw new Error("\u4f20\u5165\u7684\u53c2\u6570\u5fc5\u987b\u4e3a\u5bf9\u8c61");if(!e.params||!e.params.appId&&!e.params.resId)throw new Error("\u5fc5\u987b\u4f20\u5165appId \u6216 resId");if(e.params.resId?e.params.appId=e.params.resId:e.params.resId=e.params.appId,"string"!=typeof e.params.appId&&"number"!=typeof e.params.appId)throw new Error("\u4f20\u5165\u7684appId\u5fc5\u987b\u4e3a\u5b57\u7b26\u4e32\u6216\u6570\u5b57");if(e.params.appId=String(e.params.appId),e.params.resId=String(e.params.resId),!p(e.callback))throw new Error("\u5fc5\u987b\u4f20\u5165\u56de\u8c03\u51fd\u6570")},e}();function ye(e,t){return ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ye(e,t)}var ge=function(e,t,r,n){return p(t)&&(n=r,r=t,t=null),new he({data:e,key:t,callback:r,config:n||{}})},be=function(e){var t,r;function n(t){return e.call(this,t)||this}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,ye(t,r),n}(ve);t.default={Dynamic:ge,ChannelDynamic:be}}]);; (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/tubes-tb-ability-data/tube/index", [], function(require, exports, module) {module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=15)}([function(e,t,r){"use strict";r.d(t,"j",(function(){return n})),r.d(t,"m",(function(){return o})),r.d(t,"f",(function(){return i})),r.d(t,"e",(function(){return a})),r.d(t,"i",(function(){return u})),r.d(t,"c",(function(){return c})),r.d(t,"l",(function(){return s})),r.d(t,"n",(function(){return l})),r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return d})),r.d(t,"d",(function(){return p})),r.d(t,"k",(function(){return v})),r.d(t,"o",(function(){return h})),r.d(t,"g",(function(){return m})),r.d(t,"p",(function(){return w})),r.d(t,"h",(function(){return g})),r.d(t,"s",(function(){return b})),r.d(t,"t",(function(){return y})),r.d(t,"q",(function(){return x})),r.d(t,"r",(function(){return j}));var n="pageData",o="resultValue",i="isFirstScreen",a="hasMoreModules",u="modules",c="excludes",s="pvuuid",l="schemaVersion",f="sequence",d="allUI",p="fri",v="pageInfo",h="seed",m="data",w="sysInfo",g="dataTraceMap";function b(e){e.store.set(n,{}),y(e,i,!0),y(e,a,!0),y(e,u,[]),y(e,c,[]),y(e,s,""),y(e,l,""),y(e,f,1),y(e,d,[]),y(e,p,{}),y(e,v,{}),y(e,h,{}),y(e,m,{}),y(e,g,{})}function y(e,t,r,o){if(void 0===o&&(o=!0),o)e.store.set(n+"."+t,r);else{var i=e.store.get(n+"."+t);if("object"==typeof i&&"object"==typeof r){var a=Object.assign(Object.assign({},i),r);e.store.set(n+"."+t,a)}else e.store.set(n+"."+t,r)}}function x(e,t){return e.store.get(n+"."+t)}function j(e){var t=x(e,f)||1;y(e,f,t+1)}},function(e,t,r){"use strict";r.d(t,"e",(function(){return p})),r.d(t,"j",(function(){return v})),r.d(t,"c",(function(){return h})),r.d(t,"l",(function(){return m})),r.d(t,"f",(function(){return w})),r.d(t,"n",(function(){return g})),r.d(t,"q",(function(){return b})),r.d(t,"d",(function(){return x})),r.d(t,"i",(function(){return j})),r.d(t,"k",(function(){return O})),r.d(t,"m",(function(){return _})),r.d(t,"o",(function(){return P})),r.d(t,"h",(function(){return E})),r.d(t,"b",(function(){return k})),r.d(t,"p",(function(){return A})),r.d(t,"r",(function(){return S})),r.d(t,"a",(function(){return T})),r.d(t,"g",(function(){return q}));var n=r(2),o=r.n(n),i=r(8),a=r(10),u=r.n(a),c=r(3),s=r.n(c);function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r>18&63)+t.charAt(i>>12&63)+t.charAt(i>>6&63)+t.charAt(63&i);return 2==a?(r=e.charCodeAt(c)<<8,n=e.charCodeAt(++c),u+=t.charAt((i=r+n)>>10)+t.charAt(i>>4&63)+t.charAt(i<<2&63)+"="):1==a&&(i=e.charCodeAt(c),u+=t.charAt(i>>2)+t.charAt(i<<4&63)+"=="),u}function m(e){try{return(new s.a).parse(e)}catch(e){return console.error("data-loader parse page url error",e),{pathname:"",params:{}}}}function w(){var e="undefined"!=typeof window?window.__detectedDevice:"";return{device:e,isPhone:"phone"===e,isApp:"undefined"!=typeof window&&v(window.__inApp),isWeb:i.isWeb,isMiniApp:i.isMiniApp}}var g={getItem:function(e){var t;try{t=window.localStorage.getItem(e)}catch(e){console.error(e)}return t},setItem:function(e,t){try{window.localStorage.setItem(e,t)}catch(e){console.error(e)}},removeItem:function(e){try{window.localStorage.removeItem(e)}catch(e){console.error(e)}}};function b(e,t){var r,n;try{r=(new s.a).parse(t),n=(new s.a).parse(e)}catch(e){console.error("ForceKangarooReqUrl parse url error",e)}if(r){for(var o in n.params)"wh_pid"!==o&&n.params.hasOwnProperty(o)&&(r.params[o]=n.params[o]);return t=r.toString()}return e}function y(e){window.location&&window.location.replace?window.location.replace(e):window.location.href=e}function x(e){var t,r=(null==e?void 0:e.pageInfo)||{};if("over"===r.pageStatus){if(((null===(t=window.location)||void 0===t?void 0:t.href)||"").indexOf("wh_preview=offline")>=0||"maintain"===window.__systemPreviewEnv)return;var n=r.offlineUrl||r.$act.offlineUrl||"https://www.tmall.com";if(r.popBeforeOpenOffline&&window.WindVane&&window.WindVane.call){var o={url:n,popBeforeOpen:!0};window.WindVane.call("WVNative","openWindow",o,(function(){}),(function(){y(n)}))}else y(n)}}function j(e){var t=window.__prerender&&window.__prerender.dom,r=!0===window.__ignoreSSR;return(t||r)&&e&&e.html&&delete e.html,e}function O(e){if(void 0===e&&(e={}),"maintain"===(null===window||void 0===window?void 0:window.__systemPreviewEnv)&&e.handlerExtraParamMaintainEnv&&(e.extraParamsOfCurrentEnv=e.handlerExtraParamMaintainEnv),"preview"===(null===window||void 0===window?void 0:window.__systemPreviewEnv)&&e.handlerExtraParamPreviewEnv&&(e.extraParamsOfCurrentEnv=e.handlerExtraParamPreviewEnv),"string"==typeof e.extraParamsOfCurrentEnv)try{e.extraParamsOfCurrentEnv=JSON.parse(e.extraParamsOfCurrentEnv)}catch(e){console.error("extra param of current env is not valide")}return e}function _(e){var t,r;return void 0===e&&(e={}),(null===(r=null===(t=window.location)||void 0===t?void 0:t.hostname)||void 0===r?void 0:r.includes(".wapa."))&&e.mtopConfig&&void 0!==e.mtopConfig.subDomain&&(e.mtopConfig.subDomain=void 0),e}function P(e){var t,r=window.__systemPreviewEnv;if((null===(t=window.lib)||void 0===t?void 0:t.mtop)&&e&&"preview"!==r&&"maintain"!==r&&"object"==typeof e)for(var n in e)!e[n]&&""!==e[n]||void 0===e[n]||("function"==typeof window.lib.mtop.config?window.lib.mtop.config(n,e[n]):"object"==typeof window.lib.mtop.config&&(window.lib.mtop.config[n]=e[n]))}function E(e){return e.uuid||e.moduleId}function k(e){var t="";"true"===String(e.isBottomData)&&(t="screen-fe-bottom");var r=e.serverBottomApp||[],n=e.failApp||[];if(!t&&0===r.length&&0===n.length)return e;e.modules=e.modules||[],e.data=e.data||{};var o=e.modules,i=e.data;return o.forEach((function(e){var o=E(e),a=i[o],u={};a&&Object.keys(a).length&&Object.keys(a).forEach((function(e){if(t)u[e]=t;else{var i=o+"."+e;r.indexOf(i)>=0?u[e]="single-tag-server-bottom":n.indexOf(i)>=0&&(u[e]="single-tag-fe-bottom")}})),e.bottomStatus=u})),e}function A(){if(window.feloader&&window.feloader.getScript){var e="//"+(window.feloader.Config.useDailyAssets?"dev.":"")+"g.alicdn.com/code/npm/@ali/pcom-ark-act-error-page/1.0.0/index.min.js";window.feloader.getScript(e)}}function S(e){var t;void 0===e&&(e={});var r,n=e.handlerConfigByPage||[];if(!n.length)return e;try{r=(new s.a).parse(e.url||location.href)}catch(e){console.error("useHandlerConfigByPage parse url error",e)}return(null===(t=null==r?void 0:r.params)||void 0===t?void 0:t.wh_pid)&&n.forEach((function(t){var n,o,i=(null===(n=r.params.wh_pid)||void 0===n?void 0:n.split("-"))||[],a=i[i.length-1];(null===(o=null==t?void 0:t.pid)||void 0===o?void 0:o.indexOf(a))>=0&&(t.mtopApiName&&(e.mtopApiName=t.mtopApiName),t.bottomUrlPrefix&&(e.bottomUrlPrefix=t.bottomUrlPrefix),t.bottomUrlPrefixPreEnv&&(e.bottomUrlPrefixPreEnv=t.bottomUrlPrefixPreEnv),t.bottomQueryKeys&&(e.pageUrlBottomQueryKeys=t.bottomQueryKeys))})),e}function T(e){var t=document.body.querySelector(".log-view");if(t){var r=document.createElement("p");r.innerText=e,t.appendChild(r)}}Promise.any||(Promise.any=function(e){return new Promise((function(t,r){var n,o,i,a,u,c=!1,s=[],f=0,d=[];function p(e){c||(c=!0,t(e))}function v(e){d.push(e),d.length>=f&&r(d)}for(var h,m=l(e);!(h=m()).done;){var w=h.value;f++,s.push(w)}for(var g=0,b=s;g0&&(n=document.documentElement.clientHeight);var i=e.store.get("env.deviceLevel");return"high_end"===i?o=1.5:"low_end"===i?(n=1.75*document.documentElement.clientWidth,o=1):o=r?1.5:1.2,n*o}},function(e,t,r){e.exports=r(11)},function(e,t){e.exports=require("@ali/pcom-ark-url/index")},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i}));var n="undefined"!=typeof __weex_options__&&__weex_options__.weex,o=("object"==typeof navigator&&("Mozilla"===navigator.appCodeName||navigator.product),void 0!==e&&(!e.versions||e.versions.node),"function"==typeof callNative||"object"==typeof WXEnvironment&&"Web"!==WXEnvironment.platform),i=o&&"object"==typeof n&&"windmill"===n.config.container||!1}).call(this,r(12))},function(e,t){e.exports=require("@weex-module/cookie")},function(e,t,r){"use strict";r.d(t,"e",(function(){return o})),r.d(t,"b",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"a",(function(){return u})),r.d(t,"c",(function(){return c}));var n=r(0),o=n.j+"BeforeFirstScreen",i=n.j+"AfterFirstScreen",a=n.j+"BeforeFellowScreen",u=n.j+"AfterFellowScreen",c=n.j+"AfGetFirstScreenDataBfStore"},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(1),o=r(0),i="https://kangaroo.alicdn.com/bottom",a=["wh_pid","wh_fromout","wh_ttid","wh_act_nativebar","wh_solution_version","wh_seed","wh_bizStageId","wh_minisite_scene","wh_inshopfrom","wh_sid"];function u(e,t,r){var u,c,s;void 0===r&&(r={});var l,f=(Object(o.q)(e,o.c)||[]).sort().join(";"),d=Object(n.f)().device,p=function(e,t){void 0===t&&(t={});var r,o,i,u=Object(n.l)(e)||{},c=(null===(r=t.pageUrlBottomQueryKeys)||void 0===r?void 0:r.split(","))||a;if(null===(o=t.pageUrlBottomQueryKeysByPage)||void 0===o?void 0:o.length){var s=null,l=(null===(i=u.params.wh_pid)||void 0===i?void 0:i.split("-"))||[],f=l[l.length-1];t.pageUrlBottomQueryKeysByPage.forEach((function(e){var t;(null===(t=e.pid)||void 0===t?void 0:t.indexOf(f))>=0&&(s=e.bottomQueryKeys||"")})),s&&(c=s.split(","))}c.sort();var d=[],p=u.params;c.forEach((function(e){p&&p[e]&&d.push(e+"="+encodeURIComponent(p[e]))}));var v=d.join("&"),h=u.pathname.endsWith("/")?u.pathname.slice(0,-1):u.pathname;d.length>0&&"/"===u.pathname&&(h+="/");var m="https://"+u.hostname+(u.port&&":"+u.port)+h;v&&(m+="?"+v);return m}(t,r),v=Object(n.c)(p),h=f?"/excludes="+f:"",m=f?"_excludes_"+f:"";return l="wapa"===(null===(s=null===(c=null===(u=null===window||void 0===window?void 0:window.lib)||void 0===u?void 0:u.mtop)||void 0===c?void 0:c.config)||void 0===s?void 0:s.subDomain)?r.bottomUrlPrefixPreEnv||r.bottomUrlPrefix||i:r.bottomUrlPrefix||i,function(e,t){var r=Object(n.f)(),o=r.isWeb,i=r.isMiniApp;return new Promise((function(r,n){o&&!i?e.jsonp(t.url,t).then((function(e){r(e)})).catch((function(e){n(e)})):i&&(t.fail=function(e){n(e)},t.success=function(e){if(e.data){var t=e.data.split("({")[1].split("})")[0];r(JSON.parse("{"+t+"}"))}else n(e)},t.dataType="text",t.method="GET",-1===t.url.indexOf("http")&&(t.url="https:"+t.url),"undefined"!=typeof my&&my.request(t))}))}(e,{url:l+"/"+v+"/device="+d+h+"/data.jsonp",method:"jsonp",timeout:1e4,jsonpCallbackFunctionName:"callback_"+v+"_device_"+d+m}).then((function(e){return void 0===e&&(e={}),e.isBottomData=!0,e})).catch((function(t){throw e.log(t),t}))}},function(e,t){e.exports=require("@ali/rax-pkg-universal-env/index")},function(e,t,r){"use strict";var n=r(2),o=r.n(n),i=r(1),a="alideviceid",u="_oneId";var c=function(e){var t={};if(!e)return t;var r=e._oneId,n=e.alideviceid,o=function(e,t){var r=t[0],n=t[1],o={};return o[r]=n,i.n.removeItem(e),i.n.setItem(r,n),o};if(r)return o(a,[u,r]);if(n)return o(u,[a,n]);var c=i.n.getItem(u);return c?(i.n.removeItem(a),t._oneId=c,t):function(){var e={},t=i.n.getItem(a);return t?(i.n.removeItem(a),e.alideviceid=t,e):e}()},s=r(7),l=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function u(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}c((n=n.apply(e,t||[])).next())}))};t.a=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={disablePrefetch:!1}),l(this,void 0,void 0,o.a.mark((function n(){var a,u,l,f,d,p,v,h,m,w,g,b,y,x,j,O,_,P,E,k,A,S,T,q,I;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=["sm4","hng"],u=Object(i.f)(),l=u.isPhone,f=u.isApp,d=u.device,v=(p=r).disablePrefetch,h=void 0!==v&&v,m=p.mtopApiName,w=p.dataType,g=p.extraParams,b=void 0===g?{}:g,y=p.queryWhitelist,x=void 0===y?"wh_pid":y,j=!h&&l&&f,n.next=6,Object(i.e)(a);case 6:return O=n.sent,_=Object.assign({},t),P=_.url||location&&location.href,E=Object(i.l)(P).params,delete _.url,k=Object.assign(Object.assign(Object.assign({url:P,cookie:O,device:d,backupParams:"device",usePrefetch:j},c(E)),_),b),A={api:m||"mtop.tmall.kangaroo.core.service.route.PageRecommendService",v:"1.0",dataType:w||"jsonp",jsonpIncPrefix:"kangaroo",data:k,timeout:5e3},j&&(k.queryWhitelist=x,E[x]&&(k[x]=E[x])),l&&f&&!j&&(A.ignorePrefetch=!0,A.data.ignorePrefetch=!0),S={bottomUrlPrefix:r.bottomUrlPrefix,bottomUrlPrefixPreEnv:r.bottomUrlPrefixPreEnv,pageUrlBottomQueryKeys:r.pageUrlBottomQueryKeys,pageUrlBottomQueryKeysByPage:r.pageUrlBottomQueryKeysByPage},n.prev=16,n.next=19,e.mtop(A);case 19:if(T=n.sent,q=T&&T.data&&T.data.resultValue,j&&T&&T.stat&&(""+T.stat.isPrefetch=="1"||""+T.stat.isPrefetch=="true")&&q&&!q.mtopPrefetch&&(q.mtopPrefetch=!0),q){n.next=24;break}throw new Error("kangaroo mtop request has no data.resultValue");case 24:return n.abrupt("return",q);case 27:return n.prev=27,n.t0=n.catch(16),window.dispatchEvent(new CustomEvent("pushTubeError",{detail:{code:"tubes_data-ability_kangarooRequestBottom",message:n.t0.message||"kangarooRequestBottom"}})),n.next=32,Object(s.a)(e,P,S);case 32:return(I=n.sent)&&I.mtopPrefetch&&delete I.mtopPrefetch,e.log("got bottom data: ",I),n.abrupt("return",I);case 36:case"end":return n.stop()}}),n,null,[[16,27]])})))}},function(e,t,r){e.exports=r(13)},function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),a=new k(n||[]);return i._invoke=function(e,t,r){var n=f;return function(o,i){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return S()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=_(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var c=l(e,t,r);if("normal"===c.type){if(n=r.done?p:"suspendedYield",c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=p,r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var f="suspendedStart",d="executing",p="completed",v={};function h(){}function m(){}function w(){}var g={};c(g,i,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(A([])));y&&y!==r&&n.call(y,i)&&(g=y);var x=w.prototype=h.prototype=Object.create(g);function j(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(o,i,a,u){var c=l(e[o],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,u)}))}u(c.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function A(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t){var r,n,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c,s=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?s=c.concat(s):f=-1,s.length&&p())}function p(){if(!l){var e=u(d);l=!0;for(var t=s.length;t;){for(c=s,s=[];++f1)for(var r=1;r-1){var c=a.substring(0,u),s=a.substring(u+1);n[c]=s}}return n}var i={get:function(e,t){return void 0===t&&(t=""),new Promise((function(i,a){if(n.b){r(5).read({url:t},(function(t){var r=t||{},n=r.value,o=r.data,a={};n&&(a=n),o&&(a=o),i(e?a[e]||"":a)}),(function(e){a(e)}))}else{var u={};if(n.a)u=o(r(5).get());else u=o(document.cookie);i(e?u[e]:u)}}))},set:function(e){var t;if(void 0===e&&(e={}),e.name)if(n.b)r(5).write(((t={})[e.name]=e.value,t.domain=e.domain||location.hostname,t));else if(n.a){r(5).setObject(e)}else{var o=[];["path","domain","maxAge","expires"].forEach((function(t){e[t]&&o.push(t.replace(/([A-Z])/g,"-$1").toLowerCase()+"="+e[t])})),e.secure&&o.push("secure"),document.cookie=e.name+"="+e.value+"; "+o.join("; ")}}};t.default=i},function(e,t){e.exports=require("@ali/pcom-dynamic/index")},function(e,t,r){e.exports=r(18)},,,function(e,t,r){"use strict";r.r(t);var n=r(2),o=r.n(n),i=r(0),a=r(9),u=r(14);function c(e,t){return new Promise((function(r){var n=function(e){Array.isArray(e)&&(e=e[0]);for(var t=(e=e||{}).__data_param||{},r=e.__data_source,n=e.__data_url,o={},i=(t.backupParams||"").split(","),a=0;at.scrollHeight&&(window.document.removeEventListener("scroll",r),e("scroll near end"))};window.document.addEventListener("scroll",r)}));Promise.any([o,i,a]).then((function(n){Object(d.a)("2th screen trigger: "+n),j(e,t,r)}))}),{once:!0})}(e,{url:r.url},r,t.pageInfo)}function j(e,t,r){return void 0===t&&(t={}),h(this,void 0,void 0,o.a.mark((function n(){var u;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return Object(i.r)(e),Object(i.t)(e,i.f,!1),e.hook(p.d),n.next=5,Object(a.a)(e,Object.assign(Object.assign({},t),v(e)),Object.assign({disablePrefetch:!0,extraParams:r.extraParamsOfCurrentEnv},r));case 5:if(!_(u=n.sent)){n.next=9;break}return n.next=9,f(u);case 9:O(e,u),Object(i.q)(e,i.e)&&(s=setTimeout((function(){j(e,Object.assign(Object.assign({},t),v(e)),r)}),m)),e.hook(p.a);case 13:case"end":return n.stop()}}),n)})))}function O(e,t){if(t){var r=t.hasMoreModules,n=t.fri,o=t.sysInfo,a=function(e,t){void 0===t&&(t={});var r=Object(i.q)(e,i.c),n=[].concat(r,t&&t.modules.map((function(e){return Object(d.h)(e)}))||{});return n.sort(),n}(e,t);Object(i.t)(e,i.m,t),Object(i.t)(e,i.e,"true"===String(r)),Object(i.t)(e,i.d,n),Object(i.t)(e,i.p,o),Object(i.t)(e,i.c,a),function(e,t){void 0===t&&(t={});var r=Object(i.q)(e,i.g),n=Object(i.q)(e,i.h),o=t,a=o.data,u=void 0===a?{}:a,c=o.traceId;Object(i.t)(e,i.g,Object.assign(Object.assign({},r),u)),Object(i.t)(e,i.h,Object.assign(Object.assign({},n),function(e,t){var r={};return Object.keys(e).forEach((function(e){r[e]=t})),r}(u,c)))}(e,t),function(e,t){void 0===t&&(t={});t=Object(d.b)(t);var r=Object(i.q)(e,i.i),n=t.modules,o=[].concat(r,void 0===n?[]:n);o.forEach((function(e,t){e&&void 0===e.index&&(e.index=t)})),Object(i.t)(e,i.i,o)}(e,t)}else Object(i.t)(e,i.e,!1)}function _(e){return void 0===e&&(e={}),e&&e.failApp&&e.failApp.length>0&&function(e){if(!Array.isArray(e)||0===e.length)return!1;for(var t=!1,r=0,n=e.length;r=2){var c=u[u.length-2].split("-");t.push("page="+c[c.length-1])}}else if(n){var s=n.hostname.split(".");t.push("business="+s[s.length-2]),t.push("page="+n.pathname)}e.appId&&t.push("resource="+e.appId);return t.join(";")}(o);if(n.H5Request){var a=r.ext_querys||{};a["x-biz-type"]="ald",a["x-biz-info"]=i,r.ext_querys=a,this.__processRequestUrl(t)}else if(n.WindVaneRequest){var u=r.ext_headers||{};u["x-biz-type"]="ald",u["x-biz-info"]=i,r.ext_headers=u,t()}else t()}else t()}catch(e){t()}};var T=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function u(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}c((n=n.apply(e,t||[])).next())}))};t.default=function(e){var t;return void 0===e&&(e={}),T(this,void 0,void 0,o.a.mark((function r(){return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=Object(d.k)(e),e=Object(d.m)(e),window.lib&&window.lib.mtop&&window.lib.mtop.middlewares&&window.lib.mtop.middlewares.push((function(t){S.call(this,e,t)})),Object(d.o)(e.mtopConfig),Object(i.s)(this),e.url=e.url||location.href,window._forceKangarooReqUrl&&(e.url=Object(d.q)(e.url||(null===(t=null===window||void 0===window?void 0:window.location)||void 0===t?void 0:t.href),window._forceKangarooReqUrl)),e=Object(d.r)(e),r.next=10,w(this,e);case 10:case"end":return r.stop()}}),r,this)})))}}]);; (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/tubes-tb-ability-pegasus-spm/tube/index", [], function(require, exports, module) {module.exports=function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="./",o(o.s=2)}([function(e,t){e.exports=require("@ali/tubes-tb-core-helper/index")},,function(e,t,o){e.exports=o(4)},,function(e,t,o){"use strict";o.r(t),o.d(t,"default",(function(){return a}));var n=o(0);var r=Object(n.once)((function(e){var t=window.goldlog_queue||(window.goldlog_queue=[]);"phone"===e&&t.push({action:"goldlog.setMetaInfo",arguments:["aplus-x-settings",{"aplus-rhost-g":"wgo.mmstat.com"}]})}));function a(){if(!this.store.get("env.isNode")){var e,t,o,n=this.store.get("pageData.pageInfo"),a=this.store.get("pageData.modules"),u=this.store.get("env.device"),s=this.store.get("env.isPha");if(!this.store.get("pageSpm.pvSent")){if(this.hook("pageSpm.beforeSend"),this.store.set("pageSpm.pvSent",!0),!0===function(e){var t=window.__disableSendSpm,o=((e||{}).customConfig||{}).disableSendSpm;return void 0!==o&&(t=!("true"!==o&&!0!==o)),!!t}(n))return;var i=n.spma,d=n.spmb,g=n.utPageName;e=i,t=d,o=document.createElement("meta"),document.getElementsByTagName("body")[0].setAttribute("data-spm",t),o.name="data-spm",o.content=e,document.getElementsByTagName("head")[0].appendChild(o),function(e){var t=window.goldlog_queue||(window.goldlog_queue=[]);e&&(t.push({action:"goldlog.setMetaInfo",arguments:["aplus-pagename",e]}),window._pageName=e)}(g),r(u),function(e,t,o){if(void 0===o&&(o=!0),e){var n=e.split(".");if(2===n.length){var r=n[0],a=n[1].split("/"),u=a[0],s=a[1]||"",i=s?u+"/"+s:u;window.$zebra&&(window.$zebra.spmb=i);var d=window.goldlog_queue||(window.goldlog_queue=[]),g=[r,i];if(window.goldlogArguments=window.goldlogArguments||{},window.goldlogArguments.setPageSPM&&(g=g.concat(window.goldlogArguments.setPageSPM)),d.push({action:"goldlog.setPageSPM",arguments:g}),o){var l={};t&&(l.pageName=t),window.goldlogArguments.sendPV&&Object.assign(l,window.goldlogArguments.sendPV),d.push({action:"goldlog.sendPV",arguments:[{is_auto:!1,page_id:s},l]})}}else console.warn("setSpm\u4f20\u5165\u53c2\u6570\u4e0d\u5408\u6cd5, \u6b63\u786e\u683c\u5f0f: a\u4f4d.b\u4f4d")}}(i+"."+d,g,!s),this.hook("pageSpm.afterSend")}var l=!1;a.forEach((function(e){e&&e.abtest&&!e.spm&&(e.spm=(e.uuid||e.moduleId)+"/"+e.abtest,l=!0)})),l&&this.store.set("pageData.modules",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/tubes-tb-ability-module-loader/tube/index", [], function(require, exports, module) {module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.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 o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));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){t.exports=r(5)},,,function(t,e,r){t.exports=r(4)},function(t,e,r){"use strict";r.r(e);var n=r(0),o=r.n(n),i=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))};function a(t){return i(this,void 0,void 0,o.a.mark((function e(){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.store.get("ssr.module"),t.store.set("moduleDefineMap",r);case 2:case"end":return e.stop()}}),e)})))}function c(t){return i(this,void 0,void 0,o.a.mark((function e(){var r,n,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.store.get("pageData.seed"),n=t.store.get("pageData.modules"),r&&u(r),e.next=5,t.module.fetchAll(n);case 5:i=e.sent,t.store.set("moduleDefineMap",i);case 7:case"end":return e.stop()}}),e)})))}function u(t){window.g_config=window.g_config||{},window.g_config.seed=t,window.require.config(window.g_config.seed)}e.default=function(){return i(this,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.hook("beforeModuleLoader"),!this.store.get("env.isNode")){t.next=6;break}a(this),t.next=8;break;case 6:return t.next=8,c(this);case 8:this.hook("afterModuleLoader");case 9:case"end":return t.stop()}}),t,this)})))}},function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof l?e:l,i=Object.create(o.prototype),a=new _(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=f(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===s)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var s={};function l(){}function h(){}function p(){}var d={};d[o]=function(){return this};var v=Object.getPrototypeOf,y=v&&v(v(E([])));y&&y!==e&&r.call(y,o)&&(d=y);var g=p.prototype=l.prototype=Object.create(d);function m(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var n;this._invoke=function(o,i){function a(){return new e((function(n,a){!function n(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(u.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function x(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=f(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}}]);; (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/tubes-tb-ability-modsplit/tube/index", [], function(require, exports, module) {module.exports=function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="./",o(o.s=2)}([,,function(e,t,o){e.exports=o(3)},function(e,t,o){"use strict";o.r(t);var n="backgroundModList",r="headerModList",i="bodyModList",l="footerModList",s={background:n,top:r,default:i,bottom:l};function u(e,t){var o=e.fullName;return t&&t[""+o]}function a(e){return e.uuid||e.moduleId||e.rmcId}function d(e,t,o,n){return o=o||0,{rowId:a(e)+"-"+o,splitResult:t,rowIndex:o,moduleInfo:e,moduleClass:n}}function c(e,t,o){var n,r=e.getModuleRowHeight;if(r&&"number"==typeof r)n=r;else if(r&&r instanceof Function)n=r(o);else{n=e.getModuleRows?300:0}var i=Number(n);return Number.isNaN(i)?(console.error("mod split row height is not a number: "+t+" "+n),0):i}var f=function(e){var t,o,s,u,d=e.type,f=e.detail;if("optCell"===d&&f){var p=this.store.get("moduleRows"),g=f.moduleId,h=f.option,m=void 0===h?{}:h,w=function(e,t){var o=null,s=null,u=null;return[i,n,r,l].some((function(n){return(e[n]||[]).some((function(e,r){return e.rowId===t+"-0"&&(o=n,s=r,u=e.moduleInfo&&e.moduleInfo.cellLength,!0)}))})),{modulePostion:o,rowPos:s,cellLength:u}}(p,g),v=w.rowPos,y=w.modulePostion,I=w.cellLength;if(null===v)return;var R=function(e,t){var o=e.rowPos,n=e.cellLength,r=t.optType,i=t.data,l=t.startPos,s=void 0===l?0:l,u=t.length,a=void 0===u?0:u,d=null,c=null,f=null;return"update"===r?(c=a>n?n:a,d=o+s,f=i):"append"===r&&(c=0,d=o+n,f=i),{spliceStart:d,spliceDeleteAmount:c,spliceInsertArr:f}}(w,m),b=R.spliceStart,M=R.spliceDeleteAmount,L=R.spliceInsertArr;if(null!==b&&null!==M&&Array.isArray(L)){var x=p[y]||[],S=x[v]||{},C=a(S.moduleInfo),$=I-M+L.length;$>0&&(S.moduleInfo.cellLength=$);var D=(t=L,s=(o=S).moduleClass,u=o.moduleInfo,t.map((function(e){return{splitResult:{rowData:e,layoutHeight:c(s,u.fullName,e)},moduleInfo:u,moduleClass:s}})));x.splice.apply(x,[b,M].concat(D));for(var P=v;P=0)){var o=u(e,M),n=a(e),r=function(e,t,o,n){var r=u(e,o),i=e.fullName;if(!r)return console.error("can't get module class define of "+i),[];t=t||{};var l=r.gSize||r.gsize,s=a(e);if(l&&l>1){var f=Object.keys(t),p=!1,g=f.filter((function(e){return"$attr"!==e&&"$config"!==e&&"$theme"!==e&&(!(e&&!Array.isArray(t[e]))||(p||(p={}),p[e]=t[e],!1))}));if(1===g.length){for(var h=g[0],m=t[h],w=[],v=0,y=0;y0)e.cellLength=r.length,(l=L[p]).push.apply(l,r);else L.emptyRowModIds.push(n);m.push(t)}})),p&&!x){p=!1;for(var S=0,C=0,$=function(e){var t=e.store.get("env.isNode"),o=e.store.get("env.isIOS"),n=o?1624:1500,r=1.2;if(t)return n*r;window.screen&&window.screen.width>0&&window.screen.height>0&&(n=Math.ceil(750/window.screen.width*window.screen.height)||n);var i=e.store.get("env.deviceLevel");return"high_end"===i?r=1.5:"low_end"===i?(n=1334,r=1):r=o?1.5:1.2,n*r}(this);S<$&&C=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(l&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),c}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e){t.exports=require("@ali/pcom-floor-title/index")},function(t,e,r){"use strict";r.r(e);var n=r(0),o=r.n(n);function i(t,e){var r=-1;return t.some((function(t,n){return!!e(t)&&(r=n,!0)})),r}function a(t,e){var r=-1;return t.forEach((function(t,n){return!!e(t)&&(r=n,!0)})),r}function l(t){return function(e){return e.elevatorid===t}}var u={handleEmptyModuleRows:function(t,e){void 0===e&&(e=[]);for(var r=Object.assign([],t),n=e.length;n>0;n--){var o=i(t,l(e[n-1]));o>=0&&r.splice(o,1)}return r},handleTitleHide:function(t,e){void 0===e&&(e={});var r=Object.assign([],t),n=!1,o=e.detail||{},i=o.moduleId,a=o.titleData;if(i){var l=(void 0===a?{}:a).elevatorid||i;r=r.filter((function(t){return l!==t.elevatorid||(n=!0,!1)}))}return[r,n]},insertTitle:function(t,e,r,n){if(void 0===t&&(t=[]),void 0===e&&(e=[]),r){var o=Object.assign([],t),l=a(t,(function(t){var e=t.sourceModuleId||t.elevatorid;return r===e}));if(l>=0){if(t[l].elevatorid===n.elevatorid)return o;o.splice(l+1,0,{elevator:n.elevator||n.floorTitle,elevatorid:n.elevatorid,sourceModuleId:r})}else{for(var u,s=0,c=i(e,(function(t){return(t.uuid||t.moduleId||t.rmcId)===r}))-1,f=function(){var r=e[c],n=r.uuid||r.moduleId||r.rmcId,o=a(t,(function(t){var e=t.sourceModuleId||t.elevatorid;return n===e}));if(o>=0)return u=o,"break"};c>=0;c--){if("break"===f())break}s=e[c]?u+1:0,o.splice(s,0,{elevator:n.elevator||n.floorTitle,elevatorid:n.elevatorid,sourceModuleId:r})}return o}return t},handleCustomTitleCreate:function(t,e,r){void 0===t&&(t=[]),void 0===e&&(e=[]),void 0===r&&(r={});var n=r.detail||{},o=n.moduleId,i=n.titleData,a=void 0===i?{}:i;return u.insertTitle(t,e,o,a)}},s=function(){},c=function(){function t(){this.allUI=[],this.moduleList=[],this.allUIRefreshAllowFlag=!0,this.inited=!1,this.bindEvent()}var e=t.prototype;return e.bindEvent=function(){var t="object"==typeof window?window.addEventListener.bind(window):s;t("hideFloorTitle",this._hideHandler.bind(this)),t("customTitleCreated",this._customTitleCreateHandler.bind(this))},e._hideHandler=function(t){if(t){var e=t.type,r=t.detail;if("hideFloorTitle"===e&&r){var n=u.handleTitleHide(this.allUI,t),o=n[0];n[1]&&(this.allUI=o,this.refreshAllUI())}}},e._customTitleCreateHandler=function(t){if(t){var e=t.type,r=t.detail;if("customTitleCreated"===e&&r){var n=u.handleCustomTitleCreate(this.allUI,this.moduleList,t);this.allUI=n,this.refreshAllUI()}}},e.initAllUI=function(t,e){void 0===e&&(e=s),this.inited||(this.allUI=t,this.setAllUIFn=e,this.inited=!0)},e.refreshAllUI=function(){var t=this;this.allUIRefreshAllowFlag&&(this.allUIRefreshAllowFlag=!1,setTimeout((function(){setTimeout((function(){"object"==typeof window&&window.dispatchEvent(new CustomEvent("onRefreshAllUI",{detail:{allUI:t.allUI}}))}),500),t.allUIRefreshAllowFlag=!0,t.setAllUIFn&&t.setAllUIFn(t.allUI)}),300))},e.eachScreenUpdate=function(t,e){var r=this;t=t||[];var n=u.handleEmptyModuleRows(this.allUI,t);return e&&(e.moduleIdList&&(this.moduleList=e.moduleIdList.map((function(t){return{uuid:t,moduleId:t}}))),e.allUIUpdates&&(e.allUIUpdates.remove&&e.allUIUpdates.remove.length&&(n=u.handleEmptyModuleRows(e.allUIUpdates.remove)),e.allUIUpdates.add&&e.allUIUpdates.add.length&&e.allUIUpdates.add.forEach((function(t){t.elevator&&t.elevatorid&&(n=u.insertTitle(n,r.moduleList,t.elevatorid,t))})))),this.allUI=n,this.refreshAllUI(),this.allUI},t}(),f=(r(5),function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function l(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,l)}u((n=n.apply(t,e||[])).next())}))}),d=new c;function h(t){var e=this.store.get("moduleRows"),r=this.store.get("floorTitle.processed")||[],n=this.store.get("moduleDefineMap")[t];["backgroundModList","headerModList","bodyModList","footerModList"].forEach((function(o){var i=[],a=[];if(e[o].forEach((function(e,o){if(0===e.rowIndex){var l=e.moduleInfo;if(!(l.settings&&"true"===String(l.settings.floorTitleEnable)&&l.settings.floorTitle))return;var u=l.uuid||l.moduleId;if(!(r.indexOf(u)>=0)){r.push(u);var s=function(t,e,r){var n=t.uuid+"-floorTitle";return{rowId:n,rowIndex:0,moduleClass:r,splitResult:{rowData:{settings:t.settings,isPlatformBuildIn:!0},layoutHeight:62},moduleInfo:{fullName:e,uuid:n,modSpec:"1.0",cellLength:1}}}(l,t,n);i.push(s),a.push(o)}}})),i.length)for(;i.length;){var l=i.pop(),u=a.pop();e[o].splice(u,0,l)}})),this.store.set("moduleRows",e),this.store.set("floorTitle.processed",r)}function v(t){return f(this,void 0,void 0,o.a.mark((function e(){var r,n,i,a,l,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.store.get("moduleDefineMap")||{},n=t.titleComponenntFullName||"@ali/pcom-floor-title",r[n]){e.next=9;break}return i=this.store.get("env.isNode"),e.next=6,this.module.fetch([{fullName:n,entry:i?"/index-es6":"/index"}]);case 6:a=e.sent,r[n]=a[n],this.store.set("moduleDefineMap",r);case 9:h.call(this,n),l=this.store.get("pageData.allUI")||[],u=this.store.get("pageData.fri")||{},s=this.store.get("moduleRows.emptyRowModIds")||[],d.inited||d.initAllUI(l),d.eachScreenUpdate(s,u),this.store.set("pageData.allUI",d.allUI);case 16:case"end":return e.stop()}}),e,this)})))}v.aum=d;e.default=v}]);; (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/pcom-driver/index", [], function(require, exports, module) {module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="./",n(n.s=2)}([function(e,t){e.exports=require("@ali/rax-pkg-universal-env/index")},function(e,t,n){"use strict";t.__esModule=!0,t.isRpx=f,t.calcRpx=l,t.getRpx=d,t.setRpx=s,t.getViewportWidth=p,t.setViewportWidth=v,t.setDecimalPixelTransformer=function(e){c=e},t.convertUnit=function(e,t,n){var r=t+"-"+e,o=m[r];n&&(r+="-"+n,u=n);return o||(e+="",m[r]=f(e)?l(e):e)};var r=n(0),o=/[-+]?\d*\.?\d+rpx/g,i="object"==typeof window?window:"object"==typeof i?i:{},u=r.isWeb?"web":r.isWeex?"weex":"",c=function(e){return parseFloat(e)*d()+"px"},a=function(e){return t=parseFloat(e)/(p()/100),n=4,r=Math.pow(10,n+1),o=Math.floor(t*r),10*Math.round(o/10)/r+"vw";var t,n,r,o};function f(e){return"string"==typeof e&&o.test(e)}function l(e){return"web"===u?e.replace(o,a):"weex"===u?e.replace(o,c):e}function d(){return i.__rpx_coefficient__}function s(e){i.__rpx_coefficient__=e}function p(){return i.__viewport_width__}function v(e){i.__viewport_width__=e}void 0===d()&&s(1),void 0===p()&&v(750);var m=Object.create(null)},function(e,t,n){e.exports=n(4)},function(e,t,n){"use strict";n.r(t),n.d(t,"warnForReplacedHydratebleElement",(function(){return r})),n.d(t,"warnForDeletedHydratableElement",(function(){return o})),n.d(t,"warnForInsertedHydratedElement",(function(){return i})),n.d(t,"warning",(function(){return u}));function r(e,t,n){0}function o(e,t){0}function i(e,t){0}var u=function(){}},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setViewportWidth",(function(){return y})),n.d(r,"setUnitPrecision",(function(){return h})),n.d(r,"setDecimalPixelTransformer",(function(){return _})),n.d(r,"setTagNamePrefix",(function(){return C})),n.d(r,"createBody",(function(){return E})),n.d(r,"createEmpty",(function(){return O})),n.d(r,"createText",(function(){return T})),n.d(r,"updateText",(function(){return A})),n.d(r,"createElement",(function(){return M})),n.d(r,"appendChild",(function(){return S})),n.d(r,"removeChild",(function(){return L})),n.d(r,"replaceChild",(function(){return P})),n.d(r,"insertAfter",(function(){return R})),n.d(r,"insertBefore",(function(){return F})),n.d(r,"addEventListener",(function(){return B})),n.d(r,"removeEventListener",(function(){return U})),n.d(r,"removeAttribute",(function(){return W})),n.d(r,"setAttribute",(function(){return I})),n.d(r,"setStyle",(function(){return D})),n.d(r,"beforeRender",(function(){return V})),n.d(r,"afterRender",(function(){return k})),n.d(r,"removeChildren",(function(){return z}));var o={};n.r(o),n.d(o,"getElementById",(function(){return oe})),n.d(o,"createBody",(function(){return ie})),n.d(o,"createComment",(function(){return ue})),n.d(o,"createEmpty",(function(){return ce})),n.d(o,"createText",(function(){return ae})),n.d(o,"updateText",(function(){return fe})),n.d(o,"createElement",(function(){return le})),n.d(o,"appendChild",(function(){return de})),n.d(o,"removeChild",(function(){return se})),n.d(o,"replaceChild",(function(){return pe})),n.d(o,"insertAfter",(function(){return ve})),n.d(o,"insertBefore",(function(){return me})),n.d(o,"addEventListener",(function(){return ye})),n.d(o,"removeEventListener",(function(){return he})),n.d(o,"removeAttribute",(function(){return _e})),n.d(o,"setAttribute",(function(){return be})),n.d(o,"setStyle",(function(){return ge})),n.d(o,"beforeRender",(function(){return xe})),n.d(o,"afterRender",(function(){return we}));var i=n(0),u=n(3),c=(u.warnForReplacedHydratebleElement,u.warnForDeletedHydratableElement,u.warnForInsertedHydratedElement,/[-+]?\d*\.?\d+(rpx)/g),a=/opa|ntw|ne[ch]|ex(?:s|g|n|p|$)|^ord|zoo|grid|orp|ows|mnc|^columns$|bs|erim|onit/i,f=/^on[A-Z]/,l="http://www.w3.org/2000/svg",d="",s=!1,p=!1,v=750,m=4;function y(e){v=e}function h(e){m=e}function _(e){e}function b(e){return t=parseFloat(e)/(v/100),n=m,r=Math.pow(10,n+1),o=Math.floor(t*r),10*Math.round(o/10)/r+"vw";var t,n,r,o}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var x=g((function(e){return t=e,c.test(t)?function(e){return e.replace(c,b)}(e):e;var t})),w=g((function(e){return e.replace(/-([a-z])/gi,(function(e,t){return t.toUpperCase()}))})),N=g((function(e){return!a.test(e)})),j=g((function(e){return f.test(e)}));function C(e){d=e}function E(){return document.body}function O(e){var t,n=e._parent;if(p){var r=H(n);if(r){if(8===r.nodeType)return r;P(t=document.createComment(""),r,n)}else(t=document.createComment("")).__a=!0}else t=document.createComment("");return t}function T(e,t){var n,r=t._parent;if(p){var o=H(r);if(o){if(3===o.nodeType)return e!==o.textContent&&(o.textContent=e),o;P(n=document.createTextNode(e),o,r)}else(n=document.createTextNode(e)).__a=!0}else n=document.createTextNode(e);return n}function A(e,t){e.textContent=t}function H(e){var t=e.childNodes;null==e.__i&&(e.__i=0);var n=t[e.__i++];return n&&8===n.nodeType&&"|"===n.data?t[e.__i++]:n}function M(e,t,n,r,o){void 0===o&&(o=!0);var i,u=n._parent;s="svg"===e||u&&u.namespaceURI===l;var c=null;function a(){if(s)i=document.createElementNS(l,e);else if(d){var t="function"==typeof t?t(e):t;i=document.createElement(t+e)}else i=document.createElement(e)}if(p)if(c=H(u))if(e===c.nodeName.toLowerCase()){for(var f=c.attributes,v=f.length;v--;){var m=f[v].name,y=t[m];if("class"===m&&null==t.className&&null==y||"style"===m&&(null==y||0===Object.keys(y).length)||"class"!==m&&"style"!==m&&null==y)c.removeAttribute(m);else if("style"===m)for(var h=c.style.length;00)for(var o=n-1;o>=r;o--)t.removeChild(t.childNodes[o]);for(var i=t.childNodes.length-1;i>=0;i--)e(t.childNodes[i])}(t),p=!1)}function z(e){e.textContent=""}var Z="true"==function(e){for(var t=window.location.search.substring(1).split("&"),n=0;n5&&($.warn("[lineHeight \u6837\u5f0f\u5f02\u5e38]\uff1a"+t.lineHeight+"\uff0c\u8bf7\u4f7f\u7528\u6807\u51c6\u7684\u884c\u9ad8\u5b9a\u4e49\u65b9\u5f0f\uff0c\u4f8b\u5982 line-height:1 \u6216\u8005 line-height: 30rpx"),t.lineHeight=t.lineHeight+"rpx"),t};function J(){return(J=Object.assign||function(e){for(var t=1;t-1||l.isWeb)throw e},n.render=function(){return this.props.children},r}(r.Component);function c(){return c=Object.assign||function(e){for(var t=1;t