diff --git a/server-data/resources/[esx]/fivem-appearance/web/dist/assets/index.3e1fdbaf.js b/server-data/resources/[esx]/fivem-appearance/web/dist/assets/index.3e1fdbaf.js index c8f2772c..0a4669d7 100644 --- a/server-data/resources/[esx]/fivem-appearance/web/dist/assets/index.3e1fdbaf.js +++ b/server-data/resources/[esx]/fivem-appearance/web/dist/assets/index.3e1fdbaf.js @@ -176,7 +176,9 @@ function io(e, t, n, r, i) { switch (o) { case 'string': case 'number': a = !0; break; - case 'object': switch (e.$$typeof) { case Ei: case B0: a = !0; } + case 'object': switch (e.$$typeof) { + case Ei: case B0: a = !0; + } } } if (a) { @@ -4573,8 +4575,7 @@ function H1(e) { function cn(e, t) { for (t &= ~Cs, t &= ~va, e.suspendedLanes |= t, e.pingedLanes &= ~t, e = e.expirationTimes; t > 0;) { - // eslint-disable-next-line prefer-const - let n = 31 - It(t), r = 1 << n; + const n = 31 - It(t), r = 1 << n; e[n] = -1, t &= ~r; } } @@ -4595,7 +4596,8 @@ function lf(e) { function bs(e, t) { const n = he; - he |= 1; try { + he |= 1; + try { return e(t); } finally { @@ -4650,8 +4652,7 @@ function Mn(e, t) { for (t = 0; t < Dt.length; t++) { if (n = Dt[t], r = n.interleaved, r !== null) { n.interleaved = null; - // eslint-disable-next-line prefer-const - let i = r.next, o = n.pending; + const i = r.next, o = n.pending; if (o !== null) { const a = o.next; o.next = i, r.next = a; @@ -4882,10 +4883,10 @@ function fr() { else { for (; $ !== null;) { c = $; - // eslint-disable-next-line prefer-const - let h = c.sibling, x = c.return; + const h = c.sibling, x = c.return; if (qp(c), c === s) { - $ = null; break; + $ = null; + break; } if (h !== null) { h.return = x, $ = h; break; @@ -5006,8 +5007,8 @@ function rh(e, t) { } function q1(e) { - // eslint-disable-next-line prefer-const - let t = e.memoizedState, n = 0; + const t = e.memoizedState, n = 0; + // eslint-disable-next-line no-const-assign t !== null && (n = t.retryLane), rh(e, n); } @@ -5336,7 +5337,11 @@ const uh = typeof reportError == 'function' ? reportError : function(e) { console.error(e); }; -function Vs(e) { this._internalRoot = e; } xa.prototype.render = Vs.prototype.render = function(e) { var t = this._internalRoot; if (t === null) throw Error(_(409)); ya(e, t, null, null); }; xa.prototype.unmount = Vs.prototype.unmount = function() { var e = this._internalRoot; if (e !== null) { this._internalRoot = null; var t = e.containerInfo; zn(function() { ya(null, e, null, null); }), t[Zt] = null; } }; function xa(e) { this._internalRoot = e; } xa.prototype.unstable_scheduleHydration = function(e) { if (e) { var t = jd(); e = { blockedOn: null, target: e, priority: t }; for (var n = 0; n < sn.length && t !== 0 && t < sn[n].priority; n++); sn.splice(n, 0, e), n === 0 && Ud(e); } }; +function Vs(e) { + this._internalRoot = e; +} + +xa.prototype.render = Vs.prototype.render = function(e) { var t = this._internalRoot; if (t === null) throw Error(_(409)); ya(e, t, null, null); }; xa.prototype.unmount = Vs.prototype.unmount = function() { var e = this._internalRoot; if (e !== null) { this._internalRoot = null; var t = e.containerInfo; zn(function() { ya(null, e, null, null); }), t[Zt] = null; } }; function xa(e) { this._internalRoot = e; } xa.prototype.unstable_scheduleHydration = function(e) { if (e) { var t = jd(); e = { blockedOn: null, target: e, priority: t }; for (var n = 0; n < sn.length && t !== 0 && t < sn[n].priority; n++); sn.splice(n, 0, e), n === 0 && Ud(e); } }; function Is(e) { return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11); } function wa(e) { return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11 && (e.nodeType !== 8 || e.nodeValue !== ' react-mount-point-unstable ')); } function cf() { } function tv(e, t, n, r, i) { if (i) { if (typeof r == 'function') { var o = r; r = function() { var s = Qo(a); o.call(s); }; } var a = lh(t, r, e, 0, null, !1, !1, '', cf); return e._reactRootContainer = a, e[Zt] = a.current, si(e.nodeType === 8 ? e.parentNode : e), zn(), a; } for (; i = e.lastChild;)e.removeChild(i); if (typeof r == 'function') { var l = r; r = function() { var s = Qo(u); l.call(s); }; } var u = Fs(e, 0, !1, null, null, !1, !1, '', cf); return e._reactRootContainer = u, e[Zt] = u.current, si(e.nodeType === 8 ? e.parentNode : e), zn(function() { ya(t, u, n, r); }), u; } function Sa(e, t, n, r, i) { var o = n._reactRootContainer; if (o) { var a = o; if (typeof i == 'function') { var l = i; i = function() { var u = Qo(a); l.call(u); }; } ya(t, a, e, i); } else a = tv(n, t, e, i, r); return Qo(a); } $d = function(e) { switch (e.tag) { case 3: var t = e.stateNode; if (t.current.memoizedState.isDehydrated) { var n = jr(t.pendingLanes); n !== 0 && (Ju(t, n | 1), st(t, Ie()), (he & 6) === 0 && (wr = Ie() + 500, On())); } break; case 13: var r = et(); zn(function() { return Ot(e, 1, r); }), _s(e, 1); } }; es = function(e) { if (e.tag === 13) { var t = et(); Ot(e, 134217728, t), _s(e, 134217728); } }; Bd = function(e) { if (e.tag === 13) { var t = et(), n = yn(e); Ot(e, n, t), _s(e, n); } }; jd = function() { return xe; }; Hd = function(e, t) { var n = xe; try { return xe = e, t(); } finally { xe = n; } }; Ql = function(e, t, n) { switch (t) { case 'input': if ($l(e, n), t = n.name, n.type === 'radio' && t != null) { for (n = e; n.parentNode;)n = n.parentNode; for (n = n.querySelectorAll('input[name=' + JSON.stringify('' + t) + '][type="radio"]'), t = 0; t < n.length; t++) { var r = n[t]; if (r !== e && r.form === e.form) { var i = fa(r); if (!i) throw Error(_(90)); Sd(r), $l(r, i); } } } break; case 'textarea': Cd(e, n); break; case 'select': t = n.value, t != null && ar(e, !!n.multiple, t, !1); } }; _d = bs; Vd = zn; var nv = { usingClientEntryPoint: !1, Events: [Pi, Zn, fa, Ad, Fd, bs] }, Lr = { findFiberByHostInstance: _n, bundleType: 0, version: '18.0.0-fc46dba67-20220329', rendererPackageName: 'react-dom' }, rv = { bundleType: Lr.bundleType, version: Lr.version, rendererPackageName: Lr.rendererPackageName, rendererConfig: Lr.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: en.ReactCurrentDispatcher, findHostInstanceByFiber: function(e) { return e = Md(e), e === null ? null : e.stateNode; }, findFiberByHostInstance: Lr.findFiberByHostInstance || ev, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: '18.0.0-fc46dba67-20220329' }; if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ != 'undefined') { var Ki = __REACT_DEVTOOLS_GLOBAL_HOOK__; if (!Ki.isDisabled && Ki.supportsFiber) try { la = Ki.inject(rv), zt = Ki; } catch { } } yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = nv; yt.createPortal = function(e, t) { var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null; if (!Is(t)) throw Error(_(200)); return J1(e, t, null, n); }; yt.createRoot = function(e, t) { if (!Is(e)) throw Error(_(299)); var n = !1, r = '', i = uh; return t != null && (t.unstable_strictMode === !0 && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onRecoverableError !== void 0 && (i = t.onRecoverableError)), t = Fs(e, 1, !1, null, null, n, !1, r, i), e[Zt] = t.current, si(e.nodeType === 8 ? e.parentNode : e), new Vs(t); }; yt.findDOMNode = function(e) { if (e == null) return null; if (e.nodeType === 1) return e; var t = e._reactInternals; if (t === void 0) throw typeof e.render == 'function' ? Error(_(188)) : (e = Object.keys(e).join(','), Error(_(268, e))); return e = Md(t), e = e === null ? null : e.stateNode, e; }; yt.flushSync = function(e) { return zn(e); }; yt.hydrate = function(e, t, n) { if (!wa(t)) throw Error(_(200)); return Sa(null, e, t, !0, n); }; yt.hydrateRoot = function(e, t, n) { if (!Is(e)) throw Error(_(405)); var r = n != null && n.hydratedSources || null, i = !1, o = '', a = uh; if (n != null && (n.unstable_strictMode === !0 && (i = !0), n.identifierPrefix !== void 0 && (o = n.identifierPrefix), n.onRecoverableError !== void 0 && (a = n.onRecoverableError)), t = lh(t, null, e, 1, n != null ? n : null, i, !1, o, a), e[Zt] = t.current, si(e), r) for (e = 0; e < r.length; e++)n = r[e], i = n._getVersion, i = i(n._source), t.mutableSourceEagerHydrationData == null ? t.mutableSourceEagerHydrationData = [n, i] : t.mutableSourceEagerHydrationData.push(n, i); return new xa(t); }; yt.render = function(e, t, n) { if (!wa(t)) throw Error(_(200)); return Sa(null, e, t, !1, n); }; yt.unmountComponentAtNode = function(e) { if (!wa(e)) throw Error(_(40)); return e._reactRootContainer ? (zn(function() { Sa(null, null, e, !1, function() { e._reactRootContainer = null, e[Zt] = null; }); }), !0) : !1; }; yt.unstable_batchedUpdates = bs; yt.unstable_renderSubtreeIntoContainer = function(e, t, n, r) { if (!wa(n)) throw Error(_(200)); if (e == null || e._reactInternals === void 0) throw Error(_(38)); return Sa(e, t, n, !1, r); }; yt.version = '18.0.0-fc46dba67-20220329'; function sh() { if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ == 'undefined' || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != 'function')) try { __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(sh); } catch (e) { console.error(e); } } sh(), Uu.exports = yt; var ch, iv = Uu.exports; ch = iv.createRoot; var ka = { exports: {} }, Ca = {};/** @@ -5670,22 +5675,23 @@ let Cg = 0; class Dh { else if (o) { const l = {}; Object.entries(o).forEach(u => { - // eslint-disable-next-line prefer-const - let s = u[0], c = u[1]; + const s = u[0], c = u[1]; const d = Y({ to: { [s]: c }, delay: pt(i, s) }, a), h = l[d.delay] && l[d.delay].to; l[d.delay] = Y({}, l[d.delay], d, { to: Y({}, h, d.to) }); }), this.queue = Object.values(l); } return this.queue = this.queue.sort((l, u) => l.delay - u.delay), this.diff(a), this; } start(t) { if (this.queue.length) { this.idle = !1, this.localQueue && this.localQueue.forEach(i => { - // eslint-disable-next-line prefer-const - let o = i.from, a = o === void 0 ? {} : o, l = i.to, u = l === void 0 ? {} : l; + const o = i.from, a = o === void 0 ? {} : o, l = i.to, u = l === void 0 ? {} : l; le.obj(a) && (this.merged = Y({}, a, this.merged)), le.obj(u) && (this.merged = Y({}, this.merged, u)); }); - const n = this.local = ++this.guid, r = this.localQueue = this.queue; this.queue = [], r.forEach((i, o) => { - // eslint-disable-next-line prefer-const - let a = i.delay, l = Tt(i, ['delay']); - const u = c => { o === r.length - 1 && n === this.guid && c && (this.idle = !0, this.props.onRest && this.props.onRest(this.merged)), t && t(); }; + + const n = this.local = ++this.guid, r = this.localQueue = this.queue; + this.queue = [], r.forEach((i, o) => { + const a = i.delay, l = Tt(i, ['delay']); + const u = c => { + o === r.length - 1 && n === this.guid && c && (this.idle = !0, this.props.onRest && this.props.onRest(this.merged)), t && t(); + }; const s = le.arr(l.to) || le.fun(l.to); a ? setTimeout(() => { n === this.guid && (s ? this.runAsync(l, u) : this.diff(l).start(u)); }, a) : s ? this.runAsync(l, u) : this.diff(l).start(u); @@ -6006,7 +6012,8 @@ function Cl(e, t, n) { return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e; } -function Ef(e, t, n) { const r = n < .5 ? n * (1 + t) : n + t - n * t, i = 2 * n - r, o = Cl(i, r, e + 1 / 3), a = Cl(i, r, e), l = Cl(i, r, e - 1 / 3); +function Ef(e, t, n) { + const r = n < 0.5 ? n * (1 + t) : n + t - n * t, i = 2 * n - r, o = Cl(i, r, e + 1 / 3), a = Cl(i, r, e), l = Cl(i, r, e - 1 / 3); return Math.round(o * 255) << 24 | Math.round(a * 255) << 16 | Math.round(l * 255) << 8; } @@ -6053,7 +6060,52 @@ const eo = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, zg = /(#(?:[0-9a }; }; -let ei = { animationIterationCount: !0, borderImageOutset: !0, borderImageSlice: !0, borderImageWidth: !0, boxFlex: !0, boxFlexGroup: !0, boxOrdinalGroup: !0, columnCount: !0, columns: !0, flex: !0, flexGrow: !0, flexPositive: !0, flexShrink: !0, flexNegative: !0, flexOrder: !0, gridRow: !0, gridRowEnd: !0, gridRowSpan: !0, gridRowStart: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnSpan: !0, gridColumnStart: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0 }; const jg = (e, t) => e + t.charAt(0).toUpperCase() + t.substring(1), Hg = ['Webkit', 'Ms', 'Moz', 'O']; ei = Object.keys(ei).reduce((e, t) => (Hg.forEach(n => e[jg(n, t)] = e[t]), e), ei); function Ug(e, t, n) { return t == null || typeof t == 'boolean' || t === '' ? '' : !n && typeof t == 'number' && t !== 0 && !(ei.hasOwnProperty(e) && ei[e]) ? t + 'px' : ('' + t).trim(); } const Af = {}; hg(e => new Fg(e)); dg(Bg); fg(Jo); cg((e, t) => { if (e.nodeType && e.setAttribute !== void 0) { const i = t.style, o = t.children, a = t.scrollTop, l = t.scrollLeft, u = Tt(t, ['style', 'children', 'scrollTop', 'scrollLeft']), s = e.nodeName === 'filter' || e.parentNode && e.parentNode.nodeName === 'filter'; a !== void 0 && (e.scrollTop = a), l !== void 0 && (e.scrollLeft = l), o !== void 0 && (e.textContent = o); for (let c in i) if (!!i.hasOwnProperty(c)) { var n = c.indexOf('--') === 0, r = Ug(c, i[c], n); c === 'float' && (c = 'cssFloat'), n ? e.style.setProperty(c, r) : e.style[c] = r; } for (let c in u) { const d = s ? c : Af[c] || (Af[c] = c.replace(/([A-Z])/g, h => '-' + h.toLowerCase())); typeof e.getAttribute(d) != 'undefined' && e.setAttribute(d, u[c]); } return; } else return !1; }, e => e); const Wg = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', 'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan'], Gg = lg(gg, !1), yo = Gg(Wg), ta = {}; async function Qg(e, t = {}) { const n = `https://${GetParentResourceName()}/${e}`; return (await fetch(n, { method: 'post', headers: { 'Content-type': 'application/json; charset=UTF-8' }, body: JSON.stringify(t) })).json(); } function qg(e, t) { if (ta[e]) { console.log(`[Nui] Event ${e} is already declared.`); return; } ta[e] = t; } function Yg(e, t) { window.dispatchEvent(new MessageEvent('message', { data: { type: e, payload: t } })); } const ye = { post: Qg, onEvent: qg, emitEvent: Yg }, Kg = () => (window.addEventListener('message', e => { !ta[e.data.type] || ta[e.data.type](e.data.payload); }), null), Ff = { model: 'mp_m_freemode_01', tattoos: {}, components: [{ component_id: 0, drawable: 15, texture: 0 }, { component_id: 1, drawable: 15, texture: 0 }, { component_id: 2, drawable: 15, texture: 0 }, { component_id: 3, drawable: 15, texture: 0 }, { component_id: 4, drawable: 15, texture: 0 }, { component_id: 5, drawable: 15, texture: 0 }, { component_id: 6, drawable: 15, texture: 0 }, { component_id: 7, drawable: 15, texture: 0 }, { component_id: 8, drawable: 15, texture: 0 }, { component_id: 9, drawable: 15, texture: 0 }, { component_id: 10, drawable: 15, texture: 0 }, { component_id: 11, drawable: 15, texture: 0 }], props: [{ prop_id: 0, drawable: -1, texture: 0 }, { prop_id: 1, drawable: -1, texture: 0 }, { prop_id: 2, drawable: -1, texture: 0 }, { prop_id: 6, drawable: -1, texture: 0 }, { prop_id: 7, drawable: -1, texture: 0 }], headBlend: { shapeFirst: 0, shapeSecond: 0, shapeMix: 0, skinFirst: 0, skinSecond: 0, skinMix: 0 }, faceFeatures: { noseWidth: 0, nosePeakHigh: 0, nosePeakSize: 0, noseBoneHigh: 0, nosePeakLowering: 0, noseBoneTwist: 0, eyeBrownHigh: 0, eyeBrownForward: 0, cheeksBoneHigh: 0, cheeksBoneWidth: 0, cheeksWidth: 0, eyesOpening: 0, lipsThickness: 0, jawBoneWidth: 0, jawBoneBackSize: 0, chinBoneLowering: 0, chinBoneLenght: 0, chinBoneSize: 0, chinHole: 0, neckThickness: 0 }, headOverlays: { blemishes: { style: 0, opacity: 0 }, beard: { style: 0, opacity: 0, color: 0 }, eyebrows: { style: 0, opacity: 0, color: 0 }, ageing: { style: 0, opacity: 0 }, makeUp: { style: 0, opacity: 0, color: 0 }, blush: { style: 0, opacity: 0, color: 0 }, complexion: { style: 0, opacity: 0 }, sunDamage: { style: 0, opacity: 0 }, lipstick: { style: 0, opacity: 0, color: 0 }, moleAndFreckles: { style: 0, opacity: 0 }, chestHair: { style: 0, opacity: 0, color: 0 }, bodyBlemishes: { style: 0, opacity: 0 } }, hair: { style: 0, color: 0, highlight: 0 }, eyeColor: 0 }, Xg = { ped: { model: { items: ['mp_m_freemode_01', 'mp_f_freemode_01', 'player_zero'] } }, tattoos: { items: {} }, components: [{ component_id: 0, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 1, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 2, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 3, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 4, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 5, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 6, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 7, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 8, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 9, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 10, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 11, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }], props: [{ prop_id: 0, drawable: { min: -1, max: 255 }, texture: { min: 0, max: 255 } }, { prop_id: 1, drawable: { min: -1, max: 255 }, texture: { min: 0, max: 255 } }, { prop_id: 2, drawable: { min: -1, max: 255 }, texture: { min: 0, max: 255 } }, { prop_id: 6, drawable: { min: -1, max: 255 }, texture: { min: 0, max: 255 } }, { prop_id: 7, drawable: { min: -1, max: 255 }, texture: { min: 0, max: 255 } }], headBlend: { shapeFirst: { min: 0, max: 45 }, shapeSecond: { min: 0, max: 45 }, skinFirst: { min: 0, max: 45 }, skinSecond: { min: 0, max: 45 }, shapeMix: { min: 0, max: 10, factor: .1 }, skinMix: { min: 0, max: 10, factor: .1 } }, faceFeatures: { noseWidth: { min: -10, max: 10, factor: .1 }, nosePeakHigh: { min: -10, max: 10, factor: .1 }, nosePeakSize: { min: -10, max: 10, factor: .1 }, noseBoneHigh: { min: -10, max: 10, factor: .1 }, nosePeakLowering: { min: -10, max: 10, factor: .1 }, noseBoneTwist: { min: -10, max: 10, factor: .1 }, eyeBrownHigh: { min: -10, max: 10, factor: .1 }, eyeBrownForward: { min: -10, max: 10, factor: .1 }, cheeksBoneHigh: { min: -10, max: 10, factor: .1 }, cheeksBoneWidth: { min: -10, max: 10, factor: .1 }, cheeksWidth: { min: -10, max: 10, factor: .1 }, eyesOpening: { min: -10, max: 10, factor: .1 }, lipsThickness: { min: -10, max: 10, factor: .1 }, jawBoneWidth: { min: -10, max: 10, factor: .1 }, jawBoneBackSize: { min: -10, max: 10, factor: .1 }, chinBoneLowering: { min: -10, max: 10, factor: .1 }, chinBoneLenght: { min: -10, max: 10, factor: .1 }, chinBoneSize: { min: -10, max: 10, factor: .1 }, chinHole: { min: -10, max: 10, factor: .1 }, neckThickness: { min: -10, max: 10, factor: .1 } }, headOverlays: { blemishes: { style: { min: 0, max: 23 }, opacity: { min: 0, max: 10, factor: .1 } }, beard: { style: { min: 0, max: 28 }, opacity: { min: 0, max: 10, factor: .1 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, eyebrows: { style: { min: 0, max: 33 }, opacity: { min: 0, max: 10, factor: .1 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, ageing: { style: { min: 0, max: 14 }, opacity: { min: 0, max: 10, factor: .1 } }, makeUp: { style: { min: 0, max: 74 }, opacity: { min: 0, max: 10, factor: .1 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, blush: { style: { min: 0, max: 6 }, opacity: { min: 0, max: 10, factor: .1 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, complexion: { style: { min: 0, max: 11 }, opacity: { min: 0, max: 10, factor: .1 } }, sunDamage: { style: { min: 0, max: 10 }, opacity: { min: 0, max: 10, factor: .1 } }, lipstick: { style: { min: 0, max: 9 }, opacity: { min: 0, max: 10, factor: .1 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, moleAndFreckles: { style: { min: 0, max: 17 }, opacity: { min: 0, max: 10, factor: .1 } }, chestHair: { style: { min: 0, max: 16 }, opacity: { min: 0, max: 10, factor: .1 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, bodyBlemishes: { style: { min: 0, max: 11 }, opacity: { min: 0, max: 10, factor: .1 } } }, hair: { style: { min: 0, max: 255 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] }, highlight: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, eyeColor: { min: 0, max: 30 } }, El = { head: !1, body: !1, bottom: !1 }, bl = { left: !1, right: !1 }, Zg = { head: !1, body: !1, bottom: !1 }; var Nh = { color: void 0, size: void 0, className: void 0, style: void 0, attr: void 0 }, _f = je.createContext && je.createContext(Nh), wn = globalThis && globalThis.__assign || function() { return wn = Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) { t = arguments[n]; for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); } return e; }, wn.apply(this, arguments); }, Jg = globalThis && globalThis.__rest || function(e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (e != null && typeof Object.getOwnPropertySymbols == 'function') for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]); return n; }; function zh(e) { return e && e.map(function(t, n) { return je.createElement(t.tag, wn({ key: n }, t.attr), zh(t.child)); }); } function We(e) { return function(t) { return je.createElement(ey, wn({ attr: wn({}, e.attr) }, t), zh(e.child)); }; } function ey(e) { var t = function(n) { var r = e.attr, i = e.size, o = e.title, a = Jg(e, ['attr', 'size', 'title']), l = i || n.size || '1em', u; return n.className && (u = n.className), e.className && (u = (u ? u + ' ' : '') + e.className), je.createElement('svg', wn({ stroke: 'currentColor', fill: 'currentColor', strokeWidth: '0' }, n.attr, r, a, { className: u, style: wn(wn({ color: e.color || n.color }, n.style), e.style), height: l, width: l, xmlns: 'http://www.w3.org/2000/svg' }), o && je.createElement('title', null, o), e.children); }; return _f !== void 0 ? je.createElement(_f.Consumer, null, function(n) { return t(n); }) : t(Nh); } function ty(e) { return We({ tag: 'svg', attr: { viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '2', strokeLinecap: 'round', strokeLinejoin: 'round' }, child: [{ tag: 'polyline', attr: { points: '6 9 12 15 18 9' } }] })(e); } function ny(e) { return We({ tag: 'svg', attr: { viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '2', strokeLinecap: 'round', strokeLinejoin: 'round' }, child: [{ tag: 'polyline', attr: { points: '15 18 9 12 15 6' } }] })(e); } function ry(e) { return We({ tag: 'svg', attr: { viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '2', strokeLinecap: 'round', strokeLinejoin: 'round' }, child: [{ tag: 'polyline', attr: { points: '9 18 15 12 9 6' } }] })(e); } function iy(e) { return We({ tag: 'svg', attr: { viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '2', strokeLinecap: 'round', strokeLinejoin: 'round' }, child: [{ tag: 'polyline', attr: { points: '18 15 12 9 6 15' } }] })(e); } const oy = Fe.div` +let ei = { animationIterationCount: !0, borderImageOutset: !0, borderImageSlice: !0, borderImageWidth: !0, boxFlex: !0, boxFlexGroup: !0, boxOrdinalGroup: !0, columnCount: !0, columns: !0, flex: !0, flexGrow: !0, flexPositive: !0, flexShrink: !0, flexNegative: !0, flexOrder: !0, gridRow: !0, gridRowEnd: !0, gridRowSpan: !0, gridRowStart: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnSpan: !0, gridColumnStart: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0 }; const jg = (e, t) => e + t.charAt(0).toUpperCase() + t.substring(1), Hg = ['Webkit', 'Ms', 'Moz', 'O']; +ei = Object.keys(ei).reduce((e, t) => (Hg.forEach(n => e[jg(n, t)] = e[t]), e), ei); +function Ug(e, t, n) { + return t == null || typeof t == 'boolean' || t === '' ? '' : !n && typeof t == 'number' && t !== 0 && !(Object.prototype.hasOwnProperty.call(ei, e) && ei[e]) ? t + 'px' : ('' + t).trim(); +} + +const Af = {}; +hg(e => new Fg(e)); +dg(Bg); fg(Jo); +cg((e, t) => { + if (e.nodeType && e.setAttribute !== void 0) { + const i = t.style, o = t.children, a = t.scrollTop, l = t.scrollLeft, u = Tt(t, ['style', 'children', 'scrollTop', 'scrollLeft']), s = e.nodeName === 'filter' || e.parentNode && e.parentNode.nodeName === 'filter'; + a !== void 0 && (e.scrollTop = a), l !== void 0 && (e.scrollLeft = l), o !== void 0 && (e.textContent = o); + for (let c in i) { + if (Object.prototype.hasOwnProperty.call(i, c)) { + const n = c.indexOf('--') === 0, r = Ug(c, i[c], n); + c === 'float' && (c = 'cssFloat'), n ? e.style.setProperty(c, r) : e.style[c] = r; + } + } for (const c in u) { + const d = s ? c : Af[c] || (Af[c] = c.replace(/([A-Z])/g, h => '-' + h.toLowerCase())); + typeof e.getAttribute(d) != 'undefined' && e.setAttribute(d, u[c]); + } return; + } + else { + return !1; + } +}, e => e); + +const Wg = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', 'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan'], Gg = lg(gg, !1), yo = Gg(Wg), ta = {}; +async function Qg(e, t = {}) { + const n = `https://${GetParentResourceName()}/${e}`; + return (await fetch(n, { method: 'post', headers: { 'Content-type': 'application/json; charset=UTF-8' }, body: JSON.stringify(t) })).json(); +} + +function qg(e, t) { + if (ta[e]) { + console.log(`[Nui] Event ${e} is already declared.`); + return; + } ta[e] = t; +} + +function Yg(e, t) { + window.dispatchEvent(new MessageEvent('message', { data: { type: e, payload: t } })); +} + +const ye = { post: Qg, onEvent: qg, emitEvent: Yg }, Kg = () => (window.addEventListener('message', e => { !ta[e.data.type] || ta[e.data.type](e.data.payload); }), null), Ff = { model: 'mp_m_freemode_01', tattoos: {}, components: [{ component_id: 0, drawable: 15, texture: 0 }, { component_id: 1, drawable: 15, texture: 0 }, { component_id: 2, drawable: 15, texture: 0 }, { component_id: 3, drawable: 15, texture: 0 }, { component_id: 4, drawable: 15, texture: 0 }, { component_id: 5, drawable: 15, texture: 0 }, { component_id: 6, drawable: 15, texture: 0 }, { component_id: 7, drawable: 15, texture: 0 }, { component_id: 8, drawable: 15, texture: 0 }, { component_id: 9, drawable: 15, texture: 0 }, { component_id: 10, drawable: 15, texture: 0 }, { component_id: 11, drawable: 15, texture: 0 }], props: [{ prop_id: 0, drawable: -1, texture: 0 }, { prop_id: 1, drawable: -1, texture: 0 }, { prop_id: 2, drawable: -1, texture: 0 }, { prop_id: 6, drawable: -1, texture: 0 }, { prop_id: 7, drawable: -1, texture: 0 }], headBlend: { shapeFirst: 0, shapeSecond: 0, shapeMix: 0, skinFirst: 0, skinSecond: 0, skinMix: 0 }, faceFeatures: { noseWidth: 0, nosePeakHigh: 0, nosePeakSize: 0, noseBoneHigh: 0, nosePeakLowering: 0, noseBoneTwist: 0, eyeBrownHigh: 0, eyeBrownForward: 0, cheeksBoneHigh: 0, cheeksBoneWidth: 0, cheeksWidth: 0, eyesOpening: 0, lipsThickness: 0, jawBoneWidth: 0, jawBoneBackSize: 0, chinBoneLowering: 0, chinBoneLenght: 0, chinBoneSize: 0, chinHole: 0, neckThickness: 0 }, headOverlays: { blemishes: { style: 0, opacity: 0 }, beard: { style: 0, opacity: 0, color: 0 }, eyebrows: { style: 0, opacity: 0, color: 0 }, ageing: { style: 0, opacity: 0 }, makeUp: { style: 0, opacity: 0, color: 0 }, blush: { style: 0, opacity: 0, color: 0 }, complexion: { style: 0, opacity: 0 }, sunDamage: { style: 0, opacity: 0 }, lipstick: { style: 0, opacity: 0, color: 0 }, moleAndFreckles: { style: 0, opacity: 0 }, chestHair: { style: 0, opacity: 0, color: 0 }, bodyBlemishes: { style: 0, opacity: 0 } }, hair: { style: 0, color: 0, highlight: 0 }, eyeColor: 0 }, Xg = { ped: { model: { items: ['mp_m_freemode_01', 'mp_f_freemode_01', 'player_zero'] } }, tattoos: { items: {} }, components: [{ component_id: 0, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 1, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 2, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 3, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 4, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 5, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 6, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 7, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 8, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 9, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 10, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }, { component_id: 11, drawable: { min: 0, max: 255 }, texture: { min: 0, max: 255 } }], props: [{ prop_id: 0, drawable: { min: -1, max: 255 }, texture: { min: 0, max: 255 } }, { prop_id: 1, drawable: { min: -1, max: 255 }, texture: { min: 0, max: 255 } }, { prop_id: 2, drawable: { min: -1, max: 255 }, texture: { min: 0, max: 255 } }, { prop_id: 6, drawable: { min: -1, max: 255 }, texture: { min: 0, max: 255 } }, { prop_id: 7, drawable: { min: -1, max: 255 }, texture: { min: 0, max: 255 } }], headBlend: { shapeFirst: { min: 0, max: 45 }, shapeSecond: { min: 0, max: 45 }, skinFirst: { min: 0, max: 45 }, skinSecond: { min: 0, max: 45 }, shapeMix: { min: 0, max: 10, factor: .1 }, skinMix: { min: 0, max: 10, factor: .1 } }, faceFeatures: { noseWidth: { min: -10, max: 10, factor: .1 }, nosePeakHigh: { min: -10, max: 10, factor: .1 }, nosePeakSize: { min: -10, max: 10, factor: .1 }, noseBoneHigh: { min: -10, max: 10, factor: .1 }, nosePeakLowering: { min: -10, max: 10, factor: .1 }, noseBoneTwist: { min: -10, max: 10, factor: .1 }, eyeBrownHigh: { min: -10, max: 10, factor: .1 }, eyeBrownForward: { min: -10, max: 10, factor: .1 }, cheeksBoneHigh: { min: -10, max: 10, factor: .1 }, cheeksBoneWidth: { min: -10, max: 10, factor: .1 }, cheeksWidth: { min: -10, max: 10, factor: .1 }, eyesOpening: { min: -10, max: 10, factor: .1 }, lipsThickness: { min: -10, max: 10, factor: .1 }, jawBoneWidth: { min: -10, max: 10, factor: .1 }, jawBoneBackSize: { min: -10, max: 10, factor: .1 }, chinBoneLowering: { min: -10, max: 10, factor: .1 }, chinBoneLenght: { min: -10, max: 10, factor: .1 }, chinBoneSize: { min: -10, max: 10, factor: .1 }, chinHole: { min: -10, max: 10, factor: .1 }, neckThickness: { min: -10, max: 10, factor: .1 } }, headOverlays: { blemishes: { style: { min: 0, max: 23 }, opacity: { min: 0, max: 10, factor: .1 } }, beard: { style: { min: 0, max: 28 }, opacity: { min: 0, max: 10, factor: .1 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, eyebrows: { style: { min: 0, max: 33 }, opacity: { min: 0, max: 10, factor: .1 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, ageing: { style: { min: 0, max: 14 }, opacity: { min: 0, max: 10, factor: .1 } }, makeUp: { style: { min: 0, max: 74 }, opacity: { min: 0, max: 10, factor: .1 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, blush: { style: { min: 0, max: 6 }, opacity: { min: 0, max: 10, factor: .1 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, complexion: { style: { min: 0, max: 11 }, opacity: { min: 0, max: 10, factor: .1 } }, sunDamage: { style: { min: 0, max: 10 }, opacity: { min: 0, max: 10, factor: .1 } }, lipstick: { style: { min: 0, max: 9 }, opacity: { min: 0, max: 10, factor: .1 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, moleAndFreckles: { style: { min: 0, max: 17 }, opacity: { min: 0, max: 10, factor: .1 } }, chestHair: { style: { min: 0, max: 16 }, opacity: { min: 0, max: 10, factor: .1 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, bodyBlemishes: { style: { min: 0, max: 11 }, opacity: { min: 0, max: 10, factor: .1 } } }, hair: { style: { min: 0, max: 255 }, color: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] }, highlight: { items: [[255, 0, 0], [0, 255, 0], [0, 0, 255]] } }, eyeColor: { min: 0, max: 30 } }, El = { head: !1, body: !1, bottom: !1 }, bl = { left: !1, right: !1 }, Zg = { head: !1, body: !1, bottom: !1 }; var Nh = { color: void 0, size: void 0, className: void 0, style: void 0, attr: void 0 }, _f = je.createContext && je.createContext(Nh), wn = globalThis && globalThis.__assign || function() { return wn = Object.assign || function(e) { for (var t, n = 1, r = arguments.length; n < r; n++) { t = arguments[n]; for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); } return e; }, wn.apply(this, arguments); }, Jg = globalThis && globalThis.__rest || function(e, t) { var n = {}; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]); if (e != null && typeof Object.getOwnPropertySymbols == 'function') for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]); return n; }; function zh(e) { return e && e.map(function(t, n) { return je.createElement(t.tag, wn({ key: n }, t.attr), zh(t.child)); }); } function We(e) { return function(t) { return je.createElement(ey, wn({ attr: wn({}, e.attr) }, t), zh(e.child)); }; } function ey(e) { var t = function(n) { var r = e.attr, i = e.size, o = e.title, a = Jg(e, ['attr', 'size', 'title']), l = i || n.size || '1em', u; return n.className && (u = n.className), e.className && (u = (u ? u + ' ' : '') + e.className), je.createElement('svg', wn({ stroke: 'currentColor', fill: 'currentColor', strokeWidth: '0' }, n.attr, r, a, { className: u, style: wn(wn({ color: e.color || n.color }, n.style), e.style), height: l, width: l, xmlns: 'http://www.w3.org/2000/svg' }), o && je.createElement('title', null, o), e.children); }; return _f !== void 0 ? je.createElement(_f.Consumer, null, function(n) { return t(n); }) : t(Nh); } function ty(e) { return We({ tag: 'svg', attr: { viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '2', strokeLinecap: 'round', strokeLinejoin: 'round' }, child: [{ tag: 'polyline', attr: { points: '6 9 12 15 18 9' } }] })(e); } function ny(e) { return We({ tag: 'svg', attr: { viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '2', strokeLinecap: 'round', strokeLinejoin: 'round' }, child: [{ tag: 'polyline', attr: { points: '15 18 9 12 15 6' } }] })(e); } function ry(e) { return We({ tag: 'svg', attr: { viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '2', strokeLinecap: 'round', strokeLinejoin: 'round' }, child: [{ tag: 'polyline', attr: { points: '9 18 15 12 9 6' } }] })(e); } function iy(e) { return We({ tag: 'svg', attr: { viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '2', strokeLinecap: 'round', strokeLinejoin: 'round' }, child: [{ tag: 'polyline', attr: { points: '18 15 12 9 6 15' } }] })(e); } const oy = Fe.div` width: 100%; display: flex;