PageSourceSearch

https://power.wavve.co/assets/Allison-DXohv0Y4.js

js wavve.co collected 2026-10-03 19:51:17 UTC 3,384 bytes, 1 lines download raw bytes

1import{N as D,d as B,c as A}from"./index-D3dDkeUH.js";var c={},T=e=>{const o=Promise.withResolvers(),t=setTimeout(()=>{o.reject(new Error("Timed out loading Google Font"))},18e3);return Promise.race([e.load().then(()=>{clearTimeout(t)}),o.promise])},P=(e,o,t)=>{var U,u;const d=Array.isArray(t==null?void 0:t.weights)&&Array.isArray(t==null?void 0:t.subsets)&&t.weights.length>0&&t.subsets.length>0;if(D.ENABLE_V5_BREAKING_CHANGES&&!d)throw new Error("Loading Google Fonts without specifying weights and subsets is not supported in Remotion v5. Please specify the weights and subsets you need.");const r=[],v=o?[o]:Object.keys(e.fonts);let a=0;for(const n of v){if(typeof FontFace>"u")continue;if(!e.fonts[n])throw new Error(`The font ${e.fontFamily} does not have a style ${n}`);const C=(t==null?void 0:t.weights)??Object.keys(e.fonts[n]);for(const s of C){if(!e.fonts[n][s])throw new Error(`The font ${e.fontFamily} does not  have a weight ${s} in style ${n}`);const $=(t==null?void 0:t.subsets)??Object.keys(e.fonts[n][s]);for(const i of $){let g=(u=(U=e.fonts[n])==null?void 0:U[s])==null?void 0:u[i];if(!g)throw new Error(`weight: ${s} subset: ${i} is not available for '${e.fontFamily}'`);let l=`${e.fontFamily}-${n}-${s}-${i}`;const F=c[l];if(F){r.push(F);continue}const h=`Fetching ${e.fontFamily} font ${JSON.stringify({style:n,weight:s,subset:i})}`,E=d?h:`${h}. This might be caused by loading too many font variations. Read more: https://www.remotion.dev/docs/troubleshooting/font-loading-errors#render-timeout-when-loading-google-fonts`,w=B(E,{timeoutInMilliseconds:6e4});a++;const f=new FontFace(e.fontFamily,`url(${g}) format('woff2')`,{weight:s,style:n,unicodeRange:e.unicodeRanges[i]});let y=2;const m=()=>{if(f.status==="loaded"){A(w);return}const b=T(f).then(()=>{((t==null?void 0:t.document)??document).fonts.add(f),A(w)}).catch(R=>{if(c[l]=void 0,y===0)throw R;y--,m()});c[l]=b,r.push(b)};m()}}a>20&&console.warn(`Made ${a} network requests to load fonts for ${e.fontFamily}. Consider loading fewer weights and subsets by passing options to loadFont(). Disable this warning by passing "ignoreTooManyRequestsWarning: true" to "options".`)}return{fontFamily:e.fontFamily,fonts:e.fonts,unicodeRanges:e.unicodeRanges,waitUntilDone:()=>Promise.all(r).then(()=>{})}},k=()=>({fontFamily:"Allison",importName:"Allison",version:"v11",url:"https://fonts.googleapis.com/css2?family=Allison:ital,wght@0,400",unicodeRanges:{vietnamese:"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB","latin-ext":"U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF",latin:"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD"},fonts:{normal:{400:{vietnamese:"https://fonts.gstatic.com/s/allison/v11/X7nl4b88AP2nkbvZCC6a4fTg.woff2","latin-ext":"https://fonts.gstatic.com/s/allison/v11/X7nl4b88AP2nkbvZCC-a4fTg.woff2",latin:"https://fonts.gstatic.com/s/allison/v11/X7nl4b88AP2nkbvZCCGa4Q.woff2"}}},subsets:["latin","latin-ext","vietnamese"]}),G="Allison",L=(e,o)=>P(k(),e,o);export{G as fontFamily,k as getInfo,L as loadFont};

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.