// timestamp created: 1731664001191 const location_currency = 'USD'; const display_currency = 'USD'; const format = 'money_format'; const money_format = '${{amount}}'; const money_with_currency_format = '${{amount}} USD'; const shop_currency = 'USD'; const superscript = true; const tooltip_currency = 'disabled'; var Currency={rates:{USD:1,EUR:1.05652,GBP:1.27071,CAD:.714629,ARS:.00100169,AUD:.649314,BRL:.172195,CLP:.00102038,CNY:.138427,CYP:.397899,CZK:.0417794,DKK:.141643,EEK:.0706676,HKD:.128511,HUF:.00259007,ISK:.00717248,INR:.0118442,JMD:.00628487,JPY:.0064338,LVL:1.57329,LTL:.320236,MTL:.293496,MXN:.0487016,NZD:.588263,NOK:.0897985,PLN:.243388,SGD:.744626,SKK:21.5517,SIT:175.439,ZAR:.0548435,KRW:712091e-9,SEK:.0910306,CHF:1.1289,TWD:.0308128,UYU:.0235376,MYR:.2246,BSD:1,CRC:.00195353,RON:.212309,PHP:.0170058,AED:.272294,VEB:222239e-15,IDR:630214e-10,TRY:.0290897,THB:.0286175,TTD:.147086,ILS:.266482,SYP:768555e-10,XCD:.369511,COP:223304e-9,RUB:.0101529,HRK:.140224,KZT:.0020238,TZS:37543e-8,XPT:936.336,SAR:.266667,NIO:.0271774,LAK:455657e-10,OMR:2.59736,AMD:.00257978,CDF:349675e-9,KPW:.00111109,SPL:6,KES:.00772813,ZWD:.00276319,KHR:246508e-9,MVR:.0648116,GTQ:.129377,BZD:.494419,BYR:305793e-10,LYD:.20576,DZD:.00745892,BIF:339689e-9,GIP:1.27071,BOB:.143936,XOF:.00161065,STD:430069e-10,NGN:59566e-8,PGK:.250513,ERN:.0666667,MWK:575967e-9,CUP:.0415695,GMD:.0140119,CVE:.00958118,BTN:.0118442,XAF:.00161065,UGX:27225e-8,MAD:.100419,MNT:292291e-9,LSL:.0548435,XAG:30.275,TOP:.419183,SHP:1.27071,RSD:.00903238,HTG:.00758031,MGA:214984e-9,MZN:.0156487,FKP:1.27071,BWP:.0747637,HNL:.0396779,PYG:127504e-9,JEP:1.27071,EGP:.0202727,LBP:111457e-10,ANG:.555211,WST:.360439,TVD:.649314,GYD:.00477781,GGP:1.27071,NPR:.00739914,KMF:.00214753,IRR:237518e-10,XPD:935.477,SRD:.0280605,TMM:571825e-10,SZL:.0548435,MOP:.124768,BMD:1,XPF:.00885361,ETB:.00817788,JOD:1.41044,MDL:.0555796,MRO:.00250741,YER:.00399835,BAM:.540189,AWG:.558659,PEN:.263435,VEF:222239e-12,SLL:442793e-10,KYD:1.20878,AOA:.00108685,TND:.317748,TJS:.0937942,SCR:.0732129,LKR:.00341475,DJF:.00562014,GNF:116102e-9,VUV:.00822124,SDG:.00166288,IMP:1.27071,GEL:.366309,FJD:.439935,DOP:.0165601,XDR:1.31415,MUR:.0213294,MMK:476437e-9,LRD:.00531516,BBD:.5,ZMK:366075e-10,XAU:2571.26,VND:393869e-10,UAH:.0241632,TMT:.285913,IQD:763044e-9,BGN:.540189,KGS:.0116009,RWF:731154e-9,BHD:2.65957,UZS:780073e-10,PKR:.00359762,MKD:.0171692,AFN:.0147169,NAD:.0548435,BDT:.00835617,AZN:.588236,SOS:.00174484,QAR:.274725,PAB:1,CUC:1,SVC:.114286,SBD:.119327,ALL:.0107976,BND:.744626,KWD:3.25024,GHS:.0617958,ZMW:.0366075,XBT:90611.3,NTD:.0337206,BYN:.305793,CNH:.138067,MRU:.0250741,STN:.0430069,VES:.0222239,MXV:.403599,VED:.0222239,SLE:.0442793},convert:function(amount,from,to){return amount*this.rates[from]/this.rates[to]}}; //# sourceMappingURL=/s/javascripts/currencies.js.map?ts=1731663000006 const additionalRates = {"ADA":0.595201212794392,"AVAX":32.4450987955439,"BCH":424.128291362432,"BNB":623.73863289873,"XBT":89199.5224023772,"DOGE":0.376853638293409,"ETC":22.3354057457826,"ETH":3104.17638409172,"LTC":82.4725334529764,"SOL":213.068036154274,"XRP":0.804301699763031}; Currency.rates = { ...Currency.rates, ...additionalRates }; !function(){const o=function(o){var t;(t=o).Zebra_Tooltips=function(o,r){let e,a,n,m;const _={animation_speed:250,animation_offset:20,close_on_click:!0,content:!(this.version="2.1.0"),hide_delay:100,keep_visible:!0,max_width:250,opacity:".95",position:"center",prerender:!1,show_delay:100,vertical_alignment:"above",vertical_offset:0,onBeforeHide:null,onHide:null,onBeforeShow:null,onShow:null},i=function(o){let r,_,i,y,l,f,s,h,p,d,w,T,b,C,D=o.data("Zebra_Tooltip");const A=t(window);return D.tooltip||(r=t("
",{class:"Zebra_Tooltip",css:{opacity:0,display:"block"}}),_=t("
",{class:"Zebra_Tooltip_Message",css:{maxWidth:D.max_width}}).html(D.content).appendTo(r),i=t("
",{class:"Zebra_Tooltip_Arrow"}).appendTo(r),y=t("
").addClass("Zebra_Tooltip_Arrow_Border").appendTo(i),t("
").appendTo(i),D.keep_visible&&(r.on("mouseleave"+(D.close_on_click?" click":""),()=>{u(o)}),r.on("mouseenter",()=>{c(o)})),r.appendTo("body"),D.sticky&&_.addClass("Zebra_Tooltip_Has_Close"),l=r.outerWidth(),f=r.outerHeight(),s=y.outerWidth(),h=y.outerHeight(),p=_.outerWidth(),d=_.outerHeight(),D={tooltip:r,tooltip_width:l,tooltip_height:f+h/2,message:_,arrow_container:i,arrow_width:s,arrow_height:h,arrow:y},r.css({width:D.tooltip_width,height:D.tooltip_height}),D.tooltip_width+=_.outerWidth()-p,D.tooltip_height+=_.outerHeight()-d,r.css({width:D.tooltip_width,height:D.tooltip_height,display:"none"}),D=t.extend(o.data("Zebra_Tooltip"),D),o.data("Zebra_Tooltip",D)),D.sticky&&!D.close&&(t("",{class:"Zebra_Tooltip_Close",href:"javascript:void(0)"}).html("×").on("click",t=>{t.preventDefault();const r=o.data("Zebra_Tooltip");r.sticky=!1,o.data("Zebra_Tooltip",r),u(o)}).appendTo(D.message),D.close=!0,D=t.extend(o.data("Zebra_Tooltip"),D),o.data("Zebra_Tooltip",D)),e=A.width(),a=A.height(),w=o.offset(),t.extend(D,{element_left:w.left,element_top:w.top,element_width:o.outerWidth(),element_height:o.outerHeight()}),m=A.scrollTop(),n=A.scrollLeft(),T="left"===D.position?D.element_left-D.tooltip_width+D.arrow_width:"right"===D.position?D.element_left+D.element_width-D.arrow_width:D.element_left+(D.element_width-D.tooltip_width)/2,b=D.element_top-D.tooltip_height,C="left"===D.position?D.tooltip_width-D.arrow_width-D.arrow_width/2:"right"===D.position?D.arrow_width/2:(D.tooltip_width-D.arrow_width)/2,T+D.tooltip_width>e+n&&(C-=e+n-(T+D.tooltip_width)-6,T=e+n-D.tooltip_width-6,C+D.arrow_width>D.tooltip_width-6&&(C=D.tooltip_width-6-D.arrow_width),T+C+D.arrow_width/2D.element_left+D.element_width&&(C=-1e4)),D.message.css("margin-top",""),D.arrow_container.removeClass("Zebra_Tooltip_Arrow_Top").addClass("Zebra_Tooltip_Arrow_Bottom"),b{(t=i(o)).onBeforeShow&&"function"==typeof t.onBeforeShow&&!1===t.onBeforeShow(o,t.tooltip)||("block"!==t.tooltip.css("display")&&t.tooltip.css({top:t.tooltip_top+t.animation_offset}),t.tooltip.css("display","block"),t.tooltip.stop(),t.tooltip.animate({top:t.tooltip_top,opacity:t.opacity},t.animation_speed,()=>{t.onShow&&"function"==typeof t.onShow&&t.onShow(o,t.tooltip)}))},t.show_delay))},u=function(o){const r=o.data("Zebra_Tooltip");clearTimeout(r.hide_timeout),r.sticky||(clearTimeout(r.show_timeout),r.hide_timeout=setTimeout(()=>{if(r.tooltip){if(r.onBeforeHide&&"function"==typeof r.onBeforeHide&&!1===r.onBeforeHide(o,r.tooltip))return;r.close=!1,r.destroy&&(r.muted=!0),o.data("Zebra_Tooltip",r),t("a.Zebra_Tooltip_Close",r.tooltip).remove(),r.tooltip.stop(),r.tooltip.animate({opacity:0,top:r.tooltip_top+r.animation_offset},r.animation_speed,(function(){t(this).css("display","none"),r.onHide&&"function"==typeof r.onHide&&r.onHide(o,r.tooltip)}))}},r.hide_delay))};this.hide=function(o,r){o.each((function(){const o=t(this),e=o.data("Zebra_Tooltip");e&&(e.sticky=!1,r&&(e.destroy=!0),o.data("Zebra_Tooltip",e),u(o))}))},this.show=function(o,r){o.each((function(){const o=t(this),e=o.data("Zebra_Tooltip");e&&(e.sticky=!0,e.muted=!1,r&&(e.destroy=!0),o.data("Zebra_Tooltip",e),c(o))}))},o.each((function(){let o;const e=t(this),a=e.attr("title"),n=e.data();let m={};for(o in n)0===o.indexOf("ztt_")&&(o=o.replace(/^ztt\_/,""),void 0!==_[o]&&(m[o]=n["ztt_"+o]));m=t.extend(_,r,m),a&&(m.content=e.attr("title")),void 0!==m.content&&""!==m.content.trim()&&(e.on({mouseenter(){a&&t(this).attr("title",""),c(e)},mouseleave(){u(e),a&&t(this).attr("title",a)}}),e.data("Zebra_Tooltip",t.extend({tooltip:null,show_timeout:null,hide_timeout:null,sticky:!1,destroy:!1,muted:!1},m)),m.prerender&&i(e))}))};const r=o("");function e(){"location"===Currency.display_currency?"location"===Currency.tooltip_currency?Currency.convertAll(Currency.shop_currency,Currency.location_currency,Currency.format,Currency.location_currency):Currency.convertAll(Currency.shop_currency,Currency.location_currency,Currency.format,Currency.tooltip_currency):"location"===Currency.tooltip_currency?Currency.convertAll(Currency.shop_currency,Currency.display_currency,Currency.format,Currency.location_currency):Currency.convertAll(Currency.shop_currency,Currency.display_currency,Currency.format,Currency.tooltip_currency),new o.Zebra_Tooltips(o(".zebra_tooltips"))}o("html > head").append(r),o.cookie=function(t,r,e){if(void 0===r){let r=null;if(document.cookie&&""!=document.cookie){const e=document.cookie.split(";");for(let a=0;a${i}`:m+i}if("number"==typeof e)a=i(o,e,void 0,void 0,!0);else switch(m.match(n)[1]){case"amount":a=i(o,2);break;case"amount_no_decimals":a=i(o,0);break;case"amount_with_comma_separator":a=i(o,2,".",",");break;case"amount_no_decimals_with_comma_separator":a=i(o,0,".",",")}return m.replace(n,a)},Currency.convertAll=function(t,r,e,a){function n(t,r,a,n){if(o(t).attr(n)!==a){if(o(t).attr(`${n}-${a}`))o(t).html(o(t).attr(`${n}-${a}`));else{let _=0,i=Currency.moneyFormats[r][e]||"{{amount}}";const c=Currency.moneyFormats[a][e]||"{{amount}}";let u;if(u=-1!==i.indexOf("amount_no_decimals")||-1!==Currency.money_format.indexOf("amount_no_decimals")?100*parseInt(o(t).html().replace(/[^0-9]/g,""),10):"JOD"===r||"KWD"==r||"BHD"==r?parseInt(o(t).html().replace(/[^0-9]/g,""),10)/10:parseInt(o(t).html().replace(/[^0-9]/g,""),10),o(t).attr(n+"-oldcurr",r),o(t).attr(n+"-oldcurramt",u),"data-currencytooltip"===n){let n,m;!!o(t).attr("data-currency-oldcurr")?(n=o(t).attr("data-currency-oldcurr"),m=o(t).attr("data-currency-oldcurramt"),i=Currency.moneyFormats[n][e]||"{{amount}}",u=-1!==i.indexOf("amount_no_decimals")?100*parseInt(m.replace(/[^0-9]/g,""),10):"JOD"===n||"KWD"==n||"BHD"==n?parseInt(m.replace(/[^0-9]/g,""),10)/10:parseInt(m.replace(/[^0-9]/g,""),10),_=Currency.convert(u,n,a)):_=Currency.convert(u,r,a)}else _=Currency.convert(u,r,a);var m=Currency.formatMoney(_,c,a);o(t).attr(`${n}-${a}`,m)}"data-currencytooltip"===n?(o(t).addClass("zebra_tooltips"),o(t).attr("title",m)):o(t).html(m),o(t).attr(n,a)}}o("span.money").each((o,e)=>{n(e,t,r,"data-currency")}),"disabled"!==a&&o("span.money").each((o,r)=>{n(r,t,a,"data-currencytooltip")})},e(),o("body").on("change",o=>{console.log(o),e()})};"undefined"==typeof jQuery||parseFloat(jQuery.fn.jquery)<1.7?function(o,t){const r=document.createElement("script");r.type="text/javascript",r.readyState?r.onreadystatechange=function(){"loaded"!=r.readyState&&"complete"!=r.readyState||(r.onreadystatechange=null,t())}:r.onload=function(){t()},r.src=o,document.getElementsByTagName("head")[0].appendChild(r)}("//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js",()=>{jQuery191=jQuery.noConflict(!0),o(jQuery191)}):o(jQuery)}();