vviinn-widgets 2.18.21 → 2.19.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 (503) hide show
  1. package/dist/cjs/Campaign-13258569.js +2 -0
  2. package/dist/cjs/Campaign-13258569.js.map +1 -0
  3. package/dist/cjs/{Handler-176539c8.js → Handler-de64afa5.js} +31 -43
  4. package/dist/cjs/Handler-de64afa5.js.map +1 -0
  5. package/dist/cjs/cropper-handler.cjs.entry.js +7 -4
  6. package/dist/cjs/cropper-handler.cjs.entry.js.map +1 -0
  7. package/dist/cjs/{customized-slots-6e56c354.js → customized-slots-aee3f39d.js} +3 -1
  8. package/dist/cjs/customized-slots-aee3f39d.js.map +1 -0
  9. package/dist/cjs/highlight-box_22.cjs.entry.js +68 -39
  10. package/dist/cjs/highlight-box_22.cjs.entry.js.map +1 -0
  11. package/dist/cjs/{imageSearch.store-98824653.js → imageSearch.store-fbe0600a.js} +3570 -2250
  12. package/dist/cjs/imageSearch.store-fbe0600a.js.map +1 -0
  13. package/dist/cjs/{index-cb410762.js → index-610c6c1f.js} +3 -1
  14. package/dist/cjs/index-610c6c1f.js.map +1 -0
  15. package/dist/cjs/{index-7f1325a7.js → index-a4becaff.js} +685 -303
  16. package/dist/cjs/index-a4becaff.js.map +1 -0
  17. package/dist/cjs/{index-a99edb90.js → index-c4851793.js} +3 -1
  18. package/dist/cjs/index-c4851793.js.map +1 -0
  19. package/dist/cjs/index.cjs.js +2 -0
  20. package/dist/cjs/index.cjs.js.map +1 -0
  21. package/dist/cjs/loader.cjs.js +6 -3
  22. package/dist/cjs/loader.cjs.js.map +1 -0
  23. package/dist/cjs/vviinn-button.cjs.entry.js +5 -3
  24. package/dist/cjs/vviinn-button.cjs.entry.js.map +1 -0
  25. package/dist/cjs/vviinn-carousel_3.cjs.entry.js +124 -39
  26. package/dist/cjs/vviinn-carousel_3.cjs.entry.js.map +1 -0
  27. package/dist/cjs/vviinn-error.cjs.entry.js +4 -2
  28. package/dist/cjs/vviinn-error.cjs.entry.js.map +1 -0
  29. package/dist/cjs/vviinn-preloader.cjs.entry.js +7 -5
  30. package/dist/cjs/vviinn-preloader.cjs.entry.js.map +1 -0
  31. package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +15 -6
  32. package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js.map +1 -0
  33. package/dist/cjs/vviinn-vpr-button.cjs.entry.js +13 -12
  34. package/dist/cjs/vviinn-vpr-button.cjs.entry.js.map +1 -0
  35. package/dist/cjs/vviinn-vps-button.cjs.entry.js +28 -25
  36. package/dist/cjs/vviinn-vps-button.cjs.entry.js.map +1 -0
  37. package/dist/cjs/vviinn-vps-widget.cjs.entry.js +46 -31
  38. package/dist/cjs/vviinn-vps-widget.cjs.entry.js.map +1 -0
  39. package/dist/cjs/vviinn-widgets.cjs.js +12 -3
  40. package/dist/cjs/vviinn-widgets.cjs.js.map +1 -0
  41. package/dist/collection/Image/error.js +1 -0
  42. package/dist/collection/Image/error.js.map +1 -0
  43. package/dist/collection/Image/form.js +1 -0
  44. package/dist/collection/Image/form.js.map +1 -0
  45. package/dist/collection/Image/fromFile.js +1 -0
  46. package/dist/collection/Image/fromFile.js.map +1 -0
  47. package/dist/collection/Image/imageToB64.js +1 -0
  48. package/dist/collection/Image/imageToB64.js.map +1 -0
  49. package/dist/collection/Image/index.js +1 -0
  50. package/dist/collection/Image/index.js.map +1 -0
  51. package/dist/collection/Image/renderPromise.js +1 -0
  52. package/dist/collection/Image/renderPromise.js.map +1 -0
  53. package/dist/collection/Image/resizeImage.js +1 -0
  54. package/dist/collection/Image/resizeImage.js.map +1 -0
  55. package/dist/collection/Image/sizing.js +1 -0
  56. package/dist/collection/Image/sizing.js.map +1 -0
  57. package/dist/collection/Image/sizing.spec.js +67 -0
  58. package/dist/collection/Image/sizing.spec.js.map +1 -0
  59. package/dist/collection/Image/toFile.js +1 -0
  60. package/dist/collection/Image/toFile.js.map +1 -0
  61. package/dist/collection/analytics/GAnalytics.js +1 -0
  62. package/dist/collection/analytics/GAnalytics.js.map +1 -0
  63. package/dist/collection/analytics/GeneralAnalytics.js +1 -0
  64. package/dist/collection/analytics/GeneralAnalytics.js.map +1 -0
  65. package/dist/collection/analytics/GtagAnalytics.js +1 -0
  66. package/dist/collection/analytics/GtagAnalytics.js.map +1 -0
  67. package/dist/collection/analytics/ProductAnalytics.js +1 -0
  68. package/dist/collection/analytics/ProductAnalytics.js.map +1 -0
  69. package/dist/collection/campaign/Campaign.js +1 -0
  70. package/dist/collection/campaign/Campaign.js.map +1 -0
  71. package/dist/collection/campaign/CampaignService.js +1 -0
  72. package/dist/collection/campaign/CampaignService.js.map +1 -0
  73. package/dist/collection/campaign/VCSCampaign.js +1 -0
  74. package/dist/collection/campaign/VCSCampaign.js.map +1 -0
  75. package/dist/collection/campaign/VCSCampaignResponse.js +1 -0
  76. package/dist/collection/campaign/VCSCampaignResponse.js.map +1 -0
  77. package/dist/collection/campaign/VCSCampaignService.js +1 -0
  78. package/dist/collection/campaign/VCSCampaignService.js.map +1 -0
  79. package/dist/collection/campaign/VPRCampaignResponse.js +1 -0
  80. package/dist/collection/campaign/VPRCampaignResponse.js.map +1 -0
  81. package/dist/collection/campaign/VPRCampaignService.js +1 -0
  82. package/dist/collection/campaign/VPRCampaignService.js.map +1 -0
  83. package/dist/collection/collection-manifest.json +2 -2
  84. package/dist/collection/components/customized-slots.js +1 -0
  85. package/dist/collection/components/customized-slots.js.map +1 -0
  86. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.css +2 -16
  87. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.js +12 -7
  88. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.js.map +1 -0
  89. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.css +0 -1
  90. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.js +41 -37
  91. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.js.map +1 -0
  92. package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.js +74 -67
  93. package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.js.map +1 -0
  94. package/dist/collection/components/image-search/search-filters/search-filters.css +4 -23
  95. package/dist/collection/components/image-search/search-filters/search-filters.js +98 -91
  96. package/dist/collection/components/image-search/search-filters/search-filters.js.map +1 -0
  97. package/dist/collection/components/vviinn-button/vviinn-button.js +35 -31
  98. package/dist/collection/components/vviinn-button/vviinn-button.js.map +1 -0
  99. package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +1 -2
  100. package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +162 -156
  101. package/dist/collection/components/vviinn-carousel/vviinn-carousel.js.map +1 -0
  102. package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js +13 -14
  103. package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js.map +1 -0
  104. package/dist/collection/components/vviinn-error/vviinn-error.js +13 -12
  105. package/dist/collection/components/vviinn-error/vviinn-error.js.map +1 -0
  106. package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.js +36 -30
  107. package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.js.map +1 -0
  108. package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.js +36 -30
  109. package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.js.map +1 -0
  110. package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.js +130 -121
  111. package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.js.map +1 -0
  112. package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +76 -75
  113. package/dist/collection/components/vviinn-example-images/vviinn-example-images.js.map +1 -0
  114. package/dist/collection/components/vviinn-icons/index.js +11 -27
  115. package/dist/collection/components/vviinn-icons/index.js.map +1 -0
  116. package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +121 -67
  117. package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js.map +1 -0
  118. package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +82 -69
  119. package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js.map +1 -0
  120. package/dist/collection/components/vviinn-image-view/vviinn-image-view.css +0 -1
  121. package/dist/collection/components/vviinn-image-view/vviinn-image-view.js +28 -28
  122. package/dist/collection/components/vviinn-image-view/vviinn-image-view.js.map +1 -0
  123. package/dist/collection/components/vviinn-modal/vviinn-modal.css +7 -36
  124. package/dist/collection/components/vviinn-modal/vviinn-modal.js +116 -93
  125. package/dist/collection/components/vviinn-modal/vviinn-modal.js.map +1 -0
  126. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js +13 -14
  127. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js.map +1 -0
  128. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js +13 -14
  129. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js.map +1 -0
  130. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js +13 -14
  131. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js.map +1 -0
  132. package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js +13 -17
  133. package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js.map +1 -0
  134. package/dist/collection/components/vviinn-overlay/vviinn-overlay.css +1 -12
  135. package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +13 -9
  136. package/dist/collection/components/vviinn-overlay/vviinn-overlay.js.map +1 -0
  137. package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +108 -78
  138. package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js.map +1 -0
  139. package/dist/collection/components/vviinn-preloader/vviinn-preloader.css +1 -11
  140. package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +12 -7
  141. package/dist/collection/components/vviinn-preloader/vviinn-preloader.js.map +1 -0
  142. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.css +0 -1
  143. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +13 -16
  144. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js.map +1 -0
  145. package/dist/collection/components/vviinn-product-card/render-helpers.js +7 -14
  146. package/dist/collection/components/vviinn-product-card/render-helpers.js.map +1 -0
  147. package/dist/collection/components/vviinn-product-card/stories/args.js +1 -0
  148. package/dist/collection/components/vviinn-product-card/stories/args.js.map +1 -0
  149. package/dist/collection/components/vviinn-product-card/stories/decorators.js +1 -0
  150. package/dist/collection/components/vviinn-product-card/stories/decorators.js.map +1 -0
  151. package/dist/collection/components/vviinn-product-card/stories/vviinn-product-card.stories.js +1 -0
  152. package/dist/collection/components/vviinn-product-card/stories/vviinn-product-card.stories.js.map +1 -0
  153. package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +426 -415
  154. package/dist/collection/components/vviinn-product-card/vviinn-product-card.js.map +1 -0
  155. package/dist/collection/components/vviinn-slider/arrow.js +2 -2
  156. package/dist/collection/components/vviinn-slider/arrow.js.map +1 -0
  157. package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +13 -9
  158. package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js.map +1 -0
  159. package/dist/collection/components/vviinn-slider/vviinn-slider.css +0 -1
  160. package/dist/collection/components/vviinn-slider/vviinn-slider.js +88 -82
  161. package/dist/collection/components/vviinn-slider/vviinn-slider.js.map +1 -0
  162. package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +13 -18
  163. package/dist/collection/components/vviinn-teaser/vviinn-teaser.js.map +1 -0
  164. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.css +12 -64
  165. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +372 -360
  166. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js.map +1 -0
  167. package/dist/collection/components/vviinn-vpr-button/stories/args.js +1 -0
  168. package/dist/collection/components/vviinn-vpr-button/stories/args.js.map +1 -0
  169. package/dist/collection/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.js +1 -0
  170. package/dist/collection/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.js.map +1 -0
  171. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +449 -444
  172. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js.map +1 -0
  173. package/dist/collection/components/vviinn-vpr-widget/stories/args.js +1 -0
  174. package/dist/collection/components/vviinn-vpr-widget/stories/args.js.map +1 -0
  175. package/dist/collection/components/vviinn-vpr-widget/stories/decorators.js +1 -0
  176. package/dist/collection/components/vviinn-vpr-widget/stories/decorators.js.map +1 -0
  177. package/dist/collection/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.js +1 -0
  178. package/dist/collection/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.js.map +1 -0
  179. package/dist/collection/components/vviinn-vpr-widget/token-helpers.js +1 -0
  180. package/dist/collection/components/vviinn-vpr-widget/token-helpers.js.map +1 -0
  181. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +546 -542
  182. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js.map +1 -0
  183. package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js +3 -0
  184. package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js.map +1 -0
  185. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +369 -332
  186. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js.map +1 -0
  187. package/dist/collection/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.js +1 -0
  188. package/dist/collection/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.js.map +1 -0
  189. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +0 -5
  190. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.e2e.js +27 -0
  191. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.e2e.js.map +1 -0
  192. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +503 -425
  193. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js.map +1 -0
  194. package/dist/collection/cropper/Cropper.js +1 -0
  195. package/dist/collection/cropper/Cropper.js.map +1 -0
  196. package/dist/collection/cropper/Handler.js +1 -0
  197. package/dist/collection/cropper/Handler.js.map +1 -0
  198. package/dist/collection/dom/index.js +1 -0
  199. package/dist/collection/dom/index.js.map +1 -0
  200. package/dist/collection/error.js +1 -0
  201. package/dist/collection/error.js.map +1 -0
  202. package/dist/collection/file/index.js +1 -0
  203. package/dist/collection/file/index.js.map +1 -0
  204. package/dist/collection/geometry/Clip.js +1 -0
  205. package/dist/collection/geometry/Clip.js.map +1 -0
  206. package/dist/collection/geometry/Clip.spec.js +17 -0
  207. package/dist/collection/geometry/Clip.spec.js.map +1 -0
  208. package/dist/collection/geometry/Point.js +1 -0
  209. package/dist/collection/geometry/Point.js.map +1 -0
  210. package/dist/collection/geometry/Rectangle.js +1 -0
  211. package/dist/collection/geometry/Rectangle.js.map +1 -0
  212. package/dist/collection/geometry/Rectangle.spec.js +67 -0
  213. package/dist/collection/geometry/Rectangle.spec.js.map +1 -0
  214. package/dist/collection/geometry/RectangleAlt.js +1 -0
  215. package/dist/collection/geometry/RectangleAlt.js.map +1 -0
  216. package/dist/collection/geometry/Sized.js +1 -0
  217. package/dist/collection/geometry/Sized.js.map +1 -0
  218. package/dist/collection/geometry/Sized.spec.js +17 -0
  219. package/dist/collection/geometry/Sized.spec.js.map +1 -0
  220. package/dist/collection/global.js +1 -0
  221. package/dist/collection/global.js.map +1 -0
  222. package/dist/collection/index.js +1 -0
  223. package/dist/collection/index.js.map +1 -0
  224. package/dist/collection/interfaces/generated.js +1 -4
  225. package/dist/collection/interfaces/generated.js.map +1 -0
  226. package/dist/collection/interfaces/recommendation.js +1 -0
  227. package/dist/collection/interfaces/recommendation.js.map +1 -0
  228. package/dist/collection/network/apiClient.js +1 -0
  229. package/dist/collection/network/apiClient.js.map +1 -0
  230. package/dist/collection/network/ion/File.js +1 -0
  231. package/dist/collection/network/ion/File.js.map +1 -0
  232. package/dist/collection/network/ion/Form.js +1 -0
  233. package/dist/collection/network/ion/Form.js.map +1 -0
  234. package/dist/collection/network/ion/Form.spec.js +44 -0
  235. package/dist/collection/network/ion/Form.spec.js.map +1 -0
  236. package/dist/collection/network/ion/Link.js +1 -0
  237. package/dist/collection/network/ion/Link.js.map +1 -0
  238. package/dist/collection/network/ion/ValueObject.js +1 -0
  239. package/dist/collection/network/ion/ValueObject.js.map +1 -0
  240. package/dist/collection/network/request.js +1 -0
  241. package/dist/collection/network/request.js.map +1 -0
  242. package/dist/collection/network/utils.js +1 -0
  243. package/dist/collection/network/utils.js.map +1 -0
  244. package/dist/collection/openApi/index.js +1 -0
  245. package/dist/collection/openApi/index.js.map +1 -0
  246. package/dist/collection/recommendation/events.js +1 -0
  247. package/dist/collection/recommendation/events.js.map +1 -0
  248. package/dist/collection/recommendation/recommendation.js +1 -0
  249. package/dist/collection/recommendation/recommendation.js.map +1 -0
  250. package/dist/collection/searchSession/searchSession.js +1 -0
  251. package/dist/collection/searchSession/searchSession.js.map +1 -0
  252. package/dist/collection/sentry.js +1 -0
  253. package/dist/collection/sentry.js.map +1 -0
  254. package/dist/collection/slider/GridMode.js +1 -0
  255. package/dist/collection/slider/GridMode.js.map +1 -0
  256. package/dist/collection/store/file-processing.js +1 -0
  257. package/dist/collection/store/file-processing.js.map +1 -0
  258. package/dist/collection/store/imageSearch.store.js +1 -0
  259. package/dist/collection/store/imageSearch.store.js.map +1 -0
  260. package/dist/collection/store/store.js +1 -0
  261. package/dist/collection/store/store.js.map +1 -0
  262. package/dist/collection/store/tracking.store.js +1 -0
  263. package/dist/collection/store/tracking.store.js.map +1 -0
  264. package/dist/collection/stories/image-selector.stories.js +1 -0
  265. package/dist/collection/stories/image-selector.stories.js.map +1 -0
  266. package/dist/collection/stories/image-view.stories.js +1 -0
  267. package/dist/collection/stories/image-view.stories.js.map +1 -0
  268. package/dist/collection/stories/modal.stories.js +1 -0
  269. package/dist/collection/stories/modal.stories.js.map +1 -0
  270. package/dist/collection/stories/onboarding.stories.js +1 -0
  271. package/dist/collection/stories/onboarding.stories.js.map +1 -0
  272. package/dist/collection/stories/overlay.stories.js +1 -0
  273. package/dist/collection/stories/overlay.stories.js.map +1 -0
  274. package/dist/collection/stories/overlayedModal.stories.js +1 -0
  275. package/dist/collection/stories/overlayedModal.stories.js.map +1 -0
  276. package/dist/collection/stories/privacy-badge.stories.js +1 -0
  277. package/dist/collection/stories/privacy-badge.stories.js.map +1 -0
  278. package/dist/collection/stories/slider.stories.js +1 -0
  279. package/dist/collection/stories/slider.stories.js.map +1 -0
  280. package/dist/collection/stories/teaser.stories.js +1 -0
  281. package/dist/collection/stories/teaser.stories.js.map +1 -0
  282. package/dist/collection/stories/vps-widget.stories.js +1 -0
  283. package/dist/collection/stories/vps-widget.stories.js.map +1 -0
  284. package/dist/collection/stories/vviinn-product.stories.js +1 -0
  285. package/dist/collection/stories/vviinn-product.stories.js.map +1 -0
  286. package/dist/collection/tracking/event.js +1 -0
  287. package/dist/collection/tracking/event.js.map +1 -0
  288. package/dist/collection/tracking/filter.js +1 -0
  289. package/dist/collection/tracking/filter.js.map +1 -0
  290. package/dist/collection/tracking/index.js +1 -0
  291. package/dist/collection/tracking/index.js.map +1 -0
  292. package/dist/collection/tracking/models.js +1 -0
  293. package/dist/collection/tracking/models.js.map +1 -0
  294. package/dist/collection/tracking/product.js +1 -0
  295. package/dist/collection/tracking/product.js.map +1 -0
  296. package/dist/collection/tracking/search.js +1 -0
  297. package/dist/collection/tracking/search.js.map +1 -0
  298. package/dist/collection/tracking/widget.js +1 -0
  299. package/dist/collection/tracking/widget.js.map +1 -0
  300. package/dist/collection/utils/collections/collectionsUtils.js +1 -0
  301. package/dist/collection/utils/collections/collectionsUtils.js.map +1 -0
  302. package/dist/collection/utils/either.js +1 -0
  303. package/dist/collection/utils/either.js.map +1 -0
  304. package/dist/collection/utils/enum/enumUtils.js +1 -0
  305. package/dist/collection/utils/enum/enumUtils.js.map +1 -0
  306. package/dist/collection/utils/event/Events.js +1 -0
  307. package/dist/collection/utils/event/Events.js.map +1 -0
  308. package/dist/collection/utils/number/index.js +1 -0
  309. package/dist/collection/utils/number/index.js.map +1 -0
  310. package/dist/collection/utils/option/option.js +1 -0
  311. package/dist/collection/utils/option/option.js.map +1 -0
  312. package/dist/collection/utils/semigroup/semigroupDiff.js +1 -0
  313. package/dist/collection/utils/semigroup/semigroupDiff.js.map +1 -0
  314. package/dist/collection/utils/token/tokenUtils.js +1 -0
  315. package/dist/collection/utils/token/tokenUtils.js.map +1 -0
  316. package/dist/esm/Campaign-90ba7e06.js +2 -0
  317. package/dist/esm/Campaign-90ba7e06.js.map +1 -0
  318. package/dist/esm/{Handler-f9b8735c.js → Handler-7bfee84f.js} +30 -43
  319. package/dist/esm/Handler-7bfee84f.js.map +1 -0
  320. package/dist/esm/cropper-handler.entry.js +7 -4
  321. package/dist/esm/cropper-handler.entry.js.map +1 -0
  322. package/dist/esm/{customized-slots-00afe247.js → customized-slots-b372eaed.js} +3 -1
  323. package/dist/esm/customized-slots-b372eaed.js.map +1 -0
  324. package/dist/esm/highlight-box_22.entry.js +68 -39
  325. package/dist/esm/highlight-box_22.entry.js.map +1 -0
  326. package/dist/esm/{imageSearch.store-9dde5360.js → imageSearch.store-cccd9b24.js} +3572 -2251
  327. package/dist/esm/imageSearch.store-cccd9b24.js.map +1 -0
  328. package/dist/esm/{index-590cb67e.js → index-48ef9564.js} +685 -304
  329. package/dist/esm/index-48ef9564.js.map +1 -0
  330. package/dist/esm/{index-b31d86ce.js → index-714e572a.js} +3 -1
  331. package/dist/esm/index-714e572a.js.map +1 -0
  332. package/dist/esm/{index-4d5b52ba.js → index-fdc32fbc.js} +3 -1
  333. package/dist/esm/index-fdc32fbc.js.map +1 -0
  334. package/dist/esm/index.js +2 -0
  335. package/dist/esm/index.js.map +1 -0
  336. package/dist/esm/loader.js +6 -3
  337. package/dist/esm/loader.js.map +1 -0
  338. package/dist/esm/polyfills/css-shim.js +1 -1
  339. package/dist/esm/vviinn-button.entry.js +5 -3
  340. package/dist/esm/vviinn-button.entry.js.map +1 -0
  341. package/dist/esm/vviinn-carousel_3.entry.js +123 -38
  342. package/dist/esm/vviinn-carousel_3.entry.js.map +1 -0
  343. package/dist/esm/vviinn-error.entry.js +4 -2
  344. package/dist/esm/vviinn-error.entry.js.map +1 -0
  345. package/dist/esm/vviinn-preloader.entry.js +7 -5
  346. package/dist/esm/vviinn-preloader.entry.js.map +1 -0
  347. package/dist/esm/vviinn-recommendations-sidebar.entry.js +15 -6
  348. package/dist/esm/vviinn-recommendations-sidebar.entry.js.map +1 -0
  349. package/dist/esm/vviinn-vpr-button.entry.js +13 -12
  350. package/dist/esm/vviinn-vpr-button.entry.js.map +1 -0
  351. package/dist/esm/vviinn-vps-button.entry.js +28 -25
  352. package/dist/esm/vviinn-vps-button.entry.js.map +1 -0
  353. package/dist/esm/vviinn-vps-widget.entry.js +46 -31
  354. package/dist/esm/vviinn-vps-widget.entry.js.map +1 -0
  355. package/dist/esm/vviinn-widgets.js +9 -3
  356. package/dist/esm/vviinn-widgets.js.map +1 -0
  357. package/dist/loader/index.d.ts +9 -0
  358. package/dist/loader/package.json +1 -0
  359. package/dist/types/Image/sizing.d.ts +4 -4
  360. package/dist/types/campaign/Campaign.d.ts +5 -5
  361. package/dist/types/campaign/VCSCampaignResponse.d.ts +1 -1
  362. package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +2 -2
  363. package/dist/types/components/vviinn-image-selector/vviinn-image-selector.d.ts +4 -0
  364. package/dist/types/components/vviinn-modal/vviinn-modal.d.ts +2 -0
  365. package/dist/types/components/vviinn-overlayed-modal/vviinn-overlayed-modal.d.ts +2 -0
  366. package/dist/types/components/vviinn-product-card/render-helpers.d.ts +3 -3
  367. package/dist/types/components/vviinn-slider/arrow.d.ts +2 -2
  368. package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +2 -2
  369. package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +9 -4
  370. package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +8 -0
  371. package/dist/types/components.d.ts +154 -54
  372. package/dist/types/error.d.ts +1 -1
  373. package/dist/types/geometry/Point.d.ts +1 -1
  374. package/dist/types/geometry/Rectangle.d.ts +1 -1
  375. package/dist/types/geometry/Sized.d.ts +1 -1
  376. package/dist/types/interfaces/generated.d.ts +192 -371
  377. package/dist/types/network/ion/File.d.ts +2 -2
  378. package/dist/types/network/ion/Form.d.ts +5 -5
  379. package/dist/types/network/ion/Link.d.ts +1 -1
  380. package/dist/types/network/ion/ValueObject.d.ts +4 -4
  381. package/dist/types/network/utils.d.ts +3 -3
  382. package/dist/types/recommendation/events.d.ts +5 -5
  383. package/dist/types/recommendation/recommendation.d.ts +1 -1
  384. package/dist/types/searchSession/searchSession.d.ts +7 -7
  385. package/dist/types/slider/GridMode.d.ts +1 -1
  386. package/dist/types/stencil-public-runtime.d.ts +98 -23
  387. package/dist/types/store/imageSearch.store.d.ts +1 -1
  388. package/dist/types/tracking/models.d.ts +2 -2
  389. package/dist/types/utils/event/Events.d.ts +1 -1
  390. package/dist/vviinn-widgets/index.esm.js +2 -0
  391. package/dist/vviinn-widgets/index.esm.js.map +1 -0
  392. package/dist/vviinn-widgets/p-0b0d59d7.entry.js +2 -0
  393. package/dist/vviinn-widgets/p-0b0d59d7.entry.js.map +1 -0
  394. package/dist/vviinn-widgets/p-14373da7.entry.js +2 -0
  395. package/dist/vviinn-widgets/p-14373da7.entry.js.map +1 -0
  396. package/dist/vviinn-widgets/p-18fd769b.js +2 -1
  397. package/dist/vviinn-widgets/p-18fd769b.js.map +1 -0
  398. package/dist/vviinn-widgets/p-2f7bf983.js +2 -0
  399. package/dist/vviinn-widgets/p-2f7bf983.js.map +1 -0
  400. package/dist/vviinn-widgets/p-3abc679c.js +2 -0
  401. package/dist/vviinn-widgets/p-3abc679c.js.map +1 -0
  402. package/dist/vviinn-widgets/p-3b99c62d.js +2 -0
  403. package/dist/vviinn-widgets/p-3b99c62d.js.map +1 -0
  404. package/dist/vviinn-widgets/p-4325566b.entry.js +2 -0
  405. package/dist/vviinn-widgets/p-4325566b.entry.js.map +1 -0
  406. package/dist/vviinn-widgets/p-53eacbe3.js +2 -0
  407. package/dist/vviinn-widgets/p-53eacbe3.js.map +1 -0
  408. package/dist/vviinn-widgets/p-645baf22.entry.js +2 -0
  409. package/dist/vviinn-widgets/p-645baf22.entry.js.map +1 -0
  410. package/dist/vviinn-widgets/p-a10b9151.entry.js +2 -0
  411. package/dist/vviinn-widgets/p-a10b9151.entry.js.map +1 -0
  412. package/dist/vviinn-widgets/p-c012ef97.entry.js +2 -0
  413. package/dist/vviinn-widgets/p-c012ef97.entry.js.map +1 -0
  414. package/dist/vviinn-widgets/p-c24caccd.js +2 -0
  415. package/dist/vviinn-widgets/p-c24caccd.js.map +1 -0
  416. package/dist/vviinn-widgets/p-d20a9a96.entry.js +2 -0
  417. package/dist/vviinn-widgets/p-d20a9a96.entry.js.map +1 -0
  418. package/dist/vviinn-widgets/p-d95d7c38.entry.js +2 -0
  419. package/dist/vviinn-widgets/p-d95d7c38.entry.js.map +1 -0
  420. package/dist/vviinn-widgets/p-e5e67a5f.entry.js +2 -0
  421. package/dist/vviinn-widgets/p-e5e67a5f.entry.js.map +1 -0
  422. package/dist/vviinn-widgets/p-e6d67de3.entry.js +2 -0
  423. package/dist/vviinn-widgets/p-e6d67de3.entry.js.map +1 -0
  424. package/dist/vviinn-widgets/p-fa17e81f.js +3 -0
  425. package/dist/vviinn-widgets/p-fa17e81f.js.map +1 -0
  426. package/dist/vviinn-widgets/vviinn-widgets.esm.js +2 -1
  427. package/dist/vviinn-widgets/vviinn-widgets.esm.js.map +1 -0
  428. package/package.json +12 -12
  429. package/www/build/index.esm.js +2 -0
  430. package/www/build/index.esm.js.map +1 -0
  431. package/www/build/p-0b0d59d7.entry.js +2 -0
  432. package/www/build/p-0b0d59d7.entry.js.map +1 -0
  433. package/www/build/p-14373da7.entry.js +2 -0
  434. package/www/build/p-14373da7.entry.js.map +1 -0
  435. package/www/build/p-18fd769b.js +2 -1
  436. package/www/build/p-18fd769b.js.map +1 -0
  437. package/www/build/p-2f7bf983.js +2 -0
  438. package/www/build/p-2f7bf983.js.map +1 -0
  439. package/www/build/p-3abc679c.js +2 -0
  440. package/www/build/p-3abc679c.js.map +1 -0
  441. package/www/build/p-3b99c62d.js +2 -0
  442. package/www/build/p-3b99c62d.js.map +1 -0
  443. package/www/build/p-4325566b.entry.js +2 -0
  444. package/www/build/p-4325566b.entry.js.map +1 -0
  445. package/www/build/p-53eacbe3.js +2 -0
  446. package/www/build/p-53eacbe3.js.map +1 -0
  447. package/www/build/p-645baf22.entry.js +2 -0
  448. package/www/build/p-645baf22.entry.js.map +1 -0
  449. package/www/build/p-a10b9151.entry.js +2 -0
  450. package/www/build/p-a10b9151.entry.js.map +1 -0
  451. package/www/build/p-a67898be.css +1 -0
  452. package/www/build/p-ae6e6410.js +2 -0
  453. package/www/build/p-c012ef97.entry.js +2 -0
  454. package/www/build/p-c012ef97.entry.js.map +1 -0
  455. package/www/build/p-c24caccd.js +2 -0
  456. package/www/build/p-c24caccd.js.map +1 -0
  457. package/www/build/p-d20a9a96.entry.js +2 -0
  458. package/www/build/p-d20a9a96.entry.js.map +1 -0
  459. package/www/build/p-d95d7c38.entry.js +2 -0
  460. package/www/build/p-d95d7c38.entry.js.map +1 -0
  461. package/www/build/p-e5e67a5f.entry.js +2 -0
  462. package/www/build/p-e5e67a5f.entry.js.map +1 -0
  463. package/www/build/p-e6d67de3.entry.js +2 -0
  464. package/www/build/p-e6d67de3.entry.js.map +1 -0
  465. package/www/build/p-fa17e81f.js +3 -0
  466. package/www/build/p-fa17e81f.js.map +1 -0
  467. package/www/build/vviinn-widgets.esm.js +2 -1
  468. package/www/build/vviinn-widgets.esm.js.map +1 -0
  469. package/www/index.html +1 -1
  470. package/dist/vviinn-widgets/p-11f61564.js +0 -1
  471. package/dist/vviinn-widgets/p-12851e97.entry.js +0 -1
  472. package/dist/vviinn-widgets/p-2f9ee951.js +0 -1
  473. package/dist/vviinn-widgets/p-339c6838.js +0 -1
  474. package/dist/vviinn-widgets/p-3b2c91c0.entry.js +0 -1
  475. package/dist/vviinn-widgets/p-45df9f28.entry.js +0 -1
  476. package/dist/vviinn-widgets/p-57ed5303.entry.js +0 -1
  477. package/dist/vviinn-widgets/p-69850e5b.js +0 -1
  478. package/dist/vviinn-widgets/p-7c2f762a.entry.js +0 -1
  479. package/dist/vviinn-widgets/p-7c3b7388.entry.js +0 -1
  480. package/dist/vviinn-widgets/p-85006f41.entry.js +0 -1
  481. package/dist/vviinn-widgets/p-8a3dd76d.entry.js +0 -1
  482. package/dist/vviinn-widgets/p-99e58be7.entry.js +0 -1
  483. package/dist/vviinn-widgets/p-a2b450b6.entry.js +0 -1
  484. package/dist/vviinn-widgets/p-bcc1ccf0.js +0 -1
  485. package/dist/vviinn-widgets/p-e6fee8d2.js +0 -1
  486. package/www/build/p-11f61564.js +0 -1
  487. package/www/build/p-12851e97.entry.js +0 -1
  488. package/www/build/p-2f9ee951.js +0 -1
  489. package/www/build/p-339c6838.js +0 -1
  490. package/www/build/p-3b2c91c0.entry.js +0 -1
  491. package/www/build/p-45df9f28.entry.js +0 -1
  492. package/www/build/p-57ed5303.entry.js +0 -1
  493. package/www/build/p-69850e5b.js +0 -1
  494. package/www/build/p-7c2f762a.entry.js +0 -1
  495. package/www/build/p-7c3b7388.entry.js +0 -1
  496. package/www/build/p-85006f41.entry.js +0 -1
  497. package/www/build/p-8a3dd76d.entry.js +0 -1
  498. package/www/build/p-99e58be7.entry.js +0 -1
  499. package/www/build/p-9e2c131a.js +0 -125
  500. package/www/build/p-a2b450b6.entry.js +0 -1
  501. package/www/build/p-bcc1ccf0.js +0 -1
  502. package/www/build/p-e0153ae2.css +0 -6
  503. package/www/build/p-e6fee8d2.js +0 -1
@@ -0,0 +1,2 @@
1
+ import{j as n,k as t}from"./p-3abc679c.js";var e;var r=new Uint8Array(16);function i(){if(!e){e=typeof crypto!=="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!=="undefined"&&typeof msCrypto.getRandomValues==="function"&&msCrypto.getRandomValues.bind(msCrypto);if(!e){throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported")}}return e(r)}const o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function u(n){return typeof n==="string"&&o.test(n)}var a=[];for(var f=0;f<256;++f){a.push((f+256).toString(16).substr(1))}function c(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;var e=(a[n[t+0]]+a[n[t+1]]+a[n[t+2]]+a[n[t+3]]+"-"+a[n[t+4]]+a[n[t+5]]+"-"+a[n[t+6]]+a[n[t+7]]+"-"+a[n[t+8]]+a[n[t+9]]+"-"+a[n[t+10]]+a[n[t+11]]+a[n[t+12]]+a[n[t+13]]+a[n[t+14]]+a[n[t+15]]).toLowerCase();if(!u(e)){throw TypeError("Stringified UUID is invalid")}return e}function s(n,t,e){n=n||{};var r=n.random||(n.rng||i)();r[6]=r[6]&15|64;r[8]=r[8]&63|128;if(t){e=e||0;for(var o=0;o<16;++o){t[e+o]=r[o]}return t}return c(r)}var v=function n(t,e){e=e.split(":")[0];t=+t;if(!t)return false;switch(e){case"http":case"ws":return t!==80;case"https":case"wss":return t!==443;case"ftp":return t!==21;case"gopher":return t!==70;case"file":return false}return t!==0};var l=Object.prototype.hasOwnProperty,d;function h(n){try{return decodeURIComponent(n.replace(/\+/g," "))}catch(n){return null}}function p(n){try{return encodeURIComponent(n)}catch(n){return null}}function m(n){var t=/([^=?#&]+)=?([^&]*)/g,e={},r;while(r=t.exec(n)){var i=h(r[1]),o=h(r[2]);if(i===null||o===null||i in e)continue;e[i]=o}return e}function b(n,t){t=t||"";var e=[],r,i;if("string"!==typeof t)t="?";for(i in n){if(l.call(n,i)){r=n[i];if(!r&&(r===null||r===d||isNaN(r))){r=""}i=p(i);r=p(r);if(i===null||r===null)continue;e.push(i+"="+r)}}return e.length?t+e.join("&"):""}var y=b;var w=m;var g={stringify:y,parse:w};var _=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,j=/[\n\r\t]/g,O=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,E=/:\d+$/,A=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,S=/^[a-zA-Z]:/;function T(n){return(n?n:"").toString().replace(_,"")}var N=[["#","hash"],["?","query"],function n(t,e){return k(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",undefined,1,1],[/:(\d*)$/,"port",undefined,1],[NaN,"hostname",undefined,1,1]];var C={hash:1,query:1};function P(t){var e;if(typeof window!=="undefined")e=window;else if(typeof n!=="undefined")e=n;else if(typeof self!=="undefined")e=self;else e={};var r=e.location||{};t=t||r;var i={},o=typeof t,u;if("blob:"===t.protocol){i=new U(unescape(t.pathname),{})}else if("string"===o){i=new U(t,{});for(u in C)delete i[u]}else if("object"===o){for(u in t){if(u in C)continue;i[u]=t[u]}if(i.slashes===undefined){i.slashes=O.test(t.href)}}return i}function k(n){return n==="file:"||n==="ftp:"||n==="http:"||n==="https:"||n==="ws:"||n==="wss:"}function M(n,t){n=T(n);n=n.replace(j,"");t=t||{};var e=A.exec(n);var r=e[1]?e[1].toLowerCase():"";var i=!!e[2];var o=!!e[3];var u=0;var a;if(i){if(o){a=e[2]+e[3]+e[4];u=e[2].length+e[3].length}else{a=e[2]+e[4];u=e[2].length}}else{if(o){a=e[3]+e[4];u=e[3].length}else{a=e[4]}}if(r==="file:"){if(u>=2){a=a.slice(2)}}else if(k(r)){a=e[4]}else if(r){if(i){a=a.slice(2)}}else if(u>=2&&k(t.protocol)){a=e[4]}return{protocol:r,slashes:i||k(r),slashesCount:u,rest:a}}function R(n,t){if(n==="")return t;var e=(t||"/").split("/").slice(0,-1).concat(n.split("/")),r=e.length,i=e[r-1],o=false,u=0;while(r--){if(e[r]==="."){e.splice(r,1)}else if(e[r]===".."){e.splice(r,1);u++}else if(u){if(r===0)o=true;e.splice(r,1);u--}}if(o)e.unshift("");if(i==="."||i==="..")e.push("");return e.join("/")}function U(n,t,e){n=T(n);n=n.replace(j,"");if(!(this instanceof U)){return new U(n,t,e)}var r,i,o,u,a,f,c=N.slice(),s=typeof t,l=this,d=0;if("object"!==s&&"string"!==s){e=t;t=null}if(e&&"function"!==typeof e)e=g.parse;t=P(t);i=M(n||"",t);r=!i.protocol&&!i.slashes;l.slashes=i.slashes||r&&t.slashes;l.protocol=i.protocol||t.protocol||"";n=i.rest;if(i.protocol==="file:"&&(i.slashesCount!==2||S.test(n))||!i.slashes&&(i.protocol||i.slashesCount<2||!k(l.protocol))){c[3]=[/(.*)/,"pathname"]}for(;d<c.length;d++){u=c[d];if(typeof u==="function"){n=u(n,l);continue}o=u[0];f=u[1];if(o!==o){l[f]=n}else if("string"===typeof o){a=o==="@"?n.lastIndexOf(o):n.indexOf(o);if(~a){if("number"===typeof u[2]){l[f]=n.slice(0,a);n=n.slice(a+u[2])}else{l[f]=n.slice(a);n=n.slice(0,a)}}}else if(a=o.exec(n)){l[f]=a[1];n=n.slice(0,a.index)}l[f]=l[f]||(r&&u[3]?t[f]||"":"");if(u[4])l[f]=l[f].toLowerCase()}if(e)l.query=e(l.query);if(r&&t.slashes&&l.pathname.charAt(0)!=="/"&&(l.pathname!==""||t.pathname!=="")){l.pathname=R(l.pathname,t.pathname)}if(l.pathname.charAt(0)!=="/"&&k(l.protocol)){l.pathname="/"+l.pathname}if(!v(l.port,l.protocol)){l.host=l.hostname;l.port=""}l.username=l.password="";if(l.auth){a=l.auth.indexOf(":");if(~a){l.username=l.auth.slice(0,a);l.username=encodeURIComponent(decodeURIComponent(l.username));l.password=l.auth.slice(a+1);l.password=encodeURIComponent(decodeURIComponent(l.password))}else{l.username=encodeURIComponent(decodeURIComponent(l.auth))}l.auth=l.password?l.username+":"+l.password:l.username}l.origin=l.protocol!=="file:"&&k(l.protocol)&&l.host?l.protocol+"//"+l.host:"null";l.href=l.toString()}function I(n,t,e){var r=this;switch(n){case"query":if("string"===typeof t&&t.length){t=(e||g.parse)(t)}r[n]=t;break;case"port":r[n]=t;if(!v(t,r.protocol)){r.host=r.hostname;r[n]=""}else if(t){r.host=r.hostname+":"+t}break;case"hostname":r[n]=t;if(r.port)t+=":"+r.port;r.host=t;break;case"host":r[n]=t;if(E.test(t)){t=t.split(":");r.port=t.pop();r.hostname=t.join(":")}else{r.hostname=t;r.port=""}break;case"protocol":r.protocol=t.toLowerCase();r.slashes=!e;break;case"pathname":case"hash":if(t){var i=n==="pathname"?"/":"#";r[n]=t.charAt(0)!==i?i+t:t}else{r[n]=t}break;case"username":case"password":r[n]=encodeURIComponent(t);break;case"auth":var o=t.indexOf(":");if(~o){r.username=t.slice(0,o);r.username=encodeURIComponent(decodeURIComponent(r.username));r.password=t.slice(o+1);r.password=encodeURIComponent(decodeURIComponent(r.password))}else{r.username=encodeURIComponent(decodeURIComponent(t))}}for(var u=0;u<N.length;u++){var a=N[u];if(a[4])r[a[1]]=r[a[1]].toLowerCase()}r.auth=r.password?r.username+":"+r.password:r.username;r.origin=r.protocol!=="file:"&&k(r.protocol)&&r.host?r.protocol+"//"+r.host:"null";r.href=r.toString();return r}function x(n){if(!n||"function"!==typeof n)n=g.stringify;var t,e=this,r=e.host,i=e.protocol;if(i&&i.charAt(i.length-1)!==":")i+=":";var o=i+(e.protocol&&e.slashes||k(e.protocol)?"//":"");if(e.username){o+=e.username;if(e.password)o+=":"+e.password;o+="@"}else if(e.password){o+=":"+e.password;o+="@"}else if(e.protocol!=="file:"&&k(e.protocol)&&!r&&e.pathname!=="/"){o+="@"}if(r[r.length-1]===":"||E.test(e.hostname)&&!e.port){r+=":"}o+=r+e.pathname;t="object"===typeof e.query?n(e.query):e.query;if(t)o+="?"!==t.charAt(0)?"?"+t:t;if(e.hash)o+=e.hash;return o}U.prototype={set:I,toString:x};U.extractProtocol=M;U.location=P;U.trimLeft=T;U.qs=g;var D=U;var F=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.map=t.mergeMap=t.of=t.from=t.Observable=void 0;var e=function(){function n(n){this.promise=n}n.prototype.toPromise=function(){return this.promise};n.prototype.pipe=function(t){return new n(this.promise.then(t))};return n}();t.Observable=e;function r(n){return new e(n)}t.from=r;function i(n){return new e(Promise.resolve(n))}t.of=i;function o(n){return function(t){return n(t).toPromise()}}t.mergeMap=o;function u(n){return n}t.map=u}));var W=typeof globalThis!=="undefined"&&globalThis||typeof self!=="undefined"&&self||typeof W!=="undefined"&&W;var B={searchParams:"URLSearchParams"in W,iterable:"Symbol"in W&&"iterator"in Symbol,blob:"FileReader"in W&&"Blob"in W&&function(){try{new Blob;return true}catch(n){return false}}(),formData:"FormData"in W,arrayBuffer:"ArrayBuffer"in W};function V(n){return n&&DataView.prototype.isPrototypeOf(n)}if(B.arrayBuffer){var q=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"];var z=ArrayBuffer.isView||function(n){return n&&q.indexOf(Object.prototype.toString.call(n))>-1}}function G(n){if(typeof n!=="string"){n=String(n)}if(/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(n)||n===""){throw new TypeError('Invalid character in header field name: "'+n+'"')}return n.toLowerCase()}function H(n){if(typeof n!=="string"){n=String(n)}return n}function L(n){var t={next:function(){var t=n.shift();return{done:t===undefined,value:t}}};if(B.iterable){t[Symbol.iterator]=function(){return t}}return t}function J(n){this.map={};if(n instanceof J){n.forEach((function(n,t){this.append(t,n)}),this)}else if(Array.isArray(n)){n.forEach((function(n){this.append(n[0],n[1])}),this)}else if(n){Object.getOwnPropertyNames(n).forEach((function(t){this.append(t,n[t])}),this)}}J.prototype.append=function(n,t){n=G(n);t=H(t);var e=this.map[n];this.map[n]=e?e+", "+t:t};J.prototype["delete"]=function(n){delete this.map[G(n)]};J.prototype.get=function(n){n=G(n);return this.has(n)?this.map[n]:null};J.prototype.has=function(n){return this.map.hasOwnProperty(G(n))};J.prototype.set=function(n,t){this.map[G(n)]=H(t)};J.prototype.forEach=function(n,t){for(var e in this.map){if(this.map.hasOwnProperty(e)){n.call(t,this.map[e],e,this)}}};J.prototype.keys=function(){var n=[];this.forEach((function(t,e){n.push(e)}));return L(n)};J.prototype.values=function(){var n=[];this.forEach((function(t){n.push(t)}));return L(n)};J.prototype.entries=function(){var n=[];this.forEach((function(t,e){n.push([e,t])}));return L(n)};if(B.iterable){J.prototype[Symbol.iterator]=J.prototype.entries}function $(n){if(n.bodyUsed){return Promise.reject(new TypeError("Already read"))}n.bodyUsed=true}function K(n){return new Promise((function(t,e){n.onload=function(){t(n.result)};n.onerror=function(){e(n.error)}}))}function X(n){var t=new FileReader;var e=K(t);t.readAsArrayBuffer(n);return e}function Z(n){var t=new FileReader;var e=K(t);t.readAsText(n);return e}function Q(n){var t=new Uint8Array(n);var e=new Array(t.length);for(var r=0;r<t.length;r++){e[r]=String.fromCharCode(t[r])}return e.join("")}function Y(n){if(n.slice){return n.slice(0)}else{var t=new Uint8Array(n.byteLength);t.set(new Uint8Array(n));return t.buffer}}function nn(){this.bodyUsed=false;this._initBody=function(n){this.bodyUsed=this.bodyUsed;this._bodyInit=n;if(!n){this._bodyText=""}else if(typeof n==="string"){this._bodyText=n}else if(B.blob&&Blob.prototype.isPrototypeOf(n)){this._bodyBlob=n}else if(B.formData&&FormData.prototype.isPrototypeOf(n)){this._bodyFormData=n}else if(B.searchParams&&URLSearchParams.prototype.isPrototypeOf(n)){this._bodyText=n.toString()}else if(B.arrayBuffer&&B.blob&&V(n)){this._bodyArrayBuffer=Y(n.buffer);this._bodyInit=new Blob([this._bodyArrayBuffer])}else if(B.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(n)||z(n))){this._bodyArrayBuffer=Y(n)}else{this._bodyText=n=Object.prototype.toString.call(n)}if(!this.headers.get("content-type")){if(typeof n==="string"){this.headers.set("content-type","text/plain;charset=UTF-8")}else if(this._bodyBlob&&this._bodyBlob.type){this.headers.set("content-type",this._bodyBlob.type)}else if(B.searchParams&&URLSearchParams.prototype.isPrototypeOf(n)){this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8")}}};if(B.blob){this.blob=function(){var n=$(this);if(n){return n}if(this._bodyBlob){return Promise.resolve(this._bodyBlob)}else if(this._bodyArrayBuffer){return Promise.resolve(new Blob([this._bodyArrayBuffer]))}else if(this._bodyFormData){throw new Error("could not read FormData body as blob")}else{return Promise.resolve(new Blob([this._bodyText]))}};this.arrayBuffer=function(){if(this._bodyArrayBuffer){var n=$(this);if(n){return n}if(ArrayBuffer.isView(this._bodyArrayBuffer)){return Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength))}else{return Promise.resolve(this._bodyArrayBuffer)}}else{return this.blob().then(X)}}}this.text=function(){var n=$(this);if(n){return n}if(this._bodyBlob){return Z(this._bodyBlob)}else if(this._bodyArrayBuffer){return Promise.resolve(Q(this._bodyArrayBuffer))}else if(this._bodyFormData){throw new Error("could not read FormData body as text")}else{return Promise.resolve(this._bodyText)}};if(B.formData){this.formData=function(){return this.text().then(on)}}this.json=function(){return this.text().then(JSON.parse)};return this}var tn=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function en(n){var t=n.toUpperCase();return tn.indexOf(t)>-1?t:n}function rn(n,t){if(!(this instanceof rn)){throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')}t=t||{};var e=t.body;if(n instanceof rn){if(n.bodyUsed){throw new TypeError("Already read")}this.url=n.url;this.credentials=n.credentials;if(!t.headers){this.headers=new J(n.headers)}this.method=n.method;this.mode=n.mode;this.signal=n.signal;if(!e&&n._bodyInit!=null){e=n._bodyInit;n.bodyUsed=true}}else{this.url=String(n)}this.credentials=t.credentials||this.credentials||"same-origin";if(t.headers||!this.headers){this.headers=new J(t.headers)}this.method=en(t.method||this.method||"GET");this.mode=t.mode||this.mode||null;this.signal=t.signal||this.signal;this.referrer=null;if((this.method==="GET"||this.method==="HEAD")&&e){throw new TypeError("Body not allowed for GET or HEAD requests")}this._initBody(e);if(this.method==="GET"||this.method==="HEAD"){if(t.cache==="no-store"||t.cache==="no-cache"){var r=/([?&])_=[^&]*/;if(r.test(this.url)){this.url=this.url.replace(r,"$1_="+(new Date).getTime())}else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}}rn.prototype.clone=function(){return new rn(this,{body:this._bodyInit})};function on(n){var t=new FormData;n.trim().split("&").forEach((function(n){if(n){var e=n.split("=");var r=e.shift().replace(/\+/g," ");var i=e.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}));return t}function un(n){var t=new J;var e=n.replace(/\r?\n[\t ]+/g," ");e.split("\r").map((function(n){return n.indexOf("\n")===0?n.substr(1,n.length):n})).forEach((function(n){var e=n.split(":");var r=e.shift().trim();if(r){var i=e.join(":").trim();t.append(r,i)}}));return t}nn.call(rn.prototype);function an(n,t){if(!(this instanceof an)){throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.')}if(!t){t={}}this.type="default";this.status=t.status===undefined?200:t.status;this.ok=this.status>=200&&this.status<300;this.statusText=t.statusText===undefined?"":""+t.statusText;this.headers=new J(t.headers);this.url=t.url||"";this._initBody(n)}nn.call(an.prototype);an.prototype.clone=function(){return new an(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new J(this.headers),url:this.url})};an.error=function(){var n=new an(null,{status:0,statusText:""});n.type="error";return n};var fn=[301,302,303,307,308];an.redirect=function(n,t){if(fn.indexOf(t)===-1){throw new RangeError("Invalid status code")}return new an(null,{status:t,headers:{location:n}})};var cn=W.DOMException;try{new cn}catch(n){cn=function(n,t){this.message=n;this.name=t;var e=Error(n);this.stack=e.stack};cn.prototype=Object.create(Error.prototype);cn.prototype.constructor=cn}function sn(n,t){return new Promise((function(e,r){var i=new rn(n,t);if(i.signal&&i.signal.aborted){return r(new cn("Aborted","AbortError"))}var o=new XMLHttpRequest;function u(){o.abort()}o.onload=function(){var n={status:o.status,statusText:o.statusText,headers:un(o.getAllResponseHeaders()||"")};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var t="response"in o?o.response:o.responseText;setTimeout((function(){e(new an(t,n))}),0)};o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)};o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)};o.onabort=function(){setTimeout((function(){r(new cn("Aborted","AbortError"))}),0)};function a(n){try{return n===""&&W.location.href?W.location.href:n}catch(t){return n}}o.open(i.method,a(i.url),true);if(i.credentials==="include"){o.withCredentials=true}else if(i.credentials==="omit"){o.withCredentials=false}if("responseType"in o){if(B.blob){o.responseType="blob"}else if(B.arrayBuffer&&i.headers.get("Content-Type")&&i.headers.get("Content-Type").indexOf("application/octet-stream")!==-1){o.responseType="arraybuffer"}}if(t&&typeof t.headers==="object"&&!(t.headers instanceof J)){Object.getOwnPropertyNames(t.headers).forEach((function(n){o.setRequestHeader(n,H(t.headers[n]))}))}else{i.headers.forEach((function(n,t){o.setRequestHeader(t,n)}))}if(i.signal){i.signal.addEventListener("abort",u);o.onreadystatechange=function(){if(o.readyState===4){i.signal.removeEventListener("abort",u)}}}o.send(typeof i._bodyInit==="undefined"?null:i._bodyInit)}))}sn.polyfill=true;if(!W.fetch){W.fetch=sn;W.Headers=J;W.Request=rn;W.Response=an}var vn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.IsomorphicFetchHttpLibrary=void 0;var e=function(){function n(){}n.prototype.send=function(n){var t=n.getHttpMethod().toString();var e=n.getBody();var r=fetch(n.getUrl(),{method:t,body:e,headers:n.getHeaders(),credentials:"same-origin"}).then((function(n){var t={};n.headers.forEach((function(n,e){t[e]=n}));var e={text:function(){return n.text()},binary:function(){return n.blob()}};return new ln.ResponseContext(n.status,t,e)}));return(0,F.from)(r)};return n}();t.IsomorphicFetchHttpLibrary=e}));var ln=t((function(t,e){var r=n&&n.__extends||function(){var n=function(t,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))n[e]=t[e]};return n(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}();var i=n&&n.__createBinding||(Object.create?function(n,t,e,r){if(r===undefined)r=e;var i=Object.getOwnPropertyDescriptor(t,e);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[e]}}}Object.defineProperty(n,r,i)}:function(n,t,e,r){if(r===undefined)r=e;n[r]=t[e]});var o=n&&n.__exportStar||function(n,t){for(var e in n)if(e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e))i(t,n,e)};var u=n&&n.__awaiter||function(n,t,e,r){function i(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,o){function u(n){try{f(r.next(n))}catch(n){o(n)}}function a(n){try{f(r["throw"](n))}catch(n){o(n)}}function f(n){n.done?e(n.value):i(n.value).then(u,a)}f((r=r.apply(n,t||[])).next())}))};var a=n&&n.__generator||function(n,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(n){return function(t){return f([n,t])}}function f(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=t.call(n,e)}catch(n){u=[6,n];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};Object.defineProperty(e,"__esModule",{value:true});e.wrapHttpLibrary=e.ResponseContext=e.SelfDecodingBody=e.RequestContext=e.HttpException=e.HttpMethod=void 0;o(vn,e);(function(n){n["GET"]="GET";n["HEAD"]="HEAD";n["POST"]="POST";n["PUT"]="PUT";n["DELETE"]="DELETE";n["CONNECT"]="CONNECT";n["OPTIONS"]="OPTIONS";n["TRACE"]="TRACE";n["PATCH"]="PATCH"})(e.HttpMethod||(e.HttpMethod={}));var f=function(n){r(t,n);function t(t){return n.call(this,t)||this}return t}(Error);e.HttpException=f;var c=function(){function n(n,t){this.httpMethod=t;this.headers={};this.body=undefined;this.url=new D(n,true)}n.prototype.getUrl=function(){return this.url.toString()};n.prototype.setUrl=function(n){this.url=new D(n,true)};n.prototype.setBody=function(n){this.body=n};n.prototype.getHttpMethod=function(){return this.httpMethod};n.prototype.getHeaders=function(){return this.headers};n.prototype.getBody=function(){return this.body};n.prototype.setQueryParam=function(n,t){var e=this.url.query;e[n]=t;this.url.set("query",e)};n.prototype.addCookie=function(n,t){if(!this.headers["Cookie"]){this.headers["Cookie"]=""}this.headers["Cookie"]+=n+"="+t+"; "};n.prototype.setHeaderParam=function(n,t){this.headers[n]=t};return n}();e.RequestContext=c;var s=function(){function n(n){this.dataSource=n}n.prototype.binary=function(){return this.dataSource};n.prototype.text=function(){return u(this,void 0,void 0,(function(){var n;return a(this,(function(t){switch(t.label){case 0:return[4,this.dataSource];case 1:n=t.sent();if(n.text){return[2,n.text()]}return[2,new Promise((function(t,e){var r=new FileReader;r.addEventListener("load",(function(){return t(r.result)}));r.addEventListener("error",(function(){return e(r.error)}));r.readAsText(n)}))]}}))}))};return n}();e.SelfDecodingBody=s;var v=function(){function n(n,t,e){this.httpStatusCode=n;this.headers=t;this.body=e}n.prototype.getParsedHeader=function(n){var t={};if(!this.headers[n]){return t}var e=this.headers[n].split(";");for(var r=0,i=e;r<i.length;r++){var o=i[r];var u=o.split("=",2),a=u[0],f=u[1];a=a.toLowerCase().trim();if(f===undefined){t[""]=a}else{f=f.trim();if(f.startsWith('"')&&f.endsWith('"')){f=f.substring(1,f.length-1)}t[a]=f}}return t};n.prototype.getBodyAsFile=function(){return u(this,void 0,void 0,(function(){var n,t,e;return a(this,(function(r){switch(r.label){case 0:return[4,this.body.binary()];case 1:n=r.sent();t=this.getParsedHeader("content-disposition")["filename"]||"";e=this.headers["content-type"]||"";try{return[2,new File([n],t,{type:e})]}catch(r){return[2,Object.assign(n,{name:t,type:e})]}return[2]}}))}))};n.prototype.getBodyAsAny=function(){try{return this.body.text()}catch(n){}try{return this.body.binary()}catch(n){}return Promise.resolve(undefined)};return n}();e.ResponseContext=v;function l(n){return{send:function(t){return(0,F.from)(n.send(t))}}}e.wrapHttpLibrary=l}));var dn=t((function(t,e){var r=n&&n.__awaiter||function(n,t,e,r){function i(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,o){function u(n){try{f(r.next(n))}catch(n){o(n)}}function a(n){try{f(r["throw"](n))}catch(n){o(n)}}function f(n){n.done?e(n.value):i(n.value).then(u,a)}f((r=r.apply(n,t||[])).next())}))};var i=n&&n.__generator||function(n,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(n){return function(t){return f([n,t])}}function f(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=t.call(n,e)}catch(n){u=[6,n];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};Object.defineProperty(e,"__esModule",{value:true});e.configureAuthMethods=e.BearerAuthAuthentication=void 0;var o=function(){function n(n){this.tokenProvider=n}n.prototype.getName=function(){return"bearerAuth"};n.prototype.applySecurityAuthentication=function(n){return r(this,void 0,void 0,(function(){var t,e,r,o;return i(this,(function(i){switch(i.label){case 0:e=(t=n).setHeaderParam;r=["Authorization"];o="Bearer ";return[4,this.tokenProvider.getToken()];case 1:e.apply(t,r.concat([o+i.sent()]));return[2]}}))}))};return n}();e.BearerAuthAuthentication=o;function u(n){var t={};if(!n){return t}t["default"]=n["default"];if(n["bearerAuth"]){t["bearerAuth"]=new o(n["bearerAuth"]["tokenProvider"])}return t}e.configureAuthMethods=u}));var hn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.ErrorObject=void 0;var e=function(){function n(){}n.getAttributeTypeMap=function(){return n.attributeTypeMap};n.discriminator=undefined;n.attributeTypeMap=[{name:"domain",baseName:"domain",type:"string",format:""},{name:"reason",baseName:"reason",type:"string",format:""},{name:"message",baseName:"message",type:"string",format:""},{name:"location",baseName:"location",type:"string",format:""},{name:"location_type",baseName:"location_type",type:"string",format:""},{name:"extended_help",baseName:"extended_help",type:"string",format:""},{name:"send_report",baseName:"send_report",type:"string",format:""}];return n}();t.ErrorObject=e}));var pn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.ErrorResponse=void 0;var e=function(){function n(){}n.getAttributeTypeMap=function(){return n.attributeTypeMap};n.discriminator=undefined;n.attributeTypeMap=[{name:"code",baseName:"code",type:"number",format:""},{name:"message",baseName:"message",type:"string",format:""},{name:"errors",baseName:"errors",type:"Array<ErrorObject>",format:""}];return n}();t.ErrorResponse=e}));var mn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.Event=void 0;var e=function(){function n(){this.typ="Event"}n.getAttributeTypeMap=function(){return n.attributeTypeMap};n.discriminator="typ";n.attributeTypeMap=[{name:"session_id",baseName:"session_id",type:"string",format:""},{name:"typ",baseName:"typ",type:"string",format:""}];return n}();t.Event=e}));var bn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.EventConfirmation=void 0;var e=function(){function n(){}n.getAttributeTypeMap=function(){return n.attributeTypeMap};n.discriminator=undefined;n.attributeTypeMap=[{name:"status",baseName:"status",type:"EventConfirmationStatusEnum",format:""}];return n}();t.EventConfirmation=e}));var yn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true})}));var wn=t((function(t,e){var r=n&&n.__extends||function(){var n=function(t,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))n[e]=t[e]};return n(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:true});e.FilterEvent=void 0;var i=function(n){r(t,n);function t(){var t=n.call(this)||this;t.typ="FilterEvent";return t}t.getAttributeTypeMap=function(){return n.getAttributeTypeMap.call(this).concat(t.attributeTypeMap)};t.discriminator=undefined;t.attributeTypeMap=[{name:"widget",baseName:"widget",type:"Widget",format:""},{name:"action",baseName:"action",type:"FilterAction",format:""},{name:"kind",baseName:"kind",type:"FilterKind",format:""}];return t}(mn.Event);e.FilterEvent=i}));var gn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.FilterEventAllOf=void 0;var e=function(){function n(){}n.getAttributeTypeMap=function(){return n.attributeTypeMap};n.discriminator=undefined;n.attributeTypeMap=[{name:"widget",baseName:"widget",type:"Widget",format:""},{name:"action",baseName:"action",type:"FilterAction",format:""},{name:"kind",baseName:"kind",type:"FilterKind",format:""}];return n}();t.FilterEventAllOf=e}));var _n=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true})}));var jn=t((function(t,e){var r=n&&n.__extends||function(){var n=function(t,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))n[e]=t[e]};return n(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:true});e.ProductClickEvent=void 0;var i=function(n){r(t,n);function t(){var t=n.call(this)||this;t.typ="ProductClickEvent";return t}t.getAttributeTypeMap=function(){return n.getAttributeTypeMap.call(this).concat(t.attributeTypeMap)};t.discriminator=undefined;t.attributeTypeMap=[{name:"widget",baseName:"widget",type:"Widget",format:""},{name:"product",baseName:"product",type:"string",format:""},{name:"rank",baseName:"rank",type:"number",format:""}];return t}(mn.Event);e.ProductClickEvent=i}));var On=t((function(t,e){var r=n&&n.__extends||function(){var n=function(t,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))n[e]=t[e]};return n(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:true});e.ProductViewEvent=void 0;var i=function(n){r(t,n);function t(){var t=n.call(this)||this;t.typ="ProductViewEvent";return t}t.getAttributeTypeMap=function(){return n.getAttributeTypeMap.call(this).concat(t.attributeTypeMap)};t.discriminator=undefined;t.attributeTypeMap=[{name:"widget",baseName:"widget",type:"Widget",format:""},{name:"product",baseName:"product",type:"string",format:""},{name:"rank",baseName:"rank",type:"number",format:""}];return t}(mn.Event);e.ProductViewEvent=i}));var En=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.ProductViewEventAllOf=void 0;var e=function(){function n(){}n.getAttributeTypeMap=function(){return n.attributeTypeMap};n.discriminator=undefined;n.attributeTypeMap=[{name:"widget",baseName:"widget",type:"Widget",format:""},{name:"product",baseName:"product",type:"string",format:""},{name:"rank",baseName:"rank",type:"number",format:""}];return n}();t.ProductViewEventAllOf=e}));var An=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true})}));var Sn=t((function(t,e){var r=n&&n.__extends||function(){var n=function(t,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))n[e]=t[e]};return n(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:true});e.SearchEvent=void 0;var i=function(n){r(t,n);function t(){var t=n.call(this)||this;t.typ="SearchEvent";return t}t.getAttributeTypeMap=function(){return n.getAttributeTypeMap.call(this).concat(t.attributeTypeMap)};t.discriminator=undefined;t.attributeTypeMap=[{name:"widget",baseName:"widget",type:"Widget",format:""},{name:"source",baseName:"source",type:"SearchImageSource",format:""},{name:"search_area",baseName:"search_area",type:"SearchArea",format:""}];return t}(mn.Event);e.SearchEvent=i}));var Tn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.SearchEventAllOf=void 0;var e=function(){function n(){}n.getAttributeTypeMap=function(){return n.attributeTypeMap};n.discriminator=undefined;n.attributeTypeMap=[{name:"widget",baseName:"widget",type:"Widget",format:""},{name:"source",baseName:"source",type:"SearchImageSource",format:""},{name:"search_area",baseName:"search_area",type:"SearchArea",format:""}];return n}();t.SearchEventAllOf=e}));var Nn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true})}));var Cn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true})}));var Pn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true})}));var kn=t((function(t,e){var r=n&&n.__extends||function(){var n=function(t,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))n[e]=t[e]};return n(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:true});e.WidgetEvent=void 0;var i=function(n){r(t,n);function t(){var t=n.call(this)||this;t.typ="WidgetEvent";return t}t.getAttributeTypeMap=function(){return n.getAttributeTypeMap.call(this).concat(t.attributeTypeMap)};t.discriminator=undefined;t.attributeTypeMap=[{name:"widget",baseName:"widget",type:"Widget",format:""},{name:"action",baseName:"action",type:"WidgetAction",format:""}];return t}(mn.Event);e.WidgetEvent=i}));var Mn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.WidgetEventAllOf=void 0;var e=function(){function n(){}n.getAttributeTypeMap=function(){return n.attributeTypeMap};n.discriminator=undefined;n.attributeTypeMap=[{name:"widget",baseName:"widget",type:"Widget",format:""},{name:"action",baseName:"action",type:"WidgetAction",format:""}];return n}();t.WidgetEventAllOf=e}));var Rn=t((function(t,e){var r=n&&n.__createBinding||(Object.create?function(n,t,e,r){if(r===undefined)r=e;var i=Object.getOwnPropertyDescriptor(t,e);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[e]}}}Object.defineProperty(n,r,i)}:function(n,t,e,r){if(r===undefined)r=e;n[r]=t[e]});var i=n&&n.__exportStar||function(n,t){for(var e in n)if(e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e))r(t,n,e)};Object.defineProperty(e,"__esModule",{value:true});i(hn,e);i(pn,e);i(mn,e);i(bn,e);i(yn,e);i(wn,e);i(gn,e);i(_n,e);i(jn,e);i(On,e);i(En,e);i(An,e);i(Sn,e);i(Tn,e);i(Nn,e);i(Cn,e);i(Pn,e);i(kn,e);i(Mn,e)}));var Un=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.PromiseMiddlewareWrapper=void 0;var e=function(){function n(n){this.middleware=n}n.prototype.pre=function(n){return(0,F.from)(this.middleware.pre(n))};n.prototype.post=function(n){return(0,F.from)(this.middleware.post(n))};return n}();t.PromiseMiddlewareWrapper=e}));var In=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.servers=t.server2=t.server1=t.ServerConfiguration=void 0;var e=function(){function n(n,t){this.url=n;this.variableConfiguration=t}n.prototype.setVariables=function(n){Object.assign(this.variableConfiguration,n)};n.prototype.getConfiguration=function(){return this.variableConfiguration};n.prototype.getUrl=function(){var n=this.url;for(var t in this.variableConfiguration){var e=new RegExp("{"+t+"}","g");n=n.replace(e,this.variableConfiguration[t])}return n};n.prototype.makeRequestContext=function(n,t){return new ln.RequestContext(this.getUrl()+n,t)};return n}();t.ServerConfiguration=e;t.server1=new e("https://tracking.vviinn.com",{});t.server2=new e("https://tracking.stage.vviinn.com",{});t.servers=[t.server1,t.server2]}));var xn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.createConfiguration=void 0;function e(n){if(n===void 0){n={}}var t={baseServer:n.baseServer!==undefined?n.baseServer:In.server1,httpApi:n.httpApi||new vn.IsomorphicFetchHttpLibrary,middleware:n.middleware||[],authMethods:(0,dn.configureAuthMethods)(n.authMethods)};if(n.promiseMiddleware){n.promiseMiddleware.forEach((function(n){return t.middleware.push(new Un.PromiseMiddlewareWrapper(n))}))}return t}t.createConfiguration=e}));var Dn=t((function(t,e){var r=n&&n.__extends||function(){var n=function(t,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))n[e]=t[e]};return n(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:true});e.ApiException=void 0;var i=function(n){r(t,n);function t(t,e,r,i){var o=n.call(this,"HTTP-Code: "+t+"\nMessage: "+e+"\nBody: "+JSON.stringify(r)+"\nHeaders: "+JSON.stringify(i))||this;o.code=t;o.body=r;o.headers=i;return o}return t}(Error);e.ApiException=i}));var Fn=t((function(t,e){var r=n&&n.__extends||function(){var n=function(t,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))n[e]=t[e]};return n(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:true});e.RequiredError=e.BaseAPIRequestFactory=e.COLLECTION_FORMATS=void 0;e.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:"\t",pipes:"|"};var i=function(){function n(n){this.configuration=n}return n}();e.BaseAPIRequestFactory=i;var o=function(n){r(t,n);function t(t,e,r){var i=n.call(this,"Required parameter "+r+" was null or undefined when calling "+t+"."+e+".")||this;i.api=t;i.method=e;i.field=r;i.name="RequiredError";return i}return t}(Error);e.RequiredError=o}));var Wn=t((function(t,e){var r=n&&n.__createBinding||(Object.create?function(n,t,e,r){if(r===undefined)r=e;var i=Object.getOwnPropertyDescriptor(t,e);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[e]}}}Object.defineProperty(n,r,i)}:function(n,t,e,r){if(r===undefined)r=e;n[r]=t[e]});var i=n&&n.__exportStar||function(n,t){for(var e in n)if(e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e))r(t,n,e)};Object.defineProperty(e,"__esModule",{value:true});e.ObjectSerializer=void 0;i(hn,e);i(pn,e);i(mn,e);i(bn,e);i(yn,e);i(wn,e);i(gn,e);i(_n,e);i(jn,e);i(On,e);i(En,e);i(An,e);i(Sn,e);i(Tn,e);i(Nn,e);i(Cn,e);i(Pn,e);i(kn,e);i(Mn,e);var o=hn;var u=pn;var a=mn;var f=bn;var c=wn;var s=gn;var v=jn;var l=On;var d=En;var h=Sn;var p=Tn;var m=kn;var b=Mn;var y=["string","boolean","double","integer","long","float","number","any"];var w={"application/json":Infinity,"application/octet-stream":0,"application/x-www-form-urlencoded":0};var g=new Set(["EventConfirmationStatusEnum","FilterAction","FilterKind","SearchArea","SearchImageSource","Widget","WidgetAction"]);var _={ErrorObject:o.ErrorObject,ErrorResponse:u.ErrorResponse,Event:a.Event,EventConfirmation:f.EventConfirmation,FilterEvent:c.FilterEvent,FilterEventAllOf:s.FilterEventAllOf,ProductClickEvent:v.ProductClickEvent,ProductViewEvent:l.ProductViewEvent,ProductViewEventAllOf:d.ProductViewEventAllOf,SearchEvent:h.SearchEvent,SearchEventAllOf:p.SearchEventAllOf,WidgetEvent:m.WidgetEvent,WidgetEventAllOf:b.WidgetEventAllOf};var j=function(){function n(){}n.findCorrectType=function(n,t){if(n==undefined){return t}else if(y.indexOf(t.toLowerCase())!==-1){return t}else if(t==="Date"){return t}else{if(g.has(t)){return t}if(!_[t]){return t}var e=_[t].discriminator;if(e==null){return t}else{if(n[e]){var r=n[e];if(_[r]){return r}else{return t}}else{return t}}}};n.serialize=function(t,e,r){if(t==undefined){return t}else if(y.indexOf(e.toLowerCase())!==-1){return t}else if(e.lastIndexOf("Array<",0)===0){var i=e.replace("Array<","");i=i.substring(0,i.length-1);var o=[];for(var u in t){var a=t[u];o.push(n.serialize(a,i,r))}return o}else if(e==="Date"){if(r=="date"){var f=t.getMonth()+1;f=f<10?"0"+f.toString():f.toString();var c=t.getDate();c=c<10?"0"+c.toString():c.toString();return t.getFullYear()+"-"+f+"-"+c}else{return t.toISOString()}}else{if(g.has(e)){return t}if(!_[e]){return t}e=this.findCorrectType(t,e);var s=_[e].getAttributeTypeMap();var v={};for(var u in s){var l=s[u];v[l.baseName]=n.serialize(t[l.name],l.type,l.format)}return v}};n.deserialize=function(t,e,r){e=n.findCorrectType(t,e);if(t==undefined){return t}else if(y.indexOf(e.toLowerCase())!==-1){return t}else if(e.lastIndexOf("Array<",0)===0){var i=e.replace("Array<","");i=i.substring(0,i.length-1);var o=[];for(var u in t){var a=t[u];o.push(n.deserialize(a,i,r))}return o}else if(e==="Date"){return new Date(t)}else{if(g.has(e)){return t}if(!_[e]){return t}var f=new _[e];var c=_[e].getAttributeTypeMap();for(var u in c){var s=c[u];f[s.name]=n.deserialize(t[s.baseName],s.type,s.format)}return f}};n.normalizeMediaType=function(n){if(n===undefined){return undefined}return n.split(";")[0].trim().toLowerCase()};n.getPreferredMediaType=function(n){if(!n){return"application/json"}var t=n.map(this.normalizeMediaType);var e=undefined;var r=-Infinity;for(var i=0,o=t;i<o.length;i++){var u=o[i];if(w[u]>r){e=u;r=w[u]}}if(e===undefined){throw new Error("None of the given media types are supported: "+n.join(", "))}return e};n.stringify=function(n,t){if(t==="application/json"){return JSON.stringify(n)}throw new Error("The mediaType "+t+" is not supported by ObjectSerializer.stringify.")};n.parse=function(n,t){if(t===undefined){throw new Error("Cannot parse content. No Content-Type defined.")}if(t==="application/json"){return JSON.parse(n)}throw new Error("The mediaType "+t+" is not supported by ObjectSerializer.parse.")};return n}();e.ObjectSerializer=j}));var Bn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.canConsumeForm=t.isCodeInRange=void 0;function e(n,t){if(n==="0"){return true}if(n==t.toString()){return true}else{var e=t.toString();if(e.length!=n.length){return false}for(var r=0;r<e.length;r++){if(n.charAt(r)!="X"&&n.charAt(r)!=e.charAt(r)){return false}}return true}}t.isCodeInRange=e;function r(n){return n.indexOf("multipart/form-data")!==-1}t.canConsumeForm=r}));var Vn=t((function(t,e){var r=n&&n.__extends||function(){var n=function(t,e){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))n[e]=t[e]};return n(t,e)};return function(t,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}}();var i=n&&n.__awaiter||function(n,t,e,r){function i(n){return n instanceof e?n:new e((function(t){t(n)}))}return new(e||(e=Promise))((function(e,o){function u(n){try{f(r.next(n))}catch(n){o(n)}}function a(n){try{f(r["throw"](n))}catch(n){o(n)}}function f(n){n.done?e(n.value):i(n.value).then(u,a)}f((r=r.apply(n,t||[])).next())}))};var o=n&&n.__generator||function(n,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(n){return function(t){return f([n,t])}}function f(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=t.call(n,e)}catch(n){u=[6,n];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};Object.defineProperty(e,"__esModule",{value:true});e.DefaultApiResponseProcessor=e.DefaultApiRequestFactory=void 0;var u=function(n){r(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}t.prototype.trackEvent=function(n,t){var e,r,u;return i(this,void 0,void 0,(function(){var i,a,f,c,s,v,l;return o(this,(function(o){switch(o.label){case 0:i=t||this.configuration;a="/event";f=i.baseServer.makeRequestContext(a,ln.HttpMethod.POST);f.setHeaderParam("Accept","application/json, */*;q=0.8");c=Wn.ObjectSerializer.getPreferredMediaType(["application/json"]);f.setHeaderParam("Content-Type",c);s=Wn.ObjectSerializer.stringify(Wn.ObjectSerializer.serialize(n,"ProductViewEvent | ProductClickEvent | WidgetEvent | FilterEvent | SearchEvent",""),c);f.setBody(s);v=i.authMethods["bearerAuth"];if(!(v===null||v===void 0?void 0:v.applySecurityAuthentication))return[3,2];return[4,v===null||v===void 0?void 0:v.applySecurityAuthentication(f)];case 1:o.sent();o.label=2;case 2:l=((e=t===null||t===void 0?void 0:t.authMethods)===null||e===void 0?void 0:e.default)||((u=(r=this.configuration)===null||r===void 0?void 0:r.authMethods)===null||u===void 0?void 0:u.default);if(!(l===null||l===void 0?void 0:l.applySecurityAuthentication))return[3,4];return[4,l===null||l===void 0?void 0:l.applySecurityAuthentication(f)];case 3:o.sent();o.label=4;case 4:return[2,f]}}))}))};return t}(Fn.BaseAPIRequestFactory);e.DefaultApiRequestFactory=u;var a=function(){function n(){}n.prototype.trackEvent=function(n){return i(this,void 0,void 0,(function(){var t,e,r,i,u,a,e,f,c,s,v,e,l,d,h,p,m,b;return o(this,(function(o){switch(o.label){case 0:t=Wn.ObjectSerializer.normalizeMediaType(n.headers["content-type"]);if(!(0,Bn.isCodeInRange)("200",n.httpStatusCode))return[3,2];i=(r=Wn.ObjectSerializer).deserialize;a=(u=Wn.ObjectSerializer).parse;return[4,n.body.text()];case 1:e=i.apply(r,[a.apply(u,[o.sent(),t]),"EventConfirmation",""]);return[2,e];case 2:if(!(0,Bn.isCodeInRange)("502",n.httpStatusCode))return[3,4];c=(f=Wn.ObjectSerializer).deserialize;v=(s=Wn.ObjectSerializer).parse;return[4,n.body.text()];case 3:e=c.apply(f,[v.apply(s,[o.sent(),t]),"ErrorResponse",""]);throw new Dn.ApiException(502,"an error occurred",e,n.headers);case 4:if(!(n.httpStatusCode>=200&&n.httpStatusCode<=299))return[3,6];d=(l=Wn.ObjectSerializer).deserialize;p=(h=Wn.ObjectSerializer).parse;return[4,n.body.text()];case 5:e=d.apply(l,[p.apply(h,[o.sent(),t]),"EventConfirmation",""]);return[2,e];case 6:m=Dn.ApiException.bind;b=[void 0,n.httpStatusCode,"Unknown API Status Code!"];return[4,n.getBodyAsAny()];case 7:throw new(m.apply(Dn.ApiException,b.concat([o.sent(),n.headers])))}}))}))};return n}();e.DefaultApiResponseProcessor=a}));var qn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.ObservableDefaultApi=void 0;var e=F;var r=function(){function n(n,t,e){this.configuration=n;this.requestFactory=t||new Vn.DefaultApiRequestFactory(n);this.responseProcessor=e||new Vn.DefaultApiResponseProcessor}n.prototype.trackEvent=function(n,t){var r=this;var i=this.requestFactory.trackEvent(n,t);var o=(0,F.from)(i);var u=function(n){o=o.pipe((0,e.mergeMap)((function(t){return n.pre(t)})))};for(var a=0,f=this.configuration.middleware;a<f.length;a++){var c=f[a];u(c)}return o.pipe((0,e.mergeMap)((function(n){return r.configuration.httpApi.send(n)}))).pipe((0,e.mergeMap)((function(n){var t=(0,F.of)(n);var i=function(n){t=t.pipe((0,e.mergeMap)((function(t){return n.post(t)})))};for(var o=0,u=r.configuration.middleware;o<u.length;o++){var a=u[o];i(a)}return t.pipe((0,e.map)((function(n){return r.responseProcessor.trackEvent(n)})))})))};return n}();t.ObservableDefaultApi=r}));var zn=t((function(n,t){Object.defineProperty(t,"__esModule",{value:true});t.PromiseDefaultApi=void 0;var e=function(){function n(n,t,e){this.api=new qn.ObservableDefaultApi(n,t,e)}n.prototype.trackEvent=function(n,t){var e=this.api.trackEvent(n,t);return e.toPromise()};return n}();t.PromiseDefaultApi=e}));var Gn=t((function(t,e){var r=n&&n.__createBinding||(Object.create?function(n,t,e,r){if(r===undefined)r=e;var i=Object.getOwnPropertyDescriptor(t,e);if(!i||("get"in i?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){return t[e]}}}Object.defineProperty(n,r,i)}:function(n,t,e,r){if(r===undefined)r=e;n[r]=t[e]});var i=n&&n.__exportStar||function(n,t){for(var e in n)if(e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e))r(t,n,e)};Object.defineProperty(e,"__esModule",{value:true});e.DefaultApi=e.createConfiguration=void 0;i(ln,e);i(dn,e);i(Rn,e);Object.defineProperty(e,"createConfiguration",{enumerable:true,get:function(){return xn.createConfiguration}});i(Dn,e);i(In,e);Object.defineProperty(e,"DefaultApi",{enumerable:true,get:function(){return zn.PromiseDefaultApi}})}));const Hn="stage";const Ln=n=>Jn(n)?Gn.servers[0]:Gn.servers[1];const Jn=n=>!n.includes(Hn);const $n=n=>{const t={getToken:()=>new Promise((t=>t(n)))};const e={tokenProvider:t};return{bearerAuth:e}};const Kn=(n,t)=>{const e=Ln(n);const r=$n(t);const i={baseServer:e,authMethods:r};return new Gn.DefaultApi(Gn.createConfiguration(i))};const Xn=n=>t=>Object.assign(Object.assign({},t),n);const Zn="product_click_event";const Qn="product_view_event";const Yn="filter_event";const nt="search_event";const tt="widget_event";const et={widget:"VPS",typ:Yn};const rt={widget:"VPR",typ:Qn};const it={widget:"VPS",typ:Qn};const ot={widget:"VPR",typ:Zn};const ut={widget:"VPS",typ:Zn};const at={widget:"VPS",typ:nt};const ft={widget:"VPR",typ:tt};const ct={widget:"VPS",typ:tt};const st=Xn(rt);const vt=Xn(it);const lt=Xn(ot);const dt=Xn(ut);const ht=Xn(ft);const pt=Xn(ct);const mt=Xn(at);const bt=Xn(et);export{lt as a,Kn as b,st as c,ht as d,vt as e,dt as f,mt as g,bt as h,pt as i,s as v};
2
+ //# sourceMappingURL=p-2f7bf983.js.map