@figurosity/consumer-pose-generator 0.1.1 → 0.1.3

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.
@@ -1,12 +1,13 @@
1
- import { ref as j, computed as y, watch as Ne, onBeforeMount as To, defineComponent as T, h, openBlock as O, createBlock as _t, unref as A, createElementBlock as $, Fragment as Xe, renderList as Ze, createVNode as B, normalizeClass as mt, createElementVNode as De, toDisplayString as Co, onMounted as bt, onBeforeUnmount as Jt, Transition as qt, withDirectives as vt, vShow as yt, normalizeStyle as nn, TransitionGroup as _o, withCtx as jt, inject as bo } from "vue";
2
- import { useRoute as Io } from "vue-router";
3
- import { defineStore as ie, getActivePinia as Po, storeToRefs as S } from "pinia";
4
- import { useDynamicImages as xo, DEFAULT as Me, SKINS as Gt, DURATION as Yt, NOTHING as wo, EFFECTS as St, CAMERA_ANGLE as Ps, LIGHT_DIRECTION as xs, GENDER as Tt, GRID as ws, POSE_DIRECTION as Ds, ADJUSTMENTS as Ms, slugify as Do, useEventBus as on, useFilterStyle as Mo, FlipAnimation as Ao, useWakeLock as No } from "@figurosity/toolbox";
5
- import rn from "lodash-es/debounce";
6
- import { useQuasar as It, QSlider as Oo, QSeparator as J, QCard as ko, QItem as Lo, QItemSection as As, QIcon as Vo, QItemLabel as Ns, QCardSection as Uo, QBtn as Oe, QPageSticky as Ro, QCircularProgress as Bo } from "quasar";
7
- import { CExpansion as me, CBaseButton as Qe, CBaseButtons as an, CNewGridTool as $o, CBasicTool as es, CAnimatedNumber as zo, CGridOverlay as Ho, CFloatingModal as Fo, CDraggableDrawer as ln, CDraggableDrawers as qo } from "@figurosity/consumer-controls";
8
- import { historyCircle as cn, contrast as un, brightness as dn, shirt as jo, cameraAngle as Go, bulbLight as Yo, venus as Wo, cameraOrientation as Xo, grid as Zo, refresh as Qo, pause as Ko, play as Jo } from "@figurosity/icons";
9
- function er(e, t) {
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".pg-overview-content h1{color:#fff;text-align:left;margin:0 0 15px}.pg-overview-content .text-subheading{text-align:left;color:#fff;font-size:20px;font-weight:600}@media(max-width:1023.98px){.pg-overview-content{background:url(https://static.figurosity.com/pose-generator/temp/pose-27.webp) center/contain no-repeat,radial-gradient(147.55% 89.72% at 66.15% 11.38%,#c86dd7,#3023ae);height:100%;padding:20px}.pg-overview-content h1,.pg-overview-content .text-subheading{text-align:center!important}}.pg-exit-button{overflow:hidden}.pg-overview-buttons{z-index:111;position:fixed;bottom:0;left:0;right:0;border-top:1px solid #cccccc}.pg-overview-buttons .pg-animated-count{text-align:center}@media(min-width:768px){.pg-overview-buttons .pg-animated-count{text-align:right}}.pg-card{z-index:9}.pg-card .q-card{background-color:#ffffffd9;border-color:#fff;border-width:1px;border-radius:14px}.pg-card .q-item__section--avatar{min-width:40px}.pg-card-label{font-size:18px;font-weight:900}.pg-card-caption{font-size:14px;font-weight:500;color:#676767}.pg-cards{color:#170a27;z-index:9}.pg-base-button.q-btn{color:#000c;background-color:#ffffff80!important}.pg-base-button.q-btn--outline:before{border-color:#000000b3}.pg-base-button.q-btn .q-icon{font-size:32px}.pg-controls{width:380px}.pg-controls .q-btn--outline:before{border-width:4px}.pg-play-button{position:relative}.pg-play-button.pg-base-button.q-btn .q-icon{font-size:26px;padding:7px 5px 5px;margin-bottom:3px}.pg-play-button .pg-timer-progress{position:absolute;top:0;left:0;z-index:2}.pg-timer-seconds{color:#000c;font-weight:900;font-size:30px;text-align:right;transition:all .3s ease;line-height:40px}.pg-timer-seconds.flash{color:#0087ff}.pg-expansions{background-color:#fff}.pg-expansions .q-separator{margin:0 10px}.pg-durations-tool .q-slider__selection{display:none}.pg-durations-tool-title{font-weight:900;color:#626262!important}.pg-durations-tool .q-slider__marker-labels{font-weight:900;color:#626262;transition:color .15s ease}.pg-durations-tool .pg-durations-tool__is-active{color:#0087ff!important}.c-pose-position{width:200px;height:200px;position:relative;margin:0 auto 10px;color:#0087ff;overflow:hidden}.c-pose-position.disabled{opacity:.7}.c-pose-position *{box-sizing:border-box}.c-pose-position .quickpose-angle{position:absolute;top:0;left:0;z-index:100;border-radius:100px}.c-pose-position .quickpose-angle img{width:96%;height:auto;border-radius:100px}.quarters{transform:rotate(45deg);width:96%;height:96%;position:absolute;top:1px;left:1px;z-index:90;border-radius:100px;overflow:hidden}.quarters.overlay{z-index:110}.quarters.borders .quarter{transition:background-color .3s;border:1px solid #0087ff;background-color:#fff;border-color:#0087ff}.quarters.borders .quarter>span{position:absolute;font-size:13px;left:50%;top:50%;transform:translate(-50%) translateY(-50%) rotate(-45deg)}.quarters.borders .quarter.hover{border-color:#0087ff}.quarters.borders .quarter.active{color:#fff!important;outline:0;border-color:#fff;background-color:#0087ff}.quarters .quarter{border:1px solid transparent;height:49%;width:49%;position:absolute;z-index:110;text-transform:uppercase}.quarters .quarter.active{color:#fff!important}.quarters .quarter.back{top:0;left:0;border-radius:100px 0 0}.quarters .quarter.back.active{border-radius:100px 0 0}.quarters .quarter.left{top:0;right:0;border-radius:0 100px 0 0}.quarters .quarter.left.active{border-radius:0 100px 0 0}.quarters .quarter.front{bottom:0;right:0;border-radius:0 0 100px}.quarters .quarter.front.active{border-radius:0 0 100px}.quarters .quarter.right{bottom:0;left:0;border-radius:0 0 0 100px}.quarters .quarter.right.active{border-radius:0 0 0 100px}.pg-overview{z-index:1;padding-bottom:110px}.pg-display-image{position:absolute;top:50%;left:50%;width:100%;height:auto;-webkit-transform:translateZ(0) translateX(-50%) translateY(-50%) scale3d(1,1,1);transform:translateZ(0) translate(-50%) translateY(-50%) scaleZ(1);z-index:2}.pg-display-image.flip-horizontal{-webkit-transform:translateZ(0) translateX(-50%) translateY(-50%) scale3d(1,1,1) scaleX(-1);transform:translateZ(0) translate(-50%) translateY(-50%) scaleZ(1) scaleX(-1)}.pg-display{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1}.pg-display.negative{background-color:#000!important}.pgfade-enter-from,.pgfade-enter-active,.pgfade-enter-to{z-index:2}.pgfade-leave-from,.pgfade-leave-active,.pgfade-leave-to{z-index:1}.pgfade-enter-active{transition:opacity .25s ease}.pgfade-enter-from{opacity:0}.pgfade-enter-to{opacity:1}.pgfade-leave-active{transition:none}.pg-interaction-detector{position:fixed;top:0;right:0;bottom:0;left:0;z-index:6}.pg-viewport{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2100;background-color:#fffffffc;transition:background-color .25s ease}.pg-viewport .loading-graphic{position:absolute;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.pg-viewport h1{position:fixed;line-height:100%;top:0;right:0;bottom:0;left:0;z-index:400;color:#000}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ import { ref as j, computed as y, watch as Ne, onBeforeMount as Co, defineComponent as T, h, openBlock as O, createBlock as _t, unref as A, createElementBlock as $, Fragment as Xe, renderList as Ze, createVNode as B, normalizeClass as mt, createElementVNode as De, toDisplayString as _o, onMounted as bt, onBeforeUnmount as Jt, Transition as qt, withDirectives as vt, vShow as yt, normalizeStyle as on, TransitionGroup as bo, withCtx as jt, inject as Io } from "vue";
3
+ import { useRoute as Po } from "vue-router";
4
+ import { defineStore as ie, getActivePinia as xo, storeToRefs as S } from "pinia";
5
+ import { getConfig as es, useDynamicImages as wo, DEFAULT as Me, SKINS as Gt, DURATION as Yt, NOTHING as Do, EFFECTS as St, CAMERA_ANGLE as xs, LIGHT_DIRECTION as ws, GENDER as Tt, GRID as Ds, POSE_DIRECTION as Ms, ADJUSTMENTS as As, slugify as Mo, useEventBus as rn, useFilterStyle as Ao, FlipAnimation as No, useWakeLock as Oo } from "@figurosity/toolbox";
6
+ import an from "lodash-es/debounce";
7
+ import { useQuasar as It, QSlider as ko, QSeparator as J, QCard as Lo, QItem as Vo, QItemSection as Ns, QIcon as Uo, QItemLabel as Os, QCardSection as Ro, QBtn as Oe, QPageSticky as Bo, QCircularProgress as $o } from "quasar";
8
+ import { CExpansion as me, CBaseButton as Qe, CBaseButtons as ln, CNewGridTool as zo, CBasicTool as ts, CAnimatedNumber as Ho, CGridOverlay as Fo, CFloatingModal as qo, CDraggableDrawer as cn, CDraggableDrawers as jo } from "@figurosity/consumer-controls";
9
+ import { historyCircle as un, contrast as dn, brightness as hn, shirt as Go, cameraAngle as Yo, bulbLight as Wo, venus as Xo, cameraOrientation as Zo, grid as Qo, refresh as Ko, pause as Jo, play as er } from "@figurosity/icons";
10
+ function tr(e, t) {
10
11
  for (var s = 0; s < t.length; s++) {
11
12
  const n = t[s];
12
13
  if (typeof n != "string" && !Array.isArray(n)) {
@@ -22,13 +23,13 @@ function er(e, t) {
22
23
  }
23
24
  return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
24
25
  }
25
- const tr = {
26
+ const sr = {
26
27
  models: {},
27
28
  collection: [],
28
29
  slugs: {},
29
30
  selected: [],
30
31
  playSelected: 1
31
- }, hn = {
32
+ }, pn = {
32
33
  random(e) {
33
34
  var s;
34
35
  if (!e.selected) return 1;
@@ -39,7 +40,7 @@ const tr = {
39
40
  return e.collection.length > 0 ? e.collection.map((t) => e.models[t]) : [];
40
41
  },
41
42
  propertyById: (e) => (t, s, n = null) => e.models[t] && s in e.models[t] ? e.models[t][s] : n
42
- }, pn = {
43
+ }, fn = {
43
44
  getRandom(e) {
44
45
  if (!this.selected) return;
45
46
  const t = new Set(e), s = [...new Set(this.selected.filter((n) => t.has(n)))];
@@ -101,15 +102,15 @@ const tr = {
101
102
  actions: n = {}
102
103
  }) => ie(e, {
103
104
  state: () => ({
104
- ...tr,
105
+ ...sr,
105
106
  ...t
106
107
  }),
107
108
  getters: {
108
- ...hn,
109
+ ...pn,
109
110
  ...s
110
111
  },
111
112
  actions: {
112
- ...pn,
113
+ ...fn,
113
114
  ...n
114
115
  }
115
116
  });
@@ -119,22 +120,23 @@ function Le(e) {
119
120
  type: "conjunction"
120
121
  }).format(e) : e.length === 1 ? e[0] : e.length === 2 ? `${e[0]} and ${e[1]}` : `${e.slice(0, -1).join(", ")} and ${e[e.length - 1]}` : "";
121
122
  }
122
- const sr = {}, nr = {
123
+ const nr = {}, or = {
123
124
  src(e) {
124
125
  return (t) => {
125
126
  const s = this.propertyById(t, "slug");
126
- if (s)
127
- return `undefined/pose-generator/camera-angles/camera-${s}.webp`;
127
+ if (!s) return;
128
+ const { staticServer: n } = es();
129
+ return `${n}/pose-generator/camera-angles/camera-${s}.webp`;
128
130
  };
129
131
  },
130
132
  caption(e) {
131
133
  return Le(e.selected.map((t) => e.models[t].name));
132
134
  }
133
- }, or = {}, pe = ke({
135
+ }, rr = {}, pe = ke({
134
136
  storeId: "pg-cameras",
135
- state: sr,
136
- getters: nr,
137
- actions: or
137
+ state: nr,
138
+ getters: or,
139
+ actions: rr
138
140
  }), je = 100, Ge = 100, Ye = 100, ge = ie("pg-adjustments", {
139
141
  state: () => ({
140
142
  brightness: je,
@@ -185,8 +187,8 @@ const sr = {}, nr = {
185
187
  this.$reset();
186
188
  }
187
189
  }
188
- }), { setSelected: rr } = pn;
189
- function Os(e, t = !0) {
190
+ }), { setSelected: ir } = fn;
191
+ function ks(e, t = !0) {
190
192
  if (!e) return t ? "0s" : "0 seconds";
191
193
  const s = e === 1 ? "second" : "seconds";
192
194
  if (e < 60)
@@ -216,16 +218,16 @@ const Z = ie("pg-durations", {
216
218
  return e.collection.findIndex((s) => String(s) === String(t));
217
219
  },
218
220
  title(e) {
219
- return Os(e.duration, !1);
221
+ return ks(e.duration, !1);
220
222
  },
221
223
  values(e) {
222
224
  const t = e.models;
223
225
  return e.collection.map((n, r) => ({
224
226
  value: r,
225
- label: Os(t[n].seconds)
227
+ label: ks(t[n].seconds)
226
228
  })) || [];
227
229
  },
228
- ...hn
230
+ ...pn
229
231
  },
230
232
  actions: {
231
233
  customReset() {
@@ -239,7 +241,7 @@ const Z = ie("pg-durations", {
239
241
  s.selected = t.id;
240
242
  });
241
243
  },
242
- setSelected: rr,
244
+ setSelected: ir,
243
245
  setState(e) {
244
246
  if (!e)
245
247
  throw new Error(this.$id + " entities must not be null");
@@ -253,14 +255,15 @@ const Z = ie("pg-durations", {
253
255
  });
254
256
  }
255
257
  }
256
- }), ir = void 0, ar = void 0;
258
+ });
257
259
  function Ke() {
258
- return xo({ freeServer: ir, paidServer: ar });
260
+ const { freeServer: e, paidServer: t } = es();
261
+ return wo({ freeServer: e, paidServer: t });
259
262
  }
260
- const lr = {
263
+ const ar = {
261
264
  uuid: void 0,
262
265
  playSelected: 1
263
- }, cr = {
266
+ }, lr = {
264
267
  src(e) {
265
268
  return (t) => {
266
269
  const { getThumbnail: s } = Ke();
@@ -274,7 +277,7 @@ const lr = {
274
277
  var t, s;
275
278
  return ((s = (t = e.models) == null ? void 0 : t[e.playSelected]) == null ? void 0 : s.name) || "Normal";
276
279
  }
277
- }, ur = {
280
+ }, cr = {
278
281
  getSrc(e, t) {
279
282
  const { getThumbnail: s } = Ke();
280
283
  return t = t || this.uuid, s({ uuid: t, image: e });
@@ -305,13 +308,13 @@ const lr = {
305
308
  }
306
309
  }, V = ke({
307
310
  storeId: "pg-skins",
308
- state: lr,
309
- getters: cr,
310
- actions: ur
311
- }), dr = {
311
+ state: ar,
312
+ getters: lr,
313
+ actions: cr
314
+ }), ur = {
312
315
  selected: 1,
313
316
  playSelected: 1
314
- }, hr = {
317
+ }, dr = {
315
318
  src(e) {
316
319
  return (t = "none") => {
317
320
  const { getThumbnail: s } = Ke(), n = t === "negative" ? "000000" : "ffffff", r = V();
@@ -352,7 +355,7 @@ const lr = {
352
355
  return s.name;
353
356
  };
354
357
  }
355
- }, pr = {
358
+ }, hr = {
356
359
  setSelected(e, t = !1) {
357
360
  if (t) {
358
361
  this.$patch((s) => {
@@ -374,24 +377,24 @@ const lr = {
374
377
  }
375
378
  }, R = ke({
376
379
  storeId: "pg-effects",
377
- state: dr,
378
- getters: hr,
379
- actions: pr
380
- }), fr = {}, gr = {
380
+ state: ur,
381
+ getters: dr,
382
+ actions: hr
383
+ }), pr = {}, fr = {
381
384
  caption(e) {
382
385
  return Le(e.selected.map((t) => e.models[t].name));
383
386
  }
384
- }, mr = {}, re = ke({
387
+ }, gr = {}, re = ke({
385
388
  storeId: "pg-genders",
386
- state: fr,
387
- getters: gr,
388
- actions: mr
389
- }), ks = 0, Ls = 20, Vs = 0, vr = !1, Ie = ie("pg-grid", {
389
+ state: pr,
390
+ getters: fr,
391
+ actions: gr
392
+ }), Ls = 0, Vs = 20, Us = 0, mr = !1, Ie = ie("pg-grid", {
390
393
  state: () => ({
391
- visible: vr,
392
- spacing: Ls,
393
- horizontal: ks,
394
- vertical: Vs
394
+ visible: mr,
395
+ spacing: Vs,
396
+ horizontal: Ls,
397
+ vertical: Us
395
398
  }),
396
399
  getters: {
397
400
  changed: (e) => e.visible === !0,
@@ -405,9 +408,9 @@ const lr = {
405
408
  throw new Error(this.$id + " result must not be null");
406
409
  this.$patch({
407
410
  visible: e.visible === 1,
408
- spacing: e.spacing || Ls,
409
- horizontal: e.horizontal || ks,
410
- vertical: e.vertical || Vs
411
+ spacing: e.spacing || Vs,
412
+ horizontal: e.horizontal || Ls,
413
+ vertical: e.vertical || Us
411
414
  });
412
415
  },
413
416
  customReset() {
@@ -439,31 +442,33 @@ const lr = {
439
442
  });
440
443
  }
441
444
  }
442
- }), yr = {}, Er = {
445
+ }), vr = {}, yr = {
443
446
  src(e) {
444
447
  return (t) => {
445
448
  const s = this.propertyById(t, "slug");
446
- return s ? `undefined/pose-generator/light-direction/from-${s}.webp` : void 0;
449
+ if (!s) return;
450
+ const { staticServer: n } = es();
451
+ return `${n}/pose-generator/light-direction/from-${s}.webp`;
447
452
  };
448
453
  },
449
454
  caption(e) {
450
455
  return Le(e.selected.map((t) => e.models[t].name));
451
456
  }
452
- }, Sr = {}, ee = ke({
457
+ }, Er = {}, ee = ke({
453
458
  storeId: "pg-lights",
454
- state: yr,
455
- getters: Er,
456
- actions: Sr
459
+ state: vr,
460
+ getters: yr,
461
+ actions: Er
457
462
  });
458
- function Tr(e) {
463
+ function Sr(e) {
459
464
  return function() {
460
465
  e = e + 1831565813 >>> 0;
461
466
  let t = Math.imul(e ^ e >>> 15, e | 1);
462
467
  return t ^= t + Math.imul(t ^ t >>> 7, t | 61), ((t ^ t >>> 14) >>> 0) / 4294967296;
463
468
  };
464
469
  }
465
- function Cr(e, t) {
466
- const s = e.slice(), n = Tr(t ?? Date.now() & 4294967295);
470
+ function Tr(e, t) {
471
+ const s = e.slice(), n = Sr(t ?? Date.now() & 4294967295);
467
472
  for (let r = s.length - 1; r > 0; r--) {
468
473
  const a = Math.floor(n() * (r + 1));
469
474
  [s[r], s[a]] = [s[a], s[r]];
@@ -526,7 +531,7 @@ const Pe = ie("pg-poses", {
526
531
  randomTake(e, t = {}) {
527
532
  var a;
528
533
  const n = ((a = this.candidates) == null ? void 0 : a.call(this, t)).filter((c) => !this.seen.has(c));
529
- return n.length ? Cr(n, this.seed).slice(0, e) : [];
534
+ return n.length ? Tr(n, this.seed).slice(0, e) : [];
530
535
  },
531
536
  async addToSeen(e) {
532
537
  this.seen.add(parseInt(e)), await this.ensureUnseen({ minUnseen: 25 });
@@ -559,11 +564,11 @@ const Pe = ie("pg-poses", {
559
564
  })();
560
565
  }
561
566
  }
562
- }), _r = {}, br = {
567
+ }), Cr = {}, _r = {
563
568
  caption(e) {
564
569
  return Le(e.selected.map((t) => e.models[t].name));
565
570
  }
566
- }, Ir = {
571
+ }, br = {
567
572
  getRandom(e) {
568
573
  const s = (c) => (c % 36 + 36) % 36, n = {
569
574
  1: [[-4, 4]],
@@ -589,10 +594,10 @@ const Pe = ie("pg-poses", {
589
594
  }
590
595
  }, fe = ke({
591
596
  storeId: "pg-positions",
592
- state: _r,
593
- getters: br,
594
- actions: Ir
595
- }), Us = {
597
+ state: Cr,
598
+ getters: _r,
599
+ actions: br
600
+ }), Rs = {
596
601
  entities: {
597
602
  cameras: {
598
603
  1: {
@@ -842,7 +847,7 @@ const Pe = ie("pg-poses", {
842
847
  },
843
848
  actions: {
844
849
  init() {
845
- const e = Us.entities, t = Us.result;
850
+ const e = Rs.entities, t = Rs.result;
846
851
  this.updateStatesFromEntities(e);
847
852
  const s = V();
848
853
  s.uuid = t.setUuid;
@@ -879,7 +884,7 @@ const Pe = ie("pg-poses", {
879
884
  }).catch((t) => {
880
885
  });
881
886
  },
882
- setSettings: rn(
887
+ setSettings: an(
883
888
  function() {
884
889
  console.log("setSettings"), this.internalSettings();
885
890
  },
@@ -1053,7 +1058,7 @@ const Pt = ie("pg-count", {
1053
1058
  typeof e == "number" && (this.ttlMs = e), typeof t == "number" && (this.maxEntries = t);
1054
1059
  }
1055
1060
  }
1056
- }), Et = 0, Wt = 1, Pr = 2, fn = 3, Xt = 4, gn = 5, xr = {
1061
+ }), Et = 0, Wt = 1, Ir = 2, gn = 3, Xt = 4, mn = 5, Pr = {
1057
1062
  /**
1058
1063
  * Load the image and update the status of the
1059
1064
  * @param context
@@ -1064,21 +1069,21 @@ const Pt = ie("pg-count", {
1064
1069
  loadImage({ url: e, callback: t = null }) {
1065
1070
  if (typeof Image > "u")
1066
1071
  throw t && typeof t == "function" && t(e, Wt), new Error("Image() constructor does not exist.");
1067
- t && typeof t == "function" && t(e, Pr);
1072
+ t && typeof t == "function" && t(e, Ir);
1068
1073
  let s = new Image();
1069
1074
  s.onabort = function(n) {
1070
- t && typeof t == "function" && t(e, fn), this.onerror = this.onabort = this.onload = null;
1075
+ t && typeof t == "function" && t(e, gn), this.onerror = this.onabort = this.onload = null;
1071
1076
  }, s.onerror = function(n) {
1072
1077
  t && typeof t == "function" && t(e, Wt), this.onerror = this.onabort = this.onload = null;
1073
1078
  }, s.onload = function(n) {
1074
- t && typeof t == "function" && t(e, gn), this.onerror = this.onabort = this.onload = null;
1079
+ t && typeof t == "function" && t(e, mn), this.onerror = this.onabort = this.onload = null;
1075
1080
  }, s.src = e, t && typeof t == "function" && t(e, Xt);
1076
1081
  }
1077
1082
  };
1078
- function wr(e, t) {
1083
+ function xr(e, t) {
1079
1084
  return Object.values(e).find((s) => s.src === t);
1080
1085
  }
1081
- function Dr({
1086
+ function wr({
1082
1087
  poseId: e,
1083
1088
  index: t,
1084
1089
  skinId: s,
@@ -1088,12 +1093,12 @@ function Dr({
1088
1093
  const a = R(), d = V().getSlugById(s), u = a.getSlugById(n);
1089
1094
  return `/figure-drawing-poses/${e}/${d}/${u}/${t}/${r === 1 ? 1 : 0}`;
1090
1095
  }
1091
- function mn(e, t = "lg") {
1096
+ function vn(e, t = "lg") {
1092
1097
  if (!e) return;
1093
1098
  const { getPoseSmall: s, getPoseLarge: n } = Ke(), r = We(e);
1094
- return r.size = t, vn(r);
1099
+ return r.size = t, yn(r);
1095
1100
  }
1096
- function vn({
1101
+ function yn({
1097
1102
  poseId: e,
1098
1103
  index: t,
1099
1104
  skinId: s,
@@ -1119,12 +1124,12 @@ function $t(e) {
1119
1124
  const t = e.split(".");
1120
1125
  return {
1121
1126
  id: e,
1122
- src: mn(e),
1127
+ src: vn(e),
1123
1128
  status: Et,
1124
1129
  flipped: t[2] === 1
1125
1130
  };
1126
1131
  }
1127
- function Mr(e) {
1132
+ function Dr(e) {
1128
1133
  const t = Pe(), s = ee(), n = R(), r = V(), a = fe(), c = t.models[e];
1129
1134
  return [
1130
1135
  e,
@@ -1160,16 +1165,16 @@ const X = ie("pg-history", {
1160
1165
  const t = R(), s = V(), n = this.history[this.index];
1161
1166
  if (!n) return;
1162
1167
  const r = We(n);
1163
- return r.effectId = t.playSelected, r.skinId = s.playSelected, vn(r);
1168
+ return r.effectId = t.playSelected, r.skinId = s.playSelected, yn(r);
1164
1169
  },
1165
1170
  previewSrc(e) {
1166
- return mn(e.queue[0], "sm");
1171
+ return vn(e.queue[0], "sm");
1167
1172
  },
1168
1173
  view360Path(e) {
1169
1174
  const t = e.index >= 0 && e.index < e.history.length ? e.history[e.index] : void 0;
1170
1175
  if (!t) return;
1171
1176
  const s = R(), n = V(), r = We(t);
1172
- return r.effectId = s.playSelected, r.skinId = n.playSelected, Dr(r);
1177
+ return r.effectId = s.playSelected, r.skinId = n.playSelected, wr(r);
1173
1178
  },
1174
1179
  previewFlipped(e) {
1175
1180
  const t = e.queue[0];
@@ -1234,7 +1239,7 @@ const X = ie("pg-history", {
1234
1239
  }
1235
1240
  },
1236
1241
  actions: {
1237
- ...xr,
1242
+ ...Pr,
1238
1243
  init() {
1239
1244
  },
1240
1245
  resetQueue() {
@@ -1244,7 +1249,7 @@ const X = ie("pg-history", {
1244
1249
  const e = Pt(), t = Pe(), s = e.filters, n = t.randomTake(20, s), r = [];
1245
1250
  if (n.forEach((d) => {
1246
1251
  try {
1247
- const u = Mr(d);
1252
+ const u = Dr(d);
1248
1253
  r.push(u);
1249
1254
  } catch (u) {
1250
1255
  console.error("error", u);
@@ -1305,7 +1310,7 @@ const X = ie("pg-history", {
1305
1310
  t.playSelected = a, e.playSelected = r;
1306
1311
  },
1307
1312
  updateStatus(e, t) {
1308
- const s = wr(this.models, e);
1313
+ const s = xr(this.models, e);
1309
1314
  s && (this.models[s.id].status = t);
1310
1315
  },
1311
1316
  _preloadQueue(e = 5) {
@@ -1316,7 +1321,7 @@ const X = ie("pg-history", {
1316
1321
  if ((r === Et || r === Xt) && this.loadImage({
1317
1322
  url: n.src,
1318
1323
  callback: this.updateStatus
1319
- }), r === Wt || r === fn) {
1324
+ }), r === Wt || r === gn) {
1320
1325
  delete this.models[s];
1321
1326
  const a = this.queue.indexOf(s);
1322
1327
  a !== -1 && this.queue.splice(a, 1);
@@ -1325,7 +1330,7 @@ const X = ie("pg-history", {
1325
1330
  this.queue.length < 5 && this.loadQueue();
1326
1331
  }
1327
1332
  }
1328
- }), Rs = 0, Ct = 1, zt = 2, he = ie("pg-timer", {
1333
+ }), Bs = 0, Ct = 1, zt = 2, he = ie("pg-timer", {
1329
1334
  state: () => ({
1330
1335
  status: Ct,
1331
1336
  interval: 0,
@@ -1343,7 +1348,7 @@ const X = ie("pg-history", {
1343
1348
  return e.status === zt;
1344
1349
  },
1345
1350
  paused(e) {
1346
- return e.status === Rs;
1351
+ return e.status === Bs;
1347
1352
  }
1348
1353
  },
1349
1354
  actions: {
@@ -1354,7 +1359,7 @@ const X = ie("pg-history", {
1354
1359
  pause() {
1355
1360
  clearInterval(this.interval), this.$patch({
1356
1361
  interval: 0,
1357
- status: Rs
1362
+ status: Bs
1358
1363
  });
1359
1364
  },
1360
1365
  restart() {
@@ -1412,12 +1417,12 @@ const X = ie("pg-history", {
1412
1417
  });
1413
1418
  }
1414
1419
  }
1415
- }), Bs = 0, gt = 1, Ar = 2, Te = ie("pg-controls", {
1420
+ }), $s = 0, gt = 1, Mr = 2, Te = ie("pg-controls", {
1416
1421
  state: () => ({
1417
1422
  timer: !0,
1418
1423
  next: !0,
1419
1424
  show: !1,
1420
- status: Bs
1425
+ status: $s
1421
1426
  }),
1422
1427
  getters: {
1423
1428
  /**
@@ -1452,13 +1457,13 @@ const X = ie("pg-history", {
1452
1457
  */
1453
1458
  close() {
1454
1459
  const e = he(), t = X(), s = k();
1455
- e.stop(), this.show = !1, this.status = Bs, t.reset(), s.$patch({ active: Me, playActive: Me });
1460
+ e.stop(), this.show = !1, this.status = $s, t.reset(), s.$patch({ active: Me, playActive: Me });
1456
1461
  },
1457
1462
  /**
1458
1463
  * Check if currently inside of history, if so increment history index
1459
1464
  * if not load from the queue
1460
1465
  */
1461
- next: rn(
1466
+ next: an(
1462
1467
  function() {
1463
1468
  X().next(), this.resetOrRestartTimer();
1464
1469
  },
@@ -1477,7 +1482,7 @@ const X = ie("pg-history", {
1477
1482
  */
1478
1483
  pause() {
1479
1484
  const e = he();
1480
- this.status = Ar, e.pause();
1485
+ this.status = Mr, e.pause();
1481
1486
  },
1482
1487
  /**
1483
1488
  *
@@ -1516,12 +1521,12 @@ const X = ie("pg-history", {
1516
1521
  }, 250);
1517
1522
  }
1518
1523
  }
1519
- }), $s = /* @__PURE__ */ Object.assign({ "../i18n/en-US/index.js": () => import("./index-BMl4y9AI.js") }), M = (e = "../i18n") => {
1524
+ }), zs = /* @__PURE__ */ Object.assign({ "../i18n/en-US/index.js": () => import("./index-BMl4y9AI.js") }), M = (e = "../i18n") => {
1520
1525
  const t = It(), s = j({}), n = y(() => t.lang.isoName || "en-US"), r = async () => {
1521
1526
  const a = `${e}/${n.value}/index.js`;
1522
- if ($s[a])
1527
+ if (zs[a])
1523
1528
  try {
1524
- const c = await $s[a]();
1529
+ const c = await zs[a]();
1525
1530
  c.default && Object.assign(s.value, c.default);
1526
1531
  } catch (c) {
1527
1532
  console.error(`Error loading i18n for ${n.value}`, c);
@@ -1535,23 +1540,23 @@ const X = ie("pg-history", {
1535
1540
  r();
1536
1541
  },
1537
1542
  { immediate: !0 }
1538
- ), To(() => {
1543
+ ), Co(() => {
1539
1544
  r();
1540
1545
  }), { lang: s };
1541
1546
  }, ae = ({
1542
- tab: e = wo,
1547
+ tab: e = Do,
1543
1548
  store: t,
1544
1549
  options: s = [],
1545
1550
  playMode: n = !1
1546
1551
  }) => {
1547
- const r = Po(), a = k(r), c = y({
1552
+ const r = xo(), a = k(r), c = y({
1548
1553
  get: () => a.isExpanded(s, n),
1549
1554
  set: (f) => {
1550
1555
  f && a.setActive(e, n);
1551
1556
  }
1552
1557
  }), d = y(() => t && t.changed);
1553
1558
  return { click: () => a.setActive(e, n), expanded: c, selected: d };
1554
- }, yn = T({
1559
+ }, En = T({
1555
1560
  name: "PgDurationsTool",
1556
1561
  setup(e, { slots: t, emit: s }) {
1557
1562
  const n = k(), r = Z(), { loading: a } = S(n), { collectedModels: c, values: d } = S(r), u = y({
@@ -1573,7 +1578,7 @@ const X = ie("pg-history", {
1573
1578
  };
1574
1579
  return [
1575
1580
  h("div", { class: "q-mx-lg q-mt-sm q-mb-lg" }, [
1576
- h(Oo, g, {
1581
+ h(ko, g, {
1577
1582
  // single label slot, Quasar passes { index, label }
1578
1583
  "marker-label": ({ marker: v }) => {
1579
1584
  const C = { ...v.style, cursor: "default" };
@@ -1599,7 +1604,7 @@ const X = ie("pg-history", {
1599
1604
  }
1600
1605
  return () => f();
1601
1606
  }
1602
- }), Nr = T({
1607
+ }), Ar = T({
1603
1608
  name: "PgDurationsExpansion",
1604
1609
  setup(e, { slots: t, emit: s }) {
1605
1610
  const { lang: n } = M(), r = Z(), { title: a } = S(r), { expanded: c } = ae({
@@ -1616,13 +1621,13 @@ const X = ie("pg-history", {
1616
1621
  "onUpdate:modelValue": (g) => c.value = g,
1617
1622
  label: d.value,
1618
1623
  caption: a.value,
1619
- icon: cn
1624
+ icon: un
1620
1625
  };
1621
- return h(me, f, () => h(yn));
1626
+ return h(me, f, () => h(En));
1622
1627
  }
1623
1628
  return () => u();
1624
1629
  }
1625
- }), Or = T({
1630
+ }), Nr = T({
1626
1631
  name: "PgSkinsToolButton",
1627
1632
  props: {
1628
1633
  id: Number,
@@ -1659,7 +1664,7 @@ const X = ie("pg-history", {
1659
1664
  }
1660
1665
  return () => P();
1661
1666
  }
1662
- }), ts = T({
1667
+ }), ss = T({
1663
1668
  name: "PgSkinsTool",
1664
1669
  props: {
1665
1670
  noWrap: Boolean,
@@ -1696,12 +1701,12 @@ const X = ie("pg-history", {
1696
1701
  slug: C.slug,
1697
1702
  class: "q-ma-xs"
1698
1703
  };
1699
- u.value && (_.uuid = u.value), v.push(h(Or, _));
1700
- }), h(an, {}, () => v);
1704
+ u.value && (_.uuid = u.value), v.push(h(Nr, _));
1705
+ }), h(ln, {}, () => v);
1701
1706
  }
1702
1707
  return () => f();
1703
1708
  }
1704
- }), kr = "M9.49816 16.125C8.73787 16.125 8.11581 16.7437 8.11581 17.5V39.5C8.11581 40.2563 8.73787 40.875 9.49816 40.875H31.6158C32.3761 40.875 32.9982 40.2563 32.9982 39.5V17.5C32.9982 16.7437 32.3761 16.125 31.6158 16.125H9.49816ZM3.96875 17.5C3.96875 14.4664 6.44835 12 9.49816 12H31.6158C34.6656 12 37.1452 14.4664 37.1452 17.5V39.5C37.1452 42.5336 34.6656 45 31.6158 45H9.49816C6.44835 45 3.96875 42.5336 3.96875 39.5V17.5ZM47.6511 16.5375C48.014 16.2711 48.446 16.125 48.8952 16.125C50.0443 16.125 50.9688 17.0445 50.9688 18.1875V38.8125C50.9688 39.9555 50.0443 40.875 48.8952 40.875C48.446 40.875 48.014 40.7289 47.6511 40.4625L41.2923 35.7188V30.5625L46.8217 34.6875V22.3125L41.2923 26.4375V21.2812L47.6511 16.5375zM21.6892 29.2971C20.618 29.3471 19.7271 29.4371 19.0165 29.567C18.3059 29.687 17.7384 29.8469 17.3142 30.0469C16.9006 30.2468 16.6036 30.4767 16.4233 30.7366C16.2536 30.9866 16.1688 31.2615 16.1688 31.5614C16.1688 32.1612 16.3438 32.5861 16.6937 32.836C17.0544 33.0859 17.5528 33.2109 18.1892 33.2109C18.921 33.2109 19.5521 33.0909 20.0824 32.851C20.6233 32.6011 21.1589 32.2162 21.6892 31.6963V29.2971ZM12.7483 22.4442C13.7134 21.6245 14.7794 21.0147 15.946 20.6148C17.1127 20.2049 18.3748 20 19.7324 20C20.7081 20 21.5778 20.15 22.3415 20.4499C23.1157 20.7498 23.768 21.1696 24.2983 21.7095C24.8392 22.2393 25.2528 22.8741 25.5392 23.6139C25.8256 24.3536 25.9687 25.1634 25.9687 26.0431V35.7601H23.9642C23.5506 35.7601 23.2324 35.7051 23.0097 35.5951C22.7975 35.4852 22.6225 35.2552 22.4847 34.9053L22.1347 33.9157C21.721 34.2555 21.318 34.5555 20.9256 34.8154C20.5437 35.0753 20.146 35.2952 19.7324 35.4752C19.3188 35.6451 18.8733 35.7751 18.396 35.865C17.9294 35.955 17.4044 36 16.821 36C16.0998 36 15.4422 35.91 14.8483 35.7301C14.2544 35.5501 13.74 35.2852 13.3051 34.9353C12.8809 34.5754 12.5521 34.1306 12.3187 33.6007C12.0854 33.0709 11.9688 32.4611 11.9688 31.7713C11.9688 31.2015 12.1225 30.6317 12.4301 30.0619C12.7377 29.492 13.2627 28.9772 14.0051 28.5173C14.7581 28.0475 15.7551 27.6626 16.996 27.3627C18.2475 27.0528 19.8119 26.8778 21.6892 26.8379V26.0431C21.6892 25.0734 21.4718 24.3636 21.0369 23.9138C20.6021 23.4539 19.9763 23.224 19.1597 23.224C18.5551 23.224 18.0513 23.294 17.6483 23.4339C17.2453 23.5639 16.89 23.7088 16.5824 23.8688C16.2854 24.0187 16.0044 24.1637 15.7392 24.3037C15.4741 24.4336 15.1665 24.4986 14.8165 24.4986C14.5089 24.4986 14.2491 24.4286 14.0369 24.2887C13.8354 24.1387 13.6657 23.9638 13.5278 23.7638L12.7483 22.4442Z|0 0 56 56", Lr = "M40.3077 8.63218C39.2846 8.63218 38.4615 7.8225 38.4615 6.81609C38.4615 5.80967 39.2846 5 40.3077 5H50.1538C51.1769 5 52 5.80967 52 6.81609V16.5019C52 17.5083 51.1769 18.318 50.1538 18.318C49.1308 18.318 48.3077 17.5083 48.3077 16.5019V11.1974L42.5462 16.8651C44.6 19.2033 45.8462 22.2453 45.8462 25.5823C45.8462 32.9375 39.7846 38.9003 32.3077 38.9003C29.5846 38.9003 27.0462 38.1058 24.9231 36.7437C23.2846 37.7955 21.4077 38.5068 19.3769 38.7717C19.3769 38.8095 19.3846 38.8549 19.3846 38.8927V42.5249H23.0769C24.1 42.5249 24.9231 43.3346 24.9231 44.341C24.9231 45.3474 24.1 46.1571 23.0769 46.1571H19.3846V49.1839C19.3846 50.1903 18.5615 51 17.5385 51C16.5154 51 15.6923 50.1903 15.6923 49.1839V46.1571H12C10.9769 46.1571 10.1538 45.3474 10.1538 44.341C10.1538 43.3346 10.9769 42.5249 12 42.5249H15.6923V38.8927C15.6923 38.8549 15.6923 38.8095 15.7 38.7717C9.09231 37.8863 4 32.317 4 25.5748C4 18.2196 10.0615 12.2568 17.5385 12.2568C20.2615 12.2568 22.8 13.0513 24.9231 14.4134C27.0462 13.0513 29.5846 12.2568 32.3077 12.2568C35.0615 12.2568 37.6308 13.0665 39.7692 14.4588L45.7 8.63218H40.3077ZM22 16.9483C20.6615 16.2749 19.1462 15.8965 17.5385 15.8965C12.1 15.8965 7.69231 20.2324 7.69231 25.5823C7.69231 30.9322 12.1 35.2681 17.5385 35.2681C19.1462 35.2681 20.6615 34.8898 22 34.2163C19.9846 31.8932 18.7692 28.874 18.7692 25.5823C18.7692 22.2907 19.9846 19.2714 22 16.9483ZM24.9231 31.9916C26.4538 30.2815 27.3846 28.0416 27.3846 25.5823C27.3846 23.123 26.4538 20.8832 24.9231 19.1731C23.3923 20.8832 22.4615 23.123 22.4615 25.5823C22.4615 28.0416 23.3923 30.2815 24.9231 31.9916ZM27.8462 34.2239C29.1846 34.8974 30.7 35.2757 32.3077 35.2757C37.7462 35.2757 42.1538 30.9398 42.1538 25.5899C42.1538 20.24 37.7462 15.8965 32.3077 15.8965C30.7 15.8965 29.1846 16.2749 27.8462 16.9483C29.8615 19.2714 31.0769 22.2907 31.0769 25.5823C31.0769 28.874 29.8615 31.8932 27.8462 34.2163V34.2239Z|0 0 56 56", Vr = "M38.35 22.875C38.35 25.65 37.2719 28.1648 35.5109 30.0365C33.98 31.6553 32.2838 33.9389 31.68 36.75H24.32C23.7162 33.9316 22.02 31.6553 20.4891 30.0365C18.7281 28.1648 17.65 25.65 17.65 22.875C17.65 17.1299 22.2859 12.4688 28 12.4688C33.7141 12.4688 38.35 17.1299 38.35 22.875ZM34.9 38.8963C34.9 36.4176 36.3159 34.2207 38.0122 32.4213C40.3625 29.9354 41.8 26.575 41.8 22.875C41.8 15.2148 35.6187 9 28 9C20.3812 9 14.2 15.2148 14.2 22.875C14.2 26.575 15.6375 29.9354 17.9878 32.4213C19.6841 34.2207 21.1 36.4176 21.1 38.8963V40.2188C21.1 43.4129 23.6731 46 26.85 46H29.15C32.3269 46 34.9 43.4129 34.9 40.2188V38.8963ZM27.425 19.4062C28.3809 19.4062 29.15 18.633 29.15 17.6719C29.15 16.7107 28.3809 15.9375 27.425 15.9375C23.9319 15.9375 21.1 18.7848 21.1 22.2969C21.1 23.258 21.8691 24.0312 22.825 24.0312C23.7809 24.0312 24.55 23.258 24.55 22.2969C24.55 20.6998 25.8366 19.4062 27.425 19.4062ZM9.21906 10.915C8.36375 10.4887 7.32875 10.8355 6.90469 11.6883C6.48062 12.541 6.82562 13.5889 7.68094 14.0225L9.98094 15.1787C10.8363 15.6051 11.8712 15.2582 12.2953 14.4055C12.7194 13.5527 12.3744 12.5049 11.5262 12.0785L9.22625 10.9223L9.21906 10.915ZM48.3191 14.0152C49.1744 13.5889 49.5194 12.5482 49.0881 11.6883C48.6569 10.8283 47.6291 10.4814 46.7738 10.915L44.4738 12.0713C43.6184 12.4977 43.2734 13.5383 43.7047 14.3982C44.1359 15.2582 45.1637 15.6051 46.0191 15.1715L48.3191 14.0152ZM6.725 21.1406C5.76906 21.1406 5 21.9139 5 22.875C5 23.8361 5.76906 24.6094 6.725 24.6094H9.025C9.98094 24.6094 10.75 23.8361 10.75 22.875C10.75 21.9139 9.98094 21.1406 9.025 21.1406H6.725ZM46.975 21.1406C46.0191 21.1406 45.25 21.9139 45.25 22.875C45.25 23.8361 46.0191 24.6094 46.975 24.6094H49.275C50.2309 24.6094 51 23.8361 51 22.875C51 21.9139 50.2309 21.1406 49.275 21.1406H46.975ZM11.5191 33.6787C12.3744 33.2523 12.7194 32.2117 12.2881 31.3518C11.8569 30.4918 10.8291 30.1449 9.97375 30.5785L7.67375 31.7348C6.81844 32.1611 6.47344 33.2018 6.90469 34.0617C7.33594 34.9217 8.36375 35.2686 9.21906 34.835L11.5191 33.6787ZM46.0191 30.5785C45.1637 30.1521 44.1287 30.499 43.7047 31.3518C43.2806 32.2045 43.6256 33.2523 44.4738 33.6787L46.7738 34.835C47.6291 35.2613 48.6641 34.9145 49.0881 34.0617C49.5122 33.209 49.1672 32.1611 48.3191 31.7348L46.0191 30.5785Z|0 0 56 56", Ur = "M9.49816 16.125C8.73787 16.125 8.11581 16.7437 8.11581 17.5V39.5C8.11581 40.2563 8.73787 40.875 9.49816 40.875H31.6158C32.3761 40.875 32.9982 40.2563 32.9982 39.5V17.5C32.9982 16.7437 32.3761 16.125 31.6158 16.125H9.49816ZM3.96875 17.5C3.96875 14.4664 6.44835 12 9.49816 12H31.6158C34.6656 12 37.1452 14.4664 37.1452 17.5V39.5C37.1452 42.5336 34.6656 45 31.6158 45H9.49816C6.44835 45 3.96875 42.5336 3.96875 39.5V17.5ZM47.6511 16.5375C48.014 16.2711 48.446 16.125 48.8952 16.125C50.0443 16.125 50.9688 17.0445 50.9688 18.1875V38.8125C50.9688 39.9555 50.0443 40.875 48.8952 40.875C48.446 40.875 48.014 40.7289 47.6511 40.4625L41.2923 35.7188V30.5625L46.8217 34.6875V22.3125L41.2923 26.4375V21.2812L47.6511 16.5375zM20.9919 20C22.1874 20 23.2747 20.1858 24.2538 20.5574C25.2328 20.9291 26.0728 21.4614 26.7736 22.1544C27.4744 22.8374 28.0155 23.6711 28.3968 24.6554C28.7781 25.6397 28.9688 26.7495 28.9688 27.9849C28.9688 29.2203 28.7781 30.3352 28.3968 31.3296C28.0155 32.3139 27.4744 33.1525 26.7736 33.8456C26.0728 34.5386 25.2328 35.0709 24.2538 35.4426C23.2747 35.8142 22.1874 36 20.9919 36C19.7861 36 18.6886 35.8142 17.6992 35.4426C16.7201 35.0709 15.8802 34.5386 15.1794 33.8456C14.4786 33.1525 13.9324 32.3139 13.5407 31.3296C13.1594 30.3352 12.9688 29.2203 12.9688 27.9849C12.9688 26.7495 13.1594 25.6397 13.5407 24.6554C13.9324 23.6711 14.4786 22.8374 15.1794 22.1544C15.8802 21.4614 16.7201 20.9291 17.6992 20.5574C18.6886 20.1858 19.7861 20 20.9919 20ZM20.9919 32.8814C22.208 32.8814 23.1098 32.4746 23.6973 31.661C24.2847 30.8374 24.5784 29.6171 24.5784 28C24.5784 26.393 24.2847 25.1827 23.6973 24.3691C23.1098 23.5455 22.208 23.1337 20.9919 23.1337C19.7449 23.1337 18.8277 23.5455 18.2402 24.3691C17.6528 25.1827 17.3591 26.393 17.3591 28C17.3591 29.6171 17.6528 30.8374 18.2402 31.661C18.8277 32.4746 19.7449 32.8814 20.9919 32.8814Z|0 0 56 56", Rr = "M17.2632 11.643C17.8471 11.1836 18.5626 10.9375 19.3028 10.9375H19.6811C20.5694 14.7027 23.9578 17.5 28.0041 17.5C32.0505 17.5 35.4389 14.7027 36.3271 10.9375H36.7054C37.4456 10.9375 38.1611 11.1836 38.745 11.643L48.4003 19.2473L44.4527 25.3832L40.1514 22.9961C39.5428 22.6598 38.7944 22.668 38.194 23.0207C37.5936 23.3734 37.2153 24.0215 37.2153 24.7188V44.4062C37.2153 44.7672 36.9192 45.0625 36.5574 45.0625H19.4509C19.089 45.0625 18.7929 44.7672 18.7929 44.4062V24.7188C18.7929 24.0215 18.4228 23.3734 17.8224 23.0207C17.2221 22.668 16.4737 22.6598 15.8651 22.9961L11.5555 25.3832L7.60788 19.2473L17.2632 11.643ZM19.3028 7C17.6744 7 16.0953 7.54961 14.8206 8.55039L3.75069 17.2703C2.95294 17.902 2.76378 19.0258 3.3148 19.8789L9.23629 29.0664C9.79554 29.9359 10.9469 30.223 11.8516 29.7227L14.8453 28.0656V44.4062C14.8453 46.941 16.9096 49 19.4509 49H36.5574C39.0987 49 41.163 46.941 41.163 44.4062V28.0656L44.1484 29.7227C45.0613 30.223 46.2045 29.9359 46.7637 29.0664L52.6852 19.8789C53.2362 19.0258 53.0471 17.8938 52.2493 17.2703L41.1876 8.55039C39.9129 7.54961 38.3338 7 36.7054 7H19.3028ZM23.8426 10.9375H32.1656C31.4254 12.4879 29.8381 13.5625 28.0041 13.5625C26.1701 13.5625 24.5828 12.4879 23.8426 10.9375Z|0 0 56 56", Br = "M14.0004 46C12.8959 45.9999 12.0004 45.1045 12.0004 44L12.0004 12C12.0004 10.8955 12.8959 10.0001 14.0004 10C15.105 10 16.0004 10.8954 16.0004 12L16.0004 44C16.0004 45.1046 15.105 46 14.0004 46zM43.4145 44.9707C42.6334 45.7515 41.3673 45.7517 40.5863 44.9707L23.6156 28L40.5863 11.0293C41.3673 10.2486 42.6334 10.2487 43.4145 11.0293C44.1955 11.8103 44.1955 13.0774 43.4145 13.8584L29.2738 28.001L43.4145 42.1426C44.1955 42.9236 44.1955 44.1897 43.4145 44.9707Z|0 0 56 56", $r = "M41.9998 10C43.1043 10.0001 43.9998 10.8955 43.9998 12V44C43.9998 45.1045 43.1043 45.9999 41.9998 46C40.8953 46 39.9998 45.1046 39.9998 44V12C39.9998 10.8954 40.8953 10 41.9998 10zM12.5858 11.0293C13.3668 10.2485 14.6329 10.2483 15.4139 11.0293L32.3846 28L15.4139 44.9707C14.633 45.7514 13.3668 45.7513 12.5858 44.9707C11.8047 44.1897 11.8047 42.9226 12.5858 42.1416L26.7264 27.999L12.5858 13.8574C11.8047 13.0764 11.8047 11.8103 12.5858 11.0293Z|0 0 56 56", En = T({
1709
+ }), Or = "M9.49816 16.125C8.73787 16.125 8.11581 16.7437 8.11581 17.5V39.5C8.11581 40.2563 8.73787 40.875 9.49816 40.875H31.6158C32.3761 40.875 32.9982 40.2563 32.9982 39.5V17.5C32.9982 16.7437 32.3761 16.125 31.6158 16.125H9.49816ZM3.96875 17.5C3.96875 14.4664 6.44835 12 9.49816 12H31.6158C34.6656 12 37.1452 14.4664 37.1452 17.5V39.5C37.1452 42.5336 34.6656 45 31.6158 45H9.49816C6.44835 45 3.96875 42.5336 3.96875 39.5V17.5ZM47.6511 16.5375C48.014 16.2711 48.446 16.125 48.8952 16.125C50.0443 16.125 50.9688 17.0445 50.9688 18.1875V38.8125C50.9688 39.9555 50.0443 40.875 48.8952 40.875C48.446 40.875 48.014 40.7289 47.6511 40.4625L41.2923 35.7188V30.5625L46.8217 34.6875V22.3125L41.2923 26.4375V21.2812L47.6511 16.5375zM21.6892 29.2971C20.618 29.3471 19.7271 29.4371 19.0165 29.567C18.3059 29.687 17.7384 29.8469 17.3142 30.0469C16.9006 30.2468 16.6036 30.4767 16.4233 30.7366C16.2536 30.9866 16.1688 31.2615 16.1688 31.5614C16.1688 32.1612 16.3438 32.5861 16.6937 32.836C17.0544 33.0859 17.5528 33.2109 18.1892 33.2109C18.921 33.2109 19.5521 33.0909 20.0824 32.851C20.6233 32.6011 21.1589 32.2162 21.6892 31.6963V29.2971ZM12.7483 22.4442C13.7134 21.6245 14.7794 21.0147 15.946 20.6148C17.1127 20.2049 18.3748 20 19.7324 20C20.7081 20 21.5778 20.15 22.3415 20.4499C23.1157 20.7498 23.768 21.1696 24.2983 21.7095C24.8392 22.2393 25.2528 22.8741 25.5392 23.6139C25.8256 24.3536 25.9687 25.1634 25.9687 26.0431V35.7601H23.9642C23.5506 35.7601 23.2324 35.7051 23.0097 35.5951C22.7975 35.4852 22.6225 35.2552 22.4847 34.9053L22.1347 33.9157C21.721 34.2555 21.318 34.5555 20.9256 34.8154C20.5437 35.0753 20.146 35.2952 19.7324 35.4752C19.3188 35.6451 18.8733 35.7751 18.396 35.865C17.9294 35.955 17.4044 36 16.821 36C16.0998 36 15.4422 35.91 14.8483 35.7301C14.2544 35.5501 13.74 35.2852 13.3051 34.9353C12.8809 34.5754 12.5521 34.1306 12.3187 33.6007C12.0854 33.0709 11.9688 32.4611 11.9688 31.7713C11.9688 31.2015 12.1225 30.6317 12.4301 30.0619C12.7377 29.492 13.2627 28.9772 14.0051 28.5173C14.7581 28.0475 15.7551 27.6626 16.996 27.3627C18.2475 27.0528 19.8119 26.8778 21.6892 26.8379V26.0431C21.6892 25.0734 21.4718 24.3636 21.0369 23.9138C20.6021 23.4539 19.9763 23.224 19.1597 23.224C18.5551 23.224 18.0513 23.294 17.6483 23.4339C17.2453 23.5639 16.89 23.7088 16.5824 23.8688C16.2854 24.0187 16.0044 24.1637 15.7392 24.3037C15.4741 24.4336 15.1665 24.4986 14.8165 24.4986C14.5089 24.4986 14.2491 24.4286 14.0369 24.2887C13.8354 24.1387 13.6657 23.9638 13.5278 23.7638L12.7483 22.4442Z|0 0 56 56", kr = "M40.3077 8.63218C39.2846 8.63218 38.4615 7.8225 38.4615 6.81609C38.4615 5.80967 39.2846 5 40.3077 5H50.1538C51.1769 5 52 5.80967 52 6.81609V16.5019C52 17.5083 51.1769 18.318 50.1538 18.318C49.1308 18.318 48.3077 17.5083 48.3077 16.5019V11.1974L42.5462 16.8651C44.6 19.2033 45.8462 22.2453 45.8462 25.5823C45.8462 32.9375 39.7846 38.9003 32.3077 38.9003C29.5846 38.9003 27.0462 38.1058 24.9231 36.7437C23.2846 37.7955 21.4077 38.5068 19.3769 38.7717C19.3769 38.8095 19.3846 38.8549 19.3846 38.8927V42.5249H23.0769C24.1 42.5249 24.9231 43.3346 24.9231 44.341C24.9231 45.3474 24.1 46.1571 23.0769 46.1571H19.3846V49.1839C19.3846 50.1903 18.5615 51 17.5385 51C16.5154 51 15.6923 50.1903 15.6923 49.1839V46.1571H12C10.9769 46.1571 10.1538 45.3474 10.1538 44.341C10.1538 43.3346 10.9769 42.5249 12 42.5249H15.6923V38.8927C15.6923 38.8549 15.6923 38.8095 15.7 38.7717C9.09231 37.8863 4 32.317 4 25.5748C4 18.2196 10.0615 12.2568 17.5385 12.2568C20.2615 12.2568 22.8 13.0513 24.9231 14.4134C27.0462 13.0513 29.5846 12.2568 32.3077 12.2568C35.0615 12.2568 37.6308 13.0665 39.7692 14.4588L45.7 8.63218H40.3077ZM22 16.9483C20.6615 16.2749 19.1462 15.8965 17.5385 15.8965C12.1 15.8965 7.69231 20.2324 7.69231 25.5823C7.69231 30.9322 12.1 35.2681 17.5385 35.2681C19.1462 35.2681 20.6615 34.8898 22 34.2163C19.9846 31.8932 18.7692 28.874 18.7692 25.5823C18.7692 22.2907 19.9846 19.2714 22 16.9483ZM24.9231 31.9916C26.4538 30.2815 27.3846 28.0416 27.3846 25.5823C27.3846 23.123 26.4538 20.8832 24.9231 19.1731C23.3923 20.8832 22.4615 23.123 22.4615 25.5823C22.4615 28.0416 23.3923 30.2815 24.9231 31.9916ZM27.8462 34.2239C29.1846 34.8974 30.7 35.2757 32.3077 35.2757C37.7462 35.2757 42.1538 30.9398 42.1538 25.5899C42.1538 20.24 37.7462 15.8965 32.3077 15.8965C30.7 15.8965 29.1846 16.2749 27.8462 16.9483C29.8615 19.2714 31.0769 22.2907 31.0769 25.5823C31.0769 28.874 29.8615 31.8932 27.8462 34.2163V34.2239Z|0 0 56 56", Lr = "M38.35 22.875C38.35 25.65 37.2719 28.1648 35.5109 30.0365C33.98 31.6553 32.2838 33.9389 31.68 36.75H24.32C23.7162 33.9316 22.02 31.6553 20.4891 30.0365C18.7281 28.1648 17.65 25.65 17.65 22.875C17.65 17.1299 22.2859 12.4688 28 12.4688C33.7141 12.4688 38.35 17.1299 38.35 22.875ZM34.9 38.8963C34.9 36.4176 36.3159 34.2207 38.0122 32.4213C40.3625 29.9354 41.8 26.575 41.8 22.875C41.8 15.2148 35.6187 9 28 9C20.3812 9 14.2 15.2148 14.2 22.875C14.2 26.575 15.6375 29.9354 17.9878 32.4213C19.6841 34.2207 21.1 36.4176 21.1 38.8963V40.2188C21.1 43.4129 23.6731 46 26.85 46H29.15C32.3269 46 34.9 43.4129 34.9 40.2188V38.8963ZM27.425 19.4062C28.3809 19.4062 29.15 18.633 29.15 17.6719C29.15 16.7107 28.3809 15.9375 27.425 15.9375C23.9319 15.9375 21.1 18.7848 21.1 22.2969C21.1 23.258 21.8691 24.0312 22.825 24.0312C23.7809 24.0312 24.55 23.258 24.55 22.2969C24.55 20.6998 25.8366 19.4062 27.425 19.4062ZM9.21906 10.915C8.36375 10.4887 7.32875 10.8355 6.90469 11.6883C6.48062 12.541 6.82562 13.5889 7.68094 14.0225L9.98094 15.1787C10.8363 15.6051 11.8712 15.2582 12.2953 14.4055C12.7194 13.5527 12.3744 12.5049 11.5262 12.0785L9.22625 10.9223L9.21906 10.915ZM48.3191 14.0152C49.1744 13.5889 49.5194 12.5482 49.0881 11.6883C48.6569 10.8283 47.6291 10.4814 46.7738 10.915L44.4738 12.0713C43.6184 12.4977 43.2734 13.5383 43.7047 14.3982C44.1359 15.2582 45.1637 15.6051 46.0191 15.1715L48.3191 14.0152ZM6.725 21.1406C5.76906 21.1406 5 21.9139 5 22.875C5 23.8361 5.76906 24.6094 6.725 24.6094H9.025C9.98094 24.6094 10.75 23.8361 10.75 22.875C10.75 21.9139 9.98094 21.1406 9.025 21.1406H6.725ZM46.975 21.1406C46.0191 21.1406 45.25 21.9139 45.25 22.875C45.25 23.8361 46.0191 24.6094 46.975 24.6094H49.275C50.2309 24.6094 51 23.8361 51 22.875C51 21.9139 50.2309 21.1406 49.275 21.1406H46.975ZM11.5191 33.6787C12.3744 33.2523 12.7194 32.2117 12.2881 31.3518C11.8569 30.4918 10.8291 30.1449 9.97375 30.5785L7.67375 31.7348C6.81844 32.1611 6.47344 33.2018 6.90469 34.0617C7.33594 34.9217 8.36375 35.2686 9.21906 34.835L11.5191 33.6787ZM46.0191 30.5785C45.1637 30.1521 44.1287 30.499 43.7047 31.3518C43.2806 32.2045 43.6256 33.2523 44.4738 33.6787L46.7738 34.835C47.6291 35.2613 48.6641 34.9145 49.0881 34.0617C49.5122 33.209 49.1672 32.1611 48.3191 31.7348L46.0191 30.5785Z|0 0 56 56", Vr = "M9.49816 16.125C8.73787 16.125 8.11581 16.7437 8.11581 17.5V39.5C8.11581 40.2563 8.73787 40.875 9.49816 40.875H31.6158C32.3761 40.875 32.9982 40.2563 32.9982 39.5V17.5C32.9982 16.7437 32.3761 16.125 31.6158 16.125H9.49816ZM3.96875 17.5C3.96875 14.4664 6.44835 12 9.49816 12H31.6158C34.6656 12 37.1452 14.4664 37.1452 17.5V39.5C37.1452 42.5336 34.6656 45 31.6158 45H9.49816C6.44835 45 3.96875 42.5336 3.96875 39.5V17.5ZM47.6511 16.5375C48.014 16.2711 48.446 16.125 48.8952 16.125C50.0443 16.125 50.9688 17.0445 50.9688 18.1875V38.8125C50.9688 39.9555 50.0443 40.875 48.8952 40.875C48.446 40.875 48.014 40.7289 47.6511 40.4625L41.2923 35.7188V30.5625L46.8217 34.6875V22.3125L41.2923 26.4375V21.2812L47.6511 16.5375zM20.9919 20C22.1874 20 23.2747 20.1858 24.2538 20.5574C25.2328 20.9291 26.0728 21.4614 26.7736 22.1544C27.4744 22.8374 28.0155 23.6711 28.3968 24.6554C28.7781 25.6397 28.9688 26.7495 28.9688 27.9849C28.9688 29.2203 28.7781 30.3352 28.3968 31.3296C28.0155 32.3139 27.4744 33.1525 26.7736 33.8456C26.0728 34.5386 25.2328 35.0709 24.2538 35.4426C23.2747 35.8142 22.1874 36 20.9919 36C19.7861 36 18.6886 35.8142 17.6992 35.4426C16.7201 35.0709 15.8802 34.5386 15.1794 33.8456C14.4786 33.1525 13.9324 32.3139 13.5407 31.3296C13.1594 30.3352 12.9688 29.2203 12.9688 27.9849C12.9688 26.7495 13.1594 25.6397 13.5407 24.6554C13.9324 23.6711 14.4786 22.8374 15.1794 22.1544C15.8802 21.4614 16.7201 20.9291 17.6992 20.5574C18.6886 20.1858 19.7861 20 20.9919 20ZM20.9919 32.8814C22.208 32.8814 23.1098 32.4746 23.6973 31.661C24.2847 30.8374 24.5784 29.6171 24.5784 28C24.5784 26.393 24.2847 25.1827 23.6973 24.3691C23.1098 23.5455 22.208 23.1337 20.9919 23.1337C19.7449 23.1337 18.8277 23.5455 18.2402 24.3691C17.6528 25.1827 17.3591 26.393 17.3591 28C17.3591 29.6171 17.6528 30.8374 18.2402 31.661C18.8277 32.4746 19.7449 32.8814 20.9919 32.8814Z|0 0 56 56", Ur = "M17.2632 11.643C17.8471 11.1836 18.5626 10.9375 19.3028 10.9375H19.6811C20.5694 14.7027 23.9578 17.5 28.0041 17.5C32.0505 17.5 35.4389 14.7027 36.3271 10.9375H36.7054C37.4456 10.9375 38.1611 11.1836 38.745 11.643L48.4003 19.2473L44.4527 25.3832L40.1514 22.9961C39.5428 22.6598 38.7944 22.668 38.194 23.0207C37.5936 23.3734 37.2153 24.0215 37.2153 24.7188V44.4062C37.2153 44.7672 36.9192 45.0625 36.5574 45.0625H19.4509C19.089 45.0625 18.7929 44.7672 18.7929 44.4062V24.7188C18.7929 24.0215 18.4228 23.3734 17.8224 23.0207C17.2221 22.668 16.4737 22.6598 15.8651 22.9961L11.5555 25.3832L7.60788 19.2473L17.2632 11.643ZM19.3028 7C17.6744 7 16.0953 7.54961 14.8206 8.55039L3.75069 17.2703C2.95294 17.902 2.76378 19.0258 3.3148 19.8789L9.23629 29.0664C9.79554 29.9359 10.9469 30.223 11.8516 29.7227L14.8453 28.0656V44.4062C14.8453 46.941 16.9096 49 19.4509 49H36.5574C39.0987 49 41.163 46.941 41.163 44.4062V28.0656L44.1484 29.7227C45.0613 30.223 46.2045 29.9359 46.7637 29.0664L52.6852 19.8789C53.2362 19.0258 53.0471 17.8938 52.2493 17.2703L41.1876 8.55039C39.9129 7.54961 38.3338 7 36.7054 7H19.3028ZM23.8426 10.9375H32.1656C31.4254 12.4879 29.8381 13.5625 28.0041 13.5625C26.1701 13.5625 24.5828 12.4879 23.8426 10.9375Z|0 0 56 56", Rr = "M14.0004 46C12.8959 45.9999 12.0004 45.1045 12.0004 44L12.0004 12C12.0004 10.8955 12.8959 10.0001 14.0004 10C15.105 10 16.0004 10.8954 16.0004 12L16.0004 44C16.0004 45.1046 15.105 46 14.0004 46zM43.4145 44.9707C42.6334 45.7515 41.3673 45.7517 40.5863 44.9707L23.6156 28L40.5863 11.0293C41.3673 10.2486 42.6334 10.2487 43.4145 11.0293C44.1955 11.8103 44.1955 13.0774 43.4145 13.8584L29.2738 28.001L43.4145 42.1426C44.1955 42.9236 44.1955 44.1897 43.4145 44.9707Z|0 0 56 56", Br = "M41.9998 10C43.1043 10.0001 43.9998 10.8955 43.9998 12V44C43.9998 45.1045 43.1043 45.9999 41.9998 46C40.8953 46 39.9998 45.1046 39.9998 44V12C39.9998 10.8954 40.8953 10 41.9998 10zM12.5858 11.0293C13.3668 10.2485 14.6329 10.2483 15.4139 11.0293L32.3846 28L15.4139 44.9707C14.633 45.7514 13.3668 45.7513 12.5858 44.9707C11.8047 44.1897 11.8047 42.9226 12.5858 42.1416L26.7264 27.999L12.5858 13.8574C11.8047 13.0764 11.8047 11.8103 12.5858 11.0293Z|0 0 56 56", Sn = T({
1705
1710
  name: "PgSkinsExpansion",
1706
1711
  props: { playMode: Boolean },
1707
1712
  setup(e, { slots: t, emit: s }) {
@@ -1722,15 +1727,15 @@ const X = ie("pg-history", {
1722
1727
  "onUpdate:modelValue": (v) => a.value = v,
1723
1728
  label: c.value,
1724
1729
  caption: u.value,
1725
- icon: Rr
1730
+ icon: Ur
1726
1731
  }, g = {
1727
1732
  playMode: e.playMode
1728
1733
  };
1729
- return h(me, f, () => h(ts, g));
1734
+ return h(me, f, () => h(ss, g));
1730
1735
  }
1731
1736
  return () => d();
1732
1737
  }
1733
- }), zr = T({
1738
+ }), $r = T({
1734
1739
  name: "PgEffectsToolButton",
1735
1740
  props: {
1736
1741
  id: { type: Number, required: !0 },
@@ -1753,7 +1758,7 @@ const X = ie("pg-history", {
1753
1758
  }
1754
1759
  return () => u();
1755
1760
  }
1756
- }), Sn = T({
1761
+ }), Tn = T({
1757
1762
  name: "PgEffectsTool",
1758
1763
  props: {
1759
1764
  modelValue: { type: Number, default: 0 },
@@ -1772,17 +1777,17 @@ const X = ie("pg-history", {
1772
1777
  }, u = [];
1773
1778
  return r.value.forEach((f) => {
1774
1779
  u.push(
1775
- h(zr, {
1780
+ h($r, {
1776
1781
  id: f,
1777
1782
  playMode: e.playMode,
1778
1783
  class: "q-ma-xs"
1779
1784
  })
1780
1785
  );
1781
- }), h(an, d, u);
1786
+ }), h(ln, d, () => u);
1782
1787
  }
1783
1788
  return () => a();
1784
1789
  }
1785
- }), Tn = T({
1790
+ }), Cn = T({
1786
1791
  name: "PgEffectsExpansion",
1787
1792
  props: { playMode: Boolean },
1788
1793
  setup(e, { slots: t, emit: s }) {
@@ -1803,15 +1808,15 @@ const X = ie("pg-history", {
1803
1808
  "onUpdate:modelValue": (v) => a.value = v,
1804
1809
  label: c.value,
1805
1810
  caption: u.value,
1806
- icon: un
1811
+ icon: dn
1807
1812
  }, g = {
1808
1813
  playMode: e.playMode
1809
1814
  };
1810
- return h(me, f, () => h(Sn, g));
1815
+ return h(me, f, () => h(Tn, g));
1811
1816
  }
1812
1817
  return () => d();
1813
1818
  }
1814
- }), Hr = {
1819
+ }), zr = {
1815
1820
  __name: "PgCameraAnglesToolButton",
1816
1821
  props: {
1817
1822
  id: Number
@@ -1840,25 +1845,25 @@ const X = ie("pg-history", {
1840
1845
  onBlockAccess: g
1841
1846
  }, null, 8, ["access", "image", "label", "selected", "disable", "has-access"]));
1842
1847
  }
1843
- }, Fr = { class: "pg-cameras-tool row q-col-gutter-sm flex justify-center" }, Cn = {
1848
+ }, Hr = { class: "pg-cameras-tool row q-col-gutter-sm flex justify-center" }, _n = {
1844
1849
  __name: "PgCameraAnglesTool",
1845
1850
  setup(e) {
1846
1851
  const t = pe(), { collection: s } = S(t);
1847
- return (n, r) => (O(), $("div", Fr, [
1852
+ return (n, r) => (O(), $("div", Hr, [
1848
1853
  (O(!0), $(Xe, null, Ze(A(s), (a) => (O(), $("div", {
1849
1854
  class: "",
1850
1855
  key: a
1851
1856
  }, [
1852
- B(Hr, { id: a }, null, 8, ["id"])
1857
+ B(zr, { id: a }, null, 8, ["id"])
1853
1858
  ]))), 128))
1854
1859
  ]));
1855
1860
  }
1856
- }, qr = T({
1861
+ }, Fr = T({
1857
1862
  name: "PgCamerasExpansion",
1858
1863
  setup(e, { slots: t, emit: s }) {
1859
1864
  const { lang: n } = M(), r = pe(), { caption: a } = S(r), { expanded: c } = ae({
1860
- options: Ps,
1861
- tab: Ps
1865
+ options: xs,
1866
+ tab: xs
1862
1867
  }), d = y(() => {
1863
1868
  var f;
1864
1869
  return (f = n.value.pg) == null ? void 0 : f.tools.angle;
@@ -1870,13 +1875,13 @@ const X = ie("pg-history", {
1870
1875
  "onUpdate:modelValue": (g) => c.value = g,
1871
1876
  label: d.value,
1872
1877
  caption: a.value,
1873
- icon: kr
1878
+ icon: Or
1874
1879
  };
1875
- return h(me, f, () => h(Cn));
1880
+ return h(me, f, () => h(_n));
1876
1881
  }
1877
1882
  return () => u();
1878
1883
  }
1879
- }), jr = {
1884
+ }), qr = {
1880
1885
  __name: "PgLightsToolButton",
1881
1886
  props: { id: Number },
1882
1887
  setup(e) {
@@ -1894,25 +1899,25 @@ const X = ie("pg-history", {
1894
1899
  onBlockAccess: v
1895
1900
  }, null, 8, ["image", "label", "selected", "access", "disable", "has-access"]));
1896
1901
  }
1897
- }, Gr = { class: "pg-lights-tool row q-col-gutter-sm flex justify-center" }, _n = {
1902
+ }, jr = { class: "pg-lights-tool row q-col-gutter-sm flex justify-center" }, bn = {
1898
1903
  __name: "PgLightsTool",
1899
1904
  setup(e) {
1900
1905
  const t = ee(), { collection: s } = S(t);
1901
- return (n, r) => (O(), $("div", Gr, [
1906
+ return (n, r) => (O(), $("div", jr, [
1902
1907
  (O(!0), $(Xe, null, Ze(A(s), (a) => (O(), $("div", {
1903
1908
  class: "",
1904
1909
  key: a
1905
1910
  }, [
1906
- B(jr, { id: a }, null, 8, ["id"])
1911
+ B(qr, { id: a }, null, 8, ["id"])
1907
1912
  ]))), 128))
1908
1913
  ]));
1909
1914
  }
1910
- }, Yr = T({
1915
+ }, Gr = T({
1911
1916
  name: "PgLightsExpansion",
1912
1917
  setup(e, { slots: t, emit: s }) {
1913
1918
  const { lang: n } = M(), r = ee(), { caption: a } = S(r), { expanded: c } = ae({
1914
- options: xs,
1915
- tab: xs
1919
+ options: ws,
1920
+ tab: ws
1916
1921
  }), d = y(() => {
1917
1922
  var f;
1918
1923
  return (f = n.value.pg) == null ? void 0 : f.tools.light;
@@ -1924,13 +1929,13 @@ const X = ie("pg-history", {
1924
1929
  "onUpdate:modelValue": (g) => c.value = g,
1925
1930
  label: d.value,
1926
1931
  caption: a.value,
1927
- icon: Vr
1932
+ icon: Lr
1928
1933
  };
1929
- return h(me, f, () => h(_n));
1934
+ return h(me, f, () => h(bn));
1930
1935
  }
1931
1936
  return () => u();
1932
1937
  }
1933
- }), Wr = T({
1938
+ }), Yr = T({
1934
1939
  name: "PgGendersToolButton",
1935
1940
  props: {
1936
1941
  id: Number,
@@ -1955,7 +1960,7 @@ const X = ie("pg-history", {
1955
1960
  }
1956
1961
  return () => C();
1957
1962
  }
1958
- }), bn = T({
1963
+ }), In = T({
1959
1964
  name: "PgGendersTool",
1960
1965
  props: {
1961
1966
  compact: Boolean
@@ -1974,13 +1979,13 @@ const X = ie("pg-history", {
1974
1979
  compact: e.compact
1975
1980
  };
1976
1981
  d.push(
1977
- h("div", { class: "" }, [h(Wr, f)])
1982
+ h("div", { class: "" }, [h(Yr, f)])
1978
1983
  );
1979
1984
  }), h("div", c, d);
1980
1985
  }
1981
1986
  return () => a();
1982
1987
  }
1983
- }), Xr = T({
1988
+ }), Wr = T({
1984
1989
  name: "PgEffectsExpansion",
1985
1990
  setup(e, { slots: t, emit: s }) {
1986
1991
  const { lang: n } = M(), r = re(), { caption: a } = S(r), { expanded: c } = ae({
@@ -1997,13 +2002,13 @@ const X = ie("pg-history", {
1997
2002
  "onUpdate:modelValue": (g) => c.value = g,
1998
2003
  label: d.value,
1999
2004
  caption: a.value,
2000
- icon: Lr
2005
+ icon: kr
2001
2006
  };
2002
- return h(me, f, () => h(bn, { desktop: !1 }));
2007
+ return h(me, f, () => h(In, { desktop: !1 }));
2003
2008
  }
2004
2009
  return () => u();
2005
2010
  }
2006
- }), In = T({
2011
+ }), Pn = T({
2007
2012
  name: "PgGridTool",
2008
2013
  setup(e, { slots: t, emit: s }) {
2009
2014
  const n = Ie(), { visible: r } = S(n), a = y({
@@ -2029,19 +2034,19 @@ const X = ie("pg-history", {
2029
2034
  "onUpdate:vertical": (v) => d.value = v,
2030
2035
  onToggle: u
2031
2036
  };
2032
- return h($o, g);
2037
+ return h(zo, g);
2033
2038
  }
2034
2039
  return () => f();
2035
2040
  }
2036
- }), Pn = T({
2041
+ }), xn = T({
2037
2042
  name: "PgLightsExpansion",
2038
2043
  props: {
2039
2044
  playMode: Boolean
2040
2045
  },
2041
2046
  setup(e, { slots: t, emit: s }) {
2042
2047
  const { lang: n } = M(), r = Ie(), { caption: a } = S(r), { expanded: c } = ae({
2043
- options: ws,
2044
- tab: ws,
2048
+ options: Ds,
2049
+ tab: Ds,
2045
2050
  playMode: e.playMode
2046
2051
  }), d = y(() => {
2047
2052
  var f;
@@ -2056,38 +2061,38 @@ const X = ie("pg-history", {
2056
2061
  caption: a.value,
2057
2062
  icon: "f_grid"
2058
2063
  };
2059
- return h(me, f, () => h(In));
2064
+ return h(me, f, () => h(Pn));
2060
2065
  }
2061
2066
  return () => u();
2062
2067
  }
2063
- }), Zr = { class: "quarters overlay" }, Qr = ["onClick", "onMouseover", "onMouseleave"], Kr = { class: "quarters borders" }, Jr = { class: "quickpose-angle" }, ei = ["src"], zs = "cps", xn = {
2068
+ }), Xr = { class: "quarters overlay" }, Zr = ["onClick", "onMouseover", "onMouseleave"], Qr = { class: "quarters borders" }, Kr = { class: "quickpose-angle" }, Jr = ["src"], Hs = "cps", wn = {
2064
2069
  __name: "PgPosePositionTool",
2065
2070
  setup(e) {
2066
2071
  const t = fe(), s = re(), n = k(), { selected: r, collectedModels: a } = S(t), { collectedModels: c } = S(s), { loading: d } = S(n), u = j(null), f = y(() => {
2067
2072
  const P = c.value;
2068
2073
  return P.length === 2 ? Math.floor(Math.random() * 2) === 1 ? v("male") : v("female") : P.includes(110) ? v("male") : v("female");
2069
- }), g = y(() => n.hasAccess(zs)), v = (P) => `https://static.figurosity.com/pose-generator/position/model-${P}.webp`, C = (P) => u.value = P, _ = (P) => u.value = null, D = (P) => {
2074
+ }), g = y(() => n.hasAccess(Hs)), v = (P) => `https://static.figurosity.com/pose-generator/position/model-${P}.webp`, C = (P) => u.value = P, _ = (P) => u.value = null, D = (P) => {
2070
2075
  if (!d.value) {
2071
2076
  if (g.value) {
2072
2077
  t.toggleSelected(P);
2073
2078
  return;
2074
2079
  }
2075
- n.block(zs);
2080
+ n.block(Hs);
2076
2081
  }
2077
2082
  };
2078
2083
  return (P, I) => (O(), $("div", {
2079
2084
  class: mt(["c-pose-position", { disabled: A(d) }])
2080
2085
  }, [
2081
- De("div", Zr, [
2086
+ De("div", Xr, [
2082
2087
  (O(!0), $(Xe, null, Ze(A(a), (b) => (O(), $("div", {
2083
2088
  class: mt(["quarter", b.slug]),
2084
2089
  key: b.id,
2085
2090
  onClick: (x) => D(b.id),
2086
2091
  onMouseover: (x) => C(b.slug),
2087
2092
  onMouseleave: (x) => _(b.slug)
2088
- }, null, 42, Qr))), 128))
2093
+ }, null, 42, Zr))), 128))
2089
2094
  ]),
2090
- De("div", Kr, [
2095
+ De("div", Qr, [
2091
2096
  (O(!0), $(Xe, null, Ze(A(a), (b) => (O(), $("div", {
2092
2097
  class: mt([
2093
2098
  "quarter",
@@ -2097,23 +2102,23 @@ const X = ie("pg-history", {
2097
2102
  ref_for: !0,
2098
2103
  ref: b.slug
2099
2104
  }, [
2100
- De("span", null, Co(b.name), 1)
2105
+ De("span", null, _o(b.name), 1)
2101
2106
  ], 2))), 128))
2102
2107
  ]),
2103
- De("div", Jr, [
2108
+ De("div", Kr, [
2104
2109
  De("img", {
2105
2110
  src: f.value,
2106
2111
  class: ""
2107
- }, null, 8, ei)
2112
+ }, null, 8, Jr)
2108
2113
  ])
2109
2114
  ], 2));
2110
2115
  }
2111
- }, ti = T({
2116
+ }, ei = T({
2112
2117
  name: "PgEffectsExpansion",
2113
2118
  setup(e, { slots: t, emit: s }) {
2114
2119
  const { lang: n } = M(), r = fe(), { caption: a } = S(r), { expanded: c } = ae({
2115
- options: Ds,
2116
- tab: Ds
2120
+ options: Ms,
2121
+ tab: Ms
2117
2122
  }), d = y(() => {
2118
2123
  var f;
2119
2124
  return (f = n.value.pg) == null ? void 0 : f.tools.position;
@@ -2125,13 +2130,13 @@ const X = ie("pg-history", {
2125
2130
  "onUpdate:modelValue": (g) => c.value = g,
2126
2131
  label: d.value,
2127
2132
  caption: a.value,
2128
- icon: Ur
2133
+ icon: Vr
2129
2134
  };
2130
- return h(me, f, () => h(xn));
2135
+ return h(me, f, () => h(wn));
2131
2136
  }
2132
2137
  return () => u();
2133
2138
  }
2134
- }), wn = T({
2139
+ }), Dn = T({
2135
2140
  name: "PgBrightnessTool",
2136
2141
  props: {
2137
2142
  noIcons: Boolean
@@ -2150,11 +2155,11 @@ const X = ie("pg-history", {
2150
2155
  noicons: !1,
2151
2156
  dark: !1
2152
2157
  };
2153
- return h(es, c);
2158
+ return h(ts, c);
2154
2159
  }
2155
2160
  return () => a();
2156
2161
  }
2157
- }), Dn = T({
2162
+ }), Mn = T({
2158
2163
  name: "PgBrightnessTool",
2159
2164
  emits: ["update:modelValue"],
2160
2165
  setup(e, { slots: t, emit: s }) {
@@ -2169,11 +2174,11 @@ const X = ie("pg-history", {
2169
2174
  "onUpdate:modelValue": (d) => r.value = d,
2170
2175
  type: "contrast"
2171
2176
  };
2172
- return h(es, c);
2177
+ return h(ts, c);
2173
2178
  }
2174
2179
  return () => a();
2175
2180
  }
2176
- }), Mn = T({
2181
+ }), An = T({
2177
2182
  name: "PgBrightnessTool",
2178
2183
  emits: ["update:modelValue"],
2179
2184
  setup(e, { slots: t, emit: s }) {
@@ -2188,19 +2193,19 @@ const X = ie("pg-history", {
2188
2193
  "onUpdate:modelValue": (d) => r.value = d,
2189
2194
  type: "saturate"
2190
2195
  };
2191
- return h(es, c);
2196
+ return h(ts, c);
2192
2197
  }
2193
2198
  return () => a();
2194
2199
  }
2195
- }), An = T({
2200
+ }), Nn = T({
2196
2201
  name: "PgEffectsExpansion",
2197
2202
  props: {
2198
2203
  playMode: Boolean
2199
2204
  },
2200
2205
  setup(e, { slots: t, emit: s }) {
2201
2206
  const { lang: n } = M(), r = ge(), { caption: a } = S(r), { expanded: c } = ae({
2202
- options: Ms,
2203
- tab: Ms,
2207
+ options: As,
2208
+ tab: As,
2204
2209
  playMode: e.playMode
2205
2210
  }), d = y(() => {
2206
2211
  var f;
@@ -2213,40 +2218,40 @@ const X = ie("pg-history", {
2213
2218
  "onUpdate:modelValue": (g) => c.value = g,
2214
2219
  label: d.value,
2215
2220
  caption: a.value,
2216
- icon: dn
2221
+ icon: hn
2217
2222
  };
2218
2223
  return h(me, f, () => [
2219
- h(wn),
2220
2224
  h(Dn),
2221
- h(Mn)
2225
+ h(Mn),
2226
+ h(An)
2222
2227
  ]);
2223
2228
  }
2224
2229
  return () => u();
2225
2230
  }
2226
- }), si = T({
2231
+ }), ti = T({
2227
2232
  name: "PgExpansions",
2228
2233
  setup(e, { slots: t, emit: s }) {
2229
2234
  function n() {
2230
2235
  return h("div", {
2231
2236
  class: "pg-expansions"
2232
2237
  }, [
2233
- h(Nr),
2238
+ h(Ar),
2234
2239
  h(J),
2235
- h(En),
2240
+ h(Sn),
2236
2241
  h(J),
2237
- h(Tn),
2242
+ h(Cn),
2238
2243
  h(J),
2239
- h(qr),
2244
+ h(Fr),
2240
2245
  h(J),
2241
- h(Xr),
2246
+ h(Wr),
2242
2247
  h(J),
2243
- h(ti),
2248
+ h(ei),
2244
2249
  h(J),
2245
- h(Pn),
2250
+ h(xn),
2246
2251
  h(J),
2247
- h(Yr),
2252
+ h(Gr),
2248
2253
  h(J),
2249
- h(An)
2254
+ h(Nn)
2250
2255
  ]);
2251
2256
  }
2252
2257
  return () => n();
@@ -2269,29 +2274,29 @@ const X = ie("pg-history", {
2269
2274
  function n() {
2270
2275
  const r = {
2271
2276
  class: "pg-card",
2272
- "data-cy": "pg-card-" + Do(e.label)
2277
+ "data-cy": "pg-card-" + Mo(e.label)
2273
2278
  // style: style.value,
2274
2279
  };
2275
2280
  return h("div", r, [
2276
2281
  h(
2277
- ko,
2282
+ Lo,
2278
2283
  { flat: !0, bordered: !0 },
2279
2284
  {
2280
2285
  default: () => [
2281
- h(Lo, {}, () => [
2282
- h(As, { avatar: !0 }, () => [
2283
- h(Vo, { name: e.icon, size: "36px" })
2286
+ h(Vo, {}, () => [
2287
+ h(Ns, { avatar: !0 }, () => [
2288
+ h(Uo, { name: e.icon, size: "36px" })
2284
2289
  ]),
2285
- h(As, {}, () => [
2286
- h(Ns, { class: "pg-card-label" }, () => e.label),
2290
+ h(Ns, {}, () => [
2291
+ h(Os, { class: "pg-card-label" }, () => e.label),
2287
2292
  h(
2288
- Ns,
2293
+ Os,
2289
2294
  { class: "pg-card-caption", caption: !0 },
2290
2295
  () => e.caption
2291
2296
  )
2292
2297
  ])
2293
2298
  ]),
2294
- h(Uo, null, {
2299
+ h(Ro, null, {
2295
2300
  default: () => t.default ? t.default() : []
2296
2301
  })
2297
2302
  ]
@@ -2301,7 +2306,7 @@ const X = ie("pg-history", {
2301
2306
  }
2302
2307
  return () => n();
2303
2308
  }
2304
- }), ni = T({
2309
+ }), si = T({
2305
2310
  name: "PgDurationCard",
2306
2311
  setup(e, { slots: t, emit: s }) {
2307
2312
  const { lang: n } = M(), r = Z(), { title: a } = S(r), c = y(() => {
@@ -2313,13 +2318,13 @@ const X = ie("pg-history", {
2313
2318
  class: "pg-duration-card",
2314
2319
  label: c.value,
2315
2320
  caption: a.value,
2316
- icon: cn
2321
+ icon: un
2317
2322
  };
2318
- return h(ve, u, () => h(yn, {}));
2323
+ return h(ve, u, () => h(En, {}));
2319
2324
  }
2320
2325
  return () => d();
2321
2326
  }
2322
- }), oi = T({
2327
+ }), ni = T({
2323
2328
  name: "PgSkinsCard",
2324
2329
  setup(e, { slots: t, emit: s }) {
2325
2330
  const { lang: n } = M(), r = V(), a = y(() => {
@@ -2331,15 +2336,15 @@ const X = ie("pg-history", {
2331
2336
  class: "pg-skins-card",
2332
2337
  label: a.value,
2333
2338
  caption: c.value,
2334
- icon: jo
2339
+ icon: Go
2335
2340
  };
2336
2341
  return h(ve, u, {
2337
- default: () => h(ts, { desktop: !0 })
2342
+ default: () => h(ss, { desktop: !0 })
2338
2343
  });
2339
2344
  }
2340
2345
  return () => d();
2341
2346
  }
2342
- }), ri = T({
2347
+ }), oi = T({
2343
2348
  name: "PgEffectsCard",
2344
2349
  setup(e, { slots: t, emit: s }) {
2345
2350
  const { lang: n } = M(), r = R(), a = y(() => {
@@ -2351,13 +2356,13 @@ const X = ie("pg-history", {
2351
2356
  class: "pg-skins-card",
2352
2357
  label: a.value,
2353
2358
  caption: c.value,
2354
- icon: un
2359
+ icon: dn
2355
2360
  };
2356
- return h(ve, u, () => [h(Sn, { desktop: !0 })]);
2361
+ return h(ve, u, () => [h(Tn, { desktop: !0 })]);
2357
2362
  }
2358
2363
  return () => d();
2359
2364
  }
2360
- }), ii = T({
2365
+ }), ri = T({
2361
2366
  name: "PgCameraAnglesCard",
2362
2367
  emits: ["click", "update:modelValue"],
2363
2368
  setup(e, { slots: t, emit: s }) {
@@ -2370,13 +2375,13 @@ const X = ie("pg-history", {
2370
2375
  class: "pg-cameras-card",
2371
2376
  label: c.value,
2372
2377
  caption: a.value,
2373
- icon: Go
2378
+ icon: Yo
2374
2379
  };
2375
- return h(ve, u, () => [h(Cn)]);
2380
+ return h(ve, u, () => [h(_n)]);
2376
2381
  }
2377
2382
  return () => d();
2378
2383
  }
2379
- }), ai = T({
2384
+ }), ii = T({
2380
2385
  name: "PgLightsCard",
2381
2386
  setup(e, { slots: t, emit: s }) {
2382
2387
  const { lang: n } = M(), r = ee(), { caption: a } = S(r), c = y(() => {
@@ -2388,15 +2393,15 @@ const X = ie("pg-history", {
2388
2393
  class: "pg-lights-card",
2389
2394
  label: c.value,
2390
2395
  caption: a.value,
2391
- icon: Yo
2396
+ icon: Wo
2392
2397
  };
2393
2398
  return h(ve, u, {
2394
- default: () => h(_n, { desktop: !0 })
2399
+ default: () => h(bn, { desktop: !0 })
2395
2400
  });
2396
2401
  }
2397
2402
  return () => d();
2398
2403
  }
2399
- }), li = T({
2404
+ }), ai = T({
2400
2405
  name: "PgGendersCard",
2401
2406
  setup(e, { slots: t, emit: s }) {
2402
2407
  const { lang: n } = M(), r = re(), { caption: a } = S(r);
@@ -2413,13 +2418,13 @@ const X = ie("pg-history", {
2413
2418
  class: "pg-genders-card",
2414
2419
  label: c.value,
2415
2420
  caption: a.value,
2416
- icon: Wo
2421
+ icon: Xo
2417
2422
  };
2418
- return h(ve, u, () => [h(bn)]);
2423
+ return h(ve, u, () => [h(In)]);
2419
2424
  }
2420
2425
  return () => d();
2421
2426
  }
2422
- }), ci = T({
2427
+ }), li = T({
2423
2428
  name: "PgPosePositionCard",
2424
2429
  setup(e, { slots: t, emit: s }) {
2425
2430
  const { lang: n } = M(), r = fe(), { caption: a } = S(r), c = y(() => {
@@ -2431,15 +2436,15 @@ const X = ie("pg-history", {
2431
2436
  class: "pg-pose-position-card",
2432
2437
  label: c.value,
2433
2438
  caption: a.value,
2434
- icon: Xo
2439
+ icon: Zo
2435
2440
  };
2436
2441
  return h(ve, u, {
2437
- default: () => h(xn)
2442
+ default: () => h(wn)
2438
2443
  });
2439
2444
  }
2440
2445
  return () => d();
2441
2446
  }
2442
- }), ui = T({
2447
+ }), ci = T({
2443
2448
  name: "PgGridCard",
2444
2449
  props: {
2445
2450
  modelValue: { type: Number, default: 0 },
@@ -2457,27 +2462,27 @@ const X = ie("pg-history", {
2457
2462
  class: "pg-grid-card",
2458
2463
  label: c.value,
2459
2464
  caption: a.value,
2460
- icon: Zo
2465
+ icon: Qo
2461
2466
  };
2462
- return h(ve, u, { default: () => h(In) });
2467
+ return h(ve, u, { default: () => h(Pn) });
2463
2468
  }
2464
2469
  return () => d();
2465
2470
  }
2466
- }), di = T({
2471
+ }), ui = T({
2467
2472
  name: "PgAdjustmentsTool",
2468
2473
  setup(e, { slots: t, emit: s }) {
2469
2474
  function n() {
2470
2475
  return h("div", {
2471
2476
  class: "pg-adjustments-tool"
2472
2477
  }, [
2473
- h(wn),
2474
2478
  h(Dn),
2475
- h(Mn)
2479
+ h(Mn),
2480
+ h(An)
2476
2481
  ]);
2477
2482
  }
2478
2483
  return () => n();
2479
2484
  }
2480
- }), hi = T({
2485
+ }), di = T({
2481
2486
  name: "PgAdjustmentsCard",
2482
2487
  setup(e, { slots: t, emit: s }) {
2483
2488
  const { lang: n } = M(), r = ge(), { caption: a } = S(r), c = y(() => {
@@ -2489,13 +2494,13 @@ const X = ie("pg-history", {
2489
2494
  class: "pg-adjustments-card",
2490
2495
  label: c.value,
2491
2496
  caption: a.value,
2492
- icon: dn
2497
+ icon: hn
2493
2498
  };
2494
- return h(ve, u, () => [h(di)]);
2499
+ return h(ve, u, () => [h(ui)]);
2495
2500
  }
2496
2501
  return () => d();
2497
2502
  }
2498
- }), Nn = T({
2503
+ }), On = T({
2499
2504
  name: "PgOverviewContent",
2500
2505
  props: {
2501
2506
  size: { default: "lg", type: String }
@@ -2519,7 +2524,7 @@ const X = ie("pg-history", {
2519
2524
  }
2520
2525
  return () => c();
2521
2526
  }
2522
- }), pi = T({
2527
+ }), hi = T({
2523
2528
  name: "PgCards",
2524
2529
  setup(e, { slots: t, emit: s }) {
2525
2530
  function n() {
@@ -2528,28 +2533,28 @@ const X = ie("pg-history", {
2528
2533
  style: "max-width: 1024px;width: 100%;margin: auto;"
2529
2534
  }, [
2530
2535
  h("div", { class: "row q-col-gutter-md" }, [
2531
- h("div", { class: "col-7" }, h(Nn)),
2532
- h("div", { class: "col-5" }, [h(ni)])
2536
+ h("div", { class: "col-7" }, h(On)),
2537
+ h("div", { class: "col-5" }, [h(si)])
2533
2538
  ]),
2534
2539
  h("div", { class: "row q-col-gutter-md" }, [
2535
- h(oi, { class: "col-7" }),
2536
- h(ri, { class: "col-5" })
2540
+ h(ni, { class: "col-7" }),
2541
+ h(oi, { class: "col-5" })
2537
2542
  ]),
2538
2543
  h("div", { class: "row q-col-gutter-md" }, [
2539
- h(ii, { class: "col-6" }),
2540
- h(ai, { class: "col-3" }),
2541
- h(li, { class: "col-3" })
2544
+ h(ri, { class: "col-6" }),
2545
+ h(ii, { class: "col-3" }),
2546
+ h(ai, { class: "col-3" })
2542
2547
  ]),
2543
2548
  h("div", { class: "row q-col-gutter-md" }, [
2549
+ h(li, { class: "col-4" }),
2544
2550
  h(ci, { class: "col-4" }),
2545
- h(ui, { class: "col-4" }),
2546
- h(hi, { class: "col-4" })
2551
+ h(di, { class: "col-4" })
2547
2552
  ])
2548
2553
  ]);
2549
2554
  }
2550
2555
  return () => n();
2551
2556
  }
2552
- }), fi = T({
2557
+ }), pi = T({
2553
2558
  name: "PgAnimatedCount",
2554
2559
  emits: ["click", "update:modelValue"],
2555
2560
  setup(e, { slots: t, emit: s }) {
@@ -2567,13 +2572,13 @@ const X = ie("pg-history", {
2567
2572
  class: ""
2568
2573
  };
2569
2574
  return h("div", g, [
2570
- h(zo, v),
2575
+ h(Ho, v),
2571
2576
  h("span", {}, " " + d.value)
2572
2577
  ]);
2573
2578
  }
2574
2579
  return () => f();
2575
2580
  }
2576
- }), gi = T({
2581
+ }), fi = T({
2577
2582
  name: "PgBottomButtons",
2578
2583
  setup(e, { slots: t, emit: s }) {
2579
2584
  const n = Te(), r = Pt(), a = k(), c = (I) => a.customReset(), d = (I) => n.open(), {
@@ -2629,10 +2634,10 @@ const X = ie("pg-history", {
2629
2634
  }
2630
2635
  return () => P();
2631
2636
  }
2632
- }), On = T({
2637
+ }), kn = T({
2633
2638
  name: "PgGridOverlay",
2634
2639
  setup(e, { slots: t, emit: s }) {
2635
- const n = It(), r = on(), a = Ie(), {
2640
+ const n = It(), r = rn(), a = Ie(), {
2636
2641
  visible: c,
2637
2642
  spacing: d,
2638
2643
  horizontal: u,
@@ -2671,11 +2676,11 @@ const X = ie("pg-history", {
2671
2676
  imageSize: C.value,
2672
2677
  viewportSize: g.value
2673
2678
  };
2674
- return h(Ho, I);
2679
+ return h(Fo, I);
2675
2680
  }
2676
2681
  return () => P();
2677
2682
  }
2678
- }), mi = T({
2683
+ }), gi = T({
2679
2684
  name: "PgOverviewButtons",
2680
2685
  setup(e, { slots: t, emit: s }) {
2681
2686
  function n() {
@@ -2696,32 +2701,32 @@ const X = ie("pg-history", {
2696
2701
  style: "max-width: 1024px; margin: auto;"
2697
2702
  },
2698
2703
  [
2699
- h("div", a, h(fi)),
2700
- h("div", c, h(gi))
2704
+ h("div", a, h(pi)),
2705
+ h("div", c, h(fi))
2701
2706
  ]
2702
2707
  )
2703
2708
  );
2704
2709
  }
2705
2710
  return () => n();
2706
2711
  }
2707
- }), vi = { class: "column pg-overview full-width q-pt-lg" }, yi = {
2712
+ }), mi = { class: "column pg-overview full-width q-pt-lg" }, vi = {
2708
2713
  __name: "PgOverview",
2709
2714
  setup(e) {
2710
- return (t, s) => (O(), $("div", vi, [
2711
- B(A(On)),
2712
- B(A(pi), { class: "col full-height gt-sm" }),
2713
- B(A(Nn), {
2715
+ return (t, s) => (O(), $("div", mi, [
2716
+ B(A(kn)),
2717
+ B(A(hi), { class: "col full-height gt-sm" }),
2718
+ B(A(On), {
2714
2719
  class: "lt-md",
2715
2720
  style: { height: "200px" }
2716
2721
  }),
2717
- B(A(si), {
2722
+ B(A(ti), {
2718
2723
  class: "lt-md",
2719
2724
  style: { "z-index": "9" }
2720
2725
  }),
2721
- B(A(mi))
2726
+ B(A(gi))
2722
2727
  ]));
2723
2728
  }
2724
- }, Ei = T({
2729
+ }, yi = T({
2725
2730
  name: "PgExitButton",
2726
2731
  props: {
2727
2732
  show: {
@@ -2743,7 +2748,7 @@ const X = ie("pg-history", {
2743
2748
  class: "pg-button-exit",
2744
2749
  "data-cy": "pg-button-exit",
2745
2750
  label: a.value,
2746
- icon: Qo,
2751
+ icon: Ko,
2747
2752
  onClick: n.close,
2748
2753
  color: "primary",
2749
2754
  onKeyup: c,
@@ -2756,14 +2761,14 @@ const X = ie("pg-history", {
2756
2761
  qt,
2757
2762
  { name: "fade" },
2758
2763
  () => vt(
2759
- h(Ro, u, () => [h(Oe, f)]),
2764
+ h(Bo, u, () => [h(Oe, f)]),
2760
2765
  [[yt, e.show]]
2761
2766
  )
2762
2767
  );
2763
2768
  }
2764
2769
  return () => d();
2765
2770
  }
2766
- }), ss = T({
2771
+ }), ns = T({
2767
2772
  name: "PgBaseButton",
2768
2773
  props: {
2769
2774
  type: String,
@@ -2793,25 +2798,25 @@ const X = ie("pg-history", {
2793
2798
  }
2794
2799
  return () => n();
2795
2800
  }
2796
- }), Si = T({
2801
+ }), Ei = T({
2797
2802
  name: "PgNextButton",
2798
2803
  setup(e, { slots: t, emit: s }) {
2799
2804
  const n = Te(), { nextDisabled: r } = S(n);
2800
2805
  function a() {
2801
2806
  const c = {
2802
2807
  type: "next",
2803
- icon: $r,
2808
+ icon: Br,
2804
2809
  onClick: n.next,
2805
2810
  disable: r.value
2806
2811
  };
2807
- return h(ss, c);
2812
+ return h(ns, c);
2808
2813
  }
2809
2814
  return () => a();
2810
2815
  }
2811
- }), Ti = T({
2816
+ }), Si = T({
2812
2817
  name: "PgNextButton",
2813
2818
  setup(e, { slots: t, emit: s }) {
2814
- const n = he(), r = Z(), { milliseconds: a } = S(n), { duration: c } = S(r), d = Te(), { playing: u } = S(n), f = y(() => u.value ? Ko : Jo), g = () => u.value ? d.pause() : d.play();
2819
+ const n = he(), r = Z(), { milliseconds: a } = S(n), { duration: c } = S(r), d = Te(), { playing: u } = S(n), f = y(() => u.value ? Jo : er), g = () => u.value ? d.pause() : d.play();
2815
2820
  function v() {
2816
2821
  const C = {
2817
2822
  type: "play",
@@ -2828,26 +2833,26 @@ const X = ie("pg-history", {
2828
2833
  thickness: 0.2,
2829
2834
  instantFeedback: !0
2830
2835
  };
2831
- return h(ss, C, () => [h(Bo, _)]);
2836
+ return h(ns, C, () => [h($o, _)]);
2832
2837
  }
2833
2838
  return () => v();
2834
2839
  }
2835
- }), Ci = T({
2840
+ }), Ti = T({
2836
2841
  name: "PgPreviousButton",
2837
2842
  setup(e, { slots: t, emit: s }) {
2838
2843
  const n = Te(), { previousDisabled: r } = S(n);
2839
2844
  function a() {
2840
2845
  const c = {
2841
2846
  type: "previous",
2842
- icon: Br,
2847
+ icon: Rr,
2843
2848
  onClick: n.previous,
2844
2849
  disable: r.value
2845
2850
  };
2846
- return h(ss, c);
2851
+ return h(ns, c);
2847
2852
  }
2848
2853
  return () => a();
2849
2854
  }
2850
- }), _i = T({
2855
+ }), Ci = T({
2851
2856
  name: "PgTimer",
2852
2857
  setup(e, { slots: t, emit: s }) {
2853
2858
  const n = he(), r = Z(), { formatted: a, milliseconds: c } = S(n), { duration: d } = S(r), u = y(() => {
@@ -2869,7 +2874,7 @@ const X = ie("pg-history", {
2869
2874
  }
2870
2875
  return () => v();
2871
2876
  }
2872
- }), kn = T({
2877
+ }), Ln = T({
2873
2878
  name: "PgControls",
2874
2879
  props: { center: Boolean },
2875
2880
  setup(e, { slots: t, emit: s }) {
@@ -2879,11 +2884,11 @@ const X = ie("pg-history", {
2879
2884
  };
2880
2885
  e.center && (r.class = r.class + " justify-center");
2881
2886
  const a = [];
2882
- return a.push(h(Ci)), a.push(h(Ti)), a.push(h(Si)), a.push(h(_i)), h("div", r, a);
2887
+ return a.push(h(Ti)), a.push(h(Si)), a.push(h(Ei)), a.push(h(Ci)), h("div", r, a);
2883
2888
  }
2884
2889
  return () => n();
2885
2890
  }
2886
- }), Ln = T({
2891
+ }), Vn = T({
2887
2892
  name: "PgView360",
2888
2893
  setup(e, { slots: t, emit: s }) {
2889
2894
  const n = X(), { lang: r } = M(), a = y(() => {
@@ -2904,7 +2909,7 @@ const X = ie("pg-history", {
2904
2909
  }
2905
2910
  return () => c();
2906
2911
  }
2907
- }), Vn = T({
2912
+ }), Un = T({
2908
2913
  name: "PgPlayExpansions",
2909
2914
  setup(e, { slots: t, emit: s }) {
2910
2915
  const n = It();
@@ -2912,11 +2917,11 @@ const X = ie("pg-history", {
2912
2917
  const a = j(n.platform.is.desktop), c = {
2913
2918
  class: "pg-play-expansions"
2914
2919
  }, d = [];
2915
- return a.value && (d.push(h(En, { playMode: !0 })), d.push(h(J))), d.push(h(Tn, { playMode: !0 })), d.push(h(J)), d.push(h(Pn, { playMode: !0 })), d.push(h(J)), d.push(h(An, { playMode: !0 })), a.value && d.push(h("div", { class: "q-pa-lg" }, [h(Ln)])), h("div", c, d);
2920
+ return a.value && (d.push(h(Sn, { playMode: !0 })), d.push(h(J))), d.push(h(Cn, { playMode: !0 })), d.push(h(J)), d.push(h(xn, { playMode: !0 })), d.push(h(J)), d.push(h(Nn, { playMode: !0 })), a.value && d.push(h("div", { class: "q-pa-lg" }, [h(Vn)])), h("div", c, d);
2916
2921
  }
2917
2922
  return () => r();
2918
2923
  }
2919
- }), bi = T({
2924
+ }), _i = T({
2920
2925
  name: "PgModalControls",
2921
2926
  props: {
2922
2927
  modelValue: Boolean,
@@ -2935,21 +2940,21 @@ const X = ie("pg-history", {
2935
2940
  topOffset: 80,
2936
2941
  "onUpdate:modelValue": (c) => n.value = c
2937
2942
  };
2938
- return h(Fo, a, {
2939
- default: () => h(kn),
2940
- expanded: () => h(Vn)
2943
+ return h(qo, a, {
2944
+ default: () => h(Ln),
2945
+ expanded: () => h(Un)
2941
2946
  });
2942
2947
  }
2943
2948
  return () => r();
2944
2949
  }
2945
- }), Ii = ["src"], Pi = {
2950
+ }), bi = ["src"], Ii = {
2946
2951
  __name: "PgDisplayImage",
2947
2952
  props: {
2948
2953
  flipped: Boolean,
2949
2954
  zIndex: Number
2950
2955
  },
2951
2956
  setup(e) {
2952
- const t = X(), s = on(), n = e, r = y(() => t.playSrc), a = j(null), c = y(() => {
2957
+ const t = X(), s = rn(), n = e, r = y(() => t.playSrc), a = j(null), c = y(() => {
2953
2958
  const f = {
2954
2959
  // ...filterStyle.value,
2955
2960
  zIndex: n.zIndex + 2
@@ -2974,15 +2979,15 @@ const X = ie("pg-history", {
2974
2979
  }), Jt(() => s.$off("resize")), (f, g) => (O(), $("img", {
2975
2980
  src: r.value,
2976
2981
  class: mt(["pg-display-image", { "flip-horizontal": e.flipped }]),
2977
- style: nn(c.value)
2978
- }, null, 14, Ii));
2982
+ style: on(c.value)
2983
+ }, null, 14, bi));
2979
2984
  }
2980
- }, xi = {
2985
+ }, Pi = {
2981
2986
  __name: "PgDisplay",
2982
2987
  setup(e) {
2983
2988
  const t = ge(), s = X();
2984
2989
  Pe();
2985
- const n = R(), { playSelected: r } = S(n), { brightness: a, contrast: c, saturate: d } = S(t), { filterStyle: u } = Mo({
2990
+ const n = R(), { playSelected: r } = S(n), { brightness: a, contrast: c, saturate: d } = S(t), { filterStyle: u } = Ao({
2986
2991
  brightness: a,
2987
2992
  contrast: c,
2988
2993
  saturate: d,
@@ -2997,7 +3002,7 @@ const X = ie("pg-history", {
2997
3002
  return [(_ = g.value) == null ? void 0 : _.id, (D = g.value) == null ? void 0 : D.src, (P = g.value) == null ? void 0 : P.status];
2998
3003
  },
2999
3004
  ([_, D, P], I, b) => {
3000
- if (!(P === gn && D)) return;
3005
+ if (!(P === mn && D)) return;
3001
3006
  const x = _.split("."), F = _ ?? `${D}#${Date.now()}`;
3002
3007
  v.value = [
3003
3008
  ...v.value,
@@ -3007,11 +3012,11 @@ const X = ie("pg-history", {
3007
3012
  { immediate: !0 }
3008
3013
  ), (_, D) => (O(), $("div", {
3009
3014
  class: "pg-display",
3010
- style: nn(f.value)
3015
+ style: on(f.value)
3011
3016
  }, [
3012
- B(_o, { name: "pgfade" }, {
3017
+ B(bo, { name: "pgfade" }, {
3013
3018
  default: jt(() => [
3014
- (O(!0), $(Xe, null, Ze(v.value, (P, I) => (O(), _t(Pi, {
3019
+ (O(!0), $(Xe, null, Ze(v.value, (P, I) => (O(), _t(Ii, {
3015
3020
  key: P.key,
3016
3021
  zIndex: parseInt(P.zIndex),
3017
3022
  flipped: P.flipped
@@ -3028,9 +3033,9 @@ var Ht = { exports: {} };
3028
3033
  *
3029
3034
  * Copyright (c) 2016 Jorik Tangelder;
3030
3035
  * Licensed under the MIT license */
3031
- var Hs;
3032
- function wi() {
3033
- return Hs || (Hs = 1, (function(e) {
3036
+ var Fs;
3037
+ function xi() {
3038
+ return Fs || (Fs = 1, (function(e) {
3034
3039
  (function(t, s, n, r) {
3035
3040
  var a = ["", "webkit", "Moz", "MS", "ms", "o"], c = s.createElement("div"), d = "function", u = Math.round, f = Math.abs, g = Date.now;
3036
3041
  function v(o, i, l) {
@@ -3131,7 +3136,7 @@ function wi() {
3131
3136
  function et(o) {
3132
3137
  return Array.prototype.slice.call(o, 0);
3133
3138
  }
3134
- function os(o, i, l) {
3139
+ function rs(o, i, l) {
3135
3140
  for (var p = [], m = [], E = 0; E < o.length; ) {
3136
3141
  var w = o[E][i];
3137
3142
  xe(m, w) < 0 && p.push(o[E]), m[E] = w, E++;
@@ -3148,15 +3153,15 @@ function wi() {
3148
3153
  }
3149
3154
  return r;
3150
3155
  }
3151
- var Bn = 1;
3152
- function $n() {
3153
- return Bn++;
3156
+ var $n = 1;
3157
+ function zn() {
3158
+ return $n++;
3154
3159
  }
3155
- function rs(o) {
3160
+ function is(o) {
3156
3161
  var i = o.ownerDocument || o;
3157
3162
  return i.defaultView || i.parentWindow || t;
3158
3163
  }
3159
- var zn = /mobile|tablet|ip(ad|hone|od)|android/i, is = "ontouchstart" in t, Hn = tt(t, "PointerEvent") !== r, Fn = is && zn.test(navigator.userAgent), Ue = "touch", qn = "pen", Dt = "mouse", jn = "kinect", Gn = 25, z = 1, Ce = 2, N = 4, q = 8, st = 1, Re = 2, Be = 4, $e = 8, ze = 16, te = Re | Be, _e = $e | ze, as = te | _e, ls = ["x", "y"], nt = ["clientX", "clientY"];
3164
+ var Hn = /mobile|tablet|ip(ad|hone|od)|android/i, as = "ontouchstart" in t, Fn = tt(t, "PointerEvent") !== r, qn = as && Hn.test(navigator.userAgent), Ue = "touch", jn = "pen", Dt = "mouse", Gn = "kinect", Yn = 25, z = 1, Ce = 2, N = 4, q = 8, st = 1, Re = 2, Be = 4, $e = 8, ze = 16, te = Re | Be, _e = $e | ze, ls = te | _e, cs = ["x", "y"], nt = ["clientX", "clientY"];
3160
3165
  function Y(o, i) {
3161
3166
  var l = this;
3162
3167
  this.manager = o, this.callback = i, this.element = o.element, this.target = o.options.inputTarget, this.domHandler = function(p) {
@@ -3174,34 +3179,34 @@ function wi() {
3174
3179
  * bind the events
3175
3180
  */
3176
3181
  init: function() {
3177
- this.evEl && ye(this.element, this.evEl, this.domHandler), this.evTarget && ye(this.target, this.evTarget, this.domHandler), this.evWin && ye(rs(this.element), this.evWin, this.domHandler);
3182
+ this.evEl && ye(this.element, this.evEl, this.domHandler), this.evTarget && ye(this.target, this.evTarget, this.domHandler), this.evWin && ye(is(this.element), this.evWin, this.domHandler);
3178
3183
  },
3179
3184
  /**
3180
3185
  * unbind the events
3181
3186
  */
3182
3187
  destroy: function() {
3183
- this.evEl && Q(this.element, this.evEl, this.domHandler), this.evTarget && Q(this.target, this.evTarget, this.domHandler), this.evWin && Q(rs(this.element), this.evWin, this.domHandler);
3188
+ this.evEl && Q(this.element, this.evEl, this.domHandler), this.evTarget && Q(this.target, this.evTarget, this.domHandler), this.evWin && Q(is(this.element), this.evWin, this.domHandler);
3184
3189
  }
3185
3190
  };
3186
- function Yn(o) {
3191
+ function Wn(o) {
3187
3192
  var i, l = o.options.inputClass;
3188
- return l ? i = l : Hn ? i = At : Fn ? i = it : is ? i = Nt : i = rt, new i(o, Wn);
3193
+ return l ? i = l : Fn ? i = At : qn ? i = it : as ? i = Nt : i = rt, new i(o, Xn);
3189
3194
  }
3190
- function Wn(o, i, l) {
3195
+ function Xn(o, i, l) {
3191
3196
  var p = l.pointers.length, m = l.changedPointers.length, E = i & z && p - m === 0, w = i & (N | q) && p - m === 0;
3192
- l.isFirst = !!E, l.isFinal = !!w, E && (o.session = {}), l.eventType = i, Xn(o, l), o.emit("hammer.input", l), o.recognize(l), o.session.prevInput = l;
3197
+ l.isFirst = !!E, l.isFinal = !!w, E && (o.session = {}), l.eventType = i, Zn(o, l), o.emit("hammer.input", l), o.recognize(l), o.session.prevInput = l;
3193
3198
  }
3194
- function Xn(o, i) {
3199
+ function Zn(o, i) {
3195
3200
  var l = o.session, p = i.pointers, m = p.length;
3196
- l.firstInput || (l.firstInput = cs(i)), m > 1 && !l.firstMultiple ? l.firstMultiple = cs(i) : m === 1 && (l.firstMultiple = !1);
3197
- var E = l.firstInput, w = l.firstMultiple, L = w ? w.center : E.center, U = i.center = us(p);
3198
- i.timeStamp = g(), i.deltaTime = i.timeStamp - E.timeStamp, i.angle = Mt(L, U), i.distance = ot(L, U), Zn(l, i), i.offsetDirection = hs(i.deltaX, i.deltaY);
3199
- var H = ds(i.deltaTime, i.deltaX, i.deltaY);
3200
- i.overallVelocityX = H.x, i.overallVelocityY = H.y, i.overallVelocity = f(H.x) > f(H.y) ? H.x : H.y, i.scale = w ? Jn(w.pointers, p) : 1, i.rotation = w ? Kn(w.pointers, p) : 0, i.maxPointers = l.prevInput ? i.pointers.length > l.prevInput.maxPointers ? i.pointers.length : l.prevInput.maxPointers : i.pointers.length, Qn(l, i);
3201
+ l.firstInput || (l.firstInput = us(i)), m > 1 && !l.firstMultiple ? l.firstMultiple = us(i) : m === 1 && (l.firstMultiple = !1);
3202
+ var E = l.firstInput, w = l.firstMultiple, L = w ? w.center : E.center, U = i.center = ds(p);
3203
+ i.timeStamp = g(), i.deltaTime = i.timeStamp - E.timeStamp, i.angle = Mt(L, U), i.distance = ot(L, U), Qn(l, i), i.offsetDirection = ps(i.deltaX, i.deltaY);
3204
+ var H = hs(i.deltaTime, i.deltaX, i.deltaY);
3205
+ i.overallVelocityX = H.x, i.overallVelocityY = H.y, i.overallVelocity = f(H.x) > f(H.y) ? H.x : H.y, i.scale = w ? eo(w.pointers, p) : 1, i.rotation = w ? Jn(w.pointers, p) : 0, i.maxPointers = l.prevInput ? i.pointers.length > l.prevInput.maxPointers ? i.pointers.length : l.prevInput.maxPointers : i.pointers.length, Kn(l, i);
3201
3206
  var ne = o.element;
3202
3207
  ce(i.srcEvent.target, ne) && (ne = i.srcEvent.target), i.target = ne;
3203
3208
  }
3204
- function Zn(o, i) {
3209
+ function Qn(o, i) {
3205
3210
  var l = i.center, p = o.offsetDelta || {}, m = o.prevDelta || {}, E = o.prevInput || {};
3206
3211
  (i.eventType === z || E.eventType === N) && (m = o.prevDelta = {
3207
3212
  x: E.deltaX || 0,
@@ -3211,16 +3216,16 @@ function wi() {
3211
3216
  y: l.y
3212
3217
  }), i.deltaX = m.x + (l.x - p.x), i.deltaY = m.y + (l.y - p.y);
3213
3218
  }
3214
- function Qn(o, i) {
3219
+ function Kn(o, i) {
3215
3220
  var l = o.lastInterval || i, p = i.timeStamp - l.timeStamp, m, E, w, L;
3216
- if (i.eventType != q && (p > Gn || l.velocity === r)) {
3217
- var U = i.deltaX - l.deltaX, H = i.deltaY - l.deltaY, ne = ds(p, U, H);
3218
- E = ne.x, w = ne.y, m = f(ne.x) > f(ne.y) ? ne.x : ne.y, L = hs(U, H), o.lastInterval = i;
3221
+ if (i.eventType != q && (p > Yn || l.velocity === r)) {
3222
+ var U = i.deltaX - l.deltaX, H = i.deltaY - l.deltaY, ne = hs(p, U, H);
3223
+ E = ne.x, w = ne.y, m = f(ne.x) > f(ne.y) ? ne.x : ne.y, L = ps(U, H), o.lastInterval = i;
3219
3224
  } else
3220
3225
  m = l.velocity, E = l.velocityX, w = l.velocityY, L = l.direction;
3221
3226
  i.velocity = m, i.velocityX = E, i.velocityY = w, i.direction = L;
3222
3227
  }
3223
- function cs(o) {
3228
+ function us(o) {
3224
3229
  for (var i = [], l = 0; l < o.pointers.length; )
3225
3230
  i[l] = {
3226
3231
  clientX: u(o.pointers[l].clientX),
@@ -3229,12 +3234,12 @@ function wi() {
3229
3234
  return {
3230
3235
  timeStamp: g(),
3231
3236
  pointers: i,
3232
- center: us(i),
3237
+ center: ds(i),
3233
3238
  deltaX: o.deltaX,
3234
3239
  deltaY: o.deltaY
3235
3240
  };
3236
3241
  }
3237
- function us(o) {
3242
+ function ds(o) {
3238
3243
  var i = o.length;
3239
3244
  if (i === 1)
3240
3245
  return {
@@ -3248,38 +3253,38 @@ function wi() {
3248
3253
  y: u(p / i)
3249
3254
  };
3250
3255
  }
3251
- function ds(o, i, l) {
3256
+ function hs(o, i, l) {
3252
3257
  return {
3253
3258
  x: i / o || 0,
3254
3259
  y: l / o || 0
3255
3260
  };
3256
3261
  }
3257
- function hs(o, i) {
3262
+ function ps(o, i) {
3258
3263
  return o === i ? st : f(o) >= f(i) ? o < 0 ? Re : Be : i < 0 ? $e : ze;
3259
3264
  }
3260
3265
  function ot(o, i, l) {
3261
- l || (l = ls);
3266
+ l || (l = cs);
3262
3267
  var p = i[l[0]] - o[l[0]], m = i[l[1]] - o[l[1]];
3263
3268
  return Math.sqrt(p * p + m * m);
3264
3269
  }
3265
3270
  function Mt(o, i, l) {
3266
- l || (l = ls);
3271
+ l || (l = cs);
3267
3272
  var p = i[l[0]] - o[l[0]], m = i[l[1]] - o[l[1]];
3268
3273
  return Math.atan2(m, p) * 180 / Math.PI;
3269
3274
  }
3270
- function Kn(o, i) {
3275
+ function Jn(o, i) {
3271
3276
  return Mt(i[1], i[0], nt) + Mt(o[1], o[0], nt);
3272
3277
  }
3273
- function Jn(o, i) {
3278
+ function eo(o, i) {
3274
3279
  return ot(i[0], i[1], nt) / ot(o[0], o[1], nt);
3275
3280
  }
3276
- var eo = {
3281
+ var to = {
3277
3282
  mousedown: z,
3278
3283
  mousemove: Ce,
3279
3284
  mouseup: N
3280
- }, to = "mousedown", so = "mousemove mouseup";
3285
+ }, so = "mousedown", no = "mousemove mouseup";
3281
3286
  function rt() {
3282
- this.evEl = to, this.evWin = so, this.pressed = !1, Y.apply(this, arguments);
3287
+ this.evEl = so, this.evWin = no, this.pressed = !1, Y.apply(this, arguments);
3283
3288
  }
3284
3289
  x(rt, Y, {
3285
3290
  /**
@@ -3287,7 +3292,7 @@ function wi() {
3287
3292
  * @param {Object} ev
3288
3293
  */
3289
3294
  handler: function(i) {
3290
- var l = eo[i.type];
3295
+ var l = to[i.type];
3291
3296
  l & z && i.button === 0 && (this.pressed = !0), l & Ce && i.which !== 1 && (l = N), this.pressed && (l & N && (this.pressed = !1), this.callback(this.manager, l, {
3292
3297
  pointers: [i],
3293
3298
  changedPointers: [i],
@@ -3296,22 +3301,22 @@ function wi() {
3296
3301
  }));
3297
3302
  }
3298
3303
  });
3299
- var no = {
3304
+ var oo = {
3300
3305
  pointerdown: z,
3301
3306
  pointermove: Ce,
3302
3307
  pointerup: N,
3303
3308
  pointercancel: q,
3304
3309
  pointerout: q
3305
- }, oo = {
3310
+ }, ro = {
3306
3311
  2: Ue,
3307
- 3: qn,
3312
+ 3: jn,
3308
3313
  4: Dt,
3309
- 5: jn
3314
+ 5: Gn
3310
3315
  // see https://twitter.com/jacobrossi/status/480596438489890816
3311
- }, ps = "pointerdown", fs = "pointermove pointerup pointercancel";
3312
- t.MSPointerEvent && !t.PointerEvent && (ps = "MSPointerDown", fs = "MSPointerMove MSPointerUp MSPointerCancel");
3316
+ }, fs = "pointerdown", gs = "pointermove pointerup pointercancel";
3317
+ t.MSPointerEvent && !t.PointerEvent && (fs = "MSPointerDown", gs = "MSPointerMove MSPointerUp MSPointerCancel");
3313
3318
  function At() {
3314
- this.evEl = ps, this.evWin = fs, Y.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
3319
+ this.evEl = fs, this.evWin = gs, Y.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
3315
3320
  }
3316
3321
  x(At, Y, {
3317
3322
  /**
@@ -3319,7 +3324,7 @@ function wi() {
3319
3324
  * @param {Object} ev
3320
3325
  */
3321
3326
  handler: function(i) {
3322
- var l = this.store, p = !1, m = i.type.toLowerCase().replace("ms", ""), E = no[m], w = oo[i.pointerType] || i.pointerType, L = w == Ue, U = xe(l, i.pointerId, "pointerId");
3327
+ var l = this.store, p = !1, m = i.type.toLowerCase().replace("ms", ""), E = oo[m], w = ro[i.pointerType] || i.pointerType, L = w == Ue, U = xe(l, i.pointerId, "pointerId");
3323
3328
  E & z && (i.button === 0 || L) ? U < 0 && (l.push(i), U = l.length - 1) : E & (N | q) && (p = !0), !(U < 0) && (l[U] = i, this.callback(this.manager, E, {
3324
3329
  pointers: l,
3325
3330
  changedPointers: [i],
@@ -3328,20 +3333,20 @@ function wi() {
3328
3333
  }), p && l.splice(U, 1));
3329
3334
  }
3330
3335
  });
3331
- var ro = {
3336
+ var io = {
3332
3337
  touchstart: z,
3333
3338
  touchmove: Ce,
3334
3339
  touchend: N,
3335
3340
  touchcancel: q
3336
- }, io = "touchstart", ao = "touchstart touchmove touchend touchcancel";
3337
- function gs() {
3338
- this.evTarget = io, this.evWin = ao, this.started = !1, Y.apply(this, arguments);
3341
+ }, ao = "touchstart", lo = "touchstart touchmove touchend touchcancel";
3342
+ function ms() {
3343
+ this.evTarget = ao, this.evWin = lo, this.started = !1, Y.apply(this, arguments);
3339
3344
  }
3340
- x(gs, Y, {
3345
+ x(ms, Y, {
3341
3346
  handler: function(i) {
3342
- var l = ro[i.type];
3347
+ var l = io[i.type];
3343
3348
  if (l === z && (this.started = !0), !!this.started) {
3344
- var p = lo.call(this, i, l);
3349
+ var p = co.call(this, i, l);
3345
3350
  l & (N | q) && p[0].length - p[1].length === 0 && (this.started = !1), this.callback(this.manager, l, {
3346
3351
  pointers: p[0],
3347
3352
  changedPointers: p[1],
@@ -3351,22 +3356,22 @@ function wi() {
3351
3356
  }
3352
3357
  }
3353
3358
  });
3354
- function lo(o, i) {
3359
+ function co(o, i) {
3355
3360
  var l = et(o.touches), p = et(o.changedTouches);
3356
- return i & (N | q) && (l = os(l.concat(p), "identifier")), [l, p];
3361
+ return i & (N | q) && (l = rs(l.concat(p), "identifier")), [l, p];
3357
3362
  }
3358
- var co = {
3363
+ var uo = {
3359
3364
  touchstart: z,
3360
3365
  touchmove: Ce,
3361
3366
  touchend: N,
3362
3367
  touchcancel: q
3363
- }, uo = "touchstart touchmove touchend touchcancel";
3368
+ }, ho = "touchstart touchmove touchend touchcancel";
3364
3369
  function it() {
3365
- this.evTarget = uo, this.targetIds = {}, Y.apply(this, arguments);
3370
+ this.evTarget = ho, this.targetIds = {}, Y.apply(this, arguments);
3366
3371
  }
3367
3372
  x(it, Y, {
3368
3373
  handler: function(i) {
3369
- var l = co[i.type], p = ho.call(this, i, l);
3374
+ var l = uo[i.type], p = po.call(this, i, l);
3370
3375
  p && this.callback(this.manager, l, {
3371
3376
  pointers: p[0],
3372
3377
  changedPointers: p[1],
@@ -3375,7 +3380,7 @@ function wi() {
3375
3380
  });
3376
3381
  }
3377
3382
  });
3378
- function ho(o, i) {
3383
+ function po(o, i) {
3379
3384
  var l = et(o.touches), p = this.targetIds;
3380
3385
  if (i & (z | Ce) && l.length === 1)
3381
3386
  return p[l[0].identifier] = !0, [l, l];
@@ -3390,11 +3395,11 @@ function wi() {
3390
3395
  if (L.length)
3391
3396
  return [
3392
3397
  // merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'
3393
- os(E.concat(L), "identifier"),
3398
+ rs(E.concat(L), "identifier"),
3394
3399
  L
3395
3400
  ];
3396
3401
  }
3397
- var po = 2500, ms = 25;
3402
+ var fo = 2500, vs = 25;
3398
3403
  function Nt() {
3399
3404
  Y.apply(this, arguments);
3400
3405
  var o = F(this.handler, this);
@@ -3411,8 +3416,8 @@ function wi() {
3411
3416
  var m = p.pointerType == Ue, E = p.pointerType == Dt;
3412
3417
  if (!(E && p.sourceCapabilities && p.sourceCapabilities.firesTouchEvents)) {
3413
3418
  if (m)
3414
- fo.call(this, l, p);
3415
- else if (E && go.call(this, p))
3419
+ go.call(this, l, p);
3420
+ else if (E && mo.call(this, p))
3416
3421
  return;
3417
3422
  this.callback(i, l, p);
3418
3423
  }
@@ -3424,10 +3429,10 @@ function wi() {
3424
3429
  this.touch.destroy(), this.mouse.destroy();
3425
3430
  }
3426
3431
  });
3427
- function fo(o, i) {
3428
- o & z ? (this.primaryTouch = i.changedPointers[0].identifier, vs.call(this, i)) : o & (N | q) && vs.call(this, i);
3432
+ function go(o, i) {
3433
+ o & z ? (this.primaryTouch = i.changedPointers[0].identifier, ys.call(this, i)) : o & (N | q) && ys.call(this, i);
3429
3434
  }
3430
- function vs(o) {
3435
+ function ys(o) {
3431
3436
  var i = o.changedPointers[0];
3432
3437
  if (i.identifier === this.primaryTouch) {
3433
3438
  var l = { x: i.clientX, y: i.clientY };
@@ -3436,18 +3441,18 @@ function wi() {
3436
3441
  var E = p.indexOf(l);
3437
3442
  E > -1 && p.splice(E, 1);
3438
3443
  };
3439
- setTimeout(m, po);
3444
+ setTimeout(m, fo);
3440
3445
  }
3441
3446
  }
3442
- function go(o) {
3447
+ function mo(o) {
3443
3448
  for (var i = o.srcEvent.clientX, l = o.srcEvent.clientY, p = 0; p < this.lastTouches.length; p++) {
3444
3449
  var m = this.lastTouches[p], E = Math.abs(i - m.x), w = Math.abs(l - m.y);
3445
- if (E <= ms && w <= ms)
3450
+ if (E <= vs && w <= vs)
3446
3451
  return !0;
3447
3452
  }
3448
3453
  return !1;
3449
3454
  }
3450
- var ys = tt(c.style, "touchAction"), Es = ys !== r, Ss = "compute", Ts = "auto", Ot = "manipulation", be = "none", He = "pan-x", Fe = "pan-y", at = vo();
3455
+ var Es = tt(c.style, "touchAction"), Ss = Es !== r, Ts = "compute", Cs = "auto", Ot = "manipulation", be = "none", He = "pan-x", Fe = "pan-y", at = yo();
3451
3456
  function kt(o, i) {
3452
3457
  this.manager = o, this.set(i);
3453
3458
  }
@@ -3457,7 +3462,7 @@ function wi() {
3457
3462
  * @param {String} value
3458
3463
  */
3459
3464
  set: function(o) {
3460
- o == Ss && (o = this.compute()), Es && this.manager.element.style && at[o] && (this.manager.element.style[ys] = o), this.actions = o.toLowerCase().trim();
3465
+ o == Ts && (o = this.compute()), Ss && this.manager.element.style && at[o] && (this.manager.element.style[Es] = o), this.actions = o.toLowerCase().trim();
3461
3466
  },
3462
3467
  /**
3463
3468
  * just re-set the touchAction value
@@ -3473,7 +3478,7 @@ function wi() {
3473
3478
  var o = [];
3474
3479
  return _(this.manager.recognizers, function(i) {
3475
3480
  le(i.options.enable, [i]) && (o = o.concat(i.getTouchAction()));
3476
- }), mo(o.join(" "));
3481
+ }), vo(o.join(" "));
3477
3482
  },
3478
3483
  /**
3479
3484
  * this method is called on each input cycle and provides the preventing of the browser behavior
@@ -3502,14 +3507,14 @@ function wi() {
3502
3507
  this.manager.session.prevented = !0, o.preventDefault();
3503
3508
  }
3504
3509
  };
3505
- function mo(o) {
3510
+ function vo(o) {
3506
3511
  if (G(o, be))
3507
3512
  return be;
3508
3513
  var i = G(o, He), l = G(o, Fe);
3509
- return i && l ? be : i || l ? i ? He : Fe : G(o, Ot) ? Ot : Ts;
3514
+ return i && l ? be : i || l ? i ? He : Fe : G(o, Ot) ? Ot : Cs;
3510
3515
  }
3511
- function vo() {
3512
- if (!Es)
3516
+ function yo() {
3517
+ if (!Ss)
3513
3518
  return !1;
3514
3519
  var o = {}, i = t.CSS && t.CSS.supports;
3515
3520
  return ["auto", "manipulation", "pan-y", "pan-x", "pan-x pan-y", "none"].forEach(function(l) {
@@ -3518,7 +3523,7 @@ function wi() {
3518
3523
  }
3519
3524
  var lt = 1, W = 2, we = 4, Ee = 8, ue = Ee, qe = 16, se = 32;
3520
3525
  function de(o) {
3521
- this.options = P({}, this.defaults, o || {}), this.id = $n(), this.manager = null, this.options.enable = Ve(this.options.enable, !0), this.state = lt, this.simultaneous = {}, this.requireFail = [];
3526
+ this.options = P({}, this.defaults, o || {}), this.id = zn(), this.manager = null, this.options.enable = Ve(this.options.enable, !0), this.state = lt, this.simultaneous = {}, this.requireFail = [];
3522
3527
  }
3523
3528
  de.prototype = {
3524
3529
  /**
@@ -3601,7 +3606,7 @@ function wi() {
3601
3606
  function p(m) {
3602
3607
  i.manager.emit(m, o);
3603
3608
  }
3604
- l < Ee && p(i.options.event + Cs(l)), p(i.options.event), o.additionalEvent && p(o.additionalEvent), l >= Ee && p(i.options.event + Cs(l));
3609
+ l < Ee && p(i.options.event + _s(l)), p(i.options.event), o.additionalEvent && p(o.additionalEvent), l >= Ee && p(i.options.event + _s(l));
3605
3610
  },
3606
3611
  /**
3607
3612
  * Check that all the require failure recognizers has failed,
@@ -3663,10 +3668,10 @@ function wi() {
3663
3668
  reset: function() {
3664
3669
  }
3665
3670
  };
3666
- function Cs(o) {
3671
+ function _s(o) {
3667
3672
  return o & qe ? "cancel" : o & Ee ? "end" : o & we ? "move" : o & W ? "start" : "";
3668
3673
  }
3669
- function _s(o) {
3674
+ function bs(o) {
3670
3675
  return o == ze ? "down" : o == $e ? "up" : o == Re ? "left" : o == Be ? "right" : "";
3671
3676
  }
3672
3677
  function ct(o, i) {
@@ -3721,7 +3726,7 @@ function wi() {
3721
3726
  event: "pan",
3722
3727
  threshold: 10,
3723
3728
  pointers: 1,
3724
- direction: as
3729
+ direction: ls
3725
3730
  },
3726
3731
  getTouchAction: function() {
3727
3732
  var o = this.options.direction, i = [];
@@ -3736,7 +3741,7 @@ function wi() {
3736
3741
  },
3737
3742
  emit: function(o) {
3738
3743
  this.pX = o.deltaX, this.pY = o.deltaY;
3739
- var i = _s(o.direction);
3744
+ var i = bs(o.direction);
3740
3745
  i && (o.additionalEvent = this.options.event + i), this._super.emit.call(this, o);
3741
3746
  }
3742
3747
  });
@@ -3784,7 +3789,7 @@ function wi() {
3784
3789
  // a minimal movement is ok, but keep it low
3785
3790
  },
3786
3791
  getTouchAction: function() {
3787
- return [Ts];
3792
+ return [Cs];
3788
3793
  },
3789
3794
  process: function(o) {
3790
3795
  var i = this.options, l = o.pointers.length === i.pointers, p = o.distance < i.threshold, m = o.deltaTime > i.time;
@@ -3848,7 +3853,7 @@ function wi() {
3848
3853
  return i & (te | _e) ? l = o.overallVelocity : i & te ? l = o.overallVelocityX : i & _e && (l = o.overallVelocityY), this._super.attrTest.call(this, o) && i & o.offsetDirection && o.distance > this.options.threshold && o.maxPointers == this.options.pointers && f(l) > this.options.velocity && o.eventType & N;
3849
3854
  },
3850
3855
  emit: function(o) {
3851
- var i = _s(o.offsetDirection);
3856
+ var i = bs(o.offsetDirection);
3852
3857
  i && this.manager.emit(this.options.event + i, o), this.manager.emit(this.options.event, o);
3853
3858
  }
3854
3859
  });
@@ -3922,7 +3927,7 @@ function wi() {
3922
3927
  * @type {String}
3923
3928
  * @default compute
3924
3929
  */
3925
- touchAction: Ss,
3930
+ touchAction: Ts,
3926
3931
  /**
3927
3932
  * @type {Boolean}
3928
3933
  * @default true
@@ -4004,9 +4009,9 @@ function wi() {
4004
4009
  tapHighlightColor: "rgba(0,0,0,0)"
4005
4010
  }
4006
4011
  };
4007
- var yo = 1, bs = 2;
4012
+ var Eo = 1, Is = 2;
4008
4013
  function Bt(o, i) {
4009
- this.options = P({}, Se.defaults, i || {}), this.options.inputTarget = this.options.inputTarget || o, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = o, this.input = Yn(this), this.touchAction = new kt(this, this.options.touchAction), Is(this, !0), _(this.options.recognizers, function(l) {
4014
+ this.options = P({}, Se.defaults, i || {}), this.options.inputTarget = this.options.inputTarget || o, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = o, this.input = Wn(this), this.touchAction = new kt(this, this.options.touchAction), Ps(this, !0), _(this.options.recognizers, function(l) {
4010
4015
  var p = this.add(new l[0](l[1]));
4011
4016
  l[2] && p.recognizeWith(l[2]), l[3] && p.requireFailure(l[3]);
4012
4017
  }, this);
@@ -4027,7 +4032,7 @@ function wi() {
4027
4032
  * @param {Boolean} [force]
4028
4033
  */
4029
4034
  stop: function(o) {
4030
- this.session.stopped = o ? bs : yo;
4035
+ this.session.stopped = o ? Is : Eo;
4031
4036
  },
4032
4037
  /**
4033
4038
  * run the recognizers!
@@ -4042,7 +4047,7 @@ function wi() {
4042
4047
  var l, p = this.recognizers, m = i.curRecognizer;
4043
4048
  (!m || m && m.state & ue) && (m = i.curRecognizer = null);
4044
4049
  for (var E = 0; E < p.length; )
4045
- l = p[E], i.stopped !== bs && // 1
4050
+ l = p[E], i.stopped !== Is && // 1
4046
4051
  (!m || l == m || // 2
4047
4052
  l.canRecognizeWith(m)) ? l.recognize(o) : l.reset(), !m && l.state & (W | we | Ee) && (m = i.curRecognizer = l), E++;
4048
4053
  }
@@ -4120,7 +4125,7 @@ function wi() {
4120
4125
  * @param {Object} data
4121
4126
  */
4122
4127
  emit: function(o, i) {
4123
- this.options.domEvents && Eo(o, i);
4128
+ this.options.domEvents && So(o, i);
4124
4129
  var l = this.handlers[o] && this.handlers[o].slice();
4125
4130
  if (!(!l || !l.length)) {
4126
4131
  i.type = o, i.preventDefault = function() {
@@ -4135,10 +4140,10 @@ function wi() {
4135
4140
  * it doesn't unbind dom events, that is the user own responsibility
4136
4141
  */
4137
4142
  destroy: function() {
4138
- this.element && Is(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
4143
+ this.element && Ps(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
4139
4144
  }
4140
4145
  };
4141
- function Is(o, i) {
4146
+ function Ps(o, i) {
4142
4147
  var l = o.element;
4143
4148
  if (l.style) {
4144
4149
  var p;
@@ -4147,7 +4152,7 @@ function wi() {
4147
4152
  }), i || (o.oldCssProps = {});
4148
4153
  }
4149
4154
  }
4150
- function Eo(o, i) {
4155
+ function So(o, i) {
4151
4156
  var l = s.createEvent("Event");
4152
4157
  l.initEvent(o, !0, !0), l.gesture = i, i.target.dispatchEvent(l);
4153
4158
  }
@@ -4170,7 +4175,7 @@ function wi() {
4170
4175
  DIRECTION_DOWN: ze,
4171
4176
  DIRECTION_HORIZONTAL: te,
4172
4177
  DIRECTION_VERTICAL: _e,
4173
- DIRECTION_ALL: as,
4178
+ DIRECTION_ALL: ls,
4174
4179
  Manager: Bt,
4175
4180
  Input: Y,
4176
4181
  TouchAction: kt,
@@ -4178,7 +4183,7 @@ function wi() {
4178
4183
  MouseInput: rt,
4179
4184
  PointerEventInput: At,
4180
4185
  TouchMouseInput: Nt,
4181
- SingleTouchInput: gs,
4186
+ SingleTouchInput: ms,
4182
4187
  Recognizer: de,
4183
4188
  AttrRecognizer: K,
4184
4189
  Tap: dt,
@@ -4197,36 +4202,36 @@ function wi() {
4197
4202
  bindFn: F,
4198
4203
  prefixed: tt
4199
4204
  });
4200
- var So = typeof t < "u" ? t : typeof self < "u" ? self : {};
4201
- So.Hammer = Se, e.exports ? e.exports = Se : t[n] = Se;
4205
+ var To = typeof t < "u" ? t : typeof self < "u" ? self : {};
4206
+ To.Hammer = Se, e.exports ? e.exports = Se : t[n] = Se;
4202
4207
  })(window, document, "Hammer");
4203
4208
  })(Ht)), Ht.exports;
4204
4209
  }
4205
- var xt = wi();
4206
- const oe = /* @__PURE__ */ er({
4210
+ var xt = xi();
4211
+ const oe = /* @__PURE__ */ tr({
4207
4212
  __proto__: null
4208
- }, [xt]), Un = 1, Rn = 2, Zt = 4, Di = {
4209
- mousedown: Un,
4210
- mousemove: Rn,
4213
+ }, [xt]), Rn = 1, Bn = 2, Zt = 4, wi = {
4214
+ mousedown: Rn,
4215
+ mousemove: Bn,
4211
4216
  mouseup: Zt
4212
4217
  };
4213
- function Mi(e, t) {
4218
+ function Di(e, t) {
4214
4219
  for (let s = 0; s < e.length; s++)
4215
4220
  if (t(e[s]))
4216
4221
  return !0;
4217
4222
  return !1;
4218
4223
  }
4219
- function Ai(e) {
4224
+ function Mi(e) {
4220
4225
  const t = e.prototype.handler;
4221
4226
  e.prototype.handler = function(n) {
4222
4227
  const r = this.store;
4223
- n.button > 0 && n.type === "pointerdown" && (Mi(r, (a) => a.pointerId === n.pointerId) || r.push(n)), t.call(this, n);
4228
+ n.button > 0 && n.type === "pointerdown" && (Di(r, (a) => a.pointerId === n.pointerId) || r.push(n)), t.call(this, n);
4224
4229
  };
4225
4230
  }
4226
- function Ni(e) {
4231
+ function Ai(e) {
4227
4232
  e.prototype.handler = function(s) {
4228
- let n = Di[s.type];
4229
- n & Un && s.button >= 0 && (this.pressed = !0), n & Rn && s.buttons === 0 && (n = Zt), this.pressed && (n & Zt && (this.pressed = !1), this.callback(this.manager, n, {
4233
+ let n = wi[s.type];
4234
+ n & Rn && s.button >= 0 && (this.pressed = !0), n & Bn && s.buttons === 0 && (n = Zt), this.pressed && (n & Zt && (this.pressed = !1), this.callback(this.manager, n, {
4230
4235
  pointers: [s],
4231
4236
  changedPointers: [s],
4232
4237
  pointerType: "mouse",
@@ -4234,15 +4239,15 @@ function Ni(e) {
4234
4239
  }));
4235
4240
  };
4236
4241
  }
4237
- Ai(xt.PointerEventInput);
4238
- Ni(xt.MouseInput);
4239
- const Oi = xt.Manager;
4242
+ Mi(xt.PointerEventInput);
4243
+ Ai(xt.MouseInput);
4244
+ const Ni = xt.Manager;
4240
4245
  class wt {
4241
4246
  constructor(t, s, n) {
4242
4247
  this.element = t, this.callback = s, this.options = { enable: !0, ...n };
4243
4248
  }
4244
4249
  }
4245
- const ki = oe ? [
4250
+ const Oi = oe ? [
4246
4251
  [oe.Pan, { event: "tripan", pointers: 3, threshold: 0, enable: !1 }],
4247
4252
  [oe.Rotate, { enable: !1 }],
4248
4253
  [oe.Pinch, { enable: !1 }],
@@ -4253,16 +4258,16 @@ const ki = oe ? [
4253
4258
  // TODO - rename to 'tap' and 'singletap' in the next major release
4254
4259
  [oe.Tap, { event: "anytap", enable: !1 }],
4255
4260
  [oe.Tap, { enable: !1 }]
4256
- ] : null, Fs = {
4261
+ ] : null, qs = {
4257
4262
  tripan: ["rotate", "pinch", "pan"],
4258
4263
  rotate: ["pinch"],
4259
4264
  pinch: ["pan"],
4260
4265
  pan: ["press", "doubletap", "anytap", "tap"],
4261
4266
  doubletap: ["anytap"],
4262
4267
  anytap: ["tap"]
4263
- }, Li = {
4268
+ }, ki = {
4264
4269
  doubletap: ["tap"]
4265
- }, Vi = {
4270
+ }, Li = {
4266
4271
  pointerdown: "pointerdown",
4267
4272
  pointermove: "pointermove",
4268
4273
  pointerup: "pointerup",
@@ -4272,7 +4277,7 @@ const ki = oe ? [
4272
4277
  mousedown: "pointerdown",
4273
4278
  mousemove: "pointermove",
4274
4279
  mouseup: "pointerup"
4275
- }, ns = {
4280
+ }, os = {
4276
4281
  KEY_EVENTS: ["keydown", "keyup"],
4277
4282
  MOUSE_EVENTS: ["mousedown", "mousemove", "mouseup", "mouseover", "mouseout", "mouseleave"],
4278
4283
  WHEEL_EVENTS: [
@@ -4281,7 +4286,7 @@ const ki = oe ? [
4281
4286
  // IE
4282
4287
  "mousewheel"
4283
4288
  ]
4284
- }, Ui = {
4289
+ }, Vi = {
4285
4290
  tap: "tap",
4286
4291
  anytap: "anytap",
4287
4292
  doubletap: "doubletap",
@@ -4321,7 +4326,7 @@ const ki = oe ? [
4321
4326
  swiperight: "swipe",
4322
4327
  swipeup: "swipe",
4323
4328
  swipedown: "swipe"
4324
- }, qs = {
4329
+ }, js = {
4325
4330
  click: "tap",
4326
4331
  anyclick: "anytap",
4327
4332
  dblclick: "doubletap",
@@ -4331,7 +4336,7 @@ const ki = oe ? [
4331
4336
  mouseover: "pointerover",
4332
4337
  mouseout: "pointerout",
4333
4338
  mouseleave: "pointerleave"
4334
- }, Ri = typeof navigator < "u" && navigator.userAgent ? navigator.userAgent.toLowerCase() : "", Ae = typeof window < "u" ? window : global;
4339
+ }, Ui = typeof navigator < "u" && navigator.userAgent ? navigator.userAgent.toLowerCase() : "", Ae = typeof window < "u" ? window : global;
4335
4340
  let Qt = !1;
4336
4341
  try {
4337
4342
  const e = {
@@ -4345,15 +4350,15 @@ try {
4345
4350
  } catch {
4346
4351
  Qt = !1;
4347
4352
  }
4348
- const Bi = Ri.indexOf("firefox") !== -1, { WHEEL_EVENTS: $i } = ns, js = "wheel", Gs = 4.000244140625, zi = 40, Hi = 0.25;
4349
- class Fi extends wt {
4353
+ const Ri = Ui.indexOf("firefox") !== -1, { WHEEL_EVENTS: Bi } = os, Gs = "wheel", Ys = 4.000244140625, $i = 40, zi = 0.25;
4354
+ class Hi extends wt {
4350
4355
  constructor(t, s, n) {
4351
4356
  super(t, s, n), this.handleEvent = (r) => {
4352
4357
  if (!this.options.enable)
4353
4358
  return;
4354
4359
  let a = r.deltaY;
4355
- Ae.WheelEvent && (Bi && r.deltaMode === Ae.WheelEvent.DOM_DELTA_PIXEL && (a /= Ae.devicePixelRatio), r.deltaMode === Ae.WheelEvent.DOM_DELTA_LINE && (a *= zi)), a !== 0 && a % Gs === 0 && (a = Math.floor(a / Gs)), r.shiftKey && a && (a = a * Hi), this.callback({
4356
- type: js,
4360
+ Ae.WheelEvent && (Ri && r.deltaMode === Ae.WheelEvent.DOM_DELTA_PIXEL && (a /= Ae.devicePixelRatio), r.deltaMode === Ae.WheelEvent.DOM_DELTA_LINE && (a *= $i)), a !== 0 && a % Ys === 0 && (a = Math.floor(a / Ys)), r.shiftKey && a && (a = a * zi), this.callback({
4361
+ type: Gs,
4357
4362
  center: {
4358
4363
  x: r.clientX,
4359
4364
  y: r.clientY
@@ -4363,7 +4368,7 @@ class Fi extends wt {
4363
4368
  pointerType: "mouse",
4364
4369
  target: r.target
4365
4370
  });
4366
- }, this.events = (this.options.events || []).concat($i), this.events.forEach((r) => t.addEventListener(r, this.handleEvent, Qt ? { passive: !1 } : !1));
4371
+ }, this.events = (this.options.events || []).concat(Bi), this.events.forEach((r) => t.addEventListener(r, this.handleEvent, Qt ? { passive: !1 } : !1));
4367
4372
  }
4368
4373
  destroy() {
4369
4374
  this.events.forEach((t) => this.element.removeEventListener(t, this.handleEvent));
@@ -4373,17 +4378,17 @@ class Fi extends wt {
4373
4378
  * if the specified event type is among those handled by this input.
4374
4379
  */
4375
4380
  enableEventType(t, s) {
4376
- t === js && (this.options.enable = s);
4381
+ t === Gs && (this.options.enable = s);
4377
4382
  }
4378
4383
  }
4379
- const { MOUSE_EVENTS: qi } = ns, Ys = "pointermove", Ws = "pointerover", Xs = "pointerout", Zs = "pointerenter", Qs = "pointerleave";
4380
- class ji extends wt {
4384
+ const { MOUSE_EVENTS: Fi } = os, Ws = "pointermove", Xs = "pointerover", Zs = "pointerout", Qs = "pointerenter", Ks = "pointerleave";
4385
+ class qi extends wt {
4381
4386
  constructor(t, s, n) {
4382
4387
  super(t, s, n), this.handleEvent = (a) => {
4383
4388
  this.handleOverEvent(a), this.handleOutEvent(a), this.handleEnterEvent(a), this.handleLeaveEvent(a), this.handleMoveEvent(a);
4384
4389
  }, this.pressed = !1;
4385
4390
  const { enable: r } = this.options;
4386
- this.enableMoveEvent = r, this.enableLeaveEvent = r, this.enableEnterEvent = r, this.enableOutEvent = r, this.enableOverEvent = r, this.events = (this.options.events || []).concat(qi), this.events.forEach((a) => t.addEventListener(a, this.handleEvent));
4391
+ this.enableMoveEvent = r, this.enableLeaveEvent = r, this.enableEnterEvent = r, this.enableOutEvent = r, this.enableOverEvent = r, this.events = (this.options.events || []).concat(Fi), this.events.forEach((a) => t.addEventListener(a, this.handleEvent));
4387
4392
  }
4388
4393
  destroy() {
4389
4394
  this.events.forEach((t) => this.element.removeEventListener(t, this.handleEvent));
@@ -4393,19 +4398,19 @@ class ji extends wt {
4393
4398
  * if the specified event type is among those handled by this input.
4394
4399
  */
4395
4400
  enableEventType(t, s) {
4396
- t === Ys && (this.enableMoveEvent = s), t === Ws && (this.enableOverEvent = s), t === Xs && (this.enableOutEvent = s), t === Zs && (this.enableEnterEvent = s), t === Qs && (this.enableLeaveEvent = s);
4401
+ t === Ws && (this.enableMoveEvent = s), t === Xs && (this.enableOverEvent = s), t === Zs && (this.enableOutEvent = s), t === Qs && (this.enableEnterEvent = s), t === Ks && (this.enableLeaveEvent = s);
4397
4402
  }
4398
4403
  handleOverEvent(t) {
4399
- this.enableOverEvent && t.type === "mouseover" && this._emit(Ws, t);
4404
+ this.enableOverEvent && t.type === "mouseover" && this._emit(Xs, t);
4400
4405
  }
4401
4406
  handleOutEvent(t) {
4402
- this.enableOutEvent && t.type === "mouseout" && this._emit(Xs, t);
4407
+ this.enableOutEvent && t.type === "mouseout" && this._emit(Zs, t);
4403
4408
  }
4404
4409
  handleEnterEvent(t) {
4405
- this.enableEnterEvent && t.type === "mouseenter" && this._emit(Zs, t);
4410
+ this.enableEnterEvent && t.type === "mouseenter" && this._emit(Qs, t);
4406
4411
  }
4407
4412
  handleLeaveEvent(t) {
4408
- this.enableLeaveEvent && t.type === "mouseleave" && this._emit(Qs, t);
4413
+ this.enableLeaveEvent && t.type === "mouseleave" && this._emit(Ks, t);
4409
4414
  }
4410
4415
  handleMoveEvent(t) {
4411
4416
  if (this.enableMoveEvent)
@@ -4414,7 +4419,7 @@ class ji extends wt {
4414
4419
  t.button >= 0 && (this.pressed = !0);
4415
4420
  break;
4416
4421
  case "mousemove":
4417
- t.buttons === 0 && (this.pressed = !1), this.pressed || this._emit(Ys, t);
4422
+ t.buttons === 0 && (this.pressed = !1), this.pressed || this._emit(Ws, t);
4418
4423
  break;
4419
4424
  case "mouseup":
4420
4425
  this.pressed = !1;
@@ -4434,23 +4439,23 @@ class ji extends wt {
4434
4439
  });
4435
4440
  }
4436
4441
  }
4437
- const { KEY_EVENTS: Gi } = ns, Ks = "keydown", Js = "keyup";
4438
- class Yi extends wt {
4442
+ const { KEY_EVENTS: ji } = os, Js = "keydown", en = "keyup";
4443
+ class Gi extends wt {
4439
4444
  constructor(t, s, n) {
4440
4445
  super(t, s, n), this.handleEvent = (r) => {
4441
4446
  const a = r.target || r.srcElement;
4442
4447
  a.tagName === "INPUT" && a.type === "text" || a.tagName === "TEXTAREA" || (this.enableDownEvent && r.type === "keydown" && this.callback({
4443
- type: Ks,
4448
+ type: Js,
4444
4449
  srcEvent: r,
4445
4450
  key: r.key,
4446
4451
  target: r.target
4447
4452
  }), this.enableUpEvent && r.type === "keyup" && this.callback({
4448
- type: Js,
4453
+ type: en,
4449
4454
  srcEvent: r,
4450
4455
  key: r.key,
4451
4456
  target: r.target
4452
4457
  }));
4453
- }, this.enableDownEvent = this.options.enable, this.enableUpEvent = this.options.enable, this.events = (this.options.events || []).concat(Gi), t.tabIndex = this.options.tabIndex || 0, t.style.outline = "none", this.events.forEach((r) => t.addEventListener(r, this.handleEvent));
4458
+ }, this.enableDownEvent = this.options.enable, this.enableUpEvent = this.options.enable, this.events = (this.options.events || []).concat(ji), t.tabIndex = this.options.tabIndex || 0, t.style.outline = "none", this.events.forEach((r) => t.addEventListener(r, this.handleEvent));
4454
4459
  }
4455
4460
  destroy() {
4456
4461
  this.events.forEach((t) => this.element.removeEventListener(t, this.handleEvent));
@@ -4460,15 +4465,15 @@ class Yi extends wt {
4460
4465
  * if the specified event type is among those handled by this input.
4461
4466
  */
4462
4467
  enableEventType(t, s) {
4463
- t === Ks && (this.enableDownEvent = s), t === Js && (this.enableUpEvent = s);
4468
+ t === Js && (this.enableDownEvent = s), t === en && (this.enableUpEvent = s);
4464
4469
  }
4465
4470
  }
4466
- const en = "contextmenu";
4467
- class Wi extends wt {
4471
+ const tn = "contextmenu";
4472
+ class Yi extends wt {
4468
4473
  constructor(t, s, n) {
4469
4474
  super(t, s, n), this.handleEvent = (r) => {
4470
4475
  this.options.enable && this.callback({
4471
- type: en,
4476
+ type: tn,
4472
4477
  center: {
4473
4478
  x: r.clientX,
4474
4479
  y: r.clientY
@@ -4487,26 +4492,26 @@ class Wi extends wt {
4487
4492
  * if the specified event type is among those handled by this input.
4488
4493
  */
4489
4494
  enableEventType(t, s) {
4490
- t === en && (this.options.enable = s);
4495
+ t === tn && (this.options.enable = s);
4491
4496
  }
4492
4497
  }
4493
- const tn = 1, Kt = 2, sn = 4, Xi = {
4494
- pointerdown: tn,
4498
+ const sn = 1, Kt = 2, nn = 4, Wi = {
4499
+ pointerdown: sn,
4495
4500
  pointermove: Kt,
4496
- pointerup: sn,
4497
- mousedown: tn,
4501
+ pointerup: nn,
4502
+ mousedown: sn,
4498
4503
  mousemove: Kt,
4499
- mouseup: sn
4500
- }, Zi = 0, Qi = 1, Ki = 2, Ji = 1, ea = 2, ta = 4;
4501
- function sa(e) {
4502
- const t = Xi[e.srcEvent.type];
4504
+ mouseup: nn
4505
+ }, Xi = 0, Zi = 1, Qi = 2, Ki = 1, Ji = 2, ea = 4;
4506
+ function ta(e) {
4507
+ const t = Wi[e.srcEvent.type];
4503
4508
  if (!t)
4504
4509
  return null;
4505
4510
  const { buttons: s, button: n } = e.srcEvent;
4506
4511
  let r = !1, a = !1, c = !1;
4507
- return t === Kt ? (r = !!(s & Ji), a = !!(s & ta), c = !!(s & ea)) : (r = n === Zi, a = n === Qi, c = n === Ki), { leftButton: r, middleButton: a, rightButton: c };
4512
+ return t === Kt ? (r = !!(s & Ki), a = !!(s & ea), c = !!(s & Ji)) : (r = n === Xi, a = n === Zi, c = n === Qi), { leftButton: r, middleButton: a, rightButton: c };
4508
4513
  }
4509
- function na(e, t) {
4514
+ function sa(e, t) {
4510
4515
  const s = e.center;
4511
4516
  if (!s)
4512
4517
  return null;
@@ -4520,7 +4525,7 @@ const Ft = {
4520
4525
  srcElement: "root",
4521
4526
  priority: 0
4522
4527
  };
4523
- class oa {
4528
+ class na {
4524
4529
  constructor(t) {
4525
4530
  this.handleEvent = (s) => {
4526
4531
  if (this.isEmpty())
@@ -4605,8 +4610,8 @@ class oa {
4605
4610
  const s = this.eventManager.getElement();
4606
4611
  return {
4607
4612
  ...t,
4608
- ...sa(t),
4609
- ...na(t, s),
4613
+ ...ta(t),
4614
+ ...sa(t, s),
4610
4615
  preventDefault: () => {
4611
4616
  t.srcEvent.preventDefault();
4612
4617
  },
@@ -4617,27 +4622,27 @@ class oa {
4617
4622
  };
4618
4623
  }
4619
4624
  }
4620
- const ra = {
4625
+ const oa = {
4621
4626
  // event handlers
4622
4627
  events: null,
4623
4628
  // custom recognizers
4624
4629
  recognizers: null,
4625
4630
  recognizerOptions: {},
4626
4631
  // Manager class
4627
- Manager: Oi,
4632
+ Manager: Ni,
4628
4633
  // allow browser default touch action
4629
4634
  // https://github.com/uber/react-map-gl/issues/506
4630
4635
  touchAction: "none",
4631
4636
  tabIndex: 0
4632
4637
  };
4633
- class ia {
4638
+ class ra {
4634
4639
  constructor(t = null, s) {
4635
4640
  this._onBasicInput = (r) => {
4636
- const { srcEvent: a } = r, c = Vi[a.type];
4641
+ const { srcEvent: a } = r, c = Li[a.type];
4637
4642
  c && this.manager.emit(c, r);
4638
4643
  }, this._onOtherEvent = (r) => {
4639
4644
  this.manager.emit(r.type, r);
4640
- }, this.options = { ...ra, ...s }, this.events = /* @__PURE__ */ new Map(), this.setElement(t);
4645
+ }, this.options = { ...oa, ...s }, this.events = /* @__PURE__ */ new Map(), this.setElement(t);
4641
4646
  const { events: n } = this.options;
4642
4647
  n && this.on(n);
4643
4648
  }
@@ -4650,10 +4655,10 @@ class ia {
4650
4655
  const { options: s } = this, n = s.Manager;
4651
4656
  this.manager = new n(t, {
4652
4657
  touchAction: s.touchAction,
4653
- recognizers: s.recognizers || ki
4654
- }).on("hammer.input", this._onBasicInput), s.recognizers || Object.keys(Fs).forEach((r) => {
4658
+ recognizers: s.recognizers || Oi
4659
+ }).on("hammer.input", this._onBasicInput), s.recognizers || Object.keys(qs).forEach((r) => {
4655
4660
  const a = this.manager.get(r);
4656
- a && Fs[r].forEach((c) => {
4661
+ a && qs[r].forEach((c) => {
4657
4662
  a.recognizeWith(c);
4658
4663
  });
4659
4664
  });
@@ -4664,14 +4669,14 @@ class ia {
4664
4669
  delete c.enable, a.set(c);
4665
4670
  }
4666
4671
  }
4667
- this.wheelInput = new Fi(t, this._onOtherEvent, {
4672
+ this.wheelInput = new Hi(t, this._onOtherEvent, {
4668
4673
  enable: !1
4669
- }), this.moveInput = new ji(t, this._onOtherEvent, {
4674
+ }), this.moveInput = new qi(t, this._onOtherEvent, {
4670
4675
  enable: !1
4671
- }), this.keyInput = new Yi(t, this._onOtherEvent, {
4676
+ }), this.keyInput = new Gi(t, this._onOtherEvent, {
4672
4677
  enable: !1,
4673
4678
  tabIndex: s.tabIndex
4674
- }), this.contextmenuInput = new Wi(t, this._onOtherEvent, {
4679
+ }), this.contextmenuInput = new Yi(t, this._onOtherEvent, {
4675
4680
  enable: !1
4676
4681
  });
4677
4682
  for (const [r, a] of this.events)
@@ -4704,7 +4709,7 @@ class ia {
4704
4709
  const r = n.get(t);
4705
4710
  if (r && r.options.enable !== s) {
4706
4711
  r.set({ enable: s });
4707
- const a = Li[t];
4712
+ const a = ki[t];
4708
4713
  a && !this.options.recognizers && a.forEach((c) => {
4709
4714
  const d = n.get(c);
4710
4715
  s ? (d.requireFailure(t), r.dropRequireFailure(c)) : d.dropRequireFailure(t);
@@ -4722,9 +4727,9 @@ class ia {
4722
4727
  this._addEventHandler(g, t[g], n, r, a);
4723
4728
  return;
4724
4729
  }
4725
- const { manager: c, events: d } = this, u = qs[t] || t;
4730
+ const { manager: c, events: d } = this, u = js[t] || t;
4726
4731
  let f = d.get(u);
4727
- f || (f = new oa(this), d.set(u, f), f.recognizerName = Ui[u] || u, c && c.on(u, f.handleEvent)), f.add(t, s, n, r, a), f.isEmpty() || this._toggleRecognizer(f.recognizerName, !0);
4732
+ f || (f = new na(this), d.set(u, f), f.recognizerName = Vi[u] || u, c && c.on(u, f.handleEvent)), f.add(t, s, n, r, a), f.isEmpty() || this._toggleRecognizer(f.recognizerName, !0);
4728
4733
  }
4729
4734
  /**
4730
4735
  * Process the event deregistration for a single event + handler.
@@ -4735,7 +4740,7 @@ class ia {
4735
4740
  this._removeEventHandler(c, t[c]);
4736
4741
  return;
4737
4742
  }
4738
- const { events: n } = this, r = qs[t] || t, a = n.get(r);
4743
+ const { events: n } = this, r = js[t] || t, a = n.get(r);
4739
4744
  if (a && (a.remove(t, s), a.isEmpty())) {
4740
4745
  const { recognizerName: c } = a;
4741
4746
  let d = !1;
@@ -4748,7 +4753,7 @@ class ia {
4748
4753
  }
4749
4754
  }
4750
4755
  }
4751
- const aa = {
4756
+ const ia = {
4752
4757
  __name: "PgInteractionDetector",
4753
4758
  setup(e) {
4754
4759
  const t = he(), s = Te(), n = j(null), r = j([]), a = j("ended"), c = j(0);
@@ -4792,7 +4797,7 @@ const aa = {
4792
4797
  a.value === "started" && G < ce && G < Q && ce < Q && (a.value = "ended");
4793
4798
  };
4794
4799
  return bt(() => {
4795
- d = new ia(n.value, {
4800
+ d = new ra(n.value, {
4796
4801
  recognizers: [
4797
4802
  // RecognizerClass, [options], [recognizeWith, ...], [requireFailure, ...]
4798
4803
  [Hammer.Pinch],
@@ -4822,7 +4827,7 @@ const aa = {
4822
4827
  ref: n
4823
4828
  }, null, 512));
4824
4829
  }
4825
- }, la = T({
4830
+ }, aa = T({
4826
4831
  name: "PgAdvancedButton",
4827
4832
  setup(e, { slots: t, emit: s }) {
4828
4833
  const n = k(), { lang: r } = M(), a = y(() => {
@@ -4843,37 +4848,37 @@ const aa = {
4843
4848
  }
4844
4849
  return () => d();
4845
4850
  }
4846
- }), ca = T({
4851
+ }), la = T({
4847
4852
  name: "PgDefaultButtonRow",
4848
4853
  setup(e, { slots: t, emit: s }) {
4849
4854
  function n() {
4850
4855
  return h("div", {
4851
4856
  class: "pg-drawer-button-row q-pt-md q-pb-sm row"
4852
4857
  }, [
4853
- h("div", { class: "col text-center" }, [h(Ln)]),
4854
- h("div", { class: "col text-center" }, [h(la)])
4858
+ h("div", { class: "col text-center" }, [h(Vn)]),
4859
+ h("div", { class: "col text-center" }, [h(aa)])
4855
4860
  ]);
4856
4861
  }
4857
4862
  return () => n();
4858
4863
  }
4859
- }), ua = T({
4864
+ }), ca = T({
4860
4865
  name: "PgDefaultDrawer",
4861
4866
  props: {},
4862
4867
  emits: ["click"],
4863
4868
  setup(e, { slots: t, emit: s }) {
4864
4869
  return () => h(
4865
- ln,
4870
+ cn,
4866
4871
  { name: Me },
4867
4872
  {
4868
- default: () => h(kn, { center: !0 }),
4873
+ default: () => h(Ln, { center: !0 }),
4869
4874
  secondary: () => [
4870
- h(ts, { playMode: !0 }),
4871
- h(ca)
4875
+ h(ss, { playMode: !0 }),
4876
+ h(la)
4872
4877
  ]
4873
4878
  }
4874
4879
  );
4875
4880
  }
4876
- }), da = T({
4881
+ }), ua = T({
4877
4882
  name: "PgAdvancedDrawer",
4878
4883
  props: {},
4879
4884
  emits: ["click"],
@@ -4883,30 +4888,30 @@ const aa = {
4883
4888
  return (a = n.value.pg) == null ? void 0 : a.buttons.advanced.title;
4884
4889
  });
4885
4890
  return () => h(
4886
- ln,
4891
+ cn,
4887
4892
  { class: "pg-effects-drawer", name: St, label: r.value },
4888
4893
  {
4889
- default: () => h(Vn, { center: !0, playMode: !0 })
4894
+ default: () => h(Un, { center: !0, playMode: !0 })
4890
4895
  }
4891
4896
  );
4892
4897
  }
4893
- }), ha = T({
4898
+ }), da = T({
4894
4899
  name: "TsDrawers",
4895
4900
  setup(e, { slots: t, emit: s }) {
4896
4901
  const n = k(), { mobileActive: r } = S(n);
4897
4902
  function a() {
4898
4903
  return h(
4899
- qo,
4904
+ jo,
4900
4905
  {
4901
4906
  modelValue: r.value,
4902
4907
  "onUpdate:modelValue": (c) => r.value = c
4903
4908
  },
4904
- () => [h(ua), h(da)]
4909
+ () => [h(ca), h(ua)]
4905
4910
  );
4906
4911
  }
4907
4912
  return () => a();
4908
4913
  }
4909
- }), pa = { class: "pg-viewport full-height" }, fa = {
4914
+ }), ha = { class: "pg-viewport full-height" }, pa = {
4910
4915
  __name: "PgViewport",
4911
4916
  props: {
4912
4917
  modelValue: Boolean
@@ -4927,25 +4932,25 @@ const aa = {
4927
4932
  });
4928
4933
  return (g, v) => (O(), _t(qt, { name: "fade" }, {
4929
4934
  default: jt(() => [
4930
- vt(De("div", pa, [
4931
- B(aa),
4932
- B(A(On)),
4933
- B(xi),
4935
+ vt(De("div", ha, [
4936
+ B(ia),
4937
+ B(A(kn)),
4938
+ B(Pi),
4934
4939
  B(qt, { name: "fade" }, {
4935
4940
  default: jt(() => [
4936
- vt(B(A(Ao), { class: "loading-graphic" }, null, 512), [
4941
+ vt(B(A(No), { class: "loading-graphic" }, null, 512), [
4937
4942
  [yt, A(c)]
4938
4943
  ])
4939
4944
  ]),
4940
4945
  _: 1
4941
4946
  }),
4942
- B(A(Ei)),
4943
- B(A(bi), {
4947
+ B(A(yi)),
4948
+ B(A(_i), {
4944
4949
  class: "desktop-only",
4945
4950
  modelValue: n.value,
4946
4951
  "onUpdate:modelValue": v[0] || (v[0] = (C) => n.value = C)
4947
4952
  }, null, 8, ["modelValue"]),
4948
- vt(B(A(ha), { class: "mobile-only" }, null, 512), [
4953
+ vt(B(A(da), { class: "mobile-only" }, null, 512), [
4949
4954
  [yt, r.value]
4950
4955
  ])
4951
4956
  ], 512), [
@@ -4955,11 +4960,11 @@ const aa = {
4955
4960
  _: 1
4956
4961
  }));
4957
4962
  }
4958
- }, _a = T({
4963
+ }, Ca = T({
4959
4964
  name: "PoseGenerator",
4960
4965
  options: { slug: "pose-generator" },
4961
4966
  setup(e, { slots: t, emit: s }) {
4962
- const n = Io(), r = Symbol.for("user-auth"), a = bo(r), c = Pt(), d = Te(), u = X(), f = k(), { show: g } = S(d), { authenticated: v } = S(a), { filters: C } = S(c), { filterData: _ } = S(f);
4967
+ const n = Po(), r = Symbol.for("user-auth"), a = Io(r), c = Pt(), d = Te(), u = X(), f = k(), { show: g } = S(d), { authenticated: v } = S(a), { filters: C } = S(c), { filterData: _ } = S(f);
4963
4968
  let D = 0;
4964
4969
  Ne(v, (I, b) => {
4965
4970
  I === !1 && f.customReset(), I === !0 && b !== !0 && f.getSettings();
@@ -4971,7 +4976,7 @@ const aa = {
4971
4976
  d.pause();
4972
4977
  },
4973
4978
  { immediate: !0 }
4974
- ), No(), bt(() => {
4979
+ ), Oo(), bt(() => {
4975
4980
  f.init(), f.fetch().then(() => {
4976
4981
  u.loadQueue();
4977
4982
  }).catch(() => {
@@ -4985,14 +4990,14 @@ const aa = {
4985
4990
  return [
4986
4991
  // overlay can now be absolutely positioned within the wrapper
4987
4992
  // h(GridOverlay, { style: 'z-index: 5;' }),
4988
- h(yi),
4989
- h(fa, I)
4993
+ h(vi),
4994
+ h(pa, I)
4990
4995
  ];
4991
4996
  }
4992
4997
  return () => P();
4993
4998
  }
4994
4999
  });
4995
5000
  export {
4996
- _a as PoseGenerator,
5001
+ Ca as PoseGenerator,
4997
5002
  k as usePgStore
4998
5003
  };