forked from wikimedia/WikimediaUI-Style-Guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwikimedia-design-style-guide.concat.js.map.json
1 lines (1 loc) · 2.67 KB
/
wikimedia-design-style-guide.concat.js.map.json
1
{"version":3,"sources":["src/fonts-loader.js"],"names":[],"mappings":"AAAA,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;AACzC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AACf;AACA,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAC9C,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,eAAe,CAAC;AACtC;AACA,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAClD,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE;AACxC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;AACV,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE;AACnD,GAAG,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC;AAC9E,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,UAAU,CAAC,EAAE,EAAE;AACzF;AACA,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AAChC,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE;AACrF;AACA,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE;AACrD,KAAK,KAAK,CAAC,IAAI,EAAE;AACjB,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;AAC3B,KAAK,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE;AAC1C,KAAK,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE;AAChD,IAAI,CAAC,CAAC,EAAE;AACR,GAAG,EAAE;AACL,GAAG,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,EAAE;AACvC,EAAE,CAAC;AACH,CAAC,CAAC;AACF,GAAG,CAAC,EAAE","file":"wikimedia-design-style-guide.concat.js","sourcesContent":["/* eslint-disable vars-on-top, one-var */\n( function () {\n\n\tif ( document.head && 'Promise' in window ) {\n\t\tvar html = document.documentElement;\n\n\t\tif ( sessionStorage.getItem( 'fontsLoaded' ) ) {\n\t\t\thtml.classList.add( 'fonts-loaded' );\n\t\t} else {\n\t\t\tvar script = document.createElement( 'script' );\n\t\t\t// Use absolute path to address root files and /components/ directory ones.\n\t\t\tscript.src = '/style-guide/js/vendor/fontfaceobserver/fontfaceobserver.standalone.js';\n\n\t\t\tscript.onload = function () {\n\t\t\t\tvar serif = new FontFaceObserver( 'Charter' ); /* eslint-disable-line no-undef */\n\n\t\t\t\tPromise.all( [ /* eslint-disable-line no-undef */\n\t\t\t\t\tserif.load()\n\t\t\t\t] ).then( function () {\n\t\t\t\t\thtml.classList.add( 'fonts-loaded' );\n\t\t\t\t\tsessionStorage.setItem( 'fontsLoaded', 1 );\n\t\t\t\t} );\n\t\t\t};\n\t\t\tdocument.head.appendChild( script );\n\t\t}\n\t}\n}() );\n"]}