1function _regenerator(){var y,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",n=e.toStringTag||"@@toStringTag";function t(e,r,n,t){var o,i,a,c,u,f,s,l,g,r=r&&r.prototype instanceof h?r:h,r=Object.create(r.prototype);return _regeneratorDefine2(r,"_invoke",(o=e,i=n,s=t||[],l=!1,g={p:f=0,n:0,v:y,a:p,f:p.bind(y,4),d:function(e,r){return a=e,c=0,u=y,g.n=r,v}},function(e,r,n){if(1<f)throw TypeError("Generator is already running");for(l&&1===r&&p(r,n),c=r,u=n;(d=c<2?y:u)||!l;){a||(c?c<3?(1<c&&(g.n=-1),p(c,u)):g.n=u:g.v=u);try{if(f=2,a){if(d=a[e=c?e:"next"]){if(!(d=d.call(a,u)))throw TypeError("iterator result is not an object");if(!d.done)return d;u=d.value,c<2&&(c=0)}else 1===c&&(d=a.return)&&d.call(a),c<2&&(u=TypeError("The iterator does not provide a '"+e+"' method"),c=1);a=y}else if((d=(l=g.n<0)?u:o.call(i,g))!==v)break}catch(e){a=y,c=1,u=e}finally{f=1}}return{value:d,done:l}}),!0),r;function p(e,r){for(c=e,u=r,d=0;!l&&f&&!n&&d<s.length;d++){var n,t=s[d],o=g.p,i=t[2];3<e?(n=i===r)&&(u=t[(c=t[4])?5:c=3],t[4]=t[5]=y):t[0]<=o&&((n=e<2&&o<t[1])?(c=0,g.v=r,g.n=t[1]):o<i&&(n=e<3||t[0]>r||i<r)&&(t[4]=e,t[5]=r,g.n=i,c=0))}if(n||1<e)return v;throw l=!0,r}}var v={};function h(){}function o(){}function i(){}var d=Object.getPrototypeOf,e=[][r]?d(d([][r]())):(_regeneratorDefine2(d={},r,function(){return this}),d),a=i.prototype=h.prototype=Object.create(e);function c(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,i):(e.__proto__=i,_regeneratorDefine2(e,n,"GeneratorFunction")),e.prototype=Object.create(a),e}return _regeneratorDefine2(a,"constructor",o.prototype=i),_regeneratorDefine2(i,"constructor",o),_regeneratorDefine2(i,n,o.displayName="GeneratorFunction"),_regeneratorDefine2(a),_regeneratorDefine2(a,n,"Generator"),_regeneratorDefine2(a,r,function(){return this}),_regeneratorDefine2(a,"toString",function(){return"[object Generator]"}),(_regenerator=function(){return{w:t,m:c}})()}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}(_regeneratorDefine2=function(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))})(e,r,n,t)}function asyncGeneratorStep(e,r,n,t,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?r(u):Promise.resolve(u).then(t,o)}function _asyncToGenerator(c){return function(){var e=this,a=arguments;return new Promise(function(r,n){var t=c.apply(e,a);function o(e){asyncGeneratorStep(t,r,n,o,i,"next",e)}function i(e){asyncGeneratorStep(t,r,n,o,i,"throw",e)}o(void 0)})}}import{onLoad}from"runtime";import{readFileAsDataURL}from"utils";function getImageDimensions(t){return new Promise(function(e,r){var n=new Image;n.onload=function(){e({width:n.width,height:n.height}),window.URL.revokeObjectURL(n.src)},n.onerror=r,n.src=t})}onLoad(function(e){e.querySelectorAll('input[type="file"]').forEach(function(i){i.addEventListener("change",_asyncToGenerator(_regenerator().m(function e(){var r,n,t,o;return _regenerator().w(function(e){for(;;)switch(e.n){case 0:r=[],n=0;case 1:if(n<i.files.length){if((t=i.files[n]).type.startsWith("image"))return e.n=2,readFileAsDataURL(t);e.n=4}else e.n=6;break;case 2:return t=e.v,o=r,e.n=3,getImageDimensions(t);case 3:o.push.call(o,e.v),e.n=5;break;case 4:r.push({});case 5:n++,e.n=1;break;case 6:i.dataset.dimensions=JSON.stringify(r);case 7:return e.a(2)}},e)}))),document.addEventListener("reset",function(e){e.target.contains(i)&&(i.value="")},!0)})}); 2//# sourceMappingURL=form-file.js.map
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.