@tarojs/components 4.1.9 → 4.1.10-beta.0

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 (673) hide show
  1. package/dist/cjs/{ad-909844fb.js → ad-6e5e6c21.js} +1 -1
  2. package/dist/cjs/{ad-custom-71f006aa.js → ad-custom-03478475.js} +1 -1
  3. package/dist/cjs/{animation-video-87e4a29d.js → animation-video-7fc33f99.js} +1 -1
  4. package/dist/cjs/{animation-view-31ea61a7.js → animation-view-80fa5d0f.js} +1 -1
  5. package/dist/cjs/{ar-camera-b90191d5.js → ar-camera-a5b4fc84.js} +1 -1
  6. package/dist/cjs/{audio-ac366435.js → audio-df2bacdd.js} +1 -1
  7. package/dist/cjs/{aweme-data-b6ab115e.js → aweme-data-c526f1a1.js} +1 -1
  8. package/dist/cjs/{block-ac3c2a0d.js → block-019beb65.js} +1 -1
  9. package/dist/cjs/{button-3199792d.js → button-8f729d81.js} +1 -1
  10. package/dist/cjs/{camera-b63879f2.js → camera-d82d6f4d.js} +1 -1
  11. package/dist/cjs/{canvas-77c69c3e.js → canvas-5ed991dd.js} +1 -1
  12. package/dist/cjs/{channel-live-bf6d9754.js → channel-live-691e20a5.js} +1 -1
  13. package/dist/cjs/{channel-video-78482de0.js → channel-video-126a3305.js} +1 -1
  14. package/dist/cjs/{checkbox-3521a8df.js → checkbox-ffc9c1a2.js} +1 -1
  15. package/dist/cjs/{comment-detail-33e7ae45.js → comment-detail-87637299.js} +1 -1
  16. package/dist/cjs/{comment-list-684be2f0.js → comment-list-a18163da.js} +1 -1
  17. package/dist/cjs/{contact-button-658f1fb9.js → contact-button-75ae4609.js} +1 -1
  18. package/dist/cjs/{cover-image-72269c60.js → cover-image-1bf95a9b.js} +1 -1
  19. package/dist/cjs/{cover-view-6b272b51.js → cover-view-a0e4395c.js} +1 -1
  20. package/dist/cjs/{custom-wrapper-fbd23853.js → custom-wrapper-64a8245e.js} +1 -1
  21. package/dist/cjs/{draggable-sheet-f4116177.js → draggable-sheet-749618d6.js} +1 -1
  22. package/dist/cjs/{editor-9f490079.js → editor-81a773f9.js} +1 -1
  23. package/dist/cjs/{follow-swan-8653b271.js → follow-swan-794e3367.js} +1 -1
  24. package/dist/cjs/{form-e1bf4230.js → form-f24b8935.js} +1 -1
  25. package/dist/cjs/{functional-page-navigator-77a37a62.js → functional-page-navigator-db0aeeb5.js} +1 -1
  26. package/dist/cjs/{grid-builder-9d42a8b7.js → grid-builder-0757691d.js} +1 -1
  27. package/dist/cjs/{grid-view-f9195d52.js → grid-view-b77da424.js} +1 -1
  28. package/dist/cjs/{icon-45fd466b.js → icon-93e7c472.js} +1 -1
  29. package/dist/cjs/{image-b96cc2ca.js → image-4303ed3a.js} +1 -1
  30. package/dist/cjs/index.cjs.js +92 -92
  31. package/dist/cjs/{inline-payment-panel-2c3a8740.js → inline-payment-panel-0068d0e4.js} +1 -1
  32. package/dist/cjs/{input-7fd687a1.js → input-f39a63db.js} +1 -1
  33. package/dist/cjs/{keyboard-accessory-1531d755.js → keyboard-accessory-d7d227b7.js} +1 -1
  34. package/dist/cjs/{label-2ad4be32.js → label-e54a79ee.js} +1 -1
  35. package/dist/cjs/{lifestyle-0430d0c3.js → lifestyle-189b4b3a.js} +1 -1
  36. package/dist/cjs/{like-954977d0.js → like-b6a72cb7.js} +1 -1
  37. package/dist/cjs/{list-builder-cb572bc2.js → list-builder-d7a3f023.js} +1 -1
  38. package/dist/cjs/{list-view-8b7d465e.js → list-view-7cf454c7.js} +1 -1
  39. package/dist/cjs/{live-player-cca484f4.js → live-player-2115d649.js} +1 -1
  40. package/dist/cjs/{live-pusher-a9df7da1.js → live-pusher-6a8da38c.js} +1 -1
  41. package/dist/cjs/loader.cjs.js +1 -1
  42. package/dist/cjs/{login-89961df4.js → login-cd972083.js} +1 -1
  43. package/dist/cjs/{lottie-3f432e9a.js → lottie-802328ca.js} +1 -1
  44. package/dist/cjs/{map-c6f03579.js → map-841765a9.js} +1 -1
  45. package/dist/cjs/{match-media-53f34cf8.js → match-media-6e2efc2f.js} +1 -1
  46. package/dist/cjs/{movable-view-4aa48db8.js → movable-view-9fa169e1.js} +1 -1
  47. package/dist/cjs/{native-slot-3ad5a4b9.js → native-slot-142506c1.js} +1 -1
  48. package/dist/cjs/{navigation-bar-063189bb.js → navigation-bar-b4ff564a.js} +1 -1
  49. package/dist/cjs/{navigator-4ccebef7.js → navigator-43495d4f.js} +1 -1
  50. package/dist/cjs/{nested-scroll-body-0e9b295e.js → nested-scroll-body-9caab58f.js} +1 -1
  51. package/dist/cjs/{nested-scroll-header-f265633e.js → nested-scroll-header-c5b64f3d.js} +1 -1
  52. package/dist/cjs/{official-account-19df606b.js → official-account-f53ef4c9.js} +1 -1
  53. package/dist/cjs/{open-container-012dd1ed.js → open-container-dcb0756e.js} +1 -1
  54. package/dist/cjs/{open-data-18667d8a.js → open-data-295d2a0f.js} +1 -1
  55. package/dist/cjs/{page-container-51628da9.js → page-container-c02ef21e.js} +1 -1
  56. package/dist/cjs/{page-meta-ae13a642.js → page-meta-80a7a861.js} +1 -1
  57. package/dist/cjs/{picker-3532538d.js → picker-0b3ae89d.js} +1 -1
  58. package/dist/cjs/{picker-view-94a2431b.js → picker-view-ee39f2b6.js} +1 -1
  59. package/dist/cjs/{progress-7b65c9b4.js → progress-0434432f.js} +1 -1
  60. package/dist/cjs/{pull-to-refresh-1e5d8d41.js → pull-to-refresh-a7a9d80c.js} +1 -1
  61. package/dist/cjs/{radio-a2e724bf.js → radio-fa441dee.js} +1 -1
  62. package/dist/cjs/{rich-text-5c7c4a6e.js → rich-text-f88b18dd.js} +1 -1
  63. package/dist/cjs/{root-portal-c867e7ee.js → root-portal-849d424f.js} +1 -1
  64. package/dist/cjs/{rtc-room-8b63e998.js → rtc-room-e32e8e93.js} +1 -1
  65. package/dist/cjs/{rtc-room-item-ee14c692.js → rtc-room-item-f2696f3e.js} +1 -1
  66. package/dist/cjs/{script-83f5c866.js → script-1d8392d2.js} +1 -1
  67. package/dist/cjs/{script-a58fb9e5.js → script-2eb2d361.js} +1 -1
  68. package/dist/cjs/{script-52e94bcd.js → script-33ab1b9b.js} +1 -1
  69. package/dist/cjs/{script-29dede35.js → script-66238de4.js} +1 -1
  70. package/dist/cjs/{script-d651b57d.js → script-7d8a337e.js} +1 -1
  71. package/dist/cjs/{script-5a1940c1.js → script-9767d763.js} +1 -1
  72. package/dist/cjs/{script-221a7aaa.js → script-aa62f496.js} +1 -1
  73. package/dist/cjs/{script-6d3e3c78.js → script-d39c17ed.js} +1 -1
  74. package/dist/cjs/{script-b479486e.js → script-d7887902.js} +1 -1
  75. package/dist/cjs/{scroll-view-b8c67e53.js → scroll-view-65cb8d5f.js} +1 -1
  76. package/dist/cjs/{share-element-bfd610be.js → share-element-68928fbf.js} +1 -1
  77. package/dist/cjs/{slider-d4704c13.js → slider-4093049a.js} +1 -1
  78. package/dist/cjs/{slot-61d0e0f5.js → slot-bb81659e.js} +1 -1
  79. package/dist/cjs/{snapshot-8fe00850.js → snapshot-c2520c58.js} +1 -1
  80. package/dist/cjs/{span-74f32725.js → span-fb1efcaf.js} +1 -1
  81. package/dist/cjs/{sticky-header-eb66bbd9.js → sticky-header-dcde70ca.js} +1 -1
  82. package/dist/cjs/{sticky-section-e05ae4ea.js → sticky-section-170bc892.js} +1 -1
  83. package/dist/cjs/{swiper-08fa600a.js → swiper-3ab835bb.js} +1 -1
  84. package/dist/cjs/{switch-06aeaff6.js → switch-586022a8.js} +1 -1
  85. package/dist/cjs/{tab-item-35eb2f51.js → tab-item-cfa3339e.js} +1 -1
  86. package/dist/cjs/{tabbar-89b7eb5f.js → tabbar-41113df5.js} +1 -1
  87. package/dist/cjs/{tabs-b3830bd9.js → tabs-be7f918d.js} +1 -1
  88. package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
  89. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
  90. package/dist/cjs/taro-animation-video-core.cjs.entry.js +2 -2
  91. package/dist/cjs/taro-animation-view-core.cjs.entry.js +2 -2
  92. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +2 -2
  93. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  94. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +2 -2
  95. package/dist/cjs/taro-block-core.cjs.entry.js +2 -2
  96. package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
  97. package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
  98. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  99. package/dist/cjs/taro-channel-live-core.cjs.entry.js +2 -2
  100. package/dist/cjs/taro-channel-video-core.cjs.entry.js +2 -2
  101. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  102. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +2 -2
  103. package/dist/cjs/taro-comment-list-core.cjs.entry.js +2 -2
  104. package/dist/cjs/taro-components.cjs.js +1 -1
  105. package/dist/cjs/taro-contact-button-core.cjs.entry.js +2 -2
  106. package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
  107. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  108. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +2 -2
  109. package/dist/cjs/taro-double-tap-gesture-handler-core.cjs.entry.js +2 -2
  110. package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +2 -2
  111. package/dist/cjs/taro-editor-core.cjs.entry.js +2 -2
  112. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +2 -2
  113. package/dist/cjs/taro-force-press-gesture-handler-core.cjs.entry.js +2 -2
  114. package/dist/cjs/taro-form-core.cjs.entry.js +2 -2
  115. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
  116. package/dist/cjs/taro-grid-builder-core.cjs.entry.js +2 -2
  117. package/dist/cjs/taro-grid-view-core.cjs.entry.js +2 -2
  118. package/dist/cjs/taro-horizontal-drag-gesture-handler-core.cjs.entry.js +2 -2
  119. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
  120. package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
  121. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +2 -2
  122. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  123. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
  124. package/dist/cjs/taro-label-core.cjs.entry.js +2 -2
  125. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +2 -2
  126. package/dist/cjs/taro-like-core.cjs.entry.js +2 -2
  127. package/dist/cjs/taro-list-builder-core.cjs.entry.js +2 -2
  128. package/dist/cjs/taro-list-view-core.cjs.entry.js +2 -2
  129. package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
  130. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
  131. package/dist/cjs/taro-login-core.cjs.entry.js +2 -2
  132. package/dist/cjs/taro-long-press-gesture-handler-core.cjs.entry.js +2 -2
  133. package/dist/cjs/taro-lottie-core.cjs.entry.js +2 -2
  134. package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
  135. package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
  136. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +2 -2
  137. package/dist/cjs/taro-native-slot-core.cjs.entry.js +2 -2
  138. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
  139. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  140. package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +2 -2
  141. package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +2 -2
  142. package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
  143. package/dist/cjs/taro-open-container-core.cjs.entry.js +2 -2
  144. package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
  145. package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
  146. package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
  147. package/dist/cjs/taro-pan-gesture-handler-core.cjs.entry.js +2 -2
  148. package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
  149. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +2 -2
  150. package/dist/cjs/taro-progress-core.cjs.entry.js +2 -2
  151. package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +2 -2
  152. package/dist/cjs/taro-radio-core_2.cjs.entry.js +2 -2
  153. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  154. package/dist/cjs/taro-root-portal-core.cjs.entry.js +2 -2
  155. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +2 -2
  156. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +2 -2
  157. package/dist/cjs/taro-scale-gesture-handler-core.cjs.entry.js +2 -2
  158. package/dist/cjs/taro-script-core.cjs.entry.js +2 -2
  159. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
  160. package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
  161. package/dist/cjs/taro-slider-core.cjs.entry.js +2 -2
  162. package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
  163. package/dist/cjs/taro-snapshot-core.cjs.entry.js +2 -2
  164. package/dist/cjs/taro-span-core.cjs.entry.js +2 -2
  165. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +2 -2
  166. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +2 -2
  167. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +2 -2
  168. package/dist/cjs/taro-switch-core.cjs.entry.js +2 -2
  169. package/dist/cjs/taro-tab-item-core.cjs.entry.js +2 -2
  170. package/dist/cjs/taro-tabbar.cjs.entry.js +2 -2
  171. package/dist/cjs/taro-tabs-core.cjs.entry.js +2 -2
  172. package/dist/cjs/taro-tap-gesture-handler-core.cjs.entry.js +2 -2
  173. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  174. package/dist/cjs/taro-textarea-core.cjs.entry.js +2 -2
  175. package/dist/cjs/taro-vertical-drag-gesture-handler-core.cjs.entry.js +2 -2
  176. package/dist/cjs/taro-video-control_3.cjs.entry.js +2 -2
  177. package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
  178. package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
  179. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  180. package/dist/cjs/{text-27f4e61b.js → text-642f2f48.js} +1 -1
  181. package/dist/cjs/{textarea-03ef0404.js → textarea-3f14df1c.js} +1 -1
  182. package/dist/cjs/{video-45045360.js → video-cd8fa901.js} +1 -1
  183. package/dist/cjs/{view-bb3b5c8a.js → view-609adfc6.js} +1 -1
  184. package/dist/cjs/{voip-room-cb8c8cc2.js → voip-room-7f55d8a0.js} +1 -1
  185. package/dist/cjs/{web-view-ed08cbfe.js → web-view-be5a2d1d.js} +1 -1
  186. package/dist/esm/{ad-48f28b9e.js → ad-cfb00041.js} +1 -1
  187. package/dist/esm/{ad-custom-defecd97.js → ad-custom-4a0d4eb2.js} +1 -1
  188. package/dist/esm/{animation-video-b51f4a7c.js → animation-video-5215c138.js} +1 -1
  189. package/dist/esm/{animation-view-e2fcd88e.js → animation-view-a07c6ea9.js} +1 -1
  190. package/dist/esm/{ar-camera-acf3d68e.js → ar-camera-d578c533.js} +1 -1
  191. package/dist/esm/{audio-c291898a.js → audio-fd0e719f.js} +1 -1
  192. package/dist/esm/{aweme-data-7e5c0c6d.js → aweme-data-2e12d8c9.js} +1 -1
  193. package/dist/esm/{block-1f41d680.js → block-796aa7d8.js} +1 -1
  194. package/dist/esm/{button-c0ac8383.js → button-cd801674.js} +1 -1
  195. package/dist/esm/{camera-3443a46b.js → camera-1791b404.js} +1 -1
  196. package/dist/esm/{canvas-0385a648.js → canvas-5531b496.js} +1 -1
  197. package/dist/esm/{channel-live-d88ef38c.js → channel-live-b63e080a.js} +1 -1
  198. package/dist/esm/{channel-video-dc757082.js → channel-video-d4ee7254.js} +1 -1
  199. package/dist/esm/{checkbox-199f413e.js → checkbox-da6b07ea.js} +1 -1
  200. package/dist/esm/{comment-detail-838cc0f3.js → comment-detail-02a3e8ee.js} +1 -1
  201. package/dist/esm/{comment-list-24df950e.js → comment-list-a62325be.js} +1 -1
  202. package/dist/esm/{contact-button-927eba4a.js → contact-button-68e95a69.js} +1 -1
  203. package/dist/esm/{cover-image-7b3fd678.js → cover-image-0783b2c1.js} +1 -1
  204. package/dist/esm/{cover-view-d66d45c3.js → cover-view-8330b60d.js} +1 -1
  205. package/dist/esm/{custom-wrapper-312b694e.js → custom-wrapper-0bb13a12.js} +1 -1
  206. package/dist/esm/{draggable-sheet-8cf6063a.js → draggable-sheet-67355f70.js} +1 -1
  207. package/dist/esm/{editor-01342212.js → editor-743e35d0.js} +1 -1
  208. package/dist/esm/{follow-swan-09af62e1.js → follow-swan-dbdf5cc8.js} +1 -1
  209. package/dist/esm/{form-6af3004e.js → form-576398ba.js} +1 -1
  210. package/dist/esm/{functional-page-navigator-4ffe94e3.js → functional-page-navigator-63f675f4.js} +1 -1
  211. package/dist/esm/{grid-builder-9a73f7ea.js → grid-builder-cf0aa856.js} +1 -1
  212. package/dist/esm/{grid-view-a2f46f14.js → grid-view-353586e4.js} +1 -1
  213. package/dist/esm/{icon-9fd94b70.js → icon-88383f2c.js} +1 -1
  214. package/dist/esm/{image-7596227a.js → image-b0b222bc.js} +1 -1
  215. package/dist/esm/index.js +92 -92
  216. package/dist/esm/{inline-payment-panel-698f76af.js → inline-payment-panel-73925dd2.js} +1 -1
  217. package/dist/esm/{input-97ab0ed7.js → input-4104e3ea.js} +1 -1
  218. package/dist/esm/{keyboard-accessory-048b761c.js → keyboard-accessory-fd485a31.js} +1 -1
  219. package/dist/esm/{label-1e7a45a4.js → label-94ef4b17.js} +1 -1
  220. package/dist/esm/{lifestyle-a014bb16.js → lifestyle-4db11299.js} +1 -1
  221. package/dist/esm/{like-66052a69.js → like-d61fe792.js} +1 -1
  222. package/dist/esm/{list-builder-99526426.js → list-builder-e0d9e871.js} +1 -1
  223. package/dist/esm/{list-view-e5769b40.js → list-view-84529418.js} +1 -1
  224. package/dist/esm/{live-player-4d30100c.js → live-player-e4dbe4cf.js} +1 -1
  225. package/dist/esm/{live-pusher-ddc67ba4.js → live-pusher-15c48b78.js} +1 -1
  226. package/dist/esm/loader.js +2 -2
  227. package/dist/esm/{login-d0d30da5.js → login-d932daf9.js} +1 -1
  228. package/dist/esm/{lottie-951b23d1.js → lottie-2ada69b7.js} +1 -1
  229. package/dist/esm/{map-ff6d8c62.js → map-c6cd24f4.js} +1 -1
  230. package/dist/esm/{match-media-fe5e6f4a.js → match-media-2cdc536a.js} +1 -1
  231. package/dist/esm/{movable-view-9d51f85f.js → movable-view-c1358d1e.js} +1 -1
  232. package/dist/esm/{native-slot-9e3cfbbf.js → native-slot-98020f54.js} +1 -1
  233. package/dist/esm/{navigation-bar-e787389c.js → navigation-bar-eda66236.js} +1 -1
  234. package/dist/esm/{navigator-cf46fff9.js → navigator-65877bda.js} +1 -1
  235. package/dist/esm/{nested-scroll-body-6b2153d8.js → nested-scroll-body-b1053924.js} +1 -1
  236. package/dist/esm/{nested-scroll-header-3a83bdc1.js → nested-scroll-header-10ba047c.js} +1 -1
  237. package/dist/esm/{official-account-a86564d1.js → official-account-75c8fa4e.js} +1 -1
  238. package/dist/esm/{open-container-0fc7a7a6.js → open-container-d288ae08.js} +1 -1
  239. package/dist/esm/{open-data-4561c399.js → open-data-9e1673e1.js} +1 -1
  240. package/dist/esm/{page-container-7147a62e.js → page-container-b5b82c32.js} +1 -1
  241. package/dist/esm/{page-meta-e3d5fdbf.js → page-meta-518b39b7.js} +1 -1
  242. package/dist/esm/{picker-c2e3a123.js → picker-6a565e02.js} +1 -1
  243. package/dist/esm/{picker-view-a46361b4.js → picker-view-52390656.js} +1 -1
  244. package/dist/esm/{progress-46b49ff7.js → progress-f99ddb18.js} +1 -1
  245. package/dist/esm/{pull-to-refresh-ee5084d0.js → pull-to-refresh-e8972159.js} +1 -1
  246. package/dist/esm/{radio-8486df23.js → radio-9b356d76.js} +1 -1
  247. package/dist/esm/{rich-text-0224049b.js → rich-text-287554f4.js} +1 -1
  248. package/dist/esm/{root-portal-fd35ce37.js → root-portal-db801799.js} +1 -1
  249. package/dist/esm/{rtc-room-3bd1dffb.js → rtc-room-bcf23c91.js} +1 -1
  250. package/dist/esm/{rtc-room-item-5042ec1b.js → rtc-room-item-052b16d2.js} +1 -1
  251. package/dist/esm/{script-b8bc48c0.js → script-11e3884a.js} +1 -1
  252. package/dist/esm/{script-a3d0db4c.js → script-1b22398f.js} +1 -1
  253. package/dist/esm/{script-2be02ee0.js → script-1c3855bc.js} +1 -1
  254. package/dist/esm/{script-44d0e8ea.js → script-4b869172.js} +1 -1
  255. package/dist/esm/{script-5b9a743f.js → script-4d587470.js} +1 -1
  256. package/dist/esm/{script-898fc014.js → script-5c55afcb.js} +1 -1
  257. package/dist/esm/{script-420bc1c0.js → script-661db6af.js} +1 -1
  258. package/dist/esm/{script-f3fdb483.js → script-76fc8cf5.js} +1 -1
  259. package/dist/esm/{script-7e52c04d.js → script-8f332177.js} +1 -1
  260. package/dist/esm/{scroll-view-24fa3fa5.js → scroll-view-43e9acfc.js} +1 -1
  261. package/dist/esm/{share-element-73111c0c.js → share-element-4f90ad5b.js} +1 -1
  262. package/dist/esm/{slider-4523e98d.js → slider-47bbf797.js} +1 -1
  263. package/dist/esm/{slot-3962813c.js → slot-71ad33eb.js} +1 -1
  264. package/dist/esm/{snapshot-29d94a83.js → snapshot-42feea7d.js} +1 -1
  265. package/dist/esm/{span-fb7b4c65.js → span-d4b171da.js} +1 -1
  266. package/dist/esm/{sticky-header-ed53a95a.js → sticky-header-a99729bc.js} +1 -1
  267. package/dist/esm/{sticky-section-52a65fdb.js → sticky-section-f8d75284.js} +1 -1
  268. package/dist/esm/{swiper-1852b6b6.js → swiper-20b19ce0.js} +1 -1
  269. package/dist/esm/{switch-5b867e95.js → switch-a538d85e.js} +1 -1
  270. package/dist/esm/{tab-item-2dced96a.js → tab-item-f58dd1b0.js} +1 -1
  271. package/dist/esm/{tabbar-ed20df0d.js → tabbar-e6342392.js} +1 -1
  272. package/dist/esm/{tabs-2e79dc40.js → tabs-da838bbd.js} +1 -1
  273. package/dist/esm/taro-ad-core.entry.js +2 -2
  274. package/dist/esm/taro-ad-custom-core.entry.js +2 -2
  275. package/dist/esm/taro-animation-video-core.entry.js +2 -2
  276. package/dist/esm/taro-animation-view-core.entry.js +2 -2
  277. package/dist/esm/taro-ar-camera-core.entry.js +2 -2
  278. package/dist/esm/taro-audio-core.entry.js +2 -2
  279. package/dist/esm/taro-aweme-data-core.entry.js +2 -2
  280. package/dist/esm/taro-block-core.entry.js +2 -2
  281. package/dist/esm/taro-button-core.entry.js +2 -2
  282. package/dist/esm/taro-camera-core.entry.js +2 -2
  283. package/dist/esm/taro-canvas-core.entry.js +2 -2
  284. package/dist/esm/taro-channel-live-core.entry.js +2 -2
  285. package/dist/esm/taro-channel-video-core.entry.js +2 -2
  286. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  287. package/dist/esm/taro-comment-detail-core.entry.js +2 -2
  288. package/dist/esm/taro-comment-list-core.entry.js +2 -2
  289. package/dist/esm/taro-components.js +2 -2
  290. package/dist/esm/taro-contact-button-core.entry.js +2 -2
  291. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  292. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  293. package/dist/esm/taro-custom-wrapper-core.entry.js +2 -2
  294. package/dist/esm/taro-double-tap-gesture-handler-core.entry.js +2 -2
  295. package/dist/esm/taro-draggable-sheet-core.entry.js +2 -2
  296. package/dist/esm/taro-editor-core.entry.js +2 -2
  297. package/dist/esm/taro-follow-swan-core.entry.js +2 -2
  298. package/dist/esm/taro-force-press-gesture-handler-core.entry.js +2 -2
  299. package/dist/esm/taro-form-core.entry.js +2 -2
  300. package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
  301. package/dist/esm/taro-grid-builder-core.entry.js +2 -2
  302. package/dist/esm/taro-grid-view-core.entry.js +2 -2
  303. package/dist/esm/taro-horizontal-drag-gesture-handler-core.entry.js +2 -2
  304. package/dist/esm/taro-icon-core.entry.js +2 -2
  305. package/dist/esm/taro-image-core.entry.js +2 -2
  306. package/dist/esm/taro-inline-payment-panel-core.entry.js +2 -2
  307. package/dist/esm/taro-input-core.entry.js +2 -2
  308. package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
  309. package/dist/esm/taro-label-core.entry.js +2 -2
  310. package/dist/esm/taro-lifestyle-core.entry.js +2 -2
  311. package/dist/esm/taro-like-core.entry.js +2 -2
  312. package/dist/esm/taro-list-builder-core.entry.js +2 -2
  313. package/dist/esm/taro-list-view-core.entry.js +2 -2
  314. package/dist/esm/taro-live-player-core.entry.js +2 -2
  315. package/dist/esm/taro-live-pusher-core.entry.js +2 -2
  316. package/dist/esm/taro-login-core.entry.js +2 -2
  317. package/dist/esm/taro-long-press-gesture-handler-core.entry.js +2 -2
  318. package/dist/esm/taro-lottie-core.entry.js +2 -2
  319. package/dist/esm/taro-map-core.entry.js +2 -2
  320. package/dist/esm/taro-match-media-core.entry.js +2 -2
  321. package/dist/esm/taro-movable-area-core_2.entry.js +2 -2
  322. package/dist/esm/taro-native-slot-core.entry.js +2 -2
  323. package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
  324. package/dist/esm/taro-navigator-core.entry.js +2 -2
  325. package/dist/esm/taro-nested-scroll-body-core.entry.js +2 -2
  326. package/dist/esm/taro-nested-scroll-header-core.entry.js +2 -2
  327. package/dist/esm/taro-official-account-core.entry.js +2 -2
  328. package/dist/esm/taro-open-container-core.entry.js +2 -2
  329. package/dist/esm/taro-open-data-core.entry.js +2 -2
  330. package/dist/esm/taro-page-container-core.entry.js +2 -2
  331. package/dist/esm/taro-page-meta-core.entry.js +2 -2
  332. package/dist/esm/taro-pan-gesture-handler-core.entry.js +2 -2
  333. package/dist/esm/taro-picker-core_2.entry.js +2 -2
  334. package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
  335. package/dist/esm/taro-progress-core.entry.js +2 -2
  336. package/dist/esm/taro-pull-to-refresh-core.entry.js +2 -2
  337. package/dist/esm/taro-radio-core_2.entry.js +2 -2
  338. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  339. package/dist/esm/taro-root-portal-core.entry.js +2 -2
  340. package/dist/esm/taro-rtc-room-core.entry.js +2 -2
  341. package/dist/esm/taro-rtc-room-item-core.entry.js +2 -2
  342. package/dist/esm/taro-scale-gesture-handler-core.entry.js +2 -2
  343. package/dist/esm/taro-script-core.entry.js +2 -2
  344. package/dist/esm/taro-scroll-view-core.entry.js +2 -2
  345. package/dist/esm/taro-share-element-core.entry.js +2 -2
  346. package/dist/esm/taro-slider-core.entry.js +2 -2
  347. package/dist/esm/taro-slot-core.entry.js +2 -2
  348. package/dist/esm/taro-snapshot-core.entry.js +2 -2
  349. package/dist/esm/taro-span-core.entry.js +2 -2
  350. package/dist/esm/taro-sticky-header-core.entry.js +2 -2
  351. package/dist/esm/taro-sticky-section-core.entry.js +2 -2
  352. package/dist/esm/taro-swiper-core_2.entry.js +2 -2
  353. package/dist/esm/taro-switch-core.entry.js +2 -2
  354. package/dist/esm/taro-tab-item-core.entry.js +2 -2
  355. package/dist/esm/taro-tabbar.entry.js +2 -2
  356. package/dist/esm/taro-tabs-core.entry.js +2 -2
  357. package/dist/esm/taro-tap-gesture-handler-core.entry.js +2 -2
  358. package/dist/esm/taro-text-core.entry.js +2 -2
  359. package/dist/esm/taro-textarea-core.entry.js +2 -2
  360. package/dist/esm/taro-vertical-drag-gesture-handler-core.entry.js +2 -2
  361. package/dist/esm/taro-video-control_3.entry.js +2 -2
  362. package/dist/esm/taro-view-core.entry.js +2 -2
  363. package/dist/esm/taro-voip-room-core.entry.js +2 -2
  364. package/dist/esm/taro-web-view-core.entry.js +2 -2
  365. package/dist/esm/{text-ed97a8bc.js → text-a3b91b23.js} +1 -1
  366. package/dist/esm/{textarea-c95235b4.js → textarea-c722fd22.js} +1 -1
  367. package/dist/esm/{video-b0daf32b.js → video-8a258487.js} +1 -1
  368. package/dist/esm/{view-5dc5ab10.js → view-965a491b.js} +1 -1
  369. package/dist/esm/{voip-room-d6f9a41a.js → voip-room-da8085ad.js} +1 -1
  370. package/dist/esm/{web-view-695ab170.js → web-view-8f780a19.js} +1 -1
  371. package/dist/taro-components/index.esm.js +1 -1
  372. package/dist/taro-components/p-00e72620.entry.js +1 -0
  373. package/dist/taro-components/p-03b54b0b.entry.js +1 -0
  374. package/dist/taro-components/{p-2f511b4d.js → p-046319d8.js} +1 -1
  375. package/dist/taro-components/p-052dbbd9.entry.js +1 -0
  376. package/dist/taro-components/p-06b4ba14.entry.js +1 -0
  377. package/dist/taro-components/p-0741aa7f.entry.js +1 -0
  378. package/dist/taro-components/p-0795a339.entry.js +1 -0
  379. package/dist/taro-components/p-08cfc9f4.js +1 -0
  380. package/dist/taro-components/p-094ba888.entry.js +1 -0
  381. package/dist/taro-components/p-0a92117d.entry.js +1 -0
  382. package/dist/taro-components/p-0ecccbb4.entry.js +1 -0
  383. package/dist/taro-components/p-0f829f27.entry.js +1 -0
  384. package/dist/taro-components/p-127391cb.entry.js +1 -0
  385. package/dist/taro-components/p-137eb06b.js +1 -0
  386. package/dist/taro-components/{p-0359cc11.js → p-13d455f5.js} +1 -1
  387. package/dist/taro-components/p-145ba514.entry.js +1 -0
  388. package/dist/taro-components/p-14795db7.entry.js +1 -0
  389. package/dist/taro-components/{p-93ed1e63.js → p-150a55a3.js} +1 -1
  390. package/dist/taro-components/p-168a6355.entry.js +1 -0
  391. package/dist/taro-components/p-1ad94bf6.entry.js +1 -0
  392. package/dist/taro-components/{p-1e8fa029.js → p-1c19d1dd.js} +1 -1
  393. package/dist/taro-components/{p-4c244eb7.js → p-1c317d71.js} +1 -1
  394. package/dist/taro-components/p-1d2b2125.entry.js +1 -0
  395. package/dist/taro-components/{p-fb1ce7a1.js → p-1d3cfd13.js} +1 -1
  396. package/dist/taro-components/{p-0941ad4c.js → p-1f517ad8.js} +1 -1
  397. package/dist/taro-components/{p-61b3a652.js → p-1f81d4f4.js} +1 -1
  398. package/dist/taro-components/{p-fcfab889.js → p-245fcd36.js} +1 -1
  399. package/dist/taro-components/{p-40fba613.js → p-24ef5f8c.js} +1 -1
  400. package/dist/taro-components/p-2602cd28.entry.js +1 -0
  401. package/dist/taro-components/{p-e2adc41b.js → p-27622761.js} +1 -1
  402. package/dist/taro-components/p-2884aec2.js +1 -0
  403. package/dist/taro-components/{p-0b609eb9.js → p-2b1afb2c.js} +1 -1
  404. package/dist/taro-components/p-2b8fae1c.entry.js +1 -0
  405. package/dist/taro-components/p-2bf24716.js +1 -0
  406. package/dist/taro-components/p-2c48f6cb.entry.js +1 -0
  407. package/dist/taro-components/{p-756a6c7b.js → p-2e5daff6.js} +1 -1
  408. package/dist/taro-components/p-2e841a1d.js +1 -0
  409. package/dist/taro-components/{p-866567f2.js → p-2f7b8388.js} +1 -1
  410. package/dist/taro-components/p-2f9a4db4.js +1 -0
  411. package/dist/taro-components/p-2ff21d39.entry.js +1 -0
  412. package/dist/taro-components/p-31c75fd5.js +1 -0
  413. package/dist/taro-components/p-31f2f332.entry.js +1 -0
  414. package/dist/taro-components/{p-1e67e75d.js → p-35aac6e0.js} +1 -1
  415. package/dist/taro-components/{p-5532e704.js → p-36e83be9.js} +1 -1
  416. package/dist/taro-components/p-3837f853.entry.js +1 -0
  417. package/dist/taro-components/p-38598f5b.entry.js +1 -0
  418. package/dist/taro-components/{p-cb6404d1.js → p-3a6ec908.js} +1 -1
  419. package/dist/taro-components/p-3d450082.js +1 -0
  420. package/dist/taro-components/p-3f4449b0.entry.js +1 -0
  421. package/dist/taro-components/p-3f650751.entry.js +1 -0
  422. package/dist/taro-components/{p-5251aeda.js → p-45c3b3bf.js} +1 -1
  423. package/dist/taro-components/{p-338be7e1.js → p-465dbd80.js} +1 -1
  424. package/dist/taro-components/{p-6c927cf2.js → p-4818a4aa.js} +1 -1
  425. package/dist/taro-components/p-496a9932.entry.js +1 -0
  426. package/dist/taro-components/p-49e4d6ae.js +1 -0
  427. package/dist/taro-components/{p-98782e4b.js → p-4bb83c7d.js} +1 -1
  428. package/dist/taro-components/p-4cf49968.js +1 -0
  429. package/dist/taro-components/{p-518ee832.js → p-4d79a974.js} +1 -1
  430. package/dist/taro-components/p-4f4b08df.entry.js +1 -0
  431. package/dist/taro-components/p-50ffadb4.js +1 -0
  432. package/dist/taro-components/{p-8efa04c7.js → p-52c6b16d.js} +1 -1
  433. package/dist/taro-components/p-53b69659.js +1 -0
  434. package/dist/taro-components/{p-a03a4d6c.js → p-553b9dc1.js} +1 -1
  435. package/dist/taro-components/p-5570a53e.entry.js +1 -0
  436. package/dist/taro-components/p-582a0e0f.entry.js +1 -0
  437. package/dist/taro-components/{p-95ccae64.js → p-582cbc31.js} +1 -1
  438. package/dist/taro-components/{p-16f0341c.js → p-58a709ad.js} +1 -1
  439. package/dist/taro-components/p-5b216b21.entry.js +1 -0
  440. package/dist/taro-components/p-5bd11f73.entry.js +1 -0
  441. package/dist/taro-components/p-5bd1aed9.js +1 -0
  442. package/dist/taro-components/p-5cbc249f.entry.js +1 -0
  443. package/dist/taro-components/p-5ea030de.entry.js +1 -0
  444. package/dist/taro-components/{p-3ff7295d.js → p-5fe2d7cb.js} +1 -1
  445. package/dist/taro-components/p-61b23b53.entry.js +1 -0
  446. package/dist/taro-components/p-6223811d.entry.js +1 -0
  447. package/dist/taro-components/{p-2cf923cf.js → p-64a5e7a7.js} +1 -1
  448. package/dist/taro-components/p-65c51f07.entry.js +1 -0
  449. package/dist/taro-components/{p-47a517a4.js → p-67c4cf7e.js} +1 -1
  450. package/dist/taro-components/{p-81093e9c.js → p-680d07ac.js} +1 -1
  451. package/dist/taro-components/p-69147844.entry.js +1 -0
  452. package/dist/taro-components/p-6c93b540.js +1 -0
  453. package/dist/taro-components/{p-f430bc70.js → p-6e2f460d.js} +1 -1
  454. package/dist/taro-components/p-73aae58b.entry.js +1 -0
  455. package/dist/taro-components/p-74ac6c91.entry.js +1 -0
  456. package/dist/taro-components/p-773bed49.entry.js +1 -0
  457. package/dist/taro-components/p-79d3e109.js +1 -0
  458. package/dist/taro-components/{p-aecb1305.js → p-7bb097de.js} +1 -1
  459. package/dist/taro-components/p-7c455a65.entry.js +1 -0
  460. package/dist/taro-components/{p-49bfbff3.js → p-7ea32cac.js} +1 -1
  461. package/dist/taro-components/p-806e3c4f.entry.js +1 -0
  462. package/dist/taro-components/p-80fa0c7c.entry.js +1 -0
  463. package/dist/taro-components/p-88048df9.entry.js +1 -0
  464. package/dist/taro-components/p-8837c166.entry.js +1 -0
  465. package/dist/taro-components/p-8b1b513a.js +1 -0
  466. package/dist/taro-components/p-8bc13e66.entry.js +1 -0
  467. package/dist/taro-components/p-8c520f1e.entry.js +1 -0
  468. package/dist/taro-components/{p-6bf6e9ac.js → p-8d26b600.js} +1 -1
  469. package/dist/taro-components/{p-e1d87ce6.js → p-8d996705.js} +1 -1
  470. package/dist/taro-components/p-8e3bac82.js +1 -0
  471. package/dist/taro-components/p-8f2a4c66.entry.js +1 -0
  472. package/dist/taro-components/p-905410a9.entry.js +1 -0
  473. package/dist/taro-components/p-915aa78c.js +1 -0
  474. package/dist/taro-components/p-922047dd.entry.js +1 -0
  475. package/dist/taro-components/p-92a39ad9.entry.js +1 -0
  476. package/dist/taro-components/p-931bba41.entry.js +1 -0
  477. package/dist/taro-components/p-93e3cefb.js +1 -0
  478. package/dist/taro-components/{p-cc251758.js → p-956bc9d5.js} +1 -1
  479. package/dist/taro-components/p-9581e63b.entry.js +1 -0
  480. package/dist/taro-components/{p-fe44e45d.js → p-96f65f1d.js} +1 -1
  481. package/dist/taro-components/p-975f1b0c.entry.js +1 -0
  482. package/dist/taro-components/{p-92cdf569.js → p-99383bc2.js} +1 -1
  483. package/dist/taro-components/{p-9908eec8.js → p-99863698.js} +1 -1
  484. package/dist/taro-components/p-9a0251c5.entry.js +1 -0
  485. package/dist/taro-components/p-9d4a6732.js +1 -0
  486. package/dist/taro-components/p-9f953e69.entry.js +1 -0
  487. package/dist/taro-components/p-a0ff43d9.entry.js +1 -0
  488. package/dist/taro-components/{p-408ea703.js → p-a17695f9.js} +1 -1
  489. package/dist/taro-components/p-a293fa24.js +1 -0
  490. package/dist/taro-components/{p-ce0e1e4b.js → p-a2cb2d73.js} +1 -1
  491. package/dist/taro-components/p-a3b266d5.entry.js +1 -0
  492. package/dist/taro-components/{p-a227ecb8.js → p-a5798672.js} +1 -1
  493. package/dist/taro-components/{p-0c002754.js → p-a6c178f3.js} +1 -1
  494. package/dist/taro-components/p-ab09cecf.entry.js +1 -0
  495. package/dist/taro-components/{p-07fc6337.entry.js → p-aca7aea1.entry.js} +1 -1
  496. package/dist/taro-components/p-ad865966.entry.js +1 -0
  497. package/dist/taro-components/p-ae203a0b.entry.js +1 -0
  498. package/dist/taro-components/{p-68338ce5.js → p-af5e0304.js} +1 -1
  499. package/dist/taro-components/p-b19ea38d.entry.js +1 -0
  500. package/dist/taro-components/{p-dc99a26d.js → p-b2979101.js} +1 -1
  501. package/dist/taro-components/{p-a97c2d7d.entry.js → p-b70027b2.entry.js} +1 -1
  502. package/dist/taro-components/{p-c98004f1.js → p-b74ad8e4.js} +1 -1
  503. package/dist/taro-components/p-b89414d7.entry.js +1 -0
  504. package/dist/taro-components/p-b90499e4.entry.js +1 -0
  505. package/dist/taro-components/{p-9d0c48cc.js → p-b9446784.js} +1 -1
  506. package/dist/taro-components/p-baed3510.js +1 -0
  507. package/dist/taro-components/p-bcceaa84.entry.js +1 -0
  508. package/dist/taro-components/{p-17e3b3d8.js → p-bd7613d0.js} +1 -1
  509. package/dist/taro-components/{p-da6577c5.js → p-beae3fe0.js} +1 -1
  510. package/dist/taro-components/{p-71f9eb65.js → p-c0687b94.js} +1 -1
  511. package/dist/taro-components/p-c09eb36f.entry.js +1 -0
  512. package/dist/taro-components/{p-be21531b.js → p-c3a8af99.js} +1 -1
  513. package/dist/taro-components/{p-2b3cf6f2.js → p-c3cf4884.js} +1 -1
  514. package/dist/taro-components/p-c3d39813.entry.js +1 -0
  515. package/dist/taro-components/p-c48b7222.js +1 -0
  516. package/dist/taro-components/{p-81d99466.js → p-c5666cb2.js} +1 -1
  517. package/dist/taro-components/p-c5c71b89.entry.js +1 -0
  518. package/dist/taro-components/p-c66f2363.entry.js +1 -0
  519. package/dist/taro-components/{p-01cd3327.js → p-c7f9e228.js} +1 -1
  520. package/dist/taro-components/p-c84153ae.entry.js +1 -0
  521. package/dist/taro-components/p-c872ed50.js +1 -0
  522. package/dist/taro-components/{p-7ff3b069.js → p-c9a01a1f.js} +1 -1
  523. package/dist/taro-components/{p-2de0a5a0.js → p-cae824d1.js} +1 -1
  524. package/dist/taro-components/p-cb7e1d6e.entry.js +1 -0
  525. package/dist/taro-components/p-cdeebf36.entry.js +1 -0
  526. package/dist/taro-components/{p-dc7fd648.js → p-d11af89d.js} +1 -1
  527. package/dist/taro-components/{p-12aa4a64.js → p-d1a1274a.js} +1 -1
  528. package/dist/taro-components/p-d45a75d9.entry.js +1 -0
  529. package/dist/taro-components/{p-79e8079f.js → p-d5773721.js} +1 -1
  530. package/dist/taro-components/p-d5f0d48c.js +1 -0
  531. package/dist/taro-components/p-d6be1ceb.entry.js +1 -0
  532. package/dist/taro-components/p-da4fcba5.js +1 -0
  533. package/dist/taro-components/{p-c6056499.entry.js → p-df86c576.entry.js} +1 -1
  534. package/dist/taro-components/p-e0de8e35.entry.js +1 -0
  535. package/dist/taro-components/p-e298a2c3.entry.js +1 -0
  536. package/dist/taro-components/p-e3de8581.js +1 -0
  537. package/dist/taro-components/p-e6565988.entry.js +1 -0
  538. package/dist/taro-components/p-e6643dc0.entry.js +1 -0
  539. package/dist/taro-components/p-e87d4a75.entry.js +1 -0
  540. package/dist/taro-components/p-ea5d6d41.entry.js +1 -0
  541. package/dist/taro-components/p-eac9f475.entry.js +1 -0
  542. package/dist/taro-components/p-edab4852.entry.js +1 -0
  543. package/dist/taro-components/{p-16cc69f3.js → p-ee9bae70.js} +1 -1
  544. package/dist/taro-components/p-eee2d2f9.entry.js +1 -0
  545. package/dist/taro-components/{p-f880495e.js → p-f441b5e7.js} +1 -1
  546. package/dist/taro-components/p-f52b25aa.entry.js +1 -0
  547. package/dist/taro-components/p-f57bed55.entry.js +1 -0
  548. package/dist/taro-components/{p-044be455.js → p-f6e5beeb.js} +1 -1
  549. package/dist/taro-components/p-fa398c76.entry.js +1 -0
  550. package/dist/taro-components/p-fe1c20a9.entry.js +1 -0
  551. package/dist/taro-components/{p-4a5899cd.js → p-febc484e.js} +1 -1
  552. package/dist/taro-components/p-ffcacf9a.entry.js +1 -0
  553. package/dist/taro-components/{p-9b2e8ab5.js → p-fff1a810.js} +1 -1
  554. package/dist/taro-components/taro-components.esm.js +1 -1
  555. package/package.json +5 -5
  556. package/dist/taro-components/p-01455cad.js +0 -1
  557. package/dist/taro-components/p-024f1327.entry.js +0 -1
  558. package/dist/taro-components/p-0552f6c8.entry.js +0 -1
  559. package/dist/taro-components/p-0762daa0.entry.js +0 -1
  560. package/dist/taro-components/p-0966c1dc.entry.js +0 -1
  561. package/dist/taro-components/p-0996f234.entry.js +0 -1
  562. package/dist/taro-components/p-09e8978c.entry.js +0 -1
  563. package/dist/taro-components/p-0a464f12.entry.js +0 -1
  564. package/dist/taro-components/p-0b0c5593.js +0 -1
  565. package/dist/taro-components/p-0e601c37.entry.js +0 -1
  566. package/dist/taro-components/p-1096b259.entry.js +0 -1
  567. package/dist/taro-components/p-1238adb4.entry.js +0 -1
  568. package/dist/taro-components/p-1278b3cc.js +0 -1
  569. package/dist/taro-components/p-127a00f8.entry.js +0 -1
  570. package/dist/taro-components/p-188aa412.entry.js +0 -1
  571. package/dist/taro-components/p-1dccd1aa.js +0 -1
  572. package/dist/taro-components/p-206c4a1d.entry.js +0 -1
  573. package/dist/taro-components/p-24878bba.entry.js +0 -1
  574. package/dist/taro-components/p-2637f626.js +0 -1
  575. package/dist/taro-components/p-2a129ff9.entry.js +0 -1
  576. package/dist/taro-components/p-2b08cfad.entry.js +0 -1
  577. package/dist/taro-components/p-2c83c97d.entry.js +0 -1
  578. package/dist/taro-components/p-2e02c59d.entry.js +0 -1
  579. package/dist/taro-components/p-2e861a0c.entry.js +0 -1
  580. package/dist/taro-components/p-2ff851eb.js +0 -1
  581. package/dist/taro-components/p-30bc92b6.entry.js +0 -1
  582. package/dist/taro-components/p-3108a288.entry.js +0 -1
  583. package/dist/taro-components/p-353bde53.entry.js +0 -1
  584. package/dist/taro-components/p-35bc7ace.entry.js +0 -1
  585. package/dist/taro-components/p-39351b18.entry.js +0 -1
  586. package/dist/taro-components/p-3a1e29fe.entry.js +0 -1
  587. package/dist/taro-components/p-3c06a184.js +0 -1
  588. package/dist/taro-components/p-410a4f9f.entry.js +0 -1
  589. package/dist/taro-components/p-4660f0e8.entry.js +0 -1
  590. package/dist/taro-components/p-46cf401b.js +0 -1
  591. package/dist/taro-components/p-4a3e3c0c.entry.js +0 -1
  592. package/dist/taro-components/p-4e53a018.entry.js +0 -1
  593. package/dist/taro-components/p-4e841ecd.js +0 -1
  594. package/dist/taro-components/p-528d459a.entry.js +0 -1
  595. package/dist/taro-components/p-5d763236.entry.js +0 -1
  596. package/dist/taro-components/p-5f402695.js +0 -1
  597. package/dist/taro-components/p-63bcde42.js +0 -1
  598. package/dist/taro-components/p-64db5707.entry.js +0 -1
  599. package/dist/taro-components/p-685f1513.entry.js +0 -1
  600. package/dist/taro-components/p-6897b6e0.entry.js +0 -1
  601. package/dist/taro-components/p-6939a5ca.entry.js +0 -1
  602. package/dist/taro-components/p-6cefb3fa.entry.js +0 -1
  603. package/dist/taro-components/p-6da0b352.entry.js +0 -1
  604. package/dist/taro-components/p-6f5b04a0.entry.js +0 -1
  605. package/dist/taro-components/p-6f78afcd.entry.js +0 -1
  606. package/dist/taro-components/p-6fec7cfb.entry.js +0 -1
  607. package/dist/taro-components/p-7acbcaf4.entry.js +0 -1
  608. package/dist/taro-components/p-7f209437.entry.js +0 -1
  609. package/dist/taro-components/p-846640d5.entry.js +0 -1
  610. package/dist/taro-components/p-8a5810e5.entry.js +0 -1
  611. package/dist/taro-components/p-8a6fa237.entry.js +0 -1
  612. package/dist/taro-components/p-8b10f71d.js +0 -1
  613. package/dist/taro-components/p-8c4555bc.entry.js +0 -1
  614. package/dist/taro-components/p-8c6a2ec4.entry.js +0 -1
  615. package/dist/taro-components/p-8e4724e7.entry.js +0 -1
  616. package/dist/taro-components/p-8e65e0ef.entry.js +0 -1
  617. package/dist/taro-components/p-8e85ee3f.entry.js +0 -1
  618. package/dist/taro-components/p-8e9761cc.entry.js +0 -1
  619. package/dist/taro-components/p-9099c40a.entry.js +0 -1
  620. package/dist/taro-components/p-929bd61b.entry.js +0 -1
  621. package/dist/taro-components/p-92ad1a1b.entry.js +0 -1
  622. package/dist/taro-components/p-94ec560b.entry.js +0 -1
  623. package/dist/taro-components/p-988d6f24.entry.js +0 -1
  624. package/dist/taro-components/p-9a5b5e73.js +0 -1
  625. package/dist/taro-components/p-9c96d523.js +0 -1
  626. package/dist/taro-components/p-a070c494.js +0 -1
  627. package/dist/taro-components/p-a1c4630b.entry.js +0 -1
  628. package/dist/taro-components/p-a1e30768.entry.js +0 -1
  629. package/dist/taro-components/p-a457826d.entry.js +0 -1
  630. package/dist/taro-components/p-a49e8e1b.entry.js +0 -1
  631. package/dist/taro-components/p-a638fa83.js +0 -1
  632. package/dist/taro-components/p-a7739ce8.entry.js +0 -1
  633. package/dist/taro-components/p-ad1911cf.entry.js +0 -1
  634. package/dist/taro-components/p-ad9d36a8.entry.js +0 -1
  635. package/dist/taro-components/p-ade48028.entry.js +0 -1
  636. package/dist/taro-components/p-ae5ce9b9.entry.js +0 -1
  637. package/dist/taro-components/p-af1a2bdb.entry.js +0 -1
  638. package/dist/taro-components/p-af836431.entry.js +0 -1
  639. package/dist/taro-components/p-b2646c39.js +0 -1
  640. package/dist/taro-components/p-b2b18ec7.entry.js +0 -1
  641. package/dist/taro-components/p-b56830e0.entry.js +0 -1
  642. package/dist/taro-components/p-b5d29991.entry.js +0 -1
  643. package/dist/taro-components/p-b8a16546.entry.js +0 -1
  644. package/dist/taro-components/p-bfbacdd9.entry.js +0 -1
  645. package/dist/taro-components/p-c16c9a9d.entry.js +0 -1
  646. package/dist/taro-components/p-c3ab9b07.js +0 -1
  647. package/dist/taro-components/p-c51f862e.entry.js +0 -1
  648. package/dist/taro-components/p-c80ad5f7.entry.js +0 -1
  649. package/dist/taro-components/p-ca9855cc.entry.js +0 -1
  650. package/dist/taro-components/p-d36f8f3c.js +0 -1
  651. package/dist/taro-components/p-d392762a.js +0 -1
  652. package/dist/taro-components/p-d9d72185.entry.js +0 -1
  653. package/dist/taro-components/p-df2cf76a.js +0 -1
  654. package/dist/taro-components/p-e12f9f6a.entry.js +0 -1
  655. package/dist/taro-components/p-e34aabf9.js +0 -1
  656. package/dist/taro-components/p-e679ebf7.entry.js +0 -1
  657. package/dist/taro-components/p-e858c279.entry.js +0 -1
  658. package/dist/taro-components/p-e972f9e5.entry.js +0 -1
  659. package/dist/taro-components/p-ea7545b3.entry.js +0 -1
  660. package/dist/taro-components/p-eb17acfc.entry.js +0 -1
  661. package/dist/taro-components/p-ed08f97b.entry.js +0 -1
  662. package/dist/taro-components/p-ee60a2ed.entry.js +0 -1
  663. package/dist/taro-components/p-eeda49f7.entry.js +0 -1
  664. package/dist/taro-components/p-efa71a29.entry.js +0 -1
  665. package/dist/taro-components/p-f4723222.js +0 -1
  666. package/dist/taro-components/p-f6552484.js +0 -1
  667. package/dist/taro-components/p-f73323e1.js +0 -1
  668. package/dist/taro-components/p-f78771f1.entry.js +0 -1
  669. package/dist/taro-components/p-fd69d32c.js +0 -1
  670. package/dist/taro-components/p-fef7c611.js +0 -1
  671. /package/dist/cjs/{index-2f9fa58c.js → index-ae99cbcc.js} +0 -0
  672. /package/dist/esm/{index-89ae5aeb.js → index-0004ce39.js} +0 -0
  673. /package/dist/taro-components/{p-9896a737.js → p-f72fcd8c.js} +0 -0
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as e,g as h}from"./p-9896a737.js";const o=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:e,totalWidth:h,max:o,min:a,ogX:r,ogPercent:l}=this;if(!s||i)return;if(t.targetTouches[0].identifier!==e)return;t.preventDefault();let n=(t.targetTouches[0].pageX-r)/h*100+l;n=this.handleValueUpdate(n,0,100),this.updateByStep(a+.01*n*(o-a)),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 e=this.handleValueUpdate(t,s,i);this.updateByStep(e)}}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,e=this.handleValueUpdate(t,s,i);this.updateByStep(e)}updateByStep(t){const{max:i,min:s,step:e}=this,h=Math.floor((i-s)/e);for(let i=0;i<=h;i++){const o=s+e*i,a=i===h?null:s+e*(i+1);if(t===o)break;if(!a&&t>o&&(t=o),a&&t>o&&t<a){t=t-o<e/2?o:a;break}}const o=(t-s)/(i-s)*100;this.value=t,this.percent=o}render(){const{showValue:t,backgroundColor:i,activeColor:h,blockColor:o,name:a,percent:r,value:l}=this;let n=this.blockSize;const d={backgroundColor:i},c=r>100?100:r,u={width:`${c}%`,backgroundColor:h};n<12&&(n=12),n>28&&(n=28);const p={left:`${c}%`,width:`${n}px`,height:`${n}px`,backgroundColor:o,marginTop:`-${Math.floor(n/2)}px`,marginLeft:`-${Math.floor(n/2)}px`};return s(e,{class:"weui-slider-box"},s("div",{class:"weui-slider"},s("div",{class:"weui-slider__inner",style:d,ref:t=>this.sliderInsRef=t},s("div",{style:u,class:"weui-slider__track"}),s("div",{class:"weui-slider__handler",ref:t=>{t&&(this.handler=t)},style:p}),s("input",{type:"hidden",name:a,value:l}))),t&&s("div",{class:"weui-slider-box__value"},l))}get el(){return h(this)}static get watchers(){return{value:["function"]}}};o.style=".weui-slider{user-select:none;padding:15px 18px}.weui-slider__inner{background-color:#e9e9e9;height:2px;position:relative}.weui-slider__track{background-color:#1aad19;width:0;height:2px}.weui-slider__handler{background-color:#fff;border-radius:50%;width:28px;height:28px;margin-top:-14px;margin-left:-14px;position:absolute;top:50%;left:0;box-shadow:0 0 4px rgba(0,0,0,.2)}.weui-slider-box{align-items:center;display:flex}.weui-slider-box .weui-slider{flex:1}.weui-slider-box__value{color:#888;text-align:center;min-width:24px;margin-left:.5em;font-size:14px}";export{o as S}
1
+ import{r as t,c as i,h as s,H as e,g as h}from"./p-f72fcd8c.js";const o=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:e,totalWidth:h,max:o,min:r,ogX:a,ogPercent:l}=this;if(!s||i)return;if(t.targetTouches[0].identifier!==e)return;t.preventDefault();let n=(t.targetTouches[0].pageX-a)/h*100+l;n=this.handleValueUpdate(n,0,100),this.updateByStep(r+.01*n*(o-r)),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 e=this.handleValueUpdate(t,s,i);this.updateByStep(e)}}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,e=this.handleValueUpdate(t,s,i);this.updateByStep(e)}updateByStep(t){const{max:i,min:s,step:e}=this,h=Math.floor((i-s)/e);for(let i=0;i<=h;i++){const o=s+e*i,r=i===h?null:s+e*(i+1);if(t===o)break;if(!r&&t>o&&(t=o),r&&t>o&&t<r){t=t-o<e/2?o:r;break}}const o=(t-s)/(i-s)*100;this.value=t,this.percent=o}render(){const{showValue:t,backgroundColor:i,activeColor:h,blockColor:o,name:r,percent:a,value:l}=this;let n=this.blockSize;const d={backgroundColor:i},c=a>100?100:a,u={width:`${c}%`,backgroundColor:h};n<12&&(n=12),n>28&&(n=28);const p={left:`${c}%`,width:`${n}px`,height:`${n}px`,backgroundColor:o,marginTop:`-${Math.floor(n/2)}px`,marginLeft:`-${Math.floor(n/2)}px`};return s(e,{class:"weui-slider-box"},s("div",{class:"weui-slider"},s("div",{class:"weui-slider__inner",style:d,ref:t=>this.sliderInsRef=t},s("div",{style:u,class:"weui-slider__track"}),s("div",{class:"weui-slider__handler",ref:t=>{t&&(this.handler=t)},style:p}),s("input",{type:"hidden",name:r,value:l}))),t&&s("div",{class:"weui-slider-box__value"},l))}get el(){return h(this)}static get watchers(){return{value:["function"]}}};o.style=".weui-slider{user-select:none;padding:15px 18px}.weui-slider__inner{background-color:#e9e9e9;height:2px;position:relative}.weui-slider__track{background-color:#1aad19;width:0;height:2px}.weui-slider__handler{background-color:#fff;border-radius:50%;width:28px;height:28px;margin-top:-14px;margin-left:-14px;position:absolute;top:50%;left:0;box-shadow:0 0 4px rgba(0,0,0,.2)}.weui-slider-box{align-items:center;display:flex}.weui-slider-box .weui-slider{flex:1}.weui-slider-box__value{color:#888;text-align:center;min-width:24px;margin-left:.5em;font-size:14px}";export{o as S}
@@ -1 +1 @@
1
- import{r as t,h as o,H as r}from"./p-9896a737.js";import{n as s}from"./p-dbdb9de9.js";const n=class{constructor(o){t(this,o)}componentDidLoad(){s("ContactButton",this)}render(){return o(r,null)}};export{n as C}
1
+ import{r as t,h as o,H as r}from"./p-f72fcd8c.js";import{n as s}from"./p-dbdb9de9.js";const n=class{constructor(o){t(this,o)}componentDidLoad(){s("ContactButton",this)}render(){return o(r,null)}};export{n as C}
@@ -0,0 +1 @@
1
+ export{S as taro_sticky_header_core}from"./p-2e841a1d.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -0,0 +1 @@
1
+ export{A as taro_ad_custom_core}from"./p-915aa78c.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -1 +1 @@
1
- import{r as o,h as r,H as s}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const a=class{constructor(r){o(this,r)}componentDidLoad(){t("FunctionalPageNavigator",this)}render(){return r(s,null)}};export{a as F}
1
+ import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const a=class{constructor(r){o(this,r)}componentDidLoad(){t("FunctionalPageNavigator",this)}render(){return r(s,null)}};export{a as F}
@@ -0,0 +1 @@
1
+ import{r as s,c as t,h as e,H as i}from"./p-f72fcd8c.js";import a from"@tarojs/taro";import{c as r}from"./p-160d710a.js";const o=class{constructor(e){s(this,e),this.onSuccess=t(this,"cuccess",7),this.onFail=t(this,"fail",7),this.onComplete=t(this,"complete",7),this.hoverClass=void 0,this.url=void 0,this.openType="navigate",this.isHover=!1,this.delta=0}onClick(){const{openType:s,onSuccess:t,onFail:e,onComplete:i}=this;let r=Promise.resolve();switch(s){case"navigate":r=a.navigateTo({url:this.url});break;case"redirect":r=a.redirectTo({url:this.url});break;case"switchTab":r=a.switchTab({url:this.url});break;case"reLaunch":r=a.reLaunch({url:this.url});break;case"navigateBack":r=a.navigateBack({delta:this.delta});break;case"exit":r=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'))}r&&r.then((s=>{t.emit(s)})).catch((s=>{e.emit(s)})).finally((()=>{i.emit()}))}render(){const{isHover:s,hoverClass:t}=this;return e(i,{class:r({[t]:s})})}};o.style=".navigator-hover{background:#efefef}";export{o as N}
@@ -0,0 +1 @@
1
+ export{L as taro_live_pusher_core}from"./p-582cbc31.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -0,0 +1 @@
1
+ export{F as taro_follow_swan_core}from"./p-b9446784.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -1 +1 @@
1
- import{r as t,h as s,g as i,H as h,c as e}from"./p-9896a737.js";import{i as o}from"./p-5893c3ed.js";const a=class{constructor(s){t(this,s),this.views=[],this.scaleLength=0,this.viewsChanged=()=>{this.views=[];const t=this.element.querySelectorAll("taro-movable-view-core");Array.from(t).forEach((t=>{this.views.push(t)})),this.updateArea()},this.handleTouchStart=t=>{const s=t.touches;if(!s||s.length<=1)return;const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;if(this.scaleLength=Math.sqrt(i*i+h*h),this.scaleArea)return;const e=(t,s)=>{const i=(t,s)=>!!(t=t.parentNode)&&(!o(t)||t!==document.body)&&(t===s||t===s.element||t.element===s||i(t,s));for(let h=0;h<s.length;h++){const e=s[h];if(t===e.element||i(t,e))return e}},a=e(s[0].target,this.views),n=e(s[1].target,this.views);this.scaleTarget=a&&a===n?a:void 0},this.handleTouchMove=t=>{const s=t.touches;if(!s||s.length<=1)return;t.preventDefault();const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;this.scaleLength>0&&this.updateScale(Math.sqrt(i*i+h*h)/this.scaleLength)},this.handleTouchEnd=t=>{var s,i;t.touches&&t.touches.length||!t.changedTouches||(this.scaleLength=0,this.scaleArea?this.views.forEach((t=>{var s;null===(s=t.endScale)||void 0===s||s.call(t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.endScale)||void 0===i||i.call(s),this.scaleTarget=void 0)},this.updateScale=t=>{var s,i;t&&1!==t&&(this.scaleArea?this.views.forEach((s=>{var i;null===(i=s.setScale)||void 0===i||i.call(s,t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.setScale)||void 0===i||i.call(s,t))},this.updateArea=()=>{const t=window.getComputedStyle(this.element),s=this.element.getBoundingClientRect(),i=["Left","Right"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s]))),h=["Top","Bottom"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s])));this.views.forEach((t=>{var e;null===(e=t.setParent)||void 0===e||e.call(t,{element:this.element,area:{height:s.height-h[0]-h[1],width:s.width-i[0]-i[1]}})}))},this.scaleArea=void 0}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{var s,i;if("class"===t.attributeName||"style"===t.attributeName){const t=this.element.offsetWidth,h=this.element.offsetHeight;t===(null===(s=this.offset)||void 0===s?void 0:s.width)&&h===(null===(i=this.offset)||void 0===i?void 0:i.height)||this.updateArea(),this.offset={width:t,height:h}}}))})),this.observer.observe(this.element,{attributes:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){this.viewsChanged()}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}};a.style="taro-movable-area-core{width:10px;height:10px;display:block;position:relative}";const n=class{constructor(s){t(this,s),this.onChange=e(this,"change",7),this.onScale=e(this,"scale",7),this.onHTouchMove=e(this,"htouchmove",7),this.onVTouchMove=e(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=(t,s)=>{let i=!1;return t>this.maxX?(t=this.maxX,i=!0):t<this.minX&&(t=this.minX,i=!0),s>this.maxY?(s=this.maxY,i=!0):s<this.minY&&(s=this.minY,i=!0),{x:t,y:s,outOfBounds:i}},this.animationTo=(t,s,i,h,e,o,a)=>{this.animation?(this.setTransform(t,s,i,h,e,o),null==a||a()):this.setTransform(t,s,i,h,e,o)},this.setTransform=(t,s,i,h,e,o)=>{if(t=Number(t.toFixed(1)),s=Number(s.toFixed(1)),i=Number((null!=i?i:this.currentScale).toFixed(3)),!this.outOfBounds){const i=this.getLimitXY(t,s);t=i.x,s=i.y}const a=(t,s)=>+((1e3*t-1e3*s)/1e3).toFixed(1),n=a(t,this.scaleOffset.x),r=a(s,this.scaleOffset.y);this.translateX===t&&this.translateY===s||!e&&this.onChange.emit({x:n,y:r,source:h}),i!==this.currentScale&&o&&this.onScale.emit({scale:i,x:n,y:r});const c=`translateX(${t}px) translateY(${s}px) translateZ(0px) scale(${i})`;this.element.style.transform=c,this.element.style.webkitTransform=c,this.translateX=t,this.translateY=s,this.currentScale=i},this.updateOffset=()=>{const t=(s,i)=>{if(s===i||!s.offsetParent)return{left:0,top:0};const h=t(s.offsetParent,i);return{left:s.offsetLeft+h.left,top:s.offsetTop+h.top}};if(!this.parent)return;const s=t(this.element,this.parent);this.offset.x=s.left,this.offset.y=s.top},this.updateScaleOffset=(t=this.currentScale)=>{const s=this.element.getBoundingClientRect();this.height=s.height/this.currentScale,this.width=s.width/this.currentScale,this.scaleOffset.x=(this.width*t-this.width)/2,this.scaleOffset.y=(this.height*t-this.height)/2},this.updateBoundary=()=>{const t=0-this.offset.x+this.scaleOffset.x,s=this.area.width-this.width-this.offset.x-this.scaleOffset.x;this.minX=Math.min(t,s),this.maxX=Math.max(t,s);const i=0-this.offset.y+this.scaleOffset.y,h=this.area.height-this.height-this.offset.y-this.scaleOffset.y;this.minY=Math.min(i,h),this.maxY=Math.max(i,h)},this.updateScale=(t,s,i)=>{if(!this.scale)return;const h=this.adjustScale(t);this.updateScaleOffset(h),this.updateBoundary();const{x:e,y:o}=this.getLimitXY(this.translateX,this.translateY);s?this.animationTo(e,o,h,"",!0,!0,i):this.updating||(this.updating=!0,requestAnimationFrame((()=>{this.setTransform(e,o,h,"",!0,!0),this.updating=!1})))},this.setOriginScale=t=>{this.originScale=t},this.adjustScale=t=>Math.min(10,this.scaleMax,Math.max(.5,this.scaleMin,t)),this.handleTouchStart=t=>{const s=t.touches;if(this.disabled||s.length>1||!this.element)return;const i=s[0];this.touching=!0,this.firstMoveFireEvent=!1,this.origin.x=i.screenX,this.origin.y=i.screenY,this.baseX=this.translateX,this.baseY=this.translateY,this.element.style.willChange="transform"},this.handleTouchMove=t=>{const s=t.touches;if(this.disabled||!this.element||this.scaling||!this.touching||s.length>1)return;"horizontal"!==this.direction&&t.preventDefault();const i=s[0],h=i.screenX-this.origin.x,e=i.screenY-this.origin.y;this.setTransform(this.xMove?h+this.baseX:0,this.yMove?e+this.baseY:0),this.firstMoveFireEvent||(this.firstMoveFireEvent=!0,(Math.abs(h)>Math.abs(e)?this.onHTouchMove:this.onVTouchMove).emit({originalEvent:t,bubbles:!1,capturePhase:!1,composed:!0,extraFields:{touches:t.touches||{},changedTouches:t.changedTouches||{}}}))},this.handleTouchEnd=t=>{const s=t.changedTouches[0];!this.disabled&&this.touching&&s&&(this.touching=!1,this.setTransform(this.xMove?s.screenX-this.origin.x+this.baseX:0,this.yMove?s.screenY-this.origin.y+this.baseY:0))},this.x=0,this.y=0,this.direction="none",this.outOfBounds=!1,this.inertia=!1,this.friction=2,this.damping=20,this.disabled=!1,this.scale=!1,this.scaleMin=.5,this.scaleMax=10,this.scaleValue=1,this.animation=!0}watchX(t){this.setTransform(parseFloat(`${t||0}`),this.translateY)}watchY(t){this.setTransform(this.translateX,parseFloat(`${t||0}`))}watchScaleMinOrMax(){if(!this.scale)return!1;this.updateScale(this.currentScale,!0),this.setOriginScale(this.currentScale)}watchScaleValue(t){return!!this.scale&&(this.updateScale(t,!0),this.setOriginScale(t),t)}async setParent({element:t,area:s}){const i=this.scale?this.scaleValue:1;this.area=s,this.parent=t,this.updateOffset(),this.updateScaleOffset(i),this.updateBoundary(),this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,i,"",!0),this.setOriginScale(i)}async endScale(){this.scaling=!1,this.setOriginScale(this.currentScale)}async setScale(t){this.scale&&(this.scaling=!0,this.updateScale(t*this.originScale))}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{const s=t.attributeName;if(s&&["class","style"].includes(s)){const i=t.oldValue,h=t.target.getAttribute(s);if(i===h)return;const e=t=>null==t?void 0:t.split(";").filter((t=>!["transform","will-change"].find((s=>t.trim().startsWith(s))))).join(";");if("style"===s&&e(h)===e(i))return;this.updateOffset(),this.updateScaleOffset(),this.updateBoundary(),this.setTransform(this.translateX,this.translateY)}}))})),this.observer.observe(this.element,{attributes:!0,attributeOldValue:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){if(this.element.style.transformOrigin="center",this.xMove=["horizontal","all"].includes(this.direction),this.yMove=["vertical","all"].includes(this.direction),this.friction<=0&&(this.friction=2),this.x||this.y){const t=parseFloat(`${this.x||0}`),s=parseFloat(`${this.y||0}`);this.setTransform(t,s)}}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}static get watchers(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}}};n.style="taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}";export{a as M,n as a}
1
+ import{r as t,h as s,g as i,H as h,c as e}from"./p-f72fcd8c.js";import{i as o}from"./p-5893c3ed.js";const a=class{constructor(s){t(this,s),this.views=[],this.scaleLength=0,this.viewsChanged=()=>{this.views=[];const t=this.element.querySelectorAll("taro-movable-view-core");Array.from(t).forEach((t=>{this.views.push(t)})),this.updateArea()},this.handleTouchStart=t=>{const s=t.touches;if(!s||s.length<=1)return;const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;if(this.scaleLength=Math.sqrt(i*i+h*h),this.scaleArea)return;const e=(t,s)=>{const i=(t,s)=>!!(t=t.parentNode)&&(!o(t)||t!==document.body)&&(t===s||t===s.element||t.element===s||i(t,s));for(let h=0;h<s.length;h++){const e=s[h];if(t===e.element||i(t,e))return e}},a=e(s[0].target,this.views),n=e(s[1].target,this.views);this.scaleTarget=a&&a===n?a:void 0},this.handleTouchMove=t=>{const s=t.touches;if(!s||s.length<=1)return;t.preventDefault();const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;this.scaleLength>0&&this.updateScale(Math.sqrt(i*i+h*h)/this.scaleLength)},this.handleTouchEnd=t=>{var s,i;t.touches&&t.touches.length||!t.changedTouches||(this.scaleLength=0,this.scaleArea?this.views.forEach((t=>{var s;null===(s=t.endScale)||void 0===s||s.call(t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.endScale)||void 0===i||i.call(s),this.scaleTarget=void 0)},this.updateScale=t=>{var s,i;t&&1!==t&&(this.scaleArea?this.views.forEach((s=>{var i;null===(i=s.setScale)||void 0===i||i.call(s,t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.setScale)||void 0===i||i.call(s,t))},this.updateArea=()=>{const t=window.getComputedStyle(this.element),s=this.element.getBoundingClientRect(),i=["Left","Right"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s]))),h=["Top","Bottom"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s])));this.views.forEach((t=>{var e;null===(e=t.setParent)||void 0===e||e.call(t,{element:this.element,area:{height:s.height-h[0]-h[1],width:s.width-i[0]-i[1]}})}))},this.scaleArea=void 0}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{var s,i;if("class"===t.attributeName||"style"===t.attributeName){const t=this.element.offsetWidth,h=this.element.offsetHeight;t===(null===(s=this.offset)||void 0===s?void 0:s.width)&&h===(null===(i=this.offset)||void 0===i?void 0:i.height)||this.updateArea(),this.offset={width:t,height:h}}}))})),this.observer.observe(this.element,{attributes:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){this.viewsChanged()}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}};a.style="taro-movable-area-core{width:10px;height:10px;display:block;position:relative}";const n=class{constructor(s){t(this,s),this.onChange=e(this,"change",7),this.onScale=e(this,"scale",7),this.onHTouchMove=e(this,"htouchmove",7),this.onVTouchMove=e(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=(t,s)=>{let i=!1;return t>this.maxX?(t=this.maxX,i=!0):t<this.minX&&(t=this.minX,i=!0),s>this.maxY?(s=this.maxY,i=!0):s<this.minY&&(s=this.minY,i=!0),{x:t,y:s,outOfBounds:i}},this.animationTo=(t,s,i,h,e,o,a)=>{this.animation?(this.setTransform(t,s,i,h,e,o),null==a||a()):this.setTransform(t,s,i,h,e,o)},this.setTransform=(t,s,i,h,e,o)=>{if(t=Number(t.toFixed(1)),s=Number(s.toFixed(1)),i=Number((null!=i?i:this.currentScale).toFixed(3)),!this.outOfBounds){const i=this.getLimitXY(t,s);t=i.x,s=i.y}const a=(t,s)=>+((1e3*t-1e3*s)/1e3).toFixed(1),n=a(t,this.scaleOffset.x),r=a(s,this.scaleOffset.y);this.translateX===t&&this.translateY===s||!e&&this.onChange.emit({x:n,y:r,source:h}),i!==this.currentScale&&o&&this.onScale.emit({scale:i,x:n,y:r});const c=`translateX(${t}px) translateY(${s}px) translateZ(0px) scale(${i})`;this.element.style.transform=c,this.element.style.webkitTransform=c,this.translateX=t,this.translateY=s,this.currentScale=i},this.updateOffset=()=>{const t=(s,i)=>{if(s===i||!s.offsetParent)return{left:0,top:0};const h=t(s.offsetParent,i);return{left:s.offsetLeft+h.left,top:s.offsetTop+h.top}};if(!this.parent)return;const s=t(this.element,this.parent);this.offset.x=s.left,this.offset.y=s.top},this.updateScaleOffset=(t=this.currentScale)=>{const s=this.element.getBoundingClientRect();this.height=s.height/this.currentScale,this.width=s.width/this.currentScale,this.scaleOffset.x=(this.width*t-this.width)/2,this.scaleOffset.y=(this.height*t-this.height)/2},this.updateBoundary=()=>{const t=0-this.offset.x+this.scaleOffset.x,s=this.area.width-this.width-this.offset.x-this.scaleOffset.x;this.minX=Math.min(t,s),this.maxX=Math.max(t,s);const i=0-this.offset.y+this.scaleOffset.y,h=this.area.height-this.height-this.offset.y-this.scaleOffset.y;this.minY=Math.min(i,h),this.maxY=Math.max(i,h)},this.updateScale=(t,s,i)=>{if(!this.scale)return;const h=this.adjustScale(t);this.updateScaleOffset(h),this.updateBoundary();const{x:e,y:o}=this.getLimitXY(this.translateX,this.translateY);s?this.animationTo(e,o,h,"",!0,!0,i):this.updating||(this.updating=!0,requestAnimationFrame((()=>{this.setTransform(e,o,h,"",!0,!0),this.updating=!1})))},this.setOriginScale=t=>{this.originScale=t},this.adjustScale=t=>Math.min(10,this.scaleMax,Math.max(.5,this.scaleMin,t)),this.handleTouchStart=t=>{const s=t.touches;if(this.disabled||s.length>1||!this.element)return;const i=s[0];this.touching=!0,this.firstMoveFireEvent=!1,this.origin.x=i.screenX,this.origin.y=i.screenY,this.baseX=this.translateX,this.baseY=this.translateY,this.element.style.willChange="transform"},this.handleTouchMove=t=>{const s=t.touches;if(this.disabled||!this.element||this.scaling||!this.touching||s.length>1)return;"horizontal"!==this.direction&&t.preventDefault();const i=s[0],h=i.screenX-this.origin.x,e=i.screenY-this.origin.y;this.setTransform(this.xMove?h+this.baseX:0,this.yMove?e+this.baseY:0),this.firstMoveFireEvent||(this.firstMoveFireEvent=!0,(Math.abs(h)>Math.abs(e)?this.onHTouchMove:this.onVTouchMove).emit({originalEvent:t,bubbles:!1,capturePhase:!1,composed:!0,extraFields:{touches:t.touches||{},changedTouches:t.changedTouches||{}}}))},this.handleTouchEnd=t=>{const s=t.changedTouches[0];!this.disabled&&this.touching&&s&&(this.touching=!1,this.setTransform(this.xMove?s.screenX-this.origin.x+this.baseX:0,this.yMove?s.screenY-this.origin.y+this.baseY:0))},this.x=0,this.y=0,this.direction="none",this.outOfBounds=!1,this.inertia=!1,this.friction=2,this.damping=20,this.disabled=!1,this.scale=!1,this.scaleMin=.5,this.scaleMax=10,this.scaleValue=1,this.animation=!0}watchX(t){this.setTransform(parseFloat(`${t||0}`),this.translateY)}watchY(t){this.setTransform(this.translateX,parseFloat(`${t||0}`))}watchScaleMinOrMax(){if(!this.scale)return!1;this.updateScale(this.currentScale,!0),this.setOriginScale(this.currentScale)}watchScaleValue(t){return!!this.scale&&(this.updateScale(t,!0),this.setOriginScale(t),t)}async setParent({element:t,area:s}){const i=this.scale?this.scaleValue:1;this.area=s,this.parent=t,this.updateOffset(),this.updateScaleOffset(i),this.updateBoundary(),this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,i,"",!0),this.setOriginScale(i)}async endScale(){this.scaling=!1,this.setOriginScale(this.currentScale)}async setScale(t){this.scale&&(this.scaling=!0,this.updateScale(t*this.originScale))}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{const s=t.attributeName;if(s&&["class","style"].includes(s)){const i=t.oldValue,h=t.target.getAttribute(s);if(i===h)return;const e=t=>null==t?void 0:t.split(";").filter((t=>!["transform","will-change"].find((s=>t.trim().startsWith(s))))).join(";");if("style"===s&&e(h)===e(i))return;this.updateOffset(),this.updateScaleOffset(),this.updateBoundary(),this.setTransform(this.translateX,this.translateY)}}))})),this.observer.observe(this.element,{attributes:!0,attributeOldValue:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){if(this.element.style.transformOrigin="center",this.xMove=["horizontal","all"].includes(this.direction),this.yMove=["vertical","all"].includes(this.direction),this.friction<=0&&(this.friction=2),this.x||this.y){const t=parseFloat(`${this.x||0}`),s=parseFloat(`${this.y||0}`);this.setTransform(t,s)}}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}static get watchers(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}}};n.style="taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}";export{a as M,n as a}
@@ -1 +1 @@
1
- import{r as t,h as i,H as e,g as o,c as s}from"./p-9896a737.js";import a from"@tarojs/taro";import{c as r}from"./p-160d710a.js";import{t as h}from"./p-5893c3ed.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}`},l=t=>Math.max(-1,Math.min(t,1));let A="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,a={};for(;o<s;o++)if(t=i[o],t&&t[1]in document){for(o=0;o<t.length;o++)a[i[0][o]]=t[o];return a}if(!a[i[0][0]])for(A="iOS",o=0;o<e.length;o++)a[i[0][o]]=e[o];return a}(),c=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){if(!this.controls)return void(this.visible=!1);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&&(this.currentTimeRef.innerHTML=n(t))}render(){const{controls:t,currentTime:o,duration:s,isPlaying:a,pauseFunc:r,playFunc:h,showPlayBtn:l,showProgress:A}=this;if(!t)return i(e,{class:"taro-video-bar taro-video-bar-full",style:{display:"none"}},i("slot",null));const d=n(s);let c;return c=l?i("div",a?{class:"taro-video-control-button taro-video-control-button-pause",onClick:r}:{class:"taro-video-control-button taro-video-control-button-play",onClick:h}):null,i(e,{class:"taro-video-bar taro-video-bar-full"},i("div",{class:"taro-video-controls"},c,A&&i("div",{class:"taro-video-current-time",ref:t=>this.currentTimeRef=t},n(o)),A&&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:(d?this.currentTime/s*100:0)+"%"}},i("div",{class:"taro-video-inner"})))),A&&i("div",{class:"taro-video-duration"},d)),i("slot",null))}get el(){return o(this)}},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)))):""}},g=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,a=this.isFullScreen?this.vslideGestureInFullscreen:this.vslideGesture;if("none"===this.gestureType){if(r=s,Math.sqrt(Math.pow(o,2)+Math.pow(r,2))<10)return e;if(Math.abs(s)>=Math.abs(o)){if(!a)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 r;return e.type=this.gestureType,e.dataX=l(o/200),e.dataY=l(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("hls.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=h((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,!0)},this.toggleFullScreen=(t=!this.isFullScreen,i=!1)=>{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"}),a.eventCenter.trigger("__taroEnterFullScreen",{})}),0):(i||document[d.exitFullscreen](),a.eventCenter.trigger("__taroExitFullScreen",{}))},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,this.isMute=this.muted}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"===A&&this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}componentDidRender(){}disconnectedCallback(){document.removeEventListener&&document.removeEventListener(d.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===A&&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:A,isMute:d,isFullScreen:c,showCenterPlayBtn:u,isPlaying:g,_enableDanmu:v,showMuteBtn:b,danmuBtn:p,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:v}),A&&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},b&&i("div",{class:r("taro-video-mute",{"taro-video-type-mute":d}),onClick:this.toggleMute}),p&&i("div",{class:r("taro-video-danmu-button",{"taro-video-danmu-button-active":v}),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"]}}};g.style='.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{object-position:inherit;background-color:#000;width:100%;height:100%;display:inline-block;position:absolute;top:0;left:0}.taro-video-container.taro-video-type-fullscreen{z-index:999;position:fixed;inset:0}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{transform:translate(-50%,-50%)rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{transform:translate(-50%,-50%)rotate(90deg)}.taro-video-video{object-position:inherit;width:100%;height:100%;display:block}.taro-video-cover{z-index:1;background-color:rgba(1,1,1,.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;justify-content:center;align-items:center;width:100%;display:flex;position:absolute;top:0;bottom:0;left:0}.taro-video-cover-play-button{background-position:50%;background-repeat:no-repeat;background-size:50%;width:40px;height:40px}.taro-video-cover-duration{color:#fff;margin-top:10px;font-size:16px;line-height:1}.taro-video-bar{visibility:hidden;z-index:1;background-color:rgba(0,0,0,.5);-webkit-box-align:center;align-items:center;height:44px;padding:0 10px;display:flex;position:absolute;bottom:0;right:0;overflow:hidden}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{-webkit-box-flex:1;flex-grow:1;margin:0 8.5px;display:flex}.taro-video-control-button{box-sizing:content-box;width:13px;height:15px;margin-left:-8.5px;padding:14.5px 12.5px}.taro-video-control-button:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:100%;width:100%;height:100%;display:block}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{color:#cbcbcb;height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;line-height:14.5px}.taro-video-progress-container{-webkit-box-flex:2;flex-grow:2;position:relative}.taro-video-progress{background-color:rgba(255,255,255,.4);height:2px;margin:21px 12px;position:relative}.taro-video-progress-buffered{background-color:rgba(255,255,255,.8);width:0;height:100%;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{box-sizing:content-box;width:16px;height:16px;margin-left:-22px;padding:14px;position:absolute;top:-21px;left:0}.taro-video-inner{background-color:#fff;border-radius:50%;width:100%;height:100%}.taro-video-danmu-button{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;margin:0 8.5px;padding:2px 10px;font-size:13px;line-height:1}.taro-video-danmu-button.taro-video-danmu-button-active{color:#48c23d;border-color:#48c23d}.taro-video-fullscreen,.taro-video-mute{box-sizing:content-box;background-position:50%;background-repeat:no-repeat;background-size:50%;width:17px;height:17px;padding:8.5px}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVB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3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;position:absolute;top:0;bottom:0;left:0;overflow:visible}.taro-video-danmu-item{color:#fff;white-space:nowrap;line-height:1;transition-property:left,transform;transition-duration:3s;transition-timing-function:linear;position:absolute;left:100%;transform:translate(0)}.taro-video-toast{visibility:hidden;pointer-events:none;color:#000;background-color:rgba(255,255,255,.8);border-radius:5px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{text-align:center;width:100%;margin-top:10px;font-size:12px;line-height:16px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvEgsInaBVcxLaAvr6sgJLtBWeNTrOB+4w2p8DRvoEnAPcXTVaY70QAbrbXwIONX7zBSAL/tvrk1+iviTlln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N1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-position:50%;background-repeat:no-repeat;background-size:50%;width:50%;height:50%;margin-left:25%;display:block}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;background-color:#000;width:7.1px;height:5px}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{color:#fff;background-color:rgba(0,0,0,.8);padding:6px;font-size:14px;line-height:18px}';export{c as V,u as a,g as b}
1
+ import{r as t,h as i,H as e,g as o,c as s}from"./p-f72fcd8c.js";import a from"@tarojs/taro";import{c as r}from"./p-160d710a.js";import{t as h}from"./p-5893c3ed.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}`},l=t=>Math.max(-1,Math.min(t,1));let A="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,a={};for(;o<s;o++)if(t=i[o],t&&t[1]in document){for(o=0;o<t.length;o++)a[i[0][o]]=t[o];return a}if(!a[i[0][0]])for(A="iOS",o=0;o<e.length;o++)a[i[0][o]]=e[o];return a}(),c=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){if(!this.controls)return void(this.visible=!1);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&&(this.currentTimeRef.innerHTML=n(t))}render(){const{controls:t,currentTime:o,duration:s,isPlaying:a,pauseFunc:r,playFunc:h,showPlayBtn:l,showProgress:A}=this;if(!t)return i(e,{class:"taro-video-bar taro-video-bar-full",style:{display:"none"}},i("slot",null));const d=n(s);let c;return c=l?i("div",a?{class:"taro-video-control-button taro-video-control-button-pause",onClick:r}:{class:"taro-video-control-button taro-video-control-button-play",onClick:h}):null,i(e,{class:"taro-video-bar taro-video-bar-full"},i("div",{class:"taro-video-controls"},c,A&&i("div",{class:"taro-video-current-time",ref:t=>this.currentTimeRef=t},n(o)),A&&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:(d?this.currentTime/s*100:0)+"%"}},i("div",{class:"taro-video-inner"})))),A&&i("div",{class:"taro-video-duration"},d)),i("slot",null))}get el(){return o(this)}},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)))):""}},g=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,a=this.isFullScreen?this.vslideGestureInFullscreen:this.vslideGesture;if("none"===this.gestureType){if(r=s,Math.sqrt(Math.pow(o,2)+Math.pow(r,2))<10)return e;if(Math.abs(s)>=Math.abs(o)){if(!a)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 r;return e.type=this.gestureType,e.dataX=l(o/200),e.dataY=l(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("hls.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=h((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,!0)},this.toggleFullScreen=(t=!this.isFullScreen,i=!1)=>{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"}),a.eventCenter.trigger("__taroEnterFullScreen",{})}),0):(i||document[d.exitFullscreen](),a.eventCenter.trigger("__taroExitFullScreen",{}))},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,this.isMute=this.muted}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"===A&&this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}componentDidRender(){}disconnectedCallback(){document.removeEventListener&&document.removeEventListener(d.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===A&&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:A,isMute:d,isFullScreen:c,showCenterPlayBtn:u,isPlaying:g,_enableDanmu:v,showMuteBtn:b,danmuBtn:p,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:v}),A&&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},b&&i("div",{class:r("taro-video-mute",{"taro-video-type-mute":d}),onClick:this.toggleMute}),p&&i("div",{class:r("taro-video-danmu-button",{"taro-video-danmu-button-active":v}),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"]}}};g.style='.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{object-position:inherit;background-color:#000;width:100%;height:100%;display:inline-block;position:absolute;top:0;left:0}.taro-video-container.taro-video-type-fullscreen{z-index:999;position:fixed;inset:0}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{transform:translate(-50%,-50%)rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{transform:translate(-50%,-50%)rotate(90deg)}.taro-video-video{object-position:inherit;width:100%;height:100%;display:block}.taro-video-cover{z-index:1;background-color:rgba(1,1,1,.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;justify-content:center;align-items:center;width:100%;display:flex;position:absolute;top:0;bottom:0;left:0}.taro-video-cover-play-button{background-position:50%;background-repeat:no-repeat;background-size:50%;width:40px;height:40px}.taro-video-cover-duration{color:#fff;margin-top:10px;font-size:16px;line-height:1}.taro-video-bar{visibility:hidden;z-index:1;background-color:rgba(0,0,0,.5);-webkit-box-align:center;align-items:center;height:44px;padding:0 10px;display:flex;position:absolute;bottom:0;right:0;overflow:hidden}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{-webkit-box-flex:1;flex-grow:1;margin:0 8.5px;display:flex}.taro-video-control-button{box-sizing:content-box;width:13px;height:15px;margin-left:-8.5px;padding:14.5px 12.5px}.taro-video-control-button:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:100%;width:100%;height:100%;display:block}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{color:#cbcbcb;height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;line-height:14.5px}.taro-video-progress-container{-webkit-box-flex:2;flex-grow:2;position:relative}.taro-video-progress{background-color:rgba(255,255,255,.4);height:2px;margin:21px 12px;position:relative}.taro-video-progress-buffered{background-color:rgba(255,255,255,.8);width:0;height:100%;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{box-sizing:content-box;width:16px;height:16px;margin-left:-22px;padding:14px;position:absolute;top:-21px;left:0}.taro-video-inner{background-color:#fff;border-radius:50%;width:100%;height:100%}.taro-video-danmu-button{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;margin:0 8.5px;padding:2px 10px;font-size:13px;line-height:1}.taro-video-danmu-button.taro-video-danmu-button-active{color:#48c23d;border-color:#48c23d}.taro-video-fullscreen,.taro-video-mute{box-sizing:content-box;background-position:50%;background-repeat:no-repeat;background-size:50%;width:17px;height:17px;padding:8.5px}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=)}.taro-video-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAA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bNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/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,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmR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4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;position:absolute;top:0;bottom:0;left:0;overflow:visible}.taro-video-danmu-item{color:#fff;white-space:nowrap;line-height:1;transition-property:left,transform;transition-duration:3s;transition-timing-function:linear;position:absolute;left:100%;transform:translate(0)}.taro-video-toast{visibility:hidden;pointer-events:none;color:#000;background-color:rgba(255,255,255,.8);border-radius:5px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{text-align:center;width:100%;margin-top:10px;font-size:12px;line-height:16px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189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vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-position:50%;background-repeat:no-repeat;background-size:50%;width:50%;height:50%;margin-left:25%;display:block}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;background-color:#000;width:7.1px;height:5px}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{color:#fff;background-color:rgba(0,0,0,.8);padding:6px;font-size:14px;line-height:18px}';export{c as V,u as a,g as b}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,g as s,H as r}from"./p-9896a737.js";var o,a=function(t,e,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,i):r?r.value=i:e.set(t,i),i},h=function(t,e,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(t):s?s.value:e.get(t)};const n=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),o.set(this,void 0),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-RADIO-CORE"!==t.target.tagName)return;const e=t.target;e.checked&&(this.el.querySelectorAll("taro-radio-core").forEach((t=>{t!==e&&(t.checked=!1)})),a(this,o,t.detail.value,"f"),this.onChange.emit({value:h(this,o,"f")}))}componentDidLoad(){this.el.querySelectorAll("taro-radio-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!h(this,o,"f")){const t=this.el.querySelectorAll("taro-radio-core");a(this,o,this.getValues(t),"f")}return h(this,o,"f")},configurable:!0})}getValues(t){let e="";return Array.from(t).forEach((t=>{const i=t.querySelector("input");(null==i?void 0:i.checked)&&(e=i.value||"")})),e}render(){return i(r,{class:"weui-cells_radiogroup"})}get el(){return s(this)}};o=new WeakMap;const c=class{constructor(i){t(this,i),this.onChange=e(this,"radiochange",7),this.handleClick=t=>{t.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchChecked(t){this.isWillLoadCalled&&t&&this.onChange.emit({value:this.value})}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentDidRender(){this.id&&this.el.removeAttribute("id")}componentWillLoad(){this.isWillLoadCalled=!0}render(){const{checked:t,name:e,value:s,disabled:o,nativeProps:a}=this;return i(r,{class:"weui-cells_checkbox",onClick:this.handleClick},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"radio",name:e,value:s,class:"weui-check",checked:t,disabled:o,onChange:t=>t.stopPropagation()},a)),i("i",{class:"weui-icon-checked"}),i("slot",null))}get el(){return s(this)}static get watchers(){return{checked:["watchChecked"],id:["watchId"]}}};export{n as R,c as a}
1
+ import{r as t,c as e,h as i,g as s,H as r}from"./p-f72fcd8c.js";var o,a=function(t,e,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,i):r?r.value=i:e.set(t,i),i},h=function(t,e,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(t):s?s.value:e.get(t)};const c=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),o.set(this,void 0),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-RADIO-CORE"!==t.target.tagName)return;const e=t.target;e.checked&&(this.el.querySelectorAll("taro-radio-core").forEach((t=>{t!==e&&(t.checked=!1)})),a(this,o,t.detail.value,"f"),this.onChange.emit({value:h(this,o,"f")}))}componentDidLoad(){this.el.querySelectorAll("taro-radio-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!h(this,o,"f")){const t=this.el.querySelectorAll("taro-radio-core");a(this,o,this.getValues(t),"f")}return h(this,o,"f")},configurable:!0})}getValues(t){let e="";return Array.from(t).forEach((t=>{const i=t.querySelector("input");(null==i?void 0:i.checked)&&(e=i.value||"")})),e}render(){return i(r,{class:"weui-cells_radiogroup"})}get el(){return s(this)}};o=new WeakMap;const n=class{constructor(i){t(this,i),this.onChange=e(this,"radiochange",7),this.handleClick=t=>{t.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchChecked(t){this.isWillLoadCalled&&t&&this.onChange.emit({value:this.value})}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentDidRender(){this.id&&this.el.removeAttribute("id")}componentWillLoad(){this.isWillLoadCalled=!0}render(){const{checked:t,name:e,value:s,disabled:o,nativeProps:a}=this;return i(r,{class:"weui-cells_checkbox",onClick:this.handleClick},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"radio",name:e,value:s,class:"weui-check",checked:t,disabled:o,onChange:t=>t.stopPropagation()},a)),i("i",{class:"weui-icon-checked"}),i("slot",null))}get el(){return s(this)}static get watchers(){return{checked:["watchChecked"],id:["watchId"]}}};export{c as R,n as a}
@@ -0,0 +1 @@
1
+ export{P as taro_pan_gesture_handler_core}from"./p-7ea32cac.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){o(this,r)}componentDidLoad(){t("NativeSlot",this)}render(){return r(s,null)}};export{n as N}
@@ -1 +1 @@
1
- import{r,h as s,H as o}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){t("DoubleTapGestureHandler",this)}render(){return s(o,null)}};export{e as D}
1
+ import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){t("DoubleTapGestureHandler",this)}render(){return s(o,null)}};export{e as D}
@@ -0,0 +1 @@
1
+ import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const d=class{constructor(s){r(this,s)}componentDidLoad(){t("ListBuilder",this)}render(){return s(o,null)}};export{d as L}
@@ -1 +1 @@
1
- import{r as i,c as t,h as e,g as o}from"./p-9896a737.js";const c=class{constructor(e){i(this,e),this.onChange=t(this,"change",7),this.switchChange=i=>{i.stopPropagation();const t=i.target.checked;this.checked=t,this.onChange.emit({value:t})},this.type="switch",this.checked=!1,this.color="#04BE02",this.name=void 0,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}function(i){this.isWillLoadCalled&&this.inputRef.checked!==i&&(this.inputRef.checked=i)}componentWillLoad(){this.isWillLoadCalled=!0}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.checked,configurable:!0})}render(){const{type:i,color:t,checked:o,name:c,disabled:s,nativeProps:r}=this;return e("input",Object.assign({ref:i=>{this.inputRef=i},type:"checkbox",class:`weui-${i}`,style:o?{borderColor:t||"04BE02",backgroundColor:t||"04BE02"}:{},checked:o,name:c,disabled:s,onChange:this.switchChange},r))}get el(){return o(this)}static get watchers(){return{checked:["function"]}}};c.style='.weui-cell_switch{padding-top:6.5px;padding-bottom:6.5px}.weui-switch{appearance:none}.weui-switch,.weui-switch-cp__box{box-sizing:border-box;background-color:#dfdfdf;border:1px solid #dfdfdf;border-radius:16px;outline:0;width:52px;height:32px;transition:background-color .1s,border .1s;position:relative}.weui-switch:before,.weui-switch-cp__box:before{content:" ";background-color:#fdfdfd;border-radius:15px;width:50px;height:30px;transition:transform .35s cubic-bezier(.45,1,.4,1);position:absolute;top:0;left:0}.weui-switch:after,.weui-switch-cp__box:after{content:" ";background-color:#fff;border-radius:15px;width:30px;height:30px;transition:transform .35s cubic-bezier(.4,.4,.25,1.35);position:absolute;top:0;left:0;box-shadow:0 1px 3px rgba(0,0,0,.4)}.weui-switch:checked,.weui-switch-cp__input:checked~.weui-switch-cp__box{background-color:#04be02;border-color:#04be02}.weui-switch:checked:before,.weui-switch-cp__input:checked~.weui-switch-cp__box:before{transform:scale(0)}.weui-switch:checked:after,.weui-switch-cp__input:checked~.weui-switch-cp__box:after{transform:translate(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}taro-switch-core{width:52px;height:32px;display:inline-block}taro-switch-core .weui-switch{width:100%;height:100%;display:block}';export{c as S}
1
+ import{r as i,c as t,h as e,g as o}from"./p-f72fcd8c.js";const c=class{constructor(e){i(this,e),this.onChange=t(this,"change",7),this.switchChange=i=>{i.stopPropagation();const t=i.target.checked;this.checked=t,this.onChange.emit({value:t})},this.type="switch",this.checked=!1,this.color="#04BE02",this.name=void 0,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}function(i){this.isWillLoadCalled&&this.inputRef.checked!==i&&(this.inputRef.checked=i)}componentWillLoad(){this.isWillLoadCalled=!0}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.checked,configurable:!0})}render(){const{type:i,color:t,checked:o,name:c,disabled:s,nativeProps:r}=this;return e("input",Object.assign({ref:i=>{this.inputRef=i},type:"checkbox",class:`weui-${i}`,style:o?{borderColor:t||"04BE02",backgroundColor:t||"04BE02"}:{},checked:o,name:c,disabled:s,onChange:this.switchChange},r))}get el(){return o(this)}static get watchers(){return{checked:["function"]}}};c.style='.weui-cell_switch{padding-top:6.5px;padding-bottom:6.5px}.weui-switch{appearance:none}.weui-switch,.weui-switch-cp__box{box-sizing:border-box;background-color:#dfdfdf;border:1px solid #dfdfdf;border-radius:16px;outline:0;width:52px;height:32px;transition:background-color .1s,border .1s;position:relative}.weui-switch:before,.weui-switch-cp__box:before{content:" ";background-color:#fdfdfd;border-radius:15px;width:50px;height:30px;transition:transform .35s cubic-bezier(.45,1,.4,1);position:absolute;top:0;left:0}.weui-switch:after,.weui-switch-cp__box:after{content:" ";background-color:#fff;border-radius:15px;width:30px;height:30px;transition:transform .35s cubic-bezier(.4,.4,.25,1.35);position:absolute;top:0;left:0;box-shadow:0 1px 3px rgba(0,0,0,.4)}.weui-switch:checked,.weui-switch-cp__input:checked~.weui-switch-cp__box{background-color:#04be02;border-color:#04be02}.weui-switch:checked:before,.weui-switch-cp__input:checked~.weui-switch-cp__box:before{transform:scale(0)}.weui-switch:checked:after,.weui-switch-cp__input:checked~.weui-switch-cp__box:after{transform:translate(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}taro-switch-core{width:52px;height:32px;display:inline-block}taro-switch-core .weui-switch{width:100%;height:100%;display:block}';export{c as S}
@@ -0,0 +1 @@
1
+ export{B as taro_block_core}from"./p-e3de8581.js";import"./p-f72fcd8c.js";
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const c=class{constructor(r){o(this,r)}componentDidLoad(){t("OfficialAccount",this)}render(){return r(s,null)}};export{c as O}
@@ -1 +1 @@
1
- import{r as s,h as r,H as o}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){s(this,r)}componentDidLoad(){t("ListView",this)}render(){return r(o,null)}};export{n as L}
1
+ import{r as s,h as r,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){s(this,r)}componentDidLoad(){t("ListView",this)}render(){return r(o,null)}};export{n as L}
@@ -0,0 +1 @@
1
+ import{r as e,h as o,H as c}from"./p-f72fcd8c.js";import{c as i}from"./p-160d710a.js";const n=class{constructor(o){e(this,o),this.type=void 0,this.size="23",this.color=void 0}render(){const{type:e,size:n,color:r}=this,t=null==e?void 0:e.replace(/_/g,"-"),s=i({[`weui-icon-${t}`]:!0});return o(c,{class:s,style:{"font-size":`${n}px`,color:r}})}};n.style='.weui-icon-circle:before{content:""}.weui-icon-download:before{content:""}.weui-icon-info:before{content:""}.weui-icon-safe-success:before{content:""}.weui-icon-safe-warn:before{content:""}.weui-icon-success:before{content:""}.weui-icon-success-circle:before{content:""}.weui-icon-success-no-circle:before{content:""}.weui-icon-waiting:before{content:""}.weui-icon-waiting-circle:before{content:""}.weui-icon-warn:before{content:""}.weui-icon-info-circle:before{content:""}.weui-icon-cancel:before{content:""}.weui-icon-search:before{content:""}.weui-icon-clear:before{content:""}.weui-icon-back:before{content:""}.weui-icon-delete:before{content:""}.weui-icon-success{color:#09bb07;font-size:23px}.weui-icon-waiting{color:#10aeff;font-size:23px}.weui-icon-warn{color:#f43530;font-size:23px}.weui-icon-info{color:#10aeff;font-size:23px}.weui-icon-success-circle,.weui-icon-success-no-circle{color:#09bb07;font-size:23px}.weui-icon-waiting-circle{color:#10aeff;font-size:23px}.weui-icon-circle{color:#c9c9c9;font-size:23px}.weui-icon-download,.weui-icon-info-circle{color:#09bb07;font-size:23px}.weui-icon-safe-success{color:#09bb07}.weui-icon-safe-warn{color:#ffbe00}.weui-icon-cancel{color:#f43530;font-size:22px}.weui-icon-search,.weui-icon-clear{color:#b2b2b2;font-size:14px}.weui-icon-delete.weui-icon_gallery-delete{color:#fff;font-size:22px}.weui-icon_msg{font-size:93px}.weui-icon_msg.weui-icon-warn{color:#f76260}.weui-icon_msg-primary{font-size:93px}.weui-icon_msg-primary.weui-icon-warn{color:#ffbe00}';export{n as I}
@@ -1 +1 @@
1
- import{r as t,h as e,H as r}from"./p-9896a737.js";const s=class{constructor(r){t(this,r),this.renderNode=t=>{if("type"in t&&"text"===t.type)return(t.text||"").replace(/&nbsp;/g," ");if("name"in t&&t.name){const{name:r,attrs:s,children:c}=t,o={};let n=[];if(s&&"object"==typeof s)for(const t in s){const e=s[t];if("style"!==t||"string"!=typeof e)o[t]=e;else{const t=e.split(";").map((t=>t.trim())).filter((t=>t)),r={};t.forEach((t=>{if(!t)return;const e=/(.+): *(.+)/g.exec(t);if(!e)return;const[,s,c]=e,o=s.replace(/-([a-z])/g,((...t)=>t[1].toUpperCase()));r[o]=c})),Object.keys(r).length&&(o.style=r)}}return c&&c.length&&(n=c.map((t=>this.renderNode(t)))),e(r,o,n)}return null},this.nodes=void 0,this.selectable=!1,this.userSelect=!1,this.space=void 0}render(){const{nodes:t,renderNode:s}=this;return Array.isArray(t)?e(r,null,t.map((t=>s(t)))):e(r,{innerHTML:t})}};s.style="taro-rich-text-core{user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{user-select:text;display:block}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}";export{s as R}
1
+ import{r as t,h as e,H as r}from"./p-f72fcd8c.js";const s=class{constructor(r){t(this,r),this.renderNode=t=>{if("type"in t&&"text"===t.type)return(t.text||"").replace(/&nbsp;/g," ");if("name"in t&&t.name){const{name:r,attrs:s,children:c}=t,o={};let n=[];if(s&&"object"==typeof s)for(const t in s){const e=s[t];if("style"!==t||"string"!=typeof e)o[t]=e;else{const t=e.split(";").map((t=>t.trim())).filter((t=>t)),r={};t.forEach((t=>{if(!t)return;const e=/(.+): *(.+)/g.exec(t);if(!e)return;const[,s,c]=e,o=s.replace(/-([a-z])/g,((...t)=>t[1].toUpperCase()));r[o]=c})),Object.keys(r).length&&(o.style=r)}}return c&&c.length&&(n=c.map((t=>this.renderNode(t)))),e(r,o,n)}return null},this.nodes=void 0,this.selectable=!1,this.userSelect=!1,this.space=void 0}render(){const{nodes:t,renderNode:s}=this;return Array.isArray(t)?e(r,null,t.map((t=>s(t)))):e(r,{innerHTML:t})}};s.style="taro-rich-text-core{user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{user-select:text;display:block}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}";export{s as R}
@@ -0,0 +1 @@
1
+ export{W as taro_web_view_core}from"./p-beae3fe0.js";import"./p-f72fcd8c.js";
@@ -0,0 +1 @@
1
+ export{P as taro_page_container_core}from"./p-1c19d1dd.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -1 +1 @@
1
- import{r,h as s,H as o}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){t("LivePusher",this)}render(){return s(o,null)}};export{e as L}
1
+ import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){t("LivePusher",this)}render(){return s(o,null)}};export{e as L}
@@ -1 +1 @@
1
- import{r as t,c as s,h as o,H as i,g as l}from"./p-9896a737.js";import{c as r}from"./p-160d710a.js";import{d as e}from"./p-5893c3ed.js";import{h}from"./p-dbdb9de9.js";function c(t,s,o=500,i){if(t===s||"number"!=typeof t)return;const l=s-t,r=Date.now(),e=s>=t;!function h(){var c;c=Date.now()-r,t=l*c/o+t,e&&t>=s||!e&&s>=t?i(s):(i(t),requestAnimationFrame(h))}()}const a=class{constructor(o){t(this,o),this.onScroll=s(this,"scroll",3),this.onScrollToUpper=s(this,"scrolltoupper",3),this.onScrollToLower=s(this,"scrolltolower",3),this._scrollLeft=0,this._scrollTop=0,this.upperAndLower=e((()=>{const{offsetWidth:t,offsetHeight:s,scrollLeft:o,scrollTop:i,scrollHeight:l,scrollWidth:r}=this.el,e=Number(this.lowerThreshold),h=Number(this.upperThreshold);!isNaN(e)&&(this.scrollY&&s+i+e>=l||this.scrollX&&t+o+e>=r)&&this.onScrollToLower.emit({direction:this.scrollX?"right":this.scrollY?"bottom":""}),!isNaN(h)&&(this.scrollY&&i<=h||this.scrollX&&o<=h)&&this.onScrollToUpper.emit({direction:this.scrollX?"left":this.scrollY?"top":""})}),200),this.scrollX=!1,this.scrollY=!1,this.upperThreshold=50,this.lowerThreshold=50,this.mpScrollTop=void 0,this.mpScrollLeft=void 0,this.mpScrollIntoView=void 0,this.mpScrollIntoViewAlignment=void 0,this.animated=!1,this.enhanced=!1,this.showScrollbar=!0}watchScrollLeft(t){const s=Number(t),{animated:o}=this;this.mpScrollToMethod({left:s,animated:o})}watchScrollTop(t){const s=Number(t),{animated:o}=this;this.mpScrollToMethod({top:s,animated:o})}watchScrollIntoView(t){this.mpScrollIntoViewMethod(t)}handleScroll(t){var s;if(t instanceof CustomEvent)return;t.stopPropagation(),null===(s=t.stopImmediatePropagation)||void 0===s||s.call(t);const{scrollLeft:o,scrollTop:i,scrollHeight:l,scrollWidth:r}=this.el;this._scrollLeft=o,this._scrollTop=i,this.upperAndLower(),this.onScroll.emit({scrollLeft:o,scrollTop:i,scrollHeight:l,scrollWidth:r})}handleTouchMove(t){t instanceof CustomEvent||t.stopPropagation()}async mpScrollToMethod(t){let{top:s,left:o,duration:i,animated:l=!1}=t;this.scrollY&&"number"==typeof s&&!isNaN(s)&&s!==this._scrollTop&&(l?c(this._scrollTop,s,i,(t=>this.el.scrollTop=t)):this.el.scrollTop=s,this._scrollTop=s),this.scrollX&&"number"==typeof o&&!isNaN(o)&&o!==this._scrollLeft&&(l?c(this._scrollLeft,o,i,(t=>this.el.scrollLeft=t)):this.el.scrollLeft=o,this._scrollLeft=o)}async mpScrollIntoViewMethod(t){var s;"string"==typeof t&&t&&(null===(s=document.querySelector(`#${t}`))||void 0===s||s.scrollIntoView({behavior:this.animated?"smooth":"auto",block:this.scrollY&&this.mpScrollIntoViewAlignment||"center",inline:this.scrollX&&this.mpScrollIntoViewAlignment||"start"}))}componentDidLoad(){const t=Number(this.mpScrollTop),s=Number(this.mpScrollLeft),{animated:o}=this;this.mpScrollToMethod({top:t,left:s,animated:o})}componentDidRender(){h(this.el)}render(){const{scrollX:t,scrollY:s,enhanced:l,showScrollbar:e}=this,h=r({"taro-scroll-view__scroll-x":t,"taro-scroll-view__scroll-y":s,"taro-scroll--hidebar":!0===l&&!1===e,"taro-scroll--enhanced":!0===l});return o(i,{class:h},o("slot",null))}get el(){return l(this)}static get watchers(){return{mpScrollLeft:["watchScrollLeft"],mpScrollTop:["watchScrollTop"],mpScrollIntoView:["watchScrollIntoView"]}}};a.style="taro-scroll-view-core{-webkit-overflow-scrolling:touch;width:100%;display:block}.taro-scroll-view__scroll-x{overflow:scroll hidden}.taro-scroll-view__scroll-y{overflow:hidden scroll}.taro-scroll--hidebar::-webkit-scrollbar{display:none}";export{a as S}
1
+ import{r as t,c as s,h as o,H as i,g as l}from"./p-f72fcd8c.js";import{c as r}from"./p-160d710a.js";import{d as e}from"./p-5893c3ed.js";import{h}from"./p-dbdb9de9.js";function c(t,s,o=500,i){if(t===s||"number"!=typeof t)return;const l=s-t,r=Date.now(),e=s>=t;!function h(){var c;c=Date.now()-r,t=l*c/o+t,e&&t>=s||!e&&s>=t?i(s):(i(t),requestAnimationFrame(h))}()}const a=class{constructor(o){t(this,o),this.onScroll=s(this,"scroll",3),this.onScrollToUpper=s(this,"scrolltoupper",3),this.onScrollToLower=s(this,"scrolltolower",3),this._scrollLeft=0,this._scrollTop=0,this.upperAndLower=e((()=>{const{offsetWidth:t,offsetHeight:s,scrollLeft:o,scrollTop:i,scrollHeight:l,scrollWidth:r}=this.el,e=Number(this.lowerThreshold),h=Number(this.upperThreshold);!isNaN(e)&&(this.scrollY&&s+i+e>=l||this.scrollX&&t+o+e>=r)&&this.onScrollToLower.emit({direction:this.scrollX?"right":this.scrollY?"bottom":""}),!isNaN(h)&&(this.scrollY&&i<=h||this.scrollX&&o<=h)&&this.onScrollToUpper.emit({direction:this.scrollX?"left":this.scrollY?"top":""})}),200),this.scrollX=!1,this.scrollY=!1,this.upperThreshold=50,this.lowerThreshold=50,this.mpScrollTop=void 0,this.mpScrollLeft=void 0,this.mpScrollIntoView=void 0,this.mpScrollIntoViewAlignment=void 0,this.animated=!1,this.enhanced=!1,this.showScrollbar=!0}watchScrollLeft(t){const s=Number(t),{animated:o}=this;this.mpScrollToMethod({left:s,animated:o})}watchScrollTop(t){const s=Number(t),{animated:o}=this;this.mpScrollToMethod({top:s,animated:o})}watchScrollIntoView(t){this.mpScrollIntoViewMethod(t)}handleScroll(t){var s;if(t instanceof CustomEvent)return;t.stopPropagation(),null===(s=t.stopImmediatePropagation)||void 0===s||s.call(t);const{scrollLeft:o,scrollTop:i,scrollHeight:l,scrollWidth:r}=this.el;this._scrollLeft=o,this._scrollTop=i,this.upperAndLower(),this.onScroll.emit({scrollLeft:o,scrollTop:i,scrollHeight:l,scrollWidth:r})}handleTouchMove(t){t instanceof CustomEvent||t.stopPropagation()}async mpScrollToMethod(t){let{top:s,left:o,duration:i,animated:l=!1}=t;this.scrollY&&"number"==typeof s&&!isNaN(s)&&s!==this._scrollTop&&(l?c(this._scrollTop,s,i,(t=>this.el.scrollTop=t)):this.el.scrollTop=s,this._scrollTop=s),this.scrollX&&"number"==typeof o&&!isNaN(o)&&o!==this._scrollLeft&&(l?c(this._scrollLeft,o,i,(t=>this.el.scrollLeft=t)):this.el.scrollLeft=o,this._scrollLeft=o)}async mpScrollIntoViewMethod(t){var s;"string"==typeof t&&t&&(null===(s=document.querySelector(`#${t}`))||void 0===s||s.scrollIntoView({behavior:this.animated?"smooth":"auto",block:this.scrollY&&this.mpScrollIntoViewAlignment||"center",inline:this.scrollX&&this.mpScrollIntoViewAlignment||"start"}))}componentDidLoad(){const t=Number(this.mpScrollTop),s=Number(this.mpScrollLeft),{animated:o}=this;this.mpScrollToMethod({top:t,left:s,animated:o})}componentDidRender(){h(this.el)}render(){const{scrollX:t,scrollY:s,enhanced:l,showScrollbar:e}=this,h=r({"taro-scroll-view__scroll-x":t,"taro-scroll-view__scroll-y":s,"taro-scroll--hidebar":!0===l&&!1===e,"taro-scroll--enhanced":!0===l});return o(i,{class:h},o("slot",null))}get el(){return l(this)}static get watchers(){return{mpScrollLeft:["watchScrollLeft"],mpScrollTop:["watchScrollTop"],mpScrollIntoView:["watchScrollIntoView"]}}};a.style="taro-scroll-view-core{-webkit-overflow-scrolling:touch;width:100%;display:block}.taro-scroll-view__scroll-x{overflow:scroll hidden}.taro-scroll-view__scroll-y{overflow:hidden scroll}.taro-scroll--hidebar::-webkit-scrollbar{display:none}";export{a as S}
@@ -0,0 +1 @@
1
+ export{N as taro_navigation_bar_core}from"./p-d11af89d.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -0,0 +1 @@
1
+ export{M as taro_map_core}from"./p-b2979101.js";import"./p-f72fcd8c.js";import"hammerjs";
@@ -0,0 +1 @@
1
+ import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){t("TapGestureHandler",this)}render(){return s(o,null)}};export{e as T}
@@ -0,0 +1 @@
1
+ export{S as taro_switch_core}from"./p-4d79a974.js";import"./p-f72fcd8c.js";
@@ -0,0 +1 @@
1
+ export{C as taro_cover_image_core}from"./p-d5773721.js";import"./p-f72fcd8c.js";
@@ -1 +1 @@
1
- import{r as o,h as r,H as s}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){o(this,r)}componentDidLoad(){t("Lottie",this)}render(){return r(s,null)}};export{n as L}
1
+ import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){o(this,r)}componentDidLoad(){t("Lottie",this)}render(){return r(s,null)}};export{n as L}
@@ -0,0 +1 @@
1
+ export{G as taro_grid_view_core}from"./p-d5f0d48c.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -0,0 +1 @@
1
+ export{A as taro_audio_core}from"./p-cae824d1.js";import"./p-f72fcd8c.js";
@@ -1 +1 @@
1
- import{r,h as s,H as o}from"./p-9896a737.js";import{n as e}from"./p-dbdb9de9.js";const t=class{constructor(s){r(this,s)}componentDidLoad(){e("ForcePressGestureHandler",this)}render(){return s(o,null)}};export{t as F}
1
+ import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as e}from"./p-dbdb9de9.js";const t=class{constructor(s){r(this,s)}componentDidLoad(){e("ForcePressGestureHandler",this)}render(){return s(o,null)}};export{t as F}
@@ -0,0 +1 @@
1
+ export{D as taro_draggable_sheet_core}from"./p-6c93b540.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as e,g as h}from"./p-9896a737.js";import r from"@tarojs/taro";import{c as a}from"./p-160d710a.js";const o="undefined"!=typeof navigator&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),n={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};let l=!1;try{const t=Object.defineProperty({},"passive",{get(){l=!0}});window.addEventListener("cancel",(()=>({})),t)}catch(t){}const c=!!l&&{passive:!1},d=class{constructor(s){t(this,s),this.onRefresh=i(this,"refresh",7),this._ScreenY=0,this._startScreenY=0,this._lastScreenY=0,this._isMounted=!1,this.triggerPullDownRefresh=t=>{!this.dragOnEdge&&this._isMounted&&(t?(this._lastScreenY=this.distanceToRefresh+1,this.currSt="release",this.setContentStyle(this._lastScreenY)):(this.currSt="finish",this.reset()))},this.init=()=>{const t=this.scrollContainer,i=this.el.querySelector(".rmc-pull-to-refresh-content");this.el.appendChild=null==i?void 0:i.appendChild.bind(i),this.el.insertBefore=null==i?void 0:i.insertBefore.bind(i),this.el.replaceChild=null==i?void 0:i.replaceChild.bind(i),this.el.removeChild=null==i?void 0:i.removeChild.bind(i),this._to={touchstart:this.onTouchStart.bind(this,t),touchmove:this.onTouchMove.bind(this,t),touchend:this.onTouchEnd.bind(this,t),touchcancel:this.onTouchEnd.bind(this,t)},Object.keys(this._to).forEach((i=>{t.addEventListener(i,this._to[i],c)}))},this.destroy=()=>{if(!this._to)return;const t=this.scrollContainer;Object.keys(this._to).forEach((i=>{t.removeEventListener(i,this._to[i])}))},this.onTouchStart=(t,i)=>{this._ScreenY=this._startScreenY=i.touches[0].screenY,this._lastScreenY=this._lastScreenY||0},this.isEdge=t=>{const i=this.scrollContainer;return i&&i===document.body?(document.scrollingElement?document.scrollingElement:document.body).scrollTop<=0:t.scrollTop<=0},this.damp=t=>Math.abs(this._lastScreenY)>this.damping?0:t*(.6*(1-Math.abs(this._ScreenY-this._startScreenY)/window.screen.height)),this.onTouchMove=(t,i)=>{const s=i.touches[0].screenY;if(!(this._startScreenY>s)&&this.isEdge(t)){this.dragOnEdge||(this._ScreenY=this._startScreenY=i.touches[0].screenY,this.dragOnEdge=!0),i.cancelable&&i.preventDefault();const t=Math.round(s-this._ScreenY);this._ScreenY=s,this._lastScreenY+=this.damp(t),this.setContentStyle(this._lastScreenY),Math.abs(this._lastScreenY)<this.distanceToRefresh?"deactivate"!==this.currSt&&(this.currSt="deactivate"):"deactivate"===this.currSt&&(this.currSt="activate"),o&&i.changedTouches[0].clientY<0&&this.onTouchEnd()}},this.onTouchEnd=()=>{this.dragOnEdge&&(this.dragOnEdge=!1),"activate"===this.currSt?(this.currSt="release",this.onRefresh.emit(this),this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):"release"===this.currSt?(this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):this.reset()},this.reset=()=>{this._lastScreenY=0,this.setContentStyle(0)},this.setContentStyle=t=>{var i,s;this.contentRef&&((i=this.contentRef.style).transform=s=t?`translate3d(0px,${t}px,0)`:"",i.webkitTransform=s,i.MozTransform=s)},this.prefixCls="rmc-pull-to-refresh",this.distanceToRefresh=50,this.damping=100,this.indicator=n,this.currSt="deactivate",this.dragOnEdge=!1}get scrollContainer(){return this.el.parentElement||this.el.closest(".taro_page_stationed")||document.querySelector(".taro_page_stationed")||document.querySelector(".taro_page")||document.querySelector(".taro_router")||document.querySelector(".taro-tabbar__panel")||document.body}statusChange(){var t,i,s,e;const h=this.scrollContainer;switch(this.currSt){case"release":null===(i=null===(t=null==h?void 0:h.__page)||void 0===t?void 0:t.onPullDownRefresh)||void 0===i||i.call(t);break;case"deactivate":null===(e=null===(s=null==h?void 0:h.__page)||void 0===s?void 0:s.onPullIntercept)||void 0===e||e.call(s)}}disconnectedCallback(){this.destroy()}componentDidLoad(){this.init(),this._isMounted=!0,r.eventCenter.on("__taroStartPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!0),t({errMsg:"startPullDownRefresh: ok"})}catch(t){i({errMsg:"startPullDownRefresh: fail"})}})),r.eventCenter.on("__taroStopPullDownRefresh",(({successHandler:t,errorHandler:i})=>{setTimeout((()=>{try{this.triggerPullDownRefresh(!1),t({errMsg:"stopPullDownRefresh: ok"})}catch(t){i({errMsg:"stopPullDownRefresh: fail"})}}),0)}))}render(){const t=t=>{const{currSt:i,dragOnEdge:e,prefixCls:h}=this,r=a(t,!e&&`${h}-transition`);return s("div",{class:`${h}-content-wrapper`},s("div",{class:r,ref:t=>{this.contentRef=t}},("activate"===i||"release"===i)&&s("div",{class:`${h}-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 h(this)}static get watchers(){return{currSt:["statusChange"]}}};d.style=".rmc-pull-to-refresh-content{transform-origin:0 0}.rmc-pull-to-refresh-content-wrapper{min-height:100%}.rmc-pull-to-refresh-transition{transition:transform .3s}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:.2}to{opacity:1}}.rmc-pull-to-refresh-indicator{text-align:center;height:30px;line-height:10px}.rmc-pull-to-refresh-indicator>div{background-color:gray;border-radius:100%;width:6px;height:6px;margin:3px;animation:.5s linear infinite both rmc-pull-to-refresh-indicator;display:inline-block}.rmc-pull-to-refresh-indicator>div:nth-child(0){animation-delay:-.1s!important}.rmc-pull-to-refresh-indicator>div:first-child{animation-delay:-.2s!important}.rmc-pull-to-refresh-indicator>div:nth-child(2){animation-delay:-.3s!important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";export{d as P}
1
+ import{r as t,c as i,h as s,H as e,g as h}from"./p-f72fcd8c.js";import r from"@tarojs/taro";import{c as a}from"./p-160d710a.js";const o="undefined"!=typeof navigator&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),n={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};let l=!1;try{const t=Object.defineProperty({},"passive",{get(){l=!0}});window.addEventListener("cancel",(()=>({})),t)}catch(t){}const c=!!l&&{passive:!1},d=class{constructor(s){t(this,s),this.onRefresh=i(this,"refresh",7),this._ScreenY=0,this._startScreenY=0,this._lastScreenY=0,this._isMounted=!1,this.triggerPullDownRefresh=t=>{!this.dragOnEdge&&this._isMounted&&(t?(this._lastScreenY=this.distanceToRefresh+1,this.currSt="release",this.setContentStyle(this._lastScreenY)):(this.currSt="finish",this.reset()))},this.init=()=>{const t=this.scrollContainer,i=this.el.querySelector(".rmc-pull-to-refresh-content");this.el.appendChild=null==i?void 0:i.appendChild.bind(i),this.el.insertBefore=null==i?void 0:i.insertBefore.bind(i),this.el.replaceChild=null==i?void 0:i.replaceChild.bind(i),this.el.removeChild=null==i?void 0:i.removeChild.bind(i),this._to={touchstart:this.onTouchStart.bind(this,t),touchmove:this.onTouchMove.bind(this,t),touchend:this.onTouchEnd.bind(this,t),touchcancel:this.onTouchEnd.bind(this,t)},Object.keys(this._to).forEach((i=>{t.addEventListener(i,this._to[i],c)}))},this.destroy=()=>{if(!this._to)return;const t=this.scrollContainer;Object.keys(this._to).forEach((i=>{t.removeEventListener(i,this._to[i])}))},this.onTouchStart=(t,i)=>{this._ScreenY=this._startScreenY=i.touches[0].screenY,this._lastScreenY=this._lastScreenY||0},this.isEdge=t=>{const i=this.scrollContainer;return i&&i===document.body?(document.scrollingElement?document.scrollingElement:document.body).scrollTop<=0:t.scrollTop<=0},this.damp=t=>Math.abs(this._lastScreenY)>this.damping?0:t*(.6*(1-Math.abs(this._ScreenY-this._startScreenY)/window.screen.height)),this.onTouchMove=(t,i)=>{const s=i.touches[0].screenY;if(!(this._startScreenY>s)&&this.isEdge(t)){this.dragOnEdge||(this._ScreenY=this._startScreenY=i.touches[0].screenY,this.dragOnEdge=!0),i.cancelable&&i.preventDefault();const t=Math.round(s-this._ScreenY);this._ScreenY=s,this._lastScreenY+=this.damp(t),this.setContentStyle(this._lastScreenY),Math.abs(this._lastScreenY)<this.distanceToRefresh?"deactivate"!==this.currSt&&(this.currSt="deactivate"):"deactivate"===this.currSt&&(this.currSt="activate"),o&&i.changedTouches[0].clientY<0&&this.onTouchEnd()}},this.onTouchEnd=()=>{this.dragOnEdge&&(this.dragOnEdge=!1),"activate"===this.currSt?(this.currSt="release",this.onRefresh.emit(this),this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):"release"===this.currSt?(this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):this.reset()},this.reset=()=>{this._lastScreenY=0,this.setContentStyle(0)},this.setContentStyle=t=>{var i,s;this.contentRef&&((i=this.contentRef.style).transform=s=t?`translate3d(0px,${t}px,0)`:"",i.webkitTransform=s,i.MozTransform=s)},this.prefixCls="rmc-pull-to-refresh",this.distanceToRefresh=50,this.damping=100,this.indicator=n,this.currSt="deactivate",this.dragOnEdge=!1}get scrollContainer(){return this.el.parentElement||this.el.closest(".taro_page_stationed")||document.querySelector(".taro_page_stationed")||document.querySelector(".taro_page")||document.querySelector(".taro_router")||document.querySelector(".taro-tabbar__panel")||document.body}statusChange(){var t,i,s,e;const h=this.scrollContainer;switch(this.currSt){case"release":null===(i=null===(t=null==h?void 0:h.__page)||void 0===t?void 0:t.onPullDownRefresh)||void 0===i||i.call(t);break;case"deactivate":null===(e=null===(s=null==h?void 0:h.__page)||void 0===s?void 0:s.onPullIntercept)||void 0===e||e.call(s)}}disconnectedCallback(){this.destroy()}componentDidLoad(){this.init(),this._isMounted=!0,r.eventCenter.on("__taroStartPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!0),t({errMsg:"startPullDownRefresh: ok"})}catch(t){i({errMsg:"startPullDownRefresh: fail"})}})),r.eventCenter.on("__taroStopPullDownRefresh",(({successHandler:t,errorHandler:i})=>{setTimeout((()=>{try{this.triggerPullDownRefresh(!1),t({errMsg:"stopPullDownRefresh: ok"})}catch(t){i({errMsg:"stopPullDownRefresh: fail"})}}),0)}))}render(){const t=t=>{const{currSt:i,dragOnEdge:e,prefixCls:h}=this,r=a(t,!e&&`${h}-transition`);return s("div",{class:`${h}-content-wrapper`},s("div",{class:r,ref:t=>{this.contentRef=t}},("activate"===i||"release"===i)&&s("div",{class:`${h}-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 h(this)}static get watchers(){return{currSt:["statusChange"]}}};d.style=".rmc-pull-to-refresh-content{transform-origin:0 0}.rmc-pull-to-refresh-content-wrapper{min-height:100%}.rmc-pull-to-refresh-transition{transition:transform .3s}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:.2}to{opacity:1}}.rmc-pull-to-refresh-indicator{text-align:center;height:30px;line-height:10px}.rmc-pull-to-refresh-indicator>div{background-color:gray;border-radius:100%;width:6px;height:6px;margin:3px;animation:.5s linear infinite both rmc-pull-to-refresh-indicator;display:inline-block}.rmc-pull-to-refresh-indicator>div:nth-child(0){animation-delay:-.1s!important}.rmc-pull-to-refresh-indicator>div:first-child{animation-delay:-.2s!important}.rmc-pull-to-refresh-indicator>div:nth-child(2){animation-delay:-.3s!important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";export{d as P}
@@ -1 +1 @@
1
- import{r as o,h as r,H as s}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){o(this,r)}componentDidLoad(){t("Slot",this)}render(){return r(s,null)}};export{n as S}
1
+ import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){o(this,r)}componentDidLoad(){t("Slot",this)}render(){return r(s,null)}};export{n as S}
@@ -0,0 +1 @@
1
+ export{F as taro_form_core}from"./p-a6c178f3.js";import"./p-f72fcd8c.js";
@@ -0,0 +1 @@
1
+ import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){t("DraggableSheet",this)}render(){return s(o,null)}};export{e as D}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,g as h}from"./p-9896a737.js";function e(t){return null!=t?t:""}const a=class{constructor(i){t(this,i),this.onInput=s(this,"input",7),this.onFocus=s(this,"focus",7),this.onBlur=s(this,"blur",7),this.onConfirm=s(this,"confirm",7),this.onChange=s(this,"change",7),this.onLineChange=s(this,"linechange",7),this.onKeyDown=s(this,"keydown",7),this.handleInput=t=>{t.stopPropagation(),this.handleLineChange();const s=t.target.value||"";this.value=s,this.onInput.emit({value:s,cursor:s.length})},this.handleFocus=t=>{t.stopPropagation(),this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{t.stopPropagation(),this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value})},this.handleLineChange=()=>{const t=this.getNumberOfLines();t!==this.line&&(this.line=t,this.onLineChange.emit({height:this.textareaRef.clientHeight,lineCount:this.line}))},this.handleKeyDown=t=>{t.stopPropagation();const{value:s}=t.target,i=t.keyCode||t.code;this.onKeyDown.emit({value:s,cursor:s.length,keyCode:i}),13===i&&this.onConfirm.emit({value:s})},this.calculateContentHeight=(t,s)=>{let i=t.style.height,h=t.offsetHeight,e=t.scrollHeight,a=t.style.overflow,o=t.style.minHeight||null;if(!(h>=e))return e;if(t.style.minHeight=0,t.style.height=h+s+"px",t.style.overflow="hidden",e<t.scrollHeight){for(;t.offsetHeight>=t.scrollHeight;)t.style.height=(h-=s)+"px";for(;t.offsetHeight<t.scrollHeight;)t.style.height=h+++"px";return t.style.height=i,t.style.overflow=a,t.style.minHeight=o,h}},this.getNumberOfLines=()=>{const t=this.textareaRef,s=window.getComputedStyle?window.getComputedStyle(t):t.style,i=parseInt(s.lineHeight,10),h=this.calculateContentHeight(t,i);return Math.floor(h/i)},this.value="",this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.name=void 0,this.nativeProps={},this.line=1}watchAutoFocus(t,s){var i;!s&&t&&(null===(i=this.textareaRef)||void 0===i||i.focus())}watchValue(t){const s=e(t);this.textareaRef.value!==s&&(this.textareaRef.value=s)}async focus(){this.textareaRef.focus()}render(){const{value:t,placeholder:s,disabled:h,maxlength:a,autoFocus:o,autoHeight:n,name:r,nativeProps:u,handleInput:l,handleFocus:c,handleBlur:d,handleChange:p}=this,g={};return n&&(g.rows=this.line),i("textarea",Object.assign({ref:t=>{t&&(this.textareaRef=t,o&&t&&t.focus())},class:"taro-textarea "+(n?"auto-height":""),value:e(t),placeholder:s,name:r,disabled:h,maxlength:a,autofocus:o,onInput:l,onFocus:c,onBlur:d,onChange:p,onKeyDown:this.handleKeyDown},u,g))}get el(){return h(this)}static get watchers(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}}};a.style="taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{width:100%;height:inherit;appearance:none;cursor:auto;border:0;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}";export{a as T}
1
+ import{r as t,c as s,h as i,g as h}from"./p-f72fcd8c.js";function e(t){return null!=t?t:""}const a=class{constructor(i){t(this,i),this.onInput=s(this,"input",7),this.onFocus=s(this,"focus",7),this.onBlur=s(this,"blur",7),this.onConfirm=s(this,"confirm",7),this.onChange=s(this,"change",7),this.onLineChange=s(this,"linechange",7),this.onKeyDown=s(this,"keydown",7),this.handleInput=t=>{t.stopPropagation(),this.handleLineChange();const s=t.target.value||"";this.value=s,this.onInput.emit({value:s,cursor:s.length})},this.handleFocus=t=>{t.stopPropagation(),this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{t.stopPropagation(),this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value})},this.handleLineChange=()=>{const t=this.getNumberOfLines();t!==this.line&&(this.line=t,this.onLineChange.emit({height:this.textareaRef.clientHeight,lineCount:this.line}))},this.handleKeyDown=t=>{t.stopPropagation();const{value:s}=t.target,i=t.keyCode||t.code;this.onKeyDown.emit({value:s,cursor:s.length,keyCode:i}),13===i&&this.onConfirm.emit({value:s})},this.calculateContentHeight=(t,s)=>{let i=t.style.height,h=t.offsetHeight,e=t.scrollHeight,a=t.style.overflow,o=t.style.minHeight||null;if(!(h>=e))return e;if(t.style.minHeight=0,t.style.height=h+s+"px",t.style.overflow="hidden",e<t.scrollHeight){for(;t.offsetHeight>=t.scrollHeight;)t.style.height=(h-=s)+"px";for(;t.offsetHeight<t.scrollHeight;)t.style.height=h+++"px";return t.style.height=i,t.style.overflow=a,t.style.minHeight=o,h}},this.getNumberOfLines=()=>{const t=this.textareaRef,s=window.getComputedStyle?window.getComputedStyle(t):t.style,i=parseInt(s.lineHeight,10),h=this.calculateContentHeight(t,i);return Math.floor(h/i)},this.value="",this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.name=void 0,this.nativeProps={},this.line=1}watchAutoFocus(t,s){var i;!s&&t&&(null===(i=this.textareaRef)||void 0===i||i.focus())}watchValue(t){const s=e(t);this.textareaRef.value!==s&&(this.textareaRef.value=s)}async focus(){this.textareaRef.focus()}render(){const{value:t,placeholder:s,disabled:h,maxlength:a,autoFocus:o,autoHeight:n,name:r,nativeProps:u,handleInput:c,handleFocus:l,handleBlur:d,handleChange:p}=this,g={};return n&&(g.rows=this.line),i("textarea",Object.assign({ref:t=>{t&&(this.textareaRef=t,o&&t&&t.focus())},class:"taro-textarea "+(n?"auto-height":""),value:e(t),placeholder:s,name:r,disabled:h,maxlength:a,autofocus:o,onInput:c,onFocus:l,onBlur:d,onChange:p,onKeyDown:this.handleKeyDown},u,g))}get el(){return h(this)}static get watchers(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}}};a.style="taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{width:100%;height:inherit;appearance:none;cursor:auto;border:0;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}";export{a as T}
@@ -0,0 +1 @@
1
+ export{T as taro_text_core}from"./p-1c317d71.js";import"./p-f72fcd8c.js";
@@ -0,0 +1 @@
1
+ export{C as taro_contact_button_core}from"./p-36e83be9.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -0,0 +1 @@
1
+ export{C as taro_camera_core}from"./p-245fcd36.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const c=class{constructor(r){o(this,r)}componentDidLoad(){t("RtcRoom",this)}render(){return r(s,null)}};export{c as R}
@@ -1 +1 @@
1
- import{r,h as s,H as o}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){t("ShareElement",this)}render(){return s(o,null)}};export{e as S}
1
+ import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){t("ShareElement",this)}render(){return s(o,null)}};export{e as S}
@@ -0,0 +1 @@
1
+ export{A as taro_ad_core}from"./p-9d4a6732.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -1 +1 @@
1
- import{r,h as s,H as o}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(s){r(this,s)}componentDidLoad(){t("PanGestureHandler",this)}render(){return s(o,null)}};export{n as P}
1
+ import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(s){r(this,s)}componentDidLoad(){t("PanGestureHandler",this)}render(){return s(o,null)}};export{n as P}
@@ -0,0 +1 @@
1
+ export{D as taro_double_tap_gesture_handler_core}from"./p-4bb83c7d.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -0,0 +1 @@
1
+ export{C as taro_cover_view_core}from"./p-c7f9e228.js";import"./p-f72fcd8c.js";import"./p-160d710a.js";
@@ -0,0 +1 @@
1
+ export{V as taro_view_core}from"./p-c5666cb2.js";import"./p-f72fcd8c.js";import"./p-160d710a.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -0,0 +1 @@
1
+ export{L as taro_login_core}from"./p-b74ad8e4.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -0,0 +1 @@
1
+ import{r,h as s}from"./p-f72fcd8c.js";const t=class{constructor(s){r(this,s),this.for=void 0}render(){return s("label",{htmlFor:this.for},s("slot",null))}};export{t as L}
@@ -0,0 +1 @@
1
+ export{T as taro_tap_gesture_handler_core}from"./p-5bd1aed9.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
@@ -0,0 +1 @@
1
+ export{S as taro_snapshot_core}from"./p-99383bc2.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";