// timestamp created: 1737346374120
const location_currency = 'USD';
const display_currency = 'BNB';
const format = 'money_with_currency_format';
const money_format = '${{amount}}';
const money_with_currency_format = '${{amount}} CAD';
const shop_currency = 'CAD';
const superscript = false;
const tooltip_currency = 'location';
var Currency={rates:{USD:1,EUR:1.02954,GBP:1.22429,CAD:.698096,ARS:960876e-9,AUD:.623576,BRL:.166255,CLP:994015e-9,CNY:.136418,CYP:.397899,CZK:.0408011,DKK:.137982,EEK:.0706676,HKD:.128447,HUF:.00250353,ISK:.00710582,INR:.0115661,JMD:.00637639,JPY:.00640061,LVL:1.57329,LTL:.320236,MTL:.293496,MXN:.0488738,NZD:.562824,NOK:.0883425,PLN:.241689,SGD:.7319,SKK:21.5517,SIT:175.439,ZAR:.0532668,KRW:686852e-9,SEK:.0896919,CHF:1.09627,TWD:.0303686,UYU:.022735,MYR:.222262,BSD:1,CRC:.00198738,RON:.206949,PHP:.017083,AED:.272294,VEB:184158e-15,IDR:609844e-10,TRY:.0281735,THB:.0289352,TTD:.147211,ILS:.277078,SYP:769119e-10,XCD:.369584,COP:232559e-9,RUB:.00975392,HRK:.136644,KZT:.00188981,TZS:39805e-8,XPT:942.143,SAR:.266667,NIO:.0272131,LAK:458095e-10,OMR:2.5974,AMD:.00250065,CDF:351233e-9,KPW:.00111111,SPL:6,KES:.00772072,ZWD:.00276319,KHR:24783e-8,MVR:.064744,GTQ:.129581,BZD:.496604,BYR:305735e-10,LYD:.201705,DZD:.00736964,BIF:340185e-9,GIP:1.22429,BOB:.144602,XOF:.00156953,STD:417857e-10,NGN:643726e-9,PGK:.247304,ERN:.0666667,MWK:576725e-9,CUP:.0416829,GMD:.0139005,CVE:.00933657,BTN:.0115661,XAF:.00156953,UGX:270622e-9,MAD:.0992921,MNT:291602e-9,LSL:.0532668,XAG:30.6722,TOP:.411546,SHP:1.22429,RSD:.00879249,HTG:.00763208,MGA:212608e-9,MZN:.0156651,FKP:1.22429,BWP:.07115,HNL:.0393026,PYG:126851e-9,JEP:1.22429,EGP:.0198308,LBP:111559e-10,ANG:.556373,WST:.351758,TVD:.623576,GYD:.00478839,GGP:1.22429,NPR:.00722541,KMF:.00209271,IRR:238068e-10,XPD:964.945,SRD:.0285241,TMM:571313e-10,SZL:.0532668,MOP:.124706,BMD:1,XPF:.00862758,ETB:.00791155,JOD:1.41044,MDL:.0534933,MRO:.00250925,YER:.00401655,BAM:.526397,AWG:.558659,PEN:.265419,VEF:184323e-12,SLL:439609e-10,KYD:1.21036,AOA:.00108708,TND:.311464,TJS:.0915089,SCR:.0677221,LKR:.00338662,DJF:.00561921,GNF:115602e-9,VUV:.00802486,SDG:.00166481,IMP:1.22429,GEL:.352514,FJD:.427852,DOP:.0162744,XDR:1.29788,MUR:.0213456,MMK:476365e-9,LRD:.00528555,BBD:.5,ZMK:35908e-9,XAU:2694.95,VND:393625e-10,UAH:.0236476,TMT:.285657,IQD:764084e-9,BGN:.526397,KGS:.0114351,RWF:72107e-8,BHD:2.65957,UZS:770668e-10,PKR:.00358912,MKD:.0167372,AFN:.0135809,NAD:.0532668,BDT:.00821576,AZN:.588238,SOS:.00174943,QAR:.274725,PAB:1,CUC:1,SVC:.114286,SBD:.118083,ALL:.0104727,BND:.7319,KWD:3.24093,GHS:.0674942,ZMW:.035908,XBT:98200.4,NTD:.0337206,BYN:.305735,CNH:.136116,MRU:.0250925,STN:.0417857,VES:.0184323,MXV:.408657,VED:.0184323,SLE:.0439609},convert:function(amount,from,to){return amount*this.rates[from]/this.rates[to]}};
//# sourceMappingURL=/s/javascripts/currencies.js.map?ts=1737048600004
const additionalRates = {"ADA":1.13981817379298,"BNB":714.684636834125,"XBT":99852.8008610292,"ETH":3344.9323614447,"AVAX":39.9159904160085,"BCH":468.663593257391,"DOGE":0.38532341735781,"ETC":27.2978413280373,"LTC":129.038955271139,"SOL":214.657487794633,"XRP":3.37040036602487};
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)}();