(window.webpackChunkwsc_h5_shop_client=window.webpackChunkwsc_h5_shop_client||[]).push([[9095,2115,162],{56711:function(e){function t(e,t,n,o,r,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(o,r)}e.exports=function(e){return function(){var n=this,o=arguments;return new Promise((function(r,i){var a=e.apply(n,o);function s(e){t(a,r,i,s,c,"next",e)}function c(e){t(a,r,i,s,c,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},51832:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});n(2892),n(21298);var o,r=n(78984),i=(n(35276),n(6562)),a={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("van-tabs",{staticClass:"cap-tabs",class:[e.typeClass,e.thresholdClass,"cap-tabs-unique-"+e.uniqueId],attrs:{sticky:e.sticky,"offset-top":e.offsetTop,"swipe-threshold":e.threshold,color:e.color,animated:e.animated,swipeable:e.swipeable},on:{click:e.handleTabClick,change:e.handleTabChange,scroll:e.onScroll},model:{value:e.active,callback:function(t){e.active=t},expression:"active"}},[e.color?n("div",{staticStyle:{display:"none"},domProps:{innerHTML:e._s(e.colorStyleHtml)}}):e._e(),e._v(" "),e._l(e.tabs,(function(t,o){return n("van-tab",{key:o,attrs:{title:t.title}},[e._t("default",null,{tab:t})],2)}))],2)},staticRenderFns:[],name:"cap-tabs",components:(o={},o[i.default.name]=i.default,o[r.default.name]=r.default,o),props:{value:{type:Number,value:0},type:{type:Number,default:1},tabSwipeable:{type:Boolean,default:!0},swipeThreshold:{type:Number,default:4},tabs:{type:Array,default:function(){return[]}},sticky:Boolean,color:String,animated:Boolean,swipeable:Boolean,offsetTop:{type:Number,default:0}},data:function(){return{active:this.value||0,colorStyleHtml:"",uniqueId:this._uid}},computed:{typeClass:function(){return"cap-tabs--"+this.type},thresholdClass:function(){var e=this.swipeThreshold;return this.tabSwipeable?"cap-tabs--threshold-"+e+" tab-swipe-able":""},threshold:function(){var e=this.swipeThreshold;return this.tabSwipeable?e:10}},watch:{color:function(){this.setTabColor()},active:function(e){this.$emit("input",e)}},created:function(){this.color&&this.setTabColor()},methods:{handleTabClick:function(e){this.$emit("click",e)},handleTabChange:function(e){this.$emit("change",e)},onScroll:function(e){this.$emit("scroll",e)},setTabColor:function(){var e='";this.colorStyleHtml=e}}}},63657:function(e,t,n){"use strict";var o=n(95709);t.A=void 0;var r=o(n(16193)),i=o(n(18443)),a={methods:(0,r.default)({},i.default)};t.A=a},18443:function(e,t,n){"use strict";var o=n(95709);n(2008),n(95557),n(23792),n(62062),n(72712),n(15086),n(7313),n(58280),n(16034),n(31415),n(47764),n(95760),n(62953),t.__esModule=!0,t.default=void 0;var r=o(n(90162)),i=o(n(35720)),a={getHasStickyTop:function(e){var t=0,n=window.__stickyControlMap,o=void 0===n?{}:n;for(var r in o)r!==e&&(t+=+o[r].height);return t},setStickyControlCheckItem:function(e,t,n){void 0===t&&(t=0);var o=window.__stickyCheckList,i=void 0===o?[]:o,a=(0,r.default)(i,(function(t){return t.key===e}));a<0&&(i.push({key:e,weight:t}),window.__stickyCheckList=i),a>-1&&n&&(i[a]={key:e,weight:t},window.__stickyCheckList=i)},getFilterStickyCheckList:function(e,t,n){var o=(0,i.default)(e,(function(e){return e.key===t}))||{weight:0};return n?e.filter((function(e){return e.weight>o.weight})):e.filter((function(e){return e.weight=u&&r.fn.call(r.ctx,{type:"stickyTop",stickyTop:s})}}))},getStickyControl:function(){return{__stickyControlMap:window.__stickyControlMap,__stickySubscribe:window.__stickySubscribe,__stickyCheckList:window.__stickyCheckList,__willStickyComponentList:window.__willStickyComponentList,__willStickyComponentChangeSub:window.__willStickyComponentChangeSub}},setStickyControl:function(e){window.__stickyControlMap=e.__stickyControlMap,window.__stickySubscribe=e.__stickySubscribe,window.__stickyCheckList=e.__stickyCheckList,window.__willStickyComponentChangeSub=e.__willStickyComponentChangeSub,window.__willStickyComponentList=e.__willStickyComponentList},releaseStickyControl:function(){window.__stickyControlMap={},window.__stickySubscribe=[],window.__stickyCheckList=[],window.__willStickyComponentChangeSub=[],window.__willStickyComponentList=[]},releaseStickyControlMap:function(){window.__stickyControlMap={}},setWillStickyComponent:function(e){var t=e.name,n=e.type,o=e.positionTop,r=e.elementHeight,i=e.zIndex,a=window.__willStickyComponentList||[];a.some((function(e){return e.name===t}))?a.map((function(e){return e.positionTop>o?{name:t,type:n,positionTop:o,elementHeight:r,zIndex:i}:e})):(a.push({name:t,type:n,positionTop:o,elementHeight:r,zIndex:i}),window.__willStickyComponentList=a,(window.__willStickyComponentChangeSub||[]).forEach((function(e){return Object.values(e)[0]()})))},setWillStickyComponentChangeSub:function(e,t){var n,o=window.__willStickyComponentChangeSub||[];o.push(((n={})[e]=t,n));var r=new Set;window.__willStickyComponentChangeSub=o.filter((function(e){var t=Object.keys(e)[0];return!r.has(t)&&r.add(t)}))},getWillStickyComponent:function(){return window.__willStickyComponentList||[]}};t.default=a,window.__stickyControlMap=window.__stickyControlMap||{},window.__stickySubscribe=window.__stickySubscribe||[],window.__stickyCheckList=window.__stickyCheckList||[],window.__willStickyComponentChangeSub=window.__willStickyComponentChangeSub||[]},38359:function(e,t,n){var o=n(89603)(n(28310),"DataView");e.exports=o},85314:function(e,t,n){var o=n(92270),r=n(83433),i=n(66128),a=n(48148),s=n(37396);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1?s[c?t[u]:u]:void 0}}},82454:function(e,t,n){var o=n(48212),r=n(63401),i=n(96216);e.exports=function(e,t,n,a,s,c){var u=1&n,l=e.length,d=t.length;if(l!=d&&!(u&&d>l))return!1;var p=c.get(e),f=c.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,g=2&n?new o:void 0;for(c.set(e,t),c.set(t,e);++h-1&&e%1==0&&e-1}},82836:function(e,t,n){var o=n(82386);e.exports=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},16849:function(e,t,n){var o=n(85314),r=n(28674),i=n(90066);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||r),string:new o}}},91993:function(e,t,n){var o=n(24804);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},31776:function(e,t,n){var o=n(24804);e.exports=function(e){return o(this,e).get(e)}},60740:function(e,t,n){var o=n(24804);e.exports=function(e){return o(this,e).has(e)}},99908:function(e,t,n){var o=n(24804);e.exports=function(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},1950:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}},31624:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},9709:function(e,t,n){var o=n(12075);e.exports=function(e){var t=o(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},91577:function(e,t,n){var o=n(89603)(Object,"create");e.exports=o},41697:function(e,t,n){var o=n(10638)(Object.keys,Object);e.exports=o},99994:function(e,t,n){e=n.nmd(e);var o=n(71999),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,a=i&&i.exports===r&&o.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},91733:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},10638:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},28310:function(e,t,n){var o=n(71999),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},80557:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},96686:function(e){e.exports=function(e){return this.__data__.has(e)}},38716:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},6463:function(e,t,n){var o=n(28674);e.exports=function(){this.__data__=new o,this.size=0}},70395:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},6522:function(e){e.exports=function(e){return this.__data__.get(e)}},1438:function(e){e.exports=function(e){return this.__data__.has(e)}},43142:function(e,t,n){var o=n(28674),r=n(90066),i=n(53554);e.exports=function(e,t){var n=this.__data__;if(n instanceof o){var a=n.__data__;if(!r||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},31557:function(e,t,n){var o=n(9709),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=o((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,(function(e,n,o,r){t.push(o?r.replace(i,"$1"):n||e)})),t}));e.exports=a},93136:function(e,t,n){var o=n(32731);e.exports=function(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},96122:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},12537:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},58693:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},35720:function(e,t,n){var o=n(97277)(n(90162));e.exports=o},90162:function(e,t,n){var o=n(16602),r=n(40270),i=n(78034),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var c=null==n?0:i(n);return c<0&&(c=a(s+c,0)),o(e,r(t,3),c)}},72115:function(e,t,n){var o=n(98571);e.exports=function(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}},29252:function(e,t,n){var o=n(7212),r=n(97203);e.exports=function(e,t){return null!=e&&r(e,t,o)}},23421:function(e){e.exports=function(e){return e}},97579:function(e,t,n){var o=n(38355),r=n(40059),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=o(function(){return arguments}())?o:function(e){return r(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},64382:function(e){var t=Array.isArray;e.exports=t},7593:function(e,t,n){var o=n(77151),r=n(91683);e.exports=function(e){return null!=e&&r(e.length)&&!o(e)}},78069:function(e,t,n){e=n.nmd(e);var o=n(28310),r=n(27724),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?o.Buffer:void 0,c=(s?s.isBuffer:void 0)||r;e.exports=c},77151:function(e,t,n){var o=n(33963),r=n(13972);e.exports=function(e){if(!r(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},91683:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13972:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40059:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},32731:function(e,t,n){var o=n(33963),r=n(40059);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==o(e)}},72322:function(e,t,n){var o=n(77722),r=n(65404),i=n(99994),a=i&&i.isTypedArray,s=a?r(a):o;e.exports=s},3059:function(e,t,n){var o=n(55038),r=n(59579),i=n(7593);e.exports=function(e){return i(e)?o(e):r(e)}},12075:function(e,t,n){var o=n(53554);function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(r.Cache||o),n}r.Cache=o,e.exports=r},29866:function(e,t,n){var o=n(41138),r=n(26072),i=n(96379),a=n(93136);e.exports=function(e){return i(e)?o(a(e)):r(e)}},88834:function(e){e.exports=function(){return[]}},27724:function(e){e.exports=function(){return!1}},5789:function(e,t,n){var o=n(73947),r=1/0;e.exports=function(e){return e?(e=o(e))===r||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},78034:function(e,t,n){var o=n(5789);e.exports=function(e){var t=o(e),n=t%1;return t==t?n?t-n:t:0}},73947:function(e,t,n){var o=n(25179),r=n(13972),i=n(32731),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},15507:function(e,t,n){var o=n(50539);e.exports=function(e){return null==e?"":o(e)}},19967:function(e,t,n){"use strict";var o=n(95709);t.__esModule=!0,t.apiGetShopCertStatus=function(){return(0,r.default)({url:"/wscshopcore/shop-cert/getShopCertStatus.json"})};var r=o(n(11977))},10391:function(e,t,n){"use strict";var o=n(95709);t.__esModule=!0,t.default=void 0,n(96995);var r=o(n(46611)),i=n(45326);n(60006);var a={_scopeId:"data-v-3ef0ffc8",render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"cert-info"},[n("van-popup",{attrs:{value:e.show,position:"right"}},[n("img",{staticClass:"cert-info-icon",attrs:{src:"https://img01.yzcdn.cn/upload_files/2022/01/11/Fh7xp0wfuEEwuQijl6imc5OXH_Jz.png"}}),e._v(" "),n("div",{staticClass:"cert-info-text"},[n("p",{staticClass:"item"},[e._v("商家经营资质审核中")]),e._v(" "),n("p",{staticClass:"item"},[e._v("你仍可继续购买喜欢的商品")])]),e._v(" "),n("div",{staticClass:"cert-info-intro"},[n("p",{staticClass:"item"},[e._v("依据《中华人民共和国电子商务法》,店铺对外经营需完成主体认证。")]),e._v(" "),n("p",{staticClass:"item"},[e._v("店铺经营资质审核中,当前为商城预览版。")]),e._v(" "),n("p",{staticClass:"item"},[e._v("\n 如你为店铺员工,可查看\n "),n("span",{staticClass:"navigate-text",on:{click:e.onNavigate}},[e._v("认证教程")]),e._v(" 完成认证。\n ")])]),e._v(" "),n("van-button",{staticClass:"cert-info-btn",on:{click:e.onClose}},[e._v("我知道了")])],1)],1)},staticRenderFns:[],name:"cert-info-com",components:{"van-popup":r.default},props:{show:{type:Boolean,default:!1},close:{type:Function,default:function(){}},isWsc:{type:Boolean,default:!0}},data:function(){return{isShow:!1}},methods:{onClose:function(){this.$emit("close")},onNavigate:function(){var e=this.isWsc?i.HELP_URL.WSC:i.HELP_URL.RETAIL;window.open(e)}}};t.default=a},128:function(e,t,n){"use strict";var o=n(95709);t.A=void 0,n(92503);var r=o(n(46876)),i=n(32485),a=o(n(10391));n(25923);var s={_scopeId:"data-v-7b00ffd7",render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isShow?n("div",{staticClass:"cert-notice"},[n("div",{staticClass:"cert-notice-bar index__block",on:{click:e.triggerPopup}},[n("van-icon",{attrs:{name:"info-o",color:"#155BD4",size:"14"}}),e._v("\n "+e._s(e.content)+"\n "),n("van-icon",{attrs:{name:"arrow",size:"14",color:"#323233"}})],1),e._v(" "),n("cert-info-com",{attrs:{show:e.showPopup,isWsc:e.isWsc},on:{close:e.triggerPopup}})],1):e._e()},staticRenderFns:[],name:"shop-cert-notice",components:{"van-icon":r.default,"cert-info-com":a.default},data:function(){return{isShow:!1,showPopup:!1,isWsc:!0}},computed:{content:function(){return"当前为商城预览版,商家经营资质审核中。"}},created:function(){this.initCtx()},methods:{initCtx:function(){var e=this;(0,i.getShopCertInfo)().then((function(t){e.isShow=t.isShow,e.isWsc=t.isWsc}))},triggerPopup:function(){this.showPopup=!this.showPopup}}};t.A=s},45326:function(e,t){"use strict";var n,o;t.__esModule=!0,t.HELP_URL=t.SHOP_CERT_STATUS=t.LIFECYCLE_STATUS=void 0,t.LIFECYCLE_STATUS=n,function(e){e.VALID="valid",e.TRY="try",e.CLOSE="close"}(n||(t.LIFECYCLE_STATUS=n={})),t.SHOP_CERT_STATUS=o,function(e){e[e.DONE=4]="DONE",e[e.UNDO=-1]="UNDO",e[e.REJECT=5]="REJECT",e[e.FAIL=99]="FAIL"}(o||(t.SHOP_CERT_STATUS=o={}));t.HELP_URL={WSC:"https://help.youzan.com/displaylist/detail_4_4-2-604",RETAIL:"https://help.youzan.com/displaylist/detail_5_5-2-30173"}},73011:function(e,t){"use strict";t.__esModule=!0,t.LocalCache=void 0;var n=function(){function e(){}return e.isOverTime=function(t){var n=e.cacheMap.get(t);if(!n)return!0;var o=((new Date).getTime()-n.cacheTime)/1e3;return Math.abs(o)>n.timeout&&(e.cacheMap.delete(t),!0)},e.has=function(t){return!e.isOverTime(t)},e.delete=function(t){return e.cacheMap.delete(t)},e.get=function(t){return e.isOverTime(t)?null:e.cacheMap.get(t).data},e.set=function(t,n,o){void 0===o&&(o=60),e.cacheMap.set(t,{data:n,cacheTime:(new Date).getTime(),timeout:o})},e}();t.LocalCache=n,n.cacheMap=new Map},32485:function(e,t,n){"use strict";var o=n(95709);t.__esModule=!0,t.getShopCertInfo=p,t.getShopCertStatus=function(){return h.apply(this,arguments)};var r=o(n(92207)),i=o(n(56711)),a=n(19967),s=n(45326),c=n(73011),u="cert_status_key",l="cert_status_promise_key";function d(){var e=c.LocalCache.get(u);if(e)return Promise.resolve(e);var t=c.LocalCache.get(l);return t||(t=(0,a.apiGetShopCertStatus)().then((function(e){return c.LocalCache.set(u,e),e})).catch((function(e){return c.LocalCache.delete(l),Promise.reject(e)})),c.LocalCache.set(u,t)),t}function p(){return f.apply(this,arguments)}function f(){return(f=(0,i.default)(r.default.mark((function e(){var t,n,o,i,a,c,u,l;return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d();case 2:if(t=e.sent,n=t.certStatus,o=t.lifecycleStatus,i=t.validBeginTime,a=t.currentTime,c=t.isWsc,u=t.supportShopVisibleDialog,l=t.certDialogEffectiveTime,n!==s.SHOP_CERT_STATUS.DONE&&u){e.next=12;break}return e.abrupt("return",{isShow:!1,status:n});case 12:if(!(o!==s.LIFECYCLE_STATUS.VALID||a0&&void 0!==arguments[0]?arguments[0]:{},t=e.channel,n=void 0===t?"wsc":t,i=e.version,s=void 0===i?2:i,c=e.origin,u=void 0===c?"":c,l=e.kdtId,d=e.pageType,p=e.alias,f=void 0===p?"":p,h=e.fromSource,m=e.urlPrefix,g=e.target,v=void 0===g?"index":g,y=e.clientKdtId,b=+new Date,w={c:n,v:s,o:u,kdt_id:l};"goods"===d&&(0,o.default)(w,{type:d,alias:f});"fx"===n&&(0,o.default)(w,{my_kdt_id:y||""});if(h){(0,o.default)(w,{source_key:b}),h.site_id=h.site_id||void 0;var _="";try{_=JSON.stringify(h)}catch(e){_=""}_&&(0,o.default)(w,{fs:_}),"undefined"!=typeof window&&window.sessionStorage.setItem("im_from_source_"+b,_)}var x={id:l,t:b},S="";if("conversations"===v)S=a.conversations,(0,o.default)(w,{target:S});else S=a.index,(0,o.default)(w,{target:S});var k="/im?"+r.default.params(w)+"#"+S+"?"+r.default.params(x);return r.default.site(k,"wap",m?{wap:m}:void 0)};var o=i(n(65378)),r=i(n(43962));function i(e){return e&&e.__esModule?e:{default:e}}var a={index:"/",conversations:"/conversations"}},68426:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=u(n(65378)),r=u(n(61063)),i=u(n(70817)),a=u(n(74021)),s=u(n(34815)),c=u(n(72757));function u(e){return e&&e.__esModule?e:{default:e}}t.default={isTimeout:!1,beatTimeoutTimes:0,forcedClose:!1,tryAttempts:0,readyState:WebSocket.CONNECTING,defMap:{},defaults:{debug:!1,autoOpen:!0,requestChannel:"",authTpl:{version:7,reqType:7,body:{}},dropTpl:{version:7,reqType:21,body:{}},pickTpl:{version:7,reqType:22,body:{}},initTpl:{version:7,reqType:28,body:{}},waittingTpl:{version:7,reqType:23,body:{}},adminTpl:{version:7,reqType:34,body:{}},heartbeatTpl:{reqType:1},adminOnlineTpl:{version:7,reqType:43,body:{}},newReceptionTpl:{version:7,reqType:20,body:{}},talkTpl:{version:7,reqType:2,body:{}},newTalkTpl:{version:7,reqType:45,body:{}},autoServeSetTpl:{version:7,reqType:25,body:{}},autoServeCountTpl:{version:7,reqType:36,body:{}},ownTpl:{version:7,reqType:33,body:{}},historyTpl:{version:7,reqType:3,body:{}},normalTpl:{version:7,reqType:4,body:{}},lostTpl:{version:7,reqType:5,body:{}},statusTpl:{version:7,reqType:48,body:{}},unreadTpl:{version:7,reqType:12,body:{}},newTpl:{version:7,reqType:13,body:{}},readTpl:{version:7,reqType:14,body:{}},transferTpl:{version:7,reqType:49,body:{}},historyJoinTpl:{version:7,reqType:50,body:{}},addAdminTpl:{version:7,reqType:44,body:{}},dropWaitingTpl:{version:7,reqType:57,body:{}},batchDropTpl:{version:7,reqType:59,body:{}},inputingTpl:{version:7,reqType:61,body:{}},allOfflineTpl:{version:7,reqType:35,body:{}},consultationTpl:{version:7,reqType:63,body:{}},dataKey:"body",authData:{},beatInterval:5e3,beatTimeout:2e4,maxBeatTimeoutTimes:2,tryInterval:2e3,maxTryInterval:3e4,tryAccelerate:2,connectTimeout:2e3,maxTryAttempts:0},onInit:function(){},config:function(e){(0,o.default)(this.options,e)},log:function(){if(!this.options.debug)return!1;var e=["Rocket",+new Date];e=e.concat(Array.prototype.slice.call(arguments)),this.trigger("log",e)},getState:function(){return this.readyState},getReqId:function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(2)+ +new Date},open:function(e){var t=this;if(e){if(t.offEvents(),t.tryAttempts>(t.options.maxTryAttempts||0))return t.log("open","fail"),t.trigger("fail"),void t.death()}else t.tryAttempts=0;t.readyState=WebSocket.CONNECTING,t.trigger("connecting"),t.ws=new WebSocket(t.url,t.protocols||[]);var n=window.setTimeout((function(){t.isTimeout=!0,t.ws.close(4020,"Rocket Try Again Later"),t.isTimeout=!1}),t.options.connectTimeout);t.ws.onopen=function(r){clearTimeout(n),t.log("onopen",t.url),t.protocol=t.ws.protocol;var i={isReconnect:e};e=!1,(0,o.default)(r,i),t.auth(r),clearTimeout(t.beatTimer),t.heartbeat()},t.ws.onmessage=function(e){t.log("onmessage",t.url,e.data);var n={};try{n=JSON.parse(e.data)}catch(n){t.log("onmessage resp parse","error",n,e.data)}var o=n.reqId,a=n.status||0,s=n.reqType,c=t.defMap[o],u=n[t.options.dataKey];if(u=""===u||'""'===u?{}:u,(0,r.default)(u))try{u=JSON.parse(u)}catch(n){t.log("onmessage resp data parse","error",n,e.data)}return(0,r.default)(u)&&(u={msg:u}),(0===a&&s&&1===s||11===s&&!(0,i.default)(u))&&(u.user_mid=u.user_mid||0),s&&1===s?(t.checkLost(u),delete u.user_mid,t.live(),!1):s&&9===s?(t.close(4e3,"Rocket be logout"),t.trigger("quit",e),!1):s&&11===s&&!(0,i.default)(u)?(t.updateLost(u),delete u.user_mid,t.trigger("message",e,u),!1):(delete u.user_mid,void(o&&c&&(0===a?c.resfn({status:a,data:u}):c.rejfn({status:a,data:u}))))},t.ws.onclose=function(o){var r=t.options;if(clearTimeout(n),t.forcedClose)t.readyState=WebSocket.CLOSED,t.trigger("close",o);else{t.readyState=WebSocket.CONNECTING,t.trigger("connecting",o),e||t.isTimeout||(t.log("onclose",t.url),t.trigger("close",o)),t.log("onclose","tryInterval: "+r.tryInterval,"o.tryAccelerate: "+r.tryAccelerate,"maxTryInterval:",r.maxTryInterval);var i=r.tryInterval*Math.pow(r.tryAccelerate,t.tryAttempts);t.log("onclose","t1",i),i=i>r.maxTryInterval?r.maxTryInterval:i,t.log("onclose","t2",i),setTimeout((function(){t.tryAttempts++,t.log("onclose","tryAttempts: ",t.tryAttempts),t.open(!0)}),i)}},t.ws.onerror=function(e){t.log("onerror",t.url,e),t.trigger("error",e)}},offEvents:function(){if(!this.ws)return!1;this.ws.onopen=null,this.ws.onmessage=null,this.ws.onerror=null,this.ws.onclose=null},auth:function(e){var t=this;t._auth().then((function(){t.readyState=WebSocket.OPEN,t.trigger("open",e)}),(function(){t.trigger("fail",e),t.death()}))},_auth:function(){var e=(0,a.default)(this.options.authData);return this.send(e,{type:"auth"})},check:function(){var e=this;e.deathTimer=setTimeout((function(){e.beatTimeoutTimes+=1,e.log("live check",e.beatTimeoutTimes),e.beatTimeoutTimes>e.options.maxBeatTimeoutTimes&&(e.log("live check fail and refresh"),e.readyState=WebSocket.CLOSING,e.refresh())}),e.options.beatTimeout)},checkLost:function(e){if(!e.user_mid)return!1;var t=Number(e.user_mid);this.lostCurrentId0||r.expires>0?t.res(r):setTimeout((function(){o.fetchToken(e,t,n)}),1e4):this.fetchToken(e,t,n),e},detectCache:function(){try{if(window&&window.sessionStorage){var e=sessionStorage.getItem("imc-token");if(e)return this.open_token=JSON.parse(e),!0}}catch(e){return!1}return!1},setCache:function(){try{this.open_token&&window&&window.sessionStorage&&sessionStorage.setItem("imc-token",JSON.stringify(this.open_token))}catch(e){return}},fetchToken:function(e,t,n){if((0,o.default)(window,["_global","user","has_login"],!0))return this.detectCache()?this.validToken(e,t,n):this.token(e,t,n)},token:function(e,t,n){var o=this;return(0,a.default)({url:"/v3/im/api/token",method:"POST",data:n,withCredentials:!0}).then((function(r){if(!r)throw new Error("获取新token失败");o.open_token=r,o.setCache(),o.validToken(e,t,n)})).catch((function(e){}))},fetchUnread:function(e){return i.default.get("//carmen.youzan.com/api/oauthentry/youzan.message.user.unread/1.0.0/get",{params:e,withCredentials:!0})},getToken:function(){return this.open_token?this.open_token.access_token:""}};t.default=f,e.exports=t.default},69450:function(e){"use strict";var t={get:function(e,t,n){void 0===n&&(n=!0),e=e.replace(/[[]/,"\\[").replace(/[]]/,"\\]"),t=t?"?"+t.split("#")[0].split("?")[1]:window.location.search;var o=RegExp("[?&]"+e+"=([^&#]*)").exec(t);return o?n?decodeURIComponent(o[1].replace(/\+/g," ")):o[1]:""},remove:function(e,t){var n=e.split("?");if(n.length>=2){for(var o=encodeURIComponent(t)+"=",r=n[1].split("&"),i=(r=r.reduce((function(e,t){return e.concat(t.split(";"))}),[])).length;i-- >0;)-1!==r[i].lastIndexOf(o,0)&&r.splice(i,1);return e=n[0]+"?"+r.join("&")}return e},add:function(e,t){if(!e||0===e.length||0===e.trim().indexOf("javascript"))return"";var n=e.split("#"),o=n[0].split("?"),r={};return o[1]&&o[1].split("&").forEach((function(e){var t;t=e.split("="),r[t[0]]=t.slice(1).join("=")})),Object.keys(t).forEach((function(e){r[e.trim()]=encodeURIComponent(t[e])})),e=o[0]+function(e){var t="";for(var n in e)""!==e[n]&&(t+=n.trim()+"="+e[n]+"&");return t?"?"+t.slice(0,t.length-1):""}(r),n[1]?e+="#"+n[1]:e}};e.exports=t},81964:function(e,t,n){var o=n(92350)(n(65885),"DataView");e.exports=o},89341:function(e,t,n){var o=n(90944),r=n(35750),i=n(29777),a=n(70173),s=n(15317);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1}},89825:function(e){e.exports=function(e,t,n){for(var o=-1,r=null==e?0:e.length;++o=200&&(d=c,p=!1,t=new o(t));e:for(;++l0&&i(l)?n>1?e(l,n-1,i,a,s):o(s,l):a||(s[s.length]=l)}return s}},65417:function(e,t,n){var o=n(77445)();e.exports=o},66401:function(e,t,n){var o=n(65417),r=n(4542);e.exports=function(e,t){return e&&o(e,t,r)}},17678:function(e,t,n){var o=n(66697),r=n(83093);e.exports=function(e,t){for(var n=0,i=(t=o(t,e)).length;null!=e&&n=200){var m=t?null:s(e);if(m)return c(m);p=!1,l=a,h=new o}else h=t?[]:f;e:for(;++u1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&r(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++o-1&&e%1==0&&e-1}},31927:function(e,t,n){var o=n(91065);e.exports=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},29520:function(e,t,n){var o=n(89341),r=n(89567),i=n(61807);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||r),string:new o}}},93942:function(e,t,n){var o=n(2107);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},49761:function(e,t,n){var o=n(2107);e.exports=function(e){return o(this,e).get(e)}},749:function(e,t,n){var o=n(2107);e.exports=function(e){return o(this,e).has(e)}},35141:function(e,t,n){var o=n(2107);e.exports=function(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},89011:function(e,t,n){var o=n(51048);e.exports=function(e){var t=o(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},1570:function(e,t,n){var o=n(92350)(Object,"create");e.exports=o},36850:function(e,t,n){var o=n(91727)(Object.keys,Object);e.exports=o},62389:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},44073:function(e,t,n){e=n.nmd(e);var o=n(75048),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,a=i&&i.exports===r&&o.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},29702:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},91727:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},41477:function(e,t,n){var o=n(649),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=r(i.length-t,0),c=Array(s);++a0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},78092:function(e,t,n){var o=n(89567);e.exports=function(){this.__data__=new o,this.size=0}},18282:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},35941:function(e){e.exports=function(e){return this.__data__.get(e)}},23337:function(e){e.exports=function(e){return this.__data__.has(e)}},66913:function(e,t,n){var o=n(89567),r=n(61807),i=n(15149);e.exports=function(e,t){var n=this.__data__;if(n instanceof o){var a=n.__data__;if(!r||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},463:function(e){e.exports=function(e,t,n){for(var o=n-1,r=e.length;++o2?t[2]:void 0;for(u&&i(t[0],t[1],u)&&(o=1);++n-1&&e%1==0&&e<=9007199254740991}},53346:function(e,t,n){var o=n(29412),r=n(64437),i=n(44073),a=i&&i.isMap,s=a?r(a):o;e.exports=s},74509:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},71338:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},46392:function(e,t,n){var o=n(52566),r=n(64437),i=n(44073),a=i&&i.isSet,s=a?r(a):o;e.exports=s},61063:function(e,t,n){var o=n(82584),r=n(80113),i=n(71338);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==o(e)}},96890:function(e,t,n){var o=n(82584),r=n(71338);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==o(e)}},36959:function(e,t,n){var o=n(28917),r=n(64437),i=n(44073),a=i&&i.isTypedArray,s=a?r(a):o;e.exports=s},4542:function(e,t,n){var o=n(1207),r=n(96296),i=n(25006);e.exports=function(e){return i(e)?o(e):r(e)}},94057:function(e,t,n){var o=n(1207),r=n(11735),i=n(25006);e.exports=function(e){return i(e)?o(e,!0):r(e)}},51048:function(e,t,n){var o=n(15149);function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(r.Cache||o),n}r.Cache=o,e.exports=r},35774:function(e){e.exports=function(){}},92385:function(e){e.exports=function(){return[]}},87519:function(e){e.exports=function(){return!1}},99542:function(e,t,n){var o=n(94596);e.exports=function(e){return null==e?"":o(e)}},34815:function(e,t,n){var o=n(78661);e.exports=function(e){return e&&e.length?o(e):[]}},90519:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=s(n(43962)),r=s(n(93224)),i=s(n(63960)),a=s(n(37145));function s(e){return e&&e.__esModule?e:{default:e}}var c={defaultSelector:".js-im-icon",defaultUnreadClass:"service-msg",getType:function(e){return"string"==typeof e?"SELECTOR":e&&e.nodeType&&1===e.nodeType?"DOM-ELEMENT":"INVALID-TYPE"},initBot:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=o.default.getChannel(),i=t.fromSource,a=t.urlPrefix,s=t.biz,c=t.noSocketConnect;this.bot=r.default.getInstance({config:{origin:window.location.origin,version:2,channel:n,fromSource:i,urlPrefix:a},biz:s,noSocketConnect:c}),this.bot.on("im:unread",(function(t){e.refreshIcon(t)}))},init:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(this.selector=e||this.defaultSelector,this.unreadClass=t.unreadClass||this.defaultUnreadClass,this.selectorType=this.getType(this.selector),this.selectorType){case"DOM-ELEMENT":this.iconEls=[e];break;case"INVALID-TYPE":throw this.iconEls=null,new Error("selector must be a string or dom elements")}this.bodyDel=(0,i.default)(document.body),this.unbindEvents(),this.bindEvents(),this.initBot(t),this.refreshIcon()},unbindEvents:function(){this.bodyDel&&this.bodyDel.off("click",this.selector,this.onOpenImClick)},bindEvents:function(){this.bodyDel&&this.bodyDel.on("click",this.selector,this.onOpenImClick)},onOpenImClick:function(e){e.preventDefault(),c.bot&&c.bot.trigger("im:show"),c.refreshIcon()},refreshIcon:function(e){var t=this;return e=e||{unread:0},"SELECTOR"===this.selectorType&&(this.iconEls=document.querySelectorAll(this.selector)),[].forEach.call(this.iconEls,(function(n){t.toggleUnreadClass(n,e.unread>0)})),this},toggleUnreadClass:function(e,t){var n=this;if(e&&e.classList)t?e.classList.add(this.unreadClass):e.classList.remove(this.unreadClass);else if(t)e.className=a.default.uniqArray(e.className.split(" ").push(this.unreadClass)).join(" ");else{var o=a.default.uniqArray(e.className.split(" ")),r=-1;o.some((function(e,t){return e===n.unreadClass&&(r=t,!0)})),r>-1&&(o.splice(r,1),e.className=o.join(" "))}}};t.default=c,e.exports=t.default},37145:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={uniqArray:function(e){var t={},n=[];return e&&e.length&&e.forEach((function(e){t[e]||(n.push(e),t[e]=!0)})),n}},e.exports=t.default},20957:function(e){"use strict";function t(e){this.listenerMap=[{},{}],e&&this.root(e),this.handle=t.prototype.handle.bind(this)}e.exports=t,t.prototype.root=function(e){var t,n=this.listenerMap;if(this.rootElement){for(t in n[1])n[1].hasOwnProperty(t)&&this.rootElement.removeEventListener(t,this.handle,!0);for(t in n[0])n[0].hasOwnProperty(t)&&this.rootElement.removeEventListener(t,this.handle,!1)}if(!e||!e.addEventListener)return this.rootElement&&delete this.rootElement,this;for(t in this.rootElement=e,n[1])n[1].hasOwnProperty(t)&&this.rootElement.addEventListener(t,this.handle,!0);for(t in n[0])n[0].hasOwnProperty(t)&&this.rootElement.addEventListener(t,this.handle,!1);return this},t.prototype.captureForType=function(e){return-1!==["blur","error","focus","load","resize","scroll"].indexOf(e)},t.prototype.on=function(e,t,a,s){var c,u,l,d;if(!e)throw new TypeError("Invalid event type: "+e);if("function"==typeof t&&(s=a,a=t,t=null),void 0===s&&(s=this.captureForType(e)),"function"!=typeof a)throw new TypeError("Handler must be a type of Function");return c=this.rootElement,(u=this.listenerMap[s?1:0])[e]||(c&&c.addEventListener(e,this.handle,s),u[e]=[]),t?/^[a-z]+$/i.test(t)?(d=t,l=o):/^#[a-z0-9\-_]+$/i.test(t)?(d=t.slice(1),l=i):(d=t,l=n):(d=null,l=r.bind(this)),u[e].push({selector:t,handler:a,matcher:l,matcherParam:d}),this},t.prototype.off=function(e,t,n,o){var r,i,a,s,c;if("function"==typeof t&&(o=n,n=t,t=null),void 0===o)return this.off(e,t,n,!0),this.off(e,t,n,!1),this;if(a=this.listenerMap[o?1:0],!e){for(c in a)a.hasOwnProperty(c)&&this.off(c,t,n);return this}if(!(s=a[e])||!s.length)return this;for(r=s.length-1;r>=0;r--)i=s[r],t&&t!==i.selector||n&&n!==i.handler||s.splice(r,1);return s.length||(delete a[e],this.rootElement&&this.rootElement.removeEventListener(e,this.handle,o)),this},t.prototype.handle=function(e){var t,n,o,r,i,a,s=e.type,c=[],u="ftLabsDelegateIgnore";if(!0!==e[u]){switch(3===(a=e.target).nodeType&&(a=a.parentNode),o=this.rootElement,e.eventPhase||(e.target!==e.currentTarget?3:2)){case 1:c=this.listenerMap[1][s];break;case 2:this.listenerMap[0]&&this.listenerMap[0][s]&&(c=c.concat(this.listenerMap[0][s])),this.listenerMap[1]&&this.listenerMap[1][s]&&(c=c.concat(this.listenerMap[1][s]));break;case 3:c=this.listenerMap[0][s]}for(n=c.length;a&&n;){for(t=0;t-1}},96512:function(e){e.exports=function(e,t,n){for(var o=-1,r=null==e?0:e.length;++o0&&i(l)?n>1?e(l,n-1,i,a,s):o(s,l):a||(s[s.length]=l)}return s}},83127:function(e,t,n){var o=n(18002),r=n(5828);e.exports=function(e,t){for(var n=0,i=(t=o(t,e)).length;null!=e&&n=200){var m=t?null:s(e);if(m)return c(m);p=!1,l=a,h=new o}else h=t?[]:f;e:for(;++ul))return!1;var p=c.get(e),f=c.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,g=2&n?new o:void 0;for(c.set(e,t),c.set(t,e);++h-1&&e%1==0&&e-1}},93184:function(e,t,n){var o=n(25702);e.exports=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},30221:function(e,t,n){var o=n(23542),r=n(97782),i=n(53046);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||r),string:new o}}},89965:function(e,t,n){var o=n(46440);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},26100:function(e,t,n){var o=n(46440);e.exports=function(e){return o(this,e).get(e)}},80864:function(e,t,n){var o=n(46440);e.exports=function(e){return o(this,e).has(e)}},54832:function(e,t,n){var o=n(46440);e.exports=function(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},9370:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}},31308:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},25038:function(e,t,n){var o=n(62847);e.exports=function(e){var t=o(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},19074:function(e,t,n){var o=n(86039)(Object,"create");e.exports=o},90509:function(e,t,n){var o=n(50442)(Object.keys,Object);e.exports=o},79062:function(e,t,n){e=n.nmd(e);var o=n(89083),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,a=i&&i.exports===r&&o.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},49625:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},50442:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},15366:function(e,t,n){var o=n(2620),r=Math.max;e.exports=function(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=r(i.length-t,0),c=Array(s);++a0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},72939:function(e,t,n){var o=n(97782);e.exports=function(){this.__data__=new o,this.size=0}},19567:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},1150:function(e){e.exports=function(e){return this.__data__.get(e)}},22570:function(e){e.exports=function(e){return this.__data__.has(e)}},52402:function(e,t,n){var o=n(97782),r=n(53046),i=n(56550);e.exports=function(e,t){var n=this.__data__;if(n instanceof o){var a=n.__data__;if(!r||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},97014:function(e){e.exports=function(e,t,n){for(var o=n-1,r=e.length;++o-1&&e%1==0&&e<=9007199254740991}},98032:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},65383:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},38711:function(e,t,n){var o=n(52159),r=n(65383);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==o(e)}},84430:function(e,t,n){var o=n(33838),r=n(7360),i=n(79062),a=i&&i.isTypedArray,s=a?r(a):o;e.exports=s},37743:function(e,t,n){var o=n(36578),r=n(33231),i=n(88005);e.exports=function(e){return i(e)?o(e):r(e)}},14547:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},62847:function(e,t,n){var o=n(56550);function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(r.Cache||o),n}r.Cache=o,e.exports=r},75171:function(e){e.exports=function(){}},29158:function(e,t,n){var o=n(82438),r=n(92436),i=n(23151),a=n(5828);e.exports=function(e){return i(e)?o(a(e)):r(e)}},6126:function(e){e.exports=function(){return[]}},496:function(e){e.exports=function(){return!1}},80223:function(e,t,n){var o=n(31199);e.exports=function(e){return null==e?"":o(e)}},1689:function(e,t,n){var o=n(43109),r=n(84738),i=n(47165),a=n(10802),s=n(89338),c=n(14547),u=i((function(e){var t=c(e);return s(t)&&(t=void 0),a(o(e,1,s,!0),r(t,2))}));e.exports=u},5529:function(e,t,n){"use strict";n.d(t,{W3:function(){return p},ji:function(){return d},pU:function(){return a},yS:function(){return u}});var o="_ranta_unlisteners";function r(e,t){var n;e[o]=e[o]||[],e.$once?e.$once("hook:destroyed",(function(){t.forEach((function(e){return e()}))})):(n=e[o]).push.apply(n,t)}function i(e,t,n){e._isRantaWeapp&&!(null==n?void 0:n.setSelf)?e.setYZData?e.setYZData(t):e.setData(t):Object.assign(e,t)}var a=function(e,t,n){if(!e.ctx)throw new Error("mapData 参数 this 上缺少必要的属性: ctx ");var o=n||{},a=o.callback,s=o.isActiveWhenBack,c=o.isSetData,u=void 0===c||c,l=[];l=Array.isArray(t)?t.map((function(t){var n;return null===(n=e.ctx)||void 0===n?void 0:n.watch(t,(function(n){var o;u&&i(e,((o={})[t]=n,o)),null==a||a.bind(e)(t,n)}),{isActiveWhenBack:s})})):Object.keys(t).map((function(n){var o;return null===(o=e.ctx)||void 0===o?void 0:o.watch(n,(function(o){var r,a;u&&i(e,((r={})[n]=o,r)),null===(a=t[n])||void 0===a||a.bind(e)(o,n)}),{isActiveWhenBack:s})})),r(e,l)},s=Symbol.for("module/meta"),c="bridge";function u(e,t){return function(n,o){var r;!n[s]&&(n[s]={}),n[s][o]=Object.assign(n[s][o]||{},((r={})[c]=[e,t],r))}}Symbol.for("module/event");var l=Symbol.for("module/hook"),d=function(){return l},p=function(e,t){if(!e.ctx)throw new Error("mapProcess 参数 this 上缺少必要的属性: ctx ");var n=[];Object.keys(t).forEach((function(o){var r,i=t[o];i instanceof Function&&(null===(r=e.ctx)||void 0===r||r.process.define(o,i),n.push((function(){var t;return null===(t=e.ctx)||void 0===t?void 0:t.process.undef(o,i)})))})),r(e,n)}},6330:function(e,t,n){"use strict";n.d(t,{_i:function(){return U}});n(58280),n(29428),n(62062),n(23792),n(47764),n(62953),n(34782),n(95557),n(95760),n(48598);var o=n(61163),r=n.n(o),i=(n(81626),n(88431),n(66006),n(72712),n(7313),n(91848)),a=(n(28706),n(16034),n(39719),n(86979),n(73772),n(83851),n(40875),n(81278),n(33744),n(15086),n(8921),n(52675),n(89463),{High:"High",Unsafe:"Unsafe",Strict:"Strict"}),s=0;function c(e){return"function"==typeof e}function u(e){return["script","iframe"].map((function(e){return"<"+e})).every((function(t){return-1===e.indexOf(t)}))}function l(e){return"IFRAME"===e.tagName}function d(e,t){return Object.keys(e).reduce((function(n,o){return n[o]=t(e[o]),n}),{})}function p(e,t){return void 0===t&&(t=[]),e.childNodes&&e.childNodes.forEach((function(e){t.push(e),p(e,t)})),t}var f={createContext:function(e){return e},runInContext:function(e,t){return new Function("ctx","return "+e)(t)}};function h(e){return-1!==e.indexOf(".")}function m(e,t){return e.split(" ").map((function(e){return t+e})).join(" ")}function g(e){for(var t=[],n="",o=0,r=0;r",widget:{default:"Main",provide:["Main"]},data:{consume:{offlineId:["r"],themeVars:["r"],containerStyle:["r","w"],multistore:["r","w"],kdtId:["r","w"],pointsConfig:["r","w"],themeTag:["r","w"],goods:["r"],sku:["r"],skuConfig:["r"],initialSkuId:["r"]},provide:{goodsAttributes:["r","w"],goodsCombineInfoBizSku:["r"]}},process:{invoke:["sku:beforeAddCartAsync","sku:beforeBuyAsync","sku:afterBuyAsync","sku:selectData","sku:setData","sku:getPayload"],define:["sku:selectData","beforeFormatSku","sku:setData","sku:getPayload"]},event:{listen:["sku:show","sku:addCart","sku:afterAddCart","sku:afterBuy","sku:independentShow","time:clickSkuButton"],emit:["sku:preview","submit:act","deco-sku:hide"]}},{name:"@wsc-tee-decorate/jump-link",version:"local",platform:["weapp","web"],displayName:"公用跳转逻辑",description:"公用跳转逻辑",extensionId:"@wsc-tee-decorate/jump-link",pathInBundle:"@wsc-tee-decorate/jump-link",widget:{default:"Main"},lambda:{provide:["jumpToLink"]},process:{define:["jumpToLink"]}},{name:"@ext-tee-wsc-decorate/page-style",extensionId:"@ext-tee-wsc-decorate/page-style",displayName:"页面风格",description:"接收page-style插槽样式配置数据,挂载CSS变量",version:"local",pathInBundle:"page-style",platform:["web","weapp"],bundle:"",data:{consume:{themeIcon:["r"],themeCSS:["r"],appStyleConfig:["r"]},provide:{pageStyleCSS:["r","w"],pageStyleConfig:["r","w"]}},widget:{default:"Main"},lambda:{consume:["objectToCSS"]}},{name:"@wsc-tee-decorate/floating-nav",version:"local",platform:["weapp","web"],displayName:"悬浮窗",description:"悬浮窗",extensionId:"@wsc-tee-decorate/floating-nav",pathInBundle:"@wsc-tee-decorate/floating-nav",widget:{default:"Main",provide:["FloatingNavBg","SubItem"],consume:["LivePopup","FloatingNavBg","SubItem"]},lifecycle:["onPullDownRefresh","onPageScroll"],data:{consume:{openFloatGoods:["r"],kdtId:["r"],shopMetaInfo:["r"],seActivity:["r"],shopInfo:["r","w"],imSourceDetail:["r","w"],alias:["r","w"],isShowFloatingNav:["r"],addBaseHeight:["r","w"],tableBooking:["r"]},provide:{hasGoodsShowcase:["r"]}},component:{consume:["MessageContactButton"]},event:{emit:["share:show","goods:showcase","floating:nav:update:position","live:popup:show","floating:nav:wish:show","floating:nav:init"],listen:["submit:act","wish:state:change"]},lambda:{consume:["checkIsHalfScreen","checkIsOpenByLiveBag","jumpToLink"]},process:{define:["createOrUpdateIndependentIcon"]}},{name:"@ext-tee-wsc-goods/goods-showcase",version:"local",platform:["web","weapp"],displayName:"商品橱窗弹窗",description:"装载商品详情的周边Popup控件,支持异步渲染",extensionId:"@ext-tee-wsc-goods/goods-showcase",data:{provide:{openFloatGoods:["r","w"]},consume:{kdtId:["r"],themeVars:["r"],offlineId:["r"],buyerId:["r"],shopMetaInfo:["r"],hasGoodsShowcase:["r"],goodsShocase:["r"]}},widget:{default:"GoodsShowcase"},event:{listen:["goods:showcase"]}},{name:"@wsc-tee-decorate/feature-user-authorize-popup",version:"local",platform:["weapp"],displayName:"中文名",description:"描述信息",extensionId:"@wsc-tee-decorate/feature-user-authorize-popup",pathInBundle:"@wsc-tee-decorate/feature-user-authorize-popup",widget:{default:"Main",consume:["UserAuthorizePopup"]}},{name:"@ext-tee-user/fast-join-sdk",version:"local",platform:["weapp","web"],displayName:"快速入会",description:"描述信息",extensionId:"@ext-tee-user/fast-join-sdk",pathInBundle:"@ext-tee-user/fast-join-sdk",widget:{default:"Main",provide:["FastJoinHeader","CloudFastJoin","Main"],consume:["FastJoinHeader","UserAuthorizePopup","FastJoin"]},data:{consume:{kdtId:["r"],userInfo:["r"],shopInfo:["r"]},provide:{fastJoinHeaderInfo:["r","w"]}},process:{invoke:["launchFastJoinSDK"],define:["launchFastJoinSDK"]}},{name:"@ext-tee-user/member-config",extensionId:"@ext-tee-user/member-config",version:"local",pathInBundle:"member-config",platform:["web","weapp"],bundle:"",data:{provide:{memberConfig:["r","w"]}},process:{define:["getMemberConfig"]}},{name:"@wsc-tee-shop/footer",extensionId:"@wsc-tee-shop/footer",version:"local",pathInBundle:"footer",bundle:"",platform:["ant","weapp","qq","web"],data:{consume:{kdtId:["r"],buyerId:["r"],isShowStoreInfo:["r"],pageBgColor:["r"],miniprogram:["r"],pageStyleConfig:["r"]},provide:{footerData:["w","r"]}},event:{emit:["fullguide:show"]},widget:{provide:["Main"],default:"Main"}},{name:"@wsc-h5-shop/fixed-bottom-filler-space",extensionId:"@wsc-h5-shop/fixed-bottom-filler-space",framework:"vue",data:{consume:{footerData:["r","w"]}},event:{},process:{},widget:{default:"Main",provide:["Main"]},version:"local"},{name:"@wsc-h5-shop/web-feature-pop-container",extensionId:"@wsc-h5-shop/web-feature-pop-container",framework:"vue",data:{consume:{},provide:{}},event:{listen:[],emit:[]},process:{},widget:{default:"Main",provide:["Main"],consume:["DialogContent"]},version:"local"},{platform:["weapp","web","ant","qq"],name:"@ext-tee-wsc-goods/independent-sku",extensionId:"@ext-tee-wsc-goods/independent-sku",version:"local",description:"sku管理",bundle:"",widget:{default:"Main",provide:["Main"],consume:["bizSkuManage","SkuOrderCorePopup"]},data:{consume:{offlineId:["r"],multistore:["r","w"],kdtId:["r","w"],shopConfig:["r","w"],isRetailShelfPage:["r"],themeVars:["r"],orderSkuShow:["r"],memberConfig:["r"]},provide:{goodsCombineInfoBizSku:["r"],goods:["r"],sku:["r"],skuConfig:["r"],skuShopConfig:["r"],supportSkuDirectOrder:["r"],yzGuarantee:["r"],sellingPointOpt:["r"],goodsActivity:["r"],distribution:["r"],serviceDescList:["r"],isSkuRetailShop:["r"],isSkuChainStore:["r"],initialSkuId:["r"]}},process:{define:["sku:show-process"],invoke:["sku:beforeAddCartAsync","sku:beforeBuyAsync","sku:afterBuyAsync","beforeFormatSku","sku:createBook","launchFastJoinSDK"]},event:{listen:["sku:show","sku:addCart","submit:act","sku:refresh"],emit:["sku:preview","sku:hide","sku:independentShow","sku:afterAddCart","sku:afterBuy","time:clickSkuButton"]}},{name:"@ext-tee-wsc-goods/sku-order-core",version:"local",platform:["weapp","web"],lifecycle:["pageDestroyed","onPageShow","beforePageMount"],displayName:"中文名",description:"描述信息",extensionId:"@ext-tee-wsc-goods/sku-order-core",pathInBundle:"@ext-tee-wsc-goods/sku-order-core",widget:{default:"Main",provide:["ServiceCashierBlock","SkuOrderCoreMain","SkuOrderHeaderBlock","SkuOrderGoodsBlock","SkuOrderSubmitBlock","SkuOrderServiceBlock","SkuOrderAddressBlock","SkuOrderPopupBlock","AddressDeliveryBlock","AddressContactBlock","SubmitDiscountCell","SubmitDiscountDetail","SkuOrderAddressPopup","SkuOrderAddressList","GoodsMessageDatePicker","SkuOrderGoodsExtraBlock","SkuOrderExtraBlock","AddressFixedBlock","SkuOrderGoodsHeaderBlock","AddressContainer","SkuOrderFooterBlock","SkuContactCell","SkuSelfFetchCell","RetailSelfFetchSecondConfirm","SkuOrderMemberGuideBlock"],consume:["CouponCell","ActivityCell","Cashier","ContactList","ActivityDialog","ServiceCashierBlock","SkuOrderPayBtn","TradeBuyPrivacyBill","SkuOrderHeaderBlock","SkuOrderGoodsBlock","SkuOrderSubmitBlock","SkuOrderServiceBlock","SkuOrderAddressBlock","SkuOrderPopupBlock","AddressDeliveryBlock","AddressContactBlock","SubmitDiscountCell","SubmitDiscountDetail","TradeBuyUmpBlock","CouponList","TradeBuyServiceBlock","YzGuaranteeForSkuOrder","MembershipDialog","InvoiceActionSheet","PrepayCardPopup","SingleRowChannelListPopup","PointDeductionPopup","RechargeGiftPack","TradeCarousel","SkuOrderAddressPopup","SkuOrderAddressList","WechatAddress","WxAddress","SelfFetchList","TimePicker","DeliveryScopePopup","GoodsMessageDatePicker","SkuOrderGoodsExtraBlock","SkuOrderExtraBlock","PointWarnPopup","AddressFixedBlock","SingleRowPayPasser","AgreeDetailPopup","SkuOrderGoodsHeaderBlock","AddressContainer","SkuOrderFooterBlock","SingleRowCopyLink","SingleRowDialog","PickUpWay","WaitingProcess","SelfFetchShopSecondConfirmDialog","GetPhoneButton","SkuContactCell","SkuSelfFetchCell","RetailSelfFetchSecondConfirm","SkuOrderMemberGuideBlock"]},component:{consume:["PrivacyBillRulePopup"]},lambda:{provide:["getHashQuery"],consume:["onEvent","setDb","offEvent","triggerEvent"]},data:{provide:{goodsType:["r"],skuPayChannel:["r","w"],excludePayTools:["r","w"],weappPaySuccessPath:["r","w"],lockState:["r","w"],prepareLoading:["r","w"],orderSkuShow:["r"],isSkuOrderScene:["r"]},consume:{kdtId:["r"],themeVars:["r"],themeTag:["r"],payChannels:["r"],skuHeight:["r"],goodsBaseInfo:["r"],userInfo:["r"],prepareData:["r"],confirmData:["r"],orderResult:["r"],orderCreation:["r"],tradeTag:["r"],display:["r"],goods:["r"],sku:["r"],skuData:["r"],skuGoods:["r"],multiSkuDecision:["r"],skuConfig:["r"],pointsConfig:["r"],pay:["r"],address:["r"],contact:["r"],order:["r"],supportSkuDirectOrder:["r"],appId:["r"],sellingPointOpt:["r"],themeColors:["r"],currentAddress:["r"],currentContact:["r"],orderFinalPrice:["r"],orderCreated:["r"],goodsSkuData:["r"],umpBlockBase:["r"],payRechargeInfo:["r"],postage:["r"],yzGuarantee:["r"],invoice:["r"],forcePoiSelect:["r"],serviceDescList:["r"],ranking:["r"],showGoodsRanking:["r"],selfFetch:["r"],delivery:["r"],showPoiPrompt:["r"],expressType:["r"],periodBuy:["r"],points:["r"],pointsName:["r"],isChoosedCard:["r"],guaranteeData:["r"],goodsActivity:["r"],rewardModel:["r"],distribution:["r"],goodsMetaInfo:["r"],extra:["r"],valueCard:["r"],themeType:["r"],pageKey:["r"],shopConfig:["r"],shopMetaInfo:["r"],isSupportEstimated:["r"],idcard:["r"],isHouseNumberRequired:["r"],isShowForcePoiSelectAddress:["r"],prepayCardAvailable:["r"],memberConfig:["r"],retailSelfFetchContact:["r"],retailPickUpWays:["r"],isRetailOrderScene:["r"],isRetailShelfPage:["r"],isSkuRetailShop:["r"],shelfSkuDefaultOptions:["r"],retailPickUpWayValue:["r"],initialSkuId:["r"]}},event:{emit:["skuOrder:hide","skuOrder:reset","submit:act","sku:preview","sku:refresh","skuOrder:selected","check:meituanCoupons","showDeliveryScopePopup"],listen:["skuBookkey:finish","goodsBook:load","onCouponChange","skuOrder:show","onConfirmOrder","onPrepareByBookKey","skuOrder:hide","triggerChangeAddressPopupShow","trade-buy-core:validate-effect"]},process:{define:["goToOrderSubPage","onPaySuccess","goToPayFail","submitOrderAfterRisk","modifyCreateOrderOrderMark","validateSkuComb","submitOrder","afterFetchShow","afterFetchShowError","handleEmptySku","getKdtIdChange","beforeShowRecharge","beforeCreateGoodsBook"],invoke:["createOrder","goToOrderSubPage","onPaySuccess","goToPayFail","prepareByBookKey","confirmOrder","mutateState","selectContact","selectAddress","setOrderMessage","updateContactState","deleteContact","deleteAddress","updateAddressState","validateSkuComb","checkOrderPay","startPay","resetTradeBuyCore","selectExpressType","getLocation","setSelfFetch","switchAddressTab","handleEmptySku","getKdtIdChange","beforeSubmitOrder","selectRetailContact","sku:create-book","destroyConfirm","setRetailDeliveryInitDate","launchFastJoinSDK"]}},{extensionId:"@wsc-tee-trade/trade-buy-contact-page",name:"@wsc-tee-trade/trade-buy-contact-page",bundle:"",widget:{default:"Main",provide:["GetPhoneButton","Main"],consume:["UserAuthorize","GetPhoneButton"]},process:{invoke:["goToH5SubPage"]},data:{consume:{themeColors:["r"],themeVars:["r"],kdtId:["r"]}},lambda:{consume:["getDb","triggerEvent","getHashQuery"]},version:"local",platform:["weapp","web"]},{name:"@wsc-tee-trade/trade-buy-core",version:"local",platform:["web","weapp"],lifecycle:["pageDestroyed"],displayName:"中文名",description:"描述信息",extensionId:"@wsc-tee-trade/trade-buy-core",pathInBundle:"@wsc-tee-trade/trade-buy-core",widget:{default:"Main",provide:["QueueMain"],consume:["QueueMain"]},lambda:{provide:["validateIdCard"]},data:{provide:{retailLoading:["r","w"],coreReady:["r"],orderNo:["r","w"],orderNos:["r","w"],limitOrder:["r","w"],asyncOrder:["r","w"],orderCreation:["r","w"],state:["r","w"],contact:["r"],prepareData:["r"],confirmData:["r"],address:["r","w"],expressType:["r"],display:["r"],tradeTag:["r"],groupon:["r"],env:["r"],currentAddress:["r"],currentContact:["r"],selfFetchTime:["r"],receiveByGroupHeader:["r"],addressEditable:["r"],postage:["r"],goods:["r"],delivery:["r"],dine:["w","r"],pickUpWay:["w","r"],invoice:["r"],order:["r"],customerCards:["r"],unavailableCustomerCards:["r"],displayCard:["r"],displayFreeCard:["r"],orderCreated:["r"],showPoiPrompt:["r"],forcePoiSelect:["r"],shop:["r"],extra:["r"],valueCard:["r"],rechargeFreeOrderRule:["r"],periodBuy:["r"],memberCard:["r"],pointDeduction:["r"],pointsName:["r"],points:["r"],pay:["r"],fansBenefit:["r"],hasHaitaoGoods:["r"],idcard:["r"],ignoreIdBinding:["r"],storeGiftsInfo:["r"],dataLoaded:["r"],isChoosedCard:["r"],guaranteeOrderInfo:["r"],isOrderPage:["r"],guaranteeFreightBarPaddingConfig:["r"],useBeforePayData:["r"],guarantee:["r"],shopConfig:["r"],hotel:["r"],allMeetReduceActivities:["r"],showWxSubscribe:["r"],sellingPoint:["r"],appEnv:["r"],selfFetch:["r"],orderKeepApply:["r"],payAssetActivityTagDesc:["r"],shopStoredDiscountInfo:["r"],useStoredCustomerDiscount:["r"],useStoreBalancePayInFull:["r"],useStoredMemberCustomerDiscount:["r"],recommendDetaid:["r"],drugMessage:["r"],isPrescriptionDrugGoods:["r"],enableUseOrderBehaviorParam:["r"],enableUseUserAuthorize:["r"],isDrugShop:["r"],orderPaid:["r"],isScanCodeBuy:["r"],bookKey:["r"],payUmpDiscountMoney:["r"],totalPrice:["r"],isDepositPresale:["r"],prepayCardAvailable:["r"],prepayCardAvailableExclusion:["r"],prepayCardTotalAmount:["r"],couponDecrease:["r"],valueCardDecrease:["r"],prepayCardDecrease:["r"],couponDecreasedPhasePayment:["r"],finalPrice:["r"],finalNeedPayPrice:["r"],haitaoZeroOrder:["r"],orderFinalPrice:["r"],showDisplayCardPrice:["r"],balanceMkExclusion:["r"],isExistDiscountExcludePrePayCard:["r"],asyncOrderUnLimitCode:["r"],meituanCoupons:["r","w"],orderResult:["r"],umpBlockBase:["r"],openOrderPageRetention:["r"],couponDecreasedPrice:["r"],isShowForcePoiSelectAddress:["r"],isHouseNumberRequired:["r"],monitorLoggerFilterCode:["r"],confirmAddressValidate:["r"]},consume:{grouponModel:["r"],couponModel:["r"],yzGuarantee:["r"],yzGuaranteeInfo:["r"],yzGuaranteeDocs:["r"],kdtId:["r"],presentData:["r"],themeColors:["r"],isTTVerifyScene:["r"],payRechargeInfo:["r"],orderedChosenCoupons:["r"],isRetailOrderScene:["r"],isSkuOrderScene:["r"],retailSelfFetchContact:["r"],retailPickUpWayValue:["r"],isRetailShelfPage:["r"],shopInfo:["r"],retailPickUpWays:["r"]}},event:{emit:["onPrepareByBookKey","onCreateOrder","onConfirmOrder","follow:show","trade-buy-core:validate-effect"],listen:["trade-recharge:on-close","trade-recharge:on-select","recharge-free-order:on-confirm"]},process:{invoke:["genCreateParams","genConfirmParams","genPrepareByBookKeyParams","hook:afterPrepareByBookKey","hook:afterPrepareByBookKeyError","hook:beforeFetchShow","hook:afterFetchShow","hook:afterFetchShowError","hook:beforeCreateOrder","hook:afterCreateOrder","hook:afterCreateOrderError","hook:afterPrepay","confirmOrder","submitOrderAfterRisk","hook:beforeUpdateAddress","hook:mutateStateAfterFetch","handleAfterCreateOrderParallel","onExpressChanged","freeOrderJumpToResult","doRecharge","saveContact","showPrePayCardRecharge","onPaySuccess","submitOrder","createPrepay","setCustomCard","updateContactState"],define:["mutateState","prepareByBookKey","createOrder","confirmOrder","createPrepay","switchAddressTab","setSelfFetch","selectContact","selectAddress","setNewContact","selectExpressType","setSelfFetchTime","setPeriodBuyChosenIndex","setPointDeductionUsed","setPointDeductionCost","setCustomCard","setDisplayCard","setOrderMessage","setOrderPrivacyBill","setInvoiceSubmit","setVerifyFail","updateAddress","addAddress","setAddressId","deleteAddress","setIdcard","setPrepayCardCheckStatus","setDisableStoredDiscount","setOrderForbidCoupon","setOrderForbidPreference","getDeliveryParam","updateAddressState","setDepositAgreement","fetchPromotion","modifyCacheOrder","setUmpActivity","setUmpActivityState","setBestActivity","setIgnoreVirtualCoupon","handlePrepareDefaultError","saveContact","checkOrderPay","updateByCrossStoreSelfFetchCache","updateContactState","deleteContact","resetTradeBuyCore","destroyConfirm","handleRechargePay"]}},{extensionId:"@assets-tee-extensions/cashier-pre",name:"@assets-tee-extensions/cashier-pre",pathInBundle:"cashier-pre",bundle:"",widget:{provide:["SingleRow","CellGroup","SingleRowChannelListPopup","SingleRowPayPasser","SingleRowCopyLink","SingleRowDialog"],consume:[]},data:{provide:{preferredPayChannel:["r","w"],prePayFilteredChannels:["r","w"],prePayInstalment:["r","w"],prePaySelected:["r","w"],computedHeight:["r","w"],prePayShowList:["r","w"],prePayShowPayPasser:["r","w"],prePayPass:["r","w"],prePayShowCopyLink:["r","w"],prePayCopiedLink:["r","w"],prePayShowDialog:["r","w"],prePayDialogOptions:["r","w"],prePayCopiedExtra:["r","w"]},consume:{amount:["r"],biz:["r"],mobile:["r"],traceId:["r"],themeColors:["r"],excludePayChannels:["r"],bizExt:["r"],viewportMargins:["r"],themeTag:["r"]}},process:{define:["pay","requestOrderPayment"],invoke:["onPaySuccessSync","getIsSyncOrder","onPayItemClick"]},event:{emit:["cashier:change","cashier:pay:success","cashier:pay:fail","cashier:viewport:in","cashier:viewport:out","cashier:ready","onPrePayChannelChange","onPrePayCloseList","onPrePayPassForget","onPrePayPassUpdate","onPrePayPassCheck","onPrePayPassClose","onPrePayCloseCopyLink","onPrePayCopy","onPrePayCloseDialog","onPrePayDialogConfirm","onPrePayDialogCancel"],listen:["onPrePayChannelChange","onPrePayCloseList","onPrePayPassForget","onPrePayPassUpdate","onPrePayPassCheck","onPrePayPassClose","onPrePayCloseCopyLink","onPrePayCopy","onPrePayCloseDialog","onPrePayDialogConfirm","onPrePayDialogCancel"]},version:"local",platform:["weapp","web","ant"]},{extensionId:"@wsc-tee-trade/trade-buy-pay-view",name:"@wsc-tee-trade/trade-buy-pay-view",bundle:"",widget:{default:"Main",provide:["Installment","Main"]},data:{consume:{tradeTag:["r"],shop:["r"],display:["r"],state:["r"],appId:["r"],useBeforePayData:["r"],prepareData:["r"],confirmData:["r"],order:["r"],orderFinalPrice:["r"],preferredPayChannel:["r","w"],goods:["r"],orderNo:["r"],periodBuy:["r"],isPeriodBuy:["r"],yzGuaranteeInfo:["r"],buyButtonClickTime:["r"]},provide:{biz:["r"],quickMode:["r"],isPreCashierPay:["r"],excludePayTools:["r"],buyerPhone:["r"],buyerId:["r"],orderAmount:["r"],preCashierChannel:["r"],bizExt:["r"],isPriorUseChosen:["r"]}},event:{listen:["preCashier:pay:success","preCashier:pay:fail","cashier:pay:success","cashier:pay:fail","cashier:close","cashier:opened","cashier:change"]},process:{define:["startPay","onPaySuccessSync","queryPayChannels","doPay","handlePayAfterCreateOrder","handleBeforePay","onPayItemClick"],invoke:["startPay","showSubscription","queryPayChannels","doPay","startPay_preCashier","mutateState"]},version:"local",platform:["weapp","web"]},{extensionId:"@assets-tee-extensions/cashier",name:"@assets-tee-extensions/cashier",pathInBundle:"cashier",bundle:"",widget:{default:"Main",provide:[],consume:["UserAuthorize"]},data:{consume:{shop:["r"],themeColors:["r"],biz:["r"],quickMode:["r"],enableMultiplePay:["r"],origin:["r"],loginCheck:["r"]}},process:{define:["startPay","queryPayChannels","doPay","requestOrderPayment","extPay"],invoke:["beforePay","onPaySuccessSync","onPayItemClick"]},lambda:{consume:["getUserInfo"]},event:{emit:["cashier:pay:success","cashier:pay:fail","cashier:close","cashier:ready","cashier:opened"]},component:{consume:["UserAuthorizePopup"]},version:"local",platform:["weapp","web","ant"]},{name:"sku-order-subpage",version:"local",platform:["web"],displayName:"中文名",description:"描述信息",extensionId:"sku-order-subpage",widget:{default:"Main",consume:["AddressEdit","AddressMap","AddressCity","ContactEdit","selfFetchAddressCity"]}},{extensionId:"@wsc-tee-trade/trade-buy-address-edit",name:"@wsc-tee-trade/trade-buy-address-edit",bundle:"",lifecycle:["onPageShow","onPageHide","pageDestroyed"],widget:{default:"Main",provide:["CurrentAddress","Main"],consume:["CurrentAddress","WechatAddress","WxAddress","AliAddress"]},data:{consume:{themeColors:["r"],themeCSS:["r"],kdtId:["r"],isDirectPushRoute:["r"]}},lambda:{consume:["onEvent","triggerEvent","getDb","deleteDb","amap","getHashQuery","offEvent","getKsLocation","getAuthType"]},process:{invoke:["tryLocation"]},event:{emit:["autoGetClipboardData"],listen:["autoGetClipboardData"]},version:"local",platform:["weapp","web"]},{extensionId:"@wsc-tee-trade/trade-buy-address-map",name:"@wsc-tee-trade/trade-buy-address-map",bundle:"",lifecycle:["onPageShow"],widget:{default:"Main",provide:["Search","AMap","Main"],consume:["Search","AMap"]},data:{consume:{kdtId:["r"],themeColors:["r"],locateCityInfo:["r"],isDirectPushRoute:["r"]}},lambda:{consume:["triggerEvent","onEvent","offEvent","amap"]},process:{invoke:["locateCity","tryLocation"]},event:{emit:["addressMapPageShow"],listen:["addressMapPageShow"]},platform:["weapp","web"],version:"local"},{name:"@wsc-tee-trade/trade-buy-address-city-page",extensionId:"@wsc-tee-trade/trade-buy-address-city-page",bundle:"",widget:{default:"Main",provide:["Main"]},lambda:{consume:["triggerEvent"]},process:{invoke:["locateCity","tryLocation"]},version:"local",platform:["weapp","web"]},{name:"@retail-tee-prepaid/prepaid",version:"local",displayName:"储值",description:"储值",extensionId:"@retail-tee-prepaid/prepaid",pathInBundle:"prepaid",widget:{default:"Main",provide:["PrepaidRecommendMain","PrepaidRecommend","RechargeList","RechargeListFree","RechargeListRecommend","RechargeGiftPack","RechargeRetention"],consume:["RechargeListFree","RechargeListRecommend"]},component:{provide:[],consume:[]},data:{provide:{biz:["r"],quickMode:["r"],payRechargeInfo:["r","w"],giftPackSelected:["r","w"],giftPackSelectedGiftPacks:["r","w"],giftSelectedGiftPackIndex:["r","w"]},consume:{themeColors:["r"],kdtId:["r"],rechargeFreeOrderRule:["r"],recommendDetaid:["r"],valueCard:["r"],balanceMkExclusion:["r"],useStoredMemberCustomerDiscount:["r"],useStoreBalancePayInFull:["r"],pay:["r"],miniprogram:["r"],display:["r"],orderFinalPrice:["r"],openOrderPageRetention:["r"],couponDecreasedPrice:["r"],state:["r"]}},event:{emit:["recharge-free-order:on-close","recharge-free-order:on-confirm","trade-recharge:on-close","trade-recharge:on-select","onGiftPackClose","onGiftPackRecharge","onSelectGiftPack","toggleGiftPack","toggleRechargeRetention","resetStatus","onRetentionSelect"],listen:["cashier:pay:prepaid:success","cashier:pay:prepaid:fail","cashier:pay:prepaid:close","onGiftPackClose","onGiftPackRecharge","onSelectGiftPack","toggleGiftPack","toggleRechargeRetention","resetStatus","onRetentionSelect"]},process:{invoke:["prepaidCommonPay","prepaidStartPay","fetchShow","confirmOrder","setOrderForbidCoupon","setOrderForbidPreference","getCreateOrderParam","mutateState","prepaidCommonPay","showPrePayCardRecharge","submitOrder","doRecharge","beforeShowRecharge"],define:["prepaidCommonPay","freeOrderJumpToResult","freeOrderGetStatus","doRecharge","showPrePayCardRecharge","validateRechargeRetention"]},lambda:{provide:[],consume:["getUserInfo"]},platform:["web","weapp"]},{name:"@wsc-tee-trade/trade-buy-service-block",version:"local",platform:["weapp","web"],displayName:"service模块",description:"包括发票、买家留言",extensionId:"@wsc-tee-trade/trade-buy-service-block",widget:{default:"Main",provide:["TradeBuyServiceBlock","BuyerMsg","InvoiceCell"],consume:["BuyerMsg","TradeBuyServiceBlock","InvoiceActionSheet","InvoiceCell","RetailContactPhone"]},data:{consume:{order:["r"],goods:["r"],shopConfig:["r"],hasHaitaoGoods:["r"],tradeTag:["r"],orderFinalPrice:["r"],prepayCardDecrease:["r"],invoice:["r"],themeCSS:["r"],themeColors:["r"],themeType:["r"],display:["r"],dataLoaded:["r"]}},event:{emit:["changeIsShowInvoicePopup"],listen:["changeIsShowInvoicePopup"]},process:{invoke:["mutateState","setOrderMessage","logFocusMessage"]}},{name:"trade-buy-privacy-bill",version:"local",platform:["weapp","web"],displayName:"号码保护",description:"隐私面单C端",extensionId:"trade-buy-privacy-bill",widget:{default:"TradeBuyPrivacyBill",provide:["TradeBuyPrivacyBill"]},component:{provide:["PrivacyBillRulePopup"],consume:["PrivacyBillRulePopup"]},data:{consume:{privacyWaybill:["r"],display:["r"],tradeTag:["r"]}},process:{invoke:["setOrderPrivacyBill"]}},{name:"@wsc-tee-trade/trade-buy-ump-block",version:"local",platform:["weapp","web","tt"],displayName:"下单页营销模块",description:"营销相关互动",extensionId:"@wsc-tee-trade/trade-buy-ump-block",widget:{default:"Main",provide:["TradeBuyUmpBlock","BaseBlock","ExtraFees","PrepayCardCell","FansCell","ActivityCell","ActivityDialog","PlusBuy","PlusBuySwipe","PlusBuySwipeItem","PlusBuyCard","CouponCell","CouponItem","CouponList","Postagetool","PostagetoolTip","PostagetoolCard","FansDialog","CouponListPopupBottom","CouponContainer","MembershipCell","PointCell","PointDeductionCell","MeituanCell","MembershipDialog","PrepayCardPopup","PointDeductionPopup","PointWarnPopup","AgreeDetailPopup","DisplayCard"],consume:["BaseBlock","ExtraFees","PrepaidRecommend","RechargeList","UserAuthorize","Price","PlusBuyCard","PlusBuySwipe","PlusBuySwipeItem","PostagetoolCard","FansDialog","PlusBuy","FansCell","PrepayCardCell","CouponListPopupBottom","CouponContainer","CouponItem","MembershipCell","PointCell","PointDeductionCell","CouponCell","MeituanCell","PointWarnPopup","AgreeDetailPopup","DisplayCard","ActivityCell"]},component:{consume:["UserAuthorizePopup"]},data:{consume:{themeTag:["r"],yunDesignConfig:["r"],valueCard:["r"],display:["r"],pay:["r"],tradeTag:["r"],orderFinalPrice:["r"],prepayCardTotalAmount:["r"],prepayCardDecrease:["r"],prepayCardAvailable:["r"],prepayCardAvailableExclusion:["r"],themeColors:["r"],kdtId:["r"],payAssetActivityTagDesc:["r"],shopStoredDiscountInfo:["r"],useStoredCustomerDiscount:["r"],recommendDetaid:["r"],goods:["r"],shop:["r"],pointDeduction:["r"],pointsName:["r"],orderCreated:["r"],points:["r"],fansBenefit:["r"],themeCSS:["r"],customerCards:["r"],unavailableCustomerCards:["r"],displayCard:["r"],currentAddress:["r"],displayFreeCard:["r"],plusBuy:["r"],order:["r"],orderCreation:["r"],couponModel:["r"],isInCouponOverWhitelist:["r"],offlineId:["r"],state:["r"],postageModel:["r"],dataLoaded:["r"],useStoredMemberCustomerDiscount:["r"],useStoreBalancePayInFull:["r"],hasHaitaoGoods:["r"],postage:["r"],isExistDiscountExcludePrePayCard:["r"],meituanCoupons:["r","w"],memberConfig:["r"],bookKey:["r"]}},event:{emit:["sku:afterSubmit","showCouponList","postagetool:show","reward:show","toggleMembershipDialog","togglePackingFeeDialog","skuOrder:hide"],listen:["submit:act","showCouponList","postagetool:show","postagetool:limitInfo","postagetool:unavailableItem","lifecycle:pageShow","onConfirmOrder","check:meituanCoupons","toggleMembershipDialog"]},process:{invoke:["closeValueCard","setPrepayCardCheckStatus","confirmOrder","setOrderForbidCoupon","setOrderForbidPreference","setDisableStoredDiscount","setPointDeductionUsed","setCustomCard","setDisplayCard","switchPlusBuyGoodsProcess","switchGoods","addAllGoods","fetchSkuData","addCouponProcess","setCouponChosenIdProcess","exchangeCouponPromise","getAddsOnePageDetail","calcPostage","modifyCacheOrder","resetPostageTool","savePostageTool","setUmpActivity","setUmpActivityState","setPointDeductionCost","mutateState","openValueCard","setIgnoreVirtualCoupon","showPrePayCardRecharge","setSelfFetch","setSkuInfo","launchFastJoinSDK"],define:["closeValueCard","openValueCard","selectCustomerCard","toggleCouponListPopup"]}},{extensionId:"@ext-tee-wsc-ump/trade-buy-ump-data",name:"@ext-tee-wsc-ump/trade-buy-ump-data",bundle:"",lifecycle:["onPageShow"],widget:{default:"Widget"},data:{consume:{prepareData:["r"],confirmData:["r"],state:["r"],points:["r"],expressType:["r"],dataLoaded:["r"],meituanCoupons:["r","w"]},provide:{couponModel:["r"],rewardModel:["r"],grouponModel:["r"],plusBuy:["r"],postageModel:["w","r"],orderedChosenCoupons:["r"],isInCouponOverWhitelist:["r"]}},process:{define:["addCouponProcess","setCouponChosenIdProcess","fetchUmpPlusBuyProcess","handleExternalCoupon","exchangeCouponPromise","switchPlusBuyGoodsProcess","fetchSkuData","switchGoods","addAllGoods","getAddsOnePageDetail","calcPostage","resetPostageTool","savePostageTool"],invoke:["mutateState","fetchShow","fetchPromotion","confirmOrder"]},event:{emit:["onCouponChange","postagetool:limitInfo","postagetool:unavailableItem"],listen:["setGrouponIsChecked"]},lambda:{provide:["exchangeCoupon"]},platform:["web","weapp"],version:"local"},{name:"@assets-tee-extensions/guarantee-components",version:"local",description:"有赞担保&components",extensionId:"@assets-tee-extensions/guarantee-components",pathInBundle:"guarantee-components",platform:["web","weapp","ant"],widget:{provide:["YzGuaranteeForSkuOrder"]},component:{provide:["GuaranteePop"]},lambda:{provide:[],consume:[]},data:{provide:{},consume:{}},event:{emit:[],listen:[]},process:{invoke:[],define:[]}},{name:"@wsc-tee-trade/trade-buy-misc-pre",version:"local",platform:["weapp","web"],displayName:"下单页非标准模块集合",description:"不参与标准UI布局并且是小程序,非首屏组件,可移入异步分包",extensionId:"@wsc-tee-trade/trade-buy-misc-pre",lifecycle:["pageDestroyed"],widget:{default:"Main",provide:["PresentGoods","Price","OrderKeepDialog","OrderKeep","TradeCarousel"],consume:["Price"]},lambda:{provide:["getTradeBuyPageData","getTradeBuyPreFetchQuery"]},data:{consume:{displayData:["r"],orderData:["r"],themeColors:["r"],shopConfig:["r"],goods:["r"],coupon:["r"],shop:["r"],pay:["r"],order:["r"],display:["r"],isRetailWeappScene:["r"]}},event:{listen:["openOrderKeep","closeOrderKeep"]},process:{invoke:["navigateToTradeBuy"],define:["navigateToTradeBuy"]}},{name:"@wsc-tee-trade/trade-buy-common-popup",version:"local",platform:["weapp","web"],displayName:"中文名",description:"描述信息",extensionId:"@wsc-tee-trade/trade-buy-common-popup",pathInBundle:"@wsc-tee-trade/trade-buy-common-popup",widget:{default:"Main",provide:["TimePicker","ContactList","DeliveryScopePopup","InvoiceActionSheet"]},data:{consume:{delivery:["r"],themeColors:["r"],themeCSS:["r"],themeTag:["r"],address:["r"],selfFetch:["r"],extra:["r"],kdtId:["r"],contact:["r"],tradeTag:["r"],goods:["r"],display:["r"],prepayCardDecrease:["r"],invoice:["r"],orderFinalPrice:["r"]}},event:{listen:["showDeliveryScopePopup","showTimePickerPopup","changeIsShowInvoicePopup"]},process:{invoke:["setInvoiceSubmit"]}},{name:"@wsc-tee-trade/trade-buy-self-fetch-address",version:"local",displayName:"中文名",description:"描述信息",extensionId:"@wsc-tee-trade/trade-buy-self-fetch-address",widget:{default:"Main",provide:["Main"]},lambda:{consume:["triggerEvent","getDb","onEventOnce"]},data:{consume:{themeColors:["r"],themeCSS:["r"],isDirectPushRoute:["r"],isSkuOrderScene:["r"],isRetailShelfPage:["r"]}},process:{invoke:["getLocation","hook:mutateListAfterFetch","autoEnterShop","setApplicationScene"]},platform:["weapp","web"]},{extensionId:"@wsc-tee-trade/trade-buy-platform-address",name:"@wsc-tee-trade/trade-buy-platform-address",bundle:"",widget:{provide:["WechatAddress","WxAddress","AliAddress","XhsAddress"]},lambda:{consume:["amap","getUserInfo"]},data:{consume:{kdtId:["r"],cloudData:["r"]}},version:"local",platform:["weapp","web"]},{name:"@wsc-tee-trade/trade-buy-self-fetch-address-city",version:"local",displayName:"中文名",description:"描述信息",extensionId:"@wsc-tee-trade/trade-buy-self-fetch-address-city",widget:{default:"Main",provide:["Main"]},lambda:{consume:["triggerEvent"]},process:{invoke:["getLocation"]},platform:["weapp","web"]},{platform:["weapp","web"],name:"@ext-tee-wsc-goods/follow-popup-block",extensionId:"@ext-tee-wsc-goods/follow-popup-block",bundle:"",version:"local",data:{consume:{themeVars:["r"],goodsBaseInfo:["r"],shopBaseInfo:["r"],shopMpInfo:["r"],shopConfig:["r"]}},event:{listen:["follow:show"]},widget:{default:"Widget",provide:["Widget","H5Follow","WeappFollow"],consume:["H5Follow","WeappFollow"]},process:{define:["checkShowFollow"]}},{name:"@ext-tee-wsc-goods/sku-order-popup",version:"local",platform:["weapp","web"],displayName:"中文名",description:"描述信息",extensionId:"@ext-tee-wsc-goods/sku-order-popup",pathInBundle:"@ext-tee-wsc-goods/sku-order-popup",widget:{default:"Main",provide:["Main"],consume:["SkuOrderCoreMain"]},event:{listen:["skuOrder:show"]}},{name:"@wsc-tee-decorate/decorate-components",extensionId:"@wsc-tee-decorate/decorate-components",displayName:"装修组件",version:"local",platform:["weapp","web"],bundle:"",widget:{provide:["OnWayOrder"]}}]}},31877:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});n(58280),n(29428),n(95557),n(95760);function o(e){Array.isArray(e)&&e.forEach((function(e){return function(e){return"string"!=typeof e?Promise.reject(e+" cannot be loaded"):new Promise((function(t,n){var o=document.createElement("script");o.onload=o.onreadystatechange=function(){this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||t()},o.onerror=function(){n(e+" load error"),window._cdnFallback&&window._cdnFallback(this)},o.setAttribute("charset","utf-8"),o.setAttribute("type","text/javascript"),o.setAttribute("async","async"),o.setAttribute("src",e),document.body.appendChild(o)}))}(e)}))}},75955:function(e,t,n){"use strict";n.d(t,{V:function(){return l}});var o=n(69537),r=n.n(o),i=n(70106),a=n(63560),s=window._global.miniprogram&&window._global.miniprogram.isMiniProgram,c=r().isWeixin()&&!s,u=function(e){return a.ZNB.getWx().then((function(t){var n;null==(n=t[e])||n.call(t)})).catch((function(){}))};c&&i.A.on("salesman:shareDone",(function(){u("showOptionMenu")}));var l=function(){window._global.isSalesman&&c&&(u("hideOptionMenu"),setTimeout((function(){return u("showOptionMenu")}),2500))}},51024:function(e,t,n){"use strict";n.d(t,{L:function(){return o},p:function(){return r}});n(81626);var o=function(){window._homePefInfo={clientStart:Date.now(),downloadToExeTime:Date.now()-window._perfInitTime}},r=function(){window._homePefInfo=Object.assign({},window._homePefInfo,{pageSteupStart:Date.now(),downloadToPageSteupExeTime:Date.now()-window._perfInitTime})}},1464:function(e,t,n){"use strict";n(15086),n(58280),n(2008),n(54554),n(28706);var o=n(14174),r=n.n(o),i=n(39038),a=[{type:"buy_button",isFilter:!1},{type:"contact_us",isFilter:i.CC&&i.uQ}];t.A=function(e){var t=r()(e,(function(e){return a.some((function(t){return t.type===e.type}))}));return t=t.filter((function(e){return!e.isFilter})),e.splice.apply(e,[2,0].concat(t)),e}},34869:function(e,t,n){"use strict";n(62062);t.A=function(e,t){void 0===t&&(t=!1);var n=t;return e.map((function(e){return"search"===e.type&&(n?e.position_type="0":n=!!+e.position_type||n),e}))}},65230:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var o,r=n(4048),i=(n(92503),n(46876)),a={components:(o={},o[i.default.name]=i.default,o),props:{text:String}},s=(0,n(14486).A)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"preview-notice-bar"},[n("van-icon",{attrs:{name:"warning",color:"#f1924e"}}),e._v("\n "+e._s(e.text)+"\n")],1)}),[],!1,null,null,null).exports;function c(e){var t=document.getElementById("preview-notice-bar");return new r.default({el:t,render:function(t){return t(s,{props:e})}})}},58937:function(e,t,n){"use strict";n.d(t,{n:function(){return v}});n(89169);var o=n(65210),r=(n(86960),n(94883)),i=(n(96995),n(46611)),a=n(81274),s=n.n(a),c=n(94495),u=n.n(c),l=n(48343),d=n(74896),p={name:"share-activity-pop",components:{"van-popup":i.default,"van-button":r.default},data:function(){return{hasLogin:u()(window,"_global.user.has_login",!1),showPop:!1,shareTag:s().get("shareTag",location.href),activityAlias:u()(_global,"share_activity.activity_detail.activityAlias")}},created:function(){this.activityAlias&&this.shareTag&&(this.hasLogin?this.joinActivity():this.showPop=!0)},methods:{goLogin:function(){var e=this;this.showPop=!1,d.A.open({authTypeList:["mobile"]}).then((function(){window._global.user.has_login=!0,e.joinActivity()}))},joinActivity:function(){window.YzPageLogger&&window.YzPageLogger.log({et:"custom",ei:"visit_share_activity_showcase",en:"被分享人访问微页面",params:{activityId:u()(_global,"share_activity.activity_detail.activityId"),shareTag:this.shareTag}}),(0,l.Ay)({url:"/wscdeco/ump/activity/join-share-activity.json",type:"POST",data:{activityAlias:this.activityAlias,kdtId:_global.kdt_id||_global.kdtId,shareTag:this.shareTag}}).then((function(){(0,o.default)("已帮好友获得奖励,分享即得好礼!")}))}}},f=(0,n(14486).A)(p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("van-popup",{staticClass:"share-activity-pop",attrs:{round:"",position:"bottom"},model:{value:e.showPop,callback:function(t){e.showPop=t},expression:"showPop"}},[n("header",{staticClass:"share-activity-pop__header"},[e._v("登录提示")]),n("div",{staticClass:"share-activity-pop__main"},[e._v("\n 你还没有登录,登录后浏览商品好友可获得分享奖励,你也可以分享获得好礼!\n ")]),n("van-button",{staticClass:"share-activity-pop__btn theme__button--main theme__border",attrs:{type:"danger",block:"",round:""},on:{click:e.goLogin}},[e._v("\n 立即登录\n ")]),n("p",{staticClass:"share-activity-pop__bottom",on:{click:function(t){e.showPop=!1}}},[e._v("\n 暂不登录,先逛逛\n ")])],1)}),[],!1,null,null,null).exports,h=n(4048),m=s().get("shareTag",location.href),g=u()(_global,"share_activity.activity_detail.activityId");function v(){if(m&&g){var e=document.createElement("div");return e.id="showcase-share-activity-login-pop",document.body.appendChild(e),new h.default({el:e,render:function(e){return e(f,{})}})}}},30515:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var o={name:"FixedBottomFillerSpaceMain",data:function(){return{bgColor:"#f8f8f8"}},created:function(){var e=this;this.ctx.watch("footerData",(function(t){t&&t.hideFooter&&(e.bgColor="transparent")}))}},r=(0,n(14486).A)(o,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"fixed-bottom-filler-space",style:{backgroundColor:e.bgColor}})}),[],!1,null,null,null).exports,i=function(e){this.ctx=e.ctx};i.widgets={Main:r}},90494:function(e,t,n){"use strict";n.d(t,{A:function(){return E}});n(89169);var o,r=n(65210),i=(n(23792),n(53540),n(2609)),a=n(51832),s=(n(81626),n(2008),n(58280),n(62062),n(95557),n(95760),n(29428),n(47764),n(62953),n(66006),n(52675),n(89463),n(48598),n(39719),n(33744),n(7309)),c=n.n(s),u=n(94495),l=n.n(u),d=n(95621),p=n.n(d),f=n(48343),h=function(e,t){return(0,f.Ay)({url:"/wscshop/showcase/detail.json",data:{alias:e,offlineId:t,topNavShowAd:1,asyncComponents:!0,json:1},errorMsg:"微页面详情获取失败~"})},m=n(86720),g=n(63657),v=n(34869),y=n(1464),b=n(76209),w=n(128),_=n(90519),x=n.n(_),S=n(94054),k=n(31877),C=n(62193),O=n.n(C),A=n(6330);var P=l()(_global,"platformInfo.is_mobile"),I=l()(_global,"feature_alias",""),T={name:"showcase-top-navs-container",components:Object.assign({},m.$,(o={},o[a.A.name]=a.A,o[i.default.name]=i.default,o[m.A.name]=m.A,o["shop-cart-notice"]=w.A,o)),mixins:[g.A,b.A],provide:function(){return{useSkuExt:!0}},data:function(){var e=this.getStorageTopIndex();return{loading:!0,curAlias:"",tabComponentsCache:{},tabAliasScrollTop:{},tabBarTop:0,topNavFixedNeedDelay:!1,stickyItemName:"TopNav",curIndex:I&&e[I]||0,searchConfig:{},isMobile:P,contentWidth:"",isTopNavTemplate:_global.isTopNavTemplate,components:window._global.feature_components||[],offlineId:window._global.offlineId}},computed:{navsConfig:function(){var e=this.components;return this.isTopNavTemplate&&c()(e,(function(e){return"top_nav"===e.type}))||{}},tabStyle:function(){if(!this.isTopNavTemplate)return"";if(!this.navsConfig)return"";var e=this.navsConfig||{},t=e.sub_entry,n=e.count,o=e.slide_setting;if(this.contentWidth){if(1==+o){var r=t.length<4?t.length:+n;r>t.length&&(r=t.length);var i=r+(r0){var e=window._global||{},t=e.feature_components||[],n=e.mp_data||{},o=e.kdtId,r=e.offlineId,i=e.feature_alias,a=e.offlineData,s=void 0===a?{}:a,c=t[0]||{},u={kdt_id:o,source:"page",endpoint:"h5",detail:{title:c.title,desc:c.description,alias:i,imgs:[(n||{}).logo]}};r&&(u.site_id=r,u.site_name=s.name),x().init("",{fromSource:u})}else x().init()},initCloudScript:function(e){var t=l()(e,"[0].h5_extension_script_url")||l()(e,"[0].h5ExtensionScriptUrl"),n=l()(e,"[0].h5ExtensionScriptUrlMap")||l()(e,"[0].h5_extension_script_url_map");!t&&O()(n)||function(e,t,n){if(n&&n.length){var o=function(e){var t=[],n={};return e.forEach((function(e,o){e.type&&-1!==e.type.indexOf("extension-")&&t.push(e.type);var r=e.coupon,i=e.goods,a=e.type;if(i&&i.length&&a){var s=i.map((function(e){return e.id}));n[a+"-"+o]=s}if(r&&r.length&&a){var c=r.map((function(e){return e.id}));n[a+"-"+o]=c}})),{components:t,asyncTokens:n}}(n),r=o.components,i=o.asyncTokens;if(r.length){var a="https://b.yzcdn.cn/rontgen/browser/rontgen-sandbox-1.5.5.js";if(O()(t))(0,A._i)({scriptUrl:[a,e],components:r,ignoreInitBridge:!0});else{var s=[a];t.vendors&&s.push(t.vendors);var c={components:r,componentScript:{componentUrl:t,dependUrl:s},ignoreInitBridge:!0};_global.needPreLoadThirdJs&&window._thirdJsPromiseMap&&(c.preLoadPromiseMap=window._thirdJsPromiseMap),(0,A._i)(c)}_global.asyncTokens=i}}}(t,n,e)},setTopNavWillSticky:function(){this.setWillStickyComponent({name:this.stickyItemName,type:"fixed",positionTop:0,elementHeight:44,zIndex:121})},getStorageTopIndex:function(){var e={};try{e=JSON.parse(p().getItem("topNavTemplateTabIndex"))||{}}catch(t){e={}}return e},topNavScrollTop:function(){var e=document.documentElement.scrollTop||document.body.scrollTop;this.tabAliasScrollTop[this.curAlias]=e},getComponent:function(e){if(e)return m.$["showcase-"+e.split("_").join("-")]},handleTabChange:function(e){var t=this.navs;this.topNavScrollTop(),this.getFeatureDetailByAlias(t[e].alias);var n=this.getStorageTopIndex();n[I]=e,p().setItem("topNavTemplateTabIndex",JSON.stringify(n))},getFeatureDetailByAlias:function(e){var t=this,n=this.tabComponentsCache,o=this.offlineId,i=this.curAlias;this.curAlias=e,n[e]?this.handelNavScroll(i,e):(this.loading=!0,h(e,o).then((function(n){var o=(0,y.A)((0,v.A)(n.components,t.topNavFixedNeedDelay)),r=!1;o=(o||[]).map((function(e){return"navigationbar_config"===e.type?Object.assign({},e,{type:"hide_in_h5"}):(e&&e.type&&e.type.indexOf("extension")>-1&&(r=!0),e)})),t.initCloudScript(o),r&&setTimeout((function(){t.ctx.inited()}),100),t.loading=!1,t.tabComponentsCache[e]=o,t.handelNavScroll(i,e)})).catch((function(e){t.loading=!1,(0,r.default)(e.msg||"微页面详情获取失败~")})))},cacheTabStickyInfo:function(e,t){this.cacheTabStickyInfoData||(this.cacheTabStickyInfoData={}),e&&!this.cacheTabStickyInfoData[e]&&(this.cacheTabStickyInfoData[e]=this.getStickyControl()),t&&(this.cacheTabStickyInfoData[t]?this.setStickyControl(this.cacheTabStickyInfoData[t]):this.releaseStickyControl())},handelNavScroll:function(e,t){var n=this;this.releaseStickyControlMap(),this.cacheTabStickyInfo(e,t),this.$nextTick((function(){n.setTopNavWillSticky()})),document.body.classList.remove("tag-left-fixed"),window._global.active_top_nav_alias=t,e&&t&&this.tabAliasScrollTop[e]!==this.tabAliasScrollTop[t]&&this.$nextTick((function(){document.body.scrollTop=document.documentElement.scrollTop=0}))}}},j=(0,n(14486).A)(T,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isTopNavTemplate?n("div",{class:{"top-navs-search--fixed":e.topNavFixedNeedDelay}},[n("div",[e.isMobile?n("shop-cart-notice"):e._e()],1),+e.searchConfig.show_search_component?n("showcase-search",{key:1,attrs:{"component-data":e.searchConfig,"component-index":1}}):e._e(),n("div",{ref:"tabDom",staticClass:"showcase-top-navs-container",class:{"top-navs-tab-transition":e.tabTransition}},[n("cap-tabs",{staticClass:"top-navs-tab",style:e.tabStyle,attrs:{"offset-top":e.offsetTop,tabs:e.navs,"swipe-threshold":e.navsConfig.count,type:+e.navsConfig.show_method,"tab-swipeable":1==+e.navsConfig.slide_setting,color:e.navsConfig.color,sticky:"",swipeable:""},on:{change:e.handleTabChange,scroll:e.onScroll},scopedSlots:e._u([{key:"default",fn:function(t){return[n("keep-alive",[e.loading?n("van-loading",{staticClass:"feature-detail-loading"}):[e.tabComponentsCache[t.tab.alias]&&e.curAlias===t.tab.alias?n("showcase-container",{attrs:{components:e.tabComponentsCache[t.tab.alias],"is-top-nav":!0,"top-nav-alias":t.tab.alias},on:{init:e.handlePageInit}}):[e.tabComponentsCache[t.tab.alias]&&e.curAlias===t.tab.alias?n("feature-detail",{attrs:{components:e.tabComponentsCache[t.tab.alias]}}):e._e()]]],2)]}}]),model:{value:e.curIndex,callback:function(t){e.curIndex=t},expression:"curIndex"}})],1)],1):e._e()}),[],!1,null,null,null).exports,E=function(e){this.ctx=e.ctx};E.widgets={Main:j}},1162:function(e,t,n){"use strict";n.d(t,{p:function(){return i}});var o=n(37289),r=n(56909);function i(){var e=location.href,t="https://passport.youzan.com/login?redirectUrl="+encodeURIComponent(e);o.redirect({url:t,kdtId:(0,r.nr)()})}},41499:function(e,t,n){"use strict";n.d(t,{hr:function(){return C},oj:function(){return O},EM:function(){return A},jw:function(){return k},uG:function(){return P},vm:function(){return I}});n(81626),n(2892),n(48598),n(58280),n(29428);var o,r=n(44383),i=n.n(r),a=n(11778),s=n.n(a),c=n(81274),u=n.n(c),l=n(39038),d=n(56909),p=(n(74423),n(21699),n(62062),n(42194)),f=n.n(p),h=(n(72712),n(7313),function(e){return e.Normal="normal",e.Coupon="coupon",e.Card="card",e}({})),m=((o={})[h.Normal]=0,o[h.Coupon]=1,o[h.Card]=2,o),g=Object.keys(m).reduce((function(e,t){return e[m[t]]=t,e}),{});function v(e){return function(e,t){return f()(e,(function(e){return t.includes(e)}))}(e,[null,void 0,NaN,""])}function y(e){return(e||[]).map((function(e){var t=g[e.goodsType],n={pointGoodsType:t,id:e.id,alias:e.alias||e.idAlias,title:e.goodsName,imageUrl:e.thumbUrl,price:e.pointsPrice,remainPrice:e.remainPrice,customUnit:e.customUnit,remainNum:e.remainNum,url:e.linkUrl,goodsId:e.goodsId};return t===h.Coupon?n.couponInfo=i()(e.couponData,["title","unit","value","conditionText","isExchange"]):t===h.Card&&(n.cardInfo=i()(e.cardInfo,["backgroundImg","backgroundColorCode"])),n}))}var b=n(48343),w=function(e){return(0,b.Ay)({url:"/wscump/pointstore/getCustomerPoints.json",type:"GET",data:e})},_=function(e){return(0,b.Ay)({url:"/wscshop/showcase/pointsGoods/getList.json",type:"GET",data:e})},x=function(e){return(0,b.Ay)({url:"/wscshop/showcase/pointsGoods/getListById.json",type:"GET",data:e})},S=function(){return(0,b.Ay)({url:"/wscshop/get-point-rules4-feature.json",type:"GET"})};function k(){return w({withNearlyExpired:!0}).then((function(e){var t=_global,n=t.authorized,o=void 0===n?{}:n,r=t.buyer,i=void 0===r?{}:r;return{currentAmount:e.currentAmount,nearlyExpiredAmount:e.nearlyExpiredAmount,user:Object.assign({id:i.id},o.nicknameAndAvatar?{nickname:i.nick_name,avatar:i.avatar}:{})}}))}function C(e){var t=e||{},n=t.pageNo,o=void 0===n?1:n,r=t.pageSize,i=void 0===r?10:r,a=t.order,s=t.goodsType,c=t.showSoldOut,u=t.onlyUserAvailable,l=v({json:1,pageNo:o,pageSize:i,goodsType:m[s],sortRuleCode:a,withoutUnavailable:!0,sellOutGoodsDisplay:c,querySelf:Number(u),isWeappCardSupport:1});return _(l).then((function(e){var t=e.items,n=e.paginator,o=void 0===n?{}:n;return{items:y(t),paginator:{pageNo:o.page,pageSize:o.pageSize,totalCount:o.totalCount}}}))}function O(e){var t=e||{},n=t.ids,o=t.goodsType,r=t.order,i=t.showSoldOut,a=t.onlyUserAvailable,s=v({json:1,ids:(n||[]).join(","),goodsType:m[o],sortRuleCode:r,withoutUnavailable:!0,sellOutGoodsDisplay:i,querySelf:Number(a),isWeappCardSupport:1});return x(s).then((function(e){return{items:y(e)}}))}function A(){return S().then((function(e){return i()(e,["pointName","nearlyExpiredPointPeriod","tradePointLimit","followPoints","tradePoints","checkinPoints","checkinTimes","tradePointRuleType","improveIdPoints"])}))}function P(){var e=_global.mp_account||{},t=e.qrcode_url,n=e.nickname,o=(0,d.nr)(),r=t?s()("/v2/weixin/scan/wximg.jpeg?s="+encodeURIComponent(t),"h5",o):void 0;return Promise.resolve({qrCodeUrl:r,nickname:n})}function I(e){var t=(e||{}).type,n=(0,d.nr)();if("improveUserInfo"!==t)throw new Error("不支持的赚积分任务类型 "+t);var o=s()(u().add("/wscuser/membercenter/setting",{kdt_id:n,state:0,"is-improveid":!0}),"h5",n);(0,l.BK)(o)}},72814:function(e,t,n){"use strict";n.d(t,{A:function(){return Je}});var o,r,i,a,s,c,u,l,d,p,f,h,m,g,v,y,b,w,_,x,S,k,C,O,A,P,I,T,j,E,L,N,M,D,B,z,R,F,W,U,H,G,$,q,J,K,V,Y,Q,Z,X=n(54167),ee=n(793),te=(n(39719),n(5746),n(34782),n(58280),n(29428),n(48598),n(74423),n(2892),n(2008),n(62062),n(83851),{name:"WebFeatureCloudMain",data:function(){return{}},computed:{},mounted:function(){},created:function(){},unmounted:function(){},beforeDestroy:function(){},methods:{}}),ne=n(14486),oe=(0,ne.A)(te,(function(){var e=this.$createElement;return(this._self._c||e)("div")}),[],!1,null,null,null).exports,re={name:"DecorateComponent",data:function(){return{}}},ie=(0,ne.A)(re,(function(){var e=this.$createElement;return(this._self._c||e)("div")}),[],!1,null,null,null).exports,ae={name:"DecorateContent",data:function(){return{}}},se=(0,ne.A)(ae,(function(){var e=this.$createElement;return(this._self._c||e)("div")}),[],!1,null,null,null).exports,ce=n(5529),ue=n(94495),le=n.n(ue),de=n(11778),pe=n.n(de),fe=n(72482),he=n.n(fe),me=n(71086),ge=n.n(me),ve=n(42727),ye=n(25216),be=n(48060),we=n(7088),_e=n(80502),xe=n(51324),Se=n(59203),ke=n(62113),Ce=n(89330),Oe=n(91865),Ae=n(21833),Pe=n(39038),Ie=n(93165),Te=n(81274),je=n.n(Te),Ee=n(59704),Le=n(15008),Ne=n(11712),Me=n(56909),De=n(41499),Be=n(1162),ze=window._global,Re=ze.kdt_id,Fe=ze.offlineId,We=void 0===Fe?0:Fe,Ue=location.search,He=1,Ge=2,$e=3,qe=function(e){return Array.isArray(e)&&e.length>0},Je=(o=(0,ce.yS)("test111","process"),r=(0,ce.yS)("getGoodsList","process"),i=(0,ce.yS)("getCouponList","process"),a=(0,ce.yS)("getCouponUrl","process"),s=(0,ce.yS)("getLimitDiscount","process"),c=(0,ce.yS)("getPlayInfo","process"),u=(0,ce.yS)("fetchGoodsWithTag","process"),l=(0,ce.yS)("fetchSeckillList","process"),d=(0,ce.yS)("fetchMemberGoodsByIds","process"),p=(0,ce.yS)("getGroupList","process"),f=(0,ce.yS)("getRecommendList","process"),h=(0,ce.yS)("getEduCourse","process"),m=(0,ce.yS)("getKnowledgeGroup","process"),g=(0,ce.yS)("getTeachers","process"),v=(0,ce.yS)("getPaidcolumns","process"),y=(0,ce.yS)("getPaidContents","process"),b=(0,ce.yS)("getPaidLives","process"),w=(0,ce.yS)("getPaidMembers","process"),_=(0,ce.yS)("getStoreLocation","process"),x=(0,ce.yS)("showGoodsSku","process"),S=(0,ce.yS)("addCart","process"),k=(0,ce.yS)("getHotelList","process"),C=(0,ce.yS)("getRoomTypeList","process"),O=(0,ce.yS)("getComboList","process"),A=(0,ce.yS)("featurePageCanJumpToWeapp","process"),P=(0,ce.yS)("jumpToSearchPage","process"),I=(0,ce.yS)("jumpToSearchResult","process"),T=(0,ce.yS)("beforeAddCartAsync","asyncEvent"),j=(0,ce.yS)("beforeBuyAsync","asyncEvent"),E=(0,ce.yS)("afterBuyAsync","asyncEvent"),L=(0,ce.yS)("getUserPointsInfo","process"),N=(0,ce.yS)("getPointGoodsList","process"),M=(0,ce.yS)("getPointGoodsListByIds","process"),D=(0,ce.yS)("getPointRules","process"),B=(0,ce.yS)("getWxOfficialAccountInfo","process"),z=(0,ce.yS)("gotoEarnPoints","process"),R=(0,ce.yS)("gotoMobileLogin","process"),Z=Q=function(){var e=t.prototype;function t(e){var t=this;this.ctx=void 0,(0,X.A)(this,"beforeAddCartAsync",W,this),(0,X.A)(this,"beforeBuyAsync",U,this),(0,X.A)(this,"afterBuyAsync",H,this),(0,X.A)(this,"getUserPointsInfo",G,this),(0,X.A)(this,"getPointGoodsList",$,this),(0,X.A)(this,"getPointGoodsListByIds",q,this),(0,X.A)(this,"getPointRules",J,this),(0,X.A)(this,"getWxOfficialAccountInfo",K,this),(0,X.A)(this,"gotoEarnPoints",V,this),(0,X.A)(this,"gotoMobileLogin",Y,this);var n=e.ctx;this.ctx=n,(0,ce.W3)(this,{"sku:beforeAddCartAsync":function(e){return t.ctx.cloud.invoke("beforeAddCartAsync",e)},"sku:beforeBuyAsync":function(e){return t.ctx.cloud.invoke("beforeBuyAsync",e)},"sku:afterBuyAsync":function(e){return t.ctx.cloud.invoke("afterBuyAsync",e)}})}return e.getAsyncTokens=function(){return ze.asyncTokens},e.test111=function(e){return e},e.getGoodsList=function(e,t,n,o){if(void 0===n&&(n=0),void 0===o&&(o=20),"number"==typeof n&&"number"==typeof o&&"string"==typeof e&&"number"==typeof t){var r=t+1,i=this.getAsyncTokens();if(!i||Me.VK){var a=le()(ze.feature_components,"["+r+"].goods",[]).slice(n,n+o);return Promise.resolve({list:a,has_more:!1})}var s=i[e+"-"+r];if(s&&s.length){var c={pageSize:o<20?o:20,goodsIds:s.slice(n,n+o).join(","),offlineId:We};return(0,ye.F)(c)}return Promise.reject("获取商品列表失败")}return Promise.reject("调用getGoodsList方法参数错误")},e.getCouponList=function(e,t,n,o){if(void 0===n&&(n=0),void 0===o&&(o=10),"number"==typeof n&&"number"==typeof o&&"string"==typeof e&&"number"==typeof t){var r=t+1,i=this.getAsyncTokens();if(!i||Me.VK){var a=le()(ze.feature_components,"["+r+"].coupon",[]);return Promise.resolve({code:0,data:a,msg:"ok"})}var s=i[e+"-"+r];if(s&&s.length){var c={pageNo:0,pageSize:o<10?o:10,ids:s.slice(n,n+o).join(",")};return(0,ve.NG)(c)}return Promise.reject("获取优惠券失败")}return Promise.reject("调用getCouponList方法参数错误")},e.getCouponUrl=function(e){return e?Promise.resolve(pe()("/v2/ump/promocard/fetch?alias="+e+"&kdt_id="+Re,"h5",Re)):Promise.reject()},e.getLimitDiscount=function(e,t){var n={offlineId:We,kdtId:Re,activityId:e,itemIds:t.join(","),v:2};if(Me.VK){var o=he().parse(Ue).extensionKdtId,r=void 0===o?0:o;n.kdtId=r}return n.kdtId?(0,be.h)(n):Promise.reject("kdtId为空")},e.getPlayInfo=function(e,t,n){if(!e)return Promise.reject("传入参数有误");var o=0;if(n&&n.useHqKdtId){if(0===(o=(0,Me.ug)()))return Promise.reject("获取总部 kdtId 错误")}else o=(0,Me.nr)();return(0,ve.b1)({videoId:e,v_kdt_id:o})},e.fetchGoodsWithTag=function(e,t,n,o,r){if(!e)return Promise.reject("参数错误");var i={alias:e,json:1,pageSize:t,page:n,offlineId:We};return o&&(i.order=o.order,i.order_by=o.orderBy),void 0!==r&&[0,1].includes(+r)&&(i.activityPriceIndependent=+r),(0,ve.n1)(ge()(i))},e.fetchSeckillList=function(e){return e||Promise.reject("参数错误"),(0,ve.O6)({seckillIds:e,kdtId:(0,Me.nr)()})},e.fetchMemberGoodsByIds=function(e,t,n){return e&&(0!=+n||t)||Promise.reject("参数错误"),(0,ve.WN)({pageSize:e,goodsIds:t,goodsFrom:n,isPreview:Number(Me.VK||Me.o),offlineId:We})},e.getGroupList=function(e,t,n,o){if(o||Promise.reject("参数错误"),+t===He){var r={};if(0==+e)r.pageSize=o;else if(r.activityIds=n.join(","),!r.activityIds)return Promise.reject();return(0,we.br)(r)}if(+t===Ge||+t===$e){var i={grouponType:t};if(0==+e)i.pageSize=o,i.page=1;else if(i.activityIds=n.join(","),!i.activityIds)return Promise.reject();return(0,we.ES)(i)}if(0==+e){var a={kdtId:(0,Me.nr)(),pageSize:o,activityMode:0,page:1,hideSoldOutGoods:0,orderRule:0};return(0,we.hh)(a)}return(0,we.aL)({activityIds:n.join(","),hideSoldOutGoods:0,kdtId:(0,Me.nr)()})},e.getRecommendList=function(e){e||Promise.reject("参数错误");var t={kdtId:(0,Me.nr)(),pageNum:1,pageSize:6,bizName:"wsc~yzcloud~"+e};return(0,ve.Hy)(t)},e.getEduCourse=function(e,t,n){if(void 0===n&&(n=[]),!qe(n))return Promise.reject("参数错误");var o=le()(ze.feature_components,"["+(t+1)+"]."+e,[]),r={kdtId:le()(o,"[0].kdtId",(0,Me.nr)())};return r.aliases=n.join(","),_e.A.findCourseForWym(r)},e.getKnowledgeGroup=function(e,t,n){var o=n.alias,r=n.displayType,i=void 0===r?0:r,a=n.displayNumber,s=void 0===a?6:a,c=n.pageNumber,u=void 0===c?1:c,l=le()(ze.feature_components,"["+(t+1)+"]."+e,[]),d={kdtId:le()(l,"[0].kdtId",(0,Me.nr)()),alias:o,pageNumber:u,pageSize:1===i?6:s};return xe.A.fetchGroupGoodsList(d)},e.getTeachers=function(e,t,n){if(void 0===n&&(n=[]),!qe(n))return Promise.reject("参数错误");var o=le()(ze.feature_components,"["+(t+1)+"]."+e,[]),r={kdtId:le()(o,"[0].kdtId",(0,Me.nr)()),source:1,teacherIds:n.join(",")};return Se.A.fetchTeacherList(r)},e.getPaidcolumns=function(e,t,n){if(void 0===n&&(n=[]),!qe(n))return Promise.reject("参数错误");var o=le()(ze.feature_components,"["+(t+1)+"]."+e,[]),r={kdtId:le()(o,"[0].kdt_id",(0,Me.nr)()),source:1,ids:n.join(","),pageSize:3};return ke.A.getPaidColumnList(r)},e.getPaidContents=function(e,t,n){if(void 0===n&&(n=[]),!qe(n))return Promise.reject("参数错误");var o=le()(ze.feature_components,"["+(t+1)+"]."+e,[]);n=n.filter((function(e){return"default"!==e})).join(",");var r={kdt_id:le()(o,"[0].kdt_id",(0,Me.nr)()),source:1,ids:n||"",pageSize:6};return Ce.A.getPaidContentList(r)},e.getPaidLives=function(e,t,n){if(void 0===n&&(n=[]),!qe(n))return Promise.reject("参数错误");var o=le()(ze.feature_components,"["+(t+1)+"]."+e,[]);n=n.filter((function(e){return"default"!==e})).join(",");var r={kdt_id:le()(o,"[0].kdtId",(0,Me.nr)()),source:1,ids:n||"",pageSize:6};return Oe.A.getLiveData(r)},e.getPaidMembers=function(e,t,n){if(void 0===n&&(n=[]),!qe(n))return Promise.reject("参数错误");var o=le()(ze.feature_components,"["+(t+1)+"]."+e,[]);n=n.filter((function(e){return"default"!==e})).join(",");var r={kdt_id:le()(o,"[0].kdtId",(0,Me.nr)()),source:1,ids:n||""};return Ae.A.getPaidMemberList(r)},e.getStoreLocation=function(e){var t={kdt_id:(0,Me.nr)(),id:e};return(0,ve.gi)(t)},e.showGoodsSku=function(e){var t=e.goodsId,n=e.alias,o=e.activityInfos;return t&&n?(this.ctx.event.emit("sku:show",{alias:n,goodsId:t,activityTypes:(o||[]).map((function(e){return e.type})).filter((function(e){return e})),containerStyle:"zIndex: 2000;",birthdayScene:"H5_DECORATE_GOODS"}),Promise.resolve(!0)):Promise.reject("参数错误!")},e.addCart=function(e){var t=e.skuData,n=e.activityInfo,o=e.pluginsResult;if(!t)throw Error("参数错误");this.ctx.event.emit("sku:addCart",{skuData:t,activityInfo:n,pluginsResult:o})},e.getHotelList=function(e){var t=e.ids,n=void 0===t?[]:t;return n.length<=0?Promise.reject("参数错误!"):Le.A.getHotelList({hotelIds:JSON.stringify(n)})},e.getRoomTypeList=function(e){var t=e.ids,n=void 0===t?[]:t;return n.length<=0?Promise.reject("参数错误!"):Ne.A.getRoomTypeList({roomTypeIds:JSON.stringify(n)})},e.getComboList=function(e){var t=e.ids,n=void 0===t?[]:t;return n.length<=0?Promise.reject("参数错误!"):Ee.A.getComboList({comboIds:JSON.stringify(n)})},e.featurePageCanJumpToWeapp=function(){return(0,Pe.pr)()?Promise.resolve(!0):Promise.reject(!1)},e.jumpToSearchPage=function(e){if((0,Pe.pr)())return Ie.$.navigate("SearchPage",{keepWords:e}),Promise.resolve(!0);var t=pe()("/wscdeco/decorate/search-page","h5",(0,Me.nr)());return(0,Pe.BK)(je().add(t,{keepWords:e,kdt_id:(0,Me.nr)()})),Promise.resolve(!0)},e.jumpToSearchResult=function(e){if((0,Pe.pr)())return Ie.$.navigate("Search",{q:e}),Promise.resolve(!0);var t=pe()("/wscshop/showcase/feature/search?q="+encodeURIComponent(e)+"&kdt_id="+(0,Me.nr)(),"h5",(0,Me.nr)());return(0,Pe.BK)(t),Promise.resolve(!0)},t}(),Q.widgets={Main:oe,DecorateComponent:ie,DialogContent:se},F=Z,(0,ee.A)(F.prototype,"test111",[o],Object.getOwnPropertyDescriptor(F.prototype,"test111"),F.prototype),(0,ee.A)(F.prototype,"getGoodsList",[r],Object.getOwnPropertyDescriptor(F.prototype,"getGoodsList"),F.prototype),(0,ee.A)(F.prototype,"getCouponList",[i],Object.getOwnPropertyDescriptor(F.prototype,"getCouponList"),F.prototype),(0,ee.A)(F.prototype,"getCouponUrl",[a],Object.getOwnPropertyDescriptor(F.prototype,"getCouponUrl"),F.prototype),(0,ee.A)(F.prototype,"getLimitDiscount",[s],Object.getOwnPropertyDescriptor(F.prototype,"getLimitDiscount"),F.prototype),(0,ee.A)(F.prototype,"getPlayInfo",[c],Object.getOwnPropertyDescriptor(F.prototype,"getPlayInfo"),F.prototype),(0,ee.A)(F.prototype,"fetchGoodsWithTag",[u],Object.getOwnPropertyDescriptor(F.prototype,"fetchGoodsWithTag"),F.prototype),(0,ee.A)(F.prototype,"fetchSeckillList",[l],Object.getOwnPropertyDescriptor(F.prototype,"fetchSeckillList"),F.prototype),(0,ee.A)(F.prototype,"fetchMemberGoodsByIds",[d],Object.getOwnPropertyDescriptor(F.prototype,"fetchMemberGoodsByIds"),F.prototype),(0,ee.A)(F.prototype,"getGroupList",[p],Object.getOwnPropertyDescriptor(F.prototype,"getGroupList"),F.prototype),(0,ee.A)(F.prototype,"getRecommendList",[f],Object.getOwnPropertyDescriptor(F.prototype,"getRecommendList"),F.prototype),(0,ee.A)(F.prototype,"getEduCourse",[h],Object.getOwnPropertyDescriptor(F.prototype,"getEduCourse"),F.prototype),(0,ee.A)(F.prototype,"getKnowledgeGroup",[m],Object.getOwnPropertyDescriptor(F.prototype,"getKnowledgeGroup"),F.prototype),(0,ee.A)(F.prototype,"getTeachers",[g],Object.getOwnPropertyDescriptor(F.prototype,"getTeachers"),F.prototype),(0,ee.A)(F.prototype,"getPaidcolumns",[v],Object.getOwnPropertyDescriptor(F.prototype,"getPaidcolumns"),F.prototype),(0,ee.A)(F.prototype,"getPaidContents",[y],Object.getOwnPropertyDescriptor(F.prototype,"getPaidContents"),F.prototype),(0,ee.A)(F.prototype,"getPaidLives",[b],Object.getOwnPropertyDescriptor(F.prototype,"getPaidLives"),F.prototype),(0,ee.A)(F.prototype,"getPaidMembers",[w],Object.getOwnPropertyDescriptor(F.prototype,"getPaidMembers"),F.prototype),(0,ee.A)(F.prototype,"getStoreLocation",[_],Object.getOwnPropertyDescriptor(F.prototype,"getStoreLocation"),F.prototype),(0,ee.A)(F.prototype,"showGoodsSku",[x],Object.getOwnPropertyDescriptor(F.prototype,"showGoodsSku"),F.prototype),(0,ee.A)(F.prototype,"addCart",[S],Object.getOwnPropertyDescriptor(F.prototype,"addCart"),F.prototype),(0,ee.A)(F.prototype,"getHotelList",[k],Object.getOwnPropertyDescriptor(F.prototype,"getHotelList"),F.prototype),(0,ee.A)(F.prototype,"getRoomTypeList",[C],Object.getOwnPropertyDescriptor(F.prototype,"getRoomTypeList"),F.prototype),(0,ee.A)(F.prototype,"getComboList",[O],Object.getOwnPropertyDescriptor(F.prototype,"getComboList"),F.prototype),(0,ee.A)(F.prototype,"featurePageCanJumpToWeapp",[A],Object.getOwnPropertyDescriptor(F.prototype,"featurePageCanJumpToWeapp"),F.prototype),(0,ee.A)(F.prototype,"jumpToSearchPage",[P],Object.getOwnPropertyDescriptor(F.prototype,"jumpToSearchPage"),F.prototype),(0,ee.A)(F.prototype,"jumpToSearchResult",[I],Object.getOwnPropertyDescriptor(F.prototype,"jumpToSearchResult"),F.prototype),W=(0,ee.A)(F.prototype,"beforeAddCartAsync",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,ce.ji)()}}),U=(0,ee.A)(F.prototype,"beforeBuyAsync",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,ce.ji)()}}),H=(0,ee.A)(F.prototype,"afterBuyAsync",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,ce.ji)()}}),G=(0,ee.A)(F.prototype,"getUserPointsInfo",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return De.jw}}),$=(0,ee.A)(F.prototype,"getPointGoodsList",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return De.hr}}),q=(0,ee.A)(F.prototype,"getPointGoodsListByIds",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return De.oj}}),J=(0,ee.A)(F.prototype,"getPointRules",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return De.EM}}),K=(0,ee.A)(F.prototype,"getWxOfficialAccountInfo",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return De.uG}}),V=(0,ee.A)(F.prototype,"gotoEarnPoints",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return De.vm}}),Y=(0,ee.A)(F.prototype,"gotoMobileLogin",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return Be.p}}),F)},42727:function(e,t,n){"use strict";n.d(t,{Hy:function(){return u},NG:function(){return r},O6:function(){return s},WN:function(){return c},b1:function(){return i},gi:function(){return l},n1:function(){return a}});var o=n(48343),r=function(e){return(0,o.rc)({url:"/wscshop/ump/coupon/couponList.json",type:"GET",data:e})},i=function(e){return(0,o.rc)({url:"/wscshop/video/playinfo.json",type:"GET",data:e,options:{useCdn:!0}})},a=function(e){return(0,o.rc)({url:"/wscshop/goods-api/goodsByTagAlias.json",type:"GET",data:e})},s=function(e){return(0,o.rc)({url:"/wscshop/ump/seckill/seckillList.json",type:"GET",data:e})},c=function(e){return(0,o.rc)({url:"/wscshop/ump/memberGoods/list.json",type:"GET",data:e})},u=function(e){return(0,o.rc)({url:"/wscshop/showcase/getRecommendResultData.json",type:"GET",data:e})},l=function(e){return(0,o.rc)({url:"/wscshop/showcase/multistore/detail.json",type:"GET",data:e})}},56909:function(e,t,n){"use strict";n.d(t,{ug:function(){return c},nr:function(){return s},o:function(){return a},VK:function(){return i}});n(42727),n(39719),n(5746);var o=n(72482),r=n.n(o),i=(n(66006),location.href.indexOf("/decorate/extension-preview")>0),a=location.href.indexOf("/decorate/preview")>0,s=function(){if(_global.kdt_id)return+_global.kdt_id;var e;if(i||a){var t=r().parse(location.search),n=t.extensionKdtId,o=void 0===n?0:n,s=t.kdtId,c=void 0===s?0:s;(+c||+o)&&(e=+c||+o)}return e},c=function(){return _global.hq_kdt_id?+_global.hq_kdt_id:_global.shopMetaInfo&&_global.shopMetaInfo.rootKdtId?+_global.shopMetaInfo.rootKdtId:0}},99138:function(e,t,n){"use strict";n.d(t,{A:function(){return ne}});n(81626);var o=n(94495),r=n.n(o),i=n(62193),a=n.n(i),s=n(69956),c=n.n(s);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:7;c()("dfp",{value:e,path:"/",domain:f,expires:t,Secure:!0,SameSite:"None"})},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};localStorage.getItem("_dfp_flag_")!==g&&v("",-1);var t,n=window._fmOpt=l(l({partner:"youzan",appName:"YZ",channel:"web"},(t=e,["appName"].reduce((function(e,n){var o=t[n];return void 0!==o&&(e[n]=o),e}),{}))),{},{token:"youzan-"+(new Date).getTime()+"-"+Math.random().toString(16).substr(2),fpHost:"https://risk-dfp-service-v2.youzan.com",fmb:!0,cub:!0,success:function(e){if(e){var t,o,r,i=c()("dfp");if(!(o=e,r=c()(p)===o,!r&&o&&c()(p,{value:o,path:"/",domain:f,expires:365}),r&&i&&40===i.length)){var a=n.getinfo?n.getinfo():void 0;if(!a)return;(t={url:"https://fp.youzanyun.com/new/dfp/bb/change",method:"post",data:{blackbox:a}},new Promise((function(e,n){var o=new XMLHttpRequest;o.open(t.method,t.url),o.setRequestHeader("Content-Type","application/json"),o.timeout=1e4,o.responseType="json",o.onreadystatechange=function(){4===o.readyState&&(200===o.status&&o.response?e(o.response):n(o.errors))},o.send(JSON.stringify(t.data))}))).then((function(e){e&&(v(e),localStorage.setItem("_dfp_flag_",g))}))}}}}),o=document.createElement("script");try{o.type="text/javascript",o.async=!0,o.onerror=function(){"function"==typeof _cdnFallback&&_cdnFallback(this)},o.src=h("/risk-dfp-service-v2/fm.js"),document.body.appendChild(o)}catch(e){}},b=!1,w={init:function(e){b||(b=!0,y(e),"undefined"!=typeof window&&(window.tdFinger?window.tdFinger.get||(window.tdFinger.get=w.get,"function"==typeof window.tdFinger.onComplete&&m.enqueue(window.tdFinger.onComplete)):window.tdFinger=w))},get:function(){return new Promise((function(e,t){m.enqueue(e,t),y()}))}},_=(n(23792),n(2008),n(58280),n(62062),n(29428),n(47764),n(62953),n(50113),n(60739),n(27208),n(66006),n(52675),n(89463),n(81274)),x=n.n(_),S=n(42958),k=n.n(S),C=n(59073),O=n(13289),A=n(32485),P=n(4048),I=n(128),T=n(31877),j=n(83763),E=n(62183),L=n(65230),N=n(94054),M=n(7258),D=void 0,B=!!x().get("temporaryPreview"),z=x().get("webview_feature")||0,R=!!x().get("use_weapp_custom_tab_bar"),F=+x().get("has_weapp_tabbar"),W=1==+x().get("draftSb"),U=k().isWeappWebview(),H=x().get("weapp_tabbar_index")||0,G=r()(_global,"platformInfo.is_mobile"),$=r()(_global,"without_acl_in_third_template",!1)&&z||r()(_global,"is_in_no_acl_in_H5",!1),q=!1,J={name:"WebFeaturePageMain",components:{"custom-tab-bar":O.A},provide:function(){return{useSkuExt:!0}},data:function(){return{weappTabbarIndex:H,renderCustomTabbar:(U||R)&&(F||R),featureData:_global.feature_components,isTopNavTemplate:_global.isTopNavTemplate,loggerName:"homepage"===_global.showcase_type?"首页":"微页面"}},computed:{},mounted:function(){var e=this;this.ctx.watch("navData",(function(){e.handleBuyButton()}));try{if(setTimeout((function(){e.ctx.process.invoke("setIsShowShopNav",!e.renderCustomTabbar&&!+window._global.isFullScreenTpl)}),1e3),window.__feature_has_extension&&this.ctx.inited(),this.isTopNavTemplate)return void setTimeout((function(){e.ctx.inited()}),1e3);this.initHummerLog(),this.initEvent(),M.F.end({name:"h5"+this.loggerName+"渲染",type:"finish"})}catch(e){M.F.end({name:"h5"+this.loggerName+"渲染",type:"error",detail:{error:e}})}},created:function(){var e=this;(U||R)&&(0,C.iQ)(document.body,"without-shop-nav-in-webview"),window._global.featureIsThirdTemplate&&(0,C.iQ)(document.body,"third-feature-template"),B&&!G?(0,L.A)({text:"当前页面为非正式页面,仅供预览使用,将在短期内失效,请勿推广"}):G&&W&&(0,L.A)({text:"当前页面为非正式页面,仅供预览使用"}),this.isTopNavTemplate||(G&&(0,A.getShopCertStatus)().then((function(t){t&&t.isShow&&e.renderShopCertNotice()})).catch((function(t){M.F.end({name:"h5"+e.loggerName+"渲染",type:"error",detail:{err:t}})})),setTimeout((function(){e.handlePageInit()}),4e3),N.A.$on("handleBuy",(function(t){var n,o=t.alias,r=t.goodsId,i=(t.timingSaleHideBuyBtnInSku,t.activityInfos),a=t.supportSkuOrder;i&&(n=i.map((function(e){return e.type})).filter((function(e){return e}))),e.ctx.event.emit("sku:show",{alias:o,goodsId:r,activityTypes:n,containerStyle:"zIndex: 2000;",birthdayScene:"H5_DECORATE_GOODS",supportSkuOrder:a})})))},unmounted:function(){D.isTopNavTemplate||window.removeEventListener("load",D.loadListener,!1)},beforeDestroy:function(){},methods:{handlePageInit:function(){this.ctx.inited(),_global.micropage_delay&&!q&&(q=!0,n.e(4371).then(n.bind(n,54371)),(0,T.S)(_global.micropage_delay_script))},handleBuyButton:function(){var e,t=null==(e=_global.feature_components)?void 0:e.find((function(e){return"buy_button"===e.type})),n=this.$root.setPageStyle;if(t&&n){var o=t.bg_height,r=t.bg_enable,i=t.btn_height,a=t.btn_pd_bottom,s=document.createElement("style"),c=this.ctx.data.navData&&!U||this.renderCustomTabbar,u=r?o:i+a,l=c?"calc(50px + env(safe-area-inset-bottom))":"0px";s.innerHTML="html {\n --bottom-nav-height: "+l+";\n --buy-button-height: "+u+"px;\n --buy-button-iphone-safe-area: "+(c?"0px":"env(safe-area-inset-bottom)")+";\n }\n ",document.head.appendChild(s),(0,C.iQ)(document.body,"with-buy-button")}},initHummerLog:function(){var e,t,n=_global||{},o=n.visitGiftSource,r=n.hummerStartTime;1===o&&r&&(null==(e=window.YouZanHummer)||null==(t=e.mark)||t.end("third-template"))},perfLog:function(){var e,t,n,o=window.performance||window.msPerformance||window.webkitPerformance,r={},i=0,a=0,s=0,c=0,u=0,l=0,d=0,p=0,f=0,h=0,m=0,g=0,v=0,y=0,b=0,w=0;try{var _;i=(r=null==(_=o.timing)?void 0:_.toJSON()).loadEventEnd-r.navigationStart,a=r.domContentLoadedEventEnd-r.navigationStart,s=r.unloadEventEnd-r.unloadEventStart,u=r.redirectEnd-r.redirectStart,c=r.domainLookupStart-r.fetchStart,l=r.domainLookupStart-r.navigationStart,d=r.domainLookupEnd-r.domainLookupStart,p=r.connectEnd-r.connectStart,f=r.responseStart-r.requestStart,h=r.responseEnd-r.responseStart,m=r.domLoading-r.responseEnd,g=r.domInteractive-r.domLoading,v=r.domContentLoadedEventStart-r.domInteractive,y=r.domContentLoadedEventEnd-r.domContentLoadedEventStart,b=r.loadEventStart-r.domContentLoadedEventEnd,w=r.loadEventEnd-r.loadEventStart}catch(e){M.F.end({name:"h5"+this.loggerName+"渲染",type:"error",detail:{err:e}})}E.lO.log({et:"custom",ei:"micro_page_performance",en:"微页面性能打点",params:{timing:r,fs:i,dcl:a,unload:s,redirect:u,appCache:c,beforedns:l,dns:d,tcp:p,request:f,response:h,response2dom:m,dom:g,dom2dcl:v,dclfn:y,dcl2load:b,loadfn:w,device:{userAgent:null==(e=window.navigator)?void 0:e.userAgent,netWork:null==(t=window.navigator)||null==(n=t.connection)?void 0:n.effectiveType},micropage_delay:+!!_global.micropage_delay}})},loadListener:function(){var e=this;setTimeout((function(){e.perfLog(),_global.micropage_delay&&(n.e(4371).then(n.bind(n,54371)),(0,T.S)(_global.micropage_delay_script))}),100)},initEvent:function(){var e;$||this.initIMC(),"homepage"!==(null==(e=window._global)?void 0:e.showcase_type)&&("complete"===document.readyState?this.loadListener():window.addEventListener("load",this.loadListener,!1))},initIMC:function(){var e=window._global||{},t=e.kdt_id,n=e.offlineId,o=e.feature_alias,r=e.offlineData,i=void 0===r?{}:r,a={};if(location.href.indexOf("/feature")>0||location.href.indexOf("/homepage")>0){var s=e.feature_components||[],c=e.mp_data||{},u=s[0]||{};a={kdt_id:t,source:"page",endpoint:"h5",detail:{title:u.title,desc:u.description,alias:o,imgs:[(c||{}).logo]}}}n&&(a.site_id=n,a.site_name=i.name),(0,j.c)({showUnRead:!0,fromSource:a,biz:"shop",kdtId:t,imcUniform:{container:{zIndex:9999}}})},renderShopCertNotice:function(){var e=document.querySelector("#shop-cert-notice");new P.default({el:e,render:function(e){return e(I.A)}})}}},K=J,V=n(14486),Y=(0,V.A)(K,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isTopNavTemplate?e._e():n("div",[n("showcase-container",{attrs:{components:e.featureData},on:{init:e.handlePageInit}})],1)}),[],!1,null,null,null).exports,Q={name:"ShowcaseContainer",components:{"showcase-container":n(86720).A},props:{components:{type:Object},isTopNav:{type:Boolean,default:!1},topNavAlias:{type:String,default:""}},methods:{handlePageInit:function(){this.$emit("init")}}},Z=(0,V.A)(Q,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("showcase-container",{attrs:{components:e.components,"is-top-nav":e.isTopNav,"top-nav-alias":e.topNavAlias},on:{init:e.handlePageInit},scopedSlots:e._u([{key:"decorate-component",fn:function(e){return[n("decorate-component",{attrs:{"cloud-type":e.type,"cloud-component-data":e.data,"cloud-app-name":e.data.cloudAppName}})]}},{key:"on_way_order",fn:function(e){return[n("on-way-order",{attrs:{_opt:e.data}})]}}])},[e.isTopNav?e._e():n("div",{attrs:{slot:"addonAfter"},slot:"addonAfter"},[e._t("filter-addon-after")],2)])],1)}),[],!1,null,null,null).exports,X=(n(95557),n(95760),n(7313),n(6330)),ee=r()(window,"_global.multiple_template_and_optimization",!1);var te=n(51024),ne=function(){function e(e){var t;(0,te.p)(),this.ctx=e.ctx,this.ctx.data.kdtId=window._global.kdt_id,this.ctx.data.shopMetaInfo=window._global.shopMetaInfo,this.ctx.data.goodsShocase="zIndex:10000",this.ctx.data.isShowFloatingNav=!(+window._global.isFullScreenTpl||_global.only_feature_content),this.ctx.data.shopConfig=Object.assign({},window._global.shop_settings,{hide_shopping_cart:+(null==(t=window._global.shop_settings)?void 0:t.is_cart_hidden)}),this.ctx.data.pageKey=e.pageKey,w.init(),this.initCloudScript()}return e.prototype.initCloudScript=function(){var e=_global.feature_components,t=r()(e,"[0].h5_extension_script_url")||r()(e,"[0].h5ExtensionScriptUrl"),n=r()(e,"[0].h5ExtensionScriptUrlMap"),o=r()(e,"[0].templateInfos");(t||!a()(n)||o)&&function(e,t,n){void 0===n&&(n=[]);var o=window._global.feature_components;if(o&&o.length){var r=function(e){var t=[],n={};return e.forEach((function(e,o){e.type&&-1!==e.type.indexOf("extension-")&&t.push(e.type);var r=e.coupon,i=e.goods,a=e.type;if(i&&i.length&&a){var s=i.map((function(e){return e.id}));n[a+"-"+o]=s}if(r&&r.length&&a){var c=r.map((function(e){return e.id}));n[a+"-"+o]=c}})),{components:t,asyncTokens:n}}(o),i=r.components,s=r.asyncTokens;if(i.length){var c="https://b.yzcdn.cn/rontgen/browser/rontgen-sandbox-1.5.5.js";if(n.length&&ee){var u=n.map((function(e){var t=[c];return e.h5VendorsUrl&&t.push(e.h5VendorsUrl),Object.keys(e.h5SplitUrls||{}).length?{components:Object.keys(e.h5SplitUrls),componentScript:{componentUrl:e.h5SplitUrls,dependUrl:t},customCb:function(e){setTimeout((function(){e()}),0)}}:{scriptUrl:[c,e.h5CombineUrl],components:i,customCb:function(e){setTimeout((function(){e()}),0)}}}));(0,X._i)(u)}else if(a()(t))(0,X._i)({scriptUrl:[c,e],components:i,customCb:function(e){setTimeout((function(){e()}),0)}});else{var l=[c];t.vendors&&l.push(t.vendors);var d={components:i,componentScript:{componentUrl:t,dependUrl:l},customCb:function(e){setTimeout((function(){e()}),0)}};_global.needPreLoadThirdJs&&window._thirdJsPromiseMap&&(d.preLoadPromiseMap=window._thirdJsPromiseMap),(0,X._i)(d)}_global.asyncTokens=s}}}(t,n,o)},e}();ne.widgets={Main:Y,ShowcaseContainer:Z}},8496:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var o=n(35984),r=!!_global.only_feature_content,i=null,a={components:{"shop-ad":function(){return i}},props:{},data:function(){return{onlyFeatureContent:r}},created:function(){var e=(r?[null]:(0,o.Ys)({url:"/wscuser/common/components.json",components:["shop-ad"],pureComponents:["shop-ad"]}))[0];e&&(i=e)}},s=(0,n(14486).A)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.onlyFeatureContent?e._e():n("shop-ad"),n("dialog-content")],1)}),[],!1,null,null,null).exports,c=function(e){var t=e.ctx;this.ctx=void 0,this.ctx=t};c.widgets={Main:s}},89773:function(e,t,n){"use strict";n(23792),n(58280),n(29428),n(47764),n(62953),n(62062),n(48980),n(34782),n(81626),n(66006);var o=n(56051),r=n(94495),i=n.n(r),a=n(81274),s=n.n(a),c=n(34869),u=n(1464),l=n(59073),d=n(58937),p=n(75955),f=n(7258),h=n(74896),m=n(32869),g=n.n(m);f.F.start({name:"h5微页面渲染",timeout:10});var v=window._global;v.isH5PerformanceStoreDelaySomeJs&&(v.micropage_delay=!0),v.micropage_delay||n.e(4371).then(n.bind(n,54371)),o.ZNB.init({kdtId:v.hq_kdt_id||v.kdt_id,wxOpenTagList:["wx-open-subscribe"]}).then((function(){}));var y=+s().get("ps"),b=i()(v,"platformInfo.is_mobile"),w=!!s().get("use_global_weapp_top_nav");v.only_feature_content=!!s().get("only_feature_content");var _=!!s().get("use_immersion_weapp_top_nav"),x=!!s().get("use_standard_weapp_top_nav");if(!(y&&320!==y||b)){var S=document.querySelector(".content");S&&(S.style.width="375px")}(0,p.V)(),new(function(){function e(){this.initFeatureComponents(),w&&(0,l.iQ)(document.body,"with-shop-top-nav-in-webview"),_&&(0,l.iQ)(document.body,"with-immersion-shop-top-nav-in-webview"),x&&(0,l.iQ)(document.body,"with-standard-shop-top-nav-in-webview"),(0,d.n)()}var t=e.prototype;return t.initFeatureComponents=function(){var e=[],t={},n=!1;try{e=v.isTopNavTemplate?g()(JSON.parse(unescape(v.feature_components))):JSON.parse(unescape(v.feature_components))}catch(e){f.F.end({name:"h5微页面页渲染",type:"error",detail:{err:e}})}if(v.isH5PerformanceStore){var o=!1;e=e.map((function(e,t){return"goods"===e.type&&!o&&t<=10&&(e.isFirstGoodsComponents=!0,o=!0),e}))}(0,f.i)({logKey:"parseClientCompontent",message:"6.client前端组件正常被解析 compontent:}",callback:function(){return e.components.map((function(e){return e.type}))}});var r=(e=(0,u.A)((0,c.A)(e))).slice(0,8).findIndex((function(e){return"goods"===e.type})),i=!1,a=e.map((function(e,o){return o<=8&&"image_ad"===e.type&&!n&&-1===r?(n=!0,Object.assign({},e,{real_type:e.type,fsMark:!0})):(e&&e.type&&e.type.indexOf("extension")>-1&&(i=!0),"config"===e.type&&(t=e),"navigationbar_config"!==e.type||w||_||x?"navigationbar_config"===e.type&&(w||_||x)?Object.assign({},e,{title:t.title}):"shelf_asset"!==e.type||v.is_support_shelf_assets?Object.assign({},e,{real_type:e.type}):Object.assign({},e,{type:"hide_in_h5"}):Object.assign({},e,{type:"hide_in_h5"}))}));-1!==r&&(a[r].fsMark=!0,n=!0),n||(window.__feature_need_fs_mark=!0),i&&(window.__feature_has_extension=!0),v.feature_components=a,this.initHummerLog()},t.initHummerLog=function(){var e,t,n=v||{},o=n.visitGiftSource,r=n.hummerStartTime;1===o&&r&&(null==(e=window.YouZanHummer)||null==(t=e.mark)||t.start("third-template",r))},e}()),(0,f.i)({logKey:"renderPage",message:"7.client前端组件被渲染"}),h.A.autoAuth({authTypeList:["protocol"]})},7258:function(e,t,n){"use strict";n.d(t,{F:function(){return a},i:function(){return i}});var o=n(71271),r=n(91905),i=function(e){try{var t=e.level,n=void 0===t?"info":t,r=e.message,i=e.logKey,a=_global,s=a.requestId,c=a.needPointSwitch,u=a.user_id,l=a.callback,d="";l&&c&&(d=l()),c&&o.A.log({appName:"wsc-h5-shop",logIndex:i,level:n,message:s+" -- userid:"+u+" "+r+" "+JSON.stringify(d)})}catch(e){}},a=(0,r.Ay)({appName:"wsc-h5-shop",logIndex:"wsc_shop_log",name:"",message:"",level:"",extra:{}})},59704:function(e,t,n){"use strict";n(89169);var o=n(65210),r=(n(66006),n(48343));t.A={getComboList:function(e){return(0,r.Ay)({url:"/wscdeco/combo/combolList.json",data:e,contentType:"application/json"}).then((function(e){return e})).catch((function(e){e.indexOf("网络错误")<0&&(0,o.default)(e||"获取套餐失败")}))}}},59281:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var o=n(37678),r=n(94054),i={name:"component-async-error",mounted:function(){var e=this.$parent._props,t=e.componentIndex,n=e.componentType;this.$nextTick((function(){r.A.$emit("lazy-load:height",{type:n,index:t,msg:"component error"})}))}},a=n(14486),s=(0,a.A)(i,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"component-async-error"})}),[],!1,null,null,null).exports,c=n(92747),u={name:"component-async-loading",data:function(){return{componentType:""}},computed:{loadingStyle:function(){return{backgroundColor:c.oR}}},bindComponentType:function(e){return void 0===e&&(e=""),this.data=function(){return{componentType:e}},this}},l=(0,a.A)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-async-loading",style:e.loadingStyle},[n("div",{staticClass:"component-async-loading__view"})])}),[],!1,null,null,null).exports,d=function(e){return(0,c.Yb)(e)?{loading:l.bindComponentType(e),error:s,delay:0,timeout:3e4}:o.A}},92747:function(e,t,n){"use strict";n.d(t,{B8:function(){return S},CF:function(){return p},NG:function(){return x},R$:function(){return f},Yb:function(){return C},ie:function(){return y},kr:function(){return O},oP:function(){return k},oR:function(){return u}});n(28706),n(66006),n(39719);var o=n(94495),r=n.n(o),i=n(42426),a=n.n(i),s=n(69537),c=n.n(s),u=r()(window,"_global.backgroundColor","#f9f9f9"),l=r()(window,"_global.template_id",0),d=r()(window,"_global.nodeEnv","prod"),p=["search"],f={"showcase-default":0,"showcase-config":0,"showcase-audio":100,"showcase-category":360,"showcase-contact-us":0,"showcase-cube-v3":0,"showcase-cube2":0,"showcase-coupon":110,"showcase-double-eleven":360,"showcase-goods":360,"showcase-groupon":360,"showcase-home-nav":360,"showcase-image-ad":100,"showcase-image-text-nav":50,"showcase-line":10,"showcase-link":42,"showcase-notice":36,"showcase-nav":100,"showcase-old-nav":100,"showcase-offline-shop-info":325,"showcase-period-buy":360,"showcase-rich-text":100,"showcase-search":50,"showcase-shop-banner-weapp":185,"showcase-shop-banner":185,"showcase-store":40,"showcase-tag-list":360,"showcase-tag-list-left":360,"showcase-tag-list-top":360,"showcase-tags":360,"showcase-text":44,"showcase-text-nav":44,"showcase-title":42,"showcase-tpl-wxd":360,"showcase-tpl-dragon-boat":360,"showcase-tpl-2016-11-11":360,"showcase-ump-limitdiscount":360,"showcase-ump-seckill":360,"showcase-white":10,"showcase-classification":360,"showcase-paid-column":360,"showcase-paid-content":360,"showcase-paid-live":360,"showcase-paid-member":360,"showcase-course":360,"showcase-points-goods":360,"showcase-video":360,"showcase-pictorial-magazine":360,"showcase-scroll":360,"showcase-scroll-nav":360,"showcase-showcase":10,"showcase-tpl-course":360,"showcase-tpl-fbb":360,"showcase-tpl-shop":149,"showcase-tpl-weixin":360,"showcase-goods-recommend":100,"showcase-knowledge-goods":360,"showcase-teacher":360,"showcase-edu-regis-form":360,"showcase-title-text":50,"showcase-tag-goods":360,"showcase-social-fans":60,"showcase-qq-group-join":112},h=["link","line","text","cube","white","store","title","notice","search","cube_v2","cube_v3","image_ad","rich_text","title_text","social_fans","related_link","edu-regis-form","image_text_nav","shop_banner_weapp"],m=["rich_text"],g=["contact_us"],v=[].concat(h,["audio","video","goods","coupon","bargain","teacher","groupon","tag_goods","paid_live","note_card","period_buy","paid_column","paid_member","ump_seckill","paid_content","points_goods","tag_list_top","tag_list_left","knowledge-goods","oriented_poster","goods_recommend","ump_limitdiscount","offline_shop_info"],m,g),y=[{type:"image_ad",delay:600,abs_height:0},{type:"image_text_nav",delay:600,abs_height:0},{type:"cube_v3",delay:600,abs_height:0},{type:"search",delay:600,abs_height:20},{type:"social_fans",delay:600,abs_height:0}],b=location.href.indexOf("YZBCTest")>-1,w=c().isWeixin()||b,_=r()(window,"_global.isGuang",!1),x=+l===("qa"===d?3088:2318),S="wholesale",k=w&&!_&&!(83==+l)&&a()([/\/(v2|wscshop)\/(showcase\/)?(homepage|home)/,/\/(v2|wscshop)\/(showcase\/)?feature(?!\/goods\/all)/,/\/(v2|wscshop)\/(showcase\/)?tag/,/\/wscshop\/feature\/goods\/all/],(function(e){return e.test(location.href)})),C=function(e){return k&&function(e){return a()(v,(function(t){return t===e}))}(e)},O=function(e){return a()(h,(function(t){return t===e}))?"NORMAL_LIST":a()(m,(function(t){return t===e}))?"SPECIAL_LIST":!!a()(g,(function(t){return t===e}))&&"FILTER_LIST"}},57834:function(e,t,n){"use strict";n(58280),n(29428);var o=n(50685),r=n(92747);t.A={data:function(){return{needBackForward:!1,openShowcaseHistory:r.oP}},methods:{initKey:function(e){return o.A.initKey(e)},checkBackForward:function(e){return this.needBackForward=o.A.checkBackForward(),!this.needBackForward&&e&&o.A.resetScrollHistory(),Promise.resolve(this.openShowcaseHistory&&this.needBackForward)},backForward:function(){if(this.needBackForward)return o.A.jump()},setScrollHistory:function(e){return o.A.setScrollHistory(e)},getScrollHistory:function(){return o.A.getScrollHistory()}}}},76209:function(e,t,n){"use strict";n(39719),n(86979),n(7313),n(84864),n(38781),n(95557),n(58280),n(95760);t.A={data:function(){return{stickyItemName:"",stickyItemHeight:44,offsetTop:0,tabTransition:!1,isTabFixed:!1}},methods:{onScroll:function(e){var t=e.isFixed,n=this.stickyItemName,o=this.stickyItemHeight;if(this.isTabFixed=t,!t||!this.checkStickyControlItem(n))return this.tabTransition=!1,void this.setStickyControlItem(n,o,!1);t&&this.checkTagListStickySameName();var r=0;t&&!this.hasStickyControlItem(n)&&(this.setStickyControlItem(n,o,t),r=this.getStickyControlItem(n).positionTop,this.offsetTop=r)},checkTagListStickySameName:function(){var e=this,t=this.stickyItemName,n=t.replace(/\d/g,""),o=this.getStickyControl().__stickyControlMap,r=void 0===o?{}:o,i=Object.keys(r),a=new RegExp("^"+n+".+$"),s=!0;return i.forEach((function(n){n!==t&&a.test(n)&&(s=!1,e.setStickyControlItem(n,0,!1))})),s},handelZanTabScrollTop:function(e){var t=this,n=e.type,o=e.stickyTop,r=void 0===o?0:o;switch(n){case"setItem":this.offsetTop=this.getStickyControlNextTop(this.stickyItemName);break;case"stickyTop":this.tabTransition=!0,this.offsetTop=r,setTimeout((function(){t.tabTransition=!1}),300)}}}}},11067:function(e,t,n){"use strict";n.d(t,{A:function(){return m},B:function(){return v}});n(89169);var o,r,i=n(65210),a=(n(30620),n(1609)),s=n(37289),c=n(48343),u=n(11778),l=n.n(u),d=n(74896),p={model:{prop:"alias",event:"change"},props:{alias:String,needLogin:{type:Boolean,default:!0}},components:(o={},o[a.default.name]=a.default,o),data:function(){return{kdtId:_global.kdt_id,dialogShow:!1,isReceived:!1,hasLogin:!1}},mounted:function(){this.alias&&this.touchPlatformCoupon(this.alias)},computed:{dialogTitle:function(){return this.isReceived?"你已添加过该优惠券":"已经添加至我的优惠券"}},watch:{alias:function(e){e&&this.touchPlatformCoupon(e)}},methods:{onClickDialogConfirm:function(){this.dialogShow=!1,this.$emit("close-platform-coupon-pop")},viewCoupon:function(){var e=l()("/wscump/mediator-coupon/collection?kdt_id="+this.kdtId,"h5",this.kdtId);s.redirect({url:e})},touchPlatformCoupon:function(e){this.isReceived=!1,this.$emit("change",""),!this.hasLogin&&this.needLogin?d.A.open({authTypeList:["mobile"]}).then(this.getCoupon.bind(this,e)):this.getCoupon(e)},getCoupon:function(e){var t=this;this.hasLogin=!0;(function(e){return(0,c.Ay)({url:"/wscdeco/ump/platformCoupon/touchCoupon.json",type:"POST",data:e})})({operator:{},alias:e||this.alias}).then((function(e){var n=e.code,o=e.msg;n?349303005===n?(t.isReceived=!0,t.dialogShow=!0):((0,i.default)(o||"未知错误"),t.onClickDialogConfirm()):(t.isReceived=!1,t.dialogShow=!0)})).catch((function(e){(0,i.default)(e||"未知错误"),t.onClickDialogConfirm()}))}}},f=(0,n(14486).A)(p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("van-dialog",{staticClass:"cross-store-coupon-dialog",attrs:{title:e.dialogTitle,"show-confirm-button":!1,"close-on-click-overlay":""},on:{close:e.onClickDialogConfirm},model:{value:e.dialogShow,callback:function(t){e.dialogShow=t},expression:"dialogShow"}},[n("div",{staticClass:"cross-store-coupon-dialog__content"},[n("div",{staticClass:"cross-store-coupon-dialog__message"},[e._v("添加的优惠券可在“个人中心 - 优惠券 / 码”中领取后使用")]),n("div",{staticClass:"cross-store-coupon-dialog__btn-wrapper"},[n("button",{staticClass:"cross-store-coupon-dialog__btn-confirm",on:{click:e.onClickDialogConfirm}},[e._v("继续逛逛")])]),n("div",{staticClass:"cross-store-coupon-dialog__link",on:{click:e.viewCoupon}},[e._v("查看优惠券")])])])}),[],!1,null,"0f6420e0",null).exports,h=n(4048),m=f;function g(){r.show=!1,r.alias=""}function v(e){var t=e.alias,n=void 0===t?"":t,o=e.needLogin,i=void 0===o||o;if(n){if(r)return r.show=!0,void(r.alias=n);var a=document.createElement("div");return a.id="showcase-platform-coupon-pop",document.body.appendChild(a),r=new h.default({el:a,data:function(){return{show:!1,alias:n}},destroyed:function(){document.body.removeChild(a)},render:function(e){return e(f,{vIf:this.show,on:{"close-platform-coupon-pop":g},props:{alias:this.alias,needLogin:i}})}})}}},37678:function(e,t,n){"use strict";n.d(t,{A:function(){return l}});var o,r=n(14486),i=(0,r.A)({},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"error-component"},[e._v("组件加载失败")])}),[],!1,null,null,null).exports,a=(n(53540),n(2609)),s=n(42958),c=n.n(s),u={name:"showcase-loading",components:(o={},o[a.default.name]=a.default,o),data:function(){var e;return{loadingStyle:{height:Math.floor(.8*window.innerHeight)+"px"},hideLoading:(null==(e=window._global)?void 0:e.hide_feature_component_loading)||c().isAppSdk()}}},l={loading:(0,r.A)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.hideLoading?e._e():n("div",{staticClass:"showcase-loading",style:e.loadingStyle},[n("van-loading",{staticClass:"showcase-loading__loading",attrs:{size:"50px"}})],1)}),[],!1,null,null,null).exports,error:i,delay:0,timeout:1e4}},51324:function(e,t,n){"use strict";n(89169);var o=n(65210),r=(n(66006),n(48343));t.A={fetchGroupGoodsList:function(e){return(0,r.Ay)({url:"/wscshop/edu/course/group/findItemGroupPageForWym.json",data:e}).then((function(e){return e})).catch((function(e){e.indexOf("网络错误")<0&&(0,o.default)(e||"获取课程列表失败")}))}}},64126:function(e,t,n){"use strict";n(23792),n(81626),n(58280),n(29428),n(47764),n(62953);var o=n(59281);t.A=function(){return Object.assign({component:n.e(7246).then(n.bind(n,92225))},(0,o.A)("feature_category"))}},25216:function(e,t,n){"use strict";n.d(t,{F:function(){return d},G:function(){return p}});n(39719),n(5746),n(81626);var o=n(48343),r=n(94495),i=n.n(r),a=n(72482),s=n.n(a),c=n(70902),u=n(38291),l=(window._global||{}).isPCPreviewPage?1:0,d=function(e){var t=e.intelligentSortConfig,n=void 0===t?{}:t,r=e.showSoltOutDisplay;if((n.showIntelligentSort===c.IC.SHOW_INTELLIGENT_SORT.OPEN||r===c.zd.OPEN)&&+e.goodsFrom===c.Mo.GOODS)return e.intelligentSortConfig=JSON.stringify(e.intelligentSortConfig),(0,u.iE)({logKey:"sortFetchGoods",message:"发起智能排序商品请求"}),function(e){return(0,o.Ay)({url:"/wscshop/showcase/intelligentSortGoodsList.json",data:Object.assign({},e,{json:1,isPCPreviewPage:l})}).then((function(e){return e})).catch((function(e){}))}(e);delete e.intelligentSortConfig,delete e.allGoodsIds,delete e.showSoltOutDisplay,1658===i()(window,"_global.template_id")&&(e.needCustomerDiscount=!0);var a=s().parse(window.location.search)||{},d=a.clientSource,p=a.isXhsLocalLife;return e.clientSource=1==+d?1:2,e.isXhsLocalLife=p,(0,u.iE)({logKey:"sortFetchGoods",message:"发起正常商品列表请求"}),function(e){return(0,o.Ay)({url:"/wscshop/showcase/goodsList.json",data:Object.assign({},e,{supportCombo:!0,json:1,isPCPreviewPage:l})}).then((function(e){return e})).catch((function(e){}))}(e)};var p=function(e){return(0,o.Ay)({url:"https://h5.youzan.com/wscaccount/api/authorize/data.json",withCredentials:!0,data:{kdt_id:e.kdt_id}}).then((function(e){return e})).catch((function(e){}))}},70902:function(e,t,n){"use strict";n.d(t,{FM:function(){return _},IC:function(){return m},Lc:function(){return v},Mn:function(){return c},Mo:function(){return i},Qe:function(){return h},Rd:function(){return d},Vp:function(){return r},ZJ:function(){return w},Zw:function(){return y},ex:function(){return l},mM:function(){return u},nA:function(){return p},nZ:function(){return s},ox:function(){return b},qd:function(){return a},yG:function(){return f},yQ:function(){return o},zd:function(){return g}});var o=10,r=5,i={GOODS:0,GOODS_LIST:1},a={BIG:0,SMALL:1,BIG1SMALL2:2,DETAIL:3,THREE:5,SWIPE:6},s={MEET_REDUCTION:"MEET_REDUCTION",SECKILL:"SECKILL",LIMIT_TIME_DISDCOUNT:"LIMIT_TIME_DISDCOUNT",BALE:"BALE",DEPOSIT_EXPANSION:"DEPOSIT_EXPANSION",HELP_DEPOSIT_EXPANSION:"HELP_DEPOSIT_EXPANSION",GROUPON:"GROUPON",POSTAGE_FREE:"POSTAGE_FREE",SECOND_HALF:"SECOND_HALF",TUAN:"TUAN",CUSTOMER_DISCOUNT:"CUSTOMER_DISCOUNT",MERGED_CUSTOMER_DISCOUNT:"MERGED_CUSTOMER_DISCOUNT",HELP_CUT:"HELP_CUT",COUPON:"COUPON"},c=["SECKILL","GROUPON","LIMIT_TIME_DISDCOUNT","TUAN"],u=["customerDiscount","mergedCustomerDiscount"],l=["seckill","limitTimeDiscount","groupon","tuan","helpCut","helpDepositExpansion","coupon"],d={primary:"primary",weak:"plain",service:"other"},p="#FAAB0C",f=["seckill","helpCut"],h={SECKILL:"seckill",HELPCUT:"helpCut"},m={SHOW_INTELLIGENT_SORT:{OPEN:"1",CLOSE:"0"},IS_SHOW_ALL:{ALL:"1",CUSTOM:"0"}},g={OPEN:"1",CLOSE:"0"},v={1:"关键",0:"普通"},y={hot_sale:"销量榜",popular:"人气榜",new_arrival:"新品榜"},b=[/\/wscshop\/(tag|allgoods)/,/\/v2\/(showcase\/)?(tag|allgoods)/,/\/feature\/goods\/all/,/\/wscshop\/showcase\/tag/,/\/wscshop\/showcase\/feature\/search/],w={ShoppingCart:1,ShoppingCartTwo:6,HollowAdditionalPurchase:2,SolidPlusPurchase:5},_="2.0.0"},55411:function(e,t,n){"use strict";n(23792),n(81626),n(58280),n(29428),n(47764),n(62953);var o=n(59281);t.A=function(){return Object.assign({component:Promise.all([n.e(2115),n.e(7656),n.e(9680),n.e(8682),n.e(3114),n.e(3393),n.e(7645)]).then(n.bind(n,96258))},(0,o.A)("goods"))}},7088:function(e,t,n){"use strict";n.d(t,{ES:function(){return c},aL:function(){return a},br:function(){return s},hh:function(){return i}});n(81626);var o=n(48343),r={kdtId:window._global.kdt_id,v:"2"},i=function(e){return(0,o.Ay)({url:"/wscshop/ump/groupon/autoObtain.json",data:Object.assign({},r,e)})},a=function(e){return(0,o.Ay)({url:"/wscshop/ump/groupon/manualObtain.json",data:Object.assign({},r,e)})},s=function(e){return(0,o.Ay)({url:"/wscshop/ump/groupon/grouponLuckyList.json",data:Object.assign({},r,e)})},c=function(e){return(0,o.Ay)({url:"/wscshop/ump/groupon/activityList.json",data:Object.assign({},r,e)})}},15008:function(e,t,n){"use strict";n(89169);var o=n(65210),r=(n(66006),n(48343));t.A={getHotelList:function(e){return(0,r.Ay)({url:"/wscshop/showcase/hotel/hotellist.json",data:e,contentType:"application/json"}).then((function(e){return e})).catch((function(e){e.indexOf("网络错误")<0&&(0,o.default)(e||"获取酒店失败")}))}}},80502:function(e,t,n){"use strict";n(89169);var o=n(65210),r=(n(66006),n(48343));t.A={findCourseForWym:function(e){return(0,r.Ay)({url:"/wscshop/edu/course/v2/findPageForWym.json",data:e}).catch((function(e){e.indexOf("网络错误")<0&&(0,o.default)(e||"获取课程列表失败")}))},fetchContentList:function(e){return(0,r.Ay)({url:"/wscshop/showcase/knowledge/contentlist.json",data:e}).then((function(e){return e})).catch((function(e){e.indexOf("网络错误")<0&&(0,o.default)(e||"获取内容列表失败")}))},fetchColumnList:function(e){return(0,r.Ay)({url:"/wscshop/showcase/knowledge/columnlist.json",data:e}).then((function(e){return e})).catch((function(e){e.indexOf("网络错误")<0&&(0,o.default)(e||"获取专栏列表失败")}))},fetchLiveList:function(e){return(0,r.Ay)({url:"/wscshop/showcase/knowledge/livelist.json",data:e}).then((function(e){return e})).catch((function(e){e.indexOf("网络错误")<0&&(0,o.default)(e||"获取直播列表失败")}))},fetchGroupList:function(e){return(0,r.Ay)({url:"/wscshop/edu/course/group/findItemGroupPageForWym.json",data:e}).then((function(e){return e})).catch((function(e){e.indexOf("网络错误")<0&&(0,o.default)(e||"获取课程列表失败")}))}}},62113:function(e,t,n){"use strict";n(89169);var o=n(65210),r=(n(66006),n(48343));t.A={getPaidColumnList:function(e){return(0,r.Ay)({url:"/wscshop/showcase/knowledge/columnlist.json",data:e,contentType:"application/json"}).then((function(e){return e})).catch((function(e){e.indexOf("网络错误")<0&&(0,o.default)(e||"获取专栏信息失败")}))}}},89330:function(e,t,n){"use strict";n(89169);var o=n(65210),r=(n(66006),n(48343));t.A={getPaidContentList:function(e){return(0,r.Ay)({url:"/wscshop/showcase/knowledge/contentlist.json",data:e}).then((function(e){return e})).catch((function(e){e.indexOf("网络错误")<0&&(0,o.default)(e||"获取内容信息失败")}))}}},91865:function(e,t,n){"use strict";var o=n(48343);t.A={getLiveData:function(e){return(0,o.Ay)({type:"get",url:"/wscshop/showcase/knowledge/livelist.json",data:e,errorMsg:"获取直播信息失败"})}}},21833:function(e,t,n){"use strict";n(89169);var o=n(65210),r=n(48343);t.A={getPaidMemberList:function(e){return(0,r.Ay)({url:"/wscshop/showcase/knowledge/memberlist.json",data:e}).then((function(e){return e})).catch((function(e){(0,o.default)(e||"获取会员信息失败")}))}}},4622:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});n(23792),n(81626),n(58280),n(29428),n(47764),n(62953);var o={name:"punch-loading"},r=(0,n(14486).A)(o,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("loading...")])}),[],!1,null,null,null).exports,i=n(37678),a=function(){return Object.assign({component:Promise.all([n.e(2676),n.e(6854),n.e(2651)]).then(n.bind(n,9553)),loading:r},i.A)}},70863:function(e,t,n){"use strict";n(23792),n(81626),n(58280),n(29428),n(47764),n(62953);var o=n(59281);t.A=function(){return Object.assign({component:Promise.all([n.e(2838),n.e(409)]).then(n.bind(n,272))},(0,o.A)("rich_text"))}},11712:function(e,t,n){"use strict";n(89169);var o=n(65210),r=(n(66006),n(48343));t.A={getRoomTypeList:function(e){return(0,r.Ay)({url:"/wscshop/showcase/hotel/roomlist.json",data:e,contentType:"application/json"}).then((function(e){return e})).catch((function(e){e.indexOf("网络错误")<0&&(0,o.default)(e||"获取房型失败")}))}}},35771:function(e,t,n){"use strict";n(23792),n(81626),n(58280),n(29428),n(47764),n(62953);var o=n(59281);t.A=function(){return Object.assign({component:Promise.all([n.e(2115),n.e(162),n.e(2981)]).then(n.bind(n,93910))},(0,o.A)("search"))}},78680:function(e,t,n){"use strict";n.d(t,{Ay:function(){return Ot},ut:function(){return At},D:function(){return It},KP:function(){return jt},_2:function(){return Tt}});n(48598),n(39719),n(33744),n(95557),n(58280),n(95760),n(66006);var o,r=n(94495),i=n.n(r),a=(n(23792),n(81626),n(29428),n(47764),n(62953),n(59281)),s=function(){return Object.assign({component:n.e(745).then(n.bind(n,84622))},(0,a.A)("audio"))},c=function(){return Object.assign({component:Promise.all([n.e(7656),n.e(4881)]).then(n.bind(n,59787))},(0,a.A)("bargain"))},u=function(){return Object.assign({component:n.e(512).then(n.bind(n,57761))},(0,a.A)("contact_us"),{loading:null})},l=function(){return Object.assign({component:Promise.all([n.e(1630),n.e(3230)]).then(n.bind(n,49450))},(0,a.A)("cube"))},d=function(){return Object.assign({component:n.e(5864).then(n.bind(n,69901))},(0,a.A)("cube2"))},p=n(37678),f=n(55411),h=function(){return Object.assign({component:n.e(1060).then(n.bind(n,58863))},(0,a.A)("goods_recommend"))},m=function(){return Object.assign({component:Promise.all([n.e(7656),n.e(8325)]).then(n.bind(n,95691))},(0,a.A)("groupon"))},g=function(){return Object.assign({component:Promise.all([n.e(1630),n.e(5432),n.e(103)]).then(n.bind(n,73573))},(0,a.A)("crowds_image_ad"))},v=function(){return Object.assign({component:Promise.all([n.e(1630),n.e(5432),n.e(9923)]).then(n.bind(n,17579))},(0,a.A)("image_ad"))},y=function(){return Object.assign({component:Promise.all([n.e(2543),n.e(223)]).then(n.bind(n,49088))},(0,a.A)("line"))},b=function(){return Object.assign({component:n.e(3485).then(n.bind(n,62309))},(0,a.A)("notice"))},w={name:"nav-loading"},_=n(14486),x=(0,_.A)(w,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("loading...")])}),[],!1,null,null,null).exports,S=function(){return Object.assign({component:n.e(2600).then(n.bind(n,64598)),loading:x},p.A)},k=function(){return Object.assign({component:n.e(1220).then(n.bind(n,95229))},(0,a.A)("offline_shop_info"))},C=function(){return Object.assign({component:n.e(133).then(n.bind(n,58377))},(0,a.A)("period_buy"))},O=function(){return Object.assign({component:n.e(9763).then(n.bind(n,61939))},(0,a.A)("related_link"))},A=n(70863),P=n(35771),I=function(){return Object.assign({component:n.e(474).then(n.bind(n,61097))},(0,a.A)("hot_words_reference"))},T=function(){return Object.assign({component:n.e(5720).then(n.bind(n,77865))},(0,a.A)("shop_banner_weapp"))},j=function(){return Object.assign({component:n.e(5648).then(n.bind(n,76141))},(0,a.A)("store"))},E=function(){return Object.assign({component:Promise.all([n.e(2115),n.e(7656),n.e(162),n.e(9680),n.e(8682),n.e(3114),n.e(3393),n.e(7662)]).then(n.bind(n,62261))},(0,a.A)("tag_list_top"))},L=function(){return Object.assign({component:Promise.all([n.e(2115),n.e(7656),n.e(162),n.e(9680),n.e(8682),n.e(8328),n.e(3114),n.e(3393),n.e(1313)]).then(n.bind(n,93342))},(0,a.A)("tag_list_left"))},N=function(){return Object.assign({component:Promise.all([n.e(1630),n.e(5432),n.e(9664)]).then(n.bind(n,38465))},(0,a.A)("text"))},M=function(){return Object.assign({component:Promise.all([n.e(2115),n.e(7656),n.e(162),n.e(1439),n.e(94)]).then(n.bind(n,42079))},(0,a.A)("ump_limitdiscount"))},D=function(){return Object.assign({component:n.e(3805).then(n.bind(n,17575))},(0,a.A)("title"))},B=function(){return Object.assign({component:Promise.all([n.e(9900),n.e(6837),n.e(6208)]).then(n.bind(n,57153))},(0,a.A)("white"))},z=function(){return Object.assign({component:Promise.all([n.e(9680),n.e(881),n.e(3114),n.e(3400)]).then(n.bind(n,97054)),loading:null},p.A)},R=function(){return Object.assign({component:n.e(5860).then(n.bind(n,78020)),loading:null},p.A)},F={name:"category-loading"},W=(0,_.A)(F,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("loading...")])}),[],!1,null,null,null).exports,U=function(){return Object.assign({component:Promise.all([n.e(2115),n.e(8242)]).then(n.bind(n,5872))},(0,a.A)("paid_column"))},H=function(){return Object.assign({component:Promise.all([n.e(2115),n.e(7683)]).then(n.bind(n,36406))},(0,a.A)("paid_content"))},G=function(){return Object.assign({component:Promise.all([n.e(2115),n.e(9210)]).then(n.bind(n,41398))},(0,a.A)("paid_live"))},$=function(){return Object.assign({component:Promise.all([n.e(2115),n.e(4770)]).then(n.bind(n,38204))},(0,a.A)("paid_member"))},q=n(4622),J={name:"course-loading"},K=(0,_.A)(J,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("loading...")])}),[],!1,null,null,null).exports,V=function(){return Object.assign({component:n.e(3990).then(n.bind(n,37771)),loading:K},p.A)},Y=function(){return Object.assign({component:Promise.all([n.e(7656),n.e(8497)]).then(n.bind(n,17613))},(0,a.A)("points_goods"))},Q=function(){return Object.assign({component:n.e(1815).then(n.bind(n,94295))},p.A)},Z=function(){return Object.assign({component:n.e(1971).then(n.bind(n,93605))},p.A)},X=function(){return Object.assign({component:n.e(4190).then(n.bind(n,10150))},(0,a.A)("video"))},ee=function(){return Object.assign({component:Promise.all([n.e(1630),n.e(5432),n.e(2628)]).then(n.bind(n,42291))},(0,a.A)("oriented_poster"))},te=function(){return Object.assign({component:Promise.all([n.e(1839),n.e(7813),n.e(9921),n.e(2636),n.e(5173)]).then(n.bind(n,44585))},(0,a.A)("knowledge-goods"))},ne=function(){return Object.assign({component:Promise.all([n.e(1839),n.e(7813),n.e(3483)]).then(n.bind(n,45864))},(0,a.A)("teacher"))},oe=function(){return Object.assign({component:Promise.all([n.e(4268),n.e(3108)]).then(n.bind(n,91964))},(0,a.A)("note_card"))},re=function(){return Object.assign({component:Promise.all([n.e(7813),n.e(2676),n.e(182),n.e(1401)]).then(n.bind(n,95029))},(0,a.A)("edu-regis-form"))},ie=function(){return Object.assign({component:Promise.all([n.e(1630),n.e(511)]).then(n.bind(n,62767))},(0,a.A)("title_text"))},ae=function(){return Object.assign({component:n.e(6483).then(n.bind(n,49520))},(0,a.A)("social_fans"))},se=function(){return Object.assign({component:Promise.all([n.e(2115),n.e(7656),n.e(9680),n.e(2838),n.e(8682),n.e(489),n.e(3114),n.e(3393),n.e(1718)]).then(n.bind(n,50202))},(0,a.A)("tag_goods"))},ce={name:"edu-goods-group-loading"},ue=(0,_.A)(ce,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("loading...")])}),[],!1,null,null,null).exports,le=function(){return Object.assign({component:Promise.all([n.e(1839),n.e(7813),n.e(9921),n.e(7163)]).then(n.bind(n,88371)),loading:ue},p.A)},de=function(){return Object.assign({component:Promise.all([n.e(7656),n.e(6334)]).then(n.bind(n,32153))},(0,a.A)("member_goods"))},pe={name:"edu-group-loading"},fe=(0,_.A)(pe,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("loading...")])}),[],!1,null,null,null).exports,he=function(){return Object.assign({component:Promise.all([n.e(1839),n.e(7813),n.e(9921),n.e(6380)]).then(n.bind(n,41508)),loading:fe},p.A)},me=function(){return Object.assign({component:Promise.all([n.e(1839),n.e(9731)]).then(n.bind(n,63947))},(0,a.A)("edu-brand"))},ge=function(){return Object.assign({component:Promise.all([n.e(2657),n.e(5952)]).then(n.bind(n,80356))},(0,a.A)("edu-trial"))},ve=n(64126),ye=function(){return Object.assign({component:n.e(6765).then(n.bind(n,56813))},(0,a.A)("hotel"))},be=function(){return Object.assign({component:n.e(6765).then(n.bind(n,34110))},(0,a.A)("room-type"))},we=function(){return Object.assign({component:n.e(4267).then(n.bind(n,92421))},(0,a.A)("member_value"))},_e=function(){return Object.assign({component:n.e(396).then(n.bind(n,7399))},(0,a.A)("reward_points"))},xe=function(){return Object.assign({component:n.e(5340).then(n.bind(n,1828))},(0,a.A)("qq_group_join"))},Se=function(){return Object.assign({component:n.e(7928).then(n.bind(n,30853))},(0,a.A)("groupbuying-header"))},ke=function(){return Object.assign({component:Promise.all([n.e(2838),n.e(9620),n.e(9131)]).then(n.bind(n,53629))},(0,a.A)("groupbuying-goods"))},Ce=function(){return Object.assign({component:n.e(7928).then(n.bind(n,5372))},(0,a.A)("groupbuying-order-list"))},Oe=function(){return Object.assign({component:Promise.all([n.e(2115),n.e(7656),n.e(162),n.e(1439),n.e(1601)]).then(n.bind(n,69475))},(0,a.A)("groupbuying_limited_discount"))},Ae=(n(96995),n(46611)),Pe=(n(64784),n(41718)),Ie=(n(30620),n(1609)),Te=(n(5859),n(71649)),je=(n(89169),n(65210)),Ee=(n(92503),n(46876)),Le=(n(53540),n(2609)),Ne=n(4048),Me=n(56051),De=n(11977),Be=n(31635),ze=function(e,t){var n=null,o=function(){if(n)return Promise.resolve(n);var t=(0,De.default)(e).then((function(e){return n=e}));return n=t,t};return(null==t?void 0:t.immediately)&&o(),o},Re=window,Fe=function(e,t){var n;return!!(null===(n=null==Re?void 0:Re[e])||void 0===n?void 0:n[t])},We=function(e,t){var n,o;return null===(o=null===(n=null==Re?void 0:Re[e])||void 0===n?void 0:n[t])||void 0===o?void 0:o.default},Ue="$$VUE_COMPONENTS_INJECTOR$$",He={height:"100%",display:"flex","align-items":"center","justify-content":"center",margin:"8px 0"},Ge=function(e){return e instanceof Error?"["+e.name+"]: "+e.message:JSON.stringify(e)},$e={data:function(){return{loading:!1,comp:""}},computed:{useLoading:function(){return!!this.$props[Ue].loadingConfig},loadingStyle:function(){return this.useLoading&&this.$props[Ue].loadingConfig.style||He},loadingContent:function(){return this.useLoading&&this.$props[Ue].loadingConfig.content}},created:function(){var e=this,t=this.$props[Ue],n=t.link,o=t.namespace,r=t.componentName,i=t.loadResource,a=t.paasLog,s=t.logStrategy;try{if(!n)return void this.useBackup();if(Fe(o,r))return void(this.comp=We(o,r));this.loading=!0,i(r).then((function(){Fe(o,r)?e.comp=We(o,r):e.useBackup(),e.loading=!1})).catch((function(t){if(e.useBackup(),t instanceof Event){var o=t.target,i=o.src||o.href;s.loadAssets&&a({name:"[Load Assets Failed] componentName: "+r+", link: "+n,message:"Asset Link: "+i,level:s.loadAssets})}else s.fetchResource&&a({name:"[Fetch Resource Failed] componentName: "+r+", link: "+n,message:Ge(t),level:s.fetchResource});e.loading=!1}))}catch(e){this.useBackup(),s.unknow&&a({name:"[Unknow Error] componentName: "+r+", link: "+n,message:Ge(e),level:s.unknow})}},methods:{useBackup:function(){var e=this,t=this.$props[Ue],n=t.namespace,o=t.componentName,r=t.loadBackup;try{Promise.resolve(r(o)).then((function(t){!function(e,t,n){Re[e]=Re[e]||{},Re[e][t]=n}(n,o,t),e.comp=We(n,o)}))}catch(e){}}},errorCaptured:function(e){var t=this.$props[Ue],n=t.componentName,o=t.link,r=t.paasLog,i=t.logStrategy;return i.execute&&r({name:"[Vue errorCaptured] componentName: "+n+", link: "+o,message:Ge(e),level:i.execute}),this.useBackup(),!1},render:function(e){var t=this,n=this;if(n.useLoading&&n.loading)return e("div",{style:n.loadingStyle},[n.loadingContent?e("loading-comp",[n.loadingContent]):e("loading-comp")]);if(!n.loading&&n.comp){var o={},r=function(e){"default"!==e&&(o[e]=function(){return t.$slots[e]})};for(var i in this.$slots)r(i);var a=e(n.comp,{on:this.$listeners,attrs:this.$attrs,scopedSlots:(0,Be.__assign)((0,Be.__assign)({},this.$scopedSlots),o)},this.$slots.default);return e("div",{class:n.$props[Ue].containerClassName},[a])}return e("div")}},qe=Ne.default.extend({functional:!0,name:"vue-component-injector-loading",render:function(e,t){return e("div",t.data,t.children)}});!function(e){e.error="error",e.warn="warn",e.info="info",e.debug="debug"}(o||(o={}));var Je={log:function(){return!1},paasLog:function(){return!1}};var Ke={},Ve=/\.js$/,Ye=/\.css$/;function Qe(e,t){Ke[e]={loadingPromise:t}}function Ze(e){return Ve.test(e)?function(e){if(Ke[e])return Ke[e].loadingPromise;var t=new Promise((function(t,n){var o=document.createElement("script");o.src=e,o.addEventListener("load",(function(){return t()})),o.addEventListener("error",(function(e){return n(e)})),document.body.appendChild(o)}));return Qe(e,t),t}(e):Ye.test(e)?function(e){if(Ke[e])return Ke[e].loadingPromise;var t=new Promise((function(t,n){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.href=e,o.addEventListener("load",(function(){return t()})),o.addEventListener("error",(function(e){return n(e)})),document.getElementsByTagName("head")[0].appendChild(o)}));return Qe(e,t),t}(e):Promise.reject(new Error("invalid assets url"))}function Xe(e){return void 0===e&&(e={}),function(e){for(var t=Promise.resolve(),n=0,o=e;nn-r&&t-nr&&this.eventBus.$emit("lazy-load:check","lazy-load:check"),this.componentHeight=r,C(t,n,r),this.delayCheckComponentHeight(t,n,r)}},delayCheckComponentHeight:function(e,t){var n=this,o=v()(k.ie,(function(t){return t.type===e}));if(!(o<0))var r=k.ie[o],i=setTimeout((function(){try{var o=n.$el.firstChild,a=Math.floor(w.A.getVisibleHeight(o));Math.abs(a-n.componentHeight)>r.abs_height&&(n.componentHeight=a,C(e,t,a))}catch(e){}clearTimeout(i)}),r.delay)},consoleMsg:function(e,t,n,o){var r=20-t.length,i=Math.ceil(r/2),a=r-i;n=n++<9?"0"+n:n,t=" ".repeat(i)+t+" ".repeat(a),o="_".repeat(10-(""+o).length)+o},handleElShow:function(){var e=this;this.scrollEl.removeEventListener("scroll",this.onScroll),this.isLoading=!1,this.eventBus.$off("lazy-load:check",this.init),this.useAsync||setTimeout((function(){var t=w.A.getVisibleHeight(e.$el),n=e.componentType,o=e.componentIndex;(e.notLazy&&O(n)||e.lazyHeight>t)&&e.eventBus.$emit("lazy-load:check","lazy-load:check"),C(n,o,t)}),2e3)},observeElShow:function(){var e=this;window.IntersectionObserver&&(o=new IntersectionObserver((function(t){var n,r;(null==(n=t[0])?void 0:n.intersectionRatio)>0&&(null==(r=o)||r.disconnect(),e.isLoading&&e.handleElShow())}))).observe(this.$el)}}},I=n(14486),T=(0,I.A)(P,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{directives:[{name:"lazy",rawName:"v-lazy:background-image",value:e.imageUrl,expression:"imageUrl",arg:"background-image"}],class:["lazy-component","lazy-component__image",e.elevatorNavigationPositionClass],style:e.heightStyle,attrs:{id:e.lazyComponentId,"data-lazy-log-params":e.getLogParams,"data-lazy-log":e.dataLazyLog,"data-lazy-type":"components"}},[e._t("default",null,{isLoading:e.isLoading,loaded:e.loaded})],2)}),[],!1,null,null,null).exports,j=n(57834),E=n(94054),L=n(79674),N=n.n(L),M=n(82179),D=n.n(M),B=n(32869),z=n.n(B),R="components_style_",F=D()(8),W=function(e,t){for(var n=-1,o=t.length,r={};++no)break;n+=k.R$[a]||k.R$["showcase-default"],t=r}return t}(this.curComponents)},getComponentType:function(e){return(0,f.ut)(e)},isThirdTemplateComponent:function(e){return 0===(null==e?void 0:e.indexOf("extension-"))},getComponent:function(e){if(e)return this.isThirdTemplateComponent(e)?e:Object.assign({},f.Ay,this.customComponents)[this.getComponentType(e)]},getDataLazyLog:function(e){return q.includes(e)?0:1},getComponentHeight:function(e,t){return function(e,t){if(e){var n=e+t,o=S.A.getScrollHistory();return b()(o[n])?k.R$[(0,f.ut)(e)]||k.R$["showcase-default"]:o[n]}}(e,t)},getComponentHeightStyle:function(e,t){return{height:this.getComponentHeight(e,t)+"px",backgroundColor:k.oR}},useAsync:function(e){return(0,k.Yb)(e)},getComponentLoggerParams:function(e,t,n){var o=e.componentIndex;return function(e,t,n,o){var r=z()(e),i=G(r.type),a=o+"~"+i+"."+(t+1)+"~0~"+n,s=$(r);return Object.assign({item_type:"component",component:i,banner_id:a},s)}(e,void 0===o?t:o,n,this.loggerSpm)},getComponentLoggerExtraParams:function(e){return $(e)},getComponentLoggerType:function(e){return G(e)},getNotLazyComponent:function(e,t){if(this.isThirdTemplateComponent(e))return!1;var n=O(e);return t<=this.signIndex||n},injectAsyncFlowEntranceIconComponents:function(){var e=this;_global.only_feature_content||setTimeout((function(){var t=(0,K.Bx)([],["flow-entrance-icon"],{needLoadDependencies:e.isFeaturePage})[0];e.asyncFlowEntranceIcon=t}),0)}}},ee=X,te=(0,I.A)(ee,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"showcase-components-container"},[e._l(e.curComponents,(function(t,o){return[n("lazy-component",{key:t.key||o,attrs:{"not-lazy":e.getNotLazyComponent(t.type,o),"feature-alias":e.featureAlias,"component-type":t.type,"component-index":o,"event-bus":e.eventBus,"use-async":e.useAsync(t.type),"is-back-forward":e.isBackForward,"lazy-height":e.getComponentHeight(t.type,o),"log-params":e.getComponentLoggerParams(t,o,e.pageRandomNumber),"data-lazy-log":e.getDataLazyLog(t.type),uuid:t.uuid,"is-top-nav":e.isTopNav,"top-nav-alias":e.topNavAlias,"is-third-template-component":e.isThirdTemplateComponent(t.type)},scopedSlots:e._u([{key:"default",fn:function(r){return[r.isLoading?n("div",{staticClass:"lazy-component__loading",style:e.getComponentHeightStyle(t.type,o)},[n("div",{staticClass:"load-view"})]):t.isOpenV2?e._t("decorate-component",null,{type:t.type,data:t}):"on_way_order"===t.type?e._t(t.type,null,{data:t}):n(e.getComponent(t.type),{key:t.key||o,tag:"component",attrs:{"component-data":t,"component-index":o,"component-type":t.type,"global-data":e.globalData,"event-bus":e.eventBus,"lazy-key":e.featureAlias,"is-top-nav":e.isTopNav,"top-nav-alias":e.topNavAlias,"is-back-forward":e.isBackForward,"logger-spm":e.loggerSpm,"page-random-number":e.pageRandomNumber,"logger-name":e.getComponentLoggerType(t.type),"extra-log-params":e.getComponentLoggerExtraParams(t),loaded:r.loaded,"keep-original-image":e.keepOriginalImage},on:{"buy-click":e.handleBuyClick}},[e._l(Object.keys(e.$slots),(function(t){return n("template",{slot:t},[e._t(t)],2)}))],2)]}}])})]})),"tag"===e.showcaseType?n("showcase-cps-goods-recommend",{attrs:{"cps-config-key":"cps_goods_recommend_goods_group"}}):e._e(),!e.asyncInject&&e.isFeaturePage?n("flow-entrance-icon",{attrs:{"biz-name":"feature"}}):e._e(),e.asyncInject&&e.isFeaturePage&&e.asyncFlowEntranceIcon?n(e.asyncFlowEntranceIcon,{tag:"component",attrs:{"biz-name":"feature"}}):e._e()],2)}),[],!1,null,null,null).exports,ne=f.Ay},59203:function(e,t,n){"use strict";n(89169);var o=n(65210),r=n(48343);t.A={fetchTeacherList:function(e){return(0,r.Ay)({url:"/wscvis/edu/listTeacherForWym.json",data:e}).then((function(e){return e})).catch((function(e){(0,o.default)(e||"获取老师列表失败")}))}}},48060:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});n(89169);var o=n(65210),r=(n(81626),n(48343)),i=(window._global||{}).isPCPreviewPage?1:0,a=function(e){return(0,r.Ay)({url:"/wscshop/ump/limitDiscount/limitDiscountList.json",data:Object.assign({t:(new Date).getTime(),json:1,isPCPreviewPage:i},e)}).then((function(e){return e})).catch((function(e){(0,o.default)(e||"限时折扣数据获取失败")}))}},31374:function(e,t){"use strict";function n(e){this.listenerMap=[{},{}],e&&this.root(e),this.handle=n.prototype.handle.bind(this),this._removedListeners=[]}function o(e,t){return e.toLowerCase()===t.tagName.toLowerCase()}function r(e,t){return this.rootElement===window?t===document||t===document.documentElement||t===window:this.rootElement===t}function i(e,t){return e===t.id}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n.prototype.root=function(e){var t,n=this.listenerMap;if(this.rootElement){for(t in n[1])n[1].hasOwnProperty(t)&&this.rootElement.removeEventListener(t,this.handle,!0);for(t in n[0])n[0].hasOwnProperty(t)&&this.rootElement.removeEventListener(t,this.handle,!1)}if(!e||!e.addEventListener)return this.rootElement&&delete this.rootElement,this;for(t in this.rootElement=e,n[1])n[1].hasOwnProperty(t)&&this.rootElement.addEventListener(t,this.handle,!0);for(t in n[0])n[0].hasOwnProperty(t)&&this.rootElement.addEventListener(t,this.handle,!1);return this},n.prototype.captureForType=function(e){return-1!==["blur","error","focus","load","resize","scroll"].indexOf(e)},n.prototype.on=function(e,t,n,a){var s,c,u,l;if(!e)throw new TypeError("Invalid event type: "+e);if("function"==typeof t&&(a=n,n=t,t=null),void 0===a&&(a=this.captureForType(e)),"function"!=typeof n)throw new TypeError("Handler must be a type of Function");return s=this.rootElement,(c=this.listenerMap[a?1:0])[e]||(s&&s.addEventListener(e,this.handle,a),c[e]=[]),t?/^[a-z]+$/i.test(t)?(l=t,u=o):/^#[a-z0-9\-_]+$/i.test(t)?(l=t.slice(1),u=i):(l=t,u=Element.prototype.matches):(l=null,u=r.bind(this)),c[e].push({selector:t,handler:n,matcher:u,matcherParam:l}),this},n.prototype.off=function(e,t,n,o){var r,i,a,s,c;if("function"==typeof t&&(o=n,n=t,t=null),void 0===o)return this.off(e,t,n,!0),this.off(e,t,n,!1),this;if(a=this.listenerMap[o?1:0],!e){for(c in a)a.hasOwnProperty(c)&&this.off(c,t,n);return this}if(!(s=a[e])||!s.length)return this;for(r=s.length-1;r>=0;r--)i=s[r],t&&t!==i.selector||n&&n!==i.handler||(this._removedListeners.push(i),s.splice(r,1));return s.length||(delete a[e],this.rootElement&&this.rootElement.removeEventListener(e,this.handle,o)),this},n.prototype.handle=function(e){var t,n,o,r,i,a=e.type,s=[],c="ftLabsDelegateIgnore";if(!0!==e[c]){switch(3===(i=e.target).nodeType&&(i=i.parentNode),i.correspondingUseElement&&(i=i.correspondingUseElement),o=this.rootElement,e.eventPhase||(e.target!==e.currentTarget?3:2)){case 1:s=this.listenerMap[1][a];break;case 2:this.listenerMap[0]&&this.listenerMap[0][a]&&(s=s.concat(this.listenerMap[0][a])),this.listenerMap[1]&&this.listenerMap[1][a]&&(s=s.concat(this.listenerMap[1][a]));break;case 3:s=this.listenerMap[0][a]}var u,l=[];for(n=s.length;i&&n;){for(t=0;t-1&&i.hasAttribute("disabled")?l=[]:r.matcher.call(i,r.matcherParam,i)&&l.push([e,i,r]);if(i===o)break;if(n=s.length,(i=i.parentElement||i.parentNode)instanceof HTMLDocument)break}for(t=0;t-1)&&!1===this.fire.apply(this,l[t])){l[t][0][c]=!0,l[t][0].preventDefault(),u=!1;break}return u}},n.prototype.fire=function(e,t,n){return n.handler.call(t,e,t)},n.prototype.destroy=function(){this.off(),this.root()};var a=n;t.default=a,e.exports=t.default},38859:function(e,t,n){var o=n(10019),r=n(31380),i=n(51459);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t0&&i(l)?n>1?e(l,n-1,i,a,s):o(s,l):a||(s[s.length]=l)}return s}},86649:function(e,t,n){var o=n(83221)();e.exports=o},30641:function(e,t,n){var o=n(86649),r=n(20150);e.exports=function(e,t){return e&&o(e,t,r)}},28077:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},96131:function(e,t,n){var o=n(2523),r=n(85463),i=n(76959);e.exports=function(e,t,n){return t==t?i(e,t,n):o(e,r,n)}},60270:function(e,t,n){var o=n(87068),r=n(20347);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:o(t,n,i,a,e,s))}},87068:function(e,t,n){var o=n(57006),r=n(25911),i=n(21986),a=n(50689),s=n(67626),c=n(75556),u=n(71148),l=n(19576),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=c(e),b=c(t),w=y?p:s(e),_=b?p:s(t),x=(w=w==d?f:w)==f,S=(_=_==d?f:_)==f,k=w==_;if(k&&u(e)){if(!u(t))return!1;y=!0,x=!1}if(k&&!x)return v||(v=new o),y||l(e)?r(e,t,n,m,g,v):i(e,t,w,n,m,g,v);if(!(1&n)){var C=x&&h.call(e,"__wrapped__"),O=S&&h.call(t,"__wrapped__");if(C||O){var A=C?e.value():e,P=O?t.value():t;return v||(v=new o),g(A,P,n,m,v)}}return!!k&&(v||(v=new o),a(e,t,n,m,g,v))}},41799:function(e,t,n){var o=n(57006),r=n(60270);e.exports=function(e,t,n,i){var a=n.length,s=a,c=!i;if(null==e)return!s;for(e=Object(e);a--;){var u=n[a];if(c&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++ar?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++o-1?s[c?t[u]:u]:void 0}}},25911:function(e,t,n){var o=n(38859),r=n(14248),i=n(19219);e.exports=function(e,t,n,a,s,c){var u=1&n,l=e.length,d=t.length;if(l!=d&&!(u&&d>l))return!1;var p=c.get(e);if(p&&c.get(t))return p==t;var f=-1,h=!0,m=2&n?new o:void 0;for(c.set(e,t),c.set(t,e);++f0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},76959:function(e){e.exports=function(e,t,n){for(var o=n-1,r=e.length;++o-1:!!l&&o(e,t,n)>-1}},5187:function(e){e.exports=function(e){return null===e}},85015:function(e,t,n){var o=n(79543),r=n(75556),i=n(20347);e.exports=function(e){return"string"==typeof e||!r(e)&&i(e)&&"[object String]"==o(e)}},62216:function(e){e.exports=function(e){return void 0===e}},68090:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},79674:function(e,t,n){var o=n(13026),r=n(30641),i=n(15389);e.exports=function(e,t){var n={};return t=i(t,3),r(e,(function(e,r,i){o(n,t(e,r,i),e)})),n}},6048:function(e){e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},42194:function(e,t,n){var o=n(15389),r=n(6048),i=n(71086);e.exports=function(e,t){return i(e,r(o(t)))}},44383:function(e,t,n){var o=n(76001),r=n(16435)((function(e,t){return null==e?{}:o(e,t)}));e.exports=r},71086:function(e,t,n){var o=n(85867),r=n(15389),i=n(97420),a=n(4105);e.exports=function(e,t){if(null==e)return{};var n=o(a(e),(function(e){return[e]}));return t=r(t),i(e,n,(function(e,n){return t(e,n[0])}))}},50583:function(e,t,n){var o=n(47237),r=n(17255),i=n(71791),a=n(89407);e.exports=function(e){return i(e)?o(a(e)):r(e)}},14174:function(e,t,n){var o=n(15389),r=n(50306);e.exports=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,a=[],s=e.length;for(t=o(t,3);++i-1}))),s===h)&&(f=S()(_global,"themeColors",{}).general,m=p);t.imgMode=d,t.list=g,t.activeColor=f,t.color=m,t.navStyle=c||1,t.customBackgroundColor=u||"#fbfbfb"}))},methods:{handleNativeTabbarChange:function(e){var t,n=this,o=j().get("use_native",location.href),r=+j().get("is_ecloud",location.href),i=this.list[e]||{};if(i.linkType)!function(e,t){void 0===t&&(t={});var n=e.type,o=e.alias,r=e.linkType,i=void 0===r?"":r,a=(e.linkId,e.linkUrl),s=void 0===a?"":a,c=e.linkTitle,u=void 0===c?"":c,l=e.extraData,d=void 0===l?{}:l,p=e.query,f=void 0===p?{}:p,h=e.goodsAlias,m=t,g=m.kdtId,v=m.banner_id,y={kdt_id:g},b={};if(v&&(b.banner_id=v),"homepage"===(n=i||n))M.switchTab("Home",Object.assign({},b,y)).catch((function(){M.navigate("Home",Object.assign({},b,y))}));else if("goods"===n&&o)M.navigate("GoodsDetail",Object.assign({alias:o},f,b));else if("feature"===n&&o)M.navigate("Feature",Object.assign({alias:o},b));else if("tag"===n){var w=o?{alias:o}:j().getAll(s);w.alias&&M.navigate("GoodsTag",Object.assign({alias:w.alias,title:u},b))}else if("cart"===n)M.switchTab("Cart",Object.assign({},b,y)).catch((function(){M.navigate("Cart",Object.assign({},b,y))}));else if("usercenter"===n)M.switchTab("Usercenter",Object.assign({},b,y)).catch((function(){M.navigate("Usercenter",Object.assign({},b,y))}));else if("shopnote"===n)M.switchTab("Shopnote",Object.assign({},b,y)).catch((function(){M.navigate("Shopnote",Object.assign({},b,y))}));else if("allgoods"===n)M.navigate("AllGoodsList",Object.assign({title:u},b));else if("coupon"===n)M.navigate("CouponDetail",Object.assign({id:e.link_id||e.linkId,type:7===(e.coupon_type||e.couponType)?"promocard":""},b));else if("point_card"===n);else if("pointsstore"===n)M.navigate("PointGoodsList",Object.assign({},b,y));else if("seckill"===n)M.navigate("Seckill",Object.assign({alias:o},h?{goodsAlias:h}:{},b));else if("bargain"===n)M.navigate("GoodsDetail",Object.assign({alias:o,umpType:e.umpType||"",activityId:e.activityId},b));else if("paidcolumn"===n)M.navigate("PaidContentColumn",Object.assign({alias:o},b));else if("PaidContentContent"===n)M.navigate("PaidContentColumn",Object.assign({alias:o},b));else if("mypaidcontent"===n)M.navigate("PaidContentList",Object.assign({},b,y));else if("PaidContentLive"===n)M.navigate("PaidContentColumn",Object.assign({alias:o},b));else if("allcourse"===n)M.navigate("EduGoodsList",Object.assign({},b,y));else if("course"===n||"educourse"===n||"allofflinecourse"===n||"eduappointment"===n||"course_group"===n||"course_category"===n||"edumoments"===n){var _=s.replace(/^http(s)?:\/\/shop\d+-?\d+/,"https://h5");M.navigate("EduWebview",Object.assign({targetUrl:_},b))}else if("link"===n)s&&/mp.weixin.qq.com\/s/.test(s)&&M.navigate("CommonWebview",Object.assign({src:s},b));else if("calendar_checkin"===n)M.navigate("Checkin",Object.assign({},y,b));else if("zodiac"===n)M.navigate("LuckyLottery",Object.assign({alias:o},b));else if("shopnote_detail"===n)M.navigate("ShopnoteDetail",Object.assign({noteAlias:o},b));else if("mp_article"===n)M.navigate("MpArticle",Object.assign({noteAlias:o},b));else if("hotellist"===n||"recharge_center"===n||"point_coupon"===n||"room_typelist"===n||"combolist"===n)M.navigate("CommonWebview",Object.assign({src:s},b));else if("period_list"===n)M.navigate("PeriodBuyList",Object.assign({},y,b));else if("point_store"===n)M.navigate("PointGoodsList",Object.assign({},y,b));else if("weapp_marketing_page"===n||"marketing_page"===n)M.navigate("MarketingPage",Object.assign({},y,b,{id:d.id||""}));else if(["guaguale","wheel","zodiac","crazyguess"].includes(n)){var x=s||"",S="";x.includes("lottery")&&(S="LuckyLottery"),x.includes("cards")&&(S="Cards"),x.includes("zodiac")&&(S="Zodiac"),x.includes("crazy")&&(S="CrazyGuess"),S&&M.navigate(S,Object.assign({alias:o},b))}else"vipcenter"===n&&M.navigate("MemberCenter",Object.assign({},y,b))}(i,{});else if(o&&"pages-retail/usercenter/dashboard-v2/index"!==(null==(t=this.list[e])?void 0:t.pagePath)){var a={navIndex:e};this.isNewIphone&&(a.isNewIphone=1);!function(e,t,n){var o=t.path,r=t.tabBarIndex,i=void 0===r?-1:r,a=t.query,s=t.fail,c=t.useFail;try{if(c)return s();var u="",l=-1;if(o)u=P(o),l=e.findIndex((function(e){var t=e.pagePath,n=e.routingType;return u==="/"+t&&n===k}));else if(i>-1){var d=e[i]||{},p=d.pagePath;l=d.routingType===k?i:-1,u=P(p)}if((l=l===e.length-1?A().length-1:l)>-1){var f=a||{},h=(e[l]||{}).attachedId;n(A()[l],h,f)}else"function"==typeof s&&s()}catch(e){"function"==typeof s&&s()}}(this.list,{fail:function(){n.handleTabbarChange(e)},useFail:!!r,query:a,tabBarIndex:e},(function(t){_.default.navigate({weappUrl:t+"?navIndex="+e+(n.isNewIphone?"&isNewIphone=1":""),type:"switchTab"})}))}else this.handleTabbarChange(e)},handleTabbarChange:function(e){var t=this.list[e]||{},n=t.pagePath,o=t.customPage,r=(t.linkType,o||n.startsWith("pages/common/webview-page")?n.replace(/^\/?pages(-|\/)/,"/pages/").replace(/^\/?packages(-|\/)/,"/packages/"):n.replace(/^\/?(pages|packages)(-|\/)/,"/packages/"));_.default.navigate({weappUrl:r+"?navIndex="+e+(this.isNewIphone?"&isNewIphone=1":""),type:"reLaunch"})}}},B=D,z=(0,c.A)(B,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.navStyle===e.navStyleMap.MAIN_ICON_STYLE_TOW?n("div",{staticClass:"rudder-container"},[n("div",{staticClass:"rudder-mask-container"},[n("div",{staticClass:"rudder-mask-left",style:{backgroundColor:e.navData.customBackground}}),n("div",{staticClass:"rudder-mask",style:{backgroundColor:e.navData.customBackground}}),n("div",{staticClass:"rudder-mask-right",style:{backgroundColor:e.navData.customBackground}})]),n("div",{staticClass:"rudder-safe-box",style:{backgroundColor:e.navData.customBackground}})]):e._e(),e.list.length?n("van-tabbar",{staticClass:"custom-nav",style:e.tabBarStyle,attrs:{value:e.activeIndex,"active-color":e.activeColor,"inactive-color":e.color,border:!1,"safe-area-inset-bottom":""},on:{change:e.handleNativeTabbarChange}},e._l(e.list,(function(t,o){return n("van-tabbar-item",{key:o,style:e.tabBarItemStyle,scopedSlots:e._u([{key:"icon",fn:function(o){return[e.navStyle!==e.navStyleMap.MAIN_ICON&&e.navStyle!==e.navStyleMap.MAIN_ICON_STYLE_TOW||!t.isMainIcon?[n("tabbar-icon",{attrs:{name:o.active?t.activeName:t.name,color:o.active?e.iconColorScheme.activeColor:e.iconColorScheme.color,size:20}})]:n("tabbar-main-icon",{attrs:{name:o.active?t.activeName:t.name,color:e.iconColorScheme.activeColor,size:32,"nav-style":e.navStyle,"img-mode":e.imgMode}})]}}])},[e.navStyle!==e.navStyleMap.MAIN_ICON&&e.navStyle!==e.navStyleMap.MAIN_ICON_STYLE_TOW||!t.isMainIcon?n("span",{staticStyle:{"font-size":"10px"}},[e._v("\n "+e._s(t.text)+"\n ")]):e._e()])})),1):e._e()],1)}),[],!1,null,null,null).exports},2256:function(e,t,n){e.exports=n(60615)(14528)},17559:function(e,t,n){e.exports=n(60615)(16547)},45620:function(e,t,n){e.exports=n(76025)(2322)},38816:function(e,t,n){e.exports=n(60615)(23805)},71791:function(e,t,n){e.exports=n(60615)(28586)},52448:function(e,t,n){e.exports=n(60615)(30294)},49057:function(e,t,n){e.exports=n(60615)(30361)},4974:function(e,t,n){e.exports=n(60615)(31769)},85867:function(e,t,n){e.exports=n(60615)(34932)},61102:function(e,t,n){e.exports=n(60615)(35031)},57006:function(e,t,n){e.exports=n(60615)(37217)},32869:function(e,t,n){e.exports=n(60615)(37302)},42:function(e,t,n){e.exports=n(60615)(37828)},35276:function(e,t,n){e.exports=n(76025)(4045)},13026:function(e,t,n){e.exports=n(60615)(43360)},5730:function(e,t,n){e.exports=n(60615)(44394)},83351:function(e,t,n){e.exports=n(60615)(47422)},53540:function(e,t,n){e.exports=n(76025)(4878)},26453:function(e,t,n){e.exports=n(60615)(50002)},12674:function(e,t,n){e.exports=n(60615)(51873)},46026:function(e,t,n){e.exports=n(17104)(5288)},10019:function(e,t,n){e.exports=n(60615)(53661)},21298:function(e,t,n){e.exports=n(76025)(542)},71649:function(e,t,n){e.exports=n(17104)(5753)},54321:function(e,t,n){e.exports=n(60615)(58622)},2609:function(e,t,n){e.exports=n(17104)(6190)},91848:function(e,t,n){e.exports=n(17104)(6324)},61163:function(e,t,n){e.exports=n(60615)(72505)},29560:function(e,t,n){e.exports=n(60615)(75288)},89407:function(e,t,n){e.exports=n(60615)(77797)},4105:function(e,t,n){e.exports=n(60615)(83349)},24186:function(e,t,n){e.exports=n(17104)(867)},78984:function(e,t,n){e.exports=n(17104)(9066)},599:function(e,t,n){e.exports=n(60615)(93243)},6562:function(e,t,n){e.exports=n(17104)(940)},20150:function(e,t,n){e.exports=n(60615)(95950)},78458:function(e,t,n){e.exports=n(76025)(9930)},76025:function(e){"use strict";e.exports=component},71740:function(e){"use strict";e.exports=framework_05a12c},60615:function(e){"use strict";e.exports=library_87b236},17104:function(e){"use strict";e.exports=vant_34f431},8379:function(e,t,n){"use strict";var o=n(18141),r=n(93652),i=n(98008),a=n(24772),s=n(27639),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,d=s("lastIndexOf"),p=l||!d;e.exports=p?function(e){if(l)return o(u,this,arguments)||0;var t=r(this),n=a(t),s=n-1;for(arguments.length>1&&(s=c(s,i(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:u},34527:function(e,t,n){"use strict";var o=n(67486),r=n(51857),i=TypeError,a=Object.getOwnPropertyDescriptor,s=o&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(r(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},91625:function(e,t,n){"use strict";var o=n(48727),r=n(56279),i=n(3451).getWeakData,a=n(91601),s=n(7875),c=n(22145),u=n(91853),l=n(72060),d=n(35346),p=n(72988),f=n(24996),h=f.set,m=f.getterFor,g=d.find,v=d.findIndex,y=o([].splice),b=0,w=function(e){return e.frozen||(e.frozen=new _)},_=function(){this.entries=[]},x=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};_.prototype={get:function(e){var t=x(this,e);if(t)return t[1]},has:function(e){return!!x(this,e)},set:function(e,t){var n=x(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&y(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var d=e((function(e,r){a(e,f),h(e,{type:t,id:b++,frozen:void 0}),c(r)||l(r,e[o],{that:e,AS_ENTRIES:n})})),f=d.prototype,g=m(t),v=function(e,t,n){var o=g(e),r=i(s(t),!0);return!0===r?w(o).set(t,n):r[o.id]=n,e};return r(f,{delete:function(e){var t=g(this);if(!u(e))return!1;var n=i(e);return!0===n?w(t).delete(e):n&&p(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!u(e))return!1;var n=i(e);return!0===n?w(t).has(e):n&&p(n,t.id)}}),r(f,n?{get:function(e){var t=g(this);if(u(e)){var n=i(e);return!0===n?w(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),d}}},32357:function(e,t,n){"use strict";var o=n(67486),r=n(64822),i=n(48727),a=n(42787),s=n(55881),c=n(93652),u=i(n(43611).f),l=i([].push),d=o&&r((function(){var e=Object.create(null);return e[2]=2,!u(e,2)})),p=function(e){return function(t){for(var n,r=c(t),i=s(r),p=d&&null===a(r),f=i.length,h=0,m=[];f>h;)n=i[h++],o&&!(p?n in r:u(r,n))||l(m,e?[n,r[n]]:r[n]);return m}};e.exports={entries:p(!0),values:p(!1)}},3470:function(e){"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},48980:function(e,t,n){"use strict";var o=n(15766),r=n(35346).findIndex,i=n(6469),a="findIndex",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),o({target:"Array",proto:!0,forced:s},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},8921:function(e,t,n){"use strict";var o=n(15766),r=n(8379);o({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},54554:function(e,t,n){"use strict";var o=n(15766),r=n(9798),i=n(82339),a=n(98008),s=n(24772),c=n(34527),u=n(96837),l=n(9986),d=n(66270),p=n(84606),f=n(70597)("splice"),h=Math.max,m=Math.min;o({target:"Array",proto:!0,forced:!f},{splice:function(e,t){var n,o,f,g,v,y,b=r(this),w=s(b),_=i(e,w),x=arguments.length;for(0===x?n=o=0:1===x?(n=0,o=w-_):(n=x-2,o=m(h(a(t),0),w-_)),u(w+n-o),f=l(b,o),g=0;gw-o+n;g--)p(b,g-1)}else if(n>o)for(g=w-o;g>_;g--)y=g+n-1,(v=g+o-1)in b?b[y]=b[v]:p(b,y);for(g=0;gd;)void 0!==(n=r(o,t=u[d++]))&&c(l,t,n);return l}})},40875:function(e,t,n){"use strict";var o=n(15766),r=n(64822),i=n(9798),a=n(42787),s=n(12211);o({target:"Object",stat:!0,forced:r((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},16034:function(e,t,n){"use strict";var o=n(15766),r=n(32357).values;o({target:"Object",stat:!0},{values:function(e){return r(e)}})},92405:function(e,t,n){"use strict";n(16468)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(86938))},31415:function(e,t,n){"use strict";n(92405)},42781:function(e,t,n){"use strict";n(15766)({target:"String",proto:!0},{repeat:n(72333)})},5746:function(e,t,n){"use strict";var o=n(62613),r=n(91941),i=n(7875),a=n(22145),s=n(95213),c=n(3470),u=n(83678),l=n(23777),d=n(14109);r("search",(function(e,t,n){return[function(t){var n=s(this),r=a(t)?void 0:l(t,e);return r?o(r,t,n):new RegExp(t)[e](u(n))},function(e){var o=i(this),r=u(e),a=n(t,o,r);if(a.done)return a.value;var s=o.lastIndex;c(s,0)||(o.lastIndex=0);var l=d(o,r);return c(o.lastIndex,s)||(o.lastIndex=s),null===l?-1:l.index}]}))},65746:function(e,t,n){"use strict";var o,r=n(92744),i=n(21244),a=n(48727),s=n(56279),c=n(3451),u=n(16468),l=n(91625),d=n(91853),p=n(24996).enforce,f=n(64822),h=n(54321),m=Object,g=Array.isArray,v=m.isExtensible,y=m.isFrozen,b=m.isSealed,w=m.freeze,_=m.seal,x={},S={},k=!i.ActiveXObject&&"ActiveXObject"in i,C=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},O=u("WeakMap",C,l),A=O.prototype,P=a(A.set);if(h)if(k){o=l.getConstructor(C,"WeakMap",!0),c.enable();var I=a(A.delete),T=a(A.has),j=a(A.get);s(A,{delete:function(e){if(d(e)&&!v(e)){var t=p(this);return t.frozen||(t.frozen=new o),I(this,e)||t.frozen.delete(e)}return I(this,e)},has:function(e){if(d(e)&&!v(e)){var t=p(this);return t.frozen||(t.frozen=new o),T(this,e)||t.frozen.has(e)}return T(this,e)},get:function(e){if(d(e)&&!v(e)){var t=p(this);return t.frozen||(t.frozen=new o),T(this,e)?j(this,e):t.frozen.get(e)}return j(this,e)},set:function(e,t){if(d(e)&&!v(e)){var n=p(this);n.frozen||(n.frozen=new o),T(this,e)?P(this,e,t):n.frozen.set(e,t)}else P(this,e,t);return this}})}else r&&f((function(){var e=w([]);return P(new O,e,1),!y(e)}))&&s(A,{set:function(e,t){var n;return g(e)&&(y(e)?n=x:b(e)&&(n=S)),P(this,e,t),n===x&&w(e),n===S&&_(e),this}})},73772:function(e,t,n){"use strict";n(65746)},27208:function(e,t,n){"use strict";var o=n(15766),r=n(62613);o({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return r(URL.prototype.toString,this)}})},793:function(e,t,n){"use strict";function o(e,t,n,o,r){var i={};return Object.keys(o).forEach((function(e){i[e]=o[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce((function(n,o){return o(e,t,n)||n}),i),r&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(r):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}n.d(t,{A:function(){return o}})},54167:function(e,t,n){"use strict";function o(e,t,n,o){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(o):void 0})}n.d(t,{A:function(){return o}})}},function(e){var t=function(t){return e(e.s=t)};t(30418),t(52104),t(89773),t(99535)}]);