Current File : /home/kelaby89/muzza.fit/wp-content/plugins/woocommerce-payments/dist/multi-currency-analytics.js
(()=>{var e={};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),(()=>{var r;e.g.importScripts&&(r=e.g.location+"");var t=e.g.document;if(!r&&t&&(t.currentScript&&(r=t.currentScript.src),!r)){var o=t.getElementsByTagName("script");if(o.length)for(var c=o.length-1;c>-1&&(!r||!/^http(s?):/.test(r));)r=o[c--].src}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=r})(),e.p=window.wcpayAssets.url,(()=>{"use strict";const e=window.wp.hooks,r=window.wp.i18n,t=()=>{var e;return null!==(e=wcSettings.customerCurrencies.sort(((e,r)=>e.label<r.label?-1:1)))&&void 0!==e?e:[]};(0,e.addFilter)("woocommerce_admin_orders_report_advanced_filters","woocommerce-payments",(e=>(e.filters={currency:{labels:{add:(0,r.__)("Customer currency","woocommerce-payments"),remove:(0,r.__)("Remove customer currency filter","woocommerce-payments"),rule:(0,r.__)("Select a customer currency filter match","woocommerce-payments"),title:(0,r.__)("{{title}}Customer Currency{{/title}} {{rule /}} {{filter /}}","woocommerce-payments"),filter:(0,r.__)("Select a customer currency","woocommerce-payments")},rules:[{value:"is",label:(0,r.__)("Is","customer currency","woocommerce-payments")},{value:"is_not",label:(0,r.__)("Is Not","customer currency","woocommerce-payments")}],input:{component:"SelectControl",options:t()},allowMultiple:!0},...e.filters},e))),(0,e.addFilter)("woocommerce_admin_report_table","woocommerce-payments",(e=>{if(!e.items||!e.items.data||!e.items.data.length||"orders"!==e.endpoint)return e;const t=[...e.headers,{isNumeric:!1,isSortable:!1,key:"customer_currency",label:(0,r.__)("Customer currency","woocommerce-payments"),required:!1,screenReaderLabel:(0,r.__)("Customer currency","woocommerce-payments")}],o=e.rows.map(((r,t)=>{const o=e.items.data[t],c=o.hasOwnProperty("order_currency")?o.order_currency:"";return[...r,{display:c,value:c}]}));return e.rows=o,e.headers=t,e})),(0,e.addFilter)("woocommerce_admin_orders_report_filters","woocommerce-payments",(e=>[{label:(0,r.__)("Customer currency","woocommerce-payments"),param:"currency",staticParams:[],showFilters:()=>!0,filters:[{label:(0,r.__)("All currencies","woocommerce-payments"),value:"all"},...t()]},...e])),(0,e.addFilter)("woocommerce_admin_report_currency","woocommerce-payments",((e,{currency:r})=>{if(!r)return e;const t=Object.values(wcpaySettings.currencyData).find((e=>e.code===r));return t?{...e,symbol:t.symbol}:e}))})()})();
Page not found – Hello World !