mode?h.mode=g.mode:(f=b.parentNode.className,-1!==f.indexOf("content-fill")?h.mode="fill":-1!==f.indexOf("content-fit")&&(h.mode="fit"));
if("fit"===h.mode&&(f=g.e||b.getAttribute("data-alignment")||b.parentNode.getAttribute("data-alignment"))){h.e={top:-1!==f.indexOf("top"),left:-1!==f.indexOf("left"),h:-1!==f.indexOf("center"),right:-1!==f.indexOf("right"),bottom:-1!==f.indexOf("bottom")}
}if(g.load){h.load=g.load
}else{if(f=b.getAttribute("data-load")){h.load=f
}}if("undefined"!==typeof g.d){h.d=g.d
}els