UNPKG

@googleforcreators/media

Version:

Functionality for creating and working with media resources in the Web Stories editor.

3 lines (2 loc) 246 B
function t(t){const e=new Uint8Array(t);let n=0;if(71!==e[0]||73!==e[1]||70!==e[2]||56!==e[3])return!1;for(let t=4;t<e.length;t++)0===e[t]&&33===e[t+1]&&249===e[t+2]&&n++;return n>1}export{t as default}; //# sourceMappingURL=isAnimatedGif.js.map