%PDF- %PDF-
Direktori : /var/www/html/node_modules/next/dist/server/ |
Current File : /var/www/html/node_modules/next/dist/server/font-utils.js.map |
{"version":3,"sources":["../../server/font-utils.ts"],"names":["getFontDefinitionFromNetwork","getFontDefinitionFromManifest","getFontOverrideCss","Log","googleFontsMetrics","require","https","CHROME_UA","IE_UA","isGoogleFont","url","startsWith","GOOGLE_FONT_PROVIDER","getFontForUA","UA","Promise","resolve","reject","rawData","get","headers","res","on","chunk","toString","e","result","warn","manifest","find","font","content","parseGoogleFontName","css","regex","matches","matchAll","fontNames","Set","fontFamily","replace","add","calculateOverrideCSS","fontMetrics","fontName","toLowerCase","trim","fontKey","category","ascentOverride","descentOverride","lineGapOverride","fallbackFont","DEFAULT_SERIF_FONT","DEFAULT_SANS_SERIF_FONT","ascent","toFixed","descent","lineGap","fontCss","reduce","cssStr","console","log"],"mappings":"AAAA;;;;QAkDsBA,4BAA4B,GAA5BA,4BAA4B;QAuBlCC,6BAA6B,GAA7BA,6BAA6B;QAiD7BC,kBAAkB,GAAlBA,kBAAkB;AA1HtBC,IAAAA,GAAG,mCAAM,qBAAqB,EAA3B;AAKR,IAAA,UAAyB,WAAzB,yBAAyB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAChC,MAAMC,kBAAkB,GAAGC,OAAO,CAAC,4BAA4B,CAAC;AAChE,MAAMC,KAAK,GAAGD,OAAO,CAAC,OAAO,CAAC;AAE9B,MAAME,SAAS,GACb,0HAA0H;AAC5H,MAAMC,KAAK,GAAG,gEAAgE;AAS9E,SAASC,YAAY,CAACC,GAAW,EAAW;IAC1C,OAAOA,GAAG,CAACC,UAAU,CAACC,UAAoB,qBAAA,CAAC,CAAA;CAC5C;AAED,SAASC,YAAY,CAACH,GAAW,EAAEI,EAAU,EAAmB;IAC9D,OAAO,IAAIC,OAAO,CAAC,CAACC,OAAO,EAAEC,MAAM,GAAK;QACtC,IAAIC,OAAO,GAAQ,EAAE;QACrBZ,KAAK,CACF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