猎豆优选小程序

pages-optimization-optimization.7d579698.js 19KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-optimization-optimization"],{"06a7":function(t,a,i){"use strict";i("7a82");var e=i("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e(i("c7eb")),o=e(i("2909")),s=e(i("1da1"));i("4de4"),i("d3b7"),i("99af");var r=getApp(),l={data:function(){return{statusBarHeight:r.globalData.statusBarHeight,navbarBackground:{backgroundColor:"transparent"},user_level:uni.getStorageSync("userInfo")?uni.getStorageSync("userInfo").user_level:"",filter:{page:1,page_size:20,nowTotal:0,hasNext:!0},goodsList:[],swiperHeight:"800",imgSwiperGoodsId:"",play:!1,loadLazyData:[-1,0,1]}},watch:{user_level:function(){}},onLoad:function(){this.swiperHeight="".concat(uni.getSystemInfoSync().windowHeight),this.handleGetGoodsList()},methods:{change:function(t){var a=t.detail.currentItemId,i=t.detail.current;if(this.loadLazyData=[i-1,i,i+1],this.loadLazyData[2]==this.filter.nowTotal-1){if(!this.filter.hasNext)return uni.showToast({title:"没有更多了",icon:"none"}),!1;this.filter.page++,this.handleGetGoodsList()}var e=uni.createVideoContext("myVideo"+this.imgSwiperGoodsId,this);e&&e.pause&&e.pause(),this.play=!1,this.imgSwiperGoodsId=a.split("&&")[1],"video"==a.split("&&")[0]&&this.playVideo()},clickVideo:function(){this.play?this.pauseVideo():this.playthis()},playVideo:function(){var t=uni.createVideoContext("myVideo"+this.imgSwiperGoodsId,this);!1===this.play&&(t.seek(0),t.play(),this.play=!0)},pauseVideo:function(){var t=uni.createVideoContext("myVideo"+this.imgSwiperGoodsId,this);!0===this.play&&(t.pause(),this.play=!1)},playthis:function(){var t=uni.createVideoContext("myVideo"+this.imgSwiperGoodsId,this);!1===this.play&&(t.play(),this.play=!0)},changePlay:function(){this.play=!0},handleGetGoodsList:function(){var t=this;return(0,s.default)((0,n.default)().mark((function a(){var i,e,s,r,l,d;return(0,n.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(t.filter.hasNext){a.next=2;break}return a.abrupt("return",!1);case 2:return a.prev=2,1==t.filter.page&&uni.showLoading({title:"加载中...",mask:!0}),console.log("jiazaizhong"),i=t.$api_jd.jd_goodsListByEliteId,e={elite_id:2,page:t.filter.page,page_size:t.filter.page_size},a.next=9,t.$postJSON(i,e);case 9:if(s=a.sent,r=s.data,l=void 0===r?{}:r,!l||0!=l.errno||!Array.isArray(l.rst.data)){a.next=23;break}if(l.rst.data.length||(t.filter.hasNext=!1),Array.isArray(l.rst.data)){a.next=16;break}return a.abrupt("return");case 16:d=l.rst.data,d=d.filter((function(t){return t.goods})),t.goodsList=[].concat((0,o.default)(t.goodsList),(0,o.default)(d)),t.filter.nowTotal=t.goodsList.length,t.$nextTick((function(){if(Array.isArray(t.goodsList)&&!(t.goodsList.length<=0)&&1==t.filter.page){var a=t.goodsList[0].goods;t.imgSwiperGoodsId=a.goods_id,a&&a.video_list&&a.video_list[0]&&a.video_list[0].playUrl&&t.playthis()}})),a.next=24;break;case 23:uni.showToast({title:l.err||"操作失败",icon:"none"});case 24:a.next=29;break;case 26:a.prev=26,a.t0=a["catch"](2),console.log("error => ",a.t0);case 29:return a.prev=29,uni.hideLoading(),a.finish(29);case 32:case"end":return a.stop()}}),a,null,[[2,26,29,32]])})))()}}};a.default=l},2252:function(t,a){t.exports="data:image/png;base64,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"},2909:function(t,a,i){"use strict";i("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(t){return(0,e.default)(t)||(0,n.default)(t)||(0,o.default)(t)||(0,s.default)()};var e=r(i("6005")),n=r(i("db90")),o=r(i("06c5")),s=r(i("3427"));function r(t){return t&&t.__esModule?t:{default:t}}},"2b15":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAAeCAMAAADQFyqnAAAAVFBMVEX/6ekAAAD/6ur/6ur/6ur/6ur/6ur/7e3/8/P/6ur/6ur/6ur/6ur/7Oz/7Oz/8/P/6ur/6ur/6ur/6en/7e3/6en/3+D/q6//4eL/ubz/5eX/ztC89vbOAAAAFXRSTlPfAO+tx/O3GwrQvpeRYkET+qBT1So7gynDAAAA1UlEQVRIx+WVSQ6DMBAEp7GxzR5InPX//wwIcu4cZogi6lxSXWYRAJ0v836UvsOMINbUvT+yKm5YwjUXr7esiwOkI45JOE8QTxSbcICwubIJC+Qb7fnKyhRrmHO0MN9jk7DFcM3hpiFtg7C0LQRIgXjaYZeAJYx4IqZuuBywhXEmqu4ee3zCRjvFw5e8K6e4hWNFTO099sMSDqEknv46FcFpHZB/ulxMMQof8R8X+RcIpKaSxT92kIlKFsPVQ+CIYxFuAEEaiaUfbtP6JHpXyX5UY4+ZN6bqFDsj4BXOAAAAAElFTkSuQmCC"},3427:function(t,a,i){"use strict";i("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},i("d9e2"),i("d401")},"4b42":function(t,a,i){var e=i("8cb1");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=i("4f06").default;n("517d1ecd",e,!0,{sourceMap:!1,shadowMode:!1})},"5b27":function(t,a,i){"use strict";i.r(a);var e=i("06a7"),n=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(a,t,(function(){return e[t]}))}(o);a["default"]=n.a},"5f74":function(t,a,i){"use strict";i.r(a);var e=i("ace3"),n=i("5b27");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(a,t,(function(){return n[t]}))}(o);i("f703");var s=i("f0c5"),r=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,"5a3d7a02",null,!1,e["a"],void 0);a["default"]=r.exports},6005:function(t,a,i){"use strict";i("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(t){if(Array.isArray(t))return(0,e.default)(t)};var e=function(t){return t&&t.__esModule?t:{default:t}}(i("6b75"))},"6e7b":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAAkCAYAAAAO7jHjAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAoKADAAQAAAABAAAAJAAAAADjig/bAAACy0lEQVR4Ae2cQWsTQRTH32yDtDkomlRJL3qKBPEgilBpb+3Bq0dBvSh48OQH0FMPfgPxpHj34iGg3lJy8uCtNPRSlYRCWkRrhaTd9b2Nm9rWUjKZ0Hnjf2GSzO7M2/d+82enM2WfoX1H0m7MUZTc49MzXKa4nNjXBFUQGIRAhxs3uSxSbF6ZYvnD351NVkm+LxVoO3rN9ZvZOXyDwAgIVCkX3zEnK+tiOxVgKr6dqE4JlUdwQ5gEgb0EDDVoLL4hIozSK/Lkg/j2QkJtdAREa73Zlkyy3pjnz3ejuxssg8AhBGIzn2Px3T3ksren6wv3aXPtMxXKV+jqo2fe+gnHjiDAi12ZgmePaObd5a12i362VunXxpp3vsGhgQjM5rh5aaAuHjQuVq5RfnKKTl2oeOANXBiCQMkkG8vJEAbQFQSGItBbBQ9lAp1BwJ4ABGjPDj0dEIAAHUCECXsCsghRd2y1m5R0uzQ2PkHjp8+q8x8O7xJQKcD6wgP68XWFJi9P08yTl7vR4Jc6ApiC1Q1ZWA6rfAJevPWQOpvfKF9Qt4UZlnocRIN9QAcQYcKeAKZge3bo6YAABOgAIkzYE4AA7dmhpwMCKhchX2pv+4uQ0vU5Bxhg4rgIqBTg8pvn/X1ACPC4pOPmvpiC3XCEFUsCKrdh8K84y9H2sJvKKThflNeVcYRAAFNwCKOoOAYIUPHgheA6BBjCKCqOQf4GlNwdqvK/fHrxlGQhIi8lXbr9WDH+/971jgiwxeW8JhTtpY/pPmC83dXkNnw9SKApAqxxUSXAfLFE8U6XJs6cOxgSzmgisIjUHJqGKzRfOTVHZArl9xxXNbTYEI/3BKqSK7C3CuZ8bZyoreG9y3AwDAKiNdEcH6kA02SBnK+N63gShjHEPkdRzXIDipP9DKmZx3/StUnGLElaJC9dqNqiyeLAtzcEZJtPdlpq/0rR+xtC/pxmUmlNfAAAAABJRU5ErkJggg=="},"8cb1":function(t,a,i){var e=i("24fb"),n=i("1de5"),o=i("2b15"),s=i("6e7b"),r=i("2252");a=e(!1);var l=n(o),d=n(s),c=n(r);a.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.search-wrap[data-v-5a3d7a02]{position:fixed;left:%?38?%;top:%?80?%;z-index:9}.goods-item-img-swiper[data-v-5a3d7a02]{width:100%;height:100%;position:relative;z-index:-1}.goods-item-img-swiper .img[data-v-5a3d7a02]{width:100%;position:absolute;top:0;bottom:0;margin:auto}.filterBgImg[data-v-5a3d7a02]{width:100%;height:100%;position:absolute;top:0;left:0;-webkit-filter:blur(45px);filter:blur(45px)}.video-wrap[data-v-5a3d7a02]{width:100%;height:100%;position:relative;z-index:-1}.video-wrap .myVideo[data-v-5a3d7a02]{width:100vw;height:100vw;position:absolute;top:0;bottom:0;margin:auto}.swiper[data-v-5a3d7a02]{width:100%;height:%?1180?%;margin:auto}.info-wrap[data-v-5a3d7a02]{width:90vw;position:absolute;bottom:%?20?%;left:0;right:0;margin:auto;background-color:#fff;padding:%?10?% %?20?% 0;border-radius:%?20?%;z-index:9999}.info-wrap .tp-wrap[data-v-5a3d7a02]{display:flex;align-items:center;justify-content:space-between}.info-wrap .tp-wrap .lt-wrap[data-v-5a3d7a02]{display:flex;align-items:baseline}.info-wrap .tp-wrap .lt-wrap .price-title[data-v-5a3d7a02]{color:#ff4040;font-size:%?28?%;line-height:%?40?%}.info-wrap .tp-wrap .lt-wrap .price[data-v-5a3d7a02]{font-size:%?38?%;color:#ff4040;font-weight:700;line-height:%?40?%;margin-left:%?10?%}.info-wrap .tp-wrap .lt-wrap .price-old[data-v-5a3d7a02]{margin-left:%?10?%;font-size:%?24?%;line-height:%?30?%;text-decoration:line-through;color:#999}.info-wrap .tp-wrap .rt-wrap[data-v-5a3d7a02]{display:flex;align-items:center}.info-wrap .tp-wrap .rt-wrap .btn-wrap[data-v-5a3d7a02]{display:flex;align-items:center}.info-wrap .tp-wrap .rt-wrap .btn-wrap .btn-img[data-v-5a3d7a02]{width:%?32?%;height:%?32?%}.info-wrap .tp-wrap .rt-wrap .btn-wrap .btn-text[data-v-5a3d7a02]{font-size:%?25?%;color:#999}.info-wrap .bm-wrap[data-v-5a3d7a02]{margin-top:%?3?%;font-size:%?28?%;font-weight:700;line-height:%?36?%;color:#333}.info-wrap .bm-wrap .shop-icon[data-v-5a3d7a02]{margin-right:%?6?%;width:%?30?%;height:%?30?%;margin-top:%?-4?%;border-radius:%?4?%;vertical-align:middle}.info-wrap .btm-wrap[data-v-5a3d7a02]{display:flex;align-items:center;margin-top:%?9?%}.info-wrap .btm-wrap .coupon-wrap[data-v-5a3d7a02]{display:flex;align-items:center;width:%?130?%;height:%?34?%;background-image:url('+l+");background-repeat:no-repeat;background-size:100% 100%;color:#ff4040;font-size:%?22?%;line-height:%?34?%}.info-wrap .btm-wrap .coupon-wrap .label[data-v-5a3d7a02]{width:%?40?%;text-align:center}.info-wrap .btm-wrap .coupon-wrap .value[data-v-5a3d7a02]{flex:1;text-align:center}.info-wrap .btm-wrap .commission-wrap[data-v-5a3d7a02]{background-image:url("+d+");color:#ae4300;margin-left:%?12?%}.footer-wrap[data-v-5a3d7a02]{display:flex;align-items:center;justify-content:center;width:100%;height:%?86?%;padding:%?20?%;border-top:%?1?% solid #eee;margin-top:%?10?%}.footer-wrap .btn-wrap[data-v-5a3d7a02]{flex:1;background-color:#ffbb93;display:flex;align-items:center;height:%?64?%;border-radius:%?64?%;overflow:hidden}.footer-wrap .btn-wrap .btn-item[data-v-5a3d7a02]{height:100%;flex:1;display:flex;justify-content:center;align-items:center}.footer-wrap .btn-wrap .btn-item .btn-icon[data-v-5a3d7a02]{margin-right:%?10?%}.footer-wrap .btn-wrap .btn-item .btn-text[data-v-5a3d7a02]{color:#fff;font-size:%?28?%;font-weight:700;line-height:%?64?%}.footer-wrap .btn-wrap .btn-item.lt-btn .btn-icon[data-v-5a3d7a02]{width:%?42?%;height:%?38?%}.footer-wrap .btn-wrap .btn-item.rt-btn[data-v-5a3d7a02]{background:linear-gradient(90deg,#ff9048,#fb3f3c);border-radius:%?42?%}.footer-wrap .btn-wrap .btn-item.rt-btn .btn-icon[data-v-5a3d7a02]{width:%?42?%;height:%?44?%}.btn-collect-wrap[data-v-5a3d7a02]{display:flex;flex-direction:column;align-items:center;margin-right:%?28?%}.btn-collect-wrap .btn-collect-img[data-v-5a3d7a02]{width:%?34?%;height:%?34?%}.btn-collect-wrap .btn-collect-text[data-v-5a3d7a02]{color:#666;font-size:%?22?%;line-height:%?28?%}.salesVolume[data-v-5a3d7a02]{background:url("+c+") no-repeat;background-size:100%;width:%?200?%;line-height:%?28?%;color:#ff4040;font-size:%?24?%;line-height:%?54?%;text-align:center;padding-left:%?16?%}.swiper-list[data-v-5a3d7a02]{margin-top:%?40?%;margin-bottom:0}.uni-common-mt[data-v-5a3d7a02]{margin-top:%?60?%;position:relative}.info[data-v-5a3d7a02]{position:absolute;right:%?20?%}.uni-padding-wrap[data-v-5a3d7a02]{width:%?550?%;padding:0 %?100?%}",""]),t.exports=a},ace3:function(t,a,i){"use strict";i.d(a,"b",(function(){return n})),i.d(a,"c",(function(){return o})),i.d(a,"a",(function(){return e}));var e={uIcon:i("5fbc").default},n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",[i("v-uni-view",{staticClass:"search-wrap",style:{top:t.statusBarHeight+10+"px"}},[i("u-icon",{attrs:{name:"search",color:"#FFFFFF",size:"44"}})],1),t.goodsList&&t.goodsList.length?i("v-uni-swiper",{staticClass:"swiper",style:"height:"+t.swiperHeight+"px",attrs:{vertical:!0},on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.change.apply(void 0,arguments)}}},[t._l(t.goodsList,(function(a,e){return[i("v-uni-swiper-item",{key:a.goods.goods_id,attrs:{"item-id":(a.goods.video_list&&a.goods.video_list[0]&&a.goods.video_list[0].playUrl?"video":"img")+"&&"+a.goods.goods_id}},[t.loadLazyData.filter((function(t){return t==e})).length>0?[a.goods.video_list&&a.goods.video_list[0]&&a.goods.video_list[0].playUrl?i("v-uni-view",{staticClass:"video-wrap"},[i("v-uni-image",{staticClass:"filterBgImg",attrs:{src:a.goods.video_list[0].imageUrl}}),i("v-uni-video",{staticClass:"myVideo",style:{height:100*a.goods.video_list[0].high/a.goods.video_list[0].width+"vw"},attrs:{id:"myVideo"+a.goods.goods_id,poster:a.goods.video_list[0].imageUrl,src:a.goods.video_list[0].playUrl,loop:!0},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.clickVideo.apply(void 0,arguments)},play:function(a){arguments[0]=a=t.$handleEvent(a),t.changePlay.apply(void 0,arguments)}}})],1):i("v-uni-swiper",{key:a.goods.goods_id+"img_swiper",staticClass:"goods-item-img-swiper",attrs:{circular:!0,autoplay:t.imgSwiperGoodsId==a.goods.goods_id}},t._l(a.goods.img_list,(function(t,e){return i("v-uni-swiper-item",{key:e+"&"+a.goods.goods_id},[i("v-uni-image",{staticClass:"filterBgImg",attrs:{src:t.url}}),i("v-uni-image",{staticClass:"img",attrs:{src:t.url,mode:"widthFix"}})],1)})),1),i("v-uni-view",{staticClass:"info-wrap"},[i("v-uni-view",{staticClass:"tp-wrap"},[i("v-uni-view",{staticClass:"lt-wrap"},[i("v-uni-text",{staticClass:"price-title"},[t._v(t._s(1==a.goods.is_coupon&&a.goods.coupon_price>0?"券后价":"")+" ¥")]),i("v-uni-text",{staticClass:"price"},[t._v(t._s(a.goods.discount_price))]),i("v-uni-text",{staticClass:"price-old"},[t._v("¥"+t._s(a.goods.price))])],1),i("v-uni-view",{staticClass:"rt-wrap"},[a.goods.volume>100?i("v-uni-view",{staticClass:"salesVolume"},[t._v("月销:"+t._s(t.$NumberHandle({value:a.goods.volume,comma:!0}))+"+")]):t._e()],1)],1),i("v-uni-view",{staticClass:"bm-wrap"},[0==a.goods.shop_type?i("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/icon-tb.png"}}):1==a.goods.shop_type?i("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/icon-tmall.png"}}):4==a.goods.shop_type?i("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/jd-icon.png"}}):t._e(),t._v(t._s(a.goods.title))],1),i("v-uni-view",{staticClass:"btm-wrap"},[a.goods.coupon_price>0?i("v-uni-view",{staticClass:"coupon-wrap"},[i("v-uni-text",{staticClass:"label"},[t._v("券")]),i("v-uni-text",{staticClass:"value"},[t._v("¥"+t._s(a.goods.coupon_price))])],1):t._e(),t.user_level>1&&a.goods.commission_price>0?i("v-uni-view",{staticClass:"coupon-wrap commission-wrap"},[i("v-uni-text",{staticClass:"label"},[t._v("返")]),i("v-uni-text",{staticClass:"value"},[t._v("¥"+t._s(a.goods.commission_price))])],1):t._e()],1),i("v-uni-view",{staticClass:"footer-wrap",style:{"padding-bottom":t.isIphoneX?"66rpx":"22rpx"}},[1==a.goods.is_favorites?i("v-uni-view",{staticClass:"btn-collect-wrap",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onClickSetFavorites.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"btn-collect-img",attrs:{src:"/static/imgs/icon-collect-on.png"}}),i("v-uni-text",{staticClass:"btn-collect-text"},[t._v("已收藏")])],1):i("v-uni-view",{staticClass:"btn-collect-wrap",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onClickSetFavorites.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"btn-collect-img",attrs:{src:"/static/imgs/icon-collect.png"}}),i("v-uni-text",{staticClass:"btn-collect-text"},[t._v("收藏")])],1),t.isLogin?i("v-uni-view",{staticClass:"btn-wrap"},[i("v-uni-view",{staticClass:"btn-item lt-btn",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onClickFXZQ.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"btn-text"},[t._v(t._s(1==t.user_level?"分享":"分享赚钱"))])],1),i("v-uni-view",{staticClass:"btn-item rt-btn",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onClickGWSQ.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"btn-text"},[t._v("购物省钱")])],1)],1):i("v-uni-view",{staticClass:"btn-wrap"},[i("v-uni-view",{staticClass:"btn-item lt-btn",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onClickZJGM.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"btn-text"},[t._v("直接购买")])],1),i("v-uni-view",{staticClass:"btn-item rt-btn",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onClickFYJGM.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"btn-text"},[t._v("返佣金购买")])],1)],1)],1)],1)]:t._e()],2)]}))],2):t._e()],1)},o=[]},db90:function(t,a,i){"use strict";i("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},i("a4d3"),i("e01a"),i("d3b7"),i("d28b"),i("3ca3"),i("ddb0"),i("a630")},f703:function(t,a,i){"use strict";var e=i("4b42"),n=i.n(e);n.a}}]);