!function(){"use strict";var r,e={7648:function(){var r=window.wp.blocks,e=(window.wp.i18n,window.wp.blockEditor);var n=JSON.parse('{"UU":"surecart/product-selected-price-scratch-amount"}');(0,r.registerBlockType)(n.UU,{edit:()=>{const r=(0,e.useBlockProps)({className:"sc-price__amount"});return React.createElement("span",r,(({amount:r,currency:e="usd"})=>{const n=((r,e)=>["BIF","BYR","CLP","DJF","GNF","ISK","JPY","KMF","KRW","PYG","RWF","UGX","VND","VUV","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XDR","XOF","XPD","XPF","XPT","XTS"].includes(e?.toUpperCase())?r:r/100)(parseFloat(r),e),t=r%1==0?0:2;return`${new Intl.NumberFormat(void 0,{style:"currency",currency:e,minimumFractionDigits:t}).format(parseFloat(n.toFixed(2)))}`})({amount:2e3,currency:scData?.currency}))}})}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var c=n[r]={exports:{}};return e[r](c,c.exports,t),c.exports}t.m=e,r=[],t.O=function(e,n,o,c){if(!n){var u=1/0;for(l=0;l<r.length;l++){n=r[l][0],o=r[l][1],c=r[l][2];for(var a=!0,i=0;i<n.length;i++)(!1&c||u>=c)&&Object.keys(t.O).every((function(r){return t.O[r](n[i])}))?n.splice(i--,1):(a=!1,c<u&&(u=c));if(a){r.splice(l--,1);var s=o();void 0!==s&&(e=s)}}return e}c=c||0;for(var l=r.length;l>0&&r[l-1][2]>c;l--)r[l]=r[l-1];r[l]=[n,o,c]},t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},function(){var r={4512:0,88:0};t.O.j=function(e){return 0===r[e]};var e=function(e,n){var o,c,u=n[0],a=n[1],i=n[2],s=0;if(u.some((function(e){return 0!==r[e]}))){for(o in a)t.o(a,o)&&(t.m[o]=a[o]);if(i)var l=i(t)}for(e&&e(n);s<u.length;s++)c=u[s],t.o(r,c)&&r[c]&&r[c][0](),r[c]=0;return t.O(l)},n=self.webpackChunk_surecart_blocks_next=self.webpackChunk_surecart_blocks_next||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}();var o=t.O(void 0,[88],(function(){return t(7648)}));o=t.O(o)}();