@8wave/ai-elements 0.84.0 → 0.85.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (459) hide show
  1. package/README.md +109 -0
  2. package/dist/_chunks/Media-Cu3QLEp0.js +120 -0
  3. package/dist/_chunks/Media-Cu3QLEp0.js.map +1 -0
  4. package/dist/_chunks/{PkStreamingMarkdown-SVWv4Oye.js → PkStreamingMarkdown-C_fNNe9O.js} +307 -295
  5. package/dist/_chunks/PkStreamingMarkdown-C_fNNe9O.js.map +1 -0
  6. package/dist/_chunks/PkToolRequestConfirm-DfRFlvE0.js +48 -0
  7. package/dist/_chunks/PkToolRequestConfirm-DfRFlvE0.js.map +1 -0
  8. package/dist/_chunks/PkToolRequestGeolocation-BpH3Ev71.js +67 -0
  9. package/dist/_chunks/PkToolRequestGeolocation-BpH3Ev71.js.map +1 -0
  10. package/dist/_chunks/PkToolRequestOAuthConnection-Ctz50teF.js +63 -0
  11. package/dist/_chunks/PkToolRequestOAuthConnection-Ctz50teF.js.map +1 -0
  12. package/dist/_chunks/{PkToolShowArtifact-Ddz3DsWl.js → PkToolShowArtifact-Drp_zW-3.js} +33 -33
  13. package/dist/_chunks/{PkToolShowArtifact-Ddz3DsWl.js.map → PkToolShowArtifact-Drp_zW-3.js.map} +1 -1
  14. package/dist/_chunks/{PkToolShowCalendarEvent-Kl7HolAK.js → PkToolShowCalendarEvent-D1XYExcQ.js} +40 -40
  15. package/dist/_chunks/{PkToolShowCalendarEvent-Kl7HolAK.js.map → PkToolShowCalendarEvent-D1XYExcQ.js.map} +1 -1
  16. package/dist/_chunks/PkToolShowComparison-DjK4sXS0.js +64 -0
  17. package/dist/_chunks/{PkToolShowComparison-BzyqEIMV.js.map → PkToolShowComparison-DjK4sXS0.js.map} +1 -1
  18. package/dist/_chunks/PkToolShowContactForm-DresTyBD.js +119 -0
  19. package/dist/_chunks/PkToolShowContactForm-DresTyBD.js.map +1 -0
  20. package/dist/_chunks/PkToolShowDiagram-Bg6gQn7r.js +228 -0
  21. package/dist/_chunks/PkToolShowDiagram-Bg6gQn7r.js.map +1 -0
  22. package/dist/_chunks/{PkToolShowEmail-DsmUAss-.js → PkToolShowEmail-DGCKzD3s.js} +31 -31
  23. package/dist/_chunks/{PkToolShowEmail-DsmUAss-.js.map → PkToolShowEmail-DGCKzD3s.js.map} +1 -1
  24. package/dist/_chunks/{PkToolShowImageGallery-BDKm1kSX.js → PkToolShowImageGallery-BhyAMaes.js} +19 -19
  25. package/dist/_chunks/{PkToolShowImageGallery-BDKm1kSX.js.map → PkToolShowImageGallery-BhyAMaes.js.map} +1 -1
  26. package/dist/_chunks/PkToolShowLocation-BDVFw7qK.js +1140 -0
  27. package/dist/_chunks/PkToolShowLocation-BDVFw7qK.js.map +1 -0
  28. package/dist/_chunks/{PkToolShowMessage-xy09z85p.js → PkToolShowMessage-BqH-tE8K.js} +27 -27
  29. package/dist/_chunks/{PkToolShowMessage-xy09z85p.js.map → PkToolShowMessage-BqH-tE8K.js.map} +1 -1
  30. package/dist/_chunks/PkToolShowMultipleChoice-DNfjzGxI.js +81 -0
  31. package/dist/_chunks/PkToolShowMultipleChoice-DNfjzGxI.js.map +1 -0
  32. package/dist/_chunks/{PkToolShowProductList-Al_csZaz.js → PkToolShowProductList-DeU4qyZp.js} +26 -26
  33. package/dist/_chunks/{PkToolShowProductList-Al_csZaz.js.map → PkToolShowProductList-DeU4qyZp.js.map} +1 -1
  34. package/dist/_chunks/{PkToolShowQrCode-RUJ3enlC.js → PkToolShowQrCode-BrljSubk.js} +22 -22
  35. package/dist/_chunks/{PkToolShowQrCode-RUJ3enlC.js.map → PkToolShowQrCode-BrljSubk.js.map} +1 -1
  36. package/dist/_chunks/PkToolShowSources-Ca36N91a.js +396 -0
  37. package/dist/_chunks/PkToolShowSources-Ca36N91a.js.map +1 -0
  38. package/dist/_chunks/PkToolShowSuggestedReply-2lyEikVx.js +47 -0
  39. package/dist/_chunks/PkToolShowSuggestedReply-2lyEikVx.js.map +1 -0
  40. package/dist/_chunks/{PkToolShowWeather-CSua0gHs.js → PkToolShowWeather-CnTyMQTT.js} +63 -63
  41. package/dist/_chunks/{PkToolShowWeather-CSua0gHs.js.map → PkToolShowWeather-CnTyMQTT.js.map} +1 -1
  42. package/dist/_chunks/{PkToolShowWebPages-8GWslqfY.js → PkToolShowWebPages-X0tkNJhc.js} +19 -19
  43. package/dist/_chunks/{PkToolShowWebPages-8GWslqfY.js.map → PkToolShowWebPages-X0tkNJhc.js.map} +1 -1
  44. package/dist/_chunks/{PkUrl-CeYapZ9E.js → PkUrl-ChRoceUn.js} +12 -12
  45. package/dist/_chunks/{PkUrl-CeYapZ9E.js.map → PkUrl-ChRoceUn.js.map} +1 -1
  46. package/dist/_chunks/{VvCheckbox.es-kAXSBkfn.js → VvCheckbox.es-CjtdGRKd.js} +63 -63
  47. package/dist/_chunks/{VvCheckbox.es-kAXSBkfn.js.map → VvCheckbox.es-CjtdGRKd.js.map} +1 -1
  48. package/dist/_chunks/{VvCheckboxGroup.es-Db-bLs2D.js → VvCheckboxGroup.es-DYHTVBaF.js} +91 -91
  49. package/dist/_chunks/{VvCheckboxGroup.es-Db-bLs2D.js.map → VvCheckboxGroup.es-DYHTVBaF.js.map} +1 -1
  50. package/dist/_chunks/VvCombobox.es-BxxQaz48.js +1998 -0
  51. package/dist/_chunks/{VvCombobox.es-CUUNtqyJ.js.map → VvCombobox.es-BxxQaz48.js.map} +1 -1
  52. package/dist/_chunks/{VvInputText.es-DeAexenB.js → VvInputText.es-B13qbrJj.js} +420 -420
  53. package/dist/_chunks/{VvInputText.es-DeAexenB.js.map → VvInputText.es-B13qbrJj.js.map} +1 -1
  54. package/dist/_chunks/{VvRadio.es-lb_BYfq5.js → VvRadio.es-DuSk75Cl.js} +117 -117
  55. package/dist/_chunks/{VvRadio.es-lb_BYfq5.js.map → VvRadio.es-DuSk75Cl.js.map} +1 -1
  56. package/dist/_chunks/{VvRadioGroup.es-BjvxDtU_.js → VvRadioGroup.es-BjPz7xfR.js} +91 -91
  57. package/dist/_chunks/{VvRadioGroup.es-BjvxDtU_.js.map → VvRadioGroup.es-BjPz7xfR.js.map} +1 -1
  58. package/dist/_chunks/{VvSelect.es-C9hkmhJf.js → VvSelect.es-CKFBoQN-.js} +119 -119
  59. package/dist/_chunks/{VvSelect.es-C9hkmhJf.js.map → VvSelect.es-CKFBoQN-.js.map} +1 -1
  60. package/dist/_chunks/VvTextarea.es-CICFo2Rh.js +1110 -0
  61. package/dist/_chunks/{VvTextarea.es-B5txwRRm.js.map → VvTextarea.es-CICFo2Rh.js.map} +1 -1
  62. package/dist/_chunks/dist-Dplp2WfI.js +799 -0
  63. package/dist/_chunks/{dist-DHG50RNO.js.map → dist-Dplp2WfI.js.map} +1 -1
  64. package/dist/_chunks/{esm-8uCGyZon.js → esm-CtL6xvv9.js} +19 -19
  65. package/dist/_chunks/{esm-8uCGyZon.js.map → esm-CtL6xvv9.js.map} +1 -1
  66. package/dist/_chunks/{floating-ui.vue-bC-fUl9J.js → floating-ui.vue-BWkka9Fn.js} +6 -6
  67. package/dist/_chunks/{floating-ui.vue-bC-fUl9J.js.map → floating-ui.vue-BWkka9Fn.js.map} +1 -1
  68. package/dist/_chunks/{iconify-B2ZQHsNr.js → iconify-DlYsYC8z.js} +5 -5
  69. package/dist/_chunks/{iconify-B2ZQHsNr.js.map → iconify-DlYsYC8z.js.map} +1 -1
  70. package/dist/_chunks/{index.es-CusxIi0s.js → index.es-9_Td6lnP.js} +2306 -2306
  71. package/dist/_chunks/{index.es-CusxIi0s.js.map → index.es-9_Td6lnP.js.map} +1 -1
  72. package/dist/_chunks/index.es-BC4SxvmK.js +994 -0
  73. package/dist/_chunks/index.es-BC4SxvmK.js.map +1 -0
  74. package/dist/_chunks/{src-RaVs-PqK.js → src-L9Jq1dyr.js} +11 -11
  75. package/dist/_chunks/{src-RaVs-PqK.js.map → src-L9Jq1dyr.js.map} +1 -1
  76. package/dist/_chunks/{useLightbox-C7JFztx4.js → useLightbox-kKLPhYUx.js} +9 -7
  77. package/dist/_chunks/{useLightbox-C7JFztx4.js.map → useLightbox-kKLPhYUx.js.map} +1 -1
  78. package/dist/_chunks/{vue-i18n-fHp3k8qw.js → vue-i18n-BjaFxqmH.js} +40 -40
  79. package/dist/_chunks/{vue-i18n-fHp3k8qw.js.map → vue-i18n-BjaFxqmH.js.map} +1 -1
  80. package/dist/_chunks/{vue.runtime.esm-bundler-7_kt7y9A.js → vue.runtime.esm-bundler-B-iHWsf4.js} +702 -702
  81. package/dist/_chunks/{vue.runtime.esm-bundler-7_kt7y9A.js.map → vue.runtime.esm-bundler-B-iHWsf4.js.map} +1 -1
  82. package/dist/ai-elements.es.js +4016 -10669
  83. package/dist/ai-elements.es.js.map +1 -1
  84. package/dist-vue/PkChatbot.js +1 -1
  85. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  86. package/dist-vue/PkChatbotFilePreview.js +1 -1
  87. package/dist-vue/PkChatbotInput.js +1 -1
  88. package/dist-vue/PkChatbotMessages.js +1 -1
  89. package/dist-vue/PkChatbotViewChat.js +1 -1
  90. package/dist-vue/PkChatbotViewConversations.js +1 -1
  91. package/dist-vue/PkChatbotViewProfile.js +1 -1
  92. package/dist-vue/_chunks/Media-D5pFbMNh.js +120 -0
  93. package/dist-vue/_chunks/Media-D5pFbMNh.js.map +1 -0
  94. package/dist-vue/_chunks/PkChatbot-UDExD81D.js +190 -0
  95. package/dist-vue/_chunks/PkChatbot-UDExD81D.js.map +1 -0
  96. package/dist-vue/_chunks/{PkChatbotFeedbackForm-BiVUo4kv.js → PkChatbotFeedbackForm-Dy2ojy2E.js} +1 -1
  97. package/dist-vue/_chunks/{PkChatbotFeedbackForm-BiVUo4kv.js.map → PkChatbotFeedbackForm-Dy2ojy2E.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkChatbotFilePreview-0N9ASbIp.js → PkChatbotFilePreview-7hRouK9o.js} +5 -3
  99. package/dist-vue/_chunks/PkChatbotFilePreview-7hRouK9o.js.map +1 -0
  100. package/dist-vue/_chunks/{PkChatbotInput-CsazCkTA.js → PkChatbotInput-Dn4KFNfx.js} +3 -3
  101. package/dist-vue/_chunks/{PkChatbotInput-CsazCkTA.js.map → PkChatbotInput-Dn4KFNfx.js.map} +1 -1
  102. package/dist-vue/_chunks/{PkChatbotMessages-BDziUgck.js → PkChatbotMessages-DUOrit9Y.js} +47 -33
  103. package/dist-vue/_chunks/PkChatbotMessages-DUOrit9Y.js.map +1 -0
  104. package/dist-vue/_chunks/PkChatbotViewChat-BgH9Op_G.js +225 -0
  105. package/dist-vue/_chunks/PkChatbotViewChat-BgH9Op_G.js.map +1 -0
  106. package/dist-vue/_chunks/{PkChatbotViewConversations-kIc1reZT.js → PkChatbotViewConversations-B9KC-0ir.js} +13 -13
  107. package/dist-vue/_chunks/{PkChatbotViewConversations-kIc1reZT.js.map → PkChatbotViewConversations-B9KC-0ir.js.map} +1 -1
  108. package/dist-vue/_chunks/{PkChatbotViewProfile-pSKOgtIR.js → PkChatbotViewProfile-C0q898hz.js} +2 -2
  109. package/dist-vue/_chunks/{PkChatbotViewProfile-pSKOgtIR.js.map → PkChatbotViewProfile-C0q898hz.js.map} +1 -1
  110. package/dist-vue/_chunks/{PkStreamingMarkdown-BUiAi-qv.js → PkStreamingMarkdown-BDtjktHX.js} +296 -284
  111. package/dist-vue/_chunks/PkStreamingMarkdown-BDtjktHX.js.map +1 -0
  112. package/dist-vue/_chunks/PkSvgViewer-DoClMDnF.js +125 -0
  113. package/dist-vue/_chunks/PkSvgViewer-DoClMDnF.js.map +1 -0
  114. package/dist-vue/_chunks/PkToolRequestConfirm-BcZ10rMb.js +48 -0
  115. package/dist-vue/_chunks/{PkToolRequestConfirm-BsHpoI-c.js.map → PkToolRequestConfirm-BcZ10rMb.js.map} +1 -1
  116. package/dist-vue/_chunks/PkToolRequestGeolocation-DXSqWFTR.js +67 -0
  117. package/dist-vue/_chunks/PkToolRequestGeolocation-DXSqWFTR.js.map +1 -0
  118. package/dist-vue/_chunks/PkToolRequestOAuthConnection-CIrFBhxL.js +63 -0
  119. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-shcJXxtk.js.map → PkToolRequestOAuthConnection-CIrFBhxL.js.map} +1 -1
  120. package/dist-vue/_chunks/{PkToolShowArtifact-D4BVWuMi.js → PkToolShowArtifact-BVFPfZT8.js} +3 -3
  121. package/dist-vue/_chunks/{PkToolShowArtifact-D4BVWuMi.js.map → PkToolShowArtifact-BVFPfZT8.js.map} +1 -1
  122. package/dist-vue/_chunks/{PkToolShowCalendarEvent-Q_2-tXmC.js → PkToolShowCalendarEvent-9jaBqWBJ.js} +3 -3
  123. package/dist-vue/_chunks/{PkToolShowCalendarEvent-Q_2-tXmC.js.map → PkToolShowCalendarEvent-9jaBqWBJ.js.map} +1 -1
  124. package/dist-vue/_chunks/{PkToolShowComparison-BpYZb-z5.js → PkToolShowComparison-D1YHzvyy.js} +2 -2
  125. package/dist-vue/_chunks/{PkToolShowComparison-BpYZb-z5.js.map → PkToolShowComparison-D1YHzvyy.js.map} +1 -1
  126. package/dist-vue/_chunks/{PkToolShowContactForm-DuOeYoCU.js → PkToolShowContactForm-BVtuQVGs.js} +5 -5
  127. package/dist-vue/_chunks/{PkToolShowContactForm-DuOeYoCU.js.map → PkToolShowContactForm-BVtuQVGs.js.map} +1 -1
  128. package/dist-vue/_chunks/PkToolShowDiagram-CLyYku9I.js +112 -0
  129. package/dist-vue/_chunks/PkToolShowDiagram-CLyYku9I.js.map +1 -0
  130. package/dist-vue/_chunks/{PkToolShowEmail-CDR-Cw-s.js → PkToolShowEmail-BZzv2-6y.js} +2 -2
  131. package/dist-vue/_chunks/{PkToolShowEmail-CDR-Cw-s.js.map → PkToolShowEmail-BZzv2-6y.js.map} +1 -1
  132. package/dist-vue/_chunks/{PkToolShowImageGallery-DhGmTPMP.js → PkToolShowImageGallery-Bt7QNtGe.js} +4 -4
  133. package/dist-vue/_chunks/{PkToolShowImageGallery-DhGmTPMP.js.map → PkToolShowImageGallery-Bt7QNtGe.js.map} +1 -1
  134. package/dist-vue/_chunks/PkToolShowLocation-DAg9HeYq.js +143 -0
  135. package/dist-vue/_chunks/PkToolShowLocation-DAg9HeYq.js.map +1 -0
  136. package/dist-vue/_chunks/{PkToolShowMessage-Cqb0WP-x.js → PkToolShowMessage-DvnO4DDb.js} +2 -2
  137. package/dist-vue/_chunks/{PkToolShowMessage-Cqb0WP-x.js.map → PkToolShowMessage-DvnO4DDb.js.map} +1 -1
  138. package/dist-vue/_chunks/{PkToolShowMultipleChoice-x7hNm6I2.js → PkToolShowMultipleChoice-BEWDze3p.js} +2 -2
  139. package/dist-vue/_chunks/{PkToolShowMultipleChoice-x7hNm6I2.js.map → PkToolShowMultipleChoice-BEWDze3p.js.map} +1 -1
  140. package/dist-vue/_chunks/{PkToolShowProductList-CMFBvHAY.js → PkToolShowProductList-Cyh_fdTh.js} +3 -3
  141. package/dist-vue/_chunks/{PkToolShowProductList-CMFBvHAY.js.map → PkToolShowProductList-Cyh_fdTh.js.map} +1 -1
  142. package/dist-vue/_chunks/{PkToolShowQrCode-LFCfdWyu.js → PkToolShowQrCode-Dz3HlJGs.js} +2 -2
  143. package/dist-vue/_chunks/{PkToolShowQrCode-LFCfdWyu.js.map → PkToolShowQrCode-Dz3HlJGs.js.map} +1 -1
  144. package/dist-vue/_chunks/{PkToolShowSources-D0wbYpTR.js → PkToolShowSources-cFvwqgDz.js} +21 -21
  145. package/dist-vue/_chunks/{PkToolShowSources-D0wbYpTR.js.map → PkToolShowSources-cFvwqgDz.js.map} +1 -1
  146. package/dist-vue/_chunks/{PkToolShowSuggestedReply-CIP1xfB1.js → PkToolShowSuggestedReply-DIrmkOUq.js} +2 -2
  147. package/dist-vue/_chunks/{PkToolShowSuggestedReply-CIP1xfB1.js.map → PkToolShowSuggestedReply-DIrmkOUq.js.map} +1 -1
  148. package/dist-vue/_chunks/{PkToolShowWeather-zT-4E-aX.js → PkToolShowWeather-CKFmoP6M.js} +1 -1
  149. package/dist-vue/_chunks/{PkToolShowWeather-zT-4E-aX.js.map → PkToolShowWeather-CKFmoP6M.js.map} +1 -1
  150. package/dist-vue/_chunks/{PkToolShowWebPages-DLc-5nE0.js → PkToolShowWebPages-DDsErkru.js} +4 -4
  151. package/dist-vue/_chunks/{PkToolShowWebPages-DLc-5nE0.js.map → PkToolShowWebPages-DDsErkru.js.map} +1 -1
  152. package/dist-vue/_chunks/{PkUrl-Da1k1VEM.js → PkUrl-DdRprvPJ.js} +1 -1
  153. package/dist-vue/_chunks/{PkUrl-Da1k1VEM.js.map → PkUrl-DdRprvPJ.js.map} +1 -1
  154. package/dist-vue/_chunks/{apl-gZJv8aE0.js → apl-CiKuf38q.js} +1 -1
  155. package/dist-vue/_chunks/{apl-gZJv8aE0.js.map → apl-CiKuf38q.js.map} +1 -1
  156. package/dist-vue/_chunks/{asciiarmor-BKzT2CxY.js → asciiarmor-Cv_figT_.js} +1 -1
  157. package/dist-vue/_chunks/{asciiarmor-BKzT2CxY.js.map → asciiarmor-Cv_figT_.js.map} +1 -1
  158. package/dist-vue/_chunks/{asn1-CUOx9oeT.js → asn1-o22T4Rhb.js} +1 -1
  159. package/dist-vue/_chunks/{asn1-CUOx9oeT.js.map → asn1-o22T4Rhb.js.map} +1 -1
  160. package/dist-vue/_chunks/{asterisk-CtQouKe4.js → asterisk-BVQJUqvD.js} +1 -1
  161. package/dist-vue/_chunks/{asterisk-CtQouKe4.js.map → asterisk-BVQJUqvD.js.map} +1 -1
  162. package/dist-vue/_chunks/{brainfuck-C6v-NuzS.js → brainfuck-BUjoLd18.js} +1 -1
  163. package/dist-vue/_chunks/{brainfuck-C6v-NuzS.js.map → brainfuck-BUjoLd18.js.map} +1 -1
  164. package/dist-vue/_chunks/{clike-DBPD1mz3.js → clike-DnfYdh2t.js} +1 -1
  165. package/dist-vue/_chunks/{clike-DBPD1mz3.js.map → clike-DnfYdh2t.js.map} +1 -1
  166. package/dist-vue/_chunks/{clojure-xtczAEDV.js → clojure-Spy-VDMe.js} +1 -1
  167. package/dist-vue/_chunks/{clojure-xtczAEDV.js.map → clojure-Spy-VDMe.js.map} +1 -1
  168. package/dist-vue/_chunks/{cmake-DdDZ3JWF.js → cmake-Ctp7rWzy.js} +1 -1
  169. package/dist-vue/_chunks/{cmake-DdDZ3JWF.js.map → cmake-Ctp7rWzy.js.map} +1 -1
  170. package/dist-vue/_chunks/{cobol-BAMxIfCa.js → cobol-DX59jXra.js} +1 -1
  171. package/dist-vue/_chunks/{cobol-BAMxIfCa.js.map → cobol-DX59jXra.js.map} +1 -1
  172. package/dist-vue/_chunks/{coffeescript-CGTuQQp6.js → coffeescript-Bq4R3kBT.js} +1 -1
  173. package/dist-vue/_chunks/{coffeescript-CGTuQQp6.js.map → coffeescript-Bq4R3kBT.js.map} +1 -1
  174. package/dist-vue/_chunks/{commonlisp-Ccb03OgK.js → commonlisp-qnCvPlJb.js} +1 -1
  175. package/dist-vue/_chunks/{commonlisp-Ccb03OgK.js.map → commonlisp-qnCvPlJb.js.map} +1 -1
  176. package/dist-vue/_chunks/{createChatbotApiClient-C_E35aQf.js → createChatbotApiClient-C-jT5hE0.js} +96 -95
  177. package/dist-vue/_chunks/createChatbotApiClient-C-jT5hE0.js.map +1 -0
  178. package/dist-vue/_chunks/{crystal-DdoSQSAv.js → crystal-B02ya4cQ.js} +1 -1
  179. package/dist-vue/_chunks/{crystal-DdoSQSAv.js.map → crystal-B02ya4cQ.js.map} +1 -1
  180. package/dist-vue/_chunks/{css-TU14Ca1R.js → css-CzWlO-Xb.js} +1 -1
  181. package/dist-vue/_chunks/{css-TU14Ca1R.js.map → css-CzWlO-Xb.js.map} +1 -1
  182. package/dist-vue/_chunks/{cypher-CXLa4pI5.js → cypher-CLyYkG2-.js} +1 -1
  183. package/dist-vue/_chunks/{cypher-CXLa4pI5.js.map → cypher-CLyYkG2-.js.map} +1 -1
  184. package/dist-vue/_chunks/{d-BArAGMlp.js → d-DGUXRLLi.js} +1 -1
  185. package/dist-vue/_chunks/{d-BArAGMlp.js.map → d-DGUXRLLi.js.map} +1 -1
  186. package/dist-vue/_chunks/{diff-C3LIbTwG.js → diff-DRe8JdWk.js} +1 -1
  187. package/dist-vue/_chunks/{diff-C3LIbTwG.js.map → diff-DRe8JdWk.js.map} +1 -1
  188. package/dist-vue/_chunks/{dist-CUYb2Ykk.js → dist-7BKkikZw.js} +2 -2
  189. package/dist-vue/_chunks/{dist-CUYb2Ykk.js.map → dist-7BKkikZw.js.map} +1 -1
  190. package/dist-vue/_chunks/{dist-DlMrwhCk.js → dist-7u7jBD-H.js} +1 -1
  191. package/dist-vue/_chunks/{dist-DlMrwhCk.js.map → dist-7u7jBD-H.js.map} +1 -1
  192. package/dist-vue/_chunks/{dist-Bj32YA2b.js → dist-8BVnK6QW.js} +4 -4
  193. package/dist-vue/_chunks/{dist-Bj32YA2b.js.map → dist-8BVnK6QW.js.map} +1 -1
  194. package/dist-vue/_chunks/{dist-BtzPY8uU.js → dist-9IwNDEHQ.js} +2 -2
  195. package/dist-vue/_chunks/{dist-BtzPY8uU.js.map → dist-9IwNDEHQ.js.map} +1 -1
  196. package/dist-vue/_chunks/{dist-BMTTRExI.js → dist-BGTESNxJ.js} +1 -1
  197. package/dist-vue/_chunks/{dist-BMTTRExI.js.map → dist-BGTESNxJ.js.map} +1 -1
  198. package/dist-vue/_chunks/{dist-BUm8Nt7d.js → dist-BWdaSTBW.js} +2 -2
  199. package/dist-vue/_chunks/{dist-BUm8Nt7d.js.map → dist-BWdaSTBW.js.map} +1 -1
  200. package/dist-vue/_chunks/{dist-tDt7-5Hh.js → dist-BtFxPYCM.js} +1 -1
  201. package/dist-vue/_chunks/{dist-tDt7-5Hh.js.map → dist-BtFxPYCM.js.map} +1 -1
  202. package/dist-vue/_chunks/{dist-BM3i3wHC.js → dist-BwrhMmQA.js} +1 -1
  203. package/dist-vue/_chunks/{dist-BM3i3wHC.js.map → dist-BwrhMmQA.js.map} +1 -1
  204. package/dist-vue/_chunks/{dist-B_3TGJwf.js → dist-Cm-J5l4S2.js} +1 -1
  205. package/dist-vue/_chunks/dist-Cm-J5l4S2.js.map +1 -0
  206. package/dist-vue/_chunks/{dist-CUah0Xys.js → dist-CnmeOb2N.js} +3 -3
  207. package/dist-vue/_chunks/{dist-CUah0Xys.js.map → dist-CnmeOb2N.js.map} +1 -1
  208. package/dist-vue/_chunks/{dist-DI-XHVdE.js → dist-D34LRAfv.js} +2 -2
  209. package/dist-vue/_chunks/{dist-DI-XHVdE.js.map → dist-D34LRAfv.js.map} +1 -1
  210. package/dist-vue/_chunks/{dist-DACzskoy2.js → dist-D35h9xud2.js} +3 -3
  211. package/dist-vue/_chunks/{dist-DACzskoy2.js.map → dist-D35h9xud2.js.map} +1 -1
  212. package/dist-vue/_chunks/dist-DMKuVADK2.js +441 -0
  213. package/dist-vue/_chunks/dist-DMKuVADK2.js.map +1 -0
  214. package/dist-vue/_chunks/{dist-CwWFe7zF.js → dist-Dg1nGvwP.js} +1 -1
  215. package/dist-vue/_chunks/{dist-CwWFe7zF.js.map → dist-Dg1nGvwP.js.map} +1 -1
  216. package/dist-vue/_chunks/{dist-B2nNrire.js → dist-YcwJuFBx.js} +2 -2
  217. package/dist-vue/_chunks/{dist-B2nNrire.js.map → dist-YcwJuFBx.js.map} +1 -1
  218. package/dist-vue/_chunks/{dist-2JsKACZj.js → dist-b5CbbjSp.js} +1 -1
  219. package/dist-vue/_chunks/{dist-2JsKACZj.js.map → dist-b5CbbjSp.js.map} +1 -1
  220. package/dist-vue/_chunks/{dist-Cr5fwgdD.js → dist-kywGQjza.js} +2 -2
  221. package/dist-vue/_chunks/{dist-Cr5fwgdD.js.map → dist-kywGQjza.js.map} +1 -1
  222. package/dist-vue/_chunks/{dist-Df_bnb-v.js → dist-l6sREGf7.js} +1 -1
  223. package/dist-vue/_chunks/{dist-Df_bnb-v.js.map → dist-l6sREGf7.js.map} +1 -1
  224. package/dist-vue/_chunks/{dist-B1Xwe66S.js → dist-x5C6fPIQ.js} +2 -2
  225. package/dist-vue/_chunks/{dist-B1Xwe66S.js.map → dist-x5C6fPIQ.js.map} +1 -1
  226. package/dist-vue/_chunks/{dist-BgntOJ9J.js → dist-x73cXb-w.js} +3 -3
  227. package/dist-vue/_chunks/{dist-BgntOJ9J.js.map → dist-x73cXb-w.js.map} +1 -1
  228. package/dist-vue/_chunks/{dockerfile-DzujQve1.js → dockerfile-BpKVodrd.js} +2 -2
  229. package/dist-vue/_chunks/{dockerfile-DzujQve1.js.map → dockerfile-BpKVodrd.js.map} +1 -1
  230. package/dist-vue/_chunks/{dtd-B1f0YqWO.js → dtd-q9vHTxZ1.js} +1 -1
  231. package/dist-vue/_chunks/{dtd-B1f0YqWO.js.map → dtd-q9vHTxZ1.js.map} +1 -1
  232. package/dist-vue/_chunks/{dylan-bedk9ukf.js → dylan-CTRyD_yN.js} +1 -1
  233. package/dist-vue/_chunks/{dylan-bedk9ukf.js.map → dylan-CTRyD_yN.js.map} +1 -1
  234. package/dist-vue/_chunks/{ebnf-Cs5X8R8U.js → ebnf-DPw9AGDC.js} +1 -1
  235. package/dist-vue/_chunks/{ebnf-Cs5X8R8U.js.map → ebnf-DPw9AGDC.js.map} +1 -1
  236. package/dist-vue/_chunks/{ecl-CXPqOJjc.js → ecl-CuLlc0XE.js} +1 -1
  237. package/dist-vue/_chunks/{ecl-CXPqOJjc.js.map → ecl-CuLlc0XE.js.map} +1 -1
  238. package/dist-vue/_chunks/{eiffel-Oa4yGKHO.js → eiffel-DYyjt7F3.js} +1 -1
  239. package/dist-vue/_chunks/{eiffel-Oa4yGKHO.js.map → eiffel-DYyjt7F3.js.map} +1 -1
  240. package/dist-vue/_chunks/{elm-CEbGa4zC.js → elm-DcYv6ZJY.js} +1 -1
  241. package/dist-vue/_chunks/{elm-CEbGa4zC.js.map → elm-DcYv6ZJY.js.map} +1 -1
  242. package/dist-vue/_chunks/{erlang-BNnTSw8C.js → erlang-nipePvRg.js} +1 -1
  243. package/dist-vue/_chunks/{erlang-BNnTSw8C.js.map → erlang-nipePvRg.js.map} +1 -1
  244. package/dist-vue/_chunks/{factor-BIER3ncI.js → factor-C_jm0Hi8.js} +2 -2
  245. package/dist-vue/_chunks/{factor-BIER3ncI.js.map → factor-C_jm0Hi8.js.map} +1 -1
  246. package/dist-vue/_chunks/{fcl-HxmGK-W5.js → fcl-CqmPhDgo.js} +1 -1
  247. package/dist-vue/_chunks/{fcl-HxmGK-W5.js.map → fcl-CqmPhDgo.js.map} +1 -1
  248. package/dist-vue/_chunks/{forth-BoRU1oYL.js → forth-GAg6IwF6.js} +1 -1
  249. package/dist-vue/_chunks/{forth-BoRU1oYL.js.map → forth-GAg6IwF6.js.map} +1 -1
  250. package/dist-vue/_chunks/{fortran-8E8eLx-x.js → fortran-DyrSTiy7.js} +1 -1
  251. package/dist-vue/_chunks/{fortran-8E8eLx-x.js.map → fortran-DyrSTiy7.js.map} +1 -1
  252. package/dist-vue/_chunks/{gas-DzrG9cIr.js → gas-CBY6LBUu.js} +1 -1
  253. package/dist-vue/_chunks/{gas-DzrG9cIr.js.map → gas-CBY6LBUu.js.map} +1 -1
  254. package/dist-vue/_chunks/{gherkin-d-xjbPN9.js → gherkin-F6vIWaV0.js} +1 -1
  255. package/dist-vue/_chunks/{gherkin-d-xjbPN9.js.map → gherkin-F6vIWaV0.js.map} +1 -1
  256. package/dist-vue/_chunks/{groovy-DluoS5pg.js → groovy-DBvpslJE.js} +1 -1
  257. package/dist-vue/_chunks/{groovy-DluoS5pg.js.map → groovy-DBvpslJE.js.map} +1 -1
  258. package/dist-vue/_chunks/{haskell-DWzSrwGO.js → haskell-CzcXTuY3.js} +1 -1
  259. package/dist-vue/_chunks/{haskell-DWzSrwGO.js.map → haskell-CzcXTuY3.js.map} +1 -1
  260. package/dist-vue/_chunks/{haxe-nucWqdAl.js → haxe-C0K87vd-.js} +1 -1
  261. package/dist-vue/_chunks/{haxe-nucWqdAl.js.map → haxe-C0K87vd-.js.map} +1 -1
  262. package/dist-vue/_chunks/{http-wcQY3fv1.js → http-lhCYiIUK.js} +1 -1
  263. package/dist-vue/_chunks/{http-wcQY3fv1.js.map → http-lhCYiIUK.js.map} +1 -1
  264. package/dist-vue/_chunks/{idl-BZjtu2uP.js → idl-DiwlVJ2e.js} +1 -1
  265. package/dist-vue/_chunks/{idl-BZjtu2uP.js.map → idl-DiwlVJ2e.js.map} +1 -1
  266. package/dist-vue/_chunks/{javascript-D-DeSYfi.js → javascript-DoLQ_01m.js} +1 -1
  267. package/dist-vue/_chunks/{javascript-D-DeSYfi.js.map → javascript-DoLQ_01m.js.map} +1 -1
  268. package/dist-vue/_chunks/{julia-BdkHYLKN.js → julia-D-9kev9I.js} +1 -1
  269. package/dist-vue/_chunks/{julia-BdkHYLKN.js.map → julia-D-9kev9I.js.map} +1 -1
  270. package/dist-vue/_chunks/{livescript-B-rE2yGH.js → livescript-BXKPrYL1.js} +1 -1
  271. package/dist-vue/_chunks/{livescript-B-rE2yGH.js.map → livescript-BXKPrYL1.js.map} +1 -1
  272. package/dist-vue/_chunks/{lua-8MR4kmO6.js → lua-CmoiUImJ.js} +1 -1
  273. package/dist-vue/_chunks/{lua-8MR4kmO6.js.map → lua-CmoiUImJ.js.map} +1 -1
  274. package/dist-vue/_chunks/{mathematica-DsQZ56s1.js → mathematica-C0zVH3hb.js} +1 -1
  275. package/dist-vue/_chunks/{mathematica-DsQZ56s1.js.map → mathematica-C0zVH3hb.js.map} +1 -1
  276. package/dist-vue/_chunks/{mbox-BlqAOSZk.js → mbox-BQjArxBt.js} +1 -1
  277. package/dist-vue/_chunks/{mbox-BlqAOSZk.js.map → mbox-BQjArxBt.js.map} +1 -1
  278. package/dist-vue/_chunks/{mirc-CeWiL7Xj.js → mirc-CH7vSjBP.js} +1 -1
  279. package/dist-vue/_chunks/{mirc-CeWiL7Xj.js.map → mirc-CH7vSjBP.js.map} +1 -1
  280. package/dist-vue/_chunks/{mllike-B4w9rV72.js → mllike-BtNDtwtH.js} +1 -1
  281. package/dist-vue/_chunks/{mllike-B4w9rV72.js.map → mllike-BtNDtwtH.js.map} +1 -1
  282. package/dist-vue/_chunks/{modelica-BeZSjbWb.js → modelica-D0D4gw71.js} +1 -1
  283. package/dist-vue/_chunks/{modelica-BeZSjbWb.js.map → modelica-D0D4gw71.js.map} +1 -1
  284. package/dist-vue/_chunks/{mscgen-Diy4rp5E.js → mscgen-BREuUTcQ.js} +1 -1
  285. package/dist-vue/_chunks/{mscgen-Diy4rp5E.js.map → mscgen-BREuUTcQ.js.map} +1 -1
  286. package/dist-vue/_chunks/{mumps-DHp_hepw.js → mumps-Cj1f6cBa.js} +1 -1
  287. package/dist-vue/_chunks/{mumps-DHp_hepw.js.map → mumps-Cj1f6cBa.js.map} +1 -1
  288. package/dist-vue/_chunks/{nginx-ZUseZ3KV.js → nginx-CTa-DOcs.js} +1 -1
  289. package/dist-vue/_chunks/{nginx-ZUseZ3KV.js.map → nginx-CTa-DOcs.js.map} +1 -1
  290. package/dist-vue/_chunks/{nsis-g-2nkKRi.js → nsis-BWAOyRUP.js} +2 -2
  291. package/dist-vue/_chunks/{nsis-g-2nkKRi.js.map → nsis-BWAOyRUP.js.map} +1 -1
  292. package/dist-vue/_chunks/{ntriples-COZl-CW9.js → ntriples-zIN_qrIe.js} +1 -1
  293. package/dist-vue/_chunks/{ntriples-COZl-CW9.js.map → ntriples-zIN_qrIe.js.map} +1 -1
  294. package/dist-vue/_chunks/{octave-qefefCKI.js → octave-DIV6S7Pt.js} +1 -1
  295. package/dist-vue/_chunks/{octave-qefefCKI.js.map → octave-DIV6S7Pt.js.map} +1 -1
  296. package/dist-vue/_chunks/{oz-B7xBKeTb.js → oz-5rNpxapS.js} +1 -1
  297. package/dist-vue/_chunks/{oz-B7xBKeTb.js.map → oz-5rNpxapS.js.map} +1 -1
  298. package/dist-vue/_chunks/{pascal-B0deIU4R.js → pascal-7C5712Nh.js} +1 -1
  299. package/dist-vue/_chunks/{pascal-B0deIU4R.js.map → pascal-7C5712Nh.js.map} +1 -1
  300. package/dist-vue/_chunks/{perl-CrEeHa0-.js → perl-eAVlqDxG.js} +1 -1
  301. package/dist-vue/_chunks/{perl-CrEeHa0-.js.map → perl-eAVlqDxG.js.map} +1 -1
  302. package/dist-vue/_chunks/{pig-CQcAmjLr.js → pig-C6AL_r8r.js} +1 -1
  303. package/dist-vue/_chunks/{pig-CQcAmjLr.js.map → pig-C6AL_r8r.js.map} +1 -1
  304. package/dist-vue/_chunks/{powershell-CEOsLn17.js → powershell-DsA9A7ee.js} +1 -1
  305. package/dist-vue/_chunks/{powershell-CEOsLn17.js.map → powershell-DsA9A7ee.js.map} +1 -1
  306. package/dist-vue/_chunks/{properties-CIZ3QFxD.js → properties-DuF6jBwF.js} +1 -1
  307. package/dist-vue/_chunks/{properties-CIZ3QFxD.js.map → properties-DuF6jBwF.js.map} +1 -1
  308. package/dist-vue/_chunks/{protobuf-B9FrV1JK.js → protobuf-nlPU8ZM-.js} +1 -1
  309. package/dist-vue/_chunks/{protobuf-B9FrV1JK.js.map → protobuf-nlPU8ZM-.js.map} +1 -1
  310. package/dist-vue/_chunks/{pug-Dn8VvwH3.js → pug-C1RwTStM.js} +2 -2
  311. package/dist-vue/_chunks/{pug-Dn8VvwH3.js.map → pug-C1RwTStM.js.map} +1 -1
  312. package/dist-vue/_chunks/{puppet-C6TXtx4p.js → puppet-DFYbyNW2.js} +1 -1
  313. package/dist-vue/_chunks/{puppet-C6TXtx4p.js.map → puppet-DFYbyNW2.js.map} +1 -1
  314. package/dist-vue/_chunks/{python-DcAJJ0JG.js → python-Dv1DGCiz.js} +1 -1
  315. package/dist-vue/_chunks/{python-DcAJJ0JG.js.map → python-Dv1DGCiz.js.map} +1 -1
  316. package/dist-vue/_chunks/{q-WbmgnnmF.js → q-X1HLKyVv.js} +1 -1
  317. package/dist-vue/_chunks/{q-WbmgnnmF.js.map → q-X1HLKyVv.js.map} +1 -1
  318. package/dist-vue/_chunks/{r-C22XZ_AN.js → r-BZGUCY-c.js} +1 -1
  319. package/dist-vue/_chunks/{r-C22XZ_AN.js.map → r-BZGUCY-c.js.map} +1 -1
  320. package/dist-vue/_chunks/{rpm-B9APie5d.js → rpm-CDLCwfOD.js} +1 -1
  321. package/dist-vue/_chunks/{rpm-B9APie5d.js.map → rpm-CDLCwfOD.js.map} +1 -1
  322. package/dist-vue/_chunks/{ruby-D24Ax8EE.js → ruby-cVyKV-zg.js} +1 -1
  323. package/dist-vue/_chunks/{ruby-D24Ax8EE.js.map → ruby-cVyKV-zg.js.map} +1 -1
  324. package/dist-vue/_chunks/{sas-D4-twsz3.js → sas-BDPIwc3L.js} +1 -1
  325. package/dist-vue/_chunks/{sas-D4-twsz3.js.map → sas-BDPIwc3L.js.map} +1 -1
  326. package/dist-vue/_chunks/{scheme-CCmbAfjG.js → scheme-6m6S6r1m.js} +1 -1
  327. package/dist-vue/_chunks/{scheme-CCmbAfjG.js.map → scheme-6m6S6r1m.js.map} +1 -1
  328. package/dist-vue/_chunks/{shell-oVzTSWfo.js → shell-Dcuubvcg.js} +1 -1
  329. package/dist-vue/_chunks/{shell-oVzTSWfo.js.map → shell-Dcuubvcg.js.map} +1 -1
  330. package/dist-vue/_chunks/{sieve-DUlxvKqS.js → sieve-C0Ec4mOZ.js} +1 -1
  331. package/dist-vue/_chunks/{sieve-DUlxvKqS.js.map → sieve-C0Ec4mOZ.js.map} +1 -1
  332. package/dist-vue/_chunks/{simple-mode-B6svE9zR.js → simple-mode-CaO_UoX6.js} +1 -1
  333. package/dist-vue/_chunks/{simple-mode-B6svE9zR.js.map → simple-mode-CaO_UoX6.js.map} +1 -1
  334. package/dist-vue/_chunks/{smalltalk-9-Xd93Rn.js → smalltalk-C8mY0f87.js} +1 -1
  335. package/dist-vue/_chunks/{smalltalk-9-Xd93Rn.js.map → smalltalk-C8mY0f87.js.map} +1 -1
  336. package/dist-vue/_chunks/{solr-DzeE5sFM.js → solr-jbM7m8s0.js} +1 -1
  337. package/dist-vue/_chunks/{solr-DzeE5sFM.js.map → solr-jbM7m8s0.js.map} +1 -1
  338. package/dist-vue/_chunks/{sparql-GFDxBmFa.js → sparql-DJZXdQFZ.js} +1 -1
  339. package/dist-vue/_chunks/{sparql-GFDxBmFa.js.map → sparql-DJZXdQFZ.js.map} +1 -1
  340. package/dist-vue/_chunks/{spreadsheet-BD6sBFg8.js → spreadsheet-iKWvNdRt.js} +1 -1
  341. package/dist-vue/_chunks/{spreadsheet-BD6sBFg8.js.map → spreadsheet-iKWvNdRt.js.map} +1 -1
  342. package/dist-vue/_chunks/{sql-JuMmsoSB.js → sql-BQ2tj9MP.js} +1 -1
  343. package/dist-vue/_chunks/{sql-JuMmsoSB.js.map → sql-BQ2tj9MP.js.map} +1 -1
  344. package/dist-vue/_chunks/{src-EtGd6cRz.js → src-DW4YojFN.js} +10 -10
  345. package/dist-vue/_chunks/{src-EtGd6cRz.js.map → src-DW4YojFN.js.map} +1 -1
  346. package/dist-vue/_chunks/{stex-Cy057UFl.js → stex-BEcrdSPS.js} +1 -1
  347. package/dist-vue/_chunks/{stex-Cy057UFl.js.map → stex-BEcrdSPS.js.map} +1 -1
  348. package/dist-vue/_chunks/{stylus-0KIe3uMX.js → stylus-b5gEI930.js} +1 -1
  349. package/dist-vue/_chunks/{stylus-0KIe3uMX.js.map → stylus-b5gEI930.js.map} +1 -1
  350. package/dist-vue/_chunks/{swift-tYMDqvYT.js → swift-RNJNWQs6.js} +1 -1
  351. package/dist-vue/_chunks/{swift-tYMDqvYT.js.map → swift-RNJNWQs6.js.map} +1 -1
  352. package/dist-vue/_chunks/{tcl-CSbjfJ81.js → tcl-BbY3AuDS.js} +1 -1
  353. package/dist-vue/_chunks/{tcl-CSbjfJ81.js.map → tcl-BbY3AuDS.js.map} +1 -1
  354. package/dist-vue/_chunks/{textile-Qe0pFxF7.js → textile-BM2q07iw.js} +1 -1
  355. package/dist-vue/_chunks/{textile-Qe0pFxF7.js.map → textile-BM2q07iw.js.map} +1 -1
  356. package/dist-vue/_chunks/{tiddlywiki-CYhUSC90.js → tiddlywiki-Bu7ffwvE.js} +1 -1
  357. package/dist-vue/_chunks/{tiddlywiki-CYhUSC90.js.map → tiddlywiki-Bu7ffwvE.js.map} +1 -1
  358. package/dist-vue/_chunks/{tiki-jtNVir5w.js → tiki-BSMiLiXp.js} +1 -1
  359. package/dist-vue/_chunks/{tiki-jtNVir5w.js.map → tiki-BSMiLiXp.js.map} +1 -1
  360. package/dist-vue/_chunks/{toml-C3FMZ9FE.js → toml-D3U9uI6V.js} +1 -1
  361. package/dist-vue/_chunks/{toml-C3FMZ9FE.js.map → toml-D3U9uI6V.js.map} +1 -1
  362. package/dist-vue/_chunks/{troff-FdVM_sPB.js → troff-DK_RaQh-.js} +1 -1
  363. package/dist-vue/_chunks/{troff-FdVM_sPB.js.map → troff-DK_RaQh-.js.map} +1 -1
  364. package/dist-vue/_chunks/{ttcn-Tmx7e7xS.js → ttcn-DVxr7ZdN.js} +1 -1
  365. package/dist-vue/_chunks/{ttcn-Tmx7e7xS.js.map → ttcn-DVxr7ZdN.js.map} +1 -1
  366. package/dist-vue/_chunks/{ttcn-cfg-BP7MXn1J.js → ttcn-cfg-CJG9xdrY.js} +1 -1
  367. package/dist-vue/_chunks/{ttcn-cfg-BP7MXn1J.js.map → ttcn-cfg-CJG9xdrY.js.map} +1 -1
  368. package/dist-vue/_chunks/{turtle-BtDXIrpF.js → turtle-Cj5kMy4D.js} +1 -1
  369. package/dist-vue/_chunks/{turtle-BtDXIrpF.js.map → turtle-Cj5kMy4D.js.map} +1 -1
  370. package/dist-vue/_chunks/{useChatbotStore-BXi-Gx7b.js → useChatbotStore-DCCWlutT.js} +1244 -1217
  371. package/dist-vue/_chunks/useChatbotStore-DCCWlutT.js.map +1 -0
  372. package/dist-vue/_chunks/{useSafeLocalStorage-BL5mqfb7.js → useSafeLocalStorage-DmA2eEi6.js} +2 -2
  373. package/dist-vue/_chunks/{useSafeLocalStorage-BL5mqfb7.js.map → useSafeLocalStorage-DmA2eEi6.js.map} +1 -1
  374. package/dist-vue/_chunks/{utils-CRojvghU.js → utils-UX35fb5C.js} +13 -13
  375. package/dist-vue/_chunks/{utils-CRojvghU.js.map → utils-UX35fb5C.js.map} +1 -1
  376. package/dist-vue/_chunks/{vb-DZ7E2F9i.js → vb-RlGsZALV.js} +1 -1
  377. package/dist-vue/_chunks/{vb-DZ7E2F9i.js.map → vb-RlGsZALV.js.map} +1 -1
  378. package/dist-vue/_chunks/{vbscript-DmYal433.js → vbscript-C6LN5bsX.js} +1 -1
  379. package/dist-vue/_chunks/{vbscript-DmYal433.js.map → vbscript-C6LN5bsX.js.map} +1 -1
  380. package/dist-vue/_chunks/{velocity-Dwi9C1bZ.js → velocity-7A5nvZTA.js} +1 -1
  381. package/dist-vue/_chunks/{velocity-Dwi9C1bZ.js.map → velocity-7A5nvZTA.js.map} +1 -1
  382. package/dist-vue/_chunks/{verilog-6XMMKLGD.js → verilog-CoPTkjsM.js} +1 -1
  383. package/dist-vue/_chunks/{verilog-6XMMKLGD.js.map → verilog-CoPTkjsM.js.map} +1 -1
  384. package/dist-vue/_chunks/{vhdl-BczymJF3.js → vhdl-BRtaeCKx.js} +1 -1
  385. package/dist-vue/_chunks/{vhdl-BczymJF3.js.map → vhdl-BRtaeCKx.js.map} +1 -1
  386. package/dist-vue/_chunks/{webidl-CaC70GJ2.js → webidl-BVwPXw7k.js} +1 -1
  387. package/dist-vue/_chunks/{webidl-CaC70GJ2.js.map → webidl-BVwPXw7k.js.map} +1 -1
  388. package/dist-vue/_chunks/{xquery-JS07XjNe.js → xquery-CXV9KVdL.js} +1 -1
  389. package/dist-vue/_chunks/{xquery-JS07XjNe.js.map → xquery-CXV9KVdL.js.map} +1 -1
  390. package/dist-vue/_chunks/{yacas-BXZNhOsZ.js → yacas-5ByKKRqf.js} +1 -1
  391. package/dist-vue/_chunks/{yacas-BXZNhOsZ.js.map → yacas-5ByKKRqf.js.map} +1 -1
  392. package/dist-vue/_chunks/{z80-Dtc8Q5vA.js → z80-wbH4fW7-.js} +1 -1
  393. package/dist-vue/_chunks/{z80-Dtc8Q5vA.js.map → z80-wbH4fW7-.js.map} +1 -1
  394. package/dist-vue/api.js +1 -1
  395. package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +8 -5
  396. package/dist-vue/apps/web-component/src/components/FloatingChatWidget.ce.d.ts +8 -1
  397. package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +4 -0
  398. package/dist-vue/apps/web-component/src/lib.d.ts +34 -0
  399. package/dist-vue/apps/web-component/src/utils/emitWidgetEvent.d.ts +10 -0
  400. package/dist-vue/composables.js +4 -4
  401. package/dist-vue/index.js +8628 -4422
  402. package/dist-vue/index.js.map +1 -1
  403. package/dist-vue/locales.js +106 -62
  404. package/dist-vue/packages/auth/src/index.d.ts +12 -12
  405. package/dist-vue/packages/components/src/PkEditorJsonSchema.d.ts +36 -0
  406. package/dist-vue/packages/components/src/PkSchemaField.d.ts +17 -0
  407. package/dist-vue/packages/components/src/PkSvgViewer.d.ts +8 -0
  408. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +5 -2
  409. package/dist-vue/packages/components/src/chat/PkChatbot.d.ts +2 -0
  410. package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +1 -0
  411. package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +6 -6
  412. package/dist-vue/packages/components/src/chat/PkStreamingMarkdown.d.ts +2 -0
  413. package/dist-vue/packages/components/src/chat/PkStreamingMarkdownAutoscroll.d.ts +1 -0
  414. package/dist-vue/packages/components/src/chat/PkToolShowDiagram.d.ts +8 -0
  415. package/dist-vue/packages/components/src/chat/PkToolShowLocation.d.ts +2 -0
  416. package/dist-vue/packages/components/src/chat/constants.d.ts +1 -1
  417. package/dist-vue/packages/components/src/index.d.ts +4 -1
  418. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +21 -3
  419. package/dist-vue/packages/composable/src/index.d.ts +1 -0
  420. package/dist-vue/packages/composable/src/useJsonSchemaEditor.d.ts +45 -0
  421. package/dist-vue/packages/models/src/schema/Agent.d.ts +4 -0
  422. package/dist-vue/packages/models/src/schema/Chat.d.ts +3 -0
  423. package/dist-vue/packages/models/src/schema/Notification.d.ts +6 -0
  424. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +2 -0
  425. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +2 -0
  426. package/dist-vue/packages/models/src/schema/constants.d.ts +2 -0
  427. package/dist-vue/packages/models/src/utils.d.ts +2 -0
  428. package/dist-vue/style.css +1 -1
  429. package/package.json +7 -7
  430. package/dist/_chunks/PkStreamingMarkdown-SVWv4Oye.js.map +0 -1
  431. package/dist/_chunks/PkToolShowComparison-BzyqEIMV.js +0 -64
  432. package/dist/_chunks/VvCombobox.es-CUUNtqyJ.js +0 -1998
  433. package/dist/_chunks/VvTextarea.es-B5txwRRm.js +0 -1110
  434. package/dist/_chunks/dist-DHG50RNO.js +0 -768
  435. package/dist/_chunks/marker-icon-2x-Df3ovzYv.js +0 -7
  436. package/dist/_chunks/marker-icon-2x-Df3ovzYv.js.map +0 -1
  437. package/dist/_chunks/marker-icon-CCYFvBsS.js +0 -7
  438. package/dist/_chunks/marker-icon-CCYFvBsS.js.map +0 -1
  439. package/dist/_chunks/marker-shadow-CHjnGkIt.js +0 -7
  440. package/dist/_chunks/marker-shadow-CHjnGkIt.js.map +0 -1
  441. package/dist-vue/_chunks/Media-Dq8UU7iQ.js +0 -120
  442. package/dist-vue/_chunks/Media-Dq8UU7iQ.js.map +0 -1
  443. package/dist-vue/_chunks/PkChatbot-CoXx7Rul.js +0 -191
  444. package/dist-vue/_chunks/PkChatbot-CoXx7Rul.js.map +0 -1
  445. package/dist-vue/_chunks/PkChatbotFilePreview-0N9ASbIp.js.map +0 -1
  446. package/dist-vue/_chunks/PkChatbotMessages-BDziUgck.js.map +0 -1
  447. package/dist-vue/_chunks/PkChatbotViewChat-DMnMkELX.js +0 -278
  448. package/dist-vue/_chunks/PkChatbotViewChat-DMnMkELX.js.map +0 -1
  449. package/dist-vue/_chunks/PkStreamingMarkdown-BUiAi-qv.js.map +0 -1
  450. package/dist-vue/_chunks/PkToolRequestConfirm-BsHpoI-c.js +0 -49
  451. package/dist-vue/_chunks/PkToolRequestOAuthConnection-shcJXxtk.js +0 -64
  452. package/dist-vue/_chunks/PkToolShowLocation-DBHdxOFr.js +0 -149
  453. package/dist-vue/_chunks/PkToolShowLocation-DBHdxOFr.js.map +0 -1
  454. package/dist-vue/_chunks/createChatbotApiClient-C_E35aQf.js.map +0 -1
  455. package/dist-vue/_chunks/dist-B_3TGJwf.js.map +0 -1
  456. package/dist-vue/_chunks/dist-sx4PacBp2.js +0 -440
  457. package/dist-vue/_chunks/dist-sx4PacBp2.js.map +0 -1
  458. package/dist-vue/_chunks/useChatbotStore-BXi-Gx7b.js.map +0 -1
  459. /package/dist/_chunks/{_plugin-vue_export-helper-BWIS0o4o.js → _plugin-vue_export-helper-5qR9iAls.js} +0 -0
@@ -0,0 +1,1140 @@
1
+ import { $ as e, B as t, C as n, D as r, E as i, F as a, Ht as o, I as s, Kt as c, L as l, O as u, Q as d, Z as f, _ as p, b as m, bt as h, ct as g, dt as _, et as v, h as y, ht as b, j as x, k as S, lt as C, pt as w, v as T, w as E, x as D, z as O } from "./vue.runtime.esm-bundler-B-iHWsf4.js";
2
+ import { i as ee } from "./dist-Dplp2WfI.js";
3
+ import { c as te, n as ne, o as re, r as ie, s as ae } from "./index.es-9_Td6lnP.js";
4
+ import { _ as oe, g as se } from "./src-L9Jq1dyr.js";
5
+ import { AttributionControl as k, FullscreenControl as A, GeolocateControl as ce, LngLat as j, LogoControl as le, Map as ue, Marker as de, NavigationControl as fe, Popup as pe, ScaleControl as M } from "https://cdn.jsdelivr.net/npm/maplibre-gl@5/+esm";
6
+ //#region ../../node_modules/.pnpm/@indoorequal+vue-maplibre-gl@8.4.2_maplibre-gl@5.24.0_vue@3.5.35_typescript@6.0.3_/node_modules/@indoorequal/vue-maplibre-gl/dist/vue-maplibre-gl.es.js
7
+ var N = Symbol("map"), P = Symbol("isLoaded"), F = Symbol("isInitialized"), I = Symbol("componentId"), L = Symbol("sourceId"), R = Symbol("sourceLayerRegistry"), z = Symbol("marker"), B = /* @__PURE__ */ "error.load.idle.remove.render.resize.webglcontextlost.webglcontextrestored.dataloading.data.tiledataloading.sourcedataloading.styledataloading.sourcedata.styledata.styleimagemissing.dataabort.sourcedataabort.boxzoomcancel.boxzoomstart.boxzoomend.touchcancel.touchmove.touchend.touchstart.click.contextmenu.dblclick.mousemove.mouseup.mousedown.mouseout.mouseover.movestart.move.moveend.zoomstart.zoom.zoomend.rotatestart.rotate.rotateend.dragstart.drag.dragend.pitchstart.pitch.pitchend.wheel.terrain.cooperativegestureprevented".split(".");
8
+ function me(e, t, n, r) {
9
+ return (i) => n.emit(r, {
10
+ type: i.type,
11
+ map: t,
12
+ component: e,
13
+ event: i
14
+ });
15
+ }
16
+ function he(e, t) {
17
+ let n = j.convert(e), r = j.convert(t);
18
+ return n.lng === r.lng && n.lat === r.lat;
19
+ }
20
+ var V = /* @__PURE__ */ ((e) => (e.TOP_LEFT = "top-left", e.TOP_RIGHT = "top-right", e.BOTTOM_LEFT = "bottom-left", e.BOTTOM_RIGHT = "bottom-right", e))(V || {}), H = Object.values(V), U = /* @__PURE__ */ new Map(), ge = Symbol("default");
21
+ function _e(e, t, n = ge) {
22
+ let r = U.get(n);
23
+ return r || (r = _({
24
+ isLoaded: !1,
25
+ isMounted: !1,
26
+ language: null
27
+ }), U.set(n, r)), r.isLoaded = t.value?.loaded() || !1, r.isMounted = !1, r.component = e, r.map = t.value, r;
28
+ }
29
+ var ve = i({
30
+ name: "MglMap",
31
+ props: {
32
+ width: {
33
+ type: [Number, String],
34
+ default: "100%"
35
+ },
36
+ height: {
37
+ type: [Number, String],
38
+ default: "100%"
39
+ },
40
+ attributionControl: {
41
+ type: [Boolean, Object],
42
+ default: void 0
43
+ },
44
+ bearing: { type: Number },
45
+ bearingSnap: { type: Number },
46
+ bounds: { type: [Array, Object] },
47
+ boxZoom: {
48
+ type: Boolean,
49
+ default: void 0
50
+ },
51
+ center: { type: [Array, Object] },
52
+ clickTolerance: { type: Number },
53
+ collectResourceTiming: {
54
+ type: Boolean,
55
+ default: void 0
56
+ },
57
+ crossSourceCollisions: {
58
+ type: Boolean,
59
+ default: void 0
60
+ },
61
+ dragPan: {
62
+ type: Boolean,
63
+ default: void 0
64
+ },
65
+ dragRotate: {
66
+ type: Boolean,
67
+ default: void 0
68
+ },
69
+ doubleClickZoom: {
70
+ type: Boolean,
71
+ default: void 0
72
+ },
73
+ hash: {
74
+ type: [Boolean, String],
75
+ default: void 0
76
+ },
77
+ fadeDuration: { type: Number },
78
+ fitBoundsOptions: { type: Object },
79
+ interactive: {
80
+ type: Boolean,
81
+ default: void 0
82
+ },
83
+ keyboard: {
84
+ type: Boolean,
85
+ default: void 0
86
+ },
87
+ locale: { type: Object },
88
+ localIdeographFontFamily: { type: String },
89
+ logoPosition: {
90
+ type: [String],
91
+ validator: (e) => e in V
92
+ },
93
+ maxBounds: { type: [Array, Object] },
94
+ maxPitch: { type: Number },
95
+ maxZoom: { type: Number },
96
+ minPitch: { type: Number },
97
+ minZoom: { type: Number },
98
+ pitch: { type: Number },
99
+ pitchWithRotate: {
100
+ type: Boolean,
101
+ default: void 0
102
+ },
103
+ canvasContextAttributes: { type: Object },
104
+ refreshExpiredTiles: {
105
+ type: Boolean,
106
+ default: void 0
107
+ },
108
+ renderWorldCopies: {
109
+ type: Boolean,
110
+ default: void 0
111
+ },
112
+ scrollZoom: {
113
+ type: Boolean,
114
+ default: void 0
115
+ },
116
+ mapStyle: { type: [String, Object] },
117
+ trackResize: {
118
+ type: Boolean,
119
+ default: void 0
120
+ },
121
+ transformRequest: { type: Function },
122
+ transformCameraUpdate: { type: Function },
123
+ touchZoomRotate: {
124
+ type: Boolean,
125
+ default: void 0
126
+ },
127
+ touchPitch: {
128
+ type: Boolean,
129
+ default: void 0
130
+ },
131
+ zoom: { type: Number },
132
+ maxTileCacheSize: { type: Number },
133
+ mapKey: { type: [String, Symbol] },
134
+ pixelRatio: { type: Number },
135
+ validateStyle: {
136
+ type: Boolean,
137
+ default: void 0
138
+ },
139
+ cooperativeGestures: { type: Boolean }
140
+ },
141
+ emits: /* @__PURE__ */ "map:error.map:load.map:idle.map:remove.map:render.map:resize.map:webglcontextlost.map:webglcontextrestored.map:dataloading.map:data.map:tiledataloading.map:sourcedataloading.map:styledataloading.map:sourcedata.map:styledata.map:styleimagemissing.map:dataabort.map:sourcedataabort.map:boxzoomcancel.map:boxzoomstart.map:boxzoomend.map:touchcancel.map:touchmove.map:touchend.map:touchstart.map:click.map:contextmenu.map:dblclick.map:mousemove.map:mouseup.map:mousedown.map:mouseout.map:mouseover.map:movestart.map:move.map:moveend.map:zoomstart.map:zoom.map:zoomend.map:rotatestart.map:rotate.map:rotateend.map:dragstart.map:drag.map:dragend.map:pitchstart.map:pitch.map:pitchend.map:wheel.map:terrain.map:cooperativegestureprevented.map:projectiontransition.update:center.update:zoom.update:pitch.update:bearing".split("."),
142
+ slots: Object,
143
+ setup(e, n) {
144
+ let i = C(r()), o = b(), c = b(), u = w(!1), f = w(!1), p = /* @__PURE__ */ new Map(), m = _e(i, c, e.mapKey);
145
+ t(N, c), t(P, f), t(F, u), t(I, i.uid), t(L, ""), d(() => e.bearing, (e) => {
146
+ e && c.value?.setBearing(e);
147
+ }), d(() => e.bounds, (t) => {
148
+ t && c.value?.fitBounds(t, e.fitBoundsOptions);
149
+ }), d(() => e.center, (e) => {
150
+ let t = c.value?.getCenter();
151
+ e && t && !he(e, t) && c.value?.setCenter(e);
152
+ }), d(() => e.maxBounds, (e) => {
153
+ e && c.value?.setMaxBounds(e);
154
+ }), d(() => e.maxPitch, (e) => {
155
+ e && c.value?.setMaxPitch(e);
156
+ }), d(() => e.maxZoom, (e) => {
157
+ e && c.value?.setMaxZoom(e);
158
+ }), d(() => e.minPitch, (e) => {
159
+ e && c.value?.setMinPitch(e);
160
+ }), d(() => e.minZoom, (e) => {
161
+ e && c.value?.setMinZoom(e);
162
+ }), d(() => e.pitch, (e) => {
163
+ e && c.value?.setPitch(e);
164
+ }), d(() => e.renderWorldCopies, (e) => {
165
+ e && c.value?.setRenderWorldCopies(e);
166
+ }), d(() => e.mapStyle, (e) => {
167
+ e && c.value?.setStyle(e);
168
+ }), d(() => e.transformRequest, (e) => {
169
+ e && c.value?.setTransformRequest(e);
170
+ }), d(() => e.zoom, (e) => {
171
+ e && c.value?.setZoom(e);
172
+ }), d(() => e.zoom, (e) => {
173
+ e && c.value?.setZoom(e);
174
+ });
175
+ function h() {
176
+ m.isMounted = !0;
177
+ let t = {
178
+ ...e,
179
+ style: e.mapStyle,
180
+ container: o.value
181
+ };
182
+ for (let e of Object.keys(t)) t[e] === void 0 && delete t[e];
183
+ if (c.value = C(new ue(t)), m.map = c.value, u.value = !0, p.set("__load", () => (f.value = !0, m.isLoaded = !0)), c.value.on("load", p.get("__load")), p.set("__moveend", () => n.emit("update:center", c.value.getCenter())), c.value.on("moveend", p.get("__moveend")), p.set("__zoomend", () => n.emit("update:zoom", c.value.getZoom())), c.value.on("zoomend", p.get("__zoomend")), p.set("__pitchend", () => n.emit("update:pitch", c.value.getPitch())), c.value.on("pitchend", p.get("__pitchend")), p.set("__rotateend", () => n.emit("update:bearing", c.value.getBearing())), c.value.on("rotateend", p.get("__rotateend")), i.vnode.props) {
184
+ for (let e of B) if (i.vnode.props["onMap:" + e]) {
185
+ let t = `map:${e}`, r = me(i, c.value, n, t);
186
+ p.set(e, r), c.value.on(e, r);
187
+ }
188
+ }
189
+ c.value.getCanvas().addEventListener("webglcontextlost", _);
190
+ }
191
+ async function g() {
192
+ m.isMounted = !1, m.isLoaded = !1, f.value = !1, c.value && (c.value.getCanvas().removeEventListener("webglcontextlost", _), u.value = !1, p.forEach((e, t) => {
193
+ c.value.off(t.startsWith("__") ? t.substring(2) : t, e);
194
+ }), c.value.remove());
195
+ }
196
+ function _() {
197
+ g(), a(h);
198
+ }
199
+ return l(h), s(g), n.expose({ map: c }), () => [S("div", {
200
+ ref: o,
201
+ style: {
202
+ height: e.height,
203
+ width: e.width
204
+ }
205
+ }), u.value && n.slots.default ? n.slots.default({}) : void 0];
206
+ },
207
+ render() {
208
+ return null;
209
+ }
210
+ });
211
+ function ye(e, t, n) {
212
+ d(e, (e) => {
213
+ e && H.indexOf(e) === -1 || (t.value?.hasControl(n) && t.value.removeControl(n), t.value?.addControl(n, e));
214
+ }, { immediate: !0 });
215
+ }
216
+ function W(e, t) {
217
+ let n = x(N), r = x(F), i = b();
218
+ return i.value = e(), ye(() => t.position, n, i.value), s(() => r.value && n.value?.removeControl(i.value)), {
219
+ control: i,
220
+ map: n
221
+ };
222
+ }
223
+ i({
224
+ name: "MglAttributionControl",
225
+ props: {
226
+ position: {
227
+ type: String,
228
+ validator: (e) => H.indexOf(e) !== -1
229
+ },
230
+ compact: Boolean,
231
+ customAttribution: [String, Array]
232
+ },
233
+ setup(e) {
234
+ W(() => new k({
235
+ compact: e.compact,
236
+ customAttribution: e.customAttribution
237
+ }), e);
238
+ },
239
+ render() {
240
+ return null;
241
+ }
242
+ });
243
+ var be = class {
244
+ constructor(e, t) {
245
+ this.isAdded = e, this.container = document.createElement("div"), this.setClasses(t);
246
+ }
247
+ container;
248
+ getDefaultPosition() {
249
+ return V.TOP_LEFT;
250
+ }
251
+ onAdd() {
252
+ return a(() => this.isAdded.value = !0), this.container;
253
+ }
254
+ onRemove() {
255
+ this.isAdded.value = !1, this.container.remove();
256
+ }
257
+ setClasses(e) {
258
+ this.container.className = e;
259
+ }
260
+ };
261
+ i({
262
+ name: "MglCustomControl",
263
+ props: {
264
+ position: {
265
+ type: String,
266
+ validator: (e) => H.indexOf(e) !== -1
267
+ },
268
+ class: {
269
+ type: String,
270
+ default: "maplibregl-ctrl maplibregl-ctrl-group"
271
+ }
272
+ },
273
+ slots: Object,
274
+ setup(e, { slots: t }) {
275
+ let n = w(!1), { control: r } = W(() => new be(n, e.class), e);
276
+ return d(() => e.class, () => r.value.setClasses(e.class)), () => n.value ? S(y, { to: r.value.container }, t.default?.({})) : m("custom-component");
277
+ },
278
+ render() {
279
+ return null;
280
+ }
281
+ }), i({
282
+ name: "MglFullscreenControl",
283
+ props: {
284
+ position: {
285
+ type: String,
286
+ validator: (e) => H.indexOf(e) !== -1
287
+ },
288
+ container: {
289
+ type: Object,
290
+ default: null
291
+ }
292
+ },
293
+ setup(e) {
294
+ let { control: t, map: n } = W(() => new A({ container: e.container || void 0 }), e);
295
+ function r() {
296
+ a(() => n.value?.resize());
297
+ }
298
+ t.value.on("fullscreenstart", r), t.value.on("fullscreenend", r), s(() => {
299
+ t.value.off("fullscreenstart", r), t.value.off("fullscreenend", r);
300
+ });
301
+ },
302
+ render() {
303
+ return null;
304
+ }
305
+ });
306
+ var xe = i({
307
+ name: "MglGeolocateControl",
308
+ props: {
309
+ position: {
310
+ type: String,
311
+ default: V.TOP_RIGHT,
312
+ validator: (e) => H.indexOf(e) !== -1
313
+ },
314
+ positionOptions: {
315
+ type: Object,
316
+ default: () => ({
317
+ enableHighAccuracy: !1,
318
+ timeout: 6e3
319
+ })
320
+ },
321
+ fitBoundsOptions: {
322
+ type: Object,
323
+ default: () => ({ maxZoom: 15 })
324
+ },
325
+ trackUserLocation: {
326
+ type: Boolean,
327
+ default: !1
328
+ },
329
+ showAccuracyCircle: {
330
+ type: Boolean,
331
+ default: !0
332
+ },
333
+ showUserLocation: {
334
+ type: Boolean,
335
+ default: !0
336
+ }
337
+ },
338
+ emits: [
339
+ "trackuserlocationstart",
340
+ "trackuserlocationend",
341
+ "userlocationlostfocus",
342
+ "userlocationfocus",
343
+ "geolocate",
344
+ "error",
345
+ "outofmaxbounds"
346
+ ],
347
+ setup(e, t) {
348
+ let { control: n } = W(() => new ce({
349
+ positionOptions: e.positionOptions,
350
+ fitBoundsOptions: e.fitBoundsOptions,
351
+ trackUserLocation: e.trackUserLocation,
352
+ showAccuracyCircle: e.showAccuracyCircle,
353
+ showUserLocation: e.showUserLocation
354
+ }), e);
355
+ function r(e) {
356
+ let r = (n) => {
357
+ t.emit(e, n);
358
+ };
359
+ n.value.on(e, r), s(() => {
360
+ n.value.off(e, r);
361
+ });
362
+ }
363
+ r("trackuserlocationstart"), r("trackuserlocationend"), r("userlocationlostfocus"), r("userlocationfocus"), r("geolocate"), r("error"), r("outofmaxbounds");
364
+ },
365
+ render() {
366
+ return null;
367
+ }
368
+ }), Se = i({
369
+ name: "MglNavigationControl",
370
+ props: {
371
+ position: {
372
+ type: String,
373
+ validator: (e) => H.indexOf(e) !== -1
374
+ },
375
+ showCompass: {
376
+ type: Boolean,
377
+ default: !0
378
+ },
379
+ showZoom: {
380
+ type: Boolean,
381
+ default: !0
382
+ },
383
+ visualizePitch: Boolean
384
+ },
385
+ setup(e) {
386
+ W(() => new fe({
387
+ showCompass: e.showCompass,
388
+ showZoom: e.showZoom,
389
+ visualizePitch: e.visualizePitch
390
+ }), e);
391
+ },
392
+ render() {
393
+ return null;
394
+ }
395
+ }), G = /* @__PURE__ */ ((e) => (e.IMPERIAL = "imperial", e.METRIC = "metric", e.NAUTICAL = "nautical", e))(G || {}), Ce = Object.values(G), we = i({
396
+ name: "MglScaleControl",
397
+ props: {
398
+ position: {
399
+ type: String,
400
+ validator: (e) => H.indexOf(e) !== -1
401
+ },
402
+ maxWidth: {
403
+ type: Number,
404
+ default: 100
405
+ },
406
+ unit: {
407
+ type: String,
408
+ default: "metric",
409
+ validator: (e) => Ce.indexOf(e) !== -1
410
+ }
411
+ },
412
+ setup(e) {
413
+ W(() => new M({
414
+ maxWidth: e.maxWidth,
415
+ unit: e.unit
416
+ }), e);
417
+ },
418
+ render() {
419
+ return null;
420
+ }
421
+ });
422
+ i({
423
+ name: "MglLogoControl",
424
+ props: {
425
+ position: {
426
+ type: String,
427
+ validator: (e) => H.indexOf(e) !== -1
428
+ },
429
+ compact: { type: Boolean }
430
+ },
431
+ setup(e) {
432
+ W(() => new le({ compact: e.compact }), e);
433
+ },
434
+ render() {
435
+ return null;
436
+ }
437
+ });
438
+ var Te = i({
439
+ name: "MglMarker",
440
+ emits: [
441
+ "dragstart",
442
+ "drag",
443
+ "dragend",
444
+ "update:coordinates"
445
+ ],
446
+ props: {
447
+ coordinates: {
448
+ type: [Object, Array],
449
+ required: !0
450
+ },
451
+ className: String,
452
+ offset: [Object, Array],
453
+ anchor: String,
454
+ color: String,
455
+ draggable: Boolean,
456
+ clickTolerance: Number,
457
+ rotation: Number,
458
+ rotationAlignment: String,
459
+ pitchAlignment: String,
460
+ scale: Number,
461
+ opacity: String,
462
+ opacityWhenCovered: String,
463
+ subpixelPositioning: {
464
+ type: Boolean,
465
+ default: !1
466
+ }
467
+ },
468
+ setup(e, { slots: n, emit: r }) {
469
+ let i = x(N), a = b(), o = w(), c = w(!1), u = /* @__PURE__ */ new Map();
470
+ function f(e, t) {
471
+ let n = (n) => {
472
+ t && t(), r(e, n);
473
+ };
474
+ a.value.on(e, n), u.set(e, n);
475
+ }
476
+ return t(z, a), l(() => {
477
+ let t = { ...e };
478
+ n.marker && (t.element = o.value), a.value = new de(t), a.value.setLngLat(e.coordinates).addTo(i.value), f("dragstart"), f("drag", () => {
479
+ r("update:coordinates", a.value?.getLngLat());
480
+ }), f("dragend", () => {
481
+ r("update:coordinates", a.value?.getLngLat());
482
+ }), c.value = !0;
483
+ }), d(() => e.coordinates, (e) => a.value?.setLngLat(e), { deep: !0 }), d(() => e.draggable, (e) => a.value?.setDraggable(e)), d(() => e.offset, (e) => a.value?.setOffset(e || [0, 0])), d(() => e.pitchAlignment, (e) => a.value?.setPitchAlignment(e || "auto")), d(() => e.rotation, (e) => a.value?.setRotation(e)), d(() => e.rotationAlignment, (e) => a.value?.setRotationAlignment(e || "auto")), d(() => e.opacity, (t) => a.value?.setOpacity(t, e.opacityWhenCovered)), d(() => e.opacityWhenCovered, (t) => a.value?.setOpacity(e.opacity, t)), d(() => e.subpixelPositioning, (e) => a.value?.setSubpixelPositioning(e)), d(() => e.className, (e, t) => {
484
+ t && a.value?.removeClassName(t), e && a.value?.addClassName(e);
485
+ }), s(() => {
486
+ u.forEach((e, t) => {
487
+ a.value?.off(t, e);
488
+ }), a.value?.remove();
489
+ }), () => [S("div", n.default && c.value ? n.default({}) : void 0), S("div", { ref: o }, n.marker ? n.marker() : void 0)];
490
+ },
491
+ render() {
492
+ return null;
493
+ }
494
+ }), Ee = i({
495
+ name: "MglPopup",
496
+ emits: ["open", "close"],
497
+ props: {
498
+ coordinates: {
499
+ type: [Object, Array],
500
+ required: !1
501
+ },
502
+ closeButton: {
503
+ type: Boolean,
504
+ required: !1,
505
+ default: !0
506
+ },
507
+ closeOnClick: {
508
+ type: Boolean,
509
+ required: !1,
510
+ default: !0
511
+ },
512
+ closeOnMove: {
513
+ type: Boolean,
514
+ required: !1,
515
+ default: !1
516
+ },
517
+ focusAfterOpen: {
518
+ type: Boolean,
519
+ required: !1,
520
+ default: !0
521
+ },
522
+ anchor: {
523
+ type: String,
524
+ required: !1
525
+ },
526
+ offset: {
527
+ type: [
528
+ Number,
529
+ Object,
530
+ Array
531
+ ],
532
+ required: !1
533
+ },
534
+ className: {
535
+ type: String,
536
+ required: !1
537
+ },
538
+ maxWidth: {
539
+ type: String,
540
+ default: "240px"
541
+ },
542
+ subpixelPositioning: {
543
+ type: Boolean,
544
+ default: !1
545
+ },
546
+ text: {
547
+ type: String,
548
+ required: !1
549
+ }
550
+ },
551
+ setup(e, { slots: t, emit: n, expose: r }) {
552
+ let i = x(N), a = x(z, void 0), o = w(), c = new pe(e);
553
+ a && a.value ? a.value.setPopup(c) : e.coordinates && i && c.setLngLat(e.coordinates).addTo(i.value), e.text && c.setText(e.text);
554
+ function u(e) {
555
+ let t = () => n(e);
556
+ c.on(e, t), s(() => {
557
+ c.off(e, t);
558
+ });
559
+ }
560
+ return u("open"), u("close"), r({ remove() {
561
+ c.remove();
562
+ } }), d(() => e.coordinates, (e) => {
563
+ e && c.setLngLat(e);
564
+ }, { deep: !0 }), d(() => e.text, (e) => c.setText(e || "")), d(() => e.offset, (e) => c.setOffset(e)), d(() => e.maxWidth, (e) => c.setMaxWidth(e)), d(() => e.className, (e, t) => {
565
+ t && c.removeClassName(t), e && c.addClassName(e);
566
+ }), d(() => e.subpixelPositioning, (e) => c.setSubpixelPositioning(e)), l(() => {
567
+ o.value && !e.text && c.setDOMContent(o.value);
568
+ }), s(() => {
569
+ c.remove();
570
+ }), () => [S("div", { ref: o }, t.default ? t.default() : void 0)];
571
+ },
572
+ render() {
573
+ return null;
574
+ }
575
+ });
576
+ i({
577
+ name: "MglImage",
578
+ props: {
579
+ id: {
580
+ type: String,
581
+ required: !0
582
+ },
583
+ image: Object,
584
+ url: String,
585
+ options: Object
586
+ },
587
+ setup(e) {
588
+ let t = x(N);
589
+ if (!e.url && !e.image) return f(`${e.id} image: missing prop url or image`), () => [];
590
+ if (!t.value.hasImage(e.id)) return (async () => {
591
+ let n = e.image;
592
+ e.url && (n = (await t.value.loadImage(e.url)).data), t.value.addImage(e.id, n, e.options);
593
+ })(), () => [];
594
+ }
595
+ });
596
+ var K = class {
597
+ unmountHandlers = /* @__PURE__ */ new Map();
598
+ registerUnmountHandler(e, t) {
599
+ this.unmountHandlers.set(e, t);
600
+ }
601
+ unregisterUnmountHandler(e) {
602
+ this.unmountHandlers.delete(e);
603
+ }
604
+ unmount() {
605
+ this.unmountHandlers.forEach((e) => e());
606
+ }
607
+ }, q = class e {
608
+ static REFS = /* @__PURE__ */ new Map();
609
+ static genSourceOpts(e) {
610
+ let t = { ...e };
611
+ for (let e of Object.keys(t)) (t[e] === void 0 || e === "sourceId") && delete t[e];
612
+ return t;
613
+ }
614
+ static getSourceRef(t, n) {
615
+ let r = typeof n == "string", i = String(t) + (r ? n : ""), a = e.REFS.get(i);
616
+ return a || (a = w(r ? null : void 0), e.REFS.set(i, a)), a;
617
+ }
618
+ };
619
+ function J(e, t, n) {
620
+ let r = x(N), i = x(P);
621
+ function a() {
622
+ i.value && (r.value.addSource(t.sourceId, q.genSourceOpts(t)), e.value = r.value.getSource(t.sourceId));
623
+ }
624
+ return d(i, a, { immediate: !0 }), r.value.on("style.load", a), s(() => {
625
+ i.value && (n.unmount(), r.value.removeSource(t.sourceId)), r.value.off("style.load", a);
626
+ });
627
+ }
628
+ i({
629
+ name: "MglCanvasSource",
630
+ props: {
631
+ sourceId: {
632
+ type: String,
633
+ required: !0
634
+ },
635
+ coordinates: Array,
636
+ animate: Boolean,
637
+ canvas: [Object, String]
638
+ },
639
+ slots: Object,
640
+ setup(e, { slots: n }) {
641
+ let r = x(I), i = q.getSourceRef(r, e.sourceId), a = new K(), o = {
642
+ ...e,
643
+ type: "canvas"
644
+ };
645
+ return t(L, e.sourceId), t(R, a), J(i, o, a), d([g(e.coordinates) ? e.coordinates : () => e.coordinates, i], ([e, t]) => {
646
+ t?.setCoordinates(e);
647
+ }, { immediate: !0 }), () => [m("Canvas Source"), i.value && n.default ? n.default({}) : void 0];
648
+ }
649
+ }), i({
650
+ name: "MglGeoJsonSource",
651
+ props: {
652
+ sourceId: {
653
+ type: String,
654
+ required: !0
655
+ },
656
+ data: {
657
+ type: [Object, String],
658
+ required: !0
659
+ },
660
+ maxzoom: Number,
661
+ attribution: String,
662
+ buffer: Number,
663
+ tolerance: Number,
664
+ cluster: Boolean,
665
+ clusterRadius: Number,
666
+ clusterMaxZoom: Number,
667
+ clusterMinPoints: Number,
668
+ clusterProperties: Object,
669
+ lineMetrics: Boolean,
670
+ generateId: Boolean,
671
+ promoteId: [Object, String],
672
+ filter: [
673
+ Array,
674
+ String,
675
+ Object
676
+ ]
677
+ },
678
+ slots: Object,
679
+ setup(e, { slots: n }) {
680
+ let r = x(I), i = q.getSourceRef(r, e.sourceId), a = new K(), o = {
681
+ ...e,
682
+ type: "geojson"
683
+ };
684
+ return t(L, e.sourceId), t(R, a), J(i, o, a), d([g(e.data) ? e.data : () => e.data, i], ([e, t]) => {
685
+ t?.setData(e || {
686
+ type: "FeatureCollection",
687
+ features: []
688
+ });
689
+ }, { immediate: !0 }), () => [m("GeoJSON Source"), i.value && n.default ? n.default({}) : void 0];
690
+ }
691
+ }), i({
692
+ name: "MglImageSource",
693
+ props: {
694
+ sourceId: {
695
+ type: String,
696
+ required: !0
697
+ },
698
+ url: String,
699
+ coordinates: Array
700
+ },
701
+ slots: Object,
702
+ setup(e, { slots: n }) {
703
+ let r = x(I), i = q.getSourceRef(r, e.sourceId), a = new K(), o = {
704
+ ...e,
705
+ type: "image"
706
+ };
707
+ return t(L, e.sourceId), t(R, a), J(i, o, a), d([g(e.coordinates) ? e.coordinates : () => e.coordinates, i], ([e, t]) => {
708
+ t?.setCoordinates(e);
709
+ }, { immediate: !0 }), () => [m("Image Source"), i.value && n.default ? n.default({}) : void 0];
710
+ }
711
+ }), i({
712
+ name: "MglRasterSource",
713
+ props: {
714
+ sourceId: {
715
+ type: String,
716
+ required: !0
717
+ },
718
+ url: String,
719
+ tiles: Array,
720
+ bounds: Array,
721
+ minzoom: Number,
722
+ maxzoom: Number,
723
+ tileSize: Number,
724
+ scheme: String,
725
+ attribution: String,
726
+ volatile: Boolean
727
+ },
728
+ slots: Object,
729
+ setup(e, { slots: n }) {
730
+ let r = x(I), i = q.getSourceRef(r, e.sourceId), a = new K(), o = {
731
+ ...e,
732
+ type: "raster"
733
+ };
734
+ return t(L, e.sourceId), t(R, a), J(i, o, a), () => [m("Raster Source"), i.value && n.default ? n.default({}) : void 0];
735
+ }
736
+ }), i({
737
+ name: "MglRasterDemSource",
738
+ props: {
739
+ sourceId: {
740
+ type: String,
741
+ required: !0
742
+ },
743
+ url: String,
744
+ tiles: Array,
745
+ bounds: Array,
746
+ minzoom: Number,
747
+ maxzoom: Number,
748
+ tileSize: Number,
749
+ attribution: String,
750
+ encoding: String,
751
+ volatile: Boolean,
752
+ redFactor: Number,
753
+ blueFactor: Number,
754
+ greenFactor: Number,
755
+ baseShift: Number
756
+ },
757
+ slots: Object,
758
+ setup(e, { slots: n }) {
759
+ let r = x(I), i = q.getSourceRef(r, e.sourceId), a = new K(), o = {
760
+ ...e,
761
+ type: "raster-dem"
762
+ };
763
+ return t(L, e.sourceId), t(R, a), J(i, o, a), () => [m("RasterDem Source"), i.value && n.default ? n.default({}) : void 0];
764
+ }
765
+ }), i({
766
+ name: "MglVectorSource",
767
+ props: {
768
+ sourceId: {
769
+ type: String,
770
+ required: !0
771
+ },
772
+ url: String,
773
+ tiles: Array,
774
+ bounds: {
775
+ type: Array,
776
+ validator: function(e) {
777
+ return e.length === 4;
778
+ }
779
+ },
780
+ scheme: String,
781
+ minzoom: Number,
782
+ maxzoom: Number,
783
+ attribution: String,
784
+ promoteId: [Object, String],
785
+ volatile: Boolean
786
+ },
787
+ slots: Object,
788
+ setup(e, { slots: n }) {
789
+ let r = x(I), i = q.getSourceRef(r, e.sourceId), a = new K(), o = {
790
+ ...e,
791
+ type: "vector"
792
+ };
793
+ return t(L, e.sourceId), t(R, a), J(i, o, a), d([g(e.tiles) ? e.tiles : () => e.tiles, i], ([e, t]) => {
794
+ t?.setTiles(e || []);
795
+ }, { immediate: !0 }), d([g(e.url) ? e.url : () => e.url, i], ([e, t]) => {
796
+ t?.setUrl(e || "");
797
+ }, { immediate: !0 }), () => [m("Vector Source"), i.value && n.default ? n.default({}) : void 0];
798
+ }
799
+ }), i({
800
+ name: "MglVideoSource",
801
+ props: {
802
+ sourceId: {
803
+ type: String,
804
+ required: !0
805
+ },
806
+ urls: Array,
807
+ coordinates: Array
808
+ },
809
+ slots: Object,
810
+ setup(e, { slots: n }) {
811
+ let r = x(I), i = q.getSourceRef(r, e.sourceId), a = new K(), o = {
812
+ ...e,
813
+ type: "video"
814
+ };
815
+ return t(L, e.sourceId), t(R, a), J(i, o, a), d([g(e.coordinates) ? e.coordinates : () => e.coordinates, i], ([e, t]) => {
816
+ t?.setCoordinates(e);
817
+ }, { immediate: !0 }), () => [m("Video Source"), i.value && n.default ? n.default({}) : void 0];
818
+ }
819
+ });
820
+ var Y = [
821
+ "click",
822
+ "dblclick",
823
+ "mousedown",
824
+ "mouseup",
825
+ "mousemove",
826
+ "mouseenter",
827
+ "mouseleave",
828
+ "mouseover",
829
+ "mouseout",
830
+ "contextmenu",
831
+ "touchstart",
832
+ "touchend",
833
+ "touchcancel"
834
+ ];
835
+ function X() {
836
+ return {
837
+ layerId: {
838
+ type: String,
839
+ required: !0
840
+ },
841
+ source: { type: String },
842
+ metadata: { type: [
843
+ Object,
844
+ Array,
845
+ String,
846
+ Number
847
+ ] },
848
+ sourceLayer: { type: String },
849
+ minzoom: { type: Number },
850
+ maxzoom: { type: Number },
851
+ filter: { type: Object },
852
+ before: { type: String },
853
+ layout: { type: Object },
854
+ paint: { type: Object }
855
+ };
856
+ }
857
+ function De(e, t, n, r) {
858
+ let i = {
859
+ id: e,
860
+ type: t,
861
+ source: n.source || r,
862
+ metadata: n.metadata,
863
+ minzoom: n.minzoom,
864
+ maxzoom: n.maxzoom,
865
+ "source-layer": n.sourceLayer,
866
+ filter: n.filter,
867
+ paint: n.paint,
868
+ layout: n.layout
869
+ };
870
+ for (let e of Object.keys(i)) i[e] === void 0 && delete i[e];
871
+ return i;
872
+ }
873
+ function Oe(e, t, n) {
874
+ if (n.props) for (let r of Y) {
875
+ let i = "on" + r.charAt(0).toUpperCase() + r.substr(1);
876
+ n.props[i] && e.on(r, t, n.props[i]);
877
+ }
878
+ }
879
+ function ke(e, t, n) {
880
+ if (n.props) for (let r of Y) {
881
+ let i = "on" + r.charAt(0).toUpperCase() + r.substr(1);
882
+ n.props[i] && e.off(r, t, n.props[i]);
883
+ }
884
+ }
885
+ function Z(e, t) {
886
+ let n = x(N), r = x(P), i = x(R);
887
+ function a() {
888
+ r.value && (t && ke(n.value, e, t.vnode), n.value.getLayer(e) && n.value.removeLayer(e));
889
+ }
890
+ i.registerUnmountHandler(e, a), s(() => {
891
+ i.unregisterUnmountHandler(e), a();
892
+ });
893
+ }
894
+ i({
895
+ name: "MglBackgroundLayer",
896
+ props: {
897
+ layerId: {
898
+ type: String,
899
+ required: !0
900
+ },
901
+ metadata: [
902
+ Object,
903
+ Array,
904
+ String,
905
+ Number
906
+ ],
907
+ minzoom: Number,
908
+ maxzoom: Number,
909
+ before: String,
910
+ layout: Object,
911
+ paint: Object
912
+ },
913
+ emits: [...Y],
914
+ setup(e) {
915
+ let t = x(N), n = x(P);
916
+ return Z(e.layerId), d(() => e.layout, (n) => {
917
+ if (n) for (let [r, i] of Object.entries(n)) t.value.setLayoutProperty(e.layerId, r, i);
918
+ }), d(() => e.paint, (n) => {
919
+ if (n) for (let [r, i] of Object.entries(n)) t.value.setPaintProperty(e.layerId, r, i);
920
+ }), d(n, (n) => {
921
+ n && t.value.addLayer({
922
+ id: e.layerId,
923
+ type: "background",
924
+ metadata: e.metadata,
925
+ minzoom: e.minzoom,
926
+ maxzoom: e.maxzoom,
927
+ layout: e.layout,
928
+ paint: e.paint
929
+ }, e.before || void 0);
930
+ }, { immediate: !0 }), () => m("Background Layer");
931
+ }
932
+ });
933
+ function Q(e, t) {
934
+ let n = x(L);
935
+ if (!n && !t.source) {
936
+ f(`${e} Layer: layer must be used inside source tag or source prop must be set`);
937
+ return;
938
+ }
939
+ let i = r(), a = x(N), o = x(P), s = x(I), c = q.getSourceRef(s, t.source || n);
940
+ return Z(t.layerId, i), d(() => t.minzoom, () => a.value.setLayerZoomRange(t.layerId, t.minzoom || 0, t.maxzoom || 24)), d(() => t.maxzoom, () => a.value.setLayerZoomRange(t.layerId, t.minzoom || 0, t.maxzoom || 24)), d(() => t.layout, (e) => {
941
+ if (e) for (let [n, r] of Object.entries(e)) a.value.setLayoutProperty(t.layerId, n, r);
942
+ }, { deep: !0 }), d(() => t.paint, (e) => {
943
+ if (e) for (let [n, r] of Object.entries(e)) a.value.setPaintProperty(t.layerId, n, r);
944
+ }, { deep: !0 }), d(() => t.filter, (e) => a.value.setFilter(t.layerId, e), { deep: !0 }), d([o, c], ([r, o]) => {
945
+ r && (o || o === void 0) && (a.value.addLayer(De(t.layerId, e, t, n), t.before || void 0), Oe(a.value, t.layerId, i.vnode));
946
+ }, { immediate: !0 }), () => m(`${e} Layer`);
947
+ }
948
+ i({
949
+ name: "MglCircleLayer",
950
+ props: X(),
951
+ emits: [...Y],
952
+ setup(e) {
953
+ return Q("circle", e);
954
+ }
955
+ }), i({
956
+ name: "MglFillLayer",
957
+ props: X(),
958
+ emits: [...Y],
959
+ setup(e) {
960
+ return Q("fill", e);
961
+ }
962
+ }), i({
963
+ name: "MglFillExtrusionLayer",
964
+ props: X(),
965
+ emits: [...Y],
966
+ setup(e) {
967
+ return Q("fill-extrusion", e);
968
+ }
969
+ }), i({
970
+ name: "MglHeatmapLayer",
971
+ props: X(),
972
+ emits: [...Y],
973
+ setup(e) {
974
+ return Q("heatmap", e);
975
+ }
976
+ }), i({
977
+ name: "MglHillshadeLayer",
978
+ props: X(),
979
+ emits: [...Y],
980
+ setup(e) {
981
+ return Q("hillshade", e);
982
+ }
983
+ }), i({
984
+ name: "MglLineLayer",
985
+ props: X(),
986
+ emits: [...Y],
987
+ setup(e) {
988
+ return Q("line", e);
989
+ }
990
+ }), i({
991
+ name: "MglRasterLayer",
992
+ props: X(),
993
+ emits: [...Y],
994
+ setup(e) {
995
+ return Q("raster", e);
996
+ }
997
+ }), i({
998
+ name: "MglSymbolLayer",
999
+ props: X(),
1000
+ emits: [...Y],
1001
+ setup(e) {
1002
+ return Q("symbol", e);
1003
+ }
1004
+ });
1005
+ var Ae = {
1006
+ key: 0,
1007
+ class: "border border-surface-3 rounded-xl w-full overflow-hidden"
1008
+ }, je = { class: "px-sm py-6 bg-surface-1 text-12 border-b border-surface-3 text-word-3 flex items-center gap-8" }, Me = { class: "font-bold" }, $ = {
1009
+ key: 0,
1010
+ class: "h-224 border-b border-surface-3"
1011
+ }, Ne = { class: "flex flex-col leading-normal text-12 pr-12" }, Pe = { class: "font-semibold" }, Fe = {
1012
+ key: 0,
1013
+ class: "text-word-3"
1014
+ }, Ie = { class: "p-sm flex flex-col gap-4" }, Le = { class: "font-semibold text-word-1 text-14" }, Re = { class: "text-12 text-word-3" }, ze = {
1015
+ key: 0,
1016
+ class: "text-12 text-word-4"
1017
+ }, Be = /* @__PURE__ */ i({
1018
+ __name: "PkToolShowLocation",
1019
+ props: {
1020
+ part: { type: null },
1021
+ isDark: { type: Boolean },
1022
+ mainColor: { type: String },
1023
+ forwardGeocode: { type: Function }
1024
+ },
1025
+ setup(t) {
1026
+ let i = t, { copy: a, copied: s } = ee(), d = p(() => i.part), f = w(null), g = {
1027
+ light: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",
1028
+ dark: "https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json"
1029
+ };
1030
+ l(() => {
1031
+ oe("https://cdn.jsdelivr.net/npm/maplibre-gl@5/dist/maplibre-gl.css", se(r()?.proxy?.$el));
1032
+ });
1033
+ let _ = p(() => i.isDark ? g.dark : g.light);
1034
+ e(async () => {
1035
+ let e = d.value.input;
1036
+ if (!(!e || e.latitude != null || !e.address) && i.forwardGeocode) try {
1037
+ let t = await i.forwardGeocode(e.address);
1038
+ t && (f.value = [t.longitude, t.latitude]);
1039
+ } catch {}
1040
+ });
1041
+ let y = p(() => d.value.input?.latitude != null && d.value.input?.longitude != null || f.value != null), b = p(() => d.value.input?.latitude != null && d.value.input?.longitude != null ? [d.value.input.longitude, d.value.input.latitude] : f.value ?? [0, 0]), x = () => y.value ? `${b.value[1]},${b.value[0]}` : d.value.input?.address ?? "", S = () => {
1042
+ d.value.input && window.open(`https://www.google.com/maps/dir/?api=1&destination=${encodeURIComponent(x())}`, "_blank");
1043
+ }, C = () => {
1044
+ d.value.input && window.open(`https://maps.apple.com/?daddr=${encodeURIComponent(x())}`, "_blank");
1045
+ }, k = () => {
1046
+ let e = d.value.input;
1047
+ e && (y.value ? window.open(`https://waze.com/ul?ll=${b.value[1]},${b.value[0]}&navigate=yes`, "_blank") : window.open(`https://waze.com/ul?q=${encodeURIComponent(e.address)}&navigate=yes`, "_blank"));
1048
+ }, A = () => {
1049
+ let e = d.value.input;
1050
+ e && a(`${e.name}\n${e.address}`);
1051
+ };
1052
+ return (e, r) => {
1053
+ let i = re, a = te, l = ie, f = ae, p = ne;
1054
+ return d.value?.input ? (O(), D("div", Ae, [
1055
+ T("div", je, [
1056
+ E(i, {
1057
+ name: "ri:map-pin-line",
1058
+ class: "text-16"
1059
+ }),
1060
+ T("strong", Me, c(e.$t("label.location")), 1),
1061
+ E(p, {
1062
+ modifiers: "compact",
1063
+ class: "ml-auto shrink-0"
1064
+ }, {
1065
+ default: v(() => [E(a, {
1066
+ modifiers: "action-quiet-small",
1067
+ icon: h(s) ? "ri:check-line" : "ri:file-copy-line",
1068
+ label: h(s) ? e.$t("action.copied") : e.$t("action.copy"),
1069
+ onClick: A
1070
+ }, null, 8, ["icon", "label"]), E(f, o(u({
1071
+ placement: "bottom-end",
1072
+ modifiers: "menu",
1073
+ flip: !0,
1074
+ offset: 3,
1075
+ strategy: "fixed"
1076
+ })), {
1077
+ items: v(() => [
1078
+ E(l, { onClick: S }, {
1079
+ default: v(() => [E(i, { name: "ri:map-2-line" }), r[0] ||= n(" Google Maps ", -1)]),
1080
+ _: 1
1081
+ }),
1082
+ E(l, { onClick: C }, {
1083
+ default: v(() => [E(i, { name: "ri:map-line" }), r[1] ||= n(" Apple Maps ", -1)]),
1084
+ _: 1
1085
+ }),
1086
+ E(l, { onClick: k }, {
1087
+ default: v(() => [E(i, { name: "ri:navigation-line" }), r[2] ||= n(" Waze ", -1)]),
1088
+ _: 1
1089
+ })
1090
+ ]),
1091
+ default: v(() => [E(a, {
1092
+ icon: "ri:direction-line",
1093
+ modifiers: "action-quiet-small",
1094
+ label: e.$t("action.getDirections")
1095
+ }, null, 8, ["label"])]),
1096
+ _: 1
1097
+ }, 16)]),
1098
+ _: 1
1099
+ })
1100
+ ]),
1101
+ y.value ? (O(), D("div", $, [E(h(ve), {
1102
+ "map-style": _.value,
1103
+ zoom: 12,
1104
+ center: b.value,
1105
+ "scroll-zoom": !1,
1106
+ "attribution-control": !1
1107
+ }, {
1108
+ default: v(() => [
1109
+ E(h(Se), {
1110
+ position: "top-right",
1111
+ "show-compass": !1
1112
+ }),
1113
+ E(h(xe), { position: "top-right" }),
1114
+ E(h(we), { position: "bottom-left" }),
1115
+ E(h(Te), {
1116
+ coordinates: b.value,
1117
+ color: t.mainColor
1118
+ }, {
1119
+ default: v(() => [E(h(Ee), { "close-button": !1 }, {
1120
+ default: v(() => [T("div", Ne, [T("p", Pe, c(d.value.input.name), 1), d.value.input.address ? (O(), D("p", Fe, c(d.value.input.address), 1)) : m("", !0)])]),
1121
+ _: 1
1122
+ })]),
1123
+ _: 1
1124
+ }, 8, ["coordinates", "color"])
1125
+ ]),
1126
+ _: 1
1127
+ }, 8, ["map-style", "center"])])) : m("", !0),
1128
+ T("div", Ie, [
1129
+ T("p", Le, c(d.value.input.name), 1),
1130
+ T("p", Re, c(d.value.input.address), 1),
1131
+ d.value.input.additionalInfo ? (O(), D("p", ze, c(d.value.input.additionalInfo), 1)) : m("", !0)
1132
+ ])
1133
+ ])) : m("", !0);
1134
+ };
1135
+ }
1136
+ });
1137
+ //#endregion
1138
+ export { Be as default };
1139
+
1140
+ //# sourceMappingURL=PkToolShowLocation-BDVFw7qK.js.map