@fluid-topics/ft-wc-test-utils 1.3.30 → 1.3.32
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.
|
@@ -14,4 +14,5 @@ export declare class FtLitElementTestHelper<T extends FtLitElement> {
|
|
|
14
14
|
protected matches<E extends HTMLElement>(selector: Optional<string>, matcher: (e: E) => boolean): boolean;
|
|
15
15
|
protected getTarget<E extends HTMLElement>(selector?: Optional<string>): Optional<E>;
|
|
16
16
|
protected removeWhiteSpaces(text: string): string;
|
|
17
|
+
private describe;
|
|
17
18
|
}
|
|
@@ -16,19 +16,19 @@ export class FtLitElementTestHelper {
|
|
|
16
16
|
return [...this.element.shadowRoot.querySelectorAll(selector)];
|
|
17
17
|
}
|
|
18
18
|
async shouldBeHidden(selector) {
|
|
19
|
-
await waitUntil(() => this.matches(selector, (target) =>
|
|
19
|
+
await waitUntil(() => this.matches(selector, (target) => !target.checkVisibility()), `${this.describe(selector)} should be hidden`);
|
|
20
20
|
}
|
|
21
21
|
async shouldBeVisible(selector) {
|
|
22
|
-
await waitUntil(() => this.matches(selector, (target) =>
|
|
22
|
+
await waitUntil(() => this.matches(selector, (target) => target.checkVisibility()), `${this.describe(selector)} should be visible`);
|
|
23
23
|
}
|
|
24
24
|
async shouldNotBeEmpty(selector) {
|
|
25
|
-
await waitUntil(() => this.matches(selector, (target) => { var _a; return ((_a = target.textContent) !== null && _a !== void 0 ? _a : "").trim() !== ""; }),
|
|
25
|
+
await waitUntil(() => this.matches(selector, (target) => { var _a; return ((_a = target.textContent) !== null && _a !== void 0 ? _a : "").trim() !== ""; }), `${this.describe(selector)} should have had text`);
|
|
26
26
|
}
|
|
27
27
|
async shouldHaveAttribute(selector, attribute, value) {
|
|
28
|
-
await waitUntil(() => this.matches(selector, (target) => target.getAttribute(attribute) === value),
|
|
28
|
+
await waitUntil(() => this.matches(selector, (target) => target.getAttribute(attribute) === value), `${this.describe(selector)} should have had attribute "${attribute}" with value "${value}" but was "${this.getTarget(selector).getAttribute(attribute)}"`);
|
|
29
29
|
}
|
|
30
30
|
async shouldHaveTextIgnoringWhiteSpaces(selector, expectedText) {
|
|
31
|
-
await waitUntil(() => this.matches(selector, (target) => { var _a; return this.removeWhiteSpaces((_a = target.textContent) !== null && _a !== void 0 ? _a : "") === this.removeWhiteSpaces(expectedText); }),
|
|
31
|
+
await waitUntil(() => this.matches(selector, (target) => { var _a; return this.removeWhiteSpaces((_a = target.textContent) !== null && _a !== void 0 ? _a : "") === this.removeWhiteSpaces(expectedText); }), `${this.describe(selector)} should have had text "${expectedText}" but was "${this.getTarget(selector).textContent}"`);
|
|
32
32
|
}
|
|
33
33
|
matches(selector, matcher) {
|
|
34
34
|
const target = this.getTarget(selector);
|
|
@@ -40,4 +40,7 @@ export class FtLitElementTestHelper {
|
|
|
40
40
|
removeWhiteSpaces(text) {
|
|
41
41
|
return text.trim().replace(/\s+/g, "-");
|
|
42
42
|
}
|
|
43
|
+
describe(selector) {
|
|
44
|
+
return `Element <${selector !== null && selector !== void 0 ? selector : this.element.constructor.name}>`;
|
|
45
|
+
}
|
|
43
46
|
}
|
|
@@ -33,7 +33,7 @@ ${F()}`}return le}function ot(K){d+=`${F()}<${L(K)}${We(K)}>
|
|
|
33
33
|
`)}function G(K){v.includes(L(K))||K instanceof Element&&B(K)}let ue;if(typeof P=="string")ue=document.createElement("diff-container"),ue.innerHTML=P,h=-1;else if(P instanceof Node)ue=P,h=0;else throw new Error(`Cannot create diffable HTML from: ${P}`);let ce=document.createTreeWalker(ue,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null,!1);for(;ce.currentNode;){let K=ce.currentNode;if(Q(K,ce),W(K)&&ce.firstChild())h+=1;else if(G(K),!ce.nextSibling()){h-=1;let he=ce.parentNode();if(!he)break;f.add(he)}}return d}function Xf(P){return P&&P!==null&&typeof P=="object"&&("ignoreAttributes"in P||"ignoreTags"in P||"ignoreChildren"in P||"stripEmptyAttributes"in P)}var Dw="wtr-session-id",Zf=new URL(window.location.href).searchParams.get(Dw);function bl(P){return P!=null&&typeof P=="object"}async function yl(P,y,A){if(typeof Zf!="string")throw new Error("Unable to execute server commands in a browser not controlled by the test runner. Use the debug option from the watch menu to debug in a controlled browser.");let E;try{({sendMessageWaitForResponse:E}=await import("/__web-dev-server__web-socket.js"))}catch{throw new Error("Could not setup web socket connection. Are you executing this test through Web Test Runner?")}try{let v=await E({type:"wtr-command",sessionId:Zf,command:P,payload:y});if(!v.executed){let O;throw A?O=`Unknown command ${P}. Add the ${A} to your config.`:O=`Unknown command ${P}. Did you install a plugin to handle this command?`,new Error(O)}return v.result}catch(v){throw new Error(`Error while executing command ${P}${y?` with payload ${JSON.stringify(y)}`:""}: ${v.message}`)}}var gl,Ai;async function Jf(){return gl||(gl=await yl("get-snapshot-config",void 0,"snapshotPlugin from @web/test-runner-commands")),gl}var xw=/snapshots\[[^\]]+] = (\n)?(?<content>`[^`]*`)/gm,Ew=P=>([...P.matchAll(xw)].forEach(({groups:{content:y}})=>{P=P.replaceAll(y,encodeURIComponent(y))}),P);async function Qf({cache:P=!0}={}){if(P&&Ai)return Ai;let y=await yl("get-snapshots",void 0,"snapshotPlugin from @web/test-runner-commands");if(typeof y?.content!="string")throw new Error("Expected a result as string");let E=await import(`data:text/javascript;charset=utf-8,${`${Ew(y.content)}/* ${Math.random()} */`}`);if(!E||!bl(E.snapshots))throw new Error("Expected snapshot result to be a module that exports an object.");return Ai=E.snapshots,Ai}async function eh(P){if(!bl(P))throw new Error("You must provide a payload object");if(typeof P.name!="string")throw new Error("You must provide a snapshot name");return(await Qf(P))[P.name]}async function th(P){if(!bl(P))throw new Error("You must provide a payload object");if(typeof P.name!="string")throw new Error("You must provide a snapshot name");if(P.content!==void 0&&typeof P.content!="string")throw new Error("You must provide a snapshot content");let y=await Qf();return y[P.name]=P.content,yl("save-snapshot",P,"snapshotPlugin from @web/test-runner-commands")}var nh=P=>{if(window.ShadyCSS&&window.ShadyCSS.nativeShadow===!1){let y=P.tagName.toLowerCase(),A=" ";return Array.prototype.slice.call(P.attributes).forEach(E=>{A+=`${E.name}="${E.value}" `}),A=A.slice(0,-1),`<${y}${A}>${P.innerHTML}</${y}>`}return P.outerHTML},rh=P=>{if(window.ShadyCSS&&window.ShadyCSS.nativeShadow===!1){let y=P.tagName.toLowerCase(),A=new RegExp(y,"g"),E=P.shadowRoot.innerHTML;return E=E.replace(/style-scope/g,""),E=E.replace(A,""),E=E.replace(/(class=".*?)(\s)*"/g,'$1"'),E=E.replace(/ class="\w?"/g,""),E}return P.shadowRoot.innerHTML};function vl(P){let y=[],A;for(P.type==="hook"?A=P.ctx.currentTest:A=P;A&&A.parent;)A.title&&y.push(A.title),A=A.parent;return y.reverse()}function wl(...P){switch(P.length){case 2:{let[y,A]=P;return{message:y,options:A}}case 1:{let[y]=P;return Xf(y)?{options:y}:{message:y}}default:return{}}}var Dl=(P,y)=>{P.Assertion.addProperty("lightDom",function(){new P.Assertion(this._obj.nodeType).to.equal(1),y.flag(this,"lightDom",!0)}),P.Assertion.addProperty("shadowDom",function(){new P.Assertion(this._obj.nodeType).to.equal(1),y.flag(this,"shadowDom",!0)}),P.Assertion.addProperty("dom",function(){new P.Assertion(this._obj.nodeType).to.equal(1),y.flag(this,"dom",!0)});let A=f=>nh(f),E=f=>f.innerHTML,v=f=>rh(f),O=(f,b,F,...j)=>{let{message:L,options:W}=wl(...j),ne=new P.Assertion(Dr(f,W),L),se=Dr(b,W);F?ne.not.equal(se,L):ne.equal(se,L)},T=f=>function(F,...j){if(y.flag(this,"lightDom")||y.flag(this,"shadowDom")||y.flag(this,"dom")){let L;y.flag(this,"lightDom")?L=E(this._obj):y.flag(this,"shadowDom")?L=v(this._obj):L=A(this._obj),O(L,F,y.flag(this,"negate"),j[0])}else f.apply(this,[F,...j])};P.Assertion.overwriteMethod("equals",T),P.Assertion.overwriteMethod("equal",T),P.Assertion.overwriteMethod("eq",T);function w(f,b,...F){let j=window.__mocha_context__,L=window.__snapshot__,{message:W,options:ne}=wl(...F),{index:se}=j;j.index+=1;let me=vl(j.runnable),Fe=Dr(f,ne);if(L.update)L.set(me,se,Fe,"html");else{let ze=L.get(me,se);if(!ze)L.set(me,se,Fe,"html");else{let We=L.match(Fe,Dr(ze.code,ne));if(We&&b||!We&&!b)throw new P.AssertionError(W||`Received value does not match stored snapshot ${se}`,{actual:Fe,expected:ze.code,showDiff:!0},P.util.flag(this,"ssfi"))}}}async function I(f,b,...F){let{message:j,options:L}=wl(...F),ne=vl(window.__WTR_MOCHA_RUNNER__.test).join(" "),se=Dr(f,L),me=await eh({name:ne}),Fe=await Jf();if(me&&!Fe.updateSnapshots){if(b?me===se:me!==se)throw new P.AssertionError(j||`Snapshot ${ne} does not match the saved snapshot on disk`,{actual:se,expected:me,showDiff:!0},P.util.flag(this,"ssfi"))}else me!==se&&await th({name:ne,content:se})}function d(f,b,...F){if(window.__mocha_context__&&window.__snapshot__)return w.call(this,f,b,...F);if(window.__WTR_MOCHA_RUNNER__)return I.call(this,f,b,...F);throw new Error("Could not detect test runner environment. Snapshots require either Web Test Runner with mocha, or Karma with mocha and karma mocha snapshot")}function h(f){let b=P.util.flag(this,"object"),F;return y.flag(this,"shadowDom")?F=v(b):y.flag(this,"lightDom")?F=E(b):F=b,d.call(this,F,y.flag(this,"negate"),f)}y.addMethod(P.Assertion.prototype,"equalSnapshot",h),y.addMethod(P.Assertion.prototype,"notEqualSnapshot",h),y.addMethod(P.assert,"equalSnapshot",d),y.addMethod(P.assert,"notEqualSnapshot",d),P.assert.dom={equal(f,b,...F){return O.call(this,A(f),b,!1,...F)},notEqual(f,b,...F){return O.call(this,A(f),b,!0,...F)},equalSnapshot(f,...b){return d.call(this,f,!1,...b)},notEqualSnapshot(f,...b){return d.call(this,f,!0,...b)}},P.assert.lightDom={equal(f,b,...F){return O.call(this,E(f),b,!1,...F)},notEqual(f,b,...F){return O.call(this,E(f),b,!0,...F)},equalSnapshot(f,...b){return d.call(this,E(f),!1,...b)},notEqualSnapshot(f,...b){return d.call(this,E(f),!0,...b)}},P.assert.shadowDom={equal(f,b,...F){return O.call(this,v(f),b,!1,...F)},notEqual(f,b,...F){return O.call(this,v(f),b,!0,...F)},equalSnapshot(f,...b){return d.call(this,v(f),!1,...b)},notEqualSnapshot(f,...b){return d.call(this,v(f),!0,...b)}}};var Zr;async function oh(){if(window.axe){Zr=window.axe;return}if(typeof hl=="function"){Zr=xl();return}if(await Promise.resolve().then(()=>Di(xl(),1)),!window.axe)throw new Error("Error importing axe-core/axe.min.js, are you using a bundler or build tool that doesnt handle es modules?");Zr=window.axe}function Aw(P){if(!P||!P.length)return;let y={};return P.forEach(A=>{y[A]={enabled:!1}}),y}async function Fw(P,y){return Zr||await oh(),new Promise((A,E)=>{Zr.run(P,y,(v,O)=>{v?E(new Error(v)):A(O)})})}function Cw(P,y,A){let{violations:E}=y;if(E.length&&P){A();return}if(!E.length&&!P){A();return}let v=[];E.length&&(v[v.length]="Accessibility Violations",v[v.length]="---",E.forEach(T=>{v[v.length]=`Rule: ${T.id}`,v[v.length]=`Impact: ${T.impact}`,v[v.length]=`${T.help} (${T.helpUrl})`,T.nodes.forEach(w=>{v[v.length]="",w.target&&(v[v.length]=`Issue target: ${w.target}`),v[v.length]=`Context: ${w.html}`,w.failureSummary&&(v[v.length]=`${w.failureSummary}`)}),v[v.length]="---"}));let O=new Error(v.join(`
|
|
34
34
|
`));throw A(O),O}var El=(P,y)=>{let{assert:A}=P;y.addMethod(P.Assertion.prototype,"accessible",function(v){let O=this._obj,T=v||{},w=Aw(T.ignoredRules),I={resultTypes:["violations"]};w&&(I.rules=w);let d=T.done?T.done:void 0;d||(d=()=>{}),T.ignoredTags&&O.parentNode.querySelectorAll(T.ignoredTags.toString()).forEach(b=>b.setAttribute("aria-hidden",!0));let h=Fw(O,I).then(f=>Cw(y.flag(this,"negate"),f,d));return this.then=h.then.bind(h),this}),A.isAccessible=function(v,O){return new P.Assertion(v).to.be.accessible(O)},A.isNotAccessible=function(v,O){return new P.Assertion(v).not.to.be.accessible(O)}};function Nw(P){var y={exports:{}};return P(y,y.exports),y.exports}function kw(P){throw new Error('Could not dynamically require "'+P+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Tw=Nw(function(P,y){(function(A){typeof kw=="function"?P.exports=A:chai.use(A)})(function(A,E){var v=E.flag,O=function(d){var h;return I(d)?d.length===0?"empty NodeList":(h=Array.prototype.slice.call(d,0,5).map(O).join(", "),d.length>5?h+"... (+"+(d.length-5)+" more)":h):w(d)?(h=d.tagName.toLowerCase(),d.id&&(h+="#"+d.id),d.className&&(h+="."+String(d.className).replace(/\s+/g,".")),Array.prototype.forEach.call(d.attributes,function(f){f.name!=="class"&&f.name!=="id"&&(h+="["+f.name+(f.value?'="'+f.value+'"]':"]"))}),h):String(d)},T=function(d,h){var f=v(this,"object"),b=f.getAttribute(d);(!v(this,"negate")||h===void 0)&&this.assert(!!f.attributes[d],"expected "+O(f)+" to have an attribute #{exp}","expected "+O(f)+" not to have an attribute #{exp}",d),h!==void 0&&this.assert(h===b,"expected "+O(f)+" to have an attribute "+E.inspect(d)+" with the value #{exp}, but the value was #{act}","expected "+O(f)+" not to have an attribute "+E.inspect(d)+" with the value #{act}",h,b),v(this,"object",b)},w=function(d){return d.nodeType===1},I=function(d){return Object.prototype.toString.call(d)==="[object NodeList]"};E.elToString=O,A.Assertion.addMethod("attr",T),A.Assertion.addMethod("attribute",T),A.Assertion.addMethod("class",function(d){var h=v(this,"object");this.assert(h.classList.contains(d),"expected "+O(h)+" to have class #{exp}","expected "+O(h)+" not to have class #{exp}",d)}),A.Assertion.addMethod("id",function(d){var h=v(this,"object");this.assert(h.id==d,"expected "+O(h)+" to have id #{exp}","expected "+O(h)+" not to have id #{exp}",d)}),A.Assertion.addMethod("html",function(d){var h=v(this,"object"),f=v(this,"object").innerHTML;v(this,"contains")?this.assert(f.indexOf(d)>=0,"expected #{act} to contain HTML #{exp}","expected #{act} not to contain HTML #{exp}",d,f):this.assert(f===d,"expected "+O(h)+" to have HTML #{exp}, but the HTML was #{act}","expected "+O(h)+" not to have HTML #{exp}",d,f)}),A.Assertion.addChainableMethod("trimmed",null,function(){v(this,"trim-text",!0)}),A.Assertion.addProperty("rendered",function(){v(this,"rendered-text",!0)}),A.Assertion.addMethod("text",function(d){var h=v(this,"object"),f=v(this,"contains"),b=v(this,"trim-text"),F,j,L=v(this,"rendered-text")?"innerText":"textContent";I(h)?(F=Array.prototype.map.call(h,function(se){return b?se[L].trim():se[L]}),Array.isArray(d)?(j=f?d[v(this,"negate")?"some":"every"](function(se){return Array.prototype.some.call(h,function(me){return(b?me[L].trim():me[L])===se})}):E.eql(F,d),F=F.join(),d=d.join()):(F=F.join(""),j=f?F.indexOf(d)>=0:F===d)):(F=b?h[L].trim():h[L],j=f?F.indexOf(d)>=0:F===d);var W=O(h),ne="";b&&(ne+="trimmed "),v(this,"rendered-text")&&(ne+="rendered "),ne+="text",f?this.assert(j,"expected "+W+" to contain #{exp}, but the "+ne+" was #{act}","expected "+W+" not to contain #{exp}, but the "+ne+" was #{act}",d,F):this.assert(j,"expected "+W+" to have "+ne+" #{exp}, but the "+ne+" was #{act}","expected "+W+" not to have "+ne+" #{exp}",d,F)}),A.Assertion.addMethod("value",function(d){var h=v(this,"object"),f=v(this,"object").value;this.assert(v(this,"object").value===d,"expected "+O(h)+" to have value #{exp}, but the value was #{act}","expected "+O(h)+" not to have value #{exp}",d,f)}),A.Assertion.overwriteProperty("exist",function(d){return function(){var h=v(this,"object");I(h)?this.assert(h.length>0,"expected an empty NodeList to have nodes","expected "+O(h)+" to not exist"):d.apply(this,arguments)}}),A.Assertion.overwriteProperty("empty",function(d){return function(){var h=v(this,"object");w(h)?this.assert(h.children.length===0,"expected "+O(h)+" to be empty","expected "+O(h)+" to not be empty"):I(h)?this.assert(h.length===0,"expected "+O(h)+" to be empty","expected "+O(h)+" to not be empty"):d.apply(this,arguments)}}),A.Assertion.overwriteChainableMethod("length",function(d){return function(h){var f=v(this,"object");if(I(f)||w(f)){var b=f.children?f.children.length:f.length;this.assert(b===h,"expected "+O(f)+" to have #{exp} children but it had #{act} children","expected "+O(f)+" to not have #{exp} children",h,b)}else d.apply(this,arguments)}},function(d){return function(){d.call(this)}}),A.Assertion.overwriteMethod("match",function(d){return function(h){var f=v(this,"object");w(f)?this.assert(f.matches(h),"expected "+O(f)+" to match #{exp}","expected "+O(f)+" to not match #{exp}",h):I(f)?this.assert(!!f.length&&Array.prototype.every.call(f,function(b){return b.matches(h)}),"expected "+O(f)+" to match #{exp}","expected "+O(f)+" to not match #{exp}",h):d.apply(this,arguments)}}),A.Assertion.overwriteChainableMethod("contain",function(d){return function(h){var f=v(this,"object");w(f)?typeof h=="string"?this.assert(!!f.querySelector(h),"expected "+O(f)+" to contain #{exp}","expected "+O(f)+" to not contain #{exp}",h):this.assert(f.contains(h),"expected "+O(f)+" to contain "+O(h),"expected "+O(f)+" to not contain "+O(h)):d.apply(this,arguments)}},function(d){return function(){d.call(this)}}),A.Assertion.addMethod("descendant",function(d){var h=v(this,"object"),f=d;typeof d=="string"?(f=h.querySelector(d),this.assert(!!f,"expected "+O(h)+" to have descendant #{exp}","expected "+O(h)+" to not have descendant #{exp}",d)):this.assert(h.contains(d),"expected "+O(h)+" to contain "+O(d),"expected "+O(h)+" to not contain "+O(d)),v(this,"object",f)}),A.Assertion.addMethod("descendants",function(d){var h=v(this,"object"),f=h.querySelectorAll(d);this.assert(!!f.length,"expected "+O(h)+" to have descendants #{exp}","expected "+O(h)+" to not have descendants #{exp}",d),v(this,"object",f)}),A.Assertion.addProperty("displayed",function(){var d=v(this,"object"),h=document.body.contains(d)?window.getComputedStyle(d).display:d.style.display;this.assert(h!=="none","expected "+O(d)+" to be displayed, but it was not","expected "+O(d)+" to not be displayed, but it was as "+h,h)}),A.Assertion.addProperty("visible",function(){var d=v(this,"object"),h=document.body.contains(d)?window.getComputedStyle(d).visibility:d.style.visibility;this.assert(h!=="hidden"&&h!=="collapse","expected "+O(d)+" to be visible, but it was "+(h==="hidden"?"hidden":"collapsed"),"expected "+O(d)+" to not be visible, but it was",h)}),A.Assertion.addMethod("tagName",function(d){var h=v(this,"object"),f=h.tagName;this.assert(f.toUpperCase()===d.toUpperCase(),"expected "+O(h)+" to have tagName "+d+", but it was "+f,"expected "+O(h)+" to not have tagName "+d+", but it was "+f,f)}),A.Assertion.addMethod("style",function(d,h){var f=v(this,"object"),b=window.getComputedStyle(f),F=b[d];this.assert(F===h,"expected "+O(f)+" to have style property "+d+" equal to "+h+", but it was equal to "+F,"expected "+O(f)+" to not have style property "+d+" equal to "+h+", but it was equal to "+F,F)})})}),ih=Tw;function Sw(P){var y={exports:{}};return P(y,y.exports),y.exports}function Ow(P){throw new Error('Could not dynamically require "'+P+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Rw=Sw(function(P,y){(function(A){typeof Ow=="function"?P.exports=A:chai.use(A)})(function(A,E){var v=Array.prototype.slice;function O(W){return typeof W=="function"&&typeof W.getCall=="function"&&typeof W.calledWithExactly=="function"}function T(W){switch(W){case 1:return"once";case 2:return"twice";case 3:return"thrice";default:return(W||0)+" times"}}function w(W){return W&&O(W.proxy)}function I(W){if(!O(W._obj)&&!w(W._obj))throw new TypeError(E.inspect(W._obj)+" is not a spy or a call to a spy!")}function d(W,ne,se,me,Fe){var ze=me?"always have ":"have ";se=se||"",O(W.proxy)&&(W=W.proxy);function We(ot){return W.printf.apply(W,ot)}return{affirmative:function(){return We(["expected %n to "+ze+ne+se].concat(Fe))},negative:function(){return We(["expected %n to not "+ze+ne].concat(Fe))}}}function h(W,ne,se){E.addProperty(A.Assertion.prototype,W,function(){I(this);var me=d(this._obj,ne,se,!1);this.assert(this._obj[W],me.affirmative,me.negative)})}function f(W,ne,se){E.addMethod(A.Assertion.prototype,W,function(me){I(this);var Fe=d(this._obj,ne,se,!1,[T(me)]);this.assert(this._obj[W]===me,Fe.affirmative,Fe.negative)})}function b(W,ne,se){return function(){I(this);var me="always"+W[0].toUpperCase()+W.substring(1),Fe=E.flag(this,"always")&&typeof this._obj[me]=="function",ze=Fe?me:W,We=d(this._obj,ne,se,Fe,v.call(arguments));this.assert(this._obj[ze].apply(this._obj,arguments),We.affirmative,We.negative)}}function F(W,ne,se){var me=b(W,ne,se);E.addProperty(A.Assertion.prototype,W,me)}function j(W,ne,se,me){var Fe=b(ne,se,me);E.addMethod(A.Assertion.prototype,W,Fe)}function L(W,ne,se){j(W,W,ne,se)}E.addProperty(A.Assertion.prototype,"always",function(){E.flag(this,"always",!0)}),h("called","been called"," at least once, but it was never called"),f("callCount","been called exactly %1",", but it was called %c%C"),h("calledOnce","been called exactly once",", but it was called %c%C"),h("calledTwice","been called exactly twice",", but it was called %c%C"),h("calledThrice","been called exactly thrice",", but it was called %c%C"),F("calledWithNew","been called with new"),L("calledBefore","been called before %1"),L("calledAfter","been called after %1"),L("calledImmediatelyBefore","been called immediately before %1"),L("calledImmediatelyAfter","been called immediately after %1"),L("calledOn","been called with %1 as this",", but it was called with %t instead"),L("calledWith","been called with arguments %*","%D"),L("calledOnceWith","been called exactly once with arguments %*","%D"),L("calledWithExactly","been called with exact arguments %*","%D"),L("calledOnceWithExactly","been called exactly once with exact arguments %*","%D"),L("calledWithMatch","been called with arguments matching %*","%D"),L("returned","returned %1"),j("thrown","threw","thrown %1")})}),sh=Rw;Xr.use(Dl);Xr.use(El);Xr.use(ih);Xr.use(sh);var Fl=globalThis,Fi=Fl.trustedTypes,uh=Fi?Fi.createPolicy("lit-html",{createHTML:P=>P}):void 0,Cl="$lit$",jn=`lit$${Math.random().toFixed(9).slice(2)}$`,Nl="?"+jn,_w=`<${Nl}>`,Ar=document,Ci=()=>Ar.createComment(""),Wa=P=>P===null||typeof P!="object"&&typeof P!="function",kl=Array.isArray,hh=P=>kl(P)||typeof P?.[Symbol.iterator]=="function",Al=`[
|
|
35
35
|
\f\r]`,Ua=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,lh=/-->/g,ch=/>/g,xr=RegExp(`>|${Al}(?:([^\\s"'>=/]+)(${Al}*=${Al}*(?:[^
|
|
36
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),dh=/'/g,ph=/"/g,mh=/^(?:script|style|textarea|title)$/i,Tl=P=>(y,...A)=>({_$litType$:P,strings:y,values:A}),gh=Tl(1),bh=Tl(2),yh=Tl(3),Ga=Symbol.for("lit-noChange"),Et=Symbol.for("lit-nothing"),fh=new WeakMap,Er=Ar.createTreeWalker(Ar,129);function vh(P,y){if(!kl(P)||!P.hasOwnProperty("raw"))throw Error("invalid template strings array");return uh!==void 0?uh.createHTML(y):y}var wh=(P,y)=>{let A=P.length-1,E=[],v,O=y===2?"<svg>":y===3?"<math>":"",T=Ua;for(let w=0;w<A;w++){let I=P[w],d,h,f=-1,b=0;for(;b<I.length&&(T.lastIndex=b,h=T.exec(I),h!==null);)b=T.lastIndex,T===Ua?h[1]==="!--"?T=lh:h[1]!==void 0?T=ch:h[2]!==void 0?(mh.test(h[2])&&(v=RegExp("</"+h[2],"g")),T=xr):h[3]!==void 0&&(T=xr):T===xr?h[0]===">"?(T=v??Ua,f=-1):h[1]===void 0?f=-2:(f=T.lastIndex-h[2].length,d=h[1],T=h[3]===void 0?xr:h[3]==='"'?ph:dh):T===ph||T===dh?T=xr:T===lh||T===ch?T=Ua:(T=xr,v=void 0);let F=T===xr&&P[w+1].startsWith("/>")?" ":"";O+=T===Ua?I+_w:f>=0?(E.push(d),I.slice(0,f)+Cl+I.slice(f)+jn+F):I+jn+(f===-2?w:F)}return[vh(P,O+(P[A]||"<?>")+(y===2?"</svg>":y===3?"</math>":"")),E]},Ka=class P{constructor({strings:y,_$litType$:A},E){let v;this.parts=[];let O=0,T=0,w=y.length-1,I=this.parts,[d,h]=wh(y,A);if(this.el=P.createElement(d,E),Er.currentNode=this.el.content,A===2||A===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(v=Er.nextNode())!==null&&I.length<w;){if(v.nodeType===1){if(v.hasAttributes())for(let f of v.getAttributeNames())if(f.endsWith(Cl)){let b=h[T++],F=v.getAttribute(f).split(jn),j=/([.?@])?(.*)/.exec(b);I.push({type:1,index:O,name:j[2],strings:F,ctor:j[1]==="."?ki:j[1]==="?"?Ti:j[1]==="@"?Si:Cr}),v.removeAttribute(f)}else f.startsWith(jn)&&(I.push({type:6,index:O}),v.removeAttribute(f));if(mh.test(v.tagName)){let f=v.textContent.split(jn),b=f.length-1;if(b>0){v.textContent=Fi?Fi.emptyScript:"";for(let F=0;F<b;F++)v.append(f[F],Ci()),Er.nextNode(),I.push({type:2,index:++O});v.append(f[b],Ci())}}}else if(v.nodeType===8)if(v.data===Nl)I.push({type:2,index:O});else{let f=-1;for(;(f=v.data.indexOf(jn,f+1))!==-1;)I.push({type:7,index:O}),f+=jn.length-1}O++}}static createElement(y,A){let E=Ar.createElement("template");return E.innerHTML=y,E}};function Fr(P,y,A=P,E){if(y===Ga)return y;let v=E!==void 0?A._$Co?.[E]:A._$Cl,O=Wa(y)?void 0:y._$litDirective$;return v?.constructor!==O&&(v?._$AO?.(!1),O===void 0?v=void 0:(v=new O(P),v._$AT(P,A,E)),E!==void 0?(A._$Co??=[])[E]=v:A._$Cl=v),v!==void 0&&(y=Fr(P,v._$AS(P,y.values),v,E)),y}var Ni=class{constructor(y,A){this._$AV=[],this._$AN=void 0,this._$AD=y,this._$AM=A}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(y){let{el:{content:A},parts:E}=this._$AD,v=(y?.creationScope??Ar).importNode(A,!0);Er.currentNode=v;let O=Er.nextNode(),T=0,w=0,I=E[0];for(;I!==void 0;){if(T===I.index){let d;I.type===2?d=new Ya(O,O.nextSibling,this,y):I.type===1?d=new I.ctor(O,I.name,I.strings,this,y):I.type===6&&(d=new Oi(O,this,y)),this._$AV.push(d),I=E[++w]}T!==I?.index&&(O=Er.nextNode(),T++)}return Er.currentNode=Ar,v}p(y){let A=0;for(let E of this._$AV)E!==void 0&&(E.strings!==void 0?(E._$AI(y,E,A),A+=E.strings.length-2):E._$AI(y[A])),A++}},Ya=class P{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(y,A,E,v){this.type=2,this._$AH=Et,this._$AN=void 0,this._$AA=y,this._$AB=A,this._$AM=E,this.options=v,this._$Cv=v?.isConnected??!0}get parentNode(){let y=this._$AA.parentNode,A=this._$AM;return A!==void 0&&y?.nodeType===11&&(y=A.parentNode),y}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(y,A=this){y=Fr(this,y,A),Wa(y)?y===Et||y==null||y===""?(this._$AH!==Et&&this._$AR(),this._$AH=Et):y!==this._$AH&&y!==Ga&&this._(y):y._$litType$!==void 0?this.$(y):y.nodeType!==void 0?this.T(y):hh(y)?this.k(y):this._(y)}O(y){return this._$AA.parentNode.insertBefore(y,this._$AB)}T(y){this._$AH!==y&&(this._$AR(),this._$AH=this.O(y))}_(y){this._$AH!==Et&&Wa(this._$AH)?this._$AA.nextSibling.data=y:this.T(Ar.createTextNode(y)),this._$AH=y}$(y){let{values:A,_$litType$:E}=y,v=typeof E=="number"?this._$AC(y):(E.el===void 0&&(E.el=Ka.createElement(vh(E.h,E.h[0]),this.options)),E);if(this._$AH?._$AD===v)this._$AH.p(A);else{let O=new Ni(v,this),T=O.u(this.options);O.p(A),this.T(T),this._$AH=O}}_$AC(y){let A=fh.get(y.strings);return A===void 0&&fh.set(y.strings,A=new Ka(y)),A}k(y){kl(this._$AH)||(this._$AH=[],this._$AR());let A=this._$AH,E,v=0;for(let O of y)v===A.length?A.push(E=new P(this.O(Ci()),this.O(Ci()),this,this.options)):E=A[v],E._$AI(O),v++;v<A.length&&(this._$AR(E&&E._$AB.nextSibling,v),A.length=v)}_$AR(y=this._$AA.nextSibling,A){for(this._$AP?.(!1,!0,A);y&&y!==this._$AB;){let E=y.nextSibling;y.remove(),y=E}}setConnected(y){this._$AM===void 0&&(this._$Cv=y,this._$AP?.(y))}},Cr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(y,A,E,v,O){this.type=1,this._$AH=Et,this._$AN=void 0,this.element=y,this.name=A,this._$AM=v,this.options=O,E.length>2||E[0]!==""||E[1]!==""?(this._$AH=Array(E.length-1).fill(new String),this.strings=E):this._$AH=Et}_$AI(y,A=this,E,v){let O=this.strings,T=!1;if(O===void 0)y=Fr(this,y,A,0),T=!Wa(y)||y!==this._$AH&&y!==Ga,T&&(this._$AH=y);else{let w=y,I,d;for(y=O[0],I=0;I<O.length-1;I++)d=Fr(this,w[E+I],A,I),d===Ga&&(d=this._$AH[I]),T||=!Wa(d)||d!==this._$AH[I],d===Et?y=Et:y!==Et&&(y+=(d??"")+O[I+1]),this._$AH[I]=d}T&&!v&&this.j(y)}j(y){y===Et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,y??"")}},ki=class extends Cr{constructor(){super(...arguments),this.type=3}j(y){this.element[this.name]=y===Et?void 0:y}},Ti=class extends Cr{constructor(){super(...arguments),this.type=4}j(y){this.element.toggleAttribute(this.name,!!y&&y!==Et)}},Si=class extends Cr{constructor(y,A,E,v,O){super(y,A,E,v,O),this.type=5}_$AI(y,A=this){if((y=Fr(this,y,A,0)??Et)===Ga)return;let E=this._$AH,v=y===Et&&E!==Et||y.capture!==E.capture||y.once!==E.once||y.passive!==E.passive,O=y!==Et&&(E===Et||v);v&&this.element.removeEventListener(this.name,this,E),O&&this.element.addEventListener(this.name,this,y),this._$AH=y}handleEvent(y){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,y):this._$AH.handleEvent(y)}},Oi=class{constructor(y,A,E){this.element=y,this.type=6,this._$AN=void 0,this._$AM=A,this.options=E}get _$AU(){return this._$AM._$AU}_$AI(y){Fr(this,y)}},Dh={M:Cl,P:jn,A:Nl,C:1,L:wh,R:Ni,D:hh,V:Fr,I:Ya,H:Cr,N:Ti,U:Si,B:ki,F:Oi},Mw=Fl.litHtmlPolyfillSupport;Mw?.(Ka,Ya),(Fl.litHtmlVersions??=[]).push("3.3.0");var Pw=Symbol.for(""),jw=P=>{if(P?.r===Pw)return P?._$litStatic$};var xh=new Map,Sl=P=>(y,...A)=>{let E=A.length,v,O,T=[],w=[],I,d=0,h=!1;for(;d<E;){for(I=y[d];d<E&&(O=A[d],(v=jw(O))!==void 0);)I+=v+y[++d],h=!0;d!==E&&w.push(O),T.push(I),d++}if(d===E&&T.push(y[E]),h){let f=T.join("$$lit$$");(y=xh.get(f))===void 0&&(T.raw=T,xh.set(f,y=T)),A=w}return P(y,...A)},Eh=Sl(gh),S2=Sl(bh),O2=Sl(yh);function Ri(){return new Promise(P=>{requestAnimationFrame(()=>P())})}function Jn(P,y,A={}){let{interval:E=50,timeout:v=1e3}=A,{stack:O}=new Error;return new Promise((T,w)=>{let I;setTimeout(()=>{clearTimeout(I);let h=new Error(y?`Timeout: ${y}`:`waitUntil timed out after ${v}ms`);h.stack=O,w(h)},v);async function d(){try{await P()?T():I=setTimeout(()=>{d()},E)}catch(h){w(h)}}d()})}var Ah=P=>typeof P=="object"&&Promise.resolve(P)===P;async function Jr(P){let y=!1,A=P&&P.updateComplete;return Ah(A)&&(await A,y=!0),A=P&&P.componentOnReady?P.componentOnReady():!1,Ah(A)&&(await A,y=!0),y||await Ri(),window.ShadyDOM&&typeof window.ShadyDOM.flush=="function"&&window.ShadyDOM.flush(),P}var _i=[];function Xa(){_i&&_i.forEach(P=>{document.body.removeChild(P)}),_i.length=0}var Lw=Di(Ch(),1),qw=Di(kh(),1);var{I:H2}=Dh;var Bw=Object.freeze({ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_FRAGMENT_NODE:11});try{"afterEach"in window&&afterEach(()=>{Xa()}),"teardown"in window&&teardown(()=>{Xa()})}catch{}var _h=class{constructor(y){this.element=y}elementUpdated(){return Jr(this.element)}get(y){return this.find(y)}find(y){return this.element.shadowRoot.querySelector(y)}findAll(y){return[...this.element.shadowRoot.querySelectorAll(y)]}async shouldBeHidden(y){await Jn(()=>this.matches(y,A
|
|
36
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),dh=/'/g,ph=/"/g,mh=/^(?:script|style|textarea|title)$/i,Tl=P=>(y,...A)=>({_$litType$:P,strings:y,values:A}),gh=Tl(1),bh=Tl(2),yh=Tl(3),Ga=Symbol.for("lit-noChange"),Et=Symbol.for("lit-nothing"),fh=new WeakMap,Er=Ar.createTreeWalker(Ar,129);function vh(P,y){if(!kl(P)||!P.hasOwnProperty("raw"))throw Error("invalid template strings array");return uh!==void 0?uh.createHTML(y):y}var wh=(P,y)=>{let A=P.length-1,E=[],v,O=y===2?"<svg>":y===3?"<math>":"",T=Ua;for(let w=0;w<A;w++){let I=P[w],d,h,f=-1,b=0;for(;b<I.length&&(T.lastIndex=b,h=T.exec(I),h!==null);)b=T.lastIndex,T===Ua?h[1]==="!--"?T=lh:h[1]!==void 0?T=ch:h[2]!==void 0?(mh.test(h[2])&&(v=RegExp("</"+h[2],"g")),T=xr):h[3]!==void 0&&(T=xr):T===xr?h[0]===">"?(T=v??Ua,f=-1):h[1]===void 0?f=-2:(f=T.lastIndex-h[2].length,d=h[1],T=h[3]===void 0?xr:h[3]==='"'?ph:dh):T===ph||T===dh?T=xr:T===lh||T===ch?T=Ua:(T=xr,v=void 0);let F=T===xr&&P[w+1].startsWith("/>")?" ":"";O+=T===Ua?I+_w:f>=0?(E.push(d),I.slice(0,f)+Cl+I.slice(f)+jn+F):I+jn+(f===-2?w:F)}return[vh(P,O+(P[A]||"<?>")+(y===2?"</svg>":y===3?"</math>":"")),E]},Ka=class P{constructor({strings:y,_$litType$:A},E){let v;this.parts=[];let O=0,T=0,w=y.length-1,I=this.parts,[d,h]=wh(y,A);if(this.el=P.createElement(d,E),Er.currentNode=this.el.content,A===2||A===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(v=Er.nextNode())!==null&&I.length<w;){if(v.nodeType===1){if(v.hasAttributes())for(let f of v.getAttributeNames())if(f.endsWith(Cl)){let b=h[T++],F=v.getAttribute(f).split(jn),j=/([.?@])?(.*)/.exec(b);I.push({type:1,index:O,name:j[2],strings:F,ctor:j[1]==="."?ki:j[1]==="?"?Ti:j[1]==="@"?Si:Cr}),v.removeAttribute(f)}else f.startsWith(jn)&&(I.push({type:6,index:O}),v.removeAttribute(f));if(mh.test(v.tagName)){let f=v.textContent.split(jn),b=f.length-1;if(b>0){v.textContent=Fi?Fi.emptyScript:"";for(let F=0;F<b;F++)v.append(f[F],Ci()),Er.nextNode(),I.push({type:2,index:++O});v.append(f[b],Ci())}}}else if(v.nodeType===8)if(v.data===Nl)I.push({type:2,index:O});else{let f=-1;for(;(f=v.data.indexOf(jn,f+1))!==-1;)I.push({type:7,index:O}),f+=jn.length-1}O++}}static createElement(y,A){let E=Ar.createElement("template");return E.innerHTML=y,E}};function Fr(P,y,A=P,E){if(y===Ga)return y;let v=E!==void 0?A._$Co?.[E]:A._$Cl,O=Wa(y)?void 0:y._$litDirective$;return v?.constructor!==O&&(v?._$AO?.(!1),O===void 0?v=void 0:(v=new O(P),v._$AT(P,A,E)),E!==void 0?(A._$Co??=[])[E]=v:A._$Cl=v),v!==void 0&&(y=Fr(P,v._$AS(P,y.values),v,E)),y}var Ni=class{constructor(y,A){this._$AV=[],this._$AN=void 0,this._$AD=y,this._$AM=A}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(y){let{el:{content:A},parts:E}=this._$AD,v=(y?.creationScope??Ar).importNode(A,!0);Er.currentNode=v;let O=Er.nextNode(),T=0,w=0,I=E[0];for(;I!==void 0;){if(T===I.index){let d;I.type===2?d=new Ya(O,O.nextSibling,this,y):I.type===1?d=new I.ctor(O,I.name,I.strings,this,y):I.type===6&&(d=new Oi(O,this,y)),this._$AV.push(d),I=E[++w]}T!==I?.index&&(O=Er.nextNode(),T++)}return Er.currentNode=Ar,v}p(y){let A=0;for(let E of this._$AV)E!==void 0&&(E.strings!==void 0?(E._$AI(y,E,A),A+=E.strings.length-2):E._$AI(y[A])),A++}},Ya=class P{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(y,A,E,v){this.type=2,this._$AH=Et,this._$AN=void 0,this._$AA=y,this._$AB=A,this._$AM=E,this.options=v,this._$Cv=v?.isConnected??!0}get parentNode(){let y=this._$AA.parentNode,A=this._$AM;return A!==void 0&&y?.nodeType===11&&(y=A.parentNode),y}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(y,A=this){y=Fr(this,y,A),Wa(y)?y===Et||y==null||y===""?(this._$AH!==Et&&this._$AR(),this._$AH=Et):y!==this._$AH&&y!==Ga&&this._(y):y._$litType$!==void 0?this.$(y):y.nodeType!==void 0?this.T(y):hh(y)?this.k(y):this._(y)}O(y){return this._$AA.parentNode.insertBefore(y,this._$AB)}T(y){this._$AH!==y&&(this._$AR(),this._$AH=this.O(y))}_(y){this._$AH!==Et&&Wa(this._$AH)?this._$AA.nextSibling.data=y:this.T(Ar.createTextNode(y)),this._$AH=y}$(y){let{values:A,_$litType$:E}=y,v=typeof E=="number"?this._$AC(y):(E.el===void 0&&(E.el=Ka.createElement(vh(E.h,E.h[0]),this.options)),E);if(this._$AH?._$AD===v)this._$AH.p(A);else{let O=new Ni(v,this),T=O.u(this.options);O.p(A),this.T(T),this._$AH=O}}_$AC(y){let A=fh.get(y.strings);return A===void 0&&fh.set(y.strings,A=new Ka(y)),A}k(y){kl(this._$AH)||(this._$AH=[],this._$AR());let A=this._$AH,E,v=0;for(let O of y)v===A.length?A.push(E=new P(this.O(Ci()),this.O(Ci()),this,this.options)):E=A[v],E._$AI(O),v++;v<A.length&&(this._$AR(E&&E._$AB.nextSibling,v),A.length=v)}_$AR(y=this._$AA.nextSibling,A){for(this._$AP?.(!1,!0,A);y&&y!==this._$AB;){let E=y.nextSibling;y.remove(),y=E}}setConnected(y){this._$AM===void 0&&(this._$Cv=y,this._$AP?.(y))}},Cr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(y,A,E,v,O){this.type=1,this._$AH=Et,this._$AN=void 0,this.element=y,this.name=A,this._$AM=v,this.options=O,E.length>2||E[0]!==""||E[1]!==""?(this._$AH=Array(E.length-1).fill(new String),this.strings=E):this._$AH=Et}_$AI(y,A=this,E,v){let O=this.strings,T=!1;if(O===void 0)y=Fr(this,y,A,0),T=!Wa(y)||y!==this._$AH&&y!==Ga,T&&(this._$AH=y);else{let w=y,I,d;for(y=O[0],I=0;I<O.length-1;I++)d=Fr(this,w[E+I],A,I),d===Ga&&(d=this._$AH[I]),T||=!Wa(d)||d!==this._$AH[I],d===Et?y=Et:y!==Et&&(y+=(d??"")+O[I+1]),this._$AH[I]=d}T&&!v&&this.j(y)}j(y){y===Et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,y??"")}},ki=class extends Cr{constructor(){super(...arguments),this.type=3}j(y){this.element[this.name]=y===Et?void 0:y}},Ti=class extends Cr{constructor(){super(...arguments),this.type=4}j(y){this.element.toggleAttribute(this.name,!!y&&y!==Et)}},Si=class extends Cr{constructor(y,A,E,v,O){super(y,A,E,v,O),this.type=5}_$AI(y,A=this){if((y=Fr(this,y,A,0)??Et)===Ga)return;let E=this._$AH,v=y===Et&&E!==Et||y.capture!==E.capture||y.once!==E.once||y.passive!==E.passive,O=y!==Et&&(E===Et||v);v&&this.element.removeEventListener(this.name,this,E),O&&this.element.addEventListener(this.name,this,y),this._$AH=y}handleEvent(y){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,y):this._$AH.handleEvent(y)}},Oi=class{constructor(y,A,E){this.element=y,this.type=6,this._$AN=void 0,this._$AM=A,this.options=E}get _$AU(){return this._$AM._$AU}_$AI(y){Fr(this,y)}},Dh={M:Cl,P:jn,A:Nl,C:1,L:wh,R:Ni,D:hh,V:Fr,I:Ya,H:Cr,N:Ti,U:Si,B:ki,F:Oi},Mw=Fl.litHtmlPolyfillSupport;Mw?.(Ka,Ya),(Fl.litHtmlVersions??=[]).push("3.3.0");var Pw=Symbol.for(""),jw=P=>{if(P?.r===Pw)return P?._$litStatic$};var xh=new Map,Sl=P=>(y,...A)=>{let E=A.length,v,O,T=[],w=[],I,d=0,h=!1;for(;d<E;){for(I=y[d];d<E&&(O=A[d],(v=jw(O))!==void 0);)I+=v+y[++d],h=!0;d!==E&&w.push(O),T.push(I),d++}if(d===E&&T.push(y[E]),h){let f=T.join("$$lit$$");(y=xh.get(f))===void 0&&(T.raw=T,xh.set(f,y=T)),A=w}return P(y,...A)},Eh=Sl(gh),S2=Sl(bh),O2=Sl(yh);function Ri(){return new Promise(P=>{requestAnimationFrame(()=>P())})}function Jn(P,y,A={}){let{interval:E=50,timeout:v=1e3}=A,{stack:O}=new Error;return new Promise((T,w)=>{let I;setTimeout(()=>{clearTimeout(I);let h=new Error(y?`Timeout: ${y}`:`waitUntil timed out after ${v}ms`);h.stack=O,w(h)},v);async function d(){try{await P()?T():I=setTimeout(()=>{d()},E)}catch(h){w(h)}}d()})}var Ah=P=>typeof P=="object"&&Promise.resolve(P)===P;async function Jr(P){let y=!1,A=P&&P.updateComplete;return Ah(A)&&(await A,y=!0),A=P&&P.componentOnReady?P.componentOnReady():!1,Ah(A)&&(await A,y=!0),y||await Ri(),window.ShadyDOM&&typeof window.ShadyDOM.flush=="function"&&window.ShadyDOM.flush(),P}var _i=[];function Xa(){_i&&_i.forEach(P=>{document.body.removeChild(P)}),_i.length=0}var Lw=Di(Ch(),1),qw=Di(kh(),1);var{I:H2}=Dh;var Bw=Object.freeze({ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_FRAGMENT_NODE:11});try{"afterEach"in window&&afterEach(()=>{Xa()}),"teardown"in window&&teardown(()=>{Xa()})}catch{}var _h=class{constructor(y){this.element=y}elementUpdated(){return Jr(this.element)}get(y){return this.find(y)}find(y){return this.element.shadowRoot.querySelector(y)}findAll(y){return[...this.element.shadowRoot.querySelectorAll(y)]}async shouldBeHidden(y){await Jn(()=>this.matches(y,A=>!A.checkVisibility()),`${this.describe(y)} should be hidden`)}async shouldBeVisible(y){await Jn(()=>this.matches(y,A=>A.checkVisibility()),`${this.describe(y)} should be visible`)}async shouldNotBeEmpty(y){await Jn(()=>this.matches(y,A=>{var E;return((E=A.textContent)!==null&&E!==void 0?E:"").trim()!==""}),`${this.describe(y)} should have had text`)}async shouldHaveAttribute(y,A,E){await Jn(()=>this.matches(y,v=>v.getAttribute(A)===E),`${this.describe(y)} should have had attribute "${A}" with value "${E}" but was "${this.getTarget(y).getAttribute(A)}"`)}async shouldHaveTextIgnoringWhiteSpaces(y,A){await Jn(()=>this.matches(y,E=>{var v;return this.removeWhiteSpaces((v=E.textContent)!==null&&v!==void 0?v:"")===this.removeWhiteSpaces(A)}),`${this.describe(y)} should have had text "${A}" but was "${this.getTarget(y).textContent}"`)}matches(y,A){let E=this.getTarget(y);return!!E&&A(E)}getTarget(y){return y?this.find(y):this.element}removeWhiteSpaces(y){return y.trim().replace(/\s+/g,"-")}describe(y){return`Element <${y??this.element.constructor.name}>`}};})();
|
|
37
37
|
/*! Bundled license information:
|
|
38
38
|
|
|
39
39
|
axe-core/axe.min.js:
|
|
@@ -33,7 +33,7 @@ ${C()} ${me(K,he[Ie])}`;le+=`
|
|
|
33
33
|
${C()}`}return le}function ot(K){d+=`${C()}<${$(K)}${We(K)}>
|
|
34
34
|
`}function Q(K,le){if(!($(K)==="diff-container"||b.includes($(K)))&&!v.has(K))if(v.add(K),K instanceof Text)j(K,le);else if(K instanceof Element)ot(K);else throw new Error(`Unknown node type: ${K}`)}function B(K){$(K)==="diff-container"||Hw.includes($(K))||(d+=`${C()}</${$(K)}>
|
|
35
35
|
`)}function G(K){b.includes($(K))||K instanceof Element&&B(K)}let ue;if(typeof O=="string")ue=document.createElement("diff-container"),ue.innerHTML=O,m=-1;else if(O instanceof Node)ue=O,m=0;else throw new Error(`Cannot create diffable HTML from: ${O}`);let ce=document.createTreeWalker(ue,NodeFilter.SHOW_TEXT+NodeFilter.SHOW_ELEMENT,null,!1);for(;ce.currentNode;){let K=ce.currentNode;if(Q(K,ce),W(K)&&ce.firstChild())m+=1;else if(G(K),!ce.nextSibling()){m-=1;let he=ce.parentNode();if(!he)break;h.add(he)}}return d}function fh(O){return O&&O!==null&&typeof O=="object"&&("ignoreAttributes"in O||"ignoreTags"in O||"ignoreChildren"in O||"stripEmptyAttributes"in O)}var Ww="wtr-session-id",hh=new URL(window.location.href).searchParams.get(Ww);function Nl(O){return O!=null&&typeof O=="object"}async function kl(O,f,w){if(typeof hh!="string")throw new Error("Unable to execute server commands in a browser not controlled by the test runner. Use the debug option from the watch menu to debug in a controlled browser.");let E;try{({sendMessageWaitForResponse:E}=await import("/__web-dev-server__web-socket.js"))}catch{throw new Error("Could not setup web socket connection. Are you executing this test through Web Test Runner?")}try{let b=await E({type:"wtr-command",sessionId:hh,command:O,payload:f});if(!b.executed){let T;throw w?T=`Unknown command ${O}. Add the ${w} to your config.`:T=`Unknown command ${O}. Did you install a plugin to handle this command?`,new Error(T)}return b.result}catch(b){throw new Error(`Error while executing command ${O}${f?` with payload ${JSON.stringify(f)}`:""}: ${b.message}`)}}var Fl,Si;async function mh(){return Fl||(Fl=await kl("get-snapshot-config",void 0,"snapshotPlugin from @web/test-runner-commands")),Fl}var Gw=/snapshots\[[^\]]+] = (\n)?(?<content>`[^`]*`)/gm,Kw=O=>([...O.matchAll(Gw)].forEach(({groups:{content:f}})=>{O=O.replaceAll(f,encodeURIComponent(f))}),O);async function gh({cache:O=!0}={}){if(O&&Si)return Si;let f=await kl("get-snapshots",void 0,"snapshotPlugin from @web/test-runner-commands");if(typeof f?.content!="string")throw new Error("Expected a result as string");let E=await import(`data:text/javascript;charset=utf-8,${`${Kw(f.content)}/* ${Math.random()} */`}`);if(!E||!Nl(E.snapshots))throw new Error("Expected snapshot result to be a module that exports an object.");return Si=E.snapshots,Si}async function bh(O){if(!Nl(O))throw new Error("You must provide a payload object");if(typeof O.name!="string")throw new Error("You must provide a snapshot name");return(await gh(O))[O.name]}async function yh(O){if(!Nl(O))throw new Error("You must provide a payload object");if(typeof O.name!="string")throw new Error("You must provide a snapshot name");if(O.content!==void 0&&typeof O.content!="string")throw new Error("You must provide a snapshot content");let f=await gh();return f[O.name]=O.content,kl("save-snapshot",O,"snapshotPlugin from @web/test-runner-commands")}var vh=O=>{if(window.ShadyCSS&&window.ShadyCSS.nativeShadow===!1){let f=O.tagName.toLowerCase(),w=" ";return Array.prototype.slice.call(O.attributes).forEach(E=>{w+=`${E.name}="${E.value}" `}),w=w.slice(0,-1),`<${f}${w}>${O.innerHTML}</${f}>`}return O.outerHTML},wh=O=>{if(window.ShadyCSS&&window.ShadyCSS.nativeShadow===!1){let f=O.tagName.toLowerCase(),w=new RegExp(f,"g"),E=O.shadowRoot.innerHTML;return E=E.replace(/style-scope/g,""),E=E.replace(w,""),E=E.replace(/(class=".*?)(\s)*"/g,'$1"'),E=E.replace(/ class="\w?"/g,""),E}return O.shadowRoot.innerHTML};function Tl(O){let f=[],w;for(O.type==="hook"?w=O.ctx.currentTest:w=O;w&&w.parent;)w.title&&f.push(w.title),w=w.parent;return f.reverse()}function Sl(...O){switch(O.length){case 2:{let[f,w]=O;return{message:f,options:w}}case 1:{let[f]=O;return fh(f)?{options:f}:{message:f}}default:return{}}}var _l=(O,f)=>{O.Assertion.addProperty("lightDom",function(){new O.Assertion(this._obj.nodeType).to.equal(1),f.flag(this,"lightDom",!0)}),O.Assertion.addProperty("shadowDom",function(){new O.Assertion(this._obj.nodeType).to.equal(1),f.flag(this,"shadowDom",!0)}),O.Assertion.addProperty("dom",function(){new O.Assertion(this._obj.nodeType).to.equal(1),f.flag(this,"dom",!0)});let w=h=>vh(h),E=h=>h.innerHTML,b=h=>wh(h),T=(h,v,C,...j)=>{let{message:$,options:W}=Sl(...j),ne=new O.Assertion(Ar(h,W),$),se=Ar(v,W);C?ne.not.equal(se,$):ne.equal(se,$)},k=h=>function(C,...j){if(f.flag(this,"lightDom")||f.flag(this,"shadowDom")||f.flag(this,"dom")){let $;f.flag(this,"lightDom")?$=E(this._obj):f.flag(this,"shadowDom")?$=b(this._obj):$=w(this._obj),T($,C,f.flag(this,"negate"),j[0])}else h.apply(this,[C,...j])};O.Assertion.overwriteMethod("equals",k),O.Assertion.overwriteMethod("equal",k),O.Assertion.overwriteMethod("eq",k);function D(h,v,...C){let j=window.__mocha_context__,$=window.__snapshot__,{message:W,options:ne}=Sl(...C),{index:se}=j;j.index+=1;let me=Tl(j.runnable),Ce=Ar(h,ne);if($.update)$.set(me,se,Ce,"html");else{let ze=$.get(me,se);if(!ze)$.set(me,se,Ce,"html");else{let We=$.match(Ce,Ar(ze.code,ne));if(We&&v||!We&&!v)throw new O.AssertionError(W||`Received value does not match stored snapshot ${se}`,{actual:Ce,expected:ze.code,showDiff:!0},O.util.flag(this,"ssfi"))}}}async function I(h,v,...C){let{message:j,options:$}=Sl(...C),ne=Tl(window.__WTR_MOCHA_RUNNER__.test).join(" "),se=Ar(h,$),me=await bh({name:ne}),Ce=await mh();if(me&&!Ce.updateSnapshots){if(v?me===se:me!==se)throw new O.AssertionError(j||`Snapshot ${ne} does not match the saved snapshot on disk`,{actual:se,expected:me,showDiff:!0},O.util.flag(this,"ssfi"))}else me!==se&&await yh({name:ne,content:se})}function d(h,v,...C){if(window.__mocha_context__&&window.__snapshot__)return D.call(this,h,v,...C);if(window.__WTR_MOCHA_RUNNER__)return I.call(this,h,v,...C);throw new Error("Could not detect test runner environment. Snapshots require either Web Test Runner with mocha, or Karma with mocha and karma mocha snapshot")}function m(h){let v=O.util.flag(this,"object"),C;return f.flag(this,"shadowDom")?C=b(v):f.flag(this,"lightDom")?C=E(v):C=v,d.call(this,C,f.flag(this,"negate"),h)}f.addMethod(O.Assertion.prototype,"equalSnapshot",m),f.addMethod(O.Assertion.prototype,"notEqualSnapshot",m),f.addMethod(O.assert,"equalSnapshot",d),f.addMethod(O.assert,"notEqualSnapshot",d),O.assert.dom={equal(h,v,...C){return T.call(this,w(h),v,!1,...C)},notEqual(h,v,...C){return T.call(this,w(h),v,!0,...C)},equalSnapshot(h,...v){return d.call(this,h,!1,...v)},notEqualSnapshot(h,...v){return d.call(this,h,!0,...v)}},O.assert.lightDom={equal(h,v,...C){return T.call(this,E(h),v,!1,...C)},notEqual(h,v,...C){return T.call(this,E(h),v,!0,...C)},equalSnapshot(h,...v){return d.call(this,E(h),!1,...v)},notEqualSnapshot(h,...v){return d.call(this,E(h),!0,...v)}},O.assert.shadowDom={equal(h,v,...C){return T.call(this,b(h),v,!1,...C)},notEqual(h,v,...C){return T.call(this,b(h),v,!0,...C)},equalSnapshot(h,...v){return d.call(this,b(h),!1,...v)},notEqualSnapshot(h,...v){return d.call(this,b(h),!0,...v)}}};var ta;async function xh(){if(window.axe){ta=window.axe;return}if(typeof Cl=="function"){ta=Ol();return}if(await Promise.resolve().then(()=>ph(Ol(),1)),!window.axe)throw new Error("Error importing axe-core/axe.min.js, are you using a bundler or build tool that doesnt handle es modules?");ta=window.axe}function Yw(O){if(!O||!O.length)return;let f={};return O.forEach(w=>{f[w]={enabled:!1}}),f}async function Xw(O,f){return ta||await xh(),new Promise((w,E)=>{ta.run(O,f,(b,T)=>{b?E(new Error(b)):w(T)})})}function Zw(O,f,w){let{violations:E}=f;if(E.length&&O){w();return}if(!E.length&&!O){w();return}let b=[];E.length&&(b[b.length]="Accessibility Violations",b[b.length]="---",E.forEach(k=>{b[b.length]=`Rule: ${k.id}`,b[b.length]=`Impact: ${k.impact}`,b[b.length]=`${k.help} (${k.helpUrl})`,k.nodes.forEach(D=>{b[b.length]="",D.target&&(b[b.length]=`Issue target: ${D.target}`),b[b.length]=`Context: ${D.html}`,D.failureSummary&&(b[b.length]=`${D.failureSummary}`)}),b[b.length]="---"}));let T=new Error(b.join(`
|
|
36
|
-
`));throw w(T),T}var Rl=(O,f)=>{let{assert:w}=O;f.addMethod(O.Assertion.prototype,"accessible",function(b){let T=this._obj,k=b||{},D=Yw(k.ignoredRules),I={resultTypes:["violations"]};D&&(I.rules=D);let d=k.done?k.done:void 0;d||(d=()=>{}),k.ignoredTags&&T.parentNode.querySelectorAll(k.ignoredTags.toString()).forEach(v=>v.setAttribute("aria-hidden",!0));let m=Xw(T,I).then(h=>Zw(f.flag(this,"negate"),h,d));return this.then=m.then.bind(m),this}),w.isAccessible=function(b,T){return new O.Assertion(b).to.be.accessible(T)},w.isNotAccessible=function(b,T){return new O.Assertion(b).not.to.be.accessible(T)}};function Jw(O){var f={exports:{}};return O(f,f.exports),f.exports}function Qw(O){throw new Error('Could not dynamically require "'+O+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var e2=Jw(function(O,f){(function(w){typeof Qw=="function"?O.exports=w:chai.use(w)})(function(w,E){var b=E.flag,T=function(d){var m;return I(d)?d.length===0?"empty NodeList":(m=Array.prototype.slice.call(d,0,5).map(T).join(", "),d.length>5?m+"... (+"+(d.length-5)+" more)":m):D(d)?(m=d.tagName.toLowerCase(),d.id&&(m+="#"+d.id),d.className&&(m+="."+String(d.className).replace(/\s+/g,".")),Array.prototype.forEach.call(d.attributes,function(h){h.name!=="class"&&h.name!=="id"&&(m+="["+h.name+(h.value?'="'+h.value+'"]':"]"))}),m):String(d)},k=function(d,m){var h=b(this,"object"),v=h.getAttribute(d);(!b(this,"negate")||m===void 0)&&this.assert(!!h.attributes[d],"expected "+T(h)+" to have an attribute #{exp}","expected "+T(h)+" not to have an attribute #{exp}",d),m!==void 0&&this.assert(m===v,"expected "+T(h)+" to have an attribute "+E.inspect(d)+" with the value #{exp}, but the value was #{act}","expected "+T(h)+" not to have an attribute "+E.inspect(d)+" with the value #{act}",m,v),b(this,"object",v)},D=function(d){return d.nodeType===1},I=function(d){return Object.prototype.toString.call(d)==="[object NodeList]"};E.elToString=T,w.Assertion.addMethod("attr",k),w.Assertion.addMethod("attribute",k),w.Assertion.addMethod("class",function(d){var m=b(this,"object");this.assert(m.classList.contains(d),"expected "+T(m)+" to have class #{exp}","expected "+T(m)+" not to have class #{exp}",d)}),w.Assertion.addMethod("id",function(d){var m=b(this,"object");this.assert(m.id==d,"expected "+T(m)+" to have id #{exp}","expected "+T(m)+" not to have id #{exp}",d)}),w.Assertion.addMethod("html",function(d){var m=b(this,"object"),h=b(this,"object").innerHTML;b(this,"contains")?this.assert(h.indexOf(d)>=0,"expected #{act} to contain HTML #{exp}","expected #{act} not to contain HTML #{exp}",d,h):this.assert(h===d,"expected "+T(m)+" to have HTML #{exp}, but the HTML was #{act}","expected "+T(m)+" not to have HTML #{exp}",d,h)}),w.Assertion.addChainableMethod("trimmed",null,function(){b(this,"trim-text",!0)}),w.Assertion.addProperty("rendered",function(){b(this,"rendered-text",!0)}),w.Assertion.addMethod("text",function(d){var m=b(this,"object"),h=b(this,"contains"),v=b(this,"trim-text"),C,j,$=b(this,"rendered-text")?"innerText":"textContent";I(m)?(C=Array.prototype.map.call(m,function(se){return v?se[$].trim():se[$]}),Array.isArray(d)?(j=h?d[b(this,"negate")?"some":"every"](function(se){return Array.prototype.some.call(m,function(me){return(v?me[$].trim():me[$])===se})}):E.eql(C,d),C=C.join(),d=d.join()):(C=C.join(""),j=h?C.indexOf(d)>=0:C===d)):(C=v?m[$].trim():m[$],j=h?C.indexOf(d)>=0:C===d);var W=T(m),ne="";v&&(ne+="trimmed "),b(this,"rendered-text")&&(ne+="rendered "),ne+="text",h?this.assert(j,"expected "+W+" to contain #{exp}, but the "+ne+" was #{act}","expected "+W+" not to contain #{exp}, but the "+ne+" was #{act}",d,C):this.assert(j,"expected "+W+" to have "+ne+" #{exp}, but the "+ne+" was #{act}","expected "+W+" not to have "+ne+" #{exp}",d,C)}),w.Assertion.addMethod("value",function(d){var m=b(this,"object"),h=b(this,"object").value;this.assert(b(this,"object").value===d,"expected "+T(m)+" to have value #{exp}, but the value was #{act}","expected "+T(m)+" not to have value #{exp}",d,h)}),w.Assertion.overwriteProperty("exist",function(d){return function(){var m=b(this,"object");I(m)?this.assert(m.length>0,"expected an empty NodeList to have nodes","expected "+T(m)+" to not exist"):d.apply(this,arguments)}}),w.Assertion.overwriteProperty("empty",function(d){return function(){var m=b(this,"object");D(m)?this.assert(m.children.length===0,"expected "+T(m)+" to be empty","expected "+T(m)+" to not be empty"):I(m)?this.assert(m.length===0,"expected "+T(m)+" to be empty","expected "+T(m)+" to not be empty"):d.apply(this,arguments)}}),w.Assertion.overwriteChainableMethod("length",function(d){return function(m){var h=b(this,"object");if(I(h)||D(h)){var v=h.children?h.children.length:h.length;this.assert(v===m,"expected "+T(h)+" to have #{exp} children but it had #{act} children","expected "+T(h)+" to not have #{exp} children",m,v)}else d.apply(this,arguments)}},function(d){return function(){d.call(this)}}),w.Assertion.overwriteMethod("match",function(d){return function(m){var h=b(this,"object");D(h)?this.assert(h.matches(m),"expected "+T(h)+" to match #{exp}","expected "+T(h)+" to not match #{exp}",m):I(h)?this.assert(!!h.length&&Array.prototype.every.call(h,function(v){return v.matches(m)}),"expected "+T(h)+" to match #{exp}","expected "+T(h)+" to not match #{exp}",m):d.apply(this,arguments)}}),w.Assertion.overwriteChainableMethod("contain",function(d){return function(m){var h=b(this,"object");D(h)?typeof m=="string"?this.assert(!!h.querySelector(m),"expected "+T(h)+" to contain #{exp}","expected "+T(h)+" to not contain #{exp}",m):this.assert(h.contains(m),"expected "+T(h)+" to contain "+T(m),"expected "+T(h)+" to not contain "+T(m)):d.apply(this,arguments)}},function(d){return function(){d.call(this)}}),w.Assertion.addMethod("descendant",function(d){var m=b(this,"object"),h=d;typeof d=="string"?(h=m.querySelector(d),this.assert(!!h,"expected "+T(m)+" to have descendant #{exp}","expected "+T(m)+" to not have descendant #{exp}",d)):this.assert(m.contains(d),"expected "+T(m)+" to contain "+T(d),"expected "+T(m)+" to not contain "+T(d)),b(this,"object",h)}),w.Assertion.addMethod("descendants",function(d){var m=b(this,"object"),h=m.querySelectorAll(d);this.assert(!!h.length,"expected "+T(m)+" to have descendants #{exp}","expected "+T(m)+" to not have descendants #{exp}",d),b(this,"object",h)}),w.Assertion.addProperty("displayed",function(){var d=b(this,"object"),m=document.body.contains(d)?window.getComputedStyle(d).display:d.style.display;this.assert(m!=="none","expected "+T(d)+" to be displayed, but it was not","expected "+T(d)+" to not be displayed, but it was as "+m,m)}),w.Assertion.addProperty("visible",function(){var d=b(this,"object"),m=document.body.contains(d)?window.getComputedStyle(d).visibility:d.style.visibility;this.assert(m!=="hidden"&&m!=="collapse","expected "+T(d)+" to be visible, but it was "+(m==="hidden"?"hidden":"collapsed"),"expected "+T(d)+" to not be visible, but it was",m)}),w.Assertion.addMethod("tagName",function(d){var m=b(this,"object"),h=m.tagName;this.assert(h.toUpperCase()===d.toUpperCase(),"expected "+T(m)+" to have tagName "+d+", but it was "+h,"expected "+T(m)+" to not have tagName "+d+", but it was "+h,h)}),w.Assertion.addMethod("style",function(d,m){var h=b(this,"object"),v=window.getComputedStyle(h),C=v[d];this.assert(C===m,"expected "+T(h)+" to have style property "+d+" equal to "+m+", but it was equal to "+C,"expected "+T(h)+" to not have style property "+d+" equal to "+m+", but it was equal to "+C,C)})})}),Eh=e2;function t2(O){var f={exports:{}};return O(f,f.exports),f.exports}function n2(O){throw new Error('Could not dynamically require "'+O+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var r2=t2(function(O,f){(function(w){typeof n2=="function"?O.exports=w:chai.use(w)})(function(w,E){var b=Array.prototype.slice;function T(W){return typeof W=="function"&&typeof W.getCall=="function"&&typeof W.calledWithExactly=="function"}function k(W){switch(W){case 1:return"once";case 2:return"twice";case 3:return"thrice";default:return(W||0)+" times"}}function D(W){return W&&T(W.proxy)}function I(W){if(!T(W._obj)&&!D(W._obj))throw new TypeError(E.inspect(W._obj)+" is not a spy or a call to a spy!")}function d(W,ne,se,me,Ce){var ze=me?"always have ":"have ";se=se||"",T(W.proxy)&&(W=W.proxy);function We(ot){return W.printf.apply(W,ot)}return{affirmative:function(){return We(["expected %n to "+ze+ne+se].concat(Ce))},negative:function(){return We(["expected %n to not "+ze+ne].concat(Ce))}}}function m(W,ne,se){E.addProperty(w.Assertion.prototype,W,function(){I(this);var me=d(this._obj,ne,se,!1);this.assert(this._obj[W],me.affirmative,me.negative)})}function h(W,ne,se){E.addMethod(w.Assertion.prototype,W,function(me){I(this);var Ce=d(this._obj,ne,se,!1,[k(me)]);this.assert(this._obj[W]===me,Ce.affirmative,Ce.negative)})}function v(W,ne,se){return function(){I(this);var me="always"+W[0].toUpperCase()+W.substring(1),Ce=E.flag(this,"always")&&typeof this._obj[me]=="function",ze=Ce?me:W,We=d(this._obj,ne,se,Ce,b.call(arguments));this.assert(this._obj[ze].apply(this._obj,arguments),We.affirmative,We.negative)}}function C(W,ne,se){var me=v(W,ne,se);E.addProperty(w.Assertion.prototype,W,me)}function j(W,ne,se,me){var Ce=v(ne,se,me);E.addMethod(w.Assertion.prototype,W,Ce)}function $(W,ne,se){j(W,W,ne,se)}E.addProperty(w.Assertion.prototype,"always",function(){E.flag(this,"always",!0)}),m("called","been called"," at least once, but it was never called"),h("callCount","been called exactly %1",", but it was called %c%C"),m("calledOnce","been called exactly once",", but it was called %c%C"),m("calledTwice","been called exactly twice",", but it was called %c%C"),m("calledThrice","been called exactly thrice",", but it was called %c%C"),C("calledWithNew","been called with new"),$("calledBefore","been called before %1"),$("calledAfter","been called after %1"),$("calledImmediatelyBefore","been called immediately before %1"),$("calledImmediatelyAfter","been called immediately after %1"),$("calledOn","been called with %1 as this",", but it was called with %t instead"),$("calledWith","been called with arguments %*","%D"),$("calledOnceWith","been called exactly once with arguments %*","%D"),$("calledWithExactly","been called with exact arguments %*","%D"),$("calledOnceWithExactly","been called exactly once with exact arguments %*","%D"),$("calledWithMatch","been called with arguments matching %*","%D"),$("returned","returned %1"),j("thrown","threw","thrown %1")})}),Ah=r2;ea.use(_l);ea.use(Rl);ea.use(Eh);ea.use(Ah);er();var i2=Symbol.for(""),s2=O=>{if(O?.r===i2)return O?._$litStatic$};var Bh=new Map,zl=O=>(f,...w)=>{let E=w.length,b,T,k=[],D=[],I,d=0,m=!1;for(;d<E;){for(I=f[d];d<E&&(T=w[d],(b=s2(T))!==void 0);)I+=b+f[++d],m=!0;d!==E&&D.push(T),k.push(I),d++}if(d===E&&k.push(f[E]),m){let h=k.join("$$lit$$");(f=Bh.get(h))===void 0&&(k.raw=k,Bh.set(h,f=k)),w=D}return O(f,...w)},$h=zl(Ll),lD=zl(Rh),cD=zl(Mh);function Ii(){return new Promise(O=>{requestAnimationFrame(()=>O())})}function tr(O,f,w={}){let{interval:E=50,timeout:b=1e3}=w,{stack:T}=new Error;return new Promise((k,D)=>{let I;setTimeout(()=>{clearTimeout(I);let m=new Error(f?`Timeout: ${f}`:`waitUntil timed out after ${b}ms`);m.stack=T,D(m)},b);async function d(){try{await O()?k():I=setTimeout(()=>{d()},E)}catch(m){D(m)}}d()})}var Lh=O=>typeof O=="object"&&Promise.resolve(O)===O;async function ra(O){let f=!1,w=O&&O.updateComplete;return Lh(w)&&(await w,f=!0),w=O&&O.componentOnReady?O.componentOnReady():!1,Lh(w)&&(await w,f=!0),f||await Ii(),window.ShadyDOM&&typeof window.ShadyDOM.flush=="function"&&window.ShadyDOM.flush(),O}var Bi=[];function to(){Bi&&Bi.forEach(O=>{document.body.removeChild(O)}),Bi.length=0}Xh();er();var Zh={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Jh=O=>(...f)=>({_$litDirective$:O,values:f}),Hi=class{constructor(f){}get _$AU(){return this._$AM._$AU}_$AT(f,w,E){this._$Ct=f,this._$AM=w,this._$Ci=E}_$AS(f,w){return this.update(f,w)}update(f,w){return this.render(...w)}};var ro=class extends Hi{constructor(f){if(super(f),this.it=ft,f.type!==Zh.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(f){if(f===ft||f==null)return this._t=void 0,this.it=f;if(f===In)return f;if(typeof f!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(f===this.it)return this._t;this.it=f;let w=[f];return w.raw=w,this._t={_$litType$:this.constructor.resultType,strings:w,values:[]}}};ro.directiveName="unsafeHTML",ro.resultType=1;var b2=Jh(ro);er();er();var{I:VD}=Ih;var v2=Object.freeze({ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_FRAGMENT_NODE:11});try{"afterEach"in window&&afterEach(()=>{to()}),"teardown"in window&&teardown(()=>{to()})}catch{}var rm=class{constructor(f){this.element=f}elementUpdated(){return ra(this.element)}get(f){return this.find(f)}find(f){return this.element.shadowRoot.querySelector(f)}findAll(f){return[...this.element.shadowRoot.querySelectorAll(f)]}async shouldBeHidden(f){await tr(()=>this.matches(f,w=>getComputedStyle(w).display==="none"),"Element should be hidden")}async shouldBeVisible(f){await tr(()=>this.matches(f,w=>getComputedStyle(w).display!="none"),"Element should be visible")}async shouldNotBeEmpty(f){await tr(()=>this.matches(f,w=>{var E;return((E=w.textContent)!==null&&E!==void 0?E:"").trim()!==""}),`Element <${f??this.element.constructor.name}> should have had text`)}async shouldHaveAttribute(f,w,E){await tr(()=>this.matches(f,b=>b.getAttribute(w)===E),`Element <${f??this.element.constructor.name}> should have had attribute "${w}" with value "${E}" but was "${this.getTarget(f).getAttribute(w)}"`)}async shouldHaveTextIgnoringWhiteSpaces(f,w){await tr(()=>this.matches(f,E=>{var b;return this.removeWhiteSpaces((b=E.textContent)!==null&&b!==void 0?b:"")===this.removeWhiteSpaces(w)}),`Element <${f??this.element.constructor.name}> should have had text "${w}" but was "${this.getTarget(f).textContent}"`)}matches(f,w){let E=this.getTarget(f);return!!E&&w(E)}getTarget(f){return f?this.find(f):this.element}removeWhiteSpaces(f){return f.trim().replace(/\s+/g,"-")}};})();
|
|
36
|
+
`));throw w(T),T}var Rl=(O,f)=>{let{assert:w}=O;f.addMethod(O.Assertion.prototype,"accessible",function(b){let T=this._obj,k=b||{},D=Yw(k.ignoredRules),I={resultTypes:["violations"]};D&&(I.rules=D);let d=k.done?k.done:void 0;d||(d=()=>{}),k.ignoredTags&&T.parentNode.querySelectorAll(k.ignoredTags.toString()).forEach(v=>v.setAttribute("aria-hidden",!0));let m=Xw(T,I).then(h=>Zw(f.flag(this,"negate"),h,d));return this.then=m.then.bind(m),this}),w.isAccessible=function(b,T){return new O.Assertion(b).to.be.accessible(T)},w.isNotAccessible=function(b,T){return new O.Assertion(b).not.to.be.accessible(T)}};function Jw(O){var f={exports:{}};return O(f,f.exports),f.exports}function Qw(O){throw new Error('Could not dynamically require "'+O+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var e2=Jw(function(O,f){(function(w){typeof Qw=="function"?O.exports=w:chai.use(w)})(function(w,E){var b=E.flag,T=function(d){var m;return I(d)?d.length===0?"empty NodeList":(m=Array.prototype.slice.call(d,0,5).map(T).join(", "),d.length>5?m+"... (+"+(d.length-5)+" more)":m):D(d)?(m=d.tagName.toLowerCase(),d.id&&(m+="#"+d.id),d.className&&(m+="."+String(d.className).replace(/\s+/g,".")),Array.prototype.forEach.call(d.attributes,function(h){h.name!=="class"&&h.name!=="id"&&(m+="["+h.name+(h.value?'="'+h.value+'"]':"]"))}),m):String(d)},k=function(d,m){var h=b(this,"object"),v=h.getAttribute(d);(!b(this,"negate")||m===void 0)&&this.assert(!!h.attributes[d],"expected "+T(h)+" to have an attribute #{exp}","expected "+T(h)+" not to have an attribute #{exp}",d),m!==void 0&&this.assert(m===v,"expected "+T(h)+" to have an attribute "+E.inspect(d)+" with the value #{exp}, but the value was #{act}","expected "+T(h)+" not to have an attribute "+E.inspect(d)+" with the value #{act}",m,v),b(this,"object",v)},D=function(d){return d.nodeType===1},I=function(d){return Object.prototype.toString.call(d)==="[object NodeList]"};E.elToString=T,w.Assertion.addMethod("attr",k),w.Assertion.addMethod("attribute",k),w.Assertion.addMethod("class",function(d){var m=b(this,"object");this.assert(m.classList.contains(d),"expected "+T(m)+" to have class #{exp}","expected "+T(m)+" not to have class #{exp}",d)}),w.Assertion.addMethod("id",function(d){var m=b(this,"object");this.assert(m.id==d,"expected "+T(m)+" to have id #{exp}","expected "+T(m)+" not to have id #{exp}",d)}),w.Assertion.addMethod("html",function(d){var m=b(this,"object"),h=b(this,"object").innerHTML;b(this,"contains")?this.assert(h.indexOf(d)>=0,"expected #{act} to contain HTML #{exp}","expected #{act} not to contain HTML #{exp}",d,h):this.assert(h===d,"expected "+T(m)+" to have HTML #{exp}, but the HTML was #{act}","expected "+T(m)+" not to have HTML #{exp}",d,h)}),w.Assertion.addChainableMethod("trimmed",null,function(){b(this,"trim-text",!0)}),w.Assertion.addProperty("rendered",function(){b(this,"rendered-text",!0)}),w.Assertion.addMethod("text",function(d){var m=b(this,"object"),h=b(this,"contains"),v=b(this,"trim-text"),C,j,$=b(this,"rendered-text")?"innerText":"textContent";I(m)?(C=Array.prototype.map.call(m,function(se){return v?se[$].trim():se[$]}),Array.isArray(d)?(j=h?d[b(this,"negate")?"some":"every"](function(se){return Array.prototype.some.call(m,function(me){return(v?me[$].trim():me[$])===se})}):E.eql(C,d),C=C.join(),d=d.join()):(C=C.join(""),j=h?C.indexOf(d)>=0:C===d)):(C=v?m[$].trim():m[$],j=h?C.indexOf(d)>=0:C===d);var W=T(m),ne="";v&&(ne+="trimmed "),b(this,"rendered-text")&&(ne+="rendered "),ne+="text",h?this.assert(j,"expected "+W+" to contain #{exp}, but the "+ne+" was #{act}","expected "+W+" not to contain #{exp}, but the "+ne+" was #{act}",d,C):this.assert(j,"expected "+W+" to have "+ne+" #{exp}, but the "+ne+" was #{act}","expected "+W+" not to have "+ne+" #{exp}",d,C)}),w.Assertion.addMethod("value",function(d){var m=b(this,"object"),h=b(this,"object").value;this.assert(b(this,"object").value===d,"expected "+T(m)+" to have value #{exp}, but the value was #{act}","expected "+T(m)+" not to have value #{exp}",d,h)}),w.Assertion.overwriteProperty("exist",function(d){return function(){var m=b(this,"object");I(m)?this.assert(m.length>0,"expected an empty NodeList to have nodes","expected "+T(m)+" to not exist"):d.apply(this,arguments)}}),w.Assertion.overwriteProperty("empty",function(d){return function(){var m=b(this,"object");D(m)?this.assert(m.children.length===0,"expected "+T(m)+" to be empty","expected "+T(m)+" to not be empty"):I(m)?this.assert(m.length===0,"expected "+T(m)+" to be empty","expected "+T(m)+" to not be empty"):d.apply(this,arguments)}}),w.Assertion.overwriteChainableMethod("length",function(d){return function(m){var h=b(this,"object");if(I(h)||D(h)){var v=h.children?h.children.length:h.length;this.assert(v===m,"expected "+T(h)+" to have #{exp} children but it had #{act} children","expected "+T(h)+" to not have #{exp} children",m,v)}else d.apply(this,arguments)}},function(d){return function(){d.call(this)}}),w.Assertion.overwriteMethod("match",function(d){return function(m){var h=b(this,"object");D(h)?this.assert(h.matches(m),"expected "+T(h)+" to match #{exp}","expected "+T(h)+" to not match #{exp}",m):I(h)?this.assert(!!h.length&&Array.prototype.every.call(h,function(v){return v.matches(m)}),"expected "+T(h)+" to match #{exp}","expected "+T(h)+" to not match #{exp}",m):d.apply(this,arguments)}}),w.Assertion.overwriteChainableMethod("contain",function(d){return function(m){var h=b(this,"object");D(h)?typeof m=="string"?this.assert(!!h.querySelector(m),"expected "+T(h)+" to contain #{exp}","expected "+T(h)+" to not contain #{exp}",m):this.assert(h.contains(m),"expected "+T(h)+" to contain "+T(m),"expected "+T(h)+" to not contain "+T(m)):d.apply(this,arguments)}},function(d){return function(){d.call(this)}}),w.Assertion.addMethod("descendant",function(d){var m=b(this,"object"),h=d;typeof d=="string"?(h=m.querySelector(d),this.assert(!!h,"expected "+T(m)+" to have descendant #{exp}","expected "+T(m)+" to not have descendant #{exp}",d)):this.assert(m.contains(d),"expected "+T(m)+" to contain "+T(d),"expected "+T(m)+" to not contain "+T(d)),b(this,"object",h)}),w.Assertion.addMethod("descendants",function(d){var m=b(this,"object"),h=m.querySelectorAll(d);this.assert(!!h.length,"expected "+T(m)+" to have descendants #{exp}","expected "+T(m)+" to not have descendants #{exp}",d),b(this,"object",h)}),w.Assertion.addProperty("displayed",function(){var d=b(this,"object"),m=document.body.contains(d)?window.getComputedStyle(d).display:d.style.display;this.assert(m!=="none","expected "+T(d)+" to be displayed, but it was not","expected "+T(d)+" to not be displayed, but it was as "+m,m)}),w.Assertion.addProperty("visible",function(){var d=b(this,"object"),m=document.body.contains(d)?window.getComputedStyle(d).visibility:d.style.visibility;this.assert(m!=="hidden"&&m!=="collapse","expected "+T(d)+" to be visible, but it was "+(m==="hidden"?"hidden":"collapsed"),"expected "+T(d)+" to not be visible, but it was",m)}),w.Assertion.addMethod("tagName",function(d){var m=b(this,"object"),h=m.tagName;this.assert(h.toUpperCase()===d.toUpperCase(),"expected "+T(m)+" to have tagName "+d+", but it was "+h,"expected "+T(m)+" to not have tagName "+d+", but it was "+h,h)}),w.Assertion.addMethod("style",function(d,m){var h=b(this,"object"),v=window.getComputedStyle(h),C=v[d];this.assert(C===m,"expected "+T(h)+" to have style property "+d+" equal to "+m+", but it was equal to "+C,"expected "+T(h)+" to not have style property "+d+" equal to "+m+", but it was equal to "+C,C)})})}),Eh=e2;function t2(O){var f={exports:{}};return O(f,f.exports),f.exports}function n2(O){throw new Error('Could not dynamically require "'+O+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var r2=t2(function(O,f){(function(w){typeof n2=="function"?O.exports=w:chai.use(w)})(function(w,E){var b=Array.prototype.slice;function T(W){return typeof W=="function"&&typeof W.getCall=="function"&&typeof W.calledWithExactly=="function"}function k(W){switch(W){case 1:return"once";case 2:return"twice";case 3:return"thrice";default:return(W||0)+" times"}}function D(W){return W&&T(W.proxy)}function I(W){if(!T(W._obj)&&!D(W._obj))throw new TypeError(E.inspect(W._obj)+" is not a spy or a call to a spy!")}function d(W,ne,se,me,Ce){var ze=me?"always have ":"have ";se=se||"",T(W.proxy)&&(W=W.proxy);function We(ot){return W.printf.apply(W,ot)}return{affirmative:function(){return We(["expected %n to "+ze+ne+se].concat(Ce))},negative:function(){return We(["expected %n to not "+ze+ne].concat(Ce))}}}function m(W,ne,se){E.addProperty(w.Assertion.prototype,W,function(){I(this);var me=d(this._obj,ne,se,!1);this.assert(this._obj[W],me.affirmative,me.negative)})}function h(W,ne,se){E.addMethod(w.Assertion.prototype,W,function(me){I(this);var Ce=d(this._obj,ne,se,!1,[k(me)]);this.assert(this._obj[W]===me,Ce.affirmative,Ce.negative)})}function v(W,ne,se){return function(){I(this);var me="always"+W[0].toUpperCase()+W.substring(1),Ce=E.flag(this,"always")&&typeof this._obj[me]=="function",ze=Ce?me:W,We=d(this._obj,ne,se,Ce,b.call(arguments));this.assert(this._obj[ze].apply(this._obj,arguments),We.affirmative,We.negative)}}function C(W,ne,se){var me=v(W,ne,se);E.addProperty(w.Assertion.prototype,W,me)}function j(W,ne,se,me){var Ce=v(ne,se,me);E.addMethod(w.Assertion.prototype,W,Ce)}function $(W,ne,se){j(W,W,ne,se)}E.addProperty(w.Assertion.prototype,"always",function(){E.flag(this,"always",!0)}),m("called","been called"," at least once, but it was never called"),h("callCount","been called exactly %1",", but it was called %c%C"),m("calledOnce","been called exactly once",", but it was called %c%C"),m("calledTwice","been called exactly twice",", but it was called %c%C"),m("calledThrice","been called exactly thrice",", but it was called %c%C"),C("calledWithNew","been called with new"),$("calledBefore","been called before %1"),$("calledAfter","been called after %1"),$("calledImmediatelyBefore","been called immediately before %1"),$("calledImmediatelyAfter","been called immediately after %1"),$("calledOn","been called with %1 as this",", but it was called with %t instead"),$("calledWith","been called with arguments %*","%D"),$("calledOnceWith","been called exactly once with arguments %*","%D"),$("calledWithExactly","been called with exact arguments %*","%D"),$("calledOnceWithExactly","been called exactly once with exact arguments %*","%D"),$("calledWithMatch","been called with arguments matching %*","%D"),$("returned","returned %1"),j("thrown","threw","thrown %1")})}),Ah=r2;ea.use(_l);ea.use(Rl);ea.use(Eh);ea.use(Ah);er();var i2=Symbol.for(""),s2=O=>{if(O?.r===i2)return O?._$litStatic$};var Bh=new Map,zl=O=>(f,...w)=>{let E=w.length,b,T,k=[],D=[],I,d=0,m=!1;for(;d<E;){for(I=f[d];d<E&&(T=w[d],(b=s2(T))!==void 0);)I+=b+f[++d],m=!0;d!==E&&D.push(T),k.push(I),d++}if(d===E&&k.push(f[E]),m){let h=k.join("$$lit$$");(f=Bh.get(h))===void 0&&(k.raw=k,Bh.set(h,f=k)),w=D}return O(f,...w)},$h=zl(Ll),lD=zl(Rh),cD=zl(Mh);function Ii(){return new Promise(O=>{requestAnimationFrame(()=>O())})}function tr(O,f,w={}){let{interval:E=50,timeout:b=1e3}=w,{stack:T}=new Error;return new Promise((k,D)=>{let I;setTimeout(()=>{clearTimeout(I);let m=new Error(f?`Timeout: ${f}`:`waitUntil timed out after ${b}ms`);m.stack=T,D(m)},b);async function d(){try{await O()?k():I=setTimeout(()=>{d()},E)}catch(m){D(m)}}d()})}var Lh=O=>typeof O=="object"&&Promise.resolve(O)===O;async function ra(O){let f=!1,w=O&&O.updateComplete;return Lh(w)&&(await w,f=!0),w=O&&O.componentOnReady?O.componentOnReady():!1,Lh(w)&&(await w,f=!0),f||await Ii(),window.ShadyDOM&&typeof window.ShadyDOM.flush=="function"&&window.ShadyDOM.flush(),O}var Bi=[];function to(){Bi&&Bi.forEach(O=>{document.body.removeChild(O)}),Bi.length=0}Xh();er();var Zh={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Jh=O=>(...f)=>({_$litDirective$:O,values:f}),Hi=class{constructor(f){}get _$AU(){return this._$AM._$AU}_$AT(f,w,E){this._$Ct=f,this._$AM=w,this._$Ci=E}_$AS(f,w){return this.update(f,w)}update(f,w){return this.render(...w)}};var ro=class extends Hi{constructor(f){if(super(f),this.it=ft,f.type!==Zh.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(f){if(f===ft||f==null)return this._t=void 0,this.it=f;if(f===In)return f;if(typeof f!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(f===this.it)return this._t;this.it=f;let w=[f];return w.raw=w,this._t={_$litType$:this.constructor.resultType,strings:w,values:[]}}};ro.directiveName="unsafeHTML",ro.resultType=1;var b2=Jh(ro);er();er();var{I:VD}=Ih;var v2=Object.freeze({ELEMENT_NODE:1,TEXT_NODE:3,COMMENT_NODE:8,DOCUMENT_FRAGMENT_NODE:11});try{"afterEach"in window&&afterEach(()=>{to()}),"teardown"in window&&teardown(()=>{to()})}catch{}var rm=class{constructor(f){this.element=f}elementUpdated(){return ra(this.element)}get(f){return this.find(f)}find(f){return this.element.shadowRoot.querySelector(f)}findAll(f){return[...this.element.shadowRoot.querySelectorAll(f)]}async shouldBeHidden(f){await tr(()=>this.matches(f,w=>!w.checkVisibility()),`${this.describe(f)} should be hidden`)}async shouldBeVisible(f){await tr(()=>this.matches(f,w=>w.checkVisibility()),`${this.describe(f)} should be visible`)}async shouldNotBeEmpty(f){await tr(()=>this.matches(f,w=>{var E;return((E=w.textContent)!==null&&E!==void 0?E:"").trim()!==""}),`${this.describe(f)} should have had text`)}async shouldHaveAttribute(f,w,E){await tr(()=>this.matches(f,b=>b.getAttribute(w)===E),`${this.describe(f)} should have had attribute "${w}" with value "${E}" but was "${this.getTarget(f).getAttribute(w)}"`)}async shouldHaveTextIgnoringWhiteSpaces(f,w){await tr(()=>this.matches(f,E=>{var b;return this.removeWhiteSpaces((b=E.textContent)!==null&&b!==void 0?b:"")===this.removeWhiteSpaces(w)}),`${this.describe(f)} should have had text "${w}" but was "${this.getTarget(f).textContent}"`)}matches(f,w){let E=this.getTarget(f);return!!E&&w(E)}getTarget(f){return f?this.find(f):this.element}removeWhiteSpaces(f){return f.trim().replace(/\s+/g,"-")}describe(f){return`Element <${f??this.element.constructor.name}>`}};})();
|
|
37
37
|
/*! Bundled license information:
|
|
38
38
|
|
|
39
39
|
axe-core/axe.min.js:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-wc-test-utils",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.32",
|
|
4
4
|
"description": "Test helpers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-wc-utils": "1.3.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "1.3.32",
|
|
23
23
|
"lit": "3.1.0"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "60fe73e7ae4d0815116abe89d2c4315cf454f626"
|
|
26
26
|
}
|