/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[10],{326:function(Ca,va,ba){ba.r(va);var pa=ba(2),ka=ba(1),la=ba(116);Ca=ba(70);var fa=ba(188);ba=ba(283);var ca=window;Ca=function(z){function r(n,b,a){b=z.call(this,n,b,a)||this;if(n.name&&"xod"!==n.name.toLowerCase().split(".").pop())throw Error("Not an XOD file");if(!ca.FileReader||!ca.File||!ca.Blob)throw Error("File API is not supported in this browser");b.file=n;b.Rv=[];b.lB=0;return b}Object(pa.c)(r,z);r.prototype.pD=function(n,
b,a){var e=this,f=new FileReader;f.onloadend=function(x){if(0<e.Rv.length){var w=e.Rv.shift();w.n4.readAsBinaryString(w.file)}else e.lB--;if(f.error){x=f.error;if(x.code===x.ABORT_ERR){Object(ka.i)("Request for chunk "+b.start+"-"+b.stop+" was aborted");return}return a(x)}if(x=f.content||x.target.result)return a(!1,x);Object(ka.i)("No data was returned from FileReader.")};b&&(n=(n.slice||n.webkitSlice||n.mozSlice||n.Naa).call(n,b.start,b.stop));0===e.Rv.length&&50>e.lB?(f.readAsBinaryString(n),e.lB++):
e.Rv.push({n4:f,file:n});return function(){f.abort()}};r.prototype.ip=function(n){var b=this;b.Nv=!0;var a=la.a;b.pD(b.file,{start:-a,stop:b.file.size},function(e,f){if(e)return Object(ka.i)("Error loading end header: %s "+e),n(e);if(f.length!==a)throw Error("Zip end header data is wrong size!");b.Wc=new fa.a(f);var x=b.Wc.sK();b.pD(b.file,x,function(w,h){if(w)return Object(ka.i)("Error loading central directory: %s "+w),n(w);if(h.length!==x.stop-x.start)throw Error("Zip central directory data is wrong size!");
b.Wc.CN(h);b.YA=!0;b.Nv=!1;return n(!1)})})};r.prototype.dE=function(n,b){var a=this,e=a.mg[n];if(a.Wc.cJ(n)){var f=a.Wc.Hr(n),x=a.pD(a.file,f,function(w,h){delete a.mg[n];if(w)return Object(ka.i)('Error loading part "%s": %s, '+n+", "+w),b(w);if(h.length!==f.stop-f.start)throw Error("Part data is wrong size!");b(!1,n,h,a.Wc.EL(n))});e.FP=!0;e.cancel=x}else b(Error('File not found: "'+n+'"'),n)};return r}(Ca.a);Object(ba.a)(Ca);Object(ba.b)(Ca);va["default"]=Ca}}]);}).call(this || window)
