playwright 1.56.0-alpha-1756945786000 → 1.56.0-alpha-1757023974000
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/common/expectBundleImpl.js +13 -13
- package/lib/matchers/matcherHint.js +0 -3
- package/lib/matchers/toBeTruthy.js +3 -7
- package/lib/matchers/toEqual.js +5 -5
- package/lib/matchers/toMatchAriaSnapshot.js +5 -8
- package/lib/matchers/toMatchText.js +9 -16
- package/lib/mcp/browser/browserContextFactory.js +28 -21
- package/lib/mcp/browser/config.js +23 -1
- package/lib/mcp/browser/context.js +19 -0
- package/lib/mcp/browser/processUtils.js +87 -0
- package/lib/mcp/browser/response.js +11 -0
- package/lib/mcp/browser/tools/form.js +6 -5
- package/lib/mcp/browser/tools/keyboard.js +5 -15
- package/lib/mcp/program.js +1 -1
- package/lib/mcpBundleImpl.js +1 -1
- package/lib/transform/babelBundleImpl.js +10 -10
- package/lib/utilsBundleImpl.js +1 -1
- package/lib/worker/fixtureRunner.js +13 -7
- package/package.json +2 -2
- package/types/test.d.ts +4 -4
package/lib/utilsBundleImpl.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
`+v+"}"}}return s.pop(),n=v,F}function p(d){if(d.length===0)return h(d,!0);let v=String.fromCodePoint(d.codePointAt(0));if(!kr.isIdStartChar(v))return h(d,!0);for(let g=v.length;g<d.length;g++)if(!kr.isIdContinueChar(String.fromCodePoint(d.codePointAt(g))))return h(d,!0);return d}function D(d){if(s.indexOf(d)>=0)throw TypeError("Converting circular structure to JSON5");s.push(d);let v=n;n=n+a;let g=[];for(let F=0;F<d.length;F++){let B=c(String(F),d);g.push(B!==void 0?B:"null")}let w;if(g.length===0)w="[]";else if(a==="")w="["+g.join(",")+"]";else{let F=`,
|
|
12
12
|
`+n,B=g.join(F);w=`[
|
|
13
13
|
`+n+B+`,
|
|
14
|
-
`+v+"]"}return s.pop(),n=v,w}}});var ln=y((wp,an)=>{var zl=nn(),Vl=on(),Kl={parse:zl,stringify:Vl};an.exports=Kl});var hn=y(Mr=>{var cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Mr.encode=function(t){if(0<=t&&t<cn.length)return cn[t];throw new TypeError("Must be between 0 and 63: "+t)};Mr.decode=function(t){var e=65,r=90,i=97,s=122,n=48,u=57,o=43,a=47,l=26,c=52;return e<=t&&t<=r?t-e:i<=t&&t<=s?t-i+l:n<=t&&t<=u?t-n+c:t==o?62:t==a?63:-1}});var qr=y(Hr=>{var fn=hn(),$r=5,dn=1<<$r,pn=dn-1,Dn=dn;function Yl(t){return t<0?(-t<<1)+1:(t<<1)+0}function Ql(t){var e=(t&1)===1,r=t>>1;return e?-r:r}Hr.encode=function(e){var r="",i,s=Yl(e);do i=s&pn,s>>>=$r,s>0&&(i|=Dn),r+=fn.encode(i);while(s>0);return r};Hr.decode=function(e,r,i){var s=e.length,n=0,u=0,o,a;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(a=fn.decode(e.charCodeAt(r++)),a===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));o=!!(a&Dn),a&=pn,n=n+(a<<u),u+=$r}while(o);i.value=Ql(n),i.rest=r}});var ot=y(ae=>{function Xl(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}ae.getArg=Xl;var gn=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Zl=/^data:.+\,.+$/;function yt(t){var e=t.match(gn);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}ae.urlParse=yt;function nt(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}ae.urlGenerate=nt;function jr(t){var e=t,r=yt(t);if(r){if(!r.path)return t;e=r.path}for(var i=ae.isAbsolute(e),s=e.split(/\/+/),n,u=0,o=s.length-1;o>=0;o--)n=s[o],n==="."?s.splice(o,1):n===".."?u++:u>0&&(n===""?(s.splice(o+1,u),u=0):(s.splice(o,2),u--));return e=s.join("/"),e===""&&(e=i?"/":"."),r?(r.path=e,nt(r)):e}ae.normalize=jr;function mn(t,e){t===""&&(t="."),e===""&&(e=".");var r=yt(e),i=yt(t);if(i&&(t=i.path||"/"),r&&!r.scheme)return i&&(r.scheme=i.scheme),nt(r);if(r||e.match(Zl))return e;if(i&&!i.host&&!i.path)return i.host=e,nt(i);var s=e.charAt(0)==="/"?e:jr(t.replace(/\/+$/,"")+"/"+e);return i?(i.path=s,nt(i)):s}ae.join=mn;ae.isAbsolute=function(t){return t.charAt(0)==="/"||gn.test(t)};function Jl(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var i=t.lastIndexOf("/");if(i<0||(t=t.slice(0,i),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}ae.relative=Jl;var En=function(){var t=Object.create(null);return!("__proto__"in t)}();function Cn(t){return t}function ec(t){return An(t)?"$"+t:t}ae.toSetString=En?Cn:ec;function tc(t){return An(t)?t.slice(1):t}ae.fromSetString=En?Cn:tc;function An(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}function rc(t,e,r){var i=ut(t.source,e.source);return i!==0||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0||r)||(i=t.generatedColumn-e.generatedColumn,i!==0)||(i=t.generatedLine-e.generatedLine,i!==0)?i:ut(t.name,e.name)}ae.compareByOriginalPositions=rc;function ic(t,e,r){var i=t.generatedLine-e.generatedLine;return i!==0||(i=t.generatedColumn-e.generatedColumn,i!==0||r)||(i=ut(t.source,e.source),i!==0)||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0)?i:ut(t.name,e.name)}ae.compareByGeneratedPositionsDeflated=ic;function ut(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function sc(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=ut(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:ut(t.name,e.name)}ae.compareByGeneratedPositionsInflated=sc;function nc(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}ae.parseSourceMapInput=nc;function uc(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var i=yt(r);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var s=i.path.lastIndexOf("/");s>=0&&(i.path=i.path.substring(0,s+1))}e=mn(nt(i),e)}return jr(e)}ae.computeSourceURL=uc});var Ur=y(yn=>{var Gr=ot(),Wr=Object.prototype.hasOwnProperty,Ye=typeof Map!="undefined";function Pe(){this._array=[],this._set=Ye?new Map:Object.create(null)}Pe.fromArray=function(e,r){for(var i=new Pe,s=0,n=e.length;s<n;s++)i.add(e[s],r);return i};Pe.prototype.size=function(){return Ye?this._set.size:Object.getOwnPropertyNames(this._set).length};Pe.prototype.add=function(e,r){var i=Ye?e:Gr.toSetString(e),s=Ye?this.has(e):Wr.call(this._set,i),n=this._array.length;(!s||r)&&this._array.push(e),s||(Ye?this._set.set(e,n):this._set[i]=n)};Pe.prototype.has=function(e){if(Ye)return this._set.has(e);var r=Gr.toSetString(e);return Wr.call(this._set,r)};Pe.prototype.indexOf=function(e){if(Ye){var r=this._set.get(e);if(r>=0)return r}else{var i=Gr.toSetString(e);if(Wr.call(this._set,i))return this._set[i]}throw new Error('"'+e+'" is not in the set.')};Pe.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Pe.prototype.toArray=function(){return this._array.slice()};yn.ArraySet=Pe});var _n=y(wn=>{var Fn=ot();function oc(t,e){var r=t.generatedLine,i=e.generatedLine,s=t.generatedColumn,n=e.generatedColumn;return i>r||i==r&&n>=s||Fn.compareByGeneratedPositionsInflated(t,e)<=0}function Yt(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Yt.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};Yt.prototype.add=function(e){oc(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Yt.prototype.toArray=function(){return this._sorted||(this._array.sort(Fn.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};wn.MappingList=Yt});var zr=y(bn=>{var Ft=qr(),Z=ot(),Qt=Ur().ArraySet,ac=_n().MappingList;function Ce(t){t||(t={}),this._file=Z.getArg(t,"file",null),this._sourceRoot=Z.getArg(t,"sourceRoot",null),this._skipValidation=Z.getArg(t,"skipValidation",!1),this._sources=new Qt,this._names=new Qt,this._mappings=new ac,this._sourcesContents=null}Ce.prototype._version=3;Ce.fromSourceMap=function(e){var r=e.sourceRoot,i=new Ce({file:e.file,sourceRoot:r});return e.eachMapping(function(s){var n={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(n.source=s.source,r!=null&&(n.source=Z.relative(r,n.source)),n.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(n.name=s.name)),i.addMapping(n)}),e.sources.forEach(function(s){var n=s;r!==null&&(n=Z.relative(r,s)),i._sources.has(n)||i._sources.add(n);var u=e.sourceContentFor(s);u!=null&&i.setSourceContent(s,u)}),i};Ce.prototype.addMapping=function(e){var r=Z.getArg(e,"generated"),i=Z.getArg(e,"original",null),s=Z.getArg(e,"source",null),n=Z.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,i,s,n),s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:s,name:n})};Ce.prototype.setSourceContent=function(e,r){var i=e;this._sourceRoot!=null&&(i=Z.relative(this._sourceRoot,i)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Z.toSetString(i)]=r):this._sourcesContents&&(delete this._sourcesContents[Z.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Ce.prototype.applySourceMap=function(e,r,i){var s=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);s=e.file}var n=this._sourceRoot;n!=null&&(s=Z.relative(n,s));var u=new Qt,o=new Qt;this._mappings.unsortedForEach(function(a){if(a.source===s&&a.originalLine!=null){var l=e.originalPositionFor({line:a.originalLine,column:a.originalColumn});l.source!=null&&(a.source=l.source,i!=null&&(a.source=Z.join(i,a.source)),n!=null&&(a.source=Z.relative(n,a.source)),a.originalLine=l.line,a.originalColumn=l.column,l.name!=null&&(a.name=l.name))}var c=a.source;c!=null&&!u.has(c)&&u.add(c);var h=a.name;h!=null&&!o.has(h)&&o.add(h)},this),this._sources=u,this._names=o,e.sources.forEach(function(a){var l=e.sourceContentFor(a);l!=null&&(i!=null&&(a=Z.join(i,a)),n!=null&&(a=Z.relative(n,a)),this.setSourceContent(a,l))},this)};Ce.prototype._validateMapping=function(e,r,i,s){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!i&&!s)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&i)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:i,original:r,name:s}))}};Ce.prototype._serializeMappings=function(){for(var e=0,r=1,i=0,s=0,n=0,u=0,o="",a,l,c,h,f=this._mappings.toArray(),p=0,D=f.length;p<D;p++){if(l=f[p],a="",l.generatedLine!==r)for(e=0;l.generatedLine!==r;)a+=";",r++;else if(p>0){if(!Z.compareByGeneratedPositionsInflated(l,f[p-1]))continue;a+=","}a+=Ft.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(h=this._sources.indexOf(l.source),a+=Ft.encode(h-u),u=h,a+=Ft.encode(l.originalLine-1-s),s=l.originalLine-1,a+=Ft.encode(l.originalColumn-i),i=l.originalColumn,l.name!=null&&(c=this._names.indexOf(l.name),a+=Ft.encode(c-n),n=c)),o+=a}return o};Ce.prototype._generateSourcesContent=function(e,r){return e.map(function(i){if(!this._sourcesContents)return null;r!=null&&(i=Z.relative(r,i));var s=Z.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)};Ce.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};Ce.prototype.toString=function(){return JSON.stringify(this.toJSON())};bn.SourceMapGenerator=Ce});var vn=y(Qe=>{Qe.GREATEST_LOWER_BOUND=1;Qe.LEAST_UPPER_BOUND=2;function Vr(t,e,r,i,s,n){var u=Math.floor((e-t)/2)+t,o=s(r,i[u],!0);return o===0?u:o>0?e-u>1?Vr(u,e,r,i,s,n):n==Qe.LEAST_UPPER_BOUND?e<i.length?e:-1:u:u-t>1?Vr(t,u,r,i,s,n):n==Qe.LEAST_UPPER_BOUND?u:t<0?-1:t}Qe.search=function(e,r,i,s){if(r.length===0)return-1;var n=Vr(-1,r.length,e,r,i,s||Qe.GREATEST_LOWER_BOUND);if(n<0)return-1;for(;n-1>=0&&i(r[n],r[n-1],!0)===0;)--n;return n}});var Sn=y(xn=>{function Kr(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function lc(t,e){return Math.round(t+Math.random()*(e-t))}function Yr(t,e,r,i){if(r<i){var s=lc(r,i),n=r-1;Kr(t,s,i);for(var u=t[i],o=r;o<i;o++)e(t[o],u)<=0&&(n+=1,Kr(t,n,o));Kr(t,n+1,o);var a=n+1;Yr(t,e,r,a-1),Yr(t,e,a+1,i)}}xn.quickSort=function(t,e){Yr(t,e,0,t.length-1)}});var Rn=y(Xt=>{var x=ot(),Qr=vn(),at=Ur().ArraySet,cc=qr(),wt=Sn().quickSort;function V(t,e){var r=t;return typeof t=="string"&&(r=x.parseSourceMapInput(t)),r.sections!=null?new we(r,e):new ue(r,e)}V.fromSourceMap=function(t,e){return ue.fromSourceMap(t,e)};V.prototype._version=3;V.prototype.__generatedMappings=null;Object.defineProperty(V.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});V.prototype.__originalMappings=null;Object.defineProperty(V.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});V.prototype._charIsMappingSeparator=function(e,r){var i=e.charAt(r);return i===";"||i===","};V.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};V.GENERATED_ORDER=1;V.ORIGINAL_ORDER=2;V.GREATEST_LOWER_BOUND=1;V.LEAST_UPPER_BOUND=2;V.prototype.eachMapping=function(e,r,i){var s=r||null,n=i||V.GENERATED_ORDER,u;switch(n){case V.GENERATED_ORDER:u=this._generatedMappings;break;case V.ORIGINAL_ORDER:u=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;u.map(function(a){var l=a.source===null?null:this._sources.at(a.source);return l=x.computeSourceURL(o,l,this._sourceMapURL),{source:l,generatedLine:a.generatedLine,generatedColumn:a.generatedColumn,originalLine:a.originalLine,originalColumn:a.originalColumn,name:a.name===null?null:this._names.at(a.name)}},this).forEach(e,s)};V.prototype.allGeneratedPositionsFor=function(e){var r=x.getArg(e,"line"),i={source:x.getArg(e,"source"),originalLine:r,originalColumn:x.getArg(e,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var s=[],n=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",x.compareByOriginalPositions,Qr.LEAST_UPPER_BOUND);if(n>=0){var u=this._originalMappings[n];if(e.column===void 0)for(var o=u.originalLine;u&&u.originalLine===o;)s.push({line:x.getArg(u,"generatedLine",null),column:x.getArg(u,"generatedColumn",null),lastColumn:x.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++n];else for(var a=u.originalColumn;u&&u.originalLine===r&&u.originalColumn==a;)s.push({line:x.getArg(u,"generatedLine",null),column:x.getArg(u,"generatedColumn",null),lastColumn:x.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++n]}return s};Xt.SourceMapConsumer=V;function ue(t,e){var r=t;typeof t=="string"&&(r=x.parseSourceMapInput(t));var i=x.getArg(r,"version"),s=x.getArg(r,"sources"),n=x.getArg(r,"names",[]),u=x.getArg(r,"sourceRoot",null),o=x.getArg(r,"sourcesContent",null),a=x.getArg(r,"mappings"),l=x.getArg(r,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);u&&(u=x.normalize(u)),s=s.map(String).map(x.normalize).map(function(c){return u&&x.isAbsolute(u)&&x.isAbsolute(c)?x.relative(u,c):c}),this._names=at.fromArray(n.map(String),!0),this._sources=at.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(c){return x.computeSourceURL(u,c,e)}),this.sourceRoot=u,this.sourcesContent=o,this._mappings=a,this._sourceMapURL=e,this.file=l}ue.prototype=Object.create(V.prototype);ue.prototype.consumer=V;ue.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=x.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};ue.fromSourceMap=function(e,r){var i=Object.create(ue.prototype),s=i._names=at.fromArray(e._names.toArray(),!0),n=i._sources=at.fromArray(e._sources.toArray(),!0);i.sourceRoot=e._sourceRoot,i.sourcesContent=e._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=e._file,i._sourceMapURL=r,i._absoluteSources=i._sources.toArray().map(function(p){return x.computeSourceURL(i.sourceRoot,p,r)});for(var u=e._mappings.toArray().slice(),o=i.__generatedMappings=[],a=i.__originalMappings=[],l=0,c=u.length;l<c;l++){var h=u[l],f=new Bn;f.generatedLine=h.generatedLine,f.generatedColumn=h.generatedColumn,h.source&&(f.source=n.indexOf(h.source),f.originalLine=h.originalLine,f.originalColumn=h.originalColumn,h.name&&(f.name=s.indexOf(h.name)),a.push(f)),o.push(f)}return wt(i.__originalMappings,x.compareByOriginalPositions),i};ue.prototype._version=3;Object.defineProperty(ue.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Bn(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}ue.prototype._parseMappings=function(e,r){for(var i=1,s=0,n=0,u=0,o=0,a=0,l=e.length,c=0,h={},f={},p=[],D=[],d,v,g,w,F;c<l;)if(e.charAt(c)===";")i++,c++,s=0;else if(e.charAt(c)===",")c++;else{for(d=new Bn,d.generatedLine=i,w=c;w<l&&!this._charIsMappingSeparator(e,w);w++);if(v=e.slice(c,w),g=h[v],g)c+=v.length;else{for(g=[];c<w;)cc.decode(e,c,f),F=f.value,c=f.rest,g.push(F);if(g.length===2)throw new Error("Found a source, but no line and column");if(g.length===3)throw new Error("Found a source and line, but no column");h[v]=g}d.generatedColumn=s+g[0],s=d.generatedColumn,g.length>1&&(d.source=o+g[1],o+=g[1],d.originalLine=n+g[2],n=d.originalLine,d.originalLine+=1,d.originalColumn=u+g[3],u=d.originalColumn,g.length>4&&(d.name=a+g[4],a+=g[4])),D.push(d),typeof d.originalLine=="number"&&p.push(d)}wt(D,x.compareByGeneratedPositionsDeflated),this.__generatedMappings=D,wt(p,x.compareByOriginalPositions),this.__originalMappings=p};ue.prototype._findMapping=function(e,r,i,s,n,u){if(e[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[i]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return Qr.search(e,r,n,u)};ue.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var i=this._generatedMappings[e+1];if(r.generatedLine===i.generatedLine){r.lastGeneratedColumn=i.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};ue.prototype.originalPositionFor=function(e){var r={generatedLine:x.getArg(e,"line"),generatedColumn:x.getArg(e,"column")},i=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",x.compareByGeneratedPositionsDeflated,x.getArg(e,"bias",V.GREATEST_LOWER_BOUND));if(i>=0){var s=this._generatedMappings[i];if(s.generatedLine===r.generatedLine){var n=x.getArg(s,"source",null);n!==null&&(n=this._sources.at(n),n=x.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var u=x.getArg(s,"name",null);return u!==null&&(u=this._names.at(u)),{source:n,line:x.getArg(s,"originalLine",null),column:x.getArg(s,"originalColumn",null),name:u}}}return{source:null,line:null,column:null,name:null}};ue.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};ue.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var i=this._findSourceIndex(e);if(i>=0)return this.sourcesContent[i];var s=e;this.sourceRoot!=null&&(s=x.relative(this.sourceRoot,s));var n;if(this.sourceRoot!=null&&(n=x.urlParse(this.sourceRoot))){var u=s.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(u))return this.sourcesContent[this._sources.indexOf(u)];if((!n.path||n.path=="/")&&this._sources.has("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(r)return null;throw new Error('"'+s+'" is not in the SourceMap.')};ue.prototype.generatedPositionFor=function(e){var r=x.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var i={source:r,originalLine:x.getArg(e,"line"),originalColumn:x.getArg(e,"column")},s=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",x.compareByOriginalPositions,x.getArg(e,"bias",V.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===i.source)return{line:x.getArg(n,"generatedLine",null),column:x.getArg(n,"generatedColumn",null),lastColumn:x.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Xt.BasicSourceMapConsumer=ue;function we(t,e){var r=t;typeof t=="string"&&(r=x.parseSourceMapInput(t));var i=x.getArg(r,"version"),s=x.getArg(r,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new at,this._names=new at;var n={line:-1,column:0};this._sections=s.map(function(u){if(u.url)throw new Error("Support for url field in sections not implemented.");var o=x.getArg(u,"offset"),a=x.getArg(o,"line"),l=x.getArg(o,"column");if(a<n.line||a===n.line&&l<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=o,{generatedOffset:{generatedLine:a+1,generatedColumn:l+1},consumer:new V(x.getArg(u,"map"),e)}})}we.prototype=Object.create(V.prototype);we.prototype.constructor=V;we.prototype._version=3;Object.defineProperty(we.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t}});we.prototype.originalPositionFor=function(e){var r={generatedLine:x.getArg(e,"line"),generatedColumn:x.getArg(e,"column")},i=Qr.search(r,this._sections,function(n,u){var o=n.generatedLine-u.generatedOffset.generatedLine;return o||n.generatedColumn-u.generatedOffset.generatedColumn}),s=this._sections[i];return s?s.consumer.originalPositionFor({line:r.generatedLine-(s.generatedOffset.generatedLine-1),column:r.generatedColumn-(s.generatedOffset.generatedLine===r.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};we.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};we.prototype.sourceContentFor=function(e,r){for(var i=0;i<this._sections.length;i++){var s=this._sections[i],n=s.consumer.sourceContentFor(e,!0);if(n)return n}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};we.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var i=this._sections[r];if(i.consumer._findSourceIndex(x.getArg(e,"source"))!==-1){var s=i.consumer.generatedPositionFor(e);if(s){var n={line:s.line+(i.generatedOffset.generatedLine-1),column:s.column+(i.generatedOffset.generatedLine===s.line?i.generatedOffset.generatedColumn-1:0)};return n}}}return{line:null,column:null}};we.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var s=this._sections[i],n=s.consumer._generatedMappings,u=0;u<n.length;u++){var o=n[u],a=s.consumer._sources.at(o.source);a=x.computeSourceURL(s.consumer.sourceRoot,a,this._sourceMapURL),this._sources.add(a),a=this._sources.indexOf(a);var l=null;o.name&&(l=s.consumer._names.at(o.name),this._names.add(l),l=this._names.indexOf(l));var c={source:a,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:l};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}wt(this.__generatedMappings,x.compareByGeneratedPositionsDeflated),wt(this.__originalMappings,x.compareByOriginalPositions)};Xt.IndexedSourceMapConsumer=we});var Ln=y(On=>{var hc=zr().SourceMapGenerator,Zt=ot(),fc=/(\r?\n)/,dc=10,lt="$$$isSourceNode$$$";function ge(t,e,r,i,s){this.children=[],this.sourceContents={},this.line=t==null?null:t,this.column=e==null?null:e,this.source=r==null?null:r,this.name=s==null?null:s,this[lt]=!0,i!=null&&this.add(i)}ge.fromStringWithSourceMap=function(e,r,i){var s=new ge,n=e.split(fc),u=0,o=function(){var f=D(),p=D()||"";return f+p;function D(){return u<n.length?n[u++]:void 0}},a=1,l=0,c=null;return r.eachMapping(function(f){if(c!==null)if(a<f.generatedLine)h(c,o()),a++,l=0;else{var p=n[u]||"",D=p.substr(0,f.generatedColumn-l);n[u]=p.substr(f.generatedColumn-l),l=f.generatedColumn,h(c,D),c=f;return}for(;a<f.generatedLine;)s.add(o()),a++;if(l<f.generatedColumn){var p=n[u]||"";s.add(p.substr(0,f.generatedColumn)),n[u]=p.substr(f.generatedColumn),l=f.generatedColumn}c=f},this),u<n.length&&(c&&h(c,o()),s.add(n.splice(u).join(""))),r.sources.forEach(function(f){var p=r.sourceContentFor(f);p!=null&&(i!=null&&(f=Zt.join(i,f)),s.setSourceContent(f,p))}),s;function h(f,p){if(f===null||f.source===void 0)s.add(p);else{var D=i?Zt.join(i,f.source):f.source;s.add(new ge(f.originalLine,f.originalColumn,D,p,f.name))}}};ge.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[lt]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};ge.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[lt]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};ge.prototype.walk=function(e){for(var r,i=0,s=this.children.length;i<s;i++)r=this.children[i],r[lt]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};ge.prototype.join=function(e){var r,i,s=this.children.length;if(s>0){for(r=[],i=0;i<s-1;i++)r.push(this.children[i]),r.push(e);r.push(this.children[i]),this.children=r}return this};ge.prototype.replaceRight=function(e,r){var i=this.children[this.children.length-1];return i[lt]?i.replaceRight(e,r):typeof i=="string"?this.children[this.children.length-1]=i.replace(e,r):this.children.push("".replace(e,r)),this};ge.prototype.setSourceContent=function(e,r){this.sourceContents[Zt.toSetString(e)]=r};ge.prototype.walkSourceContents=function(e){for(var r=0,i=this.children.length;r<i;r++)this.children[r][lt]&&this.children[r].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),r=0,i=s.length;r<i;r++)e(Zt.fromSetString(s[r]),this.sourceContents[s[r]])};ge.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};ge.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},i=new hc(e),s=!1,n=null,u=null,o=null,a=null;return this.walk(function(l,c){r.code+=l,c.source!==null&&c.line!==null&&c.column!==null?((n!==c.source||u!==c.line||o!==c.column||a!==c.name)&&i.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name}),n=c.source,u=c.line,o=c.column,a=c.name,s=!0):s&&(i.addMapping({generated:{line:r.line,column:r.column}}),n=null,s=!1);for(var h=0,f=l.length;h<f;h++)l.charCodeAt(h)===dc?(r.line++,r.column=0,h+1===f?(n=null,s=!1):s&&i.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name})):r.column++}),this.walkSourceContents(function(l,c){i.setSourceContent(l,c)}),{code:r.code,map:i}};On.SourceNode=ge});var Tn=y(Jt=>{Jt.SourceMapGenerator=zr().SourceMapGenerator;Jt.SourceMapConsumer=Rn().SourceMapConsumer;Jt.SourceNode=Ln().SourceNode});var Pn=y((Pp,Nn)=>{var pc=Object.prototype.toString,Xr=typeof Buffer!="undefined"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function Dc(t){return pc.call(t).slice(8,-1)==="ArrayBuffer"}function gc(t,e,r){e>>>=0;var i=t.byteLength-e;if(i<0)throw new RangeError("'offset' is out of bounds");if(r===void 0)r=i;else if(r>>>=0,r>i)throw new RangeError("'length' is out of bounds");return Xr?Buffer.from(t.slice(e,e+r)):new Buffer(new Uint8Array(t.slice(e,e+r)))}function mc(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!Buffer.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');return Xr?Buffer.from(t,e):new Buffer(t,e)}function Ec(t,e,r){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return Dc(t)?gc(t,e,r):typeof t=="string"?mc(t,e):Xr?Buffer.from(t):new Buffer(t)}Nn.exports=Ec});var Gn=y((Ze,ti)=>{var Cc=Tn().SourceMapConsumer,Zr=require("path"),Re;try{Re=require("fs"),(!Re.existsSync||!Re.readFileSync)&&(Re=null)}catch{}var Ac=Pn();function In(t,e){return t.require(e)}var kn=!1,Mn=!1,Jr=!1,_t="auto",Xe={},bt={},yc=/^data:application\/json[^,]+base64,/,qe=[],je=[];function ri(){return _t==="browser"?!0:_t==="node"?!1:typeof window!="undefined"&&typeof XMLHttpRequest=="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function Fc(){return typeof process=="object"&&process!==null&&typeof process.on=="function"}function wc(){return typeof process=="object"&&process!==null?process.version:""}function _c(){if(typeof process=="object"&&process!==null)return process.stderr}function bc(t){if(typeof process=="object"&&process!==null&&typeof process.exit=="function")return process.exit(t)}function er(t){return function(e){for(var r=0;r<t.length;r++){var i=t[r](e);if(i)return i}return null}}var ii=er(qe);qe.push(function(t){if(t=t.trim(),/^file:/.test(t)&&(t=t.replace(/file:\/\/\/(\w:)?/,function(i,s){return s?"":"/"})),t in Xe)return Xe[t];var e="";try{if(Re)Re.existsSync(t)&&(e=Re.readFileSync(t,"utf8"));else{var r=new XMLHttpRequest;r.open("GET",t,!1),r.send(null),r.readyState===4&&r.status===200&&(e=r.responseText)}}catch{}return Xe[t]=e});function ei(t,e){if(!t)return e;var r=Zr.dirname(t),i=/^\w+:\/\/[^\/]*/.exec(r),s=i?i[0]:"",n=r.slice(s.length);return s&&/^\/\w\:/.test(n)?(s+="/",s+Zr.resolve(r.slice(s.length),e).replace(/\\/g,"/")):s+Zr.resolve(r.slice(s.length),e)}function vc(t){var e;if(ri())try{var r=new XMLHttpRequest;r.open("GET",t,!1),r.send(null),e=r.readyState===4?r.responseText:null;var i=r.getResponseHeader("SourceMap")||r.getResponseHeader("X-SourceMap");if(i)return i}catch{}e=ii(t);for(var s=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg,n,u;u=s.exec(e);)n=u;return n?n[1]:null}var si=er(je);je.push(function(t){var e=vc(t);if(!e)return null;var r;if(yc.test(e)){var i=e.slice(e.indexOf(",")+1);r=Ac(i,"base64").toString(),e=t}else e=ei(t,e),r=ii(e);return r?{url:e,map:r}:null});function ni(t){var e=bt[t.source];if(!e){var r=si(t.source);r?(e=bt[t.source]={url:r.url,map:new Cc(r.map)},e.map.sourcesContent&&e.map.sources.forEach(function(s,n){var u=e.map.sourcesContent[n];if(u){var o=ei(e.url,s);Xe[o]=u}})):e=bt[t.source]={url:null,map:null}}if(e&&e.map&&typeof e.map.originalPositionFor=="function"){var i=e.map.originalPositionFor(t);if(i.source!==null)return i.source=ei(e.url,i.source),i}return t}function Hn(t){var e=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(t);if(e){var r=ni({source:e[2],line:+e[3],column:e[4]-1});return"eval at "+e[1]+" ("+r.source+":"+r.line+":"+(r.column+1)+")"}return e=/^eval at ([^(]+) \((.+)\)$/.exec(t),e?"eval at "+e[1]+" ("+Hn(e[2])+")":t}function xc(){var t,e="";if(this.isNative())e="native";else{t=this.getScriptNameOrSourceURL(),!t&&this.isEval()&&(e=this.getEvalOrigin(),e+=", "),t?e+=t:e+="<anonymous>";var r=this.getLineNumber();if(r!=null){e+=":"+r;var i=this.getColumnNumber();i&&(e+=":"+i)}}var s="",n=this.getFunctionName(),u=!0,o=this.isConstructor(),a=!(this.isToplevel()||o);if(a){var l=this.getTypeName();l==="[object Object]"&&(l="null");var c=this.getMethodName();n?(l&&n.indexOf(l)!=0&&(s+=l+"."),s+=n,c&&n.indexOf("."+c)!=n.length-c.length-1&&(s+=" [as "+c+"]")):s+=l+"."+(c||"<anonymous>")}else o?s+="new "+(n||"<anonymous>"):n?s+=n:(s+=e,u=!1);return u&&(s+=" ("+e+")"),s}function $n(t){var e={};return Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(function(r){e[r]=/^(?:is|get)/.test(r)?function(){return t[r].call(t)}:t[r]}),e.toString=xc,e}function qn(t,e){if(e===void 0&&(e={nextPosition:null,curPosition:null}),t.isNative())return e.curPosition=null,t;var r=t.getFileName()||t.getScriptNameOrSourceURL();if(r){var i=t.getLineNumber(),s=t.getColumnNumber()-1,n=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/,u=n.test(wc())?0:62;i===1&&s>u&&!ri()&&!t.isEval()&&(s-=u);var o=ni({source:r,line:i,column:s});e.curPosition=o,t=$n(t);var a=t.getFunctionName;return t.getFunctionName=function(){return e.nextPosition==null?a():e.nextPosition.name||a()},t.getFileName=function(){return o.source},t.getLineNumber=function(){return o.line},t.getColumnNumber=function(){return o.column+1},t.getScriptNameOrSourceURL=function(){return o.source},t}var l=t.isEval()&&t.getEvalOrigin();return l&&(l=Hn(l),t=$n(t),t.getEvalOrigin=function(){return l}),t}function Sc(t,e){Jr&&(Xe={},bt={});for(var r=t.name||"Error",i=t.message||"",s=r+": "+i,n={nextPosition:null,curPosition:null},u=[],o=e.length-1;o>=0;o--)u.push(`
|
|
14
|
+
`+v+"]"}return s.pop(),n=v,w}}});var ln=y((wp,an)=>{var zl=nn(),Vl=on(),Kl={parse:zl,stringify:Vl};an.exports=Kl});var hn=y(Mr=>{var cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Mr.encode=function(t){if(0<=t&&t<cn.length)return cn[t];throw new TypeError("Must be between 0 and 63: "+t)};Mr.decode=function(t){var e=65,r=90,i=97,s=122,n=48,u=57,o=43,a=47,l=26,c=52;return e<=t&&t<=r?t-e:i<=t&&t<=s?t-i+l:n<=t&&t<=u?t-n+c:t==o?62:t==a?63:-1}});var qr=y(Hr=>{var fn=hn(),$r=5,dn=1<<$r,pn=dn-1,Dn=dn;function Yl(t){return t<0?(-t<<1)+1:(t<<1)+0}function Ql(t){var e=(t&1)===1,r=t>>1;return e?-r:r}Hr.encode=function(e){var r="",i,s=Yl(e);do i=s&pn,s>>>=$r,s>0&&(i|=Dn),r+=fn.encode(i);while(s>0);return r};Hr.decode=function(e,r,i){var s=e.length,n=0,u=0,o,a;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(a=fn.decode(e.charCodeAt(r++)),a===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));o=!!(a&Dn),a&=pn,n=n+(a<<u),u+=$r}while(o);i.value=Ql(n),i.rest=r}});var ot=y(ae=>{function Xl(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}ae.getArg=Xl;var gn=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Zl=/^data:.+\,.+$/;function yt(t){var e=t.match(gn);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}ae.urlParse=yt;function nt(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}ae.urlGenerate=nt;function jr(t){var e=t,r=yt(t);if(r){if(!r.path)return t;e=r.path}for(var i=ae.isAbsolute(e),s=e.split(/\/+/),n,u=0,o=s.length-1;o>=0;o--)n=s[o],n==="."?s.splice(o,1):n===".."?u++:u>0&&(n===""?(s.splice(o+1,u),u=0):(s.splice(o,2),u--));return e=s.join("/"),e===""&&(e=i?"/":"."),r?(r.path=e,nt(r)):e}ae.normalize=jr;function mn(t,e){t===""&&(t="."),e===""&&(e=".");var r=yt(e),i=yt(t);if(i&&(t=i.path||"/"),r&&!r.scheme)return i&&(r.scheme=i.scheme),nt(r);if(r||e.match(Zl))return e;if(i&&!i.host&&!i.path)return i.host=e,nt(i);var s=e.charAt(0)==="/"?e:jr(t.replace(/\/+$/,"")+"/"+e);return i?(i.path=s,nt(i)):s}ae.join=mn;ae.isAbsolute=function(t){return t.charAt(0)==="/"||gn.test(t)};function Jl(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var i=t.lastIndexOf("/");if(i<0||(t=t.slice(0,i),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}ae.relative=Jl;var En=(function(){var t=Object.create(null);return!("__proto__"in t)})();function Cn(t){return t}function ec(t){return An(t)?"$"+t:t}ae.toSetString=En?Cn:ec;function tc(t){return An(t)?t.slice(1):t}ae.fromSetString=En?Cn:tc;function An(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}function rc(t,e,r){var i=ut(t.source,e.source);return i!==0||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0||r)||(i=t.generatedColumn-e.generatedColumn,i!==0)||(i=t.generatedLine-e.generatedLine,i!==0)?i:ut(t.name,e.name)}ae.compareByOriginalPositions=rc;function ic(t,e,r){var i=t.generatedLine-e.generatedLine;return i!==0||(i=t.generatedColumn-e.generatedColumn,i!==0||r)||(i=ut(t.source,e.source),i!==0)||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0)?i:ut(t.name,e.name)}ae.compareByGeneratedPositionsDeflated=ic;function ut(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function sc(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=ut(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:ut(t.name,e.name)}ae.compareByGeneratedPositionsInflated=sc;function nc(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}ae.parseSourceMapInput=nc;function uc(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var i=yt(r);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var s=i.path.lastIndexOf("/");s>=0&&(i.path=i.path.substring(0,s+1))}e=mn(nt(i),e)}return jr(e)}ae.computeSourceURL=uc});var Ur=y(yn=>{var Gr=ot(),Wr=Object.prototype.hasOwnProperty,Ye=typeof Map!="undefined";function Pe(){this._array=[],this._set=Ye?new Map:Object.create(null)}Pe.fromArray=function(e,r){for(var i=new Pe,s=0,n=e.length;s<n;s++)i.add(e[s],r);return i};Pe.prototype.size=function(){return Ye?this._set.size:Object.getOwnPropertyNames(this._set).length};Pe.prototype.add=function(e,r){var i=Ye?e:Gr.toSetString(e),s=Ye?this.has(e):Wr.call(this._set,i),n=this._array.length;(!s||r)&&this._array.push(e),s||(Ye?this._set.set(e,n):this._set[i]=n)};Pe.prototype.has=function(e){if(Ye)return this._set.has(e);var r=Gr.toSetString(e);return Wr.call(this._set,r)};Pe.prototype.indexOf=function(e){if(Ye){var r=this._set.get(e);if(r>=0)return r}else{var i=Gr.toSetString(e);if(Wr.call(this._set,i))return this._set[i]}throw new Error('"'+e+'" is not in the set.')};Pe.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Pe.prototype.toArray=function(){return this._array.slice()};yn.ArraySet=Pe});var _n=y(wn=>{var Fn=ot();function oc(t,e){var r=t.generatedLine,i=e.generatedLine,s=t.generatedColumn,n=e.generatedColumn;return i>r||i==r&&n>=s||Fn.compareByGeneratedPositionsInflated(t,e)<=0}function Yt(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Yt.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};Yt.prototype.add=function(e){oc(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Yt.prototype.toArray=function(){return this._sorted||(this._array.sort(Fn.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};wn.MappingList=Yt});var zr=y(bn=>{var Ft=qr(),Z=ot(),Qt=Ur().ArraySet,ac=_n().MappingList;function Ce(t){t||(t={}),this._file=Z.getArg(t,"file",null),this._sourceRoot=Z.getArg(t,"sourceRoot",null),this._skipValidation=Z.getArg(t,"skipValidation",!1),this._sources=new Qt,this._names=new Qt,this._mappings=new ac,this._sourcesContents=null}Ce.prototype._version=3;Ce.fromSourceMap=function(e){var r=e.sourceRoot,i=new Ce({file:e.file,sourceRoot:r});return e.eachMapping(function(s){var n={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(n.source=s.source,r!=null&&(n.source=Z.relative(r,n.source)),n.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(n.name=s.name)),i.addMapping(n)}),e.sources.forEach(function(s){var n=s;r!==null&&(n=Z.relative(r,s)),i._sources.has(n)||i._sources.add(n);var u=e.sourceContentFor(s);u!=null&&i.setSourceContent(s,u)}),i};Ce.prototype.addMapping=function(e){var r=Z.getArg(e,"generated"),i=Z.getArg(e,"original",null),s=Z.getArg(e,"source",null),n=Z.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,i,s,n),s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:s,name:n})};Ce.prototype.setSourceContent=function(e,r){var i=e;this._sourceRoot!=null&&(i=Z.relative(this._sourceRoot,i)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Z.toSetString(i)]=r):this._sourcesContents&&(delete this._sourcesContents[Z.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Ce.prototype.applySourceMap=function(e,r,i){var s=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);s=e.file}var n=this._sourceRoot;n!=null&&(s=Z.relative(n,s));var u=new Qt,o=new Qt;this._mappings.unsortedForEach(function(a){if(a.source===s&&a.originalLine!=null){var l=e.originalPositionFor({line:a.originalLine,column:a.originalColumn});l.source!=null&&(a.source=l.source,i!=null&&(a.source=Z.join(i,a.source)),n!=null&&(a.source=Z.relative(n,a.source)),a.originalLine=l.line,a.originalColumn=l.column,l.name!=null&&(a.name=l.name))}var c=a.source;c!=null&&!u.has(c)&&u.add(c);var h=a.name;h!=null&&!o.has(h)&&o.add(h)},this),this._sources=u,this._names=o,e.sources.forEach(function(a){var l=e.sourceContentFor(a);l!=null&&(i!=null&&(a=Z.join(i,a)),n!=null&&(a=Z.relative(n,a)),this.setSourceContent(a,l))},this)};Ce.prototype._validateMapping=function(e,r,i,s){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!i&&!s)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&i)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:i,original:r,name:s}))}};Ce.prototype._serializeMappings=function(){for(var e=0,r=1,i=0,s=0,n=0,u=0,o="",a,l,c,h,f=this._mappings.toArray(),p=0,D=f.length;p<D;p++){if(l=f[p],a="",l.generatedLine!==r)for(e=0;l.generatedLine!==r;)a+=";",r++;else if(p>0){if(!Z.compareByGeneratedPositionsInflated(l,f[p-1]))continue;a+=","}a+=Ft.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(h=this._sources.indexOf(l.source),a+=Ft.encode(h-u),u=h,a+=Ft.encode(l.originalLine-1-s),s=l.originalLine-1,a+=Ft.encode(l.originalColumn-i),i=l.originalColumn,l.name!=null&&(c=this._names.indexOf(l.name),a+=Ft.encode(c-n),n=c)),o+=a}return o};Ce.prototype._generateSourcesContent=function(e,r){return e.map(function(i){if(!this._sourcesContents)return null;r!=null&&(i=Z.relative(r,i));var s=Z.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)};Ce.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};Ce.prototype.toString=function(){return JSON.stringify(this.toJSON())};bn.SourceMapGenerator=Ce});var vn=y(Qe=>{Qe.GREATEST_LOWER_BOUND=1;Qe.LEAST_UPPER_BOUND=2;function Vr(t,e,r,i,s,n){var u=Math.floor((e-t)/2)+t,o=s(r,i[u],!0);return o===0?u:o>0?e-u>1?Vr(u,e,r,i,s,n):n==Qe.LEAST_UPPER_BOUND?e<i.length?e:-1:u:u-t>1?Vr(t,u,r,i,s,n):n==Qe.LEAST_UPPER_BOUND?u:t<0?-1:t}Qe.search=function(e,r,i,s){if(r.length===0)return-1;var n=Vr(-1,r.length,e,r,i,s||Qe.GREATEST_LOWER_BOUND);if(n<0)return-1;for(;n-1>=0&&i(r[n],r[n-1],!0)===0;)--n;return n}});var Sn=y(xn=>{function Kr(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function lc(t,e){return Math.round(t+Math.random()*(e-t))}function Yr(t,e,r,i){if(r<i){var s=lc(r,i),n=r-1;Kr(t,s,i);for(var u=t[i],o=r;o<i;o++)e(t[o],u)<=0&&(n+=1,Kr(t,n,o));Kr(t,n+1,o);var a=n+1;Yr(t,e,r,a-1),Yr(t,e,a+1,i)}}xn.quickSort=function(t,e){Yr(t,e,0,t.length-1)}});var Rn=y(Xt=>{var x=ot(),Qr=vn(),at=Ur().ArraySet,cc=qr(),wt=Sn().quickSort;function V(t,e){var r=t;return typeof t=="string"&&(r=x.parseSourceMapInput(t)),r.sections!=null?new we(r,e):new ue(r,e)}V.fromSourceMap=function(t,e){return ue.fromSourceMap(t,e)};V.prototype._version=3;V.prototype.__generatedMappings=null;Object.defineProperty(V.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});V.prototype.__originalMappings=null;Object.defineProperty(V.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});V.prototype._charIsMappingSeparator=function(e,r){var i=e.charAt(r);return i===";"||i===","};V.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};V.GENERATED_ORDER=1;V.ORIGINAL_ORDER=2;V.GREATEST_LOWER_BOUND=1;V.LEAST_UPPER_BOUND=2;V.prototype.eachMapping=function(e,r,i){var s=r||null,n=i||V.GENERATED_ORDER,u;switch(n){case V.GENERATED_ORDER:u=this._generatedMappings;break;case V.ORIGINAL_ORDER:u=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;u.map(function(a){var l=a.source===null?null:this._sources.at(a.source);return l=x.computeSourceURL(o,l,this._sourceMapURL),{source:l,generatedLine:a.generatedLine,generatedColumn:a.generatedColumn,originalLine:a.originalLine,originalColumn:a.originalColumn,name:a.name===null?null:this._names.at(a.name)}},this).forEach(e,s)};V.prototype.allGeneratedPositionsFor=function(e){var r=x.getArg(e,"line"),i={source:x.getArg(e,"source"),originalLine:r,originalColumn:x.getArg(e,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var s=[],n=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",x.compareByOriginalPositions,Qr.LEAST_UPPER_BOUND);if(n>=0){var u=this._originalMappings[n];if(e.column===void 0)for(var o=u.originalLine;u&&u.originalLine===o;)s.push({line:x.getArg(u,"generatedLine",null),column:x.getArg(u,"generatedColumn",null),lastColumn:x.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++n];else for(var a=u.originalColumn;u&&u.originalLine===r&&u.originalColumn==a;)s.push({line:x.getArg(u,"generatedLine",null),column:x.getArg(u,"generatedColumn",null),lastColumn:x.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++n]}return s};Xt.SourceMapConsumer=V;function ue(t,e){var r=t;typeof t=="string"&&(r=x.parseSourceMapInput(t));var i=x.getArg(r,"version"),s=x.getArg(r,"sources"),n=x.getArg(r,"names",[]),u=x.getArg(r,"sourceRoot",null),o=x.getArg(r,"sourcesContent",null),a=x.getArg(r,"mappings"),l=x.getArg(r,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);u&&(u=x.normalize(u)),s=s.map(String).map(x.normalize).map(function(c){return u&&x.isAbsolute(u)&&x.isAbsolute(c)?x.relative(u,c):c}),this._names=at.fromArray(n.map(String),!0),this._sources=at.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(c){return x.computeSourceURL(u,c,e)}),this.sourceRoot=u,this.sourcesContent=o,this._mappings=a,this._sourceMapURL=e,this.file=l}ue.prototype=Object.create(V.prototype);ue.prototype.consumer=V;ue.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=x.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};ue.fromSourceMap=function(e,r){var i=Object.create(ue.prototype),s=i._names=at.fromArray(e._names.toArray(),!0),n=i._sources=at.fromArray(e._sources.toArray(),!0);i.sourceRoot=e._sourceRoot,i.sourcesContent=e._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=e._file,i._sourceMapURL=r,i._absoluteSources=i._sources.toArray().map(function(p){return x.computeSourceURL(i.sourceRoot,p,r)});for(var u=e._mappings.toArray().slice(),o=i.__generatedMappings=[],a=i.__originalMappings=[],l=0,c=u.length;l<c;l++){var h=u[l],f=new Bn;f.generatedLine=h.generatedLine,f.generatedColumn=h.generatedColumn,h.source&&(f.source=n.indexOf(h.source),f.originalLine=h.originalLine,f.originalColumn=h.originalColumn,h.name&&(f.name=s.indexOf(h.name)),a.push(f)),o.push(f)}return wt(i.__originalMappings,x.compareByOriginalPositions),i};ue.prototype._version=3;Object.defineProperty(ue.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Bn(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}ue.prototype._parseMappings=function(e,r){for(var i=1,s=0,n=0,u=0,o=0,a=0,l=e.length,c=0,h={},f={},p=[],D=[],d,v,g,w,F;c<l;)if(e.charAt(c)===";")i++,c++,s=0;else if(e.charAt(c)===",")c++;else{for(d=new Bn,d.generatedLine=i,w=c;w<l&&!this._charIsMappingSeparator(e,w);w++);if(v=e.slice(c,w),g=h[v],g)c+=v.length;else{for(g=[];c<w;)cc.decode(e,c,f),F=f.value,c=f.rest,g.push(F);if(g.length===2)throw new Error("Found a source, but no line and column");if(g.length===3)throw new Error("Found a source and line, but no column");h[v]=g}d.generatedColumn=s+g[0],s=d.generatedColumn,g.length>1&&(d.source=o+g[1],o+=g[1],d.originalLine=n+g[2],n=d.originalLine,d.originalLine+=1,d.originalColumn=u+g[3],u=d.originalColumn,g.length>4&&(d.name=a+g[4],a+=g[4])),D.push(d),typeof d.originalLine=="number"&&p.push(d)}wt(D,x.compareByGeneratedPositionsDeflated),this.__generatedMappings=D,wt(p,x.compareByOriginalPositions),this.__originalMappings=p};ue.prototype._findMapping=function(e,r,i,s,n,u){if(e[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[i]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return Qr.search(e,r,n,u)};ue.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var i=this._generatedMappings[e+1];if(r.generatedLine===i.generatedLine){r.lastGeneratedColumn=i.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};ue.prototype.originalPositionFor=function(e){var r={generatedLine:x.getArg(e,"line"),generatedColumn:x.getArg(e,"column")},i=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",x.compareByGeneratedPositionsDeflated,x.getArg(e,"bias",V.GREATEST_LOWER_BOUND));if(i>=0){var s=this._generatedMappings[i];if(s.generatedLine===r.generatedLine){var n=x.getArg(s,"source",null);n!==null&&(n=this._sources.at(n),n=x.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var u=x.getArg(s,"name",null);return u!==null&&(u=this._names.at(u)),{source:n,line:x.getArg(s,"originalLine",null),column:x.getArg(s,"originalColumn",null),name:u}}}return{source:null,line:null,column:null,name:null}};ue.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};ue.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var i=this._findSourceIndex(e);if(i>=0)return this.sourcesContent[i];var s=e;this.sourceRoot!=null&&(s=x.relative(this.sourceRoot,s));var n;if(this.sourceRoot!=null&&(n=x.urlParse(this.sourceRoot))){var u=s.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(u))return this.sourcesContent[this._sources.indexOf(u)];if((!n.path||n.path=="/")&&this._sources.has("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(r)return null;throw new Error('"'+s+'" is not in the SourceMap.')};ue.prototype.generatedPositionFor=function(e){var r=x.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var i={source:r,originalLine:x.getArg(e,"line"),originalColumn:x.getArg(e,"column")},s=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",x.compareByOriginalPositions,x.getArg(e,"bias",V.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===i.source)return{line:x.getArg(n,"generatedLine",null),column:x.getArg(n,"generatedColumn",null),lastColumn:x.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Xt.BasicSourceMapConsumer=ue;function we(t,e){var r=t;typeof t=="string"&&(r=x.parseSourceMapInput(t));var i=x.getArg(r,"version"),s=x.getArg(r,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new at,this._names=new at;var n={line:-1,column:0};this._sections=s.map(function(u){if(u.url)throw new Error("Support for url field in sections not implemented.");var o=x.getArg(u,"offset"),a=x.getArg(o,"line"),l=x.getArg(o,"column");if(a<n.line||a===n.line&&l<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=o,{generatedOffset:{generatedLine:a+1,generatedColumn:l+1},consumer:new V(x.getArg(u,"map"),e)}})}we.prototype=Object.create(V.prototype);we.prototype.constructor=V;we.prototype._version=3;Object.defineProperty(we.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t}});we.prototype.originalPositionFor=function(e){var r={generatedLine:x.getArg(e,"line"),generatedColumn:x.getArg(e,"column")},i=Qr.search(r,this._sections,function(n,u){var o=n.generatedLine-u.generatedOffset.generatedLine;return o||n.generatedColumn-u.generatedOffset.generatedColumn}),s=this._sections[i];return s?s.consumer.originalPositionFor({line:r.generatedLine-(s.generatedOffset.generatedLine-1),column:r.generatedColumn-(s.generatedOffset.generatedLine===r.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};we.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};we.prototype.sourceContentFor=function(e,r){for(var i=0;i<this._sections.length;i++){var s=this._sections[i],n=s.consumer.sourceContentFor(e,!0);if(n)return n}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};we.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var i=this._sections[r];if(i.consumer._findSourceIndex(x.getArg(e,"source"))!==-1){var s=i.consumer.generatedPositionFor(e);if(s){var n={line:s.line+(i.generatedOffset.generatedLine-1),column:s.column+(i.generatedOffset.generatedLine===s.line?i.generatedOffset.generatedColumn-1:0)};return n}}}return{line:null,column:null}};we.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var s=this._sections[i],n=s.consumer._generatedMappings,u=0;u<n.length;u++){var o=n[u],a=s.consumer._sources.at(o.source);a=x.computeSourceURL(s.consumer.sourceRoot,a,this._sourceMapURL),this._sources.add(a),a=this._sources.indexOf(a);var l=null;o.name&&(l=s.consumer._names.at(o.name),this._names.add(l),l=this._names.indexOf(l));var c={source:a,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:l};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}wt(this.__generatedMappings,x.compareByGeneratedPositionsDeflated),wt(this.__originalMappings,x.compareByOriginalPositions)};Xt.IndexedSourceMapConsumer=we});var Ln=y(On=>{var hc=zr().SourceMapGenerator,Zt=ot(),fc=/(\r?\n)/,dc=10,lt="$$$isSourceNode$$$";function ge(t,e,r,i,s){this.children=[],this.sourceContents={},this.line=t==null?null:t,this.column=e==null?null:e,this.source=r==null?null:r,this.name=s==null?null:s,this[lt]=!0,i!=null&&this.add(i)}ge.fromStringWithSourceMap=function(e,r,i){var s=new ge,n=e.split(fc),u=0,o=function(){var f=D(),p=D()||"";return f+p;function D(){return u<n.length?n[u++]:void 0}},a=1,l=0,c=null;return r.eachMapping(function(f){if(c!==null)if(a<f.generatedLine)h(c,o()),a++,l=0;else{var p=n[u]||"",D=p.substr(0,f.generatedColumn-l);n[u]=p.substr(f.generatedColumn-l),l=f.generatedColumn,h(c,D),c=f;return}for(;a<f.generatedLine;)s.add(o()),a++;if(l<f.generatedColumn){var p=n[u]||"";s.add(p.substr(0,f.generatedColumn)),n[u]=p.substr(f.generatedColumn),l=f.generatedColumn}c=f},this),u<n.length&&(c&&h(c,o()),s.add(n.splice(u).join(""))),r.sources.forEach(function(f){var p=r.sourceContentFor(f);p!=null&&(i!=null&&(f=Zt.join(i,f)),s.setSourceContent(f,p))}),s;function h(f,p){if(f===null||f.source===void 0)s.add(p);else{var D=i?Zt.join(i,f.source):f.source;s.add(new ge(f.originalLine,f.originalColumn,D,p,f.name))}}};ge.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[lt]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};ge.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[lt]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};ge.prototype.walk=function(e){for(var r,i=0,s=this.children.length;i<s;i++)r=this.children[i],r[lt]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};ge.prototype.join=function(e){var r,i,s=this.children.length;if(s>0){for(r=[],i=0;i<s-1;i++)r.push(this.children[i]),r.push(e);r.push(this.children[i]),this.children=r}return this};ge.prototype.replaceRight=function(e,r){var i=this.children[this.children.length-1];return i[lt]?i.replaceRight(e,r):typeof i=="string"?this.children[this.children.length-1]=i.replace(e,r):this.children.push("".replace(e,r)),this};ge.prototype.setSourceContent=function(e,r){this.sourceContents[Zt.toSetString(e)]=r};ge.prototype.walkSourceContents=function(e){for(var r=0,i=this.children.length;r<i;r++)this.children[r][lt]&&this.children[r].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),r=0,i=s.length;r<i;r++)e(Zt.fromSetString(s[r]),this.sourceContents[s[r]])};ge.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};ge.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},i=new hc(e),s=!1,n=null,u=null,o=null,a=null;return this.walk(function(l,c){r.code+=l,c.source!==null&&c.line!==null&&c.column!==null?((n!==c.source||u!==c.line||o!==c.column||a!==c.name)&&i.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name}),n=c.source,u=c.line,o=c.column,a=c.name,s=!0):s&&(i.addMapping({generated:{line:r.line,column:r.column}}),n=null,s=!1);for(var h=0,f=l.length;h<f;h++)l.charCodeAt(h)===dc?(r.line++,r.column=0,h+1===f?(n=null,s=!1):s&&i.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name})):r.column++}),this.walkSourceContents(function(l,c){i.setSourceContent(l,c)}),{code:r.code,map:i}};On.SourceNode=ge});var Tn=y(Jt=>{Jt.SourceMapGenerator=zr().SourceMapGenerator;Jt.SourceMapConsumer=Rn().SourceMapConsumer;Jt.SourceNode=Ln().SourceNode});var Pn=y((Pp,Nn)=>{var pc=Object.prototype.toString,Xr=typeof Buffer!="undefined"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function Dc(t){return pc.call(t).slice(8,-1)==="ArrayBuffer"}function gc(t,e,r){e>>>=0;var i=t.byteLength-e;if(i<0)throw new RangeError("'offset' is out of bounds");if(r===void 0)r=i;else if(r>>>=0,r>i)throw new RangeError("'length' is out of bounds");return Xr?Buffer.from(t.slice(e,e+r)):new Buffer(new Uint8Array(t.slice(e,e+r)))}function mc(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!Buffer.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');return Xr?Buffer.from(t,e):new Buffer(t,e)}function Ec(t,e,r){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return Dc(t)?gc(t,e,r):typeof t=="string"?mc(t,e):Xr?Buffer.from(t):new Buffer(t)}Nn.exports=Ec});var Gn=y((Ze,ti)=>{var Cc=Tn().SourceMapConsumer,Zr=require("path"),Re;try{Re=require("fs"),(!Re.existsSync||!Re.readFileSync)&&(Re=null)}catch{}var Ac=Pn();function In(t,e){return t.require(e)}var kn=!1,Mn=!1,Jr=!1,_t="auto",Xe={},bt={},yc=/^data:application\/json[^,]+base64,/,qe=[],je=[];function ri(){return _t==="browser"?!0:_t==="node"?!1:typeof window!="undefined"&&typeof XMLHttpRequest=="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function Fc(){return typeof process=="object"&&process!==null&&typeof process.on=="function"}function wc(){return typeof process=="object"&&process!==null?process.version:""}function _c(){if(typeof process=="object"&&process!==null)return process.stderr}function bc(t){if(typeof process=="object"&&process!==null&&typeof process.exit=="function")return process.exit(t)}function er(t){return function(e){for(var r=0;r<t.length;r++){var i=t[r](e);if(i)return i}return null}}var ii=er(qe);qe.push(function(t){if(t=t.trim(),/^file:/.test(t)&&(t=t.replace(/file:\/\/\/(\w:)?/,function(i,s){return s?"":"/"})),t in Xe)return Xe[t];var e="";try{if(Re)Re.existsSync(t)&&(e=Re.readFileSync(t,"utf8"));else{var r=new XMLHttpRequest;r.open("GET",t,!1),r.send(null),r.readyState===4&&r.status===200&&(e=r.responseText)}}catch{}return Xe[t]=e});function ei(t,e){if(!t)return e;var r=Zr.dirname(t),i=/^\w+:\/\/[^\/]*/.exec(r),s=i?i[0]:"",n=r.slice(s.length);return s&&/^\/\w\:/.test(n)?(s+="/",s+Zr.resolve(r.slice(s.length),e).replace(/\\/g,"/")):s+Zr.resolve(r.slice(s.length),e)}function vc(t){var e;if(ri())try{var r=new XMLHttpRequest;r.open("GET",t,!1),r.send(null),e=r.readyState===4?r.responseText:null;var i=r.getResponseHeader("SourceMap")||r.getResponseHeader("X-SourceMap");if(i)return i}catch{}e=ii(t);for(var s=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg,n,u;u=s.exec(e);)n=u;return n?n[1]:null}var si=er(je);je.push(function(t){var e=vc(t);if(!e)return null;var r;if(yc.test(e)){var i=e.slice(e.indexOf(",")+1);r=Ac(i,"base64").toString(),e=t}else e=ei(t,e),r=ii(e);return r?{url:e,map:r}:null});function ni(t){var e=bt[t.source];if(!e){var r=si(t.source);r?(e=bt[t.source]={url:r.url,map:new Cc(r.map)},e.map.sourcesContent&&e.map.sources.forEach(function(s,n){var u=e.map.sourcesContent[n];if(u){var o=ei(e.url,s);Xe[o]=u}})):e=bt[t.source]={url:null,map:null}}if(e&&e.map&&typeof e.map.originalPositionFor=="function"){var i=e.map.originalPositionFor(t);if(i.source!==null)return i.source=ei(e.url,i.source),i}return t}function Hn(t){var e=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(t);if(e){var r=ni({source:e[2],line:+e[3],column:e[4]-1});return"eval at "+e[1]+" ("+r.source+":"+r.line+":"+(r.column+1)+")"}return e=/^eval at ([^(]+) \((.+)\)$/.exec(t),e?"eval at "+e[1]+" ("+Hn(e[2])+")":t}function xc(){var t,e="";if(this.isNative())e="native";else{t=this.getScriptNameOrSourceURL(),!t&&this.isEval()&&(e=this.getEvalOrigin(),e+=", "),t?e+=t:e+="<anonymous>";var r=this.getLineNumber();if(r!=null){e+=":"+r;var i=this.getColumnNumber();i&&(e+=":"+i)}}var s="",n=this.getFunctionName(),u=!0,o=this.isConstructor(),a=!(this.isToplevel()||o);if(a){var l=this.getTypeName();l==="[object Object]"&&(l="null");var c=this.getMethodName();n?(l&&n.indexOf(l)!=0&&(s+=l+"."),s+=n,c&&n.indexOf("."+c)!=n.length-c.length-1&&(s+=" [as "+c+"]")):s+=l+"."+(c||"<anonymous>")}else o?s+="new "+(n||"<anonymous>"):n?s+=n:(s+=e,u=!1);return u&&(s+=" ("+e+")"),s}function $n(t){var e={};return Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(function(r){e[r]=/^(?:is|get)/.test(r)?function(){return t[r].call(t)}:t[r]}),e.toString=xc,e}function qn(t,e){if(e===void 0&&(e={nextPosition:null,curPosition:null}),t.isNative())return e.curPosition=null,t;var r=t.getFileName()||t.getScriptNameOrSourceURL();if(r){var i=t.getLineNumber(),s=t.getColumnNumber()-1,n=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/,u=n.test(wc())?0:62;i===1&&s>u&&!ri()&&!t.isEval()&&(s-=u);var o=ni({source:r,line:i,column:s});e.curPosition=o,t=$n(t);var a=t.getFunctionName;return t.getFunctionName=function(){return e.nextPosition==null?a():e.nextPosition.name||a()},t.getFileName=function(){return o.source},t.getLineNumber=function(){return o.line},t.getColumnNumber=function(){return o.column+1},t.getScriptNameOrSourceURL=function(){return o.source},t}var l=t.isEval()&&t.getEvalOrigin();return l&&(l=Hn(l),t=$n(t),t.getEvalOrigin=function(){return l}),t}function Sc(t,e){Jr&&(Xe={},bt={});for(var r=t.name||"Error",i=t.message||"",s=r+": "+i,n={nextPosition:null,curPosition:null},u=[],o=e.length-1;o>=0;o--)u.push(`
|
|
15
15
|
at `+qn(e[o],n)),n.nextPosition=n.curPosition;return n.curPosition=n.nextPosition=null,s+u.reverse().join("")}function jn(t){var e=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(t.stack);if(e){var r=e[1],i=+e[2],s=+e[3],n=Xe[r];if(!n&&Re&&Re.existsSync(r))try{n=Re.readFileSync(r,"utf8")}catch{n=""}if(n){var u=n.split(/(?:\r\n|\r|\n)/)[i-1];if(u)return r+":"+i+`
|
|
16
16
|
`+u+`
|
|
17
17
|
`+new Array(s).join(" ")+"^"}}return null}function Bc(t){var e=jn(t),r=_c();r&&r._handle&&r._handle.setBlocking&&r._handle.setBlocking(!0),e&&(console.error(),console.error(e)),console.error(t.stack),bc(1)}function Rc(){var t=process.emit;process.emit=function(e){if(e==="uncaughtException"){var r=arguments[1]&&arguments[1].stack,i=this.listeners(e).length>0;if(r&&!i)return Bc(arguments[1])}return t.apply(this,arguments)}}var Oc=qe.slice(0),Lc=je.slice(0);Ze.wrapCallSite=qn;Ze.getErrorSource=jn;Ze.mapSourcePosition=ni;Ze.retrieveSourceMap=si;Ze.install=function(t){if(t=t||{},t.environment&&(_t=t.environment,["node","browser","auto"].indexOf(_t)===-1))throw new Error("environment "+_t+" was unknown. Available options are {auto, browser, node}");if(t.retrieveFile&&(t.overrideRetrieveFile&&(qe.length=0),qe.unshift(t.retrieveFile)),t.retrieveSourceMap&&(t.overrideRetrieveSourceMap&&(je.length=0),je.unshift(t.retrieveSourceMap)),t.hookRequire&&!ri()){var e=In(ti,"module"),r=e.prototype._compile;r.__sourceMapSupport||(e.prototype._compile=function(n,u){return Xe[u]=n,bt[u]=void 0,r.call(this,n,u)},e.prototype._compile.__sourceMapSupport=!0)}if(Jr||(Jr="emptyCacheBetweenOperations"in t?t.emptyCacheBetweenOperations:!1),kn||(kn=!0,Error.prepareStackTrace=Sc),!Mn){var i="handleUncaughtExceptions"in t?t.handleUncaughtExceptions:!0;try{var s=In(ti,"worker_threads");s.isMainThread===!1&&(i=!1)}catch{}i&&Fc()&&(Mn=!0,Rc())}};Ze.resetRetrieveHandlers=function(){qe.length=0,je.length=0,qe=Oc.slice(0),je=Lc.slice(0),si=er(je),ii=er(qe)}});var Un=y((Ip,Wn)=>{"use strict";var Tc=require("https");Wn.exports=(t,e)=>{e=typeof e=="undefined"?1/0:e;let r=new Map,i=!1,s=!0;return t instanceof Tc.Server?t.on("secureConnection",n):t.on("connection",n),t.on("request",u),t.stop=o,t._pendingSockets=r,t;function n(c){r.set(c,0),c.once("close",()=>r.delete(c))}function u(c,h){r.set(c.socket,r.get(c.socket)+1),h.once("finish",()=>{let f=r.get(c.socket)-1;r.set(c.socket,f),i&&f===0&&c.socket.end()})}function o(c){setImmediate(()=>{i=!0,e<1/0&&setTimeout(l,e).unref(),t.close(h=>{c&&c(h,s)}),r.forEach(a)})}function a(c,h){c===0&&h.end()}function l(){s=!1,r.forEach((c,h)=>h.end()),setImmediate(()=>{r.forEach((c,h)=>h.destroy())})}}});var Yn=y((kp,vt)=>{"use strict";var Nc=typeof process!="undefined"&&process.env.TERM_PROGRAM==="Hyper",Pc=typeof process!="undefined"&&process.platform==="win32",zn=typeof process!="undefined"&&process.platform==="linux",ui={ballotDisabled:"\u2612",ballotOff:"\u2610",ballotOn:"\u2611",bullet:"\u2022",bulletWhite:"\u25E6",fullBlock:"\u2588",heart:"\u2764",identicalTo:"\u2261",line:"\u2500",mark:"\u203B",middot:"\xB7",minus:"\uFF0D",multiplication:"\xD7",obelus:"\xF7",pencilDownRight:"\u270E",pencilRight:"\u270F",pencilUpRight:"\u2710",percent:"%",pilcrow2:"\u2761",pilcrow:"\xB6",plusMinus:"\xB1",question:"?",section:"\xA7",starsOff:"\u2606",starsOn:"\u2605",upDownArrow:"\u2195"},Vn=Object.assign({},ui,{check:"\u221A",cross:"\xD7",ellipsisLarge:"...",ellipsis:"...",info:"i",questionSmall:"?",pointer:">",pointerSmall:"\xBB",radioOff:"( )",radioOn:"(*)",warning:"\u203C"}),Kn=Object.assign({},ui,{ballotCross:"\u2718",check:"\u2714",cross:"\u2716",ellipsisLarge:"\u22EF",ellipsis:"\u2026",info:"\u2139",questionFull:"\uFF1F",questionSmall:"\uFE56",pointer:zn?"\u25B8":"\u276F",pointerSmall:zn?"\u2023":"\u203A",radioOff:"\u25EF",radioOn:"\u25C9",warning:"\u26A0"});vt.exports=Pc&&!Nc?Vn:Kn;Reflect.defineProperty(vt.exports,"common",{enumerable:!1,value:ui});Reflect.defineProperty(vt.exports,"windows",{enumerable:!1,value:Vn});Reflect.defineProperty(vt.exports,"other",{enumerable:!1,value:Kn})});var _e=y((Mp,oi)=>{"use strict";var Ic=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),kc=/[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g,Mc=()=>typeof process!="undefined"?process.env.FORCE_COLOR!=="0":!1,Qn=()=>{let t={enabled:Mc(),visible:!0,styles:{},keys:{}},e=n=>{let u=n.open=`\x1B[${n.codes[0]}m`,o=n.close=`\x1B[${n.codes[1]}m`,a=n.regex=new RegExp(`\\u001b\\[${n.codes[1]}m`,"g");return n.wrap=(l,c)=>{l.includes(o)&&(l=l.replace(a,o+u));let h=u+l+o;return c?h.replace(/\r*\n/g,`${o}$&${u}`):h},n},r=(n,u,o)=>typeof n=="function"?n(u):n.wrap(u,o),i=(n,u)=>{if(n===""||n==null)return"";if(t.enabled===!1)return n;if(t.visible===!1)return"";let o=""+n,a=o.includes(`
|
|
@@ -36,7 +36,9 @@ class Fixture {
|
|
|
36
36
|
const title = this.registration.customTitle || this.registration.name;
|
|
37
37
|
const location = isUserFixture ? this.registration.location : void 0;
|
|
38
38
|
this._stepInfo = { title: `Fixture ${(0, import_utils.escapeWithQuotes)(title, '"')}`, category: "fixture", location };
|
|
39
|
-
if (this.registration.box)
|
|
39
|
+
if (this.registration.box === "self")
|
|
40
|
+
this._stepInfo = void 0;
|
|
41
|
+
else if (this.registration.box)
|
|
40
42
|
this._stepInfo.group = isUserFixture ? "configuration" : "internal";
|
|
41
43
|
this._setupDescription = {
|
|
42
44
|
title,
|
|
@@ -55,9 +57,11 @@ class Fixture {
|
|
|
55
57
|
this.value = this.registration.fn;
|
|
56
58
|
return;
|
|
57
59
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
const run = () => testInfo._runWithTimeout({ ...runnable, fixture: this._setupDescription }, () => this._setupInternal(testInfo));
|
|
61
|
+
if (this._stepInfo)
|
|
62
|
+
await testInfo._runAsStep(this._stepInfo, run);
|
|
63
|
+
else
|
|
64
|
+
await run();
|
|
61
65
|
}
|
|
62
66
|
async _setupInternal(testInfo) {
|
|
63
67
|
const params = {};
|
|
@@ -106,9 +110,11 @@ class Fixture {
|
|
|
106
110
|
try {
|
|
107
111
|
const fixtureRunnable = { ...runnable, fixture: this._teardownDescription };
|
|
108
112
|
if (!testInfo._timeoutManager.isTimeExhaustedFor(fixtureRunnable)) {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
113
|
+
const run = () => testInfo._runWithTimeout(fixtureRunnable, () => this._teardownInternal());
|
|
114
|
+
if (this._stepInfo)
|
|
115
|
+
await testInfo._runAsStep(this._stepInfo, run);
|
|
116
|
+
else
|
|
117
|
+
await run();
|
|
112
118
|
}
|
|
113
119
|
} finally {
|
|
114
120
|
for (const dep of this._deps)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright",
|
|
3
|
-
"version": "1.56.0-alpha-
|
|
3
|
+
"version": "1.56.0-alpha-1757023974000",
|
|
4
4
|
"description": "A high-level API to automate web browsers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"license": "Apache-2.0",
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"playwright-core": "1.56.0-alpha-
|
|
67
|
+
"playwright-core": "1.56.0-alpha-1757023974000"
|
|
68
68
|
},
|
|
69
69
|
"optionalDependencies": {
|
|
70
70
|
"fsevents": "2.3.2"
|
package/types/test.d.ts
CHANGED
|
@@ -6574,13 +6574,13 @@ export type WorkerFixture<R, Args extends {}> = (args: Args, use: (r: R) => Prom
|
|
|
6574
6574
|
type TestFixtureValue<R, Args extends {}> = Exclude<R, Function> | TestFixture<R, Args>;
|
|
6575
6575
|
type WorkerFixtureValue<R, Args extends {}> = Exclude<R, Function> | WorkerFixture<R, Args>;
|
|
6576
6576
|
export type Fixtures<T extends {} = {}, W extends {} = {}, PT extends {} = {}, PW extends {} = {}> = {
|
|
6577
|
-
[K in keyof PW]?: WorkerFixtureValue<PW[K], W & PW> | [WorkerFixtureValue<PW[K], W & PW>, { scope: 'worker', timeout?: number | undefined, title?: string, box?: boolean }];
|
|
6577
|
+
[K in keyof PW]?: WorkerFixtureValue<PW[K], W & PW> | [WorkerFixtureValue<PW[K], W & PW>, { scope: 'worker', timeout?: number | undefined, title?: string, box?: boolean | 'self' }];
|
|
6578
6578
|
} & {
|
|
6579
|
-
[K in keyof PT]?: TestFixtureValue<PT[K], T & W & PT & PW> | [TestFixtureValue<PT[K], T & W & PT & PW>, { scope: 'test', timeout?: number | undefined, title?: string, box?: boolean }];
|
|
6579
|
+
[K in keyof PT]?: TestFixtureValue<PT[K], T & W & PT & PW> | [TestFixtureValue<PT[K], T & W & PT & PW>, { scope: 'test', timeout?: number | undefined, title?: string, box?: boolean | 'self' }];
|
|
6580
6580
|
} & {
|
|
6581
|
-
[K in Exclude<keyof W, keyof PW | keyof PT>]?: [WorkerFixtureValue<W[K], W & PW>, { scope: 'worker', auto?: boolean, option?: boolean, timeout?: number | undefined, title?: string, box?: boolean }];
|
|
6581
|
+
[K in Exclude<keyof W, keyof PW | keyof PT>]?: [WorkerFixtureValue<W[K], W & PW>, { scope: 'worker', auto?: boolean, option?: boolean, timeout?: number | undefined, title?: string, box?: boolean | 'self' }];
|
|
6582
6582
|
} & {
|
|
6583
|
-
[K in Exclude<keyof T, keyof PW | keyof PT>]?: TestFixtureValue<T[K], T & W & PT & PW> | [TestFixtureValue<T[K], T & W & PT & PW>, { scope?: 'test', auto?: boolean, option?: boolean, timeout?: number | undefined, title?: string, box?: boolean }];
|
|
6583
|
+
[K in Exclude<keyof T, keyof PW | keyof PT>]?: TestFixtureValue<T[K], T & W & PT & PW> | [TestFixtureValue<T[K], T & W & PT & PW>, { scope?: 'test', auto?: boolean, option?: boolean, timeout?: number | undefined, title?: string, box?: boolean | 'self' }];
|
|
6584
6584
|
};
|
|
6585
6585
|
|
|
6586
6586
|
type BrowserName = 'chromium' | 'firefox' | 'webkit';
|