@tarojs/components 3.8.0-canary.0 → 4.0.0-alpha.2

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 (720) hide show
  1. package/LICENSE +14 -0
  2. package/dist/cjs/helper-ad6306f6.js +31 -0
  3. package/dist/cjs/{index-e751dfe3.js → index-5b029707.js} +208 -2
  4. package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
  7. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
  8. package/dist/cjs/taro-animation-video-core.cjs.entry.js +2 -2
  9. package/dist/cjs/taro-animation-view-core.cjs.entry.js +2 -2
  10. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +2 -2
  11. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  12. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +2 -2
  13. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
  15. package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
  16. package/dist/cjs/taro-canvas-core.cjs.entry.js +15 -3
  17. package/dist/cjs/taro-channel-live-core.cjs.entry.js +2 -2
  18. package/dist/cjs/taro-channel-video-core.cjs.entry.js +2 -2
  19. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  20. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-comment-list-core.cjs.entry.js +2 -2
  22. package/dist/cjs/taro-components.cjs.js +2 -2
  23. package/dist/cjs/taro-contact-button-core.cjs.entry.js +2 -2
  24. package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
  25. package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-editor-core.cjs.entry.js +2 -2
  28. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +2 -2
  29. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
  31. package/dist/cjs/taro-grid-view-core.cjs.entry.js +2 -2
  32. package/dist/cjs/taro-icon-core.cjs.entry.js +4 -1
  33. package/dist/cjs/taro-image-core.cjs.entry.js +6 -5
  34. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +2 -2
  35. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  36. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
  37. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-like-core.cjs.entry.js +2 -2
  40. package/dist/cjs/taro-list-view-core.cjs.entry.js +2 -2
  41. package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
  42. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
  43. package/dist/cjs/taro-login-core.cjs.entry.js +2 -2
  44. package/dist/cjs/taro-lottie-core.cjs.entry.js +2 -2
  45. package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
  46. package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
  47. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +5 -4
  48. package/dist/cjs/taro-native-slot-core.cjs.entry.js +2 -2
  49. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
  50. package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
  52. package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
  53. package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
  54. package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
  55. package/dist/cjs/taro-picker-core_2.cjs.entry.js +33 -32
  56. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +39 -39
  57. package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
  58. package/dist/cjs/{taro-pull-to-refresh.cjs.entry.js → taro-pull-to-refresh-core.cjs.entry.js} +19 -14
  59. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  61. package/dist/cjs/taro-root-portal-core.cjs.entry.js +2 -2
  62. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +2 -2
  63. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +2 -2
  64. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +15 -3
  65. package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
  66. package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
  67. package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
  68. package/dist/cjs/taro-snapshot-core.cjs.entry.js +21 -0
  69. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +2 -2
  70. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +2 -2
  71. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +112 -9922
  72. package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
  73. package/dist/cjs/taro-tab-item-core.cjs.entry.js +2 -2
  74. package/dist/cjs/taro-tabbar.cjs.entry.js +14 -98
  75. package/dist/cjs/taro-tabs-core.cjs.entry.js +2 -2
  76. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  77. package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
  78. package/dist/cjs/taro-video-control_3.cjs.entry.js +31 -7
  79. package/dist/cjs/taro-view-core.cjs.entry.js +5 -11
  80. package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
  81. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  82. package/dist/collection/collection-manifest.json +1 -0
  83. package/dist/collection/components/audio/style/index.css +1 -4
  84. package/dist/collection/components/button/style/index.css +1 -160
  85. package/dist/collection/components/canvas/canvas.js +48 -2
  86. package/dist/collection/components/canvas/style/index.css +1 -6
  87. package/dist/collection/components/checkbox/style/index.css +1 -39
  88. package/dist/collection/components/cover-image/style/index.css +1 -5
  89. package/dist/collection/components/cover-view/style/cover-view.css +1 -3
  90. package/dist/collection/components/icon/icon.js +10 -0
  91. package/dist/collection/components/icon/style/index.css +1 -0
  92. package/dist/collection/components/image/image.js +4 -3
  93. package/dist/collection/components/image/style/index.css +1 -73
  94. package/dist/collection/components/input/input.js +2 -2
  95. package/dist/collection/components/input/style/index.css +1 -0
  96. package/dist/collection/components/movable-area/area.css +1 -6
  97. package/dist/collection/components/movable-area/movable-area.js +2 -1
  98. package/dist/collection/components/movable-area/view.css +1 -8
  99. package/dist/collection/components/navigator/style/index.css +1 -3
  100. package/dist/collection/components/picker/picker.js +31 -30
  101. package/dist/collection/components/picker/style/index.css +1 -4
  102. package/dist/collection/components/picker-view/picker-view-column.js +27 -55
  103. package/dist/collection/components/picker-view/picker-view.js +14 -2
  104. package/dist/collection/components/picker-view/style/column.css +1 -12
  105. package/dist/collection/components/picker-view/style/index.css +1 -28
  106. package/dist/collection/components/progress/progress.js +10 -0
  107. package/dist/collection/components/progress/style/index.css +1 -0
  108. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +17 -12
  109. package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
  110. package/dist/collection/components/rich-text/style/index.css +1 -16
  111. package/dist/collection/components/scroll-view/scroll-view.js +18 -2
  112. package/dist/collection/components/scroll-view/style/index.css +1 -17
  113. package/dist/collection/components/slider/slider.js +10 -0
  114. package/dist/collection/components/slider/style/index.css +1 -0
  115. package/dist/collection/components/snapshot/snapshot.js +11 -0
  116. package/dist/collection/components/swiper/style/index.css +2 -19
  117. package/dist/collection/components/swiper/swiper-item.js +54 -33
  118. package/dist/collection/components/swiper/swiper.js +57 -26
  119. package/dist/collection/components/switch/style/index.css +1 -10
  120. package/dist/collection/components/switch/switch.js +12 -12
  121. package/dist/collection/components/tabbar/style/index.css +1 -49
  122. package/dist/collection/components/tabbar/tabbar-item.js +1 -1
  123. package/dist/collection/components/tabbar/tabbar.js +5 -5
  124. package/dist/collection/components/text/style/index.css +1 -26
  125. package/dist/collection/components/textarea/style/index.css +1 -22
  126. package/dist/collection/components/textarea/textarea.js +11 -0
  127. package/dist/collection/components/video/style/index.css +1 -326
  128. package/dist/collection/components/video/video.js +6 -2
  129. package/dist/collection/components/view/style/index.css +1 -9
  130. package/dist/collection/components/view/view.js +2 -9
  131. package/dist/collection/components/web-view/style/index.css +1 -12
  132. package/dist/collection/utils/helper.js +11 -0
  133. package/dist/collection/utils/index.js +10 -0
  134. package/dist/components/helper.js +12 -1
  135. package/dist/components/index.d.ts +2 -1
  136. package/dist/components/index.js +2 -1
  137. package/dist/components/index3.js +6 -1
  138. package/dist/components/taro-audio-core.js +1 -1
  139. package/dist/components/taro-button-core.js +1 -1
  140. package/dist/components/taro-canvas-core.js +17 -3
  141. package/dist/components/taro-checkbox-core.js +1 -1
  142. package/dist/components/taro-cover-image-core.js +1 -1
  143. package/dist/components/taro-icon-core.js +3 -0
  144. package/dist/components/taro-image-core.js +5 -4
  145. package/dist/components/taro-input-core.js +1 -1
  146. package/dist/components/taro-movable-area-core.js +3 -2
  147. package/dist/components/taro-movable-view-core.js +1 -1
  148. package/dist/components/taro-picker-core.js +32 -31
  149. package/dist/components/taro-picker-view-column-core.js +27 -37
  150. package/dist/components/taro-picker-view-core.js +12 -3
  151. package/dist/components/taro-progress-core.js +3 -0
  152. package/dist/components/taro-pull-to-refresh-core.d.ts +11 -0
  153. package/dist/components/{taro-pull-to-refresh.js → taro-pull-to-refresh-core.js} +22 -17
  154. package/dist/components/taro-rich-text-core.js +1 -1
  155. package/dist/components/taro-scroll-view-core.js +13 -2
  156. package/dist/components/taro-slider-core.js +3 -0
  157. package/dist/components/{taro-pull-to-refresh.d.ts → taro-snapshot-core.d.ts} +4 -4
  158. package/dist/components/taro-snapshot-core.js +33 -0
  159. package/dist/components/taro-swiper-core.js +62 -9879
  160. package/dist/components/taro-swiper-item-core.js +40 -36
  161. package/dist/components/taro-switch-core.js +13 -13
  162. package/dist/components/taro-tabbar.js +4 -89
  163. package/dist/components/taro-text-core.js +1 -1
  164. package/dist/components/taro-textarea-core.js +11 -2
  165. package/dist/components/taro-video-core.js +8 -4
  166. package/dist/components/taro-view-core.js +3 -10
  167. package/dist/components/taro-web-view-core.js +1 -1
  168. package/dist/esm/helper-8a85bb65.js +24 -0
  169. package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
  170. package/dist/esm/{index-980f930f.js → index-ab3c86da.js} +208 -2
  171. package/dist/esm/loader.js +3 -3
  172. package/dist/esm/taro-ad-core.entry.js +2 -2
  173. package/dist/esm/taro-ad-custom-core.entry.js +2 -2
  174. package/dist/esm/taro-animation-video-core.entry.js +2 -2
  175. package/dist/esm/taro-animation-view-core.entry.js +2 -2
  176. package/dist/esm/taro-ar-camera-core.entry.js +2 -2
  177. package/dist/esm/taro-audio-core.entry.js +2 -2
  178. package/dist/esm/taro-aweme-data-core.entry.js +2 -2
  179. package/dist/esm/taro-block-core.entry.js +1 -1
  180. package/dist/esm/taro-button-core.entry.js +2 -2
  181. package/dist/esm/taro-camera-core.entry.js +2 -2
  182. package/dist/esm/taro-canvas-core.entry.js +15 -3
  183. package/dist/esm/taro-channel-live-core.entry.js +2 -2
  184. package/dist/esm/taro-channel-video-core.entry.js +2 -2
  185. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  186. package/dist/esm/taro-comment-detail-core.entry.js +2 -2
  187. package/dist/esm/taro-comment-list-core.entry.js +2 -2
  188. package/dist/esm/taro-components.js +3 -3
  189. package/dist/esm/taro-contact-button-core.entry.js +2 -2
  190. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  191. package/dist/esm/taro-cover-view-core.entry.js +1 -1
  192. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  193. package/dist/esm/taro-editor-core.entry.js +2 -2
  194. package/dist/esm/taro-follow-swan-core.entry.js +2 -2
  195. package/dist/esm/taro-form-core.entry.js +1 -1
  196. package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
  197. package/dist/esm/taro-grid-view-core.entry.js +2 -2
  198. package/dist/esm/taro-icon-core.entry.js +4 -1
  199. package/dist/esm/taro-image-core.entry.js +6 -5
  200. package/dist/esm/taro-inline-payment-panel-core.entry.js +2 -2
  201. package/dist/esm/taro-input-core.entry.js +2 -2
  202. package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
  203. package/dist/esm/taro-label-core.entry.js +1 -1
  204. package/dist/esm/taro-lifestyle-core.entry.js +2 -2
  205. package/dist/esm/taro-like-core.entry.js +2 -2
  206. package/dist/esm/taro-list-view-core.entry.js +2 -2
  207. package/dist/esm/taro-live-player-core.entry.js +2 -2
  208. package/dist/esm/taro-live-pusher-core.entry.js +2 -2
  209. package/dist/esm/taro-login-core.entry.js +2 -2
  210. package/dist/esm/taro-lottie-core.entry.js +2 -2
  211. package/dist/esm/taro-map-core.entry.js +2 -2
  212. package/dist/esm/taro-match-media-core.entry.js +2 -2
  213. package/dist/esm/taro-movable-area-core_2.entry.js +5 -4
  214. package/dist/esm/taro-native-slot-core.entry.js +2 -2
  215. package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
  216. package/dist/esm/taro-navigator-core.entry.js +1 -1
  217. package/dist/esm/taro-official-account-core.entry.js +2 -2
  218. package/dist/esm/taro-open-data-core.entry.js +2 -2
  219. package/dist/esm/taro-page-container-core.entry.js +2 -2
  220. package/dist/esm/taro-page-meta-core.entry.js +2 -2
  221. package/dist/esm/taro-picker-core_2.entry.js +33 -32
  222. package/dist/esm/taro-picker-view-column-core_2.entry.js +39 -39
  223. package/dist/esm/taro-progress-core.entry.js +4 -1
  224. package/dist/esm/{taro-pull-to-refresh.entry.js → taro-pull-to-refresh-core.entry.js} +19 -14
  225. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  226. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  227. package/dist/esm/taro-root-portal-core.entry.js +2 -2
  228. package/dist/esm/taro-rtc-room-core.entry.js +2 -2
  229. package/dist/esm/taro-rtc-room-item-core.entry.js +2 -2
  230. package/dist/esm/taro-scroll-view-core.entry.js +15 -3
  231. package/dist/esm/taro-share-element-core.entry.js +2 -2
  232. package/dist/esm/taro-slider-core.entry.js +4 -1
  233. package/dist/esm/taro-slot-core.entry.js +2 -2
  234. package/dist/esm/taro-snapshot-core.entry.js +17 -0
  235. package/dist/esm/taro-sticky-header-core.entry.js +2 -2
  236. package/dist/esm/taro-sticky-section-core.entry.js +2 -2
  237. package/dist/esm/taro-swiper-core_2.entry.js +100 -9914
  238. package/dist/esm/taro-switch-core.entry.js +13 -12
  239. package/dist/esm/taro-tab-item-core.entry.js +2 -2
  240. package/dist/esm/taro-tabbar.entry.js +5 -90
  241. package/dist/esm/taro-tabs-core.entry.js +2 -2
  242. package/dist/esm/taro-text-core.entry.js +2 -2
  243. package/dist/esm/taro-textarea-core.entry.js +12 -3
  244. package/dist/esm/taro-video-control_3.entry.js +10 -6
  245. package/dist/esm/taro-view-core.entry.js +5 -11
  246. package/dist/esm/taro-voip-room-core.entry.js +2 -2
  247. package/dist/esm/taro-web-view-core.entry.js +2 -2
  248. package/dist/esm-es5/helper-8a85bb65.js +1 -0
  249. package/dist/esm-es5/index-a00a7418.js +1 -0
  250. package/dist/esm-es5/index-ab3c86da.js +2 -0
  251. package/dist/esm-es5/loader.js +1 -1
  252. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  253. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  254. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  255. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  256. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  257. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  258. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  259. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  260. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  261. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  262. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  263. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  264. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  265. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  266. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  267. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  268. package/dist/esm-es5/taro-components.js +1 -1
  269. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  270. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  271. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  272. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  273. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  274. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  275. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  276. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  277. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  278. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  279. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  280. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  281. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  282. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  283. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  284. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  285. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  286. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  287. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  288. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  289. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  290. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  291. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  292. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  293. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  294. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  295. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  296. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  297. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  298. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  299. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  300. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  301. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  302. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  303. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  304. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -0
  305. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  306. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  307. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  308. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  309. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  310. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  311. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  312. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  313. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  314. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -0
  315. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  316. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  317. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  318. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  319. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  320. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  321. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  322. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  323. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  324. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  325. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  326. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  327. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  328. package/dist/hydrate/index.d.ts +217 -0
  329. package/dist/hydrate/index.js +13054 -0
  330. package/dist/hydrate/package.json +6 -0
  331. package/dist/taro-components/p-0044961f.system.entry.js +1 -0
  332. package/dist/taro-components/p-010faa87.system.js +1 -0
  333. package/dist/taro-components/p-0132e803.entry.js +1 -0
  334. package/dist/taro-components/p-019124ae.system.entry.js +1 -0
  335. package/dist/taro-components/p-04f97133.system.entry.js +1 -0
  336. package/dist/taro-components/p-069ae782.system.entry.js +1 -0
  337. package/dist/taro-components/{p-2af69b72.entry.js → p-0d8a0733.entry.js} +1 -1
  338. package/dist/taro-components/p-0f95be56.entry.js +1 -0
  339. package/dist/taro-components/p-0fe4660a.entry.js +1 -0
  340. package/dist/taro-components/p-1087c51a.system.entry.js +1 -0
  341. package/dist/taro-components/p-11c0dc59.system.entry.js +1 -0
  342. package/dist/taro-components/p-12b967fd.entry.js +1 -0
  343. package/dist/taro-components/{p-43720011.entry.js → p-13bf0192.entry.js} +1 -1
  344. package/dist/taro-components/p-13e80cf7.entry.js +1 -0
  345. package/dist/taro-components/p-15c1ce79.entry.js +1 -0
  346. package/dist/taro-components/p-16705ca9.entry.js +1 -0
  347. package/dist/taro-components/{p-f420680c.system.entry.js → p-194ace03.system.entry.js} +1 -1
  348. package/dist/taro-components/p-19b04eb7.entry.js +1 -0
  349. package/dist/taro-components/{p-07302165.system.entry.js → p-19b993d8.system.entry.js} +1 -1
  350. package/dist/taro-components/p-1b1034dc.entry.js +1 -0
  351. package/dist/taro-components/p-22f6316e.entry.js +1 -0
  352. package/dist/taro-components/p-25636983.entry.js +1 -0
  353. package/dist/taro-components/p-28bc8a48.entry.js +1 -0
  354. package/dist/taro-components/p-2b70c348.system.js +2 -0
  355. package/dist/taro-components/p-2d382d0e.entry.js +1 -0
  356. package/dist/taro-components/p-2ebc3182.entry.js +1 -0
  357. package/dist/taro-components/p-2f8ebd28.system.entry.js +1 -0
  358. package/dist/taro-components/p-317c4cad.entry.js +1 -0
  359. package/dist/taro-components/{p-38ee526a.entry.js → p-342a2594.entry.js} +1 -1
  360. package/dist/taro-components/p-3430d520.system.entry.js +1 -0
  361. package/dist/taro-components/{p-f11c9c37.system.entry.js → p-36ea0ac1.system.entry.js} +1 -1
  362. package/dist/taro-components/p-370cc947.entry.js +1 -0
  363. package/dist/taro-components/p-378b504c.entry.js +1 -0
  364. package/dist/taro-components/{p-ebc7b6fc.entry.js → p-37bc198d.entry.js} +1 -1
  365. package/dist/taro-components/{p-bf0e0394.entry.js → p-39b3e34d.entry.js} +1 -1
  366. package/dist/taro-components/p-3a0a05fd.system.entry.js +1 -0
  367. package/dist/taro-components/p-3a3d40de.system.entry.js +1 -0
  368. package/dist/taro-components/p-3d423adc.entry.js +1 -0
  369. package/dist/taro-components/p-3eedb8d7.system.entry.js +1 -0
  370. package/dist/taro-components/p-43932446.entry.js +1 -0
  371. package/dist/taro-components/{p-ab726c20.system.entry.js → p-46ccb393.system.entry.js} +1 -1
  372. package/dist/taro-components/p-477f8fbd.system.js +1 -0
  373. package/dist/taro-components/p-4824cc94.entry.js +1 -0
  374. package/dist/taro-components/p-48a84765.entry.js +1 -0
  375. package/dist/taro-components/p-49e9b2ff.entry.js +1 -0
  376. package/dist/taro-components/p-4a748c0d.entry.js +1 -0
  377. package/dist/taro-components/{p-b5b30493.system.entry.js → p-4b5f75b9.system.entry.js} +1 -1
  378. package/dist/taro-components/p-4e63d3bd.entry.js +1 -0
  379. package/dist/taro-components/p-4fcb258a.entry.js +1 -0
  380. package/dist/taro-components/{p-9fe49bab.entry.js → p-4ffae31c.entry.js} +1 -1
  381. package/dist/taro-components/p-50b21f94.entry.js +1 -0
  382. package/dist/taro-components/p-518a9b73.entry.js +1 -0
  383. package/dist/taro-components/{p-085076c5.system.entry.js → p-52ad5213.system.entry.js} +1 -1
  384. package/dist/taro-components/p-54b24e2f.system.entry.js +1 -0
  385. package/dist/taro-components/{p-f534057e.system.entry.js → p-55934653.system.entry.js} +1 -1
  386. package/dist/taro-components/{p-0d7a705b.system.entry.js → p-562eace8.system.entry.js} +1 -1
  387. package/dist/taro-components/p-5893c3ed.js +1 -0
  388. package/dist/taro-components/p-5a78fbdf.system.entry.js +1 -0
  389. package/dist/taro-components/p-5b4de079.entry.js +1 -0
  390. package/dist/taro-components/p-5b86e66b.system.entry.js +1 -0
  391. package/dist/taro-components/p-5bfdb5f3.entry.js +1 -0
  392. package/dist/taro-components/{p-66b0b419.system.entry.js → p-5c0f97d3.system.entry.js} +1 -1
  393. package/dist/taro-components/{p-0fa96970.entry.js → p-5dbabb65.entry.js} +1 -1
  394. package/dist/taro-components/p-5f4c6ca5.entry.js +1 -0
  395. package/dist/taro-components/{p-9ac947ac.system.entry.js → p-618ee593.system.entry.js} +1 -1
  396. package/dist/taro-components/p-62df5526.entry.js +1 -0
  397. package/dist/taro-components/p-66029061.system.entry.js +1 -0
  398. package/dist/taro-components/p-69e70cd5.system.entry.js +1 -0
  399. package/dist/taro-components/{p-8201ee31.system.entry.js → p-6c06b440.system.entry.js} +1 -1
  400. package/dist/taro-components/p-6f1034a6.system.entry.js +1 -0
  401. package/dist/taro-components/p-6f3187bc.entry.js +1 -0
  402. package/dist/taro-components/p-6f8926e3.entry.js +1 -0
  403. package/dist/taro-components/p-756aa971.entry.js +1 -0
  404. package/dist/taro-components/p-7615d8a6.system.entry.js +1 -0
  405. package/dist/taro-components/p-77e030e9.system.entry.js +1 -0
  406. package/dist/taro-components/p-7b3ce3af.system.entry.js +1 -0
  407. package/dist/taro-components/p-7b80637e.system.entry.js +1 -0
  408. package/dist/taro-components/p-7e3f0837.entry.js +1 -0
  409. package/dist/taro-components/p-7f3d9184.entry.js +1 -0
  410. package/dist/taro-components/p-80228985.entry.js +1 -0
  411. package/dist/taro-components/{p-227e33fc.system.entry.js → p-80fa706c.system.entry.js} +1 -1
  412. package/dist/taro-components/{p-ebdd350f.system.entry.js → p-829157b1.system.entry.js} +1 -1
  413. package/dist/taro-components/p-82c5b9d3.entry.js +1 -0
  414. package/dist/taro-components/{p-5640e9f4.system.entry.js → p-82d52f00.system.entry.js} +1 -1
  415. package/dist/taro-components/p-8a6e93ed.entry.js +1 -0
  416. package/dist/taro-components/p-8b7e37c9.system.entry.js +1 -0
  417. package/dist/taro-components/p-8bde1f48.entry.js +1 -0
  418. package/dist/taro-components/p-8c3b906c.system.js +1 -0
  419. package/dist/taro-components/{p-6d4b7e5c.system.entry.js → p-90ee19f8.system.entry.js} +1 -1
  420. package/dist/taro-components/{p-fd7ff0f3.system.entry.js → p-923aa1c8.system.entry.js} +1 -1
  421. package/dist/taro-components/p-92b7b545.entry.js +1 -0
  422. package/dist/taro-components/{p-7e8e355b.system.entry.js → p-93b39a89.system.entry.js} +1 -1
  423. package/dist/taro-components/{p-fa0f6dab.system.entry.js → p-970a4199.system.entry.js} +1 -1
  424. package/dist/taro-components/p-97177863.system.entry.js +1 -0
  425. package/dist/taro-components/p-99440bcc.system.entry.js +1 -0
  426. package/dist/taro-components/p-9f3e0019.system.entry.js +1 -0
  427. package/dist/taro-components/p-a0f42e7f.entry.js +1 -0
  428. package/dist/taro-components/p-a2f848cc.entry.js +1 -0
  429. package/dist/taro-components/p-a6790f39.entry.js +1 -0
  430. package/dist/taro-components/p-a997cf7c.system.entry.js +1 -0
  431. package/dist/taro-components/p-aa11b00c.system.entry.js +1 -0
  432. package/dist/taro-components/p-adee7f1b.system.entry.js +1 -0
  433. package/dist/taro-components/p-ae99551a.entry.js +1 -0
  434. package/dist/taro-components/p-aed23034.system.entry.js +1 -0
  435. package/dist/taro-components/p-b259a558.system.entry.js +1 -0
  436. package/dist/taro-components/{p-30805bdf.entry.js → p-b3129dec.entry.js} +1 -1
  437. package/dist/taro-components/p-b3419d7f.system.entry.js +1 -0
  438. package/dist/taro-components/p-b43fa9b0.entry.js +1 -0
  439. package/dist/taro-components/p-b4707cdd.entry.js +1 -0
  440. package/dist/taro-components/p-b655e854.system.entry.js +1 -0
  441. package/dist/taro-components/{p-88d2b41b.system.entry.js → p-b66dfc82.system.entry.js} +1 -1
  442. package/dist/taro-components/p-ba241824.system.entry.js +1 -0
  443. package/dist/taro-components/p-baea6a63.entry.js +1 -0
  444. package/dist/taro-components/p-bdafd94c.system.entry.js +1 -0
  445. package/dist/taro-components/p-be68ae6e.system.entry.js +1 -0
  446. package/dist/taro-components/p-c0d93f74.entry.js +1 -0
  447. package/dist/taro-components/p-c0f16127.entry.js +1 -0
  448. package/dist/taro-components/p-c253be9f.entry.js +1 -0
  449. package/dist/taro-components/p-c2da52a5.entry.js +1 -0
  450. package/dist/taro-components/p-c58627f4.entry.js +1 -0
  451. package/dist/taro-components/p-c863ac7f.system.entry.js +1 -0
  452. package/dist/taro-components/p-cee51d71.system.entry.js +1 -0
  453. package/dist/taro-components/p-d12b6a84.system.entry.js +1 -0
  454. package/dist/taro-components/p-d184903b.entry.js +1 -0
  455. package/dist/taro-components/p-d1a095bd.system.entry.js +1 -0
  456. package/dist/taro-components/p-d29a59cd.entry.js +1 -0
  457. package/dist/taro-components/p-da4c4cad.entry.js +1 -0
  458. package/dist/taro-components/p-dbdb9de9.js +1 -0
  459. package/dist/taro-components/p-dbeadc04.system.entry.js +1 -0
  460. package/dist/taro-components/{p-b641e598.entry.js → p-dc366f18.entry.js} +1 -1
  461. package/dist/taro-components/p-dd7a128d.js +2 -0
  462. package/dist/taro-components/p-dde26531.entry.js +1 -0
  463. package/dist/taro-components/p-de1d495a.system.entry.js +1 -0
  464. package/dist/taro-components/p-e23769c4.entry.js +1 -0
  465. package/dist/taro-components/p-e2694a79.system.entry.js +1 -0
  466. package/dist/taro-components/p-e2a22cd1.entry.js +1 -0
  467. package/dist/taro-components/{p-898db637.system.entry.js → p-e41ed824.system.entry.js} +1 -1
  468. package/dist/taro-components/p-e5a80896.system.entry.js +1 -0
  469. package/dist/taro-components/p-e5b43c80.system.entry.js +1 -0
  470. package/dist/taro-components/{p-81f2ad70.system.entry.js → p-e6a2f1bd.system.entry.js} +1 -1
  471. package/dist/taro-components/p-e8753c5c.entry.js +1 -0
  472. package/dist/taro-components/{p-78e4805e.entry.js → p-ead6e57b.entry.js} +1 -1
  473. package/dist/taro-components/p-ec00e517.entry.js +1 -0
  474. package/dist/taro-components/p-ed081b3d.entry.js +1 -0
  475. package/dist/taro-components/{p-208e438c.system.entry.js → p-eda34d91.system.entry.js} +1 -1
  476. package/dist/taro-components/p-ee9d6467.system.entry.js +1 -0
  477. package/dist/taro-components/p-f0056aca.system.entry.js +1 -0
  478. package/dist/taro-components/p-f470ce9f.system.entry.js +1 -0
  479. package/dist/taro-components/p-f662c928.entry.js +1 -0
  480. package/dist/taro-components/p-f7198b67.system.entry.js +1 -0
  481. package/dist/taro-components/{p-473afc8e.system.entry.js → p-f782ee74.system.entry.js} +1 -1
  482. package/dist/taro-components/p-f94c0445.system.entry.js +1 -0
  483. package/dist/taro-components/p-f9a13a5c.entry.js +1 -0
  484. package/dist/taro-components/{p-0517f107.system.entry.js → p-fbb789a4.system.entry.js} +1 -1
  485. package/dist/taro-components/{p-b1d2b575.system.entry.js → p-fe1dd94f.system.entry.js} +1 -1
  486. package/dist/taro-components/p-fe8ee676.entry.js +1 -0
  487. package/dist/taro-components/p-ffaac078.system.entry.js +1 -0
  488. package/dist/taro-components/taro-components.css +1 -5
  489. package/dist/taro-components/taro-components.esm.js +1 -1
  490. package/dist/taro-components/taro-components.js +1 -1
  491. package/dist/types/components/canvas/canvas.d.ts +5 -2
  492. package/dist/types/components/picker-view/picker-view-column.d.ts +3 -3
  493. package/dist/types/components/picker-view/picker-view.d.ts +2 -0
  494. package/dist/types/components/scroll-view/scroll-view.d.ts +2 -0
  495. package/dist/types/components/snapshot/snapshot.d.ts +5 -0
  496. package/dist/types/components/swiper/swiper-item.d.ts +3 -0
  497. package/dist/types/components/swiper/swiper.d.ts +4 -3
  498. package/dist/types/components/switch/switch.d.ts +3 -3
  499. package/dist/types/components/tabbar/tabbar-item.d.ts +4 -4
  500. package/dist/types/components/tabbar/tabbar.d.ts +17 -16
  501. package/dist/types/components/textarea/textarea.d.ts +1 -0
  502. package/dist/types/components.d.ts +33 -15
  503. package/dist/types/utils/helper.d.ts +1 -0
  504. package/dist/types/utils/index.d.ts +2 -0
  505. package/lib/react/component-lib/reactify-wc.js +1 -1
  506. package/lib/react/component-lib/reactify-wc.js.map +1 -1
  507. package/lib/react/components.d.ts +3 -2
  508. package/lib/react/components.js +4 -3
  509. package/lib/react/components.js.map +1 -1
  510. package/lib/react/index.js +1 -1
  511. package/lib/react/react-component-lib/createComponent.js +3 -2
  512. package/lib/react/react-component-lib/createComponent.js.map +1 -1
  513. package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
  514. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
  515. package/lib/react/react-component-lib/utils/attachProps.d.ts +16 -7
  516. package/lib/react/react-component-lib/utils/attachProps.js +104 -9
  517. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  518. package/lib/react/react-component-lib/utils/index.js +1 -1
  519. package/lib/vue2/components.d.ts +6 -2
  520. package/lib/vue2/components.js +10 -4
  521. package/lib/vue2/components.js.map +1 -1
  522. package/lib/vue2/index.js +1 -1
  523. package/lib/vue2/vue-component-lib/utils.js.map +1 -1
  524. package/lib/vue3/components.d.ts +6 -3
  525. package/lib/vue3/components.js +8 -4
  526. package/lib/vue3/components.js.map +1 -1
  527. package/lib/vue3/index.js +1 -1
  528. package/lib/vue3/vue-component-lib/utils.js.map +1 -1
  529. package/package.json +19 -21
  530. package/types/Audio.d.ts +11 -11
  531. package/types/Button.d.ts +44 -13
  532. package/types/Camera.d.ts +1 -1
  533. package/types/Canvas.d.ts +14 -14
  534. package/types/ChannelVideo.d.ts +2 -2
  535. package/types/Checkbox.d.ts +12 -7
  536. package/types/CheckboxGroup.d.ts +3 -3
  537. package/types/CoverImage.d.ts +4 -4
  538. package/types/CoverView.d.ts +1 -1
  539. package/types/CustomWrapper.d.ts +1 -1
  540. package/types/Form.d.ts +4 -4
  541. package/types/GridView.d.ts +1 -1
  542. package/types/Icon.d.ts +5 -5
  543. package/types/Image.d.ts +9 -8
  544. package/types/Input.d.ts +28 -23
  545. package/types/Label.d.ts +2 -2
  546. package/types/ListView.d.ts +1 -1
  547. package/types/LivePlayer.d.ts +11 -4
  548. package/types/Map.d.ts +44 -3
  549. package/types/MovableArea.d.ts +2 -2
  550. package/types/MovableView.d.ts +18 -18
  551. package/types/NativeSlot.d.ts +5 -3
  552. package/types/NavigationBar.d.ts +7 -1
  553. package/types/Navigator.d.ts +8 -8
  554. package/types/PageMeta.d.ts +46 -0
  555. package/types/Picker.d.ts +48 -27
  556. package/types/PickerView.d.ts +6 -1
  557. package/types/PickerViewColumn.d.ts +1 -1
  558. package/types/Progress.d.ts +13 -13
  559. package/types/Radio.d.ts +12 -7
  560. package/types/RadioGroup.d.ts +3 -3
  561. package/types/RichText.d.ts +5 -5
  562. package/types/ScrollView.d.ts +93 -15
  563. package/types/ShareElement.d.ts +2 -1
  564. package/types/Slider.d.ts +20 -15
  565. package/types/Slot.d.ts +5 -3
  566. package/types/Snapshot.d.ts +16 -0
  567. package/types/StickyHeader.d.ts +1 -1
  568. package/types/StickySection.d.ts +1 -1
  569. package/types/Swiper.d.ts +19 -17
  570. package/types/SwiperItem.d.ts +7 -2
  571. package/types/Switch.d.ts +12 -7
  572. package/types/Text.d.ts +5 -5
  573. package/types/Textarea.d.ts +21 -16
  574. package/types/Video.d.ts +45 -36
  575. package/types/View.d.ts +4 -4
  576. package/types/WebView.d.ts +4 -4
  577. package/types/common.d.ts +8 -2
  578. package/types/index.d.ts +8 -5
  579. package/types/index.vue3.d.ts +21 -7
  580. package/dist/cjs/helper-db78e01a.js +0 -19
  581. package/dist/cjs/hls-00fec546.js +0 -25673
  582. package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
  583. package/dist/collection/components/input/index.css +0 -12
  584. package/dist/components/hls.js +0 -25671
  585. package/dist/components/intersection-observer.js +0 -726
  586. package/dist/esm/helper-3d0ecf0f.js +0 -13
  587. package/dist/esm/hls-4018c7ea.js +0 -25671
  588. package/dist/esm/intersection-observer-8e4c7135.js +0 -726
  589. package/dist/esm-es5/helper-3d0ecf0f.js +0 -1
  590. package/dist/esm-es5/hls-4018c7ea.js +0 -1
  591. package/dist/esm-es5/index-980f930f.js +0 -2
  592. package/dist/esm-es5/index-d1b03e47.js +0 -1
  593. package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
  594. package/dist/esm-es5/taro-pull-to-refresh.entry.js +0 -1
  595. package/dist/taro-components/p-0114a2e4.entry.js +0 -1
  596. package/dist/taro-components/p-01e163f8.system.entry.js +0 -1
  597. package/dist/taro-components/p-052da7f0.system.entry.js +0 -1
  598. package/dist/taro-components/p-0fe855c6.entry.js +0 -1
  599. package/dist/taro-components/p-117633e9.system.entry.js +0 -1
  600. package/dist/taro-components/p-137531b6.entry.js +0 -1
  601. package/dist/taro-components/p-139e6251.entry.js +0 -1
  602. package/dist/taro-components/p-1404c119.entry.js +0 -1
  603. package/dist/taro-components/p-15e45ed6.system.js +0 -1
  604. package/dist/taro-components/p-1974e52e.system.entry.js +0 -1
  605. package/dist/taro-components/p-1991cc1a.system.entry.js +0 -1
  606. package/dist/taro-components/p-1b3d41d3.system.entry.js +0 -1
  607. package/dist/taro-components/p-1c4e3899.entry.js +0 -1
  608. package/dist/taro-components/p-1e739fcb.system.entry.js +0 -1
  609. package/dist/taro-components/p-1f39576a.system.entry.js +0 -1
  610. package/dist/taro-components/p-204bd245.entry.js +0 -1
  611. package/dist/taro-components/p-2a071adf.system.entry.js +0 -1
  612. package/dist/taro-components/p-2d1b4dcc.system.entry.js +0 -1
  613. package/dist/taro-components/p-2de2a3fd.system.entry.js +0 -1
  614. package/dist/taro-components/p-3094bda6.system.entry.js +0 -1
  615. package/dist/taro-components/p-355e4dbc.entry.js +0 -1
  616. package/dist/taro-components/p-357ba712.system.entry.js +0 -1
  617. package/dist/taro-components/p-3b1d2d37.system.js +0 -1
  618. package/dist/taro-components/p-3d8c9dfb.entry.js +0 -1
  619. package/dist/taro-components/p-407ca16e.entry.js +0 -1
  620. package/dist/taro-components/p-416cc4dd.system.entry.js +0 -1
  621. package/dist/taro-components/p-425c209a.entry.js +0 -1
  622. package/dist/taro-components/p-43efbf30.js +0 -1
  623. package/dist/taro-components/p-469ee343.entry.js +0 -1
  624. package/dist/taro-components/p-46b8f89b.entry.js +0 -1
  625. package/dist/taro-components/p-478deb81.entry.js +0 -1
  626. package/dist/taro-components/p-486d0ec7.entry.js +0 -1
  627. package/dist/taro-components/p-50902cd0.entry.js +0 -1
  628. package/dist/taro-components/p-53ef8a6c.system.entry.js +0 -1
  629. package/dist/taro-components/p-5613907c.entry.js +0 -1
  630. package/dist/taro-components/p-57b9943c.system.entry.js +0 -1
  631. package/dist/taro-components/p-5c1e6b1c.system.entry.js +0 -1
  632. package/dist/taro-components/p-5dab46cd.system.entry.js +0 -1
  633. package/dist/taro-components/p-6127b1b6.system.entry.js +0 -1
  634. package/dist/taro-components/p-657cb6e4.system.entry.js +0 -1
  635. package/dist/taro-components/p-66f7eea6.entry.js +0 -1
  636. package/dist/taro-components/p-69cd1f2a.system.entry.js +0 -1
  637. package/dist/taro-components/p-6a96da58.js +0 -1
  638. package/dist/taro-components/p-6cde180b.entry.js +0 -1
  639. package/dist/taro-components/p-6db97374.entry.js +0 -1
  640. package/dist/taro-components/p-6e115968.entry.js +0 -1
  641. package/dist/taro-components/p-6f84e936.entry.js +0 -1
  642. package/dist/taro-components/p-71b54f06.entry.js +0 -1
  643. package/dist/taro-components/p-72b118b0.entry.js +0 -1
  644. package/dist/taro-components/p-72f327e1.js +0 -1
  645. package/dist/taro-components/p-79c3fde3.system.entry.js +0 -1
  646. package/dist/taro-components/p-7b3b8057.entry.js +0 -1
  647. package/dist/taro-components/p-7b68dee8.entry.js +0 -1
  648. package/dist/taro-components/p-7d635413.entry.js +0 -1
  649. package/dist/taro-components/p-7e6b54cb.system.js +0 -2
  650. package/dist/taro-components/p-7e998213.system.entry.js +0 -1
  651. package/dist/taro-components/p-801f09b8.entry.js +0 -1
  652. package/dist/taro-components/p-85a7daeb.system.entry.js +0 -1
  653. package/dist/taro-components/p-86280254.entry.js +0 -1
  654. package/dist/taro-components/p-8c0b740e.entry.js +0 -1
  655. package/dist/taro-components/p-90333d0a.system.entry.js +0 -1
  656. package/dist/taro-components/p-9046110a.entry.js +0 -1
  657. package/dist/taro-components/p-904df510.entry.js +0 -1
  658. package/dist/taro-components/p-907d9d01.system.entry.js +0 -1
  659. package/dist/taro-components/p-9137dcab.js +0 -2
  660. package/dist/taro-components/p-962f28cb.entry.js +0 -1
  661. package/dist/taro-components/p-968b7c1d.entry.js +0 -1
  662. package/dist/taro-components/p-982bb5bf.entry.js +0 -1
  663. package/dist/taro-components/p-98f9f50f.system.entry.js +0 -1
  664. package/dist/taro-components/p-9a5fbb2e.entry.js +0 -1
  665. package/dist/taro-components/p-9aeb7995.entry.js +0 -1
  666. package/dist/taro-components/p-9b6550fc.entry.js +0 -1
  667. package/dist/taro-components/p-9d9ede17.system.entry.js +0 -1
  668. package/dist/taro-components/p-9edea30f.system.entry.js +0 -1
  669. package/dist/taro-components/p-a1763153.entry.js +0 -1
  670. package/dist/taro-components/p-a20ecd3b.entry.js +0 -1
  671. package/dist/taro-components/p-a20fed0a.entry.js +0 -1
  672. package/dist/taro-components/p-a3a1a779.entry.js +0 -1
  673. package/dist/taro-components/p-a4882902.system.entry.js +0 -1
  674. package/dist/taro-components/p-a8565231.entry.js +0 -1
  675. package/dist/taro-components/p-a8925584.system.entry.js +0 -1
  676. package/dist/taro-components/p-a8e7cf87.entry.js +0 -1
  677. package/dist/taro-components/p-a940a65b.entry.js +0 -1
  678. package/dist/taro-components/p-af3fa859.system.entry.js +0 -1
  679. package/dist/taro-components/p-af8e521a.entry.js +0 -1
  680. package/dist/taro-components/p-af9ef8b4.entry.js +0 -1
  681. package/dist/taro-components/p-afb3895c.system.entry.js +0 -1
  682. package/dist/taro-components/p-b027181b.entry.js +0 -1
  683. package/dist/taro-components/p-b235e43c.entry.js +0 -1
  684. package/dist/taro-components/p-b4ea72ea.entry.js +0 -1
  685. package/dist/taro-components/p-b4f3d0ab.entry.js +0 -1
  686. package/dist/taro-components/p-b6d4634f.system.entry.js +0 -1
  687. package/dist/taro-components/p-ba3b2aa5.system.entry.js +0 -1
  688. package/dist/taro-components/p-bcf80126.system.entry.js +0 -1
  689. package/dist/taro-components/p-bd5177d3.system.js +0 -1
  690. package/dist/taro-components/p-bdc30301.entry.js +0 -1
  691. package/dist/taro-components/p-c1073ed6.system.entry.js +0 -1
  692. package/dist/taro-components/p-c11a42e0.entry.js +0 -1
  693. package/dist/taro-components/p-c39a46ca.system.entry.js +0 -1
  694. package/dist/taro-components/p-c4b8851b.entry.js +0 -1
  695. package/dist/taro-components/p-cc164fa3.entry.js +0 -1
  696. package/dist/taro-components/p-cc70bb7a.system.entry.js +0 -1
  697. package/dist/taro-components/p-ce33f1f3.entry.js +0 -1
  698. package/dist/taro-components/p-d34a6c04.entry.js +0 -1
  699. package/dist/taro-components/p-d3c7f87d.js +0 -1
  700. package/dist/taro-components/p-da239b8b.system.entry.js +0 -1
  701. package/dist/taro-components/p-dab28e1f.system.entry.js +0 -1
  702. package/dist/taro-components/p-e09451c5.system.entry.js +0 -1
  703. package/dist/taro-components/p-e33f3592.entry.js +0 -1
  704. package/dist/taro-components/p-e3480c4c.entry.js +0 -1
  705. package/dist/taro-components/p-e53508c1.system.entry.js +0 -1
  706. package/dist/taro-components/p-e6481671.system.entry.js +0 -1
  707. package/dist/taro-components/p-e67755f0.system.entry.js +0 -1
  708. package/dist/taro-components/p-e78775ce.system.js +0 -1
  709. package/dist/taro-components/p-eaa370a9.system.entry.js +0 -1
  710. package/dist/taro-components/p-ed331c06.system.js +0 -1
  711. package/dist/taro-components/p-f02b6f70.entry.js +0 -1
  712. package/dist/taro-components/p-f0340edf.entry.js +0 -1
  713. package/dist/taro-components/p-f533bc2f.entry.js +0 -1
  714. package/dist/taro-components/p-f6f6a996.system.entry.js +0 -1
  715. package/dist/taro-components/p-f7927285.system.entry.js +0 -1
  716. package/dist/taro-components/p-f7b32c6b.entry.js +0 -1
  717. package/dist/taro-components/p-fa6c022a.system.entry.js +0 -1
  718. package/dist/taro-components/p-fb983850.entry.js +0 -1
  719. package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js +0 -296
  720. package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js.map +0 -1
@@ -1 +0,0 @@
1
- import{r,h as o,H as s}from"./p-9137dcab.js";const t=class{constructor(o){r(this,o)}render(){return o(s,null)}};export{t as taro_block_core}
@@ -1 +0,0 @@
1
- import{r as o,h as t,H as r}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(t){o(this,t)}componentDidLoad(){a("CommentDetail",this)}render(){return t(r,null)}};export{s as taro_comment_detail_core}
@@ -1 +0,0 @@
1
- import{r as o,h as t,H as r}from"./p-9137dcab.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(t){o(this,t)}componentDidLoad(){s("Lottie",this)}render(){return t(r,null)}};export{a as taro_lottie_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.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 i=t("taro_live_player_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("LivePlayer",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js"],(function(e){"use strict";var t,r,s;return{setters:[function(e){t=e.r;r=e.h;s=e.H}],execute:function(){var n="taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-text-core[selectable=true],taro-text-core[user-select=true]{display:inline-block;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:0.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp)}";var i=e("taro_text_core",function(){function e(e){t(this,e);this.selectable=false;this.userSelect=false;this.space=undefined;this.numberOfLines=undefined}e.prototype.render=function(){var e={};if(typeof this.numberOfLines==="number"){e["--line-clamp"]=this.numberOfLines}return r(s,{style:e},r("slot",null))};return e}());i.style=n}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,H as h,g as e}from"./p-9137dcab.js";const a=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.onChanging=i(this,"changing",7),this.handleTouchStart=t=>{this.touching||this.disabled||(this.touching=!0,this.touchId=t.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth||1,this.ogX=t.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=t=>{const{disabled:i,touching:s,touchId:h,totalWidth:e,max:a,min:o,ogX:n,ogPercent:l}=this;if(!s||i)return;if(t.targetTouches[0].identifier!==h)return;t.preventDefault();let r=(t.targetTouches[0].pageX-n)/e*100+l;r=this.handleValueUpdate(r,0,100),this.updateByStep(o+.01*r*(a-o)),this.onChanging.emit({detail:t.detail,value:this.value})},this.handleTouchEnd=t=>{const{disabled:i,touching:s}=this;s&&!i&&(this.percent!==this.ogPercent&&this.onChange.emit({detail:t.detail,value:this.value}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)},this.handleValueUpdate=(t,i=this.min,s=this.max)=>(t=isNaN(t)?0:t,Math.max(i,Math.min(t,s))),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=1,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.ogPercent=void 0,this.isWillLoadCalled=!1}function(t){if(!this.isWillLoadCalled)return;const{max:i,min:s}=this;if(null!==t){const h=this.handleValueUpdate(t,s,i);this.updateByStep(h)}}componentDidLoad(){this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}componentWillLoad(){this.isWillLoadCalled=!0;const{value:t,max:i,min:s}=this,h=this.handleValueUpdate(t,s,i);this.updateByStep(h)}updateByStep(t){const{max:i,min:s,step:h}=this,e=Math.floor((i-s)/h);for(let i=0;i<=e;i++){const a=s+h*i,o=i===e?null:s+h*(i+1);if(t===a)break;if(!o&&t>a&&(t=a),o&&t>a&&t<o){t=t-a<h/2?a:o;break}}const a=(t-s)/(i-s)*100;this.value=t,this.percent=a}render(){const{showValue:t,backgroundColor:i,activeColor:e,blockColor:a,name:o,percent:n,value:l}=this;let r=this.blockSize;const c={backgroundColor:i},u=n>100?100:n,d={width:`${u}%`,backgroundColor:e};r<12&&(r=12),r>28&&(r=28);const f={left:`${u}%`,width:`${r}px`,height:`${r}px`,backgroundColor:a,marginTop:`-${Math.floor(r/2)}px`,marginLeft:`-${Math.floor(r/2)}px`};return s(h,{class:"weui-slider-box"},s("div",{class:"weui-slider"},s("div",{class:"weui-slider__inner",style:c,ref:t=>this.sliderInsRef=t},s("div",{style:d,class:"weui-slider__track"}),s("div",{class:"weui-slider__handler",ref:t=>{t&&(this.handler=t)},style:f}),s("input",{type:"hidden",name:o,value:l}))),t&&s("div",{class:"weui-slider-box__value"},l))}get el(){return e(this)}static get watchers(){return{value:["function"]}}};export{a as taro_slider_core}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,g as o,H as s}from"./p-9137dcab.js";import{d as r}from"./p-d3c7f87d.js";import{c as n}from"./p-de951a46.js";function a(t){if(t){const i=/([\w-]*)\s*:\s*([^;]*)/g,e={};let o;for(;o=i.exec(t);)e[`${o[1]}`]=o[2].trim();return e}}const c=class{constructor(e){t(this,e),this.onChange=i(this,"onselect",7),this.onSelectStart=i(this,"onselectstart",7),this.onSelectEnd=i(this,"onselectend",7),this.handleSelected=r((()=>{const t=this.el.childNodes;let i=0,e="0";for(const o in t){const s=t[o].offsetHeight;if(i+s/2>this.el.scrollTop){e=o;break}i+=s}this.el.scrollTo({top:i,behavior:"smooth"}),this.onChange.emit({curIndex:this.col,selectedIndex:e}),this.onSelectEnd.emit()}),500),this.col=void 0,this.initialPosition="0",this.paddingVertical=0,this.isInit=!1,this.isMove=!1}onScroll(t){this.isMove||(this.isMove=!0,this.onSelectStart.emit()),this.handleSelected()}onMouseEnd(){this.isMove&&(this.isMove=!1,this.handleSelected())}onTouchEnd(){this.isMove=!1,this.handleSelected()}componentDidUpdate(){if(!this.isInit){this.isInit=!0;const t=this.el.childNodes;let i=0,e=0;for(const o in t){const s=t[o];if(this.initialPosition===o||!s||"number"!=typeof s.offsetHeight)break;e+=s.offsetHeight,i++}this.el.scrollTo({top:e}),i>=t.length&&this.onChange.emit({curIndex:this.col,selectedIndex:i-1})}}render(){const{paddingVertical:t=0}=this;return e(s,{class:"taro-picker-view-column-container",style:{"padding-top":`${t}px`,"padding-bottom":`${t}px`}})}get el(){return o(this)}};c.style=".taro-picker-view-column-container{display:-ms-flexbox;display:flex;overflow:scroll;overflow-x:hidden;position:relative;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;text-align:center}.taro-picker-view-column-container::-webkit-scrollbar{display:none}";const l=class{constructor(e){t(this,e),this.onChange=i(this,"change",7),this.onPickStart=i(this,"pickstart",7),this.onPickEnd=i(this,"pickend",7),this.indicatorStyle=void 0,this.indicatorClass=void 0,this.value=void 0,this.maskStyle=void 0,this.maskClass=void 0}onSelect(t){t.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===t.target.tagName&&(this.value[+t.detail.curIndex]=+t.detail.selectedIndex,this.onChange.emit({value:this.value}))}onSelectStart(t){t.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===t.target.tagName&&this.onPickStart.emit()}onPickerColEnd(t){t.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===t.target.tagName&&this.onPickEnd.emit()}componentDidLoad(){this.el.querySelectorAll("taro-picker-view-column-core").forEach(((t,i)=>{var e;t.setAttribute("col",`${i}`);let o="0";this.value&&this.value.length>i&&(o=`${this.value[i]}`);const s=(this.el.getBoundingClientRect().height-((null===(e=this.indicator)||void 0===e?void 0:e.offsetHeight)||0))/2;t.setAttribute("initial-position",`${o}`),t.setAttribute("padding-vertical",`${s}`)}))}componentDidRender(){this.el.childNodes.forEach((t=>{"TARO-PICKER-VIEW-COLUMN-CORE"!==t.tagName&&"taro-picker-view-mask-container"!==t.className&&this.el.removeChild(t)}))}render(){const t=n("taro-picker-view-mask-indicator",this.indicatorClass),i=n("taro-picker-view-mask-top",this.maskClass),o=n("taro-picker-view-mask-bottom",this.maskClass),r=a(this.indicatorStyle),c=a(this.maskStyle),l=a(this.maskStyle);return e(s,{class:"taro-picker-view-container"},e("slot",null),e("div",{class:"taro-picker-view-mask-container"},e("div",{class:i,style:c}),e("div",{class:t,style:r,ref:t=>this.indicator=t}),e("div",{class:o,style:l})))}get el(){return o(this)}};l.style=".taro-picker-view-container{display:-ms-flexbox;display:flex;position:relative}.taro-picker-view-mask-container{display:-ms-flexbox;display:flex;position:absolute;left:0;right:0;top:0;bottom:0;-ms-flex-direction:column;flex-direction:column;pointer-events:none}.taro-picker-view-mask-indicator{display:-ms-flexbox;display:flex;border-top:1px solid #ddd;border-bottom:1px solid #ddd;height:50px}.taro-picker-view-mask-top{-ms-flex:1;flex:1;background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}.taro-picker-view-mask-bottom{-ms-flex:1;flex:1;background:-webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background:linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}";export{c as taro_picker_view_column_core,l as taro_picker_view_core}
@@ -1 +0,0 @@
1
- import{r as o,h as s,H as t}from"./p-9137dcab.js";import{c as r}from"./p-de951a46.js";const i=class{constructor(s){o(this,s),this.type=void 0,this.size="23",this.color=void 0}render(){const{type:o,size:i,color:c}=this,e=null==o?void 0:o.replace(/_/g,"-"),a=r({[`weui-icon-${e}`]:!0});return s(t,{class:a,style:{"font-size":`${i}px`,color:c}})}};export{i as taro_icon_core}
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as a}from"./p-9137dcab.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const t=class{constructor(r){o(this,r)}componentDidLoad(){s("FollowSwan",this)}render(){return r(a,null)}};export{t as taro_follow_swan_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js"],(function(t,i){"use strict";var o,e,r,a,s;return{setters:[function(t){o=t.r;e=t.c;r=t.h;a=t.H},function(t){s=t.c}],execute:function(){var n='img[src=""]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;width:auto;height:auto;font-size:0}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{position:absolute;bottom:0;width:100%}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;right:0;height:100%}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}';i.import("./p-3b1d2d37.system.js");var h=t("taro_image_core",function(){function t(t){o(this,t);this.onLoad=e(this,"load",7);this.onError=e(this,"error",7);this.src=undefined;this.mode="scaleToFill";this.lazyLoad=false;this.nativeProps={};this.aspectFillMode="width";this.didLoad=false}t.prototype.componentDidLoad=function(){var t=this;if(!this.lazyLoad)return;var i=new IntersectionObserver((function(o){if(o[o.length-1].isIntersecting){i.unobserve(t.imgRef);t.didLoad=true}}),{rootMargin:"300px 0px"});i.observe(this.imgRef)};t.prototype.imageOnLoad=function(){var t=this.imgRef,i=t.width,o=t.height,e=t.naturalWidth,r=t.naturalHeight;this.onLoad.emit({width:i,height:o});this.aspectFillMode=e>r?"width":"height"};t.prototype.imageOnError=function(t){this.onError.emit(t)};t.prototype.render=function(){var t;var i=this;var o=this,e=o.src,n=o.mode,h=n===void 0?"scaleToFill":n,d=o.lazyLoad,m=d===void 0?false:d,g=o.aspectFillMode,l=g===void 0?"width":g,c=o.imageOnLoad,f=o.imageOnError,p=o.nativeProps,_=o.didLoad;var u=s({"taro-img__widthfix":h==="widthFix"});var b=s("taro-img__mode-".concat(h.toLowerCase().replace(/\s/g,"")),(t={},t["taro-img__mode-aspectfill--".concat(l)]=h==="aspectFill",t));return r(a,{class:u},r("img",Object.assign({ref:function(t){return i.imgRef=t},class:b,src:m&&!_?undefined:e,onLoad:c.bind(this),onError:f.bind(this)},p)))};return t}());h.style=n}}}));
@@ -1 +0,0 @@
1
- import{r,h as a,H as o}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(a){r(this,a)}componentDidLoad(){t("ArCamera",this)}render(){return a(o,null)}};export{s as taro_ar_camera_core}
@@ -1 +0,0 @@
1
- var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,o=t.length,n;a<o;a++){if(n||!(a in t)){if(!n)n=Array.prototype.slice.call(t,0,a);n[a]=t[a]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-7e6b54cb.system.js","@tarojs/taro","./p-2ec68968.system.js","./p-bd5177d3.system.js"],(function(e){"use strict";var t,r,a,o,n,i,s,l;return{setters:[function(e){t=e.h;r=e.r;a=e.c;o=e.H;n=e.g},function(e){i=e.default},function(e){s=e.c},function(e){l=e.i}],execute:function(){var d=function(e){var t=e||"";var r;var a={path:null,query:null,fragment:null};r=t.indexOf("#");if(r>-1){a.fragment=t.substring(r+1);t=t.substring(0,r)}r=t.indexOf("?");if(r>-1){a.query=t.substring(r+1);t=t.substring(0,r)}a.path=t;return a};var b=function(e){if(e===void 0){e=""}return e.charAt(0)==="/"?e:"/"+e};var h=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)||e===t};var c=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return h(e,t)?e.substring(t.length):e};var f=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return e.includes(t)?e.substring(0,e.length-t.length):e};var u=function(e,t){if(e===void 0){e="hash"}if(t===void 0){t="/"}var r=e==="hash"?location.hash.slice(1).split("?")[0]:location.pathname;return b(c(r,t))};function v(e){return e.charAt(0)==="/"}function g(e,t){for(var r=t,a=r+1,o=e.length;a<o;r+=1,a+=1){e[r]=e[a]}e.pop()}function p(e,t){if(t===undefined)t="";var r=e&&e.split("/")||[];var a=t&&t.split("/")||[];var o=e&&v(e);var n=t&&v(t);var i=o||n;if(e&&v(e)){a=r}else if(r.length){a.pop();a=a.concat(r)}if(!a.length)return"/";var s;if(a.length){var l=a[a.length-1];s=l==="."||l===".."||l===""}else{s=false}var d=0;for(var b=a.length;b>=0;b--){var h=a[b];if(h==="."){g(a,b)}else if(h===".."){g(a,b);d++}else if(d){g(a,b);d--}}if(!i)for(;d--;d)a.unshift("..");if(i&&a[0]!==""&&(!a[0]||!v(a[0])))a.unshift("");var c=a.join("/");if(s&&c.substr(-1)!=="/")c+="/";return c}var _=function(e){var r=e.index,a=e.isSelected,o=a===void 0?false:a,n=e.textColor,d=e.iconPath,b=e.badgeText,h=e.showRedDot,c=h===void 0?false:h,f=e.pagePath,u=e.text,v=e.onSelect;var g=s("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=i.getCurrentPages().shift();if(typeof(e===null||e===void 0?void 0:e.onTabItemTap)==="function"&&l(this)){e.onTabItemTap({index:r,pagePath:f,text:u})}v(r)}return t("a",{key:r,href:"javascript:;",class:g,onClick:m},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:d,alt:"",class:"weui-tabbar__icon"}),!!b&&t("span",{class:"weui-badge taro-tabbar-badge",style:p},b),c&&t("span",{class:"weui-badge weui-badge_dot",style:_})),t("p",{class:"weui-tabbar__label",style:{color:n}},u))};var m="html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:50px;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";var T=0;var B=1;var y=2;var H="taro-tabbar__tabbar";var x="taro-tabbar__tabbar-hide";var w="taro-tabbar__tabbar-slideout";var C=e("taro_tabbar",function(){function e(e){var t=this;r(this,e);this.onLongPress=a(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.getOriginUrl=function(e){var r=t.customRoutes.filter((function(t){var r=t[1];var a=d(r).path;var o=d(e).path;return a===o}));return f(r.length?r[0][0]:e,".html")};this.getSelectedIndex=function(e){var r=-1;t.list.forEach((function(t,a){var o=t.pagePath;var n=d(e).path;var i=d(o).path;if(n===i){r=a}}));return r};this.switchTab=function(e){t.selectedIndex=e;i.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var r=e.url,a=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=p(r,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);a({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'.concat(i,'" is not found')})}};this.routerChangeHandler=function(e){var r;var a=(r=e===null||e===void 0?void 0:e.toLocation)===null||r===void 0?void 0:r.path;var o;if(typeof a==="string"){var n=t.conf.basename||"/";o=c(b(a||t.homePage),n)||"/"}else{o=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(o))};this.setTabBarBadgeHandler=function(e){var r=e.index,a=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list,true);if(r in i){i[r].showRedDot=false;i[r].badgeText=a;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(r in n){n[r].badgeText=null;n[r].badgeText=null;a({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(r in n){n[r].badgeText=null;n[r].showRedDot=true;a({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(r in n){n[r].showRedDot=false;a({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var r=e.successHandler;t.status=T;r({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var r=e.animation,a=e.successHandler;t.status=r?y:B;a({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var r=e.color,a=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(r)t.color=r;if(a)t.selectedColor=a;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var r=e.index,a=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list,true);if(r in l){if(a)l[r].iconPath=a;if(o)l[r].selectedIconPath=o;if(n)l[r].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=T}e.prototype.componentWillLoad=function(){var e,t;var r=((e=this.conf)===null||e===void 0?void 0:e.list)||[];var a=((t=this.conf)===null||t===void 0?void 0:t.customRoutes)||{};if(Object.prototype.toString.call(r)!=="[object Array]"||r.length<2||r.length>5){throw new Error("tabBar 配置错误")}this.homePage=b(this.conf.homePage);var o=function(e){var t;var r=a[e];e=b(e);if(typeof r==="string"){n.customRoutes.push([e,b(r)])}else if((r===null||r===void 0?void 0:r.length)>0){(t=n.customRoutes).push.apply(t,r.map((function(t){return[e,b(t)]})))}};var n=this;for(var i in a){o(i)}r.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=r;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=u(this.conf.mode,this.conf.basename);return decodeURI(e==="/"?this.homePage:e)};e.prototype.bindEvent=function(){i.eventCenter.on("__taroRouterChange",this.routerChangeHandler);i.eventCenter.on("__taroSwitchTab",this.switchTabHandler);i.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){i.eventCenter.off("__taroRouterChange",this.routerChangeHandler);i.eventCenter.off("__taroSwitchTab",this.switchTabHandler);i.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.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,r;var a=this;var n=this.tabbarPos,i=n===void 0?"bottom":n;var l=this.status;var d=s("weui-tabbar",(e={},e["taro-tabbar__border-".concat(this.borderStyle||"black")]=true,e));var b=this.selectedIndex===-1||l===B;var h=l===y;return t(o,{class:s(H,"".concat(H,"-").concat(i),(r={},r[x]=b,r[w]=h,r))},t("div",{class:d,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map((function(e,r){var o=a.selectedIndex===r;var n;var i;if(o){n=a.selectedColor||"";i=e.selectedIconPath}else{n=a.color||"";i=e.iconPath}return t(_,{index:r,onSelect:a.switchTab.bind(a),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}());C.style=m}}}));
@@ -1 +0,0 @@
1
- import{r as t,h as i,H as e,g as o,c as s}from"./p-9137dcab.js";import{c as r}from"./p-de951a46.js";import{t as a}from"./p-d3c7f87d.js";const n=t=>{if(!t)return"";const i=Math.round(t%60),e=Math.round((t-i)/60);return`${e<10?`0${e}`:e}:${i<10?`0${i}`:i}`},h=t=>Math.max(-1,Math.min(t,1));let l="default";const d=function(){let t;const i=[["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 e=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];let o=0;const s=i.length,r={};for(;o<s;o++)if(t=i[o],t&&t[1]in document){for(o=0;o<t.length;o++)r[i[0][o]]=t[o];return r}if(!r[i[0][0]])for(l="iOS",o=0;o<e.length;o++)r[i[0][o]]=e[o];return r}(),A=class{constructor(i){t(this,i),this.visible=!1,this.isDraggingProgressBall=!1,this.percentage=0,this.progressDimensions={left:0,width:0},this.calcPercentage=t=>{let i=t-this.progressDimensions.left;return i=Math.max(i,0),i=Math.min(i,this.progressDimensions.width),i/this.progressDimensions.width},this.onDragProgressBallStart=()=>{this.isDraggingProgressBall=!0,this.hideControlsTimer&&clearTimeout(this.hideControlsTimer)},this.onClickProgress=t=>{t.stopPropagation();const i=this.calcPercentage(t.pageX);this.seekFunc(i*this.duration),this.toggleVisibility(!0)},this.controls=void 0,this.currentTime=void 0,this.duration=void 0,this.isPlaying=void 0,this.pauseFunc=void 0,this.playFunc=void 0,this.seekFunc=void 0,this.showPlayBtn=void 0,this.showProgress=void 0}onDocumentTouchMove(t){this.isDraggingProgressBall&&(this.percentage=this.calcPercentage(t.touches[0].pageX),this.setProgressBall(this.percentage),this.setCurrentTime(this.percentage*this.duration))}onDocumentTouchEnd(){this.isDraggingProgressBall&&(this.isDraggingProgressBall=!1,this.seekFunc(this.percentage*this.duration),this.toggleVisibility(!0))}async setProgressBall(t){this.progressBallRef&&(this.progressBallRef.style.left=100*t+"%")}async toggleVisibility(t){const i=void 0===t?!this.visible:t;i?(this.hideControlsTimer&&clearTimeout(this.hideControlsTimer),this.isPlaying&&(this.hideControlsTimer=setTimeout((()=>{this.toggleVisibility(!1)}),2e3)),this.el.style.visibility="visible"):this.el.style.visibility="hidden",this.visible=!!i}async getIsDraggingProgressBall(){return this.isDraggingProgressBall}async setCurrentTime(t){this.currentTimeRef.innerHTML=n(t)}render(){const{controls:t,currentTime:o,duration:s,isPlaying:r,pauseFunc:a,playFunc:h,showPlayBtn:l,showProgress:d}=this,A=n(s);let c;return c=l?i("div",r?{class:"taro-video-control-button taro-video-control-button-pause",onClick:a}:{class:"taro-video-control-button taro-video-control-button-play",onClick:h}):null,i(e,{class:"taro-video-bar taro-video-bar-full"},t&&i("div",{class:"taro-video-controls"},c,d&&i("div",{class:"taro-video-current-time",ref:t=>this.currentTimeRef=t},n(o)),d&&i("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},i("div",{class:"taro-video-progress",ref:t=>{if(!t)return;const i=t.getBoundingClientRect();this.progressDimensions.left=i.left,this.progressDimensions.width=i.width}},i("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),i("div",{class:"taro-video-ball",ref:t=>this.progressBallRef=t,onTouchStart:this.onDragProgressBallStart,style:{left:(A?this.currentTime/s*100:0)+"%"}},i("div",{class:"taro-video-inner"})))),d&&i("div",{class:"taro-video-duration"},A)),i("slot",null))}get el(){return o(this)}},c=class{constructor(i){t(this,i),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=!1,this.gestureType="none",this.analyzeGesture=t=>{var i;const e={type:"none"},o=t.touches[0].screenX-this.lastTouchScreenX,s=t.touches[0].screenY-this.lastTouchScreenY,r=this.isFullScreen?this.vslideGestureInFullscreen:this.vslideGesture;if("none"===this.gestureType){if(a=s,Math.sqrt(Math.pow(o,2)+Math.pow(a,2))<10)return e;if(Math.abs(s)>=Math.abs(o)){if(!r)return e;this.gestureType="adjustVolume",this.lastVolume=this.videoRef.volume}else if(Math.abs(s)<Math.abs(o)){if(!this.enableProgressGesture)return e;this.gestureType="adjustProgress",this.lastPercentage=this.currentTime/(null!==(i=this.duration)&&void 0!==i?i:this._duration)}}var a;return e.type=this.gestureType,e.dataX=h(o/200),e.dataY=h(s/200),e},this.loadNativePlayer=()=>{var t,i;this.videoRef&&(this.videoRef.src=this.src,null===(i=(t=this.videoRef).load)||void 0===i||i.call(t))},this.init=()=>{const{src:t,videoRef:i}=this;/\.(m3u8)($|\?)/i.test(t)?import("./p-43efbf30.js").then((e=>{const o=e.default;this.HLS=o,o.isSupported()?(this.hls&&this.hls.destroy(),this.hls=new o,this.hls.loadSource(t),this.hls.attachMedia(i),this.hls.on(o.Events.MANIFEST_PARSED,(()=>{this.autoplay&&this.play()})),this.hls.on(o.Events.ERROR,((t,i)=>{this.handleError(i)}))):i.canPlayType("application/vnd.apple.mpegurl")?this.loadNativePlayer():console.error("该浏览器不支持 HLS 播放")})):this.loadNativePlayer()},this.handlePlay=()=>{this.isPlaying=!0,this.isFirst=!1,this.controlsRef.toggleVisibility(!0),this.onPlay.emit()},this.handlePause=()=>{this.isPlaying=!1,this.controlsRef.toggleVisibility(!0),this.onPause.emit()},this.handleEnded=()=>{this.isFirst=!0,this.pause(),this.controlsRef.toggleVisibility(),this.onEnded.emit()},this.handleTimeUpdate=a((async t=>{var i,e;this.currentTime=this.videoRef.currentTime;const o=this.duration||this._duration,s=await this.controlsRef.getIsDraggingProgressBall();this.controls&&this.showProgress&&(s||this.isDraggingProgress||(this.controlsRef.setProgressBall(this.currentTime/o),this.controlsRef.setCurrentTime(this.currentTime))),this.danmuRef.tick(this.currentTime),this.onTimeUpdate.emit({duration:null===(i=t.target)||void 0===i?void 0:i.duration,currentTime:null===(e=t.target)||void 0===e?void 0:e.currentTime}),this.duration&&this.currentTime>=this.duration&&(this.seek(0),this.handleEnded())}),250),this.handleError=t=>{var i,e;if(this.hls)switch(t.type){case this.HLS.ErrorTypes.NETWORK_ERROR:this.onError.emit({errMsg:t.response}),this.hls.startLoad();break;case this.HLS.ErrorTypes.MEDIA_ERROR:this.onError.emit({errMsg:t.reason||"媒体错误,请重试"}),this.hls.recoverMediaError()}else this.onError.emit({errMsg:null===(e=null===(i=t.target)||void 0===i?void 0:i.error)||void 0===e?void 0:e.message})},this.handleDurationChange=()=>{this._duration=this.videoRef.duration},this.handleProgress=()=>{this.onProgress.emit()},this.handleLoadedMetaData=t=>{const i=t.target;this.onLoadedMetaData.emit({width:i.videoWidth,height:i.videoHeight,duration:i.duration})},this._play=()=>this.videoRef.play(),this._pause=()=>this.videoRef.pause(),this._stop=()=>{this.videoRef.pause(),this._seek(0)},this._seek=t=>{this.videoRef.currentTime=t},this.onTouchStartContainer=t=>{this.lastTouchScreenX=t.touches[0].screenX,this.lastTouchScreenY=t.touches[0].screenY},this.onClickContainer=()=>{if(this.enablePlayGesture){const t=Date.now();t-this.lastClickedTime<300&&(this.isPlaying?this.pause():this.play()),this.lastClickedTime=t}this.controlsRef.toggleVisibility()},this.onClickFullScreenBtn=t=>{t.stopPropagation(),this.toggleFullScreen()},this.handleFullScreenChange=t=>{const i=(new Date).getTime();!t.detail&&this.isFullScreen&&!document[d.fullscreenElement]&&i-this.fullScreenTimestamp>100&&this.toggleFullScreen(!1)},this.toggleFullScreen=(t=!this.isFullScreen)=>{this.isFullScreen=t,this.controlsRef.toggleVisibility(!0),this.fullScreenTimestamp=(new Date).getTime(),this.onFullScreenChange.emit({fullScreen:this.isFullScreen,direction:"vertical"}),this.isFullScreen&&!document[d.fullscreenElement]&&setTimeout((()=>{this.videoRef[d.requestFullscreen]({navigationUI:"auto"})}),0)},this.toggleMute=t=>{t.stopPropagation(),this.videoRef.muted=!this.isMute,this.controlsRef.toggleVisibility(!0),this.isMute=!this.isMute},this.toggleDanmu=t=>{t.stopPropagation(),this.controlsRef.toggleVisibility(!0),this._enableDanmu=!this._enableDanmu},this.src=void 0,this.duration=void 0,this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.initialTime=0,this.poster=void 0,this.objectFit="contain",this.showProgress=!0,this.showFullscreenBtn=!0,this.showPlayBtn=!0,this.showCenterPlayBtn=!0,this.showMuteBtn=!1,this.danmuList=void 0,this.danmuBtn=!1,this.enableDanmu=!1,this.enablePlayGesture=!1,this.enableProgressGesture=!0,this.vslideGesture=!1,this.vslideGestureInFullscreen=!0,this.nativeProps={},this._duration=void 0,this._enableDanmu=!1,this.isPlaying=!1,this.isFirst=!0,this.isFullScreen=!1,this.fullScreenTimestamp=(new Date).getTime(),this.isMute=!1}componentWillLoad(){this._enableDanmu=this.enableDanmu}componentDidLoad(){var t,i;this.init(),this.initialTime&&(this.videoRef.currentTime=this.initialTime),null===(i=(t=this.danmuRef).sendDanmu)||void 0===i||i.call(t,this.danmuList),document.addEventListener&&document.addEventListener(d.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===l&&this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}componentDidRender(){}disconnectedCallback(){document.removeEventListener&&document.removeEventListener(d.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===l&&this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}watchEnableDanmu(t){this._enableDanmu=t}watchSrc(){this.init()}async onDocumentTouchMove(t){if(void 0===this.lastTouchScreenX||void 0===this.lastTouchScreenY)return;if(await this.controlsRef.getIsDraggingProgressBall())return;const i=this.analyzeGesture(t);if("adjustVolume"===i.type){this.toastVolumeRef.style.visibility="visible";const t=Math.max(Math.min(this.lastVolume-i.dataY,1),0);this.videoRef.volume=t,this.toastVolumeBarRef.style.width=100*t+"%"}else if("adjustProgress"===i.type){this.isDraggingProgress=!0,this.nextPercentage=Math.max(Math.min(this.lastPercentage+(i.dataX||0),1),0),this.controls&&this.showProgress&&(this.controlsRef.setProgressBall(this.nextPercentage),this.controlsRef.toggleVisibility(!0));const t=this.duration||this._duration;this.toastProgressTitleRef.innerHTML=`${n(this.nextPercentage*t)} / ${n(t)}`,this.toastProgressRef.style.visibility="visible"}}onDocumentTouchEnd(){var t;"adjustVolume"===this.gestureType?this.toastVolumeRef.style.visibility="hidden":"adjustProgress"===this.gestureType&&(this.toastProgressRef.style.visibility="hidden"),this.isDraggingProgress&&(this.isDraggingProgress=!1,this.seek(this.nextPercentage*(null!==(t=this.duration)&&void 0!==t?t:this._duration))),this.gestureType="none",this.lastTouchScreenX=void 0,this.lastTouchScreenY=void 0}async getHlsObject(){return this.hls}async play(){this._play()}async pause(){this._pause()}async stop(){this._stop()}async seek(t){this._seek(t)}async requestFullScreen(){this.toggleFullScreen(!0)}async exitFullScreen(){this.toggleFullScreen(!1)}render(){const{controls:t,autoplay:o,loop:s,muted:a,poster:h,objectFit:l,isFirst:d,isMute:A,isFullScreen:c,showCenterPlayBtn:u,isPlaying:g,_enableDanmu:b,showMuteBtn:p,danmuBtn:v,showFullscreenBtn:m,nativeProps:w}=this,E=this.duration||this._duration,I=n(E);return i(e,{class:r("taro-video-container",{"taro-video-type-fullscreen":c}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},i("video",Object.assign({class:"taro-video-video",style:{"object-fit":l},ref:t=>{t&&(this.videoRef=t)},autoplay:o,loop:s,muted:a,poster:t?h:void 0,playsinline:!0,"webkit-playsinline":!0,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),"暂时不支持播放该视频"),i("taro-video-danmu",{ref:t=>{t&&(this.danmuRef=t)},enable:b}),d&&u&&!g&&i("div",{class:"taro-video-cover"},i("div",{class:"taro-video-cover-play-button",onClick:()=>this.play()}),i("p",{class:"taro-video-cover-duration"},I)),i("taro-video-control",{ref:t=>{t&&(this.controlsRef=t)},controls:t,currentTime:this.currentTime,duration:E,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},p&&i("div",{class:r("taro-video-mute",{"taro-video-type-mute":A}),onClick:this.toggleMute}),v&&i("div",{class:r("taro-video-danmu-button",{"taro-video-danmu-button-active":b}),onClick:this.toggleDanmu},"弹幕"),m&&i("div",{class:r("taro-video-fullscreen",{"taro-video-type-fullscreen":c}),onClick:this.onClickFullScreenBtn})),i("div",{class:"taro-video-toast taro-video-toast-volume",ref:t=>{t&&(this.toastVolumeRef=t)}},i("div",{class:"taro-video-toast-title"},"音量"),i("div",{class:"taro-video-toast-icon"}),i("div",{class:"taro-video-toast-value"},i("div",{class:"taro-video-toast-value-content",ref:t=>{t&&(this.toastVolumeBarRef=t)}},i("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((()=>i("div",{class:"taro-video-toast-volume-grids-item"}))))))),i("div",{class:"taro-video-toast taro-video-toast-progress",ref:t=>{t&&(this.toastProgressRef=t)}},i("div",{class:"taro-video-toast-title",ref:t=>{t&&(this.toastProgressTitleRef=t)}})))}get el(){return o(this)}static get watchers(){return{enableDanmu:["watchEnableDanmu"],src:["watchSrc"]}}};c.style='.taro-video{display:inline-block;overflow:hidden;position:relative;width:100%;height:225px;line-height:0}.taro-video[hidden]{display:none}.taro-video-container{display:inline-block;position:absolute;left:0;top:0;width:100%;height:100%;background-color:#000;-o-object-position:inherit;object-position:inherit}.taro-video-container.taro-video-type-fullscreen{position:fixed;left:0;right:0;top:0;bottom:0;z-index:999}.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{width:100%;height:100%;-o-object-position:inherit;object-position:inherit}.taro-video-cover{display:-ms-flexbox;display:flex;position:absolute;left:0;top:0;bottom:0;z-index:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;background-color:rgba(1, 1, 1, 0.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-pack:center;-webkit-box-align:center}.taro-video-cover-play-button{width:40px;height:40px;background-repeat:no-repeat;background-position:50% 50%;background-size:50%}.taro-video-cover-duration{margin-top:10px;line-height:1;font-size:16px;color:#fff}.taro-video-bar{display:-ms-flexbox;display:flex;visibility:hidden;overflow:hidden;position:absolute;right:0;bottom:0;z-index:1;-ms-flex-align:center;align-items:center;padding:0 10px;height:44px;background-color:rgba(0, 0, 0, 0.5);-webkit-box-align:center}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;margin-left:-8.5px;padding:14.5px 12.5px;width:13px;height:15px}.taro-video-control-button::after{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50% 50%;background-size:100%;content:""}.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{margin-top:15px;margin-bottom:14.5px;height:14.5px;line-height:14.5px;font-size:12px;color:#cbcbcb}.taro-video-progress-container{position:relative;-ms-flex-positive:2;flex-grow:2;-webkit-box-flex:2}.taro-video-progress{position:relative;margin:21px 12px;height:2px;background-color:rgba(255, 255, 255, 0.4)}.taro-video-progress-buffered{position:absolute;left:0;top:0;width:0;height:100%;background-color:rgba(255, 255, 255, 0.8);-webkit-transition:width 0.1s;transition:width 0.1s}.taro-video-ball{position:absolute;left:0;top:-21px;-webkit-box-sizing:content-box;box-sizing:content-box;margin-left:-22px;padding:14px;width:16px;height:16px}.taro-video-inner{border-radius:50%;width:100%;height:100%;background-color:#fff}.taro-video-danmu-button{margin:0 8.5px;padding:2px 10px;border:1px solid #fff;border-radius:5px;line-height:1;font-size:13px;color:#fff;white-space:nowrap}.taro-video-danmu-button.taro-video-danmu-button-active{border-color:#48c23d;color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;padding:8.5px;width:17px;height:17px;background-repeat:no-repeat;background-position:50% 50%;background-size:50%}.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{overflow:visible;position:absolute;left:0;top:0;bottom:0;margin-top:14px;margin-bottom:44px;width:100%;line-height:14px;font-size:14px}.taro-video-danmu-item{position:absolute;left:100%;line-height:1;color:#fff;white-space:nowrap;-webkit-transform:translateX(0);transform:translateX(0);-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}.taro-video-toast{display:block;visibility:hidden;position:absolute;left:50%;top:50%;border-radius:5px;background-color:rgba(255, 255, 255, 0.8);pointer-events:none;color:#000;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-video-toast.taro-video-toast-volume{display:block;width:100px;height:100px}.taro-video-toast-volume .taro-video-toast-title{display:block;margin-top:10px;width:100%;line-height:16px;text-align:center;font-size:12px}.taro-video-toast-volume .taro-video-toast-icon{display:block;margin-left:25%;width:50%;height:50%;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-repeat:no-repeat;background-position:50% 50%;background-size:50%;fill:#000}.taro-video-toast-volume .taro-video-toast-value{margin-left:10px;margin-top:5px;width:80px;height:5px}.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;width:7.1px;height:5px;background-color:#000}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{padding:6px;background-color:rgba(0, 0, 0, 0.8);line-height:18px;font-size:14px;color:#fff}';const u=class{constructor(i){t(this,i),this.list=[],this.danmuElList=[],this.currentTime=0,this.enable=!1,this.danmuList=[]}ensureProperties(t){const i=Object.assign({},t);return"time"in t||(i.time=this.currentTime),i.key=Math.random(),i.bottom=90*Math.random()+5+"%",i}async sendDanmu(t=[]){this.list=Array.isArray(t)?[...this.list,...t.map((t=>this.ensureProperties(t)))]:[...this.list,Object.assign({},this.ensureProperties(t))]}async tick(t){if(this.currentTime=t,!this.enable)return;const i=this.list.filter((({time:i})=>t-i<4&&t>i));let e=!1;const o=this.danmuList;e=i.length!==o.length||i.some((({key:t})=>o.every((i=>t!==i.key)))),e&&(this.danmuList=i)}componentDidUpdate(){requestAnimationFrame((()=>{setTimeout((()=>{this.danmuElList.splice(0).forEach((t=>{t.style.left="0",t.style.webkitTransform="translateX(-100%)",t.style.transform="translateX(-100%)"}))}))}))}render(){return this.enable?i(e,{class:"taro-video-danmu"},this.danmuList.map((({text:t,color:e,bottom:o,key:s})=>i("p",{class:"taro-video-danmu-item",key:s,style:{color:e,bottom:o},ref:t=>{t&&this.danmuElList.push(t)}},t)))):""}};export{A as taro_video_control,c as taro_video_core,u as taro_video_danmu}
@@ -1 +0,0 @@
1
- import{r as s,h as r,H as o}from"./p-9137dcab.js";const t=class{constructor(r){s(this,r),this.percent=0,this.showInfo=!1,this.borderRadius=0,this.fontSize=16,this.strokeWidth=6,this.activeColor="#09BB07",this.backgroundColor="#EBEBEB",this.active=!1}render(){const{percent:s,showInfo:t,borderRadius:i,fontSize:e,strokeWidth:a,activeColor:n,backgroundColor:c,active:h}=this,d=s>100?100:s<0?0:s,p=h?"width 1s ease-in-out":"none";return r(o,{class:"weui-progress"},r("div",{class:"weui-progress__bar",style:{height:a+"px",backgroundColor:c}},r("div",{class:"weui-progress__inner-bar",style:{width:`${d}%`,transition:p,WebkitTransition:p,backgroundColor:n,borderRadius:i?`${i}px`:"0px"}})),t&&r("div",{class:"weui-progress__opr",style:{"font-size":`${e}px`}},r("span",null,d,"%")))}};export{t as taro_progress_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.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_keyboard_accessory_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("KeyboardAccessory",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as o,h as t,H as r}from"./p-9137dcab.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(t){o(this,t)}componentDidLoad(){s("CommentList",this)}render(){return t(r,null)}};export{a as taro_comment_list_core}
@@ -1 +0,0 @@
1
- import{r,h as o,H as s}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.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 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.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_lifestyle_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("Lifestyle",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as r}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(o){t(this,o)}componentDidLoad(){a("ContactButton",this)}render(){return o(r,null)}};export{s as taro_contact_button_core}
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("RtcRoom",this)}render(){return r(t,null)}};export{a as taro_rtc_room_core}
@@ -1 +0,0 @@
1
- import{r as o,h as t,H as r}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(t){o(this,t)}componentDidLoad(){a("NativeSlot",this)}render(){return t(r,null)}};export{s as taro_native_slot_core}
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as a}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(r){o(this,r)}componentDidLoad(){t("OpenData",this)}render(){return r(a,null)}};export{s as taro_open_data_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.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_aweme_data_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("AwemeData",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","@tarojs/taro","./p-2ec68968.system.js"],(function(e){"use strict";var t,r,n,i,o,a,s;return{setters:[function(e){t=e.r;r=e.c;n=e.h;i=e.H;o=e.g},function(e){a=e.default},function(e){s=e.c}],execute:function(){var c=".rmc-pull-to-refresh-content{-webkit-transform-origin:left top 0;transform-origin:left top 0}.rmc-pull-to-refresh-content-wrapper{min-height:100vh}.rmc-pull-to-refresh-transition{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s, -webkit-transform 0.3s}@-webkit-keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}.rmc-pull-to-refresh-indicator{height:30px;line-height:10px;text-align:center}.rmc-pull-to-refresh-indicator>div{display:inline-block;margin:3px;border-radius:100%;width:6px;height:6px;background-color:grey;-webkit-animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;-webkit-animation-fill-mode:both;animation-fill-mode:both}.rmc-pull-to-refresh-indicator>div:nth-child(0){-webkit-animation-delay:-0.1s !important;animation-delay:-0.1s !important}.rmc-pull-to-refresh-indicator>div:nth-child(1){-webkit-animation-delay:-0.2s !important;animation-delay:-0.2s !important}.rmc-pull-to-refresh-indicator>div:nth-child(2){-webkit-animation-delay:-0.3s !important;animation-delay:-0.3s !important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";function l(e,t){e.transform=t;e.webkitTransform=t;e.MozTransform=t}var u=typeof navigator!=="undefined"&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent);var d={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};var f=false;try{var h=Object.defineProperty({},"passive",{get:function(){f=true}});window.addEventListener("cancel",(function(){return{}}),h)}catch(e){}var p=f?{passive:false}:false;var v=e("taro_pull_to_refresh",function(){function e(e){var n=this;t(this,e);this.onRefresh=r(this,"refresh",7);this._ScreenY=0;this._startScreenY=0;this._lastScreenY=0;this._isMounted=false;this.triggerPullDownRefresh=function(e){if(!n.dragOnEdge&&n._isMounted){if(e){n._lastScreenY=n.distanceToRefresh+1;n.currSt="release";n.setContentStyle(n._lastScreenY)}else{n.currSt="finish";n.reset()}}};this.init=function(){var e=n.scrollContainer;var t=n.el.querySelector(".rmc-pull-to-refresh-content");n.el.appendChild=t===null||t===void 0?void 0:t.appendChild.bind(t);n.el.insertBefore=t===null||t===void 0?void 0:t.insertBefore.bind(t);n.el.replaceChild=t===null||t===void 0?void 0:t.replaceChild.bind(t);n.el.removeChild=t===null||t===void 0?void 0:t.removeChild.bind(t);n._to={touchstart:n.onTouchStart.bind(n,e),touchmove:n.onTouchMove.bind(n,e),touchend:n.onTouchEnd.bind(n,e),touchcancel:n.onTouchEnd.bind(n,e)};Object.keys(n._to).forEach((function(t){e.addEventListener(t,n._to[t],p)}))};this.destroy=function(){var e=n.scrollContainer;Object.keys(n._to).forEach((function(t){e.removeEventListener(t,n._to[t])}))};this.onTouchStart=function(e,t){n._ScreenY=n._startScreenY=t.touches[0].screenY;n._lastScreenY=n._lastScreenY||0};this.isEdge=function(e){var t=n.scrollContainer;if(t&&t===document.body){var r=document.scrollingElement?document.scrollingElement:document.body;return r.scrollTop<=0}return e.scrollTop<=0};this.damp=function(e){if(Math.abs(n._lastScreenY)>n.damping){return 0}var t=Math.abs(n._ScreenY-n._startScreenY)/window.screen.height;e*=(1-t)*.6;return e};this.onTouchMove=function(e,t){var r=t.touches[0].screenY;if(n._startScreenY>r){return}if(n.isEdge(e)){if(!n.dragOnEdge){n._ScreenY=n._startScreenY=t.touches[0].screenY;n.dragOnEdge=true}if(t.cancelable){t.preventDefault()}var i=Math.round(r-n._ScreenY);n._ScreenY=r;n._lastScreenY+=n.damp(i);n.setContentStyle(n._lastScreenY);if(Math.abs(n._lastScreenY)<n.distanceToRefresh){if(n.currSt!=="deactivate"){n.currSt="deactivate"}}else{if(n.currSt==="deactivate"){n.currSt="activate"}}if(u&&t.changedTouches[0].clientY<0){n.onTouchEnd()}}};this.onTouchEnd=function(){if(n.dragOnEdge){n.dragOnEdge=false}if(n.currSt==="activate"){n.currSt="release";n.onRefresh.emit(n);n._lastScreenY=n.distanceToRefresh+1;n.setContentStyle(n._lastScreenY)}else if(n.currSt==="release"){n._lastScreenY=n.distanceToRefresh+1;n.setContentStyle(n._lastScreenY)}else{n.reset()}};this.reset=function(){n._lastScreenY=0;n.setContentStyle(0)};this.setContentStyle=function(e){if(n.contentRef){if(e){l(n.contentRef.style,"translate3d(0px,".concat(e,"px,0)"))}else{l(n.contentRef.style,"")}}};this.prefixCls="rmc-pull-to-refresh";this.distanceToRefresh=50;this.damping=100;this.indicator=d;this.currSt="deactivate";this.dragOnEdge=false}Object.defineProperty(e.prototype,"scrollContainer",{get:function(){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},enumerable:false,configurable:true});e.prototype.statusChange=function(){var e,t,r,n;var i=this.scrollContainer;switch(this.currSt){case"release":(t=(e=i===null||i===void 0?void 0:i.__page)===null||e===void 0?void 0:e.onPullDownRefresh)===null||t===void 0?void 0:t.call(e);break;case"deactivate":(n=(r=i===null||i===void 0?void 0:i.__page)===null||r===void 0?void 0:r.onPullIntercept)===null||n===void 0?void 0:n.call(r)}};e.prototype.disconnectedCallback=function(){this.destroy()};e.prototype.componentDidLoad=function(){var e=this;this.init();this._isMounted=true;a.eventCenter.on("__taroStartPullDownRefresh",(function(t){var r=t.successHandler,n=t.errorHandler;try{e.triggerPullDownRefresh(true);r({errMsg:"startPullDownRefresh: ok"})}catch(e){n({errMsg:"startPullDownRefresh: fail"})}}));a.eventCenter.on("__taroStopPullDownRefresh",(function(t){var r=t.successHandler,n=t.errorHandler;try{e.triggerPullDownRefresh(false);r({errMsg:"stopPullDownRefresh: ok"})}catch(e){n({errMsg:"stopPullDownRefresh: fail"})}}))};e.prototype.render=function(){var e=this;var t=function(t){var r=e,i=r.currSt,o=r.dragOnEdge,a=r.prefixCls;var c=s(t,!o&&"".concat(a,"-transition"));var l=i==="activate"||i==="release";return n("div",{class:"".concat(a,"-content-wrapper")},n("div",{class:c,ref:function(t){e.contentRef=t}},l&&n("div",{class:"".concat(a,"-indicator")},n("div",null),n("div",null),n("div",null)),n("slot",null)))};if(this.scrollContainer){return t("".concat(this.prefixCls,"-content ").concat(this.prefixCls,"-down"))}return n(i,{class:s(this.prefixCls,"".concat(this.prefixCls,"-down"))},t("".concat(this.prefixCls,"-content")))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{currSt:["statusChange"]}},enumerable:false,configurable:true});return e}());v.style=c}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.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 i=t("taro_login_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("Login",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register([],(function(t){"use strict";return{execute:function(){t({d:i,i:n,t:e});function e(t,e,i){if(e===void 0){e=250}var n=0;var r;return function(){var o=[];for(var u=0;u<arguments.length;u++){o[u]=arguments[u]}var f=i||this;var a=Date.now();if(a-n>e){t.apply(this,o);n=a}else{clearTimeout(r);r=setTimeout((function(){n=a;t.apply(f,o)}),e)}}}function i(t,e,i){if(e===void 0){e=250}var n;return function(){var r=[];for(var o=0;o<arguments.length;o++){r[o]=arguments[o]}var u=i||this;clearTimeout(n);n=setTimeout((function(){t.apply(u,r)}),e)}}function n(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}}}}));
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const c=class{constructor(r){o(this,r)}componentDidLoad(){a("OfficialAccount",this)}render(){return r(t,null)}};export{c as taro_official_account_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.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_slot_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("Slot",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as a}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(r){o(this,r)}componentDidLoad(){t("ChannelVideo",this)}render(){return r(a,null)}};export{s as taro_channel_video_core}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function o(e){try{s(n.next(e))}catch(e){a(e)}}function u(e){try{s(n["throw"](e))}catch(e){a(e)}}function s(e){e.done?i(e.value):r(e.value).then(o,u)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return s([e,t])}}function s(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(i=0)),i)try{if(n=1,r&&(a=u[0]&2?r["return"]:u[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;if(r=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:i.label++;return{value:u[1],done:false};case 5:i.label++;r=u[1];u=[0];continue;case 7:u=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(u[0]===6&&i.label<a[1]){i.label=a[1];a=u;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(u);break}if(a[2])i.ops.pop();i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e];r=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var n=0,r=t.length,a;n<r;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js"],(function(e){"use strict";var t,i,n,r,a,o;return{setters:[function(e){t=e.r;i=e.c;n=e.h;r=e.H;a=e.g},function(e){o=e.c}],execute:function(){function u(e,t){var i=[];for(var n=e;n<=t;n++){i.push("".concat(n<10?"0":"").concat(n))}return i}var s=__spreadArray(__spreadArray(["20","21","22","23"],u(0,23),true),["00","01","02","03"],false);var h=__spreadArray(__spreadArray(["56","57","58","59"],u(0,59),true),["00","01","02","03"],false);function l(e,t){if(!isNaN(+e)&&e>=0&&e<t.length)return true;return false}function c(e){if(!/^\d{1,2}:\d{1,2}$/.test(e))return false;var t=e.split(":").map((function(e){return+e}));if(t[0]<0||t[0]>23)return false;if(t[1]<0||t[1]>59)return false;return true}function d(e,t){var i=e.split(":").map((function(e){return+e}));var n=t.split(":").map((function(e){return+e}));if(i[0]<n[0])return true;if(i[0]===n[0]&&i[1]<=n[1])return true;return false}function f(e){if(!e)return false;var t=new Date(e.replace(/-/g,"/"));return isNaN(t.getMonth())?false:t}function p(e,t){if(t===4||t===6||t===9||t===11)return 30;if(t===2){if(e%4===0&&e%100!==0||e%400===0)return 29;else return 28}return 31}function v(e){var t;if(Array.isArray(e)){t=e.map((function(e){return String(e)}))}else{t=e}return t}function g(e,t){var i=[];for(var n=e;n<=t;n++){i.push(n)}return i}function m(e,t){return g(e,t)}function y(e,t,i){var n=1;var r=12;if(e.getFullYear()===i){n=e.getMonth()+1}if(t.getFullYear()===i){r=t.getMonth()+1}return g(n,r)}function _(e,t,i,n){var r=1;var a=p(i,n);if(e.getFullYear()===i&&e.getMonth()+1===n){r=e.getDate()}if(t.getFullYear()===i&&t.getMonth()+1===n){a=t.getDate()}return g(r,a)}var k=102;var w=34;var C=w*7;var x=".weui-picker,.weui-picker__hd{font-size:12px}";var M=e("taro_picker_core",function(){function e(e){var r=this;t(this,e);this.onChange=i(this,"change",7);this.onColumnChange=i(this,"columnchange",7);this.onCancel=i(this,"cancel",7);this.index=[];this.showPicker=function(){if(r.disabled)return;r.height=r.getHeightByIndex();r.hidden=false};this.getHeightByIndex=function(){var e=r.index.map((function(e){var t=0;if(r.mode==="time"){t=w*4}return k-w*e-t}));return e};this.hidePicker=function(){r.fadeOut=true;setTimeout((function(){r.hidden=true;r.fadeOut=false}),350)};this.handleChange=function(){r.hidePicker();r.index=r.height.map((function(e){return(k-e)/w}));var e=r.index.length&&r.mode!=="selector"?r.index:r.index[0];if(r.mode==="time"){var t=[s.slice(),h.slice()];var i=r.index.map((function(e,i){return t[i][e]}));r.index=i.map((function(e){return parseInt(e)}));e=i.join(":")}if(r.mode==="date"){var n=r.pickerDate,a=n._start,o=n._end,u=n._updateValue;var l=u[0];var c=u[1];var d=m(a.getFullYear(),o.getFullYear());var f=y(a,o,l);var p=_(a,o,l,c);var v=d[r.index[0]];var g=f[r.index[1]];var C=p[r.index[2]];if(r.fields==="year"){e=[v]}else if(r.fields==="month"){e=[v,g]}else{e=[v,g,C]}e=e.map((function(e){return e<10?"0".concat(e):e})).join("-")}r.value=e;r.pickerValue=r.value;r.onChange.emit({value:e})};this.handleColumnChange=function(e){var t=e.detail,i=t.columnId,n=t.height;r.onColumnChange.emit({column:Number(i),value:(k-n)/w})};this.handleCancel=function(){r.hidePicker();r.onCancel.emit()};this.updateHeight=function(e,t,i){if(i===void 0){i=false}var n=__spreadArray([],r.height,true);n[t]=e;r.height=n;if(i){var a=r,o=a.start,u=a.end;if(!c(o))o="00:00";if(!c(u))u="23:59";if(!d(o,u))return;var l=[s.slice(),h.slice()];var f=r.height.map((function(e){return(k-e)/w}));var p=f.map((function(e,t){return l[t][e]})).join(":");if(!d(o,p)){var v=o.split(":").map((function(e){return k-w*(+e+4)}));requestAnimationFrame((function(){return r.height=v}))}else if(!d(p,u)){var g=u.split(":").map((function(e){return k-w*(+e+4)}));requestAnimationFrame((function(){return r.height=g}))}}};this.updateDay=function(e,t){var i=r.pickerDate,n=i._start,a=i._end,o=i._updateValue;o[t]=e;var u=o[0];var s=o[1];var h=o[2];if(t===0){var l=y(n,a,u);var c=l[l.length-1];var d=l[0];if(s>c)o[1]=c;if(s<d)o[1]=d;var f=l.indexOf(o[1]);var p=k-w*f;r.updateDay(o[1],1);r.updateHeight(p,"1")}else if(t===1){var v=_(n,a,u,s);var c=v[v.length-1];var d=v[0];if(h>c)o[2]=c;if(h<d)o[2]=d;var f=v.indexOf(o[2]);var p=k-w*f;r.updateDay(o[2],2);r.updateHeight(p,"2")}};this.getSelector=function(){return n("taro-picker-group",{range:r.range,rangeKey:r.rangeKey,height:r.height[0],updateHeight:r.updateHeight,columnId:"0"})};this.getMultiSelector=function(){return r.range.map((function(e,t){return n("taro-picker-group",{range:e,rangeKey:r.rangeKey,height:r.height[t],updateHeight:r.updateHeight,onColumnChange:r.handleColumnChange,columnId:String(t)})}))};this.getTimeSelector=function(){var e=s.slice();var t=h.slice();return[n("taro-picker-group",{mode:"time",range:e,height:r.height[0],updateHeight:r.updateHeight,columnId:"0"}),n("taro-picker-group",{mode:"time",range:t,height:r.height[1],updateHeight:r.updateHeight,columnId:"1"})]};this.getDateSelector=function(){var e=r,t=e.fields,i=e.height;var a=r.pickerDate,o=a._start,u=a._end,s=a._updateValue;var h=s[0];var l=s[1];var c=m(o.getFullYear(),u.getFullYear()).map((function(e){return"".concat(e,"年")}));var d=y(o,u,h).map((function(e){return"".concat(e<10?"0".concat(e):e,"月")}));var f=_(o,u,h,l).map((function(e){return"".concat(e<10?"0".concat(e):e,"日")}));var p=[n("taro-picker-group",{mode:"date",range:c,height:i[0],updateDay:r.updateDay,updateHeight:r.updateHeight,columnId:"0"})];if(t==="month"||t==="day"){p.push(n("taro-picker-group",{mode:"date",range:d,height:i[1],updateDay:r.updateDay,updateHeight:r.updateHeight,columnId:"1"}))}if(t==="day"){p.push(n("taro-picker-group",{mode:"date",range:f,height:i[2],updateDay:r.updateDay,updateHeight:r.updateHeight,columnId:"2"}))}return p};this.mode="selector";this.disabled=false;this.range=[];this.rangeKey=undefined;this.value=undefined;this.start="";this.end="";this.fields="day";this.name="";this.textProps={};this.pickerValue=[];this.height=[];this.hidden=true;this.fadeOut=false;this.isWillLoadCalled=false}e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.handleProps()};e.prototype.componentDidLoad=function(){if(this.overlay){document.body.appendChild(this.overlay)}};e.prototype.disconnectedCallback=function(){var e;if(this.overlay){(e=this.overlay.parentNode)===null||e===void 0?void 0:e.removeChild(this.overlay)}};e.prototype.onPropsChange=function(){if(!this.isWillLoadCalled)return;this.handleProps()};e.prototype.handleProps=function(){var e=this;var t=this,i=t.mode,n=t.start,r=t.end;if(i==="selector"){var a=this.value;this.index=[l(a,this.range)?Math.floor(a):0]}else if(i==="multiSelector"){var o=this.value;this.index=[];this.range.forEach((function(t,i){var n=o===null||o===void 0?void 0:o[i];var r=l(n,t)?Math.floor(n):0;e.index.push(r)}))}else if(i==="time"){var a=this.value;if(!c(a)){console.warn("time picker value illegal");a="0:0"}var u=a.split(":").map((function(e){return+e}));this.index=u}else if(i==="date"){var a=this.value;var s=f(a)||new Date((new Date).setHours(0,0,0,0));var h=f(n)||new Date("1970/01/01");var d=f(r)||new Date("2999/01/01");if(s>=h&&s<=d){var p=s.getFullYear();var v=s.getMonth()+1;var g=s.getDate();var k=m(h.getFullYear(),d.getFullYear());var w=y(h,d,p);var C=_(h,d,p,v);this.index=[k.indexOf(p),w.indexOf(v),C.indexOf(g)];if(!this.pickerDate||this.pickerDate._value.getTime()!==s.getTime()||this.pickerDate._start.getTime()!==h.getTime()||this.pickerDate._end.getTime()!==d.getTime()){this.pickerDate={_value:s,_start:h,_end:d,_updateValue:[p,v,g]}}}else{throw new Error("Date Interval Error")}}else{throw new Error('Picker not support "'.concat(i,'" mode.'))}this.height=this.getHeightByIndex();this.pickerValue=this.value;if(i==="date"){var x=this.pickerValue;if(this.fields==="month"){this.pickerValue=x.split("-").slice(0,2).join("-")}else if(this.fields==="year"){this.pickerValue=x.split("-")[0]}}};e.prototype.render=function(){var e=this;var t,i;var a=this,u=a.name,s=a.mode,h=a.fadeOut,l=a.hidden;var c;switch(s){case"multiSelector":c=this.getMultiSelector();break;case"time":c=this.getTimeSelector();break;case"date":c=this.getDateSelector();break;default:c=this.getSelector()}var d=o("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":h});var f=o("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":h});var p=l?{display:"none"}:{};return n(r,null,n("div",{onClick:this.showPicker},n("slot",null),n("input",{type:"hidden",name:u,value:v(this.pickerValue)})),n("div",{class:"weui-picker__overlay",style:p,ref:function(t){e.overlay=t}},n("div",{class:d,onClick:this.handleCancel}),n("div",{class:f},n("div",{class:"weui-picker__hd"},n("div",{class:"weui-picker__action",onClick:this.handleCancel},(t=this.textProps.cancelText)!==null&&t!==void 0?t:"取消"),n("div",{class:"weui-picker__action",onClick:this.handleChange},(i=this.textProps.okText)!==null&&i!==void 0?i:"确定")),n("div",{class:"weui-picker__bd"},c),n("input",{type:"hidden",name:u,value:v(this.pickerValue)}))))};Object.defineProperty(e.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:["onPropsChange"],value:["onPropsChange"],range:["onPropsChange"],start:["onPropsChange"],end:["onPropsChange"]}},enumerable:false,configurable:true});return e}());M.style=x;var D=e("taro_picker_group",function(){function e(e){t(this,e);this.onColumnChange=i(this,"columnChange",7);this.mode=undefined;this.range=[];this.rangeKey=undefined;this.height=undefined;this.columnId=undefined;this.updateHeight=undefined;this.updateDay=undefined;this.startY=undefined;this.preY=undefined;this.hadMove=undefined;this.touchEnd=undefined;this.isMove=undefined}e.prototype.getPosition=function(){var e=this.touchEnd?.3:0;var t="translate3d(0, ".concat(this.height,"px, 0)");var i="transform ".concat(e,"s");return{transform:t,"-webkit-transform":t,transition:i,"-webkit-transition":i}};e.prototype.formulaUnlimitedScroll=function(e,t,i){var n=this;var r=this,a=r.height,o=r.updateHeight,u=r.columnId;var s=i==="up"?1:-1;this.touchEnd=false;o(-e*s*w+a,u);requestAnimationFrame((function(){n.touchEnd=true;var i=Math.round(t/-w)+e*s;var r=k-w*i;o(r,u,true)}))};e.prototype.handleMoveStart=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.startY=e;this.preY=e;this.hadMove=false;return[2]}))}))};e.prototype.handleMoving=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n;return __generator(this,(function(r){t=e;i=t-this.preY;this.preY=t;this.touchEnd=false;if(Math.abs(t-this.startY)>10)this.hadMove=true;n=this.height+i;if(this.mode==="time"){if(this.columnId==="0"){if(n>k-w*3){n=k-w*27+i}if(n<k-w*28){n=k-w*4+i}}else if(this.columnId==="1"){if(n>k-w*3){n=k-w*63+i}if(n<k-w*64){n=k-w*4+i}}}this.updateHeight(n,this.columnId);return[2]}))}))};e.prototype.handleMoveEnd=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,r,a,o,u,s,h,l,c,d,f,p;return __generator(this,(function(v){t=this,i=t.mode,n=t.range,r=t.height,a=t.updateHeight,o=t.columnId;u=0;s=-w*(n.length-1);h=e;this.touchEnd=true;if(!this.hadMove){c=window.innerHeight;d=c-C/2;l=r-k-(h-d);if(i==="time"){if(o==="0"){if(l>-w*2.5){return[2,this.formulaUnlimitedScroll(24,l,"up")]}if(l<-w*28.5){return[2,this.formulaUnlimitedScroll(24,l,"down")]}}else if(o==="1"){if(l>-w*2.5){return[2,this.formulaUnlimitedScroll(60,l,"up")]}if(l<-w*64.5){return[2,this.formulaUnlimitedScroll(60,l,"down")]}}}}else{l=r-k}if(l>u)l=0;if(l<s)l=s;f=Math.round(l/-w);p=k-w*f;if(this.mode==="date"&&typeof this.updateDay==="function"){if(this.columnId==="0"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),0)}if(this.columnId==="1"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),1)}if(this.columnId==="2"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),2)}}a(p,o,i==="time");this.onColumnChange.emit({columnId:o,height:p});return[2]}))}))};e.prototype.onMouseDown=function(e){this.isMove=true;this.handleMoveStart(e.clientY)};e.prototype.onMouseMove=function(e){if(!this.isMove)return;this.handleMoving(e.clientY)};e.prototype.onMouseMoveEnd=function(e){if(!this.isMove)return;this.isMove=false;this.handleMoveEnd(e.clientY)};e.prototype.onTouchStart=function(e){this.handleMoveStart(e.changedTouches[0].clientY)};e.prototype.onTouchMove=function(e){this.handleMoving(e.changedTouches[0].clientY)};e.prototype.onTouchEnd=function(e){this.handleMoveEnd(e.changedTouches[0].clientY)};e.prototype.render=function(){var e=this,t=e.range,i=e.rangeKey;var a=t.map((function(e){var t=i?e[i]:e;return n("div",{class:"weui-picker__item"},t)}));return n(r,{class:"weui-picker__group"},n("div",{class:"weui-picker__mask"}),n("div",{class:"weui-picker__indicator"}),n("div",{class:"weui-picker__content",style:this.getPosition()},a))};return e}())}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as e,H as i,g as o}from"./p-9137dcab.js";import{c as h}from"./p-de951a46.js";const r=class{constructor(e){t(this,e),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))}componentDidRender(){this.el.childNodes.forEach((t=>{t.nodeType===document.COMMENT_NODE&&t["s-cn"]&&(t["s-cn"]=!1),t.nodeType!==document.COMMENT_NODE&&t["s-sr"]&&(t["s-sr"]=!1)}))}render(){const t=h({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),e(i,Object.assign({class:t},s),e("slot",null))}get el(){return o(this)}};r.style="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";export{r as taro_view_core}
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("Slot",this)}render(){return r(t,null)}};export{a as taro_slot_core}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.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_map_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Map",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,H as e,g as r}from"./p-9137dcab.js";import h from"@tarojs/taro";import{c as a}from"./p-de951a46.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=()=>{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})=>{try{this.triggerPullDownRefresh(!1),t({errMsg:"stopPullDownRefresh: ok"})}catch(t){i({errMsg:"stopPullDownRefresh: fail"})}}))}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:left top 0;transform-origin:left top 0}.rmc-pull-to-refresh-content-wrapper{min-height:100vh}.rmc-pull-to-refresh-transition{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s, -webkit-transform 0.3s}@-webkit-keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}.rmc-pull-to-refresh-indicator{height:30px;line-height:10px;text-align:center}.rmc-pull-to-refresh-indicator>div{display:inline-block;margin:3px;border-radius:100%;width:6px;height:6px;background-color:grey;-webkit-animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;-webkit-animation-fill-mode:both;animation-fill-mode:both}.rmc-pull-to-refresh-indicator>div:nth-child(0){-webkit-animation-delay:-0.1s !important;animation-delay:-0.1s !important}.rmc-pull-to-refresh-indicator>div:nth-child(1){-webkit-animation-delay:-0.2s !important;animation-delay:-0.2s !important}.rmc-pull-to-refresh-indicator>div:nth-child(2){-webkit-animation-delay:-0.3s !important;animation-delay:-0.3s !important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";export{d as taro_pull_to_refresh}
@@ -1 +0,0 @@
1
- import{r,h as a,H as o}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(a){r(this,a)}componentDidLoad(){t("Camera",this)}render(){return a(o,null)}};export{s as taro_camera_core}
@@ -1 +0,0 @@
1
- function t(t,n=250,e){let i,o=0;return function(...u){const c=e||this,s=Date.now();s-o>n?(t.apply(this,u),o=s):(clearTimeout(i),i=setTimeout((()=>{o=s,t.apply(c,u)}),n))}}function n(t,n=250,e){let i;return function(...o){const u=e||this;clearTimeout(i),i=setTimeout((function(){t.apply(u,o)}),n)}}function e(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}export{n as d,e as i,t}
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.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_grid_view_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("GridView",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-2ec68968.system.js"],(function(o){"use strict";var t,r,e,a,i,n;return{setters:[function(o){t=o.r;r=o.c;e=o.h;a=o.H;i=o.g},function(o){n=o.c}],execute:function(){var c='taro-button-core{display:block;overflow:hidden;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;border-width:0;border-radius:5px;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#f8f8f8;line-height:2.55555556;text-decoration:none;text-align:center;font-size:18px;color:#000;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core::after{position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:10px;width:200%;height:200%;content:" ";-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{background-color:#f8f8f8;color:#000}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core[size=mini]{display:inline-block;padding:0 1.32em;width:auto;line-height:2.3;font-size:13px}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{border-width:1px;background-color:transparent}taro-button-core[disabled]{color:rgba(255, 255, 255, 0.6)}taro-button-core[disabled][type=default]{background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-0.2em 0.34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255, 255, 255, 0.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{border:1px solid #1aad19;color:#1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{border-color:rgba(26, 173, 25, 0.6);background-color:transparent;color:rgba(26, 173, 25, 0.6)}taro-button-core[plain][type=primary]::after{border-width:0}taro-button-core[plain][type=warn]{border:1px solid #e64340;color:#e64340}taro-button-core[plain][type=warn]:not([disabled]):active{border-color:rgba(230, 67, 64, 0.6);background-color:transparent;color:rgba(230, 67, 64, 0.6)}taro-button-core[plain][type=warn]::after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{border:1px solid #353535;color:#353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{border-color:rgba(53, 53, 53, 0.6);background-color:transparent;color:rgba(53, 53, 53, 0.6)}taro-button-core[plain]::after,taro-button-core[plain][type=default]::after{border-width:0}taro-button-core[type=primary]{background-color:#1aad19;color:#fff}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{background-color:#179b16;color:rgba(255, 255, 255, 0.6)}taro-button-core[type=warn]{background-color:#e64340;color:#fff}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{background-color:#ce3c39;color:rgba(255, 255, 255, 0.6)}taro-button-core[plain][disabled]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[plain][disabled][type=primary]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}';var b=o("taro_button_core",function(){function o(o){t(this,o);this.onSubmit=r(this,"tarobuttonsubmit",7);this.onReset=r(this,"tarobuttonreset",7);this.disabled=undefined;this.hoverClass="button-hover";this.type="";this.hoverStartTime=20;this.hoverStayTime=70;this.size=undefined;this.plain=undefined;this.loading=false;this.formType=null;this.hover=false;this.touch=false}o.prototype.onClick=function(o){if(this.disabled){o.stopPropagation()}};o.prototype.onTouchStart=function(){var o=this;if(this.disabled){return}this.touch=true;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(o.touch){o.hover=true}}),this.hoverStartTime)}};o.prototype.onTouchEnd=function(){var o=this;if(this.disabled){return}this.touch=false;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(!o.touch){o.hover=false}}),this.hoverStayTime)}if(this.formType==="submit"){this.onSubmit.emit()}else if(this.formType==="reset"){this.onReset.emit()}};o.prototype.render=function(){var o;var t=this,r=t.disabled,i=t.hoverClass,c=t.type,b=t.size,d=t.plain,l=t.loading,s=t.hover;var u=n((o={},o["".concat(i)]=s&&!r,o));return e(a,{class:u,type:c,plain:d,loading:l,size:b,disabled:r},l&&e("i",{class:"weui-loading"}),e("slot",null))};Object.defineProperty(o.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return o}());b.style=c}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.h;n=e.H}],execute:function(){var s="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]{display:block;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:0.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}";var c=e("taro_rich_text_core",function(){function e(e){var n=this;t(this,e);this.renderNode=function(e){if("type"in e&&e.type==="text"){var t=(e.text||"").replace(/&nbsp;/g," ");return t}else if("name"in e&&e.name){var s=e.name,c=e.attrs,i=e.children;var a={};var o=[];if(c&&typeof c==="object"){var u=function(e){var t=c[e];if(e==="style"&&typeof t==="string"){var r=t.split(";").map((function(e){return e.trim()})).filter((function(e){return e}));var n={};r.forEach((function(e){if(!e)return;var t=/(.+): *(.+)/g.exec(e);if(!t)return;var r=t[1],s=t[2];var c=r.replace(/-([a-z])/g,(function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return e[1].toUpperCase()}));n[c]=s}));if(Object.keys(n).length){a.style=n}return"continue"}a[e]=t};for(var l in c){u(l)}}if(i&&i.length){o=i.map((function(e){return n.renderNode(e)}))}return r(s,a,o)}return null};this.nodes=undefined;this.selectable=false;this.userSelect=false;this.space=undefined}e.prototype.render=function(){var e=this,t=e.nodes,s=e.renderNode;if(Array.isArray(t)){return r(n,null,t.map((function(e){return s(e)})))}else{return r(n,{innerHTML:t})}};return e}());c.style=s}}}));
@@ -1 +0,0 @@
1
- import{h as t,r as a,c as r,H as e,g as o}from"./p-9137dcab.js";import s from"@tarojs/taro";import{c as i}from"./p-de951a46.js";import{i as n}from"./p-d3c7f87d.js";const h=t=>{let a,r=t||"";const e={path:null,query:null,fragment:null};return a=r.indexOf("#"),a>-1&&(e.fragment=r.substring(a+1),r=r.substring(0,a)),a=r.indexOf("?"),a>-1&&(e.query=r.substring(a+1),r=r.substring(0,a)),e.path=r,e},b=(t="")=>"/"===t.charAt(0)?t:"/"+t,l=(t="",a="")=>((t="",a="")=>new RegExp("^"+a+"(\\/|\\?|#|$)","i").test(t)||t===a)(t,a)?t.substring(a.length):t;function d(t){return"/"===t.charAt(0)}function c(t,a){for(var r=a,e=r+1,o=t.length;e<o;r+=1,e+=1)t[r]=t[e];t.pop()}const _=({index:a,isSelected:r=!1,textColor:e,iconPath:o,badgeText:h,showRedDot:b=!1,pagePath:l,text:d,onSelect:c})=>{const _=i("weui-tabbar__item",{"weui-bar__item_on":r});return t("a",{key:a,href:"javascript:;",class:_,onClick:function(){const t=s.getCurrentPages().shift();"function"==typeof(null==t?void 0:t.onTabItemTap)&&n(this)&&t.onTabItemTap({index:a,pagePath:l,text:d}),c(a)}},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:o,alt:"",class:"weui-tabbar__icon"}),!!h&&t("span",{class:"weui-badge taro-tabbar-badge",style:{position:"absolute",top:"-2px",right:"-13px"}},h),b&&t("span",{class:"weui-badge weui-badge_dot",style:{position:"absolute",top:"0",right:"-6px"}})),t("p",{class:"weui-tabbar__label",style:{color:e}},d))},u="taro-tabbar__tabbar",g=class{constructor(t){a(this,t),this.onLongPress=r(this,"longpress",7),this.homePage="",this.customRoutes=[],this.tabbarPos="bottom",this.getOriginUrl=t=>{const a=this.customRoutes.filter((([,a])=>h(a).path===h(t).path));return((t="",a="")=>t.includes(a)?t.substring(0,t.length-a.length):t)(a.length?a[0][0]:t,".html")},this.getSelectedIndex=t=>{let a=-1;return this.list.forEach((({pagePath:r},e)=>{h(t).path===h(r).path&&(a=e)})),a},this.switchTab=t=>{this.selectedIndex=t,s.switchTab({url:this.list[t].pagePath})},this.switchTabHandler=({url:t,successHandler:a,errorHandler:r})=>{const e=function(t,a){void 0===a&&(a="");var r,e=t&&t.split("/")||[],o=a&&a.split("/")||[],s=t&&d(t),i=a&&d(a),n=s||i;if(t&&d(t)?o=e:e.length&&(o.pop(),o=o.concat(e)),!o.length)return"/";if(o.length){var h=o[o.length-1];r="."===h||".."===h||""===h}else r=!1;for(var b=0,l=o.length;l>=0;l--){var _=o[l];"."===_?c(o,l):".."===_?(c(o,l),b++):b&&(c(o,l),b--)}if(!n)for(;b--;b)o.unshift("..");!n||""===o[0]||o[0]&&d(o[0])||o.unshift("");var u=o.join("/");return r&&"/"!==u.substr(-1)&&(u+="/"),u}(t,this.getOriginUrl(this.getCurrentUrl()||this.homePage)),o=this.getSelectedIndex(e);o>-1?(this.switchTab(o),a({errMsg:"switchTab:ok"})):r({errMsg:`switchTab:fail page "${e}" is not found`})},this.routerChangeHandler=t=>{var a;const r=null===(a=null==t?void 0:t.toLocation)||void 0===a?void 0:a.path;let e;if("string"==typeof r){const t=this.conf.basename||"/";e=l(b(r||this.homePage),t)||"/"}else e=this.getCurrentUrl();this.selectedIndex=this.getSelectedIndex(this.getOriginUrl(e))},this.setTabBarBadgeHandler=({index:t,text:a,successHandler:r,errorHandler:e})=>{const o=[...this.list];t in o?(o[t].showRedDot=!1,o[t].badgeText=a,r({errMsg:"setTabBarBadge:ok"})):e({errMsg:"setTabBarBadge:fail tabbar item not found"}),this.list=o},this.removeTabBarBadgeHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].badgeText=null,e[t].badgeText=null,a({errMsg:"removeTabBarBadge:ok"})):r({errMsg:"removeTabBarBadge:fail tabbar item not found"}),this.list=e},this.showTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].badgeText=null,e[t].showRedDot=!0,a({errMsg:"showTabBarRedDot:ok"})):r({errMsg:"showTabBarRedDot:fail tabbar item not found"}),this.list=e},this.hideTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].showRedDot=!1,a({errMsg:"hideTabBarRedDot:ok"})):r({errMsg:"hideTabBarRedDot:fail tabbar item not found"}),this.list=e},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:r,borderStyle:e,successHandler:o})=>{r&&(this.backgroundColor=r),e&&(this.borderStyle=e),t&&(this.color=t),a&&(this.selectedColor=a),o({errMsg:"setTabBarStyle:ok"})},this.setTabBarItemHandler=({index:t,iconPath:a,selectedIconPath:r,text:e,successHandler:o,errorHandler:s})=>{const i=[...this.list];t in i?(a&&(i[t].iconPath=a),r&&(i[t].selectedIconPath=r),e&&(i[t].text=e),o({errMsg:"setTabBarItem:ok"})):s({errMsg:"setTabBarItem:fail tabbar item not found"}),this.list=i},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 r=(null===(t=this.conf)||void 0===t?void 0:t.list)||[],e=(null===(a=this.conf)||void 0===a?void 0:a.customRoutes)||{};if("[object Array]"!==Object.prototype.toString.call(r)||r.length<2||r.length>5)throw new Error("tabBar 配置错误");this.homePage=b(this.conf.homePage);for(let t in e){const a=e[t];t=b(t),"string"==typeof a?this.customRoutes.push([t,b(a)]):(null==a?void 0:a.length)>0&&this.customRoutes.push(...a.map((a=>[t,b(a)])))}r.forEach((t=>{0!==t.pagePath.indexOf("/")&&(t.pagePath="/"+t.pagePath)})),this.list=r,this.borderStyle=this.conf.borderStyle,this.backgroundColor=this.conf.backgroundColor,this.color=this.conf.color,this.selectedColor=this.conf.selectedColor}getCurrentUrl(){const t=((t="hash",a="/")=>{const r="hash"===t?location.hash.slice(1).split("?")[0]:location.pathname;return b(l(r,a))})(this.conf.mode,this.conf.basename);return decodeURI("/"===t?this.homePage:t)}bindEvent(){s.eventCenter.on("__taroRouterChange",this.routerChangeHandler),s.eventCenter.on("__taroSwitchTab",this.switchTabHandler),s.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler),s.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),s.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),s.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),s.eventCenter.on("__taroShowTabBar",this.showTabBarHandler),s.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler),s.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler),s.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)}removeEvent(){s.eventCenter.off("__taroRouterChange",this.routerChangeHandler),s.eventCenter.off("__taroSwitchTab",this.switchTabHandler),s.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler),s.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),s.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),s.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),s.eventCenter.off("__taroShowTabBar",this.showTabBarHandler),s.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler),s.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler),s.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,r=this.status,o=i("weui-tabbar",{[`taro-tabbar__border-${this.borderStyle||"black"}`]:!0});return t(e,{class:i(u,`${u}-${a}`,{"taro-tabbar__tabbar-hide":-1===this.selectedIndex||1===r,"taro-tabbar__tabbar-slideout":2===r})},t("div",{class:o,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map(((a,r)=>{const e=this.selectedIndex===r;let o,s;return e?(o=this.selectedColor||"",s=a.selectedIconPath):(o=this.color||"",s=a.iconPath),t(_,{index:r,onSelect:this.switchTab.bind(this),isSelected:e,textColor:o,iconPath:s,pagePath:a.pagePath,text:a.text,badgeText:a.badgeText,showRedDot:a.showRedDot})}))))}get tabbar(){return o(this)}};g.style="html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:50px;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";export{g as taro_tabbar}
@@ -1 +0,0 @@
1
- import{r,h as o,H as a}from"./p-9137dcab.js";import{n as t}from"./p-6a96da58.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 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.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_follow_swan_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("FollowSwan",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-7e6b54cb.system.js"],(function(r){"use strict";var t,s,e;return{setters:[function(r){t=r.r;s=r.h;e=r.H}],execute:function(){var o=r("taro_progress_core",function(){function r(r){t(this,r);this.percent=0;this.showInfo=false;this.borderRadius=0;this.fontSize=16;this.strokeWidth=6;this.activeColor="#09BB07";this.backgroundColor="#EBEBEB";this.active=false}r.prototype.render=function(){var r=this,t=r.percent,o=r.showInfo,i=r.borderRadius,n=r.fontSize,a=r.strokeWidth,c=r.activeColor,u=r.backgroundColor,h=r.active;var d=t>100?100:t<0?0:t;var l={height:a+"px",backgroundColor:u};var p=h?"width 1s ease-in-out":"none";var v={width:"".concat(d,"%"),transition:p,WebkitTransition:p,backgroundColor:c,borderRadius:i?"".concat(i,"px"):"0px"};return s(e,{class:"weui-progress"},s("div",{class:"weui-progress__bar",style:l},s("div",{class:"weui-progress__inner-bar",style:v})),o&&s("div",{class:"weui-progress__opr",style:{"font-size":"".concat(n,"px")}},s("span",null,d,"%")))};return r}())}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,a){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{c(a.next(e))}catch(e){r(e)}}function s(e){try{c(a["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(s){if(a)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(n=0)),n)try{if(a=1,i&&(r=s[0]&2?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;if(i=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-7e6b54cb.system.js"],(function(e){"use strict";var t,n,a,i,r;return{setters:[function(e){t=e.r;n=e.h;a=e.g;i=e.H;r=e.c}],execute:function(){var o="taro-movable-area-core{display:block;position:relative;width:10px;height:10px}";var s=e("taro_movable_area_core",function(){function e(e){var n=this;t(this,e);this.views=[];this.scaleLength=0;this.viewsChanged=function(){n.views=[];var e=n.element.querySelectorAll("taro-movable-view-core");Array.from(e).forEach((function(e){n.views.push(e)}));n.updateArea()};this.handleTouchStart=function(e){var t=e.touches;if(!t||t.length<=1){return}var a={width:t[1].pageX-t[0].pageX,height:t[1].pageY-t[0].pageY};n.scaleLength=Math.sqrt(a.width*a.width+a.height*a.height);if(n.scaleArea){return}var i=function(e,t){var n=function(e,t){if(!(e=e.parentNode)){return false}return(!(e instanceof HTMLElement)||e!==document.body)&&(e===t||e===t.element||e.element===t||n(e,t))};for(var a=0;a<t.length;a++){var i=t[a];if(e===i["element"]||n(e,i)){return i}}};var r=i(t[0].target,n.views);var o=i(t[1].target,n.views);n.scaleTarget=r&&r===o?r:undefined};this.handleTouchMove=function(e){var t=e.touches;if(!t||t.length<=1){return}e.preventDefault();var a={width:t[1].pageX-t[0].pageX,height:t[1].pageY-t[0].pageY};if(n.scaleLength>0){n.updateScale(Math.sqrt(a.width*a.width+a.height*a.height)/n.scaleLength)}};this.handleTouchEnd=function(e){var t,a;if(e.touches&&e.touches.length||!e.changedTouches){return}n.scaleLength=0;if(n.scaleArea){n.views.forEach((function(e){var t;(t=e["endScale"])===null||t===void 0?void 0:t.call(e)}))}else{(a=(t=n.scaleTarget)===null||t===void 0?void 0:t["endScale"])===null||a===void 0?void 0:a.call(t)}n.scaleTarget=undefined};this.updateScale=function(e){var t,a;if(!e||e===1){return}if(n.scaleArea){n.views.forEach((function(t){var n;(n=t["setScale"])===null||n===void 0?void 0:n.call(t,e)}))}else{(a=(t=n.scaleTarget)===null||t===void 0?void 0:t["setScale"])===null||a===void 0?void 0:a.call(t,e)}};this.updateArea=function(){var e=window.getComputedStyle(n.element);var t=n.element.getBoundingClientRect();var a=["Left","Right"].map((function(t){return parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])}));var i=["Top","Bottom"].map((function(t){return parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])}));n.views.forEach((function(e){var r;(r=e["setParent"])===null||r===void 0?void 0:r.call(e,{element:n.element,area:{height:t.height-i[0]-i[1],width:t.width-a[0]-a[1]}})}))};this.scaleArea=undefined}e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var n,a;if(t.attributeName==="class"||t.attributeName==="style"){var i=e.element.offsetWidth;var r=e.element.offsetHeight;if(i!==((n=e.offset)===null||n===void 0?void 0:n.width)||r!==((a=e.offset)===null||a===void 0?void 0:a.height)){e.updateArea()}e.offset={width:i,height:r}}}))}));this.observer.observe(this.element,{attributes:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.observer)===null||e===void 0?void 0:e.disconnect()};e.prototype.componentDidLoad=function(){this.viewsChanged()};e.prototype.render=function(){return n(i,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());s.style=o;var c="taro-movable-view-core{display:inline-block;position:absolute;left:0;top:0;width:10px;height:10px}";var l=e("taro_movable_view_core",function(){function e(e){var n=this;t(this,e);this.onChange=r(this,"change",7);this.onScale=r(this,"scale",7);this.onHTouchMove=r(this,"htouchmove",7);this.onVTouchMove=r(this,"vtouchmove",7);this.translateX=0;this.translateY=0;this.origin={x:0,y:0};this.area={width:0,height:0};this.originScale=1;this.currentScale=1;this.width=0;this.height=0;this.minX=0;this.minY=0;this.maxX=0;this.maxY=0;this.baseX=0;this.baseY=0;this.offset={x:0,y:0};this.scaleOffset={x:0,y:0};this.getLimitXY=function(e,t){var a=false;e>n.maxX?(e=n.maxX,a=true):e<n.minX&&(e=n.minX,a=true);t>n.maxY?(t=n.maxY,a=true):t<n.minY&&(t=n.minY,a=true);return{x:e,y:t,outOfBounds:a}};this.animationTo=function(e,t,a,i,r,o,s){if(n.animation){n.setTransform(e,t,a,i,r,o);s===null||s===void 0?void 0:s()}else{n.setTransform(e,t,a,i,r,o)}};this.setTransform=function(e,t,a,i,r,o){e=Number(e.toFixed(1));t=Number(t.toFixed(1));a=Number((a!==null&&a!==void 0?a:n.currentScale).toFixed(3));if(!n.outOfBounds){var s=n.getLimitXY(e,t);e=s.x;t=s.y}var c=function(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)};var l=c(e,n.scaleOffset.x);var u=c(t,n.scaleOffset.y);if(n.translateX!==e||n.translateY!==t){!r&&n.onChange.emit({x:l,y:u,source:i})}if(a!==n.currentScale){o&&n.onScale.emit({scale:a,x:l,y:u})}var h="translateX(".concat(e,"px) translateY(").concat(t,"px) translateZ(0px) scale(").concat(a,")");n.element.style.transform=h;n.element.style.webkitTransform=h;n.translateX=e;n.translateY=t;n.currentScale=a};this.updateOffset=function(){var e=function(t,n){if(t===n||!t.offsetParent){return{left:0,top:0}}var a=e(t.offsetParent,n);return{left:t.offsetLeft+a.left,top:t.offsetTop+a.top}};if(!n.parent){return}var t=e(n.element,n.parent);n.offset.x=t.left;n.offset.y=t.top};this.updateScaleOffset=function(e){if(e===void 0){e=n.currentScale}var t=n.element.getBoundingClientRect();n.height=t.height/n.currentScale;n.width=t.width/n.currentScale;n.scaleOffset.x=(n.width*e-n.width)/2;n.scaleOffset.y=(n.height*e-n.height)/2};this.updateBoundary=function(){var e=0-n.offset.x+n.scaleOffset.x;var t=n.area.width-n.width-n.offset.x-n.scaleOffset.x;n.minX=Math.min(e,t);n.maxX=Math.max(e,t);var a=0-n.offset.y+n.scaleOffset.y;var i=n.area.height-n.height-n.offset.y-n.scaleOffset.y;n.minY=Math.min(a,i);n.maxY=Math.max(a,i)};this.updateScale=function(e,t,a){if(!n.scale){return}var i=n.adjustScale(e);n.updateScaleOffset(i);n.updateBoundary();var r=n.getLimitXY(n.translateX,n.translateY),o=r.x,s=r.y;if(t){n.animationTo(o,s,i,"",true,true,a)}else if(!n.updating){n.updating=true;requestAnimationFrame((function(){n.setTransform(o,s,i,"",true,true);n.updating=false}))}};this.setOriginScale=function(e){n.originScale=e};this.adjustScale=function(e){return Math.min(10,n.scaleMax,Math.max(.5,n.scaleMin,e))};this.handleTouchStart=function(e){var t=e.touches;if(n.disabled||t.length>1||!n.element){return}var a=t[0];n.touching=true;n.firstMoveFireEvent=false;n.origin.x=a.screenX;n.origin.y=a.screenY;n.baseX=n.translateX;n.baseY=n.translateY;n.element.style.willChange="transform"};this.handleTouchMove=function(e){var t=e.touches;if(n.disabled||!n.element||n.scaling||!n.touching||t.length>1){return}e.preventDefault();var a=t[0];var i=a.screenX-n.origin.x;var r=a.screenY-n.origin.y;n.setTransform(n.xMove?i+n.baseX:0,n.yMove?r+n.baseY:0);if(!n.firstMoveFireEvent){n.firstMoveFireEvent=true;var o=Math.abs(i)>Math.abs(r)?n.onHTouchMove:n.onVTouchMove;o.emit({originalEvent:e,bubbles:false,capturePhase:false,composed:true,extraFields:{touches:e.touches||{},changedTouches:e.changedTouches||{}}})}};this.handleTouchEnd=function(e){var t=e.changedTouches[0];if(n.disabled||!n.touching||!t){return}n.touching=false;var a=t.screenX-n.origin.x;var i=t.screenY-n.origin.y;n.setTransform(n.xMove?a+n.baseX:0,n.yMove?i+n.baseY:0)};this.x=0;this.y=0;this.direction="none";this.outOfBounds=false;this.inertia=false;this.friction=2;this.damping=20;this.disabled=false;this.scale=false;this.scaleMin=.5;this.scaleMax=10;this.scaleValue=1;this.animation=true}e.prototype.watchX=function(e){this.setTransform(parseFloat("".concat(e||0)),this.translateY)};e.prototype.watchY=function(e){this.setTransform(this.translateX,parseFloat("".concat(e||0)))};e.prototype.watchScaleMinOrMax=function(){if(!this.scale)return false;this.updateScale(this.currentScale,true);this.setOriginScale(this.currentScale)};e.prototype.watchScaleValue=function(e){if(!this.scale){return false}this.updateScale(e,true);this.setOriginScale(e);return e};e.prototype.setParent=function(e){var t=e.element,n=e.area;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){e=this.scale?this.scaleValue:1;this.area=n;this.parent=t;this.updateOffset();this.updateScaleOffset(e);this.updateBoundary();this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,e,"",true);this.setOriginScale(e);return[2]}))}))};e.prototype.endScale=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.scaling=false;this.setOriginScale(this.currentScale);return[2]}))}))};e.prototype.setScale=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.scale){return[2]}this.scaling=true;this.updateScale(e*this.originScale);return[2]}))}))};e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var n=t.attributeName;if(n&&["class","style"].includes(n)){var a=t.oldValue;var i=t.target.getAttribute(n);if(a===i){return}var r=function(e){return e===null||e===void 0?void 0:e.split(";").filter((function(e){return!["transform","will-change"].find((function(t){return e.trim().startsWith(t)}))})).join(";")};if(n==="style"&&r(i)===r(a)){return}e.updateOffset();e.updateScaleOffset();e.updateBoundary();e.setTransform(e.translateX,e.translateY)}}))}));this.observer.observe(this.element,{attributes:true,attributeOldValue:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.observer)===null||e===void 0?void 0:e.disconnect()};e.prototype.componentDidLoad=function(){this.element.style.transformOrigin="center";this.xMove=["horizontal","all"].includes(this.direction);this.yMove=["vertical","all"].includes(this.direction);if(this.friction<=0){this.friction=2}if(this.x||this.y){var e=parseFloat("".concat(this.x||0));var t=parseFloat("".concat(this.y||0));this.setTransform(e,t)}};e.prototype.render=function(){return n(i,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}},enumerable:false,configurable:true});return e}());l.style=c}}}));