@xframework-ca-test/cli 1.0.30 → 1.0.32

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 (308) hide show
  1. package/dist/customer-portal/android-chrome-192x192.png +0 -0
  2. package/dist/customer-portal/android-chrome-512x512.png +0 -0
  3. package/dist/customer-portal/apple-touch-icon.png +0 -0
  4. package/dist/customer-portal/assets/ActionLink-feb719a3.js +1 -0
  5. package/dist/customer-portal/assets/AdaptableCard-5bdf55ff.js +1 -0
  6. package/dist/customer-portal/assets/Alert-e6518529.js +1 -0
  7. package/dist/customer-portal/assets/Auth0Callback-a32aa0ee.js +1 -0
  8. package/dist/customer-portal/assets/BlankLayout-7d425a4f.js +1 -0
  9. package/dist/customer-portal/assets/Button-312a6bfe.js +1 -0
  10. package/dist/customer-portal/assets/Card-8badb238.js +1 -0
  11. package/dist/customer-portal/assets/Checkout-735fa664.js +1 -0
  12. package/dist/customer-portal/assets/ClassicLayout-43547087.js +1 -0
  13. package/dist/customer-portal/assets/Container-0271dbaa.js +1 -0
  14. package/dist/customer-portal/assets/CourseDetails-aa3fc18f.js +1 -0
  15. package/dist/customer-portal/assets/CourseService-150b9c3b.js +1 -0
  16. package/dist/customer-portal/assets/DeckedLayout-50b0b841.js +1 -0
  17. package/dist/customer-portal/assets/DocumentList-f286e322.js +367 -0
  18. package/dist/customer-portal/assets/FaqItems-f0ea3578.js +1 -0
  19. package/dist/customer-portal/assets/FormContainer-e0ad1074.js +1 -0
  20. package/dist/customer-portal/assets/HorizontalMenuContent-c2ce9ba4.js +1 -0
  21. package/dist/customer-portal/assets/Input-f9dc9df7.js +1 -0
  22. package/dist/customer-portal/assets/LogInAsUser-5301a711.js +1 -0
  23. package/dist/customer-portal/assets/LogInAsUserSuccess-c53d408d.js +1 -0
  24. package/dist/customer-portal/assets/Logo-aa883174.js +1 -0
  25. package/dist/customer-portal/assets/ModernLayout-fd6ab4e1.js +1 -0
  26. package/dist/customer-portal/assets/Password-6017abd1.js +1 -0
  27. package/dist/customer-portal/assets/PasswordInput-f6e74528.js +1 -0
  28. package/dist/customer-portal/assets/Preview-bcdcb9ef.js +1 -0
  29. package/dist/customer-portal/assets/Product-ed043f08.js +1 -0
  30. package/dist/customer-portal/assets/ProductsLayout-c61b7a8e.js +1 -0
  31. package/dist/customer-portal/assets/Profile-d747fa18.js +1 -0
  32. package/dist/customer-portal/assets/Roboto-300-18827349.woff +0 -0
  33. package/dist/customer-portal/assets/Roboto-300-1d8f5280.woff2 +0 -0
  34. package/dist/customer-portal/assets/Roboto-300-a6d343d4.ttf +0 -0
  35. package/dist/customer-portal/assets/Roboto-400-47107401.woff2 +0 -0
  36. package/dist/customer-portal/assets/Roboto-400-79e85140.ttf +0 -0
  37. package/dist/customer-portal/assets/Roboto-400-9ae9d654.woff +0 -0
  38. package/dist/customer-portal/assets/Roboto-500-4112fbc9.woff +0 -0
  39. package/dist/customer-portal/assets/Roboto-500-96025fe9.woff2 +0 -0
  40. package/dist/customer-portal/assets/Roboto-500-f205cc51.ttf +0 -0
  41. package/dist/customer-portal/assets/Roboto-700-7d0b991e.ttf +0 -0
  42. package/dist/customer-portal/assets/Roboto-700-8e44376b.woff2 +0 -0
  43. package/dist/customer-portal/assets/Roboto-700-b1767a0c.woff +0 -0
  44. package/dist/customer-portal/assets/SegmentItemOption-1228dbe0.js +1 -0
  45. package/dist/customer-portal/assets/Select-19bd23ac.js +27 -0
  46. package/dist/customer-portal/assets/SidePanelContent-0d8d0ddd.js +1 -0
  47. package/dist/customer-portal/assets/SimpleLayout-a34ce3d6.js +2 -0
  48. package/dist/customer-portal/assets/StackedSideLayout-d20fda92.js +1 -0
  49. package/dist/customer-portal/assets/SubscriptionService-ff0a4fe5.js +1 -0
  50. package/dist/customer-portal/assets/SvgIcon-8e59e50e.css +6 -0
  51. package/dist/customer-portal/assets/SvgIcon-e50d8824.js +1008 -0
  52. package/dist/customer-portal/assets/Switcher-4b56d286.js +1 -0
  53. package/dist/customer-portal/assets/Tag-0a3ddbe2.js +1 -0
  54. package/dist/customer-portal/assets/TicketService-0b9fd2cc.js +1 -0
  55. package/dist/customer-portal/assets/Upload-f16cbbc9.js +127 -0
  56. package/dist/customer-portal/assets/UserService-379fdae4.js +1 -0
  57. package/dist/customer-portal/assets/Views-7025458f.js +1 -0
  58. package/dist/customer-portal/assets/ar-bb9d99db.js +1 -0
  59. package/dist/customer-portal/assets/cloneDeep-958c9090.js +1 -0
  60. package/dist/customer-portal/assets/dash.all.min-5cea336e.js +21 -0
  61. package/dist/customer-portal/assets/dxicons-695e35c5.woff +0 -0
  62. package/dist/customer-portal/assets/dxicons-a7f2b877.woff2 +0 -0
  63. package/dist/customer-portal/assets/dxicons-ce18ad67.ttf +0 -0
  64. package/dist/customer-portal/assets/dxiconsmaterial-042942d9.woff2 +0 -0
  65. package/dist/customer-portal/assets/dxiconsmaterial-2ca243c8.woff +0 -0
  66. package/dist/customer-portal/assets/dxiconsmaterial-d53bccef.ttf +0 -0
  67. package/dist/customer-portal/assets/en-e8193568.js +1 -0
  68. package/dist/customer-portal/assets/es-74fe811a.js +1 -0
  69. package/dist/customer-portal/assets/get-e6d75ebc.js +1 -0
  70. package/dist/customer-portal/assets/hls-78bd63bc.js +40 -0
  71. package/dist/customer-portal/assets/index-108e74a4.js +1 -0
  72. package/dist/customer-portal/assets/index-21f8ea30.js +3146 -0
  73. package/dist/customer-portal/assets/index-39f1f77e.js +1 -0
  74. package/dist/customer-portal/assets/index-50d9ba0e.js +1 -0
  75. package/dist/customer-portal/assets/index-51020fda.js +1 -0
  76. package/dist/customer-portal/assets/index-59b78927.js +1 -0
  77. package/dist/customer-portal/assets/index-5ee26094.js +1 -0
  78. package/dist/customer-portal/assets/index-6300b1cb.js +1 -0
  79. package/dist/customer-portal/assets/index-64f43f5c.js +1 -0
  80. package/dist/customer-portal/assets/index-737fd7d3.js +173 -0
  81. package/dist/customer-portal/assets/index-7b067308.js +1 -0
  82. package/dist/customer-portal/assets/index-7fb11654.css +1 -0
  83. package/dist/customer-portal/assets/index-8017aaa8.js +1 -0
  84. package/dist/customer-portal/assets/index-91a81028.js +1 -0
  85. package/dist/customer-portal/assets/index-99f3e22d.js +1 -0
  86. package/dist/customer-portal/assets/index-a05b664a.js +9 -0
  87. package/dist/customer-portal/assets/index-b2e5d3b2.js +1 -0
  88. package/dist/customer-portal/assets/index-bba6cb11.js +1 -0
  89. package/dist/customer-portal/assets/index-cdf4c2fe.js +1 -0
  90. package/dist/customer-portal/assets/index-ce7c8371.js +9 -0
  91. package/dist/customer-portal/assets/index-d7b1d047.js +1 -0
  92. package/dist/customer-portal/assets/index-f3b18a56.js +1 -0
  93. package/dist/customer-portal/assets/index.esm-2becf208.js +4 -0
  94. package/dist/customer-portal/assets/index.esm-7fca4988.js +1 -0
  95. package/dist/customer-portal/assets/index.esm-d90c2f28.js +1 -0
  96. package/dist/customer-portal/assets/isEmpty-d6a6848e.js +1 -0
  97. package/dist/customer-portal/assets/mixin-cf90cd8a.js +43 -0
  98. package/dist/customer-portal/assets/moment-a9aaa855.js +10 -0
  99. package/dist/customer-portal/assets/myCourse-1e27ebf2.js +1 -0
  100. package/dist/customer-portal/assets/react-22b3ad73.js +32 -0
  101. package/dist/customer-portal/assets/react-27635538.js +27 -0
  102. package/dist/customer-portal/assets/react-35db633d.js +31 -0
  103. package/dist/customer-portal/assets/react-55737d69.js +44 -0
  104. package/dist/customer-portal/assets/react-5e997bd3.js +37 -0
  105. package/dist/customer-portal/assets/react-72b07884.js +16 -0
  106. package/dist/customer-portal/assets/react-a5b37028.js +29 -0
  107. package/dist/customer-portal/assets/react-cbdc2827.js +11 -0
  108. package/dist/customer-portal/assets/strongPassword-dc805a65.js +1 -0
  109. package/dist/customer-portal/assets/supportTicketLists-64ba33fc.js +1 -0
  110. package/dist/customer-portal/assets/ticketDetails-25fa14db.js +1 -0
  111. package/dist/customer-portal/assets/useControllableState-ed446800.js +1 -0
  112. package/dist/customer-portal/assets/useThemeClass-61b1bbbf.js +1 -0
  113. package/dist/customer-portal/assets/useTimeOutMessage-04464c25.js +1 -0
  114. package/dist/customer-portal/assets/warning-eb037686.js +1 -0
  115. package/dist/customer-portal/assets/zh-cn-9d3866aa.js +1 -0
  116. package/dist/customer-portal/browserconfig.xml +9 -0
  117. package/dist/customer-portal/config.js +12 -0
  118. package/dist/customer-portal/data/features.json +11423 -0
  119. package/dist/customer-portal/data/order-list.csv +15 -0
  120. package/dist/customer-portal/data/product-list.csv +13 -0
  121. package/dist/customer-portal/data/unemployment-by-county-2017.csv +3220 -0
  122. package/dist/customer-portal/favicon-16x16.png +0 -0
  123. package/dist/customer-portal/favicon-32x32.png +0 -0
  124. package/dist/customer-portal/favicon.ico +0 -0
  125. package/dist/customer-portal/img/avatars/thumb-1.jpg +0 -0
  126. package/dist/customer-portal/img/avatars/thumb-10.jpg +0 -0
  127. package/dist/customer-portal/img/avatars/thumb-11.jpg +0 -0
  128. package/dist/customer-portal/img/avatars/thumb-12.jpg +0 -0
  129. package/dist/customer-portal/img/avatars/thumb-13.jpg +0 -0
  130. package/dist/customer-portal/img/avatars/thumb-14.jpg +0 -0
  131. package/dist/customer-portal/img/avatars/thumb-15.jpg +0 -0
  132. package/dist/customer-portal/img/avatars/thumb-16.jpg +0 -0
  133. package/dist/customer-portal/img/avatars/thumb-2.jpg +0 -0
  134. package/dist/customer-portal/img/avatars/thumb-3.jpg +0 -0
  135. package/dist/customer-portal/img/avatars/thumb-4.jpg +0 -0
  136. package/dist/customer-portal/img/avatars/thumb-5.jpg +0 -0
  137. package/dist/customer-portal/img/avatars/thumb-6.jpg +0 -0
  138. package/dist/customer-portal/img/avatars/thumb-7.jpg +0 -0
  139. package/dist/customer-portal/img/avatars/thumb-8.jpg +0 -0
  140. package/dist/customer-portal/img/avatars/thumb-9.jpg +0 -0
  141. package/dist/customer-portal/img/countries/ar.png +0 -0
  142. package/dist/customer-portal/img/countries/cn.png +0 -0
  143. package/dist/customer-portal/img/countries/fr.png +0 -0
  144. package/dist/customer-portal/img/countries/jp.png +0 -0
  145. package/dist/customer-portal/img/countries/sp.png +0 -0
  146. package/dist/customer-portal/img/countries/us.png +0 -0
  147. package/dist/customer-portal/img/email/email-logo.png +0 -0
  148. package/dist/customer-portal/img/icons/caCharts.svg +5396 -0
  149. package/dist/customer-portal/img/icons/caCounts.svg +10950 -0
  150. package/dist/customer-portal/img/icons/caGrids.svg +11059 -0
  151. package/dist/customer-portal/img/icons/caMaps.svg +10944 -0
  152. package/dist/customer-portal/img/icons/caPipelines.svg +11008 -0
  153. package/dist/customer-portal/img/icons/caStatus.svg +16718 -0
  154. package/dist/customer-portal/img/icons/caTargets.svg +10977 -0
  155. package/dist/customer-portal/img/icons/caTasks.svg +10995 -0
  156. package/dist/customer-portal/img/logo/Group.png +0 -0
  157. package/dist/customer-portal/img/logo/aica.svg +16 -0
  158. package/dist/customer-portal/img/logo/logo-dark-full.png +0 -0
  159. package/dist/customer-portal/img/logo/logo-dark-streamline.png +0 -0
  160. package/dist/customer-portal/img/logo/logo-grey.png +0 -0
  161. package/dist/customer-portal/img/logo/logo-light-full.png +0 -0
  162. package/dist/customer-portal/img/logo/logo-light-streamline.png +0 -0
  163. package/dist/customer-portal/img/logo/logo.svg +1 -0
  164. package/dist/customer-portal/img/map/pin-dark.png +0 -0
  165. package/dist/customer-portal/img/map/pin-orange.png +0 -0
  166. package/dist/customer-portal/img/map/pin-red.png +0 -0
  167. package/dist/customer-portal/img/others/auth-cover-bg.jpg +0 -0
  168. package/dist/customer-portal/img/others/auth-side-bg.jpg +0 -0
  169. package/dist/customer-portal/img/others/docs/blank-dark.jpg +0 -0
  170. package/dist/customer-portal/img/others/docs/blank.jpg +0 -0
  171. package/dist/customer-portal/img/others/docs/classic-dark.jpg +0 -0
  172. package/dist/customer-portal/img/others/docs/classic.jpg +0 -0
  173. package/dist/customer-portal/img/others/docs/decked-dark.jpg +0 -0
  174. package/dist/customer-portal/img/others/docs/decked.jpg +0 -0
  175. package/dist/customer-portal/img/others/docs/modern-dark.jpg +0 -0
  176. package/dist/customer-portal/img/others/docs/modern.jpg +0 -0
  177. package/dist/customer-portal/img/others/docs/simple-dark.jpg +0 -0
  178. package/dist/customer-portal/img/others/docs/simple.jpg +0 -0
  179. package/dist/customer-portal/img/others/docs/stackedSide-dark.jpg +0 -0
  180. package/dist/customer-portal/img/others/docs/stackedSide.jpg +0 -0
  181. package/dist/customer-portal/img/others/img-1.jpg +0 -0
  182. package/dist/customer-portal/img/others/img-10.png +0 -0
  183. package/dist/customer-portal/img/others/img-11.jpg +0 -0
  184. package/dist/customer-portal/img/others/img-13.jpg +0 -0
  185. package/dist/customer-portal/img/others/img-14.jpg +0 -0
  186. package/dist/customer-portal/img/others/img-15.jpg +0 -0
  187. package/dist/customer-portal/img/others/img-16.jpg +0 -0
  188. package/dist/customer-portal/img/others/img-17.png +0 -0
  189. package/dist/customer-portal/img/others/img-2-dark.png +0 -0
  190. package/dist/customer-portal/img/others/img-2.png +0 -0
  191. package/dist/customer-portal/img/others/img-8.png +0 -0
  192. package/dist/customer-portal/img/others/img-9.png +0 -0
  193. package/dist/customer-portal/img/others/no-mail-selected-dark.png +0 -0
  194. package/dist/customer-portal/img/others/no-mail-selected.png +0 -0
  195. package/dist/customer-portal/img/others/no-notification.png +0 -0
  196. package/dist/customer-portal/img/others/pending-approval-dark.png +0 -0
  197. package/dist/customer-portal/img/others/pending-approval.png +0 -0
  198. package/dist/customer-portal/img/others/upload-dark.png +0 -0
  199. package/dist/customer-portal/img/others/upload.png +0 -0
  200. package/dist/customer-portal/img/others/welcome-dark.png +0 -0
  201. package/dist/customer-portal/img/others/welcome.png +0 -0
  202. package/dist/customer-portal/img/products/product-1-2.jpg +0 -0
  203. package/dist/customer-portal/img/products/product-1-3.jpg +0 -0
  204. package/dist/customer-portal/img/products/product-1-4.jpg +0 -0
  205. package/dist/customer-portal/img/products/product-1.jpg +0 -0
  206. package/dist/customer-portal/img/products/product-10.jpg +0 -0
  207. package/dist/customer-portal/img/products/product-11.jpg +0 -0
  208. package/dist/customer-portal/img/products/product-12.jpg +0 -0
  209. package/dist/customer-portal/img/products/product-2-2.jpg +0 -0
  210. package/dist/customer-portal/img/products/product-2.jpg +0 -0
  211. package/dist/customer-portal/img/products/product-3.jpg +0 -0
  212. package/dist/customer-portal/img/products/product-4.jpg +0 -0
  213. package/dist/customer-portal/img/products/product-5.jpg +0 -0
  214. package/dist/customer-portal/img/products/product-6.jpg +0 -0
  215. package/dist/customer-portal/img/products/product-7.jpg +0 -0
  216. package/dist/customer-portal/img/products/product-8.jpg +0 -0
  217. package/dist/customer-portal/img/products/product-9.jpg +0 -0
  218. package/dist/customer-portal/img/theme/bg_center_image.jpg +0 -0
  219. package/dist/customer-portal/img/theme/login_center.jpg +0 -0
  220. package/dist/customer-portal/img/theme/login_side.jpg +0 -0
  221. package/dist/customer-portal/img/theme/login_side_wide.jpg +0 -0
  222. package/dist/customer-portal/img/thumbs/adobe-xd.png +0 -0
  223. package/dist/customer-portal/img/thumbs/avalanche.png +0 -0
  224. package/dist/customer-portal/img/thumbs/bitcoin-cash.png +0 -0
  225. package/dist/customer-portal/img/thumbs/bitcoin-sv.png +0 -0
  226. package/dist/customer-portal/img/thumbs/bitcoin.png +0 -0
  227. package/dist/customer-portal/img/thumbs/cardano.png +0 -0
  228. package/dist/customer-portal/img/thumbs/chainlink.png +0 -0
  229. package/dist/customer-portal/img/thumbs/doge.png +0 -0
  230. package/dist/customer-portal/img/thumbs/drivers-license-back-dark.png +0 -0
  231. package/dist/customer-portal/img/thumbs/drivers-license-back.png +0 -0
  232. package/dist/customer-portal/img/thumbs/drivers-license-front-dark.png +0 -0
  233. package/dist/customer-portal/img/thumbs/drivers-license-front.png +0 -0
  234. package/dist/customer-portal/img/thumbs/dropbox.png +0 -0
  235. package/dist/customer-portal/img/thumbs/eos.png +0 -0
  236. package/dist/customer-portal/img/thumbs/ethereum.png +0 -0
  237. package/dist/customer-portal/img/thumbs/figma.png +0 -0
  238. package/dist/customer-portal/img/thumbs/github.png +0 -0
  239. package/dist/customer-portal/img/thumbs/gitlab.png +0 -0
  240. package/dist/customer-portal/img/thumbs/google-drive.png +0 -0
  241. package/dist/customer-portal/img/thumbs/help-center-category-0-dark.png +0 -0
  242. package/dist/customer-portal/img/thumbs/help-center-category-0.png +0 -0
  243. package/dist/customer-portal/img/thumbs/help-center-category-1-dark.png +0 -0
  244. package/dist/customer-portal/img/thumbs/help-center-category-1.png +0 -0
  245. package/dist/customer-portal/img/thumbs/help-center-category-2-dark.png +0 -0
  246. package/dist/customer-portal/img/thumbs/help-center-category-2.png +0 -0
  247. package/dist/customer-portal/img/thumbs/help-center-category-3-dark.png +0 -0
  248. package/dist/customer-portal/img/thumbs/help-center-category-3.png +0 -0
  249. package/dist/customer-portal/img/thumbs/help-center-category-4-dark.png +0 -0
  250. package/dist/customer-portal/img/thumbs/help-center-category-4.png +0 -0
  251. package/dist/customer-portal/img/thumbs/help-center-category-5-dark.png +0 -0
  252. package/dist/customer-portal/img/thumbs/help-center-category-5.png +0 -0
  253. package/dist/customer-portal/img/thumbs/help-center-category-6-dark.png +0 -0
  254. package/dist/customer-portal/img/thumbs/help-center-category-6.png +0 -0
  255. package/dist/customer-portal/img/thumbs/help-center-category-7-dark.png +0 -0
  256. package/dist/customer-portal/img/thumbs/help-center-category-7.png +0 -0
  257. package/dist/customer-portal/img/thumbs/hubspot.png +0 -0
  258. package/dist/customer-portal/img/thumbs/id-card-back-dark.png +0 -0
  259. package/dist/customer-portal/img/thumbs/id-card-back.png +0 -0
  260. package/dist/customer-portal/img/thumbs/id-card-front-dark.png +0 -0
  261. package/dist/customer-portal/img/thumbs/id-card-front.png +0 -0
  262. package/dist/customer-portal/img/thumbs/jira.png +0 -0
  263. package/dist/customer-portal/img/thumbs/layouts/blank-dark.jpg +0 -0
  264. package/dist/customer-portal/img/thumbs/layouts/blank.jpg +0 -0
  265. package/dist/customer-portal/img/thumbs/layouts/classic-dark.jpg +0 -0
  266. package/dist/customer-portal/img/thumbs/layouts/classic.jpg +0 -0
  267. package/dist/customer-portal/img/thumbs/layouts/decked-dark.jpg +0 -0
  268. package/dist/customer-portal/img/thumbs/layouts/decked.jpg +0 -0
  269. package/dist/customer-portal/img/thumbs/layouts/modern-dark.jpg +0 -0
  270. package/dist/customer-portal/img/thumbs/layouts/modern.jpg +0 -0
  271. package/dist/customer-portal/img/thumbs/layouts/simple-dark.jpg +0 -0
  272. package/dist/customer-portal/img/thumbs/layouts/simple.jpg +0 -0
  273. package/dist/customer-portal/img/thumbs/layouts/stackedSide-dark.jpg +0 -0
  274. package/dist/customer-portal/img/thumbs/layouts/stackedSide.jpg +0 -0
  275. package/dist/customer-portal/img/thumbs/litecoin.png +0 -0
  276. package/dist/customer-portal/img/thumbs/miota.png +0 -0
  277. package/dist/customer-portal/img/thumbs/monero.png +0 -0
  278. package/dist/customer-portal/img/thumbs/notion.png +0 -0
  279. package/dist/customer-portal/img/thumbs/passport-dark.png +0 -0
  280. package/dist/customer-portal/img/thumbs/passport-data-dark.png +0 -0
  281. package/dist/customer-portal/img/thumbs/passport-data.png +0 -0
  282. package/dist/customer-portal/img/thumbs/passport.png +0 -0
  283. package/dist/customer-portal/img/thumbs/polkadot.png +0 -0
  284. package/dist/customer-portal/img/thumbs/polygon.png +0 -0
  285. package/dist/customer-portal/img/thumbs/ripple.png +0 -0
  286. package/dist/customer-portal/img/thumbs/saleforce-crm.png +0 -0
  287. package/dist/customer-portal/img/thumbs/shiba-inu.png +0 -0
  288. package/dist/customer-portal/img/thumbs/sketch.png +0 -0
  289. package/dist/customer-portal/img/thumbs/slack.png +0 -0
  290. package/dist/customer-portal/img/thumbs/solana.png +0 -0
  291. package/dist/customer-portal/img/thumbs/stellar-lumens.png +0 -0
  292. package/dist/customer-portal/img/thumbs/tether-us.png +0 -0
  293. package/dist/customer-portal/img/thumbs/tron.png +0 -0
  294. package/dist/customer-portal/img/thumbs/zapier.png +0 -0
  295. package/dist/customer-portal/img/thumbs/zendesk.png +0 -0
  296. package/dist/customer-portal/img/video/bg-login.mp4 +0 -0
  297. package/dist/customer-portal/index.html +31 -0
  298. package/dist/customer-portal/logo192.png +0 -0
  299. package/dist/customer-portal/logo512.png +0 -0
  300. package/dist/customer-portal/manifest.json +20 -0
  301. package/dist/customer-portal/mstile-150x150.png +0 -0
  302. package/dist/customer-portal/robots.txt +3 -0
  303. package/dist/customer-portal/safari-pinned-tab.svg +70 -0
  304. package/dist/customer-portal/web.config +27 -0
  305. package/dist/ui/config.js +20 -16
  306. package/dist/ui/menudata/menus.json +606 -0
  307. package/index.bundle.js +72 -37
  308. package/package.json +1 -1
@@ -0,0 +1,37 @@
1
+ var tt=Object.defineProperty;var rt=(r,t,e)=>t in r?tt(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var fe=(r,t,e)=>(rt(r,typeof t!="symbol"?t+"":t,e),e),Me=(r,t,e)=>{if(!t.has(r))throw TypeError("Cannot "+e)};var _=(r,t,e)=>(Me(r,t,"read from private field"),e?e.call(r):t.get(r)),j=(r,t,e)=>{if(t.has(r))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(r):t.set(r,e)},P=(r,t,e,n)=>(Me(r,t,"write to private field"),n?n.call(r,e):t.set(r,e),e);var Re=(r,t,e)=>(Me(r,t,"access private method"),e);import{R as nt}from"./index-737fd7d3.js";/*! @vimeo/player v2.29.0 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function je(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),e.push.apply(e,n)}return e}function Le(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?je(Object(e),!0).forEach(function(n){me(r,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):je(Object(e)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(e,n))})}return r}function I(){I=function(){return r};var r={},t=Object.prototype,e=t.hasOwnProperty,n=Object.defineProperty||function(c,l,d){c[l]=d.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function h(c,l,d){return Object.defineProperty(c,l,{value:d,enumerable:!0,configurable:!0,writable:!0}),c[l]}try{h({},"")}catch{h=function(l,d,S){return l[d]=S}}function u(c,l,d,S){var k=l&&l.prototype instanceof M?l:M,O=Object.create(k.prototype),R=new D(S||[]);return n(O,"_invoke",{value:v(c,d,R)}),O}function m(c,l,d){try{return{type:"normal",arg:c.call(l,d)}}catch(S){return{type:"throw",arg:S}}}r.wrap=u;var y={};function M(){}function T(){}function w(){}var N={};h(N,a,function(){return this});var A=Object.getPrototypeOf,L=A&&A(A(x([])));L&&L!==t&&e.call(L,a)&&(N=L);var g=w.prototype=M.prototype=Object.create(N);function p(c){["next","throw","return"].forEach(function(l){h(c,l,function(d){return this._invoke(l,d)})})}function f(c,l){function d(k,O,R,V){var $=m(c[k],c,O);if($.type!=="throw"){var ne=$.arg,ce=ne.value;return ce&&typeof ce=="object"&&e.call(ce,"__await")?l.resolve(ce.__await).then(function(Y){d("next",Y,R,V)},function(Y){d("throw",Y,R,V)}):l.resolve(ce).then(function(Y){ne.value=Y,R(ne)},function(Y){return d("throw",Y,R,V)})}V($.arg)}var S;n(this,"_invoke",{value:function(k,O){function R(){return new l(function(V,$){d(k,O,V,$)})}return S=S?S.then(R,R):R()}})}function v(c,l,d){var S="suspendedStart";return function(k,O){if(S==="executing")throw new Error("Generator is already running");if(S==="completed"){if(k==="throw")throw O;return Te()}for(d.method=k,d.arg=O;;){var R=d.delegate;if(R){var V=E(R,d);if(V){if(V===y)continue;return V}}if(d.method==="next")d.sent=d._sent=d.arg;else if(d.method==="throw"){if(S==="suspendedStart")throw S="completed",d.arg;d.dispatchException(d.arg)}else d.method==="return"&&d.abrupt("return",d.arg);S="executing";var $=m(c,l,d);if($.type==="normal"){if(S=d.done?"completed":"suspendedYield",$.arg===y)continue;return{value:$.arg,done:d.done}}$.type==="throw"&&(S="completed",d.method="throw",d.arg=$.arg)}}}function E(c,l){var d=l.method,S=c.iterator[d];if(S===void 0)return l.delegate=null,d==="throw"&&c.iterator.return&&(l.method="return",l.arg=void 0,E(c,l),l.method==="throw")||d!=="return"&&(l.method="throw",l.arg=new TypeError("The iterator does not provide a '"+d+"' method")),y;var k=m(S,c.iterator,l.arg);if(k.type==="throw")return l.method="throw",l.arg=k.arg,l.delegate=null,y;var O=k.arg;return O?O.done?(l[c.resultName]=O.value,l.next=c.nextLoc,l.method!=="return"&&(l.method="next",l.arg=void 0),l.delegate=null,y):O:(l.method="throw",l.arg=new TypeError("iterator result is not an object"),l.delegate=null,y)}function C(c){var l={tryLoc:c[0]};1 in c&&(l.catchLoc=c[1]),2 in c&&(l.finallyLoc=c[2],l.afterLoc=c[3]),this.tryEntries.push(l)}function b(c){var l=c.completion||{};l.type="normal",delete l.arg,c.completion=l}function D(c){this.tryEntries=[{tryLoc:"root"}],c.forEach(C,this),this.reset(!0)}function x(c){if(c){var l=c[a];if(l)return l.call(c);if(typeof c.next=="function")return c;if(!isNaN(c.length)){var d=-1,S=function k(){for(;++d<c.length;)if(e.call(c,d))return k.value=c[d],k.done=!1,k;return k.value=void 0,k.done=!0,k};return S.next=S}}return{next:Te}}function Te(){return{value:void 0,done:!0}}return T.prototype=w,n(g,"constructor",{value:w,configurable:!0}),n(w,"constructor",{value:T,configurable:!0}),T.displayName=h(w,s,"GeneratorFunction"),r.isGeneratorFunction=function(c){var l=typeof c=="function"&&c.constructor;return!!l&&(l===T||(l.displayName||l.name)==="GeneratorFunction")},r.mark=function(c){return Object.setPrototypeOf?Object.setPrototypeOf(c,w):(c.__proto__=w,h(c,s,"GeneratorFunction")),c.prototype=Object.create(g),c},r.awrap=function(c){return{__await:c}},p(f.prototype),h(f.prototype,o,function(){return this}),r.AsyncIterator=f,r.async=function(c,l,d,S,k){k===void 0&&(k=Promise);var O=new f(u(c,l,d,S),k);return r.isGeneratorFunction(l)?O:O.next().then(function(R){return R.done?R.value:O.next()})},p(g),h(g,s,"Generator"),h(g,a,function(){return this}),h(g,"toString",function(){return"[object Generator]"}),r.keys=function(c){var l=Object(c),d=[];for(var S in l)d.push(S);return d.reverse(),function k(){for(;d.length;){var O=d.pop();if(O in l)return k.value=O,k.done=!1,k}return k.done=!0,k}},r.values=x,D.prototype={constructor:D,reset:function(c){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!c)for(var l in this)l.charAt(0)==="t"&&e.call(this,l)&&!isNaN(+l.slice(1))&&(this[l]=void 0)},stop:function(){this.done=!0;var c=this.tryEntries[0].completion;if(c.type==="throw")throw c.arg;return this.rval},dispatchException:function(c){if(this.done)throw c;var l=this;function d($,ne){return O.type="throw",O.arg=c,l.next=$,ne&&(l.method="next",l.arg=void 0),!!ne}for(var S=this.tryEntries.length-1;S>=0;--S){var k=this.tryEntries[S],O=k.completion;if(k.tryLoc==="root")return d("end");if(k.tryLoc<=this.prev){var R=e.call(k,"catchLoc"),V=e.call(k,"finallyLoc");if(R&&V){if(this.prev<k.catchLoc)return d(k.catchLoc,!0);if(this.prev<k.finallyLoc)return d(k.finallyLoc)}else if(R){if(this.prev<k.catchLoc)return d(k.catchLoc,!0)}else{if(!V)throw new Error("try statement without catch or finally");if(this.prev<k.finallyLoc)return d(k.finallyLoc)}}}},abrupt:function(c,l){for(var d=this.tryEntries.length-1;d>=0;--d){var S=this.tryEntries[d];if(S.tryLoc<=this.prev&&e.call(S,"finallyLoc")&&this.prev<S.finallyLoc){var k=S;break}}k&&(c==="break"||c==="continue")&&k.tryLoc<=l&&l<=k.finallyLoc&&(k=null);var O=k?k.completion:{};return O.type=c,O.arg=l,k?(this.method="next",this.next=k.finallyLoc,y):this.complete(O)},complete:function(c,l){if(c.type==="throw")throw c.arg;return c.type==="break"||c.type==="continue"?this.next=c.arg:c.type==="return"?(this.rval=this.arg=c.arg,this.method="return",this.next="end"):c.type==="normal"&&l&&(this.next=l),y},finish:function(c){for(var l=this.tryEntries.length-1;l>=0;--l){var d=this.tryEntries[l];if(d.finallyLoc===c)return this.complete(d.completion,d.afterLoc),b(d),y}},catch:function(c){for(var l=this.tryEntries.length-1;l>=0;--l){var d=this.tryEntries[l];if(d.tryLoc===c){var S=d.completion;if(S.type==="throw"){var k=S.arg;b(d)}return k}}throw new Error("illegal catch attempt")},delegateYield:function(c,l,d){return this.delegate={iterator:x(c),resultName:l,nextLoc:d},this.method==="next"&&(this.arg=void 0),y}},r}function Ie(r,t,e,n,i,a,o){try{var s=r[a](o),h=s.value}catch(u){e(u);return}s.done?t(h):Promise.resolve(h).then(n,i)}function X(r){return function(){var t=this,e=arguments;return new Promise(function(n,i){var a=r.apply(t,e);function o(h){Ie(a,n,i,o,s,"next",h)}function s(h){Ie(a,n,i,o,s,"throw",h)}o(void 0)})}}function He(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}function Fe(r,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,Ue(n.key),n)}}function Be(r,t,e){return t&&Fe(r.prototype,t),e&&Fe(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function me(r,t,e){return t=Ue(t),t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function it(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&ve(r,t)}function pe(r){return pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pe(r)}function ve(r,t){return ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},ve(r,t)}function Ge(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ye(r,t,e){return Ge()?ye=Reflect.construct.bind():ye=function(i,a,o){var s=[null];s.push.apply(s,a);var h=Function.bind.apply(i,s),u=new h;return o&&ve(u,o.prototype),u},ye.apply(null,arguments)}function at(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function _e(r){var t=typeof Map=="function"?new Map:void 0;return _e=function(n){if(n===null||!at(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return ye(n,arguments,pe(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ve(i,n)},_e(r)}function we(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function ot(r,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return we(r)}function ut(r){var t=Ge();return function(){var n=pe(r),i;if(t){var a=pe(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return ot(this,i)}}function st(r,t){if(typeof r!="object"||r===null)return r;var e=r[Symbol.toPrimitive];if(e!==void 0){var n=e.call(r,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function Ue(r){var t=st(r,"string");return typeof t=="symbol"?t:String(t)}var Qe=typeof global<"u"&&{}.toString.call(global)==="[object global]";function qe(r,t){return r.indexOf(t.toLowerCase())===0?r:"".concat(t.toLowerCase()).concat(r.substr(0,1).toUpperCase()).concat(r.substr(1))}function lt(r){return!!(r&&r.nodeType===1&&"nodeName"in r&&r.ownerDocument&&r.ownerDocument.defaultView)}function ct(r){return!isNaN(parseFloat(r))&&isFinite(r)&&Math.floor(r)==r}function re(r){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(r)}function Ye(r){var t=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return t.test(r)}function ft(r){for(var t=(r||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),e=(t&&t[1]||"").replace("player.",""),n=[".videoji.hk",".vimeo.work",".videoji.cn"],i=0,a=n;i<a.length;i++){var o=a[i];if(e.endsWith(o))return e}return"vimeo.com"}function Je(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=r.id,e=r.url,n=t||e;if(!n)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(ct(n))return"https://vimeo.com/".concat(n);if(re(n))return n.replace("http:","https:");throw t?new TypeError("“".concat(t,"” is not a valid video id.")):new TypeError("“".concat(n,"” is not a vimeo.com url."))}var De=function(t,e,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",o=typeof e=="string"?[e]:e;return o.forEach(function(s){t[i](s,n)}),{cancel:function(){return o.forEach(function(h){return t[a](h,n)})}}},ht=typeof Array.prototype.indexOf<"u",dt=typeof window<"u"&&typeof window.postMessage<"u";if(!Qe&&(!ht||!dt))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var ae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pt(r,t){return t={exports:{}},r(t,t.exports),t.exports}/*!
2
+ * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
3
+ * https://github.com/polygonplanet/weakmap-polyfill
4
+ * Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
5
+ * @license MIT
6
+ */(function(r){if(r.WeakMap)return;var t=Object.prototype.hasOwnProperty,e=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),n=function(a,o,s){e?Object.defineProperty(a,o,{configurable:!0,writable:!0,value:s}):a[o]=s};r.WeakMap=function(){function a(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",s("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(a.prototype,"delete",function(u){if(o(this,"delete"),!i(u))return!1;var m=u[this._id];return m&&m[0]===u?(delete u[this._id],!0):!1}),n(a.prototype,"get",function(u){if(o(this,"get"),!!i(u)){var m=u[this._id];if(m&&m[0]===u)return m[1]}}),n(a.prototype,"has",function(u){if(o(this,"has"),!i(u))return!1;var m=u[this._id];return!!(m&&m[0]===u)}),n(a.prototype,"set",function(u,m){if(o(this,"set"),!i(u))throw new TypeError("Invalid value used as weak map key");var y=u[this._id];return y&&y[0]===u?(y[1]=m,this):(n(u,this._id,[u,m]),this)});function o(u,m){if(!i(u)||!t.call(u,"_id"))throw new TypeError(m+" method called on incompatible receiver "+typeof u)}function s(u){return u+"_"+h()+"."+h()}function h(){return Math.random().toString().substring(2)}return n(a,"_polyfill",!0),a}();function i(a){return Object(a)===a}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:ae);var W=pt(function(r){/*! Native Promise Only
7
+ v0.8.1 (c) Kyle Simpson
8
+ MIT License: http://getify.mit-license.org
9
+ */(function(e,n,i){n[e]=n[e]||i(),r.exports&&(r.exports=n[e])})("Promise",ae,function(){var e,n,i,a=Object.prototype.toString,o=typeof setImmediate<"u"?function(p){return setImmediate(p)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(p,f,v,E){return Object.defineProperty(p,f,{value:v,writable:!0,configurable:E!==!1})}}catch{e=function(f,v,E){return f[v]=E,f}}i=function(){var p,f,v;function E(C,b){this.fn=C,this.self=b,this.next=void 0}return{add:function(b,D){v=new E(b,D),f?f.next=v:p=v,f=v,v=void 0},drain:function(){var b=p;for(p=f=n=void 0;b;)b.fn.call(b.self),b=b.next}}}();function s(g,p){i.add(g,p),n||(n=o(i.drain))}function h(g){var p,f=typeof g;return g!=null&&(f=="object"||f=="function")&&(p=g.then),typeof p=="function"?p:!1}function u(){for(var g=0;g<this.chain.length;g++)m(this,this.state===1?this.chain[g].success:this.chain[g].failure,this.chain[g]);this.chain.length=0}function m(g,p,f){var v,E;try{p===!1?f.reject(g.msg):(p===!0?v=g.msg:v=p.call(void 0,g.msg),v===f.promise?f.reject(TypeError("Promise-chain cycle")):(E=h(v))?E.call(v,f.resolve,f.reject):f.resolve(v))}catch(C){f.reject(C)}}function y(g){var p,f=this;if(!f.triggered){f.triggered=!0,f.def&&(f=f.def);try{(p=h(g))?s(function(){var v=new w(f);try{p.call(g,function(){y.apply(v,arguments)},function(){M.apply(v,arguments)})}catch(E){M.call(v,E)}}):(f.msg=g,f.state=1,f.chain.length>0&&s(u,f))}catch(v){M.call(new w(f),v)}}}function M(g){var p=this;p.triggered||(p.triggered=!0,p.def&&(p=p.def),p.msg=g,p.state=2,p.chain.length>0&&s(u,p))}function T(g,p,f,v){for(var E=0;E<p.length;E++)(function(b){g.resolve(p[b]).then(function(x){f(b,x)},v)})(E)}function w(g){this.def=g,this.triggered=!1}function N(g){this.promise=g,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function A(g){if(typeof g!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var p=new N(this);this.then=function(v,E){var C={success:typeof v=="function"?v:!0,failure:typeof E=="function"?E:!1};return C.promise=new this.constructor(function(D,x){if(typeof D!="function"||typeof x!="function")throw TypeError("Not a function");C.resolve=D,C.reject=x}),p.chain.push(C),p.state!==0&&s(u,p),C.promise},this.catch=function(v){return this.then(void 0,v)};try{g.call(void 0,function(v){y.call(p,v)},function(v){M.call(p,v)})}catch(f){M.call(p,f)}}var L=e({},"constructor",A,!1);return A.prototype=L,e(L,"__NPO__",0,!1),e(A,"resolve",function(p){var f=this;return p&&typeof p=="object"&&p.__NPO__===1?p:new f(function(E,C){if(typeof E!="function"||typeof C!="function")throw TypeError("Not a function");E(p)})}),e(A,"reject",function(p){return new this(function(v,E){if(typeof v!="function"||typeof E!="function")throw TypeError("Not a function");E(p)})}),e(A,"all",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):p.length===0?f.resolve([]):new f(function(E,C){if(typeof E!="function"||typeof C!="function")throw TypeError("Not a function");var b=p.length,D=Array(b),x=0;T(f,p,function(c,l){D[c]=l,++x===b&&E(D)},C)})}),e(A,"race",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):new f(function(E,C){if(typeof E!="function"||typeof C!="function")throw TypeError("Not a function");T(f,p,function(D,x){E(x)},C)})}),A})}),z=new WeakMap;function he(r,t,e){var n=z.get(r.element)||{};t in n||(n[t]=[]),n[t].push(e),z.set(r.element,n)}function be(r,t){var e=z.get(r.element)||{};return e[t]||[]}function ke(r,t,e){var n=z.get(r.element)||{};if(!n[t])return!0;if(!e)return n[t]=[],z.set(r.element,n),!0;var i=n[t].indexOf(e);return i!==-1&&n[t].splice(i,1),z.set(r.element,n),n[t]&&n[t].length===0}function vt(r,t){var e=be(r,t);if(e.length<1)return!1;var n=e.shift();return ke(r,t,n),n}function gt(r,t){var e=z.get(r);z.set(t,e),z.delete(r)}function Pe(r){if(typeof r=="string")try{r=JSON.parse(r)}catch(t){return console.warn(t),{}}return r}function J(r,t,e){if(!(!r.element.contentWindow||!r.element.contentWindow.postMessage)){var n={method:t};e!==void 0&&(n.value=e);var i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(n=JSON.stringify(n)),r.element.contentWindow.postMessage(n,r.origin)}}function mt(r,t){t=Pe(t);var e=[],n;if(t.event){if(t.event==="error"){var i=be(r,t.data.method);i.forEach(function(o){var s=new Error(t.data.message);s.name=t.data.name,o.reject(s),ke(r,t.data.method,o)})}e=be(r,"event:".concat(t.event)),n=t.data}else if(t.method){var a=vt(r,t.method);a&&(e.push(a),n=t.value)}e.forEach(function(o){try{if(typeof o=="function"){o.call(r,n);return}o.resolve(n)}catch{}})}var yt=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function Xe(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return yt.reduce(function(e,n){var i=r.getAttribute("data-vimeo-".concat(n));return(i||i==="")&&(e[n]=i===""?1:i),e},t)}function Ae(r,t){var e=r.html;if(!t)throw new TypeError("An element must be provided");if(t.getAttribute("data-vimeo-initialized")!==null)return t.querySelector("iframe");var n=document.createElement("div");return n.innerHTML=e,t.appendChild(n.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function Ke(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=arguments.length>2?arguments[2]:void 0;return new Promise(function(n,i){if(!re(r))throw new TypeError("“".concat(r,"” is not a vimeo.com url."));var a=ft(r),o="https://".concat(a,"/api/oembed.json?url=").concat(encodeURIComponent(r));for(var s in t)t.hasOwnProperty(s)&&(o+="&".concat(s,"=").concat(encodeURIComponent(t[s])));var h="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;h.open("GET",o,!0),h.onload=function(){if(h.status===404){i(new Error("“".concat(r,"” was not found.")));return}if(h.status===403){i(new Error("“".concat(r,"” is not embeddable.")));return}try{var u=JSON.parse(h.responseText);if(u.domain_status_code===403){Ae(u,e),i(new Error("“".concat(r,"” is not embeddable.")));return}n(u)}catch(m){i(m)}},h.onerror=function(){var u=h.status?" (".concat(h.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(u,".")))},h.send()})}function wt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,t=[].slice.call(r.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),e=function(i){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(i))};t.forEach(function(n){try{if(n.getAttribute("data-vimeo-defer")!==null)return;var i=Xe(n),a=Je(i);Ke(a,i,n).then(function(o){return Ae(o,n)}).catch(e)}catch(o){e(o)}})}function bt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var t=function(n){if(re(n.origin)&&!(!n.data||n.data.event!=="spacechange")){for(var i=r.querySelectorAll("iframe"),a=0;a<i.length;a++)if(i[a].contentWindow===n.source){var o=i[a].parentElement;o.style.paddingBottom="".concat(n.data.data[0].bottom,"px");break}}};window.addEventListener("message",t)}}function kt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var t=function(n){if(re(n.origin)){var i=Pe(n.data);if(!(!i||i.event!=="ready"))for(var a=r.querySelectorAll("iframe"),o=0;o<a.length;o++){var s=a[o],h=s.contentWindow===n.source;if(Ye(s.src)&&h){var u=new Ne(s);u.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",t)}}function Et(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var t=function(i){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(i))},e=function(i){if(re(i.origin)){var a=Pe(i.data);if(!(!a||a.event!=="ready"))for(var o=r.querySelectorAll("iframe"),s=function(){var m=o[h],y=m.contentWindow===i.source;if(Ye(m.src)&&y){var M=new Ne(m);M.getVideoId().then(function(T){var w=new RegExp("[?&]vimeo_t_".concat(T,"=([^&#]*)")).exec(window.location.href);if(w&&w[1]){var N=decodeURI(w[1]);M.setCurrentTime(N)}}).catch(t)}},h=0;h<o.length;h++)s()}};window.addEventListener("message",e)}}function Pt(){var r=function(){for(var n,i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],a=0,o=i.length,s={};a<o;a++)if(n=i[a],n&&n[1]in document){for(a=0;a<n.length;a++)s[i[0][a]]=n[a];return s}return!1}(),t={fullscreenchange:r.fullscreenchange,fullscreenerror:r.fullscreenerror},e={request:function(i){return new Promise(function(a,o){var s=function u(){e.off("fullscreenchange",u),a()};e.on("fullscreenchange",s),i=i||document.documentElement;var h=i[r.requestFullscreen]();h instanceof Promise&&h.then(s).catch(o)})},exit:function(){return new Promise(function(i,a){if(!e.isFullscreen){i();return}var o=function h(){e.off("fullscreenchange",h),i()};e.on("fullscreenchange",o);var s=document[r.exitFullscreen]();s instanceof Promise&&s.then(o).catch(a)})},on:function(i,a){var o=t[i];o&&document.addEventListener(o,a)},off:function(i,a){var o=t[i];o&&document.removeEventListener(o,a)}};return Object.defineProperties(e,{isFullscreen:{get:function(){return!!document[r.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[r.fullscreenEnabled]}}}),e}var Tt={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},Mt=function(r){it(e,r);var t=ut(e);function e(n,i){var a,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;return He(this,e),a=t.call(this),me(we(a),"logger",void 0),me(we(a),"speedAdjustment",0),me(we(a),"adjustSpeed",function(){var h=X(I().mark(function u(m,y){var M;return I().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(a.speedAdjustment!==y){w.next=2;break}return w.abrupt("return");case 2:return w.next=4,m.getPlaybackRate();case 4:return w.t0=w.sent,w.t1=a.speedAdjustment,w.t2=w.t0-w.t1,w.t3=y,M=w.t2+w.t3,a.log("New playbackRate: ".concat(M)),w.next=12,m.setPlaybackRate(M);case 12:a.speedAdjustment=y;case 13:case"end":return w.stop()}},u)}));return function(u,m){return h.apply(this,arguments)}}()),a.logger=s,a.init(i,n,Le(Le({},Tt),o)),a}return Be(e,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var n=X(I().mark(function a(o,s,h){var u=this,m,y,M;return I().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.waitForTOReadyState(o,"open");case 2:if(h.role!=="viewer"){w.next=10;break}return w.next=5,this.updatePlayer(o,s,h);case 5:m=De(o,"change",function(){return u.updatePlayer(o,s,h)}),y=this.maintainPlaybackPosition(o,s,h),this.addEventListener("disconnect",function(){y.cancel(),m.cancel()}),w.next=14;break;case 10:return w.next=12,this.updateTimingObject(o,s);case 12:M=De(s,["seeked","play","pause","ratechange"],function(){return u.updateTimingObject(o,s)},"on","off"),this.addEventListener("disconnect",function(){return M.cancel()});case 14:case"end":return w.stop()}},a,this)}));function i(a,o,s){return n.apply(this,arguments)}return i}()},{key:"updateTimingObject",value:function(){var n=X(I().mark(function a(o,s){return I().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.t0=o,u.next=3,s.getCurrentTime();case 3:return u.t1=u.sent,u.next=6,s.getPaused();case 6:if(!u.sent){u.next=10;break}u.t2=0,u.next=13;break;case 10:return u.next=12,s.getPlaybackRate();case 12:u.t2=u.sent;case 13:u.t3=u.t2,u.t4={position:u.t1,velocity:u.t3},u.t0.update.call(u.t0,u.t4);case 16:case"end":return u.stop()}},a)}));function i(a,o){return n.apply(this,arguments)}return i}()},{key:"updatePlayer",value:function(){var n=X(I().mark(function a(o,s,h){var u,m,y;return I().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(u=o.query(),m=u.position,y=u.velocity,typeof m=="number"&&s.setCurrentTime(m),typeof y!="number"){T.next=25;break}if(y!==0){T.next=11;break}return T.next=6,s.getPaused();case 6:if(T.t0=T.sent,T.t0!==!1){T.next=9;break}s.pause();case 9:T.next=25;break;case 11:if(!(y>0)){T.next=25;break}return T.next=14,s.getPaused();case 14:if(T.t1=T.sent,T.t1!==!0){T.next=19;break}return T.next=18,s.play().catch(function(){var w=X(I().mark(function N(A){return I().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(!(A.name==="NotAllowedError"&&h.autoPlayMuted)){g.next=5;break}return g.next=3,s.setMuted(!0);case 3:return g.next=5,s.play().catch(function(p){return console.error("Couldn't play the video from TimingSrcConnector. Error:",p)});case 5:case"end":return g.stop()}},N)}));return function(N){return w.apply(this,arguments)}}());case 18:this.updatePlayer(o,s,h);case 19:return T.next=21,s.getPlaybackRate();case 21:if(T.t2=T.sent,T.t3=y,T.t2===T.t3){T.next=25;break}s.setPlaybackRate(y);case 25:case"end":return T.stop()}},a,this)}));function i(a,o,s){return n.apply(this,arguments)}return i}()},{key:"maintainPlaybackPosition",value:function(i,a,o){var s=this,h=o.allowedDrift,u=o.maxAllowedDrift,m=o.minCheckInterval,y=o.maxRateAdjustment,M=o.maxTimeToCatchUp,T=Math.min(M,Math.max(m,u))*1e3,w=function(){var A=X(I().mark(function L(){var g,p,f,v,E;return I().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(b.t0=i.query().velocity===0,b.t0){b.next=6;break}return b.next=4,a.getPaused();case 4:b.t1=b.sent,b.t0=b.t1===!0;case 6:if(!b.t0){b.next=8;break}return b.abrupt("return");case 8:return b.t2=i.query().position,b.next=11,a.getCurrentTime();case 11:if(b.t3=b.sent,g=b.t2-b.t3,p=Math.abs(g),s.log("Drift: ".concat(g)),!(p>u)){b.next=22;break}return b.next=18,s.adjustSpeed(a,0);case 18:a.setCurrentTime(i.query().position),s.log("Resync by currentTime"),b.next=29;break;case 22:if(!(p>h)){b.next=29;break}return f=p/M,v=y,E=f<v?(v-f)/2:v,b.next=28,s.adjustSpeed(a,E*Math.sign(g));case 28:s.log("Resync by playbackRate");case 29:case"end":return b.stop()}},L)}));return function(){return A.apply(this,arguments)}}(),N=setInterval(function(){return w()},T);return{cancel:function(){return clearInterval(N)}}}},{key:"log",value:function(i){var a;(a=this.logger)===null||a===void 0||a.call(this,"TimingSrcConnector: ".concat(i))}},{key:"waitForTOReadyState",value:function(i,a){return new Promise(function(o){var s=function h(){i.readyState===a?o():i.addEventListener("readystatechange",h,{once:!0})};s()})}}]),e}(_e(EventTarget)),ie=new WeakMap,Se=new WeakMap,F={},Ne=function(){function r(t){var e=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(He(this,r),window.jQuery&&t instanceof jQuery&&(t.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),t=t[0]),typeof document<"u"&&typeof t=="string"&&(t=document.getElementById(t)),!lt(t))throw new TypeError("You must pass either a valid element or a valid id.");if(t.nodeName!=="IFRAME"){var i=t.querySelector("iframe");i&&(t=i)}if(t.nodeName==="IFRAME"&&!re(t.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(ie.has(t))return ie.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";var a=new W(function(s,h){if(e._onMessage=function(y){if(!(!re(y.origin)||e.element.contentWindow!==y.source)){e.origin==="*"&&(e.origin=y.origin);var M=Pe(y.data),T=M&&M.event==="error",w=T&&M.data&&M.data.method==="ready";if(w){var N=new Error(M.data.message);N.name=M.data.name,h(N);return}var A=M&&M.event==="ready",L=M&&M.method==="ping";if(A||L){e.element.setAttribute("data-ready","true"),s();return}mt(e,M)}},e._window.addEventListener("message",e._onMessage),e.element.nodeName!=="IFRAME"){var u=Xe(t,n),m=Je(u);Ke(m,u,t).then(function(y){var M=Ae(y,t);return e.element=M,e._originalElement=t,gt(t,M),ie.set(e.element,e),y}).catch(h)}});if(Se.set(this,a),ie.set(this.element,this),this.element.nodeName==="IFRAME"&&J(this,"ping"),F.isEnabled){var o=function(){return F.exit()};this.fullscreenchangeHandler=function(){F.isFullscreen?he(e,"event:exitFullscreen",o):ke(e,"event:exitFullscreen",o),e.ready().then(function(){J(e,"fullscreenchange",F.isFullscreen)})},F.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Be(r,[{key:"callMethod",value:function(e){for(var n=this,i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];if(e==null)throw new TypeError("You must pass a method name.");return new W(function(s,h){return n.ready().then(function(){he(n,e,{resolve:s,reject:h}),J(n,e,a)}).catch(h)})}},{key:"get",value:function(e){var n=this;return new W(function(i,a){return e=qe(e,"get"),n.ready().then(function(){he(n,e,{resolve:i,reject:a}),J(n,e)}).catch(a)})}},{key:"set",value:function(e,n){var i=this;return new W(function(a,o){if(e=qe(e,"set"),n==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){he(i,e,{resolve:a,reject:o}),J(i,e,n)}).catch(o)})}},{key:"on",value:function(e,n){if(!e)throw new TypeError("You must pass an event name.");if(!n)throw new TypeError("You must pass a callback function.");if(typeof n!="function")throw new TypeError("The callback must be a function.");var i=be(this,"event:".concat(e));i.length===0&&this.callMethod("addEventListener",e).catch(function(){}),he(this,"event:".concat(e),n)}},{key:"off",value:function(e,n){if(!e)throw new TypeError("You must pass an event name.");if(n&&typeof n!="function")throw new TypeError("The callback must be a function.");var i=ke(this,"event:".concat(e),n);i&&this.callMethod("removeEventListener",e).catch(function(a){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=Se.get(this)||new W(function(n,i){i(new Error("Unknown player. Probably unloaded."))});return W.resolve(e)}},{key:"addCuePoint",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:n})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,n){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:n})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return F.isEnabled?F.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return F.isEnabled?F.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return F.isEnabled?W.resolve(F.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var e=this;return new W(function(n){if(Se.delete(e),ie.delete(e.element),e._originalElement&&(ie.delete(e._originalElement),e._originalElement.removeAttribute("data-vimeo-initialized")),e.element&&e.element.nodeName==="IFRAME"&&e.element.parentNode&&(e.element.parentNode.parentNode&&e._originalElement&&e._originalElement!==e.element.parentNode?e.element.parentNode.parentNode.removeChild(e.element.parentNode):e.element.parentNode.removeChild(e.element)),e.element&&e.element.nodeName==="DIV"&&e.element.parentNode){e.element.removeAttribute("data-vimeo-initialized");var i=e.element.querySelector("iframe");i&&i.parentNode&&(i.parentNode.parentNode&&e._originalElement&&e._originalElement!==i.parentNode?i.parentNode.parentNode.removeChild(i.parentNode):i.parentNode.removeChild(i))}e._window.removeEventListener("message",e._onMessage),F.isEnabled&&F.off("fullscreenchange",e.fullscreenchangeHandler),n()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(e){return this.set("cameraProps",e)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return W.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"setColors",value:function(e){if(!Array.isArray(e))return new W(function(a,o){return o(new TypeError("Argument must be an array."))});var n=new W(function(a){return a(null)}),i=[e[0]?this.set("colorOne",e[0]):n,e[1]?this.set("colorTwo",e[1]):n,e[2]?this.set("colorThree",e[2]):n,e[3]?this.set("colorFour",e[3]):n];return W.all(i)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(e){return this.set("quality",e)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}},{key:"setTimingSrc",value:function(){var t=X(I().mark(function n(i,a){var o=this,s;return I().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(i){u.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return u.next=4,this.ready();case 4:return s=new Mt(this,i,a),J(this,"notifyTimingObjectConnect"),s.addEventListener("disconnect",function(){return J(o,"notifyTimingObjectDisconnect")}),u.abrupt("return",s);case 8:case"end":return u.stop()}},n,this)}));function e(n,i){return t.apply(this,arguments)}return e}()}]),r}();Qe||(F=Pt(),wt(),bt(),kt(),Et());const St="https://player.vimeo.com/video",Ct=/vimeo\.com\/(?:video\/|event\/)?(\d+)(?:\/([\w-]+))?/;function Ve(r,t={}){const e={src:Ot(r,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return t.config&&(e["data-config"]=JSON.stringify(t.config)),`
10
+ <style>
11
+ :host {
12
+ display: inline-block;
13
+ min-width: 300px;
14
+ min-height: 150px;
15
+ position: relative;
16
+ }
17
+ iframe {
18
+ position: absolute;
19
+ top: 0;
20
+ left: 0;
21
+ }
22
+ :host(:not([controls])) {
23
+ pointer-events: none;
24
+ }
25
+ </style>
26
+ <iframe${_t(e)}></iframe>
27
+ `}function Ot(r,t){if(!r.src)return;const e=r.src.match(Ct),n=e&&e[1],i=e&&e[2],a={controls:r.controls===""?null:0,autoplay:r.autoplay,loop:r.loop,muted:r.muted,playsinline:r.playsinline,preload:r.preload??"metadata",transparent:!1,autopause:r.autopause,h:i,...t.config};return`${St}/${n}?${At(a)}`}var oe,ue,ge,H,B,G,q,K,Z,U,ee,Q,se,le,te,Ee,Ze;class de extends(globalThis.HTMLElement??class{}){constructor(){super();j(this,Ee);fe(this,"loadComplete",new $e);j(this,oe,void 0);j(this,ue,void 0);j(this,ge,void 0);j(this,H,0);j(this,B,NaN);j(this,G,!1);j(this,q,!this.autoplay);j(this,K,1);j(this,Z,0);j(this,U,0);j(this,ee,!1);j(this,Q,1);j(this,se,NaN);j(this,le,NaN);j(this,te,null);Re(this,Ee,Ze).call(this,"config")}requestFullscreen(){var e,n;return(n=(e=this.api)==null?void 0:e.requestFullscreen)==null?void 0:n.call(e)}exitFullscreen(){var e,n;return(n=(e=this.api)==null?void 0:e.exitFullscreen)==null?void 0:n.call(e)}requestPictureInPicture(){var e,n;return(n=(e=this.api)==null?void 0:e.requestPictureInPicture)==null?void 0:n.call(e)}exitPictureInPicture(){var e,n;return(n=(e=this.api)==null?void 0:e.exitPictureInPicture)==null?void 0:n.call(e)}get config(){return _(this,te)}set config(e){P(this,te,e)}async load(){var e;if(_(this,oe))return;const n=!_(this,ue);_(this,ue)&&(this.loadComplete=new $e),P(this,ue,!0),await P(this,oe,Promise.resolve()),P(this,oe,null),P(this,H,0),P(this,B,NaN),P(this,G,!1),P(this,q,!this.autoplay),P(this,K,1),P(this,Z,0),P(this,U,0),P(this,ee,!1),P(this,Q,1),P(this,U,0),P(this,se,NaN),P(this,le,NaN),this.dispatchEvent(new Event("emptied"));let i=this.api;if(this.api=null,!this.src)return;this.dispatchEvent(new Event("loadstart"));const a={autoplay:this.autoplay,controls:this.controls,loop:this.loop,muted:this.defaultMuted,playsinline:this.playsInline,preload:this.preload??"metadata",transparent:!1,autopause:this.hasAttribute("autopause"),..._(this,te)},o=async()=>{P(this,U,1),this.dispatchEvent(new Event("loadedmetadata")),this.api&&(P(this,G,await this.api.getMuted()),P(this,Q,await this.api.getVolume()),this.dispatchEvent(new Event("volumechange")),P(this,B,await this.api.getDuration()),this.dispatchEvent(new Event("durationchange"))),this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve()};if(_(this,ge)){this.api=i,await this.api.loadVideo({...a,url:this.src}),await o(),await this.loadComplete;return}P(this,ge,!0);let s=(e=this.shadowRoot)==null?void 0:e.querySelector("iframe");n&&s&&P(this,te,JSON.parse(s.getAttribute("data-config")||"{}")),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=Ve(Rt(this.attributes),this),s=this.shadowRoot.querySelector("iframe")),this.api=new Ne(s);const h=document.createElement("video");this.textTracks=h.textTracks,this.api.getTextTracks().then(m=>{m.forEach(y=>{h.addTextTrack(y.kind,y.label,y.language)})}),this.textTracks.addEventListener("change",()=>{const m=Array.from(this.textTracks).find(y=>y.mode==="showing");m?this.api.enableTextTrack(m.language,m.kind):this.api.disableTextTrack()});const u=()=>{this.api.off("loaded",u),o()};this.api.on("loaded",u),this.api.on("bufferstart",()=>{_(this,q)&&(P(this,q,!1),this.dispatchEvent(new Event("play"))),this.dispatchEvent(new Event("waiting"))}),this.api.on("play",()=>{_(this,q)&&(P(this,q,!1),this.dispatchEvent(new Event("play")))}),this.api.on("playing",()=>{P(this,U,3),P(this,q,!1),this.dispatchEvent(new Event("playing"))}),this.api.on("seeking",()=>{P(this,ee,!0),this.dispatchEvent(new Event("seeking"))}),this.api.on("seeked",()=>{P(this,ee,!1),this.dispatchEvent(new Event("seeked"))}),this.api.on("pause",()=>{P(this,q,!0),this.dispatchEvent(new Event("pause"))}),this.api.on("ended",()=>{P(this,q,!0),this.dispatchEvent(new Event("ended"))}),this.api.on("ratechange",({playbackRate:m})=>{P(this,K,m),this.dispatchEvent(new Event("ratechange"))}),this.api.on("volumechange",async({volume:m})=>{P(this,Q,m),this.api&&P(this,G,await this.api.getMuted()),this.dispatchEvent(new Event("volumechange"))}),this.api.on("durationchange",({duration:m})=>{P(this,B,m),this.dispatchEvent(new Event("durationchange"))}),this.api.on("timeupdate",({seconds:m})=>{P(this,H,m),this.dispatchEvent(new Event("timeupdate"))}),this.api.on("progress",({seconds:m})=>{P(this,Z,m),this.dispatchEvent(new Event("progress"))}),this.api.on("resize",({videoWidth:m,videoHeight:y})=>{P(this,se,m),P(this,le,y),this.dispatchEvent(new Event("resize"))}),await this.loadComplete}async attributeChangedCallback(e,n,i){if(n!==i){switch(e){case"autoplay":case"controls":case"src":{this.load();return}}switch(await this.loadComplete,e){case"loop":{this.api.setLoop(this.loop);break}}}}async play(){var e;P(this,q,!1),this.dispatchEvent(new Event("play")),await this.loadComplete;try{await((e=this.api)==null?void 0:e.play())}catch(n){throw P(this,q,!0),this.dispatchEvent(new Event("pause")),n}}async pause(){var e;return await this.loadComplete,(e=this.api)==null?void 0:e.pause()}get ended(){return _(this,H)>=_(this,B)}get seeking(){return _(this,ee)}get readyState(){return _(this,U)}get videoWidth(){return _(this,se)}get videoHeight(){return _(this,le)}get src(){return this.getAttribute("src")}set src(e){this.src!=e&&this.setAttribute("src",e)}get paused(){return _(this,q)}get duration(){return _(this,B)}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(e){this.autoplay!=e&&this.toggleAttribute("autoplay",!!e)}get buffered(){return _(this,Z)>0?xe(0,_(this,Z)):xe()}get controls(){return this.hasAttribute("controls")}set controls(e){this.controls!=e&&this.toggleAttribute("controls",!!e)}get currentTime(){return _(this,H)}set currentTime(e){this.currentTime!=e&&(P(this,H,e),this.loadComplete.then(()=>{var n;(n=this.api)==null||n.setCurrentTime(e).catch(()=>{})}))}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(e){this.defaultMuted!=e&&this.toggleAttribute("muted",!!e)}get loop(){return this.hasAttribute("loop")}set loop(e){this.loop!=e&&this.toggleAttribute("loop",!!e)}get muted(){return _(this,G)}set muted(e){this.muted!=e&&(P(this,G,e),this.loadComplete.then(()=>{var n;(n=this.api)==null||n.setMuted(e).catch(()=>{})}))}get playbackRate(){return _(this,K)}set playbackRate(e){this.playbackRate!=e&&(P(this,K,e),this.loadComplete.then(()=>{var n;(n=this.api)==null||n.setPlaybackRate(e).catch(()=>{})}))}get playsInline(){return this.hasAttribute("playsinline")}set playsInline(e){this.playsInline!=e&&this.toggleAttribute("playsinline",!!e)}get poster(){return this.getAttribute("poster")}set poster(e){this.poster!=e&&this.setAttribute("poster",`${e}`)}get volume(){return _(this,Q)}set volume(e){this.volume!=e&&(P(this,Q,e),this.loadComplete.then(()=>{var n;(n=this.api)==null||n.setVolume(e).catch(()=>{})}))}}oe=new WeakMap,ue=new WeakMap,ge=new WeakMap,H=new WeakMap,B=new WeakMap,G=new WeakMap,q=new WeakMap,K=new WeakMap,Z=new WeakMap,U=new WeakMap,ee=new WeakMap,Q=new WeakMap,se=new WeakMap,le=new WeakMap,te=new WeakMap,Ee=new WeakSet,Ze=function(e){if(Object.prototype.hasOwnProperty.call(this,e)){const n=this[e];delete this[e],this[e]=n}},fe(de,"getTemplateHTML",Ve),fe(de,"shadowRootOptions",{mode:"open"}),fe(de,"observedAttributes",["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"]);function _t(r){let t="";for(const e in r){const n=r[e];n===""?t+=` ${Ce(e)}`:t+=` ${Ce(e)}="${Ce(`${n}`)}"`}return t}function Ce(r){return r.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/`/g,"&#x60;")}function At(r){return String(new URLSearchParams(Nt(r)))}function Nt(r){let t={};for(let e in r){let n=r[e];n===!0||n===""?t[e]=1:n===!1?t[e]=0:n!=null&&(t[e]=n)}return t}function Rt(r){let t={};for(let e of r)t[e.name]=e.value;return t}class $e extends Promise{constructor(t=()=>{}){let e,n;super((i,a)=>{t(i,a),e=i,n=a}),this.resolve=e,this.reject=n}}function xe(r,t){return Array.isArray(r)?Oe(r):r==null||t==null||r===0&&t===0?Oe([[0,0]]):Oe([[r,t]])}function Oe(r){return Object.defineProperties(r,{start:{value:t=>r[t][0]},end:{value:t=>r[t][1]}}),r}globalThis.customElements&&!globalThis.customElements.get("vimeo-video")&&globalThis.customElements.define("vimeo-video",de);var jt=de,Lt=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),It={className:"class",htmlFor:"for"};function et(r){return r.toLowerCase()}function We(r){if(typeof r=="boolean")return r?"":void 0;if(typeof r!="function"&&!(typeof r=="object"&&r!==null))return r}function Ft({react:r,tagName:t,elementClass:e,events:n,displayName:i,defaultProps:a,toAttributeName:o=et,toAttributeValue:s=We}){const h=Number.parseInt(r.version)>=19,u=r.forwardRef((m,y)=>{var M,T;const w=r.useRef(null),N=r.useRef(new Map),A={},L={},g={},p={};for(const[f,v]of Object.entries(m)){if(Lt.has(f)){g[f]=v;continue}const E=o(It[f]??f);if(e.prototype&&f in e.prototype&&!(f in(((M=globalThis.HTMLElement)==null?void 0:M.prototype)??{}))&&!((T=e.observedAttributes)!=null&&T.some(b=>b===E))){p[f]=v;continue}if(f.startsWith("on")){A[f]=v;continue}const C=s(v);if(E&&C!=null&&(L[E]=String(C),h||(g[E]=C)),E&&h){const b=We(v);C!==b?g[E]=C:g[E]=v}}if(typeof window<"u"){for(const f in A){const v=A[f],E=f.endsWith("Capture"),C=((n==null?void 0:n[f])??f.slice(2).toLowerCase()).slice(0,E?-7:void 0);r.useLayoutEffect(()=>{const b=w==null?void 0:w.current;if(!(!b||typeof v!="function"))return b.addEventListener(C,v,E),()=>{b.removeEventListener(C,v,E)}},[w==null?void 0:w.current,v])}r.useLayoutEffect(()=>{if(w.current===null)return;const f=new Map;for(const v in p)ze(w.current,v,p[v]),N.current.delete(v),f.set(v,p[v]);for(const[v,E]of N.current)ze(w.current,v,void 0);N.current=f})}if(typeof window>"u"&&(e!=null&&e.getTemplateHTML)&&(e!=null&&e.shadowRootOptions)){const{mode:f,delegatesFocus:v}=e.shadowRootOptions,E=r.createElement("template",{shadowrootmode:f,shadowrootdelegatesfocus:v,dangerouslySetInnerHTML:{__html:e.getTemplateHTML(L,m)}});g.children=[E,g.children]}return r.createElement(t,{...a,...g,ref:r.useCallback(f=>{w.current=f,typeof y=="function"?y(f):y!==null&&(y.current=f)},[y])})});return u.displayName=i??e.name,u}function ze(r,t,e){var n;r[t]=e,e==null&&t in(((n=globalThis.HTMLElement)==null?void 0:n.prototype)??{})&&r.removeAttribute(t)}var Vt=Ft({react:nt,tagName:"vimeo-video",elementClass:jt,toAttributeName(r){return r==="muted"?"":r==="defaultMuted"?"muted":et(r)}});/*! Bundled license information:
28
+
29
+ ce-la-react/dist/ce-la-react.js:
30
+ (**
31
+ * @license
32
+ * Copyright 2018 Google LLC
33
+ * SPDX-License-Identifier: BSD-3-Clause
34
+ *
35
+ * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
36
+ *)
37
+ */export{Vt as default};
@@ -0,0 +1,16 @@
1
+ var D=Object.defineProperty;var W=(t,o,e)=>o in t?D(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e;var M=(t,o,e)=>(W(t,typeof o!="symbol"?o+"":o,e),e),R=(t,o,e)=>{if(!o.has(t))throw TypeError("Cannot "+e)};var p=(t,o,e)=>(R(t,o,"read from private field"),e?e.call(t):o.get(t)),k=(t,o,e)=>{if(o.has(t))throw TypeError("Cannot add the same private member more than once");o instanceof WeakSet?o.add(t):o.set(t,e)},w=(t,o,e,u)=>(R(t,o,"write to private field"),u?u.call(t,e):o.set(t,e),e);var P=(t,o,e)=>(R(t,o,"access private method"),e);import{R as F}from"./index-737fd7d3.js";import{M as $,C as j}from"./mixin-cf90cd8a.js";import{H as E}from"./hls-78bd63bc.js";const z=t=>{var o,e,u,T,H,m,y,O;return o=class extends t{constructor(){super();k(this,T);k(this,y);k(this,e,null);k(this,u,null);k(this,m,()=>{var s,r,f;(s=this.nativeEl)!=null&&s.webkitCurrentPlaybackTargetIsWireless?(r=this.api)==null||r.stopLoad():(f=this.api)==null||f.startLoad()});P(this,y,O).call(this,"config")}get config(){return p(this,u)}set config(s){w(this,u,s)}attributeChangedCallback(s,r,f){s!=="src"&&super.attributeChangedCallback(s,r,f),s==="src"&&r!=f&&this.load()}async load(){var s,r;const f=!this.api;if(P(this,T,H).call(this),!!this.src){if(f&&!p(this,u)&&w(this,u,JSON.parse(((s=this.shadowRoot.getElementById("config"))==null?void 0:s.textContent)||"{}")),E.isSupported()){switch(await Promise.resolve(),this.api=new E({liveDurationInfinity:!0,autoStartLoad:!1,...this.config}),this.api.loadSource(this.src),this.api.attachMedia(this.nativeEl),this.nativeEl.preload){case"none":{const l=()=>this.api.startLoad();this.nativeEl.addEventListener("play",l,{once:!0}),this.api.on(E.Events.DESTROYING,()=>{this.nativeEl.removeEventListener("play",l)});break}case"metadata":{const l=this.api.config.maxBufferLength,a=this.api.config.maxBufferSize;this.api.config.maxBufferLength=1,this.api.config.maxBufferSize=1;const c=()=>{this.api.config.maxBufferLength=l,this.api.config.maxBufferSize=a};this.nativeEl.addEventListener("play",c,{once:!0}),this.api.on(E.Events.DESTROYING,()=>{this.nativeEl.removeEventListener("play",c)}),this.api.startLoad();break}default:this.api.startLoad()}this.nativeEl.webkitCurrentPlaybackTargetIsWireless&&this.api.stopLoad(),this.nativeEl.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",p(this,m)),w(this,e,document.createElement("source")),p(this,e).setAttribute("type","application/x-mpegURL"),p(this,e).setAttribute("src",this.src),this.nativeEl.disableRemotePlayback=!1,this.nativeEl.append(p(this,e));const h=new WeakMap;this.api.on(E.Events.MANIFEST_PARSED,(l,a)=>{this.nativeEl.autoplay&&this.nativeEl.paused&&this.nativeEl.play().catch(n=>{console.warn("Autoplay failed:",n)}),b();let c=this.videoTracks.getTrackById("main");c||(c=this.addVideoTrack("main"),c.id="main",c.selected=!0);for(const[n,i]of a.levels.entries()){const d=c.addRendition(i.url[0],i.width,i.height,i.videoCodec,i.bitrate);h.set(i,`${n}`),d.id=`${n}`}for(let[n,i]of a.audioTracks.entries()){const d=i.default?"main":"alternative",v=this.addAudioTrack(d,i.name,i.lang);v.id=`${n}`,i.default&&(v.enabled=!0)}}),this.audioTracks.addEventListener("change",()=>{var l;const a=+((l=[...this.audioTracks].find(n=>n.enabled))==null?void 0:l.id),c=this.api.audioTracks.map(n=>n.id);a!=this.api.audioTrack&&c.includes(a)&&(this.api.audioTrack=a)}),this.api.on(E.Events.LEVELS_UPDATED,(l,a)=>{const c=this.videoTracks[this.videoTracks.selectedIndex??0];if(!c)return;const n=a.levels.map(i=>h.get(i));for(const i of this.videoRenditions)i.id&&!n.includes(i.id)&&c.removeRendition(i)});const L=l=>{const a=l.target.selectedIndex;a!=this.api.nextLevel&&(this.api.nextLevel=a)};(r=this.videoRenditions)==null||r.addEventListener("change",L);const b=()=>{for(const l of this.videoTracks)this.removeVideoTrack(l);for(const l of this.audioTracks)this.removeAudioTrack(l)};this.api.once(E.Events.DESTROYING,b);return}await Promise.resolve(),this.nativeEl.canPlayType("application/vnd.apple.mpegurl")&&(this.nativeEl.src=this.src)}}},e=new WeakMap,u=new WeakMap,T=new WeakSet,H=function(){var s,r;(s=p(this,e))==null||s.remove(),(r=this.nativeEl)==null||r.removeEventListener("webkitcurrentplaybacktargetiswirelesschanged",p(this,m)),this.api&&(this.api.detachMedia(),this.api.destroy(),this.api=null)},m=new WeakMap,y=new WeakSet,O=function(s){if(Object.prototype.hasOwnProperty.call(this,s)){const r=this[s];delete this[s],this[s]=r}},M(o,"shadowRootOptions",{...t.shadowRootOptions}),M(o,"getTemplateHTML",(s,r={})=>{const{src:f,...h}=s;return`
2
+ <script type="application/json" id="config">
3
+ ${JSON.stringify(r.config||{})}
4
+ <\/script>
5
+ ${t.getTemplateHTML(h)}
6
+ `}),o},N=z($(j));globalThis.customElements&&!globalThis.customElements.get("hls-video")&&globalThis.customElements.define("hls-video",N);var G=N,V=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),Y={className:"class",htmlFor:"for"};function C(t){return t.toLowerCase()}function x(t){if(typeof t=="boolean")return t?"":void 0;if(typeof t!="function"&&!(typeof t=="object"&&t!==null))return t}function J({react:t,tagName:o,elementClass:e,events:u,displayName:T,defaultProps:B,toAttributeName:m=C,toAttributeValue:y=x}){const I=Number.parseInt(t.version)>=19,_=t.forwardRef((S,s)=>{var r,f;const h=t.useRef(null),L=t.useRef(new Map),b={},l={},a={},c={};for(const[n,i]of Object.entries(S)){if(V.has(n)){a[n]=i;continue}const d=m(Y[n]??n);if(e.prototype&&n in e.prototype&&!(n in(((r=globalThis.HTMLElement)==null?void 0:r.prototype)??{}))&&!((f=e.observedAttributes)!=null&&f.some(g=>g===d))){c[n]=i;continue}if(n.startsWith("on")){b[n]=i;continue}const v=y(i);if(d&&v!=null&&(l[d]=String(v),I||(a[d]=v)),d&&I){const g=x(i);v!==g?a[d]=v:a[d]=i}}if(typeof window<"u"){for(const n in b){const i=b[n],d=n.endsWith("Capture"),v=((u==null?void 0:u[n])??n.slice(2).toLowerCase()).slice(0,d?-7:void 0);t.useLayoutEffect(()=>{const g=h==null?void 0:h.current;if(!(!g||typeof i!="function"))return g.addEventListener(v,i,d),()=>{g.removeEventListener(v,i,d)}},[h==null?void 0:h.current,i])}t.useLayoutEffect(()=>{if(h.current===null)return;const n=new Map;for(const i in c)A(h.current,i,c[i]),L.current.delete(i),n.set(i,c[i]);for(const[i,d]of L.current)A(h.current,i,void 0);L.current=n})}if(typeof window>"u"&&(e!=null&&e.getTemplateHTML)&&(e!=null&&e.shadowRootOptions)){const{mode:n,delegatesFocus:i}=e.shadowRootOptions,d=t.createElement("template",{shadowrootmode:n,shadowrootdelegatesfocus:i,dangerouslySetInnerHTML:{__html:e.getTemplateHTML(l,S)}});a.children=[d,a.children]}return t.createElement(o,{...B,...a,ref:t.useCallback(n=>{h.current=n,typeof s=="function"?s(n):s!==null&&(s.current=n)},[s])})});return _.displayName=T??e.name,_}function A(t,o,e){var u;t[o]=e,e==null&&o in(((u=globalThis.HTMLElement)==null?void 0:u.prototype)??{})&&t.removeAttribute(o)}var Z=J({react:F,tagName:"hls-video",elementClass:G,toAttributeName(t){return t==="muted"?"":t==="defaultMuted"?"muted":C(t)}});/*! Bundled license information:
7
+
8
+ ce-la-react/dist/ce-la-react.js:
9
+ (**
10
+ * @license
11
+ * Copyright 2018 Google LLC
12
+ * SPDX-License-Identifier: BSD-3-Clause
13
+ *
14
+ * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
15
+ *)
16
+ */export{Z as default};
@@ -0,0 +1,29 @@
1
+ var at=Object.defineProperty;var lt=(e,o,t)=>o in e?at(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t;var _=(e,o,t)=>(lt(e,typeof o!="symbol"?o+"":o,t),t),$=(e,o,t)=>{if(!o.has(e))throw TypeError("Cannot "+t)};var l=(e,o,t)=>($(e,o,"read from private field"),t?t.call(e):o.get(e)),u=(e,o,t)=>{if(o.has(e))throw TypeError("Cannot add the same private member more than once");o instanceof WeakSet?o.add(e):o.set(e,t)},a=(e,o,t,i)=>($(e,o,"write to private field"),i?i.call(e,t):o.set(e,t),t);var d=(e,o,t)=>($(e,o,"access private method"),t);import{R as ut}from"./index-737fd7d3.js";const ct="https://www.tiktok.com/player/v1",dt=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,p={INIT:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3},ht={[p.INIT]:"emptied",[p.PAUSED]:"pause",[p.ENDED]:"ended",[p.PLAYING]:"play",[p.BUFFERING]:"waiting"};function K(e,o={}){const t={src:V(e,o),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; autoplay; fullscreen; encrypted-media; gyroscope; picture-in-picture"};return o.config&&(t["data-config"]=JSON.stringify(o.config)),`
2
+ <style>
3
+ :host {
4
+ display:inline-block;
5
+ min-width: 300px;
6
+ min-height: 150px;
7
+ position: relative;
8
+ }
9
+ iframe {
10
+ position:absolute;
11
+ top:0;
12
+ left:0;
13
+ width:100%;
14
+ height:100%;
15
+ border:0;
16
+ }
17
+ </style>
18
+ <iframe ${vt(t)} title="TikTok video"></iframe>
19
+ `}function V(e,o={}){if(!e.src)return;const t=e.src.match(dt),i=t&&t[1],s={controls:e.controls===""?null:0,autoplay:e.autoplay,muted:e.muted,loop:e.loop,rel:0,...o.config};return`${ct}/${i}?${pt(s)}`}var k,M,w,L,N,A,b,S,E,C,v,T,D,tt,O,et,x,ot,F,it;const R=class R extends(globalThis.HTMLElement??class{}){constructor(){super();u(this,v);u(this,D);u(this,O);u(this,x);u(this,F);_(this,"loadComplete",new Q);u(this,k,void 0);u(this,M,void 0);u(this,w,!1);u(this,L,0);u(this,N,!0);u(this,A,null);u(this,b,100);u(this,S,0);u(this,E,void 0);u(this,C,t=>{var i;if(t.source!==((i=l(this,E))==null?void 0:i.contentWindow))return;const s=t.data;if(s!=null&&s["x-tiktok-player"])switch(s.type){case"onPlayerReady":this.loadComplete.resolve();break;case"onStateChange":{a(this,N,[p.INIT,p.PAUSED,p.ENDED].includes(s.value));const h=ht[s.value];h&&this.dispatchEvent(new Event(h));break}case"onCurrentTime":a(this,L,s.value.currentTime),a(this,S,s.value.duration),this.dispatchEvent(new Event("durationchange")),this.dispatchEvent(new Event("timeupdate"));break;case"onVolumeChange":a(this,b,s.value),this.dispatchEvent(new Event("volumechange"));break;case"onMute":a(this,w,!!s.value),a(this,b,s.value?0:l(this,b)),this.dispatchEvent(new Event("volumechange"));break;case"onError":this.dispatchEvent(new Event("error"));break;default:console.warn("Unhandled TikTok player message:",s);break}});d(this,F,it).call(this,"config")}static get observedAttributes(){return["src","controls","loop","autoplay","muted"]}async load(){if(l(this,k))return;this.shadowRoot||this.attachShadow(R.shadowRootOptions);const t=!l(this,M);if(l(this,M)&&(this.loadComplete=new Q),a(this,M,!0),await a(this,k,Promise.resolve()),a(this,k,null),a(this,L,0),a(this,w,!1),a(this,N,!0),!this.src){this.shadowRoot.innerHTML="",globalThis.removeEventListener("message",l(this,C));return}let i=this.shadowRoot.querySelector("iframe");const s=ft(this.attributes);t&&i&&a(this,A,JSON.parse(i.getAttribute("data-config")||"{}")),(!(i!=null&&i.src)||i.src!==V(s,this))&&(this.shadowRoot.innerHTML=K(s,this),i=this.shadowRoot.querySelector("iframe")),a(this,E,i),globalThis.addEventListener("message",l(this,C))}async attributeChangedCallback(t,i,s){if(i!==s)switch(t){case"muted":{await this.loadComplete,this.muted=s!=null;break}case"autoplay":case"controls":case"loop":case"src":{this.load();return}}}get config(){return l(this,A)}set config(t){a(this,A,t)}async play(){await this.loadComplete,d(this,v,T).call(this,"play")}async pause(){await this.loadComplete,d(this,v,T).call(this,"pause")}get volume(){return l(this,b)/100}set volume(t){console.warn("Volume control is not supported for TikTok videos.")}get currentTime(){return l(this,L)}set currentTime(t){d(this,D,tt).call(this,t)}get muted(){return l(this,w)}set muted(t){a(this,w,t),t?d(this,O,et).call(this):d(this,x,ot).call(this)}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(t){this.toggleAttribute("muted",!!t)}get paused(){return l(this,N)}get duration(){return l(this,S)}get src(){return this.getAttribute("src")}set src(t){this.setAttribute("src",t??"")}};k=new WeakMap,M=new WeakMap,w=new WeakMap,L=new WeakMap,N=new WeakMap,A=new WeakMap,b=new WeakMap,S=new WeakMap,E=new WeakMap,C=new WeakMap,v=new WeakSet,T=function(t,i){var s;if(!((s=l(this,E))!=null&&s.contentWindow))return;const h={"x-tiktok-player":!0,type:t,...i!==void 0?{value:i}:{}};l(this,E).contentWindow.postMessage(h,"*")},D=new WeakSet,tt=async function(t){await this.loadComplete,d(this,v,T).call(this,"seekTo",Number(t))},O=new WeakSet,et=async function(){await this.loadComplete,d(this,v,T).call(this,"mute")},x=new WeakSet,ot=async function(){await this.loadComplete,d(this,v,T).call(this,"unMute")},F=new WeakSet,it=function(t){if(Object.prototype.hasOwnProperty.call(this,t)){const i=this[t];delete this[t],this[t]=i}},_(R,"getTemplateHTML",K),_(R,"shadowRootOptions",{mode:"open"});let H=R;class Q extends Promise{constructor(o=()=>{}){let t,i;super((s,h)=>{o(s,h),t=s,i=h}),this.resolve=t,this.reject=i}}function ft(e){let o={};for(let t of e)o[t.name]=t.value;return o}function mt(e){let o={};for(let t in e){let i=e[t];i===!0||i===""?o[t]=1:i===!1?o[t]=0:i!=null&&(o[t]=i)}return o}function pt(e){return String(new URLSearchParams(mt(e)))}function vt(e){let o="";for(const t in e){const i=e[t];i===""?o+=` ${j(t)}`:o+=` ${j(t)}="${j(`${i}`)}"`}return o}function j(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/`/g,"&#x60;")}globalThis.customElements&&!globalThis.customElements.get("tiktok-video")&&globalThis.customElements.define("tiktok-video",H);var gt=H,yt=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),wt={className:"class",htmlFor:"for"};function st(e){return e.toLowerCase()}function X(e){if(typeof e=="boolean")return e?"":void 0;if(typeof e!="function"&&!(typeof e=="object"&&e!==null))return e}function bt({react:e,tagName:o,elementClass:t,events:i,displayName:s,defaultProps:h,toAttributeName:rt=st,toAttributeValue:nt=X}){const B=Number.parseInt(e.version)>=19,q=e.forwardRef((G,P)=>{var z,J;const f=e.useRef(null),U=e.useRef(new Map),W={},Y={},g={},I={};for(const[r,n]of Object.entries(G)){if(yt.has(r)){g[r]=n;continue}const c=rt(wt[r]??r);if(t.prototype&&r in t.prototype&&!(r in(((z=globalThis.HTMLElement)==null?void 0:z.prototype)??{}))&&!((J=t.observedAttributes)!=null&&J.some(y=>y===c))){I[r]=n;continue}if(r.startsWith("on")){W[r]=n;continue}const m=nt(n);if(c&&m!=null&&(Y[c]=String(m),B||(g[c]=m)),c&&B){const y=X(n);m!==y?g[c]=m:g[c]=n}}if(typeof window<"u"){for(const r in W){const n=W[r],c=r.endsWith("Capture"),m=((i==null?void 0:i[r])??r.slice(2).toLowerCase()).slice(0,c?-7:void 0);e.useLayoutEffect(()=>{const y=f==null?void 0:f.current;if(!(!y||typeof n!="function"))return y.addEventListener(m,n,c),()=>{y.removeEventListener(m,n,c)}},[f==null?void 0:f.current,n])}e.useLayoutEffect(()=>{if(f.current===null)return;const r=new Map;for(const n in I)Z(f.current,n,I[n]),U.current.delete(n),r.set(n,I[n]);for(const[n,c]of U.current)Z(f.current,n,void 0);U.current=r})}if(typeof window>"u"&&(t!=null&&t.getTemplateHTML)&&(t!=null&&t.shadowRootOptions)){const{mode:r,delegatesFocus:n}=t.shadowRootOptions,c=e.createElement("template",{shadowrootmode:r,shadowrootdelegatesfocus:n,dangerouslySetInnerHTML:{__html:t.getTemplateHTML(Y,G)}});g.children=[c,g.children]}return e.createElement(o,{...h,...g,ref:e.useCallback(r=>{f.current=r,typeof P=="function"?P(r):P!==null&&(P.current=r)},[P])})});return q.displayName=s??t.name,q}function Z(e,o,t){var i;e[o]=t,t==null&&o in(((i=globalThis.HTMLElement)==null?void 0:i.prototype)??{})&&e.removeAttribute(o)}var kt=bt({react:ut,tagName:"tiktok-video",elementClass:gt,toAttributeName(e){return e==="muted"?"":e==="defaultMuted"?"muted":st(e)}});/*! Bundled license information:
20
+
21
+ ce-la-react/dist/ce-la-react.js:
22
+ (**
23
+ * @license
24
+ * Copyright 2018 Google LLC
25
+ * SPDX-License-Identifier: BSD-3-Clause
26
+ *
27
+ * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
28
+ *)
29
+ */export{kt as default};
@@ -0,0 +1,11 @@
1
+ var B=Object.defineProperty;var F=(t,i,e)=>i in t?B(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e;var E=(t,i,e)=>(F(t,typeof i!="symbol"?i+"":i,e),e),P=(t,i,e)=>{if(!i.has(t))throw TypeError("Cannot "+e)};var S=(t,i,e)=>(P(t,i,"read from private field"),e?e.call(t):i.get(t)),A=(t,i,e)=>{if(i.has(t))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(t):i.set(t,e)},H=(t,i,e,s)=>(P(t,i,"write to private field"),s?s.call(t,e):i.set(t,e),e);import{o as W,R as x}from"./index-737fd7d3.js";import{M as D,C as w}from"./mixin-cf90cd8a.js";var v;class m extends D(w){constructor(){super(...arguments);A(this,v,void 0)}attributeChangedCallback(e,s,d){e!=="src"&&super.attributeChangedCallback(e,s,d),e==="src"&&s!=d&&this.load()}async load(){if(S(this,v)){this.api.attachSource(this.src);return}H(this,v,!0);const e=await W(()=>import("./dash.all.min-5cea336e.js"),[]);this.api=e.MediaPlayer().create(),this.api.initialize(this.nativeEl,this.src,this.autoplay),this.api.on(e.MediaPlayer.events.STREAM_INITIALIZED,()=>{const s=this.api.getRepresentationsByType("video");let d=this.videoTracks.getTrackById("main");d||(d=this.addVideoTrack("main"),d.id="main",d.selected=!0),s.forEach(r=>{const b=r.bandwidth??r.bitrate??(Number.isFinite(r.bitrateInKbit)?r.bitrateInKbit*1e3:void 0),T=d.addRendition(r.id,r.width,r.height,r.mimeType??r.codec,b);T.id=r.id}),this.videoRenditions.addEventListener("change",()=>{const r=this.videoRenditions[this.videoRenditions.selectedIndex];r!=null&&r.id?(this.api.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:!1}}}}),this.api.setRepresentationForTypeById("video",r.id,!0)):this.api.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:!0}}}})})})}}v=new WeakMap,E(m,"shadowRootOptions",{...w.shadowRootOptions}),E(m,"getTemplateHTML",e=>{const{src:s,...d}=e;return w.getTemplateHTML(d)});globalThis.customElements&&!globalThis.customElements.get("dash-video")&&globalThis.customElements.define("dash-video",m);var j=m,K=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),z={className:"class",htmlFor:"for"};function O(t){return t.toLowerCase()}function N(t){if(typeof t=="boolean")return t?"":void 0;if(typeof t!="function"&&!(typeof t=="object"&&t!==null))return t}function Z({react:t,tagName:i,elementClass:e,events:s,displayName:d,defaultProps:r,toAttributeName:b=O,toAttributeValue:T=N}){const _=Number.parseInt(t.version)>=19,L=t.forwardRef((M,h)=>{var R,I;const u=t.useRef(null),y=t.useRef(new Map),g={},k={},l={},p={};for(const[o,n]of Object.entries(M)){if(K.has(o)){l[o]=n;continue}const a=b(z[o]??o);if(e.prototype&&o in e.prototype&&!(o in(((R=globalThis.HTMLElement)==null?void 0:R.prototype)??{}))&&!((I=e.observedAttributes)!=null&&I.some(f=>f===a))){p[o]=n;continue}if(o.startsWith("on")){g[o]=n;continue}const c=T(n);if(a&&c!=null&&(k[a]=String(c),_||(l[a]=c)),a&&_){const f=N(n);c!==f?l[a]=c:l[a]=n}}if(typeof window<"u"){for(const o in g){const n=g[o],a=o.endsWith("Capture"),c=((s==null?void 0:s[o])??o.slice(2).toLowerCase()).slice(0,a?-7:void 0);t.useLayoutEffect(()=>{const f=u==null?void 0:u.current;if(!(!f||typeof n!="function"))return f.addEventListener(c,n,a),()=>{f.removeEventListener(c,n,a)}},[u==null?void 0:u.current,n])}t.useLayoutEffect(()=>{if(u.current===null)return;const o=new Map;for(const n in p)C(u.current,n,p[n]),y.current.delete(n),o.set(n,p[n]);for(const[n,a]of y.current)C(u.current,n,void 0);y.current=o})}if(typeof window>"u"&&(e!=null&&e.getTemplateHTML)&&(e!=null&&e.shadowRootOptions)){const{mode:o,delegatesFocus:n}=e.shadowRootOptions,a=t.createElement("template",{shadowrootmode:o,shadowrootdelegatesfocus:n,dangerouslySetInnerHTML:{__html:e.getTemplateHTML(k,M)}});l.children=[a,l.children]}return t.createElement(i,{...r,...l,ref:t.useCallback(o=>{u.current=o,typeof h=="function"?h(o):h!==null&&(h.current=o)},[h])})});return L.displayName=d??e.name,L}function C(t,i,e){var s;t[i]=e,e==null&&i in(((s=globalThis.HTMLElement)==null?void 0:s.prototype)??{})&&t.removeAttribute(i)}var Q=Z({react:x,tagName:"dash-video",elementClass:j,toAttributeName(t){return t==="muted"?"":t==="defaultMuted"?"muted":O(t)}});/*! Bundled license information:
2
+
3
+ ce-la-react/dist/ce-la-react.js:
4
+ (**
5
+ * @license
6
+ * Copyright 2018 Google LLC
7
+ * SPDX-License-Identifier: BSD-3-Clause
8
+ *
9
+ * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
10
+ *)
11
+ */export{Q as default};
@@ -0,0 +1 @@
1
+ import{a}from"./index.esm-2becf208.js";const s=a().required("Password Required").min(8,"").matches(/[a-z]/,"").matches(/[A-Z]/,"").matches(/[0-9]/,"").matches(/[!@#$%^&*(),.?":{}|<>]/,"");export{s as p};
@@ -0,0 +1 @@
1
+ import{r as d,j as e,c as q,O as M,be as z,am as R,ar as w,as as C}from"./index-737fd7d3.js";import"./AdaptableCard-5bdf55ff.js";import"./isEmpty-d6a6848e.js";import"./SvgIcon-e50d8824.js";import{A as S}from"./index-59b78927.js";import{B as N}from"./Button-312a6bfe.js";import"./Tag-0a3ddbe2.js";import"./Container-0271dbaa.js";import{I as k}from"./Input-f9dc9df7.js";import"./SegmentItemOption-1228dbe0.js";import"./Alert-e6518529.js";import{D as V}from"./index-d7b1d047.js";import"./index-91a81028.js";import"./Card-8badb238.js";import"./index-cdf4c2fe.js";import"./FormContainer-e0ad1074.js";import"./get-e6d75ebc.js";import{S as I}from"./Select-19bd23ac.js";import"./Switcher-4b56d286.js";import{T as Y}from"./index-51020fda.js";import{U as $}from"./Upload-f16cbbc9.js";import{c as F,a as D,F as U,b as B,d as v,E as b}from"./index.esm-2becf208.js";import{a as T,b as H,c as W}from"./TicketService-0b9fd2cc.js";import{h as A}from"./moment-a9aaa855.js";import"./warning-eb037686.js";import"./index-a05b664a.js";import"./index.esm-7fca4988.js";import"./useThemeClass-61b1bbbf.js";import"./useControllableState-ed446800.js";import"./cloneDeep-958c9090.js";const _=h=>{const{children:g,className:x,stickyClass:y,...u}=h,[n,t]=d.useState(!1),f=d.useRef(null);return d.useEffect(()=>{const m=f.current,i=new IntersectionObserver(([o])=>t(o.intersectionRatio<1),{threshold:[1]});return i.observe(m),function(){i.unobserve(m)}},[]),e.jsx("div",{id:"actions-footer",ref:f,className:q("sticky",x,n&&y),...u,children:g})},E=1,G=F({title:D().required("Title is required"),Description:D().required("Description is required"),category:F().required("Category is required")}),P=({initialData:h={files:[],title:"",Description:"",category:""},onSubmit:g,onCancel:x,type:y="Add"})=>{const u=["application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","image/jpeg","image/png","image/gif","image/webp","image/svg+xml","image/bmp","image/tiff","image/avif"],n=(m,i)=>{let o=!0;const c=5e6;if(i.length>=E)return`You can only upload ${E} file(s)`;if(m)for(const l of m)u.includes(l.type)?l.size>=c&&(o="Upload file cannot be more than 5MB!"):o="Only PDF, Word, and image files are allowed!";return o},[t,f]=d.useState([]);return d.useEffect(()=>{(async()=>{var i,o;try{const c=await T(),l=(o=(i=c==null?void 0:c.data)==null?void 0:i.finalResults)==null?void 0:o.$values.map(p=>({value:p.id,label:p.title}));f(l)}catch(c){console.error("Failed to load categories",c)}})()},[]),e.jsx(U,{initialValues:{...h,isEdit:!!(h!=null&&h.isEdit)},validationSchema:G,onSubmit:(m,{setSubmitting:i})=>{g(m,i)},children:({values:m,touched:i,errors:o,isSubmitting:c})=>e.jsx(B,{children:e.jsxs("div",{className:"grid grid-cols-1 gap-4",children:[e.jsxs("div",{className:"mb-4",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"Title*"}),e.jsx(v,{name:"title",children:({field:l})=>e.jsx(k,{...l,placeholder:"File title"})}),e.jsx(b,{name:"title",component:"div",className:"text-red-600"})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"Description*"}),e.jsx(v,{name:"Description",children:({field:l})=>e.jsx(k,{...l,textArea:!0,placeholder:"Description"})}),e.jsx(b,{name:"Description",component:"div",className:"text-red-600"})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"Category*"}),e.jsx(v,{name:"category",children:({field:l,form:p})=>e.jsx(I,{options:t,value:t.find(s=>{var r;return s.value===((r=l.value)==null?void 0:r.value)}),onChange:s=>p.setFieldValue(l.name,s),placeholder:"Select category"})}),e.jsx(b,{name:"category",component:"div",className:"text-red-600"})]}),e.jsxs("div",{className:"mb-4",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"Upload File"}),e.jsx(v,{name:"files",children:({field:l,form:p})=>e.jsx($,{draggable:!0,accept:u,beforeUpload:n,fileList:m.files||[],cropNeeded:!1,onChange:s=>p.setFieldValue(l.name,s),onFileRemove:s=>p.setFieldValue(l.name,s)})}),o.files&&i.files&&e.jsx("div",{className:"text-red-500 text-sm mt-1",children:o.files})]}),e.jsx(_,{className:"px-8 flex items-center justify-between py-4",stickyClass:"bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700",children:e.jsxs("div",{className:"md:flex items-center justify-between w-full",children:[e.jsx(N,{size:"sm",className:"mr-2",onClick:x,children:"Cancel"}),e.jsx(N,{size:"sm",variant:"solid",type:"submit",loading:c,children:"Save"})]})})]})})})},{TabNav:L,TabList:X,TabContent:O}=Y,ke=()=>{const[h,g]=d.useState(!1),[x,y]=d.useState("open"),u=M(),n=z(s=>{var r;return(r=s==null?void 0:s.auth)==null?void 0:r.user}),[t,f]=d.useState([]),[m,i]=d.useState(!1),o=async()=>{var s,r;g(!0);try{const a=await H(x==="open"),j=((r=(s=a==null?void 0:a.data)==null?void 0:s.items)==null?void 0:r.$values)||[];f(j)}catch(a){f([]),console.error("Failed to load categories",a)}g(!1)};d.useEffect(()=>{o()},[x]);const c=()=>{i(!1)},l=async s=>{var a,j;return await W(n==null?void 0:n.id,(a=s==null?void 0:s.category)==null?void 0:a.value,s==null?void 0:s.title,s==null?void 0:s.Description,(j=s==null?void 0:s.files)==null?void 0:j[0])},p=async(s,r)=>{l(s).then(a=>{a.success&&(c(),w.push(e.jsx(C,{title:"Success",type:"success",duration:2e3,children:"Support Request Added"}),{placement:"top-center"}),o())}).catch(a=>{console.log("category - error",a);var j=a.response.data;r(!1),w.push(e.jsx(C,{title:"Error",type:"danger",duration:2500,children:j.message}),{placement:"top-center"})})};return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex flex-col",children:[h&&e.jsx("div",{className:"flex justify-center items-center absolute inset-0 bg-gray-200 bg-opacity-20 z-50",children:e.jsx(R,{loading:!0})}),e.jsx("div",{className:"topbar py-4 px-4 border-gray-200 border-b",children:e.jsxs("div",{className:"lg:flex items-center justify-between",children:[e.jsx("h3",{className:"mb-4 lg:mb-0",children:"Support"}),e.jsx("div",{className:"flex flex-col lg:flex-row lg:items-center"})]})}),e.jsx("div",{className:"flex justify-center w-full px-4 flex-1 overflow-hidden",children:e.jsxs("div",{className:"w-full bg-white shadow-sm rounded-md overflow-hidden flex flex-col my-6 support-height",children:[e.jsxs("div",{className:"py-4 px-6 border-gray-200 border-b flex-shrink-0",children:[e.jsxs("div",{className:"lg:flex items-center justify-between",children:[e.jsx("h3",{className:"mb-4 lg:mb-0 text-lg font-semibold",children:"Need Assistance? We're Here to Help!"}),e.jsx(N,{variant:"solid",size:"sm",onClick:()=>i(!0),children:"Support Request"})]}),e.jsx("p",{className:"text-sm text-gray-600 mt-2",children:"You can ask your program support to ask questions related to your program and check updates and replies in your tickets."})]}),e.jsx("div",{className:"flex-1 flex flex-col overflow-hidden",children:e.jsxs(Y,{className:"flex flex-col",value:x,onChange:y,children:[e.jsxs(X,{className:"border-b flex-shrink-0 flex justify-around px-2",children:[e.jsx(L,{value:"open",children:"Open Tickets"}),e.jsx(L,{value:"closed",children:"Closed Tickets"})]}),x==="open"&&e.jsxs(O,{value:"open",className:"flex-1 h-full overflow-y-auto divide-y",children:[(t==null?void 0:t.length)==0&&e.jsx("div",{className:"p-8 text-center",children:e.jsxs("div",{className:"max-w-sm mx-auto",children:[e.jsx("div",{className:"mb-4",children:e.jsx("svg",{className:"mx-auto h-12 w-12 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})})}),e.jsx("h3",{className:"text-sm font-medium text-gray-900",children:"No open tickets"}),e.jsx("p",{className:"mt-1 text-sm text-gray-500",children:"You haven't open any tickets yet. Once you Create your tickets, they'll appear here."})]})}),(t==null?void 0:t.length)>0&&(t==null?void 0:t.map(s=>{var r,a;return e.jsxs("div",{onClick:()=>u(`/app/ticket-details/${s==null?void 0:s.id}`),className:"flex items-start p-4 hover:bg-gray-50 transition-colors",children:[e.jsx(S,{shape:"circle",size:40,className:"bg-gray-200 text-sm font-medium text-gray-700",children:(r=n==null?void 0:n.userName)==null?void 0:r[0]}),e.jsxs("div",{className:"ml-4 flex-1",children:[e.jsx("h4",{className:"text-sm font-semibold text-gray-900",children:s.title}),e.jsx("p",{className:"text-sm text-gray-600 mt-1 line-clamp-2",children:s.description}),e.jsx("span",{className:"text-xs text-gray-400 mt-2 block",children:(a=A.utc(s.createdDate))==null?void 0:a.local().format("MM-DD-YYYY h:mm a")})]})]},s.id)}))]}),x==="closed"&&e.jsx(O,{value:"closed",className:"flex-1 overflow-y-auto",children:(t==null?void 0:t.length)===0?e.jsx("div",{className:"p-8 text-center",children:e.jsxs("div",{className:"max-w-sm mx-auto",children:[e.jsx("div",{className:"mb-4",children:e.jsx("svg",{className:"mx-auto h-12 w-12 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})})}),e.jsx("h3",{className:"text-sm font-medium text-gray-900",children:"No closed tickets"}),e.jsx("p",{className:"mt-1 text-sm text-gray-500",children:"You haven't closed any tickets yet. Once you resolve your open tickets, they'll appear here."})]})}):e.jsx("div",{className:"divide-y",children:(t==null?void 0:t.length)>0&&(t==null?void 0:t.map(s=>{var r,a;return e.jsxs("div",{onClick:()=>u(`/app/ticket-details/${s==null?void 0:s.id}`),className:"flex items-start p-4 hover:bg-gray-50 transition-colors",children:[e.jsx(S,{shape:"circle",size:40,className:"bg-gray-200 text-sm font-medium text-gray-700",children:(r=n==null?void 0:n.userName)==null?void 0:r[0]}),e.jsxs("div",{className:"ml-4 flex-1",children:[e.jsx("h4",{className:"text-sm font-semibold text-gray-900",children:s.title}),e.jsx("p",{className:"text-sm text-gray-600 mt-1 line-clamp-2",children:s.description}),e.jsx("span",{className:"text-xs text-gray-400 mt-2 block",children:(a=A.utc(s.createdDate))==null?void 0:a.local().format("MM-DD-YYYY h:mm a")})]})]},s.id)}))})})]})})]})})]}),e.jsx(V,{title:"Create a ticket",isOpen:m,onClose:c,onRequestClose:c,portalClassName:"w30",children:e.jsx(P,{type:"Add",onSubmit:p,onCancel:c})})]})};export{ke as default};
@@ -0,0 +1 @@
1
+ import{ay as _,r as n,j as e,am as q,bf as H,bg as F,bh as z,ar as g,as as j}from"./index-737fd7d3.js";import{A as v}from"./AdaptableCard-5bdf55ff.js";import"./isEmpty-d6a6848e.js";import"./SvgIcon-e50d8824.js";import{A as I}from"./index-59b78927.js";import{B as R}from"./Button-312a6bfe.js";import"./Tag-0a3ddbe2.js";import"./Container-0271dbaa.js";import{I as Z}from"./Input-f9dc9df7.js";import"./SegmentItemOption-1228dbe0.js";import"./Alert-e6518529.js";import"./index-d7b1d047.js";import"./index-91a81028.js";import"./Card-8badb238.js";import"./index-cdf4c2fe.js";import"./FormContainer-e0ad1074.js";import"./get-e6d75ebc.js";import"./Select-19bd23ac.js";import"./Switcher-4b56d286.js";import"./index-51020fda.js";import{U as X}from"./Upload-f16cbbc9.js";import{d as P,e as W,f as G}from"./TicketService-0b9fd2cc.js";import{h as M}from"./moment-a9aaa855.js";import"./warning-eb037686.js";import"./index-a05b664a.js";import"./index.esm-7fca4988.js";import"./useThemeClass-61b1bbbf.js";import"./useControllableState-ed446800.js";import"./cloneDeep-958c9090.js";const L=d=>{const N=d.split(".")[0]+"Z",x=new Date(N),c=Math.floor((new Date().getTime()-x.getTime())/1e3);if(c<5)return"Just now";if(c<60)return`${c} second${c>1?"s":""} ago`;const h=Math.floor(c/60);if(h<60)return`${h} minute${h>1?"s":""} ago`;const p=Math.floor(h/60);if(p<24)return`${p} hour${p>1?"s":""} ago`;const o=Math.floor(p/24);if(o<30)return`${o} day${o>1?"s":""} ago`;const u=Math.floor(o/30);if(u<12)return`${u} month${u>1?"s":""} ago`;const m=Math.floor(o/365);return`${m} year${m>1?"s":""} ago`},be=()=>{var T,$,A;const{ticketId:d}=_(),[N,x]=n.useState(!1),[s,c]=n.useState(null),[h,p]=n.useState([]),[o,u]=n.useState([]),[m,S]=n.useState(""),[f,y]=n.useState([]),[U,C]=n.useState(!1),E=t=>{switch(t){case"ReOpened":return"bg-yellow-100 text-yellow-800 border border-yellow-300";case"Open":return"bg-green-100 text-green-800 border border-green-300";case"Closed":return"bg-red-100 text-red-800 border border-red-300";case"Resolved":return"bg-red-100 text-red-800 border border-red-300";default:return"bg-gray-100 text-gray-800 border border-gray-300"}},w=async()=>{var t,l,a,i,b;try{x(!0);const r=await P(d);r.success&&(c((t=r==null?void 0:r.data)==null?void 0:t.ticket),p(((a=(l=r==null?void 0:r.data)==null?void 0:l.messages)==null?void 0:a.$values)||[]),u(((b=(i=r==null?void 0:r.data)==null?void 0:i.logs)==null?void 0:b.$values)||[]))}catch(r){console.error("Failed to fetch ticket details",r)}finally{x(!1)}};n.useEffect(()=>{d&&w()},[d]);const O=async()=>{var t;if(m.trim()){C(!0);try{(await W(d,m.trim(),f.length>0?f[0]:void 0)).success&&w(),S(""),y([])}catch(l){const a=((t=l==null?void 0:l.response)==null?void 0:t.data)||{message:"Failed to send reply"};g.push(e.jsx(j,{title:"Error",type:"danger",duration:2500,children:a.message}),{placement:"top-center"})}finally{C(!1)}}},B=async()=>{x(!0);try{const t=(s==null?void 0:s.status)!=="Resolved"?2:3;await G(d,t),w(),g.push(e.jsxs(j,{title:"Success",type:"success",duration:2500,children:["Ticket ",(s==null?void 0:s.status)!=="Resolved"?"Resolved":"Reopened"," successfully"]}),{placement:"top-center"})}catch(t){g.push(e.jsx(j,{title:"Error",type:"danger",duration:2500,children:(t==null?void 0:t.message)||"Failed to update ticket status"}),{placement:"top-center"})}finally{x(!1)}},Y=t=>(t.some(i=>i.size>5242880)&&g.push(e.jsx(j,{title:"Warning",type:"danger",duration:2500,children:"File size must not exceed 5 MB."}),{placement:"top-center"}),t.filter(i=>i.size<=5242880));return e.jsxs(e.Fragment,{children:[N&&e.jsx("div",{className:"flex justify-center items-center absolute inset-0 bg-gray-200 bg-opacity-20 z-50",children:e.jsx(q,{loading:!0})}),e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[e.jsx("div",{className:"bg-white border-b",children:e.jsxs("div",{className:"w-full flex mx-auto px-6 py-4 justify-between",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(R,{variant:"plain",size:"sm",icon:e.jsx(H,{}),onClick:()=>window.history.back(),children:"Back"}),e.jsx("div",{children:e.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:`${s==null?void 0:s.title} - (Ticket #${s==null?void 0:s.requestId})`})})]}),e.jsx("div",{children:e.jsxs(R,{size:"md",variant:"solid",onClick:B,children:[(s==null?void 0:s.status)!=="Resolved"?"Resolve":"Reopen"," Ticket"]})})]})}),e.jsxs("div",{className:"mx-auto p-6 lg:flex sm:flex-none gap-6",children:[e.jsxs("div",{className:"lg:w-3/4 sm:w-full space-y-6",children:[e.jsx(v,{className:"bg-white shadow-sm rounded-lg",children:e.jsx("div",{className:"p-6",children:e.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[e.jsx(I,{shape:"circle",size:40,className:"bg-gray-200 text-sm font-medium text-gray-700",children:(T=s==null?void 0:s.customer)==null?void 0:T[0]}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"flex items-center justify-between",children:e.jsxs("div",{children:[e.jsx("div",{className:"font-medium text-gray-900",children:s==null?void 0:s.customer}),e.jsx("div",{className:"text-xs text-gray-500",children:($=M.utc(s==null?void 0:s.createdDate))==null?void 0:$.local().format("DD MMM YY h:mm A")})]})}),e.jsx("p",{className:"mt-3 text-sm text-gray-700 leading-relaxed",children:s==null?void 0:s.description}),(s==null?void 0:s.previewUrl)&&e.jsx("div",{className:"mt-4 flex items-center gap-3",children:e.jsxs("div",{onClick:()=>window.open(s.previewUrl,"_blank","noopener,noreferrer"),className:"flex items-center gap-2 text-sm text-custom-600 cursor-pointer hover:underline",children:[e.jsx(F,{className:"w-4 h-4"}),e.jsx("span",{children:(s==null?void 0:s.fileName)||"Attachment"})]})})]})]})})}),e.jsx(v,{className:"bg-white shadow-sm rounded-lg",children:e.jsxs("div",{className:"p-6",children:[e.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-4",children:"Replies & Comments"}),(s==null?void 0:s.status)!=="Closed"&&(s==null?void 0:s.status)!=="Resolved"&&e.jsxs(e.Fragment,{children:[e.jsx(Z,{textArea:!0,rows:3,value:m,onChange:t=>S(t.target.value),placeholder:"Write your message...",className:"w-full border border-gray-300 rounded-md px-3 py-2 text-sm placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-blue-200 resize-none"}),e.jsxs("div",{className:"mt-4",children:[e.jsx(X,{multiple:!0,className:"block",cropNeeded:!1,onChange:t=>{const l=Y(t);y(l)},accept:"image/*,application/pdf",children:e.jsx("div",{className:"w-full border-2 border-dashed rounded-md bg-orange-100 border-blue-100 py-6 text-center",children:e.jsxs("div",{className:"flex flex-col items-center justify-center",children:[e.jsx(z,{className:"w-6 h-6 text-custom-500"}),e.jsxs("div",{className:"mt-2 text-sm text-custom-600",children:["Drag & Drop File OR ",e.jsx("u",{className:"cursor-pointer",children:"Browse for file"})]}),e.jsx("div",{className:"text-xs text-custom-400 mt-1",children:"Maximum file size: 5 MB"})]})})}),f.length>0&&e.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:f.map((t,l)=>{const a=URL.createObjectURL(t);return e.jsxs("div",{className:"flex items-center gap-2 bg-gray-100 px-3 py-1 rounded-full text-sm text-gray-700",children:[e.jsx(z,{className:"w-4 h-4 text-custom-500"}),e.jsx("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"truncate max-w-[150px] hover:underline",children:t.name}),e.jsx("button",{className:"ml-1 text-gray-500 hover:text-red-500",onClick:()=>y(i=>i.filter((b,r)=>r!==l)),children:"✕"})]},l)})})]}),e.jsx("div",{className:"mt-4 flex justify-end",children:e.jsx(R,{size:"sm",variant:"solid",loading:U,onClick:O,disabled:!m.trim(),children:"Reply"})})]}),e.jsx("div",{className:"mt-6 max-h-[100vh] overflow-y-auto divide-y",children:h.map(t=>{var l,a;return e.jsx("div",{className:"py-5 last:pb-0",children:e.jsxs("div",{className:"flex gap-4",children:[e.jsx(I,{shape:"circle",className:"bg-gray-200 text-sm font-medium text-gray-700",children:(l=t==null?void 0:t.sender)==null?void 0:l[0]}),e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsx("div",{className:"text-sm font-medium text-gray-900",children:t==null?void 0:t.sender}),e.jsxs("div",{className:"text-xs text-gray-500",children:[" ",L(t==null?void 0:t.createdDate)," (",(a=M.utc(t==null?void 0:t.createdDate))==null?void 0:a.local().format("DD MMM YY h:mm A"),")"]})]}),e.jsx("div",{className:"text-sm text-gray-700 whitespace-pre-line leading-relaxed",children:t==null?void 0:t.messageText}),t.previewUrl&&e.jsxs("div",{onClick:()=>window.open(t.previewUrl,"_blank","noopener,noreferrer"),className:"mt-3 flex items-center gap-2 text-sm text-custom-600",children:[e.jsx(F,{className:"w-4 h-4"}),e.jsx("span",{children:(t==null?void 0:t.fileName)||"Attachment"})]})]})]})},t.id)})})]})})]}),e.jsxs("div",{className:"lg:w-1/4 sm:w-full flex-shrink-0 space-y-6",children:[e.jsx(v,{className:"bg-custom-600 text-white shadow-sm rounded-lg",children:e.jsxs("div",{className:"p-4 text-white",children:[e.jsx("h4",{className:"text-sm text-white font-medium mb-3",children:"Details"}),e.jsxs("div",{className:"space-y-3 text-sm",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"text-xs text-white",children:"Status:"}),e.jsx("div",{className:`ml-2 px-2 py-0.5 text-custom-800 rounded-full text-xs font-medium ${E(s==null?void 0:s.status)}`,children:(s==null?void 0:s.status)=="ReOpened"?"Reopened":s==null?void 0:s.status})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"text-xs text-white",children:"Request ID:"}),e.jsx("div",{className:"text-sm text-white pl-2",children:s==null?void 0:s.requestId})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"text-xs text-white",children:"Category:"}),e.jsx("div",{className:"text-sm text-white pl-2",children:s==null?void 0:s.supportCategory})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"text-xs text-white",children:"Created On:"}),e.jsx("div",{className:"text-sm text-white pl-2",children:(A=M.utc(s==null?void 0:s.createdDate))==null?void 0:A.local().format("DD MMM YY h:mm A")})]})]})]})}),e.jsx(v,{className:"bg-custom-800 shadow-sm rounded-lg",children:e.jsxs("div",{className:"p-4",children:[e.jsx("h4",{className:"text-sm font-bold text-white mb-2 uppercase",children:"Ticket Activity"}),e.jsx("div",{className:"relative pl-4",children:e.jsx("div",{className:"space-y-3",children:o.map(t=>e.jsxs("div",{className:"ticket-activity",children:[e.jsx("div",{className:"t-activity absolute -left-4 top-0 w-3 h-3 rounded-full bg-custom-500 ring-2 ring-white"}),e.jsxs("div",{className:"pl-2",children:[e.jsxs("div",{className:"text-sm text-white",children:[e.jsx("span",{className:"font-bold",children:t==null?void 0:t.userName})," ",t==null?void 0:t.description]}),e.jsx("div",{className:"text-xs text-white mt-1",children:L(t==null?void 0:t.createdDate)})]})]},t.id))})})]})})]})]})]})]})};export{be as default};
@@ -0,0 +1 @@
1
+ import{r as s}from"./index-737fd7d3.js";function f(e){const n=s.useRef(e);return s.useEffect(()=>{n.current=e}),s.useMemo(()=>(...o)=>{var t;return(t=n.current)==null?void 0:t.call(n,...o)},[])}function C({defaultProp:e,onChange:n}){const o=s.useState(e),[t]=o,c=s.useRef(t),r=f(n);return s.useEffect(()=>{c.current!==t&&(r(t),c.current=t)},[t,c,r]),o}function h({prop:e,defaultProp:n,onChange:o=()=>{}}){const[t,c]=C({defaultProp:n,onChange:o}),r=e!==void 0,i=r?e:t,l=f(o),d=s.useCallback(u=>{const v=u;if(r){const a=typeof u=="function"?v(e):u;a!==e&&l(a)}else c(u)},[r,e,c,l]);return[i,d]}export{f as a,h as u};
@@ -0,0 +1 @@
1
+ import{bq as t}from"./index-737fd7d3.js";function n(){const{themeColor:r,primaryColorLevel:o}=t(),e=`${r}-${o}`;return{ringTheme:`ring-${e}`,borderTheme:`border-${e}`,bgTheme:`bg-${e}`,textTheme:`text-${e}`}}export{n as u};
@@ -0,0 +1 @@
1
+ import{r as s}from"./index-737fd7d3.js";function a(r=3e3){const[e,t]=s.useState("");return s.useEffect(()=>{if(e){const u=setTimeout(()=>t(""),r);return()=>{clearTimeout(u)}}},[e]),[e,t]}export{a as u};
@@ -0,0 +1 @@
1
+ import{bZ as _,c0 as v,cb as O,r as p,cc as S,cd as T,b_ as E,ce as f,c3 as P,g as h}from"./index-737fd7d3.js";function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},y.apply(null,arguments)}function q(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var l={exports:{}},g;function w(){return g||(g=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var a in o)({}).hasOwnProperty.call(o,a)&&(r[a]=o[a])}return r},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(l)),l.exports}w();var m=function(t,r){var n=arguments;if(r==null||!O.call(r,"css"))return p.createElement.apply(void 0,n);var o=n.length,a=new Array(o);a[0]=S,a[1]=T(t,r);for(var s=2;s<o;s++)a[s]=n[s];return p.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(m||(m={}));var J=_(function(e,t){var r=e.styles,n=v([r],void 0,p.useContext(E)),o=p.useRef();return f(function(){var a=t.key+"-global",s=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),u=!1,i=document.querySelector('style[data-emotion="'+a+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),i!==null&&(u=!0,i.setAttribute("data-emotion",a),s.hydrate([i])),o.current=[s,u],function(){s.flush()}},[t]),f(function(){var a=o.current,s=a[0],u=a[1];if(u){a[1]=!1;return}if(n.next!==void 0&&P(t,n.next,!0),s.tags.length){var i=s.tags[s.tags.length-1].nextElementSibling;s.before=i,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});function R(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return v(t)}function M(){var e=R.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var x={exports:{}},j="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",C=j,k=C;function d(){}function b(){}b.resetWarningCache=d;var W=function(){function e(n,o,a,s,u,i){if(i!==k){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:b,resetWarningCache:d};return r.PropTypes=r,r};x.exports=W();var A=x.exports;const N=h(A);var F=function(){},I=F;const X=h(I);export{J as G,N as P,q as _,y as a,I as b,R as c,m as j,M as k,A as p,w as r,X as w};
@@ -0,0 +1 @@
1
+ import{g as i,aq as m,ap as u}from"./index-737fd7d3.js";function f(o,a){for(var _=0;_<a.length;_++){const e=a[_];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in o)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(o,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var Y={exports:{}};(function(o,a){(function(_,e){o.exports=e(m())})(u,function(_){function e(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var r=e(_),n={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(t,l){return l==="W"?t+"周":t+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(t,l){var s=100*t+l;return s<600?"凌晨":s<900?"早上":s<1100?"上午":s<1300?"中午":s<1800?"下午":"晚上"}};return r.default.locale(n,null,!0),n})})(Y);var d=Y.exports;const p=i(d),y=f({__proto__:null,default:p},[d]);export{y as z};
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <browserconfig>
3
+ <msapplication>
4
+ <tile>
5
+ <square150x150logo src="/mstile-150x150.png"/>
6
+ <TileColor>#f8f5f2</TileColor>
7
+ </tile>
8
+ </msapplication>
9
+ </browserconfig>
@@ -0,0 +1,12 @@
1
+ window.RUNTIME_CONFIG = {
2
+ VITE_APP_BASE: "Embedded",
3
+ VITE_API_BASE_URL: "http://localhost:7125",
4
+ VITE_SETUP_MODE: "manager",
5
+ VITE_GOOGLE_CLIENTID: "",
6
+ VITE_MICROSOFT_CLIENTID: "",
7
+ VITE_MICROSOFT_LOGIN: "",
8
+ VITE_GOOGLE_MAPS_API_KEY: "",
9
+ VITE_APP_AUTH0_DOMAIN: "",
10
+ VITE_APP_AUTH0_CLIENT_ID: "",
11
+ VITE_APP_CMS_URL: "",
12
+ };