@tarojs/components 4.0.4 → 4.0.5-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (508) hide show
  1. package/dist/cjs/{index-09efe07d.js → index-a7069008.js} +0 -5
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  4. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  5. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  6. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  7. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-button-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  13. package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
  15. package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
  16. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  18. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-components.cjs.js +2 -2
  20. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  21. package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
  22. package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
  23. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  24. package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-grid-builder-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-icon-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-image-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  34. package/dist/cjs/taro-input-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  39. package/dist/cjs/taro-list-builder-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  50. package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +1 -1
  52. package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  54. package/dist/cjs/taro-open-container-core.cjs.entry.js +1 -1
  55. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  56. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  57. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  58. package/dist/cjs/taro-picker-core_2.cjs.entry.js +1 -1
  59. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  61. package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +1 -1
  62. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  63. package/dist/cjs/taro-rich-text-core.cjs.entry.js +1 -1
  64. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  65. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  66. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  67. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +1 -1
  68. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  69. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  70. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  71. package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
  72. package/dist/cjs/taro-span-core.cjs.entry.js +1 -1
  73. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  74. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  75. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +205 -220
  76. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  77. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  78. package/dist/cjs/taro-tabbar.cjs.entry.js +1 -1
  79. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  80. package/dist/cjs/taro-text-core.cjs.entry.js +1 -1
  81. package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
  82. package/dist/cjs/taro-video-control_3.cjs.entry.js +1 -1
  83. package/dist/cjs/taro-view-core.cjs.entry.js +1 -1
  84. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  85. package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
  86. package/dist/collection/components/swiper/style/index.css +4 -16
  87. package/dist/collection/components/swiper/swiper-item.js +7 -84
  88. package/dist/collection/components/swiper/swiper.js +217 -178
  89. package/dist/components/taro-swiper-core.js +199 -179
  90. package/dist/components/taro-swiper-item-core.js +8 -47
  91. package/dist/esm/{index-9924aee9.js → index-5e431bb8.js} +0 -5
  92. package/dist/esm/loader.js +3 -3
  93. package/dist/esm/taro-ad-core.entry.js +1 -1
  94. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  95. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  96. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  97. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  98. package/dist/esm/taro-audio-core.entry.js +1 -1
  99. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  100. package/dist/esm/taro-block-core.entry.js +1 -1
  101. package/dist/esm/taro-button-core.entry.js +1 -1
  102. package/dist/esm/taro-camera-core.entry.js +1 -1
  103. package/dist/esm/taro-canvas-core.entry.js +1 -1
  104. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  105. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  106. package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
  107. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  108. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  109. package/dist/esm/taro-components.js +3 -3
  110. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  111. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  112. package/dist/esm/taro-cover-view-core.entry.js +1 -1
  113. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  114. package/dist/esm/taro-draggable-sheet-core.entry.js +1 -1
  115. package/dist/esm/taro-editor-core.entry.js +1 -1
  116. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  117. package/dist/esm/taro-form-core.entry.js +1 -1
  118. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  119. package/dist/esm/taro-grid-builder-core.entry.js +1 -1
  120. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  121. package/dist/esm/taro-icon-core.entry.js +1 -1
  122. package/dist/esm/taro-image-core.entry.js +1 -1
  123. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  124. package/dist/esm/taro-input-core.entry.js +1 -1
  125. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  126. package/dist/esm/taro-label-core.entry.js +1 -1
  127. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  128. package/dist/esm/taro-like-core.entry.js +1 -1
  129. package/dist/esm/taro-list-builder-core.entry.js +1 -1
  130. package/dist/esm/taro-list-view-core.entry.js +1 -1
  131. package/dist/esm/taro-live-player-core.entry.js +1 -1
  132. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  133. package/dist/esm/taro-login-core.entry.js +1 -1
  134. package/dist/esm/taro-lottie-core.entry.js +1 -1
  135. package/dist/esm/taro-map-core.entry.js +1 -1
  136. package/dist/esm/taro-match-media-core.entry.js +1 -1
  137. package/dist/esm/taro-movable-area-core_2.entry.js +1 -1
  138. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  139. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  140. package/dist/esm/taro-navigator-core.entry.js +1 -1
  141. package/dist/esm/taro-nested-scroll-body-core.entry.js +1 -1
  142. package/dist/esm/taro-nested-scroll-header-core.entry.js +1 -1
  143. package/dist/esm/taro-official-account-core.entry.js +1 -1
  144. package/dist/esm/taro-open-container-core.entry.js +1 -1
  145. package/dist/esm/taro-open-data-core.entry.js +1 -1
  146. package/dist/esm/taro-page-container-core.entry.js +1 -1
  147. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  148. package/dist/esm/taro-picker-core_2.entry.js +1 -1
  149. package/dist/esm/taro-picker-view-column-core_2.entry.js +1 -1
  150. package/dist/esm/taro-progress-core.entry.js +1 -1
  151. package/dist/esm/taro-pull-to-refresh-core.entry.js +1 -1
  152. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  153. package/dist/esm/taro-rich-text-core.entry.js +1 -1
  154. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  155. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  156. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  157. package/dist/esm/taro-scroll-view-core.entry.js +1 -1
  158. package/dist/esm/taro-share-element-core.entry.js +1 -1
  159. package/dist/esm/taro-slider-core.entry.js +1 -1
  160. package/dist/esm/taro-slot-core.entry.js +1 -1
  161. package/dist/esm/taro-snapshot-core.entry.js +1 -1
  162. package/dist/esm/taro-span-core.entry.js +1 -1
  163. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  164. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  165. package/dist/esm/taro-swiper-core_2.entry.js +205 -220
  166. package/dist/esm/taro-switch-core.entry.js +1 -1
  167. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  168. package/dist/esm/taro-tabbar.entry.js +1 -1
  169. package/dist/esm/taro-tabs-core.entry.js +1 -1
  170. package/dist/esm/taro-text-core.entry.js +1 -1
  171. package/dist/esm/taro-textarea-core.entry.js +1 -1
  172. package/dist/esm/taro-video-control_3.entry.js +1 -1
  173. package/dist/esm/taro-view-core.entry.js +1 -1
  174. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  175. package/dist/esm/taro-web-view-core.entry.js +1 -1
  176. package/dist/esm-es5/{index-9924aee9.js → index-5e431bb8.js} +1 -1
  177. package/dist/esm-es5/loader.js +1 -1
  178. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  179. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  180. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  181. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  182. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  183. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  184. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  185. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  186. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  187. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  188. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  189. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  190. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  191. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  192. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  193. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  194. package/dist/esm-es5/taro-components.js +1 -1
  195. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  196. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  197. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  198. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  199. package/dist/esm-es5/taro-draggable-sheet-core.entry.js +1 -1
  200. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  201. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  202. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  203. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  204. package/dist/esm-es5/taro-grid-builder-core.entry.js +1 -1
  205. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  206. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  207. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  208. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  209. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  210. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  211. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  212. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  213. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  214. package/dist/esm-es5/taro-list-builder-core.entry.js +1 -1
  215. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  216. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  217. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  218. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  219. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  220. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  221. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  222. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  223. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  224. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  225. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  226. package/dist/esm-es5/taro-nested-scroll-body-core.entry.js +1 -1
  227. package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -1
  228. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  229. package/dist/esm-es5/taro-open-container-core.entry.js +1 -1
  230. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  231. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  232. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  233. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  234. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  235. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  236. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
  237. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  238. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  239. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  240. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  241. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  242. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  243. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  244. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  245. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  246. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
  247. package/dist/esm-es5/taro-span-core.entry.js +1 -1
  248. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  249. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  250. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  251. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  252. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  253. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  254. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  255. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  256. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  257. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  258. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  259. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  260. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  261. package/dist/hydrate/index.js +209 -230
  262. package/dist/taro-components/{p-ac2be5f3.entry.js → p-010113d5.entry.js} +1 -1
  263. package/dist/taro-components/p-0711615a.entry.js +1 -0
  264. package/dist/taro-components/{p-65d11e99.system.entry.js → p-08f31efb.system.entry.js} +1 -1
  265. package/dist/taro-components/{p-17b9f865.system.entry.js → p-0b9fa602.system.entry.js} +1 -1
  266. package/dist/taro-components/{p-71c89856.system.entry.js → p-0c3bf536.system.entry.js} +1 -1
  267. package/dist/taro-components/{p-6664a2ca.system.entry.js → p-0cbc06a0.system.entry.js} +1 -1
  268. package/dist/taro-components/p-0d965cb0.entry.js +1 -0
  269. package/dist/taro-components/{p-0fc790c0.system.entry.js → p-0e77f1af.system.entry.js} +1 -1
  270. package/dist/taro-components/{p-b4577a12.system.entry.js → p-0e8c1988.system.entry.js} +1 -1
  271. package/dist/taro-components/p-101c15ac.entry.js +1 -0
  272. package/dist/taro-components/{p-d5603857.entry.js → p-1331d6e6.entry.js} +1 -1
  273. package/dist/taro-components/{p-e1cce2f1.entry.js → p-13773464.entry.js} +1 -1
  274. package/dist/taro-components/{p-79cad66b.entry.js → p-13f9d171.entry.js} +1 -1
  275. package/dist/taro-components/{p-91ee1f8a.system.entry.js → p-14e9f2fd.system.entry.js} +1 -1
  276. package/dist/taro-components/p-1565cc2e.system.entry.js +1 -0
  277. package/dist/taro-components/{p-18c039ef.entry.js → p-177ab579.entry.js} +1 -1
  278. package/dist/taro-components/p-1bb89572.entry.js +1 -0
  279. package/dist/taro-components/{p-c7d8c076.system.entry.js → p-200ba6f2.system.entry.js} +1 -1
  280. package/dist/taro-components/p-2053531e.system.entry.js +1 -0
  281. package/dist/taro-components/{p-75ded8a0.system.entry.js → p-2210c50a.system.entry.js} +1 -1
  282. package/dist/taro-components/p-22140f38.entry.js +1 -0
  283. package/dist/taro-components/{p-dedf50a9.entry.js → p-2338fbc5.entry.js} +1 -1
  284. package/dist/taro-components/p-24a12aac.system.entry.js +1 -0
  285. package/dist/taro-components/p-26792379.entry.js +1 -0
  286. package/dist/taro-components/{p-5f23dc41.system.entry.js → p-274753ad.system.entry.js} +1 -1
  287. package/dist/taro-components/{p-3cf08137.entry.js → p-2ad41ae2.entry.js} +1 -1
  288. package/dist/taro-components/{p-dc25fa81.entry.js → p-2b0158fc.entry.js} +1 -1
  289. package/dist/taro-components/{p-9e359fff.system.entry.js → p-2d2c8354.system.entry.js} +1 -1
  290. package/dist/taro-components/{p-12582166.entry.js → p-310f27ae.entry.js} +1 -1
  291. package/dist/taro-components/p-31f20299.entry.js +1 -0
  292. package/dist/taro-components/{p-7ca2d075.system.entry.js → p-336b5b6c.system.entry.js} +1 -1
  293. package/dist/taro-components/{p-02465454.system.entry.js → p-34aee4d3.system.entry.js} +1 -1
  294. package/dist/taro-components/{p-ac9fb309.system.entry.js → p-34b51434.system.entry.js} +1 -1
  295. package/dist/taro-components/p-3779a716.entry.js +1 -0
  296. package/dist/taro-components/{p-02d4d104.entry.js → p-39dd80dd.entry.js} +1 -1
  297. package/dist/taro-components/p-3d163624.entry.js +1 -0
  298. package/dist/taro-components/{p-1eea2828.entry.js → p-3dc40ce0.entry.js} +1 -1
  299. package/dist/taro-components/{p-e3d825d1.system.entry.js → p-3ee0dda1.system.entry.js} +1 -1
  300. package/dist/taro-components/{p-d73b3a94.system.entry.js → p-4446fe5f.system.entry.js} +1 -1
  301. package/dist/taro-components/p-45ce1c8b.system.entry.js +1 -0
  302. package/dist/taro-components/{p-c677414d.system.entry.js → p-48395cab.system.entry.js} +1 -1
  303. package/dist/taro-components/{p-03dc0283.entry.js → p-48887552.entry.js} +1 -1
  304. package/dist/taro-components/p-493e2c9a.entry.js +1 -0
  305. package/dist/taro-components/{p-57911e2c.system.entry.js → p-498d940e.system.entry.js} +1 -1
  306. package/dist/taro-components/{p-7e054ae7.system.entry.js → p-49bd1791.system.entry.js} +1 -1
  307. package/dist/taro-components/{p-53e62840.system.entry.js → p-4dddb4a4.system.entry.js} +1 -1
  308. package/dist/taro-components/{p-07ae6678.system.entry.js → p-4f62b74a.system.entry.js} +1 -1
  309. package/dist/taro-components/p-5584c307.entry.js +1 -0
  310. package/dist/taro-components/{p-ba5e7ec4.system.entry.js → p-58a44067.system.entry.js} +1 -1
  311. package/dist/taro-components/{p-9f53e26c.system.entry.js → p-5c3d432f.system.entry.js} +1 -1
  312. package/dist/taro-components/{p-ebad862a.system.entry.js → p-60869da5.system.entry.js} +1 -1
  313. package/dist/taro-components/p-60c76b97.entry.js +1 -0
  314. package/dist/taro-components/p-62fcda43.entry.js +1 -0
  315. package/dist/taro-components/{p-9b6b17c4.system.entry.js → p-636c9e22.system.entry.js} +1 -1
  316. package/dist/taro-components/p-646b6bb1.entry.js +1 -0
  317. package/dist/taro-components/{p-f5f3a111.entry.js → p-6a54dc69.entry.js} +1 -1
  318. package/dist/taro-components/p-6c314305.entry.js +1 -0
  319. package/dist/taro-components/{p-d05eb105.system.entry.js → p-6ef0579d.system.entry.js} +1 -1
  320. package/dist/taro-components/{p-4ac48df1.system.entry.js → p-6f25b319.system.entry.js} +1 -1
  321. package/dist/taro-components/{p-55e12654.entry.js → p-6f43d1a1.entry.js} +1 -1
  322. package/dist/taro-components/{p-f168fffc.entry.js → p-70283efb.entry.js} +1 -1
  323. package/dist/taro-components/{p-f43f26cf.entry.js → p-71167112.entry.js} +1 -1
  324. package/dist/taro-components/{p-938f9036.system.entry.js → p-720c96ae.system.entry.js} +1 -1
  325. package/dist/taro-components/p-725381f1.entry.js +1 -0
  326. package/dist/taro-components/{p-dcf5747c.system.entry.js → p-731de0f1.system.entry.js} +1 -1
  327. package/dist/taro-components/{p-3bfe9260.entry.js → p-757c9533.entry.js} +1 -1
  328. package/dist/taro-components/p-7625b781.system.entry.js +1 -0
  329. package/dist/taro-components/{p-4a8b4d58.system.entry.js → p-7677dcb3.system.entry.js} +1 -1
  330. package/dist/taro-components/p-76eedcd8.system.entry.js +1 -0
  331. package/dist/taro-components/{p-204996e7.entry.js → p-77dee229.entry.js} +1 -1
  332. package/dist/taro-components/p-7a860d44.system.entry.js +1 -0
  333. package/dist/taro-components/p-7ba8fbd4.entry.js +1 -0
  334. package/dist/taro-components/{p-b1f80b6b.entry.js → p-7c78d193.entry.js} +1 -1
  335. package/dist/taro-components/p-7d115ac1.entry.js +1 -0
  336. package/dist/taro-components/p-7d469e2e.entry.js +1 -0
  337. package/dist/taro-components/{p-f9935901.system.entry.js → p-7e486065.system.entry.js} +1 -1
  338. package/dist/taro-components/{p-6654374e.system.entry.js → p-7f067654.system.entry.js} +1 -1
  339. package/dist/taro-components/{p-5c98f478.entry.js → p-81f8a153.entry.js} +1 -1
  340. package/dist/taro-components/p-86b09ede.system.entry.js +1 -0
  341. package/dist/taro-components/p-88bcad64.entry.js +1 -0
  342. package/dist/taro-components/{p-75d01c60.system.js → p-88de70df.system.js} +2 -2
  343. package/dist/taro-components/p-88ded2fb.entry.js +1 -0
  344. package/dist/taro-components/p-8f7c9757.system.entry.js +1 -0
  345. package/dist/taro-components/{p-1bd4da3b.system.entry.js → p-920663c3.system.entry.js} +1 -1
  346. package/dist/taro-components/p-920e9e08.system.entry.js +1 -0
  347. package/dist/taro-components/p-92d5f74a.entry.js +1 -0
  348. package/dist/taro-components/p-932b1e72.entry.js +1 -0
  349. package/dist/taro-components/p-93329865.system.entry.js +1 -0
  350. package/dist/taro-components/p-96d58e6b.entry.js +1 -0
  351. package/dist/taro-components/{p-bd57edcd.entry.js → p-9b1be768.entry.js} +1 -1
  352. package/dist/taro-components/{p-6cc0bcb9.entry.js → p-9cf98daf.entry.js} +1 -1
  353. package/dist/taro-components/p-9d2e99b5.entry.js +1 -0
  354. package/dist/taro-components/{p-6b83388c.system.entry.js → p-9d815ff0.system.entry.js} +1 -1
  355. package/dist/taro-components/p-a1368421.entry.js +1 -0
  356. package/dist/taro-components/p-a1e9e6e9.entry.js +1 -0
  357. package/dist/taro-components/{p-d2203687.system.entry.js → p-a263b21b.system.entry.js} +1 -1
  358. package/dist/taro-components/{p-d9884371.entry.js → p-a33c6ab4.entry.js} +1 -1
  359. package/dist/taro-components/{p-2649c7ae.entry.js → p-a34fb684.entry.js} +1 -1
  360. package/dist/taro-components/{p-27041d86.system.entry.js → p-a3948a42.system.entry.js} +1 -1
  361. package/dist/taro-components/p-a39bfe0d.system.entry.js +1 -0
  362. package/dist/taro-components/p-a51c3fc6.entry.js +1 -0
  363. package/dist/taro-components/{p-ab0e0366.system.entry.js → p-a57123fa.system.entry.js} +1 -1
  364. package/dist/taro-components/{p-97b09fb4.system.entry.js → p-a6258172.system.entry.js} +1 -1
  365. package/dist/taro-components/p-a89cb7e0.entry.js +1 -0
  366. package/dist/taro-components/{p-ba11ef7d.entry.js → p-a8a443a5.entry.js} +1 -1
  367. package/dist/taro-components/{p-ded98693.system.entry.js → p-ac808059.system.entry.js} +1 -1
  368. package/dist/taro-components/p-acf20f00.system.entry.js +1 -0
  369. package/dist/taro-components/{p-d87a68f6.entry.js → p-b03b164f.entry.js} +1 -1
  370. package/dist/taro-components/p-b139e0bb.entry.js +1 -0
  371. package/dist/taro-components/{p-56a82bf3.entry.js → p-b197f269.entry.js} +1 -1
  372. package/dist/taro-components/p-b1e74461.entry.js +1 -0
  373. package/dist/taro-components/{p-a9ca8247.system.entry.js → p-b4d3d0bf.system.entry.js} +1 -1
  374. package/dist/taro-components/p-b4e5684a.entry.js +1 -0
  375. package/dist/taro-components/{p-e681d764.entry.js → p-b8916511.entry.js} +1 -1
  376. package/dist/taro-components/p-b8b1e967.entry.js +1 -0
  377. package/dist/taro-components/p-b923d242.entry.js +1 -0
  378. package/dist/taro-components/p-b9e52b27.system.entry.js +1 -0
  379. package/dist/taro-components/{p-df7c6216.system.entry.js → p-baba6d35.system.entry.js} +1 -1
  380. package/dist/taro-components/{p-46a66c43.entry.js → p-bc4dbbfb.entry.js} +1 -1
  381. package/dist/taro-components/{p-8836f70b.entry.js → p-bd7d7771.entry.js} +1 -1
  382. package/dist/taro-components/{p-3b36196b.system.entry.js → p-c089b757.system.entry.js} +1 -1
  383. package/dist/taro-components/{p-078cb65e.entry.js → p-c0c4d551.entry.js} +1 -1
  384. package/dist/taro-components/p-c297faa9.entry.js +1 -0
  385. package/dist/taro-components/p-c575464d.entry.js +1 -0
  386. package/dist/taro-components/p-c6258ca4.system.entry.js +1 -0
  387. package/dist/taro-components/{p-ca6a5916.system.entry.js → p-c6bf856c.system.entry.js} +1 -1
  388. package/dist/taro-components/{p-1c37143a.system.entry.js → p-c7d84f5f.system.entry.js} +1 -1
  389. package/dist/taro-components/{p-443e31ab.system.entry.js → p-c984e3bd.system.entry.js} +1 -1
  390. package/dist/taro-components/{p-fa31b2de.system.entry.js → p-cb55d5a3.system.entry.js} +1 -1
  391. package/dist/taro-components/p-cc02c5b6.system.entry.js +1 -0
  392. package/dist/taro-components/p-ce63e336.system.entry.js +1 -0
  393. package/dist/taro-components/p-d04b19f1.system.entry.js +1 -0
  394. package/dist/taro-components/p-d0cabaaa.js +2 -0
  395. package/dist/taro-components/p-d2023e97.entry.js +1 -0
  396. package/dist/taro-components/{p-fbf13159.system.entry.js → p-d2b08d6c.system.entry.js} +1 -1
  397. package/dist/taro-components/p-d3573732.system.entry.js +1 -0
  398. package/dist/taro-components/{p-e853a2c8.system.entry.js → p-d482a085.system.entry.js} +1 -1
  399. package/dist/taro-components/{p-ddf75d6a.system.entry.js → p-d6bd3fa0.system.entry.js} +1 -1
  400. package/dist/taro-components/{p-4979e93c.system.entry.js → p-d952367b.system.entry.js} +1 -1
  401. package/dist/taro-components/p-d9b9319b.system.js +1 -0
  402. package/dist/taro-components/p-da00c309.entry.js +1 -0
  403. package/dist/taro-components/p-da3ae8b9.entry.js +1 -0
  404. package/dist/taro-components/p-da5ac143.system.entry.js +1 -0
  405. package/dist/taro-components/p-db885f6a.entry.js +1 -0
  406. package/dist/taro-components/{p-b087ad2a.system.entry.js → p-deaafb30.system.entry.js} +1 -1
  407. package/dist/taro-components/{p-5b9aa4b0.system.entry.js → p-df082aca.system.entry.js} +1 -1
  408. package/dist/taro-components/p-e30dbf52.entry.js +1 -0
  409. package/dist/taro-components/p-e4b971a9.entry.js +1 -0
  410. package/dist/taro-components/{p-cae6c5d0.system.entry.js → p-e5f31143.system.entry.js} +1 -1
  411. package/dist/taro-components/p-e6a85481.entry.js +1 -0
  412. package/dist/taro-components/p-ea2ea074.entry.js +1 -0
  413. package/dist/taro-components/p-ea867ded.entry.js +1 -0
  414. package/dist/taro-components/{p-fe5eefdc.system.entry.js → p-eb385fbc.system.entry.js} +1 -1
  415. package/dist/taro-components/{p-43367dd1.entry.js → p-eb7aa8ad.entry.js} +1 -1
  416. package/dist/taro-components/{p-3293c5d9.system.entry.js → p-ede005c7.system.entry.js} +1 -1
  417. package/dist/taro-components/{p-61a325d2.system.entry.js → p-ee2e9a0f.system.entry.js} +1 -1
  418. package/dist/taro-components/{p-cafbb3d9.system.entry.js → p-f0694b9f.system.entry.js} +1 -1
  419. package/dist/taro-components/{p-a96f8f60.system.entry.js → p-f1597269.system.entry.js} +1 -1
  420. package/dist/taro-components/{p-d973d536.entry.js → p-f26ddbc9.entry.js} +1 -1
  421. package/dist/taro-components/{p-0a64f78c.system.entry.js → p-f490ca1e.system.entry.js} +1 -1
  422. package/dist/taro-components/{p-7fdbcf4d.entry.js → p-f5cd77f9.entry.js} +1 -1
  423. package/dist/taro-components/{p-dc08715a.entry.js → p-f6d29525.entry.js} +1 -1
  424. package/dist/taro-components/p-f922c742.entry.js +1 -0
  425. package/dist/taro-components/p-fa01bbca.entry.js +1 -0
  426. package/dist/taro-components/{p-17938fa0.system.entry.js → p-fb23fdb8.system.entry.js} +1 -1
  427. package/dist/taro-components/{p-4fad4beb.system.entry.js → p-fc124d0d.system.entry.js} +1 -1
  428. package/dist/taro-components/{p-6ba08ce0.system.entry.js → p-fe3e2fdb.system.entry.js} +1 -1
  429. package/dist/taro-components/taro-components.esm.js +1 -1
  430. package/dist/taro-components/taro-components.js +1 -1
  431. package/dist/types/components/swiper/swiper-item.d.ts +1 -4
  432. package/dist/types/components/swiper/swiper.d.ts +13 -9
  433. package/dist/types/components.d.ts +8 -4
  434. package/lib/vue3/components.js +2 -4
  435. package/lib/vue3/components.js.map +1 -1
  436. package/package.json +6 -6
  437. package/types/Swiper.d.ts +4 -0
  438. package/types/global.d.ts +4 -0
  439. package/types/index.d.ts +20 -0
  440. package/dist/taro-components/p-047e4bfe.entry.js +0 -1
  441. package/dist/taro-components/p-06adeb65.system.entry.js +0 -1
  442. package/dist/taro-components/p-07f27474.entry.js +0 -1
  443. package/dist/taro-components/p-083c3147.system.entry.js +0 -1
  444. package/dist/taro-components/p-0f2c1ecc.entry.js +0 -1
  445. package/dist/taro-components/p-0f480c38.system.entry.js +0 -1
  446. package/dist/taro-components/p-0ff5a55b.entry.js +0 -1
  447. package/dist/taro-components/p-156e9634.system.entry.js +0 -1
  448. package/dist/taro-components/p-17e72555.entry.js +0 -1
  449. package/dist/taro-components/p-26eb2f3f.entry.js +0 -1
  450. package/dist/taro-components/p-27d372b4.system.entry.js +0 -1
  451. package/dist/taro-components/p-280795f2.entry.js +0 -1
  452. package/dist/taro-components/p-292470e5.entry.js +0 -1
  453. package/dist/taro-components/p-2d537212.entry.js +0 -1
  454. package/dist/taro-components/p-2f177716.entry.js +0 -1
  455. package/dist/taro-components/p-32c0f326.entry.js +0 -1
  456. package/dist/taro-components/p-35dec732.entry.js +0 -1
  457. package/dist/taro-components/p-38b29261.entry.js +0 -1
  458. package/dist/taro-components/p-3a180dc7.entry.js +0 -1
  459. package/dist/taro-components/p-402c7f93.entry.js +0 -1
  460. package/dist/taro-components/p-425d1d69.entry.js +0 -1
  461. package/dist/taro-components/p-4523b1c7.entry.js +0 -1
  462. package/dist/taro-components/p-47790dc0.system.entry.js +0 -1
  463. package/dist/taro-components/p-50849470.system.entry.js +0 -1
  464. package/dist/taro-components/p-56552c9e.entry.js +0 -1
  465. package/dist/taro-components/p-57b77f17.system.entry.js +0 -1
  466. package/dist/taro-components/p-5884c108.system.entry.js +0 -1
  467. package/dist/taro-components/p-5c156db3.system.entry.js +0 -1
  468. package/dist/taro-components/p-6282bdee.system.entry.js +0 -1
  469. package/dist/taro-components/p-68197378.entry.js +0 -1
  470. package/dist/taro-components/p-6989c232.entry.js +0 -1
  471. package/dist/taro-components/p-7163d09e.system.js +0 -1
  472. package/dist/taro-components/p-75b4c1fc.system.entry.js +0 -1
  473. package/dist/taro-components/p-77e82dfa.entry.js +0 -1
  474. package/dist/taro-components/p-7e692c70.entry.js +0 -1
  475. package/dist/taro-components/p-7ebd4310.entry.js +0 -1
  476. package/dist/taro-components/p-8179438b.system.entry.js +0 -1
  477. package/dist/taro-components/p-84998109.entry.js +0 -1
  478. package/dist/taro-components/p-855619b6.system.entry.js +0 -1
  479. package/dist/taro-components/p-8b0c9d3f.entry.js +0 -1
  480. package/dist/taro-components/p-937a6c36.entry.js +0 -1
  481. package/dist/taro-components/p-93a2b2e9.entry.js +0 -1
  482. package/dist/taro-components/p-93b02321.entry.js +0 -1
  483. package/dist/taro-components/p-9571836f.entry.js +0 -1
  484. package/dist/taro-components/p-a25aca16.system.entry.js +0 -1
  485. package/dist/taro-components/p-a50c6736.entry.js +0 -1
  486. package/dist/taro-components/p-aabac550.entry.js +0 -1
  487. package/dist/taro-components/p-ac714300.system.entry.js +0 -1
  488. package/dist/taro-components/p-acb113bd.entry.js +0 -1
  489. package/dist/taro-components/p-b4c7bb48.entry.js +0 -1
  490. package/dist/taro-components/p-bb67318d.entry.js +0 -1
  491. package/dist/taro-components/p-be055537.entry.js +0 -1
  492. package/dist/taro-components/p-be1701b2.entry.js +0 -1
  493. package/dist/taro-components/p-c056d527.system.entry.js +0 -1
  494. package/dist/taro-components/p-c0c567e5.system.entry.js +0 -1
  495. package/dist/taro-components/p-c3dc7072.entry.js +0 -1
  496. package/dist/taro-components/p-c71d5745.system.entry.js +0 -1
  497. package/dist/taro-components/p-c7836e2b.entry.js +0 -1
  498. package/dist/taro-components/p-c8cd6e16.entry.js +0 -1
  499. package/dist/taro-components/p-c95d2b90.entry.js +0 -1
  500. package/dist/taro-components/p-ccbaba23.entry.js +0 -1
  501. package/dist/taro-components/p-e62a1287.js +0 -2
  502. package/dist/taro-components/p-ebb1ae64.entry.js +0 -1
  503. package/dist/taro-components/p-f034a433.entry.js +0 -1
  504. package/dist/taro-components/p-f367a754.entry.js +0 -1
  505. package/dist/taro-components/p-f8f2461f.entry.js +0 -1
  506. package/dist/taro-components/p-fab63183.entry.js +0 -1
  507. package/dist/taro-components/p-feb89474.system.entry.js +0 -1
  508. package/dist/taro-components/p-ff772345.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as o,h as t,H as r}from"./p-e62a1287.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(t){o(this,t)}componentDidLoad(){s("StickySection",this)}render(){return t(r,null)}};export{a as taro_sticky_section_core}
1
+ import{r as o,h as t,H as r}from"./p-d0cabaaa.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(t){o(this,t)}componentDidLoad(){s("StickySection",this)}render(){return t(r,null)}};export{a as taro_sticky_section_core}
@@ -0,0 +1 @@
1
+ import{r,h as o,H as t}from"./p-d0cabaaa.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){a("GridBuilder",this)}render(){return o(t,null)}};export{s as taro_grid_builder_core}
@@ -1 +1 @@
1
- System.register(["./p-75d01c60.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_list_view_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("ListView",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
1
+ System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_list_view_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("ListView",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-75d01c60.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_open_data_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("OpenData",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
1
+ System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_open_data_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("OpenData",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,a)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,n,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(i=0)),i)try{if(r=1,n&&(o=a[0]&2?n["return"]:a[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;if(n=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;n=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(a[0]===6&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}if(o[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,o;r<n;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};System.register(["./p-75d01c60.system.js","@tarojs/taro","./p-443b9a72.system.js","./p-010faa87.system.js"],(function(e,t){"use strict";var i,r,n,o,s,a,l,u;return{setters:[function(e){i=e.r;r=e.h;n=e.H;o=e.g;s=e.c},function(e){a=e.default},function(e){l=e.c},function(e){u=e.t}],execute:function(){var c=function(e){if(!e)return"";var t=Math.round(e%60);var i=Math.round((e-t)/60);return"".concat(i<10?"0".concat(i):i,":").concat(t<10?"0".concat(t):t)};var d=function(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))};var h=function(e){return Math.max(-1,Math.min(e,1))};var g="default";var f=function(){var e;var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var i=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];var r=0;var n=t.length;var o={};for(;r<n;r++){e=t[r];if(e&&e[1]in document){for(r=0;r<e.length;r++){o[t[0][r]]=e[r]}return o}}if(!o[t[0][0]]){g="iOS";for(r=0;r<i.length;r++){o[t[0][r]]=i[r]}}return o}();var p=function(e){return/\.(m3u8)($|\?)/i.test(e)};var A=e("taro_video_control",function(){function e(e){var t=this;i(this,e);this.visible=false;this.isDraggingProgressBall=false;this.percentage=0;this.progressDimensions={left:0,width:0};this.calcPercentage=function(e){var i=e-t.progressDimensions.left;i=Math.max(i,0);i=Math.min(i,t.progressDimensions.width);return i/t.progressDimensions.width};this.onDragProgressBallStart=function(){t.isDraggingProgressBall=true;t.hideControlsTimer&&clearTimeout(t.hideControlsTimer)};this.onClickProgress=function(e){e.stopPropagation();var i=t.calcPercentage(e.pageX);t.seekFunc(i*t.duration);t.toggleVisibility(true)};this.controls=undefined;this.currentTime=undefined;this.duration=undefined;this.isPlaying=undefined;this.pauseFunc=undefined;this.playFunc=undefined;this.seekFunc=undefined;this.showPlayBtn=undefined;this.showProgress=undefined}e.prototype.onDocumentTouchMove=function(e){if(!this.isDraggingProgressBall)return;var t=e.touches[0].pageX;this.percentage=this.calcPercentage(t);this.setProgressBall(this.percentage);this.setCurrentTime(this.percentage*this.duration)};e.prototype.onDocumentTouchEnd=function(){if(!this.isDraggingProgressBall)return;this.isDraggingProgressBall=false;this.seekFunc(this.percentage*this.duration);this.toggleVisibility(true)};e.prototype.setProgressBall=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.progressBallRef){this.progressBallRef.style.left="".concat(e*100,"%")}return[2]}))}))};e.prototype.toggleVisibility=function(e){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){t=e===undefined?!this.visible:e;if(t){this.hideControlsTimer&&clearTimeout(this.hideControlsTimer);if(this.isPlaying){this.hideControlsTimer=setTimeout((function(){i.toggleVisibility(false)}),2e3)}this.el.style.visibility="visible"}else{this.el.style.visibility="hidden"}this.visible=!!t;return[2]}))}))};e.prototype.getIsDraggingProgressBall=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.isDraggingProgressBall]}))}))};e.prototype.setCurrentTime=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentTimeRef.innerHTML=c(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,o=t.currentTime,s=t.duration,a=t.isPlaying,l=t.pauseFunc,u=t.playFunc,d=t.showPlayBtn,h=t.showProgress;var g=c(s);var f;if(!d){f=null}else if(a){f=r("div",{class:"taro-video-control-button taro-video-control-button-pause",onClick:l})}else{f=r("div",{class:"taro-video-control-button taro-video-control-button-play",onClick:u})}return r(n,{class:"taro-video-bar taro-video-bar-full"},i&&r("div",{class:"taro-video-controls"},f,h&&r("div",{class:"taro-video-current-time",ref:function(t){return e.currentTimeRef=t}},c(o)),h&&r("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},r("div",{class:"taro-video-progress",ref:function(t){if(!t)return;var i=t.getBoundingClientRect();e.progressDimensions.left=i.left;e.progressDimensions.width=i.width}},r("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),r("div",{class:"taro-video-ball",ref:function(t){return e.progressBallRef=t},onTouchStart:this.onDragProgressBallStart,style:{left:"".concat(g?this.currentTime/s*100:0,"%")}},r("div",{class:"taro-video-inner"})))),h&&r("div",{class:"taro-video-duration"},g)),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());var v='.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{-o-object-position:inherit;object-position:inherit;background-color:#000;width:100%;height:100%;display:inline-block;position:absolute;top:0;left:0}.taro-video-container.taro-video-type-fullscreen{z-index:999;position:fixed;inset:0}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%,-50%)rotate(-90deg);transform:translate(-50%,-50%)rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%,-50%)rotate(90deg);transform:translate(-50%,-50%)rotate(90deg)}.taro-video-video{-o-object-position:inherit;object-position:inherit;width:100%;height:100%;display:block}.taro-video-cover{z-index:1;background-color:rgba(1,1,1,.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;top:0;bottom:0;left:0}.taro-video-cover-play-button{background-position:50%;background-repeat:no-repeat;background-size:50%;width:40px;height:40px}.taro-video-cover-duration{color:#fff;margin-top:10px;font-size:16px;line-height:1}.taro-video-bar{visibility:hidden;z-index:1;background-color:rgba(0,0,0,.5);-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:44px;padding:0 10px;display:-ms-flexbox;display:flex;position:absolute;bottom:0;right:0;overflow:hidden}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px;display:-ms-flexbox;display:flex}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;width:13px;height:15px;margin-left:-8.5px;padding:14.5px 12.5px}.taro-video-control-button:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:100%;width:100%;height:100%;display:block}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{color:#cbcbcb;height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;line-height:14.5px}.taro-video-progress-container{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;position:relative}.taro-video-progress{background-color:rgba(255,255,255,.4);height:2px;margin:21px 12px;position:relative}.taro-video-progress-buffered{background-color:rgba(255,255,255,.8);width:0;height:100%;-webkit-transition:width .1s;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{-webkit-box-sizing:content-box;box-sizing:content-box;width:16px;height:16px;margin-left:-22px;padding:14px;position:absolute;top:-21px;left:0}.taro-video-inner{background-color:#fff;border-radius:50%;width:100%;height:100%}.taro-video-danmu-button{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;margin:0 8.5px;padding:2px 10px;font-size:13px;line-height:1}.taro-video-danmu-button.taro-video-danmu-button-active{color:#48c23d;border-color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;background-position:50%;background-repeat:no-repeat;background-size:50%;width:17px;height:17px;padding:8.5px}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=)}.taro-video-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTg6MjArMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk3YmE4Yjg0LTFhNTYtNGM1MS04NDVkLTNiZmYyMGI0ZDc0ZiIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjg1NGQ3MjlkLWUwNjctZjU0OC1hMTlhLTBlZjQ4OGRkYjJiOSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjA1ODY3ZDFlLWQ3NGEtNDgyNC04MDU3LTYzYmRmMTdjODk5ZSI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDU4NjdkMWUtZDc0YS00ODI0LTgwNTctNjNiZGYxN2M4OTllIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE4OjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTdiYThiODQtMWE1Ni00YzUxLTg0NWQtM2JmZjIwYjRkNzRmIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz459+FoAAABqElEQVRYhc2XPWsVQRSGnxPjF4oGRfxoRQKGWCU2Ft7CykrQWosEyf/If0hhIPgHDEmbNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/DwCoDLMNak/dUVfUK0f2rQugnlcX/FevWgFQH6gf3autRgHUC+piiXHzAOmtPx9gXgug8itQx9SXwDpw47AGKXZWvXvQmNFCwE3gCXA2dY0Az4GrRzHONA9cU/vAbERsllEOyh31e8USV2mrMPdG9uyn+rDom2/BHHCm5puWKiKmgdtAnz+rvaxO5mNygEvHaZ5BfADuARvAaWBpP4DGFBHfgBngFzClTrUKkCDeA+9S837rAEnbqb7VFcCpVJ/oCmCw959aB1AfAROpudYqgDoOLKRmPyLelAF8bcD4pPoMeAtcB34AT4uDBqXXwFG8XXUU/72MIuK1OgE8Bs6l7mEvo8up7lN1Ge0n9aK6VHMFZvJTr9S3CiALaCQhqZOSvegMIAvu2UVSWpigLC1fbQ0gm6in7qpfLCQbhwGIYcyPQ53/G3YO8BtUtd35bvKcVwAAAABJRU5ErkJggg==)}.taro-video-mute.taro-video-type-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTk6MDMrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAzYjJmNjE2LTZmZTUtNDJjNC1iNTgwLTczNzZjZjI2NzdmNSIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjYzZjQ2NTYzLWE0ZjktOGQ0Mi1hM2FhLTY3ODJhNDBhYWNjMSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjIyYWNjMWFlLTg4ZmMtNDBlZi1iMWM1LTNmODgwY2QzYWI2MiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MjJhY2MxYWUtODhmYy00MGVmLWIxYzUtM2Y4ODBjZDNhYjYyIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE5OjAzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDNiMmY2MTYtNmZlNS00MmM0LWI1ODAtNzM3NmNmMjY3N2Y1IiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;position:absolute;top:0;bottom:0;left:0;overflow:visible}.taro-video-danmu-item{color:#fff;white-space:nowrap;line-height:1;-webkit-transition-property:left,-webkit-transform;transition-property:left,-webkit-transform;transition-property:left,transform;transition-property:left,transform,-webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear;position:absolute;left:100%;-webkit-transform:translate(0);transform:translate(0)}.taro-video-toast{visibility:hidden;pointer-events:none;color:#000;background-color:rgba(255,255,255,.8);border-radius:5px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{text-align:center;width:100%;margin-top:10px;font-size:12px;line-height:16px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvEgsInaBVcxLaAvr6sgJLtBWeNTrOB+4w2p8DRvoEnAPcXTVaY70QAbrbXwIONX7zBSAL/tvrk1+iviTllnRry2irr/QSEws4D7izCxMg1XQLLAQGGXpeCkw22kOWI49RMUujCJC+uwAfGtfcImAng4AtAMsBeg04pIkESOfbgQsMsNoGnxrtSrfv7rXrSlwXWN6kLZBgEBiB8iWUUZZPIN/AF1nMoiYSICDfAlt5iB4CxhpAzwXuMtqPBuY1lYB5wFEeqFeAwwyguvIUqvuiQO/xphJwP3Cmhyh0EKrOoGDIF7n+M5pKwEwXrqdBCaQSM77Ig7SSIicDs5pKwIvACA+pzFwZIF9OlKm36QyQV7jEqDDJk5VD58uFgGIGX1Se+6yJFqAKsqI6X84GdDb4Mh0Y5zUqjFYFakUTCXja5QLSmBQHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-position:50%;background-repeat:no-repeat;background-size:50%;width:50%;height:50%;margin-left:25%;display:block}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;background-color:#000;width:7.1px;height:5px}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{color:#fff;background-color:rgba(0,0,0,.8);padding:6px;font-size:14px;line-height:18px}';var m=e("taro_video_core",function(){function e(e){var r=this;i(this,e);this.onPlay=s(this,"play",7);this.onPause=s(this,"pause",7);this.onEnded=s(this,"ended",7);this.onTimeUpdate=s(this,"timeupdate",7);this.onError=s(this,"error",7);this.onFullScreenChange=s(this,"fullscreenchange",7);this.onProgress=s(this,"progress",7);this.onLoadedMetaData=s(this,"loadedmetadata",7);this.currentTime=0;this.isDraggingProgress=false;this.gestureType="none";this.analyzeGesture=function(e){var t;var i={type:"none"};var n=e.touches[0].screenX;var o=e.touches[0].screenY;var s=n-r.lastTouchScreenX;var a=o-r.lastTouchScreenY;var l=r.isFullScreen?r.vslideGestureInFullscreen:r.vslideGesture;if(r.gestureType==="none"){var u=d(s,a);if(u<10)return i;if(Math.abs(a)>=Math.abs(s)){if(l){r.gestureType="adjustVolume";r.lastVolume=r.videoRef.volume}else{return i}}else if(Math.abs(a)<Math.abs(s)){if(r.enableProgressGesture){r.gestureType="adjustProgress";r.lastPercentage=r.currentTime/((t=r.duration)!==null&&t!==void 0?t:r._duration)}else{return i}}}i.type=r.gestureType;i.dataX=h(s/200);i.dataY=h(a/200);return i};this.loadNativePlayer=function(){var e,t;if(r.videoRef){r.videoRef.src=r.src;(t=(e=r.videoRef).load)===null||t===void 0?void 0:t.call(e)}};this.init=function(){var e=r,i=e.src,n=e.videoRef;if(p(i)){t.import("hls.js").then((function(e){var t=e.default;r.HLS=t;if(t.isSupported()){if(r.hls){r.hls.destroy()}r.hls=new t;r.hls.loadSource(i);r.hls.attachMedia(n);r.hls.on(t.Events.MANIFEST_PARSED,(function(){r.autoplay&&r.play()}));r.hls.on(t.Events.ERROR,(function(e,t){r.handleError(t)}))}else if(n.canPlayType("application/vnd.apple.mpegurl")){r.loadNativePlayer()}else{console.error("该浏览器不支持 HLS 播放")}}))}else{r.loadNativePlayer()}};this.handlePlay=function(){r.isPlaying=true;r.isFirst=false;r.controlsRef.toggleVisibility(true);r.onPlay.emit()};this.handlePause=function(){r.isPlaying=false;r.controlsRef.toggleVisibility(true);r.onPause.emit()};this.handleEnded=function(){r.isFirst=true;r.pause();r.controlsRef.toggleVisibility();r.onEnded.emit()};this.handleTimeUpdate=u((function(e){return __awaiter(r,void 0,void 0,(function(){var t,i,r,n;return __generator(this,(function(o){switch(o.label){case 0:this.currentTime=this.videoRef.currentTime;r=this.duration||this._duration;return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:n=o.sent();if(this.controls&&this.showProgress){if(!n&&!this.isDraggingProgress){this.controlsRef.setProgressBall(this.currentTime/r);this.controlsRef.setCurrentTime(this.currentTime)}}this.danmuRef.tick(this.currentTime);this.onTimeUpdate.emit({duration:(t=e.target)===null||t===void 0?void 0:t.duration,currentTime:(i=e.target)===null||i===void 0?void 0:i.currentTime});if(this.duration){if(this.currentTime>=this.duration){this.seek(0);this.handleEnded()}}return[2]}}))}))}),250);this.handleError=function(e){var t,i;if(r.hls){switch(e.type){case r.HLS.ErrorTypes.NETWORK_ERROR:r.onError.emit({errMsg:e.response});r.hls.startLoad();break;case r.HLS.ErrorTypes.MEDIA_ERROR:r.onError.emit({errMsg:e.reason||"媒体错误,请重试"});r.hls.recoverMediaError();break}}else{r.onError.emit({errMsg:(i=(t=e.target)===null||t===void 0?void 0:t.error)===null||i===void 0?void 0:i.message})}};this.handleDurationChange=function(){r._duration=r.videoRef.duration};this.handleProgress=function(){r.onProgress.emit()};this.handleLoadedMetaData=function(e){var t=e.target;r.onLoadedMetaData.emit({width:t.videoWidth,height:t.videoHeight,duration:t.duration})};this._play=function(){return r.videoRef.play()};this._pause=function(){return r.videoRef.pause()};this._stop=function(){r.videoRef.pause();r._seek(0)};this._seek=function(e){r.videoRef.currentTime=e};this.onTouchStartContainer=function(e){r.lastTouchScreenX=e.touches[0].screenX;r.lastTouchScreenY=e.touches[0].screenY};this.onClickContainer=function(){if(r.enablePlayGesture){var e=Date.now();if(e-r.lastClickedTime<300){r.isPlaying?r.pause():r.play()}r.lastClickedTime=e}r.controlsRef.toggleVisibility()};this.onClickFullScreenBtn=function(e){e.stopPropagation();r.toggleFullScreen()};this.handleFullScreenChange=function(e){var t=(new Date).getTime();if(!e.detail&&r.isFullScreen&&!document[f.fullscreenElement]&&t-r.fullScreenTimestamp>100){r.toggleFullScreen(false,true)}};this.toggleFullScreen=function(e,t){if(e===void 0){e=!r.isFullScreen}if(t===void 0){t=false}r.isFullScreen=e;r.controlsRef.toggleVisibility(true);r.fullScreenTimestamp=(new Date).getTime();r.onFullScreenChange.emit({fullScreen:r.isFullScreen,direction:"vertical"});if(r.isFullScreen&&!document[f.fullscreenElement]){setTimeout((function(){r.videoRef[f.requestFullscreen]({navigationUI:"auto"});a.eventCenter.trigger("__taroEnterFullScreen",{})}),0)}else{if(!t){document[f.exitFullscreen]()}a.eventCenter.trigger("__taroExitFullScreen",{})}};this.toggleMute=function(e){e.stopPropagation();r.videoRef.muted=!r.isMute;r.controlsRef.toggleVisibility(true);r.isMute=!r.isMute};this.toggleDanmu=function(e){e.stopPropagation();r.controlsRef.toggleVisibility(true);r._enableDanmu=!r._enableDanmu};this.src=undefined;this.duration=undefined;this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.initialTime=0;this.poster=undefined;this.objectFit="contain";this.showProgress=true;this.showFullscreenBtn=true;this.showPlayBtn=true;this.showCenterPlayBtn=true;this.showMuteBtn=false;this.danmuList=undefined;this.danmuBtn=false;this.enableDanmu=false;this.enablePlayGesture=false;this.enableProgressGesture=true;this.vslideGesture=false;this.vslideGestureInFullscreen=true;this.nativeProps={};this._duration=undefined;this._enableDanmu=false;this.isPlaying=false;this.isFirst=true;this.isFullScreen=false;this.fullScreenTimestamp=(new Date).getTime();this.isMute=false}e.prototype.componentWillLoad=function(){this._enableDanmu=this.enableDanmu;this.isMute=this.muted};e.prototype.componentDidLoad=function(){var e,t;this.init();if(this.initialTime){this.videoRef.currentTime=this.initialTime}(t=(e=this.danmuRef).sendDanmu)===null||t===void 0?void 0:t.call(e,this.danmuList);if(document.addEventListener){document.addEventListener(f.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&g==="iOS"){this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.componentDidRender=function(){};e.prototype.disconnectedCallback=function(){if(document.removeEventListener){document.removeEventListener(f.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&g==="iOS"){this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.watchEnableDanmu=function(e){this._enableDanmu=e};e.prototype.watchSrc=function(){this.init()};e.prototype.onDocumentTouchMove=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r;return __generator(this,(function(n){switch(n.label){case 0:if(this.lastTouchScreenX===undefined||this.lastTouchScreenY===undefined)return[2];return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:if(n.sent())return[2];t=this.analyzeGesture(e);if(t.type==="adjustVolume"){this.toastVolumeRef.style.visibility="visible";i=Math.max(Math.min(this.lastVolume-t.dataY,1),0);this.videoRef.volume=i;this.toastVolumeBarRef.style.width="".concat(i*100,"%")}else if(t.type==="adjustProgress"){this.isDraggingProgress=true;this.nextPercentage=Math.max(Math.min(this.lastPercentage+(t.dataX||0),1),0);if(this.controls&&this.showProgress){this.controlsRef.setProgressBall(this.nextPercentage);this.controlsRef.toggleVisibility(true)}r=this.duration||this._duration;this.toastProgressTitleRef.innerHTML="".concat(c(this.nextPercentage*r)," / ").concat(c(r));this.toastProgressRef.style.visibility="visible"}return[2]}}))}))};e.prototype.onDocumentTouchEnd=function(){var e;if(this.gestureType==="adjustVolume"){this.toastVolumeRef.style.visibility="hidden"}else if(this.gestureType==="adjustProgress"){this.toastProgressRef.style.visibility="hidden"}if(this.isDraggingProgress){this.isDraggingProgress=false;this.seek(this.nextPercentage*((e=this.duration)!==null&&e!==void 0?e:this._duration))}this.gestureType="none";this.lastTouchScreenX=undefined;this.lastTouchScreenY=undefined};e.prototype.getHlsObject=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.hls]}))}))};e.prototype.play=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._play();return[2]}))}))};e.prototype.pause=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._pause();return[2]}))}))};e.prototype.stop=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._stop();return[2]}))}))};e.prototype.seek=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this._seek(e);return[2]}))}))};e.prototype.requestFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(true);return[2]}))}))};e.prototype.exitFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(false);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,o=t.autoplay,s=t.loop,a=t.muted,u=t.poster,d=t.objectFit,h=t.isFirst,g=t.isMute,f=t.isFullScreen,p=t.showCenterPlayBtn,A=t.isPlaying,v=t._enableDanmu,m=t.showMuteBtn,b=t.danmuBtn,y=t.showFullscreenBtn,w=t.nativeProps;var E=this.duration||this._duration;var T=c(E);return r(n,{class:l("taro-video-container",{"taro-video-type-fullscreen":f}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},r("video",Object.assign({class:"taro-video-video",style:{"object-fit":d},ref:function(t){if(t){e.videoRef=t}},autoplay:o,loop:s,muted:a,poster:i?u:undefined,playsinline:true,"webkit-playsinline":true,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onTimeUpdate:this.handleTimeUpdate,onError:this.handleError,onDurationChange:this.handleDurationChange,onProgress:this.handleProgress,onLoadedMetaData:this.handleLoadedMetaData},w),"暂时不支持播放该视频"),r("taro-video-danmu",{ref:function(t){if(t){e.danmuRef=t}},enable:v}),h&&p&&!A&&r("div",{class:"taro-video-cover"},r("div",{class:"taro-video-cover-play-button",onClick:function(){return e.play()}}),r("p",{class:"taro-video-cover-duration"},T)),r("taro-video-control",{ref:function(t){if(t){e.controlsRef=t}},controls:i,currentTime:this.currentTime,duration:E,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},m&&r("div",{class:l("taro-video-mute",{"taro-video-type-mute":g}),onClick:this.toggleMute}),b&&r("div",{class:l("taro-video-danmu-button",{"taro-video-danmu-button-active":v}),onClick:this.toggleDanmu},"弹幕"),y&&r("div",{class:l("taro-video-fullscreen",{"taro-video-type-fullscreen":f}),onClick:this.onClickFullScreenBtn})),r("div",{class:"taro-video-toast taro-video-toast-volume",ref:function(t){if(t){e.toastVolumeRef=t}}},r("div",{class:"taro-video-toast-title"},"音量"),r("div",{class:"taro-video-toast-icon"}),r("div",{class:"taro-video-toast-value"},r("div",{class:"taro-video-toast-value-content",ref:function(t){if(t){e.toastVolumeBarRef=t}}},r("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((function(){return r("div",{class:"taro-video-toast-volume-grids-item"})})))))),r("div",{class:"taro-video-toast taro-video-toast-progress",ref:function(t){if(t){e.toastProgressRef=t}}},r("div",{class:"taro-video-toast-title",ref:function(t){if(t){e.toastProgressTitleRef=t}}})))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{enableDanmu:["watchEnableDanmu"],src:["watchSrc"]}},enumerable:false,configurable:true});return e}());m.style=v;var b=e("taro_video_danmu",function(){function e(e){i(this,e);this.list=[];this.danmuElList=[];this.currentTime=0;this.enable=false;this.danmuList=[]}e.prototype.ensureProperties=function(e){var t=Object.assign({},e);if(!("time"in e)){t.time=this.currentTime}t.key=Math.random();t.bottom="".concat(Math.random()*90+5,"%");return t};e.prototype.sendDanmu=function(e){if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){if(Array.isArray(e)){this.list=__spreadArray(__spreadArray([],this.list,true),e.map((function(e){return i.ensureProperties(e)})),true)}else{t=e;this.list=__spreadArray(__spreadArray([],this.list,true),[Object.assign({},this.ensureProperties(t))],false)}return[2]}))}))};e.prototype.tick=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r,n;return __generator(this,(function(o){this.currentTime=e;if(!this.enable)return[2];t=this.list;i=t.filter((function(t){var i=t.time;return e-i<4&&e>i}));r=false;n=this.danmuList;if(i.length!==n.length){r=true}else{r=i.some((function(e){var t=e.key;return n.every((function(e){return t!==e.key}))}))}if(r){this.danmuList=i}return[2]}))}))};e.prototype.componentDidUpdate=function(){var e=this;requestAnimationFrame((function(){setTimeout((function(){var t=e.danmuElList.splice(0);t.forEach((function(e){e.style.left="0";e.style.webkitTransform="translateX(-100%)";e.style.transform="translateX(-100%)"}))}))}))};e.prototype.render=function(){var e=this;if(!this.enable)return"";return r(n,{class:"taro-video-danmu"},this.danmuList.map((function(t){var i=t.text,n=t.color,o=t.bottom,s=t.key;return r("p",{class:"taro-video-danmu-item",key:s,style:{color:n,bottom:o},ref:function(t){if(t){e.danmuElList.push(t)}}},i)})))};return e}())}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,a)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,n,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(i=0)),i)try{if(r=1,n&&(o=a[0]&2?n["return"]:a[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;if(n=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;n=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(a[0]===6&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}if(o[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,o;r<n;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};System.register(["./p-88de70df.system.js","@tarojs/taro","./p-443b9a72.system.js","./p-010faa87.system.js"],(function(e,t){"use strict";var i,r,n,o,s,a,l,u;return{setters:[function(e){i=e.r;r=e.h;n=e.H;o=e.g;s=e.c},function(e){a=e.default},function(e){l=e.c},function(e){u=e.t}],execute:function(){var c=function(e){if(!e)return"";var t=Math.round(e%60);var i=Math.round((e-t)/60);return"".concat(i<10?"0".concat(i):i,":").concat(t<10?"0".concat(t):t)};var d=function(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))};var h=function(e){return Math.max(-1,Math.min(e,1))};var g="default";var f=function(){var e;var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var i=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];var r=0;var n=t.length;var o={};for(;r<n;r++){e=t[r];if(e&&e[1]in document){for(r=0;r<e.length;r++){o[t[0][r]]=e[r]}return o}}if(!o[t[0][0]]){g="iOS";for(r=0;r<i.length;r++){o[t[0][r]]=i[r]}}return o}();var p=function(e){return/\.(m3u8)($|\?)/i.test(e)};var A=e("taro_video_control",function(){function e(e){var t=this;i(this,e);this.visible=false;this.isDraggingProgressBall=false;this.percentage=0;this.progressDimensions={left:0,width:0};this.calcPercentage=function(e){var i=e-t.progressDimensions.left;i=Math.max(i,0);i=Math.min(i,t.progressDimensions.width);return i/t.progressDimensions.width};this.onDragProgressBallStart=function(){t.isDraggingProgressBall=true;t.hideControlsTimer&&clearTimeout(t.hideControlsTimer)};this.onClickProgress=function(e){e.stopPropagation();var i=t.calcPercentage(e.pageX);t.seekFunc(i*t.duration);t.toggleVisibility(true)};this.controls=undefined;this.currentTime=undefined;this.duration=undefined;this.isPlaying=undefined;this.pauseFunc=undefined;this.playFunc=undefined;this.seekFunc=undefined;this.showPlayBtn=undefined;this.showProgress=undefined}e.prototype.onDocumentTouchMove=function(e){if(!this.isDraggingProgressBall)return;var t=e.touches[0].pageX;this.percentage=this.calcPercentage(t);this.setProgressBall(this.percentage);this.setCurrentTime(this.percentage*this.duration)};e.prototype.onDocumentTouchEnd=function(){if(!this.isDraggingProgressBall)return;this.isDraggingProgressBall=false;this.seekFunc(this.percentage*this.duration);this.toggleVisibility(true)};e.prototype.setProgressBall=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.progressBallRef){this.progressBallRef.style.left="".concat(e*100,"%")}return[2]}))}))};e.prototype.toggleVisibility=function(e){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){t=e===undefined?!this.visible:e;if(t){this.hideControlsTimer&&clearTimeout(this.hideControlsTimer);if(this.isPlaying){this.hideControlsTimer=setTimeout((function(){i.toggleVisibility(false)}),2e3)}this.el.style.visibility="visible"}else{this.el.style.visibility="hidden"}this.visible=!!t;return[2]}))}))};e.prototype.getIsDraggingProgressBall=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.isDraggingProgressBall]}))}))};e.prototype.setCurrentTime=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentTimeRef.innerHTML=c(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,o=t.currentTime,s=t.duration,a=t.isPlaying,l=t.pauseFunc,u=t.playFunc,d=t.showPlayBtn,h=t.showProgress;var g=c(s);var f;if(!d){f=null}else if(a){f=r("div",{class:"taro-video-control-button taro-video-control-button-pause",onClick:l})}else{f=r("div",{class:"taro-video-control-button taro-video-control-button-play",onClick:u})}return r(n,{class:"taro-video-bar taro-video-bar-full"},i&&r("div",{class:"taro-video-controls"},f,h&&r("div",{class:"taro-video-current-time",ref:function(t){return e.currentTimeRef=t}},c(o)),h&&r("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},r("div",{class:"taro-video-progress",ref:function(t){if(!t)return;var i=t.getBoundingClientRect();e.progressDimensions.left=i.left;e.progressDimensions.width=i.width}},r("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),r("div",{class:"taro-video-ball",ref:function(t){return e.progressBallRef=t},onTouchStart:this.onDragProgressBallStart,style:{left:"".concat(g?this.currentTime/s*100:0,"%")}},r("div",{class:"taro-video-inner"})))),h&&r("div",{class:"taro-video-duration"},g)),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());var v='.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{-o-object-position:inherit;object-position:inherit;background-color:#000;width:100%;height:100%;display:inline-block;position:absolute;top:0;left:0}.taro-video-container.taro-video-type-fullscreen{z-index:999;position:fixed;inset:0}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%,-50%)rotate(-90deg);transform:translate(-50%,-50%)rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%,-50%)rotate(90deg);transform:translate(-50%,-50%)rotate(90deg)}.taro-video-video{-o-object-position:inherit;object-position:inherit;width:100%;height:100%;display:block}.taro-video-cover{z-index:1;background-color:rgba(1,1,1,.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;top:0;bottom:0;left:0}.taro-video-cover-play-button{background-position:50%;background-repeat:no-repeat;background-size:50%;width:40px;height:40px}.taro-video-cover-duration{color:#fff;margin-top:10px;font-size:16px;line-height:1}.taro-video-bar{visibility:hidden;z-index:1;background-color:rgba(0,0,0,.5);-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:44px;padding:0 10px;display:-ms-flexbox;display:flex;position:absolute;bottom:0;right:0;overflow:hidden}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px;display:-ms-flexbox;display:flex}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;width:13px;height:15px;margin-left:-8.5px;padding:14.5px 12.5px}.taro-video-control-button:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:100%;width:100%;height:100%;display:block}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{color:#cbcbcb;height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;line-height:14.5px}.taro-video-progress-container{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;position:relative}.taro-video-progress{background-color:rgba(255,255,255,.4);height:2px;margin:21px 12px;position:relative}.taro-video-progress-buffered{background-color:rgba(255,255,255,.8);width:0;height:100%;-webkit-transition:width .1s;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{-webkit-box-sizing:content-box;box-sizing:content-box;width:16px;height:16px;margin-left:-22px;padding:14px;position:absolute;top:-21px;left:0}.taro-video-inner{background-color:#fff;border-radius:50%;width:100%;height:100%}.taro-video-danmu-button{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;margin:0 8.5px;padding:2px 10px;font-size:13px;line-height:1}.taro-video-danmu-button.taro-video-danmu-button-active{color:#48c23d;border-color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;background-position:50%;background-repeat:no-repeat;background-size:50%;width:17px;height:17px;padding:8.5px}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=)}.taro-video-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTg6MjArMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk3YmE4Yjg0LTFhNTYtNGM1MS04NDVkLTNiZmYyMGI0ZDc0ZiIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjg1NGQ3MjlkLWUwNjctZjU0OC1hMTlhLTBlZjQ4OGRkYjJiOSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjA1ODY3ZDFlLWQ3NGEtNDgyNC04MDU3LTYzYmRmMTdjODk5ZSI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDU4NjdkMWUtZDc0YS00ODI0LTgwNTctNjNiZGYxN2M4OTllIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE4OjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTdiYThiODQtMWE1Ni00YzUxLTg0NWQtM2JmZjIwYjRkNzRmIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz459+FoAAABqElEQVRYhc2XPWsVQRSGnxPjF4oGRfxoRQKGWCU2Ft7CykrQWosEyf/If0hhIPgHDEmbNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/DwCoDLMNak/dUVfUK0f2rQugnlcX/FevWgFQH6gf3autRgHUC+piiXHzAOmtPx9gXgug8itQx9SXwDpw47AGKXZWvXvQmNFCwE3gCXA2dY0Az4GrRzHONA9cU/vAbERsllEOyh31e8USV2mrMPdG9uyn+rDom2/BHHCm5puWKiKmgdtAnz+rvaxO5mNygEvHaZ5BfADuARvAaWBpP4DGFBHfgBngFzClTrUKkCDeA+9S837rAEnbqb7VFcCpVJ/oCmCw959aB1AfAROpudYqgDoOLKRmPyLelAF8bcD4pPoMeAtcB34AT4uDBqXXwFG8XXUU/72MIuK1OgE8Bs6l7mEvo8up7lN1Ge0n9aK6VHMFZvJTr9S3CiALaCQhqZOSvegMIAvu2UVSWpigLC1fbQ0gm6in7qpfLCQbhwGIYcyPQ53/G3YO8BtUtd35bvKcVwAAAABJRU5ErkJggg==)}.taro-video-mute.taro-video-type-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTk6MDMrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAzYjJmNjE2LTZmZTUtNDJjNC1iNTgwLTczNzZjZjI2NzdmNSIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjYzZjQ2NTYzLWE0ZjktOGQ0Mi1hM2FhLTY3ODJhNDBhYWNjMSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjIyYWNjMWFlLTg4ZmMtNDBlZi1iMWM1LTNmODgwY2QzYWI2MiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MjJhY2MxYWUtODhmYy00MGVmLWIxYzUtM2Y4ODBjZDNhYjYyIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE5OjAzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDNiMmY2MTYtNmZlNS00MmM0LWI1ODAtNzM3NmNmMjY3N2Y1IiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;position:absolute;top:0;bottom:0;left:0;overflow:visible}.taro-video-danmu-item{color:#fff;white-space:nowrap;line-height:1;-webkit-transition-property:left,-webkit-transform;transition-property:left,-webkit-transform;transition-property:left,transform;transition-property:left,transform,-webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear;position:absolute;left:100%;-webkit-transform:translate(0);transform:translate(0)}.taro-video-toast{visibility:hidden;pointer-events:none;color:#000;background-color:rgba(255,255,255,.8);border-radius:5px;display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{text-align:center;width:100%;margin-top:10px;font-size:12px;line-height:16px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvEgsInaBVcxLaAvr6sgJLtBWeNTrOB+4w2p8DRvoEnAPcXTVaY70QAbrbXwIONX7zBSAL/tvrk1+iviTllnRry2irr/QSEws4D7izCxMg1XQLLAQGGXpeCkw22kOWI49RMUujCJC+uwAfGtfcImAng4AtAMsBeg04pIkESOfbgQsMsNoGnxrtSrfv7rXrSlwXWN6kLZBgEBiB8iWUUZZPIN/AF1nMoiYSICDfAlt5iB4CxhpAzwXuMtqPBuY1lYB5wFEeqFeAwwyguvIUqvuiQO/xphJwP3Cmhyh0EKrOoGDIF7n+M5pKwEwXrqdBCaQSM77Ig7SSIicDs5pKwIvACA+pzFwZIF9OlKm36QyQV7jEqDDJk5VD58uFgGIGX1Se+6yJFqAKsqI6X84GdDb4Mh0Y5zUqjFYFakUTCXja5QLSmBQHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-position:50%;background-repeat:no-repeat;background-size:50%;width:50%;height:50%;margin-left:25%;display:block}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;background-color:#000;width:7.1px;height:5px}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{color:#fff;background-color:rgba(0,0,0,.8);padding:6px;font-size:14px;line-height:18px}';var m=e("taro_video_core",function(){function e(e){var r=this;i(this,e);this.onPlay=s(this,"play",7);this.onPause=s(this,"pause",7);this.onEnded=s(this,"ended",7);this.onTimeUpdate=s(this,"timeupdate",7);this.onError=s(this,"error",7);this.onFullScreenChange=s(this,"fullscreenchange",7);this.onProgress=s(this,"progress",7);this.onLoadedMetaData=s(this,"loadedmetadata",7);this.currentTime=0;this.isDraggingProgress=false;this.gestureType="none";this.analyzeGesture=function(e){var t;var i={type:"none"};var n=e.touches[0].screenX;var o=e.touches[0].screenY;var s=n-r.lastTouchScreenX;var a=o-r.lastTouchScreenY;var l=r.isFullScreen?r.vslideGestureInFullscreen:r.vslideGesture;if(r.gestureType==="none"){var u=d(s,a);if(u<10)return i;if(Math.abs(a)>=Math.abs(s)){if(l){r.gestureType="adjustVolume";r.lastVolume=r.videoRef.volume}else{return i}}else if(Math.abs(a)<Math.abs(s)){if(r.enableProgressGesture){r.gestureType="adjustProgress";r.lastPercentage=r.currentTime/((t=r.duration)!==null&&t!==void 0?t:r._duration)}else{return i}}}i.type=r.gestureType;i.dataX=h(s/200);i.dataY=h(a/200);return i};this.loadNativePlayer=function(){var e,t;if(r.videoRef){r.videoRef.src=r.src;(t=(e=r.videoRef).load)===null||t===void 0?void 0:t.call(e)}};this.init=function(){var e=r,i=e.src,n=e.videoRef;if(p(i)){t.import("hls.js").then((function(e){var t=e.default;r.HLS=t;if(t.isSupported()){if(r.hls){r.hls.destroy()}r.hls=new t;r.hls.loadSource(i);r.hls.attachMedia(n);r.hls.on(t.Events.MANIFEST_PARSED,(function(){r.autoplay&&r.play()}));r.hls.on(t.Events.ERROR,(function(e,t){r.handleError(t)}))}else if(n.canPlayType("application/vnd.apple.mpegurl")){r.loadNativePlayer()}else{console.error("该浏览器不支持 HLS 播放")}}))}else{r.loadNativePlayer()}};this.handlePlay=function(){r.isPlaying=true;r.isFirst=false;r.controlsRef.toggleVisibility(true);r.onPlay.emit()};this.handlePause=function(){r.isPlaying=false;r.controlsRef.toggleVisibility(true);r.onPause.emit()};this.handleEnded=function(){r.isFirst=true;r.pause();r.controlsRef.toggleVisibility();r.onEnded.emit()};this.handleTimeUpdate=u((function(e){return __awaiter(r,void 0,void 0,(function(){var t,i,r,n;return __generator(this,(function(o){switch(o.label){case 0:this.currentTime=this.videoRef.currentTime;r=this.duration||this._duration;return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:n=o.sent();if(this.controls&&this.showProgress){if(!n&&!this.isDraggingProgress){this.controlsRef.setProgressBall(this.currentTime/r);this.controlsRef.setCurrentTime(this.currentTime)}}this.danmuRef.tick(this.currentTime);this.onTimeUpdate.emit({duration:(t=e.target)===null||t===void 0?void 0:t.duration,currentTime:(i=e.target)===null||i===void 0?void 0:i.currentTime});if(this.duration){if(this.currentTime>=this.duration){this.seek(0);this.handleEnded()}}return[2]}}))}))}),250);this.handleError=function(e){var t,i;if(r.hls){switch(e.type){case r.HLS.ErrorTypes.NETWORK_ERROR:r.onError.emit({errMsg:e.response});r.hls.startLoad();break;case r.HLS.ErrorTypes.MEDIA_ERROR:r.onError.emit({errMsg:e.reason||"媒体错误,请重试"});r.hls.recoverMediaError();break}}else{r.onError.emit({errMsg:(i=(t=e.target)===null||t===void 0?void 0:t.error)===null||i===void 0?void 0:i.message})}};this.handleDurationChange=function(){r._duration=r.videoRef.duration};this.handleProgress=function(){r.onProgress.emit()};this.handleLoadedMetaData=function(e){var t=e.target;r.onLoadedMetaData.emit({width:t.videoWidth,height:t.videoHeight,duration:t.duration})};this._play=function(){return r.videoRef.play()};this._pause=function(){return r.videoRef.pause()};this._stop=function(){r.videoRef.pause();r._seek(0)};this._seek=function(e){r.videoRef.currentTime=e};this.onTouchStartContainer=function(e){r.lastTouchScreenX=e.touches[0].screenX;r.lastTouchScreenY=e.touches[0].screenY};this.onClickContainer=function(){if(r.enablePlayGesture){var e=Date.now();if(e-r.lastClickedTime<300){r.isPlaying?r.pause():r.play()}r.lastClickedTime=e}r.controlsRef.toggleVisibility()};this.onClickFullScreenBtn=function(e){e.stopPropagation();r.toggleFullScreen()};this.handleFullScreenChange=function(e){var t=(new Date).getTime();if(!e.detail&&r.isFullScreen&&!document[f.fullscreenElement]&&t-r.fullScreenTimestamp>100){r.toggleFullScreen(false,true)}};this.toggleFullScreen=function(e,t){if(e===void 0){e=!r.isFullScreen}if(t===void 0){t=false}r.isFullScreen=e;r.controlsRef.toggleVisibility(true);r.fullScreenTimestamp=(new Date).getTime();r.onFullScreenChange.emit({fullScreen:r.isFullScreen,direction:"vertical"});if(r.isFullScreen&&!document[f.fullscreenElement]){setTimeout((function(){r.videoRef[f.requestFullscreen]({navigationUI:"auto"});a.eventCenter.trigger("__taroEnterFullScreen",{})}),0)}else{if(!t){document[f.exitFullscreen]()}a.eventCenter.trigger("__taroExitFullScreen",{})}};this.toggleMute=function(e){e.stopPropagation();r.videoRef.muted=!r.isMute;r.controlsRef.toggleVisibility(true);r.isMute=!r.isMute};this.toggleDanmu=function(e){e.stopPropagation();r.controlsRef.toggleVisibility(true);r._enableDanmu=!r._enableDanmu};this.src=undefined;this.duration=undefined;this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.initialTime=0;this.poster=undefined;this.objectFit="contain";this.showProgress=true;this.showFullscreenBtn=true;this.showPlayBtn=true;this.showCenterPlayBtn=true;this.showMuteBtn=false;this.danmuList=undefined;this.danmuBtn=false;this.enableDanmu=false;this.enablePlayGesture=false;this.enableProgressGesture=true;this.vslideGesture=false;this.vslideGestureInFullscreen=true;this.nativeProps={};this._duration=undefined;this._enableDanmu=false;this.isPlaying=false;this.isFirst=true;this.isFullScreen=false;this.fullScreenTimestamp=(new Date).getTime();this.isMute=false}e.prototype.componentWillLoad=function(){this._enableDanmu=this.enableDanmu;this.isMute=this.muted};e.prototype.componentDidLoad=function(){var e,t;this.init();if(this.initialTime){this.videoRef.currentTime=this.initialTime}(t=(e=this.danmuRef).sendDanmu)===null||t===void 0?void 0:t.call(e,this.danmuList);if(document.addEventListener){document.addEventListener(f.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&g==="iOS"){this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.componentDidRender=function(){};e.prototype.disconnectedCallback=function(){if(document.removeEventListener){document.removeEventListener(f.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&g==="iOS"){this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.watchEnableDanmu=function(e){this._enableDanmu=e};e.prototype.watchSrc=function(){this.init()};e.prototype.onDocumentTouchMove=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r;return __generator(this,(function(n){switch(n.label){case 0:if(this.lastTouchScreenX===undefined||this.lastTouchScreenY===undefined)return[2];return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:if(n.sent())return[2];t=this.analyzeGesture(e);if(t.type==="adjustVolume"){this.toastVolumeRef.style.visibility="visible";i=Math.max(Math.min(this.lastVolume-t.dataY,1),0);this.videoRef.volume=i;this.toastVolumeBarRef.style.width="".concat(i*100,"%")}else if(t.type==="adjustProgress"){this.isDraggingProgress=true;this.nextPercentage=Math.max(Math.min(this.lastPercentage+(t.dataX||0),1),0);if(this.controls&&this.showProgress){this.controlsRef.setProgressBall(this.nextPercentage);this.controlsRef.toggleVisibility(true)}r=this.duration||this._duration;this.toastProgressTitleRef.innerHTML="".concat(c(this.nextPercentage*r)," / ").concat(c(r));this.toastProgressRef.style.visibility="visible"}return[2]}}))}))};e.prototype.onDocumentTouchEnd=function(){var e;if(this.gestureType==="adjustVolume"){this.toastVolumeRef.style.visibility="hidden"}else if(this.gestureType==="adjustProgress"){this.toastProgressRef.style.visibility="hidden"}if(this.isDraggingProgress){this.isDraggingProgress=false;this.seek(this.nextPercentage*((e=this.duration)!==null&&e!==void 0?e:this._duration))}this.gestureType="none";this.lastTouchScreenX=undefined;this.lastTouchScreenY=undefined};e.prototype.getHlsObject=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.hls]}))}))};e.prototype.play=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._play();return[2]}))}))};e.prototype.pause=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._pause();return[2]}))}))};e.prototype.stop=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._stop();return[2]}))}))};e.prototype.seek=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this._seek(e);return[2]}))}))};e.prototype.requestFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(true);return[2]}))}))};e.prototype.exitFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(false);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,o=t.autoplay,s=t.loop,a=t.muted,u=t.poster,d=t.objectFit,h=t.isFirst,g=t.isMute,f=t.isFullScreen,p=t.showCenterPlayBtn,A=t.isPlaying,v=t._enableDanmu,m=t.showMuteBtn,b=t.danmuBtn,y=t.showFullscreenBtn,w=t.nativeProps;var E=this.duration||this._duration;var T=c(E);return r(n,{class:l("taro-video-container",{"taro-video-type-fullscreen":f}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},r("video",Object.assign({class:"taro-video-video",style:{"object-fit":d},ref:function(t){if(t){e.videoRef=t}},autoplay:o,loop:s,muted:a,poster:i?u:undefined,playsinline:true,"webkit-playsinline":true,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onTimeUpdate:this.handleTimeUpdate,onError:this.handleError,onDurationChange:this.handleDurationChange,onProgress:this.handleProgress,onLoadedMetaData:this.handleLoadedMetaData},w),"暂时不支持播放该视频"),r("taro-video-danmu",{ref:function(t){if(t){e.danmuRef=t}},enable:v}),h&&p&&!A&&r("div",{class:"taro-video-cover"},r("div",{class:"taro-video-cover-play-button",onClick:function(){return e.play()}}),r("p",{class:"taro-video-cover-duration"},T)),r("taro-video-control",{ref:function(t){if(t){e.controlsRef=t}},controls:i,currentTime:this.currentTime,duration:E,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},m&&r("div",{class:l("taro-video-mute",{"taro-video-type-mute":g}),onClick:this.toggleMute}),b&&r("div",{class:l("taro-video-danmu-button",{"taro-video-danmu-button-active":v}),onClick:this.toggleDanmu},"弹幕"),y&&r("div",{class:l("taro-video-fullscreen",{"taro-video-type-fullscreen":f}),onClick:this.onClickFullScreenBtn})),r("div",{class:"taro-video-toast taro-video-toast-volume",ref:function(t){if(t){e.toastVolumeRef=t}}},r("div",{class:"taro-video-toast-title"},"音量"),r("div",{class:"taro-video-toast-icon"}),r("div",{class:"taro-video-toast-value"},r("div",{class:"taro-video-toast-value-content",ref:function(t){if(t){e.toastVolumeBarRef=t}}},r("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((function(){return r("div",{class:"taro-video-toast-volume-grids-item"})})))))),r("div",{class:"taro-video-toast taro-video-toast-progress",ref:function(t){if(t){e.toastProgressRef=t}}},r("div",{class:"taro-video-toast-title",ref:function(t){if(t){e.toastProgressTitleRef=t}}})))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{enableDanmu:["watchEnableDanmu"],src:["watchSrc"]}},enumerable:false,configurable:true});return e}());m.style=v;var b=e("taro_video_danmu",function(){function e(e){i(this,e);this.list=[];this.danmuElList=[];this.currentTime=0;this.enable=false;this.danmuList=[]}e.prototype.ensureProperties=function(e){var t=Object.assign({},e);if(!("time"in e)){t.time=this.currentTime}t.key=Math.random();t.bottom="".concat(Math.random()*90+5,"%");return t};e.prototype.sendDanmu=function(e){if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){if(Array.isArray(e)){this.list=__spreadArray(__spreadArray([],this.list,true),e.map((function(e){return i.ensureProperties(e)})),true)}else{t=e;this.list=__spreadArray(__spreadArray([],this.list,true),[Object.assign({},this.ensureProperties(t))],false)}return[2]}))}))};e.prototype.tick=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r,n;return __generator(this,(function(o){this.currentTime=e;if(!this.enable)return[2];t=this.list;i=t.filter((function(t){var i=t.time;return e-i<4&&e>i}));r=false;n=this.danmuList;if(i.length!==n.length){r=true}else{r=i.some((function(e){var t=e.key;return n.every((function(e){return t!==e.key}))}))}if(r){this.danmuList=i}return[2]}))}))};e.prototype.componentDidUpdate=function(){var e=this;requestAnimationFrame((function(){setTimeout((function(){var t=e.danmuElList.splice(0);t.forEach((function(e){e.style.left="0";e.style.webkitTransform="translateX(-100%)";e.style.transform="translateX(-100%)"}))}))}))};e.prototype.render=function(){var e=this;if(!this.enable)return"";return r(n,{class:"taro-video-danmu"},this.danmuList.map((function(t){var i=t.text,n=t.color,o=t.bottom,s=t.key;return r("p",{class:"taro-video-danmu-item",key:s,style:{color:n,bottom:o},ref:function(t){if(t){e.danmuElList.push(t)}}},i)})))};return e}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-75d01c60.system.js"],(function(e){"use strict";var t,i,a,n,r;return{setters:[function(e){t=e.r;i=e.c;a=e.h;n=e.H;r=e.g}],execute:function(){var o=".weui-slider{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:15px 18px}.weui-slider__inner{background-color:#e9e9e9;height:2px;position:relative}.weui-slider__track{background-color:#1aad19;width:0;height:2px}.weui-slider__handler{background-color:#fff;border-radius:50%;width:28px;height:28px;margin-top:-14px;margin-left:-14px;position:absolute;top:50%;left:0;-webkit-box-shadow:0 0 4px rgba(0,0,0,.2);box-shadow:0 0 4px rgba(0,0,0,.2)}.weui-slider-box{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-slider-box .weui-slider{-ms-flex:1;flex:1}.weui-slider-box__value{color:#888;text-align:center;min-width:24px;margin-left:.5em;font-size:14px}";var l=e("taro_slider_core",function(){function e(e){var a=this;t(this,e);this.onChange=i(this,"change",7);this.onChanging=i(this,"changing",7);this.handleTouchStart=function(e){if(a.touching||a.disabled)return;a.touching=true;a.touchId=e.targetTouches[0].identifier;a.totalWidth=a.sliderInsRef.clientWidth||1;a.ogX=e.targetTouches[0].pageX;a.ogPercent=a.percent};this.handleTouchMove=function(e){var t=a,i=t.disabled,n=t.touching,r=t.touchId,o=t.totalWidth,l=t.max,s=t.min,h=t.ogX,u=t.ogPercent;if(!n||i)return;if(e.targetTouches[0].identifier!==r)return;e.preventDefault();var d=e.targetTouches[0].pageX;var c=d-h;var f=c/o*100+u;f=a.handleValueUpdate(f,0,100);var p=s+f*.01*(l-s);a.updateByStep(p);a.onChanging.emit({detail:e.detail,value:a.value})};this.handleTouchEnd=function(e){var t=a,i=t.disabled,n=t.touching;if(!n||i)return;if(a.percent!==a.ogPercent){a.onChange.emit({detail:e.detail,value:a.value})}a.touching=false;a.touchId=null;a.ogX=0;a.ogPercent=0};this.handleValueUpdate=function(e,t,i){if(t===void 0){t=a.min}if(i===void 0){i=a.max}e=isNaN(e)?0:e;return Math.max(t,Math.min(e,i))};this.min=0;this.max=100;this.step=1;this.disabled=false;this.value=0;this.activeColor="#1aad19";this.backgroundColor="#e9e9e9";this.blockSize=28;this.blockColor="#ffffff";this.showValue=false;this.name="";this.totalWidth=1;this.touching=false;this.ogX=0;this.touchId=null;this.percent=0;this.ogPercent=undefined;this.isWillLoadCalled=false}e.prototype.function=function(e){if(!this.isWillLoadCalled)return;var t=this,i=t.max,a=t.min;if(e!==null){var n=this.handleValueUpdate(e,a,i);this.updateByStep(n)}};e.prototype.componentDidLoad=function(){this.handler.addEventListener("touchstart",this.handleTouchStart);this.handler.addEventListener("touchmove",this.handleTouchMove);this.handler.addEventListener("touchend",this.handleTouchEnd)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;var e=this,t=e.value,i=e.max,a=e.min;var n=this.handleValueUpdate(t,a,i);this.updateByStep(n)};e.prototype.updateByStep=function(e){var t=this,i=t.max,a=t.min,n=t.step;var r=Math.floor((i-a)/n);for(var o=0;o<=r;o++){var l=a+n*o;var s=o===r?null:a+n*(o+1);if(e===l)break;if(!s&&e>l){e=l}if(s&&e>l&&e<s){if(e-l<n/2){e=l}else{e=s}break}}var h=(e-a)/(i-a)*100;this.value=e;this.percent=h};e.prototype.render=function(){var e=this;var t=this,i=t.showValue,r=t.backgroundColor,o=t.activeColor,l=t.blockColor,s=t.name,h=t.percent,u=t.value;var d=this.blockSize;var c={backgroundColor:r};var f=h>100?100:h;var p={width:"".concat(f,"%"),backgroundColor:o};if(d<12){d=12}if(d>28){d=28}var g={left:"".concat(f,"%"),width:"".concat(d,"px"),height:"".concat(d,"px"),backgroundColor:l,marginTop:"-".concat(Math.floor(d/2),"px"),marginLeft:"-".concat(Math.floor(d/2),"px")};return a(n,{class:"weui-slider-box"},a("div",{class:"weui-slider"},a("div",{class:"weui-slider__inner",style:c,ref:function(t){return e.sliderInsRef=t}},a("div",{style:p,class:"weui-slider__track"}),a("div",{class:"weui-slider__handler",ref:function(t){if(t)e.handler=t},style:g}),a("input",{type:"hidden",name:s,value:u}))),i&&a("div",{class:"weui-slider-box__value"},u))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["function"]}},enumerable:false,configurable:true});return e}());l.style=o}}}));
1
+ System.register(["./p-88de70df.system.js"],(function(e){"use strict";var t,i,a,n,r;return{setters:[function(e){t=e.r;i=e.c;a=e.h;n=e.H;r=e.g}],execute:function(){var o=".weui-slider{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:15px 18px}.weui-slider__inner{background-color:#e9e9e9;height:2px;position:relative}.weui-slider__track{background-color:#1aad19;width:0;height:2px}.weui-slider__handler{background-color:#fff;border-radius:50%;width:28px;height:28px;margin-top:-14px;margin-left:-14px;position:absolute;top:50%;left:0;-webkit-box-shadow:0 0 4px rgba(0,0,0,.2);box-shadow:0 0 4px rgba(0,0,0,.2)}.weui-slider-box{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-slider-box .weui-slider{-ms-flex:1;flex:1}.weui-slider-box__value{color:#888;text-align:center;min-width:24px;margin-left:.5em;font-size:14px}";var l=e("taro_slider_core",function(){function e(e){var a=this;t(this,e);this.onChange=i(this,"change",7);this.onChanging=i(this,"changing",7);this.handleTouchStart=function(e){if(a.touching||a.disabled)return;a.touching=true;a.touchId=e.targetTouches[0].identifier;a.totalWidth=a.sliderInsRef.clientWidth||1;a.ogX=e.targetTouches[0].pageX;a.ogPercent=a.percent};this.handleTouchMove=function(e){var t=a,i=t.disabled,n=t.touching,r=t.touchId,o=t.totalWidth,l=t.max,s=t.min,h=t.ogX,u=t.ogPercent;if(!n||i)return;if(e.targetTouches[0].identifier!==r)return;e.preventDefault();var d=e.targetTouches[0].pageX;var c=d-h;var f=c/o*100+u;f=a.handleValueUpdate(f,0,100);var p=s+f*.01*(l-s);a.updateByStep(p);a.onChanging.emit({detail:e.detail,value:a.value})};this.handleTouchEnd=function(e){var t=a,i=t.disabled,n=t.touching;if(!n||i)return;if(a.percent!==a.ogPercent){a.onChange.emit({detail:e.detail,value:a.value})}a.touching=false;a.touchId=null;a.ogX=0;a.ogPercent=0};this.handleValueUpdate=function(e,t,i){if(t===void 0){t=a.min}if(i===void 0){i=a.max}e=isNaN(e)?0:e;return Math.max(t,Math.min(e,i))};this.min=0;this.max=100;this.step=1;this.disabled=false;this.value=0;this.activeColor="#1aad19";this.backgroundColor="#e9e9e9";this.blockSize=28;this.blockColor="#ffffff";this.showValue=false;this.name="";this.totalWidth=1;this.touching=false;this.ogX=0;this.touchId=null;this.percent=0;this.ogPercent=undefined;this.isWillLoadCalled=false}e.prototype.function=function(e){if(!this.isWillLoadCalled)return;var t=this,i=t.max,a=t.min;if(e!==null){var n=this.handleValueUpdate(e,a,i);this.updateByStep(n)}};e.prototype.componentDidLoad=function(){this.handler.addEventListener("touchstart",this.handleTouchStart);this.handler.addEventListener("touchmove",this.handleTouchMove);this.handler.addEventListener("touchend",this.handleTouchEnd)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;var e=this,t=e.value,i=e.max,a=e.min;var n=this.handleValueUpdate(t,a,i);this.updateByStep(n)};e.prototype.updateByStep=function(e){var t=this,i=t.max,a=t.min,n=t.step;var r=Math.floor((i-a)/n);for(var o=0;o<=r;o++){var l=a+n*o;var s=o===r?null:a+n*(o+1);if(e===l)break;if(!s&&e>l){e=l}if(s&&e>l&&e<s){if(e-l<n/2){e=l}else{e=s}break}}var h=(e-a)/(i-a)*100;this.value=e;this.percent=h};e.prototype.render=function(){var e=this;var t=this,i=t.showValue,r=t.backgroundColor,o=t.activeColor,l=t.blockColor,s=t.name,h=t.percent,u=t.value;var d=this.blockSize;var c={backgroundColor:r};var f=h>100?100:h;var p={width:"".concat(f,"%"),backgroundColor:o};if(d<12){d=12}if(d>28){d=28}var g={left:"".concat(f,"%"),width:"".concat(d,"px"),height:"".concat(d,"px"),backgroundColor:l,marginTop:"-".concat(Math.floor(d/2),"px"),marginLeft:"-".concat(Math.floor(d/2),"px")};return a(n,{class:"weui-slider-box"},a("div",{class:"weui-slider"},a("div",{class:"weui-slider__inner",style:c,ref:function(t){return e.sliderInsRef=t}},a("div",{style:p,class:"weui-slider__track"}),a("div",{class:"weui-slider__handler",ref:function(t){if(t)e.handler=t},style:g}),a("input",{type:"hidden",name:s,value:u}))),i&&a("div",{class:"weui-slider-box__value"},u))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{value:["function"]}},enumerable:false,configurable:true});return e}());l.style=o}}}));
@@ -0,0 +1 @@
1
+ import{r as a,h as r,H as n}from"./p-d0cabaaa.js";import{n as o}from"./p-dbdb9de9.js";import"@tarojs/taro";const t=class{constructor(r){a(this,r)}componentDidLoad(){o("InlinePaymentPanel",this)}render(){return r(n,null)}};export{t as taro_inline_payment_panel_core}
@@ -1 +1 @@
1
- System.register(["./p-75d01c60.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,r,e;return{setters:[function(t){n=t.r;o=t.h;r=t.H},function(t){e=t.n},function(){}],execute:function(){var c=t("taro_rtc_room_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("RtcRoom",this)};t.prototype.render=function(){return o(r,null)};return t}())}}}));
1
+ System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,r,e;return{setters:[function(t){n=t.r;o=t.h;r=t.H},function(t){e=t.n},function(){}],execute:function(){var c=t("taro_rtc_room_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("RtcRoom",this)};t.prototype.render=function(){return o(r,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-75d01c60.system.js"],(function(e){"use strict";var t,i,r,o;return{setters:[function(e){t=e.r;i=e.c;r=e.h;o=e.g}],execute:function(){var c='.weui-cell_switch{padding-top:6.5px;padding-bottom:6.5px}.weui-switch{-webkit-appearance:none;-moz-appearance:none;appearance:none}.weui-switch,.weui-switch-cp__box{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#dfdfdf;border:1px solid #dfdfdf;border-radius:16px;outline:0;width:52px;height:32px;-webkit-transition:background-color .1s,border .1s;transition:background-color .1s,border .1s;position:relative}.weui-switch:before,.weui-switch-cp__box:before{content:" ";background-color:#fdfdfd;border-radius:15px;width:50px;height:30px;-webkit-transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1), -webkit-transform .35s cubic-bezier(.45,1,.4,1);position:absolute;top:0;left:0}.weui-switch:after,.weui-switch-cp__box:after{content:" ";background-color:#fff;border-radius:15px;width:30px;height:30px;-webkit-transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35), -webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);position:absolute;top:0;left:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 1px 3px rgba(0,0,0,.4)}.weui-switch:checked,.weui-switch-cp__input:checked~.weui-switch-cp__box{background-color:#04be02;border-color:#04be02}.weui-switch:checked:before,.weui-switch-cp__input:checked~.weui-switch-cp__box:before{-webkit-transform:scale(0);transform:scale(0)}.weui-switch:checked:after,.weui-switch-cp__input:checked~.weui-switch-cp__box:after{-webkit-transform:translate(20px);transform:translate(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}taro-switch-core{width:52px;height:32px;display:inline-block}taro-switch-core .weui-switch{width:100%;height:100%;display:block}';var n=e("taro_switch_core",function(){function e(e){var r=this;t(this,e);this.onChange=i(this,"change",7);this.switchChange=function(e){e.stopPropagation();var t=e.target.checked;r.checked=t;r.onChange.emit({value:t})};this.type="switch";this.checked=false;this.color="#04BE02";this.name=undefined;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false}e.prototype.function=function(e){if(!this.isWillLoadCalled)return;if(this.inputRef.checked!==e){this.inputRef.checked=e}};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.checked},configurable:true})};e.prototype.render=function(){var e=this;var t=this,i=t.type,o=t.color,c=t.checked,n=t.name,s=t.disabled,a=t.nativeProps;var b=c?{borderColor:o||"04BE02",backgroundColor:o||"04BE02"}:{};return r("input",Object.assign({ref:function(t){e.inputRef=t},type:"checkbox",class:"weui-".concat(i),style:b,checked:c,name:n,disabled:s,onChange:this.switchChange},a))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["function"]}},enumerable:false,configurable:true});return e}());n.style=c}}}));
1
+ System.register(["./p-88de70df.system.js"],(function(e){"use strict";var t,i,r,o;return{setters:[function(e){t=e.r;i=e.c;r=e.h;o=e.g}],execute:function(){var c='.weui-cell_switch{padding-top:6.5px;padding-bottom:6.5px}.weui-switch{-webkit-appearance:none;-moz-appearance:none;appearance:none}.weui-switch,.weui-switch-cp__box{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#dfdfdf;border:1px solid #dfdfdf;border-radius:16px;outline:0;width:52px;height:32px;-webkit-transition:background-color .1s,border .1s;transition:background-color .1s,border .1s;position:relative}.weui-switch:before,.weui-switch-cp__box:before{content:" ";background-color:#fdfdfd;border-radius:15px;width:50px;height:30px;-webkit-transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:-webkit-transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1);transition:transform .35s cubic-bezier(.45,1,.4,1), -webkit-transform .35s cubic-bezier(.45,1,.4,1);position:absolute;top:0;left:0}.weui-switch:after,.weui-switch-cp__box:after{content:" ";background-color:#fff;border-radius:15px;width:30px;height:30px;-webkit-transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35), -webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);position:absolute;top:0;left:0;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 1px 3px rgba(0,0,0,.4)}.weui-switch:checked,.weui-switch-cp__input:checked~.weui-switch-cp__box{background-color:#04be02;border-color:#04be02}.weui-switch:checked:before,.weui-switch-cp__input:checked~.weui-switch-cp__box:before{-webkit-transform:scale(0);transform:scale(0)}.weui-switch:checked:after,.weui-switch-cp__input:checked~.weui-switch-cp__box:after{-webkit-transform:translate(20px);transform:translate(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}taro-switch-core{width:52px;height:32px;display:inline-block}taro-switch-core .weui-switch{width:100%;height:100%;display:block}';var n=e("taro_switch_core",function(){function e(e){var r=this;t(this,e);this.onChange=i(this,"change",7);this.switchChange=function(e){e.stopPropagation();var t=e.target.checked;r.checked=t;r.onChange.emit({value:t})};this.type="switch";this.checked=false;this.color="#04BE02";this.name=undefined;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false}e.prototype.function=function(e){if(!this.isWillLoadCalled)return;if(this.inputRef.checked!==e){this.inputRef.checked=e}};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.checked},configurable:true})};e.prototype.render=function(){var e=this;var t=this,i=t.type,o=t.color,c=t.checked,n=t.name,s=t.disabled,a=t.nativeProps;var b=c?{borderColor:o||"04BE02",backgroundColor:o||"04BE02"}:{};return r("input",Object.assign({ref:function(t){e.inputRef=t},type:"checkbox",class:"weui-".concat(i),style:b,checked:c,name:n,disabled:s,onChange:this.switchChange},a))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["function"]}},enumerable:false,configurable:true});return e}());n.style=c}}}));
@@ -0,0 +1 @@
1
+ import{r,h as o,H as a}from"./p-d0cabaaa.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){t("PageContainer",this)}render(){return o(a,null)}};export{s as taro_page_container_core}
@@ -1 +1 @@
1
- import{r as e,h as t,H as r}from"./p-e62a1287.js";const s=class{constructor(r){e(this,r),this.renderNode=e=>{if("type"in e&&"text"===e.type)return(e.text||"").replace(/&nbsp;/g," ");if("name"in e&&e.name){const{name:r,attrs:s,children:c}=e,o={};let n=[];if(s&&"object"==typeof s)for(const e in s){const t=s[e];if("style"!==e||"string"!=typeof t)o[e]=t;else{const e=t.split(";").map((e=>e.trim())).filter((e=>e)),r={};e.forEach((e=>{if(!e)return;const t=/(.+): *(.+)/g.exec(e);if(!t)return;const[,s,c]=t,o=s.replace(/-([a-z])/g,((...e)=>e[1].toUpperCase()));r[o]=c})),Object.keys(r).length&&(o.style=r)}}return c&&c.length&&(n=c.map((e=>this.renderNode(e)))),t(r,o,n)}return null},this.nodes=void 0,this.selectable=!1,this.userSelect=!1,this.space=void 0}render(){const{nodes:e,renderNode:s}=this;return Array.isArray(e)?t(r,null,e.map((e=>s(e)))):t(r,{innerHTML:e})}};s.style="taro-rich-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:block}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}";export{s as taro_rich_text_core}
1
+ import{r as e,h as t,H as r}from"./p-d0cabaaa.js";const s=class{constructor(r){e(this,r),this.renderNode=e=>{if("type"in e&&"text"===e.type)return(e.text||"").replace(/&nbsp;/g," ");if("name"in e&&e.name){const{name:r,attrs:s,children:c}=e,o={};let n=[];if(s&&"object"==typeof s)for(const e in s){const t=s[e];if("style"!==e||"string"!=typeof t)o[e]=t;else{const e=t.split(";").map((e=>e.trim())).filter((e=>e)),r={};e.forEach((e=>{if(!e)return;const t=/(.+): *(.+)/g.exec(e);if(!t)return;const[,s,c]=t,o=s.replace(/-([a-z])/g,((...e)=>e[1].toUpperCase()));r[o]=c})),Object.keys(r).length&&(o.style=r)}}return c&&c.length&&(n=c.map((e=>this.renderNode(e)))),t(r,o,n)}return null},this.nodes=void 0,this.selectable=!1,this.userSelect=!1,this.space=void 0}render(){const{nodes:e,renderNode:s}=this;return Array.isArray(e)?t(r,null,e.map((e=>s(e)))):t(r,{innerHTML:e})}};s.style="taro-rich-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;display:block}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}";export{s as taro_rich_text_core}
@@ -1 +1 @@
1
- import{r as e,c as i,h as l,H as r,g as o}from"./p-e62a1287.js";const t=class{constructor(l){e(this,l),this.onChange=i(this,"checkboxchange",7),this.handleChange=e=>{e.stopPropagation(),this.onChange.emit({value:this.value})},this.name=void 0,this.value="",this.color=void 0,this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchId(e){this.isWillLoadCalled&&e&&this.inputEl.setAttribute("id",e)}componentWillLoad(){this.isWillLoadCalled=!0}componentDidRender(){this.id&&this.el.removeAttribute("id")}render(){const{checked:e,name:i,color:o,value:t,disabled:c,nativeProps:a}=this;return l(r,{className:"weui-cells_checkbox"},l("input",Object.assign({ref:e=>{e&&(this.inputEl=e,this.id&&e.setAttribute("id",this.id))},type:"checkbox",value:t,name:i,class:"taro-checkbox_checked",style:{color:o},checked:e,disabled:c,onChange:this.handleChange},a)),l("slot",null))}get el(){return o(this)}static get watchers(){return{id:["watchId"]}}};t.style='page,body{--weui-cellMarginLR:16px;--weui-cellPaddingLR:16px}.weui-cells__group{border:0}.weui-cells__group:first-child{margin-top:0}.weui-cells__group_form{margin-top:24px}.weui-cells__group_form .weui-cells{margin-left:var(--weui-cellMarginLR);margin-right:var(--weui-cellMarginLR)}.weui-cells__group_form .weui-cells:before,.weui-cells__group_form .weui-cells:after{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell{padding:16px var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:before{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__hd{padding-right:16px}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__ft{padding-left:16px}.weui-cells__group_form .weui-cells__title{margin-top:24px;margin-bottom:8px;padding:0 32px}.weui-cells__group_form:first-child .weui-cells__title{margin-top:0}.weui-cells__group_form .weui-cells__tips{padding:0 calc(var(--weui-cellMarginLR) + var(--weui-cellPaddingLR));color:var(--weui-FG-2);margin-top:8px}.weui-cells__group_form .weui-cells__tips a{font-weight:700}.weui-cells__group_form .weui-cells__tips_warn{color:var(--weui-RED)}.weui-cells__group_form .weui-label{max-width:5em;margin-right:8px}.weui-cells__group_form .weui-cell_access:active:after,.weui-cells__group_form .weui-cell_active:active:after{border-radius:8px}.weui-cells__group_form .weui-cell_warn input{color:#e64340}.weui-cells__group_form .weui-icon-warn,.weui-cells__group_form .weui-cell_switch:active:after,.weui-cells__group_form .weui-cell_vcode:active:after,.weui-cells__group_form .weui-cell_readonly:active:after,.weui-cells__group_form .weui-cell_disabled:active:after{display:none}.weui-cells__group_form input,.weui-cells__group_form textarea,.weui-cells__group_form label[for]{-webkit-tap-highlight-color:transparent}.weui-cells__group_form .weui-cell_wrap{-ms-flex-align:initial;align-items:initial;padding-top:8px;padding-bottom:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_wrap .weui-label{margin-top:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__bd{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-cells__group_form .weui-cell__control{margin:8px 0 8px 16px}.weui-cells__group_form .weui-cell__control_flex{-ms-flex:1;flex:1;min-width:30vw}.weui-cells__group_form .weui-vcode-btn{color:#000;background-color:#f8f8f8;border-radius:6px;width:auto;height:auto;padding:0 12px;font-size:16px;line-height:2}.weui-cells__group_form .weui-vcode-btn:before{display:none}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap{padding-top:4px;padding-bottom:4px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-label{margin-top:12px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-input{min-height:1.88235em;font-size:17px}.weui-cells__group_form .weui-cells_checkbox .weui-check__label:before{left:calc(40px + var(--weui-cellPaddingLR))}.weui-cells__group_form .weui-cell_select{padding:0}.weui-cells__group_form .weui-cell_select-before .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_switch{padding:12px 16px}.weui-cells__group_form-primary{margin-top:32px}.weui-cells__group_form-primary .weui-cells{background:var(--weui-BG-1);border-radius:8px;overflow:hidden}.weui-cells__group_form-primary .weui-cells:before,.weui-cells__group_form-primary .weui-cells:after{display:none}.weui-cells__group_form-primary .weui-cell_access:active:after,.weui-cells__group_form-primary .weui-cell_active:active:after{border-radius:0}.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:0;color:#1aad19;background-color:#fff;border:1px solid #d1d1d1;border-radius:3px;outline:0;width:23px;height:23px;min-height:0;font-size:23px;display:inline-block;position:relative;top:5px}.taro-checkbox_checked:checked:before{vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-variant:normal;font-family:weui;font-style:normal;font-weight:400;font-size:inherit;color:inherit;content:"";speak:none;display:inline-block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-48%)scale(.73);transform:translate(-50%,-48%)scale(.73)}';var c,a=function(e,i,l,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof i?e!==i||!o:!i.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,l):o?o.value=l:i.set(e,l),l},u=function(e,i,l,r){if("a"===l&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof i?e!==i||!r:!i.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===l?r:"a"===l?r.call(e):r?r.value:i.get(e)};const s=class{constructor(l){e(this,l),this.onChange=i(this,"change",7),this.uniqueName=Date.now().toString(36),c.set(this,void 0),this.name=void 0}function(e){if(e.stopPropagation(),"TARO-CHECKBOX-CORE"!==e.target.tagName)return;const i=this.el.querySelectorAll("taro-checkbox-core");a(this,c,this.getValues(i),"f"),this.onChange.emit({value:u(this,c,"f")})}componentDidLoad(){this.el.querySelectorAll("taro-checkbox-core").forEach((e=>{e.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!u(this,c,"f")){const e=this.el.querySelectorAll("taro-checkbox-core");a(this,c,this.getValues(e),"f")}return u(this,c,"f")},configurable:!0})}getValues(e){return Array.from(e).filter((e=>{const i=e.querySelector("input");return null==i?void 0:i.checked})).map((e=>e.value))}render(){return l(r,null)}get el(){return o(this)}};c=new WeakMap;export{t as taro_checkbox_core,s as taro_checkbox_group_core}
1
+ import{r as e,c as i,h as l,H as r,g as o}from"./p-d0cabaaa.js";const t=class{constructor(l){e(this,l),this.onChange=i(this,"checkboxchange",7),this.handleChange=e=>{e.stopPropagation(),this.onChange.emit({value:this.value})},this.name=void 0,this.value="",this.color=void 0,this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchId(e){this.isWillLoadCalled&&e&&this.inputEl.setAttribute("id",e)}componentWillLoad(){this.isWillLoadCalled=!0}componentDidRender(){this.id&&this.el.removeAttribute("id")}render(){const{checked:e,name:i,color:o,value:t,disabled:c,nativeProps:a}=this;return l(r,{className:"weui-cells_checkbox"},l("input",Object.assign({ref:e=>{e&&(this.inputEl=e,this.id&&e.setAttribute("id",this.id))},type:"checkbox",value:t,name:i,class:"taro-checkbox_checked",style:{color:o},checked:e,disabled:c,onChange:this.handleChange},a)),l("slot",null))}get el(){return o(this)}static get watchers(){return{id:["watchId"]}}};t.style='page,body{--weui-cellMarginLR:16px;--weui-cellPaddingLR:16px}.weui-cells__group{border:0}.weui-cells__group:first-child{margin-top:0}.weui-cells__group_form{margin-top:24px}.weui-cells__group_form .weui-cells{margin-left:var(--weui-cellMarginLR);margin-right:var(--weui-cellMarginLR)}.weui-cells__group_form .weui-cells:before,.weui-cells__group_form .weui-cells:after{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell{padding:16px var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:before{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__hd{padding-right:16px}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__ft{padding-left:16px}.weui-cells__group_form .weui-cells__title{margin-top:24px;margin-bottom:8px;padding:0 32px}.weui-cells__group_form:first-child .weui-cells__title{margin-top:0}.weui-cells__group_form .weui-cells__tips{padding:0 calc(var(--weui-cellMarginLR) + var(--weui-cellPaddingLR));color:var(--weui-FG-2);margin-top:8px}.weui-cells__group_form .weui-cells__tips a{font-weight:700}.weui-cells__group_form .weui-cells__tips_warn{color:var(--weui-RED)}.weui-cells__group_form .weui-label{max-width:5em;margin-right:8px}.weui-cells__group_form .weui-cell_access:active:after,.weui-cells__group_form .weui-cell_active:active:after{border-radius:8px}.weui-cells__group_form .weui-cell_warn input{color:#e64340}.weui-cells__group_form .weui-icon-warn,.weui-cells__group_form .weui-cell_switch:active:after,.weui-cells__group_form .weui-cell_vcode:active:after,.weui-cells__group_form .weui-cell_readonly:active:after,.weui-cells__group_form .weui-cell_disabled:active:after{display:none}.weui-cells__group_form input,.weui-cells__group_form textarea,.weui-cells__group_form label[for]{-webkit-tap-highlight-color:transparent}.weui-cells__group_form .weui-cell_wrap{-ms-flex-align:initial;align-items:initial;padding-top:8px;padding-bottom:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_wrap .weui-label{margin-top:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__bd{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-cells__group_form .weui-cell__control{margin:8px 0 8px 16px}.weui-cells__group_form .weui-cell__control_flex{-ms-flex:1;flex:1;min-width:30vw}.weui-cells__group_form .weui-vcode-btn{color:#000;background-color:#f8f8f8;border-radius:6px;width:auto;height:auto;padding:0 12px;font-size:16px;line-height:2}.weui-cells__group_form .weui-vcode-btn:before{display:none}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap{padding-top:4px;padding-bottom:4px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-label{margin-top:12px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-input{min-height:1.88235em;font-size:17px}.weui-cells__group_form .weui-cells_checkbox .weui-check__label:before{left:calc(40px + var(--weui-cellPaddingLR))}.weui-cells__group_form .weui-cell_select{padding:0}.weui-cells__group_form .weui-cell_select-before .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_switch{padding:12px 16px}.weui-cells__group_form-primary{margin-top:32px}.weui-cells__group_form-primary .weui-cells{background:var(--weui-BG-1);border-radius:8px;overflow:hidden}.weui-cells__group_form-primary .weui-cells:before,.weui-cells__group_form-primary .weui-cells:after{display:none}.weui-cells__group_form-primary .weui-cell_access:active:after,.weui-cells__group_form-primary .weui-cell_active:active:after{border-radius:0}.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:0;color:#1aad19;background-color:#fff;border:1px solid #d1d1d1;border-radius:3px;outline:0;width:23px;height:23px;min-height:0;font-size:23px;display:inline-block;position:relative;top:5px}.taro-checkbox_checked:checked:before{vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-variant:normal;font-family:weui;font-style:normal;font-weight:400;font-size:inherit;color:inherit;content:"";speak:none;display:inline-block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-48%)scale(.73);transform:translate(-50%,-48%)scale(.73)}';var c,a=function(e,i,l,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof i?e!==i||!o:!i.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,l):o?o.value=l:i.set(e,l),l},u=function(e,i,l,r){if("a"===l&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof i?e!==i||!r:!i.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===l?r:"a"===l?r.call(e):r?r.value:i.get(e)};const s=class{constructor(l){e(this,l),this.onChange=i(this,"change",7),this.uniqueName=Date.now().toString(36),c.set(this,void 0),this.name=void 0}function(e){if(e.stopPropagation(),"TARO-CHECKBOX-CORE"!==e.target.tagName)return;const i=this.el.querySelectorAll("taro-checkbox-core");a(this,c,this.getValues(i),"f"),this.onChange.emit({value:u(this,c,"f")})}componentDidLoad(){this.el.querySelectorAll("taro-checkbox-core").forEach((e=>{e.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!u(this,c,"f")){const e=this.el.querySelectorAll("taro-checkbox-core");a(this,c,this.getValues(e),"f")}return u(this,c,"f")},configurable:!0})}getValues(e){return Array.from(e).filter((e=>{const i=e.querySelector("input");return null==i?void 0:i.checked})).map((e=>e.value))}render(){return l(r,null)}get el(){return o(this)}};c=new WeakMap;export{t as taro_checkbox_core,s as taro_checkbox_group_core}
@@ -1 +1 @@
1
- import{r as o,h as r,H as t}from"./p-e62a1287.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("AdCustom",this)}render(){return r(t,null)}};export{a as taro_ad_custom_core}
1
+ import{r as o,h as r,H as t}from"./p-d0cabaaa.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("AdCustom",this)}render(){return r(t,null)}};export{a as taro_ad_custom_core}
@@ -1 +1 @@
1
- System.register(["./p-75d01c60.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,r,e;return{setters:[function(t){n=t.r;o=t.h;r=t.H},function(t){e=t.n},function(){}],execute:function(){var c=t("taro_voip_room_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("VoipRoom",this)};t.prototype.render=function(){return o(r,null)};return t}())}}}));
1
+ System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,r,e;return{setters:[function(t){n=t.r;o=t.h;r=t.H},function(t){e=t.n},function(){}],execute:function(){var i=t("taro_voip_room_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){e("VoipRoom",this)};t.prototype.render=function(){return o(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_snapshot_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("Snapshot",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -1 +1 @@
1
- import{h as t,r as a,c as e,H as i,g as o}from"./p-e62a1287.js";import{stripSuffix as r,stripBasename as s,addLeadingSlash as n,getCurrentPage as b}from"@tarojs/runtime";import h from"@tarojs/taro";import{c as l}from"./p-160d710a.js";import d from"resolve-pathname";import{a as c}from"./p-5893c3ed.js";const _=t=>{let a,e=t||"";const i={path:null,query:null,fragment:null};return a=e.indexOf("#"),a>-1&&(i.fragment=e.substring(a+1),e=e.substring(0,a)),a=e.indexOf("?"),a>-1&&(i.query=e.substring(a+1),e=e.substring(0,a)),i.path=e,i},u=({index:a,isSelected:e=!1,textColor:i,iconPath:o,badgeText:r,showRedDot:s=!1,pagePath:n,text:b,onSelect:d})=>{const _=l("weui-tabbar__item",{"weui-bar__item_on":e});return t("a",{key:a,href:"javascript:;",class:_,onClick:function(){const t=h.getCurrentPages().shift();"function"==typeof(null==t?void 0:t.onTabItemTap)&&c(this)&&t.onTabItemTap({index:a,pagePath:n,text:b}),d(a)}},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:o,alt:"",class:"weui-tabbar__icon"}),!!r&&t("span",{class:"weui-badge taro-tabbar-badge",style:{position:"absolute",top:"-2px",right:"-13px"}},r),s&&t("span",{class:"weui-badge weui-badge_dot",style:{position:"absolute",top:"0",right:"-6px"}})),t("p",{class:"weui-tabbar__label",style:{color:i}},b))},m="taro-tabbar__tabbar",p=class{constructor(t){a(this,t),this.onLongPress=e(this,"longpress",7),this.homePage="",this.customRoutes=[],this.tabbarPos="bottom",this.getOriginUrl=t=>{const a=this.customRoutes.filter((([,a])=>_(a).path===_(t).path));return r(a.length?a[0][0]:t,".html")},this.getSelectedIndex=t=>{let a=-1;return this.list.forEach((({pagePath:e},i)=>{_(t).path===_(e).path&&(a=i)})),a},this.switchTab=t=>{this.selectedIndex=t,h.switchTab({url:this.list[t].pagePath})},this.switchTabHandler=({url:t,successHandler:a,errorHandler:e})=>{const i=this.getOriginUrl(this.getCurrentUrl()||this.homePage),o=d(t,i),r=this.getSelectedIndex(o);r>-1?(this.switchTab(r),a({errMsg:"switchTab:ok"})):e({errMsg:`switchTab:fail page "${o}" is not found`})},this.routerChangeHandler=t=>{var a;const e=null===(a=null==t?void 0:t.toLocation)||void 0===a?void 0:a.path;let i;if("string"==typeof e){const t=this.conf.basename||"/";i=s(n(e||this.homePage),t)||"/"}else i=this.getCurrentUrl();this.selectedIndex=this.getSelectedIndex(this.getOriginUrl(i))},this.setTabBarBadgeHandler=({index:t,text:a,successHandler:e,errorHandler:i})=>{const o=[...this.list];t in o?(o[t].showRedDot=!1,o[t].badgeText=a,e({errMsg:"setTabBarBadge:ok"})):i({errMsg:"setTabBarBadge:fail tabbar item not found"}),this.list=o},this.removeTabBarBadgeHandler=({index:t,successHandler:a,errorHandler:e})=>{const i=[...this.list];t in i?(i[t].badgeText=null,i[t].badgeText=null,a({errMsg:"removeTabBarBadge:ok"})):e({errMsg:"removeTabBarBadge:fail tabbar item not found"}),this.list=i},this.showTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:e})=>{const i=[...this.list];t in i?(i[t].badgeText=null,i[t].showRedDot=!0,a({errMsg:"showTabBarRedDot:ok"})):e({errMsg:"showTabBarRedDot:fail tabbar item not found"}),this.list=i},this.hideTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:e})=>{const i=[...this.list];t in i?(i[t].showRedDot=!1,a({errMsg:"hideTabBarRedDot:ok"})):e({errMsg:"hideTabBarRedDot:fail tabbar item not found"}),this.list=i},this.showTabBarHandler=({successHandler:t})=>{this.status=0,t({errMsg:"showTabBar:ok"})},this.hideTabBarHandler=({animation:t,successHandler:a})=>{this.status=t?2:1,a({errMsg:"hideTabBar:ok"})},this.setTabBarStyleHandler=({color:t,selectedColor:a,backgroundColor:e,borderStyle:i,successHandler:o})=>{e&&(this.backgroundColor=e),i&&(this.borderStyle=i),t&&(this.color=t),a&&(this.selectedColor=a),o({errMsg:"setTabBarStyle:ok"})},this.setTabBarItemHandler=({index:t,iconPath:a,selectedIconPath:e,text:i,successHandler:o,errorHandler:r})=>{const s=[...this.list];t in s?(a&&(s[t].iconPath=a),e&&(s[t].selectedIconPath=e),i&&(s[t].text=i),o({errMsg:"setTabBarItem:ok"})):r({errMsg:"setTabBarItem:fail tabbar item not found"}),this.list=s},this.conf=void 0,this.list=void 0,this.borderStyle=void 0,this.backgroundColor=void 0,this.color=void 0,this.selectedColor=void 0,this.selectedIndex=-1,this.status=0}componentWillLoad(){var t,a;const e=(null===(t=this.conf)||void 0===t?void 0:t.list)||[],i=(null===(a=this.conf)||void 0===a?void 0:a.customRoutes)||{};if("[object Array]"!==Object.prototype.toString.call(e)||e.length<2||e.length>5)throw new Error("tabBar 配置错误");this.homePage=n(this.conf.homePage);for(let t in i){const a=i[t];t=n(t),"string"==typeof a?this.customRoutes.push([t,n(a)]):(null==a?void 0:a.length)>0&&this.customRoutes.push(...a.map((a=>[t,n(a)])))}e.forEach((t=>{0!==t.pagePath.indexOf("/")&&(t.pagePath="/"+t.pagePath)})),this.list=e,this.borderStyle=this.conf.borderStyle,this.backgroundColor=this.conf.backgroundColor,this.color=this.conf.color,this.selectedColor=this.conf.selectedColor}getCurrentUrl(){const t=b(this.conf.mode,this.conf.basename);return decodeURI("/"===t?this.homePage:t)}bindEvent(){h.eventCenter.on("__taroRouterChange",this.routerChangeHandler),h.eventCenter.on("__taroSwitchTab",this.switchTabHandler),h.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler),h.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),h.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),h.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),h.eventCenter.on("__taroShowTabBar",this.showTabBarHandler),h.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler),h.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler),h.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)}removeEvent(){h.eventCenter.off("__taroRouterChange",this.routerChangeHandler),h.eventCenter.off("__taroSwitchTab",this.switchTabHandler),h.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler),h.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),h.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),h.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),h.eventCenter.off("__taroShowTabBar",this.showTabBarHandler),h.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler),h.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler),h.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)}componentDidLoad(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom",this.bindEvent(),this.routerChangeHandler()}disconnectedCallback(){this.removeEvent()}render(){const{tabbarPos:a="bottom"}=this,e=this.status,o=l("weui-tabbar",{[`taro-tabbar__border-${this.borderStyle||"black"}`]:!0});return t(i,{class:l(m,`${m}-${a}`,{"taro-tabbar__tabbar-hide":-1===this.selectedIndex||1===e,"taro-tabbar__tabbar-slideout":2===e})},t("div",{class:o,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map(((a,e)=>{const i=this.selectedIndex===e;let o,r;return i?(o=this.selectedColor||"",r=a.selectedIconPath):(o=this.color||"",r=a.iconPath),t(u,{index:e,onSelect:this.switchTab.bind(this),isSelected:i,textColor:o,iconPath:r,pagePath:a.pagePath,text:a.text,badgeText:a.badgeText,showRedDot:a.showRedDot})}))))}get tabbar(){return o(this)}};p.style='.weui-tabbar{z-index:500;background-color:#f7f7fa;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;bottom:0}.weui-tabbar:before{content:" ";color:#c0bfc4;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #c0bfc4;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-tabbar__item{padding:5px 0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);color:#999;text-align:center;-webkit-tap-highlight-color:transparent;-ms-flex:1;flex:1;font-size:0;display:block}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#09bb07}.weui-tabbar__icon{width:27px;height:27px;display:inline-block}.weui-tabbar__icon img{width:100%;height:100%}i.weui-tabbar__icon,.weui-tabbar__icon>i{color:#999;font-size:24px}.weui-tabbar__label{text-align:center;color:#999;font-size:10px;line-height:1.8}.weui-badge{color:#fff;text-align:center;vertical-align:middle;background-color:#f43530;border-radius:18px;min-width:8px;padding:.15em .4em;font-size:12px;line-height:1.2;display:inline-block}.weui-badge_dot{min-width:0;padding:.4em}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white:before{border-top-color:#fff!important}.taro-tabbar__container{-ms-flex-direction:column;flex-direction:column;height:100%;display:-ms-flexbox;display:flex;overflow:hidden}.taro-tabbar__panel{-webkit-overflow-scrolling:auto;-ms-flex:1;flex:1;position:relative;overflow:auto}.taro-tabbar__tabbar{height:var(--taro-tabbar-height);width:100%;-webkit-transition:bottom .2s,top .2s;transition:bottom .2s,top .2s;position:relative}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);bottom:0}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{-ms-flex:0 0;flex:0 0;top:-52px}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}';export{p as taro_tabbar}
1
+ import{h as t,r as a,c as e,H as i,g as o}from"./p-d0cabaaa.js";import{stripSuffix as r,stripBasename as s,addLeadingSlash as n,getCurrentPage as b}from"@tarojs/runtime";import h from"@tarojs/taro";import{c as l}from"./p-160d710a.js";import d from"resolve-pathname";import{a as c}from"./p-5893c3ed.js";const _=t=>{let a,e=t||"";const i={path:null,query:null,fragment:null};return a=e.indexOf("#"),a>-1&&(i.fragment=e.substring(a+1),e=e.substring(0,a)),a=e.indexOf("?"),a>-1&&(i.query=e.substring(a+1),e=e.substring(0,a)),i.path=e,i},u=({index:a,isSelected:e=!1,textColor:i,iconPath:o,badgeText:r,showRedDot:s=!1,pagePath:n,text:b,onSelect:d})=>{const _=l("weui-tabbar__item",{"weui-bar__item_on":e});return t("a",{key:a,href:"javascript:;",class:_,onClick:function(){const t=h.getCurrentPages().shift();"function"==typeof(null==t?void 0:t.onTabItemTap)&&c(this)&&t.onTabItemTap({index:a,pagePath:n,text:b}),d(a)}},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:o,alt:"",class:"weui-tabbar__icon"}),!!r&&t("span",{class:"weui-badge taro-tabbar-badge",style:{position:"absolute",top:"-2px",right:"-13px"}},r),s&&t("span",{class:"weui-badge weui-badge_dot",style:{position:"absolute",top:"0",right:"-6px"}})),t("p",{class:"weui-tabbar__label",style:{color:i}},b))},m="taro-tabbar__tabbar",p=class{constructor(t){a(this,t),this.onLongPress=e(this,"longpress",7),this.homePage="",this.customRoutes=[],this.tabbarPos="bottom",this.getOriginUrl=t=>{const a=this.customRoutes.filter((([,a])=>_(a).path===_(t).path));return r(a.length?a[0][0]:t,".html")},this.getSelectedIndex=t=>{let a=-1;return this.list.forEach((({pagePath:e},i)=>{_(t).path===_(e).path&&(a=i)})),a},this.switchTab=t=>{this.selectedIndex=t,h.switchTab({url:this.list[t].pagePath})},this.switchTabHandler=({url:t,successHandler:a,errorHandler:e})=>{const i=this.getOriginUrl(this.getCurrentUrl()||this.homePage),o=d(t,i),r=this.getSelectedIndex(o);r>-1?(this.switchTab(r),a({errMsg:"switchTab:ok"})):e({errMsg:`switchTab:fail page "${o}" is not found`})},this.routerChangeHandler=t=>{var a;const e=null===(a=null==t?void 0:t.toLocation)||void 0===a?void 0:a.path;let i;if("string"==typeof e){const t=this.conf.basename||"/";i=s(n(e||this.homePage),t)||"/"}else i=this.getCurrentUrl();this.selectedIndex=this.getSelectedIndex(this.getOriginUrl(i))},this.setTabBarBadgeHandler=({index:t,text:a,successHandler:e,errorHandler:i})=>{const o=[...this.list];t in o?(o[t].showRedDot=!1,o[t].badgeText=a,e({errMsg:"setTabBarBadge:ok"})):i({errMsg:"setTabBarBadge:fail tabbar item not found"}),this.list=o},this.removeTabBarBadgeHandler=({index:t,successHandler:a,errorHandler:e})=>{const i=[...this.list];t in i?(i[t].badgeText=null,i[t].badgeText=null,a({errMsg:"removeTabBarBadge:ok"})):e({errMsg:"removeTabBarBadge:fail tabbar item not found"}),this.list=i},this.showTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:e})=>{const i=[...this.list];t in i?(i[t].badgeText=null,i[t].showRedDot=!0,a({errMsg:"showTabBarRedDot:ok"})):e({errMsg:"showTabBarRedDot:fail tabbar item not found"}),this.list=i},this.hideTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:e})=>{const i=[...this.list];t in i?(i[t].showRedDot=!1,a({errMsg:"hideTabBarRedDot:ok"})):e({errMsg:"hideTabBarRedDot:fail tabbar item not found"}),this.list=i},this.showTabBarHandler=({successHandler:t})=>{this.status=0,t({errMsg:"showTabBar:ok"})},this.hideTabBarHandler=({animation:t,successHandler:a})=>{this.status=t?2:1,a({errMsg:"hideTabBar:ok"})},this.setTabBarStyleHandler=({color:t,selectedColor:a,backgroundColor:e,borderStyle:i,successHandler:o})=>{e&&(this.backgroundColor=e),i&&(this.borderStyle=i),t&&(this.color=t),a&&(this.selectedColor=a),o({errMsg:"setTabBarStyle:ok"})},this.setTabBarItemHandler=({index:t,iconPath:a,selectedIconPath:e,text:i,successHandler:o,errorHandler:r})=>{const s=[...this.list];t in s?(a&&(s[t].iconPath=a),e&&(s[t].selectedIconPath=e),i&&(s[t].text=i),o({errMsg:"setTabBarItem:ok"})):r({errMsg:"setTabBarItem:fail tabbar item not found"}),this.list=s},this.conf=void 0,this.list=void 0,this.borderStyle=void 0,this.backgroundColor=void 0,this.color=void 0,this.selectedColor=void 0,this.selectedIndex=-1,this.status=0}componentWillLoad(){var t,a;const e=(null===(t=this.conf)||void 0===t?void 0:t.list)||[],i=(null===(a=this.conf)||void 0===a?void 0:a.customRoutes)||{};if("[object Array]"!==Object.prototype.toString.call(e)||e.length<2||e.length>5)throw new Error("tabBar 配置错误");this.homePage=n(this.conf.homePage);for(let t in i){const a=i[t];t=n(t),"string"==typeof a?this.customRoutes.push([t,n(a)]):(null==a?void 0:a.length)>0&&this.customRoutes.push(...a.map((a=>[t,n(a)])))}e.forEach((t=>{0!==t.pagePath.indexOf("/")&&(t.pagePath="/"+t.pagePath)})),this.list=e,this.borderStyle=this.conf.borderStyle,this.backgroundColor=this.conf.backgroundColor,this.color=this.conf.color,this.selectedColor=this.conf.selectedColor}getCurrentUrl(){const t=b(this.conf.mode,this.conf.basename);return decodeURI("/"===t?this.homePage:t)}bindEvent(){h.eventCenter.on("__taroRouterChange",this.routerChangeHandler),h.eventCenter.on("__taroSwitchTab",this.switchTabHandler),h.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler),h.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),h.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),h.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),h.eventCenter.on("__taroShowTabBar",this.showTabBarHandler),h.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler),h.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler),h.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)}removeEvent(){h.eventCenter.off("__taroRouterChange",this.routerChangeHandler),h.eventCenter.off("__taroSwitchTab",this.switchTabHandler),h.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler),h.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),h.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),h.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),h.eventCenter.off("__taroShowTabBar",this.showTabBarHandler),h.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler),h.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler),h.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)}componentDidLoad(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom",this.bindEvent(),this.routerChangeHandler()}disconnectedCallback(){this.removeEvent()}render(){const{tabbarPos:a="bottom"}=this,e=this.status,o=l("weui-tabbar",{[`taro-tabbar__border-${this.borderStyle||"black"}`]:!0});return t(i,{class:l(m,`${m}-${a}`,{"taro-tabbar__tabbar-hide":-1===this.selectedIndex||1===e,"taro-tabbar__tabbar-slideout":2===e})},t("div",{class:o,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map(((a,e)=>{const i=this.selectedIndex===e;let o,r;return i?(o=this.selectedColor||"",r=a.selectedIconPath):(o=this.color||"",r=a.iconPath),t(u,{index:e,onSelect:this.switchTab.bind(this),isSelected:i,textColor:o,iconPath:r,pagePath:a.pagePath,text:a.text,badgeText:a.badgeText,showRedDot:a.showRedDot})}))))}get tabbar(){return o(this)}};p.style='.weui-tabbar{z-index:500;background-color:#f7f7fa;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;bottom:0}.weui-tabbar:before{content:" ";color:#c0bfc4;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #c0bfc4;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-tabbar__item{padding:5px 0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);color:#999;text-align:center;-webkit-tap-highlight-color:transparent;-ms-flex:1;flex:1;font-size:0;display:block}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#09bb07}.weui-tabbar__icon{width:27px;height:27px;display:inline-block}.weui-tabbar__icon img{width:100%;height:100%}i.weui-tabbar__icon,.weui-tabbar__icon>i{color:#999;font-size:24px}.weui-tabbar__label{text-align:center;color:#999;font-size:10px;line-height:1.8}.weui-badge{color:#fff;text-align:center;vertical-align:middle;background-color:#f43530;border-radius:18px;min-width:8px;padding:.15em .4em;font-size:12px;line-height:1.2;display:inline-block}.weui-badge_dot{min-width:0;padding:.4em}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white:before{border-top-color:#fff!important}.taro-tabbar__container{-ms-flex-direction:column;flex-direction:column;height:100%;display:-ms-flexbox;display:flex;overflow:hidden}.taro-tabbar__panel{-webkit-overflow-scrolling:auto;-ms-flex:1;flex:1;position:relative;overflow:auto}.taro-tabbar__tabbar{height:var(--taro-tabbar-height);width:100%;-webkit-transition:bottom .2s,top .2s;transition:bottom .2s,top .2s;position:relative}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);bottom:0}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{-ms-flex:0 0;flex:0 0;top:-52px}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}';export{p as taro_tabbar}
@@ -0,0 +1 @@
1
+ import{r,h as a,H as s}from"./p-d0cabaaa.js";const o=class{constructor(a){r(this,a)}render(){return a(s,null)}};export{o as taro_custom_wrapper_core}
@@ -1 +1 @@
1
- System.register(["./p-75d01c60.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_draggable_sheet_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("DraggableSheet",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
1
+ System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_draggable_sheet_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("DraggableSheet",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_span_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Span",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-75d01c60.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_sticky_header_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("StickyHeader",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
1
+ System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_sticky_header_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("StickyHeader",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as t}from"./p-d0cabaaa.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(r){o(this,r)}componentDidLoad(){a("RtcRoom",this)}render(){return r(t,null)}};export{s as taro_rtc_room_core}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as h}from"./p-e62a1287.js";import{c as o}from"./p-160d710a.js";const e=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}};e.style="taro-cover-view-core{display:block}";export{e as taro_cover_view_core}
1
+ import{r as t,c as s,h as i,H as h}from"./p-d0cabaaa.js";import{c as o}from"./p-160d710a.js";const e=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}};e.style="taro-cover-view-core{display:block}";export{e as taro_cover_view_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_ad_custom_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("AdCustom",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r,h as o,H as s}from"./p-d0cabaaa.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){t("LivePusher",this)}render(){return o(s,null)}};export{a as taro_live_pusher_core}
@@ -1 +1 @@
1
- var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var r=0,o=t.length,n;r<o;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-75d01c60.system.js","@tarojs/runtime","@tarojs/taro","./p-443b9a72.system.js","resolve-pathname","./p-010faa87.system.js"],(function(e){"use strict";var t,a,r,o,n,i,s,l,b,d,c,h,u;return{setters:[function(e){t=e.h;a=e.r;r=e.c;o=e.H;n=e.g},function(e){i=e.stripSuffix;s=e.stripBasename;l=e.addLeadingSlash;b=e.getCurrentPage},function(e){d=e.default},function(e){c=e.c},function(e){h=e.default},function(e){u=e.a}],execute:function(){var f=function(e){var t=e||"";var a;var r={path:null,query:null,fragment:null};a=t.indexOf("#");if(a>-1){r.fragment=t.substring(a+1);t=t.substring(0,a)}a=t.indexOf("?");if(a>-1){r.query=t.substring(a+1);t=t.substring(0,a)}r.path=t;return r};var g=function(e){var a=e.index,r=e.isSelected,o=r===void 0?false:r,n=e.textColor,i=e.iconPath,s=e.badgeText,l=e.showRedDot,b=l===void 0?false:l,h=e.pagePath,f=e.text,g=e.onSelect;var v=c("weui-tabbar__item",{"weui-bar__item_on":o});var p={position:"absolute",top:"-2px",right:"-13px"};var _={position:"absolute",top:"0",right:"-6px"};function m(){var e=d.getCurrentPages().shift();if(typeof(e===null||e===void 0?void 0:e.onTabItemTap)==="function"&&u(this)){e.onTabItemTap({index:a,pagePath:h,text:f})}g(a)}return t("a",{key:a,href:"javascript:;",class:v,onClick:m},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:i,alt:"",class:"weui-tabbar__icon"}),!!s&&t("span",{class:"weui-badge taro-tabbar-badge",style:p},s),b&&t("span",{class:"weui-badge weui-badge_dot",style:_})),t("p",{class:"weui-tabbar__label",style:{color:n}},f))};var v='.weui-tabbar{z-index:500;background-color:#f7f7fa;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;bottom:0}.weui-tabbar:before{content:" ";color:#c0bfc4;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #c0bfc4;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-tabbar__item{padding:5px 0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);color:#999;text-align:center;-webkit-tap-highlight-color:transparent;-ms-flex:1;flex:1;font-size:0;display:block}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#09bb07}.weui-tabbar__icon{width:27px;height:27px;display:inline-block}.weui-tabbar__icon img{width:100%;height:100%}i.weui-tabbar__icon,.weui-tabbar__icon>i{color:#999;font-size:24px}.weui-tabbar__label{text-align:center;color:#999;font-size:10px;line-height:1.8}.weui-badge{color:#fff;text-align:center;vertical-align:middle;background-color:#f43530;border-radius:18px;min-width:8px;padding:.15em .4em;font-size:12px;line-height:1.2;display:inline-block}.weui-badge_dot{min-width:0;padding:.4em}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white:before{border-top-color:#fff!important}.taro-tabbar__container{-ms-flex-direction:column;flex-direction:column;height:100%;display:-ms-flexbox;display:flex;overflow:hidden}.taro-tabbar__panel{-webkit-overflow-scrolling:auto;-ms-flex:1;flex:1;position:relative;overflow:auto}.taro-tabbar__tabbar{height:var(--taro-tabbar-height);width:100%;-webkit-transition:bottom .2s,top .2s;transition:bottom .2s,top .2s;position:relative}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);bottom:0}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{-ms-flex:0 0;flex:0 0;top:-52px}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}';var p=0;var _=1;var m=2;var T="taro-tabbar__tabbar";var w="taro-tabbar__tabbar-hide";var x="taro-tabbar__tabbar-slideout";var B=e("taro_tabbar",function(){function e(e){var t=this;a(this,e);this.onLongPress=r(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.getOriginUrl=function(e){var a=t.customRoutes.filter((function(t){var a=t[1];var r=f(a).path;var o=f(e).path;return r===o}));return i(a.length?a[0][0]:e,".html")};this.getSelectedIndex=function(e){var a=-1;t.list.forEach((function(t,r){var o=t.pagePath;var n=f(e).path;var i=f(o).path;if(n===i){a=r}}));return a};this.switchTab=function(e){t.selectedIndex=e;d.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var a=e.url,r=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=h(a,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);r({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'.concat(i,'" is not found')})}};this.routerChangeHandler=function(e){var a;var r=(a=e===null||e===void 0?void 0:e.toLocation)===null||a===void 0?void 0:a.path;var o;if(typeof r==="string"){var n=t.conf.basename||"/";o=s(l(r||t.homePage),n)||"/"}else{o=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(o))};this.setTabBarBadgeHandler=function(e){var a=e.index,r=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list,true);if(a in i){i[a].showRedDot=false;i[a].badgeText=r;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].badgeText=null;r({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].showRedDot=true;r({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].showRedDot=false;r({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var a=e.successHandler;t.status=p;a({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var a=e.animation,r=e.successHandler;t.status=a?m:_;r({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var a=e.color,r=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(a)t.color=a;if(r)t.selectedColor=r;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var a=e.index,r=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list,true);if(a in l){if(r)l[a].iconPath=r;if(o)l[a].selectedIconPath=o;if(n)l[a].text=n;i({errMsg:"setTabBarItem:ok"})}else{s({errMsg:"setTabBarItem:fail tabbar item not found"})}t.list=l};this.conf=undefined;this.list=undefined;this.borderStyle=undefined;this.backgroundColor=undefined;this.color=undefined;this.selectedColor=undefined;this.selectedIndex=-1;this.status=p}e.prototype.componentWillLoad=function(){var e,t;var a=((e=this.conf)===null||e===void 0?void 0:e.list)||[];var r=((t=this.conf)===null||t===void 0?void 0:t.customRoutes)||{};if(Object.prototype.toString.call(a)!=="[object Array]"||a.length<2||a.length>5){throw new Error("tabBar 配置错误")}this.homePage=l(this.conf.homePage);var o=function(e){var t;var a=r[e];e=l(e);if(typeof a==="string"){n.customRoutes.push([e,l(a)])}else if((a===null||a===void 0?void 0:a.length)>0){(t=n.customRoutes).push.apply(t,a.map((function(t){return[e,l(t)]})))}};var n=this;for(var i in r){o(i)}a.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=a;this.borderStyle=this.conf.borderStyle;this.backgroundColor=this.conf.backgroundColor;this.color=this.conf.color;this.selectedColor=this.conf.selectedColor};e.prototype.getCurrentUrl=function(){var e=b(this.conf.mode,this.conf.basename);return decodeURI(e==="/"?this.homePage:e)};e.prototype.bindEvent=function(){d.eventCenter.on("__taroRouterChange",this.routerChangeHandler);d.eventCenter.on("__taroSwitchTab",this.switchTabHandler);d.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);d.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);d.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);d.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);d.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);d.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);d.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);d.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){d.eventCenter.off("__taroRouterChange",this.routerChangeHandler);d.eventCenter.off("__taroSwitchTab",this.switchTabHandler);d.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);d.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);d.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);d.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);d.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);d.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);d.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);d.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.componentDidLoad=function(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom";this.bindEvent();this.routerChangeHandler()};e.prototype.disconnectedCallback=function(){this.removeEvent()};e.prototype.render=function(){var e,a;var r=this;var n=this.tabbarPos,i=n===void 0?"bottom":n;var s=this.status;var l=c("weui-tabbar",(e={},e["taro-tabbar__border-".concat(this.borderStyle||"black")]=true,e));var b=this.selectedIndex===-1||s===_;var d=s===m;return t(o,{class:c(T,"".concat(T,"-").concat(i),(a={},a[w]=b,a[x]=d,a))},t("div",{class:l,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map((function(e,a){var o=r.selectedIndex===a;var n;var i;if(o){n=r.selectedColor||"";i=e.selectedIconPath}else{n=r.color||"";i=e.iconPath}return t(g,{index:a,onSelect:r.switchTab.bind(r),isSelected:o,textColor:n,iconPath:i,pagePath:e.pagePath,text:e.text,badgeText:e.badgeText,showRedDot:e.showRedDot})}))))};Object.defineProperty(e.prototype,"tabbar",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());B.style=v}}}));
1
+ var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var r=0,o=t.length,n;r<o;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-88de70df.system.js","@tarojs/runtime","@tarojs/taro","./p-443b9a72.system.js","resolve-pathname","./p-010faa87.system.js"],(function(e){"use strict";var t,a,r,o,n,i,s,l,b,d,c,h,f;return{setters:[function(e){t=e.h;a=e.r;r=e.c;o=e.H;n=e.g},function(e){i=e.stripSuffix;s=e.stripBasename;l=e.addLeadingSlash;b=e.getCurrentPage},function(e){d=e.default},function(e){c=e.c},function(e){h=e.default},function(e){f=e.a}],execute:function(){var u=function(e){var t=e||"";var a;var r={path:null,query:null,fragment:null};a=t.indexOf("#");if(a>-1){r.fragment=t.substring(a+1);t=t.substring(0,a)}a=t.indexOf("?");if(a>-1){r.query=t.substring(a+1);t=t.substring(0,a)}r.path=t;return r};var g=function(e){var a=e.index,r=e.isSelected,o=r===void 0?false:r,n=e.textColor,i=e.iconPath,s=e.badgeText,l=e.showRedDot,b=l===void 0?false:l,h=e.pagePath,u=e.text,g=e.onSelect;var v=c("weui-tabbar__item",{"weui-bar__item_on":o});var p={position:"absolute",top:"-2px",right:"-13px"};var _={position:"absolute",top:"0",right:"-6px"};function m(){var e=d.getCurrentPages().shift();if(typeof(e===null||e===void 0?void 0:e.onTabItemTap)==="function"&&f(this)){e.onTabItemTap({index:a,pagePath:h,text:u})}g(a)}return t("a",{key:a,href:"javascript:;",class:v,onClick:m},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:i,alt:"",class:"weui-tabbar__icon"}),!!s&&t("span",{class:"weui-badge taro-tabbar-badge",style:p},s),b&&t("span",{class:"weui-badge weui-badge_dot",style:_})),t("p",{class:"weui-tabbar__label",style:{color:n}},u))};var v='.weui-tabbar{z-index:500;background-color:#f7f7fa;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;display:flex;position:absolute;bottom:0}.weui-tabbar:before{content:" ";color:#c0bfc4;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #c0bfc4;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-tabbar__item{padding:5px 0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);color:#999;text-align:center;-webkit-tap-highlight-color:transparent;-ms-flex:1;flex:1;font-size:0;display:block}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#09bb07}.weui-tabbar__icon{width:27px;height:27px;display:inline-block}.weui-tabbar__icon img{width:100%;height:100%}i.weui-tabbar__icon,.weui-tabbar__icon>i{color:#999;font-size:24px}.weui-tabbar__label{text-align:center;color:#999;font-size:10px;line-height:1.8}.weui-badge{color:#fff;text-align:center;vertical-align:middle;background-color:#f43530;border-radius:18px;min-width:8px;padding:.15em .4em;font-size:12px;line-height:1.2;display:inline-block}.weui-badge_dot{min-width:0;padding:.4em}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white:before{border-top-color:#fff!important}.taro-tabbar__container{-ms-flex-direction:column;flex-direction:column;height:100%;display:-ms-flexbox;display:flex;overflow:hidden}.taro-tabbar__panel{-webkit-overflow-scrolling:auto;-ms-flex:1;flex:1;position:relative;overflow:auto}.taro-tabbar__tabbar{height:var(--taro-tabbar-height);width:100%;-webkit-transition:bottom .2s,top .2s;transition:bottom .2s,top .2s;position:relative}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);bottom:0}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{-ms-flex:0 0;flex:0 0;top:-52px}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}';var p=0;var _=1;var m=2;var T="taro-tabbar__tabbar";var w="taro-tabbar__tabbar-hide";var x="taro-tabbar__tabbar-slideout";var B=e("taro_tabbar",function(){function e(e){var t=this;a(this,e);this.onLongPress=r(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.getOriginUrl=function(e){var a=t.customRoutes.filter((function(t){var a=t[1];var r=u(a).path;var o=u(e).path;return r===o}));return i(a.length?a[0][0]:e,".html")};this.getSelectedIndex=function(e){var a=-1;t.list.forEach((function(t,r){var o=t.pagePath;var n=u(e).path;var i=u(o).path;if(n===i){a=r}}));return a};this.switchTab=function(e){t.selectedIndex=e;d.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var a=e.url,r=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=h(a,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);r({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'.concat(i,'" is not found')})}};this.routerChangeHandler=function(e){var a;var r=(a=e===null||e===void 0?void 0:e.toLocation)===null||a===void 0?void 0:a.path;var o;if(typeof r==="string"){var n=t.conf.basename||"/";o=s(l(r||t.homePage),n)||"/"}else{o=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(o))};this.setTabBarBadgeHandler=function(e){var a=e.index,r=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list,true);if(a in i){i[a].showRedDot=false;i[a].badgeText=r;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].badgeText=null;r({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].showRedDot=true;r({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].showRedDot=false;r({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var a=e.successHandler;t.status=p;a({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var a=e.animation,r=e.successHandler;t.status=a?m:_;r({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var a=e.color,r=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(a)t.color=a;if(r)t.selectedColor=r;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var a=e.index,r=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list,true);if(a in l){if(r)l[a].iconPath=r;if(o)l[a].selectedIconPath=o;if(n)l[a].text=n;i({errMsg:"setTabBarItem:ok"})}else{s({errMsg:"setTabBarItem:fail tabbar item not found"})}t.list=l};this.conf=undefined;this.list=undefined;this.borderStyle=undefined;this.backgroundColor=undefined;this.color=undefined;this.selectedColor=undefined;this.selectedIndex=-1;this.status=p}e.prototype.componentWillLoad=function(){var e,t;var a=((e=this.conf)===null||e===void 0?void 0:e.list)||[];var r=((t=this.conf)===null||t===void 0?void 0:t.customRoutes)||{};if(Object.prototype.toString.call(a)!=="[object Array]"||a.length<2||a.length>5){throw new Error("tabBar 配置错误")}this.homePage=l(this.conf.homePage);var o=function(e){var t;var a=r[e];e=l(e);if(typeof a==="string"){n.customRoutes.push([e,l(a)])}else if((a===null||a===void 0?void 0:a.length)>0){(t=n.customRoutes).push.apply(t,a.map((function(t){return[e,l(t)]})))}};var n=this;for(var i in r){o(i)}a.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=a;this.borderStyle=this.conf.borderStyle;this.backgroundColor=this.conf.backgroundColor;this.color=this.conf.color;this.selectedColor=this.conf.selectedColor};e.prototype.getCurrentUrl=function(){var e=b(this.conf.mode,this.conf.basename);return decodeURI(e==="/"?this.homePage:e)};e.prototype.bindEvent=function(){d.eventCenter.on("__taroRouterChange",this.routerChangeHandler);d.eventCenter.on("__taroSwitchTab",this.switchTabHandler);d.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);d.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);d.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);d.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);d.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);d.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);d.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);d.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){d.eventCenter.off("__taroRouterChange",this.routerChangeHandler);d.eventCenter.off("__taroSwitchTab",this.switchTabHandler);d.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);d.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);d.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);d.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);d.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);d.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);d.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);d.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.componentDidLoad=function(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom";this.bindEvent();this.routerChangeHandler()};e.prototype.disconnectedCallback=function(){this.removeEvent()};e.prototype.render=function(){var e,a;var r=this;var n=this.tabbarPos,i=n===void 0?"bottom":n;var s=this.status;var l=c("weui-tabbar",(e={},e["taro-tabbar__border-".concat(this.borderStyle||"black")]=true,e));var b=this.selectedIndex===-1||s===_;var d=s===m;return t(o,{class:c(T,"".concat(T,"-").concat(i),(a={},a[w]=b,a[x]=d,a))},t("div",{class:l,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map((function(e,a){var o=r.selectedIndex===a;var n;var i;if(o){n=r.selectedColor||"";i=e.selectedIconPath}else{n=r.color||"";i=e.iconPath}return t(g,{index:a,onSelect:r.switchTab.bind(r),isSelected:o,textColor:n,iconPath:i,pagePath:e.pagePath,text:e.text,badgeText:e.badgeText,showRedDot:e.showRedDot})}))))};Object.defineProperty(e.prototype,"tabbar",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());B.style=v}}}));
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as s,g as r}from"./p-e62a1287.js";const o=class{constructor(i){t(this,i),this.onChange=e(this,"radiochange",7),this.handleClick=t=>{t.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchChecked(t){this.isWillLoadCalled&&t&&this.onChange.emit({value:this.value})}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentDidRender(){this.id&&this.el.removeAttribute("id")}componentWillLoad(){this.isWillLoadCalled=!0}render(){const{checked:t,name:e,value:r,disabled:o,nativeProps:a}=this;return i(s,{className:"weui-cells_checkbox",onClick:this.handleClick},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"radio",name:e,value:r,class:"weui-check",checked:t,disabled:o,onChange:t=>t.stopPropagation()},a)),i("i",{class:"weui-icon-checked"}),i("slot",null))}get el(){return r(this)}static get watchers(){return{checked:["watchChecked"],id:["watchId"]}}};var a,h=function(t,e,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,i):r?r.value=i:e.set(t,i),i},c=function(t,e,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(t):s?s.value:e.get(t)};const n=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),a.set(this,void 0),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-RADIO-CORE"!==t.target.tagName)return;const e=t.target;e.checked&&(this.el.querySelectorAll("taro-radio-core").forEach((t=>{t!==e&&(t.checked=!1)})),h(this,a,t.detail.value,"f"),this.onChange.emit({value:c(this,a,"f")}))}componentDidLoad(){this.el.querySelectorAll("taro-radio-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!c(this,a,"f")){const t=this.el.querySelectorAll("taro-radio-core");h(this,a,this.getValues(t),"f")}return c(this,a,"f")},configurable:!0})}getValues(t){let e="";return Array.from(t).forEach((t=>{const i=t.querySelector("input");(null==i?void 0:i.checked)&&(e=i.value||"")})),e}render(){return i(s,{class:"weui-cells_radiogroup"})}get el(){return r(this)}};a=new WeakMap;export{o as taro_radio_core,n as taro_radio_group_core}
1
+ import{r as t,c as e,h as i,H as s,g as r}from"./p-d0cabaaa.js";const o=class{constructor(i){t(this,i),this.onChange=e(this,"radiochange",7),this.handleClick=t=>{t.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchChecked(t){this.isWillLoadCalled&&t&&this.onChange.emit({value:this.value})}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentDidRender(){this.id&&this.el.removeAttribute("id")}componentWillLoad(){this.isWillLoadCalled=!0}render(){const{checked:t,name:e,value:r,disabled:o,nativeProps:a}=this;return i(s,{className:"weui-cells_checkbox",onClick:this.handleClick},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"radio",name:e,value:r,class:"weui-check",checked:t,disabled:o,onChange:t=>t.stopPropagation()},a)),i("i",{class:"weui-icon-checked"}),i("slot",null))}get el(){return r(this)}static get watchers(){return{checked:["watchChecked"],id:["watchId"]}}};var a,h=function(t,e,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,i):r?r.value=i:e.set(t,i),i},c=function(t,e,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(t):s?s.value:e.get(t)};const n=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),a.set(this,void 0),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-RADIO-CORE"!==t.target.tagName)return;const e=t.target;e.checked&&(this.el.querySelectorAll("taro-radio-core").forEach((t=>{t!==e&&(t.checked=!1)})),h(this,a,t.detail.value,"f"),this.onChange.emit({value:c(this,a,"f")}))}componentDidLoad(){this.el.querySelectorAll("taro-radio-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!c(this,a,"f")){const t=this.el.querySelectorAll("taro-radio-core");h(this,a,this.getValues(t),"f")}return c(this,a,"f")},configurable:!0})}getValues(t){let e="";return Array.from(t).forEach((t=>{const i=t.querySelector("input");(null==i?void 0:i.checked)&&(e=i.value||"")})),e}render(){return i(s,{class:"weui-cells_radiogroup"})}get el(){return r(this)}};a=new WeakMap;export{o as taro_radio_core,n as taro_radio_group_core}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-e62a1287.js";var r,o=function(t,i,e,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof i?t!==i||!r:!i.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,e):r?r.value=e:i.set(t,e),e},h=function(t,i,e,s){if("a"===e&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof i?t!==i||!s:!i.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===e?s:"a"===e?s.call(t):s?s.value:i.get(t)};const n=class{constructor(e){t(this,e),this.onSubmit=i(this,"submit",7),r.set(this,{})}onButtonSubmit(t){t.stopPropagation(),o(this,r,this.getFormValue(),"f"),this.onSubmit.emit({value:h(this,r,"f")})}onButtonReset(t){t.stopPropagation(),this.form.reset()}componentDidLoad(){o(this,r,this.getFormValue(),"f"),Object.defineProperty(this.el,"value",{get:()=>h(this,r,"f"),configurable:!0})}componentDidRender(){if(this.originalAppendChild||(this.originalAppendChild=this.el.appendChild,this.originalInsertBefore=this.el.insertBefore,this.originalReplaceChild=this.el.replaceChild,this.originalRemoveChild=this.el.removeChild),!this.form)return this.el.appendChild=this.originalAppendChild,this.el.insertBefore=this.originalInsertBefore,this.el.replaceChild=this.originalReplaceChild,void(this.el.removeChild=this.originalRemoveChild);this.el.appendChild=t=>this.form.appendChild(t),this.el.insertBefore=(t,i)=>this.form.insertBefore(t,i),this.el.replaceChild=(t,i)=>this.form.replaceChild(t,i),this.el.removeChild=t=>this.form.removeChild(t)}getFormValue(){const t=this.el,i=[],e=t.getElementsByTagName("input");for(let t=0;t<e.length;t++)i.push(e[t]);const s={},r={};i.forEach((t=>{"string"==typeof t.name&&(-1===t.className.indexOf("weui-switch")?"radio"!==t.type?"checkbox"!==t.type?s[t.name]=t.value:t.checked?r[t.name]?s[t.name].push(t.value):(r[t.name]=!0,s[t.name]=[t.value]):r[t.name]||(s[t.name]=[]):t.checked?(r[t.name]=!0,s[t.name]=t.value):r[t.name]||(s[t.name]=""):s[t.name]=t.checked)}));const o=t.getElementsByTagName("textarea"),h=[];for(let t=0;t<o.length;t++)h.push(o[t]);return h.forEach((t=>{"string"==typeof t.name&&(s[t.name]=t.value)})),s}render(){return e("form",{ref:t=>{this.form=t}},e("slot",null))}get el(){return s(this)}};r=new WeakMap;export{n as taro_form_core}
1
+ import{r as t,c as i,h as e,g as s}from"./p-d0cabaaa.js";var r,o=function(t,i,e,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof i?t!==i||!r:!i.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,e):r?r.value=e:i.set(t,e),e},h=function(t,i,e,s){if("a"===e&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof i?t!==i||!s:!i.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===e?s:"a"===e?s.call(t):s?s.value:i.get(t)};const n=class{constructor(e){t(this,e),this.onSubmit=i(this,"submit",7),r.set(this,{})}onButtonSubmit(t){t.stopPropagation(),o(this,r,this.getFormValue(),"f"),this.onSubmit.emit({value:h(this,r,"f")})}onButtonReset(t){t.stopPropagation(),this.form.reset()}componentDidLoad(){o(this,r,this.getFormValue(),"f"),Object.defineProperty(this.el,"value",{get:()=>h(this,r,"f"),configurable:!0})}componentDidRender(){if(this.originalAppendChild||(this.originalAppendChild=this.el.appendChild,this.originalInsertBefore=this.el.insertBefore,this.originalReplaceChild=this.el.replaceChild,this.originalRemoveChild=this.el.removeChild),!this.form)return this.el.appendChild=this.originalAppendChild,this.el.insertBefore=this.originalInsertBefore,this.el.replaceChild=this.originalReplaceChild,void(this.el.removeChild=this.originalRemoveChild);this.el.appendChild=t=>this.form.appendChild(t),this.el.insertBefore=(t,i)=>this.form.insertBefore(t,i),this.el.replaceChild=(t,i)=>this.form.replaceChild(t,i),this.el.removeChild=t=>this.form.removeChild(t)}getFormValue(){const t=this.el,i=[],e=t.getElementsByTagName("input");for(let t=0;t<e.length;t++)i.push(e[t]);const s={},r={};i.forEach((t=>{"string"==typeof t.name&&(-1===t.className.indexOf("weui-switch")?"radio"!==t.type?"checkbox"!==t.type?s[t.name]=t.value:t.checked?r[t.name]?s[t.name].push(t.value):(r[t.name]=!0,s[t.name]=[t.value]):r[t.name]||(s[t.name]=[]):t.checked?(r[t.name]=!0,s[t.name]=t.value):r[t.name]||(s[t.name]=""):s[t.name]=t.checked)}));const o=t.getElementsByTagName("textarea"),h=[];for(let t=0;t<o.length;t++)h.push(o[t]);return h.forEach((t=>{"string"==typeof t.name&&(s[t.name]=t.value)})),s}render(){return e("form",{ref:t=>{this.form=t}},e("slot",null))}get el(){return s(this)}};r=new WeakMap;export{n as taro_form_core}
@@ -1 +1 @@
1
- System.register(["./p-75d01c60.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_comment_list_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("CommentList",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
1
+ System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_comment_list_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("CommentList",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as e,g as r}from"./p-e62a1287.js";import h from"@tarojs/taro";import{c as a}from"./p-160d710a.js";const o="undefined"!=typeof navigator&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),n={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};let l=!1;try{const t=Object.defineProperty({},"passive",{get(){l=!0}});window.addEventListener("cancel",(()=>({})),t)}catch(t){}const c=!!l&&{passive:!1},d=class{constructor(s){t(this,s),this.onRefresh=i(this,"refresh",7),this._ScreenY=0,this._startScreenY=0,this._lastScreenY=0,this._isMounted=!1,this.triggerPullDownRefresh=t=>{!this.dragOnEdge&&this._isMounted&&(t?(this._lastScreenY=this.distanceToRefresh+1,this.currSt="release",this.setContentStyle(this._lastScreenY)):(this.currSt="finish",this.reset()))},this.init=()=>{const t=this.scrollContainer,i=this.el.querySelector(".rmc-pull-to-refresh-content");this.el.appendChild=null==i?void 0:i.appendChild.bind(i),this.el.insertBefore=null==i?void 0:i.insertBefore.bind(i),this.el.replaceChild=null==i?void 0:i.replaceChild.bind(i),this.el.removeChild=null==i?void 0:i.removeChild.bind(i),this._to={touchstart:this.onTouchStart.bind(this,t),touchmove:this.onTouchMove.bind(this,t),touchend:this.onTouchEnd.bind(this,t),touchcancel:this.onTouchEnd.bind(this,t)},Object.keys(this._to).forEach((i=>{t.addEventListener(i,this._to[i],c)}))},this.destroy=()=>{if(!this._to)return;const t=this.scrollContainer;Object.keys(this._to).forEach((i=>{t.removeEventListener(i,this._to[i])}))},this.onTouchStart=(t,i)=>{this._ScreenY=this._startScreenY=i.touches[0].screenY,this._lastScreenY=this._lastScreenY||0},this.isEdge=t=>{const i=this.scrollContainer;return i&&i===document.body?(document.scrollingElement?document.scrollingElement:document.body).scrollTop<=0:t.scrollTop<=0},this.damp=t=>Math.abs(this._lastScreenY)>this.damping?0:t*(.6*(1-Math.abs(this._ScreenY-this._startScreenY)/window.screen.height)),this.onTouchMove=(t,i)=>{const s=i.touches[0].screenY;if(!(this._startScreenY>s)&&this.isEdge(t)){this.dragOnEdge||(this._ScreenY=this._startScreenY=i.touches[0].screenY,this.dragOnEdge=!0),i.cancelable&&i.preventDefault();const t=Math.round(s-this._ScreenY);this._ScreenY=s,this._lastScreenY+=this.damp(t),this.setContentStyle(this._lastScreenY),Math.abs(this._lastScreenY)<this.distanceToRefresh?"deactivate"!==this.currSt&&(this.currSt="deactivate"):"deactivate"===this.currSt&&(this.currSt="activate"),o&&i.changedTouches[0].clientY<0&&this.onTouchEnd()}},this.onTouchEnd=()=>{this.dragOnEdge&&(this.dragOnEdge=!1),"activate"===this.currSt?(this.currSt="release",this.onRefresh.emit(this),this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):"release"===this.currSt?(this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):this.reset()},this.reset=()=>{this._lastScreenY=0,this.setContentStyle(0)},this.setContentStyle=t=>{var i,s;this.contentRef&&((i=this.contentRef.style).transform=s=t?`translate3d(0px,${t}px,0)`:"",i.webkitTransform=s,i.MozTransform=s)},this.prefixCls="rmc-pull-to-refresh",this.distanceToRefresh=50,this.damping=100,this.indicator=n,this.currSt="deactivate",this.dragOnEdge=!1}get scrollContainer(){return this.el.parentElement||this.el.closest(".taro_page_stationed")||document.querySelector(".taro_page_stationed")||document.querySelector(".taro_page")||document.querySelector(".taro_router")||document.querySelector(".taro-tabbar__panel")||document.body}statusChange(){var t,i,s,e;const r=this.scrollContainer;switch(this.currSt){case"release":null===(i=null===(t=null==r?void 0:r.__page)||void 0===t?void 0:t.onPullDownRefresh)||void 0===i||i.call(t);break;case"deactivate":null===(e=null===(s=null==r?void 0:r.__page)||void 0===s?void 0:s.onPullIntercept)||void 0===e||e.call(s)}}disconnectedCallback(){this.destroy()}componentDidLoad(){this.init(),this._isMounted=!0,h.eventCenter.on("__taroStartPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!0),t({errMsg:"startPullDownRefresh: ok"})}catch(t){i({errMsg:"startPullDownRefresh: fail"})}})),h.eventCenter.on("__taroStopPullDownRefresh",(({successHandler:t,errorHandler:i})=>{setTimeout((()=>{try{this.triggerPullDownRefresh(!1),t({errMsg:"stopPullDownRefresh: ok"})}catch(t){i({errMsg:"stopPullDownRefresh: fail"})}}),0)}))}render(){const t=t=>{const{currSt:i,dragOnEdge:e,prefixCls:r}=this,h=a(t,!e&&`${r}-transition`);return s("div",{class:`${r}-content-wrapper`},s("div",{class:h,ref:t=>{this.contentRef=t}},("activate"===i||"release"===i)&&s("div",{class:`${r}-indicator`},s("div",null),s("div",null),s("div",null)),s("slot",null)))};return this.scrollContainer?t(`${this.prefixCls}-content ${this.prefixCls}-down`):s(e,{class:a(this.prefixCls,`${this.prefixCls}-down`)},t(`${this.prefixCls}-content`))}get el(){return r(this)}static get watchers(){return{currSt:["statusChange"]}}};d.style=".rmc-pull-to-refresh-content{-webkit-transform-origin:0 0;transform-origin:0 0}.rmc-pull-to-refresh-content-wrapper{min-height:100%}.rmc-pull-to-refresh-transition{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s}@-webkit-keyframes rmc-pull-to-refresh-indicator{50%{opacity:.2}to{opacity:1}}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:.2}to{opacity:1}}.rmc-pull-to-refresh-indicator{text-align:center;height:30px;line-height:10px}.rmc-pull-to-refresh-indicator>div{background-color:gray;border-radius:100%;width:6px;height:6px;margin:3px;-webkit-animation:.5s linear infinite both rmc-pull-to-refresh-indicator;animation:.5s linear infinite both rmc-pull-to-refresh-indicator;display:inline-block}.rmc-pull-to-refresh-indicator>div:nth-child(0){-webkit-animation-delay:-.1s!important;animation-delay:-.1s!important}.rmc-pull-to-refresh-indicator>div:first-child{-webkit-animation-delay:-.2s!important;animation-delay:-.2s!important}.rmc-pull-to-refresh-indicator>div:nth-child(2){-webkit-animation-delay:-.3s!important;animation-delay:-.3s!important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";export{d as taro_pull_to_refresh_core}
1
+ import{r as t,c as i,h as s,H as r,g as e}from"./p-d0cabaaa.js";import h from"@tarojs/taro";import{c as a}from"./p-160d710a.js";const o="undefined"!=typeof navigator&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),n={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};let l=!1;try{const t=Object.defineProperty({},"passive",{get(){l=!0}});window.addEventListener("cancel",(()=>({})),t)}catch(t){}const c=!!l&&{passive:!1},d=class{constructor(s){t(this,s),this.onRefresh=i(this,"refresh",7),this._ScreenY=0,this._startScreenY=0,this._lastScreenY=0,this._isMounted=!1,this.triggerPullDownRefresh=t=>{!this.dragOnEdge&&this._isMounted&&(t?(this._lastScreenY=this.distanceToRefresh+1,this.currSt="release",this.setContentStyle(this._lastScreenY)):(this.currSt="finish",this.reset()))},this.init=()=>{const t=this.scrollContainer,i=this.el.querySelector(".rmc-pull-to-refresh-content");this.el.appendChild=null==i?void 0:i.appendChild.bind(i),this.el.insertBefore=null==i?void 0:i.insertBefore.bind(i),this.el.replaceChild=null==i?void 0:i.replaceChild.bind(i),this.el.removeChild=null==i?void 0:i.removeChild.bind(i),this._to={touchstart:this.onTouchStart.bind(this,t),touchmove:this.onTouchMove.bind(this,t),touchend:this.onTouchEnd.bind(this,t),touchcancel:this.onTouchEnd.bind(this,t)},Object.keys(this._to).forEach((i=>{t.addEventListener(i,this._to[i],c)}))},this.destroy=()=>{if(!this._to)return;const t=this.scrollContainer;Object.keys(this._to).forEach((i=>{t.removeEventListener(i,this._to[i])}))},this.onTouchStart=(t,i)=>{this._ScreenY=this._startScreenY=i.touches[0].screenY,this._lastScreenY=this._lastScreenY||0},this.isEdge=t=>{const i=this.scrollContainer;return i&&i===document.body?(document.scrollingElement?document.scrollingElement:document.body).scrollTop<=0:t.scrollTop<=0},this.damp=t=>Math.abs(this._lastScreenY)>this.damping?0:t*(.6*(1-Math.abs(this._ScreenY-this._startScreenY)/window.screen.height)),this.onTouchMove=(t,i)=>{const s=i.touches[0].screenY;if(!(this._startScreenY>s)&&this.isEdge(t)){this.dragOnEdge||(this._ScreenY=this._startScreenY=i.touches[0].screenY,this.dragOnEdge=!0),i.cancelable&&i.preventDefault();const t=Math.round(s-this._ScreenY);this._ScreenY=s,this._lastScreenY+=this.damp(t),this.setContentStyle(this._lastScreenY),Math.abs(this._lastScreenY)<this.distanceToRefresh?"deactivate"!==this.currSt&&(this.currSt="deactivate"):"deactivate"===this.currSt&&(this.currSt="activate"),o&&i.changedTouches[0].clientY<0&&this.onTouchEnd()}},this.onTouchEnd=()=>{this.dragOnEdge&&(this.dragOnEdge=!1),"activate"===this.currSt?(this.currSt="release",this.onRefresh.emit(this),this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):"release"===this.currSt?(this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):this.reset()},this.reset=()=>{this._lastScreenY=0,this.setContentStyle(0)},this.setContentStyle=t=>{var i,s;this.contentRef&&((i=this.contentRef.style).transform=s=t?`translate3d(0px,${t}px,0)`:"",i.webkitTransform=s,i.MozTransform=s)},this.prefixCls="rmc-pull-to-refresh",this.distanceToRefresh=50,this.damping=100,this.indicator=n,this.currSt="deactivate",this.dragOnEdge=!1}get scrollContainer(){return this.el.parentElement||this.el.closest(".taro_page_stationed")||document.querySelector(".taro_page_stationed")||document.querySelector(".taro_page")||document.querySelector(".taro_router")||document.querySelector(".taro-tabbar__panel")||document.body}statusChange(){var t,i,s,r;const e=this.scrollContainer;switch(this.currSt){case"release":null===(i=null===(t=null==e?void 0:e.__page)||void 0===t?void 0:t.onPullDownRefresh)||void 0===i||i.call(t);break;case"deactivate":null===(r=null===(s=null==e?void 0:e.__page)||void 0===s?void 0:s.onPullIntercept)||void 0===r||r.call(s)}}disconnectedCallback(){this.destroy()}componentDidLoad(){this.init(),this._isMounted=!0,h.eventCenter.on("__taroStartPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!0),t({errMsg:"startPullDownRefresh: ok"})}catch(t){i({errMsg:"startPullDownRefresh: fail"})}})),h.eventCenter.on("__taroStopPullDownRefresh",(({successHandler:t,errorHandler:i})=>{setTimeout((()=>{try{this.triggerPullDownRefresh(!1),t({errMsg:"stopPullDownRefresh: ok"})}catch(t){i({errMsg:"stopPullDownRefresh: fail"})}}),0)}))}render(){const t=t=>{const{currSt:i,dragOnEdge:r,prefixCls:e}=this,h=a(t,!r&&`${e}-transition`);return s("div",{class:`${e}-content-wrapper`},s("div",{class:h,ref:t=>{this.contentRef=t}},("activate"===i||"release"===i)&&s("div",{class:`${e}-indicator`},s("div",null),s("div",null),s("div",null)),s("slot",null)))};return this.scrollContainer?t(`${this.prefixCls}-content ${this.prefixCls}-down`):s(r,{class:a(this.prefixCls,`${this.prefixCls}-down`)},t(`${this.prefixCls}-content`))}get el(){return e(this)}static get watchers(){return{currSt:["statusChange"]}}};d.style=".rmc-pull-to-refresh-content{-webkit-transform-origin:0 0;transform-origin:0 0}.rmc-pull-to-refresh-content-wrapper{min-height:100%}.rmc-pull-to-refresh-transition{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s}@-webkit-keyframes rmc-pull-to-refresh-indicator{50%{opacity:.2}to{opacity:1}}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:.2}to{opacity:1}}.rmc-pull-to-refresh-indicator{text-align:center;height:30px;line-height:10px}.rmc-pull-to-refresh-indicator>div{background-color:gray;border-radius:100%;width:6px;height:6px;margin:3px;-webkit-animation:.5s linear infinite both rmc-pull-to-refresh-indicator;animation:.5s linear infinite both rmc-pull-to-refresh-indicator;display:inline-block}.rmc-pull-to-refresh-indicator>div:nth-child(0){-webkit-animation-delay:-.1s!important;animation-delay:-.1s!important}.rmc-pull-to-refresh-indicator>div:first-child{-webkit-animation-delay:-.2s!important;animation-delay:-.2s!important}.rmc-pull-to-refresh-indicator>div:nth-child(2){-webkit-animation-delay:-.3s!important;animation-delay:-.3s!important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";export{d as taro_pull_to_refresh_core}
@@ -0,0 +1 @@
1
+ import{r,h as o,H as t}from"./p-d0cabaaa.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){a("GridView",this)}render(){return o(t,null)}};export{s as taro_grid_view_core}
@@ -1 +1 @@
1
- System.register(["./p-75d01c60.system.js"],(function(e){"use strict";var r,s,t;return{setters:[function(e){r=e.r;s=e.h;t=e.H}],execute:function(){var o=".weui-progress{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-progress__bar{background-color:#ebebeb;-ms-flex:1;flex:1;height:3px}.weui-progress__inner-bar{background-color:#09bb07;width:0;height:100%}.weui-progress__opr{margin-left:15px;font-size:0;display:block}";var i=e("taro_progress_core",function(){function e(e){r(this,e);this.percent=0;this.showInfo=false;this.borderRadius=0;this.fontSize=16;this.strokeWidth=6;this.activeColor="#09BB07";this.backgroundColor="#EBEBEB";this.active=false}e.prototype.render=function(){var e=this,r=e.percent,o=e.showInfo,i=e.borderRadius,n=e.fontSize,a=e.strokeWidth,c=e.activeColor,l=e.backgroundColor,u=e.active;var p=r>100?100:r<0?0:r;var d={height:a+"px",backgroundColor:l};var h=u?"width 1s ease-in-out":"none";var g={width:"".concat(p,"%"),transition:h,WebkitTransition:h,backgroundColor:c,borderRadius:i?"".concat(i,"px"):"0px"};return s(t,{class:"weui-progress"},s("div",{class:"weui-progress__bar",style:d},s("div",{class:"weui-progress__inner-bar",style:g})),o&&s("div",{class:"weui-progress__opr",style:{"font-size":"".concat(n,"px")}},s("span",null,p,"%")))};return e}());i.style=o}}}));
1
+ System.register(["./p-88de70df.system.js"],(function(e){"use strict";var r,s,t;return{setters:[function(e){r=e.r;s=e.h;t=e.H}],execute:function(){var o=".weui-progress{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-progress__bar{background-color:#ebebeb;-ms-flex:1;flex:1;height:3px}.weui-progress__inner-bar{background-color:#09bb07;width:0;height:100%}.weui-progress__opr{margin-left:15px;font-size:0;display:block}";var i=e("taro_progress_core",function(){function e(e){r(this,e);this.percent=0;this.showInfo=false;this.borderRadius=0;this.fontSize=16;this.strokeWidth=6;this.activeColor="#09BB07";this.backgroundColor="#EBEBEB";this.active=false}e.prototype.render=function(){var e=this,r=e.percent,o=e.showInfo,i=e.borderRadius,n=e.fontSize,a=e.strokeWidth,c=e.activeColor,l=e.backgroundColor,u=e.active;var d=r>100?100:r<0?0:r;var p={height:a+"px",backgroundColor:l};var h=u?"width 1s ease-in-out":"none";var g={width:"".concat(d,"%"),transition:h,WebkitTransition:h,backgroundColor:c,borderRadius:i?"".concat(i,"px"):"0px"};return s(t,{class:"weui-progress"},s("div",{class:"weui-progress__bar",style:p},s("div",{class:"weui-progress__inner-bar",style:g})),o&&s("div",{class:"weui-progress__opr",style:{"font-size":"".concat(n,"px")}},s("span",null,d,"%")))};return e}());i.style=o}}}));