1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4885],{8361:(e,i,t)=>{t.d(i,{Aq:()=>r});const n=e=>parseFloat(e.toFixed(4));const a=e=>{let{lineHeight:i,fontSize:t,capHeightTrim:n,baselineTrim:a}=e;return{fontSize:t,lineHeight:i,"::before":{content:"''",marginBottom:n,display:"table"},"::after":{content:"''",marginTop:a,display:"table"}}};function r(e){return a("capHeightTrim"in e?e:function(e){const{fontSize:i,lineHeight:t,fontMetrics:a}=function(e){if("leading"in e&&"lineGap"in e)throw new Error("Only a single line height style can be provided. Please pass either `lineGap` OR `leading`.");if("capHeight"in e&&"fontSize"in e)throw new Error("Please pass either `capHeight` OR `fontSize`, not both.");const{fontMetrics:i}=e,t=i.capHeight/i.unitsPerEm;let n,a,r;if("capHeight"in e)n=e.capHeight/t,a=e.capHeight;else{if(!("fontSize"in e))throw new Error("Please pass either `capHeight` OR `fontSize`.");n=e.fontSize,a=e.fontSize*t}return"lineGap"in e?r=a+e.lineGap:"leading"in e&&(r=e.leading),{fontSize:n,lineHeight:r,fontMetrics:i}}(e),r=Math.abs(a.descent),o=a.capHeight/a.unitsPerEm,s=r/a.unitsPerEm,c=a.ascent/a.unitsPerEm,l=a.lineGap/a.unitsPerEm,p=(a.ascent+a.lineGap+r)/a.unitsPerEm*i,h=e=>t?e-(p-t)/2/i:e,f=-1*h(c-o+l/2),g=-1*h(s+l/2);return{fontSize:"".concat(n(i),"px"),lineHeight:t?"".concat(n(t),"px"):"normal",capHeightTrim:"".concat(n(f),"em"),baselineTrim:"".concat(n(g),"em")}}(e))}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.