File "p-57535382.js"
Full Path: /home/tekvhqgl/public_html/dev2024_old_skip/wp-content/plugins/presto-player/dist/components/web-components/p-57535382.js
File size: 619 bytes
MIME-type: text/plain
Charset: utf-8
const e=(e,n,t)=>{var r=((e,n)=>{for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e})({minFontSize:-1/0,maxFontSize:1/0,container:e},t);const i=function(e){const t=n||1,i=function(){e.style.fontSize=Math.max(Math.min((r?.container?.clientWidth||0)/(10*t),parseFloat(r.maxFontSize)),parseFloat(r.minFontSize))+"px"};if(i(),"ResizeObserver"in window==0){const e=import("./p-6bd72be5.js").then((()=>{window.ResizeObserver=e.ResizeObserver,new ResizeObserver(i).observe(r.container)}))}else new ResizeObserver(i).observe(r.container)};if(e.length)for(let n=0;n<e.length;n++)i(e[n]);else i(e);return e};export{e as f};