"use strict";(globalThis.blocksyJsonP=globalThis.blocksyJsonP||[]).push([[688],{9688(e,n,t){t.r(n),t.d(n,{mount:function(){return c}});var i=t(2491),o=t.n(i);const c=function(e,{event:n}){if("pinterest"===e.dataset.network)return n.preventDefault(),void(window.PinUtils?window.PinUtils.pinAny():o()("https://assets.pinterest.com/js/pinit.js",function(){setTimeout(function(){window.PinUtils.pinAny()},300)}));if("clipboard"===e.dataset.network){n.preventDefault();const t=-1!==e.href.indexOf("wish_list_id")?e.href:window.location.href,i=e.querySelector(".ct-tooltip");let o="";if(i&&(o=i.innerHTML),navigator.clipboard&&window.isSecureContext)navigator.clipboard.writeText(t),i&&(i.innerHTML=ct_localizations.clipboard_copied);else{const e=document.createElement("textarea");e.value=t,e.style.position="absolute",e.style.left="-999999px",document.body.prepend(e),e.select();try{document.execCommand("copy")}catch(e){console.error(e),i&&(i.innerHTML=ct_localizations.clipboard_failed)}finally{e.remove(),i&&(i.innerHTML=ct_localizations.clipboard_copied)}}return void setTimeout(function(){i&&(i.innerText=o)},2e3)}e.hasClickListener||(e.hasClickListener=!0,e.addEventListener("click",function(n){n.preventDefault();const t=e.href;var i=null!=window.screenLeft?window.screenLeft:screen.left,o=null!=window.screenTop?window.screenTop:screen.top,c=(window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width)/2-300+i,r=(window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height)/2-250+o,l=window.open(t,"","scrollbars=yes, width=600, height=500, top="+r+", left="+c);window.focus&&l.focus()}))}}}]);