@realsee/dnalogel 3.78.1-alpha.0 → 3.79.0-alpha.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 (61) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +10 -8
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
  4. package/dist/index.cjs.js +96 -101
  5. package/dist/index.js +14483 -16495
  6. package/dist/index.umd.js +89 -94
  7. package/libs/CruisePlugin/Move.js +14 -27
  8. package/libs/CruisePlugin/Work.js +61 -74
  9. package/libs/CruisePlugin/index.js +18 -31
  10. package/libs/GuideLinePlugin/Controller.js +18 -31
  11. package/libs/GuideLinePlugin/GuideLineItem.js +16 -29
  12. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
  13. package/libs/GuideLinePlugin/GuideLineModeItem.js +16 -27
  14. package/libs/GuideLinePlugin/index.js +18 -31
  15. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +1 -1
  16. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +87 -77
  17. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +189 -135
  18. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +460 -432
  19. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +38 -126
  20. package/libs/PanoTagPlugin/Components/Tag/index.js +292 -393
  21. package/libs/PanoTagPlugin/Components/TagContainer.js +125 -135
  22. package/libs/PanoTagPlugin/Components/TagItem.js +275 -281
  23. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +61 -74
  24. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +95 -108
  25. package/libs/PanoTagPlugin/controller/index.js +41 -54
  26. package/libs/PanoTagPlugin/index.js +23 -36
  27. package/libs/PanoTagPlugin/tag.config.js +31 -1
  28. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +10 -8
  29. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
  30. package/libs/base/BasePlugin.js +1 -1
  31. package/libs/index.js +169 -182
  32. package/libs/shared-utils/logger.js +1 -1
  33. package/libs/shared-utils/url/replace-static-prefix.js +12 -7
  34. package/libs/vendor/svelte/internal/index.js +235 -225
  35. package/package.json +2 -2
  36. package/dist/PanoTagPlugin/Components/Common/Arrow.svelte.d.ts +0 -1
  37. package/dist/PanoTagPlugin/Components/Common/Line/Polyline.svelte.d.ts +0 -1
  38. package/dist/PanoTagPlugin/Components/Common/Line/Straight.svelte.d.ts +0 -1
  39. package/dist/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
  40. package/dist/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
  41. package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
  42. package/dist/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
  43. package/dist/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
  44. package/dist/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
  45. package/dist/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
  46. package/dist/PanoTagPlugin/utils/constants.d.ts +0 -3
  47. package/dist/PanoTagPlugin/utils/doUtil.d.ts +0 -1
  48. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -198
  49. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
  50. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -258
  51. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
  52. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -358
  53. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
  54. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +0 -259
  55. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
  56. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -216
  57. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
  58. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -219
  59. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
  60. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -134
  61. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
@@ -1,111 +1,111 @@
1
- import { SvelteComponent as lt, init as it, safe_not_equal as at, append_styles as ot, create_slot as Ce, element as b, space as U, attr as f, insert as P, append as q, transition_out as z, check_outros as fe, transition_in as j, update_slot_base as Ue, get_all_dirty_from_scope as Ve, get_slot_changes as Me, detach as I, onDestroy as rt, text as V, set_data as A, destroy_each as je, create_component as ae, mount_component as oe, destroy_component as re, group_outros as ue, src_url_equal as W, set_style as G, noop as ze } from "../../../../vendor/svelte/internal/index.js";
2
- import Re from "../VideoIcon.js";
3
- import nt from "./PanoramaIcon.js";
4
- import { isYouTube as Ae, getYouTubeId as st, isVimeo as Se, getVimeoId as pt, formatVideo as ft } from "../../../utils/videoHelper.js";
5
- import ut from "../AudioPlayer.js";
1
+ import { SvelteComponent as rt, init as nt, safe_not_equal as st, append_styles as ct, create_slot as Ve, element as b, space as C, attr as p, insert as I, append as v, transition_out as z, check_outros as fe, transition_in as j, update_slot_base as Se, get_all_dirty_from_scope as je, get_slot_changes as ze, detach as M, afterUpdate as pt, onDestroy as ft, text as V, set_data as A, destroy_each as Ae, listen as vt, create_component as re, mount_component as ne, destroy_component as se, group_outros as ve, binding_callbacks as ut, src_url_equal as R, set_style as Z, noop as Fe } from "../../../../vendor/svelte/internal/index.js";
2
+ import et from "../VideoIcon.js";
3
+ import dt from "./PanoramaIcon.js";
4
+ import { isYouTube as Ee, getYouTubeId as mt, isVimeo as qe, getVimeoId as ht, formatVideo as gt } from "../../../utils/videoHelper.js";
5
+ import kt from "../AudioPlayer.js";
6
6
  import "../Icon/audioIcon.js";
7
7
  import "../../../utils/px2rem.js";
8
8
  import "../Shadow.js";
9
9
  import "../../../../vendor/svelte/transition/index.js";
10
10
  import "../../../../vendor/svelte/easing/index.js";
11
- function qt(l) {
12
- ot(l, "svelte-817q8q", '@charset "UTF-8";.tag-popup.svelte-817q8q.svelte-817q8q.svelte-817q8q{position:absolute;pointer-events:auto;padding:0.625rem 0.625rem 0.625rem 1.125rem;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;transform-origin:center}.tag-popup-top.svelte-817q8q.svelte-817q8q.svelte-817q8q{transform:translate(-50%, -100%);left:50%}.tag-popup-bottom.svelte-817q8q.svelte-817q8q.svelte-817q8q{transform:translate(-50%, 0);left:50%}.tag-popup-left.svelte-817q8q.svelte-817q8q.svelte-817q8q{transform:translate(-100%, -50%);top:50%}.tag-popup-right.svelte-817q8q.svelte-817q8q.svelte-817q8q{transform:translate(0, -50%);top:50%}.tag-popup-top-left.svelte-817q8q.svelte-817q8q.svelte-817q8q{transform:translate(calc(2.625rem - 100%), -100%)}.tag-popup-top-right.svelte-817q8q.svelte-817q8q.svelte-817q8q{transform:translate(-2.625rem, -100%)}.tag-popup-bottom-left.svelte-817q8q.svelte-817q8q.svelte-817q8q{transform:translate(calc(2.625rem - 100%), 0)}.tag-popup-bottom-right.svelte-817q8q.svelte-817q8q.svelte-817q8q{transform:translate(-2.625rem, 0)}.tag-popup-left-top.svelte-817q8q.svelte-817q8q.svelte-817q8q{transform:translate(-100%, -2.625rem)}.tag-popup-left-bottom.svelte-817q8q.svelte-817q8q.svelte-817q8q{transform:translate(-100%, calc(2.625rem - 100%))}.tag-popup-right-top.svelte-817q8q.svelte-817q8q.svelte-817q8q{transform:translate(0, -2.625rem)}.tag-popup-right-bottom.svelte-817q8q.svelte-817q8q.svelte-817q8q{transform:translate(0, calc(2.625rem - 100%))}.tag-popup-content.svelte-817q8q.svelte-817q8q.svelte-817q8q{position:relative;pointer-events:auto;cursor:pointer;padding:1.25rem;border-radius:0.375rem;max-width:17.5rem;width:17.5rem;background:rgba(0, 0, 0, 0.7490196078)}.tag-popup-top.svelte-817q8q .tag-popup-content.svelte-817q8q.svelte-817q8q,.tag-popup-top-left.svelte-817q8q .tag-popup-content.svelte-817q8q.svelte-817q8q,.tag-popup-top-right.svelte-817q8q .tag-popup-content.svelte-817q8q.svelte-817q8q{box-shadow:0.03125rem 0 0 0 rgba(255, 255, 255, 0.3), -0.03125rem 0 0 0 rgba(255, 255, 255, 0.3)}.tag-popup-bottom.svelte-817q8q .tag-popup-content.svelte-817q8q.svelte-817q8q,.tag-popup-bottom-left.svelte-817q8q .tag-popup-content.svelte-817q8q.svelte-817q8q,.tag-popup-bottom-right.svelte-817q8q .tag-popup-content.svelte-817q8q.svelte-817q8q{box-shadow:0.03125rem 0 0 0 rgba(255, 255, 255, 0.3), -0.03125rem 0 0 0 rgba(255, 255, 255, 0.3)}.tag-popup-left.svelte-817q8q .tag-popup-content.svelte-817q8q.svelte-817q8q,.tag-popup-left-top.svelte-817q8q .tag-popup-content.svelte-817q8q.svelte-817q8q,.tag-popup-left-bottom.svelte-817q8q .tag-popup-content.svelte-817q8q.svelte-817q8q{box-shadow:0 0.03125rem 0 0 rgba(255, 255, 255, 0.3), 0 -0.03125rem 0 0 rgba(255, 255, 255, 0.3)}.tag-popup-right.svelte-817q8q .tag-popup-content.svelte-817q8q.svelte-817q8q,.tag-popup-right-top.svelte-817q8q .tag-popup-content.svelte-817q8q.svelte-817q8q,.tag-popup-right-bottom.svelte-817q8q .tag-popup-content.svelte-817q8q.svelte-817q8q{box-shadow:0 0.03125rem 0 0 rgba(255, 255, 255, 0.3), 0 -0.03125rem 0 0 rgba(255, 255, 255, 0.3)}.light.svelte-817q8q.svelte-817q8q.svelte-817q8q{background:#ffffff}.tag-popup-title.svelte-817q8q.svelte-817q8q.svelte-817q8q{margin:0;font-size:1rem;font-weight:600;line-height:1.375rem;letter-spacing:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;color:#ffffff}.light.svelte-817q8q .tag-popup-title.svelte-817q8q.svelte-817q8q{color:rgba(0, 0, 0, 0.8509803922)}.tag-popup-description.svelte-817q8q.svelte-817q8q.svelte-817q8q{margin:0;font-size:0.875rem;font-weight:400;color:#ffffff;line-height:1.25rem;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;max-height:5rem;overflow:hidden;word-wrap:break-word;word-break:break-word;text-overflow:ellipsis;white-space:pre-wrap}.light.svelte-817q8q .tag-popup-description.svelte-817q8q.svelte-817q8q{color:rgba(0, 0, 0, 0.8509803922)}.tag-popup-tags.svelte-817q8q.svelte-817q8q.svelte-817q8q{display:flex;align-items:center;margin:0;margin-bottom:0}.tag-popup-tags.svelte-817q8q .tag-popup-tag.svelte-817q8q+.tag-popup-tag.svelte-817q8q{margin-left:0.25rem}.tag-popup-tag.svelte-817q8q.svelte-817q8q.svelte-817q8q{padding:0.125rem 0.25rem;display:flex;align-items:center;justify-content:center;border-radius:0.25rem;font-size:0.75rem;line-height:1.125rem;letter-spacing:0;border-radius:0.125rem;max-width:7.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tag-popup-tag-primary.svelte-817q8q.svelte-817q8q.svelte-817q8q{color:#ffffff;background-image:linear-gradient(90deg, #ead09a 0%, #e0cca3 100%)}.light.svelte-817q8q .tag-popup-tag-primary.svelte-817q8q.svelte-817q8q{color:#946700;background-image:linear-gradient(90deg, #ead09a 0%, #e0cca3 100%)}.tag-popup-tag-secondary.svelte-817q8q.svelte-817q8q.svelte-817q8q{color:#ffffff;background:rgba(255, 255, 255, 0.1490196078)}.light.svelte-817q8q .tag-popup-tag-secondary.svelte-817q8q.svelte-817q8q{color:rgba(0, 0, 0, 0.5019607843);background:rgba(0, 0, 0, 0.0588235294)}.tag-popup-price.svelte-817q8q.svelte-817q8q.svelte-817q8q{font-family:DINAlternate-Bold;font-weight:700;font-size:1.25rem;color:#ae7900;letter-spacing:0;text-align:center;display:flex;justify-content:flex-start;align-items:center;width:100%;margin:0}.tag-popup-media.svelte-817q8q.svelte-817q8q.svelte-817q8q{width:15rem;height:10rem;margin:0 auto;overflow:hidden;border-radius:0.25rem;display:flex;align-items:center;justify-content:center;position:relative}.tag-popup-media.svelte-817q8q img.svelte-817q8q.svelte-817q8q{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.tag-popup-media-type.svelte-817q8q.svelte-817q8q.svelte-817q8q{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.tag-popup-media-index.svelte-817q8q.svelte-817q8q.svelte-817q8q{position:absolute;right:0.375rem;bottom:0.375rem;padding:0.0625rem 0.25rem;background:rgba(0, 0, 0, 0.5);border-radius:0.125rem;font-weight:bold;font-size:0.75rem;color:#ffffff;letter-spacing:0;line-height:1.125rem}.iframe-overlay.svelte-817q8q.svelte-817q8q.svelte-817q8q{position:absolute;top:0;left:0;width:100%;height:100%;background:transparent;z-index:10}.tag-popup-content.svelte-817q8q>.svelte-817q8q+.svelte-817q8q{margin-top:0.5rem}.tag-popup-content.svelte-817q8q>.svelte-817q8q.svelte-817q8q:first-child{margin-top:0 !important}');
13
- }
14
- const dt = (l) => ({}), Fe = (l) => ({}), mt = (l) => ({}), Be = (l) => ({});
15
- function Le(l, t, e) {
16
- const a = l.slice();
17
- return a[2] = t[e], a;
11
+ function _t(l) {
12
+ ct(l, "svelte-14hkclv", '@charset "UTF-8";.tag-popup.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{position:absolute;pointer-events:auto;padding:0.625rem 0.625rem 0.625rem 1.125rem;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;transform-origin:center}.tag-popup-top.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{transform:translate(-50%, -100%);left:50%}.tag-popup-bottom.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{transform:translate(-50%, 0);left:50%}.tag-popup-left.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{transform:translate(-100%, -50%);top:50%}.tag-popup-right.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{transform:translate(0, -50%);top:50%}.tag-popup-top-left.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{transform:translate(calc(2.625rem - 100%), -100%)}.tag-popup-top-right.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{transform:translate(-2.625rem, -100%)}.tag-popup-bottom-left.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{transform:translate(calc(2.625rem - 100%), 0)}.tag-popup-bottom-right.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{transform:translate(-2.625rem, 0)}.tag-popup-left-top.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{transform:translate(-100%, -2.625rem)}.tag-popup-left-bottom.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{transform:translate(-100%, calc(2.625rem - 100%))}.tag-popup-right-top.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{transform:translate(0, -2.625rem)}.tag-popup-right-bottom.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{transform:translate(0, calc(2.625rem - 100%))}.tag-popup-content.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{position:relative;pointer-events:auto;cursor:pointer;padding:1.25rem;border-radius:0.375rem;max-width:17.5rem;width:17.5rem;background:rgba(0, 0, 0, 0.7490196078)}.tag-popup-top.svelte-14hkclv .tag-popup-content.svelte-14hkclv.svelte-14hkclv,.tag-popup-top-left.svelte-14hkclv .tag-popup-content.svelte-14hkclv.svelte-14hkclv,.tag-popup-top-right.svelte-14hkclv .tag-popup-content.svelte-14hkclv.svelte-14hkclv{box-shadow:0.03125rem 0 0 0 rgba(255, 255, 255, 0.3), -0.03125rem 0 0 0 rgba(255, 255, 255, 0.3)}.tag-popup-bottom.svelte-14hkclv .tag-popup-content.svelte-14hkclv.svelte-14hkclv,.tag-popup-bottom-left.svelte-14hkclv .tag-popup-content.svelte-14hkclv.svelte-14hkclv,.tag-popup-bottom-right.svelte-14hkclv .tag-popup-content.svelte-14hkclv.svelte-14hkclv{box-shadow:0.03125rem 0 0 0 rgba(255, 255, 255, 0.3), -0.03125rem 0 0 0 rgba(255, 255, 255, 0.3)}.tag-popup-left.svelte-14hkclv .tag-popup-content.svelte-14hkclv.svelte-14hkclv,.tag-popup-left-top.svelte-14hkclv .tag-popup-content.svelte-14hkclv.svelte-14hkclv,.tag-popup-left-bottom.svelte-14hkclv .tag-popup-content.svelte-14hkclv.svelte-14hkclv{box-shadow:0 0.03125rem 0 0 rgba(255, 255, 255, 0.3), 0 -0.03125rem 0 0 rgba(255, 255, 255, 0.3)}.tag-popup-right.svelte-14hkclv .tag-popup-content.svelte-14hkclv.svelte-14hkclv,.tag-popup-right-top.svelte-14hkclv .tag-popup-content.svelte-14hkclv.svelte-14hkclv,.tag-popup-right-bottom.svelte-14hkclv .tag-popup-content.svelte-14hkclv.svelte-14hkclv{box-shadow:0 0.03125rem 0 0 rgba(255, 255, 255, 0.3), 0 -0.03125rem 0 0 rgba(255, 255, 255, 0.3)}.light.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{background:#ffffff}.tag-popup-title.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{margin:0;font-size:1rem;font-weight:600;line-height:1.375rem;letter-spacing:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;color:#ffffff}.light.svelte-14hkclv .tag-popup-title.svelte-14hkclv.svelte-14hkclv{color:rgba(0, 0, 0, 0.8509803922)}.tag-popup-description.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{margin:0;font-size:0.875rem;font-weight:400;color:#ffffff;line-height:1.25rem;max-height:15.375rem;overflow-y:auto;scrollbar-width:none;word-wrap:break-word;word-break:break-word;white-space:pre-wrap}.tag-popup-description.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv::-webkit-scrollbar{display:none}@media(min-width: 768px){.tag-popup-description.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{max-height:20.875rem}}.light.svelte-14hkclv .tag-popup-description.svelte-14hkclv.svelte-14hkclv{color:rgba(0, 0, 0, 0.8509803922)}.tag-popup-tags.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{display:flex;align-items:center;margin:0;margin-bottom:0}.tag-popup-tags.svelte-14hkclv .tag-popup-tag.svelte-14hkclv+.tag-popup-tag.svelte-14hkclv{margin-left:0.25rem}.tag-popup-tag.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{padding:0.125rem 0.25rem;display:flex;align-items:center;justify-content:center;border-radius:0.25rem;font-size:0.75rem;line-height:1.125rem;letter-spacing:0;border-radius:0.125rem;max-width:7.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tag-popup-tag-primary.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{color:#ffffff;background-image:linear-gradient(90deg, #ead09a 0%, #e0cca3 100%)}.light.svelte-14hkclv .tag-popup-tag-primary.svelte-14hkclv.svelte-14hkclv{color:#946700;background-image:linear-gradient(90deg, #ead09a 0%, #e0cca3 100%)}.tag-popup-tag-secondary.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{color:#ffffff;background:rgba(255, 255, 255, 0.1490196078)}.light.svelte-14hkclv .tag-popup-tag-secondary.svelte-14hkclv.svelte-14hkclv{color:rgba(0, 0, 0, 0.5019607843);background:rgba(0, 0, 0, 0.0588235294)}.tag-popup-price.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{font-family:DINAlternate-Bold;font-weight:700;font-size:1.25rem;color:#ae7900;letter-spacing:0;text-align:center;display:flex;justify-content:flex-start;align-items:center;width:100%;margin:0}.tag-popup-media.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{width:15rem;height:10rem;margin:0 auto;overflow:hidden;border-radius:0.25rem;display:flex;align-items:center;justify-content:center;position:relative}.tag-popup-media.svelte-14hkclv img.svelte-14hkclv.svelte-14hkclv{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.tag-popup-media-type.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.tag-popup-media-index.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{position:absolute;right:0.375rem;bottom:0.375rem;padding:0.0625rem 0.25rem;background:rgba(0, 0, 0, 0.5);border-radius:0.125rem;font-weight:bold;font-size:0.75rem;color:#ffffff;letter-spacing:0;line-height:1.125rem}.iframe-overlay.svelte-14hkclv.svelte-14hkclv.svelte-14hkclv{position:absolute;top:0;left:0;width:100%;height:100%;background:transparent;z-index:10}.tag-popup-content.svelte-14hkclv>.svelte-14hkclv+.svelte-14hkclv{margin-top:0.5rem}.tag-popup-content.svelte-14hkclv>.svelte-14hkclv.svelte-14hkclv:first-child{margin-top:0 !important}');
18
13
  }
14
+ const bt = (l) => ({}), Be = (l) => ({}), yt = (l) => ({}), Le = (l) => ({});
19
15
  function Ye(l, t, e) {
20
- const a = l.slice();
21
- return a[2] = t[e], a;
16
+ const o = l.slice();
17
+ return o[2] = t[e], o;
22
18
  }
23
- function Ee(l) {
19
+ function He(l, t, e) {
20
+ const o = l.slice();
21
+ return o[2] = t[e], o;
22
+ }
23
+ function Ne(l) {
24
24
  let t, e;
25
25
  return {
26
26
  c() {
27
27
  t = b("h3"), e = V(
28
28
  /*finalTitle*/
29
29
  l[5]
30
- ), f(t, "class", "tag-popup-title svelte-817q8q");
30
+ ), p(t, "class", "tag-popup-title svelte-14hkclv");
31
31
  },
32
- m(a, i) {
33
- P(a, t, i), q(t, e);
32
+ m(o, i) {
33
+ I(o, t, i), v(t, e);
34
34
  },
35
- p(a, i) {
35
+ p(o, i) {
36
36
  i[0] & /*finalTitle*/
37
37
  32 && A(
38
38
  e,
39
39
  /*finalTitle*/
40
- a[5]
40
+ o[5]
41
41
  );
42
42
  },
43
- d(a) {
44
- a && I(t);
43
+ d(o) {
44
+ o && M(t);
45
45
  }
46
46
  };
47
47
  }
48
- function Ne(l) {
49
- let t, e, a = (
48
+ function Ze(l) {
49
+ let t, e, o = (
50
50
  /*primaryTags*/
51
51
  l[4]
52
52
  ), i = [];
53
- for (let n = 0; n < a.length; n += 1)
54
- i[n] = Ge(Ye(l, a, n));
55
- let o = (
53
+ for (let n = 0; n < o.length; n += 1)
54
+ i[n] = Ge(He(l, o, n));
55
+ let a = (
56
56
  /*secondaryTags*/
57
- l[13]
57
+ l[14]
58
58
  ), r = [];
59
- for (let n = 0; n < o.length; n += 1)
60
- r[n] = He(Le(l, o, n));
59
+ for (let n = 0; n < a.length; n += 1)
60
+ r[n] = Je(Ye(l, a, n));
61
61
  return {
62
62
  c() {
63
63
  t = b("div");
64
64
  for (let n = 0; n < i.length; n += 1)
65
65
  i[n].c();
66
- e = U();
66
+ e = C();
67
67
  for (let n = 0; n < r.length; n += 1)
68
68
  r[n].c();
69
- f(t, "class", "tag-popup-tags svelte-817q8q");
69
+ p(t, "class", "tag-popup-tags svelte-14hkclv");
70
70
  },
71
71
  m(n, d) {
72
- P(n, t, d);
72
+ I(n, t, d);
73
73
  for (let s = 0; s < i.length; s += 1)
74
74
  i[s] && i[s].m(t, null);
75
- q(t, e);
75
+ v(t, e);
76
76
  for (let s = 0; s < r.length; s += 1)
77
77
  r[s] && r[s].m(t, null);
78
78
  },
79
79
  p(n, d) {
80
80
  if (d[0] & /*primaryTags*/
81
81
  16) {
82
- a = /*primaryTags*/
82
+ o = /*primaryTags*/
83
83
  n[4];
84
84
  let s;
85
- for (s = 0; s < a.length; s += 1) {
86
- const c = Ye(n, a, s);
87
- i[s] ? i[s].p(c, d) : (i[s] = Ge(c), i[s].c(), i[s].m(t, e));
85
+ for (s = 0; s < o.length; s += 1) {
86
+ const h = He(n, o, s);
87
+ i[s] ? i[s].p(h, d) : (i[s] = Ge(h), i[s].c(), i[s].m(t, e));
88
88
  }
89
89
  for (; s < i.length; s += 1)
90
90
  i[s].d(1);
91
- i.length = a.length;
91
+ i.length = o.length;
92
92
  }
93
93
  if (d[0] & /*secondaryTags*/
94
- 8192) {
95
- o = /*secondaryTags*/
96
- n[13];
94
+ 16384) {
95
+ a = /*secondaryTags*/
96
+ n[14];
97
97
  let s;
98
- for (s = 0; s < o.length; s += 1) {
99
- const c = Le(n, o, s);
100
- r[s] ? r[s].p(c, d) : (r[s] = He(c), r[s].c(), r[s].m(t, null));
98
+ for (s = 0; s < a.length; s += 1) {
99
+ const h = Ye(n, a, s);
100
+ r[s] ? r[s].p(h, d) : (r[s] = Je(h), r[s].c(), r[s].m(t, null));
101
101
  }
102
102
  for (; s < r.length; s += 1)
103
103
  r[s].d(1);
104
- r.length = o.length;
104
+ r.length = a.length;
105
105
  }
106
106
  },
107
107
  d(n) {
108
- n && I(t), je(i, n), je(r, n);
108
+ n && M(t), Ae(i, n), Ae(r, n);
109
109
  }
110
110
  };
111
111
  }
@@ -113,115 +113,115 @@ function Ge(l) {
113
113
  let t, e = (
114
114
  /*tag*/
115
115
  l[2] + ""
116
- ), a;
116
+ ), o;
117
117
  return {
118
118
  c() {
119
- t = b("div"), a = V(e), f(t, "class", "tag-popup-tag tag-popup-tag-primary svelte-817q8q");
119
+ t = b("div"), o = V(e), p(t, "class", "tag-popup-tag tag-popup-tag-primary svelte-14hkclv");
120
120
  },
121
- m(i, o) {
122
- P(i, t, o), q(t, a);
121
+ m(i, a) {
122
+ I(i, t, a), v(t, o);
123
123
  },
124
- p(i, o) {
125
- o[0] & /*primaryTags*/
124
+ p(i, a) {
125
+ a[0] & /*primaryTags*/
126
126
  16 && e !== (e = /*tag*/
127
- i[2] + "") && A(a, e);
127
+ i[2] + "") && A(o, e);
128
128
  },
129
129
  d(i) {
130
- i && I(t);
130
+ i && M(t);
131
131
  }
132
132
  };
133
133
  }
134
- function He(l) {
134
+ function Je(l) {
135
135
  let t, e = (
136
136
  /*tag*/
137
137
  l[2] + ""
138
- ), a;
138
+ ), o;
139
139
  return {
140
140
  c() {
141
- t = b("div"), a = V(e), f(t, "class", "tag-popup-tag tag-popup-tag-secondary svelte-817q8q");
141
+ t = b("div"), o = V(e), p(t, "class", "tag-popup-tag tag-popup-tag-secondary svelte-14hkclv");
142
142
  },
143
- m(i, o) {
144
- P(i, t, o), q(t, a);
143
+ m(i, a) {
144
+ I(i, t, a), v(t, o);
145
145
  },
146
- p(i, o) {
147
- o[0] & /*secondaryTags*/
148
- 8192 && e !== (e = /*tag*/
149
- i[2] + "") && A(a, e);
146
+ p(i, a) {
147
+ a[0] & /*secondaryTags*/
148
+ 16384 && e !== (e = /*tag*/
149
+ i[2] + "") && A(o, e);
150
150
  },
151
151
  d(i) {
152
- i && I(t);
152
+ i && M(t);
153
153
  }
154
154
  };
155
155
  }
156
- function ct(l) {
157
- let t, e, a, i, o, r, n, d;
158
- r = new Re({});
156
+ function wt(l) {
157
+ let t, e, o, i, a, r, n, d;
158
+ r = new et({});
159
159
  let s = (
160
160
  /*mediaCount*/
161
- l[15] > 1 && Je(l)
161
+ l[16] > 1 && Ke(l)
162
162
  );
163
163
  return {
164
164
  c() {
165
- t = b("div"), e = b("video"), i = U(), o = b("div"), ae(r.$$.fragment), n = U(), s && s.c(), W(e.src, a = /*tag*/
166
- l[2].data.mediaData[0].url) || f(e, "src", a), f(e, "class", "tag-popup-video-fallback"), e.controls = !1, e.autoplay = !1, e.muted = !0, e.loop = !0, f(e, "preload", "metadata"), f(e, "disablepictureinpicture", ""), e.playsInline = !0, G(e, "width", "100%"), G(e, "height", "100%"), G(e, "object-fit", "cover"), f(o, "class", "tag-popup-media-type svelte-817q8q"), f(t, "class", "tag-popup-media svelte-817q8q");
165
+ t = b("div"), e = b("video"), i = C(), a = b("div"), re(r.$$.fragment), n = C(), s && s.c(), R(e.src, o = /*tag*/
166
+ l[2].data.mediaData[0].url) || p(e, "src", o), p(e, "class", "tag-popup-video-fallback"), e.controls = !1, e.autoplay = !1, e.muted = !0, e.loop = !0, p(e, "preload", "metadata"), p(e, "disablepictureinpicture", ""), e.playsInline = !0, Z(e, "width", "100%"), Z(e, "height", "100%"), Z(e, "object-fit", "cover"), p(a, "class", "tag-popup-media-type svelte-14hkclv"), p(t, "class", "tag-popup-media svelte-14hkclv");
167
167
  },
168
- m(c, g) {
169
- P(c, t, g), q(t, e), q(t, i), q(t, o), oe(r, o, null), q(t, n), s && s.m(t, null), d = !0;
168
+ m(h, g) {
169
+ I(h, t, g), v(t, e), v(t, i), v(t, a), ne(r, a, null), v(t, n), s && s.m(t, null), d = !0;
170
170
  },
171
- p(c, g) {
171
+ p(h, g) {
172
172
  (!d || g[0] & /*tag*/
173
- 4 && !W(e.src, a = /*tag*/
174
- c[2].data.mediaData[0].url)) && f(e, "src", a), /*mediaCount*/
175
- c[15] > 1 ? s ? s.p(c, g) : (s = Je(c), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
173
+ 4 && !R(e.src, o = /*tag*/
174
+ h[2].data.mediaData[0].url)) && p(e, "src", o), /*mediaCount*/
175
+ h[16] > 1 ? s ? s.p(h, g) : (s = Ke(h), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
176
176
  },
177
- i(c) {
178
- d || (j(r.$$.fragment, c), d = !0);
177
+ i(h) {
178
+ d || (j(r.$$.fragment, h), d = !0);
179
179
  },
180
- o(c) {
181
- z(r.$$.fragment, c), d = !1;
180
+ o(h) {
181
+ z(r.$$.fragment, h), d = !1;
182
182
  },
183
- d(c) {
184
- c && I(t), re(r), s && s.d();
183
+ d(h) {
184
+ h && M(t), se(r), s && s.d();
185
185
  }
186
186
  };
187
187
  }
188
- function gt(l) {
189
- let t, e, a, i, o, r, n, d, s;
190
- const c = [ht, _t], g = [];
191
- function F(m, v) {
188
+ function Tt(l) {
189
+ let t, e, o, i, a, r, n, d, s;
190
+ const h = [It, Pt], g = [];
191
+ function E(m, k) {
192
192
  return (
193
193
  /*isVideoMedia*/
194
194
  m[7] ? 0 : (
195
195
  /*isPanoramaMedia*/
196
- m[18] ? 1 : -1
196
+ m[19] ? 1 : -1
197
197
  )
198
198
  );
199
199
  }
200
- ~(r = F(l)) && (n = g[r] = c[r](l));
200
+ ~(r = E(l)) && (n = g[r] = h[r](l));
201
201
  let _ = (
202
202
  /*mediaCount*/
203
- l[15] > 1 && Ke(l)
203
+ l[16] > 1 && Oe(l)
204
204
  );
205
205
  return {
206
206
  c() {
207
- t = b("div"), e = b("img"), o = U(), n && n.c(), d = U(), _ && _.c(), W(e.src, a = /*mediaUrl*/
208
- l[19]) || f(e, "src", a), f(e, "alt", i = /*finalTitle*/
209
- l[5] || ""), f(e, "draggable", "false"), f(e, "class", "svelte-817q8q"), f(t, "class", "tag-popup-media svelte-817q8q");
207
+ t = b("div"), e = b("img"), a = C(), n && n.c(), d = C(), _ && _.c(), R(e.src, o = /*mediaUrl*/
208
+ l[20]) || p(e, "src", o), p(e, "alt", i = /*finalTitle*/
209
+ l[5] || ""), p(e, "draggable", "false"), p(e, "class", "svelte-14hkclv"), p(t, "class", "tag-popup-media svelte-14hkclv");
210
210
  },
211
- m(m, v) {
212
- P(m, t, v), q(t, e), q(t, o), ~r && g[r].m(t, null), q(t, d), _ && _.m(t, null), s = !0;
211
+ m(m, k) {
212
+ I(m, t, k), v(t, e), v(t, a), ~r && g[r].m(t, null), v(t, d), _ && _.m(t, null), s = !0;
213
213
  },
214
- p(m, v) {
215
- (!s || v[0] & /*mediaUrl*/
216
- 524288 && !W(e.src, a = /*mediaUrl*/
217
- m[19])) && f(e, "src", a), (!s || v[0] & /*finalTitle*/
214
+ p(m, k) {
215
+ (!s || k[0] & /*mediaUrl*/
216
+ 1048576 && !R(e.src, o = /*mediaUrl*/
217
+ m[20])) && p(e, "src", o), (!s || k[0] & /*finalTitle*/
218
218
  32 && i !== (i = /*finalTitle*/
219
- m[5] || "")) && f(e, "alt", i);
219
+ m[5] || "")) && p(e, "alt", i);
220
220
  let y = r;
221
- r = F(m), r !== y && (n && (ue(), z(g[y], 1, 1, () => {
221
+ r = E(m), r !== y && (n && (ve(), z(g[y], 1, 1, () => {
222
222
  g[y] = null;
223
- }), fe()), ~r ? (n = g[r], n || (n = g[r] = c[r](m), n.c()), j(n, 1), n.m(t, d)) : n = null), /*mediaCount*/
224
- m[15] > 1 ? _ ? _.p(m, v) : (_ = Ke(m), _.c(), _.m(t, null)) : _ && (_.d(1), _ = null);
223
+ }), fe()), ~r ? (n = g[r], n || (n = g[r] = h[r](m), n.c()), j(n, 1), n.m(t, d)) : n = null), /*mediaCount*/
224
+ m[16] > 1 ? _ ? _.p(m, k) : (_ = Oe(m), _.c(), _.m(t, null)) : _ && (_.d(1), _ = null);
225
225
  },
226
226
  i(m) {
227
227
  s || (j(n), s = !0);
@@ -230,214 +230,219 @@ function gt(l) {
230
230
  z(n), s = !1;
231
231
  },
232
232
  d(m) {
233
- m && I(t), ~r && g[r].d(), _ && _.d();
233
+ m && M(t), ~r && g[r].d(), _ && _.d();
234
234
  }
235
235
  };
236
236
  }
237
- function vt(l) {
238
- let t, e, a, i, o, r, n = (
237
+ function Dt(l) {
238
+ let t, e, o, i, a, r, n = (
239
239
  /*mediaCount*/
240
- l[15] > 1 && Oe(l)
240
+ l[16] > 1 && Qe(l)
241
241
  );
242
242
  return {
243
243
  c() {
244
- t = b("div"), e = b("iframe"), i = U(), o = b("div"), r = U(), n && n.c(), f(
244
+ t = b("div"), e = b("iframe"), i = C(), a = b("div"), r = C(), n && n.c(), p(
245
245
  e,
246
246
  "title",
247
247
  /*videoPlayerTitle*/
248
- l[16]
249
- ), W(e.src, a = /*formattedVideoUrl*/
250
- l[17]) || f(e, "src", a), f(e, "class", "tag-popup-video-iframe"), f(e, "frameborder", "0"), f(e, "allow", "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"), f(e, "referrerpolicy", "strict-origin-when-cross-origin"), e.allowFullscreen = !0, G(e, "width", "100%"), G(e, "height", "100%"), G(e, "position", "absolute"), G(e, "top", "0"), G(e, "left", "0"), f(o, "class", "iframe-overlay svelte-817q8q"), f(t, "class", "tag-popup-media svelte-817q8q");
248
+ l[17]
249
+ ), R(e.src, o = /*formattedVideoUrl*/
250
+ l[18]) || p(e, "src", o), p(e, "class", "tag-popup-video-iframe"), p(e, "frameborder", "0"), p(e, "allow", "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"), p(e, "referrerpolicy", "strict-origin-when-cross-origin"), e.allowFullscreen = !0, Z(e, "width", "100%"), Z(e, "height", "100%"), Z(e, "position", "absolute"), Z(e, "top", "0"), Z(e, "left", "0"), p(a, "class", "iframe-overlay svelte-14hkclv"), p(t, "class", "tag-popup-media svelte-14hkclv");
251
251
  },
252
252
  m(d, s) {
253
- P(d, t, s), q(t, e), q(t, i), q(t, o), q(t, r), n && n.m(t, null);
253
+ I(d, t, s), v(t, e), v(t, i), v(t, a), v(t, r), n && n.m(t, null);
254
254
  },
255
255
  p(d, s) {
256
256
  s[0] & /*videoPlayerTitle*/
257
- 65536 && f(
257
+ 131072 && p(
258
258
  e,
259
259
  "title",
260
260
  /*videoPlayerTitle*/
261
- d[16]
261
+ d[17]
262
262
  ), s[0] & /*formattedVideoUrl*/
263
- 131072 && !W(e.src, a = /*formattedVideoUrl*/
264
- d[17]) && f(e, "src", a), /*mediaCount*/
265
- d[15] > 1 ? n ? n.p(d, s) : (n = Oe(d), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
263
+ 262144 && !R(e.src, o = /*formattedVideoUrl*/
264
+ d[18]) && p(e, "src", o), /*mediaCount*/
265
+ d[16] > 1 ? n ? n.p(d, s) : (n = Qe(d), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
266
266
  },
267
- i: ze,
268
- o: ze,
267
+ i: Fe,
268
+ o: Fe,
269
269
  d(d) {
270
- d && I(t), n && n.d();
270
+ d && M(t), n && n.d();
271
271
  }
272
272
  };
273
273
  }
274
- function Je(l) {
275
- let t, e, a, i;
274
+ function Ke(l) {
275
+ let t, e, o, i;
276
276
  return {
277
277
  c() {
278
278
  t = b("div"), e = V(
279
279
  /*currentMediaIndex*/
280
- l[14]
281
- ), a = V("/"), i = V(
282
- /*mediaCount*/
283
280
  l[15]
284
- ), f(t, "class", "tag-popup-media-index svelte-817q8q");
281
+ ), o = V("/"), i = V(
282
+ /*mediaCount*/
283
+ l[16]
284
+ ), p(t, "class", "tag-popup-media-index svelte-14hkclv");
285
285
  },
286
- m(o, r) {
287
- P(o, t, r), q(t, e), q(t, a), q(t, i);
286
+ m(a, r) {
287
+ I(a, t, r), v(t, e), v(t, o), v(t, i);
288
288
  },
289
- p(o, r) {
289
+ p(a, r) {
290
290
  r[0] & /*currentMediaIndex*/
291
- 16384 && A(
291
+ 32768 && A(
292
292
  e,
293
293
  /*currentMediaIndex*/
294
- o[14]
294
+ a[15]
295
295
  ), r[0] & /*mediaCount*/
296
- 32768 && A(
296
+ 65536 && A(
297
297
  i,
298
298
  /*mediaCount*/
299
- o[15]
299
+ a[16]
300
300
  );
301
301
  },
302
- d(o) {
303
- o && I(t);
302
+ d(a) {
303
+ a && M(t);
304
304
  }
305
305
  };
306
306
  }
307
- function _t(l) {
308
- let t, e, a;
309
- return e = new nt({}), {
307
+ function Pt(l) {
308
+ let t, e, o;
309
+ return e = new dt({}), {
310
310
  c() {
311
- t = b("div"), ae(e.$$.fragment), f(t, "class", "tag-popup-media-type svelte-817q8q");
311
+ t = b("div"), re(e.$$.fragment), p(t, "class", "tag-popup-media-type svelte-14hkclv");
312
312
  },
313
- m(i, o) {
314
- P(i, t, o), oe(e, t, null), a = !0;
313
+ m(i, a) {
314
+ I(i, t, a), ne(e, t, null), o = !0;
315
315
  },
316
316
  i(i) {
317
- a || (j(e.$$.fragment, i), a = !0);
317
+ o || (j(e.$$.fragment, i), o = !0);
318
318
  },
319
319
  o(i) {
320
- z(e.$$.fragment, i), a = !1;
320
+ z(e.$$.fragment, i), o = !1;
321
321
  },
322
322
  d(i) {
323
- i && I(t), re(e);
323
+ i && M(t), se(e);
324
324
  }
325
325
  };
326
326
  }
327
- function ht(l) {
328
- let t, e, a;
329
- return e = new Re({}), {
327
+ function It(l) {
328
+ let t, e, o;
329
+ return e = new et({}), {
330
330
  c() {
331
- t = b("div"), ae(e.$$.fragment), f(t, "class", "tag-popup-media-type svelte-817q8q");
331
+ t = b("div"), re(e.$$.fragment), p(t, "class", "tag-popup-media-type svelte-14hkclv");
332
332
  },
333
- m(i, o) {
334
- P(i, t, o), oe(e, t, null), a = !0;
333
+ m(i, a) {
334
+ I(i, t, a), ne(e, t, null), o = !0;
335
335
  },
336
336
  i(i) {
337
- a || (j(e.$$.fragment, i), a = !0);
337
+ o || (j(e.$$.fragment, i), o = !0);
338
338
  },
339
339
  o(i) {
340
- z(e.$$.fragment, i), a = !1;
340
+ z(e.$$.fragment, i), o = !1;
341
341
  },
342
342
  d(i) {
343
- i && I(t), re(e);
343
+ i && M(t), se(e);
344
344
  }
345
345
  };
346
346
  }
347
- function Ke(l) {
348
- let t, e, a, i;
347
+ function Oe(l) {
348
+ let t, e, o, i;
349
349
  return {
350
350
  c() {
351
351
  t = b("div"), e = V(
352
352
  /*currentMediaIndex*/
353
- l[14]
354
- ), a = V("/"), i = V(
355
- /*mediaCount*/
356
353
  l[15]
357
- ), f(t, "class", "tag-popup-media-index svelte-817q8q");
354
+ ), o = V("/"), i = V(
355
+ /*mediaCount*/
356
+ l[16]
357
+ ), p(t, "class", "tag-popup-media-index svelte-14hkclv");
358
358
  },
359
- m(o, r) {
360
- P(o, t, r), q(t, e), q(t, a), q(t, i);
359
+ m(a, r) {
360
+ I(a, t, r), v(t, e), v(t, o), v(t, i);
361
361
  },
362
- p(o, r) {
362
+ p(a, r) {
363
363
  r[0] & /*currentMediaIndex*/
364
- 16384 && A(
364
+ 32768 && A(
365
365
  e,
366
366
  /*currentMediaIndex*/
367
- o[14]
367
+ a[15]
368
368
  ), r[0] & /*mediaCount*/
369
- 32768 && A(
369
+ 65536 && A(
370
370
  i,
371
371
  /*mediaCount*/
372
- o[15]
372
+ a[16]
373
373
  );
374
374
  },
375
- d(o) {
376
- o && I(t);
375
+ d(a) {
376
+ a && M(t);
377
377
  }
378
378
  };
379
379
  }
380
- function Oe(l) {
381
- let t, e, a, i;
380
+ function Qe(l) {
381
+ let t, e, o, i;
382
382
  return {
383
383
  c() {
384
384
  t = b("div"), e = V(
385
385
  /*currentMediaIndex*/
386
- l[14]
387
- ), a = V("/"), i = V(
388
- /*mediaCount*/
389
386
  l[15]
390
- ), f(t, "class", "tag-popup-media-index svelte-817q8q");
387
+ ), o = V("/"), i = V(
388
+ /*mediaCount*/
389
+ l[16]
390
+ ), p(t, "class", "tag-popup-media-index svelte-14hkclv");
391
391
  },
392
- m(o, r) {
393
- P(o, t, r), q(t, e), q(t, a), q(t, i);
392
+ m(a, r) {
393
+ I(a, t, r), v(t, e), v(t, o), v(t, i);
394
394
  },
395
- p(o, r) {
395
+ p(a, r) {
396
396
  r[0] & /*currentMediaIndex*/
397
- 16384 && A(
397
+ 32768 && A(
398
398
  e,
399
399
  /*currentMediaIndex*/
400
- o[14]
400
+ a[15]
401
401
  ), r[0] & /*mediaCount*/
402
- 32768 && A(
402
+ 65536 && A(
403
403
  i,
404
404
  /*mediaCount*/
405
- o[15]
405
+ a[16]
406
406
  );
407
407
  },
408
- d(o) {
409
- o && I(t);
408
+ d(a) {
409
+ a && M(t);
410
410
  }
411
411
  };
412
412
  }
413
- function Qe(l) {
414
- let t, e;
413
+ function We(l) {
414
+ let t, e, o, i;
415
415
  return {
416
416
  c() {
417
417
  t = b("div"), e = V(
418
418
  /*finalDescription*/
419
- l[20]
420
- ), f(t, "class", "tag-popup-description svelte-817q8q");
421
- },
422
- m(a, i) {
423
- P(a, t, i), q(t, e);
424
- },
425
- p(a, i) {
426
- i[0] & /*finalDescription*/
427
- 1048576 && A(
419
+ l[21]
420
+ ), p(t, "class", "tag-popup-description svelte-14hkclv");
421
+ },
422
+ m(a, r) {
423
+ I(a, t, r), v(t, e), l[41](t), o || (i = vt(
424
+ t,
425
+ "scroll",
426
+ /*updateDescMask*/
427
+ l[24]
428
+ ), o = !0);
429
+ },
430
+ p(a, r) {
431
+ r[0] & /*finalDescription*/
432
+ 2097152 && A(
428
433
  e,
429
434
  /*finalDescription*/
430
- a[20]
435
+ a[21]
431
436
  );
432
437
  },
433
438
  d(a) {
434
- a && I(t);
439
+ a && M(t), l[41](null), o = !1, i();
435
440
  }
436
441
  };
437
442
  }
438
- function We(l) {
439
- let t, e, a;
440
- return e = new ut({
443
+ function Xe(l) {
444
+ let t, e, o;
445
+ return e = new kt({
441
446
  props: {
442
447
  playing: (
443
448
  /*audioPlaying*/
@@ -453,386 +458,409 @@ function We(l) {
453
458
  ),
454
459
  onClick: (
455
460
  /*handleAudioPlayerClick*/
456
- l[22]
461
+ l[23]
457
462
  )
458
463
  }
459
464
  }), {
460
465
  c() {
461
- t = b("div"), ae(e.$$.fragment), f(t, "class", "tag-popup-audio-player-wrapper svelte-817q8q");
466
+ t = b("div"), re(e.$$.fragment), p(t, "class", "tag-popup-audio-player-wrapper svelte-14hkclv");
462
467
  },
463
- m(i, o) {
464
- P(i, t, o), oe(e, t, null), a = !0;
468
+ m(i, a) {
469
+ I(i, t, a), ne(e, t, null), o = !0;
465
470
  },
466
- p(i, o) {
471
+ p(i, a) {
467
472
  const r = {};
468
- o[0] & /*audioPlaying*/
473
+ a[0] & /*audioPlaying*/
469
474
  2 && (r.playing = /*audioPlaying*/
470
- i[1]), o[0] & /*audioProgress*/
475
+ i[1]), a[0] & /*audioProgress*/
471
476
  512 && (r.progress = /*audioProgress*/
472
- i[9]), o[0] & /*audioElapsedTime*/
477
+ i[9]), a[0] & /*audioElapsedTime*/
473
478
  1024 && (r.elapsedTime = /*audioElapsedTime*/
474
479
  i[10]), e.$set(r);
475
480
  },
476
481
  i(i) {
477
- a || (j(e.$$.fragment, i), a = !0);
482
+ o || (j(e.$$.fragment, i), o = !0);
478
483
  },
479
484
  o(i) {
480
- z(e.$$.fragment, i), a = !1;
485
+ z(e.$$.fragment, i), o = !1;
481
486
  },
482
487
  d(i) {
483
- i && I(t), re(e);
488
+ i && M(t), se(e);
484
489
  }
485
490
  };
486
491
  }
487
- function Xe(l) {
488
- let t, e, a, i, o = (
492
+ function Re(l) {
493
+ let t, e, o, i, a = (
489
494
  /*marketingPriceUnit*/
490
- l[11] && Ze(l)
495
+ l[12] && xe(l)
491
496
  );
492
497
  return {
493
498
  c() {
494
- t = b("div"), o && o.c(), e = U(), a = b("span"), i = V(
499
+ t = b("div"), a && a.c(), e = C(), o = b("span"), i = V(
495
500
  /*marketingPrice*/
496
- l[12]
497
- ), f(a, "class", "tag-popup-price-value"), f(t, "class", "tag-popup-price svelte-817q8q");
501
+ l[13]
502
+ ), p(o, "class", "tag-popup-price-value"), p(t, "class", "tag-popup-price svelte-14hkclv");
498
503
  },
499
504
  m(r, n) {
500
- P(r, t, n), o && o.m(t, null), q(t, e), q(t, a), q(a, i);
505
+ I(r, t, n), a && a.m(t, null), v(t, e), v(t, o), v(o, i);
501
506
  },
502
507
  p(r, n) {
503
508
  /*marketingPriceUnit*/
504
- r[11] ? o ? o.p(r, n) : (o = Ze(r), o.c(), o.m(t, e)) : o && (o.d(1), o = null), n[0] & /*marketingPrice*/
505
- 4096 && A(
509
+ r[12] ? a ? a.p(r, n) : (a = xe(r), a.c(), a.m(t, e)) : a && (a.d(1), a = null), n[0] & /*marketingPrice*/
510
+ 8192 && A(
506
511
  i,
507
512
  /*marketingPrice*/
508
- r[12]
513
+ r[13]
509
514
  );
510
515
  },
511
516
  d(r) {
512
- r && I(t), o && o.d();
517
+ r && M(t), a && a.d();
513
518
  }
514
519
  };
515
520
  }
516
- function Ze(l) {
521
+ function xe(l) {
517
522
  let t, e;
518
523
  return {
519
524
  c() {
520
525
  t = b("span"), e = V(
521
526
  /*marketingPriceUnit*/
522
- l[11]
523
- ), f(t, "class", "tag-popup-price-unit");
527
+ l[12]
528
+ ), p(t, "class", "tag-popup-price-unit");
524
529
  },
525
- m(a, i) {
526
- P(a, t, i), q(t, e);
530
+ m(o, i) {
531
+ I(o, t, i), v(t, e);
527
532
  },
528
- p(a, i) {
533
+ p(o, i) {
529
534
  i[0] & /*marketingPriceUnit*/
530
- 2048 && A(
535
+ 4096 && A(
531
536
  e,
532
537
  /*marketingPriceUnit*/
533
- a[11]
538
+ o[12]
534
539
  );
535
540
  },
536
- d(a) {
537
- a && I(t);
541
+ d(o) {
542
+ o && M(t);
538
543
  }
539
544
  };
540
545
  }
541
- function bt(l) {
542
- let t, e, a, i, o, r, n, d, s, c, g, F, _, m, v = (
546
+ function Mt(l) {
547
+ let t, e, o, i, a, r, n, d, s, h, g, E, _, m, k = (
543
548
  /*finalTitle*/
544
- l[5] && Ee(l)
549
+ l[5] && Ne(l)
545
550
  ), y = (
546
551
  /*isMarketingTag*/
547
552
  l[3] && /*primaryTags*/
548
553
  (l[4].length > 0 || /*secondaryTags*/
549
- l[13].length > 0) && Ne(l)
554
+ l[14].length > 0) && Ze(l)
550
555
  );
551
- const J = [vt, gt, ct], S = [];
552
- function X(p, w) {
553
- var N;
556
+ const K = [Dt, Tt, wt], F = [];
557
+ function x(c, T) {
558
+ var H;
554
559
  return (
555
560
  /*isExternalVideo*/
556
- p[6] && /*formattedVideoUrl*/
557
- p[17] ? 0 : (
561
+ c[6] && /*formattedVideoUrl*/
562
+ c[18] ? 0 : (
558
563
  /*mediaUrl*/
559
- p[19] ? 1 : (
564
+ c[20] ? 1 : (
560
565
  /*isVideoMedia*/
561
- p[7] && /*tag*/
562
- p[2].data.mediaData && /*tag*/
563
- ((N = p[2].data.mediaData[0]) != null && N.url) ? 2 : -1
566
+ c[7] && /*tag*/
567
+ c[2].data.mediaData && /*tag*/
568
+ ((H = c[2].data.mediaData[0]) != null && H.url) ? 2 : -1
564
569
  )
565
570
  )
566
571
  );
567
572
  }
568
- ~(o = X(l)) && (r = S[o] = J[o](l));
569
- let D = (
573
+ ~(a = x(l)) && (r = F[a] = K[a](l));
574
+ let P = (
570
575
  /*finalDescription*/
571
- l[20] && Qe(l)
572
- ), k = (
576
+ l[21] && We(l)
577
+ ), w = (
573
578
  /*isAudioTag*/
574
- l[8] && We(l)
575
- ), T = (
579
+ l[8] && Xe(l)
580
+ ), D = (
576
581
  /*marketingPrice*/
577
- l[12] && Xe(l)
582
+ l[13] && Re(l)
578
583
  );
579
- const H = (
584
+ const G = (
580
585
  /*#slots*/
581
- l[38].toolbar
582
- ), C = Ce(
583
- H,
586
+ l[40].toolbar
587
+ ), U = Ve(
588
+ G,
584
589
  l,
585
590
  /*$$scope*/
586
- l[37],
587
- Be
588
- ), E = (
591
+ l[39],
592
+ Le
593
+ ), Y = (
589
594
  /*#slots*/
590
- l[38].arrow
591
- ), M = Ce(
592
- E,
595
+ l[40].arrow
596
+ ), S = Ve(
597
+ Y,
593
598
  l,
594
599
  /*$$scope*/
595
- l[37],
596
- Fe
600
+ l[39],
601
+ Be
597
602
  );
598
603
  return {
599
604
  c() {
600
- t = b("div"), e = b("div"), v && v.c(), a = U(), y && y.c(), i = U(), r && r.c(), n = U(), D && D.c(), d = U(), k && k.c(), s = U(), T && T.c(), c = U(), C && C.c(), g = U(), M && M.c(), f(e, "class", F = "tag-popup-content " + /*effectiveTheme*/
601
- l[21] + " svelte-817q8q"), f(t, "class", _ = "tag-popup tag-popup-" + /*placement*/
602
- l[0] + " svelte-817q8q");
605
+ t = b("div"), e = b("div"), k && k.c(), o = C(), y && y.c(), i = C(), r && r.c(), n = C(), P && P.c(), d = C(), w && w.c(), s = C(), D && D.c(), h = C(), U && U.c(), g = C(), S && S.c(), p(e, "class", E = "tag-popup-content " + /*effectiveTheme*/
606
+ l[22] + " svelte-14hkclv"), p(t, "class", _ = "tag-popup tag-popup-" + /*placement*/
607
+ l[0] + " svelte-14hkclv");
603
608
  },
604
- m(p, w) {
605
- P(p, t, w), q(t, e), v && v.m(e, null), q(e, a), y && y.m(e, null), q(e, i), ~o && S[o].m(e, null), q(e, n), D && D.m(e, null), q(e, d), k && k.m(e, null), q(e, s), T && T.m(e, null), q(e, c), C && C.m(e, null), q(e, g), M && M.m(e, null), m = !0;
609
+ m(c, T) {
610
+ I(c, t, T), v(t, e), k && k.m(e, null), v(e, o), y && y.m(e, null), v(e, i), ~a && F[a].m(e, null), v(e, n), P && P.m(e, null), v(e, d), w && w.m(e, null), v(e, s), D && D.m(e, null), v(e, h), U && U.m(e, null), v(e, g), S && S.m(e, null), m = !0;
606
611
  },
607
- p(p, w) {
612
+ p(c, T) {
608
613
  /*finalTitle*/
609
- p[5] ? v ? v.p(p, w) : (v = Ee(p), v.c(), v.m(e, a)) : v && (v.d(1), v = null), /*isMarketingTag*/
610
- p[3] && /*primaryTags*/
611
- (p[4].length > 0 || /*secondaryTags*/
612
- p[13].length > 0) ? y ? y.p(p, w) : (y = Ne(p), y.c(), y.m(e, i)) : y && (y.d(1), y = null);
613
- let N = o;
614
- o = X(p), o === N ? ~o && S[o].p(p, w) : (r && (ue(), z(S[N], 1, 1, () => {
615
- S[N] = null;
616
- }), fe()), ~o ? (r = S[o], r ? r.p(p, w) : (r = S[o] = J[o](p), r.c()), j(r, 1), r.m(e, n)) : r = null), /*finalDescription*/
617
- p[20] ? D ? D.p(p, w) : (D = Qe(p), D.c(), D.m(e, d)) : D && (D.d(1), D = null), /*isAudioTag*/
618
- p[8] ? k ? (k.p(p, w), w[0] & /*isAudioTag*/
619
- 256 && j(k, 1)) : (k = We(p), k.c(), j(k, 1), k.m(e, s)) : k && (ue(), z(k, 1, 1, () => {
620
- k = null;
614
+ c[5] ? k ? k.p(c, T) : (k = Ne(c), k.c(), k.m(e, o)) : k && (k.d(1), k = null), /*isMarketingTag*/
615
+ c[3] && /*primaryTags*/
616
+ (c[4].length > 0 || /*secondaryTags*/
617
+ c[14].length > 0) ? y ? y.p(c, T) : (y = Ze(c), y.c(), y.m(e, i)) : y && (y.d(1), y = null);
618
+ let H = a;
619
+ a = x(c), a === H ? ~a && F[a].p(c, T) : (r && (ve(), z(F[H], 1, 1, () => {
620
+ F[H] = null;
621
+ }), fe()), ~a ? (r = F[a], r ? r.p(c, T) : (r = F[a] = K[a](c), r.c()), j(r, 1), r.m(e, n)) : r = null), /*finalDescription*/
622
+ c[21] ? P ? P.p(c, T) : (P = We(c), P.c(), P.m(e, d)) : P && (P.d(1), P = null), /*isAudioTag*/
623
+ c[8] ? w ? (w.p(c, T), T[0] & /*isAudioTag*/
624
+ 256 && j(w, 1)) : (w = Xe(c), w.c(), j(w, 1), w.m(e, s)) : w && (ve(), z(w, 1, 1, () => {
625
+ w = null;
621
626
  }), fe()), /*marketingPrice*/
622
- p[12] ? T ? T.p(p, w) : (T = Xe(p), T.c(), T.m(e, c)) : T && (T.d(1), T = null), C && C.p && (!m || w[1] & /*$$scope*/
623
- 64) && Ue(
624
- C,
625
- H,
626
- p,
627
+ c[13] ? D ? D.p(c, T) : (D = Re(c), D.c(), D.m(e, h)) : D && (D.d(1), D = null), U && U.p && (!m || T[1] & /*$$scope*/
628
+ 256) && Se(
629
+ U,
630
+ G,
631
+ c,
627
632
  /*$$scope*/
628
- p[37],
629
- m ? Me(
630
- H,
633
+ c[39],
634
+ m ? ze(
635
+ G,
631
636
  /*$$scope*/
632
- p[37],
633
- w,
634
- mt
635
- ) : Ve(
637
+ c[39],
638
+ T,
639
+ yt
640
+ ) : je(
636
641
  /*$$scope*/
637
- p[37]
642
+ c[39]
638
643
  ),
639
- Be
640
- ), M && M.p && (!m || w[1] & /*$$scope*/
641
- 64) && Ue(
642
- M,
643
- E,
644
- p,
644
+ Le
645
+ ), S && S.p && (!m || T[1] & /*$$scope*/
646
+ 256) && Se(
647
+ S,
648
+ Y,
649
+ c,
645
650
  /*$$scope*/
646
- p[37],
647
- m ? Me(
648
- E,
651
+ c[39],
652
+ m ? ze(
653
+ Y,
649
654
  /*$$scope*/
650
- p[37],
651
- w,
652
- dt
653
- ) : Ve(
655
+ c[39],
656
+ T,
657
+ bt
658
+ ) : je(
654
659
  /*$$scope*/
655
- p[37]
660
+ c[39]
656
661
  ),
657
- Fe
658
- ), (!m || w[0] & /*effectiveTheme*/
659
- 2097152 && F !== (F = "tag-popup-content " + /*effectiveTheme*/
660
- p[21] + " svelte-817q8q")) && f(e, "class", F), (!m || w[0] & /*placement*/
662
+ Be
663
+ ), (!m || T[0] & /*effectiveTheme*/
664
+ 4194304 && E !== (E = "tag-popup-content " + /*effectiveTheme*/
665
+ c[22] + " svelte-14hkclv")) && p(e, "class", E), (!m || T[0] & /*placement*/
661
666
  1 && _ !== (_ = "tag-popup tag-popup-" + /*placement*/
662
- p[0] + " svelte-817q8q")) && f(t, "class", _);
667
+ c[0] + " svelte-14hkclv")) && p(t, "class", _);
663
668
  },
664
- i(p) {
665
- m || (j(r), j(k), j(C, p), j(M, p), m = !0);
669
+ i(c) {
670
+ m || (j(r), j(w), j(U, c), j(S, c), m = !0);
666
671
  },
667
- o(p) {
668
- z(r), z(k), z(C, p), z(M, p), m = !1;
672
+ o(c) {
673
+ z(r), z(w), z(U, c), z(S, c), m = !1;
669
674
  },
670
- d(p) {
671
- p && I(t), v && v.d(), y && y.d(), ~o && S[o].d(), D && D.d(), k && k.d(), T && T.d(), C && C.d(p), M && M.d(p);
675
+ d(c) {
676
+ c && M(t), k && k.d(), y && y.d(), ~a && F[a].d(), P && P.d(), w && w.d(), D && D.d(), U && U.d(c), S && S.d(c);
672
677
  }
673
678
  };
674
679
  }
675
- function yt(l) {
680
+ const $e = 24;
681
+ function Ut(l) {
676
682
  const t = Math.floor(l / 60), e = Math.floor(l % 60);
677
683
  return `${t.toString().padStart(2, "0")}:${e.toString().padStart(2, "0")}`;
678
684
  }
679
- function kt(l, t, e) {
680
- let a, i, o, r, n, d, s, c, g, F, _, m, v, y, J, S, X, D, k, T, H, C, E, M, p, w, { $$slots: N = {}, $$scope: qe } = t, { tag: u } = t, { config: K = {} } = t, { theme: Z = void 0 } = t, { placement: de = "right-top" } = t, { audioInstance: O = null } = t, { audioPlaying: R = !1 } = t, { audioCurrentTime: ee = 0 } = t, { audioDuration: B = 0 } = t, ne = 0, se = "00:00", L = null, me = 0, Q = 0;
681
- function xe() {
682
- return B > 0 ? ee / B * 100 : 0;
685
+ function Ct(l, t, e) {
686
+ let o, i, a, r, n, d, s, h, g, E, _, m, k, y, K, F, x, P, w, D, G, U, Y, S, c, T, { $$slots: H = {}, $$scope: ue } = t, { tag: f } = t, { config: O = {} } = t, { theme: $ = void 0 } = t, { placement: de = "right-top" } = t, { audioInstance: Q = null } = t, { audioPlaying: ee = !1 } = t, { audioCurrentTime: ae = 0 } = t, { audioDuration: q = 0 } = t, ce = 0, pe = "00:00", B = null, me = 0, W = 0;
687
+ function tt() {
688
+ return q > 0 ? ae / q * 100 : 0;
683
689
  }
684
- function ce() {
685
- if (!R || B <= 0) {
686
- L = null;
690
+ function he() {
691
+ if (!ee || q <= 0) {
692
+ B = null;
687
693
  return;
688
694
  }
689
- const te = (Date.now() - me) / 1e3, le = ee + te, x = Math.min(le / B * 100, 100) - Q;
690
- Math.abs(x) > 0.05 && (Q += x * 0.2), L = requestAnimationFrame(ce);
695
+ const J = (Date.now() - me) / 1e3, X = ae + J, N = Math.min(X / q * 100, 100) - W;
696
+ Math.abs(N) > 0.05 && (W += N * 0.2), B = requestAnimationFrame(he);
691
697
  }
692
- function $e() {
698
+ function lt() {
693
699
  if (!i)
694
700
  return;
695
- const h = xe();
696
- B > 0 ? (R || (Q = h), e(9, ne = Q), e(10, se = yt(Q / 100 * B)), me = Date.now()) : (Q = 0, e(9, ne = 0), e(10, se = "00:00"));
701
+ const u = tt();
702
+ q > 0 ? (ee || (W = u), e(9, ce = W), e(10, pe = Ut(W / 100 * q)), me = Date.now()) : (W = 0, e(9, ce = 0), e(10, pe = "00:00"));
697
703
  }
698
- function et() {
699
- R && B > 0 ? L || ce() : L && (cancelAnimationFrame(L), L = null);
704
+ function it() {
705
+ ee && q > 0 ? B || he() : B && (cancelAnimationFrame(B), B = null);
700
706
  }
701
- function tt() {
702
- O && (O.paused ? O.play() : O.pause());
707
+ function at() {
708
+ Q && (Q.paused ? Q.play() : Q.pause());
709
+ }
710
+ let te;
711
+ function ge() {
712
+ if (!te)
713
+ return;
714
+ const u = te, J = u.scrollHeight - u.clientHeight;
715
+ if (J <= 0) {
716
+ u.style.maskImage = "", u.style.webkitMaskImage = "";
717
+ return;
718
+ }
719
+ const X = Math.min(u.scrollTop, $e), le = Math.min(J - u.scrollTop, $e), N = `linear-gradient(to bottom, transparent 0, black ${X}px, black calc(100% - ${le}px), transparent 100%)`;
720
+ u.style.maskImage = N, u.style.webkitMaskImage = N;
721
+ }
722
+ pt(ge), ft(() => {
723
+ B && (cancelAnimationFrame(B), B = null);
724
+ });
725
+ function ot(u) {
726
+ ut[u ? "unshift" : "push"](() => {
727
+ te = u, e(11, te);
728
+ });
703
729
  }
704
- return rt(() => {
705
- L && (cancelAnimationFrame(L), L = null);
706
- }), l.$$set = (h) => {
707
- "tag" in h && e(2, u = h.tag), "config" in h && e(23, K = h.config), "theme" in h && e(24, Z = h.theme), "placement" in h && e(0, de = h.placement), "audioInstance" in h && e(25, O = h.audioInstance), "audioPlaying" in h && e(1, R = h.audioPlaying), "audioCurrentTime" in h && e(26, ee = h.audioCurrentTime), "audioDuration" in h && e(27, B = h.audioDuration), "$$scope" in h && e(37, qe = h.$$scope);
730
+ return l.$$set = (u) => {
731
+ "tag" in u && e(2, f = u.tag), "config" in u && e(25, O = u.config), "theme" in u && e(26, $ = u.theme), "placement" in u && e(0, de = u.placement), "audioInstance" in u && e(27, Q = u.audioInstance), "audioPlaying" in u && e(1, ee = u.audioPlaying), "audioCurrentTime" in u && e(28, ae = u.audioCurrentTime), "audioDuration" in u && e(29, q = u.audioDuration), "$$scope" in u && e(39, ue = u.$$scope);
708
732
  }, l.$$.update = () => {
709
- var h, te, le, pe, x, ge;
733
+ var u, J, X, le, N, ke;
710
734
  l.$$.dirty[0] & /*tag*/
711
- 4 && e(3, a = u.contentType === "Marketing"), l.$$.dirty[0] & /*tag*/
712
- 4 && e(8, i = u.contentType === "Audio"), l.$$.dirty[0] & /*isMarketingTag*/
713
- 8 && e(36, o = a ? "light" : "dark"), l.$$.dirty[0] & /*tag, theme*/
714
- 16777220 | l.$$.dirty[1] & /*defaultTheme*/
715
- 32 && e(21, r = u.data.theme !== void 0 && u.data.theme !== null ? u.data.theme : Z != null ? Z : o), l.$$.dirty[0] & /*tag*/
716
- 4 && e(35, n = u.data.title || u.data.name || ""), l.$$.dirty[0] & /*tag*/
717
- 4 && e(34, d = u.data.description || u.data.tooltip || ""), l.$$.dirty[1] & /*title*/
718
- 16 && e(5, s = n || ""), l.$$.dirty[1] & /*description*/
719
- 8 && e(20, c = d || ""), l.$$.dirty[0] & /*audioCurrentTime, audioDuration, audioPlaying*/
720
- 201326594 && $e(), l.$$.dirty[0] & /*audioPlaying, audioDuration*/
721
- 134217730 && et(), l.$$.dirty[0] & /*isAudioTag, isMarketingTag, tag*/
722
- 268 && e(33, g = (() => {
723
- var ve, _e, he, be, ye, ke, we, Te, De, Pe, Ie;
724
- if (i || a)
735
+ 4 && e(3, o = f.contentType === "Marketing"), l.$$.dirty[0] & /*tag*/
736
+ 4 && e(8, i = f.contentType === "Audio"), l.$$.dirty[0] & /*isMarketingTag*/
737
+ 8 && e(38, a = o ? "light" : "dark"), l.$$.dirty[0] & /*tag, theme*/
738
+ 67108868 | l.$$.dirty[1] & /*defaultTheme*/
739
+ 128 && e(22, r = f.data.theme !== void 0 && f.data.theme !== null ? f.data.theme : $ != null ? $ : a), l.$$.dirty[0] & /*tag*/
740
+ 4 && e(37, n = f.data.title || f.data.name || ""), l.$$.dirty[0] & /*tag*/
741
+ 4 && e(36, d = f.data.description || f.data.tooltip || ""), l.$$.dirty[1] & /*title*/
742
+ 64 && e(5, s = n || ""), l.$$.dirty[1] & /*description*/
743
+ 32 && e(21, h = d || ""), l.$$.dirty[0] & /*audioCurrentTime, audioDuration, audioPlaying*/
744
+ 805306370 && lt(), l.$$.dirty[0] & /*audioPlaying, audioDuration*/
745
+ 536870914 && it(), l.$$.dirty[0] & /*isAudioTag, isMarketingTag, tag*/
746
+ 268 && e(35, g = (() => {
747
+ var _e, be, ye, we, Te, De, Pe, Ie, Me, Ue, Ce;
748
+ if (i || o)
725
749
  return null;
726
- if (u.data.mediaData && u.data.mediaData.length > 0) {
727
- const Y = u.data.mediaData[0];
728
- if (Y.type === "Video") {
729
- if (Y.videoCoverUrl)
730
- return Y.videoCoverUrl;
731
- if (Y.url) {
732
- const ie = Y.url.toLowerCase();
733
- if (Ae(ie)) {
734
- const $ = st(ie);
735
- if ($)
736
- return `https://img.youtube.com/vi/${$}/hqdefault.jpg`;
750
+ if (f.data.mediaData && f.data.mediaData.length > 0) {
751
+ const L = f.data.mediaData[0];
752
+ if (L.type === "Video") {
753
+ if (L.videoCoverUrl)
754
+ return L.videoCoverUrl;
755
+ if (L.url) {
756
+ const oe = L.url.toLowerCase();
757
+ if (Ee(oe)) {
758
+ const ie = mt(oe);
759
+ if (ie)
760
+ return `https://img.youtube.com/vi/${ie}/hqdefault.jpg`;
737
761
  }
738
- if (Se(ie)) {
739
- const $ = pt(ie);
740
- if ($)
741
- return `https://vumbnail.com/${$}.jpg`;
762
+ if (qe(oe)) {
763
+ const ie = ht(oe);
764
+ if (ie)
765
+ return `https://vumbnail.com/${ie}.jpg`;
742
766
  }
743
767
  return;
744
768
  }
745
769
  }
746
- if (u.contentType === "Panorama")
747
- return (Ie = (we = (he = (_e = (ve = u.data.mediaData) == null ? void 0 : ve[0]) == null ? void 0 : _e.cube) == null ? void 0 : he.front) != null ? we : (ke = (ye = (be = u.data.mediaData) == null ? void 0 : be[0]) == null ? void 0 : ye.thumbnail) == null ? void 0 : ke.split("?")[0]) != null ? Ie : (Pe = (De = (Te = u.data.mediaData) == null ? void 0 : Te[0]) == null ? void 0 : De.url) == null ? void 0 : Pe.split("?")[0];
748
- if (Y.url || Y.thumbnail)
749
- return Y.url || Y.thumbnail;
770
+ if (f.contentType === "Panorama")
771
+ return (Ce = (Pe = (ye = (be = (_e = f.data.mediaData) == null ? void 0 : _e[0]) == null ? void 0 : be.cube) == null ? void 0 : ye.front) != null ? Pe : (De = (Te = (we = f.data.mediaData) == null ? void 0 : we[0]) == null ? void 0 : Te.thumbnail) == null ? void 0 : De.split("?")[0]) != null ? Ce : (Ue = (Me = (Ie = f.data.mediaData) == null ? void 0 : Ie[0]) == null ? void 0 : Me.url) == null ? void 0 : Ue.split("?")[0];
772
+ if (L.url || L.thumbnail)
773
+ return L.url || L.thumbnail;
750
774
  }
751
- return u.data.imageUrl;
775
+ return f.data.imageUrl;
752
776
  })()), l.$$.dirty[0] & /*config, tag*/
753
- 8388612 | l.$$.dirty[1] & /*mediaRawUrl*/
754
- 4 && e(19, F = K != null && K.imageURLTransform && (g != null && g.includes("realsee-cdn") || g != null && g.includes("ljcdn.com")) ? K.imageURLTransform(g, { width: 280, height: 280 }) : g || u.data.mediaUrl || ""), l.$$.dirty[0] & /*tag*/
755
- 4 && e(7, _ = u.contentType === "Video" || u.data.mediaType === "video"), l.$$.dirty[0] & /*tag*/
756
- 4 && e(18, m = u.contentType === "Panorama" || u.data.mediaType === "panorama"), l.$$.dirty[0] & /*isVideoMedia, tag*/
757
- 132 && e(32, v = _ && u.data.mediaData && ((h = u.data.mediaData[0]) == null ? void 0 : h.url) && Ae(u.data.mediaData[0].url)), l.$$.dirty[0] & /*isVideoMedia, tag*/
758
- 132 && e(31, y = _ && u.data.mediaData && ((te = u.data.mediaData[0]) == null ? void 0 : te.url) && Se(u.data.mediaData[0].url)), l.$$.dirty[1] & /*isYouTubeVideo, isVimeoVideo*/
759
- 3 && e(6, J = v || y), l.$$.dirty[0] & /*isExternalVideo, tag*/
760
- 68 && e(17, S = J && u.data.mediaData && ((le = u.data.mediaData[0]) != null && le.url) ? ft(u.data.mediaData[0].url, { autoplay: 0 }) : ""), l.$$.dirty[0] & /*finalTitle*/
777
+ 33554436 | l.$$.dirty[1] & /*mediaRawUrl*/
778
+ 16 && e(20, E = O != null && O.imageURLTransform && (g != null && g.includes("realsee-cdn") || g != null && g.includes("ljcdn.com")) ? O.imageURLTransform(g, { width: 280, height: 280 }) : g || f.data.mediaUrl || ""), l.$$.dirty[0] & /*tag*/
779
+ 4 && e(7, _ = f.contentType === "Video" || f.data.mediaType === "video"), l.$$.dirty[0] & /*tag*/
780
+ 4 && e(19, m = f.contentType === "Panorama" || f.data.mediaType === "panorama"), l.$$.dirty[0] & /*isVideoMedia, tag*/
781
+ 132 && e(34, k = _ && f.data.mediaData && ((u = f.data.mediaData[0]) == null ? void 0 : u.url) && Ee(f.data.mediaData[0].url)), l.$$.dirty[0] & /*isVideoMedia, tag*/
782
+ 132 && e(33, y = _ && f.data.mediaData && ((J = f.data.mediaData[0]) == null ? void 0 : J.url) && qe(f.data.mediaData[0].url)), l.$$.dirty[1] & /*isYouTubeVideo, isVimeoVideo*/
783
+ 12 && e(6, K = k || y), l.$$.dirty[0] & /*isExternalVideo, tag*/
784
+ 68 && e(18, F = K && f.data.mediaData && ((X = f.data.mediaData[0]) != null && X.url) ? gt(f.data.mediaData[0].url, { autoplay: 0 }) : ""), l.$$.dirty[0] & /*finalTitle*/
761
785
  32 | l.$$.dirty[1] & /*isYouTubeVideo, isVimeoVideo*/
762
- 3 && e(16, X = v ? "YouTube video player" : y ? "Vimeo video player" : s), l.$$.dirty[0] & /*tag*/
763
- 4 && e(15, D = ((pe = u.data.mediaData) == null ? void 0 : pe.length) || 0), l.$$.dirty[0] & /*isMarketingTag, tag*/
764
- 12 && e(30, T = a ? u.data.brandTags || [] : []), l.$$.dirty[0] & /*isMarketingTag, tag*/
765
- 12 && e(29, H = a ? u.data.tags || [] : []), l.$$.dirty[0] & /*marketingBrandTags*/
766
- 1073741824 && e(4, C = T.filter(Boolean).slice(0, 2)), l.$$.dirty[0] & /*primaryTags*/
767
- 16 && e(28, E = Math.max(0, 2 - C.length)), l.$$.dirty[0] & /*remainingCount, marketingTags*/
768
- 805306368 && e(13, M = E > 0 ? H.filter(Boolean).slice(0, E) : []), l.$$.dirty[0] & /*isMarketingTag, tag*/
769
- 12 && e(12, p = a && ((x = u.data.price) == null ? void 0 : x.value) || ""), l.$$.dirty[0] & /*isMarketingTag, tag*/
770
- 12 && e(11, w = a && ((ge = u.data.price) == null ? void 0 : ge.unit) || "");
771
- }, e(14, k = 1), [
786
+ 12 && e(17, x = k ? "YouTube video player" : y ? "Vimeo video player" : s), l.$$.dirty[0] & /*tag*/
787
+ 4 && e(16, P = ((le = f.data.mediaData) == null ? void 0 : le.length) || 0), l.$$.dirty[0] & /*isMarketingTag, tag*/
788
+ 12 && e(32, D = o ? f.data.brandTags || [] : []), l.$$.dirty[0] & /*isMarketingTag, tag*/
789
+ 12 && e(31, G = o ? f.data.tags || [] : []), l.$$.dirty[1] & /*marketingBrandTags*/
790
+ 2 && e(4, U = D.filter(Boolean).slice(0, 2)), l.$$.dirty[0] & /*primaryTags*/
791
+ 16 && e(30, Y = Math.max(0, 2 - U.length)), l.$$.dirty[0] & /*remainingCount*/
792
+ 1073741824 | l.$$.dirty[1] & /*marketingTags*/
793
+ 1 && e(14, S = Y > 0 ? G.filter(Boolean).slice(0, Y) : []), l.$$.dirty[0] & /*isMarketingTag, tag*/
794
+ 12 && e(13, c = o && ((N = f.data.price) == null ? void 0 : N.value) || ""), l.$$.dirty[0] & /*isMarketingTag, tag*/
795
+ 12 && e(12, T = o && ((ke = f.data.price) == null ? void 0 : ke.unit) || "");
796
+ }, e(15, w = 1), [
772
797
  de,
773
- R,
774
- u,
775
- a,
776
- C,
798
+ ee,
799
+ f,
800
+ o,
801
+ U,
777
802
  s,
778
- J,
803
+ K,
779
804
  _,
780
805
  i,
781
- ne,
782
- se,
783
- w,
784
- p,
785
- M,
786
- k,
787
- D,
788
- X,
806
+ ce,
807
+ pe,
808
+ te,
809
+ T,
810
+ c,
789
811
  S,
790
- m,
812
+ w,
813
+ P,
814
+ x,
791
815
  F,
792
- c,
816
+ m,
817
+ E,
818
+ h,
793
819
  r,
794
- tt,
795
- K,
796
- Z,
820
+ at,
821
+ ge,
797
822
  O,
798
- ee,
799
- B,
800
- E,
801
- H,
802
- T,
823
+ $,
824
+ Q,
825
+ ae,
826
+ q,
827
+ Y,
828
+ G,
829
+ D,
803
830
  y,
804
- v,
831
+ k,
805
832
  g,
806
833
  d,
807
834
  n,
808
- o,
809
- qe,
810
- N
835
+ a,
836
+ ue,
837
+ H,
838
+ ot
811
839
  ];
812
840
  }
813
- class zt extends lt {
841
+ class Yt extends rt {
814
842
  constructor(t) {
815
- super(), it(
843
+ super(), nt(
816
844
  this,
817
845
  t,
818
- kt,
819
- bt,
820
- at,
846
+ Ct,
847
+ Mt,
848
+ st,
821
849
  {
822
850
  tag: 2,
823
- config: 23,
824
- theme: 24,
851
+ config: 25,
852
+ theme: 26,
825
853
  placement: 0,
826
- audioInstance: 25,
854
+ audioInstance: 27,
827
855
  audioPlaying: 1,
828
- audioCurrentTime: 26,
829
- audioDuration: 27
856
+ audioCurrentTime: 28,
857
+ audioDuration: 29
830
858
  },
831
- qt,
859
+ _t,
832
860
  [-1, -1]
833
861
  );
834
862
  }
835
863
  }
836
864
  export {
837
- zt as default
865
+ Yt as default
838
866
  };