@bluepic/embed 0.2.0-next.23 → 0.2.0-next.24

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.
@@ -821,10 +821,10 @@ const _hoisted_1$1K = {
821
821
  },
822
822
  null,
823
823
  -1
824
- ), _hoisted_6$h = [_hoisted_2$1r, _hoisted_3$17, _hoisted_4$P, _hoisted_5$w], ArchiveOutline = defineComponent({
824
+ ), _hoisted_6$g = [_hoisted_2$1r, _hoisted_3$17, _hoisted_4$P, _hoisted_5$w], ArchiveOutline = defineComponent({
825
825
  name: "ArchiveOutline",
826
826
  render: function(c, ie) {
827
- return openBlock(), createElementBlock("svg", _hoisted_1$1H, _hoisted_6$h);
827
+ return openBlock(), createElementBlock("svg", _hoisted_1$1H, _hoisted_6$g);
828
828
  }
829
829
  }), _hoisted_1$1G = {
830
830
  xmlns: "http://www.w3.org/2000/svg",
@@ -1389,10 +1389,10 @@ const _hoisted_1$1K = {
1389
1389
  },
1390
1390
  null,
1391
1391
  -1
1392
- ), _hoisted_6$g = [_hoisted_2$17, _hoisted_3$S, _hoisted_4$F, _hoisted_5$r], CropOutline = defineComponent({
1392
+ ), _hoisted_6$f = [_hoisted_2$17, _hoisted_3$S, _hoisted_4$F, _hoisted_5$r], CropOutline = defineComponent({
1393
1393
  name: "CropOutline",
1394
1394
  render: function(c, ie) {
1395
- return openBlock(), createElementBlock("svg", _hoisted_1$1n, _hoisted_6$g);
1395
+ return openBlock(), createElementBlock("svg", _hoisted_1$1n, _hoisted_6$f);
1396
1396
  }
1397
1397
  }), _hoisted_1$1m = {
1398
1398
  xmlns: "http://www.w3.org/2000/svg",
@@ -1588,10 +1588,10 @@ const _hoisted_1$1K = {
1588
1588
  },
1589
1589
  null,
1590
1590
  -1
1591
- ), _hoisted_6$f = [_hoisted_2$12, _hoisted_3$O, _hoisted_4$B, _hoisted_5$o], EyedropOutline = defineComponent({
1591
+ ), _hoisted_6$e = [_hoisted_2$12, _hoisted_3$O, _hoisted_4$B, _hoisted_5$o], EyedropOutline = defineComponent({
1592
1592
  name: "EyedropOutline",
1593
1593
  render: function(c, ie) {
1594
- return openBlock(), createElementBlock("svg", _hoisted_1$1i, _hoisted_6$f);
1594
+ return openBlock(), createElementBlock("svg", _hoisted_1$1i, _hoisted_6$e);
1595
1595
  }
1596
1596
  }), _hoisted_1$1h = {
1597
1597
  xmlns: "http://www.w3.org/2000/svg",
@@ -1723,10 +1723,10 @@ const _hoisted_1$1K = {
1723
1723
  },
1724
1724
  null,
1725
1725
  -1
1726
- ), _hoisted_6$e = [_hoisted_2$_, _hoisted_3$L, _hoisted_4$y, _hoisted_5$n], ImageOutline = defineComponent({
1726
+ ), _hoisted_6$d = [_hoisted_2$_, _hoisted_3$L, _hoisted_4$y, _hoisted_5$n], ImageOutline = defineComponent({
1727
1727
  name: "ImageOutline",
1728
1728
  render: function(c, ie) {
1729
- return openBlock(), createElementBlock("svg", _hoisted_1$1e, _hoisted_6$e);
1729
+ return openBlock(), createElementBlock("svg", _hoisted_1$1e, _hoisted_6$d);
1730
1730
  }
1731
1731
  }), _hoisted_1$1d = {
1732
1732
  xmlns: "http://www.w3.org/2000/svg",
@@ -1775,10 +1775,10 @@ const _hoisted_1$1K = {
1775
1775
  },
1776
1776
  null,
1777
1777
  -1
1778
- ), _hoisted_6$d = [_hoisted_2$Z, _hoisted_3$K, _hoisted_4$x, _hoisted_5$m], InformationCircleOutline = defineComponent({
1778
+ ), _hoisted_6$c = [_hoisted_2$Z, _hoisted_3$K, _hoisted_4$x, _hoisted_5$m], InformationCircleOutline = defineComponent({
1779
1779
  name: "InformationCircleOutline",
1780
1780
  render: function(c, ie) {
1781
- return openBlock(), createElementBlock("svg", _hoisted_1$1d, _hoisted_6$d);
1781
+ return openBlock(), createElementBlock("svg", _hoisted_1$1d, _hoisted_6$c);
1782
1782
  }
1783
1783
  }), _hoisted_1$1c = {
1784
1784
  xmlns: "http://www.w3.org/2000/svg",
@@ -2212,10 +2212,10 @@ const _hoisted_1$1K = {
2212
2212
  },
2213
2213
  null,
2214
2214
  -1
2215
- ), _hoisted_6$c = [_hoisted_2$L, _hoisted_3$y, _hoisted_4$o, _hoisted_5$g], TextOutline = defineComponent({
2215
+ ), _hoisted_6$b = [_hoisted_2$L, _hoisted_3$y, _hoisted_4$o, _hoisted_5$g], TextOutline = defineComponent({
2216
2216
  name: "TextOutline",
2217
2217
  render: function(c, ie) {
2218
- return openBlock(), createElementBlock("svg", _hoisted_1$$, _hoisted_6$c);
2218
+ return openBlock(), createElementBlock("svg", _hoisted_1$$, _hoisted_6$b);
2219
2219
  }
2220
2220
  }), _sfc_main$1g = /* @__PURE__ */ defineComponent({
2221
2221
  __name: "BxIcon",
@@ -2314,7 +2314,7 @@ const _hoisted_1$1K = {
2314
2314
  }), PopupElement_vue_vue_type_style_index_0_scoped_bfd5ce25_lang = "", PopupElement = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-bfd5ce25"]]), _hoisted_1$Z = { class: "symbol-wrapper" }, _hoisted_2$J = { class: "message-content" }, _hoisted_3$w = {
2315
2315
  key: 0,
2316
2316
  class: "title-wrapper"
2317
- }, _hoisted_4$m = { key: 1 }, _hoisted_5$f = { class: "message-wrapper" }, _hoisted_6$b = { key: 1 }, _sfc_main$1e = /* @__PURE__ */ defineComponent({
2317
+ }, _hoisted_4$m = { key: 1 }, _hoisted_5$f = { class: "message-wrapper" }, _hoisted_6$a = { key: 1 }, _sfc_main$1e = /* @__PURE__ */ defineComponent({
2318
2318
  __name: "MessageElement",
2319
2319
  props: {
2320
2320
  type: {},
@@ -2352,7 +2352,7 @@ const _hoisted_1$1K = {
2352
2352
  ie.title ? renderSlot(we.$slots, "title", { key: 0 }, void 0, !0) : we.title ? (openBlock(), createElementBlock("span", _hoisted_4$m, toDisplayString(we.title), 1)) : createCommentVNode("", !0)
2353
2353
  ])) : createCommentVNode("", !0),
2354
2354
  createElementVNode("div", _hoisted_5$f, [
2355
- ie.message ? renderSlot(we.$slots, "message", { key: 0 }, void 0, !0) : we.message ? (openBlock(), createElementBlock("span", _hoisted_6$b, toDisplayString(we.message), 1)) : createCommentVNode("", !0)
2355
+ ie.message ? renderSlot(we.$slots, "message", { key: 0 }, void 0, !0) : we.message ? (openBlock(), createElementBlock("span", _hoisted_6$a, toDisplayString(we.message), 1)) : createCommentVNode("", !0)
2356
2356
  ])
2357
2357
  ])
2358
2358
  ], 4)
@@ -2664,7 +2664,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
2664
2664
  }, _hoisted_4$k = { key: 1 }, _hoisted_5$e = {
2665
2665
  key: 0,
2666
2666
  class: "bx-card__header-extra"
2667
- }, _hoisted_6$a = {
2667
+ }, _hoisted_6$9 = {
2668
2668
  key: 1,
2669
2669
  class: "bx-card__cover"
2670
2670
  }, _hoisted_7$7 = ["src"], _hoisted_8$6 = {
@@ -2701,7 +2701,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
2701
2701
  renderSlot(ie.$slots, "header-extra", {}, void 0, !0)
2702
2702
  ])) : createCommentVNode("", !0)
2703
2703
  ])) : createCommentVNode("", !0),
2704
- c.cover || ie.cover ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
2704
+ c.cover || ie.cover ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
2705
2705
  c.cover ? renderSlot(ie.$slots, "cover", { key: 0 }, void 0, !0) : (openBlock(), createElementBlock("img", {
2706
2706
  key: 1,
2707
2707
  src: ie.cover,
@@ -31807,7 +31807,7 @@ const _hoisted_1$Q = {
31807
31807
  }, _hoisted_5$c = {
31808
31808
  key: 0,
31809
31809
  class: "bx-input__loading-wrapper"
31810
- }, _hoisted_6$9 = {
31810
+ }, _hoisted_6$8 = {
31811
31811
  key: 1,
31812
31812
  class: "bx-input__footer"
31813
31813
  }, _hoisted_7$6 = {
@@ -32043,7 +32043,7 @@ const _hoisted_1$Q = {
32043
32043
  renderSlot(pr.$slots, "suffix", {}, void 0, !0)
32044
32044
  ])) : createCommentVNode("", !0)
32045
32045
  ], 6),
32046
- pr.clearable || pr.showWordCount || kr.value ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
32046
+ pr.clearable || pr.showWordCount || kr.value ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
32047
32047
  pr.clearable ? (openBlock(), createElementBlock("div", _hoisted_7$6, [
32048
32048
  createVNode(BxButton, {
32049
32049
  class: "clear-btn",
@@ -32493,7 +32493,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32493
32493
  }), BxEmpty_vue_vue_type_style_index_0_scoped_2b4dcd9d_lang = "", BxEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-2b4dcd9d"]]), _hoisted_1$M = { class: "image-library-pexels" }, _hoisted_2$x = { class: "search-bar-wrapper" }, _hoisted_3$m = {
32494
32494
  key: 0,
32495
32495
  class: "photos"
32496
- }, _hoisted_4$e = ["onClick"], _hoisted_5$b = { class: "preview" }, _hoisted_6$8 = ["src"], _hoisted_7$5 = {
32496
+ }, _hoisted_4$e = ["onClick"], _hoisted_5$b = { class: "preview" }, _hoisted_6$7 = ["src"], _hoisted_7$5 = {
32497
32497
  key: 1,
32498
32498
  class: "loading-wrapper"
32499
32499
  }, _sfc_main$Y = /* @__PURE__ */ defineComponent({
@@ -32558,7 +32558,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32558
32558
  createElementVNode("div", _hoisted_5$b, [
32559
32559
  createElementVNode("img", {
32560
32560
  src: $r.src.tiny
32561
- }, null, 8, _hoisted_6$8)
32561
+ }, null, 8, _hoisted_6$7)
32562
32562
  ])
32563
32563
  ], 8, _hoisted_4$e))
32564
32564
  ]),
@@ -32648,7 +32648,7 @@ function useSharedDrive(m, c, ie, we) {
32648
32648
  const _hoisted_1$L = { class: "image-library-shared-drive" }, _hoisted_2$w = {
32649
32649
  key: 0,
32650
32650
  class: "photos"
32651
- }, _hoisted_3$l = ["onClick"], _hoisted_4$d = { class: "preview" }, _hoisted_5$a = ["src"], _hoisted_6$7 = {
32651
+ }, _hoisted_3$l = ["onClick"], _hoisted_4$d = { class: "preview" }, _hoisted_5$a = ["src"], _hoisted_6$6 = {
32652
32652
  key: 1,
32653
32653
  class: "loading-wrapper"
32654
32654
  }, _sfc_main$X = /* @__PURE__ */ defineComponent({
@@ -32678,7 +32678,7 @@ const _hoisted_1$L = { class: "image-library-shared-drive" }, _hoisted_2$w = {
32678
32678
  }, null, 8, _hoisted_5$a)
32679
32679
  ])
32680
32680
  ], 8, _hoisted_3$l))), 256))
32681
- ])) : (openBlock(), createElementBlock("div", _hoisted_6$7, [
32681
+ ])) : (openBlock(), createElementBlock("div", _hoisted_6$6, [
32682
32682
  createVNode(BxSpin)
32683
32683
  ]))
32684
32684
  ]));
@@ -32835,7 +32835,7 @@ const _hoisted_1$L = { class: "image-library-shared-drive" }, _hoisted_2$w = {
32835
32835
  ])
32836
32836
  ], 2));
32837
32837
  }
32838
- }), BxListItem_vue_vue_type_style_index_0_scoped_be754519_lang = "", BxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-be754519"]]), _hoisted_1$H = { class: "pullup-menu" }, _hoisted_2$t = ["onClick"], _hoisted_3$i = { class: "icon" }, _hoisted_4$a = { class: "label" }, _hoisted_5$8 = { class: "pullup-menu" }, _hoisted_6$6 = { class: "icon" }, _sfc_main$S = /* @__PURE__ */ defineComponent({
32838
+ }), BxListItem_vue_vue_type_style_index_0_scoped_be754519_lang = "", BxListItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-be754519"]]), _hoisted_1$H = { class: "pullup-menu" }, _hoisted_2$t = ["onClick"], _hoisted_3$i = { class: "icon" }, _hoisted_4$a = { class: "label" }, _hoisted_5$8 = { class: "pullup-menu" }, _hoisted_6$5 = { class: "icon" }, _sfc_main$S = /* @__PURE__ */ defineComponent({
32839
32839
  __name: "BxDropdown",
32840
32840
  props: /* @__PURE__ */ mergeModels({
32841
32841
  options: {},
@@ -32895,7 +32895,7 @@ const _hoisted_1$L = { class: "image-library-shared-drive" }, _hoisted_2$w = {
32895
32895
  class: "select-button",
32896
32896
  onClick: ne[0] || (ne[0] = (rr) => we.value = !1)
32897
32897
  }, [
32898
- createElementVNode("div", _hoisted_6$6, [
32898
+ createElementVNode("div", _hoisted_6$5, [
32899
32899
  createVNode(BxIcon, null, {
32900
32900
  default: withCtx(() => [
32901
32901
  createVNode(unref(CloseOutline))
@@ -79123,7 +79123,7 @@ const Rt = 10, Yt = 10, Xt = /* @__PURE__ */ defineComponent({
79123
79123
  }, Wt = /* @__PURE__ */ Ot(Xt, [["__scopeId", "data-v-55dbc0c0"]]), style = "", _hoisted_1$i = {
79124
79124
  key: 0,
79125
79125
  class: "error-wrapper"
79126
- }, _hoisted_2$e = { class: "error-symbol" }, _hoisted_3$a = { class: "error-message" }, _hoisted_4$7 = { key: 0 }, _hoisted_5$6 = { key: 1 }, _hoisted_6$5 = { class: "error-actions" }, _hoisted_7$4 = { xmlns: "http://www.w3.org/2000/svg" }, _hoisted_8$4 = {
79126
+ }, _hoisted_2$e = { class: "error-symbol" }, _hoisted_3$a = { class: "error-message" }, _hoisted_4$7 = { key: 0 }, _hoisted_5$6 = { key: 1 }, _hoisted_6$4 = { class: "error-actions" }, _hoisted_7$4 = { xmlns: "http://www.w3.org/2000/svg" }, _hoisted_8$4 = {
79127
79127
  key: 0,
79128
79128
  class: "scrollbar scrollbar-x"
79129
79129
  }, _hoisted_9$3 = {
@@ -79425,7 +79425,7 @@ const Rt = 10, Yt = 10, Xt = /* @__PURE__ */ defineComponent({
79425
79425
  createElementVNode("div", _hoisted_3$a, [
79426
79426
  _i.value === 2 ? (openBlock(), createElementBlock("span", _hoisted_4$7, " You're not allowed to view this template. ")) : (openBlock(), createElementBlock("span", _hoisted_5$6, " Embed Template is still processing. Please retry in 3 minutes. "))
79427
79427
  ]),
79428
- createElementVNode("div", _hoisted_6$5, [
79428
+ createElementVNode("div", _hoisted_6$4, [
79429
79429
  createVNode(unref(BxButton), {
79430
79430
  round: "",
79431
79431
  onClick: Jr
@@ -97524,7 +97524,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
97524
97524
  }, _hoisted_2$a = {
97525
97525
  key: 0,
97526
97526
  class: "branding"
97527
- }, _hoisted_3$8 = { class: "logo" }, _hoisted_4$6 = { class: "actions" }, _hoisted_5$5 = { class: "editor-inner" }, _hoisted_6$4 = {
97527
+ }, _hoisted_3$8 = { class: "logo" }, _hoisted_4$6 = { class: "actions" }, _hoisted_5$5 = { class: "editor-inner" }, _hoisted_6$3 = {
97528
97528
  key: 0,
97529
97529
  class: "view-desktop"
97530
97530
  }, _hoisted_7$3 = { class: "fields-view" }, _hoisted_8$3 = {
@@ -97906,7 +97906,7 @@ const BluepicLogo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_re
97906
97906
  ])
97907
97907
  ])) : createCommentVNode("", !0),
97908
97908
  createElementVNode("div", _hoisted_5$5, [
97909
- Wr.value === "desktop" ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
97909
+ Wr.value === "desktop" ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
97910
97910
  createElementVNode("div", _hoisted_7$3, [
97911
97911
  ii.value && Jr.value ? (openBlock(), createElementBlock("div", _hoisted_8$3, [
97912
97912
  createVNode(SlidesNavigation, {
@@ -98845,7 +98845,7 @@ const _hoisted_1$9 = { class: "import-data" }, _hoisted_2$7 = { class: "source-s
98845
98845
  }), ImportData_vue_vue_type_style_index_0_scoped_bcbee4aa_lang = "", ImportData = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-bcbee4aa"]]), _hoisted_1$8 = { class: "preview-view" }, _hoisted_2$6 = { class: "preview-view-tools" }, _hoisted_3$4 = { class: "popup-actions" }, _hoisted_4$4 = { class: "preview-view-live" }, _hoisted_5$3 = {
98846
98846
  key: 0,
98847
98847
  class: "actions-layer"
98848
- }, _hoisted_6$3 = {
98848
+ }, _hoisted_6$2 = {
98849
98849
  key: 0,
98850
98850
  class: "table-view"
98851
98851
  }, _hoisted_7$2 = {
@@ -99278,7 +99278,7 @@ const _hoisted_1$9 = { class: "import-data" }, _hoisted_2$7 = { class: "source-s
99278
99278
  ])) : createCommentVNode("", !0)
99279
99279
  ])
99280
99280
  ]),
99281
- rr.value && $r.value ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
99281
+ rr.value && $r.value ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
99282
99282
  createElementVNode("header", null, [
99283
99283
  Zr.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
99284
99284
  createElementVNode("span", _hoisted_8$2, " Selected " + toDisplayString(Zr.value.length) + " of " + toDisplayString($r.value.length) + " rows ", 1),
@@ -99777,7 +99777,7 @@ const _hoisted_1$6 = ["src", "alt"], _hoisted_2$5 = ["src", "alt"], _hoisted_3$3
99777
99777
  }), BxTag_vue_vue_type_style_index_0_scoped_fb8c8804_lang = "", BxTag = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-fb8c8804"]]), _hoisted_1$5 = {
99778
99778
  key: 0,
99779
99779
  class: "info"
99780
- }, _hoisted_2$4 = { class: "name" }, _hoisted_3$2 = { class: "email" }, _hoisted_4$2 = { class: "menu" }, _hoisted_5$2 = { class: "bx-user-menu compact" }, _hoisted_6$2 = { class: "info" }, _hoisted_7$1 = { class: "name" }, _hoisted_8$1 = { class: "email" }, _hoisted_9 = {
99780
+ }, _hoisted_2$4 = { class: "name" }, _hoisted_3$2 = { class: "email" }, _hoisted_4$2 = { class: "menu" }, _hoisted_5$2 = { class: "bx-user-menu compact" }, _hoisted_6$1 = { class: "info" }, _hoisted_7$1 = { class: "name" }, _hoisted_8$1 = { class: "email" }, _hoisted_9 = {
99781
99781
  key: 0,
99782
99782
  class: "tags"
99783
99783
  }, _hoisted_10 = { class: "menu__items" }, _hoisted_11 = {
@@ -99917,7 +99917,7 @@ const _hoisted_1$6 = ["src", "alt"], _hoisted_2$5 = ["src", "alt"], _hoisted_3$3
99917
99917
  "background-color": Zr.avatarBackgroundColor ?? "var(--primary-lighter, #C3D5F9FF)",
99918
99918
  "text-color": Zr.avatarTextColor ?? "var(--primary, #457DED)"
99919
99919
  }, null, 8, ["user", "background-color", "text-color"]),
99920
- createElementVNode("div", _hoisted_6$2, [
99920
+ createElementVNode("div", _hoisted_6$1, [
99921
99921
  createElementVNode("span", _hoisted_7$1, toDisplayString(Zr.user.name), 1),
99922
99922
  createElementVNode("span", _hoisted_8$1, toDisplayString(Zr.user.email ?? Zr.user.newEmail), 1)
99923
99923
  ])
@@ -100172,13 +100172,13 @@ function getInitials(m) {
100172
100172
  const c = m.split(" ");
100173
100173
  return c.length > 1 ? c[0].charAt(0).toUpperCase() + c[1].charAt(0).toUpperCase() : c[0].charAt(0).toUpperCase();
100174
100174
  }
100175
- const _hoisted_1$1 = { class: "user-avatar" }, _hoisted_2$1 = ["src"], _hoisted_3$1 = ["src"], _hoisted_4$1 = {
100175
+ const _hoisted_1$1 = ["src"], _hoisted_2$1 = ["src"], _hoisted_3$1 = {
100176
100176
  xmlns: "http://www.w3.org/2000/svg",
100177
100177
  viewBox: "0 0 100 100"
100178
- }, _hoisted_5$1 = {
100178
+ }, _hoisted_4$1 = {
100179
100179
  x: 50,
100180
100180
  y: 50 + 5
100181
- }, _hoisted_6$1 = {
100181
+ }, _hoisted_5$1 = {
100182
100182
  key: 3,
100183
100183
  class: "layer"
100184
100184
  }, _sfc_main$1 = /* @__PURE__ */ defineComponent({
@@ -100190,31 +100190,33 @@ const _hoisted_1$1 = { class: "user-avatar" }, _hoisted_2$1 = ["src"], _hoisted_
100190
100190
  },
100191
100191
  setup(m) {
100192
100192
  const c = m, ie = useSlots(), we = computed(() => c.user.name ?? c.user.nickname ?? c.user.email), Ie = computed(() => stringToHslColor(cyrb53ToHex(c.user.user_id ?? JSON.stringify(c.user)), 1, 0.6));
100193
- return (Me, Ze) => (openBlock(), createElementBlock("div", _hoisted_1$1, [
100193
+ return (Me, Ze) => (openBlock(), createElementBlock("div", {
100194
+ class: "user-avatar",
100195
+ style: normalizeStyle({ "--width": `${Me.width}px`, "--height": `${Me.height}px` })
100196
+ }, [
100194
100197
  Me.user.user_metadata?.avatar ? (openBlock(), createElementBlock("img", {
100195
100198
  key: 0,
100196
100199
  src: unref(optimizePreviewUrl)(Me.user.user_metadata.avatar, Me.width * 4, Me.height * 4),
100197
- style: normalizeStyle({ "--width": `${Me.width}px`, "--height": `${Me.height}px` }),
100198
100200
  class: "avatar"
100199
- }, null, 12, _hoisted_2$1)) : Me.user.picture ? (openBlock(), createElementBlock("img", {
100201
+ }, null, 8, _hoisted_1$1)) : Me.user.picture ? (openBlock(), createElementBlock("img", {
100200
100202
  key: 1,
100201
100203
  src: Me.user.picture,
100202
100204
  class: "avatar"
100203
- }, null, 8, _hoisted_3$1)) : (openBlock(), createElementBlock("div", {
100205
+ }, null, 8, _hoisted_2$1)) : (openBlock(), createElementBlock("div", {
100204
100206
  key: 2,
100205
100207
  class: "avatar",
100206
100208
  style: normalizeStyle({ "--color": Ie.value })
100207
100209
  }, [
100208
- (openBlock(), createElementBlock("svg", _hoisted_4$1, [
100209
- createElementVNode("text", _hoisted_5$1, toDisplayString(we.value ? unref(getInitials)(we.value) : "?"), 1)
100210
+ (openBlock(), createElementBlock("svg", _hoisted_3$1, [
100211
+ createElementVNode("text", _hoisted_4$1, toDisplayString(we.value ? unref(getInitials)(we.value) : "?"), 1)
100210
100212
  ]))
100211
100213
  ], 4)),
100212
- ie.layer ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
100214
+ ie.layer ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
100213
100215
  renderSlot(Me.$slots, "layer", {}, void 0, !0)
100214
100216
  ])) : createCommentVNode("", !0)
100215
- ]));
100217
+ ], 4));
100216
100218
  }
100217
- }), UserAvatar_vue_vue_type_style_index_0_scoped_c0c688c6_lang = "", UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-c0c688c6"]]);
100219
+ }), UserAvatar_vue_vue_type_style_index_0_scoped_42e86d13_lang = "", UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-42e86d13"]]);
100218
100220
  function getThemeStyle(m) {
100219
100221
  const c = css.parse(m).stylesheet?.rules.find((ie) => ie.type === "rule" && ie.selectors?.includes(":root"));
100220
100222
  if (!c)