1 |
- !function(){var t,e,n,i,o,a={86056:function(t,e,n){"use strict";n.r(e);var i=n(43974),o=(n(33100),n(97220)),a=n.n(o);e.default=a().component(i.default)},87771:function(t,e,n){"use strict";n.r(e);var i=n(19372),o=n(97220),a=n.n(o);e.default=a().component(i.default)},27107:function(t,e,n){"use strict";n.r(e);var i=n(87640),o=(n(96512),n(97220)),a=n.n(o);e.default=a().component(i.default)},43152:function(t,e,n){"use strict";n.r(e);var i=n(16984),o=(n(58423),n(97220)),a=n.n(o);e.default=a().component(i.default)},25394:function(t,e,n){"use strict";n.r(e);var i=n(61),o=(n(69321),n(97220)),a=n.n(o);e.default=a().component(i.default)},93375:function(t,e,n){"use strict";n.r(e);var i=n(85935),o=n(97220),a=n.n(o);e.default=a().component(i.default)},19432:function(t,e,n){"use strict";n.r(e);var i=n(41024),o=(n(71077),n(97220)),a=n.n(o);e.default=a().component(i.default)},83590:function(t,e,n){"use strict";n.r(e);var i=n(45811),o=(n(54519),n(97220)),a=n.n(o);e.default=a().component(i.default)},8833:function(t,e,n){"use strict";n.r(e);var i=n(40172),o=(n(85750),n(97220)),a=n.n(o);e.default=a().component(i.default)},79586:function(t,e,n){"use strict";n.r(e);var i=n(71541),o=(n(94383),n(97220)),a=n.n(o);e.default=a().component(i.default)},11986:function(t,e,n){"use strict";n.r(e);var i=n(56443),o=(n(92831),n(97220)),a=n.n(o);e.default=a().component(i.default)},64596:function(t,e,n){"use strict";n.r(e);var i=n(64456),o=(n(76305),n(97220)),a=n.n(o);e.default=a().component(i.default)},79935:function(t,e,n){"use strict";n.r(e);var i=n(54683),o=(n(93344),n(97220)),a=n.n(o);e.default=a().component(i.default)},62456:function(t,e,n){"use strict";n.r(e);var i=n(19183),o=(n(92377),n(97220)),a=n.n(o);e.default=a().component(i.default)},18343:function(t,e,n){"use strict";n.r(e);var i=n(8493),o=(n(5616),n(97220)),a=n.n(o);e.default=a().component(i.default)},40761:function(t,e,n){"use strict";n.r(e);var i=n(12956),o=(n(3642),n(97220)),a=n.n(o);e.default=a().component(i.default)},53178:function(t,e,n){"use strict";n.r(e);var i=n(28988),o=(n(18635),n(97220)),a=n.n(o);e.default=a().component(i.default)},2215:function(t,e,n){"use strict";n.r(e);var i=n(66909),o=(n(856),n(97220)),a=n.n(o);e.default=a().component(i.default)},1554:function(t,e,n){"use strict";n.r(e);var i=n(49749),o=(n(12511),n(97220)),a=n.n(o);e.default=a().component(i.default)},79228:function(t,e,n){"use strict";n.r(e);var i=n(53999),o=(n(70805),n(97220)),a=n.n(o);e.default=a().component(i.default)},72704:function(t,e,n){"use strict";n.r(e);var i=n(25110),o=(n(59197),n(97220)),a=n.n(o);e.default=a().component(i.default)},98803:function(t,e,n){"use strict";n.r(e);var i=n(62305),o=(n(81632),n(97220)),a=n.n(o);e.default=a().component(i.default)},13378:function(t,e,n){"use strict";n.r(e);var i=n(2911),o=(n(66819),n(97220)),a=n.n(o);e.default=a().component(i.default)},7565:function(t,e,n){"use strict";n.r(e);var i=n(30443),o=n(97220),a=n.n(o);e.default=a().component(i.default)},73553:function(t,e,n){"use strict";n.r(e);var i=n(47477),o=n(97220),a=n.n(o);e.default=a().component(i.default)},83567:function(t,e,n){"use strict";n.r(e);var i=n(3536),o=(n(30348),n(97220)),a=n.n(o);e.default=a().component(i.default)},21330:function(t,e,n){"use strict";n.r(e);var i=n(31645),o=(n(9965),n(97220)),a=n.n(o);e.default=a().component(i.default)},86936:function(t,e,n){"use strict";n.r(e);var i=n(29431),o=(n(35531),n(97220)),a=n.n(o);e.default=a().component(i.default)},64641:function(t,e,n){"use strict";n.r(e);var i=n(79942),o=(n(90918),n(97220)),a=n.n(o);e.default=a().component(i.default)},91389:function(t,e,n){"use strict";n.r(e);var i=n(25150),o=(n(10194),n(97220)),a=n.n(o);e.default=a().component(i.default)},2683:function(t,e,n){"use strict";n.r(e);var i=n(11220),o=(n(64536),n(97220)),a=n.n(o);e.default=a().component(i.default)},82007:function(t,e,n){"use strict";n.r(e);var i=n(81834),o=(n(44728),n(97220)),a=n.n(o);e.default=a().component(i.default)},24722:function(t,e,n){"use strict";n.r(e);var i=n(57101),o=(n(80205),n(97220)),a=n.n(o);e.default=a().component(i.default)},18241:function(t,e,n){"use strict";n.r(e);var i=n(64914),o=(n(59590),n(97220)),a=n.n(o);e.default=a().component(i.default)},14570:function(t,e,n){"use strict";n.r(e);var i=n(46318),o=(n(95306),n(97220)),a=n.n(o);e.default=a().component(i.default)},77404:function(t,e,n){"use strict";n.r(e);var i=n(34373),o=(n(64297),n(97220)),a=n.n(o);e.default=a().component(i.default)},46434:function(t,e,n){"use strict";n.r(e);var i=n(19752),o=(n(18496),n(97220)),a=n.n(o);e.default=a().component(i.default)},22073:function(t,e,n){"use strict";n.r(e);var i=n(29441),o=(n(70975),n(97220)),a=n.n(o);e.default=a().component(i.default)},36072:function(t,e,n){"use strict";n.r(e);var i=n(82459),o=(n(91435),n(97220)),a=n.n(o);e.default=a().component(i.default)},95652:function(t,e,n){"use strict";n.r(e);var i=n(83908),o=(n(3056),n(97220)),a=n.n(o);e.default=a().component(i.default)},6005:function(t,e,n){"use strict";n.r(e);var i=n(94094),o=(n(57460),n(97220)),a=n.n(o);e.default=a().component(i.default)},43411:function(t,e,n){"use strict";n.r(e);var i=n(70231),o=(n(26610),n(97220)),a=n.n(o);e.default=a().component(i.default)},33730:function(t,e,n){"use strict";n.r(e);var i=n(20389),o=(n(36801),n(97220)),a=n.n(o);e.default=a().component(i.default)},63247:function(t,e,n){"use strict";n.r(e);var i=n(44233),o=(n(60923),n(97220)),a=n.n(o);e.default=a().component(i.default)},56564:function(t,e,n){"use strict";n.r(e);var i=n(58686),o=(n(68066),n(97220)),a=n.n(o);e.default=a().component(i.default)},80723:function(t,e,n){"use strict";n.r(e);var i=n(17885),o=(n(59235),n(97220)),a=n.n(o);e.default=a().component(i.default)},90307:function(t,e,n){"use strict";n.r(e);var i=n(49825),o=(n(50251),n(97220)),a=n.n(o);e.default=a().component(i.default)},91695:function(t,e,n){"use strict";n.r(e);var i=n(24090),o=(n(1992),n(97220)),a=n.n(o);e.default=a().component(i.default)},56504:function(t,e,n){"use strict";n.r(e);var i=n(98417),o=(n(81925),n(97220)),a=n.n(o);e.default=a().component(i.default)},15255:function(t,e,n){"use strict";n.r(e);var i=n(63495),o=(n(88773),n(97220)),a=n.n(o);e.default=a().component(i.default)},15468:function(t,e,n){"use strict";n.r(e);var i=n(86991),o=(n(4047),n(97220)),a=n.n(o);e.default=a().component(i.default)},64412:function(t,e,n){"use strict";n.r(e);var i=n(54839),o=(n(99703),n(97220)),a=n.n(o);e.default=a().component(i.default)},43687:function(t,e,n){"use strict";n.r(e);var i=n(89908),o=(n(71098),n(97220)),a=n.n(o);e.default=a().component(i.default)},84696:function(t,e,n){"use strict";n.r(e);var i=n(86019),o=(n(88363),n(97220)),a=n.n(o);e.default=a().component(i.default)},43585:function(t,e,n){"use strict";n.r(e);var i=n(28918),o=(n(61478),n(97220)),a=n.n(o);e.default=a().component(i.default)},58065:function(t,e,n){"use strict";n.r(e);var i=n(52030),o=(n(96694),n(97220)),a=n.n(o);e.default=a().component(i.default)},69403:function(t,e,n){"use strict";n.r(e);var i=n(97832),o=(n(94040),n(97220)),a=n.n(o);e.default=a().component(i.default)},41820:function(t,e,n){"use strict";n.r(e);var i=n(33847),o=(n(62031),n(97220)),a=n.n(o);e.default=a().component(i.default)},45394:function(t,e,n){"use strict";n.r(e);var i=n(33262),o=(n(85414),n(97220)),a=n.n(o);e.default=a().component(i.default)},48611:function(t,e,n){"use strict";n.r(e);var i=n(14949),o=(n(9692),n(97220)),a=n.n(o);e.default=a().component(i.default)},18093:function(t,e,n){"use strict";n.r(e);var i=n(6553),o=(n(39842),n(97220)),a=n.n(o);e.default=a().component(i.default)},94986:function(t,e,n){"use strict";n.r(e);var i=n(25908),o=(n(45228),n(97220)),a=n.n(o);e.default=a().component(i.default)},93716:function(t,e,n){"use strict";n.r(e);var i=n(53511),o=(n(895),n(97220)),a=n.n(o);e.default=a().component(i.default)},45351:function(t,e,n){"use strict";n.r(e);var i=n(14741),o=(n(85024),n(97220)),a=n.n(o);e.default=a().component(i.default)},4414:function(t,e,n){"use strict";n.r(e);var i=n(14089),o=(n(63777),n(97220)),a=n.n(o);e.default=a().component(i.default)},78942:function(t,e,n){"use strict";n.r(e);var i=n(4623),o=(n(19439),n(97220)),a=n.n(o);e.default=a().component(i.default)},24698:function(t,e,n){"use strict";n.r(e);var i=n(27248),o=(n(57083),n(97220)),a=n.n(o);e.default=a().component(i.default)},55e3:function(t,e,n){"use strict";n.r(e);var i=n(37231),o=(n(15713),n(97220)),a=n.n(o);e.default=a().component(i.default)},60991:function(t,e,n){"use strict";n.r(e);var i=n(41216),o=(n(4636),n(97220)),a=n.n(o);e.default=a().component(i.default)},69015:function(t,e,n){"use strict";n.r(e);var i=n(4664),o=(n(53012),n(97220)),a=n.n(o);e.default=a().component(i.default)},44973:function(t,e,n){"use strict";n.r(e);var i=n(26577),o=n(97220),a=n.n(o);e.default=a().component(i.default)},15046:function(t,e,n){"use strict";n.r(e);var i=n(91122),o=n(97220),a=n.n(o);e.default=a().component(i.default)},72445:function(t,e,n){"use strict";n.r(e);var i=n(18486),o=(n(61298),n(97220)),a=n.n(o);e.default=a().component(i.default)},76804:function(t,e,n){"use strict";n.r(e);var i=n(74127),o=n(97220),a=n.n(o);e.default=a().component(i.default)},59437:function(t,e,n){"use strict";n.r(e);var i=n(29826),o=(n(78332),n(97220)),a=n.n(o);e.default=a().component(i.default)},69358:function(t,e,n){"use strict";n.r(e);var i=n(13572),o=(n(47575),n(97220)),a=n.n(o);e.default=a().component(i.default)},41634:function(t,e,n){"use strict";n.r(e);var i=n(80473),o=(n(57723),n(97220)),a=n.n(o);e.default=a().component(i.default)},91202:function(t,e,n){"use strict";n.r(e);var i=n(28097),o=n(97220),a=n.n(o);e.default=a().component(i.default)},65472:function(t,e,n){"use strict";n.r(e);var i=n(63061),o=(n(4390),n(97220)),a=n.n(o);e.default=a().component(i.default)},76449:function(t,e,n){"use strict";n.r(e);var i=n(17262),o=(n(12704),n(97220)),a=n.n(o);e.default=a().component(i.default)},12249:function(t,e,n){"use strict";n.r(e);var i=n(53041),o=(n(15638),n(97220)),a=n.n(o);e.default=a().component(i.default)},33100:function(t,e,n){"use strict";n.r(e);n(49862)},96512:function(t,e,n){"use strict";n.r(e);n(59686)},58423:function(t,e,n){"use strict";n.r(e);n(41145)},30348:function(t,e,n){"use strict";n.r(e);n(2046)},9965:function(t,e,n){"use strict";n.r(e);n(17539)},35531:function(t,e,n){"use strict";n.r(e);n(88209)},90918:function(t,e,n){"use strict";n.r(e);n(32520)},10194:function(t,e,n){"use strict";n.r(e);n(75392)},64536:function(t,e,n){"use strict";n.r(e);n(38946)},80205:function(t,e,n){"use strict";n.r(e);n(21875)},59590:function(t,e,n){"use strict";n.r(e);n(32372)},88363:function(t,e,n){"use strict";n.r(e);n(30429)},61478:function(t,e,n){"use strict";n.r(e);n(97752)},96694:function(t,e,n){"use strict";n.r(e);n(63968)},94040:function(t,e,n){"use strict";n.r(e);n(94966)},62031:function(t,e,n){"use strict";n.r(e);n(23089)},4636:function(t,e,n){"use strict";n.r(e);n(31630)},53012:function(t,e,n){"use strict";n.r(e);n(77958)},61298:function(t,e,n){"use strict";n.r(e);n(2616)},69321:function(t,e,n){"use strict";n.r(e);n(14043)},71077:function(t,e,n){"use strict";n.r(e);n(68192)},54519:function(t,e,n){"use strict";n.r(e);n(50801)},85750:function(t,e,n){"use strict";n.r(e);n(86448)},94383:function(t,e,n){"use strict";n.r(e);n(15261)},92831:function(t,e,n){"use strict";n.r(e);n(78765)},76305:function(t,e,n){"use strict";n.r(e);n(69791)},93344:function(t,e,n){"use strict";n.r(e);n(65342)},92377:function(t,e,n){"use strict";n.r(e);n(24627)},5616:function(t,e,n){"use strict";n.r(e);n(12678)},3642:function(t,e,n){"use strict";n.r(e);n(68184)},18635:function(t,e,n){"use strict";n.r(e);n(32197)},856:function(t,e,n){"use strict";n.r(e);n(20262)},12511:function(t,e,n){"use strict";n.r(e);n(3453)},70805:function(t,e,n){"use strict";n.r(e);n(83591)},59197:function(t,e,n){"use strict";n.r(e);n(94491)},81632:function(t,e,n){"use strict";n.r(e);n(66034)},66819:function(t,e,n){"use strict";n.r(e);n(89981)},44728:function(t,e,n){"use strict";n.r(e);n(22774)},95306:function(t,e,n){"use strict";n.r(e);n(93676)},64297:function(t,e,n){"use strict";n.r(e);n(80319)},18496:function(t,e,n){"use strict";n.r(e);n(45562)},70975:function(t,e,n){"use strict";n.r(e);n(61781)},91435:function(t,e,n){"use strict";n.r(e);n(20357)},3056:function(t,e,n){"use strict";n.r(e);n(14842)},57460:function(t,e,n){"use strict";n.r(e);n(30418)},26610:function(t,e,n){"use strict";n.r(e);n(42843)},36801:function(t,e,n){"use strict";n.r(e);n(37583)},60923:function(t,e,n){"use strict";n.r(e);n(72617)},68066:function(t,e,n){"use strict";n.r(e);n(1164)},59235:function(t,e,n){"use strict";n.r(e);n(27693)},50251:function(t,e,n){"use strict";n.r(e);n(58569)},1992:function(t,e,n){"use strict";n.r(e);n(99506)},81925:function(t,e,n){"use strict";n.r(e);n(77651)},88773:function(t,e,n){"use strict";n.r(e);n(66323)},4047:function(t,e,n){"use strict";n.r(e);n(75469)},99703:function(t,e,n){"use strict";n.r(e);n(70977)},71098:function(t,e,n){"use strict";n.r(e);n(37576)},85414:function(t,e,n){"use strict";n.r(e);n(86220)},9692:function(t,e,n){"use strict";n.r(e);n(57394)},39842:function(t,e,n){"use strict";n.r(e);n(19260)},45228:function(t,e,n){"use strict";n.r(e);n(9526)},895:function(t,e,n){"use strict";n.r(e);n(39861)},85024:function(t,e,n){"use strict";n.r(e);n(34406)},63777:function(t,e,n){"use strict";n.r(e);n(95407)},19439:function(t,e,n){"use strict";n.r(e);n(80481)},57083:function(t,e,n){"use strict";n.r(e);n(46229)},15713:function(t,e,n){"use strict";n.r(e);n(24787)},78332:function(t,e,n){"use strict";n.r(e);n(27542)},47575:function(t,e,n){"use strict";n.r(e);n(82009)},57723:function(t,e,n){"use strict";n.r(e);n(30221)},4390:function(t,e,n){"use strict";n.r(e);n(73499)},12704:function(t,e,n){"use strict";n.r(e);n(11066)},15638:function(t,e,n){"use strict";n.r(e);n(1691)},45187:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"input{height:100%}",""]),e.default=o},65060:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},69776:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".tee-swiper-item[data-v-063bbab]{-webkit-flex-shrink:0;flex-shrink:0}",""]),e.default=o},383:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},95946:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},59434:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},21879:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},55015:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},57583:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},80496:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},2783:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},4994:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},37511:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},18095:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},2401:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},10250:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},86155:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},24377:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},93037:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,"",""]),e.default=o},53446:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".tee-swipe[data-v-aea1f9b]{position:relative;-webkit-user-select:none;user-select:none;overflow:hidden}.tee-swipe__track[data-v-aea1f9b]{display:-webkit-box;display:-webkit-flex;display:flex}.tee-swipe__track--vertical[data-v-aea1f9b]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.tee-swipe__indicators[data-v-aea1f9b]{position:absolute;bottom:12px;display:-webkit-box;display:-webkit-flex;display:flex;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tee-swipe__indicators--vertical[data-v-aea1f9b]{left:12px;top:50%;bottom:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.tee-swipe__indicator[data-v-aea1f9b]{height:6px;width:6px;opacity:.3;border-radius:6px;background:rgba(0,0,0,.3);-webkit-transition:opacity .2s,background-color .2s;transition:opacity .2s,background-color .2s}.tee-swipe__indicator[data-v-aea1f9b]:not(:last-child){margin-right:6px}.tee-swipe__indicator--vertical .tee-swipe__indicator[data-v-aea1f9b]:not(:last-child){margin-bottom:6px}",""]),e.default=o},41918:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".fj-agree{margin:8px 0;--checkbox-border-color:var(--main-bg,#e7c5a5);--checkbox-checked-icon-color:var(--main-bg,#e7c5a5)}.fj-agree__check-content{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-transform:translateZ(-1px);transform:translateZ(-1px)}.fj-agree__check-content,.fj-agree__text{display:-webkit-box;display:-webkit-flex;display:flex}.fj-agree__text{font-size:12px}.fj-agree__rule{display:inline;color:#44598d}",""]),e.default=o},31368:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,'.cell-item[data-v-5468ec6]{box-sizing:border-box;border-bottom:1px solid #ebedf0;font-size:14px}.cell-item[data-v-5468ec6],.cell-item__label[data-v-5468ec6]{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.cell-item__label[data-v-5468ec6]{-webkit-box-flex:0;-webkit-flex:0 0 auto;flex:0 0 auto;width:70px;line-height:1.4}.cell-item__value[data-v-5468ec6]{-webkit-box-flex:1;-webkit-flex:1 1 auto;flex:1 1 auto;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;padding-left:12px}.cell-item__arrow[data-v-5468ec6]{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);color:#969799}.cell-item--required .cell-item__label[data-v-5468ec6]:before{content:"*";position:absolute;left:-8px;margin-top:2px;font-size:14px;color:#ee0a24}',""]),e.default=o},88971:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".fj-head{box-sizing:border-box;padding:0 16px;line-height:1.4;text-align:left}.fj-head__title{font-size:20px;font-weight:500}.fj-head__subtitle{margin-top:4px;font-size:14px;color:#999}",""]),e.default=o},51138:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".fj-info{margin-top:24px;padding:0 16px;-webkit-box-flex:1;-webkit-flex:1;flex:1}",""]),e.default=o},43290:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".fj-submit{padding:4px 16px;margin-bottom:8px;-webkit-transform:translateZ(-1px);transform:translateZ(-1px)}.fj-submit-btn{width:100%!important;font-size:16px!important;font-weight:400!important;line-height:22px!important;background:var(--main-bg,#e7c5a5)!important;border-radius:var(--theme-radius-button,21px)!important;color:var(--main-text,#573413)!important;border-color:var(--main-bg,#e7c5a5)!important}",""]),e.default=o},84040:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".de-avatar__preview{display:block;height:30px;width:30px;border-radius:50%;overflow:hidden}",""]),e.default=o},28273:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".de-date__value{width:100%;line-height:60px}.de-date__value.empty{color:#c8c9cc}.de-date__get-btn{margin-top:10px}",""]),e.default=o},99792:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".de-gender__value{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:8px 0}.de-gender__one{margin-bottom:-8px;margin-right:12px}.de-gender__icon{display:-webkit-box;display:-webkit-flex;display:flex;box-sizing:border-box;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:40px;min-width:78px;padding:0 16px;text-align:center;font-size:14px;border:2px solid transparent;border-radius:4px;background-color:#f7f7f7;color:#333}.de-gender__icon.checked{background-color:transparent;border-color:#323233;border-color:var(--main-bg,#323233)}",""]),e.default=o},4055:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".de-input__field{height:60px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:0}.de-input__input,.de-input__input input{line-height:18px!important}",""]),e.default=o},71219:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".de-mobile__info{width:100%;line-height:60px}.de-mobile__button{height:26px;width:72px;line-height:26px;border-radius:4px;border:1px solid #e0e0e0;position:absolute;right:0;font-size:12px;color:#323233;margin-top:18px;text-align:center}.de-mobile .te-out{display:-webkit-box;display:-webkit-flex;display:flex}.de-mobile .te-out_tip{color:#c8c9cc}",""]),e.default=o},76644:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".de-multi-sel__value{width:100%;line-height:60px}.de-multi-sel__value.empty{color:#c8c9cc}.de-multi-sel-act__content{padding:4px 16px}.de-multi-sel-act__scroll-view{height:40vh}.de-multi-sel-act__content-group{margin-bottom:16px}.de-multi-sel-act__content-value{text-align:right!important;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.de-multi-sel-act__scroll-view{height:30vh;margin-bottom:20px}.de-multi-sel-act__content-checkbox{width:21px;height:21px;--checkbox-border-color:var(--main-bg,#e7c5a5);--checkbox-checked-icon-color:var(--main-bg,#e7c5a5)}.de-multi-sel-act__submit{padding:4px 16px;margin-bottom:8px;-webkit-transform:translateZ(-1px);transform:translateZ(-1px)}.de-multi-sel-act__submit-btn{width:100%!important;font-size:16px!important;font-weight:400!important;line-height:22px!important;background:var(--main-bg,#e7c5a5)!important;border-radius:var(--theme-radius-button,21px)!important;color:var(--main-text,#573413)!important;border-color:var(--main-bg,#e7c5a5)!important}",""]),e.default=o},68821:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".de-region__value{width:100%;line-height:60px}.de-region__value.empty{color:#c8c9cc}",""]),e.default=o},3800:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".de-single-sel__value{width:100%;line-height:60px}.de-single-sel__value.empty{color:#c8c9cc}.de-single-sel-act__content{padding:4px 16px}.de-single-sel-act__scroll-view{height:40vh}.de-single-sel-act__content-group{margin-bottom:16px}.de-single-sel-act__content-value{text-align:right!important;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.de-single-sel-act__scroll-view{height:30vh;margin-bottom:20px}.de-single-sel-act__submit{padding:4px 16px;margin-bottom:8px;-webkit-transform:translateZ(-1px);transform:translateZ(-1px)}.de-single-sel-act__submit-btn{width:100%!important;font-size:16px!important;font-weight:400!important;line-height:22px!important;background:var(--main-bg,#e7c5a5)!important;border-radius:var(--theme-radius-button,21px)!important;color:var(--main-text,#573413)!important;border-color:var(--main-bg,#e7c5a5)!important}",""]),e.default=o},86148:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".fast-join-container{min-height:200px;padding-top:30px;padding-bottom:calc(12px + env(safe-area-inset-bottom));padding-bottom:calc(12px + constant(safe-area-inset-bottom));display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.van-popup__close-icon{position:absolute!important}",""]),e.default=o},24260:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".jfc{--button-default-background-color:var(--main-bg,#e7c5a5);--button-default-border-color:var(--main-bg,#e7c5a5);--button-default-color:var(--main-text,#573413);padding:24px}.jfc-title{font-size:18px;font-weight:500;line-height:24px;text-align:center}.jfc-info .growth-info{font-size:12px;font-weight:400;line-height:18px;color:#969799;text-align:center;margin-top:8px}.jfc-info .highlight{display:inline;color:#d37721}.jfc-info .text-info{font-size:12px;font-weight:400;line-height:18px;color:#969799;text-align:center;margin-top:24px}.jfc .mi{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;padding:8px 0}.jfc .mi:not(:first-child){margin-top:8px}.jfc .mi__icon{width:48px}.jfc .mi__icon-img{height:40px}.jfc .mi__content{-webkit-box-flex:1;-webkit-flex:1;flex:1}.jfc .mi__content-title{font-size:14px;font-weight:500;line-height:20px;color:#323233}.jfc .mi__content-subtitle{margin-top:4px;font-size:12px;font-weight:400;line-height:16px;color:#969799}.jfc .mi__btn{margin-top:8px;width:60px}.jfc .goto__btn,.jfc .mi__btn{background:var(--main-bg,#e7c5a5);border-radius:var(--theme-radius-button,21px);color:var(--main-text,#573413);border-color:var(--main-bg,#e7c5a5)}.jfc .goto__btn{margin-top:32px;width:100%}",""]),e.default=o},9655:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".jsc{padding:24px;--button-default-background-color:var(--main-bg,#e7c5a5);--button-default-border-color:var(--main-bg,#e7c5a5);--button-default-color:var(--main-text,#573413)}.jsc__title{font-size:18px;font-weight:500;line-height:24px}.jsc__subtitle,.jsc__title{letter-spacing:0;text-align:center}.jsc__subtitle{margin-top:8px;font-size:12px;font-weight:400;line-height:17px;color:#979798}.jsc__benefit{margin-top:20px;margin-left:59px;width:104px}.jsc__bi{display:-webkit-box;display:-webkit-flex;display:flex;width:100%}.jsc__bi:not(:first-child){margin-top:4px}.jsc__bi-name{margin-left:4px;-webkit-box-flex:1;-webkit-flex:1;flex:1}.jsc__bi-count,.jsc__bi-name{font-size:14px;font-weight:400;line-height:20px}.jsc__bi-count{font-weight:600}.jsc__info{margin-top:16px;text-align:center;font-size:12px;font-weight:400;color:#979798}.jsc__bi-icon{line-height:20px;font-size:18px}.jsc__btn{margin-top:8px;width:100%;background:var(--main-bg,#e7c5a5);border-radius:var(--theme-radius-button,21px);color:var(--main-text,#573413);border-color:var(--main-bg,#e7c5a5)}",""]),e.default=o},24406:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".join-notice{width:260px;min-height:192px}",""]),e.default=o},76131:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".user-authorize-continer[data-v-726d91b]{display:block;height:100%}",""]),e.default=o},76177:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".assistant-pop[data-v-02ea354]{text-align:center;font-size:14px}.assistant-pop .title[data-v-02ea354]{font-size:16px;font-weight:500;line-height:48px}.assistant-pop .subtext[data-v-02ea354]{color:#39393a;margin:18px 0 8px}.assistant-pop .img[data-v-02ea354]{width:200px;height:200px;display:inline-block}.assistant-pop .action[data-v-02ea354]{margin:8px 0 16px}.assistant-pop .confirm[data-v-02ea354]{padding:8px 16px}",""]),e.default=o},35178:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".seller-icon[data-v-d4464c6]{position:fixed;right:10px;width:48px;height:48px;z-index:98;cursor:pointer}.seller-icon .earn-icon[data-v-d4464c6]{width:100%;height:100%}",""]),e.default=o},52451:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".b-header[data-v-c808d63]{-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin-bottom:10px;color:#323233;font-size:16px;line-height:24px;font-weight:500}.b-header .btn[data-v-c808d63]{font-weight:400;font-size:14px;color:#999}.b-header .btn+.btn[data-v-c808d63]{margin-left:10px}.fac[data-v-c808d63]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}",""]),e.default=o},16420:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".goods-item[data-v-4a1467c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}.goods-item .pic[data-v-4a1467c]{-webkit-flex-shrink:0;flex-shrink:0;width:62px;height:62px;margin-right:9px;border-radius:4px}.goods-item .content[data-v-4a1467c]{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:hidden;font-size:14px;line-height:20px;color:#323233;-webkit-box-orient:vertical;-webkit-flex-direction:column;flex-direction:column}.goods-item .content[data-v-4a1467c],.goods-item .content .extra[data-v-4a1467c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-direction:normal;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.goods-item .content .extra[data-v-4a1467c]{-webkit-box-orient:horizontal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}.goods-item .content .title[data-v-4a1467c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:2px;padding-right:30px}.goods-item .content .reason[data-v-4a1467c]{font-size:12px;line-height:18px;color:#ff720d;margin-bottom:4px}.goods-item .content .price[data-v-4a1467c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.goods-item .content .price .origin[data-v-4a1467c]{margin-left:4px;font-size:12px;color:#999;text-decoration:line-through}",""]),e.default=o},23698:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".match-block[data-v-783fb72]{padding:15px;background-color:#fff;border-radius:4px;margin-bottom:8px}.match-block .list[data-v-783fb72]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.match-block .list .list-item[data-v-783fb72]{width:50%;box-sizing:border-box;padding-left:5px}.match-block .list .list-item[data-v-783fb72]:first-child{padding-left:0;padding-right:5px}.match-block .list .empty[data-v-783fb72]{font-size:14px;line-height:18px;color:#999;background-color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.match-block .list .empty .manual-link[data-v-783fb72]{color:#ff720d}",""]),e.default=o},9867:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".match-item[data-v-808f095]{width:100%;padding:10px;background-color:#fffaf6;overflow:hidden;box-sizing:border-box}.match-item .imgs[data-v-808f095]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.match-item .imgs .plus[data-v-808f095]{color:#000;font-weight:500;font-size:14px;line-height:20px}.match-item .imgs .img[data-v-808f095]{display:block;width:60px;height:60px;border-radius:4px;-webkit-flex-shrink:0;flex-shrink:0}.match-item .reason[data-v-808f095]{text-align:center;margin-top:13px;color:#ff720d;font-size:12px;line-height:18px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}",""]),e.default=o},23119:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,'.match-list[data-v-91be85e]{padding-bottom:20px}.match-list .main-item[data-v-91be85e]{padding:10px 0 5px}.match-list .divider[data-v-91be85e]{color:#999;font-size:14px;line-height:16px;margin:8px 0 14px;border-color:#e0e0e0}.match-list .divider-img[data-v-91be85e]{position:relative;top:-1px;width:20px;height:20px}.match-list .divider[data-v-91be85e]:before{max-width:0;margin-right:-4px}.match-list .divider[data-v-91be85e]:after{margin-left:8px}.match-list .list[data-v-91be85e]{max-height:calc(80vh - 169px);overflow-y:auto}.match-list .list .item[data-v-91be85e]{position:relative;padding:12px 0}.match-list .list .item[data-v-91be85e]:before{position:absolute;box-sizing:border-box;content:"";pointer-events:none;top:0;right:0;left:0;border-top:1px solid #e0e0e0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.match-list .list .item-first[data-v-91be85e]{border-top:unset;padding-top:0}.match-list .list .item-first[data-v-91be85e]:before{display:none}.match-list .list .check-btn[data-v-91be85e]{position:relative;right:8px}.match-list .footer[data-v-91be85e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding-top:10px}.match-list .footer .footer-btn[data-v-91be85e]{width:180px;border-radius:22px}',""]),e.default=o},29469:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".p-header[data-v-4556081]{position:relative;text-align:center;font-size:16px;line-height:44px;height:44px;color:#323233;font-weight:500}.p-header .close[data-v-4556081]{position:absolute;right:0;color:#c8c9cc;top:11px}",""]),e.default=o},90368:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".pic-loading[data-v-28fc96a]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:20px 0;background-color:#fff;border-radius:4px;border:1px solid #e0e0e0;box-sizing:border-box}.pic-loading[data-v-28fc96a],.pic-loading .text[data-v-28fc96a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.pic-loading .text[data-v-28fc96a]{font-size:14px;line-height:20px;color:#323233;margin-bottom:2px}.pic-loading .text .pic[data-v-28fc96a]{width:17px;height:auto;margin-right:5px}.pic-loading .percent[data-v-28fc96a]{font-size:12px;line-height:18px;color:#666}",""]),e.default=o},62792:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".size[data-v-2fd5ba2]{margin-top:8px;font-size:14px;line-height:20px;color:#323233}.size[data-v-2fd5ba2],.size__list[data-v-2fd5ba2]{display:-webkit-box;display:-webkit-flex;display:flex}.size__list[data-v-2fd5ba2]{-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-flex-wrap:wrap;flex-wrap:wrap;font-size:12px}.size__item[data-v-2fd5ba2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:20%;position:relative;margin-bottom:12px}.size__item .text[data-v-2fd5ba2]{text-align:center;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.size__item.sold[data-v-2fd5ba2]{color:#ccc}.size__item .sold[data-v-2fd5ba2]{position:absolute;top:-50%;left:70%;white-space:nowrap;background:#969799;color:#fff;border-radius:8px;opacity:.6;padding:0 4px;font-size:10px;line-height:16px}",""]),e.default=o},30671:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".wrapper[data-v-7637d30]{padding:0 14px;overflow:initial}",""]),e.default=o},4196:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".goods[data-v-5db984d]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding-bottom:10px}.goods__img[data-v-5db984d]{position:relative;margin-right:12px}.goods__img-img[data-v-5db984d]{width:64px;height:64px;object-fit:cover}.goods__img-text[data-v-5db984d]{position:absolute;bottom:2px;left:50%;-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%);padding:1px 6px;background:#969799;color:#fff;font-size:10px;line-height:16px;text-align:center;border-radius:10px;min-width:65%}.goods__info[data-v-5db984d]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:64px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;width:calc(100% - 128px);font-size:14px;line-height:20px}.goods__info .title[data-v-5db984d]{color:#323233;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goods__info .reason[data-v-5db984d]{font-size:12px;line-height:16px;color:#ff720d}.goods__info .price[data-v-5db984d]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.goods__info .price .current[data-v-5db984d]{color:#d40000}.goods__info .price .origin[data-v-5db984d]{color:#999;font-size:12px;text-decoration:line-through;margin-left:12px}",""]),e.default=o},37106:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".specs[data-v-0d57444]{font-size:14px;line-height:20px;color:#323233}.specs__title[data-v-0d57444]{margin:14px 0}.specs__list[data-v-0d57444]{-webkit-flex-wrap:wrap;flex-wrap:wrap}.specs__item[data-v-0d57444],.specs__list[data-v-0d57444]{display:-webkit-box;display:-webkit-flex;display:flex}.specs__item[data-v-0d57444]{-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:4px 6px;margin:0 12px 14px 0;background:#f7f8fa;cursor:pointer}.specs__item.active[data-v-0d57444]{background:rgba(255,114,13,.1019607843)}.specs__img[data-v-0d57444]{width:20px;height:20px;margin-right:4px;object-fit:cover}",""]),e.default=o},61063:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".option[data-v-e63090f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;background:transparent;padding:0;border:none;height:100px}.option[data-v-e63090f]:active{opacity:.7}.option[data-v-e63090f]:after{border:none}.option .icon[data-v-e63090f]{width:48px;height:48px}.option .name[data-v-e63090f]{width:74px;margin-top:8px;padding:0 4px;color:#646566;line-height:12px;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}",""]),e.default=o},19638:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".guide-container[data-v-86d038d]{position:fixed;top:0;bottom:0;left:0;right:0;background:transparent;z-index:10001}.guide-inner[data-v-86d038d]{height:100vh;display:-webkit-box;display:-webkit-flex;display:flex}.guide-img[data-v-86d038d]{position:fixed;z-index:10001}.content-wrapper[data-v-86d038d]{position:absolute;color:#fff;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.content-wrapper .content[data-v-86d038d]{margin:16px 46px;line-height:24px;font-size:16px;text-align:center}.content-wrapper .guide-arrow[data-v-86d038d]{width:40px;height:74px;margin-top:16px;margin-bottom:12px}.content-wrapper .guide-button[data-v-86d038d]{width:138px;height:53px;line-height:53px;font-size:16px;text-align:center;background:url(https://img01.yzcdn.cn/upload_files/2020/12/17/FizKPDD0KVrK9CBzRofDO1vBQURh.png) 0 0/100% no-repeat}",""]),e.default=o},35900:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".slpreview[data-v-a3cca81]{position:fixed;left:0;right:0;top:0;bottom:0;background-color:rgba(0,0,0,.7);z-index:3000;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.slpreview .content[data-v-a3cca81]{position:relative}.slpreview .content .sp-img[data-v-a3cca81]{display:block;width:240px;border-radius:8px}.slpreview .content .sp-word[data-v-a3cca81]{position:absolute;bottom:-12%;left:50%;font-size:16px;color:#fff;white-space:nowrap;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.slpreview .content .sp-btn[data-v-a3cca81]{margin:24px auto 0;width:160px;height:36px;line-height:36px;text-align:center;border:1px solid #fff;border-radius:50px;font-size:14px;color:#fff}.close-big[data-v-a3cca81]{position:absolute;right:0;top:-32px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.close[data-v-a3cca81],.close-big[data-v-a3cca81]{height:24px;width:24px}.close[data-v-a3cca81]{background-image:url(https://b.yzcdn.cn/public_files/43b23880f9b5c4bffe0297dc8e5952ff.png);background-size:100% 100%}.close[data-v-a3cca81]:after{-webkit-transform:translateX(-50%) translateY(-50%) rotate(45deg);transform:translateX(-50%) translateY(-50%) rotate(45deg)}.close[data-v-a3cca81]:before{-webkit-transform:translateX(-50%) translateY(-50%) rotate(-45deg);transform:translateX(-50%) translateY(-50%) rotate(-45deg)}@media only screen and (min-width:375px){.sp-img[data-v-a3cca81]{width:292px}.sp-word[data-v-a3cca81]{font-size:14px}}",""]),e.default=o},59940:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".tips-wrap[data-v-82f951f]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;padding:24px 0 14px}.tips-content[data-v-82f951f],.tips-wrap[data-v-82f951f]{display:-webkit-box;display:-webkit-flex;display:flex}.tips-content[data-v-82f951f]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;justify-items:center}.tip-item[data-v-82f951f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-family:PingFangSC-Regular;font-size:14px;color:#323233;line-height:20px;margin-bottom:10px}.tip-text[data-v-82f951f]{margin-left:8px}.error-text[data-v-82f951f]{color:#ee0a24}.cube-tip[data-v-82f951f]{background:#f7f8fa;max-height:80vh;-webkit-flex-direction:column;flex-direction:column}.cube-tip[data-v-82f951f],.cube-tip--main[data-v-82f951f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal}.cube-tip--main[data-v-82f951f]{width:100%;padding-top:24px;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-flex-direction:column;flex-direction:column;background-color:#fff}.cube-tip--main__container[data-v-82f951f]{-webkit-user-select:none;border-radius:2px;margin-right:5px;margin-bottom:5px;-webkit-flex-shrink:0;flex-shrink:0;object-fit:cover}.cube-tip--main__container[data-v-82f951f],.cube-tip--main__img[data-v-82f951f]{width:calc(33.33333vw - 10.66667px);height:calc(33.33333vw - 10.66667px)}.cube-tip-status[data-v-82f951f]{-webkit-justify-content:space-around;justify-content:space-around;margin:0 47px 26px;font-size:14px;line-height:16px}.cube-tip-status[data-v-82f951f],.cube-tip-status-item[data-v-82f951f]{display:-webkit-box;display:-webkit-flex;display:flex}.cube-tip-status-item[data-v-82f951f]{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.cube-tip-status-item .desc[data-v-82f951f]{color:#969799;margin-left:2px}.cube-tip-action-desc[data-v-82f951f]{margin-bottom:16px;font-size:14px;text-align:center;line-height:18px;color:#333}.cube-tip .no-img[data-v-82f951f]{height:192px;background-size:100% 100%}.cube-tip--btn[data-v-82f951f]{margin-top:8px;font-size:16px;color:#333;text-align:center;background:#fff;width:100vw;height:50px;line-height:50px}.cube-tip .all-images[data-v-82f951f]{max-height:calc(80vh - 180px);overflow-y:auto}.cube-tip .all-images .grid[data-v-82f951f]{display:grid;grid-gap:8px;grid-template-columns:repeat(4,1fr);padding:0 8px 8px}.cube-tip .all-images .grid .img-wrapper[data-v-82f951f]{width:100%;aspect-ratio:1/1;border-radius:5px;margin-right:0;margin-bottom:0;overflow:hidden}.cube-tip .all-images .grid .img-wrapper .img[data-v-82f951f]{width:100%;height:100%}.cube-tip .img-container[data-v-82f951f]{display:-webkit-box;display:-webkit-flex;display:flex}",""]),e.default=o},18646:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".cube-share-mask__ele-wrap[data-v-b9fbb2b]{width:100vw;height:100vh;position:relative}.cube-share-mask__wechat-title[data-v-b9fbb2b]{font-size:20px;line-height:30px;height:30px;margin:140px auto auto;text-align:center;color:#fff}.cube-share-mask__wechat-desc[data-v-b9fbb2b]{line-height:20px;font-size:14px;color:#fff;text-align:center;margin-top:4px}.cube-share-mask__wechat-icon[data-v-b9fbb2b]{width:66px;height:117px;position:fixed;top:12px;right:12px}.cube-share-mask__wechat-icon.cube-share-mask__miniapp__wechat-icon[data-v-b9fbb2b]{right:80px}.cube-share-mask__wechat-icon img[data-v-b9fbb2b]{height:100%;width:100%}",""]),e.default=o},41759:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".task-sign[data-v-7aeceac]{width:270px;background:#fff;border-radius:8px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.task-sign .banner[data-v-7aeceac]{width:180px;height:100px;margin:24px 0}.task-sign .text[data-v-7aeceac]{font-size:13px;color:#323233;text-align:center;line-height:20px;width:223px}.task-sign .btn[data-v-7aeceac]{width:200px;height:36px;line-height:36px;border-radius:18px;font-size:14px;color:#fff;margin:24px 0 16px;text-align:center;background-image:-webkit-linear-gradient(315deg,#ffaa1e,#ff720d);background-image:linear-gradient(135deg,#ffaa1e,#ff720d);box-shadow:0 3px 6px 0 rgba(255,114,13,.2)}.task-sign .next[data-v-7aeceac]{font-size:13px;color:#969799;text-align:center;margin-bottom:24px}",""]),e.default=o},24665:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".cube-header[data-v-448c7c3]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:relative}.cube-header__title[data-v-448c7c3]{padding:16px 0 8px;text-align:center}.panel-title[data-v-448c7c3]{font-size:14px;line-height:20px;color:#323233;display:-webkit-box;display:-webkit-flex;display:flex}.panel-title__money[data-v-448c7c3]{color:#ed7a0c;font-weight:bolder;display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;margin-left:2px}.panel-desc[data-v-448c7c3]{font-size:12px;line-height:16px;margin:4px 0;color:#969799}.panel-close[data-v-448c7c3]{position:absolute!important;top:16px;right:16px;font-size:22px!important;color:#999;z-index:1000}",""]),e.default=o},89157:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".cube-tab-wrap_1{display:none!important}",""]),e.default=o},60745:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".cube-tab-poster{text-align:center}.cube-tab-poster__guide{height:55vh}.cube-tab-poster__guide .tee-swipe{height:calc(55vh - 44px)!important}.cube-tab-poster__guide .tee-swipe__track{max-height:calc(55vh - 44px)}.cube-tab-poster .t-loading{height:400px}.cube-tab-poster .poster-authorize{color:#969799;font-size:14px;margin-top:150px}.cube-tab-poster .poster-authorize__btn{width:108px!important;margin-top:24px}.cube-tab-poster .poster-box{display:-webkit-box;display:-webkit-flex;display:flex;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.cube-tab-poster .poster-model{display:-webkit-box;display:-webkit-flex;display:flex;margin-bottom:10px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-align-content:center;align-content:center;height:30px!important}.cube-tab-poster .poster-model__item{width:80px;height:28px;font-size:14px;color:#323233;background:#f2f3f5;border-radius:16px;line-height:28px}.cube-tab-poster .poster-model__item:first-child{margin-right:24px}.cube-tab-poster .poster-model__item-active{background:#fff2e8;color:#ff720d}.cube-tab-poster .poster-banner{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;text-align:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;overflow:hidden;padding-top:10px}.cube-tab-poster .poster-banner-swipe{position:relative;-webkit-box-flex:1;-webkit-flex:1;flex:1;-webkit-align-self:flex-start;align-self:flex-start;overflow:hidden}.cube-tab-poster .poster-banner-swipe .t-swipe__indicators{bottom:0}.cube-tab-poster .poster-banner__bottom{display:-webkit-box;display:-webkit-flex;display:flex;padding:16px 8px;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.cube-tab-poster .poster-banner__bottom.single-btn{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.cube-tab-poster .poster-banner__bottom-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-flex-basis:80px;flex-basis:80px}.cube-tab-poster .poster-banner__bottom-image{width:48px;height:48px}.cube-tab-poster .poster-banner__bottom-text{margin-top:8px;font-size:12px;line-height:12px;color:#646566;text-align:center}.cube-tab-poster .poster-save-tip{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;line-height:18px;font-size:13px;color:#969799;margin:8px 0}.cube-tab-poster .poster-save-tip__icon{margin-right:6px;width:16px;height:16px}.cube-tab-poster .poster-banner-swipe .tee-swipe__indicator{margin-right:4px}.cube-tab-poster .swipe-poster-item{position:relative;padding:5px 0 24px;box-sizing:border-box;height:100%;width:288px;-webkit-transform:scale(.85);transform:scale(.85);-webkit-transition:all .3s ease-out;transition:all .3s ease-out;margin-left:calc(50vw - 144px)}.cube-tab-poster .swipe-poster-item.active{-webkit-transform:scale(1);transform:scale(1)}.cube-tab-poster .swipe-poster-item .t-loading__text{color:#fff}.cube-tab-poster .poster-img-container{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;background-color:transparent}.cube-tab-poster .poster-img-container .poster-img{max-width:288px;max-height:100%;box-shadow:0 2px 16px 0 rgba(0,0,0,.1019607843)}.cube-tab-poster .poster-img-container .poster-loading{position:absolute;top:0;left:0;right:0;bottom:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:auto;background:rgba(0,0,0,.3);margin-bottom:10px}.cube-tab-poster .poster-img-container .poster-img__err{color:#fff;font-size:16px}.cube-tab-poster .poster-hide-user{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;font-size:14px;padding-bottom:20px}",""]),e.default=o},92923:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,'.cube-tab__text[data-v-c8a4de3]{margin:12px 16px 16px;padding:12px;box-sizing:border-box;border-radius:4px;background-color:#f7f8fa;color:#323233;font-size:14px;line-height:20px;overflow:scroll;line-break:anywhere;white-space:pre-line;width:calc(100vw - 32px)}.cube-bar[data-v-c8a4de3]{display:-webkit-box;display:-webkit-flex;display:flex;height:54px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin:0 16px 10px}.cube-bar-right[data-v-c8a4de3]{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.cube-bar>.span[data-v-c8a4de3]{font-size:13px;color:#323233;-webkit-box-flex:1;-webkit-flex:1;flex:1;margin-left:4px}.cube-bar-btn[data-v-c8a4de3]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.cube-bar-btn .button-icon[data-v-c8a4de3]{line-height:14px}.promote[data-v-c8a4de3]{display:-webkit-box;display:-webkit-flex;display:flex;padding:0 16px;box-sizing:border-box;width:100%;height:100px;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.promote-scroll[data-v-c8a4de3]{height:calc(90vh - 212px + env(safe-area-inset-bottom))}.promote__text[data-v-c8a4de3]{margin:12px 16px 16px;padding:12px;box-sizing:border-box;border-radius:4px;background-color:#f7f8fa;color:#323233;font-size:14px;line-height:20px;overflow:scroll;line-break:anywhere;white-space:pre-line}.promote__scroll[data-v-c8a4de3]{position:relative;width:100%;white-space:nowrap;overflow-x:scroll}.promote__wrapper[data-v-c8a4de3]{display:-webkit-box;display:-webkit-flex;display:flex}.promote__wrapper[data-v-c8a4de3]::-webkit-scrollbar{width:0!important;display:none}.promote__list[data-v-c8a4de3]{display:inline-block;object-fit:cover;object-position:top;border-radius:3px;margin-right:8px;-webkit-flex-shrink:0;flex-shrink:0}.promote__img[data-v-c8a4de3],.promote__list[data-v-c8a4de3]{width:100px;height:100px}.range[data-v-c8a4de3]{position:relative;background:#ebedf0;width:40px;margin:0 auto;border-radius:2.5px;overflow:hidden;height:5px;margin-top:8px}.range__after[data-v-c8a4de3]{content:" ";position:absolute;left:0;top:0;height:100%;background:#c8c9cc;border-radius:2.5px;width:12px}.mtl[data-v-c8a4de3]{border-top:8px solid #f7f8fa;padding:12px 16px}.mtl__tlt[data-v-c8a4de3]{font-size:14px;font-weight:700;line-height:20px;margin-bottom:8px;color:#333}.mtl__content[data-v-c8a4de3]{background:#f7f8fa;padding:12px;border-radius:4px}.mtl__content-tlt[data-v-c8a4de3]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;line-height:20px;margin-bottom:4px;color:#333}.mtl__content-tlt-left[data-v-c8a4de3]{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mtl__content-tlt-right[data-v-c8a4de3]{font-size:12px;color:#323233;-webkit-flex-shrink:0;flex-shrink:0}.mtl__content-sub-tlt[data-v-c8a4de3]{margin-bottom:4px;color:#969799;font-size:12px;line-height:17px}.mtl__content-share-data[data-v-c8a4de3]{margin-top:4px;color:#969799;font-size:12px}.mtl__video[data-v-c8a4de3]{width:300px;height:150px}.mtl__imgs[data-v-c8a4de3]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.mtl__imgs-item[data-v-c8a4de3]{-webkit-box-flex:0;-webkit-flex:0 0 calc(33.33% - 8px);flex:0 0 calc(33.33% - 8px);margin:0 8px 8px 0;position:relative}.mtl__imgs-item[data-v-c8a4de3]:before{content:"";display:block;padding-bottom:100%}.mtl__imgs-item-img[data-v-c8a4de3]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:4px}',""]),e.default=o},85942:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".ai-promote-poster .header[data-v-a85e471]{margin:0 12px}.ai-promote .content-block[data-v-a85e471]{box-sizing:border-box;max-height:calc(90vh - 44px);overflow-y:auto}.ai-promote .back-btn[data-v-a85e471]{position:absolute;line-height:44px;font-size:16px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}",""]),e.default=o},24345:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".cube-img-pop .image-preview-swipe-item__image{max-height:90vh;background-color:#fff}.cube-img-pop .t-swipe__indicator{margin-right:4px}",""]),e.default=o},5636:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".panel[data-v-dff7bf2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;height:100%;background:#fff;padding:0 12px;margin:0 -12px;max-height:80vh}.panel .panel-header[data-v-dff7bf2]{-webkit-flex-shrink:0;flex-shrink:0}.panel .panel-header .back-btn[data-v-dff7bf2]{position:absolute;line-height:44px;font-size:16px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.panel__content[data-v-dff7bf2]{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto;padding-bottom:20px;max-height:calc(80vh - 120px);min-height:350px}.panel__divider[data-v-dff7bf2]{height:.5px;background:#e0e0e0;margin:10px 0 18px}.panel__footer[data-v-dff7bf2]{-webkit-flex-shrink:0;flex-shrink:0;padding:16px;height:76px;box-sizing:border-box}.panel__footer .panel__btn[data-v-dff7bf2]{width:100%;height:44px;border-radius:22px;font-size:16px;font-weight:500;color:#fff;background:#ff720d}",""]),e.default=o},65228:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".share-block[data-v-28ffb09]{padding:15px 15px 118px;background-color:#fff;border-radius:4px}.share-block__poster[data-v-28ffb09]{padding:0}.share-block .share-money[data-v-28ffb09]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-left:8px;font-size:12px;line-height:24px;color:#999;font-weight:400}.share-block .share-money .money[data-v-28ffb09]{color:#ff720d}.share-block .gray[data-v-28ffb09]{background-color:#f8f8f8;border-radius:4px;padding:12px;overflow:hidden}.share-block .text-loading[data-v-28ffb09]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:80px;color:#969799}.share-block .text[data-v-28ffb09]{display:block;white-space:pre-line;word-break:break-all;font-size:14px;line-height:20px;color:#333}.share-block .img-list[data-v-28ffb09]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-top:10px}.share-block .img-list .img-loading[data-v-28ffb09]{width:100%;margin-bottom:8px}.share-block .img-list .img-wrapper[data-v-28ffb09]{width:19.2vw;height:19.2vw;margin:1.1vw;border-radius:5px;overflow:hidden}.share-block .img-list .img-wrapper[data-v-28ffb09]:nth-child(4n){margin-right:0}.share-block .img-list .img-wrapper .img[data-v-28ffb09]{width:100%;height:100%}",""]),e.default=o},85156:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,'.scroll-view-wv{-webkit-box-orient:horizontal;-webkit-flex-direction:row;flex-direction:row;height:100px}.panel-icon-wrap,.scroll-view-wv{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-direction:normal}.panel-icon-wrap{-webkit-box-orient:vertical;-webkit-flex-direction:column;flex-direction:column;position:relative;width:100%}.icon-list-row{display:-webkit-box;display:-webkit-flex;display:flex;padding:0 8px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.icon-list-row--border:before{left:16px;position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;border-top:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.hasTopBorder{border-top:8px solid #f7f8fa}.wx__desc{font-size:16px;font-weight:700;color:#333;line-height:22px;margin:auto;width:264px;padding:20px 0;text-align:center}.wx__img{width:290px;height:152px;margin:auto;display:block}.checkbox-block{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-align-content:center;align-content:center;margin:14px 0}.checkbox-block .remind-label{font-size:14px;color:#979797;position:relative;top:-1px}',""]),e.default=o},23604:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".cube-pop-border-box{box-sizing:border-box!important}.cube-pop-border-box.cube-pop-match{padding-left:12px;padding-right:12px}.cube-pop-border-box.cube-pop-gray{background-color:#f7f8fa!important}.salesman-pop-frame__container{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.salesman-pop-frame__match .salesman-pop-frame__footer{width:unset;left:12px;right:12px}.salesman-pop-frame__height{height:90vh}.salesman-pop-frame__body{-webkit-box-flex:1;-webkit-flex:1;flex:1}.salesman-pop-frame__footer{background:#fff;position:fixed;bottom:0;width:100%}",""]),e.default=o},35633:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".bottom-nav-bg[data-v-986de61]{position:fixed;left:0;bottom:0;z-index:996;height:50px;width:100%;background-color:#fff;padding-bottom:env(safe-area-inset-bottom)}",""]),e.default=o},63954:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".tab-bar{position:fixed;bottom:0;left:0;right:0;display:-webkit-box;display:-webkit-flex;display:flex;z-index:9999;padding-bottom:env(safe-area-inset-bottom)}.tab-bar-legacy{height:49px;background-color:transparent}.tab-bar-float{height:56px;width:91.5vw;margin:0 auto 10px;border-radius:40px;box-shadow:0 2px 24px 0 rgba(0,0,0,.0784313725);padding:0;margin-bottom:env(safe-area-inset-bottom)}.tab-bar-float.iPhone-X{margin-bottom:34px}.tab-bar-legacy.iPhone-X{padding-bottom:34px}.tab-bar-border{background-color:#979797;position:absolute;left:0;top:0;width:100%;height:1px;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.tab-bar-item{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;position:relative}.tab-bar-item__text{font-size:10px;color:#666}.tab-bg-bar{position:fixed;bottom:0;left:0;right:0;height:49px;display:-webkit-box;display:-webkit-flex;display:flex;z-index:9997;padding-bottom:env(safe-area-inset-bottom)}.tab-bg-bar[data-float]{height:66px}.tab-bg-bar[data-float].iPhone-X{height:56px;padding-bottom:34px}.tab-bg-bar[data-float=true]{background:#fff}.tab-bg-bar[data-float=false]{background:-webkit-linear-gradient(bottom,hsla(0,0%,100%,.7) -6.47%,hsla(0,0%,85.1%,0));background:linear-gradient(1turn,hsla(0,0%,100%,.7) -6.47%,hsla(0,0%,85.1%,0))}.tab-bg-bar.iPhone-X{height:84px}.rudder-mask-container{display:-webkit-box;display:-webkit-flex;display:flex;z-index:99;position:fixed;bottom:0;width:100vw;margin-bottom:-1px;bottom:env(safe-area-inset-bottom)}.rudder-mask-container .rudder-mask-left{background-color:#fcfcfc;height:49px;width:45%;margin-right:-1px}.rudder-mask-container .rudder-mask-right{background-color:#fcfcfc;height:49px;width:45%;margin-left:-2px}.rudder-mask-container .rudder-mask{height:49px;width:103px;z-index:888;-webkit-mask:url(https://img01.yzcdn.cn/upload_files/2024/10/30/wave.png);mask:url(https://img01.yzcdn.cn/upload_files/2024/10/30/wave.png);mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-position:center;-webkit-mask-position:center;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;background-color:#fcfcfc}.rudder-safe-box{height:0;position:fixed;width:100vw;bottom:0;left:0;background-color:#fcfcfc;z-index:9997;height:env(safe-area-inset-bottom)}.iPhone-X .rudder-mask-container{bottom:34px}.iPhone-X .rudder-safe-box{height:34px}",""]),e.default=o},97766:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,'@font-face{font-family:yz-tabbar-icon;src:url(https://img01.yzcdn.cn/yz-tabbar-icon/yz-tabbar-icon_ed7260d5f2290c08de21256b11cab696.svg#yz-tabbar-icon) format("svg"),url(https://b.yzcdn.cn/2025/2/8/yz-tabbar-icon.ttf) format("truetype"),url(https://img01.yzcdn.cn/yz-tabbar-icon/yz-tabbar-icon_ed7260d5f2290c08de21256b11cab696.eot#iefix) format("embedded-opentype"),url(https://b.yzcdn.cn/2025/2/8/yz-tabbar-icon.woff) format("woff"),url(https://b.yzcdn.cn/2025/2/8/yz-tabbar-icon.woff2) format("woff2")}@font-face{font-family:yt-icon-v2;src:url(https://b.yzcdn.cn/2025/2/25/iconfont.ttf) format("truetype"),url(https://b.yzcdn.cn/2025/2/25/iconfont.woff) format("woff"),url(https://b.yzcdn.cn/2025/2/25/iconfont.woff2) format("woff2")}@font-face{font-family:yz-tabbar-icon-add;src:url(https://b.yzcdn.cn/yz-tabbar-icon/yz-tabbar-icon-210511.woff2) format("woff2"),url(https://b.yzcdn.cn/yz-tabbar-icon/yz-tabbar-icon-210511.woff) format("woff"),url(https://b.yzcdn.cn/yz-tabbar-icon/yz-tabbar-icon-210511.ttf) format("truetype")}@font-face{font-family:yz-tabbar-icon-add2;src:url(https://b.yzcdn.cn/yz-tabbar-icon/iconfont-add.ttf) format("truetype"),url(https://b.yzcdn.cn/yz-tabbar-icon/iconfont-add.woff) format("woff"),url(https://b.yzcdn.cn/yz-tabbar-icon/iconfont-add.woff2) format("woff2")}.yt{font-family:yt-icon-v2!important;display:block;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased}.yt-marketingpage-active:before{content:""}.yt-marketingpage-active:before,.yt-marketingpage:before{font-family:yz-tabbar-icon-add2!important;position:relative;bottom:2px}.yt-marketingpage:before{content:""}.yt-membercode1-active:before,.yt-membercode1:before{content:""}.yt-scanshopping-active:before{font-family:yz-tabbar-icon-add!important;content:""}.yt-scanshopping:before{font-family:yz-tabbar-icon-add!important;content:""}.yt-activity-active:before,.yt-activity:before{content:""}.yt-brand-active:before,.yt-brand:before{content:""}.yt-cart-active:before{content:""}.yt-cart-rsj-active:before{font-family:yz-tabbar-icon!important;content:""}.yt-cart-rsj:before{font-family:yz-tabbar-icon!important;content:""}.yt-cart:before{content:""}.yt-cart1-active:before{font-family:yz-tabbar-icon!important;content:""}.yt-cart1:before{font-family:yz-tabbar-icon!important;content:""}.yt-classification-active:before,.yt-classification:before{content:""}.yt-classify-rsj-active:before{font-family:yz-tabbar-icon!important;content:""}.yt-classify-rsj:before{font-family:yz-tabbar-icon!important;content:""}.yt-discovery-active:before,.yt-discovery:before{content:""}.yt-home-active:before{content:""}.yt-home-rsj-active:before{font-family:yz-tabbar-icon!important;content:""}.yt-home-rsj:before{font-family:yz-tabbar-icon!important;content:""}.yt-home:before{content:""}.yt-home1-active:before{font-family:yz-tabbar-icon!important;content:""}.yt-home1:before{font-family:yz-tabbar-icon!important;content:""}.yt-hot-active:before,.yt-hot:before{content:""}.yt-inventory-active:before,.yt-inventory:before{content:""}.yt-popular-active:before,.yt-popular:before{content:""}.yt-preference-active:before,.yt-preference:before{content:""}.yt-recommendation-active:before,.yt-recommendation:before{content:""}.yt-sale-active:before,.yt-sale:before{content:""}.yt-shopnote-active:before,.yt-shopnote:before{content:""}.yt-usercenter-active:before{content:""}.yt-usercenter-rsj-active:before{font-family:yz-tabbar-icon!important;content:""}.yt-usercenter-rsj:before{font-family:yz-tabbar-icon!important;content:""}.yt-usercenter:before{content:""}.yt-usercenter1-active:before{font-family:yz-tabbar-icon!important;content:""}.yt-usercenter1:before{font-family:yz-tabbar-icon!important;content:""}.yt-video-rsj-active:before{font-family:yz-tabbar-icon!important;content:""}.yt-video-rsj:before{font-family:yz-tabbar-icon!important;content:""}.yt-vipcenter1-active:before,.yt-vipcenter1:before{content:""}.yt-bag-active:before,.yt-bag:before{content:""}.yt-menu-active:before,.yt-menu:before{content:""}.yt-point-active:before,.yt-point:before{content:""}.yt-cash-active:before,.yt-cash:before{content:""}.yt-gift-active:before,.yt-gift:before{content:""}.yt-ordercenter-active:before,.yt-ordercenter:before{content:""}.yt-birth-active:before,.yt-birth:before{content:""}.yt-kefu-active:before,.yt-kefu:before{content:""}.base-flex{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.tab-bar-main{position:absolute;bottom:1px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:56px;height:56px;padding:0;border:4px solid #fcfcfc;border-radius:50%}.tab-bar-main__image{width:32px;height:32px;color:#fff}.tab-bar-item{-webkit-box-flex:1;-webkit-flex:1;flex:1;line-height:1}.tab-bar-item__image{width:24px;height:24px}.ad-button{background:transparent;margin:0;padding:0;border-radius:0;border:none}.ad-button:after,.ad-button:before{border:none!important}',""]),e.default=o},49506:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".tab-bg-color[data-v-cf312a1]{height:100vh;width:100vw;background:#fcfcfc}",""]),e.default=o},46613:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,".uploader[data-v-8dfce03]{position:relative}.idcard__uploader__content[data-v-8dfce03]{margin-right:8px;position:relative}.idcard__uploader__img[data-v-8dfce03]{height:64px;width:64px;display:block}.idcard__uploader__icon[data-v-8dfce03]{position:absolute;top:0;right:0;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}.idcard__uploader__label[data-v-8dfce03]{padding-right:8px}",""]),e.default=o},69667:function(t,e,n){"use strict";n.r(e);var i=n(16549),o=n.n(i)()(!1);o.push([t.id,'.idcard-popup-container{height:0}.idcard-popup-container .idcard{border-radius:var(--theme-radius-dialog,16px) var(--theme-radius-dialog,16px) 0 0!important}.idcard-popup-container .idcard__field--label{margin-right:0!important}.idcard-popup-container .idcard__tip{color:#ed6a0c;font-size:12px;line-height:16px;padding:0 16px;margin-top:5px;margin-bottom:8px}.idcard-popup-container .idcard__tip__disabled{color:#969799}.idcard-popup-container .idcard__list__wrapper{position:absolute;top:143px;left:88px;width:270px;min-height:72px;max-height:144px;border-radius:4px;border:.5px solid #dcdee0;padding:12px 16px;background:#fff;z-index:10;box-sizing:border-box}.idcard-popup-container .idcard__list__wrapper:before{content:"";position:absolute;left:8px;top:-12px;z-index:1;width:0;height:0;border:6px solid;border-color:transparent transparent #dcdee0 transparent}.idcard-popup-container .idcard__list__wrapper:after{content:"";position:absolute;left:8px;top:-11px;z-index:2;width:0;height:0;border:6px solid;border-color:transparent transparent #fff transparent}.idcard-popup-container .idcard__list{width:100%;max-height:100px;overflow-y:scroll;-webkit-overflow-scrolling:touch}.idcard-popup-container .idcard__list__title{font-size:12px;color:#969799;line-height:16px}.idcard-popup-container .idcard__list__item{font-size:14px;color:#646566;line-height:20px;padding:12px 0 8px;border-bottom:1px solid #ebedf0}.idcard-popup-container .idcard__list__item:last-child{border-bottom:none}.idcard-popup-container .idcard__value{overflow:visible!important}.idcard-popup-container .idcard__info{margin-left:4px;color:#969799}.idcard-popup-container .idcard__label{-webkit-box-flex:0!important;-webkit-flex:none!important;flex:none!important;width:90px}.idcard-popup-container .idcard__uploader{-webkit-box-flex:0;-webkit-flex:none;flex:none}.idcard-popup-container .idcard__uploader-text{font-size:12px;color:#323233;text-align:center;line-height:1.5}.idcard-popup-container .idcard__example{padding:0 16px 50px;box-sizing:border-box}.idcard-popup-container .idcard__example__image{width:100%;height:66px}.idcard-popup-container .idcard__uploaders{display:-webkit-box;display:-webkit-flex;display:flex}.idcard-popup-container .idcard__bottom{position:absolute;bottom:0;left:0;right:0}.idcard-popup-container .t-icon-clear{display:-webkit-box;display:-webkit-flex;display:flex}::v-deep .idcard-label-class .idcard__label{-webkit-box-flex:0!important;-webkit-flex:none!important;flex:none!important;width:90px!important}::v-deep .idcard-label-class .t-cell__value{overflow:visible!important}::v-deep .trade-pay-idcard{-webkit-text-fill-color:#323233!important;color:#323233!important}.info-dialog{width:310px;padding:0 20px;box-sizing:border-box;border-radius:var(--theme-radius-dialog,16px)!important}.info-dialog__title{font-size:16px;font-weight:500;line-height:44px;margin-bottom:20px;text-align:center}.info-dialog__content{font-size:14px;line-height:20px}.info-dialog__button{height:36px!important;line-height:34px!important;margin:24px 0;border:none;border-radius:var(--theme-radius-button,999px)}.order-action-sheet{box-sizing:border-box;height:100%}.order-action-sheet__title{font-size:16px;font-weight:500;position:relative;height:48px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.order-action-sheet__close,.order-action-sheet__title{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.order-action-sheet__close{position:absolute!important;top:0;right:0;padding:0 12px;color:#c8c9cc;font-size:22px;display:-webkit-box!important;display:-webkit-flex!important;display:flex!important;height:100%}.order-action-sheet__body{min-height:250px;min-height:40vh;max-height:400px;overflow-y:auto;background:#fff!important}.order-action-sheet__body-padding{padding:12px 12px 80px}.order-action-sheet__bottom{bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:0 16px;background-color:#fff}.order-action-sheet__add{height:40px!important;line-height:38px!important;margin:5px 0;border-radius:var(--theme-radius-button,999px)}',""]),e.default=o},34274:function(t){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},55162:function(t,e,n){"use strict";var i,o,a,r=n(34274),s=n(57642),c=n(52659),u=n(64450),l=n(7379),d=n(99529),f=n(65752),h=n(58043),p=n(23391),m=n(49689),g=n(20005).f,v=n(92556),b=n(87705),y=n(96103),_=n(75618),w=n(35949),x=c.Int8Array,S=x&&x.prototype,k=c.Uint8ClampedArray,I=k&&k.prototype,T=x&&b(x),C=S&&b(S),P=Object.prototype,E=c.TypeError,A=_("toStringTag"),O=w("TYPED_ARRAY_TAG"),L=w("TYPED_ARRAY_CONSTRUCTOR"),M=r&&!!y&&"Opera"!==f(c.opera),R=!1,D={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},G=function(t){if(!l(t))return!1;var e=f(t);return d(D,e)||d(N,e)};for(i in D)(a=(o=c[i])&&o.prototype)?p(a,L,o):M=!1;for(i in N)(a=(o=c[i])&&o.prototype)&&p(a,L,o);if((!M||!u(T)||T===Function.prototype)&&(T=function(){throw E("Incorrect invocation")},M))for(i in D)c[i]&&y(c[i],T);if((!M||!C||C===P)&&(C=T.prototype,M))for(i in D)c[i]&&y(c[i].prototype,C);if(M&&b(I)!==C&&y(I,C),s&&!d(C,A))for(i in R=!0,g(C,A,{get:function(){return l(this)?this[O]:void 0}}),D)c[i]&&p(c[i],O,i);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_CONSTRUCTOR:L,TYPED_ARRAY_TAG:R&&O,aTypedArray:function(t){if(G(t))return t;throw E("Target is not a typed array")},aTypedArrayConstructor:function(t){if(u(t)&&(!y||v(T,t)))return t;throw E(h(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n){if(s){if(n)for(var i in D){var o=c[i];if(o&&d(o.prototype,t))try{delete o.prototype[t]}catch(t){}}C[t]&&!n||m(C,t,n?e:M&&S[t]||e)}},exportTypedArrayStaticMethod:function(t,e,n){var i,o;if(s){if(y){if(n)for(i in D)if((o=c[i])&&d(o,t))try{delete o[t]}catch(t){}if(T[t]&&!n)return;try{return m(T,t,n?e:M&&T[t]||e)}catch(t){}}for(i in D)!(o=c[i])||o[t]&&!n||m(o,t,e)}},isView:function(t){if(!l(t))return!1;var e=f(t);return"DataView"===e||d(D,e)||d(N,e)},isTypedArray:G,TypedArray:T,TypedArrayPrototype:C}},37092:function(t,e,n){"use strict";var i=n(52659),o=n(16891),a=n(57642),r=n(34274),s=n(96656),c=n(23391),u=n(94130),l=n(3710),d=n(87340),f=n(87848),h=n(57340),p=n(25954),m=n(27364),g=n(87705),v=n(96103),b=n(2268).f,y=n(20005).f,_=n(35291),w=n(92965),x=n(42634),S=n(41329),k=s.PROPER,I=s.CONFIGURABLE,T=S.get,C=S.set,P="ArrayBuffer",E="DataView",A="prototype",O="Wrong index",L=i[P],M=L,R=M&&M[A],D=i[E],N=D&&D[A],G=Object.prototype,U=i.Array,j=i.RangeError,F=o(_),B=o([].reverse),z=m.pack,H=m.unpack,W=function(t){return[255&t]},K=function(t){return[255&t,t>>8&255]},q=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},V=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},Y=function(t){return z(t,23,4)},$=function(t){return z(t,52,8)},J=function(t,e){y(t[A],e,{get:function(){return T(this)[e]}})},X=function(t,e,n,i){var o=p(n),a=T(t);if(o+e>a.byteLength)throw j(O);var r=T(a.buffer).bytes,s=o+a.byteOffset,c=w(r,s,s+e);return i?c:B(c)},Z=function(t,e,n,i,o,a){var r=p(n),s=T(t);if(r+e>s.byteLength)throw j(O);for(var c=T(s.buffer).bytes,u=r+s.byteOffset,l=i(+o),d=0;d<e;d++)c[u+d]=l[a?d:e-d-1]};if(r){var Q=k&&L.name!==P;if(l((function(){L(1)}))&&l((function(){new L(-1)}))&&!l((function(){return new L,new L(1.5),new L(NaN),Q&&!I})))Q&&I&&c(L,"name",P);else{(M=function(t){return d(this,R),new L(p(t))})[A]=R;for(var tt,et=b(L),nt=0;et.length>nt;)(tt=et[nt++])in M||c(M,tt,L[tt]);R.constructor=M}v&&g(N)!==G&&v(N,G);var it=new D(new M(2)),ot=o(N.setInt8);it.setInt8(0,2147483648),it.setInt8(1,2147483649),!it.getInt8(0)&&it.getInt8(1)||u(N,{setInt8:function(t,e){ot(this,t,e<<24>>24)},setUint8:function(t,e){ot(this,t,e<<24>>24)}},{unsafe:!0})}else R=(M=function(t){d(this,R);var e=p(t);C(this,{bytes:F(U(e),0),byteLength:e}),a||(this.byteLength=e)})[A],N=(D=function(t,e,n){d(this,N),d(t,R);var i=T(t).byteLength,o=f(e);if(o<0||o>i)throw j("Wrong offset");if(o+(n=void 0===n?i-o:h(n))>i)throw j("Wrong length");C(this,{buffer:t,byteLength:n,byteOffset:o}),a||(this.buffer=t,this.byteLength=n,this.byteOffset=o)})[A],a&&(J(M,"byteLength"),J(D,"buffer"),J(D,"byteLength"),J(D,"byteOffset")),u(N,{getInt8:function(t){return X(this,1,t)[0]<<24>>24},getUint8:function(t){return X(this,1,t)[0]},getInt16:function(t){var e=X(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=X(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return V(X(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return V(X(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return H(X(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return H(X(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){Z(this,1,t,W,e)},setUint8:function(t,e){Z(this,1,t,W,e)},setInt16:function(t,e){Z(this,2,t,K,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){Z(this,2,t,K,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){Z(this,4,t,q,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){Z(this,4,t,q,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){Z(this,4,t,Y,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){Z(this,8,t,$,e,arguments.length>2?arguments[2]:void 0)}});x(M,P),x(D,E),t.exports={ArrayBuffer:M,DataView:D}},387:function(t,e,n){"use strict";var i=n(94118),o=n(95508),a=n(80537),r=Math.min;t.exports=[].copyWithin||function(t,e){var n=i(this),s=a(n),c=o(t,s),u=o(e,s),l=arguments.length>2?arguments[2]:void 0,d=r((void 0===l?s:o(l,s))-u,s-c),f=1;for(u<c&&c<u+d&&(f=-1,u+=d-1,c+=d-1);d-- >0;)u in n?n[c]=n[u]:delete n[c],c+=f,u+=f;return n}},35291:function(t,e,n){"use strict";var i=n(94118),o=n(95508),a=n(80537);t.exports=function(t){for(var e=i(this),n=a(e),r=arguments.length,s=o(r>1?arguments[1]:void 0,n),c=r>2?arguments[2]:void 0,u=void 0===c?n:o(c,n);u>s;)e[s++]=t;return e}},19468:function(t){t.exports=function(t,e){for(var n=0,i=e.length,o=new t(i);i>n;)o[n]=e[n++];return o}},79392:function(t,e,n){"use strict";var i=n(52659),o=n(16891),a=n(10220),r=n(7379),s=n(99529),c=n(92965),u=i.Function,l=o([].concat),d=o([].join),f={};t.exports=u.bind||function(t){var e=a(this),n=e.prototype,i=c(arguments,1),o=function(){var n=l(i,c(arguments));return this instanceof o?function(t,e,n){if(!s(f,e)){for(var i=[],o=0;o<e;o++)i[o]="a["+o+"]";f[e]=u("C,a","return new C("+d(i,",")+")")}return f[e](t,n)}(e,n.length,n):e.apply(t,n)};return r(n)&&(o.prototype=n),o}},27364:function(t,e,n){var i=n(52659).Array,o=Math.abs,a=Math.pow,r=Math.floor,s=Math.log,c=Math.LN2;t.exports={pack:function(t,e,n){var u,l,d,f=i(n),h=8*n-e-1,p=(1<<h)-1,m=p>>1,g=23===e?a(2,-24)-a(2,-77):0,v=t<0||0===t&&1/t<0?1:0,b=0;for((t=o(t))!=t||t===1/0?(l=t!=t?1:0,u=p):(u=r(s(t)/c),t*(d=a(2,-u))<1&&(u--,d*=2),(t+=u+m>=1?g/d:g*a(2,1-m))*d>=2&&(u++,d/=2),u+m>=p?(l=0,u=p):u+m>=1?(l=(t*d-1)*a(2,e),u+=m):(l=t*a(2,m-1)*a(2,e),u=0));e>=8;f[b++]=255&l,l/=256,e-=8);for(u=u<<e|l,h+=e;h>0;f[b++]=255&u,u/=256,h-=8);return f[--b]|=128*v,f},unpack:function(t,e){var n,i=t.length,o=8*i-e-1,r=(1<<o)-1,s=r>>1,c=o-7,u=i-1,l=t[u--],d=127&l;for(l>>=7;c>0;d=256*d+t[u],u--,c-=8);for(n=d&(1<<-c)-1,d>>=-c,c+=e;c>0;n=256*n+t[u],u--,c-=8);if(0===d)d=1-s;else{if(d===r)return n?NaN:l?-1/0:1/0;n+=a(2,e),d-=s}return(l?-1:1)*n*a(2,d-e)}}},98637:function(t,e,n){var i=n(7379),o=Math.floor;t.exports=Number.isInteger||function(t){return!i(t)&&isFinite(t)&&o(t)===t}},25954:function(t,e,n){var i=n(52659),o=n(87848),a=n(57340),r=i.RangeError;t.exports=function(t){if(void 0===t)return 0;var e=o(t),n=a(e);if(e!==n)throw r("Wrong length or index");return n}},39559:function(t,e,n){var i=n(52659),o=n(50256),a=i.RangeError;t.exports=function(t,e){var n=o(t);if(n%e)throw a("Wrong offset");return n}},50256:function(t,e,n){var i=n(52659),o=n(87848),a=i.RangeError;t.exports=function(t){var e=o(t);if(e<0)throw a("The argument can't be less than 0");return e}},11597:function(t,e,n){"use strict";var i=n(18124),o=n(52659),a=n(74454),r=n(57642),s=n(84159),c=n(55162),u=n(37092),l=n(87340),d=n(70789),f=n(23391),h=n(98637),p=n(57340),m=n(25954),g=n(39559),v=n(86412),b=n(99529),y=n(65752),_=n(7379),w=n(65981),x=n(1331),S=n(92556),k=n(96103),I=n(2268).f,T=n(29953),C=n(88894).forEach,P=n(58644),E=n(20005),A=n(6802),O=n(41329),L=n(4545),M=O.get,R=O.set,D=E.f,N=A.f,G=Math.round,U=o.RangeError,j=u.ArrayBuffer,F=j.prototype,B=u.DataView,z=c.NATIVE_ARRAY_BUFFER_VIEWS,H=c.TYPED_ARRAY_CONSTRUCTOR,W=c.TYPED_ARRAY_TAG,K=c.TypedArray,q=c.TypedArrayPrototype,V=c.aTypedArrayConstructor,Y=c.isTypedArray,$="BYTES_PER_ELEMENT",J="Wrong length",X=function(t,e){V(t);for(var n=0,i=e.length,o=new t(i);i>n;)o[n]=e[n++];return o},Z=function(t,e){D(t,e,{get:function(){return M(this)[e]}})},Q=function(t){var e;return S(F,t)||"ArrayBuffer"==(e=y(t))||"SharedArrayBuffer"==e},tt=function(t,e){return Y(t)&&!w(e)&&e in t&&h(+e)&&e>=0},et=function(t,e){return e=v(e),tt(t,e)?d(2,t[e]):N(t,e)},nt=function(t,e,n){return e=v(e),!(tt(t,e)&&_(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?D(t,e,n):(t[e]=n.value,t)};r?(z||(A.f=et,E.f=nt,Z(q,"buffer"),Z(q,"byteOffset"),Z(q,"byteLength"),Z(q,"length")),i({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:et,defineProperty:nt}),t.exports=function(t,e,n){var r=t.match(/\d+$/)[0]/8,c=t+(n?"Clamped":"")+"Array",u="get"+t,d="set"+t,h=o[c],v=h,b=v&&v.prototype,y={},w=function(t,e){D(t,e,{get:function(){return function(t,e){var n=M(t);return n.view[u](e*r+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,i){var o=M(t);n&&(i=(i=G(i))<0?0:i>255?255:255&i),o.view[d](e*r+o.byteOffset,i,!0)}(this,e,t)},enumerable:!0})};z?s&&(v=e((function(t,e,n,i){return l(t,b),L(_(e)?Q(e)?void 0!==i?new h(e,g(n,r),i):void 0!==n?new h(e,g(n,r)):new h(e):Y(e)?X(v,e):a(T,v,e):new h(m(e)),t,v)})),k&&k(v,K),C(I(h),(function(t){t in v||f(v,t,h[t])})),v.prototype=b):(v=e((function(t,e,n,i){l(t,b);var o,s,c,u=0,d=0;if(_(e)){if(!Q(e))return Y(e)?X(v,e):a(T,v,e);o=e,d=g(n,r);var f=e.byteLength;if(void 0===i){if(f%r)throw U(J);if((s=f-d)<0)throw U(J)}else if((s=p(i)*r)+d>f)throw U(J);c=s/r}else c=m(e),o=new j(s=c*r);for(R(t,{buffer:o,byteOffset:d,byteLength:s,length:c,view:new B(o)});u<c;)w(t,u++)})),k&&k(v,K),b=v.prototype=x(q)),b.constructor!==v&&f(b,"constructor",v),f(b,H,v),W&&f(b,W,c),y[c]=v,i({global:!0,forced:v!=h,sham:!z},y),$ in v||f(v,$,r),$ in b||f(b,$,r),P(c)}):t.exports=function(){}},84159:function(t,e,n){var i=n(52659),o=n(3710),a=n(94388),r=n(55162).NATIVE_ARRAY_BUFFER_VIEWS,s=i.ArrayBuffer,c=i.Int8Array;t.exports=!r||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!a((function(t){new c,new c(null),new c(1.5),new c(t)}),!0)||o((function(){return 1!==new c(new s(2),1,void 0).length}))},79739:function(t,e,n){var i=n(19468),o=n(59334);t.exports=function(t,e){return i(o(t),e)}},29953:function(t,e,n){var i=n(10215),o=n(74454),a=n(64531),r=n(94118),s=n(80537),c=n(78849),u=n(28916),l=n(65165),d=n(55162).aTypedArrayConstructor;t.exports=function(t){var e,n,f,h,p,m,g=a(this),v=r(t),b=arguments.length,y=b>1?arguments[1]:void 0,_=void 0!==y,w=u(v);if(w&&!l(w))for(m=(p=c(v,w)).next,v=[];!(h=o(m,p)).done;)v.push(h.value);for(_&&b>2&&(y=i(y,arguments[2])),n=s(v),f=new(d(g))(n),e=0;n>e;e++)f[e]=_?y(v[e],e):v[e];return f}},59334:function(t,e,n){var i=n(55162),o=n(62429),a=i.TYPED_ARRAY_CONSTRUCTOR,r=i.aTypedArrayConstructor;t.exports=function(t){return r(o(t,t[a]))}},54185:function(t,e,n){"use strict";var i=n(18124),o=n(52659),a=n(37092),r=n(58644),s="ArrayBuffer",c=a[s];i({global:!0,forced:o[s]!==c},{ArrayBuffer:c}),r(s)},49091:function(t,e,n){"use strict";var i=n(18124),o=n(16891),a=n(3710),r=n(37092),s=n(72248),c=n(95508),u=n(57340),l=n(62429),d=r.ArrayBuffer,f=r.DataView,h=f.prototype,p=o(d.prototype.slice),m=o(h.getUint8),g=o(h.setUint8);i({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:a((function(){return!new d(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(p&&void 0===e)return p(s(this),t);for(var n=s(this).byteLength,i=c(t,n),o=c(void 0===e?n:e,n),a=new(l(this,d))(u(o-i)),r=new f(this),h=new f(a),v=0;i<o;)g(h,v++,m(r,i++));return a}})},423:function(t,e,n){var i=n(18124),o=n(37092);i({global:!0,forced:!n(34274)},{DataView:o.DataView})},21187:function(t,e,n){n(18124)({global:!0},{globalThis:n(52659)})},70125:function(t,e,n){var i=n(52659);n(42634)(i.JSON,"JSON",!0)},52449:function(t,e,n){n(42634)(Math,"Math",!0)},46362:function(t,e,n){var i=n(18124),o=n(3710),a=n(47308).f;i({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:a})},60491:function(t,e,n){var i=n(18124),o=n(92863),a=n(99812),r=n(79392),s=n(64531),c=n(72248),u=n(7379),l=n(1331),d=n(3710),f=o("Reflect","construct"),h=Object.prototype,p=[].push,m=d((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),g=!d((function(){f((function(){}))})),v=m||g;i({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){s(t),c(e);var n=arguments.length<3?t:s(arguments[2]);if(g&&!m)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var i=[null];return a(p,i,e),new(a(r,t,i))}var o=n.prototype,d=l(u(o)?o:h),v=a(t,d,e);return u(v)?v:d}})},84653:function(t,e,n){var i=n(57642),o=n(20005),a=n(4109),r=n(3710),s=RegExp.prototype;i&&r((function(){return"sy"!==Object.getOwnPropertyDescriptor(s,"flags").get.call({dotAll:!0,sticky:!0})}))&&o.f(s,"flags",{configurable:!0,get:a})},50147:function(t,e,n){n(26377)("toStringTag")},76220:function(t,e,n){"use strict";var i=n(16891),o=n(55162),a=i(n(387)),r=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(t,e){return a(r(this),t,e,arguments.length>2?arguments[2]:void 0)}))},4576:function(t,e,n){"use strict";var i=n(55162),o=n(88894).every,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("every",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},79690:function(t,e,n){"use strict";var i=n(55162),o=n(74454),a=n(35291),r=i.aTypedArray;(0,i.exportTypedArrayMethod)("fill",(function(t){var e=arguments.length;return o(a,r(this),t,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)}))},61533:function(t,e,n){"use strict";var i=n(55162),o=n(88894).filter,a=n(79739),r=i.aTypedArray;(0,i.exportTypedArrayMethod)("filter",(function(t){var e=o(r(this),t,arguments.length>1?arguments[1]:void 0);return a(this,e)}))},27649:function(t,e,n){"use strict";var i=n(55162),o=n(88894).findIndex,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("findIndex",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},39232:function(t,e,n){"use strict";var i=n(55162),o=n(88894).find,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("find",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},53272:function(t,e,n){"use strict";var i=n(55162),o=n(88894).forEach,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("forEach",(function(t){o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},81014:function(t,e,n){"use strict";var i=n(55162),o=n(67266).includes,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("includes",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},72409:function(t,e,n){"use strict";var i=n(55162),o=n(67266).indexOf,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("indexOf",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},12629:function(t,e,n){"use strict";var i=n(52659),o=n(16891),a=n(96656).PROPER,r=n(55162),s=n(34642),c=n(75618)("iterator"),u=i.Uint8Array,l=o(s.values),d=o(s.keys),f=o(s.entries),h=r.aTypedArray,p=r.exportTypedArrayMethod,m=u&&u.prototype[c],g=!!m&&"values"===m.name,v=function(){return l(h(this))};p("entries",(function(){return f(h(this))})),p("keys",(function(){return d(h(this))})),p("values",v,a&&!g),p(c,v,a&&!g)},37527:function(t,e,n){"use strict";var i=n(55162),o=n(16891),a=i.aTypedArray,r=i.exportTypedArrayMethod,s=o([].join);r("join",(function(t){return s(a(this),t)}))},20578:function(t,e,n){"use strict";var i=n(55162),o=n(99812),a=n(40869),r=i.aTypedArray;(0,i.exportTypedArrayMethod)("lastIndexOf",(function(t){var e=arguments.length;return o(a,r(this),e>1?[t,arguments[1]]:[t])}))},40505:function(t,e,n){"use strict";var i=n(55162),o=n(88894).map,a=n(59334),r=i.aTypedArray;(0,i.exportTypedArrayMethod)("map",(function(t){return o(r(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(a(t))(e)}))}))},79818:function(t,e,n){"use strict";var i=n(55162),o=n(6325).right,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("reduceRight",(function(t){var e=arguments.length;return o(a(this),t,e,e>1?arguments[1]:void 0)}))},77153:function(t,e,n){"use strict";var i=n(55162),o=n(6325).left,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("reduce",(function(t){var e=arguments.length;return o(a(this),t,e,e>1?arguments[1]:void 0)}))},66273:function(t,e,n){"use strict";var i=n(55162),o=i.aTypedArray,a=i.exportTypedArrayMethod,r=Math.floor;a("reverse",(function(){for(var t,e=this,n=o(e).length,i=r(n/2),a=0;a<i;)t=e[a],e[a++]=e[--n],e[n]=t;return e}))},33279:function(t,e,n){"use strict";var i=n(52659),o=n(55162),a=n(80537),r=n(39559),s=n(94118),c=n(3710),u=i.RangeError,l=o.aTypedArray;(0,o.exportTypedArrayMethod)("set",(function(t){l(this);var e=r(arguments.length>1?arguments[1]:void 0,1),n=this.length,i=s(t),o=a(i),c=0;if(o+e>n)throw u("Wrong length");for(;c<o;)this[e+c]=i[c++]}),c((function(){new Int8Array(1).set({})})))},86933:function(t,e,n){"use strict";var i=n(55162),o=n(59334),a=n(3710),r=n(92965),s=i.aTypedArray;(0,i.exportTypedArrayMethod)("slice",(function(t,e){for(var n=r(s(this),t,e),i=o(this),a=0,c=n.length,u=new i(c);c>a;)u[a]=n[a++];return u}),a((function(){new Int8Array(1).slice()})))},48615:function(t,e,n){"use strict";var i=n(55162),o=n(88894).some,a=i.aTypedArray;(0,i.exportTypedArrayMethod)("some",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0)}))},47963:function(t,e,n){"use strict";var i=n(52659),o=n(16891),a=n(3710),r=n(10220),s=n(4649),c=n(55162),u=n(43723),l=n(21680),d=n(53402),f=n(64101),h=i.Array,p=c.aTypedArray,m=c.exportTypedArrayMethod,g=i.Uint16Array,v=g&&o(g.prototype.sort),b=!(!v||a((function(){v(new g(2),null)}))&&a((function(){v(new g(2),{})}))),y=!!v&&!a((function(){if(d)return d<74;if(u)return u<67;if(l)return!0;if(f)return f<602;var t,e,n=new g(516),i=h(516);for(t=0;t<516;t++)e=t%4,n[t]=515-t,i[t]=t-2*e+3;for(v(n,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(n[t]!==i[t])return!0}));m("sort",(function(t){return void 0!==t&&r(t),y?v(this,t):s(p(this),function(t){return function(e,n){return void 0!==t?+t(e,n)||0:n!=n?-1:e!=e?1:0===e&&0===n?1/e>0&&1/n<0?1:-1:e>n}}(t))}),!y||b)},3832:function(t,e,n){"use strict";var i=n(55162),o=n(57340),a=n(95508),r=n(59334),s=i.aTypedArray;(0,i.exportTypedArrayMethod)("subarray",(function(t,e){var n=s(this),i=n.length,c=a(t,i);return new(r(n))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,o((void 0===e?i:a(e,i))-c))}))},57059:function(t,e,n){"use strict";var i=n(52659),o=n(99812),a=n(55162),r=n(3710),s=n(92965),c=i.Int8Array,u=a.aTypedArray,l=a.exportTypedArrayMethod,d=[].toLocaleString,f=!!c&&r((function(){d.call(new c(1))}));l("toLocaleString",(function(){return o(d,f?s(u(this)):u(this),s(arguments))}),r((function(){return[1,2].toLocaleString()!=new c([1,2]).toLocaleString()}))||!r((function(){c.prototype.toLocaleString.call([1,2])})))},46286:function(t,e,n){"use strict";var i=n(55162).exportTypedArrayMethod,o=n(3710),a=n(52659),r=n(16891),s=a.Uint8Array,c=s&&s.prototype||{},u=[].toString,l=r([].join);o((function(){u.call({})}))&&(u=function(){return l(this)});var d=c.toString!=u;i("toString",u,d)},52074:function(t,e,n){n(11597)("Uint32",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},74163:function(t,e,n){n(11597)("Uint8",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},46558:function(t,e,n){n(21187)},86173:function(t){"use strict";function e(t){this.listenerMap=[{},{}],t&&this.root(t),this.handle=e.prototype.handle.bind(this)}t.exports=e,e.prototype.root=function(t){var e,n=this.listenerMap;if(this.rootElement){for(e in n[1])n[1].hasOwnProperty(e)&&this.rootElement.removeEventListener(e,this.handle,!0);for(e in n[0])n[0].hasOwnProperty(e)&&this.rootElement.removeEventListener(e,this.handle,!1)}if(!t||!t.addEventListener)return this.rootElement&&delete this.rootElement,this;for(e in this.rootElement=t,n[1])n[1].hasOwnProperty(e)&&this.rootElement.addEventListener(e,this.handle,!0);for(e in n[0])n[0].hasOwnProperty(e)&&this.rootElement.addEventListener(e,this.handle,!1);return this},e.prototype.captureForType=function(t){return-1!==["blur","error","focus","load","resize","scroll"].indexOf(t)},e.prototype.on=function(t,e,r,s){var c,u,l,d;if(!t)throw new TypeError("Invalid event type: "+t);if("function"==typeof e&&(s=r,r=e,e=null),void 0===s&&(s=this.captureForType(t)),"function"!=typeof r)throw new TypeError("Handler must be a type of Function");return c=this.rootElement,(u=this.listenerMap[s?1:0])[t]||(c&&c.addEventListener(t,this.handle,s),u[t]=[]),e?/^[a-z]+$/i.test(e)?(d=e,l=i):/^#[a-z0-9\-_]+$/i.test(e)?(d=e.slice(1),l=a):(d=e,l=n):(d=null,l=o.bind(this)),u[t].push({selector:e,handler:r,matcher:l,matcherParam:d}),this},e.prototype.off=function(t,e,n,i){var o,a,r,s,c;if("function"==typeof e&&(i=n,n=e,e=null),void 0===i)return this.off(t,e,n,!0),this.off(t,e,n,!1),this;if(r=this.listenerMap[i?1:0],!t){for(c in r)r.hasOwnProperty(c)&&this.off(c,e,n);return this}if(!(s=r[t])||!s.length)return this;for(o=s.length-1;o>=0;o--)a=s[o],e&&e!==a.selector||n&&n!==a.handler||s.splice(o,1);return s.length||(delete r[t],this.rootElement&&this.rootElement.removeEventListener(t,this.handle,i)),this},e.prototype.handle=function(t){var e,n,i,o,a,r,s=t.type,c=[],u="ftLabsDelegateIgnore";if(!0!==t[u]){switch(3===(r=t.target).nodeType&&(r=r.parentNode),i=this.rootElement,t.eventPhase||(t.target!==t.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;r&&n;){for(e=0;e<n&&(o=c[e]);e++)if(o.matcher.call(r,o.matcherParam,r)&&(a=this.fire(t,r,o)),!1===a)return t[u]=!0,void t.preventDefault();if(r===i)break;n=c.length,r=r.parentElement}}},e.prototype.fire=function(t,e,n){return n.handler.call(e,t,e)};var n=function(t){if(t){var e=t.prototype;return e.matches||e.matchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector}}(Element);function i(t,e){return t.toLowerCase()===e.tagName.toLowerCase()}function o(t,e){return this.rootElement===window?e===document:this.rootElement===e}function a(t,e){return t===e.id}e.prototype.destroy=function(){this.off(),this.root()}},10616:function(t,e,n){"use strict";var i=n(86173);t.exports=function(t){return new i(t)},t.exports.Delegate=i},43974:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(59230),n(3951),n(27094)),a=[function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{attrs:{type:t.calcuType,autofocus:t.focus,disabled:t.disabled,maxlength:t.maxlength,password:t.password,placeholder:t.placeholder},domProps:{value:t.value},on:{input:t.onInput,focus:t.onFocus,blur:t.onBlur,keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.onConfirm(e)},compositionstart:t.startComposing,compositionend:t.endComposing,change:t.endComposing}})},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={name:"tee-input",options:{addGlobalClass:!0,styleIsolation:"shared"},props:{value:String,type:String,password:Boolean,placeholder:String,disabled:Boolean,maxlength:{type:Number,default:140},focus:Boolean,confirmType:String},computed:{calcuType:function(){return this.password?"password":this.type}},data:function(){return{isLock:!1}},methods:{startComposing:o.startComposing,endComposing:o.endComposing,onInput:function(t){var e;null!==(e=t.target)&&void 0!==e&&e.composing||this.$emit("input",{value:t.target.value,originEvent:t})},onBlur:function(t){this.$emit("blur",{value:t.target.value})},onFocus:function(t){this.$emit("focus",{value:t.target.value})},onConfirm:function(t){this.$emit("confirm",{value:t.target.value})}},render:s,staticRenderFns:c,_compiled:!0}},19372:function(t,e,n){"use strict";n.r(e);var i=[function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",{on:{click:t.onClick}},[t._t("default")],2)},[]],o=(0,n(27455).default)(i,2),a=o[0],r=o[1];e.default={name:"tee-native-text",methods:{onClick:function(t){this.$emit("click",t)}},render:a,staticRenderFns:r,_compiled:!0}},87640:function(t,e,n){"use strict";n.r(e);var i=[function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{style:t.scrollStyle,on:{scroll:t.onScroll}},[t._t("default")],2)},[]],o=(0,n(27455).default)(i,2),a=o[0],r=o[1];e.default={name:"tee-scroll-view",options:{addGlobalClass:!0,styleIsolation:"shared"},props:{scrollY:Boolean,scrollX:Boolean},computed:{scrollStyle:function(){var t="",e=this.scrollX,n=this.scrollY;return e&&(t+=" overflow-x: ".concat(e?"auto":"hidden",";")),n&&(t+=" overflow-y: ".concat(n?"auto":"hidden",";")),t}},methods:{onScroll:function(t){this.$emit("scroll",t)}},render:a,staticRenderFns:r,_compiled:!0}},16984:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(55750),n(2375),n(87675),n(63413)),a=n(57569),r=n(92330),s=n(44711),c=[function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"custom-class tee-swiper-item",style:t.itemStyle,on:{click:function(e){return e.stopPropagation(),t.click(e)},touchstart:t.onTouchStart,touchmove:t.onTouchMove,touchend:t.onTouchEnd,touchcancel:t.onTouchCancel}},[t._t("default")],2)},[]],u=(0,i.default)(c,2),l=u[0],d=u[1];e.default={options:{virtualHost:!0},externalClasses:["custom-class"],mixins:[(0,s.buildinMixins)({relation:(0,r.useParent)("swipe")})],props:{customStyle:{type:Object,default:function(){return{}}}},data:function(){return{size:0,offset:0,vertical:!1,itemStyle:this._getItemStyle()}},created:function(){var t=this;["size","vertical","offset","customStyle"].forEach((function(e){t.$watch(e,(function(){t.itemStyle=t._getItemStyle()}))}))},mounted:function(){this.hasMounted=!0},methods:{_getItemStyle:function(){var t=this.size,e=this.vertical,n={};return t&&(n.visibility="visible",n[e?"height":"width"]="".concat(t,"px")),this.offset&&(n.transform="translate".concat(e?"Y":"X","(").concat(this.offset,"px)")),(0,a.styleStringfiy)((0,o.default)((0,o.default)({},this.customStyle||{}),n))},click:function(){this.$emit("click")},onTouchStart:function(t){this.$emit("touchStart",t)},onTouchMove:function(t){this.$emit("touchMove",t)},onTouchEnd:function(t){this.$emit("touchEnd",t)},onTouchCancel:function(t){this.$emit("touchCancel",t)}},render:l,staticRenderFns:d,_compiled:!0,_scopeId:"data-v-063bbab"}},61:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(87675),n(55750),n(2375),n(77109),n(63413)),a=n(57569),r=n(92330),s=n(22488),c=n(44711),u=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"tee-swipe",style:t.rootStyle,on:{touchstart:t.onTouchStart,touchmove:t.onTouchMove,touchend:t.onTouchEnd}},[n("div",{class:["tee-swipe__track"+t.verticalSuffix],style:t.swipeStyle},[t._t("default")],2),t._v(" "),t.showIndicators?n("div",{class:["tee-swipe__indicators"+t.verticalSuffix]},t._l(t.count,(function(e,i){return n("div",{key:i,staticClass:"tee-swipe__indicator",style:t.activeIndicator==i?t.indicatorActiveStyle:t.indicatorStyle})})),0):t._e()])])},[]],l=(0,i.default)(u,2),d=l[0],f=l[1];e.default={options:{virtualHost:!0},mixins:[s.TouchMixin,(0,c.buildinMixins)({relation:(0,r.useChildren)("swipe")})],props:{vertical:Boolean,customStyle:{type:Object,default:function(){return{}}},indicatorColor:String,indicatorActiveColor:String,autoplay:Number,loop:{type:Boolean,default:!0},height:[Number,String],duration:{type:[Number,String],default:500},initialSwipe:{type:[Number,String],default:0},touchable:{type:Boolean,default:!0},showIndicators:{type:Boolean,default:!0},isRepeat:{type:Boolean,default:!1}},data:function(){return{rect:null,offset:0,active:0,deltaX:0,deltaY:0,swiping:!1,computedWidth:0,computedHeight:0,count:0}},computed:{verticalSuffix:function(){return this.vertical?"--vertical":""},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},minOffset:function(){if(this.rect)return(this.vertical?this.rect.height:this.rect.width)-this.size*this.count},maxCount:function(){return Math.ceil(Math.abs(this.minOffset)/this.size)},delta:function(){return this.vertical?this.deltaY:this.deltaX},trackSize:function(){return this.count*this.size},swipeStyle:function(){var t={transitionDuration:"".concat(this.swiping?0:this.duration,"ms"),transform:"translate".concat(this.vertical?"Y":"X","(").concat(this.offset,"px)")};if(this.size){var e=this.vertical?"height":"width",n=this.vertical?"width":"height";t[e]="".concat(this.trackSize,"px"),t[n]=this[n]?"".concat(this[n],"px"):""}return(0,a.styleStringfiy)(t)},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},indicatorStyle:function(){return(0,a.styleStringfiy)({backgroundColor:this.indicatorColor||"rgba(0, 0, 0, .3)"})},indicatorActiveStyle:function(){return(0,a.styleStringfiy)({backgroundColor:this.indicatorActiveColor||"#000"})},activeIndicator:function(){return this.active<=-1?this.count-1:this.active>=this.count?0:this.active},rootStyle:function(){var t={height:this.height?this.height:"auto"};return(0,a.styleStringfiy)((0,o.default)((0,o.default)({},t),this.customStyle||{}))}},updated:function(){this.count!==this.getCount()&&this.resize()},mounted:function(){this.hasMounted=!0,this.initialize()},destroyed:function(){this.timer&&clearTimeout(this.timer)},methods:{initialize:function(){var t=this;this.active=+this.initialSwipe||0,setTimeout((function(){t.resize()}))},getCount:function(){if(this.$children){var t=this.$children.length;return this.isRepeat?t/2:t}},getBoundRect:function(){return this.isRepeat?(0,a.getRect)(this.$children[0],".tee-swiper-item"):(0,a.getRect)(this,".tee-swipe")},resize:function(){var t=this;this.count=this.getCount(),this.getBoundRect().then((function(e){t.rect=e,t.swiping=!0,t.computedWidth=+t.width||e.width,t.computedHeight=+t.height||e.height,t.$children.forEach((function(e){e.offset=0,e.vertical=t.vertical,!t.isRepeat&&(e.size=t.size)})),t.$nextTick((function(){t.autoPlay(),t.offset=t.getTargetOffset(t.active)}))}))},autoPlay:function(){var t=this,e=this.autoplay;e>0&&this.count>1&&(this.clear(),this.timer=setTimeout((function(){t.next(),t.autoPlay()}),e))},clear:function(){clearTimeout(this.timer)},onTouchStart:function(t){this.touchable&&(this.clear(),this.touchStartTime=Date.now(),this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&&this.swiping&&(this.touchMove(t),this.isCorrectDirection&&this.move({offset:this.delta}))},onTouchEnd:function(){if(this.touchable&&this.swiping){var t=this.size,e=this.delta,n=e/(Date.now()-this.touchStartTime);if((Math.abs(n)>.25||Math.abs(e)>t/2)&&this.isCorrectDirection){var i=this.vertical?this.offsetY:this.offsetX,o=0;o=this.loop?i>0?e>0?-1:1:0:-Math[e>0?"ceil":"floor"](e/t),this.move({pace:o,emitChange:!0})}else e&&this.move({pace:0});this.swiping=!1,this.autoPlay()}},getTargetActive:function(t){var e=this.active,n=this.count,i=this.maxCount,o=e;return t&&(o=this.loop?(0,a.range)(e+t,-1,n):(0,a.range)(e+t,0,i)),o},getTargetOffset:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t*this.size;this.loop||(n=Math.min(n,-this.minOffset));var i=e-n;return this.loop||(i=(0,a.range)(i,this.minOffset,0)),i},move:function(t){var e=t.pace,n=void 0===e?0:e,i=t.offset,o=void 0===i?0:i,a=t.emitChange,r=this.loop,s=this.count,c=this.active,u=this.$children,l=this.trackSize,d=this.minOffset;if(!(s<=1)){var f=this.getTargetActive(n),h=this.getTargetOffset(f,o);if(r){if(!this.isRepeat&&u[0]&&h!==d){var p=h<d;u[0].offset=p?l:0}if(u[s-1]&&0!==h){var m=h>0;u[s-1].offset=m?-l:0}}this.active=f,this.offset=h,a&&f!==c&&this.$emit("change",{detail:{current:this.activeIndicator}})}},correctPosition:function(){var t=this;setTimeout((function(){t.swiping=!0,t.active<=-1&&t.move({pace:t.count}),t.active>=t.count&&t.move({pace:-t.count})}),this.duration)},prev:function(){this.swiping=!1,this.resetTouchStatus(),this.move({pace:-1,emitChange:!0}),this.correctPosition()},next:function(){this.swiping=!1,this.resetTouchStatus(),this.move({pace:1,emitChange:!0}),this.correctPosition()},swipeTo:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.loop,o=this.count;this.correctPosition(),this.resetTouchStatus(),e=i&&t===o?0===this.active?0:t:t%o,n.immediate,this.swiping=!1,this.move({pace:e-this.active,emitChange:!0})}},render:d,staticRenderFns:f,_compiled:!0,_scopeId:"data-v-aea1f9b"}},85935:function(t,e,n){"use strict";n.r(e);var i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.vhtml?n("span",{staticClass:"tee-text",domProps:{innerHTML:t._s(t.vhtml)},on:{click:t.onClick}}):n("span",{staticClass:"tee-text",on:{click:t.onClick}},[t._t("default")],2)},[]],o=(0,n(27455).default)(i,2),a=o[0],r=o[1];e.default={name:"tee-text",props:{vhtml:String},methods:{onClick:function(t){this.$emit("click",t)}},render:a,staticRenderFns:r,_compiled:!0}},41024:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(5278),a=n(98014),r=n(87703),s=n(7745),c=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showAgreement?n("tee-view",{staticClass:"fj-agree",on:{click:t.onChange}},[n("van-checkbox",{attrs:{"icon-size":"18px",value:t.checked,"custom-class":"fj-agree__check-content"}},[n("tee-view",{staticClass:"fj-agree__text"},[t._v("\n 阅读并同意\n "),n("tee-view",{staticClass:"fj-agree__rule",on:{click:function(e){return e.stopPropagation(),t.openProtocol()}}},[t._v("《"+t._s(t.protocol.agreementTplName||"")+"》")])],1)],1)],1):t._e()},[]],u=(0,i.default)(c,2),l=u[0],d=u[1];e.default={components:{"van-checkbox":o.default,"tee-view":a.default},props:{},data:function(){return{showAgreement:!1,checked:!1,protocol:{}}},created:function(){var t=this;(0,r.getProtocolData)(["SHOP_MEMBER_AGREEMENT"]).then((function(e){var n=(e||{}).protocolData,o=void 0===n?[]:n,a=!1;if(Array.isArray(o)&&o.length){var r=(0,i.default)(o,1)[0];t.protocol=r,t.showAgreement=!0,a=!0}t.$emit("initState",{showAgreement:a,checked:t.checked,id:t.protocol.agreementTplId})}))},methods:{onChange:function(){var t=!this.checked;this.checked=t,this.$emit("change",{checked:t,showAgreement:this.showAgreement,id:this.protocol.agreementTplId})},openProtocol:function(){(0,s.default)({url:"/pages/common/webview-page/index?src=".concat(encodeURIComponent(this.protocol.url)),type:"navigateTo",web:{type:"safeLink",safeLink:{url:this.protocol.url}}})},getAgreeStatus:function(){return{showAgreement:this.showAgreement,checked:this.checked,id:this.protocol.agreementTplId}}},render:l,staticRenderFns:d,_compiled:!0}},45811:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(37115),a=n(98014),r=n(56103),s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"cell-item",class:[t.customClass,t.required?"cell-item--required":""]},[n("tee-view",{staticClass:"cell-item__label"},[t._v(t._s(t.title))]),t._v(" "),n("tee-view",{staticClass:"cell-item__value"},[t._t("default")],2),t._v(" "),t.isLink?n("van-icon",{staticClass:"cell-item__arrow",attrs:{name:"arrow"}}):t._e()],1)},[]],c=(0,i.default)(s,2),u=c[0],l=c[1];e.default={name:"Cell",components:{"van-icon":o.default,"tee-view":a.default},mixins:[r.tee.externalClassesMixin(["custom-class"])],props:{title:String,required:Boolean,isLink:Boolean},render:u,staticRenderFns:l,_compiled:!0,_scopeId:"data-v-5468ec6"}},40172:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=n(35757),r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"fj-head"},[n("tee-view",{staticClass:"fj-head__title"},[t._v("欢迎加入"+t._s(t.shopInfo.shopName))]),t._v(" "),n("tee-view",{staticClass:"fj-head__subtitle"},[t._v("请完善资料成为会员")])],1)},[]],s=(0,i.default)(r,2),c=s[0],u=s[1];e.default={props:{shopInfo:{type:Object}},data:function(){return{FastJoinHeadTypeEnum:a.FastJoinHeadTypeEnum}},components:{"tee-view":o.default},render:c,staticRenderFns:u,_compiled:!0}},71541:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(46239),n(2375),n(10357),n(44472),n(3951),n(24973),n(60291),n(98014)),a=n(34981),r=n.n(a),s=n(50131),c=n(64596),u=n(40761),l=n(18343),d=n(79935),f=n(2215),h=n(62456),p=n(1554),m=n(53178),g=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"fj-info",style:t.webInfoStyle},t._l(t.customerAttributesView,(function(e,i){return n("tee-view",{key:i},[e.dataType===t.ATTR_D_TYPE.STRING&&e.attributeId===t.ATTR_ID_TYEP.MOBILE?n("attribute-mobile",{attrs:{item:e,"kdt-id":t.kdtId},on:{afterAuth:t.afterAuth}}):t._e(),t._v(" "),e.dataType===t.ATTR_D_TYPE.STRING&&e.attributeId!==t.ATTR_ID_TYEP.MOBILE?n("attribute-input",{attrs:{"input-type":"text",item:e},on:{onChange:t.handleChangeCustomerAttribute}}):t._e(),t._v(" "),e.dataType===t.ATTR_D_TYPE.NUMBER?n("attribute-input",{attrs:{"input-type":"number",item:e},on:{onChange:t.handleChangeCustomerAttribute}}):t._e(),t._v(" "),e.dataType===t.ATTR_D_TYPE.DATE?n("attribute-date",{attrs:{item:e},on:{onChange:t.handleChangeCustomerAttribute,withSwitchOtherPopup:t.withSwitchOtherPopup}}):t._e(),t._v(" "),e.dataType===t.ATTR_D_TYPE.REGION?n("attribute-region",{attrs:{item:e},on:{onChange:t.handleChangeCustomerAttribute,withSwitchOtherPopup:t.withSwitchOtherPopup}}):t._e(),t._v(" "),e.dataType===t.ATTR_D_TYPE.GENDER?n("attribute-gender",{attrs:{item:e},on:{onChange:t.handleChangeCustomerAttribute,withSwitchOtherPopup:t.withSwitchOtherPopup}}):t._e(),t._v(" "),e.dataType===t.ATTR_D_TYPE.AVATAR?n("attribute-avatar",{attrs:{item:e},on:{onChange:t.handleChangeCustomerAttribute}}):t._e(),t._v(" "),e.dataType===t.ATTR_D_TYPE.SINGLE_SELECT?n("attribute-single-select",{attrs:{item:e},on:{onChange:t.handleChangeCustomerAttribute,withSwitchOtherPopup:t.withSwitchOtherPopup}}):t._e(),t._v(" "),e.dataType===t.ATTR_D_TYPE.MULTIPLE_SELECT?n("attribute-multiple-select",{attrs:{item:e},on:{onChange:t.handleChangeCustomerAttribute,withSwitchOtherPopup:t.withSwitchOtherPopup}}):t._e()],1)})),1)},[]],v=(0,i.default)(g,2),b=v[0],y=v[1],_=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).customerAttributes||[];return Array.isArray(t)?t.map((function(t){return t.dataType===s.ATTR_D_TYPE.GENDER&&t.value===s.GENDER_TYPE.UNKNOWN?(delete t.value,t):t})).filter((function(t){return t.isRequired})):[]};e.default={components:{AttributeAvatar:c.default,AttributeMobile:u.default,AttributeInput:l.default,AttributeDate:d.default,AttributeRegion:f.default,AttributeGender:h.default,AttributeSingleSelect:p.default,AttributeMultipleSelect:m.default,"tee-view":o.default},props:{attributeInfo:{type:Object},kdtId:Number},data:function(){return{ATTR_D_TYPE:s.ATTR_D_TYPE,ATTR_ID_TYEP:s.ATTR_ID_TYEP,customerAttributesView:[],scrollLock:!1}},logicData:function(){return{customerAttributes:[]}},watch:{attributeInfo:{immediate:!0,handler:function(t){if(t){var e=_(t),n=(i=e,0===(o=this.customerAttributes).length?i:o.map((function(t){var e=(i||[]).find((function(e){return t.attributeId===e.attributeId}));return null!=e&&e.value?e:t})));this.customerAttributesView=n,this.customerAttributes=n}var i,o}}},computed:{webInfoStyle:function(){return this.scrollLock?r().getIOSVersion()<14?"max-height: 40vh;":"max-height: 40vh;overflow-y: hidden;":"max-height: 40vh;overflow-y: scroll;"}},created:function(){var t=_(this.attributeInfo);this.customerAttributesView=t,this.customerAttributes=t},methods:{handleChangeCustomerAttribute:function(t){var e=t.id,n=t.value,i=this.customerAttributes.findIndex((function(t){return t.attributeId===e}));this.customerAttributes[i].value=(" "+n).slice(1),this.customerAttributes[i].isChange=!0},getCustomerAttributes:function(){return this.customerAttributes},withSwitchOtherPopup:function(t){var e=this;this.$emit("withSwitchOtherPopup",t),setTimeout((function(){e.scrollLock=t}),t?0:375)},afterAuth:function(){this.$emit("afterAuth")}},render:b,staticRenderFns:y,_compiled:!0}},56443:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(79780),a=n(98014),r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"fj-submit"},[n("van-button",{attrs:{"custom-class":"fj-submit-btn"},on:{click:t.handleSubmit}},[t._v("\n "+t._s(t.text)+"\n ")])],1)},[]],s=(0,i.default)(r,2),c=s[0],u=s[1];e.default={components:{"van-button":o.default,"tee-view":a.default},props:{text:{type:String,default:"提交"}},methods:{handleSubmit:function(){this.$emit("onSubmit")}},render:c,staticRenderFns:u,_compiled:!0}},64456:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(16335),a=n(15263),r=n(91065),s=n(83590),c=n(33182),u=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("cell",{attrs:{"custom-class":"de-avatar",title:t.item.name,required:t.required}},[n("van-uploader",{attrs:{"file-list":t.fileList,"max-count":1,"preview-full-image":!1},on:{"after-read":t.afterRead}},[n("tee-image",{staticClass:"de-avatar__preview",attrs:{mode:"aspectFill",src:t.image}})],1)],1)},[]],l=(0,i.default)(u,2),d=l[0],f=l[1];e.default={name:"AttributeAvatar",components:{"van-uploader":o.default,Cell:s.default,"tee-image":a.default},mixins:[c.fieldMixin],data:function(){return{fileList:[],image:"https://b.yzcdn.cn/showcase/membercenter/2018/08/06/[email protected]"}},created:function(){this.item.value&&(this.image=this.item.value)},watch:{item:{handler:function(t,e){t.value&&t.value!==(null==e?void 0:e.value)&&(this.image=t.value)}}},methods:{afterRead:function(t){var e=this;(0,r.default)(t.file.url).then((function(t){e.image=t.data.attachment_url,e.$emit("onChange",{id:e.item.attributeId,value:t.data.attachment_url})}))}},render:d,staticRenderFns:f,_compiled:!0}},54683:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(37115),a=n(669),r=n(89343),s=n(98014),c=n(83590),u=n(21540),l=n(50131),d=n(33182),f=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",[n("cell",{attrs:{"custom-class":"de-date",title:t.item.name,"is-link":t.item.isEditable,required:t.required}},[n("tee-view",{class:["de-date__value",t.showValue?"":"empty"],on:{click:t.handleSelectDate}},[t._v("\n "+t._s(t.displayValue)+"\n ")])],1),t._v(" "),n("van-popup",{attrs:{show:t.showCalendar,position:"bottom","z-index":7011},on:{close:t.handleClose}},[n("van-datetime-picker",{attrs:{type:"date",value:t.currentDate,"max-date":t.maxDate,"min-date":t.minDate,formatter:t.formatter},on:{input:t.onInput,confirm:t.handleConfirm,cancel:t.handleClose}})],1)],1)},[]],h=(0,i.default)(f,2),p=h[0],m=h[1];e.default={name:"AttributeDate",components:{"van-datetime-picker":r.default,"van-popup":a.default,"van-icon":o.default,Cell:c.default,"tee-view":s.default},mixins:[d.fieldMixin],data:function(){return{showValue:"",showCalendar:!1,currentDate:new Date("2000-01-01").getTime(),formatter:function(t,e){return"year"===t?"".concat(e,"年"):"month"===t?"".concat(e,"月"):e},maxDate:"",minDate:new Date(1900,0,1).getTime()}},created:function(){this.patchData()},watch:{item:{handler:function(t,e){t.value&&t.value!==(null==e?void 0:e.value)&&this.patchData()}}},computed:{displayValue:function(){return this.showValue||"请选择".concat(this.item.name)}},methods:{patchData:function(){this.item.value&&(this.showValue=this.item.value,this.currentDate=new Date(this.item.value).getTime()),this.item.attributeType===l.ATTRIBUTE_TYPE.STANDARD?this.maxDate=(new Date).getTime():this.maxDate=(new Date).getTime()+3471552e5},handleSelectDate:function(){!1!==this.item.isEditable&&(this.showCalendar=!0,this.$emit("withSwitchOtherPopup",!0))},onInput:function(t){this.currentDate=t},handleConfirm:function(t){var e=(0,u.dateToString)(new Date(t));this.$emit("onChange",{id:this.item.attributeId,value:e}),this.showValue=e,this.handleClose()},handleClose:function(){this.showCalendar=!1,this.$emit("withSwitchOtherPopup",!1)}},render:p,staticRenderFns:m,_compiled:!0}},19183:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(49404),a=n(38617),r=n(98014),s=n(83590),c=n(35757),u=n(33182),l=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("cell",{attrs:{"custom-class":"de-gender",required:t.required,title:t.item.name}},[n("tee-view",{staticClass:"de-gender__value",style:t.themeStyle},t._l(t.actions,(function(e){return n("tee-view",{key:e.type,staticClass:"de-gender__one",on:{click:function(n){return t.handleRadio(e.type)}}},[n("van-radio",{attrs:{"use-icon-slot":"",disabled:!t.item.isEditable,name:e.type,value:t.showValue}},[n("tee-view",{staticClass:"de-gender__icon",class:{checked:t.showValue===e.type},attrs:{slot:"icon"},slot:"icon"},[t._v("\n "+t._s(e.name)+"\n ")])],1)],1)})),1)],1)},[]],d=(0,i.default)(l,2),f=d[0],h=d[1];e.default={name:"AttributeGender",components:{"van-action-sheet":a.default,"van-radio":o.default,Cell:s.default,"tee-view":r.default},mixins:[u.fieldMixin],props:{themeColor:String},data:function(){return{showValue:"",actions:[{name:"男",type:c.GENDER_TYPE.MALE},{name:"女",type:c.GENDER_TYPE.FEMALE}]}},computed:{themeStyle:function(){return this.themeColor?"--main-bg:".concat(this.themeColor):""}},watch:{item:{handler:function(t){this.showValue=t.value},immediate:!0}},created:function(){this.showValue=this.item.value},methods:{handleRadio:function(t){this.item.isEditable&&(this.showValue=t,this.$emit("onChange",{id:this.item.attributeId,value:t}))}},render:f,staticRenderFns:h,_compiled:!0}},8493:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(41837)),a=n(83590),r=n(33182),s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("cell",{attrs:{"custom-class":"de-input",title:t.item.name,required:t.required}},[n("van-field",{staticClass:"de-input__field",attrs:{"input-class":"de-input__input","custom-style":"padding: 0",value:t.value,placeholder:t.fieldPlaceHolder,"always-embed":!0,type:t.inputType||"text",border:!1,center:""},on:{change:t.onChange}})],1)},[]],c=(0,i.default)(s,2),u=c[0],l=c[1];e.default={components:{"van-field":o.default,Cell:a.default},mixins:[r.fieldMixin],props:{inputType:{type:String},label:{type:String}},data:function(){return{value:""}},created:function(){this.value=this.item.value},watch:{item:{handler:function(t,e){t.value&&t.value!==(null==e?void 0:e.value)&&(this.value=t.value)}}},computed:{fieldPlaceHolder:function(){return"请输入".concat(this.item.name)}},methods:{onChange:function(t){this.value=t.value,"number"!==this.inputType?this.$emit("onChange",{id:this.item.attributeId,value:t.value}):this.$emit("onChange",{id:this.item.attributeId,value:Number(t.value)})}},render:u,staticRenderFns:l,_compiled:!0}},12956:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(93375)),a=n(98014),r=n(20571),s=n(79780),c=n(83590),u=n(33182),l=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("cell",{attrs:{"custom-class":"de-mobile",title:t.item.name,required:t.required}},[n("tee-view",{staticClass:"de-mobile__info"},[t.mobile?n("tee-view",[t._v(t._s(t.mobile))]):n("user-authorize",{attrs:{type:"separate","kdt-id":t.kdtId,"auth-type-list":["mobile"]},on:{next:t.handleAuthNext}},[n("tee-view",{staticClass:"te-out"},[n("tee-text",{staticClass:"te-out_tip"},[t._v("请授权手机号")]),t._v(" "),n("tee-view",{staticClass:"de-mobile__button",attrs:{type:"info"}},[t._v("一键授权")])],1)],1)],1)],1)},[]],d=(0,i.default)(l,2),f=d[0],h=d[1];e.default={components:{"user-authorize":r.default,"van-button":s.default,Cell:c.default,"tee-view":a.default,"tee-text":o.default},mixins:[u.fieldMixin],props:{kdtId:Number},data:function(){return{mobile:""}},created:function(){this.item.value&&(this.mobile=this.item.value)},methods:{handleAuthNext:function(t){var e=t.mobile;this.mobile=e,this.$emit("afterAuth",{id:this.item.attributeId,value:e})}},render:f,staticRenderFns:h,_compiled:!0}},28988:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(10357),n(46239),n(2375),n(83812),n(86132),n(3951),n(71190),n(44472),n(97415),n(1881),n(24973),n(60291),n(79780)),a=n(5278),r=n(37115),s=n(3337),c=n(77399),u=n(38617),l=n(27107),d=n(98014),f=n(83590),h=n(33182),p=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",[n("cell",{attrs:{"custom-class":"de-multi-sel","is-link":"",title:t.item.name,required:t.required}},[n("tee-view",{class:["de-multi-sel__value",t.showValue?"":"empty"],on:{click:t.handleSelect}},[t._v("\n "+t._s(t.displayValue)+"\n ")])],1),t._v(" "),n("van-action-sheet",{attrs:{show:t.show,title:t.item.name,"z-index":7011},on:{close:t.onClose}},[n("tee-view",{staticClass:"de-multi-sel-act__content"},[n("tee-scroll-view",{staticClass:"de-multi-sel-act__scroll-view",attrs:{type:"list","scroll-y":!0,"scroll-x":!1}},[n("van-cell-group",{attrs:{"custom-class":"de-multi-sel-act__content-group"}},t._l(t.sysValues,(function(e){return n("van-cell",{key:e.value,attrs:{title:e.value,"value-class":"de-multi-sel-act__content-value"},on:{click:function(n){return t.handleClick(e.id)}}},[n("van-checkbox",{attrs:{value:"1"===e.select,"custom-class":"de-multi-sel-act__content-checkbox"}})],1)})),1)],1),t._v(" "),n("tee-view",{staticClass:"de-multi-sel-act__submit"},[n("van-button",{attrs:{"custom-class":"de-multi-sel-act__submit-btn"},on:{click:t.handleSubmit}},[t._v("\n 确定\n ")])],1)],1)],1)],1)},[]],m=(0,i.default)(p,2),g=m[0],v=m[1];e.default={name:"AttributeMultipleSelect",components:{"van-action-sheet":u.default,"van-cell-group":c.default,"van-cell":s.default,"van-icon":r.default,"van-checkbox":a.default,"van-button":o.default,Cell:f.default,"tee-view":d.default,"tee-scroll-view":l.default},mixins:[h.fieldMixin],data:function(){return{showValue:"",sysValues:[],currentValue:[],show:!1}},created:function(){this.init()},watch:{item:{handler:function(t,e){t.value&&t.value!==(null==e?void 0:e.value)&&this.init()}}},computed:{displayValue:function(){return this.showValue||"请选择".concat(this.item.name)}},methods:{init:function(){var t=this;if(this.item.value){var e=this.item.value.split("、").filter((function(t){return!!t})).map((function(t){return Number(t)}));this.showValue=e.map((function(e){return t.item.sysValues.find((function(t){return t.id===e})).value})).join("、"),this.currentValue=e}else this.currentValue=[],this.showValue="";this.sysValues=this.item.sysValues.map((function(e){return e.select=t.currentValue.includes(Number(e.id))?"1":"0",e}))},handleSelect:function(){this.init(),this.show=!0,this.$emit("withSwitchOtherPopup",!0)},handleClick:function(t){this.currentValue.includes(t)?this.currentValue=this.currentValue.filter((function(e){return e!==t})):this.currentValue.push(t);var e=this.sysValues.findIndex((function(e){return e.id===t})),n="1"===this.sysValues[e].select?"0":"1";this.sysValues[e].select=(" "+n).slice(1),this.sysValues=this.sysValues.filter((function(t){return t.select}))},handleSubmit:function(){var t=this;this.showValue=this.currentValue.map((function(e){return t.item.sysValues.find((function(t){return t.id===e})).value})).join("、"),this.$emit("onChange",{id:this.item.attributeId,value:this.currentValue.join("、")}),this.onClose()},onClose:function(){this.show=!1,this.$emit("withSwitchOtherPopup",!1)}},render:g,staticRenderFns:v,_compiled:!0}},66909:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(71190),n(10357),n(34642),n(2375),n(79575),n(37115)),a=n(669),r=n(53742),s=n(98014),c=n(77726),u=n(83590),l=n(33182),d=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",[n("cell",{attrs:{"custom-class":"de-region","is-link":"",title:t.item.name,required:t.required}},[n("tee-view",{class:["de-region__value",t.showValue?"":"empty"],on:{click:t.handleSelectRegion}},[t._v("\n "+t._s(t.displayValue)+"\n ")])],1),t._v(" "),n("van-popup",{attrs:{show:t.showRegionSelector,position:"bottom","z-index":7011},on:{close:t.handleClose}},[n("van-area",{attrs:{"area-list":t.regionInfo,value:t.areaValue},on:{confirm:t.handleConfirm,cancel:t.handleClose}})],1)],1)},[]],f=(0,i.default)(d,2),h=f[0],p=f[1];e.default={name:"AttributeRegion",components:{"van-area":r.default,"van-popup":a.default,"van-icon":o.default,Cell:u.default,"tee-view":s.default},mixins:[l.fieldMixin],data:function(){return{showRegionSelector:!1,regionInfo:{},showValue:"",areaValue:""}},created:function(){this.item.value&&(this.areaValue=this.item.value),this.item.extValue&&(this.showValue=this.item.extValue)},watch:{item:{handler:function(t,e){t.value&&t.value!==(null==e?void 0:e.value)&&(this.areaValue=t.value),t.extValue&&t.extValue!==(null==e?void 0:e.extValue)&&(this.showValue=t.extValue)}}},computed:{displayValue:function(){return this.showValue||"请选择".concat(this.item.name)}},methods:{handleSelectRegion:function(){var t=this;(0,c.default)({method:"GET",path:"/wscuser/membercenter/setting/getAllRegion.json"}).then((function(e){t.regionInfo=e||{},t.item.value&&(t.areaValue=t.item.value),t.item.extValue&&(t.showValue=t.item.extValue),t.showRegionSelector=!0,t.$emit("withSwitchOtherPopup",!0)}))},handleConfirm:function(t){this.showValue=t.values.map((function(t){return t.name})).join(" ");var e=t.values[t.values.length-1].code;this.areaValue=e,this.$emit("onChange",{id:this.item.attributeId,value:e}),this.handleClose()},handleClose:function(){this.showRegionSelector=!1,this.$emit("withSwitchOtherPopup",!1)}},render:h,staticRenderFns:p,_compiled:!0}},49749:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(44472),n(2375),n(3951),n(79780)),a=n(37115),r=n(3337),s=n(77399),c=n(38617),u=n(27107),l=n(98014),d=n(83590),f=n(33182),h=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",[n("cell",{attrs:{"custom-class":"de-single-sel","is-link":"",title:t.item.name,required:t.required}},[n("tee-view",{class:["de-single-sel__value",t.showValue?"":"empty"],on:{click:t.handleSelect}},[t._v("\n "+t._s(t.displayValue)+"\n ")])],1),t._v(" "),n("van-action-sheet",{attrs:{show:t.show,title:t.item.name,"z-index":7011},on:{close:t.onClose}},[n("tee-view",{staticClass:"de-single-sel-act__content"},[n("tee-scroll-view",{staticClass:"de-single-sel-act__scroll-view",attrs:{type:"list","scroll-y":!0,"scroll-x":!1}},[n("van-cell-group",{attrs:{"custom-class":"de-single-sel-act__content-group"}},t._l(t.item.sysValues,(function(e){return n("van-cell",{key:e.value,attrs:{title:e.value,"value-class":"de-single-sel-act__content-value"},on:{click:function(n){return t.handleClick(e.id)}}},[t.currentValue===e.id?n("van-icon",{attrs:{name:"success"}}):t._e()],1)})),1)],1),t._v(" "),n("tee-view",{staticClass:"de-single-sel-act__submit"},[n("van-button",{attrs:{"custom-class":"de-single-sel-act__submit-btn"},on:{click:t.handleSubmit}},[t._v("\n 确定\n ")])],1)],1)],1)],1)},[]],p=(0,i.default)(h,2),m=p[0],g=p[1];e.default={name:"AttributeSingleSelect",components:{"van-action-sheet":c.default,"van-cell-group":s.default,"van-cell":r.default,"van-icon":a.default,"van-button":o.default,Cell:d.default,"tee-view":l.default,"tee-scroll-view":u.default},mixins:[f.fieldMixin],data:function(){return{showValue:"",currentValue:"",show:!1}},created:function(){this.init()},watch:{item:{handler:function(t,e){t.value&&t.value!==(null==e?void 0:e.value)&&this.init()}}},computed:{displayValue:function(){return this.showValue||"请选择".concat(this.item.name)}},methods:{init:function(){var t=this;if(this.item.value){var e=this.item.sysValues.find((function(e){return e.id===Number(t.item.value)}))||{};this.showValue=e.value||"",this.currentValue=Number(this.item.value)}else this.currentValue="",this.showValue=""},handleSelect:function(){this.init(),this.show=!0,this.$emit("withSwitchOtherPopup",!0)},handleClick:function(t){this.currentValue=t},handleSubmit:function(){var t=this,e=this.item.sysValues.find((function(e){return e.id===t.currentValue}))||{};this.showValue=e.value||"",this.$emit("onChange",{id:this.item.attributeId,value:String(this.currentValue)}),this.onClose()},onClose:function(){this.show=!1,this.$emit("withSwitchOtherPopup",!1)}},render:m,staticRenderFns:g,_compiled:!0}},53999:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(63413),a=n(57635),r=n(669),s=n(98014),c=n(46932),u=n(7745),l=n(87703),d=n(43737),f=n.n(d),h=n(47019),p=n.n(h),m=n(8833),g=n(79586),v=n(19432),b=n(11986),y=n(13378),_=n(56665),w=n(91723),x=n(35757),S=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",[n("van-popup",{attrs:{show:t.popupShow,position:"bottom","z-index":5001,closeable:"",round:""},on:{close:t.onClose,touchmove:function(t){t.stopPropagation()}}},[n("tee-view",{staticClass:"fast-join-container"},[t._t("header",[n("header-block",{attrs:{"shop-info":t.shopInfo}})]),t._v(" "),n("info-block",{ref:"infoBlock",attrs:{"attribute-info":t.attributeInfo,"kdt-id":t.launchArgs.kdtId},on:{withSwitchOtherPopup:t.withSwitchOtherPopup,afterAuth:t.afterAuth}}),t._v(" "),n("agreement-block",{ref:"agreementBlock",style:t.pointEventForbid?"pointer-events:none;":""}),t._v(" "),n("submit-block",{style:t.pointEventForbid?"pointer-events:none;":"",on:{onSubmit:t.handleSubmit}})],2)],1),t._v(" "),n("join-notice",{ref:"joinNotice"}),t._v(" "),n("van-toast",{ref:"van-toast"})],1)},[]],k=(0,i.default)(S,2),I=k[0],T=k[1],C=function(){};e.default={components:{"van-popup":r.default,"header-block":m.default,"info-block":g.default,"agreement-block":v.default,"submit-block":b.default,"join-notice":y.default,"van-toast":a.default,"tee-view":s.default},props:{show:{type:Boolean,default:!1},launchArgs:{type:Object},userInfo:{type:Object}},data:function(){return{pointEventForbid:!1,popupShow:!1,supportFastJoin:!1,shopInfo:{},attributeInfo:{},baseAttributeInfo:{},alias:"",needFillInfo:!0}},watch:{show:{immediate:!0,handler:function(t){t&&this.launchFastJoin()}},"userInfo.mobile":{immediate:!0,handler:function(t){t&&this.init()}},popupShow:{immediate:!0,handler:function(t){document.body.style.overflow=t?"hidden":""}}},created:function(){this.closeCallback=C,this.successCallback=C,this.init()},destroyed:function(){this.closeCallback=C,this.successCallback=C,document.body.style.overflow=""},methods:{init:function(){var t=this,e=(this.launchArgs||{}).alias;return this.alias=e||"",(0,_.apiGetFastJoin)(e?{alias:e}:{}).then((function(e){var n=e||{supportFastJoin:!1},i=n.supportFastJoin,o=n.shopInfo,a=n.brandPagesSetting,r=void 0===a?{}:a,s=n.attributeInfo,c=void 0===s?{}:s,u=n.needFillInfo;t.shopInfo=o||{},t.baseAttributeInfo=c,t.supportFastJoin=i,t.needFillInfo=u,t.$emit("onUpdateShopInfo",o),t.$emit("onUpdateHeadType",r.headType||x.FastJoinHeadTypeEnum.Normal)}))},afterAuth:function(){var t=this;this.init().then((function(){t.attributeInfo=t.baseAttributeInfo}))},launchFastJoin:function(){var t=this,e=this.launchArgs||{},n=e.alias,i=e.kdtId,a=e.redirectUrl,r=e.guideType,s=e.extra,l=void 0===s?{}:s,d=e.successCallback,h=e.hiddenToast,m=void 0!==h&&h,g=e.closeCallback;this.$nextTick((function(){if(t.successCallback="function"==typeof d?d:C,t.closeCallback="function"==typeof g?g:C,t.supportFastJoin)(0,w.tryToBindShoppingGuideRelation)((0,o.default)({levelType:x.LevelType.FREE},l)),t.init().then((function(){(0,w.checkNotNeedInfo)(t.baseAttributeInfo,t.needFillInfo)?((0,c.default)("入会中..."),(0,_.apiFastJoin)({attributeList:[],clickWay:0,sceneType:1,member_src_way:"900"}).then((function(e){e?t.$refs.joinNotice.launchJoinMemberNotice({onSuccessClose:t.successCallback,alias:t.alias,hiddenToast:m}):(0,c.default)({type:"text",message:"入会失败,请稍后重试",zIndex:6e3}),t.$emit("onUpdateCloseStatus")}))):(t.attributeInfo=t.baseAttributeInfo,t.popupShow=!0)}));else{t.$emit("onUpdateCloseStatus");var e=f()(p().add("/wscuser/levelcenter/fill",{kdt_id:i,alias:n,guideType:r,redirectUrl:a}),"h5",i);(0,u.default)({url:"/pages/common/webview-page/index?src=".concat(encodeURIComponent(e)),type:"navigateTo",web:{type:"safeLink",safeLink:{url:e}}})}}))},handleJoin:function(){var t=this,e=(this.launchArgs||{}).hiddenToast,n=void 0!==e&&e,i=this.$refs.infoBlock.getCustomerAttributes(),o=(0,w.checkAttributesInputValue)(i);o?(0,c.default)({type:"text",message:o,zIndex:6e3}):(0,_.apiFastJoin)({attributeList:(0,w.getSubmitAttributeList)(i),clickWay:0,sceneType:1,member_src_way:"900"}).then((function(e){e?(t.onClose(),setTimeout((function(){t.$refs.joinNotice.launchJoinMemberNotice({onSuccessClose:t.successCallback,alias:t.alias,hiddenToast:n})}),1e3)):((0,c.default)({type:"text",message:"入会失败,请稍后重试",zIndex:6e3}),t.$emit("onUpdateCloseStatus"))}))},handleSubmit:function(){var t=this,e=this.$refs.agreementBlock.getAgreeStatus();e.showAgreement?e.checked?(0,l.protocolSign)([e.id]).then((function(){t.handleJoin()})):(0,c.default)({type:"text",message:"请先阅读并同意协议",zIndex:6e3}):this.handleJoin()},onClose:function(){this.popupShow=!1,this.attributeInfo={},this.$emit("onUpdateCloseStatus")},withSwitchOtherPopup:function(t){this.pointEventForbid=t}},render:I,staticRenderFns:T,_compiled:!0}},25110:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(79780)),a=n(15263),r=n(98014),s=(n(97220),n(7745)),c=n(53440),u=n.n(c),l=n(92679),d=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"jfc"},[n("tee-view",{staticClass:"jfc-title"},[t._v("入会仅剩一步")]),t._v(" "),t.needCompleteRegistrationInfo?n("tee-view",{staticClass:"jfc-info"},[n("tee-view",{staticClass:"text-info"},[t._v("需要补全注册信息")])],1):t._e(),t._v(" "),t.needCompleteRegistrationInfo||t.mode!==t.LevelMode.GROWTH?t._e():n("tee-view",{staticClass:"jfc-info"},[n("tee-view",{staticClass:"growth-info"},[t._v("\n 再获得\n "),n("tee-view",{staticClass:"highlight"},[t._v(t._s(t.growthValue))]),t._v("\n 成长值,即可成为会员\n ")],1),t._v(" "),t._l(t.missionList,(function(e,i){return n("tee-view",{key:i,staticClass:"mi"},[n("tee-view",{staticClass:"mi__icon"},[n("tee-image",{staticClass:"mi__icon-img",attrs:{src:e.icon}})],1),t._v(" "),n("tee-view",{staticClass:"mi__content"},[n("tee-view",{staticClass:"mi__content-title"},[t._v(t._s(e.subTitle))]),t._v(" "),n("tee-view",{staticClass:"mi__content-subtitle"},[t._v("+"+t._s(e.reward)+"成长值")])],1),t._v(" "),n("van-button",{attrs:{size:"mini","custom-class":"mi__btn"},on:{click:function(n){return t.handleGrowthClick(e.urlParams)}}},[t._v("\n 去完成\n ")])],1)}))],2),t._v(" "),t.needCompleteRegistrationInfo||t.mode!==t.LevelMode.CONSUME?t._e():n("tee-view",{staticClass:"jfc-info"},[t.consumeTextObject.isOnceConsume?n("tee-view",{staticClass:"text-info"},[t._v("\n 单笔消费\n "),n("tee-view",{staticClass:"highlight"},[t._v(t._s(t.consumeTextObject.price)+"元")]),t._v("\n ,即可成为会员\n ")],1):t._e(),t._v(" "),t.consumeTextObject.isOnceConsume?t._e():n("tee-view",{staticClass:"text-info"},[t._v("\n 再消费\n "),t.consumeTextObject.price?n("tee-view",{staticClass:"highlight"},[t._v("\n "+t._s(t.consumeTextObject.price)+"元\n ")]):t._e(),t._v("\n "+t._s(t.consumeTextObject.hasOr?" 或 ":"")+"\n "),t.consumeTextObject.times?n("tee-view",{staticClass:"highlight"},[t._v("\n "+t._s(t.consumeTextObject.times)+"笔\n ")]):t._e(),t._v("\n ,即可成为会员\n ")],1),t._v(" "),n("van-button",{attrs:{"custom-class":"goto__btn"},on:{click:t.handleConsumeClick}},[t._v("\n 去逛逛\n ")])],1),t._v(" "),t.needCompleteRegistrationInfo||t.mode!==t.LevelMode.STORE?t._e():n("tee-view",{staticClass:"jfc-info"},[n("tee-view",{staticClass:"text-info"},[t._v("\n 再充值"),n("tee-view",{staticClass:"highlight"},[t._v(t._s(t.storeValue)+"元")]),t._v(",即可成为会员\n ")],1),t._v(" "),n("van-button",{attrs:{"custom-class":"goto__btn"},on:{click:t.handleStoreClick}},[t._v("\n 去充值\n ")])],1)],1)},[]],f=(0,i.default)(d,2),h=f[0],p=f[1];e.default={components:{"van-button":o.default,"tee-view":r.default,"tee-image":a.default},props:{mode:{type:Number},missionList:{type:Array},levelGapInfo:{type:Object}},data:function(){return{LevelMode:l.LevelMode}},computed:{needCompleteRegistrationInfo:function(){return this.levelGapInfo&&!1===this.levelGapInfo.isRegistrationInfoCompleted},growthValue:function(){return this.levelGapInfo.neededGrowth},consumeTextObject:function(){return this.levelGapInfo.neededMinTradeAmount?{isOnceConsume:!0,price:this.levelGapInfo.neededMinTradeAmount?u()(this.levelGapInfo.neededMinTradeAmount):""}:{isOnceConsume:!1,times:this.levelGapInfo.neededTotalTradeCount||"",hasOr:this.levelGapInfo.neededTotalTradeCount>0&&this.levelGapInfo.neededTotalTradeAmount>0,price:this.levelGapInfo.neededTotalTradeAmount?u()(this.levelGapInfo.neededTotalTradeAmount):""}},storeValue:function(){return this.levelGapInfo.neededStoreBalance?u()(this.levelGapInfo.neededStoreBalance):""}},methods:{handleGrowthClick:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,s.default)({url:t.weappUrl||"/packages/shop/levelcenter/free/index",type:t.type||"navigateTo",web:{type:"safeLink",safeLink:{url:t.url||"/wscuser/levelcenter"}}})},handleConsumeClick:function(){var t,e;(0,s.default)({url:"/pages/home/dashboard/index",type:"switchTab",web:{type:"safeLink",safeLink:{url:"/wscshop/showcase/homepage?kdt_id=".concat(null===(t=window)||void 0===t||null===(e=t._global)||void 0===e?void 0:e.kdt_id)}}})},handleStoreClick:function(){var t,e;(0,s.default)({url:"/packages/pre-card/recharge/index",type:"navigateTo",web:{type:"safeLink",safeLink:{url:"https://cashier.youzan.com/pay/new_prepaid_balance_recharge?kdt_id=".concat(null===(t=window)||void 0===t||null===(e=t._global)||void 0===e?void 0:e.kdt_id)}}})}},render:h,staticRenderFns:p,_compiled:!0}},62305:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(79362),n(2375),n(37115)),a=n(79780),r=n(98014),s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"jsc"},[n("tee-view",{staticClass:"jsc__title"},[t._v("入会成功")]),t._v(" "),n("tee-view",{staticClass:"jsc__subtitle"},[t._v("入会礼包已发放至账户")]),t._v(" "),n("tee-view",{staticClass:"jsc__benefit"},[t.showGift?n("tee-view",{staticClass:"jsc__bi"},[n("van-icon",{attrs:{"custom-class":"jsc__bi-icon",name:"point-gift-o"}}),t._v(" "),n("tee-view",{staticClass:"jsc__bi-name"},[t._v("赠品")]),t._v(" "),n("tee-view",{staticClass:"jsc__bi-count"},[t._v(" x"+t._s(t.giftCount)+" ")])],1):t._e(),t._v(" "),t.showCoupon?n("tee-view",{staticClass:"jsc__bi"},[n("van-icon",{attrs:{"custom-class":"jsc__bi-icon",name:"coupon-o"}}),t._v(" "),n("tee-view",{staticClass:"jsc__bi-name"},[t._v("优惠券")]),t._v(" "),n("tee-view",{staticClass:"jsc__bi-count"},[t._v(" x"+t._s(t.couponCount)+" ")])],1):t._e(),t._v(" "),t.showPoint?n("tee-view",{staticClass:"jsc__bi"},[n("van-icon",{attrs:{"custom-class":"jsc__bi-icon",name:"points"}}),t._v(" "),n("tee-view",{staticClass:"jsc__bi-name"},[t._v("积分")]),t._v(" "),n("tee-view",{staticClass:"jsc__bi-count"},[t._v("\n "+t._s(t.pointCount)+"\n ")])],1):t._e()],1),t._v(" "),n("tee-view",{staticClass:"jsc__info"},[t._v(" 仅在首次入会时发放 ")]),t._v(" "),n("van-button",{attrs:{"custom-class":"jsc__btn"},on:{click:t.handleConfirm}},[t._v("\n 我知道了\n ")])],1)},[]],c=(0,i.default)(s,2),u=c[0],l=c[1];e.default={components:{"van-button":a.default,"van-icon":o.default,"tee-view":r.default},props:{giftBag:{type:Object}},computed:{showCoupon:function(){return this.giftBag.couponList&&Array.isArray(this.giftBag.couponList)&&this.giftBag.couponList.length>0},showGift:function(){return this.giftBag.presentList&&Array.isArray(this.giftBag.presentList)&&this.giftBag.presentList.length>0},showPoint:function(){return this.giftBag.points&&this.giftBag.points>0},couponCount:function(){return this.giftBag.couponList&&Array.isArray(this.giftBag.couponList)&&this.giftBag.couponList.length>0?this.giftBag.couponList.reduce((function(t,e){return t+(e.number||0)}),0):""},giftCount:function(){return this.giftBag.presentList&&Array.isArray(this.giftBag.presentList)&&this.giftBag.presentList.length>0?this.giftBag.presentList.reduce((function(t,e){return t+(e.number||0)}),0):""},pointCount:function(){return this.giftBag.points||""}},methods:{handleConfirm:function(){this.$emit("onConfirm")}},render:u,staticRenderFns:l,_compiled:!0}},2911:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(57635),a=n(669),r=n(98014),s=n(46932),c=n(98803),u=n(72704),l=n(70875),d=n(28365),f=n(92679),h=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",[n("van-popup",{attrs:{show:t.show,"custom-class":"join-notice",closeable:""},on:{close:t.onClose}},[t.joinSuccess?n("join-success",{attrs:{"gift-bag":t.giftBag},on:{onConfirm:t.handleSuccessConfirm}}):t._e(),t._v(" "),t.joinSuccess?t._e():n("join-fail",{attrs:{mode:t.levelGroupMode,"mission-list":t.missionList,"level-gap-info":t.levelGapInfo}})],1),t._v(" "),n("van-toast",{ref:"van-toast"})],1)},[]],p=(0,i.default)(h,2),m=p[0],g=p[1],v=function(){};e.default={components:{"van-popup":a.default,"join-success":c.default,"join-fail":u.default,"van-toast":o.default,"tee-view":r.default},data:function(){return{show:!1,joinSuccess:!1,levelGroupMode:1,levelGapInfo:{},missionList:[],giftBag:{}}},created:function(){this.onSuccessClose=v},methods:{launchJoinMemberNotice:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alias,i=e.hiddenToast;this.onSuccessClose=e.onSuccessClose||v;var o={};n&&(o.alias=n),(0,l.apiGetFastJoinResult)(o).then((function(e){var n=e.isSuccess,o=e.levelGroupMode,a=e.levelGapInfo,r=void 0===a?{}:a,c=e.hasGift,u=e.giftBag,h=void 0===u?{}:u;t.levelGroupMode=o,t.joinSuccess=n,t.levelGapInfo=r,!n||c&&(0,d.checkHasGift)(h)?n&&c&&(0,d.checkHasGift)(h)?(t.show=!0,t.giftBag=h):n||o!==f.LevelMode.GROWTH?n||o===f.LevelMode.GROWTH?s.default.fail("入会失败,请稍后重试"):t.show=!0:(0,l.apiGetMission)().then((function(e){var n=(0,d.formatMission)(e);t.missionList=n,t.show=!0})):(i||s.default.success("入会成功"),setTimeout((function(){t.onSuccessClose()}),500))}))},onClose:function(){this.joinSuccess&&this.onSuccessClose(),this.show=!1},handleSuccessConfirm:function(){this.onSuccessClose(),this.show=!1}},render:m,staticRenderFns:g,_compiled:!0}},30443:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=[function(){var t=this.$createElement;return(this._self._c||t)("tee-view")},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0}},47477:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(97415),n(1881),n(98014)),a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",[t.appContentAppendIsCloudSlot?n("cloud-app-content-append"):t._e()],1)},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={data:function(){var t;return{appContentAppendIsCloudSlot:!(null===(t=this.ctx.data.cloudDesignConfig)||void 0===t||!t.replacedSlots.includes("app-content-append"))}},components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0}},3536:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=[function(){var t=this.$createElement;return(this._self._c||t)("tee-view")},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0}},31645:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(98014)),a=[function(){var t=this.$createElement;return(this._self._c||t)("tee-view")},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={props:{noAutoAuth:{type:Boolean,default:!1},zIndex:{type:Number,default:10001}},config:{usingComponents:{"inject-protocol":"inject-protocol"}},components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0}},29431:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(97415),n(1881),n(87296)),a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.protocolIsCloudSlot?n("cloud-protocol-content"):t._e()},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={config:{usingComponents:{"weapp-protocol-content":"/packages/async-main/components/account/protocol/ecloud-custom/index"}},data:function(){var t;return{protocolIsCloudSlot:!(null===(t=this.ctx.data.cloudDesignConfig)||void 0===t||!t.replacedSlots.includes(o.CLOUD_PROTOCOL_CONTENT_SLOT_NAME))}},render:s,staticRenderFns:c,_compiled:!0}},79942:function(t,e,n){"use strict";n.r(e);n(34642);var i,o=n(27455),a=(n(2375),n(23815),n(47691),n(79575),n(54968),n(49349),n(97415),n(1881),n(87675),n(55750),n(77109),n(45607),n(93002)),r=n(37666),s=n(23888),c=n(3382),u=n(87296),l=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("protocol",{attrs:{visible:t.visible,source:t.source,"use-u-i-component-slot":t.isCloudSlot},on:{agree:t.handleAgree,disagree:t.handleDisagree}},[n("protocol-content",{attrs:{slot:"ui-component"},slot:"ui-component"})],1)},[]],d=(0,o.default)(l,2),f=d[0],h=d[1],p=s.hooks.protocolHook,m=s.platform.authLogger,g=Symbol("offList"),v={methods:{initCloud:function(t){var e=this,n=t.invoker,i=this.ctx.cloud,o=(0,c.createBridgeProtocolHandlers)({isCustomUI:this.isCloudSlot,invokeCloud:function(t,e){return i.invoke(t,e,{scope:"module"})},log:m.logAll}),a=function(t){return{authTypeList:[s.AuthType.PROTOCOL],actionType:t}},r=function(t){return t.source!==n.source?Promise.resolve():Promise.all([e.invokeAuthCloud("beforeUserAuthOnce",a(s.AuthActionType.Agree)),o.beforeAgree()]).then((function(){}))};p.beforeAgree.add(r);var u=s.InvokeProtocolEvent,l={sameSource:!0};n.on(u.AGREE,(function(){e.invokeAuthCloud("onUserAuthOnce",a(s.AuthActionType.Agree),"emit"),e.invokeAuthCloud("afterUserAuthOnce",a(s.AuthActionType.Agree)),o.onAgree()}),l),n.on(u.DISAGREE,(function(){e.invokeAuthCloud("onUserAuthOnce",a(s.AuthActionType.Disagree),"emit"),e.invokeAuthCloud("afterUserAuthOnce",a(s.AuthActionType.Disagree)),o.onDisagree()}),l),n.on(u.SHOW_BEFORE,(function(){return o.onBeforeShow()}),l),n.on(u.SHOW_AFTER,(function(){return o.onAfterShow()}),l),n.on(u.CLOSE,(function(){return o.onClose()}),l),this.addOff((function(){n.off(),p.beforeAgree.remove(r),o.cleanup()}))},invokeAuthCloud:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"invoke";return this.ctx.process.invoke("invokeAuthCloud",{alias:t,payload:e,method:n})[0]}}};e.default=(i={mixins:[v]},(0,a.default)(i,"mixins",[v]),(0,a.default)(i,"components",{Protocol:r.default}),(0,a.default)(i,"data",(function(){var t=this.ctx.data.cloudDesignConfig,e=!!t&&t.replacedSlots.includes(u.CLOUD_PROTOCOL_CONTENT_SLOT_NAME);return{source:"@ext/protocol/popup_".concat(Date.now()),visible:!1,isCloudSlot:e}})),(0,a.default)(i,"mounted",(function(){this.initProtocol()})),(0,a.default)(i,"destroyed",(function(){this.runOff()})),(0,a.default)(i,"methods",{addOff:function(t){this[g]=(this[g]||[]).concat(t)},runOff:function(){this[g]&&(this[g].forEach((function(t){return t()})),this[g]=null)},initProtocol:function(){var t=this;this.getProtocol().then((function(e){var n,i=e.invoker;i.on(s.InvokeProtocolEvent.SHOW,(function(){return t.show()}),{playback:!0}),i.on(s.InvokeProtocolEvent.CLOSE,(function(){return t.hide()})),null===(n=t.initCloud)||void 0===n||n.call(t,{invoker:i})})).catch((function(e){throw m.logAll({errTitle:"protocol init error",errInfo:{source:t.source,msg:(0,s.getErrorMsg)(e),stack:e&&e.stack}}),e}))},getProtocol:function(){var t=this;return this.$_protocolPs||(this.$_protocolPs=n.e(600).then(n.bind(n,92600)).then((function(e){return{invoker:new e.InvokeProtocol({source:t.source})}})).catch((function(e){throw t.$_protocolPs=null,e}))),this.$_protocolPs},handleAgree:function(){var t=this;n.e(307).then(n.bind(n,70307)).then((function(t){return t.default})).then((function(e){e.refreshUserAuthData().finally((function(){(0,s.emitUserAuthSuccess)({authTypeList:[s.AuthType.PROTOCOL],authPopTypeList:[s.AuthPopType.PROTOCOL]})})),t.hide()}))},handleDisagree:function(){this.hide()},show:function(){var t=this;this.invokeAuthCloud("beforeUserAuthPopupToggle",{authTypeList:[s.AuthType.PROTOCOL],isShow:!0}).then((function(){t.visible=!0})).catch((function(t){throw t}))},hide:function(){this.visible=!1}}),(0,a.default)(i,"render",f),(0,a.default)(i,"staticRenderFns",h),(0,a.default)(i,"_compiled",!0),i)},25150:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(47697),a=[function(){var t=this.$createElement;return(this._self._c||t)("pkg-popup")},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={components:{PkgPopup:o.default},render:s,staticRenderFns:c,_compiled:!0}},11220:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(23888),a=n(15369),r=[function(){var t=this,e=t.$createElement;return(t._self._c||e)("user-authorize",{attrs:{"auth-type-list":t.authTypeList,hooks:t.hooks},on:{next:t.handleSuccess}},[t._t("default")],2)},[]],s=(0,i.default)(r,2),c=s[0],u=s[1];e.default={props:{authTypeList:Array},data:function(){var t=this.ctx;return{hooks:{authItemAfter:function(e){return(0,a.authItemAfter)(t,e)},protocolBeforeAgree:function(){return(0,a.protocolBeforeAgree)(t)}}}},methods:{handleSuccess:function(t){var e=(0,o.parseToCloudUser)(t);this.ctx.cloud.emit("onUserAuthAllSuccess",{user:e})}},render:c,staticRenderFns:u,_compiled:!0}},81834:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(20571)),a=n(34873),r=n(24442),s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("pkg-user-authorize",{staticClass:"user-authorize-continer",attrs:{id:t.id,type:t.type,"custom-style":t.customStyle,scene:t.scene,"auth-type-list":t.authTypeList,"kdt-id":t.authKdtId,"need-get-union-id":t.needGetUnionId,"need-update-nickname-and-avatar":t.needUpdateNicknameAndAvatar,"z-index":t.zIndex,"popup-custom-style":t.popupCustomStyle,"allow-deny":t.allowDeny,"biz-data-map":t.bizDataMap,"protocol-is-cloud-slot":t.protocolIsCloudSlot,"protocol-source":t.protocolSource,hooks:t.hooks,"custom-navigate":t.customNavigate},on:{"status-change":t.onStatusChange,next:t.onNext,fail:t.onFail,navigate:t.onNavigate,"popup-visible":t.onPopVisible,"auth-popup-show":t.onPopShow,"auth-popup-allow":t.onPopAllow,"auth-popup-refuse":t.onPopRefuse}},[t.protocolCustomCloudSlot?t._t("ui-component",null,{slot:"ui-component"}):n("protocol-content",{attrs:{slot:"ui-component"},slot:"ui-component"}),t._v(" "),t._t("default")],2)},[]],c=(0,i.default)(s,2),u=c[0],l=c[1];e.default={components:{PkgUserAuthorize:o.default},mixins:[(0,r.createProtocolMixin)("main")],props:{customStyle:String,scene:String,authTypeList:{type:Array,value:[]},kdtId:{type:[Number,String],required:!0},bizDataMap:Object,needUpdateNicknameAndAvatar:{type:Boolean,default:!1},needGetUnionId:Boolean,type:String,zIndex:{type:Number,default:1e4},popupCustomStyle:String,allowDeny:Boolean,hooks:Object,id:String,customNavigate:Boolean,protocolCustomCloudSlot:Boolean},data:function(){return{bindKdtId:this.ctx.data.kdtId}},computed:{authKdtId:function(){return this.kdtId||this.bindKdtId}},created:function(){var t=this;(0,a.mapData)(this,{kdtId:function(e){t.bindKdtId=e}})},methods:{onStatusChange:function(t){this.$emit("status-change",t)},onNext:function(t){var e=this.ctx;e.logger&&t.mobile&&e.logger.setUser({li:t.userId,m:t.mobile}),this.$emit("next",t)},onFail:function(t){this.$emit("fail",t)},onNavigate:function(t){this.$emit("navigate",t)},onPopShow:function(t){this.$emit("auth-popup-show",t)},onPopAllow:function(t){this.$emit("auth-popup-allow",t)},onPopRefuse:function(t){this.$emit("auth-popup-refuse",t)},onPopVisible:function(t){this.$emit("popup-visible",t)}},render:u,staticRenderFns:l,_compiled:!0,_scopeId:"data-v-726d91b"}},57101:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(47697),a=n(24442),r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("pkg-popup",{attrs:{"protocol-is-cloud-slot":t.protocolIsCloudSlot,"protocol-source":t.protocolSource}},[n("protocol-content",{attrs:{slot:"ui-component"},slot:"ui-component"})],1)},[]],s=(0,i.default)(r,2),c=s[0],u=s[1];e.default={components:{PkgPopup:o.default},mixins:[(0,a.createProtocolMixin)("popup")],render:c,staticRenderFns:u,_compiled:!0}},64914:function(t,e,n){"use strict";n.r(e);n(34642);var i=n(27455),o=(n(97415),n(1881),n(2375),n(23815),n(47691),n(79575),n(45607),n(98014)),a=n(97220),r=n.n(a),s=n(47697),c=n(23888),u=n(37666),l=n(55213),d=n(30220),f=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",[n("popup"),t._v(" "),n("protocol",{attrs:{visible:t.showProtocol,code:t.code,"use-u-i-component-slot":t.useCustomUI,source:t.source},on:{agree:t.handleAgree,disagree:t.handleDisagree,"auth-popup-show":t.onPopupShow}},[n("protocol-content",{attrs:{slot:"ui-component"},slot:"ui-component"})],1)],1)},[]],h=(0,i.default)(f,2),p=h[0],m=h[1];e.default={components:{Popup:s.default,Protocol:u.default,"tee-view":o.default},data:function(){var t,e=!(null===(t=this.ctx.data.cloudDesignConfig)||void 0===t||!t.replacedSlots.includes(l.CLOUD_PROTOCOL_CONTENT_SLOT_NAME)),n=r().getGlobal("account:protocol:isUIComponent");return{showProtocol:!1,code:[],source:"@ext/authorize/pop_".concat(Date.now()),useCustomUI:e||n,isCloudSlot:e}},mounted:function(){this.initProtocol()},destroyed:function(){this.getProtocol().then((function(t){t.instance.off()}))},methods:{initProtocol:function(){var t=this;this.getProtocol().then((function(e){var n=e.instance,i=(0,e.getProtocolData)().then((function(e){var n=e.protocolCode;t.code=n}));n.on("show",(function(){i.then((function(){t.showProtocol=!0}))})),n.on("close",(function(){t.showProtocol=!1})),n.init()}))},getProtocol:function(){var t=this;return this.$_protocolPs||(this.$_protocolPs=n.e(600).then(n.bind(n,92600)).then((function(e){var n=e.InvokeProtocol,i=e.getProtocolData;return{instance:new n({source:t.source}),getProtocolData:i}})).catch((function(e){throw t.$_protocolPs=null,c.platform.authLogger.logSkynet("Resolve passport-protocol failed",{from:"authorize-pop",error:e.message||e.msg||e}),e}))),this.$_protocolPs},handleAgree:function(){var t=this;this.getProtocol().then((function(e){e.instance.trigger("agree"),(0,d.resolveTeeAPI)().then((function(e){e.refreshUserAuthData().finally((function(){(0,c.emitUserAuthSuccess)({authTypeList:[c.AuthType.PROTOCOL],authPopTypeList:[c.AuthPopType.PROTOCOL]})})),t.showProtocol=!1;var n=t.ctx.logger;n&&n.log({et:"click",ei:"protocol_click",en:"协议授权组件授权同意"})}))}))},onPopupShow:function(){var t=this.ctx.logger;t&&t.log({et:"view",ei:"protocol_exposure",en:"协议授权组件曝光"})},handleDisagree:function(){var t=this;this.getProtocol().then((function(e){e.instance.trigger("disagree"),t.showProtocol=!1}))}},render:p,staticRenderFns:m,_compiled:!0}},46318:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(15263),a=n(98014),r=n(669),s=n(79780),c=n(85329),u=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("van-popup",{attrs:{position:"bottom",round:"",show:t.show},on:{"click-overlay":t.onClose}},[t.show?n("tee-view",{staticClass:"assistant-pop"},[n("tee-view",{staticClass:"title"},[t._v("智能助理")]),t._v(" "),n("tee-view",{staticClass:"subtext"},[t._v("想知道如何快速上手卖货?快来开通智能助理")]),t._v(" "),n("tee-view",{staticClass:"img"},[n("tee-image",{staticClass:"img",attrs:{src:t.img}})],1),t._v(" "),n("tee-view",{staticClass:"action"},[t._v("长按识别二维码关注")]),t._v(" "),n("tee-view",{staticClass:"confirm"},[n("van-button",{attrs:{color:"linear-gradient(45deg, #ffaa1e, #ff720d)",round:"",size:"large","custom-style":"height: 40px;"},on:{click:t.onClose}},[t._v("\n 我知道了\n ")])],1)],1):t._e()],1)},[]],l=(0,i.default)(u,2),d=l[0],f=l[1];e.default={name:"AssistantPop",components:{"van-popup":r.default,"van-button":s.default,"tee-view":a.default,"tee-image":o.default},data:function(){return{show:!1,img:c.ASSIST_CODE}},methods:{handleCheck:function(t){var e=this;t.getOpenAssistantData().then((function(t){t.needGuide&&(e.show=!0)}))},onClose:function(){this.show=!1}},render:d,staticRenderFns:f,_compiled:!0,_scopeId:"data-v-02ea354"}},34373:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(15263),a=n(98014),r=n(56487),s=n.n(r),c=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"seller-icon",style:t.iconStyle},[n("tee-image",{staticClass:"earn-icon",attrs:{src:t.iconFullUrl,alt:"推广图标"}})],1)},[]],u=(0,i.default)(c,2),l=u[0],d=u[1];e.default={name:"EarnIcon",props:{iconUrl:String,cubeIconData:{type:Object,default:function(){return{bottom:200,goaway:void 0}}},customStyle:{type:String,default:""}},computed:{iconFullUrl:function(){return s()(this.iconUrl,"small")},iconStyle:function(){return"bottom:".concat(this.cubeIconData.bottom,"px;")+this.customStyle}},components:{"tee-view":a.default,"tee-image":o.default},render:l,staticRenderFns:d,_compiled:!0,_scopeId:"data-v-d4464c6"}},19752:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(93375),a=n(98014),r=n(37115),s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"b-header fac"},[n("tee-view",{staticClass:"fac"},[t._v("\n "+t._s(t.title)+"\n "),t._t("desc")],2),t._v(" "),t.showBtn?n("tee-view",{staticClass:"fac"},[t.showCopy?n("tee-text",{staticClass:"btn fac",on:{click:t.copyClick}},[n("van-icon",{attrs:{name:"orders-o"}}),t._v(" 复制文案 ")],1):t._e(),t._v(" "),n("tee-text",{staticClass:"btn fac",on:{click:t.btnClick}},[n("van-icon",{attrs:{name:"replay"}}),t._v(" "+t._s(t.btnText)+" ")],1)],1):t._e()],1)},[]],c=(0,i.default)(s,2),u=c[0],l=c[1];e.default={name:"BlockHeader",components:{"van-icon":r.default,"tee-view":a.default,"tee-text":o.default},props:{showCopy:Boolean,showBtn:Boolean,title:String,btnText:{type:String,default:"换文案"}},methods:{btnClick:function(){this.$emit("btnClick")},copyClick:function(){this.$emit("copyClick")}},render:u,staticRenderFns:l,_compiled:!0,_scopeId:"data-v-c808d63"}},29441:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(63413)),a=n(15263),r=n(93375),s=n(87771),c=n(98014),u=n(18037),l=n(53440),d=n.n(l),f=n(56487),h=n.n(f),p=n(34873),m=n(47825),g=n(56103),v=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{class:["goods-item",t.customClass],on:{click:t.toGoods}},[n("tee-image",{staticClass:"pic",attrs:{mode:"aspectFill",src:t.pic,"lazy-load":""}}),t._v(" "),n("tee-view",{staticClass:"content"},[n("tee-native-text",{staticClass:"title",attrs:{overflow:"ellipsis"}},[t._v(t._s(t.title))]),t._v(" "),n("tee-view",{staticClass:"extra"},[n("tee-view",{staticClass:"left"},[t.reason?n("tee-view",{staticClass:"reason"},[t._v(t._s(t.reason||""))]):t._e(),t._v(" "),n("tee-view",{staticClass:"price"},[n("tee-text",[t._v("¥"+t._s(t.priceShow))]),t._v(" "),t.originPriceShow?n("tee-native-text",{staticClass:"origin"},[t._v("¥"+t._s(t.originPriceShow))]):t._e()],1)],1),t._v(" "),t._t("right")],2)],1)],1)},[]],b=(0,i.default)(v,2),y=b[0],_=b[1];e.default={name:"GoodsItem",mixins:[g.tee.externalClassesMixin(["custom-class"])],props:{picture:String,reason:String,title:String,alias:String,price:Number,originPrice:Number,priceStr:String,originPriceStr:String,activityType:Number,activityAlias:String,activityId:Number,canJump:{type:Boolean,default:!0}},computed:{pic:function(){return h()(this.picture||u.GOODS_IMG,"small")},priceShow:function(){return this.priceStr?this.priceStr:d()(this.price,!0,!1)},originPriceShow:function(){return this.originPriceStr?this.originPriceStr:this.originPrice?d()(this.originPrice,!0,!1):""}},methods:{toGoods:function(){if(this.canJump){var t=this.activityType,e=this.activityId,n=this.activityAlias,i=m.SalesmanCubeCore.getGoodsActParams({goodsActivityInfo:{activityId:e,activityType:t,activityAlias:n}});(0,p.getPlugins)().dmc.navigate("GoodsDetail",(0,o.default)((0,o.default)({},i),{},{shopAutoEnter:1,alias:this.alias}))}}},components:{"tee-view":c.default,"tee-native-text":s.default,"tee-text":r.default,"tee-image":a.default},render:y,staticRenderFns:_,_compiled:!0,_scopeId:"data-v-4a1467c"}},82459:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(60291),n(93375)),a=n(98014),r=n(46434),s=n(95652),c=n(37115),u=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"match-block"},[n("block-header",{attrs:{title:"智能搭配","show-btn":t.showBtn,"btn-text":"换搭配"},on:{btnClick:t.changeMatch}}),t._v(" "),n("tee-view",{staticClass:"list"},[t.list.length?t._l(t.list,(function(e){return n("tee-view",{key:e.goodsAlias,staticClass:"list-item"},[n("match-item",{attrs:{"main-pic-url":t.mainPic,alias:e.goodsAlias,"pic-url":e.mainPicUrl,reason:e.reason},on:{itemClick:t.itemClick}})],1)})):n("tee-view",{on:{click:t.clickManual}},[n("tee-view",{staticClass:"empty"},[t._v(" 暂无推荐,"),n("tee-text",{staticClass:"manual-link"},[t._v("手动搭配 >> ")])],1)],1)],2)],1)},[]],l=(0,i.default)(u,2),d=l[0],f=l[1];e.default={name:"MatchBlock",components:{"van-icon":c.default,MatchItem:s.default,BlockHeader:r.default,"tee-view":a.default,"tee-text":o.default},props:{matchList:Array,mainPic:String},computed:{showBtn:function(){return(this.matchList||[]).length>0},list:function(){return(this.matchList||[]).slice(0,2)}},methods:{changeMatch:function(){this.$emit("changeMatch")},itemClick:function(t){this.$emit("itemClick",t)},clickManual:function(){this.$emit("clickManual")}},render:d,staticRenderFns:f,_compiled:!0,_scopeId:"data-v-783fb72"}},83908:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(93375),a=n(15263),r=n(98014),s=n(56487),c=n.n(s),u=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"match-item",on:{click:t.itemClick}},[n("tee-view",{staticClass:"imgs"},[n("tee-image",{staticClass:"img",attrs:{mode:"aspectFill",src:t.mainPic,"lazy-load":""}}),t._v(" "),n("tee-text",{staticClass:"plus"},[t._v("+")]),t._v(" "),n("tee-image",{staticClass:"img",attrs:{mode:"aspectFill",src:t.pic,"lazy-load":""}})],1),t._v(" "),n("tee-view",{staticClass:"reason"},[t._v(t._s(t.realReason)+t._s(" >>"))])],1)},[]],l=(0,i.default)(u,2),d=l[0],f=l[1];e.default={name:"MatchItem",props:{mainPicUrl:String,picUrl:String,reason:String,alias:String},computed:{mainPic:function(){return c()(this.mainPicUrl,"small")},pic:function(){return c()(this.picUrl,"small")},realReason:function(){return this.reason||"经典百搭"}},methods:{itemClick:function(){this.$emit("itemClick",this.alias)}},components:{"tee-view":r.default,"tee-image":a.default,"tee-text":o.default},render:d,staticRenderFns:f,_compiled:!0,_scopeId:"data-v-808f095"}},94094:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(15263),a=n(27107),r=n(98014),s=n(22073),c=n(4078),u=n(5278),l=n(79780),d=n(16181),f=n(18037),h=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"match-list"},[n("tee-view",{on:{touchmove:function(t){t.stopPropagation()}}},[n("goods-item",{attrs:{"custom-class":"main-item","can-jump":!1,title:t.goodsInfo.title,picture:t.goodsInfo.picture,"price-str":t.mainPrice.priceStr,"origin-price-str":t.mainPrice.originPriceStr}}),t._v(" "),n("van-divider",{attrs:{hairline:"","content-position":"left","custom-class":"divider"}},[n("tee-image",{staticClass:"divider-img",attrs:{mode:"aspectFit",src:t.rImg,"lazy-load":""}}),t._v("\n 智能搭配推荐\n ")],1)],1),t._v(" "),n("tee-scroll-view",{staticClass:"list",style:t.listHeight,attrs:{type:"list","show-scrollbar":!1,"scroll-y":""}},[t._l(t.matchList,(function(e,i){return n("goods-item",{key:e.goodsAlias,attrs:{"custom-class":["item",0===i?"item-first":""],alias:e.goodsAlias,title:e.title,picture:e.mainPicUrl,reason:e.reason||"经典百搭",price:e.price,"origin-price":e.originPrice,"activity-type":e.activityType,"activity-alias":e.activityAlias,"activity-id":e.activityId}},[n("van-checkbox",{staticClass:"check-btn",attrs:{slot:"right","icon-size":"18px","checked-color":"#ff720d",value:e.goodsAlias===t.checkedAlias},on:{click:function(n){return n.stopPropagation(),t.itemClick(e.goodsAlias)}},slot:"right"})],1)})),t._v(" "),n("tee-view",{staticClass:"footer"},[n("van-button",{attrs:{round:"","custom-class":"footer-btn"},on:{click:t.clickManual}},[t._v("更多穿搭")])],1)],2)],1)},[]],p=(0,i.default)(h,2),m=p[0],g=p[1];e.default={name:"MatchList",components:{"van-divider":c.default,"van-checkbox":u.default,"van-button":l.default,GoodsItem:s.default,"tee-view":r.default,"tee-scroll-view":a.default,"tee-image":o.default},props:{goodsInfo:Object,matchList:Array},data:function(){return{rImg:f.ROBOT,checkedAlias:""}},computed:{mainPrice:function(){var t=this.goodsInfo||{},e=t.goodsPrice||{},n=(0,d.getGoodsPriceInfo)(t),i=n.hasActivity,o=n.activityMinPrice,a=n.min;return i?{priceStr:o,originPriceStr:(0,d.getPriceStr)(a)}:{priceStr:(0,d.getPriceStr)(e.minPrice)}},listHeight:function(){return"height: ".concat(88*(this.matchList.length+1),"px")}},methods:{itemClick:function(t){var e=this;this.checkedAlias=t,setTimeout((function(){e.$emit("itemClick",t)}),150)},clickManual:function(){this.$emit("clickManual")}},render:m,staticRenderFns:g,_compiled:!0,_scopeId:"data-v-91be85e"}},70231:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(93375),a=n(98014),r=n(56103),s=n(37115),c=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{class:["p-header",t.customClass]},[t._t("btn"),t._v(" "),t.title?n("tee-text",[t._v(t._s(t.title))]):t._e(),t._v(" "),n("van-icon",{staticClass:"close",attrs:{size:"18px",name:"cross"},on:{click:t.onClose}})],2)},[]],u=(0,i.default)(c,2),l=u[0],d=u[1];e.default={name:"PanelHeader",components:{"van-icon":s.default,"tee-view":a.default,"tee-text":o.default},mixins:[r.tee.externalClassesMixin(["custom-class"])],props:{title:String},methods:{onClose:function(){this.$emit("onClose")}},render:l,staticRenderFns:d,_compiled:!0,_scopeId:"data-v-4556081"}},20389:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(15263),a=n(98014),r=n(18037),s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"pic-loading"},[n("tee-view",{staticClass:"text"},[n("tee-image",{staticClass:"pic",attrs:{src:t.img,"lazy-load":""}}),t._v("\n 智能试衣图\n ")],1),t._v(" "),n("tee-view",{staticClass:"percent"},[t._v("生成中("+t._s(t.percent)+"%)")])],1)},[]],c=(0,i.default)(s,2),u=c[0],l=c[1];e.default={name:"PicLoading",data:function(){return{st:null,percent:0,img:r.BRUSH}},created:function(){this.progress()},destroyed:function(){clearTimeout(this.st)},methods:{progress:function(){var t=this,e=Math.floor(1e3*Math.random());this.st=setTimeout((function(){t.percent<60?(t.percent+=Math.floor(10*Math.random()),t.progress()):t.percent<80?(t.percent+=Math.floor(5*Math.random()),t.progress()):t.percent<99?(t.percent+=1,t.progress()):clearTimeout(t.st)}),e)}},components:{"tee-view":a.default,"tee-image":o.default},render:u,staticRenderFns:l,_compiled:!0,_scopeId:"data-v-28fc96a"}},44233:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(93375),a=n(98014),r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"size"},[n("tee-view",{staticClass:"size__title"},[t._v("尺寸:")]),t._v(" "),n("tee-view",{staticClass:"size__list"},t._l(t.sizeSpecList,(function(e){return n("tee-view",{key:e.specValueId,class:["size__item",e.soldOut?"sold":""]},[n("tee-text",{staticClass:"text",attrs:{overflow:"ellipsis"}},[t._v(t._s(e.specValueName))]),t._v(" "),e.soldOut?n("tee-text",{staticClass:"sold"},[t._v("售罄")]):t._e()],1)})),1)],1)},[]],s=(0,i.default)(r,2),c=s[0],u=s[1];e.default={name:"SizeSpecs",props:{sizeSpecList:{type:Array,required:!0}},components:{"tee-view":a.default,"tee-text":o.default},render:c,staticRenderFns:u,_compiled:!0,_scopeId:"data-v-2fd5ba2"}},58686:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(8208),n(2375),n(10357),n(11729),n(44472),n(63413)),a=n(98014),r=n(90307),s=n(80723),c=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.goodsInfo.title?n("tee-view",{staticClass:"wrapper"},[n("spec-goods-info",{attrs:{"goods-info":t.goodsInfo,"main-pic-url":t.mainPicUrl,"goods-text":t.goodsText},on:{clickGoods:t.clickGoods}}),t._v(" "),t.currColorSpecs.length>1?n("specs-section",{attrs:{"color-specs":t.currColorSpecs,"curr-color-spec-id":t.currColorSpecId,"curr-size-spec-list":t.currSizeSpecList},on:{selectSpec:t.selectSpec}}):t._e()],1):t._e()},[]],u=(0,i.default)(c,2),l=u[0],d=u[1];e.default={name:"ColorSpecDetail",components:{SpecGoodsInfo:s.default,SpecsSection:r.default,"tee-view":a.default},props:{colorSpecs:{type:Array,required:!0,default:function(){return[]}},goodsInfo:{type:Object,required:!0,default:function(){return{}}},goodsText:{type:String,default:"主商品"}},data:function(){return{currColorSpecId:void 0}},computed:{currColorSpecs:function(){return this.colorSpecs.some((function(t){return!t.specValueImg}))?[]:this.colorSpecs.map((function(t){return(0,o.default)((0,o.default)({},t),{},{soldOut:t.sizeSpecList&&t.sizeSpecList.every((function(t){return t.soldOut}))})}))},currentSpec:function(){var t=this;return this.colorSpecs.find((function(e){return e.specValueId===t.currColorSpecId}))||{}},mainPicUrl:function(){return this.currentSpec.specValueImg||this.goodsInfo.pic||this.goodsInfo.mainPicUrl},currSizeSpecList:function(){return this.currentSpec.sizeSpecList||[]}},watch:{currColorSpecs:function(t){this.initSpec(t)}},mounted:function(){this.initSpec(this.currColorSpecs)},methods:{selectSpec:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.currColorSpecId=t.specValueId,this.$emit("selectSpec",{spec:t,needLog:e})},initSpec:function(t){if(t.length){var e=t.find((function(t){return!t.soldOut}))||t[0];this.selectSpec(e,!1)}},clickGoods:function(t){this.$emit("clickGoods",t)}},render:l,staticRenderFns:d,_compiled:!0,_scopeId:"data-v-7637d30"}},17885:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(15263),a=n(93375),r=n(98014),s=n(16181),c=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"goods"},[n("tee-view",{staticClass:"goods__img",on:{click:t.clickGoods}},[n("tee-image",{staticClass:"goods__img-img",attrs:{src:t.mainPicUrl,mode:"aspectFill","lazy-load":""}}),t._v(" "),n("tee-text",{staticClass:"goods__img-text"},[t._v(t._s(t.goodsText))])],1),t._v(" "),n("tee-view",{staticClass:"goods__info"},[n("tee-text",{staticClass:"title"},[t._v(t._s(t.goodsInfo.title))]),t._v(" "),n("tee-text",{staticClass:"reason"},[t._v(t._s(t.goodsInfo.recommendReason))]),t._v(" "),t.price||t.originPrice?n("tee-view",{staticClass:"price"},[n("tee-text",{staticClass:"current"},[t._v("¥ "+t._s(t.price))]),t._v(" "),t.originPrice?n("tee-text",{staticClass:"origin"},[t._v(" ¥ "+t._s(t.originPrice)+" ")]):t._e()],1):t._e()],1)],1)},[]],u=(0,i.default)(c,2),l=u[0],d=u[1];e.default={name:"GoodsInfo",props:{goodsInfo:{type:Object,required:!0},mainPicUrl:{type:String,required:!0},goodsText:{type:String,default:"主商品"}},computed:{price:function(){var t=(this.goodsInfo||{}).priceStr,e=(0,s.getGoodsPriceInfo)(this.goodsInfo||{}).min;return t||(0,s.getPriceStr)(e)},originPrice:function(){var t=(this.goodsInfo||{}).originPriceStr,e=(0,s.getGoodsPriceInfo)(this.goodsInfo||{}).min,n=t||(0,s.getPriceStr)(e);if(n!==this.price)return n}},methods:{clickGoods:function(){this.$emit("clickGoods",this.goodsInfo)}},components:{"tee-view":r.default,"tee-text":a.default,"tee-image":o.default},render:l,staticRenderFns:d,_compiled:!0,_scopeId:"data-v-5db984d"}},49825:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(15263)),a=n(93375),r=n(98014),s=n(63247),c=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"specs"},[n("tee-view",{staticClass:"specs__title"},[t._v("颜色:")]),t._v(" "),n("tee-view",{staticClass:"specs__list"},t._l(t.colorSpecs,(function(e){return n("tee-view",{key:e.specValueId,class:["specs__item",t.currColorSpecId===e.specValueId?"active":""],on:{click:function(n){return t.selectSpec(e)}}},[n("tee-image",{staticClass:"specs__img",attrs:{src:e.specValueImg,mode:"aspectFill","lazy-load":""}}),t._v(" "),n("tee-text",{staticClass:"specs__text"},[t._v(t._s(e.specValueName))])],1)})),1),t._v(" "),t.currSizeSpecList.length?n("size-specs",{attrs:{"size-spec-list":t.currSizeSpecList}}):t._e()],1)},[]],u=(0,i.default)(c,2),l=u[0],d=u[1];e.default={name:"ColorSpecsSection",components:{SizeSpecs:s.default,"tee-view":r.default,"tee-text":a.default,"tee-image":o.default},props:{colorSpecs:{type:Array,required:!0},currColorSpecId:{type:Number},currSizeSpecList:{type:Array,required:!0}},methods:{selectSpec:function(t){this.$emit("selectSpec",t)}},render:l,staticRenderFns:d,_compiled:!0,_scopeId:"data-v-0d57444"}},24090:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(59230),n(15263)),a=n(87771),r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"option",attrs:{"open-type":t.openType,"hover-class":"none",id:"salesman"},on:{click:t.onClick}},[n("tee-image",{staticClass:"icon",attrs:{src:t.option.iconUrl,"lazy-load":""}}),t._v(" "),n("tee-native-text",{staticClass:"name"},[t._v(t._s(t.option.title))])],1)},[]],s=(0,i.default)(r,2),c=s[0],u=s[1];e.default={name:"IconOption",props:{option:{type:Object,default:function(){return{}}}},computed:{openType:function(){return["share","wecomShare"].indexOf(this.option.type)>-1?"share":""}},methods:{onClick:function(){this.$emit("iconClick",this.option)}},components:{"tee-native-text":a.default,"tee-image":o.default},render:c,staticRenderFns:u,_compiled:!0,_scopeId:"data-v-e63090f"}},98417:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(34642),n(2375),n(23815),n(47691),n(79575),n(15263)),a=n(98014),r=n(59777),s=n(85070),c=n(79610),u=n(16181),l=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("van-overlay",{attrs:{show:t.show,"z-index":1e3},on:{click:t.onClick}},[t.show&&t.guideList[t.step]&&"downward-guide"===t.guideList[t.step].component?n("tee-view",{staticClass:"guide-container",on:{click:function(e){return e.stopPropagation(),t.onClick(e)}}},[t.guideList[t.step]?n("tee-view",{staticClass:"guide-inner"},[n("tee-view",{staticClass:"content-wrapper",style:{bottom:t.guideList[t.step].bottom}},[n("tee-view",{staticClass:"content"},[t._v(t._s(t.guideList[t.step].content))]),t._v(" "),n("tee-view",{staticClass:"guide-button"},[t._v(t._s(t.step===t.guideList.length-1?"知道了":"下一步"))]),t._v(" "),n("tee-image",{staticClass:"guide-arrow",attrs:{src:t.assertMap[t.guideList[t.step].arrowType]}})],1)],1):t._e(),t._v(" "),n("tee-image",{staticClass:"guide-img",style:{width:t.guideList[t.step].imgStyle.width,height:t.guideList[t.step].imgStyle.height,left:t.guideList[t.step].imgStyle.left,bottom:"calc( "+t.guideList[t.step].imgStyle.bottom+" + env(safe-area-inset-bottom))"},attrs:{src:t.guideList[t.step].imgUrl}})],1):t._e(),t._v(" "),t.guideList[t.step]&&"upward-guide"===t.guideList[t.step].component?n("tee-view",{staticClass:"guide-container",on:{click:function(e){return e.stopPropagation(),t.onClick(e)}}},[n("tee-image",{staticClass:"guide-img",style:{width:t.guideList[t.step].imgStyle.width,height:t.guideList[t.step].imgStyle.height,left:t.guideList[t.step].imgStyle.left,bottom:"calc( "+t.guideList[t.step].imgStyle.bottom+" + env(safe-area-inset-bottom))"},attrs:{src:t.guideList[t.step].imgUrl}}),t._v(" "),t.guideList[t.step]?n("tee-view",{staticClass:"guide-inner"},[n("tee-view",{staticClass:"content-wrapper",style:{bottom:t.guideList[t.step].bottom}},[n("tee-image",{staticClass:"guide-arrow",attrs:{src:t.assertMap[t.guideList[t.step].arrowType]}}),t._v(" "),n("tee-view",{staticClass:"content"},[t._v(t._s(t.guideList[t.step].content))]),t._v(" "),n("tee-view",{staticClass:"guide-button"},[t._v(t._s(t.step===t.guideList.length-1?"知道了":"下一步"))])],1)],1):t._e()],1):t._e()],1)},[]],d=(0,i.default)(l,2),f=d[0],h=d[1];e.default={name:"NewBeginPop",components:{"van-overlay":r.default,"tee-view":a.default,"tee-image":o.default},props:{showGoodsDetail:Boolean,customOptionListConfig:{type:Object,default:function(){return{}}}},data:function(){return{guideList:[],step:0,assertMap:c.assertMap,show:!1}},methods:{handleCheck:function(t,e){var n=this;this.instance=e;var o=(0,u.getIconGroup)({shareData:e.shareData,goodsInfo:e.goodsInfo,scenes:e.scenes,runEnv:this.instance.runEnv,customOptionListConfig:this.customOptionListConfig,kdtId:this.instance.getKdtId(),buildEnv:this.instance.buildEnv});t=t||function(){},Promise.all([this.instance.getNewBeginGuide(),(0,s.getGuideConfig)({iconList:o,showGoodsDetail:this.showGoodsDetail,instance:this.instance})]).then((function(e){var o=(0,i.default)(e,2),a=o[0],r=o[1];a?t():(n.guideList=r,n.show=!0)})).catch(t)},onClick:function(){var t;this.step<this.guideList.length-1?this.step+=1:(null===(t=this.instance)||void 0===t||t.completeNewBeginGuide(),this.show=!1,this.step=0)}},render:f,staticRenderFns:h,_compiled:!0,_scopeId:"data-v-86d038d"}},63495:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(15263),a=n(98014),r=n(93201),s=n(46932),c=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("tee-view",{staticClass:"slpreview",on:{click:t.closePop}},[n("tee-view",{staticClass:"content"},[n("tee-image",{staticClass:"sp-img",attrs:{src:t.posterImg,mode:"widthFix"}}),t._v(" "),n("tee-view",{staticClass:"close-big"},[n("tee-view",{staticClass:"close"})],1),t._v(" "),n("tee-view",{staticClass:"sp-word"},[t._v(" 长按图片保存至相册 ")])],1)],1):t._e()},[]],u=(0,i.default)(c,2),l=u[0],d=u[1];e.default={name:"PosterPop",data:function(){return{show:!1,posterImg:""}},methods:{showPosterImg:function(t){t&&(this.posterImg=t,this.show=!0)},closePop:function(){this.show=!1,this.$emit("open-assistant")},onSave:function(){var t=this;s.default.loading("保存中"),(0,r.saveImageRemoteUrl)(this.posterImg).then((function(){s.default.clear(),(0,s.default)({type:"success",message:"保存成功",onClose:function(){return t.$emit("open-assistant")}})})).catch((function(t){s.default.clear(),s.default.fail((0,r.getErrorMessage)(t))}))}},components:{"tee-view":a.default,"tee-image":o.default},render:l,staticRenderFns:d,_compiled:!0,_scopeId:"data-v-a3cca81"}},86991:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(44472),n(2375),n(93375)),a=n(15263),r=n(27107),s=n(98014),c=n(669),u=n(23025),l=n(37115),d=n(81976),f=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",[n("van-popup",{attrs:{position:"bottom",show:t.show},on:{"click-overlay":t.handleClose}},[n("tee-view",{staticClass:"h5-cpns-style",on:{touchStart:function(t){t.stopPropagation()},touchEnd:function(t){t.stopPropagation()}}},[n("tee-view",{staticClass:"cube-tip"},[n("tee-view",{class:["cube-tip--main",t.imgList.length?"":"no-img"]},[n("tee-view",{staticClass:"cube-tip-status"},[t.materialData?n("tee-text",{staticClass:"cube-tip-status-item"},[n("van-icon",{attrs:{name:1===t.materialData.state?"passed":"close",color:1===t.materialData.state?"#969799":"#ee0a24"}}),t._v(" "),n("tee-text",{staticClass:"desc",style:{color:1===t.materialData.state?"#969799":"#ee0a24"}},[t._v(t._s(t.materialData.text))])],1):t._e(),t._v(" "),n("tee-text",{staticClass:"cube-tip-status-item"},[n("van-icon",{attrs:{name:1===t.copyData.state?"passed":"close",color:"#969799"}}),t._v(" "),n("tee-text",{staticClass:"desc"},[t._v(t._s(t.copyData.text))])],1)],1),t._v(" "),t.imgList.length?n("tee-view",[n("tee-view",{staticClass:"cube-tip-action-desc"},[t._v("依次长按以下图片保存到相册")]),t._v(" "),t.isMatchOrPromote?n("tee-view",{staticClass:"all-images"},[n("tee-view",{staticClass:"grid"},t._l(t.imgList,(function(e,i){return n("tee-view",{key:i+e,staticClass:"img-wrapper",on:{click:function(e){return t.preview(i)}}},[n("tee-image",{staticClass:"img",attrs:{mode:"aspectFill",src:e}})],1)})),1)],1):n("tee-scroll-view",{attrs:{"scroll-x":"",type:"list"}},[n("tee-view",{staticClass:"img-container"},t._l(t.imgList,(function(e,i){return n("tee-view",{key:e,staticClass:"cube-tip--main__container",on:{click:function(e){return t.preview(i)}}},[n("tee-image",{staticClass:"cube-tip--main__img",attrs:{mode:"aspectFill",src:e}})],1)})),1)],1)],1):t._e()],1),t._v(" "),n("tee-view",{staticClass:"cube-tip--btn",on:{click:t.handleClose}},[t._v(" 我知道了 ")])],1)],1)],1)],1)},[]],h=(0,i.default)(f,2),p=h[0],m=h[1];e.default={name:"PromoteTip",components:{"van-popup":c.default,"van-dialog":u.default,"van-icon":l.default,"tee-view":s.default,"tee-scroll-view":r.default,"tee-image":a.default,"tee-text":o.default},props:{isMatchOrPromote:Boolean},data:function(){return{show:!1,statusList:[],imgList:[]}},computed:{materialData:function(){return this.statusList.find((function(t){return"material"===t.type}))},copyData:function(){return this.statusList.find((function(t){return"copy"===t.type}))||{}}},methods:{handleCheck:function(t){var e=t.imgList,n=t.statusList;t.noCloseMain||this.$emit("close-main-frame"),this.statusList=n,this.imgList=e,this.show=!0},handleClose:function(){this.show=!1,this.$emit("open-assistant")},preview:function(t){(0,d.previewImage)({popClass:this.isMatchOrPromote?"cube-img-pop":"",urls:this.imgList,current:t})}},render:p,staticRenderFns:m,_compiled:!0,_scopeId:"data-v-82f951f"}},54839:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(15263),a=n(98014),r=n(669),s=n(93201),c=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("van-popup",{attrs:{show:t.show,"custom-style":"left: 0;right:0;top:0;bottom:0;background-color: transparent;transform: none;"}},[t.show?n("tee-view",{staticClass:"h5-cpns-style",on:{click:t.closeMask}},[n("tee-view",{staticClass:"cube-share-mask__ele-wrap"},[n("tee-view",{staticClass:"cube-share-mask__wechat"},[n("tee-view",{staticClass:"cube-share-mask__wechat-title"},[t._v(" 立即推广给好友吧 ")]),t._v(" "),n("tee-view",{staticClass:"cube-share-mask__wechat-desc"},[t._v("\n 点击屏幕右上角将本页面分享给好友\n ")]),t._v(" "),n("tee-view",{class:t.iconClass},[n("tee-image",{attrs:{src:"https://img01.yzcdn.cn/public_files/2017/08/30/0db0c59e46d67472ed92a4ced7c70903.png"}})],1)],1)],1)],1):t._e()],1)},[]],u=(0,i.default)(c,2),l=u[0],d=u[1];e.default={name:"ShareMask",components:{"van-popup":r.default,"tee-view":a.default,"tee-image":o.default},data:function(){return{show:!1,iconClass:"cube-share-mask__wechat-icon"}},methods:{handleCheck:function(){this.show=!0,(0,s.isInH5RunEnv)()||(this.iconClass="cube-share-mask__wechat-icon cube-share-mask__miniapp__wechat-icon")},closeMask:function(){this.show=!1}},render:l,staticRenderFns:d,_compiled:!0,_scopeId:"data-v-b9fbb2b"}},89908:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(15263),a=n(98014),r=n(669),s=n(87327),c=n(16181),u=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("van-popup",{attrs:{show:t.show,"custom-style":"background-color: transparent"},on:{"click-overlay":t.onClose}},[t.show?n("tee-view",{staticClass:"task-sign"},[n("tee-image",{staticClass:"banner",attrs:{src:"https://b.yzcdn.cn/image/salesman/task-banner.png"}}),t._v(" "),n("tee-view",{staticClass:"text"},[t._v("\n "+t._s(t.taxSignText)+"\n ")]),t._v(" "),n("tee-view",{staticClass:"btn",on:{click:t.onCert}},[t._v(" 立即签约 ")]),t._v(" "),n("tee-view",{staticClass:"next",on:{click:t.onClose}},[t._v(" 下次再说 ")])],1):t._e()],1)},[]],l=(0,i.default)(u,2),d=l[0],f=l[1];e.default={name:"TaxSignPop",components:{"van-popup":r.default,"tee-view":a.default,"tee-image":o.default},data:function(){return{show:!1,taxSignText:""}},methods:{handleCheck:function(t,e){var n=this;if(t=t||function(){},e.shareData.isShoppingGuide)return t();e.getTaxSignInfo().then((function(e){var i=(0,c.getTaxSignText)(e);if(!i)return t();n.taxSignText=i,n.show=!0,n.onClose=function(){n.show=!1,t()}})).catch(t)},onCert:function(){var t;t=location.href;var e="https://h5.youzan.com/wscassets/cert/tax/contract?fromId=12&returnUrl=".concat(encodeURIComponent(t));this.show=!1,(0,s.goH5)(e)}},render:d,staticRenderFns:f,_compiled:!0,_scopeId:"data-v-7aeceac"}},86019:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=[function(){var t=this.$createElement;return(this._self._c||t)("tee-view")},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0}},28918:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=[function(){var t=this.$createElement;return(this._self._c||t)("tee-view")},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0}},52030:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=[function(){var t=this.$createElement;return(this._self._c||t)("tee-view")},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0}},97832:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=[function(){var t=this.$createElement;return(this._self._c||t)("tee-view")},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0}},33847:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=[function(){var t=this.$createElement;return(this._self._c||t)("tee-view")},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0}},33262:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(11729),n(2375),n(93375)),a=n(98014),r=n(37115),s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hide?t._e():n("tee-view",{staticClass:"cube-header"},[n("tee-view",{staticClass:"panel-close"},[n("van-icon",{attrs:{name:"close",size:"16"},on:{click:t.handleCloseMainFrame}})],1),t._v(" "),n("tee-view",{staticClass:"cube-header__title"},[t.shareMoneyRange.length?n("tee-view",{staticClass:"panel-title"},[t._v("\n "+t._s(t.hireFeeFinalTextInfo.text)+"\n "),t.hasHireFeeRange?n("tee-text",{staticClass:"panel-title__money"},[t._v("\n "+t._s(t.hireFeeFinalTextInfo.commission)+"\n ")]):t._e()],1):n("tee-view",{staticClass:"panel-title"},[t._v("\n "+t._s(t.shareMoney>0?"分享后预计可赚":"立即分享给好友")+"\n "),t.shareMoney>0?n("tee-text",{staticClass:"panel-title__money"},[t._v("¥"+t._s(t.shareMoney))]):t._e()],1),t._v(" "),t.shareMoney>0||t.hasHireFeeRange?n("tee-view",{staticClass:"panel-desc"},[t._v("\n 佣金可在“"+t._s(t.shareData.salesmanName||"分销员")+"中心”里查看\n ")]):t._e()],1)],1)},[]],c=(0,i.default)(s,2),u=c[0],l=c[1];e.default={components:{"van-icon":r.default,"tee-view":a.default,"tee-text":o.default},props:{shareData:{type:Object,default:function(){return{}}},shareMoneyInfo:{type:Object,default:function(){return{}}},shareMoney:Number,cloudShareMoneyInfo:{type:Object,default:function(){return{}}},hide:Boolean},computed:{shareMoneyRange:function(){return this.shareMoneyInfo.shareMoneyRange},maxCommissionStr:function(){return this.shareMoneyInfo.maxCommissionStr},hasHireFeeRange:function(){return!this.shareMoneyRange.every((function(t){return 0==+t}))&&this.shareMoneyRange.length&&this.maxCommissionStr},hireFeeStandardTextInfo:function(){return 2===this.shareMoneyRange.length?{text:"分享后预计可赚 ",commission:this.shareMoneyInfo.commissionRangeStr}:{text:"分享后预计最高赚 ",commission:this.maxCommissionStr}},hireFeeFinalTextInfo:function(){var t=this.hasHireFeeRange?this.hireFeeStandardTextInfo.text:"立即分享给好友";return{text:this.cloudShareMoneyInfo.profitDesc||t,commission:this.cloudShareMoneyInfo.profitText||this.hireFeeStandardTextInfo.commission}}},methods:{handleCloseMainFrame:function(){this.$emit("close-main-frame")}},render:u,staticRenderFns:l,_compiled:!0,_scopeId:"data-v-448c7c3"}},14949:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(10357),n(55750),n(2375),n(77109),n(42345),n(63413)),a=n(98014),r=n(2538),s=n(14765),c=n(26116),u=n(47825),l=n(93201),d=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{class:{"cube-tab_container":!0,"cube-tab_only-one":t.salesmanPopupTabs.length<=1}},[t.show&&(t.aiGoodsMatch||t.aiGoodsPromote)?n("match-and-promote",{attrs:{"kdt-id":t.kdtId,"has-auth":t.hasAuth,"hq-kdt-id":t.hqKdtId,"is-share-style-outer":t.isShareStyle,"share-time":t.shareTime,"instance-id":t.instanceId,"goods-info":t.goodsInfo,"short-promote-url":t.shortPromoteUrl,"short-link-promote-url":t.shortLinkPromoteUrl,"share-money":t.shareMoney,"match-list":t.matchList,"ai-goods-match":t.aiGoodsMatch,"ai-goods-promote":t.aiGoodsPromote,"has-weapp":t.hasWeapp,"share-data":t.shareData,"is-wx-share-img":t.isWxShareImg,"share-info":t.shareInfo,"goods-poster-info":t.goodsPosterInfo,"primary-goods-data":t.primaryGoodsData,"select-match-mode":t.selectMatchMode,"goods-spec-data":t.goodsSpecData,"is-single-goods-spec":t.isSingleGoodsSpec,"pure-select-match-mode":t.pureSelectMatchMode,"is-guide-promote-goods":t.isGuidePromoteGoods},on:{"update-auth":t.updateAuth,"close-main-frame":t.closeMainFrame,"show-poster-pop":t.showPosterPop,"show-promote-tip":t.handlePromoteTip,changeShareType:t.changeShareType,changeMatchLink:t.changeMatchLink,jumpMomentsMaterial:t.jumpMomentsMaterial}}):n("van-tabs",{attrs:{active:t.activeTab,color:"var(--general)",pid:t.pid,"line-width":"24","wrap-class":"cube-tab-wrap_"+t.salesmanPopupTabs.length},on:{change:t.onChange}},t._l(t.salesmanPopupTabs,(function(e,i){return n("van-tab",{key:e.type+"_"+e.name,attrs:{pid:t.pid,title:e.name,name:e.type}},["promote"===e.type?n("cube-tab-promote",{attrs:{"short-promote-url":t.shortPromoteUrl,"short-link-promote-url":t.shortLinkPromoteUrl,"smart-text-data":t.smartTextData,"goods-info":t.goodsInfo,"shop-rights":t.shopRights,"share-data":t.shareData,"share-material":t.shareMaterial,"kdt-id":t.kdtId,"is-guide":t.isGuide,"instance-id":t.instanceId},on:{"show-promote-tip":t.handlePromoteTip}}):"poster"===e.type?n("cube-tab-poster",{attrs:{"poster-img-arr":t.posterImgArr,"poster-index":t.posterIndex,"has-auth":t.hasAuth,"kdt-id":t.kdtId,"goods-info":t.goodsInfo,"is-guide":t.isGuide,"is-wx-share-img":t.isWxShareImg,"instance-id":t.instanceId,"has-salesman-advance-ability":t.hasSalesmanAdvanceAbility},on:{"get-poster":t.getPoster,"all-re-gen-poster":t.allReGenPoster,"re-gen-poster":t.genPoster,"get-poster-params":t.getPosterParams,"on-swiper-change":t.onSwiperChange,"update-auth":t.updateAuth,"try-open-assistant":t.handleOpenAssistant}}):n("cloud-salesman-share-popup-custom-tab-content",{attrs:{"cloud-index":i,"cloud-tab-type":e.type}})],1)})),1)],1)},[]],f=(0,i.default)(d,2),h=f[0],p=f[1];e.default={components:{"van-tabs":s.default,"van-tab":c.default,"tee-view":a.default},props:{hqKdtId:Number,shareInfo:Object,goodsInfo:Object,goodsPosterInfo:Object,shopRights:Object,shareData:Object,shareMaterial:Object,smartTextData:Object,shortPromoteUrl:String,shortLinkPromoteUrl:String,kdtId:[Number,String],isShareStyle:Boolean,show:Boolean,salesmanPopupTabs:Array,instanceId:String,isWxShareImg:Boolean,hasAuth:Boolean,isGuide:Boolean,hasWeapp:Boolean,aiGoodsMatch:Boolean,aiGoodsPromote:Boolean,matchList:Array,shareMoney:Number,shareTime:Number,hasSalesmanAdvanceAbility:Boolean,primaryGoodsData:Object,selectMatchMode:Boolean,pureSelectMatchMode:Boolean,goodsSpecData:Object,isSingleGoodsSpec:Boolean,isGuidePromoteGoods:Boolean},data:function(){return{dcPs:"",pid:String(Math.random()),activeTab:this.salesmanPopupTabs[0].type,posterIndex:0,posterImgArr:[],reGenPosterParams:{}}},watch:{show:function(t){this.isShareStyle&&(t&&this.hasAuth&&"poster"===this.activeTab?this.getPoster():t||(this.posterImgArr=[],this.posterIndex=0))}},mounted:function(){this.instance=this.ctx.instance[this.instanceId],this.$emit("tab-change",this.salesmanPopupTabs[0].type);var t=this.ctx.logger.getLogParams();this.dcPs=(0,r.default)(t,"context.dc_ps","")},methods:{changeMatchLink:function(t){this.$emit("changeMatchLink",t)},changeShareType:function(t){this.$emit("changeShareType",t)},showPosterPop:function(t){this.$emit("show-poster-pop",t)},closeMainFrame:function(){this.$emit("close-main-frame")},handlePromoteTip:function(t){this.$emit("promote-tip",t)},handleOpenAssistant:function(){this.$emit("open-assistant")},jumpMomentsMaterial:function(t){this.$emit("jumpMomentsMaterial",t)},onChange:function(t){t.name!==this.activeTab&&(this.$emit("tab-change",t.name),this.activeTab=t.name,"poster"===t.name&&this.hasAuth&&this.getPoster())},onSwiperChange:function(t){this.posterIndex=t},getPosterParams:function(t){var e=this.instance.getGoodsPosterParams({scene:(0,o.default)({dcPs:this.dcPs},{}),params:(0,o.default)({isSupportHideUserInfo:!0},{})});if("function"!=typeof t)return e;t.bind(this)(e)},updateTargetPoster:function(t,e){this.posterImgArr=this.posterImgArr.map((function(n,i){return i===e?t:n}))},allReGenPoster:function(t){var e=t.posterModel,n=void 0===e?"single":e;if(this.reGenPosterParams=(0,o.default)((0,o.default)({},t),{},{isHideUser:t.isHideUser?1:0}),"single"===n)this.posterImgArr=[],this.getPoster();else{var i=(this.goodsPosterInfo||{}).posterItemModel,a=(void 0===i?{}:i).pictures,r=(void 0===a?[{}]:a)[0];this.posterImgArr=[{mode:(0,l.getImageMode)(r),image:r.url,loading:!0,error:void 0}],this.genPoster(0)}},genPoster:function(t){var e=this,n=this.posterImgArr[t];n.loading=!0,this.getSinglePoster(1,t).then((function(i){i?e.updateTargetPoster((0,o.default)((0,o.default)({},n),{},{image:i,mode:(0,l.getImageMode)(n),loading:!1,error:void 0}),t):e.updateTargetPoster((0,o.default)((0,o.default)({},n),{},{loading:!1,error:!0}),t)})).catch((function(i){e.updateTargetPoster((0,o.default)((0,o.default)({},n),{},{loading:!1,error:i}),t)}))},getPoster:function(){var t=this,e=(this.goodsPosterInfo||{}).posterItemModel,n=(void 0===e?{}:e).pictures,i=void 0===n?[{}]:n;this.posterImgArr.length?this.posterImgArr.forEach((function(e,n){!e.loading&&e.error&&t.genPoster(n)})):(this.posterImgArr=i.map((function(t){return{mode:(0,l.getImageMode)(t),image:t.url,loading:!0,error:void 0}})),i.forEach((function(e,n){t.genPoster(n)})))},getSinglePoster:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(0,o.default)({isSupportHideUserInfo:!0,goodsImgIndex:n},{});return this.isGuide||Object.assign(i,(0,o.default)({isHideUser:0},this.reGenPosterParams)),this.instance.getGoodsPoster({scene:(0,o.default)({dcPs:this.dcPs},{}),params:i}).then((function(e){return t.instance.handleLog(u.SHARE_LOGGER_CONFIG.poster,{sl:t.shareData.seller,posterType:"goodsPoster",res:e.imgUrl}),e.imgUrl})).catch((function(){e>=1&&setTimeout((function(){t.getSinglePoster(--e,n)}),1e3)}))},updateAuth:function(){this.$emit("handle-update-auth")}},render:h,staticRenderFns:p,_compiled:!0}},6553:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(93375)),a=n(15263),r=n(43152),s=n(25394),c=n(98014),u=n(27107),l=n(76465),d=n(79780),f=(n(46932),n(5278)),h=(n(47825),n(93201),n(97220),n(47019),n(81976)),p=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-scroll-view",{class:["cube-tab-poster",t.isShowModelTab?"cube-tab-poster__model-tab":"",t.isGuidePromote?"cube-tab-poster__guide":""],attrs:{"scroll-y":"",type:"list"}},[t.hasAuth?n("tee-view",{staticClass:"poster-box"},[n("tee-view",{staticClass:"poster-banner"},[t.isShowModelTab?n("tee-view",{staticClass:"poster-model"},t._l(t.posterModelList,(function(e){return n("tee-view",{key:e.value,class:["poster-model__item",t.activePosterModel===e.value?"poster-model__item-active":""],on:{click:function(n){return t.handleChangePosterModel(e.value)}}},[t._v("\n "+t._s(e.text)+"\n ")])})),1):t._e(),t._v(" "),n("tee-view",{staticClass:"poster-save-tip"},[n("tee-image",{staticClass:"poster-save-tip__icon",attrs:{src:"https://img01.yzcdn.cn/upload_files/2024/03/05/FlE_slE4xVFSUXzRoIDKHG0yjatp.png"}}),t._v(" "),n("tee-text",[t._v("长按海报保存到相册")])],1),t._v(" "),t.posterImgArr.length?n("tee-swipe",{staticClass:"poster-banner-swipe",style:"width:100%",attrs:{"indicator-color":"#999999","show-indicators":t.showIndicator,loop:!1,pid:t.pid},on:{change:t.onSwipeChange}},t._l(t.posterImgArr,(function(e,i){return n("tee-swipe-item",{key:e.image+i,attrs:{pid:t.pid,"custom-style":{width:"100vw"}}},[n("tee-view",{class:["swipe-poster-item",t.posterIndex!==i&&t.isSinglePoster?"":" active"]},[n("tee-view",{staticClass:"poster-img-container"},[n("tee-image",{staticClass:"poster-img",attrs:{src:e.image,mode:e.mode}}),t._v(" "),e.loading||e.error?n("tee-view",{staticClass:"poster-loading"},[e.loading?n("van-loading",{attrs:{type:"img",size:"24px",color:"#fff",vertical:""}},[n("tee-view",{staticStyle:{color:"#fff"}},[t._v("海报生成中")])],1):e.error?n("tee-view",{staticClass:"poster-img__err",on:{click:function(e){return t.reGenPoster(i)}}},[t._v("\n 海报生成失败,点击重试\n ")]):t._e()],1):t._e()],1)],1)],1)})),1):t._e()],1),t._v(" "),t.isShowHideUser?n("tee-view",{staticClass:"poster-hide-user"},[n("van-checkbox",{attrs:{value:t.isHideUser,"custom-class":"poster-hide-user__checkbox","icon-size":"18px","checked-color":"var(--main-bg, #323233)"},on:{change:t.handleChangeHideUser}},[t._v("\n 隐藏我的头像、昵称\n ")])],1):t._e()],1):n("user-authorize",{attrs:{"kdt-id":t.kdtId,type:"separate","auth-type-list":["nicknameAndAvatar"]},on:{next:t.handleAuthorize}},[n("tee-view",{staticClass:"poster-authorize"},[n("tee-view",[t._v("生成海报需要使用微信头像昵称")]),t._v(" "),n("tee-view",[t._v("授权后可保存海报")]),t._v(" "),n("van-button",{attrs:{"custom-class":"poster-authorize__btn",plain:"",round:"",size:"small"}},[t._v("点击授权")])],1)],1)],1)},[]],m=(0,i.default)(p,2),g=m[0],v=m[1],b="https://b.yzcdn.cn/salesman/salesman/cube";e.default={name:"CubeTabPoster",components:{"van-loading":l.default,"van-button":d.default,"van-checkbox":f.default,"tee-scroll-view":u.default,"tee-view":c.default,"tee-swipe":s.default,"tee-swipe-item":r.default,"tee-image":a.default,"tee-text":o.default},props:{isGuidePromote:Boolean,posterIndex:Number,posterImgArr:Array,hasAuth:Boolean,kdtId:[Number,String],isWxShareImg:Boolean,instanceId:String,goodsInfo:{type:Object,default:function(){return{}}},isGuide:Boolean,hasSalesmanAdvanceAbility:Boolean},data:function(){return{imgMode:"heightFix",pid:"salesman-cube-poster-".concat(10*Math.random()),posterModelList:[{value:"single",text:"单图海报"},{value:"multiple",text:"多图海报"}],shareBottom:[{text:"微信好友",icon:"".concat(b,"/share.png")},{text:"保存海报",icon:"".concat(b,"/NdzsNJ.png")}],activePosterModel:"single",isHideUser:!1}},computed:{isShowHideUser:function(){return!this.isGuide&&this.hasSalesmanAdvanceAbility},isShowModelTab:function(){var t=(this.goodsInfo||{}).pictures;return(void 0===t?[]:t).length>=4&&this.isShowHideUser},isSinglePoster:function(){return"single"===this.activePosterModel},showIndicator:function(){return this.posterImgArr.length>1}},mounted:function(){this.instance=this.ctx.instance[this.instanceId];(0,h.getSystemInfoSync)().windowWidth},methods:{handleChangeHideUser:function(t){this.isHideUser=t,this.$emit("all-re-gen-poster",{posterModel:this.activePosterModel,isHideUser:t})},handleChangePosterModel:function(t){this.activePosterModel!==t&&(this.activePosterModel=t,this.$emit("all-re-gen-poster",{posterModel:t,isHideUser:this.isHideUser}))},onSwipeChange:function(t){var e=t.detail.current;this.$emit("on-swiper-change",e)},reGenPoster:function(t){this.$emit("re-gen-poster",t)},handleAuthorize:function(){this.$emit("update-auth"),this.$emit("get-poster")}},render:g,staticRenderFns:v,_compiled:!0}},25908:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(10822),n(87675),n(10357),n(42345),n(62719),n(34642),n(2375),n(23815),n(47691),n(79575),n(60291),n(63413)),a=n(87771),r=n(93375),s=n(7202),c=n(15263),u=n(27107),l=n(98014),d=n(37115),f=n(79780),h=n(81976),p=n(47825),m=n(16181),g=n(56487),v=n.n(g),b=n(93201),y=n(48689),_=n(46932),w=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"cube-tab__promote"},[n("tee-scroll-view",{staticClass:"promote-scroll",attrs:{"scroll-y":"",type:"list"}},[n("tee-view",{staticClass:"cube-tab__text"},[n("tee-native-text",[t._v(" "+t._s(t.promoteText)+" "+t._s(t.shortLinkPromoteUrl||t.shortPromoteUrl)+" ")])],1),t._v(" "),n("tee-view",{staticClass:"promote"},[n("tee-scroll-view",{staticClass:"promote__scroll",attrs:{type:"list","scroll-x":""},on:{scroll:t.onScrollComputedWidth}},[n("tee-view",{staticClass:"promote__wrapper"},t._l(t.imgList,(function(e,i){return n("tee-view",{key:e,staticClass:"promote__list",on:{click:function(e){return t.handlePreview(i)}}},[n("tee-image",{staticClass:"promote__img",attrs:{mode:"aspectFill",src:e,"lazy-load":""}})],1)})),1)],1)],1),t._v(" "),t.imgList.length>3?n("tee-view",{staticClass:"range"},[n("tee-view",{staticClass:"range__after",style:t.rangeStyle})],1):t._e(),t._v(" "),n("tee-view",{class:t.showPublish&&t.hasPersonalSpaceAbility?"cube-bar":"cube-bar cube-bar-right"},[t.showPublish&&t.hasPersonalSpaceAbility?n("van-icon",{attrs:{name:"checked",size:"14",color:t.publishIconColor},on:{click:t.changePublishState}}):t._e(),t._v(" "),t.showPublish&&t.hasPersonalSpaceAbility?n("tee-text",{staticClass:"span"},[t._v("同步分享到空间动态")]):t._e(),t._v(" "),n("van-button",{attrs:{size:"small",round:"",color:"var(--general)"},on:{click:t.publish}},[n("tee-view",{staticClass:"cube-bar-btn"},[n("van-icon",{staticClass:"button-icon",attrs:{name:"//b.yzcdn.cn/salesman/cube/saveicon.png",size:"14px"}}),t._v(" "),n("tee-text",{staticClass:"span"},[t._v("保存图文")])],1)],1)],1),t._v(" "),t.isShowMaterial?n("tee-view",{staticClass:"mtl"},[n("tee-view",{staticClass:"mtl__tlt"},[t._v("精选素材")]),t._v(" "),n("tee-view",{staticClass:"mtl__content"},[n("tee-view",{staticClass:"mtl__content-tlt"},[n("tee-view",{staticClass:"mtl__content-tlt-left"},[t._v(t._s(t.material.name))]),t._v(" "),n("tee-view",{staticClass:"mtl__content-tlt-right",on:{click:function(e){return t.publish("material")}}},[n("van-icon",{attrs:{name:"share"}}),t._v(" "),n("tee-text",[t._v("分享素材")])],1)],1),t._v(" "),n("tee-view",{staticClass:"mtl__content-sub-tlt"},[t._v(t._s(t.material.textContent))]),t._v(" "),n("tee-view",{staticClass:"mtl__content-imgs"},[t.isMaterialVideo?n("tee-video",{staticClass:"mtl__video",attrs:{src:t.material.videoUrl,showCenterPlayBtn:"","show-mute-btn":"","enable-progress-gesture":!1}}):t._e(),t._v(" "),t.isShowMaterialImgs?n("tee-view",{staticClass:"mtl__imgs"},t._l(t.material.imgs,(function(e,i){return n("tee-view",{key:i,staticClass:"mtl__imgs-item",on:{click:function(e){return t.handlePreview(i,"material")}}},[n("tee-image",{staticClass:"mtl__imgs-item-img",attrs:{mode:"aspectFill",src:e,"lazy-load":""}})],1)})),1):t._e()],1),t._v(" "),n("tee-view",{staticClass:"mtl__content-share-data"},[t._v("分享:"+t._s(t.material.usedNum))])],1)],1):t._e()],1)],1)},[]],x=(0,i.default)(w,2),S=x[0],k=x[1],I=(0,h.getSystemInfoSync)().windowWidth;e.default={name:"CubeTabPromote",components:{"van-icon":d.default,"van-button":f.default,"tee-view":l.default,"tee-scroll-view":u.default,"tee-image":c.default,"tee-video":s.default,"tee-text":r.default,"tee-native-text":a.default},props:{goodsInfo:{type:Object,default:function(){return{}}},shopRights:{type:Object,default:function(){return{}}},shareData:{type:Object,default:function(){return{}}},shareMaterial:{type:Object,default:function(){return{}}},smartTextData:{type:Object,default:function(){return{}}},shortPromoteUrl:String,shortLinkPromoteUrl:String,kdtId:[Number,String],instanceId:String,isGuide:Boolean},data:function(){return{ifPublish:!0,rangeStyle:"",hasPersonalSpaceAbility:!1,material:{},isSaveMaterial:!1}},computed:{promoteText:function(){var t=this.smartTextData.cloudSalesPriceDesc;if(t){var e=(0,m.getPromoteTextPrefix)(this.goodsInfo,this.smartTextData);return e.endsWith("\n")?"".concat(e).concat(t):"".concat(e,"\n").concat(t)}return(0,m.getPromoteText)(this.goodsInfo,this.smartTextData)},publishIconColor:function(){return this.ifPublish?"var(--general)":"#ccc"},originImgList:function(){var t,e;return(null===(t=this.goodsInfo)||void 0===t||null===(e=t.pictures)||void 0===e?void 0:e.map((function(t){return t.url||t})))||[]},imgList:function(){return this.originImgList.map((function(t){return v()(t,"large")}))},showPublish:function(){return!!this.shopRights.allowMoments},instance:function(){return this.ctx.instance[this.instanceId]},isMaterialVideo:function(){return 1===this.material.materialType},isShowMaterialImgs:function(){return this.material.imgs&&this.material.imgs.length>0},isShowMaterial:function(){return!!this.material.name&&!this.isGuide}},watch:{shopRights:{handler:function(t){t&&t.allowMoments?this.ifPublish=!0:this.ifPublish=!1},immediate:!0},kdtId:{handler:function(t){var e=this;t&&this.instance&&this.instance.getShopAbility(t,"salesman_advance_personal_space_ability").then((function(t){e.hasPersonalSpaceAbility=t}))},immediate:!0},shareMaterial:{handler:function(t){var e=t||{},n=e.materialType,i=e.videoMaterialDTO,o=e.imageMaterialDTOs,a=e.kdtId,r=e.name,s=e.textContent,c=e.shortUrl,u=e.usedNum,l=e.id,d={},f=(i||{}).videoUrl;Object.assign(d,{name:r,materialType:n,textContent:s,kdtId:a,shortUrl:c,usedNum:u,id:l,videoUrl:f,imgs:(o||[]).map((function(t){return t.url}))}),this.material=d},immediate:!0}},created:function(){this.instance=this.ctx.instance[this.instanceId]},methods:{changePublishState:function(){this.ifPublish=!this.ifPublish},publish:function(){var t,e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"goods",i={};null!==(t=this.smartTextData)&&void 0!==t&&t.promoteText&&(i.content="aiwriting"),this.instance.handleLog(p.SHARE_LOGGER_CONFIG.savepictures,i);var a={copy:0,image:1},r="material"===n,s=this.shortLinkPromoteUrl||this.shortPromoteUrl,c=this.promoteText+s,u=this.originImgList||[];if(r){var l=this.material||{},d=l.name,f=l.imgs,g=void 0===f?[]:f,v=l.kdtId,w=l.id,x=l.textContent;c="".concat(x||d,"\n").concat(s),u=g,(0,y.logger)({et:"click",ei:"click_save_story",en:"点击保存到本地",si:v,params:{materialId:w,short_url:s}})}_.default.loading("保存中");var S=[this.publishMaterial().catch((function(){})),(0,h.setClipboardData)(c).then((function(){return{copy:1}})).catch((function(){})),(0,b.batchSaveImageRemoteUrl)(u).then((function(){return{image:1}})).catch((function(){return{image:0}}))];r&&S.splice(0,1),Promise.all(S).then((function(t){var n=(0,o.default)((0,o.default)((0,o.default)((0,o.default)({},a),t[0]),t[1]),t[2]);e.$emit("show-promote-tip",{statusList:(0,m.getTipsData)(n),imgList:r?u:e.imgList}),setTimeout(_.default.clear.bind(_.default),50)}))},publishMaterial:function(){return this.ifPublish&&this.hasPersonalSpaceAbility?this.instance.publishMaterial({imageList:this.imgList.slice(0,9),recommendInfo:escape(this.promoteText),goods:(0,m.getCurrentMaterialItem)(this.goodsInfo)}):Promise.resolve({})},handlePreview:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"goods",n=this.imgList;return"material"===e&&(n=this.material.imgs||[]),(0,h.previewImage)({urls:n,current:t})},onScrollComputedWidth:function(t){var e=t.detail.scrollLeft/(108*this.imgList.length-I+32);this.rangeStyle="left: ".concat(28*e,"px;")}},render:S,staticRenderFns:k,_compiled:!0,_scopeId:"data-v-c8a4de3"}},53511:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(83812),n(44472),n(2375),n(63413)),a=n(27107),r=n(98014),s=n(36072),c=n(6005),u=n(43411),l=n(78942),d=n(4414),f=n(37115),h=n(18037),p=n(16181),m=n(47825),g=n(93201),v=n(97220),b=n.n(v),y=n(47019),_=n.n(y),w=n(43737),x=n.n(w),S=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{class:["ai-promote",t.showPoster?"ai-promote-poster":""]},[t.showMain||t.showMatch?n("tee-view",[n("panel-header",{attrs:{"custom-class":"header",title:t.showPoster?"保存商品海报":""},on:{onClose:t.closeMainFrame}},[t.showBackHeader?n("tee-view",{staticClass:"back-btn",attrs:{slot:"btn"},on:{click:t.toMain},slot:"btn"},[n("van-icon",{attrs:{name:"arrow-left"}}),t._v(" 返回\n ")],1):t._e()],1),t._v(" "),n("tee-scroll-view",{staticClass:"content-block",attrs:{type:"list","show-scrollbar":!1,"scroll-y":""}},[!t.showPoster&&t.showMain&&t.aiGoodsMatch?n("match-block",{attrs:{"main-pic":t.mainPic,"match-list":t.matchList},on:{changeMatch:t.changeMatch,itemClick:t.itemClick,clickManual:function(e){return t.clickManual(!0)}}}):t._e(),t._v(" "),t.showMain&&t.mainText&&t.mainLink?n("share-block",{key:"single",attrs:{"kdt-id":t.kdtId,"hq-kdt-id":t.hqKdtId,"is-share-style":t.isShareStyle,"instance-id":t.instanceId,"goods-info":t.goodsData,"share-money":t.shareMoney,"main-text":t.mainText,"main-link":t.mainLink,"share-data":t.shareData,"share-time":t.shareTime,"has-weapp":t.hasWeapp,"is-wx-share-img":t.isWxShareImg,"show-poster":t.showSinglePoster,"has-auth":t.hasAuth,"goods-poster-info":t.goodsPosterInfo,"select-spec-info":t.selectSpecInfo},on:{"update-auth":t.updateAuth,onShowPoster:t.onShowPoster,"show-promote-tip":t.showPromoteTip,"close-main-frame":t.closeMainFrame,"show-poster-pop":t.showPosterPop}}):t._e(),t._v(" "),t.showMatch?n("share-block",{key:"match",attrs:{"is-match":!0,"match-alias":t.matchAlias,"match-list":t.matchList,"select-spec-info":t.selectSpecInfo,"kdt-id":t.kdtId,"hq-kdt-id":t.hqKdtId,"is-share-style":t.isShareStyle,"instance-id":t.instanceId,"goods-info":t.goodsData,"share-data":t.shareData,"share-time":t.shareTime,"has-weapp":t.hasWeapp,"is-wx-share-img":t.isWxShareImg,"main-pic":t.mainPic,"show-poster":t.showMatchPoster,"has-auth":t.hasAuth,"s-path":t.sPath,"goods-poster-info":t.goodsPosterInfo},on:{"update-auth":t.updateAuth,onShowPoster:t.onShowPoster,"show-promote-tip":t.showPromoteTip,"close-main-frame":t.closeMainFrame,"show-poster-pop":t.showPosterPop,changeMatchLink:t.changeMatchLink}}):t._e()],1)],1):t._e(),t._v(" "),t.showMatchList?n("tee-view",[n("panel-header",{attrs:{title:"换搭配"},on:{onClose:t.toMain}}),t._v(" "),n("match-list",{attrs:{"goods-info":t.goodsInfo,"match-list":t.matchList},on:{itemClick:t.itemClick,clickManual:t.clickManual}})],1):t._e(),t._v(" "),t.showSpecSelect?n("tee-view",[n("select-spec-block",{attrs:{"goods-spec-data":t.currentGoodsSpecData,"primary-goods-info":t.primaryGoodsInfo,"match-goods-info":t.matchGoodsInfo,"select-match-mode":t.selectMatchMode,"hq-kdt-id":t.hqKdtId},on:{changeColorLog:t.changeColorLog,clickGoods:t.clickGoods,clickBack:t.toMain,close:t.closeMainFrame,create:t.handleCreateMaterial}})],1):t._e()],1)},[]],k=(0,i.default)(S,2),I=k[0],T=k[1];e.default={name:"MatchAndPromote",components:{"van-icon":f.default,MatchBlock:s.default,MatchList:c.default,ShareBlock:l.default,PanelHeader:u.default,SelectSpecBlock:d.default,"tee-view":r.default,"tee-scroll-view":a.default},props:{kdtId:[String,Number],isShareStyleOuter:Boolean,instanceId:String,aiGoodsMatch:Boolean,aiGoodsPromote:Boolean,goodsInfo:Object,shareMoney:Number,shortPromoteUrl:String,shortLinkPromoteUrl:String,matchList:Array,hasWeapp:Boolean,shareData:Object,shareTime:Number,isWxShareImg:Boolean,shareInfo:Object,hqKdtId:Number,hasAuth:Boolean,goodsPosterInfo:Object,selectMatchMode:Boolean,pureSelectMatchMode:Boolean,primaryGoodsData:Object,goodsSpecData:Object,isSingleGoodsSpec:Boolean,isGuidePromoteGoods:Boolean},data:function(){return{showSinglePoster:!1,showMatchPoster:!1,showMain:!0,showMatchList:!1,showMatch:!1,matchAlias:"",primaryPosters:{},isShareStyle:this.isShareStyleOuter,sPath:"",showSpecSelect:!1,primaryGoodsInfo:{},matchGoodsInfo:{},selectSpecInfo:{},currentGoodsSpecData:{},isSingleSpecMode:this.isSingleGoodsSpec}},computed:{showPoster:function(){return this.showSinglePoster||this.showMatchPoster},safeGoodsInfo:function(){return this.goodsInfo||{}},mainLink:function(){return this.shortLinkPromoteUrl||this.shortPromoteUrl},mainText:function(){return(0,p.getPromoteText)(this.goodsInfo)+this.mainLink},mainPic:function(){return this.safeGoodsInfo.picture||h.GOODS_IMG},goodsData:function(){return this.selectMatchMode?this.primaryGoodsInfo:this.goodsInfo},isBackToSpecSelect:function(){return!this.isSingleSpecMode&&this.showMatch&&!this.showPoster&&!this.showMatchList},showBackHeader:function(){return this.selectMatchMode?!this.isSingleSpecMode:this.showMatch||this.showPoster}},watch:{shareInfo:function(t,e){/\/wscgoods\/match/.test(t.path)&&!/\/wscgoods\/match/.test(e.path)&&(this.sPath=e.path)},isShareStyleOuter:function(t){!this.isShareStyle&&t&&(this.isShareStyle=t)},isSingleGoodsSpec:function(t){this.isSingleSpecMode=t}},created:function(){this.instance=this.ctx.instance[this.instanceId],this.setFrame(),this.setFooter(!0),this.setSPath()},mounted:function(){var t=this;if(this.$emit("changeShareType",h.SINGLE),this.selectMatchMode){this.primaryGoodsInfo=this.primaryGoodsData,this.matchAlias=this.goodsInfo.goodsAlias;var e=this.matchList.find((function(e){return e.goodsAlias===t.matchAlias}));this.matchGoodsInfo=(0,g.formatMatchItem)(e),this.isSingleSpecMode?this.handleShowMatch():(this.currentGoodsSpecData=this.goodsSpecData,this.handleShowSpecSelect())}},destroyed:function(){this.setFrame({hasMatch:!1,hasGrayBg:!1})},methods:{setSPath:function(){var t;/\/wscgoods\/(detail|share)/.test(null===(t=this.shareInfo)||void 0===t?void 0:t.path)&&(this.sPath=this.shareInfo.path)},updateAuth:function(){this.$emit("update-auth")},onShowPoster:function(t){this.setFrame({hasMatch:!1,hasGrayBg:!1}),t?this.showMatchPoster=!0:this.showSinglePoster=!0},showPromoteTip:function(t){this.$emit("show-promote-tip",t)},changeMatchLink:function(t){this.$emit("changeMatchLink",t)},handleShowSpecSelect:function(){this.setFooter(!1),this.showMatchList=!1,this.showMatch=!1,this.showMain=!1,this.showSpecSelect=!0,this.instance.handleLog(m.SHARE_LOGGER_CONFIG.colorPanelView,{p_kdt_id:this.hqKdtId})},handleShowMatch:function(){this.showMatchList=!1,this.showMain=!1,this.showMatch=!0,this.setFooter(!0),this.$emit("changeShareType",h.MATCH)},itemClick:function(t){var e=this;this.setFrame(),this.matchAlias=t;var n=this.matchList.find((function(e){return e.goodsAlias===t}));this.matchGoodsInfo=(0,g.formatMatchItem)(n),this.primaryGoodsInfo=this.goodsInfo;var i={primaryAlias:this.primaryGoodsInfo.alias,primaryId:this.primaryGoodsInfo.id,matchAlias:this.matchGoodsInfo.alias,matchId:this.matchGoodsInfo.id};this.instance.getGoodsSpecData(i).then((function(t){var n=t.isSingleColorSpec,i=t.specData;e.isSingleSpecMode=n,n?e.handleShowMatch():(e.currentGoodsSpecData=i,e.handleShowSpecSelect())})).catch((function(){e.handleShowMatch()}))},handleCreateMaterial:function(t){this.pureSelectMatchMode?this.$emit("jumpMomentsMaterial",t):(this.showSpecSelect=!1,this.selectSpecInfo=t,this.handleShowMatch(),this.instance.handleLog(m.SHARE_LOGGER_CONFIG.cubeMatchView,{p_kdt_id:this.hqKdtId,fromMode:this.isSingleSpecMode?"single":"colorSelect"}))},closeMainFrame:function(){this.$emit("close-main-frame")},showPosterPop:function(t){this.$emit("show-poster-pop",t)},changeMatch:function(){this.setFrame({hasGrayBg:!1}),this.setFooter(!1),this.showMatchList=!0,this.showMain=!1,this.instance.handleLog(m.SHARE_LOGGER_CONFIG.changeMatch,{p_kdt_id:this.hqKdtId})},toMain:function(){this.setFrame(),this.isBackToSpecSelect?this.handleShowSpecSelect():(this.showMatchList=!1,this.setFooter(!0),this.showPoster?(this.showMatch=this.showMatchPoster,this.showMain=this.showSinglePoster,this.showMatchPoster=!1,this.showSinglePoster=!1):(this.$emit("changeShareType",h.SINGLE),this.showMatch=!1,this.showSpecSelect=!1,this.showMain=!0))},setFrame:function(t){this.ctx.process.invoke("setCubePop",(0,o.default)({hasMatch:!0,hasGrayBg:!0},t))},setFooter:function(t){this.ctx.process.invoke("setShowFooter",t)},clickManual:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0]?m.SHARE_LOGGER_CONFIG.manualMatchClick:m.SHARE_LOGGER_CONFIG.moreMatchClick;this.instance.handleLog(t,{p_kdt_id:this.hqKdtId});var e=this.isGuidePromoteGoods?"promoteGoods":"goodsDetail",n={mode:"selectMatchGoods",primaryAlias:this.goodsInfo.alias,kdt_id:this.kdtId,f_page:e,directEnter:1};b().navigate({url:_().add(x()("/guide/promote-goods/list","h5",this.kdtId),n)}),this.closeMainFrame()},clickGoods:function(t){b().navigate({url:x()("/wscgoods/detail/".concat(t.alias),"h5",this.kdtId)})},changeColorLog:function(t){t.needLog&&this.instance.handleLog(m.SHARE_LOGGER_CONFIG.changeColorClick,{p_kdt_id:this.hqKdtId})}},render:I,staticRenderFns:T,_compiled:!0,_scopeId:"data-v-a85e471"}},14741:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(97415),n(1881),n(83812),n(59230),n(87675),n(82472),n(34642),n(2375),n(23815),n(47691),n(79575),n(46239),n(10357),n(24958)),a=n(51214),r=n(63413),s=n(67519),c=n.n(s),u=n(98014),l=n(97220),d=n.n(l),f=n(34873),h=n(77726),p=n(99282),m=n(47825),g=n(16181),v=n(47019),b=n.n(v),y=n(46932),_=n(99896),w=n(43677),x=n.n(w),S=n(14552),k=n(93201),I=n(48689),T=n(43687),C=n(56504),P=n(15255),E=n(14570),A=n(15468),O=n(64412),L=n(77404),M=n(84696),R=n(18037),D=n(8947),N=n(43737),G=n.n(N),U=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",[n("tee-view",{on:{click:t.handleIconClick}},[t.customIcon?t._t("icon"):t.earnIconShow?n("earn-icon",{attrs:{"cube-icon-data":t.cubeIconData,"icon-url":t.shareData.iconUrl,"custom-style":t.iconStyle}}):t._e()],2),t._v(" "),t.sharePopupIsCloudSlot&&t.mainFrameVisible?n("cloud-salesman-share-popup"):n("main-frame",{attrs:{"show-goods-detail":t.showGoodsDetail,show:t.mainFrameVisible,"custom-style":t.popCustomStyle,"is-match-or-promote":t.isMatchOrPromote}},[t.sharePopupHeaderIsCloudSlot?n("tee-view",{attrs:{slot:"cubeHeader"},slot:"cubeHeader"},[n("cloud-salesman-share-popup-header")],1):n("cube-header",{attrs:{slot:"cubeHeader","share-money":t.shareMoney,"share-money-info":t.shareMoneyInfo,"share-data":t.shareData,"cloud-share-money-info":t.cloudShareMoneyInfo,hide:t.isMatchOrPromote},on:{"close-main-frame":t.closeMainFrame},slot:"cubeHeader"}),t._v(" "),t.sharePopupTabsIsCloudSlot?n("tee-view",{attrs:{slot:"cubeTab"},slot:"cubeTab"},[n("cloud-salesman-share-popup-tabs")],1):n("cube-tab-container",{attrs:{slot:"cubeTab","hq-kdt-id":t.hqKdtId,"share-info":t.shareInfo,"share-time":t.shareTime,"match-list":t.matchList,"share-money":t.shareMoney,"short-promote-url":t.shortPromoteUrl,"short-link-promote-url":t.shortLinkPromoteUrl,"smart-text-data":t.smartTextData,show:t.mainFrameVisible,"goods-info":t.goodsInfo,"shop-rights":t.shopRights,"share-data":t.shareData,"share-material":t.shareMaterial,"kdt-id":t.kdtId,"is-share-style":t.isShareStyleReal,"is-guide":t.isGuide,"salesman-popup-tabs":t.salesmanPopupTabs,"instance-id":t.instanceId,"is-wx-share-img":t.isWxShareImg,"has-auth":t.hasAuth,"has-salesman-advance-ability":t.hasSalesmanAdvanceAbility,"goods-poster-info":t.goodsPosterInfo,"has-weapp":t.hasWeapp,"ai-goods-match":t.aiGoodsMatch,"ai-goods-promote":t.aiGoodsPromote,"primary-goods-data":t.primaryGoodsData,"select-match-mode":t.selectMatchMode,"pure-select-match-mode":t.pureSelectMatchMode,"goods-spec-data":t.goodsSpecData,"is-single-goods-spec":t.isSingleGoodsSpec,"is-guide-promote-goods":t.isGuidePromoteGoods},on:{"close-main-frame":t.closeMainFrame,"show-poster-pop":t.showPosterPop,"open-assistant":t.openAssistant,"promote-tip":t.showPromoteTip,"tab-change":t.handleTabChange,"handle-update-auth":t.handleUpdateAuth,changeMatchLink:t.changeMatchLink,changeShareType:t.changeShareType,jumpMomentsMaterial:t.jumpMomentsMaterial},slot:"cubeTab"}),t._v(" "),t.sharePopupFooterIsCloudSlot?n("tee-view",{attrs:{slot:"cubeFooter"},slot:"cubeFooter"},[n("cloud-salesman-share-popup-footer")],1):n("tee-view",{attrs:{slot:"cubeFooter"},slot:"cubeFooter"},[t.mainFrameVisible?n("cube-footer",{attrs:{"is-share-style":t.isShareStyleReal,"hq-kdt-id":t.hqKdtId,"share-time":t.shareTime,"share-type":t.shareType,"has-weapp":t.hasWeapp,"is-match-or-promote":t.isMatchOrPromote,"has-guide-material":t.hasGuideMaterial,"copy-text":t.copyLinkText,"copy-short-link":t.shortLinkCopyText,"match-link":t.matchLink,"goods-info":t.goodsInfo,"share-data":t.shareData,"share-info":t.shareInfo,scenes:t.scenes,"custom-option-list-config":t.customOptionListConfig,"show-goods-detail":t.showGoodsDetail,"instance-id":t.instanceId,"is-wx-share-img":t.isWxShareImg,"active-tab":t.activeTab,"feature-data-params":t.dataParams,"scene-params":t.sceneParams,needWecomShare:t.needWecomShare},on:{customHandle:t.handleCustomEvent,"close-main-frame":t.closeMainFrame,"show-poster-pop":t.showPosterPop,"share-mask":t.showShareMask}}):t._e()],1)],1),t._v(" "),n("tax-sign-pop",{ref:"tax_sign_pop"}),t._v(" "),n("new-begin-pop",{ref:"new_begin_pop",attrs:{"show-goods-detail":t.showGoodsDetail,"custom-option-list-config":t.customOptionListConfig}}),t._v(" "),n("assistant-pop",{ref:"assistant_pop"}),t._v(" "),n("share-mask",{ref:"share_mask"}),t._v(" "),n("poster-pop",{ref:"poster_pop",on:{"open-assistant":t.openAssistant}}),t._v(" "),n("promote-tip",{ref:"promote_tip",attrs:{"is-match-or-promote":t.isMatchOrPromote},on:{"close-main-frame":t.closeMainFrame,"open-assistant":t.openAssistant}}),t._v(" "),n("van-toast",{ref:"van-toast"})],1)},[]],j=(0,i.default)(U,2),F=j[0],B=j[1],z=["invokePage"],H=["invokePage"],W=d().getEnv(),K=(0,k.getRunEnv)(),q=[{name:"推广图文",type:"promote"},{name:"生成海报",type:"poster"}];e.default={components:{"earn-icon":L.default,TaxSignPop:T.default,NewBeginPop:C.default,PosterPop:P.default,AssistantPop:E.default,PromoteTip:A.default,ShareMask:O.default,CloudSalesmanSharePopup:M.default,"tee-view":u.default},props:{customIcon:Boolean,iconStyle:{type:String,default:""},cubeIconData:{type:Object,default:function(){return{goaway:void 0,bottom:200}}},sourceType:Number,guideBindSourceType:{type:Number,default:14},scenes:String,getShareOpportunity:String,needBindRelation:{type:Boolean,default:!0},showGoodsDetail:{type:Boolean,default:!0},popCustomStyle:{type:String,default:""},isShareStyle:{type:Boolean,default:!1},isGuideNeedPkgShareUrl:{type:Boolean,default:!1},needSetShare:{type:Boolean,default:!1},shareInfo:{type:Object,default:function(){return{}}},goodsInfo:{type:Object,default:function(){return{}}},customOptionListConfig:{type:Object,default:function(){return{}}},guidePromoteData:{type:Object,default:function(){return{}}},goodsAlias:String,needWecomShare:{type:Boolean,default:!1},kdtId:[Number,String],offlineId:[Number,String],primaryGoodsData:{type:Object,default:function(){return{}}},selectMatchMode:{type:Boolean,default:!1},pureSelectMatchMode:{type:Boolean,default:!1}},data:function(){var t,e,n,i,o,a=!(null===(t=this.ctx.data.cloudDesignConfig)||void 0===t||!t.replacedSlots.includes("salesman-share-popup")),r=!(null===(e=this.ctx.data.cloudDesignConfig)||void 0===e||!e.replacedSlots.includes("salesman-share-popup-footer")),s=!(null===(n=this.ctx.data.cloudDesignConfig)||void 0===n||!n.replacedSlots.includes("salesman-share-popup-tabs")),c=!(null===(i=this.ctx.data.cloudDesignConfig)||void 0===i||!i.replacedSlots.includes("salesman-share-popup-header")),u=!(null===(o=this.ctx.data.cloudDesignConfig)||void 0===o||!o.replacedSlots.includes("salesman-share-popup-custom-tab-content")),l=String(Math.random());return this.ctx.instance[l]=new m.SalesmanCubeCore({}),{shareData:{},shopRights:{},mainFrameVisible:!1,copyText:"",smartTextData:{},shortPromoteUrl:"",shortLinkPromoteUrl:"",shortLinkCopyText:"",matchLink:"",shareMoney:0,hasGuideMaterial:!1,shareMoneyInfo:{shareMoneyRange:[],maxCommissionStr:"",commissionRangeStr:""},salesmanPopupTabs:q,cloudShareMoneyInfo:{},sharePopupIsCloudSlot:a,sharePopupFooterIsCloudSlot:r,sharePopupTabsIsCloudSlot:s,sharePopupHeaderIsCloudSlot:c,sharePopupCustomTabContentIsCloudSlot:u,instanceId:l,curPageRoute:"",activeTab:"",isWxShareImg:!1,goodsPosterInfo:void 0,hasAuth:!1,dataParams:{},sceneParams:{},shareMaterial:{},aiGoodsMatch:!1,aiGoodsPromote:!1,hasWeapp:!1,shareTime:(new Date).getTime(),shareType:"",matchList:[],hasSalesmanAdvanceAbility:!1,hqKdtId:this.getHQKdtId(),isSingleGoodsSpec:!0,goodsSpecData:{}}},computed:{isShareStyleReal:function(){return this.shareData.isShoppingGuide&&this.isMatchOrPromote?/\/(wsc)?goods\/share\//.test(this.shareInfo.path):this.isShareStyle},copyLinkText:function(){var t=(this.shareInfo||{}).title;return(void 0===t?"":t)+" "+this.copyText},earnIconShow:function(){var t=d().getEnv();return("web"===t||"qq"===t||"weapp"===t)&&(!this.cubeIconData.goaway&&m.SalesmanCubeCore.getCubeShow(this.shareData))},isGuide:function(){return 1===(this.shareData||{}).salesmanType},isMatchOrPromote:function(){return this.aiGoodsMatch||this.aiGoodsPromote},isGuidePromoteGoods:function(){return window.location.href.indexOf("/guide/promote-goods/list")>-1},isGoodsScene:function(){return"goods"===this.scenes},aiParams:function(){return this.isMatchOrPromote?{oldFromParamsData:{share_time:this.shareTime}}:{}}},watch:{shareInfo:function(t){if("goods"===this.scenes){var e=t.path||t.url;e=b().remove(e,"sid"),e=b().remove(e,"isWeapp"),e=b().remove(e,"hide_buy_btn"),this.instance.batchUpdate({shareInfo:(0,r.default)((0,r.default)({},t),{},{url:e}),query:(0,r.default)((0,r.default)({},this.instance.query),{},{alias:this.goodsInfo.alias})})}},kdtId:function(t){this.instance.update("kdtId",t),this.instance.rootKdtId||this.instance.update("rootKdtId",t)},goodsInfo:function(t,e){var n=(e||{}).alias;n&&(t||{}).alias!==n&&this.onGoodsInfoChange(),this.setCloudSalesmanPromoteGoodsInfo(t),this.instance.update("goodsInfo",t)}},created:function(){var t=this;this.instance=this.ctx.instance[this.instanceId],this.initSalesmanSharePopup(),this.instance.batchUpdate({nativeAjax:h.default,nativeAjaxUseCdn:h.requestUseCdn,nativeNavigate:d().navigate,nativeLogger:I.logger,runEnv:K,buildEnv:W}),this.guidePromoteData&&this.guidePromoteData.seller&&(this.shareData=this.guidePromoteData,this.instance.update("shareData",this.shareData),(0,k.pollData)({checkFn:function(){return!!t.kdtId},callback:function(e){e&&t.tryEmitShareData()}}))},mounted:function(){var t=this;this.instance.update("h5SetShareData",(function(e){var n=e.link,i=e.imgUrl;!e.path&&n&&(e.path=n),!e.imageUrl&&i&&(e.imageUrl=i),(0,D.setShareData)(e,t)})),this.initShopRights();var e=this.$getPageQuery()||{},n=e.fromSeller,i=e.sl,o=e.sls;this.curPageRoute=this.$getPageRoute(),this.instance.batchUpdate({guideBindSourceType:this.guideBindSourceType,fromSeller:n||i||o,scenes:this.scenes,path:this.$getPageRoute()}),void 0!==this.sourceType&&this.instance.update("st",this.sourceType),this.needBindRelation&&this.instance.bindRelation(),this.ctx.event.emit("salesman:share:popup:loaded",this.goodsAlias||"")},destroyed:function(){delete this.ctx.instance[this.instanceId]},methods:{getHQKdtId:function(){return _global.hq_kdt_id||_global.hqKdtId||this.kdtId},changeShareType:function(t){this.shareType=t},changeMatchLink:function(t){this.matchLink=t},handleUpdateAuth:function(){this.hasAuth=!0},initShopRights:function(){var t=this;this.instance.getShopRights().then((function(e){return t.shopRights=e}))},initSalesmanSharePopup:function(){var t,e=this;(0,f.mapProcess)(this,{setFeatureAlias:function(t){var n=t.dataParams,i=t.sceneParams,o=t.invokePage;(0,S.isCurPage)(e,o)&&(e.dataParams=n,e.sceneParams=i)},setUserInfo:function(t){var n,i=t.invokePage,o=(0,a.default)(t,z);(0,S.isCurPage)(e,i)&&(e.hasAuth=null==o||null===(n=o.state)||void 0===n?void 0:n.nicknameAndAvatar)},updateCloudData:function(t){var n=t.invokePage;(0,S.isCurPage)(e,n)&&e.setCloudSalesmanPromoteGoodsInfo(e.goodsInfo)},initSalesmanSharePageInfo:function(t){var n=t.query,i=t.route,o=t.invokePage;(0,S.isCurPage)(e,o)&&e.instance.batchUpdate({path:i,query:n})},initSalesmanShareData:function(t){var n=t.invokePage;return(0,S.isCurPage)(e,n)?e.instance.getShareData().then((function(t){return e.shareData=t,e.tryEmitShareData(),e.instance.setShareOption(t,e.needSetShare),e.setCloudSalesmanIdentityInfo(t),t})):e.shareData},setSalesmanSharePopupShareInfo:(t=(0,o.default)(c().mark((function t(n){var i,o,s,u,l;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=n.invokePage,o=(0,a.default)(n,H),!e.shareData.seller||!(0,S.isCurPage)(e,i)){t.next=12;break}if(s=(/^\[分享\].*/.test(o.title)?"":"[分享]")+o.title,u={title:s},!o.path||!e.kdtId){t.next=10;break}return t.next=7,e.beforeSalesmanShareInfoSet((0,r.default)((0,r.default)({},u),{},{url:o.path}));case 7:l=t.sent,u.path=(0,p.addSalesmanParams)({url:l.url||o.path,kdtId:e.kdtId,sl:e.shareData.seller}),l.title&&(u.title=l.title);case 10:e.instance.setShareOption((0,r.default)((0,r.default)({},o),{},{url:u.path}),e.needSetShare),o=(0,r.default)((0,r.default)({},o),u);case 12:return t.abrupt("return",o);case 13:case"end":return t.stop()}}),t)}))),function(e){return t.apply(this,arguments)}),setNativeYunExtension:function(t){var n=t.fn,i=t.invokePage;(0,S.isCurPage)(e,i)&&e.instance.update("nativeYunExtension",n)},toggleSalesmanSharePopup:function(t){t.isShow?e.handleSalesmanPopupShow("cloud-hook"):e.closeMainFrame()}})},setCloudSalesmanIdentityInfo:function(t){var e=t.salesmanName,n=t.share,i=t.seller,o=t.sl,a=t.dsKdtId,r=t.salesmanType;n&&(this.ctx.data.salesmanIdentityInfo={name:e,sl:i||o,salesmanKdtId:a,salesmanType:(0,S.formatSalesmanType)(r)})},setCloudSalesmanPromoteGoodsInfo:function(t){var e=(0,S.formatSalesmanPromoteGoodsInfo)(t);this.ctx.data.salesmanPromoteGoodsInfo=e},handleTabChange:function(t){this.activeTab=t},closeMainFrame:function(){this.ctx.event.emit("salesman:share:popup:close",this.ctx.data.isMatch),this.mainFrameVisible&&(this.mainFrameVisible=!1,this.ctx.process.invoke("toggleSalesmanSharePopup",{isShow:!1}))},showPosterPop:function(t){this.$refs.poster_pop.showPosterImg(t)},showShareMask:function(){this.$refs.share_mask.handleCheck()},openAssistant:function(){this.$refs.assistant_pop.handleCheck(this.instance)},showPromoteTip:function(t){this.$refs.promote_tip.handleCheck(t)},tryEmitShareData:function(){this.kdtId&&this.shareData.seller&&(this.ctx.event.emit("salesman:share:popup:query",(0,p.getSalesmanParamsObject)({sl:this.shareData.seller,kdtId:this.kdtId})),this.goodsInfo.id&&!this.goodsPosterInfo&&this.updateGoodsPosterInfo())},onGoodsInfoChange:function(){this.updateGoodsPosterInfo()},updateGoodsPosterInfo:function(){var t=this;if(this.kdtId&&this.shareData.seller){var e=this.selectMatchMode?this.primaryGoodsData:this.goodsInfo;this.instance.getGoodsPosterInfo.call(this.instance,e).then((function(e){t.goodsPosterInfo=e}))}},handleSalesmanPopupShow:function(t){y.default.loading({duration:5e3}),this.shareTime=(new Date).getTime();var e=[this.instance.checkIconIsRecruitEntry.bind(this.instance),this.instance.subscribeMessage.bind(this.instance),this.checkTaxSign.bind(this),this.beforeSalesmanSharePopupDisplay.bind(this)],n=[this.getGuideSupport.bind(this),this.getWeapp.bind(this),this.getSmartText.bind(this),this.batchFetchPopupContentInfos.bind(this),this.batchFetchPopupFooterInfos.bind(this),this.beforeSalesmanSharePopupContentRender.bind(this),this.toggleMainFramePanel.bind(this),this.checkNewBegin.bind(this)];"click"===t?(0,k.compose)([].concat(e,n))():"cloud-hook"===t&&(0,k.compose)(n)()},handleShowSalesmanPopup:function(){this.instance.handleLog(m.SHARE_LOGGER_CONFIG.clickShare),this.handleSalesmanPopupShow("click")},jumpMomentsMaterial:function(t){var e=this.$getPageQuery(),n=(0,r.default)((0,r.default)({},x()(e,["alias","matchAlias"])),{},{alias:this.primaryGoodsData.goodsAlias,matchAlias:this.goodsInfo.goodsAlias},t);d().navigate({url:b().add(G()("/guide/center/moments-goods-material","h5",this.kdtId),n)})},handleIconClick:function(){var t=this;if(this.selectMatchMode){var e={primaryAlias:this.primaryGoodsData.goodsAlias,primaryId:this.primaryGoodsData.goodsId,matchAlias:this.goodsInfo.goodsAlias,matchId:this.goodsInfo.goodsId};this.instance.getGoodsSpecData(e).then((function(e){var n=e.isSingleColorSpec,i=e.specData;t.isSingleGoodsSpec=n,t.matchList=(0,k.formatGoodsToMatchList)(t.goodsInfo),t.pureSelectMatchMode&&t.isSingleGoodsSpec?t.jumpMomentsMaterial():(!t.isSingleGoodsSpec&&Object.values(i).length>0&&(t.goodsSpecData=i),t.handleShowSalesmanPopup())}))}else this.handleShowSalesmanPopup()},checkTaxSign:function(t){this.$refs.tax_sign_pop.handleCheck(t,this.instance)},getGuideSupport:function(t){var e=this,n=(0,k.getRunEnv)(),i=["weapp","web"].includes(n);if(this.shareData.isShoppingGuide&&this.isGoodsScene&&i){var o=this.goodsInfo.alias;return this.instance.getGuideAbility({alias:o}).then((function(n){var i=n||{},a=i.aiGoodsMatch,s=i.aiGoodsPromote,c=i.matchList;e.aiGoodsMatch=a,e.aiGoodsPromote=s,e.ctx.data.isMatch=a||s,e.selectMatchMode||(e.matchList=c);var u=e.shareInfo.path,l=b().get("from_params",u)||"";s&&(l+="".concat(l?"!":"","share_time~").concat(e.shareTime)),u=b().add(u,{from_params:l}),e.instance.update("shareInfo",(0,r.default)((0,r.default)({},e.shareInfo),{},{path:u})),e.ctx.event.emit("modifyShare",{alias:o,isMatch:!1,reset:!1,data:(0,r.default)((0,r.default)({},e.shareInfo),{},{path:u})}),t()})).catch((function(e){t()}))}t()},getWeapp:function(t){var e=this;if("weapp"===(0,k.getRunEnv)())this.hasWeapp=!0,t();else{if(this.aiGoodsMatch||this.aiGoodsPromote)return this.instance.getBindWeappInfo().then((function(n){var i=(n||{}).hasBoundWeapp;e.hasWeapp=i,t()})).catch(t);t()}},checkNewBegin:function(t){this.isMatchOrPromote||this.$refs.new_begin_pop.handleCheck(t,this.instance)},getSmartText:function(t){var e=this,n=this.goodsInfo,o=this.shareData;if(n.id&&!o.isShoppingGuide){var a=this.instance.getSmartText({goodsId:n.id});return Promise.all([a,this.beforeGoodsSmartInfoGet()]).then((function(n){var o=(0,i.default)(n,2),a=o[0],r=o[1],s=a;r.promoteDesc&&(s.promoteText=r.promoteDesc),s.cloudSalesPriceDesc=r.salesPriceDesc,e.smartTextData=s,t()})).catch(t)}t()},batchFetchPopupContentInfos:function(t){return Promise.all([this.getCloudShareMoney(),this.getShareMoney(),this.checkHasGuideMaterial(),this.getShortPromoteUrl(),this.getShortLinkUrl(),this.getMaterialByItemId()]).then(t).catch(t)},batchFetchPopupFooterInfos:function(t){return Promise.all([this.getCopyText(),this.getShortLinkText()]).then(t).catch(t)},toggleMainFramePanel:function(t){y.default.clear(),this.mainFrameVisible=!this.mainFrameVisible,this.mainFrameVisible&&(this.ctx.event.emit("salesman:share:popup:show"),this.instance.handleLog(m.SHARE_LOGGER_CONFIG.salesMoneyView,{mtype:(this.matchList||[]).length?R.MATCH:R.SINGLE})),t()},getMaterialByItemId:function(){var t=this;if(!this.isGuide&&this.kdtId){this.shareMaterial={};var e=this.goodsInfo,n=e.id,i=e.alias;this.instance.getShopAbility(this.kdtId,"salesman_advance_ability").then((function(e){t.hasSalesmanAdvanceAbility=e,e&&t.instance.getMaterialByItemId({itemId:n,alias:i}).then((function(e){return new Promise((function(n){var i=e||{},o=i.materialType,a=i.videoMaterialDTO,r=i.kdtId;if(1===o&&a){var s=(a||{}).id;t.instance.getPlayInfo({videoId:s,kdtId:r}).then((function(t){var i=(t||{}).video_url;e.videoMaterialDTO.videoUrl=i,n(e)})).catch((function(){return n(e)}))}else 0===o&&n(e)}))})).then((function(e){t.shareMaterial=e}))}))}},checkHasGuideMaterial:function(){var t=this;if(this.shareData.isShoppingGuide)return this.instance.checkHasGuideMaterial().then((function(e){t.hasGuideMaterial=e})).catch((function(){}))},setProfit:function(t){var e=t.profitRange,n=t.commissionSendType,i=t.commissionConfigDTO,o=t.customPointsName,a=(0,g.formatCommission)({profitRange:e,commissionSendType:n,commissionConfigDTO:i,customPointsName:o}),r=a.maxCommissionStr,s=a.compatibleCommission;this.shareMoneyInfo={shareMoneyRange:e,maxCommissionStr:r,commissionRangeStr:s}},getShareMoney:function(){var t,e,n,i=this,o=this.shareData,a=this.goodsInfo,r=a.id,s=a.goodsSkuData,c=void 0===s?{}:s,u=(null==c||null===(t=c.goods)||void 0===t?void 0:t.list)||[],l=null===(e=this.goodsInfo.goodsActivityInfo)||void 0===e?void 0:e.type,d=(this.goodsInfo||{}).goodsPrice||{},f=d.minPrice,h=void 0===f?0:f,p=d.maxPrice,m=void 0===p?0:p;l&&c&&null!==(n=c[l])&&void 0!==n&&n.list&&(u=c[l].list);var v=this.goodsInfo,b=v.profit;if(v.profitRange)this.setProfit(this.goodsInfo);else if(b)this.shareMoney=b;else if(r)return o.isShoppingGuide?this.instance.getShareMoney(r,u,{minPrice:h}).then((function(t){i.shareMoney=t/100})).catch((function(){i.shareMoney=(0,g.getHireFee)(i.goodsInfo,i.shareData)})):this.instance.getShareMoneyRange(r,u,{minPrice:h,maxPrice:m}).then((function(t){i.setProfit(t)})).catch((function(){}))},guidePackageUrl:function(t){return this.isGuideNeedPkgShareUrl?(0,h.default)({withCredentials:!0,method:"POST",path:"/wscsalesman/guide/createAuthLink.json",data:{url:t}}).catch((function(){return t})):Promise.resolve(t)},getShortPromoteUrl:function(){var t=this;if(this.goodsInfo.id){if(this.aiGoodsPromote&&this.hasWeapp)return Promise.resolve();var e=this.smartTextData,n=this.offlineId,i=(0,S.getPromoteUrlParams)(e,n),o="item_promote"!==this.scenes;this.isGuidePromoteGoods&&(o=!1),this.isMatchOrPromote&&(o=!1);var a=this.isShareStyleReal?b().add(this.shareInfo.path,i):this.instance.getH5GoodsUrl(this.goodsInfo,this.shareData,(0,r.default)((0,r.default)({},i),this.aiParams),o);return this.guidePackageUrl(a).then((function(e){return t.beforePromoteLinkGenerate(e)})).then((function(e){return t.instance.getShortUrl(e)})).then((function(e){t.shortPromoteUrl=e,t.aiGoodsPromote&&(t.copyText=e)})).catch((function(){}))}},getShortLinkUrl:function(){var t,e=this;if(this.aiGoodsPromote&&!t&&(t=this.hasWeapp),this.goodsInfo.id&&t){var n=this.smartTextData,i=this.offlineId,o=(0,S.getPromoteUrlParams)(n,i),a=this.instance.path,s=a,c={};return this.aiGoodsPromote&&(s=this.isShareStyleReal?"packages/goods/share/index":"packages/goods/detail/index",c={alias:this.goodsInfo.alias}),this.beforePromoteLinkGenerate(s).then((function(t){return e.instance.update("path",t),e.instance.getShortLink((0,r.default)((0,r.default)((0,r.default)({},o),e.aiParams),c))})).then((function(t){e.shortLinkPromoteUrl=t.miniProgramUrl,e.shareData.isShoppingGuide&&(e.shortLinkCopyText=t.miniProgramUrl),e.instance.update("path",a)})).catch((function(t){e.instance.update("path",a)}))}},getCopyText:function(){var t=this;if(this.aiGoodsPromote&&(this.hasWeapp||this.copyText))return Promise.resolve();var e=this.smartTextData.extra,n={st:2,share_cmpt:"copylink"};null!=e&&e.alg&&(n.alg=e.alg);var i=b().add(this.instance.shareInfo.url,n),o=this.instance.getUrlWithSl(i);return this.guidePackageUrl(o).then((function(e){return t.beforePromoteLinkGenerate(e)})).then((function(e){return t.instance.getShortUrl(e)})).then((function(e){t.copyText=e})).catch((function(){}))},getShortLinkText:function(){},handleCustomEvent:function(t){},beforeSalesmanShareInfoSet:function(t){var e=this;return(0,o.default)(c().mark((function n(){var i;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i={},!(0,S.checkCloudPage)(e.curPageRoute)){n.next=14;break}return n.prev=2,n.next=5,e.ctx.cloud.invoke("beforeSalesmanShareInfoSet",{bizScene:(0,S.formatBizScene)(e.scenes),title:t.title,url:t.url});case 5:if(n.t0=n.sent,n.t0){n.next=8;break}n.t0={};case 8:i=n.t0,n.next=14;break;case 11:n.prev=11,n.t1=n.catch(2);case 14:return n.abrupt("return",i);case 15:case"end":return n.stop()}}),n,null,[[2,11]])})))()},beforeSalesmanSharePopupDisplay:function(t){var e=this.goodsInfo,n=this.scenes;if((0,S.checkCloudPage)(this.curPageRoute))try{this.ctx.cloud.invoke("beforeSalesmanSharePopupDisplay",(0,r.default)({},(0,S.formatPopupPayload)(e,n))).then((function(){t()}))}catch(t){y.default.clear()}else t()},beforeGoodsSmartInfoGet:function(){var t=this;return(0,o.default)(c().mark((function e(){var n,i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.goodsInfo,i=t.scenes,!(0,S.checkCloudPage)(t.curPageRoute)){e.next=10;break}return e.prev=2,e.abrupt("return",t.ctx.cloud.invoke("beforeGoodsSmartInfoGet",(0,r.default)({},(0,S.formatPopupPayload)(n,i))).then((function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})));case 6:return e.prev=6,e.t0=e.catch(2),e.abrupt("return",{});case 10:return e.abrupt("return",{});case 11:case"end":return e.stop()}}),e,null,[[2,6]])})))()},getCloudShareMoney:function(){var t=this;return(0,o.default)(c().mark((function e(){var n,i;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.goodsInfo,i=t.scenes,!(0,S.checkCloudPage)(t.curPageRoute)){e.next=9;break}return e.prev=2,e.abrupt("return",t.ctx.cloud.invoke("beforeShareMoneyGet",(0,r.default)({},(0,S.formatPopupPayload)(n,i))).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.cloudShareMoneyInfo=e})));case 6:e.prev=6,e.t0=e.catch(2);case 9:return e.abrupt("return",{});case 10:case"end":return e.stop()}}),e,null,[[2,6]])})))()},beforePromoteLinkGenerate:function(t){var e=this;return(0,o.default)(c().mark((function n(){var i,o;return c().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=e.goodsInfo,o=e.scenes,!(0,S.checkCloudPage)(e.curPageRoute)){n.next=10;break}return n.prev=2,n.abrupt("return",e.ctx.cloud.invoke("beforePromoteLinkGenerate",(0,r.default)((0,r.default)({},(0,S.formatPopupPayload)(i,o)),{},{url:t})).then((function(e){var n=t;return e&&e.url&&(n=e.url),Promise.resolve(n)})));case 6:return n.prev=6,n.t0=n.catch(2),n.abrupt("return",Promise.resolve(t));case 10:return n.abrupt("return",t);case 11:case"end":return n.stop()}}),n,null,[[2,6]])})))()},beforeSalesmanSharePopupContentRender:function(t){var e=this,n=this.goodsInfo,i=this.scenes;if((0,S.checkCloudPage)(this.curPageRoute))try{return this.ctx.cloud.invoke("beforeSalesmanSharePopupContentRender",(0,r.default)((0,r.default)({},(0,S.formatPopupPayload)(n,i)),{},{tabs:this.salesmanPopupTabs})).then((function(){var n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(t){return t&&t.tabs?t.tabs:null})).filter(Boolean),i=(0,_.mergeMulPluginList)(e.salesmanPopupTabs,n,{key:"type"}).newList;e.salesmanPopupTabs=i,t()}))}catch(e){t()}else t()}},render:F,staticRenderFns:B,_compiled:!0}},14089:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(27107),a=n(98014),r=n(43411),s=n(56564),c=n(79780),u=n(37115),l=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"panel"},[n("panel-header",{attrs:{"custom-class":"panel-header",title:"选择颜色"},on:{onClose:t.handleClose}},[t.selectMatchMode?t._e():n("tee-view",{staticClass:"back-btn",attrs:{slot:"btn"},on:{click:t.toMain},slot:"btn"},[n("van-icon",{attrs:{name:"arrow-left"}}),t._v(" 返回\n ")],1)],1),t._v(" "),n("tee-scroll-view",{staticClass:"panel__content",attrs:{type:"list","show-scrollbar":!1,"scroll-y":""}},[n("spec-detail",{attrs:{"goods-info":t.primaryGoodsInfo,"color-specs":t.goodsSpecData.primaryColorSpecList,"goods-text":"主商品"},on:{clickGoods:t.clickGoods,selectSpec:t.selectPrimarySpec}}),t._v(" "),n("tee-view",{staticClass:"panel__divider"}),t._v(" "),n("spec-detail",{attrs:{"goods-info":t.matchGoodsInfo,"color-specs":t.goodsSpecData.secondaryColorSpecList,"goods-text":"搭配商品"},on:{clickGoods:t.clickGoods,selectSpec:t.selectMatchSpec}})],1),t._v(" "),n("tee-view",{staticClass:"panel__footer"},[n("van-button",{attrs:{"custom-class":"panel__btn",round:"",type:"primary",color:"#FF720D"},on:{click:t.handleCreate}},[t._v("开始创作")])],1)],1)},[]],d=(0,i.default)(l,2),f=d[0],h=d[1];e.default={name:"SelectSpecBlock",components:{PanelHeader:r.default,SpecDetail:s.default,"van-button":c.default,"van-icon":u.default,"tee-view":a.default,"tee-scroll-view":o.default},props:{goodsSpecData:{type:Object,default:function(){return{}}},primaryGoodsInfo:{type:Object,default:function(){return{}}},matchGoodsInfo:{type:Object,default:function(){return{}}},selectMatchMode:{type:Boolean,default:!1},hqKdtId:{type:String,default:""}},data:function(){return{primarySpec:null,secondarySpec:null}},methods:{toMain:function(){this.$emit("clickBack")},handleClose:function(){this.$emit("close")},selectPrimarySpec:function(t){this.primarySpec=t.spec,this.$emit("changeColorLog",t)},selectMatchSpec:function(t){this.secondarySpec=t.spec,this.$emit("changeColorLog",t)},handleCreate:function(){this.$emit("create",{primarySpecId:this.primarySpec&&this.primarySpec.specId,primarySpecValueId:this.primarySpec&&this.primarySpec.specValueId,secondarySpecId:this.secondarySpec&&this.secondarySpec.specId,secondarySpecValueId:this.secondarySpec&&this.secondarySpec.specValueId})},clickGoods:function(t){this.$emit("clickGoods",t)}},render:f,staticRenderFns:h,_compiled:!0,_scopeId:"data-v-dff7bf2"}},4623:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(44472),n(2375),n(10357),n(46239),n(97415),n(1881),n(87675),n(71190),n(23815),n(55750),n(77109),n(83812),n(7091),n(37735)),a=n(63413),r=n(93375),s=n(87771),c=n(15263),u=n(98014),l=n(33730),d=n(46434),f=n(56487),h=n.n(f),p=n(81976),m=n(43737),g=n.n(m),v=n(16181),b=n(34873),y=n(93201),_=n(47019),w=n.n(_),x=n(99282),S=n(47825),k=n(79780),I=n(76465),T=n(46932),C=n(18037),P=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{class:["share-block",t.showPoster?"share-block__poster":""]},[t.showPoster?n("cube-tab-poster",{attrs:{"poster-img-arr":t.posterImgArr,"has-auth":t.hasAuth,"is-guide":!0,"is-wx-share-img":t.isWxShareImg,"instance-id":t.instanceId,"poster-index":t.posterIndex,"is-guide-promote":!0},on:{"update-auth":t.updateAuth,"get-poster":t.getPoster,"get-poster-params":t.getPosterParams,"re-gen-poster":t.getSinglePoster,"on-swiper-change":t.onSwiperChange}}):[n("block-header",{attrs:{title:t.isMatch?"分享搭配":"分享单品","show-btn":!t.textLoading,"show-copy":t.isMatch},on:{btnClick:t.getAIText,copyClick:t.onTextCopy}},[!t.isMatch&&t.shareMoney>0?n("tee-text",{staticClass:"share-money",attrs:{slot:"desc"},slot:"desc"},[t._v("分享后预计可赚 "),n("tee-text",{staticClass:"money"},[t._v("¥"+t._s(t.shareMoney))])],1):t._e()],1),t._v(" "),t.textLoading?n("tee-view",{staticClass:"gray text-loading"},[n("van-loading",{attrs:{size:"16px",type:"img"}},[t._v("文案生成中...")])],1):n("tee-native-text",{staticClass:"gray text"},[t._v(t._s(t.promoteText))]),t._v(" "),n("tee-view",{staticClass:"img-list"},[t.picLoading?n("pic-loading",{staticClass:"img-loading"}):t._e(),t._v(" "),t._l(t.allImgsShow,(function(e,i){return n("tee-view",{key:i+e,staticClass:"img-wrapper"},[n("tee-image",{staticClass:"img",attrs:{src:e,"lazy-load":"",mode:"aspectFill"},on:{click:function(e){return t.previewImg(i)}}})],1)}))],2)]],2)},[]],E=(0,i.default)(P,2),A=E[0],O=E[1],L="文案生成失败,请重新点击「换文案」";e.default={name:"ShareBlock",components:{"van-loading":I.default,"van-button":k.default,PicLoading:l.default,BlockHeader:d.default,"tee-view":u.default,"tee-image":c.default,"tee-native-text":s.default,"tee-text":r.default},props:{kdtId:[String,Number],hqKdtId:[String,Number],isShareStyle:Boolean,shareMoney:Number,shareTime:Number,shareData:Object,isWxShareImg:Boolean,instanceId:String,isMatch:Boolean,goodsInfo:Object,matchAlias:String,matchList:Array,hasWeapp:Boolean,mainPic:String,mainText:String,mainLink:String,showPoster:Boolean,hasAuth:Boolean,goodsPosterInfo:Object,sPath:String,selectSpecInfo:Object},data:function(){return{posterIndex:0,textLoading:!1,promoteText:this.mainText,shortLink:this.mainLink,textST:null,picST:null,picLoading:!1,taskId:"",joinImgs:[],generateImgs:[],cutImgs1:[],cutImgs2:[],posterImgArr:[],startTime:0,hasDestroyed:!1,instance:null,originPath:""}},computed:{oldFP:function(){return{oldFromParamsData:{share_time:this.shareTime}}},linkTag:function(){return this.isShareStyle?"share":"detail"},gdPage:function(){return"/packages/goods/".concat(this.linkTag,"/index")},matchGoodsInfo:function(){var t,e=this.matchAlias,n=this.matchList;return n&&n.length&&(t=n.find((function(t){return t.goodsAlias===e}))),t||{}},mainImgs:function(){var t=this.goodsInfo;return t&&t.pictures&&t.pictures.length?t.pictures.map((function(t){return t.url||t})):[]},matchImgs:function(){var t=(0,v.safeJSONParse)(this.matchGoodsInfo.pictureJson,[]);return t&&t.length?t.map((function(t){return t.url})):[]},allImgList:function(){var t=this;if(this.isMatch){var e=this.mainImgs.filter((function(e){return!t.cutImgs1.includes(e)})),n=this.matchImgs.filter((function(e){return!t.cutImgs2.includes(e)}));return[].concat(this.joinImgs.map((function(t){return{url:t,isMatch:!0}})),this.generateImgs.map((function(t){return{url:t,isMatch:!0,isAI:!0}})),this.cutImgs1.map((function(t){return{url:t,isCut:!0,isPrimaryCut:!0}})),this.cutImgs2.map((function(t){return{url:t,isCut:!0,isSecondaryCut:!0}})),e.map((function(t){return{url:t,isPrimary:!0}})),n.map((function(t){return{url:t,isSecondary:!0}})))}return this.mainImgs.map((function(t){return{url:t,isPrimary:!0}}))},allImgsShow:function(){return this.allImgList.map((function(t){return h()(t.url,"small")}))},matchUrl:function(){if(this.instance){var t=this.instance.getUrlWithSl(g()("wscgoods/match","h5",this.kdtId),{share_time:this.shareTime});return t=w().add(t,{matchId:this.taskId,aiMatch:1,kdt_id:this.kdtId}),w().remove(t,"shopAutoEnter")}},matchLink:function(){return"".concat(C.WEBVIEW,"?src=").concat(encodeURIComponent(this.matchUrl),"&title=搭配详情")},shopName:function(){return(_global.shopMetaInfo||_global.shopData||_global.shopInfo||{}).shopName},logParams:function(){return{mtype:this.isMatch?C.MATCH:C.SINGLE,p_kdt_id:this.hqKdtId}},linkData:function(){return{aiMatch:this.isMatch?1:void 0}}},created:function(){var t=this;this.instance=this.ctx.instance[this.instanceId],this.isMatch&&this.handleMatch(),(0,b.mapProcess)(this,{saveTextImg:function(){t.handleSave()},genPoster:function(){t.checkData()&&(t.ctx.process.invoke("setShowFooter",!1),t.$emit("onShowPoster",t.isMatch),t.getAllPoster())},getCode:function(){if(t.isMatch){if(!t.shortLink)return void(0,T.default)("请等待链接生成完成");t.getMatchCode()}else t.getGoodsCode();t.instance.handleLog(t.hasWeapp?S.SHARE_LOGGER_CONFIG.miniprogram:S.SHARE_LOGGER_CONFIG.qrCode,t.logParams)}})},destroyed:function(){this.hasDestroyed=!0;var t=this.originPath;t&&this.instance.update("path",t),clearTimeout(this.textST),clearTimeout(this.picST),this.$emit("changeMatchLink",""),this.isMatch&&this.ctx.event.emit("modifyShare",{isMatch:!0,reset:!0,alias:this.goodsInfo.alias})},methods:{updateAuth:function(){this.$emit("update-auth")},onTextCopy:function(){(0,p.setClipboardData)(this.promoteText),T.default.success("复制成功")},onSwiperChange:function(t){this.posterIndex=t},setMatchShare:function(){var t,e;e=this.matchUrl,t=this.shopName?"在".concat(this.shopName):"";var n=this.joinImgs.length?this.joinImgs[0]:this.generateImgs.length?this.generateImgs[0]:this.mainPic;this.ctx.event.emit("modifyShare",{isMatch:!0,reset:!1,alias:this.goodsInfo.alias,data:{title:"我".concat(t,"发现了一套超赞的穿搭!快点来看~"),path:e,imageUrl:h()(n,"middle"),desc:"".concat(this.goodsInfo.title,"+").concat(this.matchGoodsInfo.title),url:e}})},handleCodeAjax:function(t){var e=this;t.then((function(t){T.default.clear(),e.$emit("show-poster-pop",t)})).catch((function(){T.default.clear(),T.default.fail("生成失败")}))},checkData:function(t){var e=t?this.textLoading:!this.shortLink;if(this.isMatch&&(e||this.picLoading)){var n=[e?t?"文案":"链接":"",this.picLoading?"图片":""].filter(Boolean);return(0,T.default)("请等待".concat(n.join("、"),"生成完成")),!1}return!0},handleSave:function(){var t=this;if(this.checkData(!0)){var e=this.allImgList.map((function(t){return t.url})),n=this.promoteText;this.copyTxt(n).then((function(n){setTimeout((function(){T.default.loading("保存中"),t.saveImgs(e).then((function(i){var o=(0,a.default)((0,a.default)({copy:0,image:1},n),i);t.$emit("show-promote-tip",{statusList:(0,v.getTipsData)(o),imgList:e,noCloseMain:!0}),setTimeout((function(){T.default.clear()}),50)}))}),1===n.copy?1500:0)}))}},copyTxt:function(t){return new Promise((function(e){t?(0,p.setClipboardData)(t).then((function(){return e({copy:1})})).catch((function(){return e({})})):e({copy:0})}))},saveImgs:function(t){return new Promise((function(e){(0,y.batchSaveImageRemoteUrl)(t).then((function(){return e({image:1})})).catch((function(){return e({image:1})}))}))},getGoodsCode:function(){T.default.loading("生成中");var t=this.instance.generateCreatePosterJsonParams((0,a.default)((0,a.default)({},C.POSTER),this.oldFP),(0,a.default)({page:this.gdPage,share_from:"qr_code",alias:this.goodsInfo.alias},this.linkData));this.handleCodeAjax(this.instance.createPosterRequest(t))},getMatchCode:function(){if(T.default.loading("生成中"),this.hasWeapp){var t=this.instance.generateCreatePosterJsonParams(C.POSTER,(0,a.default)({page:"/".concat(C.WEBVIEW),src:encodeURIComponent(this.matchUrl),share_from:"qr_code"},(0,x.getSalesmanParamsObject)({sl:this.shareData.seller,kdtId:this.kdtId})));this.handleCodeAjax(this.instance.createPosterRequest(t))}else this.hasWeapp||this.handleCodeAjax(this.instance.getQrCode({kdtId:this.kdtId,isWeapp:0,url:this.matchUrl}))},posterParams:function(t,e){var n=t.isSecondary||t.isSecondaryCut,i=n?this.matchGoodsInfo:void 0,o={};if(!this.hasWeapp&&this.isMatch)if(n){var r=S.SalesmanCubeCore.getGoodsActParams(i);o={url:w().add(g()("/wscgoods/".concat(this.linkTag,"/").concat(i.goodsAlias),"h5",this.kdtId),(0,a.default)((0,a.default)({},r),{},{aiMatch:1,shopAutoEnter:1,from_params:w().get("from_params",this.sPath)}))}}else o.url=w().add(this.sPath,this.linkData);return this.instance.getGoodsPosterParams({scene:(0,a.default)((0,a.default)({page:this.gdPage},this.oldFP),this.linkData),params:(0,a.default)({isSupportHideUserInfo:!0,goodsInfo:i,outPic:t.isCut?t.url:"",goodsImgIndex:e},o),alias:n?this.matchGoodsInfo.goodsAlias:this.goodsInfo.alias,needWeapp:this.hasWeapp})},getComParam:function(t,e){return(0,a.default)((0,a.default)({},t),{},{image:t.url,loading:!0,error:!1,params:e,mode:(0,y.getImageMode)(t)})},getGoodsPic:function(t,e){var n=this,i=(t||{}).posterItemModel,o=void 0===i?{}:i,a=e.isSecondary?this.cutImgs2:this.cutImgs1,r=[];return(o.pictures||[]).forEach((function(t,i){a.includes(t.url)||r.push(n.getComParam(t,n.posterParams(e,i)))})),r},getAllPoster:function(){var t=this,e=Promise.resolve();this.isMatch&&(e=this.instance.getGoodsPosterInfo.call(this.instance,this.matchGoodsInfo)),e.then((function(e){var n=[],i=[],a=t.getGoodsPic(t.goodsPosterInfo,{});t.isMatch&&(n=t.allImgList.filter((function(t){return t.isMatch||t.isCut})).map((function(e){return t.getComParam(e,e.isMatch?{}:t.posterParams(e))})),i=t.getGoodsPic(e,{isSecondary:!0})),t.posterImgArr=[].concat((0,o.default)(n),(0,o.default)(a),(0,o.default)(i)),t.getPoster()})).catch((function(){T.default.fail("获取搭配商品海报信息失败")}))},getPoster:function(){var t=this;this.posterImgArr.forEach((function(e,n){t.getSinglePoster(n)}))},getPosterParams:function(t){var e=this.posterImgArr[this.posterIndex].params;t.bind(this)(e)},getSinglePoster:function(t){var e=this,n=this.posterImgArr[t],i=n.isMatch;(i?this.instance.getPoster({seller:this.shareData.seller,itemData:n,matchUrl:this.matchUrl,hasWeapp:this.hasWeapp}):this.instance.getGoodsPoster({},n.params)).then((function(n){var o=n||{},r=o.params,s=o.imgUrl;if(s){var c=i?{params:r}:{};(0,y.getImageSize)(s).then((function(n){var i=n.width,o=n.height,r=(0,y.getImageMode)({width:i,height:o},!0);e.updatePoster(t,(0,a.default)({image:s,mode:r,error:!1},c))}))}else e.updatePoster(t,{error:!0})})).catch((function(){e.updatePoster(t,{error:!0})}))},updatePoster:function(t,e){this.posterImgArr=this.posterImgArr.map((function(n,i){return i===t?(0,a.default)((0,a.default)({},n),{},{loading:!1},e):n}))},handleMatchPic:function(t){this.cutImgs1=[t.cutImg1].filter((function(t){return!!t})),this.cutImgs2=[t.cutImg2].filter((function(t){return!!t})),this.joinImgs=[t.posterImg].filter((function(t){return!!t})),this.generateImgs=[t.compositeImg].filter((function(t){return!!t})),this.picLoading=!1,(t.posterImg||t.compositeImg)&&this.setMatchShare()},picFail:function(){this.picLoading=!1,T.default.fail("生成搭配图失败")},pollPic:function(t){var e=this;this.hasDestroyed||this.instance.getMatchResp({withJoin:!0,taskId:t}).then((function(n){switch(n.taskStatus){case-1:e.picFail();break;case 4:e.handleMatchPic(n);break;default:(new Date).getTime()-e.startTime>6e4?(e.handleMatchPic(n),e.picFail()):e.picST=setTimeout((function(){e.pollPic(t)}),4e3)}})).catch((function(){e.picFail()}))},getShortUrl:function(){var t=this;this.instance.getShortUrl(this.matchUrl).then((function(e){t.afterGetLink(e)})).catch((function(){t.afterGetLink(t.matchUrl)}))},afterGetLink:function(t){this.shortLink=t,this.$emit("changeMatchLink",t);var e=this.originPath;e&&this.instance.update("path",e),this.originPath="",this.getAIText(!0)},getShortLink:function(){var t=this;this.originPath=this.instance.path;var e=this.matchLink;return this.instance.update("path",e),this.instance.getShortLink({},{pageTitle:"搭配详情"}).then((function(e){t.afterGetLink(e.miniProgramUrl)})).catch((function(){t.afterGetLink(t.matchUrl)}))},handleMatch:function(){var t=this;this.textLoading=!0,this.picLoading=!0,this.startTime=(new Date).getTime(),this.instance.submitMatch((0,a.default)({alias1:this.goodsInfo.alias||this.goodsInfo.goodsAlias,alias2:this.matchAlias},this.selectSpecInfo||{})).then((function(e){t.taskId=e.taskId,t.hasWeapp?t.getShortLink():t.getShortUrl(),t.pollPic(e.taskId),t.setMatchShare()})).catch((function(){T.default.fail("生成搭配失败,请重试"),t.textLoading=!1,t.picLoading=!1}))},previewImg:function(t){return(0,p.previewImage)({popClass:this.isMatch?"cube-img-pop":"",urls:this.allImgList.map((function(t){return t.url})),current:t})},pollAIText:function(t){var e=this;this.hasDestroyed||this.instance.getAITextResp({responseId:t}).then((function(n){if(1!==n.status)e.textST=setTimeout((function(){e.pollAIText(t)}),3e3);else if(e.textLoading=!1,n.text){var i=n.text,o="👉".concat(/#小程序:\/\/.+/.test(e.shortLink)?"小程序链接:":"专属链接:").concat(e.shortLink);e.isMatch?i+="\n".concat(o):i=i.replace(/(👉)?专属链接:https:\/\/j.youzan.com\/\S*/g,o),e.promoteText=i}else T.default.fail(L)})).catch((function(){e.textLoading=!1,T.default.fail(L)}))},getAIText:function(t){var e=this,n={alias1:this.goodsInfo.alias,title1:this.goodsInfo.title,isMatch:this.isMatch};this.isMatch&&(n.alias2=this.matchAlias,n.title2=this.matchGoodsInfo.title),this.textLoading=!0,!t&&this.instance.handleLog(S.SHARE_LOGGER_CONFIG.changeText,this.logParams),this.instance.getAIText(n).then((function(t){e.pollAIText(t.responseId)})).catch((function(){e.textLoading=!1,T.default.fail(L)}))}},render:A,staticRenderFns:O,_compiled:!0,_scopeId:"data-v-28ffb09"}},27248:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(83812),n(7091),n(10357),n(46239),n(2375),n(63413)),a=n(27107),r=n(98014),s=n(91695),c=n(47825),u=n(72941),l=n(97220),d=n.n(l),f=n(81976),h=n(46932),p=n(23025),m=n(5278),g=n(93201),v=n(16181),b=n(51111),y=n.n(b),_=(n(47019),n(34873)),w=n(18037),x=(n(77726),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{directives:[{name:"show",rawName:"v-show",value:t.showTab,expression:"showTab"}],class:t.cubeFooterCls},[t.iconGroup.length>1?[n("tee-view",{staticClass:"panel-icon-wrap"},t._l(t.iconGroup,(function(e,i){return n("tee-view",{key:i,class:i>0?"icon-list-row icon-list-row--border":"icon-list-row"},t._l(e,(function(e){return n("icon-option",{key:e.title,attrs:{option:e},on:{iconClick:t.handleIconClick}})})),1)})),1)]:[n("tee-scroll-view",{staticClass:"scroll-view-wv",attrs:{"scroll-x":"",type:"list","enable-flex":"","show-scrollbar":!1}},[t._l(t.iconGroup,(function(e,i){return[t._l(e,(function(e){return[n("icon-option",{key:e.title,attrs:{option:e},on:{iconClick:t.handleIconClick}})]}))]}))],2)]],2)},[]]),S=(0,i.default)(x,2),k=S[0],I=S[1];e.default={name:"CubeFooter",components:{"icon-option":s.default,"van-dialog":p.default,"van-checkbox":m.default,"tee-view":r.default,"tee-scroll-view":a.default},props:{hqKdtId:Number,shareTime:Number,showGoodsDetail:Boolean,shareData:{type:Object,default:function(){return{}}},goodsInfo:{type:Object,default:function(){return{}}},shareInfo:{type:Object,default:function(){return{}}},customOptionListConfig:{type:Object,default:function(){return{}}},sceneParams:{type:Object,default:function(){return{}}},featureDataParams:{type:Object,default:function(){return{}}},scenes:String,copyText:String,copyShortLink:String,matchLink:String,hasGuideMaterial:{type:Boolean,default:!1},instanceId:String,activeTab:String,isWxShareImg:{type:Boolean,default:!1},isMatchOrPromote:Boolean,hasWeapp:Boolean,shareType:String,isShareStyle:Boolean,needWecomShare:{type:Boolean,default:!1}},data:function(){return{codePoster:"",zonePoster:"",tuwenPoster:"",featurePoster:"",posterType:"",iconGroup:[],showFooter:!0,instance:null}},computed:{cubeFooterCls:function(){var t=this.showGoodsDetail?"hasTopBorder":"";return"".concat(t," cube-footer")},showTab:function(){return this.isMatchOrPromote?this.showFooter:"promote"===this.activeTab},posterImg:function(){return this[this.posterType]},isMatch:function(){return this.shareType===w.MATCH},logParams:function(){return{mtype:this.shareType,p_kdt_id:this.hqKdtId}},needCustomHandle:function(){var t=!1;return this.isMatchOrPromote&&(this.isMatch?t=!0:"web"===d().getEnv()&&(t=this.hasWeapp)),t},codeParams:function(){if(this.isMatchOrPromote){var t={aiMatch:this.isMatch?1:void 0};if(this.instance&&"weapp"===d().getEnv()){var e=this.instance.path;/\/goods\/share\//.test(e)&&!this.isShareStyle&&(t.page=e.replace(/\/share\//,"/detail/"))}return{oldFromParamsData:{share_time:this.shareTime},pageParams:t}}return{}}},created:function(){var t=this;this.instance=this.ctx.instance[this.instanceId];var e=this.instance.runEnv,n=(0,v.getIconGroup)({runEnv:e,shareData:this.shareData,goodsInfo:this.goodsInfo,scenes:this.scenes,customOptionListConfig:this.customOptionListConfig,hasGuideMaterial:this.hasGuideMaterial,kdtId:this.instance.getKdtId(),buildEnv:this.instance.buildEnv,shareInfo:this.shareInfo,shopAbilities:this.instance.shopAbilities,isMatchOrPromote:this.isMatchOrPromote,hasWeapp:this.hasWeapp,needWecomShare:this.needWecomShare});this.copyShortLink?this.iconGroup=n:this.iconGroup=n.map((function(t){return t.filter((function(t){return"weappLink"!==t.id}))})),(0,_.mapProcess)(this,{setShowFooter:function(e){t.showFooter=e}})},methods:{handleFeaturePoster:function(){this.featureDataParams,this.sceneParams;this.processPosterGenerate(this.instance.getFeaturePoster.bind(this.instance),"featurePoster")},handleTuwenPoster:function(){var t=this;t.processPosterGenerate(t.instance.getTuwenPoster.bind(t.instance),"tuwenPoster")},updateInstancePath:function(t){"item_promote"===this.scenes&&this.instance.update("path",t)},processPosterGenerate:function(t,e){var n=this;return this.posterType=e,this[e]&&this.$emit("show-poster-pop",this[e]),h.default.loading("正在生成"),t().then((function(t){if(!t)return h.default.clear(),h.default.fail("生成失败");n[e]=t,n.$emit("show-poster-pop",n[e]),h.default.clear(),n.closeMain()})).catch((function(t){h.default.clear(),h.default.fail((0,g.getErrorMessage)(t)),n.closeMain()}))},checkLink:function(){return!(this.isMatch&&!this.matchLink)||((0,h.default)("请等待链接生成"),!1)},closeMain:function(){this.isMatchOrPromote||this.$emit("close-main-frame")},handleIconClick:function(t){switch(t.type){case"wecomShare":this.instance.handleLog(c.SHARE_LOGGER_CONFIG.nativeCustom,(0,o.default)((0,o.default)({},this.logParams),{},{sceneType:"wecomShare"})),this.ctx.event.emit("clickCubeIcon",(0,o.default)((0,o.default)({type:t.type},this.shareInfo),{},{link:this.shareInfo.path,img_url:this.shareInfo.imgUrl}));break;case"share":if(this.closeMain(),/kdtUnion_/i.test(navigator.userAgent))return this.instance.handleLog(c.SHARE_LOGGER_CONFIG.nativeCustom,this.logParams),void u.action.doCall("returnShareData",(0,o.default)((0,o.default)({},this.shareInfo),{},{link:this.shareInfo.path,img_url:this.shareInfo.imgUrl}));y().isWeixin()||"qq"===(0,g.getRunEnv)()?(this.instance.handleLog(c.SHARE_LOGGER_CONFIG.nativeCustom,this.logParams),this.$emit("share-mask")):(0,h.default)("请在微信环境下分享");break;case"wxShareInWecom":this.instance.handleLog(c.SHARE_LOGGER_CONFIG.nativeCustom,(0,o.default)((0,o.default)({},this.logParams),{},{sceneType:"wxShareInWecom"})),this.ctx.event.emit("clickCubeIcon",(0,o.default)((0,o.default)({type:t.type},this.shareInfo),{},{link:this.shareInfo.path,img_url:this.shareInfo.imgUrl}));break;case"link":d().navigate({url:t.url});break;case"copy":if(!this.checkLink())return;(0,f.setClipboardData)(this.isMatch?this.matchLink:this.copyText),this.instance.handleLog(c.SHARE_LOGGER_CONFIG.copylink,this.logParams),h.default.success("复制成功"),this.closeMain();break;case"weappLink":if(!this.checkLink())return;var e=this.isMatch?this.matchLink:this.copyShortLink;(0,f.setClipboardData)(e),this.instance.handleLog(c.SHARE_LOGGER_CONFIG.copyWeappLink,(0,o.default)((0,o.default)({},this.logParams),{},{shortLink:e})),h.default.success("复制成功"),this.closeMain();break;case"code":this.needCustomHandle?this.ctx.process.invoke("getCode"):this.processPosterGenerate(this.instance.getCodeOrQrCode.bind(this.instance,this.codeParams),"codePoster");break;case"tuwenPoster":this.handleTuwenPoster();break;case"featurePoster":this.handleFeaturePoster();break;case"zonePoster":this.processPosterGenerate(this.instance.getZoneCodePoster.bind(this.instance),"zonePoster");break;case"saveTextAndPoster":this.instance.handleLog(c.SHARE_LOGGER_CONFIG.saveTextAndPoster,this.logParams),this.isMatchOrPromote&&this.ctx.process.invoke("saveTextImg");break;case"goodsPosters":this.instance.handleLog(c.SHARE_LOGGER_CONFIG.goodsPosters,this.logParams),this.isMatchOrPromote&&this.ctx.process.invoke("genPoster");break;case"custom":this.$emit("customHandle",t)}}},render:k,staticRenderFns:I,_compiled:!0}},37231:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(42345),n(98014)),a=n(669),r=n(34873),s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("van-popup",{attrs:{round:"",show:t.show,position:"bottom","custom-style":t.customStyle,"custom-class":[t.isMatchOrPromote?"cube-pop-border-box":"",t.hasMatch?"cube-pop-match":"",t.hasGrayBg?"cube-pop-gray":""]},on:{"click-overlay":t.handleTogglePanel}},[t.show?n("tee-view",{class:["salesman-pop-frame__container",t.showGoodsDetail?t.isMatchOrPromote?"salesman-pop-frame__match":"salesman-pop-frame__height":""]},[n("tee-view",[t._t("cubeHeader")],2),t._v(" "),t.showGoodsDetail?n("tee-view",{staticClass:"salesman-pop-frame__body"},[t._t("cubeTab")],2):t._e(),t._v(" "),n("tee-view",{staticClass:"salesman-pop-frame__footer"},[t._t("cubeFooter")],2)],1):t._e()],1)},[]],c=(0,i.default)(s,2),u=c[0],l=c[1];e.default={name:"MainFrame",components:{"van-popup":a.default,"tee-view":o.default},props:{show:Boolean,showGoodsDetail:Boolean,customStyle:String,isMatchOrPromote:Boolean},data:function(){return{hasMatch:!1,hasGrayBg:!1}},created:function(){var t=this;(0,r.mapProcess)(this,{setCubePop:function(e){Object.assign(t,e)}})},methods:{handleTogglePanel:function(){this.$emit("close-main-frame")}},render:u,staticRenderFns:l,_compiled:!0}},41216:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",[n("fast-join",{attrs:{"is-cloud":""},on:{successCallback:t.successCallback}}),t._v(" "),n("user-authorize-popup")],1)},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={methods:{successCallback:function(){this.ctx.cloud.emit("onJoinMemberSuccess")}},components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0}},4664:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(8833),a=[function(){var t=this,e=t.$createElement;return(t._self._c||e)("header-block",{attrs:{"shop-info":t.shopInfo}})},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={components:{"header-block":o.default},props:{shopInfo:{type:Object}},render:s,staticRenderFns:c,_compiled:!0}},26577:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(63413),a=n(98014),r=n(34873),s=n(42208),c=n(79228),u=n(69015),l=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("fast-join-c",{attrs:{show:t.show,"user-info":t.userInfo,"launch-args":t.launchArgs},on:{onUpdateCloseStatus:t.onUpdateCloseStatus,onUpdateShopInfo:t.onUpdateShopInfo,onUpdateHeadType:t.onUpdateHeadType}},[n("tee-view",{attrs:{slot:"header"},slot:"header"},[n("fast-join-header",{attrs:{"shop-info":t.shopInfo}})],1)],1)},[]],d=(0,i.default)(l,2),f=d[0],h=d[1];e.default={components:{"fast-join-c":c.default,"fast-join-header":u.default,"tee-view":a.default},props:{isCloud:{type:Boolean}},data:function(){return{show:!1,launchArgs:{},shopInfo:{},userInfo:{}}},created:function(){var t=this;(0,r.mapData)(this,["kdtId"]),(0,r.mapProcess)(this,{launchFastJoinSDK:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.launchFastJoinSDK(e)}}),this.userInfo=this.ctx.data.userInfo,this.unwatchUserInfo=this.ctx.watch("userInfo",(function(e){t.userInfo=e}))},beforeDestory:function(){this.unwatchUserInfo()},methods:{launchFastJoinSDK:function(t){var e=this,n=this.ctx.logger.getLogParams,i=this.$getPageQuery();this.launchArgs=(0,o.default)((0,o.default)({},t),{},{kdtId:this.kdtId,extra:{getLogParamsFunc:n,pageQuery:i},hiddenToast:this.isCloud,successCallback:function(){var n;e.$emit("successCallback"),null===(n=t.successCallback)||void 0===n||n.call(t)}}),this.show=!0},onUpdateShopInfo:function(t){this.shopInfo=t},onUpdateHeadType:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.FastJoinHeadTypeEnum.Normal;this.ctx.data.fastJoinHeaderInfo={type:t}},onUpdateCloseStatus:function(){this.show=!1}},render:f,staticRenderFns:h,_compiled:!0}},91122:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=[function(){var t=this.$createElement;return(this._self._c||t)("tee-view")},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0}},18486:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(34873),a=[function(){var t=this.$createElement;return(this._self._c||t)("div")},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={created:function(){var t=this;(0,o.mapData)(this,["_eoCSS"],{callback:function(e,n){var i;n&&(null===(i=t.$root)||void 0===i||i.setPageStyle(n))}})},render:s,staticRenderFns:c,_compiled:!0}},74127:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=n(6429),r=n(34873),s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isShowShopNav?n("tee-view",[n("shop-nav",{attrs:{"showcase-type":t.showcaseType,"is-middle-page":!0},on:{handleNavData:t.getNavData}}),t._v(" "),t.isShowNavBg?n("tee-view",[n("bottom-tabbar-h5-bg",{attrs:{"custom-background":t.customBackground}})],1):t._e()],1):t._e()},[]],c=(0,i.default)(s,2),u=c[0],l=c[1],d=(0,a.initComponentList)({url:"/wscuser/common/components.json",components:[],pureComponents:["shop-nav"]}),f=(0,i.default)(d,1)[0];e.default={components:{"shop-nav":f,"tee-view":o.default},props:{showcaseType:{type:String,default:_global.showcase_type||""}},data:function(){return{isShowShopNav:!0,customBackground:"",navMode:"h5",navData:[]}},computed:{customStyle:function(){return{backgroundColor:"transparent"}},isShowNavBg:function(){return"common"===this.navMode&&this.navData&&0!==this.navData.length&&1===this.navData.navStyle&&2===this.navData.brandNavStyle}},created:function(){var t=this;(0,r.mapData)(this,["isShowShopNav"]),this.ctx.process.define("setIsShowShopNav",(function(e){t.isShowShopNav=e}))},methods:{getNavData:function(t,e){this.ctx.data.navData=t,this.navData=t,this.customBackground=(null==t?void 0:t.customBackground)||"",this.navMode=e}},render:u,staticRenderFns:l,_compiled:!0}},29826:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=[function(){var t=this,e=t.$createElement;return(t._self._c||e)("tee-view",{staticClass:"bottom-nav-bg",style:{"background-color":t.customBackground}})},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={props:{customBackground:String},components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0,_scopeId:"data-v-986de61"}},13572:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(83812),n(3951),n(86132),n(8208),n(2375),n(10357),n(24973),n(59230),n(87675),n(97415),n(1881),n(51813),n(7091),n(42345),n(44472),n(23815),n(91793),n(63413)),a=n(98014),r=n(41634),s=n(85869),c=n(86545),u=n.n(c),l=n(34981),d=n.n(l),f=n(68154),h=n(8947),p=n(47019),m=n.n(p),g=n(73600),v=n(34445),b=n(88148),y=n(46757),_=n(61762),w=(n(91726),n(84557)),x=n(81976),S=n(31775),k=n(77726),I=n(34873),T=n(13789),C=n(94401),P=n(14594),E=n(20661),A=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.forceShow||t.isTabPage||t.renderCustomTabbar?n("tee-view",[n("tee-view",[4===t.navStyle?n("tee-view",{class:[t.deviceType]},[n("tee-view",{class:["rudder-mask-container"]},[n("tee-view",{staticClass:"rudder-mask-left",style:t.brandStyle}),t._v(" "),n("tee-view",{staticClass:"rudder-mask",style:t.brandStyle}),t._v(" "),n("tee-view",{staticClass:"rudder-mask-right",style:t.brandStyle})],1),t._v(" "),n("tee-view",{class:["rudder-safe-box"],style:t.brandStyle})],1):t._e()],1),t._v(" "),n("tee-view",{class:t.classes,style:t.commonStyle,on:{touchmove:function(e){return e.stopPropagation(),t.preventTouchMove(e)}}},t._l(t.navList,(function(e,i){return n("tee-view",{key:i,staticClass:"tab-bar-item",on:{click:function(e){return t.navCommonClick(i)}}},[n("tabbar-icon",{attrs:{"is-main-icon":(2===t.navStyle||4===t.navStyle)&&e.isMainIcon,"rudder-style":t.rudderStyle,active:t.selectedIndex===i,"active-color":t.selectedColor,"unactivated-color":t.color,type:e.type,text:e.text,"selected-icon-path":e.selectedIconPath,"icon-path":e.iconPath,"link-info":e.linkInfo,"not-coexist":t.notCoexist,"large-text":t.largeText,"img-mode":t.imgMode}})],1)})),1),t._v(" "),3===t.navStyle?n("tee-view",{class:["tab-bg-bar",t.deviceType],attrs:{"data-float":t.isCart}}):t._e(),t._v(" "),1===t.navStyle&&2===t.brandNavStyle?n("tee-view",[n("tee-view",{class:["tab-bg-bar",t.deviceType]},[n("bottom-tabbar-bg",{attrs:{"brand-style":t.brandStyle}})],1)],1):t._e()],1):t._e()},[]],O=(0,i.default)(A,2),L=O[0],M=O[1],R=(0,I.getPlugins)().dmc,D={},N={},G=function(t){return/^http/.test(t)},U="packages/";e.default={components:{"tabbar-icon":r.default,"tee-view":a.default},props:{isNewIphone:Boolean,onlyColorText:Boolean,activePath:String,forceShow:Boolean,nativeSelectedIndex:Number,isOpen:Boolean},data:function(){return{navList:[],navStyleMap:g.NAV_STYLE,selectedColor:"",color:"",navStyle:1,customBackground:"",deviceType:app.deviceType||"",isTabPage:!1,cacheKdtId:"",selectedIndex:0,brandNavStyle:1,notCoexist:!1,imgMode:"center",openCustomTabbar:!1}},computed:{isCart:function(){var t=this.navList[this.selectedIndex]||{};if(!t)return!1;var e=t.pagePath,n=void 0===e?"":e;return(0,S.checkPageType)(n.split("?")[0],S.PAGE_TYPE.CART)},classes:function(){var t="tab-bar";return[t,"".concat(t).concat(3===this.navStyle?"-float":"-legacy"),this.deviceType]},brandStyle:function(){return" background: ".concat(this.customBackground)},commonStyle:function(){var t=this.customBackground||"#fff";return this.navStyle===g.NAV_STYLE.MAIN_ICON||this.navStyle===g.NAV_STYLE.XUAN_FU||this.navStyle===g.NAV_STYLE.DEFAULT&&1===this.brandNavStyle?" background:".concat(t):""},rudderStyle:function(){return this.navStyle===g.NAV_STYLE.MAIN_ICON_STYLE_TWO?{border:"0px",bottom:"19px"}:" "},largeText:function(){return!this.navList.some((function(t){return t.text.length>4}))},renderCustomTabbar:function(){var t=d().isWeappWebview(),e=+m().get("has_weapp_tabbar"),n=!!m().get("use_weapp_custom_tab_bar");return this.isOpen?this.openCustomTabbar:(t||n)&&(e||n)},weappTabbarIndex:function(){var t=m().get("weapp_tabbar_index")||0;return Number(t)}},watch:{nativeSelectedIndex:function(t){var e=this;setTimeout((function(){e.selectedIndex=t}),0)},navStyle:function(t){3===t&&this.ctx&&(this.ctx.data.navHeight=this.deviceType?56:66)}},created:function(){this.webviewNavInit()},methods:{webviewNavInit:function(){var t=this;s.default.init({kdtId:_global.kdt_id}),(0,f.getWeappCustomNav)().then((function(e){t.selectedIndex=t.weappTabbarIndex;var n=e.data||{}||{},i=n.list,a=n.color,r=n.selectedColor,s=n.colorMode,c=n.navStyle,l=n.customBackground,d=n.brandNavStyle,f=void 0===d?1:d,p=n.imgMode,m=void 0===p?"center":p,v=r,b=a,y=i.map((function(t){var n=(0,o.default)({},t),i=null===e.imageSize?null:e.imageSize&&t.isMainIcon?"!160x160.jpg":"!80x80.jpg";return n.iconPath=i?(0,h.cdnImage)(t.iconPath,i):t.iconPath,n.selectedIconPath=i?(0,h.cdnImage)(t.selectedIconPath,i):t.selectedIconPath,n}));if(t.isOpen){var _=y.findIndex((function(e){return e.pagePath.indexOf(t.activePath)>-1||e.pagePath.indexOf(encodeURIComponent(t.activePath))>-1}));_>-1&&(t.openCustomTabbar=!0,t.selectedIndex=_)}s===g.COLOR_MODE.SHOP&&(v=u()(_global,"themeColors",{}).general,b=g.DEFAULT_ICON_COLOR.UNACTIVATED);t.navList=y,t.selectedColor=v,t.color=b,t.brandNavStyle=f,t.navStyle=c||1,t.imgMode=m,t.customBackground=l||"#fff"}))},navCommonClick:function(t){this.handleNativeTabbarChange(t)},handleNativeTabbarChange:function(t){var e,n=this,i=m().get("use_native",location.href),o=+m().get("is_ecloud",location.href),a=this.navList[t],r=a||{},c=r.pagePath,u=r.linkType,l=r.alias,f=d().isWeappWebview(),h=(null===(e=this.navList[t])||void 0===e?void 0:e.pagePath)||"";if("pages-retail/usercenter/dashboard-v2/index"!==h)if(h.includes(U+"retail-shelf/shelf/index"))s.default.navigate({weappUrl:"/".concat(h,"&alias=").concat(l,"&webview=1&navIndex=").concat(t).concat(this.isNewIphone?"&isNewIphone=1":""),type:"reLaunch"});else if(u&&c.startsWith("use_link_type"))(0,P.jumpToLink)(a,{isWeappWebview:f});else if(i){var p={navIndex:t};this.isNewIphone&&(p.isNewIphone=1);(0,v.graySwitchTab)(this.navList,{fail:function(){n.handleTabbarChange(t)},useFail:!!o,query:p,tabBarIndex:t},(function(e){s.default.navigate({weappUrl:"".concat(e,"?navIndex=").concat(t).concat(n.isNewIphone?"&isNewIphone=1":""),type:"switchTab"})}))}else this.handleTabbarChange(t);else s.default.navigate({weappUrl:"/".concat(h,"?navIndex=").concat(t).concat(this.isNewIphone?"&isNewIphone=1":""),type:"reLaunch"})},handleTabbarChange:function(t){var e=this.navList[t]||{},n=e.pagePath,i=e.customPage||n.startsWith("pages/common/webview-page")?n.replace(/^\/?pages(-|\/)/,"/pages/").replace(/^\/?packages(-|\/)/,"/"+U):n.replace(/^\/?(pages|packages)(-|\/)/,"/"+U);s.default.navigate({weappUrl:"".concat(i,"?navIndex=").concat(t).concat(this.isNewIphone?"&isNewIphone=1":""),type:"reLaunch"})},spliceKdtIdAndKey:function(t,e){var n=e||app.getKdtId()||extKdtId;return"".concat(n).concat(t)},getCurrentPage:function(){var t=getCurrentPages()||[];return t[t.length-1]||{}},getCacheMap:function(t){var e=this,n=this.getCurrentPage();if(app.forceUseHqTabbar()||!(n.options||{}).showcaseTplfromRoute){var i=(0,_.default)(n.route),a=D[this.spliceKdtIdAndKey(i)]||{isTabPage:!1,selectedIndex:this.nativeSelectedIndex||""},r=(0,o.default)((0,o.default)({},cacheMap[t]),a);N[t]&&(app.globalData.tabbarOriginList=N[t]),Object.assign(this.data,r),setTimeout((function(){e.setSelectedIndex(n,a.selectedIndex)}),0)}else this.initNavData(t)},initNavData:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.count,a=void 0===i?1:i,r=n.refresh,s=void 0!==r&&r;app.getWeappCustomNav(t,s).then((function(n){var i=n.data||{},a=n||{},r=a.imageSize,s=a.themeMainBg,c=a.isDecorateFollowHq,u=i.list,l=i.colorMode,d=void 0===l?g.COLOR_MODE.CUSTOM:l,f=i.navStyle,h=void 0===f?1:f,p=i.color,m=i.customBackground,v=i.imgMode,b=void 0===v?"center":v,y=2!==h&&i.notCoexist;e.brandNavStyle=i.brandNavStyle||1,e.imgMode=b;var w=(0,_.adaptorTabbarOriginList)(u);app.trigger(C.LIST_EVENT_NAME,w);var x=e.processNavList(w,t,null===r?null:r||"!80x80.jpg"),S=(0,o.default)((0,o.default)({},x),{},{navStyle:h,notCoexist:y,imgMode:b});N[t]=w,app.globalData.tabbarPageList=(0,E.default)((x||{}).navList||[]),app.globalData.tabbarOriginList=(0,E.default)(w),app.isChainStoreSync&&+t===getRootKdtId()&&(app.globalData.tabbarHqOriginList=mapKeysCase.toSnakeCase((0,E.default)(w))),-1===S.selectedIndex&&(S.selectedIndex=e.data.selectedIndex);var k=function(n){var a=d===g.COLOR_MODE.SHOP,r={color:a?g.DEFAULT_ICON_COLOR.UNACTIVATED:p,selectedColor:a?n:i.selectedColor,customBackground:m};a&&!e.isOpen&&delete S.selectedIndex,setCacheMap(t,(0,o.default)((0,o.default)((0,o.default)({},S),r),{},{isDecorateFollowHq:c})),Object.assign(e.data,cacheMap[t])};s?k(s):app.getShopTheme().then((function(t){k(t.colors["main-bg"])}))})).catch((function(){a>3||e.initNavData(t,{count:a+1,refresh:!0})}))},processNavList:function(t,e,n){var i,a=this,r=!1,s=-1,c=this.getCurrentPage();if(c.options&&c.options.showcaseTplfromRoute){var u=decodeURIComponent(c.options.showcaseTplfromRoute);i=(0,_.default)(u)}else i=(0,_.default)(c.route);var l=t.map((function(t,c){var u=(0,o.default)({},t),l=u.iconPath,d=u.selectedIconPath,f=u.customPage,p=u.pagePath,m=u.isMainIcon,g=n&&m?"!160x160.jpg":n;G(l)&&(u.iconPath=g?(0,h.cdnImage)(l,g):l),G(d)&&(u.selectedIconPath=g?(0,h.cdnImage)(d,g):d);var v=(0,_.getTabInnerPath)({customPage:f,pagePath:p}),b="";v&&/^pages\/home\/(tab|dashboard)/.test(v)&&(b=a.spliceKdtIdAndKey(v.replace(/^pages(-|\/)/,U),e)),u.pagePath="".concat(0===v.indexOf("/")?v:"/".concat(v),"?navIndex=").concat(c),v===i&&(r=!0,s=c);var y=a.spliceKdtIdAndKey(v,e);return D[y]||(D[y]={isTabPage:!0,selectedIndex:c}),b&&!D[b]&&(D[b]={isTabPage:!0,selectedIndex:c}),u}));return{isTabPage:r,selectedIndex:s,navList:l}},retailUserCenterSelectIndex:function(){var t,e="retail/usercenter/dashboard-v2/index";if((null===(t=getCurrentPages()||[])||void 0===t?void 0:t[0].route)==="".concat(U).concat(e))return app.globalData.tabbarOriginList.findIndex((function(t){return("pages-"+e).startsWith(t.pagePath)}))},setSelectedIndex:function(t,e){var n=(t.options||{}).navIndex;isNaN(+n)&&isNaN(+e)&&isNaN(+this.retailUserCenterSelectIndex())||(this.selectedIndex=+(n||e||this.retailUserCenterSelectIndex()))},wxSwitchTab:function(t){var e=this,n=this.navList[t],i=n||{},a=i.extraData,r=i.pagePath,s=i.linkType,c=t,u=app.globalData.tabbarOriginList,l=r.split("?")[0];if((0,S.checkPageType)(l,S.PAGE_TYPE.CART))return this.switchToCart(r);if((0,b.checkShelfPage)(l))this.switchToRS(u,c);else{var d=u.find((function(t,e){return e===c}))||{},f=d.linkInfo,h=d.attachedId,p=d.alias;if("chat"!==(f||{}).linkType)if(a&&"2"===a.link_type)(0,P.jumpToLink)((0,o.default)((0,o.default)({},n),{},{linkType:"weapplink",extraData:(0,o.default)((0,o.default)({},a),{},{linkType:"2"})}),{});else{var m={};"feature"===h&&p&&(m.alias=p);var g={tabBarIndex:c,query:(0,o.default)({navIndex:c},m),useFail:!!s,fail:function(){e.switchTab(t)}};s||delete g.useFail,(0,T.nativeSwitchTab)(u,g)}}},switchTab:function(t,e){var n=this.navList[t],i=n.active,a=n.extra,r=n.pagePath,s=n.linkType;if(!i)if((0,y.loggerNavigate)({path:r}),s)(0,P.jumpToLink)(n,{});else{this.setRetailGlobalData(r);var c=getCurrentPages()||[],u=r.split("?")[0],l=g.IN_DMC_ROUTE[u];if(l){var d=m().getAll(r),f=c.length>1?"reLaunch":"redirectTo";R[f](l,d)}else{if(c.length>1)return(0,b.isTabPageInPageStack)()?(0,b.isTabPagePath)(r)?R.switchTab(r):(0,y.redirect)({url:e||r}):wx.reLaunch({url:r});(0,S.checkPageType)(u,S.PAGE_TYPE.CART)?this.switchToCart(r):a&&"2"===a.link_type?(0,P.jumpToLink)((0,o.default)((0,o.default)({},n),{},{linkType:"weapplink",extraData:(0,o.default)((0,o.default)({},a),{},{linkType:"2"})}),{}):(0,b.isTabPagePath)(r)?R.switchTab(r):(0,b.isCurrentTabPage)()?(0,y.navigate)({url:e||r}):(0,y.redirect)({url:r})}}},switchToCart:function(t){var e=t.split("?")[0],n={store_id:app.getOfflineId()||0,supportReviveGroup:!0,supportCombo:!0,excludedComboSubType:'[""]'},i="进总部不走预请求";(0,w.navigateToNextPage)({navigatePath:e,navigateCb:function(e){var n=getApp().globalData.isRetailApp&&!isHqEnterShop()?200:0;setTimeout((function(){(0,S.navigateToRantaPage)({url:t,type:(0,b.isCurrentTabPage)()?S.NAVIGATE_TYPE.NAVIGATE:S.NAVIGATE_TYPE.REDIRECT,pageType:S.PAGE_TYPE.CART,query:{prefetchKey:e}})}),n)},prefetchCb:function(){return isHqEnterShop()?Promise.reject(i):new Promise((function(t,e){(0,k.default)({data:n,path:"/wsctrade/cartGoodstList.json",method:"GET"}).then(t).catch(e)}))}});var o="trade-cart-addon-prefetchkey_"+Date.now();(0,x.setStorageSync)(o,o),(0,w.createPrefetchData)({prefetchKey:o,prefetchCb:function(){return isHqEnterShop()?Promise.reject(i):app.request({path:"/wsctrade/cart/getCouponAddOnInfo.json",method:"GET",data:{kdt_id:app.getKdtId()||0,store_id:app.getOfflineId()||0},withCredentials:!0})}})},setRetailGlobalData:function(t){var e=t.match(/mode=(\d*)/);e&&e[1]&&(app.globalData.shelfParams={mode:e[1]})},switchToRS:function(t,e){var n,i=this,a=t[e],r=a.pagePath,s=a.extra,c=a.extraData,u=a.alias;null===(n=app)||void 0===n||n.asyncRetailUtils().then((function(n){(0,n.prefetchShelf)(m().add(r,s),(0,o.default)((0,o.default)((0,o.default)({},s),c),{},{alias:u,customJump:function(n){var a=n.prefetchKey,l=n.prefetchKdtId,d=n.enterConfig;(0,T.nativeSwitchTab)(t,{path:r,query:(0,o.default)((0,o.default)({},s),{},{prefetchKey:a,prefetchKdtId:l,enterShopId:d.enterShopId}),fail:function(){var t=app.retailShelfJump((0,o.default)((0,o.default)({},c),{},{alias:u,linkUrl:r}));i.switchTab(e,t)}})}}))}))}},render:L,staticRenderFns:M,_compiled:!0}},80473:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(87675),n(59230),n(15263)),a=n(98014),r=n(73600),s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isMainIcon?n("tee-view",{staticClass:"tab-bar-main base-flex",style:[t.rudderStyle,{backgroundColor:t.activeColor}]},[t.isShowSrc?n("tee-image",{staticClass:"tab-bar-main__image",style:t.mImgStl,attrs:{src:t.iconName}}):n("tee-view",{class:t.iconCls,staticStyle:{"font-size":"32px",color:"#fff"}})],1):n("button",{staticClass:"ad-button",attrs:{"open-type":t.isShowCnt?"contact":""}},[n("tee-view",{staticClass:"tab-bar-item base-flex"},[t.coexist?[t.isShowSrc?n("tee-image",{staticClass:"tab-bar-item__image",attrs:{src:t.iconName}}):n("i",{class:t.iconCls,style:t.iconStl})]:t._e(),t._v(" "),t.showText?n("tee-view",{style:t.textStl,attrs:{"i18n-force":"","i18n-ellipsis":"70"}},[t._v(" "+t._s(t.text))]):t._e()],2)],1)},[]],c=(0,i.default)(s,2),u=c[0],l=c[1];e.default={name:"TabbarMainIcon",components:{"tee-view":a.default,"tee-image":o.default},props:{isMainIcon:Boolean,rudderStyle:{type:[String,Object]},type:String,iconPath:String,selectedIconPath:String,active:Boolean,activeColor:{type:String,default:r.DEFAULT_ICON_COLOR.ACTIVE},unactivatedColor:{type:String,default:r.DEFAULT_ICON_COLOR.UNACTIVATED},text:String,navStyle:{type:Number,default:1},linkInfo:{type:Object,default:function(){return{}}},notCoexist:Boolean,imgMode:{type:String,default:"center"},largeText:Boolean},data:function(){return{isShowSrc:!1,iconName:"",size:24}},computed:{coexist:function(){return!this.notCoexist||this.active},showText:function(){return!this.notCoexist||!this.active},color:function(){return"color: ".concat(this.active?this.activeColor:this.unactivatedColor)},iconStl:function(){return"".concat(this.color,";font-size: ").concat(this.size,"px")},textStl:function(){var t=this.notCoexist&&!this.active?0:4;return"".concat(this.color,";font-size:").concat(this.notCoexist?this.largeText?16:14:10,"px;margin-top:").concat(t,"px;line-height:").concat(this.notCoexist&&this.largeText?16:14,"px;font-weight:").concat(this.notCoexist?"bold":"normal")},isShowCnt:function(){var t;return"chat"===(null===(t=this.linkInfo)||void 0===t?void 0:t.linkType)},iconCls:function(){var t="";return t=this.type&&this.active?"".concat(this.type,"-active"):this.type?this.type:this.active?this.selectedIconPath:this.iconPath,this.isShowSrc=0===t.indexOf("http")||0===t.indexOf("data:image")||0===t.indexOf("//"),this.iconName=t,"yt-".concat(t," yt")},mImgStl:function(){return"fill"===this.imgMode?"width:58px !important; height:58px !important; border-radius:50%; position:absolute; top:-1px; left:-1px":""}},render:u,staticRenderFns:l,_compiled:!0}},28097:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(34642),n(2375),n(47691),n(79575),n(81454),n(83855),n(98014)),a=n(34981),r=n.n(a),s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",[t.isWeappWebview?n("shop-nav-weapp",{attrs:{"is-open":"","active-path":t.activePath}}):n("shop-nav-h5",{attrs:{"showcase-type":"cloud"}})],1)},[]],c=(0,i.default)(s,2),u=c[0],l=c[1];e.default={computed:{activePath:function(){var t=new URL(location.href);return t.host+t.pathname},isWeappWebview:function(){return r().isWeappWebview()}},components:{"tee-view":o.default},render:u,staticRenderFns:l,_compiled:!0,_scopeId:"data-v-333eaef"}},63061:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=n(98014),a=[function(){var t=this,e=t.$createElement;return(t._self._c||e)("tee-view",{class:["tab-bg-color"],style:t.brandStyle})},[]],r=(0,i.default)(a,2),s=r[0],c=r[1];e.default={props:{brandStyle:{type:String,default:""}},components:{"tee-view":o.default},render:s,staticRenderFns:c,_compiled:!0,_scopeId:"data-v-cf312a1"}},17262:function(t,e,n){"use strict";n.r(e),n.d(e,{OCR_STATUS:function(){return v}});var i=n(27455),o=(n(3951),n(87675),n(2375),n(23815),n(15263)),a=n(98014),r=n(16335),s=n(37115),c=n(46932),u=n(57635),l=n(8947),d=(n(99304),n(69681)),f=n(26128),h=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"uploader"},[n("van-uploader",{attrs:{accept:"image","preview-size":"64",disabled:t.value.length>0||t.disabled},on:{"after-read":t.onAfterRead}},[t.value?n("tee-view",{staticClass:"idcard__uploader__content"},[n("tee-image",{staticClass:"idcard__uploader__img",attrs:{src:t.value,mode:"aspectFit"}}),t._v(" "),t.disabled?t._e():n("van-icon",{staticClass:"idcard__uploader__icon",attrs:{name:"clear"},on:{click:t.onDelete}})],1):t._t("empty")],2),t._v(" "),n("tee-view",{staticClass:"idcard__uploader__label"},[t._t("label")],2),t._v(" "),t.showCanvas?n("canvas",{style:t.canvasStyle,attrs:{id:"firstCanvas",type:"2d"}}):t._e(),t._v(" "),n("van-toast",{attrs:{id:"van-toast"}})],1)},[]],p=(0,i.default)(h,2),m=p[0],g=p[1],v=((0,l.cdnImage)("fix-base64/50aa80a1d9471b98c263afaf0407e7fe607f8013a945a9d1730302b61ba9f316.png"),{PENDING:1,SUCCESS:2,FAIL:3});e.default={components:{"van-uploader":r.default,"van-icon":s.default,"van-toast":u.default,"tee-view":a.default,"tee-image":o.default},props:{value:String,disabled:Boolean,kdtId:Number,side:String,orcValid:Boolean},data:function(){return{showCanvas:!1,canvasSize:{height:0,width:0},time:{front:10,back:10},timer:{front:null,back:null}}},computed:{canvasStyle:function(){var t=this.canvasSize;return"width: ".concat(t.width,"px!important; height: ").concat(t.height,"px!important; position: fixed; left: -").concat(t.width,"px; top: -").concat(t.height,"px")}},watch:{value:function(t){}},methods:{clearTimeAndTimer:function(t){clearInterval(this.timer[t]),this.timer[t]=null,this.time[t]=10},checkOcrValid:function(t){var e=this;if(!this.orcValid)return Promise.resolve(t);var n=c.default.loading({message:"正在上传",duration:8e3}),i=this.side;return(0,d.submitOCR)({photoUrl:t,bizId:"16",side:i}).then((function(t){var n=t.bizNo;return new Promise((function(t,o){var a=e.time;e.timer[i]=setInterval((function(){a[i]>=0?(a[i]--,e.queryOCRResult(n,i,t).catch(o)):(t(),e.clearTimeAndTimer(i))}),1e3)}))})).then((function(){return n.clear(),t})).catch((function(t){var o=(null==t?void 0:t.data)||{};throw n.clear(),e.clearTimeAndTimer(i),o}))},queryOCRResult:function(t,e,n){var i=this;return(0,d.queryOCR)({bizNo:t,bizId:"16"}).then((function(t){if(t.status===v.SUCCESS){var o=t.idCardName,a=t.idCardNo;a&&i.$emit("ocrIdCardInfo",{idCardName:o,idCardNo:a}),n(),i.clearTimeAndTimer(e)}}))},onAfterRead:function(t){var e=this,n=t.file;this.loadImage("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAT4AAADQBAMAAABsLxBFAAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMAJQQJDh8TGxeSfSiUAAAL5UlEQVR42u1dTZPbRBAdj7S2j/tsS/JRJsnuHiWICUcrYQNHxCYhRykhkOPKW1A5rpYQ/jbq7rHGBFJUcek58CprK8mla0b9+vXHzJr/8V9gTdCIfjAhw3bYmYDRAt+ZcFEBSE2w2AJ3FXITKC6AG3OCWxMmpsAzYyIsTZCIa3n1+syEiKjDmt+8TZAMY3tgwU9znJrwUAFY8zrWITLMFmhK5LKO4THMObA3M1xTAMkeBccwU+DKGIulqZDsgmOYCFgxsySPgIa+TVCwyByzAHchMkwrCzYDrpipQ2OYEzTCLC501IExTIwFS1OgYHcJjmG6NRHf+hzXbC2G71BgaalKFBWSwmIlASQghmmvOeY+BzltC1rHNG+DYBh62S55qSyAV8P3BE1LZDMJgWG2g2WPhPFMhb04SoKkEIdRR5+Rot+PDEOoIQ/12qhjg6ek6BkRL5i3twyAYaYAUs8wwiwu/Z0FoGEisKK/KGQxC2KWFVYmkBBnWw4XU1ox/rIdUtMiFJFfAbg18WGPkba0nM5RWtX9/bphRf8ay6gDkDtzPbNcItH0D5yacyK+PumRznErDCOc3GXGPCCWUUS9FEW/IQ+xWI4aRkKxmWJvNNGvpuynJW9plYnRK/EM8pfXRhXV2qaStdHXiWysM5M0jDZKNuUM6Mk3ImGYifgJMYw2NokEiz2nvOfCMDOnWU6ujDYmYBl6xSnvhZMwMa5DKeCTfRYpp7y0jGKXfsjw+Rq9Z2uX8h72MwTNxxCPnXD0PZYwyklHtBvto62MyW1JzXtWNKroFt6+lAmZg65nbeWsvF96+4jrSmyBCsGsX7vy/ktcMgfQTNGEYl+VevtIE1givsizSvTEqKIcCCXmPd5knIC3V6xlDONLo43N2kR1wpamnIDHR7t+qZ+wbTLbC51UK1F7m/fDM9H0/Q76FYNhV5EUvGZLySdbZO+r5N7T30GJsBoe7MQ+HGT7bMEy2bzBiN+MHjoxqyR/FTRmzmrlyxqMl4XRg62BxnVPHbxMvt8lH34sjCoievunwMr9dayJE0IoRdoO98a2mu2bo4pVHMS8QfSuw0HetfIQYxFON9X2SOp07AT6ipWpg+hGV8COS3pSNyAIw8zwvdEHrZm8cGdezhPD2Fo3rFnfPeWSXgysjhmm1PXe6OXYPR2A1V974xXMVLVMZTsUbN/KMV7nsw3HMJ8bPdjWGfZSjNpwhc8j0kwo44WpkH7sxEtzjE6xktFmW6zzj5yY/cTjzOhBNvPCB68LAGvqYoWBGbATz/DDVfViC6wf58bce6orWYTo4hrN8XBVtzQtHBqjiajGIFk63Bn7zg9XUYL7DRi6qsD2uJqhJlpukYs8KFyqFr/9BXj+TnV/ifgs7bDjmErWq9WvLDOYWbYAPUk+iSaEAsYBk6wgTYDiwgWMmdBeHYCUj6ggT8ySPMSL0Q3CKeCWePmY6WVnamLj+NpzTghTIy13JUvcEcfsB2JJvV4JIdX4hpPd2Q1zDH14gVzqN14I93/PZSFT+sh8I7cLaarqkjjmEulnTlMFMjPiBzaJY4j92mRUNI0JBRfkv8x+US1eEdZUZImGOKZhBxHWi5ULLdGNEdyj3Jbp5Y4c5Mq5Rak70WL7bBzW/LWgL9yQl6zMBrnMmBpNtGMsqwHshe0eIc3NAxk61C1kbIFDdP1ZHmdoLsh/py5rO9PLxKXq44dav6yvub9L/hsD+o57BuyPR85sLjvekLBv1ONuDDz7+8jZBHuilzv1Eqmr+tiPCI7MaikFiVR1Hw8G50IsRyY31N/dcv5b6eq+lkIt4Wio1ZJJJZAal4PooRqJb3a0j/TKzcWwVtc9gGb0Ev8CdoOp1hXqdWVLhfzYSy4K38tvAxjCJVrxXjJySbUyMkGiDlcF5dYpT7i6XnkwvSEWLpfsJXac1pww13QhFAyoQ0XnhmQR3eGrCXgV1SOvTAbz2LdQjdvuExiRqWrwirnOgKuxsyY6dabvGqNirqQpFAH7sSE5h3qtoIJjvpmLv/XabTd9qieTvJuMiOJvnB8EIOvUWDMb8j0/ARFf1whTu4ASJXrrZ3Pf8/Maa0ECMIijEeX3vk/qs7ds+GSHmWon4sCTGuwFuX8XWxTiulGHzKiiApCR1puufPZGsZZ+bA8oc0sEJEXNzXB/bQG5Lf20SB4mutxcEbN0i6gThpFGB7NLCdYJussnR9a6ZY9UYm2XyLjD7fCj36B0Y1Q9sM7FYTcoXHppiRR1cRijoo6aCGSJaMIu6ucmoxqHMZvdKJCxcuml+rlJFsjfc8Gl8WdeKhyOrMVr3XGbHslXQBED+5+e5OK0MijiGgrqzLKjlil1dgG8eExO61KkKoB7H7hPajvu3YPwvTBMv6YQ91Zdk54we7SsR+992wG3B4b5FrizdyYEVMjuP5Y6abeT2uMUgPqpoTZ3WiXZTcCPX4wMU+sfCnM9+gtiljKTx7Hpp3/p0hZYiBi4OwxiAM2BYWba6dAF0GXiqrSdC4kkw5djGGVJNQX2JyicGLA4JZZJ22ysOuuZd3bNW3llIpfYXtOaMcmwPCAjNdGdUkqxGqtRNXfUKmQFOa9+ka9dutKja/RViekzIhknD2bKUaNacYF+rFnM8ArLkh4lASmV7Ssha2V3Uu+OsOyu2Wt528+gLEk3Tuq1C1M5hrEFi/keqYnVFf2GCFkG0RzDiNeKTLDqcXeSmTcFRd1CGEa89gRvwJx836gh+vB1Pti3ttjxPIZnmOH/1KsEcv7w13wz2PcTeJOLMhGPcWeKlHGCAaZMDQYUdJ/MXBiGPjd7o457T7uMOkHAC3xnLpDJBJ/FIohT4iJB+6Wh0eDVlPa4TY3RD7l/QX0aoTEb1LjhEBdKX+312GmOsSNfeWaifIrbQPpql4kRfNVMkZNEMKZr3Bn7Wj3bOIffw+itqYCMD5BX6yBuLzrc6dC9e+1yti0KSosmbNlcl/xELxMAJK+4WEWxbY5CNJZVTTd8l9nWPEvVo+HYZgcbhz+q6UbUcOojtylQFQPXZnMn6jmqU3oHVYFTudPB9s4QWxhLVk9x1+GG6FoVOK3k0h2sjUc7GAuu7Nba65cAcvvTyCHfSkGjRxrAvV41cMf09/U4NSWeu2W53GurPg6zU2pj1MsxAhuLl3ICRr1ORRJZkp4qM4J+cRgv5VdTF91CbgYylA1Vh9sKzIQru6qaPvrwJKfN5LxxQITn8gpWtKR7jnOaYW0GJL8ZnLZYn314wimGdMLLMM4dTAAsLRJkxfCYkpPcSAYcwhiaMfbh2/o0xh+4JfZbxWMGOQlGzttiitesAB7+1iGlJ5n1CgYxim51GOejJ7IvgHM5XiybMnFDr/REONG3b7s49uMdj/PJEFU+/IO6fefwLkpVoPPDZMFpdUv2KWcbUwDsHj98eMw3QALviatNzyO5c+V0NwaSsY32giumV/PBRH7aqdtHg8EybjYHkHL2wWRN9t6qX8gndyrhVCj696WVsPbwTRbGPds8GOzvtsunyMTY+x2uavUjdcIkUhcQPC9ax9Ar9WxovL9642NYLn9pkSpfGWifFjQY/HEMszR8K6ciItVC1eC0Gyfx2CTBFHmM5hxJoX00IsL1NMXKWbUb7SsM1hxAHulmQ0QqeYlCbL0dV3Vnen4rL7SzIWKPKRbjgRwCW1qycq6VB13FO3uJ/uIJztLJM3p6cGN00a/YMxZur325IDJBgHnYdCikSOBQB3BLgaBy9wavJC8XqFf4HHxQ67E/sko/pn189GoKFIHax6RCsaxw9gV0CwrZ55aqR1Z7+8IoZ7B9ib/gcLSvCsg+NH4s99fC/WsY5RY+fziuWowB7z/nlkJuAkG/qNejfQkGJO9emXDQnYp6kY7aWYcBwQSPAfV3c8cwMtry5S9h/fbO+tYeFOgGrga4M+HgQTMO9FfB1CCPkVNdPoi7yT+FGItgrqb6R3TrQH5dzicgDHOiP630CczxXQgDD5+ExSqQX3f1CbQwJgrp6qdjyKunf6TzX+4HOA9hoOpT6DKa0gwXm5AXb8A8KM3yd9iAnYPxxPyP/4A/AZdV/zAm8OVzAAAAAElFTkSuQmCC").then((function(t){return(0,f.default)(n.url,{watermark:t})})).then((function(t){return t.data.attachment_full_url})).then((function(t){return e.checkOcrValid(t)})).then((function(t){c.default.success({message:"上传成功",context:e}),e.$emit("change",t)})).catch((function(t){c.default.fail({message:t.msg||"选择图片失败",context:e})}))},loadImage:function(t){var e=new Image;return new Promise((function(n,i){e.onload=function(){n(e)},e.onerror=i,e.src=t}))},createImage:function(t,e){return new Promise((function(n,i){var o=t.createImage();o.src=e,o.onload=function(){return n(o)},o.onerror=i}))},onDelete:function(){this.$emit("change","")}},render:m,staticRenderFns:g,_compiled:!0,_scopeId:"data-v-8dfce03"}},53041:function(t,e,n){"use strict";n.r(e);var i=n(27455),o=(n(3951),n(10357),n(60291),n(11729),n(2375),n(59230),n(63413)),a=n(15263),r=n(98014),s=n(76449),c=n(3337),u=n(41837),l=n(37115),d=n(46932),f=n(669),h=n(79780),p=n(23025),m=n(59860),g=n(38617),v=n(69681),b=n(19690),y=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tee-view",{staticClass:"idcard-popup-container"},[n("action-sheet",{attrs:{"custom-class":"idcard","z-index":101,show:t.isShow},on:{close:t.onClose}},[n("tee-view",{staticClass:"order-action-sheet"},[n("tee-view",{staticClass:"order-action-sheet__title"},[n("tee-view",[t._v("\n 填写身份信息\n "),n("van-icon",{staticClass:"idcard__info",attrs:{name:"info-o"},on:{click:t.onShowTip}})],1),t._v(" "),n("tee-view",{staticClass:"order-action-sheet__close",on:{click:t.onClose}},[n("van-icon",{attrs:{name:"cross"}})],1)],1),t._v(" "),n("tee-view",{class:["order-action-sheet__body","order-action-sheet__body-padding"],style:t.bodyStyle},[!t.ignoreIdBinding&&t.hasHaitaoGoods?n("tee-view",{class:["idcard__tip",t.idcardDisabled?"idcard__tip__disabled":""]},[t._v("\n "+t._s(t.idcardDisabled?"你已完成身份绑定,每个用户仅能绑定一个身份证号购买跨境商品,且绑定后不可换绑,如有疑问请联系商家。":"根据海关最新要求,每个用户仅能绑定一个身份证号购买跨境商品,且绑定后不可换绑,请谨慎填写。")+"\n ")]):t._e(),t._v(" "),t.initFieldShow?n("van-field",{attrs:{"input-class":t.idCardClass,value:t.idcard.name,clearable:"",label:"真实姓名","title-width":"72px",maxlength:15,readonly:t.orderCreated,"error-message":t.errorInfo.name,placeholder:"请填写真实姓名","label-class":"idcard__field--label",disabled:t.idcardDisabled},on:{input:t.onInputName,focus:t.onInputFocus,blur:t.onInputBlur,clear:t.onClearName}}):t._e(),t._v(" "),t.initFieldShow?n("van-field",{attrs:{"input-class":t.idCardClass,value:t.idcard.number,clearable:"",label:"身份证号",type:"idcard","title-width":"72px",maxlength:18,readonly:t.orderCreated,"label-class":"idcard__field--label","error-message":t.errorInfo.number,placeholder:t.idcard.name?"请填写"+t.idcard.name+"的真实身份证号":"请填写真实身份证号",disabled:t.idcardDisabled},on:{input:t.onInputIdNumber,clear:t.onClearNumber}}):t._e(),t._v(" "),t.isRequiredIdCardPhoto?n("tee-view",[n("van-cell",{attrs:{title:"身份证照","title-class":"idcard__label","custom-class":"idcard-label-class","value-class":"idcard__value"}},[n("tee-view",{staticClass:"idcard__uploaders"},[n("uploader",{staticClass:"idcard__uploader",attrs:{"kdt-id":t.kdtId,value:t.idcard.backPhoto,"orc-valid":t.orcValid,side:"front",disabled:t.idcardDisabled&&(!t.isRequiredIdCardPhoto||t.orderCreated)},on:{change:t.onBackPhotoChange,ocrIdCardInfo:t.handleOcrIdCardInfoChange}},[n("tee-view",{staticClass:"idcard__uploader-text",attrs:{slot:"label"},slot:"label"},[t._v("人像面")])],1),t._v(" "),n("uploader",{staticClass:"idcard__uploader",attrs:{"kdt-id":t.kdtId,value:t.idcard.frontPhoto,"orc-valid":t.orcValid,side:"back",disabled:t.idcardDisabled&&(!t.isRequiredIdCardPhoto||t.orderCreated)},on:{change:t.onFrontPhotoChange,ocrIdCardInfo:t.handleOcrIdCardInfoChange}},[n("tee-view",{staticClass:"idcard__uploader-text",attrs:{slot:"label"},slot:"label"},[t._v("国徽面")])],1)],1)],1),t._v(" "),n("van-cell",{attrs:{title:"拍摄须知",label:"为保障你的资金安全,请上传居民身份证照片。照片避免缺边缺角,避免拍摄模糊不清,避免照片曝光过度。",border:!1}}),t._v(" "),n("tee-view",{staticClass:"idcard__example"},[n("tee-image",{staticClass:"idcard__example__image",attrs:{src:"//img01.yzcdn.cn/public_files/2019/12/16/784a73a4dbc92e18c1704c110926c30f.png",mode:"widthFix"}})],1)],1):t._e(),t._v(" "),t.showIdCardList?n("tee-view",{staticClass:"idcard__list__wrapper idcard__list__tri"},[n("tee-view",{staticClass:"idcard__list__title"},[t._v("历史身份信息")]),t._v(" "),n("tee-view",{staticClass:"idcard__list",attrs:{"scroll-y":""}},t._l(t.idCardList,(function(e){return n("tee-view",{key:e.number,staticClass:"idcard__list__item",on:{click:function(n){return t.onSelectIdCard(e)}}},[t._v("\n "+t._s(e.name)+","+t._s(e.number)+"\n ")])})),1)],1):t._e()],1),t._v(" "),t.buttonText?n("tee-view",{staticClass:"order-action-sheet__bottom"},[n("van-button",{attrs:{round:"",block:"",type:"danger","custom-class":"order-action-sheet__add",color:t.themeColors.general||"var(--main-bg, #323233)","text-style":"color: #fff"},on:{click:t.onSave}},[t._v("\n "+t._s(t.buttonText)+"\n ")])],1):t._e()],1)],1),t._v(" "),n("van-popup",{attrs:{show:t.showTips,round:"","z-index":101,"custom-class":"info-dialog"},on:{close:t.onCloseTip}},[n("tee-view",{staticClass:"info-dialog__title"},[t._v(" 为什么要上传身份信息 ")]),t._v(" "),n("tee-view",{staticClass:"info-dialog__content",style:{whiteSpace:"pre-line"}},[t._v("\n 请你务必正确填写身份信息,以确保你购物的商品顺利通过海关检查。(“"+t._s(t.shop.shopName)+"”承诺所传身份身份证明只用于办理跨境商品的清关手续,不作其他用途使用,其他任何人均无法查看)\n ")]),t._v(" "),n("van-button",{attrs:{round:"",block:"",type:"danger","custom-class":"info-dialog__button",color:t.themeColors.general||"#ee0a24","text-style":"var(--main-text, #fff)"},on:{click:t.onCloseTip}},[t._v("\n 我知道了\n ")])],1),t._v(" "),n("van-dialog",{ref:"idcardDialog"})],1)},[]],_=(0,i.default)(y,2),w=_[0],x=_[1];e.default={components:{"van-cell":c.default,"van-field":u.default,"van-icon":l.default,"van-dialog":p.default,uploader:s.default,"action-sheet":g.default,"van-popup":f.default,"van-button":h.default,"tee-view":r.default,"tee-image":a.default},props:{isShow:{type:Boolean,default:!1},kdtId:{type:Number,default:null},idCardClass:{type:String,default:""},idCardInfo:{type:Object,default:function(){}},orderCreated:{type:Boolean,default:!1},receiveByGroupHeader:{type:Boolean,default:!1},themeColors:{type:Object,default:function(){}},idCardScene:{type:String,default:"haitao"},isRequiredIdCardPhoto:{type:Boolean,default:!1},isAllowEdit:{type:Boolean,default:!0}},data:function(){return{idcard:{name:"",number:"",backPhoto:"",frontPhoto:"",verifyFalse:!1},shop:{shopName:""},showTips:!1,errorInfo:{name:"",number:""},showIdCardList:!1,idCardList:[],orcValid:!1,ignoreIdBinding:!1,hasHaitaoGoods:!1,initFieldShow:!1,bodyStyle:"padding: var(--theme-page-card-margin-top, 12px) var(--theme-page-card-margin-right, 12px) 80px var(--theme-page-card-margin-left, 12px)"}},computed:{idcardDisabled:function(){if(!this.isAllowEdit)return!0;var t=this.hasHaitaoGoods&&this.idcard.binding&&!this.ignoreIdBinding;return t},buttonText:function(){return!this.idcardDisabled||this.isRequiredIdCardPhoto&&!this.orderCreated?"保存":""}},watch:{isShow:function(t){var e=this;setTimeout((function(){e.initFieldShow=t}),500),this.isShow&&(this.idcard=(0,o.default)({},this.originIdcard),this.errorInfo={name:"",number:""})},idCardInfo:{handler:function(t){if(t){var e=t;if(e.idCardNumber){var n=t.binding,i=t.idCardNumber;e={binding:n,name:t.idCardName,number:i,backPhoto:t.idCardBackPhoto,frontPhoto:t.idCardFrontPhoto}}this.idcard=e,this.originIdcard=e}},immediate:!0},idCardScene:{handler:function(t){this.hasHaitaoGoods="haitao"===t},immediate:!0}},created:function(){var t=this;(0,v.fetchOcrCheckIsValid)().then((function(e){t.orcValid=e})),(0,v.fetchOverseaRegulationWhiteList)().then((function(e){t.ignoreIdBinding=e}))},mounted:function(){var t=this;this.fetchIdentityList(),this.$nextTick((function(){t.idcard=(0,o.default)({},t.idcard)}))},methods:{handleOcrIdCardInfoChange:function(t){this.ocrIdCardInfo=t},fetchIdentityList:function(){var t=this;!this.ignoreIdBinding&&this.hasHaitaoGoods&&(0,v.fetchIdcardList)().then((function(e){if(Array.isArray(e)){var n=e.map((function(t){return{name:t.identityName,number:String(t.identityNumber)}}));t.idCardList=n.slice(0,2)}}))},onInputName:function(t){var e=t.value;if(this.idcard.name=e,""!==e){var n=this.idCardList.every((function(t){return-1===t.name.indexOf(e)}));this.showIdCardList=!n}else this.showIdCardList=this.idCardList.length>0},onInputIdNumber:function(t){this.idcard.number=t.value},onInputFocus:function(){this.showIdCardList=this.idCardList.length>0},onInputBlur:function(){var t=this;setTimeout((function(){t.showIdCardList=!1}),500)},onClearName:function(){this.idcard.name=""},onClearNumber:function(){this.idcard.number=""},onBackPhotoChange:function(t){this.idcard.backPhoto=t},onFrontPhotoChange:function(t){this.idcard.frontPhoto=t},onShowTip:function(){this.showTips=!0},onCloseTip:function(){this.showTips=!1},onClose:function(){this.$emit("onClose"),this.ctx.cloud.emit("onCancel")},onSelectIdCard:function(t){var e=t.name,n=t.number;this.idcard=(0,o.default)((0,o.default)({},this.idcard),{},{name:e,number:n}),this.showIdCardList=!1,this.errorInfo={name:"",number:""}},showIdcardError:function(t){t.message&&(0,d.default)(t.message),this.errorInfo=(0,o.default)({name:"",number:""},t)},onSave:function(){var t=this,e=this.idcard,n=this.hasHaitaoGoods,i=this.ignoreIdBinding,o=this.ocrIdCardInfo,a=this.idcardDisabled,r=this.isRequiredIdCardPhoto;if(!a||r){var s=(0,b.default)({isRequiredIdCardPhoto:r,idcard:e,hasHaitaoGoods:n});if(s)this.showIdcardError(s);else{if(this.showIdcardError({}),o&&(o.idCardName!==e.name||o.idCardNo!==e.number))return(0,d.default)("填写身份证信息与上传照片不一致");n&&!i?m.default.confirm({ref:this.$refs.idcardDialog,title:"提示",message:"根据海关最新要求,每个用户仅能绑定一个身份证号购买跨境商品,且绑定后不可换绑,请谨慎填写。",confirmButtonText:"确认绑定",zIndex:101}).then((function(){t.onSubmit(e)})):this.onSubmit(e)}}else this.onClose()},onSubmit:function(t){var e={binding:t.binding,idCardNumber:t.number,idCardName:t.name,idCardBackPhoto:t.backPhoto,idCardFrontPhoto:t.frontPhoto};this.$emit("onSubmit",e),this.ctx.cloud.emit("onSubmit",e)}},render:w,staticRenderFns:x,_compiled:!0}},94347:function(t,e,n){"use strict";n.r(e),n.d(e,{extensions:function(){return k}});var i=n(22921),o=n(30827),a=n(83158),r=n(43138),s=n(57741),c=n(57438),u=n(40715),l=n(91767),d=n(51189),f=n(14257),h=n(9293),p=n(62312),m=n(74885),g=n(50844),v=n(94552),b=n(94235),y=n(66333),_=n(31769),w=n(99190),x=n(50803),S=n(86273),k={"@wsc-tee-common/app-content-append":i.default,"@ext-tee-common/hummer":o.default,"@logger-ranta/h5-setter":a.default,"@ext-tee-navigate/web-navigator-init":r.default,"@passport-tee/api":s.default,"@passport-tee/protocol":c.default,"@passport-tee/user-authorize":u.default,"@wsc-tee-salesman/salesman-cloud-data":l.default,"@wsc-tee-salesman/salesman-share-popup":d.default,"@wsc-tee-shop/chain-store":f.default,"@wsc-tee-shop/multi-store":h.default,"@wsc-tee-shop/shop-core":p.default,"@ext-tee-user/fast-join-sdk":m.default,"@ext-tee-user/member-config":g.default,"@ext-tee-wsc-decorate/app-style":v.default,"@ext-tee-wsc-decorate/elderly-oriented":b.default,"@wsc-tee-decorate/shop-nav-h5":y.default,"@wsc-tee-decorate/shop-nav-weapp":_.default,"@ext-tee-wsc-decorate/theme-color":w.default,"@wsc-tee-trade/trade-buy-id-card-popup":x.default,"@wsc-tee-trade/trade-buy-page-comm":S.default};window.ranta_extension_app_vendors={extensions:k}},99658:function(t,e,n){"use strict";n.r(e),n.d(e,{Events:function(){return a}});n(87675),n(46239),n(2375),n(55750),n(77109);var i=n(97220),o=n.n(i),a=function(){function t(t){this.namespace="",t&&(this.namespace=t),this.getStorage=function(){return o().getGlobal("tee-event")||{}},this.setStorage=function(t){return o().setGlobal("tee-event",t)}}var e=t.prototype;return e.getKey=function(t){return this.namespace+"__"+t},e.on=function(t,e,n){var i=this.getKey(t),o=this.getStorage();return o[i]=o[i]||[],o[i].push({callback:e,context:n}),this.setStorage(o),this},e.once=function(t,e,n){var i=this;return this.on(t,(function o(){for(var a=arguments.length,r=new Array(a),s=0;s<a;s++)r[s]=arguments[s];e.call.apply(e,[n].concat(r)),i.off(t,o,n)}),n)},e.off=function(t,e,n){var i=this.getKey(t),o=this.getStorage();if(!Array.isArray(o[i]))return this;if(void 0===e&&void 0===n)delete o[i];else if(void 0===n){var a;o[i]=(null==(a=o[i])?void 0:a.filter((function(t){return t.callback!==e})))||[]}else{var r;o[i]=(null==(r=o[i])?void 0:r.filter((function(t){return t.callback!==e||t.context!==n})))||[]}return this.setStorage(o),this},e.trigger=function(t){for(var e,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];var a=this.getKey(t),r=this.getStorage();return Array.isArray(r[a])?(null==(e=r[a])||e.forEach((function(t){try{var e;(e=t.callback).call.apply(e,[t.context].concat(i))}catch(t){}})),this):this},t}();e.default=new a},44711:function(t,e,n){"use strict";n.r(e),n.d(e,{buildinMixins:function(){return o}});var i=n(88181);function o(t){var e=[];return t.externalClasses&&e.push((0,i.externalClassesMixin)(t.externalClasses)),t.relation&&e.push(t.relation.mixin),e.push({addGlobalClass:!0}),{mixins:e}}},88181:function(t,e,n){"use strict";n.r(e),n.d(e,{externalClassesMixin:function(){return a}});var i=n(93002),o=n(63413);n(71190),n(10357),n(83812),n(86132),n(60291),n(79362),n(2375);function a(t){return Array.isArray(t)?{props:(e=t,e.reduce((function(t,e){return(0,o.default)((0,o.default)({},t),{},(0,i.default)({},e.split("-").map((function(t,e){return 0===e?t:t[0].toUpperCase()+t.slice(1)})).join(""),String))}),{}))}:{};var e}},22488:function(t,e,n){"use strict";n.r(e),n.d(e,{TouchMixin:function(){return i}});var i={data:function(){return{direction:""}},methods:{touchStart:function(t){this.resetTouchStatus(),this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY},touchMove:function(t){var e,n,i=t.touches[0];this.deltaX=i.clientX-this.startX,this.deltaY=i.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||(e=this.offsetX,n=this.offsetY,e>n&&e>10?"horizontal":n>e&&n>10?"vertical":"")},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0}}}},92330:function(t,e,n){"use strict";n.r(e),n.d(e,{useChildren:function(){return u},useParent:function(){return l}});var i=n(27455),o=(n(59230),n(46239),n(2375),n(57569)),a=n(83826),r=(0,o.useGlobal)("vant-tee/relations",{}),s=(0,i.default)(r,1)[0];function c(t,e){var n=s();return n[t]=n[t]||{},n[t][e]=n[t][e]||{parent:null,children:[],onEffect:function(){}},n[t][e]}function u(t,e){return{mixin:{props:{pid:String},created:function(){if(this.pid){var n=c(t,this.pid);(0,a.isFunction)(e)&&(n.onEffect=e.bind(this)),n.parent=this,Object.defineProperty(this,"children",{get:function(){return n.children||[]}})}},destroyed:function(){var e=c(t,this.pid);delete e.parent,delete e.onEffect}}}}function l(t){return{mixin:{props:{pid:String},created:function(){if(this.pid){var e=c(t,this.pid);e.children.push(this),Object.defineProperties(this,{parent:{get:function(){return e.parent}},index:{get:function(){return e.children.indexOf(this)}}})}},mounted:function(){var e=c(t,this.pid);(0,a.isFunction)(e.onEffect)&&e.onEffect(this)},destroyed:function(){var e=this,n=c(t,this.pid);n.children=n.children.filter((function(t){return t!==e})),setTimeout((function(){(0,a.isFunction)(n.onEffect)&&n.onEffect(e)}))}}}}},57569:function(t,e,n){"use strict";n.r(e),n.d(e,{getRect:function(){return u},mapExternalClassesToProps:function(){return s},range:function(){return r},styleStringfiy:function(){return c},useGlobal:function(){return a}});n(71190),n(10357),n(83812),n(86132),n(60291),n(7091),n(79362),n(2375),n(53956),n(87675),n(23815);var i=n(97220),o=n.n(i);function a(t,e){return void 0===o().getGlobal(t)&&o().setGlobal(t,e),[function(){return o().getGlobal(t)},function(e){return o().setGlobal(t,e)}]}function r(t,e,n){return Math.min(Math.max(t,e),n)}function s(t){return t.reduce((function(t,e){var n;return t[(n=e,n.split("-").map((function(t,e){return 0===e?t:t[0].toUpperCase()+t.slice(1)})).join(""))]=String,t}),{})}function c(t){return Object.keys(t).map((function(e){return"".concat((n=e,n?n.replace(/[A-Z]/g,(function(t,e){return(0===e?"":"-")+t[0].toLowerCase()})):""),": ").concat(t[e]);var n})).join(";")}function u(t,e){return new Promise((function(n){t.createSelectorQuery().select(e).boundingClientRect().exec((function(){return n((arguments.length>0&&void 0!==arguments[0]?arguments[0]:[])[0]||[])}))}))}},83826:function(t,e,n){"use strict";function i(t){return"function"==typeof t}function o(t){return"string"==typeof t}function a(t){return null!==t&&"object"==typeof t&&!Array.isArray(t)}n.r(e),n.d(e,{isFunction:function(){return i},isPlainObject:function(){return a},isString:function(){return o}})},27094:function(t,e,n){"use strict";function i(t,e){var n=window.document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function o(t){t.target.composing=!0}function a(t){var e=t.target;e.composing&&(e.composing=!1,i(e,"input"))}n.r(e),n.d(e,{endComposing:function(){return a},startComposing:function(){return o},trigger:function(){return i}})},50865:function(t,e,n){"use strict";n.r(e),n.d(e,{checkClearStatus:function(){return g},getBackgroundFetchDataP:function(){return u},getBackgroundPrefetchData:function(){return f},listenBackgroundFetchData:function(){return l},logger:function(){return v},markeClearData:function(){return m},parsePrefetchData:function(){return d},weakEqual:function(){return h}});n(2375),n(23815),n(11729),n(53956);var i=n(67418),o=n(97220),a=n.n(o),r=n(81976),s=n(45882),c=n(73795);function u(t){return a().$native.getBackgroundFetchData?new Promise((function(e,n){a().$native.getBackgroundFetchData({fetchType:t,success:e,fail:n})})):Promise.resolve(void 0)}function l(t){return a().$native.onBackgroundFetchData?new Promise((function(e){a().$native.onBackgroundFetchData((function(n){n.fetchType===t&&(v("weapp_prefetch_init"),e(n))}))})):Promise.resolve(void 0)}function d(t){if(t){var e=t.fetchedData,n=JSON.parse(e),i=n.code,o=n.data;if(0===i)return o}}function f(){var t=a().getGlobal(c.PREFETCH_DATA_KEY);return t?Promise.resolve(t):u("pre").then((function(t){var e=d(t);return e&&a().setGlobal(c.PREFETCH_DATA_KEY,e),e}))}function h(t,e){return Object.keys(t).every((function(n){return!t[n]||t[n]===e[n]}))}function p(){return(0,r.getStorage)(c.PREFETCH_CLEAR_MARKE_KEY).then((function(t){return t.data}))}function m(t){return p().catch((function(){return{}})).then((function(e){var n;return void 0===e&&(e={}),(0,r.setStorage)(c.PREFETCH_CLEAR_MARKE_KEY,(0,i.default)({},e,((n={})[t]=!0,n)))}))}function g(t){return p().then((function(e){return!!e&&!!e[t]})).catch((function(){return!1}))}function v(t,e){var n=(0,s.getLogger)();n&&n.log({et:"custom",ei:t,params:e})}},73795:function(t,e,n){"use strict";n.r(e),n.d(e,{PREFETCH_CLEAR_MARKE_KEY:function(){return o},PREFETCH_DATA_KEY:function(){return i},PrefetchStatus:function(){return a}});var i="__PREFETCH_DATA",o="__PREFETCH_CLEAR_MARKE",a={W_API_FAIL:"API_FAIL",YZ_REQ_FAIL:"YZ_REQ_FAIL",EXPIRED:"EXPIRED",NOT_FOUND:"NOT_FOUND",CLEARED:"CLEARED",FILTERED:"FILTERED",ERROR:"ERROR",SUCCESS:"SUCCESS"}},58053:function(t,e,n){"use strict";n.r(e),n.d(e,{clearMiniappPrefetchData:function(){return i.clearMiniappPrefetchData},getMiniappPrefetchData:function(){return i.getMiniappPrefetchData},getMiniappPrefetchRawData:function(){return i.getMiniappPrefetchRawData},initPrefetchEvent:function(){return i.initPrefetchEvent}});var i=n(79973)},79973:function(t,e,n){"use strict";n.r(e),n.d(e,{clearMiniappPrefetchData:function(){return l},getMiniappPrefetchData:function(){return u},getMiniappPrefetchRawData:function(){return c},initPrefetchEvent:function(){return s}});var i=n(97220),o=n.n(i),a=n(50865),r=n(73795);function s(){return(0,a.listenBackgroundFetchData)("pre").then((function(t){var e=(0,a.parsePrefetchData)(t);return e&&o().setGlobal(r.PREFETCH_DATA_KEY,e),e}))}function c(t,e){var n;return(0,a.getBackgroundPrefetchData)().then((function(i){if(i){var o=i.fetchData,s=void 0===o?{}:o,c=i.bizEnv,u=i.kdtId,l=i.serverTimestamp,d=i.version,f=s[t]||{},h=f.expire,p=f.data,m=Date.now();if(!p||m-l>=h)n=p?r.PrefetchStatus.EXPIRED:r.PrefetchStatus.NOT_FOUND;else{if(!e||(0,a.weakEqual)(e,{kdtId:u,bizEnv:c,version:d}))return(0,a.checkClearStatus)(t).then((function(t){return n=t?r.PrefetchStatus.CLEARED:r.PrefetchStatus.SUCCESS,t?void 0:{fetchedData:p,bizEnv:c,kdtId:u,serverTimestamp:l,version:d}}));n=r.PrefetchStatus.FILTERED}}else n=r.PrefetchStatus.YZ_REQ_FAIL})).catch((function(e){n=r.PrefetchStatus.ERROR,e&&(0,a.logger)("weapp_prefetch_statistics_error",{status:n,bizName:t,error:e})})).then((function(e){return(0,a.logger)("weapp_prefetch_statistics",{status:n,bizName:t}),e}))}function u(t,e){return c(t,e).then((function(t){return null==t?void 0:t.fetchedData}))}function l(t){return(0,a.markeClearData)(t)}},89922:function(t,e,n){"use strict";n.r(e),n.d(e,{cache:function(){return o},prefetch:function(){return i}});var i=n(58053),o=n(54005)},99896:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(62476).__exportStar(n(21067),e)},21067:function(t,e,n){"use strict";n(34642),n(14096),n(2375),n(47691),n(79575),n(79362),n(55750),n(77109),n(46239),n(53956),n(62719),n(10357),Object.defineProperty(e,"__esModule",{value:!0}),e.mergeMulPluginList=void 0;var i=n(62476);e.mergeMulPluginList=function(t,e,n){var o=n.key,a=new Map,r=[],s=[],c=t.reduce((function(t,e){return t[e[o]]=!0,t}),{});e.forEach((function(t){var e=i.__assign({},c);t.forEach((function(t,n){var s=t[o];a.has(t)||(c[s]?e[s]=!1:(a.set(t,!0),r.push(i.__assign(i.__assign({},t),{index:n}))))})),s.push.apply(s,Object.keys(e).filter((function(t){return e[t]})))}));var u=s.reduce((function(t,e){return t[e]=!0,t}),{}),l=t.filter((function(t){var e=t[o];return!u[e]})),d={};return r.forEach((function(t){var e=t.index,n=i.__rest(t,["index"]);d[n[o]]||(d[n[o]]=!0,l.splice(e,0,n))})),{newList:l,delKeyList:s,addKeyList:r.map((function(t){return t[o]}))}}},34868:function(t,e,n){"use strict";n.r(e),n.d(e,{SHELF_LINK_TYPE_ENUM:function(){return r},SHELF_LINK_TYPE_TO_MODE:function(){return s},SHELF_LINK_URL_MAP:function(){return c},SHELF_PAGE_PATH:function(){return a}});var i,o=n(93002),a=(n(55750),n(2375),n(77109),n(53956),"packages/retail-shelf/shelf/index"),r={SHELF_ORDER_PAGE:"shelf_order_page",SHELF_ORDER_POOL:"shelf_order_pool",SCAN_GO:"scan_order_way",FREE_GO:"free_order_way",SELF:"self_order_way",TAKEOUT:"takeout_order_way",NEARBY_STORE:"nearby_store_way",SHELF_GOODS:"shelf_goods",SHELF_GROUP:"shelf_group",WX_SCAN_CODE:"wx_scan_code",SaleToday:"sale_today",SaleAdvance:"sale_advance",TABLE_BOOKING:"tableBooking"},s={},c={},u={0:[r.SELF,r.SaleToday,r.SaleAdvance,r.SHELF_ORDER_POOL,r.SHELF_ORDER_PAGE],1:[r.TAKEOUT]},l=(i={},(0,o.default)(i,"".concat(a),[r.SHELF_ORDER_PAGE]),(0,o.default)(i,"".concat(a,"?mode=0"),[r.SELF]),(0,o.default)(i,"".concat(a,"?scene=1"),[r.SHELF_ORDER_POOL]),(0,o.default)(i,"".concat(a,"?mode=1"),[r.TAKEOUT]),(0,o.default)(i,"".concat(a,"?mode=0&filter=1"),[r.SaleToday]),(0,o.default)(i,"".concat(a,"?mode=0&filter=2"),[r.SaleAdvance]),i),d=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Object.keys(t).forEach((function(i){t[i].forEach((function(t){e[t]=n?+i:i}))}))};d(u,s,!0),d(l,c)},85162:function(t,e,n){"use strict";n.r(e),n.d(e,{retailShelfNavigator:function(){return s}});n(97415),n(1881);var i=n(97220),o=n.n(i),a=n(34868),r={globalData:{}},s=function(t,e){var n=t.linkType,i=t.linkUrl;[a.SHELF_LINK_TYPE_ENUM.SELF,a.SHELF_LINK_TYPE_ENUM.TAKEOUT].includes(n)?(r.globalData.shelfParams={mode:a.SHELF_LINK_TYPE_TO_MODE[n]},function(t,e){o().$native.getSetting({success:function(n){var i=n.authSetting["scope.userLocation"];void 0===i||!0===i?o().$native.getLocation({type:"gcj02",fail:function(){null!=e&&e.handleShowAuthDialog&&e.handleShowAuthDialog()},success:function(){o().navigate({url:"/".concat(t)})}}):!1===i&&o().navigate({url:"/".concat(t)})}})}(a.SHELF_LINK_URL_MAP[n],e)):[a.SHELF_LINK_TYPE_ENUM.SCAN_GO,a.SHELF_LINK_TYPE_ENUM.FREE_GO].includes(n)&&o().navigate({url:"/".concat(i)})}},14594:function(t,e,n){"use strict";n.r(e),n.d(e,{jumpToLink:function(){return b},webAndWeappJump:function(){return v}});var i=n(63413),o=(n(87675),n(83812),n(7091),n(86132),n(59230),n(97415),n(1881),n(82472),n(97220)),a=n.n(o),r=n(21236),s=n.n(r),c=n(47019),u=n.n(c),l=n(43737),d=n.n(l),f=n(15455),h=n(34868),p=n(85162),m=n(34873),g=["/pages/home/dashboard/index","/pages/goods/cart/index","/pages/usercenter/dashboard/index","/pages-retail/usercenter/dashboard-v2/index"],v=function(t,e){"web"===a().getEnv()?e&&a().navigate({url:e}):t&&a().navigate({url:t})},b=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,m.getPlugins)().dmc,o=t.type,r=void 0===o?"":o,c="",l=!1,b=t.alias,y=t.linkType,_=void 0===y?"":y,w=t.linkId,x=void 0===w?"":w,S=t.linkUrl,k=void 0===S?"":S,I=t.linkTitle,T=void 0===I?"":I,C=t.extraData,P=void 0===C?{}:C,E=t.query,A=void 0===E?{}:E,O=t.goodsAlias,L=e.kdtId,M=e.banner_id,R=e.isWeappWebview,D={kdt_id:L},N={};if(M&&(N.banner_id=M),"chat"===(r=_||r)){if("web"===a().getEnv()&&e){var G=(0,f.generateUrl)(e);G&&a().navigate({url:u().add(G,N)})}}else if("homepage"===r)n.switchTab("Home",(0,i.default)((0,i.default)({},N),D)).catch((function(){n.navigate("Home",(0,i.default)((0,i.default)({},N),D))}));else if("goods"===r&&b)n.navigate("GoodsDetail",(0,i.default)((0,i.default)({alias:b},A),N));else if("feature"===r&&b)n.navigate("Feature",(0,i.default)({alias:b},N));else if("tag"===r){var U=b?{alias:b}:u().getAll(k);U.alias&&n.navigate("GoodsTag",(0,i.default)({alias:U.alias,title:T},N))}else if("cart"===r)n.switchTab("Cart",(0,i.default)((0,i.default)({},N),D)).catch((function(){n.navigate("Cart",(0,i.default)((0,i.default)({},N),D))}));else if("usercenter"===r)n.switchTab("Usercenter",(0,i.default)((0,i.default)({},N),D)).catch((function(){n.navigate("Usercenter",(0,i.default)((0,i.default)({},N),D))}));else if("shopnote"===r)n.switchTab("Shopnote",(0,i.default)((0,i.default)({},N),D)).catch((function(){n.navigate("Shopnote",(0,i.default)((0,i.default)({},N),D))}));else if("allgoods"===r)n.navigate("AllGoodsList",(0,i.default)({title:T},N));else if("coupon"===r)"web"===a().getEnv()&&k&&!R?v("","".concat(k)):n.navigate("CouponDetail",(0,i.default)({id:t.link_id||t.linkId,type:7===(t.coupon_type||t.couponType)?"promocard":""},N));else if("point_card"===r)v("/packages/pointstore/goods-details/index?goods_id=".concat(t.pointGoodsId,"&").concat(M,"=").concat(M),k);else if("pointsstore"===r)n.navigate("PointGoodsList",(0,i.default)((0,i.default)({},N),D));else if("seckill"===r)"web"===a().getEnv()&&k&&!R?v("","".concat(k)):"web"!==a().getEnv()||R?n.navigate("Seckill",(0,i.default)((0,i.default)({alias:b},O?{goodsAlias:O}:{}),N)):n.navigate("Seckill",(0,i.default)((0,i.default)({alias:O,ump_alias:b,ump_type:"seckill",activityType:"seckill"},A),D));else if("bargain"===r)n.navigate("GoodsDetail",(0,i.default)({alias:b,umpType:t.umpType||"",activityId:t.activityId},N));else if("paidcolumn"===r)n.navigate("PaidContentColumn",(0,i.default)({alias:b},N));else if("PaidContentContent"===r)n.navigate("PaidContentColumn",(0,i.default)({alias:b},N));else if("mypaidcontent"===r)v("",k);else if("PaidContentLive"===r)n.navigate("PaidContentColumn",(0,i.default)({alias:b},N));else if("allcourse"===r)n.navigate("EduGoodsList",(0,i.default)((0,i.default)({},N),D));else if("course"===r||"educourse"===r||"allofflinecourse"===r||"eduappointment"===r||"course_group"===r||"course_category"===r||"edumoments"===r)if("web"!==a().getEnv()||R){var j=k.replace(/^http(s)?:\/\/shop\d+-?\d+/,"https://h5");n.navigate("EduWebview",(0,i.default)({targetUrl:j},N))}else v("",k);else if("link"===r)"web"===a().getEnv()&&k&&v("",k),k&&/mp.weixin.qq.com\/s/.test(k)&&n.navigate("CommonWebview",(0,i.default)({src:k},N));else if("weapplink"===r&&"1"===P.linkType){"/"!==(c=P.myWeappLink)[0]&&(c="/"+c);var F=c.split("?")[0];if(g.indexOf(F)>-1&&(l=!0),0===(c=u().remove(c,"shopAutoEnter")).indexOf("/pages/common/blank-page/index")){var B=u().getAll(c);if(B.weappSharePath){var z=decodeURIComponent(B.weappSharePath);z=u().remove(z,"shopAutoEnter"),B.weappSharePath=z,c=u().add("/pages/common/blank-page/index",B)}}if(!s()(e)&&!l){var H=e.banner_id;c=u().add(c,{banner_id:H})}a().navigate({url:c})}else if("weapplink"===r&&"2"===P.linkType)a().$native.navigateToMiniProgram({appId:P.otherWeappAppid,path:P.otherWeappLink});else if("calendar_checkin"===r)n.navigate("Checkin",(0,i.default)((0,i.default)({},D),N));else if("zodiac"===r)n.navigate("LuckyLottery",(0,i.default)({alias:b},N));else if("shopnote_detail"===r)n.navigate("ShopnoteDetail",(0,i.default)({noteAlias:b},N));else if("mp_article"===r)n.navigate("MpArticle",(0,i.default)({noteAlias:b},N));else if("hotellist"===r||"recharge_center"===r||"point_coupon"===r||"room_typelist"===r||"combolist"===r)"web"!==a().getEnv()||R?n.navigate("CommonWebview",(0,i.default)({src:k},N)):v("",k);else if("period_list"===r)v("",k);else if("point_store"===r)n.navigate("PointGoodsList",(0,i.default)((0,i.default)({},D),N));else if("groupon"===r)k&&a().navigate({url:k});else if("weapp_marketing_page"===r||"marketing_page"===r)n.navigate("MarketingPage",(0,i.default)((0,i.default)((0,i.default)({},D),N),{},{id:P.id||""}));else if(["guaguale","wheel","zodiac","crazyguess"].includes(r)&&R){var W=k||"",K="";W.includes("lottery")&&(K="LuckyLottery"),W.includes("cards")&&(K="Cards"),W.includes("zodiac")&&(K="Zodiac"),W.includes("crazy")&&(K="CrazyGuess"),K&&n.navigate(K,(0,i.default)({alias:b},N))}else if("survey"===r||"guaguale"===r||"history"===r)v("",k);else if("video_number"===r){var q=a().$native.getStorageSync("channelsLiveInfo")||"";if(!q)return;var V=JSON.parse(q),Y=V.feedId,$=V.nonceId;a().$native.openChannelsLive&&a().$native.openChannelsLive({feedId:Y,nonceId:$,finderUserName:x})}else if("social_fans"===r){var J=t.qrcode,X=d()(u().add("/v3/message/live-qrcode/member",{kdtId:L,activitiesId:J}),"h5",L);a().$native.navigateTo({url:"/pages/common/webview-page/index?src=".concat(encodeURIComponent(X))})}else if("weapp_web_link"===r)v(u().add(k,N),u().add(k,(0,i.default)((0,i.default)({},D),N)));else if(Object.values(h.SHELF_LINK_TYPE_ENUM).includes(r)){var Z=e.context;(0,p.retailShelfNavigator)(t,Z)}else if("member_code"===r)a().$native.navigateTo({url:"/packages/member-code/index"});else if("vipcenter"===r)n.navigate("MemberCenter",(0,i.default)((0,i.default)({},D),N));else if("category"===r)v("",u().add(k,(0,i.default)((0,i.default)({},D),N)));else if("shop_ranking_list"===r){var Q=t.tabType;if(Q){var tt=d()(u().add("/wscshop/showcase/shop-ranking-list",{type:Q}),"h5",L);a().$native.navigateTo({url:"/pages/common/webview-page/index?src=".concat(encodeURIComponent(tt))})}}}},15455:function(t,e,n){"use strict";n.r(e),n.d(e,{CHANNEL:function(){return i},FROM_CHANEL:function(){return r},PAGE_TYPE:function(){return o},TARGET:function(){return a},URL_MOD:function(){return s},generateUrl:function(){return d}});n(83812),n(7091),n(3951),n(42345);var i,o,a,r,s,c=n(66450);!function(t){t.WSC="wsc",t.LS="ls",t.FX="fx"}(i||(i={})),function(t){t.GOODS="goods"}(o||(o={})),function(t){t.INDEX="index",t.CONVERSATIONS="conversations"}(a||(a={})),function(t){t.CPS="cps",t.BRAND="brand"}(r||(r={})),function(t){t.IM="im",t.LAYER="layer"}(s||(s={}));var u={index:"/",conversations:"/conversations"};function l(){var t,e,n=null===(e=null===(t=document)||void 0===t?void 0:t.location)||void 0===e?void 0:e.origin;return n&&(/h5.youzan.com/.test(n)||/shop[0-9]{6}[0-9]*(-[0-9]{2}){0,1}\.youzan\.com/.test(n))?n:n&&/shop[0-9]{6}[0-9]*(-[0-9]{2}){0,1}\.m\.youzan\.com/.test(n)?n.replace(/\.m\.youzan\.com/,(function(){return".youzan.com"})):"https://h5.youzan.com"}function d(t){var e=void 0===t?{kdtId:""}:t,n=e.channel,o=void 0===n?i.WSC:n,r=e.version,d=void 0===r?2:r,f=e.origin,h=void 0===f?"":f,p=e.kdtId,m=e.pageType,g=e.alias,v=void 0===g?"":g,b=e.fromSource,y=e.target,_=void 0===y?a.INDEX:y,w=e.clientKdtId,x=e.fromChannel,S=void 0===x?"":x,k=e.mod,I=void 0===k?s.IM:k,T=e.biz,C=void 0===T?"":T,P=Number(new Date),E={c:o,v:d,o:h,fc:S,biz:C,kdt_id:p};if("goods"===m?Object.assign(E,{type:m,alias:v}):"fx"===o&&Object.assign(E,{my_kdt_id:w||""}),b){b.site_id=b.site_id||void 0;var A=function(){try{return JSON.stringify(b)}catch(t){return""}}();Object.assign(E,{fs:A})}var O={id:p,t:P},L="";switch(_){case a.CONVERSATIONS:L=u.conversations;break;case a.INDEX:default:L=u.index}switch(I){case s.LAYER:var M="/v3/im/index/layer?"+(0,c.params)(E)+"#"+L+"?"+(0,c.params)(O);return l()+M;case s.IM:default:M="/v3/im/index?"+(0,c.params)(E)+"#"+L+"?"+(0,c.params)(O);return l()+M}}},66450:function(t,e,n){"use strict";n.r(e),n.d(e,{params:function(){return i}});n(71190),n(79362),n(2375),n(53956);function i(t){return Object.keys(t).reduce((function(e,n){return t[n]&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n])),e}),[]).join("&")}},26602:function(t,e,n){"use strict";n.r(e),n.d(e,{CubeAsyncUtil:function(){return _}});n(24613),n(42345),n(59230),n(54968),n(2375),n(23815),n(97415),n(1881),n(10357),n(46239);var i,o=n(99282),a=n(30757),r=n.n(a),s=n(47019),c=n.n(s),u=n(43737),l=n.n(u),d=n(91935),f=n(50075),h=n(61729),p=n(44083),m=(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(){return g=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},g.apply(this,arguments)},v=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}return n},b="/wscsalesman/share-icon/share-money/",y="/wscump/salesman/",_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return m(e,t),e.prototype.bindRelation=function(){var t=this,e=this,n=e.fromSeller,i=e.st,o=e.guideBindSourceType,a=void 0===o?14:o,r=(this.query||{}).from_params;if(n){this.monitor({url:d.URL.bind,path:this.path,sellerFrom:n,guideBindSourceType:a,bindSourceType:i});var s=function(){return t.ajax({path:d.URL.bind,method:"POST",data:{sellerFrom:n,guideBindSourceType:a,bindSourceType:i,fromParams:r}})};return s().catch(s)}return Promise.resolve()},e.prototype.getShareData=function(){var t=this,e={type:"NORMAL"};return this.goodsInfo.id&&(e.goodsId=this.goodsInfo.id),"web"===this.buildEnv&&(e.redirectUrl=encodeURIComponent(window.location.href)),this.monitor({path:this.path,url:d.URL.share}),this.ajax({path:d.URL.share,data:e,config:{cache:!0,expire:10}}).then((function(e){var n=r()(e);return n.isShoppingGuide=1===n.salesmanType,t.update("shareData",n),h.NOT_SUB_KDTID_SCENES.includes(t.scenes)&&t.update("kdtId",n.dsKdtId),t.handleLog(h.SHARE_LOGGER_CONFIG.salesMoneyView),n}))},e.prototype.getSmartText=function(t){var e=this;return this.ajax({path:"/wscsalesman/common-api/smart-text/getSmartText.json",method:"GET",data:t}).then((function(t){return e.update("smartTextData",t),t}))},e.prototype.getShareMoney=function(t,e,n){var i={goodsId:t},o="/guide/salesman-cube/getShareMoney.json";e&&(i.rateShareList=e.filter((function(t){return!!t.stockNum})).map((function(t){return{skuId:t.id,price:t.price}}))),n&&(o="/guide/goods/batchBudgetCommission.json",i.budgetGoods=[{goodsId:t,minPrice:n.minPrice,maxPrice:n.maxPrice}]);var a=this.shareData.isShoppingGuide,r=a?o:b+"getShareMoney.json";return a&&this.shareInfo.shortLinkKdtId&&(i.shareKdtId=this.shareInfo.shortLinkKdtId),this.ajax({path:r,method:"POST",data:i,contentType:"application/json"})},e.prototype.getShareMoneyRange=function(t,e,n){var i={goodsId:t,showPoints:!0};return e&&(i.rateShareList=e.filter((function(t){return!!t.stockNum})).map((function(t){return{skuId:t.id,price:t.price}}))),n&&(i=g(g({},i),n)),this.ajax({path:b+"getShareMoneyV2.json",method:"POST",data:i,contentType:"application/json"})},e.prototype.checkIconIsRecruitEntry=function(t){return void 0===t&&(t=function(){}),this.shareData.freedomShare?this.navigate({url:l()("/wscump/salesman/tutorial?kdt_id="+this.getKdtId(),"h5",this.getKdtId()),weappUrl:"/packages/salesman/tutorial/index"}):t()},e.prototype.subscribeMessage=function(t){var e=this;if(void 0===t&&(t=function(){}),this.shareData.isShoppingGuide||"weapp"!==this.buildEnv||!wx.requestSubscribeMessage)return t();this.ajax({path:y+"im/getSubMsg.json"}).then((function(n){if(Array.isArray(n)&&n.length){(i=n,new Promise((function(t){wx.requestSubscribeMessage({tmplIds:i,success:function(e){"requestSubscribeMessage:ok"===e.errMsg?t(!0):t()},fail:function(){t()}})}))).then((function(i){i&&e.ajax({path:y+"im/subscriptionCallback.json",method:"POST",data:{scene:"salesmanOrder",templateIdList:n}}),t()}))}else{var i;t()}})).catch(t)},e.prototype.getTaxSignInfo=function(){return this.ajax({path:"/wscsalesman/common-api/assets/new-tax/getShopAndUserTaxInfo.json"})},e.prototype.getOpenAssistantData=function(){return this.ajax({path:"/wscsalesman/operation/salesman-aide/isNeedGuide.json",data:{isForCenter:!1},method:"POST"})},e.prototype.getShopRights=function(){var t=this;return this.ajax({path:y+"shop/checkShopRights.json"}).then((function(e){return t.update("rightsInfo",e),e})).catch((function(){return{}}))},e.prototype.getNewBeginGuide=function(){return this.ajax({path:y+"guide/is-success-guide.json",data:{type:14}})},e.prototype.completeNewBeginGuide=function(){return this.ajax({path:y+"guide/add-success-guide.json",method:"POST",data:{type:14}})},e.prototype.publishMaterial=function(t){return this.ajax({path:y+"zone/publishMoments.json",method:"POST",data:t}).then((function(){return{material:1}})).catch((function(){return{material:0}}))},e.prototype.getShortUrl=function(t){return this.ajax({path:"/wscshop/ump/salesman/short-url.json",data:{url:t}}).catch((function(){return t}))},e.prototype.getUrlWithSl=function(t,e){void 0===e&&(e={});var n=g(g({},(0,o.getSalesmanParamsObject)({sl:this.shareData.seller,kdtId:this.getKdtId(),oldFromParamsData:e})),{sub_kdt_id:this.getKdtId()||this.shareData.dsKdtId});return c().add(t,n)},e.prototype.getSlUrl=function(t,e){void 0===e&&(e={});var n=this.getUrlWithSl(t,e);return this.getShortUrl(n).catch((function(){return n}))},e.prototype.getShortLink=function(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=this.getShortLinkParams(t,e);return this.ajax({method:"POST",contentType:"application/json",data:n,path:"/wscsalesman/common-api/short-link/generateShortLink.json"})},e.prototype.getShortLinkParams=function(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=this,i=n.shareData,a=n.query,r=n.path,s=n.offlineId,u=n.scenes,l=this.getKdtId(),d=t||{},f=d.oldFromParamsData,h=v(d,["oldFromParamsData"]),m=g(g(g({offlineId:s},a),(0,o.getSalesmanParamsObject)({sl:i.seller,kdtId:l,oldFromParamsData:f})),h);this.deleteUnUsedField(m),[p.EScenesType.HomePage,p.EScenesType.FeaturePage].includes(u)&&(m.kdt_id=l);var b=c().add(r,m),y=p.SceneWithPageTitle[u]||"商品";return g({isPermanent:!1,pageTitle:y,pageUrl:b},e)},e.prototype.getMaterialByItemId=function(t){var e=t.itemId,n=t.alias;return this.ajax({path:y+"zone/getMaterialByItemId.json",data:{itemId:e,alias:n}})},e.prototype.getPlayInfo=function(t){return this.ajax({path:"/wscshop/video/playinfo.json",data:{videoId:t.videoId,v_kdt_id:t.kdtId}})},e}(f.CubeSyncUtil)},91935:function(t,e,n){"use strict";n.r(e),n.d(e,{AbilityCode:function(){return o},CubeBaseInit:function(){return s},URL:function(){return a}});n(42345),n(2375),n(23815),n(55750),n(77109),n(53956);var i=function(){return i=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)},o={Personal:"salesman_advance_personal_space_ability"},a={ability:"/wscsalesman/salesman/shop/checkShopAbility.json",bind:"/wscsalesman/bind-customer.json",share:"/wscump/salesman/share.json"},r=function(){},s=function(){function t(t){var e=t.kdtId,n=void 0===e?"":e,i=t.rootKdtId,o=t.buyerId,a=t.guideBindSourceType,s=t.st,c=t.buildEnv,u=t.runEnv,l=t.path,d=t.query,f=void 0===d?{}:d,h=t.fromSeller,p=t.shareInfo,m=void 0===p?{}:p,g=t.goodsInfo,v=void 0===g?{}:g,b=t.shareData,y=void 0===b?{}:b,_=t.rightsInfo,w=void 0===_?{}:_,x=t.scenes,S=void 0===x?"":x,k=t.smartTextData,I=t.nativeAjax,T=void 0===I?function(){return Promise.resolve()}:I,C=t.nativeAjaxUseCdn,P=void 0===C?function(){return Promise.resolve()}:C,E=t.nativeMonitor,A=void 0===E?r:E,O=t.nativeLogger,L=void 0===O?r:O,M=t.nativeNavigate,R=void 0===M?r:M,D=t.nativeYunExtension,N=void 0===D?function(){return Promise.resolve([])}:D,G=t.h5UrlLogParams,U=void 0===G?{}:G,j=t.h5SetShareData,F=void 0===j?r:j,B=t.hasGuideMaterial,z=void 0!==B&&B,H=t.offlineId,W=void 0===H?"":H;this.kdtId=n,this.rootKdtId=i||this.getKdtId(),this.buyerId=o,this.buildEnv=c,this.st=s||f.st||1,this.guideBindSourceType=a||14,this.runEnv=u||c,this.path=l,this.query=f,this.fromSeller=h||f.fromSeller||f.sl||f.sls,this.shareInfo=m,this.goodsInfo=v,this.shareData=y,this.rightsInfo=w,this.scenes=S,this.smartTextData=k,this.nativeLogger=L,this.nativeNavigate=R,this.nativeYunExtension=N,this.nativeAjax=T,this.nativeAjaxUseCdn=P,this.nativeMonitor=A,this.h5UrlLogParams=U,this.h5SetShareData=F,this.hasGuideMaterial=z,this.offlineId=W,this.shopAbilities={},this.updateAbility(this.getKdtId())}return t.prototype.update=function(t,e){"kdtId"===t&&this.updateAbility(e),this[t]=e},t.prototype.batchUpdate=function(t){var e=this;Object.keys(t).forEach((function(n){"kdtId"===n&&e.updateAbility(t[n]),e[n]=t[n]}))},t.prototype.getKdtId=function(){return"function"==typeof this.kdtId?this.kdtId():this.kdtId},t.prototype.getBuyerId=function(){return"function"==typeof this.buyerId?this.buyerId():this.buyerId},t.prototype.monitor=function(t){return void 0===t&&(t={}),this.nativeMonitor({appName:"wsc-h5-salesman",logIndex:"wsc_wap_salesman_share_track",topic:"front",extra:i({kdtId:this.getKdtId(),type:this.buildEnv,buyerId:this.getBuyerId()},t)})},t.prototype.ajax=function(t){return t.url=t.path,this.nativeAjax(t)},t.prototype.navigate=function(t){if("web"===this.buildEnv)return this.nativeNavigate(t);var e=t.url,n=t.weappUrl,i=t.qqUrl,o="";switch(!0){case"weapp"===this.buildEnv:o=n||e;break;case"qq"===this.buildEnv:o=i||e}return this.nativeNavigate({url:o})},t.prototype.updateAbility=function(t){this.getKdtId()!==t&&this.getShopAbility(t,o.Personal)},t.prototype.getShopAbility=function(t,e){var n=this;if(t){var o={data:{kdtId:t,abilityName:e},method:"GET",url:a.ability,path:a.ability};return this.nativeAjaxUseCdn(o).then((function(t){var o;return n.update("shopAbilities",i(i({},n.shopAbilities),((o={})[e]=t.valid,o))),Promise.resolve(t.valid)})).catch((function(){return Promise.resolve(!1)}))}},t.prototype.deleteUnUsedField=function(t){try{["logger","accessToken","access_token","sid","isWeapp","login_ticket","oid","uic_login_token","weappType","weappVersion","__openNew__"].forEach((function(e){delete t[e]}))}catch(t){}return t},t}()},49205:function(t,e,n){"use strict";n.r(e),n.d(e,{CubePosterUtil:function(){return b}});n(24613),n(42345),n(59230),n(54968),n(83812),n(86132),n(2375),n(23815);var i,o=n(99282),a=n(47019),r=n.n(a),s=n(26602),c=n(61729),u=(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(){return l=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},l.apply(this,arguments)},d=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}return n},f="helpCut",h="seckill",p="luckyDrawGroup",m="pages/common/blank-page/index",g="pages/common/webview-page/index",v="packages/goods/detail/index",b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.genCodeOrPosterParams=function(t,n){void 0===t&&(t={}),void 0===n&&(n={});var i=t||{},o=i.goodsInfo,a=d(i,["goodsInfo"]),r=e.getAppSceneObj(l({kdtId:this.rootKdtId,guestKdtId:this.getKdtId(),page:this.path,goodsInfo:o||this.goodsInfo,sl:this.shareData.seller,share_from:"poster",offlineId:this.offlineId},n)),s=r.sceneObj,c=r.formatGoodsInfo;return l(l(l({},c),{kdtId:this.rootKdtId,page:this.path,scene:encodeURIComponent(JSON.stringify(s))}),a)},e.prototype.generateCreatePosterJsonParams=function(t,e){var n=this.shareData,i=t||{},a=i.oldFromParamsData,r=d(i,["oldFromParamsData"]),s=l(l(l({kdtId:this.rootKdtId,guestKdtId:this.getKdtId(),page:this.path},this.query),(0,o.getSalesmanParamsObject)({sl:n.seller,kdtId:this.getKdtId(),oldFromParamsData:a})),e);return this.deleteUnUsedField(s),l({page:"weapp"===this.runEnv?m:this.path,scene:JSON.stringify(s)},r)},e.prototype.getCodeParams=function(t){var e=this.goodsInfo;if("qq"===this.runEnv)return"web"===this.buildEnv?this.genCodeOrPosterParams({page:v},{share_from:"qrcode",page:v}):this.genCodeOrPosterParams({},{share_from:"qrcode"});if("weapp"!==this.runEnv||!e||!e.weappUrl)return{kdtId:this.rootKdtId,isWeapp:"weapp"===this.runEnv?1:0,url:t};if("weapp"===this.runEnv){var n=e.weappUrl.split("?")[0]||v,i=m;return this.genCodeOrPosterParams({isWeapp:1,url:t,weappUrl:i},{page:n,share_from:"qrcode"})}},e.prototype.getZonePosterParams=function(t){var e=t.salesmanAvatar,n=t.nickname,i=t.backgroundUrl;return this.generateCreatePosterJsonParams({type:"moment",page:m,avatar:e,nickname:n,backgroundImg:i,width:292,height:422},{page:"packages/salesman/zone/home/index"})},e.prototype.getGoodsPosterParams=function(t){void 0===t&&(t={params:{},scene:{}});var e=t.alias||this.goodsInfo.goodsAlias||this.goodsInfo.alias;if("web"===this.buildEnv){var n="weapp"===this.runEnv;if(n||t.needWeapp)return this.genCodeOrPosterParams(l({qrCodeType:"weapp",isWeapp:n?1:0,alias:e,page:m},t.params),l({page:"/"+v,share_from:"poster"},t.scene));if("qq"===this.runEnv)return this.genCodeOrPosterParams(l({page:"/"+v,alias:e},t.params),l({page:"/"+v,share_from:"poster"},t.scene));var i=this.shareInfo.url,a=this.genCodeOrPosterParams(l({alias:e,url:encodeURIComponent((0,o.addSalesmanParams)({url:i,sl:this.shareData.seller,st:3,kdtId:this.getKdtId()}))},t.params));return delete a.scene,a}return"weapp"===this.buildEnv?this.genCodeOrPosterParams(l({page:m,alias:e},t.params),l({page:"/"+v,share_from:"poster"},t.scene)):this.genCodeOrPosterParams(l(l({},t.params),{alias:e}),t.scene)},e.prototype.getGoodsPosterInfo=function(t){var n=this.goodsInfo,i=e.getGoodsActParams(t||n);return this.ajax({path:"/wscgoods/poster/goods-poster-info.json",data:i,method:"GET"})},e.prototype.getGoodsPoster=function(t,e){var n=this;void 0===t&&(t={params:{},scene:{}});var i=e||this.getGoodsPosterParams(t);return this.nativeYunExtension(i).then((function(t){return t.length?t[0]:n.ajax({path:"/wscgoods/weapp-poster/goods.json",data:i,method:"GET"})})).then((function(t){return t.imgUrl?t:Promise.reject("生成失败")}))},e.prototype.getQrCode=function(t){return this.ajax({path:"/wscump/salesman/poster/getCode.json",data:t})},e.prototype.getCodeOrQrCode=function(t){var e=this;void 0===t&&(t={});var n=t||{},i=n.oldFromParamsData,o=void 0===i?{}:i,a=n.pageParams,s=void 0===a?{}:a;if("web"===this.buildEnv){var u=this.shareInfo.url;return u=r().add(u,l({st:1},s)),"web"===this.runEnv?(this.handleLog(c.SHARE_LOGGER_CONFIG.qrCode),u=r().add(u,{share_cmpt:"qr_code"})):(this.handleLog(c.SHARE_LOGGER_CONFIG.miniprogram),u=r().add(u,{share_cmpt:"miniprogram"})),this.getSlUrl(u,o).then((function(t){var n=e.getCodeParams(t);return e.getQrCode(n)}))}this.handleLog(c.SHARE_LOGGER_CONFIG.miniprogram);var d=this.generateCreatePosterJsonParams({type:"qrcode",width:292,height:292,oldFromParamsData:o},s);return this.createPosterRequest(d)},e.prototype.createPosterRequest=function(t){return this.ajax({path:"/wscsalesman/poster-service/create-poster.json",data:t})},e.prototype.getZoneCodePoster=function(){if("web"===this.runEnv||"weapp"===this.runEnv){this.handleLog(c.SHARE_LOGGER_CONFIG.poster,{posterType:"zoomPoster"});var t=this.getZonePosterParams(this.rightsInfo);return this.createPosterRequest(t)}return Promise.resolve()},e.prototype.getTuwenPoster=function(){if(this.handleLog(c.SHARE_LOGGER_CONFIG.poster,{posterType:"tuwenPoster"}),"web"===this.buildEnv){var t,e=this.shareInfo.url;return t="weapp"===this.runEnv?this.generateCreatePosterJsonParams({type:"tuwen",page:m},{page:g,src:encodeURIComponent(e)}):"qq"===this.runEnv?{type:"tuwen",page:"pages/web-view/index?url="+encodeURIComponent(e),scene:JSON.stringify({kdtId:this.getKdtId()})}:{kdtId:this.getKdtId(),isWeapp:0,url:e},this.createPosterRequest(t)}var n=this.generateCreatePosterJsonParams({type:"tuwen"});return this.createPosterRequest(n)},e.prototype.getFeaturePoster=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this.handleLog(c.SHARE_LOGGER_CONFIG.poster,{posterType:"featurePoster"});var n=this.generateFeaturePosterParams(t,e);return this.ajax({path:"/wscshop/poster/feature.json",data:n})},e.prototype.generateFeaturePosterParams=function(t,e){var n;void 0===t&&(t={}),void 0===e&&(e={});var i=this.getKdtId();if("weapp"===this.buildEnv)return l({isV2:1,page:m,pageType:"homepage",kdtId:i,scene:l(l({page:this.path,guestKdtId:i,kdtId:i,alias:null===(n=this.query)||void 0===n?void 0:n.alias},(0,o.getSalesmanParamsObject)({sl:this.shareData.seller,kdtId:i})),e)},t);var a=(0,o.addSalesmanParams)({url:this.shareInfo.url,sl:this.shareData.seller,kdtId:this.getKdtId()}),s=window._global.poster_info,c=(void 0===s?{}:s).more,u=void 0===c?{}:c;if("weapp"===this.runEnv){var d=u.alias||r().get("alias")||"";return l({isV2:1,page:m,pageType:u.pageType||"homepage",qrCodeType:"weapp",kdtId:i,alias:d,scene:encodeURIComponent(JSON.stringify(l(l({page:g,kdtId:i,guestKdtId:i,src:encodeURIComponent(a),alias:d},(0,o.getSalesmanParamsObject)({sl:this.shareData.seller,kdtId:this.getKdtId()})),e)))},t)}return{kdtId:i,url:a,pageType:u.pageType||"homepage",alias:u.alias||""}},e.getAppSceneObj=function(t){var n=t.kdtId,i=t.guestKdtId,a=t.goodsInfo,r=t.page,s=t.sl,c=t.share_from,u=t.oldFromParamsData,f=d(t,["kdtId","guestKdtId","goodsInfo","page","sl","share_from","oldFromParamsData"]),h=e.getGoodsActParams(a);return{formatGoodsInfo:h,sceneObj:l(l(l({kdtId:n,guestKdtId:i||n,page:r,share_from:c},f),h),(0,o.getSalesmanParamsObject)({sl:s,kdtId:i,oldFromParamsData:u}))}},e.getGoodsActParams=function(t){var e={},n=t.goodsAlias||t.alias;e.alias=n;var i=t.goodsActivityInfo;if(!i)return e;var o=i.activityId,a=i.type,r=i.activityType,s=void 0===r?a:r,c=i.activityAlias||t.activityAlias;return(o||s)&&(s===f||21===s?(e.activityType=f,e.umpType=f,e.activityId=o):6===s||s===h?(e.umpType=h,e.activityType=h,e.umpAlias=c,e.ump_type=h,e.ump_alias=c):a===p?(e.activityId=o,e.activityType=p):(e.activityId=o,e.activityType=s)),e},e}(s.CubeAsyncUtil)},50075:function(t,e,n){"use strict";n.r(e),n.d(e,{CubeSyncUtil:function(){return m},HelpCut:function(){return p},Seckill:function(){return h}});n(24613),n(42345),n(59230),n(54968),n(83812);var i,o=n(99282),a=n(47019),r=n.n(a),s=n(43737),c=n.n(s),u=n(91935),l=(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(){return d=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},d.apply(this,arguments)},f=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}return n},h=6,p=21,m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.getCubeShow=function(t){var e=t.share,n=t.freedomShare;return e||n},e.prototype.handleLog=function(t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),this.shareData&&e.getCubeShow(this.shareData)){var i=this.scenes,o=this.shareData,a=this.getKdtId(),r=this.goodsInfo||{},s=r.id||r.goodsId||r.itemId,c=(o||n).seller,u=o||n,l=u.sl,f=u.salesmanType;c=c||l;var h=t.params,p=d(d({scenes:i,sl:c,mark:a+"-"+c,goods_id:s,salesman_type:f},h),n);this.nativeLogger(d(d({},t),{params:p}))}},e.prototype.getH5GoodsUrl=function(t,e,n,i){void 0===n&&(n={}),void 0===i&&(i=!0);var a="";if(t=t||this.goodsInfo,e=e||this.shareData,i&&window&&window.location&&window.location.href)a=window.location.href,a=r().remove(a,"sid"),a=r().remove(a,"isWeapp"),a=r().remove(a,"hide_buy_btn");else if(t.alias){var s=t.alias,u=t.goodsActivityInfo||{},l=u.activityType,h=u.activityAlias,p=u.type,m=u.activityId;if(a=c()("wscgoods/detail/"+s,"h5",this.getKdtId()||""),p||l){var g={ump_type:p||l,ump_alias:h,activityType:p||l,activityId:m};"seckill"===g.activityType&&delete g.activityId,a=r().add(a,g)}}var v=n||{},b=v.oldFromParamsData,y=void 0===b?{}:b,_=f(v,["oldFromParamsData"]),w=d(d(d({},(0,o.getSalesmanParamsObject)({sl:e.seller||"",kdtId:this.getKdtId()||"",oldFromParamsData:y})),{sub_kdt_id:this.getKdtId()||e.dsKdtId}),_);return r().add(a,w)},e.prototype.getWeappGoodsPath=function(t){var e=t||{},n=e.activityType,i=void 0===n?0:n,o=e.activityAlias,a=void 0===o?"":o,r=e.activityId,s=void 0===r?0:r,c=e.goodsAlias,u=void 0===c?"":c,l=e.alias,f={alias:u||(void 0===l?"":l)};return i===h&&(f=d(d({},f),{activityType:"seckill",umpAlias:a,umpType:"seckill"})),i===p&&(f=d(d({},f),{activityType:"helpCut",activityId:s})),{basePath:"packages/goods/detail/index",query:f}},e.prototype.setShareOption=function(t,e){if("web"===this.buildEnv){var n=d(d({},this.shareInfo),t),i=n.url;i||(i=this.goodsInfo.alias?this.getH5GoodsUrl():window.location.href),i=r().add(i,{st:this.st});var a={link:i=(0,o.addSalesmanParams)({url:i,sl:this.shareData.seller,kdtId:this.getKdtId(),shareParams:this.h5UrlLogParams})};if(n.title&&(a.title=(/^\[分享\].*/.test(n.title)?"":"[分享]")+n.title),n.cover&&(a.cover=n.cover,a.imgUrl=n.cover),n.desc&&(a.desc=n.desc),this.update("shareInfo",d(d({},a),{url:i})),!e)return;this.h5SetShareData(a)}},e}(u.CubeBaseInit)},47825:function(t,e,n){"use strict";n.r(e),n.d(e,{ESalesmanType:function(){return a},Env:function(){return o},NOT_SUB_KDTID_SCENES:function(){return s.NOT_SUB_KDTID_SCENES},SHARE_LOGGER_CONFIG:function(){return s.SHARE_LOGGER_CONFIG},SalesmanCubeCore:function(){return u}});n(24613);var i,o,a,r=n(5432),s=n(61729),c=(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});!function(t){t.weapp="weapp",t.qq="qq",t.web="web"}(o||(o={})),function(t){t[t.Guide=1]="Guide",t[t.Salesman=2]="Salesman"}(a||(a={}));var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.getInstance=function(t){return!e.instance&&t&&(e.instance=new e(t)),e.instance},e.instance=null,e}(r.default)},61729:function(t,e,n){"use strict";n.r(e),n.d(e,{NOT_SUB_KDTID_SCENES:function(){return a},SHARE_LOGGER_CONFIG:function(){return o}});var i=function(t){return{et:"click",ei:"share",en:"分享",params:{share_type:"salesman",share_cmpt:t}}},o={nativeCustom:i("native_custom"),poster:i("poster"),copylink:i("copylink"),copyWeappLink:i("weapp_link"),qrCode:i("qr_code"),miniprogram:i("miniprogram"),savepictures:i("savepictures"),clickShare:{et:"click",ei:"sales_money",en:"点赚字",params:{version:"v2"}},salesMoneyView:{et:"view",ei:"salesmoney_view",en:"赚字曝光",params:{version:"v2"}},cubeMatchView:{et:"view",ei:"cube_match_view",en:"赚字搭配曝光"},colorPanelView:{et:"view",ei:"color_panel_view",en:"选择颜色面板曝光"},changeColorClick:{et:"click",ei:"change_color_click",en:"切换颜色"},manualMatchClick:{et:"click",ei:"manual_match_click",en:"点击手动搭配"},moreMatchClick:{et:"click",ei:"more_match_click",en:"点击更多穿搭"},saveTextAndPoster:i("saveTextAndPoster"),goodsPosters:i("goodsPosters"),changeMatch:i("changeMatch"),changeText:i("changeText")},a=["salesman_coupon"]},44083:function(t,e,n){"use strict";var i;n.r(e),n.d(e,{EScenesType:function(){return o},SceneWithPageTitle:function(){return a}});var o={Goods:"goods",BenefitCard:"benefit_card",ShopNote:"shop_note",Feature:"feature",FeaturePage:"feature_page",HomePage:"home_page",SalesmanZone:"zone",SalesmanGoods:"salesman_goods",SalesmanCoupon:"salesman_coupon"},a=((i={})[o.Goods]="商品",i[o.Feature]="微页面",i[o.FeaturePage]="微页面",i[o.HomePage]="首页",i)},5432:function(t,e,n){"use strict";n.r(e);n(24613),n(2375),n(23815);var i,o=n(49205),a=(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),r="/guide/cube",s="/guide/common-api/goods",c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.checkHasGuideMaterial=function(){var t,e=this;return(t="weapp"===this.buildEnv?Promise.resolve(!0):this.ajax({path:"/guide/salesman-cube/hasGuideMaterial.json"})).then((function(t){return e.update("hasGuideMaterial",t),t})),t},e.prototype.getGuideAbility=function(t){return this.ajax({path:r+"/getGuideAbility.json",data:t})},e.prototype.getBindWeappInfo=function(){return this.ajax({path:r+"/getBindWeappInfo.json"})},e.prototype.submitMatch=function(t){return this.ajax({path:s+"/submitGoodsCompositionTask.json",method:"POST",data:t})},e.prototype.getMatchResp=function(t){return this.ajax({path:s+"/getGoodsCompositionResult.json",method:"GET",data:t})},e.prototype.getAIText=function(t){return this.ajax({path:r+"/getAIText.json",method:"POST",data:t})},e.prototype.getAITextResp=function(t){return this.ajax({path:r+"/getAITextResp.json",method:"GET",data:t})},e.prototype.getPoster=function(t){return this.ajax({path:r+"/getPoster.json",method:"POST",contentType:"application/json",data:t})},e.prototype.getGoodsSpecData=function(t){return this.ajax({path:"/guide/aigc/getGoodsSpecData.json",method:"GET",data:t})},e}(o.CubePosterUtil);e.default=c},76095:function(t,e,n){"use strict";n.r(e);n(42345);var i=n(41874),o=function(){return o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o.apply(this,arguments)};e.default=function(t){var e=t.profitRange,n=void 0===e?[]:e,a=t.commissionSendType,r=void 0===a?0:a,s=t.customPointsName,c=void 0===s?"积分":s,u=t.commissionConfigDTO,l=n[0],d=n[1];d=d||l;var f=(0,i.formatCommissionStr)({sendType:r,pointsName:c,config:u,maxCommission:d,minCommission:l}),h=f.maxCommissionStr,p=f.minCommissionStr,m=f.maxCommissionAmount,g=m!==f.minCommissionAmount,v={commissionText:"分享后最高赚"+h,commissionRangeText:"分享后预计可赚 "+p+" - "+h,commissionRange:n,maxCommission:m,unit:c,maxCommissionStr:m>0?h:"",isMultiCommission:g};return o(o({},v),{compatibleCommissionText:g?v.commissionRangeText:v.commissionText,compatibleCommission:g?p+" - "+h:h})}},85913:function(t,e,n){"use strict";n.r(e),n.d(e,{ECubeConfig:function(){return _},ESalesmanType:function(){return s},cubeConfig:function(){return U},getIconGroup:function(){return q},guideCubeConfig:function(){return H},guideDisableList:function(){return F},guideReplaceMap:function(){return j}});n(42345),n(59230),n(55750),n(2375),n(77109),n(97415),n(1881),n(53956),n(24973),n(62719),n(10357);var i,o,a,r,s,c,u=n(47019),l=n.n(u),d=n(43737),f=n.n(d),h=n(41874),p=function(){return p=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},p.apply(this,arguments)},m=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),o=0;for(e=0;e<n;e++)for(var a=arguments[e],r=0,s=a.length;r<s;r++,o++)i[o]=a[r];return i};!function(t){t[t.Guide=1]="Guide",t[t.Salesman=2]="Salesman"}(s||(s={})),function(t){t.WecomShare="wecomShare",t.WxShareInWecom="wxShareInWecom",t.Share="share",t.Code="code",t.TuwenPoster="tuwenPoster",t.FeaturePoster="featurePoster",t.GoodsPoster="goodsPoster",t.ZonePoster="zonePoster",t.Link="link",t.WeappLink="weappLink",t.Copy="copy",t.SaveTextAndPoster="saveTextAndPoster",t.GoodsPosters="goodsPosters",t.Custom="custom"}(c||(c={}));var g="salesman_advance_personal_space_ability",v="/pages/common/webview-page/index",b="分享海报",y="素材中心",_={WecomShare:"wecomShare",Share:"share",Copy:"copy",TuwenPoster:"tuwenPoster",Code:"code",Salesman:"salesman",Material:"material",GuideMaterial:"guideMaterial",Zoom:"zoom",Guide:"guide",GoodsPoster:"goodsPoster",FeaturePoster:"featurePoster",Promote:"promote",ZonePoster:"zonePoster",WeappLink:"weappLink",WeappCode:"weappCode",SaveTextAndPoster:"saveTextAndPoster",GoodsPosters:"goodsPosters"},w=[_.Zoom,_.ZonePoster,_.Material,_.Promote],x=[_.Promote],S=((i={})[g]=[_.Zoom],i),k=Object.prototype.hasOwnProperty,I=function(t){return"https://b.yzcdn.cn/salesman/cube/"+t},T={weapp:"weapp",qq:"qq",web:"web"},C="goods",P="benefit_card",E="shop_note",A="feature",O="feature_page",L="home_page",M="zone",R="salesman_goods",D="salesman_coupon",N=[[_.Share,_.TuwenPoster,_.Code],[_.Salesman,_.Material,_.Zoom]],G={web:[[_.Share,_.Copy,_.TuwenPoster,_.Code],[_.Salesman,_.Material,_.Zoom]],weapp:N,qq:[[_.Share,_.Code]]},U=((o={default:G})[E]=G,o[P]=G,o[A]={weapp:[[_.Share,_.FeaturePoster,_.Code],[_.Salesman,_.Material,_.Zoom]]},o[O]={weapp:[[_.Share,_.FeaturePoster,_.Code,_.WeappLink],[_.Salesman,_.Material,_.Zoom]]},o[L]={weapp:[[_.Share,_.FeaturePoster,_.Code,_.WeappLink],[_.Salesman,_.Material,_.Zoom]]},o[D]={weapp:[[_.Share,_.Code],[_.Salesman,_.Material]]},o[M]={weapp:[[_.Share,_.Code,_.ZonePoster],[_.Salesman,_.Material]]},o[R]={weapp:[[_.Code,_.Salesman,_.Material,_.Zoom]]},o[C]={web:[[_.Share,_.Copy,_.Code,_.Salesman]],weapp:[[_.Share,_.WeappLink,_.Code,_.Salesman]],qq:[[_.Share,_.Code,_.Salesman,_.Zoom]],weappRunEnv:[[_.Code,_.Salesman]]},o),j=((a={})[_.Salesman]=_.Guide,a[_.Material]=_.GuideMaterial,a),F=[_.Salesman,_.Promote,_.Zoom],B=[[_.Share,_.TuwenPoster,_.Code],[_.Guide,_.Material]],z={web:[[_.Share,_.Copy,_.TuwenPoster,_.Code],[_.Guide,_.Material]],weapp:B,qq:[[_.Share,_.Code]]},H=((r={default:z,shop_note:z,benefit_card:z,salesman_coupon:{weapp:[[_.Share,_.Code],[_.Guide,_.Material]]},zone:{weapp:[[_.Share,_.Code,_.ZonePoster],[_.Guide,_.Material]]},salesman_goods:{weapp:[[_.Code,_.Guide,_.Material]]}})[A]={weapp:[[_.Share,_.FeaturePoster,_.Code],[_.Guide,_.Material]]},r[O]={weapp:[[_.Share,_.FeaturePoster,_.WeappLink,_.Code],[_.Guide,_.Material]]},r[L]={weapp:[[_.Share,_.FeaturePoster,_.WeappLink,_.Code],[_.Guide,_.Material]]},r.goods={web:[[_.Share,_.Copy,_.Code,_.Guide,_.Material]],weapp:[[_.Share,_.WeappLink,_.WeappCode,_.Guide,_.Material]],qq:[[_.Share,_.Code,_.Guide]],weappRunEnv:[[_.Code,_.Guide,_.Material]]},r),W=function(t){var e=t.runEnv,n=t.shareData,i=void 0===n?{}:n,o=t.kdtId,a=t.hasGuideMaterial,r=t.supportWecomShare,s=void 0!==r&&r,u=i.salesmanName,l=void 0===u?"销售员":u;return{wecomShare:{id:"share",title:"企业微信好友",openType:"share",type:c.WecomShare,iconUrl:I("wecom.png")},share:{id:"share",title:e===T.qq?"分享给好友":"微信好友",openType:s?"":"share",type:s?c.WxShareInWecom:c.Share,iconUrl:e===T.qq?I("share_qq.png"):I("share.png")},code:{id:"code",title:[T.weapp,T.qq].indexOf(e)>-1?"小程序码":"二维码",type:c.Code,iconUrl:[T.weapp,T.qq].indexOf(e)>-1?I("wecode.png"):I("qrcode.png")},weappCode:{id:"code",title:"小程序码",type:c.Code,iconUrl:I("wecode.png")},weappLink:{id:"weappLink",title:"小程序链接",type:c.WeappLink,iconUrl:I("weappLink.png")},tuwenPoster:{id:c.TuwenPoster,title:b,type:c.TuwenPoster,iconUrl:I("NdzsNJ.png")},featurePoster:{id:c.FeaturePoster,title:b,type:c.FeaturePoster,iconUrl:I("NdzsNJ.png")},goodsPoster:{id:"goodsPoster",title:b,type:c.GoodsPoster,iconUrl:I("poster.png")},zonePoster:{id:"zonePoster",title:"空间海报",type:c.ZonePoster,iconUrl:I("poster.png")},promote:{id:"promote",iconUrl:I("promoteicon.png"),title:"专属推广页",type:c.Link,webUrl:"/wscsalesman/promotion/promote",weappUrl:"/packages/salesman/promote/index"},salesman:{id:"salesman",iconUrl:I("salesman_o.png"),title:l+"中心",type:c.Link,weappUrl:"/packages/salesman/salesman-center/index",webUrl:"/wscump/salesman/index"},guide:{id:"guide",iconUrl:I("salesman.png"),title:"导购工作台",type:c.Link,weappUrl:v+"?src="+encodeURIComponent("https://h5.youzan.com/guide/center/home?kdt_id="+o),webUrl:"/guide/center/home"},material:{id:"material",iconUrl:I("meterial.png"),title:y,type:c.Link,weappUrl:"/packages/salesman/zone/material/index",webUrl:"/wscump/salesman/zone/material"},guideMaterial:{id:"guideMaterial",iconUrl:I("meterial.png"),title:y,type:c.Link,weappUrl:a?"/packages/guide/zone/material/index":"/packages/salesman/zone/material/index",webUrl:"/guide/zone/material"},zoom:{id:"zoom",iconUrl:I("zoom.png"),title:"个人空间",type:c.Link,weappUrl:"/packages/salesman/zone/home/index",webUrl:"/wscump/salesman/zone/home"},center:{id:"center",iconUrl:I("zoom.png"),title:"个人中心",type:c.Link,weappUrl:"/packages/usercenter/dashboard/index",webUrl:"/wscuser/membercenter"},copy:{id:"copy",iconUrl:I("copy.png"),title:"复制链接",type:c.Copy},saveTextAndPoster:{id:c.SaveTextAndPoster,title:"保存图文",type:c.SaveTextAndPoster,iconUrl:I("download.png")},goodsPosters:{id:c.GoodsPosters,title:"商品海报",type:c.GoodsPosters,iconUrl:I("goods_poster.png")}}};function K(t,e,n){void 0===n&&(n={});var i=n.kdtId,o=n.buildEnv,a=n.shareInfo,r=n.runEnv;if("link"===t.type){if(t.webUrl&&(t.webUrl=f()(l().add(t.webUrl,{kdtId:i}),"h5",i)),"promote"===t.id){var s=e.goodsActivityInfo,c=void 0===s?{}:s,u={activityAlias:c.activityAlias||"",activityType:c.type||c.activityType||"",activityId:c.activityId||"",umpType:c.type||c.activityType||""};"web"===o&&t.webUrl&&(t.webUrl=l().add(t.webUrl,p({alias:e.alias,refUrl:encodeURIComponent(a.url||"")},u))),"weapp"===r&&t.weappUrl&&(t.weappUrl=l().add(t.weappUrl,p({alias:e.alias,itemId:e.id},u)))}var d=t[o+"Url"];return!d&&"web"!==r&&t.webUrl&&(d="weapp"!==r?"/pages/web-view/index?url="+encodeURIComponent(t.webUrl):v+"?src="+encodeURIComponent(t.webUrl)),p(p({},t),{url:d})}return t}var q=function(t){var e,n=t.shareData,i=void 0===n?{}:n,o=t.goodsInfo,a=void 0===o?{}:o,r=t.shareInfo,s=void 0===r?{}:r,c=t.scenes,u=t.customOptionListConfig,l=void 0===u?{}:u,d=t.shopAbilities,f=void 0===d?{}:d,v=t.hasGuideMaterial,b=void 0!==v&&v,y=t.runEnv,I=t.kdtId,P=t.buildEnv,E=t.isMatchOrPromote,A=t.hasWeapp,O=t.needWecomShare,L=void 0!==O&&O,M=i.isShoppingGuide;M||"wecomMP"!==y||(y="weapp");var R,D=(0,h.checkWecomEnv)(),N=M&&D&&L,G=W({runEnv:y,shareData:i,kdtId:I,hasGuideMaterial:b,supportWecomShare:N}),B=M?H:U;R=k.call(B,c)?B[c]:B.default;var z=[],q=M&&c===C&&E&&["web","weapp"].includes(y);if(z=P===T.web?q&&A?R.weapp||[]:R[y+"RunEnv"]||R[y]||[]:R[y]||[],N&&-1===z[0].indexOf(_.WecomShare)&&(z[0]=m([_.WecomShare],z[0])),q){var V=m(z[0]),Y=V.findIndex((function(t){return t===_.Share}));V.splice(Y+1,0,_.SaveTextAndPoster,_.GoodsPosters),P===T.web&&y===T.weapp&&V.splice(Y,1),z=[V]}var $=l[y]||[];return function(t){var e=t.optionList,n=t.shareData,i=t.runEnv,o=t.buildEnv,a=t.kdtId,r=t.shareInfo,s=t.hasGuideMaterial,c=t.formatIconOption,u=t.abilities,l=function t(e,n){var i=[];return e.forEach((function(e){Array.isArray(e)?i.push(t(e,n)):n.includes(e.id)||i.push(e)})),i},d=e,f=n.isShoppingGuide;return f||n.allowMoments||(d=l(d,w)),n.allowGoodsRecommend||(d=l(d,x)),f&&(d=function t(e){var u=[];return e.forEach((function(e){if(Array.isArray(e))u.push(t(e));else if(e.id&&k.call(j,e.id)){var l=e&&e.id,d=j[l],f=W({runEnv:i,shareData:n,kdtId:a,hasGuideMaterial:s}),h=c(f[d],{},{runEnv:i,kdtId:a,buildEnv:o,shareInfo:r});u.push(h)}else u.push(e)})),u}(d=l(d,F))),u&&Object.keys(u).forEach((function(t){u[t]||(d=l(d,S[t]))})),d}({optionList:function t(e,n,i){return e.map((function(e){if("string"==typeof e)return i(n[e],a,{runEnv:y,kdtId:I,buildEnv:P,shareInfo:s});if(Array.isArray(e))return t(e,n,i);var o=e.id||"",r=n[o]||{};return i(p(p({},r),e),a,{runEnv:y,kdtId:I,buildEnv:P,shareInfo:s})}))}($.length?$:z,G,K),shareInfo:s,shareData:i,runEnv:y,buildEnv:P,kdtId:I,hasGuideMaterial:b,formatIconOption:K,abilities:(e={},e[g]=null==f?void 0:f[g],e)})}},16181:function(t,e,n){"use strict";n.r(e),n.d(e,{formatCommission:function(){return i.default},getCurrentMaterialItem:function(){return a},getGoodsPriceInfo:function(){return d},getHireFee:function(){return r},getIconGroup:function(){return o.getIconGroup},getPriceStr:function(){return c},getPromoteText:function(){return u},getPromoteTextPrefix:function(){return f},getPromoteTextSuffix:function(){return h},getTaxSignText:function(){return s},getTipsData:function(){return p},safeJSONParse:function(){return m},salesmanPromoteHasActivity:function(){return l}});n(2860),n(10822),n(59230),n(55750),n(2375),n(77109),n(53956);var i=n(76095),o=n(85913);function a(t){void 0===t&&(t={});var e=t.alias,n=t.itemId,i=t.id,o=t.goodsId,a=t.picture,r=t.pic,s=t.title,c=t.goodsPrice,u=void 0===c?{}:c,l=t.goodsAlias,d=u.maxPrice,f=u.realPrice;return{alias:l||e,goodsId:i||n||o,image:r||a,title:s,price:+d||100*+f}}function r(t,e,n){if(n)return 0;var i=e.cpsRate,o=t||{},a=o.profit,r=o.goodsPrice;return a?+(+a/100).toFixed(2):i&&r&&r.maxPrice?(Math.floor(i*(null==r?void 0:r.maxPrice))/100).toFixed(2):0}function s(t){var e=t.taxServiceState,n=t.userSigned,i=t.authDeadline,o=t.authDeadlineOver,a=t.shareAuth,r=t.mode,s="";if(e&&!n&&1===a){var c="由于商家开启了个税代缴服务,需要认证升级后才可使用";s=1===r?"根据《电商法》规定,个人收入需要缴纳个税,请先完成个人信息认证,否则获得的佣金或奖励不结算。":o?c+",你还未完成信息认证,商家无法给你发放佣金或奖励。":c+",请在 "+i+" 前完成认证升级,否则商家无法给你发放佣金或奖励。"}return s}function c(t,e){if(void 0!==t)return t!==e&&e?(+e/100).toFixed(2)+"-"+(+t/100).toFixed(2):""+(+t/100).toFixed(2)}function u(t,e){var n=h(t),i=f(t,e);return i.endsWith("\n")?""+i+n:i+"\n"+n}function l(t){var e=t.goodsActivityInfo,n=void 0===e?{}:e,i=t.goodsPrice,o=void 0===i?{}:i,a=o.maxOriginPrice,r=o.maxPrice,s=a&&a!==r,c=n.activityName,u=n.type,l=n.activityType,d=void 0===l?u:l,f=["customerDiscount"].indexOf(d||"")>=0;return(c||d||s)&&!f}function d(t){var e=(t||{}).goodsPrice,n=void 0===e?{}:e,i=n.maxOriginPrice,o=n.minOriginPrice,a=n.maxPrice,r=n.minPrice,s=n.oldMaxPrice,u=n.oldMinPrice,d=n.originMaxPrice,f=n.originMinPrice,h=s||i||d||a,p=u||o||f||r,m=c(h,p),g=c(r),v=c(a,r);return{min:p,max:h,hasActivity:l(t),realPrice:v,activityMinPrice:g,originPrice:m}}function f(t,e){var n=null==e?void 0:e.promoteText,i=t.title,o=l(t);return n||(o?"限时福利!超值优惠价!"+i:"为你发现了一个品质好货 "+i)}function h(t){var e=d(t),n=e.hasActivity,i=e.realPrice,o=e.activityMinPrice,a=e.originPrice;return n?"💰【活动价低至】"+o+"元 \n💰【非活动价】"+a+" 元 \n 👉 立刻去抢购:":"💰【售价】"+i+"元 \n 👉 购买链接:"}function p(t){void 0===t&&(t={});var e=[],n={copy_0:"文案/链接复制失败",copy_1:"文案/链接已复制",material_0:"素材分享到动态失败",material_1:"素材已分享到动态",image_0:"图片保存到相册失败",image_1:"图片已保存到相册"};return Object.keys(t).forEach((function(i){e.push({type:i,state:t[i],text:n[i+"_"+t[i]]})})),e}function m(t,e){try{return JSON.parse(t)}catch(t){return e}}},41874:function(t,e,n){"use strict";n.r(e),n.d(e,{checkWecomEnv:function(){return o},formatCommissionStr:function(){return i}});n(88856),n(97415),n(1881);var i=function(t){var e=t.sendType,n=t.pointsName,i=t.config,o=t.maxCommission,a=t.minCommission,r=!!e;if(r&&i){var s=i.everyMoneyFen,c=void 0===s?0:s,u=i.points,l=void 0===u?0:u;o=parseInt(String(Math.floor(o/c)*l),10),a=parseInt(String(Math.floor(a/c)*l),10)}else o/=100,a/=100;return{maxCommissionStr:r?""+o+n:"¥"+o,minCommissionStr:r?""+a+n:"¥"+a,maxCommissionAmount:o,minCommissionAmount:a}},o=function(){if("undefined"!=typeof window&&window.navigator&&window.navigator.userAgent.toLowerCase().includes("wxwork"))return!0;if("undefined"!=typeof wx&&wx.getSystemInfoSync&&"wxwork"===wx.getSystemInfoSync().environment)return!0;return!1}},99282:function(t,e,n){"use strict";n.r(e),n.d(e,{WxSharePlatform:function(){return a.WxSharePlatform},addSalesmanParams:function(){return p},getFromParams:function(){return f},getSalesmanParamsObject:function(){return h},parseTrackData:function(){return l},stringifyTrackData:function(){return d}});n(42345),n(59230),n(54968),n(79362),n(2375),n(83812),n(86132),n(53956);var i=n(47019),o=n.n(i),a=n(79407),r=function(){return r=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)},s=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]])}return n},c="from_params",u=0,l=function(t){try{return decodeURIComponent(t).split("!").reduce((function(t,e){var n,i=e.split("~");return i.length>1?r(r({},t),((n={})[i[0]]=i[1],n)):t}),{})}catch(t){return{}}},d=function(t){return Object.keys(t).reduce((function(e,n){return""+(e?e+"!":e)+n+"~"+t[n]}),"")},f=function(t){var e=t.sl,n=t.sls,i=t.kdtId,o=void 0===i?u:i,s=t.oldFromParamsData,c=e||n,l=c?{sl:c,online_kdt_id:""+o}:{},f=t.wxSharePf||"";try{var h=function(){var t;if("undefined"!=typeof window&&window.navigator){var e=window.navigator.userAgent.toLowerCase(),n=e.indexOf("wxwork")>-1;!n&&e.indexOf("micromessenger")>-1&&(t=a.WxSharePlatform.WechatH5),n&&(t=a.WxSharePlatform.WxworkH5)}return"undefined"!=typeof wx&&wx.getSystemInfoSync&&(t="wxwork"===wx.getSystemInfoSync().environment?a.WxSharePlatform.WxworkWeapp:a.WxSharePlatform.Weapp),t}();h&&(f=""+h)}catch(t){}c&&f&&(l.wx_share_pf=""+f);var p=s?r(r({},s),l):l;return""+d(p)},h=function(t){var e,n=t.sl,i=t.sls,o=t.kdtId,a=void 0===o?u:o,s=t.oldFromParamsData,l=t.shareParams,d=void 0===l?{}:l,h=t.closeAutoEnter,p=void 0!==h&&h,m=t.wxSharePf,g=["sl","sls"].reduce((function(e,n){var i,o=t[n];return o?r(r({},e),((i={})[n]=o,i)):e}),{}),v={is_share:1};return p||Object.assign(v,{shopAutoEnter:1}),n||i?r(r(r(r({},v),d),g),((e={})[c]=f({sl:n,sls:i,kdtId:a,oldFromParamsData:s,wxSharePf:m}),e)):r(r(r({},v),d),g)};function p(t){var e=t.url,n=t.sl,i=t.sls,a=t.kdtId,d=void 0===a?u:a,f=t.shareParams,p=void 0===f?{}:f,m=t.closeAutoEnter,g=void 0!==m&&m,v=t.wxSharePf,b=s(t,["url","sl","sls","kdtId","shareParams","closeAutoEnter","wxSharePf"]),y=o().get(c,e)||"",_=l(y)||{};return o().add(e,r(r({},b),h({sl:n,sls:i,kdtId:d,oldFromParamsData:_,shareParams:p,closeAutoEnter:g,wxSharePf:v})))}},79407:function(t,e,n){"use strict";var i;n.r(e),n.d(e,{WxSharePlatform:function(){return i}}),function(t){t[t.WechatH5=1]="WechatH5",t[t.WxworkH5=2]="WxworkH5",t[t.Weapp=3]="Weapp",t[t.WxworkWeapp=4]="WxworkWeapp"}(i||(i={}))},4925:function(t,e,n){"use strict";n.r(e),n.d(e,{ENV:function(){return o},isWeapp:function(){return a}});var i=n(97220),o=n.n(i)().getEnv(),a="weapp"===o},32459:function(t,e,n){"use strict";n.r(e),n.d(e,{TEE_ENV:function(){return a.TEE_ENV},batchReadShopConfig:function(){return i.batchReadShopConfig},checkNeedToSelectStore:function(){return o.checkNeedToSelectStore},colorsType:function(){return i.colorsType},defaultCSS:function(){return i.defaultCSS},defaultThemeColors:function(){return i.defaultThemeColors},getCurrentKdtId:function(){return i.getCurrentKdtId},getOfflineId:function(){return o.getOfflineId},getRootKdtId:function(){return i.getRootKdtId},getThemeColor:function(){return i.getThemeColor},getThemeColorWithType:function(){return i.getThemeColorWithType},getThemeType:function(){return i.getThemeType},initShopCore:function(){return i.initShopCore},invokeEnterMultiStore:function(){return o.invokeEnterMultiStore},isEnterMultiStore:function(){return o.isEnterMultiStore},onKdtIdChange:function(){return i.onKdtIdChange},onOfflineIdChange:function(){return o.onOfflineIdChange},onShopInfoChange:function(){return i.onShopInfoChange},readBranchStore:function(){return o.readBranchStore},readEnterMultiStoreStatus:function(){return o.readEnterMultiStoreStatus},readMultiStoreLocation:function(){return o.readMultiStoreLocation},readOfflineData:function(){return o.readOfflineData},readShopConfig:function(){return i.readShopConfig},readShopInfo:function(){return i.readShopInfo},saveOfflineIdRecord:function(){return o.saveOfflineIdRecord},setOfflineId:function(){return o.setOfflineId},setShopInfoCache:function(){return i.setShopInfoCache},switchHexToRgb:function(){return i.switchHexToRgb},themeColorComb:function(){return i.themeColorComb},themeColorLinear:function(){return i.themeColorLinear},themeMainColor:function(){return i.themeMainColor},transform:function(){return i.transform},updateKdtId:function(){return i.updateKdtId},writeEnterStatus:function(){return o.writeEnterStatus}});var i=n(66352),o=n(52897),a=n(68073)},90569:function(t,e,n){"use strict";n.r(e),n.d(e,{apiGetLocationByIp:function(){return s},apiReadBranchStore:function(){return a},apiReadBranchStoreCore:function(){return r},apiReadOfflineIdByPosition:function(){return u},apiSetLastVisitStoreIdByBuyerId:function(){return c},apiWritePoiAddress:function(){return l}});var i=n(77726),o="/wscshopcore/multi-store/";function a(t,e){return(0,i.default)({path:o+"info.json",query:{offlineId:e,kdt_id:t}})}function r(t,e){return(0,i.default)({path:o+"info-core.json",query:{offlineId:e,kdt_id:t}})}function s(t){return(0,i.default)({path:o+"read-poi-by-ip.json",query:{kdt_id:t}})}var c=function(t,e){return(0,i.default)({path:o+"write-offline-id-by-buyer.json",query:{offlineId:t,kdt_id:e}})};function u(t,e,n){return(0,i.default)({path:o+"read-offlineId-by-position.json",query:{lat:e,lng:n,kdt_id:t}})}function l(t,e,n){return(0,i.default)({path:o+"write-poi.json",query:{kdt_id:t,offlineId:e,address:n}})}},47560:function(t,e,n){"use strict";n.r(e),n.d(e,{MULTI_STORE_NOT_CHECK_PAGES:function(){return a},SERVICE_DUE_SERVICE_PAGES:function(){return o}});var i="packages",o=[i+"/user/integral/index",i+"/trade/order/list/index",i+"/trade/order/result/index",i+"/card/list/index",i+"/order/paid/index",i+"/usercenter/dashboard/index",i+"/user/coupon/list/index",i+"/user/coupon/qrcode/index",i+"/user/coupon/detail/index",i+"/user/coupon/shop/index",i+"/common/stop-service/index",/pages-youzan\//],a=[i+"/shop/multi-store/index/index",i+"/shop/multi-store/search/index","pages/common/blank-page/index",i+"/ump/carve-coupon/index",/packages\/tangshi\//,/packages\/groupbuying\//,"pages/account/login/index"]},52897:function(t,e,n){"use strict";n.r(e),n.d(e,{checkNeedToSelectStore:function(){return O},getOfflineId:function(){return x},invokeEnterMultiStore:function(){return M},isEnterMultiStore:function(){return A},onOfflineIdChange:function(){return R},readBranchStore:function(){return C},readEnterMultiStoreStatus:function(){return P},readMultiStoreLocation:function(){return k},readOfflineData:function(){return T},saveOfflineIdRecord:function(){return S},setOfflineId:function(){return w},writeEnterStatus:function(){return E}});n(2375),n(23815),n(59230),n(8208),n(83812),n(55750),n(77109);var i=n(77726),o=n(35039),a=n(66352),r=n(90569),s=n(68073),c=n(47560),u=n(97220),l=n.n(u),d=l().getEnv(),f="_offline_id_key_",h="_offline_data_key_dep",p="_offline_data_promise_key_dep",m="_offline_data_key",g="_offline_data_promise_key",v="_is_enter_multi_",b="_on_offline_change",y="_multi_store_location_",_={NO_START:0,PENDING:1,FINISH:2};function w(t){if(!(+t>0))return Promise.reject("offlineId 必须为合法数字");var e,n,r=(0,a.getCurrentKdtId)();return t===x()?T(r,t):((0,i.setRequestDep)({offlineId:t}),e=t,(n=o.LocalCache.get(b,[]))&&n.forEach((function(t){try{t(e)}catch(t){}})),o.LocalCache.set(f,t),E(_.FINISH),S(r,t),T(r,t).then((function(t){return t})))}function x(){return o.LocalCache.get(f,0)||d!==s.TEE_ENV.WEB||o.LocalCache.set(f,(0,o.readNativeOfflineId)()),o.LocalCache.get(f,0)}function S(t,e){return(0,r.apiSetLastVisitStoreIdByBuyerId)(e,t)}function k(){return o.LocalCache.get(y)}function I(t){o.LocalCache.set(y,t)}function T(t,e){var n=o.LocalCache.get(m,{});if(n[e])return Promise.resolve(n[e]);var i=o.LocalCache.get(g,{});if(!i[e]){var a="web"===d&&(0,o.readNativeOfflineId)()===e?Promise.resolve((0,o.readNativeMultiStoreInfo)()):(0,r.apiReadBranchStoreCore)(t,e);i[e]=a.then((function(t){return t.logo=t.logo||(t.images?t.images[0]:""),n[e]=t,o.LocalCache.set(m,n,60),t}))}return o.LocalCache.set(g,i,60),i[e]}function C(t,e){var n=o.LocalCache.get(h,{});if(n[e])return Promise.resolve(n[e]);var i=o.LocalCache.get(p,{});if(!i[e]){var a="web"===d&&(0,o.readNativeOfflineId)()===e?Promise.resolve((0,o.readNativeMultiStoreInfo)()):(0,r.apiReadBranchStore)(t,e);i[e]=a.then((function(t){return n[e]=t,o.LocalCache.set(h,n,60),t}))}return o.LocalCache.set(p,i,60),i[e]}function P(){return o.LocalCache.get(v,_.NO_START)}function E(t){o.LocalCache.set(v,t)}function A(){return P()===_.FINISH}function O(t,e){var n=void 0===e?{}:e,i=n.select,o=n.position,r=n.type;return!!t&&(!(t.indexOf("retail")>-1)&&(!c.MULTI_STORE_NOT_CHECK_PAGES.some((function(e){return e===t||e.test&&e.test(t)}))&&void(0,a.readShopInfo)().then((function(t){var e=t.multiStore;return P()!==_.PENDING&&(e.isMultiStore&&!x()?(E(_.PENDING),e.openHideStore?l().navigate({url:o||"/packages/shop/multi-store/select-poi/index/index",type:r}):l().navigate({url:i||"/packages/shop/multi-store/index/index",type:r})):void 0)}))))}function L(t,e){return(0,o.getLocationPoi)({latitude:t,longitude:e}).then((function(t){var e=t.poi?t.poi.location.lat:t.location.latitude,n=t.poi?t.poi.location.lng:t.location.longitude;return I({latitude:e,longitude:n}),(0,r.apiReadOfflineIdByPosition)((0,a.getCurrentKdtId)(),e,n).then((function(e){var n,i;return(null===(n=t.poi)||void 0===n?void 0:n.address)&&(0,r.apiWritePoiAddress)((0,a.getCurrentKdtId)(),e,null===(i=t.poi)||void 0===i?void 0:i.address),e}))}))}function M(t){var e=(void 0===t?{}:t).targetOfflineId;return e?Promise.resolve(e):(0,a.readShopInfo)().then((function(t){var e=t.multiStore;if(!e.isMultiStore)return Promise.reject("非多网点,无需再走进店");if(!e.autoEntryStore)return Promise.resolve(0);if(E(_.PENDING),1===e.autoEntryStore&&e.offlineId)return e.offlineId;var n=(0,a.getCurrentKdtId)();return(0,o.getLocationBaidu)().then((function(t){var i=t.latitude,o=t.longitude;return I({latitude:i,longitude:o}),e.isMultiStore&&e.openHideStore?L(i,o):(0,r.apiReadOfflineIdByPosition)(n,i,o)}),(function(t){return e.isMultiStore&&e.openHideStore?(0,r.apiGetLocationByIp)(n).then((function(t){return t&&t.lat&&t.lng?L(t.lat,t.lng):(E(_.NO_START),0)})):(E(_.NO_START),0)}))}))}function R(t){if("function"==typeof t){var e=o.LocalCache.get(b,[]);e.push(t),o.LocalCache.set(b,e)}}},57036:function(t,e,n){"use strict";n.r(e),n.d(e,{apiGetShopConfig:function(){return r},apiGetShopExtensionInfo:function(){return a}});var i=n(77726),o="/wscshopcore/extension/",a=function(t){return(0,i.default)({path:o+"shop-info.json",method:"GET",query:{kdt_id:t},withCredentials:!0})};function r(t,e){return(0,i.default)({path:o+"configs.json",method:"POST",query:{kdt_id:e},data:{keys:t},withCredentials:!0})}},66352:function(t,e,n){"use strict";n.r(e),n.d(e,{batchReadShopConfig:function(){return o.batchReadShopConfig},colorsType:function(){return a.colorsType},defaultCSS:function(){return a.defaultCSS},defaultThemeColors:function(){return a.defaultThemeColors},getCurrentKdtId:function(){return i.getCurrentKdtId},getRootKdtId:function(){return i.getRootKdtId},getThemeColor:function(){return a.getThemeColor},getThemeColorWithType:function(){return a.getThemeColorWithType},getThemeType:function(){return a.getThemeType},initShopCore:function(){return s.initShopCore},onKdtIdChange:function(){return i.onKdtIdChange},onShopInfoChange:function(){return r.onShopInfoChange},readShopConfig:function(){return o.readShopConfig},readShopInfo:function(){return r.readShopInfo},setShopInfoCache:function(){return r.setShopInfoCache},switchHexToRgb:function(){return a.switchHexToRgb},themeColorComb:function(){return a.themeColorComb},themeColorLinear:function(){return a.themeColorLinear},themeMainColor:function(){return a.themeMainColor},transform:function(){return a.transform},updateKdtId:function(){return i.updateKdtId}});var i=n(80866),o=n(13557),a=n(15778),r=n(87487),s=n(97985)},80866:function(t,e,n){"use strict";n.r(e),n.d(e,{getCurrentKdtId:function(){return f},getRootKdtId:function(){return h},onKdtIdChange:function(){return m},updateKdtId:function(){return p}});n(2375),n(23815),n(55750),n(77109);var i=n(35039),o=n(87487),a=n(68073),r=n(77726),s=n(78973),c=n(4925),u="_kdt_id_",l="_root_kdt_id_",d="_kdt_id_cbs_";function f(){return i.LocalCache.get(u,0)||c.ENV!==a.TEE_ENV.WEB||i.LocalCache.set(u,(0,i.readNativeKdtId)()),i.LocalCache.get(u,0)}function h(){return i.LocalCache.get(l)||i.LocalCache.set(l,(0,i.readNativeRootKdtId)()),i.LocalCache.get(l,0)}function p(t,e){if(void 0===e&&(e={force:!1}),!(+t>0))return Promise.reject(new Error("kdtId 不合法"));t=+t;var n=f();if(e.formUpdateKdtId=!0,!e.force){if(n&&t!==n&&t===h())return(0,o.readShopInfo)(n,e);n===t&&(e.formUpdateKdtId=!1)}(0,s.updateKdtIdLogger)(n,t,e),(0,r.setRequestDep)({kdtId:t});var a=i.LocalCache.get(d);return a&&a.forEach((function(i){try{i(t,n,e)}catch(t){}})),i.LocalCache.set(u,t),(0,o.readShopInfo)(t,e)}function m(t){if("function"!=typeof t)return-1;var e=i.LocalCache.get(d)||[],n=e.push(t);return i.LocalCache.set(d,e),n}},13557:function(t,e,n){"use strict";n.r(e),n.d(e,{batchReadShopConfig:function(){return u},readShopConfig:function(){return c}});n(2375),n(23815),n(55750),n(77109),n(53956);var i=n(35039),o=n(57036),a=n(80866),r={CACHE_TIME:6e4},s="_shop_conf_key_";function c(t,e){return void 0===e&&(e=!0),u([t],e).then((function(e){return e[t]}))}function u(t,e){void 0===e&&(e=!0);var n=(0,a.getCurrentKdtId)();if(!Array.isArray(t))return Promise.reject(new Error("keys 需要为 string[] 或者 string"));var c={},u=[],l=Date.now(),d=i.LocalCache.get(s,{});return e&&d[n]?t.forEach((function(t){var e=d[n][t];e&&l-e.time<r.CACHE_TIME?c[t]=e.value:u.push(t)})):u=t,(0,o.apiGetShopConfig)(u,n).then((function(t){if(!t)return c;var e=Date.now();return Object.keys(t).forEach((function(i){d[n]||(d[n]={}),d[n][i]={value:t[i],time:e},c[i]=t[i]})),i.LocalCache.set(s,d),c}))}},87487:function(t,e,n){"use strict";n.r(e),n.d(e,{onShopInfoChange:function(){return _},readShopInfo:function(){return y},setShopInfoCache:function(){return g}});n(55750),n(2375),n(77109),n(23815);var i=n(62476),o=n(77726),a=n(35039),r=n(80866),s=n(4925),c="/wscshopcore/extension/shop-info.json",u={},l="_shop_info_key_",d="_shop_info_cbs_key_",f="_shop_info_promise_key_";function h(t,e,n){var i=a.LocalCache.get(d);i&&i.forEach((function(i){try{i(t,e,n)}catch(t){}}))}var p=function(t){var e=u,n={path:c,query:{kdt_id:t.kdtId,referrer:"web"===s.ENV?encodeURIComponent(window.location.host):void 0},data:(0,i.__assign)((0,i.__assign)({},e),t),withCredentials:!0};return(0,o.default)(n)},m=function(){return a.LocalCache.get(l,{})};function g(t,e){void 0===t&&(t=(0,r.getCurrentKdtId)()),t=+t;var n=a.LocalCache.get("_init_key_",{}).pick,i=m(),o=n?n(e):e;i[t]={origin:e,data:o},a.LocalCache.set(l,i)}var v=[];function b(t){v.length&&(v.forEach((function(e){e&&e(t)})),v.length=0)}function y(t,e){if(void 0===t&&(t=(0,r.getCurrentKdtId)()),void 0===e&&(e={}),!t)return new Promise((function(t){v.push(t)}));var n=m()[t];if(n){var i=n.data,o=n.origin;return e.formUpdateKdtId&&h(i,o,e),b(i),Promise.resolve(i)}var c=a.LocalCache.get(f,{});if(!c[t]){var u=a.LocalCache.get("_init_key_",{}),d=u.request,g=u.pick,y=void 0;if("web"===s.ENV&&(0,a.readNativeKdtId)()===t&&!e.force){var _=(0,a.readNativeShopInfo)();_.shop&&(y=Promise.resolve(_))}y||(y=d?d():p({kdtId:t})),c[t]=y.then((function(n){var i=g?g(n):n,o=m();return o[t]={origin:n,data:i},a.LocalCache.set(l,o),e.force||"weapp"!==s.ENV||t===(0,r.getCurrentKdtId)()||t!==(0,r.getRootKdtId)()?(h(i,n,e),b(i),i):i}))}return a.LocalCache.set(f,c),c[t]}function _(t){if("function"==typeof t){var e=a.LocalCache.get(d,[]);e.push(t),a.LocalCache.set(d,e)}}},97985:function(t,e,n){"use strict";n.r(e),n.d(e,{initShopCore:function(){return r}});var i=n(35039),o=n(66352),a="_init_key_";function r(t){void 0===t&&(t={}),i.LocalCache.get(a)||(i.LocalCache.set(a,t),(0,i.isFunction)(t.onKdtIdChange)&&(0,o.onKdtIdChange)(t.onKdtIdChange),(0,i.isFunction)(t.onShopInfoChange)&&(0,o.onShopInfoChange)(t.onShopInfoChange))}},15778:function(t,e,n){"use strict";n.r(e),n.d(e,{colorsType:function(){return r},defaultCSS:function(){return g},defaultThemeColors:function(){return a},getThemeColor:function(){return h},getThemeColorWithType:function(){return f},getThemeType:function(){return d},switchHexToRgb:function(){return p},themeColorComb:function(){return c},themeColorLinear:function(){return u},themeMainColor:function(){return s},transform:function(){return m}});n(59230),n(87675),n(71190),n(10357),n(53956);var i=n(96534),o=[["#f44","#f44","#fff","#f85","#fff","#FF6060","#FF4444"],["#ff5e15","#ff5e15","#fff","#ff9300","#fff","#FF8717","#FF5E16"],["#ff547b","#ff547b","#fff","#ffe6e8","#ff547b","#FF73AB","#FF5179"],["#f44","#f44","#fff","#555","#fff","#FF4F8D","#FF4444"],["#fcc600","#fcc600","#fff","#1d262e","#fff","#EABE00","#FFAA00"],["#65c4aa","#65c4aa","#fff","#ddf2ec","#65c4aa","#00D6B9","#00C291"],["#09bb07","#09bb07","#fff","#333","#fff","#56C700","#09BB07"],["#6cbe72","#6cbe72","#fff","#e1f4e3","#6cbe72","#77D330","#5BB161"],["#4a90e2","#4990e2","#fff","#dbe9f9","#4990e2","#0DA6F3","#0080FF"],["#c3a769","#c3a769","#fff","#f3eee1","#c3a769","#D9BC3D","#C3A769"],["#2f2f34","#2f2f34","#fff","#ebecf2","#2f2f34","#4a4d52","#333"],["#9a875f","#9a875f","#fff","#f6edec","#9a875f","#CFB67F","#B8A06F"],["#884cff","#884cff","#fff","#efe6ff","#884cff","#9673ff","#884cff"],["#EE0A24","#EE0A24","#fff","#FFB31E","#fff","#FF6034","#EE0A24"],["#f44","#f44","#fff","#f85","#fff","#FF6060","#FF4444"]],a={general:"#f44","main-bg":"#f44","main-text":"#fff","vice-bg":"#f85","vice-text":"#fff","start-bg":"#FF6060","end-bg":"#FF4444"},r={0:"th0",1:"th1",2:"th2",3:"th3",4:"th4",5:"th5",6:"th6",7:"th7",8:"th8",9:"th9",10:"th10",11:"th11",12:"th12",13:"th13",14:"th14"},s=function(t){return t>=o.length&&(t=1),o[t][1]},c=function(t){return t>=o.length&&(t=1),o[t]},u=function(t){return t>=o.length&&(t=1),"linear-gradient(to right, "+o[t][5]+" 0%, "+o[t][6]+" 100%)"},l=["general","main-bg","main-text","vice-bg","vice-text","gradient-start","gradient-end"],d=function(){},f=function(t,e){void 0===e&&(e=0);var n=l.indexOf(t);return n>-1?c(e)[n]:t},h=function(t){};function p(t){return(0,i.hexToRgb)(t)}function m(t){return"object"!=typeof t||null==t?"":Object.keys(t).map((function(e){var n=t[e];return"object"==typeof n?"--"+e+": linear-gradient(to right, "+n.start+", "+n.end+")":"--"+e+": "+n})).join(";").concat(";")}var g=m(a)},84828:function(t,e,n){"use strict";var i;n.r(e),n.d(e,{TEE_ENV:function(){return i}}),function(t){t.WEB="web"}(i||(i={}))},68073:function(t,e,n){"use strict";n.r(e),n.d(e,{TEE_ENV:function(){return i.TEE_ENV}});var i=n(84828);n(3522),n(58e3),n(41617)},58e3:function(t,e,n){"use strict";n.r(e)},3522:function(t,e,n){"use strict";n.r(e)},41617:function(t,e,n){"use strict";n.r(e)},78973:function(t,e,n){"use strict";n.r(e),n.d(e,{updateKdtIdLogger:function(){return a}});n(2375),n(23815);var i=n(35039),o=n(4925),a=function(t,e,n){if(void 0===n&&(n={}),+t!=+e)return new Promise((function(a,r){try{if(o.isWeapp)(0,i.appLogger)()({et:"custom",ei:"weapp_update_kdt_id",en:"店铺kdtId更新",params:{preKdtId:+t,targetKdtId:+e,ext:n,time:Date.now()}});a(!0)}catch(t){r(t)}}))}},48883:function(t,e,n){"use strict";n.r(e),n.d(e,{getCurrentKdtId:function(){return f},getOfflineId:function(){return d},getRootKdtId:function(){return h},readNativeKdtId:function(){return r},readNativeMultiStoreInfo:function(){return u},readNativeMultiStoreSetting:function(){return l},readNativeOfflineId:function(){return a},readNativeRootKdtId:function(){return s},readNativeShopInfo:function(){return c}});var i=n(63413),o="undefined"!=typeof window&&window._global?window._global:{};function a(){return o.offlineId||o.offline_id||o.oid||0}function r(){return o.kdtId||o.kdt_id||0}function s(){return o.hqKdtId||o.hq_kdt_id||r()}function c(){var t=o.rantaShopInfo,e=o.shopData,n=l(),r={multiStore:n.status?{isMultiStore:!0,offlineId:a(),autoEntryStore:n.weappAutoEnterStore,openHideStore:n.openHideStore}:{isMultiStore:!1,offlineId:0,autoEntryStore:0,openHideStore:!1}};return t?(0,i.default)((0,i.default)({},r),t):e?(0,i.default)((0,i.default)({},r),{},{shop:e}):r}function u(){return o.offlineData}function l(){return o.offlineSettingData||o.offlineSettings||{}}var d=a,f=r,h=s},72167:function(){},67442:function(t,e,n){"use strict";n.r(e)},6967:function(t,e,n){"use strict";n.r(e),n.d(e,{ApolloInstance:function(){return c},apollo:function(){return u}});var i=n(37735),o=n(3887),a=n(58645),r=(n(55750),n(2375),n(77109),n(23815),n(87675),n(77726)),s=n(32459),c=function(){function t(e){(0,o.default)(this,t),this.APOLLO_CONFIG={},this.DEFAULT_APOLLO_CONFIG=[],this.apolloPromise=null,this.cbs=null==e?void 0:e.cbs}return(0,a.default)(t,[{key:"requestApolloConfig",value:function(t){return(0,r.default)({path:"/retail/h5/miniprogram/get-apollo/configs.json",data:t,method:"POST",options:{useCdn:!0}})}},{key:"formatResApolloConfig",value:function(t){var e,n=this,i=this.requestApolloConfig;return(null===(e=this.cbs)||void 0===e?void 0:e.customSend)&&(i=this.cbs.customSend),i(t).then((function(t){return t&&t.length&&t.forEach((function(t){n.APOLLO_CONFIG[t.key||t.name]=t.value||t.val,t.data&&(n.APOLLO_CONFIG[t.key]=t.data)})),n.APOLLO_CONFIG})).catch((function(t){return{}}))}},{key:"initApolloConfig",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.apolloPromise&&!t||(this.apolloPromise=this.formatResApolloConfig({hqKdtId:(0,s.getRootKdtId)(),list:this.DEFAULT_APOLLO_CONFIG})),this.apolloPromise}},{key:"getSyncApolloConfig",value:function(t){return t?this.APOLLO_CONFIG[t]:this.APOLLO_CONFIG}},{key:"getAsyncApolloConfig",value:function(t){return"[object Promise]"===Object.prototype.toString.call(this.apolloPromise)?this.apolloPromise.then((function(e){return t?e[t]:e})):this.initApolloConfig().catch((function(){return Promise.resolve({})}))}},{key:"setApolloConfig",value:function(t){t&&t.length&&(this.DEFAULT_APOLLO_CONFIG=[].concat((0,i.default)(this.DEFAULT_APOLLO_CONFIG),(0,i.default)(t)))}},{key:"setApolloResultConfig",value:function(t){var e=this;t&&t.length&&t.forEach((function(t){e.APOLLO_CONFIG[t.name]=t.val})),this.apolloPromise=Promise.resolve(this.APOLLO_CONFIG)}}]),t}(),u=new c;e.default=c},33794:function(t,e,n){"use strict";n.r(e),n.d(e,{APP:function(){return s},ENV:function(){return r},HOME_PAGE:function(){return a},MAX_LOG_LENGTH:function(){return u},isWeapp:function(){return c}});var i=n(97220),o=n.n(i),a="/pages/home/dashboard/index",r=o().getEnv(),s=o().getApp,c="weapp"===r,u=8},74511:function(t,e,n){"use strict";n.r(e),n.d(e,{BaseExtension:function(){return o}});var i=n(3887),o=function t(e){(0,i.default)(this,t),this.ctx=e.ctx}},78250:function(t,e,n){"use strict";n.r(e),n.d(e,{LocalCacheFunc:function(){return s}});var i=n(3887),o=n(58645),a=n(97220),r=n.n(a),s=function(){function t(e){(0,i.default)(this,t),this.CACHE_KEY="__shop_core__tee",this.CACHE_KEY=e||this.CACHE_KEY}return(0,o.default)(t,[{key:"clear",value:function(){r().setGlobal(this.CACHE_KEY,{})}},{key:"get",value:function(t,e){var n=r().getGlobal(this.CACHE_KEY)||{},i=n[t];if(i){if(!i.expire||Date.now()-i.time<1e3*i.expire)return i.data;n[t]=void 0,r().setGlobal(this.CACHE_KEY,n)}return e}},{key:"set",value:function(t,e,n){var i=r().getGlobal(this.CACHE_KEY)||{};return i[t]={data:e,expire:n,time:Date.now()},r().setGlobal(this.CACHE_KEY,i),this}}]),t}();e.default=new s},63035:function(t,e,n){"use strict";n.r(e),n.d(e,{getExtConfigByKey:function(){return a}});n(53956),n(42345);var i=n(81976),o={};function a(t){if(0===Object.keys(o).length)try{var e=(0,i.getExtConfigSync)();e&&Object.assign(o,e)}catch(t){}return t?o[t]:o}},874:function(t,e,n){"use strict";function i(t){return"function"==typeof t}function o(t){return"number"==typeof t}n.r(e),n.d(e,{isFunction:function(){return i},isNumber:function(){return o}})},41498:function(t,e,n){"use strict";n.r(e),n.d(e,{appLogger:function(){return a}});var i=n(33794),o=function(){},a=function(){var t=(0,i.APP)();try{return t.logger&&t.logger.log.bind(t.logger)||o}catch(t){return o}}},35039:function(t,e,n){"use strict";n.r(e),n.d(e,{ApolloInstance:function(){return m.ApolloInstance},BaseExtension:function(){return s.BaseExtension},LocalCache:function(){return l.default},LocalCacheFunc:function(){return l.LocalCacheFunc},Location:function(){return u.default},SkyLogInstance:function(){return p.SkyLogInstance},apollo:function(){return m.apollo},appLogger:function(){return h.appLogger},baiduToGcj:function(){return c.baiduToGcj},gcjToBaidu:function(){return c.gcjToBaidu},getCurrentKdtId:function(){return i.getCurrentKdtId},getDb:function(){return c.getDb},getExtConfigByKey:function(){return d.getExtConfigByKey},getLocationAuth:function(){return u.getLocationAuth},getOfflineId:function(){return i.getOfflineId},getRootKdtId:function(){return i.getRootKdtId},isFunction:function(){return f.isFunction},isNumber:function(){return f.isNumber},parseDistance:function(){return c.parseDistance},readNativeKdtId:function(){return i.readNativeKdtId},readNativeMultiStoreInfo:function(){return i.readNativeMultiStoreInfo},readNativeMultiStoreSetting:function(){return i.readNativeMultiStoreSetting},readNativeOfflineId:function(){return i.readNativeOfflineId},readNativeRootKdtId:function(){return i.readNativeRootKdtId},readNativeShopInfo:function(){return i.readNativeShopInfo},reverseGeocoder:function(){return c.reverseGeocoder},searchAddress:function(){return c.searchAddress},setDb:function(){return c.setDb},skyLog:function(){return p.skyLog}});var i=n(48883),o=n(72167),a={};for(var r in o)["default","Location","getLocationAuth","LocalCache","LocalCacheFunc","getCurrentKdtId","getOfflineId","getRootKdtId","readNativeKdtId","readNativeMultiStoreInfo","readNativeMultiStoreSetting","readNativeOfflineId","readNativeRootKdtId","readNativeShopInfo"].indexOf(r)<0&&(a[r]=function(t){return o[t]}.bind(0,r));n.d(e,a);n(67442);var s=n(74511),c=n(94027),u=(n(41093),n(58112)),l=n(78250),d=n(63035),f=n(874),h=n(41498),p=n(15117),m=n(6967)},28123:function(t,e,n){"use strict";n.r(e),n.d(e,{getSuggestion:function(){return r},reverseGeocoder:function(){return a}});var i=n(63413),o=n(77726);function a(t){return(0,o.default)({path:"/wsctrade/amap/api/reverseGeocoder.json",data:(0,i.default)((0,i.default)({},t),{},{biz:"shop"})})}function r(t){return(0,o.default)({path:"/wsctrade/amap/api/getSuggestion.json",data:(0,i.default)((0,i.default)({},t),{},{biz:"shop"})})}},846:function(t,e,n){"use strict";n.r(e),n.d(e,{baiduToGcj:function(){return u},gcjToBaidu:function(){return c},getDb:function(){return r},parseDistance:function(){return s},setDb:function(){return a}});n(2860);var i={},o=1;function a(t){var e="db_"+o++;return i[e]=t,e}function r(t){var e=i[t];return delete i[t],e}function s(t){return t?t=(t=+t||0)>1e4?"> 10km":t>1e3?(t/1e3).toFixed(2)+"km":t<100?"< 100m":t.toFixed(2)+"m":0}function c(t,e){var n=3e3*Math.PI/180,i=t,o=e,a=Math.sqrt(i*i+o*o)+2e-5*Math.sin(o*n),r=Math.atan2(o,i)+3e-6*Math.cos(i*n);return{lng:t=a*Math.cos(r)+.0065,lat:e=a*Math.sin(r)+.006,longitude:t,latitude:e}}function u(t,e){var n=3e3*Math.PI/180,i=t-.0065,o=e-.006,a=Math.sqrt(i*i+o*o)-2e-5*Math.sin(o*n),r=Math.atan2(o,i)-3e-6*Math.cos(i*n);return{longitude:t=a*Math.cos(r),latitude:e=a*Math.sin(r),lng:t,lat:e}}},72884:function(t,e,n){"use strict";n.r(e),n.d(e,{formatPois:function(){return i}});n(55750),n(2375),n(77109),n(46239);function i(t){if(!Array.isArray(t))return t;t.forEach((function(e){Array.isArray(e.address)&&!e.address.length&&(e.address="");var n=t.filter((function(t){return e.address===t.address&&e.name===t.name}));n.length>1&&n.forEach((function(t){t.name=t.district+t.name}))}));var e=[];return t.forEach((function(t){e.filter((function(e){return e.name===t.name})).length||e.push(t)})),e}},94027:function(t,e,n){"use strict";n.r(e),n.d(e,{baiduToGcj:function(){return s.baiduToGcj},gcjToBaidu:function(){return s.gcjToBaidu},getDb:function(){return s.getDb},parseDistance:function(){return s.parseDistance},reverseGeocoder:function(){return l},searchAddress:function(){return c},setDb:function(){return s.setDb}});var i=n(27455),o=n(63413),a=(n(10357),n(79362),n(2375),n(87675),n(83812),n(86132),n(3951),n(28123)),r=n(72884),s=n(846);function c(t){var e=t.keyword;return a.getSuggestion({keywords:e,datatype:"all"}).then((function(t){return{data:(0,r.formatPois)(t||[]).map((function(t){return(0,o.default)({title:t.name},t)}))}}))}function u(t,e){return e.reduce((function(e,n){var i=t[n];return Array.isArray(i)?e[n]="":e[n]=i,e}),{})}function l(t){var e=t.location,n=e.latitude,o=e.longitude,r="".concat(o,",").concat(n);return a.reverseGeocoder({location:r,extensions:"all"}).then((function(t){if(!t)return{status:"error",message:"根据坐标获取地址信息错误"};var e=t.addressComponent,n=t.pois,o=t.formatted_address,a=u(e,["country","province","city","district","adcode","streetNumber","building"]),r=a.country,s=a.province,c=a.city,l=a.district,d=a.adcode,f=a.streetNumber,h=a.building,p=u(f,["street"]).street;return{status:0,result:{address:o,formatted_addresses:{recommend:p+u(h,["name"]).name},address_component:{nation:r,province:s,city:c,district:l,street:p,street_number:f},ad_info:{nation:r,adcode:d,province:s,city:c,district:l},pois:n.map((function(t){var e=t.id,n=t.name,o=t.type,a=t.tel,r=t.distance,s=t.direction,c=t.address,u=t.location,l=(void 0===u?"":u).split(",").map(Number),d=(0,i.default)(l,2),f=d[0];return{id:e,title:n,address:c,tel:a,category:o,location:{lat:d[1],lng:f},_distance:r,direction:s}}))}}}))}},58112:function(t,e,n){"use strict";n.r(e),n.d(e,{getLocationAuth:function(){return h}});var i=n(3887),o=n(58645),a=(n(2375),n(23815),n(97220)),r=n.n(a),s=n(997),c=n(81976),u=n(94027),l=r().$native,d=r().getEnv();var f=function(){function t(){(0,i.default)(this,t)}return(0,o.default)(t,[{key:"getLocation",value:function(){return"ant"===d?new Promise((function(t,e){l.getLocation({type:3,success:t,fail:e})})).then((function(t){var e=t||{},n=e.latitude,i=e.longitude,o=e.pois,a=void 0===o?[]:o,r=e.country,s=e.province,c=e.city,u=e.district,l=a[0]||{},d=l.name,f=void 0===d?"":d,h=l.address;return{address:f||(void 0===h?"":h),countryName:r,provinceName:s,cityName:c,countyName:u,latitude:n,longitude:i}})):(0,c.getLocation)().then((function(t){return(0,u.reverseGeocoder)({location:(0,u.gcjToBaidu)(t.longitude,t.latitude),poi_options:"policy=2",coord_type:3}).then((function(e){var n=e.result,i=(null==n?void 0:n.address_component)||{};return{countryName:i.nation,provinceName:i.province,cityName:i.city,countyName:i.district,latitude:t.latitude,longitude:t.longitude,address:(null==n?void 0:n.formatted_addresses.recommend)||(null==n?void 0:n.address)||""}}))}))}},{key:"chooseLocation",value:function(t){return"ant"===d?new Promise((function(t,e){l.chooseLocation({success:t,fail:e})})):(r().navigate({url:s.default.add("/packages/shopcore/shop-address/index",t)}),Promise.reject())}}]),t}(),h=function(){return new Promise((function(t,e){r().$native.getSetting({success:function(e){t(e.authSetting["scope.userLocation"])},fail:function(t){e(t)}})}))};e.default=new f},13661:function(t,e,n){"use strict";n.r(e);var i=n(77726);e.default={skyNetLog:function(t){return(0,i.default)({method:"POST",path:"/retail/h5/miniprogram/sky-net-log.json",data:t})}}},15117:function(t,e,n){"use strict";n.r(e),n.d(e,{SkyLogInstance:function(){return h},skyLog:function(){return p}});var i=n(24958),o=n(63413),a=n(3887),r=n(58645),s=(n(34642),n(67519)),c=n.n(s),u=(n(2375),n(23815),n(47691),n(79575),n(60291),n(93326)),l=n.n(u),d=n(13661),f=n(33794),h=function(){function t(e){(0,a.default)(this,t),this.logQueue=[],this.sendLogsTimeoutId=null,this.cbs=null==e?void 0:e.cbs}var e;return(0,r.default)(t,[{key:"addLog",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logQueue.push((0,o.default)((0,o.default)({},e),{},{timestamp:l()(new Date,"YYYY-MM-DD HH:mm:ss")})),this.logQueue.length>=f.MAX_LOG_LENGTH?this.sendLogs():null===this.sendLogsTimeoutId&&(this.sendLogsTimeoutId=setTimeout((function(){t.sendLogsTimeoutId=null,t.sendLogs()}),5e3))}},{key:"getLogInfo",value:(e=(0,i.default)(c().mark((function t(){var e,i;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.e(307).then(n.bind(n,70307)).then((function(t){return t.default})).then((function(t){return t.getUserInfo().catch((function(t){}))}));case 2:if(t.t0=t.sent,t.t0){t.next=5;break}t.t0={};case 5:return e=t.t0,i=e.buyerId,t.abrupt("return",i);case 8:case"end":return t.stop()}}),t)}))),function(){return e.apply(this,arguments)})},{key:"sendLogs",value:function(){var t,e;if(0!==this.logQueue.length){var n=this.logQueue.slice();this.logQueue=[],(null===(t=this.cbs)||void 0===t?void 0:t.beforeSend)&&(n=this.cbs.beforeSend(n)),(null===(e=this.cbs)||void 0===e?void 0:e.customSend)?this.cbs.customSend(n):this.sendLogRequest(n)}}},{key:"sendLogRequest",value:function(t){this.getLogInfo().then((function(){d.default.skyNetLog({type:"info",message:t})}))}}]),t}(),p=new h;e.default=h},7777:function(t,e,n){"use strict";n.r(e)},41093:function(t,e,n){"use strict";n.r(e);n(21397),n(7777),n(18180),n(63390)},18180:function(t,e,n){"use strict";n.r(e)},63390:function(t,e,n){"use strict";n.r(e)},21397:function(t,e,n){"use strict";n.r(e)},8941:function(t,e,n){"use strict";n.r(e),n.d(e,{isAmapPage:function(){return c},isDecoSearchPage:function(){return u},isGoodsPage:function(){return o},isInUsercenterPage:function(){return a},isShowcaseHomePage:function(){return r},isUserCenterPage:function(){return s}});n(59230),n(83812);var i=location.pathname;function o(){return 0===i.indexOf("/wscgoods")}function a(){return"/wscuser/membercenter"===i}function r(t){return/(v2|wscshop)(\/showcase)?\/home/.test(t)}function s(t){return/(v2|wscuser)(\/showcase)?\/(usercenter|membercenter)(?!(\/setting))/.test(t)}function c(t){return/uri\.amap\.com\/marker/.test(t)}function u(t){return/\/wscdeco\/decorate\/search-page/.test(t)}},57010:function(t,e,n){"use strict";n.r(e),n.d(e,{getLinkItemFromUrl:function(){return d},getRedirectData:function(){return f}});n(83812),n(86132),n(55750),n(2375),n(77109),n(71190),n(60291),n(91793),n(8208),n(7091);var i=n(67418),o=n(46932),a=n(89093),r=n.n(a),s=n(47019),c=n.n(s),u=n(60576);function l(t){void 0===t&&(t="");var e=t.split("#")[0].split("?"),n={};return e[1]&&e[1].split("&").forEach((function(t){var e=t.split("=");n[e[0]]=e.slice(1).join("=")})),n}function d(t){var e={linkUrl:t};return u.urlRegList.some((function(n){var i=n.reg,o=n.type,a=i.test(t);if(a){e.type=o;var r=function(t,e){var n=c().get("alias",e);return n||("shopnote_detail"===t?c().get("noteAlias",e):("goods"!==t&&"feature"!==t&&"seckill"!==t||(n=e.split("?")[0].match(/\b\w+\b/g).pop()),n))}(o,t);if(r&&(e.alias=r),"goods"===o){var s=l(t),u=s.activityType,d=void 0===u?"":u,f=s.activityId,h=void 0===f?"":f,p=s.ump_type,m=void 0===p?"":p,g=s.ump_alias,v=void 0===g?"":g;"seckill"===d&&(e.type="seckill",e.alias=v),e.extra={activityType:d,activityId:h,umpType:m,umpAlias:v}}}return a})),e}function f(t,e){var n="",a=!1,s=t.type,u=t.alias,d=t.linkTitle,f=void 0===d?"":d,h=t.linkUrl,p=void 0===h?"":h;if("goods"===s&&u)n="/packages/goods/detail/index?alias="+u;else if("tag"===s){var m=u?{alias:u}:l(p);m.alias&&(n="/packages/shop/goods/tag-list/index?alias="+m.alias+"&title="+f)}else if("feature"===s&&u)n="/packages/home/feature/index?alias="+u;else if("homepage"===s)a=!0,n="/packages/home/dashboard/index";else if("cart"===s)a=!0,n="/packages/goods/cart/index";else if("usercenter"===s)a=!0,n="/packages/usercenter/dashboard/index",+c().get("is_retail_app")&&(n="/packages/retail/usercenter/dashboard-v2/index");else if("allgoods"===s)n="/packages/shop/goods/all/index?title="+f;else if("pointsstore"===s)n="/packages/ump/integral-store/index";else if("coupon"===s){var g=t.link_id,v=t.coupon_type,b=(0,i.default)({},g?{id:t.link_id}:{},7===v?{type:"promocard"}:{},u?{alias:u}:{});n=c().add("/packages/user/coupon/detail/index",b)}else if("seckill"===s)n="/packages/goods/seckill/index?alias="+u;else if("paidcolumn"===s)n="/packages/paidcontent/column/index?alias="+u;else if("paidcontent"===s)n="/packages/paidcontent/content/index?alias="+u;else if("paidvipbenefit"===s)n="/packages/paidcontent/rights/index?alias="+u;else if("mypaidcontent"===s)n="/packages/paidcontent/list/index";else if("paidlive"===s)n="/packages/paidcontent/live/index?alias="+u;else if("allcourse"===s)n="/packages/edu/goods/list/index";else if("course"===s||"educourse"===s||"allofflinecourse"===s||"eduappointment"===s||"course_group"===s||"course_category"===s||"edumoments"===s)n="/packages/edu/webview/index?targetUrl="+encodeURIComponent(p.replace(/^http(s)?:\/\/shop\d+-?\d+/,"https://h5"));else if("link"===s){var y=t.link_url;y&&/mp.weixin.qq.com\/s/.test(y)&&(n="/pages/common/webview-page/index?src="+encodeURIComponent(y))}else if("shopnote"===s)a=!0,n="/packages/shop/shopnote/list/index";else if("calendar_checkin"===s)n="/packages/ump/sign-in/index";else if("zodiac"===s)n="/packages/ump/new-lottery/casino/index?alias="+t.alias;else if("shopnote_detail"===s)n="/packages/shop/shopnote/detail/index?noteAlias="+t.alias;else if("hotellist"===s)n="/pages/common/webview-page/index?src="+encodeURIComponent(p);else if("wish"===s)(0,o.default)("小程序内不支持心愿单");else if("goods_search"===s){n="/packages/shop/goods/search/index?"+(p.split("#")[0].split("?")[1]||"")}return r()(e)||a||(n=c().add(n,e)),{weappUrl:n,h5Url:p,isTab:a}}},98850:function(t,e,n){"use strict";n.r(e),n.d(e,{isAlipayApp:function(){return y},isMarsWeapp:function(){return x},isQQApp:function(){return _},isSwan:function(){return v},isTTApp:function(){return b},jumpLink:function(){return E},jumpToWeapp:function(){return P},openWebView:function(){return S},replaceWebview:function(){return k}});n(83812),n(86132),n(59230),n(60291),n(7091);var i=n(67418),o=n(69754),a=n(8941),r=n(85869),s=n(83832),c=n(47019),u=n.n(c),l=n(74231),d=n(69019),f=n(72941),h=n(34e3),p=n(34981),m=n.n(p),g=n(57010),v=window._global.miniprogram&&window._global.miniprogram.isSwanApp,b=window._global.miniprogram&&window._global.miniprogram.isTTApp,y=window._global.miniprogram&&window._global.miniprogram.isAlipayApp,_=window._global.miniprogram&&window._global.miniprogram.isQQApp,w=u().get("bizEnv",location.href),x=window._global.miniprogram&&"mars"===w,S=u().get("__openNew__",location.href)||window.__openNew__,k=u().get("__replaceWebview__",location.href)||window.__replaceWebview__,I=window._global.kdt_id||window._global.kdtId,T=(0,d.getPlatform)(),C={home:"/pages/home/dashboard/index",ttHome:"/pages/home/dashboard/main",usercenter:"/pages/usercenter/dashboard/index",retailUsercenter:"/pages-retail/usercenter/dashboard-v2/index",baiduLogin:"/pages/account/baidu-login-select/index",ttUsercenter:"pages/usercenter/dashboard/main"};function P(t){var e=(0,g.getLinkItemFromUrl)(t),n=(0,g.getRedirectData)(e,e.extra),i=n.weappUrl,o=n.isTab,a=n.h5Url;r.default.navigate({weappUrl:i,url:a,type:o?"reLaunch":"navigateTo"})}function E(t,e){void 0===t&&(t="");var n=(void 0===e?{}:e).extraQuery,c=void 0===n?{}:n;if(t=(0,o.replaceOldGoodsUrl)(t),t=(0,o.replaceVipDomain)(t),v||b||y||_){if((0,a.isShowcaseHomePage)(t)){var p=t.split("?"),g=(p[0],p[1]),w=void 0===g?"":g;return r.default.navigate({weappUrl:C.home,swanUrl:C.home+(w?"?"+w:""),ttUrl:C.ttHome,aliappUrl:C.home,qqUrl:C.home,type:"reLaunch"}),!0}if((0,a.isUserCenterPage)(t)){var E=C[v&&s.isRetailShop?"retailUsercenter":"usercenter"];return r.default.navigate({weappUrl:E,swanUrl:E,ttUrl:C.ttUsercenter,aliappUrl:E,qqUrl:E,type:"switchTab"}),!0}if(0===t.indexOf("tel:")&&window.swan)return window.swan.makePhoneCall({phoneNumber:t.slice(4)}),!0;if((0,a.isAmapPage)(t)){var A=u().get("position",t).split(","),O=A[0],L=A[1],M=u().get("name",t),R=u().get("address",t);return r.default.openLocation({longitude:O,latitude:L,name:M,address:R}),!0}if(v||y||_){var D=(0,l.interceptGoodsNativeURL)(t);if(D)return void r.default.navigate({swanUrl:D,aliappUrl:D,qqUrl:D})}if(S){if((0,a.isInUsercenterPage)()&&(y||_)){if(0===t.indexOf("tel:"))return void(location.href=t);0!==t.indexOf("https://")&&(t=(0,o.buildUrl)(t,"h5",I)),_&&(t=t.replace(/^http(s?):\/\/shop\d+\./,"http$1://h5."))}return r.default.navigate({url:t,type:"openWebView"}),!0}if(k)return r.default.navigate({url:t,swanUrl:t,type:"redirectTo"}),!0}if(0!==t.indexOf("tel:")){if(v||(t=(0,o.buildUrl)(t,"",I)),_&&(t=t.replace(/^http(s?):\/\/shop\d+\./,"http$1://h5.")),x){var N=(0,l.interceptGoodsNativeURL)(t);if(N)return void r.default.navigate({url:t,weappUrl:N,swanUrl:N})}if((0,a.isGoodsPage)())"youzanmars"===T||"youzanwsc"===T?f.action.gotoWebview({page:"web",url:h.getSafeUrl({url:t,kdtId:I,extraQuery:(0,i.default)({pageType:"goods",referer:location.href},c)})}):h.redirect({url:t,kdtId:I,extraQuery:(0,i.default)({pageType:"goods",referer:location.href},c)});else{var G=u().get("zz_channel",location.href);if(m().isWeappWebview()&&!x&&(_global.feature_alias&&"weapp-mars"!==G&&"yzrm"!==G&&!(0,d.isGuang)()||"/wscdeco/decorate/search-page"===location.pathname||"/wscshop/showcase/feature/search"===location.pathname))return(0,a.isDecoSearchPage)(t)?r.default.navigate({url:t,type:"openWebView"}):void P(t);h.redirect({url:t,kdtId:I,extraQuery:c})}}else location.href=t}},74231:function(t,e,n){"use strict";n.r(e),n.d(e,{interceptGoodsNativeURL:function(){return c}});n(83812),n(86132),n(91793),n(87675);var i=n(47019),o=n.n(i),a=/\/(wsc|v2\/|wscshop\/)goods\/((detail|adv)\/)?([a-zA-Z0-9]+)$/,r=/\/(v2|wscshop)\/showcase\/goods$/,s="/packages/goods/detail/index";function c(t){var e=t.split("?"),n=e[0],i=e[1],c=n.match(a),u=!1,l=s+(i?"?"+i:"");if(c&&(u=!0,l=o().add(l,{alias:[].concat(c).pop()})),!c&&r.test(n)&&(u=!0),u){var d=_global||{},f=d.offlineId,h=d.shopMetaInfo;return f&&(l=o().add(l,{offlineId:f})),h&&h.kdtId!==h.rootKdtId&&(l=o().add(l,{sub_kdt_id:h.kdtId})),l}return null}},69019:function(t,e,n){"use strict";n.r(e),n.d(e,{getPlatform:function(){return a},isDangerousPlatform:function(){return o},isGuang:function(){return r}});n(59230);var i=["kuaishou","momo","qq"];function o(){var t=a();return i.indexOf(t)>-1}function a(){var t=window._global.platformInfo;return(void 0===t?{platform:"unknown"}:t).platform}function r(){try{var t=window.YzPageLogger.getCarrierParams("guang");return!!JSON.parse(t)}catch(t){}return!1}},60576:function(t,e,n){"use strict";n.r(e),n.d(e,{urlRegList:function(){return i}});var i=[{reg:/(v2|wscshop)(\/showcase)?\/home/,type:"homepage"},{reg:/wscshop\/showcase\/feature\/search/,type:"goods_search"},{reg:/(v2|wscshop)(\/showcase)?\/feature(?!(\/goods\/all|\/search|\/adv))/,type:"feature"},{reg:/(v2|wscshop)(\/showcase)?\/category/,type:"category"},{reg:/wscshop\/shopnote\/list/,type:"shopnote"},{reg:/wscshop\/shopnote\/detail/,type:"shopnote_detail"},{reg:/(v2|wscshop)(\/showcase)?\/tag/,type:"tag"},{reg:/(v2|wscshop)(\/showcase)?(\/feature)?\/goods\/all/,type:"allgoods"},{reg:/wscgoods\/detail/,type:"goods"},{reg:/v2\/seckill/,type:"seckill"},{reg:/(v2|wscshop)(\/showcase)?\/goods/,type:"goods"},{reg:/(v2|wsctrade)(\/trade)?\/cart/,type:"cart"},{reg:/(v2|wscuser)(\/showcase)?\/(usercenter|membercenter)(?!(\/setting))/,type:"usercenter"},{reg:/wscump\/coupon/,type:"coupon"},{reg:/v2\/ump\/promocard/,type:"coupon"},{reg:/wscump\/apps\/cards/,type:"guaguale"},{reg:/v2\/apps\/crazyguess/,type:"crazyguess"},{reg:/wscump\/lottery\/scene/,type:"wheel"},{reg:/wscump\/apps\/zodiac/,type:"zodiac"},{reg:/wscvis\/course\/detail/,type:"course"},{reg:/wscvis\/edu\/goods-list/,type:"allcourse"},{reg:/wscshop\/edu\/group/,type:"course_group"},{reg:/wscvis\/knowledge\/index\?p=allcontent/,type:"course_category"},{reg:/v2\/ump\/paidcontent\?page=mypay/,type:"mypaidcontent"},{reg:/v2\/ump\/paidcontent\/index\?page=vipbenefit/,type:"paidvipbenefit"},{reg:/v2\/ump\/paidcontent\/index/,type:"paidcontent"},{reg:/wscindustry\/hotel\/list/,type:"hotellist"},{reg:/v2\/apps\/vote/,type:"survey"},{reg:/v1\/s\/history/,type:"history"},{reg:/(v2|wscump)(\/ump)?\/point(s)?store/,type:"pointsstore"},{reg:/wscump\/checkin\/result/,type:"calendar_checkin"},{reg:/mp.weixin.qq.com\/s/,type:"link"},{reg:/(v2|v3)\/im/,type:"chat"},{reg:/wxpay\/wish/,type:"wish"}]},69754:function(t,e,n){"use strict";n.r(e),n.d(e,{buildUrl:function(){return _},getAllGoodsUrlByKdtId:function(){return I},getFeatureUrlByAlias:function(){return x},getGoodsEvaluationUrlByAlias:function(){return C},getGoodsUrlByAlias:function(){return S},getHomePageUrlByKdtId:function(){return w},getNewGoodsUrlByAlias:function(){return T},getTagUrlByTagAlias:function(){return k},replaceOldGoodsUrl:function(){return A},replaceVipDomain:function(){return E}});n(10357),n(53631),n(83812),n(60606),n(53956),n(34642),n(2375),n(47691),n(79575),n(81454),n(83855),n(8208),n(59230),n(7091);var i=n(20096),o=n.n(i),a=n(47019),r=n.n(a),s=window._global,c=s.miniprogram,u=void 0===c?{}:c,l=s.staticPageReg,d=void 0===l?[]:l,f=s.staticPageUrlMiddle,h=void 0===f?"":f,p=s.showcase_type,m=void 0===p?"":p,g=u.isSwanApp,v=void 0!==g&&g,b=u.isWeapp,y=void 0!==b&&b;function _(t,e,n,i){void 0===i&&(i={});var a=o()({isSwanApp:v,isWeappWebview:y,staticPageReg:d.map((function(t){return new RegExp(t)})),staticPageUrlMiddle:h}),s=t;return Object.keys(i||{}).length>0&&(s=r().add(t,i)),a(s,e,n)}function w(t,e){return void 0===e&&(e={}),_("/wscshop/showcase/homepage?kdt_id="+t,"h5",t,e)}function x(t,e,n){return void 0===n&&(n={}),_("/feature/"+t,"wap",e,n)}function S(t,e,n){return void 0===n&&(n={}),_("/goods/"+t,"wap",e,n)}function k(t,e,n){return void 0===n&&(n={}),_("/wscshop/tag/"+t,"h5",e,n)}function I(t,e){return void 0===e&&(e={}),_("/allgoods/"+t,"wap",t,e)}function T(t,e,n){return void 0===n&&(n={}),_("/wscgoods/detail/"+t,"h5",e,n)}function C(t,e,n){return void 0===n&&(n={}),_("/wscshop/showcase/goodsEvaluation/list?alias="+t+"&kdt_id="+e,"h5",e,n)}var P=["v2/showcase/goods","wscshop/showcase/homepage"];function E(t){if("feature"!==m&&"homepage"!==m)return t;try{var e=location.hostname;if("h5.youzan.com"===e||/^shop[0-9]{6}[0-9]*(\.m)?\.youzan\.com$/.test(e))return t;var n=new URL(t),i=n.hostname,o=n.pathname;P.some((function(t){return o.indexOf(t)>-1}))&&(t=t.replace(i,e))}catch(t){}return t}function A(t){if("feature"!==m&&"homepage"!==m)return t;try{var e=new URL(t),n=e.hostname,i=e.pathname;if(!(/\/(v2|wscshop)\/goods\/[a-zA-Z0-9]+$/.test(i)||/\/(v2|wscshop)\/showcase\/goods$/.test(i)))return t;var o=location.hostname;if((t=t.replace(n,o)).indexOf("/v2/goods/")>=0)t=t.replace("/v2/goods/","/wscgoods/detail/");else if(t.indexOf("/wscshop/goods/")>=0)t=t.replace("/wscshop/goods/","/wscgoods/detail/");else if(t.indexOf("/v2/showcase/goods")>=0){var a=r().get("alias",t);t=t.replace("/v2/showcase/goods","/wscgoods/detail/"+a)}else if(t.indexOf("/wscshop/showcase/goods")>=0){var s=r().get("alias",t);t=t.replace("/wscshop/showcase/goods","/wscgoods/detail/"+s)}return t}catch(t){}return t}},95485:function(t,e,n){"use strict";n.r(e),n.d(e,{WEB_NAVIGATE_TYPE:function(){return i}});var i={ZNB:"znb",NATIVE:"native",SAFE_LINK:"safeLink",JUMP_LINK:"jumpLink"}},7745:function(t,e,n){"use strict";n.r(e),n.d(e,{ZNB:function(){return s.ZNB},default:function(){return l}});var i=n(97220),o=n.n(i),a=n(34e3),r=n(98850),s=n(85869),c=n(72941),u=n(95485);function l(t){var e,n,i,l,d,f,h,p;switch(null===(e=null==t?void 0:t.web)||void 0===e?void 0:e.type){case u.WEB_NAVIGATE_TYPE.ZNB:var m=null!==(n=null==t?void 0:t.web)&&void 0!==n?n:{},g=m.znbSuccessCb,v=m.znbFailureCb;s.default.navigate(null===(i=t.web)||void 0===i?void 0:i.znb).then((function(){g&&"function"==typeof g&&g()})).catch((function(t){v&&"function"==typeof v&&v(t)}));break;case u.WEB_NAVIGATE_TYPE.NATIVE:c.action.gotoWebview(null===(l=t.web)||void 0===l?void 0:l.native);break;case u.WEB_NAVIGATE_TYPE.SAFE_LINK:a.redirect(null===(d=t.web)||void 0===d?void 0:d.safeLink);break;case u.WEB_NAVIGATE_TYPE.JUMP_LINK:(0,r.jumpLink)(null===(h=null===(f=t.web)||void 0===f?void 0:f.jumpLink)||void 0===h?void 0:h.url,null===(p=t.web)||void 0===p?void 0:p.jumpLink);break;default:o().navigate(t)}}},65314:function(t,e,n){"use strict";n.r(e),n.d(e,{createPrefetchData:function(){return c},getPrefetchData:function(){return r.getPrefetchData},navigateToNextPage:function(){return s}});var i=n(24958),o=n(67519),a=n.n(o),r=n(65611),s=function(){var t=(0,i.default)(a().mark((function t(e){var n,i,o,r,s;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.prefetchCb,i=e.navigateCb,o=e.navigatePath,r=(new Date).getTime(),s="prefetch:"+o+":"+r,i&&i(s),c({prefetchKey:s,prefetchCb:n});case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),c=function(){var t=(0,i.default)(a().mark((function t(e){var n,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.prefetchCb,i=e.prefetchKey,(0,r.initCache)(i),n&&n().then((function(t){(0,r.setCache)({cacheKey:i,data:t,type:r.resultType.SUCCESS})})).catch((function(t){(0,r.setCache)({cacheKey:i,data:t,type:r.resultType.FAILED})}));case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},84557:function(t,e,n){"use strict";n.r(e),n.d(e,{createPrefetchData:function(){return i.createPrefetchData},getPrefetchData:function(){return i.getPrefetchData},navigateToNextPage:function(){return i.navigateToNextPage}});var i=n(65314)},65611:function(t,e,n){"use strict";n.r(e),n.d(e,{getPrefetchCacheByKey:function(){return u},getPrefetchData:function(){return l},initCache:function(){return s},resultType:function(){return r},setCache:function(){return c}});var i=n(24958),o=n(67519),a=n.n(o),r={SUCCESS:"SUCCESS",FAILED:"FAILED"},s=function(){},c=function(){},u=function(){},l=function(){var t=(0,i.default)(a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},26206:function(t,e,n){"use strict";n.r(e),n.d(e,{CUSTOMER_LATITUDE_CACHE:function(){return p},DEFAULT_RETAIL_SHELF_ALIAS:function(){return _},ENTER_CONSTANT:function(){return I},ENTER_TAG:function(){return T},EVENT_TRIGGER_KEY:function(){return k},G_STATUS_OBJ:function(){return S},HOME_PATH:function(){return r},IS_INIT_ENTER_SHOP:function(){return s},LATITUDE_CACHE:function(){return d},LATITUDE_CACHE_AUTH:function(){return f},LATITUDE_CACHE_EXPIRE:function(){return h},OPTIMIZE_VERSION:function(){return y},ORDER_IS_AUTO_ENTER_SHOP:function(){return c},PROMISE_METHODS:function(){return x},SHOP_INFO_PARAMS_CB:function(){return u},WEAPP_INIT_INFO:function(){return b},checkIsCustomError:function(){return w},env:function(){return l},isTTapp:function(){return v},isWeapp:function(){return m},isWeb:function(){return g}});var i=n(97220),o=n.n(i),a=n(80517),r="pages/home/dashboard/index",s="_is_init_enter_shop_",c="_order_is_auto_enter_shop",u="_shop_info_params_cb",l=o().getEnv(),d="_enter_latitude_cache",f="_enter_latitude_auth",h=36e5,p="_customer_latitude_cache",m=l===a.PLATFORM.WX,g=l===a.PLATFORM.WEB,v=l===a.PLATFORM.TT,b="_weapp_init_info_cache",y="1.5.2",_="retail_shelf_alias",w=function(t){if(t&&t.code===a.ERROR_CODE.NOT_CHAIN)return!0},x={locationPromise:null,authStatusLBSPromise:null,apolloPromise:null,prefetchDataValidPromise:null,rSESConfigPromise:null},S={lbs:null},k={lbs_gt:"app:chain:get:location",shop_c:"app:chain:get:shop:callback",a_enter_c:"app:chain:enter:callback"},I={e_spc:"_enter_shop_params_cache",r_skc:"_retail_shelf_kdt_id_cache",h_des:"_home_kdt_id_cache"},T={fe_s:!0,ds_cb:!1,on_s:!1,on_sl:0}},85660:function(t,e,n){"use strict";n.r(e),n.d(e,{autoEnterShop:function(){return T},enterAfterLoddingRedirectTo:function(){return E},enterShopAfterLogin:function(){return P},getOrderEnterShopPolicy:function(){return A},handleUrlWithShopAutoEnter:function(){return O}});n(2375),n(23815),n(53956),n(97415),n(1881),n(34642),n(47691),n(79575);var i=n(62476),o=n(97220),a=n.n(o),r=n(77726),s=n(32459),c=n(83832),u=n(47019),l=n.n(u),d=n(43737),f=n.n(d),h=n(82450),p=n(78944),m=n(80517),g=n(3092),v=n(41061),b=n(26206),y=n(87728),_=n(46007),w=n(42300);function x(t,e){var n=t.ump_type,i=t.ump_alias,o=t.kdt_id,a=t.url,r=t.uuid,s=t.chainBizType,c=t.logTag,u=t.rejectAddressCb;if(u)return u();if((0,h.onLaunchHadEnterShop)({logTag:c,type:"enSelect"}))return Promise.resolve({});var l=function(){return(0,w.rejectFun)({err:"redirectToShopSelect"})};if(b.ENTER_TAG.on_sl){var d=Date.now()-b.ENTER_TAG.on_sl;if(b.ENTER_TAG.on_sl=0,d<800)return l()}"on_launch"===c&&(b.ENTER_TAG.on_sl=Date.now()),(0,y.clearLoggerData)(r),(0,p.setLbsAuthTag)(!0);var f=e.enterShopOptionsJsonString,m=void 0===f?"":f,g=e.bizListJson,v=void 0===g?"":g,_=e.ignoreStoreLimit,x=void 0===_?"":_;return(0,h.enterShopSelect)({kdt_id:o,dbKey:"location",umpAlias:i,umpType:n,redirectUrl:a,ignoreStoreLimit:x,enterShopOptionsJsonString:m,bizListJson:v,from:"new"},{redirectType:"reLaunch",extOpt:{chainBizType:s}}),l()}function S(t,e){void 0===e&&(e=!1);var n=(0,h.handleAutoEnterOptions)(t);return(0,h.calculateDoFunTime)(r.default.bind(null,{path:"/wscshop/weapp/auto_enter_shop.json",data:n}),{type:m.SET_LOG_TYPE.REQUEST_TIME,uuid:t.uuid,requestStart:Date.now(),againRequest:t.againRequest}).then((function(o){var r=o.res;if(r&&!Object.keys(r).length)return(0,w.rejectFun)({err:"单店无需走进店"});var s=r;g.default.set(b.WEAPP_INIT_INFO,{});var c,u=t.kdt_id,l=t.againRequest,d=void 0!==l&&l,f=s.toShopSelect,y=s.needLocate,_=void 0!==y&&y,k=s.autoSelectKdtId,I=s.oldEnterShop,T=s.shopInfo,C=void 0===T?{}:T,P=s.homeDetailInfo,E=s.redirectType,A=s.redirectUrl,O=s.routeBizType;return b.isWeapp&&"webview"===E?(c=A,void a().navigate({url:c,type:"redirectTo"})):!_||I||d?f?x(t,s):(0,h.handleEnterShopData)({autoSelectKdtId:k,kdt_id:u,needReturn:e,routeBizType:O,uuid:t.uuid,shopInfo:C,homeDetailInfo:P,requestParams:n}):function(t,e){return(0,p.getAuthStatusLBS)().then((function(n){return n===m.LOCATIONSTATUS.DENY?x(t,e):(0,h.calculateDoFunTime)(p.getLocationInfo.bind(null,{ignoreAuth:!0,needAuthProtocol:t.needAuthProtocol}),{type:m.SET_LOG_TYPE.GET_LBS_TIME,uuid:t.uuid}).then((function(n){var o=n.res,a=o.lat,r=o.lng;if((0,v.accordSkyLogger)({err:"["+b.env+"] 重新唤起lbs,再次发起此请求 lat:"+a+";lng:"+r}),!r||!a)return x(t,e);var s=(0,i.__assign)((0,i.__assign)({},t),{withLocation:"1",lat:a,lng:r});return(0,h.setEnterShopParamsCache)(b.ENTER_CONSTANT.e_spc,s),S((0,i.__assign)((0,i.__assign)({},s),{againRequest:!0}),t.ignoreCheckShopType)}))})).catch((function(n){return n&&"redirectToShopSelect"===n.err?(0,w.rejectFun)(n):((0,p.getAuthStatusLBS)(!0),x(t,e))}))}(t,s)}))}function k(t,e){if(void 0===e&&(e=!0),t.shopAutoEnter&&e){var n=t.prefetchStatus,o=t.lng,a=t.lat,r=t.needAuthProtocol,s=n===m.PREFETCH_STATUS.NEED_LBS,c=void 0;return c=a&&o?function(){return new Promise((function(t){t({lat:a,lng:o})}))}:p.getLocationInfo.bind(null,{ignoreAuth:s,needAuthProtocol:r}),(0,h.calculateDoFunTime)(c,{type:m.SET_LOG_TYPE.GET_LBS_AUTH_TIME,uuid:t.uuid}).then((function(e){var n=e.res,o=n.lat,a=n.lng,r=(0,i.__assign)((0,i.__assign)({},t),{withLocation:"1",lat:o,lng:a});return(0,h.setEnterShopParamsCache)(b.ENTER_CONSTANT.e_spc,r),S(r,t.ignoreCheckShopType)}))}return(0,h.setEnterShopParamsCache)(b.ENTER_CONSTANT.e_spc,t),S(t,t.ignoreCheckShopType)}var I=function(t,e){return b.isWeb?((0,y.clearLoggerData)(t.uuid),Promise.resolve()):(e.ignoreCheckShopType?function(){return Promise.resolve({})}:s.readShopInfo)().then((function(n){var o=(0,y.getLoggerData)(t.uuid);if(!e.ignoreCheckShopType&&!(0,c.checkChainStore)(null==n?void 0:n.shop))return o.isChainStore=0,void(0,y.clearLoggerData)(t.uuid);o.rootKdtId=(0,s.getRootKdtId)(),o.enterPath=(0,h.getCurrentPath)();var a=function(t,e){var n=t.umpAlias,o=t.umpType,a=t.subKdtId,r=t.sub_kdt_id,c=t.kdtId,u=t.kdt_id,l=t.uuid,d=t.forceEnterType,f=(0,i.__rest)(t,["umpAlias","umpType","subKdtId","sub_kdt_id","kdtId","kdt_id","uuid","forceEnterType"]),h=e||{},p=h.forceKdtId,v=void 0===p?0:p,y=h.redirectUrl,_=h.logTag,w=void 0===_?m.ENTER_SHOP_LOG_TAG.OTHER:_,x=h.prefetchStatus,S=h.prefetchKdtId,k=h.ignoreCheckShopType,I=void 0!==k&&k,T=h.chainBizType,C=void 0===T?m.CHAIN_BIZ_TYPE.COMMON:T,P=h.needAuthProtocol,E=n||f.ump_alias||"",A=o||f.ump_type||"",O=(0,s.getCurrentKdtId)(),L=v||+a||+r||c||u||O,M=encodeURIComponent(y),R=(0,i.__assign)((0,i.__assign)({},f),{ump_alias:E,ump_type:A,url:M,kdt_id:L,chainBizType:C,logTag:w,prefetchStatus:x,prefetchKdtId:S,uuid:l,needAuthProtocol:P,ignoreCheckShopType:I});for(var D in R)[void 0,""].includes(R[D])&&delete R[D];return g.default.get(b.IS_INIT_ENTER_SHOP)||(d||+L!=+(0,s.getRootKdtId)()||(R.shopAutoEnter=1),"on_launch"!==w&&g.default.set(b.IS_INIT_ENTER_SHOP,!0)),R}(t,e),r=a.uuid;return(0,h.calculateDoFunTime)(p.getAuthStatusLBS,{type:m.SET_LOG_TYPE.GET_AUTH_TIME,uuid:r}).then((function(t){return t.res===m.LOCATIONSTATUS.UNKNOWN?k(a,!1):k(a,!0)})).catch((function(t){var e=t.err;return e&&"timeout"===(null==e?void 0:e.type)?k(a,!1):(0,w.rejectFun)(e)}))}))},T=function(t,e){var n=e.enterLogId||(0,y.generateUuid)(!0);(0,y.initLoggerData)(n);var o=!g.default.get(b.IS_INIT_ENTER_SHOP);return b.ENTER_TAG.ds_cb=!1,new Promise((function(a,r){var s=e.logTag,c=void 0===s?m.ENTER_SHOP_LOG_TAG.OTHER:s;(0,h.calculateDoFunTime)(I.bind(null,(0,i.__assign)((0,i.__assign)({},t),{uuid:n}),e),{uuid:n,logTag:c,type:m.SET_LOG_TYPE.ENTER_SHOP_TIME}).then((function(e){var n=e.res||{};(0,h.doEnterShopCallback)({isInitEnterShop:o,hasHomeDetail:t.supportPreHomeDetail,result:n,resolve:a})})).catch((function(t){var e=t.err;(0,y.clearLoggerData)(n),"redirectToShopSelect"!==e&&(0,h.handleAfterEnterShop)(),r(e)}))}))};function C(t){var e=(0,s.getCurrentKdtId)();return(0,r.default)({path:"/wscshop/weapp/enter_shop_after_login.json",data:{kdt_id:e,ignoreSession:t}})}var P=function(t){return void 0===t&&(t={}),b.isWeb?function(t){return new Promise((function(e,n){t.isAccessEnterShop?C(!1).then((function(i){if(i){var o=decodeURIComponent(t.redirectUrl);o.includes("shopAutoEnter")&&(o=l().remove(o,"shopAutoEnter"));try{var r=f()("/wscshopcore/reEnterLoading?reUrl=","h5",t.kdtId||"")+encodeURIComponent(o+"&shopAutoEnter=3"),s={url:r,type:"redirectTo"};t.isMulti||(a().navigate(s),n({msg:"不是多端调用,内部做重定向"})),n({code:302,data:{url:r,type:"redirectTo"},msg:"多端调用,外部做重定向"})}catch(t){e({msg:"success"})}}else e({msg:"success"})})):e({msg:"success"})}))}(t):function(t){return new Promise((function(e,n){Promise.all([(0,_.enterShopApollo)("ignoreReEnterShop",{raw:!0}).catch((function(){return[]})),C(!0)]).then((function(i){var o=i[0],r=i[1];if((!Array.isArray(o)||!o.includes((0,h.getCurrentPath)()))&&r){var s=g.default.get(b.ENTER_CONSTANT.e_spc)||{};if(s&&Object.keys(s).length){var c=t.redirectType,u=void 0===c?"reLaunch":c,l=t.isMulti,d=void 0!==l&&l,f={url:"/packages/shop/again-enter-loaing/index?reUrl="+t.redirectUrl,type:u};d||(a().navigate(f),n({msg:"不是多端调用,内部做重定向"})),n({code:302,data:f,msg:"多端调用,外部做重定向"})}}e({msg:"success"})}))}))}(t)},E=function(){var t=g.default.get(b.ENTER_CONSTANT.e_spc)||{};return new Promise((function(e,n){t&&Object.keys(t).length?S((0,i.__assign)((0,i.__assign)({},t),{loginEnter:!0}),!0).then((function(t){t&&e({kdtid:t,msg:"存在kdtid"}),n({msg:"内部重定向"})})):e({msg:"无kdtid"})}))};function A(){(0,r.default)({path:"/wscshopcore/get-order-enter-shop-policy.json"}).then((function(t){g.default.set(b.ORDER_IS_AUTO_ENTER_SHOP,t)})).catch((function(){g.default.set(b.ORDER_IS_AUTO_ENTER_SHOP,!1)}))}function O(t){return g.default.get(b.ORDER_IS_AUTO_ENTER_SHOP)||!1?(0,h.formatUrlWithShopAutoEnter)(t):t}},96079:function(t,e,n){"use strict";n.r(e),n.d(e,{EXT_SCENE_ID:function(){return r},setApplicationScene:function(){return s}});var i=n(32459),o=n(77726),a=n(83832);var r,s=function(t){return(0,i.readShopInfo)().then((function(e){if((0,a.checkChainStore)(null==e?void 0:e.shop))return function(t){return(0,o.default)({path:"/wscshopcore/set-enter-scene/configs.json",data:t,method:"POST"})}(t)}))};!function(t){t[t.SHOPLIST=9001]="SHOPLIST",t[t.CARDLIST=9002]="CARDLIST",t[t.ORDERLIST=9003]="ORDERLIST",t[t.SALESMAN=9004]="SALESMAN",t[t.UMP=9005]="UMP",t[t.FEATURE=9011]="FEATURE"}(r||(r={}))},56960:function(t,e,n){"use strict";n.r(e),n.d(e,{CHAIN_BIZ_TYPE:function(){return l.CHAIN_BIZ_TYPE},ENTER_APOLLO_KEYS:function(){return c.ENTER_APOLLO_KEYS},ENTER_SHOP_LOG_TAG:function(){return l.ENTER_SHOP_LOG_TAG},ERROR_CODE:function(){return l.ERROR_CODE},EVENT_TRIGGER_KEY:function(){return p.EVENT_TRIGGER_KEY},EXT_SCENE_ID:function(){return d.EXT_SCENE_ID},FeatureEnterMode:function(){return l.FeatureEnterMode},FeatureShopRangeType:function(){return l.FeatureShopRangeType},LOCATIONSTATUS:function(){return l.LOCATIONSTATUS},LOGGER_MAP:function(){return l.LOGGER_MAP},LOGGER_TIME:function(){return l.LOGGER_TIME},PARSE_TYPE:function(){return l.PARSE_TYPE},PLATFORM:function(){return l.PLATFORM},PREFETCH_STATUS:function(){return l.PREFETCH_STATUS},ROUTE_BIZ_TYPE:function(){return l.ROUTE_BIZ_TYPE},SET_LOG_TYPE:function(){return l.SET_LOG_TYPE},accordSkyLogger:function(){return f.accordSkyLogger},autoEnterShop:function(){return a.autoEnterShop},calculateDoFunTime:function(){return r.calculateDoFunTime},checkPrefetchDataValid:function(){return h.checkPrefetchDataValid},clearEnterShopCache:function(){return r.clearEnterShopCache},clearPrefetchEnterShopData:function(){return h.clearPrefetchEnterShopData},debug:function(){return o.debug},doEnterShopCallback:function(){return r.doEnterShopCallback},enterAfterLoddingRedirectTo:function(){return a.enterAfterLoddingRedirectTo},enterShopAfterLogin:function(){return a.enterShopAfterLogin},enterShopApollo:function(){return c.enterShopApollo},enterShopSelect:function(){return r.enterShopSelect},formatUrlWithShopAutoEnter:function(){return r.formatUrlWithShopAutoEnter},getAsyncApolloConfig:function(){return c.getAsyncApolloConfig},getAuthStatusFinallyHelper:function(){return s.getAuthStatusFinallyHelper},getAuthStatusLBS:function(){return s.getAuthStatusLBS},getCurrentPath:function(){return r.getCurrentPath},getEnterShopCacheByBizType:function(){return r.getEnterShopCacheByBizType},getExtConfig:function(){return r.getExtConfig},getLocationCache:function(){return s.getLocationCache},getLocationInfo:function(){return s.getLocationInfo},getOrderEnterShopPolicy:function(){return a.getOrderEnterShopPolicy},getPrefetchEnterShopData:function(){return h.getPrefetchEnterShopData},getSyncApolloConfig:function(){return c.getSyncApolloConfig},handleAfterEnterShop:function(){return r.handleAfterEnterShop},handleAutoEnterOptions:function(){return r.handleAutoEnterOptions},handleEnterShopData:function(){return r.handleEnterShopData},handlePreEnterShopData:function(){return r.handlePreEnterShopData},handleResultAndLog:function(){return r.handleResultAndLog},handleShopInfo:function(){return r.handleShopInfo},handleUrlWithShopAutoEnter:function(){return a.handleUrlWithShopAutoEnter},initEnterShopApolloConfig:function(){return c.initEnterShopApolloConfig},initEnterShopSetting:function(){return r.initEnterShopSetting},initPrefetchDataValid:function(){return h.initPrefetchDataValid},isChainStoreSyncInWX:function(){return r.isChainStoreSyncInWX},isHome:function(){return r.isHome},isHqEnterShop:function(){return r.isHqEnterShop},localCache:function(){return i.default},onLaunchHadEnterShop:function(){return r.onLaunchHadEnterShop},prefetchEnterShop:function(){return h.prefetchEnterShop},setApolloConfig:function(){return c.setApolloConfig},setApplicationScene:function(){return d.setApplicationScene},setEnterShopCacheResult:function(){return r.setEnterShopCacheResult},setEnterShopParamsCache:function(){return r.setEnterShopParamsCache},setLbsAuthTag:function(){return s.setLbsAuthTag},setRetailLatestVisitedShop:function(){return u.setRetailLatestVisitedShop}});var i=n(3092),o=n(42300),a=n(85660),r=n(82450),s=n(78944),c=n(46007),u=n(89620),l=n(80517),d=n(96079),f=n(41061),h=n(70347),p=n(26206)},80517:function(t,e,n){"use strict";var i,o,a,r,s,c,u,l,d,f,h,p,m;n.r(e),n.d(e,{CHAIN_BIZ_TYPE:function(){return o},ENTER_SHOP_LOG_TAG:function(){return i},ERROR_CODE:function(){return d},FeatureEnterMode:function(){return p},FeatureShopRangeType:function(){return m},LOCATIONSTATUS:function(){return l},LOGGER_MAP:function(){return s},LOGGER_TIME:function(){return u},PARSE_TYPE:function(){return c},PLATFORM:function(){return r},PREFETCH_STATUS:function(){return h},ROUTE_BIZ_TYPE:function(){return a},SET_LOG_TYPE:function(){return f}}),function(t){t.GLOBAL="global",t.EXT="ext",t.OTHER="other",t.W_GLOBAL="w_global",t.ON_LAUNCH="on_launch",t.PRELOAD="preload"}(i||(i={})),function(t){t.COMMON="common",t.HOME="home",t.RETAIL_SHELF="retail_shelf"}(o||(o={})),function(t){t.COMMON="common",t.DIRECT="direct",t.SESSION="session",t.HOME="home",t.HQ="hq",t.SINGLE="single",t.RETAIL_SINGLE="retail_single",t.RETAIL_SHELF="retail_shelf"}(a||(a={})),function(t){t.WEB="web",t.ANT="ant",t.QQ="qq",t.WX="weapp",t.TT="tt",t.XHS="xhs"}(r||(r={})),function(t){t.error="error",t.info="info",t.warn="warn"}(s||(s={})),function(t){t.ARRAY="array",t.OBJECTS="object"}(c||(c={})),function(t){t.LBSTIME="LBSTM",t.EREQTIME="REQTM",t.ETTIME="ETTM",t.SHOPTIME="SPTM",t.UPDATESHOPTIME="UPTM",t.AUTHLBS="ALBS"}(u||(u={})),function(t){t[t.AGREE=1]="AGREE",t[t.DENY=2]="DENY",t[t.UNKNOWN=0]="UNKNOWN"}(l||(l={})),function(t){t[t.NOT_CHAIN=1000003]="NOT_CHAIN"}(d||(d={})),function(t){t.ENTER_SHOP_TIME="enter_shop_time",t.GET_LBS_TIME="get_lbs_time",t.GET_LBS_AUTH_TIME="get_lbs_auth_time",t.REQUEST_TIME="request_time",t.UPDATE_KDT_ID_TIME="update_kdtId_time",t.GET_AUTH_TIME="get_auth_time",t.GET_PRE_FETCH_TIME="GET_PRE_FETCH"}(f||(f={})),function(t){t.NOT_LOGIN="notLogin",t.NOT_CHAIN_STORE="notChainStore",t.NEED_LBS="needLbs",t.SUCCESS="success",t.ERROR="error",t.UNKNOWN="unknown",t.DELAY_ENTER_SHOP="DELAY_ENTER_SHOP"}(h||(h={})),function(t){t[t.Enter=1]="Enter",t[t.Select=2]="Select",t[t.Assign=3]="Assign",t[t.RETAIL_LBS=4]="RETAIL_LBS"}(p||(p={})),function(t){t.All="0",t.AllOffline="1",t.Specific="2"}(m||(m={}))},46007:function(t,e,n){"use strict";n.r(e),n.d(e,{ENTER_APOLLO_KEYS:function(){return i},enterShopApollo:function(){return h},getAsyncApolloConfig:function(){return d},getSyncApolloConfig:function(){return l},initEnterShopApolloConfig:function(){return u},setApolloConfig:function(){return f}});n(97415),n(1881);var i,o=n(77726),a=n(80517),r=n(32459),s=n(35039);!function(t){t.linkToSwitch="client_enter_shop_linkto_switch",t.loadIdCheck="client_enter_shop_onload_id_check",t.loggerUp="client_enter_shop_logger_up",t.ignoreConfig="global_enter_shop_ignore_config",t.weappConfigs="enter_shop_weapp_configs"}(i||(i={}));var c=new s.ApolloInstance({cbs:{customSend:function(t){return(0,o.default)({path:"/wscshopcore/get-enter-apollo/configs.json",data:t,method:"get",options:{useCdn:!0}})}}});c.setApolloConfig([{name:i.linkToSwitch,parse:a.PARSE_TYPE.OBJECTS},{name:i.loadIdCheck,parse:a.PARSE_TYPE.OBJECTS},{name:i.loggerUp,parse:a.PARSE_TYPE.ARRAY},{name:i.ignoreConfig,parse:a.PARSE_TYPE.ARRAY},{name:i.weappConfigs,parse:a.PARSE_TYPE.ARRAY}]);var u=function(t){return void 0===t&&(t=!1),c.initApolloConfig(t)},l=function(){return c.getSyncApolloConfig()},d=function(){return c.getAsyncApolloConfig()},f=function(t){c.setApolloResultConfig(t)},h=function(t,e){void 0===e&&(e={});var n=e.kdtId,i=void 0===n?0:n,o=e.raw,a=void 0!==o&&o;return d().then((function(e){if(null==e?void 0:e.enter_shop_weapp_configs)try{var n=(null==e?void 0:e.enter_shop_weapp_configs[t])||[];return a?n:!n.includes(-i||-(0,r.getRootKdtId)())&&(n.includes("100%")||n.includes(+i||+(0,r.getRootKdtId)()))}catch(t){return!1}return!1}))}},3092:function(t,e,n){"use strict";n.r(e);var i=n(35039);e.default=new i.LocalCacheFunc("_tee_enter_shop_")},87728:function(t,e,n){"use strict";n.r(e),n.d(e,{LOGGER_DATA:function(){return u},clearLoggerData:function(){return h},enterShopTime:function(){return m},generateUuid:function(){return p},getLoggerData:function(){return f},initLoggerData:function(){return d},lbsAuthLog:function(){return v},setLogTime:function(){return g}});n(2375),n(23815);var i=n(62476),o=n(82450),a=n(26206),r=n(80517),s=n(41061),c=n(35039),u={},l={doAutoEnterShop:0,getLbsTime:0,exceptLbsAndPreTime:0,updateKdtIdTime:0,requestTime1:0,requestStart1:0,requestTime2:0,requestStart2:0,isRequestNum:0,getAuthAndLbsTime:0,isAuth:0,getAuthTime:0,logTag:"",enterPath:"",rootKdtId:"",firstAutoEnterShop:1,isChainStore:1,hasData:1,hasError:0,getPreDataTime:0,getPreDataStatus:"",getPreDataObj:{},preDataValid:0,version:(0,o.getExtConfig)("userVersion"),logNpmVersion:a.OPTIMIZE_VERSION},d=function(t){u[t]||(u[t]=(0,i.__assign)({},l))},f=function(t){return u[t]||{}},h=function(t){try{t&&(u[t]=null)}catch(t){}};function p(t){void 0===t&&(t=!1);var e=(new Date).getTime();return t?e+"":e}var m=function(t){return new Promise((function(e,n){var i="小程序进店耗时";try{if(t.getAuthAndLbsTime=t.getAuthTime+t.getLbsTime,t.exceptLbsAndPreTime=t.doAutoEnterShop-t.getAuthAndLbsTime-t.getPreDataTime,t.firstAutoEnterShop=a.ENTER_TAG.fe_s?1:2,a.isWeapp){var o=(0,c.appLogger)();a.ENTER_TAG.fe_s&&t.doAutoEnterShop>6e3||t.hasError||o({et:"custom",ei:"weapp_enter_shop_new",en:i,params:t})}a.ENTER_TAG.fe_s&&(0,s.accordSkyLogger)({text:(t.getPreDataTime>0?"预-":"")+i,enterShopTime:t}),a.ENTER_TAG.fe_s=!1,e(!0)}catch(t){n(t)}}))},g=function(t){try{var e=t.time,n=t.uuid,i=t.againRequest,o=t.logTag,a=t.error,s=t.result,c=t.requestStart,u=f(n);switch(a&&(u.hasError=1),t.type){case r.SET_LOG_TYPE.ENTER_SHOP_TIME:u.hasData&&u.isChainStore&&(u.doAutoEnterShop=e+u.getPreDataTime,u.logTag=o,m(u));break;case r.SET_LOG_TYPE.GET_LBS_AUTH_TIME:u.getLbsTime=e,u.isAuth=1;break;case r.SET_LOG_TYPE.REQUEST_TIME:if(n){var l=f(n);i?(l.requestTime2=e,l.isRequestNum=2,l.requestStart2=c):(l.requestTime1=e,l.isRequestNum=1,l.requestStart1=c)}break;case r.SET_LOG_TYPE.UPDATE_KDT_ID_TIME:if(n)f(n).updateKdtIdTime=e;break;case r.SET_LOG_TYPE.GET_AUTH_TIME:u.getAuthTime=e;break;case r.SET_LOG_TYPE.GET_LBS_TIME:u.getLbsTime=e;break;case r.SET_LOG_TYPE.GET_PRE_FETCH_TIME:e&&(u.getPreDataTime=e,u.preDataValid=s?1:2)}}catch(a){}};function v(t,e){a.isWeapp&&(0,c.appLogger)()({et:"custom",ei:"lbs",en:"Lbs 定位",params:(0,i.__assign)({eventType:t},e)})}},8650:function(t,e,n){"use strict";n.r(e),n.d(e,{triggerEvent:function(){return s}});n(55750),n(2375),n(77109),n(53956);var i=n(62476),o=n(9878),a=n(26206),r=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];o.default.trigger.apply(o.default,(0,i.__spreadArray)([t],e))},s={};Object.keys(a.EVENT_TRIGGER_KEY).forEach((function(t){var e=a.EVENT_TRIGGER_KEY[t];s[e]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r.apply(void 0,(0,i.__spreadArray)([e],t))}}))},42300:function(t,e,n){"use strict";n.r(e),n.d(e,{debug:function(){return d},getCacheFunction:function(){return s},isEmpty:function(){return a},isEqual:function(){return u},noop:function(){return r},parsePrefetchData:function(){return l},rejectFun:function(){return f},timeLag:function(){return c}});n(53956),n(2375),n(23815);var i=n(62476),o=n(3092),a=function(t){return null==t||("object"!=typeof t||0===Object.keys(t).length)},r=function(){};function s(t,e){try{var n=o.default.get(t);return n&&"function"==typeof n?n(e):r}catch(t){return r}}var c=function(t){return Date.now()-t},u=function(t,e){if("object"!=typeof t||"object"!=typeof e)return!1;if(a(t)&&a(e))return!0;for(var n=(0,i.__assign)({},e),o=0,r=Object.keys(t);o<r.length;o++){var s=r[o];if(t[s]!==e[s])return!1;delete n[s]}return a(n)};function l(t){try{var e=JSON.parse(t);if(0===e.code&&e.data)return e.data}catch(t){}}function d(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];console.log.apply(void 0,(0,i.__spreadArray)(["chain:"],t))}function f(t){return Promise.reject(t)}},82450:function(t,e,n){"use strict";n.r(e),n.d(e,{calculateDoFunTime:function(){return D},clearEnterShopCache:function(){return z},doEnterShopCallback:function(){return q},enterShopSelect:function(){return T},formatUrlWithShopAutoEnter:function(){return M},getCurrentPath:function(){return A},getEnterShopCacheByBizType:function(){return F},getExtConfig:function(){return P},handleAfterEnterShop:function(){return U},handleAutoEnterOptions:function(){return N},handleEnterShopData:function(){return W},handlePreEnterShopData:function(){return K},handleResultAndLog:function(){return R},handleShopInfo:function(){return G},initEnterShopSetting:function(){return L},isChainStoreSyncInWX:function(){return E},isHome:function(){return O},isHqEnterShop:function(){return B},onLaunchHadEnterShop:function(){return H},setEnterShopCacheResult:function(){return j},setEnterShopParamsCache:function(){return C}});n(53956),n(83812),n(7091),n(2375),n(23815),n(97415),n(1881);var i=n(62476),o=n(80517),a=n(97220),r=n.n(a),s=n(48892),c=n(32459),u=n(43737),l=n.n(u),d=n(56103),f=n(3092),h=n(78944),p=n(41061),m=n(35039),g=n(26206),v=n(81976),b=n(87728),y=n(42300),_=n(70347),w=n(46007),x=n(89620),S=n(8650),k=n(43677),I=n.n(k);function T(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=e.redirectType,a=void 0===n?"navigateTo":n,u=e.extOpt,d=void 0===u?{}:u,f=o.PLATFORM.QQ,h=o.PLATFORM.ANT,p=o.PLATFORM.WEB,m=o.PLATFORM.WX,v=o.PLATFORM.TT,b=o.PLATFORM.XHS,y="/packages/shop-select/chain-store/shopselect/index";if(g.env===f||g.env===h||g.env===v)y="/pages/shop/chain-store/shopselect/index";else if(g.env===p||g.env===b){var _=(0,c.getCurrentKdtId)();y=l()("/wscump/multistore/store","h5",_,{notReplaceDomain:!1}),t=(0,i.__assign)((0,i.__assign)({},t),{hq_kdt_id:(0,c.getRootKdtId)()})}g.env!==m&&g.env!==v||d&&Object.keys(d).length&&(t.extOptJson=encodeURIComponent(JSON.stringify(d)));var w=s.default.add(y,t);r().navigate({url:w,type:a})}function C(t,e){void 0===e&&(e={}),e.shopAutoEnter&&(1==+e.shopAutoEnter&&e.chainBizType!==o.CHAIN_BIZ_TYPE.RETAIL_SHELF?f.default.set(t,e):2==+e.shopAutoEnter&&f.default.set(t,{}))}function P(t){try{var e=(0,v.getExtConfigSync)();return t?e[t]:e}catch(e){return t?"":{}}}function E(){return!!P("isChainStore")}function A(){try{if(g.isWeapp||g.isTTapp){var t=(0,m.getAppPage)().path;return t?"/"+t:"/"+r().getAppOptions().path}return""}catch(t){return""}}var O=function(t){return!(!g.isWeapp||!t)&&t.replace(/^\//,"")===g.HOME_PATH};function L(t){var e=t.getShopInfoParams,n=t.path,i=t.query;(0,h.getAuthStatusLBS)(),t.getApollo&&(0,w.initEnterShopApolloConfig)(),e&&"function"==typeof e&&f.default.set(g.SHOP_INFO_PARAMS_CB,e),f.default.set(g.WEAPP_INIT_INFO,{path:n,query:i}),O(n)&&(0,_.initPrefetchDataValid)({path:n,query:i})}function M(t){var e=t;return e=d.url.args.remove(e,"shopAutoEnter"),e=d.url.args.add(e,{shopAutoEnter:1},!1)}function R(t){void 0===t&&(t={});var e=Date.now();return function(n,o,a){void 0===a&&(a=!1);var r=(0,y.timeLag)(e);t&&(0,b.setLogTime)((0,i.__assign)((0,i.__assign)({},t),{time:r,error:a,result:o.res||o.err})),n&&n((0,i.__assign)({time:r},o))}}var D=function(t,e){return new Promise((function(n,i){var o=R(e);t().then((function(t){o(n,{res:t})})).catch((function(t){o(i,{err:t},!0)}))}))};function N(t){var e=f.default.get(g.WEAPP_INIT_INFO,{});return t.logTag===o.ENTER_SHOP_LOG_TAG.ON_LAUNCH?(0,i.__assign)((0,i.__assign)({},t),{initInfo:JSON.stringify(e),launchParams:JSON.stringify((0,y.getCacheFunction)(g.SHOP_INFO_PARAMS_CB)),isNeedShopInfo:1}):(0,i.__assign)((0,i.__assign)({},t),{initInfo:JSON.stringify(e)})}function G(t,e){try{(0,y.isEmpty)(t)||(S.triggerEvent[g.EVENT_TRIGGER_KEY.shop_c](t),(0,c.setShopInfoCache)(e,t))}catch(t){}}function U(t){S.triggerEvent[g.EVENT_TRIGGER_KEY.a_enter_c](t)}function j(t,e,n){void 0===n&&(n={});var i=n.chainBizType;if([o.CHAIN_BIZ_TYPE.RETAIL_SHELF].includes(i)){var a=n.alias||g.DEFAULT_RETAIL_SHELF_ALIAS;f.default.set(g.ENTER_CONSTANT.r_skc,{alias:a,resultKdtId:+t})}else[o.ROUTE_BIZ_TYPE.HQ,o.ROUTE_BIZ_TYPE.HOME].includes(e)&&f.default.set(g.ENTER_CONSTANT.h_des,{kdtId:+t,routeBizType:e})}function F(t,e){if(void 0===e&&(e={}),t===o.CHAIN_BIZ_TYPE.RETAIL_SHELF){var n=e.alias||g.DEFAULT_RETAIL_SHELF_ALIAS,i=f.default.get(g.ENTER_CONSTANT.r_skc,{});return+(0,c.getCurrentKdtId)()===i.resultKdtId&&n===i.alias?(0,c.getCurrentKdtId)():""}return t===o.CHAIN_BIZ_TYPE.HOME?f.default.get(g.ENTER_CONSTANT.h_des):""}function B(){return(F(o.CHAIN_BIZ_TYPE.HOME)||{}).routeBizType===o.ROUTE_BIZ_TYPE.HQ}function z(t){switch(t){case o.CHAIN_BIZ_TYPE.HOME:return f.default.set(g.ENTER_CONSTANT.h_des,{});case o.CHAIN_BIZ_TYPE.RETAIL_SHELF:return f.default.set(g.ENTER_CONSTANT.r_skc,{});default:return""}}var H=function(t){var e=t.logTag,n=t.type,i=void 0===n?"default":n;if("on_launch"!==e)return!1;if(g.ENTER_TAG.on_s)return!0;var o=e+"_"+i+"进店";return"default"!==i&&(0,h.setLbsAuthTag)(!1),(0,p.accordSkyLogger)({info:o}),g.ENTER_TAG.on_s=!0,!1};function W(t){var e=t.type,n=t.autoSelectKdtId,i=t.kdt_id,a=t.uuid,r=t.needReturn,s=t.shopInfo,u=t.routeBizType,l=t.homeDetailInfo,d=t.requestParams,f=d.logTag,h=d.alias,p=d.chainBizType;if(H({logTag:f,type:e}))return Promise.resolve({onLaunchEd:!0});var m=n||i;return G(s,m),g.ENTER_TAG.ds_cb=+m!==(0,c.getCurrentKdtId)(),j(m,u,{alias:h,chainBizType:p}),D(c.updateKdtId.bind(null,m,{force:u===o.ROUTE_BIZ_TYPE.HQ,mark:"100"}),{type:o.SET_LOG_TYPE.UPDATE_KDT_ID_TIME,uuid:a}).then((function(){return n?{kdtId:n,homeDetailInfo:l,routeBizType:u}:r?{kdtId:m,routeBizType:u,needReturn:r}:{}}))}function K(t,e){var n=e.autoSelectKdtId,o=t.kdt_id,a=t.uuid;return W((0,i.__assign)((0,i.__assign)({},e),{type:"prefetch",supportPreHomeDetail:!0,kdt_id:o,uuid:a,requestParams:{logTag:"on_launch"}})).then((function(t){return(null==t?void 0:t.onLaunchEd)||((0,x.setRetailLatestVisitedShop)({subKdtId:n,scene:"preload"}),(0,p.accordSkyLogger)({text:"wx 预拉取数据使用",args:(0,i.__assign)({},I()(e,["apolloConfig","shopInfo"])),result:{autoSelectKdtId:n}})),t}))}var q=function(t){var e=t.result,n=t.hasHomeDetail,i=t.isInitEnterShop,o=t.resolve;return(null==e?void 0:e.onLaunchEd)?e:((i||e.kdtId&&!e.needReturn||g.ENTER_TAG.ds_cb)&&U(e),n?o(e):void o(e.kdtId))}},78944:function(t,e,n){"use strict";n.r(e),n.d(e,{getAuthStatusFinallyHelper:function(){return x},getAuthStatusLBS:function(){return w},getLocationCache:function(){return v},getLocationInfo:function(){return k},setLbsAuthTag:function(){return S}});n(34642),n(2375),n(23815),n(47691),n(79575);var i=n(81976),o=n(80517),a=n(3092),r=n(41061),s=n(97220),c=n.n(s),u=n(26206),l=n(87728),d=n(35039),f=n(8650),h=n(46007),p=n(42300),m=function(){return new Promise((function(t){n.e(600).then(n.bind(n,92600)).then((function(t){return new t.InvokeProtocol({source:"chan_store_"+Date.now()})})).then((function(t){return t.auth()})).then((function(){return t(!0)})).catch((function(){return t(!1)}))}))};var g=function(t){return new Promise((function(e,n){t===o.LOCATIONSTATUS.AGREE||t===o.LOCATIONSTATUS.DENY?setTimeout((function(){n({err:"["+u.env+"]获取定位时间超出3s",type:"timeout"})}),3e3):setTimeout((function(){u.G_STATUS_OBJ.lbs||n({err:"["+u.env+"]唤起隐私协议失败",type:"timeout"})}),15e3)}))},v=function(){var t={lat:"",lng:""};try{var e=a.default.get(u.LATITUDE_CACHE,t);if(null==e?void 0:e.lng)return u.ENTER_TAG.fe_s&&(0,r.accordSkyLogger)({info:"["+u.env+"]LocalCache获取lbs - "+JSON.stringify(e)}),e;if(u.isWeapp||u.isTTapp){var n=c().$native.getStorageSync(u.LATITUDE_CACHE)||t,i=n.timestamp,o=void 0===i?0:i,s=n.lng,l=n.lat;if(Date.now()-o<u.LATITUDE_CACHE_EXPIRE&&s)return u.ENTER_TAG.fe_s&&(0,r.accordSkyLogger)({info:"["+u.env+"]storageCache获取lbs - "+JSON.stringify(n)}),a.default.set(u.LATITUDE_CACHE,{lng:s,lat:l}),n}return t}catch(e){return t}},b=function(t){return u.G_STATUS_OBJ.lbs=!1,u.PROMISE_METHODS.locationPromise=new Promise((function(e){Promise.race([g(t),(0,i.getLocation)().then((function(t){return function(t,e){var n=(0,d.gcjToBaidu)(e,t),i=n.lng,o=n.lat;(0,r.accordSkyLogger)({info:"["+u.env+"]getLocation更新定位信息 - "+JSON.stringify({lng:i,lat:o})});var s={lng:i,lat:o,timestamp:Date.now()};return a.default.set(u.LATITUDE_CACHE,s,u.LATITUDE_CACHE_EXPIRE/1e3),c().setStorage({key:u.LATITUDE_CACHE,data:s}),c().setStorage({key:u.CUSTOMER_LATITUDE_CACHE,data:s}),{lng:i,lat:o}}(t.latitude,t.longitude)})).then((function(e){return u.G_STATUS_OBJ.lbs=!0,x(t),e})).catch((function(e){if(x(t),(0,r.accordSkyLogger)({err:"["+u.env+"]获取定位进入catch - "+(null==e?void 0:e.errMsg)}),"getLocation:fail auth deny"!==(null==e?void 0:e.errMsg)){var n=a.default.get(u.LATITUDE_CACHE)||{},i=n.lng,o=n.lat;if(i)return{lat:o,lng:i}}return{lat:"",lng:""}}))]).catch((function(t){return"timeout"===(null==t?void 0:t.type)&&(0,r.accordSkyLogger)({err:null==t?void 0:t.err}),{lat:"",lng:""}})).then((function(t){e(t)}))})),u.PROMISE_METHODS.locationPromise},y=function(t){var e=t.authStatus,n=t.needAuthProtocol,i=void 0!==n&&n,a=t.refresh,s=void 0!==a&&a;return u.PROMISE_METHODS.locationPromise&&!s?u.G_STATUS_OBJ.lbs?u.PROMISE_METHODS.locationPromise:Promise.race([u.PROMISE_METHODS.locationPromise,new Promise((function(t){setTimeout((function(){u.G_STATUS_OBJ.lbs||t(b(e))}),4e3)}))]):e===o.LOCATIONSTATUS.UNKNOWN&&i?(0,h.enterShopApollo)("needCheckProtocolAuth").then((function(t){return t?u.ENTER_TAG.on_sl&&Date.now()-u.ENTER_TAG.on_sl<800?{lat:"",lng:""}:m().then((function(t){return(0,r.accordSkyLogger)({text:"用户隐私协议授权-"+t}),{lat:"",lng:""}})):b(e)})):b(e)},_=function(t,e){if("set"!==t)return c().$native.getStorageSync(u.LATITUDE_CACHE_AUTH)||o.LOCATIONSTATUS.UNKNOWN;c().setStorage({key:u.LATITUDE_CACHE_AUTH,data:e})},w=function(t){if(void 0===t&&(t=!1),u.PROMISE_METHODS.authStatusLBSPromise&&!t)return u.PROMISE_METHODS.authStatusLBSPromise;var e=_("get");return e!==o.LOCATIONSTATUS.AGREE||t?(u.PROMISE_METHODS.authStatusLBSPromise=new Promise((function(t,e){u.isWeapp||u.isTTapp?Promise.race([new Promise((function(t,e){setTimeout((function(){e({type:"timeout",err:"[wx]获取定位授权时间超出4s"})}),4e3)})),new Promise((function(t){(0,d.getLocationAuth)().then((function(e){var n=e?o.LOCATIONSTATUS.AGREE:o.LOCATIONSTATUS.DENY;void 0===e?(n=o.LOCATIONSTATUS.UNKNOWN,t(o.LOCATIONSTATUS.UNKNOWN)):(_("set",n),y({authStatus:n,refresh:!0}),t(n)),(0,l.lbsAuthLog)("success",{auth_status:n})})).catch((function(){(0,l.lbsAuthLog)("fail",{auth_status:o.LOCATIONSTATUS.UNKNOWN}),t(o.LOCATIONSTATUS.UNKNOWN)}))}))]).catch((function(t){return"timeout"===(null==t?void 0:t.type)&&(0,r.accordSkyLogger)({err:null==t?void 0:t.err}),(0,p.rejectFun)(t)})).then(t,e):t(o.LOCATIONSTATUS.UNKNOWN)})),u.PROMISE_METHODS.authStatusLBSPromise):(y({authStatus:e,refresh:!0}),u.PROMISE_METHODS.authStatusLBSPromise=Promise.resolve(e),(0,r.accordSkyLogger)({info:"缓存获取定位授权"}),u.PROMISE_METHODS.authStatusLBSPromise)},x=function(t){t===o.LOCATIONSTATUS.UNKNOWN&&setTimeout((function(){w(!0)}),1e3)},S=function(t){void 0===t&&(t=!0),a.default.set("needLbsAuth",t)},k=function(t){var e=t.ignoreAuth,n=void 0!==e&&e,i=t.needAuthProtocol,a=void 0!==i&&i,r=t.refresh,s=void 0!==r&&r;return new Promise((function(t){var e=v(),i=e.lat,r=e.lng;if(i&&r)t({lat:i,lng:r});else{if(S(),f.triggerEvent[u.EVENT_TRIGGER_KEY.lbs_gt](),n)return y({authStatus:o.LOCATIONSTATUS.UNKNOWN,needAuthProtocol:a,refresh:s}).then((function(e){return t(e)}));w().then((function(e){return y({needAuthProtocol:a,authStatus:e,refresh:s}).then((function(e){return t(e)}))})).catch((function(){setTimeout((function(){w(!0)}),1e3),t({lat:"",lng:""})}))}}))}},70347:function(t,e,n){"use strict";n.r(e),n.d(e,{checkPrefetchDataValid:function(){return s},clearPrefetchEnterShopData:function(){return i},getPrefetchEnterShopData:function(){return o},initPrefetchDataValid:function(){return r},prefetchEnterShop:function(){return a}});n(2375),n(23815);var i=function(){return{}},o=function(){return{}};function a(){return Promise.resolve({})}function r(t){return Promise.resolve(!1)}function s(){return Promise.resolve(!1)}},89620:function(t,e,n){"use strict";n.r(e),n.d(e,{setRetailLatestVisitedShop:function(){return o}});var i=n(77726),o=function(t){return(0,i.default)({path:"/wscshop/shop/set_lastest_shop_visited.json",data:t})}},41061:function(t,e,n){"use strict";n.r(e),n.d(e,{accordSkyLogger:function(){return d}});var i=n(32459),o=n(77726),a=n(83832),r=n(26206),s=n(80517),c=n(42300),u=n(46007),l=new(n(35039).SkyLogInstance)({cbs:{customSend:function(t){return(0,i.readShopInfo)().then((function(e){if((0,a.checkChainStore)(null==e?void 0:e.shop))return t.text="version: "+r.OPTIMIZE_VERSION+" "+(t.text||""),(0,o.default)({path:"/wscshopcore/set-enter-logger/configs.json",data:t,method:"post"})}))},beforeSend:function(t){return{type:s.LOGGER_MAP.info,ignore:{url:!0},text:"[enter-tee-shop]",result:t}}}}),d=function(t){(0,u.enterShopApollo)("accordLogger").then((function(e){e&&(0,c.debug)(t)})),l.addLog(t)}},48892:function(t,e,n){"use strict";n.r(e);n(90526),n(60291),n(59230),n(83812),n(86132),n(55750),n(2375),n(77109),n(53956),n(71190),n(79362),n(87675),n(71601),n(62719);function i(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("#")[0].split("?"),e={};return t[1]&&t[1].split("&").forEach((function(t){var n=t.split("=");e[n[0]]=n.slice(1).join("=")})),e}e.default={add:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!t||0===t.length||0===t.trim().indexOf("javascript"))return"";var o=t.split("#"),a=o[0].split("?"),r=i(t);return Object.keys(e).forEach((function(t){r[t.trim()]=n?encodeURIComponent(e[t]):e[t]})),t=a[0]+function(t){var e="";for(var n in t)""!==t[n]&&(e+=n.trim()+"="+t[n]+"&");return e?"?"+e.slice(0,e.length-1):""}(r),o[1]?t+="#"+o[1]:t},remove:function(t,e){var n=t.split("?");if(n.length>=2){for(var i=encodeURIComponent(e)+"=",o=n[1].split("&"),a=(o=o.reduce((function(t,e){return t.concat(e.split(";"))}),[])).length;a-- >0;)-1!==o[a].lastIndexOf(i,0)&&o.splice(a,1);return t=n[0]+"?"+o.join("&")}return t},getAll:i}},9878:function(t,e,n){"use strict";n.r(e);var i=n(99658);e.default=i.default},45882:function(t,e,n){"use strict";n.r(e),n.d(e,{getLogger:function(){return r}});n(83812),n(86132),n(60291);var i=n(97220),o=n.n(i),a=function(t){return function(){var e=o().getGlobal("logger");if(e){var n=function(t,e){for(var n,i=e.split("."),o=0;o<i.length;o++)n=t[i[o]];return n}(e,t);if(n)return n.apply(null,Array.prototype.slice.call(arguments))}}};function r(){return{setEvent:a("setEvent"),setContext:a("setContext"),setPlat:a("setPlat"),setEnv:a("setEnv"),setUser:a("setUser"),log:a("log"),getLogParams:a("getLogParams"),getPageSpm:a("getPageSpm"),getSpm:a("getSpm"),setMoreSpm:a("setMoreSpm")}}},56665:function(t,e,n){"use strict";n.r(e),n.d(e,{apiFastJoin:function(){return a},apiGetFastJoin:function(){return o},apiGetRegion:function(){return r}});var i=n(77726);function o(t){return(0,i.default)({method:"GET",path:"/wscuser/member/fast-join-info",data:t})}function a(t){return(0,i.default)({method:"POST",path:"/wscuser/member/fast-join",data:t})}function r(){return(0,i.default)({method:"GET",path:"/wscuser/membercenter/setting/getAllRegion.json"})}},35757:function(t,e,n){"use strict";n.r(e),n.d(e,{FastJoinHeadTypeEnum:function(){return o},GENDER_TYPE:function(){return a},LevelType:function(){return i}});var i={FREE:1,PAY:2},o=function(t){return t[t.Normal=1]="Normal",t[t.Logo=2]="Logo",t}({}),a={MALE:"1",FEMALE:"2",UNKNOWN:"0"}},50131:function(t,e,n){"use strict";n.r(e),n.d(e,{ATTRIBUTE_TYPE:function(){return s},ATTR_D_TYPE:function(){return o},ATTR_ID_TYEP:function(){return i},GENDER_TEXT:function(){return r},GENDER_TYPE:function(){return a}});var i={AVATAR:1,NAME:2,MOBILE:3,BIRTHDAY:5},o={STRING:0,NUMBER:1,DATE:2,REGION:3,GENDER:4,AVATAR:5,SINGLE_SELECT:7,MULTIPLE_SELECT:8},a={MALE:"1",FEMALE:"2",UNKNOWN:"0"},r={1:"男",2:"女",0:"未知"},s={STANDARD:1,CUSTOM:2}},80434:function(t,e,n){"use strict";n.r(e),n.d(e,{fieldMixin:function(){return i}});var i={props:{required:Boolean,item:{type:Object,default:function(){return{}}}}}},33182:function(t,e,n){"use strict";n.r(e),n.d(e,{fieldMixin:function(){return i.fieldMixin}});var i=n(80434)},98852:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return r}});n(83812),n(86132),n(54185),n(49091),n(2375),n(34642),n(74163),n(76220),n(4576),n(79690),n(61533),n(39232),n(27649),n(53272),n(81014),n(72409),n(12629),n(37527),n(20578),n(40505),n(77153),n(79818),n(66273),n(33279),n(86933),n(48615),n(47963),n(3832),n(57059),n(46286),n(88856),n(23815),n(60606);var i=n(63434),o="图片格式无法识别";function a(t,e){!function(t,e){var n=t.width||100,i=t.height||100;e.width&&e.height?(n=e.width,i=e.height):e.width&&!e.height?(i=parseInt(i*(e.width/n),10),n=e.width):e.height&&!e.width?(n=parseInt(n*(e.height/i),10),i=e.height):e.maxWidth?n>e.maxWidth&&(i=parseInt(i*(e.maxWidth/n),10),n=e.maxWidth):e.maxHeight?i>e.maxHeight&&(n=parseInt(n*(e.maxHeight/i),10),i=e.maxHeight):e.maxSide?i>=n&&i>e.maxSide?(n=parseInt(n*(e.maxSide/i),10),i=e.maxSide):n>i&&n>e.maxSide&&(i=parseInt(i*(e.maxSide/n),10),n=e.maxSide):e.ratio&&(n=parseInt(n*e.ratio,10),i=parseInt(i*e.ratio,10)),e.finalWidth=n,e.finalHeight=i,e.finalType=e.type||"image/jpeg",e.finalQuality=e.quality||.6}(t,e);var n=e.finalType,i=e.orientation,a=e.finalQuality,r=e.finalFileName,s=e.finalWidth,c=e.finalHeight,u=function(t,e,n){var i=document.createElement("canvas");switch(n){case 5:case 6:case 7:case 8:i.width=e,i.height=t;break;default:i.width=t,i.height=e}return i}(s,c,i),l=u.getContext("2d");l.save(),function(t,e,n,i){switch(i){case 2:t.translate(e,0),t.scale(-1,1);break;case 3:t.translate(e,n),t.rotate(Math.PI);break;case 4:t.translate(0,n),t.scale(1,-1);break;case 5:t.rotate(.5*Math.PI),t.scale(1,-1);break;case 6:t.rotate(.5*Math.PI),t.translate(0,-n);break;case 7:t.rotate(.5*Math.PI),t.translate(e,-n),t.scale(-1,1);break;case 8:t.rotate(-.5*Math.PI),t.translate(-e,0)}}(l,s,c,i),l.clearRect(0,0,s,c),l.drawImage(t,0,0,s,c),l.restore();var d=e.watermark;if(d){var f=u.width,h=u.height,p=f/2/d.width,m=d.width*p,g=d.height*p;l.drawImage(d,(f-m)/2,(h-g)/2,m,g)}try{var v=function(t,e){for(var n=t.split(",")[1],i=window.atob(n),o=new ArrayBuffer(i.length),a=new Uint8Array(o),r=0;r<i.length;r++)a[r]=i.charCodeAt(r);return new Blob([a],{type:e})}(u.toDataURL(n,a),n);return v.name=r,v}catch(t){throw new Error(o)}}function r(t,e){return new Promise((function(n,r){var s=new Image;if((e=e||{}).finalFileName="newImage",s.onerror=function(){r(new Error(o))},s.onload=function(){var t=this;(0,i.getExifTags)(this).then((function(i){e.orientation=i&&i.orientation;var o=a(t,e);n(o)})).catch((function(t){r(t)}))},"string"==typeof t)s.setAttribute("crossOrigin","anonymous"),s.src=t,e.finalFileName=t;else if("object"==typeof t&&/File|Blob/.test(t.toString())){var c=new FileReader;c.readAsDataURL(t),c.onload=function(n){s.src=n.target&&n.target.result,t.name&&(e.finalFileName=t.name)}}else r(new Error(o))}))}},63434:function(t,e,n){"use strict";n.r(e),n.d(e,{getExifTags:function(){return u}});n(83812),n(7091),n(54185),n(49091),n(2375),n(34642),n(74163),n(76220),n(4576),n(79690),n(61533),n(39232),n(27649),n(53272),n(81014),n(72409),n(12629),n(37527),n(20578),n(40505),n(77153),n(79818),n(66273),n(33279),n(86933),n(48615),n(47963),n(3832),n(57059),n(46286),n(423),n(23815);var i={274:"orientation"},o="图片格式无法识别";function a(t,e,n){for(var i="",o=e;o<e+n;o++)i+=String.fromCharCode(t.getUint8(o));return i}function r(t,e){if(t.src)if(/^data:/i.test(t.src)){var n=function(t){t=t.replace(/^data:([^;]+);base64,/gim,"");for(var e=atob(t),n=e.length,i=new ArrayBuffer(n),o=new Uint8Array(i),a=0;a<n;a++)o[a]=e.charCodeAt(a);return i}(t.src);e(n)}else{var i=new XMLHttpRequest;i.onload=function(){200===this.status||0===this.status?e(i.response):e(0)},i.open("GET",t.src,!0),i.responseType="arraybuffer",i.send(null)}else if(self.FileReader&&(t instanceof self.Blob||t instanceof self.File)){(new FileReader).onload=function(t){e(t.target&&t.target.result)}}else e(0)}function s(t,e,n,i,o){var r,s,c=t.getUint16(e+2,!o),u=t.getUint32(e+4,!o),l=t.getUint32(e+8,!o)+n;switch(c){case 2:return a(t,s=u>4?l:e+8,u-1);case 3:if(1===u)return t.getUint16(e+8,!o);s=u>2?l:e+8,r=[];for(var d=0;d<u;d++)r[d]=t.getUint16(s+2*d,!o);return r}}function c(t,e){if("Exif"!==a(t,e,4))return!1;var n=e+6,o=t.getUint16(n);if(18761!==o&&19789!==o)return!1;var r=19789===o,c=t.getUint32(n+4,!r),u=function(t,e,n,i,o){for(var a={},r=t.getUint16(n,!o),c=0;c<r;c++){var u=n+12*c+2,l=i[t.getUint16(u,!o)];l&&(a[l]=s(t,u,e,0,o))}return a}(t,n,n+c,i,r);return u}function u(t){return new Promise((function(e){try{r(t,(function(t){var n=function(t){try{var e=new DataView(t);if(255!==e.getUint8(0)||216!==e.getUint8(1))return!1;for(var n=2;n<t.byteLength;){if(255!==e.getUint8(n))return!1;if(225===e.getUint8(n+1))return c(e,n+4,e.getUint16(n+2));n+=2+e.getUint16(n+2)}}catch(t){return!1}}(t);e(n)}))}catch(t){throw new Error(o)}}))}},91065:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return u}});var i=n(63413),o=(n(83812),n(86132),n(2375),n(23815),n(77726)),a=n(46932),r=n(98852),s=n(44356);function c(t){return(0,o.default)({origin:"h5",path:"/wscshop/token/upload-image.json",method:"GET"}).then((function(e){var n,i=function(t,e){var n=new FormData;n.append("file",t),n.append("token",e);var i=t.name.split(".");return i.length>1&&n.append("x:ext",".".concat(i[i.length-1])),n}(t,e.token);return n=i,(0,s.rawAjax)({url:"//up.qbox.me",method:"POST",withCredentials:!1,contentType:"multipart/form-data",data:n})}))}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.noToast||(0,a.default)({type:"text",message:"正在压缩图片,请稍候",zIndex:6e3}),new Promise((function(n,o){(0,r.default)(t,(0,i.default)({maxWidth:500,maxHeight:500,type:t.type},e)).then((function(t){c(t).then(n).catch(o)})).catch(o)}))}},21540:function(t,e,n){"use strict";n.r(e),n.d(e,{dateToString:function(){return o},padZero:function(){return i}});n(87675);function i(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=t+"";n.length<e;)n="0"+n;return n}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"date";if(!t)return"";var n=t.getFullYear(),o=t.getMonth()+1,a=t.getDate(),r="".concat(n,"-").concat(i(o),"-").concat(i(a));if("datetime"===e){var s=t.getHours(),c=t.getMinutes();r+=" ".concat(i(s),":").concat(i(c))}return r}},91723:function(t,e,n){"use strict";n.r(e),n.d(e,{checkAttributesInputValue:function(){return c},checkNotNeedInfo:function(){return f},getFromParamsOfLogger:function(){return u},getRecruitMemberParams:function(){return l},getSubmitAttributeList:function(){return h},tryToBindShoppingGuideRelation:function(){return d}});var i=n(63413),o=(n(79362),n(2375),n(44472),n(87675),n(23815),n(46239),n(77726)),a=n(35757),r=n(50131),s=function(t,e){return e.reduce((function(e,n){return n in t&&(e[n]=t[n]),e}),{})},c=function(t){var e,n=null===(e=t.find((function(t){return t.dataType===r.ATTR_D_TYPE.GENDER?t.isRequired&&(!t.value||t.value===r.GENDER_TYPE.UNKNOWN):!t.value&&t.isRequired})))||void 0===e?void 0:e.name;return!!n&&"请补充".concat(n,"信息")};function u(t){if(t.getLogParamsFunc&&"function"==typeof t.getLogParamsFunc){var e=t.getLogParamsFunc();return((null==e?void 0:e.context)||{}).from_params}}function l(t){var e=t.scene,n=void 0===e?a.LevelType.PAY:e,i=t.pageQuery||{},o=["NEW_SALES_KDTID","RECRUIT_ENTRANCE","RECRUIT_MEMBER_TYPE","RECRUIT_SRC"];n===a.LevelType.FREE&&(o=o.concat(["sales_id","sales_ch","from_source","fromBiz","from_params","member_src_way","member_src_channel","referee_id","referee_scene"]));var r=s(i,o);return"true"===i.IS_SALES&&i.NEW_SALES_ID&&(r.IS_SALES=i.IS_SALES,r.NEW_SALES_ID=i.NEW_SALES_ID),r.from_params||(r.from_params=u(t)),r}function d(t){var e=l(t),n=(t.pageQuery||{}).from_params,a={salesId:e.NEW_SALES_ID,salesKdtId:e.NEW_SALES_KDTID};return a.salesId&&a.salesKdtId?(0,o.default)({path:"/wscuser/shopping-guide/api/bindRelation.json",data:(0,i.default)((0,i.default)({},a),{},{fromParams:n}),method:"POST"}).catch((function(){})):Promise.resolve()}var f=function(t){if(!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]))return!0;var e=t.customerAttributes||[];return Array.isArray(e)?0===e.filter((function(t){return t.dataType===r.ATTR_D_TYPE.GENDER?!(!t.isRequired||(!t.value||t.value!==r.GENDER_TYPE.UNKNOWN)&&t.value):!(!t.isRequired||t.value)})).length:void 0},h=function(t){return t.filter((function(t){return t.isChange&&t.isEditable}))}},87703:function(t,e,n){"use strict";n.r(e),n.d(e,{getProtocolData:function(){return i.getProtocolData},protocolSign:function(){return o.protocolSign}});var i=n(56010),o=n(27188)},70875:function(t,e,n){"use strict";n.r(e),n.d(e,{apiGetFastJoinResult:function(){return o},apiGetMission:function(){return a}});var i=n(77726);function o(t){return(0,i.default)({method:"GET",path:"/wscuser/member/fast-join-result",data:t})}function a(){return(0,i.default)({method:"GET",path:"/wscuser/scrm/api/ump/getMissionListV2.json"})}},92679:function(t,e,n){"use strict";n.r(e),n.d(e,{LevelMode:function(){return i}});var i={GROWTH:1,CONSUME:2,STORE:3}},28365:function(t,e,n){"use strict";n.r(e),n.d(e,{checkHasGift:function(){return o},formatMission:function(){return i}});n(55750),n(2375),n(77109),n(87675);var i=function(t){var e=[];return Array.isArray(t)&&t.length&&t.forEach((function(t){t.list&&Array.isArray(t.list)&&t.list.length&&t.list.forEach((function(t){var n;t.enabled&&!t.finished&&("IMPROVEID"===t.name?(t.urlParams={},t.urlParams.url="https://h5.youzan.com/wscuser/membercenter/setting?is-improveid=true&state=".concat(t.state,"&reward=").concat(t.reward,"&kdt_id=").concat(null===(n=window._global)||void 0===n?void 0:n.kdt_id),e.push(t)):(t.name,e.push(t)))}))})),e},o=function(t){return(null==t?void 0:t.couponList)&&Array.isArray(null==t?void 0:t.couponList)&&(null==t?void 0:t.couponList.length)||(null==t?void 0:t.presentList)&&Array.isArray(null==t?void 0:t.presentList)&&(null==t?void 0:t.presentList.length)||(null==t?void 0:t.points)>0}},997:function(t,e,n){"use strict";n.r(e);n(90526),n(60291),n(59230),n(83812),n(86132),n(55750),n(2375),n(77109),n(53956),n(71190),n(79362),n(87675),n(71601),n(62719);function i(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("#")[0].split("?"),e={};return t[1]&&t[1].split("&").forEach((function(t){var n=t.split("=");e[n[0]]=n.slice(1).join("=")})),e}e.default={add:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!t||0===t.length||0===t.trim().indexOf("javascript"))return"";var o=t.split("#"),a=o[0].split("?"),r=i(t);return Object.keys(e).forEach((function(t){r[t.trim()]=n?encodeURIComponent(e[t]):e[t]})),t=a[0]+function(t){var e="";for(var n in t)""!==t[n]&&(e+=n.trim()+"="+t[n]+"&");return e?"?"+e.slice(0,e.length-1):""}(r),o[1]?t+="#"+o[1]:t},remove:function(t,e){var n=t.split("?");if(n.length>=2){for(var i=encodeURIComponent(e)+"=",o=n[1].split("&"),a=(o=o.reduce((function(t,e){return t.concat(e.split(";"))}),[])).length;a-- >0;)-1!==o[a].lastIndexOf(i,0)&&o.splice(a,1);return t=n[0]+"?"+o.join("&")}return t},getAll:i}},39275:function(t,e,n){"use strict";function i(t,e,n){var i,o,a,r,s,c=function c(){var u=Date.now()-r;u<e&&u>=0?i=setTimeout(c,e-u):(i=null,n||(s=t.apply(a,o),i||(a=o=null)))};function u(){a=this;for(var u=arguments.length,l=new Array(u),d=0;d<u;d++)l[d]=arguments[d];o=l,r=Date.now();var f=n&&!i;return i||(i=setTimeout(c,e)),f&&(s=t.apply(a,o),a=o=null),s}return u.cancel=function(){clearTimeout(i),i=null},u}n.r(e),n.d(e,{default:function(){return i}})},49433:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return i}});n(53956);function i(t,e,n){if(null!=t)if(t.length===+t.length)for(var i=0,o=t.length;i<o;i++)e.call(n,t[i],i,t);else for(var a=Object.keys(t),r=0,s=a.length;r<s;r++)e.call(n,t[a[r]],a[r],t)}},91726:function(t,e,n){"use strict";n.r(e);var i=n(37735),o=(n(87675),n(83812),n(86132),n(53956),n(60291),/\s+/),a=function(t,e,n,a){if(!n)return!0;if("object"==typeof n){for(var r in n)t[e].apply(t,(0,i.default)([r,n[r]].concat(a)));return!1}if(o.test(n)){for(var s=n.split(o),c=0,u=s.length;c<u;c++)t[e].apply(t,(0,i.default)([s[c]].concat(a)));return!1}return!0},r=function(t){try{t()}catch(t){}},s=function(t,e){var n,i=-1,o=t.length,a=e[0],s=e[1],c=e[2];switch(e.length){case 0:for(;++i<o;)r((function(){(n=t[i]).callback.call(n.ctx)}));return;case 1:for(;++i<o;)r((function(){(n=t[i]).callback.call(n.ctx,a)}));return;case 2:for(;++i<o;)r((function(){(n=t[i]).callback.call(n.ctx,a,s)}));return;case 3:for(;++i<o;)r((function(){(n=t[i]).callback.call(n.ctx,a,s,c)}));return;default:for(;++i<o;)r((function(){(n=t[i]).callback.apply(n.ctx,e)}))}},c={on:function(t,e,n){return a(this,"on",t,[e,n])&&e?(this._events||(this._events={}),(this._events[t]||(this._events[t]=[])).push({callback:e,context:n,ctx:n||{}}),this):this},once:function(t,e,n){if(!a(this,"once",t,[e,n])||!e)return this;var i,o,r,s=this,c=(i=function(){s.off(t,c),e.apply(this,arguments)},r=!1,function(){return r||(r=!0,o=i.apply(this,arguments),i=null),o});return c._callback=e,this.on(t,c,n)},off:function(t,e,n){var i,o,r,s,c,u,l,d;if(!this._events||!a(this,"off",t,[e,n]))return this;if(!t&&!e&&!n)return this._events={},this;for(c=0,u=(s=t?[t]:Object.keys(this._events)).length;c<u;c++)if(t=s[c],r=this._events[t]){if(this._events[t]=i=[],e||n)for(l=0,d=r.length;l<d;l++)o=r[l],(e&&e!==o.callback&&e!==o.callback._callback||n&&n!==o.context)&&i.push(o);i.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=[].slice.call(arguments,1);if(!a(this,"trigger",t,e))return this;var n=this._events[t],i=this._events.all;return n&&s(n,e),i&&s(i,arguments),this}};e.default=c},27330:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return r}});n(83812),n(7091),n(55750),n(2375),n(77109);var i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g;function a(t){return null!=t}function r(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!t)return n;var r=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,n,i,a){e.push(i?a.replace(o,"$1"):n||t)})),e}(e),s=t;return r.forEach((function(t){s=a(s)&&a(s[t])?s[t]:void 0})),a(s)?s:n}},99260:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return i}});n(53956);function i(t){return null==t||0===Object.keys(t||{}).length}},47013:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return o}});n(87675),n(60291);var i=n(49433);function o(t){var e={},n=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1));return(0,i.default)(n,(function(n){n in t&&(e[n]=t[n])})),e}},62020:function(t,e,n){"use strict";n.r(e),e.default=function(t,e,n){var i,o,a,r=0;n||(n={});var s=function(){r=!1===n.leading?0:(new Date).getTime(),i=null,t.apply(o,a),i||(o=a=null)},c=function(){var c=(new Date).getTime();r||!1!==n.leading||(r=c);var u=e-(c-r);o=this,a=arguments,u<=0||u>e?(i&&(clearTimeout(i),i=null),r=c,t.apply(o,a),i||(o=a=null)):i||!1===n.trailing||(i=setTimeout(s,u))};return c.cancel=function(){clearTimeout(i),r=0,i=null},c}},94401:function(t,e,n){"use strict";n.r(e),n.d(e,{ECLOUD_TAB_PAGES:function(){return s},LIST_EVENT_NAME:function(){return i},RANTA_PATH_MAP:function(){return c},SWITCH_TAB:function(){return o},TAB_CONTAINER_RULE:function(){return a},TAB_PAGES:function(){return r}});var i="custom-tab-bar:nav:resolved",o="switchTab",a=/^pages\/tab\/(one|two|three)/,r=["/pages/home/dashboard/index","/pages/tab/one/index","/pages/tab/two/index","/pages/tab/three/index","/pages/usercenter/dashboard/index"],s=["/pages/home/dashboard/index","/pages/goods/cart/index","/pages/usercenter/dashboard/index"],c={"/pages/goods/cart/index":["/packages/trade-cart/cart/index"]}},89416:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return o}});n(10357),n(83812),n(86132);var i=n(94401);function o(t){try{return __wxConfig.tabBar.list.map((function(t){return"/"+t.pagePath.split(".")[0]}))}catch(e){return t?i.ECLOUD_TAB_PAGES:i.TAB_PAGES}}},34445:function(t,e,n){"use strict";n.r(e),n.d(e,{graySwitchTab:function(){return r}});n(51813),n(83812),n(86132),n(24973);var i=n(94401),o=n(89416);function a(t){return(t.startsWith("/")?"":"/")+t.split("?")[0]}function r(t,e,n){var r=e.path,s=e.tabBarIndex,c=void 0===s?-1:s,u=e.query,l=e.fail,d=e.useFail;try{if(d)return l();var f="",h=-1;if(r)f=a(r),h=t.findIndex((function(t){var e=t.pagePath,n=t.routingType;return f==="/"+e&&n===i.SWITCH_TAB}));else if(c>-1){var p=t[c]||{},m=p.pagePath;h=p.routingType===i.SWITCH_TAB?c:-1,f=a(m)}if((h=h===t.length-1?(0,o.default)().length-1:h)>-1){var g=u||{},v=(t[h]||{}).attachedId;n((0,o.default)()[h],v,g)}else"function"==typeof l&&l()}catch(t){"function"==typeof l&&l()}}},49353:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return o}});n(2375),n(23815);var i=n(94401);function o(){var t=getApp().globalData.tabbarOriginList,e=void 0===t?[]:t;return e.length>0?Promise.resolve(e):new Promise((function(t){getApp().once(i.LIST_EVENT_NAME,(function(e){return t(e)}))}))}},13789:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return r},nativeSwitchTab:function(){return a}});var i=n(49353),o=n(34445);function a(t,e){var n=e.success,i=e.fail,a=e.useFail;e.useFail=void 0!==a?a:getApp().ecloudMode,(0,o.graySwitchTab)(t,e,(function(t,e,o){var a;e&&(getApp().globalData.tabBarParams=((a={})[e]=o,a));wx.switchTab({url:t,success:function(){"function"==typeof n&&n()},fail:function(){"function"==typeof i&&(delete getApp().globalData.tabBarParams,i())}})}))}function r(t){var e=t.fail;if(getApp().ecloudMode)return e();(0,i.default)().then((function(e){a(e,t)}))}},31775:function(t,e,n){"use strict";n.r(e),n.d(e,{NAVIGATE_TYPE:function(){return v},PAGE_TYPE:function(){return m},ROUTE_CONF:function(){return b},checkPageType:function(){return I},getWeappShuntConfig:function(){return k},isUseNewRantaPage:function(){return C},navigateToRantaPage:function(){return P}});n(53956),n(54968),n(46239),n(2375),n(10601),n(55750),n(77109),n(19273),n(10357),n(51813),n(59230),n(23815),n(42345);var i,o,a=n(93002),r=n(11031),s=n(13789);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){(0,a.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l="useNewRantaCache",d="RANTA",f="useWeappRantaTee",h="packages",p="index",m={DETAIL:"detail",PAID:"paid",CART:"cart",ORDER:"order",PAY:"pay",ADDRESS_EDIT:"address_edit",ORDER_LIST:"order_list"},g=(i={},(0,a.default)(i,m.PAID,f+"PaidV2"),(0,a.default)(i,m.CART,f+"CartV2"),(0,a.default)(i,m.PAY,f+"PayV2"),(0,a.default)(i,m.ORDER_LIST,f+"OrderList"),i),v={NAVIGATE:"navigate",REDIRECT:"redirect",RELAUNCH:"reLaunch"},b=(o={},(0,a.default)(o,m.PAID,{NEW:h+"/paid/pay-result/success/"+p,OLD:h+"/order/paid-v1/"+p,TRANS:h+"/order/paid/"+p}),(0,a.default)(o,m.CART,{NEW:h+"/trade-cart/cart/"+p,OLD:h+"/trade/cart-v1/"+p,TRANS:h+"/goods/cart/"+p}),(0,a.default)(o,m.DETAIL,{NEW:h+"/trade/order-detail/"+p,OLD:h+"/trade/order-detail-v1/"+p,TRANS:h+"/trade/order/result/"+p}),(0,a.default)(o,m.ORDER,{NEW:h+"/trade-buy/order/buy/"+p,OLD:h+"/order-native/"+p,TRANS:"trade-buy"}),(0,a.default)(o,m.PAY,{NEW:h+"/trade-pay/pay/"+p,OLD:h+"/order-native/"+p,TRANS:"trade-pay"}),(0,a.default)(o,m.ADDRESS_EDIT,{NEW:h+"/trade-buy-subpage/order/address-edit/"+p,OLD:h+"/order-native/address-edit/"+p,TRANS:"address-edit"}),(0,a.default)(o,m.ORDER_LIST,{NEW:h+"/trade/order-list/"+p,OLD:h+"/trade/order/list/"+p,TRANS:"order-list"}),o),y="/packages/paid/pay-result",_=(0,a.default)({},m.PAID,[y+"/success/"+p,y+"/wait/"+p,y+"/auction/"+p,y+"/oversale/"+p]),w={navigate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(getCurrentPages()||[]).length>=10?wx.redirectTo(t):wx.navigateTo(t)},redirect:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};wx.redirectTo(t)},reLaunch:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};wx.reLaunch(t)}};function x(t){return Object.keys(t).map((function(e){return t[e]}))}function S(t){return t.startsWith("/")?t:"/".concat(t)}function k(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).isPreFetch,e=void 0!==t&&t;return new Promise((function(t,n){var i=null;try{i=getApp()}catch(t){}return!i&&e?n():i[l]?t(i[l]):(!e&&wx.showLoading(),void getApp().request({path:"/wsctrade/rantashunt/getWeappShuntConfig.json",data:{config:g},method:"POST"}).then((function(e){var n,o=u(u({},e),{},(n={},(0,a.default)(n,m.DETAIL,!0),(0,a.default)(n,m.ADDRESS_EDIT,!0),(0,a.default)(n,m.ORDER,!0),n));i&&(i[l]=o),t(o),wx.hideLoading()})).catch((function(){n(),wx.hideLoading()})))}))}function I(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return x(b[arguments.length>1&&void 0!==arguments[1]?arguments[1]:""]).map((function(t){return S(t)})).indexOf(t)>-1}function T(t,e,n,i,o){var a,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=b[i][n?"NEW":"OLD"],l=(a=getCurrentPages()||[])[a.length-1]||{},d=l.route,f=l.options,h=void 0===f?{}:f,p=S(u),g={};if(!function(t,e,n){var i=x(b[n]).map((function(t){return S(t)})),o=S(t),a=S(e);return i.indexOf(o)>-1&&i.indexOf(a)>-1}(d,p,i)?g=t:Object.assign(g,h,t),u!==d&&u===b[m.CART].NEW)return(0,s.default)({path:"/pages/goods/cart/index",query:g,fail:function(){w[o]({url:r.default.add(p,g)})}});if(e&&c){var v=_[i],y=S(d);if(v.indexOf(y)>-1&&v.indexOf(p)>-1)return}e&&p===S(d)||w[o]({url:r.default.add(p,g)})}function C(t){var e,n=t.path,i=null;try{i=getApp()}catch(t){}if(i){var o=i.tradePageType,r=o.payResultPageType,s=void 0===r?d:r,c=o.cartPageType,u=void 0===c?d:c,l=o.orderDetailPageType,f=void 0===l?d:l,h=o.tradeBuyPageType,p=void 0===h?d:h,g=o.tradePayPageType,v=void 0===g?d:g,y=o.orderListPageType,_=void 0===y?d:y;return(e={},(0,a.default)(e,b[m.PAID].TRANS,s===d),(0,a.default)(e,b[m.CART].TRANS,u===d),(0,a.default)(e,b[m.DETAIL].TRANS,f===d),(0,a.default)(e,b[m.ORDER].TRANS,p===d),(0,a.default)(e,b[m.PAY].TRANS,v===d),(0,a.default)(e,b[m.ADDRESS_EDIT].TRANS,p===d),(0,a.default)(e,b[m.ORDER_LIST].TRANS,_===d),e)[n]||!1}}function P(t){var e=t.pageType,n=void 0===e?"":e,i=t.query,o=void 0===i?{}:i,a=t.url,s=void 0===a?"":a,c=t.type,l=void 0===c?v.NAVIGATE:c,d=t.fromRantaPage,f=void 0!==d&&d,h=t.isMultiStatus,p=void 0!==h&&h,g=null;try{g=getApp()}catch(t){}if(g){var y=u(u({},r.default.getAll(s)||{}),o);if(g.ecloudMode){var _,w;if(n===m.CART&&"NO_DROP"===(null===(_=g)||void 0===_||null===(w=_.tradePageType)||void 0===w?void 0:w.cartPageType))return void k().then((function(t){return t.cart_by_customer}),(function(){return!1})).then((function(t){T(y,f,t,n,l,p)}));var x=C({path:b[n].TRANS});return T(y,f,x,n,l,p)}k().then((function(t){return t[n]}),(function(){return n===m.DETAIL})).then((function(t){T(y,f,t,n,l,p)}))}}},54038:function(t,e,n){"use strict";n.r(e),n.d(e,{stringifyAddress:function(){return o}});n(60291),n(62719),n(71190),n(10357),n(46239),n(2375);var i=["country","province","city","county","community","addressDetail","address_detail","houseNumber"];function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.length,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=i.slice(e,n);return t[a[1]]&&t[a[1]]===t[a[2]]&&a.splice(1,1),"中国"===t[a[0]]&&a.shift(),a.filter((function(e){return t[e]})).map((function(e){return t[e]})).join(o)}},11031:function(t,e,n){"use strict";n.r(e);n(90526),n(60291),n(59230),n(83812),n(86132),n(55750),n(2375),n(77109),n(53956),n(71190),n(79362),n(87675),n(71601),n(62719);function i(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("#")[0].split("?"),e={};return t[1]&&t[1].split("&").forEach((function(t){var n=t.split("=");e[n[0]]=n.slice(1).join("=")})),e}e.default={add:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!t||0===t.length||0===t.trim().indexOf("javascript"))return"";var o=t.split("#"),a=o[0].split("?"),r=i(t);return Object.keys(e).forEach((function(t){r[t.trim()]=n?encodeURIComponent(e[t]):e[t]})),t=a[0]+function(t){var e="";for(var n in t)""!==t[n]&&(e+=n.trim()+"="+t[n]+"&");return e?"?"+e.slice(0,e.length-1):""}(r),o[1]?t+="#"+o[1]:t},remove:function(t,e){var n=t.split("?");if(n.length>=2){for(var i=encodeURIComponent(e)+"=",o=n[1].split("&"),a=(o=o.reduce((function(t,e){return t.concat(e.split(";"))}),[])).length;a-- >0;)-1!==o[a].lastIndexOf(i,0)&&o.splice(a,1);return t=n[0]+"?"+o.join("&")}return t},getAll:i}},99524:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var i=n(77726),o=n(53886);function a(t){return(0,o.retry)((function(){return(0,i.default)({path:"/wsctrade/map/api/geocoder.json",data:t,method:"GET"})}))}},44339:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var i=n(77726),o=n(53886);function a(t){return(0,o.retry)((function(){return(0,i.default)({path:"/wsctrade/map/api/getLocationByIp.json",method:"GET",data:t})}))}},94604:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var i=n(77726),o=n(53886);function a(t){return(0,o.retry)((function(){return(0,i.default)({path:"/wsctrade/map/api/getSuggestion.json",data:t,method:"GET"})}))}},82540:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var i=n(77726),o=n(53886);function a(t){return(0,o.retry)((function(){return(0,i.default)({path:"/wsctrade/map/api/reverseGeocoder.json",data:t,method:"GET"})}))}},88289:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var i=n(77726),o=n(53886);function a(t){return(0,o.retry)((function(){return(0,i.default)({path:"/wsctrade/map/api/searchNearBy.json",data:t,method:"GET"})}))}},79107:function(t,e,n){"use strict";n.r(e);n(53956),n(54968),n(46239),n(2375),n(10601),n(55750),n(77109),n(19273),n(87675);var i=n(51214),o=n(93002),a=n(3887),r=n(58645),s=n(99524),c=n(82540),u=n(94604),l=n(88289),d=n(44339),f=["location"];function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var m=function(){function t(e){(0,a.default)(this,t),this.biz=(null==e?void 0:e.biz)||""}return(0,r.default)(t,[{key:"getLocationByAddress",value:function(t){var e={address:t,biz:this.biz};return(0,s.default)(e)}},{key:"getAddressByLocation",value:function(t){var e={location:"".concat(t.lng,",").concat(t.lat),biz:this.biz};return(0,c.default)(e)}},{key:"searchAddress",value:function(t){var e=p(p({},t),{},{biz:this.biz});return(0,u.default)(e)}},{key:"searchNearBy",value:function(t){var e=t.location,n=(0,i.default)(t,f),o="".concat(e.lng,",").concat(e.lat),a=p(p({},n),{},{location:o,biz:this.biz});return(0,l.default)(a)}},{key:"getCity",value:function(t){var e={location:"".concat(t.lng,",").concat(t.lat),biz:this.biz};return(0,c.default)(e).then((function(t){return(null==t?void 0:t.city)||""}))}},{key:"getCityByIp",value:function(){var t={biz:this.biz};return(0,d.default)(t).then((function(t){return(null==t?void 0:t.city)||""}))}}]),t}();e.default=m},53886:function(t,e,n){"use strict";n.r(e),n.d(e,{retry:function(){return i}});n(2375),n(23815);var i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return t().catch((function(){return new Promise((function(n,i){setTimeout((function(){t().then(n).catch(i)}),e)}))}))}},22921:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return s}});var i=n(3887),o=n(93002),a=n(73553),r=n(7565),s=function t(e){(0,i.default)(this,t),this.ctx=e.ctx};(0,o.default)(s,"widgets",{Main:a.default,CloudAppContentAppend:r.default})},30827:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return s}});var i=n(3887),o=n(58645),a=n(93002),r=n(34873),s=function(){function t(e){(0,i.default)(this,t),(0,a.default)(this,"ctx",void 0),this.ctx=e.ctx,this.setEnv()}return(0,o.default)(t,[{key:"setEnv",value:function(){var t=this;(0,r.mapData)(this,["shopInfo"],{callback:function(e,n){var i=n||{},o=i.kdtId,a=i.shopName;o||(o=window._global.kdt_id||window._global.kdtId),t.ctx.lambdas.getUserInfo().then((function(e){var n=e.userId,i=e.mobile;t.ctx.hummer.setEnv({kdtId:o,uid:n,mobile:i,shopName:a})}))}})}}]),t}()},83158:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return u}});var i=n(63413),o=n(3887),a=n(58645),r=(n(59230),n(3951),n(93750)),s=n(42199),c=["homepage","feature"],u=function(){function t(e){(0,o.default)(this,t),this.ctx=e.ctx,this.logger=this.ctx.logger}return(0,a.default)(t,[{key:"onAppLaunch",value:function(){this.setLoggerEvent(),this.setLoggerUser(),this.syncVipLogger(),this.setWindowObj()}},{key:"setLoggerEvent",value:function(){var t=window._global.logger_params||{},e=_global.kdt_id||_global.kdtId;this.buyerId=_global.buyer_id||_global.buyerId||"",this.yzUid=this.buyerId||_global.userId||_global.user_id||"";var n=(0,i.default)((0,i.default)({},t),{},{kdt_id:e,yz_uid:this.yzUid,buyer_id:this.buyerId,hq_kdt_id:_global.hq_kdt_id||_global.hqKdtId,is_fans:_global.is_fans||_global.isFans,fans_id:_global.fansId||_global.fans_id,yz_fans_id:_global.youzanFansId||_global.yz_fans_id,nobody:_global.nobody,oid:_global.offlineId||_global.offline_id,activity_names:_global.activityNames||_global.activity_names,activity_type:_global.activityType||_global.activity_type,template_id:_global.templateId||_global.template_id,open_id:_global.userOpenId||_global.user_open_id});-1!==c.indexOf(_global.showcaseType)&&(n.is_home=Number("homepage"===_global.showcaseType)+""),this.logger.setEvent({pt:_global.spm&&_global.spm.logType||""}),this.logger.setEvent({si:_global.kdt_id||_global.kdtId||"",params:(0,s.cleanObject)(n)},"instance")}},{key:"setLoggerUser",value:function(){this.logger.setUser({li:this.yzUid,m:(_global.buyer||{}).mobile||"",yz_uid:this.yzUid,buyer_id:this.buyerId})}},{key:"syncVipLogger",value:function(){var t=window._global.showcase_type,e=void 0===t?"":t;"feature"!==e&&"homepage"!==e||r.default.syncTrackerCookies()}},{key:"setWindowObj",value:function(){window.yzlogInstance||(window.yzlogInstance=this.logger)}}]),t}()},42199:function(t,e,n){"use strict";n.r(e),n.d(e,{cleanObject:function(){return i}});n(55750),n(2375),n(77109),n(53956);function i(t){var e={};return Object.keys(t).forEach((function(n){(t[n]||!1===t[n])&&(e[n]=t[n])})),e}},43138:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return O}});var i=n(63413),o=n(27455),a=n(3887),r=n(58645),s=n(93002),c=(n(59230),n(60291),n(83812),n(86132),n(7091),n(90526),n(2375),n(23815),n(55750),n(77109),n(53956),n(10616)),u=n.n(c),l=n(901),d=n(59523),f=n(72941),h=n(47019),p=n.n(h),m=n(85869),g=n(97220),v=n.n(g),b=n(95080),y=window._global.kdtId||window._global.kdt_id,_=window._global.miniprogram||{},w=_.isSwanApp,x=_.isTTApp,S=_.isAlipayApp,k=_.isQQApp,I=window._global||{},T=I.platformInfo,C=void 0===T?{}:T,P=I.rantaUseDelegateALink,E=void 0===P||P,A=C.platform,O=function(){function t(e){(0,a.default)(this,t),(0,s.default)(this,"cloudTransformMap",{"my-coupons":{showExchange:"isExchange"},"member-center-free":{kdtId:"kdt_id"},"member-center-plus":{kdtId:"kdt_id",levelAlias:"alias"},prepay:{kdtId:"kdt_id",activeTab:function(t){return{key:"activeTab",value:{giftCard:"GIFT",balanceCard:"BALANCE"}[t]}}}}),this.ctx=e.ctx,this.phoenixInit(),E&&this.delegateALink(),this.addDmcHook()}return(0,r.default)(t,[{key:"getJumpLink",value:function(t){var e=t;if(w||x||S||k){if(0===e.indexOf("tel:")&&window.swan)return void window.swan.makePhoneCall({phoneNumber:e.slice(4)});if(/uri\.amap\.com\/marker/.test(e)){var n=p().get("position",e).split(","),i=(0,o.default)(n,2),a=i[0],r=i[1],s=p().get("name",e),c=p().get("address",e);return void m.default.openLocation({longitude:a,latitude:r,name:s,address:c})}}k&&(e=e.replace(/^http(s?):\/\/shop\d+\./,"http$1://h5."));var u=e;if(/^(pages|\/pages|packages|\/packages)/.test(e)||(u=(0,l.getSafeUrl)({url:e,kdtId:y,extraQuery:{referer:location.href}})),"youzanmars"!==A&&"youzanwsc"!==A||0!==location.pathname.indexOf("/wscgoods"))return u;f.action.gotoWebview({page:"web",url:u})}},{key:"phoenixInit",value:function(){var t=new b.default(this.ctx);v().setGlobal("Phoenix",t),window.mockPhoenix=t}},{key:"delegateALink",value:function(){var t=u()(document.body),e=this;t.on("click","a",(function(t){if((0,d.isNeedDelegate)(this)){t.preventDefault();var n=(this.href||"").trim();e.ctx.dmc.navigate("CommonWebview",{src:n})}}))}},{key:"addDmcHook",value:function(){var t=this,e=this.ctx.dmc;e&&e.useBeforeLeave((function(n){if(!n.route)return!0;if("miniApp"===n.protocol&&"weapp"===e.options.authType)return Promise.resolve(!0);["CommonWebview","EduWebview"].indexOf(n.route)>-1&&(n.url=n.query.src);try{t.handleCloudUrl(n)}catch(t){}var i=t.getJumpLink(n.url);return i?(n.url=i,Promise.resolve(!0)):Promise.resolve(!1)}))}},{key:"handleCloudUrl",value:function(t){var e=this.cloudTransformMap[t.route];if(e){var n=t.url,o=(0,i.default)({},t.query);Object.keys(e).forEach((function(t){var i=o[t],a=e[t];if(i){if("function"==typeof a){var r=a(i);a=r.key,i=r.value}n=p().remove(n,t),n=p().add(n,(0,s.default)({},a,i)),delete o[t],o[a]=i}})),t.url=n,t.query=o}}}]),t}()},95080:function(t,e,n){"use strict";n.r(e);var i=n(3887),o=n(58645),a=(n(97220),n(47019),function(){function t(e){(0,i.default)(this,t),this.ctx=e}return(0,o.default)(t,[{key:"navigate",value:function(t,e){return this.reportLog(t,"navigate"),this.ctx.dmc.router.navigate(t,e)}},{key:"replace",value:function(t,e){return this.reportLog(t,"replace"),this.ctx.dmc.router.redirectTo(t,e)}},{key:"switchTab",value:function(t,e){return this.reportLog(t,"switchTab"),this.ctx.dmc.router.switchTab(t,e)}},{key:"reset",value:function(t,e){return this.reportLog(t,"reset"),this.ctx.dmc.router.reLaunch(t,e)}},{key:"reload",value:function(){this.reportLog("reload","reload"),location.reload()}},{key:"goBack",value:function(t){return this.reportLog(t,"goBack"),this.ctx.dmc.router.back(t)}},{key:"goBackApp",value:function(){}},{key:"navigateByUri",value:function(t,e){return this.reportLog(t,"navigateByUri"),this.ctx.dmc.router.navigate(t,e)}},{key:"replaceByUri",value:function(t,e){return this.reportLog(t,"replaceByUri"),this.ctx.dmc.router.redirectTo(t,e)}},{key:"reportLog",value:function(t,e){try{this.ctx.logger.log({et:"click",ei:"mock_phoenix_nav",en:"mock phoenix 数据统计",pt:"dmc",params:{method:e,url:t,page:location.href}})}catch(t){}}}]),t}());e.default=a},57741:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return E}});var i,o,a,r,s,c,u,l,d,f,h,p=n(63413),m=n(48564),g=n(51214),v=n(3887),b=n(58645),y=n(93002),_=n(23340),w=(n(64448),n(34642),n(2375),n(23815),n(47691),n(79575),n(45607),n(10601),n(23888)),x=n(77726),S=n(62020),k=n(39275),I=n(12102),T=n(78588),C=["ctx"],P=function(){return n.e(307).then(n.bind(n,70307)).then((function(t){return t.default}))},E=(i=(0,I.cloud)("user","data"),o=(0,I.bridge)("user","data"),a=(0,I.cloud)("login","method",{allowMultiple:!0}),r=(0,I.bridge)("login","process"),s=(0,I.bridge)("ecloud:login:success","asyncEvent"),h=f=function(){function t(e){var n=this,i=e.ctx,o=(0,g.default)(e,C);(0,v.default)(this,t),(0,y.default)(this,"ctx",void 0),(0,y.default)(this,"forceLoginRequest",void 0),(0,y.default)(this,"__hasInit",void 0),(0,m.default)(this,"user",u,this),(0,m.default)(this,"bridgeUser",l,this),(0,y.default)(this,"loginSilentlyLogger",(0,k.default)((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.ctx.logger&&n.ctx.logger.log({et:"custom",ei:"login_silently_duration",en:"静默登录持续时间",params:(0,p.default)({duration_time:Date.now()-t},e)})}),100)),(0,m.default)(this,"afterLoginSuccess",d,this),this.ctx=i,this.ctx.data.appId=(0,w.getAppId)(),this.__hasInit=!!w.cache.get("CACHE_ACCOUNT_INIT"),this.initEvent(),this.initPropertyData(o),this.initData(),this.setHooks(),this.initCloudData()}return(0,b.default)(t,[{key:"initPropertyData",value:function(t){var e=this,n=t.customAppId,i=t.clientId,o=t.clientSecret,a=t.grantType;P().then((function(t){n&&(e.ctx.data.appId=n,(0,w.updateAppId)(n)),i&&t.updateLoginExtraData({clientId:i,clientSecret:o,grantType:a})}))}},{key:"initEvent",value:function(){var t=this;(0,w.onEvent)(w.TEE_LOGIN_END_EVENT,(function(e){t.ctx.event.emit("login",e)})),this.__hasInit||(0,w.onEvent)(w.TEE_LOGIN_END_EVENT,(0,S.default)((function(t){t.cache||(P().then((function(t){t.refreshUserAuthData().finally((function(){return(0,w.emitUserAuthSync)()}))})),n.e(600).then(n.bind(n,92600)).then((function(t){return t.clearProtocolCache()})))}),500))}},{key:"initData",value:function(){this.ctx.data.miniprogram={},this.ctx.data.platformInfo={},this.fetchGlobalData()}},{key:"fetchGlobalData",value:function(){var t=this;w.platform.getGlobalValue("miniprogram").then((function(e){t.ctx.data.miniprogram=e})),w.platform.getGlobalValue("platformInfo").then((function(e){t.ctx.data.platformInfo=e}))}},{key:"onAppShow",value:function(){}},{key:"onAppLaunch",value:function(){this.fetchGlobalData()}},{key:"login",value:function(){var t=this;if(this.forceLoginRequest)return this.forceLoginRequest;var e=Date.now();return P().then((function(n){return n.login({allowNoLogin:w.isWeb}).then((function(n){t.setGlobalConfig(n),!n.cache&&t.loginSilentlyLogger(e,{fetch_type:n.fetchType||"remote"}),x.flash&&(0,x.flash)()}))}))}},{key:"forceLogin",value:function(){var t=this;return this.forceLoginRequest||(this.forceLoginRequest=P().then((function(e){return e.forceLogin().then((function(e){return t.setGlobalConfig(e),t.forceLoginRequest=void 0,x.flash&&(0,x.flash)(),e})).catch((function(e){throw t.forceLoginRequest=void 0,e}))}))),this.forceLoginRequest}},{key:"setGlobalConfig",value:function(t){var e=this.ctx,n=e.logger,i=e.hummer,o={li:t.userId},a={userId:t.userId};t.mobile&&(o.m=t.mobile,a.mobile=t.mobile),n&&n.setUser(o),i&&i.setEnv(a)}},{key:"setHooks",value:function(){w.platform.checkInSinglePage()}},{key:"initCloudData",value:function(){var t=this,e=function(){return t.ctx.lambdas.getUserInfo().then((function(e){return t.user=(0,w.parseToCloudUser)(e),t.bridgeUser=(0,T.formatBridgeUser)(e),e}))};(0,w.onUserAuthSuccess)(e),e()}},{key:"cloudLogin",value:function(){var t=this;return this.ctx.lambdas.login().then((function(e){if(null==e||!e.userId)return t.ctx.lambdas.forceLogin()})).then((function(){}))}}]),t}(),(0,y.default)(f,"lambdas",{login:function(t){return P().then((function(e){return e.login(t)}))},forceLogin:function(){return P().then((function(t){return t.forceLogin()}))},getAppId:function(){return(0,w.getAppId)()},hasLogin:function(){return w.platform.hasLogin()},getUserInfo:function(t){return P().then((function(e){return e.getUserInfo(t)}))},getAuthType:function(){return w.platform.getAuthType()},getPlatform:function(){return w.platform.getAclValue("platform.platform")},getHostApp:function(){return w.platform.getHostApp()}}),c=h,u=(0,_.default)(c.prototype,"user",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,_.default)(c.prototype,"bridgeUser",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,_.default)(c.prototype,"cloudLogin",[a,r],Object.getOwnPropertyDescriptor(c.prototype,"cloudLogin"),c.prototype),d=(0,_.default)(c.prototype,"afterLoginSuccess",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,I.cloudHook)()}}),c)},78588:function(t,e,n){"use strict";n.r(e),n.d(e,{formatBridgeGetUserInfo:function(){return a},formatBridgeUser:function(){return o}});var i=n(63413);function o(t){var e=t.userId,n=t.mobile,i=t.gender,o=t.avatar,a=t.nickname,r=t.openId,s=n&&t.userOpenId;return{mobile:n,gender:"".concat(i),avatar:o,nickname:a,userOpenId:s,nickName:a,openId:r,has_login:!!e,has_bind:!!n}}function a(t,e){var n=t.mobile,o=t.gender,a=t.state,r=t.avatar,s=t.nickname,c=t.openId,u=a||{},l=u.protocol,d=u.mobile,f=u.nicknameAndAvatar,h=n&&t.userOpenId;return{userInfo:{mobile:n,gender:o,avatar:r,nickname:s,userOpenId:h,openId:c},state:(0,i.default)((0,i.default)({},e),{},{protocol:!!l,mobile:!!d,nicknameAndAvatar:!!f,userOpenId:!!h})}}},72769:function(t,e,n){"use strict";n.r(e),n.d(e,{CloudExtension:function(){return w}});var i,o,a,r,s,c,u,l,d=n(48564),f=n(3887),h=n(58645),p=n(36913),m=n(71655),g=n(53569),v=(n(93002),n(64448),n(23340)),b=(n(10357),n(2375),n(23815),n(10601),n(12102)),y=n(23888),_=n(68459),w=(i=(0,b.cloud)("getProtocolData","method",{allowMultiple:!0}),o=(0,b.cloud)("requestProtocolAuth","method",{allowMultiple:!0}),a=(0,b.cloud)("hideProtocolAuth","method",{allowMultiple:!0}),r=(0,b.bridge)("protocolNeedShow","asyncEvent"),s=(0,b.bridge)("protocolUserAgree","event"),c=function(t){(0,m.default)(n,t);var e=(0,g.default)(n);function n(t){var i;return(0,f.default)(this,n),i=e.call(this,t),(0,d.default)((0,p.default)(i),"beforeBridgeProtocolUIShow",u,(0,p.default)(i)),(0,d.default)((0,p.default)(i),"afterBridgeProtocolUIAgree",l,(0,p.default)(i)),i.initCloudData(),i}return(0,h.default)(n,[{key:"getProtocolData",value:function(){return this.resolveProtocol().then((function(t){return t.getProtocolData().then((function(t){return{protocols:t.protocolData.map((function(t){var e;return{id:t.agreementTplId,name:t.agreementTplName,url:t.url,state:null!==(e=t.state)&&void 0!==e?e:y.SIGN_STATE.UN_SIGN,kdtId:t.kdtId,validTime:t.validAt,invalidTime:t.invalidAt}})),isAllSigned:t.protocolStatus}}))}))}},{key:"requestProtocolAuth",value:function(t){return this.invokeProtocol().then((function(e){var n=(t||{}).needSkipSigned;return e.auth({needSkipSigned:n}).catch((function(){throw void 0})).then((function(){}))}))}},{key:"hideProtocolAuth",value:function(){return this.invokeProtocol().then((function(t){t.close()}))}},{key:"initCloudData",value:function(){var t=this.ctx;t.process.define("invokeProtocolCloud",(function(e){var n=e.method,i=e.alias,o=e.payload,a=e.options,r=t.cloud[n];return new Promise((function(e,s){return r?e(r.call(t,i,o,a)):s('Unknown method "'.concat(n,'"'))}))}))}}]),n}(_.BaseExtension),(0,v.default)(c.prototype,"getProtocolData",[i],Object.getOwnPropertyDescriptor(c.prototype,"getProtocolData"),c.prototype),(0,v.default)(c.prototype,"requestProtocolAuth",[o],Object.getOwnPropertyDescriptor(c.prototype,"requestProtocolAuth"),c.prototype),(0,v.default)(c.prototype,"hideProtocolAuth",[a],Object.getOwnPropertyDescriptor(c.prototype,"hideProtocolAuth"),c.prototype),u=(0,v.default)(c.prototype,"beforeBridgeProtocolUIShow",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,b.cloudHook)()}}),l=(0,v.default)(c.prototype,"afterBridgeProtocolUIAgree",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,b.cloudHook)()}}),c)},83910:function(t,e,n){"use strict";n.r(e),n.d(e,{CLOUD_PROTOCOL_CONTENT_SLOT_NAME:function(){return i}});var i="user-auth-protocol-content"},87296:function(t,e,n){"use strict";n.r(e),n.d(e,{CLOUD_PROTOCOL_CONTENT_SLOT_NAME:function(){return i.CLOUD_PROTOCOL_CONTENT_SLOT_NAME}});var i=n(83910)},68459:function(t,e,n){"use strict";n.r(e),n.d(e,{BaseExtension:function(){return s}});n(34642);var i=n(3887),o=n(58645),a=n(93002),r=(n(2375),n(23815),n(47691),n(79575),n(23888)),s=function(){function t(e){(0,i.default)(this,t),(0,a.default)(this,"ctx",void 0),(0,a.default)(this,"__protocolPs",void 0),this.ctx=e.ctx}return(0,o.default)(t,[{key:"resolveProtocol",value:function(){var t=this;return this.__protocolPs||(this.__protocolPs=n.e(600).then(n.bind(n,92600)).catch((function(e){throw t.__protocolPs=void 0,r.platform.authLogger.logSkynet("Resolve protocol failed",{errMsg:(0,r.getErrorMsg)(e),err:e}),e}))),this.__protocolPs}},{key:"invokeProtocol",value:function(){return this.resolveProtocol().then((function(t){return new t.InvokeProtocol({source:"@ext/protocol_".concat(Date.now())})}))}}]),t}()},57438:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return f}});var i=n(3887),o=n(71655),a=n(53569),r=n(93002),s=n(72769),c=n(21330),u=n(64641),l=n(86936),d=n(83567),f=function(t){(0,o.default)(n,t);var e=(0,a.default)(n);function n(){return(0,i.default)(this,n),e.apply(this,arguments)}return n}(s.CloudExtension);(0,r.default)(f,"widgets",{ProtocolPopup:u.default,ProtocolContent:l.default,CloudProtocolContent:d.default,InjectProtocol:c.default})},41544:function(t,e,n){"use strict";n.r(e),n.d(e,{CloudExtension:function(){return A}});var i,o,a,r,s,c,u,l,d,f,h,p,m,g,v,b=n(48564),y=n(3887),_=n(58645),w=n(36913),x=n(71655),S=n(53569),k=(n(93002),n(23340)),I=(n(64448),n(2375),n(23815),n(12102)),T=n(23888),C=n(7262),P=n(15369),E=T.hooks.authorizeHook,A=(i=(0,I.cloud)("onUserAuthOnce","event"),o=(0,I.cloud)("onUserAuthAllSuccess","event",{scope:"component"}),a=(0,I.cloud)("beforeUserAuthGetRenderConfig","hook"),r=(0,I.cloud)("beforeUserAuthPopupToggle","hook",{allowMultiple:!0}),s=(0,I.cloud)("beforeUserAuthOnce","hook"),c=(0,I.cloud)("afterUserAuthOnce","hook"),u=(0,I.bridge)("authorizeUserAgree","asyncEvent"),l=function(t){(0,x.default)(n,t);var e=(0,S.default)(n);function n(t){var i;return(0,y.default)(this,n),i=e.call(this,t),(0,b.default)((0,w.default)(i),"onUserAuthOnce",d,(0,w.default)(i)),(0,b.default)((0,w.default)(i),"onUserAuthAllSuccess",f,(0,w.default)(i)),(0,b.default)((0,w.default)(i),"beforeUserAuthGetRenderConfig",h,(0,w.default)(i)),(0,b.default)((0,w.default)(i),"beforeUserAuthPopupToggle",p,(0,w.default)(i)),(0,b.default)((0,w.default)(i),"beforeUserAuthOnce",m,(0,w.default)(i)),(0,b.default)((0,w.default)(i),"afterUserAuthOnce",g,(0,w.default)(i)),(0,b.default)((0,w.default)(i),"afterBridgeUserAuthOnce",v,(0,w.default)(i)),i.initCloudData(),i}return(0,_.default)(n,[{key:"initCloudData",value:function(){var t=this.ctx;t.process.define("invokeAuthCloud",(function(e){var n=e.method,i=e.alias,o=e.payload,a=e.options,r=t.cloud[n];return new Promise((function(e,s){return r?e(r.call(t,i,o,a)):s('Unknown method "'.concat(n,'"'))}))})),E.getConfig.set((function(){return(0,P.getConfig)(t)})),E.popupShowBefore.set((function(e){return(0,P.popupShowBefore)(t,e)})),E.authItemAfter.set((function(e){return(0,P.authItemAfter)(t,e)}))}}]),n}(C.BaseExtension),d=(0,k.default)(l.prototype,"onUserAuthOnce",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,I.cloudEvent)()}}),f=(0,k.default)(l.prototype,"onUserAuthAllSuccess",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,I.cloudEvent)()}}),h=(0,k.default)(l.prototype,"beforeUserAuthGetRenderConfig",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,I.cloudHook)()}}),p=(0,k.default)(l.prototype,"beforeUserAuthPopupToggle",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,I.cloudHook)()}}),m=(0,k.default)(l.prototype,"beforeUserAuthOnce",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,I.cloudHook)()}}),g=(0,k.default)(l.prototype,"afterUserAuthOnce",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,I.cloudHook)()}}),v=(0,k.default)(l.prototype,"afterBridgeUserAuthOnce",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,I.cloudHook)()}}),l)},15369:function(t,e,n){"use strict";n.r(e),n.d(e,{authItemAfter:function(){return s},getConfig:function(){return a},popupShowBefore:function(){return r},protocolBeforeAgree:function(){return c}});var i=n(63413),o=(n(2375),n(23815),n(34642),n(47691),n(79575),n(46239),n(23888));function a(t){return t.cloud.invoke("beforeUserAuthGetRenderConfig").then((function(t){var e=(t||{}).nativeAbility;return(0,i.default)({},e)}))}function r(t,e){return t.cloud.invoke("beforeUserAuthPopupToggle",(0,i.default)((0,i.default)({},e),{},{isShow:!0}))}function s(t,e){var n=t.cloud,i={actionType:e.actionType,authTypeList:e.authTypeList},o={type:e.actionType,authList:e.authTypeList,state:e.authState,residueAuthList:e.leftAuthTypeList,pageUrl:e.pageUrl};return Promise.resolve().then((function(){return n.emit("onUserAuthOnce",i)})),Promise.all([n.invoke("afterUserAuthOnce",i),n.invoke("afterBridgeUserAuthOnce",o)]).then((function(t){return t.filter((function(t){return void 0!==t}))}))}function c(t){return t.cloud.invoke("beforeUserAuthOnce",{authTypeList:[o.AuthType.PROTOCOL],actionType:o.AuthActionType.Agree})}},44600:function(t,e,n){"use strict";n.r(e),n.d(e,{CLOUD_PROTOCOL_CONTENT_SLOT_NAME:function(){return i}});var i="user-auth-protocol-content"},55213:function(t,e,n){"use strict";n.r(e),n.d(e,{CLOUD_PROTOCOL_CONTENT_SLOT_NAME:function(){return i.CLOUD_PROTOCOL_CONTENT_SLOT_NAME}});var i=n(44600)},7262:function(t,e,n){"use strict";n.r(e),n.d(e,{BaseExtension:function(){return r}});var i=n(3887),o=n(93002),a=n(23888),r=function t(e){(0,i.default)(this,t),(0,o.default)(this,"ctx",void 0),(0,o.default)(this,"__hasInit",void 0),this.ctx=e.ctx,this.__hasInit=!!a.cache.get("CACHE_ACCOUNT_INIT")}},30220:function(t,e,n){"use strict";n.r(e),n.d(e,{resolveProtocol:function(){return o},resolveTeeAPI:function(){return i}});n(34642),n(2375),n(23815),n(47691),n(79575);var i=function(){return n.e(307).then(n.bind(n,70307)).then((function(t){return t.default}))},o=function(){return n.e(600).then(n.bind(n,92600))}},40715:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return v}});var i=n(3887),o=n(58645),a=n(71655),r=n(53569),s=n(93002),c=(n(34642),n(2375),n(23815),n(47691),n(79575),n(87675),n(23888)),u=n(41544),l=n(30220),d=n(82007),f=n(24722),h=n(2683),p=n(18241),m=n(91389),g=c.hooks.authorizeHook,v=function(t){(0,a.default)(n,t);var e=(0,r.default)(n);function n(t){var o;return(0,i.default)(this,n),(o=e.call(this,t)).initHooks(),o.initProcess(),o}return(0,o.default)(n,[{key:"initHooks",value:function(){var t=this;if(!this.__hasInit){g.mobileChange.set((function(){for(var e,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return Promise.all((e=t.ctx.process).invoke.apply(e,["mobileChange"].concat(i)))}));var e="user-auth-popup";g.buttonClickAfter.set((function(){t.ctx.hummer.mark.start(e)})),g.popupShowAfter.set((function(){t.ctx.hummer.mark.end(e)}))}}},{key:"initProcess",value:function(){var t=this.ctx;t.process.define("invoke-protocol",(function(){return(0,l.resolveProtocol)().then((function(t){return new t.InvokeProtocol({source:"@ext/authorize_".concat(Date.now())})}))})),t.process.define("requestUserAuth",c.requestUserAuth),t.process.define("syncUserAuthState",(function(t){return(0,l.resolveTeeAPI)().then((function(e){return e.refreshUserAuthData(t).then((function(){(0,c.emitUserAuthSync)()}))}))}))}}]),n}(u.CloudExtension);(0,s.default)(v,"widgets",{Main:d.default,Popup:f.default,CloudUserAuthorize:h.default,Pop:p.default}),(0,s.default)(v,"components",{UserAuthorizePopup:m.default})},9381:function(t,e,n){"use strict";n.r(e),n.d(e,{protocolCloudMixin:function(){return l}});n(54968),n(49349),n(2375),n(87675),n(55750),n(77109),n(23815),n(34642),n(47691),n(79575);var i=n(23888),o=n(3382),a=n(30220),r=n(15369),s=Symbol("offList"),c=i.hooks.protocolHook,u=i.platform.authLogger,l={created:function(){this.initProtocol()},destroyed:function(){this.runOff()},methods:{addOff:function(t){this[s]=(this[s]||[]).concat(t)},runOff:function(){this[s]&&(this[s].forEach((function(t){return t()})),this[s]=null)},getProtocol:function(){var t=this;return this.$_protocolPs||(this.$_protocolPs=(0,a.resolveProtocol)().then((function(e){return new e.InvokeProtocol({source:t.protocolSource})})).catch((function(e){throw t.$_protocolPs=null,e}))),this.$_protocolPs},initProtocol:function(){var t=this;this.getProtocol().then((function(e){var n=(0,o.createBridgeProtocolHandlers)({isCustomUI:t.protocolIsCloudSlot,invokeCloud:function(e,n){return t.invokeCloud(e,n)},log:u.logAll}),a=function(i){return i.source!==e.source?Promise.resolve():Promise.all([(0,r.protocolBeforeAgree)(t.ctx),n.beforeAgree()]).then((function(){}))};c.beforeAgree.add(a);var s={sameSource:!0},l=i.InvokeProtocolEvent;e.on(l.AGREE,(function(){return n.onAgree()}),s),e.on(l.DISAGREE,(function(){return n.onDisagree()}),s),e.on(l.SHOW_BEFORE,(function(){return n.onBeforeShow()}),s),e.on(l.SHOW_AFTER,(function(){return n.onAfterShow()}),s),e.on(l.CLOSE,(function(){return n.onClose()}),s),t.addOff((function(){e.off(),c.beforeAgree.remove(a),n.cleanup()}))})).catch((function(e){throw u.logAll({errTitle:"cloud protocol init error",errInfo:{source:t.protocolSource,msg:(0,i.getErrorMsg)(e),stack:e&&e.stack}}),e}))},invokeCloud:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"invoke";return this.ctx.process.invoke("invokeProtocolCloud",{alias:t,payload:e,method:n})[0]}}}},24442:function(t,e,n){"use strict";n.r(e),n.d(e,{createProtocolMixin:function(){return a}});n(87675),n(97415),n(1881);var i=n(55213),o=n(9381);function a(t){return{mixins:[o.protocolCloudMixin],data:function(){return{protocolSource:"@ext/authorize/".concat(t,"_").concat(Date.now())}},computed:{protocolIsCloudSlot:function(){var t;return!!(this.protocolCustomCloudSlot||null!==(t=this.ctx.data.cloudDesignConfig)&&void 0!==t&&t.replacedSlots.includes(i.CLOUD_PROTOCOL_CONTENT_SLOT_NAME))}}}}},91767:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return g}});var i,o,a,r,s,c=n(48564),u=n(3887),l=n(58645),d=n(93002),f=n(23340),h=(n(64448),n(77726)),p=n(12102),m=n(34873),g=(i=(0,p.cloud)("salesmanAccountInfo","data"),o=(0,p.cloud)("salesmanItemPromotionPredictCommissionList","data"),a=function(){function t(e){(0,u.default)(this,t),(0,d.default)(this,"ctx",void 0),(0,c.default)(this,"salesmanAccountInfo",r,this),(0,c.default)(this,"salesmanItemPromotionPredictCommissionList",s,this),this.ctx=e.ctx,this.initCloudData()}return(0,l.default)(t,[{key:"getSalesmanInfo",value:function(){var t=this;(0,h.default)({path:"/wscump/salesman/get-salesman-info.json"}).then((function(e){t.salesmanAccountInfo=e}))}},{key:"initCloudData",value:function(){var t=this;this.salesmanAccountInfo={},this.salesmanItemPromotionPredictCommissionList=[],this.getSalesmanInfo(),(0,m.mapData)(this,{salesmanPromoteGoodsInfo:function(e){var n=(e||{}).id;n&&(0,h.default)({path:"/wscump/salesman/get-item-promotion-commission-list.json",data:{itemId:n}}).then((function(e){t.salesmanItemPromotionPredictCommissionList=e}))}})}},{key:"onPageShow",value:function(t){}}]),t}(),r=(0,f.default)(a.prototype,"salesmanAccountInfo",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,f.default)(a.prototype,"salesmanItemPromotionPredictCommissionList",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a)},79610:function(t,e,n){"use strict";n.r(e),n.d(e,{assertMap:function(){return r}});var i="https://b.yzcdn.cn/",o="".concat(i,"salesman/"),a="".concat(i,"202527/"),r={button:"".concat(o,"b_btn.png"),arrowUp:"".concat(o,"b_arrow.png"),arrowDown:"".concat(a,"b_arrow_3.png"),arrowViolentUp:"".concat(o,"b_arrow.png"),arrowViolentDown:"".concat(a,"b_arrow_1.png"),arrowViolentLeftDown:"".concat(a,"b_arrow_2.png")}},85070:function(t,e,n){"use strict";n.r(e),n.d(e,{getGuideConfig:function(){return a}});n(3951);var i=n(77726),o=function(t){return"packages/home/dashboard/index"===t.path},a=function(t){var e=t.iconList,n=t.showGoodsDetail,a=t.instance;return(0,i.default)({path:"/wscsalesman/share-icon/begin-boarding/getGuideConfig.json",query:{hasTabbar:Number(o(a)),isIphoneX:Number(false),iconList:JSON.stringify(e),special:Number(n)}})}},18037:function(t,e,n){"use strict";n.r(e),n.d(e,{BRUSH:function(){return d},CDN:function(){return i},GOODS_IMG:function(){return o},MATCH:function(){return r},POSTER:function(){return c},ROBOT:function(){return l},SINGLE:function(){return a},WEBVIEW:function(){return u}});var i="https://img01.yzcdn.cn/upload_files",o="".concat(i,"/2022/08/31/FiO_0L-pvURYmLLxUGNIG-QlGT-w.png"),a="single",r="match",s="pages/common",c={type:"qrcode",width:292,height:292,page:"".concat(s,"/blank-page/index"),needWeappCode:!0},u="".concat(s,"/webview-page/index"),l="".concat(i,"/2024/12/04/FtxUcNtAQhoFAsahfaHWKIkPaOHC.png"),d="".concat(i,"/2024/12/18/FkuJq1qaZMnr8hbr6VPvY5FLh1pF.png")},85329:function(t,e,n){"use strict";n.r(e),n.d(e,{ASSIST_CODE:function(){return o}});var i=n(18037),o="".concat(i.CDN,"/2021/03/09/Fnxvvz23Njr8UTvjpm5Cf4q53PMb.jpg")},51189:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return H}});var i,o,a,r,s,c,u,l,d,f,h,p,m,g,v,b,y,_,w,x,S=n(48564),k=n(3887),I=n(58645),T=n(93002),C=n(23340),P=(n(64448),n(10601),n(12102)),E=n(45351),A=n(45394),O=n(48611),L=n(78942),M=n(93716),R=n(18093),D=n(94986),N=n(24698),G=n(55e3),U=n(84696),j=n(69403),F=n(41820),B=n(43585),z=n(58065),H=(i=(0,P.cloud)("salesmanIdentityInfo","data"),o=(0,P.cloud)("salesmanPromoteGoodsInfo","data"),a=(0,P.cloud)("toggleSalesmanSharePopup","method",{allowMultiple:!0}),r=(0,P.cloud)("beforeSalesmanShareInfoSet","hook",{allowMultiple:!1}),s=(0,P.cloud)("beforeSalesmanSharePopupDisplay","hook",{allowMultiple:!1}),c=(0,P.cloud)("beforeGoodsSmartInfoGet","hook",{allowMultiple:!1}),u=(0,P.cloud)("beforeShareMoneyGet","hook",{allowMultiple:!1}),l=(0,P.cloud)("beforePromoteLinkGenerate","hook",{allowMultiple:!1}),d=(0,P.cloud)("beforeSalesmanSharePopupContentRender","hook",{allowMultiple:!0}),x=w=function(){function t(e){(0,k.default)(this,t),(0,T.default)(this,"ctx",void 0),(0,S.default)(this,"salesmanIdentityInfo",h,this),(0,S.default)(this,"salesmanPromoteGoodsInfo",p,this),(0,S.default)(this,"beforeSalesmanShareInfoSet",m,this),(0,S.default)(this,"beforeSalesmanSharePopupDisplay",g,this),(0,S.default)(this,"beforeGoodsSmartInfoGet",v,this),(0,S.default)(this,"beforeShareMoneyGet",b,this),(0,S.default)(this,"beforePromoteLinkGenerate",y,this),(0,S.default)(this,"beforeSalesmanSharePopupContentRender",_,this),this.ctx=e.ctx,this.ctx.instance={},this.initCloudSalesmanData()}return(0,I.default)(t,[{key:"toggleSalesmanSharePopup",value:function(t){this.ctx.process.invoke("toggleSalesmanSharePopup",t)}},{key:"initCloudSalesmanData",value:function(){var t=this;this.salesmanIdentityInfo={},this.salesmanPromoteGoodsInfo={},(0,P.mapData)(this,{salesmanPromoteGoodsInfo:function(e){t.salesmanPromoteGoodsInfo=e},salesmanIdentityInfo:function(e){t.salesmanIdentityInfo=e}})}},{key:"onPageShow",value:function(t){var e=t.route,n=t.query.alias,i=void 0===n?"":n;this.ctx.process.invoke("updateCloudData",{invokePage:e+"/"+i}),this.ctx.data.isMatch||this.ctx.process.invoke("toggleSalesmanSharePopup",{isShow:!1})}}]),t}(),(0,T.default)(w,"widgets",{ShareBlock:L.default,MatchAndPromote:M.default,SalesmanSharePopup:E.default,CubeHeader:A.default,CubeTabContainer:O.default,CubeTabPromote:D.default,CubeTabPoster:R.default,CubeFooter:N.default,MainFrame:G.default,CloudSalesmanSharePopup:U.default,CloudSalesmanSharePopupFooter:z.default,CloudSalesmanSharePopupHeader:j.default,CloudSalesmanSharePopupTabs:F.default,CloudSalesmanSharePopupCustomTabContent:B.default}),f=x,h=(0,C.default)(f.prototype,"salesmanIdentityInfo",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,C.default)(f.prototype,"salesmanPromoteGoodsInfo",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,C.default)(f.prototype,"toggleSalesmanSharePopup",[a],Object.getOwnPropertyDescriptor(f.prototype,"toggleSalesmanSharePopup"),f.prototype),m=(0,C.default)(f.prototype,"beforeSalesmanShareInfoSet",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,P.useAsHook)()}}),g=(0,C.default)(f.prototype,"beforeSalesmanSharePopupDisplay",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,P.useAsHook)()}}),v=(0,C.default)(f.prototype,"beforeGoodsSmartInfoGet",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,P.useAsHook)()}}),b=(0,C.default)(f.prototype,"beforeShareMoneyGet",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,P.useAsHook)()}}),y=(0,C.default)(f.prototype,"beforePromoteLinkGenerate",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,P.useAsHook)()}}),_=(0,C.default)(f.prototype,"beforeSalesmanSharePopupContentRender",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,P.useAsHook)()}}),f)},14552:function(t,e,n){"use strict";n.r(e),n.d(e,{checkCloudPage:function(){return d},formatBizScene:function(){return u},formatModulePage:function(){return f},formatPopupPayload:function(){return l},formatSalesmanPromoteGoodsInfo:function(){return a},formatSalesmanType:function(){return s},getPromoteUrlParams:function(){return i},isCurPage:function(){return h}});n(2860),n(87675),n(53631),n(83812),n(60606),n(8208),n(2375),n(71190),n(46239),n(86132);var i=function(t,e){var n={share_cmpt:"savepictures",offlineId:e},i=t.extra,o=t.promoteText;return i&&i.alg&&(n.alg=i.alg),o&&(n.content="aiwriting"),n},o=function(t,e){if(void 0!==t)return t!==e&&e?"".concat((+e/100).toFixed(2),"-").concat((+t/100).toFixed(2)):"".concat((+t/100).toFixed(2))},a=function(t){var e=void 0,n=t.goodsPrice,i=void 0===n?{}:n,a=t.goodsActivityInfo,r=t.title,s=void 0===r?"":r,c=t.alias,u=void 0===c?"":c,l=t.id,d=void 0===l?"":l,f=t.goodsId,h=void 0===f?"":f,p=t.itemId,m=void 0===p?"":p,g=t.picture,v=void 0===g?"":g,b=t.goodsAlias,y=void 0===b?"":b,_=t.pic,w=void 0===_?"":_,x=t.profit,S=void 0===x?"":x,k=i.maxOriginPrice,I=i.minOriginPrice,T=i.maxPrice,C=i.minPrice,P=i.oldMaxPrice,E=i.oldMinPrice,A=i.originMaxPrice,O=i.originMinPrice,L=o(C)||"",M=o(T,C)||"",R=o(P||k||A||T,E||I||O||C)||"",D=k&&k!==T;if(a){var N=a.activityId,G=void 0===N?0:N,U=a.type,j=void 0===U?0:U,F=a.activityType,B=void 0===F?j:F,z=a.activityAlias,H=void 0===z?"":z,W=a.activityName,K=void 0===W?"":W;e={id:G,alias:H||t.activityAlias||"",type:B,name:K}}return{id:d||h||m,imgUrl:w||v,title:s,alias:y||u,profit:S,minActivityPriceText:L,realPriceText:M,originPriceText:R,hasActivityPrice:!!D,activityInfo:e}},r={1:"guide",2:"salesman"},s=function(t){return r[t]},c={goods:"goodsDetail",item_promote:"salesmanPromote"},u=function(t){return c[t]},l=function(t,e){var n=t.id,i=t.goodsId,o=t.itemId,a=t.goodsAlias,r=t.alias;return{bizScene:u(e),goodsAlias:a||r,goodsId:n||i||o}},d=function(t){return[new RegExp("^pages/goods/detail/index"),new RegExp("^packages/shop/salesman/promote/index"),new RegExp("^/wscgoods/detail"),new RegExp("^/wscsalesman/promotion/promote"),new RegExp("^/pay/wscgoods_order")].some((function(e){return e.test(t)}))},f=function(t,e){var n=e.alias,i=void 0===n?"":n,o=t.split("/").filter(Boolean).join("");return"".concat(o).concat(i)},h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=f(t.$getPageRoute(),t.$getPageQuery()),i=e.split("/").filter(Boolean).join("");return!e||n===i}},87327:function(t,e,n){"use strict";n.r(e),n.d(e,{goH5:function(){return a}});n(87675);var i=n(97220),o=n.n(i),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=o().getEnv();return"web"===n?o().navigate({url:t}):"weapp"===n?o().navigate({url:"/pages/common/webview-page/index?src=".concat(encodeURIComponent(t),"&title=").concat(e)}):o().navigate({url:"/pages/web-view/index?url=".concat(encodeURIComponent(t),"&title=").concat(e)})}},93201:function(t,e,n){"use strict";n.r(e),n.d(e,{WX_SHARE_CANCEL:function(){return l},batchSaveImageRemoteUrl:function(){return p},compose:function(){return d},formatGoodsToMatchList:function(){return S},formatMatchItem:function(){return x},getErrorMessage:function(){return f},getImageMode:function(){return y},getImageSize:function(){return _},getRunEnv:function(){return v},isInH5Env:function(){return m},isInH5RunEnv:function(){return g},pollData:function(){return w},saveImageRemoteUrl:function(){return h},shareImgByWechatImgShare:function(){return b}});var i=n(63413),o=n(66825),a=(n(2375),n(23815),n(10822),n(10357),n(34642),n(47691),n(79575),n(97220)),r=n.n(a),s=n(81976),c=n(53440),u=n.n(c),l="showShareImageMenu:fail cancel";function d(t){if(!Array.isArray(t))throw new TypeError("Handlers stack must be an array!");var e,n=(0,o.default)(t);try{for(n.s();!(e=n.n()).done;){if("function"!=typeof e.value)throw new TypeError("Handler must be composed of functions!")}}catch(t){n.e(t)}finally{n.f()}return function(e){var n=-1;return function i(o){if(o<=n)return Promise.reject(new Error("next() called multiple times"));n=o;var a=t[o];o===t.length&&(a=e);if(!a)return Promise.resolve();try{return Promise.resolve(a((function(){return i(o+1)})))}catch(t){return Promise.reject(t)}}(0)}}var f=function(t,e){return t?"string"==typeof t?t:t.errMsg||t.message||t.msg||e:e};function h(t){return"ant"===r().getEnv()?(0,s.saveImageToPhotosAlbum)(t):new Promise((function(e,n){return r().$native.downloadFile({url:t,success:function(t){return(0,s.saveImageToPhotosAlbum)(t.tempFilePath).then(e).catch((function(t){var e=f(t,"保存失败");return n(e.endsWith("auth deny")?"保存失败,未开启相册授权":e)}))},fail:function(t){return n(f(t,"图片下载失败"))}})}))}function p(t){var e=t.map((function(t){return h(t)}));return Promise.all(e)}function m(){return"web"===r().getEnv()}function g(){return m()&&"web"===v()}var v=function(){var t=r().getEnv(),e=t;return"web"===t&&(window.__wxjs_environment&&"miniprogram"===window.__wxjs_environment&&(e="weapp"),window.__qqjs_environment&&"miniprogram"===window.__qqjs_environment&&(e="qq"),window&&window._global&&window._global.miniprogram&&(window._global.miniprogram.isWeapp&&(e="weapp"),window._global.miniprogram.isQQApp&&(e="qq"))),e},b=function(t){var e=t.imgUrl,n=t.entrancePath,i=t.fallback,o=t.instance,a="赚字微信图片分享";r().$native.downloadFile({url:e,success:function(t){r().$native.showShareImageMenu({path:t.tempFilePath,needShowEntrance:!0,entrancePath:n,success:function(){},fail:function(t){o.monitor({msg:"".concat(a,"-调用SDK方法失败"),err:t}),t&&t.errMsg===l||i()}})},fail:function(t){o.monitor({msg:"".concat(a,"-图片下载失败"),err:t}),i()}})};function y(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{return t.mode&&!e?t.mode:"".concat(t.width>t.height?"widthFix":"heightFix")}catch(t){return"heightFix"}}function _(t){return new Promise((function(e){var n=new Image;n.src=t,n.onload=function(){e({width:n.width,height:n.height})}}))}function w(t){var e=t.checkFn,n=t.callback,i=t.interval,o=void 0===i?500:i,a=t.maxAttempts,r=void 0===a?20:a,s=0;!function t(){s++;var i=e();i?n(i):s<r?setTimeout(t,o):n(null,new Error("Max attempts reached"))}()}var x=function(t){return(0,i.default)((0,i.default)({},t),{},{alias:t.goodsAlias,pic:t.pic||t.mainPicUrl,id:t.itemId||t.goodsId,recommendReason:t.reason||"经典百搭",priceStr:u()(t.price,!0,!1),originPriceStr:t.originPriceStr||(t.originPrice?u()(t.originPrice,!0,!1):void 0)})},S=function(t){var e=t.pictures,n=t.recommendReason,o=t.pic,a=t.goodsId,r=t.id;return[(0,i.default)((0,i.default)({},t),{},{itemId:a||r,reason:n,mainPicUrl:o,pictureJson:JSON.stringify(e)})]}},48689:function(t,e,n){"use strict";n.r(e),n.d(e,{SALESMAN_TYPE:function(){return s},logger:function(){return l}});var i,o=n(63413),a=(n(83812),n(86132),n(45882)),r=n(75791),s={GUIDE:1,SALESMAN:2},c=(0,r.initExtensionLogger)({yai:"shop_guide_workbench_b",app:"wsc-tee-salesman",requestUrl:"https://tj1.youzan.com/v3/js/log"}),u=(0,a.getLogger)();c.setEvent(null===(i=u.getLogParams())||void 0===i?void 0:i.event);var l=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.params,i=void 0===n?{}:n,a=i.mark,r=void 0===a?"":a;i.salesman_type===s.GUIDE&&(u.getLogParams().user&&c.setUser(u.getLogParams().user),c.setEvent({si:r.split("-")[0]}),c.log((0,o.default)((0,o.default)({},(null===(t=u.getLogParams())||void 0===t?void 0:t.event)||{}),e)));u.log(e)}},14257:function(t,e,n){"use strict";n.r(e);var i=n(63413),o=n(3887),a=n(58645),r=n(36913),s=n(71655),c=n(53569),u=n(93002),l=(n(10357),n(2375),n(23815),n(97220)),d=n.n(l),f=n(74511),h=n(47019),p=n.n(h),m=n(43677),g=n.n(m),v=n(56960),b=["autoEnterShop","enterShopSelect","enterShopAfterLogin","setApplicationScene","getOrderEnterShopPolicy","handleUrlWithShopAutoEnter","getEnterShopCacheByBizType"],y=function(t){(0,s.default)(n,t);var e=(0,c.default)(n);function n(t){var i;return(0,o.default)(this,n),i=e.call(this,t),(0,u.default)((0,r.default)(i),"extJson",{}),i.ctx.data.CHAIN_BIZ_TYPE=v.CHAIN_BIZ_TYPE,i.initProcess(),i}return(0,a.default)(n,[{key:"initProcess",value:function(){var t=this;b.map((function(e){var n;return null===(n=t[e])||void 0===n?void 0:n.call(t)}))}},{key:"autoEnterShop",value:function(){this.ctx.process.define("autoEnterShop",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,v.autoEnterShop)(t,(0,i.default)({logTag:v.ENTER_SHOP_LOG_TAG.EXT},e))}))}},{key:"enterShopSelect",value:function(){this.ctx.process.define("enterShopSelect",(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,v.enterShopSelect)(t,e)}))}},{key:"enterShopAfterLogin",value:function(){this.ctx.process.define("enterShopAfterLogin",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(e,n){try{t.redirectUrl=encodeURIComponent(p().add(t.path,g()(t.query||{},"subKdtId")))}catch(t){n({err:"参数处理异常"})}var o,a;"web"===d().getEnv()&&(t.isAccessEnterShop=(null===(o=window._global)||void 0===o?void 0:o.isAccessEnterShop)||!1,t.kdtId=null===(a=window._global)||void 0===a?void 0:a.kdtId);(0,v.enterShopAfterLogin)((0,i.default)((0,i.default)({},t),{},{isMulti:!0})).then((function(t){e(t)})).catch((function(t){n(t)}))}))}))}},{key:"setApplicationScene",value:function(){this.ctx.process.define("setApplicationScene",(function(t){return(0,v.setApplicationScene)(t)}))}},{key:"getOrderEnterShopPolicy",value:function(){this.ctx.process.define("getOrderEnterShopPolicy",(function(){return(0,v.getOrderEnterShopPolicy)()}))}},{key:"handleUrlWithShopAutoEnter",value:function(){this.ctx.process.define("handleUrlWithShopAutoEnter",(function(t){return(0,v.handleUrlWithShopAutoEnter)(t)}))}},{key:"getEnterShopCacheByBizType",value:function(){this.ctx.process.define("getEnterShopCacheByBizType",(function(t){return(0,v.getEnterShopCacheByBizType)(t)}))}}]),n}(f.BaseExtension);e.default=y},9293:function(t,e,n){"use strict";n.r(e);var i=n(3887),o=n(58645),a=n(36913),r=n(71655),s=n(53569),c=n(93002),u=(n(97415),n(87675),n(35039)),l=n(32459),d=n(97220),f=n.n(d),h=n(9878),p=n(997),m="app:init:nostoreid",g="packages/shopcore/multi-store/",v=function(t){(0,r.default)(n,t);var e=(0,s.default)(n);function n(t){var o;return(0,i.default)(this,n),o=e.call(this,t),(0,c.default)((0,a.default)(o),"route",""),(0,c.default)((0,a.default)(o),"env",f().getEnv()),(0,c.default)((0,a.default)(o),"query",{}),o.initData(),o.initProcess(),o.initListener(),"web"!==o.env&&(o.initTeeMixin(),["tt","weapp"].includes(o.env)||o.initMultiStore()),o}return(0,o.default)(n,[{key:"initData",value:function(){var t=this,e=(0,l.getOfflineId)();this.ctx.data.offlineId=e,this.ctx.data.isMultiStore=!1,this.ctx.data.openHideStore=!1,"web"===this.env&&e?(0,l.readOfflineData)((0,l.getCurrentKdtId)(),e).then((function(e){t.ctx.data.offlineData=e})):this.ctx.data.offlineData={}}},{key:"initProcess",value:function(){var t=this;this.ctx.process.define("setOfflineId",(function(t){return(0,l.setOfflineId)(t)})),this.ctx.process.define("getOfflineData",(function(t){return(0,l.readOfflineData)((0,l.getCurrentKdtId)(),t)})),this.ctx.process.define("switchMultiStore",(function(){t.switchMultiStore()}))}},{key:"initListener",value:function(){var t=this;(0,l.onOfflineIdChange)((function(e){t.ctx.data.offlineId=e,(0,l.readOfflineData)((0,l.getCurrentKdtId)(),e).then((function(e){t.ctx.data.offlineData=e}))})),(0,l.onShopInfoChange)((function(e){var n=e.multiStore;n&&(t.ctx.data.isMultiStore=n.isMultiStore,t.ctx.data.openHideStore=n.openHideStore)}))}},{key:"initMultiStore",value:function(){var t=this;(0,l.invokeEnterMultiStore)().then((function(e){if(e>0)return(0,l.setOfflineId)(e);t.checkEnterMultiStore()})).catch((function(t){}))}},{key:"checkEnterMultiStore",value:function(){var t=this,e=encodeURIComponent(p.default.add("/".concat(this.route),this.query));(0,l.readShopInfo)().then((function(n){var i=n.multiStore,o={position:"".concat(g,"select-poi/index/index?redirectUrl=").concat(e,"&autoSelect=").concat(i.autoEntryStore),select:"".concat(g,"index/index?redirectUrl=").concat(e),type:"redirectTo"};(0,l.checkNeedToSelectStore)(t.route,o)}))}},{key:"switchMultiStore",value:function(){encodeURIComponent(p.default.add("/".concat(this.route),this.query));(0,l.readShopInfo)().then((function(t){var e=t.multiStore,n="https://h5.youzan.com",i={kdt_id:(0,l.getCurrentKdtId)(),offline_redirect:encodeURIComponent(window.location.href)};return f().navigate({url:e.openHideStore?p.default.add("".concat(n,"/wscshop/showcase/selectStore"),i):p.default.add("".concat(n,"/wscump/multistore/index"),i),type:"navigateTo"})}))}},{key:"initTeeMixin",value:function(){var t=this;f().mixin({usingScope:["page"],beforeMount:function(){t.route=this.$getPageRoute(),t.query=this.$getPageQuery(),t.query.oid&&"weapp"!==this.env&&(0,l.setOfflineId)(+t.query.oid)},onShow:function(){h.default.on(m,t.checkEnterMultiStore,t),(0,l.getCurrentKdtId)()&&t.route&&t.checkEnterMultiStore()},onHide:function(){h.default.off(m,t.checkEnterMultiStore)},onUnload:function(){h.default.off(m,t.checkEnterMultiStore)}})}}]),n}(u.BaseExtension);(0,c.default)(v,"lambdas",{isMultiStoreAsync:function(){return(0,l.readShopInfo)().then((function(t){return t.multiStore.isMultiStore}))}}),e.default=v},15216:function(t,e,n){"use strict";n.r(e),n.d(e,{getShopConfig:function(){return a},getShopSettings:function(){return r}});var i=n(77726),o=i.default,a=function(){return(0,i.requestUseCdn)({path:"/wscshop/query-shop-config.json",method:"GET",withCredentials:!0})},r=function(t){return o({path:"/wscdeco/decorate-settting/get-shop-settings.json",method:"POST",data:t,withCredentials:!0})}},62312:function(t,e,n){"use strict";n.r(e);var i,o,a,r,s,c,u,l=n(48564),d=n(3887),f=n(58645),h=n(36913),p=n(71655),m=n(53569),g=n(93002),v=n(23340),b=(n(64448),n(97415),n(10601),n(35039)),y=n(32459),_=n(97220),w=n.n(_),x=n(27330),S=n(47013),k=n(91726),I=n(15216),T=n(12102),C=(i=(0,T.cloud)("shop","data"),o=(0,T.cloud)("getShopSettings","method"),a=(0,T.bridge)("updateKdtId","process"),r=(0,T.bridge)("ecloud:shopnav:ready","event"),s=function(t){(0,p.default)(n,t);var e=(0,m.default)(n);function n(t){var i;return(0,d.default)(this,n),i=e.call(this,t),(0,g.default)((0,h.default)(i),"env",w().getEnv()),(0,l.default)((0,h.default)(i),"shop",c,(0,h.default)(i)),(0,l.default)((0,h.default)(i),"afterShopNavReady",u,(0,h.default)(i)),i.initListener(),i.initProcess(),i.initData(),i.initCloudData(),i}return(0,f.default)(n,[{key:"getShopSettings",value:function(t){return(0,I.getShopSettings)(t)}},{key:"updateKdtId",value:function(t){return(0,y.updateKdtId)(t,{mark:"902"})}},{key:"initData",value:function(){var t=this;(0,I.getShopConfig)().then((function(e){t.ctx.data.shopConfigs=e}));var e=(0,y.getRootKdtId)(),n=(0,y.getCurrentKdtId)();if(this.ctx.data.kdtId=n,this.ctx.data.rootKdtId=e,"web"===this.env)return(0,y.updateKdtId)(n);["tt","weapp"].includes(this.env)||(0,y.updateKdtId)(e,{mark:"[ext-shop-core]weapp-initData"})}},{key:"initProcess",value:function(){this.ctx.process.define("readConf",(function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,y.batchReadShopConfig)(t,e)})),this.ctx.process.define("setKdtId",(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"[ext-shop-core]setKdtId";return(0,y.updateKdtId)(t,{force:e,mark:n})}))}},{key:"pickShopInfo",value:function(t){return(0,S.default)(t,["kdtId","shopName","logo","rootKdtId"])}},{key:"initListener",value:function(){var t=this;(0,y.onKdtIdChange)((function(e){t.ctx.data.kdtId=e})),(0,y.onShopInfoChange)((function(e){t.shop=t.pickShopInfo(e.shop||{}),t.ctx.data.shop=e.shop,t.ctx.data.theme=e.theme,1!=+(0,x.default)(e.shop,"shopMetaInfo.shop_role")&&k.default.trigger("enter:shop:done",e.shop)}))}},{key:"initCloudData",value:function(){}}]),n}(b.BaseExtension),c=(0,v.default)(s.prototype,"shop",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,v.default)(s.prototype,"getShopSettings",[o],Object.getOwnPropertyDescriptor(s.prototype,"getShopSettings"),s.prototype),(0,v.default)(s.prototype,"updateKdtId",[a],Object.getOwnPropertyDescriptor(s.prototype,"updateKdtId"),s.prototype),u=(0,v.default)(s.prototype,"afterShopNavReady",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,T.useAsEvent)()}}),s);e.default=C},74885:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return b}});var i,o,a,r,s,c,u=n(48564),l=n(3887),d=n(58645),f=n(93002),h=(n(64448),n(23340)),p=(n(10601),n(44973)),m=n(69015),g=n(60991),v=n(12102),b=(i=(0,v.cloud)("joinMember","method"),o=(0,v.cloud)("onJoinMemberSuccess","event"),c=s=function(){function t(e){(0,l.default)(this,t),(0,f.default)(this,"ctx",void 0),(0,u.default)(this,"onJoinMemberSuccess",r,this),this.ctx=e.ctx}return(0,d.default)(t,[{key:"joinMember",value:function(){this.ctx.process.invoke("launchFastJoinSDK")}}]),t}(),(0,f.default)(s,"widgets",{Main:p.default,FastJoinHeader:m.default,CloudFastJoin:g.default}),a=c,(0,h.default)(a.prototype,"joinMember",[i],Object.getOwnPropertyDescriptor(a.prototype,"joinMember"),a.prototype),r=(0,h.default)(a.prototype,"onJoinMemberSuccess",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,v.cloudEvent)()}}),a)},42208:function(t,e,n){"use strict";n.r(e),n.d(e,{FastJoinHeadTypeEnum:function(){return i}});var i=function(t){return t[t.Normal=1]="Normal",t[t.Logo=2]="Logo",t}({})},50844:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return c}});var i=n(63413),o=n(3887),a=n(58645),r=n(77726),s={name:"会员",icon:"https://img01.yzcdn.cn/upload_files/2024/09/05/FjB3m21PWrUpDo1aa98oHXYvCAm-.png"},c=function(){function t(e){var n,a=e.ctx;(0,o.default)(this,t),this.ctx=a,this.setMemberData((0,i.default)({},s));var r=null===(n=_global)||void 0===n?void 0:n.memberConfig;null!=r&&r.name?this.setMemberData(r):this.getMemberConfig()}return(0,a.default)(t,[{key:"getMemberConfig",value:function(){var t=this;(0,r.requestUseCdn)({path:"/wscump/member-config.json"}).then((function(e){t.setMemberData(e)})).catch((function(){t.setMemberData((0,i.default)({},s))}))}},{key:"setMemberData",value:function(t){this.ctx.data.memberConfig=t}}]),t}()},94552:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return x}});var i,o,a,r,s,c,u,l,d=n(63413),f=n(48564),h=n(3887),p=n(58645),m=n(93002),g=n(23340),v=(n(64448),n(83812),n(7091),n(55750),n(2375),n(77109),n(53956),n(79362),n(97415),n(1881),n(10601),n(12102)),b=n(34873),y=n(99260),_=n(15046);var w={key:{themeColors:"colors",themeTag:"tag",themeIcon:"icon",themeRadius:"radius"},commonText:{ump:"marketing",youzandanbao:"gurantee"},specificProperty:{"start-bg":"gradient-start","end-bg":"gradient-end","marketing-start-bg":"marketing-gradient-start","marketing-end-bg":"marketing-gradient-end","brand-gurantee-bg":"service-bg","brand-gurantee-tag-color":"service-tag-color","brand-gurantee-tag-bg-color":"service-tag-bg-color","brand-gurantee-tag-border-color":"service-tag-border-color"}};var x=(i=(0,v.cloud)("appStyle","data"),o=(0,v.cloud)("beforeGenerateAppStyle","hook",{allowMultiple:!0}),a=(0,v.cloud)("getShopStyleSettings","method",{allowMultiple:!0}),l=u=function(){function t(e){(0,h.default)(this,t),(0,m.default)(this,"ctx",void 0),(0,f.default)(this,"appStyle",s,this),(0,f.default)(this,"beforeGenerateAppStyle",c,this);var n=e.ctx,i=e.cloudConfig,o=void 0===i?{}:i;this.ctx=n,this.initCloudData(o)}return(0,p.default)(t,[{key:"getShopStyleSettings",value:function(){return this.ctx.data.openShopStyleSettings}},{key:"initCloudData",value:function(t){var e=this;this.appStyle={style:"",config:{biz:t}},this.ctx.data.appStyleConfig=t,this.ctx.data.openShopStyleSettings={},this.ctx.watch("shopStyleSettings",(function(t){t&&!(0,y.default)(t)&&(e.ctx.data.openShopStyleSettings=t,e.ctx.cloud.invoke("beforeGenerateAppStyle").then((function(t){var n=(Array.isArray(t)?t:[t]).reduce((function(t,e){return(0,d.default)((0,d.default)({},t),e)}),{});(0,y.default)(n)||e.ctx.process.invoke("updateAppStyle",n)})))})),this.ctx.watch("themeCSS",(function(t){t&&(e.appStyle.style=t)})),(0,b.mapDataAll)(this,["themeColors","themeTag","themeIcon","themeRadius"],{isSetData:!1,callback:function(t){if(t){var n={};Object.keys(t).forEach((function(e){var i=w.key[e];n[i]=function(t){if(t){var e=w.commonText,n=w.specificProperty,i={};return Object.keys(t).forEach((function(o){var a,r=t[o],s=o;s=n[o]?n[o]:Object.keys(e).reduce((function(t,n){return t.includes(n)?t.replace(n,e[n]):t}),o),i[(a=s,a.replace(/-([a-z])/g,(function(t,e){return e.toUpperCase()})))]=r})),i}}(t[e])})),e.appStyle.config=n}}})}}]),t}(),(0,m.default)(u,"widgets",{Main:_.default}),r=l,s=(0,g.default)(r.prototype,"appStyle",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,g.default)(r.prototype,"beforeGenerateAppStyle",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,v.useAsHook)()}}),(0,g.default)(r.prototype,"getShopStyleSettings",[a],Object.getOwnPropertyDescriptor(r.prototype,"getShopStyleSettings"),r.prototype),r)},94235:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return m}});var i=n(3887),o=n(58645),a=n(93002),r=(n(71190),n(10357),n(87675),n(72445)),s=n(97220),c=n.n(s),u=n(51111),l=n.n(u),d=n(46502),f=n(81976),h=l().isAndroid()?[void 0,.8,1,1.1,1.12,1.13,1.4,1.55,1.65]:[void 0,.94,1,1.06,1.15,1.24,1.29,1.4],p="elderly-oriented-font-size-scale";d.default.config({appName:"wsc-h5-shop",logIndex:"jserror_log",level:"info"});var m=function(){function t(e){var n=this;(0,i.default)(this,t),(0,a.default)(this,"ctx",void 0),(0,a.default)(this,"handleWeixinJSBridgeReady",(function(){c().$native.WeixinJSBridge&&c().$native.WeixinJSBridge.on("menu:setfont",n.handleMenuSetFont)})),(0,a.default)(this,"handleMenuSetFont",(function(t){try{n.resetFontSize();var e=h[t.fontSize]||1;n.updateStyle(e),(0,f.setStorage)(p,e)}catch(t){n.reportWebError(t)}}));var o=e.ctx;this.ctx=o;var r;r=this.getWebFontSizeScale(),this.resetFontSize(),this.bindMenuSetFontEvent(),c().$native._setFontSizeScale=function(t){return n.updateStyle(t)},this.updateStyle(r)}return(0,o.default)(t,[{key:"getMiniProgramFontSizeScale",value:function(){var t=c().$native.getAppBaseInfo().fontSizeScaleFactor;return void 0===t?1:t}},{key:"updateStyle",value:function(t){t=t||1;var e=Math.min(Math.max(t,.8),1.3),n=[12,14,16,18,20,22].map((function(t){return"--eo-font-size-".concat(t,": ").concat(Math.round(t*e),"px;")})).join("");this.ctx.data.fontSizeScale=e,this.ctx.data._eoCSS="--font-size-scale: ".concat(e,";").concat(n)}},{key:"getWebFontSizeScale",value:function(){var t=1;if(l().isWeixin()&&(l().isMobile()||l().isIPad()))try{if(!(t=(0,f.getStorageSync)(p))){var e=JSON.parse(c().$native.__wxWebEnv.getEnv()).fontScale;t=e<20?1:e/100,(0,f.setStorage)(p,t)}}catch(e){t=1,this.reportWebError(e)}return t}},{key:"bindMenuSetFontEvent",value:function(){c().$native.document.addEventListener("WeixinJSBridgeReady",this.handleWeixinJSBridgeReady,!1)}},{key:"pageDestroyed",value:function(){c().$native.document.removeEventListener("WeixinJSBridgeReady",this.handleWeixinJSBridgeReady),c().$native.WeixinJSBridge&&c().$native.WeixinJSBridge.off("menu:setfont",this.handleMenuSetFont)}},{key:"reportWebError",value:function(t){var e=t instanceof Error?t.message:t;d.default.paasLog({name:"elderly-oriented-error",message:e||"适老化信息初始化失败"})}},{key:"resetFontSize",value:function(){l().isAndroid()&&l().isWeixin()&&c().$native.WeixinJSBridge&&c().$native.WeixinJSBridge.invoke("setFontSizeCallback",{fontSize:2})}}]),t}();(0,a.default)(m,"widgets",{Main:r.default})},66333:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return s}});var i=n(3887),o=n(93002),a=n(76804),r=n(59437),s=function t(e){(0,i.default)(this,t),this.ctx=e.ctx};(0,o.default)(s,"widgets",{ShopNavH5:a.default,BottomTabbarH5Bg:r.default})},68154:function(t,e,n){"use strict";n.r(e),n.d(e,{getWeappCustomNav:function(){return o}});var i=n(77726),o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.default)({url:"/wscshop/weapp/custom_nav.json",data:t})}},73600:function(t,e,n){"use strict";n.r(e),n.d(e,{ALL_GOODS_ROUTE:function(){return m},COLOR_MODE:function(){return s},DEFAULT_ICON_COLOR:function(){return r},FEATURE_HOME:function(){return _},FEATURE_TAB_ONE:function(){return v},FEATURE_TAB_THREE:function(){return y},FEATURE_TAB_TWO:function(){return b},IN_DMC_ROUTE:function(){return g},NAV_STYLE:function(){return c},TABBAR_LIST:function(){return p},TAB_CONFIG_ROUTE_MAP:function(){return x},USERCENTER_REG:function(){return h},USERCENTER_ROUTE:function(){return f},USER_CENTER:function(){return w}});var i,o=n(93002),a=n(31775),r={ACTIVE:"#f44",UNACTIVATED:"#666",RESET_UNACTIVE:"#666"},s={SHOP:"shop",CUSTOM:"custom"},c={DEFAULT:1,MAIN_ICON:2,XUAN_FU:3,MAIN_ICON_STYLE_TWO:4},u="packages",l="home/tab/",d={homeTabOne:l+"one",homeTabTwo:l+"two",homeTabThree:l+"three",homeDashboard:"home/dashboard/index",useCenterDashboard:"usercenter/dashboard/index"},f={WSC:"".concat(u,"/").concat(d.useCenterDashboard),RETAIL:"".concat(u,"/retail/usercenter/dashboard-v2/index")},h=/packages\/(retail\/)?usercenter\/dashboard(-v2)?\/index/,p=["/pages/".concat(d.homeDashboard),"/pages/goods/cart/index","/pages/".concat(d.useCenterDashboard)],m={OLD:"".concat(u,"/shop/goods/all/index"),NEW:"".concat(u,"/goods-list/all/index")},g=(0,o.default)({},"/".concat(m.OLD),"AllGoodsList"),v={TRANS:"".concat(u,"/").concat(d.homeTabOne)},b={TRANS:"".concat(u,"/").concat(d.homeTabTwo)},y={TRANS:"".concat(u,"/").concat(d.homeTabThree)},_={TRANS:"".concat(u,"/").concat(d.homeDashboard)},w={TRANS:"".concat(u,"/").concat(d.useCenterDashboard),PAGE:"pages/".concat(d.useCenterDashboard)},x=(i={},(0,o.default)(i,a.ROUTE_CONF[a.PAGE_TYPE.CART].TRANS,{subRoutes:[a.ROUTE_CONF[a.PAGE_TYPE.CART].NEW,a.ROUTE_CONF[a.PAGE_TYPE.CART].OLD]}),(0,o.default)(i,v.TRANS,{subRoutes:[]}),(0,o.default)(i,b.TRANS,{subRoutes:[]}),(0,o.default)(i,y.TRANS,{subRoutes:[]}),(0,o.default)(i,_.TRANS,{subRoutes:[]}),(0,o.default)(i,m.OLD,{subRoutes:[m.OLD,m.NEW]}),(0,o.default)(i,w.TRANS,{subRoutes:[w.PAGE]}),i)},31769:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return c}});var i=n(3887),o=n(93002),a=n(69358),r=n(65472),s=n(91202),c=function t(e){(0,i.default)(this,t),this.ctx=e.ctx};(0,o.default)(c,"widgets",{ShopNavWeapp:a.default,BottomTabbarBg:r.default,BottomTabbar:s.default})},61762:function(t,e,n){"use strict";n.r(e),n.d(e,{adaptorTabbarOriginList:function(){return c},default:function(){return r},getTabInnerPath:function(){return s}});var i=n(63413),o=(n(53956),n(51813),n(83812),n(7091),n(10357),n(73600)),a=n(997);function r(t){var e=t;if(!o.TAB_CONFIG_ROUTE_MAP[e])for(var n=Object.keys(o.TAB_CONFIG_ROUTE_MAP),i=0;i<n.length;i++){var a=o.TAB_CONFIG_ROUTE_MAP[n[i]].subRoutes;if(a&&a.length)for(var r=0;r<a.length;r++)if(t===a[r]){e=n[i];break}if(e!==t)break}return e}function s(t){var e=t.customPage,n=t.pagePath,i=getApp().globalData.isRetailApp,a=e||n.startsWith("pages/home")||n.startsWith("pages/common/webview-page")||i&&"pages-retail/usercenter/dashboard-v2/index"===n?n:n.replace(/^pages(-|\/)/,"packages/");return o.USERCENTER_REG.test(a)&&(i&&a===o.USERCENTER_ROUTE.WSC&&(a=o.USERCENTER_ROUTE.RETAIL),i||a!==o.USERCENTER_ROUTE.RETAIL||(a=o.USERCENTER_ROUTE.WSC)),a}function c(t){var e="packages/retail-shelf/shelf/index";return"kq"===LS_COMPILE_MODE||"ls"===LS_COMPILE_MODE?t.map((function(t){var n=t.pagePath;return n.startsWith(e)?(0,i.default)((0,i.default)({},t),{},{attachedId:"retail-shelf",pagePath:e,extra:a.default.getAll(n),routingType:"switchTab",customPage:!0}):t})):t}},88148:function(t,e,n){"use strict";n.r(e),n.d(e,{checkShelfPage:function(){return s},isCurrentTabPage:function(){return r},isTabPageInPageStack:function(){return o},isTabPagePath:function(){return a}});n(8208),n(2375),n(59230),n(51813);var i=n(89416);function o(){return(getCurrentPages()||[]).some((function(t){var e=t.route;return(0,i.default)().indexOf("/".concat(e))>-1}))}function a(t){return(0,i.default)().some((function(e){return t.startsWith(e)}))}function r(){var t=getCurrentPages()||[],e=t[t.length-1]||{};return a("/".concat(e.route))}function s(t){return"/packages/retail-shelf/shelf/index"===t}},46757:function(t,e,n){"use strict";function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(getCurrentPages()||[]).length>=10?this.redirect(t):wx.navigateTo(t)}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};wx.redirectTo(t)}function a(t){var e=t.path;app.logger&&app.logger.log({et:"click",ei:"custom_tab_bar_before_navigate",en:"自定义导航点击跳转",params:{kdt_id:app.getKdtId(),version:app.getVersion(),navigateUrl:e}})}n.r(e),n.d(e,{loggerNavigate:function(){return a},navigate:function(){return i},redirect:function(){return o}})},99190:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return b}});var i=n(63413),o=n(3887),a=n(58645),r=n(93002),s=(n(83812),n(7091),n(55750),n(2375),n(77109),n(53956),n(87675),n(59230),n(86132),n(34642),n(5937),n(47691),n(79575),n(44472),n(77726)),c=n(97220),u=n.n(c),l=n(81976),d=n(89922),f=n(66268),h=n(47013),p=n(32459);function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n="";return"object"!=typeof t||null==t||Object.keys(t).forEach((function(i){var o;n+="".concat(e).concat((o=i,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),":").concat(t[i],";")})),n}var g={themeColors:p.defaultThemeColors,themeCSS:p.defaultCSS,shopStyleSettings:{}};var v={};var b=function(){function t(e){var n,a=this,r=e.ctx;(0,o.default)(this,t),this.ctx=r,this.isSupportCssVar=function(){if("ios"!==(0,l.getSystemInfoSync)().platform)return!0;var t=u().$native.getSystemInfoSync().system;return(0,f.compareVersions)(t.split(" ")[1],"9.3")>-1}(),this.unwatch=null,this.lastKdtId=null,this.requestKdtids=new Set;var s=r.data.kdtId;null!=s&&0!=+s&&this.isSupportCssVar||this.setCtxData(g);var c=null===(n=_global)||void 0===n?void 0:n.themeAndColors;if(c){var d=this.handleThemeCSS(c);this.setCtxData(d),v[s]=d}else this.update(s);this.unwatch=r.watch("kdtId",(function(t){!a.isSupportCssVar||"number"!=typeof t&&"string"!=typeof t||0==+t||a.update(t)})),this.ctx.process.define("updateAppStyle",(function(t){var e=a.ctx.data.shopStyleSettings,n=void 0===e?{}:e,o=t.colors,r=void 0===o?{}:o,s=t.radius,c=void 0===s?{}:s,u=t.tag,l=void 0===u?{}:u,d=t.icon,f=void 0===d?{}:d,h=(0,i.default)((0,i.default)({},n),{},{colors:r,radius:c,tag:l,icon:f});h.css=a.transformThemeCSS(h),a.setCtxData((0,i.default)((0,i.default)({},a.buildThemeObj(h)),{},{themeCSS:h.css}))}))}return(0,a.default)(t,[{key:"prefetchThemeCSS",value:function(t){var e=this;return d.prefetch.getMiniappPrefetchData("shopStyle").then((function(n){if(!n)return e.fetchThemeCSS(t);e.setCtxData(e.handleThemeCSS(n))})).catch((function(){e.fetchThemeCSS(t)}))}},{key:"pageDestroyed",value:function(){this.unwatch();var t=this.ctx.data.kdtId;delete v[t],this.requestKdtids.clear()}},{key:"update",value:function(t){var e=this;if(function(t){return("number"==typeof t||"string"==typeof t)&&null!=v[t]}(t))return this.setCtxData(v[t]);this.isUpdating&&this.requestKdtids.has(t)||(this.isUpdating=!0,this.requestKdtids.add(t),this.lastKdtId=t,this.fetchThemeCSS(t).then((function(n){e.isUpdating=!1,v[t]=n,e.lastKdtId===t&&e.setCtxData(n),e.requestKdtids.delete(t)})).catch((function(){e.setCtxData(g),e.isUpdating=!1,e.requestKdtids.delete(t)})))}},{key:"fetchThemeCSS",value:function(t){var e=this;return function(t){var e=null==t?{}:{kdt_id:t};return(0,s.default)({path:"/wscshop/shop/shop_wide_style.json",query:e})}(t).then((function(t){return e.handleThemeCSS(t)}))}},{key:"handleThemeCSS",value:function(t){var e;if(!t)return{};var n=null===(e=t.all_shop_styles)||void 0===e?void 0:e.find((function(t){return"brand"===t.shop_style_type})),o=n?(0,h.default)(n,["colors","radius","tag","icon","button"]):{};return(0,i.default)((0,i.default)({},this.buildThemeObj(t)),{},{themeType:t.type,themeCSS:t.global_theme_vars||t.globalThemeVars||(0,p.transform)(t.colors),shopStyleSettings:o})}},{key:"buildThemeObj",value:function(t){return t?{themeColors:t.colors,themeIcon:t.icon,themeTag:t.tag,themeRadius:t.radius,themeButton:t.button}:{}}},{key:"transformThemeCSS",value:function(t){var e,n,i=t.colors,o=t.radius,a=t.tag,r=t.button;return(0,p.transform)(i)+m(o,"--theme-radius-")+(e=a,n="",Object.keys(e).forEach((function(t){t.indexOf("brand-")>-1?n+="--".concat(t,":").concat(e[t],";"):t.indexOf("tag-")>-1&&(n+="--theme-".concat(t,":").concat(e[t],";"))})),n)+function(t){return m(t,"--theme-")}(r)}},{key:"setCtxData",value:function(t){var e=this;Object.keys(t).forEach((function(n){e.ctx.data[n]=t[n]}))}}]),t}();(0,r.default)(b,"lambdas",{hexToRgb:function(t){return(0,p.switchHexToRgb)(t)},objectToCSS:m})},69681:function(t,e,n){"use strict";n.r(e),n.d(e,{fetchIdcardList:function(){return r},fetchOcrCheckIsValid:function(){return s},fetchOverseaRegulationWhiteList:function(){return l},queryOCR:function(){return u},submitOCR:function(){return c},verifyIdcard:function(){return d}});var i=n(63413),o=(n(34642),n(2375),n(23815),n(47691),n(79575),n(77726)),a=n(46932);function r(){return(0,o.requestV2)({origin:"cashier",withCredentials:!0,path:"/pay/wsctrade/order/buy/getReceiverIdentityList.json",method:"GET"})}function s(){return(0,o.requestV2)({origin:"cashier",withCredentials:!0,path:"/wsctrade/apollo-gray.json",method:"GET",data:{key:"checkOcrWhiteList"}})}function c(t){return(0,o.requestV2)({path:"/wscassets/common/api/trade/ocr/submit",method:"POST",contentType:"application/json",data:t})}function u(t){return(0,o.requestV2)({path:"/wscassets/common/api/trade/ocr/query",data:t})}function l(){return(0,o.requestV2)({origin:"cashier",withCredentials:!0,path:"/wsctrade/apollo-gray.json",method:"GET",data:{key:"overseaRegulationWhiteList"}})}function d(t){var e=t.order,r=t.ignoreIdBinding,s=t.idcard;return Promise.resolve().then(n.t.bind(n,30274,23)).then((function(t){var n=t.utils.generateKeyAndIv();function c(e){return t.aes.encrypt((0,i.default)({data:e},n))}return(0,o.requestV2)({origin:"cashier",withCredentials:!0,path:"/pay/wsctrade/order/buy/verifyIdcard.json",method:"POST",data:(0,i.default)({binding:r?void 0:!!s.binding,idCardName:c(s.idCardName),idCardNumber:c(s.idCardNumber),bookKey:e.bookKey,itemInfoDTOs:e.items},n)}).then((function(t){if(!t.verifyPassed)throw t;return t})).catch((function(t){var e=t||{},n=e.verifyNotPassedReasonCode,i=e.verifyNotPassedSolution;switch(n){case 1:(0,a.default)(i);break;case 2:case 3:break;default:(0,a.default)("实名认证失败,请稍后再试")}throw t}))}))}},50803:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return g}});var i,o,a,r,s,c,u,l=n(48564),d=n(3887),f=n(93002),h=n(23340),p=(n(64448),n(12102)),m=n(12249),g=(i=(0,p.cloud)("onCancel","event"),o=(0,p.cloud)("onSubmit","event"),u=c=function t(e){(0,d.default)(this,t),(0,f.default)(this,"ctx",void 0),(0,l.default)(this,"onCancel",r,this),(0,l.default)(this,"onSubmit",s,this),this.ctx=e.ctx},(0,f.default)(c,"widgets",{IdcardPopup:m.default}),a=u,r=(0,h.default)(a.prototype,"onCancel",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,p.useAsEvent)()}}),s=(0,h.default)(a.prototype,"onSubmit",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return(0,p.useAsEvent)()}}),a)},99304:function(t,e,n){"use strict";n.r(e),n.d(e,{getImageInfo:function(){return i},getImageSize:function(){return o},isIdcard:function(){return a}});n(2375),n(23815),n(88856),n(83812);function i(t){return new Promise((function(e,n){wx.getImageInfo({src:t,success:function(t){e(t)},fail:n})}))}function o(t,e,n,i){var o=n,a=i;return o>t&&(a*=t/o,o=t),a>e&&(o*=e/a,a=e),{height:o,width:a}}function a(t){return/^\d{15}$/gi.test(t)||/^\d{17}(\d|X)$/gi.test(t)&&function(t){for(var e=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],n=0,i=0,o=t.length;i<o-1;i++)n+=parseInt(t.charAt(i),10)*e[i];return["1","0","X","9","8","7","6","5","4","3","2"][n%11]===t.charAt(17).toUpperCase()}(t)}},19690:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return o}});n(83812);var i=n(99304);function o(t){var e=t.isRequiredIdCardPhoto,n=t.idcard;if(t.hasHaitaoGoods){if(!n.name)return{name:"请输入真实姓名"};if(!n.number||!(0,i.isIdcard)(n.number))return{number:"请输入真实身份证号"};if(/^(71|81|82)/.test(n.number))return{number:"请输入中国大陆身份证号"};if(e&&(!n.frontPhoto||!n.backPhoto))return{message:"请上传身份证照"}}return""}},40801:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return r}});n(83812),n(86132),n(54185),n(49091),n(2375),n(34642),n(74163),n(76220),n(4576),n(79690),n(61533),n(39232),n(27649),n(53272),n(81014),n(72409),n(12629),n(37527),n(20578),n(40505),n(77153),n(79818),n(66273),n(33279),n(86933),n(48615),n(47963),n(3832),n(57059),n(46286),n(88856),n(23815),n(60606);var i=n(20007),o="图片格式无法识别";function a(t,e){!function(t,e){var n=t.width||100,i=t.height||100;e.width&&e.height?(n=e.width,i=e.height):e.width&&!e.height?(i=parseInt(i*(e.width/n),10),n=e.width):e.height&&!e.width?(n=parseInt(n*(e.height/i),10),i=e.height):e.maxWidth?n>e.maxWidth&&(i=parseInt(i*(e.maxWidth/n),10),n=e.maxWidth):e.maxHeight?i>e.maxHeight&&(n=parseInt(n*(e.maxHeight/i),10),i=e.maxHeight):e.maxSide?i>=n&&i>e.maxSide?(n=parseInt(n*(e.maxSide/i),10),i=e.maxSide):n>i&&n>e.maxSide&&(i=parseInt(i*(e.maxSide/n),10),n=e.maxSide):e.ratio&&(n=parseInt(n*e.ratio,10),i=parseInt(i*e.ratio,10)),e.finalWidth=n,e.finalHeight=i,e.finalType=e.type||"image/jpeg",e.finalQuality=e.quality||.6}(t,e);var n=e.finalType,i=e.orientation,a=e.finalQuality,r=e.finalFileName,s=e.finalWidth,c=e.finalHeight,u=function(t,e,n){var i=document.createElement("canvas");switch(n){case 5:case 6:case 7:case 8:i.width=e,i.height=t;break;default:i.width=t,i.height=e}return i}(s,c,i),l=u.getContext("2d");l.save(),function(t,e,n,i){switch(i){case 2:t.translate(e,0),t.scale(-1,1);break;case 3:t.translate(e,n),t.rotate(Math.PI);break;case 4:t.translate(0,n),t.scale(1,-1);break;case 5:t.rotate(.5*Math.PI),t.scale(1,-1);break;case 6:t.rotate(.5*Math.PI),t.translate(0,-n);break;case 7:t.rotate(.5*Math.PI),t.translate(e,-n),t.scale(-1,1);break;case 8:t.rotate(-.5*Math.PI),t.translate(-e,0)}}(l,s,c,i),l.clearRect(0,0,s,c),l.drawImage(t,0,0,s,c),l.restore();var d=e.watermark;if(d){var f=u.width,h=u.height,p=f/2/d.width,m=d.width*p,g=d.height*p;l.drawImage(d,(f-m)/2,(h-g)/2,m,g)}try{var v=function(t,e){for(var n=t.split(",")[1],i=window.atob(n),o=new ArrayBuffer(i.length),a=new Uint8Array(o),r=0;r<i.length;r++)a[r]=i.charCodeAt(r);return new Blob([a],{type:e})}(u.toDataURL(n,a),n);return v.name=r,v}catch(t){throw new Error(o)}}function r(t,e){return new Promise((function(n,r){var s=new Image;if((e=e||{}).finalFileName="newImage",s.onerror=function(){r(new Error(o))},s.onload=function(){var t=this;(0,i.getExifTags)(this).then((function(i){e.orientation=i&&i.orientation;var o=a(t,e);n(o)})).catch((function(t){r(t)}))},"string"==typeof t)s.setAttribute("crossOrigin","anonymous"),s.src=t,e.finalFileName=t;else if("object"==typeof t&&/File|Blob/.test(t.toString())){var c=new FileReader;c.readAsDataURL(t),c.onload=function(n){s.src=n.target&&n.target.result,t.name&&(e.finalFileName=t.name)}}else r(new Error(o))}))}},20007:function(t,e,n){"use strict";n.r(e),n.d(e,{getExifTags:function(){return u}});n(83812),n(7091),n(54185),n(49091),n(2375),n(34642),n(74163),n(76220),n(4576),n(79690),n(61533),n(39232),n(27649),n(53272),n(81014),n(72409),n(12629),n(37527),n(20578),n(40505),n(77153),n(79818),n(66273),n(33279),n(86933),n(48615),n(47963),n(3832),n(57059),n(46286),n(423),n(23815);var i={274:"orientation"},o="图片格式无法识别";function a(t,e,n){for(var i="",o=e;o<e+n;o++)i+=String.fromCharCode(t.getUint8(o));return i}function r(t,e){if(t.src)if(/^data:/i.test(t.src)){var n=function(t){t=t.replace(/^data:([^;]+);base64,/gim,"");for(var e=atob(t),n=e.length,i=new ArrayBuffer(n),o=new Uint8Array(i),a=0;a<n;a++)o[a]=e.charCodeAt(a);return i}(t.src);e(n)}else{var i=new XMLHttpRequest;i.onload=function(){200===this.status||0===this.status?e(i.response):e(0)},i.open("GET",t.src,!0),i.responseType="arraybuffer",i.send(null)}else if(self.FileReader&&(t instanceof self.Blob||t instanceof self.File)){(new FileReader).onload=function(t){e(t.target&&t.target.result)}}else e(0)}function s(t,e,n,i,o){var r,s,c=t.getUint16(e+2,!o),u=t.getUint32(e+4,!o),l=t.getUint32(e+8,!o)+n;switch(c){case 2:return a(t,s=u>4?l:e+8,u-1);case 3:if(1===u)return t.getUint16(e+8,!o);s=u>2?l:e+8,r=[];for(var d=0;d<u;d++)r[d]=t.getUint16(s+2*d,!o);return r}}function c(t,e){if("Exif"!==a(t,e,4))return!1;var n=e+6,o=t.getUint16(n);if(18761!==o&&19789!==o)return!1;var r=19789===o,c=t.getUint32(n+4,!r),u=function(t,e,n,i,o){for(var a={},r=t.getUint16(n,!o),c=0;c<r;c++){var u=n+12*c+2,l=i[t.getUint16(u,!o)];l&&(a[l]=s(t,u,e,0,o))}return a}(t,n,n+c,i,r);return u}function u(t){return new Promise((function(e){try{r(t,(function(t){var n=function(t){try{var e=new DataView(t);if(255!==e.getUint8(0)||216!==e.getUint8(1))return!1;for(var n=2;n<t.byteLength;){if(255!==e.getUint8(n))return!1;if(225===e.getUint8(n+1))return c(e,n+4,e.getUint16(n+2));n+=2+e.getUint16(n+2)}}catch(t){return!1}}(t);e(n)}))}catch(t){throw new Error(o)}}))}},26128:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return u}});var i=n(63413),o=(n(83812),n(86132),n(2375),n(23815),n(77726)),a=n(46932),r=n(40801),s=n(44356);function c(t){return(0,o.requestV2)({origin:"h5",path:"/wscshop/token/upload-image.json",method:"GET"}).then((function(e){var n,i=function(t,e){var n=new FormData;n.append("file",t),n.append("token",e);var i=t.name.split(".");return i.length>1&&n.append("x:ext",".".concat(i[i.length-1])),n}(t,e.token);return n=i,(0,s.rawAjax)({url:"//up.qbox.me",method:"POST",withCredentials:!1,contentType:"multipart/form-data",data:n})}))}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.noToast||(0,a.default)("正在压缩图片,请稍候"),new Promise((function(n,o){(0,r.default)(t,(0,i.default)({maxWidth:500,maxHeight:500,type:t.type},e)).then((function(t){c(t).then(n).catch(o)})).catch(o)}))}},67380:function(t,e,n){"use strict";n.r(e),n.d(e,{amap:function(){return d}});var i=n(63413),o=n(3887),a=n(58645),r=(n(2375),n(23815),n(83812),n(49897),n(55750),n(77109),n(46239),n(98964)),s=n.n(r),c=n(54038),u=n(75865),l=n(81976),d=new(function(){function t(){(0,o.default)(this,t),this.plugin={},this.loaded=!1}return(0,a.default)(t,[{key:"loadMainScript",value:function(){var t,e=this,n=(0,i.default)({security:"6c3bcdda746e99e0ca83f2e1bcdcfb6f",key:"f439f3e455f43c05b7ec10b9f657d36e"},null===(t=(0,l.getStorageSync)("_ADDRESS_MAP_KEY_"))||void 0===t?void 0:t.amap);if(window._AMapSecurityConfig=(0,i.default)((0,i.default)({},window._AMapSecurityConfig||{}),{},{securityJsCode:n.security}),!this.loadMainScriptPromise){var o="https://webapi.amap.com/maps?v=1.4.15&key=".concat(n.key);this.loadMainScriptPromise=s()(o).then((function(){if(window.AMap)return e.AMap=window.AMap,e.loadPlugin();throw new Error}))}return this.loadMainScriptPromise}},{key:"loadPlugin",value:function(){var t=this;return new Promise((function(e,n){t.AMap.plugin?t.AMap.plugin(["AMap.Autocomplete","AMap.Geocoder","AMap.Geolocation","AMap.PlaceSearch"],(function(){t.plugin.geocoder=new t.AMap.Geocoder,t.plugin.autoComplete=new t.AMap.Autocomplete({citylimit:!0,datatype:"poi"}),e()})):n()}))}},{key:"getDistance",value:function(t,e){return this.AMap.GeometryUtil.distance(t,e)}},{key:"setSearchCity",value:function(t){var e=this.plugin.autoComplete;e&&e.setCity(t)}},{key:"autoComplete",value:function(t){var e=this;return new Promise((function(n,i){var o=e.plugin.autoComplete;o&&o.search(t,(function(t,e){if("complete"===t&&e&&e.tips){var o=e.tips;Array.isArray(o)||n(o),o.forEach((function(t){Array.isArray(t.address)&&!t.address.length&&(t.address="");var e=o.filter((function(e){return t.address===e.address&&t.name===e.name}));e.length>1&&e.forEach((function(t){t.name=t.district+t.name}))}));var a=[];o.forEach((function(t){a.filter((function(e){return e.name===t.name})).length||(t.address=t.district+t.address,t.title=t.name,a.push(t))})),n(a)}else"no_data"===t?n([]):i(e)}))}))}},{key:"getLocation",value:function(t){var e=this;return new Promise((function(n,i){var o=e.plugin.geocoder;if(o)try{o.getLocation(t,(function(t,e){"complete"===t?n(e):i()}))}catch(t){i()}else i()}))}},{key:"getAddress",value:function(t){var e=this;return new Promise((function(n,i){var o=e.plugin.geocoder;if(o)try{o.getAddress(t,(function(t,e){"complete"===t?n(e):i()}))}catch(t){i()}else i()}))}},{key:"fillAddressLocation",value:function(t,e){this.getLocation((0,c.stringifyAddress)(t)).then((function(n){if(n&&"OK"===n.info)try{var i=n.geocodes[0].location,o=(0,u.gcjToBaidu)(i.lng,i.lat);t.lat=o.lat,t.lon=o.lng}catch(e){t.lat="",t.lon=""}e(t)})).catch((function(n){e(t)}))}}]),t}())},41119:function(t,e,n){"use strict";n.r(e),n.d(e,{amap:function(){return i.amap},getCity:function(){return o.getCity},loadScript:function(){return o.loadScript},locateCityByIp:function(){return o.locateCityByIp},locateCityByPosition:function(){return o.locateCityByPosition}});var i=n(67380),o=n(88442)},88442:function(t,e,n){"use strict";n.r(e),n.d(e,{getCity:function(){return s},loadScript:function(){return a},locateCityByIp:function(){return c},locateCityByPosition:function(){return r}});n(2375),n(23815);var i=n(2538),o=n(67380);function a(t){return new Promise((function(e,n){var i=document.getElementsByTagName("head")[0],o=document.createElement("script");o.async=!0,o.src=t,o.onload=e,o.onerror=n,i.appendChild(o)}))}function r(){return o.amap.loadMainScript().then((function(){var t=o.amap.AMap,e=new t.Geolocation({enableHighAccuracy:!0,timeout:1e4});return e.getCurrentPosition(),new Promise((function(n,a){t.event.addListener(e,"complete",(function(t){var e=t.position||{},r=e.lng,s=e.lat;o.amap.getAddress([r,s]).then((function(t){var e=(0,i.default)(t,"regeocode.addressComponent.city");e?n(e):a()})).catch(a)})),t.event.addListener(e,"error",a)}))}))}function s(t){var e=t.lng,n=t.lat;return o.amap.loadMainScript().then((function(){return new Promise((function(t,a){o.amap.getAddress([e,n]).then((function(e){var n=(0,i.default)(e,"regeocode.addressComponent.city");n?t(n):a()})).catch(a)}))}))}function c(){return o.amap.loadMainScript().then((function(){return new Promise((function(t,e){o.amap.AMap.plugin(["AMap.CitySearch"],(function(){(new o.amap.AMap.CitySearch).getLocalCity((function(n,i){"complete"===n&&"OK"===i.info?t(i.city):e()}))}))}))}))}},10703:function(t,e,n){"use strict";n.r(e),n.d(e,{getCity:function(){return o}});n(2375),n(23815);var i=n(77726);function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.lat,n=t.lng;return new Promise((function(t,o){(0,i.requestV2)({origin:"cashier",withCredentials:!0,path:"/wsctrade/multistore/selfFetchPoint/getCity.json",method:"GET",data:{lat:e,lon:n}}).then((function(i){t({cityName:i.cityName,cityCode:i.cityCode,lat:e,lng:n})})).catch((function(t){var e=(null==t?void 0:t.data)||{};o(e)}))}))}},8287:function(t,e,n){"use strict";n.r(e),n.d(e,{deleteDb:function(){return s},getDb:function(){return r},setDb:function(){return a}});var i={},o=1;function a(t){var e=o++;return i[e]=t,e}function r(t){return i[t]}function s(t){delete i[t]}},86273:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return b}});var i=n(63413),o=n(3887),a=n(58645),r=n(93002),s=(n(2375),n(23815),n(87675),n(55750),n(77109),n(59230),n(58649),n(62719),n(8287)),c=n(46932),u=n(10703),l=n(75865),d=n(2538),f=(n(25528),n(47019)),h=n.n(f),p=n(41119),m=n(79107),g={},v=[],b=function(){function t(e){var n=this;(0,o.default)(this,t),(0,r.default)(this,"ctx",void 0),(0,r.default)(this,"history",void 0),(0,r.default)(this,"contact",void 0),this.ctx=e.ctx,this.ctx.data.locateCityInfo={current:"北京市",locateStatus:0,lng:"",lat:""},this.ctx.process.define("locateCity",this.locateCity.bind(this)),this.ctx.process.define("locateLngLat",this.locateLngLat.bind(this)),this.ctx.process.define("getLocation",this.getLocation.bind(this)),this.ctx.process.define("tee-api:getLocation",l.getLocationByTeeApi.bind(this)),this.ctx.process.define("tryLocation",(function(t){var e=t.success,i=t.fail,o=t.cb;l.tryLocation.call(n,e,i,o)})),this.ctx.process.define("ecloud:setLBSReady",l.setLBSReadyByEcloud.bind(this))}return(0,a.default)(t,[{key:"locateLngLat",value:function(){var t=this,e=this.ctx.data.locateCityInfo,n=e.lng,o=e.lat;if(n&&o)return Promise.resolve({lng:n,lat:o});c.default.loading("定位中...");var a=new Promise((function(e,n){return l.tryLocation.call(t,e,n,null)}));if((0,d.default)(window,"_global.miniprogram",{}).isKsApp){var r="".concat(h().get("book_key",window.location.href),"_locateLngLat")||0;a=l.getKsLocation.call(this,{key:r,path:h().add("/pages/location/index",{cacheKey:r,type:"locateLngLat"})})}return a.then((function(e){return t.ctx.data.locateCityInfo=(0,i.default)((0,i.default)({},t.ctx.data.locateCityInfo),e),c.default.clear(),e})).catch((function(t){throw c.default.clear(),t}))}},{key:"locateCity",value:function(){var t=this;this.ctx.data.locateCityInfo=(0,i.default)((0,i.default)({},this.ctx.data.locateCityInfo),{},{locateStatus:1});var e=new m.default({biz:"trade"});return this.locateLngLat().then((function(t){return e.getCity(t)})).catch((function(){return e.getCityByIp()})).then((function(e){return t.ctx.data.locateCityInfo=(0,i.default)((0,i.default)({},t.ctx.data.locateCityInfo),{},{current:e,locateStatus:3}),e})).catch((function(e){throw t.ctx.data.locateCityInfo=(0,i.default)((0,i.default)({},t.ctx.data.locateCityInfo),{},{locateStatus:2}),e}))}},{key:"getLocation",value:function(){var t;return t=this.locateLngLat(),new Promise((function(e,n){t.then((function(t){return t}),(function(){return Promise.resolve({})})).then((function(t){return u.getCity(t).then((function(t){e(t)}))})).catch((function(t){return n(t)}))}))}}]),t}();(0,r.default)(b,"lambdas",{tryLocation:l.tryLocation,getKsLocation:l.getKsLocation,amap:function(){return p.amap},locateCityByPosition:p.locateCityByPosition,locateCityByIp:p.locateCityByIp,setDb:s.setDb,getDb:s.getDb,deleteDb:s.deleteDb,onEvent:function(t,e){g[t]||(g[t]=[]),g[t].push(e)},onEventOnce:function(t,e){g[t]||(g[t]=[]),g[t].push(e),v.push(e)},offEvent:function(t){g[t]&&delete g[t]},triggerEvent:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(g[t]){var o=g[t],a=[];o.forEach((function(t,e){t.apply(void 0,n),-1!==v.indexOf(t)&&a.push(e)})),a.length&&a.sort((function(t,e){return e-t})).forEach((function(e){g[t].splice(e,1)}))}}})},75865:function(t,e,n){"use strict";n.r(e),n.d(e,{gcjToBaidu:function(){return h.gcjToBaidu},getKsLocation:function(){return _},getLocationByTeeApi:function(){return g},setLBSReadyByEcloud:function(){return b},tryLocation:function(){return m}});var i,o=n(24958),a=n(27455),r=n(67519),s=n.n(r),c=(n(44472),n(2375),n(23815),n(2538)),u=n(77726),l=n(7745),d=n(81976),f=n(41119),h=n(35039),p=[];function m(t,e,n){return v.call(this,function(){return f.amap.loadMainScript().then((function(){var i=f.amap.AMap,o=new i.Geolocation({enableHighAccuracy:!0,timeout:1e4});o.getCurrentPosition(),i.event.addListener(o,"complete",(function(e){var n=e.position||{},i=n.lng,o=n.lat,a=(0,h.gcjToBaidu)(i,o),r=a.lng,s=a.lat;t({lng:r,lat:s},{latitude:o,longitude:i})})),i.event.addListener(o,"error",(function(i){n?n(t,e):e(i)}))}))}.bind(this),function(){return this.ctx.process.invokePipe("ecloud:beforeGetLocation").then((function(e){if(!e)throw new Error("[Custom Error] Cannot get location.");var n=e||{},i=n.longitude,o=n.latitude,a=(0,h.gcjToBaidu)(i,o),r=a.lng,s=a.lat;t({lng:r,lat:s},{latitude:o,longitude:i})})).catch((function(i){n?n(t,e):e(i)}))}.bind(this))}function g(){var t=this;return v.call(this,d.getLocation,(function(){return t.ctx.process.invokePipe("ecloud:beforeGetLocation")}))}function v(t,e){var n,o=this,r=((null===(n=(0,c.default)(window,"__extensionDesign.design",[]).find((function(t){return"lbs-block"===t.type})))||void 0===n?void 0:n.customProps)||{}).isUseThirdLocation;return void 0!==r&&r?this.ctx.data["ecloud:isLBSReady"]||!1?e.call(this):-1===i?t():(void 0===i&&(i=setTimeout((function(){for(var t=o.ctx.data["ecloud:isLBSReady"]||!1,e=function(){var e=p.pop(),n=(0,a.default)(e,4),i=n[0],o=n[1],r=n[2],s=n[3];(t?o:i)().then((function(t){return r(t)})).catch((function(t){return s(t)}))};p.length>0;)e();clearTimeout(i),i=-1}),3e3)),new Promise((function(n,i){p.push([t,e,n,i])}))):t()}function b(t){if(this.ctx.data["ecloud:isLBSReady"]=t,t&&p.length>0){void 0!==i&&-1!==i&&(clearTimeout(i),i=-1);for(var e=function(){var t=p.pop(),e=(0,a.default)(t,4),n=(e[0],e[1]),i=e[2],o=e[3];n().then((function(t){return i(t)})).catch((function(t){return o(t)}))};p.length>0;)e()}}var y=0;function _(t){var e=t.key,n=t.path,i=++y,a=null;return new Promise((function(t){(0,l.default)({web:{type:"znb",znb:{ksUrl:n}}}),function n(){i===y&&(a&&clearTimeout(a),a=setTimeout((0,o.default)(s().mark((function i(){var o,a;return s().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,(0,u.requestV2)({path:"/wscwxvideo/ks/getLocationCache.json",method:"GET",origin:"h5",data:{key:e}});case 3:(o=i.sent)?(a=JSON.parse(o),(0,u.requestV2)({path:"/wscwxvideo/ks/deleteLocationCache.json",method:"DELETE",origin:"h5",data:{key:e}}),t(a)):n(),i.next=11;break;case 7:i.prev=7,i.t0=i.catch(0),n();case 11:case"end":return i.stop()}}),i,null,[[0,7]])}))),500))}()}))}},49862:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(45187),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},59686:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(65060),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},41145:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(69776),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},2046:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(383),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},17539:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(95946),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},88209:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(59434),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},32520:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(21879),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},75392:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(55015),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},38946:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(57583),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},21875:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(80496),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},32372:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(2783),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},30429:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(4994),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},97752:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(37511),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},63968:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(18095),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},94966:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(2401),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},23089:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(10250),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},31630:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(86155),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},77958:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(24377),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},2616:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(93037),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},14043:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(53446),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},68192:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(41918),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},50801:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(31368),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},86448:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(88971),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},15261:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(51138),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},78765:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(43290),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},69791:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(84040),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},65342:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(28273),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},24627:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(99792),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},12678:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(4055),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},68184:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(71219),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},32197:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(76644),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},20262:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(68821),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},3453:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(3800),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},83591:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(86148),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},94491:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(24260),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},66034:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(9655),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},89981:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(24406),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},22774:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(76131),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},93676:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(76177),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},80319:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(35178),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},45562:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(52451),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},61781:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(16420),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},20357:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(23698),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},14842:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(9867),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},30418:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(23119),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},42843:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(29469),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},37583:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(90368),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},72617:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(62792),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},1164:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(30671),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},27693:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(4196),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},58569:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(37106),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},99506:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(61063),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},77651:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(19638),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},66323:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(35900),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},75469:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(59940),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},70977:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(18646),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},37576:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(41759),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},86220:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(24665),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},57394:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(89157),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},19260:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(60745),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},9526:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(92923),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},39861:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(85942),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},34406:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(24345),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},95407:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(5636),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},80481:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(65228),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},46229:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(85156),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},24787:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(23604),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},27542:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(35633),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},82009:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(63954),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},30221:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(97766),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},73499:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(49506),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},11066:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(46613),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},1691:function(t,e,n){"use strict";n.r(e);var i=n(52183),o=n.n(i),a=n(60993),r=n.n(a),s=n(71138),c=n.n(s),u=n(53175),l=n.n(u),d=n(12340),f=n.n(d),h=n(45848),p=n.n(h),m=n(69667),g={};g.styleTagTransform=p(),g.setAttributes=l(),g.insert=c().bind(null,"head"),g.domAPI=r(),g.insertStyleElement=f();o()(m.default,g);e.default=m.default&&m.default.locals?m.default.locals:void 0},59860:function(t,e,n){t.exports=n(99017)(10005)},72248:function(t,e,n){t.exports=n(99017)(11473)},71601:function(t,e,n){t.exports=n(99017)(11847)},5937:function(t,e,n){t.exports=n(99017)(12077)},43737:function(t,e,n){t.exports=n(99017)(12198)},65752:function(t,e,n){t.exports=n(99017)(12317)},7202:function(t,e,n){t.exports=n(99017)(12643)},76465:function(t,e,n){t.exports=n(99017)(13683)},1881:function(t,e,n){t.exports=n(99017)(14141)},87705:function(t,e,n){t.exports=n(99017)(14817)},95842:function(t,e,n){t.exports=n(99017)(14876)},27455:function(t,e,n){t.exports=n(99017)(15074)},65165:function(t,e,n){t.exports=n(99017)(15263)},49689:function(t,e,n){t.exports=n(99017)(15384)},91793:function(t,e,n){t.exports=n(99017)(1543)},59836:function(t,e,n){t.exports=n(99017)(15442)},62719:function(t,e,n){t.exports=n(99017)(15540)},83812:function(t,e,n){t.exports=n(99017)(15569)},14096:function(t,e,n){t.exports=n(99017)(15907)},96103:function(t,e,n){t.exports=n(99017)(15917)},85869:function(t,e,n){t.exports=n(99017)(16002)},36913:function(t,e,n){t.exports=n(99017)(16114)},99529:function(t,e,n){t.exports=n(99017)(16231)},94388:function(t,e,n){t.exports=n(99017)(16270)},10215:function(t,e,n){t.exports=n(99017)(16686)},92863:function(t,e,n){t.exports=n(99017)(16853)},93750:function(t,e,n){t.exports=n(99017)(1812)},98161:function(t,e,n){t.exports=n(99017)(18787)},71190:function(t,e,n){t.exports=n(99017)(20220)},2515:function(t,e,n){t.exports=n(99017)(20812)},65981:function(t,e,n){t.exports=n(99017)(21075)},35274:function(t,e,n){t.exports=n(99017)(21216)},45607:function(t,e,n){t.exports=n(99017)(21473)},2268:function(t,e,n){t.exports=n(99017)(21922)},19021:function(t,e,n){t.exports=n(99017)(22269)},37115:function(t,e,n){t.exports=n(99017)(22296)},53402:function(t,e,n){t.exports=n(99017)(22334)},4545:function(t,e,n){t.exports=n(99017)(22337)},49349:function(t,e,n){t.exports=n(99017)(24289)},25528:function(t,e,n){t.exports=n(99017)(25027)},87675:function(t,e,n){t.exports=n(99017)(25396)},58645:function(t,e,n){t.exports=n(99017)(25398)},51111:function(t,e,n){t.exports=n(99017)(25969)},53956:function(t,e,n){t.exports=n(99017)(26974)},901:function(t,e,n){t.exports=n(99017)(27521)},23815:function(t,e,n){t.exports=n(99017)(27880)},93002:function(t,e,n){t.exports=n(99017)(27922)},77726:function(t,e,n){t.exports=n(99017)(28646)},86412:function(t,e,n){t.exports=n(99017)(28907)},71138:function(t,e,n){t.exports=n(99017)(29890)},6325:function(t,e,n){t.exports=n(99017)(30024)},40401:function(t,e,n){t.exports=n(99017)(30864)},60993:function(t,e,n){t.exports=n(99017)(31522)},46239:function(t,e,n){t.exports=n(99017)(31858)},7379:function(t,e,n){t.exports=n(99017)(32460)},8947:function(t,e,n){t.exports=n(99017)(33117)},4109:function(t,e,n){t.exports=n(99017)(33137)},14777:function(t,e,n){t.exports=n(99017)(33638)},10822:function(t,e,n){t.exports=n(99017)(34023)},78849:function(t,e,n){t.exports=n(99017)(34275)},95508:function(t,e,n){t.exports=n(99017)(3508)},92800:function(t,e,n){t.exports=n(99017)(35224)},94118:function(t,e,n){t.exports=n(99017)(35279)},97415:function(t,e,n){t.exports=n(99017)(35461)},27232:function(t,e,n){t.exports=n(99017)(35642)},81454:function(t,e,n){t.exports=n(99017)(35886)},64450:function(t,e,n){t.exports=n(99017)(36119)},70789:function(t,e,n){t.exports=n(99017)(37270)},67418:function(t,e,n){t.exports=n(99017)(37439)},58649:function(t,e,n){t.exports=n(99017)(3844)},62476:function(t,e,n){t.exports=n(99017)(39101)},51813:function(t,e,n){t.exports=n(99017)(39474)},64531:function(t,e,n){t.exports=n(99017)(40018)},63670:function(t,e,n){t.exports=n(99017)(4020)},46932:function(t,e,n){t.exports=n(99017)(40967)},17082:function(t,e,n){t.exports=n(99017)(41382)},24613:function(t,e,n){t.exports=n(99017)(42757)},59777:function(t,e,n){t.exports=n(99017)(43439)},26377:function(t,e,n){t.exports=n(99017)(44269)},2860:function(t,e,n){t.exports=n(99017)(45278)},10601:function(t,e,n){t.exports=n(99017)(46469)},20005:function(t,e,n){t.exports=n(99017)(46511)},53631:function(t,e,n){t.exports=n(99017)(47554)},10357:function(t,e,n){t.exports=n(99017)(47660)},65086:function(t,e,n){t.exports=n(99017)(4796)},49907:function(t,e,n){t.exports=n(99017)(48933)},47308:function(t,e,n){t.exports=n(99017)(49128)},64791:function(t,e,n){t.exports=n(99017)(49321)},99812:function(t,e,n){t.exports=n(99017)(50391)},56103:function(t,e,n){t.exports=n(99017)(51997)},46488:function(t,e,n){t.exports=n(99017)(52007)},4649:function(t,e,n){t.exports=n(99017)(52158)},98014:function(t,e,n){t.exports=n(99017)(5247)},83855:function(t,e,n){t.exports=n(99017)(52754)},59230:function(t,e,n){t.exports=n(99017)(52786)},1851:function(t,e,n){t.exports=n(99017)(52985)},91804:function(t,e,n){t.exports=n(99017)(53)},54005:function(t,e,n){t.exports=n(99017)(5370)},6802:function(t,e,n){t.exports=n(99017)(53837)},60606:function(t,e,n){t.exports=n(99017)(5427)},87340:function(t,e,n){t.exports=n(99017)(54489)},58644:function(t,e,n){t.exports=n(99017)(54863)},35659:function(t,e,n){t.exports=n(99017)(54899)},88894:function(t,e,n){t.exports=n(99017)(54919)},62429:function(t,e,n){t.exports=n(99017)(55663)},34e3:function(t,e,n){t.exports=n(99017)(55752)},47691:function(t,e,n){t.exports=n(99017)(55966)},44356:function(t,e,n){t.exports=n(99017)(56249)},64845:function(t,e,n){t.exports=n(99017)(56518)},94130:function(t,e,n){t.exports=n(99017)(56786)},56888:function(t,e,n){t.exports=n(99017)(58351)},71655:function(t,e,n){t.exports=n(99017)(58648)},11729:function(t,e,n){t.exports=n(99017)(59317)},35949:function(t,e,n){t.exports=n(99017)(59726)},6889:function(t,e,n){t.exports=n(99017)(59991)},52183:function(t,e,n){t.exports=n(99017)(60373)},669:function(t,e,n){t.exports=n(99017)(61813)},2375:function(t,e,n){t.exports=n(99017)(62425)},21389:function(t,e,n){t.exports=n(99017)(62885)},50845:function(t,e,n){t.exports=n(99017)(62904)},92965:function(t,e,n){t.exports=n(99017)(63198)},23391:function(t,e,n){t.exports=n(99017)(63585)},3951:function(t,e,n){t.exports=n(99017)(65730)},12340:function(t,e,n){t.exports=n(99017)(65993)},75791:function(t,e,n){t.exports=n(99017)(66586)},82472:function(t,e,n){t.exports=n(99017)(66776)},47019:function(t,e,n){t.exports=n(99017)(67642)},35468:function(t,e,n){t.exports=n(99017)(68217)},23025:function(t,e,n){t.exports=n(99017)(68559)},46502:function(t,e,n){t.exports=n(99017)(68945)},87848:function(t,e,n){t.exports=n(99017)(69041)},16549:function(t,e,n){t.exports=n(99017)(69541)},84793:function(t,e,n){t.exports=n(99017)(72105)},74454:function(t,e,n){t.exports=n(99017)(72555)},88856:function(t,e,n){t.exports=n(99017)(7290)},23586:function(t,e,n){t.exports=n(99017)(73017)},3710:function(t,e,n){t.exports=n(99017)(73677)},19273:function(t,e,n){t.exports=n(99017)(74352)},57635:function(t,e,n){t.exports=n(99017)(7514)},86132:function(t,e,n){t.exports=n(99017)(75422)},60291:function(t,e,n){t.exports=n(99017)(7572)},19649:function(t,e,n){t.exports=n(99017)(76369)},83833:function(t,e,n){t.exports=n(99017)(76822)},3887:function(t,e,n){t.exports=n(99017)(77096)},24973:function(t,e,n){t.exports=n(99017)(7714)},66825:function(t,e,n){t.exports=n(99017)(77270)},42634:function(t,e,n){t.exports=n(99017)(77417)},44472:function(t,e,n){t.exports=n(99017)(77459)},80537:function(t,e,n){t.exports=n(99017)(78860)},16891:function(t,e,n){t.exports=n(99017)(79102)},42345:function(t,e,n){t.exports=n(99017)(79179)},92556:function(t,e,n){t.exports=n(99017)(79875)},53569:function(t,e,n){t.exports=n(99017)(80001)},7091:function(t,e,n){t.exports=n(99017)(80586)},63413:function(t,e,n){t.exports=n(99017)(80676)},8208:function(t,e,n){t.exports=n(99017)(80800)},2854:function(t,e,n){t.exports=n(99017)(81504)},1331:function(t,e,n){t.exports=n(99017)(82070)},81976:function(t,e,n){t.exports=n(99017)(82895)},49897:function(t,e,n){t.exports=n(99017)(83516)},28916:function(t,e,n){t.exports=n(99017)(83661)},90526:function(t,e,n){t.exports=n(99017)(83692)},77109:function(t,e,n){t.exports=n(99017)(83978)},34642:function(t,e,n){t.exports=n(99017)(84950)},31814:function(t,e,n){t.exports=n(99017)(85166)},54466:function(t,e,n){t.exports=n(99017)(8598)},67266:function(t,e,n){t.exports=n(99017)(87223)},21680:function(t,e,n){t.exports=n(99017)(87720)},26459:function(t,e,n){t.exports=n(99017)(8788)},41329:function(t,e,n){t.exports=n(99017)(88935)},59523:function(t,e,n){t.exports=n(99017)(89057)},89093:function(t,e,n){t.exports=n(99017)(89176)},57642:function(t,e,n){t.exports=n(99017)(89250)},58043:function(t,e,n){t.exports=n(99017)(90301)},55750:function(t,e,n){t.exports=n(99017)(9063)},40869:function(t,e,n){t.exports=n(99017)(90905)},75618:function(t,e,n){t.exports=n(99017)(91725)},53175:function(t,e,n){t.exports=n(99017)(91805)},79362:function(t,e,n){t.exports=n(99017)(92074)},18124:function(t,e,n){t.exports=n(99017)(92920)},58805:function(t,e,n){t.exports=n(99017)(93016)},79575:function(t,e,n){t.exports=n(99017)(9307)},97538:function(t,e,n){t.exports=n(99017)(93693)},57340:function(t,e,n){t.exports=n(99017)(93912)},711:function(t,e,n){t.exports=n(99017)(94222)},54968:function(t,e,n){t.exports=n(99017)(9469)},43723:function(t,e,n){t.exports=n(99017)(94976)},79780:function(t,e,n){t.exports=n(99017)(95103)},37735:function(t,e,n){t.exports=n(99017)(95881)},15263:function(t,e,n){t.exports=n(99017)(95953)},79922:function(t,e,n){t.exports=n(99017)(96805)},82104:function(t,e,n){t.exports=n(99017)(96854)},96656:function(t,e,n){t.exports=n(99017)(97844)},45848:function(t,e,n){t.exports=n(99017)(9814)},10220:function(t,e,n){t.exports=n(99017)(98140)},52659:function(t,e,n){t.exports=n(99017)(98529)},64101:function(t,e,n){t.exports=n(99017)(98570)},33168:function(t,e,n){t.exports=n},99017:function(t){"use strict";t.exports=ranta_base_library},97220:function(t){"use strict";t.exports=window.Tee},24590:function(t){"use strict";t.exports=window.Vue},58288:function(t,e,n){var i=n(72599).default;function o(){"use strict";t.exports=o=function(){return n},t.exports.__esModule=!0,t.exports.default=t.exports;var e,n={},a=Object.prototype,r=a.hasOwnProperty,s=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(e){f=function(t,e,n){return t[e]=n}}function h(t,e,n,i){var o=e&&e.prototype instanceof _?e:_,a=Object.create(o.prototype),r=new M(i||[]);return s(a,"_invoke",{value:E(t,n,r)}),a}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=h;var m="suspendedStart",g="suspendedYield",v="executing",b="completed",y={};function _(){}function w(){}function x(){}var S={};f(S,u,(function(){return this}));var k=Object.getPrototypeOf,I=k&&k(k(R([])));I&&I!==a&&r.call(I,u)&&(S=I);var T=x.prototype=_.prototype=Object.create(S);function C(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function n(o,a,s,c){var u=p(t[o],t,a);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==i(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(d).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,c)}))}c(u.arg)}var o;s(this,"_invoke",{value:function(t,i){function a(){return new e((function(e,o){n(t,i,e,o)}))}return o=o?o.then(a,a):a()}})}function E(t,n,i){var o=m;return function(a,r){if(o===v)throw Error("Generator is already running");if(o===b){if("throw"===a)throw r;return{value:e,done:!0}}for(i.method=a,i.arg=r;;){var s=i.delegate;if(s){var c=A(s,i);if(c){if(c===y)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(o===m)throw o=b,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);o=v;var u=p(t,n,i);if("normal"===u.type){if(o=i.done?b:g,u.arg===y)continue;return{value:u.arg,done:i.done}}"throw"===u.type&&(o=b,i.method="throw",i.arg=u.arg)}}}function A(t,n){var i=n.method,o=t.iterator[i];if(o===e)return n.delegate=null,"throw"===i&&t.iterator.return&&(n.method="return",n.arg=e,A(t,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),y;var a=p(o,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,y;var r=a.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function R(t){if(t||""===t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(i(t)+" is not iterable")}return w.prototype=x,s(T,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:w,configurable:!0}),w.displayName=f(x,d,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,f(t,d,"GeneratorFunction")),t.prototype=Object.create(T),t},n.awrap=function(t){return{__await:t}},C(P.prototype),f(P.prototype,l,(function(){return this})),n.AsyncIterator=P,n.async=function(t,e,i,o,a){void 0===a&&(a=Promise);var r=new P(h(t,e,i,o),a);return n.isGeneratorFunction(e)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},C(T),f(T,d,"Generator"),f(T,u,(function(){return this})),f(T,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},n.values=R,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(i,o){return s.type="throw",s.arg=t,n.next=i,o&&(n.method="next",n.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var o=i.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:R(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),y}},n}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},72599:function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},67519:function(t,e,n){var i=n(58288)();t.exports=i;try{regeneratorRuntime=i}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},23340:function(t,e,n){"use strict";function i(t,e,n,i,o){var a={};return Object.keys(i).forEach((function(t){a[t]=i[t]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce((function(n,i){return i(t,e,n)||n}),a),o&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(o):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(t,e,a),null):a}n.r(e),n.d(e,{default:function(){return i}})},24958:function(t,e,n){"use strict";function i(t,e,n,i,o,a,r){try{var s=t[a](r),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,a){var r=t.apply(e,n);function s(t){i(r,o,a,s,c,"next",t)}function c(t){i(r,o,a,s,c,"throw",t)}s(void 0)}))}}n.r(e),n.d(e,{default:function(){return o}})},48564:function(t,e,n){"use strict";function i(t,e,n,i){n&&Object.defineProperty(t,e,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(i):void 0})}n.r(e),n.d(e,{default:function(){return i}})},64448:function(t,e,n){"use strict";function i(t,e){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}n.r(e),n.d(e,{default:function(){return i}})},51214:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return o}});var i=n(17082);function o(t,e){if(null==t)return{};var n,o,a=(0,i.default)(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(o=0;o<r.length;o++)n=r[o],e.includes(n)||{}.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}}},r={};function s(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={id:t,exports:{}};return a[t].call(n.exports,n,n.exports,s),n.exports}s.m=a,t=[],s.O=function(e,n,i,o){if(!n){var a=1/0;for(l=0;l<t.length;l++){n=t[l][0],i=t[l][1],o=t[l][2];for(var r=!0,c=0;c<n.length;c++)(!1&o||a>=o)&&Object.keys(s.O).every((function(t){return s.O[t](n[c])}))?n.splice(c--,1):(r=!1,o<a&&(a=o));if(r){t.splice(l--,1);var u=i();void 0!==u&&(e=u)}}return e}o=o||0;for(var l=t.length;l>0&&t[l-1][2]>o;l--)t[l]=t[l-1];t[l]=[n,i,o]},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,{a:e}),e},n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},s.t=function(t,i){if(1&i&&(t=this(t)),8&i)return t;if("object"==typeof t&&t){if(4&i&&t.__esModule)return t;if(16&i&&"function"==typeof t.then)return t}var o=Object.create(null);s.r(o);var a={};e=e||[null,n({}),n([]),n(n)];for(var r=2&i&&t;"object"==typeof r&&!~e.indexOf(r);r=n(r))Object.getOwnPropertyNames(r).forEach((function(e){a[e]=function(){return t[e]}}));return a.default=function(){return t},s.d(o,a),o},s.d=function(t,e){for(var n in e)s.o(e,n)&&!s.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},s.f={},s.e=function(t){return Promise.all(Object.keys(s.f).reduce((function(e,n){return s.f[n](t,e),e}),[]))},s.u=function(t){return t+"."+{307:"49d68c83a30307867b82",572:"6b2132c74e7c6e983129",600:"142a40f635ffa787d429",608:"d4e2eb038d1df3c91e70"}[t]+".js"},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i={},o="ranta_export_extension_:",s.l=function(t,e,n,a){if(i[t])i[t].push(e);else{var r,c;if(void 0!==n)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==o+n){r=d;break}}r||(c=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,s.nc&&r.setAttribute("nonce",s.nc),r.setAttribute("data-webpack",o+n),r.src=t),i[t]=[e];var f=function(e,n){r.onerror=r.onload=null,clearTimeout(h);var o=i[t];if(delete i[t],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((function(t){return t(n)})),e)return e(n)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=f.bind(null,r.onerror),r.onload=f.bind(null,r.onload),c&&document.head.appendChild(r)}},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.p="https://b.yzcdn.cn/wsc-tee-h5/",function(){var t={756:0};s.f.j=function(e,n){var i=s.o(t,e)?t[e]:void 0;if(0!==i)if(i)n.push(i[2]);else{var o=new Promise((function(n,o){i=t[e]=[n,o]}));n.push(i[2]=o);var a=s.p+s.u(e),r=new Error;s.l(a,(function(n){if(s.o(t,e)&&(0!==(i=t[e])&&(t[e]=void 0),i)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;r.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",r.name="ChunkLoadError",r.type=o,r.request=a,i[1](r)}}),"chunk-"+e,e)}},s.O.j=function(e){return 0===t[e]};var e=function(e,n){var i,o,a=n[0],r=n[1],c=n[2],u=0;if(a.some((function(e){return 0!==t[e]}))){for(i in r)s.o(r,i)&&(s.m[i]=r[i]);if(c)var l=c(s)}for(e&&e(n);u<a.length;u++)o=a[u],s.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return s.O(l)},n=window.webpackJsonp_app_module=window.webpackJsonp_app_module||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}();var c=s.O(void 0,[212,453],(function(){return s(33168)}));c=s.O(c),window.ranta_export_extension_app_vendors=c}();
|