Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

perf-cascade

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perf-cascade - npm Package Compare versions

Comparing version 2.5.2 to 2.5.4

4

dist/perf-cascade-file-reader.min.js

@@ -1,3 +0,3 @@

/*! github.com/micmro/PerfCascade Version:2.5.2 (31/05/2018) */
/*! github.com/micmro/PerfCascade Version:2.5.4 (03/09/2018) */
!function(e){"use strict";var t,i="File format is not recognized.",n="CRC failed.",r="File contains encrypted entry.",a="File is using Zip64 (4gb+ file size).",o="Error while reading zip file.",s="Error while writing zip file.",f="Error while writing file data.",l="Error while reading file data.",d="File already exists.",u=524288,_="text/plain";try{t=0===new Blob([new DataView(new ArrayBuffer(0))]).size}catch(e){}function c(){this.crc=-1}function w(){}function b(e,t){var i,n;return i=new ArrayBuffer(e),n=new Uint8Array(i),t&&n.set(t,0),{buffer:i,array:n,view:new DataView(i)}}function h(){}function v(e){var t,i=this;i.size=0,i.init=function(n,r){var a=new Blob([e],{type:_});(t=new p(a)).init(function(){i.size=t.size,n()},r)},i.readUint8Array=function(e,i,n,r){t.readUint8Array(e,i,n,r)}}function x(t){var i,n=this;n.size=0,n.init=function(e){for(var r=t.length;"="==t.charAt(r-1);)r--;i=t.indexOf(",")+1,n.size=Math.floor(.75*(r-i)),e()},n.readUint8Array=function(n,r,a){var o,s=b(r),f=4*Math.floor(n/3),l=4*Math.ceil((n+r)/3),d=e.atob(t.substring(f+i,l+i)),u=n-3*Math.floor(f/4);for(o=u;o<u+r;o++)s.array[o-u]=d.charCodeAt(o);a(s.array)}}function p(e){var t=this;t.size=0,t.init=function(i){t.size=e.size,i()},t.readUint8Array=function(t,i,n,r){var a=new FileReader;a.onload=function(e){n(new Uint8Array(e.target.result))},a.onerror=r;try{a.readAsArrayBuffer(function(e,t,i){if(t<0||i<0||t+i>e.size)throw new RangeError("offset:"+t+", length:"+i+", size:"+e.size);return e.slice?e.slice(t,t+i):e.webkitSlice?e.webkitSlice(t,t+i):e.mozSlice?e.mozSlice(t,t+i):e.msSlice?e.msSlice(t,t+i):void 0}(e,t,i))}catch(e){r(e)}}}function y(){}function m(e){var i;this.init=function(e){i=new Blob([],{type:_}),e()},this.writeUint8Array=function(e,n){i=new Blob([i,t?e:e.buffer],{type:_}),n()},this.getData=function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=n,r.readAsText(i,e)}}function g(t){var i="",n="";this.init=function(e){i+="data:"+(t||"")+";base64,",e()},this.writeUint8Array=function(t,r){var a,o=n.length,s=n;for(n="",a=0;a<3*Math.floor((o+t.length)/3)-o;a++)s+=String.fromCharCode(t[a]);for(;a<t.length;a++)n+=String.fromCharCode(t[a]);s.length>2?i+=e.btoa(s):n=s,r()},this.getData=function(t){t(i+e.btoa(n))}}function k(e){var i;this.init=function(t){i=new Blob([],{type:e}),t()},this.writeUint8Array=function(n,r){i=new Blob([i,t?n:n.buffer],{type:e}),r()},this.getData=function(e){e(i)}}function U(e,t,i,n,r,a,o,s,f,l){var d,_,c,w=0,b=t.sn;function h(){e.removeEventListener("message",v,!1),s(_,c)}function v(t){var i=t.data,r=i.data,s=i.error;if(s)return s.toString=function(){return"Error: "+this.message},void f(s);if(i.sn===b)switch("number"==typeof i.codecTime&&(e.codecTime+=i.codecTime),"number"==typeof i.crcTime&&(e.crcTime+=i.crcTime),i.type){case"append":r?(_+=r.length,n.writeUint8Array(r,function(){x()},l)):x();break;case"flush":c=i.crc,r?(_+=r.length,n.writeUint8Array(r,function(){h()},l)):h();break;case"progress":o&&o(d+i.loaded,a);break;case"importScripts":case"newTask":case"echo":break;default:console.warn("zip.js:launchWorkerProcess: unknown message: ",i)}}function x(){(d=w*u)<=a?i.readUint8Array(r+d,Math.min(u,a-d),function(i){o&&o(d,a);var n=0===d?t:{sn:b};n.type="append",n.data=i;try{e.postMessage(n,[i.buffer])}catch(t){e.postMessage(n)}w++},f):e.postMessage({sn:b,type:"flush"})}_=0,e.addEventListener("message",v,!1),x()}function z(e,t,i,n,r,a,o,s,f,l){var d,_=0,w=0,b="input"===a,h="output"===a,v=new c;!function a(){var c;if((d=_*u)<r)t.readUint8Array(n+d,Math.min(u,r-d),function(t){var n;try{n=e.append(t,function(e){o&&o(d+e,r)})}catch(e){return void f(e)}n?(w+=n.length,i.writeUint8Array(n,function(){_++,setTimeout(a,1)},l),h&&v.append(n)):(_++,setTimeout(a,1)),b&&v.append(t),o&&o(d,r)},f);else{try{c=e.flush()}catch(e){return void f(e)}c?(h&&v.append(c),w+=c.length,i.writeUint8Array(c,function(){s(w,v.get())},l)):s(w,v.get())}}()}function A(t,i,n,r,a,o,s,f,l,d,u){e.zip.useWebWorkers&&s?U(t,{sn:i,codecClass:"NOOP",crcType:"input"},n,r,a,o,l,f,d,u):z(new w,n,r,a,o,"input",l,f,d,u)}function S(e){var t,i,n="",r=["Ç","ü","é","â","ä","à","å","ç","ê","ë","è","ï","î","ì","Ä","Å","É","æ","Æ","ô","ö","ò","û","ù","ÿ","Ö","Ü","ø","£","Ø","×","ƒ","á","í","ó","ú","ñ","Ñ","ª","º","¿","®","¬","½","¼","¡","«","»","_","_","_","¦","¦","Á","Â","À","©","¦","¦","+","+","¢","¥","+","+","-","-","+","-","+","ã","Ã","+","+","-","-","¦","-","+","¤","ð","Ð","Ê","Ë","È","i","Í","Î","Ï","+","+","_","_","¦","Ì","_","Ó","ß","Ô","Ò","õ","Õ","µ","þ","Þ","Ú","Û","Ù","ý","Ý","¯","´","­","±","_","¾","¶","§","÷","¸","°","¨","·","¹","³","²","_"," "];for(t=0;t<e.length;t++)n+=(i=255&e.charCodeAt(t))>127?r[i-128]:String.fromCharCode(i);return n}function E(e){return decodeURIComponent(escape(e))}function D(e){var t,i="";for(t=0;t<e.length;t++)i+=String.fromCharCode(e[t]);return i}function F(e,t,i,n,o){e.version=t.view.getUint16(i,!0),e.bitFlag=t.view.getUint16(i+2,!0),e.compressionMethod=t.view.getUint16(i+4,!0),e.lastModDateRaw=t.view.getUint32(i+6,!0),e.lastModDate=function(e){var t=(4294901760&e)>>16,i=65535&e;try{return new Date(1980+((65024&t)>>9),((480&t)>>5)-1,31&t,(63488&i)>>11,(2016&i)>>5,2*(31&i),0)}catch(e){}}(e.lastModDateRaw),1!=(1&e.bitFlag)?((n||8!=(8&e.bitFlag))&&(e.crc32=t.view.getUint32(i+10,!0),e.compressedSize=t.view.getUint32(i+14,!0),e.uncompressedSize=t.view.getUint32(i+18,!0)),4294967295!==e.compressedSize&&4294967295!==e.uncompressedSize?(e.filenameLength=t.view.getUint16(i+22,!0),e.extraFieldLength=t.view.getUint16(i+24,!0)):o(a)):o(r)}function L(t,r,a){var s=0;function d(){}d.prototype.getData=function(r,o,d,u){var _=this;function c(e,t){var i,s;u&&(i=t,(s=b(4)).view.setUint32(0,i),_.crc32!=s.view.getUint32(0))?a(n):r.getData(function(e){o(e)})}function w(e){a(e||l)}function h(e){a(e||f)}t.readUint8Array(_.offset,30,function(n){var o,f=b(n.length,n);1347093252==f.view.getUint32(0)?(F(_,f,4,!1,a),o=_.offset+30+_.filenameLength+_.extraFieldLength,r.init(function(){var i,n,a,f,l,b,v,x,p,y,m;0===_.compressionMethod?A(_._worker,s++,t,r,o,_.compressedSize,u,c,d,w,h):(i=_._worker,n=s++,a=t,f=r,l=o,b=_.compressedSize,v=c,x=d,p=w,y=h,m=u?"output":"none",e.zip.useWebWorkers?U(i,{sn:n,codecClass:"Inflater",crcType:m},a,f,l,b,x,v,p,y):z(new e.zip.Inflater,a,f,l,b,m,x,v,p,y))},h)):a(i)},w)};var u={getEntries:function(e){var n=this._worker;!function(e){var n=22;if(t.size<n)a(i);else{var r=n+65536;s(n,function(){s(Math.min(r,t.size),function(){a(i)})})}function s(i,r){t.readUint8Array(t.size-i,i,function(t){for(var i=t.length-n;i>=0;i--)if(80===t[i]&&75===t[i+1]&&5===t[i+2]&&6===t[i+3])return void e(new DataView(t.buffer,i,n));r()},function(){a(o)})}}(function(r){var s,f;s=r.getUint32(16,!0),f=r.getUint16(8,!0),s<0||s>=t.size?a(i):t.readUint8Array(s,t.size-s,function(t){var r,o,s,l,u=0,_=[],c=b(t.length,t);for(r=0;r<f;r++){if((o=new d)._worker=n,1347092738!=c.view.getUint32(u))return void a(i);F(o,c,u+6,!0,a),o.commentLength=c.view.getUint16(u+32,!0),o.directory=16==(16&c.view.getUint8(u+38)),o.offset=c.view.getUint32(u+42,!0),s=D(c.array.subarray(u+46,u+46+o.filenameLength)),o.filename=2048==(2048&o.bitFlag)?E(s):S(s),o.directory||"/"!=o.filename.charAt(o.filename.length-1)||(o.directory=!0),l=D(c.array.subarray(u+46+o.filenameLength+o.extraFieldLength,u+46+o.filenameLength+o.extraFieldLength+o.commentLength)),o.comment=2048==(2048&o.bitFlag)?E(l):S(l),_.push(o),u+=46+o.filenameLength+o.extraFieldLength+o.commentLength}e(_)},function(){a(o)})})},close:function(e){this._worker&&(this._worker.terminate(),this._worker=null),e&&e()},_worker:null};e.zip.useWebWorkers?T("inflater",function(e){u._worker=e,r(u)},function(e){a(e)}):r(u)}function M(e){return unescape(encodeURIComponent(e))}function W(e){var t,i=[];for(t=0;t<e.length;t++)i.push(e.charCodeAt(t));return i}function C(t,i,n,r){var a={},o=[],f=0,u=0;function _(e){n(e||s)}function c(e){n(e||l)}var w={add:function(i,s,l,w,h){var v,x,p,y=this._worker;function m(e,i){var n=b(16);f+=e||0,n.view.setUint32(0,1347094280),void 0!==i&&(v.view.setUint32(10,i,!0),n.view.setUint32(4,i,!0)),s&&(n.view.setUint32(8,e,!0),v.view.setUint32(14,e,!0),n.view.setUint32(12,s.size,!0),v.view.setUint32(18,s.size,!0)),t.writeUint8Array(n.array,function(){f+=16,l()},_)}function g(){var l,g;(h=h||{},i=i.trim(),h.directory&&"/"!=i.charAt(i.length-1)&&(i+="/"),a.hasOwnProperty(i))?n(d):(x=W(M(i)),o.push(i),l=function(){var i,n,a,o,f,l,d,b,v;s?r||0===h.level?A(y,u++,s,t,0,s.size,!0,m,w,c,_):(i=y,n=u++,a=s,o=t,f=h.level,l=m,d=w,b=c,v=_,e.zip.useWebWorkers?U(i,{sn:n,options:{level:f},codecClass:"Deflater",crcType:"input"},a,o,0,a.size,d,l,b,v):z(new e.zip.Deflater,a,o,0,a.size,"input",d,l,b,v)):m()},p=h.lastModDate||new Date,v=b(26),a[i]={headerArray:v.array,directory:h.directory,filename:x,offset:f,comment:W(M(h.comment||""))},v.view.setUint32(0,335546376),h.version&&v.view.setUint8(0,h.version),r||0===h.level||h.directory||v.view.setUint16(4,2048),v.view.setUint16(6,(p.getHours()<<6|p.getMinutes())<<5|p.getSeconds()/2,!0),v.view.setUint16(8,(p.getFullYear()-1980<<4|p.getMonth()+1)<<5|p.getDate(),!0),v.view.setUint16(22,x.length,!0),(g=b(30+x.length)).view.setUint32(0,1347093252),g.array.set(v.array,4),g.array.set(x,30),f+=g.array.length,t.writeUint8Array(g.array,l,_))}s?s.init(g,c):g()},close:function(e){this._worker&&(this._worker.terminate(),this._worker=null);var i,n,r,s=0,l=0;for(n=0;n<o.length;n++)s+=46+(r=a[o[n]]).filename.length+r.comment.length;for(i=b(s+22),n=0;n<o.length;n++)r=a[o[n]],i.view.setUint32(l,1347092738),i.view.setUint16(l+4,5120),i.array.set(r.headerArray,l+6),i.view.setUint16(l+32,r.comment.length,!0),r.directory&&i.view.setUint8(l+38,16),i.view.setUint32(l+42,r.offset,!0),i.array.set(r.filename,l+46),i.array.set(r.comment,l+46+r.filename.length),l+=46+r.filename.length+r.comment.length;i.view.setUint32(l,1347093766),i.view.setUint16(l+8,o.length,!0),i.view.setUint16(l+10,o.length,!0),i.view.setUint32(l+12,s,!0),i.view.setUint32(l+16,f,!0),t.writeUint8Array(i.array,function(){t.getData(e)},_)},_worker:null};e.zip.useWebWorkers?T("deflater",function(e){w._worker=e,i(w)},function(e){n(e)}):i(w)}c.prototype.append=function(e){for(var t=0|this.crc,i=this.table,n=0,r=0|e.length;n<r;n++)t=t>>>8^i[255&(t^e[n])];this.crc=t},c.prototype.get=function(){return~this.crc},c.prototype.table=function(){var e,t,i,n=[];for(e=0;e<256;e++){for(i=e,t=0;t<8;t++)1&i?i=i>>>1^3988292384:i>>>=1;n[e]=i}return n}(),w.prototype.append=function(e,t){return e},w.prototype.flush=function(){},v.prototype=new h,v.prototype.constructor=v,x.prototype=new h,x.prototype.constructor=x,p.prototype=new h,p.prototype.constructor=p,y.prototype.getData=function(e){e(this.data)},m.prototype=new y,m.prototype.constructor=m,g.prototype=new y,g.prototype.constructor=g,k.prototype=new y,k.prototype.constructor=k;var R={deflater:["z-worker.js","deflate.js"],inflater:["z-worker.js","inflate.js"]};function T(t,i,n){if(null===e.zip.workerScripts||null===e.zip.workerScriptsPath){var r,a,o;if(e.zip.workerScripts){if(r=e.zip.workerScripts[t],!Array.isArray(r))return void n(new Error("zip.workerScripts."+t+" is not an array!"));a=r,o=document.createElement("a"),r=a.map(function(e){return o.href=e,o.href})}else(r=R[t].slice(0))[0]=(e.zip.workerScriptsPath||"")+r[0];var s=new Worker(r[0]);s.codecTime=s.crcTime=0,s.postMessage({type:"importScripts",scripts:r.slice(1)}),s.addEventListener("message",function e(t){var r=t.data;if(r.error)return s.terminate(),void n(r.error);"importScripts"===r.type&&(s.removeEventListener("message",e),s.removeEventListener("error",f),i(s))}),s.addEventListener("error",f)}else n(new Error("Either zip.workerScripts or zip.workerScriptsPath may be set, not both."));function f(e){s.terminate(),n(e)}}function I(e){console.error(e)}e.zip={Reader:h,Writer:y,BlobReader:p,Data64URIReader:x,TextReader:v,BlobWriter:k,Data64URIWriter:g,TextWriter:m,createReader:function(e,t,i){i=i||I,e.init(function(){L(e,t,i)},i)},createWriter:function(e,t,i,n){i=i||I,n=!!n,e.init(function(){C(e,t,i,n)},i)},useWebWorkers:!0,workerScriptsPath:null,workerScripts:null}}(this),function(e){"use strict";var t=0,i=1,n=2,r=-2,a=-3,o=-4,s=-5,f=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],l=1440,d=0,u=4,_=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],c=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],w=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],b=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],h=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],v=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],x=15;function p(){var e,i,n,r,f,d;function u(e,i,o,u,_,c,w,b,h,v,p){var y,m,g,k,U,z,A,S,E,D,F,L,M,W,C;for(D=0,U=o;n[e[i+D]]++,D++,0!==--U;);if(n[0]==o)return w[0]=-1,b[0]=0,t;for(S=b[0],z=1;z<=x&&0===n[z];z++);for(A=z,S<z&&(S=z),U=x;0!==U&&0===n[U];U--);for(g=U,S>U&&(S=U),b[0]=S,W=1<<z;z<U;z++,W<<=1)if((W-=n[z])<0)return a;if((W-=n[U])<0)return a;for(n[U]+=W,d[1]=z=0,D=1,M=2;0!=--U;)d[M]=z+=n[D],M++,D++;for(U=0,D=0;0!==(z=e[i+D])&&(p[d[z]++]=U),D++,++U<o;);for(o=d[g],d[0]=U=0,D=0,k=-1,L=-S,f[0]=0,F=0,C=0;A<=g;A++)for(y=n[A];0!=y--;){for(;A>L+S;){if(k++,C=(C=g-(L+=S))>S?S:C,(m=1<<(z=A-L))>y+1&&(m-=y+1,M=A,z<C))for(;++z<C&&!((m<<=1)<=n[++M]);)m-=n[M];if(C=1<<z,v[0]+C>l)return a;f[k]=F=v[0],v[0]+=C,0!==k?(d[k]=U,r[0]=z,r[1]=S,z=U>>>L-S,r[2]=F-f[k-1]-z,h.set(r,3*(f[k-1]+z))):w[0]=F}for(r[1]=A-L,D>=o?r[0]=192:p[D]<u?(r[0]=p[D]<256?0:96,r[2]=p[D++]):(r[0]=c[p[D]-u]+16+64,r[2]=_[p[D++]-u]),m=1<<A-L,z=U>>>L;z<C;z+=m)h.set(r,3*(F+z));for(z=1<<A-1;0!=(U&z);z>>>=1)U^=z;for(U^=z,E=(1<<L)-1;(U&E)!=d[k];)k--,E=(1<<(L-=S))-1}return 0!==W&&1!=g?s:t}function _(t){var a;for(e||(e=[],i=[],n=new Int32Array(x+1),r=[],f=new Int32Array(x),d=new Int32Array(x+1)),i.length<t&&(i=[]),a=0;a<t;a++)i[a]=0;for(a=0;a<x+1;a++)n[a]=0;for(a=0;a<3;a++)r[a]=0;f.set(n.subarray(0,x),0),d.set(n.subarray(0,x+1),0)}this.inflate_trees_bits=function(t,n,r,o,f){var l;return _(19),e[0]=0,(l=u(t,0,19,19,null,null,r,n,o,e,i))==a?f.msg="oversubscribed dynamic bit lengths tree":l!=s&&0!==n[0]||(f.msg="incomplete dynamic bit lengths tree",l=a),l},this.inflate_trees_dynamic=function(n,r,f,l,d,c,x,p,y){var m;return _(288),e[0]=0,(m=u(f,0,n,257,w,b,c,l,p,e,i))!=t||0===l[0]?(m==a?y.msg="oversubscribed literal/length tree":m!=o&&(y.msg="incomplete literal/length tree",m=a),m):(_(288),(m=u(f,n,r,0,h,v,x,d,p,e,i))!=t||0===d[0]&&n>257?(m==a?y.msg="oversubscribed distance tree":m==s?(y.msg="incomplete distance tree",m=a):m!=o&&(y.msg="empty distance tree with lengths",m=a),m):t)}}p.inflate_trees_fixed=function(e,i,n,r){return e[0]=9,i[0]=5,n[0]=_,r[0]=c,t};var y=0,m=1,g=2,k=3,U=4,z=5,A=6,S=7,E=8,D=9;var F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],L=0,M=1,W=2,C=3,R=4,T=5,I=6,B=7,O=8,P=9;function j(e,n){var o,d=this,u=L,_=0,c=0,w=0,b=[0],h=[0],v=new function(){var e,n,o,s,l=0,d=0,u=0,_=0,c=0,w=0,b=0,h=0,v=0,x=0;function p(e,n,r,o,s,l,d,u){var _,c,w,b,h,v,x,p,y,m,g,k,U,z,A,S;x=u.next_in_index,p=u.avail_in,h=d.bitb,v=d.bitk,m=(y=d.write)<d.read?d.read-y-1:d.end-y,g=f[e],k=f[n];do{for(;v<20;)p--,h|=(255&u.read_byte(x++))<<v,v+=8;if(0!==(b=(c=r)[S=3*((w=o)+(_=h&g))]))for(;;){if(h>>=c[S+1],v-=c[S+1],0!=(16&b)){for(b&=15,U=c[S+2]+(h&f[b]),h>>=b,v-=b;v<15;)p--,h|=(255&u.read_byte(x++))<<v,v+=8;for(b=(c=s)[S=3*((w=l)+(_=h&k))];;){if(h>>=c[S+1],v-=c[S+1],0!=(16&b)){for(b&=15;v<b;)p--,h|=(255&u.read_byte(x++))<<v,v+=8;if(z=c[S+2]+(h&f[b]),h>>=b,v-=b,m-=U,y>=z)y-(A=y-z)>0&&2>y-A?(d.window[y++]=d.window[A++],d.window[y++]=d.window[A++],U-=2):(d.window.set(d.window.subarray(A,A+2),y),y+=2,A+=2,U-=2);else{for(A=y-z;(A+=d.end)<0;);if(U>(b=d.end-A)){if(U-=b,y-A>0&&b>y-A)for(;d.window[y++]=d.window[A++],0!=--b;);else d.window.set(d.window.subarray(A,A+b),y),y+=b,A+=b,b=0;A=0}}if(y-A>0&&U>y-A)for(;d.window[y++]=d.window[A++],0!=--U;);else d.window.set(d.window.subarray(A,A+U),y),y+=U,A+=U,U=0;break}if(0!=(64&b))return u.msg="invalid distance code",p+=U=v>>3<(U=u.avail_in-p)?v>>3:U,x-=U,v-=U<<3,d.bitb=h,d.bitk=v,u.avail_in=p,u.total_in+=x-u.next_in_index,u.next_in_index=x,d.write=y,a;_+=c[S+2],b=c[S=3*(w+(_+=h&f[b]))]}break}if(0!=(64&b))return 0!=(32&b)?(p+=U=v>>3<(U=u.avail_in-p)?v>>3:U,x-=U,v-=U<<3,d.bitb=h,d.bitk=v,u.avail_in=p,u.total_in+=x-u.next_in_index,u.next_in_index=x,d.write=y,i):(u.msg="invalid literal/length code",p+=U=v>>3<(U=u.avail_in-p)?v>>3:U,x-=U,v-=U<<3,d.bitb=h,d.bitk=v,u.avail_in=p,u.total_in+=x-u.next_in_index,u.next_in_index=x,d.write=y,a);if(_+=c[S+2],0===(b=c[S=3*(w+(_+=h&f[b]))])){h>>=c[S+1],v-=c[S+1],d.window[y++]=c[S+2],m--;break}}else h>>=c[S+1],v-=c[S+1],d.window[y++]=c[S+2],m--}while(m>=258&&p>=10);return p+=U=v>>3<(U=u.avail_in-p)?v>>3:U,x-=U,v-=U<<3,d.bitb=h,d.bitk=v,u.avail_in=p,u.total_in+=x-u.next_in_index,u.next_in_index=x,d.write=y,t}this.init=function(t,i,r,a,f,l){e=y,b=t,h=i,o=r,v=a,s=f,x=l,n=null},this.proc=function(F,L,M){var W,C,R,T,I,B,O,P=0,j=0,q=0;for(q=L.next_in_index,T=L.avail_in,P=F.bitb,j=F.bitk,B=(I=F.write)<F.read?F.read-I-1:F.end-I;;)switch(e){case y:if(B>=258&&T>=10&&(F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,M=p(b,h,o,v,s,x,F,L),q=L.next_in_index,T=L.avail_in,P=F.bitb,j=F.bitk,B=(I=F.write)<F.read?F.read-I-1:F.end-I,M!=t)){e=M==i?S:D;break}u=b,n=o,d=v,e=m;case m:for(W=u;j<W;){if(0===T)return F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,F.inflate_flush(L,M);M=t,T--,P|=(255&L.read_byte(q++))<<j,j+=8}if(C=3*(d+(P&f[W])),P>>>=n[C+1],j-=n[C+1],0===(R=n[C])){_=n[C+2],e=A;break}if(0!=(16&R)){c=15&R,l=n[C+2],e=g;break}if(0==(64&R)){u=R,d=C/3+n[C+2];break}if(0!=(32&R)){e=S;break}return e=D,L.msg="invalid literal/length code",M=a,F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,F.inflate_flush(L,M);case g:for(W=c;j<W;){if(0===T)return F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,F.inflate_flush(L,M);M=t,T--,P|=(255&L.read_byte(q++))<<j,j+=8}l+=P&f[W],P>>=W,j-=W,u=h,n=s,d=x,e=k;case k:for(W=u;j<W;){if(0===T)return F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,F.inflate_flush(L,M);M=t,T--,P|=(255&L.read_byte(q++))<<j,j+=8}if(C=3*(d+(P&f[W])),P>>=n[C+1],j-=n[C+1],0!=(16&(R=n[C]))){c=15&R,w=n[C+2],e=U;break}if(0==(64&R)){u=R,d=C/3+n[C+2];break}return e=D,L.msg="invalid distance code",M=a,F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,F.inflate_flush(L,M);case U:for(W=c;j<W;){if(0===T)return F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,F.inflate_flush(L,M);M=t,T--,P|=(255&L.read_byte(q++))<<j,j+=8}w+=P&f[W],P>>=W,j-=W,e=z;case z:for(O=I-w;O<0;)O+=F.end;for(;0!==l;){if(0===B&&(I==F.end&&0!==F.read&&(B=(I=0)<F.read?F.read-I-1:F.end-I),0===B&&(F.write=I,M=F.inflate_flush(L,M),B=(I=F.write)<F.read?F.read-I-1:F.end-I,I==F.end&&0!==F.read&&(B=(I=0)<F.read?F.read-I-1:F.end-I),0===B)))return F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,F.inflate_flush(L,M);F.window[I++]=F.window[O++],B--,O==F.end&&(O=0),l--}e=y;break;case A:if(0===B&&(I==F.end&&0!==F.read&&(B=(I=0)<F.read?F.read-I-1:F.end-I),0===B&&(F.write=I,M=F.inflate_flush(L,M),B=(I=F.write)<F.read?F.read-I-1:F.end-I,I==F.end&&0!==F.read&&(B=(I=0)<F.read?F.read-I-1:F.end-I),0===B)))return F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,F.inflate_flush(L,M);M=t,F.window[I++]=_,B--,e=y;break;case S:if(j>7&&(j-=8,T++,q--),F.write=I,M=F.inflate_flush(L,M),B=(I=F.write)<F.read?F.read-I-1:F.end-I,F.read!=F.write)return F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,F.inflate_flush(L,M);e=E;case E:return M=i,F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,F.inflate_flush(L,M);case D:return M=a,F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,F.inflate_flush(L,M);default:return M=r,F.bitb=P,F.bitk=j,L.avail_in=T,L.total_in+=q-L.next_in_index,L.next_in_index=q,F.write=I,F.inflate_flush(L,M)}},this.free=function(){}},x=0,j=new Int32Array(3*l),q=new p;d.bitk=0,d.bitb=0,d.window=new Uint8Array(n),d.end=n,d.read=0,d.write=0,d.reset=function(e,t){t&&(t[0]=0),u==I&&v.free(e),u=L,d.bitk=0,d.bitb=0,d.read=d.write=0},d.reset(e,null),d.inflate_flush=function(e,i){var n,r,a;return r=e.next_out_index,(n=((a=d.read)<=d.write?d.write:d.end)-a)>e.avail_out&&(n=e.avail_out),0!==n&&i==s&&(i=t),e.avail_out-=n,e.total_out+=n,e.next_out.set(d.window.subarray(a,a+n),r),r+=n,(a+=n)==d.end&&(a=0,d.write==d.end&&(d.write=0),(n=d.write-a)>e.avail_out&&(n=e.avail_out),0!==n&&i==s&&(i=t),e.avail_out-=n,e.total_out+=n,e.next_out.set(d.window.subarray(a,a+n),r),r+=n,a+=n),e.next_out_index=r,d.read=a,i},d.proc=function(e,n){var s,l,y,m,g,k,U,z;for(m=e.next_in_index,g=e.avail_in,l=d.bitb,y=d.bitk,U=(k=d.write)<d.read?d.read-k-1:d.end-k;;)switch(u){case L:for(;y<3;){if(0===g)return d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);n=t,g--,l|=(255&e.read_byte(m++))<<y,y+=8}switch(x=1&(s=7&l),s>>>1){case 0:l>>>=3,l>>>=s=7&(y-=3),y-=s,u=M;break;case 1:var A=[],S=[],E=[[]],D=[[]];p.inflate_trees_fixed(A,S,E,D),v.init(A[0],S[0],E[0],0,D[0],0),l>>>=3,y-=3,u=I;break;case 2:l>>>=3,y-=3,u=C;break;case 3:return l>>>=3,y-=3,u=P,e.msg="invalid block type",n=a,d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n)}break;case M:for(;y<32;){if(0===g)return d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);n=t,g--,l|=(255&e.read_byte(m++))<<y,y+=8}if((~l>>>16&65535)!=(65535&l))return u=P,e.msg="invalid stored block lengths",n=a,d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);_=65535&l,l=y=0,u=0!==_?W:0!==x?B:L;break;case W:if(0===g)return d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);if(0===U&&(k==d.end&&0!==d.read&&(U=(k=0)<d.read?d.read-k-1:d.end-k),0===U&&(d.write=k,n=d.inflate_flush(e,n),U=(k=d.write)<d.read?d.read-k-1:d.end-k,k==d.end&&0!==d.read&&(U=(k=0)<d.read?d.read-k-1:d.end-k),0===U)))return d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);if(n=t,(s=_)>g&&(s=g),s>U&&(s=U),d.window.set(e.read_buf(m,s),k),m+=s,g-=s,k+=s,U-=s,0!=(_-=s))break;u=0!==x?B:L;break;case C:for(;y<14;){if(0===g)return d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);n=t,g--,l|=(255&e.read_byte(m++))<<y,y+=8}if(c=s=16383&l,(31&s)>29||(s>>5&31)>29)return u=P,e.msg="too many length or distance symbols",n=a,d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);if(s=258+(31&s)+(s>>5&31),!o||o.length<s)o=[];else for(z=0;z<s;z++)o[z]=0;l>>>=14,y-=14,w=0,u=R;case R:for(;w<4+(c>>>10);){for(;y<3;){if(0===g)return d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);n=t,g--,l|=(255&e.read_byte(m++))<<y,y+=8}o[F[w++]]=7&l,l>>>=3,y-=3}for(;w<19;)o[F[w++]]=0;if(b[0]=7,(s=q.inflate_trees_bits(o,b,h,j,e))!=t)return(n=s)==a&&(o=null,u=P),d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);w=0,u=T;case T:for(;!(w>=258+(31&(s=c))+(s>>5&31));){var N,V;for(s=b[0];y<s;){if(0===g)return d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);n=t,g--,l|=(255&e.read_byte(m++))<<y,y+=8}if(s=j[3*(h[0]+(l&f[s]))+1],(V=j[3*(h[0]+(l&f[s]))+2])<16)l>>>=s,y-=s,o[w++]=V;else{for(z=18==V?7:V-14,N=18==V?11:3;y<s+z;){if(0===g)return d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);n=t,g--,l|=(255&e.read_byte(m++))<<y,y+=8}if(y-=s,N+=(l>>>=s)&f[z],l>>>=z,y-=z,(z=w)+N>258+(31&(s=c))+(s>>5&31)||16==V&&z<1)return o=null,u=P,e.msg="invalid bit length repeat",n=a,d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);for(V=16==V?o[z-1]:0;o[z++]=V,0!=--N;);w=z}}h[0]=-1;var H=[],J=[],Y=[],Z=[];if(H[0]=9,J[0]=6,s=c,(s=q.inflate_trees_dynamic(257+(31&s),1+(s>>5&31),o,H,J,Y,Z,j,e))!=t)return s==a&&(o=null,u=P),n=s,d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);v.init(H[0],J[0],j,Y[0],j,Z[0]),u=I;case I:if(d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,(n=v.proc(d,e,n))!=i)return d.inflate_flush(e,n);if(n=t,v.free(e),m=e.next_in_index,g=e.avail_in,l=d.bitb,y=d.bitk,U=(k=d.write)<d.read?d.read-k-1:d.end-k,0===x){u=L;break}u=B;case B:if(d.write=k,n=d.inflate_flush(e,n),U=(k=d.write)<d.read?d.read-k-1:d.end-k,d.read!=d.write)return d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);u=O;case O:return n=i,d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);case P:return n=a,d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n);default:return n=r,d.bitb=l,d.bitk=y,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,d.write=k,d.inflate_flush(e,n)}},d.free=function(e){d.reset(e,null),d.window=null,j=null},d.set_dictionary=function(e,t,i){d.window.set(e.subarray(t,t+i),0),d.read=d.write=i},d.sync_point=function(){return u==M?1:0}}var q=32,N=8,V=0,H=1,J=2,Y=3,Z=4,$=5,G=6,K=7,Q=12,X=13,ee=[0,0,255,255];function te(){}te.prototype={inflateInit:function(e){return this.istate=new function(){var e=this;function o(e){return e&&e.istate?(e.total_in=e.total_out=0,e.msg=null,e.istate.mode=K,e.istate.blocks.reset(e,null),t):r}e.mode=0,e.method=0,e.was=[0],e.need=0,e.marker=0,e.wbits=0,e.inflateEnd=function(i){return e.blocks&&e.blocks.free(i),e.blocks=null,t},e.inflateInit=function(i,n){return i.msg=null,e.blocks=null,n<8||n>15?(e.inflateEnd(i),r):(e.wbits=n,i.istate.blocks=new j(i,1<<n),o(i),t)},e.inflate=function(e,o){var f,l;if(!e||!e.istate||!e.next_in)return r;for(o=o==u?s:t,f=s;;)switch(e.istate.mode){case V:if(0===e.avail_in)return f;if(f=o,e.avail_in--,e.total_in++,(15&(e.istate.method=e.read_byte(e.next_in_index++)))!=N){e.istate.mode=X,e.msg="unknown compression method",e.istate.marker=5;break}if(8+(e.istate.method>>4)>e.istate.wbits){e.istate.mode=X,e.msg="invalid window size",e.istate.marker=5;break}e.istate.mode=H;case H:if(0===e.avail_in)return f;if(f=o,e.avail_in--,e.total_in++,l=255&e.read_byte(e.next_in_index++),((e.istate.method<<8)+l)%31!=0){e.istate.mode=X,e.msg="incorrect header check",e.istate.marker=5;break}if(0==(l&q)){e.istate.mode=K;break}e.istate.mode=J;case J:if(0===e.avail_in)return f;f=o,e.avail_in--,e.total_in++,e.istate.need=(255&e.read_byte(e.next_in_index++))<<24&4278190080,e.istate.mode=Y;case Y:if(0===e.avail_in)return f;f=o,e.avail_in--,e.total_in++,e.istate.need+=(255&e.read_byte(e.next_in_index++))<<16&16711680,e.istate.mode=Z;case Z:if(0===e.avail_in)return f;f=o,e.avail_in--,e.total_in++,e.istate.need+=(255&e.read_byte(e.next_in_index++))<<8&65280,e.istate.mode=$;case $:return 0===e.avail_in?f:(f=o,e.avail_in--,e.total_in++,e.istate.need+=255&e.read_byte(e.next_in_index++),e.istate.mode=G,n);case G:return e.istate.mode=X,e.msg="need dictionary",e.istate.marker=0,r;case K:if((f=e.istate.blocks.proc(e,f))==a){e.istate.mode=X,e.istate.marker=0;break}if(f==t&&(f=o),f!=i)return f;f=o,e.istate.blocks.reset(e,e.istate.was),e.istate.mode=Q;case Q:return i;case X:return a;default:return r}},e.inflateSetDictionary=function(e,i,n){var a=0,o=n;return e&&e.istate&&e.istate.mode==G?(o>=1<<e.istate.wbits&&(a=n-(o=(1<<e.istate.wbits)-1)),e.istate.blocks.set_dictionary(i,a,o),e.istate.mode=K,t):r},e.inflateSync=function(e){var i,n,f,l,d;if(!e||!e.istate)return r;if(e.istate.mode!=X&&(e.istate.mode=X,e.istate.marker=0),0===(i=e.avail_in))return s;for(n=e.next_in_index,f=e.istate.marker;0!==i&&f<4;)e.read_byte(n)==ee[f]?f++:f=0!==e.read_byte(n)?0:4-f,n++,i--;return e.total_in+=n-e.next_in_index,e.next_in_index=n,e.avail_in=i,e.istate.marker=f,4!=f?a:(l=e.total_in,d=e.total_out,o(e),e.total_in=l,e.total_out=d,e.istate.mode=K,t)},e.inflateSyncPoint=function(e){return e&&e.istate&&e.istate.blocks?e.istate.blocks.sync_point():r}},e||(e=15),this.istate.inflateInit(this,e)},inflate:function(e){return this.istate?this.istate.inflate(this,e):r},inflateEnd:function(){if(!this.istate)return r;var e=this.istate.inflateEnd(this);return this.istate=null,e},inflateSync:function(){return this.istate?this.istate.inflateSync(this):r},inflateSetDictionary:function(e,t){return this.istate?this.istate.inflateSetDictionary(this,e,t):r},read_byte:function(e){return this.next_in.subarray(e,e+1)[0]},read_buf:function(e,t){return this.next_in.subarray(e,e+t)}};var ie=e.zip||e;ie.Inflater=ie._jzlib_Inflater=function(){var e=new te,n=d,r=new Uint8Array(512),a=!1;e.inflateInit(),e.next_out=r,this.append=function(o,f){var l,d,u=[],_=0,c=0,w=0;if(0!==o.length){e.next_in_index=0,e.next_in=o,e.avail_in=o.length;do{if(e.next_out_index=0,e.avail_out=512,0!==e.avail_in||a||(e.next_in_index=0,a=!0),l=e.inflate(n),a&&l===s){if(0!==e.avail_in)throw new Error("inflating: bad input")}else if(l!==t&&l!==i)throw new Error("inflating: "+e.msg);if((a||l===i)&&e.avail_in===o.length)throw new Error("inflating: bad input");e.next_out_index&&(512===e.next_out_index?u.push(new Uint8Array(r)):u.push(new Uint8Array(r.subarray(0,e.next_out_index)))),w+=e.next_out_index,f&&e.next_in_index>0&&e.next_in_index!=_&&(f(e.next_in_index),_=e.next_in_index)}while(e.avail_in>0||0===e.avail_out);return d=new Uint8Array(w),u.forEach(function(e){d.set(e,c),c+=e.length}),d}},this.flush=function(){e.inflateEnd()}}}(this),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).perfCascadeFileReader=e()}}(function(){return function(){return function e(t,i,n){function r(o,s){if(!i[o]){if(!t[o]){var f="function"==typeof require&&require;if(!s&&f)return f(o,!0);if(a)return a(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var d=i[o]={exports:{}};t[o][0].call(d.exports,function(e){var i=t[o][1][e];return r(i||e)},d,d.exports,e,t,i,n)}return i[o].exports}for(var a="function"==typeof require&&require,o=0;o<n.length;o++)r(n[o]);return r}}()({1:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),zip.useWebWorkers=!1,i.readFile=function(e,t,i,n){if(!e)return i(new Error("Failed to load HAR file"));function r(e){try{var t=JSON.parse(e);i(null,t.log)}catch(e){i(e)}}var a=(t.match(/\.[0-9a-z]+$/i)||[])[0];if(-1!==[".zhar",".zip"].indexOf(a))zip.createReader(new zip.BlobReader(e),function(e){e.getEntries(function(t){t[0].getData(new zip.TextWriter,function(t){r(t),e.close()},n)})});else{var o=new FileReader;o.addEventListener("load",function(e){r(e.target.result)}),o.readAsText(e)}}},{}]},{},[1])(1)});
!function(g){"use strict";var a,k="File format is not recognized.",o="File contains encrypted entry.",s="File is using Zip64 (4gb+ file size).",_="Error while reading zip file.",n="Error while reading file data.",x=524288,f="text/plain";try{a=0===new Blob([new DataView(new ArrayBuffer(0))]).size}catch(e){}function i(){this.crc=-1}function u(){}function U(e,t){var i,n;return i=new ArrayBuffer(e),n=new Uint8Array(i),t&&n.set(t,0),{buffer:i,array:n,view:new DataView(i)}}function e(){}function t(n){var r,a=this;a.size=0,a.init=function(e,t){var i=new Blob([n],{type:f});(r=new l(i)).init(function(){a.size=r.size,e()},t)},a.readUint8Array=function(e,t,i,n){r.readUint8Array(e,t,i,n)}}function r(l){var d,i=this;i.size=0,i.init=function(e){for(var t=l.length;"="==l.charAt(t-1);)t--;d=l.indexOf(",")+1,i.size=Math.floor(.75*(t-d)),e()},i.readUint8Array=function(e,t,i){var n,r=U(t),a=4*Math.floor(e/3),o=4*Math.ceil((e+t)/3),s=g.atob(l.substring(a+d,o+d)),f=e-3*Math.floor(a/4);for(n=f;n<f+t;n++)r.array[n-f]=s.charCodeAt(n);i(r.array)}}function l(a){var t=this;t.size=0,t.init=function(e){t.size=a.size,e()},t.readUint8Array=function(e,t,i,n){var r=new FileReader;r.onload=function(e){i(new Uint8Array(e.target.result))},r.onerror=n;try{r.readAsArrayBuffer(function(e,t,i){if(t<0||i<0||t+i>e.size)throw new RangeError("offset:"+t+", length:"+i+", size:"+e.size);return e.slice?e.slice(t,t+i):e.webkitSlice?e.webkitSlice(t,t+i):e.mozSlice?e.mozSlice(t,t+i):e.msSlice?e.msSlice(t,t+i):void 0}(a,e,t))}catch(e){n(e)}}}function d(){}function c(n){var r;this.init=function(e){r=new Blob([],{type:f}),e()},this.writeUint8Array=function(e,t){r=new Blob([r,a?e:e.buffer],{type:f}),t()},this.getData=function(t,e){var i=new FileReader;i.onload=function(e){t(e.target.result)},i.onerror=e,i.readAsText(r,n)}}function w(t){var a="",o="";this.init=function(e){a+="data:"+(t||"")+";base64,",e()},this.writeUint8Array=function(e,t){var i,n=o.length,r=o;for(o="",i=0;i<3*Math.floor((n+e.length)/3)-n;i++)r+=String.fromCharCode(e[i]);for(;i<e.length;i++)o+=String.fromCharCode(e[i]);2<r.length?a+=g.btoa(r):o=r,t()},this.getData=function(e){e(a+g.btoa(o))}}function b(i){var n;this.init=function(e){n=new Blob([],{type:i}),e()},this.writeUint8Array=function(e,t){n=new Blob([n,a?e:e.buffer],{type:i}),t()},this.getData=function(e){e(n)}}function z(r,i,e,a,t,o,s,n,f,l){var d,u,_,c=0,w=i.sn;function b(){r.removeEventListener("message",h,!1),n(u,_)}function h(e){var t=e.data,i=t.data,n=t.error;if(n)return n.toString=function(){return"Error: "+this.message},void f(n);if(t.sn===w)switch("number"==typeof t.codecTime&&(r.codecTime+=t.codecTime),"number"==typeof t.crcTime&&(r.crcTime+=t.crcTime),t.type){case"append":i?(u+=i.length,a.writeUint8Array(i,function(){v()},l)):v();break;case"flush":_=t.crc,i?(u+=i.length,a.writeUint8Array(i,function(){b()},l)):b();break;case"progress":s&&s(d+t.loaded,o);break;case"importScripts":case"newTask":case"echo":break;default:console.warn("zip.js:launchWorkerProcess: unknown message: ",t)}}function v(){(d=c*x)<=o?e.readUint8Array(t+d,Math.min(x,o-d),function(e){s&&s(d,o);var t=0===d?i:{sn:w};t.type="append",t.data=e;try{r.postMessage(t,[e.buffer])}catch(e){r.postMessage(t)}c++},f):r.postMessage({sn:w,type:"flush"})}u=0,r.addEventListener("message",h,!1),v()}function A(n,t,r,a,o,e,s,f,l,d){var u,_=0,c=0,w="input"===e,b="output"===e,h=new i;!function i(){var e;if((u=_*x)<o)t.readUint8Array(a+u,Math.min(x,o-u),function(e){var t;try{t=n.append(e,function(e){s&&s(u+e,o)})}catch(e){return void l(e)}t?(c+=t.length,r.writeUint8Array(t,function(){_++,setTimeout(i,1)},d),b&&h.append(t)):(_++,setTimeout(i,1)),w&&h.append(e),s&&s(u,o)},l);else{try{e=n.flush()}catch(e){return void l(e)}e?(b&&h.append(e),c+=e.length,r.writeUint8Array(e,function(){f(c,h.get())},d)):f(c,h.get())}}()}function S(e,t,i,n,r,a,o,s,f,l,d){g.zip.useWebWorkers&&o?z(e,{sn:t,codecClass:"NOOP",crcType:"input"},i,n,r,a,f,s,l,d):A(new u,i,n,r,a,"input",f,s,l,d)}function h(e){var t,i,n="",r=["Ç","ü","é","â","ä","à","å","ç","ê","ë","è","ï","î","ì","Ä","Å","É","æ","Æ","ô","ö","ò","û","ù","ÿ","Ö","Ü","ø","£","Ø","×","ƒ","á","í","ó","ú","ñ","Ñ","ª","º","¿","®","¬","½","¼","¡","«","»","_","_","_","¦","¦","Á","Â","À","©","¦","¦","+","+","¢","¥","+","+","-","-","+","-","+","ã","Ã","+","+","-","-","¦","-","+","¤","ð","Ð","Ê","Ë","È","i","Í","Î","Ï","+","+","_","_","¦","Ì","_","Ó","ß","Ô","Ò","õ","Õ","µ","þ","Þ","Ú","Û","Ù","ý","Ý","¯","´","­","±","_","¾","¶","§","÷","¸","°","¨","·","¹","³","²","_"," "];for(t=0;t<e.length;t++)n+=127<(i=255&e.charCodeAt(t))?r[i-128]:String.fromCharCode(i);return n}function v(e){return decodeURIComponent(escape(e))}function E(e){var t,i="";for(t=0;t<e.length;t++)i+=String.fromCharCode(e[t]);return i}function D(e,t,i,n,r){e.version=t.view.getUint16(i,!0),e.bitFlag=t.view.getUint16(i+2,!0),e.compressionMethod=t.view.getUint16(i+4,!0),e.lastModDateRaw=t.view.getUint32(i+6,!0),e.lastModDate=function(e){var t=(4294901760&e)>>16,i=65535&e;try{return new Date(1980+((65024&t)>>9),((480&t)>>5)-1,31&t,(63488&i)>>11,(2016&i)>>5,2*(31&i),0)}catch(e){}}(e.lastModDateRaw),1!=(1&e.bitFlag)?((n||8!=(8&e.bitFlag))&&(e.crc32=t.view.getUint32(i+10,!0),e.compressedSize=t.view.getUint32(i+14,!0),e.uncompressedSize=t.view.getUint32(i+18,!0)),4294967295!==e.compressedSize&&4294967295!==e.uncompressedSize?(e.filenameLength=t.view.getUint16(i+22,!0),e.extraFieldLength=t.view.getUint16(i+24,!0)):r(s)):r(o)}function p(p,t,y){var m=0;function u(){}u.prototype.getData=function(_,r,c,w){var b=this;function h(e,t){var i,n;w&&(i=t,(n=U(4)).view.setUint32(0,i),b.crc32!=n.view.getUint32(0))?y("CRC failed."):_.getData(function(e){r(e)})}function v(e){y(e||n)}function x(e){y(e||"Error while writing file data.")}p.readUint8Array(b.offset,30,function(e){var u,t=U(e.length,e);1347093252==t.view.getUint32(0)?(D(b,t,4,!1,y),u=b.offset+30+b.filenameLength+b.extraFieldLength,_.init(function(){var e,t,i,n,r,a,o,s,f,l,d;0===b.compressionMethod?S(b._worker,m++,p,_,u,b.compressedSize,w,h,c,v,x):(e=b._worker,t=m++,i=p,n=_,r=u,a=b.compressedSize,o=h,s=c,f=v,l=x,d=w?"output":"none",g.zip.useWebWorkers?z(e,{sn:t,codecClass:"Inflater",crcType:d},i,n,r,a,s,o,f,l):A(new g.zip.Inflater,i,n,r,a,d,s,o,f,l))},x)):y(k)},v)};var i={getEntries:function(l){var d=this._worker;!function(n){var r=22;if(p.size<r)y(k);else{var e=r+65536;t(r,function(){t(Math.min(e,p.size),function(){y(k)})})}function t(e,i){p.readUint8Array(p.size-e,e,function(e){for(var t=e.length-r;0<=t;t--)if(80===e[t]&&75===e[t+1]&&5===e[t+2]&&6===e[t+3])return void n(new DataView(e.buffer,t,r));i()},function(){y(_)})}}(function(e){var t,f;t=e.getUint32(16,!0),f=e.getUint16(8,!0),t<0||t>=p.size?y(k):p.readUint8Array(t,p.size-t,function(e){var t,i,n,r,a=0,o=[],s=U(e.length,e);for(t=0;t<f;t++){if((i=new u)._worker=d,1347092738!=s.view.getUint32(a))return void y(k);D(i,s,a+6,!0,y),i.commentLength=s.view.getUint16(a+32,!0),i.directory=16==(16&s.view.getUint8(a+38)),i.offset=s.view.getUint32(a+42,!0),n=E(s.array.subarray(a+46,a+46+i.filenameLength)),i.filename=2048==(2048&i.bitFlag)?v(n):h(n),i.directory||"/"!=i.filename.charAt(i.filename.length-1)||(i.directory=!0),r=E(s.array.subarray(a+46+i.filenameLength+i.extraFieldLength,a+46+i.filenameLength+i.extraFieldLength+i.commentLength)),i.comment=2048==(2048&i.bitFlag)?v(r):h(r),o.push(i),a+=46+i.filenameLength+i.extraFieldLength+i.commentLength}l(o)},function(){y(_)})})},close:function(e){this._worker&&(this._worker.terminate(),this._worker=null),e&&e()},_worker:null};g.zip.useWebWorkers?M("inflater",function(e){i._worker=e,t(i)},function(e){y(e)}):t(i)}function m(e){return unescape(encodeURIComponent(e))}function F(e){var t,i=[];for(t=0;t<e.length;t++)i.push(e.charCodeAt(t));return i}function y(w,t,s,b){var f={},h=[],v=0,x=0;function p(e){s(e||"Error while writing zip file.")}function y(e){s(e||n)}var i={add:function(i,l,n,d,u){var r,a,o,_=this._worker;function c(e,t){var i=U(16);v+=e||0,i.view.setUint32(0,1347094280),void 0!==t&&(r.view.setUint32(10,t,!0),i.view.setUint32(4,t,!0)),l&&(i.view.setUint32(8,e,!0),r.view.setUint32(14,e,!0),i.view.setUint32(12,l.size,!0),r.view.setUint32(18,l.size,!0)),w.writeUint8Array(i.array,function(){v+=16,n()},p)}function e(){var e,t;(u=u||{},i=i.trim(),u.directory&&"/"!=i.charAt(i.length-1)&&(i+="/"),f.hasOwnProperty(i))?s("File already exists."):(a=F(m(i)),h.push(i),e=function(){var e,t,i,n,r,a,o,s,f;l?b||0===u.level?S(_,x++,l,w,0,l.size,!0,c,d,y,p):(e=_,t=x++,i=l,n=w,r=u.level,a=c,o=d,s=y,f=p,g.zip.useWebWorkers?z(e,{sn:t,options:{level:r},codecClass:"Deflater",crcType:"input"},i,n,0,i.size,o,a,s,f):A(new g.zip.Deflater,i,n,0,i.size,"input",o,a,s,f)):c()},o=u.lastModDate||new Date,r=U(26),f[i]={headerArray:r.array,directory:u.directory,filename:a,offset:v,comment:F(m(u.comment||""))},r.view.setUint32(0,335546376),u.version&&r.view.setUint8(0,u.version),b||0===u.level||u.directory||r.view.setUint16(4,2048),r.view.setUint16(6,(o.getHours()<<6|o.getMinutes())<<5|o.getSeconds()/2,!0),r.view.setUint16(8,(o.getFullYear()-1980<<4|o.getMonth()+1)<<5|o.getDate(),!0),r.view.setUint16(22,a.length,!0),(t=U(30+a.length)).view.setUint32(0,1347093252),t.array.set(r.array,4),t.array.set(a,30),v+=t.array.length,w.writeUint8Array(t.array,e,p))}l?l.init(e,y):e()},close:function(e){this._worker&&(this._worker.terminate(),this._worker=null);var t,i,n,r=0,a=0;for(i=0;i<h.length;i++)r+=46+(n=f[h[i]]).filename.length+n.comment.length;for(t=U(r+22),i=0;i<h.length;i++)n=f[h[i]],t.view.setUint32(a,1347092738),t.view.setUint16(a+4,5120),t.array.set(n.headerArray,a+6),t.view.setUint16(a+32,n.comment.length,!0),n.directory&&t.view.setUint8(a+38,16),t.view.setUint32(a+42,n.offset,!0),t.array.set(n.filename,a+46),t.array.set(n.comment,a+46+n.filename.length),a+=46+n.filename.length+n.comment.length;t.view.setUint32(a,1347093766),t.view.setUint16(a+8,h.length,!0),t.view.setUint16(a+10,h.length,!0),t.view.setUint32(a+12,r,!0),t.view.setUint32(a+16,v,!0),w.writeUint8Array(t.array,function(){w.getData(e)},p)},_worker:null};g.zip.useWebWorkers?M("deflater",function(e){i._worker=e,t(i)},function(e){s(e)}):t(i)}i.prototype.append=function(e){for(var t=0|this.crc,i=this.table,n=0,r=0|e.length;n<r;n++)t=t>>>8^i[255&(t^e[n])];this.crc=t},i.prototype.get=function(){return~this.crc},i.prototype.table=function(){var e,t,i,n=[];for(e=0;e<256;e++){for(i=e,t=0;t<8;t++)1&i?i=i>>>1^3988292384:i>>>=1;n[e]=i}return n}(),u.prototype.append=function(e,t){return e},u.prototype.flush=function(){},(t.prototype=new e).constructor=t,(r.prototype=new e).constructor=r,(l.prototype=new e).constructor=l,d.prototype.getData=function(e){e(this.data)},(c.prototype=new d).constructor=c,(w.prototype=new d).constructor=w,(b.prototype=new d).constructor=b;var L={deflater:["z-worker.js","deflate.js"],inflater:["z-worker.js","inflate.js"]};function M(e,n,r){if(null===g.zip.workerScripts||null===g.zip.workerScriptsPath){var t,i,a;if(g.zip.workerScripts){if(t=g.zip.workerScripts[e],!Array.isArray(t))return void r(new Error("zip.workerScripts."+e+" is not an array!"));i=t,a=document.createElement("a"),t=i.map(function(e){return a.href=e,a.href})}else(t=L[e].slice(0))[0]=(g.zip.workerScriptsPath||"")+t[0];var o=new Worker(t[0]);o.codecTime=o.crcTime=0,o.postMessage({type:"importScripts",scripts:t.slice(1)}),o.addEventListener("message",function e(t){var i=t.data;if(i.error)return o.terminate(),void r(i.error);"importScripts"===i.type&&(o.removeEventListener("message",e),o.removeEventListener("error",s),n(o))}),o.addEventListener("error",s)}else r(new Error("Either zip.workerScripts or zip.workerScriptsPath may be set, not both."));function s(e){o.terminate(),r(e)}}function W(e){console.error(e)}g.zip={Reader:e,Writer:d,BlobReader:l,Data64URIReader:r,TextReader:t,BlobWriter:b,Data64URIWriter:w,TextWriter:c,createReader:function(e,t,i){i=i||W,e.init(function(){p(e,t,i)},i)},createWriter:function(e,t,i,n){i=i||W,n=!!n,e.init(function(){y(e,t,i,n)},i)},useWebWorkers:!0,workerScriptsPath:null,workerScripts:null}}(this),function(e){"use strict";var M=0,W=1,C=-2,R=-3,w=-4,T=-5,I=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],B=1440,r=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],a=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],b=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],h=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],v=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],x=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=15;function O(){var d,u,A,S,E,D;function _(e,t,i,n,r,a,o,s,f,l,d){var u,_,c,w,b,h,v,x,p,y,m,g,k,U,z;for(y=0,b=i;A[e[t+y]]++,y++,0!==--b;);if(A[0]==i)return o[0]=-1,s[0]=0,M;for(x=s[0],h=1;h<=F&&0===A[h];h++);for(x<(v=h)&&(x=h),b=F;0!==b&&0===A[b];b--);for((c=b)<x&&(x=b),s[0]=x,U=1<<h;h<b;h++,U<<=1)if((U-=A[h])<0)return R;if((U-=A[b])<0)return R;for(A[b]+=U,D[1]=h=0,y=1,k=2;0!=--b;)D[k]=h+=A[y],k++,y++;for(y=b=0;0!==(h=e[t+y])&&(d[D[h]++]=b),y++,++b<i;);for(i=D[c],D[0]=b=0,w=-1,g=-x,z=m=E[y=0]=0;v<=c;v++)for(u=A[v];0!=u--;){for(;g+x<v;){if(w++,z=x<(z=c-(g+=x))?x:z,(_=1<<(h=v-g))>u+1&&(_-=u+1,k=v,h<z))for(;++h<z&&!((_<<=1)<=A[++k]);)_-=A[k];if(z=1<<h,l[0]+z>B)return R;E[w]=m=l[0],l[0]+=z,0!==w?(D[w]=b,S[0]=h,h=b>>>g-(S[1]=x),S[2]=m-E[w-1]-h,f.set(S,3*(E[w-1]+h))):o[0]=m}for(S[1]=v-g,i<=y?S[0]=192:d[y]<n?(S[0]=d[y]<256?0:96,S[2]=d[y++]):(S[0]=a[d[y]-n]+16+64,S[2]=r[d[y++]-n]),_=1<<v-g,h=b>>>g;h<z;h+=_)f.set(S,3*(m+h));for(h=1<<v-1;0!=(b&h);h>>>=1)b^=h;for(b^=h,p=(1<<g)-1;(b&p)!=D[w];)w--,p=(1<<(g-=x))-1}return 0!==U&&1!=c?T:M}function c(e){var t;for(d||(d=[],u=[],A=new Int32Array(F+1),S=[],E=new Int32Array(F),D=new Int32Array(F+1)),u.length<e&&(u=[]),t=0;t<e;t++)u[t]=0;for(t=0;t<F+1;t++)A[t]=0;for(t=0;t<3;t++)S[t]=0;E.set(A.subarray(0,F),0),D.set(A.subarray(0,F+1),0)}this.inflate_trees_bits=function(e,t,i,n,r){var a;return c(19),(a=_(e,d[0]=0,19,19,null,null,i,t,n,d,u))==R?r.msg="oversubscribed dynamic bit lengths tree":a!=T&&0!==t[0]||(r.msg="incomplete dynamic bit lengths tree",a=R),a},this.inflate_trees_dynamic=function(e,t,i,n,r,a,o,s,f){var l;return c(288),(l=_(i,d[0]=0,e,257,b,h,a,n,s,d,u))!=M||0===n[0]?(l==R?f.msg="oversubscribed literal/length tree":l!=w&&(f.msg="incomplete literal/length tree",l=R),l):(c(288),(l=_(i,e,t,0,v,x,o,r,s,d,u))!=M||0===r[0]&&257<e?(l==R?f.msg="oversubscribed distance tree":l==T?(f.msg="incomplete distance tree",l=R):l!=w&&(f.msg="empty distance tree with lengths",l=R),l):M)}}O.inflate_trees_fixed=function(e,t,i,n){return e[0]=9,t[0]=5,i[0]=r,n[0]=a,M};var E=0,D=1,L=2,P=3,j=4,q=5,N=6,V=7,H=8,J=9;function i(){var c,w,b,h,v=0,x=0,p=0,y=0,m=0,g=0,k=0,U=0,z=0,A=0;function S(e,t,i,n,r,a,o,s){var f,l,d,u,_,c,w,b,h,v,x,p,y,m,g,k;w=s.next_in_index,b=s.avail_in,_=o.bitb,c=o.bitk,v=(h=o.write)<o.read?o.read-h-1:o.end-h,x=I[e],p=I[t];do{for(;c<20;)b--,_|=(255&s.read_byte(w++))<<c,c+=8;if(0!==(u=(l=i)[k=3*((d=n)+(f=_&x))]))for(;;){if(_>>=l[k+1],c-=l[k+1],0!=(16&u)){for(u&=15,y=l[k+2]+(_&I[u]),_>>=u,c-=u;c<15;)b--,_|=(255&s.read_byte(w++))<<c,c+=8;for(u=(l=r)[k=3*((d=a)+(f=_&p))];;){if(_>>=l[k+1],c-=l[k+1],0!=(16&u)){for(u&=15;c<u;)b--,_|=(255&s.read_byte(w++))<<c,c+=8;if(m=l[k+2]+(_&I[u]),_>>=u,c-=u,v-=y,m<=h)0<h-(g=h-m)&&h-g<2?(o.window[h++]=o.window[g++],o.window[h++]=o.window[g++]):(o.window.set(o.window.subarray(g,g+2),h),h+=2,g+=2),y-=2;else{for(g=h-m;(g+=o.end)<0;);if((u=o.end-g)<y){if(y-=u,0<h-g&&h-g<u)for(;o.window[h++]=o.window[g++],0!=--u;);else o.window.set(o.window.subarray(g,g+u),h),h+=u,g+=u,u=0;g=0}}if(0<h-g&&h-g<y)for(;o.window[h++]=o.window[g++],0!=--y;);else o.window.set(o.window.subarray(g,g+y),h),h+=y,g+=y,y=0;break}if(0!=(64&u))return s.msg="invalid distance code",b+=y=c>>3<(y=s.avail_in-b)?c>>3:y,w-=y,c-=y<<3,o.bitb=_,o.bitk=c,s.avail_in=b,s.total_in+=w-s.next_in_index,s.next_in_index=w,o.write=h,R;f+=l[k+2],u=l[k=3*(d+(f+=_&I[u]))]}break}if(0!=(64&u))return 0!=(32&u)?(b+=y=c>>3<(y=s.avail_in-b)?c>>3:y,w-=y,c-=y<<3,o.bitb=_,o.bitk=c,s.avail_in=b,s.total_in+=w-s.next_in_index,s.next_in_index=w,o.write=h,W):(s.msg="invalid literal/length code",b+=y=c>>3<(y=s.avail_in-b)?c>>3:y,w-=y,c-=y<<3,o.bitb=_,o.bitk=c,s.avail_in=b,s.total_in+=w-s.next_in_index,s.next_in_index=w,o.write=h,R);if(f+=l[k+2],0===(u=l[k=3*(d+(f+=_&I[u]))])){_>>=l[k+1],c-=l[k+1],o.window[h++]=l[k+2],v--;break}}else _>>=l[k+1],c-=l[k+1],o.window[h++]=l[k+2],v--}while(258<=v&&10<=b);return b+=y=c>>3<(y=s.avail_in-b)?c>>3:y,w-=y,c-=y<<3,o.bitb=_,o.bitk=c,s.avail_in=b,s.total_in+=w-s.next_in_index,s.next_in_index=w,o.write=h,M}this.init=function(e,t,i,n,r,a){c=E,k=e,U=t,b=i,z=n,h=r,A=a,w=null},this.proc=function(e,t,i){var n,r,a,o,s,f,l,d=0,u=0,_=0;for(_=t.next_in_index,o=t.avail_in,d=e.bitb,u=e.bitk,f=(s=e.write)<e.read?e.read-s-1:e.end-s;;)switch(c){case E:if(258<=f&&10<=o&&(e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,i=S(k,U,b,z,h,A,e,t),_=t.next_in_index,o=t.avail_in,d=e.bitb,u=e.bitk,f=(s=e.write)<e.read?e.read-s-1:e.end-s,i!=M)){c=i==W?V:J;break}p=k,w=b,x=z,c=D;case D:for(n=p;u<n;){if(0===o)return e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);i=M,o--,d|=(255&t.read_byte(_++))<<u,u+=8}if(r=3*(x+(d&I[n])),d>>>=w[r+1],u-=w[r+1],0===(a=w[r])){y=w[r+2],c=N;break}if(0!=(16&a)){m=15&a,v=w[r+2],c=L;break}if(0==(64&a)){p=a,x=r/3+w[r+2];break}if(0==(32&a))return c=J,t.msg="invalid literal/length code",i=R,e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);c=V;break;case L:for(n=m;u<n;){if(0===o)return e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);i=M,o--,d|=(255&t.read_byte(_++))<<u,u+=8}v+=d&I[n],d>>=n,u-=n,p=U,w=h,x=A,c=P;case P:for(n=p;u<n;){if(0===o)return e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);i=M,o--,d|=(255&t.read_byte(_++))<<u,u+=8}if(r=3*(x+(d&I[n])),d>>=w[r+1],u-=w[r+1],0!=(16&(a=w[r]))){m=15&a,g=w[r+2],c=j;break}if(0!=(64&a))return c=J,t.msg="invalid distance code",i=R,e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);p=a,x=r/3+w[r+2];break;case j:for(n=m;u<n;){if(0===o)return e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);i=M,o--,d|=(255&t.read_byte(_++))<<u,u+=8}g+=d&I[n],d>>=n,u-=n,c=q;case q:for(l=s-g;l<0;)l+=e.end;for(;0!==v;){if(0===f&&(s==e.end&&0!==e.read&&(f=(s=0)<e.read?e.read-s-1:e.end-s),0===f&&(e.write=s,i=e.inflate_flush(t,i),f=(s=e.write)<e.read?e.read-s-1:e.end-s,s==e.end&&0!==e.read&&(f=(s=0)<e.read?e.read-s-1:e.end-s),0===f)))return e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);e.window[s++]=e.window[l++],f--,l==e.end&&(l=0),v--}c=E;break;case N:if(0===f&&(s==e.end&&0!==e.read&&(f=(s=0)<e.read?e.read-s-1:e.end-s),0===f&&(e.write=s,i=e.inflate_flush(t,i),f=(s=e.write)<e.read?e.read-s-1:e.end-s,s==e.end&&0!==e.read&&(f=(s=0)<e.read?e.read-s-1:e.end-s),0===f)))return e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);i=M,e.window[s++]=y,f--,c=E;break;case V:if(7<u&&(u-=8,o++,_--),e.write=s,i=e.inflate_flush(t,i),f=(s=e.write)<e.read?e.read-s-1:e.end-s,e.read!=e.write)return e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);c=H;case H:return i=W,e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);case J:return i=R,e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);default:return i=C,e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i)}},this.free=function(){}}var Y=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Z=0,$=1,G=2,K=3,Q=4,X=5,ee=6,te=7,ie=8,ne=9;function n(e,t){var y,m=this,g=Z,k=0,U=0,z=0,A=[0],S=[0],E=new i,D=0,F=new Int32Array(3*B),L=new O;m.bitk=0,m.bitb=0,m.window=new Uint8Array(t),m.end=t,m.read=0,m.write=0,m.reset=function(e,t){t&&(t[0]=0),g==ee&&E.free(e),g=Z,m.bitk=0,m.bitb=0,m.read=m.write=0},m.reset(e,null),m.inflate_flush=function(e,t){var i,n,r;return n=e.next_out_index,(i=((r=m.read)<=m.write?m.write:m.end)-r)>e.avail_out&&(i=e.avail_out),0!==i&&t==T&&(t=M),e.avail_out-=i,e.total_out+=i,e.next_out.set(m.window.subarray(r,r+i),n),n+=i,(r+=i)==m.end&&(r=0,m.write==m.end&&(m.write=0),(i=m.write-r)>e.avail_out&&(i=e.avail_out),0!==i&&t==T&&(t=M),e.avail_out-=i,e.total_out+=i,e.next_out.set(m.window.subarray(r,r+i),n),n+=i,r+=i),e.next_out_index=n,m.read=r,t},m.proc=function(e,t){var i,n,r,a,o,s,f,l;for(a=e.next_in_index,o=e.avail_in,n=m.bitb,r=m.bitk,f=(s=m.write)<m.read?m.read-s-1:m.end-s;;)switch(g){case Z:for(;r<3;){if(0===o)return m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);t=M,o--,n|=(255&e.read_byte(a++))<<r,r+=8}switch(D=1&(i=7&n),i>>>1){case 0:n>>>=3,n>>>=i=7&(r-=3),r-=i,g=$;break;case 1:var d=[],u=[],_=[[]],c=[[]];O.inflate_trees_fixed(d,u,_,c),E.init(d[0],u[0],_[0],0,c[0],0),n>>>=3,r-=3,g=ee;break;case 2:n>>>=3,r-=3,g=K;break;case 3:return n>>>=3,r-=3,g=ne,e.msg="invalid block type",t=R,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t)}break;case $:for(;r<32;){if(0===o)return m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);t=M,o--,n|=(255&e.read_byte(a++))<<r,r+=8}if((~n>>>16&65535)!=(65535&n))return g=ne,e.msg="invalid stored block lengths",t=R,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);k=65535&n,n=r=0,g=0!==k?G:0!==D?te:Z;break;case G:if(0===o)return m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);if(0===f&&(s==m.end&&0!==m.read&&(f=(s=0)<m.read?m.read-s-1:m.end-s),0===f&&(m.write=s,t=m.inflate_flush(e,t),f=(s=m.write)<m.read?m.read-s-1:m.end-s,s==m.end&&0!==m.read&&(f=(s=0)<m.read?m.read-s-1:m.end-s),0===f)))return m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);if(t=M,o<(i=k)&&(i=o),f<i&&(i=f),m.window.set(e.read_buf(a,i),s),a+=i,o-=i,s+=i,f-=i,0!=(k-=i))break;g=0!==D?te:Z;break;case K:for(;r<14;){if(0===o)return m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);t=M,o--,n|=(255&e.read_byte(a++))<<r,r+=8}if(U=i=16383&n,29<(31&i)||29<(i>>5&31))return g=ne,e.msg="too many length or distance symbols",t=R,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);if(i=258+(31&i)+(i>>5&31),!y||y.length<i)y=[];else for(l=0;l<i;l++)y[l]=0;n>>>=14,r-=14,z=0,g=Q;case Q:for(;z<4+(U>>>10);){for(;r<3;){if(0===o)return m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);t=M,o--,n|=(255&e.read_byte(a++))<<r,r+=8}y[Y[z++]]=7&n,n>>>=3,r-=3}for(;z<19;)y[Y[z++]]=0;if(A[0]=7,(i=L.inflate_trees_bits(y,A,S,F,e))!=M)return(t=i)==R&&(y=null,g=ne),m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);z=0,g=X;case X:for(;!(258+(31&(i=U))+(i>>5&31)<=z);){var w,b;for(i=A[0];r<i;){if(0===o)return m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);t=M,o--,n|=(255&e.read_byte(a++))<<r,r+=8}if(i=F[3*(S[0]+(n&I[i]))+1],(b=F[3*(S[0]+(n&I[i]))+2])<16)n>>>=i,r-=i,y[z++]=b;else{for(l=18==b?7:b-14,w=18==b?11:3;r<i+l;){if(0===o)return m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);t=M,o--,n|=(255&e.read_byte(a++))<<r,r+=8}if(r-=i,w+=(n>>>=i)&I[l],n>>>=l,r-=l,258+(31&(i=U))+(i>>5&31)<(l=z)+w||16==b&&l<1)return y=null,g=ne,e.msg="invalid bit length repeat",t=R,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);for(b=16==b?y[l-1]:0;y[l++]=b,0!=--w;);z=l}}S[0]=-1;var h=[],v=[],x=[],p=[];if(h[0]=9,v[0]=6,i=U,(i=L.inflate_trees_dynamic(257+(31&i),1+(i>>5&31),y,h,v,x,p,F,e))!=M)return i==R&&(y=null,g=ne),t=i,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);E.init(h[0],v[0],F,x[0],F,p[0]),g=ee;case ee:if(m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,(t=E.proc(m,e,t))!=W)return m.inflate_flush(e,t);if(t=M,E.free(e),a=e.next_in_index,o=e.avail_in,n=m.bitb,r=m.bitk,f=(s=m.write)<m.read?m.read-s-1:m.end-s,0===D){g=Z;break}g=te;case te:if(m.write=s,t=m.inflate_flush(e,t),f=(s=m.write)<m.read?m.read-s-1:m.end-s,m.read!=m.write)return m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);g=ie;case ie:return t=W,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);case ne:return t=R,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);default:return t=C,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t)}},m.free=function(e){m.reset(e,null),m.window=null,F=null},m.set_dictionary=function(e,t,i){m.window.set(e.subarray(t,t+i),0),m.read=m.write=i},m.sync_point=function(){return g==$?1:0}}var s=[0,0,255,255];function t(){var i=this;function o(e){return e&&e.istate?(e.total_in=e.total_out=0,e.msg=null,e.istate.mode=7,e.istate.blocks.reset(e,null),M):C}i.mode=0,i.method=0,i.was=[0],i.need=0,i.marker=0,i.wbits=0,i.inflateEnd=function(e){return i.blocks&&i.blocks.free(e),i.blocks=null,M},i.inflateInit=function(e,t){return e.msg=null,i.blocks=null,t<8||15<t?(i.inflateEnd(e),C):(i.wbits=t,e.istate.blocks=new n(e,1<<t),o(e),M)},i.inflate=function(e,t){var i,n;if(!e||!e.istate||!e.next_in)return C;for(t=4==t?T:M,i=T;;)switch(e.istate.mode){case 0:if(0===e.avail_in)return i;if(i=t,e.avail_in--,e.total_in++,8!=(15&(e.istate.method=e.read_byte(e.next_in_index++)))){e.istate.mode=13,e.msg="unknown compression method",e.istate.marker=5;break}if(8+(e.istate.method>>4)>e.istate.wbits){e.istate.mode=13,e.msg="invalid window size",e.istate.marker=5;break}e.istate.mode=1;case 1:if(0===e.avail_in)return i;if(i=t,e.avail_in--,e.total_in++,n=255&e.read_byte(e.next_in_index++),((e.istate.method<<8)+n)%31!=0){e.istate.mode=13,e.msg="incorrect header check",e.istate.marker=5;break}if(0==(32&n)){e.istate.mode=7;break}e.istate.mode=2;case 2:if(0===e.avail_in)return i;i=t,e.avail_in--,e.total_in++,e.istate.need=(255&e.read_byte(e.next_in_index++))<<24&4278190080,e.istate.mode=3;case 3:if(0===e.avail_in)return i;i=t,e.avail_in--,e.total_in++,e.istate.need+=(255&e.read_byte(e.next_in_index++))<<16&16711680,e.istate.mode=4;case 4:if(0===e.avail_in)return i;i=t,e.avail_in--,e.total_in++,e.istate.need+=(255&e.read_byte(e.next_in_index++))<<8&65280,e.istate.mode=5;case 5:return 0===e.avail_in?i:(i=t,e.avail_in--,e.total_in++,e.istate.need+=255&e.read_byte(e.next_in_index++),e.istate.mode=6,2);case 6:return e.istate.mode=13,e.msg="need dictionary",e.istate.marker=0,C;case 7:if((i=e.istate.blocks.proc(e,i))==R){e.istate.mode=13,e.istate.marker=0;break}if(i==M&&(i=t),i!=W)return i;i=t,e.istate.blocks.reset(e,e.istate.was),e.istate.mode=12;case 12:return W;case 13:return R;default:return C}},i.inflateSetDictionary=function(e,t,i){var n=0,r=i;return e&&e.istate&&6==e.istate.mode?(r>=1<<e.istate.wbits&&(n=i-(r=(1<<e.istate.wbits)-1)),e.istate.blocks.set_dictionary(t,n,r),e.istate.mode=7,M):C},i.inflateSync=function(e){var t,i,n,r,a;if(!e||!e.istate)return C;if(13!=e.istate.mode&&(e.istate.mode=13,e.istate.marker=0),0===(t=e.avail_in))return T;for(i=e.next_in_index,n=e.istate.marker;0!==t&&n<4;)e.read_byte(i)==s[n]?n++:n=0!==e.read_byte(i)?0:4-n,i++,t--;return e.total_in+=i-e.next_in_index,e.next_in_index=i,e.avail_in=t,4!=(e.istate.marker=n)?R:(r=e.total_in,a=e.total_out,o(e),e.total_in=r,e.total_out=a,e.istate.mode=7,M)},i.inflateSyncPoint=function(e){return e&&e.istate&&e.istate.blocks?e.istate.blocks.sync_point():C}}function o(){}o.prototype={inflateInit:function(e){return this.istate=new t,e||(e=15),this.istate.inflateInit(this,e)},inflate:function(e){return this.istate?this.istate.inflate(this,e):C},inflateEnd:function(){if(!this.istate)return C;var e=this.istate.inflateEnd(this);return this.istate=null,e},inflateSync:function(){return this.istate?this.istate.inflateSync(this):C},inflateSetDictionary:function(e,t){return this.istate?this.istate.inflateSetDictionary(this,e,t):C},read_byte:function(e){return this.next_in.subarray(e,e+1)[0]},read_buf:function(e,t){return this.next_in.subarray(e,e+t)}};var f=e.zip||e;f.Inflater=f._jzlib_Inflater=function(){var f=new o,l=new Uint8Array(512),d=!1;f.inflateInit(),f.next_out=l,this.append=function(e,t){var i,n,r=[],a=0,o=0,s=0;if(0!==e.length){f.next_in_index=0,f.next_in=e,f.avail_in=e.length;do{if(f.next_out_index=0,f.avail_out=512,0!==f.avail_in||d||(f.next_in_index=0,d=!0),i=f.inflate(0),d&&i===T){if(0!==f.avail_in)throw new Error("inflating: bad input")}else if(i!==M&&i!==W)throw new Error("inflating: "+f.msg);if((d||i===W)&&f.avail_in===e.length)throw new Error("inflating: bad input");f.next_out_index&&(512===f.next_out_index?r.push(new Uint8Array(l)):r.push(new Uint8Array(l.subarray(0,f.next_out_index)))),s+=f.next_out_index,t&&0<f.next_in_index&&f.next_in_index!=a&&(t(f.next_in_index),a=f.next_in_index)}while(0<f.avail_in||0===f.avail_out);return n=new Uint8Array(s),r.forEach(function(e){n.set(e,o),o+=e.length}),n}},this.flush=function(){f.inflateEnd()}}}(this),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).perfCascadeFileReader=e()}}(function(){return function a(o,s,f){function l(t,e){if(!s[t]){if(!o[t]){var i="function"==typeof require&&require;if(!e&&i)return i(t,!0);if(d)return d(t,!0);var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}var r=s[t]={exports:{}};o[t][0].call(r.exports,function(e){return l(o[t][1][e]||e)},r,r.exports,a,o,s,f)}return s[t].exports}for(var d="function"==typeof require&&require,e=0;e<f.length;e++)l(f[e]);return l}({1:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.readFile=function(e,t,i,n){if(!e)return i(new Error("Failed to load HAR file"));function r(e){try{var t=JSON.parse(e);i(null,t.log)}catch(e){i(e)}}var a,o=(t.match(/\.[0-9a-z]+$/i)||[])[0],s=((a=window.zip||{}).useWebWorkers=!1,a);if(-1!==[".zhar",".zip"].indexOf(o))s.createReader(new s.BlobReader(e),function(t){t.getEntries(function(e){e[0].getData(new s.TextWriter,function(e){r(e),t.close()},n)})});else{var f=new FileReader;f.addEventListener("load",function(e){r(e.target.result)}),f.readAsText(e)}}},{}]},{},[1])(1)});

@@ -1,3 +0,3 @@

/*! github.com/micmro/PerfCascade Version:2.5.2 (31/05/2018) */
/*! github.com/micmro/PerfCascade Version:2.5.4 (03/09/2018) */
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).perfCascade=e()}}(function(){return function(){return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var d=n[a]={exports:{}};t[a][0].call(d.exports,function(e){var n=t[a][1][e];return i(n||e)},d,d.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}}()({1:[function(e,t,n){"use strict";function r(e,t,n){t in e.style?e.style[t]=n:console.warn(new Error("Trying to set non-existing style "+t+" = "+n+" on a <"+e.tagName.toLowerCase()+">."))}function i(e,t,n){t in e||console.warn(new Error("Trying to set non-existing attribute "+t+" = "+n+" on a <"+e.tagName.toLowerCase()+">.")),e.setAttributeNS("",t,n)}function o(e,t){Object.keys(t).forEach(function(n){r(e,n,t[n].toString())})}Object.defineProperty(n,"__esModule",{value:!0}),n.addClass=function(e,t){var n=e.classList;return n?t.split(" ").forEach(function(e){return n.add(e)}):e.setAttribute("class",e.getAttribute("class")+" "+t),e},n.removeClass=function(e,t){var n=e.classList;return n?n.remove(t):e.setAttribute("class",(e.getAttribute("class")||"").replace(new RegExp("(\\s|^)"+t+"(\\s|$)","g"),"$2")),e},n.getParentByClassName=function(e,t){if("function"==typeof e.closest)return e.closest("."+t);for(;e;){if(e.classList.contains(t))return e;e=e.parentElement}return null},n.removeChildren=function(e){for(;e.hasChildNodes();)e.removeChild(e.lastChild);return e},n.getLastItemOfNodeList=function(e){if(e&&0!==e.length)return e.item(e.length-1)},n.forEachNodeList=function(e,t){Array.prototype.forEach.call(e,t)},n.safeSetStyle=r,n.safeSetAttribute=i,n.safeSetStyles=o,n.safeSetAttributes=function(e,t){Object.keys(t).forEach(function(n){i(e,n,t[n].toString())})},n.makeHtmlEl=function(){var e=document.createElement("html");return e.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/xmlns/"),e},n.makeBodyEl=function(e,t){void 0===e&&(e={}),void 0===t&&(t="");var n=document.createElement("body");return n.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),o(n,e),n.innerHTML=t,n}},{}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(e){return function(t){return t.name.toLowerCase()===e}};n.hasHeader=function(e,t){var n=r(t.toLowerCase());return e.some(n)};var i=!!Array.prototype.find;n.getHeader=function(e,t){var n,o=r(t.toLowerCase());return(n=i?e.find(o):e.map(o).pop())?n.value:void 0},n.getHeaders=function(e,t){var n=r(t.toLowerCase());return e.filter(n).map(function(e){return[t,e.value]})}},{}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r,i,o,a,s,l,u,d,c,p,h,f,v,m,g=e("./svg"),y=function(e,t,n,r,i,o){var a=g.newSvg("",{x:e,y:t}),s=g.newG("icon "+r,{transform:"scale("+i+")"});return s.appendChild(o),s.appendChild(g.newTitle(n)),a.appendChild(s),a};function w(e,t,n,r){if(void 0===r&&(r=1),void 0===l){l=g.newPath("M6 6q0 .75-.525 1.275Q4.95 7.8 4.2 7.8q-.75 0-1.275-.525Q2.4 6.75 2.4\n 6q0-.75.525-1.275Q3.45 4.2 4.2 4.2q.75 0 1.275.525Q6 5.25 6 6zm9.6 3.6v4.2H2.4V12l3-3\n 1.5 1.5 4.8-4.8zm.9-6.6h-15q-.122 0-.21.09-.09.088-.09.21v11.4q0\n .122.09.21.088.09.21.09h15q.122 0 .21-.09.09-.088.09-.21V3.3q0-.122-.09-.21Q16.623\n 3 16.5 3zm1.5.3v11.4q0 .62-.44 1.06-.44.44-1.06.44h-15q-.62 0-1.06-.44Q0 15.32 0\n 14.7V3.3q0-.62.44-1.06.44-.44 1.06-.44h15q.62 0 1.06.44.44.44.44 1.06z")}return y(e,t,n,"icon-image",r,l.cloneNode(!1))}function b(e,t,n,r){if(void 0===r&&(r=1),void 0===c){c=g.newPath("M6 6q0 .75-.525 1.275Q4.95 7.8 4.2 7.8q-.75 0-1.275-.525Q2.4 6.75 2.4\n 6q0-.75.525-1.275Q3.45 4.2 4.2 4.2q.75 0 1.275.525Q6 5.25 6 6zm9.6 3.6v4.2H2.4V12l3-3\n 1.5 1.5 4.8-4.8zm.9-6.6h-15q-.122 0-.21.09-.09.088-.09.21v11.4q0\n .122.09.21.088.09.21.09h15q.122 0 .21-.09.09-.088.09-.21V3.3q0-.122-.09-.21Q16.623\n 3 16.5 3zm1.5.3v11.4q0 .62-.44 1.06-.44.44-1.06.44h-15q-.62 0-1.06-.44Q0 15.32 0\n 14.7V3.3q0-.62.44-1.06.44-.44 1.06-.44h15q.62 0 1.06.44.44.44.44 1.06z")}return y(e,t,n,"icon-warning",r,c.cloneNode(!1))}n.noTls=function(e,t,n,i){void 0===i&&(i=1),void 0===r&&(r=g.newPath("M18 6.216v2.77q0 .28-.206.486-.205.206-.486.206h-.693q-.28 0-.486-.206-.21-.205-.21\n -.487v-2.77q0-1.145-.81-1.957-.813-.81-1.96-.81-1.146 0-1.957.81-.81.812-.81 1.958v2.077h1.037q.434\n 0 .737.303.302.303.302.736v6.23q0 .433-.305.736t-.737.303H1.038q-.433 0-.736-.3Q0 15.996 0\n 15.56V9.33q0-.433.303-.736t.735-.303h7.27V6.218q0-2 1.422-3.423 1.423-1.423 3.424-1.423 2\n 0 3.424 1.424Q18 4.214 18 6.216"));return y(e,t,n,"icon-no-tls",i,r.cloneNode(!1))},n.err3xx=function(e,t,n,r){void 0===r&&(r=1),void 0===i&&(i=g.newPath("M17 2.333V7q0 .27-.198.47-.198.197-.47.197h-4.665q-.438 0-.615-.417-.177-.406.146-.72l1.437-1.436Q11.095\n 3.667 9 3.667q-1.083 0-2.068.422-.984.42-1.703 1.14-.72.715-1.14 1.7-.426.984-.426 2.07 0 1.08.422 2.065.42.984\n 1.14 1.703.718.72 1.702 1.14.984.422 2.067.422 1.24 0 2.344-.54 1.104-.543 1.864-1.533.073-.105.24-.126.146 0\n .26.095l1.427 1.436q.095.084.1.214.006.13-.08.234-1.133 1.376-2.75 2.13Q10.793 17 9 17q-1.625\n 0-3.104-.635-1.48-.636-2.552-1.71-1.073-1.072-1.71-2.55Q1 10.625 1 9t.635-3.104q.636-1.48 1.71-2.552\n 1.072-1.073 2.55-1.71Q7.375 1 9 1q1.53 0 2.964.578 1.432.578 2.546\n 1.63l1.355-1.343q.302-.323.73-.146.405.173.405.61z"));return y(e,t,n,"icon-redirect",r,i.cloneNode(!1))},n.err4xx=function(e,t,n,r){return void 0===r&&(r=1),b(e,t,n,r)},n.err5xx=function(e,t,n,r){return void 0===r&&(r=1),b(e,t,n,r)},n.plain=function(e,t,n,r){void 0===r&&(r=1),void 0===o&&(o=g.newPath("M15.247 4.393q.25.25.43.678.177.43.177.79v10.287q0\n .357-.25.607t-.607.25h-12q-.357 0-.607-.25t-.25-.606V1.858q0-.358.25-.608T2.997 1h8q.357 0\n .786.18.428.177.678.427zm-3.964-2.18V5.57h3.357q-.09-.256-.196-.364L11.65 2.41q-.108-.106-.367\n -.196zm3.428 13.644V6.714H11q-.357 0-.607-.25t-.25-.607V2.143h-6.86v13.714H14.71zM5.57\n 8.143q0-.125.08-.205.08-.08.204-.08h6.286q.125 0 .205.08.08.08.08.205v.57q0 .126-.08.207-.08.08\n -.205.08H5.854q-.125 0-.205-.08-.08-.08-.08-.206v-.57zm6.57 2q.125 0 .205.08.08.08.08.206V11q0\n .125-.08.205-.08.08-.205.08H5.854q-.125 0-.205-.08-.08-.08-.08-.205v-.57q0-.126.08-.207.08-.08.2\n -.08h6.286zm0 2.286q.125 0 .205.08.08.08.08.2v.572q0 .125-.08.205-.08.08-.205.08H5.854q-.125 0-.205\n -.08-.08-.08-.08-.205v-.572q0-.124.08-.204.08-.08.2-.08h6.286z"));return y(e,t,n,"icon-plain",r,o.cloneNode(!1))},n.other=function(e,t,n,r){void 0===r&&(r=1),void 0===a&&(a=g.newPath("M10.8 13.5v3q0 .2-.15.35-.15.15-.35.15h-3q-.2 0-.35-.15-.15-.15-.15-.35v-3q0-.2.15-.35.15\n -.15.35-.15h3q.2 0 .35.15.15.15.15.35zM14.75 6q0 .675-.193 1.262-.193.588-.437.957-.244.365\n -.688.74-.443.375-.718.543-.275.17-.763.444-.51.286-.852.81-.344.526-.344.84 0 .21-.15.405-.15.194\n -.35.194h-3q-.186 0-.318-.23-.13-.234-.13-.47v-.564q0-1.037.812-1.956.812-.917 1.787-1.355.74-.336\n 1.05-.7.314-.362.314-.95 0-.524-.583-.924-.58-.4-1.343-.4-.814 0-1.35.362-.44.312-1.34 1.437-.16.2\n -.386.2-.15 0-.313-.1L3.4 4.987q-.16-.124-.193-.312-.03-.188.07-.35Q5.277 1 9.077 1q1 0 2.01.387\n 1.01.388 1.825 1.038.812.65 1.325 1.594.51.94.51 1.98z"));return y(e,t,n,"icon-other",r,a.cloneNode(!1))},n.javascript=function(e,t,n,r){void 0===r&&(r=1),void 0===s&&(s=g.newPath("M13.516 2.9c-2.766 0-4.463 1.522-4.463 3.536 0 1.733 1.295 2.82 3.256 3.52\n 1.413.49 1.973.926 1.973 1.644 0 .787-.647 1.296-1.873 1.296-1.137 0-2.26-.368-2.96-.736l-.54\n 2.19c.665.367 1.996.734 3.344.734 3.238 0 4.744-1.68 4.744-3.658\n 0-1.68-.966-2.767-3.05-3.537-1.54-.6-2.186-.93-2.186-1.68 0-.6.56-1.14 1.714-1.14\n 1.137 0 1.996.33 2.45.56l.596-2.138c-.7-.332-1.663-.596-3.01-.596zm-9.032.192v7.44c0\n 1.822-.702 2.33-1.822 2.33-.525 0-.997-.09-1.365-.212L1 14.805c.525.175 1.33.28 1.96.28\n 2.574 0 4.185-1.173 4.185-4.534V3.097h-2.66z"));return y(e,t,n,"icon-js",r,s.cloneNode(!1))},n.image=w,n.svg=function(e,t,n,r){return void 0===r&&(r=1),w(e,t,n,r)},n.html=function(e,t,n,r){void 0===r&&(r=1),void 0===u&&(u=g.newPath("M5.626 13.31l-.492.492q-.098.098-.226.098t-.226-.098L.098 9.22Q0 9.12 0\n 8.99q0-.127.098-.226L4.682 4.18q.098-.097.226-.097t.226.098l.492.49q.1.1.1.23t-.1.23L1.76\n 8.99l3.866 3.866q.1.098.1.226t-.1.226zM11.44 2.815l-3.67\n 12.7q-.04.127-.152.19-.113.065-.23.026l-.61-.162q-.13-.04-.193-.152-.064-.112-.024-.24l3.67-12.698q.04\n -.128.157-.192.113-.064.23-.025l.61.167q.13.04.193.152.063.113.023.24zM17.9\n 9.22l-4.582 4.58q-.098.098-.226.098t-.226-.098l-.492-.492q-.1-.098-.1-.226t.1-.226L16.24\n 8.99l-3.867-3.865q-.1-.098-.1-.226t.1-.23l.492-.49q.098-.1.226-.1t.23.1l4.58 4.583q.1.1.1.226 0 .13-.1.23z"));return y(e,t,n,"icon-html",r,u.cloneNode(!1))},n.css=function(e,t,n,r){void 0===r&&(r=1),void 0===d&&(d=g.newPath("M15.436.99q.625 0 1.095.416.47.415.47 1.04 0 .564-.4 1.35-2.97 5.624-4.16 6.724-.865.814\n -1.946.814-1.127 0-1.935-.827-.81-.827-.81-1.962 0-1.144.822-1.895l5.705-5.175Q14.8.99\n 15.435.99zM7.31 10.232q.35.68.953 1.162.603.483 1.345.68l.01.634q.035 1.904-1.16 3.102-1.192\n 1.198-3.114 1.198-1.1 0-1.948-.416-.85-.415-1.364-1.14-.514-.723-.773-1.635Q1 12.905 1\n 11.85l.366.268q.304.224.555.398.25.175.53.327.277.15.41.15.368 0 .493-.33.224-.59.515-1.005.29\n -.415.62-.68.332-.263.788-.424.455-.16.92-.228.465-.066 1.118-.094z"));return y(e,t,n,"icon-css",r,d.cloneNode(!1))},n.warning=b,n.error=function(e,t,n,r){void 0===r&&(r=1),void 0===p&&(p=g.newPath("M9 1q2.177 0 4.016 1.073 1.838 1.073 2.91 2.91Q17 6.823 17 9q0 2.177-1.073 4.016-1.073\n 1.838-2.91 2.91Q11.177 17 9 17q-2.177 0-4.016-1.073-1.838-1.073-2.91-2.91Q1 11.177 1 9q0-2.177 1.073-4.016\n 1.073-1.838 2.91-2.91Q6.823 1 9 1zm1.333 12.99v-1.98q0-.145-.093-.244-.094-.1-.23-.1h-2q-.135 0-.24.105\n -.103.106-.103.24v1.98q0 .136.104.24.106.104.24.104h2q.137 0 .23-.1.094-.098.094-.243zm-.02-3.584l.187\n -6.468q0-.125-.104-.188-.104-.084-.25-.084H7.854q-.146 0-.25.084-.104.062-.104.188l.177 6.468q0\n .104.104.183.106.076.25.076h1.93q.146 0 .245-.078.1-.08.11-.184z"));return y(e,t,n,"icon-no-gzip",r,p.cloneNode(!1))},n.font=function(e,t,n,r){void 0===r&&(r=1),void 0===h&&(h=g.newPath("M7.97 5.754L6.338 10.08q.317 0 1.312.02.994.02 1.542.02.183 0 .548-.02-.836-2.432-1.77\n -4.345zM1 16.38l.02-.76q.22-.068.538-.12.317-.053.548-.102.23-.048.476-.14.245-.09.428-.278.182\n -.187.298-.485l2.28-5.923 2.69-6.962H9.51q.077.135.105.202l1.972 4.615q.317.75 1.02 2.476.7 1.726\n 1.095 2.64.144.327.558 1.39.413 1.062.692 1.62.192.432.336.547.183.145.847.284.663.14.807.197.058.37.058.55\n 0 .04-.005.13t-.005.128q-.605 0-1.827-.076-1.22-.08-1.836-.08-.73 0-2.067.07-1.337.067-1.712.076 0-.412.04\n -.75l1.258-.27q.01 0 .12-.022l.15-.033q.038-.01.14-.044.1-.034.143-.06l.1-.08q.06-.048.082-.106.024-.056.024\n -.133 0-.152-.298-.926t-.693-1.71q-.392-.93-.402-.96l-4.325-.02q-.25.56-.734 1.88-.487 1.32-.487 1.56 0\n .213.136.362.134.15.418.235.285.087.467.13.185.044.55.08.366.04.395.04.01.183.01.558 0 .087-.02.26-.558\n 0-1.678-.095-1.12-.098-1.678-.098-.08 0-.26.04-.18.037-.208.037-.77.136-1.808.136Z"));return y(e,t,n,"icon-font",r,h.cloneNode(!1))},n.flash=function(e,t,n,r){void 0===r&&(r=1),void 0===f&&(f=g.newPath("M13.724 4.738q.195.216.076.476L7.96 17.73q-.142.27-.456.27-.043 0-.15-.022-.185-.054-.277\n -.205-.092-.15-.05-.325l2.132-8.74L4.765 9.8q-.044.01-.13.01-.195 0-.336-.118-.193-.162-.14-.422L6.337.346q.043\n -.15.173-.25Q6.64 0 6.81 0h3.548q.206 0 .346.135.14.135.14.32 0 .086-.053.194L8.94 5.654l4.285\n -1.06q.086-.02.13-.02.205 0 .367.16z"));return y(e,t,n,"icon-flash",r,f.cloneNode(!1))},n.video=function(e,t,n,r){void 0===r&&(r=1),void 0===v&&(v=g.newPath("M17 4.107v9.714q0 .38-.348.53-.116.05-.223.05-.25 0-.41-.17l-3.6-3.6v1.48q0 1.067-.757 1.82-.754.756\n -1.817.756H3.57q-1.06 0-1.816-.753Q1 13.17 1 12.106V5.82q0-1.06.754-1.816.755-.754 1.817-.754h6.29q1.07 0\n 1.82.754.76.755.76 1.817V7.3l3.597-3.59q.16-.17.4-.17.107 0 .22.045.35.153.35.528z"));return y(e,t,n,"icon-video",r,v.cloneNode(!1))},n.audio=function(e,t,n,r){void 0===r&&(r=1),void 0===m&&(m=g.newPath("M8.385 3.756v10.46q0 .252-.183.434-.183.183-.433.183t-.44-.183l-3.2-3.202H1.61q-.25\n 0-.43-.183-.18-.182-.18-.432V7.14q0-.25.182-.432.182-.183.432-.183h2.52l3.202-3.202q.182-.183.432\n -.183t.43.183q.182.183.182.433zm3.692 5.23q0 .73-.41 1.36-.407.63-1.08.9-.097.048-.24.048-.25 0\n -.434-.178-.182-.177-.182-.437 0-.21.12-.35.12-.14.28-.24.16-.1.33-.22.166-.12.28-.34.117-.22.117\n -.55 0-.33-.115-.55-.115-.224-.28-.344-.163-.12-.326-.22-.165-.1-.28-.24-.116-.14-.116-.34 0-.26.183\n -.44t.43-.176q.146 0 .24.048.676.26 1.08.894.41.636.41 1.367zm2.46 0q0 1.472-.816 2.717t-2.16 1.813q\n -.12.048-.24.048-.26 0-.44-.183-.18-.18-.18-.43 0-.37.378-.56.54-.28.73-.42.713-.52 1.11-1.302.4\n -.783.4-1.667 0-.886-.4-1.67-.4-.783-1.11-1.303-.192-.145-.73-.424-.376-.192-.376-.567 0-.25.183\n -.434.183-.18.433-.18.123 0 .25.047 1.344.567 2.16 1.812.82 1.244.82 2.716zm2.463 0q0 2.212\n -1.22 4.063-1.222 1.85-3.25 2.72-.126.05-.25.05-.25 0-.434-.19-.183-.183-.183-.433 0-.346.375\n -.568.068-.04.217-.1.15-.064.216-.1.45-.244.79-.494 1.19-.875 1.85-2.183.67-1.306.67-2.777 0\n -1.47-.663-2.78-.664-1.304-1.846-2.18-.346-.25-.79-.49-.065-.035-.214-.1-.15-.06-.22-.1\n -.375-.22-.375-.57 0-.25.183-.43.183-.182.433-.182.123 0 .25.047 2.027.876 3.25 2.727Q17 6.775 17 8.99Z"));return y(e,t,n,"icon-audio",r,m.cloneNode(!1))}},{"./svg":6}],4:[function(e,t,n){"use strict";function r(e,t){var n=0;if(e&&!(e.length<1))for(var r=e.length;n<r;){if(t(e[n],n))return n;n++}}Object.defineProperty(n,"__esModule",{value:!0}),n.contains=function(e,t){return e.some(function(e){return e===t})},n.findIndex=r,n.find=function(e,t){var n=r(e,t);if(void 0!==n)return e[n]},n.resourceUrlFormatter=function(e,t){if(e.length<t)return e.replace(/https?:\/\//,"");var n,r,i,o=(n=e,r=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),{authority:(i=n.match(r)||[])[4],fragment:i[9],path:i[5],query:i[7],scheme:i[2]});if((o.authority+o.path).length<t)return o.authority+o.path;var a=Math.floor(t/2)-3,s=Math.floor(t/2)-5,l=o.path.split("/");return o.authority.length>a?o.authority.substr(0,a)+"..."+l[l.length-1].substr(-s):o.authority+"..."+l[l.length-1].substr(-s)},n.roundNumber=function(e,t){return void 0===t&&(t=2),Math.round(e*Math.pow(10,t))/Math.pow(10,t)},n.isInStatusCodeRange=function(e,t,n){return e>=t&&e<=n};var i=/[^a-z-]/g;n.toCssClass=function(e){return e.toLowerCase().replace(i,"")},n.pluralize=function(e,t){return e+(t>1?"s":"")},n.isTabUp=function(e){return 9===e.which&&e.shiftKey},n.isTabDown=function(e){return 9===e.which&&!e.shiftKey}},{}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("./misc");function i(e){if("function"==typeof e.toString)return e.toString();throw TypeError("Can't convert type "+typeof e+" to string")}function o(e,t){var n=function(e){return t(e)?e:void 0};if("string"==typeof e){var r=parseInt(e,10);if(!isFinite(r))return;return n(r)}return n(e)}n.parseAndFormat=function(e,t,n){if(void 0===n&&(n=i),void 0!==e){var r=t(e);if(void 0!==r)return n(r)}},n.parseNonEmpty=function(e){return e.trim().length>0?e:void 0},n.parseDate=function(e){var t=new Date(e);if(!isNaN(t.getTime()))return t},n.parseNonNegative=function(e){if(null!=e)return o(e,function(e){return e>=0})},n.parsePositive=function(e){if(null!=e)return o(e,function(e){return e>0})},n.formatMilliseconds=function(e){return void 0!==e?r.roundNumber(e,3)+" ms":void 0};var a=60,s=60*a,l=24*s;n.formatSeconds=function(e){if(void 0!==e){var t=r.roundNumber(e,3)+" s";return e>l?t+" (~"+r.roundNumber(e/l,0)+" days)":e>s?t+" (~"+r.roundNumber(e/s,0)+" hours)":e>a?t+" (~"+r.roundNumber(e/a,0)+" minutes)":t}},n.formatDateLocalized=function(e){return void 0!==e?e.toUTCString()+"<br/>(local time: "+e.toLocaleString()+")":void 0};var u=1024,d=1024*u;n.formatBytes=function(e){if(void 0===e)return"";var t=e+" bytes";return e>=d?t+" (~"+r.roundNumber(e/d,1)+" MB)":e>=u?t+" (~"+r.roundNumber(e/u,0)+" kB)":t};var c={'"':"&quot","&":"&amp","'":"&#039","<":"&lt",">":"&gt"},p=new RegExp(Object.keys(c).join("|"),"g");n.escapeHtml=function(e){if(void 0===e&&(e=""),null==e)return"";if("string"!=typeof e){if("function"!=typeof e.toString)throw TypeError("Invalid parameter");e=e.toString()}return e.replace(p,function(e){return c[e]})};var h=new RegExp("[^-A-Za-z0-9+&@#/%?=~_|!:,.;()]","g");n.sanitizeUrlForLink=function(e){var t=e.replace(h,"_");return 0===t.indexOf("http://")||0===t.indexOf("https://")?t:(console.warn("skipped link, due to potentially unsafe url",e),"")};var f=new RegExp("[^a-zA-Z0-9]","g");function v(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}n.sanitizeAlphaNumeric=function(e){return e.toString().replace(f,"")},n.toInt=v,n.validateOptions=function(e){var t=function(t){var n=v(e[t]);if(void 0===n)throw TypeError('option "'+t+'" needs to be a number');e[t]=n},n=function(t){e[t]=!!e[t]};return t("leftColumnWidth"),t("rowHeight"),t("selectedPage"),n("showAlignmentHelpers"),n("showIndicatorIcons"),n("showMimeTypeIcon"),e}},{"./misc":4}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("./dom"),i="http://www.w3.org/2000/svg";function o(e,t){var n=void 0===t?{}:t,o=n.attributes,a=void 0===o?{}:o,s=n.css,l=void 0===s?{}:s,u=n.text,d=void 0===u?"":u,c=n.className,p=void 0===c?"":c,h=document.createElementNS(i,e);return p&&r.addClass(h,p),d&&(h.textContent=d),r.safeSetStyles(h,l),r.safeSetAttributes(h,a),h}function a(e,t,n){return void 0===n&&(n={}),o("svg",{className:e,attributes:t,css:n})}n.newSvg=a,n.newG=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),o("g",{className:e,attributes:t,css:n})},n.newClipPath=function(e){return o("clipPath",{attributes:{id:e}})},n.newForeignObject=function(e,t,n){return void 0===t&&(t=""),void 0===n&&(n={}),o("foreignObject",{attributes:e,className:t,css:n})},n.newA=function(e){return o("a",{className:e})},n.newRect=function(e,t,n){return void 0===t&&(t=""),void 0===n&&(n={}),o("rect",{attributes:e,className:t,css:n})},n.newLine=function(e,t){return void 0===t&&(t=""),o("line",{className:t,attributes:e})},n.newTitle=function(e){var t=document.createElementNS(i,"title");return t.setAttribute("text",e),t},n.newTextEl=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),o("text",{text:e,attributes:t,css:n})},n.newPath=function(e){var t=document.createElementNS(i,"path");return t.setAttribute("d",e),t};var s,l,u=function(){void 0===s&&(s=a("water-fall-chart temp",{className:"water-fall-chart temp",width:"9999px"},{left:"0px",position:"absolute",top:"0px",visibility:"hidden","z-index":"99999"}));return void 0===s.parentElement&&window.document.body.appendChild(s),clearTimeout(l),l=setTimeout(function(){s.parentNode.removeChild(s)},500),s};n.getNodeTextWidth=function(e,t){if(void 0===t&&(t=!1),0===(e.textContent||"").length)return 0;var n,r,i=u();t?(r=e.style.textShadow,n=e):((n=e.cloneNode(!0)).setAttribute("x","0"),n.setAttribute("y","0")),n.style.textShadow="0",i.appendChild(n),window.document.body.appendChild(i);var o=n.getComputedTextLength();return t&&void 0!==r&&(e.style.textShadow=r),o}},{"./dom":1}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.makeLegend=function(){var e=document.createElement("ul");return e.className="resource-legend",e.innerHTML='\n <li class="legend-blocked" title="Time spent in a queue waiting for a network connection.">Blocked</li>\n <li class="legend-dns" title="DNS resolution time.">DNS</li>\n <li class="legend-connect" title="Time required to create TCP connection.">Connect</li>\n <li class="legend-ssl" title="Time required for SSL/TLS negotiation.">SSL (TLS)</li>\n <li class="legend-send" title="Time required to send HTTP request to the server.">Send</li>\n <li class="legend-wait" title="Waiting for a response from the server.">Wait</li>\n <li class="legend-receive"\n title="Time required to read entire response from the server (or cache).">Receive</li>',e}},{}],8:[function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(n,"__esModule",{value:!0});var i=e("./helpers/parse"),o=e("./legend/legend"),a=e("./paging/paging"),s=e("./transformers/har"),l=e("./waterfall/svg-chart"),u={leftColumnWidth:25,legendHolder:void 0,onParsed:void 0,pageSelector:void 0,rowHeight:23,selectedPage:0,showAlignmentHelpers:!0,showIndicatorIcons:!0,showMimeTypeIcon:!0},d={showUserTiming:!1,showUserTimingEndMarker:!1};n.makeLegend=function(){return o.makeLegend()},n.fromHar=function(e,t){void 0===t&&(t={});var n=r({},d,t),c=s.transformDoc(e,n);return"function"==typeof t.onParsed&&t.onParsed(c),function(e,t){void 0===t&&(t={}),void 0!==t.leftColumnWith&&(console.warn("Depreciation Warning: The option 'leftColumnWith' has been fixed to 'leftColumnWidth', please update your code as this will get deprecated in the future"),t.leftColumnWidth=t.leftColumnWith);var n=i.validateOptions(r({},u,t)),s=new a.default(e,n.selectedPage),d=l.createWaterfallSvg(s.getSelectedPage(),n);return s.onPageUpdate(function(e,t){var r=d.parentElement,i=l.createWaterfallSvg(t,n);r.replaceChild(i,d),d=i}),n.pageSelector&&s.initPagingSelectBox(n.pageSelector),n.legendHolder&&(n.legendHolder.innerHTML="",n.legendHolder.appendChild(o.makeLegend())),d}(c,t)}},{"./helpers/parse":5,"./legend/legend":7,"./paging/paging":9,"./transformers/har":13,"./waterfall/svg-chart":27}],9:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../helpers/dom"),i=function(){function e(e,t){void 0===t&&(t=0),this.doc=e,this.selectedPageIndex=t,this.onPageUpdateCbs=[],t>=this.doc.pages.length&&(this.selectedPageIndex=this.doc.pages.length-1)}return e.prototype.getPageCount=function(){return this.doc.pages.length},e.prototype.getSelectedPage=function(){return this.doc.pages[this.selectedPageIndex]},e.prototype.getSelectedPageIndex=function(){return this.selectedPageIndex},e.prototype.setSelectedPageIndex=function(e){var t=this;if(this.selectedPageIndex!==e){if(e<0||e>=this.getPageCount())throw new Error("Page does not exist - Invalid pageIndex selected");this.selectedPageIndex=e;var n=this.doc.pages[this.selectedPageIndex];this.onPageUpdateCbs.forEach(function(e){e(t.selectedPageIndex,n)})}},e.prototype.onPageUpdate=function(e){if(this.getPageCount()>1)return this.onPageUpdateCbs.push(e)},e.prototype.initPagingSelectBox=function(e){var t=this,n=this;this.getPageCount()<=1?e.style.display="none":(r.removeChildren(e),this.doc.pages.forEach(function(n,r){var i=new Option(n.title,r.toString(),!1,r===t.selectedPageIndex);e.add(i)}),e.style.display="block",e.addEventListener("change",function(e){var t=parseInt(e.target.value,10);n.setSelectedPageIndex(t)}))},e}();n.default=i},{"../helpers/dom":1}],10:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../helpers/har"),i=e("../helpers/parse"),o=e("./helpers"),a=function(e,t){return[e,i.parseAndFormat(t,i.parsePositive,i.formatBytes)]},s=function(e,t){return[e,i.parseAndFormat(t,i.parsePositive)]},l=function(e){return e.length>1&&void 0!==e[1]&&""!==e[1]};n.getKeys=function(e,t,n,u){var d,c,p,h,f,v,m,g,y,w,b,C,x,T=e.request.headers,q=e.response.headers,S=function(e){return[e.name,e.value]};return{general:(b=e,C=n,x=t,[["Request Number","#"+x],["Started",new Date(b.startedDateTime).toLocaleString()+(C>0?" ("+i.formatMilliseconds(C)+" after page request started)":"")],["Duration",i.formatMilliseconds(b.time)],["Error/Status Code",b.response.status+" "+b.response.statusText],["Server IPAddress",b.serverIPAddress],["Connection",b.connection],["Browser Priority",b._priority||b._initialPriority],["Was pushed",i.parseAndFormat(b._was_pushed,i.parsePositive,function(){return"yes"})],["Initiator (Loaded by)",b._initiator],["Initiator Line",b._initiator_line],["Initiator Type",b._initiator_type],["Host",r.getHeader(b.request.headers,"Host")],["IP",b._ip_addr],["Client Port",i.parseAndFormat(b._client_port,i.parsePositive)],["Expires",b._expires],["Cache Time",i.parseAndFormat(b._cache_time,i.parsePositive,i.formatSeconds)],["CDN Provider",b._cdn_provider],a("ObjectSize",b._objectSize),a("Bytes In (downloaded)",b._bytesIn),a("Bytes Out (uploaded)",b._bytesOut),a("JPEG Scan Count",b._jpeg_scan_count),a("Gzip Total",b._gzip_total),a("Gzip Save",b._gzip_save),a("Minify Total",b._minify_total),a("Minify Save",b._minify_save),a("Image Total",b._image_total),a("Image Save",b._image_save)].filter(l)),request:(g=e,y=g.request,w=function(e){return r.getHeaders(y.headers,e)},o.flattenKvTuple([["Method",y.method],["HTTP Version",y.httpVersion],a("Bytes Out (uploaded)",g._bytesOut),a("Headers Size",y.headersSize),a("Body Size",y.bodySize),["Comment",i.parseAndFormat(y.comment,i.parseNonEmpty)],w("User-Agent"),w("Host"),w("Connection"),w("Accept"),w("Accept-Encoding"),w("Expect"),w("Forwarded"),w("If-Modified-Since"),w("If-Range"),w("If-Unmodified-Since"),s("Querystring parameters count",y.queryString.length),s("Cookies count",y.cookies.length)]).filter(l)),requestHeaders:T.map(S).filter(l),response:function(e){var t,n=e.response,s=n.content,u=n.headers,d=function(e,t){return void 0===t&&(t=e),r.getHeaders(u,t)},c=function(e){var t=r.getHeader(u,e);return[e,i.parseAndFormat(t,i.parseDate,i.formatDateLocalized)]},p=r.getHeader(u,"Content-Length");-1!==s.size&&p!==s.size.toString()&&(t=s.size);var h=r.getHeader(u,"Content-Type");return e._contentType&&e._contentType!==h&&(h=h+" | "+e._contentType),o.flattenKvTuple([["Status",n.status+" "+n.statusText],["HTTP Version",n.httpVersion],a("Bytes In (downloaded)",e._bytesIn),a("Headers Size",n.headersSize),a("Body Size",n.bodySize),["Content-Type",h],d("Cache-Control"),d("Content-Encoding"),c("Expires"),c("Last-Modified"),d("Pragma"),a("Content-Length",p),a("Content Size",t),a("Content Compression",s.compression),d("Connection"),d("ETag"),d("Accept-Patch"),["Age",i.parseAndFormat(r.getHeader(u,"Age"),i.parseNonNegative,i.formatSeconds)],d("Allow"),d("Content-Disposition"),d("Location"),d("Strict-Transport-Security"),d("Trailer (for chunked transfer coding)","Trailer"),d("Transfer-Encoding"),d("Upgrade"),d("Vary"),d("Timing-Allow-Origin"),["Redirect URL",i.parseAndFormat(n.redirectURL,i.parseNonEmpty)],["Comment",i.parseAndFormat(n.comment,i.parseNonEmpty)]]).filter(l)}(e),responseHeaders:q.map(S).filter(l),timings:(d=e,c=n,p=u,h=d.timings,f=function(e){return i.parseAndFormat(e,i.parseNonNegative,i.formatMilliseconds)},v="number"!=typeof c||"number"!=typeof p?void 0:p-c,m=f(h.connect),h.ssl&&h.ssl>0&&h.connect&&(m=m+" (without TLS: "+f(h.connect-h.ssl)+")"),[["Total",i.formatMilliseconds(v)],["Blocked",f(h.blocked)],["DNS",f(h.dns)],["Connect",m],["SSL (TLS)",f(h.ssl)],["Send",i.formatMilliseconds(h.send)],["Wait",i.formatMilliseconds(h.wait)],["Receive",i.formatMilliseconds(h.receive)]].filter(l))}}},{"../helpers/har":2,"../helpers/parse":5,"./helpers":14}],11:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../helpers/har"),i=e("../helpers/misc"),o=e("../helpers/parse");function a(e,t){var n=e.response.headers;return!r.hasHeader(n,"Content-Encoding")&&function(e,t){if(e.response.bodySize<1e3)return!1;if(i.contains(["html","css","javascript","svg","plain"],t))return!0;var n=e.response.content.mimeType;return!(!i.contains(["text"],n.split("/")[0])&&!i.contains(["application/vnd.ms-fontobject","application/x-font-opentype","application/x-font-truetype","application/x-font-ttf","application/xml","font/eot","font/opentype","font/otf","image/vnd.microsoft.icon"],n.split(";")[0]))}(e,t)}function s(e){return 0===e.request.url.indexOf("https://")}n.documentIsSecure=function(e){var t=e.filter(function(e){return!e.response.redirectURL})[0];return void 0===t?e.length>0&&s(e[0]):s(t)},n.collectIndicators=function(e,t,n,l){var u,d,c=[];return void 0!==(u=e)._was_pushed&&null!==u._was_pushed&&1===o.toInt(u._was_pushed)&&c.push({description:"Response was pushed by the server using HTTP2 push.",displayType:"inline",icon:"push",id:"push",title:"Response was pushed by the server",type:"info"}),!n||s(e)||(d=e,0===t&&d.response.redirectURL)||c.push({description:"Insecure request, it should use HTTPS.",displayType:"icon",id:"noTls",title:"Insecure Connection",type:"error"}),function(e){if(!e.request.method||"get"!==e.request.method.toLowerCase())return!1;if(204===e.response.status||!i.isInStatusCodeRange(e.response.status,200,299))return!1;var t=e.response.headers;return!(r.hasHeader(t,"Cache-Control")||r.hasHeader(t,"Expires"))}(e)&&c.push({description:"The response is not allow to be cached on the client. Consider setting 'Cache-Control' headers.",displayType:"icon",id:"noCache",title:"Response not cached",type:"error"}),a(e,l)&&c.push({description:"The response is not compressed. Consider enabling HTTP compression on your server.",displayType:"icon",id:"noGzip",title:"no gzip",type:"error"}),!e.response.content.mimeType&&i.isInStatusCodeRange(e.response.status,200,299)&&204!==e.response.status&&c.push({description:"Response doesn't contain a 'Content-Type' header.",displayType:"icon",id:"warning",title:"No MIME Type defined",type:"warning"}),c}},{"../helpers/har":2,"../helpers/misc":4,"../helpers/parse":5}],12:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../helpers/misc"),i=e("../helpers/parse"),o=e("./extract-details-keys"),a=e("./helpers");function s(e,t,n){return void 0===n&&(n=""),{content:t,tabClass:n,title:e}}function l(e,t,n){return void 0===n&&(n=""),{renderContent:t,tabClass:n,title:e}}n.makeTabs=function(e,t,n,u,d,c){var p,h,f,v,m,g,y=[],w=o.getKeys(e,t,u,d);return y.push(function(e,t){var n=a.makeDefinitionList(e);if(0===t.length)return s("General",n);var i="<h2>General</h2>\n<dl>"+n+"<dl>",o="",l=t.filter(function(e){return"error"===e.type}).map(function(e){return[e.title,e.description]}),u=t.filter(function(e){return"warning"===e.type}).map(function(e){return[e.title,e.description]}),d=t.filter(function(e){return"error"!==e.type&&"warning"!==e.type}).map(function(e){return[e.title,e.description]});return l.length>0&&(o+='<h2 class="no-boder">'+r.pluralize("Error",l.length)+"</h2>\n <dl>"+a.makeDefinitionList(l)+"</dl>"),u.length>0&&(o+='<h2 class="no-boder">'+r.pluralize("Warning",u.length)+"</h2>\n <dl>"+a.makeDefinitionList(u)+"</dl>"),d.length>0&&(o+='<h2 class="no-boder">Info</h2>\n <dl>'+a.makeDefinitionList(d)+"</dl>"),s("General",o+i)}(w.general,c)),y.push((p=w.request,h=w.requestHeaders,s("Request","<dl>\n "+a.makeDefinitionList(p)+"\n </dl>\n <h2>All Request Headers</h2>\n <dl>\n "+a.makeDefinitionList(h)+"\n </dl>"))),y.push((f=w.response,v=w.responseHeaders,s("Response","<dl>\n "+a.makeDefinitionList(f)+"\n </dl>\n <h2>All Response Headers</h2>\n <dl>\n "+a.makeDefinitionList(v)+"\n </dl>"))),y.push(s("Timings",a.makeDefinitionList(w.timings,!0))),y.push((m=e,l("Raw Data",function(){return"<pre><code>"+i.escapeHtml(JSON.stringify(m,null,2))+"</code></pre>"},"raw-data"))),"image"===n&&y.push((g=e,l("Preview",function(e){return'<img class="preview" style="max-height:'+(e-100)+'px"\n data-src="'+i.sanitizeUrlForLink(g.request.url)+'" />'}))),y.filter(function(e){return void 0!==e})}},{"../helpers/misc":4,"../helpers/parse":5,"./extract-details-keys":10,"./helpers":14}],13:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../helpers/misc"),i=e("../helpers/parse"),o=e("./har-heuristics"),a=e("./har-tabs"),s=e("./helpers");n.transformDoc=function(e,t){var n=void 0!==e.log?e.log:e;return{pages:l(n).map(function(e,r){return u(n,r,t)})}};var l=function(e){return e.pages&&e.pages.length>0?e.pages:[{id:"",pageTimings:{},startedDateTime:e.entries.reduce(function(e,t){var n=Date.parse(t.startedDateTime);return Date.parse(e)<n?e:t.startedDateTime},e.entries[0].startedDateTime),title:"n/a"}]};function u(e,t,n){void 0===t&&(t=0);var r=void 0!==e.log?e.log:e,u=l(r),c=u[t];if(!c.startedDateTime)throw new TypeError('Invalid HAR document: "log.pages['+t+'].startedDateTime" is not set');var h=new Date(c.startedDateTime).getTime(),v=c.pageTimings,m=0,g=o.documentIsSecure(r.entries),y=r.entries.filter(function(e){return 0!==e.request.url.indexOf("data:")&&0!==e.request.url.indexOf("javascript:")&&(1===u.length&&""===c.id||e.pageref===c.id)}).map(function(e,t){var n=new Date(e.startedDateTime).getTime()-h;return m=Math.max(m,n+e.time),function(e,t,n,r){n=Math.round(n);var l=Math.round(i.toInt(e._all_end)||n+e.time),u=s.mimeToRequestType(e.response.content.mimeType),d=o.collectIndicators(e,t,r,u),c=f(e,d);return s.createWaterfallEntry(e.request.url,n,l,p(n,e),c,a.makeTabs(e,t+1,u,n,l,d))}(e,t,n,g)}),w=d(v,c,n);return w.forEach(function(e){e.startTime>m&&(m=e.startTime)}),n.fixedLengthMs&&(m=n.fixedLengthMs),{docIsTLS:g,durationMs:m+=100,entries:y,marks:w,title:c.title}}n.transformPage=u;var d=function(e,t,n){if(void 0===e)return[];var o=function(e,t){return e.startTime-t.startTime},a=Object.keys(e).filter(function(t){return"number"==typeof e[t]&&e[t]>=0}).map(function(t){return{name:i.escapeHtml(t.replace(/^[_]/,""))+" ("+r.roundNumber(e[t],0)+" ms)",startTime:e[t]}});return n.showUserTiming?c(t,n).concat(a).sort(o):a.sort(o)},c=function(e,t){var n=t.showUserTimingEndMarker?function(e){return 0===e.indexOf("_userTime.")}:function(e){return 0===e.indexOf("_userTime.")&&0!==e.indexOf("_userTime.endTimer-")},r=n;if(Array.isArray(t.showUserTiming)){var o=t.showUserTiming;r=function(e){return n(e)&&o.indexOf(e.replace(/^_userTime\./,""))>=0}}var a=/^_userTime\.((?:startTimer-)?(.+))$/;return Object.keys(e).filter(r).map(function(n){var r,o,s,l;return o=(l=a.exec(n)||[,void 0,void 0])[1],r=l[2],(o=i.escapeHtml(o))!==(r=i.escapeHtml(r))&&e["_userTime.endTimer-"+r]?{duration:s=e["_userTime.endTimer-"+r]-e[n],name:(t.showUserTimingEndMarker?o:r)+" ("+e[n]+" - "+(e[n]+s)+" ms)",startTime:e[n]}:{name:o,startTime:e[n]}})},p=function(e,t){var n=t.timings;return["blocked","dns","connect","send","wait","receive"].reduce(function(r,i){var o=h(i,t,r,e);if(o.end&&o.start>=o.end)return r;if("connect"===i&&n.ssl&&-1!==n.ssl){var a=parseInt(""+t._ssl_start,10)||o.start,l=parseInt(""+t._ssl_end,10)||o.start+n.ssl,u=parseInt(""+t._ssl_start,10)?o.start:l;return r.concat([s.createWaterfallEntryTiming("ssl",Math.round(a),Math.round(l))]).concat([s.createWaterfallEntryTiming(i,Math.round(u),Math.round(o.end))])}return r.concat([s.createWaterfallEntryTiming(i,Math.round(o.start),Math.round(o.end))])},[])},h=function(e,t,n,r){var i;switch(e){case"wait":i="ttfb";break;case"receive":i="download";break;default:i=e}var o=parseInt(t["_"+i+"_start"],10),a=parseInt(t["_"+i+"_end"],10),s=isNaN(o)?n.length>0?n[n.length-1].end:r:o,l=isNaN(a)?s+t.timings[e]:a;return{end:Math.round(l),start:Math.round(s)}},f=function(e,t){var n=s.mimeToRequestType(e.response.content.mimeType),r=i.toInt(e.response.status)||0;return{icon:s.makeMimeTypeIcon(r,e.response.statusText,n,e.response.redirectURL),indicators:t,requestType:n,rowClass:s.makeRowCssClasses(r),statusCode:r}}},{"../helpers/misc":4,"../helpers/parse":5,"./har-heuristics":11,"./har-tabs":12,"./helpers":14}],14:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../helpers/misc"),i=e("../helpers/parse"),o=e("../waterfall/row/svg-indicators"),a=function(e){return i.escapeHtml(e).replace("&ltbr/&gt","<br/>")};n.makeDefinitionList=function(e,t){return void 0===t&&(t=!1),e.map(function(e){return"\n <dt "+(n=e[0],t?'class="'+(r.toCssClass(n)||"no-colour")+'"':"")+">"+a(e[0])+"</dt>\n <dd>"+a(e[1])+"</dd>\n ";var n}).join("")},n.mimeToRequestType=function(e){if(void 0===e)return"other";var t=e.split("/"),n=t[1];switch(void 0!==n&&(n=n.indexOf(";")>-1?n.split(";")[0]:n),t[0]){case"image":return"svg+xml"===n?"svg":"image";case"font":return"font";case"video":return"video";case"audio":return"audio"}switch(n){case"xml":case"html":return"html";case"plain":return"plain";case"css":return"css";case"vnd.ms-fontobject":case"font-woff":case"font-woff2":case"x-font-truetype":case"x-font-opentype":case"x-font-woff":return"font";case"javascript":case"x-javascript":case"script":case"json":return"javascript";case"x-shockwave-flash":return"flash";default:return"other"}},n.createWaterfallEntry=function(e,t,n,r,i,o){return void 0===r&&(r=[]),{end:n,responseDetails:i,segments:r,start:t,tabs:o,total:"number"!=typeof t||"number"!=typeof n?NaN:n-t,url:e}},n.createWaterfallEntryTiming=function(e,t,n){return{end:n,start:t,total:"number"!=typeof t||"number"!=typeof n?NaN:n-t,type:i.sanitizeAlphaNumeric(e)}},n.makeRowCssClasses=function(e){var t=["row-item"];return r.isInStatusCodeRange(e,500,599)?t.push("status5xx"):r.isInStatusCodeRange(e,400,499)?t.push("status4xx"):304!==e&&r.isInStatusCodeRange(e,300,399)&&t.push("status3xx"),t.join(" ")},n.makeMimeTypeIcon=function(e,t,n,a){if(void 0===a&&(a=""),a){var s=encodeURI(a.split("?")[0]||"");return o.makeIcon("err3xx",e+" response status: Redirect to "+i.escapeHtml(s)+"...")}return r.isInStatusCodeRange(e,400,499)?o.makeIcon("err4xx",e+" response status: "+i.escapeHtml(t)):r.isInStatusCodeRange(e,500,599)?o.makeIcon("err5xx",e+" response status: "+i.escapeHtml(t)):204===e?o.makeIcon("plain","No content"):o.makeIcon(i.sanitizeAlphaNumeric(n),i.escapeHtml(n))},n.flattenKvTuple=function(e){var t=[];return e.forEach(function(e){void 0!==e&&0!==e.length&&(Array.isArray(e[0])?t.push.apply(t,e):t.push(e))}),t}},{"../helpers/misc":4,"../helpers/parse":5,"../waterfall/row/svg-indicators":20}],15:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.requestTypeToCssClass=function(e){return"block-"+e},n.timingTypeToCssClass=function(e){return"block-"+e}},{}],16:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../../helpers/dom"),i=e("../../helpers/parse");n.createDetailsBody=function(e,t,n){var o=r.makeHtmlEl(),a=r.makeBodyEl(),s=n.tabs.map(function(e){return'<li><button class="tab-button">'+e.title+"</button></li>"}).join("\n"),l=n.tabs.map(function(e){var n="tab";e.tabClass&&(n+=" "+e.tabClass);var r="";if(e.content)r=e.content;else{if("function"!=typeof e.renderContent)throw TypeError("Invalid Details Tab");r=e.renderContent(t),e.content=r}return'<div class="tab '+n+'">'+r+"</div>"}).join("\n");return a.innerHTML='\n <div class="wrapper">\n <header class="type-'+n.responseDetails.requestType+'">\n <h3><strong>#'+e+'</strong> <a href="'+i.sanitizeUrlForLink(n.url)+'">\n '+i.escapeHtml(n.url)+'\n </a></h3>\n <nav class="tab-nav">\n <ul>\n '+s+"\n </ul>\n </nav>\n </header>\n "+l+"\n </div>\n ",o.appendChild(a),o}},{"../../helpers/dom":1,"../../helpers/parse":5}],17:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../../helpers/dom"),i=e("../../helpers/misc"),o=e("./svg-details-overlay"),a=function(){function e(e){this.context=e,this.openOverlays=[],this.realignRow=function(e,t){e.setAttribute("transform","translate(0, "+t+")")}}return e.prototype.getCombinedOverlayHeight=function(){return this.openOverlays.reduce(function(e,t){return e+(t.height||0)},0)},e.prototype.openOverlay=function(e,t,n,r,i){if(!this.openOverlays.some(function(t){return t.index===e})){var o=this,a={defaultY:t,entry:r,index:e,onClose:function(){o.closeOverlay(e,n,i)},openTabIndex:0};this.openOverlays.push(a),this.openOverlays=this.openOverlays.sort(function(e,t){return e.index>t.index?1:-1}),this.renderOverlays(n,i),this.context.pubSub.publishToOverlayChanges({changedIndex:e,combinedOverlayHeight:o.getCombinedOverlayHeight(),type:"open"})}},e.prototype.toggleOverlay=function(e,t,n,r,i){this.openOverlays.some(function(t){return t.index===e})?this.closeOverlay(e,n,i):this.openOverlay(e,t,n,r,i)},e.prototype.closeOverlay=function(e,t,n){this.openOverlays.splice(this.openOverlays.reduce(function(t,n,r){return n.index===e?r:t},-1),1),this.renderOverlays(t,n),this.context.pubSub.publishToOverlayChanges({changedIndex:e,combinedOverlayHeight:this.getCombinedOverlayHeight(),type:"closed"})},e.prototype.renderOverlays=function(t,n){var a=this,s=0,l=function(e,t,n){s+=n,e.actualY=t,e.height=n};n.forEach(function(n,u){var d=i.find(a.openOverlays,function(e){return e.index===u}),c=n.nextElementSibling,p=c.firstElementChild;if(a.realignRow(n,s),void 0!==d){if(p&&void 0!==d.actualY){var h=p.querySelector(".info-overlay-bg"),f=p.querySelector("foreignObject"),v=p.querySelector(".info-overlay-close-btn rect"),m=p.querySelector(".info-overlay-close-btn text");return l(d,d.defaultY+s,d.height),h.setAttribute("y",d.actualY.toString()),f.setAttribute("y",d.actualY.toString()),m.setAttribute("y",d.actualY.toString()),void v.setAttribute("y",d.actualY.toString())}var g,y,w,b,C;g=n.nextElementSibling,w=(y=d).defaultY+s,b=o.createRowInfoOverlay(y,w,t),(C=b.querySelector("img.preview"))&&!C.src&&C.setAttribute("src",C.attributes.getNamedItem("data-src").value),b.querySelector("a").addEventListener("keydown",e.firstElKeypress),r.getLastItemOfNodeList(b.querySelectorAll("button")).addEventListener("keydown",e.lastElKeypress),g.appendChild(b),l(y,w,b.getBoundingClientRect().height)}else p&&null!==c&&(c.querySelector("a").removeEventListener("keydown",e.firstElKeypress),r.getLastItemOfNodeList(c.querySelectorAll("button")).removeEventListener("keydown",e.lastElKeypress),r.removeChildren(c))})},e.showFullName=function(e){e.getElementsByClassName("row-fixed").item(0).dispatchEvent(new MouseEvent("mouseenter"))},e.firstElKeypress=function(t){if(i.isTabUp(t)){var n=r.getParentByClassName(t.target,"row-overlay-holder");n&&n.previousElementSibling&&e.showFullName(n.previousElementSibling)}},e.lastElKeypress=function(t){if(i.isTabDown(t)){var n=r.getParentByClassName(t.target,"row-overlay-holder");n&&n.nextElementSibling&&e.showFullName(n.nextElementSibling)}},e}();n.OverlayManager=a,n.default=a},{"../../helpers/dom":1,"../../helpers/misc":4,"./svg-details-overlay":19}],18:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function e(){this.subscribers=[]}return e.prototype.subscribeToOverlayChanges=function(e){this.subscribers.push(e)},e.prototype.subscribeToSpecificOverlayChanges=function(e,t){this.subscribers.push(function(n){n.changedIndex===e&&t(n)})},e.prototype.publishToOverlayChanges=function(e){this.subscribers.forEach(function(t){return t(e)})},e}();n.PubSub=r,n.default=r},{}],19:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../../helpers/dom"),i=e("../../helpers/svg"),o=e("./html-details-body");n.createRowInfoOverlay=function(e,t,n){var a,s,l,u,d,c,p=e.index+1,h=(a=t,s=n,l=i.newG("info-overlay-holder"),u=i.newRect({height:s,rx:2,ry:2,width:"100%",x:"0",y:a},"info-overlay-bg"),l.appendChild(u),l),f=i.newForeignObject({height:n,width:"100%",x:"0",y:t}),v=(d=t,(c=i.newA("info-overlay-close-btn")).appendChild(i.newRect({height:23,width:23,x:"100%",y:d})),c.appendChild(i.newTextEl("✕",{dx:7,dy:16,x:"100%",y:d})),c.appendChild(i.newTitle("Close Overlay")),c);v.addEventListener("click",function(){return e.onClose(e.index)});var m=o.createDetailsBody(p,n,e.entry),g=function(){return m.getElementsByClassName("tab-button")},y=function(t){e.openTabIndex=t,r.forEachNodeList(m.getElementsByClassName("tab"),function(e,n){e.style.display=t===n?"block":"none",g().item(n).classList.toggle("active",t===n)})};return r.forEachNodeList(g(),function(e,t){e.addEventListener("click",function(){return y(t)})}),y(e.openTabIndex),f.appendChild(m),h.appendChild(f),h.appendChild(v),h}},{"../../helpers/dom":1,"../../helpers/svg":6,"./html-details-body":16}],20:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../../helpers/misc");function i(e,t){return{type:e,title:t,width:20}}n.makeIcon=i,n.getIndicatorIcons=function(e){var t=e.responseDetails.indicators.filter(function(e){return"icon"===e.displayType});if(0===t.length)return[];var n=[],o="",a=t.filter(function(e){return"error"===e.type}),s=t.filter(function(e){return"warning"===e.type}),l=t.filter(function(e){return"error"!==e.type&&"warning"!==e.type});return a.length>0&&(n.push(r.pluralize("Error",a.length)+":\n "+a.map(function(e){return e.title}).join("\n")),o="error"),s.length>0&&(n.push(r.pluralize("Warning",s.length)+":\n"+s.map(function(e){return e.title}).join("\n")),o=o||"warning"),l.length>0&&(n.push("Info:\n"+l.map(function(e){return e.title}).join("\n")),o=o||1!==l.length?o||"info":l[0].icon||l[0].type),[i(o,n.join("\n"))]}},{"../../helpers/misc":4}],21:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../../helpers/dom"),i=e("../../helpers/misc"),o=e("../../helpers/svg"),a=e("../../transformers/styling-converters"),s=e("./svg-tooltip");function l(e,t){var n,a,l=o.newG(""),u=e.height-1,d=i.roundNumber(e.x/e.unit)+"%",c=o.newRect({height:u,width:i.roundNumber(e.width/e.unit)+"%",x:d,y:e.y},t);(l.appendChild(c),e.label)&&(c.addEventListener("mouseenter",function(){a||(a=r.getParentByClassName(c,"water-fall-chart").querySelector(".tooltip")),n=setTimeout(function(){n=null,s.onHoverInShowTooltip(c,e,a)},100)}),c.addEventListener("mouseleave",function(){n?clearTimeout(n):s.onHoverOutShowTooltip(c)}));return e.showOverlay&&e.hideOverlay&&(c.addEventListener("mouseenter",e.showOverlay(e)),c.addEventListener("mouseleave",e.hideOverlay(e))),l}function u(e,t,n,r){var a=i.resourceUrlFormatter(n,125);t=t+Math.round(r/2)+5;var s=o.newTextEl(a,{x:e,y:t});return s.appendChild(o.newTitle(n)),s.style.opacity=n.match(/js.map$/)?"0.5":"1",s}n.createRect=function(e,t){var n,r,s,u,d,c,p,h,f,v,m,g=t.segments,y=l(e,"time-block "+e.cssClass),w=o.newG("rect-holder"),b=e.x;return w.appendChild(y),g&&g.length>0&&(g.forEach(function(t){if(!isNaN(t.total)&&t.total>0&&"number"==typeof t.start){var n=(i=t,o=e,s=isNaN(i.total)?"":"<br/>total: "+Math.round(i.total)+"ms",{cssClass:a.timingTypeToCssClass(i.type),height:o.height-6,hideOverlay:o.hideOverlay,label:"<strong>"+i.type+"</strong><br/>"+Math.round(i.start)+"ms - "+Math.round(i.end)+"ms"+s,showOverlay:o.showOverlay,unit:o.unit,width:i.total,x:i.start||.001,y:o.y}),r=l(n,"segment "+n.cssClass);b=Math.min(b,n.x),w.appendChild(r)}var i,o,s}),i.find(t.responseDetails.indicators,function(e){return"push"===e.id})&&w.appendChild((f=(h=e).y+h.height/1.5,v=i.roundNumber(h.x/h.unit)+"%",(m=o.newG("http2-inidicator-holder")).appendChild(o.newTextEl("→",{transform:"translate(-5)",x:v,y:f},{fillOpacity:"0.6","text-anchor":"end"})),m.appendChild(o.newTitle("http2 Push")),m)),w.appendChild((n=e,r=t.total,s=b,u=n.y+n.height/1.5,d=Math.round(r)+" ms",c=(n.x+n.width)/n.unit+1,p=o.newTextEl(d,{x:i.roundNumber(c)+"%",y:u}),c+8*d.length/500*100>100&&(c=s/n.unit-1,p=o.newTextEl(d,{x:i.roundNumber(c)+"%",y:u},{textAnchor:"end"})),p))),w},n.createRequestNumberLabel=function(e,t,n,r,i){return t+=Math.round(r/2)+5,e+=i,o.newTextEl(n,{x:e,y:t},{"text-anchor":"end"})},n.createRequestLabelClipped=function(e,t,n,r){var i=u(e,t,n,r);return i.style.clipPath="url(#titleClipPath)",i},n.createRequestLabelFull=function(e,t,n,r){var i=u(e,t,n,r),a=o.newG("full-label",{},{clipPath:"url(#titleFullClipPath)"});return a.appendChild(o.newRect({height:r-4,rx:5,ry:5,width:500,x:e-3,y:t+3},"label-full-bg")),a.appendChild(i),a};var d="function"==typeof window.requestAnimationFrame&&"function"==typeof window.cancelAnimationFrame;n.appendRequestLabels=function(e,t,n,r){var i=r.getElementsByTagName("rect")[0],o=r.getElementsByTagName("text")[0];r.style.display="none",r.style.visibility="hidden",e.appendChild(t),e.appendChild(n),e.appendChild(r);var a,s=!1;e.addEventListener("mouseenter",function(){r.style.display="block",n.style.display="none",r.style.visibility="visible";var e=function(){var e=o.getComputedTextLength()+10;i.setAttribute("width",e.toString()),s=!0,a=void 0};s||(d?a=window.requestAnimationFrame(e):e())}),e.addEventListener("mouseleave",function(){n.style.display="block",r.style.display="none",r.style.visibility="hidden",d&&void 0!==a&&cancelAnimationFrame(a)})},n.createBgStripe=function(e,t,n){var r=n?"even":"odd";return o.newRect({height:t,width:"100%",x:0,y:e},r)},n.createNameRowBg=function(e,t){var n=o.newG("row row-fixed");return n.appendChild(o.newRect({height:t,width:"100%",x:"0",y:e},"",{opacity:0})),n},n.createRowBg=function(e,t){var n=o.newG("row row-flex");return n.appendChild(o.newRect({height:t,width:"100%",x:"0",y:e},"",{opacity:0})),n}},{"../../helpers/dom":1,"../../helpers/misc":4,"../../helpers/svg":6,"../../transformers/styling-converters":15,"./svg-tooltip":23}],22:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../../helpers/icons"),i=e("../../helpers/misc"),o=e("../../helpers/svg"),a=e("./svg-indicators"),s=e("./svg-row-subcomponents"),l=o.newClipPath("titleClipPath");l.appendChild(o.newRect({height:"100%",width:"100%"}));var u=o.newClipPath("titleFullClipPath");u.appendChild(o.newRect({height:"100%",width:"100%"}));var d=3;n.createRow=function(e,t,n,c,p,h,f){var v=p.y,m=p.height,g=e.options.leftColumnWidth,y=o.newA(h.responseDetails.rowClass||"");y.setAttribute("tabindex","0"),y.setAttribute("xlink:href","javascript:void(0)");var w=o.newSvg("left-fixed-holder",{width:g+"%",x:"0"}),b=o.newSvg("flex-scale-waterfall",{width:100-g+"%",x:g+"%"}),C=s.createRect(p,h),x=s.createNameRowBg(v,m),T=s.createRowBg(v,m),q=s.createBgStripe(v,m,t%2==0),S=d+n;if(e.options.showMimeTypeIcon){var E=h.responseDetails.icon;S-=E.width,x.appendChild(r[E.type](S,v+3,E.title))}e.options.showIndicatorIcons&&a.getIndicatorIcons(h).forEach(function(e){S-=e.width,x.appendChild(r[e.type](S,v+3,e.title))}),S=d+n;var M=""+(t+1),_=s.createRequestNumberLabel(S,v,M,m,c);S+=c+4;var L,O,P=s.createRequestLabelClipped(S,v,i.resourceUrlFormatter(h.url,40),m),N=s.createRequestLabelFull(S,v,h.url,m);return T.appendChild(C),s.appendRequestLabels(x,_,P,N),e.pubSub.subscribeToSpecificOverlayChanges(t,function(e){L="open"===e.type}),t>0&&e.pubSub.subscribeToSpecificOverlayChanges(t-1,function(e){O="open"===e.type}),y.addEventListener("click",function(e){e.preventDefault(),f(e)}),y.addEventListener("keydown",function(e){var n=e;if(32===n.which||13===n.which)return n.preventDefault(),f(n);i.isTabUp(n)&&!O&&t>0?y.previousSibling&&y.previousSibling.previousSibling&&y.previousSibling.previousSibling.lastChild&&y.previousSibling.previousSibling.lastChild.lastChild&&y.previousSibling.previousSibling.lastChild.lastChild.dispatchEvent(new MouseEvent("mouseenter")):!i.isTabDown(n)||L||y.nextSibling&&y.nextSibling.nextSibling&&y.nextSibling.nextSibling.lastChild&&y.nextSibling.nextSibling.lastChild.lastChild&&y.nextSibling.nextSibling.lastChild.lastChild.dispatchEvent(new MouseEvent("mouseenter"))}),y.addEventListener("focusout",function(){x.dispatchEvent(new MouseEvent("mouseleave"))}),b.appendChild(T),w.appendChild(l.cloneNode(!0)),w.appendChild(x),y.appendChild(u.cloneNode(!0)),y.appendChild(q),y.appendChild(b),y.appendChild(w),y}},{"../../helpers/icons":3,"../../helpers/misc":4,"../../helpers/svg":6,"./svg-indicators":20,"./svg-row-subcomponents":21}],23:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../../helpers/dom"),i=e("../../helpers/svg"),o=/(?:translate)\(.+[, ]+(.+)\)/;n.onHoverInShowTooltip=function(e,t,n){var i=n.querySelector(".tooltip-payload"),a=function(e){void 0===e&&(e=""),e=null===e?"":e;var t=o.exec(e);return t&&t.length>=2?parseInt(t[1],10):0}(r.getParentByClassName(e,"row-item").getAttribute("transform")),s=parseInt(e.getAttribute("y")||"",10),l=e.getAttribute("x")||"",u=parseFloat(l),d=50,c=e.width.baseVal.value||e.getBoundingClientRect().width,p=c/(t.width/t.unit),h=t.width/t.unit/c,f=u>50&&(95-u)*p<200;i.innerHTML=t.label||"",r.addClass(i,"no-anim"),n.style.display="block",i.style.opacity="0.01";var v=i.clientHeight+5;if(d=s+a-v>0?a-v:a+t.height+10,f){var m=u-(i.clientWidth+5)*h,g=parseInt(n.querySelector("body").style.left||"",10);g*=1/(.01*(100-g)),i.style.left=m>-g?m+"%":-g+"%"}else i.style.left=l;n.setAttribute("y",""+(s+d)),n.setAttribute("height",v.toString()),r.removeClass(i,"no-anim"),i.style.opacity="1";var y=i.clientHeight+5-v;0!==y&&(n.setAttribute("height",(v+y).toString()),n.setAttribute("y",""+(s+d-y)))},n.onHoverOutShowTooltip=function(e){var t=r.getParentByClassName(e,"water-fall-chart").querySelector(".tooltip"),n=t.querySelector(".tooltip-payload");t.style.display="none",t.setAttribute("height","250"),n.style.opacity="0"},n.makeTooltip=function(e){var t=e.leftColumnWidth,n=i.newSvg("tooltip-holder",{width:"100%",x:"0",y:"0"}),o=i.newForeignObject({width:"100%",x:"0",y:t+"%"},"tooltip",{display:"none"}),a=r.makeHtmlEl(),s=r.makeBodyEl({left:t+"%",width:100-t+"%"},'<div class="tooltip-payload" style="max-width: 200px; opacity: 0;"></div>');return a.appendChild(s),o.appendChild(a),n.appendChild(o),n}},{"../../helpers/dom":1,"../../helpers/svg":6}],24:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../../helpers/dom"),i=e("../../helpers/svg");n.createAlignmentLines=function(e){return{endline:i.newLine({x1:"0",x2:"0",y1:"0",y2:e},"line-end"),startline:i.newLine({x1:"0",x2:"0",y1:"0",y2:e},"line-start")}},n.makeHoverEvtListeners=function(e){return{onMouseEnterPartial:function(){return function(t){var n=t.target;r.addClass(n,"active");var i=n.x.baseVal.valueInSpecifiedUnits+n.width.baseVal.valueInSpecifiedUnits+"%",o=n.x.baseVal.valueInSpecifiedUnits+"%";e.endline.x1.baseVal.valueAsString=i,e.endline.x2.baseVal.valueAsString=i,e.startline.x1.baseVal.valueAsString=o,e.startline.x2.baseVal.valueAsString=o,r.addClass(e.endline,"active"),r.addClass(e.startline,"active")}},onMouseLeavePartial:function(){return function(t){var n=t.target;r.removeClass(n,"active"),r.removeClass(e.endline,"active"),r.removeClass(e.startline,"active")}}}}},{"../../helpers/dom":1,"../../helpers/svg":6}],25:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../../helpers/misc"),i=e("../../helpers/svg"),o=function(e,t,n,o,a){void 0===a&&(a=!1);var s,l,u=e.diagramHeight,d=100/n,c="sub-second-line";if(a){var p=o>n-.2;c="second-line",l=r.roundNumber(d*o)+.5+"%";var h={};p&&(l=r.roundNumber(d*o)-.5+"%",h["text-anchor"]="end"),s=i.newTextEl(o+"s",{x:l,y:u},h)}l=r.roundNumber(d*o)+"%";var f=i.newLine({x1:l,x2:l,y1:0,y2:u},c);e.pubSub.subscribeToOverlayChanges(function(e){var t=e.combinedOverlayHeight,n=(u+t)/u;f.setAttribute("transform","scale(1, "+n+")"),a&&s.setAttribute("transform","translate(0, "+t+")")}),t.appendChild(f),a&&t.appendChild(s)};n.createTimeScale=function(e,t){for(var n=i.newG("time-scale full-width"),r=200*Math.ceil(t/1e4),a=1e3/r,s=t/1e3,l=t/r,u=0;u<=l;u++)o(e,n,s,u/a,u%a<1e-9);return n}},{"../../helpers/misc":4,"../../helpers/svg":6}],26:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("../../helpers/dom"),i=e("../../helpers/misc"),o=e("../../helpers/svg");function a(e,t){var n=o.newG("line-mark-holder line-marker-"+i.toCssClass(t.name));return n.appendChild(o.newTitle(t.name.replace(/^startTimer-/,""))),n.appendChild(o.newRect({height:e.diagramHeight,width:(t.duration||1)/e.unit+"%",x:(t.startTime||.001)/e.unit+"%",y:0},"line-mark")),n}n.createMarks=function(e,t){var n=e.diagramHeight,s=o.newG("marker-holder",{transform:"scale(1, 1)"});return t.forEach(function(l,u){var d,c=i.roundNumber(l.startTime/e.unit),p=o.newG("mark-holder type-"+l.name.toLowerCase().replace(/([0-9]+[ ]?ms)|\W/g,"")),h=o.newG("line-holder"),f=o.newG("line-label-holder"),v=o.newTextEl(l.name,{x:c+"%",y:n+25});v.setAttribute("writing-mode","tb"),l.x=c;var m=o.newLine({x1:c+"%",x2:c+"%",y1:0,y2:n}),g=t[u-1];g&&void 0!==g.x&&l.x-g.x<2.5&&(v.setAttribute("x",g.x+2.5+"%"),l.x=g.x+2.5);var y=o.newLine({x1:c+"%",x2:l.x+"%",y1:n,y2:n+23});h.appendChild(m),h.appendChild(y),l.duration&&(d=a(e,l),h.appendChild(d)),e.pubSub.subscribeToOverlayChanges(function(e){var t=e.combinedOverlayHeight,r=(n+t)/n;m.setAttribute("transform","scale(1, "+r+")"),f.setAttribute("transform","translate(0, "+t+")"),y.setAttribute("transform","translate(0, "+t+")"),d&&d.setAttribute("transform","translate(0, "+t+")")});var w=!1,b=!1;v.addEventListener("mouseenter",function(){w||(p.parentNode.appendChild(p),w=!0,"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(function(){return r.addClass(h,"active")}):r.addClass(h,"active"))}),v.addEventListener("mouseleave",function(){w=!1,b||r.removeClass(h,"active")}),v.addEventListener("click",function(){b?(w=!1,r.removeClass(h,"active")):w?w=!1:r.addClass(h,"active"),b=!b}),f.appendChild(v),p.appendChild(o.newTitle(l.name)),p.appendChild(h),p.appendChild(f),s.appendChild(p)}),s},n.createLineRect=a},{"../../helpers/dom":1,"../../helpers/misc":4,"../../helpers/svg":6}],27:[function(e,t,n){"use strict";var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e};Object.defineProperty(n,"__esModule",{value:!0});var i=e("../helpers/svg"),o=e("../transformers/styling-converters"),a=e("./details-overlay/overlay-manager"),s=e("./details-overlay/pub-sub"),l=e("./row/svg-row"),u=e("./row/svg-tooltip"),d=e("./sub-components/svg-alignment-helper"),c=e("./sub-components/svg-general-components"),p=e("./sub-components/svg-marks");n.createWaterfallSvg=function(e,t){var n,h,f,v,m,g,y,w,b,C=e.entries.filter(function(e){return"number"==typeof e.start&&"number"==typeof e.total}).sort(function(e,t){return(e.start||0)-(t.start||0)}),x=i.newG("overlays"),T=i.newG("rows-holder"),q=(n=t,h=C,f=e.durationMs/100,v={diagramHeight:(h.length+1)*n.rowHeight,options:n,pubSub:new s.PubSub,unit:f},r({},v,{overlayManager:new a.default(v)})),S=(m=e.marks,g=q.diagramHeight,y=m.reduce(function(e,t){return Math.max(e,i.getNodeTextWidth(i.newTextEl(t.name,{x:0,y:0}),!0))},0),Math.floor(g+y+35)),E=i.newSvg("water-fall-chart",{height:S}),M=i.newSvg("scale-and-marks-holder",{width:100-t.leftColumnWidth+"%",x:t.leftColumnWidth+"%"});if(t.showAlignmentHelpers){w=i.newG("hover-overlays");var _=d.createAlignmentLines(q.diagramHeight);w.appendChild(_.startline),w.appendChild(_.endline),b=d.makeHoverEvtListeners(_)}M.appendChild(c.createTimeScale(q,e.durationMs)),M.appendChild(p.createMarks(q,e.marks));var L=C[0].responseDetails.icon.width,O=0;if(t.showMimeTypeIcon&&(O+=1),t.showIndicatorIcons){var P=C.map(function(e){return e.responseDetails.indicators.filter(function(e){return"icon"===e.displayType}).length>0?1:0});O+=Math.max.apply(null,P)}var N=O*L,I=function(e){for(var t=Math.floor(Math.log(e)/Math.LN10)+1,n="",r=0;r<t;r++)n+="0";return n}(C.length),H=i.getNodeTextWidth(i.newTextEl(""+I),!0),A=[];return q.pubSub.subscribeToOverlayChanges(function(){var e=S+q.overlayManager.getCombinedOverlayHeight();E.classList.toggle("closing",e<E.clientHeight),E.style.height=e+"px"}),C.forEach(function(e,n){var r=e.total||1,a=t.rowHeight*n,s=e.start||.001,u={cssClass:o.requestTypeToCssClass(e.responseDetails.requestType),height:t.rowHeight,hideOverlay:t.showAlignmentHelpers?b.onMouseLeavePartial:void 0,label:"<strong>"+e.url+"</strong><br/>"+Math.round(e.start)+"ms - "+Math.round(e.end)+"ms<br/>total: "+(isNaN(e.total)?"n/a ":Math.round(e.total))+"ms",showOverlay:t.showAlignmentHelpers?b.onMouseEnterPartial:void 0,unit:q.unit,width:r,x:s,y:a},d=l.createRow(q,n,N,H,u,e,function(){q.overlayManager.toggleOverlay(n,a+t.rowHeight,450,e,A)});A.push(d),T.appendChild(d),T.appendChild(i.newG("row-overlay-holder"))}),t.showAlignmentHelpers&&void 0!==w&&M.appendChild(w),E.appendChild(M),E.appendChild(T),E.appendChild(x),E.appendChild(u.makeTooltip(t)),E}},{"../helpers/svg":6,"../transformers/styling-converters":15,"./details-overlay/overlay-manager":17,"./details-overlay/pub-sub":18,"./row/svg-row":22,"./row/svg-tooltip":23,"./sub-components/svg-alignment-helper":24,"./sub-components/svg-general-components":25,"./sub-components/svg-marks":26}]},{},[8])(8)});
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).perfCascade=e()}}(function(){return function o(a,s,l){function u(t,e){if(!s[t]){if(!a[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(d)return d(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var i=s[t]={exports:{}};a[t][0].call(i.exports,function(e){return u(a[t][1][e]||e)},i,i.exports,o,a,s,l)}return s[t].exports}for(var d="function"==typeof require&&require,e=0;e<l.length;e++)u(l[e]);return u}({1:[function(e,t,n){"use strict";function r(e,t,n){t in e.style?e.style[t]=n:console.warn(new Error("Trying to set non-existing style "+t+" = "+n+" on a <"+e.tagName.toLowerCase()+">."))}function i(e,t,n){t in e||console.warn(new Error("Trying to set non-existing attribute "+t+" = "+n+" on a <"+e.tagName.toLowerCase()+">.")),e.setAttributeNS("",t,n)}function o(t,n){Object.keys(n).forEach(function(e){r(t,e,n[e].toString())})}Object.defineProperty(n,"__esModule",{value:!0}),n.addClass=function(e,t){var n=e.classList;return n?t.split(" ").forEach(function(e){return n.add(e)}):e.setAttribute("class",e.getAttribute("class")+" "+t),e},n.removeClass=function(e,t){var n=e.classList;return n?n.remove(t):e.setAttribute("class",(e.getAttribute("class")||"").replace(new RegExp("(\\s|^)"+t+"(\\s|$)","g"),"$2")),e},n.getParentByClassName=function(e,t){if("function"==typeof e.closest)return e.closest("."+t);for(;e;){if(e.classList.contains(t))return e;e=e.parentElement}return null},n.removeChildren=function(e){for(;e.hasChildNodes();)e.removeChild(e.lastChild);return e},n.getLastItemOfNodeList=function(e){if(e&&0!==e.length)return e.item(e.length-1)},n.forEachNodeList=function(e,t){Array.prototype.forEach.call(e,t)},n.safeSetStyle=r,n.safeSetAttribute=i,n.safeSetStyles=o,n.safeSetAttributes=function(t,n){Object.keys(n).forEach(function(e){i(t,e,n[e].toString())})},n.makeHtmlEl=function(){var e=document.createElement("html");return e.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/xmlns/"),e},n.makeBodyEl=function(e,t){void 0===e&&(e={}),void 0===t&&(t="");var n=document.createElement("body");return n.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),o(n,e),n.innerHTML=t,n}},{}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=function(t){return function(e){return e.name.toLowerCase()===t}};n.hasHeader=function(e,t){var n=i(t.toLowerCase());return e.some(n)};var o=!!Array.prototype.find;n.getHeader=function(e,t){var n,r=i(t.toLowerCase());return(n=o?e.find(r):e.map(r).pop())?n.value:void 0},n.getHeaders=function(e,t){var n=i(t.toLowerCase());return e.filter(n).map(function(e){return[t,e.value]})}},{}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i,o,a,s,l,u,d,c,p,h,f,v,m,g,y=e("./svg"),w=function(e,t,n,r,i,o){var a=y.newSvg("",{x:e,y:t}),s=y.newG("icon "+r,{transform:"scale("+i+")"});return s.appendChild(o),s.appendChild(y.newTitle(n)),a.appendChild(s),a};function b(e,t,n,r){if(void 0===r&&(r=1),void 0===u){u=y.newPath("M6 6q0 .75-.525 1.275Q4.95 7.8 4.2 7.8q-.75 0-1.275-.525Q2.4 6.75 2.4\n 6q0-.75.525-1.275Q3.45 4.2 4.2 4.2q.75 0 1.275.525Q6 5.25 6 6zm9.6 3.6v4.2H2.4V12l3-3\n 1.5 1.5 4.8-4.8zm.9-6.6h-15q-.122 0-.21.09-.09.088-.09.21v11.4q0\n .122.09.21.088.09.21.09h15q.122 0 .21-.09.09-.088.09-.21V3.3q0-.122-.09-.21Q16.623\n 3 16.5 3zm1.5.3v11.4q0 .62-.44 1.06-.44.44-1.06.44h-15q-.62 0-1.06-.44Q0 15.32 0\n 14.7V3.3q0-.62.44-1.06.44-.44 1.06-.44h15q.62 0 1.06.44.44.44.44 1.06z")}return w(e,t,n,"icon-image",r,u.cloneNode(!1))}function C(e,t,n,r){if(void 0===r&&(r=1),void 0===p){p=y.newPath("M6 6q0 .75-.525 1.275Q4.95 7.8 4.2 7.8q-.75 0-1.275-.525Q2.4 6.75 2.4\n 6q0-.75.525-1.275Q3.45 4.2 4.2 4.2q.75 0 1.275.525Q6 5.25 6 6zm9.6 3.6v4.2H2.4V12l3-3\n 1.5 1.5 4.8-4.8zm.9-6.6h-15q-.122 0-.21.09-.09.088-.09.21v11.4q0\n .122.09.21.088.09.21.09h15q.122 0 .21-.09.09-.088.09-.21V3.3q0-.122-.09-.21Q16.623\n 3 16.5 3zm1.5.3v11.4q0 .62-.44 1.06-.44.44-1.06.44h-15q-.62 0-1.06-.44Q0 15.32 0\n 14.7V3.3q0-.62.44-1.06.44-.44 1.06-.44h15q.62 0 1.06.44.44.44.44 1.06z")}return w(e,t,n,"icon-warning",r,p.cloneNode(!1))}n.noTls=function(e,t,n,r){void 0===r&&(r=1),void 0===i&&(i=y.newPath("M18 6.216v2.77q0 .28-.206.486-.205.206-.486.206h-.693q-.28 0-.486-.206-.21-.205-.21\n -.487v-2.77q0-1.145-.81-1.957-.813-.81-1.96-.81-1.146 0-1.957.81-.81.812-.81 1.958v2.077h1.037q.434\n 0 .737.303.302.303.302.736v6.23q0 .433-.305.736t-.737.303H1.038q-.433 0-.736-.3Q0 15.996 0\n 15.56V9.33q0-.433.303-.736t.735-.303h7.27V6.218q0-2 1.422-3.423 1.423-1.423 3.424-1.423 2\n 0 3.424 1.424Q18 4.214 18 6.216"));return w(e,t,n,"icon-no-tls",r,i.cloneNode(!1))},n.err3xx=function(e,t,n,r){void 0===r&&(r=1),void 0===o&&(o=y.newPath("M17 2.333V7q0 .27-.198.47-.198.197-.47.197h-4.665q-.438 0-.615-.417-.177-.406.146-.72l1.437-1.436Q11.095\n 3.667 9 3.667q-1.083 0-2.068.422-.984.42-1.703 1.14-.72.715-1.14 1.7-.426.984-.426 2.07 0 1.08.422 2.065.42.984\n 1.14 1.703.718.72 1.702 1.14.984.422 2.067.422 1.24 0 2.344-.54 1.104-.543 1.864-1.533.073-.105.24-.126.146 0\n .26.095l1.427 1.436q.095.084.1.214.006.13-.08.234-1.133 1.376-2.75 2.13Q10.793 17 9 17q-1.625\n 0-3.104-.635-1.48-.636-2.552-1.71-1.073-1.072-1.71-2.55Q1 10.625 1 9t.635-3.104q.636-1.48 1.71-2.552\n 1.072-1.073 2.55-1.71Q7.375 1 9 1q1.53 0 2.964.578 1.432.578 2.546\n 1.63l1.355-1.343q.302-.323.73-.146.405.173.405.61z"));return w(e,t,n,"icon-redirect",r,o.cloneNode(!1))},n.err4xx=function(e,t,n,r){return void 0===r&&(r=1),C(e,t,n,r)},n.err5xx=function(e,t,n,r){return void 0===r&&(r=1),C(e,t,n,r)},n.plain=function(e,t,n,r){void 0===r&&(r=1),void 0===a&&(a=y.newPath("M15.247 4.393q.25.25.43.678.177.43.177.79v10.287q0\n .357-.25.607t-.607.25h-12q-.357 0-.607-.25t-.25-.606V1.858q0-.358.25-.608T2.997 1h8q.357 0\n .786.18.428.177.678.427zm-3.964-2.18V5.57h3.357q-.09-.256-.196-.364L11.65 2.41q-.108-.106-.367\n -.196zm3.428 13.644V6.714H11q-.357 0-.607-.25t-.25-.607V2.143h-6.86v13.714H14.71zM5.57\n 8.143q0-.125.08-.205.08-.08.204-.08h6.286q.125 0 .205.08.08.08.08.205v.57q0 .126-.08.207-.08.08\n -.205.08H5.854q-.125 0-.205-.08-.08-.08-.08-.206v-.57zm6.57 2q.125 0 .205.08.08.08.08.206V11q0\n .125-.08.205-.08.08-.205.08H5.854q-.125 0-.205-.08-.08-.08-.08-.205v-.57q0-.126.08-.207.08-.08.2\n -.08h6.286zm0 2.286q.125 0 .205.08.08.08.08.2v.572q0 .125-.08.205-.08.08-.205.08H5.854q-.125 0-.205\n -.08-.08-.08-.08-.205v-.572q0-.124.08-.204.08-.08.2-.08h6.286z"));return w(e,t,n,"icon-plain",r,a.cloneNode(!1))},n.other=function(e,t,n,r){void 0===r&&(r=1),void 0===s&&(s=y.newPath("M10.8 13.5v3q0 .2-.15.35-.15.15-.35.15h-3q-.2 0-.35-.15-.15-.15-.15-.35v-3q0-.2.15-.35.15\n -.15.35-.15h3q.2 0 .35.15.15.15.15.35zM14.75 6q0 .675-.193 1.262-.193.588-.437.957-.244.365\n -.688.74-.443.375-.718.543-.275.17-.763.444-.51.286-.852.81-.344.526-.344.84 0 .21-.15.405-.15.194\n -.35.194h-3q-.186 0-.318-.23-.13-.234-.13-.47v-.564q0-1.037.812-1.956.812-.917 1.787-1.355.74-.336\n 1.05-.7.314-.362.314-.95 0-.524-.583-.924-.58-.4-1.343-.4-.814 0-1.35.362-.44.312-1.34 1.437-.16.2\n -.386.2-.15 0-.313-.1L3.4 4.987q-.16-.124-.193-.312-.03-.188.07-.35Q5.277 1 9.077 1q1 0 2.01.387\n 1.01.388 1.825 1.038.812.65 1.325 1.594.51.94.51 1.98z"));return w(e,t,n,"icon-other",r,s.cloneNode(!1))},n.javascript=function(e,t,n,r){void 0===r&&(r=1),void 0===l&&(l=y.newPath("M13.516 2.9c-2.766 0-4.463 1.522-4.463 3.536 0 1.733 1.295 2.82 3.256 3.52\n 1.413.49 1.973.926 1.973 1.644 0 .787-.647 1.296-1.873 1.296-1.137 0-2.26-.368-2.96-.736l-.54\n 2.19c.665.367 1.996.734 3.344.734 3.238 0 4.744-1.68 4.744-3.658\n 0-1.68-.966-2.767-3.05-3.537-1.54-.6-2.186-.93-2.186-1.68 0-.6.56-1.14 1.714-1.14\n 1.137 0 1.996.33 2.45.56l.596-2.138c-.7-.332-1.663-.596-3.01-.596zm-9.032.192v7.44c0\n 1.822-.702 2.33-1.822 2.33-.525 0-.997-.09-1.365-.212L1 14.805c.525.175 1.33.28 1.96.28\n 2.574 0 4.185-1.173 4.185-4.534V3.097h-2.66z"));return w(e,t,n,"icon-js",r,l.cloneNode(!1))},n.image=b,n.svg=function(e,t,n,r){return void 0===r&&(r=1),b(e,t,n,r)},n.html=function(e,t,n,r){void 0===r&&(r=1),void 0===d&&(d=y.newPath("M5.626 13.31l-.492.492q-.098.098-.226.098t-.226-.098L.098 9.22Q0 9.12 0\n 8.99q0-.127.098-.226L4.682 4.18q.098-.097.226-.097t.226.098l.492.49q.1.1.1.23t-.1.23L1.76\n 8.99l3.866 3.866q.1.098.1.226t-.1.226zM11.44 2.815l-3.67\n 12.7q-.04.127-.152.19-.113.065-.23.026l-.61-.162q-.13-.04-.193-.152-.064-.112-.024-.24l3.67-12.698q.04\n -.128.157-.192.113-.064.23-.025l.61.167q.13.04.193.152.063.113.023.24zM17.9\n 9.22l-4.582 4.58q-.098.098-.226.098t-.226-.098l-.492-.492q-.1-.098-.1-.226t.1-.226L16.24\n 8.99l-3.867-3.865q-.1-.098-.1-.226t.1-.23l.492-.49q.098-.1.226-.1t.23.1l4.58 4.583q.1.1.1.226 0 .13-.1.23z"));return w(e,t,n,"icon-html",r,d.cloneNode(!1))},n.css=function(e,t,n,r){void 0===r&&(r=1),void 0===c&&(c=y.newPath("M15.436.99q.625 0 1.095.416.47.415.47 1.04 0 .564-.4 1.35-2.97 5.624-4.16 6.724-.865.814\n -1.946.814-1.127 0-1.935-.827-.81-.827-.81-1.962 0-1.144.822-1.895l5.705-5.175Q14.8.99\n 15.435.99zM7.31 10.232q.35.68.953 1.162.603.483 1.345.68l.01.634q.035 1.904-1.16 3.102-1.192\n 1.198-3.114 1.198-1.1 0-1.948-.416-.85-.415-1.364-1.14-.514-.723-.773-1.635Q1 12.905 1\n 11.85l.366.268q.304.224.555.398.25.175.53.327.277.15.41.15.368 0 .493-.33.224-.59.515-1.005.29\n -.415.62-.68.332-.263.788-.424.455-.16.92-.228.465-.066 1.118-.094z"));return w(e,t,n,"icon-css",r,c.cloneNode(!1))},n.warning=C,n.error=function(e,t,n,r){void 0===r&&(r=1),void 0===h&&(h=y.newPath("M9 1q2.177 0 4.016 1.073 1.838 1.073 2.91 2.91Q17 6.823 17 9q0 2.177-1.073 4.016-1.073\n 1.838-2.91 2.91Q11.177 17 9 17q-2.177 0-4.016-1.073-1.838-1.073-2.91-2.91Q1 11.177 1 9q0-2.177 1.073-4.016\n 1.073-1.838 2.91-2.91Q6.823 1 9 1zm1.333 12.99v-1.98q0-.145-.093-.244-.094-.1-.23-.1h-2q-.135 0-.24.105\n -.103.106-.103.24v1.98q0 .136.104.24.106.104.24.104h2q.137 0 .23-.1.094-.098.094-.243zm-.02-3.584l.187\n -6.468q0-.125-.104-.188-.104-.084-.25-.084H7.854q-.146 0-.25.084-.104.062-.104.188l.177 6.468q0\n .104.104.183.106.076.25.076h1.93q.146 0 .245-.078.1-.08.11-.184z"));return w(e,t,n,"icon-no-gzip",r,h.cloneNode(!1))},n.font=function(e,t,n,r){void 0===r&&(r=1),void 0===f&&(f=y.newPath("M7.97 5.754L6.338 10.08q.317 0 1.312.02.994.02 1.542.02.183 0 .548-.02-.836-2.432-1.77\n -4.345zM1 16.38l.02-.76q.22-.068.538-.12.317-.053.548-.102.23-.048.476-.14.245-.09.428-.278.182\n -.187.298-.485l2.28-5.923 2.69-6.962H9.51q.077.135.105.202l1.972 4.615q.317.75 1.02 2.476.7 1.726\n 1.095 2.64.144.327.558 1.39.413 1.062.692 1.62.192.432.336.547.183.145.847.284.663.14.807.197.058.37.058.55\n 0 .04-.005.13t-.005.128q-.605 0-1.827-.076-1.22-.08-1.836-.08-.73 0-2.067.07-1.337.067-1.712.076 0-.412.04\n -.75l1.258-.27q.01 0 .12-.022l.15-.033q.038-.01.14-.044.1-.034.143-.06l.1-.08q.06-.048.082-.106.024-.056.024\n -.133 0-.152-.298-.926t-.693-1.71q-.392-.93-.402-.96l-4.325-.02q-.25.56-.734 1.88-.487 1.32-.487 1.56 0\n .213.136.362.134.15.418.235.285.087.467.13.185.044.55.08.366.04.395.04.01.183.01.558 0 .087-.02.26-.558\n 0-1.678-.095-1.12-.098-1.678-.098-.08 0-.26.04-.18.037-.208.037-.77.136-1.808.136Z"));return w(e,t,n,"icon-font",r,f.cloneNode(!1))},n.flash=function(e,t,n,r){void 0===r&&(r=1),void 0===v&&(v=y.newPath("M13.724 4.738q.195.216.076.476L7.96 17.73q-.142.27-.456.27-.043 0-.15-.022-.185-.054-.277\n -.205-.092-.15-.05-.325l2.132-8.74L4.765 9.8q-.044.01-.13.01-.195 0-.336-.118-.193-.162-.14-.422L6.337.346q.043\n -.15.173-.25Q6.64 0 6.81 0h3.548q.206 0 .346.135.14.135.14.32 0 .086-.053.194L8.94 5.654l4.285\n -1.06q.086-.02.13-.02.205 0 .367.16z"));return w(e,t,n,"icon-flash",r,v.cloneNode(!1))},n.video=function(e,t,n,r){void 0===r&&(r=1),void 0===m&&(m=y.newPath("M17 4.107v9.714q0 .38-.348.53-.116.05-.223.05-.25 0-.41-.17l-3.6-3.6v1.48q0 1.067-.757 1.82-.754.756\n -1.817.756H3.57q-1.06 0-1.816-.753Q1 13.17 1 12.106V5.82q0-1.06.754-1.816.755-.754 1.817-.754h6.29q1.07 0\n 1.82.754.76.755.76 1.817V7.3l3.597-3.59q.16-.17.4-.17.107 0 .22.045.35.153.35.528z"));return w(e,t,n,"icon-video",r,m.cloneNode(!1))},n.audio=function(e,t,n,r){void 0===r&&(r=1),void 0===g&&(g=y.newPath("M8.385 3.756v10.46q0 .252-.183.434-.183.183-.433.183t-.44-.183l-3.2-3.202H1.61q-.25\n 0-.43-.183-.18-.182-.18-.432V7.14q0-.25.182-.432.182-.183.432-.183h2.52l3.202-3.202q.182-.183.432\n -.183t.43.183q.182.183.182.433zm3.692 5.23q0 .73-.41 1.36-.407.63-1.08.9-.097.048-.24.048-.25 0\n -.434-.178-.182-.177-.182-.437 0-.21.12-.35.12-.14.28-.24.16-.1.33-.22.166-.12.28-.34.117-.22.117\n -.55 0-.33-.115-.55-.115-.224-.28-.344-.163-.12-.326-.22-.165-.1-.28-.24-.116-.14-.116-.34 0-.26.183\n -.44t.43-.176q.146 0 .24.048.676.26 1.08.894.41.636.41 1.367zm2.46 0q0 1.472-.816 2.717t-2.16 1.813q\n -.12.048-.24.048-.26 0-.44-.183-.18-.18-.18-.43 0-.37.378-.56.54-.28.73-.42.713-.52 1.11-1.302.4\n -.783.4-1.667 0-.886-.4-1.67-.4-.783-1.11-1.303-.192-.145-.73-.424-.376-.192-.376-.567 0-.25.183\n -.434.183-.18.433-.18.123 0 .25.047 1.344.567 2.16 1.812.82 1.244.82 2.716zm2.463 0q0 2.212\n -1.22 4.063-1.222 1.85-3.25 2.72-.126.05-.25.05-.25 0-.434-.19-.183-.183-.183-.433 0-.346.375\n -.568.068-.04.217-.1.15-.064.216-.1.45-.244.79-.494 1.19-.875 1.85-2.183.67-1.306.67-2.777 0\n -1.47-.663-2.78-.664-1.304-1.846-2.18-.346-.25-.79-.49-.065-.035-.214-.1-.15-.06-.22-.1\n -.375-.22-.375-.57 0-.25.183-.43.183-.182.433-.182.123 0 .25.047 2.027.876 3.25 2.727Q17 6.775 17 8.99Z"));return w(e,t,n,"icon-audio",r,g.cloneNode(!1))}},{"./svg":6}],4:[function(e,t,n){"use strict";function r(e,t){var n=0;if(e&&!(e.length<1))for(var r=e.length;n<r;){if(t(e[n],n))return n;n++}}Object.defineProperty(n,"__esModule",{value:!0}),n.contains=function(e,t){return e.some(function(e){return e===t})},n.findIndex=r,n.find=function(e,t){var n=r(e,t);if(void 0!==n)return e[n]},n.resourceUrlFormatter=function(e,t){if(e.length<t)return e.replace(/https?:\/\//,"");var n,r,i,o=(n=e,r=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),{authority:(i=n.match(r)||[])[4],fragment:i[9],path:i[5],query:i[7],scheme:i[2]});if((o.authority+o.path).length<t)return o.authority+o.path;var a=Math.floor(t/2)-3,s=Math.floor(t/2)-5,l=o.path.split("/");return o.authority.length>a?o.authority.substr(0,a)+"..."+l[l.length-1].substr(-s):o.authority+"..."+l[l.length-1].substr(-s)},n.roundNumber=function(e,t){return void 0===t&&(t=2),Math.round(e*Math.pow(10,t))/Math.pow(10,t)},n.isInStatusCodeRange=function(e,t,n){return t<=e&&e<=n};var i=/[^a-z-]/g;n.toCssClass=function(e){return e.toLowerCase().replace(i,"")},n.pluralize=function(e,t){return e+(1<t?"s":"")},n.isTabUp=function(e){return 9===e.which&&e.shiftKey},n.isTabDown=function(e){return 9===e.which&&!e.shiftKey}},{}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("./misc");function i(e){if("function"==typeof e.toString)return e.toString();throw TypeError("Can't convert type "+typeof e+" to string")}function o(e,t){var n=function(e){return t(e)?e:void 0};if("string"!=typeof e)return n(e);var r=parseInt(e,10);return isFinite(r)?n(r):void 0}n.parseAndFormat=function(e,t,n){if(void 0===n&&(n=i),void 0!==e){var r=t(e);if(void 0!==r)return n(r)}},n.parseNonEmpty=function(e){return 0<e.trim().length?e:void 0},n.parseDate=function(e){var t=new Date(e);if(!isNaN(t.getTime()))return t},n.parseNonNegative=function(e){if(null!=e)return o(e,function(e){return 0<=e})},n.parsePositive=function(e){if(null!=e)return o(e,function(e){return 0<e})},n.formatMilliseconds=function(e){return void 0!==e?r.roundNumber(e,3)+" ms":void 0};n.formatSeconds=function(e){if(void 0!==e){var t=r.roundNumber(e,3)+" s";return 86400<e?t+" (~"+r.roundNumber(e/86400,0)+" days)":3600<e?t+" (~"+r.roundNumber(e/3600,0)+" hours)":60<e?t+" (~"+r.roundNumber(e/60,0)+" minutes)":t}},n.formatDateLocalized=function(e){return void 0!==e?e.toUTCString()+"<br/>(local time: "+e.toLocaleString()+")":void 0};n.formatBytes=function(e){if(void 0===e)return"";var t=e+" bytes";return 1048576<=e?t+" (~"+r.roundNumber(e/1048576,1)+" MB)":1024<=e?t+" (~"+r.roundNumber(e/1024,0)+" kB)":t};var a={'"':"&quot","&":"&amp","'":"&#039","<":"&lt",">":"&gt"},s=new RegExp(Object.keys(a).join("|"),"g");n.escapeHtml=function(e){if(void 0===e&&(e=""),null==e)return"";if("string"!=typeof e){if("function"!=typeof e.toString)throw TypeError("Invalid parameter");e=e.toString()}return e.replace(s,function(e){return a[e]})};var l=new RegExp("[^-A-Za-z0-9+&@#/%?=~_|!:,.;()]","g");n.sanitizeUrlForLink=function(e){var t=e.replace(l,"_");return 0===t.indexOf("http://")||0===t.indexOf("https://")?t:(console.warn("skipped link, due to potentially unsafe url",e),"")};var u=new RegExp("[^a-zA-Z0-9]","g");function d(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}n.sanitizeAlphaNumeric=function(e){return e.toString().replace(u,"")},n.toInt=d,n.validateOptions=function(n){var e=function(e){var t=d(n[e]);if(void 0===t)throw TypeError('option "'+e+'" needs to be a number');n[e]=t},t=function(e){n[e]=!!n[e]};return e("leftColumnWidth"),e("rowHeight"),e("selectedPage"),t("showAlignmentHelpers"),t("showIndicatorIcons"),t("showMimeTypeIcon"),n}},{"./misc":4}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var p=e("./dom"),h="http://www.w3.org/2000/svg";function r(e,t){var n=void 0===t?{}:t,r=n.attributes,i=void 0===r?{}:r,o=n.css,a=void 0===o?{}:o,s=n.text,l=void 0===s?"":s,u=n.className,d=void 0===u?"":u,c=document.createElementNS(h,e);return d&&p.addClass(c,d),l&&(c.textContent=l),p.safeSetStyles(c,a),p.safeSetAttributes(c,i),c}function i(e,t,n){return void 0===n&&(n={}),r("svg",{className:e,attributes:t,css:n})}n.newSvg=i,n.newG=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),r("g",{className:e,attributes:t,css:n})},n.newClipPath=function(e){return r("clipPath",{attributes:{id:e}})},n.newForeignObject=function(e,t,n){return void 0===t&&(t=""),void 0===n&&(n={}),r("foreignObject",{attributes:e,className:t,css:n})},n.newA=function(e){return r("a",{className:e})},n.newRect=function(e,t,n){return void 0===t&&(t=""),void 0===n&&(n={}),r("rect",{attributes:e,className:t,css:n})},n.newLine=function(e,t){return void 0===t&&(t=""),r("line",{className:t,attributes:e})},n.newTitle=function(e){var t=document.createElementNS(h,"title");return t.setAttribute("text",e),t},n.newTextEl=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),r("text",{text:e,attributes:t,css:n})},n.newPath=function(e){var t=document.createElementNS(h,"path");return t.setAttribute("d",e),t};var o,a,s=function(){void 0===o&&(o=i("water-fall-chart temp",{className:"water-fall-chart temp",width:"9999px"},{left:"0px",position:"absolute",top:"0px",visibility:"hidden","z-index":"99999"}));return void 0===o.parentElement&&window.document.body.appendChild(o),clearTimeout(a),a=setTimeout(function(){o.parentNode.removeChild(o)},500),o};n.getNodeTextWidth=function(e,t){if(void 0===t&&(t=!1),0===(e.textContent||"").length)return 0;var n,r,i=s();t?(r=e.style.textShadow,n=e):((n=e.cloneNode(!0)).setAttribute("x","0"),n.setAttribute("y","0")),n.style.textShadow="0",i.appendChild(n),window.document.body.appendChild(i);var o=n.getComputedTextLength();return t&&void 0!==r&&(e.style.textShadow=r),o}},{"./dom":1}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.makeLegend=function(){var e=document.createElement("ul");return e.className="resource-legend",e.innerHTML='\n <li class="legend-blocked" title="Time spent in a queue waiting for a network connection.">Blocked</li>\n <li class="legend-dns" title="DNS resolution time.">DNS</li>\n <li class="legend-connect" title="Time required to create TCP connection.">Connect</li>\n <li class="legend-ssl" title="Time required for SSL/TLS negotiation.">SSL (TLS)</li>\n <li class="legend-send" title="Time required to send HTTP request to the server.">Send</li>\n <li class="legend-wait" title="Waiting for a response from the server.">Wait</li>\n <li class="legend-receive"\n title="Time required to read entire response from the server (or cache).">Receive</li>',e}},{}],8:[function(e,t,n){"use strict";var a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0});var s=e("./helpers/parse"),l=e("./legend/legend"),u=e("./paging/paging"),i=e("./transformers/har"),d=e("./waterfall/svg-chart"),c={leftColumnWidth:25,legendHolder:void 0,onParsed:void 0,pageSelector:void 0,rowHeight:23,selectedPage:0,showAlignmentHelpers:!0,showIndicatorIcons:!0,showMimeTypeIcon:!0},o={showUserTiming:!1,showUserTimingEndMarker:!1};n.makeLegend=function(){return l.makeLegend()},n.fromHar=function(e,t){void 0===t&&(t={});var n=a({},o,t),r=i.transformDoc(e,n);return"function"==typeof t.onParsed&&t.onParsed(r),function(e,t){void 0===t&&(t={}),void 0!==t.leftColumnWith&&(console.warn("Depreciation Warning: The option 'leftColumnWith' has been fixed to 'leftColumnWidth', please update your code as this will get deprecated in the future"),t.leftColumnWidth=t.leftColumnWith);var i=s.validateOptions(a({},c,t)),n=new u.default(e,i.selectedPage),o=d.createWaterfallSvg(n.getSelectedPage(),i);return n.onPageUpdate(function(e,t){var n=o.parentElement,r=d.createWaterfallSvg(t,i);n.replaceChild(r,o),o=r}),i.pageSelector&&n.initPagingSelectBox(i.pageSelector),i.legendHolder&&(i.legendHolder.innerHTML="",i.legendHolder.appendChild(l.makeLegend())),o}(r,t)}},{"./helpers/parse":5,"./legend/legend":7,"./paging/paging":9,"./transformers/har":13,"./waterfall/svg-chart":27}],9:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("../helpers/dom"),r=function(){function e(e,t){void 0===t&&(t=0),this.doc=e,this.selectedPageIndex=t,this.onPageUpdateCbs=[],t>=this.doc.pages.length&&(this.selectedPageIndex=this.doc.pages.length-1)}return e.prototype.getPageCount=function(){return this.doc.pages.length},e.prototype.getSelectedPage=function(){return this.doc.pages[this.selectedPageIndex]},e.prototype.getSelectedPageIndex=function(){return this.selectedPageIndex},e.prototype.setSelectedPageIndex=function(e){var t=this;if(this.selectedPageIndex!==e){if(e<0||e>=this.getPageCount())throw new Error("Page does not exist - Invalid pageIndex selected");this.selectedPageIndex=e;var n=this.doc.pages[this.selectedPageIndex];this.onPageUpdateCbs.forEach(function(e){e(t.selectedPageIndex,n)})}},e.prototype.onPageUpdate=function(e){if(1<this.getPageCount())return this.onPageUpdateCbs.push(e)},e.prototype.initPagingSelectBox=function(r){var i=this,n=this;this.getPageCount()<=1?r.style.display="none":(o.removeChildren(r),this.doc.pages.forEach(function(e,t){var n=new Option(e.title,t.toString(),!1,t===i.selectedPageIndex);r.add(n)}),r.style.display="block",r.addEventListener("change",function(e){var t=parseInt(e.target.value,10);n.setSelectedPageIndex(t)}))},e}();n.default=r},{"../helpers/dom":1}],10:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var b=e("../helpers/har"),C=e("../helpers/parse"),x=e("./helpers"),T=function(e,t){return[e,C.parseAndFormat(t,C.parsePositive,C.formatBytes)]},q=function(e,t){return[e,C.parseAndFormat(t,C.parsePositive)]},S=function(e){return 1<e.length&&void 0!==e[1]&&""!==e[1]};n.getKeys=function(e,t,n,r){var i,o,a,s,l,u,d,c,p,h,f,v,m,g=e.request.headers,y=e.response.headers,w=function(e){return[e.name,e.value]};return{general:(f=e,v=n,m=t,[["Request Number","#"+m],["Started",new Date(f.startedDateTime).toLocaleString()+(0<v?" ("+C.formatMilliseconds(v)+" after page request started)":"")],["Duration",C.formatMilliseconds(f.time)],["Error/Status Code",f.response.status+" "+f.response.statusText],["Server IPAddress",f.serverIPAddress],["Connection",f.connection],["Browser Priority",f._priority||f._initialPriority],["Was pushed",C.parseAndFormat(f._was_pushed,C.parsePositive,function(){return"yes"})],["Initiator (Loaded by)",f._initiator],["Initiator Line",f._initiator_line],["Initiator Type",f._initiator_type],["Host",b.getHeader(f.request.headers,"Host")],["IP",f._ip_addr],["Client Port",C.parseAndFormat(f._client_port,C.parsePositive)],["Expires",f._expires],["Cache Time",C.parseAndFormat(f._cache_time,C.parsePositive,C.formatSeconds)],["CDN Provider",f._cdn_provider],T("ObjectSize",f._objectSize),T("Bytes In (downloaded)",f._bytesIn),T("Bytes Out (uploaded)",f._bytesOut),T("JPEG Scan Count",f._jpeg_scan_count),T("Gzip Total",f._gzip_total),T("Gzip Save",f._gzip_save),T("Minify Total",f._minify_total),T("Minify Save",f._minify_save),T("Image Total",f._image_total),T("Image Save",f._image_save)].filter(S)),request:(c=e,p=c.request,h=function(e){return b.getHeaders(p.headers,e)},x.flattenKvTuple([["Method",p.method],["HTTP Version",p.httpVersion],T("Bytes Out (uploaded)",c._bytesOut),T("Headers Size",p.headersSize),T("Body Size",p.bodySize),["Comment",C.parseAndFormat(p.comment,C.parseNonEmpty)],h("User-Agent"),h("Host"),h("Connection"),h("Accept"),h("Accept-Encoding"),h("Expect"),h("Forwarded"),h("If-Modified-Since"),h("If-Range"),h("If-Unmodified-Since"),q("Querystring parameters count",p.queryString.length),q("Cookies count",p.cookies.length)]).filter(S)),requestHeaders:g.map(w).filter(S),response:function(e){var t,n=e.response,r=n.content,i=n.headers,o=function(e,t){return void 0===t&&(t=e),b.getHeaders(i,t)},a=function(e){var t=b.getHeader(i,e);return[e,C.parseAndFormat(t,C.parseDate,C.formatDateLocalized)]},s=b.getHeader(i,"Content-Length");-1!==r.size&&s!==r.size.toString()&&(t=r.size);var l=b.getHeader(i,"Content-Type");return e._contentType&&e._contentType!==l&&(l=l+" | "+e._contentType),x.flattenKvTuple([["Status",n.status+" "+n.statusText],["HTTP Version",n.httpVersion],T("Bytes In (downloaded)",e._bytesIn),T("Headers Size",n.headersSize),T("Body Size",n.bodySize),["Content-Type",l],o("Cache-Control"),o("Content-Encoding"),a("Expires"),a("Last-Modified"),o("Pragma"),T("Content-Length",s),T("Content Size",t),T("Content Compression",r.compression),o("Connection"),o("ETag"),o("Accept-Patch"),["Age",C.parseAndFormat(b.getHeader(i,"Age"),C.parseNonNegative,C.formatSeconds)],o("Allow"),o("Content-Disposition"),o("Location"),o("Strict-Transport-Security"),o("Trailer (for chunked transfer coding)","Trailer"),o("Transfer-Encoding"),o("Upgrade"),o("Vary"),o("Timing-Allow-Origin"),["Redirect URL",C.parseAndFormat(n.redirectURL,C.parseNonEmpty)],["Comment",C.parseAndFormat(n.comment,C.parseNonEmpty)]]).filter(S)}(e),responseHeaders:y.map(w).filter(S),timings:(i=e,o=n,a=r,s=i.timings,l=function(e){return C.parseAndFormat(e,C.parseNonNegative,C.formatMilliseconds)},u="number"!=typeof o||"number"!=typeof a?void 0:a-o,d=l(s.connect),s.ssl&&0<s.ssl&&s.connect&&(d=d+" (without TLS: "+l(s.connect-s.ssl)+")"),[["Total",C.formatMilliseconds(u)],["Blocked",l(s.blocked)],["DNS",l(s.dns)],["Connect",d],["SSL (TLS)",l(s.ssl)],["Send",C.formatMilliseconds(s.send)],["Wait",C.formatMilliseconds(s.wait)],["Receive",C.formatMilliseconds(s.receive)]].filter(S))}}},{"../helpers/har":2,"../helpers/parse":5,"./helpers":14}],11:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var s=e("../helpers/har"),l=e("../helpers/misc"),u=e("../helpers/parse");function d(e,t){var n=e.response.headers;return!s.hasHeader(n,"Content-Encoding")&&function(e,t){if(e.response.bodySize<1e3)return!1;if(l.contains(["html","css","javascript","svg","plain"],t))return!0;var n=e.response.content.mimeType;return!(!l.contains(["text"],n.split("/")[0])&&!l.contains(["application/vnd.ms-fontobject","application/x-font-opentype","application/x-font-truetype","application/x-font-ttf","application/xml","font/eot","font/opentype","font/otf","image/vnd.microsoft.icon"],n.split(";")[0]))}(e,t)}function c(e){return 0===e.request.url.indexOf("https://")}n.documentIsSecure=function(e){var t=e.filter(function(e){return!e.response.redirectURL})[0];return void 0===t?0<e.length&&c(e[0]):c(t)},n.collectIndicators=function(e,t,n,r){var i,o,a=[];return void 0!==(i=e)._was_pushed&&null!==i._was_pushed&&1===u.toInt(i._was_pushed)&&a.push({description:"Response was pushed by the server using HTTP2 push.",displayType:"inline",icon:"push",id:"push",title:"Response was pushed by the server",type:"info"}),!n||c(e)||(o=e,0===t&&o.response.redirectURL)||a.push({description:"Insecure request, it should use HTTPS.",displayType:"icon",id:"noTls",title:"Insecure Connection",type:"error"}),function(e){if(!e.request.method||"get"!==e.request.method.toLowerCase())return!1;if(204===e.response.status||!l.isInStatusCodeRange(e.response.status,200,299))return!1;var t=e.response.headers;return!(s.hasHeader(t,"Cache-Control")||s.hasHeader(t,"Expires"))}(e)&&a.push({description:"The response is not allow to be cached on the client. Consider setting 'Cache-Control' headers.",displayType:"icon",id:"noCache",title:"Response not cached",type:"error"}),d(e,r)&&a.push({description:"The response is not compressed. Consider enabling HTTP compression on your server.",displayType:"icon",id:"noGzip",title:"no gzip",type:"error"}),!e.response.content.mimeType&&l.isInStatusCodeRange(e.response.status,200,299)&&204!==e.response.status&&a.push({description:"Response doesn't contain a 'Content-Type' header.",displayType:"icon",id:"warning",title:"No MIME Type defined",type:"warning"}),a}},{"../helpers/har":2,"../helpers/misc":4,"../helpers/parse":5}],12:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var f=e("../helpers/misc"),v=e("../helpers/parse"),m=e("./extract-details-keys"),g=e("./helpers");function y(e,t,n){return void 0===n&&(n=""),{content:t,tabClass:n,title:e}}function w(e,t,n){return void 0===n&&(n=""),{renderContent:t,tabClass:n,title:e}}n.makeTabs=function(e,t,n,r,i,o){var a,s,l,u,d,c,p=[],h=m.getKeys(e,t,r,i);return p.push(function(e,t){var n=g.makeDefinitionList(e);if(0===t.length)return y("General",n);var r="<h2>General</h2>\n<dl>"+n+"<dl>",i="",o=t.filter(function(e){return"error"===e.type}).map(function(e){return[e.title,e.description]}),a=t.filter(function(e){return"warning"===e.type}).map(function(e){return[e.title,e.description]}),s=t.filter(function(e){return"error"!==e.type&&"warning"!==e.type}).map(function(e){return[e.title,e.description]});return 0<o.length&&(i+='<h2 class="no-boder">'+f.pluralize("Error",o.length)+"</h2>\n <dl>"+g.makeDefinitionList(o)+"</dl>"),0<a.length&&(i+='<h2 class="no-boder">'+f.pluralize("Warning",a.length)+"</h2>\n <dl>"+g.makeDefinitionList(a)+"</dl>"),0<s.length&&(i+='<h2 class="no-boder">Info</h2>\n <dl>'+g.makeDefinitionList(s)+"</dl>"),y("General",i+r)}(h.general,o)),p.push((a=h.request,s=h.requestHeaders,y("Request","<dl>\n "+g.makeDefinitionList(a)+"\n </dl>\n <h2>All Request Headers</h2>\n <dl>\n "+g.makeDefinitionList(s)+"\n </dl>"))),p.push((l=h.response,u=h.responseHeaders,y("Response","<dl>\n "+g.makeDefinitionList(l)+"\n </dl>\n <h2>All Response Headers</h2>\n <dl>\n "+g.makeDefinitionList(u)+"\n </dl>"))),p.push(y("Timings",g.makeDefinitionList(h.timings,!0))),p.push((d=e,w("Raw Data",function(){return"<pre><code>"+v.escapeHtml(JSON.stringify(d,null,2))+"</code></pre>"},"raw-data"))),"image"===n&&p.push((c=e,w("Preview",function(e){return'<img class="preview" style="max-height:'+(e-100)+'px"\n data-src="'+v.sanitizeUrlForLink(c.request.url)+'" />'}))),p.filter(function(e){return void 0!==e})}},{"../helpers/misc":4,"../helpers/parse":5,"./extract-details-keys":10,"./helpers":14}],13:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("../helpers/misc"),p=e("../helpers/parse"),h=e("./har-heuristics"),f=e("./har-tabs"),v=e("./helpers");n.transformDoc=function(e,n){var r=void 0!==e.log?e.log:e;return{pages:m(r).map(function(e,t){return i(r,t,n)})}};var m=function(e){return e.pages&&0<e.pages.length?e.pages:[{id:"",pageTimings:{},startedDateTime:e.entries.reduce(function(e,t){var n=Date.parse(t.startedDateTime);return Date.parse(e)<n?e:t.startedDateTime},e.entries[0].startedDateTime),title:"n/a"}]};function i(e,t,n){void 0===t&&(t=0);var r=void 0!==e.log?e.log:e,i=m(r),o=i[t];if(!o.startedDateTime)throw new TypeError('Invalid HAR document: "log.pages['+t+'].startedDateTime" is not set');var a=new Date(o.startedDateTime).getTime(),s=o.pageTimings,l=0,u=h.documentIsSecure(r.entries),d=r.entries.filter(function(e){return 0!==e.request.url.indexOf("data:")&&0!==e.request.url.indexOf("javascript:")&&(1===i.length&&""===o.id||e.pageref===o.id)}).map(function(e,t){var n=new Date(e.startedDateTime).getTime()-a;return l=Math.max(l,n+e.time),function(e,t,n,r){n=Math.round(n);var i=Math.round(p.toInt(e._all_end)||n+e.time),o=v.mimeToRequestType(e.response.content.mimeType),a=h.collectIndicators(e,t,r,o),s=w(e,a);return v.createWaterfallEntry(e.request.url,n,i,y(n,e),s,f.makeTabs(e,t+1,o,n,i,a))}(e,t,n,u)}),c=g(s,o,n);return c.forEach(function(e){e.startTime>l&&(l=e.startTime)}),n.fixedLengthMs&&(l=n.fixedLengthMs),{docIsTLS:u,durationMs:l+=100,entries:d,marks:c,title:o.title}}n.transformPage=i;var g=function(t,e,n){if(void 0===t)return[];var r=function(e,t){return e.startTime-t.startTime},i=Object.keys(t).filter(function(e){return"number"==typeof t[e]&&0<=t[e]}).map(function(e){return{name:p.escapeHtml(e.replace(/^[_]/,""))+" ("+o.roundNumber(t[e],0)+" ms)",startTime:t[e]}});return n.showUserTiming?a(e,n).concat(i).sort(r):i.sort(r)},a=function(o,a){var t=a.showUserTimingEndMarker?function(e){return 0===e.indexOf("_userTime.")}:function(e){return 0===e.indexOf("_userTime.")&&0!==e.indexOf("_userTime.endTimer-")},e=t;if(Array.isArray(a.showUserTiming)){var n=a.showUserTiming;e=function(e){return t(e)&&0<=n.indexOf(e.replace(/^_userTime\./,""))}}var s=/^_userTime\.((?:startTimer-)?(.+))$/;return Object.keys(o).filter(e).map(function(e){var t,n,r,i;return r=(t=s.exec(e)||[,void 0,void 0])[1],n=t[2],(r=p.escapeHtml(r))!==(n=p.escapeHtml(n))&&o["_userTime.endTimer-"+n]?{duration:i=o["_userTime.endTimer-"+n]-o[e],name:(a.showUserTimingEndMarker?r:n)+" ("+o[e]+" - "+(o[e]+i)+" ms)",startTime:o[e]}:{name:r,startTime:o[e]}})},y=function(a,s){var l=s.timings;return["blocked","dns","connect","send","wait","receive"].reduce(function(e,t){var n=u(t,s,e,a);if(n.end&&n.start>=n.end)return e;if("connect"===t&&l.ssl&&-1!==l.ssl){var r=parseInt(""+s._ssl_start,10)||n.start,i=parseInt(""+s._ssl_end,10)||n.start+l.ssl,o=parseInt(""+s._ssl_start,10)?n.start:i;return e.concat([v.createWaterfallEntryTiming("ssl",Math.round(r),Math.round(i))]).concat([v.createWaterfallEntryTiming(t,Math.round(o),Math.round(n.end))])}return e.concat([v.createWaterfallEntryTiming(t,Math.round(n.start),Math.round(n.end))])},[])},u=function(e,t,n,r){var i;switch(e){case"wait":i="ttfb";break;case"receive":i="download";break;default:i=e}var o=parseInt(t["_"+i+"_start"],10),a=parseInt(t["_"+i+"_end"],10),s=isNaN(o)?0<n.length?n[n.length-1].end:r:o,l=isNaN(a)?s+t.timings[e]:a;return{end:Math.round(l),start:Math.round(s)}},w=function(e,t){var n=v.mimeToRequestType(e.response.content.mimeType),r=p.toInt(e.response.status)||0;return{icon:v.makeMimeTypeIcon(r,e.response.statusText,n,e.response.redirectURL),indicators:t,requestType:n,rowClass:v.makeRowCssClasses(r),statusCode:r}}},{"../helpers/misc":4,"../helpers/parse":5,"./har-heuristics":11,"./har-tabs":12,"./helpers":14}],14:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("../helpers/misc"),a=e("../helpers/parse"),s=e("../waterfall/row/svg-indicators"),r=function(e){return a.escapeHtml(e).replace("&ltbr/&gt","<br/>")};n.makeDefinitionList=function(e,n){return void 0===n&&(n=!1),e.map(function(e){return"\n <dt "+(t=e[0],n?'class="'+(o.toCssClass(t)||"no-colour")+'"':"")+">"+r(e[0])+"</dt>\n <dd>"+r(e[1])+"</dd>\n ";var t}).join("")},n.mimeToRequestType=function(e){if(void 0===e)return"other";var t=e.split("/"),n=t[1];switch(void 0!==n&&(n=-1<n.indexOf(";")?n.split(";")[0]:n),t[0]){case"image":return"svg+xml"===n?"svg":"image";case"font":return"font";case"video":return"video";case"audio":return"audio"}switch(n){case"xml":case"html":return"html";case"plain":return"plain";case"css":return"css";case"vnd.ms-fontobject":case"font-woff":case"font-woff2":case"x-font-truetype":case"x-font-opentype":case"x-font-woff":return"font";case"javascript":case"x-javascript":case"script":case"json":return"javascript";case"x-shockwave-flash":return"flash";default:return"other"}},n.createWaterfallEntry=function(e,t,n,r,i,o){return void 0===r&&(r=[]),{end:n,responseDetails:i,segments:r,start:t,tabs:o,total:"number"!=typeof t||"number"!=typeof n?NaN:n-t,url:e}},n.createWaterfallEntryTiming=function(e,t,n){return{end:n,start:t,total:"number"!=typeof t||"number"!=typeof n?NaN:n-t,type:a.sanitizeAlphaNumeric(e)}},n.makeRowCssClasses=function(e){var t=["row-item"];return o.isInStatusCodeRange(e,500,599)?t.push("status5xx"):o.isInStatusCodeRange(e,400,499)?t.push("status4xx"):304!==e&&o.isInStatusCodeRange(e,300,399)&&t.push("status3xx"),t.join(" ")},n.makeMimeTypeIcon=function(e,t,n,r){if(void 0===r&&(r=""),r){var i=encodeURI(r.split("?")[0]||"");return s.makeIcon("err3xx",e+" response status: Redirect to "+a.escapeHtml(i)+"...")}return o.isInStatusCodeRange(e,400,499)?s.makeIcon("err4xx",e+" response status: "+a.escapeHtml(t)):o.isInStatusCodeRange(e,500,599)?s.makeIcon("err5xx",e+" response status: "+a.escapeHtml(t)):204===e?s.makeIcon("plain","No content"):s.makeIcon(a.sanitizeAlphaNumeric(n),a.escapeHtml(n))},n.flattenKvTuple=function(e){var t=[];return e.forEach(function(e){void 0!==e&&0!==e.length&&(Array.isArray(e[0])?t.push.apply(t,e):t.push(e))}),t}},{"../helpers/misc":4,"../helpers/parse":5,"../waterfall/row/svg-indicators":20}],15:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.requestTypeToCssClass=function(e){return"block-"+e},n.timingTypeToCssClass=function(e){return"block-"+e}},{}],16:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var s=e("../../helpers/dom"),l=e("../../helpers/parse");n.createDetailsBody=function(e,r,t){var n=s.makeHtmlEl(),i=s.makeBodyEl(),o=t.tabs.map(function(e){return'<li><button class="tab-button">'+e.title+"</button></li>"}).join("\n"),a=t.tabs.map(function(e){var t="tab";e.tabClass&&(t+=" "+e.tabClass);var n="";if(e.content)n=e.content;else{if("function"!=typeof e.renderContent)throw TypeError("Invalid Details Tab");n=e.renderContent(r),e.content=n}return'<div class="tab '+t+'">'+n+"</div>"}).join("\n");return i.innerHTML='\n <div class="wrapper">\n <header class="type-'+t.responseDetails.requestType+'">\n <h3><strong>#'+e+'</strong> <a href="'+l.sanitizeUrlForLink(t.url)+'">\n '+l.escapeHtml(t.url)+'\n </a></h3>\n <nav class="tab-nav">\n <ul>\n '+o+"\n </ul>\n </nav>\n </header>\n "+a+"\n </div>\n ",n.appendChild(i),n}},{"../../helpers/dom":1,"../../helpers/parse":5}],17:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var w=e("../../helpers/dom"),b=e("../../helpers/misc"),C=e("./svg-details-overlay"),r=function(){function y(e){this.context=e,this.openOverlays=[],this.realignRow=function(e,t){e.setAttribute("transform","translate(0, "+t+")")}}return y.prototype.getCombinedOverlayHeight=function(){return this.openOverlays.reduce(function(e,t){return e+(t.height||0)},0)},y.prototype.openOverlay=function(t,e,n,r,i){if(!this.openOverlays.some(function(e){return e.index===t})){var o=this,a={defaultY:e,entry:r,index:t,onClose:function(){o.closeOverlay(t,n,i)},openTabIndex:0};this.openOverlays.push(a),this.openOverlays=this.openOverlays.sort(function(e,t){return e.index>t.index?1:-1}),this.renderOverlays(n,i),this.context.pubSub.publishToOverlayChanges({changedIndex:t,combinedOverlayHeight:o.getCombinedOverlayHeight(),type:"open"})}},y.prototype.toggleOverlay=function(t,e,n,r,i){this.openOverlays.some(function(e){return e.index===t})?this.closeOverlay(t,n,i):this.openOverlay(t,e,n,r,i)},y.prototype.closeOverlay=function(r,e,t){this.openOverlays.splice(this.openOverlays.reduce(function(e,t,n){return t.index===r?n:e},-1),1),this.renderOverlays(e,t),this.context.pubSub.publishToOverlayChanges({changedIndex:r,combinedOverlayHeight:this.getCombinedOverlayHeight(),type:"closed"})},y.prototype.renderOverlays=function(f,e){var v=this,m=0,g=function(e,t,n){m+=n,e.actualY=t,e.height=n};e.forEach(function(e,t){var n=b.find(v.openOverlays,function(e){return e.index===t}),r=e.nextElementSibling,i=r.firstElementChild;if(v.realignRow(e,m),void 0!==n){if(i&&void 0!==n.actualY){var o=i.querySelector(".info-overlay-bg"),a=i.querySelector("foreignObject"),s=i.querySelector(".info-overlay-close-btn rect"),l=i.querySelector(".info-overlay-close-btn text");return g(n,n.defaultY+m,n.height),o.setAttribute("y",n.actualY.toString()),a.setAttribute("y",n.actualY.toString()),l.setAttribute("y",n.actualY.toString()),void s.setAttribute("y",n.actualY.toString())}var u,d,c,p,h;u=e.nextElementSibling,c=(d=n).defaultY+m,p=C.createRowInfoOverlay(d,c,f),(h=p.querySelector("img.preview"))&&!h.src&&h.setAttribute("src",(h.attributes.getNamedItem("data-src")||{value:""}).value),p.querySelector("a").addEventListener("keydown",y.firstElKeypress),w.getLastItemOfNodeList(p.querySelectorAll("button")).addEventListener("keydown",y.lastElKeypress),u.appendChild(p),g(d,c,p.getBoundingClientRect().height)}else i&&null!==r&&(r.querySelector("a").removeEventListener("keydown",y.firstElKeypress),w.getLastItemOfNodeList(r.querySelectorAll("button")).removeEventListener("keydown",y.lastElKeypress),w.removeChildren(r))})},y.showFullName=function(e){e.getElementsByClassName("row-fixed").item(0).dispatchEvent(new MouseEvent("mouseenter"))},y.firstElKeypress=function(e){if(b.isTabUp(e)){var t=w.getParentByClassName(e.target,"row-overlay-holder");t&&t.previousElementSibling&&y.showFullName(t.previousElementSibling)}},y.lastElKeypress=function(e){if(b.isTabDown(e)){var t=w.getParentByClassName(e.target,"row-overlay-holder");t&&t.nextElementSibling&&y.showFullName(t.nextElementSibling)}},y}();n.OverlayManager=r,n.default=r},{"../../helpers/dom":1,"../../helpers/misc":4,"./svg-details-overlay":19}],18:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function e(){this.subscribers=[]}return e.prototype.subscribeToOverlayChanges=function(e){this.subscribers.push(e)},e.prototype.subscribeToSpecificOverlayChanges=function(t,n){this.subscribers.push(function(e){e.changedIndex===t&&n(e)})},e.prototype.publishToOverlayChanges=function(t){this.subscribers.forEach(function(e){return e(t)})},e}();n.PubSub=r,n.default=r},{}],19:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var m=e("../../helpers/dom"),g=e("../../helpers/svg"),y=e("./html-details-body");n.createRowInfoOverlay=function(e,t,n){var r,i,o,a,s,l,u=e.index+1,d=(r=t,i=n,o=g.newG("info-overlay-holder"),a=g.newRect({height:i,rx:2,ry:2,width:"100%",x:"0",y:r},"info-overlay-bg"),o.appendChild(a),o),c=g.newForeignObject({height:n,width:"100%",x:"0",y:t}),p=(s=t,(l=g.newA("info-overlay-close-btn")).appendChild(g.newRect({height:23,width:23,x:"100%",y:s})),l.appendChild(g.newTextEl("✕",{dx:7,dy:16,x:"100%",y:s})),l.appendChild(g.newTitle("Close Overlay")),l);p.addEventListener("click",function(){return e.onClose(e.index)});var h=y.createDetailsBody(u,n,e.entry),f=function(){return h.getElementsByClassName("tab-button")},v=function(n){e.openTabIndex=n,m.forEachNodeList(h.getElementsByClassName("tab"),function(e,t){e.style.display=n===t?"block":"none",f().item(t).classList.toggle("active",n===t)})};return m.forEachNodeList(f(),function(e,t){e.addEventListener("click",function(){return v(t)})}),v(e.openTabIndex),c.appendChild(h),d.appendChild(c),d.appendChild(p),d}},{"../../helpers/dom":1,"../../helpers/svg":6,"./html-details-body":16}],20:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var s=e("../../helpers/misc");function l(e,t){return{type:e,title:t,width:20}}n.makeIcon=l,n.getIndicatorIcons=function(e){var t=e.responseDetails.indicators.filter(function(e){return"icon"===e.displayType});if(0===t.length)return[];var n=[],r="",i=t.filter(function(e){return"error"===e.type}),o=t.filter(function(e){return"warning"===e.type}),a=t.filter(function(e){return"error"!==e.type&&"warning"!==e.type});return 0<i.length&&(n.push(s.pluralize("Error",i.length)+":\n "+i.map(function(e){return e.title}).join("\n")),r="error"),0<o.length&&(n.push(s.pluralize("Warning",o.length)+":\n"+o.map(function(e){return e.title}).join("\n")),r=r||"warning"),0<a.length&&(n.push("Info:\n"+a.map(function(e){return e.title}).join("\n")),r=r||1!==a.length?r||"info":a[0].icon||a[0].type),[l(r,n.join("\n"))]}},{"../../helpers/misc":4}],21:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var l=e("../../helpers/dom"),g=e("../../helpers/misc"),y=e("../../helpers/svg"),w=e("../../transformers/styling-converters"),u=e("./svg-tooltip");function b(e,t){var n,r,i=y.newG(""),o=e.height-1,a=g.roundNumber(e.x/e.unit)+"%",s=y.newRect({height:o,width:g.roundNumber(e.width/e.unit)+"%",x:a,y:e.y},t);(i.appendChild(s),e.label)&&(s.addEventListener("mouseenter",function(){r||(r=l.getParentByClassName(s,"water-fall-chart").querySelector(".tooltip")),n=setTimeout(function(){n=null,u.onHoverInShowTooltip(s,e,r)},100)}),s.addEventListener("mouseleave",function(){n?clearTimeout(n):u.onHoverOutShowTooltip(s)}));return e.showOverlay&&e.hideOverlay&&(s.addEventListener("mouseenter",e.showOverlay(e)),s.addEventListener("mouseleave",e.hideOverlay(e))),i}function a(e,t,n,r){var i=g.resourceUrlFormatter(n,125);t=t+Math.round(r/2)+5;var o=y.newTextEl(i,{x:e,y:t});return o.appendChild(y.newTitle(n)),o.style.opacity=n.match(/js.map$/)?"0.5":"1",o}n.createRect=function(a,e){var t,n,r,i,o,s,l,u,d,c,p,h=e.segments,f=b(a,"time-block "+a.cssClass),v=y.newG("rect-holder"),m=a.x;return v.appendChild(f),h&&0<h.length&&(h.forEach(function(e){if(!isNaN(e.total)&&0<e.total&&"number"==typeof e.start){var t=(r=e,i=a,o=isNaN(r.total)?"":"<br/>total: "+Math.round(r.total)+"ms",{cssClass:w.timingTypeToCssClass(r.type),height:i.height-6,hideOverlay:i.hideOverlay,label:"<strong>"+r.type+"</strong><br/>"+Math.round(r.start)+"ms - "+Math.round(r.end)+"ms"+o,showOverlay:i.showOverlay,unit:i.unit,width:r.total,x:r.start||.001,y:i.y}),n=b(t,"segment "+t.cssClass);m=Math.min(m,t.x),v.appendChild(n)}var r,i,o}),g.find(e.responseDetails.indicators,function(e){return"push"===e.id})&&v.appendChild((d=(u=a).y+u.height/1.5,c=g.roundNumber(u.x/u.unit)+"%",(p=y.newG("http2-inidicator-holder")).appendChild(y.newTextEl("→",{transform:"translate(-5)",x:c,y:d},{fillOpacity:"0.6","text-anchor":"end"})),p.appendChild(y.newTitle("http2 Push")),p)),v.appendChild((t=a,n=e.total,r=m,i=t.y+t.height/1.5,o=Math.round(n)+" ms",s=(t.x+t.width)/t.unit+1,l=y.newTextEl(o,{x:g.roundNumber(s)+"%",y:i}),100<s+8*o.length/500*100&&(s=r/t.unit-1,l=y.newTextEl(o,{x:g.roundNumber(s)+"%",y:i},{textAnchor:"end"})),l))),v},n.createRequestNumberLabel=function(e,t,n,r,i){return t+=Math.round(r/2)+5,e+=i,y.newTextEl(n,{x:e,y:t},{"text-anchor":"end"})},n.createRequestLabelClipped=function(e,t,n,r){var i=a(e,t,n,r);return i.style.clipPath="url(#titleClipPath)",i},n.createRequestLabelFull=function(e,t,n,r){var i=a(e,t,n,r),o=y.newG("full-label",{},{clipPath:"url(#titleFullClipPath)"});return o.appendChild(y.newRect({height:r-4,rx:5,ry:5,width:500,x:e-3,y:t+3},"label-full-bg")),o.appendChild(i),o};var d="function"==typeof window.requestAnimationFrame&&"function"==typeof window.cancelAnimationFrame;n.appendRequestLabels=function(e,t,n,r){var i=r.getElementsByTagName("rect")[0],o=r.getElementsByTagName("text")[0];r.style.display="none",r.style.visibility="hidden",e.appendChild(t),e.appendChild(n),e.appendChild(r);var a,s=!1;e.addEventListener("mouseenter",function(){r.style.display="block",n.style.display="none",r.style.visibility="visible";var e=function(){var e=o.getComputedTextLength()+10;i.setAttribute("width",e.toString()),s=!0,a=void 0};s||(d?a=window.requestAnimationFrame(e):e())}),e.addEventListener("mouseleave",function(){n.style.display="block",r.style.display="none",r.style.visibility="hidden",d&&void 0!==a&&cancelAnimationFrame(a)})},n.createBgStripe=function(e,t,n){var r=n?"even":"odd";return y.newRect({height:t,width:"100%",x:0,y:e},r)},n.createNameRowBg=function(e,t){var n=y.newG("row row-fixed");return n.appendChild(y.newRect({height:t,width:"100%",x:"0",y:e},"",{opacity:0})),n},n.createRowBg=function(e,t){var n=y.newG("row row-flex");return n.appendChild(y.newRect({height:t,width:"100%",x:"0",y:e},"",{opacity:0})),n}},{"../../helpers/dom":1,"../../helpers/misc":4,"../../helpers/svg":6,"../../transformers/styling-converters":15,"./svg-tooltip":23}],22:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var S=e("../../helpers/icons"),E=e("../../helpers/misc"),M=e("../../helpers/svg"),_=e("./svg-indicators"),L=e("./svg-row-subcomponents"),O=M.newClipPath("titleClipPath");O.appendChild(M.newRect({height:"100%",width:"100%"}));var P=M.newClipPath("titleFullClipPath");P.appendChild(M.newRect({height:"100%",width:"100%"}));n.createRow=function(e,n,t,r,i,o,a){var s=i.y,l=i.height,u=e.options.leftColumnWidth,d=M.newA(o.responseDetails.rowClass||"");d.setAttribute("tabindex","0"),d.setAttribute("xlink:href","javascript:void(0)");var c=M.newSvg("left-fixed-holder",{width:u+"%",x:"0"}),p=M.newSvg("flex-scale-waterfall",{width:100-u+"%",x:u+"%"}),h=L.createRect(i,o),f=L.createNameRowBg(s,l),v=L.createRowBg(s,l),m=L.createBgStripe(s,l,n%2==0),g=3+t;if(e.options.showMimeTypeIcon){var y=o.responseDetails.icon;g-=y.width,f.appendChild(S[y.type](g,s+3,y.title))}e.options.showIndicatorIcons&&_.getIndicatorIcons(o).forEach(function(e){g-=e.width,f.appendChild(S[e.type](g,s+3,e.title))}),g=3+t;var w=""+(n+1),b=L.createRequestNumberLabel(g,s,w,l,r);g+=r+4;var C,x,T=L.createRequestLabelClipped(g,s,E.resourceUrlFormatter(o.url,40),l),q=L.createRequestLabelFull(g,s,o.url,l);return v.appendChild(h),L.appendRequestLabels(f,b,T,q),e.pubSub.subscribeToSpecificOverlayChanges(n,function(e){C="open"===e.type}),0<n&&e.pubSub.subscribeToSpecificOverlayChanges(n-1,function(e){x="open"===e.type}),d.addEventListener("click",function(e){e.preventDefault(),a(e)}),d.addEventListener("keydown",function(e){var t=e;if(32===t.which||13===t.which)return t.preventDefault(),a(t);E.isTabUp(t)&&!x&&0<n?d.previousSibling&&d.previousSibling.previousSibling&&d.previousSibling.previousSibling.lastChild&&d.previousSibling.previousSibling.lastChild.lastChild&&d.previousSibling.previousSibling.lastChild.lastChild.dispatchEvent(new MouseEvent("mouseenter")):!E.isTabDown(t)||C||d.nextSibling&&d.nextSibling.nextSibling&&d.nextSibling.nextSibling.lastChild&&d.nextSibling.nextSibling.lastChild.lastChild&&d.nextSibling.nextSibling.lastChild.lastChild.dispatchEvent(new MouseEvent("mouseenter"))}),d.addEventListener("focusout",function(){f.dispatchEvent(new MouseEvent("mouseleave"))}),p.appendChild(v),c.appendChild(O.cloneNode(!0)),c.appendChild(f),d.appendChild(P.cloneNode(!0)),d.appendChild(m),d.appendChild(p),d.appendChild(c),d}},{"../../helpers/icons":3,"../../helpers/misc":4,"../../helpers/svg":6,"./svg-indicators":20,"./svg-row-subcomponents":21}],23:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var g=e("../../helpers/dom"),a=e("../../helpers/svg"),y=/(?:translate)\(.+[, ]+(.+)\)/;n.onHoverInShowTooltip=function(e,t,n){var r=n.querySelector(".tooltip-payload"),i=function(e){void 0===e&&(e=""),e=null===e?"":e;var t=y.exec(e);return t&&2<=t.length?parseInt(t[1],10):0}(g.getParentByClassName(e,"row-item").getAttribute("transform")),o=parseInt(e.getAttribute("y")||"",10),a=e.getAttribute("x")||"",s=parseFloat(a),l=50,u=e.width.baseVal.value||e.getBoundingClientRect().width,d=u/(t.width/t.unit),c=t.width/t.unit/u,p=50<s&&(95-s)*d<200;r.innerHTML=t.label||"",g.addClass(r,"no-anim"),n.style.display="block",r.style.opacity="0.01";var h=r.clientHeight+5;if(l=0<o+i-h?i-h:i+t.height+10,p){var f=s-(r.clientWidth+5)*c,v=parseInt(n.querySelector("body").style.left||"",10);v*=1/(.01*(100-v)),r.style.left=-v<f?f+"%":-v+"%"}else r.style.left=a;n.setAttribute("y",""+(o+l)),n.setAttribute("height",h.toString()),g.removeClass(r,"no-anim"),r.style.opacity="1";var m=r.clientHeight+5-h;0!==m&&(n.setAttribute("height",(h+m).toString()),n.setAttribute("y",""+(o+l-m)))},n.onHoverOutShowTooltip=function(e){var t=g.getParentByClassName(e,"water-fall-chart").querySelector(".tooltip"),n=t.querySelector(".tooltip-payload");t.style.display="none",t.setAttribute("height","250"),n.style.opacity="0"},n.makeTooltip=function(e){var t=e.leftColumnWidth,n=a.newSvg("tooltip-holder",{width:"100%",x:"0",y:"0"}),r=a.newForeignObject({width:"100%",x:"0",y:t+"%"},"tooltip",{display:"none"}),i=g.makeHtmlEl(),o=g.makeBodyEl({left:t+"%",width:100-t+"%"},'<div class="tooltip-payload" style="max-width: 200px; opacity: 0;"></div>');return i.appendChild(o),r.appendChild(i),n.appendChild(r),n}},{"../../helpers/dom":1,"../../helpers/svg":6}],24:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("../../helpers/dom"),r=e("../../helpers/svg");n.createAlignmentLines=function(e){return{endline:r.newLine({x1:"0",x2:"0",y1:"0",y2:e},"line-end"),startline:r.newLine({x1:"0",x2:"0",y1:"0",y2:e},"line-start")}},n.makeHoverEvtListeners=function(i){return{onMouseEnterPartial:function(){return function(e){var t=e.target;o.addClass(t,"active");var n=t.x.baseVal.valueInSpecifiedUnits+t.width.baseVal.valueInSpecifiedUnits+"%",r=t.x.baseVal.valueInSpecifiedUnits+"%";i.endline.x1.baseVal.valueAsString=n,i.endline.x2.baseVal.valueAsString=n,i.startline.x1.baseVal.valueAsString=r,i.startline.x2.baseVal.valueAsString=r,o.addClass(i.endline,"active"),o.addClass(i.startline,"active")}},onMouseLeavePartial:function(){return function(e){var t=e.target;o.removeClass(t,"active"),o.removeClass(i.endline,"active"),o.removeClass(i.startline,"active")}}}}},{"../../helpers/dom":1,"../../helpers/svg":6}],25:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var h=e("../../helpers/misc"),f=e("../../helpers/svg"),l=function(e,t,n,r,i){void 0===i&&(i=!1);var o,a,s=e.diagramHeight,l=100/n,u="sub-second-line";if(i){var d=n-.2<r;u="second-line",a=h.roundNumber(l*r)+.5+"%";var c={};d&&(a=h.roundNumber(l*r)-.5+"%",c["text-anchor"]="end"),o=f.newTextEl(r+"s",{x:a,y:s},c)}a=h.roundNumber(l*r)+"%";var p=f.newLine({x1:a,x2:a,y1:0,y2:s},u);e.pubSub.subscribeToOverlayChanges(function(e){var t=e.combinedOverlayHeight,n=(s+t)/s;p.setAttribute("transform","scale(1, "+n+")"),i&&o.setAttribute("transform","translate(0, "+t+")")}),t.appendChild(p),i&&t.appendChild(o)};n.createTimeScale=function(e,t){for(var n=f.newG("time-scale full-width"),r=200*Math.ceil(t/1e4),i=1e3/r,o=t/1e3,a=t/r,s=0;s<=a;s++)l(e,n,o,s/i,s%i<1e-9);return n}},{"../../helpers/misc":4,"../../helpers/svg":6}],26:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var g=e("../../helpers/dom"),y=e("../../helpers/misc"),w=e("../../helpers/svg");function b(e,t){var n=w.newG("line-mark-holder line-marker-"+y.toCssClass(t.name));return n.appendChild(w.newTitle(t.name.replace(/^startTimer-/,""))),n.appendChild(w.newRect({height:e.diagramHeight,width:(t.duration||1)/e.unit+"%",x:(t.startTime||.001)/e.unit+"%",y:0},"line-mark")),n}n.createMarks=function(h,f){var v=h.diagramHeight,m=w.newG("marker-holder",{transform:"scale(1, 1)"});return f.forEach(function(e,t){var r,n=y.roundNumber(e.startTime/h.unit),i=w.newG("mark-holder type-"+e.name.toLowerCase().replace(/([0-9]+[ ]?ms)|\W/g,"")),o=w.newG("line-holder"),a=w.newG("line-label-holder"),s=w.newTextEl(e.name,{x:n+"%",y:v+25});s.setAttribute("writing-mode","tb"),e.x=n;var l=w.newLine({x1:n+"%",x2:n+"%",y1:0,y2:v}),u=f[t-1];u&&void 0!==u.x&&e.x-u.x<2.5&&(s.setAttribute("x",u.x+2.5+"%"),e.x=u.x+2.5);var d=w.newLine({x1:n+"%",x2:e.x+"%",y1:v,y2:v+23});o.appendChild(l),o.appendChild(d),e.duration&&(r=b(h,e),o.appendChild(r)),h.pubSub.subscribeToOverlayChanges(function(e){var t=e.combinedOverlayHeight,n=(v+t)/v;l.setAttribute("transform","scale(1, "+n+")"),a.setAttribute("transform","translate(0, "+t+")"),d.setAttribute("transform","translate(0, "+t+")"),r&&r.setAttribute("transform","translate(0, "+t+")")});var c=!1,p=!1;s.addEventListener("mouseenter",function(){c||(i.parentNode.appendChild(i),c=!0,"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(function(){return g.addClass(o,"active")}):g.addClass(o,"active"))}),s.addEventListener("mouseleave",function(){c=!1,p||g.removeClass(o,"active")}),s.addEventListener("click",function(){p?(c=!1,g.removeClass(o,"active")):c?c=!1:g.addClass(o,"active"),p=!p}),a.appendChild(s),i.appendChild(w.newTitle(e.name)),i.appendChild(o),i.appendChild(a),m.appendChild(i)}),m},n.createLineRect=b},{"../../helpers/dom":1,"../../helpers/misc":4,"../../helpers/svg":6}],27:[function(e,t,n){"use strict";var E=this&&this.__assign||function(){return(E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0});var M=e("../helpers/svg"),_=e("../transformers/styling-converters"),L=e("./details-overlay/overlay-manager"),O=e("./details-overlay/pub-sub"),P=e("./row/svg-row"),N=e("./row/svg-tooltip"),I=e("./sub-components/svg-alignment-helper"),H=e("./sub-components/svg-general-components"),A=e("./sub-components/svg-marks");n.createWaterfallSvg=function(e,s){var t,n,r,i,o,a,l,u,d,c=e.entries.filter(function(e){return"number"==typeof e.start&&"number"==typeof e.total}).sort(function(e,t){return(e.start||0)-(t.start||0)}),p=M.newG("overlays"),h=M.newG("rows-holder"),f=(t=s,n=c,r=e.durationMs/100,i={diagramHeight:(n.length+1)*t.rowHeight,options:t,pubSub:new O.PubSub,unit:r},E({},i,{overlayManager:new L.default(i)})),v=(o=e.marks,a=f.diagramHeight,l=o.reduce(function(e,t){return Math.max(e,M.getNodeTextWidth(M.newTextEl(t.name,{x:0,y:0}),!0))},0),Math.floor(a+l+35)),m=M.newSvg("water-fall-chart",{height:v}),g=M.newSvg("scale-and-marks-holder",{width:100-s.leftColumnWidth+"%",x:s.leftColumnWidth+"%"});if(s.showAlignmentHelpers){u=M.newG("hover-overlays");var y=I.createAlignmentLines(f.diagramHeight);u.appendChild(y.startline),u.appendChild(y.endline),d=I.makeHoverEvtListeners(y)}g.appendChild(H.createTimeScale(f,e.durationMs)),g.appendChild(A.createMarks(f,e.marks));var w=c[0].responseDetails.icon.width,b=0;if(s.showMimeTypeIcon&&(b+=1),s.showIndicatorIcons){var C=c.map(function(e){return 0<e.responseDetails.indicators.filter(function(e){return"icon"===e.displayType}).length?1:0});b+=Math.max.apply(null,C)}var x=b*w,T=function(e){for(var t=Math.floor(Math.log(e)/Math.LN10)+1,n="",r=0;r<t;r++)n+="0";return n}(c.length),q=M.getNodeTextWidth(M.newTextEl(""+T),!0),S=[];return f.pubSub.subscribeToOverlayChanges(function(){var e=v+f.overlayManager.getCombinedOverlayHeight();m.classList.toggle("closing",e<m.clientHeight),m.style.height=e+"px"}),c.forEach(function(e,t){var n=e.total||1,r=s.rowHeight*t,i=e.start||.001,o={cssClass:_.requestTypeToCssClass(e.responseDetails.requestType),height:s.rowHeight,hideOverlay:s.showAlignmentHelpers?d.onMouseLeavePartial:void 0,label:"<strong>"+e.url+"</strong><br/>"+Math.round(e.start)+"ms - "+Math.round(e.end)+"ms<br/>total: "+(isNaN(e.total)?"n/a ":Math.round(e.total))+"ms",showOverlay:s.showAlignmentHelpers?d.onMouseEnterPartial:void 0,unit:f.unit,width:n,x:i,y:r},a=P.createRow(f,t,x,q,o,e,function(){f.overlayManager.toggleOverlay(t,r+s.rowHeight,450,e,S)});S.push(a),h.appendChild(a),h.appendChild(M.newG("row-overlay-holder"))}),s.showAlignmentHelpers&&void 0!==u&&g.appendChild(u),m.appendChild(g),m.appendChild(h),m.appendChild(p),m.appendChild(N.makeTooltip(s)),m}},{"../helpers/svg":6,"../transformers/styling-converters":15,"./details-overlay/overlay-manager":17,"./details-overlay/pub-sub":18,"./row/svg-row":22,"./row/svg-tooltip":23,"./sub-components/svg-alignment-helper":24,"./sub-components/svg-general-components":25,"./sub-components/svg-marks":26}]},{},[8])(8)});
// use zip
zip.useWebWorkers = false;
const getConfiguredZipJs = () => {
const zip = window["zip"] || {};
zip.useWebWorkers = false;
return zip;
};
/** handle client side file upload */

@@ -19,2 +23,3 @@ export function readFile(file, fileName, callback, onProgress) {

const extension = (fileName.match(/\.[0-9a-z]+$/i) || [])[0];
const zip = getConfiguredZipJs();
if ([".zhar", ".zip"].indexOf(extension) !== -1) {

@@ -21,0 +26,0 @@ /** zhar */

@@ -97,3 +97,3 @@ import { getLastItemOfNodeList, getParentByClassName, removeChildren, } from "../../helpers/dom";

if (previewImg && !previewImg.src) {
previewImg.setAttribute("src", previewImg.attributes.getNamedItem("data-src").value);
previewImg.setAttribute("src", (previewImg.attributes.getNamedItem("data-src") || { value: "" }).value);
}

@@ -100,0 +100,0 @@ infoOverlay.querySelector("a")

@@ -38,6 +38,6 @@ import { addClass, getParentByClassName, makeBodyEl, makeHtmlEl, removeClass, } from "../../helpers/dom";

const initialHeight = innerDiv.clientHeight + 5;
if (yInt + yTransformOffsest - initialHeight > 0) {
if (yInt + yTransformOffsest - initialHeight > 0) { // above row
offsetY = yTransformOffsest - initialHeight;
}
else {
else { // below row: more offset to not hide text with mouse
offsetY = yTransformOffsest + rectData.height + 10;

@@ -50,3 +50,3 @@ }

leftOffset = ratio * leftOffset;
if (newLeft > -leftOffset) {
if (newLeft > -leftOffset) { // tooltip still visible
innerDiv.style.left = `${newLeft}%`;

@@ -53,0 +53,0 @@ }

{
"name": "perf-cascade",
"version": "2.5.2",
"version": "2.5.4",
"description": "Har file visualizer",

@@ -37,5 +37,5 @@ "main": "./index.js",

"conventional-changelog": "^1.1.17",
"grunt": "^1.0.2",
"grunt": "^1.0.3",
"grunt-banner": "^0.6.0",
"grunt-browserify": "^5.2.0",
"grunt-browserify": "^5.3.0",
"grunt-bump": "^0.8.0",

@@ -45,14 +45,14 @@ "grunt-contrib-clean": "^1.1.0",

"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-uglify": "^3.3.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-contrib-uglify": "^3.4.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-gh-pages": "^2.0.0",
"grunt-run": "^0.8.0",
"grunt-tslint": "^5.0.1",
"grunt-run": "^0.8.1",
"grunt-tslint": "^5.0.2",
"live-server": "^1.2.0",
"load-grunt-config": "^0.19.2",
"tsify": "^3.0.4",
"tslint": "~5.9.1",
"tslint-eslint-rules": "^5.1.0",
"typescript": "~2.7.2",
"whatwg-fetch": "^2.0.3"
"tsify": "^4.0.0",
"tslint": "~5.11.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "~3.0.3",
"whatwg-fetch": "^2.0.4"
},

@@ -59,0 +59,0 @@ "dependencies": {

/**
* Misc Helpers
*/
/**
* @param {T[]} arr - array to search

@@ -3,0 +6,0 @@ * @param {T} item - item to search for

@@ -0,1 +1,4 @@

/**
* SVG Helpers
*/
export interface StringToStringOrNumberMap {

@@ -2,0 +5,0 @@ [key: string]: string | number;

@@ -15,2 +15,2 @@ import { Har } from "har-format";

export declare function fromHar(harData: Har, options?: ChartOptions): SVGSVGElement;
export { ChartOptions };
export { ChartOptions, };

@@ -48,5 +48,5 @@ import { ContextCore } from "../../typing/context";

*/
private renderOverlays(detailsHeight, rowItems);
private renderOverlays;
}
export { OverlayManager };
export { OverlayManager, };
export default OverlayManager;

@@ -14,3 +14,3 @@ import { OverlayChangeEvent, OverlayChangeSubscriber } from "../../typing/open-overlay";

}
export { PubSub };
export { PubSub, };
export default PubSub;

@@ -0,1 +1,4 @@

/**
* Creation of sub-components used in a ressource request row
*/
import { RectData } from "../../typing/rect-data";

@@ -2,0 +5,0 @@ import { WaterfallEntry } from "../../typing/waterfall";

@@ -0,1 +1,4 @@

/**
* vertical alignment helper lines
*/
import { HoverElements, HoverEvtListeners } from "../../typing/svg-alignment-helpers";

@@ -2,0 +5,0 @@ /**

@@ -0,1 +1,4 @@

/**
* Creation of sub-components of the waterfall chart
*/
import { Context } from "../../typing/context";

@@ -2,0 +5,0 @@ /**

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc