System.register([],(function(t){"use strict";return{execute:function(){t("o",n);var i=3840;function r(t){try{return new URL(t)}catch(t){return null}}function n(t,n){if(!t)return t;var u=r(t);if(!u)return t;if(u.hostname!=="res.cloudinary.com")return t;var e=u.pathname.split("/");var o=e.indexOf("upload");if(o===-1||e[o-1]!=="image"){return t}var a=e[o+1]||"";var h=a.split(",");if(h.some((function(t){return t.startsWith("f_")||t.startsWith("q_")}))){return t}var s=[];if(n===null||n===void 0?void 0:n.width){s.push("w_"+n.width)}if(n===null||n===void 0?void 0:n.height){s.push("h_"+n.height)}if(!(n===null||n===void 0?void 0:n.width)&&!(n===null||n===void 0?void 0:n.height)){s.push("c_limit","w_"+i)}s.push("f_auto","q_auto");e.splice(o+1,0,s.join(","));u.pathname=e.join("/");return u.toString()}}}}));