import{registerIconLibrary}from"./library";const registerIcons=(o="")=>{var i,r,n;if(o||(null===(i=null===window||void 0===window?void 0:window.scIcons)||void 0===i?void 0:i.path)||(null===(n=null===(r=null===window||void 0===window?void 0:window.parent)||void 0===r?void 0:r.scIcons)||void 0===n?void 0:n.path))return registerIconLibrary("default",{resolver:function(i){var r,n,d;const e=o||(null===(n=null===(r=null===window||void 0===window?void 0:window.parent)||void 0===r?void 0:r.scIcons)||void 0===n?void 0:n.path)||(null===(d=null===window||void 0===window?void 0:window.scIcons)||void 0===d?void 0:d.path);return`${null==e?void 0:e.replace(/\/$/,"")}/${i}.svg`},mutator:function(o){return o.setAttribute("fill","none")}})};window.registerSureCartIconPath=registerIcons,window.registerSureCartIconLibrary=registerIconLibrary;export{registerIconLibrary};export default registerIcons;