!function(){const e="https://http2.mlstatic.com/storage/v1/mercadopago/woocommerce/scripts/v1",o=`${e}/super-token.bundle.min.css`,t=`${e}/super-token.bundle.min.js`,n="false";function s(e,o){const t="undefined"==typeof wc_mercadopago_woocommerce_scripts_params?{}:wc_mercadopago_woocommerce_scripts_params;return{value:e,message:o,plugin_version:t.plugin_version||"",platform:{name:"woocommerce",uri:t.theme||"",version:t.platform_version||"",url:window.location.href},details:{site_id:t.site_id||"",environment:"prod",cust_id:t.cust_id||""}}}function r(e,o,t){!function(e,o){const t=`https://api.mercadopago.com/ppcore/prod/monitor/v1/event/datadog/big/${e}`,n=JSON.stringify(o);try{if("undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon)return void navigator.sendBeacon(t,n);if("function"==typeof fetch)return void fetch(t,{method:"POST",body:n,headers:{"Content-Type":"application/json"},keepalive:!0})}catch(e){}}(e,s(o,t))}function a(e){if(document.getElementById(e.id))return;const o=document.createElement(e.tagName);var t,s;o.setAttribute("id",e.id),t=o,s=e.attributes,Object.keys(s).forEach((function(e){t[e]=s[e]})),o.onerror=function(){r(e.metricName,n,e.errorMessage)},o.onload=function(){r(e.metricName,"true",e.successMessage)},document.head.appendChild(o)}try{a({id:"wc_mercadopago_supertoken_bundle_css",tagName:"link",attributes:{rel:"stylesheet",href:o,media:"all"},metricName:"load_super_token_bundle_css",successMessage:"Super token bundle css loaded successfully",errorMessage:"Unable to load super token bundle css on page"}),a({id:"wc_mercadopago_supertoken_bundle_js",tagName:"script",attributes:{src:t,defer:!0},metricName:"load_super_token_bundle_js",successMessage:"Super token bundle js loaded successfully",errorMessage:"Unable to load super token bundle js on page"})}catch(e){const o=e&&e.message?e.message:"Unknown error";r("load_super_token_bundle",n,o)}}();