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.0.2 to 2.1.0

2

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

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

/*! github.com/micmro/PerfCascade Version:2.0.2 (07/06/2017) */
/*! github.com/micmro/PerfCascade Version:2.1.0 (09/06/2017) */
!function(e){"use strict";function t(){this.crc=-1}function i(){}function n(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}function r(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 a(){}function o(e){function t(t,i){var a=new Blob([e],{type:j});(n=new f(a)).init(function(){r.size=n.size,t()},i)}function i(e,t,i,r){n.readUint8Array(e,t,i,r)}var n,r=this;r.size=0,r.init=t,r.readUint8Array=i}function s(t){function i(e){for(var i=t.length;"="==t.charAt(i-1);)i--;a=t.indexOf(",")+1,o.size=Math.floor(.75*(i-a)),e()}function n(i,n,o){var s,f=r(n),l=4*Math.floor(i/3),d=4*Math.ceil((i+n)/3),u=e.atob(t.substring(l+a,d+a)),_=i-3*Math.floor(l/4);for(s=_;s<_+n;s++)f.array[s-_]=u.charCodeAt(s);o(f.array)}var a,o=this;o.size=0,o.init=i,o.readUint8Array=n}function f(e){function t(t){r.size=e.size,t()}function i(t,i,r,a){var o=new FileReader;o.onload=function(e){r(new Uint8Array(e.target.result))},o.onerror=a;try{o.readAsArrayBuffer(n(e,t,i))}catch(e){a(e)}}var r=this;r.size=0,r.init=t,r.readUint8Array=i}function l(){}function d(e){function t(e){r=new Blob([],{type:j}),e()}function i(e,t){r=new Blob([r,F?e:e.buffer],{type:j}),t()}function n(t,i){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=i,n.readAsText(r,e)}var r,a=this;a.init=t,a.writeUint8Array=i,a.getData=n}function u(t){function i(e){o+="data:"+(t||"")+";base64,",e()}function n(t,i){var n,r=s.length,a=s;for(s="",n=0;n<3*Math.floor((r+t.length)/3)-r;n++)a+=String.fromCharCode(t[n]);for(;n<t.length;n++)s+=String.fromCharCode(t[n]);a.length>2?o+=e.btoa(a):s=a,i()}function r(t){t(o+e.btoa(s))}var a=this,o="",s="";a.init=i,a.writeUint8Array=n,a.getData=r}function _(e){function t(t){r=new Blob([],{type:e}),t()}function i(t,i){r=new Blob([r,F?t:t.buffer],{type:e}),i()}function n(e){e(r)}var r,a=this;a.init=t,a.writeUint8Array=i,a.getData=n}function c(e,t,i,n,r,a,o,s,f,l){function d(){e.removeEventListener("message",u,!1),s(w,b)}function u(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===x)switch("number"==typeof i.codecTime&&(e.codecTime+=i.codecTime),"number"==typeof i.crcTime&&(e.crcTime+=i.crcTime),i.type){case"append":r?(w+=r.length,n.writeUint8Array(r,function(){_()},l)):_();break;case"flush":b=i.crc,r?(w+=r.length,n.writeUint8Array(r,function(){d()},l)):d();break;case"progress":o&&o(c+i.loaded,a);break;case"importScripts":case"newTask":case"echo":break;default:console.warn("zip.js:launchWorkerProcess: unknown message: ",i)}}function _(){(c=v*P)<=a?i.readUint8Array(r+c,Math.min(P,a-c),function(i){o&&o(c,a);var n=0===c?t:{sn:x};n.type="append",n.data=i;try{e.postMessage(n,[i.buffer])}catch(t){e.postMessage(n)}v++},f):e.postMessage({sn:x,type:"flush"})}var c,w,b,v=0,x=t.sn;w=0,e.addEventListener("message",u,!1),_()}function w(e,i,n,r,a,o,s,f,l,d){function u(){var t;if((_=c*P)<a)i.readUint8Array(r+_,Math.min(P,a-_),function(t){var i;try{i=e.append(t,function(e){s&&s(_+e,a)})}catch(e){return void l(e)}i?(w+=i.length,n.writeUint8Array(i,function(){c++,setTimeout(u,1)},d),v&&x.append(i)):(c++,setTimeout(u,1)),b&&x.append(t),s&&s(_,a)},l);else{try{t=e.flush()}catch(e){return void l(e)}t?(v&&x.append(t),w+=t.length,n.writeUint8Array(t,function(){f(w,x.get())},d)):f(w,x.get())}}var _,c=0,w=0,b="input"===o,v="output"===o,x=new t;u()}function b(t,i,n,r,a,o,s,f,l,d,u){var _=s?"output":"none";e.zip.useWebWorkers?c(t,{sn:i,codecClass:"Inflater",crcType:_},n,r,a,o,l,f,d,u):w(new e.zip.Inflater,n,r,a,o,_,l,f,d,u)}function v(t,i,n,r,a,o,s,f,l){e.zip.useWebWorkers?c(t,{sn:i,options:{level:a},codecClass:"Deflater",crcType:"input"},n,r,0,n.size,s,o,f,l):w(new e.zip.Deflater,n,r,0,n.size,"input",s,o,f,l)}function x(t,n,r,a,o,s,f,l,d,u,_){e.zip.useWebWorkers&&f?c(t,{sn:n,codecClass:"NOOP",crcType:"input"},r,a,o,s,d,l,u,_):w(new i,r,a,o,s,"input",d,l,u,_)}function h(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 p(e){return decodeURIComponent(escape(e))}function y(e){var t,i="";for(t=0;t<e.length;t++)i+=String.fromCharCode(e[t]);return i}function m(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){}}function g(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=m(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(C)):r(W)}function k(t,i,n){function a(){}function o(e){function i(i,a){t.readUint8Array(t.size-i,i,function(t){for(var i=t.length-r;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,r));a()},function(){n(R)})}var r=22;if(t.size<r)n(L);else{var a=r+65536;i(r,function(){i(Math.min(a,t.size),function(){n(L)})})}}var s=0;a.prototype.getData=function(e,i,a,o){function f(e){var t=r(4);return t.view.setUint32(0,e),_.crc32==t.view.getUint32(0)}function l(t,r){o&&!f(r)?n(M):e.getData(function(e){i(e)})}function d(e){n(e||B)}function u(e){n(e||I)}var _=this;t.readUint8Array(_.offset,30,function(i){var f,c=r(i.length,i);1347093252==c.view.getUint32(0)?(g(_,c,4,!1,n),f=_.offset+30+_.filenameLength+_.extraFieldLength,e.init(function(){0===_.compressionMethod?x(_._worker,s++,t,e,f,_.compressedSize,o,l,a,d,u):b(_._worker,s++,t,e,f,_.compressedSize,o,l,a,d,u)},u)):n(L)},d)};var f={getEntries:function(e){var i=this._worker;o(function(o){var s,f;s=o.getUint32(16,!0),f=o.getUint16(8,!0),s<0||s>=t.size?n(L):t.readUint8Array(s,t.size-s,function(t){var o,s,l,d,u=0,_=[],c=r(t.length,t);for(o=0;o<f;o++){if(s=new a,s._worker=i,1347092738!=c.view.getUint32(u))return void n(L);g(s,c,u+6,!0,n),s.commentLength=c.view.getUint16(u+32,!0),s.directory=16==(16&c.view.getUint8(u+38)),s.offset=c.view.getUint32(u+42,!0),l=y(c.array.subarray(u+46,u+46+s.filenameLength)),s.filename=2048==(2048&s.bitFlag)?p(l):h(l),s.directory||"/"!=s.filename.charAt(s.filename.length-1)||(s.directory=!0),d=y(c.array.subarray(u+46+s.filenameLength+s.extraFieldLength,u+46+s.filenameLength+s.extraFieldLength+s.commentLength)),s.comment=2048==(2048&s.bitFlag)?p(d):h(d),_.push(s),u+=46+s.filenameLength+s.extraFieldLength+s.commentLength}e(_)},function(){n(R)})})},close:function(e){this._worker&&(this._worker.terminate(),this._worker=null),e&&e()},_worker:null};e.zip.useWebWorkers?E("inflater",function(e){f._worker=e,i(f)},function(e){n(e)}):i(f)}function U(e){return unescape(encodeURIComponent(e))}function z(e){var t,i=[];for(t=0;t<e.length;t++)i.push(e.charCodeAt(t));return i}function A(t,i,n,a){function o(e){n(e||T)}function s(e){n(e||B)}var f={},l=[],d=0,u=0,_={add:function(e,i,_,c,w){function b(i){var n;g=w.lastModDate||new Date,y=r(26),f[e]={headerArray:y.array,directory:w.directory,filename:m,offset:d,comment:z(U(w.comment||""))},y.view.setUint32(0,335546376),w.version&&y.view.setUint8(0,w.version),a||0===w.level||w.directory||y.view.setUint16(4,2048),y.view.setUint16(6,(g.getHours()<<6|g.getMinutes())<<5|g.getSeconds()/2,!0),y.view.setUint16(8,(g.getFullYear()-1980<<4|g.getMonth()+1)<<5|g.getDate(),!0),y.view.setUint16(22,m.length,!0),(n=r(30+m.length)).view.setUint32(0,1347093252),n.array.set(y.array,4),n.array.set(m,30),d+=n.array.length,t.writeUint8Array(n.array,i,o)}function h(e,n){var a=r(16);d+=e||0,a.view.setUint32(0,1347094280),void 0!==n&&(y.view.setUint32(10,n,!0),a.view.setUint32(4,n,!0)),i&&(a.view.setUint32(8,e,!0),y.view.setUint32(14,e,!0),a.view.setUint32(12,i.size,!0),y.view.setUint32(18,i.size,!0)),t.writeUint8Array(a.array,function(){d+=16,_()},o)}function p(){w=w||{},e=e.trim(),w.directory&&"/"!=e.charAt(e.length-1)&&(e+="/"),f.hasOwnProperty(e)?n(O):(m=z(U(e)),l.push(e),b(function(){i?a||0===w.level?x(k,u++,i,t,0,i.size,!0,h,c,s,o):v(k,u++,i,t,w.level,h,c,s,o):h()},o))}var y,m,g,k=this._worker;i?i.init(p,s):p()},close:function(e){this._worker&&(this._worker.terminate(),this._worker=null);var i,n,a,s=0,u=0;for(n=0;n<l.length;n++)s+=46+(a=f[l[n]]).filename.length+a.comment.length;for(i=r(s+22),n=0;n<l.length;n++)a=f[l[n]],i.view.setUint32(u,1347092738),i.view.setUint16(u+4,5120),i.array.set(a.headerArray,u+6),i.view.setUint16(u+32,a.comment.length,!0),a.directory&&i.view.setUint8(u+38,16),i.view.setUint32(u+42,a.offset,!0),i.array.set(a.filename,u+46),i.array.set(a.comment,u+46+a.filename.length),u+=46+a.filename.length+a.comment.length;i.view.setUint32(u,1347093766),i.view.setUint16(u+8,l.length,!0),i.view.setUint16(u+10,l.length,!0),i.view.setUint32(u+12,s,!0),i.view.setUint32(u+16,d,!0),t.writeUint8Array(i.array,function(){t.getData(e)},o)},_worker:null};e.zip.useWebWorkers?E("deflater",function(e){_._worker=e,i(_)},function(e){n(e)}):i(_)}function S(e){var t=document.createElement("a");return e.map(function(e){return t.href=e,t.href})}function E(t,i,n){function r(e){var t=e.data;if(t.error)return s.terminate(),void n(t.error);"importScripts"===t.type&&(s.removeEventListener("message",r),s.removeEventListener("error",a),i(s))}function a(e){s.terminate(),n(e)}if(null===e.zip.workerScripts||null===e.zip.workerScriptsPath){var o;if(e.zip.workerScripts){if(o=e.zip.workerScripts[t],!Array.isArray(o))return void n(new Error("zip.workerScripts."+t+" is not an array!"));o=S(o)}else(o=q[t].slice(0))[0]=(e.zip.workerScriptsPath||"")+o[0];var s=new Worker(o[0]);s.codecTime=s.crcTime=0,s.postMessage({type:"importScripts",scripts:o.slice(1)}),s.addEventListener("message",r),s.addEventListener("error",a)}else n(new Error("Either zip.workerScripts or zip.workerScriptsPath may be set, not both."))}function D(e){console.error(e)}var F,L="File format is not recognized.",M="CRC failed.",W="File contains encrypted entry.",C="File is using Zip64 (4gb+ file size).",R="Error while reading zip file.",T="Error while writing zip file.",I="Error while writing file data.",B="Error while reading file data.",O="File already exists.",P=524288,j="text/plain";try{F=0===new Blob([new DataView(new ArrayBuffer(0))]).size}catch(e){}t.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},t.prototype.get=function(){return~this.crc},t.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}(),i.prototype.append=function(e,t){return e},i.prototype.flush=function(){},o.prototype=new a,o.prototype.constructor=o,s.prototype=new a,s.prototype.constructor=s,f.prototype=new a,f.prototype.constructor=f,l.prototype.getData=function(e){e(this.data)},d.prototype=new l,d.prototype.constructor=d,u.prototype=new l,u.prototype.constructor=u,_.prototype=new l,_.prototype.constructor=_;var q={deflater:["z-worker.js","deflate.js"],inflater:["z-worker.js","inflate.js"]};e.zip={Reader:a,Writer:l,BlobReader:f,Data64URIReader:s,TextReader:o,BlobWriter:_,Data64URIWriter:u,TextWriter:d,createReader:function(e,t,i){i=i||D,e.init(function(){k(e,t,i)},i)},createWriter:function(e,t,i,n){i=i||D,n=!!n,e.init(function(){A(e,t,i,n)},i)},useWebWorkers:!0,workerScriptsPath:null,workerScripts:null}}(this),function(e){"use strict";function t(){function e(e,t,i,n,l,d,_,w,v,x,h){var p,y,m,g,k,z,A,S,E,D,F,L,M,W,C;D=0,k=i;do{r[e[t+D]]++,D++,k--}while(0!==k);if(r[0]==i)return _[0]=-1,w[0]=0,s;for(S=w[0],z=1;z<=U&&0===r[z];z++);for(A=z,S<z&&(S=z),k=U;0!==k&&0===r[k];k--);for(m=k,S>k&&(S=k),w[0]=S,W=1<<z;z<k;z++,W<<=1)if((W-=r[z])<0)return u;if((W-=r[k])<0)return u;for(r[k]+=W,f[1]=z=0,D=1,M=2;0!=--k;)f[M]=z+=r[D],M++,D++;k=0,D=0;do{0!==(z=e[t+D])&&(h[f[z]++]=k),D++}while(++k<i);for(i=f[m],f[0]=k=0,D=0,g=-1,L=-S,o[0]=0,F=0,C=0;A<=m;A++)for(p=r[A];0!=p--;){for(;A>L+S;){if(g++,L+=S,C=m-L,C=C>S?S:C,(y=1<<(z=A-L))>p+1&&(y-=p+1,M=A,z<C))for(;++z<C&&!((y<<=1)<=r[++M]);)y-=r[M];if(C=1<<z,x[0]+C>b)return u;o[g]=F=x[0],x[0]+=C,0!==g?(f[g]=k,a[0]=z,a[1]=S,z=k>>>L-S,a[2]=F-o[g-1]-z,v.set(a,3*(o[g-1]+z))):_[0]=F}for(a[1]=A-L,D>=i?a[0]=192:h[D]<n?(a[0]=h[D]<256?0:96,a[2]=h[D++]):(a[0]=d[h[D]-n]+16+64,a[2]=l[h[D++]-n]),y=1<<A-L,z=k>>>L;z<C;z+=y)v.set(a,3*(F+z));for(z=1<<A-1;0!=(k&z);z>>>=1)k^=z;for(k^=z,E=(1<<L)-1;(k&E)!=f[g];)g--,E=(1<<(L-=S))-1}return 0!==W&&1!=m?c:s}function t(e){var t;for(i||(i=[],n=[],r=new Int32Array(U+1),a=[],o=new Int32Array(U),f=new Int32Array(U+1)),n.length<e&&(n=[]),t=0;t<e;t++)n[t]=0;for(t=0;t<U+1;t++)r[t]=0;for(t=0;t<3;t++)a[t]=0;o.set(r.subarray(0,U),0),f.set(r.subarray(0,U+1),0)}var i,n,r,a,o,f,l=this;l.inflate_trees_bits=function(r,a,o,s,f){var l;return t(19),i[0]=0,l=e(r,0,19,19,null,null,o,a,s,i,n),l==u?f.msg="oversubscribed dynamic bit lengths tree":l!=c&&0!==a[0]||(f.msg="incomplete dynamic bit lengths tree",l=u),l},l.inflate_trees_dynamic=function(r,a,o,f,l,d,w,b,v){var x;return t(288),i[0]=0,(x=e(o,0,r,257,y,m,d,f,b,i,n))!=s||0===f[0]?(x==u?v.msg="oversubscribed literal/length tree":x!=_&&(v.msg="incomplete literal/length tree",x=u),x):(t(288),x=e(o,r,a,0,g,k,w,l,b,i,n),x!=s||0===l[0]&&r>257?(x==u?v.msg="oversubscribed distance tree":x==c?(v.msg="incomplete distance tree",x=u):x!=_&&(v.msg="empty distance tree with lengths",x=u),x):s)}}function i(){function e(e,t,i,n,r,a,o,l){var d,_,c,b,v,x,h,p,y,m,g,k,U,z,A,S;h=l.next_in_index,p=l.avail_in,v=o.bitb,x=o.bitk,m=(y=o.write)<o.read?o.read-y-1:o.end-y,g=w[e],k=w[t];do{for(;x<20;)p--,v|=(255&l.read_byte(h++))<<x,x+=8;if(d=v&g,_=i,c=n,S=3*(c+d),0!==(b=_[S]))for(;;){if(v>>=_[S+1],x-=_[S+1],0!=(16&b)){for(b&=15,U=_[S+2]+(v&w[b]),v>>=b,x-=b;x<15;)p--,v|=(255&l.read_byte(h++))<<x,x+=8;for(b=(_=r)[S=3*((c=a)+(d=v&k))];;){if(v>>=_[S+1],x-=_[S+1],0!=(16&b)){for(b&=15;x<b;)p--,v|=(255&l.read_byte(h++))<<x,x+=8;if(z=_[S+2]+(v&w[b]),v>>=b,x-=b,m-=U,y>=z)y-(A=y-z)>0&&2>y-A?(o.window[y++]=o.window[A++],o.window[y++]=o.window[A++],U-=2):(o.window.set(o.window.subarray(A,A+2),y),y+=2,A+=2,U-=2);else{A=y-z;do{A+=o.end}while(A<0);if(b=o.end-A,U>b){if(U-=b,y-A>0&&b>y-A)do{o.window[y++]=o.window[A++]}while(0!=--b);else o.window.set(o.window.subarray(A,A+b),y),y+=b,A+=b,b=0;A=0}}if(y-A>0&&U>y-A)do{o.window[y++]=o.window[A++]}while(0!=--U);else o.window.set(o.window.subarray(A,A+U),y),y+=U,A+=U,U=0;break}if(0!=(64&b))return l.msg="invalid distance code",U=l.avail_in-p,U=x>>3<U?x>>3:U,p+=U,h-=U,x-=U<<3,o.bitb=v,o.bitk=x,l.avail_in=p,l.total_in+=h-l.next_in_index,l.next_in_index=h,o.write=y,u;d+=_[S+2],b=_[S=3*(c+(d+=v&w[b]))]}break}if(0!=(64&b))return 0!=(32&b)?(U=l.avail_in-p,U=x>>3<U?x>>3:U,p+=U,h-=U,x-=U<<3,o.bitb=v,o.bitk=x,l.avail_in=p,l.total_in+=h-l.next_in_index,l.next_in_index=h,o.write=y,f):(l.msg="invalid literal/length code",U=l.avail_in-p,U=x>>3<U?x>>3:U,p+=U,h-=U,x-=U<<3,o.bitb=v,o.bitk=x,l.avail_in=p,l.total_in+=h-l.next_in_index,l.next_in_index=h,o.write=y,u);if(d+=_[S+2],d+=v&w[b],S=3*(c+d),0===(b=_[S])){v>>=_[S+1],x-=_[S+1],o.window[y++]=_[S+2],m--;break}}else v>>=_[S+1],x-=_[S+1],o.window[y++]=_[S+2],m--}while(m>=258&&p>=10);return U=l.avail_in-p,U=x>>3<U?x>>3:U,p+=U,h-=U,x-=U<<3,o.bitb=v,o.bitk=x,l.avail_in=p,l.total_in+=h-l.next_in_index,l.next_in_index=h,o.write=y,s}var t,i,n,r,a=this,o=0,l=0,_=0,c=0,b=0,v=0,x=0,h=0,p=0,y=0;a.init=function(e,a,o,s,f,l){t=z,x=e,h=a,n=o,p=s,r=f,y=l,i=null},a.proc=function(a,m,g){var k,U,R,T,I,B,O,P=0,j=0,q=0;for(q=m.next_in_index,T=m.avail_in,P=a.bitb,j=a.bitk,B=(I=a.write)<a.read?a.read-I-1:a.end-I;;)switch(t){case z:if(B>=258&&T>=10&&(a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,g=e(x,h,n,p,r,y,a,m),q=m.next_in_index,T=m.avail_in,P=a.bitb,j=a.bitk,I=a.write,B=I<a.read?a.read-I-1:a.end-I,g!=s)){t=g==f?M:C;break}_=x,i=n,l=p,t=A;case A:for(k=_;j<k;){if(0===T)return a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,a.inflate_flush(m,g);g=s,T--,P|=(255&m.read_byte(q++))<<j,j+=8}if(U=3*(l+(P&w[k])),P>>>=i[U+1],j-=i[U+1],0===(R=i[U])){c=i[U+2],t=L;break}if(0!=(16&R)){b=15&R,o=i[U+2],t=S;break}if(0==(64&R)){_=R,l=U/3+i[U+2];break}if(0!=(32&R)){t=M;break}return t=C,m.msg="invalid literal/length code",g=u,a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,a.inflate_flush(m,g);case S:for(k=b;j<k;){if(0===T)return a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,a.inflate_flush(m,g);g=s,T--,P|=(255&m.read_byte(q++))<<j,j+=8}o+=P&w[k],P>>=k,j-=k,_=h,i=r,l=y,t=E;case E:for(k=_;j<k;){if(0===T)return a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,a.inflate_flush(m,g);g=s,T--,P|=(255&m.read_byte(q++))<<j,j+=8}if(U=3*(l+(P&w[k])),P>>=i[U+1],j-=i[U+1],0!=(16&(R=i[U]))){b=15&R,v=i[U+2],t=D;break}if(0==(64&R)){_=R,l=U/3+i[U+2];break}return t=C,m.msg="invalid distance code",g=u,a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,a.inflate_flush(m,g);case D:for(k=b;j<k;){if(0===T)return a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,a.inflate_flush(m,g);g=s,T--,P|=(255&m.read_byte(q++))<<j,j+=8}v+=P&w[k],P>>=k,j-=k,t=F;case F:for(O=I-v;O<0;)O+=a.end;for(;0!==o;){if(0===B&&(I==a.end&&0!==a.read&&(B=(I=0)<a.read?a.read-I-1:a.end-I),0===B&&(a.write=I,g=a.inflate_flush(m,g),I=a.write,B=I<a.read?a.read-I-1:a.end-I,I==a.end&&0!==a.read&&(B=(I=0)<a.read?a.read-I-1:a.end-I),0===B)))return a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,a.inflate_flush(m,g);a.window[I++]=a.window[O++],B--,O==a.end&&(O=0),o--}t=z;break;case L:if(0===B&&(I==a.end&&0!==a.read&&(B=(I=0)<a.read?a.read-I-1:a.end-I),0===B&&(a.write=I,g=a.inflate_flush(m,g),I=a.write,B=I<a.read?a.read-I-1:a.end-I,I==a.end&&0!==a.read&&(B=(I=0)<a.read?a.read-I-1:a.end-I),0===B)))return a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,a.inflate_flush(m,g);g=s,a.window[I++]=c,B--,t=z;break;case M:if(j>7&&(j-=8,T++,q--),a.write=I,g=a.inflate_flush(m,g),I=a.write,B=I<a.read?a.read-I-1:a.end-I,a.read!=a.write)return a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,a.inflate_flush(m,g);t=W;case W:return g=f,a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,a.inflate_flush(m,g);case C:return g=u,a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,a.inflate_flush(m,g);default:return g=d,a.bitb=P,a.bitk=j,m.avail_in=T,m.total_in+=q-m.next_in_index,m.next_in_index=q,a.write=I,a.inflate_flush(m,g)}},a.free=function(){}}function n(e,n){var r,a=this,o=T,l=0,_=0,v=0,x=[0],h=[0],p=new i,y=0,m=new Int32Array(3*b),g=new t;a.bitk=0,a.bitb=0,a.window=new Uint8Array(n),a.end=n,a.read=0,a.write=0,a.reset=function(e,t){t&&(t[0]=0),o==q&&p.free(e),o=T,a.bitk=0,a.bitb=0,a.read=a.write=0},a.reset(e,null),a.inflate_flush=function(e,t){var i,n,r;return n=e.next_out_index,r=a.read,(i=(r<=a.write?a.write:a.end)-r)>e.avail_out&&(i=e.avail_out),0!==i&&t==c&&(t=s),e.avail_out-=i,e.total_out+=i,e.next_out.set(a.window.subarray(r,r+i),n),n+=i,(r+=i)==a.end&&(r=0,a.write==a.end&&(a.write=0),(i=a.write-r)>e.avail_out&&(i=e.avail_out),0!==i&&t==c&&(t=s),e.avail_out-=i,e.total_out+=i,e.next_out.set(a.window.subarray(r,r+i),n),n+=i,r+=i),e.next_out_index=n,a.read=r,t},a.proc=function(e,i){var n,c,b,k,U,z,A,S;for(k=e.next_in_index,U=e.avail_in,c=a.bitb,b=a.bitk,A=(z=a.write)<a.read?a.read-z-1:a.end-z;;)switch(o){case T:for(;b<3;){if(0===U)return a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);i=s,U--,c|=(255&e.read_byte(k++))<<b,b+=8}switch(n=7&c,y=1&n,n>>>1){case 0:c>>>=3,c>>>=n=7&(b-=3),b-=n,o=I;break;case 1:var E=[],D=[],F=[[]],L=[[]];t.inflate_trees_fixed(E,D,F,L),p.init(E[0],D[0],F[0],0,L[0],0),c>>>=3,b-=3,o=q;break;case 2:c>>>=3,b-=3,o=O;break;case 3:return c>>>=3,b-=3,o=H,e.msg="invalid block type",i=u,a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i)}break;case I:for(;b<32;){if(0===U)return a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);i=s,U--,c|=(255&e.read_byte(k++))<<b,b+=8}if((~c>>>16&65535)!=(65535&c))return o=H,e.msg="invalid stored block lengths",i=u,a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);l=65535&c,c=b=0,o=0!==l?B:0!==y?N:T;break;case B:if(0===U)return a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);if(0===A&&(z==a.end&&0!==a.read&&(A=(z=0)<a.read?a.read-z-1:a.end-z),0===A&&(a.write=z,i=a.inflate_flush(e,i),z=a.write,A=z<a.read?a.read-z-1:a.end-z,z==a.end&&0!==a.read&&(A=(z=0)<a.read?a.read-z-1:a.end-z),0===A)))return a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);if(i=s,(n=l)>U&&(n=U),n>A&&(n=A),a.window.set(e.read_buf(k,n),z),k+=n,U-=n,z+=n,A-=n,0!=(l-=n))break;o=0!==y?N:T;break;case O:for(;b<14;){if(0===U)return a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);i=s,U--,c|=(255&e.read_byte(k++))<<b,b+=8}if(_=n=16383&c,(31&n)>29||(n>>5&31)>29)return o=H,e.msg="too many length or distance symbols",i=u,a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);if(n=258+(31&n)+(n>>5&31),!r||r.length<n)r=[];else for(S=0;S<n;S++)r[S]=0;c>>>=14,b-=14,v=0,o=P;case P:for(;v<4+(_>>>10);){for(;b<3;){if(0===U)return a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);i=s,U--,c|=(255&e.read_byte(k++))<<b,b+=8}r[R[v++]]=7&c,c>>>=3,b-=3}for(;v<19;)r[R[v++]]=0;if(x[0]=7,(n=g.inflate_trees_bits(r,x,h,m,e))!=s)return(i=n)==u&&(r=null,o=H),a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);v=0,o=j;case j:for(;;){if(n=_,v>=258+(31&n)+(n>>5&31))break;var M,W;for(n=x[0];b<n;){if(0===U)return a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);i=s,U--,c|=(255&e.read_byte(k++))<<b,b+=8}if(n=m[3*(h[0]+(c&w[n]))+1],(W=m[3*(h[0]+(c&w[n]))+2])<16)c>>>=n,b-=n,r[v++]=W;else{for(S=18==W?7:W-14,M=18==W?11:3;b<n+S;){if(0===U)return a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);i=s,U--,c|=(255&e.read_byte(k++))<<b,b+=8}if(c>>>=n,b-=n,M+=c&w[S],c>>>=S,b-=S,S=v,n=_,S+M>258+(31&n)+(n>>5&31)||16==W&&S<1)return r=null,o=H,e.msg="invalid bit length repeat",i=u,a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);W=16==W?r[S-1]:0;do{r[S++]=W}while(0!=--M);v=S}}h[0]=-1;var C=[],J=[],Y=[],Z=[];if(C[0]=9,J[0]=6,n=_,(n=g.inflate_trees_dynamic(257+(31&n),1+(n>>5&31),r,C,J,Y,Z,m,e))!=s)return n==u&&(r=null,o=H),i=n,a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);p.init(C[0],J[0],m,Y[0],m,Z[0]),o=q;case q:if(a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,(i=p.proc(a,e,i))!=f)return a.inflate_flush(e,i);if(i=s,p.free(e),k=e.next_in_index,U=e.avail_in,c=a.bitb,b=a.bitk,z=a.write,A=z<a.read?a.read-z-1:a.end-z,0===y){o=T;break}o=N;case N:if(a.write=z,i=a.inflate_flush(e,i),z=a.write,A=z<a.read?a.read-z-1:a.end-z,a.read!=a.write)return a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);o=V;case V:return i=f,a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);case H:return i=u,a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i);default:return i=d,a.bitb=c,a.bitk=b,e.avail_in=U,e.total_in+=k-e.next_in_index,e.next_in_index=k,a.write=z,a.inflate_flush(e,i)}},a.free=function(e){a.reset(e,null),a.window=null,m=null},a.set_dictionary=function(e,t,i){a.window.set(e.subarray(t,t+i),0),a.read=a.write=i},a.sync_point=function(){return o==I?1:0}}function r(){function e(e){return e&&e.istate?(e.total_in=e.total_out=0,e.msg=null,e.istate.mode=te,e.istate.blocks.reset(e,null),s):d}var t=this;t.mode=0,t.method=0,t.was=[0],t.need=0,t.marker=0,t.wbits=0,t.inflateEnd=function(e){return t.blocks&&t.blocks.free(e),t.blocks=null,s},t.inflateInit=function(i,r){return i.msg=null,t.blocks=null,r<8||r>15?(t.inflateEnd(i),d):(t.wbits=r,i.istate.blocks=new n(i,1<<r),e(i),s)},t.inflate=function(e,t){var i,n;if(!e||!e.istate||!e.next_in)return d;for(t=t==x?c:s,i=c;;)switch(e.istate.mode){case Z:if(0===e.avail_in)return i;if(i=t,e.avail_in--,e.total_in++,(15&(e.istate.method=e.read_byte(e.next_in_index++)))!=Y){e.istate.mode=ne,e.msg="unknown compression method",e.istate.marker=5;break}if(8+(e.istate.method>>4)>e.istate.wbits){e.istate.mode=ne,e.msg="invalid window size",e.istate.marker=5;break}e.istate.mode=$;case $: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=ne,e.msg="incorrect header check",e.istate.marker=5;break}if(0==(n&J)){e.istate.mode=te;break}e.istate.mode=G;case G: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=K;case K: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=Q;case Q: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=X;case X: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=ee,l);case ee:return e.istate.mode=ne,e.msg="need dictionary",e.istate.marker=0,d;case te:if((i=e.istate.blocks.proc(e,i))==u){e.istate.mode=ne,e.istate.marker=0;break}if(i==s&&(i=t),i!=f)return i;i=t,e.istate.blocks.reset(e,e.istate.was),e.istate.mode=ie;case ie:return f;case ne:return u;default:return d}},t.inflateSetDictionary=function(e,t,i){var n=0,r=i;return e&&e.istate&&e.istate.mode==ee?(r>=1<<e.istate.wbits&&(n=i-(r=(1<<e.istate.wbits)-1)),e.istate.blocks.set_dictionary(t,n,r),e.istate.mode=te,s):d},t.inflateSync=function(t){var i,n,r,a,o;if(!t||!t.istate)return d;if(t.istate.mode!=ne&&(t.istate.mode=ne,t.istate.marker=0),0===(i=t.avail_in))return c;for(n=t.next_in_index,r=t.istate.marker;0!==i&&r<4;)t.read_byte(n)==re[r]?r++:r=0!==t.read_byte(n)?0:4-r,n++,i--;return t.total_in+=n-t.next_in_index,t.next_in_index=n,t.avail_in=i,t.istate.marker=r,4!=r?u:(a=t.total_in,o=t.total_out,e(t),t.total_in=a,t.total_out=o,t.istate.mode=te,s)},t.inflateSyncPoint=function(e){return e&&e.istate&&e.istate.blocks?e.istate.blocks.sync_point():d}}function a(){}function o(){var e=this,t=new a,i=v,n=new Uint8Array(512),r=!1;t.inflateInit(),t.next_out=n,e.append=function(e,a){var o,l,d=[],u=0,_=0,w=0;if(0!==e.length){t.next_in_index=0,t.next_in=e,t.avail_in=e.length;do{if(t.next_out_index=0,t.avail_out=512,0!==t.avail_in||r||(t.next_in_index=0,r=!0),o=t.inflate(i),r&&o===c){if(0!==t.avail_in)throw new Error("inflating: bad input")}else if(o!==s&&o!==f)throw new Error("inflating: "+t.msg);if((r||o===f)&&t.avail_in===e.length)throw new Error("inflating: bad input");t.next_out_index&&(512===t.next_out_index?d.push(new Uint8Array(n)):d.push(new Uint8Array(n.subarray(0,t.next_out_index)))),w+=t.next_out_index,a&&t.next_in_index>0&&t.next_in_index!=u&&(a(t.next_in_index),u=t.next_in_index)}while(t.avail_in>0||0===t.avail_out);return l=new Uint8Array(w),d.forEach(function(e){l.set(e,_),_+=e.length}),l}},e.flush=function(){t.inflateEnd()}}var s=0,f=1,l=2,d=-2,u=-3,_=-4,c=-5,w=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],b=1440,v=0,x=4,h=[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],p=[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],y=[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],m=[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],g=[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],k=[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],U=15;t.inflate_trees_fixed=function(e,t,i,n){return e[0]=9,t[0]=5,i[0]=h,n[0]=p,s};var z=0,A=1,S=2,E=3,D=4,F=5,L=6,M=7,W=8,C=9,R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],T=0,I=1,B=2,O=3,P=4,j=5,q=6,N=7,V=8,H=9,J=32,Y=8,Z=0,$=1,G=2,K=3,Q=4,X=5,ee=6,te=7,ie=12,ne=13,re=[0,0,255,255];a.prototype={inflateInit:function(e){var t=this;return t.istate=new r,e||(e=15),t.istate.inflateInit(t,e)},inflate:function(e){var t=this;return t.istate?t.istate.inflate(t,e):d},inflateEnd:function(){var e=this;if(!e.istate)return d;var t=e.istate.inflateEnd(e);return e.istate=null,t},inflateSync:function(){var e=this;return e.istate?e.istate.inflateSync(e):d},inflateSetDictionary:function(e,t){var i=this;return i.istate?i.istate.inflateSetDictionary(i,e,t):d},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 ae=e.zip||e;ae.Inflater=ae._jzlib_Inflater=o}(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 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";function n(e,t,i,n){function r(e){try{var t=JSON.parse(e);i(null,t.log)}catch(e){i(e)}}if(!e)return i(new Error("Failed to load HAR file"));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)}}Object.defineProperty(i,"__esModule",{value:!0}),zip.useWebWorkers=!1,i.readFile=n},{}]},{},[1])(1)});

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

/*! github.com/micmro/PerfCascade Version:2.0.2 (07/06/2017) */
/*! github.com/micmro/PerfCascade Version:2.1.0 (09/06/2017) */
!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 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 c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n||e)},c,c.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){var n=e.classList;return n?t.split(" ").forEach(function(e){return n.add(e)}):e.setAttribute("class",e.getAttribute("class")+" "+t),e}function i(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}function o(e,t){if("function"==typeof e.closest)return e.closest("."+t);for(;e;){if(e.classList.contains(t))return e;e=e.parentElement}}function a(e){for(;e.hasChildNodes();)e.removeChild(e.lastChild);return e}function s(e){if(e&&0!==e.length)return e.item(e.length-1)}function l(e,t){Array.prototype.forEach.call(e,t)}function u(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 c(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(null,t,n)}function d(e,t){Object.keys(t).forEach(function(n){u(e,n,t[n].toString())})}function p(e,t){Object.keys(t).forEach(function(n){c(e,n,t[n].toString())})}function h(){var e=document.createElement("html");return e.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/xmlns/"),e}function f(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"),d(n,e),n.innerHTML=t,n}Object.defineProperty(n,"__esModule",{value:!0}),n.addClass=r,n.removeClass=i,n.getParentByClassName=o,n.removeChildren=a,n.getLastItemOfNodeList=s,n.forEachNodeList=l,n.safeSetStyle=u,n.safeSetAttribute=c,n.safeSetStyles=d,n.safeSetAttributes=p,n.makeHtmlEl=h,n.makeBodyEl=f},{}],2:[function(e,t,n){"use strict";function r(e,t){var n=a(t.toLowerCase());return e.some(n)}function i(e,t){var n,r=a(t.toLowerCase());return n=s?e.find(r):e.map(r).pop(),n?n.value:void 0}function o(e,t){var n=a(t.toLowerCase());return e.filter(n).map(function(e){return[t,e.value]})}Object.defineProperty(n,"__esModule",{value:!0});var a=function(e){return function(t){return t.name.toLowerCase()===e}};n.hasHeader=r;var s=!!Array.prototype.find;n.getHeader=i,n.getHeaders=o},{}],3:[function(e,t,n){"use strict";function r(e,t,n,r){if(void 0===r&&(r=1),void 0===C){C=x.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 q(e,t,n,"icon-no-tls",r,C.cloneNode(!1))}function i(e,t,n,r){if(void 0===r&&(r=1),void 0===T){T=x.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 q(e,t,n,"icon-redirect",r,T.cloneNode(!1))}function o(e,t,n,r){return void 0===r&&(r=1),f(e,t,n,r)}function a(e,t,n,r){return void 0===r&&(r=1),f(e,t,n,r)}function s(e,t,n,r){if(void 0===r&&(r=1),void 0===S){S=x.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 q(e,t,n,"icon-plain",r,S.cloneNode(!1))}function l(e,t,n,r){if(void 0===r&&(r=1),void 0===E){E=x.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 q(e,t,n,"icon-other",r,E.cloneNode(!1))}function u(e,t,n,r){if(void 0===r&&(r=1),void 0===M){M=x.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 q(e,t,n,"icon-js",r,M.cloneNode(!1))}function c(e,t,n,r){if(void 0===r&&(r=1),void 0===L){L=x.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 q(e,t,n,"icon-image",r,L.cloneNode(!1))}function d(e,t,n,r){return void 0===r&&(r=1),c(e,t,n,r)}function p(e,t,n,r){if(void 0===r&&(r=1),void 0===P){P=x.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 q(e,t,n,"icon-html",r,P.cloneNode(!1))}function h(e,t,n,r){if(void 0===r&&(r=1),void 0===_){_=x.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 q(e,t,n,"icon-css",r,_.cloneNode(!1))}function f(e,t,n,r){if(void 0===r&&(r=1),void 0===O){O=x.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 q(e,t,n,"icon-warning",r,O.cloneNode(!1))}function v(e,t,n,r){if(void 0===r&&(r=1),void 0===N){N=x.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 q(e,t,n,"icon-no-gzip",r,N.cloneNode(!1))}function m(e,t,n,r){if(void 0===r&&(r=1),void 0===I){I=x.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 q(e,t,n,"icon-font",r,I.cloneNode(!1))}function g(e,t,n,r){if(void 0===r&&(r=1),void 0===H){H=x.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 q(e,t,n,"icon-flash",r,H.cloneNode(!1))}function y(e,t,n,r){if(void 0===r&&(r=1),void 0===A){A=x.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 q(e,t,n,"icon-video",r,A.cloneNode(!1))}function w(e,t,n,r){if(void 0===r&&(r=1),void 0===k){k=x.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 q(e,t,n,"icon-audio",r,k.cloneNode(!1))}function b(e,t,n,r){if(void 0===r&&(r=1),void 0===z){z=x.newPath("M14.668 9q0 .416-.285.7L9.37 14.716Q9.067 15 8.667 15q-.393 0-.694-.285l-.577\n -.578q-.293-.292-.293-.7 0-.41.293-.7l2.256-2.258H4.23q-.4 0-.65-.29t-.25-.698v-.986q0-.408.25\n -.697.25-.29.65-.29h5.423L7.397 5.257q-.293-.278-.293-.693 0-.416.293-.694l.577-.576Q8.267 3 8.668\n 3q.408 0 .7.293l5.015 5.014q.285.27.285.693z")}return q(e,t,n,"icon-push",r,z.cloneNode(!1))}Object.defineProperty(n,"__esModule",{value:!0});var C,x=e("./svg"),q=function(e,t,n,r,i,o){var a=x.newSvg("",{x:e,y:t}),s=x.newG("icon "+r,{transform:"scale("+i+")"});return s.appendChild(o),s.appendChild(x.newTitle(n)),a.appendChild(s),a};n.noTls=r;var T;n.err3xx=i,n.err4xx=o,n.err5xx=a;var S;n.plain=s;var E;n.other=l;var M;n.javascript=u;var L;n.image=c,n.svg=d;var P;n.html=p;var _;n.css=h;var O;n.warning=f;var N;n.error=v;var I;n.font=m;var H;n.flash=g;var A;n.video=y;var k;n.audio=w;var z;n.push=b},{"./svg":6}],4:[function(e,t,n){"use strict";function r(e){var t=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),n=e.match(t);return{authority:n[4],fragment:n[9],path:n[5],query:n[7],scheme:n[2]}}function i(e,t){return e.some(function(e){return e===t})}function o(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++}}function a(e,t){var n=o(e,t);if(void 0!==n)return e[n]}function s(e,t){if(e.length<t)return e.replace(/https?:\/\//,"");var n=r(e);if((n.authority+n.path).length<t)return n.authority+n.path;var i=Math.floor(t/2)-3,o=Math.floor(t/2)-5,a=n.path.split("/");return n.authority.length>i?n.authority.substr(0,i)+"..."+a[a.length-1].substr(-o):n.authority+"..."+a[a.length-1].substr(-o)}function l(e,t){return void 0===t&&(t=2),Math.round(e*Math.pow(10,t))/Math.pow(10,t)}function u(e,t,n){return e>=t&&e<=n}function c(e){return e.toLowerCase().replace(f,"")}function d(e,t){return e+(t>1?"s":"")}function p(e){return 9===e.which&&e.shiftKey}function h(e){return 9===e.which&&!e.shiftKey}Object.defineProperty(n,"__esModule",{value:!0}),n.contains=i,n.findIndex=o,n.find=a,n.resourceUrlFormatter=s,n.roundNumber=l,n.isInStatusCodeRange=u;var f=/[^a-z-]/g;n.toCssClass=c,n.pluralize=d,n.isTabUp=p,n.isTabDown=h},{}],5:[function(e,t,n){"use strict";function r(e,t,n){if(void 0===t&&(t=i),void 0===n&&(n=o),void 0!==e){var r=t(e);if(void 0!==r)return n(r)}}function i(e){return e}function o(e){if("function"==typeof e.toString)return e.toString();throw TypeError("Can't convert type ${typeof source} to string")}function a(e){return e.trim().length>0?e:void 0}function s(e){var t=new Date(e);if(!isNaN(t.getTime()))return t}function l(e){return c(e,function(e){return e>=0})}function u(e){return c(e,function(e){return e>0})}function c(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)}function d(e){return b.roundNumber(e,3)+" ms"}function p(e){var t=b.roundNumber(e,3)+" s";return e>q?t+" (~"+b.roundNumber(e/q,0)+" days)":e>x?t+" (~"+b.roundNumber(e/x,0)+" hours)":e>C?t+" (~"+b.roundNumber(e/C,0)+" minutes)":t}function h(e){return e.toUTCString()+"</br>(local time: "+e.toLocaleString()+")"}function f(e){var t=e+" bytes";return e>=S?t+" (~"+b.roundNumber(e/S,1)+" MB)":e>=T?t+" (~"+b.roundNumber(e/T,0)+" kB)":t}function v(e){if(void 0===e&&(e=""),"string"!=typeof e){if("function"!=typeof e.toString)throw TypeError("Invalid parameter");e=e.toString()}return e.replace(M,function(e){return E[e]})}function m(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),"")}function g(e){return e.toString().replace(P,"")}function y(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function w(e){var t=function(t){if(e[t]=y(e[t]),void 0===e[t])throw TypeError('option "'+t+'" needs to be a number')},n=function(t){e[t]=!!e[t]};return t("leftColumnWith"),t("rowHeight"),t("selectedPage"),n("showAlignmentHelpers"),n("showIndicatorIcons"),n("showMimeTypeIcon"),e}Object.defineProperty(n,"__esModule",{value:!0});var b=e("./misc");n.parseAndFormat=r,n.parseNonEmpty=a,n.parseDate=s,n.parseNonNegative=l,n.parsePositive=u,n.formatMilliseconds=d;var C=60,x=60*C,q=24*x;n.formatSeconds=p,n.formatDateLocalized=h;var T=1024,S=1024*T;n.formatBytes=f;var E={'"':"&quot","&":"&amp","'":"&#039","<":"&lt",">":"&gt"},M=new RegExp(Object.keys(E).join("|"),"g");n.escapeHtml=v;var L=new RegExp("[^-A-Za-z0-9+&@#/%?=~_|!:,.;()]","g");n.sanitizeUrlForLink=m;var P=new RegExp("[^a-zA-Z0-9]","g");n.sanitizeAlphaNumeric=g,n.toInt=y,n.validateOptions=w},{"./misc":4}],6:[function(e,t,n){"use strict";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,c=void 0===u?"":u,d=document.createElementNS(m,e);return c&&v.addClass(d,c),l&&(d.textContent=l),v.safeSetStyles(d,a),v.safeSetAttributes(d,i),d}function i(e,t,n){return void 0===n&&(n={}),r("svg",{className:e,attributes:t,css:n})}function o(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),r("g",{className:e,attributes:t,css:n})}function a(e){return r("clipPath",{attributes:{id:e}})}function s(e,t,n){return void 0===t&&(t=""),void 0===n&&(n={}),r("foreignObject",{attributes:e,className:t,css:n})}function l(e){return r("a",{className:e})}function u(e,t,n){return void 0===t&&(t=""),void 0===n&&(n={}),r("rect",{attributes:e,className:t,css:n})}function c(e,t){return void 0===t&&(t=""),r("line",{className:t,attributes:e})}function d(e){var t=document.createElementNS(m,"title");return t.setAttribute("text",e),t}function p(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),r("text",{text:e,attributes:t,css:n})}function h(e){var t=document.createElementNS(m,"path");return t.setAttribute("d",e),t}function f(e,t){if(void 0===t&&(t=!1),0===e.textContent.length)return 0;var n,r,i=g();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}Object.defineProperty(n,"__esModule",{value:!0});var v=e("./dom"),m="http://www.w3.org/2000/svg";n.newSvg=i,n.newG=o,n.newClipPath=a,n.newForeignObject=s,n.newA=l,n.newRect=u,n.newLine=c,n.newTitle=d,n.newTextEl=p,n.newPath=h;var g=function(){var e,t;return function(){return void 0===e&&(e=i("water-fall-chart temp",{className:"water-fall-chart temp",width:"9999px"},{left:"0px",position:"absolute",top:"0px",visibility:"hidden","z-index":"99999"})),void 0===e.parentElement&&window.document.body.appendChild(e),clearTimeout(t),t=setTimeout(function(){e.parentNode.removeChild(e)},500),e}}();n.getNodeTextWidth=f},{"./dom":1}],7:[function(e,t,n){"use strict";function r(){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}Object.defineProperty(n,"__esModule",{value:!0}),n.makeLegend=r},{}],8:[function(e,t,n){"use strict";function r(){return l.makeLegend()}function i(e,t){void 0===t&&(t={});var n=s.validateOptions(a({},p,t)),r=new u.default(e,n.selectedPage),i=d.createWaterfallSvg(r.getSelectedPage(),n);return r.onPageUpdate(function(e,t){var r=i.parentElement,o=d.createWaterfallSvg(t,n);r.replaceChild(o,i),i=o}),n.pageSelector&&r.initPagingSelectBox(n.pageSelector),n.legendHolder&&(n.legendHolder.innerHTML="",n.legendHolder.appendChild(l.makeLegend())),i}function o(e,t){void 0===t&&(t={});var n=a({},h,t),r=c.transformDoc(e,n);return"function"==typeof t.onParsed&&t.onParsed(r),i(r,t)}var a=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e};Object.defineProperty(n,"__esModule",{value:!0});var s=e("./helpers/parse"),l=e("./legend/legend"),u=e("./paging/paging"),c=e("./transformers/har"),d=e("./waterfall/svg-chart"),p={leftColumnWith:25,legendHolder:void 0,onParsed:void 0,pageSelector:void 0,rowHeight:23,selectedPage:0,showAlignmentHelpers:!0,showIndicatorIcons:!0,showMimeTypeIcon:!0},h={showUserTiming:!1,showUserTimingEndMarker:!1};n.makeLegend=r,n.fromHar=o},{"./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";function r(e,t,n){return[["Request Number","#"+n],["Started",new Date(e.startedDateTime).toLocaleString()+(t>0?" ("+u.formatMilliseconds(t)+" after page request started)":"")],["Duration",u.formatMilliseconds(e.time)],["Error/Status Code",e.response.status+" "+e.response.statusText],["Server IPAddress",e.serverIPAddress],["Connection",e.connection],["Browser Priority",e._priority||e._initialPriority],["Was pushed",u.parseAndFormat(e._was_pushed,u.parsePositive,function(){return"yes"})],["Initiator (Loaded by)",e._initiator],["Initiator Line",e._initiator_line],["Host",l.getHeader(e.request.headers,"Host")],["IP",e._ip_addr],["Client Port",u.parseAndFormat(e._client_port,u.parsePositive)],["Expires",e._expires],["Cache Time",u.parseAndFormat(e._cache_time,u.parsePositive,u.formatSeconds)],["CDN Provider",e._cdn_provider],d("ObjectSize",e._objectSize),d("Bytes In (downloaded)",e._bytesIn),d("Bytes Out (uploaded)",e._bytesOut),d("JPEG Scan Count",e._jpeg_scan_count),d("Gzip Total",e._gzip_total),d("Gzip Save",e._gzip_save),d("Minify Total",e._minify_total),d("Minify Save",e._minify_save),d("Image Total",e._image_total),d("Image Save",e._image_save)].filter(h)}function i(e){var t=e.request,n=function(e){return l.getHeaders(t.headers,e)};return c.flattenKvTuple([["Method",t.method],["HTTP Version",t.httpVersion],d("Bytes Out (uploaded)",e._bytesOut),d("Headers Size",t.headersSize),d("Body Size",t.bodySize),["Comment",u.parseAndFormat(t.comment,u.parseNonEmpty)],n("User-Agent"),n("Host"),n("Connection"),n("Accept"),n("Accept-Encoding"),n("Expect"),n("Forwarded"),n("If-Modified-Since"),n("If-Range"),n("If-Unmodified-Since"),p("Querystring parameters count",t.queryString.length),p("Cookies count",t.cookies.length)]).filter(h)}function o(e){var t,n=e.response,r=n.content,i=n.headers,o=function(e,t){return void 0===t&&(t=e),l.getHeaders(i,t)},a=function(e){var t=l.getHeader(i,e);return[e,u.parseAndFormat(t,u.parseDate,u.formatDateLocalized)]},s=l.getHeader(i,"Content-Length");-1!==r.size&&s!==r.size.toString()&&(t=r.size);var p=l.getHeader(i,"Content-Type");return e._contentType&&e._contentType!==p&&(p=p+" | "+e._contentType),c.flattenKvTuple([["Status",n.status+" "+n.statusText],["HTTP Version",n.httpVersion],d("Bytes In (downloaded)",e._bytesIn),d("Headers Size",n.headersSize),d("Body Size",n.bodySize),["Content-Type",p],o("Cache-Control"),o("Content-Encoding"),a("Expires"),a("Last-Modified"),o("Pragma"),d("Content-Length",s),d("Content Size",t),d("Content Compression",r.compression),o("Connection"),o("ETag"),o("Accept-Patch"),["Age",u.parseAndFormat(l.getHeader(i,"Age"),u.parseNonNegative,u.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",u.parseAndFormat(n.redirectURL,u.parseNonEmpty)],["Comment",u.parseAndFormat(n.comment,u.parseNonEmpty)]]).filter(h)}function a(e,t,n){var r=e.timings,i=function(e){return u.parseAndFormat(e,u.parseNonNegative,u.formatMilliseconds)},o="number"!=typeof t||"number"!=typeof n?void 0:n-t,a=i(r.connect);return r.ssl>0&&(a=a+" (without TLS: "+i(r.connect-r.ssl)+")"),[["Total",u.formatMilliseconds(o)],["Blocked",i(r.blocked)],["DNS",i(r.dns)],["Connect",a],["SSL (TLS)",i(r.ssl)],["Send",u.formatMilliseconds(r.send)],["Wait",u.formatMilliseconds(r.wait)],["Receive",u.formatMilliseconds(r.receive)]]}function s(e,t,n,s){var l=e.request.headers,u=e.response.headers,c=function(e){return[e.name,e.value]};return{general:r(e,n,t),request:i(e),requestHeaders:l.map(c),response:o(e),responseHeaders:u.map(c),timings:a(e,n,s)}}Object.defineProperty(n,"__esModule",{value:!0});var l=e("../helpers/har"),u=e("../helpers/parse"),c=e("./helpers"),d=function(e,t){return[e,u.parseAndFormat(t,u.parsePositive,u.formatBytes)]},p=function(e,t){return[e,u.parseAndFormat(t,u.parsePositive)]},h=function(e){return e.length>1&&void 0!==e[1]&&""!==e[1]};n.getKeys=s},{"../helpers/har":2,"../helpers/parse":5,"./helpers":14}],11:[function(e,t,n){"use strict";function r(e,t){if(e.response.bodySize<1e3)return!1;if(d.contains(["html","css","javascript","svg","plain"],t))return!0;var n=e.response.content.mimeType,r=["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"];return!(!d.contains(["text"],n.split("/")[0])&&!d.contains(r,n.split(";")[0]))}function i(e){if("get"!==e.request.method.toLowerCase())return!1;if(204===e.response.status||!d.isInStatusCodeRange(e.response.status,200,299))return!1;var t=e.response.headers;return!(c.hasHeader(t,"Cache-Control")||c.hasHeader(t,"Expires"))}function o(e,t){var n=e.response.headers;return!c.hasHeader(n,"Content-Encoding")&&r(e,t)}function a(e){return 0===e.request.url.indexOf("https://")}function s(e){return 1===function(e){return"string"==typeof e?parseInt(e,10):e}(e._was_pushed)}function l(e){var t=e.filter(function(e){return!e.response.redirectURL})[0];return void 0===t?e.length>0&&a(e[0]):a(t)}function u(e,t,n){var r=[];return s(e)&&r.push({description:"Response was pushed by the server using HTTP2 push.",icon:"push",id:"push",title:"Response was pushed by the server",type:"info"}),t&&!a(e)&&r.push({description:"Insecure request, it should use HTTPS.",id:"noTls",title:"Insecure Connection",type:"error"}),i(e)&&r.push({description:"The response is not allow to be cached on the client. Consider setting 'Cache-Control' headers.",id:"noCache",title:"Response not cached",type:"error"}),o(e,n)&&r.push({description:"The response is not compressed. Consider enabling HTTP compression on your server.",id:"noGzip",title:"no gzip",type:"error"}),!e.response.content.mimeType&&d.isInStatusCodeRange(e.response.status,200,299)&&204!==e.response.status&&r.push({description:"Response doesn't contain a 'Content-Type' header.",id:"warning",title:"No MIME Type defined",type:"warning"}),r}Object.defineProperty(n,"__esModule",{value:!0});var c=e("../helpers/har"),d=e("../helpers/misc");n.documentIsSecure=l,n.collectIndicators=u},{"../helpers/har":2,"../helpers/misc":4}],12:[function(e,t,n){"use strict";function r(e,t,n,r,o,d){var p=[],v=h.getKeys(e,t,r,o);return p.push(a(v.general,d)),p.push(s(v.request,v.requestHeaders)),p.push(l(v.response,v.responseHeaders)),p.push(i("Timings",f.makeDefinitionList(v.timings,!0))),p.push(u(e)),"image"===n&&p.push(c(e)),p.filter(function(e){return void 0!==e})}function i(e,t,n){return void 0===n&&(n=""),{content:t,tabClass:n,title:e}}function o(e,t,n){return void 0===n&&(n=""),{renderContent:t,tabClass:n,title:e}}function a(e,t){var n=f.makeDefinitionList(e);if(0===t.length)return i("General",n);var r="<h2>General</h2>\n<dl>"+n+"<dl>",o="",a=t.filter(function(e){return"error"===e.type}).map(function(e){return[e.title,e.description]}),s=t.filter(function(e){return"warning"===e.type}).map(function(e){return[e.title,e.description]}),l=t.filter(function(e){return"error"!==e.type&&"warning"!==e.type}).map(function(e){return[e.title,e.description]});a.length>0&&(o+='<h2 class="no-boder">'+d.pluralize("Error",a.length)+"</h2>\n <dl>"+f.makeDefinitionList(a)+"</dl>"),s.length>0&&(o+='<h2 class="no-boder">'+d.pluralize("Warning",s.length)+"</h2>\n <dl>"+f.makeDefinitionList(s)+"</dl>"),l.length>0&&(o+='<h2 class="no-boder">Info</h2>\n <dl>'+f.makeDefinitionList(l)+"</dl>"),i("General",o+r)}function s(e,t){return i("Request","<dl>\n "+f.makeDefinitionList(e)+"\n </dl>\n <h2>All Request Headers</h2>\n <dl>\n "+f.makeDefinitionList(t)+"\n </dl>")}function l(e,t){return i("Response","<dl>\n "+f.makeDefinitionList(e)+"\n </dl>\n <h2>All Response Headers</h2>\n <dl>\n "+f.makeDefinitionList(t)+"\n </dl>")}function u(e){return o("Raw Data",function(){return"<pre><code>"+p.escapeHtml(JSON.stringify(e,null,2))+"</code></pre>"},"raw-data")}function c(e){return o("Preview",function(t){return'<img class="preview" style="max-height:'+(t-100)+'px"\n data-src="'+p.sanitizeUrlForLink(e.request.url)+'" />'})}Object.defineProperty(n,"__esModule",{value:!0});var d=e("../helpers/misc"),p=e("../helpers/parse"),h=e("./extract-details-keys"),f=e("./helpers");n.makeTabs=r},{"../helpers/misc":4,"../helpers/parse":5,"./extract-details-keys":10,"./helpers":14}],13:[function(e,t,n){"use strict";function r(e,t){var n=this,r=void 0!==e.log?e.log:e;return{pages:d(r).map(function(e,i){return n.transformPage(r,i,t)})}}function i(e,t,n,r){n=Math.round(n);var i=Math.round(s.toInt(e._all_end)||n+e.time),o=c.mimeToRequestType(e.response.content.mimeType),a=l.collectIndicators(e,r,o),d=m(e,a);return c.createWaterfallEntry(e.request.url,n,i,f(n,e),d,u.makeTabs(e,t+1,o,n,i,a))}function o(e,t,n){void 0===t&&(t=0);var r=void 0!==e.log?e.log:e,o=d(r),a=o[t],s=new Date(a.startedDateTime).getTime(),u=a.pageTimings,c=0,h=l.documentIsSecure(r.entries),f=r.entries.filter(function(e){return 0!==e.request.url.indexOf("data:")&&0!==e.request.url.indexOf("javascript:")&&(1===o.length&&""===a.id||e.pageref===a.id)}).map(function(e,t){var n=new Date(e.startedDateTime).getTime()-s;return c=Math.max(c,n+e.time),i(e,t,n,h)}),v=p(u,a,n);return v.forEach(function(e){e.startTime>c&&(c=e.startTime)}),c+=100,{docIsTLS:h,durationMs:c,entries:f,marks:v,title:a.title}}Object.defineProperty(n,"__esModule",{value:!0});var a=e("../helpers/misc"),s=e("../helpers/parse"),l=e("./har-heuristics"),u=e("./har-tabs"),c=e("./helpers");n.transformDoc=r;var d=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"}]};n.transformPage=o;var p=function(e,t,n){var r=function(e,t){return e.startTime-t.startTime},i=Object.keys(e).filter(function(t){return"number"==typeof e[t]&&e[t]>=0}).map(function(t){return{name:s.escapeHtml(t.replace(/^[_]/,""))+" ("+a.roundNumber(e[t],0)+" ms)",startTime:e[t]}});return n.showUserTiming?h(t,n).concat(i).sort(r):i.sort(r)},h=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 i=t.showUserTiming;r=function(e){return n(e)&&i.indexOf(e.replace(/^_userTime\./,""))>=0}}var o=/^_userTime\.((?:startTimer-)?(.+))$/,a=function(n){var r,i,a;return l=o.exec(n),i=l[1],r=l[2],i=s.escapeHtml(i),r=s.escapeHtml(r),i!==r&&e["_userTime.endTimer-"+r]?(a=e["_userTime.endTimer-"+r]-e[n],{duration:a,name:(t.showUserTimingEndMarker?i:r)+" ("+e[n]+" - "+(e[n]+a)+" ms)",startTime:e[n]}):{name:i,startTime:e[n]};var l};return Object.keys(e).filter(r).map(a)},f=function(e,t){var n=t.timings;return["blocked","dns","connect","send","wait","receive"].reduce(function(r,i){var o=v(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,s=parseInt(t._ssl_end,10)||o.start+n.ssl,l=parseInt(t._ssl_start,10)?o.start:s;return r.concat([c.createWaterfallEntryTiming("ssl",Math.round(a),Math.round(s))]).concat([c.createWaterfallEntryTiming(i,Math.round(l),Math.round(o.end))])}return r.concat([c.createWaterfallEntryTiming(i,Math.round(o.start),Math.round(o.end))])},[])},v=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)}},m=function(e,t){var n=c.mimeToRequestType(e.response.content.mimeType),r=s.toInt(e.response.status);return{icon:c.makeMimeTypeIcon(r,e.response.statusText,n,e.response.redirectURL),indicators:t,requestType:n,rowClass:c.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";function r(e,t){void 0===t&&(t=!1);var n=function(e){return t?'class="'+(u.toCssClass(e)||"no-colour")+'"':""};return e.filter(function(e){return void 0!==e[1]}).map(function(e){return"\n <dt "+n(e[0])+">"+c.escapeHtml(e[0])+"</dt>\n <dd>"+c.escapeHtml(e[1])+"</dd>\n "}).join("")}function i(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"}}function o(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?void 0:n-t,url:e}}function a(e,t,n){return{end:n,start:t,total:"number"!=typeof t||"number"!=typeof n?void 0:n-t,type:c.sanitizeAlphaNumeric(e)}}function s(e){var t=["row-item"];return u.isInStatusCodeRange(e,500,599)?t.push("status5xx"):u.isInStatusCodeRange(e,400,499)?t.push("status4xx"):304!==e&&u.isInStatusCodeRange(e,300,399)&&t.push("status3xx"),t.join(" ")}function l(e,t,n,r){if(void 0===r&&(r=""),r){var i=encodeURI(r.split("?")[0]||"");return d.makeIcon("err3xx",e+" response status: Redirect to "+c.escapeHtml(i)+"...")}return u.isInStatusCodeRange(e,400,499)?d.makeIcon("err4xx",e+" response status: "+c.escapeHtml(t)):u.isInStatusCodeRange(e,500,599)?d.makeIcon("err5xx",e+" response status: "+c.escapeHtml(t)):204===e?d.makeIcon("plain","No content"):d.makeIcon(c.sanitizeAlphaNumeric(n),c.escapeHtml(n))}Object.defineProperty(n,"__esModule",{value:!0});var u=e("../helpers/misc"),c=e("../helpers/parse"),d=e("../waterfall/row/svg-indicators");n.makeDefinitionList=r,n.mimeToRequestType=i,n.createWaterfallEntry=o,n.createWaterfallEntryTiming=a,n.makeRowCssClasses=s,n.makeMimeTypeIcon=l,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";function r(e){return"block-"+e}function i(e){return"block-"+e}Object.defineProperty(n,"__esModule",{value:!0}),n.requestTypeToCssClass=r,n.timingTypeToCssClass=i},{}],16:[function(e,t,n){"use strict";function r(e,t,n){var r=i.makeHtmlEl(),a=i.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="'+o.sanitizeUrlForLink(n.url)+'">\n '+o.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 ",r.appendChild(a),r}Object.defineProperty(n,"__esModule",{value:!0});var i=e("../../helpers/dom"),o=e("../../helpers/parse");n.createDetailsBody=r},{"../../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)},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){var r=this;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:r.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},u=function(n,i){var a=i.defaultY+s,u=o.createRowInfoOverlay(i,a,t),c=u.querySelector("img.preview");c&&!c.src&&c.setAttribute("src",c.attributes.getNamedItem("data-src").value),u.querySelector("a").addEventListener("keydown",e.firstElKeypress),r.getLastItemOfNodeList(u.querySelectorAll("button")).addEventListener("keydown",e.lastElKeypress),n.appendChild(u),l(i,a,u.getBoundingClientRect().height)},c=function(t,n){var o=i.find(a.openOverlays,function(e){return e.index===n}),c=t.nextElementSibling.firstElementChild;if(a.realignRow(t,s),void 0!==o){if(c){var d=c.querySelector(".info-overlay-bg"),p=c.querySelector("foreignObject"),h=c.querySelector(".info-overlay-close-btn rect"),f=c.querySelector(".info-overlay-close-btn text");return l(o,o.defaultY+s,o.height),d.setAttribute("y",o.actualY.toString()),p.setAttribute("y",o.actualY.toString()),f.setAttribute("y",o.actualY.toString()),void h.setAttribute("y",o.actualY.toString())}u(t.nextElementSibling,o)}else c&&(t.nextElementSibling.querySelector("a").removeEventListener("keydown",e.firstElKeypress),r.getLastItemOfNodeList(t.nextElementSibling.querySelectorAll("button")).removeEventListener("keydown",e.lastElKeypress),r.removeChildren(t.nextElementSibling))};n.forEach(c)},e}();a.showFullName=function(e){e.getElementsByClassName("row-fixed").item(0).dispatchEvent(new MouseEvent("mouseenter"))},a.firstElKeypress=function(e){if(i.isTabUp(e)){var t=r.getParentByClassName(e.target,"row-overlay-holder");t&&t.previousElementSibling&&a.showFullName(t.previousElementSibling)}},a.lastElKeypress=function(e){if(i.isTabDown(e)){var t=r.getParentByClassName(e.target,"row-overlay-holder");t&&t.nextElementSibling&&a.showFullName(t.nextElementSibling)}},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";function r(e){var t=s.newA("info-overlay-close-btn");return t.appendChild(s.newRect({height:23,width:23,x:"100%",y:e})),t.appendChild(s.newTextEl("✕",{dx:7,dy:16,x:"100%",y:e})),t.appendChild(s.newTitle("Close Overlay")),t}function i(e,t){var n=s.newG("info-overlay-holder"),r=s.newRect({height:t,rx:2,ry:2,width:"100%",x:"0",y:e},"info-overlay-bg");return n.appendChild(r),n}function o(e,t,n){var o=e.index+1,u=i(t,n),c=s.newForeignObject({height:n,width:"100%",x:"0",y:t}),d=r(t);d.addEventListener("click",function(){return e.onClose(e.index)});var p=l.createDetailsBody(o,n,e.entry),h=p.getElementsByClassName("tab-button"),f=p.getElementsByClassName("tab"),v=function(t){e.openTabIndex=t,a.forEachNodeList(f,function(e,n){e.style.display=t===n?"block":"none",h.item(n).classList.toggle("active",t===n)})};return a.forEachNodeList(h,function(e,t){e.addEventListener("click",function(){return v(t)})}),v(e.openTabIndex),c.appendChild(p),u.appendChild(c),u.appendChild(d),u}Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../helpers/dom"),s=e("../../helpers/svg"),l=e("./html-details-body");n.createRowInfoOverlay=o},{"../../helpers/dom":1,"../../helpers/svg":6,"./html-details-body":16}],20:[function(e,t,n){"use strict";function r(e,t){return{type:e,title:t,width:20}}function i(e){var t=e.responseDetails.indicators;if(0===t.length)return[];var n=[],i="",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(o.pluralize("Error",a.length)+":\n "+a.map(function(e){return e.title}).join("\n")),i="error"),s.length>0&&(n.push(o.pluralize("Warning",s.length)+":\n"+s.map(function(e){return e.title}).join("\n")),i=i||"warning"),l.length>0&&(n.push("Info:\n"+l.map(function(e){return e.title}).join("\n")),i=i||1!==l.length?i||"info":l[0].icon||l[0].type),[r(i,n.join("\n"))]}Object.defineProperty(n,"__esModule",{value:!0});var o=e("../../helpers/misc");n.makeIcon=r,n.getIndicatorIcons=i},{"../../helpers/misc":4}],21:[function(e,t,n){"use strict";function r(e,t){var n=g.newG(""),r=e.height-1,i=m.roundNumber(e.x/e.unit)+"%",o=g.newRect({height:r,width:m.roundNumber(e.width/e.unit)+"%",x:i,y:e.y},t);if(n.appendChild(o),e.label){var a,s;o.addEventListener("mouseenter",function(){s||(s=v.getParentByClassName(o,"water-fall-chart").querySelector(".tooltip")),a=setTimeout(function(){a=null,w.onHoverInShowTooltip(o,e,s)},100)}),o.addEventListener("mouseleave",function(){a?clearTimeout(a):w.onHoverOutShowTooltip(o)})}return e.showOverlay&&e.hideOverlay&&(o.addEventListener("mouseenter",e.showOverlay(e)),o.addEventListener("mouseleave",e.hideOverlay(e))),n}function i(e,t){return{cssClass:y.timingTypeToCssClass(e.type),height:t.height-6,hideOverlay:t.hideOverlay,label:e.type+" ("+Math.round(e.start)+"ms - "+Math.round(e.end)+"ms | total: "+Math.round(e.total)+"ms)",showOverlay:t.showOverlay,unit:t.unit,width:e.total,x:e.start||.001,y:t.y}}function o(e,t,n){var r=e.y+e.height/1.5,i=Math.round(t)+" ms",o=(e.x+e.width)/e.unit+1,a=g.newTextEl(i,{x:m.roundNumber(o)+"%",y:r});return o+8*i.length/500*100>100&&(o=n/e.unit-1,a=g.newTextEl(i,{x:m.roundNumber(o)+"%",y:r},{textAnchor:"end"})),a}function a(e,t,n){var a=r(e,"time-block "+e.cssClass),s=g.newG("rect-holder"),l=e.x;return s.appendChild(a),t&&t.length>0&&(t.forEach(function(t){if(t.total>0&&"number"==typeof t.start){var n=i(t,e),o=r(n,"segment "+n.cssClass);l=Math.min(l,n.x),s.appendChild(o)}}),s.appendChild(o(e,n,l))),s}function s(e,t,n,r,i){return t+=Math.round(r/2)+5,e+=i,g.newTextEl(n,{x:e,y:t},{"text-anchor":"end"})}function l(e,t,n,r){var i=c(e,t,n,r);return i.style.clipPath="url(#titleClipPath)",i}function u(e,t,n,r){var i=c(e,t,n,r),o=g.newG("full-label",{},{clipPath:"url(#titleFullClipPath)"});return o.appendChild(g.newRect({height:r-4,rx:5,ry:5,width:500,x:e-3,y:t+3},"label-full-bg")),o.appendChild(i),o}function c(e,t,n,r){var i=m.resourceUrlFormatter(n,125);t=t+Math.round(r/2)+5;var o=g.newTextEl(i,{x:e,y:t});return o.appendChild(g.newTitle(n)),o.style.opacity=n.match(/js.map$/)?"0.5":"1",o}function d(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||(b?a=window.requestAnimationFrame(e):e())}),e.addEventListener("mouseleave",function(){n.style.display="block",r.style.display="none",r.style.visibility="hidden",b&&void 0!==a&&cancelAnimationFrame(a)})}function p(e,t,n){var r=n?"even":"odd";return g.newRect({height:t,width:"100%",x:0,y:e},r)}function h(e,t){var n=g.newG("row row-fixed");return n.appendChild(g.newRect({height:t,width:"100%",x:"0",y:e},"",{opacity:0})),n}function f(e,t){var n=g.newG("row row-flex");return n.appendChild(g.newRect({height:t,width:"100%",x:"0",y:e},"",{opacity:0})),n}Object.defineProperty(n,"__esModule",{value:!0});var v=e("../../helpers/dom"),m=e("../../helpers/misc"),g=e("../../helpers/svg"),y=e("../../transformers/styling-converters"),w=e("./svg-tooltip");n.createRect=a,n.createRequestNumberLabel=s,n.createRequestLabelClipped=l,n.createRequestLabelFull=u;var b="function"==typeof window.requestAnimationFrame&&"function"==typeof window.cancelAnimationFrame;n.appendRequestLabels=d,n.createBgStripe=p,n.createNameRowBg=h,n.createRowBg=f},{"../../helpers/dom":1,"../../helpers/misc":4,"../../helpers/svg":6,"../../transformers/styling-converters":15,"./svg-tooltip":23}],22:[function(e,t,n){"use strict";function r(e,t,n,r,p,h,f){var v=p.y,m=p.height,g=e.options.leftColumnWith,y=a.newA(h.responseDetails.rowClass);y.setAttribute("tabindex","0"),y.setAttribute("xlink:href","javascript:void(0)");var w=a.newSvg("left-fixed-holder",{width:g+"%",x:"0"}),b=a.newSvg("flex-scale-waterfall",{width:100-g+"%",x:g+"%"}),C=l.createRect(p,h.segments,h.total),x=l.createNameRowBg(v,m),q=l.createRowBg(v,m),T=l.createBgStripe(v,m,t%2==0),S=d+n;if(e.options.showMimeTypeIcon){var E=h.responseDetails.icon;S-=E.width,x.appendChild(i[E.type](S,v+3,E.title))}e.options.showIndicatorIcons&&s.getIndicatorIcons(h).forEach(function(e){S-=e.width,x.appendChild(i[e.type](S,v+3,e.title))}),S=d+n;var M=""+(t+1),L=l.createRequestNumberLabel(S,v,M,m,r);S+=r+4;var P=l.createRequestLabelClipped(S,v,o.resourceUrlFormatter(h.url,40),m),_=l.createRequestLabelFull(S,v,h.url,m);q.appendChild(C),l.appendRequestLabels(x,L,P,_),e.pubSub.subscribeToSpecificOverlayChanges(t,function(e){O="open"===e.type}),t>0&&e.pubSub.subscribeToSpecificOverlayChanges(t-1,function(e){N="open"===e.type});var O,N;return y.addEventListener("click",function(e){e.preventDefault(),f(e)}),y.addEventListener("keydown",function(e){if(32===e.which||13===e.which)return e.preventDefault(),f(e);o.isTabUp(e)&&!N&&t>0?y.previousSibling.previousSibling.lastChild.lastChild.dispatchEvent(new MouseEvent("mouseenter")):!o.isTabDown(e)||O||y.nextSibling&&y.nextSibling.nextSibling&&y.nextSibling.nextSibling.lastChild.lastChild.dispatchEvent(new MouseEvent("mouseenter"))}),y.addEventListener("focusout",function(){x.dispatchEvent(new MouseEvent("mouseleave"))}),b.appendChild(q),w.appendChild(u.cloneNode(!0)),w.appendChild(x),y.appendChild(c.cloneNode(!0)),y.appendChild(T),y.appendChild(b),y.appendChild(w),y}Object.defineProperty(n,"__esModule",{value:!0});var i=e("../../helpers/icons"),o=e("../../helpers/misc"),a=e("../../helpers/svg"),s=e("./svg-indicators"),l=e("./svg-row-subcomponents"),u=a.newClipPath("titleClipPath");u.appendChild(a.newRect({height:"100%",width:"100%"}));var c=a.newClipPath("titleFullClipPath");c.appendChild(a.newRect({height:"100%",width:"100%"}));var d=3;n.createRow=r},{"../../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)\(.+[, ]+(.+)\)/,a=function(e){void 0===e&&(e="");var t=o.exec(e);return t&&t.length>=2?parseInt(t[1],10):0};n.onHoverInShowTooltip=function(e,t,n){var i=n.querySelector(".tooltip-payload"),o=r.getParentByClassName(e,"row-item"),s=a(o.getAttribute("transform")),l=parseInt(e.getAttribute("y"),10),u=e.getAttribute("x"),c=parseFloat(u),d=50,p=e.width.baseVal.value||e.getBoundingClientRect().width,h=p/(t.width/t.unit),f=t.width/t.unit/p,v=c>50&&(95-c)*h<200;i.innerText=t.label,r.addClass(i,"no-anim"),n.style.display="block",i.style.opacity="0.01";var m=i.clientHeight+5;if(d=l+s-m>0?s-m:s+t.height+10,v){var g=c-(i.clientWidth+5)*f,y=parseInt(n.querySelector("body").style.left,10);y*=1/(.01*(100-y)),i.style.left=g>-y?g+"%":-y+"%"}else i.style.left=u;n.setAttribute("y",""+(l+d)),n.setAttribute("height",m.toString()),r.removeClass(i,"no-anim"),i.style.opacity="1";var w=i.clientHeight+5-m;0!==w&&(n.setAttribute("height",(m+w).toString()),n.setAttribute("y",""+(l+d-w)))},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.leftColumnWith,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";function r(e){return{endline:a.newLine({x1:"0",x2:"0",y1:"0",y2:e},"line-end"),startline:a.newLine({x1:"0",x2:"0",y1:"0",y2:e},"line-start")}}function i(e){return{onMouseEnterPartial:function(){return function(t){var n=t.target;o.addClass(n,"active");var r=n.x.baseVal.valueInSpecifiedUnits+n.width.baseVal.valueInSpecifiedUnits+"%",i=n.x.baseVal.valueInSpecifiedUnits+"%";e.endline.x1.baseVal.valueAsString=r,e.endline.x2.baseVal.valueAsString=r,e.startline.x1.baseVal.valueAsString=i,e.startline.x2.baseVal.valueAsString=i,o.addClass(e.endline,"active"),o.addClass(e.startline,"active")}},onMouseLeavePartial:function(){return function(t){var n=t.target;o.removeClass(n,"active"),o.removeClass(e.endline,"active"),o.removeClass(e.startline,"active")}}}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("../../helpers/dom"),a=e("../../helpers/svg");n.createAlignmentLines=r,n.makeHoverEvtListeners=i},{"../../helpers/dom":1,"../../helpers/svg":6}],25:[function(e,t,n){"use strict";function r(e,t){for(var n=o.newG("time-scale full-width"),r=200*Math.ceil(t/1e4),i=1e3/r,s=t/1e3,l=t/r,u=0;u<=l;u++)a(e,n,s,u/i,u%i<1e-9);return n}Object.defineProperty(n,"__esModule",{value:!0});var i=e("../../helpers/misc"),o=e("../../helpers/svg"),a=function(e,t,n,r,a){void 0===a&&(a=!1);var s,l=e.diagramHeight,u=100/n,c="sub-second-line";if(a){var d=r>n-.2;c="second-line";var p=i.roundNumber(u*r)+.5+"%",h={};d&&(p=i.roundNumber(u*r)-.5+"%",h["text-anchor"]="end"),s=o.newTextEl(r+"s",{x:p,y:l},h)}var f=i.roundNumber(u*r)+"%",v=o.newLine({x1:f,x2:f,y1:0,y2:l},c);e.pubSub.subscribeToOverlayChanges(function(e){var t=e.combinedOverlayHeight,n=(l+t)/l;v.setAttribute("transform","scale(1, "+n+")"),a&&s.setAttribute("transform","translate(0, "+t+")")}),t.appendChild(v),a&&t.appendChild(s)};n.createTimeScale=r},{"../../helpers/misc":4,"../../helpers/svg":6}],26:[function(e,t,n){"use strict";function r(e,t){var n=e.diagramHeight,r=s.newG("marker-holder",{transform:"scale(1, 1)"});return t.forEach(function(l,u){var c=a.roundNumber(l.startTime/e.unit),d=s.newG("mark-holder type-"+l.name.toLowerCase().replace(/([0-9]+[ ]?ms)|\W/g,"")),p=s.newG("line-holder"),h=s.newG("line-label-holder"),f=s.newTextEl(l.name,{x:c+"%",y:n+25});f.setAttribute("writing-mode","tb");var v;l.x=c;var m=s.newLine({x1:c+"%",x2:c+"%",y1:0,y2:n}),g=t[u-1];g&&l.x-g.x<2.5&&(f.setAttribute("x",g.x+2.5+"%"),l.x=g.x+2.5);var y=s.newLine({x1:c+"%",x2:l.x+"%",y1:n,y2:n+23});p.appendChild(m),p.appendChild(y),l.duration&&(v=i(e,l),p.appendChild(v)),e.pubSub.subscribeToOverlayChanges(function(e){var t=e.combinedOverlayHeight,r=(n+t)/n;m.setAttribute("transform","scale(1, "+r+")"),h.setAttribute("transform","translate(0, "+t+")"),y.setAttribute("transform","translate(0, "+t+")"),v&&v.setAttribute("transform","translate(0, "+t+")")});var w=!1,b=!1,C=function(){w||(d.parentNode.appendChild(d),w=!0,"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(function(){return o.addClass(p,"active")}):o.addClass(p,"active"))},x=function(){w=!1,b||o.removeClass(p,"active")},q=function(){b?(w=!1,o.removeClass(p,"active")):w?w=!1:o.addClass(p,"active"),b=!b};f.addEventListener("mouseenter",C),f.addEventListener("mouseleave",x),f.addEventListener("click",q),h.appendChild(f),d.appendChild(s.newTitle(l.name)),d.appendChild(p),d.appendChild(h),r.appendChild(d)}),r}function i(e,t){var n=s.newG("line-mark-holder line-marker-"+a.toCssClass(t.name));return n.appendChild(s.newTitle(t.name.replace(/^startTimer-/,""))),n.appendChild(s.newRect({height:e.diagramHeight,width:(t.duration||1)/e.unit+"%",x:(t.startTime||.001)/e.unit+"%",y:0},"line-mark")),n}Object.defineProperty(n,"__esModule",{value:!0});var o=e("../../helpers/dom"),a=e("../../helpers/misc"),s=e("../../helpers/svg");n.createMarks=r,n.createLineRect=i},{"../../helpers/dom":1,"../../helpers/misc":4,"../../helpers/svg":6}],27:[function(e,t,n){"use strict";function r(e){for(var t=Math.floor(Math.log(e)/Math.LN10)+1,n="",r=0;r<t;r++)n+="0";return n}function i(e,t){var n=e.reduce(function(e,t){var n={x:0,y:0};return Math.max(e,s.getNodeTextWidth(s.newTextEl(t.name,n),!0))},0);return Math.floor(t+n+35)}function o(e,t,n){var r=e.durationMs/100,i={diagramHeight:(n.length+1)*t.rowHeight,options:t,overlayManager:void 0,pubSub:new c.PubSub,unit:r};return i.overlayManager=new u.default(i),i}function a(e,t){function n(){return b+w.overlayManager.getCombinedOverlayHeight()}function a(e,n){var r=e.total||1,i=t.rowHeight*n,o=e.start||.001,a={cssClass:l.requestTypeToCssClass(e.responseDetails.requestType),height:t.rowHeight,hideOverlay:t.showAlignmentHelpers?c.onMouseLeavePartial:void 0,label:e.url+" ("+Math.round(e.start)+"ms - "+Math.round(e.end)+"ms | total: "+Math.round(e.total)+"ms)",showOverlay:t.showAlignmentHelpers?c.onMouseEnterPartial:void 0,unit:w.unit,width:r,x:o,y:i},u=function(){w.overlayManager.toggleOverlay(n,i+t.rowHeight,450,e,_)},p=d.createRow(w,n,M,P,a,e,u);_.push(p),y.appendChild(p),y.appendChild(s.newG("row-overlay-holder"))}var u,c,m=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)}),g=s.newG("overlays"),y=s.newG("rows-holder"),w=o(e,t,m),b=i(e.marks,w.diagramHeight),C=s.newSvg("water-fall-chart",{height:b}),x=s.newSvg("scale-and-marks-holder",{width:100-t.leftColumnWith+"%",x:t.leftColumnWith+"%"});if(t.showAlignmentHelpers){u=s.newG("hover-overlays");var q=h.createAlignmentLines(w.diagramHeight);u.appendChild(q.startline),u.appendChild(q.endline),c=h.makeHoverEvtListeners(q)}x.appendChild(f.createTimeScale(w,e.durationMs)),x.appendChild(v.createMarks(w,e.marks));var T=m[0].responseDetails.icon.width,S=0;if(t.showMimeTypeIcon&&(S+=1),t.showIndicatorIcons){var E=m.map(function(e){return e.responseDetails.indicators.length>0?1:0});S+=Math.max.apply(null,E)}var M=S*T,L=r(m.length),P=s.getNodeTextWidth(s.newTextEl(""+L),!0),_=[];return w.pubSub.subscribeToOverlayChanges(function(){var e=n();C.classList.toggle("closing",e<C.clientHeight),C.style.height=e+"px"}),m.forEach(a),t.showAlignmentHelpers&&x.appendChild(u),C.appendChild(x),C.appendChild(y),C.appendChild(g),C.appendChild(p.makeTooltip(t)),C}Object.defineProperty(n,"__esModule",{value:!0});var s=e("../helpers/svg"),l=e("../transformers/styling-converters"),u=e("./details-overlay/overlay-manager"),c=e("./details-overlay/pub-sub"),d=e("./row/svg-row"),p=e("./row/svg-tooltip"),h=e("./sub-components/svg-alignment-helper"),f=e("./sub-components/svg-general-components"),v=e("./sub-components/svg-marks");n.createWaterfallSvg=a},{"../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 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 c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n||e)},c,c.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){var n=e.classList;return n?t.split(" ").forEach(function(e){return n.add(e)}):e.setAttribute("class",e.getAttribute("class")+" "+t),e}function i(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}function o(e,t){if("function"==typeof e.closest)return e.closest("."+t);for(;e;){if(e.classList.contains(t))return e;e=e.parentElement}}function a(e){for(;e.hasChildNodes();)e.removeChild(e.lastChild);return e}function s(e){if(e&&0!==e.length)return e.item(e.length-1)}function l(e,t){Array.prototype.forEach.call(e,t)}function u(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 c(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(null,t,n)}function d(e,t){Object.keys(t).forEach(function(n){u(e,n,t[n].toString())})}function p(e,t){Object.keys(t).forEach(function(n){c(e,n,t[n].toString())})}function h(){var e=document.createElement("html");return e.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/xmlns/"),e}function f(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"),d(n,e),n.innerHTML=t,n}Object.defineProperty(n,"__esModule",{value:!0}),n.addClass=r,n.removeClass=i,n.getParentByClassName=o,n.removeChildren=a,n.getLastItemOfNodeList=s,n.forEachNodeList=l,n.safeSetStyle=u,n.safeSetAttribute=c,n.safeSetStyles=d,n.safeSetAttributes=p,n.makeHtmlEl=h,n.makeBodyEl=f},{}],2:[function(e,t,n){"use strict";function r(e,t){var n=a(t.toLowerCase());return e.some(n)}function i(e,t){var n,r=a(t.toLowerCase());return n=s?e.find(r):e.map(r).pop(),n?n.value:void 0}function o(e,t){var n=a(t.toLowerCase());return e.filter(n).map(function(e){return[t,e.value]})}Object.defineProperty(n,"__esModule",{value:!0});var a=function(e){return function(t){return t.name.toLowerCase()===e}};n.hasHeader=r;var s=!!Array.prototype.find;n.getHeader=i,n.getHeaders=o},{}],3:[function(e,t,n){"use strict";function r(e,t,n,r){if(void 0===r&&(r=1),void 0===C){C=x.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 q(e,t,n,"icon-no-tls",r,C.cloneNode(!1))}function i(e,t,n,r){if(void 0===r&&(r=1),void 0===T){T=x.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 q(e,t,n,"icon-redirect",r,T.cloneNode(!1))}function o(e,t,n,r){return void 0===r&&(r=1),f(e,t,n,r)}function a(e,t,n,r){return void 0===r&&(r=1),f(e,t,n,r)}function s(e,t,n,r){if(void 0===r&&(r=1),void 0===S){S=x.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 q(e,t,n,"icon-plain",r,S.cloneNode(!1))}function l(e,t,n,r){if(void 0===r&&(r=1),void 0===E){E=x.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 q(e,t,n,"icon-other",r,E.cloneNode(!1))}function u(e,t,n,r){if(void 0===r&&(r=1),void 0===M){M=x.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 q(e,t,n,"icon-js",r,M.cloneNode(!1))}function c(e,t,n,r){if(void 0===r&&(r=1),void 0===L){L=x.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 q(e,t,n,"icon-image",r,L.cloneNode(!1))}function d(e,t,n,r){return void 0===r&&(r=1),c(e,t,n,r)}function p(e,t,n,r){if(void 0===r&&(r=1),void 0===P){P=x.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 q(e,t,n,"icon-html",r,P.cloneNode(!1))}function h(e,t,n,r){if(void 0===r&&(r=1),void 0===_){_=x.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 q(e,t,n,"icon-css",r,_.cloneNode(!1))}function f(e,t,n,r){if(void 0===r&&(r=1),void 0===O){O=x.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 q(e,t,n,"icon-warning",r,O.cloneNode(!1))}function v(e,t,n,r){if(void 0===r&&(r=1),void 0===N){N=x.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 q(e,t,n,"icon-no-gzip",r,N.cloneNode(!1))}function m(e,t,n,r){if(void 0===r&&(r=1),void 0===I){I=x.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 q(e,t,n,"icon-font",r,I.cloneNode(!1))}function g(e,t,n,r){if(void 0===r&&(r=1),void 0===H){H=x.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 q(e,t,n,"icon-flash",r,H.cloneNode(!1))}function y(e,t,n,r){if(void 0===r&&(r=1),void 0===A){A=x.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 q(e,t,n,"icon-video",r,A.cloneNode(!1))}function w(e,t,n,r){if(void 0===r&&(r=1),void 0===k){k=x.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 q(e,t,n,"icon-audio",r,k.cloneNode(!1))}function b(e,t,n,r){if(void 0===r&&(r=1),void 0===z){z=x.newPath("M14.668 9q0 .416-.285.7L9.37 14.716Q9.067 15 8.667 15q-.393 0-.694-.285l-.577\n -.578q-.293-.292-.293-.7 0-.41.293-.7l2.256-2.258H4.23q-.4 0-.65-.29t-.25-.698v-.986q0-.408.25\n -.697.25-.29.65-.29h5.423L7.397 5.257q-.293-.278-.293-.693 0-.416.293-.694l.577-.576Q8.267 3 8.668\n 3q.408 0 .7.293l5.015 5.014q.285.27.285.693z")}return q(e,t,n,"icon-push",r,z.cloneNode(!1))}Object.defineProperty(n,"__esModule",{value:!0});var C,x=e("./svg"),q=function(e,t,n,r,i,o){var a=x.newSvg("",{x:e,y:t}),s=x.newG("icon "+r,{transform:"scale("+i+")"});return s.appendChild(o),s.appendChild(x.newTitle(n)),a.appendChild(s),a};n.noTls=r;var T;n.err3xx=i,n.err4xx=o,n.err5xx=a;var S;n.plain=s;var E;n.other=l;var M;n.javascript=u;var L;n.image=c,n.svg=d;var P;n.html=p;var _;n.css=h;var O;n.warning=f;var N;n.error=v;var I;n.font=m;var H;n.flash=g;var A;n.video=y;var k;n.audio=w;var z;n.push=b},{"./svg":6}],4:[function(e,t,n){"use strict";function r(e){var t=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),n=e.match(t);return{authority:n[4],fragment:n[9],path:n[5],query:n[7],scheme:n[2]}}function i(e,t){return e.some(function(e){return e===t})}function o(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++}}function a(e,t){var n=o(e,t);if(void 0!==n)return e[n]}function s(e,t){if(e.length<t)return e.replace(/https?:\/\//,"");var n=r(e);if((n.authority+n.path).length<t)return n.authority+n.path;var i=Math.floor(t/2)-3,o=Math.floor(t/2)-5,a=n.path.split("/");return n.authority.length>i?n.authority.substr(0,i)+"..."+a[a.length-1].substr(-o):n.authority+"..."+a[a.length-1].substr(-o)}function l(e,t){return void 0===t&&(t=2),Math.round(e*Math.pow(10,t))/Math.pow(10,t)}function u(e,t,n){return e>=t&&e<=n}function c(e){return e.toLowerCase().replace(f,"")}function d(e,t){return e+(t>1?"s":"")}function p(e){return 9===e.which&&e.shiftKey}function h(e){return 9===e.which&&!e.shiftKey}Object.defineProperty(n,"__esModule",{value:!0}),n.contains=i,n.findIndex=o,n.find=a,n.resourceUrlFormatter=s,n.roundNumber=l,n.isInStatusCodeRange=u;var f=/[^a-z-]/g;n.toCssClass=c,n.pluralize=d,n.isTabUp=p,n.isTabDown=h},{}],5:[function(e,t,n){"use strict";function r(e,t,n){if(void 0===t&&(t=i),void 0===n&&(n=o),void 0!==e){var r=t(e);if(void 0!==r)return n(r)}}function i(e){return e}function o(e){if("function"==typeof e.toString)return e.toString();throw TypeError("Can't convert type ${typeof source} to string")}function a(e){return e.trim().length>0?e:void 0}function s(e){var t=new Date(e);if(!isNaN(t.getTime()))return t}function l(e){return c(e,function(e){return e>=0})}function u(e){return c(e,function(e){return e>0})}function c(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)}function d(e){return b.roundNumber(e,3)+" ms"}function p(e){var t=b.roundNumber(e,3)+" s";return e>q?t+" (~"+b.roundNumber(e/q,0)+" days)":e>x?t+" (~"+b.roundNumber(e/x,0)+" hours)":e>C?t+" (~"+b.roundNumber(e/C,0)+" minutes)":t}function h(e){return e.toUTCString()+"</br>(local time: "+e.toLocaleString()+")"}function f(e){var t=e+" bytes";return e>=S?t+" (~"+b.roundNumber(e/S,1)+" MB)":e>=T?t+" (~"+b.roundNumber(e/T,0)+" kB)":t}function v(e){if(void 0===e&&(e=""),"string"!=typeof e){if("function"!=typeof e.toString)throw TypeError("Invalid parameter");e=e.toString()}return e.replace(M,function(e){return E[e]})}function m(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),"")}function g(e){return e.toString().replace(P,"")}function y(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function w(e){var t=function(t){if(e[t]=y(e[t]),void 0===e[t])throw TypeError('option "'+t+'" needs to be a number')},n=function(t){e[t]=!!e[t]};return t("leftColumnWith"),t("rowHeight"),t("selectedPage"),n("showAlignmentHelpers"),n("showIndicatorIcons"),n("showMimeTypeIcon"),e}Object.defineProperty(n,"__esModule",{value:!0});var b=e("./misc");n.parseAndFormat=r,n.parseNonEmpty=a,n.parseDate=s,n.parseNonNegative=l,n.parsePositive=u,n.formatMilliseconds=d;var C=60,x=60*C,q=24*x;n.formatSeconds=p,n.formatDateLocalized=h;var T=1024,S=1024*T;n.formatBytes=f;var E={'"':"&quot","&":"&amp","'":"&#039","<":"&lt",">":"&gt"},M=new RegExp(Object.keys(E).join("|"),"g");n.escapeHtml=v;var L=new RegExp("[^-A-Za-z0-9+&@#/%?=~_|!:,.;()]","g");n.sanitizeUrlForLink=m;var P=new RegExp("[^a-zA-Z0-9]","g");n.sanitizeAlphaNumeric=g,n.toInt=y,n.validateOptions=w},{"./misc":4}],6:[function(e,t,n){"use strict";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,c=void 0===u?"":u,d=document.createElementNS(m,e);return c&&v.addClass(d,c),l&&(d.textContent=l),v.safeSetStyles(d,a),v.safeSetAttributes(d,i),d}function i(e,t,n){return void 0===n&&(n={}),r("svg",{className:e,attributes:t,css:n})}function o(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),r("g",{className:e,attributes:t,css:n})}function a(e){return r("clipPath",{attributes:{id:e}})}function s(e,t,n){return void 0===t&&(t=""),void 0===n&&(n={}),r("foreignObject",{attributes:e,className:t,css:n})}function l(e){return r("a",{className:e})}function u(e,t,n){return void 0===t&&(t=""),void 0===n&&(n={}),r("rect",{attributes:e,className:t,css:n})}function c(e,t){return void 0===t&&(t=""),r("line",{className:t,attributes:e})}function d(e){var t=document.createElementNS(m,"title");return t.setAttribute("text",e),t}function p(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),r("text",{text:e,attributes:t,css:n})}function h(e){var t=document.createElementNS(m,"path");return t.setAttribute("d",e),t}function f(e,t){if(void 0===t&&(t=!1),0===e.textContent.length)return 0;var n,r,i=g();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}Object.defineProperty(n,"__esModule",{value:!0});var v=e("./dom"),m="http://www.w3.org/2000/svg";n.newSvg=i,n.newG=o,n.newClipPath=a,n.newForeignObject=s,n.newA=l,n.newRect=u,n.newLine=c,n.newTitle=d,n.newTextEl=p,n.newPath=h;var g=function(){var e,t;return function(){return void 0===e&&(e=i("water-fall-chart temp",{className:"water-fall-chart temp",width:"9999px"},{left:"0px",position:"absolute",top:"0px",visibility:"hidden","z-index":"99999"})),void 0===e.parentElement&&window.document.body.appendChild(e),clearTimeout(t),t=setTimeout(function(){e.parentNode.removeChild(e)},500),e}}();n.getNodeTextWidth=f},{"./dom":1}],7:[function(e,t,n){"use strict";function r(){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}Object.defineProperty(n,"__esModule",{value:!0}),n.makeLegend=r},{}],8:[function(e,t,n){"use strict";function r(){return l.makeLegend()}function i(e,t){void 0===t&&(t={});var n=s.validateOptions(a({},p,t)),r=new u.default(e,n.selectedPage),i=d.createWaterfallSvg(r.getSelectedPage(),n);return r.onPageUpdate(function(e,t){var r=i.parentElement,o=d.createWaterfallSvg(t,n);r.replaceChild(o,i),i=o}),n.pageSelector&&r.initPagingSelectBox(n.pageSelector),n.legendHolder&&(n.legendHolder.innerHTML="",n.legendHolder.appendChild(l.makeLegend())),i}function o(e,t){void 0===t&&(t={});var n=a({},h,t),r=c.transformDoc(e,n);return"function"==typeof t.onParsed&&t.onParsed(r),i(r,t)}var a=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e};Object.defineProperty(n,"__esModule",{value:!0});var s=e("./helpers/parse"),l=e("./legend/legend"),u=e("./paging/paging"),c=e("./transformers/har"),d=e("./waterfall/svg-chart"),p={leftColumnWith:25,legendHolder:void 0,onParsed:void 0,pageSelector:void 0,rowHeight:23,selectedPage:0,showAlignmentHelpers:!0,showIndicatorIcons:!0,showMimeTypeIcon:!0},h={showUserTiming:!1,showUserTimingEndMarker:!1};n.makeLegend=r,n.fromHar=o},{"./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";function r(e,t,n){return[["Request Number","#"+n],["Started",new Date(e.startedDateTime).toLocaleString()+(t>0?" ("+u.formatMilliseconds(t)+" after page request started)":"")],["Duration",u.formatMilliseconds(e.time)],["Error/Status Code",e.response.status+" "+e.response.statusText],["Server IPAddress",e.serverIPAddress],["Connection",e.connection],["Browser Priority",e._priority||e._initialPriority],["Was pushed",u.parseAndFormat(e._was_pushed,u.parsePositive,function(){return"yes"})],["Initiator (Loaded by)",e._initiator],["Initiator Line",e._initiator_line],["Host",l.getHeader(e.request.headers,"Host")],["IP",e._ip_addr],["Client Port",u.parseAndFormat(e._client_port,u.parsePositive)],["Expires",e._expires],["Cache Time",u.parseAndFormat(e._cache_time,u.parsePositive,u.formatSeconds)],["CDN Provider",e._cdn_provider],d("ObjectSize",e._objectSize),d("Bytes In (downloaded)",e._bytesIn),d("Bytes Out (uploaded)",e._bytesOut),d("JPEG Scan Count",e._jpeg_scan_count),d("Gzip Total",e._gzip_total),d("Gzip Save",e._gzip_save),d("Minify Total",e._minify_total),d("Minify Save",e._minify_save),d("Image Total",e._image_total),d("Image Save",e._image_save)].filter(h)}function i(e){var t=e.request,n=function(e){return l.getHeaders(t.headers,e)};return c.flattenKvTuple([["Method",t.method],["HTTP Version",t.httpVersion],d("Bytes Out (uploaded)",e._bytesOut),d("Headers Size",t.headersSize),d("Body Size",t.bodySize),["Comment",u.parseAndFormat(t.comment,u.parseNonEmpty)],n("User-Agent"),n("Host"),n("Connection"),n("Accept"),n("Accept-Encoding"),n("Expect"),n("Forwarded"),n("If-Modified-Since"),n("If-Range"),n("If-Unmodified-Since"),p("Querystring parameters count",t.queryString.length),p("Cookies count",t.cookies.length)]).filter(h)}function o(e){var t,n=e.response,r=n.content,i=n.headers,o=function(e,t){return void 0===t&&(t=e),l.getHeaders(i,t)},a=function(e){var t=l.getHeader(i,e);return[e,u.parseAndFormat(t,u.parseDate,u.formatDateLocalized)]},s=l.getHeader(i,"Content-Length");-1!==r.size&&s!==r.size.toString()&&(t=r.size);var p=l.getHeader(i,"Content-Type");return e._contentType&&e._contentType!==p&&(p=p+" | "+e._contentType),c.flattenKvTuple([["Status",n.status+" "+n.statusText],["HTTP Version",n.httpVersion],d("Bytes In (downloaded)",e._bytesIn),d("Headers Size",n.headersSize),d("Body Size",n.bodySize),["Content-Type",p],o("Cache-Control"),o("Content-Encoding"),a("Expires"),a("Last-Modified"),o("Pragma"),d("Content-Length",s),d("Content Size",t),d("Content Compression",r.compression),o("Connection"),o("ETag"),o("Accept-Patch"),["Age",u.parseAndFormat(l.getHeader(i,"Age"),u.parseNonNegative,u.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",u.parseAndFormat(n.redirectURL,u.parseNonEmpty)],["Comment",u.parseAndFormat(n.comment,u.parseNonEmpty)]]).filter(h)}function a(e,t,n){var r=e.timings,i=function(e){return u.parseAndFormat(e,u.parseNonNegative,u.formatMilliseconds)},o="number"!=typeof t||"number"!=typeof n?void 0:n-t,a=i(r.connect);return r.ssl>0&&(a=a+" (without TLS: "+i(r.connect-r.ssl)+")"),[["Total",u.formatMilliseconds(o)],["Blocked",i(r.blocked)],["DNS",i(r.dns)],["Connect",a],["SSL (TLS)",i(r.ssl)],["Send",u.formatMilliseconds(r.send)],["Wait",u.formatMilliseconds(r.wait)],["Receive",u.formatMilliseconds(r.receive)]]}function s(e,t,n,s){var l=e.request.headers,u=e.response.headers,c=function(e){return[e.name,e.value]};return{general:r(e,n,t),request:i(e),requestHeaders:l.map(c),response:o(e),responseHeaders:u.map(c),timings:a(e,n,s)}}Object.defineProperty(n,"__esModule",{value:!0});var l=e("../helpers/har"),u=e("../helpers/parse"),c=e("./helpers"),d=function(e,t){return[e,u.parseAndFormat(t,u.parsePositive,u.formatBytes)]},p=function(e,t){return[e,u.parseAndFormat(t,u.parsePositive)]},h=function(e){return e.length>1&&void 0!==e[1]&&""!==e[1]};n.getKeys=s},{"../helpers/har":2,"../helpers/parse":5,"./helpers":14}],11:[function(e,t,n){"use strict";function r(e,t){if(e.response.bodySize<1e3)return!1;if(d.contains(["html","css","javascript","svg","plain"],t))return!0;var n=e.response.content.mimeType,r=["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"];return!(!d.contains(["text"],n.split("/")[0])&&!d.contains(r,n.split(";")[0]))}function i(e){if("get"!==e.request.method.toLowerCase())return!1;if(204===e.response.status||!d.isInStatusCodeRange(e.response.status,200,299))return!1;var t=e.response.headers;return!(c.hasHeader(t,"Cache-Control")||c.hasHeader(t,"Expires"))}function o(e,t){var n=e.response.headers;return!c.hasHeader(n,"Content-Encoding")&&r(e,t)}function a(e){return 0===e.request.url.indexOf("https://")}function s(e){return 1===function(e){return"string"==typeof e?parseInt(e,10):e}(e._was_pushed)}function l(e){var t=e.filter(function(e){return!e.response.redirectURL})[0];return void 0===t?e.length>0&&a(e[0]):a(t)}function u(e,t,n){var r=[];return s(e)&&r.push({description:"Response was pushed by the server using HTTP2 push.",icon:"push",id:"push",title:"Response was pushed by the server",type:"info"}),t&&!a(e)&&r.push({description:"Insecure request, it should use HTTPS.",id:"noTls",title:"Insecure Connection",type:"error"}),i(e)&&r.push({description:"The response is not allow to be cached on the client. Consider setting 'Cache-Control' headers.",id:"noCache",title:"Response not cached",type:"error"}),o(e,n)&&r.push({description:"The response is not compressed. Consider enabling HTTP compression on your server.",id:"noGzip",title:"no gzip",type:"error"}),!e.response.content.mimeType&&d.isInStatusCodeRange(e.response.status,200,299)&&204!==e.response.status&&r.push({description:"Response doesn't contain a 'Content-Type' header.",id:"warning",title:"No MIME Type defined",type:"warning"}),r}Object.defineProperty(n,"__esModule",{value:!0});var c=e("../helpers/har"),d=e("../helpers/misc");n.documentIsSecure=l,n.collectIndicators=u},{"../helpers/har":2,"../helpers/misc":4}],12:[function(e,t,n){"use strict";function r(e,t,n,r,o,d){var p=[],v=h.getKeys(e,t,r,o);return p.push(a(v.general,d)),p.push(s(v.request,v.requestHeaders)),p.push(l(v.response,v.responseHeaders)),p.push(i("Timings",f.makeDefinitionList(v.timings,!0))),p.push(u(e)),"image"===n&&p.push(c(e)),p.filter(function(e){return void 0!==e})}function i(e,t,n){return void 0===n&&(n=""),{content:t,tabClass:n,title:e}}function o(e,t,n){return void 0===n&&(n=""),{renderContent:t,tabClass:n,title:e}}function a(e,t){var n=f.makeDefinitionList(e);if(0===t.length)return i("General",n);var r="<h2>General</h2>\n<dl>"+n+"<dl>",o="",a=t.filter(function(e){return"error"===e.type}).map(function(e){return[e.title,e.description]}),s=t.filter(function(e){return"warning"===e.type}).map(function(e){return[e.title,e.description]}),l=t.filter(function(e){return"error"!==e.type&&"warning"!==e.type}).map(function(e){return[e.title,e.description]});a.length>0&&(o+='<h2 class="no-boder">'+d.pluralize("Error",a.length)+"</h2>\n <dl>"+f.makeDefinitionList(a)+"</dl>"),s.length>0&&(o+='<h2 class="no-boder">'+d.pluralize("Warning",s.length)+"</h2>\n <dl>"+f.makeDefinitionList(s)+"</dl>"),l.length>0&&(o+='<h2 class="no-boder">Info</h2>\n <dl>'+f.makeDefinitionList(l)+"</dl>"),i("General",o+r)}function s(e,t){return i("Request","<dl>\n "+f.makeDefinitionList(e)+"\n </dl>\n <h2>All Request Headers</h2>\n <dl>\n "+f.makeDefinitionList(t)+"\n </dl>")}function l(e,t){return i("Response","<dl>\n "+f.makeDefinitionList(e)+"\n </dl>\n <h2>All Response Headers</h2>\n <dl>\n "+f.makeDefinitionList(t)+"\n </dl>")}function u(e){return o("Raw Data",function(){return"<pre><code>"+p.escapeHtml(JSON.stringify(e,null,2))+"</code></pre>"},"raw-data")}function c(e){return o("Preview",function(t){return'<img class="preview" style="max-height:'+(t-100)+'px"\n data-src="'+p.sanitizeUrlForLink(e.request.url)+'" />'})}Object.defineProperty(n,"__esModule",{value:!0});var d=e("../helpers/misc"),p=e("../helpers/parse"),h=e("./extract-details-keys"),f=e("./helpers");n.makeTabs=r},{"../helpers/misc":4,"../helpers/parse":5,"./extract-details-keys":10,"./helpers":14}],13:[function(e,t,n){"use strict";function r(e,t){var n=this,r=void 0!==e.log?e.log:e;return{pages:d(r).map(function(e,i){return n.transformPage(r,i,t)})}}function i(e,t,n,r){n=Math.round(n);var i=Math.round(s.toInt(e._all_end)||n+e.time),o=c.mimeToRequestType(e.response.content.mimeType),a=l.collectIndicators(e,r,o),d=m(e,a);return c.createWaterfallEntry(e.request.url,n,i,f(n,e),d,u.makeTabs(e,t+1,o,n,i,a))}function o(e,t,n){void 0===t&&(t=0);var r=void 0!==e.log?e.log:e,o=d(r),a=o[t],s=new Date(a.startedDateTime).getTime(),u=a.pageTimings,c=0,h=l.documentIsSecure(r.entries),f=r.entries.filter(function(e){return 0!==e.request.url.indexOf("data:")&&0!==e.request.url.indexOf("javascript:")&&(1===o.length&&""===a.id||e.pageref===a.id)}).map(function(e,t){var n=new Date(e.startedDateTime).getTime()-s;return c=Math.max(c,n+e.time),i(e,t,n,h)}),v=p(u,a,n);return v.forEach(function(e){e.startTime>c&&(c=e.startTime)}),c+=100,{docIsTLS:h,durationMs:c,entries:f,marks:v,title:a.title}}Object.defineProperty(n,"__esModule",{value:!0});var a=e("../helpers/misc"),s=e("../helpers/parse"),l=e("./har-heuristics"),u=e("./har-tabs"),c=e("./helpers");n.transformDoc=r;var d=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"}]};n.transformPage=o;var p=function(e,t,n){var r=function(e,t){return e.startTime-t.startTime},i=Object.keys(e).filter(function(t){return"number"==typeof e[t]&&e[t]>=0}).map(function(t){return{name:s.escapeHtml(t.replace(/^[_]/,""))+" ("+a.roundNumber(e[t],0)+" ms)",startTime:e[t]}});return n.showUserTiming?h(t,n).concat(i).sort(r):i.sort(r)},h=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 i=t.showUserTiming;r=function(e){return n(e)&&i.indexOf(e.replace(/^_userTime\./,""))>=0}}var o=/^_userTime\.((?:startTimer-)?(.+))$/,a=function(n){var r,i,a;return l=o.exec(n),i=l[1],r=l[2],i=s.escapeHtml(i),r=s.escapeHtml(r),i!==r&&e["_userTime.endTimer-"+r]?(a=e["_userTime.endTimer-"+r]-e[n],{duration:a,name:(t.showUserTimingEndMarker?i:r)+" ("+e[n]+" - "+(e[n]+a)+" ms)",startTime:e[n]}):{name:i,startTime:e[n]};var l};return Object.keys(e).filter(r).map(a)},f=function(e,t){var n=t.timings;return["blocked","dns","connect","send","wait","receive"].reduce(function(r,i){var o=v(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,s=parseInt(t._ssl_end,10)||o.start+n.ssl,l=parseInt(t._ssl_start,10)?o.start:s;return r.concat([c.createWaterfallEntryTiming("ssl",Math.round(a),Math.round(s))]).concat([c.createWaterfallEntryTiming(i,Math.round(l),Math.round(o.end))])}return r.concat([c.createWaterfallEntryTiming(i,Math.round(o.start),Math.round(o.end))])},[])},v=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)}},m=function(e,t){var n=c.mimeToRequestType(e.response.content.mimeType),r=s.toInt(e.response.status);return{icon:c.makeMimeTypeIcon(r,e.response.statusText,n,e.response.redirectURL),indicators:t,requestType:n,rowClass:c.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";function r(e,t){void 0===t&&(t=!1);var n=function(e){return t?'class="'+(u.toCssClass(e)||"no-colour")+'"':""};return e.filter(function(e){return void 0!==e[1]}).map(function(e){return"\n <dt "+n(e[0])+">"+c.escapeHtml(e[0])+"</dt>\n <dd>"+c.escapeHtml(e[1])+"</dd>\n "}).join("")}function i(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"}}function o(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?void 0:n-t,url:e}}function a(e,t,n){return{end:n,start:t,total:"number"!=typeof t||"number"!=typeof n?void 0:n-t,type:c.sanitizeAlphaNumeric(e)}}function s(e){var t=["row-item"];return u.isInStatusCodeRange(e,500,599)?t.push("status5xx"):u.isInStatusCodeRange(e,400,499)?t.push("status4xx"):304!==e&&u.isInStatusCodeRange(e,300,399)&&t.push("status3xx"),t.join(" ")}function l(e,t,n,r){if(void 0===r&&(r=""),r){var i=encodeURI(r.split("?")[0]||"");return d.makeIcon("err3xx",e+" response status: Redirect to "+c.escapeHtml(i)+"...")}return u.isInStatusCodeRange(e,400,499)?d.makeIcon("err4xx",e+" response status: "+c.escapeHtml(t)):u.isInStatusCodeRange(e,500,599)?d.makeIcon("err5xx",e+" response status: "+c.escapeHtml(t)):204===e?d.makeIcon("plain","No content"):d.makeIcon(c.sanitizeAlphaNumeric(n),c.escapeHtml(n))}Object.defineProperty(n,"__esModule",{value:!0});var u=e("../helpers/misc"),c=e("../helpers/parse"),d=e("../waterfall/row/svg-indicators");n.makeDefinitionList=r,n.mimeToRequestType=i,n.createWaterfallEntry=o,n.createWaterfallEntryTiming=a,n.makeRowCssClasses=s,n.makeMimeTypeIcon=l,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";function r(e){return"block-"+e}function i(e){return"block-"+e}Object.defineProperty(n,"__esModule",{value:!0}),n.requestTypeToCssClass=r,n.timingTypeToCssClass=i},{}],16:[function(e,t,n){"use strict";function r(e,t,n){var r=i.makeHtmlEl(),a=i.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="'+o.sanitizeUrlForLink(n.url)+'">\n '+o.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 ",r.appendChild(a),r}Object.defineProperty(n,"__esModule",{value:!0});var i=e("../../helpers/dom"),o=e("../../helpers/parse");n.createDetailsBody=r},{"../../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)},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){var r=this;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:r.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},u=function(n,i){var a=i.defaultY+s,u=o.createRowInfoOverlay(i,a,t),c=u.querySelector("img.preview");c&&!c.src&&c.setAttribute("src",c.attributes.getNamedItem("data-src").value),u.querySelector("a").addEventListener("keydown",e.firstElKeypress),r.getLastItemOfNodeList(u.querySelectorAll("button")).addEventListener("keydown",e.lastElKeypress),n.appendChild(u),l(i,a,u.getBoundingClientRect().height)},c=function(t,n){var o=i.find(a.openOverlays,function(e){return e.index===n}),c=t.nextElementSibling.firstElementChild;if(a.realignRow(t,s),void 0!==o){if(c){var d=c.querySelector(".info-overlay-bg"),p=c.querySelector("foreignObject"),h=c.querySelector(".info-overlay-close-btn rect"),f=c.querySelector(".info-overlay-close-btn text");return l(o,o.defaultY+s,o.height),d.setAttribute("y",o.actualY.toString()),p.setAttribute("y",o.actualY.toString()),f.setAttribute("y",o.actualY.toString()),void h.setAttribute("y",o.actualY.toString())}u(t.nextElementSibling,o)}else c&&(t.nextElementSibling.querySelector("a").removeEventListener("keydown",e.firstElKeypress),r.getLastItemOfNodeList(t.nextElementSibling.querySelectorAll("button")).removeEventListener("keydown",e.lastElKeypress),r.removeChildren(t.nextElementSibling))};n.forEach(c)},e}();a.showFullName=function(e){e.getElementsByClassName("row-fixed").item(0).dispatchEvent(new MouseEvent("mouseenter"))},a.firstElKeypress=function(e){if(i.isTabUp(e)){var t=r.getParentByClassName(e.target,"row-overlay-holder");t&&t.previousElementSibling&&a.showFullName(t.previousElementSibling)}},a.lastElKeypress=function(e){if(i.isTabDown(e)){var t=r.getParentByClassName(e.target,"row-overlay-holder");t&&t.nextElementSibling&&a.showFullName(t.nextElementSibling)}},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";function r(e){var t=s.newA("info-overlay-close-btn");return t.appendChild(s.newRect({height:23,width:23,x:"100%",y:e})),t.appendChild(s.newTextEl("✕",{dx:7,dy:16,x:"100%",y:e})),t.appendChild(s.newTitle("Close Overlay")),t}function i(e,t){var n=s.newG("info-overlay-holder"),r=s.newRect({height:t,rx:2,ry:2,width:"100%",x:"0",y:e},"info-overlay-bg");return n.appendChild(r),n}function o(e,t,n){var o=e.index+1,u=i(t,n),c=s.newForeignObject({height:n,width:"100%",x:"0",y:t}),d=r(t);d.addEventListener("click",function(){return e.onClose(e.index)});var p=l.createDetailsBody(o,n,e.entry),h=p.getElementsByClassName("tab-button"),f=p.getElementsByClassName("tab"),v=function(t){e.openTabIndex=t,a.forEachNodeList(f,function(e,n){e.style.display=t===n?"block":"none",h.item(n).classList.toggle("active",t===n)})};return a.forEachNodeList(h,function(e,t){e.addEventListener("click",function(){return v(t)})}),v(e.openTabIndex),c.appendChild(p),u.appendChild(c),u.appendChild(d),u}Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../helpers/dom"),s=e("../../helpers/svg"),l=e("./html-details-body");n.createRowInfoOverlay=o},{"../../helpers/dom":1,"../../helpers/svg":6,"./html-details-body":16}],20:[function(e,t,n){"use strict";function r(e,t){return{type:e,title:t,width:20}}function i(e){var t=e.responseDetails.indicators;if(0===t.length)return[];var n=[],i="",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(o.pluralize("Error",a.length)+":\n "+a.map(function(e){return e.title}).join("\n")),i="error"),s.length>0&&(n.push(o.pluralize("Warning",s.length)+":\n"+s.map(function(e){return e.title}).join("\n")),i=i||"warning"),l.length>0&&(n.push("Info:\n"+l.map(function(e){return e.title}).join("\n")),i=i||1!==l.length?i||"info":l[0].icon||l[0].type),[r(i,n.join("\n"))]}Object.defineProperty(n,"__esModule",{value:!0});var o=e("../../helpers/misc");n.makeIcon=r,n.getIndicatorIcons=i},{"../../helpers/misc":4}],21:[function(e,t,n){"use strict";function r(e,t){var n=g.newG(""),r=e.height-1,i=m.roundNumber(e.x/e.unit)+"%",o=g.newRect({height:r,width:m.roundNumber(e.width/e.unit)+"%",x:i,y:e.y},t);if(n.appendChild(o),e.label){var a,s;o.addEventListener("mouseenter",function(){s||(s=v.getParentByClassName(o,"water-fall-chart").querySelector(".tooltip")),a=setTimeout(function(){a=null,w.onHoverInShowTooltip(o,e,s)},100)}),o.addEventListener("mouseleave",function(){a?clearTimeout(a):w.onHoverOutShowTooltip(o)})}return e.showOverlay&&e.hideOverlay&&(o.addEventListener("mouseenter",e.showOverlay(e)),o.addEventListener("mouseleave",e.hideOverlay(e))),n}function i(e,t){return{cssClass:y.timingTypeToCssClass(e.type),height:t.height-6,hideOverlay:t.hideOverlay,label:"<strong>"+e.type+"</strong><br/>"+Math.round(e.start)+"ms - "+Math.round(e.end)+"ms<br/>total: "+Math.round(e.total)+"ms",showOverlay:t.showOverlay,unit:t.unit,width:e.total,x:e.start||.001,y:t.y}}function o(e,t,n){var r=e.y+e.height/1.5,i=Math.round(t)+" ms",o=(e.x+e.width)/e.unit+1,a=g.newTextEl(i,{x:m.roundNumber(o)+"%",y:r});return o+8*i.length/500*100>100&&(o=n/e.unit-1,a=g.newTextEl(i,{x:m.roundNumber(o)+"%",y:r},{textAnchor:"end"})),a}function a(e,t,n){var a=r(e,"time-block "+e.cssClass),s=g.newG("rect-holder"),l=e.x;return s.appendChild(a),t&&t.length>0&&(t.forEach(function(t){if(t.total>0&&"number"==typeof t.start){var n=i(t,e),o=r(n,"segment "+n.cssClass);l=Math.min(l,n.x),s.appendChild(o)}}),s.appendChild(o(e,n,l))),s}function s(e,t,n,r,i){return t+=Math.round(r/2)+5,e+=i,g.newTextEl(n,{x:e,y:t},{"text-anchor":"end"})}function l(e,t,n,r){var i=c(e,t,n,r);return i.style.clipPath="url(#titleClipPath)",i}function u(e,t,n,r){var i=c(e,t,n,r),o=g.newG("full-label",{},{clipPath:"url(#titleFullClipPath)"});return o.appendChild(g.newRect({height:r-4,rx:5,ry:5,width:500,x:e-3,y:t+3},"label-full-bg")),o.appendChild(i),o}function c(e,t,n,r){var i=m.resourceUrlFormatter(n,125);t=t+Math.round(r/2)+5;var o=g.newTextEl(i,{x:e,y:t});return o.appendChild(g.newTitle(n)),o.style.opacity=n.match(/js.map$/)?"0.5":"1",o}function d(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||(b?a=window.requestAnimationFrame(e):e())}),e.addEventListener("mouseleave",function(){n.style.display="block",r.style.display="none",r.style.visibility="hidden",b&&void 0!==a&&cancelAnimationFrame(a)})}function p(e,t,n){var r=n?"even":"odd";return g.newRect({height:t,width:"100%",x:0,y:e},r)}function h(e,t){var n=g.newG("row row-fixed");return n.appendChild(g.newRect({height:t,width:"100%",x:"0",y:e},"",{opacity:0})),n}function f(e,t){var n=g.newG("row row-flex");return n.appendChild(g.newRect({height:t,width:"100%",x:"0",y:e},"",{opacity:0})),n}Object.defineProperty(n,"__esModule",{value:!0});var v=e("../../helpers/dom"),m=e("../../helpers/misc"),g=e("../../helpers/svg"),y=e("../../transformers/styling-converters"),w=e("./svg-tooltip");n.createRect=a,n.createRequestNumberLabel=s,n.createRequestLabelClipped=l,n.createRequestLabelFull=u;var b="function"==typeof window.requestAnimationFrame&&"function"==typeof window.cancelAnimationFrame;n.appendRequestLabels=d,n.createBgStripe=p,n.createNameRowBg=h,n.createRowBg=f},{"../../helpers/dom":1,"../../helpers/misc":4,"../../helpers/svg":6,"../../transformers/styling-converters":15,"./svg-tooltip":23}],22:[function(e,t,n){"use strict";function r(e,t,n,r,p,h,f){var v=p.y,m=p.height,g=e.options.leftColumnWith,y=a.newA(h.responseDetails.rowClass);y.setAttribute("tabindex","0"),y.setAttribute("xlink:href","javascript:void(0)");var w=a.newSvg("left-fixed-holder",{width:g+"%",x:"0"}),b=a.newSvg("flex-scale-waterfall",{width:100-g+"%",x:g+"%"}),C=l.createRect(p,h.segments,h.total),x=l.createNameRowBg(v,m),q=l.createRowBg(v,m),T=l.createBgStripe(v,m,t%2==0),S=d+n;if(e.options.showMimeTypeIcon){var E=h.responseDetails.icon;S-=E.width,x.appendChild(i[E.type](S,v+3,E.title))}e.options.showIndicatorIcons&&s.getIndicatorIcons(h).forEach(function(e){S-=e.width,x.appendChild(i[e.type](S,v+3,e.title))}),S=d+n;var M=""+(t+1),L=l.createRequestNumberLabel(S,v,M,m,r);S+=r+4;var P=l.createRequestLabelClipped(S,v,o.resourceUrlFormatter(h.url,40),m),_=l.createRequestLabelFull(S,v,h.url,m);q.appendChild(C),l.appendRequestLabels(x,L,P,_),e.pubSub.subscribeToSpecificOverlayChanges(t,function(e){O="open"===e.type}),t>0&&e.pubSub.subscribeToSpecificOverlayChanges(t-1,function(e){N="open"===e.type});var O,N;return y.addEventListener("click",function(e){e.preventDefault(),f(e)}),y.addEventListener("keydown",function(e){if(32===e.which||13===e.which)return e.preventDefault(),f(e);o.isTabUp(e)&&!N&&t>0?y.previousSibling.previousSibling.lastChild.lastChild.dispatchEvent(new MouseEvent("mouseenter")):!o.isTabDown(e)||O||y.nextSibling&&y.nextSibling.nextSibling&&y.nextSibling.nextSibling.lastChild.lastChild.dispatchEvent(new MouseEvent("mouseenter"))}),y.addEventListener("focusout",function(){x.dispatchEvent(new MouseEvent("mouseleave"))}),b.appendChild(q),w.appendChild(u.cloneNode(!0)),w.appendChild(x),y.appendChild(c.cloneNode(!0)),y.appendChild(T),y.appendChild(b),y.appendChild(w),y}Object.defineProperty(n,"__esModule",{value:!0});var i=e("../../helpers/icons"),o=e("../../helpers/misc"),a=e("../../helpers/svg"),s=e("./svg-indicators"),l=e("./svg-row-subcomponents"),u=a.newClipPath("titleClipPath");u.appendChild(a.newRect({height:"100%",width:"100%"}));var c=a.newClipPath("titleFullClipPath");c.appendChild(a.newRect({height:"100%",width:"100%"}));var d=3;n.createRow=r},{"../../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)\(.+[, ]+(.+)\)/,a=function(e){void 0===e&&(e="");var t=o.exec(e);return t&&t.length>=2?parseInt(t[1],10):0};n.onHoverInShowTooltip=function(e,t,n){var i=n.querySelector(".tooltip-payload"),o=r.getParentByClassName(e,"row-item"),s=a(o.getAttribute("transform")),l=parseInt(e.getAttribute("y"),10),u=e.getAttribute("x"),c=parseFloat(u),d=50,p=e.width.baseVal.value||e.getBoundingClientRect().width,h=p/(t.width/t.unit),f=t.width/t.unit/p,v=c>50&&(95-c)*h<200;i.innerHTML=t.label,r.addClass(i,"no-anim"),n.style.display="block",i.style.opacity="0.01";var m=i.clientHeight+5;if(d=l+s-m>0?s-m:s+t.height+10,v){var g=c-(i.clientWidth+5)*f,y=parseInt(n.querySelector("body").style.left,10);y*=1/(.01*(100-y)),i.style.left=g>-y?g+"%":-y+"%"}else i.style.left=u;n.setAttribute("y",""+(l+d)),n.setAttribute("height",m.toString()),r.removeClass(i,"no-anim"),i.style.opacity="1";var w=i.clientHeight+5-m;0!==w&&(n.setAttribute("height",(m+w).toString()),n.setAttribute("y",""+(l+d-w)))},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.leftColumnWith,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";function r(e){return{endline:a.newLine({x1:"0",x2:"0",y1:"0",y2:e},"line-end"),startline:a.newLine({x1:"0",x2:"0",y1:"0",y2:e},"line-start")}}function i(e){return{onMouseEnterPartial:function(){return function(t){var n=t.target;o.addClass(n,"active");var r=n.x.baseVal.valueInSpecifiedUnits+n.width.baseVal.valueInSpecifiedUnits+"%",i=n.x.baseVal.valueInSpecifiedUnits+"%";e.endline.x1.baseVal.valueAsString=r,e.endline.x2.baseVal.valueAsString=r,e.startline.x1.baseVal.valueAsString=i,e.startline.x2.baseVal.valueAsString=i,o.addClass(e.endline,"active"),o.addClass(e.startline,"active")}},onMouseLeavePartial:function(){return function(t){var n=t.target;o.removeClass(n,"active"),o.removeClass(e.endline,"active"),o.removeClass(e.startline,"active")}}}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("../../helpers/dom"),a=e("../../helpers/svg");n.createAlignmentLines=r,n.makeHoverEvtListeners=i},{"../../helpers/dom":1,"../../helpers/svg":6}],25:[function(e,t,n){"use strict";function r(e,t){for(var n=o.newG("time-scale full-width"),r=200*Math.ceil(t/1e4),i=1e3/r,s=t/1e3,l=t/r,u=0;u<=l;u++)a(e,n,s,u/i,u%i<1e-9);return n}Object.defineProperty(n,"__esModule",{value:!0});var i=e("../../helpers/misc"),o=e("../../helpers/svg"),a=function(e,t,n,r,a){void 0===a&&(a=!1);var s,l=e.diagramHeight,u=100/n,c="sub-second-line";if(a){var d=r>n-.2;c="second-line";var p=i.roundNumber(u*r)+.5+"%",h={};d&&(p=i.roundNumber(u*r)-.5+"%",h["text-anchor"]="end"),s=o.newTextEl(r+"s",{x:p,y:l},h)}var f=i.roundNumber(u*r)+"%",v=o.newLine({x1:f,x2:f,y1:0,y2:l},c);e.pubSub.subscribeToOverlayChanges(function(e){var t=e.combinedOverlayHeight,n=(l+t)/l;v.setAttribute("transform","scale(1, "+n+")"),a&&s.setAttribute("transform","translate(0, "+t+")")}),t.appendChild(v),a&&t.appendChild(s)};n.createTimeScale=r},{"../../helpers/misc":4,"../../helpers/svg":6}],26:[function(e,t,n){"use strict";function r(e,t){var n=e.diagramHeight,r=s.newG("marker-holder",{transform:"scale(1, 1)"});return t.forEach(function(l,u){var c=a.roundNumber(l.startTime/e.unit),d=s.newG("mark-holder type-"+l.name.toLowerCase().replace(/([0-9]+[ ]?ms)|\W/g,"")),p=s.newG("line-holder"),h=s.newG("line-label-holder"),f=s.newTextEl(l.name,{x:c+"%",y:n+25});f.setAttribute("writing-mode","tb");var v;l.x=c;var m=s.newLine({x1:c+"%",x2:c+"%",y1:0,y2:n}),g=t[u-1];g&&l.x-g.x<2.5&&(f.setAttribute("x",g.x+2.5+"%"),l.x=g.x+2.5);var y=s.newLine({x1:c+"%",x2:l.x+"%",y1:n,y2:n+23});p.appendChild(m),p.appendChild(y),l.duration&&(v=i(e,l),p.appendChild(v)),e.pubSub.subscribeToOverlayChanges(function(e){var t=e.combinedOverlayHeight,r=(n+t)/n;m.setAttribute("transform","scale(1, "+r+")"),h.setAttribute("transform","translate(0, "+t+")"),y.setAttribute("transform","translate(0, "+t+")"),v&&v.setAttribute("transform","translate(0, "+t+")")});var w=!1,b=!1,C=function(){w||(d.parentNode.appendChild(d),w=!0,"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(function(){return o.addClass(p,"active")}):o.addClass(p,"active"))},x=function(){w=!1,b||o.removeClass(p,"active")},q=function(){b?(w=!1,o.removeClass(p,"active")):w?w=!1:o.addClass(p,"active"),b=!b};f.addEventListener("mouseenter",C),f.addEventListener("mouseleave",x),f.addEventListener("click",q),h.appendChild(f),d.appendChild(s.newTitle(l.name)),d.appendChild(p),d.appendChild(h),r.appendChild(d)}),r}function i(e,t){var n=s.newG("line-mark-holder line-marker-"+a.toCssClass(t.name));return n.appendChild(s.newTitle(t.name.replace(/^startTimer-/,""))),n.appendChild(s.newRect({height:e.diagramHeight,width:(t.duration||1)/e.unit+"%",x:(t.startTime||.001)/e.unit+"%",y:0},"line-mark")),n}Object.defineProperty(n,"__esModule",{value:!0});var o=e("../../helpers/dom"),a=e("../../helpers/misc"),s=e("../../helpers/svg");n.createMarks=r,n.createLineRect=i},{"../../helpers/dom":1,"../../helpers/misc":4,"../../helpers/svg":6}],27:[function(e,t,n){"use strict";function r(e){for(var t=Math.floor(Math.log(e)/Math.LN10)+1,n="",r=0;r<t;r++)n+="0";return n}function i(e,t){var n=e.reduce(function(e,t){var n={x:0,y:0};return Math.max(e,s.getNodeTextWidth(s.newTextEl(t.name,n),!0))},0);return Math.floor(t+n+35)}function o(e,t,n){var r=e.durationMs/100,i={diagramHeight:(n.length+1)*t.rowHeight,options:t,overlayManager:void 0,pubSub:new c.PubSub,unit:r};return i.overlayManager=new u.default(i),i}function a(e,t){function n(){return b+w.overlayManager.getCombinedOverlayHeight()}function a(e,n){var r=e.total||1,i=t.rowHeight*n,o=e.start||.001,a={cssClass:l.requestTypeToCssClass(e.responseDetails.requestType),height:t.rowHeight,hideOverlay:t.showAlignmentHelpers?c.onMouseLeavePartial:void 0,label:"<strong>"+e.url+"</strong><br/>"+Math.round(e.start)+"ms - "+Math.round(e.end)+"ms<br/>total: "+Math.round(e.total)+"ms",showOverlay:t.showAlignmentHelpers?c.onMouseEnterPartial:void 0,unit:w.unit,width:r,x:o,y:i},u=function(){w.overlayManager.toggleOverlay(n,i+t.rowHeight,450,e,_)},p=d.createRow(w,n,M,P,a,e,u);_.push(p),y.appendChild(p),y.appendChild(s.newG("row-overlay-holder"))}var u,c,m=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)}),g=s.newG("overlays"),y=s.newG("rows-holder"),w=o(e,t,m),b=i(e.marks,w.diagramHeight),C=s.newSvg("water-fall-chart",{height:b}),x=s.newSvg("scale-and-marks-holder",{width:100-t.leftColumnWith+"%",x:t.leftColumnWith+"%"});if(t.showAlignmentHelpers){u=s.newG("hover-overlays");var q=h.createAlignmentLines(w.diagramHeight);u.appendChild(q.startline),u.appendChild(q.endline),c=h.makeHoverEvtListeners(q)}x.appendChild(f.createTimeScale(w,e.durationMs)),x.appendChild(v.createMarks(w,e.marks));var T=m[0].responseDetails.icon.width,S=0;if(t.showMimeTypeIcon&&(S+=1),t.showIndicatorIcons){var E=m.map(function(e){return e.responseDetails.indicators.length>0?1:0});S+=Math.max.apply(null,E)}var M=S*T,L=r(m.length),P=s.getNodeTextWidth(s.newTextEl(""+L),!0),_=[];return w.pubSub.subscribeToOverlayChanges(function(){var e=n();C.classList.toggle("closing",e<C.clientHeight),C.style.height=e+"px"}),m.forEach(a),t.showAlignmentHelpers&&x.appendChild(u),C.appendChild(x),C.appendChild(y),C.appendChild(g),C.appendChild(p.makeTooltip(t)),C}Object.defineProperty(n,"__esModule",{value:!0});var s=e("../helpers/svg"),l=e("../transformers/styling-converters"),u=e("./details-overlay/overlay-manager"),c=e("./details-overlay/pub-sub"),d=e("./row/svg-row"),p=e("./row/svg-tooltip"),h=e("./sub-components/svg-alignment-helper"),f=e("./sub-components/svg-general-components"),v=e("./sub-components/svg-marks");n.createWaterfallSvg=a},{"../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)});

@@ -64,4 +64,5 @@ /**

hideOverlay: rectData.hideOverlay,
label: segment.type + " (" + Math.round(segment.start) + "ms - "
+ Math.round(segment.end) + "ms | total: " + Math.round(segment.total) + "ms)",
label: `<strong>${segment.type}</strong><br/>` +
`${Math.round(segment.start)}ms - ${Math.round(segment.end)}ms<br/>` +
`total: ${Math.round(segment.total)}ms`,
showOverlay: rectData.showOverlay,

@@ -68,0 +69,0 @@ unit: rectData.unit,

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

const isLeftOfRow = xPercInt > 50 && ((95 - xPercInt) * pxPerPerc < tooltipMaxWidth);
innerDiv.innerText = rectData.label;
innerDiv.innerHTML = rectData.label;
// Disable animation for size-gathering

@@ -33,0 +33,0 @@ addClass(innerDiv, "no-anim");

@@ -130,4 +130,5 @@ import * as svg from "../helpers/svg";

hideOverlay: options.showAlignmentHelpers ? mouseListeners.onMouseLeavePartial : undefined,
label: `${entry.url} (${Math.round(entry.start)}ms - ` +
`${Math.round(entry.end)}ms | total: ${Math.round(entry.total)}ms)`,
label: `<strong>${entry.url}</strong><br/>` +
`${Math.round(entry.start)}ms - ${Math.round(entry.end)}ms<br/>` +
`total: ${Math.round(entry.total)}ms`,
showOverlay: options.showAlignmentHelpers ? mouseListeners.onMouseEnterPartial : undefined,

@@ -134,0 +135,0 @@ unit: context.unit,

{
"name": "perf-cascade",
"version": "2.0.2",
"version": "2.1.0",
"description": "Har file visualizer",

@@ -52,3 +52,3 @@ "main": "./index.js",

"tsify": "^3.0.1",
"tslint": "^5.4.2",
"tslint": "^5.4.3",
"tslint-eslint-rules": "^4.1.1",

@@ -55,0 +55,0 @@ "typescript": "^2.3.4",

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