@figurosity/consumer-pose-generator 0.1.0 → 0.1.2

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 es, 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 { 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,22 @@ 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
127
  if (s)
127
- return `undefined/pose-generator/camera-angles/camera-${s}.webp`;
128
+ return `${this.staticServer}/pose-generator/camera-angles/camera-${s}.webp`;
128
129
  };
129
130
  },
130
131
  caption(e) {
131
132
  return Le(e.selected.map((t) => e.models[t].name));
132
133
  }
133
- }, or = {}, pe = ke({
134
+ }, rr = {}, pe = ke({
134
135
  storeId: "pg-cameras",
135
- state: sr,
136
- getters: nr,
137
- actions: or
136
+ state: nr,
137
+ getters: or,
138
+ actions: rr
138
139
  }), je = 100, Ge = 100, Ye = 100, ge = ie("pg-adjustments", {
139
140
  state: () => ({
140
141
  brightness: je,
@@ -185,8 +186,8 @@ const sr = {}, nr = {
185
186
  this.$reset();
186
187
  }
187
188
  }
188
- }), { setSelected: rr } = pn;
189
- function Os(e, t = !0) {
189
+ }), { setSelected: ir } = fn;
190
+ function ks(e, t = !0) {
190
191
  if (!e) return t ? "0s" : "0 seconds";
191
192
  const s = e === 1 ? "second" : "seconds";
192
193
  if (e < 60)
@@ -216,16 +217,16 @@ const Z = ie("pg-durations", {
216
217
  return e.collection.findIndex((s) => String(s) === String(t));
217
218
  },
218
219
  title(e) {
219
- return Os(e.duration, !1);
220
+ return ks(e.duration, !1);
220
221
  },
221
222
  values(e) {
222
223
  const t = e.models;
223
224
  return e.collection.map((n, r) => ({
224
225
  value: r,
225
- label: Os(t[n].seconds)
226
+ label: ks(t[n].seconds)
226
227
  })) || [];
227
228
  },
228
- ...hn
229
+ ...pn
229
230
  },
230
231
  actions: {
231
232
  customReset() {
@@ -239,7 +240,7 @@ const Z = ie("pg-durations", {
239
240
  s.selected = t.id;
240
241
  });
241
242
  },
242
- setSelected: rr,
243
+ setSelected: ir,
243
244
  setState(e) {
244
245
  if (!e)
245
246
  throw new Error(this.$id + " entities must not be null");
@@ -253,14 +254,21 @@ const Z = ie("pg-durations", {
253
254
  });
254
255
  }
255
256
  }
256
- }), ir = void 0, ar = void 0;
257
+ });
258
+ let Wt = {};
259
+ function Ca(e) {
260
+ Wt = e;
261
+ }
257
262
  function Ke() {
258
- return xo({ freeServer: ir, paidServer: ar });
263
+ return wo({
264
+ freeServer: Wt.freeServer,
265
+ paidServer: Wt.paidServer
266
+ });
259
267
  }
260
- const lr = {
268
+ const ar = {
261
269
  uuid: void 0,
262
270
  playSelected: 1
263
- }, cr = {
271
+ }, lr = {
264
272
  src(e) {
265
273
  return (t) => {
266
274
  const { getThumbnail: s } = Ke();
@@ -274,7 +282,7 @@ const lr = {
274
282
  var t, s;
275
283
  return ((s = (t = e.models) == null ? void 0 : t[e.playSelected]) == null ? void 0 : s.name) || "Normal";
276
284
  }
277
- }, ur = {
285
+ }, cr = {
278
286
  getSrc(e, t) {
279
287
  const { getThumbnail: s } = Ke();
280
288
  return t = t || this.uuid, s({ uuid: t, image: e });
@@ -305,13 +313,13 @@ const lr = {
305
313
  }
306
314
  }, V = ke({
307
315
  storeId: "pg-skins",
308
- state: lr,
309
- getters: cr,
310
- actions: ur
311
- }), dr = {
316
+ state: ar,
317
+ getters: lr,
318
+ actions: cr
319
+ }), ur = {
312
320
  selected: 1,
313
321
  playSelected: 1
314
- }, hr = {
322
+ }, dr = {
315
323
  src(e) {
316
324
  return (t = "none") => {
317
325
  const { getThumbnail: s } = Ke(), n = t === "negative" ? "000000" : "ffffff", r = V();
@@ -352,7 +360,7 @@ const lr = {
352
360
  return s.name;
353
361
  };
354
362
  }
355
- }, pr = {
363
+ }, hr = {
356
364
  setSelected(e, t = !1) {
357
365
  if (t) {
358
366
  this.$patch((s) => {
@@ -374,24 +382,24 @@ const lr = {
374
382
  }
375
383
  }, R = ke({
376
384
  storeId: "pg-effects",
377
- state: dr,
378
- getters: hr,
379
- actions: pr
380
- }), fr = {}, gr = {
385
+ state: ur,
386
+ getters: dr,
387
+ actions: hr
388
+ }), pr = {}, fr = {
381
389
  caption(e) {
382
390
  return Le(e.selected.map((t) => e.models[t].name));
383
391
  }
384
- }, mr = {}, re = ke({
392
+ }, gr = {}, re = ke({
385
393
  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", {
394
+ state: pr,
395
+ getters: fr,
396
+ actions: gr
397
+ }), Ls = 0, Vs = 20, Us = 0, mr = !1, Ie = ie("pg-grid", {
390
398
  state: () => ({
391
- visible: vr,
392
- spacing: Ls,
393
- horizontal: ks,
394
- vertical: Vs
399
+ visible: mr,
400
+ spacing: Vs,
401
+ horizontal: Ls,
402
+ vertical: Us
395
403
  }),
396
404
  getters: {
397
405
  changed: (e) => e.visible === !0,
@@ -405,9 +413,9 @@ const lr = {
405
413
  throw new Error(this.$id + " result must not be null");
406
414
  this.$patch({
407
415
  visible: e.visible === 1,
408
- spacing: e.spacing || Ls,
409
- horizontal: e.horizontal || ks,
410
- vertical: e.vertical || Vs
416
+ spacing: e.spacing || Vs,
417
+ horizontal: e.horizontal || Ls,
418
+ vertical: e.vertical || Us
411
419
  });
412
420
  },
413
421
  customReset() {
@@ -439,31 +447,32 @@ const lr = {
439
447
  });
440
448
  }
441
449
  }
442
- }), yr = {}, Er = {
450
+ }), vr = {}, yr = {
443
451
  src(e) {
444
452
  return (t) => {
445
453
  const s = this.propertyById(t, "slug");
446
- return s ? `undefined/pose-generator/light-direction/from-${s}.webp` : void 0;
454
+ if (s)
455
+ return `${this.staticServer}/pose-generator/light-direction/from-${s}.webp`;
447
456
  };
448
457
  },
449
458
  caption(e) {
450
459
  return Le(e.selected.map((t) => e.models[t].name));
451
460
  }
452
- }, Sr = {}, ee = ke({
461
+ }, Er = {}, ee = ke({
453
462
  storeId: "pg-lights",
454
- state: yr,
455
- getters: Er,
456
- actions: Sr
463
+ state: vr,
464
+ getters: yr,
465
+ actions: Er
457
466
  });
458
- function Tr(e) {
467
+ function Sr(e) {
459
468
  return function() {
460
469
  e = e + 1831565813 >>> 0;
461
470
  let t = Math.imul(e ^ e >>> 15, e | 1);
462
471
  return t ^= t + Math.imul(t ^ t >>> 7, t | 61), ((t ^ t >>> 14) >>> 0) / 4294967296;
463
472
  };
464
473
  }
465
- function Cr(e, t) {
466
- const s = e.slice(), n = Tr(t ?? Date.now() & 4294967295);
474
+ function Tr(e, t) {
475
+ const s = e.slice(), n = Sr(t ?? Date.now() & 4294967295);
467
476
  for (let r = s.length - 1; r > 0; r--) {
468
477
  const a = Math.floor(n() * (r + 1));
469
478
  [s[r], s[a]] = [s[a], s[r]];
@@ -526,7 +535,7 @@ const Pe = ie("pg-poses", {
526
535
  randomTake(e, t = {}) {
527
536
  var a;
528
537
  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) : [];
538
+ return n.length ? Tr(n, this.seed).slice(0, e) : [];
530
539
  },
531
540
  async addToSeen(e) {
532
541
  this.seen.add(parseInt(e)), await this.ensureUnseen({ minUnseen: 25 });
@@ -559,11 +568,11 @@ const Pe = ie("pg-poses", {
559
568
  })();
560
569
  }
561
570
  }
562
- }), _r = {}, br = {
571
+ }), Cr = {}, _r = {
563
572
  caption(e) {
564
573
  return Le(e.selected.map((t) => e.models[t].name));
565
574
  }
566
- }, Ir = {
575
+ }, br = {
567
576
  getRandom(e) {
568
577
  const s = (c) => (c % 36 + 36) % 36, n = {
569
578
  1: [[-4, 4]],
@@ -589,10 +598,10 @@ const Pe = ie("pg-poses", {
589
598
  }
590
599
  }, fe = ke({
591
600
  storeId: "pg-positions",
592
- state: _r,
593
- getters: br,
594
- actions: Ir
595
- }), Us = {
601
+ state: Cr,
602
+ getters: _r,
603
+ actions: br
604
+ }), Rs = {
596
605
  entities: {
597
606
  cameras: {
598
607
  1: {
@@ -842,7 +851,7 @@ const Pe = ie("pg-poses", {
842
851
  },
843
852
  actions: {
844
853
  init() {
845
- const e = Us.entities, t = Us.result;
854
+ const e = Rs.entities, t = Rs.result;
846
855
  this.updateStatesFromEntities(e);
847
856
  const s = V();
848
857
  s.uuid = t.setUuid;
@@ -879,7 +888,7 @@ const Pe = ie("pg-poses", {
879
888
  }).catch((t) => {
880
889
  });
881
890
  },
882
- setSettings: rn(
891
+ setSettings: an(
883
892
  function() {
884
893
  console.log("setSettings"), this.internalSettings();
885
894
  },
@@ -1053,7 +1062,7 @@ const Pt = ie("pg-count", {
1053
1062
  typeof e == "number" && (this.ttlMs = e), typeof t == "number" && (this.maxEntries = t);
1054
1063
  }
1055
1064
  }
1056
- }), Et = 0, Wt = 1, Pr = 2, fn = 3, Xt = 4, gn = 5, xr = {
1065
+ }), Et = 0, Xt = 1, Ir = 2, gn = 3, Zt = 4, mn = 5, Pr = {
1057
1066
  /**
1058
1067
  * Load the image and update the status of the
1059
1068
  * @param context
@@ -1063,22 +1072,22 @@ const Pt = ie("pg-count", {
1063
1072
  */
1064
1073
  loadImage({ url: e, callback: t = null }) {
1065
1074
  if (typeof Image > "u")
1066
- throw t && typeof t == "function" && t(e, Wt), new Error("Image() constructor does not exist.");
1067
- t && typeof t == "function" && t(e, Pr);
1075
+ throw t && typeof t == "function" && t(e, Xt), new Error("Image() constructor does not exist.");
1076
+ t && typeof t == "function" && t(e, Ir);
1068
1077
  let s = new Image();
1069
1078
  s.onabort = function(n) {
1070
- t && typeof t == "function" && t(e, fn), this.onerror = this.onabort = this.onload = null;
1079
+ t && typeof t == "function" && t(e, gn), this.onerror = this.onabort = this.onload = null;
1071
1080
  }, s.onerror = function(n) {
1072
- t && typeof t == "function" && t(e, Wt), this.onerror = this.onabort = this.onload = null;
1081
+ t && typeof t == "function" && t(e, Xt), this.onerror = this.onabort = this.onload = null;
1073
1082
  }, s.onload = function(n) {
1074
- t && typeof t == "function" && t(e, gn), this.onerror = this.onabort = this.onload = null;
1075
- }, s.src = e, t && typeof t == "function" && t(e, Xt);
1083
+ t && typeof t == "function" && t(e, mn), this.onerror = this.onabort = this.onload = null;
1084
+ }, s.src = e, t && typeof t == "function" && t(e, Zt);
1076
1085
  }
1077
1086
  };
1078
- function wr(e, t) {
1087
+ function xr(e, t) {
1079
1088
  return Object.values(e).find((s) => s.src === t);
1080
1089
  }
1081
- function Dr({
1090
+ function wr({
1082
1091
  poseId: e,
1083
1092
  index: t,
1084
1093
  skinId: s,
@@ -1088,12 +1097,12 @@ function Dr({
1088
1097
  const a = R(), d = V().getSlugById(s), u = a.getSlugById(n);
1089
1098
  return `/figure-drawing-poses/${e}/${d}/${u}/${t}/${r === 1 ? 1 : 0}`;
1090
1099
  }
1091
- function mn(e, t = "lg") {
1100
+ function vn(e, t = "lg") {
1092
1101
  if (!e) return;
1093
1102
  const { getPoseSmall: s, getPoseLarge: n } = Ke(), r = We(e);
1094
- return r.size = t, vn(r);
1103
+ return r.size = t, yn(r);
1095
1104
  }
1096
- function vn({
1105
+ function yn({
1097
1106
  poseId: e,
1098
1107
  index: t,
1099
1108
  skinId: s,
@@ -1119,12 +1128,12 @@ function $t(e) {
1119
1128
  const t = e.split(".");
1120
1129
  return {
1121
1130
  id: e,
1122
- src: mn(e),
1131
+ src: vn(e),
1123
1132
  status: Et,
1124
1133
  flipped: t[2] === 1
1125
1134
  };
1126
1135
  }
1127
- function Mr(e) {
1136
+ function Dr(e) {
1128
1137
  const t = Pe(), s = ee(), n = R(), r = V(), a = fe(), c = t.models[e];
1129
1138
  return [
1130
1139
  e,
@@ -1160,16 +1169,16 @@ const X = ie("pg-history", {
1160
1169
  const t = R(), s = V(), n = this.history[this.index];
1161
1170
  if (!n) return;
1162
1171
  const r = We(n);
1163
- return r.effectId = t.playSelected, r.skinId = s.playSelected, vn(r);
1172
+ return r.effectId = t.playSelected, r.skinId = s.playSelected, yn(r);
1164
1173
  },
1165
1174
  previewSrc(e) {
1166
- return mn(e.queue[0], "sm");
1175
+ return vn(e.queue[0], "sm");
1167
1176
  },
1168
1177
  view360Path(e) {
1169
1178
  const t = e.index >= 0 && e.index < e.history.length ? e.history[e.index] : void 0;
1170
1179
  if (!t) return;
1171
1180
  const s = R(), n = V(), r = We(t);
1172
- return r.effectId = s.playSelected, r.skinId = n.playSelected, Dr(r);
1181
+ return r.effectId = s.playSelected, r.skinId = n.playSelected, wr(r);
1173
1182
  },
1174
1183
  previewFlipped(e) {
1175
1184
  const t = e.queue[0];
@@ -1234,7 +1243,7 @@ const X = ie("pg-history", {
1234
1243
  }
1235
1244
  },
1236
1245
  actions: {
1237
- ...xr,
1246
+ ...Pr,
1238
1247
  init() {
1239
1248
  },
1240
1249
  resetQueue() {
@@ -1244,7 +1253,7 @@ const X = ie("pg-history", {
1244
1253
  const e = Pt(), t = Pe(), s = e.filters, n = t.randomTake(20, s), r = [];
1245
1254
  if (n.forEach((d) => {
1246
1255
  try {
1247
- const u = Mr(d);
1256
+ const u = Dr(d);
1248
1257
  r.push(u);
1249
1258
  } catch (u) {
1250
1259
  console.error("error", u);
@@ -1270,7 +1279,7 @@ const X = ie("pg-history", {
1270
1279
  if (a == null) return;
1271
1280
  this.models[a] || (this.models[a] = $t(a));
1272
1281
  const c = this.models[a];
1273
- (c.status === Et || c.status === Xt) && this.loadImage({
1282
+ (c.status === Et || c.status === Zt) && this.loadImage({
1274
1283
  url: c.src,
1275
1284
  callback: this.updateStatus
1276
1285
  });
@@ -1305,7 +1314,7 @@ const X = ie("pg-history", {
1305
1314
  t.playSelected = a, e.playSelected = r;
1306
1315
  },
1307
1316
  updateStatus(e, t) {
1308
- const s = wr(this.models, e);
1317
+ const s = xr(this.models, e);
1309
1318
  s && (this.models[s.id].status = t);
1310
1319
  },
1311
1320
  _preloadQueue(e = 5) {
@@ -1313,10 +1322,10 @@ const X = ie("pg-history", {
1313
1322
  for (const s of t) {
1314
1323
  this.models[s] || (this.models[s] = $t(s));
1315
1324
  const n = this.models[s], r = n.status;
1316
- if ((r === Et || r === Xt) && this.loadImage({
1325
+ if ((r === Et || r === Zt) && this.loadImage({
1317
1326
  url: n.src,
1318
1327
  callback: this.updateStatus
1319
- }), r === Wt || r === fn) {
1328
+ }), r === Xt || r === gn) {
1320
1329
  delete this.models[s];
1321
1330
  const a = this.queue.indexOf(s);
1322
1331
  a !== -1 && this.queue.splice(a, 1);
@@ -1325,7 +1334,7 @@ const X = ie("pg-history", {
1325
1334
  this.queue.length < 5 && this.loadQueue();
1326
1335
  }
1327
1336
  }
1328
- }), Rs = 0, Ct = 1, zt = 2, he = ie("pg-timer", {
1337
+ }), Bs = 0, Ct = 1, zt = 2, he = ie("pg-timer", {
1329
1338
  state: () => ({
1330
1339
  status: Ct,
1331
1340
  interval: 0,
@@ -1343,7 +1352,7 @@ const X = ie("pg-history", {
1343
1352
  return e.status === zt;
1344
1353
  },
1345
1354
  paused(e) {
1346
- return e.status === Rs;
1355
+ return e.status === Bs;
1347
1356
  }
1348
1357
  },
1349
1358
  actions: {
@@ -1354,7 +1363,7 @@ const X = ie("pg-history", {
1354
1363
  pause() {
1355
1364
  clearInterval(this.interval), this.$patch({
1356
1365
  interval: 0,
1357
- status: Rs
1366
+ status: Bs
1358
1367
  });
1359
1368
  },
1360
1369
  restart() {
@@ -1412,12 +1421,12 @@ const X = ie("pg-history", {
1412
1421
  });
1413
1422
  }
1414
1423
  }
1415
- }), Bs = 0, gt = 1, Ar = 2, Te = ie("pg-controls", {
1424
+ }), $s = 0, gt = 1, Mr = 2, Te = ie("pg-controls", {
1416
1425
  state: () => ({
1417
1426
  timer: !0,
1418
1427
  next: !0,
1419
1428
  show: !1,
1420
- status: Bs
1429
+ status: $s
1421
1430
  }),
1422
1431
  getters: {
1423
1432
  /**
@@ -1452,13 +1461,13 @@ const X = ie("pg-history", {
1452
1461
  */
1453
1462
  close() {
1454
1463
  const e = he(), t = X(), s = k();
1455
- e.stop(), this.show = !1, this.status = Bs, t.reset(), s.$patch({ active: Me, playActive: Me });
1464
+ e.stop(), this.show = !1, this.status = $s, t.reset(), s.$patch({ active: Me, playActive: Me });
1456
1465
  },
1457
1466
  /**
1458
1467
  * Check if currently inside of history, if so increment history index
1459
1468
  * if not load from the queue
1460
1469
  */
1461
- next: rn(
1470
+ next: an(
1462
1471
  function() {
1463
1472
  X().next(), this.resetOrRestartTimer();
1464
1473
  },
@@ -1477,7 +1486,7 @@ const X = ie("pg-history", {
1477
1486
  */
1478
1487
  pause() {
1479
1488
  const e = he();
1480
- this.status = Ar, e.pause();
1489
+ this.status = Mr, e.pause();
1481
1490
  },
1482
1491
  /**
1483
1492
  *
@@ -1516,12 +1525,12 @@ const X = ie("pg-history", {
1516
1525
  }, 250);
1517
1526
  }
1518
1527
  }
1519
- }), $s = /* @__PURE__ */ Object.assign({ "../i18n/en-US/index.js": () => import("./index-BMl4y9AI.js") }), M = (e = "../i18n") => {
1528
+ }), zs = /* @__PURE__ */ Object.assign({ "../i18n/en-US/index.js": () => import("./index-BMl4y9AI.js") }), M = (e = "../i18n") => {
1520
1529
  const t = It(), s = j({}), n = y(() => t.lang.isoName || "en-US"), r = async () => {
1521
1530
  const a = `${e}/${n.value}/index.js`;
1522
- if ($s[a])
1531
+ if (zs[a])
1523
1532
  try {
1524
- const c = await $s[a]();
1533
+ const c = await zs[a]();
1525
1534
  c.default && Object.assign(s.value, c.default);
1526
1535
  } catch (c) {
1527
1536
  console.error(`Error loading i18n for ${n.value}`, c);
@@ -1535,23 +1544,23 @@ const X = ie("pg-history", {
1535
1544
  r();
1536
1545
  },
1537
1546
  { immediate: !0 }
1538
- ), To(() => {
1547
+ ), Co(() => {
1539
1548
  r();
1540
1549
  }), { lang: s };
1541
1550
  }, ae = ({
1542
- tab: e = wo,
1551
+ tab: e = Do,
1543
1552
  store: t,
1544
1553
  options: s = [],
1545
1554
  playMode: n = !1
1546
1555
  }) => {
1547
- const r = Po(), a = k(r), c = y({
1556
+ const r = xo(), a = k(r), c = y({
1548
1557
  get: () => a.isExpanded(s, n),
1549
1558
  set: (f) => {
1550
1559
  f && a.setActive(e, n);
1551
1560
  }
1552
1561
  }), d = y(() => t && t.changed);
1553
1562
  return { click: () => a.setActive(e, n), expanded: c, selected: d };
1554
- }, yn = T({
1563
+ }, En = T({
1555
1564
  name: "PgDurationsTool",
1556
1565
  setup(e, { slots: t, emit: s }) {
1557
1566
  const n = k(), r = Z(), { loading: a } = S(n), { collectedModels: c, values: d } = S(r), u = y({
@@ -1573,7 +1582,7 @@ const X = ie("pg-history", {
1573
1582
  };
1574
1583
  return [
1575
1584
  h("div", { class: "q-mx-lg q-mt-sm q-mb-lg" }, [
1576
- h(Oo, g, {
1585
+ h(ko, g, {
1577
1586
  // single label slot, Quasar passes { index, label }
1578
1587
  "marker-label": ({ marker: v }) => {
1579
1588
  const C = { ...v.style, cursor: "default" };
@@ -1599,7 +1608,7 @@ const X = ie("pg-history", {
1599
1608
  }
1600
1609
  return () => f();
1601
1610
  }
1602
- }), Nr = T({
1611
+ }), Ar = T({
1603
1612
  name: "PgDurationsExpansion",
1604
1613
  setup(e, { slots: t, emit: s }) {
1605
1614
  const { lang: n } = M(), r = Z(), { title: a } = S(r), { expanded: c } = ae({
@@ -1616,13 +1625,13 @@ const X = ie("pg-history", {
1616
1625
  "onUpdate:modelValue": (g) => c.value = g,
1617
1626
  label: d.value,
1618
1627
  caption: a.value,
1619
- icon: cn
1628
+ icon: un
1620
1629
  };
1621
- return h(me, f, () => h(yn));
1630
+ return h(me, f, () => h(En));
1622
1631
  }
1623
1632
  return () => u();
1624
1633
  }
1625
- }), Or = T({
1634
+ }), Nr = T({
1626
1635
  name: "PgSkinsToolButton",
1627
1636
  props: {
1628
1637
  id: Number,
@@ -1659,7 +1668,7 @@ const X = ie("pg-history", {
1659
1668
  }
1660
1669
  return () => P();
1661
1670
  }
1662
- }), ts = T({
1671
+ }), ss = T({
1663
1672
  name: "PgSkinsTool",
1664
1673
  props: {
1665
1674
  noWrap: Boolean,
@@ -1696,12 +1705,12 @@ const X = ie("pg-history", {
1696
1705
  slug: C.slug,
1697
1706
  class: "q-ma-xs"
1698
1707
  };
1699
- u.value && (_.uuid = u.value), v.push(h(Or, _));
1700
- }), h(an, {}, () => v);
1708
+ u.value && (_.uuid = u.value), v.push(h(Nr, _));
1709
+ }), h(ln, {}, () => v);
1701
1710
  }
1702
1711
  return () => f();
1703
1712
  }
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({
1713
+ }), 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
1714
  name: "PgSkinsExpansion",
1706
1715
  props: { playMode: Boolean },
1707
1716
  setup(e, { slots: t, emit: s }) {
@@ -1722,15 +1731,15 @@ const X = ie("pg-history", {
1722
1731
  "onUpdate:modelValue": (v) => a.value = v,
1723
1732
  label: c.value,
1724
1733
  caption: u.value,
1725
- icon: Rr
1734
+ icon: Ur
1726
1735
  }, g = {
1727
1736
  playMode: e.playMode
1728
1737
  };
1729
- return h(me, f, () => h(ts, g));
1738
+ return h(me, f, () => h(ss, g));
1730
1739
  }
1731
1740
  return () => d();
1732
1741
  }
1733
- }), zr = T({
1742
+ }), $r = T({
1734
1743
  name: "PgEffectsToolButton",
1735
1744
  props: {
1736
1745
  id: { type: Number, required: !0 },
@@ -1753,7 +1762,7 @@ const X = ie("pg-history", {
1753
1762
  }
1754
1763
  return () => u();
1755
1764
  }
1756
- }), Sn = T({
1765
+ }), Tn = T({
1757
1766
  name: "PgEffectsTool",
1758
1767
  props: {
1759
1768
  modelValue: { type: Number, default: 0 },
@@ -1772,17 +1781,17 @@ const X = ie("pg-history", {
1772
1781
  }, u = [];
1773
1782
  return r.value.forEach((f) => {
1774
1783
  u.push(
1775
- h(zr, {
1784
+ h($r, {
1776
1785
  id: f,
1777
1786
  playMode: e.playMode,
1778
1787
  class: "q-ma-xs"
1779
1788
  })
1780
1789
  );
1781
- }), h(an, d, u);
1790
+ }), h(ln, d, () => u);
1782
1791
  }
1783
1792
  return () => a();
1784
1793
  }
1785
- }), Tn = T({
1794
+ }), Cn = T({
1786
1795
  name: "PgEffectsExpansion",
1787
1796
  props: { playMode: Boolean },
1788
1797
  setup(e, { slots: t, emit: s }) {
@@ -1803,15 +1812,15 @@ const X = ie("pg-history", {
1803
1812
  "onUpdate:modelValue": (v) => a.value = v,
1804
1813
  label: c.value,
1805
1814
  caption: u.value,
1806
- icon: un
1815
+ icon: dn
1807
1816
  }, g = {
1808
1817
  playMode: e.playMode
1809
1818
  };
1810
- return h(me, f, () => h(Sn, g));
1819
+ return h(me, f, () => h(Tn, g));
1811
1820
  }
1812
1821
  return () => d();
1813
1822
  }
1814
- }), Hr = {
1823
+ }), zr = {
1815
1824
  __name: "PgCameraAnglesToolButton",
1816
1825
  props: {
1817
1826
  id: Number
@@ -1840,25 +1849,25 @@ const X = ie("pg-history", {
1840
1849
  onBlockAccess: g
1841
1850
  }, null, 8, ["access", "image", "label", "selected", "disable", "has-access"]));
1842
1851
  }
1843
- }, Fr = { class: "pg-cameras-tool row q-col-gutter-sm flex justify-center" }, Cn = {
1852
+ }, Hr = { class: "pg-cameras-tool row q-col-gutter-sm flex justify-center" }, _n = {
1844
1853
  __name: "PgCameraAnglesTool",
1845
1854
  setup(e) {
1846
1855
  const t = pe(), { collection: s } = S(t);
1847
- return (n, r) => (O(), $("div", Fr, [
1856
+ return (n, r) => (O(), $("div", Hr, [
1848
1857
  (O(!0), $(Xe, null, Ze(A(s), (a) => (O(), $("div", {
1849
1858
  class: "",
1850
1859
  key: a
1851
1860
  }, [
1852
- B(Hr, { id: a }, null, 8, ["id"])
1861
+ B(zr, { id: a }, null, 8, ["id"])
1853
1862
  ]))), 128))
1854
1863
  ]));
1855
1864
  }
1856
- }, qr = T({
1865
+ }, Fr = T({
1857
1866
  name: "PgCamerasExpansion",
1858
1867
  setup(e, { slots: t, emit: s }) {
1859
1868
  const { lang: n } = M(), r = pe(), { caption: a } = S(r), { expanded: c } = ae({
1860
- options: Ps,
1861
- tab: Ps
1869
+ options: xs,
1870
+ tab: xs
1862
1871
  }), d = y(() => {
1863
1872
  var f;
1864
1873
  return (f = n.value.pg) == null ? void 0 : f.tools.angle;
@@ -1870,13 +1879,13 @@ const X = ie("pg-history", {
1870
1879
  "onUpdate:modelValue": (g) => c.value = g,
1871
1880
  label: d.value,
1872
1881
  caption: a.value,
1873
- icon: kr
1882
+ icon: Or
1874
1883
  };
1875
- return h(me, f, () => h(Cn));
1884
+ return h(me, f, () => h(_n));
1876
1885
  }
1877
1886
  return () => u();
1878
1887
  }
1879
- }), jr = {
1888
+ }), qr = {
1880
1889
  __name: "PgLightsToolButton",
1881
1890
  props: { id: Number },
1882
1891
  setup(e) {
@@ -1894,25 +1903,25 @@ const X = ie("pg-history", {
1894
1903
  onBlockAccess: v
1895
1904
  }, null, 8, ["image", "label", "selected", "access", "disable", "has-access"]));
1896
1905
  }
1897
- }, Gr = { class: "pg-lights-tool row q-col-gutter-sm flex justify-center" }, _n = {
1906
+ }, jr = { class: "pg-lights-tool row q-col-gutter-sm flex justify-center" }, bn = {
1898
1907
  __name: "PgLightsTool",
1899
1908
  setup(e) {
1900
1909
  const t = ee(), { collection: s } = S(t);
1901
- return (n, r) => (O(), $("div", Gr, [
1910
+ return (n, r) => (O(), $("div", jr, [
1902
1911
  (O(!0), $(Xe, null, Ze(A(s), (a) => (O(), $("div", {
1903
1912
  class: "",
1904
1913
  key: a
1905
1914
  }, [
1906
- B(jr, { id: a }, null, 8, ["id"])
1915
+ B(qr, { id: a }, null, 8, ["id"])
1907
1916
  ]))), 128))
1908
1917
  ]));
1909
1918
  }
1910
- }, Yr = T({
1919
+ }, Gr = T({
1911
1920
  name: "PgLightsExpansion",
1912
1921
  setup(e, { slots: t, emit: s }) {
1913
1922
  const { lang: n } = M(), r = ee(), { caption: a } = S(r), { expanded: c } = ae({
1914
- options: xs,
1915
- tab: xs
1923
+ options: ws,
1924
+ tab: ws
1916
1925
  }), d = y(() => {
1917
1926
  var f;
1918
1927
  return (f = n.value.pg) == null ? void 0 : f.tools.light;
@@ -1924,13 +1933,13 @@ const X = ie("pg-history", {
1924
1933
  "onUpdate:modelValue": (g) => c.value = g,
1925
1934
  label: d.value,
1926
1935
  caption: a.value,
1927
- icon: Vr
1936
+ icon: Lr
1928
1937
  };
1929
- return h(me, f, () => h(_n));
1938
+ return h(me, f, () => h(bn));
1930
1939
  }
1931
1940
  return () => u();
1932
1941
  }
1933
- }), Wr = T({
1942
+ }), Yr = T({
1934
1943
  name: "PgGendersToolButton",
1935
1944
  props: {
1936
1945
  id: Number,
@@ -1955,7 +1964,7 @@ const X = ie("pg-history", {
1955
1964
  }
1956
1965
  return () => C();
1957
1966
  }
1958
- }), bn = T({
1967
+ }), In = T({
1959
1968
  name: "PgGendersTool",
1960
1969
  props: {
1961
1970
  compact: Boolean
@@ -1974,13 +1983,13 @@ const X = ie("pg-history", {
1974
1983
  compact: e.compact
1975
1984
  };
1976
1985
  d.push(
1977
- h("div", { class: "" }, [h(Wr, f)])
1986
+ h("div", { class: "" }, [h(Yr, f)])
1978
1987
  );
1979
1988
  }), h("div", c, d);
1980
1989
  }
1981
1990
  return () => a();
1982
1991
  }
1983
- }), Xr = T({
1992
+ }), Wr = T({
1984
1993
  name: "PgEffectsExpansion",
1985
1994
  setup(e, { slots: t, emit: s }) {
1986
1995
  const { lang: n } = M(), r = re(), { caption: a } = S(r), { expanded: c } = ae({
@@ -1997,13 +2006,13 @@ const X = ie("pg-history", {
1997
2006
  "onUpdate:modelValue": (g) => c.value = g,
1998
2007
  label: d.value,
1999
2008
  caption: a.value,
2000
- icon: Lr
2009
+ icon: kr
2001
2010
  };
2002
- return h(me, f, () => h(bn, { desktop: !1 }));
2011
+ return h(me, f, () => h(In, { desktop: !1 }));
2003
2012
  }
2004
2013
  return () => u();
2005
2014
  }
2006
- }), In = T({
2015
+ }), Pn = T({
2007
2016
  name: "PgGridTool",
2008
2017
  setup(e, { slots: t, emit: s }) {
2009
2018
  const n = Ie(), { visible: r } = S(n), a = y({
@@ -2029,19 +2038,19 @@ const X = ie("pg-history", {
2029
2038
  "onUpdate:vertical": (v) => d.value = v,
2030
2039
  onToggle: u
2031
2040
  };
2032
- return h($o, g);
2041
+ return h(zo, g);
2033
2042
  }
2034
2043
  return () => f();
2035
2044
  }
2036
- }), Pn = T({
2045
+ }), xn = T({
2037
2046
  name: "PgLightsExpansion",
2038
2047
  props: {
2039
2048
  playMode: Boolean
2040
2049
  },
2041
2050
  setup(e, { slots: t, emit: s }) {
2042
2051
  const { lang: n } = M(), r = Ie(), { caption: a } = S(r), { expanded: c } = ae({
2043
- options: ws,
2044
- tab: ws,
2052
+ options: Ds,
2053
+ tab: Ds,
2045
2054
  playMode: e.playMode
2046
2055
  }), d = y(() => {
2047
2056
  var f;
@@ -2056,38 +2065,38 @@ const X = ie("pg-history", {
2056
2065
  caption: a.value,
2057
2066
  icon: "f_grid"
2058
2067
  };
2059
- return h(me, f, () => h(In));
2068
+ return h(me, f, () => h(Pn));
2060
2069
  }
2061
2070
  return () => u();
2062
2071
  }
2063
- }), Zr = { class: "quarters overlay" }, Qr = ["onClick", "onMouseover", "onMouseleave"], Kr = { class: "quarters borders" }, Jr = { class: "quickpose-angle" }, ei = ["src"], zs = "cps", xn = {
2072
+ }), Xr = { class: "quarters overlay" }, Zr = ["onClick", "onMouseover", "onMouseleave"], Qr = { class: "quarters borders" }, Kr = { class: "quickpose-angle" }, Jr = ["src"], Hs = "cps", wn = {
2064
2073
  __name: "PgPosePositionTool",
2065
2074
  setup(e) {
2066
2075
  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
2076
  const P = c.value;
2068
2077
  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) => {
2078
+ }), 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
2079
  if (!d.value) {
2071
2080
  if (g.value) {
2072
2081
  t.toggleSelected(P);
2073
2082
  return;
2074
2083
  }
2075
- n.block(zs);
2084
+ n.block(Hs);
2076
2085
  }
2077
2086
  };
2078
2087
  return (P, I) => (O(), $("div", {
2079
2088
  class: mt(["c-pose-position", { disabled: A(d) }])
2080
2089
  }, [
2081
- De("div", Zr, [
2090
+ De("div", Xr, [
2082
2091
  (O(!0), $(Xe, null, Ze(A(a), (b) => (O(), $("div", {
2083
2092
  class: mt(["quarter", b.slug]),
2084
2093
  key: b.id,
2085
2094
  onClick: (x) => D(b.id),
2086
2095
  onMouseover: (x) => C(b.slug),
2087
2096
  onMouseleave: (x) => _(b.slug)
2088
- }, null, 42, Qr))), 128))
2097
+ }, null, 42, Zr))), 128))
2089
2098
  ]),
2090
- De("div", Kr, [
2099
+ De("div", Qr, [
2091
2100
  (O(!0), $(Xe, null, Ze(A(a), (b) => (O(), $("div", {
2092
2101
  class: mt([
2093
2102
  "quarter",
@@ -2097,23 +2106,23 @@ const X = ie("pg-history", {
2097
2106
  ref_for: !0,
2098
2107
  ref: b.slug
2099
2108
  }, [
2100
- De("span", null, Co(b.name), 1)
2109
+ De("span", null, _o(b.name), 1)
2101
2110
  ], 2))), 128))
2102
2111
  ]),
2103
- De("div", Jr, [
2112
+ De("div", Kr, [
2104
2113
  De("img", {
2105
2114
  src: f.value,
2106
2115
  class: ""
2107
- }, null, 8, ei)
2116
+ }, null, 8, Jr)
2108
2117
  ])
2109
2118
  ], 2));
2110
2119
  }
2111
- }, ti = T({
2120
+ }, ei = T({
2112
2121
  name: "PgEffectsExpansion",
2113
2122
  setup(e, { slots: t, emit: s }) {
2114
2123
  const { lang: n } = M(), r = fe(), { caption: a } = S(r), { expanded: c } = ae({
2115
- options: Ds,
2116
- tab: Ds
2124
+ options: Ms,
2125
+ tab: Ms
2117
2126
  }), d = y(() => {
2118
2127
  var f;
2119
2128
  return (f = n.value.pg) == null ? void 0 : f.tools.position;
@@ -2125,13 +2134,13 @@ const X = ie("pg-history", {
2125
2134
  "onUpdate:modelValue": (g) => c.value = g,
2126
2135
  label: d.value,
2127
2136
  caption: a.value,
2128
- icon: Ur
2137
+ icon: Vr
2129
2138
  };
2130
- return h(me, f, () => h(xn));
2139
+ return h(me, f, () => h(wn));
2131
2140
  }
2132
2141
  return () => u();
2133
2142
  }
2134
- }), wn = T({
2143
+ }), Dn = T({
2135
2144
  name: "PgBrightnessTool",
2136
2145
  props: {
2137
2146
  noIcons: Boolean
@@ -2150,11 +2159,11 @@ const X = ie("pg-history", {
2150
2159
  noicons: !1,
2151
2160
  dark: !1
2152
2161
  };
2153
- return h(es, c);
2162
+ return h(ts, c);
2154
2163
  }
2155
2164
  return () => a();
2156
2165
  }
2157
- }), Dn = T({
2166
+ }), Mn = T({
2158
2167
  name: "PgBrightnessTool",
2159
2168
  emits: ["update:modelValue"],
2160
2169
  setup(e, { slots: t, emit: s }) {
@@ -2169,11 +2178,11 @@ const X = ie("pg-history", {
2169
2178
  "onUpdate:modelValue": (d) => r.value = d,
2170
2179
  type: "contrast"
2171
2180
  };
2172
- return h(es, c);
2181
+ return h(ts, c);
2173
2182
  }
2174
2183
  return () => a();
2175
2184
  }
2176
- }), Mn = T({
2185
+ }), An = T({
2177
2186
  name: "PgBrightnessTool",
2178
2187
  emits: ["update:modelValue"],
2179
2188
  setup(e, { slots: t, emit: s }) {
@@ -2188,19 +2197,19 @@ const X = ie("pg-history", {
2188
2197
  "onUpdate:modelValue": (d) => r.value = d,
2189
2198
  type: "saturate"
2190
2199
  };
2191
- return h(es, c);
2200
+ return h(ts, c);
2192
2201
  }
2193
2202
  return () => a();
2194
2203
  }
2195
- }), An = T({
2204
+ }), Nn = T({
2196
2205
  name: "PgEffectsExpansion",
2197
2206
  props: {
2198
2207
  playMode: Boolean
2199
2208
  },
2200
2209
  setup(e, { slots: t, emit: s }) {
2201
2210
  const { lang: n } = M(), r = ge(), { caption: a } = S(r), { expanded: c } = ae({
2202
- options: Ms,
2203
- tab: Ms,
2211
+ options: As,
2212
+ tab: As,
2204
2213
  playMode: e.playMode
2205
2214
  }), d = y(() => {
2206
2215
  var f;
@@ -2213,40 +2222,40 @@ const X = ie("pg-history", {
2213
2222
  "onUpdate:modelValue": (g) => c.value = g,
2214
2223
  label: d.value,
2215
2224
  caption: a.value,
2216
- icon: dn
2225
+ icon: hn
2217
2226
  };
2218
2227
  return h(me, f, () => [
2219
- h(wn),
2220
2228
  h(Dn),
2221
- h(Mn)
2229
+ h(Mn),
2230
+ h(An)
2222
2231
  ]);
2223
2232
  }
2224
2233
  return () => u();
2225
2234
  }
2226
- }), si = T({
2235
+ }), ti = T({
2227
2236
  name: "PgExpansions",
2228
2237
  setup(e, { slots: t, emit: s }) {
2229
2238
  function n() {
2230
2239
  return h("div", {
2231
2240
  class: "pg-expansions"
2232
2241
  }, [
2233
- h(Nr),
2242
+ h(Ar),
2234
2243
  h(J),
2235
- h(En),
2244
+ h(Sn),
2236
2245
  h(J),
2237
- h(Tn),
2246
+ h(Cn),
2238
2247
  h(J),
2239
- h(qr),
2248
+ h(Fr),
2240
2249
  h(J),
2241
- h(Xr),
2250
+ h(Wr),
2242
2251
  h(J),
2243
- h(ti),
2252
+ h(ei),
2244
2253
  h(J),
2245
- h(Pn),
2254
+ h(xn),
2246
2255
  h(J),
2247
- h(Yr),
2256
+ h(Gr),
2248
2257
  h(J),
2249
- h(An)
2258
+ h(Nn)
2250
2259
  ]);
2251
2260
  }
2252
2261
  return () => n();
@@ -2269,29 +2278,29 @@ const X = ie("pg-history", {
2269
2278
  function n() {
2270
2279
  const r = {
2271
2280
  class: "pg-card",
2272
- "data-cy": "pg-card-" + Do(e.label)
2281
+ "data-cy": "pg-card-" + Mo(e.label)
2273
2282
  // style: style.value,
2274
2283
  };
2275
2284
  return h("div", r, [
2276
2285
  h(
2277
- ko,
2286
+ Lo,
2278
2287
  { flat: !0, bordered: !0 },
2279
2288
  {
2280
2289
  default: () => [
2281
- h(Lo, {}, () => [
2282
- h(As, { avatar: !0 }, () => [
2283
- h(Vo, { name: e.icon, size: "36px" })
2290
+ h(Vo, {}, () => [
2291
+ h(Ns, { avatar: !0 }, () => [
2292
+ h(Uo, { name: e.icon, size: "36px" })
2284
2293
  ]),
2285
- h(As, {}, () => [
2286
- h(Ns, { class: "pg-card-label" }, () => e.label),
2294
+ h(Ns, {}, () => [
2295
+ h(Os, { class: "pg-card-label" }, () => e.label),
2287
2296
  h(
2288
- Ns,
2297
+ Os,
2289
2298
  { class: "pg-card-caption", caption: !0 },
2290
2299
  () => e.caption
2291
2300
  )
2292
2301
  ])
2293
2302
  ]),
2294
- h(Uo, null, {
2303
+ h(Ro, null, {
2295
2304
  default: () => t.default ? t.default() : []
2296
2305
  })
2297
2306
  ]
@@ -2301,7 +2310,7 @@ const X = ie("pg-history", {
2301
2310
  }
2302
2311
  return () => n();
2303
2312
  }
2304
- }), ni = T({
2313
+ }), si = T({
2305
2314
  name: "PgDurationCard",
2306
2315
  setup(e, { slots: t, emit: s }) {
2307
2316
  const { lang: n } = M(), r = Z(), { title: a } = S(r), c = y(() => {
@@ -2313,13 +2322,13 @@ const X = ie("pg-history", {
2313
2322
  class: "pg-duration-card",
2314
2323
  label: c.value,
2315
2324
  caption: a.value,
2316
- icon: cn
2325
+ icon: un
2317
2326
  };
2318
- return h(ve, u, () => h(yn, {}));
2327
+ return h(ve, u, () => h(En, {}));
2319
2328
  }
2320
2329
  return () => d();
2321
2330
  }
2322
- }), oi = T({
2331
+ }), ni = T({
2323
2332
  name: "PgSkinsCard",
2324
2333
  setup(e, { slots: t, emit: s }) {
2325
2334
  const { lang: n } = M(), r = V(), a = y(() => {
@@ -2331,15 +2340,15 @@ const X = ie("pg-history", {
2331
2340
  class: "pg-skins-card",
2332
2341
  label: a.value,
2333
2342
  caption: c.value,
2334
- icon: jo
2343
+ icon: Go
2335
2344
  };
2336
2345
  return h(ve, u, {
2337
- default: () => h(ts, { desktop: !0 })
2346
+ default: () => h(ss, { desktop: !0 })
2338
2347
  });
2339
2348
  }
2340
2349
  return () => d();
2341
2350
  }
2342
- }), ri = T({
2351
+ }), oi = T({
2343
2352
  name: "PgEffectsCard",
2344
2353
  setup(e, { slots: t, emit: s }) {
2345
2354
  const { lang: n } = M(), r = R(), a = y(() => {
@@ -2351,13 +2360,13 @@ const X = ie("pg-history", {
2351
2360
  class: "pg-skins-card",
2352
2361
  label: a.value,
2353
2362
  caption: c.value,
2354
- icon: un
2363
+ icon: dn
2355
2364
  };
2356
- return h(ve, u, () => [h(Sn, { desktop: !0 })]);
2365
+ return h(ve, u, () => [h(Tn, { desktop: !0 })]);
2357
2366
  }
2358
2367
  return () => d();
2359
2368
  }
2360
- }), ii = T({
2369
+ }), ri = T({
2361
2370
  name: "PgCameraAnglesCard",
2362
2371
  emits: ["click", "update:modelValue"],
2363
2372
  setup(e, { slots: t, emit: s }) {
@@ -2370,13 +2379,13 @@ const X = ie("pg-history", {
2370
2379
  class: "pg-cameras-card",
2371
2380
  label: c.value,
2372
2381
  caption: a.value,
2373
- icon: Go
2382
+ icon: Yo
2374
2383
  };
2375
- return h(ve, u, () => [h(Cn)]);
2384
+ return h(ve, u, () => [h(_n)]);
2376
2385
  }
2377
2386
  return () => d();
2378
2387
  }
2379
- }), ai = T({
2388
+ }), ii = T({
2380
2389
  name: "PgLightsCard",
2381
2390
  setup(e, { slots: t, emit: s }) {
2382
2391
  const { lang: n } = M(), r = ee(), { caption: a } = S(r), c = y(() => {
@@ -2388,15 +2397,15 @@ const X = ie("pg-history", {
2388
2397
  class: "pg-lights-card",
2389
2398
  label: c.value,
2390
2399
  caption: a.value,
2391
- icon: Yo
2400
+ icon: Wo
2392
2401
  };
2393
2402
  return h(ve, u, {
2394
- default: () => h(_n, { desktop: !0 })
2403
+ default: () => h(bn, { desktop: !0 })
2395
2404
  });
2396
2405
  }
2397
2406
  return () => d();
2398
2407
  }
2399
- }), li = T({
2408
+ }), ai = T({
2400
2409
  name: "PgGendersCard",
2401
2410
  setup(e, { slots: t, emit: s }) {
2402
2411
  const { lang: n } = M(), r = re(), { caption: a } = S(r);
@@ -2413,13 +2422,13 @@ const X = ie("pg-history", {
2413
2422
  class: "pg-genders-card",
2414
2423
  label: c.value,
2415
2424
  caption: a.value,
2416
- icon: Wo
2425
+ icon: Xo
2417
2426
  };
2418
- return h(ve, u, () => [h(bn)]);
2427
+ return h(ve, u, () => [h(In)]);
2419
2428
  }
2420
2429
  return () => d();
2421
2430
  }
2422
- }), ci = T({
2431
+ }), li = T({
2423
2432
  name: "PgPosePositionCard",
2424
2433
  setup(e, { slots: t, emit: s }) {
2425
2434
  const { lang: n } = M(), r = fe(), { caption: a } = S(r), c = y(() => {
@@ -2431,15 +2440,15 @@ const X = ie("pg-history", {
2431
2440
  class: "pg-pose-position-card",
2432
2441
  label: c.value,
2433
2442
  caption: a.value,
2434
- icon: Xo
2443
+ icon: Zo
2435
2444
  };
2436
2445
  return h(ve, u, {
2437
- default: () => h(xn)
2446
+ default: () => h(wn)
2438
2447
  });
2439
2448
  }
2440
2449
  return () => d();
2441
2450
  }
2442
- }), ui = T({
2451
+ }), ci = T({
2443
2452
  name: "PgGridCard",
2444
2453
  props: {
2445
2454
  modelValue: { type: Number, default: 0 },
@@ -2457,27 +2466,27 @@ const X = ie("pg-history", {
2457
2466
  class: "pg-grid-card",
2458
2467
  label: c.value,
2459
2468
  caption: a.value,
2460
- icon: Zo
2469
+ icon: Qo
2461
2470
  };
2462
- return h(ve, u, { default: () => h(In) });
2471
+ return h(ve, u, { default: () => h(Pn) });
2463
2472
  }
2464
2473
  return () => d();
2465
2474
  }
2466
- }), di = T({
2475
+ }), ui = T({
2467
2476
  name: "PgAdjustmentsTool",
2468
2477
  setup(e, { slots: t, emit: s }) {
2469
2478
  function n() {
2470
2479
  return h("div", {
2471
2480
  class: "pg-adjustments-tool"
2472
2481
  }, [
2473
- h(wn),
2474
2482
  h(Dn),
2475
- h(Mn)
2483
+ h(Mn),
2484
+ h(An)
2476
2485
  ]);
2477
2486
  }
2478
2487
  return () => n();
2479
2488
  }
2480
- }), hi = T({
2489
+ }), di = T({
2481
2490
  name: "PgAdjustmentsCard",
2482
2491
  setup(e, { slots: t, emit: s }) {
2483
2492
  const { lang: n } = M(), r = ge(), { caption: a } = S(r), c = y(() => {
@@ -2489,13 +2498,13 @@ const X = ie("pg-history", {
2489
2498
  class: "pg-adjustments-card",
2490
2499
  label: c.value,
2491
2500
  caption: a.value,
2492
- icon: dn
2501
+ icon: hn
2493
2502
  };
2494
- return h(ve, u, () => [h(di)]);
2503
+ return h(ve, u, () => [h(ui)]);
2495
2504
  }
2496
2505
  return () => d();
2497
2506
  }
2498
- }), Nn = T({
2507
+ }), On = T({
2499
2508
  name: "PgOverviewContent",
2500
2509
  props: {
2501
2510
  size: { default: "lg", type: String }
@@ -2519,7 +2528,7 @@ const X = ie("pg-history", {
2519
2528
  }
2520
2529
  return () => c();
2521
2530
  }
2522
- }), pi = T({
2531
+ }), hi = T({
2523
2532
  name: "PgCards",
2524
2533
  setup(e, { slots: t, emit: s }) {
2525
2534
  function n() {
@@ -2528,28 +2537,28 @@ const X = ie("pg-history", {
2528
2537
  style: "max-width: 1024px;width: 100%;margin: auto;"
2529
2538
  }, [
2530
2539
  h("div", { class: "row q-col-gutter-md" }, [
2531
- h("div", { class: "col-7" }, h(Nn)),
2532
- h("div", { class: "col-5" }, [h(ni)])
2540
+ h("div", { class: "col-7" }, h(On)),
2541
+ h("div", { class: "col-5" }, [h(si)])
2533
2542
  ]),
2534
2543
  h("div", { class: "row q-col-gutter-md" }, [
2535
- h(oi, { class: "col-7" }),
2536
- h(ri, { class: "col-5" })
2544
+ h(ni, { class: "col-7" }),
2545
+ h(oi, { class: "col-5" })
2537
2546
  ]),
2538
2547
  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" })
2548
+ h(ri, { class: "col-6" }),
2549
+ h(ii, { class: "col-3" }),
2550
+ h(ai, { class: "col-3" })
2542
2551
  ]),
2543
2552
  h("div", { class: "row q-col-gutter-md" }, [
2553
+ h(li, { class: "col-4" }),
2544
2554
  h(ci, { class: "col-4" }),
2545
- h(ui, { class: "col-4" }),
2546
- h(hi, { class: "col-4" })
2555
+ h(di, { class: "col-4" })
2547
2556
  ])
2548
2557
  ]);
2549
2558
  }
2550
2559
  return () => n();
2551
2560
  }
2552
- }), fi = T({
2561
+ }), pi = T({
2553
2562
  name: "PgAnimatedCount",
2554
2563
  emits: ["click", "update:modelValue"],
2555
2564
  setup(e, { slots: t, emit: s }) {
@@ -2567,13 +2576,13 @@ const X = ie("pg-history", {
2567
2576
  class: ""
2568
2577
  };
2569
2578
  return h("div", g, [
2570
- h(zo, v),
2579
+ h(Ho, v),
2571
2580
  h("span", {}, " " + d.value)
2572
2581
  ]);
2573
2582
  }
2574
2583
  return () => f();
2575
2584
  }
2576
- }), gi = T({
2585
+ }), fi = T({
2577
2586
  name: "PgBottomButtons",
2578
2587
  setup(e, { slots: t, emit: s }) {
2579
2588
  const n = Te(), r = Pt(), a = k(), c = (I) => a.customReset(), d = (I) => n.open(), {
@@ -2629,10 +2638,10 @@ const X = ie("pg-history", {
2629
2638
  }
2630
2639
  return () => P();
2631
2640
  }
2632
- }), On = T({
2641
+ }), kn = T({
2633
2642
  name: "PgGridOverlay",
2634
2643
  setup(e, { slots: t, emit: s }) {
2635
- const n = It(), r = on(), a = Ie(), {
2644
+ const n = It(), r = rn(), a = Ie(), {
2636
2645
  visible: c,
2637
2646
  spacing: d,
2638
2647
  horizontal: u,
@@ -2658,7 +2667,7 @@ const X = ie("pg-history", {
2658
2667
  width: window.innerWidth,
2659
2668
  height: window.innerHeight
2660
2669
  }), g.value = { width: n.screen.width, height: n.screen.height };
2661
- }), Jt(() => r.$off("resize"));
2670
+ }), es(() => r.$off("resize"));
2662
2671
  function P() {
2663
2672
  const I = {
2664
2673
  class: "pg-grid-overlay",
@@ -2671,11 +2680,11 @@ const X = ie("pg-history", {
2671
2680
  imageSize: C.value,
2672
2681
  viewportSize: g.value
2673
2682
  };
2674
- return h(Ho, I);
2683
+ return h(Fo, I);
2675
2684
  }
2676
2685
  return () => P();
2677
2686
  }
2678
- }), mi = T({
2687
+ }), gi = T({
2679
2688
  name: "PgOverviewButtons",
2680
2689
  setup(e, { slots: t, emit: s }) {
2681
2690
  function n() {
@@ -2696,32 +2705,32 @@ const X = ie("pg-history", {
2696
2705
  style: "max-width: 1024px; margin: auto;"
2697
2706
  },
2698
2707
  [
2699
- h("div", a, h(fi)),
2700
- h("div", c, h(gi))
2708
+ h("div", a, h(pi)),
2709
+ h("div", c, h(fi))
2701
2710
  ]
2702
2711
  )
2703
2712
  );
2704
2713
  }
2705
2714
  return () => n();
2706
2715
  }
2707
- }), vi = { class: "column pg-overview full-width q-pt-lg" }, yi = {
2716
+ }), mi = { class: "column pg-overview full-width q-pt-lg" }, vi = {
2708
2717
  __name: "PgOverview",
2709
2718
  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), {
2719
+ return (t, s) => (O(), $("div", mi, [
2720
+ B(A(kn)),
2721
+ B(A(hi), { class: "col full-height gt-sm" }),
2722
+ B(A(On), {
2714
2723
  class: "lt-md",
2715
2724
  style: { height: "200px" }
2716
2725
  }),
2717
- B(A(si), {
2726
+ B(A(ti), {
2718
2727
  class: "lt-md",
2719
2728
  style: { "z-index": "9" }
2720
2729
  }),
2721
- B(A(mi))
2730
+ B(A(gi))
2722
2731
  ]));
2723
2732
  }
2724
- }, Ei = T({
2733
+ }, yi = T({
2725
2734
  name: "PgExitButton",
2726
2735
  props: {
2727
2736
  show: {
@@ -2743,7 +2752,7 @@ const X = ie("pg-history", {
2743
2752
  class: "pg-button-exit",
2744
2753
  "data-cy": "pg-button-exit",
2745
2754
  label: a.value,
2746
- icon: Qo,
2755
+ icon: Ko,
2747
2756
  onClick: n.close,
2748
2757
  color: "primary",
2749
2758
  onKeyup: c,
@@ -2756,14 +2765,14 @@ const X = ie("pg-history", {
2756
2765
  qt,
2757
2766
  { name: "fade" },
2758
2767
  () => vt(
2759
- h(Ro, u, () => [h(Oe, f)]),
2768
+ h(Bo, u, () => [h(Oe, f)]),
2760
2769
  [[yt, e.show]]
2761
2770
  )
2762
2771
  );
2763
2772
  }
2764
2773
  return () => d();
2765
2774
  }
2766
- }), ss = T({
2775
+ }), ns = T({
2767
2776
  name: "PgBaseButton",
2768
2777
  props: {
2769
2778
  type: String,
@@ -2793,25 +2802,25 @@ const X = ie("pg-history", {
2793
2802
  }
2794
2803
  return () => n();
2795
2804
  }
2796
- }), Si = T({
2805
+ }), Ei = T({
2797
2806
  name: "PgNextButton",
2798
2807
  setup(e, { slots: t, emit: s }) {
2799
2808
  const n = Te(), { nextDisabled: r } = S(n);
2800
2809
  function a() {
2801
2810
  const c = {
2802
2811
  type: "next",
2803
- icon: $r,
2812
+ icon: Br,
2804
2813
  onClick: n.next,
2805
2814
  disable: r.value
2806
2815
  };
2807
- return h(ss, c);
2816
+ return h(ns, c);
2808
2817
  }
2809
2818
  return () => a();
2810
2819
  }
2811
- }), Ti = T({
2820
+ }), Si = T({
2812
2821
  name: "PgNextButton",
2813
2822
  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();
2823
+ 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
2824
  function v() {
2816
2825
  const C = {
2817
2826
  type: "play",
@@ -2828,26 +2837,26 @@ const X = ie("pg-history", {
2828
2837
  thickness: 0.2,
2829
2838
  instantFeedback: !0
2830
2839
  };
2831
- return h(ss, C, () => [h(Bo, _)]);
2840
+ return h(ns, C, () => [h($o, _)]);
2832
2841
  }
2833
2842
  return () => v();
2834
2843
  }
2835
- }), Ci = T({
2844
+ }), Ti = T({
2836
2845
  name: "PgPreviousButton",
2837
2846
  setup(e, { slots: t, emit: s }) {
2838
2847
  const n = Te(), { previousDisabled: r } = S(n);
2839
2848
  function a() {
2840
2849
  const c = {
2841
2850
  type: "previous",
2842
- icon: Br,
2851
+ icon: Rr,
2843
2852
  onClick: n.previous,
2844
2853
  disable: r.value
2845
2854
  };
2846
- return h(ss, c);
2855
+ return h(ns, c);
2847
2856
  }
2848
2857
  return () => a();
2849
2858
  }
2850
- }), _i = T({
2859
+ }), Ci = T({
2851
2860
  name: "PgTimer",
2852
2861
  setup(e, { slots: t, emit: s }) {
2853
2862
  const n = he(), r = Z(), { formatted: a, milliseconds: c } = S(n), { duration: d } = S(r), u = y(() => {
@@ -2869,7 +2878,7 @@ const X = ie("pg-history", {
2869
2878
  }
2870
2879
  return () => v();
2871
2880
  }
2872
- }), kn = T({
2881
+ }), Ln = T({
2873
2882
  name: "PgControls",
2874
2883
  props: { center: Boolean },
2875
2884
  setup(e, { slots: t, emit: s }) {
@@ -2879,11 +2888,11 @@ const X = ie("pg-history", {
2879
2888
  };
2880
2889
  e.center && (r.class = r.class + " justify-center");
2881
2890
  const a = [];
2882
- return a.push(h(Ci)), a.push(h(Ti)), a.push(h(Si)), a.push(h(_i)), h("div", r, a);
2891
+ return a.push(h(Ti)), a.push(h(Si)), a.push(h(Ei)), a.push(h(Ci)), h("div", r, a);
2883
2892
  }
2884
2893
  return () => n();
2885
2894
  }
2886
- }), Ln = T({
2895
+ }), Vn = T({
2887
2896
  name: "PgView360",
2888
2897
  setup(e, { slots: t, emit: s }) {
2889
2898
  const n = X(), { lang: r } = M(), a = y(() => {
@@ -2904,7 +2913,7 @@ const X = ie("pg-history", {
2904
2913
  }
2905
2914
  return () => c();
2906
2915
  }
2907
- }), Vn = T({
2916
+ }), Un = T({
2908
2917
  name: "PgPlayExpansions",
2909
2918
  setup(e, { slots: t, emit: s }) {
2910
2919
  const n = It();
@@ -2912,11 +2921,11 @@ const X = ie("pg-history", {
2912
2921
  const a = j(n.platform.is.desktop), c = {
2913
2922
  class: "pg-play-expansions"
2914
2923
  }, 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);
2924
+ 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
2925
  }
2917
2926
  return () => r();
2918
2927
  }
2919
- }), bi = T({
2928
+ }), _i = T({
2920
2929
  name: "PgModalControls",
2921
2930
  props: {
2922
2931
  modelValue: Boolean,
@@ -2935,21 +2944,21 @@ const X = ie("pg-history", {
2935
2944
  topOffset: 80,
2936
2945
  "onUpdate:modelValue": (c) => n.value = c
2937
2946
  };
2938
- return h(Fo, a, {
2939
- default: () => h(kn),
2940
- expanded: () => h(Vn)
2947
+ return h(qo, a, {
2948
+ default: () => h(Ln),
2949
+ expanded: () => h(Un)
2941
2950
  });
2942
2951
  }
2943
2952
  return () => r();
2944
2953
  }
2945
- }), Ii = ["src"], Pi = {
2954
+ }), bi = ["src"], Ii = {
2946
2955
  __name: "PgDisplayImage",
2947
2956
  props: {
2948
2957
  flipped: Boolean,
2949
2958
  zIndex: Number
2950
2959
  },
2951
2960
  setup(e) {
2952
- const t = X(), s = on(), n = e, r = y(() => t.playSrc), a = j(null), c = y(() => {
2961
+ const t = X(), s = rn(), n = e, r = y(() => t.playSrc), a = j(null), c = y(() => {
2953
2962
  const f = {
2954
2963
  // ...filterStyle.value,
2955
2964
  zIndex: n.zIndex + 2
@@ -2971,18 +2980,18 @@ const X = ie("pg-history", {
2971
2980
  }
2972
2981
  return bt(() => {
2973
2982
  u(), s.$on("resize", d);
2974
- }), Jt(() => s.$off("resize")), (f, g) => (O(), $("img", {
2983
+ }), es(() => s.$off("resize")), (f, g) => (O(), $("img", {
2975
2984
  src: r.value,
2976
2985
  class: mt(["pg-display-image", { "flip-horizontal": e.flipped }]),
2977
- style: nn(c.value)
2978
- }, null, 14, Ii));
2986
+ style: on(c.value)
2987
+ }, null, 14, bi));
2979
2988
  }
2980
- }, xi = {
2989
+ }, Pi = {
2981
2990
  __name: "PgDisplay",
2982
2991
  setup(e) {
2983
2992
  const t = ge(), s = X();
2984
2993
  Pe();
2985
- const n = R(), { playSelected: r } = S(n), { brightness: a, contrast: c, saturate: d } = S(t), { filterStyle: u } = Mo({
2994
+ const n = R(), { playSelected: r } = S(n), { brightness: a, contrast: c, saturate: d } = S(t), { filterStyle: u } = Ao({
2986
2995
  brightness: a,
2987
2996
  contrast: c,
2988
2997
  saturate: d,
@@ -2997,7 +3006,7 @@ const X = ie("pg-history", {
2997
3006
  return [(_ = g.value) == null ? void 0 : _.id, (D = g.value) == null ? void 0 : D.src, (P = g.value) == null ? void 0 : P.status];
2998
3007
  },
2999
3008
  ([_, D, P], I, b) => {
3000
- if (!(P === gn && D)) return;
3009
+ if (!(P === mn && D)) return;
3001
3010
  const x = _.split("."), F = _ ?? `${D}#${Date.now()}`;
3002
3011
  v.value = [
3003
3012
  ...v.value,
@@ -3007,11 +3016,11 @@ const X = ie("pg-history", {
3007
3016
  { immediate: !0 }
3008
3017
  ), (_, D) => (O(), $("div", {
3009
3018
  class: "pg-display",
3010
- style: nn(f.value)
3019
+ style: on(f.value)
3011
3020
  }, [
3012
- B(_o, { name: "pgfade" }, {
3021
+ B(bo, { name: "pgfade" }, {
3013
3022
  default: jt(() => [
3014
- (O(!0), $(Xe, null, Ze(v.value, (P, I) => (O(), _t(Pi, {
3023
+ (O(!0), $(Xe, null, Ze(v.value, (P, I) => (O(), _t(Ii, {
3015
3024
  key: P.key,
3016
3025
  zIndex: parseInt(P.zIndex),
3017
3026
  flipped: P.flipped
@@ -3028,9 +3037,9 @@ var Ht = { exports: {} };
3028
3037
  *
3029
3038
  * Copyright (c) 2016 Jorik Tangelder;
3030
3039
  * Licensed under the MIT license */
3031
- var Hs;
3032
- function wi() {
3033
- return Hs || (Hs = 1, (function(e) {
3040
+ var Fs;
3041
+ function xi() {
3042
+ return Fs || (Fs = 1, (function(e) {
3034
3043
  (function(t, s, n, r) {
3035
3044
  var a = ["", "webkit", "Moz", "MS", "ms", "o"], c = s.createElement("div"), d = "function", u = Math.round, f = Math.abs, g = Date.now;
3036
3045
  function v(o, i, l) {
@@ -3131,7 +3140,7 @@ function wi() {
3131
3140
  function et(o) {
3132
3141
  return Array.prototype.slice.call(o, 0);
3133
3142
  }
3134
- function os(o, i, l) {
3143
+ function rs(o, i, l) {
3135
3144
  for (var p = [], m = [], E = 0; E < o.length; ) {
3136
3145
  var w = o[E][i];
3137
3146
  xe(m, w) < 0 && p.push(o[E]), m[E] = w, E++;
@@ -3148,15 +3157,15 @@ function wi() {
3148
3157
  }
3149
3158
  return r;
3150
3159
  }
3151
- var Bn = 1;
3152
- function $n() {
3153
- return Bn++;
3160
+ var $n = 1;
3161
+ function zn() {
3162
+ return $n++;
3154
3163
  }
3155
- function rs(o) {
3164
+ function is(o) {
3156
3165
  var i = o.ownerDocument || o;
3157
3166
  return i.defaultView || i.parentWindow || t;
3158
3167
  }
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"];
3168
+ 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
3169
  function Y(o, i) {
3161
3170
  var l = this;
3162
3171
  this.manager = o, this.callback = i, this.element = o.element, this.target = o.options.inputTarget, this.domHandler = function(p) {
@@ -3174,34 +3183,34 @@ function wi() {
3174
3183
  * bind the events
3175
3184
  */
3176
3185
  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);
3186
+ 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
3187
  },
3179
3188
  /**
3180
3189
  * unbind the events
3181
3190
  */
3182
3191
  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);
3192
+ 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
3193
  }
3185
3194
  };
3186
- function Yn(o) {
3195
+ function Wn(o) {
3187
3196
  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);
3197
+ return l ? i = l : Fn ? i = At : qn ? i = it : as ? i = Nt : i = rt, new i(o, Xn);
3189
3198
  }
3190
- function Wn(o, i, l) {
3199
+ function Xn(o, i, l) {
3191
3200
  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;
3201
+ 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
3202
  }
3194
- function Xn(o, i) {
3203
+ function Zn(o, i) {
3195
3204
  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);
3205
+ l.firstInput || (l.firstInput = us(i)), m > 1 && !l.firstMultiple ? l.firstMultiple = us(i) : m === 1 && (l.firstMultiple = !1);
3206
+ var E = l.firstInput, w = l.firstMultiple, L = w ? w.center : E.center, U = i.center = ds(p);
3207
+ 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);
3208
+ var H = hs(i.deltaTime, i.deltaX, i.deltaY);
3209
+ 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
3210
  var ne = o.element;
3202
3211
  ce(i.srcEvent.target, ne) && (ne = i.srcEvent.target), i.target = ne;
3203
3212
  }
3204
- function Zn(o, i) {
3213
+ function Qn(o, i) {
3205
3214
  var l = i.center, p = o.offsetDelta || {}, m = o.prevDelta || {}, E = o.prevInput || {};
3206
3215
  (i.eventType === z || E.eventType === N) && (m = o.prevDelta = {
3207
3216
  x: E.deltaX || 0,
@@ -3211,16 +3220,16 @@ function wi() {
3211
3220
  y: l.y
3212
3221
  }), i.deltaX = m.x + (l.x - p.x), i.deltaY = m.y + (l.y - p.y);
3213
3222
  }
3214
- function Qn(o, i) {
3223
+ function Kn(o, i) {
3215
3224
  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;
3225
+ if (i.eventType != q && (p > Yn || l.velocity === r)) {
3226
+ var U = i.deltaX - l.deltaX, H = i.deltaY - l.deltaY, ne = hs(p, U, H);
3227
+ 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
3228
  } else
3220
3229
  m = l.velocity, E = l.velocityX, w = l.velocityY, L = l.direction;
3221
3230
  i.velocity = m, i.velocityX = E, i.velocityY = w, i.direction = L;
3222
3231
  }
3223
- function cs(o) {
3232
+ function us(o) {
3224
3233
  for (var i = [], l = 0; l < o.pointers.length; )
3225
3234
  i[l] = {
3226
3235
  clientX: u(o.pointers[l].clientX),
@@ -3229,12 +3238,12 @@ function wi() {
3229
3238
  return {
3230
3239
  timeStamp: g(),
3231
3240
  pointers: i,
3232
- center: us(i),
3241
+ center: ds(i),
3233
3242
  deltaX: o.deltaX,
3234
3243
  deltaY: o.deltaY
3235
3244
  };
3236
3245
  }
3237
- function us(o) {
3246
+ function ds(o) {
3238
3247
  var i = o.length;
3239
3248
  if (i === 1)
3240
3249
  return {
@@ -3248,38 +3257,38 @@ function wi() {
3248
3257
  y: u(p / i)
3249
3258
  };
3250
3259
  }
3251
- function ds(o, i, l) {
3260
+ function hs(o, i, l) {
3252
3261
  return {
3253
3262
  x: i / o || 0,
3254
3263
  y: l / o || 0
3255
3264
  };
3256
3265
  }
3257
- function hs(o, i) {
3266
+ function ps(o, i) {
3258
3267
  return o === i ? st : f(o) >= f(i) ? o < 0 ? Re : Be : i < 0 ? $e : ze;
3259
3268
  }
3260
3269
  function ot(o, i, l) {
3261
- l || (l = ls);
3270
+ l || (l = cs);
3262
3271
  var p = i[l[0]] - o[l[0]], m = i[l[1]] - o[l[1]];
3263
3272
  return Math.sqrt(p * p + m * m);
3264
3273
  }
3265
3274
  function Mt(o, i, l) {
3266
- l || (l = ls);
3275
+ l || (l = cs);
3267
3276
  var p = i[l[0]] - o[l[0]], m = i[l[1]] - o[l[1]];
3268
3277
  return Math.atan2(m, p) * 180 / Math.PI;
3269
3278
  }
3270
- function Kn(o, i) {
3279
+ function Jn(o, i) {
3271
3280
  return Mt(i[1], i[0], nt) + Mt(o[1], o[0], nt);
3272
3281
  }
3273
- function Jn(o, i) {
3282
+ function eo(o, i) {
3274
3283
  return ot(i[0], i[1], nt) / ot(o[0], o[1], nt);
3275
3284
  }
3276
- var eo = {
3285
+ var to = {
3277
3286
  mousedown: z,
3278
3287
  mousemove: Ce,
3279
3288
  mouseup: N
3280
- }, to = "mousedown", so = "mousemove mouseup";
3289
+ }, so = "mousedown", no = "mousemove mouseup";
3281
3290
  function rt() {
3282
- this.evEl = to, this.evWin = so, this.pressed = !1, Y.apply(this, arguments);
3291
+ this.evEl = so, this.evWin = no, this.pressed = !1, Y.apply(this, arguments);
3283
3292
  }
3284
3293
  x(rt, Y, {
3285
3294
  /**
@@ -3287,7 +3296,7 @@ function wi() {
3287
3296
  * @param {Object} ev
3288
3297
  */
3289
3298
  handler: function(i) {
3290
- var l = eo[i.type];
3299
+ var l = to[i.type];
3291
3300
  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
3301
  pointers: [i],
3293
3302
  changedPointers: [i],
@@ -3296,22 +3305,22 @@ function wi() {
3296
3305
  }));
3297
3306
  }
3298
3307
  });
3299
- var no = {
3308
+ var oo = {
3300
3309
  pointerdown: z,
3301
3310
  pointermove: Ce,
3302
3311
  pointerup: N,
3303
3312
  pointercancel: q,
3304
3313
  pointerout: q
3305
- }, oo = {
3314
+ }, ro = {
3306
3315
  2: Ue,
3307
- 3: qn,
3316
+ 3: jn,
3308
3317
  4: Dt,
3309
- 5: jn
3318
+ 5: Gn
3310
3319
  // 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");
3320
+ }, fs = "pointerdown", gs = "pointermove pointerup pointercancel";
3321
+ t.MSPointerEvent && !t.PointerEvent && (fs = "MSPointerDown", gs = "MSPointerMove MSPointerUp MSPointerCancel");
3313
3322
  function At() {
3314
- this.evEl = ps, this.evWin = fs, Y.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
3323
+ this.evEl = fs, this.evWin = gs, Y.apply(this, arguments), this.store = this.manager.session.pointerEvents = [];
3315
3324
  }
3316
3325
  x(At, Y, {
3317
3326
  /**
@@ -3319,7 +3328,7 @@ function wi() {
3319
3328
  * @param {Object} ev
3320
3329
  */
3321
3330
  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");
3331
+ 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
3332
  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
3333
  pointers: l,
3325
3334
  changedPointers: [i],
@@ -3328,20 +3337,20 @@ function wi() {
3328
3337
  }), p && l.splice(U, 1));
3329
3338
  }
3330
3339
  });
3331
- var ro = {
3340
+ var io = {
3332
3341
  touchstart: z,
3333
3342
  touchmove: Ce,
3334
3343
  touchend: N,
3335
3344
  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);
3345
+ }, ao = "touchstart", lo = "touchstart touchmove touchend touchcancel";
3346
+ function ms() {
3347
+ this.evTarget = ao, this.evWin = lo, this.started = !1, Y.apply(this, arguments);
3339
3348
  }
3340
- x(gs, Y, {
3349
+ x(ms, Y, {
3341
3350
  handler: function(i) {
3342
- var l = ro[i.type];
3351
+ var l = io[i.type];
3343
3352
  if (l === z && (this.started = !0), !!this.started) {
3344
- var p = lo.call(this, i, l);
3353
+ var p = co.call(this, i, l);
3345
3354
  l & (N | q) && p[0].length - p[1].length === 0 && (this.started = !1), this.callback(this.manager, l, {
3346
3355
  pointers: p[0],
3347
3356
  changedPointers: p[1],
@@ -3351,22 +3360,22 @@ function wi() {
3351
3360
  }
3352
3361
  }
3353
3362
  });
3354
- function lo(o, i) {
3363
+ function co(o, i) {
3355
3364
  var l = et(o.touches), p = et(o.changedTouches);
3356
- return i & (N | q) && (l = os(l.concat(p), "identifier")), [l, p];
3365
+ return i & (N | q) && (l = rs(l.concat(p), "identifier")), [l, p];
3357
3366
  }
3358
- var co = {
3367
+ var uo = {
3359
3368
  touchstart: z,
3360
3369
  touchmove: Ce,
3361
3370
  touchend: N,
3362
3371
  touchcancel: q
3363
- }, uo = "touchstart touchmove touchend touchcancel";
3372
+ }, ho = "touchstart touchmove touchend touchcancel";
3364
3373
  function it() {
3365
- this.evTarget = uo, this.targetIds = {}, Y.apply(this, arguments);
3374
+ this.evTarget = ho, this.targetIds = {}, Y.apply(this, arguments);
3366
3375
  }
3367
3376
  x(it, Y, {
3368
3377
  handler: function(i) {
3369
- var l = co[i.type], p = ho.call(this, i, l);
3378
+ var l = uo[i.type], p = po.call(this, i, l);
3370
3379
  p && this.callback(this.manager, l, {
3371
3380
  pointers: p[0],
3372
3381
  changedPointers: p[1],
@@ -3375,7 +3384,7 @@ function wi() {
3375
3384
  });
3376
3385
  }
3377
3386
  });
3378
- function ho(o, i) {
3387
+ function po(o, i) {
3379
3388
  var l = et(o.touches), p = this.targetIds;
3380
3389
  if (i & (z | Ce) && l.length === 1)
3381
3390
  return p[l[0].identifier] = !0, [l, l];
@@ -3390,11 +3399,11 @@ function wi() {
3390
3399
  if (L.length)
3391
3400
  return [
3392
3401
  // merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'
3393
- os(E.concat(L), "identifier"),
3402
+ rs(E.concat(L), "identifier"),
3394
3403
  L
3395
3404
  ];
3396
3405
  }
3397
- var po = 2500, ms = 25;
3406
+ var fo = 2500, vs = 25;
3398
3407
  function Nt() {
3399
3408
  Y.apply(this, arguments);
3400
3409
  var o = F(this.handler, this);
@@ -3411,8 +3420,8 @@ function wi() {
3411
3420
  var m = p.pointerType == Ue, E = p.pointerType == Dt;
3412
3421
  if (!(E && p.sourceCapabilities && p.sourceCapabilities.firesTouchEvents)) {
3413
3422
  if (m)
3414
- fo.call(this, l, p);
3415
- else if (E && go.call(this, p))
3423
+ go.call(this, l, p);
3424
+ else if (E && mo.call(this, p))
3416
3425
  return;
3417
3426
  this.callback(i, l, p);
3418
3427
  }
@@ -3424,10 +3433,10 @@ function wi() {
3424
3433
  this.touch.destroy(), this.mouse.destroy();
3425
3434
  }
3426
3435
  });
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);
3436
+ function go(o, i) {
3437
+ o & z ? (this.primaryTouch = i.changedPointers[0].identifier, ys.call(this, i)) : o & (N | q) && ys.call(this, i);
3429
3438
  }
3430
- function vs(o) {
3439
+ function ys(o) {
3431
3440
  var i = o.changedPointers[0];
3432
3441
  if (i.identifier === this.primaryTouch) {
3433
3442
  var l = { x: i.clientX, y: i.clientY };
@@ -3436,18 +3445,18 @@ function wi() {
3436
3445
  var E = p.indexOf(l);
3437
3446
  E > -1 && p.splice(E, 1);
3438
3447
  };
3439
- setTimeout(m, po);
3448
+ setTimeout(m, fo);
3440
3449
  }
3441
3450
  }
3442
- function go(o) {
3451
+ function mo(o) {
3443
3452
  for (var i = o.srcEvent.clientX, l = o.srcEvent.clientY, p = 0; p < this.lastTouches.length; p++) {
3444
3453
  var m = this.lastTouches[p], E = Math.abs(i - m.x), w = Math.abs(l - m.y);
3445
- if (E <= ms && w <= ms)
3454
+ if (E <= vs && w <= vs)
3446
3455
  return !0;
3447
3456
  }
3448
3457
  return !1;
3449
3458
  }
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();
3459
+ 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
3460
  function kt(o, i) {
3452
3461
  this.manager = o, this.set(i);
3453
3462
  }
@@ -3457,7 +3466,7 @@ function wi() {
3457
3466
  * @param {String} value
3458
3467
  */
3459
3468
  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();
3469
+ o == Ts && (o = this.compute()), Ss && this.manager.element.style && at[o] && (this.manager.element.style[Es] = o), this.actions = o.toLowerCase().trim();
3461
3470
  },
3462
3471
  /**
3463
3472
  * just re-set the touchAction value
@@ -3473,7 +3482,7 @@ function wi() {
3473
3482
  var o = [];
3474
3483
  return _(this.manager.recognizers, function(i) {
3475
3484
  le(i.options.enable, [i]) && (o = o.concat(i.getTouchAction()));
3476
- }), mo(o.join(" "));
3485
+ }), vo(o.join(" "));
3477
3486
  },
3478
3487
  /**
3479
3488
  * this method is called on each input cycle and provides the preventing of the browser behavior
@@ -3502,14 +3511,14 @@ function wi() {
3502
3511
  this.manager.session.prevented = !0, o.preventDefault();
3503
3512
  }
3504
3513
  };
3505
- function mo(o) {
3514
+ function vo(o) {
3506
3515
  if (G(o, be))
3507
3516
  return be;
3508
3517
  var i = G(o, He), l = G(o, Fe);
3509
- return i && l ? be : i || l ? i ? He : Fe : G(o, Ot) ? Ot : Ts;
3518
+ return i && l ? be : i || l ? i ? He : Fe : G(o, Ot) ? Ot : Cs;
3510
3519
  }
3511
- function vo() {
3512
- if (!Es)
3520
+ function yo() {
3521
+ if (!Ss)
3513
3522
  return !1;
3514
3523
  var o = {}, i = t.CSS && t.CSS.supports;
3515
3524
  return ["auto", "manipulation", "pan-y", "pan-x", "pan-x pan-y", "none"].forEach(function(l) {
@@ -3518,7 +3527,7 @@ function wi() {
3518
3527
  }
3519
3528
  var lt = 1, W = 2, we = 4, Ee = 8, ue = Ee, qe = 16, se = 32;
3520
3529
  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 = [];
3530
+ 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
3531
  }
3523
3532
  de.prototype = {
3524
3533
  /**
@@ -3601,7 +3610,7 @@ function wi() {
3601
3610
  function p(m) {
3602
3611
  i.manager.emit(m, o);
3603
3612
  }
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));
3613
+ 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
3614
  },
3606
3615
  /**
3607
3616
  * Check that all the require failure recognizers has failed,
@@ -3663,10 +3672,10 @@ function wi() {
3663
3672
  reset: function() {
3664
3673
  }
3665
3674
  };
3666
- function Cs(o) {
3675
+ function _s(o) {
3667
3676
  return o & qe ? "cancel" : o & Ee ? "end" : o & we ? "move" : o & W ? "start" : "";
3668
3677
  }
3669
- function _s(o) {
3678
+ function bs(o) {
3670
3679
  return o == ze ? "down" : o == $e ? "up" : o == Re ? "left" : o == Be ? "right" : "";
3671
3680
  }
3672
3681
  function ct(o, i) {
@@ -3721,7 +3730,7 @@ function wi() {
3721
3730
  event: "pan",
3722
3731
  threshold: 10,
3723
3732
  pointers: 1,
3724
- direction: as
3733
+ direction: ls
3725
3734
  },
3726
3735
  getTouchAction: function() {
3727
3736
  var o = this.options.direction, i = [];
@@ -3736,7 +3745,7 @@ function wi() {
3736
3745
  },
3737
3746
  emit: function(o) {
3738
3747
  this.pX = o.deltaX, this.pY = o.deltaY;
3739
- var i = _s(o.direction);
3748
+ var i = bs(o.direction);
3740
3749
  i && (o.additionalEvent = this.options.event + i), this._super.emit.call(this, o);
3741
3750
  }
3742
3751
  });
@@ -3784,7 +3793,7 @@ function wi() {
3784
3793
  // a minimal movement is ok, but keep it low
3785
3794
  },
3786
3795
  getTouchAction: function() {
3787
- return [Ts];
3796
+ return [Cs];
3788
3797
  },
3789
3798
  process: function(o) {
3790
3799
  var i = this.options, l = o.pointers.length === i.pointers, p = o.distance < i.threshold, m = o.deltaTime > i.time;
@@ -3848,7 +3857,7 @@ function wi() {
3848
3857
  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
3858
  },
3850
3859
  emit: function(o) {
3851
- var i = _s(o.offsetDirection);
3860
+ var i = bs(o.offsetDirection);
3852
3861
  i && this.manager.emit(this.options.event + i, o), this.manager.emit(this.options.event, o);
3853
3862
  }
3854
3863
  });
@@ -3922,7 +3931,7 @@ function wi() {
3922
3931
  * @type {String}
3923
3932
  * @default compute
3924
3933
  */
3925
- touchAction: Ss,
3934
+ touchAction: Ts,
3926
3935
  /**
3927
3936
  * @type {Boolean}
3928
3937
  * @default true
@@ -4004,9 +4013,9 @@ function wi() {
4004
4013
  tapHighlightColor: "rgba(0,0,0,0)"
4005
4014
  }
4006
4015
  };
4007
- var yo = 1, bs = 2;
4016
+ var Eo = 1, Is = 2;
4008
4017
  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) {
4018
+ 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
4019
  var p = this.add(new l[0](l[1]));
4011
4020
  l[2] && p.recognizeWith(l[2]), l[3] && p.requireFailure(l[3]);
4012
4021
  }, this);
@@ -4027,7 +4036,7 @@ function wi() {
4027
4036
  * @param {Boolean} [force]
4028
4037
  */
4029
4038
  stop: function(o) {
4030
- this.session.stopped = o ? bs : yo;
4039
+ this.session.stopped = o ? Is : Eo;
4031
4040
  },
4032
4041
  /**
4033
4042
  * run the recognizers!
@@ -4042,7 +4051,7 @@ function wi() {
4042
4051
  var l, p = this.recognizers, m = i.curRecognizer;
4043
4052
  (!m || m && m.state & ue) && (m = i.curRecognizer = null);
4044
4053
  for (var E = 0; E < p.length; )
4045
- l = p[E], i.stopped !== bs && // 1
4054
+ l = p[E], i.stopped !== Is && // 1
4046
4055
  (!m || l == m || // 2
4047
4056
  l.canRecognizeWith(m)) ? l.recognize(o) : l.reset(), !m && l.state & (W | we | Ee) && (m = i.curRecognizer = l), E++;
4048
4057
  }
@@ -4120,7 +4129,7 @@ function wi() {
4120
4129
  * @param {Object} data
4121
4130
  */
4122
4131
  emit: function(o, i) {
4123
- this.options.domEvents && Eo(o, i);
4132
+ this.options.domEvents && So(o, i);
4124
4133
  var l = this.handlers[o] && this.handlers[o].slice();
4125
4134
  if (!(!l || !l.length)) {
4126
4135
  i.type = o, i.preventDefault = function() {
@@ -4135,10 +4144,10 @@ function wi() {
4135
4144
  * it doesn't unbind dom events, that is the user own responsibility
4136
4145
  */
4137
4146
  destroy: function() {
4138
- this.element && Is(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
4147
+ this.element && Ps(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
4139
4148
  }
4140
4149
  };
4141
- function Is(o, i) {
4150
+ function Ps(o, i) {
4142
4151
  var l = o.element;
4143
4152
  if (l.style) {
4144
4153
  var p;
@@ -4147,7 +4156,7 @@ function wi() {
4147
4156
  }), i || (o.oldCssProps = {});
4148
4157
  }
4149
4158
  }
4150
- function Eo(o, i) {
4159
+ function So(o, i) {
4151
4160
  var l = s.createEvent("Event");
4152
4161
  l.initEvent(o, !0, !0), l.gesture = i, i.target.dispatchEvent(l);
4153
4162
  }
@@ -4170,7 +4179,7 @@ function wi() {
4170
4179
  DIRECTION_DOWN: ze,
4171
4180
  DIRECTION_HORIZONTAL: te,
4172
4181
  DIRECTION_VERTICAL: _e,
4173
- DIRECTION_ALL: as,
4182
+ DIRECTION_ALL: ls,
4174
4183
  Manager: Bt,
4175
4184
  Input: Y,
4176
4185
  TouchAction: kt,
@@ -4178,7 +4187,7 @@ function wi() {
4178
4187
  MouseInput: rt,
4179
4188
  PointerEventInput: At,
4180
4189
  TouchMouseInput: Nt,
4181
- SingleTouchInput: gs,
4190
+ SingleTouchInput: ms,
4182
4191
  Recognizer: de,
4183
4192
  AttrRecognizer: K,
4184
4193
  Tap: dt,
@@ -4197,36 +4206,36 @@ function wi() {
4197
4206
  bindFn: F,
4198
4207
  prefixed: tt
4199
4208
  });
4200
- var So = typeof t < "u" ? t : typeof self < "u" ? self : {};
4201
- So.Hammer = Se, e.exports ? e.exports = Se : t[n] = Se;
4209
+ var To = typeof t < "u" ? t : typeof self < "u" ? self : {};
4210
+ To.Hammer = Se, e.exports ? e.exports = Se : t[n] = Se;
4202
4211
  })(window, document, "Hammer");
4203
4212
  })(Ht)), Ht.exports;
4204
4213
  }
4205
- var xt = wi();
4206
- const oe = /* @__PURE__ */ er({
4214
+ var xt = xi();
4215
+ const oe = /* @__PURE__ */ tr({
4207
4216
  __proto__: null
4208
- }, [xt]), Un = 1, Rn = 2, Zt = 4, Di = {
4209
- mousedown: Un,
4210
- mousemove: Rn,
4211
- mouseup: Zt
4217
+ }, [xt]), Rn = 1, Bn = 2, Qt = 4, wi = {
4218
+ mousedown: Rn,
4219
+ mousemove: Bn,
4220
+ mouseup: Qt
4212
4221
  };
4213
- function Mi(e, t) {
4222
+ function Di(e, t) {
4214
4223
  for (let s = 0; s < e.length; s++)
4215
4224
  if (t(e[s]))
4216
4225
  return !0;
4217
4226
  return !1;
4218
4227
  }
4219
- function Ai(e) {
4228
+ function Mi(e) {
4220
4229
  const t = e.prototype.handler;
4221
4230
  e.prototype.handler = function(n) {
4222
4231
  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);
4232
+ n.button > 0 && n.type === "pointerdown" && (Di(r, (a) => a.pointerId === n.pointerId) || r.push(n)), t.call(this, n);
4224
4233
  };
4225
4234
  }
4226
- function Ni(e) {
4235
+ function Ai(e) {
4227
4236
  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, {
4237
+ let n = wi[s.type];
4238
+ n & Rn && s.button >= 0 && (this.pressed = !0), n & Bn && s.buttons === 0 && (n = Qt), this.pressed && (n & Qt && (this.pressed = !1), this.callback(this.manager, n, {
4230
4239
  pointers: [s],
4231
4240
  changedPointers: [s],
4232
4241
  pointerType: "mouse",
@@ -4234,15 +4243,15 @@ function Ni(e) {
4234
4243
  }));
4235
4244
  };
4236
4245
  }
4237
- Ai(xt.PointerEventInput);
4238
- Ni(xt.MouseInput);
4239
- const Oi = xt.Manager;
4246
+ Mi(xt.PointerEventInput);
4247
+ Ai(xt.MouseInput);
4248
+ const Ni = xt.Manager;
4240
4249
  class wt {
4241
4250
  constructor(t, s, n) {
4242
4251
  this.element = t, this.callback = s, this.options = { enable: !0, ...n };
4243
4252
  }
4244
4253
  }
4245
- const ki = oe ? [
4254
+ const Oi = oe ? [
4246
4255
  [oe.Pan, { event: "tripan", pointers: 3, threshold: 0, enable: !1 }],
4247
4256
  [oe.Rotate, { enable: !1 }],
4248
4257
  [oe.Pinch, { enable: !1 }],
@@ -4253,16 +4262,16 @@ const ki = oe ? [
4253
4262
  // TODO - rename to 'tap' and 'singletap' in the next major release
4254
4263
  [oe.Tap, { event: "anytap", enable: !1 }],
4255
4264
  [oe.Tap, { enable: !1 }]
4256
- ] : null, Fs = {
4265
+ ] : null, qs = {
4257
4266
  tripan: ["rotate", "pinch", "pan"],
4258
4267
  rotate: ["pinch"],
4259
4268
  pinch: ["pan"],
4260
4269
  pan: ["press", "doubletap", "anytap", "tap"],
4261
4270
  doubletap: ["anytap"],
4262
4271
  anytap: ["tap"]
4263
- }, Li = {
4272
+ }, ki = {
4264
4273
  doubletap: ["tap"]
4265
- }, Vi = {
4274
+ }, Li = {
4266
4275
  pointerdown: "pointerdown",
4267
4276
  pointermove: "pointermove",
4268
4277
  pointerup: "pointerup",
@@ -4272,7 +4281,7 @@ const ki = oe ? [
4272
4281
  mousedown: "pointerdown",
4273
4282
  mousemove: "pointermove",
4274
4283
  mouseup: "pointerup"
4275
- }, ns = {
4284
+ }, os = {
4276
4285
  KEY_EVENTS: ["keydown", "keyup"],
4277
4286
  MOUSE_EVENTS: ["mousedown", "mousemove", "mouseup", "mouseover", "mouseout", "mouseleave"],
4278
4287
  WHEEL_EVENTS: [
@@ -4281,7 +4290,7 @@ const ki = oe ? [
4281
4290
  // IE
4282
4291
  "mousewheel"
4283
4292
  ]
4284
- }, Ui = {
4293
+ }, Vi = {
4285
4294
  tap: "tap",
4286
4295
  anytap: "anytap",
4287
4296
  doubletap: "doubletap",
@@ -4321,7 +4330,7 @@ const ki = oe ? [
4321
4330
  swiperight: "swipe",
4322
4331
  swipeup: "swipe",
4323
4332
  swipedown: "swipe"
4324
- }, qs = {
4333
+ }, js = {
4325
4334
  click: "tap",
4326
4335
  anyclick: "anytap",
4327
4336
  dblclick: "doubletap",
@@ -4331,29 +4340,29 @@ const ki = oe ? [
4331
4340
  mouseover: "pointerover",
4332
4341
  mouseout: "pointerout",
4333
4342
  mouseleave: "pointerleave"
4334
- }, Ri = typeof navigator < "u" && navigator.userAgent ? navigator.userAgent.toLowerCase() : "", Ae = typeof window < "u" ? window : global;
4335
- let Qt = !1;
4343
+ }, Ui = typeof navigator < "u" && navigator.userAgent ? navigator.userAgent.toLowerCase() : "", Ae = typeof window < "u" ? window : global;
4344
+ let Kt = !1;
4336
4345
  try {
4337
4346
  const e = {
4338
4347
  // This function will be called when the browser
4339
4348
  // attempts to access the passive property.
4340
4349
  get passive() {
4341
- return Qt = !0, !0;
4350
+ return Kt = !0, !0;
4342
4351
  }
4343
4352
  };
4344
4353
  Ae.addEventListener("test", null, e), Ae.removeEventListener("test", null);
4345
4354
  } catch {
4346
- Qt = !1;
4355
+ Kt = !1;
4347
4356
  }
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 {
4357
+ const Ri = Ui.indexOf("firefox") !== -1, { WHEEL_EVENTS: Bi } = os, Gs = "wheel", Ys = 4.000244140625, $i = 40, zi = 0.25;
4358
+ class Hi extends wt {
4350
4359
  constructor(t, s, n) {
4351
4360
  super(t, s, n), this.handleEvent = (r) => {
4352
4361
  if (!this.options.enable)
4353
4362
  return;
4354
4363
  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,
4364
+ 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({
4365
+ type: Gs,
4357
4366
  center: {
4358
4367
  x: r.clientX,
4359
4368
  y: r.clientY
@@ -4363,7 +4372,7 @@ class Fi extends wt {
4363
4372
  pointerType: "mouse",
4364
4373
  target: r.target
4365
4374
  });
4366
- }, this.events = (this.options.events || []).concat($i), this.events.forEach((r) => t.addEventListener(r, this.handleEvent, Qt ? { passive: !1 } : !1));
4375
+ }, this.events = (this.options.events || []).concat(Bi), this.events.forEach((r) => t.addEventListener(r, this.handleEvent, Kt ? { passive: !1 } : !1));
4367
4376
  }
4368
4377
  destroy() {
4369
4378
  this.events.forEach((t) => this.element.removeEventListener(t, this.handleEvent));
@@ -4373,17 +4382,17 @@ class Fi extends wt {
4373
4382
  * if the specified event type is among those handled by this input.
4374
4383
  */
4375
4384
  enableEventType(t, s) {
4376
- t === js && (this.options.enable = s);
4385
+ t === Gs && (this.options.enable = s);
4377
4386
  }
4378
4387
  }
4379
- const { MOUSE_EVENTS: qi } = ns, Ys = "pointermove", Ws = "pointerover", Xs = "pointerout", Zs = "pointerenter", Qs = "pointerleave";
4380
- class ji extends wt {
4388
+ const { MOUSE_EVENTS: Fi } = os, Ws = "pointermove", Xs = "pointerover", Zs = "pointerout", Qs = "pointerenter", Ks = "pointerleave";
4389
+ class qi extends wt {
4381
4390
  constructor(t, s, n) {
4382
4391
  super(t, s, n), this.handleEvent = (a) => {
4383
4392
  this.handleOverEvent(a), this.handleOutEvent(a), this.handleEnterEvent(a), this.handleLeaveEvent(a), this.handleMoveEvent(a);
4384
4393
  }, this.pressed = !1;
4385
4394
  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));
4395
+ 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
4396
  }
4388
4397
  destroy() {
4389
4398
  this.events.forEach((t) => this.element.removeEventListener(t, this.handleEvent));
@@ -4393,19 +4402,19 @@ class ji extends wt {
4393
4402
  * if the specified event type is among those handled by this input.
4394
4403
  */
4395
4404
  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);
4405
+ 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
4406
  }
4398
4407
  handleOverEvent(t) {
4399
- this.enableOverEvent && t.type === "mouseover" && this._emit(Ws, t);
4408
+ this.enableOverEvent && t.type === "mouseover" && this._emit(Xs, t);
4400
4409
  }
4401
4410
  handleOutEvent(t) {
4402
- this.enableOutEvent && t.type === "mouseout" && this._emit(Xs, t);
4411
+ this.enableOutEvent && t.type === "mouseout" && this._emit(Zs, t);
4403
4412
  }
4404
4413
  handleEnterEvent(t) {
4405
- this.enableEnterEvent && t.type === "mouseenter" && this._emit(Zs, t);
4414
+ this.enableEnterEvent && t.type === "mouseenter" && this._emit(Qs, t);
4406
4415
  }
4407
4416
  handleLeaveEvent(t) {
4408
- this.enableLeaveEvent && t.type === "mouseleave" && this._emit(Qs, t);
4417
+ this.enableLeaveEvent && t.type === "mouseleave" && this._emit(Ks, t);
4409
4418
  }
4410
4419
  handleMoveEvent(t) {
4411
4420
  if (this.enableMoveEvent)
@@ -4414,7 +4423,7 @@ class ji extends wt {
4414
4423
  t.button >= 0 && (this.pressed = !0);
4415
4424
  break;
4416
4425
  case "mousemove":
4417
- t.buttons === 0 && (this.pressed = !1), this.pressed || this._emit(Ys, t);
4426
+ t.buttons === 0 && (this.pressed = !1), this.pressed || this._emit(Ws, t);
4418
4427
  break;
4419
4428
  case "mouseup":
4420
4429
  this.pressed = !1;
@@ -4434,23 +4443,23 @@ class ji extends wt {
4434
4443
  });
4435
4444
  }
4436
4445
  }
4437
- const { KEY_EVENTS: Gi } = ns, Ks = "keydown", Js = "keyup";
4438
- class Yi extends wt {
4446
+ const { KEY_EVENTS: ji } = os, Js = "keydown", en = "keyup";
4447
+ class Gi extends wt {
4439
4448
  constructor(t, s, n) {
4440
4449
  super(t, s, n), this.handleEvent = (r) => {
4441
4450
  const a = r.target || r.srcElement;
4442
4451
  a.tagName === "INPUT" && a.type === "text" || a.tagName === "TEXTAREA" || (this.enableDownEvent && r.type === "keydown" && this.callback({
4443
- type: Ks,
4452
+ type: Js,
4444
4453
  srcEvent: r,
4445
4454
  key: r.key,
4446
4455
  target: r.target
4447
4456
  }), this.enableUpEvent && r.type === "keyup" && this.callback({
4448
- type: Js,
4457
+ type: en,
4449
4458
  srcEvent: r,
4450
4459
  key: r.key,
4451
4460
  target: r.target
4452
4461
  }));
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));
4462
+ }, 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
4463
  }
4455
4464
  destroy() {
4456
4465
  this.events.forEach((t) => this.element.removeEventListener(t, this.handleEvent));
@@ -4460,15 +4469,15 @@ class Yi extends wt {
4460
4469
  * if the specified event type is among those handled by this input.
4461
4470
  */
4462
4471
  enableEventType(t, s) {
4463
- t === Ks && (this.enableDownEvent = s), t === Js && (this.enableUpEvent = s);
4472
+ t === Js && (this.enableDownEvent = s), t === en && (this.enableUpEvent = s);
4464
4473
  }
4465
4474
  }
4466
- const en = "contextmenu";
4467
- class Wi extends wt {
4475
+ const tn = "contextmenu";
4476
+ class Yi extends wt {
4468
4477
  constructor(t, s, n) {
4469
4478
  super(t, s, n), this.handleEvent = (r) => {
4470
4479
  this.options.enable && this.callback({
4471
- type: en,
4480
+ type: tn,
4472
4481
  center: {
4473
4482
  x: r.clientX,
4474
4483
  y: r.clientY
@@ -4487,26 +4496,26 @@ class Wi extends wt {
4487
4496
  * if the specified event type is among those handled by this input.
4488
4497
  */
4489
4498
  enableEventType(t, s) {
4490
- t === en && (this.options.enable = s);
4499
+ t === tn && (this.options.enable = s);
4491
4500
  }
4492
4501
  }
4493
- const tn = 1, Kt = 2, sn = 4, Xi = {
4494
- pointerdown: tn,
4495
- pointermove: Kt,
4496
- pointerup: sn,
4497
- mousedown: tn,
4498
- 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];
4502
+ const sn = 1, Jt = 2, nn = 4, Wi = {
4503
+ pointerdown: sn,
4504
+ pointermove: Jt,
4505
+ pointerup: nn,
4506
+ mousedown: sn,
4507
+ mousemove: Jt,
4508
+ mouseup: nn
4509
+ }, Xi = 0, Zi = 1, Qi = 2, Ki = 1, Ji = 2, ea = 4;
4510
+ function ta(e) {
4511
+ const t = Wi[e.srcEvent.type];
4503
4512
  if (!t)
4504
4513
  return null;
4505
4514
  const { buttons: s, button: n } = e.srcEvent;
4506
4515
  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 };
4516
+ return t === Jt ? (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
4517
  }
4509
- function na(e, t) {
4518
+ function sa(e, t) {
4510
4519
  const s = e.center;
4511
4520
  if (!s)
4512
4521
  return null;
@@ -4520,7 +4529,7 @@ const Ft = {
4520
4529
  srcElement: "root",
4521
4530
  priority: 0
4522
4531
  };
4523
- class oa {
4532
+ class na {
4524
4533
  constructor(t) {
4525
4534
  this.handleEvent = (s) => {
4526
4535
  if (this.isEmpty())
@@ -4605,8 +4614,8 @@ class oa {
4605
4614
  const s = this.eventManager.getElement();
4606
4615
  return {
4607
4616
  ...t,
4608
- ...sa(t),
4609
- ...na(t, s),
4617
+ ...ta(t),
4618
+ ...sa(t, s),
4610
4619
  preventDefault: () => {
4611
4620
  t.srcEvent.preventDefault();
4612
4621
  },
@@ -4617,27 +4626,27 @@ class oa {
4617
4626
  };
4618
4627
  }
4619
4628
  }
4620
- const ra = {
4629
+ const oa = {
4621
4630
  // event handlers
4622
4631
  events: null,
4623
4632
  // custom recognizers
4624
4633
  recognizers: null,
4625
4634
  recognizerOptions: {},
4626
4635
  // Manager class
4627
- Manager: Oi,
4636
+ Manager: Ni,
4628
4637
  // allow browser default touch action
4629
4638
  // https://github.com/uber/react-map-gl/issues/506
4630
4639
  touchAction: "none",
4631
4640
  tabIndex: 0
4632
4641
  };
4633
- class ia {
4642
+ class ra {
4634
4643
  constructor(t = null, s) {
4635
4644
  this._onBasicInput = (r) => {
4636
- const { srcEvent: a } = r, c = Vi[a.type];
4645
+ const { srcEvent: a } = r, c = Li[a.type];
4637
4646
  c && this.manager.emit(c, r);
4638
4647
  }, this._onOtherEvent = (r) => {
4639
4648
  this.manager.emit(r.type, r);
4640
- }, this.options = { ...ra, ...s }, this.events = /* @__PURE__ */ new Map(), this.setElement(t);
4649
+ }, this.options = { ...oa, ...s }, this.events = /* @__PURE__ */ new Map(), this.setElement(t);
4641
4650
  const { events: n } = this.options;
4642
4651
  n && this.on(n);
4643
4652
  }
@@ -4650,10 +4659,10 @@ class ia {
4650
4659
  const { options: s } = this, n = s.Manager;
4651
4660
  this.manager = new n(t, {
4652
4661
  touchAction: s.touchAction,
4653
- recognizers: s.recognizers || ki
4654
- }).on("hammer.input", this._onBasicInput), s.recognizers || Object.keys(Fs).forEach((r) => {
4662
+ recognizers: s.recognizers || Oi
4663
+ }).on("hammer.input", this._onBasicInput), s.recognizers || Object.keys(qs).forEach((r) => {
4655
4664
  const a = this.manager.get(r);
4656
- a && Fs[r].forEach((c) => {
4665
+ a && qs[r].forEach((c) => {
4657
4666
  a.recognizeWith(c);
4658
4667
  });
4659
4668
  });
@@ -4664,14 +4673,14 @@ class ia {
4664
4673
  delete c.enable, a.set(c);
4665
4674
  }
4666
4675
  }
4667
- this.wheelInput = new Fi(t, this._onOtherEvent, {
4676
+ this.wheelInput = new Hi(t, this._onOtherEvent, {
4668
4677
  enable: !1
4669
- }), this.moveInput = new ji(t, this._onOtherEvent, {
4678
+ }), this.moveInput = new qi(t, this._onOtherEvent, {
4670
4679
  enable: !1
4671
- }), this.keyInput = new Yi(t, this._onOtherEvent, {
4680
+ }), this.keyInput = new Gi(t, this._onOtherEvent, {
4672
4681
  enable: !1,
4673
4682
  tabIndex: s.tabIndex
4674
- }), this.contextmenuInput = new Wi(t, this._onOtherEvent, {
4683
+ }), this.contextmenuInput = new Yi(t, this._onOtherEvent, {
4675
4684
  enable: !1
4676
4685
  });
4677
4686
  for (const [r, a] of this.events)
@@ -4704,7 +4713,7 @@ class ia {
4704
4713
  const r = n.get(t);
4705
4714
  if (r && r.options.enable !== s) {
4706
4715
  r.set({ enable: s });
4707
- const a = Li[t];
4716
+ const a = ki[t];
4708
4717
  a && !this.options.recognizers && a.forEach((c) => {
4709
4718
  const d = n.get(c);
4710
4719
  s ? (d.requireFailure(t), r.dropRequireFailure(c)) : d.dropRequireFailure(t);
@@ -4722,9 +4731,9 @@ class ia {
4722
4731
  this._addEventHandler(g, t[g], n, r, a);
4723
4732
  return;
4724
4733
  }
4725
- const { manager: c, events: d } = this, u = qs[t] || t;
4734
+ const { manager: c, events: d } = this, u = js[t] || t;
4726
4735
  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);
4736
+ 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
4737
  }
4729
4738
  /**
4730
4739
  * Process the event deregistration for a single event + handler.
@@ -4735,7 +4744,7 @@ class ia {
4735
4744
  this._removeEventHandler(c, t[c]);
4736
4745
  return;
4737
4746
  }
4738
- const { events: n } = this, r = qs[t] || t, a = n.get(r);
4747
+ const { events: n } = this, r = js[t] || t, a = n.get(r);
4739
4748
  if (a && (a.remove(t, s), a.isEmpty())) {
4740
4749
  const { recognizerName: c } = a;
4741
4750
  let d = !1;
@@ -4748,7 +4757,7 @@ class ia {
4748
4757
  }
4749
4758
  }
4750
4759
  }
4751
- const aa = {
4760
+ const ia = {
4752
4761
  __name: "PgInteractionDetector",
4753
4762
  setup(e) {
4754
4763
  const t = he(), s = Te(), n = j(null), r = j([]), a = j("ended"), c = j(0);
@@ -4792,7 +4801,7 @@ const aa = {
4792
4801
  a.value === "started" && G < ce && G < Q && ce < Q && (a.value = "ended");
4793
4802
  };
4794
4803
  return bt(() => {
4795
- d = new ia(n.value, {
4804
+ d = new ra(n.value, {
4796
4805
  recognizers: [
4797
4806
  // RecognizerClass, [options], [recognizeWith, ...], [requireFailure, ...]
4798
4807
  [Hammer.Pinch],
@@ -4814,7 +4823,7 @@ const aa = {
4814
4823
  tap: C
4815
4824
  // pointerdown: togglePlay,
4816
4825
  });
4817
- }), Jt(() => {
4826
+ }), es(() => {
4818
4827
  d && d.destroy();
4819
4828
  }), (b, x) => (O(), $("div", {
4820
4829
  class: "pg-interaction-detector",
@@ -4822,7 +4831,7 @@ const aa = {
4822
4831
  ref: n
4823
4832
  }, null, 512));
4824
4833
  }
4825
- }, la = T({
4834
+ }, aa = T({
4826
4835
  name: "PgAdvancedButton",
4827
4836
  setup(e, { slots: t, emit: s }) {
4828
4837
  const n = k(), { lang: r } = M(), a = y(() => {
@@ -4843,37 +4852,37 @@ const aa = {
4843
4852
  }
4844
4853
  return () => d();
4845
4854
  }
4846
- }), ca = T({
4855
+ }), la = T({
4847
4856
  name: "PgDefaultButtonRow",
4848
4857
  setup(e, { slots: t, emit: s }) {
4849
4858
  function n() {
4850
4859
  return h("div", {
4851
4860
  class: "pg-drawer-button-row q-pt-md q-pb-sm row"
4852
4861
  }, [
4853
- h("div", { class: "col text-center" }, [h(Ln)]),
4854
- h("div", { class: "col text-center" }, [h(la)])
4862
+ h("div", { class: "col text-center" }, [h(Vn)]),
4863
+ h("div", { class: "col text-center" }, [h(aa)])
4855
4864
  ]);
4856
4865
  }
4857
4866
  return () => n();
4858
4867
  }
4859
- }), ua = T({
4868
+ }), ca = T({
4860
4869
  name: "PgDefaultDrawer",
4861
4870
  props: {},
4862
4871
  emits: ["click"],
4863
4872
  setup(e, { slots: t, emit: s }) {
4864
4873
  return () => h(
4865
- ln,
4874
+ cn,
4866
4875
  { name: Me },
4867
4876
  {
4868
- default: () => h(kn, { center: !0 }),
4877
+ default: () => h(Ln, { center: !0 }),
4869
4878
  secondary: () => [
4870
- h(ts, { playMode: !0 }),
4871
- h(ca)
4879
+ h(ss, { playMode: !0 }),
4880
+ h(la)
4872
4881
  ]
4873
4882
  }
4874
4883
  );
4875
4884
  }
4876
- }), da = T({
4885
+ }), ua = T({
4877
4886
  name: "PgAdvancedDrawer",
4878
4887
  props: {},
4879
4888
  emits: ["click"],
@@ -4883,30 +4892,30 @@ const aa = {
4883
4892
  return (a = n.value.pg) == null ? void 0 : a.buttons.advanced.title;
4884
4893
  });
4885
4894
  return () => h(
4886
- ln,
4895
+ cn,
4887
4896
  { class: "pg-effects-drawer", name: St, label: r.value },
4888
4897
  {
4889
- default: () => h(Vn, { center: !0, playMode: !0 })
4898
+ default: () => h(Un, { center: !0, playMode: !0 })
4890
4899
  }
4891
4900
  );
4892
4901
  }
4893
- }), ha = T({
4902
+ }), da = T({
4894
4903
  name: "TsDrawers",
4895
4904
  setup(e, { slots: t, emit: s }) {
4896
4905
  const n = k(), { mobileActive: r } = S(n);
4897
4906
  function a() {
4898
4907
  return h(
4899
- qo,
4908
+ jo,
4900
4909
  {
4901
4910
  modelValue: r.value,
4902
4911
  "onUpdate:modelValue": (c) => r.value = c
4903
4912
  },
4904
- () => [h(ua), h(da)]
4913
+ () => [h(ca), h(ua)]
4905
4914
  );
4906
4915
  }
4907
4916
  return () => a();
4908
4917
  }
4909
- }), pa = { class: "pg-viewport full-height" }, fa = {
4918
+ }), ha = { class: "pg-viewport full-height" }, pa = {
4910
4919
  __name: "PgViewport",
4911
4920
  props: {
4912
4921
  modelValue: Boolean
@@ -4927,25 +4936,25 @@ const aa = {
4927
4936
  });
4928
4937
  return (g, v) => (O(), _t(qt, { name: "fade" }, {
4929
4938
  default: jt(() => [
4930
- vt(De("div", pa, [
4931
- B(aa),
4932
- B(A(On)),
4933
- B(xi),
4939
+ vt(De("div", ha, [
4940
+ B(ia),
4941
+ B(A(kn)),
4942
+ B(Pi),
4934
4943
  B(qt, { name: "fade" }, {
4935
4944
  default: jt(() => [
4936
- vt(B(A(Ao), { class: "loading-graphic" }, null, 512), [
4945
+ vt(B(A(No), { class: "loading-graphic" }, null, 512), [
4937
4946
  [yt, A(c)]
4938
4947
  ])
4939
4948
  ]),
4940
4949
  _: 1
4941
4950
  }),
4942
- B(A(Ei)),
4943
- B(A(bi), {
4951
+ B(A(yi)),
4952
+ B(A(_i), {
4944
4953
  class: "desktop-only",
4945
4954
  modelValue: n.value,
4946
4955
  "onUpdate:modelValue": v[0] || (v[0] = (C) => n.value = C)
4947
4956
  }, null, 8, ["modelValue"]),
4948
- vt(B(A(ha), { class: "mobile-only" }, null, 512), [
4957
+ vt(B(A(da), { class: "mobile-only" }, null, 512), [
4949
4958
  [yt, r.value]
4950
4959
  ])
4951
4960
  ], 512), [
@@ -4959,7 +4968,7 @@ const aa = {
4959
4968
  name: "PoseGenerator",
4960
4969
  options: { slug: "pose-generator" },
4961
4970
  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);
4971
+ 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
4972
  let D = 0;
4964
4973
  Ne(v, (I, b) => {
4965
4974
  I === !1 && f.customReset(), I === !0 && b !== !0 && f.getSettings();
@@ -4971,7 +4980,7 @@ const aa = {
4971
4980
  d.pause();
4972
4981
  },
4973
4982
  { immediate: !0 }
4974
- ), No(), bt(() => {
4983
+ ), Oo(), bt(() => {
4975
4984
  f.init(), f.fetch().then(() => {
4976
4985
  u.loadQueue();
4977
4986
  }).catch(() => {
@@ -4985,8 +4994,8 @@ const aa = {
4985
4994
  return [
4986
4995
  // overlay can now be absolutely positioned within the wrapper
4987
4996
  // h(GridOverlay, { style: 'z-index: 5;' }),
4988
- h(yi),
4989
- h(fa, I)
4997
+ h(vi),
4998
+ h(pa, I)
4990
4999
  ];
4991
5000
  }
4992
5001
  return () => P();
@@ -4994,5 +5003,6 @@ const aa = {
4994
5003
  });
4995
5004
  export {
4996
5005
  _a as PoseGenerator,
5006
+ Ca as setImageServers,
4997
5007
  k as usePgStore
4998
5008
  };