@hhgtech/hhg-components 1.27.112 → 1.27.113

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 (291) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/molecules/index.d.ts +3 -3
  5. package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/bannerWithOption/index.d.ts +2 -0
  6. package/build/{esm/components/molecules/premiumNewsletterBanner → components/molecules/surveyOrPremiumBanner}/bannerWithOption/index.styles.d.ts +1 -0
  7. package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/constants.d.ts +41 -7
  8. package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/context.d.ts +7 -4
  9. package/build/components/molecules/surveyOrPremiumBanner/index.d.ts +15 -0
  10. package/build/components/molecules/surveyOrPremiumBanner/surveyBanner.d.ts +3 -0
  11. package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/toolBanner.d.ts +1 -0
  12. package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/types.d.ts +5 -0
  13. package/build/components.js +1 -1
  14. package/build/constants.js +1 -1
  15. package/build/{core-223cfdf2.js → core-5c4c9018.js} +1 -1
  16. package/build/ecom.js +1 -1
  17. package/build/esm/babyGrowth.js +4 -4
  18. package/build/esm/cache.js +1 -1
  19. package/build/esm/care.js +1 -1
  20. package/build/esm/components/molecules/index.d.ts +3 -3
  21. package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/bannerWithOption/index.d.ts +2 -0
  22. package/build/{components/molecules/premiumNewsletterBanner → esm/components/molecules/surveyOrPremiumBanner}/bannerWithOption/index.styles.d.ts +1 -0
  23. package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/constants.d.ts +41 -7
  24. package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/context.d.ts +7 -4
  25. package/build/esm/components/molecules/surveyOrPremiumBanner/index.d.ts +15 -0
  26. package/build/esm/components/molecules/surveyOrPremiumBanner/surveyBanner.d.ts +3 -0
  27. package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/toolBanner.d.ts +1 -0
  28. package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/types.d.ts +5 -0
  29. package/build/esm/components.js +1 -1
  30. package/build/esm/constants.js +1 -1
  31. package/build/esm/{core-29500107.js → core-256cda08.js} +1 -1
  32. package/build/esm/ecom.js +1 -1
  33. package/build/esm/{fixedBottomAdBlock-4a036f62.js → fixedBottomAdBlock-42a0fc3b.js} +1 -1
  34. package/build/esm/footer.js +1 -1
  35. package/build/esm/gAssets.js +1 -1
  36. package/build/esm/{getDynamicHealthTool-69405709.js → getDynamicHealthTool-0e9dffaf.js} +1 -1
  37. package/build/esm/{getSocialList-92cf722f.js → getSocialList-04ad7465.js} +1 -1
  38. package/build/esm/hooks.js +1 -1
  39. package/build/esm/i18n-values/vi-VN.js +1 -1
  40. package/build/esm/i18n-values/vi-VN_MB.js +1 -1
  41. package/build/esm/i18n.js +1 -1
  42. package/build/esm/i18nV2.js +1 -1
  43. package/build/esm/{index-402570ee.js → index-1f31ee2c.js} +1 -1
  44. package/build/esm/{index-47fa4d84.js → index-2472bb2e.js} +1 -1
  45. package/build/esm/{index-0816b158.js → index-37ac3e0a.js} +1 -1
  46. package/build/esm/{index-d597705a.js → index-40352094.js} +23 -23
  47. package/build/esm/index-404d6f42.js +1 -0
  48. package/build/esm/{index-4b3f4c97.js → index-4b0913ef.js} +1 -1
  49. package/build/esm/index-4ef01662.js +1 -0
  50. package/build/esm/{index-f43dae18.js → index-5b15422c.js} +1 -1
  51. package/build/esm/{index-9c19eedb.js → index-671bebd2.js} +1 -1
  52. package/build/esm/{index-fbca16bf.js → index-6bfebf91.js} +1 -1
  53. package/build/esm/{index-fe688742.js → index-79cd66c0.js} +1 -1
  54. package/build/esm/{index-1c39b096.js → index-7ea25330.js} +1 -1
  55. package/build/esm/index-9a6cbd76.js +1 -0
  56. package/build/esm/{index-f9c9808c.js → index-9dc3058e.js} +1 -1
  57. package/build/esm/{index-dbfe0a73.js → index-aab6e937.js} +4 -4
  58. package/build/esm/{index-6f00ca93.js → index-c04a8332.js} +1 -1
  59. package/build/esm/{index-caf3b0b5.js → index-c20147f5.js} +1 -1
  60. package/build/esm/{index-a0fdff7f.js → index-c52c6d1d.js} +1 -1
  61. package/build/esm/{index-ab6ab4f8.js → index-c9c1af14.js} +1 -1
  62. package/build/esm/{index-e4a9ae2b.js → index-d533e676.js} +1 -1
  63. package/build/esm/{index-7a0cf70a.js → index-f9338e27.js} +2 -2
  64. package/build/esm/index.js +1 -1
  65. package/build/esm/{index.styled-c0a2cbc4.js → index.styled-8ad8796f.js} +2 -2
  66. package/build/esm/{index.styled-7621a537.js → index.styled-c742d0a3.js} +5 -5
  67. package/build/esm/{index.styled-897d1d7d.js → index.styled-ce98cbc1.js} +1 -1
  68. package/build/esm/{index.styles-2670b640.js → index.styles-952b0f4b.js} +1 -1
  69. package/build/esm/lead.js +1 -1
  70. package/build/esm/mantine.js +1 -1
  71. package/build/esm/misc.js +1 -1
  72. package/build/esm/navigation.js +1 -1
  73. package/build/esm/{normalizeLink-21860b29.js → normalizeLink-58957b47.js} +1 -1
  74. package/build/esm/onboarding.js +1 -1
  75. package/build/esm/onboardingV2.js +18 -18
  76. package/build/esm/pwg.js +3 -3
  77. package/build/esm/together.js +1 -1
  78. package/build/esm/{types-c35e8660.js → types-0cbaa281.js} +1 -1
  79. package/build/esm/{types-c0872c63.js → types-27c16503.js} +1 -1
  80. package/build/esm/types.js +1 -1
  81. package/build/esm/{useCategory-70a19940.js → useCategory-bfba2de5.js} +1 -1
  82. package/build/esm/useHealthToolCache-b9973713.js +1 -0
  83. package/build/esm/{useRafState-66373b2d.js → useRafState-66b5f663.js} +1 -1
  84. package/build/esm/useTranslations-b2f04ab6.js +1 -0
  85. package/build/esm/{utils-cd9f3234.js → utils-33c4c832.js} +1 -1
  86. package/build/esm/vaccination.js +5 -5
  87. package/build/{fixedBottomAdBlock-90957ff3.js → fixedBottomAdBlock-664a6e50.js} +1 -1
  88. package/build/footer.js +1 -1
  89. package/build/gAssets.js +1 -1
  90. package/build/{getDynamicHealthTool-9858cbf6.js → getDynamicHealthTool-571597e0.js} +1 -1
  91. package/build/{getSocialList-e92f5b03.js → getSocialList-2d43911c.js} +1 -1
  92. package/build/hooks.js +1 -1
  93. package/build/i18n-values/vi-VN.js +1 -1
  94. package/build/i18n-values/vi-VN_MB.js +1 -1
  95. package/build/i18n.js +1 -1
  96. package/build/i18nV2.js +1 -1
  97. package/build/{index-9139a1b0.js → index-22a4d8ec.js} +1 -1
  98. package/build/{index-b3e74643.js → index-2584fe83.js} +2 -2
  99. package/build/{index-2e49ed8f.js → index-2db33f49.js} +1 -1
  100. package/build/{index-2b1500c8.js → index-32d3a385.js} +1 -1
  101. package/build/index-4efa8e7e.js +1 -0
  102. package/build/{index-314491e7.js → index-537bccbe.js} +1 -1
  103. package/build/{index-611f5daf.js → index-55a6f97a.js} +1 -1
  104. package/build/index-58609826.js +1 -0
  105. package/build/{index-4d941e91.js → index-5b7dfda4.js} +1 -1
  106. package/build/{index-e71d86ca.js → index-63632fd5.js} +1 -1
  107. package/build/{index-2163c775.js → index-8383af12.js} +1 -1
  108. package/build/{index-3fa544d3.js → index-9669998e.js} +1 -1
  109. package/build/{index-753c5340.js → index-9f6e2696.js} +29 -29
  110. package/build/{index-56ad1186.js → index-a89b23de.js} +1 -1
  111. package/build/{index-f4e53bf8.js → index-b99409f1.js} +1 -1
  112. package/build/{index-2075491a.js → index-bc8fcf35.js} +1 -1
  113. package/build/{index-44ba7b08.js → index-c57b487f.js} +1 -1
  114. package/build/{index-9f431a0f.js → index-dad94e78.js} +1 -1
  115. package/build/{index-d220afbf.js → index-e022af07.js} +1 -1
  116. package/build/{index-633a5bf3.js → index-e7f2e80f.js} +3 -3
  117. package/build/{index-e29e4c94.js → index-f36821a3.js} +1 -1
  118. package/build/index.js +1 -1
  119. package/build/{index.styled-3d7dd6e8.js → index.styled-0d4d68f3.js} +1 -1
  120. package/build/{index.styled-9824e086.js → index.styled-90c35fc5.js} +3 -3
  121. package/build/{index.styled-790b9cd1.js → index.styled-b9465af1.js} +5 -5
  122. package/build/{index.styles-dcdcb15d.js → index.styles-9285e23d.js} +1 -1
  123. package/build/lead.js +1 -1
  124. package/build/mantine.js +1 -1
  125. package/build/misc.js +1 -1
  126. package/build/navigation.js +1 -1
  127. package/build/{normalizeLink-72938aa8.js → normalizeLink-28258895.js} +1 -1
  128. package/build/onboarding.js +1 -1
  129. package/build/onboardingV2.js +5 -5
  130. package/build/pwg.js +2 -2
  131. package/build/together.js +1 -1
  132. package/build/{types-c6a1a14f.js → types-90d8b488.js} +1 -1
  133. package/build/{types-7ecc106d.js → types-ffea7b45.js} +1 -1
  134. package/build/types.js +1 -1
  135. package/build/{useCategory-4968c4d0.js → useCategory-971481b4.js} +1 -1
  136. package/build/{useHealthToolCache-7b38b8b0.js → useHealthToolCache-10f561aa.js} +1 -1
  137. package/build/{useRafState-228e7e99.js → useRafState-5cd3ac64.js} +1 -1
  138. package/build/{useTranslations-e52e6fd2.js → useTranslations-2e7d64aa.js} +1 -1
  139. package/build/utils-2fb6eb7d.js +1 -0
  140. package/build/vaccination.js +1 -1
  141. package/package.json +1 -1
  142. package/build/components/molecules/premiumNewsletterBanner/index.d.ts +0 -15
  143. package/build/components/molecules/premiumNewsletterBanner/testingBanner.d.ts +0 -3
  144. package/build/esm/components/molecules/premiumNewsletterBanner/index.d.ts +0 -15
  145. package/build/esm/components/molecules/premiumNewsletterBanner/testingBanner.d.ts +0 -3
  146. package/build/esm/index-b528163b.js +0 -1
  147. package/build/esm/index-b8e67607.js +0 -1
  148. package/build/esm/index-bcd1808f.js +0 -1
  149. package/build/esm/useHealthToolCache-59a568dd.js +0 -1
  150. package/build/esm/useTranslations-5eeefd8c.js +0 -1
  151. package/build/index-7109c879.js +0 -1
  152. package/build/index-7af60d34.js +0 -1
  153. package/build/utils-b44511dc.js +0 -1
  154. /package/build/{BMI_BOYS.percentile.monthly-03b0a17d.js → BMI_BOYS.percentile.monthly-5b917714.js} +0 -0
  155. /package/build/{BMI_BOYS.percentile.weekly-a33d058d.js → BMI_BOYS.percentile.weekly-9566eb37.js} +0 -0
  156. /package/build/{BMI_BOYS.percentile.yearly-6ff97ed9.js → BMI_BOYS.percentile.yearly-db737739.js} +0 -0
  157. /package/build/{BMI_BOYS.zscore.monthly-d76b4424.js → BMI_BOYS.zscore.monthly-86f68a0b.js} +0 -0
  158. /package/build/{BMI_BOYS.zscore.weekly-25865f62.js → BMI_BOYS.zscore.weekly-92d923b0.js} +0 -0
  159. /package/build/{BMI_BOYS.zscore.yearly-0a163e24.js → BMI_BOYS.zscore.yearly-4d92f086.js} +0 -0
  160. /package/build/{BMI_GIRLS.percentile.monthly-526177f1.js → BMI_GIRLS.percentile.monthly-6a6d1837.js} +0 -0
  161. /package/build/{BMI_GIRLS.percentile.weekly-f5e5b1bf.js → BMI_GIRLS.percentile.weekly-5589d39f.js} +0 -0
  162. /package/build/{BMI_GIRLS.percentile.yearly-f8d1dfcd.js → BMI_GIRLS.percentile.yearly-15c4d279.js} +0 -0
  163. /package/build/{BMI_GIRLS.zscore.monthly-dadee917.js → BMI_GIRLS.zscore.monthly-667e63fd.js} +0 -0
  164. /package/build/{BMI_GIRLS.zscore.weekly-443024a5.js → BMI_GIRLS.zscore.weekly-3fdeccfe.js} +0 -0
  165. /package/build/{BMI_GIRLS.zscore.yearly-3bf0e411.js → BMI_GIRLS.zscore.yearly-ea25f63d.js} +0 -0
  166. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-0d86a102.js → HEAD CIRCUM_BOYS.percentile.monthly-6db968ca.js} +0 -0
  167. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9b9ac144.js → HEAD CIRCUM_BOYS.percentile.weekly-2a4e9201.js} +0 -0
  168. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-ea0ee6dc.js → HEAD CIRCUM_BOYS.percentile.yearly-c566092e.js} +0 -0
  169. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-b0f6f3ce.js → HEAD CIRCUM_BOYS.zscore.monthly-03fc7b94.js} +0 -0
  170. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3a24b5da.js → HEAD CIRCUM_BOYS.zscore.weekly-faa83c6d.js} +0 -0
  171. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-c0d3acd7.js → HEAD CIRCUM_BOYS.zscore.yearly-629071b8.js} +0 -0
  172. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-3121a310.js → HEAD CIRCUM_GIRLS.percentile.monthly-fd8e09c4.js} +0 -0
  173. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-76c88a25.js → HEAD CIRCUM_GIRLS.percentile.weekly-d7bc181c.js} +0 -0
  174. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d7662134.js → HEAD CIRCUM_GIRLS.percentile.yearly-2c18bf98.js} +0 -0
  175. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-2fd1d14e.js → HEAD CIRCUM_GIRLS.zscore.monthly-8d909763.js} +0 -0
  176. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-32ca855c.js → HEAD CIRCUM_GIRLS.zscore.weekly-018ebd5c.js} +0 -0
  177. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-45412ada.js → HEAD CIRCUM_GIRLS.zscore.yearly-f4da36f0.js} +0 -0
  178. /package/build/{HEIGHT_BOYS.percentile.monthly-52900d4f.js → HEIGHT_BOYS.percentile.monthly-4bcc65ef.js} +0 -0
  179. /package/build/{HEIGHT_BOYS.percentile.weekly-61b1d40a.js → HEIGHT_BOYS.percentile.weekly-7c769b89.js} +0 -0
  180. /package/build/{HEIGHT_BOYS.percentile.yearly-507a34d2.js → HEIGHT_BOYS.percentile.yearly-3f50eba5.js} +0 -0
  181. /package/build/{HEIGHT_BOYS.zscore.monthly-dc6aa694.js → HEIGHT_BOYS.zscore.monthly-a78a7a26.js} +0 -0
  182. /package/build/{HEIGHT_BOYS.zscore.weekly-c50427f9.js → HEIGHT_BOYS.zscore.weekly-caab37b3.js} +0 -0
  183. /package/build/{HEIGHT_BOYS.zscore.yearly-89381ecc.js → HEIGHT_BOYS.zscore.yearly-c2d46f1f.js} +0 -0
  184. /package/build/{HEIGHT_GIRLS.percentile.monthly-a5e48323.js → HEIGHT_GIRLS.percentile.monthly-b3265a7d.js} +0 -0
  185. /package/build/{HEIGHT_GIRLS.percentile.weekly-01b9b367.js → HEIGHT_GIRLS.percentile.weekly-69403da3.js} +0 -0
  186. /package/build/{HEIGHT_GIRLS.percentile.yearly-40365af8.js → HEIGHT_GIRLS.percentile.yearly-5f19a816.js} +0 -0
  187. /package/build/{HEIGHT_GIRLS.zscore.monthly-be2a1555.js → HEIGHT_GIRLS.zscore.monthly-e56cd9ff.js} +0 -0
  188. /package/build/{HEIGHT_GIRLS.zscore.weekly-7dd8e2be.js → HEIGHT_GIRLS.zscore.weekly-cfbee1ac.js} +0 -0
  189. /package/build/{HEIGHT_GIRLS.zscore.yearly-4cc3169b.js → HEIGHT_GIRLS.zscore.yearly-603fd96e.js} +0 -0
  190. /package/build/{Onboarding-eda97622.js → Onboarding-2b01db17.js} +0 -0
  191. /package/build/{Visible-8f91e576.js → Visible-7e3703b1.js} +0 -0
  192. /package/build/{WEIGHT_BOYS.percentile.monthly-5f71f8e6.js → WEIGHT_BOYS.percentile.monthly-df2b38ad.js} +0 -0
  193. /package/build/{WEIGHT_BOYS.percentile.weekly-ad9e0982.js → WEIGHT_BOYS.percentile.weekly-017d4587.js} +0 -0
  194. /package/build/{WEIGHT_BOYS.percentile.yearly-ed1e14bb.js → WEIGHT_BOYS.percentile.yearly-d98f06d0.js} +0 -0
  195. /package/build/{WEIGHT_BOYS.zscore.monthly-02ce2d47.js → WEIGHT_BOYS.zscore.monthly-3efc2926.js} +0 -0
  196. /package/build/{WEIGHT_BOYS.zscore.weekly-5e25b5a4.js → WEIGHT_BOYS.zscore.weekly-1478e955.js} +0 -0
  197. /package/build/{WEIGHT_BOYS.zscore.yearly-3d2ec650.js → WEIGHT_BOYS.zscore.yearly-96592d44.js} +0 -0
  198. /package/build/{WEIGHT_GIRLS.percentile.monthly-831fbf48.js → WEIGHT_GIRLS.percentile.monthly-7990f762.js} +0 -0
  199. /package/build/{WEIGHT_GIRLS.percentile.weekly-62e5c21b.js → WEIGHT_GIRLS.percentile.weekly-4b98de90.js} +0 -0
  200. /package/build/{WEIGHT_GIRLS.percentile.yearly-634b6b1c.js → WEIGHT_GIRLS.percentile.yearly-5686e441.js} +0 -0
  201. /package/build/{WEIGHT_GIRLS.zscore.monthly-0bb0f9dc.js → WEIGHT_GIRLS.zscore.monthly-76c7187f.js} +0 -0
  202. /package/build/{WEIGHT_GIRLS.zscore.weekly-324b7a89.js → WEIGHT_GIRLS.zscore.weekly-bc5910e8.js} +0 -0
  203. /package/build/{WEIGHT_GIRLS.zscore.yearly-63965708.js → WEIGHT_GIRLS.zscore.yearly-07b83056.js} +0 -0
  204. /package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/bannerLayout.d.ts +0 -0
  205. /package/build/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/handlerBanner.d.ts +0 -0
  206. /package/build/{constants-e7d71ae0.js → constants-fd82a887.js} +0 -0
  207. /package/build/{cookieHelper-67cb3d98.js → cookieHelper-47e34efa.js} +0 -0
  208. /package/build/{dataTransform-ec79da65.js → dataTransform-fe677610.js} +0 -0
  209. /package/build/esm/{BMI_BOYS.percentile.monthly-c0ed6b25.js → BMI_BOYS.percentile.monthly-9e7fdff9.js} +0 -0
  210. /package/build/esm/{BMI_BOYS.percentile.weekly-41326a44.js → BMI_BOYS.percentile.weekly-109aa882.js} +0 -0
  211. /package/build/esm/{BMI_BOYS.percentile.yearly-aaeb4489.js → BMI_BOYS.percentile.yearly-2f4904a4.js} +0 -0
  212. /package/build/esm/{BMI_BOYS.zscore.monthly-fd822aa5.js → BMI_BOYS.zscore.monthly-b7818505.js} +0 -0
  213. /package/build/esm/{BMI_BOYS.zscore.weekly-eb21980f.js → BMI_BOYS.zscore.weekly-8a8c6e60.js} +0 -0
  214. /package/build/esm/{BMI_BOYS.zscore.yearly-c0c5f77a.js → BMI_BOYS.zscore.yearly-259d827f.js} +0 -0
  215. /package/build/esm/{BMI_GIRLS.percentile.monthly-891f0c3a.js → BMI_GIRLS.percentile.monthly-4c85f2e2.js} +0 -0
  216. /package/build/esm/{BMI_GIRLS.percentile.weekly-058942a5.js → BMI_GIRLS.percentile.weekly-52780dde.js} +0 -0
  217. /package/build/esm/{BMI_GIRLS.percentile.yearly-18e64396.js → BMI_GIRLS.percentile.yearly-d552f7ff.js} +0 -0
  218. /package/build/esm/{BMI_GIRLS.zscore.monthly-fb4764bd.js → BMI_GIRLS.zscore.monthly-70736759.js} +0 -0
  219. /package/build/esm/{BMI_GIRLS.zscore.weekly-6e3cdd9d.js → BMI_GIRLS.zscore.weekly-09d9a498.js} +0 -0
  220. /package/build/esm/{BMI_GIRLS.zscore.yearly-964afbaa.js → BMI_GIRLS.zscore.yearly-787a71f2.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-05d677e9.js → HEAD CIRCUM_BOYS.percentile.monthly-3dc23858.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-ce43ef6e.js → HEAD CIRCUM_BOYS.percentile.weekly-fc90a435.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2b6e2ead.js → HEAD CIRCUM_BOYS.percentile.yearly-d311328c.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e790d5b8.js → HEAD CIRCUM_BOYS.zscore.monthly-a4105e49.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-24f67c66.js → HEAD CIRCUM_BOYS.zscore.weekly-1602faff.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-808cabb3.js → HEAD CIRCUM_BOYS.zscore.yearly-314d87f2.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-2494b2f5.js → HEAD CIRCUM_GIRLS.percentile.monthly-1755894d.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-c619fe7e.js → HEAD CIRCUM_GIRLS.percentile.weekly-eff64869.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-95322471.js → HEAD CIRCUM_GIRLS.percentile.yearly-ec836bd1.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-6cef3e38.js → HEAD CIRCUM_GIRLS.zscore.monthly-45824afc.js} +0 -0
  231. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-63d2be33.js → HEAD CIRCUM_GIRLS.zscore.weekly-3dda450c.js} +0 -0
  232. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0111d1d5.js → HEAD CIRCUM_GIRLS.zscore.yearly-47d31d6a.js} +0 -0
  233. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-d681290f.js → HEIGHT_BOYS.percentile.monthly-8e3e5eea.js} +0 -0
  234. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-5873089d.js → HEIGHT_BOYS.percentile.weekly-4fd1e4f0.js} +0 -0
  235. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-37378046.js → HEIGHT_BOYS.percentile.yearly-a72efc6f.js} +0 -0
  236. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-1b2697a7.js → HEIGHT_BOYS.zscore.monthly-bbc5d61a.js} +0 -0
  237. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-84b0707d.js → HEIGHT_BOYS.zscore.weekly-be4b43d4.js} +0 -0
  238. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3eb4d639.js → HEIGHT_BOYS.zscore.yearly-41fab017.js} +0 -0
  239. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-028e111f.js → HEIGHT_GIRLS.percentile.monthly-5960d7bc.js} +0 -0
  240. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-13c93618.js → HEIGHT_GIRLS.percentile.weekly-842b0b35.js} +0 -0
  241. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-cf733987.js → HEIGHT_GIRLS.percentile.yearly-5e771144.js} +0 -0
  242. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-aece5b1c.js → HEIGHT_GIRLS.zscore.monthly-a87662f6.js} +0 -0
  243. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-9d1ee9e2.js → HEIGHT_GIRLS.zscore.weekly-9974df51.js} +0 -0
  244. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-7b7ec405.js → HEIGHT_GIRLS.zscore.yearly-036899ae.js} +0 -0
  245. /package/build/esm/{Onboarding-8386c62c.js → Onboarding-3631c6d1.js} +0 -0
  246. /package/build/esm/{Visible-53ac248e.js → Visible-2bac67a9.js} +0 -0
  247. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-1dff682d.js → WEIGHT_BOYS.percentile.monthly-fb78f02c.js} +0 -0
  248. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c2ff9b23.js → WEIGHT_BOYS.percentile.weekly-a91de386.js} +0 -0
  249. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-982ac1ae.js → WEIGHT_BOYS.percentile.yearly-ad66fdd2.js} +0 -0
  250. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-b95b5729.js → WEIGHT_BOYS.zscore.monthly-2f39cc76.js} +0 -0
  251. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-6d599f9e.js → WEIGHT_BOYS.zscore.weekly-14cc15d4.js} +0 -0
  252. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-bab0c651.js → WEIGHT_BOYS.zscore.yearly-2041fbea.js} +0 -0
  253. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-0f54b996.js → WEIGHT_GIRLS.percentile.monthly-3a60ac45.js} +0 -0
  254. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-fe08daa7.js → WEIGHT_GIRLS.percentile.weekly-d0fbecca.js} +0 -0
  255. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-5c8d7800.js → WEIGHT_GIRLS.percentile.yearly-3ae3438e.js} +0 -0
  256. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-d9f39b55.js → WEIGHT_GIRLS.zscore.monthly-ed2bf2a6.js} +0 -0
  257. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c79991bd.js → WEIGHT_GIRLS.zscore.weekly-3328de54.js} +0 -0
  258. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d1d50e1a.js → WEIGHT_GIRLS.zscore.yearly-e78ef269.js} +0 -0
  259. /package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/bannerLayout.d.ts +0 -0
  260. /package/build/esm/components/molecules/{premiumNewsletterBanner → surveyOrPremiumBanner}/handlerBanner.d.ts +0 -0
  261. /package/build/esm/{constants-7adbe3c0.js → constants-66251709.js} +0 -0
  262. /package/build/esm/{cookieHelper-52685cc6.js → cookieHelper-2fe90225.js} +0 -0
  263. /package/build/esm/{dataTransform-55ae967b.js → dataTransform-532e7457.js} +0 -0
  264. /package/build/esm/{index-f8eec5e7.js → index-7df304c0.js} +0 -0
  265. /package/build/esm/{isProduction-ed4525be.js → isProduction-85c6cb19.js} +0 -0
  266. /package/build/esm/{localizeNumberFormat-705ca7e6.js → localizeNumberFormat-17475a32.js} +0 -0
  267. /package/build/esm/{number-05af8f98.js → number-251f8529.js} +0 -0
  268. /package/build/esm/{paths-e75f2e2f.js → paths-46458204.js} +0 -0
  269. /package/build/esm/{screenSizeContext-10db56d9.js → screenSizeContext-4ff53e25.js} +0 -0
  270. /package/build/esm/{theme-a4e9bb74.js → theme-b5489d82.js} +0 -0
  271. /package/build/esm/{translationsContext-3b169438.js → translationsContext-be2e1844.js} +0 -0
  272. /package/build/esm/{tslib.es6-6c588ee6.js → tslib.es6-0405df6a.js} +0 -0
  273. /package/build/esm/{types-b707f6a4.js → types-48c94135.js} +0 -0
  274. /package/build/esm/{useIsInit-5d90c0d1.js → useIsInit-942b94fa.js} +0 -0
  275. /package/build/esm/{useOutsideClick-fbe19017.js → useOutsideClick-3450a7a8.js} +0 -0
  276. /package/build/esm/{useScrollbarSize-71b41011.js → useScrollbarSize-11faa525.js} +0 -0
  277. /package/build/esm/{useUniqueId-d097338a.js → useUniqueId-d35bf586.js} +0 -0
  278. /package/build/{index-e8e5f987.js → index-4046269f.js} +0 -0
  279. /package/build/{isProduction-6603c122.js → isProduction-e1b7813f.js} +0 -0
  280. /package/build/{localizeNumberFormat-d70884f2.js → localizeNumberFormat-7424a97a.js} +0 -0
  281. /package/build/{number-7a59b05e.js → number-b3767f34.js} +0 -0
  282. /package/build/{paths-52bfb691.js → paths-2ac2ae14.js} +0 -0
  283. /package/build/{screenSizeContext-d3822141.js → screenSizeContext-4d5786c6.js} +0 -0
  284. /package/build/{theme-95cd4c16.js → theme-1a7c14fb.js} +0 -0
  285. /package/build/{translationsContext-0aeba983.js → translationsContext-f962ff63.js} +0 -0
  286. /package/build/{tslib.es6-23138875.js → tslib.es6-0d31715f.js} +0 -0
  287. /package/build/{types-c4a0b167.js → types-ef750ab6.js} +0 -0
  288. /package/build/{useIsInit-5fb3bcb1.js → useIsInit-790b9962.js} +0 -0
  289. /package/build/{useOutsideClick-51c6acd1.js → useOutsideClick-81c62034.js} +0 -0
  290. /package/build/{useScrollbarSize-9b6430c7.js → useScrollbarSize-29ac8766.js} +0 -0
  291. /package/build/{useUniqueId-10edc9fa.js → useUniqueId-86a9e1d4.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";import i,{useState as n,useMemo as o,useCallback as r,memo as l,useRef as s,useEffect as d,useImperativeHandle as c,Fragment as p,forwardRef as m,createContext as u,useContext as h}from"react";import{createStyles as g,useMantineTheme as b,getStylesRef as f,Flex as v,rem as x,Box as y,Portal as w,Anchor as E,Accordion as k,Stack as C,AspectRatio as A,Chip as S,ScrollArea as N,Group as T,Badge as z,MultiSelect as I,Stepper as B,Container as D}from"@mantine/core";import{X as P,Y as O,Z as L,_ as j,I as M,H as $,T as R,$ as _,a0 as F,a1 as U,x as V,a2 as H,P as W,E as q,d as Z,a3 as G,a4 as X,a5 as Y,a6 as Q,a7 as K,a8 as J,a9 as ee,aa as te,ab as ae,y as ie,ac as ne,ad as oe,ae as re,af as le,ag as se,A as de,ah as ce,ai as pe,aj as me,ak as ue,al as he,K as ge,am as be,B as fe,an as ve,ao as xe}from"./index.styles-2670b640.js";import{I as ye}from"./index-dbfe0a73.js";import{CommonGAssets as we}from"./gAssets.js";import{L as Ee,I as ke,H as Ce,P as Ae}from"./index-f43dae18.js";import{M as Se,t as Ne}from"./screenSizeContext-10db56d9.js";import{t as Te}from"./theme-a4e9bb74.js";import{u as ze}from"./useTranslations-5eeefd8c.js";import"@mantine/dates";import{d as Ie,D as Be,R as De,a as Pe,G as Oe}from"./index-ab6ab4f8.js";import{G as Le,L as je}from"./Onboarding-8386c62c.js";import Me from"dayjs";import $e,{keyframes as Re,css as _e}from"styled-components";import{g as Fe,a as Ue}from"./normalizeLink-21860b29.js";import{i as Ve}from"./isProduction-ed4525be.js";import{useViewportSize as He}from"@mantine/hooks";import We from"lodash/debounce";import"./useCategory-70a19940.js";import{d as qe,g as Ze}from"./cookieHelper-52685cc6.js";import{U as Ge,P as Xe,an as Ye,am as Qe,ap as Ke,aq as Je}from"./index.styled-897d1d7d.js";import{a as et}from"./number-05af8f98.js";import"innertext";import{format as tt,addDays as at}from"date-fns";import it from"react-day-picker/DayPickerInput";import"react-dom";import{B as nt,D as ot}from"./index-0816b158.js";import"lodash/throttle";import{L as rt}from"./index-e4a9ae2b.js";import{T as lt}from"./index-47fa4d84.js";import{B as st}from"./index-6f00ca93.js";import{I as dt}from"./index-1c39b096.js";import{D as ct}from"./types-b707f6a4.js";import{useForm as pt,Controller as mt}from"react-hook-form";import"./translationsContext-3b169438.js";import"string-format";import{yupResolver as ut}from"@hookform/resolvers/yup";import{M as ht}from"./index-b528163b.js";import{S as gt}from"./index-9c19eedb.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./index.styled-c0a2cbc4.js";import"uuid";import"./utils-cd9f3234.js";import bt from"dayjs/plugin/relativeTime";import{P as ft}from"./paths-e75f2e2f.js";import{L as vt}from"./constants-7adbe3c0.js";import{M as xt}from"./index-402570ee.js";import{a as yt}from"./useUniqueId-d097338a.js";import"react-contenteditable";import{useForm as wt,isNotEmpty as Et}from"@mantine/form";import{u as kt}from"./useHealthToolCache-59a568dd.js";import Ct from"js-cookie";import At from"lodash/flatten";import St from"lodash/uniqBy";const Nt=({type:e,size:t="small",label:a,name:n,checked:o,value:r,className:l,isDisabled:s=!1,onChange:d,dataEventCategory:c,dataEventAction:p,dataEventLabel:m})=>{const u=!!p&&!!c&&!!m?{"data-event-category":c,"data-event-action":p,"data-event-label":m}:{};return i.createElement(P,{"data-disabled":s,className:l,"data-type":e,"data-size":t},i.createElement("label",Object.assign({style:{display:"flex",alignItems:"center"}},u),i.createElement("input",Object.assign({type:"radio",checked:o,name:n,value:r,onChange:()=>d(r)},u)),a))},Tt={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},zt=t=>{var{siteType:a,role:n,title:o,styles:r,className:l}=t,s=e(t,["siteType","role","title","styles","className"]);const{t:d}=ze(),c=n?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((t=>t===e)))(n):"",{classes:p,cx:m}=O(void 0,{name:"AuthorBadge",styles:r});return c&&Tt[c]?i.createElement("div",Object.assign({className:m(p.root,l),"data-label-type":c,"data-is-marrybaby":"marryBaby"===a},s),o||d(Tt[c])):null},It=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"})),Bt=a=>{var{label:l,bookingId:s,bookingType:d="doctor",locale:c="vi-VN"}=a,p=e(a,["label","bookingId","bookingType","locale"]);const{t:m}=ze(),[u,h]=n(!1),g=o((()=>"undefined"!=typeof window?window.location.href:""),[]),b=r((()=>t(void 0,void 0,void 0,(function*(){var e,t,a,i,n,o,r,l,p,m,u,g,b,f,v;const x="doctor"===d?ft.GET_DOCTOR_DETAIL:"hospital"===d?ft.GET_HOSPITAL_DETAIL:"service"===d?ft.GET_SERVICE_DETAIL:"";try{h(!0);const y=yield L(j(x,{id:s,site:Ie[c]}),"get");if(1===(null==y?void 0:y._status)){const s="doctor"===d?{id:null===(t=null===(e=null==y?void 0:y._data)||void 0===e?void 0:e.doctor)||void 0===t?void 0:t.id,slug:null===(i=null===(a=null==y?void 0:y._data)||void 0===a?void 0:a.doctor)||void 0===i?void 0:i.slug,localSlug:null===(n=vt[c])||void 0===n?void 0:n.DOCTOR}:"hospital"===d?{id:null===(r=null===(o=null==y?void 0:y._data)||void 0===o?void 0:o.branch)||void 0===r?void 0:r.id,slug:null===(p=null===(l=null==y?void 0:y._data)||void 0===l?void 0:l.branch)||void 0===p?void 0:p.slug,localSlug:null===(m=vt[c])||void 0===m?void 0:m.HOSPITAL}:{id:null===(g=null===(u=null==y?void 0:y._data)||void 0===u?void 0:u.service)||void 0===g?void 0:g.id,slug:null===(f=null===(b=null==y?void 0:y._data)||void 0===b?void 0:b.service)||void 0===f?void 0:f.slug,localSlug:null===(v=vt[c])||void 0===v?void 0:v.SERVICE};window.location.href=`https://${Ve?"":"discover."}${Ie[c]}/care/${s.localSlug}/${s.slug}-${s.id}/`}else h(!1)}catch(e){console.log(e),h(!1)}}))),[]);return s&&d?i.createElement(M,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:g,onClick:b,loading:u},p),l||m("careBooking.bookAnAppointment")):null},Dt=l((()=>i.createElement("div",{className:"shoppable"},i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),i.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),Pt=l((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>i.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),Ot=l((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>i.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var Lt=g(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const jt=$e.a`
1
+ import{_ as e,a as t}from"./tslib.es6-0405df6a.js";import*as a from"react";import i,{useState as n,useMemo as o,useCallback as r,memo as l,useRef as s,useEffect as d,useImperativeHandle as c,Fragment as p,forwardRef as m,createContext as u,useContext as h}from"react";import{createStyles as g,useMantineTheme as b,getStylesRef as f,Flex as v,rem as x,Box as y,Portal as w,Anchor as E,Accordion as k,Stack as C,AspectRatio as A,Chip as S,ScrollArea as N,Group as T,Badge as z,MultiSelect as I,Stepper as B,Container as D}from"@mantine/core";import{X as P,Y as O,Z as L,_ as j,I as M,H as $,T as R,$ as F,a0 as _,a1 as U,x as V,a2 as H,P as W,E as q,d as Z,a3 as G,a4 as X,a5 as Y,a6 as Q,a7 as K,a8 as J,a9 as ee,aa as te,ab as ae,y as ie,ac as ne,ad as oe,ae as re,af as le,ag as se,A as de,ah as ce,ai as pe,aj as me,ak as ue,al as he,K as ge,am as be,B as fe,an as ve,ao as xe}from"./index.styles-952b0f4b.js";import{I as ye}from"./index-aab6e937.js";import{CommonGAssets as we}from"./gAssets.js";import{L as Ee,I as ke,H as Ce,P as Ae}from"./index-5b15422c.js";import{M as Se,t as Ne}from"./screenSizeContext-4ff53e25.js";import{t as Te}from"./theme-b5489d82.js";import{u as ze}from"./useTranslations-b2f04ab6.js";import"@mantine/dates";import{d as Ie,D as Be,R as De,a as Pe,G as Oe}from"./index-c9c1af14.js";import{G as Le,L as je}from"./Onboarding-3631c6d1.js";import Me from"dayjs";import $e,{keyframes as Re,css as Fe}from"styled-components";import{g as _e,a as Ue}from"./normalizeLink-58957b47.js";import{i as Ve}from"./isProduction-85c6cb19.js";import{useViewportSize as He}from"@mantine/hooks";import We from"lodash/debounce";import"./useCategory-bfba2de5.js";import{d as qe,g as Ze}from"./cookieHelper-2fe90225.js";import{U as Ge,P as Xe,an as Ye,am as Qe,ap as Ke,aq as Je}from"./index.styled-ce98cbc1.js";import{a as et}from"./number-251f8529.js";import"innertext";import{format as tt,addDays as at}from"date-fns";import it from"react-day-picker/DayPickerInput";import"react-dom";import{B as nt,D as ot}from"./index-37ac3e0a.js";import"lodash/throttle";import{L as rt}from"./index-d533e676.js";import{T as lt}from"./index-2472bb2e.js";import{B as st}from"./index-c04a8332.js";import{I as dt}from"./index-7ea25330.js";import{D as ct}from"./types-48c94135.js";import{useForm as pt,Controller as mt}from"react-hook-form";import"./translationsContext-be2e1844.js";import"string-format";import{yupResolver as ut}from"@hookform/resolvers/yup";import{M as ht}from"./index-9a6cbd76.js";import{S as gt}from"./index-671bebd2.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./index.styled-8ad8796f.js";import"uuid";import"./utils-33c4c832.js";import bt from"dayjs/plugin/relativeTime";import{P as ft}from"./paths-46458204.js";import{L as vt}from"./constants-66251709.js";import{M as xt}from"./index-1f31ee2c.js";import{a as yt}from"./useUniqueId-d35bf586.js";import"react-contenteditable";import{useForm as wt,isNotEmpty as Et}from"@mantine/form";import{u as kt}from"./useHealthToolCache-b9973713.js";import Ct from"js-cookie";import At from"lodash/flatten";import St from"lodash/uniqBy";const Nt=({type:e,size:t="small",label:a,name:n,checked:o,value:r,className:l,isDisabled:s=!1,onChange:d,dataEventCategory:c,dataEventAction:p,dataEventLabel:m})=>{const u=!!p&&!!c&&!!m?{"data-event-category":c,"data-event-action":p,"data-event-label":m}:{};return i.createElement(P,{"data-disabled":s,className:l,"data-type":e,"data-size":t},i.createElement("label",Object.assign({style:{display:"flex",alignItems:"center"}},u),i.createElement("input",Object.assign({type:"radio",checked:o,name:n,value:r,onChange:()=>d(r)},u)),a))},Tt={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},zt=t=>{var{siteType:a,role:n,title:o,styles:r,className:l}=t,s=e(t,["siteType","role","title","styles","className"]);const{t:d}=ze(),c=n?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((t=>t===e)))(n):"",{classes:p,cx:m}=O(void 0,{name:"AuthorBadge",styles:r});return c&&Tt[c]?i.createElement("div",Object.assign({className:m(p.root,l),"data-label-type":c,"data-is-marrybaby":"marryBaby"===a},s),o||d(Tt[c])):null},It=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"})),Bt=a=>{var{label:l,bookingId:s,bookingType:d="doctor",locale:c="vi-VN"}=a,p=e(a,["label","bookingId","bookingType","locale"]);const{t:m}=ze(),[u,h]=n(!1),g=o((()=>"undefined"!=typeof window?window.location.href:""),[]),b=r((()=>t(void 0,void 0,void 0,(function*(){var e,t,a,i,n,o,r,l,p,m,u,g,b,f,v;const x="doctor"===d?ft.GET_DOCTOR_DETAIL:"hospital"===d?ft.GET_HOSPITAL_DETAIL:"service"===d?ft.GET_SERVICE_DETAIL:"";try{h(!0);const y=yield L(j(x,{id:s,site:Ie[c]}),"get");if(1===(null==y?void 0:y._status)){const s="doctor"===d?{id:null===(t=null===(e=null==y?void 0:y._data)||void 0===e?void 0:e.doctor)||void 0===t?void 0:t.id,slug:null===(i=null===(a=null==y?void 0:y._data)||void 0===a?void 0:a.doctor)||void 0===i?void 0:i.slug,localSlug:null===(n=vt[c])||void 0===n?void 0:n.DOCTOR}:"hospital"===d?{id:null===(r=null===(o=null==y?void 0:y._data)||void 0===o?void 0:o.branch)||void 0===r?void 0:r.id,slug:null===(p=null===(l=null==y?void 0:y._data)||void 0===l?void 0:l.branch)||void 0===p?void 0:p.slug,localSlug:null===(m=vt[c])||void 0===m?void 0:m.HOSPITAL}:{id:null===(g=null===(u=null==y?void 0:y._data)||void 0===u?void 0:u.service)||void 0===g?void 0:g.id,slug:null===(f=null===(b=null==y?void 0:y._data)||void 0===b?void 0:b.service)||void 0===f?void 0:f.slug,localSlug:null===(v=vt[c])||void 0===v?void 0:v.SERVICE};window.location.href=`https://${Ve?"":"discover."}${Ie[c]}/care/${s.localSlug}/${s.slug}-${s.id}/`}else h(!1)}catch(e){console.log(e),h(!1)}}))),[]);return s&&d?i.createElement(M,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:g,onClick:b,loading:u},p),l||m("careBooking.bookAnAppointment")):null},Dt=l((()=>i.createElement("div",{className:"shoppable"},i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),i.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),Pt=l((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>i.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),Ot=l((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>i.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var Lt=g(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const jt=$e.a`
2
2
  display: flex;
3
3
  height: 125px;
4
4
 
@@ -413,7 +413,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
413
413
  background: white;
414
414
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
415
415
  }
416
- `,_t=$e.form`
416
+ `,Ft=$e.form`
417
417
  display: flex;
418
418
  width: 100%;
419
419
 
@@ -430,7 +430,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
430
430
  background: ${e=>e.theme.colors.neutral100};
431
431
  border-radius: ${e=>e.theme.borderRadius};
432
432
  }
433
- `,Ft=({alignRight:e=!0,placeholder:t,displayDateFormat:a,onChange:o,customInput:r,pickedDate:l,className:c,isStatic:p,disabledDays:m,modifiers:u,UnHideOnClickOutside:h,initialMonth:g,locale:b="en-PH"})=>{const f=s(!1),v=tt,[x,y]=n(g||new Date),w=s(null),E=s(null),k=$t[b],C=e=>{h||w.current&&w.current.contains(e.target)||E.current&&E.current.hideDayPicker()},A=(new Date).getFullYear(),S=new Date(A-150,0),N=new Date(A+1,0),T=({date:e,onChange:t,monthLabels:a})=>{const n=[];for(let e=N.getFullYear();e>=S.getFullYear();e-=1)n.push(e);const o=function(e){const{year:a,month:i}=e.target.form;t(new Date(a.value,i.value))};return i.createElement("div",{className:"DayPicker-Caption"},i.createElement(_t,null,i.createElement("select",{name:"month",onChange:o,value:e.getMonth()},a.map(((e,t)=>i.createElement("option",{key:e,value:t},e)))),i.createElement("select",{name:"year",onChange:o,value:e.getFullYear()},n.map((e=>i.createElement("option",{key:e,value:e},e))))))};return d((()=>(document.addEventListener("mousedown",C,{passive:!0}),()=>{document.removeEventListener("mousedown",C,!1)})),[]),i.createElement(Rt,{className:c,"data-align-right":e,ref:w,"data-is-static":p||void 0},i.createElement(it,{ref:E,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:r&&i.forwardRef(((e,t)=>i.createElement(r,Object.assign({},e)))),onDayPickerHide:()=>{f.current=!1},onDayPickerShow:()=>{f.current=!0},dayPickerProps:{month:x,className:"picker",selectedDays:l,canChangeMonth:!0,enableOutsideDaysClick:!p,firstDayOfWeek:1,captionElement:({date:e,localeUtils:t})=>{const a=null==t?void 0:t.getMonths();return i.createElement(T,{date:e,monthLabels:k||a,onChange:y})},disabledDays:m||void 0,modifiers:u},format:a||"yyyy-MM-dd",formatDate:(e,t)=>v(e,t),hideOnDayClick:!p,placeholder:t||"",onDayChange:e=>{var t;t=e,E.current&&!p&&E.current.hideDayPicker(),o&&o(t)},showOverlay:p}))},Ut=$e.div`
433
+ `,_t=({alignRight:e=!0,placeholder:t,displayDateFormat:a,onChange:o,customInput:r,pickedDate:l,className:c,isStatic:p,disabledDays:m,modifiers:u,UnHideOnClickOutside:h,initialMonth:g,locale:b="en-PH"})=>{const f=s(!1),v=tt,[x,y]=n(g||new Date),w=s(null),E=s(null),k=$t[b],C=e=>{h||w.current&&w.current.contains(e.target)||E.current&&E.current.hideDayPicker()},A=(new Date).getFullYear(),S=new Date(A-150,0),N=new Date(A+1,0),T=({date:e,onChange:t,monthLabels:a})=>{const n=[];for(let e=N.getFullYear();e>=S.getFullYear();e-=1)n.push(e);const o=function(e){const{year:a,month:i}=e.target.form;t(new Date(a.value,i.value))};return i.createElement("div",{className:"DayPicker-Caption"},i.createElement(Ft,null,i.createElement("select",{name:"month",onChange:o,value:e.getMonth()},a.map(((e,t)=>i.createElement("option",{key:e,value:t},e)))),i.createElement("select",{name:"year",onChange:o,value:e.getFullYear()},n.map((e=>i.createElement("option",{key:e,value:e},e))))))};return d((()=>(document.addEventListener("mousedown",C,{passive:!0}),()=>{document.removeEventListener("mousedown",C,!1)})),[]),i.createElement(Rt,{className:c,"data-align-right":e,ref:w,"data-is-static":p||void 0},i.createElement(it,{ref:E,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:r&&i.forwardRef(((e,t)=>i.createElement(r,Object.assign({},e)))),onDayPickerHide:()=>{f.current=!1},onDayPickerShow:()=>{f.current=!0},dayPickerProps:{month:x,className:"picker",selectedDays:l,canChangeMonth:!0,enableOutsideDaysClick:!p,firstDayOfWeek:1,captionElement:({date:e,localeUtils:t})=>{const a=null==t?void 0:t.getMonths();return i.createElement(T,{date:e,monthLabels:k||a,onChange:y})},disabledDays:m||void 0,modifiers:u},format:a||"yyyy-MM-dd",formatDate:(e,t)=>v(e,t),hideOnDayClick:!p,placeholder:t||"",onDayChange:e=>{var t;t=e,E.current&&!p&&E.current.hideDayPicker(),o&&o(t)},showOverlay:p}))},Ut=$e.div`
434
434
  --dropdown-padding: 12px 18px 12px 16px;
435
435
  position: relative;
436
436
  box-sizing: border-box;
@@ -1301,7 +1301,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
1301
1301
  }
1302
1302
  }
1303
1303
  }
1304
- `,_a=$e.div`
1304
+ `,Fa=$e.div`
1305
1305
  .survey-question-text-wrapper {
1306
1306
  margin-bottom: 24px;
1307
1307
  .survey-question-title {
@@ -1351,7 +1351,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
1351
1351
  }
1352
1352
  }
1353
1353
  }
1354
- `,Fa=({size:e="small",label:t,name:a,checked:n,value:o,className:r,isDisabled:l=!1,onChange:s,hasImage:d,inputType:c,image:p})=>i.createElement($a,{"data-disabled":l,className:r,"data-type":"circle","data-size":e,"data-checked":n,onClick:()=>{s(o)},"data-has-image":d},d&&i.createElement("div",{className:"choice-image-wrapper"},p&&i.createElement("img",{src:p,loading:"lazy"})),i.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${a}-${o}`},t),i.createElement("input",{type:c,checked:n,name:a,id:`${a}-${o}`,value:o,readOnly:!0})),Ua=({question:e,description:t,onOptionsChange:a,onTextOptionsChange:o,style:r,className:l})=>{const{type:s,title:c,subtitle:p,image:m,textOptions:u,options:h,name:g,is_multi_select:b}=e,f=!!(null==h?void 0:h.some((e=>e.image))),[v,x]=n([]),[y,w]=n((()=>(null==u?void 0:u.slice())||[]));return d((()=>{a&&a(v.slice())}),[!!a,v]),d((()=>{o&&o(y)}),[!!o,y]),i.createElement(_a,{className:l,style:r},i.createElement("div",{className:"survey-question-text-wrapper"},c&&i.createElement($,{"data-nosubtitle":!p,className:"survey-question-title",tag:"h4"},c),p&&i.createElement(lt,{className:"survey-question-subtitle",size:"p2"},p),t&&i.createElement(lt,{className:"survey-question-description",size:"p2"},t)),m&&i.createElement("img",{src:m,className:"survey-question-image",loading:"lazy"}),i.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===s&&i.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},h.map((e=>{var t;return i.createElement(Fa,{inputType:"radio",label:e.label,name:g,key:`${g}-${e.value}`,checked:(null===(t=v[0])||void 0===t?void 0:t.value)===e.value,value:e.value,onChange:e=>{x([h.find((t=>t.value===e))])},className:"survey-question-option-item",image:e.image,hasImage:f})}))),"checkbox"===s&&i.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},h.map((e=>i.createElement(Fa,{inputType:"checkbox",label:e.label,name:g,key:`${g}-${e.value}`,checked:!!v.find((t=>t.value===e.value)),value:e.value,onChange:()=>{const t=v.findIndex((t=>t.value===e.value));x(t>=0?e=>(e.splice(t,1),e.slice()):b?t=>t.concat(e).slice():[e])},className:"survey-question-option-item survey-option-radio",image:e.image,hasImage:f})))),"textbox"===s&&y.map(((e,t)=>e.isTextArea?i.createElement(R,{key:t,placeholder:e.placeholder,height:"150px",value:e.value,onChange:e=>w((a=>(a[t].value=e,a.slice())))}):i.createElement(dt,{key:t,value:e.value,name:e.name,size:"md",className:"survey-contact-input",label:e.label,placeholder:e.placeholder,onChange:e=>{w((a=>(a[t].value=e,a.slice())))},type:e.type})))))};var Va;!function(e){e[e.UNLIMITED=0]="UNLIMITED",e[e.EXACT_NUMBER=1]="EXACT_NUMBER",e[e.RANGE=2]="RANGE"}(Va||(Va={}));const Ha=({className:e,headerText:t,style:a,question:o,termAndPolicyText:r,prevText:l,nextText:d,isContactForm:c,isDisableNext:p,isDisablePrev:m,onPrevClick:u,onNextClick:h,isSubmitButton:g,isButtonCenter:b,progress:f,descriptionText:v})=>{var x,y,w;const[E,k]=n([]),{is_multi_select:C,multi_select_option:A,from:S,to:N}=o,T=null==o?void 0:o.type,z="checkbox"===T&&(null===(x=o.options)||void 0===x?void 0:x.length)&&(!E||0===E.length||C&&A===Va.RANGE&&(E.length<S||E.length>N)||C&&A===Va.EXACT_NUMBER&&E.length!==S)||"radio"===T&&(null===(y=o.options)||void 0===y?void 0:y.length)&&(!E||0===E.length)||"textbox"===T&&(null===(w=o.textOptions)||void 0===w?void 0:w.length)&&(E.length<o.textOptions.length||E.some((e=>!e.value))),I="number"==typeof f?f>1?1:f<0?0:Number(f.toFixed(2)):-1,B=s(null),D=()=>"textbox"!==T||B.current.reportValidity();return i.createElement(Ma,{className:e,style:a},i.createElement("div",{className:"survey-inner-wrapper"},t&&i.createElement("div",{className:"survey-header"},i.createElement(lt,{className:"survey-header-text",size:"c2"},t)),i.createElement("form",{ref:B,onSubmit:e=>e.preventDefault()},i.createElement(Ua,{question:o,description:v,onOptionsChange:e=>{k(e)},onTextOptionsChange:e=>{k(e)}})),c&&d&&i.createElement(st,{className:"survey-contact-submit",size:"lg",isDisabled:p||z,onClick:()=>D()&&h&&h(E)},d),r&&i.createElement("div",{className:"term-policy-container"},r),"number"==typeof f&&i.createElement("div",{className:"survey-progress-wrapper"},i.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${I})`}})),(l||d)&&i.createElement("div",{"data-center":b,className:"survey-button-wrapper"},l&&i.createElement(st,{className:"survey-prev-button",size:"lg",color:m?"primary":"secondary",isDisabled:m,icon:i.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:m?"#fff":"#2D87F3"})),onClick:u},l),!c&&d&&i.createElement(st,{onClick:()=>D()&&h&&h(E),className:"survey-next-button",size:"lg",isDisabled:p||z},d," ",g?void 0:i.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},Wa=200,qa=$e.div``,Za=$e.div`
1354
+ `,_a=({size:e="small",label:t,name:a,checked:n,value:o,className:r,isDisabled:l=!1,onChange:s,hasImage:d,inputType:c,image:p})=>i.createElement($a,{"data-disabled":l,className:r,"data-type":"circle","data-size":e,"data-checked":n,onClick:()=>{s(o)},"data-has-image":d},d&&i.createElement("div",{className:"choice-image-wrapper"},p&&i.createElement("img",{src:p,loading:"lazy"})),i.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${a}-${o}`},t),i.createElement("input",{type:c,checked:n,name:a,id:`${a}-${o}`,value:o,readOnly:!0})),Ua=({question:e,description:t,onOptionsChange:a,onTextOptionsChange:o,style:r,className:l})=>{const{type:s,title:c,subtitle:p,image:m,textOptions:u,options:h,name:g,is_multi_select:b}=e,f=!!(null==h?void 0:h.some((e=>e.image))),[v,x]=n([]),[y,w]=n((()=>(null==u?void 0:u.slice())||[]));return d((()=>{a&&a(v.slice())}),[!!a,v]),d((()=>{o&&o(y)}),[!!o,y]),i.createElement(Fa,{className:l,style:r},i.createElement("div",{className:"survey-question-text-wrapper"},c&&i.createElement($,{"data-nosubtitle":!p,className:"survey-question-title",tag:"h4"},c),p&&i.createElement(lt,{className:"survey-question-subtitle",size:"p2"},p),t&&i.createElement(lt,{className:"survey-question-description",size:"p2"},t)),m&&i.createElement("img",{src:m,className:"survey-question-image",loading:"lazy"}),i.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===s&&i.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},h.map((e=>{var t;return i.createElement(_a,{inputType:"radio",label:e.label,name:g,key:`${g}-${e.value}`,checked:(null===(t=v[0])||void 0===t?void 0:t.value)===e.value,value:e.value,onChange:e=>{x([h.find((t=>t.value===e))])},className:"survey-question-option-item",image:e.image,hasImage:f})}))),"checkbox"===s&&i.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},h.map((e=>i.createElement(_a,{inputType:"checkbox",label:e.label,name:g,key:`${g}-${e.value}`,checked:!!v.find((t=>t.value===e.value)),value:e.value,onChange:()=>{const t=v.findIndex((t=>t.value===e.value));x(t>=0?e=>(e.splice(t,1),e.slice()):b?t=>t.concat(e).slice():[e])},className:"survey-question-option-item survey-option-radio",image:e.image,hasImage:f})))),"textbox"===s&&y.map(((e,t)=>e.isTextArea?i.createElement(R,{key:t,placeholder:e.placeholder,height:"150px",value:e.value,onChange:e=>w((a=>(a[t].value=e,a.slice())))}):i.createElement(dt,{key:t,value:e.value,name:e.name,size:"md",className:"survey-contact-input",label:e.label,placeholder:e.placeholder,onChange:e=>{w((a=>(a[t].value=e,a.slice())))},type:e.type})))))};var Va;!function(e){e[e.UNLIMITED=0]="UNLIMITED",e[e.EXACT_NUMBER=1]="EXACT_NUMBER",e[e.RANGE=2]="RANGE"}(Va||(Va={}));const Ha=({className:e,headerText:t,style:a,question:o,termAndPolicyText:r,prevText:l,nextText:d,isContactForm:c,isDisableNext:p,isDisablePrev:m,onPrevClick:u,onNextClick:h,isSubmitButton:g,isButtonCenter:b,progress:f,descriptionText:v})=>{var x,y,w;const[E,k]=n([]),{is_multi_select:C,multi_select_option:A,from:S,to:N}=o,T=null==o?void 0:o.type,z="checkbox"===T&&(null===(x=o.options)||void 0===x?void 0:x.length)&&(!E||0===E.length||C&&A===Va.RANGE&&(E.length<S||E.length>N)||C&&A===Va.EXACT_NUMBER&&E.length!==S)||"radio"===T&&(null===(y=o.options)||void 0===y?void 0:y.length)&&(!E||0===E.length)||"textbox"===T&&(null===(w=o.textOptions)||void 0===w?void 0:w.length)&&(E.length<o.textOptions.length||E.some((e=>!e.value))),I="number"==typeof f?f>1?1:f<0?0:Number(f.toFixed(2)):-1,B=s(null),D=()=>"textbox"!==T||B.current.reportValidity();return i.createElement(Ma,{className:e,style:a},i.createElement("div",{className:"survey-inner-wrapper"},t&&i.createElement("div",{className:"survey-header"},i.createElement(lt,{className:"survey-header-text",size:"c2"},t)),i.createElement("form",{ref:B,onSubmit:e=>e.preventDefault()},i.createElement(Ua,{question:o,description:v,onOptionsChange:e=>{k(e)},onTextOptionsChange:e=>{k(e)}})),c&&d&&i.createElement(st,{className:"survey-contact-submit",size:"lg",isDisabled:p||z,onClick:()=>D()&&h&&h(E)},d),r&&i.createElement("div",{className:"term-policy-container"},r),"number"==typeof f&&i.createElement("div",{className:"survey-progress-wrapper"},i.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${I})`}})),(l||d)&&i.createElement("div",{"data-center":b,className:"survey-button-wrapper"},l&&i.createElement(st,{className:"survey-prev-button",size:"lg",color:m?"primary":"secondary",isDisabled:m,icon:i.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:m?"#fff":"#2D87F3"})),onClick:u},l),!c&&d&&i.createElement(st,{onClick:()=>D()&&h&&h(E),className:"survey-next-button",size:"lg",isDisabled:p||z},d," ",g?void 0:i.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},Wa=200,qa=$e.div``,Za=$e.div`
1355
1355
  width: 100vw;
1356
1356
  height: 100vh;
1357
1357
  position: fixed;
@@ -1874,7 +1874,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
1874
1874
  a {
1875
1875
  text-decoration: none;
1876
1876
  }
1877
- `;const pi=t=>{var{badgeAmount:a,disabled:n=!1,hasBadge:o=!1,icon:r,isActive:l=!1,isSpecial:s=!1,label:d}=t,c=e(t,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return i.createElement(si,Object.assign({"data-is-special":s,"data-is-active":l,"data-is-disabled":n},c),i.createElement("div",{className:"mobile-navigation-icon","data-no-label":!Boolean(d)},o&&i.createElement(ci,{"data-no-label":!Boolean(d)},i.createElement(lt,{size:"s5",type:"semiBold",color:s?Te.colors.primaryBase:Te.colors.white},a)),r),d&&i.createElement("span",{className:"mobile-navigation-label"},d))},mi=t=>{var{children:a,on:n="",isCollapsed:o=!1,template:r="homepage"}=t,l=e(t,["children","on","isCollapsed","template"]);return i.createElement(di,Object.assign({on:n,"data-is-collapsed":o,"data-template":r},l),a)};mi.Icon=pi;var ui={SAME:0,CAMELCASE:1,possibleStandardNames:{accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}};function hi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==a)return;var i,n,o=[],r=!0,l=!1;try{for(a=a.call(e);!(r=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);r=!0);}catch(e){l=!0,n=e}finally{try{r||null==a.return||a.return()}finally{if(l)throw n}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return gi(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return gi(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gi(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);a<t;a++)i[a]=e[a];return i}function bi(e,t,a,i,n,o,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=n,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=r}var fi={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){fi[e]=new bi(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=hi(e,2),a=t[0],i=t[1];fi[a]=new bi(a,1,!1,i,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){fi[e]=new bi(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){fi[e]=new bi(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){fi[e]=new bi(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){fi[e]=new bi(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){fi[e]=new bi(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){fi[e]=new bi(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){fi[e]=new bi(e,5,!1,e.toLowerCase(),null,!1,!1)}));var vi=/[\-\:]([a-z])/g,xi=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(vi,xi);fi[t]=new bi(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(vi,xi);fi[t]=new bi(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(vi,xi);fi[t]=new bi(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){fi[e]=new bi(e,1,!1,e.toLowerCase(),null,!1,!1)}));fi.xlinkHref=new bi("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){fi[e]=new bi(e,1,!1,e.toLowerCase(),null,!0,!0)}));var yi=ui.CAMELCASE,wi=ui.SAME,Ei=ui.possibleStandardNames,ki=function(e){return fi.hasOwnProperty(e)?fi[e]:null},Ci=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),Ai=Object.keys(Ei).reduce((function(e,t){var a=Ei[t];return a===wi?e[t]=t:a===yi?e[t.toLowerCase()]=t:e[t]=a,e}),{}),Si=Object.defineProperty({BOOLEAN:3,BOOLEANISH_STRING:2,NUMERIC:5,OVERLOADED_BOOLEAN:4,POSITIVE_NUMERIC:6,RESERVED:0,STRING:1,getPropertyInfo:ki,isCustomAttribute:Ci,possibleStandardNames:Ai},"__esModule",{value:!0}),Ni=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ti=/\n/g,zi=/^\s*/,Ii=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Bi=/^:\s*/,Di=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Pi=/^[;\s]*/,Oi=/^\s+|\s+$/g,Li="";function ji(e){return e?e.replace(Oi,Li):Li}var Mi=function(e,t){var a,i=null;if(!e||"string"!=typeof e)return i;for(var n,o,r=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var a=1,i=1;function n(e){var t=e.match(Ti);t&&(a+=t.length);var n=e.lastIndexOf("\n");i=~n?e.length-n:i+e.length}function o(){var e={line:a,column:i};return function(t){return t.position=new r(e),d(),t}}function r(e){this.start=e,this.end={line:a,column:i},this.source=t.source}function l(n){var o=new Error(t.source+":"+a+":"+i+": "+n);if(o.reason=n,o.filename=t.source,o.line=a,o.column=i,o.source=e,!t.silent)throw o}function s(t){var a=t.exec(e);if(a){var i=a[0];return n(i),e=e.slice(i.length),a}}function d(){s(zi)}function c(e){var t;for(e=e||[];t=p();)!1!==t&&e.push(t);return e}function p(){var t=o();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var a=2;Li!=e.charAt(a)&&("*"!=e.charAt(a)||"/"!=e.charAt(a+1));)++a;if(a+=2,Li===e.charAt(a-1))return l("End of comment missing");var r=e.slice(2,a-2);return i+=2,n(r),e=e.slice(a),i+=2,t({type:"comment",comment:r})}}function m(){var e=o(),t=s(Ii);if(t){if(p(),!s(Bi))return l("property missing ':'");var a=s(Di),i=e({type:"declaration",property:ji(t[0].replace(Ni,Li)),value:a?ji(a[0].replace(Ni,Li)):Li});return s(Pi),i}}return r.prototype.content=e,d(),function(){var e,t=[];for(c(t);e=m();)!1!==e&&(t.push(e),c(t));return t}()}(e),l="function"==typeof t,s=0,d=r.length;s<d;s++)n=(a=r[s]).property,o=a.value,l?t(n,o,a):o&&(i||(i={}),i[n]=o);return i},$i=_((function(e,t){t.__esModule=!0,t.camelCase=void 0;var a=/^--[a-zA-Z0-9-]+$/,i=/-([a-z])/g,n=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,r=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||n.test(e)||a.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(r,s):e.replace(o,s)).replace(i,l))}})),Ri=_((function(e,t){var a=F&&F.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var i=a(Mi);t.default=function(e,t){var a={};return e&&"string"==typeof e?((0,i.default)(e,(function(e,i){e&&i&&(a[(0,$i.camelCase)(e,t)]=i)})),a):a}})),_i=Ri.default;var Fi={reactCompat:!0};var Ui=i.version.split(".")[0]>=16,Vi=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var Hi={PRESERVE_CUSTOM_ATTRIBUTES:Ui,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var a,i,n="function"==typeof t,o={},r={};for(a in e)i=e[a],n&&(o=t(a,i))&&2===o.length?r[o[0]]=o[1]:"string"==typeof i&&(r[i]=a);return r},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=_i(e,Fi)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!Vi.has(e.name)},elementsWithNoTextChildren:Vi},Wi=function(e){var t,a,i,n,o,r={},l=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(i=e[t],Si.isCustomAttribute(t))r[t]=i;else if(n=qi(a=t.toLowerCase()))switch(o=Si.getPropertyInfo(n),"checked"!==n&&"value"!==n||l||(n=qi("default"+a)),r[n]=i,o&&o.type){case Si.BOOLEAN:r[n]=!0;break;case Si.OVERLOADED_BOOLEAN:""===i&&(r[n]=!0)}else Hi.PRESERVE_CUSTOM_ATTRIBUTES&&(r[t]=i);return Hi.setStyleProp(e.style,r),r};function qi(e){return Si.possibleStandardNames[e]}var Zi=Hi.setStyleProp,Gi=Hi.canTextBeChildOfNode;function Xi(e){return Hi.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&Hi.isCustomComponent(e.name,e.attribs)}var Yi=function e(t,a){for(var n,o,r,l,s,d=(a=a||{}).library||i,c=d.cloneElement,p=d.createElement,m=d.isValidElement,u=[],h="function"==typeof a.replace,g=a.trim,b=0,f=t.length;b<f;b++)if(n=t[b],h&&m(r=a.replace(n)))f>1&&(r=c(r,{key:r.key||b})),u.push(r);else if("text"!==n.type){switch(l=n.attribs,Xi(n)?Zi(l.style,l):l&&(l=Wi(l)),s=null,n.type){case"script":case"style":n.children[0]&&(l.dangerouslySetInnerHTML={__html:n.children[0].data});break;case"tag":"textarea"===n.name&&n.children[0]?l.defaultValue=n.children[0].data:n.children&&n.children.length&&(s=e(n.children,a));break;default:continue}f>1&&(l.key=b),u.push(p(n.name,l,s))}else{if((o=!n.data.trim().length)&&n.parent&&!Gi(n.parent))continue;if(g&&o)continue;u.push(n.data)}return 1===u.length?u[0]:u},Qi=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ki=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};var Ji=function(e){var t;return e>=55296&&e<=57343||e>1114111?"�":Ki(null!==(t=Qi.get(e))&&void 0!==t?t:e)},en=Object.defineProperty({default:Ji},"__esModule",{value:!0}),tn=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204]),an=Object.defineProperty({default:tn},"__esModule",{value:!0}),nn=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34]),on=an,rn=Object.defineProperty({default:nn},"__esModule",{value:!0}),ln=en,sn=_((function(e,t){var a=F&&F.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var i=a(on);t.htmlDecodeTree=i.default;var n=a(rn);t.xmlDecodeTree=n.default;var o,r=a(ln);function l(e){return function(t,a){for(var i="",n=0,l=0;(l=t.indexOf("&",l))>=0;)if(i+=t.slice(n,l),n=l,l+=1,35!==t.charCodeAt(l)){for(var d=null,c=1,p=0,m=e[p];l<t.length&&!((p=s(e,m,p+1,t.charCodeAt(l)))<0);l++,c++)(m=e[p])&o.HAS_VALUE&&(a&&59!==t.charCodeAt(l)?p+=1:(d=m&o.MULTI_BYTE?String.fromCharCode(e[++p],e[++p]):String.fromCharCode(e[++p]),c=0));null!=d&&(i+=d,n=l-c+1)}else{var u=l+1,h=10,g=t.charCodeAt(u);for(120==(32|g)&&(h=16,l+=1,u+=1);(g=t.charCodeAt(++l))>=48&&g<=57||16===h&&(32|g)>=97&&(32|g)<=102;);if(u!==l){var b=t.substring(u,l),f=parseInt(b,h);if(59===t.charCodeAt(l))l+=1;else if(a)continue;i+=r.default(f),n=l}}return i+t.slice(n)}}function s(e,a,i,n){if(a<=128)return n===a?i:-1;var r=(a&o.BRANCH_LENGTH)>>8;if(0===r)return-1;if(1===r)return n===e[i]?i+1:-1;var l=a&o.JUMP_TABLE;if(l){var s=n-t.JUMP_OFFSET_BASE-l;return s<0||s>r?-1:e[i+s]-1}for(var d=i,c=d+r-1;d<=c;){var p=d+c>>>1,m=e[p];if(m<n)d=p+1;else{if(!(m>n))return e[p+r];c=p-1}}return-1}!function(e){e[e.HAS_VALUE=32768]="HAS_VALUE",e[e.BRANCH_LENGTH=32512]="BRANCH_LENGTH",e[e.MULTI_BYTE=128]="MULTI_BYTE",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(o=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47,t.determineBranch=s;var d=l(i.default),c=l(n.default);t.decodeHTML=function(e){return d(e,!1)},t.decodeHTMLStrict=function(e){return d(e,!0)},t.decodeXML=function(e){return c(e,!0)}})),dn=sn,cn=(F&&F.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(ln);function pn(e){return 32===e||10===e||9===e||12===e||13===e}function mn(e){return 47===e||62===e||pn(e)}function un(e){return e>=48&&e<=57}var hn={Cdata:new Uint16Array([67,68,65,84,65,91]),CdataEnd:new Uint16Array([93,93,62]),CommentEnd:new Uint16Array([45,45,62]),ScriptEnd:new Uint16Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint16Array([60,47,115,116,121,108,101]),TitleEnd:new Uint16Array([60,47,116,105,116,108,101])},gn=function(){function e(e,t){var a=e.xmlMode,i=void 0!==a&&a,n=e.decodeEntities,o=void 0===n||n;this.cbs=t,this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.isSpecial=!1,this.running=!0,this.ended=!1,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.trieResult=null,this.entityExcess=0,this.xmlMode=i,this.decodeEntities=o,this.entityTrie=i?dn.xmlDecodeTree:dn.htmlDecodeTree}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.currentSequence=void 0,this.running=!0,this.ended=!1},e.prototype.write=function(e){if(this.ended)return this.cbs.onerror(Error(".write() after done!"));this.buffer+=e,this.parse()},e.prototype.end=function(e){if(this.ended)return this.cbs.onerror(Error(".end() after done!"));e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteSectionStart=function(){return this.sectionStart+this.bufferOffset},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){60===e||!this.decodeEntities&&this.fastForwardTo(60)?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&38===e&&(this._state=25)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?mn(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this._state=3,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||pn(e)){var t=this._index-this.currentSequence.length;if(this.sectionStart<t){var a=this._index;this._index=t,this.cbs.ontext(this.getSection()),this._index=a}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===hn.TitleEnd?this.decodeEntities&&38===e&&(this._state=25):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)},e.prototype.stateCDATASequence=function(e){e===hn.Cdata[this.sequenceIndex]?++this.sequenceIndex===hn.Cdata.length&&(this._state=21,this.currentSequence=hn.CdataEnd,this.sequenceIndex=0,this.sectionStart=this._index+1):(this.sequenceIndex=0,this._state=16,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this._index<this.buffer.length;)if(this.buffer.charCodeAt(this._index)===e)return!0;return this._index=this.buffer.length-1,!1},e.prototype.stateInCommentLike=function(e){if(e===this.currentSequence[this.sequenceIndex]){if(++this.sequenceIndex===this.currentSequence.length){var t=this.buffer.slice(this.sectionStart,this._index-2);this.currentSequence===hn.CdataEnd?this.cbs.oncdata(t):this.cbs.oncomment(t),this.sequenceIndex=0,this.sectionStart=this._index+1,this._state=1}}else 0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!mn(e):function(e){return e>=97&&e<=122||e>=65&&e<=90}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this._state=23},e.prototype.stateBeforeTagName=function(e){if(33===e)this._state=15,this.sectionStart=this._index+1;else if(63===e)this._state=17,this.sectionStart=this._index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this._index,this.xmlMode||t!==hn.TitleEnd[2]?this._state=this.xmlMode||t!==hn.ScriptEnd[2]?3:22:this.startSpecial(hn.TitleEnd,3)}else 47===e?this._state=5:(this._state=1,this.stateText(e))},e.prototype.stateInTagName=function(e){mn(e)&&(this.cbs.onopentagname(this.getSection()),this.sectionStart=-1,this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){pn(e)||(62===e?this._state=1:(this._state=this.isTagStartChar(e)?6:20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(62===e||pn(e))&&(this.cbs.onclosetag(this.getSection()),this.sectionStart=-1,this._state=7,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(62===e||this.fastForwardTo(62))&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){62===e?(this.cbs.onopentagend(),this.isSpecial?(this._state=24,this.sequenceIndex=0):this._state=1,this.baseState=this._state,this.sectionStart=this._index+1):47===e?this._state=4:pn(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){62===e?(this.cbs.onselfclosingtag(),this._state=1,this.baseState=1,this.sectionStart=this._index+1,this.isSpecial=!1):pn(e)||(this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(61===e||mn(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){61===e?this._state=11:47===e||62===e?(this.cbs.onattribend(void 0),this._state=8,this.stateBeforeAttributeName(e)):pn(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){34===e?(this._state=12,this.sectionStart=this._index+1):39===e?(this._state=13,this.sectionStart=this._index+1):pn(e)||(this.sectionStart=this._index,this._state=14,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(String.fromCharCode(t)),this._state=8):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,34)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,39)},e.prototype.stateInAttributeValueNoQuotes=function(e){pn(e)||62===e?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(null),this._state=8,this.stateBeforeAttributeName(e)):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateBeforeDeclaration=function(e){91===e?(this._state=19,this.sequenceIndex=0):this._state=45===e?18:16},e.prototype.stateInDeclaration=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){45===e?(this._state=21,this.currentSequence=hn.CommentEnd,this.sequenceIndex=2,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInSpecialComment=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===hn.ScriptEnd[3]?this.startSpecial(hn.ScriptEnd,4):t===hn.StyleEnd[3]?this.startSpecial(hn.StyleEnd,4):(this._state=3,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,35===e?this._state=26:38===e||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.trieResult=null,this._state=27,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,dn.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this._index--;if(this.trieCurrent=this.entityTrie[this.trieIndex],this.trieCurrent&dn.BinTrieFlags.HAS_VALUE)if(this.allowLegacyEntity()||59===e){var t=this._index-this.entityExcess+1;t>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,t)),this.trieResult=this.trieCurrent&dn.BinTrieFlags.MULTI_BYTE?String.fromCharCode(this.entityTrie[++this.trieIndex],this.entityTrie[++this.trieIndex]):String.fromCharCode(this.entityTrie[++this.trieIndex]),this.entityExcess=0,this.sectionStart=this._index+1}else this.trieIndex+=1},e.prototype.emitNamedEntity=function(){this.trieResult&&this.emitPartial(this.trieResult),this._state=this.baseState},e.prototype.stateBeforeNumericEntity=function(e){120==(32|e)?(this.entityExcess++,this._state=29):(this._state=28,this.stateInNumericEntity(e))},e.prototype.decodeNumericEntity=function(e,t){var a=this._index-this.entityExcess-1,i=a+2+(e>>4);if(i!==this._index){a>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,a));var n=this.buffer.substring(i,this._index),o=parseInt(n,e);this.emitPartial((0,cn.default)(o)),this.sectionStart=this._index+Number(t)}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){59===e?this.decodeNumericEntity(10,!0):un(e)?this.entityExcess++:(this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):this._state=this.baseState,this._index--)},e.prototype.stateInHexEntity=function(e){59===e?this.decodeNumericEntity(16,!0):(e<97||e>102)&&(e<65||e>70)&&!un(e)?(this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):this._state=this.baseState,this._index--):this.entityExcess++},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(1===this.baseState||24===this.baseState)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this._index&&(1===this._state||24===this._state&&0===this.sequenceIndex)&&(this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.sectionStart=this._index);var e=this.sectionStart<0?this._index:this.sectionStart;this.buffer=e===this.buffer.length?"":this.buffer.substr(e),this._index-=e,this.bufferOffset+=e,this.sectionStart>0&&(this.sectionStart=0)},e.prototype.shouldContinue=function(){return this._index<this.buffer.length&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this._index);1===this._state?this.stateText(e):23===this._state?this.stateSpecialStartSequence(e):24===this._state?this.stateInSpecialTag(e):19===this._state?this.stateCDATASequence(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):21===this._state?this.stateInCommentLike(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):22===this._state?this.stateBeforeSpecialS(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):18===this._state?this.stateBeforeComment(e):17===this._state?this.stateInProcessingInstruction(e):27===this._state?this.stateInNamedEntity(e):25===this._state?this.stateBeforeEntity(e):29===this._state?this.stateInHexEntity(e):28===this._state?this.stateInNumericEntity(e):this.stateBeforeNumericEntity(e),this._index++}this.cleanup()},e.prototype.finish=function(){27===this._state&&this.emitNamedEntity(),this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);21===this._state?this.currentSequence===hn.CdataEnd?this.cbs.oncdata(e):this.cbs.oncomment(e):28===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):29===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):3===this._state||8===this._state||11===this._state||10===this._state||9===this._state||13===this._state||12===this._state||14===this._state||6===this._state||this.cbs.ontext(e)},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitPartial=function(e){1!==this.baseState&&24!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}(),bn=Object.defineProperty({default:gn},"__esModule",{value:!0}),fn=_((function(e,t){var a=F&&F.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var i=a(bn),n=new Set(["input","option","optgroup","select","button","datalist","textarea"]),o=new Set(["p"]),r=new Set(["thead","tbody"]),l=new Set(["dd","dt"]),s=new Set(["rt","rp"]),d=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",o],["h1",o],["h2",o],["h3",o],["h4",o],["h5",o],["h6",o],["select",n],["input",n],["output",n],["button",n],["datalist",n],["textarea",n],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",l],["dt",l],["address",o],["article",o],["aside",o],["blockquote",o],["details",o],["div",o],["dl",o],["fieldset",o],["figcaption",o],["figure",o],["footer",o],["form",o],["header",o],["hr",o],["main",o],["nav",o],["ol",o],["pre",o],["section",o],["table",o],["ul",o],["rt",s],["rp",s],["tbody",r],["tfoot",r]]),c=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),p=new Set(["math","svg"]),m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),u=/\s|\//,h=function(){function e(e,t){var a,n,o,r,l;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(a=t.lowerCaseTags)&&void 0!==a?a:!t.xmlMode,this.lowerCaseAttributeNames=null!==(n=t.lowerCaseAttributeNames)&&void 0!==n?n:!t.xmlMode,this.tokenizer=new(null!==(o=t.Tokenizer)&&void 0!==o?o:i.default)(this.options,this),null===(l=(r=this.cbs).onparserinit)||void 0===l||l.call(r,this)}return e.prototype.ontext=function(e){var t,a,i=this.tokenizer.getAbsoluteIndex();this.endIndex=i-1,null===(a=(t=this.cbs).ontext)||void 0===a||a.call(t,e),this.startIndex=i},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&c.has(e)},e.prototype.onopentagname=function(e){this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),this.emitOpenTag(e)},e.prototype.emitOpenTag=function(e){var t,a,i,n;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&d.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var r=this.stack.pop();null===(a=(t=this.cbs).onclosetag)||void 0===a||a.call(t,r,!0)}this.isVoidElement(e)||(this.stack.push(e),p.has(e)?this.foreignContext.push(!0):m.has(e)&&this.foreignContext.push(!1)),null===(n=(i=this.cbs).onopentagname)||void 0===n||n.call(i,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,a;this.startIndex=this.openTagStart,this.endIndex=this.tokenizer.getAbsoluteIndex(),this.attribs&&(null===(a=(t=this.cbs).onopentag)||void 0===a||a.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(){this.endOpenTag(!1),this.startIndex=this.endIndex+1},e.prototype.onclosetag=function(e){var t,a,i,n,o,r;if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),(p.has(e)||m.has(e))&&this.foreignContext.pop(),this.isVoidElement(e))this.options.xmlMode||"br"!==e||(null===(a=(t=this.cbs).onopentagname)||void 0===a||a.call(t,e),null===(n=(i=this.cbs).onopentag)||void 0===n||n.call(i,e,{},!0),null===(r=(o=this.cbs).onclosetag)||void 0===r||r.call(o,e,!1));else{var l=this.stack.lastIndexOf(e);if(-1!==l)if(this.cbs.onclosetag)for(var s=this.stack.length-l;s--;)this.cbs.onclosetag(this.stack.pop(),0!==s);else this.stack.length=l;else this.options.xmlMode||"p"!==e||(this.emitOpenTag(e),this.closeCurrentTag(!0))}this.startIndex=this.endIndex+1},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=this.endIndex+1):this.onopentagend()},e.prototype.closeCurrentTag=function(e){var t,a,i=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===i&&(null===(a=(t=this.cbs).onclosetag)||void 0===a||a.call(t,i,!e),this.stack.pop())},e.prototype.onattribname=function(e){this.startIndex=this.tokenizer.getAbsoluteSectionStart(),this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,a;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(a=(t=this.cbs).onattribute)||void 0===a||a.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(u),a=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(a=a.toLowerCase()),a},e.prototype.ondeclaration=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}this.startIndex=this.endIndex+1},e.prototype.onprocessinginstruction=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}this.startIndex=this.endIndex+1},e.prototype.oncomment=function(e){var t,a,i,n;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(a=(t=this.cbs).oncomment)||void 0===a||a.call(t,e),null===(n=(i=this.cbs).oncommentend)||void 0===n||n.call(i),this.startIndex=this.endIndex+1},e.prototype.oncdata=function(e){var t,a,i,n,o,r,l,s,d,c;this.endIndex=this.tokenizer.getAbsoluteIndex(),this.options.xmlMode||this.options.recognizeCDATA?(null===(a=(t=this.cbs).oncdatastart)||void 0===a||a.call(t),null===(n=(i=this.cbs).ontext)||void 0===n||n.call(i,e),null===(r=(o=this.cbs).oncdataend)||void 0===r||r.call(o)):(null===(s=(l=this.cbs).oncomment)||void 0===s||s.call(l,"[CDATA["+e+"]]"),null===(c=(d=this.cbs).oncommentend)||void 0===c||c.call(d)),this.startIndex=this.endIndex+1},e.prototype.onerror=function(e){var t,a;null===(a=(t=this.cbs).onerror)||void 0===a||a.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var a=this.stack.length;a>0;this.cbs.onclosetag(this.stack[--a],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,a,i;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],this.startIndex=0,this.endIndex=0,null===(i=(a=this.cbs).onparserinit)||void 0===i||i.call(a,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=h})),vn=_((function(e,t){var a;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(a=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===a.Tag||e.type===a.Script||e.type===a.Style},t.Root=a.Root,t.Text=a.Text,t.Directive=a.Directive,t.Comment=a.Comment,t.Script=a.Script,t.Style=a.Style,t.Tag=a.Tag,t.CDATA=a.CDATA,t.Doctype=a.Doctype})),xn=_((function(e,t){var a,i=F&&F.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),n=F&&F.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++)for(var n in t=arguments[a])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=new Map([[vn.ElementType.Tag,1],[vn.ElementType.Script,1],[vn.ElementType.Style,1],[vn.ElementType.Directive,1],[vn.ElementType.Text,3],[vn.ElementType.CDATA,4],[vn.ElementType.Comment,8],[vn.ElementType.Root,9]]),r=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=o.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),y(this,e)},e}();t.Node=r;var l=function(e){function t(t,a){var i=e.call(this,t)||this;return i.data=a,i}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(r);t.DataNode=l;var s=function(e){function t(t){return e.call(this,vn.ElementType.Text,t)||this}return i(t,e),t}(l);t.Text=s;var d=function(e){function t(t){return e.call(this,vn.ElementType.Comment,t)||this}return i(t,e),t}(l);t.Comment=d;var c=function(e){function t(t,a){var i=e.call(this,vn.ElementType.Directive,a)||this;return i.name=t,i}return i(t,e),t}(l);t.ProcessingInstruction=c;var p=function(e){function t(t,a){var i=e.call(this,t)||this;return i.children=a,i}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(r);t.NodeWithChildren=p;var m=function(e){function t(t){return e.call(this,vn.ElementType.Root,t)||this}return i(t,e),t}(p);t.Document=m;var u=function(e){function t(t,a,i,n){void 0===i&&(i=[]),void 0===n&&(n="script"===t?vn.ElementType.Script:"style"===t?vn.ElementType.Style:vn.ElementType.Tag);var o=e.call(this,n,i)||this;return o.name=t,o.attribs=a,o}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var a,i;return{name:t,value:e.attribs[t],namespace:null===(a=e["x-attribsNamespace"])||void 0===a?void 0:a[t],prefix:null===(i=e["x-attribsPrefix"])||void 0===i?void 0:i[t]}}))},enumerable:!1,configurable:!0}),t}(p);function h(e){return(0,vn.isTag)(e)}function g(e){return e.type===vn.ElementType.CDATA}function b(e){return e.type===vn.ElementType.Text}function f(e){return e.type===vn.ElementType.Comment}function v(e){return e.type===vn.ElementType.Directive}function x(e){return e.type===vn.ElementType.Root}function y(e,t){var a;if(void 0===t&&(t=!1),b(e))a=new s(e.data);else if(f(e))a=new d(e.data);else if(h(e)){var i=t?w(e.children):[],o=new u(e.name,n({},e.attribs),i);i.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=n({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=n({},e["x-attribsPrefix"])),a=o}else if(g(e)){i=t?w(e.children):[];var r=new p(vn.ElementType.CDATA,i);i.forEach((function(e){return e.parent=r})),a=r}else if(x(e)){i=t?w(e.children):[];var l=new m(i);i.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),a=l}else{if(!v(e))throw new Error("Not implemented yet: ".concat(e.type));var y=new c(e.name,e.data);null!=e["x-name"]&&(y["x-name"]=e["x-name"],y["x-publicId"]=e["x-publicId"],y["x-systemId"]=e["x-systemId"]),a=y}return a.startIndex=e.startIndex,a.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(a.sourceCodeLocation=e.sourceCodeLocation),a}function w(e){for(var t=e.map((function(e){return y(e,!0)})),a=1;a<t.length;a++)t[a].prev=t[a-1],t[a-1].next=t[a];return t}t.Element=u,t.isTag=h,t.isCDATA=g,t.isText=b,t.isComment=f,t.isDirective=v,t.isDocument=x,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=y})),yn=xn,wn=_((function(e,t){var a=F&&F.__createBinding||(Object.create?function(e,t,a,i){void 0===i&&(i=a);var n=Object.getOwnPropertyDescriptor(t,a);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,i,n)}:function(e,t,a,i){void 0===i&&(i=a),e[i]=t[a]}),i=F&&F.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||a(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0,i(yn,t);var n=/\s+/g,o={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},r=function(){function e(e,t,a){this.dom=[],this.root=new yn.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(a=t,t=o),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:o,this.elementCB=null!=a?a:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new yn.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var a=this.options.xmlMode?vn.ElementType.Tag:void 0,i=new yn.Element(e,t,void 0,a);this.addNode(i),this.tagStack.push(i)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,a=this.lastNode;if(a&&a.type===vn.ElementType.Text)t?a.data=(a.data+e).replace(n," "):a.data+=e,this.options.withEndIndices&&(a.endIndex=this.parser.endIndex);else{t&&(e=e.replace(n," "));var i=new yn.Text(e);this.addNode(i),this.lastNode=i}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===vn.ElementType.Comment)this.lastNode.data+=e;else{var t=new yn.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new yn.Text(""),t=new yn.NodeWithChildren(vn.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var a=new yn.ProcessingInstruction(e,t);this.addNode(a)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],a=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),a&&(e.prev=a,a.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=r,t.default=r}));var En=function(e){for(var t=0,a=e.length;t<a;t++){e[t].parent=null}return e},kn=wn,Cn=fn.Parser,An=kn.DomHandler,Sn=En;var Nn=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string.");if(""===e)return[];var a=new An(void 0,t);return new Cn(a,t).end(e),Sn(a.dom)};Nn="function"==typeof Nn.default?Nn.default:Nn;var Tn={lowerCaseAttributeNames:!1};function zn(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:Yi(Nn(e,(t=t||{}).htmlparser2||Tn),t)}zn.domToReact=Yi,zn.htmlToDOM=Nn,zn.attributesToProps=Wi,zn.Element=kn.Element;var In=zn,Bn=zn;In.default=Bn,In.domToReact,In.htmlToDOM,In.attributesToProps,In.Element,$e.div`
1877
+ `;const pi=t=>{var{badgeAmount:a,disabled:n=!1,hasBadge:o=!1,icon:r,isActive:l=!1,isSpecial:s=!1,label:d}=t,c=e(t,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return i.createElement(si,Object.assign({"data-is-special":s,"data-is-active":l,"data-is-disabled":n},c),i.createElement("div",{className:"mobile-navigation-icon","data-no-label":!Boolean(d)},o&&i.createElement(ci,{"data-no-label":!Boolean(d)},i.createElement(lt,{size:"s5",type:"semiBold",color:s?Te.colors.primaryBase:Te.colors.white},a)),r),d&&i.createElement("span",{className:"mobile-navigation-label"},d))},mi=t=>{var{children:a,on:n="",isCollapsed:o=!1,template:r="homepage"}=t,l=e(t,["children","on","isCollapsed","template"]);return i.createElement(di,Object.assign({on:n,"data-is-collapsed":o,"data-template":r},l),a)};mi.Icon=pi;var ui={SAME:0,CAMELCASE:1,possibleStandardNames:{accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}};function hi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==a)return;var i,n,o=[],r=!0,l=!1;try{for(a=a.call(e);!(r=(i=a.next()).done)&&(o.push(i.value),!t||o.length!==t);r=!0);}catch(e){l=!0,n=e}finally{try{r||null==a.return||a.return()}finally{if(l)throw n}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return gi(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return gi(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gi(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);a<t;a++)i[a]=e[a];return i}function bi(e,t,a,i,n,o,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=n,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=r}var fi={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){fi[e]=new bi(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=hi(e,2),a=t[0],i=t[1];fi[a]=new bi(a,1,!1,i,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){fi[e]=new bi(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){fi[e]=new bi(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){fi[e]=new bi(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){fi[e]=new bi(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){fi[e]=new bi(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){fi[e]=new bi(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){fi[e]=new bi(e,5,!1,e.toLowerCase(),null,!1,!1)}));var vi=/[\-\:]([a-z])/g,xi=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(vi,xi);fi[t]=new bi(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(vi,xi);fi[t]=new bi(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(vi,xi);fi[t]=new bi(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){fi[e]=new bi(e,1,!1,e.toLowerCase(),null,!1,!1)}));fi.xlinkHref=new bi("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){fi[e]=new bi(e,1,!1,e.toLowerCase(),null,!0,!0)}));var yi=ui.CAMELCASE,wi=ui.SAME,Ei=ui.possibleStandardNames,ki=function(e){return fi.hasOwnProperty(e)?fi[e]:null},Ci=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),Ai=Object.keys(Ei).reduce((function(e,t){var a=Ei[t];return a===wi?e[t]=t:a===yi?e[t.toLowerCase()]=t:e[t]=a,e}),{}),Si=Object.defineProperty({BOOLEAN:3,BOOLEANISH_STRING:2,NUMERIC:5,OVERLOADED_BOOLEAN:4,POSITIVE_NUMERIC:6,RESERVED:0,STRING:1,getPropertyInfo:ki,isCustomAttribute:Ci,possibleStandardNames:Ai},"__esModule",{value:!0}),Ni=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ti=/\n/g,zi=/^\s*/,Ii=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Bi=/^:\s*/,Di=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Pi=/^[;\s]*/,Oi=/^\s+|\s+$/g,Li="";function ji(e){return e?e.replace(Oi,Li):Li}var Mi=function(e,t){var a,i=null;if(!e||"string"!=typeof e)return i;for(var n,o,r=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var a=1,i=1;function n(e){var t=e.match(Ti);t&&(a+=t.length);var n=e.lastIndexOf("\n");i=~n?e.length-n:i+e.length}function o(){var e={line:a,column:i};return function(t){return t.position=new r(e),d(),t}}function r(e){this.start=e,this.end={line:a,column:i},this.source=t.source}function l(n){var o=new Error(t.source+":"+a+":"+i+": "+n);if(o.reason=n,o.filename=t.source,o.line=a,o.column=i,o.source=e,!t.silent)throw o}function s(t){var a=t.exec(e);if(a){var i=a[0];return n(i),e=e.slice(i.length),a}}function d(){s(zi)}function c(e){var t;for(e=e||[];t=p();)!1!==t&&e.push(t);return e}function p(){var t=o();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var a=2;Li!=e.charAt(a)&&("*"!=e.charAt(a)||"/"!=e.charAt(a+1));)++a;if(a+=2,Li===e.charAt(a-1))return l("End of comment missing");var r=e.slice(2,a-2);return i+=2,n(r),e=e.slice(a),i+=2,t({type:"comment",comment:r})}}function m(){var e=o(),t=s(Ii);if(t){if(p(),!s(Bi))return l("property missing ':'");var a=s(Di),i=e({type:"declaration",property:ji(t[0].replace(Ni,Li)),value:a?ji(a[0].replace(Ni,Li)):Li});return s(Pi),i}}return r.prototype.content=e,d(),function(){var e,t=[];for(c(t);e=m();)!1!==e&&(t.push(e),c(t));return t}()}(e),l="function"==typeof t,s=0,d=r.length;s<d;s++)n=(a=r[s]).property,o=a.value,l?t(n,o,a):o&&(i||(i={}),i[n]=o);return i},$i=F((function(e,t){t.__esModule=!0,t.camelCase=void 0;var a=/^--[a-zA-Z0-9-]+$/,i=/-([a-z])/g,n=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,r=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},s=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||n.test(e)||a.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(r,s):e.replace(o,s)).replace(i,l))}})),Ri=F((function(e,t){var a=_&&_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var i=a(Mi);t.default=function(e,t){var a={};return e&&"string"==typeof e?((0,i.default)(e,(function(e,i){e&&i&&(a[(0,$i.camelCase)(e,t)]=i)})),a):a}})),Fi=Ri.default;var _i={reactCompat:!0};var Ui=i.version.split(".")[0]>=16,Vi=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var Hi={PRESERVE_CUSTOM_ATTRIBUTES:Ui,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var a,i,n="function"==typeof t,o={},r={};for(a in e)i=e[a],n&&(o=t(a,i))&&2===o.length?r[o[0]]=o[1]:"string"==typeof i&&(r[i]=a);return r},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=Fi(e,_i)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!Vi.has(e.name)},elementsWithNoTextChildren:Vi},Wi=function(e){var t,a,i,n,o,r={},l=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(i=e[t],Si.isCustomAttribute(t))r[t]=i;else if(n=qi(a=t.toLowerCase()))switch(o=Si.getPropertyInfo(n),"checked"!==n&&"value"!==n||l||(n=qi("default"+a)),r[n]=i,o&&o.type){case Si.BOOLEAN:r[n]=!0;break;case Si.OVERLOADED_BOOLEAN:""===i&&(r[n]=!0)}else Hi.PRESERVE_CUSTOM_ATTRIBUTES&&(r[t]=i);return Hi.setStyleProp(e.style,r),r};function qi(e){return Si.possibleStandardNames[e]}var Zi=Hi.setStyleProp,Gi=Hi.canTextBeChildOfNode;function Xi(e){return Hi.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&Hi.isCustomComponent(e.name,e.attribs)}var Yi=function e(t,a){for(var n,o,r,l,s,d=(a=a||{}).library||i,c=d.cloneElement,p=d.createElement,m=d.isValidElement,u=[],h="function"==typeof a.replace,g=a.trim,b=0,f=t.length;b<f;b++)if(n=t[b],h&&m(r=a.replace(n)))f>1&&(r=c(r,{key:r.key||b})),u.push(r);else if("text"!==n.type){switch(l=n.attribs,Xi(n)?Zi(l.style,l):l&&(l=Wi(l)),s=null,n.type){case"script":case"style":n.children[0]&&(l.dangerouslySetInnerHTML={__html:n.children[0].data});break;case"tag":"textarea"===n.name&&n.children[0]?l.defaultValue=n.children[0].data:n.children&&n.children.length&&(s=e(n.children,a));break;default:continue}f>1&&(l.key=b),u.push(p(n.name,l,s))}else{if((o=!n.data.trim().length)&&n.parent&&!Gi(n.parent))continue;if(g&&o)continue;u.push(n.data)}return 1===u.length?u[0]:u},Qi=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ki=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};var Ji=function(e){var t;return e>=55296&&e<=57343||e>1114111?"�":Ki(null!==(t=Qi.get(e))&&void 0!==t?t:e)},en=Object.defineProperty({default:Ji},"__esModule",{value:!0}),tn=new Uint16Array([14866,60,237,340,721,1312,1562,1654,1838,1957,2183,2239,2301,2958,3037,3893,4123,4298,4330,4801,5191,5395,5752,5903,5943,5972,6050,0,0,0,0,0,0,6135,6565,7422,8183,8738,9242,9503,9938,10189,10573,10637,10715,11950,12246,13539,13950,14445,14533,15364,16514,16980,17390,17763,17849,18036,18125,4096,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,100,106,115,122,137,142,151,157,163,167,182,196,204,220,229,108,105,103,33024,198,59,32768,198,80,33024,38,59,32768,38,99,117,116,101,33024,193,59,32768,193,114,101,118,101,59,32768,258,512,105,121,127,134,114,99,33024,194,59,32768,194,59,32768,1040,114,59,32896,55349,56580,114,97,118,101,33024,192,59,32768,192,112,104,97,59,32768,913,97,99,114,59,32768,256,100,59,32768,10835,512,103,112,172,177,111,110,59,32768,260,102,59,32896,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,32768,8289,105,110,103,33024,197,59,32768,197,512,99,115,209,214,114,59,32896,55349,56476,105,103,110,59,32768,8788,105,108,100,101,33024,195,59,32768,195,109,108,33024,196,59,32768,196,2048,97,99,101,102,111,114,115,117,253,278,282,310,315,321,327,332,512,99,114,258,267,107,115,108,97,115,104,59,32768,8726,583,271,274,59,32768,10983,101,100,59,32768,8966,121,59,32768,1041,768,99,114,116,289,296,306,97,117,115,101,59,32768,8757,110,111,117,108,108,105,115,59,32768,8492,97,59,32768,914,114,59,32896,55349,56581,112,102,59,32896,55349,56633,101,118,101,59,32768,728,99,114,59,32768,8492,109,112,101,113,59,32768,8782,3584,72,79,97,99,100,101,102,104,105,108,111,114,115,117,368,373,380,426,461,466,487,491,495,533,593,695,701,707,99,121,59,32768,1063,80,89,33024,169,59,32768,169,768,99,112,121,387,393,419,117,116,101,59,32768,262,512,59,105,398,400,32768,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,32768,8517,108,101,121,115,59,32768,8493,1024,97,101,105,111,435,441,449,454,114,111,110,59,32768,268,100,105,108,33024,199,59,32768,199,114,99,59,32768,264,110,105,110,116,59,32768,8752,111,116,59,32768,266,512,100,110,471,478,105,108,108,97,59,32768,184,116,101,114,68,111,116,59,32768,183,114,59,32768,8493,105,59,32768,935,114,99,108,101,1024,68,77,80,84,508,513,520,526,111,116,59,32768,8857,105,110,117,115,59,32768,8854,108,117,115,59,32768,8853,105,109,101,115,59,32768,8855,111,512,99,115,539,562,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8754,101,67,117,114,108,121,512,68,81,573,586,111,117,98,108,101,81,117,111,116,101,59,32768,8221,117,111,116,101,59,32768,8217,1024,108,110,112,117,602,614,648,664,111,110,512,59,101,609,611,32768,8759,59,32768,10868,768,103,105,116,621,629,634,114,117,101,110,116,59,32768,8801,110,116,59,32768,8751,111,117,114,73,110,116,101,103,114,97,108,59,32768,8750,512,102,114,653,656,59,32768,8450,111,100,117,99,116,59,32768,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8755,111,115,115,59,32768,10799,99,114,59,32896,55349,56478,112,512,59,67,713,715,32768,8915,97,112,59,32768,8781,2816,68,74,83,90,97,99,101,102,105,111,115,743,758,763,768,773,795,809,821,826,910,1295,512,59,111,748,750,32768,8517,116,114,97,104,100,59,32768,10513,99,121,59,32768,1026,99,121,59,32768,1029,99,121,59,32768,1039,768,103,114,115,780,786,790,103,101,114,59,32768,8225,114,59,32768,8609,104,118,59,32768,10980,512,97,121,800,806,114,111,110,59,32768,270,59,32768,1044,108,512,59,116,815,817,32768,8711,97,59,32768,916,114,59,32896,55349,56583,512,97,102,831,897,512,99,109,836,891,114,105,116,105,99,97,108,1024,65,68,71,84,852,859,877,884,99,117,116,101,59,32768,180,111,581,864,867,59,32768,729,98,108,101,65,99,117,116,101,59,32768,733,114,97,118,101,59,32768,96,105,108,100,101,59,32768,732,111,110,100,59,32768,8900,102,101,114,101,110,116,105,97,108,68,59,32768,8518,2113,920,0,0,0,925,946,0,1139,102,59,32896,55349,56635,768,59,68,69,931,933,938,32768,168,111,116,59,32768,8412,113,117,97,108,59,32768,8784,98,108,101,1536,67,68,76,82,85,86,961,978,996,1080,1101,1125,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,32768,8751,111,1093,985,0,0,988,59,32768,168,110,65,114,114,111,119,59,32768,8659,512,101,111,1001,1034,102,116,768,65,82,84,1010,1017,1029,114,114,111,119,59,32768,8656,105,103,104,116,65,114,114,111,119,59,32768,8660,101,101,59,32768,10980,110,103,512,76,82,1041,1068,101,102,116,512,65,82,1049,1056,114,114,111,119,59,32768,10232,105,103,104,116,65,114,114,111,119,59,32768,10234,105,103,104,116,65,114,114,111,119,59,32768,10233,105,103,104,116,512,65,84,1089,1096,114,114,111,119,59,32768,8658,101,101,59,32768,8872,112,1042,1108,0,0,1115,114,114,111,119,59,32768,8657,111,119,110,65,114,114,111,119,59,32768,8661,101,114,116,105,99,97,108,66,97,114,59,32768,8741,110,1536,65,66,76,82,84,97,1152,1179,1186,1236,1272,1288,114,114,111,119,768,59,66,85,1163,1165,1170,32768,8595,97,114,59,32768,10515,112,65,114,114,111,119,59,32768,8693,114,101,118,101,59,32768,785,101,102,116,1315,1196,0,1209,0,1220,105,103,104,116,86,101,99,116,111,114,59,32768,10576,101,101,86,101,99,116,111,114,59,32768,10590,101,99,116,111,114,512,59,66,1229,1231,32768,8637,97,114,59,32768,10582,105,103,104,116,805,1245,0,1256,101,101,86,101,99,116,111,114,59,32768,10591,101,99,116,111,114,512,59,66,1265,1267,32768,8641,97,114,59,32768,10583,101,101,512,59,65,1279,1281,32768,8868,114,114,111,119,59,32768,8615,114,114,111,119,59,32768,8659,512,99,116,1300,1305,114,59,32896,55349,56479,114,111,107,59,32768,272,4096,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1344,1348,1354,1363,1386,1391,1396,1405,1413,1460,1475,1483,1514,1527,1531,1538,71,59,32768,330,72,33024,208,59,32768,208,99,117,116,101,33024,201,59,32768,201,768,97,105,121,1370,1376,1383,114,111,110,59,32768,282,114,99,33024,202,59,32768,202,59,32768,1069,111,116,59,32768,278,114,59,32896,55349,56584,114,97,118,101,33024,200,59,32768,200,101,109,101,110,116,59,32768,8712,512,97,112,1418,1423,99,114,59,32768,274,116,121,1060,1431,0,0,1444,109,97,108,108,83,113,117,97,114,101,59,32768,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9643,512,103,112,1465,1470,111,110,59,32768,280,102,59,32896,55349,56636,115,105,108,111,110,59,32768,917,117,512,97,105,1489,1504,108,512,59,84,1495,1497,32768,10869,105,108,100,101,59,32768,8770,108,105,98,114,105,117,109,59,32768,8652,512,99,105,1519,1523,114,59,32768,8496,109,59,32768,10867,97,59,32768,919,109,108,33024,203,59,32768,203,512,105,112,1543,1549,115,116,115,59,32768,8707,111,110,101,110,116,105,97,108,69,59,32768,8519,1280,99,102,105,111,115,1572,1576,1581,1620,1648,121,59,32768,1060,114,59,32896,55349,56585,108,108,101,100,1060,1591,0,0,1604,109,97,108,108,83,113,117,97,114,101,59,32768,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,32768,9642,1601,1628,0,1633,0,0,1639,102,59,32896,55349,56637,65,108,108,59,32768,8704,114,105,101,114,116,114,102,59,32768,8497,99,114,59,32768,8497,3072,74,84,97,98,99,100,102,103,111,114,115,116,1678,1683,1688,1701,1708,1729,1734,1739,1742,1748,1828,1834,99,121,59,32768,1027,33024,62,59,32768,62,109,109,97,512,59,100,1696,1698,32768,915,59,32768,988,114,101,118,101,59,32768,286,768,101,105,121,1715,1721,1726,100,105,108,59,32768,290,114,99,59,32768,284,59,32768,1043,111,116,59,32768,288,114,59,32896,55349,56586,59,32768,8921,112,102,59,32896,55349,56638,101,97,116,101,114,1536,69,70,71,76,83,84,1766,1783,1794,1803,1809,1821,113,117,97,108,512,59,76,1775,1777,32768,8805,101,115,115,59,32768,8923,117,108,108,69,113,117,97,108,59,32768,8807,114,101,97,116,101,114,59,32768,10914,101,115,115,59,32768,8823,108,97,110,116,69,113,117,97,108,59,32768,10878,105,108,100,101,59,32768,8819,99,114,59,32896,55349,56482,59,32768,8811,2048,65,97,99,102,105,111,115,117,1854,1861,1874,1880,1884,1897,1919,1934,82,68,99,121,59,32768,1066,512,99,116,1866,1871,101,107,59,32768,711,59,32768,94,105,114,99,59,32768,292,114,59,32768,8460,108,98,101,114,116,83,112,97,99,101,59,32768,8459,833,1902,0,1906,102,59,32768,8461,105,122,111,110,116,97,108,76,105,110,101,59,32768,9472,512,99,116,1924,1928,114,59,32768,8459,114,111,107,59,32768,294,109,112,533,1940,1950,111,119,110,72,117,109,112,59,32768,8782,113,117,97,108,59,32768,8783,3584,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1985,1990,1996,2001,2010,2025,2030,2034,2043,2077,2134,2155,2160,2167,99,121,59,32768,1045,108,105,103,59,32768,306,99,121,59,32768,1025,99,117,116,101,33024,205,59,32768,205,512,105,121,2015,2022,114,99,33024,206,59,32768,206,59,32768,1048,111,116,59,32768,304,114,59,32768,8465,114,97,118,101,33024,204,59,32768,204,768,59,97,112,2050,2052,2070,32768,8465,512,99,103,2057,2061,114,59,32768,298,105,110,97,114,121,73,59,32768,8520,108,105,101,115,59,32768,8658,837,2082,0,2110,512,59,101,2086,2088,32768,8748,512,103,114,2093,2099,114,97,108,59,32768,8747,115,101,99,116,105,111,110,59,32768,8898,105,115,105,98,108,101,512,67,84,2120,2127,111,109,109,97,59,32768,8291,105,109,101,115,59,32768,8290,768,103,112,116,2141,2146,2151,111,110,59,32768,302,102,59,32896,55349,56640,97,59,32768,921,99,114,59,32768,8464,105,108,100,101,59,32768,296,828,2172,0,2177,99,121,59,32768,1030,108,33024,207,59,32768,207,1280,99,102,111,115,117,2193,2206,2211,2217,2232,512,105,121,2198,2203,114,99,59,32768,308,59,32768,1049,114,59,32896,55349,56589,112,102,59,32896,55349,56641,820,2222,0,2227,114,59,32896,55349,56485,114,99,121,59,32768,1032,107,99,121,59,32768,1028,1792,72,74,97,99,102,111,115,2253,2258,2263,2269,2283,2288,2294,99,121,59,32768,1061,99,121,59,32768,1036,112,112,97,59,32768,922,512,101,121,2274,2280,100,105,108,59,32768,310,59,32768,1050,114,59,32896,55349,56590,112,102,59,32896,55349,56642,99,114,59,32896,55349,56486,2816,74,84,97,99,101,102,108,109,111,115,116,2323,2328,2333,2374,2396,2775,2780,2797,2804,2934,2954,99,121,59,32768,1033,33024,60,59,32768,60,1280,99,109,110,112,114,2344,2350,2356,2360,2370,117,116,101,59,32768,313,98,100,97,59,32768,923,103,59,32768,10218,108,97,99,101,116,114,102,59,32768,8466,114,59,32768,8606,768,97,101,121,2381,2387,2393,114,111,110,59,32768,317,100,105,108,59,32768,315,59,32768,1051,512,102,115,2401,2702,116,2560,65,67,68,70,82,84,85,86,97,114,2423,2470,2479,2530,2537,2561,2618,2666,2683,2690,512,110,114,2428,2441,103,108,101,66,114,97,99,107,101,116,59,32768,10216,114,111,119,768,59,66,82,2451,2453,2458,32768,8592,97,114,59,32768,8676,105,103,104,116,65,114,114,111,119,59,32768,8646,101,105,108,105,110,103,59,32768,8968,111,838,2485,0,2498,98,108,101,66,114,97,99,107,101,116,59,32768,10214,110,805,2503,0,2514,101,101,86,101,99,116,111,114,59,32768,10593,101,99,116,111,114,512,59,66,2523,2525,32768,8643,97,114,59,32768,10585,108,111,111,114,59,32768,8970,105,103,104,116,512,65,86,2546,2553,114,114,111,119,59,32768,8596,101,99,116,111,114,59,32768,10574,512,101,114,2566,2591,101,768,59,65,86,2574,2576,2583,32768,8867,114,114,111,119,59,32768,8612,101,99,116,111,114,59,32768,10586,105,97,110,103,108,101,768,59,66,69,2604,2606,2611,32768,8882,97,114,59,32768,10703,113,117,97,108,59,32768,8884,112,768,68,84,86,2626,2638,2649,111,119,110,86,101,99,116,111,114,59,32768,10577,101,101,86,101,99,116,111,114,59,32768,10592,101,99,116,111,114,512,59,66,2659,2661,32768,8639,97,114,59,32768,10584,101,99,116,111,114,512,59,66,2676,2678,32768,8636,97,114,59,32768,10578,114,114,111,119,59,32768,8656,105,103,104,116,97,114,114,111,119,59,32768,8660,115,1536,69,70,71,76,83,84,2716,2730,2741,2750,2756,2768,113,117,97,108,71,114,101,97,116,101,114,59,32768,8922,117,108,108,69,113,117,97,108,59,32768,8806,114,101,97,116,101,114,59,32768,8822,101,115,115,59,32768,10913,108,97,110,116,69,113,117,97,108,59,32768,10877,105,108,100,101,59,32768,8818,114,59,32896,55349,56591,512,59,101,2785,2787,32768,8920,102,116,97,114,114,111,119,59,32768,8666,105,100,111,116,59,32768,319,768,110,112,119,2811,2899,2904,103,1024,76,82,108,114,2821,2848,2860,2887,101,102,116,512,65,82,2829,2836,114,114,111,119,59,32768,10229,105,103,104,116,65,114,114,111,119,59,32768,10231,105,103,104,116,65,114,114,111,119,59,32768,10230,101,102,116,512,97,114,2868,2875,114,114,111,119,59,32768,10232,105,103,104,116,97,114,114,111,119,59,32768,10234,105,103,104,116,97,114,114,111,119,59,32768,10233,102,59,32896,55349,56643,101,114,512,76,82,2911,2922,101,102,116,65,114,114,111,119,59,32768,8601,105,103,104,116,65,114,114,111,119,59,32768,8600,768,99,104,116,2941,2945,2948,114,59,32768,8466,59,32768,8624,114,111,107,59,32768,321,59,32768,8810,2048,97,99,101,102,105,111,115,117,2974,2978,2982,3007,3012,3022,3028,3033,112,59,32768,10501,121,59,32768,1052,512,100,108,2987,2998,105,117,109,83,112,97,99,101,59,32768,8287,108,105,110,116,114,102,59,32768,8499,114,59,32896,55349,56592,110,117,115,80,108,117,115,59,32768,8723,112,102,59,32896,55349,56644,99,114,59,32768,8499,59,32768,924,2304,74,97,99,101,102,111,115,116,117,3055,3060,3067,3089,3201,3206,3874,3880,3889,99,121,59,32768,1034,99,117,116,101,59,32768,323,768,97,101,121,3074,3080,3086,114,111,110,59,32768,327,100,105,108,59,32768,325,59,32768,1053,768,103,115,119,3096,3160,3194,97,116,105,118,101,768,77,84,86,3108,3121,3145,101,100,105,117,109,83,112,97,99,101,59,32768,8203,104,105,512,99,110,3128,3137,107,83,112,97,99,101,59,32768,8203,83,112,97,99,101,59,32768,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,32768,8203,116,101,100,512,71,76,3168,3184,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32768,8811,101,115,115,76,101,115,115,59,32768,8810,76,105,110,101,59,32768,10,114,59,32896,55349,56593,1024,66,110,112,116,3215,3222,3238,3242,114,101,97,107,59,32768,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,32768,160,102,59,32768,8469,3328,59,67,68,69,71,72,76,78,80,82,83,84,86,3269,3271,3293,3312,3352,3430,3455,3551,3589,3625,3678,3821,3861,32768,10988,512,111,117,3276,3286,110,103,114,117,101,110,116,59,32768,8802,112,67,97,112,59,32768,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,32768,8742,768,108,113,120,3319,3327,3345,101,109,101,110,116,59,32768,8713,117,97,108,512,59,84,3335,3337,32768,8800,105,108,100,101,59,32896,8770,824,105,115,116,115,59,32768,8708,114,101,97,116,101,114,1792,59,69,70,71,76,83,84,3373,3375,3382,3394,3404,3410,3423,32768,8815,113,117,97,108,59,32768,8817,117,108,108,69,113,117,97,108,59,32896,8807,824,114,101,97,116,101,114,59,32896,8811,824,101,115,115,59,32768,8825,108,97,110,116,69,113,117,97,108,59,32896,10878,824,105,108,100,101,59,32768,8821,117,109,112,533,3437,3448,111,119,110,72,117,109,112,59,32896,8782,824,113,117,97,108,59,32896,8783,824,101,512,102,115,3461,3492,116,84,114,105,97,110,103,108,101,768,59,66,69,3477,3479,3485,32768,8938,97,114,59,32896,10703,824,113,117,97,108,59,32768,8940,115,1536,59,69,71,76,83,84,3506,3508,3515,3524,3531,3544,32768,8814,113,117,97,108,59,32768,8816,114,101,97,116,101,114,59,32768,8824,101,115,115,59,32896,8810,824,108,97,110,116,69,113,117,97,108,59,32896,10877,824,105,108,100,101,59,32768,8820,101,115,116,101,100,512,71,76,3561,3578,114,101,97,116,101,114,71,114,101,97,116,101,114,59,32896,10914,824,101,115,115,76,101,115,115,59,32896,10913,824,114,101,99,101,100,101,115,768,59,69,83,3603,3605,3613,32768,8832,113,117,97,108,59,32896,10927,824,108,97,110,116,69,113,117,97,108,59,32768,8928,512,101,105,3630,3645,118,101,114,115,101,69,108,101,109,101,110,116,59,32768,8716,103,104,116,84,114,105,97,110,103,108,101,768,59,66,69,3663,3665,3671,32768,8939,97,114,59,32896,10704,824,113,117,97,108,59,32768,8941,512,113,117,3683,3732,117,97,114,101,83,117,512,98,112,3694,3712,115,101,116,512,59,69,3702,3705,32896,8847,824,113,117,97,108,59,32768,8930,101,114,115,101,116,512,59,69,3722,3725,32896,8848,824,113,117,97,108,59,32768,8931,768,98,99,112,3739,3757,3801,115,101,116,512,59,69,3747,3750,32896,8834,8402,113,117,97,108,59,32768,8840,99,101,101,100,115,1024,59,69,83,84,3771,3773,3781,3793,32768,8833,113,117,97,108,59,32896,10928,824,108,97,110,116,69,113,117,97,108,59,32768,8929,105,108,100,101,59,32896,8831,824,101,114,115,101,116,512,59,69,3811,3814,32896,8835,8402,113,117,97,108,59,32768,8841,105,108,100,101,1024,59,69,70,84,3834,3836,3843,3854,32768,8769,113,117,97,108,59,32768,8772,117,108,108,69,113,117,97,108,59,32768,8775,105,108,100,101,59,32768,8777,101,114,116,105,99,97,108,66,97,114,59,32768,8740,99,114,59,32896,55349,56489,105,108,100,101,33024,209,59,32768,209,59,32768,925,3584,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3921,3927,3936,3951,3958,3963,3972,3996,4002,4034,4037,4055,4071,4078,108,105,103,59,32768,338,99,117,116,101,33024,211,59,32768,211,512,105,121,3941,3948,114,99,33024,212,59,32768,212,59,32768,1054,98,108,97,99,59,32768,336,114,59,32896,55349,56594,114,97,118,101,33024,210,59,32768,210,768,97,101,105,3979,3984,3989,99,114,59,32768,332,103,97,59,32768,937,99,114,111,110,59,32768,927,112,102,59,32896,55349,56646,101,110,67,117,114,108,121,512,68,81,4014,4027,111,117,98,108,101,81,117,111,116,101,59,32768,8220,117,111,116,101,59,32768,8216,59,32768,10836,512,99,108,4042,4047,114,59,32896,55349,56490,97,115,104,33024,216,59,32768,216,105,573,4060,4067,100,101,33024,213,59,32768,213,101,115,59,32768,10807,109,108,33024,214,59,32768,214,101,114,512,66,80,4085,4109,512,97,114,4090,4094,114,59,32768,8254,97,99,512,101,107,4101,4104,59,32768,9182,101,116,59,32768,9140,97,114,101,110,116,104,101,115,105,115,59,32768,9180,2304,97,99,102,104,105,108,111,114,115,4141,4150,4154,4159,4163,4166,4176,4198,4284,114,116,105,97,108,68,59,32768,8706,121,59,32768,1055,114,59,32896,55349,56595,105,59,32768,934,59,32768,928,117,115,77,105,110,117,115,59,32768,177,512,105,112,4181,4194,110,99,97,114,101,112,108,97,110,101,59,32768,8460,102,59,32768,8473,1024,59,101,105,111,4207,4209,4251,4256,32768,10939,99,101,100,101,115,1024,59,69,83,84,4223,4225,4232,4244,32768,8826,113,117,97,108,59,32768,10927,108,97,110,116,69,113,117,97,108,59,32768,8828,105,108,100,101,59,32768,8830,109,101,59,32768,8243,512,100,112,4261,4267,117,99,116,59,32768,8719,111,114,116,105,111,110,512,59,97,4278,4280,32768,8759,108,59,32768,8733,512,99,105,4289,4294,114,59,32896,55349,56491,59,32768,936,1024,85,102,111,115,4306,4313,4318,4323,79,84,33024,34,59,32768,34,114,59,32896,55349,56596,112,102,59,32768,8474,99,114,59,32896,55349,56492,3072,66,69,97,99,101,102,104,105,111,114,115,117,4354,4360,4366,4395,4417,4473,4477,4481,4743,4764,4776,4788,97,114,114,59,32768,10512,71,33024,174,59,32768,174,768,99,110,114,4373,4379,4383,117,116,101,59,32768,340,103,59,32768,10219,114,512,59,116,4389,4391,32768,8608,108,59,32768,10518,768,97,101,121,4402,4408,4414,114,111,110,59,32768,344,100,105,108,59,32768,342,59,32768,1056,512,59,118,4422,4424,32768,8476,101,114,115,101,512,69,85,4433,4458,512,108,113,4438,4446,101,109,101,110,116,59,32768,8715,117,105,108,105,98,114,105,117,109,59,32768,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,32768,10607,114,59,32768,8476,111,59,32768,929,103,104,116,2048,65,67,68,70,84,85,86,97,4501,4547,4556,4607,4614,4671,4719,4736,512,110,114,4506,4519,103,108,101,66,114,97,99,107,101,116,59,32768,10217,114,111,119,768,59,66,76,4529,4531,4536,32768,8594,97,114,59,32768,8677,101,102,116,65,114,114,111,119,59,32768,8644,101,105,108,105,110,103,59,32768,8969,111,838,4562,0,4575,98,108,101,66,114,97,99,107,101,116,59,32768,10215,110,805,4580,0,4591,101,101,86,101,99,116,111,114,59,32768,10589,101,99,116,111,114,512,59,66,4600,4602,32768,8642,97,114,59,32768,10581,108,111,111,114,59,32768,8971,512,101,114,4619,4644,101,768,59,65,86,4627,4629,4636,32768,8866,114,114,111,119,59,32768,8614,101,99,116,111,114,59,32768,10587,105,97,110,103,108,101,768,59,66,69,4657,4659,4664,32768,8883,97,114,59,32768,10704,113,117,97,108,59,32768,8885,112,768,68,84,86,4679,4691,4702,111,119,110,86,101,99,116,111,114,59,32768,10575,101,101,86,101,99,116,111,114,59,32768,10588,101,99,116,111,114,512,59,66,4712,4714,32768,8638,97,114,59,32768,10580,101,99,116,111,114,512,59,66,4729,4731,32768,8640,97,114,59,32768,10579,114,114,111,119,59,32768,8658,512,112,117,4748,4752,102,59,32768,8477,110,100,73,109,112,108,105,101,115,59,32768,10608,105,103,104,116,97,114,114,111,119,59,32768,8667,512,99,104,4781,4785,114,59,32768,8475,59,32768,8625,108,101,68,101,108,97,121,101,100,59,32768,10740,3328,72,79,97,99,102,104,105,109,111,113,115,116,117,4827,4842,4849,4856,4889,4894,4949,4955,4967,4973,5059,5065,5070,512,67,99,4832,4838,72,99,121,59,32768,1065,121,59,32768,1064,70,84,99,121,59,32768,1068,99,117,116,101,59,32768,346,1280,59,97,101,105,121,4867,4869,4875,4881,4886,32768,10940,114,111,110,59,32768,352,100,105,108,59,32768,350,114,99,59,32768,348,59,32768,1057,114,59,32896,55349,56598,111,114,116,1024,68,76,82,85,4906,4917,4928,4940,111,119,110,65,114,114,111,119,59,32768,8595,101,102,116,65,114,114,111,119,59,32768,8592,105,103,104,116,65,114,114,111,119,59,32768,8594,112,65,114,114,111,119,59,32768,8593,103,109,97,59,32768,931,97,108,108,67,105,114,99,108,101,59,32768,8728,112,102,59,32896,55349,56650,1091,4979,0,0,4983,116,59,32768,8730,97,114,101,1024,59,73,83,85,4994,4996,5010,5052,32768,9633,110,116,101,114,115,101,99,116,105,111,110,59,32768,8851,117,512,98,112,5016,5033,115,101,116,512,59,69,5024,5026,32768,8847,113,117,97,108,59,32768,8849,101,114,115,101,116,512,59,69,5043,5045,32768,8848,113,117,97,108,59,32768,8850,110,105,111,110,59,32768,8852,99,114,59,32896,55349,56494,97,114,59,32768,8902,1024,98,99,109,112,5079,5102,5155,5158,512,59,115,5084,5086,32768,8912,101,116,512,59,69,5093,5095,32768,8912,113,117,97,108,59,32768,8838,512,99,104,5107,5148,101,101,100,115,1024,59,69,83,84,5120,5122,5129,5141,32768,8827,113,117,97,108,59,32768,10928,108,97,110,116,69,113,117,97,108,59,32768,8829,105,108,100,101,59,32768,8831,84,104,97,116,59,32768,8715,59,32768,8721,768,59,101,115,5165,5167,5185,32768,8913,114,115,101,116,512,59,69,5176,5178,32768,8835,113,117,97,108,59,32768,8839,101,116,59,32768,8913,2816,72,82,83,97,99,102,104,105,111,114,115,5213,5221,5227,5241,5252,5274,5279,5323,5362,5368,5378,79,82,78,33024,222,59,32768,222,65,68,69,59,32768,8482,512,72,99,5232,5237,99,121,59,32768,1035,121,59,32768,1062,512,98,117,5246,5249,59,32768,9,59,32768,932,768,97,101,121,5259,5265,5271,114,111,110,59,32768,356,100,105,108,59,32768,354,59,32768,1058,114,59,32896,55349,56599,512,101,105,5284,5300,835,5289,0,5297,101,102,111,114,101,59,32768,8756,97,59,32768,920,512,99,110,5305,5315,107,83,112,97,99,101,59,32896,8287,8202,83,112,97,99,101,59,32768,8201,108,100,101,1024,59,69,70,84,5335,5337,5344,5355,32768,8764,113,117,97,108,59,32768,8771,117,108,108,69,113,117,97,108,59,32768,8773,105,108,100,101,59,32768,8776,112,102,59,32896,55349,56651,105,112,108,101,68,111,116,59,32768,8411,512,99,116,5383,5388,114,59,32896,55349,56495,114,111,107,59,32768,358,5426,5417,5444,5458,5473,0,5480,5485,0,0,0,0,0,5494,5500,5564,5579,0,5726,5732,5738,5745,512,99,114,5421,5429,117,116,101,33024,218,59,32768,218,114,512,59,111,5435,5437,32768,8607,99,105,114,59,32768,10569,114,820,5449,0,5453,121,59,32768,1038,118,101,59,32768,364,512,105,121,5462,5469,114,99,33024,219,59,32768,219,59,32768,1059,98,108,97,99,59,32768,368,114,59,32896,55349,56600,114,97,118,101,33024,217,59,32768,217,97,99,114,59,32768,362,512,100,105,5504,5548,101,114,512,66,80,5511,5535,512,97,114,5516,5520,114,59,32768,95,97,99,512,101,107,5527,5530,59,32768,9183,101,116,59,32768,9141,97,114,101,110,116,104,101,115,105,115,59,32768,9181,111,110,512,59,80,5555,5557,32768,8899,108,117,115,59,32768,8846,512,103,112,5568,5573,111,110,59,32768,370,102,59,32896,55349,56652,2048,65,68,69,84,97,100,112,115,5595,5624,5635,5648,5664,5671,5682,5712,114,114,111,119,768,59,66,68,5606,5608,5613,32768,8593,97,114,59,32768,10514,111,119,110,65,114,114,111,119,59,32768,8645,111,119,110,65,114,114,111,119,59,32768,8597,113,117,105,108,105,98,114,105,117,109,59,32768,10606,101,101,512,59,65,5655,5657,32768,8869,114,114,111,119,59,32768,8613,114,114,111,119,59,32768,8657,111,119,110,97,114,114,111,119,59,32768,8661,101,114,512,76,82,5689,5700,101,102,116,65,114,114,111,119,59,32768,8598,105,103,104,116,65,114,114,111,119,59,32768,8599,105,512,59,108,5718,5720,32768,978,111,110,59,32768,933,105,110,103,59,32768,366,99,114,59,32896,55349,56496,105,108,100,101,59,32768,360,109,108,33024,220,59,32768,220,2304,68,98,99,100,101,102,111,115,118,5770,5776,5781,5785,5798,5878,5883,5889,5895,97,115,104,59,32768,8875,97,114,59,32768,10987,121,59,32768,1042,97,115,104,512,59,108,5793,5795,32768,8873,59,32768,10982,512,101,114,5803,5806,59,32768,8897,768,98,116,121,5813,5818,5866,97,114,59,32768,8214,512,59,105,5823,5825,32768,8214,99,97,108,1024,66,76,83,84,5837,5842,5848,5859,97,114,59,32768,8739,105,110,101,59,32768,124,101,112,97,114,97,116,111,114,59,32768,10072,105,108,100,101,59,32768,8768,84,104,105,110,83,112,97,99,101,59,32768,8202,114,59,32896,55349,56601,112,102,59,32896,55349,56653,99,114,59,32896,55349,56497,100,97,115,104,59,32768,8874,1280,99,101,102,111,115,5913,5919,5925,5930,5936,105,114,99,59,32768,372,100,103,101,59,32768,8896,114,59,32896,55349,56602,112,102,59,32896,55349,56654,99,114,59,32896,55349,56498,1024,102,105,111,115,5951,5956,5959,5965,114,59,32896,55349,56603,59,32768,926,112,102,59,32896,55349,56655,99,114,59,32896,55349,56499,2304,65,73,85,97,99,102,111,115,117,5990,5995,6e3,6005,6014,6027,6032,6038,6044,99,121,59,32768,1071,99,121,59,32768,1031,99,121,59,32768,1070,99,117,116,101,33024,221,59,32768,221,512,105,121,6019,6024,114,99,59,32768,374,59,32768,1067,114,59,32896,55349,56604,112,102,59,32896,55349,56656,99,114,59,32896,55349,56500,109,108,59,32768,376,2048,72,97,99,100,101,102,111,115,6066,6071,6078,6092,6097,6119,6123,6128,99,121,59,32768,1046,99,117,116,101,59,32768,377,512,97,121,6083,6089,114,111,110,59,32768,381,59,32768,1047,111,116,59,32768,379,835,6102,0,6116,111,87,105,100,116,104,83,112,97,99,101,59,32768,8203,97,59,32768,918,114,59,32768,8488,112,102,59,32768,8484,99,114,59,32896,55349,56501,5938,6159,6168,6175,0,6214,6222,6233,0,0,0,0,6242,6267,6290,6429,6444,0,6495,6503,6531,6540,0,6547,99,117,116,101,33024,225,59,32768,225,114,101,118,101,59,32768,259,1536,59,69,100,105,117,121,6187,6189,6193,6196,6203,6210,32768,8766,59,32896,8766,819,59,32768,8767,114,99,33024,226,59,32768,226,116,101,33024,180,59,32768,180,59,32768,1072,108,105,103,33024,230,59,32768,230,512,59,114,6226,6228,32768,8289,59,32896,55349,56606,114,97,118,101,33024,224,59,32768,224,512,101,112,6246,6261,512,102,112,6251,6257,115,121,109,59,32768,8501,104,59,32768,8501,104,97,59,32768,945,512,97,112,6271,6284,512,99,108,6276,6280,114,59,32768,257,103,59,32768,10815,33024,38,59,32768,38,1077,6295,0,0,6326,1280,59,97,100,115,118,6305,6307,6312,6315,6322,32768,8743,110,100,59,32768,10837,59,32768,10844,108,111,112,101,59,32768,10840,59,32768,10842,1792,59,101,108,109,114,115,122,6340,6342,6345,6349,6391,6410,6422,32768,8736,59,32768,10660,101,59,32768,8736,115,100,512,59,97,6356,6358,32768,8737,2098,6368,6371,6374,6377,6380,6383,6386,6389,59,32768,10664,59,32768,10665,59,32768,10666,59,32768,10667,59,32768,10668,59,32768,10669,59,32768,10670,59,32768,10671,116,512,59,118,6397,6399,32768,8735,98,512,59,100,6405,6407,32768,8894,59,32768,10653,512,112,116,6415,6419,104,59,32768,8738,59,32768,197,97,114,114,59,32768,9084,512,103,112,6433,6438,111,110,59,32768,261,102,59,32896,55349,56658,1792,59,69,97,101,105,111,112,6458,6460,6463,6469,6472,6476,6480,32768,8776,59,32768,10864,99,105,114,59,32768,10863,59,32768,8778,100,59,32768,8779,115,59,32768,39,114,111,120,512,59,101,6488,6490,32768,8776,113,59,32768,8778,105,110,103,33024,229,59,32768,229,768,99,116,121,6509,6514,6517,114,59,32896,55349,56502,59,32768,42,109,112,512,59,101,6524,6526,32768,8776,113,59,32768,8781,105,108,100,101,33024,227,59,32768,227,109,108,33024,228,59,32768,228,512,99,105,6551,6559,111,110,105,110,116,59,32768,8755,110,116,59,32768,10769,4096,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,6597,6602,6673,6688,6701,6707,6768,6773,6891,6898,6999,7023,7309,7316,7334,7383,111,116,59,32768,10989,512,99,114,6607,6652,107,1024,99,101,112,115,6617,6623,6632,6639,111,110,103,59,32768,8780,112,115,105,108,111,110,59,32768,1014,114,105,109,101,59,32768,8245,105,109,512,59,101,6646,6648,32768,8765,113,59,32768,8909,583,6656,6661,101,101,59,32768,8893,101,100,512,59,103,6667,6669,32768,8965,101,59,32768,8965,114,107,512,59,116,6680,6682,32768,9141,98,114,107,59,32768,9142,512,111,121,6693,6698,110,103,59,32768,8780,59,32768,1073,113,117,111,59,32768,8222,1280,99,109,112,114,116,6718,6731,6738,6743,6749,97,117,115,512,59,101,6726,6728,32768,8757,59,32768,8757,112,116,121,118,59,32768,10672,115,105,59,32768,1014,110,111,117,59,32768,8492,768,97,104,119,6756,6759,6762,59,32768,946,59,32768,8502,101,101,110,59,32768,8812,114,59,32896,55349,56607,103,1792,99,111,115,116,117,118,119,6789,6809,6834,6850,6872,6879,6884,768,97,105,117,6796,6800,6805,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,768,100,112,116,6816,6821,6827,111,116,59,32768,10752,108,117,115,59,32768,10753,105,109,101,115,59,32768,10754,1090,6840,0,0,6846,99,117,112,59,32768,10758,97,114,59,32768,9733,114,105,97,110,103,108,101,512,100,117,6862,6868,111,119,110,59,32768,9661,112,59,32768,9651,112,108,117,115,59,32768,10756,101,101,59,32768,8897,101,100,103,101,59,32768,8896,97,114,111,119,59,32768,10509,768,97,107,111,6905,6976,6994,512,99,110,6910,6972,107,768,108,115,116,6918,6927,6935,111,122,101,110,103,101,59,32768,10731,113,117,97,114,101,59,32768,9642,114,105,97,110,103,108,101,1024,59,100,108,114,6951,6953,6959,6965,32768,9652,111,119,110,59,32768,9662,101,102,116,59,32768,9666,105,103,104,116,59,32768,9656,107,59,32768,9251,770,6981,0,6991,771,6985,0,6988,59,32768,9618,59,32768,9617,52,59,32768,9619,99,107,59,32768,9608,512,101,111,7004,7019,512,59,113,7009,7012,32896,61,8421,117,105,118,59,32896,8801,8421,116,59,32768,8976,1024,112,116,119,120,7032,7037,7049,7055,102,59,32896,55349,56659,512,59,116,7042,7044,32768,8869,111,109,59,32768,8869,116,105,101,59,32768,8904,3072,68,72,85,86,98,100,104,109,112,116,117,118,7080,7101,7126,7147,7182,7187,7208,7233,7240,7246,7253,7274,1024,76,82,108,114,7089,7092,7095,7098,59,32768,9559,59,32768,9556,59,32768,9558,59,32768,9555,1280,59,68,85,100,117,7112,7114,7117,7120,7123,32768,9552,59,32768,9574,59,32768,9577,59,32768,9572,59,32768,9575,1024,76,82,108,114,7135,7138,7141,7144,59,32768,9565,59,32768,9562,59,32768,9564,59,32768,9561,1792,59,72,76,82,104,108,114,7162,7164,7167,7170,7173,7176,7179,32768,9553,59,32768,9580,59,32768,9571,59,32768,9568,59,32768,9579,59,32768,9570,59,32768,9567,111,120,59,32768,10697,1024,76,82,108,114,7196,7199,7202,7205,59,32768,9557,59,32768,9554,59,32768,9488,59,32768,9484,1280,59,68,85,100,117,7219,7221,7224,7227,7230,32768,9472,59,32768,9573,59,32768,9576,59,32768,9516,59,32768,9524,105,110,117,115,59,32768,8863,108,117,115,59,32768,8862,105,109,101,115,59,32768,8864,1024,76,82,108,114,7262,7265,7268,7271,59,32768,9563,59,32768,9560,59,32768,9496,59,32768,9492,1792,59,72,76,82,104,108,114,7289,7291,7294,7297,7300,7303,7306,32768,9474,59,32768,9578,59,32768,9569,59,32768,9566,59,32768,9532,59,32768,9508,59,32768,9500,114,105,109,101,59,32768,8245,512,101,118,7321,7326,118,101,59,32768,728,98,97,114,33024,166,59,32768,166,1024,99,101,105,111,7343,7348,7353,7364,114,59,32896,55349,56503,109,105,59,32768,8271,109,512,59,101,7359,7361,32768,8765,59,32768,8909,108,768,59,98,104,7372,7374,7377,32768,92,59,32768,10693,115,117,98,59,32768,10184,573,7387,7399,108,512,59,101,7392,7394,32768,8226,116,59,32768,8226,112,768,59,69,101,7406,7408,7411,32768,8782,59,32768,10926,512,59,113,7416,7418,32768,8783,59,32768,8783,6450,7448,0,7523,7571,7576,7613,0,7618,7647,0,0,7764,0,0,7779,0,0,7899,7914,7949,7955,0,8158,0,8176,768,99,112,114,7454,7460,7509,117,116,101,59,32768,263,1536,59,97,98,99,100,115,7473,7475,7480,7487,7500,7505,32768,8745,110,100,59,32768,10820,114,99,117,112,59,32768,10825,512,97,117,7492,7496,112,59,32768,10827,112,59,32768,10823,111,116,59,32768,10816,59,32896,8745,65024,512,101,111,7514,7518,116,59,32768,8257,110,59,32768,711,1024,97,101,105,117,7531,7544,7552,7557,833,7536,0,7540,115,59,32768,10829,111,110,59,32768,269,100,105,108,33024,231,59,32768,231,114,99,59,32768,265,112,115,512,59,115,7564,7566,32768,10828,109,59,32768,10832,111,116,59,32768,267,768,100,109,110,7582,7589,7596,105,108,33024,184,59,32768,184,112,116,121,118,59,32768,10674,116,33280,162,59,101,7603,7605,32768,162,114,100,111,116,59,32768,183,114,59,32896,55349,56608,768,99,101,105,7624,7628,7643,121,59,32768,1095,99,107,512,59,109,7635,7637,32768,10003,97,114,107,59,32768,10003,59,32768,967,114,1792,59,69,99,101,102,109,115,7662,7664,7667,7742,7745,7752,7757,32768,9675,59,32768,10691,768,59,101,108,7674,7676,7680,32768,710,113,59,32768,8791,101,1074,7687,0,0,7709,114,114,111,119,512,108,114,7695,7701,101,102,116,59,32768,8634,105,103,104,116,59,32768,8635,1280,82,83,97,99,100,7719,7722,7725,7730,7736,59,32768,174,59,32768,9416,115,116,59,32768,8859,105,114,99,59,32768,8858,97,115,104,59,32768,8861,59,32768,8791,110,105,110,116,59,32768,10768,105,100,59,32768,10991,99,105,114,59,32768,10690,117,98,115,512,59,117,7771,7773,32768,9827,105,116,59,32768,9827,1341,7785,7804,7850,0,7871,111,110,512,59,101,7791,7793,32768,58,512,59,113,7798,7800,32768,8788,59,32768,8788,1086,7809,0,0,7820,97,512,59,116,7814,7816,32768,44,59,32768,64,768,59,102,108,7826,7828,7832,32768,8705,110,59,32768,8728,101,512,109,120,7838,7844,101,110,116,59,32768,8705,101,115,59,32768,8450,824,7854,0,7866,512,59,100,7858,7860,32768,8773,111,116,59,32768,10861,110,116,59,32768,8750,768,102,114,121,7877,7881,7886,59,32896,55349,56660,111,100,59,32768,8720,33280,169,59,115,7892,7894,32768,169,114,59,32768,8471,512,97,111,7903,7908,114,114,59,32768,8629,115,115,59,32768,10007,512,99,117,7918,7923,114,59,32896,55349,56504,512,98,112,7928,7938,512,59,101,7933,7935,32768,10959,59,32768,10961,512,59,101,7943,7945,32768,10960,59,32768,10962,100,111,116,59,32768,8943,1792,100,101,108,112,114,118,119,7969,7983,7996,8009,8057,8147,8152,97,114,114,512,108,114,7977,7980,59,32768,10552,59,32768,10549,1089,7989,0,0,7993,114,59,32768,8926,99,59,32768,8927,97,114,114,512,59,112,8004,8006,32768,8630,59,32768,10557,1536,59,98,99,100,111,115,8022,8024,8031,8044,8049,8053,32768,8746,114,99,97,112,59,32768,10824,512,97,117,8036,8040,112,59,32768,10822,112,59,32768,10826,111,116,59,32768,8845,114,59,32768,10821,59,32896,8746,65024,1024,97,108,114,118,8066,8078,8116,8123,114,114,512,59,109,8073,8075,32768,8631,59,32768,10556,121,768,101,118,119,8086,8104,8109,113,1089,8093,0,0,8099,114,101,99,59,32768,8926,117,99,99,59,32768,8927,101,101,59,32768,8910,101,100,103,101,59,32768,8911,101,110,33024,164,59,32768,164,101,97,114,114,111,119,512,108,114,8134,8140,101,102,116,59,32768,8630,105,103,104,116,59,32768,8631,101,101,59,32768,8910,101,100,59,32768,8911,512,99,105,8162,8170,111,110,105,110,116,59,32768,8754,110,116,59,32768,8753,108,99,116,121,59,32768,9005,4864,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8221,8226,8231,8267,8282,8296,8327,8351,8366,8379,8466,8471,8487,8621,8647,8676,8697,8712,8720,114,114,59,32768,8659,97,114,59,32768,10597,1024,103,108,114,115,8240,8246,8252,8256,103,101,114,59,32768,8224,101,116,104,59,32768,8504,114,59,32768,8595,104,512,59,118,8262,8264,32768,8208,59,32768,8867,572,8271,8278,97,114,111,119,59,32768,10511,97,99,59,32768,733,512,97,121,8287,8293,114,111,110,59,32768,271,59,32768,1076,768,59,97,111,8303,8305,8320,32768,8518,512,103,114,8310,8316,103,101,114,59,32768,8225,114,59,32768,8650,116,115,101,113,59,32768,10871,768,103,108,109,8334,8339,8344,33024,176,59,32768,176,116,97,59,32768,948,112,116,121,118,59,32768,10673,512,105,114,8356,8362,115,104,116,59,32768,10623,59,32896,55349,56609,97,114,512,108,114,8373,8376,59,32768,8643,59,32768,8642,1280,97,101,103,115,118,8390,8418,8421,8428,8433,109,768,59,111,115,8398,8400,8415,32768,8900,110,100,512,59,115,8407,8409,32768,8900,117,105,116,59,32768,9830,59,32768,9830,59,32768,168,97,109,109,97,59,32768,989,105,110,59,32768,8946,768,59,105,111,8440,8442,8461,32768,247,100,101,33280,247,59,111,8450,8452,32768,247,110,116,105,109,101,115,59,32768,8903,110,120,59,32768,8903,99,121,59,32768,1106,99,1088,8478,0,0,8483,114,110,59,32768,8990,111,112,59,32768,8973,1280,108,112,116,117,119,8498,8504,8509,8556,8570,108,97,114,59,32768,36,102,59,32896,55349,56661,1280,59,101,109,112,115,8520,8522,8535,8542,8548,32768,729,113,512,59,100,8528,8530,32768,8784,111,116,59,32768,8785,105,110,117,115,59,32768,8760,108,117,115,59,32768,8724,113,117,97,114,101,59,32768,8865,98,108,101,98,97,114,119,101,100,103,101,59,32768,8966,110,768,97,100,104,8578,8585,8597,114,114,111,119,59,32768,8595,111,119,110,97,114,114,111,119,115,59,32768,8650,97,114,112,111,111,110,512,108,114,8608,8614,101,102,116,59,32768,8643,105,103,104,116,59,32768,8642,563,8625,8633,107,97,114,111,119,59,32768,10512,1088,8638,0,0,8643,114,110,59,32768,8991,111,112,59,32768,8972,768,99,111,116,8654,8666,8670,512,114,121,8659,8663,59,32896,55349,56505,59,32768,1109,108,59,32768,10742,114,111,107,59,32768,273,512,100,114,8681,8686,111,116,59,32768,8945,105,512,59,102,8692,8694,32768,9663,59,32768,9662,512,97,104,8702,8707,114,114,59,32768,8693,97,114,59,32768,10607,97,110,103,108,101,59,32768,10662,512,99,105,8725,8729,121,59,32768,1119,103,114,97,114,114,59,32768,10239,4608,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,8774,8788,8807,8844,8849,8852,8866,8895,8929,8977,8989,9004,9046,9136,9151,9171,9184,9199,512,68,111,8779,8784,111,116,59,32768,10871,116,59,32768,8785,512,99,115,8793,8801,117,116,101,33024,233,59,32768,233,116,101,114,59,32768,10862,1024,97,105,111,121,8816,8822,8835,8841,114,111,110,59,32768,283,114,512,59,99,8828,8830,32768,8790,33024,234,59,32768,234,108,111,110,59,32768,8789,59,32768,1101,111,116,59,32768,279,59,32768,8519,512,68,114,8857,8862,111,116,59,32768,8786,59,32896,55349,56610,768,59,114,115,8873,8875,8883,32768,10906,97,118,101,33024,232,59,32768,232,512,59,100,8888,8890,32768,10902,111,116,59,32768,10904,1024,59,105,108,115,8904,8906,8914,8917,32768,10905,110,116,101,114,115,59,32768,9191,59,32768,8467,512,59,100,8922,8924,32768,10901,111,116,59,32768,10903,768,97,112,115,8936,8941,8960,99,114,59,32768,275,116,121,768,59,115,118,8950,8952,8957,32768,8709,101,116,59,32768,8709,59,32768,8709,112,512,49,59,8966,8975,516,8970,8973,59,32768,8196,59,32768,8197,32768,8195,512,103,115,8982,8985,59,32768,331,112,59,32768,8194,512,103,112,8994,8999,111,110,59,32768,281,102,59,32896,55349,56662,768,97,108,115,9011,9023,9028,114,512,59,115,9017,9019,32768,8917,108,59,32768,10723,117,115,59,32768,10865,105,768,59,108,118,9036,9038,9043,32768,949,111,110,59,32768,949,59,32768,1013,1024,99,115,117,118,9055,9071,9099,9128,512,105,111,9060,9065,114,99,59,32768,8790,108,111,110,59,32768,8789,1082,9077,0,0,9081,109,59,32768,8770,97,110,116,512,103,108,9088,9093,116,114,59,32768,10902,101,115,115,59,32768,10901,768,97,101,105,9106,9111,9116,108,115,59,32768,61,115,116,59,32768,8799,118,512,59,68,9122,9124,32768,8801,68,59,32768,10872,112,97,114,115,108,59,32768,10725,512,68,97,9141,9146,111,116,59,32768,8787,114,114,59,32768,10609,768,99,100,105,9158,9162,9167,114,59,32768,8495,111,116,59,32768,8784,109,59,32768,8770,512,97,104,9176,9179,59,32768,951,33024,240,59,32768,240,512,109,114,9189,9195,108,33024,235,59,32768,235,111,59,32768,8364,768,99,105,112,9206,9210,9215,108,59,32768,33,115,116,59,32768,8707,512,101,111,9220,9230,99,116,97,116,105,111,110,59,32768,8496,110,101,110,116,105,97,108,101,59,32768,8519,4914,9262,0,9276,0,9280,9287,0,0,9318,9324,0,9331,0,9352,9357,9386,0,9395,9497,108,108,105,110,103,100,111,116,115,101,113,59,32768,8786,121,59,32768,1092,109,97,108,101,59,32768,9792,768,105,108,114,9293,9299,9313,108,105,103,59,32768,64259,1082,9305,0,0,9309,103,59,32768,64256,105,103,59,32768,64260,59,32896,55349,56611,108,105,103,59,32768,64257,108,105,103,59,32896,102,106,768,97,108,116,9337,9341,9346,116,59,32768,9837,105,103,59,32768,64258,110,115,59,32768,9649,111,102,59,32768,402,833,9361,0,9366,102,59,32896,55349,56663,512,97,107,9370,9375,108,108,59,32768,8704,512,59,118,9380,9382,32768,8916,59,32768,10969,97,114,116,105,110,116,59,32768,10765,512,97,111,9399,9491,512,99,115,9404,9487,1794,9413,9443,9453,9470,9474,0,9484,1795,9421,9426,9429,9434,9437,0,9440,33024,189,59,32768,189,59,32768,8531,33024,188,59,32768,188,59,32768,8533,59,32768,8537,59,32768,8539,772,9447,0,9450,59,32768,8532,59,32768,8534,1285,9459,9464,0,0,9467,33024,190,59,32768,190,59,32768,8535,59,32768,8540,53,59,32768,8536,775,9478,0,9481,59,32768,8538,59,32768,8541,56,59,32768,8542,108,59,32768,8260,119,110,59,32768,8994,99,114,59,32896,55349,56507,4352,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,9537,9547,9575,9582,9595,9600,9679,9684,9694,9700,9705,9725,9773,9779,9785,9810,9917,512,59,108,9542,9544,32768,8807,59,32768,10892,768,99,109,112,9554,9560,9572,117,116,101,59,32768,501,109,97,512,59,100,9567,9569,32768,947,59,32768,989,59,32768,10886,114,101,118,101,59,32768,287,512,105,121,9587,9592,114,99,59,32768,285,59,32768,1075,111,116,59,32768,289,1024,59,108,113,115,9609,9611,9614,9633,32768,8805,59,32768,8923,768,59,113,115,9621,9623,9626,32768,8805,59,32768,8807,108,97,110,116,59,32768,10878,1024,59,99,100,108,9642,9644,9648,9667,32768,10878,99,59,32768,10921,111,116,512,59,111,9655,9657,32768,10880,512,59,108,9662,9664,32768,10882,59,32768,10884,512,59,101,9672,9675,32896,8923,65024,115,59,32768,10900,114,59,32896,55349,56612,512,59,103,9689,9691,32768,8811,59,32768,8921,109,101,108,59,32768,8503,99,121,59,32768,1107,1024,59,69,97,106,9714,9716,9719,9722,32768,8823,59,32768,10898,59,32768,10917,59,32768,10916,1024,69,97,101,115,9734,9737,9751,9768,59,32768,8809,112,512,59,112,9743,9745,32768,10890,114,111,120,59,32768,10890,512,59,113,9756,9758,32768,10888,512,59,113,9763,9765,32768,10888,59,32768,8809,105,109,59,32768,8935,112,102,59,32896,55349,56664,97,118,101,59,32768,96,512,99,105,9790,9794,114,59,32768,8458,109,768,59,101,108,9802,9804,9807,32768,8819,59,32768,10894,59,32768,10896,34304,62,59,99,100,108,113,114,9824,9826,9838,9843,9849,9856,32768,62,512,99,105,9831,9834,59,32768,10919,114,59,32768,10874,111,116,59,32768,8919,80,97,114,59,32768,10645,117,101,115,116,59,32768,10876,1280,97,100,101,108,115,9867,9882,9887,9906,9912,833,9872,0,9879,112,114,111,120,59,32768,10886,114,59,32768,10616,111,116,59,32768,8919,113,512,108,113,9893,9899,101,115,115,59,32768,8923,108,101,115,115,59,32768,10892,101,115,115,59,32768,8823,105,109,59,32768,8819,512,101,110,9922,9932,114,116,110,101,113,113,59,32896,8809,65024,69,59,32896,8809,65024,2560,65,97,98,99,101,102,107,111,115,121,9958,9963,10015,10020,10026,10060,10065,10085,10147,10171,114,114,59,32768,8660,1024,105,108,109,114,9972,9978,9982,9988,114,115,112,59,32768,8202,102,59,32768,189,105,108,116,59,32768,8459,512,100,114,9993,9998,99,121,59,32768,1098,768,59,99,119,10005,10007,10012,32768,8596,105,114,59,32768,10568,59,32768,8621,97,114,59,32768,8463,105,114,99,59,32768,293,768,97,108,114,10033,10048,10054,114,116,115,512,59,117,10041,10043,32768,9829,105,116,59,32768,9829,108,105,112,59,32768,8230,99,111,110,59,32768,8889,114,59,32896,55349,56613,115,512,101,119,10071,10078,97,114,111,119,59,32768,10533,97,114,111,119,59,32768,10534,1280,97,109,111,112,114,10096,10101,10107,10136,10141,114,114,59,32768,8703,116,104,116,59,32768,8763,107,512,108,114,10113,10124,101,102,116,97,114,114,111,119,59,32768,8617,105,103,104,116,97,114,114,111,119,59,32768,8618,102,59,32896,55349,56665,98,97,114,59,32768,8213,768,99,108,116,10154,10159,10165,114,59,32896,55349,56509,97,115,104,59,32768,8463,114,111,107,59,32768,295,512,98,112,10176,10182,117,108,108,59,32768,8259,104,101,110,59,32768,8208,5426,10211,0,10220,0,10239,10255,10267,0,10276,10312,0,0,10318,10371,10458,10485,10491,0,10500,10545,10558,99,117,116,101,33024,237,59,32768,237,768,59,105,121,10226,10228,10235,32768,8291,114,99,33024,238,59,32768,238,59,32768,1080,512,99,120,10243,10247,121,59,32768,1077,99,108,33024,161,59,32768,161,512,102,114,10259,10262,59,32768,8660,59,32896,55349,56614,114,97,118,101,33024,236,59,32768,236,1024,59,105,110,111,10284,10286,10300,10306,32768,8520,512,105,110,10291,10296,110,116,59,32768,10764,116,59,32768,8749,102,105,110,59,32768,10716,116,97,59,32768,8489,108,105,103,59,32768,307,768,97,111,112,10324,10361,10365,768,99,103,116,10331,10335,10357,114,59,32768,299,768,101,108,112,10342,10345,10351,59,32768,8465,105,110,101,59,32768,8464,97,114,116,59,32768,8465,104,59,32768,305,102,59,32768,8887,101,100,59,32768,437,1280,59,99,102,111,116,10381,10383,10389,10403,10409,32768,8712,97,114,101,59,32768,8453,105,110,512,59,116,10396,10398,32768,8734,105,101,59,32768,10717,100,111,116,59,32768,305,1280,59,99,101,108,112,10420,10422,10427,10444,10451,32768,8747,97,108,59,32768,8890,512,103,114,10432,10438,101,114,115,59,32768,8484,99,97,108,59,32768,8890,97,114,104,107,59,32768,10775,114,111,100,59,32768,10812,1024,99,103,112,116,10466,10470,10475,10480,121,59,32768,1105,111,110,59,32768,303,102,59,32896,55349,56666,97,59,32768,953,114,111,100,59,32768,10812,117,101,115,116,33024,191,59,32768,191,512,99,105,10504,10509,114,59,32896,55349,56510,110,1280,59,69,100,115,118,10521,10523,10526,10531,10541,32768,8712,59,32768,8953,111,116,59,32768,8949,512,59,118,10536,10538,32768,8948,59,32768,8947,59,32768,8712,512,59,105,10549,10551,32768,8290,108,100,101,59,32768,297,828,10562,0,10567,99,121,59,32768,1110,108,33024,239,59,32768,239,1536,99,102,109,111,115,117,10585,10598,10603,10609,10615,10630,512,105,121,10590,10595,114,99,59,32768,309,59,32768,1081,114,59,32896,55349,56615,97,116,104,59,32768,567,112,102,59,32896,55349,56667,820,10620,0,10625,114,59,32896,55349,56511,114,99,121,59,32768,1112,107,99,121,59,32768,1108,2048,97,99,102,103,104,106,111,115,10653,10666,10680,10685,10692,10697,10702,10708,112,112,97,512,59,118,10661,10663,32768,954,59,32768,1008,512,101,121,10671,10677,100,105,108,59,32768,311,59,32768,1082,114,59,32896,55349,56616,114,101,101,110,59,32768,312,99,121,59,32768,1093,99,121,59,32768,1116,112,102,59,32896,55349,56668,99,114,59,32896,55349,56512,5888,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,10761,10783,10789,10799,10804,10957,11011,11047,11094,11349,11372,11382,11409,11414,11451,11478,11526,11698,11711,11755,11823,11910,11929,768,97,114,116,10768,10773,10777,114,114,59,32768,8666,114,59,32768,8656,97,105,108,59,32768,10523,97,114,114,59,32768,10510,512,59,103,10794,10796,32768,8806,59,32768,10891,97,114,59,32768,10594,4660,10824,0,10830,0,10838,0,0,0,0,0,10844,10850,0,10867,10870,10877,0,10933,117,116,101,59,32768,314,109,112,116,121,118,59,32768,10676,114,97,110,59,32768,8466,98,100,97,59,32768,955,103,768,59,100,108,10857,10859,10862,32768,10216,59,32768,10641,101,59,32768,10216,59,32768,10885,117,111,33024,171,59,32768,171,114,2048,59,98,102,104,108,112,115,116,10894,10896,10907,10911,10915,10919,10923,10928,32768,8592,512,59,102,10901,10903,32768,8676,115,59,32768,10527,115,59,32768,10525,107,59,32768,8617,112,59,32768,8619,108,59,32768,10553,105,109,59,32768,10611,108,59,32768,8610,768,59,97,101,10939,10941,10946,32768,10923,105,108,59,32768,10521,512,59,115,10951,10953,32768,10925,59,32896,10925,65024,768,97,98,114,10964,10969,10974,114,114,59,32768,10508,114,107,59,32768,10098,512,97,107,10979,10991,99,512,101,107,10985,10988,59,32768,123,59,32768,91,512,101,115,10996,10999,59,32768,10635,108,512,100,117,11005,11008,59,32768,10639,59,32768,10637,1024,97,101,117,121,11020,11026,11040,11044,114,111,110,59,32768,318,512,100,105,11031,11036,105,108,59,32768,316,108,59,32768,8968,98,59,32768,123,59,32768,1083,1024,99,113,114,115,11056,11060,11072,11090,97,59,32768,10550,117,111,512,59,114,11067,11069,32768,8220,59,32768,8222,512,100,117,11077,11083,104,97,114,59,32768,10599,115,104,97,114,59,32768,10571,104,59,32768,8626,1280,59,102,103,113,115,11105,11107,11228,11231,11250,32768,8804,116,1280,97,104,108,114,116,11119,11136,11157,11169,11216,114,114,111,119,512,59,116,11128,11130,32768,8592,97,105,108,59,32768,8610,97,114,112,111,111,110,512,100,117,11147,11153,111,119,110,59,32768,8637,112,59,32768,8636,101,102,116,97,114,114,111,119,115,59,32768,8647,105,103,104,116,768,97,104,115,11180,11194,11204,114,114,111,119,512,59,115,11189,11191,32768,8596,59,32768,8646,97,114,112,111,111,110,115,59,32768,8651,113,117,105,103,97,114,114,111,119,59,32768,8621,104,114,101,101,116,105,109,101,115,59,32768,8907,59,32768,8922,768,59,113,115,11238,11240,11243,32768,8804,59,32768,8806,108,97,110,116,59,32768,10877,1280,59,99,100,103,115,11261,11263,11267,11286,11298,32768,10877,99,59,32768,10920,111,116,512,59,111,11274,11276,32768,10879,512,59,114,11281,11283,32768,10881,59,32768,10883,512,59,101,11291,11294,32896,8922,65024,115,59,32768,10899,1280,97,100,101,103,115,11309,11317,11322,11339,11344,112,112,114,111,120,59,32768,10885,111,116,59,32768,8918,113,512,103,113,11328,11333,116,114,59,32768,8922,103,116,114,59,32768,10891,116,114,59,32768,8822,105,109,59,32768,8818,768,105,108,114,11356,11362,11368,115,104,116,59,32768,10620,111,111,114,59,32768,8970,59,32896,55349,56617,512,59,69,11377,11379,32768,8822,59,32768,10897,562,11386,11405,114,512,100,117,11391,11394,59,32768,8637,512,59,108,11399,11401,32768,8636,59,32768,10602,108,107,59,32768,9604,99,121,59,32768,1113,1280,59,97,99,104,116,11425,11427,11432,11440,11446,32768,8810,114,114,59,32768,8647,111,114,110,101,114,59,32768,8990,97,114,100,59,32768,10603,114,105,59,32768,9722,512,105,111,11456,11462,100,111,116,59,32768,320,117,115,116,512,59,97,11470,11472,32768,9136,99,104,101,59,32768,9136,1024,69,97,101,115,11487,11490,11504,11521,59,32768,8808,112,512,59,112,11496,11498,32768,10889,114,111,120,59,32768,10889,512,59,113,11509,11511,32768,10887,512,59,113,11516,11518,32768,10887,59,32768,8808,105,109,59,32768,8934,2048,97,98,110,111,112,116,119,122,11543,11556,11561,11616,11640,11660,11667,11680,512,110,114,11548,11552,103,59,32768,10220,114,59,32768,8701,114,107,59,32768,10214,103,768,108,109,114,11569,11596,11604,101,102,116,512,97,114,11577,11584,114,114,111,119,59,32768,10229,105,103,104,116,97,114,114,111,119,59,32768,10231,97,112,115,116,111,59,32768,10236,105,103,104,116,97,114,114,111,119,59,32768,10230,112,97,114,114,111,119,512,108,114,11627,11633,101,102,116,59,32768,8619,105,103,104,116,59,32768,8620,768,97,102,108,11647,11651,11655,114,59,32768,10629,59,32896,55349,56669,117,115,59,32768,10797,105,109,101,115,59,32768,10804,562,11671,11676,115,116,59,32768,8727,97,114,59,32768,95,768,59,101,102,11687,11689,11695,32768,9674,110,103,101,59,32768,9674,59,32768,10731,97,114,512,59,108,11705,11707,32768,40,116,59,32768,10643,1280,97,99,104,109,116,11722,11727,11735,11747,11750,114,114,59,32768,8646,111,114,110,101,114,59,32768,8991,97,114,512,59,100,11742,11744,32768,8651,59,32768,10605,59,32768,8206,114,105,59,32768,8895,1536,97,99,104,105,113,116,11768,11774,11779,11782,11798,11817,113,117,111,59,32768,8249,114,59,32896,55349,56513,59,32768,8624,109,768,59,101,103,11790,11792,11795,32768,8818,59,32768,10893,59,32768,10895,512,98,117,11803,11806,59,32768,91,111,512,59,114,11812,11814,32768,8216,59,32768,8218,114,111,107,59,32768,322,34816,60,59,99,100,104,105,108,113,114,11841,11843,11855,11860,11866,11872,11878,11885,32768,60,512,99,105,11848,11851,59,32768,10918,114,59,32768,10873,111,116,59,32768,8918,114,101,101,59,32768,8907,109,101,115,59,32768,8905,97,114,114,59,32768,10614,117,101,115,116,59,32768,10875,512,80,105,11890,11895,97,114,59,32768,10646,768,59,101,102,11902,11904,11907,32768,9667,59,32768,8884,59,32768,9666,114,512,100,117,11916,11923,115,104,97,114,59,32768,10570,104,97,114,59,32768,10598,512,101,110,11934,11944,114,116,110,101,113,113,59,32896,8808,65024,69,59,32896,8808,65024,3584,68,97,99,100,101,102,104,105,108,110,111,112,115,117,11978,11984,12061,12075,12081,12095,12100,12104,12170,12181,12188,12204,12207,12223,68,111,116,59,32768,8762,1024,99,108,112,114,11993,11999,12019,12055,114,33024,175,59,32768,175,512,101,116,12004,12007,59,32768,9794,512,59,101,12012,12014,32768,10016,115,101,59,32768,10016,512,59,115,12024,12026,32768,8614,116,111,1024,59,100,108,117,12037,12039,12045,12051,32768,8614,111,119,110,59,32768,8615,101,102,116,59,32768,8612,112,59,32768,8613,107,101,114,59,32768,9646,512,111,121,12066,12072,109,109,97,59,32768,10793,59,32768,1084,97,115,104,59,32768,8212,97,115,117,114,101,100,97,110,103,108,101,59,32768,8737,114,59,32896,55349,56618,111,59,32768,8487,768,99,100,110,12111,12118,12146,114,111,33024,181,59,32768,181,1024,59,97,99,100,12127,12129,12134,12139,32768,8739,115,116,59,32768,42,105,114,59,32768,10992,111,116,33024,183,59,32768,183,117,115,768,59,98,100,12155,12157,12160,32768,8722,59,32768,8863,512,59,117,12165,12167,32768,8760,59,32768,10794,564,12174,12178,112,59,32768,10971,114,59,32768,8230,112,108,117,115,59,32768,8723,512,100,112,12193,12199,101,108,115,59,32768,8871,102,59,32896,55349,56670,59,32768,8723,512,99,116,12212,12217,114,59,32896,55349,56514,112,111,115,59,32768,8766,768,59,108,109,12230,12232,12240,32768,956,116,105,109,97,112,59,32768,8888,97,112,59,32768,8888,6144,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,12294,12315,12364,12376,12393,12472,12496,12547,12553,12636,12641,12703,12725,12747,12752,12876,12881,12957,13033,13089,13294,13359,13384,13499,512,103,116,12299,12303,59,32896,8921,824,512,59,118,12308,12311,32896,8811,8402,59,32896,8811,824,768,101,108,116,12322,12348,12352,102,116,512,97,114,12329,12336,114,114,111,119,59,32768,8653,105,103,104,116,97,114,114,111,119,59,32768,8654,59,32896,8920,824,512,59,118,12357,12360,32896,8810,8402,59,32896,8810,824,105,103,104,116,97,114,114,111,119,59,32768,8655,512,68,100,12381,12387,97,115,104,59,32768,8879,97,115,104,59,32768,8878,1280,98,99,110,112,116,12404,12409,12415,12420,12452,108,97,59,32768,8711,117,116,101,59,32768,324,103,59,32896,8736,8402,1280,59,69,105,111,112,12431,12433,12437,12442,12446,32768,8777,59,32896,10864,824,100,59,32896,8779,824,115,59,32768,329,114,111,120,59,32768,8777,117,114,512,59,97,12459,12461,32768,9838,108,512,59,115,12467,12469,32768,9838,59,32768,8469,836,12477,0,12483,112,33024,160,59,32768,160,109,112,512,59,101,12489,12492,32896,8782,824,59,32896,8783,824,1280,97,101,111,117,121,12507,12519,12525,12540,12544,833,12512,0,12515,59,32768,10819,111,110,59,32768,328,100,105,108,59,32768,326,110,103,512,59,100,12532,12534,32768,8775,111,116,59,32896,10861,824,112,59,32768,10818,59,32768,1085,97,115,104,59,32768,8211,1792,59,65,97,100,113,115,120,12568,12570,12575,12596,12602,12608,12623,32768,8800,114,114,59,32768,8663,114,512,104,114,12581,12585,107,59,32768,10532,512,59,111,12590,12592,32768,8599,119,59,32768,8599,111,116,59,32896,8784,824,117,105,118,59,32768,8802,512,101,105,12613,12618,97,114,59,32768,10536,109,59,32896,8770,824,105,115,116,512,59,115,12631,12633,32768,8708,59,32768,8708,114,59,32896,55349,56619,1024,69,101,115,116,12650,12654,12688,12693,59,32896,8807,824,768,59,113,115,12661,12663,12684,32768,8817,768,59,113,115,12670,12672,12676,32768,8817,59,32896,8807,824,108,97,110,116,59,32896,10878,824,59,32896,10878,824,105,109,59,32768,8821,512,59,114,12698,12700,32768,8815,59,32768,8815,768,65,97,112,12710,12715,12720,114,114,59,32768,8654,114,114,59,32768,8622,97,114,59,32768,10994,768,59,115,118,12732,12734,12744,32768,8715,512,59,100,12739,12741,32768,8956,59,32768,8954,59,32768,8715,99,121,59,32768,1114,1792,65,69,97,100,101,115,116,12767,12772,12776,12781,12785,12853,12858,114,114,59,32768,8653,59,32896,8806,824,114,114,59,32768,8602,114,59,32768,8229,1024,59,102,113,115,12794,12796,12821,12842,32768,8816,116,512,97,114,12802,12809,114,114,111,119,59,32768,8602,105,103,104,116,97,114,114,111,119,59,32768,8622,768,59,113,115,12828,12830,12834,32768,8816,59,32896,8806,824,108,97,110,116,59,32896,10877,824,512,59,115,12847,12850,32896,10877,824,59,32768,8814,105,109,59,32768,8820,512,59,114,12863,12865,32768,8814,105,512,59,101,12871,12873,32768,8938,59,32768,8940,105,100,59,32768,8740,512,112,116,12886,12891,102,59,32896,55349,56671,33536,172,59,105,110,12899,12901,12936,32768,172,110,1024,59,69,100,118,12911,12913,12917,12923,32768,8713,59,32896,8953,824,111,116,59,32896,8949,824,818,12928,12931,12934,59,32768,8713,59,32768,8951,59,32768,8950,105,512,59,118,12942,12944,32768,8716,818,12949,12952,12955,59,32768,8716,59,32768,8958,59,32768,8957,768,97,111,114,12964,12992,12999,114,1024,59,97,115,116,12974,12976,12983,12988,32768,8742,108,108,101,108,59,32768,8742,108,59,32896,11005,8421,59,32896,8706,824,108,105,110,116,59,32768,10772,768,59,99,101,13006,13008,13013,32768,8832,117,101,59,32768,8928,512,59,99,13018,13021,32896,10927,824,512,59,101,13026,13028,32768,8832,113,59,32896,10927,824,1024,65,97,105,116,13042,13047,13066,13077,114,114,59,32768,8655,114,114,768,59,99,119,13056,13058,13062,32768,8603,59,32896,10547,824,59,32896,8605,824,103,104,116,97,114,114,111,119,59,32768,8603,114,105,512,59,101,13084,13086,32768,8939,59,32768,8941,1792,99,104,105,109,112,113,117,13104,13128,13151,13169,13174,13179,13194,1024,59,99,101,114,13113,13115,13120,13124,32768,8833,117,101,59,32768,8929,59,32896,10928,824,59,32896,55349,56515,111,114,116,1086,13137,0,0,13142,105,100,59,32768,8740,97,114,97,108,108,101,108,59,32768,8742,109,512,59,101,13157,13159,32768,8769,512,59,113,13164,13166,32768,8772,59,32768,8772,105,100,59,32768,8740,97,114,59,32768,8742,115,117,512,98,112,13186,13190,101,59,32768,8930,101,59,32768,8931,768,98,99,112,13201,13241,13254,1024,59,69,101,115,13210,13212,13216,13219,32768,8836,59,32896,10949,824,59,32768,8840,101,116,512,59,101,13226,13229,32896,8834,8402,113,512,59,113,13235,13237,32768,8840,59,32896,10949,824,99,512,59,101,13247,13249,32768,8833,113,59,32896,10928,824,1024,59,69,101,115,13263,13265,13269,13272,32768,8837,59,32896,10950,824,59,32768,8841,101,116,512,59,101,13279,13282,32896,8835,8402,113,512,59,113,13288,13290,32768,8841,59,32896,10950,824,1024,103,105,108,114,13303,13307,13315,13319,108,59,32768,8825,108,100,101,33024,241,59,32768,241,103,59,32768,8824,105,97,110,103,108,101,512,108,114,13330,13344,101,102,116,512,59,101,13338,13340,32768,8938,113,59,32768,8940,105,103,104,116,512,59,101,13353,13355,32768,8939,113,59,32768,8941,512,59,109,13364,13366,32768,957,768,59,101,115,13373,13375,13380,32768,35,114,111,59,32768,8470,112,59,32768,8199,2304,68,72,97,100,103,105,108,114,115,13403,13409,13415,13420,13426,13439,13446,13476,13493,97,115,104,59,32768,8877,97,114,114,59,32768,10500,112,59,32896,8781,8402,97,115,104,59,32768,8876,512,101,116,13431,13435,59,32896,8805,8402,59,32896,62,8402,110,102,105,110,59,32768,10718,768,65,101,116,13453,13458,13462,114,114,59,32768,10498,59,32896,8804,8402,512,59,114,13467,13470,32896,60,8402,105,101,59,32896,8884,8402,512,65,116,13481,13486,114,114,59,32768,10499,114,105,101,59,32896,8885,8402,105,109,59,32896,8764,8402,768,65,97,110,13506,13511,13532,114,114,59,32768,8662,114,512,104,114,13517,13521,107,59,32768,10531,512,59,111,13526,13528,32768,8598,119,59,32768,8598,101,97,114,59,32768,10535,9252,13576,0,0,0,0,0,0,0,0,0,0,0,0,0,13579,0,13596,13617,13653,13659,13673,13695,13708,0,0,13713,13750,0,13788,13794,0,13815,13890,13913,13937,13944,59,32768,9416,512,99,115,13583,13591,117,116,101,33024,243,59,32768,243,116,59,32768,8859,512,105,121,13600,13613,114,512,59,99,13606,13608,32768,8858,33024,244,59,32768,244,59,32768,1086,1280,97,98,105,111,115,13627,13632,13638,13642,13646,115,104,59,32768,8861,108,97,99,59,32768,337,118,59,32768,10808,116,59,32768,8857,111,108,100,59,32768,10684,108,105,103,59,32768,339,512,99,114,13663,13668,105,114,59,32768,10687,59,32896,55349,56620,1600,13680,0,0,13684,0,13692,110,59,32768,731,97,118,101,33024,242,59,32768,242,59,32768,10689,512,98,109,13699,13704,97,114,59,32768,10677,59,32768,937,110,116,59,32768,8750,1024,97,99,105,116,13721,13726,13741,13746,114,114,59,32768,8634,512,105,114,13731,13735,114,59,32768,10686,111,115,115,59,32768,10683,110,101,59,32768,8254,59,32768,10688,768,97,101,105,13756,13761,13766,99,114,59,32768,333,103,97,59,32768,969,768,99,100,110,13773,13779,13782,114,111,110,59,32768,959,59,32768,10678,117,115,59,32768,8854,112,102,59,32896,55349,56672,768,97,101,108,13800,13804,13809,114,59,32768,10679,114,112,59,32768,10681,117,115,59,32768,8853,1792,59,97,100,105,111,115,118,13829,13831,13836,13869,13875,13879,13886,32768,8744,114,114,59,32768,8635,1024,59,101,102,109,13845,13847,13859,13864,32768,10845,114,512,59,111,13853,13855,32768,8500,102,59,32768,8500,33024,170,59,32768,170,33024,186,59,32768,186,103,111,102,59,32768,8886,114,59,32768,10838,108,111,112,101,59,32768,10839,59,32768,10843,768,99,108,111,13896,13900,13908,114,59,32768,8500,97,115,104,33024,248,59,32768,248,108,59,32768,8856,105,573,13917,13924,100,101,33024,245,59,32768,245,101,115,512,59,97,13930,13932,32768,8855,115,59,32768,10806,109,108,33024,246,59,32768,246,98,97,114,59,32768,9021,5426,13972,0,14013,0,14017,14053,0,14058,14086,0,0,14107,14199,0,14202,0,0,14229,14425,0,14438,114,1024,59,97,115,116,13981,13983,13997,14009,32768,8741,33280,182,59,108,13989,13991,32768,182,108,101,108,59,32768,8741,1082,14003,0,0,14007,109,59,32768,10995,59,32768,11005,59,32768,8706,121,59,32768,1087,114,1280,99,105,109,112,116,14028,14033,14038,14043,14046,110,116,59,32768,37,111,100,59,32768,46,105,108,59,32768,8240,59,32768,8869,101,110,107,59,32768,8241,114,59,32896,55349,56621,768,105,109,111,14064,14074,14080,512,59,118,14069,14071,32768,966,59,32768,981,109,97,116,59,32768,8499,110,101,59,32768,9742,768,59,116,118,14092,14094,14103,32768,960,99,104,102,111,114,107,59,32768,8916,59,32768,982,512,97,117,14111,14132,110,512,99,107,14117,14128,107,512,59,104,14123,14125,32768,8463,59,32768,8462,118,59,32768,8463,115,2304,59,97,98,99,100,101,109,115,116,14152,14154,14160,14163,14168,14179,14182,14188,14193,32768,43,99,105,114,59,32768,10787,59,32768,8862,105,114,59,32768,10786,512,111,117,14173,14176,59,32768,8724,59,32768,10789,59,32768,10866,110,33024,177,59,32768,177,105,109,59,32768,10790,119,111,59,32768,10791,59,32768,177,768,105,112,117,14208,14216,14221,110,116,105,110,116,59,32768,10773,102,59,32896,55349,56673,110,100,33024,163,59,32768,163,2560,59,69,97,99,101,105,110,111,115,117,14249,14251,14254,14258,14263,14336,14348,14367,14413,14418,32768,8826,59,32768,10931,112,59,32768,10935,117,101,59,32768,8828,512,59,99,14268,14270,32768,10927,1536,59,97,99,101,110,115,14283,14285,14293,14302,14306,14331,32768,8826,112,112,114,111,120,59,32768,10935,117,114,108,121,101,113,59,32768,8828,113,59,32768,10927,768,97,101,115,14313,14321,14326,112,112,114,111,120,59,32768,10937,113,113,59,32768,10933,105,109,59,32768,8936,105,109,59,32768,8830,109,101,512,59,115,14343,14345,32768,8242,59,32768,8473,768,69,97,115,14355,14358,14362,59,32768,10933,112,59,32768,10937,105,109,59,32768,8936,768,100,102,112,14374,14377,14402,59,32768,8719,768,97,108,115,14384,14390,14396,108,97,114,59,32768,9006,105,110,101,59,32768,8978,117,114,102,59,32768,8979,512,59,116,14407,14409,32768,8733,111,59,32768,8733,105,109,59,32768,8830,114,101,108,59,32768,8880,512,99,105,14429,14434,114,59,32896,55349,56517,59,32768,968,110,99,115,112,59,32768,8200,1536,102,105,111,112,115,117,14457,14462,14467,14473,14480,14486,114,59,32896,55349,56622,110,116,59,32768,10764,112,102,59,32896,55349,56674,114,105,109,101,59,32768,8279,99,114,59,32896,55349,56518,768,97,101,111,14493,14513,14526,116,512,101,105,14499,14508,114,110,105,111,110,115,59,32768,8461,110,116,59,32768,10774,115,116,512,59,101,14520,14522,32768,63,113,59,32768,8799,116,33024,34,59,32768,34,5376,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,14575,14597,14603,14608,14775,14829,14865,14901,14943,14966,15e3,15139,15159,15176,15182,15236,15261,15267,15309,15352,15360,768,97,114,116,14582,14587,14591,114,114,59,32768,8667,114,59,32768,8658,97,105,108,59,32768,10524,97,114,114,59,32768,10511,97,114,59,32768,10596,1792,99,100,101,110,113,114,116,14623,14637,14642,14650,14672,14679,14751,512,101,117,14628,14632,59,32896,8765,817,116,101,59,32768,341,105,99,59,32768,8730,109,112,116,121,118,59,32768,10675,103,1024,59,100,101,108,14660,14662,14665,14668,32768,10217,59,32768,10642,59,32768,10661,101,59,32768,10217,117,111,33024,187,59,32768,187,114,2816,59,97,98,99,102,104,108,112,115,116,119,14703,14705,14709,14720,14723,14727,14731,14735,14739,14744,14748,32768,8594,112,59,32768,10613,512,59,102,14714,14716,32768,8677,115,59,32768,10528,59,32768,10547,115,59,32768,10526,107,59,32768,8618,112,59,32768,8620,108,59,32768,10565,105,109,59,32768,10612,108,59,32768,8611,59,32768,8605,512,97,105,14756,14761,105,108,59,32768,10522,111,512,59,110,14767,14769,32768,8758,97,108,115,59,32768,8474,768,97,98,114,14782,14787,14792,114,114,59,32768,10509,114,107,59,32768,10099,512,97,107,14797,14809,99,512,101,107,14803,14806,59,32768,125,59,32768,93,512,101,115,14814,14817,59,32768,10636,108,512,100,117,14823,14826,59,32768,10638,59,32768,10640,1024,97,101,117,121,14838,14844,14858,14862,114,111,110,59,32768,345,512,100,105,14849,14854,105,108,59,32768,343,108,59,32768,8969,98,59,32768,125,59,32768,1088,1024,99,108,113,115,14874,14878,14885,14897,97,59,32768,10551,100,104,97,114,59,32768,10601,117,111,512,59,114,14892,14894,32768,8221,59,32768,8221,104,59,32768,8627,768,97,99,103,14908,14934,14938,108,1024,59,105,112,115,14918,14920,14925,14931,32768,8476,110,101,59,32768,8475,97,114,116,59,32768,8476,59,32768,8477,116,59,32768,9645,33024,174,59,32768,174,768,105,108,114,14950,14956,14962,115,104,116,59,32768,10621,111,111,114,59,32768,8971,59,32896,55349,56623,512,97,111,14971,14990,114,512,100,117,14977,14980,59,32768,8641,512,59,108,14985,14987,32768,8640,59,32768,10604,512,59,118,14995,14997,32768,961,59,32768,1009,768,103,110,115,15007,15123,15127,104,116,1536,97,104,108,114,115,116,15022,15039,15060,15086,15099,15111,114,114,111,119,512,59,116,15031,15033,32768,8594,97,105,108,59,32768,8611,97,114,112,111,111,110,512,100,117,15050,15056,111,119,110,59,32768,8641,112,59,32768,8640,101,102,116,512,97,104,15068,15076,114,114,111,119,115,59,32768,8644,97,114,112,111,111,110,115,59,32768,8652,105,103,104,116,97,114,114,111,119,115,59,32768,8649,113,117,105,103,97,114,114,111,119,59,32768,8605,104,114,101,101,116,105,109,101,115,59,32768,8908,103,59,32768,730,105,110,103,100,111,116,115,101,113,59,32768,8787,768,97,104,109,15146,15151,15156,114,114,59,32768,8644,97,114,59,32768,8652,59,32768,8207,111,117,115,116,512,59,97,15168,15170,32768,9137,99,104,101,59,32768,9137,109,105,100,59,32768,10990,1024,97,98,112,116,15191,15204,15209,15229,512,110,114,15196,15200,103,59,32768,10221,114,59,32768,8702,114,107,59,32768,10215,768,97,102,108,15216,15220,15224,114,59,32768,10630,59,32896,55349,56675,117,115,59,32768,10798,105,109,101,115,59,32768,10805,512,97,112,15241,15253,114,512,59,103,15247,15249,32768,41,116,59,32768,10644,111,108,105,110,116,59,32768,10770,97,114,114,59,32768,8649,1024,97,99,104,113,15276,15282,15287,15290,113,117,111,59,32768,8250,114,59,32896,55349,56519,59,32768,8625,512,98,117,15295,15298,59,32768,93,111,512,59,114,15304,15306,32768,8217,59,32768,8217,768,104,105,114,15316,15322,15328,114,101,101,59,32768,8908,109,101,115,59,32768,8906,105,1024,59,101,102,108,15338,15340,15343,15346,32768,9657,59,32768,8885,59,32768,9656,116,114,105,59,32768,10702,108,117,104,97,114,59,32768,10600,59,32768,8478,6706,15391,15398,15404,15499,15516,15592,0,15606,15660,0,0,15752,15758,0,15827,15863,15886,16e3,16006,16038,16086,0,16467,0,0,16506,99,117,116,101,59,32768,347,113,117,111,59,32768,8218,2560,59,69,97,99,101,105,110,112,115,121,15424,15426,15429,15441,15446,15458,15463,15482,15490,15495,32768,8827,59,32768,10932,833,15434,0,15437,59,32768,10936,111,110,59,32768,353,117,101,59,32768,8829,512,59,100,15451,15453,32768,10928,105,108,59,32768,351,114,99,59,32768,349,768,69,97,115,15470,15473,15477,59,32768,10934,112,59,32768,10938,105,109,59,32768,8937,111,108,105,110,116,59,32768,10771,105,109,59,32768,8831,59,32768,1089,111,116,768,59,98,101,15507,15509,15512,32768,8901,59,32768,8865,59,32768,10854,1792,65,97,99,109,115,116,120,15530,15535,15556,15562,15566,15572,15587,114,114,59,32768,8664,114,512,104,114,15541,15545,107,59,32768,10533,512,59,111,15550,15552,32768,8600,119,59,32768,8600,116,33024,167,59,32768,167,105,59,32768,59,119,97,114,59,32768,10537,109,512,105,110,15578,15584,110,117,115,59,32768,8726,59,32768,8726,116,59,32768,10038,114,512,59,111,15597,15600,32896,55349,56624,119,110,59,32768,8994,1024,97,99,111,121,15614,15619,15632,15654,114,112,59,32768,9839,512,104,121,15624,15629,99,121,59,32768,1097,59,32768,1096,114,116,1086,15640,0,0,15645,105,100,59,32768,8739,97,114,97,108,108,101,108,59,32768,8741,33024,173,59,32768,173,512,103,109,15664,15681,109,97,768,59,102,118,15673,15675,15678,32768,963,59,32768,962,59,32768,962,2048,59,100,101,103,108,110,112,114,15698,15700,15705,15715,15725,15735,15739,15745,32768,8764,111,116,59,32768,10858,512,59,113,15710,15712,32768,8771,59,32768,8771,512,59,69,15720,15722,32768,10910,59,32768,10912,512,59,69,15730,15732,32768,10909,59,32768,10911,101,59,32768,8774,108,117,115,59,32768,10788,97,114,114,59,32768,10610,97,114,114,59,32768,8592,1024,97,101,105,116,15766,15788,15796,15808,512,108,115,15771,15783,108,115,101,116,109,105,110,117,115,59,32768,8726,104,112,59,32768,10803,112,97,114,115,108,59,32768,10724,512,100,108,15801,15804,59,32768,8739,101,59,32768,8995,512,59,101,15813,15815,32768,10922,512,59,115,15820,15822,32768,10924,59,32896,10924,65024,768,102,108,112,15833,15839,15857,116,99,121,59,32768,1100,512,59,98,15844,15846,32768,47,512,59,97,15851,15853,32768,10692,114,59,32768,9023,102,59,32896,55349,56676,97,512,100,114,15868,15882,101,115,512,59,117,15875,15877,32768,9824,105,116,59,32768,9824,59,32768,8741,768,99,115,117,15892,15921,15977,512,97,117,15897,15909,112,512,59,115,15903,15905,32768,8851,59,32896,8851,65024,112,512,59,115,15915,15917,32768,8852,59,32896,8852,65024,117,512,98,112,15927,15952,768,59,101,115,15934,15936,15939,32768,8847,59,32768,8849,101,116,512,59,101,15946,15948,32768,8847,113,59,32768,8849,768,59,101,115,15959,15961,15964,32768,8848,59,32768,8850,101,116,512,59,101,15971,15973,32768,8848,113,59,32768,8850,768,59,97,102,15984,15986,15996,32768,9633,114,566,15991,15994,59,32768,9633,59,32768,9642,59,32768,9642,97,114,114,59,32768,8594,1024,99,101,109,116,16014,16019,16025,16031,114,59,32896,55349,56520,116,109,110,59,32768,8726,105,108,101,59,32768,8995,97,114,102,59,32768,8902,512,97,114,16042,16053,114,512,59,102,16048,16050,32768,9734,59,32768,9733,512,97,110,16058,16081,105,103,104,116,512,101,112,16067,16076,112,115,105,108,111,110,59,32768,1013,104,105,59,32768,981,115,59,32768,175,1280,98,99,109,110,112,16096,16221,16288,16291,16295,2304,59,69,100,101,109,110,112,114,115,16115,16117,16120,16125,16137,16143,16154,16160,16166,32768,8834,59,32768,10949,111,116,59,32768,10941,512,59,100,16130,16132,32768,8838,111,116,59,32768,10947,117,108,116,59,32768,10945,512,69,101,16148,16151,59,32768,10955,59,32768,8842,108,117,115,59,32768,10943,97,114,114,59,32768,10617,768,101,105,117,16173,16206,16210,116,768,59,101,110,16181,16183,16194,32768,8834,113,512,59,113,16189,16191,32768,8838,59,32768,10949,101,113,512,59,113,16201,16203,32768,8842,59,32768,10955,109,59,32768,10951,512,98,112,16215,16218,59,32768,10965,59,32768,10963,99,1536,59,97,99,101,110,115,16235,16237,16245,16254,16258,16283,32768,8827,112,112,114,111,120,59,32768,10936,117,114,108,121,101,113,59,32768,8829,113,59,32768,10928,768,97,101,115,16265,16273,16278,112,112,114,111,120,59,32768,10938,113,113,59,32768,10934,105,109,59,32768,8937,105,109,59,32768,8831,59,32768,8721,103,59,32768,9834,3328,49,50,51,59,69,100,101,104,108,109,110,112,115,16322,16327,16332,16337,16339,16342,16356,16368,16382,16388,16394,16405,16411,33024,185,59,32768,185,33024,178,59,32768,178,33024,179,59,32768,179,32768,8835,59,32768,10950,512,111,115,16347,16351,116,59,32768,10942,117,98,59,32768,10968,512,59,100,16361,16363,32768,8839,111,116,59,32768,10948,115,512,111,117,16374,16378,108,59,32768,10185,98,59,32768,10967,97,114,114,59,32768,10619,117,108,116,59,32768,10946,512,69,101,16399,16402,59,32768,10956,59,32768,8843,108,117,115,59,32768,10944,768,101,105,117,16418,16451,16455,116,768,59,101,110,16426,16428,16439,32768,8835,113,512,59,113,16434,16436,32768,8839,59,32768,10950,101,113,512,59,113,16446,16448,32768,8843,59,32768,10956,109,59,32768,10952,512,98,112,16460,16463,59,32768,10964,59,32768,10966,768,65,97,110,16473,16478,16499,114,114,59,32768,8665,114,512,104,114,16484,16488,107,59,32768,10534,512,59,111,16493,16495,32768,8601,119,59,32768,8601,119,97,114,59,32768,10538,108,105,103,33024,223,59,32768,223,5938,16538,16552,16557,16579,16584,16591,0,16596,16692,0,0,0,0,0,16731,16780,0,16787,16908,0,0,0,16938,1091,16543,0,0,16549,103,101,116,59,32768,8982,59,32768,964,114,107,59,32768,9140,768,97,101,121,16563,16569,16575,114,111,110,59,32768,357,100,105,108,59,32768,355,59,32768,1090,111,116,59,32768,8411,108,114,101,99,59,32768,8981,114,59,32896,55349,56625,1024,101,105,107,111,16604,16641,16670,16684,835,16609,0,16624,101,512,52,102,16614,16617,59,32768,8756,111,114,101,59,32768,8756,97,768,59,115,118,16631,16633,16638,32768,952,121,109,59,32768,977,59,32768,977,512,99,110,16646,16665,107,512,97,115,16652,16660,112,112,114,111,120,59,32768,8776,105,109,59,32768,8764,115,112,59,32768,8201,512,97,115,16675,16679,112,59,32768,8776,105,109,59,32768,8764,114,110,33024,254,59,32768,254,829,16696,16701,16727,100,101,59,32768,732,101,115,33536,215,59,98,100,16710,16712,16723,32768,215,512,59,97,16717,16719,32768,8864,114,59,32768,10801,59,32768,10800,116,59,32768,8749,768,101,112,115,16737,16741,16775,97,59,32768,10536,1024,59,98,99,102,16750,16752,16757,16762,32768,8868,111,116,59,32768,9014,105,114,59,32768,10993,512,59,111,16767,16770,32896,55349,56677,114,107,59,32768,10970,97,59,32768,10537,114,105,109,101,59,32768,8244,768,97,105,112,16793,16798,16899,100,101,59,32768,8482,1792,97,100,101,109,112,115,116,16813,16868,16873,16876,16883,16889,16893,110,103,108,101,1280,59,100,108,113,114,16828,16830,16836,16850,16853,32768,9653,111,119,110,59,32768,9663,101,102,116,512,59,101,16844,16846,32768,9667,113,59,32768,8884,59,32768,8796,105,103,104,116,512,59,101,16862,16864,32768,9657,113,59,32768,8885,111,116,59,32768,9708,59,32768,8796,105,110,117,115,59,32768,10810,108,117,115,59,32768,10809,98,59,32768,10701,105,109,101,59,32768,10811,101,122,105,117,109,59,32768,9186,768,99,104,116,16914,16926,16931,512,114,121,16919,16923,59,32896,55349,56521,59,32768,1094,99,121,59,32768,1115,114,111,107,59,32768,359,512,105,111,16942,16947,120,116,59,32768,8812,104,101,97,100,512,108,114,16956,16967,101,102,116,97,114,114,111,119,59,32768,8606,105,103,104,116,97,114,114,111,119,59,32768,8608,4608,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,17016,17021,17026,17043,17057,17072,17095,17110,17119,17139,17172,17187,17202,17290,17330,17336,17365,17381,114,114,59,32768,8657,97,114,59,32768,10595,512,99,114,17031,17039,117,116,101,33024,250,59,32768,250,114,59,32768,8593,114,820,17049,0,17053,121,59,32768,1118,118,101,59,32768,365,512,105,121,17062,17069,114,99,33024,251,59,32768,251,59,32768,1091,768,97,98,104,17079,17084,17090,114,114,59,32768,8645,108,97,99,59,32768,369,97,114,59,32768,10606,512,105,114,17100,17106,115,104,116,59,32768,10622,59,32896,55349,56626,114,97,118,101,33024,249,59,32768,249,562,17123,17135,114,512,108,114,17128,17131,59,32768,8639,59,32768,8638,108,107,59,32768,9600,512,99,116,17144,17167,1088,17150,0,0,17163,114,110,512,59,101,17156,17158,32768,8988,114,59,32768,8988,111,112,59,32768,8975,114,105,59,32768,9720,512,97,108,17177,17182,99,114,59,32768,363,33024,168,59,32768,168,512,103,112,17192,17197,111,110,59,32768,371,102,59,32896,55349,56678,1536,97,100,104,108,115,117,17215,17222,17233,17257,17262,17280,114,114,111,119,59,32768,8593,111,119,110,97,114,114,111,119,59,32768,8597,97,114,112,111,111,110,512,108,114,17244,17250,101,102,116,59,32768,8639,105,103,104,116,59,32768,8638,117,115,59,32768,8846,105,768,59,104,108,17270,17272,17275,32768,965,59,32768,978,111,110,59,32768,965,112,97,114,114,111,119,115,59,32768,8648,768,99,105,116,17297,17320,17325,1088,17303,0,0,17316,114,110,512,59,101,17309,17311,32768,8989,114,59,32768,8989,111,112,59,32768,8974,110,103,59,32768,367,114,105,59,32768,9721,99,114,59,32896,55349,56522,768,100,105,114,17343,17348,17354,111,116,59,32768,8944,108,100,101,59,32768,361,105,512,59,102,17360,17362,32768,9653,59,32768,9652,512,97,109,17370,17375,114,114,59,32768,8648,108,33024,252,59,32768,252,97,110,103,108,101,59,32768,10663,3840,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,17420,17425,17437,17443,17613,17617,17623,17667,17672,17678,17693,17699,17705,17711,17754,114,114,59,32768,8661,97,114,512,59,118,17432,17434,32768,10984,59,32768,10985,97,115,104,59,32768,8872,512,110,114,17448,17454,103,114,116,59,32768,10652,1792,101,107,110,112,114,115,116,17469,17478,17485,17494,17515,17526,17578,112,115,105,108,111,110,59,32768,1013,97,112,112,97,59,32768,1008,111,116,104,105,110,103,59,32768,8709,768,104,105,114,17501,17505,17508,105,59,32768,981,59,32768,982,111,112,116,111,59,32768,8733,512,59,104,17520,17522,32768,8597,111,59,32768,1009,512,105,117,17531,17537,103,109,97,59,32768,962,512,98,112,17542,17560,115,101,116,110,101,113,512,59,113,17553,17556,32896,8842,65024,59,32896,10955,65024,115,101,116,110,101,113,512,59,113,17571,17574,32896,8843,65024,59,32896,10956,65024,512,104,114,17583,17589,101,116,97,59,32768,977,105,97,110,103,108,101,512,108,114,17600,17606,101,102,116,59,32768,8882,105,103,104,116,59,32768,8883,121,59,32768,1074,97,115,104,59,32768,8866,768,101,108,114,17630,17648,17654,768,59,98,101,17637,17639,17644,32768,8744,97,114,59,32768,8891,113,59,32768,8794,108,105,112,59,32768,8942,512,98,116,17659,17664,97,114,59,32768,124,59,32768,124,114,59,32896,55349,56627,116,114,105,59,32768,8882,115,117,512,98,112,17685,17689,59,32896,8834,8402,59,32896,8835,8402,112,102,59,32896,55349,56679,114,111,112,59,32768,8733,116,114,105,59,32768,8883,512,99,117,17716,17721,114,59,32896,55349,56523,512,98,112,17726,17740,110,512,69,101,17732,17736,59,32896,10955,65024,59,32896,8842,65024,110,512,69,101,17746,17750,59,32896,10956,65024,59,32896,8843,65024,105,103,122,97,103,59,32768,10650,1792,99,101,102,111,112,114,115,17777,17783,17815,17820,17826,17829,17842,105,114,99,59,32768,373,512,100,105,17788,17809,512,98,103,17793,17798,97,114,59,32768,10847,101,512,59,113,17804,17806,32768,8743,59,32768,8793,101,114,112,59,32768,8472,114,59,32896,55349,56628,112,102,59,32896,55349,56680,59,32768,8472,512,59,101,17834,17836,32768,8768,97,116,104,59,32768,8768,99,114,59,32896,55349,56524,5428,17871,17891,0,17897,0,17902,17917,0,0,17920,17935,17940,17945,0,0,17977,17992,0,18008,18024,18029,768,97,105,117,17877,17881,17886,112,59,32768,8898,114,99,59,32768,9711,112,59,32768,8899,116,114,105,59,32768,9661,114,59,32896,55349,56629,512,65,97,17906,17911,114,114,59,32768,10234,114,114,59,32768,10231,59,32768,958,512,65,97,17924,17929,114,114,59,32768,10232,114,114,59,32768,10229,97,112,59,32768,10236,105,115,59,32768,8955,768,100,112,116,17951,17956,17970,111,116,59,32768,10752,512,102,108,17961,17965,59,32896,55349,56681,117,115,59,32768,10753,105,109,101,59,32768,10754,512,65,97,17981,17986,114,114,59,32768,10233,114,114,59,32768,10230,512,99,113,17996,18001,114,59,32896,55349,56525,99,117,112,59,32768,10758,512,112,116,18012,18018,108,117,115,59,32768,10756,114,105,59,32768,9651,101,101,59,32768,8897,101,100,103,101,59,32768,8896,2048,97,99,101,102,105,111,115,117,18052,18068,18081,18087,18092,18097,18103,18109,99,512,117,121,18058,18065,116,101,33024,253,59,32768,253,59,32768,1103,512,105,121,18073,18078,114,99,59,32768,375,59,32768,1099,110,33024,165,59,32768,165,114,59,32896,55349,56630,99,121,59,32768,1111,112,102,59,32896,55349,56682,99,114,59,32896,55349,56526,512,99,109,18114,18118,121,59,32768,1102,108,33024,255,59,32768,255,2560,97,99,100,101,102,104,105,111,115,119,18145,18152,18166,18171,18186,18191,18196,18204,18210,18216,99,117,116,101,59,32768,378,512,97,121,18157,18163,114,111,110,59,32768,382,59,32768,1079,111,116,59,32768,380,512,101,116,18176,18182,116,114,102,59,32768,8488,97,59,32768,950,114,59,32896,55349,56631,99,121,59,32768,1078,103,114,97,114,114,59,32768,8669,112,102,59,32896,55349,56683,99,114,59,32896,55349,56527,512,106,110,18221,18224,59,32768,8205,106,59,32768,8204]),an=Object.defineProperty({default:tn},"__esModule",{value:!0}),nn=new Uint16Array([1024,97,103,108,113,9,23,27,31,1086,15,0,0,19,112,59,32768,38,111,115,59,32768,39,116,59,32768,62,116,59,32768,60,117,111,116,59,32768,34]),on=an,rn=Object.defineProperty({default:nn},"__esModule",{value:!0}),ln=en,sn=F((function(e,t){var a=_&&_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTML=t.determineBranch=t.JUMP_OFFSET_BASE=t.BinTrieFlags=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var i=a(on);t.htmlDecodeTree=i.default;var n=a(rn);t.xmlDecodeTree=n.default;var o,r=a(ln);function l(e){return function(t,a){for(var i="",n=0,l=0;(l=t.indexOf("&",l))>=0;)if(i+=t.slice(n,l),n=l,l+=1,35!==t.charCodeAt(l)){for(var d=null,c=1,p=0,m=e[p];l<t.length&&!((p=s(e,m,p+1,t.charCodeAt(l)))<0);l++,c++)(m=e[p])&o.HAS_VALUE&&(a&&59!==t.charCodeAt(l)?p+=1:(d=m&o.MULTI_BYTE?String.fromCharCode(e[++p],e[++p]):String.fromCharCode(e[++p]),c=0));null!=d&&(i+=d,n=l-c+1)}else{var u=l+1,h=10,g=t.charCodeAt(u);for(120==(32|g)&&(h=16,l+=1,u+=1);(g=t.charCodeAt(++l))>=48&&g<=57||16===h&&(32|g)>=97&&(32|g)<=102;);if(u!==l){var b=t.substring(u,l),f=parseInt(b,h);if(59===t.charCodeAt(l))l+=1;else if(a)continue;i+=r.default(f),n=l}}return i+t.slice(n)}}function s(e,a,i,n){if(a<=128)return n===a?i:-1;var r=(a&o.BRANCH_LENGTH)>>8;if(0===r)return-1;if(1===r)return n===e[i]?i+1:-1;var l=a&o.JUMP_TABLE;if(l){var s=n-t.JUMP_OFFSET_BASE-l;return s<0||s>r?-1:e[i+s]-1}for(var d=i,c=d+r-1;d<=c;){var p=d+c>>>1,m=e[p];if(m<n)d=p+1;else{if(!(m>n))return e[p+r];c=p-1}}return-1}!function(e){e[e.HAS_VALUE=32768]="HAS_VALUE",e[e.BRANCH_LENGTH=32512]="BRANCH_LENGTH",e[e.MULTI_BYTE=128]="MULTI_BYTE",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(o=t.BinTrieFlags||(t.BinTrieFlags={})),t.JUMP_OFFSET_BASE=47,t.determineBranch=s;var d=l(i.default),c=l(n.default);t.decodeHTML=function(e){return d(e,!1)},t.decodeHTMLStrict=function(e){return d(e,!0)},t.decodeXML=function(e){return c(e,!0)}})),dn=sn,cn=(_&&_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(ln);function pn(e){return 32===e||10===e||9===e||12===e||13===e}function mn(e){return 47===e||62===e||pn(e)}function un(e){return e>=48&&e<=57}var hn={Cdata:new Uint16Array([67,68,65,84,65,91]),CdataEnd:new Uint16Array([93,93,62]),CommentEnd:new Uint16Array([45,45,62]),ScriptEnd:new Uint16Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint16Array([60,47,115,116,121,108,101]),TitleEnd:new Uint16Array([60,47,116,105,116,108,101])},gn=function(){function e(e,t){var a=e.xmlMode,i=void 0!==a&&a,n=e.decodeEntities,o=void 0===n||n;this.cbs=t,this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.isSpecial=!1,this.running=!0,this.ended=!1,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.trieResult=null,this.entityExcess=0,this.xmlMode=i,this.decodeEntities=o,this.entityTrie=i?dn.xmlDecodeTree:dn.htmlDecodeTree}return e.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.currentSequence=void 0,this.running=!0,this.ended=!1},e.prototype.write=function(e){if(this.ended)return this.cbs.onerror(Error(".write() after done!"));this.buffer+=e,this.parse()},e.prototype.end=function(e){if(this.ended)return this.cbs.onerror(Error(".end() after done!"));e&&this.write(e),this.ended=!0,this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},e.prototype.getAbsoluteSectionStart=function(){return this.sectionStart+this.bufferOffset},e.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},e.prototype.stateText=function(e){60===e||!this.decodeEntities&&this.fastForwardTo(60)?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):this.decodeEntities&&38===e&&(this._state=25)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?mn(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this._state=3,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||pn(e)){var t=this._index-this.currentSequence.length;if(this.sectionStart<t){var a=this._index;this._index=t,this.cbs.ontext(this.getSection()),this._index=a}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===hn.TitleEnd?this.decodeEntities&&38===e&&(this._state=25):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)},e.prototype.stateCDATASequence=function(e){e===hn.Cdata[this.sequenceIndex]?++this.sequenceIndex===hn.Cdata.length&&(this._state=21,this.currentSequence=hn.CdataEnd,this.sequenceIndex=0,this.sectionStart=this._index+1):(this.sequenceIndex=0,this._state=16,this.stateInDeclaration(e))},e.prototype.fastForwardTo=function(e){for(;++this._index<this.buffer.length;)if(this.buffer.charCodeAt(this._index)===e)return!0;return this._index=this.buffer.length-1,!1},e.prototype.stateInCommentLike=function(e){if(e===this.currentSequence[this.sequenceIndex]){if(++this.sequenceIndex===this.currentSequence.length){var t=this.buffer.slice(this.sectionStart,this._index-2);this.currentSequence===hn.CdataEnd?this.cbs.oncdata(t):this.cbs.oncomment(t),this.sequenceIndex=0,this.sectionStart=this._index+1,this._state=1}}else 0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},e.prototype.isTagStartChar=function(e){return this.xmlMode?!mn(e):function(e){return e>=97&&e<=122||e>=65&&e<=90}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this._state=23},e.prototype.stateBeforeTagName=function(e){if(33===e)this._state=15,this.sectionStart=this._index+1;else if(63===e)this._state=17,this.sectionStart=this._index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this._index,this.xmlMode||t!==hn.TitleEnd[2]?this._state=this.xmlMode||t!==hn.ScriptEnd[2]?3:22:this.startSpecial(hn.TitleEnd,3)}else 47===e?this._state=5:(this._state=1,this.stateText(e))},e.prototype.stateInTagName=function(e){mn(e)&&(this.cbs.onopentagname(this.getSection()),this.sectionStart=-1,this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){pn(e)||(62===e?this._state=1:(this._state=this.isTagStartChar(e)?6:20,this.sectionStart=this._index))},e.prototype.stateInClosingTagName=function(e){(62===e||pn(e))&&(this.cbs.onclosetag(this.getSection()),this.sectionStart=-1,this._state=7,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(62===e||this.fastForwardTo(62))&&(this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeAttributeName=function(e){62===e?(this.cbs.onopentagend(),this.isSpecial?(this._state=24,this.sequenceIndex=0):this._state=1,this.baseState=this._state,this.sectionStart=this._index+1):47===e?this._state=4:pn(e)||(this._state=9,this.sectionStart=this._index)},e.prototype.stateInSelfClosingTag=function(e){62===e?(this.cbs.onselfclosingtag(),this._state=1,this.baseState=1,this.sectionStart=this._index+1,this.isSpecial=!1):pn(e)||(this._state=8,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(61===e||mn(e))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){61===e?this._state=11:47===e||62===e?(this.cbs.onattribend(void 0),this._state=8,this.stateBeforeAttributeName(e)):pn(e)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},e.prototype.stateBeforeAttributeValue=function(e){34===e?(this._state=12,this.sectionStart=this._index+1):39===e?(this._state=13,this.sectionStart=this._index+1):pn(e)||(this.sectionStart=this._index,this._state=14,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(String.fromCharCode(t)),this._state=8):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,34)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,39)},e.prototype.stateInAttributeValueNoQuotes=function(e){pn(e)||62===e?(this.cbs.onattribdata(this.getSection()),this.sectionStart=-1,this.cbs.onattribend(null),this._state=8,this.stateBeforeAttributeName(e)):this.decodeEntities&&38===e&&(this.baseState=this._state,this._state=25)},e.prototype.stateBeforeDeclaration=function(e){91===e?(this._state=19,this.sequenceIndex=0):this._state=45===e?18:16},e.prototype.stateInDeclaration=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateInProcessingInstruction=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeComment=function(e){45===e?(this._state=21,this.currentSequence=hn.CommentEnd,this.sequenceIndex=2,this.sectionStart=this._index+1):this._state=16},e.prototype.stateInSpecialComment=function(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.getSection()),this._state=1,this.sectionStart=this._index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===hn.ScriptEnd[3]?this.startSpecial(hn.ScriptEnd,4):t===hn.StyleEnd[3]?this.startSpecial(hn.StyleEnd,4):(this._state=3,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,35===e?this._state=26:38===e||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.trieResult=null,this._state=27,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,dn.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this._index--;if(this.trieCurrent=this.entityTrie[this.trieIndex],this.trieCurrent&dn.BinTrieFlags.HAS_VALUE)if(this.allowLegacyEntity()||59===e){var t=this._index-this.entityExcess+1;t>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,t)),this.trieResult=this.trieCurrent&dn.BinTrieFlags.MULTI_BYTE?String.fromCharCode(this.entityTrie[++this.trieIndex],this.entityTrie[++this.trieIndex]):String.fromCharCode(this.entityTrie[++this.trieIndex]),this.entityExcess=0,this.sectionStart=this._index+1}else this.trieIndex+=1},e.prototype.emitNamedEntity=function(){this.trieResult&&this.emitPartial(this.trieResult),this._state=this.baseState},e.prototype.stateBeforeNumericEntity=function(e){120==(32|e)?(this.entityExcess++,this._state=29):(this._state=28,this.stateInNumericEntity(e))},e.prototype.decodeNumericEntity=function(e,t){var a=this._index-this.entityExcess-1,i=a+2+(e>>4);if(i!==this._index){a>this.sectionStart&&this.emitPartial(this.buffer.substring(this.sectionStart,a));var n=this.buffer.substring(i,this._index),o=parseInt(n,e);this.emitPartial((0,cn.default)(o)),this.sectionStart=this._index+Number(t)}this._state=this.baseState},e.prototype.stateInNumericEntity=function(e){59===e?this.decodeNumericEntity(10,!0):un(e)?this.entityExcess++:(this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):this._state=this.baseState,this._index--)},e.prototype.stateInHexEntity=function(e){59===e?this.decodeNumericEntity(16,!0):(e<97||e>102)&&(e<65||e>70)&&!un(e)?(this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):this._state=this.baseState,this._index--):this.entityExcess++},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(1===this.baseState||24===this.baseState)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this._index&&(1===this._state||24===this._state&&0===this.sequenceIndex)&&(this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.sectionStart=this._index);var e=this.sectionStart<0?this._index:this.sectionStart;this.buffer=e===this.buffer.length?"":this.buffer.substr(e),this._index-=e,this.bufferOffset+=e,this.sectionStart>0&&(this.sectionStart=0)},e.prototype.shouldContinue=function(){return this._index<this.buffer.length&&this.running},e.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this._index);1===this._state?this.stateText(e):23===this._state?this.stateSpecialStartSequence(e):24===this._state?this.stateInSpecialTag(e):19===this._state?this.stateCDATASequence(e):12===this._state?this.stateInAttributeValueDoubleQuotes(e):9===this._state?this.stateInAttributeName(e):21===this._state?this.stateInCommentLike(e):20===this._state?this.stateInSpecialComment(e):8===this._state?this.stateBeforeAttributeName(e):3===this._state?this.stateInTagName(e):6===this._state?this.stateInClosingTagName(e):2===this._state?this.stateBeforeTagName(e):10===this._state?this.stateAfterAttributeName(e):13===this._state?this.stateInAttributeValueSingleQuotes(e):11===this._state?this.stateBeforeAttributeValue(e):5===this._state?this.stateBeforeClosingTagName(e):7===this._state?this.stateAfterClosingTagName(e):22===this._state?this.stateBeforeSpecialS(e):14===this._state?this.stateInAttributeValueNoQuotes(e):4===this._state?this.stateInSelfClosingTag(e):16===this._state?this.stateInDeclaration(e):15===this._state?this.stateBeforeDeclaration(e):18===this._state?this.stateBeforeComment(e):17===this._state?this.stateInProcessingInstruction(e):27===this._state?this.stateInNamedEntity(e):25===this._state?this.stateBeforeEntity(e):29===this._state?this.stateInHexEntity(e):28===this._state?this.stateInNumericEntity(e):this.stateBeforeNumericEntity(e),this._index++}this.cleanup()},e.prototype.finish=function(){27===this._state&&this.emitNamedEntity(),this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},e.prototype.handleTrailingData=function(){var e=this.buffer.substr(this.sectionStart);21===this._state?this.currentSequence===hn.CdataEnd?this.cbs.oncdata(e):this.cbs.oncomment(e):28===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(10,!1):29===this._state&&this.allowLegacyEntity()?this.decodeNumericEntity(16,!1):3===this._state||8===this._state||11===this._state||10===this._state||9===this._state||13===this._state||12===this._state||14===this._state||6===this._state||this.cbs.ontext(e)},e.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},e.prototype.emitPartial=function(e){1!==this.baseState&&24!==this.baseState?this.cbs.onattribdata(e):this.cbs.ontext(e)},e}(),bn=Object.defineProperty({default:gn},"__esModule",{value:!0}),fn=F((function(e,t){var a=_&&_.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var i=a(bn),n=new Set(["input","option","optgroup","select","button","datalist","textarea"]),o=new Set(["p"]),r=new Set(["thead","tbody"]),l=new Set(["dd","dt"]),s=new Set(["rt","rp"]),d=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",o],["h1",o],["h2",o],["h3",o],["h4",o],["h5",o],["h6",o],["select",n],["input",n],["output",n],["button",n],["datalist",n],["textarea",n],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",l],["dt",l],["address",o],["article",o],["aside",o],["blockquote",o],["details",o],["div",o],["dl",o],["fieldset",o],["figcaption",o],["figure",o],["footer",o],["form",o],["header",o],["hr",o],["main",o],["nav",o],["ol",o],["pre",o],["section",o],["table",o],["ul",o],["rt",s],["rp",s],["tbody",r],["tfoot",r]]),c=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),p=new Set(["math","svg"]),m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),u=/\s|\//,h=function(){function e(e,t){var a,n,o,r,l;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(a=t.lowerCaseTags)&&void 0!==a?a:!t.xmlMode,this.lowerCaseAttributeNames=null!==(n=t.lowerCaseAttributeNames)&&void 0!==n?n:!t.xmlMode,this.tokenizer=new(null!==(o=t.Tokenizer)&&void 0!==o?o:i.default)(this.options,this),null===(l=(r=this.cbs).onparserinit)||void 0===l||l.call(r,this)}return e.prototype.ontext=function(e){var t,a,i=this.tokenizer.getAbsoluteIndex();this.endIndex=i-1,null===(a=(t=this.cbs).ontext)||void 0===a||a.call(t,e),this.startIndex=i},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&c.has(e)},e.prototype.onopentagname=function(e){this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),this.emitOpenTag(e)},e.prototype.emitOpenTag=function(e){var t,a,i,n;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&d.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var r=this.stack.pop();null===(a=(t=this.cbs).onclosetag)||void 0===a||a.call(t,r,!0)}this.isVoidElement(e)||(this.stack.push(e),p.has(e)?this.foreignContext.push(!0):m.has(e)&&this.foreignContext.push(!1)),null===(n=(i=this.cbs).onopentagname)||void 0===n||n.call(i,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,a;this.startIndex=this.openTagStart,this.endIndex=this.tokenizer.getAbsoluteIndex(),this.attribs&&(null===(a=(t=this.cbs).onopentag)||void 0===a||a.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(){this.endOpenTag(!1),this.startIndex=this.endIndex+1},e.prototype.onclosetag=function(e){var t,a,i,n,o,r;if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.lowerCaseTagNames&&(e=e.toLowerCase()),(p.has(e)||m.has(e))&&this.foreignContext.pop(),this.isVoidElement(e))this.options.xmlMode||"br"!==e||(null===(a=(t=this.cbs).onopentagname)||void 0===a||a.call(t,e),null===(n=(i=this.cbs).onopentag)||void 0===n||n.call(i,e,{},!0),null===(r=(o=this.cbs).onclosetag)||void 0===r||r.call(o,e,!1));else{var l=this.stack.lastIndexOf(e);if(-1!==l)if(this.cbs.onclosetag)for(var s=this.stack.length-l;s--;)this.cbs.onclosetag(this.stack.pop(),0!==s);else this.stack.length=l;else this.options.xmlMode||"p"!==e||(this.emitOpenTag(e),this.closeCurrentTag(!0))}this.startIndex=this.endIndex+1},e.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=this.endIndex+1):this.onopentagend()},e.prototype.closeCurrentTag=function(e){var t,a,i=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===i&&(null===(a=(t=this.cbs).onclosetag)||void 0===a||a.call(t,i,!e),this.stack.pop())},e.prototype.onattribname=function(e){this.startIndex=this.tokenizer.getAbsoluteSectionStart(),this.lowerCaseAttributeNames&&(e=e.toLowerCase()),this.attribname=e},e.prototype.onattribdata=function(e){this.attribvalue+=e},e.prototype.onattribend=function(e){var t,a;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(a=(t=this.cbs).onattribute)||void 0===a||a.call(t,this.attribname,this.attribvalue,e),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(u),a=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(a=a.toLowerCase()),a},e.prototype.ondeclaration=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("!"+t,"!"+e)}this.startIndex=this.endIndex+1},e.prototype.onprocessinginstruction=function(e){if(this.endIndex=this.tokenizer.getAbsoluteIndex(),this.cbs.onprocessinginstruction){var t=this.getInstructionName(e);this.cbs.onprocessinginstruction("?"+t,"?"+e)}this.startIndex=this.endIndex+1},e.prototype.oncomment=function(e){var t,a,i,n;this.endIndex=this.tokenizer.getAbsoluteIndex(),null===(a=(t=this.cbs).oncomment)||void 0===a||a.call(t,e),null===(n=(i=this.cbs).oncommentend)||void 0===n||n.call(i),this.startIndex=this.endIndex+1},e.prototype.oncdata=function(e){var t,a,i,n,o,r,l,s,d,c;this.endIndex=this.tokenizer.getAbsoluteIndex(),this.options.xmlMode||this.options.recognizeCDATA?(null===(a=(t=this.cbs).oncdatastart)||void 0===a||a.call(t),null===(n=(i=this.cbs).ontext)||void 0===n||n.call(i,e),null===(r=(o=this.cbs).oncdataend)||void 0===r||r.call(o)):(null===(s=(l=this.cbs).oncomment)||void 0===s||s.call(l,"[CDATA["+e+"]]"),null===(c=(d=this.cbs).oncommentend)||void 0===c||c.call(d)),this.startIndex=this.endIndex+1},e.prototype.onerror=function(e){var t,a;null===(a=(t=this.cbs).onerror)||void 0===a||a.call(t,e)},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var a=this.stack.length;a>0;this.cbs.onclosetag(this.stack[--a],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,a,i;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],this.startIndex=0,this.endIndex=0,null===(i=(a=this.cbs).onparserinit)||void 0===i||i.call(a,this)},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.write=function(e){this.tokenizer.write(e)},e.prototype.end=function(e){this.tokenizer.end(e)},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){this.tokenizer.resume()},e.prototype.parseChunk=function(e){this.write(e)},e.prototype.done=function(e){this.end(e)},e}();t.Parser=h})),vn=F((function(e,t){var a;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(a=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===a.Tag||e.type===a.Script||e.type===a.Style},t.Root=a.Root,t.Text=a.Text,t.Directive=a.Directive,t.Comment=a.Comment,t.Script=a.Script,t.Style=a.Style,t.Tag=a.Tag,t.CDATA=a.CDATA,t.Doctype=a.Doctype})),xn=F((function(e,t){var a,i=_&&_.__extends||(a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},a(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),n=_&&_.__assign||function(){return n=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++)for(var n in t=arguments[a])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=new Map([[vn.ElementType.Tag,1],[vn.ElementType.Script,1],[vn.ElementType.Style,1],[vn.ElementType.Directive,1],[vn.ElementType.Text,3],[vn.ElementType.CDATA,4],[vn.ElementType.Comment,8],[vn.ElementType.Root,9]]),r=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=o.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),y(this,e)},e}();t.Node=r;var l=function(e){function t(t,a){var i=e.call(this,t)||this;return i.data=a,i}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(r);t.DataNode=l;var s=function(e){function t(t){return e.call(this,vn.ElementType.Text,t)||this}return i(t,e),t}(l);t.Text=s;var d=function(e){function t(t){return e.call(this,vn.ElementType.Comment,t)||this}return i(t,e),t}(l);t.Comment=d;var c=function(e){function t(t,a){var i=e.call(this,vn.ElementType.Directive,a)||this;return i.name=t,i}return i(t,e),t}(l);t.ProcessingInstruction=c;var p=function(e){function t(t,a){var i=e.call(this,t)||this;return i.children=a,i}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(r);t.NodeWithChildren=p;var m=function(e){function t(t){return e.call(this,vn.ElementType.Root,t)||this}return i(t,e),t}(p);t.Document=m;var u=function(e){function t(t,a,i,n){void 0===i&&(i=[]),void 0===n&&(n="script"===t?vn.ElementType.Script:"style"===t?vn.ElementType.Style:vn.ElementType.Tag);var o=e.call(this,n,i)||this;return o.name=t,o.attribs=a,o}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var a,i;return{name:t,value:e.attribs[t],namespace:null===(a=e["x-attribsNamespace"])||void 0===a?void 0:a[t],prefix:null===(i=e["x-attribsPrefix"])||void 0===i?void 0:i[t]}}))},enumerable:!1,configurable:!0}),t}(p);function h(e){return(0,vn.isTag)(e)}function g(e){return e.type===vn.ElementType.CDATA}function b(e){return e.type===vn.ElementType.Text}function f(e){return e.type===vn.ElementType.Comment}function v(e){return e.type===vn.ElementType.Directive}function x(e){return e.type===vn.ElementType.Root}function y(e,t){var a;if(void 0===t&&(t=!1),b(e))a=new s(e.data);else if(f(e))a=new d(e.data);else if(h(e)){var i=t?w(e.children):[],o=new u(e.name,n({},e.attribs),i);i.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=n({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=n({},e["x-attribsPrefix"])),a=o}else if(g(e)){i=t?w(e.children):[];var r=new p(vn.ElementType.CDATA,i);i.forEach((function(e){return e.parent=r})),a=r}else if(x(e)){i=t?w(e.children):[];var l=new m(i);i.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),a=l}else{if(!v(e))throw new Error("Not implemented yet: ".concat(e.type));var y=new c(e.name,e.data);null!=e["x-name"]&&(y["x-name"]=e["x-name"],y["x-publicId"]=e["x-publicId"],y["x-systemId"]=e["x-systemId"]),a=y}return a.startIndex=e.startIndex,a.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(a.sourceCodeLocation=e.sourceCodeLocation),a}function w(e){for(var t=e.map((function(e){return y(e,!0)})),a=1;a<t.length;a++)t[a].prev=t[a-1],t[a-1].next=t[a];return t}t.Element=u,t.isTag=h,t.isCDATA=g,t.isText=b,t.isComment=f,t.isDirective=v,t.isDocument=x,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=y})),yn=xn,wn=F((function(e,t){var a=_&&_.__createBinding||(Object.create?function(e,t,a,i){void 0===i&&(i=a);var n=Object.getOwnPropertyDescriptor(t,a);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(e,i,n)}:function(e,t,a,i){void 0===i&&(i=a),e[i]=t[a]}),i=_&&_.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||a(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0,i(yn,t);var n=/\s+/g,o={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},r=function(){function e(e,t,a){this.dom=[],this.root=new yn.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(a=t,t=o),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:o,this.elementCB=null!=a?a:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new yn.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var a=this.options.xmlMode?vn.ElementType.Tag:void 0,i=new yn.Element(e,t,void 0,a);this.addNode(i),this.tagStack.push(i)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,a=this.lastNode;if(a&&a.type===vn.ElementType.Text)t?a.data=(a.data+e).replace(n," "):a.data+=e,this.options.withEndIndices&&(a.endIndex=this.parser.endIndex);else{t&&(e=e.replace(n," "));var i=new yn.Text(e);this.addNode(i),this.lastNode=i}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===vn.ElementType.Comment)this.lastNode.data+=e;else{var t=new yn.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new yn.Text(""),t=new yn.NodeWithChildren(vn.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var a=new yn.ProcessingInstruction(e,t);this.addNode(a)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],a=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),a&&(e.prev=a,a.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=r,t.default=r}));var En=function(e){for(var t=0,a=e.length;t<a;t++){e[t].parent=null}return e},kn=wn,Cn=fn.Parser,An=kn.DomHandler,Sn=En;var Nn=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string.");if(""===e)return[];var a=new An(void 0,t);return new Cn(a,t).end(e),Sn(a.dom)};Nn="function"==typeof Nn.default?Nn.default:Nn;var Tn={lowerCaseAttributeNames:!1};function zn(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:Yi(Nn(e,(t=t||{}).htmlparser2||Tn),t)}zn.domToReact=Yi,zn.htmlToDOM=Nn,zn.attributesToProps=Wi,zn.Element=kn.Element;var In=zn,Bn=zn;In.default=Bn,In.domToReact,In.htmlToDOM,In.attributesToProps,In.Element,$e.div`
1878
1878
  margin-top: 13px;
1879
1879
  &[data-is-mobile='false'] {
1880
1880
  display: flex;
@@ -2041,7 +2041,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
2041
2041
  justify-content: space-between;
2042
2042
  gap: 0;
2043
2043
  width: 100%;
2044
- `,_n=$e.div`
2044
+ `,Fn=$e.div`
2045
2045
  display: flex;
2046
2046
  align-items: flex-start;
2047
2047
  font-weight: 400;
@@ -2066,7 +2066,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
2066
2066
  height: 14px;
2067
2067
  }
2068
2068
  }
2069
- `,Fn=({className:e,heading:t,color:a="blue",isMobile:n,bannerUrl:o,bannerUrlLarge:r,bannerColor:l,medicalReview:s={link:"#",reviewer:"",date:""},icon:d,style:c,siteType:p,isEmbeded:m})=>{var u,h;const{t:g}=ze(),f=b(),w=n?o:r||o,E={pink:[8,6]},k=f.colors[a]||f.colors.blue,C=(null==s?void 0:s.reviewer)?i.createElement(V,{size:"label2",color:"#fff",as:"div",className:"embedded-review",sx:{a:{textUnderlineOffset:"2px",color:"#fff",textDecoration:"underline"}}},i.createElement("div",{dangerouslySetInnerHTML:{__html:g("toolPage.toolReviewer",{expert_name:`<a href="${s.link}">${s.reviewer.trim()}</a>`,date:s.date})}})):null;return i.createElement(jn,{"data-is-mobile":n,style:c,"data-site":p},i.createElement(Ln,{className:e,"data-banner-url":w,"data-is-mobile":n,"data-site":p,"data-banner-color":l,"data-is-embedded":m,bgColor:`linear-gradient(71deg, ${null==k?void 0:k[(null===(u=E[a])||void 0===u?void 0:u[0])||7]} -4.07%, ${null==k?void 0:k[(null===(h=E[a])||void 0===h?void 0:h[1])||4]} 90.13%)}`},"marryBaby"===p&&m?i.createElement(Mn,null,i.createElement($n,null,d),i.createElement(Rn,null,i.createElement($,{color:"white",tag:"h5",as:"h2"},t),s&&i.createElement(_n,{"data-is-mobile":n},C))):i.createElement(v,{gap:x(24),align:"center",justify:"space-between",sx:{padding:`${x(13)} ${x(20)}`,gap:x(24)}},i.createElement(y,null,i.createElement($,{tag:"h5",as:"h2",color:"#fff"},t),s&&i.createElement(V,{size:"n1",as:"div"},C)),i.createElement(v,{justify:"center",align:"center",sx:e=>{var t,i;return{width:x(64),height:x(64),borderRadius:"50%",background:(null===(i=null===(t=e.colors)||void 0===t?void 0:t[a])||void 0===i?void 0:i[0])||e.colors.blue[0],flexShrink:0,img:{maxWidth:x(48),maxHeight:x(48)},[e.fn.smallerThan("sm")]:{width:x(56),height:x(56),img:{maxWidth:x(40),maxHeight:x(40)}}}}},d))))},Un=$e(Gt)`
2069
+ `,_n=({className:e,heading:t,color:a="blue",isMobile:n,bannerUrl:o,bannerUrlLarge:r,bannerColor:l,medicalReview:s={link:"#",reviewer:"",date:""},icon:d,style:c,siteType:p,isEmbeded:m})=>{var u,h;const{t:g}=ze(),f=b(),w=n?o:r||o,E={pink:[8,6]},k=f.colors[a]||f.colors.blue,C=(null==s?void 0:s.reviewer)?i.createElement(V,{size:"label2",color:"#fff",as:"div",className:"embedded-review",sx:{a:{textUnderlineOffset:"2px",color:"#fff",textDecoration:"underline"}}},i.createElement("div",{dangerouslySetInnerHTML:{__html:g("toolPage.toolReviewer",{expert_name:`<a href="${s.link}">${s.reviewer.trim()}</a>`,date:s.date})}})):null;return i.createElement(jn,{"data-is-mobile":n,style:c,"data-site":p},i.createElement(Ln,{className:e,"data-banner-url":w,"data-is-mobile":n,"data-site":p,"data-banner-color":l,"data-is-embedded":m,bgColor:`linear-gradient(71deg, ${null==k?void 0:k[(null===(u=E[a])||void 0===u?void 0:u[0])||7]} -4.07%, ${null==k?void 0:k[(null===(h=E[a])||void 0===h?void 0:h[1])||4]} 90.13%)}`},"marryBaby"===p&&m?i.createElement(Mn,null,i.createElement($n,null,d),i.createElement(Rn,null,i.createElement($,{color:"white",tag:"h5",as:"h2"},t),s&&i.createElement(Fn,{"data-is-mobile":n},C))):i.createElement(v,{gap:x(24),align:"center",justify:"space-between",sx:{padding:`${x(13)} ${x(20)}`,gap:x(24)}},i.createElement(y,null,i.createElement($,{tag:"h5",as:"h2",color:"#fff"},t),s&&i.createElement(V,{size:"n1",as:"div"},C)),i.createElement(v,{justify:"center",align:"center",sx:e=>{var t,i;return{width:x(64),height:x(64),borderRadius:"50%",background:(null===(i=null===(t=e.colors)||void 0===t?void 0:t[a])||void 0===i?void 0:i[0])||e.colors.blue[0],flexShrink:0,img:{maxWidth:x(48),maxHeight:x(48)},[e.fn.smallerThan("sm")]:{width:x(56),height:x(56),img:{maxWidth:x(40),maxHeight:x(40)}}}}},d))))},Un=$e(Gt)`
2070
2070
  border-color: ${e=>e.theme.mbColors.lightGray};
2071
2071
  background-color: ${e=>e.theme.colors.white};
2072
2072
  border-radius: 16px;
@@ -2082,7 +2082,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
2082
2082
  overflow-y: auto;
2083
2083
  }
2084
2084
 
2085
- ${e=>e.groupedWithLabel&&_e`
2085
+ ${e=>e.groupedWithLabel&&Fe`
2086
2086
  & > div:first-child {
2087
2087
  color: ${e=>e.theme.mbColors.midGray};
2088
2088
  font-size: 12px;
@@ -3151,9 +3151,9 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
3151
3151
  padding: 16px;
3152
3152
  }
3153
3153
  }
3154
- `,To=$e((({onSubmit:e,onError:t,schema:a,siteType:n})=>{const{t:r}=ze(),l="mb"===b().other.template,{control:s,setValue:c,watch:p,handleSubmit:m,formState:{isSubmitted:u}}=pt({resolver:ut(a),mode:"onSubmit",defaultValues:{name:"",gender:Le.Boy,measurementDate:new Date}}),h=p("weight"),g=p("height"),f=p("head"),v=o((()=>u&&!h&&!g&&!f),[u,h,g,f]);d((()=>{const e=So(g,h);c("bmi",String(e)||"0")}),[h,g]);const x=o((()=>"undefined"!=typeof window?window.location.href:""),[]);return i.createElement(i.Fragment,null,i.createElement(wo,{"data-theme":n},i.createElement(Eo,{onSubmit:m(e,t)},i.createElement(mt,{control:s,name:"gender",render:({field:{onChange:e,value:t}})=>i.createElement(nt,{onChange:e,value:t,siteType:n})}),"marryBaby"===n?i.createElement(i.Fragment,null,i.createElement(mt,{control:s,name:"birthday",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Vn,{label:r("babyGrowth.input.birthday"),name:"birthday",size:"md",value:String(t),CustomInput:i.createElement(Ft,{onChange:e,placeholder:"dd/mm/yyyy",pickedDate:t||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:n=>i.createElement(dt,Object.assign({onChange:e,className:(null==a?void 0:a.message)?"error-input":"",name:"birthday",size:"md"},n,{value:t&&Me(t).format(q)}))}),actionIcon:i.createElement(ke.CalendarMB,{size:32})}))}),i.createElement(Ao,null,i.createElement(mt,{control:s,name:"height",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Vn,{label:`${r("babyGrowth.height")} ${r("babyGrowth.cm")}`,name:"height",size:"md",value:String(t),CustomInput:i.createElement(dt,{className:v||(null==a?void 0:a.message)?"error-input":"",name:"height",size:"md",placeholder:"Nhập thông tin",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),i.createElement(mt,{control:s,name:"weight",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Vn,{label:`${r("babyGrowth.weight")} ${r("babyGrowth.kg")}`,name:"weight",size:"md",value:String(t),CustomInput:i.createElement(dt,{className:v||(null==a?void 0:a.message)?"error-input":"",name:"weight",size:"md",placeholder:"Nhập thông tin",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))})),i.createElement(Ao,null,i.createElement(mt,{control:s,name:"head",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Vn,{label:`${r("babyGrowth.headCircumference")} ${r("babyGrowth.cm")}`,name:"head",size:"md",value:String(t),CustomInput:i.createElement(dt,{className:v||(null==a?void 0:a.message)?"error-input":"",name:"head",size:"md",value:String(t),onChange:e,type:"number",placeholder:"Nhập thông tin",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),i.createElement(mt,{control:s,name:"bmi",render:({field:{value:e}})=>i.createElement(ko,null,i.createElement(Vn,{label:`${r("babyGrowth.input.bmi")} ${r("babyGrowth.kg.m2")}`,name:"date",size:"md",value:String(e),CustomInput:i.createElement(dt,{name:"bmi",size:"md",type:"number",value:String(e),isDisabled:!0,style:{color:"#9495A0"}})}))})),i.createElement(mt,{control:s,name:"measurementDate",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Vn,{label:r("babyGrowth.input.measurementDate"),name:"date",size:"md",value:Kn(t),CustomInput:i.createElement(Ft,{placeholder:t&&Me(t).format(q),pickedDate:t||new Date,displayDateFormat:"dd/MM/yyyy",onChange:e,disabledDays:{after:new Date},customInput:n=>i.createElement(dt,Object.assign({className:(null==a?void 0:a.message)&&"error-input",name:"measurementDate",size:"md",placeholder:t&&Me(t).format(q),onChange:e},n,{value:t&&Me(t).format(q)}))}),actionIcon:i.createElement(ke.CalendarMB,{size:32})}))}),i.createElement(M,{size:"lg",variant:l?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":x},r("babyGrowth.input.submit"))):i.createElement(i.Fragment,null,i.createElement(mt,{control:s,name:"birthday",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Co,{size:"label1",htmlFor:"birthday"},i.createElement(V,{as:"label",size:"s4",weight:"semiBold"},r("babyGrowth.input.birthday"))),i.createElement(Ft,{onChange:e,placeholder:"dd/mm/yyyy",pickedDate:t||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:n=>i.createElement(dt,Object.assign({onChange:e,className:(null==a?void 0:a.message)?"error-input":"",name:"birthday",size:"md",actionIcon:i.createElement(ke.Calendar,null)},n,{value:t&&Me(t).format(q)}))}))}),i.createElement(Ao,null,i.createElement(mt,{control:s,name:"height",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Co,{size:"label1",htmlFor:"height"},i.createElement(V,{size:"s4",weight:"semiBold"},r("babyGrowth.height")),i.createElement(V,{as:"span",size:"n1",color:Te.colors.gray400},r("babyGrowth.cm"))),i.createElement(dt,{className:v||(null==a?void 0:a.message)?"error-input":"",name:"height",placeholder:"0",size:"md",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),i.createElement(mt,{control:s,name:"weight",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Co,{size:"label1",htmlFor:"weight"},i.createElement(V,{size:"s4",weight:"semiBold"},r("babyGrowth.weight")),i.createElement(V,{as:"span",size:"n1",color:Te.colors.gray400},r("babyGrowth.kg"))),i.createElement(dt,{className:v||(null==a?void 0:a.message)?"error-input":"",name:"weight",placeholder:"0",size:"md",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))})),i.createElement(Ao,null,i.createElement(mt,{control:s,name:"head",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Co,{size:"label1",htmlFor:"head"},i.createElement(V,{size:"s4",weight:"semiBold"},r("babyGrowth.headCircumference")),i.createElement(V,{as:"span",size:"n1",color:Te.colors.gray400},r("babyGrowth.cm"))),i.createElement(dt,{className:v||(null==a?void 0:a.message)?"error-input":"",name:"head",placeholder:"0",size:"md",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),i.createElement(mt,{control:s,name:"bmi",render:({field:{value:e}})=>i.createElement(ko,null,i.createElement(Co,{size:"label1",htmlFor:"bmi"},i.createElement(V,{size:"s4",weight:"semiBold"},r("babyGrowth.input.bmi")),i.createElement(V,{as:"span",size:"n1",color:Te.colors.gray400},r("babyGrowth.kg.m2"))),i.createElement(dt,{name:"bmi",size:"md",type:"number",value:String(e),isDisabled:!0}))})),i.createElement(mt,{control:s,name:"measurementDate",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Co,{size:"label1",htmlFor:"measurementDate"},i.createElement(V,{as:"label",size:"s4",weight:"semiBold"},r("babyGrowth.input.measurementDate"))),i.createElement(Ft,{placeholder:t&&Me(t).format(q),pickedDate:t||new Date,displayDateFormat:"dd/MM/yyyy",onChange:e,disabledDays:{after:new Date},customInput:n=>i.createElement(dt,Object.assign({className:(null==a?void 0:a.message)&&"error-input",name:"measurementDate",size:"md",placeholder:t&&Me(t).format(q),onChange:e,actionIcon:i.createElement(ke.Calendar,null)},n,{value:t&&Me(t).format(q)}))}))}),i.createElement(M,{size:"lg",variant:l?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":x},r("babyGrowth.input.submit"))))))}))`
3154
+ `,To=$e((({onSubmit:e,onError:t,schema:a,siteType:n})=>{const{t:r}=ze(),l="mb"===b().other.template,{control:s,setValue:c,watch:p,handleSubmit:m,formState:{isSubmitted:u}}=pt({resolver:ut(a),mode:"onSubmit",defaultValues:{name:"",gender:Le.Boy,measurementDate:new Date}}),h=p("weight"),g=p("height"),f=p("head"),v=o((()=>u&&!h&&!g&&!f),[u,h,g,f]);d((()=>{const e=So(g,h);c("bmi",String(e)||"0")}),[h,g]);const x=o((()=>"undefined"!=typeof window?window.location.href:""),[]);return i.createElement(i.Fragment,null,i.createElement(wo,{"data-theme":n},i.createElement(Eo,{onSubmit:m(e,t)},i.createElement(mt,{control:s,name:"gender",render:({field:{onChange:e,value:t}})=>i.createElement(nt,{onChange:e,value:t,siteType:n})}),"marryBaby"===n?i.createElement(i.Fragment,null,i.createElement(mt,{control:s,name:"birthday",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Vn,{label:r("babyGrowth.input.birthday"),name:"birthday",size:"md",value:String(t),CustomInput:i.createElement(_t,{onChange:e,placeholder:"dd/mm/yyyy",pickedDate:t||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:n=>i.createElement(dt,Object.assign({onChange:e,className:(null==a?void 0:a.message)?"error-input":"",name:"birthday",size:"md"},n,{value:t&&Me(t).format(q)}))}),actionIcon:i.createElement(ke.CalendarMB,{size:32})}))}),i.createElement(Ao,null,i.createElement(mt,{control:s,name:"height",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Vn,{label:`${r("babyGrowth.height")} ${r("babyGrowth.cm")}`,name:"height",size:"md",value:String(t),CustomInput:i.createElement(dt,{className:v||(null==a?void 0:a.message)?"error-input":"",name:"height",size:"md",placeholder:"Nhập thông tin",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),i.createElement(mt,{control:s,name:"weight",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Vn,{label:`${r("babyGrowth.weight")} ${r("babyGrowth.kg")}`,name:"weight",size:"md",value:String(t),CustomInput:i.createElement(dt,{className:v||(null==a?void 0:a.message)?"error-input":"",name:"weight",size:"md",placeholder:"Nhập thông tin",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))})),i.createElement(Ao,null,i.createElement(mt,{control:s,name:"head",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Vn,{label:`${r("babyGrowth.headCircumference")} ${r("babyGrowth.cm")}`,name:"head",size:"md",value:String(t),CustomInput:i.createElement(dt,{className:v||(null==a?void 0:a.message)?"error-input":"",name:"head",size:"md",value:String(t),onChange:e,type:"number",placeholder:"Nhập thông tin",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),i.createElement(mt,{control:s,name:"bmi",render:({field:{value:e}})=>i.createElement(ko,null,i.createElement(Vn,{label:`${r("babyGrowth.input.bmi")} ${r("babyGrowth.kg.m2")}`,name:"date",size:"md",value:String(e),CustomInput:i.createElement(dt,{name:"bmi",size:"md",type:"number",value:String(e),isDisabled:!0,style:{color:"#9495A0"}})}))})),i.createElement(mt,{control:s,name:"measurementDate",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Vn,{label:r("babyGrowth.input.measurementDate"),name:"date",size:"md",value:Kn(t),CustomInput:i.createElement(_t,{placeholder:t&&Me(t).format(q),pickedDate:t||new Date,displayDateFormat:"dd/MM/yyyy",onChange:e,disabledDays:{after:new Date},customInput:n=>i.createElement(dt,Object.assign({className:(null==a?void 0:a.message)&&"error-input",name:"measurementDate",size:"md",placeholder:t&&Me(t).format(q),onChange:e},n,{value:t&&Me(t).format(q)}))}),actionIcon:i.createElement(ke.CalendarMB,{size:32})}))}),i.createElement(M,{size:"lg",variant:l?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":x},r("babyGrowth.input.submit"))):i.createElement(i.Fragment,null,i.createElement(mt,{control:s,name:"birthday",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Co,{size:"label1",htmlFor:"birthday"},i.createElement(V,{as:"label",size:"s4",weight:"semiBold"},r("babyGrowth.input.birthday"))),i.createElement(_t,{onChange:e,placeholder:"dd/mm/yyyy",pickedDate:t||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:n=>i.createElement(dt,Object.assign({onChange:e,className:(null==a?void 0:a.message)?"error-input":"",name:"birthday",size:"md",actionIcon:i.createElement(ke.Calendar,null)},n,{value:t&&Me(t).format(q)}))}))}),i.createElement(Ao,null,i.createElement(mt,{control:s,name:"height",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Co,{size:"label1",htmlFor:"height"},i.createElement(V,{size:"s4",weight:"semiBold"},r("babyGrowth.height")),i.createElement(V,{as:"span",size:"n1",color:Te.colors.gray400},r("babyGrowth.cm"))),i.createElement(dt,{className:v||(null==a?void 0:a.message)?"error-input":"",name:"height",placeholder:"0",size:"md",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),i.createElement(mt,{control:s,name:"weight",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Co,{size:"label1",htmlFor:"weight"},i.createElement(V,{size:"s4",weight:"semiBold"},r("babyGrowth.weight")),i.createElement(V,{as:"span",size:"n1",color:Te.colors.gray400},r("babyGrowth.kg"))),i.createElement(dt,{className:v||(null==a?void 0:a.message)?"error-input":"",name:"weight",placeholder:"0",size:"md",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))})),i.createElement(Ao,null,i.createElement(mt,{control:s,name:"head",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Co,{size:"label1",htmlFor:"head"},i.createElement(V,{size:"s4",weight:"semiBold"},r("babyGrowth.headCircumference")),i.createElement(V,{as:"span",size:"n1",color:Te.colors.gray400},r("babyGrowth.cm"))),i.createElement(dt,{className:v||(null==a?void 0:a.message)?"error-input":"",name:"head",placeholder:"0",size:"md",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),i.createElement(mt,{control:s,name:"bmi",render:({field:{value:e}})=>i.createElement(ko,null,i.createElement(Co,{size:"label1",htmlFor:"bmi"},i.createElement(V,{size:"s4",weight:"semiBold"},r("babyGrowth.input.bmi")),i.createElement(V,{as:"span",size:"n1",color:Te.colors.gray400},r("babyGrowth.kg.m2"))),i.createElement(dt,{name:"bmi",size:"md",type:"number",value:String(e),isDisabled:!0}))})),i.createElement(mt,{control:s,name:"measurementDate",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>i.createElement(ko,null,i.createElement(Co,{size:"label1",htmlFor:"measurementDate"},i.createElement(V,{as:"label",size:"s4",weight:"semiBold"},r("babyGrowth.input.measurementDate"))),i.createElement(_t,{placeholder:t&&Me(t).format(q),pickedDate:t||new Date,displayDateFormat:"dd/MM/yyyy",onChange:e,disabledDays:{after:new Date},customInput:n=>i.createElement(dt,Object.assign({className:(null==a?void 0:a.message)&&"error-input",name:"measurementDate",size:"md",placeholder:t&&Me(t).format(q),onChange:e,actionIcon:i.createElement(ke.Calendar,null)},n,{value:t&&Me(t).format(q)}))}))}),i.createElement(M,{size:"lg",variant:l?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":x},r("babyGrowth.input.submit"))))))}))`
3155
3155
  padding-block: 0;
3156
- `;$e(Fn)`
3156
+ `;$e(_n)`
3157
3157
  padding-inline: 20px;
3158
3158
 
3159
3159
  img.embedded-icon {
@@ -3500,7 +3500,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
3500
3500
  flex-direction: column;
3501
3501
  gap: 0px;
3502
3502
  }
3503
- `,_o=({locale:e,onSubmit:t,isSide:a,siteType:r})=>{const{t:l}=ze(),[s,d]=n(new Date),[c,p]=n(28),[m,u]=n(7),h={cycle:c,periodDateStart:s,periodLength:m},g=o((()=>"undefined"!=typeof window?window.location.href:""),[]);return i.createElement(i.Fragment,null,i.createElement(qn,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?i.createElement(Vn,{label:l("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:Kn(s),CustomInput:i.createElement(Ft,{onChange:e=>{d(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:at(new Date,-45),after:new Date},customInput:e=>i.createElement(dt,Object.assign({className:"due-date-input",name:"birthday",size:"md"},e,{value:s&&Me(s).format(q)}))}),actionIcon:i.createElement(ke.CalendarMB,{size:32})}):i.createElement(dt,{label:i.createElement(V,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("dueDatePage.lastPeriod.lastPeriodLabel")),value:Kn(s),size:"md",name:"date",className:"due-date-input",CustomInput:i.createElement(Ft,{customInput:e=>i.createElement("input",Object.assign({},e,{type:"date",className:"due-date-input",value:Kn(s)})),locale:e,pickedDate:s,displayDateFormat:ct,onChange:e=>{d(e)},disabledDays:{before:at(new Date,-45),after:new Date},placeholder:"Chọn ngày"})})),i.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===r?"marryBaby":"","data-is-side":a},"marryBaby"===r?i.createElement(ht,{type:"bodytext-3",color:Te.mbColors.midGray},l("ovulationPage.cycleLength")):i.createElement(V,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.cycleLength")+" ",i.createElement(V,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),i.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&i.createElement(V,{size:"s3",weight:"semiBold",color:Te.colors.gray600},c),i.createElement(gt,{containerStyle:{flex:1},min:21,max:45,step:1,value:c,onChange:p,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,label:"marryBaby"!==r?void 0:null}))),i.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===r?"marryBaby":"","data-is-side":a},"marryBaby"===r?i.createElement(ht,{type:"bodytext-3",color:Te.mbColors.midGray},l("ovulationPage.periodDuration")):i.createElement(V,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.periodDuration")+" ",i.createElement(V,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),i.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&i.createElement(V,{size:"s3",weight:"semiBold",color:Te.colors.gray600},m),i.createElement(gt,{containerStyle:{flex:1},min:1,max:15,step:1,value:m,onChange:u,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,label:"marryBaby"!==r?void 0:null}))),i.createElement("div",{style:{width:"100%",display:"flex"}},i.createElement(M,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===r?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:g,onClick:()=>{localStorage.setItem("ovulationInfo",JSON.stringify(h)),t&&t({startDate:s,cycle:c,periodLength:m})},role:"button"},l("dueDatePage.lastPeriod.calculate"))))};var Fo;!function(e){e[e.trackPeriod=0]="trackPeriod",e[e.conceive=1]="conceive",e[e.avoidPregnancy=2]="avoidPregnancy"}(Fo||(Fo={}));const Uo=({locale:e,onSubmitOvulation:t,isSide:a,siteType:o})=>{const{t:r}=ze(),[l,s]=n(Fo.trackPeriod),d=[{label:r("ovulationPage.trackPeriod"),value:Fo.trackPeriod},{label:r("ovulationPage.conceive"),value:Fo.conceive},{label:r("ovulationPage.avoidPregnancy"),value:Fo.avoidPregnancy}];return i.createElement(ao,null,i.createElement(Hn,{className:"input-form input-section","data-is-side":!0},"marryBaby"===o?i.createElement(Un,{groupedWithLabel:r("dueDatePage.calculationMethod"),options:d,placeholder:r("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:d[l],onChange:e=>{s(e.value)}}):i.createElement(i.Fragment,null,i.createElement(V,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},r("ovulationPage.objectives")),i.createElement(Wn,{"data-is-side":a},i.createElement(Gt,{options:d,placeholder:r("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:d[l],onChange:e=>{s(e.value)}})))),i.createElement(_o,{siteType:o,locale:e,onSubmit:({startDate:e,cycle:a,periodLength:i})=>{t&&t({method:l,periodDateStart:e,cycle:a,periodLength:i})},isSide:a}))},Vo=$e.div`
3503
+ `,Fo=({locale:e,onSubmit:t,isSide:a,siteType:r})=>{const{t:l}=ze(),[s,d]=n(new Date),[c,p]=n(28),[m,u]=n(7),h={cycle:c,periodDateStart:s,periodLength:m},g=o((()=>"undefined"!=typeof window?window.location.href:""),[]);return i.createElement(i.Fragment,null,i.createElement(qn,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?i.createElement(Vn,{label:l("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:Kn(s),CustomInput:i.createElement(_t,{onChange:e=>{d(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:at(new Date,-45),after:new Date},customInput:e=>i.createElement(dt,Object.assign({className:"due-date-input",name:"birthday",size:"md"},e,{value:s&&Me(s).format(q)}))}),actionIcon:i.createElement(ke.CalendarMB,{size:32})}):i.createElement(dt,{label:i.createElement(V,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("dueDatePage.lastPeriod.lastPeriodLabel")),value:Kn(s),size:"md",name:"date",className:"due-date-input",CustomInput:i.createElement(_t,{customInput:e=>i.createElement("input",Object.assign({},e,{type:"date",className:"due-date-input",value:Kn(s)})),locale:e,pickedDate:s,displayDateFormat:ct,onChange:e=>{d(e)},disabledDays:{before:at(new Date,-45),after:new Date},placeholder:"Chọn ngày"})})),i.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===r?"marryBaby":"","data-is-side":a},"marryBaby"===r?i.createElement(ht,{type:"bodytext-3",color:Te.mbColors.midGray},l("ovulationPage.cycleLength")):i.createElement(V,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.cycleLength")+" ",i.createElement(V,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),i.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&i.createElement(V,{size:"s3",weight:"semiBold",color:Te.colors.gray600},c),i.createElement(gt,{containerStyle:{flex:1},min:21,max:45,step:1,value:c,onChange:p,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,label:"marryBaby"!==r?void 0:null}))),i.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===r?"marryBaby":"","data-is-side":a},"marryBaby"===r?i.createElement(ht,{type:"bodytext-3",color:Te.mbColors.midGray},l("ovulationPage.periodDuration")):i.createElement(V,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.periodDuration")+" ",i.createElement(V,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),i.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&i.createElement(V,{size:"s3",weight:"semiBold",color:Te.colors.gray600},m),i.createElement(gt,{containerStyle:{flex:1},min:1,max:15,step:1,value:m,onChange:u,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,label:"marryBaby"!==r?void 0:null}))),i.createElement("div",{style:{width:"100%",display:"flex"}},i.createElement(M,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===r?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:g,onClick:()=>{localStorage.setItem("ovulationInfo",JSON.stringify(h)),t&&t({startDate:s,cycle:c,periodLength:m})},role:"button"},l("dueDatePage.lastPeriod.calculate"))))};var _o;!function(e){e[e.trackPeriod=0]="trackPeriod",e[e.conceive=1]="conceive",e[e.avoidPregnancy=2]="avoidPregnancy"}(_o||(_o={}));const Uo=({locale:e,onSubmitOvulation:t,isSide:a,siteType:o})=>{const{t:r}=ze(),[l,s]=n(_o.trackPeriod),d=[{label:r("ovulationPage.trackPeriod"),value:_o.trackPeriod},{label:r("ovulationPage.conceive"),value:_o.conceive},{label:r("ovulationPage.avoidPregnancy"),value:_o.avoidPregnancy}];return i.createElement(ao,null,i.createElement(Hn,{className:"input-form input-section","data-is-side":!0},"marryBaby"===o?i.createElement(Un,{groupedWithLabel:r("dueDatePage.calculationMethod"),options:d,placeholder:r("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:d[l],onChange:e=>{s(e.value)}}):i.createElement(i.Fragment,null,i.createElement(V,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},r("ovulationPage.objectives")),i.createElement(Wn,{"data-is-side":a},i.createElement(Gt,{options:d,placeholder:r("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:d[l],onChange:e=>{s(e.value)}})))),i.createElement(Fo,{siteType:o,locale:e,onSubmit:({startDate:e,cycle:a,periodLength:i})=>{t&&t({method:l,periodDateStart:e,cycle:a,periodLength:i})},isSide:a}))},Vo=$e.div`
3504
3504
  flex: 1;
3505
3505
  `,Ho=$e.div`
3506
3506
  padding: 0 10px;
@@ -4292,7 +4292,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
4292
4292
  }
4293
4293
  }
4294
4294
  }
4295
- `,_r=({className:e,style:t,toggleButtonContent:a,position:o="bottom",align:r="end",children:l,buttonProps:c})=>{const{data:{env:{isMarryBaby:p}}}=h(Z),[m,u]=n(!1),g=s(null),b=s(m);return d((()=>{var e;b.current=m,m&&(null===(e=g.current)||void 0===e||e.focus())}),[m]),d((()=>{const e=e=>{var t;!(null===(t=g.current)||void 0===t?void 0:t.contains(e.target))&&b.current&&u(!1)};return window.addEventListener("click",e,{passive:!0}),()=>{window.removeEventListener("click",e)}}),[]),i.createElement($r,{"data-is-marrybaby":p,className:e,style:t},i.createElement(st,Object.assign({theme:p?"marryBaby":"helloSites",className:"popover-menu__btn",size:"md",color:"transparent",onClick:()=>u((e=>!e))},c),a),m?i.createElement("div",{ref:g,className:`popover-menu__content --position-${o} --align-${r}`,tabIndex:0,onClick:e=>e.stopPropagation()},"function"==typeof l?l({setShow:u}):l):null)};const Fr=t=>{var{data:a}=t,n=e(t,["data"]);return i.createElement(_r,Object.assign({},n),(({setShow:e})=>i.createElement(Ur,{data:a,setShow:e})))},Ur=({data:e,setShow:t})=>{var a;const[r,l]=n(""),s=o((()=>e&&((e,t)=>{const a=t.split(".");let i=e;return a.forEach((e=>{var t,a;e&&i&&"list"===(null==i?void 0:i.type)&&(i=null===(a=null===(t=null==i?void 0:i.list)||void 0===t?void 0:t[Number(e)])||void 0===a?void 0:a.subTree)})),i})(e,r)),[e,r]);if(!e)return null;if(!s)return null;return i.createElement(Rr,null,s.isShowheader?i.createElement("div",{className:"__header"},r?i.createElement("img",{className:"__back-btn",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15 18L9 12L15 6' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",onClick:()=>l((e=>e.split(".").slice(0,-1).join("."))),loading:"lazy"}):null,s.title?i.createElement($,{className:"__title",tag:"h6"},s.title):null):null,s.description?i.createElement(lt,{className:"tree-text-description",color:Te.colors.gray600,size:"p3",type:"regular"},s.description):null,i.createElement("div",{className:"__content"},"jsx"===s.type?null===(a=null==s?void 0:s.jsxRenderer)||void 0===a?void 0:a.call(s,t):null,"list"===s.type?i.createElement("ul",{className:"__list"},Array.isArray(s.list)?s.list.map(((e,a)=>i.createElement("li",{key:a,style:e.style,className:`__item ${e.className}`}," ",i.createElement("div",{className:"__btn "+(e.selected?"--checked":""),onClick:()=>((e,{subTree:a,onClick:i=(()=>null)})=>{i&&i(),a?l((t=>t.split(".").concat(String(e)).join("."))):t&&t(!1)})(a,e),"data-event-category":e.dataEventCategory,"data-event-action":e.dataEventAction,"data-event-label":e.dataEventLabel},e.icon&&i.createElement("img",{className:"__icon",src:e.icon,loading:"lazy"}),i.createElement("span",null,e.label)),e.subTree?i.createElement("img",{className:"__toggle",src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 12L10 8L6 4' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}):null,e.selected?i.createElement("img",{className:"__toggle",src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.3334 4L6.00002 11.3333L2.66669 8' stroke='%238C8C8C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}):null))):null):null))};var Vr;!function(e){e.latest="latest",e.oldest="oldest",e.popular="popular"}(Vr||(Vr={}));const Hr=({onChange:e,className:t,style:a,leftLabel:n,rightLabel:o,color:r,value:l,choices:s})=>{const{data:{env:{isMarryBaby:d}}}=h(Z);return i.createElement(Mr,{label:n,rightLabel:i.createElement(Fr,{position:"bottom",align:"end",data:{isShowheader:!1,type:"list",list:s.map((t=>({label:t.label,onClick:()=>e&&e(String(t.value)),selected:t.value===l,className:"bold-item"})))},toggleButtonContent:i.createElement("div",{style:{display:"flex"}},i.createElement(lt,{style:{display:"flex",alignItems:"center",fontWeight:"normal",marginRight:12},size:"p4"},o),i.createElement("img",{src:d?"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M8 14L12 18L16 14' stroke='%233E3F58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e %3cpath d='M16 10L12 6L8 10' stroke='%233E3F58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e %3c/svg%3e":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.49992 7H11.4998C11.6352 7 11.7525 6.94506 11.8514 6.83509C11.9502 6.72515 11.9999 6.59496 11.9999 6.44449C11.9999 6.29402 11.9503 6.16389 11.8514 6.0538L8.35141 2.16491C8.25252 2.05509 8.13538 2 7.99988 2C7.86437 2 7.74723 2.05509 7.64826 2.16491L4.1483 6.0538C4.04932 6.16377 3.99988 6.29402 3.99988 6.44449C3.99988 6.59493 4.04932 6.72515 4.1483 6.83509C4.24738 6.94506 4.36452 7 4.49992 7Z' fill='%238C8C8C'/%3e%3cpath d='M11.4998 9H4.49992C4.36441 9 4.24727 9.05497 4.1483 9.16482C4.04932 9.2748 3.99988 9.40496 3.99988 9.55543C3.99988 9.7059 4.04932 9.83616 4.1483 9.94607L7.64826 13.835C7.74734 13.9449 7.86448 14 7.99988 14C8.13527 14 8.25252 13.9449 8.35141 13.835L11.8514 9.94604C11.9502 9.83616 11.9999 9.7059 11.9999 9.5554C11.9999 9.40496 11.9503 9.2748 11.8514 9.16479C11.7525 9.05485 11.6352 9 11.4998 9Z' fill='%238C8C8C'/%3e%3c/svg%3e",style:{width:16,height:16,alignSelf:"center"},loading:"lazy"}))}),color:"gray",className:t,style:a})},Wr=t=>{var{size:a=15}=t,n=e(t,["size"]);return i.createElement("svg",Object.assign({width:a,height:a,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),i.createElement("path",{d:"M7.43701 14C11.0614 14 13.9995 11.0619 13.9995 7.4375C13.9995 3.81313 11.0614 0.875 7.43701 0.875C3.81264 0.875 0.874512 3.81313 0.874512 7.4375C0.874512 11.0619 3.81264 14 7.43701 14Z",fill:"white",stroke:"#E4E8EC",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M8.53125 6.34375V4.15625H6.34375V6.34375H4.15625V8.53125H6.34375V10.7188H8.53125V8.53125H10.7188V6.34375H8.53125Z",fill:"#FF5331"}))},qr=t=>{var{size:a,color:n}=t,o=e(t,["size","color"]);return i.createElement("svg",Object.assign({width:a,height:a,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),i.createElement("path",{d:"M7.29998 8.71005L6.24868 7.64851C6.14527 7.54509 6.02647 7.49338 5.89228 7.49338C5.75811 7.49338 5.63931 7.54509 5.53588 7.64851C5.43247 7.75192 5.38012 7.87179 5.37883 8.00811C5.37756 8.14444 5.42649 8.26217 5.52563 8.36131L6.8782 9.71386C6.99871 9.83437 7.13931 9.89463 7.29998 9.89463C7.46066 9.89463 7.60126 9.83437 7.72177 9.71386L10.4846 6.95105C10.588 6.84764 10.6397 6.72884 10.6397 6.59465C10.6397 6.46047 10.588 6.34167 10.4846 6.23825C10.3812 6.13484 10.2613 6.0842 10.125 6.08633C9.98866 6.08846 9.87093 6.1391 9.77178 6.23825L7.29998 8.71005ZM7.99998 14.2703H7.84293C7.79379 14.2703 7.74913 14.2592 7.70897 14.2369C6.34743 13.7857 5.22222 12.9235 4.33333 11.6504C3.44444 10.3773 3 8.96046 3 7.39978V4.39723C3 4.1451 3.07308 3.91754 3.21923 3.71455C3.36539 3.51155 3.55342 3.36432 3.78333 3.27288L7.5782 1.85621C7.72093 1.80494 7.86153 1.7793 7.99998 1.7793C8.13844 1.7793 8.27903 1.80494 8.42177 1.85621L12.2166 3.27288C12.4465 3.36432 12.6346 3.51155 12.7807 3.71455C12.9269 3.91754 13 4.1451 13 4.39723V7.39978C13 8.96046 12.5555 10.3773 11.6666 11.6504C10.7777 12.9235 9.65253 13.7857 8.291 14.2369C8.23972 14.2592 8.14272 14.2703 7.99998 14.2703Z",fill:n}))};qr.defaultProps={size:24,color:Te.colors.gray600,activeColor:Te.colors.primaryBase,isActive:!1};var Zr="dZWeHns",Gr="tMiOKib",Xr="uDcqD-2",Yr="pDlsows",Qr="m-HVXw1";const Kr=({children:e,className:t=""})=>i.createElement("div",{className:`${Gr} ${t}`},e),Jr=({children:e,className:t=""})=>i.createElement("div",{className:`${Xr} ${t}`},e);var el="sTU4T4I",tl="tCql9Je",al="_3j7uYhH",il="PHABgoT";const nl=({avatarProps:e,title:t,subTitle:a,children:n,className:o="",style:r,onAvatarClick:l,avatarIcon:s,dataEventCategory:d,dataEventAction:c,dataEventLabel:p})=>i.createElement("div",{className:`${el} ${o}`,style:r},i.createElement("div",{className:al,onClick:l,"data-event-category":d,"data-event-action":c,"data-event-label":p},i.createElement(Ge,Object.assign({},e)),s&&i.createElement("div",{className:il},s)),i.createElement("div",{className:`${tl} ${o}`,style:{minHeight:`${(null==e?void 0:e.size)||40}px`}},n||i.createElement(i.Fragment,null,t&&i.createElement(Kr,null,t),a&&i.createElement(Jr,null,a))));nl.MainText=Kr,nl.SubText=Jr,nl.SubDivider=({className:e=""})=>i.createElement("span",{className:`${Qr} ${e}`}),nl.Row=({children:e,className:t=""})=>i.createElement("div",{className:`${Zr} ${t} row`},e),nl.ColLeft=({children:e,className:t=""})=>i.createElement("div",{className:`${t} col-left`},e),nl.ColRight=({children:e,className:t=""})=>i.createElement("div",{className:`${t} col-right`},e),nl.SubTextRow=t=>{var{children:a,className:n=""}=t,o=e(t,["children","className"]);return i.createElement("div",Object.assign({className:`${Yr} ${n}`},o),a)};var ol=g((()=>({root:{},authorBadge:{background:"yellow"}})));const rl=$e.div`
4295
+ `,Fr=({className:e,style:t,toggleButtonContent:a,position:o="bottom",align:r="end",children:l,buttonProps:c})=>{const{data:{env:{isMarryBaby:p}}}=h(Z),[m,u]=n(!1),g=s(null),b=s(m);return d((()=>{var e;b.current=m,m&&(null===(e=g.current)||void 0===e||e.focus())}),[m]),d((()=>{const e=e=>{var t;!(null===(t=g.current)||void 0===t?void 0:t.contains(e.target))&&b.current&&u(!1)};return window.addEventListener("click",e,{passive:!0}),()=>{window.removeEventListener("click",e)}}),[]),i.createElement($r,{"data-is-marrybaby":p,className:e,style:t},i.createElement(st,Object.assign({theme:p?"marryBaby":"helloSites",className:"popover-menu__btn",size:"md",color:"transparent",onClick:()=>u((e=>!e))},c),a),m?i.createElement("div",{ref:g,className:`popover-menu__content --position-${o} --align-${r}`,tabIndex:0,onClick:e=>e.stopPropagation()},"function"==typeof l?l({setShow:u}):l):null)};const _r=t=>{var{data:a}=t,n=e(t,["data"]);return i.createElement(Fr,Object.assign({},n),(({setShow:e})=>i.createElement(Ur,{data:a,setShow:e})))},Ur=({data:e,setShow:t})=>{var a;const[r,l]=n(""),s=o((()=>e&&((e,t)=>{const a=t.split(".");let i=e;return a.forEach((e=>{var t,a;e&&i&&"list"===(null==i?void 0:i.type)&&(i=null===(a=null===(t=null==i?void 0:i.list)||void 0===t?void 0:t[Number(e)])||void 0===a?void 0:a.subTree)})),i})(e,r)),[e,r]);if(!e)return null;if(!s)return null;return i.createElement(Rr,null,s.isShowheader?i.createElement("div",{className:"__header"},r?i.createElement("img",{className:"__back-btn",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15 18L9 12L15 6' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",onClick:()=>l((e=>e.split(".").slice(0,-1).join("."))),loading:"lazy"}):null,s.title?i.createElement($,{className:"__title",tag:"h6"},s.title):null):null,s.description?i.createElement(lt,{className:"tree-text-description",color:Te.colors.gray600,size:"p3",type:"regular"},s.description):null,i.createElement("div",{className:"__content"},"jsx"===s.type?null===(a=null==s?void 0:s.jsxRenderer)||void 0===a?void 0:a.call(s,t):null,"list"===s.type?i.createElement("ul",{className:"__list"},Array.isArray(s.list)?s.list.map(((e,a)=>i.createElement("li",{key:a,style:e.style,className:`__item ${e.className}`}," ",i.createElement("div",{className:"__btn "+(e.selected?"--checked":""),onClick:()=>((e,{subTree:a,onClick:i=(()=>null)})=>{i&&i(),a?l((t=>t.split(".").concat(String(e)).join("."))):t&&t(!1)})(a,e),"data-event-category":e.dataEventCategory,"data-event-action":e.dataEventAction,"data-event-label":e.dataEventLabel},e.icon&&i.createElement("img",{className:"__icon",src:e.icon,loading:"lazy"}),i.createElement("span",null,e.label)),e.subTree?i.createElement("img",{className:"__toggle",src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 12L10 8L6 4' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}):null,e.selected?i.createElement("img",{className:"__toggle",src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.3334 4L6.00002 11.3333L2.66669 8' stroke='%238C8C8C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}):null))):null):null))};var Vr;!function(e){e.latest="latest",e.oldest="oldest",e.popular="popular"}(Vr||(Vr={}));const Hr=({onChange:e,className:t,style:a,leftLabel:n,rightLabel:o,color:r,value:l,choices:s})=>{const{data:{env:{isMarryBaby:d}}}=h(Z);return i.createElement(Mr,{label:n,rightLabel:i.createElement(_r,{position:"bottom",align:"end",data:{isShowheader:!1,type:"list",list:s.map((t=>({label:t.label,onClick:()=>e&&e(String(t.value)),selected:t.value===l,className:"bold-item"})))},toggleButtonContent:i.createElement("div",{style:{display:"flex"}},i.createElement(lt,{style:{display:"flex",alignItems:"center",fontWeight:"normal",marginRight:12},size:"p4"},o),i.createElement("img",{src:d?"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M8 14L12 18L16 14' stroke='%233E3F58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e %3cpath d='M16 10L12 6L8 10' stroke='%233E3F58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e %3c/svg%3e":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.49992 7H11.4998C11.6352 7 11.7525 6.94506 11.8514 6.83509C11.9502 6.72515 11.9999 6.59496 11.9999 6.44449C11.9999 6.29402 11.9503 6.16389 11.8514 6.0538L8.35141 2.16491C8.25252 2.05509 8.13538 2 7.99988 2C7.86437 2 7.74723 2.05509 7.64826 2.16491L4.1483 6.0538C4.04932 6.16377 3.99988 6.29402 3.99988 6.44449C3.99988 6.59493 4.04932 6.72515 4.1483 6.83509C4.24738 6.94506 4.36452 7 4.49992 7Z' fill='%238C8C8C'/%3e%3cpath d='M11.4998 9H4.49992C4.36441 9 4.24727 9.05497 4.1483 9.16482C4.04932 9.2748 3.99988 9.40496 3.99988 9.55543C3.99988 9.7059 4.04932 9.83616 4.1483 9.94607L7.64826 13.835C7.74734 13.9449 7.86448 14 7.99988 14C8.13527 14 8.25252 13.9449 8.35141 13.835L11.8514 9.94604C11.9502 9.83616 11.9999 9.7059 11.9999 9.5554C11.9999 9.40496 11.9503 9.2748 11.8514 9.16479C11.7525 9.05485 11.6352 9 11.4998 9Z' fill='%238C8C8C'/%3e%3c/svg%3e",style:{width:16,height:16,alignSelf:"center"},loading:"lazy"}))}),color:"gray",className:t,style:a})},Wr=t=>{var{size:a=15}=t,n=e(t,["size"]);return i.createElement("svg",Object.assign({width:a,height:a,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),i.createElement("path",{d:"M7.43701 14C11.0614 14 13.9995 11.0619 13.9995 7.4375C13.9995 3.81313 11.0614 0.875 7.43701 0.875C3.81264 0.875 0.874512 3.81313 0.874512 7.4375C0.874512 11.0619 3.81264 14 7.43701 14Z",fill:"white",stroke:"#E4E8EC",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M8.53125 6.34375V4.15625H6.34375V6.34375H4.15625V8.53125H6.34375V10.7188H8.53125V8.53125H10.7188V6.34375H8.53125Z",fill:"#FF5331"}))},qr=t=>{var{size:a,color:n}=t,o=e(t,["size","color"]);return i.createElement("svg",Object.assign({width:a,height:a,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),i.createElement("path",{d:"M7.29998 8.71005L6.24868 7.64851C6.14527 7.54509 6.02647 7.49338 5.89228 7.49338C5.75811 7.49338 5.63931 7.54509 5.53588 7.64851C5.43247 7.75192 5.38012 7.87179 5.37883 8.00811C5.37756 8.14444 5.42649 8.26217 5.52563 8.36131L6.8782 9.71386C6.99871 9.83437 7.13931 9.89463 7.29998 9.89463C7.46066 9.89463 7.60126 9.83437 7.72177 9.71386L10.4846 6.95105C10.588 6.84764 10.6397 6.72884 10.6397 6.59465C10.6397 6.46047 10.588 6.34167 10.4846 6.23825C10.3812 6.13484 10.2613 6.0842 10.125 6.08633C9.98866 6.08846 9.87093 6.1391 9.77178 6.23825L7.29998 8.71005ZM7.99998 14.2703H7.84293C7.79379 14.2703 7.74913 14.2592 7.70897 14.2369C6.34743 13.7857 5.22222 12.9235 4.33333 11.6504C3.44444 10.3773 3 8.96046 3 7.39978V4.39723C3 4.1451 3.07308 3.91754 3.21923 3.71455C3.36539 3.51155 3.55342 3.36432 3.78333 3.27288L7.5782 1.85621C7.72093 1.80494 7.86153 1.7793 7.99998 1.7793C8.13844 1.7793 8.27903 1.80494 8.42177 1.85621L12.2166 3.27288C12.4465 3.36432 12.6346 3.51155 12.7807 3.71455C12.9269 3.91754 13 4.1451 13 4.39723V7.39978C13 8.96046 12.5555 10.3773 11.6666 11.6504C10.7777 12.9235 9.65253 13.7857 8.291 14.2369C8.23972 14.2592 8.14272 14.2703 7.99998 14.2703Z",fill:n}))};qr.defaultProps={size:24,color:Te.colors.gray600,activeColor:Te.colors.primaryBase,isActive:!1};var Zr="dZWeHns",Gr="tMiOKib",Xr="uDcqD-2",Yr="pDlsows",Qr="m-HVXw1";const Kr=({children:e,className:t=""})=>i.createElement("div",{className:`${Gr} ${t}`},e),Jr=({children:e,className:t=""})=>i.createElement("div",{className:`${Xr} ${t}`},e);var el="sTU4T4I",tl="tCql9Je",al="_3j7uYhH",il="PHABgoT";const nl=({avatarProps:e,title:t,subTitle:a,children:n,className:o="",style:r,onAvatarClick:l,avatarIcon:s,dataEventCategory:d,dataEventAction:c,dataEventLabel:p})=>i.createElement("div",{className:`${el} ${o}`,style:r},i.createElement("div",{className:al,onClick:l,"data-event-category":d,"data-event-action":c,"data-event-label":p},i.createElement(Ge,Object.assign({},e)),s&&i.createElement("div",{className:il},s)),i.createElement("div",{className:`${tl} ${o}`,style:{minHeight:`${(null==e?void 0:e.size)||40}px`}},n||i.createElement(i.Fragment,null,t&&i.createElement(Kr,null,t),a&&i.createElement(Jr,null,a))));nl.MainText=Kr,nl.SubText=Jr,nl.SubDivider=({className:e=""})=>i.createElement("span",{className:`${Qr} ${e}`}),nl.Row=({children:e,className:t=""})=>i.createElement("div",{className:`${Zr} ${t} row`},e),nl.ColLeft=({children:e,className:t=""})=>i.createElement("div",{className:`${t} col-left`},e),nl.ColRight=({children:e,className:t=""})=>i.createElement("div",{className:`${t} col-right`},e),nl.SubTextRow=t=>{var{children:a,className:n=""}=t,o=e(t,["children","className"]);return i.createElement("div",Object.assign({className:`${Yr} ${n}`},o),a)};var ol=g((()=>({root:{},authorBadge:{background:"yellow"}})));const rl=$e.div`
4296
4296
  position: fixed;
4297
4297
  left: 50%;
4298
4298
  width: 343px;
@@ -4778,7 +4778,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
4778
4778
  width: 24px;
4779
4779
  height: 24px;
4780
4780
  }
4781
- `;const Sl=({isOpen:e=!0,onClose:t,enableAnimation:a=!0,hospitalId:r,locale:l,isMobile:s,overwriteProfileProps:c,avatarFallback:p=we.getAssetPath("avatar.jpg"),trackingCategory:m="Together"})=>{const{t:u}=ze(),[h,g]=n(null),[b,f]=n(!1);d((()=>{if(e&&r&&String(null==h?void 0:h.id)!==String(r)){f(!0);try{g(null),L(j(Q.GET_HOSPITAL_INFO,{hospital_branch_id:r,website_url:K[l]}),"get").then((e=>{g(Object.assign(Object.assign({},null==e?void 0:e._data.branch),c))}))}catch(e){console.error(e)}f(!1)}}),[e,r,null==h?void 0:h.id]);const v=(null==h?void 0:h.specialties)||[],x=o((()=>v.map((e=>e.name))),[v]);return i.createElement(i.Fragment,null,i.createElement(El,{"data-open":e,"data-animation":a,onClick:e=>e.stopPropagation()},b||!h?i.createElement(xr,null):i.createElement("div",{className:"popup-content"},i.createElement("div",{className:"close-button",onClick:t},i.createElement("img",{src:pl,style:{width:20,height:20},alt:"close-icon",loading:"lazy"})),i.createElement("div",{className:"main-info"},i.createElement("div",{className:"border-banner"}),i.createElement("div",{className:"avatar-title"},i.createElement(Cl,null,i.createElement("div",{className:"image-container"},i.createElement("div",{style:{position:"relative"}},i.createElement(ye,{src:null==h?void 0:h.logo,className:"profile-image",alt:"avatar",backupSrc:p}),i.createElement("img",{className:"badge-avatar",src:ml,alt:"badge",loading:"lazy"})))),i.createElement(Al,null,i.createElement(lt,{size:"s3",type:"semiBold",className:"full-name"},null==h?void 0:h.name),i.createElement("div",{className:"specialty"},v&&i.createElement(lt,{size:"p4",color:Te.colors.gray800},x.join(" • "),"•"),i.createElement("a",{href:J({id:h.id,name:h.name,slug:h.slug,locale:l}),className:"organisation",target:"_blank",rel:"noreferrer"},i.createElement(lt,{size:"p4",className:"organisation",color:Te.colors.gray800,style:{textDecoration:"underline"}},null==h?void 0:h.name))))),!s&&i.createElement("a",{href:J({id:h.id,name:h.name,slug:h.slug,locale:l})},i.createElement("div",{className:"btn-wrapper"},i.createElement(st,{color:"primary",size:"md",className:"btn-booking"},u("careBooking.bookAnAppointment"))))),i.createElement(Al,null,i.createElement("div",{className:"experience"},i.createElement(lt,{type:"bold",size:"s3",color:Te.colors.gray800,style:{paddingBottom:16}},u("hospital.content.description").toUpperCase()),i.createElement(lt,{size:"p2",color:Te.colors.gray500},h.about),s?i.createElement("a",{href:J({id:h.id,name:h.name,slug:h.slug,locale:l})},i.createElement("div",{className:"btn-wrapper"},i.createElement(st,{color:"primary",size:"md",className:"btn-booking"},u("careBooking.bookAnAppointment")))):i.createElement("a",{href:J({id:h.id,name:h.name,slug:h.slug,locale:l})},i.createElement(lt,{size:"s4",color:"#2D87F3",as:"span","data-event-category":m,"data-event-action":"See Full Hospital Profile","data-event-label":Y(l)+J({id:h.id,name:h.name,slug:h.slug,locale:l})},u("home.seeHospital"))))))),i.createElement(kl,{"data-open":e,onClick:e=>{e.stopPropagation(),t()}}))};var Nl="_2UKyiK1",Tl="E5ga-tI",zl="_8Y2nWXX",Il="d0T7kSP";const Bl=({open:e,onClose:t,children:a,profileModalProps:n})=>{const{t:o}=ze();return i.createElement(xt,Object.assign({className:Nl,opened:e,onClose:t,overlayOpacity:.2,overflow:"inside",styles:{inner:{padding:0,justifyContent:"flex-end"},modal:{height:"100%",borderRadius:0},body:{padding:"24px",maxHeight:"100%"},content:{maxHeight:"100%",height:"100%",borderRadius:0}},title:"Profile"},n),i.createElement("div",{className:Tl},i.createElement("div",{className:zl},o("profilePanel.modal.heading")),i.createElement("div",{className:Il,onClick:t},i.createElement(It,null))),a)};Me.extend(bt);const Dl=u({}),Pl=e=>{const{className:t="",community:a,name:o,username:r,url:l,avatar:s,role:c,title:p,userType:m="user",expertId:u,specialty:g,organisation:b,isMarryBaby:f,doctorId:w,hospitalId:E,hasQuickBooking:k,handleMakeAppointment:C,communityTrackingAttr:A,isAnonymous:S,showDetailPopup:N,subLine:T,authActionWrapper:z,profileProps:I,profileModalProps:B,extendEle:D,avatarProps:P,hideInfo:O,timeText:L,onCloseFromPost:j,avatarIcon:M,badgeIconSize:$,hideBackground:R,children:_,styles:F,dataEventCategory:U,dataEventAction:V,dataEventLabel:H}=e,{data:{locale:W,router:q,env:{isMarryBaby:G,togetherBasePath:X}}}=h(Z),{isMobile:Y}=ie(),{t:Q}=ze(),{classes:K}=ol(void 0,{name:"CardAuthor",styles:F}),J="boolean"==typeof f?f:G,ee=J?"marryBaby":"helloSites",te=S?Q("cardPost.anonymous"):o||r||"",ae=S?we.getAssetPath("avatar.jpg"):s,ne=S?void 0:c,[oe,re]=n(!1),{asPath:le}=q||{},se=`https://${Ie[W]}${le}`,de=()=>{if(S||"chatbot"===m)return!1;N?pe(!0):l&&(window.location.href=l)};d((()=>{Ne(oe)}),[oe]);const[ce,pe]=n(!1),me="expert"===(null==e?void 0:e.role),ue=Boolean(w||E),he=["expert"===ne&&b&&i.createElement("span",null,b),"expert"===ne&&g&&i.createElement("span",null,g),!("expert"===ne&&g&&b)&&(null==a?void 0:a.name)&&i.createElement("a",Object.assign({href:(null==a?void 0:a.slug)&&a.isActive&&!a.isHidden?`${X}/${null==a?void 0:a.slug}/`:void 0,className:"author-community-name"},A),`${null==a?void 0:a.name}`),L&&i.createElement("span",null,L)].filter(Boolean),[ge,be]=n(null);return d((()=>{ce&&!ge&&Promise.resolve().then((function(){return Fd})).then((e=>{be((()=>e.ProfileDetail))}))}),[ce]),i.createElement(Dl.Provider,{value:{handleMakeAppointment:C,doctorId:w,hospitalId:E,currentUrl:se}},i.createElement(Bl,{open:ce,onClose:()=>pe(!1),profileModalProps:B},ge&&i.createElement(ge,Object.assign({currentPageUrl:H,authActionWrapper:z,onCloseFromPost:()=>{pe(!1),null==j||j()}},I,{authorProps:Object.assign({userId:null==e?void 0:e.userId,avatar:ae,name:null==e?void 0:e.name,role:null==e?void 0:e.role,title:null==e?void 0:e.title,doctorId:w,hospitalId:E,hasQuickBooking:k},null==I?void 0:I.authorProps)}))),"expert"===ne&&u?i.createElement(wl,{isOpen:oe,onClose:()=>re(!1),expertId:u}):null,"expert"===ne&&w?i.createElement(ul,{isOpen:oe,onClose:()=>re(!1),doctorId:w,locale:W}):null,"expert"===ne&&E?i.createElement(Sl,{isOpen:oe,onClose:()=>re(!1),hospitalId:E,locale:W}):null,i.createElement("div",{className:`hhg-card-author ${K.root} ${t} ${me?"expert-author":""}`,"data-background":!R&&me,"data-is-marrybaby":J},i.createElement(nl,{dataEventCategory:U,dataEventAction:V,dataEventLabel:H,onAvatarClick:de,avatarProps:Object.assign(Object.assign({avatar:S?we.getAssetPath(J?"anomyous-avatar-1.svg":"anomyous-avatar.svg"):ae,username:te},P),{style:{cursor:S||!l&&!N?"default":"pointer"}}),avatarIcon:M||me&&i.createElement(Wr,{size:$||15})},_?i.createElement("div",{onClick:de},_):!O&&i.createElement(nl.Row,null,i.createElement(nl.ColLeft,null,i.createElement(v,{align:"center",onClick:de},i.createElement(nl.MainText,{onClick:de},te,"chatbot"===m?i.createElement(i.Fragment,null," ",i.createElement(qr,{color:Te.colors.primaryBase,size:16,style:{display:"inline-block",transform:"translate(0, 2px)"}})):ne&&i.createElement(zt,{className:K.authorBadge,siteType:ee,role:ne,title:p,style:{verticalAlign:"bottom"}}))),T||i.createElement(nl.SubTextRow,{style:k?{position:"relative"}:{}},he.map(((e,t)=>i.createElement(i.Fragment,null,0!==t&&i.createElement(nl.SubDivider,null),i.createElement(nl.SubText,null,e)))),k&&ue&&i.createElement(y,{sx:{marginTop:x(5)}},i.createElement(Bt,{bookingId:w||E,bookingType:w?"doctor":E?"hospital":void 0,size:Y?"xs":"sm"})))))),D&&D))};Pl.MainText=nl.MainText,Pl.SubText=nl.SubText,Pl.SubTextRow=nl.SubTextRow,Pl.SubDivider=nl.SubDivider;const Ol=$e.div`
4781
+ `;const Sl=({isOpen:e=!0,onClose:t,enableAnimation:a=!0,hospitalId:r,locale:l,isMobile:s,overwriteProfileProps:c,avatarFallback:p=we.getAssetPath("avatar.jpg"),trackingCategory:m="Together"})=>{const{t:u}=ze(),[h,g]=n(null),[b,f]=n(!1);d((()=>{if(e&&r&&String(null==h?void 0:h.id)!==String(r)){f(!0);try{g(null),L(j(Q.GET_HOSPITAL_INFO,{hospital_branch_id:r,website_url:K[l]}),"get").then((e=>{g(Object.assign(Object.assign({},null==e?void 0:e._data.branch),c))}))}catch(e){console.error(e)}f(!1)}}),[e,r,null==h?void 0:h.id]);const v=(null==h?void 0:h.specialties)||[],x=o((()=>v.map((e=>e.name))),[v]);return i.createElement(i.Fragment,null,i.createElement(El,{"data-open":e,"data-animation":a,onClick:e=>e.stopPropagation()},b||!h?i.createElement(xr,null):i.createElement("div",{className:"popup-content"},i.createElement("div",{className:"close-button",onClick:t},i.createElement("img",{src:pl,style:{width:20,height:20},alt:"close-icon",loading:"lazy"})),i.createElement("div",{className:"main-info"},i.createElement("div",{className:"border-banner"}),i.createElement("div",{className:"avatar-title"},i.createElement(Cl,null,i.createElement("div",{className:"image-container"},i.createElement("div",{style:{position:"relative"}},i.createElement(ye,{src:null==h?void 0:h.logo,className:"profile-image",alt:"avatar",backupSrc:p}),i.createElement("img",{className:"badge-avatar",src:ml,alt:"badge",loading:"lazy"})))),i.createElement(Al,null,i.createElement(lt,{size:"s3",type:"semiBold",className:"full-name"},null==h?void 0:h.name),i.createElement("div",{className:"specialty"},v&&i.createElement(lt,{size:"p4",color:Te.colors.gray800},x.join(" • "),"•"),i.createElement("a",{href:J({id:h.id,name:h.name,slug:h.slug,locale:l}),className:"organisation",target:"_blank",rel:"noreferrer"},i.createElement(lt,{size:"p4",className:"organisation",color:Te.colors.gray800,style:{textDecoration:"underline"}},null==h?void 0:h.name))))),!s&&i.createElement("a",{href:J({id:h.id,name:h.name,slug:h.slug,locale:l})},i.createElement("div",{className:"btn-wrapper"},i.createElement(st,{color:"primary",size:"md",className:"btn-booking"},u("careBooking.bookAnAppointment"))))),i.createElement(Al,null,i.createElement("div",{className:"experience"},i.createElement(lt,{type:"bold",size:"s3",color:Te.colors.gray800,style:{paddingBottom:16}},u("hospital.content.description").toUpperCase()),i.createElement(lt,{size:"p2",color:Te.colors.gray500},h.about),s?i.createElement("a",{href:J({id:h.id,name:h.name,slug:h.slug,locale:l})},i.createElement("div",{className:"btn-wrapper"},i.createElement(st,{color:"primary",size:"md",className:"btn-booking"},u("careBooking.bookAnAppointment")))):i.createElement("a",{href:J({id:h.id,name:h.name,slug:h.slug,locale:l})},i.createElement(lt,{size:"s4",color:"#2D87F3",as:"span","data-event-category":m,"data-event-action":"See Full Hospital Profile","data-event-label":Y(l)+J({id:h.id,name:h.name,slug:h.slug,locale:l})},u("home.seeHospital"))))))),i.createElement(kl,{"data-open":e,onClick:e=>{e.stopPropagation(),t()}}))};var Nl="_2UKyiK1",Tl="E5ga-tI",zl="_8Y2nWXX",Il="d0T7kSP";const Bl=({open:e,onClose:t,children:a,profileModalProps:n})=>{const{t:o}=ze();return i.createElement(xt,Object.assign({className:Nl,opened:e,onClose:t,overlayOpacity:.2,overflow:"inside",styles:{inner:{padding:0,justifyContent:"flex-end"},modal:{height:"100%",borderRadius:0},body:{padding:"24px",maxHeight:"100%"},content:{maxHeight:"100%",height:"100%",borderRadius:0}},title:"Profile"},n),i.createElement("div",{className:Tl},i.createElement("div",{className:zl},o("profilePanel.modal.heading")),i.createElement("div",{className:Il,onClick:t},i.createElement(It,null))),a)};Me.extend(bt);const Dl=u({}),Pl=e=>{const{className:t="",community:a,name:o,username:r,url:l,avatar:s,role:c,title:p,userType:m="user",expertId:u,specialty:g,organisation:b,isMarryBaby:f,doctorId:w,hospitalId:E,hasQuickBooking:k,handleMakeAppointment:C,communityTrackingAttr:A,isAnonymous:S,showDetailPopup:N,subLine:T,authActionWrapper:z,profileProps:I,profileModalProps:B,extendEle:D,avatarProps:P,hideInfo:O,timeText:L,onCloseFromPost:j,avatarIcon:M,badgeIconSize:$,hideBackground:R,children:F,styles:_,dataEventCategory:U,dataEventAction:V,dataEventLabel:H}=e,{data:{locale:W,router:q,env:{isMarryBaby:G,togetherBasePath:X}}}=h(Z),{isMobile:Y}=ie(),{t:Q}=ze(),{classes:K}=ol(void 0,{name:"CardAuthor",styles:_}),J="boolean"==typeof f?f:G,ee=J?"marryBaby":"helloSites",te=S?Q("cardPost.anonymous"):o||r||"",ae=S?we.getAssetPath("avatar.jpg"):s,ne=S?void 0:c,[oe,re]=n(!1),{asPath:le}=q||{},se=`https://${Ie[W]}${le}`,de=()=>{if(S||"chatbot"===m)return!1;N?pe(!0):l&&(window.location.href=l)};d((()=>{Ne(oe)}),[oe]);const[ce,pe]=n(!1),me="expert"===(null==e?void 0:e.role),ue=Boolean(w||E),he=["expert"===ne&&b&&i.createElement("span",null,b),"expert"===ne&&g&&i.createElement("span",null,g),!("expert"===ne&&g&&b)&&(null==a?void 0:a.name)&&i.createElement("a",Object.assign({href:(null==a?void 0:a.slug)&&a.isActive&&!a.isHidden?`${X}/${null==a?void 0:a.slug}/`:void 0,className:"author-community-name"},A),`${null==a?void 0:a.name}`),L&&i.createElement("span",null,L)].filter(Boolean),[ge,be]=n(null);return d((()=>{ce&&!ge&&Promise.resolve().then((function(){return _d})).then((e=>{be((()=>e.ProfileDetail))}))}),[ce]),i.createElement(Dl.Provider,{value:{handleMakeAppointment:C,doctorId:w,hospitalId:E,currentUrl:se}},i.createElement(Bl,{open:ce,onClose:()=>pe(!1),profileModalProps:B},ge&&i.createElement(ge,Object.assign({currentPageUrl:H,authActionWrapper:z,onCloseFromPost:()=>{pe(!1),null==j||j()}},I,{authorProps:Object.assign({userId:null==e?void 0:e.userId,avatar:ae,name:null==e?void 0:e.name,role:null==e?void 0:e.role,title:null==e?void 0:e.title,doctorId:w,hospitalId:E,hasQuickBooking:k},null==I?void 0:I.authorProps)}))),"expert"===ne&&u?i.createElement(wl,{isOpen:oe,onClose:()=>re(!1),expertId:u}):null,"expert"===ne&&w?i.createElement(ul,{isOpen:oe,onClose:()=>re(!1),doctorId:w,locale:W}):null,"expert"===ne&&E?i.createElement(Sl,{isOpen:oe,onClose:()=>re(!1),hospitalId:E,locale:W}):null,i.createElement("div",{className:`hhg-card-author ${K.root} ${t} ${me?"expert-author":""}`,"data-background":!R&&me,"data-is-marrybaby":J},i.createElement(nl,{dataEventCategory:U,dataEventAction:V,dataEventLabel:H,onAvatarClick:de,avatarProps:Object.assign(Object.assign({avatar:S?we.getAssetPath(J?"anomyous-avatar-1.svg":"anomyous-avatar.svg"):ae,username:te},P),{style:{cursor:S||!l&&!N?"default":"pointer"}}),avatarIcon:M||me&&i.createElement(Wr,{size:$||15})},F?i.createElement("div",{onClick:de},F):!O&&i.createElement(nl.Row,null,i.createElement(nl.ColLeft,null,i.createElement(v,{align:"center",onClick:de},i.createElement(nl.MainText,{onClick:de},te,"chatbot"===m?i.createElement(i.Fragment,null," ",i.createElement(qr,{color:Te.colors.primaryBase,size:16,style:{display:"inline-block",transform:"translate(0, 2px)"}})):ne&&i.createElement(zt,{className:K.authorBadge,siteType:ee,role:ne,title:p,style:{verticalAlign:"bottom"}}))),T||i.createElement(nl.SubTextRow,{style:k?{position:"relative"}:{}},he.map(((e,t)=>i.createElement(i.Fragment,null,0!==t&&i.createElement(nl.SubDivider,null),i.createElement(nl.SubText,null,e)))),k&&ue&&i.createElement(y,{sx:{marginTop:x(5)}},i.createElement(Bt,{bookingId:w||E,bookingType:w?"doctor":E?"hospital":void 0,size:Y?"xs":"sm"})))))),D&&D))};Pl.MainText=nl.MainText,Pl.SubText=nl.SubText,Pl.SubTextRow=nl.SubTextRow,Pl.SubDivider=nl.SubDivider;const Ol=$e.div`
4782
4782
  position: relative;
4783
4783
  display: flex;
4784
4784
  height: 100%;
@@ -4912,7 +4912,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
4912
4912
  span {
4913
4913
  vertical-align: middle;
4914
4914
  }
4915
- `,Ml=/<mocka ([^>]*)data-url="true"[^<>]*>(.*?)<\/mocka>/gim,$l=/((?:=")|(?:data-url="true">)|)(https?:\/\/(www\.)?(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$]))/gim,Rl=/\[a\+href="([^<"]+)"(?:\+text=\"([^<"]+)")?\]/gim,_l=/<mention [^>]*data-id="([^<"]+)"[^>]*>([^<]+)<\/mention>/gim,Fl=/<mention [^>]*data-id="([^<"]+)" [^\>]*data-name="([^<"]+)"[^>]*>([^<]+)<\/mention>/gim,Ul=/\[mention\+id="([^<"]+)"([^\]]*)\]/gim,Vl=/^(https?:\/\/(www\.)?(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$]))$/gim,Hl=/^((https?:\/\/)?(www\.)?(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$]))$/gim,Wl=/<a [^>]*href="([^>"]+)"[^>]*>([^<]+)<\/a>/gim,ql=/<mocka [^\>]*data-bad-word="[^\"]*" [^\>]*data-error="true"[^\>]*>(.*?)<\/mocka>/gim,Zl=({url:e,text:t,method:a})=>{const i=t.indexOf(t.trimStart()),n=t.trimEnd().length,o=t.substring(0,i),r=t.substring(i,n),l=t.substring(n);return"edit"===a?`${o}<mocka data-href="${e}" data-url="true">${r}</mocka>${l}`:"display"===a&&(e.startsWith("http://")||e.startsWith("https://"))?`${o}<a href="${e}" target="_blank">${r}</a>${l}`:t},Gl=(e,t)=>e.replace(Rl,((e,a,i)=>Zl({text:i||a,url:a,method:t}))).replace(Wl,((e,a,i)=>Zl({text:i||a,url:a,method:t}))),Xl=(e,t=[])=>e.replace(Ul,((e,a,i)=>{const n=t.find((e=>String(e.id)===a));if(!n){if(!i)return"";let e="";return i.replace(/\+name="([^<"]+)"/i,((t,a)=>(e=a,t))),`<mention data-id="${a}" data-name="${e}">${e}</mention>`}return`<mention data-id="${a}" data-name="${n.name}">${n.name}</mention>`})),Yl=e=>{const t=[];return e.replace(/(\&amp;)+/g,"&").replace($l,((e,a,i)=>('="'!==a&&'data-url="true">'!==a&&t.push(i),e))),t},Ql=(e,t)=>{const a=[];return e.replace(_l,((e,t)=>(a.push(t),e))).replace(Ul,((e,t)=>(a.push(t),e))),t?a:Array.from(new Set(a)).slice(0,30)},Kl=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Jl=e=>e.replace(ql,"$1"),es=(e,t=(e=>e))=>((e,t=(e=>e))=>{var a;return t(null===(a=e.replace(/(\&nbsp;)+/g," ").replace(/(\&amp;)+/g,"&"))||void 0===a?void 0:a.replace(/(\u200c|&zwnj;)+/g,"").replace($l,((e,t,a)=>'="'!==t&&'data-url="true">'!==t?`<a href="${a}" target="_blank">${a}</a>`:e)).replace(Ml,((e,t,a)=>{var i;const n=null===(i=t.match(/data-href="([^"]*)"/im))||void 0===i?void 0:i[1];return n?`<a href="${n}" target="_blank">${a}</a>`:`<a href="${a}" target="_blank">${a}</a>`})))})((e=>e.replace(_l,((e,t,a)=>`[mention+id="${t}"+name="${a}"]`)))(Jl(e)),t),ts=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn"],as=e=>e.match(Hl)?e.startsWith("https://")||e.startsWith("http://")?e:`https://${e}`:"",is=(e,t)=>{const a=t.filter(Boolean);if(e&&a.length>0){return Jl(e).replace(new RegExp(`\\b(${a.map((e=>Kl(e))).join("|")})\\b`,"gi"),((e,t)=>{const a=document.createElement("mocka");return a.setAttribute("data-bad-word",t),a.setAttribute("data-error","true"),a.innerText=t,`${a.outerHTML}`}))}return e},ns=e=>{var t;if(!e.includes("youtu"))return"";return(null===(t=/(.*?)(^|\/|v=)([a-z0-9_-]{11})(.*)?/gim.exec(e))||void 0===t?void 0:t[3])||""},os=(e,a,i)=>"string"==typeof e?Promise.resolve(e):t(void 0,void 0,void 0,(function*(){var t;const n=new FormData;if(e.type.startsWith("image/gif"))n.append("image",e);else{const t=yield import("browser-image-compression"),a=yield t.default(e,{maxSizeMB:.4,maxWidthOrHeight:1536,useWebWorker:!0});n.append("image",a)}const o=i?le:se,r=yield o(ne(i?oe.COMMENT.IMAGE_UPLOAD:re.COMMENT.IMAGE_UPLOAD,{_locale:a}),"POST",{data:n});return(null===(t=null==r?void 0:r.data)||void 0===t?void 0:t.image)||""})),rs=$e.div`
4915
+ `,Ml=/<mocka ([^>]*)data-url="true"[^<>]*>(.*?)<\/mocka>/gim,$l=/((?:=")|(?:data-url="true">)|)(https?:\/\/(www\.)?(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$]))/gim,Rl=/\[a\+href="([^<"]+)"(?:\+text=\"([^<"]+)")?\]/gim,Fl=/<mention [^>]*data-id="([^<"]+)"[^>]*>([^<]+)<\/mention>/gim,_l=/<mention [^>]*data-id="([^<"]+)" [^\>]*data-name="([^<"]+)"[^>]*>([^<]+)<\/mention>/gim,Ul=/\[mention\+id="([^<"]+)"([^\]]*)\]/gim,Vl=/^(https?:\/\/(www\.)?(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$]))$/gim,Hl=/^((https?:\/\/)?(www\.)?(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$]))$/gim,Wl=/<a [^>]*href="([^>"]+)"[^>]*>([^<]+)<\/a>/gim,ql=/<mocka [^\>]*data-bad-word="[^\"]*" [^\>]*data-error="true"[^\>]*>(.*?)<\/mocka>/gim,Zl=({url:e,text:t,method:a})=>{const i=t.indexOf(t.trimStart()),n=t.trimEnd().length,o=t.substring(0,i),r=t.substring(i,n),l=t.substring(n);return"edit"===a?`${o}<mocka data-href="${e}" data-url="true">${r}</mocka>${l}`:"display"===a&&(e.startsWith("http://")||e.startsWith("https://"))?`${o}<a href="${e}" target="_blank">${r}</a>${l}`:t},Gl=(e,t)=>e.replace(Rl,((e,a,i)=>Zl({text:i||a,url:a,method:t}))).replace(Wl,((e,a,i)=>Zl({text:i||a,url:a,method:t}))),Xl=(e,t=[])=>e.replace(Ul,((e,a,i)=>{const n=t.find((e=>String(e.id)===a));if(!n){if(!i)return"";let e="";return i.replace(/\+name="([^<"]+)"/i,((t,a)=>(e=a,t))),`<mention data-id="${a}" data-name="${e}">${e}</mention>`}return`<mention data-id="${a}" data-name="${n.name}">${n.name}</mention>`})),Yl=e=>{const t=[];return e.replace(/(\&amp;)+/g,"&").replace($l,((e,a,i)=>('="'!==a&&'data-url="true">'!==a&&t.push(i),e))),t},Ql=(e,t)=>{const a=[];return e.replace(Fl,((e,t)=>(a.push(t),e))).replace(Ul,((e,t)=>(a.push(t),e))),t?a:Array.from(new Set(a)).slice(0,30)},Kl=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Jl=e=>e.replace(ql,"$1"),es=(e,t=(e=>e))=>((e,t=(e=>e))=>{var a;return t(null===(a=e.replace(/(\&nbsp;)+/g," ").replace(/(\&amp;)+/g,"&"))||void 0===a?void 0:a.replace(/(\u200c|&zwnj;)+/g,"").replace($l,((e,t,a)=>'="'!==t&&'data-url="true">'!==t?`<a href="${a}" target="_blank">${a}</a>`:e)).replace(Ml,((e,t,a)=>{var i;const n=null===(i=t.match(/data-href="([^"]*)"/im))||void 0===i?void 0:i[1];return n?`<a href="${n}" target="_blank">${a}</a>`:`<a href="${a}" target="_blank">${a}</a>`})))})((e=>e.replace(Fl,((e,t,a)=>`[mention+id="${t}"+name="${a}"]`)))(Jl(e)),t),ts=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn"],as=e=>e.match(Hl)?e.startsWith("https://")||e.startsWith("http://")?e:`https://${e}`:"",is=(e,t)=>{const a=t.filter(Boolean);if(e&&a.length>0){return Jl(e).replace(new RegExp(`\\b(${a.map((e=>Kl(e))).join("|")})\\b`,"gi"),((e,t)=>{const a=document.createElement("mocka");return a.setAttribute("data-bad-word",t),a.setAttribute("data-error","true"),a.innerText=t,`${a.outerHTML}`}))}return e},ns=e=>{var t;if(!e.includes("youtu"))return"";return(null===(t=/(.*?)(^|\/|v=)([a-z0-9_-]{11})(.*)?/gim.exec(e))||void 0===t?void 0:t[3])||""},os=(e,a,i)=>"string"==typeof e?Promise.resolve(e):t(void 0,void 0,void 0,(function*(){var t;const n=new FormData;if(e.type.startsWith("image/gif"))n.append("image",e);else{const t=yield import("browser-image-compression"),a=yield t.default(e,{maxSizeMB:.4,maxWidthOrHeight:1536,useWebWorker:!0});n.append("image",a)}const o=i?le:se,r=yield o(ne(i?oe.COMMENT.IMAGE_UPLOAD:re.COMMENT.IMAGE_UPLOAD,{_locale:a}),"POST",{data:n});return(null===(t=null==r?void 0:r.data)||void 0===t?void 0:t.image)||""})),rs=$e.div`
4916
4916
  input:focus,
4917
4917
  textarea:focus,
4918
4918
  [contenteditable='true'] {
@@ -5230,7 +5230,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
5230
5230
  }
5231
5231
  }
5232
5232
  }
5233
- `;let ss=null;function ds(e){var t,a;let i=-1;if(void 0!==window.getSelection){const n=window.getSelection();if((null==n?void 0:n.rangeCount)&&(null==n?void 0:n.rangeCount)>0){const n=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(n){const t=n.cloneRange();t.selectNodeContents(e),t.setEnd(n.endContainer,n.endOffset),i=cs(t.cloneContents().childNodes,i);const o=null===(a=n.endContainer.parentElement)||void 0===a?void 0:a.closest("mocka"),r=n.endContainer.nodeValue||n.endContainer.outerHTML;o&&(null==r?void 0:r.length)&&(i=i-n.endOffset+(o.outerHTML.length-(null==o?void 0:o.outerHTML.lastIndexOf(r))))}}}return i}function cs(e,t){return e.forEach(((a,i)=>{const n=i+1===e.length;if(a.nodeType===Node.ELEMENT_NODE){const e=a.outerHTML;if(!n)return void(t+=e.length);t+=e.indexOf(">")+1,t=cs(a.childNodes,t)}else a.nodeType===Node.TEXT_NODE&&(t+=(a.nodeValue||"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;").length)})),t}t(void 0,void 0,void 0,(function*(){if("undefined"==typeof window)return;const e=yield import("react-quill");ss=e.default;const t=e.Quill||ss.Quill;t.register("modules/preserveWhiteSpace",class{constructor(e,t){this.quill=e,this.options=t,e.container.style.whiteSpace="pre-line"}});const a=t.import("blots/inline");class i extends a{static create(e){if(!e)return super.create(!1);const t=super.create(e);return i.setNodeConfigurations(t,e),t}static formats(e){return!(!e.innerText||!(e.getAttribute("data-href")||e.getAttribute("data-url")||e.getAttribute("data-error")||e.getAttribute("data-bad-word")))&&{"data-bad-word":e.getAttribute("data-bad-word"),"data-error":e.getAttribute("data-error"),"data-href":e.getAttribute("data-href"),"data-url":e.getAttribute("data-url"),"data-text":e.innerText||e.getAttribute("data-href")}}static setNodeConfigurations(e,t){var a,i;t&&(null===(i=null===(a=null==t?void 0:t["data-text"])||void 0===a?void 0:a.replace(/(\&nbsp;)+/g," "))||void 0===i?void 0:i.replace(/(\u200c|&zwnj;)+/g,""))&&(t["data-bad-word"]&&e.setAttribute("data-bad-word",t["data-bad-word"]),t["data-href"]&&e.setAttribute("data-href",t["data-href"]),t["data-error"]&&e.setAttribute("data-error",t["data-error"]),t["data-url"]&&e.setAttribute("data-url",t["data-url"]))}}i.blotName="mocka1",i.tagName="mocka",t.register(i);class n extends a{static create(e){if(!e)return super.create(!1);const t=super.create(e);return n.setNodeConfigurations(t,e),t}static formats(e){return!(!e.getAttribute("data-name")||!e.getAttribute("data-id"))&&{"data-name":e.getAttribute("data-name"),"data-id":e.getAttribute("data-id")}}static setNodeConfigurations(e,t){var a,i;t&&t["data-id"]&&(null===(i=null===(a=null==t?void 0:t["data-name"])||void 0===a?void 0:a.replace(/(\&nbsp;)+/g," "))||void 0===i?void 0:i.replace(/(\u200c|&zwnj;)+/g,""))&&(t["data-id"]&&e.setAttribute("data-id",t["data-id"]),t["data-name"]&&e.setAttribute("data-name",t["data-name"]))}}n.blotName="mention",n.tagName="mention",t.register(n)}));const ps=(e,t)=>{var a;const{formatUrl:i,bannedWords:n=[]}=t||{},o=e.replace(/<font [^\>]*>(.+)<\/font>/gim,((e,t)=>t.replace(/<u[^\>]*>(.+)<\/u>/gim,"$1"))).replace(Fl,((e,t,a,i)=>{if(i!==a){const e=a.split(" "),n=e.findIndex(((t,a)=>{const n=e.slice(0,a+1).join(" ");return!i.startsWith(n)}));if(0===n)return`@${i}`;{const a=(n<0?e:e.slice(0,n)).join(" "),o=i.slice(a.length).trim();return console.log(n,a,o),`<mention data-id="${t}" data-name="${a}">${a}</mention> ${o} `}}return e}));if(!i)return{value:is(o,n)};let r=(e=>e.replace(ql,((e,t)=>{const a=document.createElement("div");a.innerHTML=e;const i=a.firstChild;return(null==i?void 0:i.innerText)!==(null==i?void 0:i.getAttribute("data-bad-word"))?t:e})))((e=>{var t,a;return null===(a=null===(t=e.replace(/(\&nbsp;)+/g," "))||void 0===t?void 0:t.replace(/(\u200c|&zwnj;)+/g,""))||void 0===a?void 0:a.replace(Ml,((e,t,a)=>{var i;const n=null===(i=t.match(/data-href="([^"]*)"/im))||void 0===i?void 0:i[1];return!n||n===a||a.match(Vl)?a:n?`<a href="${n}">${a}</a>`:`<a href="${a}">${a}</a>`})).replace($l,((e,t,a)=>{if('="'!==t&&'data-url="true">'!==t){const e=a.toLowerCase(),t=`${e.startsWith("http")?"":" https://"}${e}`;return Zl({text:t,url:t,method:"edit"})}return e})).replace(Wl,((e,t,a)=>Zl({text:a||t,url:t,method:"edit"})))})(o));const l=(e=>{var t;return[...Yl(e),...(null===(t=e.match(Ml))||void 0===t?void 0:t.map((e=>{var t,a;const i=null===(t=e.match(/data-href="([^"]*)"/im))||void 0===t?void 0:t[1],n=null===(a=e.match(/>(.*?)<\/mocka>/im))||void 0===a?void 0:a[1];return i||n})))||[]].filter((e=>!!e))})(o);if(l){const e=[];let t="";return l.forEach((t=>{if(t)try{const a=new URL(t);ts.some((e=>a.origin.endsWith(e)))||e.push(t)}catch(a){e.push(t)}})),e.length>0&&(r=r.replace(new RegExp(`data-url="true">(${e.map(Kl).join("|")})<`,"gi"),'data-error="true" data-url="true">$1<').replace(new RegExp(`data-href="(${e.map(Kl).join("|")})" data-url="true">`,"gi"),'data-href="$1" data-error="true" data-url="true">')),t=null===(a=l.filter((t=>-1===e.indexOf(t))))||void 0===a?void 0:a[0],{invalidUrls:e,previewUrl:t,value:is(r,n)}}return{value:is(r,n)}},ms=({html:e,onChange:a,className:o,style:l,onImagePickerClick:c,bannedWords:p=[],onInvalidUrlsChange:m,onPreviewUrlChange:u,setEditorRef:g,isReplying:b})=>{var f,v,x,y;const w=s([]);w.current=p;const[E,k]=n([]),[C,A]=n(null),{data:{locale:S}}=h(Z),N=(null==p?void 0:p.join(","))||"";d((()=>{var e,t;const a=null===(t=null===(e=j.current)||void 0===e?void 0:e.getEditor())||void 0===t?void 0:t.root.innerHTML;I(a)}),[N]);const T=e=>{C&&C.url===e||(A({url:e,isFetching:!0}),L(ne(re.FETCH_PREVIEW,{_locale:S}),"POST",{data:{link:e}}).then((t=>{var a,i,n,o;A({title:null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.title,description:null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.description,image:(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.image)||(null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.logo),url:e})})).catch((()=>{A(null)})))},z=s(T);z.current=T;const I=r(We((e=>{if(e){const t=ps(e,{bannedWords:w.current,formatUrl:!0}),{invalidUrls:i,previewUrl:n,value:o}=t;i&&k(i),n?z.current(n):A(null),o!==e&&(null==a||a(o))}}),500),[]);d((()=>{m&&m(E)}),[E]),d((()=>{u&&((null==C?void 0:C.url)?u({title:C.title||"",url:C.url||"",image:C.image||"",description:C.description||""}):u(null))}),[C]);const B=s(c);B.current=c;const D=yt(),P=s({toolbar:{handlers:{image:()=>{var e;return null===(e=B.current)||void 0===e?void 0:e.call(B)},link:()=>!1},container:"#toolbar-"+D},preserveWhiteSpace:!0}),O=s(-1),j=s(null);g&&(null===(v=null===(f=j.current)||void 0===f?void 0:f.getEditor())||void 0===v?void 0:v.root)&&g(null===(y=null===(x=j.current)||void 0===x?void 0:x.getEditor())||void 0===y?void 0:y.root);const M=()=>{var e,t,a,i,n,o,r,l;if(null===(t=null===(e=j.current)||void 0===e?void 0:e.getEditor())||void 0===t?void 0:t.root){const e=ds(null===(i=null===(a=j.current)||void 0===a?void 0:a.getEditor())||void 0===i?void 0:i.root),t=null===(o=null===(n=j.current)||void 0===n?void 0:n.getEditor())||void 0===o?void 0:o.root.innerHTML;if(e>=0&&e<t.length){if(Ql(t,!0).length<30-(b?1:0)){const e=function(e){var t,a;let i=null;if(void 0!==window.getSelection){const n=window.getSelection();if((null==n?void 0:n.rangeCount)&&(null==n?void 0:n.rangeCount)>0){const n=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(n){const t=n.cloneRange();t.selectNodeContents(e),t.setEnd(n.endContainer,n.endOffset);const o=(t.endContainer.nodeValue||"").substring(0,n.endOffset),r=o.lastIndexOf("@");if(r+1<o.length&&(0===r||" @"===o.slice(r-1,r+1))){const e=null===(a=o.slice(r+1))||void 0===a?void 0:a.trim();if(e){t.setStart(n.endContainer,r);const a=t.cloneRange();a.setStart(a.endContainer,r),i={name:e,rect:t.getBoundingClientRect(),replaceRange:a}}}}}}return i}(null===(l=null===(r=j.current)||void 0===r?void 0:r.getEditor())||void 0===l?void 0:l.root);e?(U(e.name,e.rect),W.current=e.replaceRange):(W.current=null,U("",null))}else W.current=null,U("",null);O.current=e}}else R([])},[$,R]=n([]),[_,F]=n({top:0,left:0}),U=r(We(((e,a,i)=>t(void 0,void 0,void 0,(function*(){var t,n,o,r;if(!e||!DOMRect)return R([]);const l=yield((null===(t=Ze(G))||void 0===t?void 0:t.length)||0)>0?se(ne(re.SEARCH_USER,{_locale:S,name:e}),"get"):le(ne(oe.SEARCH_USER,{_locale:S,name:e}),"get");Y(0),R(null===(o=null===(n=null==l?void 0:l.data)||void 0===n?void 0:n.users)||void 0===o?void 0:o.filter((e=>!(null==i?void 0:i.includes(String(e.id))))));const s=a,d=null===(r=H.current)||void 0===r?void 0:r.getBoundingClientRect();if(s&&d){const e=343,t=256,a={top:s.bottom-d.top,width:"min(343px, 100%)",maxHeight:t};d.width-(s.left-d.left)<e?a.right=0:a.left=s.left-d.left,F(a)}}))),500),[]),V=(e,t)=>{var a,i,n;if(W.current){W.current.deleteContents();const o=document.createElement("mention");o.setAttribute("data-id",e),o.setAttribute("data-name",t),o.innerText=t;const r=document.createTextNode(" ");W.current.insertNode(r),W.current.insertNode(o);(null===(i=null===(a=j.current)||void 0===a?void 0:a.getEditor())||void 0===i?void 0:i.root).focus();const l=null===(n=window.getSelection())||void 0===n?void 0:n.getRangeAt(0);null==l||l.setStart(W.current.endContainer,W.current.endOffset),null==l||l.setEnd(W.current.endContainer,W.current.endOffset)}R([])},H=s(null),W=s(null),q=s(null),[X,Y]=n(0);return d((()=>{if(q.current){const e=q.current,t=e.children.item(X);if(t){const a=e.getBoundingClientRect(),i=t.getBoundingClientRect();t.offsetTop<e.scrollTop?e.scrollTop=t.offsetTop:t.offsetTop+i.height>e.scrollTop+a.height&&(e.scrollTop=t.offsetTop-a.height+i.height)}}}),[X]),d((()=>{const e=function(e){var t;(null===(t=H.current)||void 0===t?void 0:t.contains(e.target))||R([])};return window.addEventListener("click",e,{passive:!0}),()=>{window.removeEventListener("click",e)}}),[]),i.createElement(ls,{ref:H,className:o,style:l,onKeyDownCapture:e=>{if(null==$?void 0:$.length){let t=!1;if("ArrowDown"===e.key)t=!0,Y((e=>e+1>=$.length?0:e+1));else if("Escape"===e.key)t=!0,Y(0),R([]);else if("ArrowUp"===e.key)t=!0,Y((e=>e-1<0?$.length-1:e-1));else if("Enter"===e.key||"Tab"===e.key){const e=$[X];e&&(t=!0,V(e.id,e.name))}if(t)return e.preventDefault(),!1}}},i.createElement(us,{id:D,onAddLink:(e,t)=>{var i,n;const o=O.current+1,r=null===(n=null===(i=j.current)||void 0===i?void 0:i.getEditor())||void 0===n?void 0:n.root.innerHTML,l=((null==r?void 0:r.substring(0,o))||"")+`<mocka data-href="${t}" data-url="true">${e}</mocka> `+((null==r?void 0:r.substring(o))||"");null==a||a(l),I(l)}}),ss&&i.createElement(ss,{ref:j,theme:"snow",value:e,onChange:e=>{null==a||a(e),I(e),M()},onChangeSelection:()=>{M()},modules:P.current,formats:["mocka1","mention","id","key","bold","italic","underline","list","bullet"]}),!!(null==$?void 0:$.length)&&i.createElement("div",{ref:q,className:"mention-search-container",style:_},$.map(((e,t)=>i.createElement("div",{className:"mention-search-item "+(X===t?"item-selected":""),key:e.id,onClick:t=>{t.preventDefault(),t.stopPropagation(),V(e.id,e.name)},onMouseEnter:()=>{Y(t)}},i.createElement(Ge,{className:"search-avatar",username:e.name,avatar:e.avatar}),i.createElement("div",null,i.createElement(lt,{size:"p2"},e.name),i.createElement(lt,{size:"p4",color:"#595959"},"@",e.username)))))))},us=({onAddLink:e,id:t})=>i.createElement("div",{id:"toolbar-"+t,onClick:e=>{e.preventDefault(),e.stopPropagation()}},i.createElement("span",{className:"ql-formats"},i.createElement("button",{className:"ql-bold",type:"button"}),i.createElement("button",{className:"ql-italic",type:"button"}),i.createElement("button",{className:"ql-underline",type:"button"})),i.createElement("span",{className:"ql-formats"},i.createElement("button",{className:"ql-list",value:"ordered",type:"button"}),i.createElement("button",{className:"ql-list",value:"bullet",type:"button"})),i.createElement("span",{className:"ql-formats"},i.createElement("button",{className:"ql-image",type:"button"}),e&&i.createElement(_r,{className:"link-tool-wrapper",toggleButtonContent:i.createElement("img",{className:"link-icon",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.54545 16H7.09091C6.55368 16 6.02172 15.8965 5.52539 15.6955C5.02905 15.4945 4.57808 15.1999 4.1982 14.8284C3.43101 14.0783 3 13.0609 3 12C3 10.9391 3.43101 9.92172 4.1982 9.17157C4.96539 8.42143 6.00593 8 7.09091 8H9.54545M13.9256 8H16.9091C17.4463 8 17.9783 8.10346 18.4746 8.30448C18.9709 8.5055 19.4219 8.80014 19.8018 9.17157C20.1817 9.54301 20.483 9.98396 20.6886 10.4693C20.8942 10.9546 21 11.4747 21 12C21 12.5253 20.8942 13.0454 20.6886 13.5307C20.483 14.016 20.1817 14.457 19.8018 14.8284C19.4219 15.1999 18.9709 15.4945 18.4746 15.6955C17.9783 15.8965 17.4463 16 16.9091 16H13.9256' stroke='%23737373' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M9 12H15' stroke='%23737373' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}),buttonProps:{size:"md",color:"transparent"},align:"end"},(({setShow:t})=>i.createElement(gs,{onAddUrl:e,setShow:t}))))),hs=["notification.limitUrlDomain","notification.urlWrongFormat"],gs=({onAddUrl:e,setShow:t})=>{const{data:{env:{isMarryBaby:a}}}=h(Z),{t:o}=ze(),[r,l]=n(""),[s,d]=n(""),[c,p]=n(-1),m=r.trim()&&s.trim()&&c<0;return i.createElement("div",{className:"link-tool-popover"},i.createElement(dt,{name:"url",value:r,size:"md",label:"URL",placeholder:o("placeholder.enterUrlHere"),type:"text",className:"link-input-url",onChange:e=>{l(e),(e=>{const t=as(e.trim());try{const e=new URL(t);return e.protocol.startsWith("http")?ts.some((t=>e.origin.endsWith("/"+t)||e.origin.endsWith("."+t)))?(p(-1),!0):(p(0),!1):(p(1),!1)}catch(e){return p(1),!1}})(e)}}),c>=0&&i.createElement(lt,{size:"c2",className:"error-text"},o(hs[c])),i.createElement(dt,{name:"text",value:s,size:"md",label:o("createPost.urlText"),placeholder:o("placeholder.enterUrlTextHere"),type:"text",className:"link-input-text",onChange:e=>d(e)}),i.createElement("div",{"data-is-marrybaby":a,className:"link-input-button-wrapper"},i.createElement(st,{theme:a?"marryBaby":"helloSites",size:"sm",color:"primary",className:"link-input-button",onClick:()=>{m&&(e(s.trim(),as(r.trim())),t&&t(!1))},isDisabled:!m},o("insert"))))},bs=$e.div`
5233
+ `;let ss=null;function ds(e){var t,a;let i=-1;if(void 0!==window.getSelection){const n=window.getSelection();if((null==n?void 0:n.rangeCount)&&(null==n?void 0:n.rangeCount)>0){const n=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(n){const t=n.cloneRange();t.selectNodeContents(e),t.setEnd(n.endContainer,n.endOffset),i=cs(t.cloneContents().childNodes,i);const o=null===(a=n.endContainer.parentElement)||void 0===a?void 0:a.closest("mocka"),r=n.endContainer.nodeValue||n.endContainer.outerHTML;o&&(null==r?void 0:r.length)&&(i=i-n.endOffset+(o.outerHTML.length-(null==o?void 0:o.outerHTML.lastIndexOf(r))))}}}return i}function cs(e,t){return e.forEach(((a,i)=>{const n=i+1===e.length;if(a.nodeType===Node.ELEMENT_NODE){const e=a.outerHTML;if(!n)return void(t+=e.length);t+=e.indexOf(">")+1,t=cs(a.childNodes,t)}else a.nodeType===Node.TEXT_NODE&&(t+=(a.nodeValue||"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;").length)})),t}t(void 0,void 0,void 0,(function*(){if("undefined"==typeof window)return;const e=yield import("react-quill");ss=e.default;const t=e.Quill||ss.Quill;t.register("modules/preserveWhiteSpace",class{constructor(e,t){this.quill=e,this.options=t,e.container.style.whiteSpace="pre-line"}});const a=t.import("blots/inline");class i extends a{static create(e){if(!e)return super.create(!1);const t=super.create(e);return i.setNodeConfigurations(t,e),t}static formats(e){return!(!e.innerText||!(e.getAttribute("data-href")||e.getAttribute("data-url")||e.getAttribute("data-error")||e.getAttribute("data-bad-word")))&&{"data-bad-word":e.getAttribute("data-bad-word"),"data-error":e.getAttribute("data-error"),"data-href":e.getAttribute("data-href"),"data-url":e.getAttribute("data-url"),"data-text":e.innerText||e.getAttribute("data-href")}}static setNodeConfigurations(e,t){var a,i;t&&(null===(i=null===(a=null==t?void 0:t["data-text"])||void 0===a?void 0:a.replace(/(\&nbsp;)+/g," "))||void 0===i?void 0:i.replace(/(\u200c|&zwnj;)+/g,""))&&(t["data-bad-word"]&&e.setAttribute("data-bad-word",t["data-bad-word"]),t["data-href"]&&e.setAttribute("data-href",t["data-href"]),t["data-error"]&&e.setAttribute("data-error",t["data-error"]),t["data-url"]&&e.setAttribute("data-url",t["data-url"]))}}i.blotName="mocka1",i.tagName="mocka",t.register(i);class n extends a{static create(e){if(!e)return super.create(!1);const t=super.create(e);return n.setNodeConfigurations(t,e),t}static formats(e){return!(!e.getAttribute("data-name")||!e.getAttribute("data-id"))&&{"data-name":e.getAttribute("data-name"),"data-id":e.getAttribute("data-id")}}static setNodeConfigurations(e,t){var a,i;t&&t["data-id"]&&(null===(i=null===(a=null==t?void 0:t["data-name"])||void 0===a?void 0:a.replace(/(\&nbsp;)+/g," "))||void 0===i?void 0:i.replace(/(\u200c|&zwnj;)+/g,""))&&(t["data-id"]&&e.setAttribute("data-id",t["data-id"]),t["data-name"]&&e.setAttribute("data-name",t["data-name"]))}}n.blotName="mention",n.tagName="mention",t.register(n)}));const ps=(e,t)=>{var a;const{formatUrl:i,bannedWords:n=[]}=t||{},o=e.replace(/<font [^\>]*>(.+)<\/font>/gim,((e,t)=>t.replace(/<u[^\>]*>(.+)<\/u>/gim,"$1"))).replace(_l,((e,t,a,i)=>{if(i!==a){const e=a.split(" "),n=e.findIndex(((t,a)=>{const n=e.slice(0,a+1).join(" ");return!i.startsWith(n)}));if(0===n)return`@${i}`;{const a=(n<0?e:e.slice(0,n)).join(" "),o=i.slice(a.length).trim();return console.log(n,a,o),`<mention data-id="${t}" data-name="${a}">${a}</mention> ${o} `}}return e}));if(!i)return{value:is(o,n)};let r=(e=>e.replace(ql,((e,t)=>{const a=document.createElement("div");a.innerHTML=e;const i=a.firstChild;return(null==i?void 0:i.innerText)!==(null==i?void 0:i.getAttribute("data-bad-word"))?t:e})))((e=>{var t,a;return null===(a=null===(t=e.replace(/(\&nbsp;)+/g," "))||void 0===t?void 0:t.replace(/(\u200c|&zwnj;)+/g,""))||void 0===a?void 0:a.replace(Ml,((e,t,a)=>{var i;const n=null===(i=t.match(/data-href="([^"]*)"/im))||void 0===i?void 0:i[1];return!n||n===a||a.match(Vl)?a:n?`<a href="${n}">${a}</a>`:`<a href="${a}">${a}</a>`})).replace($l,((e,t,a)=>{if('="'!==t&&'data-url="true">'!==t){const e=a.toLowerCase(),t=`${e.startsWith("http")?"":" https://"}${e}`;return Zl({text:t,url:t,method:"edit"})}return e})).replace(Wl,((e,t,a)=>Zl({text:a||t,url:t,method:"edit"})))})(o));const l=(e=>{var t;return[...Yl(e),...(null===(t=e.match(Ml))||void 0===t?void 0:t.map((e=>{var t,a;const i=null===(t=e.match(/data-href="([^"]*)"/im))||void 0===t?void 0:t[1],n=null===(a=e.match(/>(.*?)<\/mocka>/im))||void 0===a?void 0:a[1];return i||n})))||[]].filter((e=>!!e))})(o);if(l){const e=[];let t="";return l.forEach((t=>{if(t)try{const a=new URL(t);ts.some((e=>a.origin.endsWith(e)))||e.push(t)}catch(a){e.push(t)}})),e.length>0&&(r=r.replace(new RegExp(`data-url="true">(${e.map(Kl).join("|")})<`,"gi"),'data-error="true" data-url="true">$1<').replace(new RegExp(`data-href="(${e.map(Kl).join("|")})" data-url="true">`,"gi"),'data-href="$1" data-error="true" data-url="true">')),t=null===(a=l.filter((t=>-1===e.indexOf(t))))||void 0===a?void 0:a[0],{invalidUrls:e,previewUrl:t,value:is(r,n)}}return{value:is(r,n)}},ms=({html:e,onChange:a,className:o,style:l,onImagePickerClick:c,bannedWords:p=[],onInvalidUrlsChange:m,onPreviewUrlChange:u,setEditorRef:g,isReplying:b})=>{var f,v,x,y;const w=s([]);w.current=p;const[E,k]=n([]),[C,A]=n(null),{data:{locale:S}}=h(Z),N=(null==p?void 0:p.join(","))||"";d((()=>{var e,t;const a=null===(t=null===(e=j.current)||void 0===e?void 0:e.getEditor())||void 0===t?void 0:t.root.innerHTML;I(a)}),[N]);const T=e=>{C&&C.url===e||(A({url:e,isFetching:!0}),L(ne(re.FETCH_PREVIEW,{_locale:S}),"POST",{data:{link:e}}).then((t=>{var a,i,n,o;A({title:null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.title,description:null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.description,image:(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.image)||(null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.logo),url:e})})).catch((()=>{A(null)})))},z=s(T);z.current=T;const I=r(We((e=>{if(e){const t=ps(e,{bannedWords:w.current,formatUrl:!0}),{invalidUrls:i,previewUrl:n,value:o}=t;i&&k(i),n?z.current(n):A(null),o!==e&&(null==a||a(o))}}),500),[]);d((()=>{m&&m(E)}),[E]),d((()=>{u&&((null==C?void 0:C.url)?u({title:C.title||"",url:C.url||"",image:C.image||"",description:C.description||""}):u(null))}),[C]);const B=s(c);B.current=c;const D=yt(),P=s({toolbar:{handlers:{image:()=>{var e;return null===(e=B.current)||void 0===e?void 0:e.call(B)},link:()=>!1},container:"#toolbar-"+D},preserveWhiteSpace:!0}),O=s(-1),j=s(null);g&&(null===(v=null===(f=j.current)||void 0===f?void 0:f.getEditor())||void 0===v?void 0:v.root)&&g(null===(y=null===(x=j.current)||void 0===x?void 0:x.getEditor())||void 0===y?void 0:y.root);const M=()=>{var e,t,a,i,n,o,r,l;if(null===(t=null===(e=j.current)||void 0===e?void 0:e.getEditor())||void 0===t?void 0:t.root){const e=ds(null===(i=null===(a=j.current)||void 0===a?void 0:a.getEditor())||void 0===i?void 0:i.root),t=null===(o=null===(n=j.current)||void 0===n?void 0:n.getEditor())||void 0===o?void 0:o.root.innerHTML;if(e>=0&&e<t.length){if(Ql(t,!0).length<30-(b?1:0)){const e=function(e){var t,a;let i=null;if(void 0!==window.getSelection){const n=window.getSelection();if((null==n?void 0:n.rangeCount)&&(null==n?void 0:n.rangeCount)>0){const n=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(n){const t=n.cloneRange();t.selectNodeContents(e),t.setEnd(n.endContainer,n.endOffset);const o=(t.endContainer.nodeValue||"").substring(0,n.endOffset),r=o.lastIndexOf("@");if(r+1<o.length&&(0===r||" @"===o.slice(r-1,r+1))){const e=null===(a=o.slice(r+1))||void 0===a?void 0:a.trim();if(e){t.setStart(n.endContainer,r);const a=t.cloneRange();a.setStart(a.endContainer,r),i={name:e,rect:t.getBoundingClientRect(),replaceRange:a}}}}}}return i}(null===(l=null===(r=j.current)||void 0===r?void 0:r.getEditor())||void 0===l?void 0:l.root);e?(U(e.name,e.rect),W.current=e.replaceRange):(W.current=null,U("",null))}else W.current=null,U("",null);O.current=e}}else R([])},[$,R]=n([]),[F,_]=n({top:0,left:0}),U=r(We(((e,a,i)=>t(void 0,void 0,void 0,(function*(){var t,n,o,r;if(!e||!DOMRect)return R([]);const l=yield((null===(t=Ze(G))||void 0===t?void 0:t.length)||0)>0?se(ne(re.SEARCH_USER,{_locale:S,name:e}),"get"):le(ne(oe.SEARCH_USER,{_locale:S,name:e}),"get");Y(0),R(null===(o=null===(n=null==l?void 0:l.data)||void 0===n?void 0:n.users)||void 0===o?void 0:o.filter((e=>!(null==i?void 0:i.includes(String(e.id))))));const s=a,d=null===(r=H.current)||void 0===r?void 0:r.getBoundingClientRect();if(s&&d){const e=343,t=256,a={top:s.bottom-d.top,width:"min(343px, 100%)",maxHeight:t};d.width-(s.left-d.left)<e?a.right=0:a.left=s.left-d.left,_(a)}}))),500),[]),V=(e,t)=>{var a,i,n;if(W.current){W.current.deleteContents();const o=document.createElement("mention");o.setAttribute("data-id",e),o.setAttribute("data-name",t),o.innerText=t;const r=document.createTextNode(" ");W.current.insertNode(r),W.current.insertNode(o);(null===(i=null===(a=j.current)||void 0===a?void 0:a.getEditor())||void 0===i?void 0:i.root).focus();const l=null===(n=window.getSelection())||void 0===n?void 0:n.getRangeAt(0);null==l||l.setStart(W.current.endContainer,W.current.endOffset),null==l||l.setEnd(W.current.endContainer,W.current.endOffset)}R([])},H=s(null),W=s(null),q=s(null),[X,Y]=n(0);return d((()=>{if(q.current){const e=q.current,t=e.children.item(X);if(t){const a=e.getBoundingClientRect(),i=t.getBoundingClientRect();t.offsetTop<e.scrollTop?e.scrollTop=t.offsetTop:t.offsetTop+i.height>e.scrollTop+a.height&&(e.scrollTop=t.offsetTop-a.height+i.height)}}}),[X]),d((()=>{const e=function(e){var t;(null===(t=H.current)||void 0===t?void 0:t.contains(e.target))||R([])};return window.addEventListener("click",e,{passive:!0}),()=>{window.removeEventListener("click",e)}}),[]),i.createElement(ls,{ref:H,className:o,style:l,onKeyDownCapture:e=>{if(null==$?void 0:$.length){let t=!1;if("ArrowDown"===e.key)t=!0,Y((e=>e+1>=$.length?0:e+1));else if("Escape"===e.key)t=!0,Y(0),R([]);else if("ArrowUp"===e.key)t=!0,Y((e=>e-1<0?$.length-1:e-1));else if("Enter"===e.key||"Tab"===e.key){const e=$[X];e&&(t=!0,V(e.id,e.name))}if(t)return e.preventDefault(),!1}}},i.createElement(us,{id:D,onAddLink:(e,t)=>{var i,n;const o=O.current+1,r=null===(n=null===(i=j.current)||void 0===i?void 0:i.getEditor())||void 0===n?void 0:n.root.innerHTML,l=((null==r?void 0:r.substring(0,o))||"")+`<mocka data-href="${t}" data-url="true">${e}</mocka> `+((null==r?void 0:r.substring(o))||"");null==a||a(l),I(l)}}),ss&&i.createElement(ss,{ref:j,theme:"snow",value:e,onChange:e=>{null==a||a(e),I(e),M()},onChangeSelection:()=>{M()},modules:P.current,formats:["mocka1","mention","id","key","bold","italic","underline","list","bullet"]}),!!(null==$?void 0:$.length)&&i.createElement("div",{ref:q,className:"mention-search-container",style:F},$.map(((e,t)=>i.createElement("div",{className:"mention-search-item "+(X===t?"item-selected":""),key:e.id,onClick:t=>{t.preventDefault(),t.stopPropagation(),V(e.id,e.name)},onMouseEnter:()=>{Y(t)}},i.createElement(Ge,{className:"search-avatar",username:e.name,avatar:e.avatar}),i.createElement("div",null,i.createElement(lt,{size:"p2"},e.name),i.createElement(lt,{size:"p4",color:"#595959"},"@",e.username)))))))},us=({onAddLink:e,id:t})=>i.createElement("div",{id:"toolbar-"+t,onClick:e=>{e.preventDefault(),e.stopPropagation()}},i.createElement("span",{className:"ql-formats"},i.createElement("button",{className:"ql-bold",type:"button"}),i.createElement("button",{className:"ql-italic",type:"button"}),i.createElement("button",{className:"ql-underline",type:"button"})),i.createElement("span",{className:"ql-formats"},i.createElement("button",{className:"ql-list",value:"ordered",type:"button"}),i.createElement("button",{className:"ql-list",value:"bullet",type:"button"})),i.createElement("span",{className:"ql-formats"},i.createElement("button",{className:"ql-image",type:"button"}),e&&i.createElement(Fr,{className:"link-tool-wrapper",toggleButtonContent:i.createElement("img",{className:"link-icon",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.54545 16H7.09091C6.55368 16 6.02172 15.8965 5.52539 15.6955C5.02905 15.4945 4.57808 15.1999 4.1982 14.8284C3.43101 14.0783 3 13.0609 3 12C3 10.9391 3.43101 9.92172 4.1982 9.17157C4.96539 8.42143 6.00593 8 7.09091 8H9.54545M13.9256 8H16.9091C17.4463 8 17.9783 8.10346 18.4746 8.30448C18.9709 8.5055 19.4219 8.80014 19.8018 9.17157C20.1817 9.54301 20.483 9.98396 20.6886 10.4693C20.8942 10.9546 21 11.4747 21 12C21 12.5253 20.8942 13.0454 20.6886 13.5307C20.483 14.016 20.1817 14.457 19.8018 14.8284C19.4219 15.1999 18.9709 15.4945 18.4746 15.6955C17.9783 15.8965 17.4463 16 16.9091 16H13.9256' stroke='%23737373' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M9 12H15' stroke='%23737373' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}),buttonProps:{size:"md",color:"transparent"},align:"end"},(({setShow:t})=>i.createElement(gs,{onAddUrl:e,setShow:t}))))),hs=["notification.limitUrlDomain","notification.urlWrongFormat"],gs=({onAddUrl:e,setShow:t})=>{const{data:{env:{isMarryBaby:a}}}=h(Z),{t:o}=ze(),[r,l]=n(""),[s,d]=n(""),[c,p]=n(-1),m=r.trim()&&s.trim()&&c<0;return i.createElement("div",{className:"link-tool-popover"},i.createElement(dt,{name:"url",value:r,size:"md",label:"URL",placeholder:o("placeholder.enterUrlHere"),type:"text",className:"link-input-url",onChange:e=>{l(e),(e=>{const t=as(e.trim());try{const e=new URL(t);return e.protocol.startsWith("http")?ts.some((t=>e.origin.endsWith("/"+t)||e.origin.endsWith("."+t)))?(p(-1),!0):(p(0),!1):(p(1),!1)}catch(e){return p(1),!1}})(e)}}),c>=0&&i.createElement(lt,{size:"c2",className:"error-text"},o(hs[c])),i.createElement(dt,{name:"text",value:s,size:"md",label:o("createPost.urlText"),placeholder:o("placeholder.enterUrlTextHere"),type:"text",className:"link-input-text",onChange:e=>d(e)}),i.createElement("div",{"data-is-marrybaby":a,className:"link-input-button-wrapper"},i.createElement(st,{theme:a?"marryBaby":"helloSites",size:"sm",color:"primary",className:"link-input-button",onClick:()=>{m&&(e(s.trim(),as(r.trim())),t&&t(!1))},isDisabled:!m},o("insert"))))},bs=$e.div`
5234
5234
  input:focus,
5235
5235
  textarea:focus,
5236
5236
  [contenteditable='true'] {
@@ -5555,7 +5555,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
5555
5555
  }
5556
5556
  }
5557
5557
 
5558
- ${e=>e.isExpand&&_e`
5558
+ ${e=>e.isExpand&&Fe`
5559
5559
  & > div[data-open] {
5560
5560
  width: 100%;
5561
5561
  height: 100%;
@@ -5564,7 +5564,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
5564
5564
  }
5565
5565
  `}
5566
5566
 
5567
- ${e=>e.hasFullscreen&&_e`
5567
+ ${e=>e.hasFullscreen&&Fe`
5568
5568
  & > div[data-open] {
5569
5569
  transition: all 0.5s ease-in-out, width 0s, height 0s;
5570
5570
  }
@@ -6240,7 +6240,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
6240
6240
  }
6241
6241
  }
6242
6242
  }
6243
- `,_s=$e.div`
6243
+ `,Fs=$e.div`
6244
6244
  position: fixed;
6245
6245
  z-index: 999;
6246
6246
  top: 0;
@@ -6283,7 +6283,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
6283
6283
  object-fit: cover;
6284
6284
  }
6285
6285
  }
6286
- `,Fs=$e((t=>{var{icon:a,bgColor:n=Te.colors.yellow50,highlightColor:o=Te.colors.yellow800,message:r}=t,l=e(t,["icon","bgColor","highlightColor","message"]);return i.createElement(Ls,Object.assign({bgColor:n,highlight:o},l),i.createElement(js,null,a&&i.createElement($s,null,a),i.createElement(Ms,{"data-has-icon":Boolean(a)},r)))}))`
6286
+ `,_s=$e((t=>{var{icon:a,bgColor:n=Te.colors.yellow50,highlightColor:o=Te.colors.yellow800,message:r}=t,l=e(t,["icon","bgColor","highlightColor","message"]);return i.createElement(Ls,Object.assign({bgColor:n,highlight:o},l),i.createElement(js,null,a&&i.createElement($s,null,a),i.createElement(Ms,{"data-has-icon":Boolean(a)},r)))}))`
6287
6287
  margin-bottom: 16px;
6288
6288
  `,Us=$e.div`
6289
6289
  position: fixed;
@@ -6453,7 +6453,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
6453
6453
  overflow: hidden;
6454
6454
  border-radius: 1rem;
6455
6455
  }
6456
- `;var Ks="PD6nRZX";const Js=({className:e,size:t="md"})=>{const{t:a}=ze();return i.createElement("div",{className:`${Ks} ${e}`},i.createElement(st,{size:t,color:"transparent",isLoading:!0},a("loading")))},ed=u({});var td="l5fL1xL",ad="L-aGKo7";const id=({children:e,className:t=""})=>i.createElement("div",{className:`${td} ${t}`},e),nd=({children:e,className:t=""})=>i.createElement("div",{className:`${ad} ${t}`},e);var od="eaR8ATZ",rd="xM-7K0a",ld="DZmf3s7";const sd=({src:e,defaultSrc:t=we.getAssetPath("logo/logomark.png"),ratio:a=1,size:n=80,radius:o=8,alt:r,className:l=""})=>i.createElement("div",{className:l},i.createElement("div",{className:ld,style:{width:`${n}px`,height:n*a+"px",borderRadius:`${o}px`}},i.createElement(ye,{src:e,backupSrc:t,alt:r}))),dd=({category:e,title:t,src:a,children:n,className:o=""})=>i.createElement("div",{className:`${od} ${o}`},i.createElement(sd,{src:a}),i.createElement("div",{className:rd},n||i.createElement("div",null,e&&i.createElement(id,null,e),t&&i.createElement(nd,null,t))));dd.CategoryText=id,dd.Title=nd;const cd=({featureImage:e,postTitle:t,author:a,categories:n,isReview:o,className:r=""})=>{var l;const s=o?"Medically reviewed by Jobelle Ann Dela Cruz Bigalbal, MD":"Written by Jobelle Ann Dela Cruz Bigalbal, MD";return i.createElement(dd,{src:e,className:r},i.createElement(i.Fragment,null,i.createElement(dd.CategoryText,null,null===(l=null==n?void 0:n[0])||void 0===l?void 0:l.name),i.createElement(dd.Title,null,t),i.createElement(nl,{avatarProps:Object.assign(Object.assign({},a),{size:32}),subTitle:i.createElement(i.Fragment,null,s,i.createElement(nl.SubDivider,null),"Dec 12, 2022")})))};var pd={container:"SFSgnOz",header:"Tf3aoVa",heading:"TOt4QXl",headingIcon:"_5XYN1KT",accBodyGroup:"yE-tZRj",accBodyGroupItem:"LXiGuGT",accBodyGroupDesc:"r4rx-6v",subTitle:"XrHh8-C",subIcon:"c5-Yecd",group:"UBj6nWr",groupBody:"_2vptVBd",articleCardLink:"ZPDAwiR",relatedList:"_6wJn-NR",socialItem:"_21XDdFv",mbChevronWrapper:"LSyr3Zo"};const md=({className:e=""})=>{var t,a,n,o,r;const{t:l}=ze(),{info:s,isMarryBaby:d,currentPageUrl:c}=h(ed),p=null==s?void 0:s.data,m=[{type:"linkedin",icon:we.getAssetPath("linkedin.svg"),url:null===(t=null==s?void 0:s.contact)||void 0===t?void 0:t.linkedin,eventAction:"Doctor Profile - Linkedin"},{type:"instagram",icon:we.getAssetPath("instagram.svg"),url:null===(a=null==s?void 0:s.contact)||void 0===a?void 0:a.instagram,eventAction:"Doctor Profile - Instagram"},{type:"facebook",icon:we.getAssetPath("facebook.svg"),url:null===(n=null==s?void 0:s.contact)||void 0===n?void 0:n.facebook,eventAction:"Doctor Profile - Facebook"},{type:"youtube",icon:we.getAssetPath("youtube.svg"),url:null===(o=null==s?void 0:s.contact)||void 0===o?void 0:o.youtube,eventAction:"Doctor Profile - Youtube"},{type:"tiktok",icon:we.getAssetPath("tiktok.svg"),url:null===(r=null==s?void 0:s.contact)||void 0===r?void 0:r.tiktok,eventAction:"Doctor Profile - TikTok"}],u=[...((null==s?void 0:s.experiences)||[]).length>0?[{key:"experience",heading:l("profilePanel.experience"),iconSrc:we.getAssetPath(d?"award-doc-mb.svg":"award-doc.svg"),eventAction:"Doctor Experience Click",panel:i.createElement("div",{className:pd.accBodyGroup},null==s?void 0:s.experiences.map(((e,t)=>i.createElement("div",{className:pd.accBodyGroupItem,key:String(t)},i.createElement("div",{className:pd.accBodyGroupTitle},e.title),i.createElement("div",{className:pd.accBodyGroupDesc},i.createElement("p",null,e.organization),i.createElement("p",null,e.duration))))))}]:[],...((null==s?void 0:s.educations)||[]).length>0?[{key:"education",heading:l("profilePanel.education"),iconSrc:we.getAssetPath(d?"book-mb.svg":"book.svg"),eventAction:"Doctor Degree Click",panel:i.createElement("div",{className:pd.accBodyGroup},null==s?void 0:s.educations.map(((e,t)=>i.createElement("div",{className:pd.accBodyGroupItem,key:String(t)},i.createElement("div",{className:pd.accBodyGroupTitle},e.schoolName),i.createElement("div",{className:pd.accBodyGroupDesc},i.createElement("p",null,e.study),i.createElement("p",null,e.completedYear))))))}]:[],...((null==s?void 0:s.awards)||[]).length>0?[{key:"awards",heading:l("profilePanel.awards"),iconSrc:we.getAssetPath(d?"award-mb.svg":"award.svg"),eventAction:"Doctor Award Click",panel:i.createElement("div",{className:pd.accBodyGroup},null==s?void 0:s.awards.map(((e,t)=>i.createElement("div",{className:pd.accBodyGroupTitle,key:t},e.title))))}]:[]],g=(null==s?void 0:s.relatedPosts)||[],b=m.filter((e=>e.url));return i.createElement("div",{className:`${pd.container} ${e}`,"data-is-marrybaby":d},u.length>0&&i.createElement(k,{defaultValue:u[0].key,chevron:d?i.createElement("div",{className:pd.mbChevronWrapper},i.createElement(Ae,{size:12,color:Te.mbColors.midGray})):i.createElement(Ae,{color:Te.colors.gray400}),styles:{chevron:{"&[data-rotate]":{".minus-path":{display:"block"},".plus-path":{display:"none"}}},content:{display:"flex",flexDirection:"column",gap:"16px",padding:"0"},item:{border:0},control:{paddingLeft:0,"&:hover":{background:"transparent"},"*":{pointerEvents:"none"}}}},u.map((e=>i.createElement(k.Item,{key:e.key,value:e.key},i.createElement(k.Control,{"data-event-category":"Together","data-event-action":e.eventAction,"data-event-label":c},i.createElement("div",{className:pd.header},i.createElement("div",{className:pd.headingIcon},i.createElement("img",{src:e.iconSrc,loading:"lazy"})),i.createElement("div",{className:pd.heading},e.heading))),i.createElement(k.Panel,null,e.panel))))),g.length>0&&i.createElement("div",{className:pd.group},i.createElement("div",{className:pd.subTitle},i.createElement("img",{className:pd.subIcon,src:we.getAssetPath(d?"mb-logo.svg":"logo/circle-solid.svg"),loading:"lazy"}),l("profilePanel.publishedArticles")),i.createElement("div",{className:`${pd.relatedList}`},null==s?void 0:s.relatedPosts.map((e=>i.createElement("a",{key:String(e.id),href:`${window.location.origin}${null==e?void 0:e.permalink}`,className:pd.articleCardLink},i.createElement(cd,Object.assign({className:"article-card"},Object.assign(Object.assign({},e),!e.author&&{author:{displayName:null==p?void 0:p.name,avatar:null==p?void 0:p.avatar}}),{isReview:!0}))))))),b.length>0&&i.createElement("div",{className:pd.group},i.createElement("div",{className:pd.subTitle},i.createElement("img",{className:pd.subIcon,src:we.getAssetPath(d?"social-mb.svg":"social.svg"),loading:"lazy"}),l("profilePanel.socialLinks")),i.createElement("div",{className:pd.groupBody},i.createElement(v,null,m.map(((e,t)=>e.url&&i.createElement("div",{className:pd.socialItem,key:t},i.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer"},i.createElement("img",{src:e.icon,loading:"lazy",width:"32px","data-event-category":"Together","data-event-action":e.eventAction,"data-event-label":c})))))))))};var ud={container:"GYUElSy",question:"_3C6QpT1",questionTitle:"_9M9VYL6",community:"_1RuSyv3",questionCard:"_1IG-eEp"};const hd=({post:e,className:t=""})=>{var a,n,o,r,l,s,d,c;const{t:p}=ze(),{data:{userInfo:m,env:{togetherBasePath:u}}}=h(Z),{authActionWrapper:g,authorProps:b,currentPageUrl:f}=h(ed),v=`${window.location.origin}${u}/${null===(a=null==e?void 0:e.community)||void 0===a?void 0:a.slug}/${null==e?void 0:e.slug}/`;return i.createElement("div",{className:`${ud.container} ${t}`},i.createElement("div",{className:ud.header},i.createElement("div",{className:ud.question},p("profilePanel.question")," ",i.createElement(de,{className:ud.questionTitle,href:"#",onClick:()=>{(null==m?void 0:m.id)||null==g||g((()=>window.location.href=v))}},"#",null==e?void 0:e.title)),i.createElement("div",{className:ud.community},null===(n=null==e?void 0:e.community)||void 0===n?void 0:n.name," - ",null==e?void 0:e.createdTime)),i.createElement("div",{className:ud.questionCard},i.createElement(Pl,Object.assign({className:"card-author"},b,{role:"user",avatarIcon:i.createElement(Wr,null),subLine:i.createElement(Pl.SubTextRow,null,i.createElement(Pl.SubText,null,null===(l=null===(r=null===(o=null==e?void 0:e.expertAnswer)||void 0===o?void 0:o.answer)||void 0===r?void 0:r[0])||void 0===l?void 0:l.createdTime))})),i.createElement(Os,{className:"post-content-wrapper",description:(null===(c=null===(d=null===(s=null==e?void 0:e.expertAnswer)||void 0===s?void 0:s.answer)||void 0===d?void 0:d[0])||void 0===c?void 0:c.content)||"",mentions:null==e?void 0:e.mentions,"data-testid":"Content of the Post"})),i.createElement(M,{variant:"secondary","data-event-category":"Together","data-event-action":"Doctor Reply Click","data-event-label":f,size:"md",onClick:()=>{(null==m?void 0:m.id)?window.location.href=v:null==g||g((()=>window.location.href=v))}},p("profilePanel.anserwing.viewFull")))};var gd="MrdoES3",bd="_8fd7YMs",fd="DomiQfw",vd="-b2qnfL";const xd=({message:e,buttonTxt:t,imgSrc:a,onBtnClick:n})=>{const{siteType:o,isMarryBaby:r}=h(ed);return i.createElement("div",{className:bd},i.createElement("div",{className:fd},i.createElement("img",{src:a||we.getAssetPath(r?"comments-mb.svg":"comments.svg"),loading:"lazy"})),e&&i.createElement("div",{className:vd},e),t&&i.createElement(st,{size:"md",theme:o,color:"secondary",onClick:n},t))},yd=({id:e})=>{const{t:a}=ze(),{data:{locale:o}}=h(Z),{authorProps:r}=h(ed),[l,s]=n(null),[c,p]=n(!1);return d((()=>{e&&t(void 0,void 0,void 0,(function*(){var t;p(!0);const a=yield L(ne(re.USER.LIST_ANSWERS,{_locale:o,id:e}),"GET"),i=((null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.replies)||[]).map(Ye);s(i),p(!1)}))}),[]),i.createElement("div",{className:gd},c?i.createElement(Js,null):null!==l&&(l.length>0?l.map((e=>i.createElement(hd,{className:"post-card",key:e.id,post:e}))):i.createElement(xd,{message:a("profilePanel.emptyPostMess.content",{name:(null==r?void 0:r.name)||(null==r?void 0:r.username)})})))};var wd="toEutn7",Ed="drdisHs";const kd=t=>{var a,n,o,r,{post:l}=t,s=e(t,["post"]);const{data:{env:{togetherBasePath:d}}}=h(Z);return i.createElement(i.Fragment,null,i.createElement("div",Object.assign({},s,{className:`${wd} ${(null==s?void 0:s.className)||""}`}),i.createElement(Pl,{className:"card-author",avatar:null===(a=null==l?void 0:l.author)||void 0===a?void 0:a.avatar,name:(null===(n=null==l?void 0:l.author)||void 0===n?void 0:n.name)||(null===(o=null==l?void 0:l.author)||void 0===o?void 0:o.username),isAnonymous:Boolean(null==l?void 0:l.isAnonymous),subLine:i.createElement(Pl.SubTextRow,null,i.createElement(Pl.SubText,null,null==l?void 0:l.createdTime))}),i.createElement(de,{href:`${window.location.origin}${d}/${null===(r=null==l?void 0:l.community)||void 0===r?void 0:r.slug}/${null==l?void 0:l.slug}/`,className:Ed,rel:"noreferrer"},null==l?void 0:l.title)))};var Cd={accordion:"I-uIJ6E",header:"_41WRsj2",heading:"AcOGL93",headingIcon:"JD3dWJN",panel:"dKAgnS8",chevron:"L2Q9T6m",container:"h-pSmhX"};const Ad=()=>{var e,a;const{t:o}=ze(),{data:{locale:r,userInfo:l}}=h(Z),{onSkipQuestion:s,countValues:c,setCountValues:p}=h(ed),[m,u]=n(),[g,b]=n([]),[f,v]=n(!1),x=null==l?void 0:l.id;d((()=>{x&&t(void 0,void 0,void 0,(function*(){var e;v(!0);const t=yield se(ne(re.USER.LIST_QUESTION_NEED_REPLY,{_locale:r}),"GET"),a=[],i=Object.create({});((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.communities)||[]).filter((e=>((null==e?void 0:e.question)||[]).length>0)).map((e=>{i[e.id]=e.question.map(Ye),delete e.question,a.push(Qe(e))})),b(a),u(i),v(!1)}))}),[]);const y=({id:e,communityId:t})=>{if(e&&t&&m){const a=Object.assign(Object.assign({},m),{[t]:[...((null==m?void 0:m[t])||[]).filter((t=>t.id!==e))]});let i=0;Object.keys(a).map((e=>i+=a[e].length||0)),u(a),p(Object.assign(Object.assign({},c),{total_question:i})),null==s||s(i)}};return i.createElement("div",{className:Cd.container},f?i.createElement(Js,null):(null==c?void 0:c.total_question)>0?g.length>0&&i.createElement(k,{className:Cd.accordion,defaultValue:String((null===(a=g[null===(e=Object.keys(g))||void 0===e?void 0:e[0]])||void 0===a?void 0:a.id)||""),styles:e=>({control:{padding:"16px",border:`1px solid ${e.colors.neutral[1]}`,borderTopLeftRadius:"8px",borderTopRightRadius:"8px",'&[aria-expanded="false"]':{borderBottom:0}},chevron:{width:"32px",height:"32px"},content:{padding:0,border:`1px solid ${e.colors.neutral[1]}`,borderTop:0,borderBottom:0},label:{padding:0},item:{marginBottom:"16px"}}),chevron:i.createElement("div",{className:Cd.chevron},i.createElement(ce,{color:Te.colors.gray600,size:20}))},g.map((e=>{const t=m&&(null==m?void 0:m[e.id])||[];return t.length>0&&i.createElement(k.Item,{key:e.id,value:String(e.id)},i.createElement(k.Control,null,i.createElement("div",{className:Cd.header},i.createElement("div",{className:Cd.headingIcon},i.createElement("img",{src:e.thumbnail,loading:"lazy"})),i.createElement("div",{className:Cd.heading},e.name))),i.createElement(k.Panel,null,i.createElement("div",{className:Cd.body},t.map((e=>i.createElement(kd,{className:"question-card",key:e.id,post:e,onSkip:y}))))))}))):i.createElement(xd,{message:o("profilePanel.emptyCareMess.content"),imgSrc:we.getAssetPath("questions.svg")}))};var Sd="GA-zc-O",Nd="A18McWD",Td="IB049vj",zd="_8I--vEV";const Id=({post:e,className:t=""})=>{var a;const{data:{userInfo:n,env:{togetherBasePath:o}}}=h(Z),{t:r}=ze(),l=b(),{authActionWrapper:s,authorProps:d}=h(ed),c=`${window.location.origin}${o}/${null===(a=null==e?void 0:e.community)||void 0===a?void 0:a.slug}/${null==e?void 0:e.slug}/`;return i.createElement("div",{className:`${Sd} ${t}`},i.createElement("div",{className:Td},i.createElement("a",{"data-event-category":"Together","data-event-action":"Click Post","data-event-label":c,className:zd,href:c,onClick:e=>{(null==n?void 0:n.id)||(e.preventDefault(),null==s||s((()=>window.location.href=c)))}}),i.createElement(nl,{className:"card-author",avatarProps:{avatar:null==d?void 0:d.avatar,size:32}},i.createElement(Pl.MainText,{className:Nd},null==e?void 0:e.title),i.createElement(Pl.SubTextRow,null,i.createElement(Pl.SubText,null,null==e?void 0:e.createdTime))),i.createElement(Os,{className:"post-content-wrapper",description:null==e?void 0:e.description,mentions:null==e?void 0:e.mentions,maxChars:200,"data-testid":"Content of the Post",hideShowAllBtn:!0}),i.createElement(V,{size:"p3",color:l.fn.primaryColor()},r("post.seeMore"))))};var Bd="TSMHoEM";const Dd=()=>{const{t:e}=ze(),{data:{locale:a}}=h(Z),{authorId:o,authorProps:r,isAuthorLogin:l,onCloseFromPost:s}=h(ed),[c,p]=n(null),[m,u]=n(!1);return d((()=>{o&&t(void 0,void 0,void 0,(function*(){var e;u(!0);const t=yield L(ne(re.USER.LIST_POST,{_locale:a,id:o,isAnonymous:0}),"GET"),i=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.posts)||[]).map(Ye);p(i),u(!1)}))}),[o]),i.createElement("div",{className:Bd},m?i.createElement(Js,null):null!==c&&(c.length>0?c.map((e=>i.createElement(Id,{className:"post-card",key:e.id,post:e}))):i.createElement(xd,{message:e("profilePanel.emptyPostMess.content",{name:(null==r?void 0:r.name)||(null==r?void 0:r.username)||""}),buttonTxt:l&&e("profilePanel.createPost"),onBtnClick:()=>{null==s||s()}})))};var Pd="_4Vekw96",Od="DIJdGcB",Ld="aQSt4-Q";const jd=e=>e?{title:null==e?void 0:e.title,organization:null==e?void 0:e.organization,duration:e.duration}:{},Md=e=>e?{completedYear:null==e?void 0:e.completed_year,schoolName:e.school_name,study:e.study}:{};var $d,Rd;!function(e){e[e.About=0]="About",e[e.Care=1]="Care",e[e.Answer=2]="Answer",e[e.Posts=3]="Posts"}($d||($d={})),function(e){e[e.Expert=0]="Expert",e[e.User=1]="User"}(Rd||(Rd={}));const _d=a=>{var o,{authorProps:r,selectedTab:l,authActionWrapper:s,onSkipQuestion:c,onCloseFromPost:p,hideQuestionTab:m,hideAnswerTab:u,showSkipQuestionTag:g,rolesToShowQuestionsTab:b=["expert"],currentPageUrl:f}=a,v=e(a,["authorProps","selectedTab","authActionWrapper","onSkipQuestion","onCloseFromPost","hideQuestionTab","hideAnswerTab","showSkipQuestionTag","rolesToShowQuestionsTab","currentPageUrl"]);const{data:{locale:x,userInfo:y,env:{isMarryBaby:w}}}=h(Z),{t:E}=ze(),k=null==r?void 0:r.role,C=null==y?void 0:y.role,A=String(null==r?void 0:r.userId),[S,N]=n(),[T,z]=n(!1),[I,B]=n(),D=(null==y?void 0:y._togetherUserId)===(null==r?void 0:r.userId),P=[...-1!==b.indexOf(k)?[{value:$d.About,text:E("profilePanel.tabs.highlight"),content:i.createElement(md,{id:A,info:I}),dataEventCategory:"Together",dataEventAction:"Doctor Profile Click",dataEventLabel:f}]:[],{value:$d.Posts,text:E("profilePanel.tabs.posts"),content:i.createElement(Dd,null),hasCountResult:!0,keyOfCountApi:"post",keyOfResult:"total_post"},...m||-1===b.indexOf(C)||(null==y?void 0:y._togetherUserId)!==(null==r?void 0:r.userId)?[]:[{value:$d.Care,text:`${E("profilePanel.tabs.care")}`,content:i.createElement(Ad,null),hasCountResult:!0,keyOfCountApi:"question",keyOfResult:"total_question",dataEventCategory:"Together",dataEventAction:"Doctor Questions Click",dataEventLabel:f}],...u||-1===b.indexOf(k)?[]:[{value:$d.Answer,text:`${E("profilePanel.tabs.expertAnswer")}`,content:i.createElement(yd,{id:A}),hasCountResult:!0,keyOfCountApi:"reply",keyOfResult:"total_reply",dataEventCategory:"Together",dataEventAction:"Doctor Reply Tab Click",dataEventLabel:f}]],[O,j]=n(null),[M,$]=n(null),R={value:String(M),dataList:O,onTabChange:e=>$(Number(e))},_=null==P?void 0:P.filter((e=>null==e?void 0:e.hasCountResult));d((()=>{t(void 0,void 0,void 0,(function*(){var e,t,a,i,n,o,r,s,d,c;z(!0);const p=yield Promise.all([L(ne(re.USER.DETAIL,{_locale:x,id:A}),"GET"),..._.map((e=>L(ne(re.USER.COUNT_TABS,{_locale:x,id:A,[e.keyOfCountApi]:1}),"GET")))]),[m]=p,u={data:null==m?void 0:m.data,experiences:((null===(t=null===(e=null==m?void 0:m.data)||void 0===e?void 0:e.fields)||void 0===t?void 0:t.experiences)||[]).map(jd),relatedPosts:((null===(a=null==m?void 0:m.data)||void 0===a?void 0:a.related_post)||[]).map((e=>Ke(e.post))),educations:((null===(n=null===(i=null==m?void 0:m.data)||void 0===i?void 0:i.fields)||void 0===n?void 0:n.educations)||[]).map(Md),awards:(null===(r=null===(o=null==m?void 0:m.data)||void 0===o?void 0:o.fields)||void 0===r?void 0:r.awards_accreditations)||[],contact:(null===(d=null===(s=null==m?void 0:m.data)||void 0===s?void 0:s.fields)||void 0===d?void 0:d.contact)||{}};1===(null==m?void 0:m.status)&&B(u);const h=(null==u?void 0:u.relatedPosts)||[],g=Object.keys(u.contact).map((e=>{var t;return""!==(null===(t=null==u?void 0:u.contact)||void 0===t?void 0:t[e])})),b=[...(null==u?void 0:u.experiences)||[],...(null==u?void 0:u.educations)||[],...(null==u?void 0:u.awards)||[]],f=h.length>0||g.length>0||b.length>0,v={},y=_.map(((e,t)=>{var a,i,n;const o=(null===(n=null===(i=null===(a=p[t+1])||void 0===a?void 0:a.data)||void 0===i?void 0:i.counting)||void 0===n?void 0:n[e.keyOfResult])||0;return o>0?(v[e.keyOfResult]=o,e):-1!==[$d.Care,$d.Posts].indexOf(e.value)?e:void 0})).filter(Boolean).map((e=>e.value)),w=P.map((e=>{const t=Object.assign(Object.assign({},e),{text:e.text+(e.keyOfResult?` (${(null==v?void 0:v[e.keyOfResult])||"0"})`:"")});return t.hasCountResult?-1!==y.indexOf(t.value)?t:void 0:t.value===$d.About?f&&t:t})).filter(Boolean);j(w),$(l||(null===(c=null==w?void 0:w[0])||void 0===c?void 0:c.value)),N(v),z(!1)}))}),[]);const F=null==I?void 0:I.data;return i.createElement(ed.Provider,{value:{isMarryBaby:w,siteType:w?"marryBaby":"helloSites",authorId:String((null==r?void 0:r.userId)||""),authActionWrapper:s,onSkipQuestion:c,info:I,authorProps:r,onCloseFromPost:p,countValues:S,setCountValues:N,isAuthorLogin:D,showSkipQuestionTag:g,currentPageUrl:f}},i.createElement("div",Object.assign({},v,{className:`${Pd} ${(null==v?void 0:v.className)||""}`,"data-is-marrybaby":w}),T?i.createElement(Js,null):i.createElement(i.Fragment,null,i.createElement(Pl,Object.assign({},r,{className:"card-author",showDetailPopup:!1,subLine:"expert"===(null==r?void 0:r.role)?(null==F?void 0:F.specialty)&&(null==F?void 0:F.organisation)&&i.createElement(Pl.SubTextRow,null,(null==F?void 0:F.specialty)&&i.createElement(i.Fragment,null,i.createElement(Pl.SubText,null,null==F?void 0:F.specialty),i.createElement(Pl.SubDivider,null)),i.createElement(Pl.SubText,null,null==F?void 0:F.organisation)):(null==F?void 0:F.created_at)&&i.createElement(Pl.SubTextRow,null,i.createElement(Pl.SubText,null,E("profilePanel.joined")," ",Me(null==F?void 0:F.created_at).toNow(!0)))})),"expert"===k&&i.createElement("div",{className:Od,dangerouslySetInnerHTML:{__html:null===(o=null==I?void 0:I.data)||void 0===o?void 0:o.description}}),null!==O&&null!==M&&(O.length>0?i.createElement("div",{className:Ld},i.createElement(pe,Object.assign({},R))):i.createElement(xd,{message:E("profilePanel.emptyPostMess.content",{text:(null==r?void 0:r.name)||(null==r?void 0:r.username)||""})})))))};var Fd=Object.freeze({__proto__:null,get TabName(){return $d},get UserType(){return Rd},TabDataInit:{experiences:[],relatedPosts:[],educations:[],awards:[],contact:{},data:{}},ProfileDetail:_d});const Ud=$e.div`
6456
+ `;var Ks="PD6nRZX";const Js=({className:e,size:t="md"})=>{const{t:a}=ze();return i.createElement("div",{className:`${Ks} ${e}`},i.createElement(st,{size:t,color:"transparent",isLoading:!0},a("loading")))},ed=u({});var td="l5fL1xL",ad="L-aGKo7";const id=({children:e,className:t=""})=>i.createElement("div",{className:`${td} ${t}`},e),nd=({children:e,className:t=""})=>i.createElement("div",{className:`${ad} ${t}`},e);var od="eaR8ATZ",rd="xM-7K0a",ld="DZmf3s7";const sd=({src:e,defaultSrc:t=we.getAssetPath("logo/logomark.png"),ratio:a=1,size:n=80,radius:o=8,alt:r,className:l=""})=>i.createElement("div",{className:l},i.createElement("div",{className:ld,style:{width:`${n}px`,height:n*a+"px",borderRadius:`${o}px`}},i.createElement(ye,{src:e,backupSrc:t,alt:r}))),dd=({category:e,title:t,src:a,children:n,className:o=""})=>i.createElement("div",{className:`${od} ${o}`},i.createElement(sd,{src:a}),i.createElement("div",{className:rd},n||i.createElement("div",null,e&&i.createElement(id,null,e),t&&i.createElement(nd,null,t))));dd.CategoryText=id,dd.Title=nd;const cd=({featureImage:e,postTitle:t,author:a,categories:n,isReview:o,className:r=""})=>{var l;const s=o?"Medically reviewed by Jobelle Ann Dela Cruz Bigalbal, MD":"Written by Jobelle Ann Dela Cruz Bigalbal, MD";return i.createElement(dd,{src:e,className:r},i.createElement(i.Fragment,null,i.createElement(dd.CategoryText,null,null===(l=null==n?void 0:n[0])||void 0===l?void 0:l.name),i.createElement(dd.Title,null,t),i.createElement(nl,{avatarProps:Object.assign(Object.assign({},a),{size:32}),subTitle:i.createElement(i.Fragment,null,s,i.createElement(nl.SubDivider,null),"Dec 12, 2022")})))};var pd={container:"SFSgnOz",header:"Tf3aoVa",heading:"TOt4QXl",headingIcon:"_5XYN1KT",accBodyGroup:"yE-tZRj",accBodyGroupItem:"LXiGuGT",accBodyGroupDesc:"r4rx-6v",subTitle:"XrHh8-C",subIcon:"c5-Yecd",group:"UBj6nWr",groupBody:"_2vptVBd",articleCardLink:"ZPDAwiR",relatedList:"_6wJn-NR",socialItem:"_21XDdFv",mbChevronWrapper:"LSyr3Zo"};const md=({className:e=""})=>{var t,a,n,o,r;const{t:l}=ze(),{info:s,isMarryBaby:d,currentPageUrl:c}=h(ed),p=null==s?void 0:s.data,m=[{type:"linkedin",icon:we.getAssetPath("linkedin.svg"),url:null===(t=null==s?void 0:s.contact)||void 0===t?void 0:t.linkedin,eventAction:"Doctor Profile - Linkedin"},{type:"instagram",icon:we.getAssetPath("instagram.svg"),url:null===(a=null==s?void 0:s.contact)||void 0===a?void 0:a.instagram,eventAction:"Doctor Profile - Instagram"},{type:"facebook",icon:we.getAssetPath("facebook.svg"),url:null===(n=null==s?void 0:s.contact)||void 0===n?void 0:n.facebook,eventAction:"Doctor Profile - Facebook"},{type:"youtube",icon:we.getAssetPath("youtube.svg"),url:null===(o=null==s?void 0:s.contact)||void 0===o?void 0:o.youtube,eventAction:"Doctor Profile - Youtube"},{type:"tiktok",icon:we.getAssetPath("tiktok.svg"),url:null===(r=null==s?void 0:s.contact)||void 0===r?void 0:r.tiktok,eventAction:"Doctor Profile - TikTok"}],u=[...((null==s?void 0:s.experiences)||[]).length>0?[{key:"experience",heading:l("profilePanel.experience"),iconSrc:we.getAssetPath(d?"award-doc-mb.svg":"award-doc.svg"),eventAction:"Doctor Experience Click",panel:i.createElement("div",{className:pd.accBodyGroup},null==s?void 0:s.experiences.map(((e,t)=>i.createElement("div",{className:pd.accBodyGroupItem,key:String(t)},i.createElement("div",{className:pd.accBodyGroupTitle},e.title),i.createElement("div",{className:pd.accBodyGroupDesc},i.createElement("p",null,e.organization),i.createElement("p",null,e.duration))))))}]:[],...((null==s?void 0:s.educations)||[]).length>0?[{key:"education",heading:l("profilePanel.education"),iconSrc:we.getAssetPath(d?"book-mb.svg":"book.svg"),eventAction:"Doctor Degree Click",panel:i.createElement("div",{className:pd.accBodyGroup},null==s?void 0:s.educations.map(((e,t)=>i.createElement("div",{className:pd.accBodyGroupItem,key:String(t)},i.createElement("div",{className:pd.accBodyGroupTitle},e.schoolName),i.createElement("div",{className:pd.accBodyGroupDesc},i.createElement("p",null,e.study),i.createElement("p",null,e.completedYear))))))}]:[],...((null==s?void 0:s.awards)||[]).length>0?[{key:"awards",heading:l("profilePanel.awards"),iconSrc:we.getAssetPath(d?"award-mb.svg":"award.svg"),eventAction:"Doctor Award Click",panel:i.createElement("div",{className:pd.accBodyGroup},null==s?void 0:s.awards.map(((e,t)=>i.createElement("div",{className:pd.accBodyGroupTitle,key:t},e.title))))}]:[]],g=(null==s?void 0:s.relatedPosts)||[],b=m.filter((e=>e.url));return i.createElement("div",{className:`${pd.container} ${e}`,"data-is-marrybaby":d},u.length>0&&i.createElement(k,{defaultValue:u[0].key,chevron:d?i.createElement("div",{className:pd.mbChevronWrapper},i.createElement(Ae,{size:12,color:Te.mbColors.midGray})):i.createElement(Ae,{color:Te.colors.gray400}),styles:{chevron:{"&[data-rotate]":{".minus-path":{display:"block"},".plus-path":{display:"none"}}},content:{display:"flex",flexDirection:"column",gap:"16px",padding:"0"},item:{border:0},control:{paddingLeft:0,"&:hover":{background:"transparent"},"*":{pointerEvents:"none"}}}},u.map((e=>i.createElement(k.Item,{key:e.key,value:e.key},i.createElement(k.Control,{"data-event-category":"Together","data-event-action":e.eventAction,"data-event-label":c},i.createElement("div",{className:pd.header},i.createElement("div",{className:pd.headingIcon},i.createElement("img",{src:e.iconSrc,loading:"lazy"})),i.createElement("div",{className:pd.heading},e.heading))),i.createElement(k.Panel,null,e.panel))))),g.length>0&&i.createElement("div",{className:pd.group},i.createElement("div",{className:pd.subTitle},i.createElement("img",{className:pd.subIcon,src:we.getAssetPath(d?"mb-logo.svg":"logo/circle-solid.svg"),loading:"lazy"}),l("profilePanel.publishedArticles")),i.createElement("div",{className:`${pd.relatedList}`},null==s?void 0:s.relatedPosts.map((e=>i.createElement("a",{key:String(e.id),href:`${window.location.origin}${null==e?void 0:e.permalink}`,className:pd.articleCardLink},i.createElement(cd,Object.assign({className:"article-card"},Object.assign(Object.assign({},e),!e.author&&{author:{displayName:null==p?void 0:p.name,avatar:null==p?void 0:p.avatar}}),{isReview:!0}))))))),b.length>0&&i.createElement("div",{className:pd.group},i.createElement("div",{className:pd.subTitle},i.createElement("img",{className:pd.subIcon,src:we.getAssetPath(d?"social-mb.svg":"social.svg"),loading:"lazy"}),l("profilePanel.socialLinks")),i.createElement("div",{className:pd.groupBody},i.createElement(v,null,m.map(((e,t)=>e.url&&i.createElement("div",{className:pd.socialItem,key:t},i.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer"},i.createElement("img",{src:e.icon,loading:"lazy",width:"32px","data-event-category":"Together","data-event-action":e.eventAction,"data-event-label":c})))))))))};var ud={container:"GYUElSy",question:"_3C6QpT1",questionTitle:"_9M9VYL6",community:"_1RuSyv3",questionCard:"_1IG-eEp"};const hd=({post:e,className:t=""})=>{var a,n,o,r,l,s,d,c;const{t:p}=ze(),{data:{userInfo:m,env:{togetherBasePath:u}}}=h(Z),{authActionWrapper:g,authorProps:b,currentPageUrl:f}=h(ed),v=`${window.location.origin}${u}/${null===(a=null==e?void 0:e.community)||void 0===a?void 0:a.slug}/${null==e?void 0:e.slug}/`;return i.createElement("div",{className:`${ud.container} ${t}`},i.createElement("div",{className:ud.header},i.createElement("div",{className:ud.question},p("profilePanel.question")," ",i.createElement(de,{className:ud.questionTitle,href:"#",onClick:()=>{(null==m?void 0:m.id)||null==g||g((()=>window.location.href=v))}},"#",null==e?void 0:e.title)),i.createElement("div",{className:ud.community},null===(n=null==e?void 0:e.community)||void 0===n?void 0:n.name," - ",null==e?void 0:e.createdTime)),i.createElement("div",{className:ud.questionCard},i.createElement(Pl,Object.assign({className:"card-author"},b,{role:"user",avatarIcon:i.createElement(Wr,null),subLine:i.createElement(Pl.SubTextRow,null,i.createElement(Pl.SubText,null,null===(l=null===(r=null===(o=null==e?void 0:e.expertAnswer)||void 0===o?void 0:o.answer)||void 0===r?void 0:r[0])||void 0===l?void 0:l.createdTime))})),i.createElement(Os,{className:"post-content-wrapper",description:(null===(c=null===(d=null===(s=null==e?void 0:e.expertAnswer)||void 0===s?void 0:s.answer)||void 0===d?void 0:d[0])||void 0===c?void 0:c.content)||"",mentions:null==e?void 0:e.mentions,"data-testid":"Content of the Post"})),i.createElement(M,{variant:"secondary","data-event-category":"Together","data-event-action":"Doctor Reply Click","data-event-label":f,size:"md",onClick:()=>{(null==m?void 0:m.id)?window.location.href=v:null==g||g((()=>window.location.href=v))}},p("profilePanel.anserwing.viewFull")))};var gd="MrdoES3",bd="_8fd7YMs",fd="DomiQfw",vd="-b2qnfL";const xd=({message:e,buttonTxt:t,imgSrc:a,onBtnClick:n})=>{const{siteType:o,isMarryBaby:r}=h(ed);return i.createElement("div",{className:bd},i.createElement("div",{className:fd},i.createElement("img",{src:a||we.getAssetPath(r?"comments-mb.svg":"comments.svg"),loading:"lazy"})),e&&i.createElement("div",{className:vd},e),t&&i.createElement(st,{size:"md",theme:o,color:"secondary",onClick:n},t))},yd=({id:e})=>{const{t:a}=ze(),{data:{locale:o}}=h(Z),{authorProps:r}=h(ed),[l,s]=n(null),[c,p]=n(!1);return d((()=>{e&&t(void 0,void 0,void 0,(function*(){var t;p(!0);const a=yield L(ne(re.USER.LIST_ANSWERS,{_locale:o,id:e}),"GET"),i=((null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.replies)||[]).map(Ye);s(i),p(!1)}))}),[]),i.createElement("div",{className:gd},c?i.createElement(Js,null):null!==l&&(l.length>0?l.map((e=>i.createElement(hd,{className:"post-card",key:e.id,post:e}))):i.createElement(xd,{message:a("profilePanel.emptyPostMess.content",{name:(null==r?void 0:r.name)||(null==r?void 0:r.username)})})))};var wd="toEutn7",Ed="drdisHs";const kd=t=>{var a,n,o,r,{post:l}=t,s=e(t,["post"]);const{data:{env:{togetherBasePath:d}}}=h(Z);return i.createElement(i.Fragment,null,i.createElement("div",Object.assign({},s,{className:`${wd} ${(null==s?void 0:s.className)||""}`}),i.createElement(Pl,{className:"card-author",avatar:null===(a=null==l?void 0:l.author)||void 0===a?void 0:a.avatar,name:(null===(n=null==l?void 0:l.author)||void 0===n?void 0:n.name)||(null===(o=null==l?void 0:l.author)||void 0===o?void 0:o.username),isAnonymous:Boolean(null==l?void 0:l.isAnonymous),subLine:i.createElement(Pl.SubTextRow,null,i.createElement(Pl.SubText,null,null==l?void 0:l.createdTime))}),i.createElement(de,{href:`${window.location.origin}${d}/${null===(r=null==l?void 0:l.community)||void 0===r?void 0:r.slug}/${null==l?void 0:l.slug}/`,className:Ed,rel:"noreferrer"},null==l?void 0:l.title)))};var Cd={accordion:"I-uIJ6E",header:"_41WRsj2",heading:"AcOGL93",headingIcon:"JD3dWJN",panel:"dKAgnS8",chevron:"L2Q9T6m",container:"h-pSmhX"};const Ad=()=>{var e,a;const{t:o}=ze(),{data:{locale:r,userInfo:l}}=h(Z),{onSkipQuestion:s,countValues:c,setCountValues:p}=h(ed),[m,u]=n(),[g,b]=n([]),[f,v]=n(!1),x=null==l?void 0:l.id;d((()=>{x&&t(void 0,void 0,void 0,(function*(){var e;v(!0);const t=yield se(ne(re.USER.LIST_QUESTION_NEED_REPLY,{_locale:r}),"GET"),a=[],i=Object.create({});((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.communities)||[]).filter((e=>((null==e?void 0:e.question)||[]).length>0)).map((e=>{i[e.id]=e.question.map(Ye),delete e.question,a.push(Qe(e))})),b(a),u(i),v(!1)}))}),[]);const y=({id:e,communityId:t})=>{if(e&&t&&m){const a=Object.assign(Object.assign({},m),{[t]:[...((null==m?void 0:m[t])||[]).filter((t=>t.id!==e))]});let i=0;Object.keys(a).map((e=>i+=a[e].length||0)),u(a),p(Object.assign(Object.assign({},c),{total_question:i})),null==s||s(i)}};return i.createElement("div",{className:Cd.container},f?i.createElement(Js,null):(null==c?void 0:c.total_question)>0?g.length>0&&i.createElement(k,{className:Cd.accordion,defaultValue:String((null===(a=g[null===(e=Object.keys(g))||void 0===e?void 0:e[0]])||void 0===a?void 0:a.id)||""),styles:e=>({control:{padding:"16px",border:`1px solid ${e.colors.neutral[1]}`,borderTopLeftRadius:"8px",borderTopRightRadius:"8px",'&[aria-expanded="false"]':{borderBottom:0}},chevron:{width:"32px",height:"32px"},content:{padding:0,border:`1px solid ${e.colors.neutral[1]}`,borderTop:0,borderBottom:0},label:{padding:0},item:{marginBottom:"16px"}}),chevron:i.createElement("div",{className:Cd.chevron},i.createElement(ce,{color:Te.colors.gray600,size:20}))},g.map((e=>{const t=m&&(null==m?void 0:m[e.id])||[];return t.length>0&&i.createElement(k.Item,{key:e.id,value:String(e.id)},i.createElement(k.Control,null,i.createElement("div",{className:Cd.header},i.createElement("div",{className:Cd.headingIcon},i.createElement("img",{src:e.thumbnail,loading:"lazy"})),i.createElement("div",{className:Cd.heading},e.name))),i.createElement(k.Panel,null,i.createElement("div",{className:Cd.body},t.map((e=>i.createElement(kd,{className:"question-card",key:e.id,post:e,onSkip:y}))))))}))):i.createElement(xd,{message:o("profilePanel.emptyCareMess.content"),imgSrc:we.getAssetPath("questions.svg")}))};var Sd="GA-zc-O",Nd="A18McWD",Td="IB049vj",zd="_8I--vEV";const Id=({post:e,className:t=""})=>{var a;const{data:{userInfo:n,env:{togetherBasePath:o}}}=h(Z),{t:r}=ze(),l=b(),{authActionWrapper:s,authorProps:d}=h(ed),c=`${window.location.origin}${o}/${null===(a=null==e?void 0:e.community)||void 0===a?void 0:a.slug}/${null==e?void 0:e.slug}/`;return i.createElement("div",{className:`${Sd} ${t}`},i.createElement("div",{className:Td},i.createElement("a",{"data-event-category":"Together","data-event-action":"Click Post","data-event-label":c,className:zd,href:c,onClick:e=>{(null==n?void 0:n.id)||(e.preventDefault(),null==s||s((()=>window.location.href=c)))}}),i.createElement(nl,{className:"card-author",avatarProps:{avatar:null==d?void 0:d.avatar,size:32}},i.createElement(Pl.MainText,{className:Nd},null==e?void 0:e.title),i.createElement(Pl.SubTextRow,null,i.createElement(Pl.SubText,null,null==e?void 0:e.createdTime))),i.createElement(Os,{className:"post-content-wrapper",description:null==e?void 0:e.description,mentions:null==e?void 0:e.mentions,maxChars:200,"data-testid":"Content of the Post",hideShowAllBtn:!0}),i.createElement(V,{size:"p3",color:l.fn.primaryColor()},r("post.seeMore"))))};var Bd="TSMHoEM";const Dd=()=>{const{t:e}=ze(),{data:{locale:a}}=h(Z),{authorId:o,authorProps:r,isAuthorLogin:l,onCloseFromPost:s}=h(ed),[c,p]=n(null),[m,u]=n(!1);return d((()=>{o&&t(void 0,void 0,void 0,(function*(){var e;u(!0);const t=yield L(ne(re.USER.LIST_POST,{_locale:a,id:o,isAnonymous:0}),"GET"),i=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.posts)||[]).map(Ye);p(i),u(!1)}))}),[o]),i.createElement("div",{className:Bd},m?i.createElement(Js,null):null!==c&&(c.length>0?c.map((e=>i.createElement(Id,{className:"post-card",key:e.id,post:e}))):i.createElement(xd,{message:e("profilePanel.emptyPostMess.content",{name:(null==r?void 0:r.name)||(null==r?void 0:r.username)||""}),buttonTxt:l&&e("profilePanel.createPost"),onBtnClick:()=>{null==s||s()}})))};var Pd="_4Vekw96",Od="DIJdGcB",Ld="aQSt4-Q";const jd=e=>e?{title:null==e?void 0:e.title,organization:null==e?void 0:e.organization,duration:e.duration}:{},Md=e=>e?{completedYear:null==e?void 0:e.completed_year,schoolName:e.school_name,study:e.study}:{};var $d,Rd;!function(e){e[e.About=0]="About",e[e.Care=1]="Care",e[e.Answer=2]="Answer",e[e.Posts=3]="Posts"}($d||($d={})),function(e){e[e.Expert=0]="Expert",e[e.User=1]="User"}(Rd||(Rd={}));const Fd=a=>{var o,{authorProps:r,selectedTab:l,authActionWrapper:s,onSkipQuestion:c,onCloseFromPost:p,hideQuestionTab:m,hideAnswerTab:u,showSkipQuestionTag:g,rolesToShowQuestionsTab:b=["expert"],currentPageUrl:f}=a,v=e(a,["authorProps","selectedTab","authActionWrapper","onSkipQuestion","onCloseFromPost","hideQuestionTab","hideAnswerTab","showSkipQuestionTag","rolesToShowQuestionsTab","currentPageUrl"]);const{data:{locale:x,userInfo:y,env:{isMarryBaby:w}}}=h(Z),{t:E}=ze(),k=null==r?void 0:r.role,C=null==y?void 0:y.role,A=String(null==r?void 0:r.userId),[S,N]=n(),[T,z]=n(!1),[I,B]=n(),D=(null==y?void 0:y._togetherUserId)===(null==r?void 0:r.userId),P=[...-1!==b.indexOf(k)?[{value:$d.About,text:E("profilePanel.tabs.highlight"),content:i.createElement(md,{id:A,info:I}),dataEventCategory:"Together",dataEventAction:"Doctor Profile Click",dataEventLabel:f}]:[],{value:$d.Posts,text:E("profilePanel.tabs.posts"),content:i.createElement(Dd,null),hasCountResult:!0,keyOfCountApi:"post",keyOfResult:"total_post"},...m||-1===b.indexOf(C)||(null==y?void 0:y._togetherUserId)!==(null==r?void 0:r.userId)?[]:[{value:$d.Care,text:`${E("profilePanel.tabs.care")}`,content:i.createElement(Ad,null),hasCountResult:!0,keyOfCountApi:"question",keyOfResult:"total_question",dataEventCategory:"Together",dataEventAction:"Doctor Questions Click",dataEventLabel:f}],...u||-1===b.indexOf(k)?[]:[{value:$d.Answer,text:`${E("profilePanel.tabs.expertAnswer")}`,content:i.createElement(yd,{id:A}),hasCountResult:!0,keyOfCountApi:"reply",keyOfResult:"total_reply",dataEventCategory:"Together",dataEventAction:"Doctor Reply Tab Click",dataEventLabel:f}]],[O,j]=n(null),[M,$]=n(null),R={value:String(M),dataList:O,onTabChange:e=>$(Number(e))},F=null==P?void 0:P.filter((e=>null==e?void 0:e.hasCountResult));d((()=>{t(void 0,void 0,void 0,(function*(){var e,t,a,i,n,o,r,s,d,c;z(!0);const p=yield Promise.all([L(ne(re.USER.DETAIL,{_locale:x,id:A}),"GET"),...F.map((e=>L(ne(re.USER.COUNT_TABS,{_locale:x,id:A,[e.keyOfCountApi]:1}),"GET")))]),[m]=p,u={data:null==m?void 0:m.data,experiences:((null===(t=null===(e=null==m?void 0:m.data)||void 0===e?void 0:e.fields)||void 0===t?void 0:t.experiences)||[]).map(jd),relatedPosts:((null===(a=null==m?void 0:m.data)||void 0===a?void 0:a.related_post)||[]).map((e=>Ke(e.post))),educations:((null===(n=null===(i=null==m?void 0:m.data)||void 0===i?void 0:i.fields)||void 0===n?void 0:n.educations)||[]).map(Md),awards:(null===(r=null===(o=null==m?void 0:m.data)||void 0===o?void 0:o.fields)||void 0===r?void 0:r.awards_accreditations)||[],contact:(null===(d=null===(s=null==m?void 0:m.data)||void 0===s?void 0:s.fields)||void 0===d?void 0:d.contact)||{}};1===(null==m?void 0:m.status)&&B(u);const h=(null==u?void 0:u.relatedPosts)||[],g=Object.keys(u.contact).map((e=>{var t;return""!==(null===(t=null==u?void 0:u.contact)||void 0===t?void 0:t[e])})),b=[...(null==u?void 0:u.experiences)||[],...(null==u?void 0:u.educations)||[],...(null==u?void 0:u.awards)||[]],f=h.length>0||g.length>0||b.length>0,v={},y=F.map(((e,t)=>{var a,i,n;const o=(null===(n=null===(i=null===(a=p[t+1])||void 0===a?void 0:a.data)||void 0===i?void 0:i.counting)||void 0===n?void 0:n[e.keyOfResult])||0;return o>0?(v[e.keyOfResult]=o,e):-1!==[$d.Care,$d.Posts].indexOf(e.value)?e:void 0})).filter(Boolean).map((e=>e.value)),w=P.map((e=>{const t=Object.assign(Object.assign({},e),{text:e.text+(e.keyOfResult?` (${(null==v?void 0:v[e.keyOfResult])||"0"})`:"")});return t.hasCountResult?-1!==y.indexOf(t.value)?t:void 0:t.value===$d.About?f&&t:t})).filter(Boolean);j(w),$(l||(null===(c=null==w?void 0:w[0])||void 0===c?void 0:c.value)),N(v),z(!1)}))}),[]);const _=null==I?void 0:I.data;return i.createElement(ed.Provider,{value:{isMarryBaby:w,siteType:w?"marryBaby":"helloSites",authorId:String((null==r?void 0:r.userId)||""),authActionWrapper:s,onSkipQuestion:c,info:I,authorProps:r,onCloseFromPost:p,countValues:S,setCountValues:N,isAuthorLogin:D,showSkipQuestionTag:g,currentPageUrl:f}},i.createElement("div",Object.assign({},v,{className:`${Pd} ${(null==v?void 0:v.className)||""}`,"data-is-marrybaby":w}),T?i.createElement(Js,null):i.createElement(i.Fragment,null,i.createElement(Pl,Object.assign({},r,{className:"card-author",showDetailPopup:!1,subLine:"expert"===(null==r?void 0:r.role)?(null==_?void 0:_.specialty)&&(null==_?void 0:_.organisation)&&i.createElement(Pl.SubTextRow,null,(null==_?void 0:_.specialty)&&i.createElement(i.Fragment,null,i.createElement(Pl.SubText,null,null==_?void 0:_.specialty),i.createElement(Pl.SubDivider,null)),i.createElement(Pl.SubText,null,null==_?void 0:_.organisation)):(null==_?void 0:_.created_at)&&i.createElement(Pl.SubTextRow,null,i.createElement(Pl.SubText,null,E("profilePanel.joined")," ",Me(null==_?void 0:_.created_at).toNow(!0)))})),"expert"===k&&i.createElement("div",{className:Od,dangerouslySetInnerHTML:{__html:null===(o=null==I?void 0:I.data)||void 0===o?void 0:o.description}}),null!==O&&null!==M&&(O.length>0?i.createElement("div",{className:Ld},i.createElement(pe,Object.assign({},R))):i.createElement(xd,{message:E("profilePanel.emptyPostMess.content",{text:(null==r?void 0:r.name)||(null==r?void 0:r.username)||""})})))))};var _d=Object.freeze({__proto__:null,get TabName(){return $d},get UserType(){return Rd},TabDataInit:{experiences:[],relatedPosts:[],educations:[],awards:[],contact:{},data:{}},ProfileDetail:Fd});const Ud=$e.div`
6457
6457
  position: relative;
6458
6458
  margin-bottom: 24px;
6459
6459
  background: white;
@@ -6684,7 +6684,7 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
6684
6684
  width: 100%;
6685
6685
  height: 100%;
6686
6686
  }
6687
- `,ec=({categories:e})=>{const{t:t}=ze(),{data:{locale:a,env:{isMarryBaby:n}}}=h(Z),o=Fe(a,n);return i.createElement(Gd,null,i.createElement(Xd,null,i.createElement($,{tag:"h6",as:"h5"},t("cardReply.recommentCategories.heading"))),i.createElement(Yd,null,e.map((e=>i.createElement(Qd,{href:o+e.permalink,key:String(e.termId),target:"_blank"},i.createElement(Kd,null,i.createElement(Jd,null,i.createElement("img",{src:e.featureImage||we.getAssetPath(n?"mb-logo.svg":"/logo/logomark.png"),alt:e.displayName,loading:"lazy"})),i.createElement(lt,{size:"s3",type:"bold"},e.displayName)),i.createElement(ke.ArrowRight,{size:20,color:Te.colors.gray400}))))))},tc=$e.a`
6687
+ `,ec=({categories:e})=>{const{t:t}=ze(),{data:{locale:a,env:{isMarryBaby:n}}}=h(Z),o=_e(a,n);return i.createElement(Gd,null,i.createElement(Xd,null,i.createElement($,{tag:"h6",as:"h5"},t("cardReply.recommentCategories.heading"))),i.createElement(Yd,null,e.map((e=>i.createElement(Qd,{href:o+e.permalink,key:String(e.termId),target:"_blank"},i.createElement(Kd,null,i.createElement(Jd,null,i.createElement("img",{src:e.featureImage||we.getAssetPath(n?"mb-logo.svg":"/logo/logomark.png"),alt:e.displayName,loading:"lazy"})),i.createElement(lt,{size:"s3",type:"bold"},e.displayName)),i.createElement(ke.ArrowRight,{size:20,color:Te.colors.gray400}))))))},tc=$e.a`
6688
6688
  padding: 12px 0;
6689
6689
  display: flex;
6690
6690
  flex-direction: column;
@@ -6894,4 +6894,4 @@ import{_ as e,a as t}from"./tslib.es6-6c588ee6.js";import*as a from"react";impor
6894
6894
  `,sc=$e(rc)`
6895
6895
  margin-top: 12px;
6896
6896
  padding: 0.5rem 1rem 1rem;
6897
- `;var dc;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(dc||(dc={}));const cc={DUE_DATE:dc.DUE_DATE,BMI:dc.BMI,BMR:dc.BMR,OVULATION:dc.OVULATION,IFRAME:dc.IFRAME,PWG:dc.PWG,THR:dc.THR,BABY_VACCINE:dc.BABY_VACCINE,BABY_GROWTH:dc.BABY_GROWTH,BABY_POOP:dc.BABY_POOP},pc={[cc.DUE_DATE]:we.getAssetPath("health-tools/due-date-icon.svg")};var mc,uc,hc,gc;!function(e){e.Pregnant="pregnant",e.Parenting="parenting"}(mc||(mc={})),function(e){e.Option="option"}(uc||(uc={})),function(e){e.Button="button",e.Checkbox="checkbox"}(hc||(hc={})),function(e){e.ShowTool="showTool",e.ShowPremiumModal="showPremiumModal",e.ShowOptionBanner="showOptionBanner",e.Hide="hide"}(gc||(gc={}));const bc=e=>({[cc.DUE_DATE]:{heading:e("pnBanner.dueDateTool.heading"),description:e("pnBanner.dueDateTool.desc"),btnLabel:e("pnBanner.caclNow"),value:cc.DUE_DATE},[cc.BABY_VACCINE]:{heading:e("pnBanner.vaccination.heading"),description:e("pnBanner.vaccination.desc"),btnLabel:e("pnBanner.caclNow"),value:cc.BABY_VACCINE},[cc.BABY_GROWTH]:{heading:"Baby Growth",description:e("pnBanner.vaccination.desc"),btnLabel:e("pnBanner.caclNow"),value:cc.BABY_GROWTH},[De.HPV]:{heading:e("pnBanner.hpv.heading"),description:e("pnBanner.hpv.desc"),thumbnail:{desktop:we.getAssetPath("newsletter/banner-option-hpv-desktop.png"),mobile:we.getAssetPath("newsletter/banner-option-hpv-mobile.png")},isRiskScreener:!0,btnLabel:e("pnBanner.checkNow"),value:De.HPV,hideDescOnMobile:!0}}),fc=u({}),vc="api/v1/categories?site={website_url}",xc="api/v1/subscription?site={website_url}",yc="api/v1/categories?site={website_url}";var wc=g((()=>({root:{},wrapper:{},button:{}})));const Ec=({heading:e,description:t,thumbnail:a={desktop:"",mobile:""},hideDescOnMobile:n,children:o})=>{const{isMobile:r,minHeight:l}=h(fc);return i.createElement(y,{sx:()=>({borderRadius:x(8),background:"linear-gradient(180deg, #FAFDFF 0%, #E3F2FF 100%)"})},i.createElement(y,{sx:e=>({minHeight:x(l),borderRadius:"inherit",background:`url(${r?a.mobile:a.desktop})`,backgroundPosition:"center right",backgroundRepeat:"no-repeat",backgroundSize:"contain",padding:`${x(24)} ${x(16)}`,display:"flex",flexDirection:"column",justifyContent:"center",[e.fn.largerThan("sm")]:{padding:`${x(22)} ${x(32)}`}})},i.createElement(C,{spacing:x(16)},i.createElement(C,{spacing:x(4),sx:e=>({maxWidth:"60%",[e.fn.largerThan("sm")]:{maxWidth:"70%"}})},e&&i.createElement($,{tag:"h4"},e),!(n&&r)&&t&&i.createElement(V,{size:"p4"},t)),i.createElement(y,null,o))))},kc=e=>{const{styleType:a=hc.Button,items:n=[],buttonProps:l,styles:s}=e,{classes:d}=wc(void 0,{name:"PremiumBannerWithOptions",styles:s}),{t:c,locale:p}=ze(),{type:m,articleId:u,handleClickOption:g,source:b,isMobile:f,hasPremiumBanner:w}=h(fc),E=o((()=>w?n:n.filter((e=>!Boolean(e.isPNBtn))).filter(Boolean)),[n]);console.log({abcdef:E});const{getHealthToolLink:k}=kt(p),C=wt({initialValues:{bannerOptions:[]}}),A=e=>t(void 0,void 0,void 0,(function*(){return yield se(ne(re.HEALTH_TOOL.CREATE,{_locale:p,type:Wc[m]}),"POST",{headers:{"Content-Type":"application/json"},data:{value:e,article:u,source:b}})})),S=r((()=>i.createElement(v,{gap:x(8),className:d.wrapper},E.map(((e,t)=>i.createElement(y,{key:String(t),component:e.isLink?"a":"div",href:e.isRiskScreener?`https://${Ie[p]}/bot/${Pe[p][e.activeTool]}/`:e.isLink?k(e.activeTool):void 0},i.createElement(M,Object.assign({className:d.button,size:"sm"},l,{onClick:()=>{e.isLink||(A(e.value),g(e.value))}}),e.label)))))),[E,C]),N=r((()=>i.createElement(v,null,i.createElement(v,{align:"center",gap:x(24),sx:e=>({background:"white",borderRadius:x(8),padding:x(4),[e.fn.largerThan("sm")]:{paddingLeft:x(16)}})},i.createElement(ue.Group,Object.assign({},C.getInputProps("bannerOptions",{type:"checkbox"})),i.createElement(v,{gap:x(16)},E.map(((e,t)=>i.createElement(ue,{key:String(t),value:e.value,label:e.label,styles:{label:{cursor:"pointer"}}}))))),i.createElement(M,Object.assign({size:"sm"},l,{disabled:0===C.getInputProps("bannerOptions").value.length,leftIcon:f?i.createElement(ke.ArrowRightTail,{size:18,useCurrentColor:!0}):void 0,onClick:()=>{const e=C.getInputProps("bannerOptions").value;A(e.join("|")),g(e.join("|"))},styles:e=>({root:{[e.fn.smallerThan("sm")]:{width:x(38),minWidth:"auto",padding:0}}})}),!f&&c("pnBanner.submit"))))),[E,C]);return i.createElement(Ec,Object.assign({},e),a===hc.Button?S():a===hc.Checkbox?N():null)},Cc=e=>{var t,a;const{t:n}=ze(),{heading:r,description:l,thumbnail:s,btnLabel:d,value:c,isRiskScreener:p,hideDescOnMobile:m}=e,{locale:u}=ze(),{isMobile:g}=h(fc),{getHealthToolLink:b,allTools:f}=kt(u),y=p?"mainBanner":"toolBanner",w=o((()=>i.createElement("a",{href:p?`https://${Ve?"":"discover."}${Ie[u]}/bot/${Pe[u][c]}`:b(c)},i.createElement(M,{size:"sm"},d||n("pnBanner.caclNow")))),[f]);return"mainBanner"===y?i.createElement(Ec,Object.assign({},Object.assign(Object.assign({},e),{thumbnail:e.thumbnail})),w):i.createElement(v,{gap:x(7),align:"center",justify:"space-between",sx:e=>({borderRadius:x(8),background:e.colors.blue[0],minHeight:x(180),padding:`${x(24)} ${x(16)}`,[e.fn.largerThan("sm")]:{padding:`${x(34)} ${x(32)}`}})},i.createElement(C,{spacing:x(12)},i.createElement(C,{spacing:x(4)},r&&i.createElement($,{tag:"h4"},r),!(g&&m)&&l&&i.createElement(V,{size:"p4"},l)),i.createElement(v,{gap:x(8),sx:{button:{minWidth:x(120)}}},w)),i.createElement(v,{align:"center",justify:"center",sx:e=>({width:x(96),height:x(96),borderRadius:"50%",background:"white",flexShrink:0,[e.fn.largerThan("sm")]:{width:x(112),height:x(112)},img:{maxWidth:x(64),[e.fn.largerThan("sm")]:{maxWidth:x(73)}}})},i.createElement("img",{alt:"health-tool-icon",src:s||(null===(a=null===(t=f.filter((e=>e.template===c)))||void 0===t?void 0:t[0])||void 0===a?void 0:a.icon)||pc[c]||"",loading:"lazy"})))},Ac=()=>{var e,t,a;const{t:n}=ze(),{state:o,Outside:r}=h(fc);return(null==o?void 0:o.action)===gc.ShowTool?i.createElement(r,null,bc(n)[null===(e=null==o?void 0:o.props)||void 0===e?void 0:e.value]?i.createElement(Cc,Object.assign({},bc(n)[null===(t=null==o?void 0:o.props)||void 0===t?void 0:t.value],{value:null===(a=null==o?void 0:o.props)||void 0===a?void 0:a.value})):null):(null==o?void 0:o.action)===gc.ShowOptionBanner?i.createElement(r,null,i.createElement(kc,Object.assign({},null==o?void 0:o.props))):null},Sc=t=>{var{isMobile:a,children:o,desktopBanner:r=we.getAssetPath("friso/onboarding-banner.jpg"),mobileBanner:l=we.getAssetPath("friso/onboarding-banner-mobile.jpg"),modalRatio:s={width:937,height:536},mobileBannerRatio:d={width:750,height:480},desktopBannerRatio:c={width:420,height:536},closeProps:p}=t,m=e(t,["isMobile","children","desktopBanner","mobileBanner","modalRatio","mobileBannerRatio","desktopBannerRatio","closeProps"]);const{width:u,height:h}=He(),g=(h<=667?190:265)+u*d.height/d.width+74,[b,f]=n(!1);return i.createElement(xt,Object.assign({styles:e=>({content:{flex:"auto",background:"transparent",[e.fn.smallerThan("sm")]:{maxHeight:"100%",height:"100%",position:"relative",borderRadius:0},[e.fn.largerThan("sm")]:{maxWidth:x(s.width),width:"100%",height:"100%",maxHeight:x(s.height),boxShadow:"none"}},body:{padding:0,width:"100%",height:"100%",[e.fn.largerThan("sm")]:{display:"flex",alignItems:"center"}},inner:{padding:0,[e.fn.smallerThan("sm")]:{display:"flex",alignItems:"flex-end"}}})},m),a?i.createElement(y,{sx:{position:"relative",height:"100%"},onTouchStart:()=>f(!0)},i.createElement(y,{className:"mobile-template",sx:{position:"absolute",height:100*(b?1:g/h)+"%",left:0,bottom:0,right:0,transition:"height 0.4s ease"}},i.createElement(y,{sx:{height:"100%",backgroundColor:"white",borderTopLeftRadius:b?0:x(12),borderTopRightRadius:b?0:x(12)}},i.createElement(y,{sx:{height:"calc(100% - 74px)",background:`url(${l})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"top center",overflowY:"auto",borderRadius:"inherit"}},i.createElement(M,Object.assign({unstyled:!0,leftIcon:i.createElement(ke.Close,null),sx:{position:"absolute",right:0,top:"10px",zIndex:1}},p,{onClick:()=>null==m?void 0:m.onClose()})),i.createElement(A,{ratio:(null==d?void 0:d.width)/(null==d?void 0:d.height),w:"100%"}),i.createElement(y,{sx:{padding:`${x(28)} ${x(16)} ${x(16)}`,background:"white"}},o))))):i.createElement(A,{className:"desktop-template",ratio:s.width/s.height,w:"100%",sx:{position:"relative","& > div":{justifyContent:"flex-end"}}},i.createElement(y,{sx:{width:"100%",height:"100%",justifyContent:"flex-end",alignItems:"stretch",borderRadius:x(8),background:"white",boxShadow:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 2.25rem 1.75rem -0.4375rem, rgba(0, 0, 0, 0.04) 0 1.0625rem 1.0625rem -0.4375rem"}},i.createElement("img",{alt:"",src:r,loading:"lazy",style:{borderTopLeftRadius:x(8),borderBottomLeftRadius:x(8),height:"100%",display:"block"}}),i.createElement(y,{sx:{position:"relative",height:"100%",width:(s.width-c.width)/s.width*100+"%"}},i.createElement(M,Object.assign({unstyled:!0,leftIcon:i.createElement(ke.Close,null)},p,{onClick:()=>null==m?void 0:m.onClose(),sx:{position:"absolute",right:0,top:"10px"}})),i.createElement(y,{className:"side-banner-modal-container",sx:{height:"100%",padding:`${x(40)} ${x(24)} 0`}},o)))))},Nc="user/subscription",Tc=u({}),zc=t=>{var a,{value:n,name:r,isMobile:l}=t,c=e(t,["value","name","isMobile"]);const p=s(null),m=o((()=>{var e;return Boolean(null===(e=p.current)||void 0===e?void 0:e.checked)}),[null===(a=p.current)||void 0===a?void 0:a.checked]);return d((()=>{var e,t;if(m){const a=null===(e=p.current)||void 0===e?void 0:e.querySelector(".mantine-Chip-checkIcon"),i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.setAttribute("width","16"),i.setAttribute("height","16"),i.setAttribute("viewBox","0 0 16 16"),i.setAttribute("fill","none"),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("class","mantine-Chip-checkIcon");const n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttribute("d","M13.32 3.99443C13.1468 3.99959 12.9825 4.07198 12.8617 4.19625L5.99973 11.0582L3.80442 8.86292C3.74299 8.79894 3.66941 8.74786 3.58799 8.71267C3.50657 8.67748 3.41895 8.65889 3.33025 8.65798C3.24156 8.65708 3.15358 8.67388 3.07146 8.70741C2.98934 8.74094 2.91474 8.79051 2.85202 8.85323C2.7893 8.91595 2.73973 8.99055 2.7062 9.07267C2.67267 9.15479 2.65587 9.24277 2.65677 9.33146C2.65768 9.42016 2.67627 9.50778 2.71146 9.5892C2.74665 9.67062 2.79773 9.7442 2.86171 9.80563L5.52838 12.4723C5.65341 12.5973 5.82295 12.6675 5.99973 12.6675C6.17651 12.6675 6.34606 12.5973 6.47108 12.4723L13.8044 5.13896C13.9008 5.04532 13.9666 4.92476 13.9932 4.79308C14.0198 4.6614 14.0061 4.52474 13.9537 4.40102C13.9013 4.2773 13.8128 4.17228 13.6998 4.09972C13.5867 4.02717 13.4543 3.99047 13.32 3.99443Z"),n.setAttribute("fill","#2D87F3"),i.appendChild(n),null===(t=null==a?void 0:a.parentNode)||void 0===t||t.replaceChild(i,a)}}),[m]),i.createElement(S,Object.assign({ref:p,value:n,radius:6},c,{styles:e=>({label:{display:"flex",border:"1px solid #DBDFE5 !important",borderRadius:6,padding:"8px 12px 8px 8px",height:"initial",gap:4,position:"relative","&[data-checked='true']":{borderColor:"#2D87F3 !important",backgroundColor:"#E3F2FF !important",color:"#2D87F3 !important",gap:0},"&:hover":{color:"initial",backgroundColor:"initial"},"&:not([data-checked])":{paddingLeft:36,[e.fn.smallerThan("sm")]:{paddingLeft:30},"&::before":{top:5,content:'"+"',position:"absolute",left:16,fontSize:18,color:"#262626",[e.fn.smallerThan("sm")]:{left:11}}}},input:{display:"none"}})}),i.createElement(V,{size:l?"p3":"p4",color:"gray.7",span:!0},r))},Ic=({topicsGroup:e,onTopicChange:t,isBlock:a=!1,selectedTopics:o=[],inputProps:r,labelProps:l,maxSelect:s=5,hasScroll:c,readonly:p})=>{const{action:{pushNotifications:m}}=h(Z),u=At(e.map((e=>e.topics||[]))),{t:g}=ze(),[b,f]=n([]);d((()=>{f(o)}),[o.length]),d((()=>{null==t||t(b)}),[b]);const x=e=>{e.length>5?m({type:"danger",title:g("pnTopicSection.maxSelectError.title",{maxSelect:s}),message:g("pnTopicSection.maxSelectError.desc")}):!p&&f((()=>u.filter((t=>e.some((e=>t.catId===e))))))};return i.createElement(C,{spacing:12},e.map(((e,t)=>i.createElement(C,{key:String(t),spacing:12},e.label&&i.createElement(V,Object.assign({size:"s5",color:"gray.4",weight:"semiBold"},l),e.label),c?i.createElement(N,{w:"100%",offsetScrollbars:!0,scrollbarSize:4,p:16,m:-16,styles:{viewport:{margin:-16,padding:16}}},i.createElement(y,{w:800},i.createElement(S.Group,Object.assign({value:b.map((e=>e.catId)),multiple:!0},r,{onChange:x}),i.createElement(v,{gap:8,wrap:"wrap"},e.topics.map((t=>i.createElement(zc,Object.assign({key:t.catId,value:t.catId,name:t.localName,isBlock:a},e.tracking)))))))):i.createElement(S.Group,Object.assign({value:b.map((e=>e.catId)),multiple:!0},r,{onChange:x}),i.createElement(v,{gap:8,wrap:"wrap"},e.topics.map((t=>t.catId?i.createElement(zc,Object.assign({key:t.catId,value:t.catId,name:t.localName,isBlock:a},e.tracking)):i.isValidElement(t.component)?t.component:null))))))))},Bc=t=>{var{heading:a,children:n,stickyActions:o}=t,r=e(t,["heading","children","stickyActions"]);const{isMobile:l}=h(Tc),s=i.createElement(C,{spacing:x(24),sx:{height:"100%"}},i.createElement($,{tag:"h4",style:{textAlign:"center"}},a),i.createElement(y,null,n));return i.createElement(y,{sx:e=>({[e.fn.largerThan("sm")]:{position:"relative",height:"100%"}})},l?s:i.createElement(N,Object.assign({className:"layout-body",h:o?"calc(100% - 90px)":"100%"},r),s),o&&i.createElement(v,{gap:x(8),sx:e=>({position:"absolute",left:0,right:0,bottom:0,padding:x(16),button:{flexGrow:1},justifyContent:"center",[e.fn.largerThan("sm")]:{padding:`${x(24)} 0`}})},o))},Dc=()=>{const{t:e,locale:a}=ze(),{data:{userInfo:r},action:{pushNotifications:l}}=h(Z),s=null==r?void 0:r.id,{currentUrl:c,isMobile:p,pnSuggestCategory:m=[],nextStep:u,formValues:g,setFormValues:b,onSubmit:f,submitLoading:v,selectCategory:y,setCategoryLibs:w,setSelectCategory:E,maxSelectCategory:k}=h(Tc),A=m.map((e=>e.catId)),S=wt({validate:{name:Et(e("healthToolPNModal.mainForm.requireName"))},initialValues:Object.assign(Object.assign({},g),{fitnessTopics:A})}),[N,T]=n([]),[z,I]=n([]);d((()=>{t(void 0,void 0,void 0,(function*(){var e;try{const t=yield se(he(yc,{_locale:a}),"get"),i=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.subscription)||[]).filter((e=>!A.includes(e.catId)));T(m),I(i),w([...m,...i])}catch(e){console.log(e)}}))}),[]),d((()=>{s&&S.setFieldValue("name",(null==r?void 0:r.name)||"")}),[s]);const B=()=>{""!==S.getInputProps("name").value?(b(S.getTransformedValues()),u()):S.validateField("name")},D=o((()=>i.createElement(M,{variant:"tertiary",dataEventCategory:"Newsletter",dataEventAction:"More Category Click",dataEventLabel:c,leftIcon:i.createElement(ke.Plus,{size:16,color:"#262626",useCurrentColor:!0}),onClick:B,styles:e=>({root:{borderRadius:x(6),padding:"2px 15px",height:x(40)},label:{fontSize:x(14),fontWeight:400,[e.fn.smallerThan("sm")]:{fontSize:x(12),lineHeight:x(16),height:x(40)}},leftIcon:{marginRight:"5px"}})},i.createElement(V,{size:p?"p3":"p4"},e("home.seeMore")))),[S]);return d((()=>{S.setFieldValue("fitnessTopics",y.map((e=>e.catId)))}),[y]),i.createElement("form",{style:{height:"100%"},onSubmit:S.onSubmit((t=>{if(0===y.length)return l({type:"danger",title:e("newsletter.error.minTitle"),message:e("newsletter.error.minCotennt")}),!1;b(t),null==f||f(t.name)}))},i.createElement(Bc,{heading:e("healthToolPNModal.heading"),stickyActions:i.createElement(i.Fragment,null,i.createElement(M,{fullWidth:!0,type:"submit",dataEventCategory:"Newsletter",dataEventAction:"Register Click",dataEventLabel:c,loading:v,sx:{maxWidth:x(240)}},e("healthToolPNModal.register")))},i.createElement(C,{spacing:x(16)},i.createElement(ge,Object.assign({label:e("newsletter.welcome.description")},S.getInputProps("name"))),i.createElement(Ic,{topicsGroup:[...0===m.length&&0===z.length?[{topics:[{component:D}]}]:[],...m.length>0?[{label:e("healthToolPNModal.mainForm.tailorTopicsHeading"),topics:[...m,...0===z.length?[{component:D}]:[]]}]:[],...z.length>0?[{label:e("healthToolPNModal.findMore.chooseFav"),topics:[...z,...z.length>0?[{component:D}]:[]]}]:[]],selectedTopics:[...N],labelProps:{size:p?"p3":"p4",color:"gray.6"},onTopicChange:E,maxSelect:k}))))},Pc=m((function(t,a){var{label:n}=t,o=e(t,["label"]);return i.createElement("div",Object.assign({ref:a},o),i.createElement(T,{noWrap:!0},i.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),i.createElement(V,{size:"p3"},n)))})),Oc=m((function(t,a){var{label:n}=t,o=e(t,["label"]);return i.createElement("div",Object.assign({ref:a},o),i.createElement(V,{size:"p3"},n))})),Lc=({history:e,onDelete:t})=>i.createElement(v,{wrap:"wrap",gap:8},St(e,"catId").map((e=>i.createElement(z,{key:e.catId,rightSection:i.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:()=>null==t?void 0:t(e)},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 9C1.5 4.8525 4.8525 1.5 9 1.5C13.1475 1.5 16.5 4.8525 16.5 9C16.5 13.1475 13.1475 16.5 9 16.5C4.8525 16.5 1.5 13.1475 1.5 9ZM11.1677 12.2248C11.4602 12.5173 11.9327 12.5173 12.2252 12.2248C12.5101 11.9323 12.5101 11.4523 12.2252 11.1673L10.0577 8.99979L12.2252 6.83229C12.5177 6.53979 12.5177 6.0673 12.2252 5.7748C11.9327 5.4823 11.4602 5.4823 11.1677 5.7748L9.00015 7.9423L6.83265 5.7748C6.54015 5.4823 6.06765 5.4823 5.77515 5.7748C5.63471 5.91492 5.55579 6.10516 5.55579 6.30354C5.55579 6.50193 5.63471 6.69217 5.77515 6.83229L7.94265 8.99979L5.77515 11.1673C5.63471 11.3074 5.55579 11.4977 5.55579 11.696C5.55579 11.8944 5.63471 12.0847 5.77515 12.2248C6.06765 12.5173 6.54015 12.5173 6.83265 12.2248L9.00015 10.0573L11.1677 12.2248Z",fill:"#8C8C8C"})),styles:{root:{height:32,background:"#ffffff",padding:"5px 12px",border:`1px solid ${be.neutral[4]}`,borderRadius:32,textTransform:"unset"},rightSection:{height:18,cursor:"pointer"}}},i.createElement(V,{size:"p4"},e.localName))))),jc=({topics:e,onTopicChange:t,isBlock:a=!1,selectedTopics:o,labelProps:r,maxSelect:l=5})=>{const{action:{pushNotifications:s}}=h(Z),[c,p]=n([]),{t:m}=ze();d((()=>{p(o)}),[o.length]),d((()=>{t(c)}),[c]);return e&&0!==e.length?i.createElement(C,{spacing:12,px:16,mx:-16},i.createElement(V,Object.assign({size:"s5",color:"gray.4",weight:"semiBold"},r),m("pnTopicSection.recentView")),i.createElement(S.Group,{value:c.map((e=>e.catId)),onChange:t=>{a&&c.length<t.length?s({type:"danger",title:m("pnTopicSection.maxSelectError.title",{maxSelect:l}),message:m("pnTopicSection.maxSelectError.desc")}):p((()=>e.filter((e=>t.some((t=>e.catId===t))))))},multiple:!0},i.createElement(v,{gap:8,wrap:"wrap"},e.map(((e,t)=>i.createElement(zc,{key:t,value:e.catId,name:e.localName,isBlock:a})))))):null},Mc=t=>{var{topic:a,active:n,onClick:o}=t,r=e(t,["topic","active","onClick"]);return i.createElement(y,Object.assign({sx:e=>({position:"relative",cursor:"pointer",padding:2,borderRadius:8,boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04)",minHeight:x(130),[e.fn.largerThan("sm")]:{minHeight:x(138)}}),onClick:()=>o(a,n)},r),n&&i.createElement(y,{id:"test",sx:{position:"absolute",top:2,right:2,width:20,height:20,zIndex:1}},i.createElement("svg",{id:"test",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66699 9.99984C1.66699 5.39984 5.40033 1.6665 10.0003 1.6665C14.6003 1.6665 18.3337 5.39984 18.3337 9.99984C18.3337 14.5998 14.6003 18.3332 10.0003 18.3332C5.40033 18.3332 1.66699 14.5998 1.66699 9.99984ZM4.75066 10.5827L7.74232 13.5744C8.06732 13.8994 8.60066 13.8994 8.91732 13.5744L15.2423 7.2494C15.5673 6.9244 15.5673 6.3994 15.2423 6.0744C14.9173 5.7494 14.3923 5.7494 14.0673 6.0744L8.33399 11.8077L5.92566 9.40773C5.60066 9.08273 5.07566 9.08273 4.75066 9.40773C4.59461 9.56342 4.50692 9.7748 4.50692 9.99523C4.50692 10.2157 4.59461 10.427 4.75066 10.5827Z",fill:"#2D87F3"}),i.createElement("path",{d:"M7.74224 13.5772L4.75057 10.5856C4.59453 10.4299 4.50684 10.2185 4.50684 9.99808C4.50684 9.77765 4.59453 9.56627 4.75057 9.41058C5.07557 9.08558 5.60057 9.08558 5.92557 9.41058L8.33391 11.8106L14.0672 6.07725C14.3922 5.75225 14.9172 5.75225 15.2422 6.07725C15.5672 6.40225 15.5672 6.92725 15.2422 7.25225L8.91724 13.5772C8.60057 13.9022 8.06724 13.9022 7.74224 13.5772Z",fill:"white"}))),i.createElement(y,{sx:{borderRadius:"8px"}},i.createElement(fe,{ratio:1.5,mb:10,sx:e=>({background:e.colors.neutral[0]})},i.createElement(y,null,i.createElement("img",{src:a.guid||"",alt:"cat",loading:"lazy",style:{maxHeight:"63px"}})))),i.createElement(V,{size:"p4",ta:"center",px:6,sx:{display:"-webkit-box","-webkit-line-clamp":"2","-webkit-box-orient":"vertical",overflow:"hidden"}},a.localName||""))},$c=({topics:e,selectedTopics:t=[],onTopicChange:a,isBlock:o=!1,labelProps:r,pushNotifications:l,maxSelect:c=5})=>{const{t:p}=ze(),[m,u]=n([]),h=(e,t)=>{if(t)u((t=>t.filter((t=>t.catId!==e.catId))));else{if(o)return void l({type:"danger",title:p("pnTopicSection.maxSelectError.title",{maxSelect:c}),message:p("pnTopicSection.maxSelectError.desc")});u((t=>[...t,e]))}};d((()=>{u(t)}),[t.length]),d((()=>{a(m)}),[m]);const[g,b]=n(!1),[f,x]=n(0),[w,E]=n(0),k=s(null),A=()=>{b(!1)};return i.createElement(C,{spacing:10},i.createElement(v,{justify:"space-between",align:"center",w:"100%"},i.createElement(V,Object.assign({size:"s5",color:"gray.4",weight:"semiBold",span:!0},r),p("pnTopicSection.trending"))),i.createElement(y,null,i.createElement(N,{type:"always",w:"100%",offsetScrollbars:!0,scrollbarSize:4,px:4,viewportRef:k,viewportProps:{onMouseDown:e=>{e.preventDefault(),k.current&&(b(!0),x(e.pageX-k.current.offsetLeft),E(k.current.scrollLeft))},onMouseUp:A,onMouseLeave:A,onMouseMove:e=>{if(e.preventDefault(),!g||!k.current)return;const t=2*(e.pageX-k.current.offsetLeft-f);k.current.scrollLeft=w-t}},styles:{viewport:{paddingBottom:16}}},i.createElement(y,{w:{base:112*e.length+8*(e.length-1)+10}},i.createElement(v,{gap:8},e.map(((e,t)=>i.createElement(Mc,{key:t,topic:e,onClick:h,active:m.some((t=>t.catId===e.catId)),w:{base:112}}))))))))},Rc=a=>{var{isLoggedIn:r,maxSelect:l=5,values:c=[],labelProps:p,onChange:m}=a,u=e(a,["isLoggedIn","maxSelect","values","labelProps","onChange"]);const{action:{pushNotifications:g}}=h(Z),[b,f]=n(""),{t:v,locale:w}=ze(),E=s(null),[k,A]=n([]),[S,N]=n([]),[T,z]=n([]),[B,D]=n([]),[P,O]=n(null),[L,j]=n([]);d((()=>{t(void 0,void 0,void 0,(function*(){var e,t;const a=yield se(he(vc,{_locale:w}),"get"),i=(null===(e=null==a?void 0:a.data)||void 0===e?void 0:e.interested)||[],n=(null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.trending)||[],o=St([...i,...n],"catId").map((e=>Object.assign(Object.assign({},e),{value:e.catId||"",label:e.localName||""})));if(j(o||[]),O((null==a?void 0:a.data)||null),c.length>0){const e=i.filter((e=>c.includes(e.catId))).map((e=>Object.assign(Object.assign({},e),{template:"interested"}))),t=n.filter((e=>c.includes(e.catId))).map((e=>Object.assign(Object.assign({},e),{template:"trending"})));D(e),N(t)}}))}),[r]);const M=o((()=>St([...k,...S,...B,...T],"catId")),[k,S,B,T]),[$,R]=n(!1);d((()=>{M.length>=l?R(!0):R(!1),null==m||m(M)}),[M]);return i.createElement(C,Object.assign({spacing:x(16)},u),i.createElement(C,{spacing:x(8)},i.createElement(V,{size:"p3"},v("pnTopicSection.maxSelectError.detail",{max:l,maxTopic:M.length})),i.createElement(I,{ref:E,maxSelectedValues:3,styles:{wrapper:{overflow:"initial !important"},separator:{padding:16},separatorLabel:{fontWeight:600,fontSize:12,lineHeight:"18px",textTransform:"uppercase",color:be.gray[4],"&::after":{display:"none"}},searchInput:{fontSize:"inherit"},input:{paddingRight:16}},nothingFound:i.createElement(V,{size:"s4",color:"gray.6"},v("pnTopicSection.notFound")),itemComponent:""===b?Pc:Oc,size:"lg",placeholder:v("pnTopicSection.plsEnterFavTopics"),data:L,onSearchChange:f,searchValue:b,icon:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9682 19.7465 14.8936 19.0205 16.4115 17.8063L20.3168 21.7116C20.7018 22.0966 21.3261 22.0966 21.7111 21.7116C22.0961 21.3266 22.0961 20.7023 21.7111 20.3173L17.8059 16.4121C19.0203 14.894 19.7465 12.9684 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#595959"})),rightSection:i.createElement(i.Fragment,null),zIndex:500,searchable:!0,withinPortal:!0,onChange:e=>{return a=e,t(void 0,void 0,void 0,(function*(){var e;const t={trending:N,recently:z,interested:D,default:A};let i="default";if($)g({type:"danger",title:v("pnTopicSection.maxSelectError.title",{maxSelect:l}),message:v("pnTopicSection.maxSelectError.desc")});else{const n=[{key:"trending",array:null==P?void 0:P.trending},{key:"recently",array:null==P?void 0:P.recently},{key:"interested",array:null==P?void 0:P.interested}].find((e=>{var t;return null===(t=e.array)||void 0===t?void 0:t.some((e=>e.catId===a[0]))}));i=(null==n?void 0:n.key)||"default",t[i]((e=>[...e,...L.filter((e=>a.some((t=>e.catId===t))))].map((e=>Object.assign(Object.assign({},e),{template:i}))))),null===(e=E.current)||void 0===e||e.blur()}return null}));var a},value:[]}),M&&M.length>0&&i.createElement(Lc,{history:M,onDelete:e=>{const t={trending:N,recently:z,interested:D,default:A};(t[e.template]||t.default)((t=>{const a=[...t],i=a.findIndex((t=>t.catId===e.catId));return a.splice(i,1),a}))}})),i.createElement(y,{sx:e=>({position:"relative",height:x(175),[e.fn.largerThan("sm")]:{height:x(190)}})},i.createElement(y,{sx:{position:"absolute",top:0,right:0,left:0}},i.createElement($c,{topics:((null==P?void 0:P.trending)||[]).map((e=>Object.assign(Object.assign({},e),{template:"trending"}))),selectedTopics:S,onTopicChange:N,isBlock:$,labelProps:p}))),i.createElement(jc,{topics:((null==P?void 0:P.recently)||[]).map((e=>Object.assign(Object.assign({},e),{template:"recently"}))),selectedTopics:T,onTopicChange:z,isBlock:$,labelProps:p}),i.createElement(Ic,{labelProps:p,topicsGroup:[{label:v("pnTopicSection.ppAlsoInterested"),topics:((null==P?void 0:P.interested)||[]).map((e=>Object.assign(Object.assign({},e),{template:"interested"})))}],selectedTopics:B,onTopicChange:D,isBlock:$}))},_c=()=>{const{t:e}=ze(),{action:{pushNotifications:t}}=h(Z),{prevStep:a,formValues:n,submitLoading:o,onSubmit:r,selectCategory:l,maxSelectCategory:s,setSelectCategory:d,currentUrl:c,isLoggedIn:p}=h(Tc);return i.createElement(Bc,{heading:e("newsletter.topic.title"),type:"always",styles:{root:{paddingRight:x(25)}},stickyActions:i.createElement(i.Fragment,null,i.createElement(M,{fullWidth:!0,variant:"secondary",dataEventCategory:"Newsletter",dataEventAction:"Back Click",dataEventLabel:c,onClick:a},e("healthToolPNModal.back")),i.createElement(M,{fullWidth:!0,type:"submit",dataEventCategory:"Newsletter",dataEventAction:"Next Click",dataEventLabel:c,onClick:()=>{if(0===l.length)return t({type:"danger",title:e("newsletter.error.minTitle"),message:e("newsletter.error.minCotennt")}),!1;null==r||r(n.name)},loading:o},e("healthToolPNModal.next")))},i.createElement(Rc,{isLoggedIn:p,maxSelect:s,values:n.fitnessTopics,onChange:d,labelProps:{size:"s5",sx:{textTransform:"uppercase"}}}))},Fc=()=>{const{t:e}=ze(),{close:t,selectCategory:a,onRegisterSuccess:n,currentUrl:o,finishLabelOnResult:r,disclaimerText:l}=h(Tc);return d((()=>()=>{setTimeout((()=>{null==n||n()}),400)}),[]),i.createElement(Bc,{heading:e("healthToolPNModal.heading"),stickyActions:i.createElement(M,{fullWidth:!0,sx:{maxWidth:x(300)},dataEventCategory:"Newsletter",dataEventAction:"Continue Reading Click",dataEventLabel:o,onClick:()=>{t()}},r||e("healthToolPNModal.finish"))},i.createElement(C,null,i.createElement(v,{gap:x(8),sx:e=>({background:e.colors.green[0],border:`1px solid ${e.colors.green[1]}`,borderRadius:x(8),padding:x(8)})},i.createElement(y,null,i.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.99984 18.3334C14.6022 18.3334 18.3332 14.6025 18.3332 10.0001C18.3332 5.39771 14.6022 1.66675 9.99984 1.66675C5.39746 1.66675 1.6665 5.39771 1.6665 10.0001C1.6665 14.6025 5.39746 18.3334 9.99984 18.3334Z",fill:"#00B16A"}),i.createElement("path",{d:"M9.58558 12.6674C9.22944 12.668 8.87668 12.5983 8.54752 12.4623C8.21835 12.3264 7.91925 12.1268 7.66732 11.8751L6.68587 10.8931C6.55607 10.7587 6.48424 10.5787 6.48587 10.3919C6.48749 10.2051 6.56243 10.0263 6.69455 9.89422C6.82667 9.7621 7.00539 9.68716 7.19222 9.68554C7.37906 9.68391 7.55906 9.75574 7.69345 9.88554L8.67491 10.8675C8.79344 10.986 8.93415 11.08 9.08902 11.1442C9.24389 11.2083 9.40987 11.2413 9.5775 11.2413C9.74513 11.2413 9.91111 11.2083 10.066 11.1442C10.2208 11.08 10.3616 10.986 10.4801 10.8675L16.7033 5.24335C16.8443 5.12184 17.0272 5.06032 17.213 5.07195C17.3987 5.08358 17.5726 5.16744 17.6973 5.30558C17.8221 5.44373 17.8878 5.6252 17.8805 5.81118C17.8731 5.99717 17.7933 6.17291 17.6581 6.30081L11.4592 11.8998C11.2128 12.1448 10.9205 12.3387 10.5989 12.4705C10.2774 12.6022 9.93304 12.6692 9.58558 12.6674Z",fill:"white"}))),i.createElement(V,{size:"p3"},l||e("pnModal.disclaimer"))),i.createElement($,{tag:"h5"},e("healthToolPNModal.yourPre")),a.length>0&&i.createElement(Ic,{topicsGroup:[{label:"",topics:a}],selectedTopics:a,readonly:!0})))},Uc=({isMobile:e,isLoggedIn:a,pnSuggestCategory:o=[],acquisitionInfo:l,currentUrl:s,opened:c,close:p,finishLabelOnResult:m,onRegisterSuccess:u,disclaimerText:g})=>{const{t:b,locale:f}=ze(),{action:{pushNotifications:v}}=h(Z),x=we.getAssetPath("premiumNewsletter/side-banner-desktop.jpg"),y=we.getAssetPath("premiumNewsletter/side-banner-mobile.jpg"),[w,E]=n([]),[k,C]=n([]),[A,S]=n(0),[N,T]=n({name:"",fitnessTopics:[]}),[z,I]=n(!1),D=()=>S(2),P=r((e=>t(void 0,void 0,void 0,(function*(){try{I(!0),yield se(he(xc,{website_url:ve(f)}),"post",{headers:{"Content-Type":"application/json"},method:"POST",data:{ga_client_id:Ct.get(Oe),client_ip:window.clientIP||"",user_info:Object.assign(Object.assign({},l.userInfo),{name:e||N.name,type_subscription:1}),domain:Ie[f||je.Vietnam],category:k,perferred:l.preferredTopics.map((({id:e})=>({id:e})))}}),I(!1),yield se(xe(Nc),"post",{headers:{"Content-Type":"application/json"},method:"PUT",data:{subscription:1}}),D()}catch(e){console.log({err:e}),I(!1),v({title:b("notification.comment.somethingWrong"),message:"",type:"danger"})}}))),[N,k]);return d((()=>{[x,y].forEach((e=>{(new Image).src=e}))}),[]),i.createElement(Tc.Provider,{value:{currentUrl:s,isMobile:e,isLoggedIn:a,opened:c,close:p,pnSuggestCategory:o,nextStep:()=>S((e=>e<3?e+1:e)),prevStep:()=>S((e=>e>0?e-1:e)),lastStep:D,categoryLibs:w,setCategoryLibs:E,selectCategory:k,setSelectCategory:C,formValues:N,setFormValues:T,maxSelectCategory:5,submitLoading:z,onSubmit:P,onRegisterSuccess:u,finishLabelOnResult:m,disclaimerText:g}},i.createElement(Sc,{isMobile:e,desktopBanner:we.getAssetPath("premiumNewsletter/side-banner-desktop.jpg"),mobileBanner:we.getAssetPath("premiumNewsletter/side-banner-mobile.jpg"),modalRatio:{width:960,height:588},desktopBannerRatio:{width:384,height:588},opened:c,onClose:p,zIndex:305,closeProps:{dataEventCategory:"Newsletter",dataEventAction:"Close Click",dataEventLabel:s}},i.createElement(B,{active:A,onStepClick:S,styles:{root:{height:"100%"},content:{padding:0,height:"100%",width:"100%"},steps:{display:"none"}}},i.createElement(B.Step,null,i.createElement(Dc,null)),i.createElement(B.Step,null,i.createElement(_c,null)),i.createElement(B.Step,null,i.createElement(Fc,null)))))},Vc=()=>{const{locale:e}=ze(),{isMobile:a,isLoggedIn:o,currentUrl:r,acquisitionInfo:l,categoryIds:s,state:c,setState:p,onChange:m,showPNModal:u,setShowPNModal:g,settings:b,submitHandler:f,subcribeHealthStatus:v}=h(fc),[x,y]=n([]);return d((()=>{t(void 0,void 0,void 0,(function*(){var t,a,i;const n=yield se(he(vc,{_locale:e}),"get"),o=[...(null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.interested)||[],...(null===(a=null==n?void 0:n.data)||void 0===a?void 0:a.trending)||[]];y(o.filter((e=>s.includes(Number(e.catId)))));const r=(null==v?void 0:v.value)||"",l=r.split("|");let d=r;l.length>1&&Object.keys(f).map((e=>{const t=e.split("|");if(l.length===t.length){let a=0;l.map((e=>{t.includes(String(e))&&(a+=1)})),a===l.length&&(d=e)}}));const c=f[d],u={action:(null==c?void 0:c.action)===gc.ShowPremiumModal&&(null==c?void 0:c.useValueAfterUserBack)&&f[c.useValueAfterUserBack]?f[c.useValueAfterUserBack].action:(null==c?void 0:c.action)===gc.ShowPremiumModal?gc.Hide:(null==c?void 0:c.action)?c.action:b.action,props:(null==c?void 0:c.action)===gc.ShowPremiumModal&&(null==c?void 0:c.useValueAfterUserBack)&&f[c.useValueAfterUserBack]?Object.assign(Object.assign({},f[c.useValueAfterUserBack].props),{items:((null===(i=f[c.useValueAfterUserBack].props)||void 0===i?void 0:i.items)||[]).filter((e=>e.value!==d))}):(null==c?void 0:c.action)===gc.ShowPremiumModal?void 0:(null==c?void 0:c.action)?c.props:b.props};p(u),null==m||m(u)}))}),[]),(null==c?void 0:c.action)!==gc.Hide?i.createElement(i.Fragment,null,i.createElement(Ac,Object.assign({},b.props)),i.createElement(Uc,{acquisitionInfo:l,isMobile:a,isLoggedIn:o,currentUrl:r,pnSuggestCategory:x,opened:u,close:()=>{g(!1),setTimeout((()=>{p({action:gc.Hide}),null==m||m({action:gc.Hide})}),400),p({action:gc.Hide}),null==m||m({action:gc.Hide})},onRegisterSuccess:()=>g(!1)})):null},Hc={pregnancy:mc.Pregnant,parenting:mc.Parenting},Wc={[mc.Pregnant]:"pregnant",[mc.Parenting]:"parent"},qc=a=>{var{type:r,articleId:l=0,categoryIds:s=[],isMarketing:c,isABTestingType:p,hasPremiumBanner:m,currentUrl:u,isMobile:g,subcribeHealthStatus:b,setShouldAcquisitionModalOpen:f,onChange:v,source:w="discover",state:E,Wrapper:k}=a,C=e(a,["type","articleId","categoryIds","isMarketing","isABTestingType","hasPremiumBanner","currentUrl","isMobile","subcribeHealthStatus","setShouldAcquisitionModalOpen","onChange","source","state","Wrapper"]);const{locale:A,t:S}=ze(),{data:{userInfo:N}}=h(Z),T=Boolean(null==N?void 0:N.id),[z,I]=n(null),[B,P]=n(),[O,L]=n(!1),j=o((()=>Hc[r]),[]),M=(e=>({[mc.Pregnant]:{action:gc.ShowOptionBanner,props:{heading:e("pnBanner.pregnancy.heading"),description:e("pnBanner.pregnancy.desc"),styleType:hc.Button,thumbnail:{desktop:we.getAssetPath("newsletter/banner-option-pregnancy-desktop.png"),mobile:we.getAssetPath("newsletter/banner-option-pregnancy-mobile.png")},buttonProps:{variant:"white",styles:e=>({minWidth:x(80),[e.fn.largerThan("sm")]:{minWidth:x(120)}})},items:[{label:e("switchBtn.yes"),value:"yes"},{label:e("switchBtn.no"),value:"no"}]},submitHandler:{yes:{action:gc.ShowTool,props:{value:cc.DUE_DATE}},no:{action:gc.ShowPremiumModal}}},[mc.Parenting]:{action:gc.ShowOptionBanner,props:{heading:e("pnBanner.parenting.heading"),description:e("pnBanner.parenting.desc"),thumbnail:{desktop:we.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:we.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,styleType:hc.Checkbox,items:[{label:e("pnBanner.toddlers"),value:"todders"},{label:e("pnBanner.teenager"),value:"teenager"}]},submitHandler:{todders:{action:gc.ShowTool,props:{value:cc.BABY_VACCINE}},teenager:{action:gc.ShowOptionBanner,props:{styleType:hc.Button,heading:e("pnBanner.teenager.heading"),description:e("pnBanner.parenting.desc"),thumbnail:{desktop:we.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:we.getAssetPath("newsletter/banner-option-parenting-mobile.png")},buttonProps:{variant:"white"},items:[{label:e("childCard.boy"),value:"teenager.boy"},{label:e("childCard.girl"),value:"teenager.girl"}]}},"teenager.boy":{action:gc.ShowPremiumModal},"teenager.girl":{action:gc.ShowTool,activeTool:De.HPV,props:{value:De.HPV}},"todders|teenager":{action:gc.ShowOptionBanner,props:{styleType:hc.Button,heading:e("pnBanner.both.heading"),description:e("pnBanner.both.desc"),thumbnail:{desktop:we.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:we.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,buttonProps:{variant:"secondary"},styles:e=>({wrapper:{[e.fn.smallerThan("sm")]:{flexDirection:"column"}}}),items:[{label:e("pnBanner.vaccine.btnLabel"),activeTool:cc.BABY_VACCINE,isLink:!0},{label:e("pnBanner.pn.btnLabel"),value:"todders|teenager.showPN",isPNBtn:!0}]}},"todders|teenager.showPN":{action:gc.ShowPremiumModal,useValueAfterUserBack:"todders|teenager"}}}}))(S)[j],$=null==M?void 0:M.submitHandler,R=j&&M&&p&&void 0!==b;d((()=>{T&&I({userInfo:N,preferredTopics:ur,healthTopics:[]})}),[T]),d((()=>{P(E)}),[E]);const _=k||y;return T&&R?i.createElement(fc.Provider,{value:{settings:M,submitHandler:$,type:j,isMobile:g,isLoggedIn:T,hasPremiumBanner:m,currentUrl:u,acquisitionInfo:z,categoryIds:s,subcribeHealthStatus:b,articleId:l,onChange:v,state:B,setState:P,showPNModal:O,setShowPNModal:L,handleClickOption:e=>{const t=(e=>{let t="";const a=e.split("|");return 1===a.length?e:(Object.keys($).map((e=>{const i=e.split("|");if(a.length===i.length){let n=0;a.map((e=>{i.includes(String(e))&&(n+=1)})),n===a.length&&(t=e)}})),t)})(e);if(t){const e=$[t];e.action===gc.ShowPremiumModal?m?L(!0):(!e.useValueAfterUserBack&&P({action:gc.Hide}),!e.useValueAfterUserBack&&(null==v||v({action:gc.Hide}))):e.action===gc.ShowTool?(P({action:gc.ShowTool,props:e.props}),null==v||v({action:gc.ShowTool,props:e.props})):e.action===gc.ShowOptionBanner&&(P({action:gc.ShowOptionBanner,props:e.props}),null==v||v({action:gc.ShowOptionBanner,props:e.props}))}},source:w,Outside:_,minHeight:180}},i.createElement(Vc,null)):1!==(null==N?void 0:N.subscription)&&m?i.createElement(D,Object.assign({mih:{base:144,md:160},fluid:!0,p:0,sx:{borderRadius:4,cursor:"pointer"},onClick:()=>t(void 0,void 0,void 0,(function*(){const e=c?Fe(A)+"/dang-ky-nhan-tin/":`${window.location.href}?source=acquisition`;T?null==f||f():window.location.href=`${Ue(A)}/?returnUrl=${encodeURIComponent(e)}`})),"data-event-category":"Newsletter","data-event-action":"Banner Click","data-event-label":u,className:"pointer-event-child-none"},C),i.createElement(ye,{src:c?we.getAssetPath(`newsletter/${g?"Mobile":"Desktop"}_Marketing.png`):we.getAssetPath(`newsletter/${g?"Mobile":"Desktop"}_${j}.png`),alt:"newsletter banner"})):null};export{na as $,zt as A,Bt as B,Pr as C,Ft as D,It as E,Dt as F,Pt as G,Lt as H,jt as I,Mt as J,Xt as K,xr as L,mi as M,Yt as N,ta as O,qc as P,aa as Q,Nt as R,Ha as S,Fn as T,Ot as U,Kt as V,Jt as W,Qt as X,ea as Y,ia as Z,oa as _,Gt as a,Do as a$,ra as a0,la as a1,pa as a2,ha as a3,va as a4,ya as a5,wa as a6,Ea as a7,Ca as a8,ka as a9,Vn as aA,Kn as aB,Yn as aC,Gn as aD,Qn as aE,Xn as aF,Zn as aG,ao as aH,Hn as aI,Un as aJ,Wn as aK,lo as aL,ro as aM,mo as aN,uo as aO,ho as aP,po as aQ,co as aR,No as aS,To as aT,zo as aU,Io as aV,Bo as aW,Po as aX,Lo as aY,Oo as aZ,no as a_,Aa as aa,Na as ab,za as ac,Pa as ad,Ba as ae,La as af,ja as ag,Ma as ah,Ra as ai,qa as aj,Za as ak,Ga as al,Xa as am,Qa as an,Wa as ao,Ka as ap,Ja as aq,Ya as ar,ei as as,ti as at,ai as au,ii as av,ni as aw,oi as ax,In as ay,qn as az,da as b,Ud as b$,Mo as b0,$o as b1,Ro as b2,jo as b3,eo as b4,Uo as b5,Jn as b6,so as b7,io as b8,to as b9,Xl as bA,Gl as bB,Ol as bC,jl as bD,Ll as bE,vs as bF,As as bG,Cs as bH,Bs as bI,_s as bJ,Us as bK,Vs as bL,Es as bM,Hs as bN,Ws as bO,qs as bP,Ys as bQ,Gs as bR,Xs as bS,Fs as bT,Rs as bU,ns as bV,Qs as bW,Fr as bX,lc as bY,sc as bZ,Sr as b_,Xo as ba,Vo as bb,Wo as bc,Ho as bd,Zo as be,Go as bf,Qo as bg,Yo as bh,Ko as bi,Jo as bj,er as bk,tr as bl,ar as bm,ir as bn,nr as bo,or as bp,yr as bq,Jl as br,Ql as bs,es as bt,os as bu,rs as bv,ms as bw,is as bx,bs as by,fs as bz,ba as c,pi as d,mr as e,Hc as f,Wc as g,hr as h,gr as i,Lr as j,Mr as k,Hr as l,Pl as m,wl as n,ul as o,Sl as p,ks as q,zs as r,Ts as s,Os as t,br as u,Bl as v,_d as w,$d as x,_r as y,rc as z};
6897
+ `;var dc;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(dc||(dc={}));const cc={DUE_DATE:dc.DUE_DATE,BMI:dc.BMI,BMR:dc.BMR,OVULATION:dc.OVULATION,IFRAME:dc.IFRAME,PWG:dc.PWG,THR:dc.THR,BABY_VACCINE:dc.BABY_VACCINE,BABY_GROWTH:dc.BABY_GROWTH,BABY_POOP:dc.BABY_POOP},pc={[cc.DUE_DATE]:we.getAssetPath("health-tools/due-date-icon.svg")};var mc,uc,hc,gc;!function(e){e.Pregnant="pregnant",e.Parenting="parenting"}(mc||(mc={})),function(e){e.Option="option"}(uc||(uc={})),function(e){e.Button="button",e.Checkbox="checkbox"}(hc||(hc={})),function(e){e.ShowTool="showTool",e.ShowPremiumModal="showPremiumModal",e.ShowOptionBanner="showOptionBanner",e.Hide="hide"}(gc||(gc={}));const bc=e=>({[cc.DUE_DATE]:{heading:e("pnBanner.dueDateTool.heading"),description:e("pnBanner.dueDateTool.desc"),btnLabel:e("pnBanner.caclNow"),value:cc.DUE_DATE,dataEventAction:"Try our Due Date Calculator Click"},[cc.BABY_VACCINE]:{heading:e("pnBanner.vaccination.heading"),description:e("pnBanner.vaccination.desc"),btnLabel:e("pnBanner.caclNow"),value:cc.BABY_VACCINE,dataEventAction:"Try our Baby Vaccine Scheduler Click"},[cc.BABY_GROWTH]:{heading:"Baby Growth",description:e("pnBanner.vaccination.desc"),btnLabel:e("pnBanner.caclNow"),value:cc.BABY_GROWTH},[De.HPV]:{heading:e("pnBanner.hpv.heading"),description:e("pnBanner.hpv.desc"),thumbnail:{desktop:we.getAssetPath("newsletter/banner-option-hpv-desktop.png"),mobile:we.getAssetPath("newsletter/banner-option-hpv-mobile.png")},isRiskScreener:!0,btnLabel:e("pnBanner.checkNow"),value:De.HPV,hideDescOnMobile:!0,dataEventAction:"Keep safe from HPV virus Click"}}),fc=u({}),vc="api/v1/categories?site={website_url}",xc="api/v1/subscription?site={website_url}",yc="api/v1/categories?site={website_url}";var wc=g((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:x(32),padding:`${x(6)} ${x(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const Ec=({heading:e,description:t,thumbnail:a={desktop:"",mobile:""},hideDescOnMobile:n,children:o})=>{const{isMobile:r,minHeight:l}=h(fc);return i.createElement(y,{sx:()=>({borderRadius:x(8),background:"linear-gradient(180deg, #FAFDFF 0%, #E3F2FF 100%)"})},i.createElement(y,{sx:e=>({minHeight:x(l),borderRadius:"inherit",background:`url(${r?a.mobile:a.desktop})`,backgroundPosition:"center right",backgroundRepeat:"no-repeat",backgroundSize:"contain",padding:`${x(24)} ${x(16)}`,display:"flex",flexDirection:"column",justifyContent:"center",[e.fn.largerThan("sm")]:{padding:`${x(22)} ${x(32)}`}})},i.createElement(C,{spacing:x(16)},i.createElement(C,{spacing:x(4),sx:e=>({maxWidth:"60%",[e.fn.largerThan("sm")]:{maxWidth:"70%"}})},e&&i.createElement($,{tag:"h4"},e),!(n&&r)&&t&&i.createElement(V,{size:"p4"},t)),i.createElement(y,null,o))))},kc=e=>{const{styleType:a=hc.Button,items:n=[],buttonProps:l,styles:s,submitBtnTracking:d}=e,{classes:c}=wc(void 0,{name:"PremiumBannerWithOptions",styles:s}),{t:p,locale:m}=ze(),{surveyType:u,articleId:g,handleClickOption:b,source:f,isMobile:w,isBack:E,hasPremiumBanner:k,setShowPNModal:C}=h(fc),A=o((()=>E||!k?n.filter((e=>!Boolean(e.isPNBtn))).filter(Boolean):n),[n]),{getHealthToolLink:S}=kt(m),N=wt({initialValues:{bannerOptions:[]}}),T=e=>t(void 0,void 0,void 0,(function*(){return yield se(ne(re.HEALTH_TOOL.CREATE,{_locale:m,type:Wc[u]}),"POST",{headers:{"Content-Type":"application/json"},data:{value:e,article:g,source:f}})})),z=r((()=>i.createElement(v,{gap:x(8),className:c.wrapper},A.map(((e,t)=>i.createElement(y,{key:String(t),component:e.isLink?"a":"div",href:e.isRiskScreener?`https://${Ie[m]}/bot/${Pe[m][e.activeTool]}/`:e.isLink?S(e.activeTool):void 0},i.createElement(M,Object.assign({className:c.button,classNames:{label:c.buttonLabel},size:"sm"},e.tracking,l,{onClick:()=>{e.isLink||(e.isPNBtn?C(!0):(T(e.value),b(e.value)))}}),e.label)))))),[A,N]),I=r((()=>i.createElement(v,null,i.createElement(v,{align:"center",gap:x(24),sx:e=>({background:"white",borderRadius:x(8),padding:x(4),[e.fn.largerThan("sm")]:{paddingLeft:x(16)}})},i.createElement(ue.Group,Object.assign({},N.getInputProps("bannerOptions",{type:"checkbox"})),i.createElement(v,{gap:x(16)},A.map(((e,t)=>i.createElement(ue,{key:String(t),value:e.value,label:e.label,styles:{label:{cursor:"pointer"}}}))))),i.createElement(M,Object.assign({size:"sm"},d,l,{disabled:0===N.getInputProps("bannerOptions").value.length,leftIcon:w?i.createElement(ke.ArrowRightTail,{size:18,useCurrentColor:!0}):void 0,onClick:()=>{const e=N.getInputProps("bannerOptions").value;T(e.join("|")),b(e.join("|"))},styles:e=>({root:{[e.fn.smallerThan("sm")]:{width:x(38),minWidth:"auto",padding:0}}})}),!w&&p("pnBanner.submit"))))),[A,N]);return i.createElement(Ec,Object.assign({},e),a===hc.Button?z():a===hc.Checkbox?I():null)},Cc=e=>{var t,a;const{t:n}=ze(),{heading:r,description:l,thumbnail:s,btnLabel:d,value:c,isRiskScreener:p,hideDescOnMobile:m,dataEventAction:u}=e,{locale:g}=ze(),{isMobile:b}=h(fc),{getHealthToolLink:f,allTools:y}=kt(g),w=p?"mainBanner":"toolBanner",E=o((()=>{const e=p?`https://${Ve?"":"discover."}${Ie[g]}/bot/${Pe[g][c]}`:f(c);return i.createElement("a",{href:e},i.createElement(M,{size:"sm","data-event-category":"Focused Audience","data-event-action":u,"data-event-label":e},d||n("pnBanner.caclNow")))}),[y]);return"mainBanner"===w?i.createElement(Ec,Object.assign({},Object.assign(Object.assign({},e),{thumbnail:e.thumbnail})),E):i.createElement(v,{gap:x(7),align:"center",justify:"space-between",sx:e=>({borderRadius:x(8),background:e.colors.blue[0],minHeight:x(180),padding:`${x(24)} ${x(16)}`,[e.fn.largerThan("sm")]:{padding:`${x(34)} ${x(32)}`}})},i.createElement(C,{spacing:x(12)},i.createElement(C,{spacing:x(4)},r&&i.createElement($,{tag:"h4"},r),!(b&&m)&&l&&i.createElement(V,{size:"p4"},l)),i.createElement(v,{gap:x(8),sx:{button:{minWidth:x(120)}}},E)),i.createElement(v,{align:"center",justify:"center",sx:e=>({width:x(96),height:x(96),borderRadius:"50%",background:"white",flexShrink:0,[e.fn.largerThan("sm")]:{width:x(112),height:x(112)},img:{maxWidth:x(64),[e.fn.largerThan("sm")]:{maxWidth:x(73)}}})},i.createElement("img",{alt:"health-tool-icon",src:s||(null===(a=null===(t=y.filter((e=>e.template===c)))||void 0===t?void 0:t[0])||void 0===a?void 0:a.icon)||pc[c]||"",loading:"lazy"})))},Ac=()=>{var e,t,a;const{t:n}=ze(),{state:o,Outside:r}=h(fc);return(null==o?void 0:o.action)===gc.ShowTool?i.createElement(r,null,bc(n)[null===(e=null==o?void 0:o.props)||void 0===e?void 0:e.value]?i.createElement(Cc,Object.assign({},bc(n)[null===(t=null==o?void 0:o.props)||void 0===t?void 0:t.value],{value:null===(a=null==o?void 0:o.props)||void 0===a?void 0:a.value})):null):(null==o?void 0:o.action)===gc.ShowOptionBanner?i.createElement(r,null,i.createElement(kc,Object.assign({},null==o?void 0:o.props))):null},Sc=t=>{var{isMobile:a,children:o,desktopBanner:r=we.getAssetPath("friso/onboarding-banner.jpg"),mobileBanner:l=we.getAssetPath("friso/onboarding-banner-mobile.jpg"),modalRatio:s={width:937,height:536},mobileBannerRatio:d={width:750,height:480},desktopBannerRatio:c={width:420,height:536},closeProps:p}=t,m=e(t,["isMobile","children","desktopBanner","mobileBanner","modalRatio","mobileBannerRatio","desktopBannerRatio","closeProps"]);const{width:u,height:h}=He(),g=(h<=667?190:265)+u*d.height/d.width+74,[b,f]=n(!1);return i.createElement(xt,Object.assign({styles:e=>({content:{flex:"auto",background:"transparent",[e.fn.smallerThan("sm")]:{maxHeight:"100%",height:"100%",position:"relative",borderRadius:0},[e.fn.largerThan("sm")]:{maxWidth:x(s.width),width:"100%",height:"100%",maxHeight:x(s.height),boxShadow:"none"}},body:{padding:0,width:"100%",height:"100%",[e.fn.largerThan("sm")]:{display:"flex",alignItems:"center"}},inner:{padding:0,[e.fn.smallerThan("sm")]:{display:"flex",alignItems:"flex-end"}}})},m),a?i.createElement(y,{sx:{position:"relative",height:"100%"},onTouchStart:()=>f(!0)},i.createElement(y,{className:"mobile-template",sx:{position:"absolute",height:100*(b?1:g/h)+"%",left:0,bottom:0,right:0,transition:"height 0.4s ease"}},i.createElement(y,{sx:{height:"100%",backgroundColor:"white",borderTopLeftRadius:b?0:x(12),borderTopRightRadius:b?0:x(12)}},i.createElement(y,{sx:{height:"calc(100% - 74px)",background:`url(${l})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"top center",overflowY:"auto",borderRadius:"inherit"}},i.createElement(M,Object.assign({unstyled:!0,leftIcon:i.createElement(ke.Close,null),sx:{position:"absolute",right:0,top:"10px",zIndex:1}},p,{onClick:()=>null==m?void 0:m.onClose()})),i.createElement(A,{ratio:(null==d?void 0:d.width)/(null==d?void 0:d.height),w:"100%"}),i.createElement(y,{sx:{padding:`${x(28)} ${x(16)} ${x(16)}`,background:"white"}},o))))):i.createElement(A,{className:"desktop-template",ratio:s.width/s.height,w:"100%",sx:{position:"relative","& > div":{justifyContent:"flex-end"}}},i.createElement(y,{sx:{width:"100%",height:"100%",justifyContent:"flex-end",alignItems:"stretch",borderRadius:x(8),background:"white",boxShadow:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 2.25rem 1.75rem -0.4375rem, rgba(0, 0, 0, 0.04) 0 1.0625rem 1.0625rem -0.4375rem"}},i.createElement("img",{alt:"",src:r,loading:"lazy",style:{borderTopLeftRadius:x(8),borderBottomLeftRadius:x(8),height:"100%",display:"block"}}),i.createElement(y,{sx:{position:"relative",height:"100%",width:(s.width-c.width)/s.width*100+"%"}},i.createElement(M,Object.assign({unstyled:!0,leftIcon:i.createElement(ke.Close,null)},p,{onClick:()=>null==m?void 0:m.onClose(),sx:{position:"absolute",right:0,top:"10px"}})),i.createElement(y,{className:"side-banner-modal-container",sx:{height:"100%",padding:`${x(40)} ${x(24)} 0`}},o)))))},Nc="user/subscription",Tc=u({}),zc=t=>{var a,{value:n,name:r,isMobile:l}=t,c=e(t,["value","name","isMobile"]);const p=s(null),m=o((()=>{var e;return Boolean(null===(e=p.current)||void 0===e?void 0:e.checked)}),[null===(a=p.current)||void 0===a?void 0:a.checked]);return d((()=>{var e,t;if(m){const a=null===(e=p.current)||void 0===e?void 0:e.querySelector(".mantine-Chip-checkIcon"),i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.setAttribute("width","16"),i.setAttribute("height","16"),i.setAttribute("viewBox","0 0 16 16"),i.setAttribute("fill","none"),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("class","mantine-Chip-checkIcon");const n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttribute("d","M13.32 3.99443C13.1468 3.99959 12.9825 4.07198 12.8617 4.19625L5.99973 11.0582L3.80442 8.86292C3.74299 8.79894 3.66941 8.74786 3.58799 8.71267C3.50657 8.67748 3.41895 8.65889 3.33025 8.65798C3.24156 8.65708 3.15358 8.67388 3.07146 8.70741C2.98934 8.74094 2.91474 8.79051 2.85202 8.85323C2.7893 8.91595 2.73973 8.99055 2.7062 9.07267C2.67267 9.15479 2.65587 9.24277 2.65677 9.33146C2.65768 9.42016 2.67627 9.50778 2.71146 9.5892C2.74665 9.67062 2.79773 9.7442 2.86171 9.80563L5.52838 12.4723C5.65341 12.5973 5.82295 12.6675 5.99973 12.6675C6.17651 12.6675 6.34606 12.5973 6.47108 12.4723L13.8044 5.13896C13.9008 5.04532 13.9666 4.92476 13.9932 4.79308C14.0198 4.6614 14.0061 4.52474 13.9537 4.40102C13.9013 4.2773 13.8128 4.17228 13.6998 4.09972C13.5867 4.02717 13.4543 3.99047 13.32 3.99443Z"),n.setAttribute("fill","#2D87F3"),i.appendChild(n),null===(t=null==a?void 0:a.parentNode)||void 0===t||t.replaceChild(i,a)}}),[m]),i.createElement(S,Object.assign({ref:p,value:n,radius:6},c,{styles:e=>({label:{display:"flex",border:"1px solid #DBDFE5 !important",borderRadius:6,padding:"8px 12px 8px 8px",height:"initial",gap:4,position:"relative","&[data-checked='true']":{borderColor:"#2D87F3 !important",backgroundColor:"#E3F2FF !important",color:"#2D87F3 !important",gap:0},"&:hover":{color:"initial",backgroundColor:"initial"},"&:not([data-checked])":{paddingLeft:36,[e.fn.smallerThan("sm")]:{paddingLeft:30},"&::before":{top:5,content:'"+"',position:"absolute",left:16,fontSize:18,color:"#262626",[e.fn.smallerThan("sm")]:{left:11}}}},input:{display:"none"}})}),i.createElement(V,{size:l?"p3":"p4",color:"gray.7",span:!0},r))},Ic=({topicsGroup:e,onTopicChange:t,isBlock:a=!1,selectedTopics:o=[],inputProps:r,labelProps:l,maxSelect:s=5,hasScroll:c,readonly:p})=>{const{action:{pushNotifications:m}}=h(Z),u=At(e.map((e=>e.topics||[]))),{t:g}=ze(),[b,f]=n([]);d((()=>{f(o)}),[o.length]),d((()=>{null==t||t(b)}),[b]);const x=e=>{e.length>5?m({type:"danger",title:g("pnTopicSection.maxSelectError.title",{maxSelect:s}),message:g("pnTopicSection.maxSelectError.desc")}):!p&&f((()=>u.filter((t=>e.some((e=>t.catId===e))))))};return i.createElement(C,{spacing:12},e.map(((e,t)=>i.createElement(C,{key:String(t),spacing:12},e.label&&i.createElement(V,Object.assign({size:"s5",color:"gray.4",weight:"semiBold"},l),e.label),c?i.createElement(N,{w:"100%",offsetScrollbars:!0,scrollbarSize:4,p:16,m:-16,styles:{viewport:{margin:-16,padding:16}}},i.createElement(y,{w:800},i.createElement(S.Group,Object.assign({value:b.map((e=>e.catId)),multiple:!0},r,{onChange:x}),i.createElement(v,{gap:8,wrap:"wrap"},e.topics.map((t=>i.createElement(zc,Object.assign({key:t.catId,value:t.catId,name:t.localName,isBlock:a},e.tracking)))))))):i.createElement(S.Group,Object.assign({value:b.map((e=>e.catId)),multiple:!0},r,{onChange:x}),i.createElement(v,{gap:8,wrap:"wrap"},e.topics.map((t=>t.catId?i.createElement(zc,Object.assign({key:t.catId,value:t.catId,name:t.localName,isBlock:a},e.tracking)):i.isValidElement(t.component)?t.component:null))))))))},Bc=t=>{var{heading:a,children:n,stickyActions:o}=t,r=e(t,["heading","children","stickyActions"]);const{isMobile:l}=h(Tc),s=i.createElement(C,{spacing:x(24),sx:{height:"100%"}},i.createElement($,{tag:"h4",style:{textAlign:"center"}},a),i.createElement(y,null,n));return i.createElement(y,{sx:e=>({[e.fn.largerThan("sm")]:{position:"relative",height:"100%"}})},l?s:i.createElement(N,Object.assign({className:"layout-body",h:o?"calc(100% - 90px)":"100%"},r),s),o&&i.createElement(v,{gap:x(8),sx:e=>({position:"absolute",left:0,right:0,bottom:0,padding:x(16),button:{flexGrow:1},justifyContent:"center",[e.fn.largerThan("sm")]:{padding:`${x(24)} 0`}})},o))},Dc=()=>{const{t:e,locale:a}=ze(),{data:{userInfo:r},action:{pushNotifications:l}}=h(Z),s=null==r?void 0:r.id,{currentUrl:c,isMobile:p,pnSuggestCategory:m=[],nextStep:u,formValues:g,setFormValues:b,onSubmit:f,submitLoading:v,selectCategory:y,setCategoryLibs:w,setSelectCategory:E,maxSelectCategory:k}=h(Tc),A=m.map((e=>e.catId)),S=wt({validate:{name:Et(e("healthToolPNModal.mainForm.requireName"))},initialValues:Object.assign(Object.assign({},g),{fitnessTopics:A})}),[N,T]=n([]),[z,I]=n([]);d((()=>{t(void 0,void 0,void 0,(function*(){var e;try{const t=yield se(he(yc,{_locale:a}),"get"),i=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.subscription)||[]).filter((e=>!A.includes(e.catId)));T(m),I(i),w([...m,...i])}catch(e){console.log(e)}}))}),[]),d((()=>{s&&S.setFieldValue("name",(null==r?void 0:r.name)||"")}),[s]);const B=()=>{""!==S.getInputProps("name").value?(b(S.getTransformedValues()),u()):S.validateField("name")},D=o((()=>i.createElement(M,{variant:"tertiary",dataEventCategory:"Newsletter",dataEventAction:"More Category Click",dataEventLabel:c,leftIcon:i.createElement(ke.Plus,{size:16,color:"#262626",useCurrentColor:!0}),onClick:B,styles:e=>({root:{borderRadius:x(6),padding:"2px 15px",height:x(40)},label:{fontSize:x(14),fontWeight:400,[e.fn.smallerThan("sm")]:{fontSize:x(12),lineHeight:x(16),height:x(40)}},leftIcon:{marginRight:"5px"}})},i.createElement(V,{size:p?"p3":"p4"},e("home.seeMore")))),[S]);return d((()=>{S.setFieldValue("fitnessTopics",y.map((e=>e.catId)))}),[y]),i.createElement("form",{style:{height:"100%"},onSubmit:S.onSubmit((t=>{if(0===y.length)return l({type:"danger",title:e("newsletter.error.minTitle"),message:e("newsletter.error.minCotennt")}),!1;b(t),null==f||f(t.name)}))},i.createElement(Bc,{heading:e("healthToolPNModal.heading"),stickyActions:i.createElement(i.Fragment,null,i.createElement(M,{fullWidth:!0,type:"submit",dataEventCategory:"Newsletter",dataEventAction:"Register Click",dataEventLabel:c,loading:v,sx:{maxWidth:x(240)}},e("healthToolPNModal.register")))},i.createElement(C,{spacing:x(16)},i.createElement(ge,Object.assign({label:e("newsletter.welcome.description")},S.getInputProps("name"))),i.createElement(Ic,{topicsGroup:[...0===m.length&&0===z.length?[{topics:[{component:D}]}]:[],...m.length>0?[{label:e("healthToolPNModal.mainForm.tailorTopicsHeading"),topics:[...m,...0===z.length?[{component:D}]:[]]}]:[],...z.length>0?[{label:e("healthToolPNModal.findMore.chooseFav"),topics:[...z,...z.length>0?[{component:D}]:[]]}]:[]],selectedTopics:[...N],labelProps:{size:p?"p3":"p4",color:"gray.6"},onTopicChange:E,maxSelect:k}))))},Pc=m((function(t,a){var{label:n}=t,o=e(t,["label"]);return i.createElement("div",Object.assign({ref:a},o),i.createElement(T,{noWrap:!0},i.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),i.createElement(V,{size:"p3"},n)))})),Oc=m((function(t,a){var{label:n}=t,o=e(t,["label"]);return i.createElement("div",Object.assign({ref:a},o),i.createElement(V,{size:"p3"},n))})),Lc=({history:e,onDelete:t})=>i.createElement(v,{wrap:"wrap",gap:8},St(e,"catId").map((e=>i.createElement(z,{key:e.catId,rightSection:i.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:()=>null==t?void 0:t(e)},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 9C1.5 4.8525 4.8525 1.5 9 1.5C13.1475 1.5 16.5 4.8525 16.5 9C16.5 13.1475 13.1475 16.5 9 16.5C4.8525 16.5 1.5 13.1475 1.5 9ZM11.1677 12.2248C11.4602 12.5173 11.9327 12.5173 12.2252 12.2248C12.5101 11.9323 12.5101 11.4523 12.2252 11.1673L10.0577 8.99979L12.2252 6.83229C12.5177 6.53979 12.5177 6.0673 12.2252 5.7748C11.9327 5.4823 11.4602 5.4823 11.1677 5.7748L9.00015 7.9423L6.83265 5.7748C6.54015 5.4823 6.06765 5.4823 5.77515 5.7748C5.63471 5.91492 5.55579 6.10516 5.55579 6.30354C5.55579 6.50193 5.63471 6.69217 5.77515 6.83229L7.94265 8.99979L5.77515 11.1673C5.63471 11.3074 5.55579 11.4977 5.55579 11.696C5.55579 11.8944 5.63471 12.0847 5.77515 12.2248C6.06765 12.5173 6.54015 12.5173 6.83265 12.2248L9.00015 10.0573L11.1677 12.2248Z",fill:"#8C8C8C"})),styles:{root:{height:32,background:"#ffffff",padding:"5px 12px",border:`1px solid ${be.neutral[4]}`,borderRadius:32,textTransform:"unset"},rightSection:{height:18,cursor:"pointer"}}},i.createElement(V,{size:"p4"},e.localName))))),jc=({topics:e,onTopicChange:t,isBlock:a=!1,selectedTopics:o,labelProps:r,maxSelect:l=5})=>{const{action:{pushNotifications:s}}=h(Z),[c,p]=n([]),{t:m}=ze();d((()=>{p(o)}),[o.length]),d((()=>{t(c)}),[c]);return e&&0!==e.length?i.createElement(C,{spacing:12,px:16,mx:-16},i.createElement(V,Object.assign({size:"s5",color:"gray.4",weight:"semiBold"},r),m("pnTopicSection.recentView")),i.createElement(S.Group,{value:c.map((e=>e.catId)),onChange:t=>{a&&c.length<t.length?s({type:"danger",title:m("pnTopicSection.maxSelectError.title",{maxSelect:l}),message:m("pnTopicSection.maxSelectError.desc")}):p((()=>e.filter((e=>t.some((t=>e.catId===t))))))},multiple:!0},i.createElement(v,{gap:8,wrap:"wrap"},e.map(((e,t)=>i.createElement(zc,{key:t,value:e.catId,name:e.localName,isBlock:a})))))):null},Mc=t=>{var{topic:a,active:n,onClick:o}=t,r=e(t,["topic","active","onClick"]);return i.createElement(y,Object.assign({sx:e=>({position:"relative",cursor:"pointer",padding:2,borderRadius:8,boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04)",minHeight:x(130),[e.fn.largerThan("sm")]:{minHeight:x(138)}}),onClick:()=>o(a,n)},r),n&&i.createElement(y,{id:"test",sx:{position:"absolute",top:2,right:2,width:20,height:20,zIndex:1}},i.createElement("svg",{id:"test",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66699 9.99984C1.66699 5.39984 5.40033 1.6665 10.0003 1.6665C14.6003 1.6665 18.3337 5.39984 18.3337 9.99984C18.3337 14.5998 14.6003 18.3332 10.0003 18.3332C5.40033 18.3332 1.66699 14.5998 1.66699 9.99984ZM4.75066 10.5827L7.74232 13.5744C8.06732 13.8994 8.60066 13.8994 8.91732 13.5744L15.2423 7.2494C15.5673 6.9244 15.5673 6.3994 15.2423 6.0744C14.9173 5.7494 14.3923 5.7494 14.0673 6.0744L8.33399 11.8077L5.92566 9.40773C5.60066 9.08273 5.07566 9.08273 4.75066 9.40773C4.59461 9.56342 4.50692 9.7748 4.50692 9.99523C4.50692 10.2157 4.59461 10.427 4.75066 10.5827Z",fill:"#2D87F3"}),i.createElement("path",{d:"M7.74224 13.5772L4.75057 10.5856C4.59453 10.4299 4.50684 10.2185 4.50684 9.99808C4.50684 9.77765 4.59453 9.56627 4.75057 9.41058C5.07557 9.08558 5.60057 9.08558 5.92557 9.41058L8.33391 11.8106L14.0672 6.07725C14.3922 5.75225 14.9172 5.75225 15.2422 6.07725C15.5672 6.40225 15.5672 6.92725 15.2422 7.25225L8.91724 13.5772C8.60057 13.9022 8.06724 13.9022 7.74224 13.5772Z",fill:"white"}))),i.createElement(y,{sx:{borderRadius:"8px"}},i.createElement(fe,{ratio:1.5,mb:10,sx:e=>({background:e.colors.neutral[0]})},i.createElement(y,null,i.createElement("img",{src:a.guid||"",alt:"cat",loading:"lazy",style:{maxHeight:"63px"}})))),i.createElement(V,{size:"p4",ta:"center",px:6,sx:{display:"-webkit-box","-webkit-line-clamp":"2","-webkit-box-orient":"vertical",overflow:"hidden"}},a.localName||""))},$c=({topics:e,selectedTopics:t=[],onTopicChange:a,isBlock:o=!1,labelProps:r,pushNotifications:l,maxSelect:c=5})=>{const{t:p}=ze(),[m,u]=n([]),h=(e,t)=>{if(t)u((t=>t.filter((t=>t.catId!==e.catId))));else{if(o)return void l({type:"danger",title:p("pnTopicSection.maxSelectError.title",{maxSelect:c}),message:p("pnTopicSection.maxSelectError.desc")});u((t=>[...t,e]))}};d((()=>{u(t)}),[t.length]),d((()=>{a(m)}),[m]);const[g,b]=n(!1),[f,x]=n(0),[w,E]=n(0),k=s(null),A=()=>{b(!1)};return i.createElement(C,{spacing:10},i.createElement(v,{justify:"space-between",align:"center",w:"100%"},i.createElement(V,Object.assign({size:"s5",color:"gray.4",weight:"semiBold",span:!0},r),p("pnTopicSection.trending"))),i.createElement(y,null,i.createElement(N,{type:"always",w:"100%",offsetScrollbars:!0,scrollbarSize:4,px:4,viewportRef:k,viewportProps:{onMouseDown:e=>{e.preventDefault(),k.current&&(b(!0),x(e.pageX-k.current.offsetLeft),E(k.current.scrollLeft))},onMouseUp:A,onMouseLeave:A,onMouseMove:e=>{if(e.preventDefault(),!g||!k.current)return;const t=2*(e.pageX-k.current.offsetLeft-f);k.current.scrollLeft=w-t}},styles:{viewport:{paddingBottom:16}}},i.createElement(y,{w:{base:112*e.length+8*(e.length-1)+10}},i.createElement(v,{gap:8},e.map(((e,t)=>i.createElement(Mc,{key:t,topic:e,onClick:h,active:m.some((t=>t.catId===e.catId)),w:{base:112}}))))))))},Rc=a=>{var{isLoggedIn:r,maxSelect:l=5,values:c=[],labelProps:p,onChange:m}=a,u=e(a,["isLoggedIn","maxSelect","values","labelProps","onChange"]);const{action:{pushNotifications:g}}=h(Z),[b,f]=n(""),{t:v,locale:w}=ze(),E=s(null),[k,A]=n([]),[S,N]=n([]),[T,z]=n([]),[B,D]=n([]),[P,O]=n(null),[L,j]=n([]);d((()=>{t(void 0,void 0,void 0,(function*(){var e,t;const a=yield se(he(vc,{_locale:w}),"get"),i=(null===(e=null==a?void 0:a.data)||void 0===e?void 0:e.interested)||[],n=(null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.trending)||[],o=St([...i,...n],"catId").map((e=>Object.assign(Object.assign({},e),{value:e.catId||"",label:e.localName||""})));if(j(o||[]),O((null==a?void 0:a.data)||null),c.length>0){const e=i.filter((e=>c.includes(e.catId))).map((e=>Object.assign(Object.assign({},e),{template:"interested"}))),t=n.filter((e=>c.includes(e.catId))).map((e=>Object.assign(Object.assign({},e),{template:"trending"})));D(e),N(t)}}))}),[r]);const M=o((()=>St([...k,...S,...B,...T],"catId")),[k,S,B,T]),[$,R]=n(!1);d((()=>{M.length>=l?R(!0):R(!1),null==m||m(M)}),[M]);return i.createElement(C,Object.assign({spacing:x(16)},u),i.createElement(C,{spacing:x(8)},i.createElement(V,{size:"p3"},v("pnTopicSection.maxSelectError.detail",{max:l,maxTopic:M.length})),i.createElement(I,{ref:E,maxSelectedValues:3,styles:{wrapper:{overflow:"initial !important"},separator:{padding:16},separatorLabel:{fontWeight:600,fontSize:12,lineHeight:"18px",textTransform:"uppercase",color:be.gray[4],"&::after":{display:"none"}},searchInput:{fontSize:"inherit"},input:{paddingRight:16}},nothingFound:i.createElement(V,{size:"s4",color:"gray.6"},v("pnTopicSection.notFound")),itemComponent:""===b?Pc:Oc,size:"lg",placeholder:v("pnTopicSection.plsEnterFavTopics"),data:L,onSearchChange:f,searchValue:b,icon:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9682 19.7465 14.8936 19.0205 16.4115 17.8063L20.3168 21.7116C20.7018 22.0966 21.3261 22.0966 21.7111 21.7116C22.0961 21.3266 22.0961 20.7023 21.7111 20.3173L17.8059 16.4121C19.0203 14.894 19.7465 12.9684 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#595959"})),rightSection:i.createElement(i.Fragment,null),zIndex:500,searchable:!0,withinPortal:!0,onChange:e=>{return a=e,t(void 0,void 0,void 0,(function*(){var e;const t={trending:N,recently:z,interested:D,default:A};let i="default";if($)g({type:"danger",title:v("pnTopicSection.maxSelectError.title",{maxSelect:l}),message:v("pnTopicSection.maxSelectError.desc")});else{const n=[{key:"trending",array:null==P?void 0:P.trending},{key:"recently",array:null==P?void 0:P.recently},{key:"interested",array:null==P?void 0:P.interested}].find((e=>{var t;return null===(t=e.array)||void 0===t?void 0:t.some((e=>e.catId===a[0]))}));i=(null==n?void 0:n.key)||"default",t[i]((e=>[...e,...L.filter((e=>a.some((t=>e.catId===t))))].map((e=>Object.assign(Object.assign({},e),{template:i}))))),null===(e=E.current)||void 0===e||e.blur()}return null}));var a},value:[]}),M&&M.length>0&&i.createElement(Lc,{history:M,onDelete:e=>{const t={trending:N,recently:z,interested:D,default:A};(t[e.template]||t.default)((t=>{const a=[...t],i=a.findIndex((t=>t.catId===e.catId));return a.splice(i,1),a}))}})),i.createElement(y,{sx:e=>({position:"relative",height:x(175),[e.fn.largerThan("sm")]:{height:x(190)}})},i.createElement(y,{sx:{position:"absolute",top:0,right:0,left:0}},i.createElement($c,{topics:((null==P?void 0:P.trending)||[]).map((e=>Object.assign(Object.assign({},e),{template:"trending"}))),selectedTopics:S,onTopicChange:N,isBlock:$,labelProps:p}))),i.createElement(jc,{topics:((null==P?void 0:P.recently)||[]).map((e=>Object.assign(Object.assign({},e),{template:"recently"}))),selectedTopics:T,onTopicChange:z,isBlock:$,labelProps:p}),i.createElement(Ic,{labelProps:p,topicsGroup:[{label:v("pnTopicSection.ppAlsoInterested"),topics:((null==P?void 0:P.interested)||[]).map((e=>Object.assign(Object.assign({},e),{template:"interested"})))}],selectedTopics:B,onTopicChange:D,isBlock:$}))},Fc=()=>{const{t:e}=ze(),{action:{pushNotifications:t}}=h(Z),{prevStep:a,formValues:n,submitLoading:o,onSubmit:r,selectCategory:l,maxSelectCategory:s,setSelectCategory:d,currentUrl:c,isLoggedIn:p}=h(Tc);return i.createElement(Bc,{heading:e("newsletter.topic.title"),type:"always",styles:{root:{paddingRight:x(25)}},stickyActions:i.createElement(i.Fragment,null,i.createElement(M,{fullWidth:!0,variant:"secondary",dataEventCategory:"Newsletter",dataEventAction:"Back Click",dataEventLabel:c,onClick:a},e("healthToolPNModal.back")),i.createElement(M,{fullWidth:!0,type:"submit",dataEventCategory:"Newsletter",dataEventAction:"Next Click",dataEventLabel:c,onClick:()=>{if(0===l.length)return t({type:"danger",title:e("newsletter.error.minTitle"),message:e("newsletter.error.minCotennt")}),!1;null==r||r(n.name)},loading:o},e("healthToolPNModal.next")))},i.createElement(Rc,{isLoggedIn:p,maxSelect:s,values:n.fitnessTopics,onChange:d,labelProps:{size:"s5",sx:{textTransform:"uppercase"}}}))},_c=()=>{const{t:e}=ze(),{close:t,selectCategory:a,onRegisterSuccess:n,currentUrl:o,finishLabelOnResult:r,disclaimerText:l}=h(Tc);return d((()=>()=>{setTimeout((()=>{null==n||n()}),400)}),[]),i.createElement(Bc,{heading:e("healthToolPNModal.heading"),stickyActions:i.createElement(M,{fullWidth:!0,sx:{maxWidth:x(300)},dataEventCategory:"Newsletter",dataEventAction:"Continue Reading Click",dataEventLabel:o,onClick:()=>{t()}},r||e("healthToolPNModal.finish"))},i.createElement(C,null,i.createElement(v,{gap:x(8),sx:e=>({background:e.colors.green[0],border:`1px solid ${e.colors.green[1]}`,borderRadius:x(8),padding:x(8)})},i.createElement(y,null,i.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.99984 18.3334C14.6022 18.3334 18.3332 14.6025 18.3332 10.0001C18.3332 5.39771 14.6022 1.66675 9.99984 1.66675C5.39746 1.66675 1.6665 5.39771 1.6665 10.0001C1.6665 14.6025 5.39746 18.3334 9.99984 18.3334Z",fill:"#00B16A"}),i.createElement("path",{d:"M9.58558 12.6674C9.22944 12.668 8.87668 12.5983 8.54752 12.4623C8.21835 12.3264 7.91925 12.1268 7.66732 11.8751L6.68587 10.8931C6.55607 10.7587 6.48424 10.5787 6.48587 10.3919C6.48749 10.2051 6.56243 10.0263 6.69455 9.89422C6.82667 9.7621 7.00539 9.68716 7.19222 9.68554C7.37906 9.68391 7.55906 9.75574 7.69345 9.88554L8.67491 10.8675C8.79344 10.986 8.93415 11.08 9.08902 11.1442C9.24389 11.2083 9.40987 11.2413 9.5775 11.2413C9.74513 11.2413 9.91111 11.2083 10.066 11.1442C10.2208 11.08 10.3616 10.986 10.4801 10.8675L16.7033 5.24335C16.8443 5.12184 17.0272 5.06032 17.213 5.07195C17.3987 5.08358 17.5726 5.16744 17.6973 5.30558C17.8221 5.44373 17.8878 5.6252 17.8805 5.81118C17.8731 5.99717 17.7933 6.17291 17.6581 6.30081L11.4592 11.8998C11.2128 12.1448 10.9205 12.3387 10.5989 12.4705C10.2774 12.6022 9.93304 12.6692 9.58558 12.6674Z",fill:"white"}))),i.createElement(V,{size:"p3"},l||e("pnModal.disclaimer"))),i.createElement($,{tag:"h5"},e("healthToolPNModal.yourPre")),a.length>0&&i.createElement(Ic,{topicsGroup:[{label:"",topics:a}],selectedTopics:a,readonly:!0})))},Uc=({isMobile:e,isLoggedIn:a,pnSuggestCategory:o=[],acquisitionInfo:l,currentUrl:s,opened:c,close:p,finishLabelOnResult:m,onRegisterSuccess:u,disclaimerText:g})=>{const{t:b,locale:f}=ze(),{action:{pushNotifications:v}}=h(Z),x=we.getAssetPath("premiumNewsletter/side-banner-desktop.jpg"),y=we.getAssetPath("premiumNewsletter/side-banner-mobile.jpg"),[w,E]=n([]),[k,C]=n([]),[A,S]=n(0),[N,T]=n({name:"",fitnessTopics:[]}),[z,I]=n(!1),D=()=>S(2),P=r((e=>t(void 0,void 0,void 0,(function*(){try{I(!0),yield se(he(xc,{website_url:ve(f)}),"post",{headers:{"Content-Type":"application/json"},method:"POST",data:{ga_client_id:Ct.get(Oe),client_ip:window.clientIP||"",user_info:Object.assign(Object.assign({},l.userInfo),{name:e||N.name,type_subscription:1}),domain:Ie[f||je.Vietnam],category:k,perferred:l.preferredTopics.map((({id:e})=>({id:e})))}}),I(!1),yield se(xe(Nc),"post",{headers:{"Content-Type":"application/json"},method:"PUT",data:{subscription:1}}),D()}catch(e){console.log({err:e}),I(!1),v({title:b("notification.comment.somethingWrong"),message:"",type:"danger"})}}))),[N,k]);return d((()=>{[x,y].forEach((e=>{(new Image).src=e}))}),[]),i.createElement(Tc.Provider,{value:{currentUrl:s,isMobile:e,isLoggedIn:a,opened:c,close:p,pnSuggestCategory:o,nextStep:()=>S((e=>e<3?e+1:e)),prevStep:()=>S((e=>e>0?e-1:e)),lastStep:D,categoryLibs:w,setCategoryLibs:E,selectCategory:k,setSelectCategory:C,formValues:N,setFormValues:T,maxSelectCategory:5,submitLoading:z,onSubmit:P,onRegisterSuccess:u,finishLabelOnResult:m,disclaimerText:g}},i.createElement(Sc,{isMobile:e,desktopBanner:we.getAssetPath("premiumNewsletter/side-banner-desktop.jpg"),mobileBanner:we.getAssetPath("premiumNewsletter/side-banner-mobile.jpg"),modalRatio:{width:960,height:588},desktopBannerRatio:{width:384,height:588},opened:c,onClose:p,zIndex:305,closeProps:{dataEventCategory:"Newsletter",dataEventAction:"Close Click",dataEventLabel:s}},i.createElement(B,{active:A,onStepClick:S,styles:{root:{height:"100%"},content:{padding:0,height:"100%",width:"100%"},steps:{display:"none"}}},i.createElement(B.Step,null,i.createElement(Dc,null)),i.createElement(B.Step,null,i.createElement(Fc,null)),i.createElement(B.Step,null,i.createElement(_c,null)))))},Vc=()=>{const{locale:e}=ze(),{isMobile:a,isLoggedIn:o,hasPremiumBanner:r,currentUrl:l,acquisitionInfo:s,categoryIds:c,state:p,setState:m,onChange:u,settings:g,submitHandler:b,subcribeHealthStatus:f,showPNModal:v,setShowPNModal:x,setIsBack:y}=h(fc),[w,E]=n([]),[k,C]=n(v);return d((()=>{t(void 0,void 0,void 0,(function*(){var t,a;const i=yield se(he(vc,{_locale:e}),"get"),n=[...(null===(t=null==i?void 0:i.data)||void 0===t?void 0:t.interested)||[],...(null===(a=null==i?void 0:i.data)||void 0===a?void 0:a.trending)||[]];E(n.filter((e=>c.includes(Number(e.catId)))));const o=(null==f?void 0:f.value)||"",r=o.split("|");let l=o;r.length>1&&(y(!0),Object.keys(b).map((e=>{const t=e.split("|");if(r.length===t.length){let a=0;r.map((e=>{t.includes(String(e))&&(a+=1)})),a===r.length&&(l=e)}})));const s=r.length>1?b[l]:g,d={action:null==s?void 0:s.action,props:null==s?void 0:s.props};m(d),null==u||u(d)}))}),[]),d((()=>{C(v)}),[v]),(null==p?void 0:p.action)!==gc.Hide?i.createElement(i.Fragment,null,i.createElement(Ac,Object.assign({},g.props)),i.createElement(Uc,{acquisitionInfo:s,isMobile:a,isLoggedIn:o,currentUrl:l,pnSuggestCategory:w,opened:k,close:()=>{var e;C(!1),x(!1),setTimeout((()=>{var e;(null===(e=p.actionParams)||void 0===e?void 0:e.hideBannerWhenClose)&&(m({action:gc.Hide}),null==u||u({action:gc.Hide}))}),400),(null===(e=p.actionParams)||void 0===e?void 0:e.hideBannerWhenClose)&&(m({action:gc.Hide}),null==u||u({action:gc.Hide}))},onRegisterSuccess:()=>C(!1)})):null},Hc={pregnancy:mc.Pregnant,parenting:mc.Parenting},Wc={[mc.Pregnant]:"pregnant",[mc.Parenting]:"parent"},qc=a=>{var{type:r,articleId:l=0,categoryIds:s=[],isMarketing:c,isSurveyType:p,hasPremiumBanner:m,currentUrl:u,isMobile:g,subcribeHealthStatus:b,setShouldAcquisitionModalOpen:f,onChange:v,source:w="discover",state:E,Wrapper:k}=a,C=e(a,["type","articleId","categoryIds","isMarketing","isSurveyType","hasPremiumBanner","currentUrl","isMobile","subcribeHealthStatus","setShouldAcquisitionModalOpen","onChange","source","state","Wrapper"]);const{locale:A,t:S}=ze(),{data:{userInfo:N}}=h(Z),T=Boolean(null==N?void 0:N.id),[z,I]=n(null),[B,P]=n(),[O,L]=n(!1),[j,M]=n(!1),$=o((()=>Hc[r]),[]),R=((e,t)=>({[mc.Pregnant]:{action:gc.ShowOptionBanner,props:{heading:e("pnBanner.pregnancy.heading"),description:e("pnBanner.pregnancy.desc"),styleType:hc.Button,thumbnail:{desktop:we.getAssetPath("newsletter/banner-option-pregnancy-desktop.png"),mobile:we.getAssetPath("newsletter/banner-option-pregnancy-mobile.png")},buttonProps:{variant:"white",styles:e=>({minWidth:x(80),[e.fn.largerThan("sm")]:{minWidth:x(120)}})},items:[{label:e("switchBtn.yes"),value:"yes",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Are you navigating the world of pregnancy - Yes Click",dataEventLabel:t}},{label:e("switchBtn.no"),value:"no",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Are you navigating the world of pregnancy - No Click",dataEventLabel:t}}]},submitHandler:{yes:{action:gc.ShowTool,props:{value:cc.DUE_DATE}},no:{action:gc.ShowPremiumModal}}},[mc.Parenting]:{action:gc.ShowOptionBanner,props:{heading:e("pnBanner.parenting.heading"),description:e("pnBanner.parenting.desc"),thumbnail:{desktop:we.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:we.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,styleType:hc.Checkbox,items:[{label:e("pnBanner.toddlers"),value:"todders"},{label:e("pnBanner.teenager"),value:"teenager"}],submitBtnTracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the age range of your kids Click",dataEventLabel:t}},submitHandler:{todders:{action:gc.ShowTool,props:{value:cc.BABY_VACCINE}},teenager:{action:gc.ShowOptionBanner,props:{styleType:hc.Button,heading:e("pnBanner.teenager.heading"),description:e("pnBanner.parenting.desc"),thumbnail:{desktop:we.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:we.getAssetPath("newsletter/banner-option-parenting-mobile.png")},buttonProps:{variant:"white"},items:[{label:e("childCard.boy"),value:"teenager.boy",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the gender of your kids - Boy Click",dataEventLabel:t}},{label:e("childCard.girl"),value:"teenager.girl",tracking:{dataEventCategory:"Focused Audience",dataEventAction:"What is the gender of your kids - Girl Click",dataEventLabel:t}}]}},"teenager.boy":{action:gc.ShowPremiumModal},"teenager.girl":{action:gc.ShowTool,activeTool:De.HPV,props:{value:De.HPV}},"todders|teenager":{action:gc.ShowOptionBanner,props:{styleType:hc.Button,heading:e("pnBanner.both.heading"),description:e("pnBanner.both.desc"),thumbnail:{desktop:we.getAssetPath("newsletter/banner-option-parenting-desktop.png"),mobile:we.getAssetPath("newsletter/banner-option-parenting-mobile.png")},hideDescOnMobile:!0,buttonProps:{variant:"secondary"},styles:e=>({wrapper:{[e.fn.smallerThan("sm")]:{flexDirection:"column"}},button:{background:e.colors.blue[0]}}),items:[{label:e("pnBanner.vaccine.btnLabel"),activeTool:cc.BABY_VACCINE,isLink:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Baby Vaccine Click",dataEventLabel:t}},{label:e("pnBanner.pn.btnLabel"),isPNBtn:!0,tracking:{dataEventCategory:"Focused Audience",dataEventAction:"Experience our tools for parent - Premium Newsletter Click",dataEventLabel:t}}]}}}}}))(S,u)[$],F=null==R?void 0:R.submitHandler,_=()=>t(void 0,void 0,void 0,(function*(){const e=c?_e(A)+"/dang-ky-nhan-tin/":`${window.location.href}?source=acquisition`;T?null==f||f():window.location.href=`${Ue(A)}/?returnUrl=${encodeURIComponent(e)}`})),U=e=>{const t=(e=>{let t="";const a=e.split("|");return 1===a.length?e:(Object.keys(F).map((e=>{const i=e.split("|");if(a.length===i.length){let n=0;a.map((e=>{i.includes(String(e))&&(n+=1)})),n===a.length&&(t=e)}})),t)})(e);if(t){const e=F[t];e.action===gc.ShowPremiumModal?m?(L(!0),P(Object.assign(Object.assign({},B),{actionParams:{hideBannerWhenClose:e.action===gc.ShowPremiumModal}}))):(P({action:gc.Hide}),null==v||v({action:gc.Hide})):(P(e),null==v||v(e))}},V=k||y,H=()=>i.createElement(D,Object.assign({mih:{base:144,md:160},fluid:!0,p:0,sx:{borderRadius:4,cursor:"pointer"},onClick:_,"data-event-category":"Newsletter","data-event-action":"Banner Click","data-event-label":u,className:"pointer-event-child-none"},C),i.createElement(ye,{src:c?we.getAssetPath(`newsletter/${g?"Mobile":"Desktop"}_Marketing.png`):we.getAssetPath(`newsletter/${g?"Mobile":"Desktop"}_${r}.png`),alt:"newsletter banner"})),W=()=>1!==(null==N?void 0:N.subscription)?i.createElement(H,null):null;return d((()=>{T&&I({userInfo:N,preferredTopics:ur,healthTopics:[]})}),[T]),d((()=>{P(E)}),[E]),T?p&&R&&void 0!==b?(()=>{const e=F[(null==b?void 0:b.value)||""];return(null==e?void 0:e.action)===gc.ShowPremiumModal?W():i.createElement(fc.Provider,{value:{settings:R,submitHandler:F,type:r,surveyType:$,isMobile:g,isLoggedIn:T,hasPremiumBanner:m,currentUrl:u,acquisitionInfo:z,categoryIds:s,subcribeHealthStatus:b,articleId:l,onChange:v,state:B,setState:P,handleClickOption:U,showPNModal:O,setShowPNModal:L,source:w,Outside:V,isBack:j,setIsBack:M,minHeight:180}},i.createElement(Vc,null))})():m?W():null:m?i.createElement(H,null):null};export{na as $,zt as A,Bt as B,Pr as C,_t as D,It as E,Dt as F,Pt as G,Lt as H,jt as I,Mt as J,Xt as K,xr as L,mi as M,Yt as N,ta as O,wl as P,aa as Q,Nt as R,Ha as S,_n as T,Ot as U,Kt as V,Jt as W,Qt as X,ea as Y,ia as Z,oa as _,Gt as a,Do as a$,ra as a0,la as a1,pa as a2,ha as a3,va as a4,ya as a5,wa as a6,Ea as a7,Ca as a8,ka as a9,Vn as aA,Kn as aB,Yn as aC,Gn as aD,Qn as aE,Xn as aF,Zn as aG,ao as aH,Hn as aI,Un as aJ,Wn as aK,lo as aL,ro as aM,mo as aN,uo as aO,ho as aP,po as aQ,co as aR,No as aS,To as aT,zo as aU,Io as aV,Bo as aW,Po as aX,Lo as aY,Oo as aZ,no as a_,Aa as aa,Na as ab,za as ac,Pa as ad,Ba as ae,La as af,ja as ag,Ma as ah,Ra as ai,qa as aj,Za as ak,Ga as al,Xa as am,Qa as an,Wa as ao,Ka as ap,Ja as aq,Ya as ar,ei as as,ti as at,ai as au,ii as av,ni as aw,oi as ax,In as ay,qn as az,da as b,Ud as b$,Mo as b0,$o as b1,Ro as b2,jo as b3,eo as b4,Uo as b5,Jn as b6,so as b7,io as b8,to as b9,Xl as bA,Gl as bB,Ol as bC,jl as bD,Ll as bE,vs as bF,As as bG,Cs as bH,Bs as bI,Fs as bJ,Us as bK,Vs as bL,Es as bM,Hs as bN,Ws as bO,qs as bP,Ys as bQ,Gs as bR,Xs as bS,_s as bT,Rs as bU,ns as bV,Qs as bW,_r as bX,lc as bY,sc as bZ,Sr as b_,Xo as ba,Vo as bb,Wo as bc,Ho as bd,Zo as be,Go as bf,Qo as bg,Yo as bh,Ko as bi,Jo as bj,er as bk,tr as bl,ar as bm,ir as bn,nr as bo,or as bp,yr as bq,Jl as br,Ql as bs,es as bt,os as bu,rs as bv,ms as bw,is as bx,bs as by,fs as bz,ba as c,pi as d,mr as e,qc as f,Hc as g,Wc as h,hr as i,gr as j,Lr as k,Mr as l,Hr as m,Pl as n,ul as o,Sl as p,ks as q,zs as r,Ts as s,Os as t,br as u,Bl as v,Fd as w,$d as x,Fr as y,rc as z};