mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
1252 lines
839 KiB
JavaScript
1252 lines
839 KiB
JavaScript
(()=>{var XE=Object.create;var Ga=Object.defineProperty;var ZE=Object.getOwnPropertyDescriptor;var JE=Object.getOwnPropertyNames;var e8=Object.getPrototypeOf,t8=Object.prototype.hasOwnProperty;var r8=(e,t,r)=>t in e?Ga(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var n8=(e,t)=>()=>(e&&(t=e(e=0)),t);var k=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),de=(e,t)=>{for(var r in t)Ga(e,r,{get:t[r],enumerable:!0})},i8=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of JE(t))!t8.call(e,i)&&i!==r&&Ga(e,i,{get:()=>t[i],enumerable:!(n=ZE(t,i))||n.enumerable});return e};var jr=(e,t,r)=>(r=e!=null?XE(e8(e)):{},i8(t||!e||!e.__esModule?Ga(r,"default",{value:e,enumerable:!0}):r,e));var g=(e,t,r)=>r8(e,typeof t!="symbol"?t+"":t,r);var h,l=n8(()=>{h=()=>Date.now()});var hi=k((po,zy)=>{l();(function(e,t){typeof po=="object"&&typeof zy<"u"?t(po):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.sourcemapCodec={}))})(po,function(e){"use strict";let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(64),s=new Uint8Array(128);for(let I=0;I<n.length;I++){let B=n.charCodeAt(I);i[I]=B,s[B]=I}function a(I,B){let q=0,A=0,K=0;do{let F=I.next();K=s[F],q|=(K&31)<<A,A+=5}while(K&32);let ee=q&1;return q>>>=1,ee&&(q=-2147483648|-q),B+q}function u(I,B,q){let A=B-q;A=A<0?-A<<1|1:A<<1;do{let K=A&31;A>>>=5,A>0&&(K|=32),I.write(i[K])}while(A>0);return B}function o(I,B){return I.pos>=B?!1:I.peek()!==44}let c=1024*16,d=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(I){return Buffer.from(I.buffer,I.byteOffset,I.byteLength).toString()}}:{decode(I){let B="";for(let q=0;q<I.length;q++)B+=String.fromCharCode(I[q]);return B}};class p{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(c)}write(B){let{buffer:q}=this;q[this.pos++]=B,this.pos===c&&(this.out+=d.decode(q),this.pos=0)}flush(){let{buffer:B,out:q,pos:A}=this;return A>0?q+d.decode(B.subarray(0,A)):q}}class f{constructor(B){this.pos=0,this.buffer=B}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(B){let{buffer:q,pos:A}=this,K=q.indexOf(B,A);return K===-1?q.length:K}}let m=[];function y(I){let{length:B}=I,q=new f(I),A=[],K=[],ee=0;for(;q.pos<B;q.pos++){ee=a(q,ee);let F=a(q,0);if(!o(q,B)){let me=K.pop();me[2]=ee,me[3]=F;continue}let O=a(q,0),te=a(q,0)&1?[ee,F,0,0,O,a(q,0)]:[ee,F,0,0,O],oe=m;if(o(q,B)){oe=[];do{let me=a(q,0);oe.push(me)}while(o(q,B))}te.vars=oe,A.push(te),K.push(te)}return A}function w(I){let B=new p;for(let q=0;q<I.length;)q=b(I,q,B,[0]);return B.flush()}function b(I,B,q,A){let K=I[B],{0:ee,1:F,2:O,3:G,4:X,vars:te}=K;B>0&&q.write(44),A[0]=u(q,ee,A[0]),u(q,F,0),u(q,X,0);let oe=K.length===6?1:0;u(q,oe,0),K.length===6&&u(q,K[5],0);for(let me of te)u(q,me,0);for(B++;B<I.length;){let me=I[B],{0:ce,1:ge}=me;if(ce>O||ce===O&&ge>=G)break;B=b(I,B,q,A)}return q.write(44),A[0]=u(q,O,A[0]),u(q,G,0),B}function $(I){let{length:B}=I,q=new f(I),A=[],K=[],ee=0,F=0,O=0,G=0,X=0,te=0,oe=0,me=0;do{let ce=q.indexOf(";"),ge=0;for(;q.pos<ce;q.pos++){if(ge=a(q,ge),!o(q,ce)){let J=K.pop();J[2]=ee,J[3]=ge;continue}let Ne=a(q,0),Et=Ne&1,at=Ne&2,_t=Ne&4,z=null,Ce=m,Re;if(Et){let J=a(q,F);O=a(q,F===J?O:0),F=J,Re=[ee,ge,0,0,J,O]}else Re=[ee,ge,0,0];if(Re.isScope=!!_t,at){let J=G,ct=X;G=a(q,G);let We=J===G;X=a(q,We?X:0),te=a(q,We&&ct===X?te:0),z=[G,X,te]}if(Re.callsite=z,o(q,ce)){Ce=[];do{oe=ee,me=ge;let J=a(q,0),ct;if(J<-1){ct=[[a(q,0)]];for(let We=-1;We>J;We--){let Be=oe;oe=a(q,oe),me=a(q,oe===Be?me:0);let dt=a(q,0);ct.push([dt,oe,me])}}else ct=[[J]];Ce.push(ct)}while(o(q,ce))}Re.bindings=Ce,A.push(Re),K.push(Re)}ee++,q.pos=ce+1}while(q.pos<B);return A}function C(I){if(I.length===0)return"";let B=new p;for(let q=0;q<I.length;)q=R(I,q,B,[0,0,0,0,0,0,0]);return B.flush()}function R(I,B,q,A){let K=I[B],{0:ee,1:F,2:O,3:G,isScope:X,callsite:te,bindings:oe}=K;A[0]<ee?(E(q,A[0],ee),A[0]=ee,A[1]=0):B>0&&q.write(44),A[1]=u(q,K[1],A[1]);let me=(K.length===6?1:0)|(te?2:0)|(X?4:0);if(u(q,me,0),K.length===6){let{4:ce,5:ge}=K;ce!==A[2]&&(A[3]=0),A[2]=u(q,ce,A[2]),A[3]=u(q,ge,A[3])}if(te){let{0:ce,1:ge,2:Ne}=K.callsite;ce!==A[4]?(A[5]=0,A[6]=0):ge!==A[5]&&(A[6]=0),A[4]=u(q,ce,A[4]),A[5]=u(q,ge,A[5]),A[6]=u(q,Ne,A[6])}if(oe)for(let ce of oe){ce.length>1&&u(q,-ce.length,0);let ge=ce[0][0];u(q,ge,0);let Ne=ee,Et=F;for(let at=1;at<ce.length;at++){let _t=ce[at];Ne=u(q,_t[1],Ne),Et=u(q,_t[2],Et),u(q,_t[0],0)}}for(B++;B<I.length;){let ce=I[B],{0:ge,1:Ne}=ce;if(ge>O||ge===O&&Ne>=G)break;B=R(I,B,q,A)}return A[0]<O?(E(q,A[0],O),A[0]=O,A[1]=0):q.write(44),A[1]=u(q,G,A[1]),B}function E(I,B,q){do I.write(59);while(++B<q)}function H(I){let{length:B}=I,q=new f(I),A=[],K=0,ee=0,F=0,O=0,G=0;do{let X=q.indexOf(";"),te=[],oe=!0,me=0;for(K=0;q.pos<X;){let ce;K=a(q,K),K<me&&(oe=!1),me=K,o(q,X)?(ee=a(q,ee),F=a(q,F),O=a(q,O),o(q,X)?(G=a(q,G),ce=[K,ee,F,O,G]):ce=[K,ee,F,O]):ce=[K],te.push(ce),q.pos++}oe||Y(te),A.push(te),q.pos=X+1}while(q.pos<=B);return A}function Y(I){I.sort(P)}function P(I,B){return I[0]-B[0]}function j(I){let B=new p,q=0,A=0,K=0,ee=0;for(let F=0;F<I.length;F++){let O=I[F];if(F>0&&B.write(59),O.length===0)continue;let G=0;for(let X=0;X<O.length;X++){let te=O[X];X>0&&B.write(44),G=u(B,te[0],G),te.length!==1&&(q=u(B,te[1],q),A=u(B,te[2],A),K=u(B,te[3],K),te.length!==4&&(ee=u(B,te[4],ee)))}}return B.flush()}e.decode=H,e.decodeGeneratedRanges=$,e.decodeOriginalScopes=y,e.encode=j,e.encodeGeneratedRanges=C,e.encodeOriginalScopes=w,Object.defineProperty(e,"__esModule",{value:!0})})});var cb=k(Of=>{l();var ub="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Of.encode=function(e){if(0<=e&&e<ub.length)return ub[e];throw new TypeError("Must be between 0 and 63: "+e)};Of.decode=function(e){var t=65,r=90,n=97,i=122,s=48,a=57,u=43,o=47,c=26,d=52;return t<=e&&e<=r?e-t:n<=e&&e<=i?e-n+c:s<=e&&e<=a?e-s+d:e==u?62:e==o?63:-1}});var mb=k(Df=>{l();var db=cb(),Nf=5,pb=1<<Nf,hb=pb-1,fb=pb;function _R(e){return e<0?(-e<<1)+1:(e<<1)+0}function gR(e){var t=(e&1)===1,r=e>>1;return t?-r:r}Df.encode=function(t){var r="",n,i=_R(t);do n=i&hb,i>>>=Nf,i>0&&(n|=fb),r+=db.encode(n);while(i>0);return r};Df.decode=function(t,r,n){var i=t.length,s=0,a=0,u,o;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(o=db.decode(t.charCodeAt(r++)),o===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));u=!!(o&fb),o&=hb,s=s+(o<<a),a+=Nf}while(u);n.value=gR(s),n.rest=r}});var $o=k(mt=>{l();function vR(e,t,r){if(t in e)return e[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}mt.getArg=vR;var _b=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,yR=/^data:.+\,.+$/;function ms(e){var t=e.match(_b);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}mt.urlParse=ms;function yi(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}mt.urlGenerate=yi;var bR=32;function xR(e){var t=[];return function(r){for(var n=0;n<t.length;n++)if(t[n].input===r){var i=t[0];return t[0]=t[n],t[n]=i,t[0].result}var s=e(r);return t.unshift({input:r,result:s}),t.length>bR&&t.pop(),s}}var Bf=xR(function(t){var r=t,n=ms(t);if(n){if(!n.path)return t;r=n.path}for(var i=mt.isAbsolute(r),s=[],a=0,u=0;;)if(a=u,u=r.indexOf("/",a),u===-1){s.push(r.slice(a));break}else for(s.push(r.slice(a,u));u<r.length&&r[u]==="/";)u++;for(var o,c=0,u=s.length-1;u>=0;u--)o=s[u],o==="."?s.splice(u,1):o===".."?c++:c>0&&(o===""?(s.splice(u+1,c),c=0):(s.splice(u,2),c--));return r=s.join("/"),r===""&&(r=i?"/":"."),n?(n.path=r,yi(n)):r});mt.normalize=Bf;function gb(e,t){e===""&&(e="."),t===""&&(t=".");var r=ms(t),n=ms(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),yi(r);if(r||t.match(yR))return t;if(n&&!n.host&&!n.path)return n.host=t,yi(n);var i=t.charAt(0)==="/"?t:Bf(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=i,yi(n)):i}mt.join=gb;mt.isAbsolute=function(e){return e.charAt(0)==="/"||_b.test(e)};function wR(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var r=0;t.indexOf(e+"/")!==0;){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}mt.relative=wR;var vb=function(){var e=Object.create(null);return!("__proto__"in e)}();function yb(e){return e}function kR(e){return bb(e)?"$"+e:e}mt.toSetString=vb?yb:kR;function $R(e){return bb(e)?e.slice(1):e}mt.fromSetString=vb?yb:$R;function bb(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(e.charCodeAt(r)!==36)return!1;return!0}function CR(e,t,r){var n=Kr(e.source,t.source);return n!==0||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:Kr(e.name,t.name)}mt.compareByOriginalPositions=CR;function SR(e,t,r){var n;return n=e.originalLine-t.originalLine,n!==0||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:Kr(e.name,t.name)}mt.compareByOriginalPositionsNoSource=SR;function ER(e,t,r){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0||r)||(n=Kr(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:Kr(e.name,t.name)}mt.compareByGeneratedPositionsDeflated=ER;function RR(e,t,r){var n=e.generatedColumn-t.generatedColumn;return n!==0||r||(n=Kr(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:Kr(e.name,t.name)}mt.compareByGeneratedPositionsDeflatedNoLine=RR;function Kr(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function PR(e,t){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=Kr(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:Kr(e.name,t.name)}mt.compareByGeneratedPositionsInflated=PR;function AR(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}mt.parseSourceMapInput=AR;function qR(e,t,r){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),r){var n=ms(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}t=gb(yi(n),t)}return Bf(t)}mt.computeSourceURL=qR});var wb=k(xb=>{l();var Ff=$o(),jf=Object.prototype.hasOwnProperty,Rn=typeof Map<"u";function Qr(){this._array=[],this._set=Rn?new Map:Object.create(null)}Qr.fromArray=function(t,r){for(var n=new Qr,i=0,s=t.length;i<s;i++)n.add(t[i],r);return n};Qr.prototype.size=function(){return Rn?this._set.size:Object.getOwnPropertyNames(this._set).length};Qr.prototype.add=function(t,r){var n=Rn?t:Ff.toSetString(t),i=Rn?this.has(t):jf.call(this._set,n),s=this._array.length;(!i||r)&&this._array.push(t),i||(Rn?this._set.set(t,s):this._set[n]=s)};Qr.prototype.has=function(t){if(Rn)return this._set.has(t);var r=Ff.toSetString(t);return jf.call(this._set,r)};Qr.prototype.indexOf=function(t){if(Rn){var r=this._set.get(t);if(r>=0)return r}else{var n=Ff.toSetString(t);if(jf.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')};Qr.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};Qr.prototype.toArray=function(){return this._array.slice()};xb.ArraySet=Qr});var Cb=k($b=>{l();var kb=$o();function TR(e,t){var r=e.generatedLine,n=t.generatedLine,i=e.generatedColumn,s=t.generatedColumn;return n>r||n==r&&s>=i||kb.compareByGeneratedPositionsInflated(e,t)<=0}function Co(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Co.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};Co.prototype.add=function(t){TR(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};Co.prototype.toArray=function(){return this._sorted||(this._array.sort(kb.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};$b.MappingList=Co});var Eb=k(Sb=>{l();var _s=mb(),st=$o(),So=wb().ArraySet,LR=Cb().MappingList;function lr(e){e||(e={}),this._file=st.getArg(e,"file",null),this._sourceRoot=st.getArg(e,"sourceRoot",null),this._skipValidation=st.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=st.getArg(e,"ignoreInvalidMapping",!1),this._sources=new So,this._names=new So,this._mappings=new LR,this._sourcesContents=null}lr.prototype._version=3;lr.fromSourceMap=function(t,r){var n=t.sourceRoot,i=new lr(Object.assign(r||{},{file:t.file,sourceRoot:n}));return t.eachMapping(function(s){var a={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(a.source=s.source,n!=null&&(a.source=st.relative(n,a.source)),a.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(a.name=s.name)),i.addMapping(a)}),t.sources.forEach(function(s){var a=s;n!==null&&(a=st.relative(n,s)),i._sources.has(a)||i._sources.add(a);var u=t.sourceContentFor(s);u!=null&&i.setSourceContent(s,u)}),i};lr.prototype.addMapping=function(t){var r=st.getArg(t,"generated"),n=st.getArg(t,"original",null),i=st.getArg(t,"source",null),s=st.getArg(t,"name",null);!this._skipValidation&&this._validateMapping(r,n,i,s)===!1||(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:s}))};lr.prototype.setSourceContent=function(t,r){var n=t;this._sourceRoot!=null&&(n=st.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[st.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[st.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};lr.prototype.applySourceMap=function(t,r,n){var i=r;if(r==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var s=this._sourceRoot;s!=null&&(i=st.relative(s,i));var a=new So,u=new So;this._mappings.unsortedForEach(function(o){if(o.source===i&&o.originalLine!=null){var c=t.originalPositionFor({line:o.originalLine,column:o.originalColumn});c.source!=null&&(o.source=c.source,n!=null&&(o.source=st.join(n,o.source)),s!=null&&(o.source=st.relative(s,o.source)),o.originalLine=c.line,o.originalColumn=c.column,c.name!=null&&(o.name=c.name))}var d=o.source;d!=null&&!a.has(d)&&a.add(d);var p=o.name;p!=null&&!u.has(p)&&u.add(p)},this),this._sources=a,this._names=u,t.sources.forEach(function(o){var c=t.sourceContentFor(o);c!=null&&(n!=null&&(o=st.join(n,o)),s!=null&&(o=st.relative(s,o)),this.setSourceContent(o,c))},this)};lr.prototype._validateMapping=function(t,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number"){var s="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(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(s),!1;throw new Error(s)}if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!n&&!i)){if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&n)return;var s="Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:i});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(s),!1;throw new Error(s)}};lr.prototype._serializeMappings=function(){for(var t=0,r=1,n=0,i=0,s=0,a=0,u="",o,c,d,p,f=this._mappings.toArray(),m=0,y=f.length;m<y;m++){if(c=f[m],o="",c.generatedLine!==r)for(t=0;c.generatedLine!==r;)o+=";",r++;else if(m>0){if(!st.compareByGeneratedPositionsInflated(c,f[m-1]))continue;o+=","}o+=_s.encode(c.generatedColumn-t),t=c.generatedColumn,c.source!=null&&(p=this._sources.indexOf(c.source),o+=_s.encode(p-a),a=p,o+=_s.encode(c.originalLine-1-i),i=c.originalLine-1,o+=_s.encode(c.originalColumn-n),n=c.originalColumn,c.name!=null&&(d=this._names.indexOf(c.name),o+=_s.encode(d-s),s=d)),u+=o}return u};lr.prototype._generateSourcesContent=function(t,r){return t.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=st.relative(r,n));var i=st.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};lr.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};lr.prototype.toString=function(){return JSON.stringify(this.toJSON())};Sb.SourceMapGenerator=lr});var G0=k(nl=>{"use strict";l();Object.defineProperty(nl,"__esModule",{value:!0});nl.default=void 0;function hM(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var i=e[t];return t=t+1,{done:!1,value:i}}else return{done:!0}}};return r}var fM=hM;nl.default=fM});var Ni=k(Pg=>{"use strict";l();Object.defineProperty(Pg,"__esModule",{value:!0});Pg.default=gM;var mM=_M(G0());function _M(e){return e&&e.__esModule?e:{default:e}}function Rg(e){"@babel/helpers - typeof";return Rg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rg(e)}function gM(e,t){return typeof Symbol=="function"&&Rg(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:mM.default.bind(t)}),e}});var K0=k(il=>{"use strict";l();Object.defineProperty(il,"__esModule",{value:!0});il.default=void 0;var vM=yM(Ni());function yM(e){return e&&e.__esModule?e:{default:e}}function Ag(e,t){return wM(e)||xM(e,t)||Y0(e,t)||bM()}function bM(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xM(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,s=!1,a,u;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(o){s=!0,u=o}finally{try{!i&&r.return!=null&&r.return()}finally{if(s)throw u}}return n}}function wM(e){if(Array.isArray(e))return e}function kM(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Y0(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,u;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return s=c.done,c},e:function(c){a=!0,u=c},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}}}function Y0(e,t){if(e){if(typeof e=="string")return W0(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return W0(e,t)}}function W0(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Di=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],qg={entries:function(){return Di},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=kM(Di),i;try{for(n.s();!(i=n.n()).done;){var s=Ag(i.value,2),a=s[0],u=s[1];t.call(r,u,a,Di)}}catch(o){n.e(o)}finally{n.f()}},get:function(t){var r=Di.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!qg.get(t)},keys:function(){return Di.map(function(t){var r=Ag(t,1),n=r[0];return n})},values:function(){return Di.map(function(t){var r=Ag(t,2),n=r[1];return n})}},$M=(0,vM.default)(qg,qg.entries());il.default=$M});var Z0=k(sl=>{"use strict";l();Object.defineProperty(sl,"__esModule",{value:!0});sl.default=void 0;var CM=SM(Ni());function SM(e){return e&&e.__esModule?e:{default:e}}function Tg(e,t){return PM(e)||RM(e,t)||X0(e,t)||EM()}function EM(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function RM(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,s=!1,a,u;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(o){s=!0,u=o}finally{try{!i&&r.return!=null&&r.return()}finally{if(s)throw u}}return n}}function PM(e){if(Array.isArray(e))return e}function AM(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=X0(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,u;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return s=c.done,c},e:function(c){a=!0,u=c},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}}}function X0(e,t){if(e){if(typeof e=="string")return Q0(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Q0(e,t)}}function Q0(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Bi=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],Lg={entries:function(){return Bi},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=AM(Bi),i;try{for(n.s();!(i=n.n()).done;){var s=Tg(i.value,2),a=s[0],u=s[1];t.call(r,u,a,Bi)}}catch(o){n.e(o)}finally{n.f()}},get:function(t){var r=Bi.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Lg.get(t)},keys:function(){return Bi.map(function(t){var r=Tg(t,1),n=r[0];return n})},values:function(){return Bi.map(function(t){var r=Tg(t,2),n=r[1];return n})}},qM=(0,CM.default)(Lg,Lg.entries());sl.default=qM});var J0=k(al=>{"use strict";l();Object.defineProperty(al,"__esModule",{value:!0});al.default=void 0;var TM={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},LM=TM;al.default=LM});var e1=k(ol=>{"use strict";l();Object.defineProperty(ol,"__esModule",{value:!0});ol.default=void 0;var MM={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},IM=MM;ol.default=IM});var t1=k(ll=>{"use strict";l();Object.defineProperty(ll,"__esModule",{value:!0});ll.default=void 0;var OM={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},NM=OM;ll.default=NM});var r1=k(ul=>{"use strict";l();Object.defineProperty(ul,"__esModule",{value:!0});ul.default=void 0;var DM={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},BM=DM;ul.default=BM});var n1=k(cl=>{"use strict";l();Object.defineProperty(cl,"__esModule",{value:!0});cl.default=void 0;var FM={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},jM=FM;cl.default=jM});var i1=k(dl=>{"use strict";l();Object.defineProperty(dl,"__esModule",{value:!0});dl.default=void 0;var VM={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},HM=VM;dl.default=HM});var s1=k(pl=>{"use strict";l();Object.defineProperty(pl,"__esModule",{value:!0});pl.default=void 0;var UM={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},zM=UM;pl.default=zM});var a1=k(hl=>{"use strict";l();Object.defineProperty(hl,"__esModule",{value:!0});hl.default=void 0;var GM={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},WM=GM;hl.default=WM});var o1=k(fl=>{"use strict";l();Object.defineProperty(fl,"__esModule",{value:!0});fl.default=void 0;var YM={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},KM=YM;fl.default=KM});var l1=k(ml=>{"use strict";l();Object.defineProperty(ml,"__esModule",{value:!0});ml.default=void 0;var QM={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},XM=QM;ml.default=XM});var u1=k(_l=>{"use strict";l();Object.defineProperty(_l,"__esModule",{value:!0});_l.default=void 0;var ZM={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},JM=ZM;_l.default=JM});var c1=k(gl=>{"use strict";l();Object.defineProperty(gl,"__esModule",{value:!0});gl.default=void 0;var e9={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t9=e9;gl.default=t9});var d1=k(vl=>{"use strict";l();Object.defineProperty(vl,"__esModule",{value:!0});vl.default=void 0;var r9=cr(J0()),n9=cr(e1()),i9=cr(t1()),s9=cr(r1()),a9=cr(n1()),o9=cr(i1()),l9=cr(s1()),u9=cr(a1()),c9=cr(o1()),d9=cr(l1()),p9=cr(u1()),h9=cr(c1());function cr(e){return e&&e.__esModule?e:{default:e}}var f9=[["command",r9.default],["composite",n9.default],["input",i9.default],["landmark",s9.default],["range",a9.default],["roletype",o9.default],["section",l9.default],["sectionhead",u9.default],["select",c9.default],["structure",d9.default],["widget",p9.default],["window",h9.default]],m9=f9;vl.default=m9});var p1=k(yl=>{"use strict";l();Object.defineProperty(yl,"__esModule",{value:!0});yl.default=void 0;var _9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},g9=_9;yl.default=g9});var h1=k(bl=>{"use strict";l();Object.defineProperty(bl,"__esModule",{value:!0});bl.default=void 0;var v9={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},y9=v9;bl.default=y9});var f1=k(xl=>{"use strict";l();Object.defineProperty(xl,"__esModule",{value:!0});xl.default=void 0;var b9={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},x9=b9;xl.default=x9});var m1=k(wl=>{"use strict";l();Object.defineProperty(wl,"__esModule",{value:!0});wl.default=void 0;var w9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},k9=w9;wl.default=k9});var _1=k(kl=>{"use strict";l();Object.defineProperty(kl,"__esModule",{value:!0});kl.default=void 0;var $9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},C9=$9;kl.default=C9});var g1=k($l=>{"use strict";l();Object.defineProperty($l,"__esModule",{value:!0});$l.default=void 0;var S9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},E9=S9;$l.default=E9});var v1=k(Cl=>{"use strict";l();Object.defineProperty(Cl,"__esModule",{value:!0});Cl.default=void 0;var R9={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},P9=R9;Cl.default=P9});var y1=k(Sl=>{"use strict";l();Object.defineProperty(Sl,"__esModule",{value:!0});Sl.default=void 0;var A9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},q9=A9;Sl.default=q9});var b1=k(El=>{"use strict";l();Object.defineProperty(El,"__esModule",{value:!0});El.default=void 0;var T9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},L9=T9;El.default=L9});var x1=k(Rl=>{"use strict";l();Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=void 0;var M9={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},I9=M9;Rl.default=I9});var w1=k(Pl=>{"use strict";l();Object.defineProperty(Pl,"__esModule",{value:!0});Pl.default=void 0;var O9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},N9=O9;Pl.default=N9});var k1=k(Al=>{"use strict";l();Object.defineProperty(Al,"__esModule",{value:!0});Al.default=void 0;var D9={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},B9=D9;Al.default=B9});var $1=k(ql=>{"use strict";l();Object.defineProperty(ql,"__esModule",{value:!0});ql.default=void 0;var F9={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},j9=F9;ql.default=j9});var C1=k(Tl=>{"use strict";l();Object.defineProperty(Tl,"__esModule",{value:!0});Tl.default=void 0;var V9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},H9=V9;Tl.default=H9});var S1=k(Ll=>{"use strict";l();Object.defineProperty(Ll,"__esModule",{value:!0});Ll.default=void 0;var U9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},z9=U9;Ll.default=z9});var E1=k(Ml=>{"use strict";l();Object.defineProperty(Ml,"__esModule",{value:!0});Ml.default=void 0;var G9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},W9=G9;Ml.default=W9});var R1=k(Il=>{"use strict";l();Object.defineProperty(Il,"__esModule",{value:!0});Il.default=void 0;var Y9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},K9=Y9;Il.default=K9});var P1=k(Ol=>{"use strict";l();Object.defineProperty(Ol,"__esModule",{value:!0});Ol.default=void 0;var Q9={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},X9=Q9;Ol.default=X9});var A1=k(Nl=>{"use strict";l();Object.defineProperty(Nl,"__esModule",{value:!0});Nl.default=void 0;var Z9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},J9=Z9;Nl.default=J9});var q1=k(Dl=>{"use strict";l();Object.defineProperty(Dl,"__esModule",{value:!0});Dl.default=void 0;var eI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},tI=eI;Dl.default=tI});var T1=k(Bl=>{"use strict";l();Object.defineProperty(Bl,"__esModule",{value:!0});Bl.default=void 0;var rI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},nI=rI;Bl.default=nI});var L1=k(Fl=>{"use strict";l();Object.defineProperty(Fl,"__esModule",{value:!0});Fl.default=void 0;var iI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},sI=iI;Fl.default=sI});var M1=k(jl=>{"use strict";l();Object.defineProperty(jl,"__esModule",{value:!0});jl.default=void 0;var aI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},oI=aI;jl.default=oI});var I1=k(Vl=>{"use strict";l();Object.defineProperty(Vl,"__esModule",{value:!0});Vl.default=void 0;var lI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},uI=lI;Vl.default=uI});var O1=k(Hl=>{"use strict";l();Object.defineProperty(Hl,"__esModule",{value:!0});Hl.default=void 0;var cI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},dI=cI;Hl.default=dI});var N1=k(Ul=>{"use strict";l();Object.defineProperty(Ul,"__esModule",{value:!0});Ul.default=void 0;var pI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},hI=pI;Ul.default=hI});var D1=k(zl=>{"use strict";l();Object.defineProperty(zl,"__esModule",{value:!0});zl.default=void 0;var fI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},mI=fI;zl.default=mI});var B1=k(Gl=>{"use strict";l();Object.defineProperty(Gl,"__esModule",{value:!0});Gl.default=void 0;var _I={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gI=_I;Gl.default=gI});var F1=k(Wl=>{"use strict";l();Object.defineProperty(Wl,"__esModule",{value:!0});Wl.default=void 0;var vI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},yI=vI;Wl.default=yI});var j1=k(Yl=>{"use strict";l();Object.defineProperty(Yl,"__esModule",{value:!0});Yl.default=void 0;var bI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},xI=bI;Yl.default=xI});var V1=k(Kl=>{"use strict";l();Object.defineProperty(Kl,"__esModule",{value:!0});Kl.default=void 0;var wI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},kI=wI;Kl.default=kI});var H1=k(Ql=>{"use strict";l();Object.defineProperty(Ql,"__esModule",{value:!0});Ql.default=void 0;var $I={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},CI=$I;Ql.default=CI});var U1=k(Xl=>{"use strict";l();Object.defineProperty(Xl,"__esModule",{value:!0});Xl.default=void 0;var SI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},EI=SI;Xl.default=EI});var z1=k(Zl=>{"use strict";l();Object.defineProperty(Zl,"__esModule",{value:!0});Zl.default=void 0;var RI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},PI=RI;Zl.default=PI});var G1=k(Jl=>{"use strict";l();Object.defineProperty(Jl,"__esModule",{value:!0});Jl.default=void 0;var AI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},qI=AI;Jl.default=qI});var W1=k(eu=>{"use strict";l();Object.defineProperty(eu,"__esModule",{value:!0});eu.default=void 0;var TI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},LI=TI;eu.default=LI});var Y1=k(tu=>{"use strict";l();Object.defineProperty(tu,"__esModule",{value:!0});tu.default=void 0;var MI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},II=MI;tu.default=II});var K1=k(ru=>{"use strict";l();Object.defineProperty(ru,"__esModule",{value:!0});ru.default=void 0;var OI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},NI=OI;ru.default=NI});var Q1=k(nu=>{"use strict";l();Object.defineProperty(nu,"__esModule",{value:!0});nu.default=void 0;var DI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},BI=DI;nu.default=BI});var X1=k(iu=>{"use strict";l();Object.defineProperty(iu,"__esModule",{value:!0});iu.default=void 0;var FI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},jI=FI;iu.default=jI});var Z1=k(su=>{"use strict";l();Object.defineProperty(su,"__esModule",{value:!0});su.default=void 0;var VI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},HI=VI;su.default=HI});var J1=k(au=>{"use strict";l();Object.defineProperty(au,"__esModule",{value:!0});au.default=void 0;var UI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},zI=UI;au.default=zI});var ew=k(ou=>{"use strict";l();Object.defineProperty(ou,"__esModule",{value:!0});ou.default=void 0;var GI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},WI=GI;ou.default=WI});var tw=k(lu=>{"use strict";l();Object.defineProperty(lu,"__esModule",{value:!0});lu.default=void 0;var YI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},KI=YI;lu.default=KI});var rw=k(uu=>{"use strict";l();Object.defineProperty(uu,"__esModule",{value:!0});uu.default=void 0;var QI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},XI=QI;uu.default=XI});var nw=k(cu=>{"use strict";l();Object.defineProperty(cu,"__esModule",{value:!0});cu.default=void 0;var ZI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},JI=ZI;cu.default=JI});var iw=k(du=>{"use strict";l();Object.defineProperty(du,"__esModule",{value:!0});du.default=void 0;var e6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t6=e6;du.default=t6});var sw=k(pu=>{"use strict";l();Object.defineProperty(pu,"__esModule",{value:!0});pu.default=void 0;var r6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},n6=r6;pu.default=n6});var aw=k(hu=>{"use strict";l();Object.defineProperty(hu,"__esModule",{value:!0});hu.default=void 0;var i6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},s6=i6;hu.default=s6});var ow=k(fu=>{"use strict";l();Object.defineProperty(fu,"__esModule",{value:!0});fu.default=void 0;var a6={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},o6=a6;fu.default=o6});var lw=k(mu=>{"use strict";l();Object.defineProperty(mu,"__esModule",{value:!0});mu.default=void 0;var l6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},u6=l6;mu.default=u6});var uw=k(_u=>{"use strict";l();Object.defineProperty(_u,"__esModule",{value:!0});_u.default=void 0;var c6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},d6=c6;_u.default=d6});var cw=k(gu=>{"use strict";l();Object.defineProperty(gu,"__esModule",{value:!0});gu.default=void 0;var p6={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},h6=p6;gu.default=h6});var dw=k(vu=>{"use strict";l();Object.defineProperty(vu,"__esModule",{value:!0});vu.default=void 0;var f6={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},m6=f6;vu.default=m6});var pw=k(yu=>{"use strict";l();Object.defineProperty(yu,"__esModule",{value:!0});yu.default=void 0;var _6={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},g6=_6;yu.default=g6});var hw=k(bu=>{"use strict";l();Object.defineProperty(bu,"__esModule",{value:!0});bu.default=void 0;var v6={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},y6=v6;bu.default=y6});var fw=k(xu=>{"use strict";l();Object.defineProperty(xu,"__esModule",{value:!0});xu.default=void 0;var b6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},x6=b6;xu.default=x6});var mw=k(wu=>{"use strict";l();Object.defineProperty(wu,"__esModule",{value:!0});wu.default=void 0;var w6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},k6=w6;wu.default=k6});var _w=k(ku=>{"use strict";l();Object.defineProperty(ku,"__esModule",{value:!0});ku.default=void 0;var $6={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},C6=$6;ku.default=C6});var gw=k($u=>{"use strict";l();Object.defineProperty($u,"__esModule",{value:!0});$u.default=void 0;var S6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},E6=S6;$u.default=E6});var vw=k(Cu=>{"use strict";l();Object.defineProperty(Cu,"__esModule",{value:!0});Cu.default=void 0;var R6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},P6=R6;Cu.default=P6});var yw=k(Su=>{"use strict";l();Object.defineProperty(Su,"__esModule",{value:!0});Su.default=void 0;var A6={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},q6=A6;Su.default=q6});var bw=k(Eu=>{"use strict";l();Object.defineProperty(Eu,"__esModule",{value:!0});Eu.default=void 0;var T6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},L6=T6;Eu.default=L6});var xw=k(Ru=>{"use strict";l();Object.defineProperty(Ru,"__esModule",{value:!0});Ru.default=void 0;var M6={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},I6=M6;Ru.default=I6});var ww=k(Pu=>{"use strict";l();Object.defineProperty(Pu,"__esModule",{value:!0});Pu.default=void 0;var O6={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},N6=O6;Pu.default=N6});var kw=k(Au=>{"use strict";l();Object.defineProperty(Au,"__esModule",{value:!0});Au.default=void 0;var D6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},B6=D6;Au.default=B6});var $w=k(qu=>{"use strict";l();Object.defineProperty(qu,"__esModule",{value:!0});qu.default=void 0;var F6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},j6=F6;qu.default=j6});var Cw=k(Tu=>{"use strict";l();Object.defineProperty(Tu,"__esModule",{value:!0});Tu.default=void 0;var V6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},H6=V6;Tu.default=H6});var Sw=k(Lu=>{"use strict";l();Object.defineProperty(Lu,"__esModule",{value:!0});Lu.default=void 0;var U6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},z6=U6;Lu.default=z6});var Ew=k(Mu=>{"use strict";l();Object.defineProperty(Mu,"__esModule",{value:!0});Mu.default=void 0;var G6={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},W6=G6;Mu.default=W6});var Rw=k(Iu=>{"use strict";l();Object.defineProperty(Iu,"__esModule",{value:!0});Iu.default=void 0;var Y6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},K6=Y6;Iu.default=K6});var Pw=k(Ou=>{"use strict";l();Object.defineProperty(Ou,"__esModule",{value:!0});Ou.default=void 0;var Q6={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},X6=Q6;Ou.default=X6});var Aw=k(Nu=>{"use strict";l();Object.defineProperty(Nu,"__esModule",{value:!0});Nu.default=void 0;var Z6={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},J6=Z6;Nu.default=J6});var qw=k(Du=>{"use strict";l();Object.defineProperty(Du,"__esModule",{value:!0});Du.default=void 0;var eO={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tO=eO;Du.default=tO});var Tw=k(Bu=>{"use strict";l();Object.defineProperty(Bu,"__esModule",{value:!0});Bu.default=void 0;var rO={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},nO=rO;Bu.default=nO});var Lw=k(Fu=>{"use strict";l();Object.defineProperty(Fu,"__esModule",{value:!0});Fu.default=void 0;var iO={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},sO=iO;Fu.default=sO});var Mw=k(ju=>{"use strict";l();Object.defineProperty(ju,"__esModule",{value:!0});ju.default=void 0;var aO={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},oO=aO;ju.default=oO});var Iw=k(Vu=>{"use strict";l();Object.defineProperty(Vu,"__esModule",{value:!0});Vu.default=void 0;var lO={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},uO=lO;Vu.default=uO});var Ow=k(Hu=>{"use strict";l();Object.defineProperty(Hu,"__esModule",{value:!0});Hu.default=void 0;var cO={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},dO=cO;Hu.default=dO});var Nw=k(Uu=>{"use strict";l();Object.defineProperty(Uu,"__esModule",{value:!0});Uu.default=void 0;var pO={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hO=pO;Uu.default=hO});var Dw=k(zu=>{"use strict";l();Object.defineProperty(zu,"__esModule",{value:!0});zu.default=void 0;var fO={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},mO=fO;zu.default=mO});var Bw=k(Gu=>{"use strict";l();Object.defineProperty(Gu,"__esModule",{value:!0});Gu.default=void 0;var _O={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},gO=_O;Gu.default=gO});var Fw=k(Wu=>{"use strict";l();Object.defineProperty(Wu,"__esModule",{value:!0});Wu.default=void 0;var vO={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},yO=vO;Wu.default=yO});var jw=k(Yu=>{"use strict";l();Object.defineProperty(Yu,"__esModule",{value:!0});Yu.default=void 0;var bO=W(p1()),xO=W(h1()),wO=W(f1()),kO=W(m1()),$O=W(_1()),CO=W(g1()),SO=W(v1()),EO=W(y1()),RO=W(b1()),PO=W(x1()),AO=W(w1()),qO=W(k1()),TO=W($1()),LO=W(C1()),MO=W(S1()),IO=W(E1()),OO=W(R1()),NO=W(P1()),DO=W(A1()),BO=W(q1()),FO=W(T1()),jO=W(L1()),VO=W(M1()),HO=W(I1()),UO=W(O1()),zO=W(N1()),GO=W(D1()),WO=W(B1()),YO=W(F1()),KO=W(j1()),QO=W(V1()),XO=W(H1()),ZO=W(U1()),JO=W(z1()),e3=W(G1()),t3=W(W1()),r3=W(Y1()),n3=W(K1()),i3=W(Q1()),s3=W(X1()),a3=W(Z1()),o3=W(J1()),l3=W(ew()),u3=W(tw()),c3=W(rw()),d3=W(nw()),p3=W(iw()),h3=W(sw()),f3=W(aw()),m3=W(ow()),_3=W(lw()),g3=W(uw()),v3=W(cw()),y3=W(dw()),b3=W(pw()),x3=W(hw()),w3=W(fw()),k3=W(mw()),$3=W(_w()),C3=W(gw()),S3=W(vw()),E3=W(yw()),R3=W(bw()),P3=W(xw()),A3=W(ww()),q3=W(kw()),T3=W($w()),L3=W(Cw()),M3=W(Sw()),I3=W(Ew()),O3=W(Rw()),N3=W(Pw()),D3=W(Aw()),B3=W(qw()),F3=W(Tw()),j3=W(Lw()),V3=W(Mw()),H3=W(Iw()),U3=W(Ow()),z3=W(Nw()),G3=W(Dw()),W3=W(Bw()),Y3=W(Fw());function W(e){return e&&e.__esModule?e:{default:e}}var K3=[["alert",bO.default],["alertdialog",xO.default],["application",wO.default],["article",kO.default],["banner",$O.default],["blockquote",CO.default],["button",SO.default],["caption",EO.default],["cell",RO.default],["checkbox",PO.default],["code",AO.default],["columnheader",qO.default],["combobox",TO.default],["complementary",LO.default],["contentinfo",MO.default],["definition",IO.default],["deletion",OO.default],["dialog",NO.default],["directory",DO.default],["document",BO.default],["emphasis",FO.default],["feed",jO.default],["figure",VO.default],["form",HO.default],["generic",UO.default],["grid",zO.default],["gridcell",GO.default],["group",WO.default],["heading",YO.default],["img",KO.default],["insertion",QO.default],["link",XO.default],["list",ZO.default],["listbox",JO.default],["listitem",e3.default],["log",t3.default],["main",r3.default],["mark",n3.default],["marquee",i3.default],["math",s3.default],["menu",a3.default],["menubar",o3.default],["menuitem",l3.default],["menuitemcheckbox",u3.default],["menuitemradio",c3.default],["meter",d3.default],["navigation",p3.default],["none",h3.default],["note",f3.default],["option",m3.default],["paragraph",_3.default],["presentation",g3.default],["progressbar",v3.default],["radio",y3.default],["radiogroup",b3.default],["region",x3.default],["row",w3.default],["rowgroup",k3.default],["rowheader",$3.default],["scrollbar",C3.default],["search",S3.default],["searchbox",E3.default],["separator",R3.default],["slider",P3.default],["spinbutton",A3.default],["status",q3.default],["strong",T3.default],["subscript",L3.default],["superscript",M3.default],["switch",I3.default],["tab",O3.default],["table",N3.default],["tablist",D3.default],["tabpanel",B3.default],["term",F3.default],["textbox",j3.default],["time",V3.default],["timer",H3.default],["toolbar",U3.default],["tooltip",z3.default],["tree",G3.default],["treegrid",W3.default],["treeitem",Y3.default]],Q3=K3;Yu.default=Q3});var Vw=k(Ku=>{"use strict";l();Object.defineProperty(Ku,"__esModule",{value:!0});Ku.default=void 0;var X3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Z3=X3;Ku.default=Z3});var Hw=k(Qu=>{"use strict";l();Object.defineProperty(Qu,"__esModule",{value:!0});Qu.default=void 0;var J3={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},e7=J3;Qu.default=e7});var Uw=k(Xu=>{"use strict";l();Object.defineProperty(Xu,"__esModule",{value:!0});Xu.default=void 0;var t7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r7=t7;Xu.default=r7});var zw=k(Zu=>{"use strict";l();Object.defineProperty(Zu,"__esModule",{value:!0});Zu.default=void 0;var n7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},i7=n7;Zu.default=i7});var Gw=k(Ju=>{"use strict";l();Object.defineProperty(Ju,"__esModule",{value:!0});Ju.default=void 0;var s7={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},a7=s7;Ju.default=a7});var Ww=k(ec=>{"use strict";l();Object.defineProperty(ec,"__esModule",{value:!0});ec.default=void 0;var o7={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},l7=o7;ec.default=l7});var Yw=k(tc=>{"use strict";l();Object.defineProperty(tc,"__esModule",{value:!0});tc.default=void 0;var u7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},c7=u7;tc.default=c7});var Kw=k(rc=>{"use strict";l();Object.defineProperty(rc,"__esModule",{value:!0});rc.default=void 0;var d7={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},p7=d7;rc.default=p7});var Qw=k(nc=>{"use strict";l();Object.defineProperty(nc,"__esModule",{value:!0});nc.default=void 0;var h7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},f7=h7;nc.default=f7});var Xw=k(ic=>{"use strict";l();Object.defineProperty(ic,"__esModule",{value:!0});ic.default=void 0;var m7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_7=m7;ic.default=_7});var Zw=k(sc=>{"use strict";l();Object.defineProperty(sc,"__esModule",{value:!0});sc.default=void 0;var g7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},v7=g7;sc.default=v7});var Jw=k(ac=>{"use strict";l();Object.defineProperty(ac,"__esModule",{value:!0});ac.default=void 0;var y7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},b7=y7;ac.default=b7});var ek=k(oc=>{"use strict";l();Object.defineProperty(oc,"__esModule",{value:!0});oc.default=void 0;var x7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},w7=x7;oc.default=w7});var tk=k(lc=>{"use strict";l();Object.defineProperty(lc,"__esModule",{value:!0});lc.default=void 0;var k7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},$7=k7;lc.default=$7});var rk=k(uc=>{"use strict";l();Object.defineProperty(uc,"__esModule",{value:!0});uc.default=void 0;var C7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},S7=C7;uc.default=S7});var nk=k(cc=>{"use strict";l();Object.defineProperty(cc,"__esModule",{value:!0});cc.default=void 0;var E7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},R7=E7;cc.default=R7});var ik=k(dc=>{"use strict";l();Object.defineProperty(dc,"__esModule",{value:!0});dc.default=void 0;var P7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},A7=P7;dc.default=A7});var sk=k(pc=>{"use strict";l();Object.defineProperty(pc,"__esModule",{value:!0});pc.default=void 0;var q7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},T7=q7;pc.default=T7});var ak=k(hc=>{"use strict";l();Object.defineProperty(hc,"__esModule",{value:!0});hc.default=void 0;var L7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},M7=L7;hc.default=M7});var ok=k(fc=>{"use strict";l();Object.defineProperty(fc,"__esModule",{value:!0});fc.default=void 0;var I7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},O7=I7;fc.default=O7});var lk=k(mc=>{"use strict";l();Object.defineProperty(mc,"__esModule",{value:!0});mc.default=void 0;var N7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},D7=N7;mc.default=D7});var uk=k(_c=>{"use strict";l();Object.defineProperty(_c,"__esModule",{value:!0});_c.default=void 0;var B7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},F7=B7;_c.default=F7});var ck=k(gc=>{"use strict";l();Object.defineProperty(gc,"__esModule",{value:!0});gc.default=void 0;var j7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},V7=j7;gc.default=V7});var dk=k(vc=>{"use strict";l();Object.defineProperty(vc,"__esModule",{value:!0});vc.default=void 0;var H7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},U7=H7;vc.default=U7});var pk=k(yc=>{"use strict";l();Object.defineProperty(yc,"__esModule",{value:!0});yc.default=void 0;var z7={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},G7=z7;yc.default=G7});var hk=k(bc=>{"use strict";l();Object.defineProperty(bc,"__esModule",{value:!0});bc.default=void 0;var W7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},Y7=W7;bc.default=Y7});var fk=k(xc=>{"use strict";l();Object.defineProperty(xc,"__esModule",{value:!0});xc.default=void 0;var K7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Q7=K7;xc.default=Q7});var mk=k(wc=>{"use strict";l();Object.defineProperty(wc,"__esModule",{value:!0});wc.default=void 0;var X7={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Z7=X7;wc.default=Z7});var _k=k(kc=>{"use strict";l();Object.defineProperty(kc,"__esModule",{value:!0});kc.default=void 0;var J7={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},eN=J7;kc.default=eN});var gk=k($c=>{"use strict";l();Object.defineProperty($c,"__esModule",{value:!0});$c.default=void 0;var tN={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},rN=tN;$c.default=rN});var vk=k(Cc=>{"use strict";l();Object.defineProperty(Cc,"__esModule",{value:!0});Cc.default=void 0;var nN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},iN=nN;Cc.default=iN});var yk=k(Sc=>{"use strict";l();Object.defineProperty(Sc,"__esModule",{value:!0});Sc.default=void 0;var sN={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},aN=sN;Sc.default=aN});var bk=k(Ec=>{"use strict";l();Object.defineProperty(Ec,"__esModule",{value:!0});Ec.default=void 0;var oN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},lN=oN;Ec.default=lN});var xk=k(Rc=>{"use strict";l();Object.defineProperty(Rc,"__esModule",{value:!0});Rc.default=void 0;var uN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},cN=uN;Rc.default=cN});var wk=k(Pc=>{"use strict";l();Object.defineProperty(Pc,"__esModule",{value:!0});Pc.default=void 0;var dN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},pN=dN;Pc.default=pN});var kk=k(Ac=>{"use strict";l();Object.defineProperty(Ac,"__esModule",{value:!0});Ac.default=void 0;var hN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fN=hN;Ac.default=fN});var $k=k(qc=>{"use strict";l();Object.defineProperty(qc,"__esModule",{value:!0});qc.default=void 0;var mN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},_N=mN;qc.default=_N});var Ck=k(Tc=>{"use strict";l();Object.defineProperty(Tc,"__esModule",{value:!0});Tc.default=void 0;var gN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},vN=gN;Tc.default=vN});var Sk=k(Lc=>{"use strict";l();Object.defineProperty(Lc,"__esModule",{value:!0});Lc.default=void 0;var yN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},bN=yN;Lc.default=bN});var Ek=k(Mc=>{"use strict";l();Object.defineProperty(Mc,"__esModule",{value:!0});Mc.default=void 0;var xN=$e(Vw()),wN=$e(Hw()),kN=$e(Uw()),$N=$e(zw()),CN=$e(Gw()),SN=$e(Ww()),EN=$e(Yw()),RN=$e(Kw()),PN=$e(Qw()),AN=$e(Xw()),qN=$e(Zw()),TN=$e(Jw()),LN=$e(ek()),MN=$e(tk()),IN=$e(rk()),ON=$e(nk()),NN=$e(ik()),DN=$e(sk()),BN=$e(ak()),FN=$e(ok()),jN=$e(lk()),VN=$e(uk()),HN=$e(ck()),UN=$e(dk()),zN=$e(pk()),GN=$e(hk()),WN=$e(fk()),YN=$e(mk()),KN=$e(_k()),QN=$e(gk()),XN=$e(vk()),ZN=$e(yk()),JN=$e(bk()),e4=$e(xk()),t4=$e(wk()),r4=$e(kk()),n4=$e($k()),i4=$e(Ck()),s4=$e(Sk());function $e(e){return e&&e.__esModule?e:{default:e}}var a4=[["doc-abstract",xN.default],["doc-acknowledgments",wN.default],["doc-afterword",kN.default],["doc-appendix",$N.default],["doc-backlink",CN.default],["doc-biblioentry",SN.default],["doc-bibliography",EN.default],["doc-biblioref",RN.default],["doc-chapter",PN.default],["doc-colophon",AN.default],["doc-conclusion",qN.default],["doc-cover",TN.default],["doc-credit",LN.default],["doc-credits",MN.default],["doc-dedication",IN.default],["doc-endnote",ON.default],["doc-endnotes",NN.default],["doc-epigraph",DN.default],["doc-epilogue",BN.default],["doc-errata",FN.default],["doc-example",jN.default],["doc-footnote",VN.default],["doc-foreword",HN.default],["doc-glossary",UN.default],["doc-glossref",zN.default],["doc-index",GN.default],["doc-introduction",WN.default],["doc-noteref",YN.default],["doc-notice",KN.default],["doc-pagebreak",QN.default],["doc-pagelist",XN.default],["doc-part",ZN.default],["doc-preface",JN.default],["doc-prologue",e4.default],["doc-pullquote",t4.default],["doc-qna",r4.default],["doc-subtitle",n4.default],["doc-tip",i4.default],["doc-toc",s4.default]],o4=a4;Mc.default=o4});var Rk=k(Ic=>{"use strict";l();Object.defineProperty(Ic,"__esModule",{value:!0});Ic.default=void 0;var l4={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},u4=l4;Ic.default=u4});var Pk=k(Oc=>{"use strict";l();Object.defineProperty(Oc,"__esModule",{value:!0});Oc.default=void 0;var c4={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},d4=c4;Oc.default=d4});var Ak=k(Nc=>{"use strict";l();Object.defineProperty(Nc,"__esModule",{value:!0});Nc.default=void 0;var p4={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},h4=p4;Nc.default=h4});var qk=k(Dc=>{"use strict";l();Object.defineProperty(Dc,"__esModule",{value:!0});Dc.default=void 0;var f4=Mg(Rk()),m4=Mg(Pk()),_4=Mg(Ak());function Mg(e){return e&&e.__esModule?e:{default:e}}var g4=[["graphics-document",f4.default],["graphics-object",m4.default],["graphics-symbol",_4.default]],v4=g4;Dc.default=v4});var Fc=k(Bc=>{"use strict";l();Object.defineProperty(Bc,"__esModule",{value:!0});Bc.default=void 0;var y4=Xs(d1()),b4=Xs(jw()),x4=Xs(Ek()),w4=Xs(qk()),k4=Xs(Ni());function Xs(e){return e&&e.__esModule?e:{default:e}}function $4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ig(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Lk(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,u;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return s=c.done,c},e:function(c){a=!0,u=c},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}}}function Qs(e,t){return E4(e)||S4(e,t)||Lk(e,t)||C4()}function C4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lk(e,t){if(e){if(typeof e=="string")return Tk(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tk(e,t)}}function Tk(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function S4(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,s=!1,a,u;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(o){s=!0,u=o}finally{try{!i&&r.return!=null&&r.return()}finally{if(s)throw u}}return n}}function E4(e){if(Array.isArray(e))return e}var _n=[].concat(y4.default,b4.default,x4.default,w4.default);_n.forEach(function(e){var t=Qs(e,2),r=t[1],n=Ig(r.superClass),i;try{for(n.s();!(i=n.n()).done;){var s=i.value,a=Ig(s),u;try{var o=function(){var d=u.value,p=_n.find(function(b){var $=Qs(b,1),C=$[0];return C===d});if(p)for(var f=p[1],m=0,y=Object.keys(f.props);m<y.length;m++){var w=y[m];Object.prototype.hasOwnProperty.call(r.props,w)||Object.assign(r.props,$4({},w,f.props[w]))}};for(a.s();!(u=a.n()).done;)o()}catch(c){a.e(c)}finally{a.f()}}}catch(c){n.e(c)}finally{n.f()}});var Og={entries:function(){return _n},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Ig(_n),i;try{for(n.s();!(i=n.n()).done;){var s=Qs(i.value,2),a=s[0],u=s[1];t.call(r,u,a,_n)}}catch(o){n.e(o)}finally{n.f()}},get:function(t){var r=_n.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Og.get(t)},keys:function(){return _n.map(function(t){var r=Qs(t,1),n=r[0];return n})},values:function(){return _n.map(function(t){var r=Qs(t,2),n=r[1];return n})}},R4=(0,k4.default)(Og,Og.entries());Bc.default=R4});var Ok=k(Ik=>{l();var Mk=Object.prototype.hasOwnProperty;function Ng(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Ng(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Mk.call(e,r)&&++n&&!Mk.call(t,r)||!(r in t)||!Ng(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}Ik.dequal=Ng});var Hk=k(zc=>{"use strict";l();Object.defineProperty(zc,"__esModule",{value:!0});zc.default=void 0;var Bk=Ok(),P4=jk(Ni()),Fk=jk(Fc());function jk(e){return e&&e.__esModule?e:{default:e}}function Dg(e,t){return T4(e)||q4(e,t)||Vk(e,t)||A4()}function A4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function q4(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,s=!1,a,u;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(o){s=!0,u=o}finally{try{!i&&r.return!=null&&r.return()}finally{if(s)throw u}}return n}}function T4(e){if(Array.isArray(e))return e}function L4(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Vk(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,u;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return s=c.done,c},e:function(c){a=!0,u=c},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}}}function Vk(e,t){if(e){if(typeof e=="string")return Nk(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nk(e,t)}}function Nk(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var gn=[],Dk=Fk.default.keys();for(jc=0;jc<Dk.length;jc++)if(Vc=Dk[jc],Hc=Fk.default.get(Vc),Hc)for(Bg=[].concat(Hc.baseConcepts,Hc.relatedConcepts),Uc=0;Uc<Bg.length;Uc++)Fg=Bg[Uc],Fg.module==="HTML"&&function(){var e=Fg.concept;if(e){var t=gn.find(function(s){return(0,Bk.dequal)(s,e)}),r;t?r=t[1]:r=[];for(var n=!0,i=0;i<r.length;i++)if(r[i]===Vc){n=!1;break}n&&r.push(Vc),gn.push([e,r])}}();var Vc,Hc,Bg,Fg,Uc,jc,jg={entries:function(){return gn},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=L4(gn),i;try{for(n.s();!(i=n.n()).done;){var s=Dg(i.value,2),a=s[0],u=s[1];t.call(r,u,a,gn)}}catch(o){n.e(o)}finally{n.f()}},get:function(t){var r=gn.find(function(n){return t.name===n[0].name&&(0,Bk.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!jg.get(t)},keys:function(){return gn.map(function(t){var r=Dg(t,1),n=r[0];return n})},values:function(){return gn.map(function(t){var r=Dg(t,2),n=r[1];return n})}},M4=(0,P4.default)(jg,jg.entries());zc.default=M4});var Kk=k(Qc=>{"use strict";l();Object.defineProperty(Qc,"__esModule",{value:!0});Qc.default=void 0;var I4=Wk(Ni()),Gk=Wk(Fc());function Wk(e){return e&&e.__esModule?e:{default:e}}function Vg(e,t){return D4(e)||N4(e,t)||Yk(e,t)||O4()}function O4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N4(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,s=!1,a,u;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(o){s=!0,u=o}finally{try{!i&&r.return!=null&&r.return()}finally{if(s)throw u}}return n}}function D4(e){if(Array.isArray(e))return e}function B4(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Yk(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,u;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return s=c.done,c},e:function(c){a=!0,u=c},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}}}function Yk(e,t){if(e){if(typeof e=="string")return Uk(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Uk(e,t)}}function Uk(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Bn=[],zk=Gk.default.keys();for(Gc=0;Gc<zk.length;Gc++)if(Hg=zk[Gc],Wc=Gk.default.get(Hg),Yc=[],Wc){for(Ug=[].concat(Wc.baseConcepts,Wc.relatedConcepts),Kc=0;Kc<Ug.length;Kc++)zg=Ug[Kc],zg.module==="HTML"&&(Gg=zg.concept,Gg!=null&&Yc.push(Gg));Yc.length>0&&Bn.push([Hg,Yc])}var Hg,Wc,Yc,Ug,zg,Gg,Kc,Gc,Wg={entries:function(){return Bn},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=B4(Bn),i;try{for(n.s();!(i=n.n()).done;){var s=Vg(i.value,2),a=s[0],u=s[1];t.call(r,u,a,Bn)}}catch(o){n.e(o)}finally{n.f()}},get:function(t){var r=Bn.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Wg.get(t)},keys:function(){return Bn.map(function(t){var r=Vg(t,1),n=r[0];return n})},values:function(){return Bn.map(function(t){var r=Vg(t,2),n=r[1];return n})}},F4=(0,I4.default)(Wg,Wg.entries());Qc.default=F4});var Yg=k(dr=>{"use strict";l();Object.defineProperty(dr,"__esModule",{value:!0});dr.roles=dr.roleElements=dr.elementRoles=dr.dom=dr.aria=void 0;var j4=Zs(K0()),V4=Zs(Z0()),H4=Zs(Fc()),U4=Zs(Hk()),z4=Zs(Kk());function Zs(e){return e&&e.__esModule?e:{default:e}}var G4=j4.default;dr.aria=G4;var W4=V4.default;dr.dom=W4;var Y4=H4.default;dr.roles=Y4;var K4=U4.default;dr.elementRoles=K4;var Q4=z4.default;dr.roleElements=Q4});var Qk=k(Xc=>{"use strict";l();Object.defineProperty(Xc,"__esModule",{value:!0});Xc.default=void 0;function X4(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var i=e[t];return t=t+1,{done:!1,value:i}}else return{done:!0}}};return r}var Z4=X4;Xc.default=Z4});var Js=k(Qg=>{"use strict";l();Object.defineProperty(Qg,"__esModule",{value:!0});Qg.default=t5;var J4=e5(Qk());function e5(e){return e&&e.__esModule?e:{default:e}}function Kg(e){"@babel/helpers - typeof";return Kg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kg(e)}function t5(e,t){return typeof Symbol=="function"&&Kg(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:J4.default.bind(t)}),e}});var Xk=k(Zc=>{"use strict";l();Object.defineProperty(Zc,"__esModule",{value:!0});Zc.default=void 0;var r5={relatedConcepts:[{module:"HTML",concept:{name:"abbr"}}],type:"structure"},n5=r5;Zc.default=n5});var Zk=k(Jc=>{"use strict";l();Object.defineProperty(Jc,"__esModule",{value:!0});Jc.default=void 0;var i5={relatedConcepts:[{module:"ARIA",concept:{name:"alertdialog"}}],type:"window"},s5=i5;Jc.default=s5});var Jk=k(ed=>{"use strict";l();Object.defineProperty(ed,"__esModule",{value:!0});ed.default=void 0;var a5={relatedConcepts:[{module:"ARIA",concept:{name:"alert"}}],type:"structure"},o5=a5;ed.default=o5});var e$=k(td=>{"use strict";l();Object.defineProperty(td,"__esModule",{value:!0});td.default=void 0;var l5={relatedConcepts:[],type:"structure"},u5=l5;td.default=u5});var t$=k(rd=>{"use strict";l();Object.defineProperty(rd,"__esModule",{value:!0});rd.default=void 0;var c5={relatedConcepts:[{module:"ARIA",concept:{name:"application"}}],type:"window"},d5=c5;rd.default=d5});var r$=k(nd=>{"use strict";l();Object.defineProperty(nd,"__esModule",{value:!0});nd.default=void 0;var p5={relatedConcepts:[{module:"ARIA",concept:{name:"article"}},{module:"HTML",concept:{name:"article"}}],type:"structure"},h5=p5;nd.default=h5});var n$=k(id=>{"use strict";l();Object.defineProperty(id,"__esModule",{value:!0});id.default=void 0;var f5={relatedConcepts:[{module:"HTML",concept:{name:"audio"}}],type:"widget"},m5=f5;id.default=m5});var i$=k(sd=>{"use strict";l();Object.defineProperty(sd,"__esModule",{value:!0});sd.default=void 0;var _5={relatedConcepts:[{module:"ARIA",concept:{name:"banner"}}],type:"structure"},g5=_5;sd.default=g5});var s$=k(ad=>{"use strict";l();Object.defineProperty(ad,"__esModule",{value:!0});ad.default=void 0;var v5={relatedConcepts:[{module:"HTML",concept:{name:"blockquote"}}],type:"structure"},y5=v5;ad.default=y5});var a$=k(od=>{"use strict";l();Object.defineProperty(od,"__esModule",{value:!0});od.default=void 0;var b5={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-busy",value:"true"}]}}],type:"widget"},x5=b5;od.default=x5});var o$=k(ld=>{"use strict";l();Object.defineProperty(ld,"__esModule",{value:!0});ld.default=void 0;var w5={relatedConcepts:[{module:"ARIA",concept:{name:"button"}},{module:"HTML",concept:{name:"button"}}],type:"widget"},k5=w5;ld.default=k5});var l$=k(ud=>{"use strict";l();Object.defineProperty(ud,"__esModule",{value:!0});ud.default=void 0;var $5={relatedConcepts:[{module:"HTML",concept:{name:"canvas"}}],type:"widget"},C5=$5;ud.default=C5});var u$=k(cd=>{"use strict";l();Object.defineProperty(cd,"__esModule",{value:!0});cd.default=void 0;var S5={relatedConcepts:[{module:"HTML",concept:{name:"caption"}}],type:"structure"},E5=S5;cd.default=E5});var c$=k(dd=>{"use strict";l();Object.defineProperty(dd,"__esModule",{value:!0});dd.default=void 0;var R5={relatedConcepts:[{module:"ARIA",concept:{name:"cell"}},{module:"ARIA",concept:{name:"gridcell"}},{module:"HTML",concept:{name:"td"}}],type:"widget"},P5=R5;dd.default=P5});var d$=k(pd=>{"use strict";l();Object.defineProperty(pd,"__esModule",{value:!0});pd.default=void 0;var A5={relatedConcepts:[{module:"ARIA",concept:{name:"checkbox"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"checkbox"}]}}],type:"widget"},q5=A5;pd.default=q5});var p$=k(hd=>{"use strict";l();Object.defineProperty(hd,"__esModule",{value:!0});hd.default=void 0;var T5={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"color"}]}}],type:"widget"},L5=T5;hd.default=L5});var h$=k(fd=>{"use strict";l();Object.defineProperty(fd,"__esModule",{value:!0});fd.default=void 0;var M5={relatedConcepts:[{module:"ARIA",concept:{name:"columnheader"}},{module:"HTML",concept:{name:"th"}}],type:"widget"},I5=M5;fd.default=I5});var f$=k(md=>{"use strict";l();Object.defineProperty(md,"__esModule",{value:!0});md.default=void 0;var O5={relatedConcepts:[],type:"structure"},N5=O5;md.default=N5});var m$=k(_d=>{"use strict";l();Object.defineProperty(_d,"__esModule",{value:!0});_d.default=void 0;var D5={relatedConcepts:[{module:"ARIA",concept:{name:"combobox"}},{module:"HTML",concept:{name:"select"}}],type:"widget"},B5=D5;_d.default=B5});var _$=k(gd=>{"use strict";l();Object.defineProperty(gd,"__esModule",{value:!0});gd.default=void 0;var F5={relatedConcepts:[{module:"ARIA",concept:{name:"complementary"}}],type:"structure"},j5=F5;gd.default=j5});var g$=k(vd=>{"use strict";l();Object.defineProperty(vd,"__esModule",{value:!0});vd.default=void 0;var V5={relatedConcepts:[{module:"ARIA",concept:{name:"structureinfo"}}],type:"structure"},H5=V5;vd.default=H5});var v$=k(yd=>{"use strict";l();Object.defineProperty(yd,"__esModule",{value:!0});yd.default=void 0;var U5={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"date"}]}}],type:"widget"},z5=U5;yd.default=z5});var y$=k(bd=>{"use strict";l();Object.defineProperty(bd,"__esModule",{value:!0});bd.default=void 0;var G5={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"datetime"}]}}],type:"widget"},W5=G5;bd.default=W5});var b$=k(xd=>{"use strict";l();Object.defineProperty(xd,"__esModule",{value:!0});xd.default=void 0;var Y5={relatedConcepts:[{module:"HTML",concept:{name:"dfn"}}],type:"structure"},K5=Y5;xd.default=K5});var x$=k(wd=>{"use strict";l();Object.defineProperty(wd,"__esModule",{value:!0});wd.default=void 0;var Q5={relatedConcepts:[{module:"HTML",concept:{name:"dd"}}],type:"structure"},X5=Q5;wd.default=X5});var w$=k(kd=>{"use strict";l();Object.defineProperty(kd,"__esModule",{value:!0});kd.default=void 0;var Z5={relatedConcepts:[{module:"HTML",concept:{name:"dl"}}],type:"structure"},J5=Z5;kd.default=J5});var k$=k($d=>{"use strict";l();Object.defineProperty($d,"__esModule",{value:!0});$d.default=void 0;var eD={relatedConcepts:[{module:"HTML",concept:{name:"dt"}}],type:"structure"},tD=eD;$d.default=tD});var $$=k(Cd=>{"use strict";l();Object.defineProperty(Cd,"__esModule",{value:!0});Cd.default=void 0;var rD={relatedConcepts:[{module:"HTML",concept:{name:"details"}}],type:"structure"},nD=rD;Cd.default=nD});var C$=k(Sd=>{"use strict";l();Object.defineProperty(Sd,"__esModule",{value:!0});Sd.default=void 0;var iD={relatedConcepts:[{module:"ARIA",concept:{name:"dialog"}},{module:"HTML",concept:{name:"dialog"}}],type:"window"},sD=iD;Sd.default=sD});var S$=k(Ed=>{"use strict";l();Object.defineProperty(Ed,"__esModule",{value:!0});Ed.default=void 0;var aD={relatedConcepts:[{module:"ARIA",concept:{name:"directory"}},{module:"HTML",concept:{name:"dir"}}],type:"structure"},oD=aD;Ed.default=oD});var E$=k(Rd=>{"use strict";l();Object.defineProperty(Rd,"__esModule",{value:!0});Rd.default=void 0;var lD={relatedConcepts:[{module:"HTML",concept:{constraints:["scoped to a details element"],name:"summary"}}],type:"widget"},uD=lD;Rd.default=uD});var R$=k(Pd=>{"use strict";l();Object.defineProperty(Pd,"__esModule",{value:!0});Pd.default=void 0;var cD={relatedConcepts:[{module:"HTML",concept:{name:"div"}}],type:"generic"},dD=cD;Pd.default=dD});var P$=k(Ad=>{"use strict";l();Object.defineProperty(Ad,"__esModule",{value:!0});Ad.default=void 0;var pD={relatedConcepts:[{module:"ARIA",concept:{name:"document"}}],type:"structure"},hD=pD;Ad.default=hD});var A$=k(qd=>{"use strict";l();Object.defineProperty(qd,"__esModule",{value:!0});qd.default=void 0;var fD={relatedConcepts:[{module:"HTML",concept:{name:"embed"}}],type:"widget"},mD=fD;qd.default=mD});var q$=k(Td=>{"use strict";l();Object.defineProperty(Td,"__esModule",{value:!0});Td.default=void 0;var _D={relatedConcepts:[{module:"ARIA",concept:{name:"feed"}}],type:"structure"},gD=_D;Td.default=gD});var T$=k(Ld=>{"use strict";l();Object.defineProperty(Ld,"__esModule",{value:!0});Ld.default=void 0;var vD={relatedConcepts:[{module:"HTML",concept:{name:"figcaption"}}],type:"structure"},yD=vD;Ld.default=yD});var L$=k(Md=>{"use strict";l();Object.defineProperty(Md,"__esModule",{value:!0});Md.default=void 0;var bD={relatedConcepts:[{module:"ARIA",concept:{name:"figure"}},{module:"HTML",concept:{name:"figure"}}],type:"structure"},xD=bD;Md.default=xD});var M$=k(Id=>{"use strict";l();Object.defineProperty(Id,"__esModule",{value:!0});Id.default=void 0;var wD={relatedConcepts:[{module:"HTML",concept:{name:"footer"}}],type:"structure"},kD=wD;Id.default=kD});var I$=k(Od=>{"use strict";l();Object.defineProperty(Od,"__esModule",{value:!0});Od.default=void 0;var $D={relatedConcepts:[{module:"ARIA",concept:{name:"form"}},{module:"HTML",concept:{name:"form"}}],type:"structure"},CD=$D;Od.default=CD});var O$=k(Nd=>{"use strict";l();Object.defineProperty(Nd,"__esModule",{value:!0});Nd.default=void 0;var SD={relatedConcepts:[{module:"ARIA",concept:{name:"grid"}}],type:"widget"},ED=SD;Nd.default=ED});var N$=k(Dd=>{"use strict";l();Object.defineProperty(Dd,"__esModule",{value:!0});Dd.default=void 0;var RD={relatedConcepts:[{module:"ARIA",concept:{name:"group"}}],type:"structure"},PD=RD;Dd.default=PD});var D$=k(Bd=>{"use strict";l();Object.defineProperty(Bd,"__esModule",{value:!0});Bd.default=void 0;var AD={relatedConcepts:[{module:"ARIA",concept:{name:"heading"}},{module:"HTML",concept:{name:"h1"}},{module:"HTML",concept:{name:"h2"}},{module:"HTML",concept:{name:"h3"}},{module:"HTML",concept:{name:"h4"}},{module:"HTML",concept:{name:"h5"}},{module:"HTML",concept:{name:"h6"}}],type:"structure"},qD=AD;Bd.default=qD});var B$=k(Fd=>{"use strict";l();Object.defineProperty(Fd,"__esModule",{value:!0});Fd.default=void 0;var TD={relatedConcepts:[],type:"window"},LD=TD;Fd.default=LD});var F$=k(jd=>{"use strict";l();Object.defineProperty(jd,"__esModule",{value:!0});jd.default=void 0;var MD={relatedConcepts:[{module:"HTML",concept:{name:"iframe"}}],type:"window"},ID=MD;jd.default=ID});var j$=k(Vd=>{"use strict";l();Object.defineProperty(Vd,"__esModule",{value:!0});Vd.default=void 0;var OD={relatedConcepts:[],type:"structure"},ND=OD;Vd.default=ND});var V$=k(Hd=>{"use strict";l();Object.defineProperty(Hd,"__esModule",{value:!0});Hd.default=void 0;var DD={relatedConcepts:[],type:"widget"},BD=DD;Hd.default=BD});var H$=k(Ud=>{"use strict";l();Object.defineProperty(Ud,"__esModule",{value:!0});Ud.default=void 0;var FD={relatedConcepts:[{module:"HTML",concept:{name:"img",attributes:[{name:"usemap"}]}}],type:"structure"},jD=FD;Ud.default=jD});var U$=k(zd=>{"use strict";l();Object.defineProperty(zd,"__esModule",{value:!0});zd.default=void 0;var VD={relatedConcepts:[{module:"ARIA",concept:{name:"img"}},{module:"HTML",concept:{name:"img"}}],type:"structure"},HD=VD;zd.default=HD});var z$=k(Gd=>{"use strict";l();Object.defineProperty(Gd,"__esModule",{value:!0});Gd.default=void 0;var UD={relatedConcepts:[{module:"HTML",concept:{name:"input"}}],type:"widget"},zD=UD;Gd.default=zD});var G$=k(Wd=>{"use strict";l();Object.defineProperty(Wd,"__esModule",{value:!0});Wd.default=void 0;var GD={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"time"}]}}],type:"widget"},WD=GD;Wd.default=WD});var W$=k(Yd=>{"use strict";l();Object.defineProperty(Yd,"__esModule",{value:!0});Yd.default=void 0;var YD={relatedConcepts:[{module:"HTML",concept:{name:"label"}}],type:"structure"},KD=YD;Yd.default=KD});var Y$=k(Kd=>{"use strict";l();Object.defineProperty(Kd,"__esModule",{value:!0});Kd.default=void 0;var QD={relatedConcepts:[{module:"HTML",concept:{name:"legend"}}],type:"structure"},XD=QD;Kd.default=XD});var K$=k(Qd=>{"use strict";l();Object.defineProperty(Qd,"__esModule",{value:!0});Qd.default=void 0;var ZD={relatedConcepts:[{module:"HTML",concept:{name:"br"}}],type:"structure"},JD=ZD;Qd.default=JD});var Q$=k(Xd=>{"use strict";l();Object.defineProperty(Xd,"__esModule",{value:!0});Xd.default=void 0;var eB={relatedConcepts:[{module:"ARIA",concept:{name:"link"}},{module:"HTML",concept:{name:"a",attributes:[{name:"href"}]}}],type:"widget"},tB=eB;Xd.default=tB});var X$=k(Zd=>{"use strict";l();Object.defineProperty(Zd,"__esModule",{value:!0});Zd.default=void 0;var rB={relatedConcepts:[{module:"ARIA",concept:{name:"option"}},{module:"HTML",concept:{name:"option"}}],type:"widget"},nB=rB;Zd.default=nB});var Z$=k(Jd=>{"use strict";l();Object.defineProperty(Jd,"__esModule",{value:!0});Jd.default=void 0;var iB={relatedConcepts:[{module:"ARIA",concept:{name:"listbox"}},{module:"HTML",concept:{name:"datalist"}},{module:"HTML",concept:{name:"select"}}],type:"widget"},sB=iB;Jd.default=sB});var J$=k(ep=>{"use strict";l();Object.defineProperty(ep,"__esModule",{value:!0});ep.default=void 0;var aB={relatedConcepts:[{module:"ARIA",concept:{name:"listitem"}},{module:"HTML",concept:{name:"li"}}],type:"structure"},oB=aB;ep.default=oB});var eC=k(tp=>{"use strict";l();Object.defineProperty(tp,"__esModule",{value:!0});tp.default=void 0;var lB={relatedConcepts:[],type:"structure"},uB=lB;tp.default=uB});var tC=k(rp=>{"use strict";l();Object.defineProperty(rp,"__esModule",{value:!0});rp.default=void 0;var cB={relatedConcepts:[{module:"ARIA",concept:{name:"list"}},{module:"HTML",concept:{name:"ul"}},{module:"HTML",concept:{name:"ol"}}],type:"structure"},dB=cB;rp.default=dB});var rC=k(np=>{"use strict";l();Object.defineProperty(np,"__esModule",{value:!0});np.default=void 0;var pB={relatedConcepts:[{module:"ARIA",concept:{name:"log"}}],type:"structure"},hB=pB;np.default=hB});var nC=k(ip=>{"use strict";l();Object.defineProperty(ip,"__esModule",{value:!0});ip.default=void 0;var fB={relatedConcepts:[{module:"ARIA",concept:{name:"main"}},{module:"HTML",concept:{name:"main"}}],type:"structure"},mB=fB;ip.default=mB});var iC=k(sp=>{"use strict";l();Object.defineProperty(sp,"__esModule",{value:!0});sp.default=void 0;var _B={relatedConcepts:[{module:"HTML",concept:{name:"mark"}}],type:"structure"},gB=_B;sp.default=gB});var sC=k(ap=>{"use strict";l();Object.defineProperty(ap,"__esModule",{value:!0});ap.default=void 0;var vB={relatedConcepts:[{module:"ARIA",concept:{name:"marquee"}},{module:"HTML",concept:{name:"marquee"}}],type:"structure"},yB=vB;ap.default=yB});var aC=k(op=>{"use strict";l();Object.defineProperty(op,"__esModule",{value:!0});op.default=void 0;var bB={relatedConcepts:[{module:"ARIA",concept:{name:"math"}}],type:"structure"},xB=bB;op.default=xB});var oC=k(lp=>{"use strict";l();Object.defineProperty(lp,"__esModule",{value:!0});lp.default=void 0;var wB={relatedConcepts:[{module:"ARIA",concept:{name:"menubar"}}],type:"structure"},kB=wB;lp.default=kB});var lC=k(up=>{"use strict";l();Object.defineProperty(up,"__esModule",{value:!0});up.default=void 0;var $B={relatedConcepts:[],type:"widget"},CB=$B;up.default=CB});var uC=k(cp=>{"use strict";l();Object.defineProperty(cp,"__esModule",{value:!0});cp.default=void 0;var SB={relatedConcepts:[{module:"ARIA",concept:{name:"menuitem"}},{module:"HTML",concept:{name:"menuitem"}}],type:"widget"},EB=SB;cp.default=EB});var cC=k(dp=>{"use strict";l();Object.defineProperty(dp,"__esModule",{value:!0});dp.default=void 0;var RB={relatedConcepts:[{module:"ARIA",concept:{name:"menuitemcheckbox"}}],type:"widget"},PB=RB;dp.default=PB});var dC=k(pp=>{"use strict";l();Object.defineProperty(pp,"__esModule",{value:!0});pp.default=void 0;var AB={relatedConcepts:[{module:"ARIA",concept:{name:"menuitemradio"}}],type:"widget"},qB=AB;pp.default=qB});var pC=k(hp=>{"use strict";l();Object.defineProperty(hp,"__esModule",{value:!0});hp.default=void 0;var TB={relatedConcepts:[],type:"widget"},LB=TB;hp.default=LB});var hC=k(fp=>{"use strict";l();Object.defineProperty(fp,"__esModule",{value:!0});fp.default=void 0;var MB={relatedConcepts:[],type:"widget"},IB=MB;fp.default=IB});var fC=k(mp=>{"use strict";l();Object.defineProperty(mp,"__esModule",{value:!0});mp.default=void 0;var OB={relatedConcepts:[{module:"ARIA",concept:{name:"menu"}},{module:"HTML",concept:{name:"menu"}}],type:"structure"},NB=OB;mp.default=NB});var mC=k(_p=>{"use strict";l();Object.defineProperty(_p,"__esModule",{value:!0});_p.default=void 0;var DB={relatedConcepts:[{module:"HTML",concept:{name:"meter"}}],type:"structure"},BB=DB;_p.default=BB});var _C=k(gp=>{"use strict";l();Object.defineProperty(gp,"__esModule",{value:!0});gp.default=void 0;var FB={relatedConcepts:[{module:"ARIA",concept:{name:"navigation"}},{module:"HTML",concept:{name:"nav"}}],type:"structure"},jB=FB;gp.default=jB});var gC=k(vp=>{"use strict";l();Object.defineProperty(vp,"__esModule",{value:!0});vp.default=void 0;var VB={relatedConcepts:[{module:"ARIA",concept:{name:"none"}}],type:"structure"},HB=VB;vp.default=HB});var vC=k(yp=>{"use strict";l();Object.defineProperty(yp,"__esModule",{value:!0});yp.default=void 0;var UB={relatedConcepts:[{module:"ARIA",concept:{name:"note"}}],type:"structure"},zB=UB;yp.default=zB});var yC=k(bp=>{"use strict";l();Object.defineProperty(bp,"__esModule",{value:!0});bp.default=void 0;var GB={relatedConcepts:[],type:"structure"},WB=GB;bp.default=WB});var bC=k(xp=>{"use strict";l();Object.defineProperty(xp,"__esModule",{value:!0});xp.default=void 0;var YB={relatedConcepts:[{module:"HTML",concept:{name:"p"}}],type:"structure"},KB=YB;xp.default=KB});var xC=k(wp=>{"use strict";l();Object.defineProperty(wp,"__esModule",{value:!0});wp.default=void 0;var QB={relatedConcepts:[],type:"widget"},XB=QB;wp.default=XB});var wC=k(kp=>{"use strict";l();Object.defineProperty(kp,"__esModule",{value:!0});kp.default=void 0;var ZB={relatedConcepts:[{module:"HTML",concept:{name:"pre"}}],type:"structure"},JB=ZB;kp.default=JB});var kC=k($p=>{"use strict";l();Object.defineProperty($p,"__esModule",{value:!0});$p.default=void 0;var eF={relatedConcepts:[{module:"ARIA",concept:{name:"presentation"}}],type:"structure"},tF=eF;$p.default=tF});var $C=k(Cp=>{"use strict";l();Object.defineProperty(Cp,"__esModule",{value:!0});Cp.default=void 0;var rF={relatedConcepts:[{module:"ARIA",concept:{name:"progressbar"}},{module:"HTML",concept:{name:"progress"}}],type:"structure"},nF=rF;Cp.default=nF});var CC=k(Sp=>{"use strict";l();Object.defineProperty(Sp,"__esModule",{value:!0});Sp.default=void 0;var iF={relatedConcepts:[{module:"ARIA",concept:{name:"radio"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"radio"}]}}],type:"widget"},sF=iF;Sp.default=sF});var SC=k(Ep=>{"use strict";l();Object.defineProperty(Ep,"__esModule",{value:!0});Ep.default=void 0;var aF={relatedConcepts:[{module:"ARIA",concept:{name:"radiogroup"}}],type:"structure"},oF=aF;Ep.default=oF});var EC=k(Rp=>{"use strict";l();Object.defineProperty(Rp,"__esModule",{value:!0});Rp.default=void 0;var lF={relatedConcepts:[{module:"ARIA",concept:{name:"region"}}],type:"structure"},uF=lF;Rp.default=uF});var RC=k(Pp=>{"use strict";l();Object.defineProperty(Pp,"__esModule",{value:!0});Pp.default=void 0;var cF={relatedConcepts:[],type:"structure"},dF=cF;Pp.default=dF});var PC=k(Ap=>{"use strict";l();Object.defineProperty(Ap,"__esModule",{value:!0});Ap.default=void 0;var pF={relatedConcepts:[{module:"ARIA",concept:{name:"rowheader"}},{module:"HTML",concept:{name:"th",attributes:[{name:"scope",value:"row"}]}}],type:"widget"},hF=pF;Ap.default=hF});var AC=k(qp=>{"use strict";l();Object.defineProperty(qp,"__esModule",{value:!0});qp.default=void 0;var fF={relatedConcepts:[{module:"ARIA",concept:{name:"row"}},{module:"HTML",concept:{name:"tr"}}],type:"structure"},mF=fF;qp.default=mF});var qC=k(Tp=>{"use strict";l();Object.defineProperty(Tp,"__esModule",{value:!0});Tp.default=void 0;var _F={relatedConcepts:[{module:"HTML",concept:{name:"ruby"}}],type:"structure"},gF=_F;Tp.default=gF});var TC=k(Lp=>{"use strict";l();Object.defineProperty(Lp,"__esModule",{value:!0});Lp.default=void 0;var vF={relatedConcepts:[],type:"structure"},yF=vF;Lp.default=yF});var LC=k(Mp=>{"use strict";l();Object.defineProperty(Mp,"__esModule",{value:!0});Mp.default=void 0;var bF={relatedConcepts:[],type:"structure"},xF=bF;Mp.default=xF});var MC=k(Ip=>{"use strict";l();Object.defineProperty(Ip,"__esModule",{value:!0});Ip.default=void 0;var wF={relatedConcepts:[{module:"ARIA",concept:{name:"scrollbar"}}],type:"widget"},kF=wF;Ip.default=kF});var IC=k(Op=>{"use strict";l();Object.defineProperty(Op,"__esModule",{value:!0});Op.default=void 0;var $F={relatedConcepts:[],type:"structure"},CF=$F;Op.default=CF});var OC=k(Np=>{"use strict";l();Object.defineProperty(Np,"__esModule",{value:!0});Np.default=void 0;var SF={relatedConcepts:[{module:"ARIA",concept:{name:"search"}}],type:"structure"},EF=SF;Np.default=EF});var NC=k(Dp=>{"use strict";l();Object.defineProperty(Dp,"__esModule",{value:!0});Dp.default=void 0;var RF={relatedConcepts:[{module:"ARIA",concept:{name:"searchbox"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"search"}]}}],type:"widget"},PF=RF;Dp.default=PF});var DC=k(Bp=>{"use strict";l();Object.defineProperty(Bp,"__esModule",{value:!0});Bp.default=void 0;var AF={relatedConcepts:[{module:"ARIA",concept:{name:"slider"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"range"}]}}],type:"widget"},qF=AF;Bp.default=qF});var BC=k(Fp=>{"use strict";l();Object.defineProperty(Fp,"__esModule",{value:!0});Fp.default=void 0;var TF={relatedConcepts:[],type:"structure"},LF=TF;Fp.default=LF});var FC=k(jp=>{"use strict";l();Object.defineProperty(jp,"__esModule",{value:!0});jp.default=void 0;var MF={relatedConcepts:[{module:"ARIA",concept:{name:"spinbutton"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"number"}]}}],type:"widget"},IF=MF;jp.default=IF});var jC=k(Vp=>{"use strict";l();Object.defineProperty(Vp,"__esModule",{value:!0});Vp.default=void 0;var OF={relatedConcepts:[],type:"structure"},NF=OF;Vp.default=NF});var VC=k(Hp=>{"use strict";l();Object.defineProperty(Hp,"__esModule",{value:!0});Hp.default=void 0;var DF={relatedConcepts:[{module:"ARIA",concept:{name:"separator"}}],type:"widget"},BF=DF;Hp.default=BF});var HC=k(Up=>{"use strict";l();Object.defineProperty(Up,"__esModule",{value:!0});Up.default=void 0;var FF={relatedConcepts:[],type:"structure"},jF=FF;Up.default=jF});var UC=k(zp=>{"use strict";l();Object.defineProperty(zp,"__esModule",{value:!0});zp.default=void 0;var VF={relatedConcepts:[{module:"ARIA",concept:{name:"status"}}],type:"structure"},HF=VF;zp.default=HF});var zC=k(Gp=>{"use strict";l();Object.defineProperty(Gp,"__esModule",{value:!0});Gp.default=void 0;var UF={relatedConcepts:[],type:"structure"},zF=UF;Gp.default=zF});var GC=k(Wp=>{"use strict";l();Object.defineProperty(Wp,"__esModule",{value:!0});Wp.default=void 0;var GF={relatedConcepts:[{module:"ARIA",concept:{name:"switch"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"checkbox"}]}}],type:"widget"},WF=GF;Wp.default=WF});var WC=k(Yp=>{"use strict";l();Object.defineProperty(Yp,"__esModule",{value:!0});Yp.default=void 0;var YF={relatedConcepts:[{module:"ARIA",concept:{name:"tablist"}}],type:"structure"},KF=YF;Yp.default=KF});var YC=k(Kp=>{"use strict";l();Object.defineProperty(Kp,"__esModule",{value:!0});Kp.default=void 0;var QF={relatedConcepts:[{module:"ARIA",concept:{name:"tab"}}],type:"widget"},XF=QF;Kp.default=XF});var KC=k(Qp=>{"use strict";l();Object.defineProperty(Qp,"__esModule",{value:!0});Qp.default=void 0;var ZF={relatedConcepts:[],type:"structure"},JF=ZF;Qp.default=JF});var QC=k(Xp=>{"use strict";l();Object.defineProperty(Xp,"__esModule",{value:!0});Xp.default=void 0;var ej={relatedConcepts:[{module:"ARIA",concept:{name:"table"}},{module:"HTML",concept:{name:"table"}}],type:"structure"},tj=ej;Xp.default=tj});var XC=k(Zp=>{"use strict";l();Object.defineProperty(Zp,"__esModule",{value:!0});Zp.default=void 0;var rj={relatedConcepts:[{module:"ARIA",concept:{name:"tablist"}}],type:"structure"},nj=rj;Zp.default=nj});var ZC=k(Jp=>{"use strict";l();Object.defineProperty(Jp,"__esModule",{value:!0});Jp.default=void 0;var ij={relatedConcepts:[{module:"ARIA",concept:{name:"tabpanel"}}],type:"structure"},sj=ij;Jp.default=sj});var JC=k(eh=>{"use strict";l();Object.defineProperty(eh,"__esModule",{value:!0});eh.default=void 0;var aj={relatedConcepts:[{module:"ARIA",concept:{name:"term"}}],type:"structure"},oj=aj;eh.default=oj});var eS=k(th=>{"use strict";l();Object.defineProperty(th,"__esModule",{value:!0});th.default=void 0;var lj={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-multiline",value:"true"}],name:"textbox"}},{module:"HTML",concept:{name:"textarea"}}],type:"widget"},uj=lj;th.default=uj});var tS=k(rh=>{"use strict";l();Object.defineProperty(rh,"__esModule",{value:!0});rh.default=void 0;var cj={relatedConcepts:[{module:"ARIA",concept:{name:"textbox"}},{module:"HTML",concept:{name:"input"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"text"}]}}],type:"widget"},dj=cj;rh.default=dj});var rS=k(nh=>{"use strict";l();Object.defineProperty(nh,"__esModule",{value:!0});nh.default=void 0;var pj={relatedConcepts:[{module:"HTML",concept:{name:"time"}}],type:"structure"},hj=pj;nh.default=hj});var nS=k(ih=>{"use strict";l();Object.defineProperty(ih,"__esModule",{value:!0});ih.default=void 0;var fj={relatedConcepts:[{module:"ARIA",concept:{name:"timer"}}],type:"structure"},mj=fj;ih.default=mj});var iS=k(sh=>{"use strict";l();Object.defineProperty(sh,"__esModule",{value:!0});sh.default=void 0;var _j={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-pressed"}]}}],type:"widget"},gj=_j;sh.default=gj});var sS=k(ah=>{"use strict";l();Object.defineProperty(ah,"__esModule",{value:!0});ah.default=void 0;var vj={relatedConcepts:[{module:"ARIA",concept:{name:"toolbar"}}],type:"structure"},yj=vj;ah.default=yj});var aS=k(oh=>{"use strict";l();Object.defineProperty(oh,"__esModule",{value:!0});oh.default=void 0;var bj={relatedConcepts:[{module:"ARIA",concept:{name:"tree"}}],type:"widget"},xj=bj;oh.default=xj});var oS=k(lh=>{"use strict";l();Object.defineProperty(lh,"__esModule",{value:!0});lh.default=void 0;var wj={relatedConcepts:[{module:"ARIA",concept:{name:"treegrid"}}],type:"widget"},kj=wj;lh.default=kj});var lS=k(uh=>{"use strict";l();Object.defineProperty(uh,"__esModule",{value:!0});uh.default=void 0;var $j={relatedConcepts:[{module:"ARIA",concept:{name:"treeitem"}}],type:"widget"},Cj=$j;uh.default=Cj});var uS=k(ch=>{"use strict";l();Object.defineProperty(ch,"__esModule",{value:!0});ch.default=void 0;var Sj={relatedConcepts:[{module:"ARIA",concept:{name:"tooltip"}}],type:"structure"},Ej=Sj;ch.default=Ej});var cS=k(dh=>{"use strict";l();Object.defineProperty(dh,"__esModule",{value:!0});dh.default=void 0;var Rj={relatedConcepts:[{module:"HTML",concept:{name:"video"}}],type:"widget"},Pj=Rj;dh.default=Pj});var dS=k(ph=>{"use strict";l();Object.defineProperty(ph,"__esModule",{value:!0});ph.default=void 0;var Aj={relatedConcepts:[],type:"structure"},qj=Aj;ph.default=qj});var pS=k(hh=>{"use strict";l();Object.defineProperty(hh,"__esModule",{value:!0});hh.default=void 0;var Tj={relatedConcepts:[],type:"window"},Lj=Tj;hh.default=Lj});var ea=k(fh=>{"use strict";l();Object.defineProperty(fh,"__esModule",{value:!0});fh.default=void 0;var Mj=L(Js()),Ij=L(Xk()),Oj=L(Zk()),Nj=L(Jk()),Dj=L(e$()),Bj=L(t$()),Fj=L(r$()),jj=L(n$()),Vj=L(i$()),Hj=L(s$()),Uj=L(a$()),zj=L(o$()),Gj=L(l$()),Wj=L(u$()),Yj=L(c$()),Kj=L(d$()),Qj=L(p$()),Xj=L(h$()),Zj=L(f$()),Jj=L(m$()),eV=L(_$()),tV=L(g$()),rV=L(v$()),nV=L(y$()),iV=L(b$()),sV=L(x$()),aV=L(w$()),oV=L(k$()),lV=L($$()),uV=L(C$()),cV=L(S$()),dV=L(E$()),pV=L(R$()),hV=L(P$()),fV=L(A$()),mV=L(q$()),_V=L(T$()),gV=L(L$()),vV=L(M$()),yV=L(I$()),bV=L(O$()),xV=L(N$()),wV=L(D$()),kV=L(B$()),$V=L(F$()),CV=L(j$()),SV=L(V$()),EV=L(H$()),RV=L(U$()),PV=L(z$()),AV=L(G$()),qV=L(W$()),TV=L(Y$()),LV=L(K$()),MV=L(Q$()),IV=L(X$()),OV=L(Z$()),NV=L(J$()),DV=L(eC()),BV=L(tC()),FV=L(rC()),jV=L(nC()),VV=L(iC()),HV=L(sC()),UV=L(aC()),zV=L(oC()),GV=L(lC()),WV=L(uC()),YV=L(cC()),KV=L(dC()),QV=L(pC()),XV=L(hC()),ZV=L(fC()),JV=L(mC()),eH=L(_C()),tH=L(gC()),rH=L(vC()),nH=L(yC()),iH=L(bC()),sH=L(xC()),aH=L(wC()),oH=L(kC()),lH=L($C()),uH=L(CC()),cH=L(SC()),dH=L(EC()),pH=L(RC()),hH=L(PC()),fH=L(AC()),mH=L(qC()),_H=L(TC()),gH=L(LC()),vH=L(MC()),yH=L(IC()),bH=L(OC()),xH=L(NC()),wH=L(DC()),kH=L(BC()),$H=L(FC()),CH=L(jC()),SH=L(VC()),EH=L(HC()),RH=L(UC()),PH=L(zC()),AH=L(GC()),qH=L(WC()),TH=L(YC()),LH=L(KC()),MH=L(QC()),IH=L(XC()),OH=L(ZC()),NH=L(JC()),DH=L(eS()),BH=L(tS()),FH=L(rS()),jH=L(nS()),VH=L(iS()),HH=L(sS()),UH=L(aS()),zH=L(oS()),GH=L(lS()),WH=L(uS()),YH=L(cS()),KH=L(dS()),QH=L(pS());function L(e){return e&&e.__esModule?e:{default:e}}function Xg(e,t){return eU(e)||JH(e,t)||ZH(e,t)||XH()}function XH(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ZH(e,t){if(e){if(typeof e=="string")return hS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hS(e,t)}}function hS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function JH(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,s=!1,a,u;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(o){s=!0,u=o}finally{try{!i&&r.return!=null&&r.return()}finally{if(s)throw u}}return n}}function eU(e){if(Array.isArray(e))return e}var Fi=[["AbbrRole",Ij.default],["AlertDialogRole",Oj.default],["AlertRole",Nj.default],["AnnotationRole",Dj.default],["ApplicationRole",Bj.default],["ArticleRole",Fj.default],["AudioRole",jj.default],["BannerRole",Vj.default],["BlockquoteRole",Hj.default],["BusyIndicatorRole",Uj.default],["ButtonRole",zj.default],["CanvasRole",Gj.default],["CaptionRole",Wj.default],["CellRole",Yj.default],["CheckBoxRole",Kj.default],["ColorWellRole",Qj.default],["ColumnHeaderRole",Xj.default],["ColumnRole",Zj.default],["ComboBoxRole",Jj.default],["ComplementaryRole",eV.default],["ContentInfoRole",tV.default],["DateRole",rV.default],["DateTimeRole",nV.default],["DefinitionRole",iV.default],["DescriptionListDetailRole",sV.default],["DescriptionListRole",aV.default],["DescriptionListTermRole",oV.default],["DetailsRole",lV.default],["DialogRole",uV.default],["DirectoryRole",cV.default],["DisclosureTriangleRole",dV.default],["DivRole",pV.default],["DocumentRole",hV.default],["EmbeddedObjectRole",fV.default],["FeedRole",mV.default],["FigcaptionRole",_V.default],["FigureRole",gV.default],["FooterRole",vV.default],["FormRole",yV.default],["GridRole",bV.default],["GroupRole",xV.default],["HeadingRole",wV.default],["IframePresentationalRole",kV.default],["IframeRole",$V.default],["IgnoredRole",CV.default],["ImageMapLinkRole",SV.default],["ImageMapRole",EV.default],["ImageRole",RV.default],["InlineTextBoxRole",PV.default],["InputTimeRole",AV.default],["LabelRole",qV.default],["LegendRole",TV.default],["LineBreakRole",LV.default],["LinkRole",MV.default],["ListBoxOptionRole",IV.default],["ListBoxRole",OV.default],["ListItemRole",NV.default],["ListMarkerRole",DV.default],["ListRole",BV.default],["LogRole",FV.default],["MainRole",jV.default],["MarkRole",VV.default],["MarqueeRole",HV.default],["MathRole",UV.default],["MenuBarRole",zV.default],["MenuButtonRole",GV.default],["MenuItemRole",WV.default],["MenuItemCheckBoxRole",YV.default],["MenuItemRadioRole",KV.default],["MenuListOptionRole",QV.default],["MenuListPopupRole",XV.default],["MenuRole",ZV.default],["MeterRole",JV.default],["NavigationRole",eH.default],["NoneRole",tH.default],["NoteRole",rH.default],["OutlineRole",nH.default],["ParagraphRole",iH.default],["PopUpButtonRole",sH.default],["PreRole",aH.default],["PresentationalRole",oH.default],["ProgressIndicatorRole",lH.default],["RadioButtonRole",uH.default],["RadioGroupRole",cH.default],["RegionRole",dH.default],["RootWebAreaRole",pH.default],["RowHeaderRole",hH.default],["RowRole",fH.default],["RubyRole",mH.default],["RulerRole",_H.default],["ScrollAreaRole",gH.default],["ScrollBarRole",vH.default],["SeamlessWebAreaRole",yH.default],["SearchRole",bH.default],["SearchBoxRole",xH.default],["SliderRole",wH.default],["SliderThumbRole",kH.default],["SpinButtonRole",$H.default],["SpinButtonPartRole",CH.default],["SplitterRole",SH.default],["StaticTextRole",EH.default],["StatusRole",RH.default],["SVGRootRole",PH.default],["SwitchRole",AH.default],["TabGroupRole",qH.default],["TabRole",TH.default],["TableHeaderContainerRole",LH.default],["TableRole",MH.default],["TabListRole",IH.default],["TabPanelRole",OH.default],["TermRole",NH.default],["TextAreaRole",DH.default],["TextFieldRole",BH.default],["TimeRole",FH.default],["TimerRole",jH.default],["ToggleButtonRole",VH.default],["ToolbarRole",HH.default],["TreeRole",UH.default],["TreeGridRole",zH.default],["TreeItemRole",GH.default],["UserInterfaceTooltipRole",WH.default],["VideoRole",YH.default],["WebAreaRole",KH.default],["WindowRole",QH.default]],Zg={entries:function(){return Fi},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=Fi;n<i.length;n++){var s=Xg(i[n],2),a=s[0],u=s[1];t.call(r,u,a,Fi)}},get:function(t){var r=Fi.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Zg.get(t)},keys:function(){return Fi.map(function(t){var r=Xg(t,1),n=r[0];return n})},values:function(){return Fi.map(function(t){var r=Xg(t,2),n=r[1];return n})}},tU=(0,Mj.default)(Zg,Zg.entries());fh.default=tU});var yS=k(_h=>{"use strict";l();Object.defineProperty(_h,"__esModule",{value:!0});_h.default=void 0;var rU=gS(Js()),nU=gS(ea());function gS(e){return e&&e.__esModule?e:{default:e}}function ta(e,t){return aU(e)||sU(e,t)||vS(e,t)||iU()}function iU(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sU(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,s=!1,a,u;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(o){s=!0,u=o}finally{try{!i&&r.return!=null&&r.return()}finally{if(s)throw u}}return n}}function aU(e){if(Array.isArray(e))return e}function oU(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=vS(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,u;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return s=c.done,c},e:function(c){a=!0,u=c},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}}}function vS(e,t){if(e){if(typeof e=="string")return fS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fS(e,t)}}function fS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ir=[],mh=oU(nU.default.entries()),mS;try{for(_S=function(){var t=ta(mS.value,2),r=t[0],n=t[1],i=n.relatedConcepts;Array.isArray(i)&&i.forEach(function(s){if(s.module==="HTML"){var a=s.concept;if(a){var u=Ir.findIndex(function(o){var c=ta(o,1),d=c[0];return d===r});u===-1&&(Ir.push([r,[]]),u=Ir.length-1),Ir[u][1].push(a)}}})},mh.s();!(mS=mh.n()).done;)_S()}catch(e){mh.e(e)}finally{mh.f()}var _S,Jg={entries:function(){return Ir},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=Ir;n<i.length;n++){var s=ta(i[n],2),a=s[0],u=s[1];t.call(r,u,a,Ir)}},get:function(t){var r=Ir.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Jg.get(t)},keys:function(){return Ir.map(function(t){var r=ta(t,1),n=r[0];return n})},values:function(){return Ir.map(function(t){var r=ta(t,2),n=r[1];return n})}},lU=(0,rU.default)(Jg,Jg.entries());_h.default=lU});var CS=k(vh=>{"use strict";l();Object.defineProperty(vh,"__esModule",{value:!0});vh.default=void 0;var uU=kS(Js()),cU=kS(ea());function kS(e){return e&&e.__esModule?e:{default:e}}function ra(e,t){return hU(e)||pU(e,t)||$S(e,t)||dU()}function dU(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pU(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,s=!1,a,u;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(o){s=!0,u=o}finally{try{!i&&r.return!=null&&r.return()}finally{if(s)throw u}}return n}}function hU(e){if(Array.isArray(e))return e}function fU(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=$S(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,u;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return s=c.done,c},e:function(c){a=!0,u=c},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}}}function $S(e,t){if(e){if(typeof e=="string")return bS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bS(e,t)}}function bS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Or=[],gh=fU(cU.default.entries()),xS;try{for(wS=function(){var t=ra(xS.value,2),r=t[0],n=t[1],i=n.relatedConcepts;Array.isArray(i)&&i.forEach(function(s){if(s.module==="ARIA"){var a=s.concept;if(a){var u=Or.findIndex(function(o){var c=ra(o,1),d=c[0];return d===r});u===-1&&(Or.push([r,[]]),u=Or.length-1),Or[u][1].push(a)}}})},gh.s();!(xS=gh.n()).done;)wS()}catch(e){gh.e(e)}finally{gh.f()}var wS,ev={entries:function(){return Or},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=Or;n<i.length;n++){var s=ra(i[n],2),a=s[0],u=s[1];t.call(r,u,a,Or)}},get:function(t){var r=Or.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!ev.get(t)},keys:function(){return Or.map(function(t){var r=ra(t,1),n=r[0];return n})},values:function(){return Or.map(function(t){var r=ra(t,2),n=r[1];return n})}},mU=(0,uU.default)(ev,ev.entries());vh.default=mU});var qS=k(xh=>{"use strict";l();Object.defineProperty(xh,"__esModule",{value:!0});xh.default=void 0;var _U=PS(ea()),gU=PS(Js());function PS(e){return e&&e.__esModule?e:{default:e}}function bh(e,t){return bU(e)||yU(e,t)||AS(e,t)||vU()}function vU(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yU(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,s=!1,a,u;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(o){s=!0,u=o}finally{try{!i&&r.return!=null&&r.return()}finally{if(s)throw u}}return n}}function bU(e){if(Array.isArray(e))return e}function xU(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=AS(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,u;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return s=c.done,c},e:function(c){a=!0,u=c},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}}}function AS(e,t){if(e){if(typeof e=="string")return SS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return SS(e,t)}}function SS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var pr=[],yh=xU(_U.default.entries()),ES;try{for(RS=function(){var t=bh(ES.value,2),r=t[0],n=t[1],i=n.relatedConcepts;Array.isArray(i)&&i.forEach(function(s){if(s.module==="HTML"){var a=s.concept;if(a!=null){for(var u=JSON.stringify(a),o,c=0;c<pr.length;c++){var d=pr[c][0];if(JSON.stringify(d)===u){o=pr[c][1];break}}Array.isArray(o)||(o=[]);var p=o.findIndex(function(f){return f===r});p===-1&&o.push(r),c<pr.length?pr.splice(c,1,[a,o]):pr.push([a,o])}}})},yh.s();!(ES=yh.n()).done;)RS()}catch(e){yh.e(e)}finally{yh.f()}var RS;function wU(e,t){if(e===void 0&&t!==void 0||e!==void 0&&t===void 0)return!1;if(e!==void 0&&t!==void 0){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(t[r].name!==e[r].name||t[r].value!==e[r].value)return!1}return!0}var tv={entries:function(){return pr},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=pr;n<i.length;n++){var s=bh(i[n],2),a=s[0],u=s[1];t.call(r,u,a,pr)}},get:function(t){var r=pr.find(function(n){return t.name===n[0].name&&wU(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!tv.get(t)},keys:function(){return pr.map(function(t){var r=bh(t,1),n=r[0];return n})},values:function(){return pr.map(function(t){var r=bh(t,2),n=r[1];return n})}},kU=(0,gU.default)(tv,tv.entries());xh.default=kU});var TS=k(Nr=>{"use strict";l();Object.defineProperty(Nr,"__esModule",{value:!0});Nr.elementAXObjects=Nr.AXObjects=Nr.AXObjectRoles=Nr.AXObjectElements=void 0;var $U=wh(yS()),CU=wh(CS()),SU=wh(ea()),EU=wh(qS());function wh(e){return e&&e.__esModule?e:{default:e}}var RU=$U.default;Nr.AXObjectElements=RU;var PU=CU.default;Nr.AXObjectRoles=PU;var AU=SU.default;Nr.AXObjects=AU;var qU=EU.default;Nr.elementAXObjects=qU});var uE=k((pv,hv)=>{l();(function(e,t){typeof pv=="object"&&typeof hv<"u"?hv.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.resolveURI=t())})(pv,function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function n(b){return e.test(b)}function i(b){return b.startsWith("//")}function s(b){return b.startsWith("/")}function a(b){return b.startsWith("file:")}function u(b){return/^[.?#]/.test(b)}function o(b){let $=t.exec(b);return d($[1],$[2]||"",$[3],$[4]||"",$[5]||"/",$[6]||"",$[7]||"")}function c(b){let $=r.exec(b),C=$[2];return d("file:","",$[1]||"","",s(C)?C:"/"+C,$[3]||"",$[4]||"")}function d(b,$,C,R,E,H,Y){return{scheme:b,user:$,host:C,port:R,path:E,query:H,hash:Y,type:7}}function p(b){if(i(b)){let C=o("http:"+b);return C.scheme="",C.type=6,C}if(s(b)){let C=o("http://foo.com"+b);return C.scheme="",C.host="",C.type=5,C}if(a(b))return c(b);if(n(b))return o(b);let $=o("http://foo.com/"+b);return $.scheme="",$.host="",$.type=b?b.startsWith("?")?3:b.startsWith("#")?2:4:1,$}function f(b){if(b.endsWith("/.."))return b;let $=b.lastIndexOf("/");return b.slice(0,$+1)}function m(b,$){y($,$.type),b.path==="/"?b.path=$.path:b.path=f($.path)+b.path}function y(b,$){let C=$<=4,R=b.path.split("/"),E=1,H=0,Y=!1;for(let j=1;j<R.length;j++){let I=R[j];if(!I){Y=!0;continue}if(Y=!1,I!=="."){if(I===".."){H?(Y=!0,H--,E--):C&&(R[E++]=I);continue}R[E++]=I,H++}}let P="";for(let j=1;j<E;j++)P+="/"+R[j];(!P||Y&&!P.endsWith("/.."))&&(P+="/"),b.path=P}function w(b,$){if(!b&&!$)return"";let C=p(b),R=C.type;if($&&R!==7){let H=p($),Y=H.type;switch(R){case 1:C.hash=H.hash;case 2:C.query=H.query;case 3:case 4:m(C,H);case 5:C.user=H.user,C.host=H.host,C.port=H.port;case 6:C.scheme=H.scheme}Y>R&&(R=Y)}y(C,R);let E=C.query+C.hash;switch(R){case 2:case 3:return E;case 4:{let H=C.path.slice(1);return H?u($||b)&&!u(H)?"./"+H+E:H+E:E||"."}case 5:return C.path+E;default:return C.scheme+"//"+C.user+C.host+C.port+C.path+E}}return w})});var qh=k((Ah,cE)=>{l();(function(e,t){typeof Ah=="object"&&typeof cE<"u"?t(Ah,hi(),uE()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.traceMapping={},e.sourcemapCodec,e.resolveURI))})(Ah,function(e,t,r){"use strict";function n(T,V){return V&&!V.endsWith("/")&&(V+="/"),r(T,V)}function i(T){if(!T)return"";let V=T.lastIndexOf("/");return T.slice(0,V+1)}let s=0,a=1,u=2,o=3,c=4,d=1,p=2;function f(T,V){let U=m(T,0);if(U===T.length)return T;V||(T=T.slice());for(let Z=U;Z<T.length;Z=m(T,Z+1))T[Z]=w(T[Z],V);return T}function m(T,V){for(let U=V;U<T.length;U++)if(!y(T[U]))return U;return T.length}function y(T){for(let V=1;V<T.length;V++)if(T[V][s]<T[V-1][s])return!1;return!0}function w(T,V){return V||(T=T.slice()),T.sort(b)}function b(T,V){return T[s]-V[s]}let $=!1;function C(T,V,U,Z){for(;U<=Z;){let xe=U+(Z-U>>1),ue=T[xe][s]-V;if(ue===0)return $=!0,xe;ue<0?U=xe+1:Z=xe-1}return $=!1,U-1}function R(T,V,U){for(let Z=U+1;Z<T.length&&T[Z][s]===V;U=Z++);return U}function E(T,V,U){for(let Z=U-1;Z>=0&&T[Z][s]===V;U=Z--);return U}function H(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Y(T,V,U,Z){let{lastKey:xe,lastNeedle:ue,lastIndex:Le}=U,He=0,Ee=T.length-1;if(Z===xe){if(V===ue)return $=Le!==-1&&T[Le][s]===V,Le;V>=ue?He=Le===-1?0:Le:Ee=Le}return U.lastKey=Z,U.lastNeedle=V,U.lastIndex=C(T,V,He,Ee)}function P(T,V){let U=V.map(I);for(let Z=0;Z<T.length;Z++){let xe=T[Z];for(let ue=0;ue<xe.length;ue++){let Le=xe[ue];if(Le.length===1)continue;let He=Le[a],Ee=Le[u],Ue=Le[o],Nt=U[He],it=Nt[Ee]||(Nt[Ee]=[]),et=V[He],Rt=R(it,Ue,Y(it,Ue,et,Ee));et.lastIndex=++Rt,j(it,Rt,[Ue,Z,Le[s]])}}return U}function j(T,V,U){for(let Z=T.length;Z>V;Z--)T[Z]=T[Z-1];T[V]=U}function I(){return{__proto__:null}}let B=function(T,V){let U=q(T);if(!("sections"in U))return new oe(U,V);let Z=[],xe=[],ue=[],Le=[],He=[];A(U,V,Z,xe,ue,Le,He,0,0,1/0,1/0);let Ee={version:3,file:U.file,names:Le,sources:xe,sourcesContent:ue,mappings:Z,ignoreList:He};return ct(Ee)};function q(T){return typeof T=="string"?JSON.parse(T):T}function A(T,V,U,Z,xe,ue,Le,He,Ee,Ue,Nt){let{sections:it}=T;for(let et=0;et<it.length;et++){let{map:Rt,offset:Cr}=it[et],wn=Ue,ii=Nt;if(et+1<it.length){let si=it[et+1].offset;wn=Math.min(Ue,He+si.line),wn===Ue?ii=Math.min(Nt,Ee+si.column):wn<Ue&&(ii=Ee+si.column)}K(Rt,V,U,Z,xe,ue,Le,He+Cr.line,Ee+Cr.column,wn,ii)}}function K(T,V,U,Z,xe,ue,Le,He,Ee,Ue,Nt){let it=q(T);if("sections"in it)return A(...arguments);let et=new oe(it,V),Rt=Z.length,Cr=ue.length,wn=ge(et),{resolvedSources:ii,sourcesContent:si,ignoreList:Wh}=et;if(ee(Z,ii),ee(ue,et.names),si)ee(xe,si);else for(let Jt=0;Jt<ii.length;Jt++)xe.push(null);if(Wh)for(let Jt=0;Jt<Wh.length;Jt++)Le.push(Wh[Jt]+Rt);for(let Jt=0;Jt<wn.length;Jt++){let Yh=He+Jt;if(Yh>Ue)return;let Tv=F(U,Yh),QE=Jt===0?Ee:0,Lv=wn[Jt];for(let Kh=0;Kh<Lv.length;Kh++){let kn=Lv[Kh],za=QE+kn[s];if(Yh===Ue&&za>=Nt)return;if(kn.length===1){Tv.push([za]);continue}let Mv=Rt+kn[a],Iv=kn[u],Ov=kn[o];Tv.push(kn.length===4?[za,Mv,Iv,Ov]:[za,Mv,Iv,Ov,Cr+kn[c]])}}}function ee(T,V){for(let U=0;U<V.length;U++)T.push(V[U])}function F(T,V){for(let U=T.length;U<=V;U++)T[U]=[];return T[V]}let O="`line` must be greater than 0 (lines start at line 1)",G="`column` must be greater than or equal to 0 (columns start at column 0)",X=-1,te=1;class oe{constructor(V,U){let Z=typeof V=="string";if(!Z&&V._decodedMemo)return V;let xe=Z?JSON.parse(V):V,{version:ue,file:Le,names:He,sourceRoot:Ee,sources:Ue,sourcesContent:Nt}=xe;this.version=ue,this.file=Le,this.names=He||[],this.sourceRoot=Ee,this.sources=Ue,this.sourcesContent=Nt,this.ignoreList=xe.ignoreList||xe.x_google_ignoreList||void 0;let it=n(Ee||"",i(U));this.resolvedSources=Ue.map(Rt=>n(Rt||"",it));let{mappings:et}=xe;typeof et=="string"?(this._encoded=et,this._decoded=void 0):(this._encoded=void 0,this._decoded=f(et,Z)),this._decodedMemo=H(),this._bySources=void 0,this._bySourceMemos=void 0}}function me(T){return T}function ce(T){var V,U;return(V=(U=T)._encoded)!==null&&V!==void 0?V:U._encoded=t.encode(T._decoded)}function ge(T){var V;return(V=T)._decoded||(V._decoded=t.decode(T._encoded))}function Ne(T,V,U){let Z=ge(T);if(V>=Z.length)return null;let xe=Z[V],ue=Zt(xe,T._decodedMemo,V,U,te);return ue===-1?null:xe[ue]}function Et(T,V){let{line:U,column:Z,bias:xe}=V;if(U--,U<0)throw new Error(O);if(Z<0)throw new Error(G);let ue=ge(T);if(U>=ue.length)return xt(null,null,null,null);let Le=ue[U],He=Zt(Le,T._decodedMemo,U,Z,xe||te);if(He===-1)return xt(null,null,null,null);let Ee=Le[He];if(Ee.length===1)return xt(null,null,null,null);let{names:Ue,resolvedSources:Nt}=T;return xt(Nt[Ee[a]],Ee[u]+1,Ee[o],Ee.length===5?Ue[Ee[c]]:null)}function at(T,V){let{source:U,line:Z,column:xe,bias:ue}=V;return Fr(T,U,Z,xe,ue||te,!1)}function _t(T,V){let{source:U,line:Z,column:xe,bias:ue}=V;return Fr(T,U,Z,xe,ue||X,!0)}function z(T,V){let U=ge(T),{names:Z,resolvedSources:xe}=T;for(let ue=0;ue<U.length;ue++){let Le=U[ue];for(let He=0;He<Le.length;He++){let Ee=Le[He],Ue=ue+1,Nt=Ee[0],it=null,et=null,Rt=null,Cr=null;Ee.length!==1&&(it=xe[Ee[1]],et=Ee[2]+1,Rt=Ee[3]),Ee.length===5&&(Cr=Z[Ee[4]]),V({generatedLine:Ue,generatedColumn:Nt,source:it,originalLine:et,originalColumn:Rt,name:Cr})}}}function Ce(T,V){let{sources:U,resolvedSources:Z}=T,xe=U.indexOf(V);return xe===-1&&(xe=Z.indexOf(V)),xe}function Re(T,V){let{sourcesContent:U}=T;if(U==null)return null;let Z=Ce(T,V);return Z===-1?null:U[Z]}function J(T,V){let{ignoreList:U}=T;if(U==null)return!1;let Z=Ce(T,V);return Z===-1?!1:U.includes(Z)}function ct(T,V){let U=new oe(dt(T,[]),V);return U._decoded=T.mappings,U}function We(T){return dt(T,ge(T))}function Be(T){return dt(T,ce(T))}function dt(T,V){return{version:T.version,file:T.file,names:T.names,sourceRoot:T.sourceRoot,sources:T.sources,sourcesContent:T.sourcesContent,mappings:V,ignoreList:T.ignoreList||T.x_google_ignoreList}}function xt(T,V,U,Z){return{source:T,line:V,column:U,name:Z}}function Xt(T,V){return{line:T,column:V}}function Zt(T,V,U,Z,xe){let ue=Y(T,Z,V,U);return $?ue=(xe===X?R:E)(T,Z,ue):xe===X&&ue++,ue===-1||ue===T.length?-1:ue}function an(T,V,U,Z,xe){let ue=Zt(T,V,U,Z,te);if(!$&&xe===X&&ue++,ue===-1||ue===T.length)return[];let Le=$?Z:T[ue][s];$||(ue=E(T,Le,ue));let He=R(T,Le,ue),Ee=[];for(;ue<=He;ue++){let Ue=T[ue];Ee.push(Xt(Ue[d]+1,Ue[p]))}return Ee}function Fr(T,V,U,Z,xe,ue){var Le;if(U--,U<0)throw new Error(O);if(Z<0)throw new Error(G);let{sources:He,resolvedSources:Ee}=T,Ue=He.indexOf(V);if(Ue===-1&&(Ue=Ee.indexOf(V)),Ue===-1)return ue?[]:Xt(null,null);let it=((Le=T)._bySources||(Le._bySources=P(ge(T),T._bySourceMemos=He.map(H))))[Ue][U];if(it==null)return ue?[]:Xt(null,null);let et=T._bySourceMemos[Ue];if(ue)return an(it,et,U,Z,xe);let Rt=Zt(it,et,U,Z,xe);if(Rt===-1)return Xt(null,null);let Cr=it[Rt];return Xt(Cr[d]+1,Cr[p])}e.AnyMap=B,e.GREATEST_LOWER_BOUND=te,e.LEAST_UPPER_BOUND=X,e.TraceMap=oe,e.allGeneratedPositionsFor=_t,e.decodedMap=We,e.decodedMappings=ge,e.eachMapping=z,e.encodedMap=Be,e.encodedMappings=ce,e.generatedPositionFor=at,e.isIgnored=J,e.originalPositionFor=Et,e.presortedDecodedMap=ct,e.sourceContentFor=Re,e.traceSegment=Ne})});var pE=k((Th,dE)=>{l();(function(e,t){typeof Th=="object"&&typeof dE<"u"?t(Th):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.setArray={}))})(Th,function(e){"use strict";class t{constructor(){this._indexes={__proto__:null},this.array=[]}}function r(u){return u}function n(u,o){return u._indexes[o]}function i(u,o){let c=n(u,o);if(c!==void 0)return c;let{array:d,_indexes:p}=u,f=d.push(o);return p[o]=f-1}function s(u){let{array:o,_indexes:c}=u;if(o.length===0)return;let d=o.pop();c[d]=void 0}function a(u,o){let c=n(u,o);if(c===void 0)return;let{array:d,_indexes:p}=u;for(let f=c+1;f<d.length;f++){let m=d[f];d[f-1]=m,p[m]--}p[o]=void 0,d.pop()}e.SetArray=t,e.get=n,e.pop=s,e.put=i,e.remove=a,Object.defineProperty(e,"__esModule",{value:!0})})});var fE=k((Lh,hE)=>{l();(function(e,t){typeof Lh=="object"&&typeof hE<"u"?t(Lh,pE(),hi(),qh()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.genMapping={},e.setArray,e.sourcemapCodec,e.traceMapping))})(Lh,function(e,t,r,n){"use strict";class d{constructor({file:O,sourceRoot:G}={}){this._names=new t.SetArray,this._sources=new t.SetArray,this._sourcesContent=[],this._mappings=[],this.file=O,this.sourceRoot=G,this._ignoreList=new t.SetArray}}function p(F){return F}function f(F,O,G,X,te,oe,me,ce){return Y(!1,F,O,G,X,te,oe,me,ce)}function m(F,O){return ee(!1,F,O)}let y=(F,O,G,X,te,oe,me,ce)=>Y(!0,F,O,G,X,te,oe,me,ce),w=(F,O)=>ee(!0,F,O);function b(F,O,G){let{_sources:X,_sourcesContent:te}=F,oe=t.put(X,O);te[oe]=G}function $(F,O,G=!0){let{_sources:X,_sourcesContent:te,_ignoreList:oe}=F,me=t.put(X,O);me===te.length&&(te[me]=null),G?t.put(oe,me):t.remove(oe,me)}function C(F){let{_mappings:O,_sources:G,_sourcesContent:X,_names:te,_ignoreList:oe}=F;return B(O),{version:3,file:F.file||void 0,names:te.array,sourceRoot:F.sourceRoot||void 0,sources:G.array,sourcesContent:X,mappings:O,ignoreList:oe.array}}function R(F){let O=C(F);return Object.assign(Object.assign({},O),{mappings:r.encode(O.mappings)})}function E(F){let O=new n.TraceMap(F),G=new d({file:O.file,sourceRoot:O.sourceRoot});return q(G._names,O.names),q(G._sources,O.sources),G._sourcesContent=O.sourcesContent||O.sources.map(()=>null),G._mappings=n.decodedMappings(O),O.ignoreList&&q(G._ignoreList,O.ignoreList),G}function H(F){let O=[],{_mappings:G,_sources:X,_names:te}=F;for(let oe=0;oe<G.length;oe++){let me=G[oe];for(let ce=0;ce<me.length;ce++){let ge=me[ce],Ne={line:oe+1,column:ge[0]},Et,at,_t;ge.length!==1&&(Et=X.array[ge[1]],at={line:ge[2]+1,column:ge[3]},ge.length===5&&(_t=te.array[ge[4]])),O.push({generated:Ne,source:Et,original:at,name:_t})}}return O}function Y(F,O,G,X,te,oe,me,ce,ge){let{_mappings:Ne,_sources:Et,_sourcesContent:at,_names:_t}=O,z=P(Ne,G),Ce=j(z,X);if(!te)return F&&A(z,Ce)?void 0:I(z,Ce,[X]);let Re=t.put(Et,te),J=ce?t.put(_t,ce):-1;if(Re===at.length&&(at[Re]=ge??null),!(F&&K(z,Ce,Re,oe,me,J)))return I(z,Ce,ce?[X,Re,oe,me,J]:[X,Re,oe,me])}function P(F,O){for(let G=F.length;G<=O;G++)F[G]=[];return F[O]}function j(F,O){let G=F.length;for(let X=G-1;X>=0;G=X--){let te=F[X];if(O>=te[0])break}return G}function I(F,O,G){for(let X=F.length;X>O;X--)F[X]=F[X-1];F[O]=G}function B(F){let{length:O}=F,G=O;for(let X=G-1;X>=0&&!(F[X].length>0);G=X,X--);G<O&&(F.length=G)}function q(F,O){for(let G=0;G<O.length;G++)t.put(F,O[G])}function A(F,O){return O===0?!0:F[O-1].length===1}function K(F,O,G,X,te,oe){if(O===0)return!1;let me=F[O-1];return me.length===1?!1:G===me[1]&&X===me[2]&&te===me[3]&&oe===(me.length===5?me[4]:-1)}function ee(F,O,G){let{generated:X,source:te,original:oe,name:me,content:ce}=G;return te?Y(F,O,X.line-1,X.column,te,oe.line-1,oe.column,me,ce):Y(F,O,X.line-1,X.column,null,null,null,null,null)}e.GenMapping=d,e.addMapping=m,e.addSegment=f,e.allMappings=H,e.fromMap=E,e.maybeAddMapping=w,e.maybeAddSegment=y,e.setIgnore=$,e.setSourceContent=b,e.toDecodedMap=C,e.toEncodedMap=R,Object.defineProperty(e,"__esModule",{value:!0})})});var mE=k((fv,mv)=>{l();(function(e,t){typeof fv=="object"&&typeof mv<"u"?mv.exports=t(qh(),fE()):typeof define=="function"&&define.amd?define(["@jridgewell/trace-mapping","@jridgewell/gen-mapping"],t):(e=typeof globalThis<"u"?globalThis:e||self,e.remapping=t(e.traceMapping,e.genMapping))})(fv,function(e,t){"use strict";let r=i("",-1,-1,"",null,!1),n=[];function i(w,b,$,C,R,E){return{source:w,line:b,column:$,name:C,content:R,ignore:E}}function s(w,b,$,C,R){return{map:w,sources:b,source:$,content:C,ignore:R}}function a(w,b){return s(w,b,"",null,!1)}function u(w,b,$){return s(null,n,w,b,$)}function o(w){let b=new t.GenMapping({file:w.map.file}),{sources:$,map:C}=w,R=C.names,E=e.decodedMappings(C);for(let H=0;H<E.length;H++){let Y=E[H];for(let P=0;P<Y.length;P++){let j=Y[P],I=j[0],B=r;if(j.length!==1){let G=$[j[1]];if(B=c(G,j[2],j[3],j.length===5?R[j[4]]:""),B==null)continue}let{column:q,line:A,name:K,content:ee,source:F,ignore:O}=B;t.maybeAddSegment(b,H,I,F,A,q,K),F&&ee!=null&&t.setSourceContent(b,F,ee),O&&t.setIgnore(b,F,!0)}}return b}function c(w,b,$,C){if(!w.map)return i(w.source,b,$,C,w.content,w.ignore);let R=e.traceSegment(w.map,b,$);return R==null?null:R.length===1?r:c(w.sources[R[1]],R[2],R[3],R.length===5?w.map.names[R[4]]:C)}function d(w){return Array.isArray(w)?w:[w]}function p(w,b){let $=d(w).map(E=>new e.TraceMap(E,"")),C=$.pop();for(let E=0;E<$.length;E++)if($[E].sources.length>1)throw new Error(`Transformation map ${E} must have exactly one source file.
|
|
Did you specify these with the most recent transformation maps first?`);let R=f(C,b,"",0);for(let E=$.length-1;E>=0;E--)R=a($[E],[R]);return R}function f(w,b,$,C){let{resolvedSources:R,sourcesContent:E,ignoreList:H}=w,Y=C+1,P=R.map((j,I)=>{let B={importer:$,depth:Y,source:j||"",content:void 0,ignore:void 0},q=b(B.source,B),{source:A,content:K,ignore:ee}=B;if(q)return f(new e.TraceMap(q,A),b,A,Y);let F=K!==void 0?K:E?E[I]:null,O=ee!==void 0?ee:H?H.includes(I):!1;return u(A,F,O)});return a(w,P)}class m{constructor(b,$){let C=$.decodedMappings?t.toDecodedMap(b):t.toEncodedMap(b);this.version=C.version,this.file=C.file,this.mappings=C.mappings,this.names=C.names,this.ignoreList=C.ignoreList,this.sourceRoot=C.sourceRoot,this.sources=C.sources,$.excludeContent||(this.sourcesContent=C.sourcesContent)}toString(){return JSON.stringify(this)}}function y(w,b,$){let C=typeof $=="object"?$:{excludeContent:!!$,decodedMappings:!1},R=p(w,b);return new m(o(R),C)}return y})});l();l();function Nv(e){let r=[],n=new Uint8Array(1024);for(;;){let s=0;try{s=Javy.IO.readSync(0,n)}catch(u){if(u.message.includes("os error 29"))break;throw new Error("Error reading from stdin")}if(s<0)throw new Error("Error reading from stdin");if(s===0)break;if(r=[...r,...n.subarray(0,s)],!r.includes(10))continue;let a=0;for(let u=0;a<r.length;a++)if(r[a]===10){let o=r.splice(u,a+1),c=new Uint8Array(o),d;try{d=JSON.parse(new TextDecoder().decode(c))}catch(p){throw new Error(`Error parsing JSON '${new TextDecoder().decode(c)}' from stdin: ${p.message}`)}e(d),u=a+1}r=r.slice(a)}}function Qh(e){let t=new TextEncoder().encode(JSON.stringify(e)+`
|
|
`),r=new Uint8Array(t);Javy.IO.writeSync(1,r)}l();l();l();var Wa=()=>h();function Dv(e){let t={};return e.forEach(r=>{t[r.label]=Object.assign({total:r.end-r.start},r.children&&Dv(r.children))}),t}var zi=class{constructor(){g(this,"start_time");g(this,"current_timing");g(this,"current_children");g(this,"timings");g(this,"stack");this.start_time=Wa(),this.stack=[],this.current_children=this.timings=[]}start(t){let r={label:t,start:Wa(),end:null,children:[]};this.current_children.push(r),this.stack.push(r),this.current_timing=r,this.current_children=r.children}stop(t){if(t!==this.current_timing.label)throw new Error(`Mismatched timing labels (expected ${this.current_timing.label}, got ${t})`);this.current_timing.end=Wa(),this.stack.pop(),this.current_timing=this.stack[this.stack.length-1],this.current_children=this.current_timing?this.current_timing.children:this.timings}render(){return{timings:Object.assign({total:Wa()-this.start_time},Dv(this.timings))}}};l();l();var s8=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],Uv=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],a8="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",zv="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Xh={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Zh="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",o8={5:Zh,"5module":Zh+" export import",6:Zh+" const class extends export import super"},l8=/^in(stanceof)?$/,u8=new RegExp("["+zv+"]"),c8=new RegExp("["+zv+a8+"]");function ef(e,t){for(var r=65536,n=0;n<t.length;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function Pt(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&u8.test(String.fromCharCode(e)):t===!1?!1:ef(e,Uv)}function Sr(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&c8.test(String.fromCharCode(e)):t===!1?!1:ef(e,Uv)||ef(e,s8)}var Me=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function er(e,t){return new Me(e,{beforeExpr:!0,binop:t})}var tr={beforeExpr:!0},Dt={startsExpr:!0},sf={};function Ae(e,t){return t===void 0&&(t={}),t.keyword=e,sf[e]=new Me(e,t)}var x={num:new Me("num",Dt),regexp:new Me("regexp",Dt),string:new Me("string",Dt),name:new Me("name",Dt),privateId:new Me("privateId",Dt),eof:new Me("eof"),bracketL:new Me("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Me("]"),braceL:new Me("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Me("}"),parenL:new Me("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Me(")"),comma:new Me(",",tr),semi:new Me(";",tr),colon:new Me(":",tr),dot:new Me("."),question:new Me("?",tr),questionDot:new Me("?."),arrow:new Me("=>",tr),template:new Me("template"),invalidTemplate:new Me("invalidTemplate"),ellipsis:new Me("...",tr),backQuote:new Me("`",Dt),dollarBraceL:new Me("${",{beforeExpr:!0,startsExpr:!0}),eq:new Me("=",{beforeExpr:!0,isAssign:!0}),assign:new Me("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Me("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Me("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:er("||",1),logicalAND:er("&&",2),bitwiseOR:er("|",3),bitwiseXOR:er("^",4),bitwiseAND:er("&",5),equality:er("==/!=/===/!==",6),relational:er("</>/<=/>=",7),bitShift:er("<</>>/>>>",8),plusMin:new Me("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:er("%",10),star:er("*",10),slash:er("/",10),starstar:new Me("**",{beforeExpr:!0}),coalesce:er("??",1),_break:Ae("break"),_case:Ae("case",tr),_catch:Ae("catch"),_continue:Ae("continue"),_debugger:Ae("debugger"),_default:Ae("default",tr),_do:Ae("do",{isLoop:!0,beforeExpr:!0}),_else:Ae("else",tr),_finally:Ae("finally"),_for:Ae("for",{isLoop:!0}),_function:Ae("function",Dt),_if:Ae("if"),_return:Ae("return",tr),_switch:Ae("switch"),_throw:Ae("throw",tr),_try:Ae("try"),_var:Ae("var"),_const:Ae("const"),_while:Ae("while",{isLoop:!0}),_with:Ae("with"),_new:Ae("new",{beforeExpr:!0,startsExpr:!0}),_this:Ae("this",Dt),_super:Ae("super",Dt),_class:Ae("class",Dt),_extends:Ae("extends",tr),_export:Ae("export"),_import:Ae("import",Dt),_null:Ae("null",Dt),_true:Ae("true",Dt),_false:Ae("false",Dt),_in:Ae("in",{beforeExpr:!0,binop:7}),_instanceof:Ae("instanceof",{beforeExpr:!0,binop:7}),_typeof:Ae("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Ae("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Ae("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},ir=/\r\n?|\n|\u2028|\u2029/,d8=new RegExp(ir.source,"g");function ai(e){return e===10||e===13||e===8232||e===8233}function Gv(e,t,r){r===void 0&&(r=e.length);for(var n=t;n<r;n++){var i=e.charCodeAt(n);if(ai(i))return n<r-1&&i===13&&e.charCodeAt(n+1)===10?n+2:n+1}return-1}var Wv=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,rr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Yv=Object.prototype,p8=Yv.hasOwnProperty,h8=Yv.toString,Ki=Object.hasOwn||function(e,t){return p8.call(e,t)},Bv=Array.isArray||function(e){return h8.call(e)==="[object Array]"},Fv=Object.create(null);function on(e){return Fv[e]||(Fv[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function ln(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var f8=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Wi=function(t,r){this.line=t,this.column=r};Wi.prototype.offset=function(t){return new Wi(this.line,this.column+t)};var Ja=function(t,r,n){this.start=r,this.end=n,t.sourceFile!==null&&(this.source=t.sourceFile)};function Kv(e,t){for(var r=1,n=0;;){var i=Gv(e,n,t);if(i<0)return new Wi(r,t-n);++r,n=i}}var tf={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},jv=!1;function m8(e){var t={};for(var r in tf)t[r]=e&&Ki(e,r)?e[r]:tf[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!jv&&typeof console=="object"&&console.warn&&(jv=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),Bv(t.onToken)){var n=t.onToken;t.onToken=function(i){return n.push(i)}}return Bv(t.onComment)&&(t.onComment=_8(t,t.onComment)),t}function _8(e,t){return function(r,n,i,s,a,u){var o={type:r?"Block":"Line",value:n,start:i,end:s};e.locations&&(o.loc=new Ja(this,a,u)),e.ranges&&(o.range=[i,s]),t.push(o)}}var Yi=1,oi=2,af=4,Qv=8,Xv=16,Zv=32,of=64,Jv=128,Qi=256,lf=Yi|oi|Qi;function uf(e,t){return oi|(e?af:0)|(t?Qv:0)}var Ka=0,cf=1,Hr=2,ey=3,ty=4,ry=5,ot=function(t,r,n){this.options=t=m8(t),this.sourceFile=t.sourceFile,this.keywords=on(o8[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var i="";t.allowReserved!==!0&&(i=Xh[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(i+=" await")),this.reservedWords=on(i);var s=(i?i+" ":"")+Xh.strict;this.reservedWordsStrict=on(s),this.reservedWordsStrictBind=on(s+" "+Xh.strictBind),this.input=String(r),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(`
|
|
`,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(ir).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=x.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Yi),this.regexpState=null,this.privateNameStack=[]},Er={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};ot.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};Er.inFunction.get=function(){return(this.currentVarScope().flags&oi)>0};Er.inGenerator.get=function(){return(this.currentVarScope().flags&Qv)>0&&!this.currentVarScope().inClassFieldInit};Er.inAsync.get=function(){return(this.currentVarScope().flags&af)>0&&!this.currentVarScope().inClassFieldInit};Er.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&Qi)return!1;if(t.flags&oi)return(t.flags&af)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Er.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&of)>0||r||this.options.allowSuperOutsideMethod};Er.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Jv)>0};Er.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Er.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&(oi|Qi))>0||r};Er.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Qi)>0};ot.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var n=this,i=0;i<t.length;i++)n=t[i](n);return n};ot.parse=function(t,r){return new this(r,t).parse()};ot.parseExpressionAt=function(t,r,n){var i=new this(n,t,r);return i.nextToken(),i.parseExpression()};ot.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(ot.prototype,Er);var At=ot.prototype,g8=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;At.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){rr.lastIndex=e,e+=rr.exec(this.input)[0].length;var t=g8.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){rr.lastIndex=e+t[0].length;var r=rr.exec(this.input),n=r.index+r[0].length,i=this.input.charAt(n);return i===";"||i==="}"||ir.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||i==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length,rr.lastIndex=e,e+=rr.exec(this.input)[0].length,this.input[e]===";"&&e++}};At.eat=function(e){return this.type===e?(this.next(),!0):!1};At.isContextual=function(e){return this.type===x.name&&this.value===e&&!this.containsEsc};At.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};At.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};At.canInsertSemicolon=function(){return this.type===x.eof||this.type===x.braceR||ir.test(this.input.slice(this.lastTokEnd,this.start))};At.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};At.semicolon=function(){!this.eat(x.semi)&&!this.insertSemicolon()&&this.unexpected()};At.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};At.expect=function(e){this.eat(e)||this.unexpected()};At.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var eo=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};At.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}};At.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")};At.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};At.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var le=ot.prototype;le.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==x.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,i=Object.keys(this.undefinedExports);n<i.length;n+=1){var s=i[n];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var df={kind:"loop"},v8={kind:"switch"};le.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;rr.lastIndex=this.pos;var t=rr.exec(this.input),r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(n===91||n===92)return!0;if(e)return!1;if(n===123||n>55295&&n<56320)return!0;if(Pt(n,!0)){for(var i=r+1;Sr(n=this.input.charCodeAt(i),!0);)++i;if(n===92||n>55295&&n<56320)return!0;var s=this.input.slice(r,i);if(!l8.test(s))return!0}return!1};le.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;rr.lastIndex=this.pos;var e=rr.exec(this.input),t=this.pos+e[0].length,r;return!ir.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(Sr(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))};le.parseStatement=function(e,t,r){var n=this.type,i=this.startNode(),s;switch(this.isLet(e)&&(n=x._var,s="let"),n){case x._break:case x._continue:return this.parseBreakContinueStatement(i,n.keyword);case x._debugger:return this.parseDebuggerStatement(i);case x._do:return this.parseDoStatement(i);case x._for:return this.parseForStatement(i);case x._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case x._class:return e&&this.unexpected(),this.parseClass(i,!0);case x._if:return this.parseIfStatement(i);case x._return:return this.parseReturnStatement(i);case x._switch:return this.parseSwitchStatement(i);case x._throw:return this.parseThrowStatement(i);case x._try:return this.parseTryStatement(i);case x._const:case x._var:return s=s||this.value,e&&s!=="var"&&this.unexpected(),this.parseVarStatement(i,s);case x._while:return this.parseWhileStatement(i);case x._with:return this.parseWithStatement(i);case x.braceL:return this.parseBlock(!0,i);case x.semi:return this.parseEmptyStatement(i);case x._export:case x._import:if(this.options.ecmaVersion>10&&n===x._import){rr.lastIndex=this.pos;var a=rr.exec(this.input),u=this.pos+a[0].length,o=this.input.charCodeAt(u);if(o===40||o===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===x._import?this.parseImport(i):this.parseExport(i,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var c=this.value,d=this.parseExpression();return n===x.name&&d.type==="Identifier"&&this.eat(x.colon)?this.parseLabeledStatement(i,c,d,e):this.parseExpressionStatement(i,d)}};le.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(x.semi)||this.insertSemicolon()?e.label=null:this.type!==x.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var i=this.labels[n];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(r||i.kind==="loop")||e.label&&r))break}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")};le.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};le.parseDoStatement=function(e){return this.next(),this.labels.push(df),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(x._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(x.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};le.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(df),this.enterScope(0),this.expect(x.parenL),this.type===x.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===x._var||this.type===x._const||r){var n=this.startNode(),i=r?"let":this.value;return this.next(),this.parseVar(n,!0,i),this.finishNode(n,"VariableDeclaration"),(this.type===x._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===x._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var s=this.isContextual("let"),a=!1,u=this.containsEsc,o=new eo,c=this.start,d=t>-1?this.parseExprSubscripts(o,"await"):this.parseExpression(!0,o);return this.type===x._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===x._in&&this.unexpected(t),e.await=!0):a&&this.options.ecmaVersion>=8&&(d.start===c&&!u&&d.type==="Identifier"&&d.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),s&&a&&this.raise(d.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(d,!1,o),this.checkLValPattern(d),this.parseForIn(e,d)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,d))};le.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Gi|(r?0:rf),!1,t)};le.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(x._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};le.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(x.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};le.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(x.braceL),this.labels.push(v8),this.enterScope(0);for(var t,r=!1;this.type!==x.braceR;)if(this.type===x._case||this.type===x._default){var n=this.type===x._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(x.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};le.parseThrowStatement=function(e){return this.next(),ir.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var y8=[];le.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?Zv:0),this.checkLValPattern(e,t?ty:Hr),this.expect(x.parenR),e};le.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===x._catch){var t=this.startNode();this.next(),this.eat(x.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(x._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};le.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")};le.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(df),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};le.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};le.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};le.parseLabeledStatement=function(e,t,r,n){for(var i=0,s=this.labels;i<s.length;i+=1){var a=s[i];a.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var u=this.type.isLoop?"loop":this.type===x._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var c=this.labels[o];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};le.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};le.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(x.braceL),e&&this.enterScope(0);this.type!==x.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};le.parseFor=function(e,t){return e.init=t,this.expect(x.semi),e.test=this.type===x.semi?null:this.parseExpression(),this.expect(x.semi),e.update=this.type===x.parenR?null:this.parseExpression(),this.expect(x.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};le.parseForIn=function(e,t){var r=this.type===x._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(x.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};le.parseVar=function(e,t,r,n){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(x.eq)?i.init=this.parseMaybeAssign(t):!n&&r==="const"&&!(this.type===x._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!n&&i.id.type!=="Identifier"&&!(t&&(this.type===x._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(x.comma))break}return e};le.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?cf:Hr,!1)};var Gi=1,rf=2,ny=4;le.parseFunction=function(e,t,r,n,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===x.star&&t&rf&&this.unexpected(),e.generator=this.eat(x.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&Gi&&(e.id=t&ny&&this.type!==x.name?null:this.parseIdent(),e.id&&!(t&rf)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?cf:Hr:ey));var s=this.yieldPos,a=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(uf(e.async,e.generator)),t&Gi||(e.id=this.type===x.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,i),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=u,this.finishNode(e,t&Gi?"FunctionDeclaration":"FunctionExpression")};le.parseFunctionParams=function(e){this.expect(x.parenL),e.params=this.parseBindingList(x.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};le.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),i=this.startNode(),s=!1;for(i.body=[],this.expect(x.braceL);this.type!==x.braceR;){var a=this.parseClassElement(e.superClass!==null);a&&(i.body.push(a),a.type==="MethodDefinition"&&a.kind==="constructor"?(s&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),s=!0):a.key&&a.key.type==="PrivateIdentifier"&&b8(n,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};le.parseClassElement=function(e){if(this.eat(x.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",i=!1,s=!1,a="method",u=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(x.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===x.star?u=!0:n="static"}if(r.static=u,!n&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===x.star)&&!this.canInsertSemicolon()?s=!0:n="async"),!n&&(t>=9||!s)&&this.eat(x.star)&&(i=!0),!n&&!s&&!i){var o=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=o:n=o)}if(n?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=n,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===x.parenL||a!=="method"||i||s){var c=!r.static&&Qa(r,"constructor"),d=c&&e;c&&a!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=c?"constructor":a,this.parseClassMethod(r,i,s,d)}else this.parseClassField(r);return r};le.isClassElementNameStart=function(){return this.type===x.name||this.type===x.privateId||this.type===x.num||this.type===x.string||this.type===x.bracketL||this.type.keyword};le.parseClassElementName=function(e){this.type===x.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};le.parseClassMethod=function(e,t,r,n){var i=e.key;e.kind==="constructor"?(t&&this.raise(i.start,"Constructor can't be a generator"),r&&this.raise(i.start,"Constructor can't be an async method")):e.static&&Qa(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var s=e.value=this.parseMethod(t,r,n);return e.kind==="get"&&s.params.length!==0&&this.raiseRecoverable(s.start,"getter should have no params"),e.kind==="set"&&s.params.length!==1&&this.raiseRecoverable(s.start,"setter should have exactly one param"),e.kind==="set"&&s.params[0].type==="RestElement"&&this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};le.parseClassField=function(e){if(Qa(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Qa(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(x.eq)){var t=this.currentThisScope(),r=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")};le.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(Qi|of);this.type!==x.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};le.parseClassId=function(e,t){this.type===x.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Hr,!1)):(t===!0&&this.unexpected(),e.id=null)};le.parseClassSuper=function(e){e.superClass=this.eat(x._extends)?this.parseExprSubscripts(null,!1):null};le.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};le.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var n=this.privateNameStack.length,i=n===0?null:this.privateNameStack[n-1],s=0;s<r.length;++s){var a=r[s];Ki(t,a.name)||(i?i.used.push(a):this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class"))}};function b8(e,t){var r=t.key.name,n=e[r],i="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(i=(t.static?"s":"i")+t.kind),n==="iget"&&i==="iset"||n==="iset"&&i==="iget"||n==="sget"&&i==="sset"||n==="sset"&&i==="sget"?(e[r]="true",!1):n?!0:(e[r]=i,!1)}function Qa(e,t){var r=e.computed,n=e.key;return!r&&(n.type==="Identifier"&&n.name===t||n.type==="Literal"&&n.value===t)}le.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==x.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};le.parseExport=function(e,t){if(this.next(),this.eat(x.star))return this.parseExportAllDeclaration(e,t);if(this.eat(x._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==x.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var r=0,n=e.specifiers;r<n.length;r+=1){var i=n[r];this.checkUnreserved(i.local),this.checkLocalExport(i.local),i.local.type==="Literal"&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};le.parseExportDeclaration=function(e){return this.parseStatement(null)};le.parseExportDefaultDeclaration=function(){var e;if(this.type===x._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Gi|ny,!1,e)}else if(this.type===x._class){var r=this.startNode();return this.parseClass(r,"nullableID")}else{var n=this.parseMaybeAssign();return this.semicolon(),n}};le.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Ki(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)};le.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var n=0,i=t.properties;n<i.length;n+=1){var s=i[n];this.checkPatternExport(e,s)}else if(r==="ArrayPattern")for(var a=0,u=t.elements;a<u.length;a+=1){var o=u[a];o&&this.checkPatternExport(e,o)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"&&this.checkPatternExport(e,t.argument)};le.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var i=n[r];this.checkPatternExport(e,i.id)}};le.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};le.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};le.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(x.braceL);!this.eat(x.braceR);){if(r)r=!1;else if(this.expect(x.comma),this.afterTrailingComma(x.braceR))break;t.push(this.parseExportSpecifier(e))}return t};le.parseImport=function(e){return this.next(),this.type===x.string?(e.specifiers=y8,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===x.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};le.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,Hr),this.finishNode(e,"ImportSpecifier")};le.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,Hr),this.finishNode(e,"ImportDefaultSpecifier")};le.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,Hr),this.finishNode(e,"ImportNamespaceSpecifier")};le.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===x.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(x.comma)))return e;if(this.type===x.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(x.braceL);!this.eat(x.braceR);){if(t)t=!1;else if(this.expect(x.comma),this.afterTrailingComma(x.braceR))break;e.push(this.parseImportSpecifier())}return e};le.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===x.string){var e=this.parseLiteral(this.value);return f8.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};le.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};le.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var sr=ot.prototype;sr.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,i=e.properties;n<i.length;n+=1){var s=i[n];this.toAssignable(s,t),s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern")&&this.raise(s.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e};sr.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var i=e[n];i&&this.toAssignable(i,t)}if(r){var s=e[r-1];this.options.ecmaVersion===6&&t&&s&&s.type==="RestElement"&&s.argument.type!=="Identifier"&&this.unexpected(s.argument.start)}return e};sr.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};sr.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==x.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};sr.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case x.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(x.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case x.braceL:return this.parseObj(!0)}return this.parseIdent()};sr.parseBindingList=function(e,t,r,n){for(var i=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(x.comma),t&&this.type===x.comma)i.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===x.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),i.push(a),this.type===x.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else i.push(this.parseAssignableListItem(n))}return i};sr.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};sr.parseBindingListItem=function(e){return e};sr.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(x.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")};sr.checkLValSimple=function(e,t,r){t===void 0&&(t=Ka);var n=t!==Ka;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(t===Hr&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(Ki(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==ry&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}};sr.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=Ka),e.type){case"ObjectPattern":for(var n=0,i=e.properties;n<i.length;n+=1){var s=i[n];this.checkLValInnerPattern(s,t,r)}break;case"ArrayPattern":for(var a=0,u=e.elements;a<u.length;a+=1){var o=u[a];o&&this.checkLValInnerPattern(o,t,r)}break;default:this.checkLValSimple(e,t,r)}};sr.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=Ka),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var fr=function(t,r,n,i,s){this.token=t,this.isExpr=!!r,this.preserveSpace=!!n,this.override=i,this.generator=!!s},Xe={b_stat:new fr("{",!1),b_expr:new fr("{",!0),b_tmpl:new fr("${",!1),p_stat:new fr("(",!1),p_expr:new fr("(",!0),q_tmpl:new fr("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new fr("function",!1),f_expr:new fr("function",!0),f_expr_gen:new fr("function",!0,!1,null,!0),f_gen:new fr("function",!1,!1,null,!0)},li=ot.prototype;li.initialContext=function(){return[Xe.b_stat]};li.curContext=function(){return this.context[this.context.length-1]};li.braceIsBlock=function(e){var t=this.curContext();return t===Xe.f_expr||t===Xe.f_stat?!0:e===x.colon&&(t===Xe.b_stat||t===Xe.b_expr)?!t.isExpr:e===x._return||e===x.name&&this.exprAllowed?ir.test(this.input.slice(this.lastTokEnd,this.start)):e===x._else||e===x.semi||e===x.eof||e===x.parenR||e===x.arrow?!0:e===x.braceL?t===Xe.b_stat:e===x._var||e===x._const||e===x.name?!1:!this.exprAllowed};li.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};li.updateContext=function(e){var t,r=this.type;r.keyword&&e===x.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};li.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};x.parenR.updateContext=x.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Xe.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};x.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Xe.b_stat:Xe.b_expr),this.exprAllowed=!0};x.dollarBraceL.updateContext=function(){this.context.push(Xe.b_tmpl),this.exprAllowed=!0};x.parenL.updateContext=function(e){var t=e===x._if||e===x._for||e===x._with||e===x._while;this.context.push(t?Xe.p_stat:Xe.p_expr),this.exprAllowed=!0};x.incDec.updateContext=function(){};x._function.updateContext=x._class.updateContext=function(e){e.beforeExpr&&e!==x._else&&!(e===x.semi&&this.curContext()!==Xe.p_stat)&&!(e===x._return&&ir.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===x.colon||e===x.braceL)&&this.curContext()===Xe.b_stat)?this.context.push(Xe.f_expr):this.context.push(Xe.f_stat),this.exprAllowed=!1};x.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};x.backQuote.updateContext=function(){this.curContext()===Xe.q_tmpl?this.context.pop():this.context.push(Xe.q_tmpl),this.exprAllowed=!1};x.star.updateContext=function(e){if(e===x._function){var t=this.context.length-1;this.context[t]===Xe.f_expr?this.context[t]=Xe.f_expr_gen:this.context[t]=Xe.f_gen}this.exprAllowed=!0};x.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==x.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var be=ot.prototype;be.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n=e.key,i;switch(n.type){case"Identifier":i=n.name;break;case"Literal":i=String(n.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){i==="__proto__"&&s==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0);return}i="$"+i;var a=t[i];if(a){var u;s==="init"?u=this.strict&&a.init||a.get||a.set:u=a.init||a[s],u&&this.raiseRecoverable(n.start,"Redefinition of property")}else a=t[i]={init:!1,get:!1,set:!1};a[s]=!0}};be.parseExpression=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===x.comma){var s=this.startNodeAt(r,n);for(s.expressions=[i];this.eat(x.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")}return i};be.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,i=-1,s=-1,a=-1;t?(i=t.parenthesizedAssign,s=t.trailingComma,a=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new eo,n=!0);var u=this.start,o=this.startLoc;(this.type===x.parenL||this.type===x.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,u,o)),this.type.isAssign){var d=this.startNodeAt(u,o);return d.operator=this.value,this.type===x.eq&&(c=this.toAssignable(c,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===x.eq?this.checkLValPattern(c):this.checkLValSimple(c),d.left=c,this.next(),d.right=this.parseMaybeAssign(e),a>-1&&(t.doubleProto=a),this.finishNode(d,"AssignmentExpression")}else n&&this.checkExpressionErrors(t,!0);return i>-1&&(t.parenthesizedAssign=i),s>-1&&(t.trailingComma=s),c};be.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(x.question)){var s=this.startNodeAt(r,n);return s.test=i,s.consequent=this.parseMaybeAssign(),this.expect(x.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return i};be.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===r&&i.type==="ArrowFunctionExpression"?i:this.parseExprOp(i,r,n,-1,e)};be.parseExprOp=function(e,t,r,n,i){var s=this.type.binop;if(s!=null&&(!i||this.type!==x._in)&&s>n){var a=this.type===x.logicalOR||this.type===x.logicalAND,u=this.type===x.coalesce;u&&(s=x.logicalAND.binop);var o=this.value;this.next();var c=this.start,d=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),c,d,s,i),f=this.buildBinary(t,r,e,p,o,a||u);return(a&&this.type===x.coalesce||u&&(this.type===x.logicalOR||this.type===x.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(f,t,r,n,i)}return e};be.buildBinary=function(e,t,r,n,i,s){n.type==="PrivateIdentifier"&&this.raise(n.start,"Private identifier can only be left side of binary expression");var a=this.startNodeAt(e,t);return a.left=r,a.operator=i,a.right=n,this.finishNode(a,s?"LogicalExpression":"BinaryExpression")};be.parseMaybeUnary=function(e,t,r,n){var i=this.start,s=this.startLoc,a;if(this.isContextual("await")&&this.canAwait)a=this.parseAwait(n),t=!0;else if(this.type.prefix){var u=this.startNode(),o=this.type===x.incDec;u.operator=this.value,u.prefix=!0,this.next(),u.argument=this.parseMaybeUnary(null,!0,o,n),this.checkExpressionErrors(e,!0),o?this.checkLValSimple(u.argument):this.strict&&u.operator==="delete"&&iy(u.argument)?this.raiseRecoverable(u.start,"Deleting local variable in strict mode"):u.operator==="delete"&&nf(u.argument)?this.raiseRecoverable(u.start,"Private fields can not be deleted"):t=!0,a=this.finishNode(u,o?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===x.privateId)(n||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),a=this.parsePrivateIdent(),this.type!==x._in&&this.unexpected();else{if(a=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return a;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(i,s);c.operator=this.value,c.prefix=!1,c.argument=a,this.checkLValSimple(a),this.next(),a=this.finishNode(c,"UpdateExpression")}}if(!r&&this.eat(x.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(i,s,a,this.parseMaybeUnary(null,!1,!1,n),"**",!1);else return a};function iy(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&iy(e.expression)}function nf(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&nf(e.expression)||e.type==="ParenthesizedExpression"&&nf(e.expression)}be.parseExprSubscripts=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprAtom(e,t);if(i.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return i;var s=this.parseSubscripts(i,r,n,!1,t);return e&&s.type==="MemberExpression"&&(e.parenthesizedAssign>=s.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=s.start&&(e.parenthesizedBind=-1),e.trailingComma>=s.start&&(e.trailingComma=-1)),s};be.parseSubscripts=function(e,t,r,n,i){for(var s=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,a=!1;;){var u=this.parseSubscript(e,t,r,n,s,a,i);if(u.optional&&(a=!0),u===e||u.type==="ArrowFunctionExpression"){if(a){var o=this.startNodeAt(t,r);o.expression=u,u=this.finishNode(o,"ChainExpression")}return u}e=u}};be.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(x.arrow)};be.parseSubscriptAsyncArrow=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,n)};be.parseSubscript=function(e,t,r,n,i,s,a){var u=this.options.ecmaVersion>=11,o=u&&this.eat(x.questionDot);n&&o&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(x.bracketL);if(c||o&&this.type!==x.parenL&&this.type!==x.backQuote||this.eat(x.dot)){var d=this.startNodeAt(t,r);d.object=e,c?(d.property=this.parseExpression(),this.expect(x.bracketR)):this.type===x.privateId&&e.type!=="Super"?d.property=this.parsePrivateIdent():d.property=this.parseIdent(this.options.allowReserved!=="never"),d.computed=!!c,u&&(d.optional=o),e=this.finishNode(d,"MemberExpression")}else if(!n&&this.eat(x.parenL)){var p=new eo,f=this.yieldPos,m=this.awaitPos,y=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var w=this.parseExprList(x.parenR,this.options.ecmaVersion>=8,!1,p);if(i&&!o&&this.shouldParseAsyncArrow())return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=f,this.awaitPos=m,this.awaitIdentPos=y,this.parseSubscriptAsyncArrow(t,r,w,a);this.checkExpressionErrors(p,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=m||this.awaitPos,this.awaitIdentPos=y||this.awaitIdentPos;var b=this.startNodeAt(t,r);b.callee=e,b.arguments=w,u&&(b.optional=o),e=this.finishNode(b,"CallExpression")}else if(this.type===x.backQuote){(o||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var $=this.startNodeAt(t,r);$.tag=e,$.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode($,"TaggedTemplateExpression")}return e};be.parseExprAtom=function(e,t,r){this.type===x.slash&&this.readRegexp();var n,i=this.potentialArrowAt===this.start;switch(this.type){case x._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),n=this.startNode(),this.next(),this.type===x.parenL&&!this.allowDirectSuper&&this.raise(n.start,"super() call outside constructor of a subclass"),this.type!==x.dot&&this.type!==x.bracketL&&this.type!==x.parenL&&this.unexpected(),this.finishNode(n,"Super");case x._this:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case x.name:var s=this.start,a=this.startLoc,u=this.containsEsc,o=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!u&&o.name==="async"&&!this.canInsertSemicolon()&&this.eat(x._function))return this.overrideContext(Xe.f_expr),this.parseFunction(this.startNodeAt(s,a),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(x.arrow))return this.parseArrowExpression(this.startNodeAt(s,a),[o],!1,t);if(this.options.ecmaVersion>=8&&o.name==="async"&&this.type===x.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return o=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(x.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,a),[o],!0,t)}return o;case x.regexp:var c=this.value;return n=this.parseLiteral(c.value),n.regex={pattern:c.pattern,flags:c.flags},n;case x.num:case x.string:return this.parseLiteral(this.value);case x._null:case x._true:case x._false:return n=this.startNode(),n.value=this.type===x._null?null:this.type===x._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case x.parenL:var d=this.start,p=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(e.parenthesizedAssign=d),e.parenthesizedBind<0&&(e.parenthesizedBind=d)),p;case x.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(x.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case x.braceL:return this.overrideContext(Xe.b_expr),this.parseObj(!1,e);case x._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case x._class:return this.parseClass(this.startNode(),!1);case x._new:return this.parseNew();case x.backQuote:return this.parseTemplate();case x._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}};be.parseExprAtomDefault=function(){this.unexpected()};be.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===x.parenL&&!e)return this.parseDynamicImport(t);if(this.type===x.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};be.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(x.parenR)){var t=this.start;this.eat(x.comma)&&this.eat(x.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};be.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};be.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};be.parseParenExpression=function(){this.expect(x.parenL);var e=this.parseExpression();return this.expect(x.parenR),e};be.shouldParseArrow=function(e){return!this.canInsertSemicolon()};be.parseParenAndDistinguishExpression=function(e,t){var r=this.start,n=this.startLoc,i,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,u=this.startLoc,o=[],c=!0,d=!1,p=new eo,f=this.yieldPos,m=this.awaitPos,y;for(this.yieldPos=0,this.awaitPos=0;this.type!==x.parenR;)if(c?c=!1:this.expect(x.comma),s&&this.afterTrailingComma(x.parenR,!0)){d=!0;break}else if(this.type===x.ellipsis){y=this.start,o.push(this.parseParenItem(this.parseRestBinding())),this.type===x.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else o.push(this.parseMaybeAssign(!1,p,this.parseParenItem));var w=this.lastTokEnd,b=this.lastTokEndLoc;if(this.expect(x.parenR),e&&this.shouldParseArrow(o)&&this.eat(x.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=f,this.awaitPos=m,this.parseParenArrowList(r,n,o,t);(!o.length||d)&&this.unexpected(this.lastTokStart),y&&this.unexpected(y),this.checkExpressionErrors(p,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=m||this.awaitPos,o.length>1?(i=this.startNodeAt(a,u),i.expressions=o,this.finishNodeAt(i,"SequenceExpression",w,b)):i=o[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var $=this.startNodeAt(r,n);return $.expression=i,this.finishNode($,"ParenthesizedExpression")}else return i};be.parseParenItem=function(e){return e};be.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};var x8=[];be.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===x.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),n,i,!0,!1),this.eat(x.parenL)?e.arguments=this.parseExprList(x.parenR,this.options.ecmaVersion>=8,!1):e.arguments=x8,this.finishNode(e,"NewExpression")};be.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===x.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,`
|
|
`),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
`),cooked:this.value},this.next(),r.tail=this.type===x.backQuote,this.finishNode(r,"TemplateElement")};be.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===x.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(x.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(x.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};be.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===x.name||this.type===x.num||this.type===x.string||this.type===x.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===x.star)&&!ir.test(this.input.slice(this.lastTokEnd,this.start))};be.parseObj=function(e,t){var r=this.startNode(),n=!0,i={};for(r.properties=[],this.next();!this.eat(x.braceR);){if(n)n=!1;else if(this.expect(x.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(x.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,i,t),r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};be.parseProperty=function(e,t){var r=this.startNode(),n,i,s,a;if(this.options.ecmaVersion>=9&&this.eat(x.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===x.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===x.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(s=this.start,a=this.startLoc),e||(n=this.eat(x.star)));var u=this.containsEsc;return this.parsePropertyName(r),!e&&!u&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)?(i=!0,n=this.options.ecmaVersion>=9&&this.eat(x.star),this.parsePropertyName(r)):i=!1,this.parsePropertyValue(r,e,n,i,s,a,t,u),this.finishNode(r,"Property")};be.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=e.kind==="get"?0:1;if(e.value.params.length!==t){var r=e.value.start;e.kind==="get"?this.raiseRecoverable(r,"getter should have no params"):this.raiseRecoverable(r,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};be.parsePropertyValue=function(e,t,r,n,i,s,a,u){(r||n)&&this.type===x.colon&&this.unexpected(),this.eat(x.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):this.options.ecmaVersion>=6&&this.type===x.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n)):!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==x.comma&&this.type!==x.braceR&&this.type!==x.eq?((r||n)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,s,this.copyNode(e.key)):this.type===x.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,s,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()};be.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(x.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(x.bracketR),e.key;e.computed=!1}return e.key=this.type===x.num||this.type===x.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};be.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};be.parseMethod=function(e,t,r){var n=this.startNode(),i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(uf(t,n.generator)|of|(r?Jv:0)),this.expect(x.parenL),n.params=this.parseBindingList(x.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(n,"FunctionExpression")};be.parseArrowExpression=function(e,t,r,n){var i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(uf(r,!1)|Xv),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")};be.parseFunctionBody=function(e,t,r,n){var i=t&&this.type!==x.braceL,s=this.strict,a=!1;if(i)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||u)&&(a=this.strictDirective(this.end),a&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var o=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!s&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,ry),e.body=this.parseBlock(!1,void 0,a&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitScope()};be.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var n=r[t];if(n.type!=="Identifier")return!1}return!0};be.checkParams=function(e,t){for(var r=Object.create(null),n=0,i=e.params;n<i.length;n+=1){var s=i[n];this.checkLValInnerPattern(s,cf,t?null:r)}};be.parseExprList=function(e,t,r,n){for(var i=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(x.comma),t&&this.afterTrailingComma(e))break;var a=void 0;r&&this.type===x.comma?a=null:this.type===x.ellipsis?(a=this.parseSpread(n),n&&this.type===x.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):a=this.parseMaybeAssign(!1,n),i.push(a)}return i};be.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&n==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&n==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(n==="arguments"||n==="await")&&this.raise(t,"Cannot use "+n+" in class static initialization block"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var i=this.strict?this.reservedWordsStrict:this.reservedWords;i.test(n)&&(!this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))}};be.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};be.parseIdentNode=function(){var e=this.startNode();return this.type===x.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=x.name):this.unexpected(),e};be.parsePrivateIdent=function(){var e=this.startNode();return this.type===x.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};be.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===x.semi||this.canInsertSemicolon()||this.type!==x.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(x.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};be.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Xa=ot.prototype;Xa.raise=function(e,t){var r=Kv(this.input,e);t+=" ("+r.line+":"+r.column+")";var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n};Xa.raiseRecoverable=Xa.raise;Xa.curPosition=function(){if(this.options.locations)return new Wi(this.curLine,this.pos-this.lineStart)};var un=ot.prototype,w8=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};un.enterScope=function(e){this.scopeStack.push(new w8(e))};un.exitScope=function(){this.scopeStack.pop()};un.treatFunctionsAsVarInScope=function(e){return e.flags&oi||!this.inModule&&e.flags&Yi};un.declareName=function(e,t,r){var n=!1;if(t===Hr){var i=this.currentScope();n=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&Yi&&delete this.undefinedExports[e]}else if(t===ty){var s=this.currentScope();s.lexical.push(e)}else if(t===ey){var a=this.currentScope();this.treatFunctionsAsVar?n=a.lexical.indexOf(e)>-1:n=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var o=this.scopeStack[u];if(o.lexical.indexOf(e)>-1&&!(o.flags&Zv&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(e)>-1){n=!0;break}if(o.var.push(e),this.inModule&&o.flags&Yi&&delete this.undefinedExports[e],o.flags&lf)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};un.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};un.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};un.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&lf)return t}};un.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&lf&&!(t.flags&Xv))return t}};var to=function(t,r,n){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Ja(t,n)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Xi=ot.prototype;Xi.startNode=function(){return new to(this,this.start,this.startLoc)};Xi.startNodeAt=function(e,t){return new to(this,e,t)};function sy(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}Xi.finishNode=function(e,t){return sy.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Xi.finishNodeAt=function(e,t,r,n){return sy.call(this,e,t,r,n)};Xi.copyNode=function(e){var t=new to(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var ay="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",oy=ay+" Extended_Pictographic",ly=oy,uy=ly+" EBase EComp EMod EPres ExtPict",cy=uy,k8=cy,$8={9:ay,10:oy,11:ly,12:uy,13:cy,14:k8},C8="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",S8={9:"",10:"",11:"",12:"",13:"",14:C8},Vv="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",dy="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",py=dy+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",hy=py+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",fy=hy+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",my=fy+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",E8=my+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz",R8={9:dy,10:py,11:hy,12:fy,13:my,14:E8},_y={};function P8(e){var t=_y[e]={binary:on($8[e]+" "+Vv),binaryOfStrings:on(S8[e]),nonBinary:{General_Category:on(Vv),Script:on(R8[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(Ya=0,Jh=[9,10,11,12,13,14];Ya<Jh.length;Ya+=1)Hv=Jh[Ya],P8(Hv);var Hv,Ya,Jh,se=ot.prototype,Za=function(t,r){this.parent=t,this.base=r||this};Za.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var n=t;n;n=n.parent)if(r.base===n.base&&r!==n)return!0;return!1};Za.prototype.sibling=function(){return new Za(this.parent,this.base)};var Rr=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=_y[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};Rr.prototype.reset=function(t,r,n){var i=n.indexOf("v")!==-1,s=n.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=n,i&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=s&&this.parser.options.ecmaVersion>=9)};Rr.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Rr.prototype.at=function(t,r){r===void 0&&(r=!1);var n=this.source,i=n.length;if(t>=i)return-1;var s=n.charCodeAt(t);if(!(r||this.switchU)||s<=55295||s>=57344||t+1>=i)return s;var a=n.charCodeAt(t+1);return a>=56320&&a<=57343?(s<<10)+a-56613888:s};Rr.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var n=this.source,i=n.length;if(t>=i)return i;var s=n.charCodeAt(t),a;return!(r||this.switchU)||s<=55295||s>=57344||t+1>=i||(a=n.charCodeAt(t+1))<56320||a>57343?t+1:t+2};Rr.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Rr.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Rr.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Rr.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};Rr.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var n=this.pos,i=0,s=t;i<s.length;i+=1){var a=s[i],u=this.at(n,r);if(u===-1||u!==a)return!1;n=this.nextIndex(n,r)}return this.pos=n,!0};se.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=!1,i=!1,s=0;s<r.length;s++){var a=r.charAt(s);t.indexOf(a)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(a,s+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),a==="u"&&(n=!0),a==="v"&&(i=!0)}this.options.ecmaVersion>=15&&n&&i&&this.raise(e.start,"Invalid regular expression flag")};function A8(e){for(var t in e)return!0;return!1}se.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&A8(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};se.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];e.groupNames[n]||e.raise("Invalid named capture referenced")}};se.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Za(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};se.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};se.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};se.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};se.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};se.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};se.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};se.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};se.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};se.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1};se.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};se.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};se.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};se.regexp_eatSyntaxCharacter=function(e){var t=e.current();return gy(t)?(e.lastIntValue=t,e.advance(),!0):!1};function gy(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}se.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!gy(r);)e.advance();return e.pos!==t};se.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};se.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var n=0,i=r;n<i.length;n+=1){var s=i[n];s.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}};se.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};se.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ln(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ln(e.lastIntValue);return!0}return!1};se.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),q8(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};function q8(e){return Pt(e,!0)||e===36||e===95}se.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),T8(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};function T8(e){return Sr(e,!0)||e===36||e===95||e===8204||e===8205}se.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};se.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};se.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};se.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};se.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};se.regexp_eatZero=function(e){return e.current()===48&&!ro(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};se.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};se.regexp_eatControlLetter=function(e){var t=e.current();return vy(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function vy(e){return e>=65&&e<=90||e>=97&&e<=122}se.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(n&&i>=55296&&i<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=(i-55296)*1024+(a-56320)+65536,!0}e.pos=s,e.lastIntValue=i}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&L8(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function L8(e){return e>=0&&e<=1114111}se.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};se.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var yy=0,Vr=1,nr=2;se.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(M8(t))return e.lastIntValue=-1,e.advance(),Vr;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var n;if(e.eat(123)&&(n=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&n===nr&&e.raise("Invalid property name"),n;e.raise("Invalid property name")}return yy};function M8(e){return e===100||e===68||e===115||e===83||e===119||e===87}se.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),Vr}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return yy};se.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Ki(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};se.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return Vr;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return nr;e.raise("Invalid property name")};se.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";by(t=e.current());)e.lastStringValue+=ln(t),e.advance();return e.lastStringValue!==""};function by(e){return vy(e)||e===95}se.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";I8(t=e.current());)e.lastStringValue+=ln(t),e.advance();return e.lastStringValue!==""};function I8(e){return by(e)||ro(e)}se.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};se.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===nr&&e.raise("Negated character class may contain strings"),!0}return!1};se.regexp_classContents=function(e){return e.current()===93?Vr:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),Vr)};se.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};se.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||ky(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,e.advance(),!0):!1};se.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};se.regexp_classSetExpression=function(e){var t=Vr,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===nr&&(t=nr);for(var n=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==nr&&(t=Vr);continue}e.raise("Invalid character in character class")}if(n!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(n!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===nr&&(t=nr)}};se.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;return r!==-1&&n!==-1&&r>n&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};se.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?Vr:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};se.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),n=this.regexp_classContents(e);if(e.eat(93))return r&&n===nr&&e.raise("Negated character class may contain strings"),n;e.pos=t}if(e.eat(92)){var i=this.regexp_eatCharacterClassEscape(e);if(i)return i;e.pos=t}return null};se.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null};se.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===nr&&(t=nr);return t};se.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?Vr:nr};se.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&O8(r)||N8(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function O8(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function N8(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}se.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return D8(t)?(e.lastIntValue=t,e.advance(),!0):!1};function D8(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}se.regexp_eatClassControlLetter=function(e){var t=e.current();return ro(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};se.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};se.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;ro(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function ro(e){return e>=48&&e<=57}se.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;xy(r=e.current());)e.lastIntValue=16*e.lastIntValue+wy(r),e.advance();return e.pos!==t};function xy(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function wy(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}se.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};se.regexp_eatOctalDigit=function(e){var t=e.current();return ky(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function ky(e){return e>=48&&e<=55}se.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var i=e.current();if(!xy(i))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+wy(i),e.advance()}return!0};var pf=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Ja(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},Pe=ot.prototype;Pe.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new pf(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};Pe.getToken=function(){return this.next(),new pf(this)};typeof Symbol<"u"&&(Pe[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===x.eof,value:t}}}});Pe.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(x.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};Pe.readToken=function(e){return Pt(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};Pe.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};Pe.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n=void 0,i=t;(n=Gv(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};Pe.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!ai(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())};Pe.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Wv.test(String.fromCharCode(e)))++this.pos;else break e}}};Pe.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};Pe.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(x.ellipsis)):(++this.pos,this.finishToken(x.dot))};Pe.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(x.assign,2):this.finishOp(x.slash,1)};Pe.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=e===42?x.star:x.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,n=x.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(x.assign,r+1):this.finishOp(n,r)};Pe.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(x.assign,3)}return this.finishOp(e===124?x.logicalOR:x.logicalAND,2)}return t===61?this.finishOp(x.assign,2):this.finishOp(e===124?x.bitwiseOR:x.bitwiseAND,1)};Pe.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(x.assign,2):this.finishOp(x.bitwiseXOR,1)};Pe.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||ir.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(x.incDec,2):t===61?this.finishOp(x.assign,2):this.finishOp(x.plusMin,1)};Pe.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(x.assign,r+1):this.finishOp(x.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(x.relational,r))};Pe.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(x.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(x.arrow)):this.finishOp(e===61?x.eq:x.prefix,1)};Pe.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(x.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(x.assign,3)}return this.finishOp(x.coalesce,2)}}return this.finishOp(x.question,1)};Pe.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Pt(t,!0)||t===92))return this.finishToken(x.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+ln(t)+"'")};Pe.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(x.parenL);case 41:return++this.pos,this.finishToken(x.parenR);case 59:return++this.pos,this.finishToken(x.semi);case 44:return++this.pos,this.finishToken(x.comma);case 91:return++this.pos,this.finishToken(x.bracketL);case 93:return++this.pos,this.finishToken(x.bracketR);case 123:return++this.pos,this.finishToken(x.braceL);case 125:return++this.pos,this.finishToken(x.braceR);case 58:return++this.pos,this.finishToken(x.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(x.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(x.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+ln(e)+"'")};Pe.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};Pe.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(ir.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var u=this.regexpState||(this.regexpState=new Rr(this));u.reset(r,i,a),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var o=null;try{o=new RegExp(i,a)}catch{}return this.finishToken(x.regexp,{pattern:i,flags:a,value:o})};Pe.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===void 0,i=r&&this.input.charCodeAt(this.pos)===48,s=this.pos,a=0,u=0,o=0,c=t??1/0;o<c;++o,++this.pos){var d=this.input.charCodeAt(this.pos),p=void 0;if(n&&d===95){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),u===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),o===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),u=d;continue}if(d>=97?p=d-97+10:d>=65?p=d-65+10:d>=48&&d<=57?p=d-48:p=1/0,p>=e)break;u=d,a=a*e+p}return n&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||t!=null&&this.pos-s!==t?null:a};function B8(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function $y(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}Pe.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=$y(this.input.slice(t,this.pos)),++this.pos):Pt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(x.num,r)};Pe.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var i=$y(this.input.slice(t,this.pos));return++this.pos,Pt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(x.num,i)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),n===46&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.pos),(n===43||n===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Pt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=B8(this.input.slice(t,this.pos),r);return this.finishToken(x.num,s)};Pe.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};Pe.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):n===8232||n===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(ai(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(x.string,t)};var Cy={};Pe.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Cy)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};Pe.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Cy;this.raise(e,t)};Pe.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===x.template||this.type===x.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(x.dollarBraceL)):(++this.pos,this.finishToken(x.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(x.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(ai(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
|
|
`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};Pe.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(x.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
`&&++this.pos;case`
|
|
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};Pe.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
|
|
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ln(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(n,8);return i>255&&(n=n.slice(0,-1),i=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(n!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return ai(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};Pe.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};Pe.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(Sr(i,n))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var s=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(t?Pt:Sr)(a,n)||this.invalidStringToken(s,"Invalid Unicode escape"),e+=ln(a),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};Pe.readWord=function(){var e=this.readWord1(),t=x.name;return this.keywords.test(e)&&(t=sf[e]),this.finishToken(t,e)};var F8="8.12.1";ot.acorn={Parser:ot,version:F8,defaultOptions:tf,Position:Wi,SourceLocation:Ja,getLineInfo:Kv,Node:to,TokenType:Me,tokTypes:x,keywordTypes:sf,TokContext:fr,tokContexts:Xe,isIdentifierChar:Sr,isIdentifierStart:Pt,Token:pf,isNewLine:ai,lineBreak:ir,lineBreakG:d8,nonASCIIwhitespace:Wv};function hf(e,t){return ot.parse(e,t)}function no(e,t,r){return ot.parseExpressionAt(e,t,r)}l();l();l();l();function $n(e,t=[]){for(let r=0;r<e.length;r+=1){let n=e[r];Array.isArray(n)?$n(n,t):t.push(n)}return t}l();var Bt=/\s/,Sy=/\s+/,ui=/^\s/,Ey=/^[ \t\r\n]*/,ff=/\s$/,Ry=/[ \t\r\n]*$/,io=/^[ \t\n\r\f]+$/,Py=/\s/g,ci=/\S/,cn=/^\r?\n/,so=/[^\n]/g,ao=/"/g,Ay=/\\/g,qy=/^_/,Ty=/_$/;var di=/^(?:offset|client)(?:Width|Height)$/,Ly=/^(?:contentRect)$/,My=/^(?:contentBoxSize)$/,Iy=/^(?:borderBoxSize)$/,Oy=/^(?:devicePixelContentBoxSize)$/,pi=/^(?:contentRect|contentBoxSize|borderBoxSize|devicePixelContentBoxSize)$/;var V8=/^\s*svelte-ignore\s+([\s\S]+)\s*$/m;function mf(e){let t=V8.exec(e);return t?t[1].split(Bt).map(r=>r.trim()).filter(Boolean):[]}function _f(e){return $n((e.leadingComments||[]).map(t=>mf(t.value)))}function Zi(e,t){let r=t.findIndex(n=>n.end===e);if(r===-1)return[];for(let n=r;n>=0;n--){let i=t[n];if(i.type!=="Comment"&&i.type!=="Text")return[];if(i.type==="Comment"&&i.ignores.length)return i.ignores}return[]}function Ny(e){let t=e.prev;for(;t;){if(t.type!=="Comment"&&t.type!=="Text")return[];if(t.type==="Comment"&&t.ignores.length)return t.ignores;t=t.prev}return[]}l();function qt(e,t){let n=new yf(t).get(e);return n&&n[0]&&n[0][0]>.7?n[0][1]:null}var gf=2,vf=3;function H8(e,t){if(e===null&&t===null)throw"Trying to compare two null values";return e===null||t===null?0:(e=String(e),t=String(t),1-U8(e,t)/Math.max(e.length,t.length))}function U8(e,t){let r=[],n,i;for(let s=0;s<=t.length;s++)for(let a=0;a<=e.length;a++)s&&a?e.charAt(a-1)===t.charAt(s-1)?i=n:i=Math.min(r[a],r[a-1],n)+1:i=s+a,n=r[a],r[a]=i;return r.pop()}var z8=/[^\w, ]+/;function G8(e,t=2){let r="-"+e.toLowerCase().replace(z8,"")+"-",n=t-r.length,i=[];if(n>0)for(let s=0;s<n;++s)e+="-";for(let s=0;s<r.length-t+1;++s)i.push(r.slice(s,s+t));return i}function Dy(e,t=2){let r={},n=G8(e,t),i=0;for(i;i<n.length;++i)n[i]in r?r[n[i]]+=1:r[n[i]]=1;return r}function By(e,t){return t[0]-e[0]}var yf=class{constructor(t){g(this,"exact_set",{});g(this,"match_dict",{});g(this,"items",{});for(let r=gf;r<vf+1;++r)this.items[r]=[];for(let r=0;r<t.length;++r)this.add(t[r])}add(t){if(t.toLowerCase()in this.exact_set)return!1;let n=gf;for(n;n<vf+1;++n)this._add(t,n)}_add(t,r){let n=t.toLowerCase(),i=this.items[r]||[],s=i.length;i.push(0);let a=Dy(n,r),u=0,o,c;for(o in a)c=a[o],u+=Math.pow(c,2),o in this.match_dict?this.match_dict[o].push([s,c]):this.match_dict[o]=[[s,c]];let d=Math.sqrt(u);i[s]=[d,n],this.items[r]=i,this.exact_set[n]=t}get(t){let r=t.toLowerCase(),n=this.exact_set[r];if(n)return[[1,n]];let i=[];for(let s=vf;s>=gf;--s)if(i=this.__get(t,s),i)return i;return null}__get(t,r){let n=t.toLowerCase(),i={},s=Dy(n,r),a=this.items[r],u=0,o,c,d,p,f;for(o in s)if(c=s[o],u+=Math.pow(c,2),o in this.match_dict)for(d=0;d<this.match_dict[o].length;++d)p=this.match_dict[o][d][0],f=this.match_dict[o][d][1],p in i?i[p]+=c*f:i[p]=c*f;let m=Math.sqrt(u),y=[],w;for(let C in i)w=i[C],y.push([w/(m*a[C][0]),a[C][1]]);y.sort(By);let b=[],$=Math.min(50,y.length);for(let C=0;C<$;++C)b.push([H8(y[C][1],n),y[C][1]]);y=b,y.sort(By),b=[];for(let C=0;C<y.length;++C)y[C][0]==y[0][0]&&b.push([y[C][0],this.exact_set[y[C][1]]]);return b}};l();var W8=/^(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/,Y8=/^(?:a|abbr|address|area|article|aside|audio|b|base|bdi|bdo|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|data|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|head|header|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|main|map|mark|meta|meter|nav|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|rp|rt|ruby|s|samp|script|section|select|small|source|span|strong|style|sub|summary|sup|table|tbody|td|template|textarea|tfoot|th|thead|time|title|tr|track|u|ul|var|video|wbr)$/,K8=/^(?:altGlyph|altGlyphDef|altGlyphItem|animate|animateColor|animateMotion|animateTransform|circle|clipPath|color-profile|cursor|defs|desc|discard|ellipse|feBlend|feColorMatrix|feComponentTransfer|feComposite|feConvolveMatrix|feDiffuseLighting|feDisplacementMap|feDistantLight|feDropShadow|feFlood|feFuncA|feFuncB|feFuncG|feFuncR|feGaussianBlur|feImage|feMerge|feMergeNode|feMorphology|feOffset|fePointLight|feSpecularLighting|feSpotLight|feTile|feTurbulence|filter|font|font-face|font-face-format|font-face-name|font-face-src|font-face-uri|foreignObject|g|glyph|glyphRef|hatch|hatchpath|hkern|image|line|linearGradient|marker|mask|mesh|meshgradient|meshpatch|meshrow|metadata|missing-glyph|mpath|path|pattern|polygon|polyline|radialGradient|rect|set|solidcolor|stop|svg|switch|symbol|text|textPath|tref|tspan|unknown|use|view|vkern)$/;function Ur(e){return W8.test(e)||e.toLowerCase()==="!doctype"}function Fy(e){return Y8.test(e)}function Ji(e){return K8.test(e)}l();l();function mr(e,t="or"){return e.length===1?e[0]:`${e.slice(0,-1).join(", ")} ${t} ${e[e.length-1]}`}var ie={css_syntax_error:e=>({code:"css-syntax-error",message:e}),duplicate_attribute:{code:"duplicate-attribute",message:"Attributes need to be unique"},duplicate_element:(e,t)=>({code:`duplicate-${e}`,message:`A component can only have one <${t}> tag`}),duplicate_style:{code:"duplicate-style",message:"You can only have one top-level <style> tag per component"},empty_attribute_shorthand:{code:"empty-attribute-shorthand",message:"Attribute shorthand cannot be empty"},empty_directive_name:e=>({code:"empty-directive-name",message:`${e} name cannot be empty`}),empty_global_selector:{code:"css-syntax-error",message:":global() must contain a selector"},expected_block_type:{code:"expected-block-type",message:"Expected if, each or await"},expected_name:{code:"expected-name",message:"Expected name"},invalid_catch_placement_unclosed_block:e=>({code:"invalid-catch-placement",message:`Expected to close ${e} before seeing {:catch} block`}),invalid_catch_placement_without_await:{code:"invalid-catch-placement",message:"Cannot have an {:catch} block outside an {#await ...} block"},invalid_component_definition:{code:"invalid-component-definition",message:"invalid component definition"},invalid_closing_tag_unopened:e=>({code:"invalid-closing-tag",message:`</${e}> attempted to close an element that was not open`}),invalid_closing_tag_autoclosed:(e,t)=>({code:"invalid-closing-tag",message:`</${e}> attempted to close <${e}> that was already automatically closed by <${t}>`}),invalid_debug_args:{code:"invalid-debug-args",message:"{@debug ...} arguments must be identifiers, not arbitrary expressions"},invalid_declaration:{code:"invalid-declaration",message:"Declaration cannot be empty"},invalid_directive_value:{code:"invalid-directive-value",message:"Directive value must be a JavaScript expression enclosed in curly braces"},invalid_elseif:{code:"invalid-elseif",message:"'elseif' should be 'else if'"},invalid_elseif_placement_outside_if:{code:"invalid-elseif-placement",message:"Cannot have an {:else if ...} block outside an {#if ...} block"},invalid_elseif_placement_unclosed_block:e=>({code:"invalid-elseif-placement",message:`Expected to close ${e} before seeing {:else if ...} block`}),invalid_else_placement_outside_if:{code:"invalid-else-placement",message:"Cannot have an {:else} block outside an {#if ...} or {#each ...} block"},invalid_else_placement_unclosed_block:e=>({code:"invalid-else-placement",message:`Expected to close ${e} before seeing {:else} block`}),invalid_element_content:(e,t)=>({code:`invalid-${e}-content`,message:`<${t}> cannot have children`}),invalid_element_definition:{code:"invalid-element-definition",message:"Invalid element definition"},invalid_element_placement:(e,t)=>({code:`invalid-${e}-placement`,message:`<${t}> tags cannot be inside elements or blocks`}),invalid_logic_block_placement:(e,t)=>({code:"invalid-logic-block-placement",message:`{#${t}} logic block cannot be ${e}`}),invalid_tag_placement:(e,t)=>({code:"invalid-tag-placement",message:`{@${t}} tag cannot be ${e}`}),invalid_ref_directive:e=>({code:"invalid-ref-directive",message:`The ref directive is no longer supported \u2014 use \`bind:this={${e}}\` instead`}),invalid_ref_selector:{code:"invalid-ref-selector",message:"ref selectors are no longer supported"},invalid_self_placement:{code:"invalid-self-placement",message:"<svelte:self> components can only exist inside {#if} blocks, {#each} blocks, or slots passed to components"},invalid_script_instance:{code:"invalid-script",message:"A component can only have one instance-level <script> element"},invalid_script_module:{code:"invalid-script",message:'A component can only have one <script context="module"> element'},invalid_script_context_attribute:{code:"invalid-script",message:"context attribute must be static"},invalid_script_context_value:{code:"invalid-script",message:'If the context attribute is supplied, its value must be "module"'},invalid_tag_name:{code:"invalid-tag-name",message:"Expected valid tag name"},invalid_tag_name_svelte_element:(e,t)=>({code:"invalid-tag-name",message:`Valid <svelte:...> tag names are ${mr(e)}${t?" (did you mean "+t+"?)":""}`}),invalid_then_placement_unclosed_block:e=>({code:"invalid-then-placement",message:`Expected to close ${e} before seeing {:then} block`}),invalid_then_placement_without_await:{code:"invalid-then-placement",message:"Cannot have an {:then} block outside an {#await ...} block"},invalid_void_content:e=>({code:"invalid-void-content",message:`<${e}> is a void element and cannot have children, or a closing tag`}),missing_component_definition:{code:"missing-component-definition",message:"<svelte:component> must have a 'this' attribute"},missing_attribute_value:{code:"missing-attribute-value",message:"Expected value for the attribute"},missing_element_definition:{code:"missing-element-definition",message:"<svelte:element> must have a 'this' attribute"},unclosed_script:{code:"unclosed-script",message:"<script> must have a closing tag"},unclosed_style:{code:"unclosed-style",message:"<style> must have a closing tag"},unclosed_comment:{code:"unclosed-comment",message:"comment was left open, expected -->"},unclosed_attribute_value:e=>({code:"unclosed-attribute-value",message:`Expected to close the attribute value with ${e}`}),unexpected_block_close:{code:"unexpected-block-close",message:"Unexpected block closing tag"},unexpected_eof:{code:"unexpected-eof",message:"Unexpected end of input"},unexpected_eof_token:e=>({code:"unexpected-eof",message:`Unexpected ${e}`}),unexpected_token:e=>({code:"unexpected-token",message:`Expected ${e}`}),unexpected_token_destructure:{code:"unexpected-token",message:"Expected identifier or destructure pattern"}};l();l();l();l();l();l();var es=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:t=>this.replacement=t}}replace(t,r,n,i){t&&r&&(n!=null?t[r][n]=i:t[r]=i)}remove(t,r,n){t&&r&&(n!=null?t[r].splice(n,1):delete t[r])}};var oo=class extends es{constructor(t,r){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:n=>this.replacement=n},this.enter=t,this.leave=r}visit(t,r,n,i){if(t){if(this.enter){let a=this.should_skip,u=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,t,r,n,i),this.replacement&&(t=this.replacement,this.replace(r,n,i,t)),this.should_remove&&this.remove(r,n,i);let c=this.should_skip,d=this.should_remove;if(this.should_skip=a,this.should_remove=u,this.replacement=o,c)return t;if(d)return null}let s;for(s in t){let a=t[s];if(a&&typeof a=="object")if(Array.isArray(a)){let u=a;for(let o=0;o<u.length;o+=1){let c=u[o];jy(c)&&(this.visit(c,t,s,o)||o--)}}else jy(a)&&this.visit(a,t,s,null)}if(this.leave){let a=this.replacement,u=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,t,r,n,i),this.replacement&&(t=this.replacement,this.replace(r,n,i,t)),this.should_remove&&this.remove(r,n,i);let o=this.should_remove;if(this.replacement=a,this.should_remove=u,o)return null}}return t}};function jy(e){return e!==null&&typeof e=="object"&&"type"in e&&typeof e.type=="string"}l();function we(e,{enter:t,leave:r}){return new oo(t,r).visit(e,null)}l();var lo=Math.round(Math.random()*1e20).toString(36),Ft=new RegExp(`_${lo}_(?:(\\d+)|(AT)|(HASH))_(\\w+)?`,"g");l();var ts=(e,t)=>({onComment:(r,n,i,s)=>{if(r&&/\n/.test(n)){let a=i;for(;a>0&&t[a-1]!==`
|
|
`;)a-=1;let u=a;for(;/[ \t]/.test(t[u]);)u+=1;let o=t.slice(a,u);n=n.replace(new RegExp(`^${o}`,"gm"),"")}e.push({type:r?"Block":"Line",value:n,start:i,end:s})},enter(r){let n;for(;e[0]&&e[0].start<r.start;){n=e.shift(),n.value=n.value.replace(Ft,(s,a,u,o,c)=>o?`#${c}`:u?`@${c}`:s);let i=e[0]||r;n.has_trailing_newline=n.type==="Line"||/\n/.test(t.slice(n.end,i.start)),(r.leadingComments||(r.leadingComments=[])).push(n)}},leave(r){if(e[0]){let n=t.slice(r.end,e[0].start);/^[,) \t]*$/.test(n)&&(r.trailingComments=[e.shift()])}}});l();l();l();function pt(e,t){if(e.type==="MemberExpression")return!e.computed&&pt(e.object,e);if(e.type==="Identifier"){if(!t)return!0;switch(t.type){case"MemberExpression":return t.computed||e===t.object;case"MethodDefinition":return t.computed;case"PropertyDefinition":return t.computed||e===t.value;case"Property":return t.computed||e===t.value;case"ExportSpecifier":case"ImportSpecifier":return e===t.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return!1;default:return!0}}return!1}function uo(e){let t=new WeakMap,r=new Map,n=new zr(null,!1),i=[],s=n;we(e,{enter(a,u){switch(a.type){case"Identifier":u&&pt(a,u)&&i.push([s,a]);break;case"ImportDeclaration":a.specifiers.forEach(o=>{s.declarations.set(o.local.name,o)});break;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":a.type==="FunctionDeclaration"?(a.id&&s.declarations.set(a.id.name,a),t.set(a,s=new zr(s,!1))):(t.set(a,s=new zr(s,!1)),a.type==="FunctionExpression"&&a.id&&s.declarations.set(a.id.name,a)),a.params.forEach(o=>{Ye(o).forEach(c=>{s.declarations.set(c,a)})});break;case"ForStatement":case"ForInStatement":case"ForOfStatement":t.set(a,s=new zr(s,!0));break;case"BlockStatement":t.set(a,s=new zr(s,!0));break;case"ClassDeclaration":case"VariableDeclaration":s.add_declaration(a);break;case"CatchClause":t.set(a,s=new zr(s,!0)),a.param&&Ye(a.param).forEach(o=>{a.param&&s.declarations.set(o,a.param)});break}},leave(a){t.has(a)&&s!==null&&s.parent&&(s=s.parent)}});for(let a=i.length-1;a>=0;--a){let[u,o]=i[a];u.references.has(o.name)||Vy(u,o.name),u.find_owner(o.name)||r.set(o.name,o)}return{map:t,scope:n,globals:r}}function Vy(e,t){e.references.add(t),e.parent&&Vy(e.parent,t)}var zr=class{constructor(t,r){this.parent=t,this.block=r,this.declarations=new Map,this.initialised_declarations=new Set,this.references=new Set}add_declaration(t){if(t.type==="VariableDeclaration")if(t.kind==="var"&&this.block&&this.parent)this.parent.add_declaration(t);else{let r=n=>{Ye(n.id).forEach(i=>{this.declarations.set(i,t),n.init&&this.initialised_declarations.add(i)})};t.declarations.forEach(r)}else t.id&&this.declarations.set(t.id.name,t)}find_owner(t){return this.declarations.has(t)?this:this.parent&&this.parent.find_owner(t)}has(t){return this.declarations.has(t)||!!this.parent&&this.parent.has(t)}};function Ye(e){return _r(e).map(t=>t.name)}function _r(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let r=e;for(;r.type==="MemberExpression";)r=r.object;t.push(r);break;case"ObjectPattern":let n=s=>{s.type==="RestElement"?_r(s.argument,t):_r(s.value,t)};e.properties.forEach(n);break;case"ArrayPattern":let i=s=>{s&&_r(s,t)};e.elements.forEach(s=>{s&&i(s)});break;case"RestElement":_r(e.argument,t);break;case"AssignmentPattern":_r(e.left,t);break}return t}l();l();function Q(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}function N(e,t){let r=ht[e.type];if(!r)throw new Error(`Not implemented ${e.type}`);let n=r(e,t);return e.leadingComments&&n.unshift(S(e.leadingComments.map(i=>i.type==="Block"?`/*${i.value}*/${i.has_trailing_newline?`
|
|
${t.indent}`:" "}`:`//${i.value}${i.has_trailing_newline?`
|
|
${t.indent}`:" "}`).join(""))),e.trailingComments&&t.comments.push(e.trailingComments[0]),n}function S(e,t){return{content:e,loc:t&&t.loc,has_newline:/\n/.test(e)}}var co={"||":2,"&&":3,"??":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},jt={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,CallExpression:19,NewExpression:19,AwaitExpression:17,ClassExpression:17,FunctionExpression:17,ObjectExpression:17,UpdateExpression:16,UnaryExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,ArrowFunctionExpression:3,AssignmentExpression:3,YieldExpression:2,RestElement:1};function Hy(e,t,r){if(e.type==="LogicalExpression"&&t.type==="LogicalExpression"&&(t.operator==="??"&&e.operator!=="??"||t.operator!=="??"&&e.operator==="??"))return!0;let n=jt[e.type],i=jt[t.type];return n!==i?!r&&n===15&&i===14&&t.operator==="**"||n<i:n!==13&&n!==14?!1:e.operator==="**"&&t.operator==="**"?!r:r?co[e.operator]<=co[t.operator]:co[e.operator]<co[t.operator]}function X8(e){for(;e;){if(e.type[0]==="CallExpression")return!0;if(e.type==="MemberExpression")e=e.object;else return!1}}var Gr=e=>{for(let t=0;t<e.length;t+=1)if(e[t].has_newline)return!0;return!1},gr=e=>{let t=0;for(let r=0;r<e.length;r+=1)t+=e[r].content.length;return t},ns=(e,t)=>e+t,Tt=(e,t)=>{if(e.length===0)return[];let r=[...e[0]];for(let n=1;n<e.length;n+=1)r.push(t),Q(r,e[n]);return r},rs=e=>(r,n)=>e(r,{...n,scope:n.scope_map.get(r)}),Z8=(e,t)=>{let r=e,n=1;for(;t.has(e);)e=`${r}$${n++}`;return e},Uy=(e,t)=>{let r=[],n=e.map(s=>{let a=N(s,{...t,indent:t.indent}),u=!1;for(;t.comments.length;){let o=t.comments.shift(),c=u?`
|
|
${t.indent}`:" ";a.push(S(o.type==="Block"?`${c}/*${o.value}*/`:`${c}//${o.value}`)),u=o.type==="Line"}return a}),i=!1;for(let s=0;s<n.length;s+=1){let a=Gr(n[s]);s>0&&r.push(S(a||i?`
|
|
|
|
${t.indent}`:`
|
|
${t.indent}`)),Q(r,n[s]),i=a}return r},bf=(e,t)=>{let r=[S(`${e.kind} `)],n=e.declarations.map(a=>N(a,{...t,indent:t.indent+(e.declarations.length===1?"":" ")})),i=n.some(Gr)||n.map(gr).reduce(ns,0)+(t.indent.length+n.length-1)*2>80,s=S(i?`,
|
|
${t.indent} `:", ");return Q(r,Tt(n,s)),r},ht={Program(e,t){return Uy(e.body,t)},BlockStatement:rs((e,t)=>[S(`{
|
|
${t.indent} `),...Uy(e.body,{...t,indent:t.indent+" "}),S(`
|
|
${t.indent}}`)]),EmptyStatement(e,t){return[S(";")]},ParenthesizedExpression(e,t){return N(e.expression,t)},ExpressionStatement(e,t){return e.expression.type==="AssignmentExpression"&&e.expression.left.type==="ObjectPattern"?[S("("),...N(e.expression,t),S(");")]:[...N(e.expression,t),S(";")]},IfStatement(e,t){let r=[S("if ("),...N(e.test,t),S(") "),...N(e.consequent,t)];return e.alternate&&(r.push(S(" else ")),Q(r,N(e.alternate,t))),r},LabeledStatement(e,t){return[...N(e.label,t),S(": "),...N(e.body,t)]},BreakStatement(e,t){return e.label?[S("break "),...N(e.label,t),S(";")]:[S("break;")]},ContinueStatement(e,t){return e.label?[S("continue "),...N(e.label,t),S(";")]:[S("continue;")]},WithStatement(e,t){return[S("with ("),...N(e.object,t),S(") "),...N(e.body,t)]},SwitchStatement(e,t){let r=[S("switch ("),...N(e.discriminant,t),S(") {")];return e.cases.forEach(n=>{n.test?(r.push(S(`
|
|
${t.indent} case `)),Q(r,N(n.test,{...t,indent:`${t.indent} `})),r.push(S(":"))):r.push(S(`
|
|
${t.indent} default:`)),n.consequent.forEach(i=>{r.push(S(`
|
|
${t.indent} `)),Q(r,N(i,{...t,indent:`${t.indent} `}))})}),r.push(S(`
|
|
${t.indent}}`)),r},ReturnStatement(e,t){if(e.argument){let r=e.argument.leadingComments&&e.argument.leadingComments.some(n=>n.has_trailing_newline);return[S(r?"return (":"return "),...N(e.argument,t),S(r?");":";")]}else return[S("return;")]},ThrowStatement(e,t){return[S("throw "),...N(e.argument,t),S(";")]},TryStatement(e,t){let r=[S("try "),...N(e.block,t)];return e.handler&&(e.handler.param?(r.push(S(" catch(")),Q(r,N(e.handler.param,t)),r.push(S(") "))):r.push(S(" catch ")),Q(r,N(e.handler.body,t))),e.finalizer&&(r.push(S(" finally ")),Q(r,N(e.finalizer,t))),r},WhileStatement(e,t){return[S("while ("),...N(e.test,t),S(") "),...N(e.body,t)]},DoWhileStatement(e,t){return[S("do "),...N(e.body,t),S(" while ("),...N(e.test,t),S(");")]},ForStatement:rs((e,t)=>{let r=[S("for (")];return e.init&&(e.init.type==="VariableDeclaration"?Q(r,bf(e.init,t)):Q(r,N(e.init,t))),r.push(S("; ")),e.test&&Q(r,N(e.test,t)),r.push(S("; ")),e.update&&Q(r,N(e.update,t)),r.push(S(") ")),Q(r,N(e.body,t)),r}),ForInStatement:rs((e,t)=>{let r=[S(`for ${e.await?"await ":""}(`)];return e.left.type==="VariableDeclaration"?Q(r,bf(e.left,t)):Q(r,N(e.left,t)),r.push(S(e.type==="ForInStatement"?" in ":" of ")),Q(r,N(e.right,t)),r.push(S(") ")),Q(r,N(e.body,t)),r}),DebuggerStatement(e,t){return[S("debugger",e),S(";")]},FunctionDeclaration:rs((e,t)=>{let r=[];e.async&&r.push(S("async ")),r.push(S(e.generator?"function* ":"function ")),e.id&&Q(r,N(e.id,t)),r.push(S("("));let n=e.params.map(a=>N(a,{...t,indent:t.indent+" "})),i=n.some(Gr)||n.map(gr).reduce(ns,0)+(t.indent.length+n.length-1)*2>80,s=S(i?`,
|
|
${t.indent}`:", ");return i?(r.push(S(`
|
|
${t.indent} `)),Q(r,Tt(n,s)),r.push(S(`
|
|
${t.indent}`))):Q(r,Tt(n,s)),r.push(S(") ")),Q(r,N(e.body,t)),r}),VariableDeclaration(e,t){return bf(e,t).concat(S(";"))},VariableDeclarator(e,t){return e.init?[...N(e.id,t),S(" = "),...N(e.init,t)]:N(e.id,t)},ClassDeclaration(e,t){let r=[S("class ")];return e.id&&(Q(r,N(e.id,t)),r.push(S(" "))),e.superClass&&(r.push(S("extends ")),Q(r,N(e.superClass,t)),r.push(S(" "))),Q(r,N(e.body,t)),r},ImportDeclaration(e,t){let r=[S("import ")],{length:n}=e.specifiers,i=N(e.source,t);if(n>0){let s=0;for(;s<n;){s>0&&r.push(S(", "));let a=e.specifiers[s];if(a.type==="ImportDefaultSpecifier")r.push(S(a.local.name,a)),s+=1;else if(a.type==="ImportNamespaceSpecifier")r.push(S("* as "+a.local.name,a)),s+=1;else break}if(s<n){let a=e.specifiers.slice(s).map(o=>{let c=N(o.imported,t)[0],d=N(o.local,t)[0];return c.content===d.content?[d]:[c,S(" as "),d]});gr(r)+a.map(gr).reduce(ns,0)+2*a.length+6+gr(i)>80?(r.push(S(`{
|
|
`)),Q(r,Tt(a,S(`,
|
|
`))),r.push(S(`
|
|
}`))):(r.push(S("{ ")),Q(r,Tt(a,S(", "))),r.push(S(" }")))}r.push(S(" from "))}return Q(r,i),r.push(S(";")),r},ImportExpression(e,t){return[S("import("),...N(e.source,t),S(")")]},ExportDefaultDeclaration(e,t){let r=[S("export default "),...N(e.declaration,t)];return e.declaration.type!=="FunctionDeclaration"&&r.push(S(";")),r},ExportNamedDeclaration(e,t){let r=[S("export ")];if(e.declaration)Q(r,N(e.declaration,t));else{let n=e.specifiers.map(s=>{let a=N(s.local,t)[0],u=N(s.exported,t)[0];return a.content===u.content?[a]:[a,S(" as "),u]});7+n.map(gr).reduce(ns,0)+2*n.length>80?(r.push(S(`{
|
|
`)),Q(r,Tt(n,S(`,
|
|
`))),r.push(S(`
|
|
}`))):(r.push(S("{ ")),Q(r,Tt(n,S(", "))),r.push(S(" }"))),e.source&&(r.push(S(" from ")),Q(r,N(e.source,t)))}return r.push(S(";")),r},ExportAllDeclaration(e,t){return[S("export * from "),...N(e.source,t),S(";")]},MethodDefinition(e,t){let r=[];e.static&&r.push(S("static ")),(e.kind==="get"||e.kind==="set")&&r.push(S(e.kind+" ")),e.value.async&&r.push(S("async ")),e.value.generator&&r.push(S("*")),e.computed?(r.push(S("[")),Q(r,N(e.key,t)),r.push(S("]"))):Q(r,N(e.key,t)),r.push(S("("));let{params:n}=e.value;for(let i=0;i<n.length;i+=1)Q(r,N(n[i],t)),i<n.length-1&&r.push(S(", "));return r.push(S(") ")),Q(r,N(e.value.body,t)),r},ArrowFunctionExpression:rs((e,t)=>{let r=[];if(e.async&&r.push(S("async ")),e.params.length===1&&e.params[0].type==="Identifier")Q(r,N(e.params[0],t));else{let n=e.params.map(i=>N(i,{...t,indent:t.indent+" "}));r.push(S("(")),Q(r,Tt(n,S(", "))),r.push(S(")"))}return r.push(S(" => ")),e.body.type==="ObjectExpression"||e.body.type==="AssignmentExpression"&&e.body.left.type==="ObjectPattern"?(r.push(S("(")),Q(r,N(e.body,t)),r.push(S(")"))):Q(r,N(e.body,t)),r}),ThisExpression(e,t){return[S("this",e)]},Super(e,t){return[S("super",e)]},RestElement(e,t){return[S("..."),...N(e.argument,t)]},YieldExpression(e,t){return e.argument?[S(e.delegate?"yield* ":"yield "),...N(e.argument,t)]:[S(e.delegate?"yield*":"yield")]},AwaitExpression(e,t){if(e.argument){let r=jt[e.argument.type];return r&&r<jt.AwaitExpression?[S("await ("),...N(e.argument,t),S(")")]:[S("await "),...N(e.argument,t)]}return[S("await")]},TemplateLiteral(e,t){let r=[S("`")],{quasis:n,expressions:i}=e;for(let s=0;s<i.length;s++)r.push(S(n[s].value.raw),S("${")),Q(r,N(i[s],t)),r.push(S("}"));return r.push(S(n[n.length-1].value.raw),S("`")),r},TaggedTemplateExpression(e,t){return N(e.tag,t).concat(N(e.quasi,t))},ArrayExpression(e,t){let r=[S("[")],n=[],i=[];for(let a=0;a<e.elements.length;a+=1){let u=e.elements[a];u?(n.push([...i,...N(u,{...t,indent:t.indent+" "})]),i=[]):i.push(S(","))}return n.some(Gr)||n.map(gr).reduce(ns,0)+(t.indent.length+n.length-1)*2>80?(r.push(S(`
|
|
${t.indent} `)),Q(r,Tt(n,S(`,
|
|
${t.indent} `))),r.push(S(`
|
|
${t.indent}`)),Q(r,i)):(Q(r,Tt(n,S(", "))),Q(r,i)),r.push(S("]")),r},ObjectExpression(e,t){if(e.properties.length===0)return[S("{}")];let r=!1,n=[],i=S(", ");e.properties.forEach((a,u)=>{if(Q(n,N(a,{...t,indent:t.indent+" "})),t.comments.length)for(n.push(S(", "));t.comments.length;){let o=t.comments.shift();n.push(S(o.type==="Block"?`/*${o.value}*/
|
|
${t.indent} `:`//${o.value}
|
|
${t.indent} `)),o.type==="Line"&&(r=!0)}else u<e.properties.length-1&&n.push(i)});let s=r||Gr(n)||gr(n)>40;return s&&(i.content=`,
|
|
${t.indent} `),[S(s?`{
|
|
${t.indent} `:"{ "),...n,S(s?`
|
|
${t.indent}}`:" }")]},Property(e,t){let r=N(e.value,t);if(e.key===e.value||!e.computed&&e.value.type==="AssignmentPattern"&&e.value.left.type==="Identifier"&&e.value.left.name===e.key.name||!e.computed&&e.value.type==="Identifier"&&(e.key.type==="Identifier"&&e.key.name===r[0].content||e.key.type==="Literal"&&e.key.value===r[0].content))return r;let n=N(e.key,t);if(e.value.type==="FunctionExpression"&&!e.value.id){t={...t,scope:t.scope_map.get(e.value)};let i=e.kind!=="init"?[S(`${e.kind} `)]:[];return e.value.async&&i.push(S("async ")),e.value.generator&&i.push(S("*")),Q(i,e.computed?[S("["),...n,S("]")]:n),i.push(S("(")),Q(i,Tt(e.value.params.map(s=>N(s,t)),S(", "))),i.push(S(") ")),Q(i,N(e.value.body,t)),i}return e.computed?[S("["),...n,S("]: "),...r]:[...n,S(": "),...r]},ObjectPattern(e,t){let r=[S("{ ")];for(let n=0;n<e.properties.length;n+=1)Q(r,N(e.properties[n],t)),n<e.properties.length-1&&r.push(S(", "));return r.push(S(" }")),r},SequenceExpression(e,t){let r=e.expressions.map(n=>N(n,t));return[S("("),...Tt(r,S(", ")),S(")")]},UnaryExpression(e,t){let r=[S(e.operator)];return e.operator.length>1&&r.push(S(" ")),jt[e.argument.type]<jt.UnaryExpression?(r.push(S("(")),Q(r,N(e.argument,t)),r.push(S(")"))):Q(r,N(e.argument,t)),r},UpdateExpression(e,t){return e.prefix?[S(e.operator),...N(e.argument,t)]:[...N(e.argument,t),S(e.operator)]},AssignmentExpression(e,t){return[...N(e.left,t),S(` ${e.operator||"="} `),...N(e.right,t)]},BinaryExpression(e,t){let r=[];return Hy(e.left,e,!1)?(r.push(S("(")),Q(r,N(e.left,t)),r.push(S(")"))):Q(r,N(e.left,t)),r.push(S(` ${e.operator} `)),Hy(e.right,e,!0)?(r.push(S("(")),Q(r,N(e.right,t)),r.push(S(")"))):Q(r,N(e.right,t)),r},ConditionalExpression(e,t){let r=[];jt[e.test.type]>jt.ConditionalExpression?Q(r,N(e.test,t)):(r.push(S("(")),Q(r,N(e.test,t)),r.push(S(")")));let n={...t,indent:t.indent+" "},i=N(e.consequent,n),s=N(e.alternate,n);return Gr(i)||Gr(s)||gr(r)+gr(i)+gr(s)>50?(r.push(S(`
|
|
${t.indent}? `)),Q(r,i),r.push(S(`
|
|
${t.indent}: `)),Q(r,s)):(r.push(S(" ? ")),Q(r,i),r.push(S(" : ")),Q(r,s)),r},NewExpression(e,t){let r=[S("new ")];jt[e.callee.type]<jt.CallExpression||X8(e.callee)?(r.push(S("(")),Q(r,N(e.callee,t)),r.push(S(")"))):Q(r,N(e.callee,t));let n=e.arguments.map(s=>N(s,{...t,indent:t.indent+" "})),i=n.some(Gr)?S(`,
|
|
`+t.indent):S(", ");return r.push(S("(")),Q(r,Tt(n,i)),r.push(S(")")),r},ChainExpression(e,t){return N(e.expression,t)},CallExpression(e,t){let r=[];jt[e.callee.type]<jt.CallExpression?(r.push(S("(")),Q(r,N(e.callee,t)),r.push(S(")"))):Q(r,N(e.callee,t)),e.optional&&r.push(S("?."));let n=!1,i=[];e:for(let a of e.arguments){let u=[];for(;t.comments.length;){let o=t.comments.shift();if(o.type==="Line"){n=!0;break e}u.push(S(o.type==="Block"?`/*${o.value}*/ `:`//${o.value}`))}Q(u,N(a,t)),i.push(u)}if(n||i.slice(0,-1).some(Gr)){let a=e.arguments.map((u,o)=>{let c=N(u,{...t,indent:`${t.indent} `});for(o<e.arguments.length-1&&c.push(S(","));t.comments.length;){let d=t.comments.shift();c.push(S(d.type==="Block"?` /*${d.value}*/ `:` //${d.value}`))}return c});r.push(S(`(
|
|
${t.indent} `)),Q(r,Tt(a,S(`
|
|
${t.indent} `))),r.push(S(`
|
|
${t.indent})`))}else r.push(S("(")),Q(r,Tt(i,S(", "))),r.push(S(")"));return r},MemberExpression(e,t){let r=[];return jt[e.object.type]<jt.MemberExpression?(r.push(S("(")),Q(r,N(e.object,t)),r.push(S(")"))):Q(r,N(e.object,t)),e.computed?(e.optional&&r.push(S("?.")),r.push(S("[")),Q(r,N(e.property,t)),r.push(S("]"))):(r.push(S(e.optional?"?.":".")),Q(r,N(e.property,t))),r},MetaProperty(e,t){return[...N(e.meta,t),S("."),...N(e.property,t)]},Identifier(e,t){let r=e.name;if(r[0]==="@")r=t.getName(r.slice(1));else if(e.name[0]==="#"){let n=t.scope.find_owner(e.name);if(!n)throw new Error("Could not find owner for node");t.deconflicted.has(n)||t.deconflicted.set(n,new Map);let i=t.deconflicted.get(n);i.has(e.name)||i.set(e.name,Z8(e.name.slice(1),n.references)),r=i.get(e.name)}return[S(r,e)]},Literal(e,t){return typeof e.value=="string"?[S((e.raw||JSON.stringify(e.value)).replace(Ft,(r,n,i,s,a)=>{if(i)return"@"+a;if(s)return"#"+a;throw new Error("this shouldn't happen")}),e)]:[S(e.raw||String(e.value),e)]},PropertyDefinition(e,t){let r=[];return e.static&&r.push(S("static ")),e.computed?r.push(S("["),...N(e.key,t),S("]")):r.push(...N(e.key,t)),e.value&&(r.push(S(" = ")),r.push(...N(e.value,t))),r.push(S(";")),r},StaticBlock(e,t){let r=[S("static ")];return Q(r,ht.BlockStatement(e,t)),r},PrivateIdentifier(e,t){let r=[S("#")];return Q(r,[S(e.name,e)]),r}};ht.ForOfStatement=ht.ForInStatement;ht.FunctionExpression=ht.FunctionDeclaration;ht.ClassExpression=ht.ClassDeclaration;ht.ClassBody=ht.BlockStatement;ht.SpreadElement=ht.RestElement;ht.ArrayPattern=ht.ArrayExpression;ht.LogicalExpression=ht.BinaryExpression;ht.AssignmentPattern=ht.AssignmentExpression;var Gy=jr(hi(),1),xf=()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};typeof window<"u"&&typeof window.btoa=="function"?xf=e=>window.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"&&(xf=e=>Buffer.from(e,"utf-8").toString("base64"));function is(e,t={}){if(Array.isArray(e))return is({type:"Program",body:e,sourceType:"module"},t);let{getName:r=f=>{throw new Error(`Unhandled sigil @${f}`)}}=t,{map:n,scope:i}=uo(e),a=N(e,{indent:"",getName:r,scope:i,scope_map:n,deconflicted:new WeakMap,comments:[]}),u="",o=0,c=[],d=[];for(let f=0;f<a.length;f+=1){let m=a[f];u+=m.content,m.loc&&d.push([o,0,m.loc.start.line-1,m.loc.start.column]);for(let y=0;y<m.content.length;y+=1)m.content[y]===`
|
|
`?(c.push(d),d=[],o=0):o+=1;m.loc&&d.push([o,0,m.loc.end.line-1,m.loc.end.column])}c.push(d);let p={version:3,names:[],sources:[t.sourceMapSource||null],sourcesContent:[t.sourceMapContent||null],mappings:t.sourceMapEncodeMappings==null||t.sourceMapEncodeMappings?(0,Gy.encode)(c):c};return Object.defineProperties(p,{toString:{enumerable:!1,value:function(){return JSON.stringify(this)}},toUrl:{enumerable:!1,value:function(){return"data:application/json;charset=utf-8;base64,"+xf(this.toString())}}}),{code:u,map:p}}var J8={"@":"AT","#":"HASH"},kf=e=>{let t=e[0];for(let r=1;r<e.length;r+=1)t+=`_${lo}_${r-1}_${e[r]}`;return t.replace(/([@#])(\w+)/g,(r,n,i)=>`_${lo}_${J8[n]}_${i}`)},wf=(e,t)=>{for(let r=0;r<e.length;r+=1){let n=e[r];if(Array.isArray(n)){wf(n,t);continue}if(n.type==="ExpressionStatement"){if(n.expression===Cn)continue;if(Array.isArray(n.expression)){let i=n.expression[0];for(;Array.isArray(i);)i=i[0];i&&(i.leadingComments=n.leadingComments),wf(n.expression,t);continue}if(/(Expression|Literal)$/.test(n.expression.type)){t.push(n);continue}n.leadingComments&&(n.expression.leadingComments=n.leadingComments),n.trailingComments&&(n.expression.trailingComments=n.trailingComments),t.push(n.expression);continue}t.push(n)}return t},Wy=(e,t)=>{for(let r=0;r<e.length;r+=1){let n=e[r];if(n.value!==Cn){if(n.key===n.value&&Array.isArray(n.key)){Wy(n.key,t);continue}t.push(n)}}return t},ss=(e,t)=>{for(let r=0;r<e.length;r+=1){let n=e[r];if(n!==Cn){if(Array.isArray(n)){ss(n,t);continue}t.push(n)}}return t},Cn={type:"Empty"},$f=(e,t)=>{let{onComment:r}=ts(e,t);return{ecmaVersion:2022,sourceType:"module",allowAwaitOutsideFunction:!0,allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,onComment:r}},Cf=(e,t,r,n)=>{n.forEach(a=>{a.value=a.value.replace(Ft,(u,o)=>+o in r?r[+o]:u)});let{enter:i,leave:s}=ts(n,e);return we(t,{enter:i,leave(a){if(a.type==="Identifier"){Ft.lastIndex=0;let u=Ft.exec(a.name);if(u)if(u[1]){if(+u[1]in r){let o=r[+u[1]];typeof o=="string"?o={type:"Identifier",name:o,leadingComments:a.leadingComments,trailingComments:a.trailingComments}:typeof o=="number"&&(o={type:"Literal",value:o,leadingComments:a.leadingComments,trailingComments:a.trailingComments}),this.replace(o||Cn)}}else a.name=`${u[2]?"@":"#"}${u[4]}`}if(a.type==="Literal"&&typeof a.value=="string"){Ft.lastIndex=0;let u=a.value.replace(Ft,(c,d)=>+d in r?r[+d]:c),o=u!==a.value;a.value=u,o&&a.raw&&(a.raw=`${a.raw[0]}${JSON.stringify(a.value).slice(1,-1)}${a.raw[a.raw.length-1]}`)}a.type==="TemplateElement"&&(Ft.lastIndex=0,a.value.raw=a.value.raw.replace(Ft,(u,o)=>+o in r?r[+o]:u)),(a.type==="Program"||a.type==="BlockStatement")&&(a.body=wf(a.body,[])),(a.type==="ObjectExpression"||a.type==="ObjectPattern")&&(a.properties=Wy(a.properties,[])),(a.type==="ArrayExpression"||a.type==="ArrayPattern")&&(a.elements=ss(a.elements,[])),(a.type==="FunctionExpression"||a.type==="FunctionDeclaration"||a.type==="ArrowFunctionExpression")&&(a.params=ss(a.params,[])),(a.type==="CallExpression"||a.type==="NewExpression")&&(a.arguments=ss(a.arguments,[])),(a.type==="ImportDeclaration"||a.type==="ExportNamedDeclaration")&&(a.specifiers=ss(a.specifiers,[])),a.type==="ForStatement"&&(a.init=a.init===Cn?null:a.init,a.test=a.test===Cn?null:a.test,a.update=a.update===Cn?null:a.update),s(a)}})};function _(e,...t){let r=kf(e),n=[];try{let i=hf(r,$f(n,r));return i=Cf(r,i,t,n),i.body}catch(i){Sf(r,i)}}function v(e,...t){let r=kf(e),n=[];try{let i=no(r,0,$f(n,r)),s=/\S+/.exec(r.slice(i.end));if(s)throw new Error(`Unexpected token '${s[0]}'`);return i=Cf(r,i,t,n),i}catch(i){Sf(r,i)}}function qe(e,...t){let r=`{${kf(e)}}`,n=[];try{let i=no(r,0,$f(n,r));return i=Cf(r,i,t,n),i.properties[0]}catch(i){Sf(r,i)}}function Sf(e,t){throw Ft.lastIndex=0,e=e.replace(Ft,(r,n,i,s,a)=>i?`@${a}`:s?`#${a}`:"${...}"),console.log(`failed to parse:
|
|
${e}`),t}var Yy=(e,t)=>{let r=[],{onComment:n,enter:i,leave:s}=ts(r,e),a=hf(e,{onComment:n,...t});return we(a,{enter:i,leave:s}),a},Ky=(e,t,r)=>{let n=[],{onComment:i,enter:s,leave:a}=ts(n,e),u=no(e,t,{onComment:i,...r});return we(u,{enter:s,leave:a}),u};var Qy=e=>Yy(e,{sourceType:"module",ecmaVersion:13,locations:!0}),ho=(e,t)=>Ky(e,t,{sourceType:"module",ecmaVersion:13,locations:!0});function ar(e){try{let t=ho(e.template,e.index),r=0;for(let i=e.index;i<t.start;i+=1)e.template[i]==="("&&(r+=1);let n=t.end;for(;r>0;){let i=e.template[n];i===")"?r-=1:Bt.test(i)||e.error(ie.unexpected_token(")"),n),n+=1}return e.index=n,t}catch(t){e.acorn_error(t)}}l();var rR=/<\/script\s*>/,nR=/^<\/script\s*>/;function iR(e,t,r){let n=t.find(s=>s.name==="context");if(!n)return"default";(n.value.length!==1||n.value[0].type!=="Text")&&e.error(ie.invalid_script_context_attribute,r);let i=n.value[0].data;return i!=="module"&&e.error(ie.invalid_script_context_value,n.start),i}function Ef(e,t,r){let n=e.index,i=e.read_until(rR,ie.unclosed_script);e.index>=e.template.length&&e.error(ie.unclosed_script);let s=e.template.slice(0,n).replace(so," ")+i;e.read(nR);let a;try{a=Qy(s)}catch(u){e.acorn_error(u)}return a.start=n,{type:"Script",start:t,end:e.index,context:iR(e,r,t),content:a}}l();l();l();l();l();l();l();l();function Ze(e){return e>=48&&e<=57}function Vt(e){return Ze(e)||e>=65&&e<=70||e>=97&&e<=102}function _o(e){return e>=65&&e<=90}function sR(e){return e>=97&&e<=122}function aR(e){return _o(e)||sR(e)}function oR(e){return e>=128}function mo(e){return aR(e)||oR(e)||e===95}function as(e){return mo(e)||Ze(e)||e===45}function lR(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function os(e){return e===10||e===13||e===12}function Pr(e){return os(e)||e===32||e===9}function Lt(e,t){return!(e!==92||os(t)||t===0)}function fi(e,t,r){return e===45?mo(t)||t===45||Lt(t,r):mo(e)?!0:e===92?Lt(e,t):!1}function go(e,t,r){return e===43||e===45?Ze(t)?2:t===46&&Ze(r)?3:0:e===46?Ze(t)?2:0:Ze(e)?1:0}function vo(e){return e===65279||e===65534?1:0}var Rf=new Array(128),uR=128,ls=130,Pf=131,yo=132,Af=133;for(let e=0;e<Rf.length;e++)Rf[e]=Pr(e)&&ls||Ze(e)&&Pf||mo(e)&&yo||lR(e)&&Af||e||uR;function bo(e){return e<128?Rf[e]:yo}l();function mi(e,t){return t<e.length?e.charCodeAt(t):0}function xo(e,t,r){return r===13&&mi(e,t+1)===10?2:1}function Wr(e,t,r){let n=e.charCodeAt(t);return _o(n)&&(n=n|32),n===r}function Yr(e,t,r,n){if(r-t!==n.length||t<0||r>e.length)return!1;for(let i=t;i<r;i++){let s=n.charCodeAt(i-t),a=e.charCodeAt(i);if(_o(a)&&(a=a|32),a!==s)return!1}return!0}function Xy(e,t){for(;t>=0&&Pr(e.charCodeAt(t));t--);return t+1}function us(e,t){for(;t<e.length&&Pr(e.charCodeAt(t));t++);return t}function qf(e,t){for(;t<e.length&&Ze(e.charCodeAt(t));t++);return t}function Ar(e,t){if(t+=2,Vt(mi(e,t-1))){for(let n=Math.min(e.length,t+5);t<n&&Vt(mi(e,t));t++);let r=mi(e,t);Pr(r)&&(t+=xo(e,t,r))}return t}function cs(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(!as(r)){if(Lt(r,mi(e,t+1))){t=Ar(e,t)-1;continue}break}}return t}function Sn(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),Ze(r)&&(t=qf(e,t+1),r=e.charCodeAt(t)),r===46&&Ze(e.charCodeAt(t+1))&&(t+=2,t=qf(e,t)),Wr(e,t,101)){let n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),Ze(r)&&(t=qf(e,t+1+n+1))}return t}function wo(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r===41){t++;break}Lt(r,mi(e,t+1))&&(t=Ar(e,t))}return t}function ds(e){if(e.length===1&&!Vt(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}l();var _i=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token"];l();l();function gi(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}var Zy=10,cR=12,Jy=13;function eb(e){let t=e.source,r=t.length,n=t.length>0?vo(t.charCodeAt(0)):0,i=gi(e.lines,r),s=gi(e.columns,r),a=e.startLine,u=e.startColumn;for(let o=n;o<r;o++){let c=t.charCodeAt(o);i[o]=a,s[o]=u++,(c===Zy||c===Jy||c===cR)&&(c===Jy&&o+1<r&&t.charCodeAt(o+1)===Zy&&(o++,i[o]=a,s[o]=u),a++,u=1)}i[r]=a,s[r]=u,e.lines=i,e.columns=s,e.computed=!0}var ko=class{constructor(){this.lines=null,this.columns=null,this.computed=!1}setSource(t,r=0,n=1,i=1){this.source=t,this.startOffset=r,this.startLine=n,this.startColumn=i,this.computed=!1}getLocation(t,r){return this.computed||eb(this),{source:r,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,r,n){return this.computed||eb(this),{source:n,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+r,line:this.lines[r],column:this.columns[r]}}}};l();var or=16777215,dn=24,dR=new Map([[2,22],[21,22],[19,20],[23,24]]),hs=class{constructor(t,r){this.setSource(t,r)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(t="",r=()=>{}){t=String(t||"");let n=t.length,i=gi(this.offsetAndType,t.length+1),s=gi(this.balance,t.length+1),a=0,u=0,o=0,c=-1;for(this.offsetAndType=null,this.balance=null,r(t,(d,p,f)=>{switch(d){default:s[a]=n;break;case u:{let m=o∨for(o=s[m],u=o>>dn,s[a]=m,s[m++]=a;m<a;m++)s[m]===n&&(s[m]=a);break}case 21:case 2:case 19:case 23:s[a]=o,u=dR.get(d),o=u<<dn|a;break}i[a++]=d<<dn|f,c===-1&&(c=p)}),i[a]=0<<dn|n,s[a]=n,s[n]=n;o!==0;){let d=o∨o=s[d],s[d]=n}this.source=t,this.firstCharOffset=c===-1?0:c,this.tokenCount=a,this.offsetAndType=i,this.balance=s,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t]>>dn:0}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&or:this.source.length}lookupValue(t,r){return t+=this.tokenIndex,t<this.tokenCount?Yr(this.source,this.offsetAndType[t-1]&or,this.offsetAndType[t]&or,r):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&or:this.offsetAndType[this.tokenCount]&or:this.firstCharOffset}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,r){return r?this.lookupType(r)===9&&this.source.charCodeAt(this.lookupOffset(r))===t:this.tokenType===9&&this.source.charCodeAt(this.tokenStart)===t}skip(t){let r=this.tokenIndex+t;r<this.tokenCount?(this.tokenIndex=r,this.tokenStart=this.offsetAndType[r-1]&or,r=this.offsetAndType[r],this.tokenType=r>>dn,this.tokenEnd=r&or):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.tokenEnd,t=this.offsetAndType[t],this.tokenType=t>>dn,this.tokenEnd=t&or):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(t,r){let n=t,i,s;e:for(;n<this.tokenCount;n++){if(i=this.balance[n],i<t)break e;switch(s=n>0?this.offsetAndType[n-1]&or:this.firstCharOffset,r(this.source.charCodeAt(s))){case 1:break e;case 2:n++;break e;default:this.balance[i]===n&&(n=i)}}this.skip(n-this.tokenIndex)}forEachToken(t){for(let r=0,n=this.firstCharOffset;r<this.tokenCount;r++){let i=n,s=this.offsetAndType[r],a=s&or,u=s>>dn;n=a,t(u,i,a,r)}}dump(){let t=new Array(this.tokenCount);return this.forEachToken((r,n,i,s)=>{t[s]={idx:s,type:_i[r],chunk:this.source.substring(n,i),balance:this.balance[s]}}),t}};function hn(e,t){function r(p){return p<u?e.charCodeAt(p):0}function n(){if(c=Sn(e,c),fi(r(c),r(c+1),r(c+2))){d=12,c=cs(e,c);return}if(r(c)===37){d=11,c++;return}d=10}function i(){let p=c;if(c=cs(e,c),Yr(e,p,c,"url")&&r(c)===40){if(c=us(e,c+1),r(c)===34||r(c)===39){d=2,c=p+4;return}a();return}if(r(c)===40){d=2,c++;return}d=1}function s(p){for(p||(p=r(c++)),d=5;c<e.length;c++){let f=e.charCodeAt(c);switch(bo(f)){case p:c++;return;case ls:if(os(f)){c+=xo(e,c,f),d=6;return}break;case 92:if(c===e.length-1)break;let m=r(c+1);os(m)?c+=xo(e,c+1,m):Lt(f,m)&&(c=Ar(e,c)-1);break}}}function a(){for(d=7,c=us(e,c);c<e.length;c++){let p=e.charCodeAt(c);switch(bo(p)){case 41:c++;return;case ls:if(c=us(e,c),r(c)===41||c>=e.length){c<e.length&&c++;return}c=wo(e,c),d=8;return;case 34:case 39:case 40:case Af:c=wo(e,c),d=8;return;case 92:if(Lt(p,r(c+1))){c=Ar(e,c)-1;break}c=wo(e,c),d=8;return}}}e=String(e||"");let u=e.length,o=vo(r(0)),c=o,d;for(;c<u;){let p=e.charCodeAt(c);switch(bo(p)){case ls:d=13,c=us(e,c+1);break;case 34:s();break;case 35:as(r(c+1))||Lt(r(c+1),r(c+2))?(d=4,c=cs(e,c+1)):(d=9,c++);break;case 39:s();break;case 40:d=21,c++;break;case 41:d=22,c++;break;case 43:go(p,r(c+1),r(c+2))?n():(d=9,c++);break;case 44:d=18,c++;break;case 45:go(p,r(c+1),r(c+2))?n():r(c+1)===45&&r(c+2)===62?(d=15,c=c+3):fi(p,r(c+1),r(c+2))?i():(d=9,c++);break;case 46:go(p,r(c+1),r(c+2))?n():(d=9,c++);break;case 47:r(c+1)===42?(d=25,c=e.indexOf("*/",c+2),c=c===-1?e.length:c+2):(d=9,c++);break;case 58:d=16,c++;break;case 59:d=17,c++;break;case 60:r(c+1)===33&&r(c+2)===45&&r(c+3)===45?(d=14,c=c+4):(d=9,c++);break;case 64:fi(r(c+1),r(c+2),r(c+3))?(d=3,c=cs(e,c+1)):(d=9,c++);break;case 91:d=19,c++;break;case 92:Lt(p,r(c+1))?i():(d=9,c++);break;case 93:d=20,c++;break;case 123:d=23,c++;break;case 125:d=24,c++;break;case Pf:n();break;case yo:i();break;default:d=9,c++}t(d,o,o=c)}}l();l();var vi=null,Mt=class e{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return e.createItem(t)}allocateCursor(t,r){let n;return vi!==null?(n=vi,vi=vi.cursor,n.prev=t,n.next=r,n.cursor=this.cursor):n={prev:t,next:r,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=vi,vi=t}updateCursors(t,r,n,i){let{cursor:s}=this;for(;s!==null;)s.prev===t&&(s.prev=r),s.next===n&&(s.next=i),s=s.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let r=this.head;r!==null;r=r.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let r=null;this.head=null;for(let n of t){let i=e.createItem(n);r!==null?r.next=i:this.head=i,i.prev=r,r=i}return this.tail=r,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,r=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let i=n.next;n.next=i.next,t.call(r,i.data,i,this)}this.releaseCursor()}forEachRight(t,r=this){let n=this.allocateCursor(this.tail,null);for(;n.prev!==null;){let i=n.prev;n.prev=i.prev,t.call(r,i.data,i,this)}this.releaseCursor()}reduce(t,r,n=this){let i=this.allocateCursor(null,this.head),s=r,a;for(;i.next!==null;)a=i.next,i.next=a.next,s=t.call(n,s,a.data,a,this);return this.releaseCursor(),s}reduceRight(t,r,n=this){let i=this.allocateCursor(this.tail,null),s=r,a;for(;i.prev!==null;)a=i.prev,i.prev=a.prev,s=t.call(n,s,a.data,a,this);return this.releaseCursor(),s}some(t,r=this){for(let n=this.head;n!==null;n=n.next)if(t.call(r,n.data,n,this))return!0;return!1}map(t,r=this){let n=new e;for(let i=this.head;i!==null;i=i.next)n.appendData(t.call(r,i.data,i,this));return n}filter(t,r=this){let n=new e;for(let i=this.head;i!==null;i=i.next)t.call(r,i.data,i,this)&&n.appendData(i.data);return n}nextUntil(t,r,n=this){if(t===null)return;let i=this.allocateCursor(null,t);for(;i.next!==null;){let s=i.next;if(i.next=s.next,r.call(n,s.data,s,this))break}this.releaseCursor()}prevUntil(t,r,n=this){if(t===null)return;let i=this.allocateCursor(t,null);for(;i.prev!==null;){let s=i.prev;if(i.prev=s.prev,r.call(n,s.data,s,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){let t=new e;for(let r of this)t.appendData(r);return t}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}prependData(t){return this.prepend(e.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(e.createItem(t))}insert(t,r=null){if(r!==null)if(this.updateCursors(r.prev,t,r,t),r.prev===null){if(this.head!==r)throw new Error("before doesn't belong to list");this.head=t,r.prev=t,t.next=r,this.updateCursors(null,t)}else r.prev.next=t,t.prev=r.prev,r.prev=t,t.next=r;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}insertData(t,r){return this.insert(e.createItem(t),r)}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(e.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(e.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}prependList(t){return this.insertList(t,this.head)}appendList(t){return this.insertList(t)}insertList(t,r){return t.head===null?this:(r!=null?(this.updateCursors(r.prev,t.tail,r,t.head),r.prev!==null?(r.prev.next=t.head,t.head.prev=r.prev):this.head=t.head,r.prev=t.tail,t.tail.next=r):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,r){"head"in r?this.insertList(r,t):this.insert(r,t),this.remove(t)}};l();l();function En(e,t){let r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
|
`)}})}var Tf=100,tb=60,rb=" ";function nb({source:e,line:t,column:r},n){function i(d,p){return s.slice(d,p).map((f,m)=>String(d+m+1).padStart(o)+" |"+f).join(`
|
|
`)}let s=e.split(/\r\n?|\n|\f/),a=Math.max(1,t-n)-1,u=Math.min(t+n,s.length+1),o=Math.max(4,String(u).length)+1,c=0;r+=(rb.length-1)*(s[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>Tf&&(c=r-tb+3,r=tb-2);for(let d=a;d<=u;d++)d>=0&&d<s.length&&(s[d]=s[d].replace(/\t/g,rb),s[d]=(c>0&&s[d].length>c?"\u2026":"")+s[d].substr(c,Tf-2)+(s[d].length>c+Tf-1?"\u2026":""));return[i(a,t),new Array(r+o+2).join("-")+"^",i(t,u)].filter(Boolean).join(`
|
|
`)}function Lf(e,t,r,n,i){return Object.assign(En("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(a){return nb({source:t,line:n,column:i},isNaN(a)?0:a)},get formattedMessage(){return`Parse error: ${e}
|
|
`+nb({source:t,line:n,column:i},2)}})}l();function ib(e){let t=this.createList(),r=!1,n={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:r=!0,this.next();continue}let i=e.getNode.call(this,n);if(i===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,n),r=!1),t.push(i)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,n),t}var sb=()=>{},pR=33,hR=35,Mf=59,ab=123,ob=0;function fR(e){return function(){return this[e]()}}function If(e){let t=Object.create(null);for(let r in e){let n=e[r],i=n.parse||n;i&&(t[r]=i)}return t}function mR(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:If(e.atrule),pseudo:If(e.pseudo),node:If(e.node)};for(let r in e.parseContext)switch(typeof e.parseContext[r]){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=fR(e.parseContext[r]);break}return{config:t,...t,...t.node}}function lb(e){let t="",r="<unknown>",n=!1,i=sb,s=!1,a=new ko,u=Object.assign(new hs,mR(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:ib,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(c){return c===ab?1:0},consumeUntilLeftCurlyBracketOrSemicolon(c){return c===ab||c===Mf?1:0},consumeUntilExclamationMarkOrSemicolon(c){return c===pR||c===Mf?1:0},consumeUntilSemicolonIncluded(c){return c===Mf?2:0},createList(){return new Mt},createSingleNodeList(c){return new Mt().appendData(c)},getFirstListNode(c){return c&&c.first},getLastListNode(c){return c&&c.last},parseWithFallback(c,d){let p=this.tokenIndex;try{return c.call(this)}catch(f){if(s)throw f;let m=d.call(this,p);return s=!0,i(f,m),s=!1,m}},lookupNonWSType(c){let d;do if(d=this.lookupType(c++),d!==13)return d;while(d!==ob);return ob},charCodeAt(c){return c>=0&&c<t.length?t.charCodeAt(c):0},substring(c,d){return t.substring(c,d)},substrToCursor(c){return this.source.substring(c,this.tokenStart)},cmpChar(c,d){return Wr(t,c,d)},cmpStr(c,d,p){return Yr(t,c,d,p)},consume(c){let d=this.tokenStart;return this.eat(c),this.substrToCursor(d)},consumeFunctionName(){let c=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),c},consumeNumber(c){let d=t.substring(this.tokenStart,Sn(t,this.tokenStart));return this.eat(c),d},eat(c){if(this.tokenType!==c){let d=_i[c].slice(0,-6).replace(/-/g," ").replace(/^./,m=>m.toUpperCase()),p=`${/[[\](){}]/.test(d)?`"${d}"`:d} is expected`,f=this.tokenStart;switch(c){case 1:this.tokenType===2||this.tokenType===7?(f=this.tokenEnd-1,p="Identifier is expected but function found"):p="Identifier is expected";break;case 4:this.isDelim(hR)&&(this.next(),f++,p="Name is expected");break;case 11:this.tokenType===10&&(f=this.tokenEnd,p="Percent sign is expected");break}this.error(p,f)}this.next()},eatIdent(c){(this.tokenType!==1||this.lookupValue(0,c)===!1)&&this.error(`Identifier "${c}" is expected`),this.next()},eatDelim(c){this.isDelim(c)||this.error(`Delim "${String.fromCharCode(c)}" is expected`),this.next()},getLocation(c,d){return n?a.getLocationRange(c,d,r):null},getLocationFromList(c){if(n){let d=this.getFirstListNode(c),p=this.getLastListNode(c);return a.getLocationRange(d!==null?d.loc.start.offset-a.startOffset:this.tokenStart,p!==null?p.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(c,d){let p=typeof d<"u"&&d<t.length?a.getLocation(d):this.eof?a.getLocation(Xy(t,t.length-1)):a.getLocation(this.tokenStart);throw new Lf(c||"Unexpected input",t,p.offset,p.line,p.column)}});return Object.assign(function(c,d){t=c,d=d||{},u.setSource(t,hn),a.setSource(t,d.offset,d.line,d.column),r=d.filename||"<unknown>",n=!!d.positions,i=typeof d.onParseError=="function"?d.onParseError:sb,s=!1,u.parseAtrulePrelude="parseAtrulePrelude"in d?!!d.parseAtrulePrelude:!0,u.parseRulePrelude="parseRulePrelude"in d?!!d.parseRulePrelude:!0,u.parseValue="parseValue"in d?!!d.parseValue:!0,u.parseCustomProperty="parseCustomProperty"in d?!!d.parseCustomProperty:!1;let{context:p="default",onComment:f}=d;if(!(p in u.context))throw new Error("Unknown context `"+p+"`");typeof f=="function"&&u.forEachToken((y,w,b)=>{if(y===25){let $=u.getLocation(w,b),C=Yr(t,b-2,b,"*/")?t.slice(w+2,b-2):t.slice(w+2,b);f(C,$)}});let m=u.context[p].call(u,d);return u.eof||u.error(),m},{SyntaxError:Lf,config:u.config})}l();l();var Pb=jr(Eb(),1),Rb=new Set(["Atrule","Selector","Declaration"]);function Ab(e){let t=new Pb.SourceMapGenerator,r={line:1,column:0},n={line:0,column:0},i={line:1,column:0},s={generated:i},a=1,u=0,o=!1,c=e.node;e.node=function(f){if(f.loc&&f.loc.start&&Rb.has(f.type)){let m=f.loc.start.line,y=f.loc.start.column-1;(n.line!==m||n.column!==y)&&(n.line=m,n.column=y,r.line=a,r.column=u,o&&(o=!1,(r.line!==i.line||r.column!==i.column)&&t.addMapping(s)),o=!0,t.addMapping({source:f.loc.source,original:n,generated:r}))}c.call(this,f),o&&Rb.has(f.type)&&(i.line=a,i.column=u)};let d=e.emit;e.emit=function(f,m,y){for(let w=0;w<f.length;w++)f.charCodeAt(w)===10?(a++,u=0):u++;d(f,m,y)};let p=e.result;return e.result=function(){return o&&t.addMapping(s),{css:p(),map:t}},e}var Eo={};de(Eo,{safe:()=>Hf,spec:()=>NR});l();var MR=43,IR=45,Vf=(e,t)=>{if(e===9&&(e=t),typeof e=="string"){let r=e.charCodeAt(0);return r>127?32768:r<<8}return e},qb=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,"-"],[12,10],[12,11],[12,12],[12,15],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",10],["#",11],["#",12],["#",15],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",10],["-",11],["-",12],["-",15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,"%"],[10,15],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",15],[".",10],[".",11],[".",12],["+",10],["+",11],["+",12],["/","*"]],OR=qb.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,"-"],[22,1],[22,2],[22,11],[22,12],[22,4],[22,"-"]]);function Tb(e){let t=new Set(e.map(([r,n])=>Vf(r)<<16|Vf(n)));return function(r,n,i){let s=Vf(n,i),a=i.charCodeAt(0);return(a===IR&&n!==1&&n!==2&&n!==15||a===MR?t.has(r<<16|a<<8):t.has(r<<16|s))&&this.emit(" ",13,!0),s}}var NR=Tb(qb),Hf=Tb(OR);var DR=92;function BR(e,t){if(typeof t=="function"){let r=null;e.children.forEach(n=>{r!==null&&t.call(this,r),this.node(n),r=n});return}e.children.forEach(this.node,this)}function FR(e){hn(e,(t,r,n)=>{this.token(t,e.slice(r,n))})}function Lb(e){let t=new Map;for(let r in e.node){let n=e.node[r];typeof(n.generate||n)=="function"&&t.set(r,n.generate||n)}return function(r,n){let i="",s=0,a={node(o){if(t.has(o.type))t.get(o.type).call(u,o);else throw new Error("Unknown node type: "+o.type)},tokenBefore:Hf,token(o,c){s=this.tokenBefore(s,o,c),this.emit(c,o,!1),o===9&&c.charCodeAt(0)===DR&&this.emit(`
|
|
`,13,!0)},emit(o){i+=o},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=Ab(a)),n.mode in Eo&&(a.tokenBefore=Eo[n.mode]));let u={node:o=>a.node(o),children:BR,token:(o,c)=>a.token(o,c),tokenize:FR};return a.node(r),a.result()}}l();function Mb(e){return{fromPlainObject(t){return e(t,{enter(r){r.children&&!(r.children instanceof Mt)&&(r.children=new Mt().fromArray(r.children))}}),t},toPlainObject(t){return e(t,{leave(r){r.children&&r.children instanceof Mt&&(r.children=r.children.toArray())}}),t}}}l();var{hasOwnProperty:Uf}=Object.prototype,gs=function(){};function Ib(e){return typeof e=="function"?e:gs}function Ob(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function jR(e,t){let r=t.structure,n=[];for(let i in r){if(Uf.call(r,i)===!1)continue;let s=r[i],a={name:i,type:!1,nullable:!1};Array.isArray(s)||(s=[s]);for(let u of s)u===null?a.nullable=!0:typeof u=="string"?a.type="node":Array.isArray(u)&&(a.type="list");a.type&&n.push(a)}return n.length?{context:t.walkContext,fields:n}:null}function VR(e){let t={};for(let r in e.node)if(Uf.call(e.node,r)){let n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=jR(r,n)}return t}function Nb(e,t){let r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(s,a,u,o){let c;i&&(c=a[n],a[n]=s);for(let d of r){let p=s[d.name];if(!d.nullable||p){if(d.type==="list"){if(t?p.reduceRight(o,!1):p.reduce(o,!1))return!0}else if(u(p))return!0}}i&&(a[n]=c)}}function Db({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}}}function Bb(e){let t=VR(e),r={},n={},i=Symbol("break-walk"),s=Symbol("skip-node");for(let c in t)Uf.call(t,c)&&t[c]!==null&&(r[c]=Nb(t[c],!1),n[c]=Nb(t[c],!0));let a=Db(r),u=Db(n),o=function(c,d){function p($,C,R){let E=f.call(b,$,C,R);return E===i?!0:E===s?!1:!!(y.hasOwnProperty($.type)&&y[$.type]($,b,p,w)||m.call(b,$,C,R)===i)}let f=gs,m=gs,y=r,w=($,C,R,E)=>$||p(C,R,E),b={break:i,skip:s,root:c,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof d=="function")f=d;else if(d&&(f=Ib(d.enter),m=Ib(d.leave),d.reverse&&(y=n),d.visit)){if(a.hasOwnProperty(d.visit))y=d.reverse?u[d.visit]:a[d.visit];else if(!t.hasOwnProperty(d.visit))throw new Error("Bad value `"+d.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");f=Ob(f,d.visit),m=Ob(m,d.visit)}if(f===gs&&m===gs)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");p(c)};return o.break=i,o.skip=s,o.find=function(c,d){let p=null;return o(c,function(f,m,y){if(d.call(this,f,m,y))return p=f,i}),p},o.findLast=function(c,d){let p=null;return o(c,{reverse:!0,enter(f,m,y){if(d.call(this,f,m,y))return p=f,i}}),p},o.findAll=function(c,d){let p=[];return o(c,function(f,m,y){d.call(this,f,m,y)&&p.push(f)}),p},o}l();l();l();function HR(e){return e}function UR(e){let{min:t,max:r,comma:n}=e;return t===0&&r===0?n?"#?":"*":t===0&&r===1?"?":t===1&&r===0?n?"#":"+":t===1&&r===1?"":(n?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function zR(e){switch(e.type){case"Range":return" ["+(e.min===null?"-\u221E":e.min)+","+(e.max===null?"\u221E":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function GR(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",s=e.terms.map(a=>zf(a,t,r,n)).join(i);return e.explicit||r?(n||s[0]===","?"[":"[ ")+s+(n?"]":" ]"):s}function zf(e,t,r,n){let i;switch(e.type){case"Group":i=GR(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return zf(e.term,t,r,n)+t(UR(e),e);case"Type":i="<"+e.name+(e.opts?t(zR(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function bi(e,t){let r=HR,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(r=t.decorate)),zf(e,r,n,i)}var Fb={offset:0,line:1,column:1};function WR(e,t){let r=e.tokens,n=e.longestMatch,i=n<r.length&&r[n].node||null,s=i!==t?i:null,a=0,u=0,o=0,c="",d,p;for(let f=0;f<r.length;f++){let m=r[f].value;f===n&&(u=m.length,a=c.length),s!==null&&r[f].node===s&&(f<=n?o++:o=0),c+=m}return n===r.length||o>1?(d=Ro(s||t,"end")||vs(Fb,c),p=vs(d)):(d=Ro(s,"start")||vs(Ro(t,"start")||Fb,c.slice(0,a)),p=Ro(s,"end")||vs(d,c.substr(a,u))),{css:c,mismatchOffset:a,mismatchLength:u,start:d,end:p}}function Ro(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?vs(r):r:null}function vs({offset:e,line:t,column:r},n){let i={offset:e,line:t,column:r};if(n){let s=n.split(/\n|\r\n?|\f/);i.offset+=n.length,i.line+=s.length-1,i.column=s.length===1?i.column+n.length:s.pop().length+1}return i}var xi=function(e,t){let r=En("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},jb=function(e,t,r,n){let i=En("SyntaxMatchError",e),{css:s,mismatchOffset:a,mismatchLength:u,start:o,end:c}=WR(n,r);return i.rawMessage=e,i.syntax=t?bi(t):"<generic>",i.css=s,i.mismatchOffset=a,i.mismatchLength=u,i.message=e+`
|
|
syntax: `+i.syntax+`
|
|
value: `+(s||"<empty string>")+`
|
|
--------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,o),i.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:o,end:c},i};l();var Po=new Map,wi=new Map,Ao=45,qo=YR,Gf=KR;function To(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Ao&&e.charCodeAt(t+1)===Ao}function Vb(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Ao&&e.charCodeAt(t+1)!==Ao){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function YR(e){if(Po.has(e))return Po.get(e);let t=e.toLowerCase(),r=Po.get(t);if(r===void 0){let n=To(t,0),i=n?"":Vb(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return Po.set(e,r),r}function KR(e){if(wi.has(e))return wi.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=To(t,r.length);if(!n&&(t=t.toLowerCase(),wi.has(t))){let u=wi.get(t);return wi.set(e,u),u}let i=n?"":Vb(t,r.length),s=t.substr(0,r.length+i.length),a=Object.freeze({basename:t.substr(s.length),name:t.substr(r.length),hack:r,vendor:i,prefix:s,custom:n});return wi.set(e,a),a}l();var Lo=["initial","inherit","unset","revert","revert-layer"];l();l();var bs=43,qr=45,Wf=110,ki=!0,XR=!1;function Kf(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function ys(e,t,r){for(;e!==null&&(e.type===13||e.type===25);)e=r(++t);return t}function fn(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===bs||i===qr){if(r)return 0;t++}for(;t<e.value.length;t++)if(!Ze(e.value.charCodeAt(t)))return 0;return n+1}function Yf(e,t,r){let n=!1,i=ys(e,t,r);if(e=r(i),e===null)return t;if(e.type!==10)if(Kf(e,bs)||Kf(e,qr)){if(n=!0,i=ys(r(++i),i,r),e=r(i),e===null||e.type!==10)return 0}else return t;if(!n){let s=e.value.charCodeAt(0);if(s!==bs&&s!==qr)return 0}return fn(e,n?0:1,n,i)}function Qf(e,t){let r=0;if(!e)return 0;if(e.type===10)return fn(e,0,XR,r);if(e.type===1&&e.value.charCodeAt(0)===qr){if(!Wr(e.value,1,Wf))return 0;switch(e.value.length){case 2:return Yf(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==qr?0:(r=ys(t(++r),r,t),e=t(r),fn(e,0,ki,r));default:return e.value.charCodeAt(2)!==qr?0:fn(e,3,ki,r)}}else if(e.type===1||Kf(e,bs)&&t(r+1).type===1){if(e.type!==1&&(e=t(++r)),e===null||!Wr(e.value,0,Wf))return 0;switch(e.value.length){case 1:return Yf(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==qr?0:(r=ys(t(++r),r,t),e=t(r),fn(e,0,ki,r));default:return e.value.charCodeAt(1)!==qr?0:fn(e,2,ki,r)}}else if(e.type===12){let n=e.value.charCodeAt(0),i=n===bs||n===qr?1:0,s=i;for(;s<e.value.length&&Ze(e.value.charCodeAt(s));s++);return s===i||!Wr(e.value,s,Wf)?0:s+1===e.value.length?Yf(t(++r),r,t):e.value.charCodeAt(s+1)!==qr?0:s+2===e.value.length?(r=ys(t(++r),r,t),e=t(r),fn(e,0,ki,r)):fn(e,s+2,ki,r)}return 0}l();var ZR=43,Hb=45,Ub=63,JR=117;function Xf(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function e2(e,t){return e.value.charCodeAt(0)===t}function xs(e,t,r){let n=0;for(let i=t;i<e.value.length;i++){let s=e.value.charCodeAt(i);if(s===Hb&&r&&n!==0)return xs(e,t+n+1,!1),6;if(!Vt(s)||++n>6)return 0}return n}function Mo(e,t,r){if(!e)return 0;for(;Xf(r(t),Ub);){if(++e>6)return 0;t++}return t}function Zf(e,t){let r=0;if(e===null||e.type!==1||!Wr(e.value,0,JR)||(e=t(++r),e===null))return 0;if(Xf(e,ZR))return e=t(++r),e===null?0:e.type===1?Mo(xs(e,0,!0),++r,t):Xf(e,Ub)?Mo(1,++r,t):0;if(e.type===10){let n=xs(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===12||e.type===10?!e2(e,Hb)||!xs(e,1,!1)?0:r+1:Mo(n,r,t))}return e.type===12?Mo(xs(e,1,!0),++r,t):0}var t2=["calc(","-moz-calc(","-webkit-calc("],Jf=new Map([[2,22],[21,22],[19,20],[23,24]]);function vr(e,t){return t<e.length?e.charCodeAt(t):0}function zb(e,t){return Yr(e,0,e.length,t)}function Gb(e,t){for(let r=0;r<t.length;r++)if(zb(e,t[r]))return!0;return!1}function Wb(e,t){return t!==e.length-2?!1:vr(e,t)===92&&Ze(vr(e,t+1))}function Io(e,t,r){if(e&&e.type==="Range"){let n=Number(r!==void 0&&r!==t.length?t.substr(0,r):t);if(isNaN(n)||e.min!==null&&n<e.min&&typeof e.min!="string"||e.max!==null&&n>e.max&&typeof e.max!="string")return!0}return!1}function r2(e,t){let r=0,n=[],i=0;e:do{switch(e.type){case 24:case 22:case 20:if(e.type!==r)break e;if(r=n.pop(),n.length===0){i++;break e}break;case 2:case 21:case 19:case 23:n.push(r),r=Jf.get(e.type);break}i++}while(e=t(i));return i}function ur(e){return function(t,r,n){return t===null?0:t.type===2&&Gb(t.value,t2)?r2(t,r):e(t,r,n)}}function Ge(e){return function(t){return t===null||t.type!==e?0:1}}function n2(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return Gb(t,Lo)||zb(t,"default")?0:1}function i2(e){return e===null||e.type!==1||vr(e.value,0)!==45||vr(e.value,1)!==45?0:1}function s2(e){if(e===null||e.type!==4)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let r=1;r<t;r++)if(!Vt(vr(e.value,r)))return 0;return 1}function a2(e){return e===null||e.type!==4||!fi(vr(e.value,1),vr(e.value,2),vr(e.value,3))?0:1}function o2(e,t){if(!e)return 0;let r=0,n=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==r)break e;r=n.pop();break;case 17:if(r===0)break e;break;case 9:if(r===0&&e.value==="!")break e;break;case 2:case 21:case 19:case 23:n.push(r),r=Jf.get(e.type);break}i++}while(e=t(i));return i}function l2(e,t){if(!e)return 0;let r=0,n=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case 24:case 22:case 20:if(e.type!==r)break e;r=n.pop();break;case 2:case 21:case 19:case 23:n.push(r),r=Jf.get(e.type);break}i++}while(e=t(i));return i}function Xr(e){return e&&(e=new Set(e)),function(t,r,n){if(t===null||t.type!==12)return 0;let i=Sn(t.value,0);if(e!==null){let s=t.value.indexOf("\\",i),a=s===-1||!Wb(t.value,s)?t.value.substr(i):t.value.substring(i,s);if(e.has(a.toLowerCase())===!1)return 0}return Io(n,t.value,i)?0:1}}function u2(e,t,r){return e===null||e.type!==11||Io(r,e.value,e.value.length-1)?0:1}function Yb(e){return typeof e!="function"&&(e=function(){return 0}),function(t,r,n){return t!==null&&t.type===10&&Number(t.value)===0?1:e(t,r,n)}}function c2(e,t,r){if(e===null)return 0;let n=Sn(e.value,0);return!(n===e.value.length)&&!Wb(e.value,n)||Io(r,e.value,n)?0:1}function d2(e,t,r){if(e===null||e.type!==10)return 0;let n=vr(e.value,0)===43||vr(e.value,0)===45?1:0;for(;n<e.value.length;n++)if(!Ze(vr(e.value,n)))return 0;return Io(r,e.value,n)?0:1}var p2={"ident-token":Ge(1),"function-token":Ge(2),"at-keyword-token":Ge(3),"hash-token":Ge(4),"string-token":Ge(5),"bad-string-token":Ge(6),"url-token":Ge(7),"bad-url-token":Ge(8),"delim-token":Ge(9),"number-token":Ge(10),"percentage-token":Ge(11),"dimension-token":Ge(12),"whitespace-token":Ge(13),"CDO-token":Ge(14),"CDC-token":Ge(15),"colon-token":Ge(16),"semicolon-token":Ge(17),"comma-token":Ge(18),"[-token":Ge(19),"]-token":Ge(20),"(-token":Ge(21),")-token":Ge(22),"{-token":Ge(23),"}-token":Ge(24)},h2={string:Ge(5),ident:Ge(1),percentage:ur(u2),zero:Yb(),number:ur(c2),integer:ur(d2),"custom-ident":n2,"custom-property-name":i2,"hex-color":s2,"id-selector":a2,"an-plus-b":Qf,urange:Zf,"declaration-value":o2,"any-value":l2};function f2(e){let{angle:t,decibel:r,frequency:n,flex:i,length:s,resolution:a,semitones:u,time:o}=e||{};return{dimension:ur(Xr(null)),angle:ur(Xr(t)),decibel:ur(Xr(r)),frequency:ur(Xr(n)),flex:ur(Xr(i)),length:ur(Yb(Xr(s))),resolution:ur(Xr(a)),semitones:ur(Xr(u)),time:ur(Xr(o))}}function Kb(e){return{...p2,...h2,...f2(e)}}var Oo={};de(Oo,{angle:()=>_2,decibel:()=>x2,flex:()=>b2,frequency:()=>v2,length:()=>m2,resolution:()=>y2,semitones:()=>w2,time:()=>g2});l();var m2=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],_2=["deg","grad","rad","turn"],g2=["s","ms"],v2=["hz","khz"],y2=["dpi","dpcm","dppx","x"],b2=["fr"],x2=["db"],w2=["st"];l();l();function em(e,t,r){return Object.assign(En("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+`
|
|
`+t+`
|
|
--`+new Array((r||t.length)+1).join("-")+"^"})}l();l();var k2=9,$2=10,C2=12,S2=13,E2=32,No=class{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}findWsEnd(t){for(;t<this.str.length;t++){let r=this.str.charCodeAt(t);if(r!==S2&&r!==$2&&r!==C2&&r!==E2&&r!==k2)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new em(t,this.str,this.pos)}};var R2=9,P2=10,A2=12,q2=13,T2=32,nx=33,nm=35,Qb=38,Do=39,ix=40,L2=41,sx=42,im=43,sm=44,Xb=45,am=60,ax=62,rm=63,M2=64,Vo=91,om=93,Bo=123,Zb=124,Jb=125,ex=8734,ws=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),tx={" ":1,"&&":2,"||":3,"|":4};function Fo(e){return e.substringToPos(e.findWsEnd(e.pos))}function $i(e){let t=e.pos;for(;t<e.str.length;t++){let r=e.str.charCodeAt(t);if(r>=128||ws[r]===0)break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function jo(e){let t=e.pos;for(;t<e.str.length;t++){let r=e.str.charCodeAt(t);if(r<48||r>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function I2(e){let t=e.str.indexOf("'",e.pos+1);return t===-1&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function rx(e){let t=null,r=null;return e.eat(Bo),t=jo(e),e.charCode()===sm?(e.pos++,e.charCode()!==Jb&&(r=jo(e))):r=t,e.eat(Jb),{min:Number(t),max:r?Number(r):0}}function O2(e){let t=null,r=!1;switch(e.charCode()){case sx:e.pos++,t={min:0,max:0};break;case im:e.pos++,t={min:1,max:0};break;case rm:e.pos++,t={min:0,max:1};break;case nm:e.pos++,r=!0,e.charCode()===Bo?t=rx(e):e.charCode()===rm?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Bo:t=rx(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function Ci(e,t){let r=O2(e);return r!==null?(r.term=t,e.charCode()===nm&&e.charCodeAt(e.pos-1)===im?Ci(e,r):r):t}function tm(e){let t=e.peek();return t===""?null:{type:"Token",value:t}}function N2(e){let t;return e.eat(am),e.eat(Do),t=$i(e),e.eat(Do),e.eat(ax),Ci(e,{type:"Property",name:t})}function D2(e){let t=null,r=null,n=1;return e.eat(Vo),e.charCode()===Xb&&(e.peek(),n=-1),n==-1&&e.charCode()===ex?e.peek():(t=n*Number(jo(e)),ws[e.charCode()]!==0&&(t+=$i(e))),Fo(e),e.eat(sm),Fo(e),e.charCode()===ex?e.peek():(n=1,e.charCode()===Xb&&(e.peek(),n=-1),r=n*Number(jo(e)),ws[e.charCode()]!==0&&(r+=$i(e))),e.eat(om),{type:"Range",min:t,max:r}}function B2(e){let t,r=null;return e.eat(am),t=$i(e),e.charCode()===ix&&e.nextCharCode()===L2&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Vo&&(Fo(e),r=D2(e)),e.eat(ax),Ci(e,{type:"Type",name:t,opts:r})}function F2(e){let t=$i(e);return e.charCode()===ix?(e.pos++,{type:"Function",name:t}):Ci(e,{type:"Keyword",name:t})}function j2(e,t){function r(i,s){return{type:"Group",terms:i,combinator:s,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,s)=>tx[i]-tx[s]);t.length>0;){n=t.shift();let i=0,s=0;for(;i<e.length;i++){let a=e[i];a.type==="Combinator"&&(a.value===n?(s===-1&&(s=i-1),e.splice(i,1),i--):(s!==-1&&i-s>1&&(e.splice(s,i-s,r(e.slice(s,i),n)),i=s+1),s=-1))}s!==-1&&t.length&&e.splice(s,i-s,r(e.slice(s,i),n))}return n}function ox(e){let t=[],r={},n,i=null,s=e.pos;for(;n=H2(e);)n.type!=="Spaces"&&(n.type==="Combinator"?((i===null||i.type==="Combinator")&&(e.pos=s,e.error("Unexpected combinator")),r[n.value]=!0):i!==null&&i.type!=="Combinator"&&(r[" "]=!0,t.push({type:"Combinator",value:" "})),t.push(n),i=n,s=e.pos);return i!==null&&i.type==="Combinator"&&(e.pos-=s,e.error("Unexpected combinator")),{type:"Group",terms:t,combinator:j2(t,r)||" ",disallowEmpty:!1,explicit:!1}}function V2(e){let t;return e.eat(Vo),t=ox(e),e.eat(om),t.explicit=!0,e.charCode()===nx&&(e.pos++,t.disallowEmpty=!0),t}function H2(e){let t=e.charCode();if(t<128&&ws[t]===1)return F2(e);switch(t){case om:break;case Vo:return Ci(e,V2(e));case am:return e.nextCharCode()===Do?N2(e):B2(e);case Zb:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===Zb?2:1))};case Qb:return e.pos++,e.eat(Qb),{type:"Combinator",value:"&&"};case sm:return e.pos++,{type:"Comma"};case Do:return Ci(e,{type:"String",value:I2(e)});case T2:case R2:case P2:case q2:case A2:return{type:"Spaces",value:Fo(e)};case M2:return t=e.nextCharCode(),t<128&&ws[t]===1?(e.pos++,{type:"AtKeyword",name:$i(e)}):tm(e);case sx:case im:case rm:case nm:case nx:break;case Bo:if(t=e.nextCharCode(),t<48||t>57)return tm(e);break;default:return tm(e)}}function ks(e){let t=new No(e),r=ox(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}l();var $s=function(){};function lx(e){return typeof e=="function"?e:$s}function lm(e,t,r){function n(a){switch(i.call(r,a),a.type){case"Group":a.terms.forEach(n);break;case"Multiplier":n(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}s.call(r,a)}let i=$s,s=$s;if(typeof t=="function"?i=t:t&&(i=lx(t.enter),s=lx(t.leave)),i===$s&&s===$s)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");n(e,r)}l();var z2={decorator(e){let t=[],r=null;return{...e,node(n){let i=r;r=n,e.node.call(this,n),r=i},emit(n,i,s){t.push({type:i,value:n,node:s?null:r})},result(){return t}}}};function G2(e){let t=[];return hn(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function ux(e,t){return typeof e=="string"?G2(e):t.generate(e,z2)}l();var Oe={type:"Match"},je={type:"Mismatch"},Ho={type:"DisallowEmpty"},W2=40,Y2=41;function Ct(e,t,r){return t===Oe&&r===je||e===Oe&&t===Oe&&r===Oe?e:(e.type==="If"&&e.else===je&&t===Oe&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function dx(e){return e.length>2&&e.charCodeAt(e.length-2)===W2&&e.charCodeAt(e.length-1)===Y2}function cx(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&dx(e.name)}function um(e,t,r){switch(e){case" ":{let n=Oe;for(let i=t.length-1;i>=0;i--){let s=t[i];n=Ct(s,n,je)}return n}case"|":{let n=je,i=null;for(let s=t.length-1;s>=0;s--){let a=t[s];if(cx(a)&&(i===null&&s>0&&cx(t[s-1])&&(i=Object.create(null),n=Ct({type:"Enum",map:i},Oe,n)),i!==null)){let u=(dx(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(u in i)){i[u]=a;continue}}i=null,n=Ct(a,Oe,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=je;for(let i=t.length-1;i>=0;i--){let s=t[i],a;t.length>1?a=um(e,t.filter(function(u){return u!==s}),!1):a=Oe,n=Ct(s,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?Oe:je;for(let i=t.length-1;i>=0;i--){let s=t[i],a;t.length>1?a=um(e,t.filter(function(u){return u!==s}),!0):a=Oe,n=Ct(s,a,n)}return n}}}function K2(e){let t=Oe,r=cm(e.term);if(e.max===0)r=Ct(r,Ho,je),t=Ct(r,null,je),t.then=Ct(Oe,Oe,t),e.comma&&(t.then.else=Ct({type:"Comma",syntax:e},t,je));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==Oe&&(t=Ct({type:"Comma",syntax:e},t,je)),t=Ct(r,Ct(Oe,Oe,t),je);if(e.min===0)t=Ct(Oe,Oe,t);else for(let n=0;n<e.min-1;n++)e.comma&&t!==Oe&&(t=Ct({type:"Comma",syntax:e},t,je)),t=Ct(r,t,je);return t}function cm(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=um(e.combinator,e.terms.map(cm),!1);return e.disallowEmpty&&(t=Ct(t,Ho,je)),t}case"Multiplier":return K2(e);case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function Uo(e,t){return typeof e=="string"&&(e=ks(e)),{type:"MatchGraph",match:cm(e),syntax:t||null,source:e}}l();var{hasOwnProperty:px}=Object.prototype,Q2=0,X2=1,pm=2,gx=3,hx="Match",Z2="Mismatch",J2="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",fx=15e3,eP=0;function tP(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function dm(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let n=t.charCodeAt(r),i=e.charCodeAt(r);if(i>=65&&i<=90&&(i=i|32),i!==n)return!1}return!0}function rP(e){return e.type!==9?!1:e.value!=="?"}function mx(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||rP(e)}function _x(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function nP(e,t,r){function n(){do C++,$=C<e.length?e[C]:null;while($!==null&&($.type===13||$.type===25))}function i(H){let Y=C+H;return Y<e.length?e[Y]:null}function s(H,Y){return{nextState:H,matchStack:E,syntaxStack:p,thenStack:f,tokenIndex:C,prev:Y}}function a(H){f={nextState:H,matchStack:E,syntaxStack:p,prev:f}}function u(H){m=s(H,m)}function o(){E={type:X2,syntax:t.syntax,token:$,prev:E},n(),y=null,C>R&&(R=C)}function c(){p={syntax:t.syntax,opts:t.syntax.opts||p!==null&&p.opts||null,prev:p},E={type:pm,syntax:t.syntax,token:E.token,prev:E}}function d(){E.type===pm?E=E.prev:E={type:gx,syntax:p.syntax,token:E.token,prev:E},p=p.prev}let p=null,f=null,m=null,y=null,w=0,b=null,$=null,C=-1,R=0,E={type:Q2,syntax:null,token:null,prev:null};for(n();b===null&&++w<fx;)switch(t.type){case"Match":if(f===null){if($!==null&&(C!==e.length-1||$.value!=="\\0"&&$.value!=="\\9")){t=je;break}b=hx;break}if(t=f.nextState,t===Ho)if(f.matchStack===E){t=je;break}else t=Oe;for(;f.syntaxStack!==p;)d();f=f.prev;break;case"Mismatch":if(y!==null&&y!==!1)(m===null||C>m.tokenIndex)&&(m=y,y=!1);else if(m===null){b=Z2;break}t=m.nextState,f=m.thenStack,p=m.syntaxStack,E=m.matchStack,C=m.tokenIndex,$=C<e.length?e[C]:null,m=m.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==je&&u(t.else),t.then!==Oe&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{let P=t.syntax.terms;if(t.index===P.length){if(t.mask===0||t.syntax.all){t=je;break}t=Oe;break}if(t.mask===(1<<P.length)-1){t=Oe;break}for(;t.index<P.length;t.index++){let j=1<<t.index;if(!(t.mask&j)){u(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|j}),t=P[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if($!==null){let P=$.value.toLowerCase();if(P.indexOf("\\")!==-1&&(P=P.replace(/\\[09].*$/,"")),px.call(t.map,P)){t=t.map[P];break}}t=je;break;case"Generic":{let P=p!==null?p.opts:null,j=C+Math.floor(t.fn($,i,P));if(!isNaN(j)&&j>C){for(;C<j;)o();t=Oe}else t=je;break}case"Type":case"Property":{let P=t.type==="Type"?"types":"properties",j=px.call(r,P)?r[P][t.name]:null;if(!j||!j.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(y!==!1&&$!==null&&t.type==="Type"&&(t.name==="custom-ident"&&$.type===1||t.name==="length"&&$.value==="0")){y===null&&(y=s(t,m)),t=je;break}c(),t=j.match;break}case"Keyword":{let P=t.name;if($!==null){let j=$.value;if(j.indexOf("\\")!==-1&&(j=j.replace(/\\[09].*$/,"")),dm(j,P)){o(),t=Oe;break}}t=je;break}case"AtKeyword":case"Function":if($!==null&&dm($.value,t.name)){o(),t=Oe;break}t=je;break;case"Token":if($!==null&&$.value===t.value){o(),t=Oe;break}t=je;break;case"Comma":$!==null&&$.type===18?mx(E.token)?t=je:(o(),t=_x($)?je:Oe):t=mx(E.token)||_x($)?Oe:je;break;case"String":let H="",Y=C;for(;Y<e.length&&H.length<t.value.length;Y++)H+=e[Y].value;if(dm(H,t.value)){for(;C<Y;)o();t=Oe}else t=je;break;default:throw new Error("Unknown node type: "+t.type)}switch(eP+=w,b){case null:console.warn("[csstree-match] BREAK after "+fx+" iterations"),b=J2,E=null;break;case hx:for(;p!==null;)d();break;default:E=null}return{tokens:e,reason:b,iterations:w,match:E,longestMatch:R}}function hm(e,t,r){let n=nP(e,t,r||{});if(n.match===null)return n;let i=n.match,s=n.match={syntax:t.syntax||null,match:[]},a=[s];for(i=tP(i).prev;i!==null;){switch(i.type){case pm:s.match.push(s={syntax:i.syntax,match:[]}),a.push(s);break;case gx:a.pop(),s=a[a.length-1];break;default:s.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return n}var mm={};de(mm,{getTrace:()=>vx,isKeyword:()=>aP,isProperty:()=>sP,isType:()=>iP});l();function vx(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function r(i){if(Array.isArray(i.match)){for(let s=0;s<i.match.length;s++)if(r(i.match[s]))return t(i.syntax)&&n.unshift(i.syntax),!0}else if(i.node===e)return n=t(i.syntax)?[i.syntax]:[],!0;return!1}let n=null;return this.matched!==null&&r(this.matched),n}function iP(e,t){return fm(this,e,r=>r.type==="Type"&&r.name===t)}function sP(e,t){return fm(this,e,r=>r.type==="Property"&&r.name===t)}function aP(e){return fm(this,e,t=>t.type==="Keyword")}function fm(e,t,r){let n=vx.call(e,t);return n===null?!1:n.some(r)}l();function yx(e){return"node"in e?e.node:yx(e.match[0])}function bx(e){return"node"in e?e.node:bx(e.match[e.match.length-1])}function _m(e,t,r,n,i){function s(u){if(u.syntax!==null&&u.syntax.type===n&&u.syntax.name===i){let o=yx(u),c=bx(u);e.syntax.walk(t,function(d,p,f){if(d===o){let m=new Mt;do{if(m.appendData(p.data),p.data===c)break;p=p.next}while(p!==null);a.push({parent:f,nodes:m})}})}Array.isArray(u.match)&&u.match.forEach(s)}let a=[];return r.matched!==null&&s(r.matched),a}l();var{hasOwnProperty:Cs}=Object.prototype;function gm(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function xx(e){return!!e&&gm(e.offset)&&gm(e.line)&&gm(e.column)}function oP(e,t){return function(n,i){if(!n||n.constructor!==Object)return i(n,"Type of node should be an Object");for(let s in n){let a=!0;if(Cs.call(n,s)!==!1){if(s==="type")n.type!==e&&i(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(s==="loc"){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object)if(typeof n.loc.source!="string")s+=".source";else if(!xx(n.loc.start))s+=".start";else if(!xx(n.loc.end))s+=".end";else continue;a=!1}else if(t.hasOwnProperty(s)){a=!1;for(let u=0;!a&&u<t[s].length;u++){let o=t[s][u];switch(o){case String:a=typeof n[s]=="string";break;case Boolean:a=typeof n[s]=="boolean";break;case null:a=n[s]===null;break;default:typeof o=="string"?a=n[s]&&n[s].type===o:Array.isArray(o)&&(a=n[s]instanceof Mt)}}}else i(n,"Unknown field `"+s+"` for "+e+" node type");a||i(n,"Bad value for `"+e+"."+s+"`")}}for(let s in t)Cs.call(t,s)&&Cs.call(n,s)===!1&&i(n,"Field `"+e+"."+s+"` is missed")}}function lP(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let s in r){if(Cs.call(r,s)===!1)continue;let a=[],u=n[s]=Array.isArray(r[s])?r[s].slice():[r[s]];for(let o=0;o<u.length;o++){let c=u[o];if(c===String||c===Boolean)a.push(c.name);else if(c===null)a.push("null");else if(typeof c=="string")a.push("<"+c+">");else if(Array.isArray(c))a.push("List");else throw new Error("Wrong value `"+c+"` in `"+e+"."+s+"` structure definition")}i[s]=a.join(" | ")}return{docs:i,check:oP(e,n)}}function wx(e){let t={};if(e.node){for(let r in e.node)if(Cs.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=lP(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var uP=Uo(Lo.join(" | "));function vm(e,t,r){let n={};for(let i in e)e[i].syntax&&(n[i]=r?e[i].syntax:bi(e[i].syntax,{compact:t}));return n}function cP(e,t,r){let n={};for(let[i,s]of Object.entries(e))n[i]={prelude:s.prelude&&(r?s.prelude.syntax:bi(s.prelude.syntax,{compact:t})),descriptors:s.descriptors&&vm(s.descriptors,t,r)};return n}function dP(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function yr(e,t,r){return{matched:e,iterations:r,error:t,...mm}}function Si(e,t,r,n){let i=ux(r,e.syntax),s;return dP(i)?yr(null,new Error("Matching for a tree with var() is not supported")):(n&&(s=hm(i,e.cssWideKeywordsSyntax,e)),(!n||!s.match)&&(s=hm(i,t.match,e),!s.match)?yr(null,new jb(s.reason,t.syntax,r,s),s.iterations):yr(s.match,null,s.iterations))}var Ei=class{constructor(t,r,n){if(this.cssWideKeywordsSyntax=uP,this.syntax=r,this.generic=!1,this.units={...Oo},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||wx(t),t){if(t.units)for(let i of Object.keys(Oo))Array.isArray(t.units[i])&&(this.units[i]=t.units[i]);if(t.types)for(let i in t.types)this.addType_(i,t.types[i]);if(t.generic){this.generic=!0;for(let[i,s]of Object.entries(Kb(this.units)))this.addType_(i,s)}if(t.atrules)for(let i in t.atrules)this.addAtrule_(i,t.atrules[i]);if(t.properties)for(let i in t.properties)this.addProperty_(i,t.properties[i])}}checkStructure(t){function r(s,a){i.push({node:s,message:a})}let n=this.structure,i=[];return this.syntax.walk(t,function(s){n.hasOwnProperty(s.type)?n[s.type].check(s,r):r(s,"Unknown node type `"+s.type+"`")}),i.length?i:!1}createDescriptor(t,r,n,i=null){let s={type:r,name:n},a={type:r,name:n,parent:i,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null};return typeof t=="function"?a.match=Uo(t,s):(typeof t=="string"?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:ks(t)}),a.syntax}}):a.syntax=t,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:Uo(a.syntax,s)}),a.match}})),a}addAtrule_(t,r){r&&(this.atrules[t]={type:"Atrule",name:t,prelude:r.prelude?this.createDescriptor(r.prelude,"AtrulePrelude",t):null,descriptors:r.descriptors?Object.keys(r.descriptors).reduce((n,i)=>(n[i]=this.createDescriptor(r.descriptors[i],"AtruleDescriptor",i,t),n),Object.create(null)):null})}addProperty_(t,r){r&&(this.properties[t]=this.createDescriptor(r,"Property",t))}addType_(t,r){r&&(this.types[t]=this.createDescriptor(r,"Type",t))}checkAtruleName(t){if(!this.getAtrule(t))return new xi("Unknown at-rule","@"+t)}checkAtrulePrelude(t,r){let n=this.checkAtruleName(t);if(n)return n;let i=this.getAtrule(t);if(!i.prelude&&r)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(i.prelude&&!r&&!Si(this,i.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,r){let n=this.checkAtruleName(t);if(n)return n;let i=this.getAtrule(t),s=qo(r);if(!i.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!i.descriptors[s.name]&&!i.descriptors[s.basename])return new xi("Unknown at-rule descriptor",r)}checkPropertyName(t){if(!this.getProperty(t))return new xi("Unknown property",t)}matchAtrulePrelude(t,r){let n=this.checkAtrulePrelude(t,r);if(n)return yr(null,n);let i=this.getAtrule(t);return i.prelude?Si(this,i.prelude,r||"",!1):yr(null,null)}matchAtruleDescriptor(t,r,n){let i=this.checkAtruleDescriptorName(t,r);if(i)return yr(null,i);let s=this.getAtrule(t),a=qo(r);return Si(this,s.descriptors[a.name]||s.descriptors[a.basename],n,!1)}matchDeclaration(t){return t.type!=="Declaration"?yr(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,r){if(Gf(t).custom)return yr(null,new Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(t);return n?yr(null,n):Si(this,this.getProperty(t),r,!0)}matchType(t,r){let n=this.getType(t);return n?Si(this,n,r,!1):yr(null,new xi("Unknown type",t))}match(t,r){return typeof t!="string"&&(!t||!t.type)?yr(null,new xi("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),Si(this,t,r,!1))}findValueFragments(t,r,n,i){return _m(this,r,this.matchProperty(t,r),n,i)}findDeclarationValueFragments(t,r,n){return _m(this,t.value,this.matchDeclaration(t),r,n)}findAllFragments(t,r,n){let i=[];return this.syntax.walk(t,{visit:"Declaration",enter:s=>{i.push.apply(i,this.findDeclarationValueFragments(s,r,n))}}),i}getAtrule(t,r=!0){let n=qo(t);return(n.vendor&&r?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(t,r=!0){let n=this.getAtrule(t,r);return n&&n.prelude||null}getAtruleDescriptor(t,r){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[r]||null}getProperty(t,r=!0){let n=Gf(t);return(n.vendor&&r?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(i,s,a,u){if(a.has(s))return a.get(s);a.set(s,!1),u.syntax!==null&&lm(u.syntax,function(o){if(o.type!=="Type"&&o.type!=="Property")return;let c=o.type==="Type"?i.types:i.properties,d=o.type==="Type"?r:n;(!hasOwnProperty.call(c,o.name)||t(i,o.name,d,c[o.name]))&&a.set(s,!0)},this)}let r=new Map,n=new Map;for(let i in this.types)t(this,i,r,this.types[i]);for(let i in this.properties)t(this,i,n,this.properties[i]);return r=[...r.keys()].filter(i=>r.get(i)),n=[...n.keys()].filter(i=>n.get(i)),r.length||n.length?{types:r,properties:n}:null}dump(t,r){return{generic:this.generic,units:this.units,types:vm(this.types,!r,t),properties:vm(this.properties,!r,t),atrules:cP(this.atrules,!r,t)}}toString(){return JSON.stringify(this.dump())}};l();function ym(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function kx(e,t){let r=Object.create(null);for(let[n,i]of Object.entries(e))if(i){r[n]={};for(let s of Object.keys(i))t.includes(s)&&(r[n][s]=i[s])}return r}function Ss(e,t){let r={...e};for(let[n,i]of Object.entries(t))switch(n){case"generic":r[n]=!!i;break;case"units":r[n]={...e[n]};for(let[s,a]of Object.entries(i))r[n][s]=Array.isArray(a)?a:[];break;case"atrules":r[n]={...e[n]};for(let[s,a]of Object.entries(i)){let u=r[n][s]||{},o=r[n][s]={prelude:u.prelude||null,descriptors:{...u.descriptors}};if(a){o.prelude=a.prelude?ym(o.prelude,a.prelude):o.prelude||null;for(let[c,d]of Object.entries(a.descriptors||{}))o.descriptors[c]=d?ym(o.descriptors[c],d):null;Object.keys(o.descriptors).length||(o.descriptors=null)}}break;case"types":case"properties":r[n]={...e[n]};for(let[s,a]of Object.entries(i))r[n][s]=ym(r[n][s],a);break;case"scope":r[n]={...e[n]};for(let[s,a]of Object.entries(i))r[n][s]={...r[n][s],...a};break;case"parseContext":r[n]={...e[n],...i};break;case"atrule":case"pseudo":r[n]={...e[n],...kx(i,["parse"])};break;case"node":r[n]={...e[n],...kx(i,["name","structure","parse","generate","walkContext"])};break}return r}function $x(e){let t=lb(e),r=Bb(e),n=Lb(e),{fromPlainObject:i,toPlainObject:s}=Mb(r),a={lexer:null,createLexer:u=>new Ei(u,a,a.lexer.structure),tokenize:hn,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:s,fork(u){let o=Ss({},e);return $x(typeof u=="function"?u(o,Object.assign):Ss(o,u))}};return a.lexer=new Ei({generic:!0,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var bm=e=>$x(Ss({},e));l();l();var Cx={generic:!0,units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|vertical|horizontal","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<circle()>|<ellipse()>|<polygon()>|<path()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<hex-color>|<named-color>|currentcolor|<deprecated-system-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>* [<pseudo-element-selector> <pseudo-class-selector>*]*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<compound-selector> [<combinator>? <compound-selector>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,\u221E]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value> )]|( <ident> <any-value> )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","line-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","name-repeat":"repeat( [<integer [1,\u221E]>|auto-fill] , <line-names>+ )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"<ident>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( [<length [0,\u221E]>|none] )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pow()":"pow( <calc-sum> , <calc-sum> )","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )",ratio:"<number [0,\u221E]> [/ <number [0,\u221E]>]?","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( <number-percentage> )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )",scroller:"root|nearest","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","sign()":"sign( <calc-sum> )","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( <calc-sum> )","single-animation":"<time>||<easing-function>||<time>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<timeline-name>|scroll( <axis>? <scroller>? )","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timeline-name":"<custom-ident>|<string>","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,\u221E]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-width":"fill-available|min-intrinsic|intrinsic|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content|-webkit-min-content|-webkit-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-webkit-mask-clip-style":"border|border-box|padding|padding-box|content|content-box|text","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )","-ms-filter":"<string>",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral",left:"<length>|auto","mask-image":"<mask-reference>#",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke",right:"<length>|auto","scroll-timeline-axis":"block|inline|vertical|horizontal","scroll-timeline-name":"none|<custom-ident>","single-animation-composition":"replace|add|accumulate","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,\u221E]>","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert|revert-layer",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto|<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden",background:"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-overflow":"clip|ellipsis|<string>","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end",caret:"<'caret-color'>||<'caret-shape'>","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none",color:"<color>","print-color-adjust":"economy|exact","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance|balance-all","column-gap":"normal|<length-percentage>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-size":"[none|<length>|auto <length>]{1,2}","contain-intrinsic-block-size":"none|<length>|auto <length>","contain-intrinsic-height":"none|<length>|auto <length>","contain-intrinsic-inline-size":"none|<length>|auto <length>","contain-intrinsic-width":"none|<length>|auto <length>",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?","content-visibility":"visible|auto|hidden","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","empty-cells":"show|hide",filter:"none|<filter-function-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end",font:"[[<'font-style'>||<font-variant-css21>||<'font-weight'>||<'font-stretch'>]? <'font-size'> [/ <'line-height'>]? <'font-family'>]|caption|icon|menu|message-box|small-caption|status-bar","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps]","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-weight":"<font-weight-absolute>|bolder|lighter","forced-color-adjust":"auto|none",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","hyphenate-character":"auto|<string>",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>","input-security":"auto|none",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>",isolation:"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","margin-trim":"none|in-flow|all",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|ray( [<angle>&&<size>&&contain?] )|<path()>|<url>|[<basic-shape>||<geometry-box>]","offset-position":"auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-color'>||<'outline-style'>||<'outline-width'>]","outline-color":"<color>|invert","outline-offset":"<length>","outline-style":"auto|<'border-style'>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,\u221E]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky",quotes:"none|auto|[<string> <string>]+",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"[alternate||[over|under]]|inter-character",scale:"none|<number>{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-timeline":"<scroll-timeline-name>||<scroll-timeline-axis>","scroll-timeline-axis":"block|inline|vertical|horizontal","scroll-timeline-name":"none|<custom-ident>","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"[over|under]&&[right|left]","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]",top:"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|contain|all","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|fill|stretch|intrinsic|-moz-max-content|-webkit-max-content|-moz-fit-content|-webkit-fit-content","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>","z-index":"auto|<integer>",zoom:"normal|reset|<number>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",behavior:"<url>+","clip-rule":"nonzero|evenodd",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|none|normal","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]",stroke:"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start|middle|end","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"[auto|block|swap|fallback|optional]","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-weight":"<font-weight-absolute>{1,2}","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]",size:"<length>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},property:{prelude:"<custom-property-name>",descriptors:{syntax:"<string>",inherits:"true|false","initial-value":"<string>"}},"scroll-timeline":{prelude:"<timeline-name>",descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},viewport:{prelude:null,descriptors:{height:"<viewport-length>{1,2}","max-height":"<viewport-length>","max-width":"<viewport-length>","max-zoom":"auto|<number>|<percentage>","min-height":"<viewport-length>","min-width":"<viewport-length>","min-zoom":"auto|<number>|<percentage>",orientation:"auto|portrait|landscape","user-zoom":"zoom|fixed","viewport-fit":"auto|contain|cover",width:"<viewport-length>{1,2}",zoom:"auto|<number>|<percentage>"}},nest:{prelude:"<complex-selector-list>",descriptors:null}}};var Rs={};de(Rs,{AnPlusB:()=>km,Atrule:()=>Cm,AtrulePrelude:()=>Em,AttributeSelector:()=>Am,Block:()=>Tm,Brackets:()=>Mm,CDC:()=>Om,CDO:()=>Dm,ClassSelector:()=>Fm,Combinator:()=>Vm,Comment:()=>Um,Declaration:()=>Gm,DeclarationList:()=>Km,Dimension:()=>Xm,Function:()=>Jm,Hash:()=>t_,IdSelector:()=>s_,Identifier:()=>n_,MediaFeature:()=>o_,MediaQuery:()=>u_,MediaQueryList:()=>d_,NestingSelector:()=>h_,Nth:()=>m_,Number:()=>g_,Operator:()=>y_,Parentheses:()=>x_,Percentage:()=>k_,PseudoClassSelector:()=>C_,PseudoElementSelector:()=>E_,Ratio:()=>P_,Raw:()=>q_,Rule:()=>L_,Selector:()=>I_,SelectorList:()=>N_,String:()=>F_,StyleSheet:()=>V_,TypeSelector:()=>z_,UnicodeRange:()=>Y_,Url:()=>X_,Value:()=>J_,WhiteSpace:()=>tg});l();var km={};de(km,{generate:()=>mP,name:()=>hP,parse:()=>wm,structure:()=>fP});l();var Tr=43,zt=45,zo=110,Pn=!0,pP=!1;function Go(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===Tr||n===zt)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)Ze(this.charCodeAt(r))||this.error("Integer is expected",r)}function Ri(e){return Go.call(this,0,e)}function mn(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let r="";switch(t){case zo:r="N is expected";break;case zt:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function xm(){let e=0,t=0,r=this.tokenType;for(;r===13||r===25;)r=this.lookupType(++e);if(r!==10)if(this.isDelim(Tr,e)||this.isDelim(zt,e)){t=this.isDelim(Tr,e)?Tr:zt;do r=this.lookupType(++e);while(r===13||r===25);r!==10&&(this.skip(e),Ri.call(this,Pn))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==Tr&&r!==zt&&this.error("Number sign is expected")),Ri.call(this,t!==0),t===zt?"-"+this.consume(10):this.consume(10)}var hP="AnPlusB",fP={a:[String,null],b:[String,null]};function wm(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)Ri.call(this,pP),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,zt))switch(t="-1",mn.call(this,1,zo),this.tokenEnd-this.tokenStart){case 2:this.next(),r=xm.call(this);break;case 3:mn.call(this,2,zt),this.next(),this.skipSC(),Ri.call(this,Pn),r="-"+this.consume(10);break;default:mn.call(this,2,zt),Go.call(this,3,Pn),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(Tr)&&this.lookupType(1)===1){let n=0;switch(t="1",this.isDelim(Tr)&&(n=1,this.next()),mn.call(this,0,zo),this.tokenEnd-this.tokenStart){case 1:this.next(),r=xm.call(this);break;case 2:mn.call(this,1,zt),this.next(),this.skipSC(),Ri.call(this,Pn),r="-"+this.consume(10);break;default:mn.call(this,1,zt),Go.call(this,2,Pn),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===Tr||n===zt,s=this.tokenStart+i;for(;s<this.tokenEnd&&Ze(this.charCodeAt(s));s++);s===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),mn.call(this,s-this.tokenStart,zo),t=this.substring(e,s),s+1===this.tokenEnd?(this.next(),r=xm.call(this)):(mn.call(this,s-this.tokenStart+1,zt),s+2===this.tokenEnd?(this.next(),this.skipSC(),Ri.call(this,Pn),r="-"+this.consume(10)):(Go.call(this,s-this.tokenStart+2,Pn),this.next(),r=this.substrToCursor(s+1)))}else this.error();return t!==null&&t.charCodeAt(0)===Tr&&(t=t.substr(1)),r!==null&&r.charCodeAt(0)===Tr&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}}function mP(e){if(e.a){let t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){let r=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+r)}else this.tokenize(t)}else this.tokenize(e.b)}var Cm={};de(Cm,{generate:()=>bP,name:()=>gP,parse:()=>$m,structure:()=>yP,walkContext:()=>vP});l();function Sx(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function _P(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}var gP="Atrule",vP="atrule",yP={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function $m(e=!1){let t=this.tokenStart,r,n,i=null,s=null;switch(this.eat(3),r=this.substrToCursor(t+1),n=r.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,r,e),Sx):i=Sx.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block=="function"?s=this.atrule[n].block.call(this,e):s=this.Block(_P.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:s}}function bP(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var Em={};de(Em,{generate:()=>$P,name:()=>xP,parse:()=>Sm,structure:()=>kP,walkContext:()=>wP});l();var xP="AtrulePrelude",wP="atrulePrelude",kP={children:[[]]};function Sm(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function $P(e){this.children(e)}var Am={};de(Am,{generate:()=>TP,name:()=>AP,parse:()=>Pm,structure:()=>qP});l();var CP=36,Ex=42,Wo=61,SP=94,Rm=124,EP=126;function RP(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(Ex)?(t=!0,this.next()):this.isDelim(Rm)||this.eat(1),this.isDelim(Rm)?this.charCodeAt(this.tokenStart+1)!==Wo?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function PP(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==Wo&&t!==EP&&t!==SP&&t!==CP&&t!==Ex&&t!==Rm&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Wo&&(this.isDelim(Wo)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}var AP="AttributeSelector",qP={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function Pm(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=RP.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=PP.call(this),this.skipSC(),n=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(i=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:r,value:n,flags:i}}function TP(e){this.token(9,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,"]")}var Tm={};de(Tm,{generate:()=>DP,name:()=>IP,parse:()=>qm,structure:()=>NP,walkContext:()=>OP});l();var LP=38;function Ax(e){return this.Raw(e,null,!0)}function Rx(){return this.parseWithFallback(this.Rule,Ax)}function Px(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function MP(){if(this.tokenType===17)return Px.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,Px);return this.tokenType===17&&this.next(),e}var IP="Block",OP="block",NP={children:[["Atrule","Rule","Declaration"]]};function qm(e){let t=e?MP:Rx,r=this.tokenStart,n=this.createList();this.eat(23);e:for(;!this.eof;)switch(this.tokenType){case 24:break e;case 13:case 25:this.next();break;case 3:n.push(this.parseWithFallback(this.Atrule.bind(this,e),Ax));break;default:e&&this.isDelim(LP)?n.push(Rx.call(this)):n.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function DP(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var Mm={};de(Mm,{generate:()=>jP,name:()=>BP,parse:()=>Lm,structure:()=>FP});l();var BP="Brackets",FP={children:[[]]};function Lm(e,t){let r=this.tokenStart,n=null;return this.eat(19),n=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function jP(e){this.token(9,"["),this.children(e),this.token(9,"]")}var Om={};de(Om,{generate:()=>UP,name:()=>VP,parse:()=>Im,structure:()=>HP});l();var VP="CDC",HP=[];function Im(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function UP(){this.token(15,"-->")}var Dm={};de(Dm,{generate:()=>WP,name:()=>zP,parse:()=>Nm,structure:()=>GP});l();var zP="CDO",GP=[];function Nm(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function WP(){this.token(14,"<!--")}var Fm={};de(Fm,{generate:()=>XP,name:()=>KP,parse:()=>Bm,structure:()=>QP});l();var YP=46,KP="ClassSelector",QP={name:String};function Bm(){return this.eatDelim(YP),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function XP(e){this.token(9,"."),this.token(1,e.name)}var Vm={};de(Vm,{generate:()=>nA,name:()=>tA,parse:()=>jm,structure:()=>rA});l();var ZP=43,qx=47,JP=62,eA=126,tA="Combinator",rA={name:String};function jm(){let e=this.tokenStart,t;switch(this.tokenType){case 13:t=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case JP:case ZP:case eA:this.next();break;case qx:this.next(),this.eatIdent("deep"),this.eatDelim(qx);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function nA(e){this.tokenize(e.name)}var Um={};de(Um,{generate:()=>lA,name:()=>aA,parse:()=>Hm,structure:()=>oA});l();var iA=42,sA=47,aA="Comment",oA={value:String};function Hm(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===iA&&this.charCodeAt(t-1)===sA&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function lA(e){this.token(25,"/*"+e.value+"*/")}var Gm={};de(Gm,{generate:()=>bA,name:()=>gA,parse:()=>zm,structure:()=>yA,walkContext:()=>vA});l();var Lx=33,uA=35,cA=36,dA=38,pA=42,hA=43,Tx=47;function fA(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function mA(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function _A(){let e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==17&&this.isDelim(Lx)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}var gA="Declaration",vA="declaration",yA={important:[Boolean,String],property:String,value:["Value","Raw"]};function zm(){let e=this.tokenStart,t=this.tokenIndex,r=xA.call(this),n=To(r),i=n?this.parseCustomProperty:this.parseValue,s=n?mA:fA,a=!1,u;this.skipSC(),this.eat(16);let o=this.tokenIndex;if(n||this.skipSC(),i?u=this.parseWithFallback(_A,s):u=s.call(this,this.tokenIndex),n&&u.type==="Value"&&u.children.isEmpty){for(let c=o-this.tokenIndex;c<=0;c++)if(this.lookupType(c)===13){u.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(Lx)&&(a=wA.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==17&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:r,value:u}}function bA(e){this.token(1,e.property),this.token(16,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,e.important===!0?"important":e.important))}function xA(){let e=this.tokenStart;if(this.tokenType===9)switch(this.charCodeAt(this.tokenStart)){case pA:case cA:case hA:case uA:case dA:this.next();break;case Tx:this.next(),this.isDelim(Tx)&&this.next();break}return this.tokenType===4?this.eat(4):this.eat(1),this.substrToCursor(e)}function wA(){this.eat(9),this.skipSC();let e=this.consume(1);return e==="important"?!0:e}var Km={};de(Km,{generate:()=>SA,name:()=>$A,parse:()=>Ym,structure:()=>CA});l();var kA=38;function Wm(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var $A="DeclarationList",CA={children:[["Declaration","Atrule","Rule"]]};function Ym(){let e=this.createList();for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),Wm));break;default:this.isDelim(kA)?e.push(this.parseWithFallback(this.Rule,Wm)):e.push(this.parseWithFallback(this.Declaration,Wm))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function SA(e){this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")})}var Xm={};de(Xm,{generate:()=>PA,name:()=>EA,parse:()=>Qm,structure:()=>RA});l();var EA="Dimension",RA={value:String,unit:String};function Qm(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function PA(e){this.token(12,e.value+e.unit)}var Jm={};de(Jm,{generate:()=>LA,name:()=>AA,parse:()=>Zm,structure:()=>TA,walkContext:()=>qA});l();var AA="Function",qA="function",TA={name:String,children:[[]]};function Zm(e,t){let r=this.tokenStart,n=this.consumeFunctionName(),i=n.toLowerCase(),s;return s=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:n,children:s}}function LA(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var t_={};de(t_,{generate:()=>NA,name:()=>IA,parse:()=>e_,structure:()=>OA,xxx:()=>MA});l();var MA="XXX",IA="Hash",OA={value:String};function e_(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function NA(e){this.token(4,"#"+e.value)}var n_={};de(n_,{generate:()=>FA,name:()=>DA,parse:()=>r_,structure:()=>BA});l();var DA="Identifier",BA={name:String};function r_(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function FA(e){this.token(1,e.name)}var s_={};de(s_,{generate:()=>HA,name:()=>jA,parse:()=>i_,structure:()=>VA});l();var jA="IdSelector",VA={name:String};function i_(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function HA(e){this.token(9,"#"+e.name)}var o_={};de(o_,{generate:()=>GA,name:()=>UA,parse:()=>a_,structure:()=>zA});l();var UA="MediaFeature",zA={name:String,value:["Identifier","Number","Dimension","Ratio",null]};function a_(){let e=this.tokenStart,t,r=null;if(this.eat(21),this.skipSC(),t=this.consume(1),this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:this.lookupNonWSType(1)===9?r=this.Ratio():r=this.Number();break;case 12:r=this.Dimension();break;case 1:r=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(22),{type:"MediaFeature",loc:this.getLocation(e,this.tokenStart),name:t,value:r}}function GA(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var u_={};de(u_,{generate:()=>KA,name:()=>WA,parse:()=>l_,structure:()=>YA});l();var WA="MediaQuery",YA={children:[["Identifier","MediaFeature","WhiteSpace"]]};function l_(){let e=this.createList(),t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t=this.Identifier();break;case 21:t=this.MediaFeature();break;default:break e}e.push(t)}return t===null&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}}function KA(e){this.children(e)}var d_={};de(d_,{generate:()=>ZA,name:()=>QA,parse:()=>c_,structure:()=>XA});l();var QA="MediaQueryList",XA={children:[["MediaQuery"]]};function c_(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===18);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function ZA(e){this.children(e,()=>this.token(18,","))}var h_={};de(h_,{generate:()=>rq,name:()=>eq,parse:()=>p_,structure:()=>tq});l();var JA=38,eq="NestingSelector",tq={};function p_(){let e=this.tokenStart;return this.eatDelim(JA),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function rq(){this.token(9,"&")}var m_={};de(m_,{generate:()=>sq,name:()=>nq,parse:()=>f_,structure:()=>iq});l();var nq="Nth",iq={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function f_(){this.skipSC();let e=this.tokenStart,t=e,r=null,n;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?n=this.Identifier():n=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:n,selector:r}}function sq(e){this.node(e.nth),e.selector!==null&&(this.token(1,"of"),this.node(e.selector))}var g_={};de(g_,{generate:()=>lq,name:()=>aq,parse:()=>__,structure:()=>oq});l();var aq="Number",oq={value:String};function __(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function lq(e){this.token(10,e.value)}var y_={};de(y_,{generate:()=>dq,name:()=>uq,parse:()=>v_,structure:()=>cq});l();var uq="Operator",cq={value:String};function v_(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function dq(e){this.tokenize(e.value)}var x_={};de(x_,{generate:()=>fq,name:()=>pq,parse:()=>b_,structure:()=>hq});l();var pq="Parentheses",hq={children:[[]]};function b_(e,t){let r=this.tokenStart,n=null;return this.eat(21),n=e.call(this,t),this.eof||this.eat(22),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function fq(e){this.token(21,"("),this.children(e),this.token(22,")")}var k_={};de(k_,{generate:()=>gq,name:()=>mq,parse:()=>w_,structure:()=>_q});l();var mq="Percentage",_q={value:String};function w_(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function gq(e){this.token(11,e.value+"%")}var C_={};de(C_,{generate:()=>xq,name:()=>vq,parse:()=>$_,structure:()=>bq,walkContext:()=>yq});l();var vq="PseudoClassSelector",yq="function",bq={name:String,children:[["Raw"],null]};function $_(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function xq(e){this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var E_={};de(E_,{generate:()=>Cq,name:()=>wq,parse:()=>S_,structure:()=>$q,walkContext:()=>kq});l();var wq="PseudoElementSelector",kq="function",$q={name:String,children:[["Raw"],null]};function S_(){let e=this.tokenStart,t=null,r,n;return this.eat(16),this.eat(16),this.tokenType===2?(r=this.consumeFunctionName(),n=r.toLowerCase(),hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):r=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function Cq(e){this.token(16,":"),this.token(16,":"),e.children===null?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var P_={};de(P_,{generate:()=>Aq,name:()=>Rq,parse:()=>R_,structure:()=>Pq});l();var Sq=47,Eq=46;function Mx(){this.skipSC();let e=this.consume(10);for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);!Ze(r)&&r!==Eq&&this.error("Unsigned number is expected",this.tokenStart-e.length+t)}return Number(e)===0&&this.error("Zero number is not allowed",this.tokenStart-e.length),e}var Rq="Ratio",Pq={left:String,right:String};function R_(){let e=this.tokenStart,t=Mx.call(this),r;return this.skipSC(),this.eatDelim(Sq),r=Mx.call(this),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function Aq(e){this.token(10,e.left),this.token(9,"/"),this.token(10,e.right)}var q_={};de(q_,{generate:()=>Mq,name:()=>Tq,parse:()=>A_,structure:()=>Lq});l();function qq(){return this.tokenIndex>0&&this.lookupType(-1)===13?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var Tq="Raw",Lq={value:String};function A_(e,t,r){let n=this.getTokenStart(e),i;return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),r&&this.tokenStart>n?i=qq.call(this):i=this.tokenStart,{type:"Raw",loc:this.getLocation(n,i),value:this.substring(n,i)}}function Mq(e){this.tokenize(e.value)}var L_={};de(L_,{generate:()=>Bq,name:()=>Oq,parse:()=>T_,structure:()=>Dq,walkContext:()=>Nq});l();function Ix(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function Iq(){let e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==23&&this.error(),e}var Oq="Rule",Nq="rule",Dq={prelude:["SelectorList","Raw"],block:["Block"]};function T_(){let e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(Iq,Ix):r=Ix.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function Bq(e){this.node(e.prelude),this.node(e.block)}var I_={};de(I_,{generate:()=>Vq,name:()=>Fq,parse:()=>M_,structure:()=>jq});l();var Fq="Selector",jq={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]};function M_(){let e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function Vq(e){this.children(e)}var N_={};de(N_,{generate:()=>Gq,name:()=>Hq,parse:()=>O_,structure:()=>zq,walkContext:()=>Uq});l();var Hq="SelectorList",Uq="selector",zq={children:[["Selector","Raw"]]};function O_(){let e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===18){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function Gq(e){this.children(e,()=>this.token(18,","))}var F_={};de(F_,{generate:()=>Kq,name:()=>Wq,parse:()=>B_,structure:()=>Yq});l();l();var D_=92,Ox=34,Nx=39;function Yo(e){let t=e.length,r=e.charCodeAt(0),n=r===Ox||r===Nx?1:0,i=n===1&&t>1&&e.charCodeAt(t-1)===r?t-2:t-1,s="";for(let a=n;a<=i;a++){let u=e.charCodeAt(a);if(u===D_){if(a===i){a!==t-1&&(s=e.substr(a+1));break}if(u=e.charCodeAt(++a),Lt(D_,u)){let o=a-1,c=Ar(e,o);a=c-1,s+=ds(e.substring(o+1,c))}else u===13&&e.charCodeAt(a+1)===10&&a++}else s+=e[a]}return s}function Dx(e,t){let r=t?"'":'"',n=t?Nx:Ox,i="",s=!1;for(let a=0;a<e.length;a++){let u=e.charCodeAt(a);if(u===0){i+="\uFFFD";continue}if(u<=31||u===127){i+="\\"+u.toString(16),s=!0;continue}u===n||u===D_?(i+="\\"+e.charAt(a),s=!1):(s&&(Vt(u)||Pr(u))&&(i+=" "),i+=e.charAt(a),s=!1)}return r+i+r}var Wq="String",Yq={value:String};function B_(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Yo(this.consume(5))}}function Kq(e){this.token(5,Dx(e.value))}var V_={};de(V_,{generate:()=>eT,name:()=>Xq,parse:()=>j_,structure:()=>Jq,walkContext:()=>Zq});l();var Qq=33;function Fx(e){return this.Raw(e,null,!1)}var Xq="StyleSheet",Zq="stylesheet",Jq={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function j_(){let e=this.tokenStart,t=this.createList(),r;for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==Qq){this.next();continue}r=this.Comment();break;case 14:r=this.CDO();break;case 15:r=this.CDC();break;case 3:r=this.parseWithFallback(this.Atrule,Fx);break;default:r=this.parseWithFallback(this.Rule,Fx)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function eT(e){this.children(e)}var z_={};de(z_,{generate:()=>iT,name:()=>rT,parse:()=>U_,structure:()=>nT});l();var tT=42,jx=124;function H_(){this.tokenType!==1&&this.isDelim(tT)===!1&&this.error("Identifier or asterisk is expected"),this.next()}var rT="TypeSelector",nT={name:String};function U_(){let e=this.tokenStart;return this.isDelim(jx)?(this.next(),H_.call(this)):(H_.call(this),this.isDelim(jx)&&(this.next(),H_.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function iT(e){this.tokenize(e.name)}var Y_={};de(Y_,{generate:()=>uT,name:()=>oT,parse:()=>W_,structure:()=>lT});l();var Vx=43,Hx=45,G_=63;function Es(e,t){let r=0;for(let n=this.tokenStart+e;n<this.tokenEnd;n++){let i=this.charCodeAt(n);if(i===Hx&&t&&r!==0)return Es.call(this,e+r+1,!1),-1;Vt(i)||this.error(t&&r!==0?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",n),++r>6&&this.error("Too many hex digits",n)}return this.next(),r}function Ko(e){let t=0;for(;this.isDelim(G_);)++t>e&&this.error("Too many question marks"),this.next()}function sT(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===Vx?"Plus sign":"Hyphen minus")+" is expected")}function aT(){let e=0;switch(this.tokenType){case 10:if(e=Es.call(this,1,!0),this.isDelim(G_)){Ko.call(this,6-e);break}if(this.tokenType===12||this.tokenType===10){sT.call(this,Hx),Es.call(this,1,!1);break}break;case 12:e=Es.call(this,1,!0),e>0&&Ko.call(this,6-e);break;default:if(this.eatDelim(Vx),this.tokenType===1){e=Es.call(this,0,!0),e>0&&Ko.call(this,6-e);break}if(this.isDelim(G_)){this.next(),Ko.call(this,5);break}this.error("Hex digit or question mark is expected")}}var oT="UnicodeRange",lT={value:String};function W_(){let e=this.tokenStart;return this.eatIdent("u"),aT.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function uT(e){this.tokenize(e.value)}var X_={};de(X_,{generate:()=>_T,name:()=>fT,parse:()=>Q_,structure:()=>mT});l();l();var cT=32,K_=92,dT=34,pT=39,hT=40,Ux=41;function zx(e){let t=e.length,r=4,n=e.charCodeAt(t-1)===Ux?t-2:t-1,i="";for(;r<n&&Pr(e.charCodeAt(r));)r++;for(;r<n&&Pr(e.charCodeAt(n));)n--;for(let s=r;s<=n;s++){let a=e.charCodeAt(s);if(a===K_){if(s===n){s!==t-1&&(i=e.substr(s+1));break}if(a=e.charCodeAt(++s),Lt(K_,a)){let u=s-1,o=Ar(e,u);s=o-1,i+=ds(e.substring(u+1,o))}else a===13&&e.charCodeAt(s+1)===10&&s++}else i+=e[s]}return i}function Gx(e){let t="",r=!1;for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i===0){t+="\uFFFD";continue}if(i<=31||i===127){t+="\\"+i.toString(16),r=!0;continue}i===cT||i===K_||i===dT||i===pT||i===hT||i===Ux?(t+="\\"+e.charAt(n),r=!1):(r&&Vt(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var fT="Url",mT={value:String};function Q_(){let e=this.tokenStart,t;switch(this.tokenType){case 7:t=zx(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),t=Yo(this.consume(5)),this.skipSC(),this.eof||this.eat(22);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function _T(e){this.token(7,Gx(e.value))}var J_={};de(J_,{generate:()=>yT,name:()=>gT,parse:()=>Z_,structure:()=>vT});l();var gT="Value",vT={children:[[]]};function Z_(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function yT(e){this.children(e)}var tg={};de(tg,{generate:()=>kT,name:()=>xT,parse:()=>eg,structure:()=>wT});l();var bT=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),xT="WhiteSpace",wT={value:String};function eg(){return this.eat(13),bT}function kT(e){this.token(13,e.value)}var Yx={generic:!0,...Cx,node:Rs};l();var rg={};de(rg,{AtrulePrelude:()=>Qx,Selector:()=>Zx,Value:()=>r0});l();l();l();var $T=35,CT=42,Kx=43,ST=45,ET=47,RT=117;function Ps(e){switch(this.tokenType){case 4:return this.Hash();case 18:return this.Operator();case 21:return this.Parentheses(this.readSequence,e.recognizer);case 19:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case 12:return this.Dimension();case 11:return this.Percentage();case 10:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,RT)&&this.cmpChar(this.tokenStart+1,Kx)?this.UnicodeRange():this.Identifier();case 9:{let t=this.charCodeAt(this.tokenStart);if(t===ET||t===CT||t===Kx||t===ST)return this.Operator();t===$T&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var Qx={getNode:Ps};l();var PT=35,AT=38,qT=42,TT=43,LT=47,Xx=46,MT=62,IT=124,OT=126;function NT(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function DT(){switch(this.tokenType){case 19:return this.AttributeSelector();case 4:return this.IdSelector();case 16:return this.lookupType(1)===16?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case 10:case 11:return this.Percentage();case 12:this.charCodeAt(this.tokenStart)===Xx&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:{switch(this.charCodeAt(this.tokenStart)){case TT:case MT:case OT:case LT:return this.Combinator();case Xx:return this.ClassSelector();case qT:case IT:return this.TypeSelector();case PT:return this.IdSelector();case AT:return this.NestingSelector()}break}}}var Zx={onWhiteSpace:NT,getNode:DT};l();l();function Jx(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}l();function e0(){let e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===18){e.push(this.Operator());let t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if(r.type==="Value"&&r.children.isEmpty){for(let n=t-this.tokenIndex;n<=0;n++)if(this.lookupType(n)===13){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(r)}return e}function t0(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var r0={getNode:Ps,onWhiteSpace(e,t){t0(e)&&(e.value=" "+e.value),t0(t.last)&&(t.last.value+=" ")},expression:Jx,var:e0};l();l();var n0={parse:{prelude:null,block(){return this.Block(!0)}}};l();var i0={parse:{prelude(){let e=this.createList();switch(this.skipSC(),this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error("String or url() is expected")}return(this.lookupNonWSType(0)===1||this.lookupNonWSType(0)===21)&&e.push(this.MediaQueryList()),e},block:null}};l();var s0={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}};l();var a0={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};l();var o0={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}};l();function BT(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function FT(){return this.skipSC(),this.tokenType===1&&this.lookupNonWSType(1)===16?this.createSingleNodeList(this.Declaration()):l0.call(this)}function l0(){let e=this.createList(),t;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 2:t=this.Function(BT,this.scope.AtrulePrelude);break;case 1:t=this.Identifier();break;case 21:t=this.Parentheses(FT,this.scope.AtrulePrelude);break;default:break e}e.push(t)}return e}var u0={parse:{prelude(){let e=l0.call(this);return this.getFirstListNode(e)===null&&this.error("Condition is expected"),e},block(e=!1){return this.Block(e)}}};var c0={"font-face":n0,import:i0,media:s0,nest:a0,page:o0,supports:u0};l();var An={parse(){return this.createSingleNodeList(this.SelectorList())}},ng={parse(){return this.createSingleNodeList(this.Selector())}},d0={parse(){return this.createSingleNodeList(this.Identifier())}},Qo={parse(){return this.createSingleNodeList(this.Nth())}},p0={dir:d0,has:An,lang:d0,matches:An,is:An,"-moz-any":An,"-webkit-any":An,where:An,not:An,"nth-child":Qo,"nth-last-child":Qo,"nth-last-of-type":Qo,"nth-of-type":Qo,slotted:ng,host:ng,"host-context":ng};var ig={};de(ig,{AnPlusB:()=>wm,Atrule:()=>$m,AtrulePrelude:()=>Sm,AttributeSelector:()=>Pm,Block:()=>qm,Brackets:()=>Lm,CDC:()=>Im,CDO:()=>Nm,ClassSelector:()=>Bm,Combinator:()=>jm,Comment:()=>Hm,Declaration:()=>zm,DeclarationList:()=>Ym,Dimension:()=>Qm,Function:()=>Zm,Hash:()=>e_,IdSelector:()=>i_,Identifier:()=>r_,MediaFeature:()=>a_,MediaQuery:()=>l_,MediaQueryList:()=>c_,NestingSelector:()=>p_,Nth:()=>f_,Number:()=>__,Operator:()=>v_,Parentheses:()=>b_,Percentage:()=>w_,PseudoClassSelector:()=>$_,PseudoElementSelector:()=>S_,Ratio:()=>R_,Raw:()=>A_,Rule:()=>T_,Selector:()=>M_,SelectorList:()=>O_,String:()=>B_,StyleSheet:()=>j_,TypeSelector:()=>U_,UnicodeRange:()=>W_,Url:()=>Q_,Value:()=>Z_,WhiteSpace:()=>eg});l();var h0={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:rg,atrule:c0,pseudo:p0,node:ig};l();var f0={node:Rs};var m0=bm({...Yx,...h0,...f0});l();l();l();var{tokenize:See,parse:Eee,generate:Ree,lexer:Pee,createLexer:Aee,walk:qee,find:Tee,findLast:Lee,findAll:Mee,toPlainObject:Iee,fromPlainObject:Oee,fork:_0}=m0;var pg={};de(pg,{Comparison:()=>sg,ContainerFeatureStyle:()=>ag,ContainerQuery:()=>og,MediaQuery:()=>lg,QueryCSSFunction:()=>dg,QueryFeature:()=>ug,QueryFeatureRange:()=>cg});l();var sg={};de(sg,{generate:()=>zT,name:()=>VT,parse:()=>UT,structure:()=>HT});l();var VT="Comparison",HT={value:String};function UT(){let e=this.tokenStart,t=this.consume(9);t!=="<"&&t!==">"&&t!=="="&&this.error("Malformed comparison operator");let r;this.tokenType===9&&(r=this.consume(9),r!=="="&&this.error("Malformed comparison operator")),this.tokenType===9&&this.error("Malformed comparison operator");let n=r?`${t}${r}`:t;return{type:"Comparison",loc:this.getLocation(e,this.tokenStart),value:n}}function zT(e){for(let t=0;t<e.value.length;t++)this.token(9,e.value.charAt(t))}var ag={};de(ag,{generate:()=>KT,name:()=>GT,parse:()=>YT,structure:()=>WT});l();var GT="ContainerFeatureStyle",WT={name:String,value:["Function","Identifier","Number","Dimension","QueryCSSFunction","Ratio",null]};function YT(){let e=this.tokenStart,t=null;this.consumeFunctionName()!=="style"&&this.error('Unknown container style query identifier; "style" is expected'),this.skipSC();let n=this.consume(1);if(this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:this.lookupNonWSType(1)===9?t=this.Ratio():t=this.Number();break;case 12:t=this.Dimension();break;case 2:t=this.QueryCSSFunction();break;case 1:t=this.Identifier();break;default:this.error("Number, dimension, ratio, function or identifier is expected");break}this.skipSC()}return this.eat(22),{type:"ContainerFeatureStyle",loc:this.getLocation(e,this.tokenStart),name:n,value:t}}function KT(e){this.token(2,"style("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var og={};de(og,{generate:()=>eL,name:()=>XT,parse:()=>JT,structure:()=>ZT});l();l();function Xo(){let e,t=0,r=0,n=!1,i=!0;do if(e=this.lookupNonWSType(t++),e!==13&&r++,e===9&&(n=!0),e===16&&(i=!1),e===23||e===22)break;while(e!==0&&r<=6);return n&&i}var QT=new Set(["none","and","not","or"]),XT="ContainerQuery",ZT={name:"Identifier",children:[["Identifier","QueryFeature","QueryFeatureRange","ContainerFeatureStyle","WhiteSpace"]]};function JT(){let e=this.tokenStart,t=this.createList(),r=null,n=null;if(this.tokenType===1){let i=this.substring(this.tokenStart,this.tokenEnd);QT.has(i.toLowerCase())||(n=i,this.eat(1))}this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 1:r=this.Identifier();break;case 2:r=this.ContainerFeatureStyle();break;case 21:r=Xo.call(this)?this.QueryFeatureRange():this.QueryFeature();break;default:break e}t.push(r)}return r===null&&this.error("Identifier or parenthesis is expected"),{type:"ContainerQuery",loc:this.getLocation(e,this.tokenStart-1),name:n,children:t}}function eL(e){typeof e.name=="string"&&this.token(1,e.name),this.children(e)}var lg={};de(lg,{generate:()=>iL,name:()=>tL,parse:()=>nL,structure:()=>rL});l();var tL="MediaQuery",rL={children:[["Identifier","QueryFeature","QueryFeatureRange","WhiteSpace"]]};function nL(){let e=this.createList(),t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t=this.Identifier();break;case 21:t=Xo.call(this)?this.QueryFeatureRange():this.QueryFeature();break;default:break e}e.push(t)}return t===null&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}}function iL(e){this.children(e)}var ug={};de(ug,{generate:()=>lL,name:()=>sL,parse:()=>oL,structure:()=>aL});l();var sL="QueryFeature",aL={name:String,value:["Identifier","Number","Dimension","QueryCSSFunction","Ratio",null]};function oL(){let e=this.tokenStart,t=null;this.eat(21),this.skipSC();let r=this.consume(1);if(this.skipSC(),this.tokenType!==22){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:this.lookupNonWSType(1)===9?t=this.Ratio():t=this.Number();break;case 12:t=this.Dimension();break;case 2:t=this.QueryCSSFunction();break;case 1:t=this.Identifier();break;default:this.error("Number, dimension, ratio, function, or identifier is expected");break}this.skipSC()}return this.eat(22),{type:"QueryFeature",loc:this.getLocation(e,this.tokenStart),name:r,value:t}}function lL(e){this.token(21,"("),this.token(1,e.name),e.value!==null&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var cg={};de(cg,{generate:()=>hL,name:()=>uL,parse:()=>pL,structure:()=>cL});l();var uL="QueryFeatureRange",cL={name:String,value:["Identifier","Number","Comparison","Dimension","QueryCSSFunction","Ratio",null]};function dL(e,t,r){let n;do if(n=this.lookupType(e++),n!==13)break;while(n!==0);return n===t?this.lookupValue(e-1,r):!1}function pL(){let e=this.tokenStart,t=this.createList(),r=null;for(this.eat(21),this.skipSC();!this.eof&&this.tokenType!==22;){switch(this.tokenType){case 10:dL.call(this,1,9,"/")?r=this.Ratio():r=this.Number();break;case 9:r=this.Comparison();break;case 12:r=this.Dimension();break;case 2:r=this.QueryCSSFunction();break;case 1:r=this.Identifier();break;default:this.error("Number, dimension, comparison, ratio, function, or identifier is expected");break}t.push(r),this.skipSC()}return this.eat(22),{type:"QueryFeatureRange",loc:this.getLocation(e,this.tokenStart),children:t}}function hL(e){this.children(e)}var dg={};de(dg,{generate:()=>vL,name:()=>mL,parse:()=>gL,structure:()=>_L});l();var fL=new Set(["calc","clamp","min","max"]),mL="QueryCSSFunction",_L={name:String,expression:String};function gL(){let e=this.tokenStart,t=this.consumeFunctionName();fL.has(t)||this.error('Unknown query single value function; expected: "calc", "clamp", "max", min"');let r=this.Raw(this.tokenIndex,null,!1);return this.eat(22),{type:"QueryCSSFunction",loc:this.getLocation(e,this.tokenStart),name:t,expression:r.value}}function vL(e){this.token(Function,`${e.name}(`),this.node(e.expression),this.token(22,")")}var yL=_0({atrule:{container:{parse:{prelude(){return this.createSingleNodeList(this.ContainerQuery())},block(e=!1){return this.Block(e)}}}},node:pg}),g0=yL.parse;var bL=/<\/style\s*>/,v0=/^<\/style\s*>/;function hg(e,t,r){let n=e.index,i=e.read_until(bL,ie.unclosed_style);e.index>=e.template.length&&e.error(ie.unclosed_style);let s=e.index;if(e.css_mode==="none")return e.read(v0),null;let a;try{a=g0(i,{positions:!0,offset:n,onParseError(o){throw o}})}catch(o){if(o.name==="SyntaxError")e.error(ie.css_syntax_error(o.message),o.offset);else throw o}a=JSON.parse(JSON.stringify(a)),we(a,{enter:o=>{if(o.type==="Selector")for(let c=0;c<o.children.length;c+=1){let d=o.children[c],p=o.children[c+1];xL(d,p)&&e.error(ie.invalid_ref_selector,d.loc.start.offset)}o.type==="Declaration"&&o.value.type==="Value"&&o.value.children.length===0&&e.error(ie.invalid_declaration,o.start),o.type==="PseudoClassSelector"&&o.name==="global"&&o.children===null&&e.error(ie.empty_global_selector,o.loc.start.offset),o.loc&&(o.start=o.loc.start.offset,o.end=o.loc.end.offset,delete o.loc)}}),e.read(v0);let u=e.index;return{type:"Style",start:t,end:u,attributes:r,children:a.children,content:{start:n,end:s,styles:i}}}function xL(e,t){return t?e.type==="TypeSelector"&&e.name==="ref"&&t.type==="PseudoClassSelector":!1}l();l();var fg={"CounterClockwiseContourIntegral;":8755,"ClockwiseContourIntegral;":8754,"DoubleLongLeftRightArrow;":10234,"NotNestedGreaterGreater;":10914,"DiacriticalDoubleAcute;":733,"NotSquareSupersetEqual;":8931,"CloseCurlyDoubleQuote;":8221,"DoubleContourIntegral;":8751,"FilledVerySmallSquare;":9642,"NegativeVeryThinSpace;":8203,"NotPrecedesSlantEqual;":8928,"NotRightTriangleEqual;":8941,"NotSucceedsSlantEqual;":8929,"CapitalDifferentialD;":8517,"DoubleLeftRightArrow;":8660,"DoubleLongRightArrow;":10233,"EmptyVerySmallSquare;":9643,"NestedGreaterGreater;":8811,"NotDoubleVerticalBar;":8742,"NotGreaterSlantEqual;":10878,"NotLeftTriangleEqual;":8940,"NotSquareSubsetEqual;":8930,"OpenCurlyDoubleQuote;":8220,"ReverseUpEquilibrium;":10607,"DoubleLongLeftArrow;":10232,"DownLeftRightVector;":10576,"LeftArrowRightArrow;":8646,"NegativeMediumSpace;":8203,"NotGreaterFullEqual;":8807,"NotRightTriangleBar;":10704,"RightArrowLeftArrow;":8644,"SquareSupersetEqual;":8850,"leftrightsquigarrow;":8621,"DownRightTeeVector;":10591,"DownRightVectorBar;":10583,"LongLeftRightArrow;":10231,"Longleftrightarrow;":10234,"NegativeThickSpace;":8203,"NotLeftTriangleBar;":10703,"PrecedesSlantEqual;":8828,"ReverseEquilibrium;":8651,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVectorBar;":10581,"RightTriangleEqual;":8885,"SquareIntersection;":8851,"SucceedsSlantEqual;":8829,"blacktriangleright;":9656,"longleftrightarrow;":10231,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownLeftTeeVector;":10590,"DownLeftVectorBar;":10582,"FilledSmallSquare;":9724,"GreaterSlantEqual;":10878,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVectorBar;":10585,"LeftTriangleEqual;":8884,"NegativeThinSpace;":8203,"NotGreaterGreater;":8811,"NotLessSlantEqual;":10877,"NotNestedLessLess;":10913,"NotReverseElement;":8716,"NotSquareSuperset;":8848,"NotTildeFullEqual;":8775,"RightAngleBracket;":10217,"RightUpDownVector;":10575,"SquareSubsetEqual;":8849,"VerticalSeparator;":10072,"blacktriangledown;":9662,"blacktriangleleft;":9666,"leftrightharpoons;":8651,"rightleftharpoons;":8652,"twoheadrightarrow;":8608,"DiacriticalAcute;":180,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"DoubleRightArrow;":8658,"DownArrowUpArrow;":8693,"EmptySmallSquare;":9723,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"LeftAngleBracket;":10216,"LeftUpDownVector;":10577,"LessEqualGreater;":8922,"NonBreakingSpace;":160,"NotPrecedesEqual;":10927,"NotRightTriangle;":8939,"NotSucceedsEqual;":10928,"NotSucceedsTilde;":8831,"NotSupersetEqual;":8841,"RightTriangleBar;":10704,"RightUpTeeVector;":10588,"RightUpVectorBar;":10580,"UnderParenthesis;":9181,"UpArrowDownArrow;":8645,"circlearrowright;":8635,"downharpoonright;":8642,"ntrianglerighteq;":8941,"rightharpoondown;":8641,"rightrightarrows;":8649,"twoheadleftarrow;":8606,"vartriangleright;":8883,"CloseCurlyQuote;":8217,"ContourIntegral;":8750,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DownRightVector;":8641,"LeftRightVector;":10574,"LeftTriangleBar;":10703,"LeftUpTeeVector;":10592,"LeftUpVectorBar;":10584,"LowerRightArrow;":8600,"NotGreaterEqual;":8817,"NotGreaterTilde;":8821,"NotHumpDownHump;":8782,"NotLeftTriangle;":8938,"NotSquareSubset;":8847,"OverParenthesis;":9180,"RightDownVector;":8642,"ShortRightArrow;":8594,"UpperRightArrow;":8599,"bigtriangledown;":9661,"circlearrowleft;":8634,"curvearrowright;":8631,"downharpoonleft;":8643,"leftharpoondown;":8637,"leftrightarrows;":8646,"nLeftrightarrow;":8654,"nleftrightarrow;":8622,"ntrianglelefteq;":8940,"rightleftarrows;":8644,"rightsquigarrow;":8605,"rightthreetimes;":8908,"straightepsilon;":1013,"trianglerighteq;":8885,"vartriangleleft;":8882,"DiacriticalDot;":729,"DoubleRightTee;":8872,"DownLeftVector;":8637,"GreaterGreater;":10914,"HorizontalLine;":9472,"InvisibleComma;":8291,"InvisibleTimes;":8290,"LeftDownVector;":8643,"LeftRightArrow;":8596,"Leftrightarrow;":8660,"LessSlantEqual;":10877,"LongRightArrow;":10230,"Longrightarrow;":10233,"LowerLeftArrow;":8601,"NestedLessLess;":8810,"NotGreaterLess;":8825,"NotLessGreater;":8824,"NotSubsetEqual;":8840,"NotVerticalBar;":8740,"OpenCurlyQuote;":8216,"ReverseElement;":8715,"RightTeeVector;":10587,"RightVectorBar;":10579,"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"SquareSuperset;":8848,"TildeFullEqual;":8773,"UpperLeftArrow;":8598,"ZeroWidthSpace;":8203,"curvearrowleft;":8630,"doublebarwedge;":8966,"downdownarrows;":8650,"hookrightarrow;":8618,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftthreetimes;":8907,"longrightarrow;":10230,"looparrowright;":8620,"nshortparallel;":8742,"ntriangleright;":8939,"rightarrowtail;":8611,"rightharpoonup;":8640,"trianglelefteq;":8884,"upharpoonright;":8638,"ApplyFunction;":8289,"DifferentialD;":8518,"DoubleLeftTee;":10980,"DoubleUpArrow;":8657,"LeftTeeVector;":10586,"LeftVectorBar;":10578,"LessFullEqual;":8806,"LongLeftArrow;":10229,"Longleftarrow;":10232,"NotEqualTilde;":8770,"NotTildeEqual;":8772,"NotTildeTilde;":8777,"Poincareplane;":8460,"PrecedesEqual;":10927,"PrecedesTilde;":8830,"RightArrowBar;":8677,"RightTeeArrow;":8614,"RightTriangle;":8883,"RightUpVector;":8638,"SucceedsEqual;":10928,"SucceedsTilde;":8831,"SupersetEqual;":8839,"UpEquilibrium;":10606,"VerticalTilde;":8768,"VeryThinSpace;":8202,"bigtriangleup;":9651,"blacktriangle;":9652,"divideontimes;":8903,"fallingdotseq;":8786,"hookleftarrow;":8617,"leftarrowtail;":8610,"leftharpoonup;":8636,"longleftarrow;":10229,"looparrowleft;":8619,"measuredangle;":8737,"ntriangleleft;":8938,"shortparallel;":8741,"smallsetminus;":8726,"triangleright;":9657,"upharpoonleft;":8639,"varsubsetneqq;":10955,"varsupsetneqq;":10956,"DownArrowBar;":10515,"DownTeeArrow;":8615,"ExponentialE;":8519,"GreaterEqual;":8805,"GreaterTilde;":8819,"HilbertSpace;":8459,"HumpDownHump;":8782,"Intersection;":8898,"LeftArrowBar;":8676,"LeftTeeArrow;":8612,"LeftTriangle;":8882,"LeftUpVector;":8639,"NotCongruent;":8802,"NotHumpEqual;":8783,"NotLessEqual;":8816,"NotLessTilde;":8820,"Proportional;":8733,"RightCeiling;":8969,"RoundImplies;":10608,"ShortUpArrow;":8593,"SquareSubset;":8847,"UnderBracket;":9141,"VerticalLine;":124,"blacklozenge;":10731,"exponentiale;":8519,"risingdotseq;":8787,"triangledown;":9663,"triangleleft;":9667,"varsubsetneq;":8842,"varsupsetneq;":8843,"CircleMinus;":8854,"CircleTimes;":8855,"Equilibrium;":8652,"GreaterLess;":8823,"LeftCeiling;":8968,"LessGreater;":8822,"MediumSpace;":8287,"NotLessLess;":8810,"NotPrecedes;":8832,"NotSucceeds;":8833,"NotSuperset;":8835,"OverBracket;":9140,"RightVector;":8640,"Rrightarrow;":8667,"RuleDelayed;":10740,"SmallCircle;":8728,"SquareUnion;":8852,"SubsetEqual;":8838,"UpDownArrow;":8597,"Updownarrow;":8661,"VerticalBar;":8739,"backepsilon;":1014,"blacksquare;":9642,"circledcirc;":8858,"circleddash;":8861,"curlyeqprec;":8926,"curlyeqsucc;":8927,"diamondsuit;":9830,"eqslantless;":10901,"expectation;":8496,"nRightarrow;":8655,"nrightarrow;":8603,"preccurlyeq;":8828,"precnapprox;":10937,"quaternions;":8461,"straightphi;":981,"succcurlyeq;":8829,"succnapprox;":10938,"thickapprox;":8776,"updownarrow;":8597,"Bernoullis;":8492,"CirclePlus;":8853,"EqualTilde;":8770,"Fouriertrf;":8497,"ImaginaryI;":8520,"Laplacetrf;":8466,"LeftVector;":8636,"Lleftarrow;":8666,"NotElement;":8713,"NotGreater;":8815,"Proportion;":8759,"RightArrow;":8594,"RightFloor;":8971,"Rightarrow;":8658,"ThickSpace;":8287,"TildeEqual;":8771,"TildeTilde;":8776,"UnderBrace;":9183,"UpArrowBar;":10514,"UpTeeArrow;":8613,"circledast;":8859,"complement;":8705,"curlywedge;":8911,"eqslantgtr;":10902,"gtreqqless;":10892,"lessapprox;":10885,"lesseqqgtr;":10891,"lmoustache;":9136,"longmapsto;":10236,"mapstodown;":8615,"mapstoleft;":8612,"nLeftarrow;":8653,"nleftarrow;":8602,"nsubseteqq;":10949,"nsupseteqq;":10950,"precapprox;":10935,"rightarrow;":8594,"rmoustache;":9137,"sqsubseteq;":8849,"sqsupseteq;":8850,"subsetneqq;":10955,"succapprox;":10936,"supsetneqq;":10956,"upuparrows;":8648,"varepsilon;":1013,"varnothing;":8709,"Backslash;":8726,"CenterDot;":183,"CircleDot;":8857,"Congruent;":8801,"Coproduct;":8720,"DoubleDot;":168,"DownArrow;":8595,"DownBreve;":785,"Downarrow;":8659,"HumpEqual;":8783,"LeftArrow;":8592,"LeftFloor;":8970,"Leftarrow;":8656,"LessTilde;":8818,"Mellintrf;":8499,"MinusPlus;":8723,"NotCupCap;":8813,"NotExists;":8708,"NotSubset;":8834,"OverBrace;":9182,"PlusMinus;":177,"Therefore;":8756,"ThinSpace;":8201,"TripleDot;":8411,"UnionPlus;":8846,"backprime;":8245,"backsimeq;":8909,"bigotimes;":10754,"centerdot;":183,"checkmark;":10003,"complexes;":8450,"dotsquare;":8865,"downarrow;":8595,"gtrapprox;":10886,"gtreqless;":8923,"gvertneqq;":8809,"heartsuit;":9829,"leftarrow;":8592,"lesseqgtr;":8922,"lvertneqq;":8808,"ngeqslant;":10878,"nleqslant;":10877,"nparallel;":8742,"nshortmid;":8740,"nsubseteq;":8840,"nsupseteq;":8841,"pitchfork;":8916,"rationals;":8474,"spadesuit;":9824,"subseteqq;":10949,"subsetneq;":8842,"supseteqq;":10950,"supsetneq;":8843,"therefore;":8756,"triangleq;":8796,"varpropto;":8733,"DDotrahd;":10513,"DotEqual;":8784,"Integral;":8747,"LessLess;":10913,"NotEqual;":8800,"NotTilde;":8769,"PartialD;":8706,"Precedes;":8826,"RightTee;":8866,"Succeeds;":8827,"SuchThat;":8715,"Superset;":8835,"Uarrocir;":10569,"UnderBar;":95,"andslope;":10840,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrtvbd;":10653,"approxeq;":8778,"awconint;":8755,"backcong;":8780,"barwedge;":8965,"bbrktbrk;":9142,"bigoplus;":10753,"bigsqcup;":10758,"biguplus;":10756,"bigwedge;":8896,"boxminus;":8863,"boxtimes;":8864,"bsolhsub;":10184,"capbrcup;":10825,"circledR;":174,"circledS;":9416,"cirfnint;":10768,"clubsuit;":9827,"cupbrcap;":10824,"curlyvee;":8910,"cwconint;":8754,"doteqdot;":8785,"dotminus;":8760,"drbkarow;":10512,"dzigrarr;":10239,"elinters;":9191,"emptyset;":8709,"eqvparsl;":10725,"fpartint;":10765,"geqslant;":10878,"gesdotol;":10884,"gnapprox;":10890,"hksearow;":10533,"hkswarow;":10534,"imagline;":8464,"imagpart;":8465,"infintie;":10717,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"laemptyv;":10676,"ldrushar;":10571,"leqslant;":10877,"lesdotor;":10883,"llcorner;":8990,"lnapprox;":10889,"lrcorner;":8991,"lurdshar;":10570,"mapstoup;":8613,"multimap;":8888,"naturals;":8469,"ncongdot;":10861,"notindot;":8949,"otimesas;":10806,"parallel;":8741,"plusacir;":10787,"pointint;":10773,"precneqq;":10933,"precnsim;":8936,"profalar;":9006,"profline;":8978,"profsurf;":8979,"raemptyv;":10675,"realpart;":8476,"rppolint;":10770,"rtriltri;":10702,"scpolint;":10771,"setminus;":8726,"shortmid;":8739,"smeparsl;":10724,"sqsubset;":8847,"sqsupset;":8848,"subseteq;":8838,"succneqq;":10934,"succnsim;":8937,"supseteq;":8839,"thetasym;":977,"thicksim;":8764,"timesbar;":10801,"triangle;":9653,"triminus;":10810,"trpezium;":9186,"ulcorner;":8988,"urcorner;":8989,"varkappa;":1008,"varsigma;":962,"vartheta;":977,"Because;":8757,"Cayleys;":8493,"Cconint;":8752,"Cedilla;":184,"Diamond;":8900,"DownTee;":8868,"Element;":8712,"Epsilon;":917,"Implies;":8658,"LeftTee;":8867,"NewLine;":10,"NoBreak;":8288,"NotLess;":8814,"Omicron;":927,"OverBar;":8254,"Product;":8719,"UpArrow;":8593,"Uparrow;":8657,"Upsilon;":933,"alefsym;":8501,"angrtvb;":8894,"angzarr;":9084,"asympeq;":8781,"backsim;":8765,"because;":8757,"bemptyv;":10672,"between;":8812,"bigcirc;":9711,"bigodot;":10752,"bigstar;":9733,"bnequiv;":8801,"boxplus;":8862,"ccupssm;":10832,"cemptyv;":10674,"cirscir;":10690,"coloneq;":8788,"congdot;":10861,"cudarrl;":10552,"cudarrr;":10549,"cularrp;":10557,"curarrm;":10556,"dbkarow;":10511,"ddagger;":8225,"ddotseq;":10871,"demptyv;":10673,"diamond;":8900,"digamma;":989,"dotplus;":8724,"dwangle;":10662,"epsilon;":949,"eqcolon;":8789,"equivDD;":10872,"gesdoto;":10882,"gtquest;":10876,"gtrless;":8823,"harrcir;":10568,"intprod;":10812,"isindot;":8949,"larrbfs;":10527,"larrsim;":10611,"lbrksld;":10639,"lbrkslu;":10637,"ldrdhar;":10599,"lesdoto;":10881,"lessdot;":8918,"lessgtr;":8822,"lesssim;":8818,"lotimes;":10804,"lozenge;":9674,"ltquest;":10875,"luruhar;":10598,"maltese;":10016,"minusdu;":10794,"napprox;":8777,"natural;":9838,"nearrow;":8599,"nexists;":8708,"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npolint;":10772,"npreceq;":10927,"nsqsube;":8930,"nsqsupe;":8931,"nsubset;":8834,"nsucceq;":10928,"nsupset;":8835,"nvinfin;":10718,"nvltrie;":8884,"nvrtrie;":8885,"nwarrow;":8598,"olcross;":10683,"omicron;":959,"orderof;":8500,"orslope;":10839,"pertenk;":8241,"planckh;":8462,"pluscir;":10786,"plussim;":10790,"plustwo;":10791,"precsim;":8830,"quatint;":10774,"questeq;":8799,"rarrbfs;":10528,"rarrsim;":10612,"rbrksld;":10638,"rbrkslu;":10640,"rdldhar;":10601,"realine;":8475,"rotimes;":10805,"ruluhar;":10600,"searrow;":8600,"simplus;":10788,"simrarr;":10610,"subedot;":10947,"submult;":10945,"subplus;":10943,"subrarr;":10617,"succsim;":8831,"supdsub;":10968,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supplus;":10944,"swarrow;":8601,"topfork;":10970,"triplus;":10809,"tritime;":10811,"uparrow;":8593,"upsilon;":965,"uwangle;":10663,"vzigzag;":10650,"zigrarr;":8669,"Aacute;":193,"Abreve;":258,"Agrave;":192,"Assign;":8788,"Atilde;":195,"Barwed;":8966,"Bumpeq;":8782,"Cacute;":262,"Ccaron;":268,"Ccedil;":199,"Colone;":10868,"Conint;":8751,"CupCap;":8781,"Dagger;":8225,"Dcaron;":270,"DotDot;":8412,"Dstrok;":272,"Eacute;":201,"Ecaron;":282,"Egrave;":200,"Exists;":8707,"ForAll;":8704,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"HARDcy;":1066,"Hstrok;":294,"Iacute;":205,"Igrave;":204,"Itilde;":296,"Jsercy;":1032,"Kcedil;":310,"Lacute;":313,"Lambda;":923,"Lcaron;":317,"Lcedil;":315,"Lmidot;":319,"Lstrok;":321,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ntilde;":209,"Oacute;":211,"Odblac;":336,"Ograve;":210,"Oslash;":216,"Otilde;":213,"Otimes;":10807,"Racute;":340,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"SHCHcy;":1065,"SOFTcy;":1068,"Sacute;":346,"Scaron;":352,"Scedil;":350,"Square;":9633,"Subset;":8912,"Supset;":8913,"Tcaron;":356,"Tcedil;":354,"Tstrok;":358,"Uacute;":218,"Ubreve;":364,"Udblac;":368,"Ugrave;":217,"Utilde;":360,"Vdashl;":10982,"Verbar;":8214,"Vvdash;":8874,"Yacute;":221,"Zacute;":377,"Zcaron;":381,"aacute;":225,"abreve;":259,"agrave;":224,"andand;":10837,"angmsd;":8737,"angsph;":8738,"apacir;":10863,"approx;":8776,"atilde;":227,"barvee;":8893,"barwed;":8965,"becaus;":8757,"bernou;":8492,"bigcap;":8898,"bigcup;":8899,"bigvee;":8897,"bkarow;":10509,"bottom;":8869,"bowtie;":8904,"boxbox;":10697,"bprime;":8245,"brvbar;":166,"bullet;":8226,"bumpeq;":8783,"cacute;":263,"capand;":10820,"capcap;":10827,"capcup;":10823,"capdot;":10816,"ccaron;":269,"ccedil;":231,"circeq;":8791,"cirmid;":10991,"colone;":8788,"commat;":64,"compfn;":8728,"conint;":8750,"coprod;":8720,"copysr;":8471,"cularr;":8630,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"curarr;":8631,"curren;":164,"cylcty;":9005,"dagger;":8224,"daleth;":8504,"dcaron;":271,"dfisht;":10623,"divide;":247,"divonx;":8903,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"drcorn;":8991,"drcrop;":8972,"dstrok;":273,"eacute;":233,"easter;":10862,"ecaron;":283,"ecolon;":8789,"egrave;":232,"egsdot;":10904,"elsdot;":10903,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"eparsl;":10723,"eqcirc;":8790,"equals;":61,"equest;":8799,"female;":9792,"ffilig;":64259,"ffllig;":64260,"forall;":8704,"frac12;":189,"frac13;":8531,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"gacute;":501,"gammad;":989,"gbreve;":287,"gesdot;":10880,"gesles;":10900,"gtlPar;":10645,"gtrarr;":10616,"gtrdot;":8919,"gtrsim;":8819,"hairsp;":8202,"hamilt;":8459,"hardcy;":1098,"hearts;":9829,"hellip;":8230,"hercon;":8889,"homtht;":8763,"horbar;":8213,"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,"iacute;":237,"igrave;":236,"iiiint;":10764,"iinfin;":10716,"incare;":8453,"inodot;":305,"intcal;":8890,"iquest;":191,"isinsv;":8947,"itilde;":297,"jsercy;":1112,"kappav;":1008,"kcedil;":311,"kgreen;":312,"lAtail;":10523,"lacute;":314,"lagran;":8466,"lambda;":955,"langle;":10216,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrtl;":8610,"latail;":10521,"lbrace;":123,"lbrack;":91,"lcaron;":318,"lcedil;":316,"ldquor;":8222,"lesdot;":10879,"lesges;":10899,"lfisht;":10620,"lfloor;":8970,"lharul;":10602,"llhard;":10603,"lmidot;":320,"lmoust;":9136,"loplus;":10797,"lowast;":8727,"lowbar;":95,"lparlt;":10643,"lrhard;":10605,"lsaquo;":8249,"lsquor;":8218,"lstrok;":322,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltrPar;":10646,"mapsto;":8614,"marker;":9646,"mcomma;":10793,"midast;":42,"midcir;":10992,"middot;":183,"minusb;":8863,"minusd;":8760,"mnplus;":8723,"models;":8871,"mstpos;":8766,"nVDash;":8879,"nVdash;":8878,"nacute;":324,"nbumpe;":8783,"ncaron;":328,"ncedil;":326,"nearhk;":10532,"nequiv;":8802,"nesear;":10536,"nexist;":8708,"nltrie;":8940,"notinE;":8953,"nparsl;":11005,"nprcue;":8928,"nrarrc;":10547,"nrarrw;":8605,"nrtrie;":8941,"nsccue;":8929,"nsimeq;":8772,"ntilde;":241,"numero;":8470,"nvDash;":8877,"nvHarr;":10500,"nvdash;":8876,"nvlArr;":10498,"nvrArr;":10499,"nwarhk;":10531,"nwnear;":10535,"oacute;":243,"odblac;":337,"odsold;":10684,"ograve;":242,"ominus;":8854,"origof;":8886,"oslash;":248,"otilde;":245,"otimes;":8855,"parsim;":10995,"percnt;":37,"period;":46,"permil;":8240,"phmmat;":8499,"planck;":8463,"plankv;":8463,"plusdo;":8724,"plusdu;":10789,"plusmn;":177,"preceq;":10927,"primes;":8473,"prnsim;":8936,"propto;":8733,"prurel;":8880,"puncsp;":8200,"qprime;":8279,"rAtail;":10524,"racute;":341,"rangle;":10217,"rarrap;":10613,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrtl;":8611,"ratail;":10522,"rbrace;":125,"rbrack;":93,"rcaron;":345,"rcedil;":343,"rdquor;":8221,"rfisht;":10621,"rfloor;":8971,"rharul;":10604,"rmoust;":9137,"roplus;":10798,"rpargt;":10644,"rsaquo;":8250,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"sacute;":347,"scaron;":353,"scedil;":351,"scnsim;":8937,"searhk;":10533,"seswar;":10537,"sfrown;":8994,"shchcy;":1097,"sigmaf;":962,"sigmav;":962,"simdot;":10858,"smashp;":10803,"softcy;":1100,"solbar;":9023,"spades;":9824,"sqcaps;":8851,"sqcups;":8852,"sqsube;":8849,"sqsupe;":8850,"square;":9633,"squarf;":9642,"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"subdot;":10941,"subset;":8834,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succeq;":10928,"supdot;":10942,"supset;":8835,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swarhk;":10534,"swnwar;":10538,"target;":8982,"tcaron;":357,"tcedil;":355,"telrec;":8981,"there4;":8756,"thetav;":977,"thinsp;":8201,"thksim;":8764,"timesb;":8864,"timesd;":10800,"topbot;":9014,"topcir;":10993,"tprime;":8244,"tridot;":9708,"tstrok;":359,"uacute;":250,"ubreve;":365,"udblac;":369,"ufisht;":10622,"ugrave;":249,"ulcorn;":8988,"ulcrop;":8975,"urcorn;":8989,"urcrop;":8974,"utilde;":361,"vangrt;":10652,"varphi;":981,"varrho;":1009,"veebar;":8891,"vellip;":8942,"verbar;":124,"vsubnE;":10955,"vsubne;":8842,"vsupnE;":10956,"vsupne;":8843,"wedbar;":10847,"wedgeq;":8793,"weierp;":8472,"wreath;":8768,"xoplus;":10753,"xotime;":10754,"xsqcup;":10758,"xuplus;":10756,"xwedge;":8896,"yacute;":253,"zacute;":378,"zcaron;":382,"zeetrf;":8488,"AElig;":198,Aacute:193,"Acirc;":194,Agrave:192,"Alpha;":913,"Amacr;":256,"Aogon;":260,"Aring;":197,Atilde:195,"Breve;":728,Ccedil:199,"Ccirc;":264,"Colon;":8759,"Cross;":10799,"Dashv;":10980,"Delta;":916,Eacute:201,"Ecirc;":202,Egrave:200,"Emacr;":274,"Eogon;":280,"Equal;":10869,"Gamma;":915,"Gcirc;":284,"Hacek;":711,"Hcirc;":292,"IJlig;":306,Iacute:205,"Icirc;":206,Igrave:204,"Imacr;":298,"Iogon;":302,"Iukcy;":1030,"Jcirc;":308,"Jukcy;":1028,"Kappa;":922,Ntilde:209,"OElig;":338,Oacute:211,"Ocirc;":212,Ograve:210,"Omacr;":332,"Omega;":937,Oslash:216,Otilde:213,"Prime;":8243,"RBarr;":10512,"Scirc;":348,"Sigma;":931,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"Theta;":920,"Tilde;":8764,Uacute:218,"Ubrcy;":1038,"Ucirc;":219,Ugrave:217,"Umacr;":362,"Union;":8899,"Uogon;":370,"UpTee;":8869,"Uring;":366,"VDash;":8875,"Vdash;":8873,"Wcirc;":372,"Wedge;":8896,Yacute:221,"Ycirc;":374,aacute:225,"acirc;":226,"acute;":180,"aelig;":230,agrave:224,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,"angle;":8736,"angrt;":8735,"angst;":197,"aogon;":261,"aring;":229,"asymp;":8776,atilde:227,"awint;":10769,"bcong;":8780,"bdquo;":8222,"bepsi;":1014,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"breve;":728,brvbar:166,"bsemi;":8271,"bsime;":8909,"bsolb;":10693,"bumpE;":10926,"bumpe;":8783,"caret;":8257,"caron;":711,"ccaps;":10829,ccedil:231,"ccirc;":265,"ccups;":10828,"cedil;":184,"check;":10003,"clubs;":9827,"colon;":58,"comma;":44,"crarr;":8629,"cross;":10007,"csube;":10961,"csupe;":10962,"ctdot;":8943,"cuepr;":8926,"cuesc;":8927,"cupor;":10821,curren:164,"cuvee;":8910,"cuwed;":8911,"cwint;":8753,"dashv;":8867,"dblac;":733,"ddarr;":8650,"delta;":948,"dharl;":8643,"dharr;":8642,"diams;":9830,"disin;":8946,divide:247,"doteq;":8784,"dtdot;":8945,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"eDDot;":10871,eacute:233,"ecirc;":234,"efDot;":8786,egrave:232,"emacr;":275,"empty;":8709,"eogon;":281,"eplus;":10865,"epsiv;":1013,"eqsim;":8770,"equiv;":8801,"erDot;":8787,"erarr;":10609,"esdot;":8784,"exist;":8707,"fflig;":64256,"filig;":64257,"fjlig;":102,"fllig;":64258,"fltns;":9649,"forkv;":10969,frac12:189,frac14:188,frac34:190,"frasl;":8260,"frown;":8994,"gamma;":947,"gcirc;":285,"gescc;":10921,"gimel;":8503,"gneqq;":8809,"gnsim;":8935,"grave;":96,"gsime;":10894,"gsiml;":10896,"gtcir;":10874,"gtdot;":8919,"harrw;":8621,"hcirc;":293,"hoarr;":8703,iacute:237,"icirc;":238,"iexcl;":161,igrave:236,"iiint;":8749,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imath;":305,"imped;":437,"infin;":8734,"iogon;":303,"iprod;":10812,iquest:191,"isinE;":8953,"isins;":8948,"isinv;":8712,"iukcy;":1110,"jcirc;":309,"jmath;":567,"jukcy;":1108,"kappa;":954,"lAarr;":8666,"lBarr;":10510,"langd;":10641,"laquo;":171,"larrb;":8676,"lates;":10925,"lbarr;":10508,"lbbrk;":10098,"lbrke;":10635,"lceil;":8968,"ldquo;":8220,"lescc;":10920,"lhard;":8637,"lharu;":8636,"lhblk;":9604,"llarr;":8647,"lltri;":9722,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"lopar;":10629,"lrarr;":8646,"lrhar;":8651,"lrtri;":8895,"lsime;":10893,"lsimg;":10895,"lsquo;":8216,"ltcir;":10873,"ltdot;":8918,"ltrie;":8884,"ltrif;":9666,"mDDot;":8762,"mdash;":8212,"micro;":181,middot:183,"minus;":8722,"mumap;":8888,"nabla;":8711,"napid;":8779,"napos;":329,"natur;":9838,"nbump;":8782,"ncong;":8775,"ndash;":8211,"neArr;":8663,"nearr;":8599,"nedot;":8784,"nesim;":8770,"ngeqq;":8807,"ngsim;":8821,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"nlArr;":8653,"nlarr;":8602,"nleqq;":8806,"nless;":8814,"nlsim;":8820,"nltri;":8938,"notin;":8713,"notni;":8716,"npart;":8706,"nprec;":8832,"nrArr;":8655,"nrarr;":8603,"nrtri;":8939,"nsime;":8772,"nsmid;":8740,"nspar;":8742,"nsubE;":10949,"nsube;":8840,"nsucc;":8833,"nsupE;":10950,"nsupe;":8841,ntilde:241,"numsp;":8199,"nvsim;":8764,"nwArr;":8662,"nwarr;":8598,oacute:243,"ocirc;":244,"odash;":8861,"oelig;":339,"ofcir;":10687,ograve:242,"ohbar;":10677,"olarr;":8634,"olcir;":10686,"oline;":8254,"omacr;":333,"omega;":969,"operp;":10681,"oplus;":8853,"orarr;":8635,"order;":8500,oslash:248,otilde:245,"ovbar;":9021,"parsl;":11005,"phone;":9742,"plusb;":8862,"pluse;":10866,plusmn:177,"pound;":163,"prcue;":8828,"prime;":8242,"prnap;":10937,"prsim;":8830,"quest;":63,"rAarr;":8667,"rBarr;":10511,"radic;":8730,"rangd;":10642,"range;":10661,"raquo;":187,"rarrb;":8677,"rarrc;":10547,"rarrw;":8605,"ratio;":8758,"rbarr;":10509,"rbbrk;":10099,"rbrke;":10636,"rceil;":8969,"rdquo;":8221,"reals;":8477,"rhard;":8641,"rharu;":8640,"rlarr;":8644,"rlhar;":8652,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"rrarr;":8649,"rsquo;":8217,"rtrie;":8885,"rtrif;":9656,"sbquo;":8218,"sccue;":8829,"scirc;":349,"scnap;":10938,"scsim;":8831,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searr;":8600,"setmn;":8726,"sharp;":9839,"sigma;":963,"simeq;":8771,"simgE;":10912,"simlE;":10911,"simne;":8774,"slarr;":8592,"smile;":8995,"smtes;":10924,"sqcap;":8851,"sqcup;":8852,"sqsub;":8847,"sqsup;":8848,"srarr;":8594,"starf;":9733,"strns;":175,"subnE;":10955,"subne;":8842,"supnE;":10956,"supne;":8843,"swArr;":8665,"swarr;":8601,"szlig;":223,"theta;":952,"thkap;":8776,"thorn;":254,"tilde;":732,"times;":215,"trade;":8482,"trisb;":10701,"tshcy;":1115,"twixt;":8812,uacute:250,"ubrcy;":1118,"ucirc;":251,"udarr;":8645,"udhar;":10606,ugrave:249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ultri;":9720,"umacr;":363,"uogon;":371,"uplus;":8846,"upsih;":978,"uring;":367,"urtri;":9721,"utdot;":8944,"utrif;":9652,"uuarr;":8648,"vBarv;":10985,"vDash;":8872,"varpi;":982,"vdash;":8866,"veeeq;":8794,"vltri;":8882,"vnsub;":8834,"vnsup;":8835,"vprop;":8733,"vrtri;":8883,"wcirc;":373,"wedge;":8743,"xcirc;":9711,"xdtri;":9661,"xhArr;":10234,"xharr;":10231,"xlArr;":10232,"xlarr;":10229,"xodot;":10752,"xrArr;":10233,"xrarr;":10230,"xutri;":9651,yacute:253,"ycirc;":375,AElig:198,Acirc:194,"Aopf;":120120,Aring:197,"Ascr;":119964,"Auml;":196,"Barv;":10983,"Beta;":914,"Bopf;":120121,"Bscr;":8492,"CHcy;":1063,"COPY;":169,"Cdot;":266,"Copf;":8450,"Cscr;":119966,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Darr;":8609,"Dopf;":120123,"Dscr;":119967,Ecirc:202,"Edot;":278,"Eopf;":120124,"Escr;":8496,"Esim;":10867,"Euml;":203,"Fopf;":120125,"Fscr;":8497,"GJcy;":1027,"Gdot;":288,"Gopf;":120126,"Gscr;":119970,"Hopf;":8461,"Hscr;":8459,"IEcy;":1045,"IOcy;":1025,Icirc:206,"Idot;":304,"Iopf;":120128,"Iota;":921,"Iscr;":8464,"Iuml;":207,"Jopf;":120129,"Jscr;":119973,"KHcy;":1061,"KJcy;":1036,"Kopf;":120130,"Kscr;":119974,"LJcy;":1033,"Lang;":10218,"Larr;":8606,"Lopf;":120131,"Lscr;":8466,"Mopf;":120132,"Mscr;":8499,"NJcy;":1034,"Nopf;":8469,"Nscr;":119977,Ocirc:212,"Oopf;":120134,"Oscr;":119978,"Ouml;":214,"Popf;":8473,"Pscr;":119979,"QUOT;":34,"Qopf;":8474,"Qscr;":119980,"Rang;":10219,"Rarr;":8608,"Ropf;":8477,"Rscr;":8475,"SHcy;":1064,"Sopf;":120138,"Sqrt;":8730,"Sscr;":119982,"Star;":8902,THORN:222,"TScy;":1062,"Topf;":120139,"Tscr;":119983,"Uarr;":8607,Ucirc:219,"Uopf;":120140,"Upsi;":978,"Uscr;":119984,"Uuml;":220,"Vbar;":10987,"Vert;":8214,"Vopf;":120141,"Vscr;":119985,"Wopf;":120142,"Wscr;":119986,"Xopf;":120143,"Xscr;":119987,"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,"Yopf;":120144,"Yscr;":119988,"Yuml;":376,"ZHcy;":1046,"Zdot;":379,"Zeta;":918,"Zopf;":8484,"Zscr;":119989,acirc:226,acute:180,aelig:230,"andd;":10844,"andv;":10842,"ange;":10660,"aopf;":120146,"apid;":8779,"apos;":39,aring:229,"ascr;":119990,"auml;":228,"bNot;":10989,"bbrk;":9141,"beta;":946,"beth;":8502,"bnot;":8976,"bopf;":120147,"boxH;":9552,"boxV;":9553,"boxh;":9472,"boxv;":9474,"bscr;":119991,"bsim;":8765,"bsol;":92,"bull;":8226,"bump;":8782,"caps;":8745,"cdot;":267,cedil:184,"cent;":162,"chcy;":1095,"cirE;":10691,"circ;":710,"cire;":8791,"comp;":8705,"cong;":8773,"copf;":120148,"copy;":169,"cscr;":119992,"csub;":10959,"csup;":10960,"cups;":8746,"dArr;":8659,"dHar;":10597,"darr;":8595,"dash;":8208,"diam;":8900,"djcy;":1106,"dopf;":120149,"dscr;":119993,"dscy;":1109,"dsol;":10742,"dtri;":9663,"dzcy;":1119,"eDot;":8785,"ecir;":8790,ecirc:234,"edot;":279,"emsp;":8195,"ensp;":8194,"eopf;":120150,"epar;":8917,"epsi;":949,"escr;":8495,"esim;":8770,"euml;":235,"euro;":8364,"excl;":33,"flat;":9837,"fnof;":402,"fopf;":120151,"fork;":8916,"fscr;":119995,"gdot;":289,"geqq;":8807,"gesl;":8923,"gjcy;":1107,"gnap;":10890,"gneq;":10888,"gopf;":120152,"gscr;":8458,"gsim;":8819,"gtcc;":10919,"gvnE;":8809,"hArr;":8660,"half;":189,"harr;":8596,"hbar;":8463,"hopf;":120153,"hscr;":119997,icirc:238,"iecy;":1077,iexcl:161,"imof;":8887,"iocy;":1105,"iopf;":120154,"iota;":953,"iscr;":119998,"isin;":8712,"iuml;":239,"jopf;":120155,"jscr;":119999,"khcy;":1093,"kjcy;":1116,"kopf;":120156,"kscr;":12e4,"lArr;":8656,"lHar;":10594,"lang;":10216,laquo:171,"larr;":8592,"late;":10925,"lcub;":123,"ldca;":10550,"ldsh;":8626,"leqq;":8806,"lesg;":8922,"ljcy;":1113,"lnap;":10889,"lneq;":10887,"lopf;":120157,"lozf;":10731,"lpar;":40,"lscr;":120001,"lsim;":8818,"lsqb;":91,"ltcc;":10918,"ltri;":9667,"lvnE;":8808,"macr;":175,"male;":9794,"malt;":10016,micro:181,"mlcp;":10971,"mldr;":8230,"mopf;":120158,"mscr;":120002,"nGtv;":8811,"nLtv;":8810,"nang;":8736,"napE;":10864,"nbsp;":160,"ncap;":10819,"ncup;":10818,"ngeq;":8817,"nges;":10878,"ngtr;":8815,"nisd;":8954,"njcy;":1114,"nldr;":8229,"nleq;":8816,"nles;":10877,"nmid;":8740,"nopf;":120159,"npar;":8742,"npre;":10927,"nsce;":10928,"nscr;":120003,"nsim;":8769,"nsub;":8836,"nsup;":8837,"ntgl;":8825,"ntlg;":8824,"nvap;":8781,"nvge;":8805,"nvgt;":62,"nvle;":8804,"nvlt;":60,"oast;":8859,"ocir;":8858,ocirc:244,"odiv;":10808,"odot;":8857,"ogon;":731,"oint;":8750,"omid;":10678,"oopf;":120160,"opar;":10679,"ordf;":170,"ordm;":186,"oror;":10838,"oscr;":8500,"osol;":8856,"ouml;":246,"para;":182,"part;":8706,"perp;":8869,"phiv;":981,"plus;":43,"popf;":120161,pound:163,"prap;":10935,"prec;":8826,"prnE;":10933,"prod;":8719,"prop;":8733,"pscr;":120005,"qint;":10764,"qopf;":120162,"qscr;":120006,"quot;":34,"rArr;":8658,"rHar;":10596,"race;":8765,"rang;":10217,raquo:187,"rarr;":8594,"rcub;":125,"rdca;":10551,"rdsh;":8627,"real;":8476,"rect;":9645,"rhov;":1009,"ring;":730,"ropf;":120163,"rpar;":41,"rscr;":120007,"rsqb;":93,"rtri;":9657,"scap;":10936,"scnE;":10934,"sdot;":8901,"sect;":167,"semi;":59,"sext;":10038,"shcy;":1096,"sime;":8771,"simg;":10910,"siml;":10909,"smid;":8739,"smte;":10924,"solb;":10692,"sopf;":120164,"spar;":8741,"squf;":9642,"sscr;":120008,"star;":9734,"subE;":10949,"sube;":8838,"succ;":8827,"sung;":9834,"sup1;":185,"sup2;":178,"sup3;":179,"supE;":10950,"supe;":8839,szlig:223,"tbrk;":9140,"tdot;":8411,thorn:254,times:215,"tint;":8749,"toea;":10536,"topf;":120165,"tosa;":10537,"trie;":8796,"tscr;":120009,"tscy;":1094,"uArr;":8657,"uHar;":10595,"uarr;":8593,ucirc:251,"uopf;":120166,"upsi;":965,"uscr;":120010,"utri;":9653,"uuml;":252,"vArr;":8661,"vBar;":10984,"varr;":8597,"vert;":124,"vopf;":120167,"vscr;":120011,"wopf;":120168,"wscr;":120012,"xcap;":8898,"xcup;":8899,"xmap;":10236,"xnis;":8955,"xopf;":120169,"xscr;":120013,"xvee;":8897,"yacy;":1103,"yicy;":1111,"yopf;":120170,"yscr;":120014,"yucy;":1102,"yuml;":255,"zdot;":380,"zeta;":950,"zhcy;":1078,"zopf;":120171,"zscr;":120015,"zwnj;":8204,"AMP;":38,"Acy;":1040,"Afr;":120068,"And;":10835,Auml:196,"Bcy;":1041,"Bfr;":120069,COPY:169,"Cap;":8914,"Cfr;":8493,"Chi;":935,"Cup;":8915,"Dcy;":1044,"Del;":8711,"Dfr;":120071,"Dot;":168,"ENG;":330,"ETH;":208,"Ecy;":1069,"Efr;":120072,"Eta;":919,Euml:203,"Fcy;":1060,"Ffr;":120073,"Gcy;":1043,"Gfr;":120074,"Hat;":94,"Hfr;":8460,"Icy;":1048,"Ifr;":8465,"Int;":8748,Iuml:207,"Jcy;":1049,"Jfr;":120077,"Kcy;":1050,"Kfr;":120078,"Lcy;":1051,"Lfr;":120079,"Lsh;":8624,"Map;":10501,"Mcy;":1052,"Mfr;":120080,"Ncy;":1053,"Nfr;":120081,"Not;":10988,"Ocy;":1054,"Ofr;":120082,Ouml:214,"Pcy;":1055,"Pfr;":120083,"Phi;":934,"Psi;":936,QUOT:34,"Qfr;":120084,"REG;":174,"Rcy;":1056,"Rfr;":8476,"Rho;":929,"Rsh;":8625,"Scy;":1057,"Sfr;":120086,"Sub;":8912,"Sum;":8721,"Sup;":8913,"Tab;":9,"Tau;":932,"Tcy;":1058,"Tfr;":120087,"Ucy;":1059,"Ufr;":120088,Uuml:220,"Vcy;":1042,"Vee;":8897,"Vfr;":120089,"Wfr;":120090,"Xfr;":120091,"Ycy;":1067,"Yfr;":120092,"Zcy;":1047,"Zfr;":8488,"acE;":8766,"acd;":8767,"acy;":1072,"afr;":120094,"amp;":38,"and;":8743,"ang;":8736,"apE;":10864,"ape;":8778,"ast;":42,auml:228,"bcy;":1073,"bfr;":120095,"bne;":61,"bot;":8869,"cap;":8745,cent:162,"cfr;":120096,"chi;":967,"cir;":9675,copy:169,"cup;":8746,"dcy;":1076,"deg;":176,"dfr;":120097,"die;":168,"div;":247,"dot;":729,"ecy;":1101,"efr;":120098,"egs;":10902,"ell;":8467,"els;":10901,"eng;":331,"eta;":951,"eth;":240,euml:235,"fcy;":1092,"ffr;":120099,"gEl;":10892,"gap;":10886,"gcy;":1075,"gel;":8923,"geq;":8805,"ges;":10878,"gfr;":120100,"ggg;":8921,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gne;":10888,"hfr;":120101,"icy;":1080,"iff;":8660,"ifr;":120102,"int;":8747,iuml:239,"jcy;":1081,"jfr;":120103,"kcy;":1082,"kfr;":120104,"lEg;":10891,"lap;":10885,"lat;":10923,"lcy;":1083,"leg;":8922,"leq;":8804,"les;":10877,"lfr;":120105,"lgE;":10897,"lnE;":8808,"lne;":10887,"loz;":9674,"lrm;":8206,"lsh;":8624,macr:175,"map;":8614,"mcy;":1084,"mfr;":120106,"mho;":8487,"mid;":8739,"nGg;":8921,"nGt;":8811,"nLl;":8920,"nLt;":8810,"nap;":8777,nbsp:160,"ncy;":1085,"nfr;":120107,"ngE;":8807,"nge;":8817,"ngt;":8815,"nis;":8956,"niv;":8715,"nlE;":8806,"nle;":8816,"nlt;":8814,"not;":172,"npr;":8832,"nsc;":8833,"num;":35,"ocy;":1086,"ofr;":120108,"ogt;":10689,"ohm;":937,"olt;":10688,"ord;":10845,ordf:170,ordm:186,"orv;":10843,ouml:246,"par;":8741,para:182,"pcy;":1087,"pfr;":120109,"phi;":966,"piv;":982,"prE;":10931,"pre;":10927,"psi;":968,"qfr;":120110,quot:34,"rcy;":1088,"reg;":174,"rfr;":120111,"rho;":961,"rlm;":8207,"rsh;":8625,"scE;":10932,"sce;":10928,"scy;":1089,sect:167,"sfr;":120112,"shy;":173,"sim;":8764,"smt;":10922,"sol;":47,"squ;":9633,"sub;":8834,"sum;":8721,sup1:185,sup2:178,sup3:179,"sup;":8835,"tau;":964,"tcy;":1090,"tfr;":120113,"top;":8868,"ucy;":1091,"ufr;":120114,"uml;":168,uuml:252,"vcy;":1074,"vee;":8744,"vfr;":120115,"wfr;":120116,"xfr;":120117,"ycy;":1099,"yen;":165,"yfr;":120118,yuml:255,"zcy;":1079,"zfr;":120119,"zwj;":8205,AMP:38,"DD;":8517,ETH:208,"GT;":62,"Gg;":8921,"Gt;":8811,"Im;":8465,"LT;":60,"Ll;":8920,"Lt;":8810,"Mu;":924,"Nu;":925,"Or;":10836,"Pi;":928,"Pr;":10939,REG:174,"Re;":8476,"Sc;":10940,"Xi;":926,"ac;":8766,"af;":8289,amp:38,"ap;":8776,"dd;":8518,deg:176,"ee;":8519,"eg;":10906,"el;":10905,eth:240,"gE;":8807,"ge;":8805,"gg;":8811,"gl;":8823,"gt;":62,"ic;":8291,"ii;":8520,"in;":8712,"it;":8290,"lE;":8806,"le;":8804,"lg;":8822,"ll;":8810,"lt;":60,"mp;":8723,"mu;":956,"ne;":8800,"ni;":8715,not:172,"nu;":957,"oS;":9416,"or;":8744,"pi;":960,"pm;":177,"pr;":8826,reg:174,"rx;":8478,"sc;":8827,shy:173,uml:168,"wp;":8472,"wr;":8768,"xi;":958,yen:165,GT:62,LT:60,gt:62,lt:60};var wL=[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376];function kL(e,t){return t&&!e.endsWith(";")?`${e}\\b(?!=)`:e}function x0(e){let t="#(?:x[a-fA-F\\d]+|\\d+)(?:;)?",r=Object.keys(fg).map(i=>kL(i,e));return new RegExp(`&(${t}|${r.join("|")})`,"g")}var $L=x0(!1),CL=x0(!0);function As(e,t){let r=t?CL:$L;return e.replace(r,(n,i)=>{let s;return i[0]!=="#"?s=fg[i]:i[1]==="x"?s=parseInt(i.substring(2),16):s=parseInt(i.substring(1),10),s?String.fromCodePoint(SL(s)):n})}var y0=0;function SL(e){return e===10?32:e<128?e:e<=159?wL[e-128]:e<55296?e:e<=57343?y0:e<=65535||e>=65536&&e<=131071||e>=131072&&e<=196607?e:y0}var b0=new Map([["li",new Set(["li"])],["dt",new Set(["dt","dd"])],["dd",new Set(["dt","dd"])],["p",new Set("address article aside blockquote div dl fieldset footer form h1 h2 h3 h4 h5 h6 header hgroup hr main menu nav ol p pre section table ul".split(" "))],["rt",new Set(["rt","rp"])],["rp",new Set(["rt","rp"])],["optgroup",new Set(["optgroup"])],["option",new Set(["option","optgroup"])],["thead",new Set(["tbody","tfoot"])],["tbody",new Set(["tbody","tfoot"])],["tfoot",new Set(["tbody"])],["tr",new Set(["tr","tbody"])],["td",new Set(["td","th","tr"])],["th",new Set(["td","th","tr"])]]);function Zo(e,t){return!!(b0.has(e)&&(!t||b0.get(e).has(t)))}var EL=/^\!?[a-zA-Z]{1,}:?[a-zA-Z0-9\-]*/,RL=/^(\/>|[\s"'=<>`])/,Pi=new Map([["svelte:head","Head"],["svelte:options","Options"],["svelte:window","Window"],["svelte:document","Document"],["svelte:body","Body"]]),w0=Array.from(Pi.keys()).concat("svelte:self","svelte:component","svelte:fragment","svelte:element"),k0=new Map([["script",{read:Ef,property:"js"}],["style",{read:hg,property:"css"}]]),PL=/^svelte:self(?=[\s/>])/,AL=/^svelte:component(?=[\s/>])/,qL=/^svelte:fragment(?=[\s/>])/,TL=/^svelte:element(?=[\s/>])/;function LL(e){let t=e.length;for(;t--;){let{type:r}=e[t];if(r==="Head")return!0;if(r==="Element"||r==="InlineComponent")return!1}return!1}var $0=/^<\/textarea(\s[^>]*)?>/i,ML=/-->/,IL=/[A-Z]/;function mg(e){let t=e.index++,r=e.current();if(e.eat("!--")){let p=e.read_until(ML);e.eat("-->",!0,ie.unclosed_comment),e.current().children.push({start:t,end:e.index,type:"Comment",data:p,ignores:mf(p)});return}let n=e.eat("/"),i=NL(e);if(Pi.has(i)){let p=Pi.get(i).toLowerCase();n?(i==="svelte:window"||i==="svelte:body")&&e.current().children.length&&e.error(ie.invalid_element_content(p,i),e.current().children[0].start):(i in e.meta_tags&&e.error(ie.duplicate_element(p,i),t),e.stack.length>1&&e.error(ie.invalid_element_placement(p,i),t),e.meta_tags[i]=!0)}let s=Pi.has(i)?Pi.get(i):IL.test(i[0])||i==="svelte:self"||i==="svelte:component"?"InlineComponent":i==="svelte:fragment"?"SlotTemplate":i==="title"&&LL(e.stack)?"Title":i==="slot"?"Slot":"Element",a={start:t,end:null,type:s,name:i,attributes:[],children:[]};if(e.allow_whitespace(),n){for(Ur(i)&&e.error(ie.invalid_void_content(i),t),e.eat(">",!0);r.name!==i;){if(r.type!=="Element"){let p=e.last_auto_closed_tag&&e.last_auto_closed_tag.tag===i?ie.invalid_closing_tag_autoclosed(i,e.last_auto_closed_tag.reason):ie.invalid_closing_tag_unopened(i);e.error(p,t)}r.end=t,e.stack.pop(),r=e.current()}r.end=e.index,e.stack.pop(),e.last_auto_closed_tag&&e.stack.length<e.last_auto_closed_tag.depth&&(e.last_auto_closed_tag=null);return}else Zo(r.name,i)&&(r.end=t,e.stack.pop(),e.last_auto_closed_tag={tag:r.name,reason:i,depth:e.stack.length});let u=new Set,o=k0.has(i)&&e.stack.length===1,c;for(;c=FL(e,u,o);)a.attributes.push(c),e.allow_whitespace();if(i==="svelte:component"){let p=a.attributes.findIndex(m=>m.type==="Attribute"&&m.name==="this");p===-1&&e.error(ie.missing_component_definition,t);let f=a.attributes.splice(p,1)[0];(f.value===!0||f.value.length!==1||f.value[0].type==="Text")&&e.error(ie.invalid_component_definition,f.start),a.expression=f.value[0].expression}if(i==="svelte:element"){let p=a.attributes.findIndex(m=>m.type==="Attribute"&&m.name==="this");p===-1&&e.error(ie.missing_element_definition,t);let f=a.attributes.splice(p,1)[0];f.value===!0&&e.error(ie.invalid_element_definition,f.start),a.tag=f.value[0].data||f.value[0].expression}if(o){let p=k0.get(i);e.eat(">",!0);let f=p.read(e,t,a.attributes);f&&e[p.property].push(f);return}e.current().children.push(a);let d=e.eat("/")||Ur(i);if(e.eat(">",!0),d)a.end=e.index;else if(i==="textarea")a.children=C0(e,()=>$0.test(e.template.slice(e.index)),"inside <textarea>"),e.read($0),a.end=e.index;else if(i==="script"||i==="style"){let p=e.index,f=e.read_until(new RegExp(`</${i}>`)),m=e.index;a.children.push({start:p,end:m,type:"Text",data:f}),e.eat(`</${i}>`,!0),a.end=e.index}else e.stack.push(a)}var OL=/(\s|\/|>)/;function NL(e){let t=e.index;if(e.read(PL)){let n=e.stack.length,i=!1;for(;n--;){let s=e.stack[n];if(s.type==="IfBlock"||s.type==="EachBlock"||s.type==="InlineComponent"){i=!0;break}}return i||e.error(ie.invalid_self_placement,t),"svelte:self"}if(e.read(AL))return"svelte:component";if(e.read(TL))return"svelte:element";if(e.read(qL))return"svelte:fragment";let r=e.read_until(OL);if(Pi.has(r))return r;if(r.startsWith("svelte:")){let n=qt(r.slice(7),w0);e.error(ie.invalid_tag_name_svelte_element(w0,n),t)}return EL.test(r)||e.error(ie.invalid_tag_name,t),r}var DL=/[\s=\/>"']/,BL=/^["']/;function FL(e,t,r){let n=e.index;function i(d){t.has(d)&&e.error(ie.duplicate_attribute,n),t.add(d)}if(!r&&e.eat("{"))if(e.allow_whitespace(),e.eat("...")){let d=ar(e);return e.allow_whitespace(),e.eat("}",!0),{start:n,end:e.index,type:"Spread",expression:d}}else{let d=e.index,p=e.read_identifier();return e.allow_whitespace(),e.eat("}",!0),p===null&&e.error(ie.empty_attribute_shorthand,n),i(p),{start:n,end:e.index,type:"Attribute",name:p,value:[{start:d,end:d+p.length,type:"AttributeShorthand",expression:{start:d,end:d+p.length,type:"Identifier",name:p}}]}}let s=e.read_until(DL);if(!s)return null;let a=e.index;e.allow_whitespace();let u=s.indexOf(":"),o=u!==-1&&jL(s.slice(0,u)),c=!0;if(e.eat("=")?(e.allow_whitespace(),c=HL(e,r),a=e.index):e.match_regex(BL)&&e.error(ie.unexpected_token("="),e.index),!r&&o){let[d,...p]=s.slice(u+1).split("|");if(d===""&&e.error(ie.empty_directive_name(o),n+u+1),o==="Binding"&&d!=="this"?i(d):o!=="EventHandler"&&o!=="Action"&&i(s),o==="Ref"&&e.error(ie.invalid_ref_directive(d),n),o==="StyleDirective")return{start:n,end:a,type:o,name:d,modifiers:p,value:c};let f=c[0],m=null;f&&(c.length>1||f.type==="Text"?e.error(ie.invalid_directive_value,f.start):m=f.expression);let y={start:n,end:a,type:o,name:d,modifiers:p,expression:m};if(o==="Transition"){let w=s.slice(0,u);y.intro=w==="in"||w==="transition",y.outro=w==="out"||w==="transition"}return!y.expression&&(o==="Binding"||o==="Class")&&(y.expression={start:y.start+u+1,end:y.end,type:"Identifier",name:y.name}),y}return i(s),{start:n,end:a,type:"Attribute",name:s,value:c}}function jL(e){if(e==="use")return"Action";if(e==="animate")return"Animation";if(e==="bind")return"Binding";if(e==="class")return"Class";if(e==="style")return"StyleDirective";if(e==="on")return"EventHandler";if(e==="let")return"Let";if(e==="in"||e==="out"||e==="transition")return"Transition"}var VL=/^(?:"([^"]*)"|'([^'])*'|([^>\s]+))/;function HL(e,t){if(t){let i=e.match_regex(VL);i||e.error(ie.missing_attribute_value),e.index+=i.length;let s=i[0]==='"'||i[0]==="'";return s&&(i=i.slice(1,-1)),[{start:e.index-i.length-(s?1:0),end:s?e.index-1:e.index,type:"Text",raw:i,data:As(i,!0)}]}let r=e.eat("'")?"'":e.eat('"')?'"':null;if(r&&e.eat(r))return[{start:e.index-1,end:e.index-1,type:"Text",raw:"",data:""}];let n;try{n=C0(e,()=>r?e.match(r):!!e.match_regex(RL),"in attribute value")}catch(i){throw i.code==="parse-error"&&e.template.slice(i.pos-1,i.pos+1)==="/>"&&(e.index=i.pos,e.error(ie.unclosed_attribute_value(r||"}"))),i}return n.length===0&&!r&&e.error(ie.missing_attribute_value),r&&(e.index+=1),n}function C0(e,t,r){let n={start:e.index,end:null,type:"Text",raw:"",data:null},i=[];function s(a){n.raw&&(n.data=As(n.raw,!0),n.end=a,i.push(n))}for(;e.index<e.template.length;){let a=e.index;if(t())return s(e.index),i;if(e.eat("{")){if(e.match("#")){let o=e.index-1;e.eat("#");let c=e.read_until(/[^a-z]/);e.error(ie.invalid_logic_block_placement(r,c),o)}else if(e.match("@")){let o=e.index-1;e.eat("@");let c=e.read_until(/[^a-z]/);e.error(ie.invalid_tag_placement(r,c),o)}s(e.index-1),e.allow_whitespace();let u=ar(e);e.allow_whitespace(),e.eat("}",!0),i.push({start:a,end:e.index,type:"MustacheTag",expression:u}),n={start:e.index,end:null,type:"Text",raw:"",data:null}}else n.raw+=e.template[e.index++]}e.error(ie.unexpected_eof)}l();l();l();function Zr(e,t){let r=e.charCodeAt(t);if(r<=55295||r>=57344)return r;let n=e.charCodeAt(t+1);return(r<<10)+n-56613888}l();function _g(e){return e===91||e===123}function S0(e){return e===93||e===125}function E0(e,t){return e===91&&t===93||e===123&&t===125}function R0(e){if(e===91)return 93;if(e===123)return 125}function Ai(e){let t=e.index,r=e.index,n=Zr(e.template,r);if(Pt(n,!0))return{type:"Identifier",name:e.read_identifier(),start:t,end:e.index};_g(n)||e.error(ie.unexpected_token_destructure);let i=[n];for(r+=n<=65535?1:2;r<e.template.length;){let a=Zr(e.template,r);if(_g(a))i.push(a);else if(S0(a)&&(E0(i[i.length-1],a)||e.error(ie.unexpected_token(String.fromCharCode(R0(i[i.length-1])))),i.pop(),i.length===0)){r+=a<=65535?1:2;break}r+=a<=65535?1:2}e.index=r;let s=e.template.slice(t,r);try{let a=e.template.slice(0,t).replace(so," "),u=a.indexOf(" ");return a=a.slice(0,u)+a.slice(u+1),ho(`${a}(${s} = 1)`,t-1).left}catch(a){e.acorn_error(a)}}l();function qi(e){return e.replace(Ey,"")}function Ti(e){return e.replace(Ry,"")}l();function qs(e){switch(e.type){case"IfBlock":return"{#if} block";case"ThenBlock":return"{:then} block";case"ElseBlock":return"{:else} block";case"PendingBlock":case"AwaitBlock":return"{#await} block";case"CatchBlock":return"{:catch} block";case"EachBlock":return"{#each} block";case"RawMustacheTag":return"{@html} block";case"DebugTag":return"{@debug} block";case"ConstTag":return"{@const} tag";case"Element":case"InlineComponent":case"Slot":case"Title":return`<${e.name}> tag`;default:return e.type}}function vg(e,t,r){if(!e.children||e.children.length===0)return;let n=e.children[0],i=e.children[e.children.length-1];n.type==="Text"&&t&&(n.data=qi(n.data),n.data||e.children.shift()),i.type==="Text"&&r&&(i.data=Ti(i.data),i.data||e.children.pop()),e.else&&vg(e.else,t,r),n.elseif&&vg(n,t,r)}var gg=/^\s*}/;function yg(e){let t=e.index;if(e.index+=1,e.allow_whitespace(),e.eat("/")){let r=e.current(),n;for(Zo(r.name)&&(r.end=t,e.stack.pop(),r=e.current()),(r.type==="ElseBlock"||r.type==="PendingBlock"||r.type==="ThenBlock"||r.type==="CatchBlock")&&(r.end=t,e.stack.pop(),r=e.current(),n="await"),r.type==="IfBlock"?n="if":r.type==="EachBlock"?n="each":r.type==="AwaitBlock"?n="await":r.type==="KeyBlock"?n="key":e.error(ie.unexpected_block_close),e.eat(n,!0),e.allow_whitespace(),e.eat("}",!0);r.elseif;)r.end=e.index,e.stack.pop(),r=e.current(),r.else&&(r.else.end=t);let i=e.template[r.start-1],s=e.template[e.index],a=!i||Bt.test(i),u=!s||Bt.test(s);vg(r,a,u),r.end=e.index,e.stack.pop()}else if(e.eat(":else"))if(e.eat("if")&&e.error(ie.invalid_elseif),e.allow_whitespace(),e.eat("if")){let r=e.current();r.type!=="IfBlock"&&e.error(e.stack.some(i=>i.type==="IfBlock")?ie.invalid_elseif_placement_unclosed_block(qs(r)):ie.invalid_elseif_placement_outside_if),e.require_whitespace();let n=ar(e);e.allow_whitespace(),e.eat("}",!0),r.else={start:e.index,end:null,type:"ElseBlock",children:[{start:e.index,end:null,type:"IfBlock",elseif:!0,expression:n,children:[]}]},e.stack.push(r.else.children[0])}else{let r=e.current();r.type!=="IfBlock"&&r.type!=="EachBlock"&&e.error(e.stack.some(n=>n.type==="IfBlock"||n.type==="EachBlock")?ie.invalid_else_placement_unclosed_block(qs(r)):ie.invalid_else_placement_outside_if),e.allow_whitespace(),e.eat("}",!0),r.else={start:e.index,end:null,type:"ElseBlock",children:[]},e.stack.push(r.else)}else if(e.match(":then")||e.match(":catch")){let r=e.current(),n=e.eat(":then")||!e.eat(":catch");n?r.type!=="PendingBlock"&&e.error(e.stack.some(a=>a.type==="PendingBlock")?ie.invalid_then_placement_unclosed_block(qs(r)):ie.invalid_then_placement_without_await):r.type!=="ThenBlock"&&r.type!=="PendingBlock"&&e.error(e.stack.some(a=>a.type==="ThenBlock"||a.type==="PendingBlock")?ie.invalid_catch_placement_unclosed_block(qs(r)):ie.invalid_catch_placement_without_await),r.end=t,e.stack.pop();let i=e.current();e.eat("}")||(e.require_whitespace(),i[n?"value":"error"]=Ai(e),e.allow_whitespace(),e.eat("}",!0));let s={start:t,end:null,type:n?"ThenBlock":"CatchBlock",children:[],skip:!1};i[n?"then":"catch"]=s,e.stack.push(s)}else if(e.eat("#")){let r;e.eat("if")?r="IfBlock":e.eat("each")?r="EachBlock":e.eat("await")?r="AwaitBlock":e.eat("key")?r="KeyBlock":e.error(ie.expected_block_type),e.require_whitespace();let n=ar(e),i=r==="AwaitBlock"?{start:t,end:null,type:r,expression:n,value:null,error:null,pending:{start:null,end:null,type:"PendingBlock",children:[],skip:!0},then:{start:null,end:null,type:"ThenBlock",children:[],skip:!0},catch:{start:null,end:null,type:"CatchBlock",children:[],skip:!0}}:{start:t,end:null,type:r,expression:n,children:[]};e.allow_whitespace(),r==="EachBlock"&&(e.eat("as",!0),e.require_whitespace(),i.context=Ai(e),e.allow_whitespace(),e.eat(",")&&(e.allow_whitespace(),i.index=e.read_identifier(),i.index||e.error(ie.expected_name),e.allow_whitespace()),e.eat("(")&&(e.allow_whitespace(),i.key=ar(e),e.allow_whitespace(),e.eat(")",!0),e.allow_whitespace()));let s=r==="AwaitBlock"&&e.eat("then");s&&(e.match_regex(gg)||(e.require_whitespace(),i.value=Ai(e)),e.allow_whitespace());let a=!s&&r==="AwaitBlock"&&e.eat("catch");if(a&&(e.match_regex(gg)||(e.require_whitespace(),i.error=Ai(e)),e.allow_whitespace()),e.eat("}",!0),e.current().children.push(i),e.stack.push(i),r==="AwaitBlock"){let u;s?(i.then.skip=!1,u=i.then):a?(i.catch.skip=!1,u=i.catch):(i.pending.skip=!1,u=i.pending),u.start=e.index,e.stack.push(u)}}else if(e.eat("@html")){e.require_whitespace();let r=ar(e);e.allow_whitespace(),e.eat("}",!0),e.current().children.push({start:t,end:e.index,type:"RawMustacheTag",expression:r})}else if(e.eat("@debug")){let r;if(e.read(gg))r=[];else{let n=ar(e);r=n.type==="SequenceExpression"?n.expressions:[n],r.forEach(i=>{i.type!=="Identifier"&&e.error(ie.invalid_debug_args,i.start)}),e.allow_whitespace(),e.eat("}",!0)}e.current().children.push({start:t,end:e.index,type:"DebugTag",identifiers:r})}else if(e.eat("@const")){e.require_whitespace();let r=ar(e);r.type==="AssignmentExpression"&&r.operator==="="||e.error({code:"invalid-const-args",message:"{@const ...} must be an assignment."},t),e.allow_whitespace(),e.eat("}",!0),e.current().children.push({start:t,end:e.index,type:"ConstTag",expression:r})}else{let r=ar(e);e.allow_whitespace(),e.eat("}",!0),e.current().children.push({start:t,end:e.index,type:"MustacheTag",expression:r})}}l();function bg(e){let t=e.index,r="";for(;e.index<e.template.length&&!e.match("<")&&!e.match("{");)r+=e.template[e.index++];let n={start:t,end:e.index,type:"Text",raw:r,data:As(r,!1)};e.current().children.push(n)}function Ts(e){return e.match("<")?mg:e.match("{")?yg:bg}l();var Ls=new Set(["arguments","await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","eval","export","extends","false","finally","for","function","if","implements","import","in","instanceof","interface","let","new","null","package","private","protected","public","return","static","super","switch","this","throw","true","try","typeof","var","void","while","with","yield"]);function P0(e){let t=0;for(;t<e.length;){let r=Zr(e,t);if(!(t===0?Pt:Sr)(r,!0))return!1;t+=r<=65535?1:2}return!0}var UL=/[^a-zA-Z0-9_]+/g,zL=/^[0-9]/;function It(e){return e.replace(UL,"_").replace(qy,"").replace(Ty,"").replace(zL,"_$&")}l();l();function GL(e,t){return e.start<=t&&t<e.end}function Jo(e,t={}){let{offsetLine:r=0,offsetColumn:n=0}=t,i=0,s=e.split(`
|
|
`).map((o,c)=>{let d=i+o.length+1,p={start:i,end:d,line:c};return i=d,p}),a=0;function u(o,c){if(typeof o=="string"&&(o=e.indexOf(o,c??0)),o===-1)return;let d=s[a],p=o>=d.end?1:-1;for(;d;){if(GL(d,o))return{line:r+d.line,column:n+o-d.start,character:o};a+=p,d=s[a]}}return u}function xg(e,t,r){return Jo(e,r)(t,r&&r.startIndex)}l();var WL=/^\t+/;function wg(e){return e.replace(WL,t=>t.split(" ").join(" "))}function Ms(e,t,r){let n=e.split(`
|
|
`),i=Math.max(0,t-2),s=Math.min(t+3,n.length),a=String(s+1).length;return n.slice(i,s).map((u,o)=>{let c=i+o===t,d=String(o+i+1).padStart(a," ");if(c){let p=" ".repeat(a+2+wg(u.slice(0,r)).length)+"^";return`${d}: ${wg(u)}
|
|
${p}`}return`${d}: ${wg(u)}`}).join(`
|
|
`)}var kg=class extends Error{constructor(){super(...arguments);g(this,"code");g(this,"start");g(this,"end");g(this,"pos");g(this,"filename");g(this,"frame")}toString(){return`${this.message} (${this.start.line}:${this.start.column})
|
|
${this.frame}`}};function Is(e,t){let r=new kg(e);r.name=t.name;let n=xg(t.source,t.start,{offsetLine:1}),i=xg(t.source,t.end||t.start,{offsetLine:1});throw r.code=t.code,r.start=n,r.end=i,r.pos=t.start,r.filename=t.filename,r.frame=Ms(t.source,n.line-1,n.column),r}var YL=/ \(\d+:\d+\)$/,$g=class{constructor(t,r){g(this,"template");g(this,"filename");g(this,"customElement");g(this,"css_mode");g(this,"index",0);g(this,"stack",[]);g(this,"html");g(this,"css",[]);g(this,"js",[]);g(this,"meta_tags",{});g(this,"last_auto_closed_tag");if(typeof t!="string")throw new TypeError("Template must be a string");this.template=t.trimRight(),this.filename=r.filename,this.customElement=r.customElement,this.css_mode=r.css,this.html={start:null,end:null,type:"Fragment",children:[]},this.stack.push(this.html);let n=Ts;for(;this.index<this.template.length;)n=n(this)||Ts;if(this.stack.length>1){let i=this.current(),s=i.type==="Element"?`<${i.name}>`:"Block",a=i.type==="Element"?"element":"block";this.error({code:`unclosed-${a}`,message:`${s} was left open`},i.start)}if(n!==Ts&&this.error({code:"unexpected-eof",message:"Unexpected end of input"}),this.html.children.length){let i=this.html.children[0].start;for(;Bt.test(t[i]);)i+=1;let s=this.html.children[this.html.children.length-1].end;for(;Bt.test(t[s-1]);)s-=1;this.html.start=i,this.html.end=s}else this.html.start=this.html.end=null}current(){return this.stack[this.stack.length-1]}acorn_error(t){this.error({code:"parse-error",message:t.message.replace(YL,"")},t.pos)}error({code:t,message:r},n=this.index){Is(r,{name:"ParseError",code:t,source:this.template,start:n,filename:this.filename})}eat(t,r,n){return this.match(t)?(this.index+=t.length,!0):(r&&this.error(n||(this.index===this.template.length?ie.unexpected_eof_token(t):ie.unexpected_token(t))),!1)}match(t){return this.template.slice(this.index,this.index+t.length)===t}match_regex(t){let r=t.exec(this.template.slice(this.index));return!r||r.index!==0?null:r[0]}allow_whitespace(){for(;this.index<this.template.length&&Bt.test(this.template[this.index]);)this.index++}read(t){let r=this.match_regex(t);return r&&(this.index+=r.length),r}read_identifier(t=!1){let r=this.index,n=this.index,i=Zr(this.template,n);if(!Pt(i,!0))return null;for(n+=i<=65535?1:2;n<this.template.length;){let a=Zr(this.template,n);if(!Sr(a,!0))break;n+=a<=65535?1:2}let s=this.template.slice(this.index,this.index=n);return!t&&Ls.has(s)&&this.error({code:"unexpected-reserved-word",message:`'${s}' is a reserved word in JavaScript and cannot be used here`},r),s}read_until(t,r){this.index>=this.template.length&&this.error(r||{code:"unexpected-eof",message:"Unexpected end of input"});let n=this.index,i=t.exec(this.template.slice(n));return i?(this.index=n+i.index,this.template.slice(n,this.index)):(this.index=this.template.length,this.template.slice(n))}require_whitespace(){Bt.test(this.template[this.index])||this.error({code:"missing-whitespace",message:"Expected whitespace"}),this.allow_whitespace()}};function el(e,t={}){let r=new $g(e,t);r.css.length>1&&r.error(ie.duplicate_style,r.css[1].start);let n=r.js.filter(s=>s.context==="default"),i=r.js.filter(s=>s.context==="module");return n.length>1&&r.error(ie.invalid_script_instance,n[1].start),i.length>1&&r.error(ie.invalid_script_module,i[1].start),{html:r.html,css:r.css[0],instance:n[0],module:i[0]}}l();l();l();l();function Lr(e){return e&&e.type==="MemberExpression"&&e.object.name==="@_document"&&e.property.name==="head"}var Li=class e{constructor(t){g(this,"parent");g(this,"renderer");g(this,"name");g(this,"type");g(this,"comment");g(this,"wrappers");g(this,"key");g(this,"first");g(this,"dependencies",new Set);g(this,"bindings");g(this,"binding_group_initialised",new Set);g(this,"binding_groups",new Set);g(this,"chunks");g(this,"event_listeners",[]);g(this,"maintain_context");g(this,"has_animation");g(this,"has_intros");g(this,"has_outros");g(this,"has_intro_method");g(this,"has_outro_method");g(this,"outros");g(this,"aliases");g(this,"variables",new Map);g(this,"get_unique_name");g(this,"has_update_method",!1);g(this,"autofocus");this.parent=t.parent,this.renderer=t.renderer,this.name=t.name,this.type=t.type,this.comment=t.comment,this.wrappers=[],this.key=t.key,this.first=null,this.bindings=t.bindings,this.chunks={declarations:[],init:[],create:[],claim:[],hydrate:[],mount:[],measure:[],restore_measurements:[],fix:[],animate:[],intro:[],update:[],outro:[],destroy:[]},this.has_animation=!1,this.has_intro_method=!1,this.has_outro_method=!1,this.outros=0,this.get_unique_name=this.renderer.component.get_unique_name_maker(),this.aliases=new Map,this.key&&this.aliases.set("key",this.get_unique_name("key"))}assign_variable_names(){let t=new Set,r=new Set,n=this.wrappers.length;for(;n--;){let s=this.wrappers[n];s.var&&(t.has(s.var.name)&&r.add(s.var.name),t.add(s.var.name))}let i=new Map;for(n=this.wrappers.length;n--;){let s=this.wrappers[n];if(!s.var)continue;let a="";if(r.has(s.var.name)){let u=i.get(s.var.name)||0;i.set(s.var.name,u+1),a=u}s.var.name=this.get_unique_name(s.var.name+a).name}}add_dependencies(t){t.forEach(r=>{this.dependencies.add(r)}),this.has_update_method=!0,this.parent&&this.parent.add_dependencies(t)}add_element(t,r,n,i,s){this.add_variable(t),this.chunks.create.push(_`${t} = ${r};`),this.renderer.options.hydratable&&this.chunks.claim.push(_`${t} = ${n||r};`),i?(this.chunks.mount.push(_`@append(${i}, ${t});`),Lr(i)&&!s&&this.chunks.destroy.push(_`@detach(${t});`)):(this.chunks.mount.push(_`@insert(#target, ${t}, #anchor);`),s||this.chunks.destroy.push(_`if (detaching) @detach(${t});`))}add_intro(t){this.has_intros=this.has_intro_method=!0,!t&&this.parent&&this.parent.add_intro()}add_outro(t){this.has_outros=this.has_outro_method=!0,this.outros+=1,!t&&this.parent&&this.parent.add_outro()}add_animation(){this.has_animation=!0}add_variable(t,r){if(this.variables.has(t.name))throw new Error(`Variable '${t.name}' already initialised with a different value`);this.variables.set(t.name,{id:t,init:r})}alias(t){return this.aliases.has(t)||this.aliases.set(t,this.get_unique_name(t)),this.aliases.get(t)}child(t){return new e(Object.assign({},this,{key:null},t,{parent:this}))}get_contents(t){let{dev:r}=this.renderer.options;this.has_outros&&(this.add_variable({type:"Identifier",name:"#current"}),this.chunks.intro.length>0&&(this.chunks.intro.push(_`#current = true;`),this.chunks.mount.push(_`#current = true;`)),this.chunks.outro.length>0&&this.chunks.outro.push(_`#current = false;`)),this.autofocus&&(this.autofocus.condition_expression?this.chunks.mount.push(_`if (${this.autofocus.condition_expression}) ${this.autofocus.element_var}.focus();`):this.chunks.mount.push(_`${this.autofocus.element_var}.focus();`)),this.render_binding_groups(),this.render_listeners();let n={},i=v`@noop`;if(n.key=t,this.first&&(n.first=v`null`,this.chunks.hydrate.push(_`this.first = ${this.first};`)),this.chunks.create.length===0&&this.chunks.hydrate.length===0)n.create=i;else{let o=this.chunks.hydrate.length>0&&(this.renderer.options.hydratable?_`this.h();`:this.chunks.hydrate);n.create=v`function #create() {
|
|
${this.chunks.create}
|
|
${o}
|
|
}`}if((this.renderer.options.hydratable||this.chunks.claim.length>0)&&(this.chunks.claim.length===0&&this.chunks.hydrate.length===0?n.claim=i:n.claim=v`function #claim(#nodes) {
|
|
${this.chunks.claim}
|
|
${this.renderer.options.hydratable&&this.chunks.hydrate.length>0&&_`this.h();`}
|
|
}`),this.renderer.options.hydratable&&this.chunks.hydrate.length>0&&(n.hydrate=v`function #hydrate() {
|
|
${this.chunks.hydrate}
|
|
}`),this.chunks.mount.length===0?n.mount=i:this.event_listeners.length===0?n.mount=v`function #mount(#target, #anchor) {
|
|
${this.chunks.mount}
|
|
}`:n.mount=v`function #mount(#target, #anchor) {
|
|
${this.chunks.mount}
|
|
}`,this.has_update_method||this.maintain_context)if(this.chunks.update.length===0&&!this.maintain_context)n.update=i;else{let o=this.maintain_context?v`#new_ctx`:v`#ctx`,c={type:"Identifier",name:"#dirty"};!this.renderer.context_overflow&&!this.parent&&(c={type:"ArrayPattern",elements:[c]}),n.update=v`function #update(${o}, ${c}) {
|
|
${this.maintain_context&&_`#ctx = ${o};`}
|
|
${this.chunks.update}
|
|
}`}if(this.has_animation&&(n.measure=v`function #measure() {
|
|
${this.chunks.measure}
|
|
}`,this.chunks.restore_measurements.length&&(n.restore_measurements=v`function #restore_measurements(#measurement) {
|
|
${this.chunks.restore_measurements}
|
|
}`),n.fix=v`function #fix() {
|
|
${this.chunks.fix}
|
|
}`,n.animate=v`function #animate() {
|
|
${this.chunks.animate}
|
|
}`),(this.has_intro_method||this.has_outro_method)&&(this.chunks.intro.length===0?n.intro=i:n.intro=v`function #intro(#local) {
|
|
${this.has_outros&&_`if (#current) return;`}
|
|
${this.chunks.intro}
|
|
}`,this.chunks.outro.length===0?n.outro=i:n.outro=v`function #outro(#local) {
|
|
${this.chunks.outro}
|
|
}`),this.chunks.destroy.length===0)n.destroy=i;else{let o=[],c=$n(this.chunks.destroy).filter(d=>d.type==="IfStatement"&&d.test.type==="Identifier"&&d.test.name==="detaching"?(o.push(d.consequent),!1):!0);n.destroy=v`function #destroy(detaching) {
|
|
${o.length?_`if (detaching) { ${o} }`:null}
|
|
${c}
|
|
}`}if(!this.renderer.component.compile_options.dev)for(let o in n){let c=n[o];c&&(c.id=null)}let s=v`{
|
|
key: ${n.key},
|
|
first: ${n.first},
|
|
c: ${n.create},
|
|
l: ${n.claim},
|
|
h: ${n.hydrate},
|
|
m: ${n.mount},
|
|
p: ${n.update},
|
|
r: ${n.measure},
|
|
s: ${n.restore_measurements},
|
|
f: ${n.fix},
|
|
a: ${n.animate},
|
|
i: ${n.intro},
|
|
o: ${n.outro},
|
|
d: ${n.destroy}
|
|
}`,a=r&&this.get_unique_name("block");return _`
|
|
${this.chunks.declarations}
|
|
|
|
${Array.from(this.variables.values()).map(({id:o,init:c})=>c?_`let ${o} = ${c}`:_`let ${o}`)}
|
|
|
|
${this.chunks.init}
|
|
|
|
${r?_`
|
|
const ${a} = ${s};
|
|
@dispatch_dev("SvelteRegisterBlock", {
|
|
block: ${a},
|
|
id: ${this.name||"create_fragment"}.name,
|
|
type: "${this.type}",
|
|
source: "${this.comment?this.comment.replace(ao,'\\"'):""}",
|
|
ctx: #ctx
|
|
});
|
|
return ${a};`:_`
|
|
return ${s};`}
|
|
`}has_content(){return!!this.first||this.event_listeners.length>0||this.chunks.intro.length>0||this.chunks.outro.length>0||this.chunks.create.length>0||this.chunks.hydrate.length>0||this.chunks.claim.length>0||this.chunks.mount.length>0||this.chunks.update.length>0||this.chunks.destroy.length>0||this.has_animation}render(){let t=this.key&&this.get_unique_name("key"),r=[v`#ctx`];t&&r.unshift(t);let n=_`function ${this.name}(${r}) {
|
|
${this.get_contents(t)}
|
|
}`;return this.comment?_`
|
|
// ${this.comment}
|
|
${n}`:n}render_listeners(t=""){if(this.event_listeners.length>0){this.add_variable({type:"Identifier",name:"#mounted"}),this.chunks.destroy.push(_`#mounted = false`);let r={type:"Identifier",name:`#dispose${t}`};this.add_variable(r),this.event_listeners.length===1?(this.chunks.mount.push(_`
|
|
if (!#mounted) {
|
|
${r} = ${this.event_listeners[0]};
|
|
#mounted = true;
|
|
}
|
|
`),this.chunks.destroy.push(_`${r}();`)):(this.chunks.mount.push(_`
|
|
if (!#mounted) {
|
|
${r} = [
|
|
${this.event_listeners}
|
|
];
|
|
#mounted = true;
|
|
}
|
|
`),this.chunks.destroy.push(_`@run_all(${r});`))}}render_binding_groups(){for(let t of this.binding_groups)t.render(this)}};l();l();l();var ke=class{constructor(t,r,n,i){g(this,"renderer");g(this,"parent");g(this,"node");g(this,"prev");g(this,"next");g(this,"var");this.node=i,Object.defineProperties(this,{renderer:{value:t},parent:{value:n}}),r.wrappers.push(this)}get_or_create_anchor(t,r,n){let i=this.next?!this.next.is_dom_node():!r||!this.parent.is_dom_node(),s=i?t.get_unique_name(`${this.var.name}_anchor`):this.next&&this.next.var||{type:"Identifier",name:"null"};return i&&t.add_element(s,v`@empty()`,n&&v`@empty()`,r),s}get_update_mount_node(t){return this.parent&&this.parent.is_dom_node()?this.parent.var:v`${t}.parentNode`}is_dom_node(){return this.node.type==="Element"||this.node.type==="Text"||this.node.type==="MustacheTag"}render(t,r,n,i=void 0){throw Error("Wrapper class is not renderable")}};l();function St(e,t){let{locate:r,source:n}=t,i=e.start;if(e.type==="ElseBlock"){for(;n[i-1]!=="{";)i-=1;for(;n[i-1]==="{";)i-=1}let s;if(e.type==="InlineComponent"||e.type==="Element"||e.type==="SlotTemplate")if(e.children.length)for(s=e.children[0].start;n[s-1]!==">";)s-=1;else{for(s=e.start;n[s]!==">";)s+=1;s+=1}else if(e.type==="Text"||e.type==="Comment")s=e.end;else{for(s=e.expression?e.expression.node.end:i;n[s]!=="}"&&s<=n.length;)s+=1;for(;n[s]==="}";)s+=1}let a=r(i);return`${`(${a.line}:${a.column})`} ${n.slice(i,s)}`.replace(Py," ")}l();l();l();var he=class{constructor(t,r,n,i){g(this,"start");g(this,"end");g(this,"component");g(this,"parent");g(this,"type");g(this,"prev");g(this,"next");g(this,"can_use_innerhtml");g(this,"is_static_content");g(this,"var");g(this,"attributes",[]);this.start=i.start,this.end=i.end,this.type=i.type,Object.defineProperties(this,{component:{value:t},parent:{value:r}}),this.can_use_innerhtml=!0,this.is_static_content=!0}cannot_use_innerhtml(){this.can_use_innerhtml!==!1&&(this.can_use_innerhtml=!1,this.parent&&this.parent.cannot_use_innerhtml())}not_static_content(){this.is_static_content=!1,this.parent&&this.parent.not_static_content()}find_nearest(t){if(t.test(this.type))return this;if(this.parent)return this.parent.find_nearest(t)}get_static_attribute_value(t){let r=this.attributes.find(n=>n.type==="Attribute"&&n.name.toLowerCase()===t);return r?r.is_true?!0:r.chunks.length===0?"":r.chunks.length===1&&r.chunks[0].type==="Text"?r.chunks[0].data:null:null}has_ancestor(t){return this.parent?this.parent.type===t||this.parent.has_ancestor(t):!1}};l();var ae={tag_option_deprecated:{code:"tag-option-deprecated",message:"'tag' option is deprecated \u2014 use 'customElement' instead"},unused_export_let:(e,t)=>({code:"unused-export-let",message:`${e} has unused export property '${t}'. If it is for external reference only, please consider using \`export const ${t}\``}),module_script_reactive_declaration:{code:"module-script-reactive-declaration",message:"$: has no effect in a module script"},non_top_level_reactive_declaration:{code:"non-top-level-reactive-declaration",message:"$: has no effect outside of the top-level"},module_script_variable_reactive_declaration:e=>({code:"module-script-reactive-declaration",message:`${e.map(t=>`"${t}"`).join(", ")} ${e.length>1?"are":"is"} declared in a module script and will not be reactive`}),missing_declaration:(e,t)=>({code:"missing-declaration",message:`'${e}' is not defined`+(t?"":`. Consider adding a <script> block with 'export let ${e}' to declare a prop`)}),missing_custom_element_compile_options:{code:"missing-custom-element-compile-options",message:"The 'customElement' option is used when generating a custom element. Did you forget the 'customElement: true' compile option?"},css_unused_selector:e=>({code:"css-unused-selector",message:`Unused CSS selector "${e}"`}),empty_block:{code:"empty-block",message:"Empty block"},reactive_component:e=>({code:"reactive-component",message:`<${e}/> will not be reactive if ${e} changes. Use <svelte:component this={${e}}/> if you want this reactivity.`}),component_name_lowercase:e=>({code:"component-name-lowercase",message:`<${e}> will be treated as an HTML element unless it begins with a capital letter`}),avoid_is:{code:"avoid-is",message:"The 'is' attribute is not supported cross-browser and should be avoided"},invalid_html_attribute:(e,t)=>({code:"invalid-html-attribute",message:`'${e}' is not a valid HTML attribute. Did you mean '${t}'?`}),a11y_aria_attributes:e=>({code:"a11y-aria-attributes",message:`A11y: <${e}> should not have aria-* attributes`}),a11y_incorrect_attribute_type:(e,t)=>{let r;switch(e.type){case"boolean":r=`The value of '${t}' must be exactly one of true or false`;break;case"id":r=`The value of '${t}' must be a string that represents a DOM element ID`;break;case"idlist":r=`The value of '${t}' must be a space-separated list of strings that represent DOM element IDs`;break;case"tristate":r=`The value of '${t}' must be exactly one of true, false, or mixed`;break;case"token":r=`The value of '${t}' must be exactly one of ${(e.values||[]).join(", ")}`;break;case"tokenlist":r=`The value of '${t}' must be a space-separated list of one or more of ${(e.values||[]).join(", ")}`;break;default:r=`The value of '${t}' must be of type ${e.type}`}return{code:"a11y-incorrect-aria-attribute-type",message:`A11y: ${r}`}},a11y_unknown_aria_attribute:(e,t)=>({code:"a11y-unknown-aria-attribute",message:`A11y: Unknown aria attribute 'aria-${e}'`+(t?` (did you mean '${t}'?)`:"")}),a11y_hidden:e=>({code:"a11y-hidden",message:`A11y: <${e}> element should not be hidden`}),a11y_misplaced_role:e=>({code:"a11y-misplaced-role",message:`A11y: <${e}> should not have role attribute`}),a11y_unknown_role:(e,t)=>({code:"a11y-unknown-role",message:`A11y: Unknown role '${e}'`+(t?` (did you mean '${t}'?)`:"")}),a11y_no_abstract_role:e=>({code:"a11y-no-abstract-role",message:`A11y: Abstract role '${e}' is forbidden`}),a11y_no_redundant_roles:e=>({code:"a11y-no-redundant-roles",message:`A11y: Redundant role '${e}'`}),a11y_no_static_element_interactions:(e,t)=>({code:"a11y-no-static-element-interactions",message:`A11y: <${e}> with ${t.join(", ")} ${t.length===1?"handler":"handlers"} must have an ARIA role`}),a11y_no_interactive_element_to_noninteractive_role:(e,t)=>({code:"a11y-no-interactive-element-to-noninteractive-role",message:`A11y: <${t}> cannot have role '${e}'`}),a11y_no_noninteractive_element_interactions:e=>({code:"a11y-no-noninteractive-element-interactions",message:`A11y: Non-interactive element <${e}> should not be assigned mouse or keyboard event listeners.`}),a11y_no_noninteractive_element_to_interactive_role:(e,t)=>({code:"a11y-no-noninteractive-element-to-interactive-role",message:`A11y: Non-interactive element <${t}> cannot have interactive role '${e}'`}),a11y_role_has_required_aria_props:(e,t)=>({code:"a11y-role-has-required-aria-props",message:`A11y: Elements with the ARIA role "${e}" must have the following attributes defined: ${t.map(r=>`"${r}"`).join(", ")}`}),a11y_role_supports_aria_props:(e,t,r,n)=>{let i=`The attribute '${e}' is not supported by the role '${t}'.`;return r&&(i+=` This role is implicit on the element <${n}>.`),{code:"a11y-role-supports-aria-props",message:`A11y: ${i}`}},a11y_accesskey:{code:"a11y-accesskey",message:"A11y: Avoid using accesskey"},a11y_autofocus:{code:"a11y-autofocus",message:"A11y: Avoid using autofocus"},a11y_misplaced_scope:{code:"a11y-misplaced-scope",message:"A11y: The scope attribute should only be used with <th> elements"},a11y_positive_tabindex:{code:"a11y-positive-tabindex",message:"A11y: avoid tabindex values above zero"},a11y_invalid_attribute:(e,t)=>({code:"a11y-invalid-attribute",message:`A11y: '${t}' is not a valid ${e} attribute`}),a11y_missing_attribute:(e,t,r)=>({code:"a11y-missing-attribute",message:`A11y: <${e}> element should have ${t} ${r} attribute`}),a11y_autocomplete_valid:(e,t)=>({code:"a11y-autocomplete-valid",message:`A11y: The value '${t}' is not supported by the attribute 'autocomplete' on element <input type="${e||"..."}">`}),a11y_img_redundant_alt:{code:"a11y-img-redundant-alt",message:"A11y: Screenreaders already announce <img> elements as an image."},a11y_interactive_supports_focus:e=>({code:"a11y-interactive-supports-focus",message:`A11y: Elements with the '${e}' interactive role must have a tabindex value.`}),a11y_label_has_associated_control:{code:"a11y-label-has-associated-control",message:"A11y: A form label must be associated with a control."},a11y_media_has_caption:{code:"a11y-media-has-caption",message:'A11y: <video> elements must have a <track kind="captions">'},a11y_distracting_elements:e=>({code:"a11y-distracting-elements",message:`A11y: Avoid <${e}> elements`}),a11y_structure_immediate:{code:"a11y-structure",message:"A11y: <figcaption> must be an immediate child of <figure>"},a11y_structure_first_or_last:{code:"a11y-structure",message:"A11y: <figcaption> must be first or last child of <figure>"},a11y_mouse_events_have_key_events:(e,t)=>({code:"a11y-mouse-events-have-key-events",message:`A11y: on:${e} must be accompanied by on:${t}`}),a11y_click_events_have_key_events:{code:"a11y-click-events-have-key-events",message:'A11y: visible, non-interactive elements with an on:click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as <button type="button"> or <a> might be more appropriate. See https://svelte.dev/docs/accessibility-warnings#a11y-click-events-have-key-events for more details.'},a11y_missing_content:e=>({code:"a11y-missing-content",message:`A11y: <${e}> element should have child content`}),a11y_no_noninteractive_tabindex:{code:"a11y-no-noninteractive-tabindex",message:"A11y: noninteractive element cannot have nonnegative tabIndex value"},a11y_aria_activedescendant_has_tabindex:{code:"a11y-aria-activedescendant-has-tabindex",message:"A11y: Elements with attribute aria-activedescendant should have tabindex value"},redundant_event_modifier_for_touch:{code:"redundant-event-modifier",message:"Touch event handlers that don't use the 'event' object are passive by default"},redundant_event_modifier_passive:{code:"redundant-event-modifier",message:"The passive modifier only works with wheel and touch events"},invalid_rest_eachblock_binding:e=>({code:"invalid-rest-eachblock-binding",message:`The rest operator (...) will create a new object and binding '${e}' with the original object will not work`}),avoid_mouse_events_on_document:{code:"avoid-mouse-events-on-document",message:"Mouse enter/leave events on the document are not supported in all browsers and should be avoided"},illegal_attribute_character:{code:"illegal-attribute-character",message:"Attributes should not contain ':' characters to prevent ambiguity with Svelte directives"}};var KL=/[^ \r\n\f\v\t]/,yt=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"block");g(this,"children")}warn_if_empty_block(){if(!this.children||this.children.length>1)return;let r=this.children[0];(!r||r.type==="Text"&&!KL.test(r.data))&&this.component.warn(this,ae.empty_block)}};l();l();l();l();function Ht(e){let t=[],r=[];for(;e.type==="MemberExpression";){if(t.unshift(e.property),!e.computed)r.unshift(e.property.name);else{let i=QL(e.property);i&&r.unshift(`[${i}]`)}e=e.object}let n=e.type==="Identifier"?e.name:e.type==="ThisExpression"?"this":null;return t.unshift(e),r.unshift(n),{name:n,nodes:t,parts:r}}function QL(e){switch(e.type){case"Literal":return String(e.value);case"Identifier":return e.name}}l();function Mi(e){return uo(e)}l();function rt(e){for(;e.type==="MemberExpression";)e=e.object;return e}l();l();var Cg=new Set(["$$props","$$restProps","$$slots"]);function Gt(e){return Cg.has(e)}function Mr(e){if(e){let t=!e.module&&!e.global;if(t&&(e.mutated||e.reassigned)||t&&e.writable&&e.export_name||Gt(e.name))return!0}return!1}l();l();function tl(e,t,r=[]){if(!!e!=!!t||Array.isArray(e)!==Array.isArray(t))return!1;if(e&&typeof e=="object"){if(Array.isArray(e))return e.length!==t.length?!1:e.every((a,u)=>tl(a,t[u]));let n=Object.keys(e).sort().filter(a=>!r.includes(a)),i=Object.keys(t).sort().filter(a=>!r.includes(a));if(n.length!==i.length)return!1;let s=n.length;for(;s--;){let a=n[s];if(i[s]!==a)return!1;if(!(a==="start"||a==="end")&&!tl(e[a],t[a]))return!1}return!0}return e===t}function Ii(e,t,r,n,i=!1){let{component:s}=e,[a,...u]=Array.from(n).filter(f=>{let m=t.find_owner(f);return!m||m===s.instance_scope}).map(f=>s.var_lookup.get(f)).filter(f=>f&&!f.hoistable&&!f.global&&!f.module&&(f.referenced||f.subscribable||f.is_reactive_dependency||f.export_name||f.name[0]==="$"));function o(f,m){return i&&!f.subscribable&&f.name[0]!=="$"?m:Sg(e,f.name,void 0,i)}if(!a)return r;if(s.has_reactive_assignments=!0,r.type==="AssignmentExpression"&&r.operator==="="&&tl(r.left,r.right,["trailingComments","leadingComments"])&&u.length===0)return o(a,r);let c=a.name[0]==="$"&&a.name[1]!=="$",d=u.map(f=>o(f)).filter(Boolean);if(c)return v`@set_store_value(${a.name.slice(1)}, ${r}, ${a.name}, ${d})`;let p;if(i?p=d.length?[r,...d]:r:((d.length>0||r.type==="AssignmentExpression"&&r.left.type!=="Identifier"||r.type==="UpdateExpression"&&(!r.prefix||r.argument.type!=="Identifier"))&&d.unshift({type:"Identifier",name:a.name}),p=v`$$invalidate(${e.context_lookup.get(a.name).index}, ${r}, ${d})`),a.subscribable&&a.reassigned){let f=`$$subscribe_${a.name}`;p=v`${f}(${p})`}return p}function Sg(e,t,r,n=!1){let i=e.component.var_lookup.get(t);if(i&&i.subscribable&&(i.reassigned||i.export_name)){if(n)return v`${`$$subscribe_${t}`}(${r||t})`;{let u=e.context_lookup.get(t);return v`${`$$subscribe_${t}`}($$invalidate(${u.index}, ${r||t}))`}}if(t[0]==="$"&&t[1]!=="$")return v`${t.slice(1)}.set(${r||t})`;if(i&&(i.module||!i.referenced&&!i.is_reactive_dependency&&!i.export_name&&!t.startsWith("$$")))return r||t;if(r){if(n)return v`${r}`;{let u=e.context_lookup.get(t);return v`$$invalidate(${u.index}, ${r})`}}if(n)return;let s=new Set([t]);s.forEach(u=>{e.component.reactive_declarations.filter(c=>c.assignees.has(u)).forEach(c=>{c.dependencies.forEach(d=>{s.add(d)})})});let a=Array.from(s).filter(u=>e.context_lookup.has(u));return a.length?a.map(u=>v`$$invalidate(${e.context_lookup.get(u).index}, ${u})`).reduce((u,o)=>v`${u}, ${o}`):null}l();function Os(e,t){if(e.type==="Identifier")return t;let r=e,n;for(;e.type==="MemberExpression";)n=e,e=e.object;return n.object=t,r}l();function Ns(e,t,r){if(Gt(r)||!t.is_top_level(r))return!0;let n=e.var_lookup.get(r);return!(!n||n.hoistable)}l();function br(e){let t,r,n;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(n=e[t])&&typeof n=="object"?br(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:br(e[t]),configurable:!0,enumerable:!0,writable:!0}):typeof e[t]!="function"&&(r[t]=(n=e[t])&&typeof n=="object"?br(n):n);return r}return e}l();var M={invalid_binding_elements:(e,t)=>({code:"invalid-binding",message:`'${t}' is not a valid binding on <${e}> elements`}),invalid_binding_element_with:(e,t)=>({code:"invalid-binding",message:`'${t}' binding can only be used with ${e}`}),invalid_binding_on:(e,t,r)=>({code:"invalid-binding",message:`'${e}' is not a valid binding on ${t}`+(r||"")}),invalid_binding_foreign:e=>({code:"invalid-binding",message:`'${e}' is not a valid binding. Foreign elements only support bind:this`}),invalid_binding_no_checkbox:(e,t)=>({code:"invalid-binding",message:`'${e}' binding can only be used with <input type="checkbox">`+(t?` \u2014 for <input type="radio">, use 'group' binding`:"")}),invalid_binding:e=>({code:"invalid-binding",message:`'${e}' is not a valid binding`}),invalid_binding_window:e=>({code:"invalid-binding",message:`Bindings on <svelte:window> must be to top-level properties, e.g. '${e[e.length-1]}' rather than '${e.join(".")}'`}),invalid_binding_let:{code:"invalid-binding",message:"Cannot bind to a variable declared with the let: directive"},invalid_binding_await:{code:"invalid-binding",message:"Cannot bind to a variable declared with {#await ... then} or {:catch} blocks"},invalid_binding_const:{code:"invalid-binding",message:"Cannot bind to a variable declared with {@const ...}"},invalid_binding_writable:{code:"invalid-binding",message:"Cannot bind to a variable which is not writable"},binding_undeclared:e=>({code:"binding-undeclared",message:`${e} is not declared`}),invalid_type:{code:"invalid-type",message:"'type' attribute cannot be dynamic if input uses two-way binding"},missing_type:{code:"missing-type",message:"'type' attribute must be specified"},dynamic_multiple_attribute:{code:"dynamic-multiple-attribute",message:"'multiple' attribute cannot be dynamic if select uses two-way binding"},missing_contenteditable_attribute:{code:"missing-contenteditable-attribute",message:"'contenteditable' attribute is required for textContent, innerHTML and innerText two-way bindings"},dynamic_contenteditable_attribute:{code:"dynamic-contenteditable-attribute",message:"'contenteditable' attribute cannot be dynamic if element uses two-way binding"},invalid_event_modifier_combination:(e,t)=>({code:"invalid-event-modifier",message:`The '${e}' and '${t}' modifiers cannot be used together`}),invalid_event_modifier_legacy:e=>({code:"invalid-event-modifier",message:`The '${e}' modifier cannot be used in legacy mode`}),invalid_event_modifier:e=>({code:"invalid-event-modifier",message:`Valid event modifiers are ${e}`}),invalid_event_modifier_component:{code:"invalid-event-modifier",message:"Event modifiers other than 'once' can only be used on DOM elements"},textarea_duplicate_value:{code:"textarea-duplicate-value",message:"A <textarea> can have either a value attribute or (equivalently) child content, but not both"},illegal_attribute:e=>({code:"illegal-attribute",message:`'${e}' is not a valid attribute name`}),invalid_slot_attribute:{code:"invalid-slot-attribute",message:"slot attribute cannot have a dynamic value"},duplicate_slot_attribute:e=>({code:"duplicate-slot-attribute",message:`Duplicate '${e}' slot`}),invalid_slotted_content:{code:"invalid-slotted-content",message:"Element with a slot='...' attribute must be a child of a component or a descendant of a custom element"},invalid_attribute_head:{code:"invalid-attribute",message:"<svelte:head> should not have any attributes or directives"},invalid_action:{code:"invalid-action",message:"Actions can only be applied to DOM elements, not components"},invalid_animation:{code:"invalid-animation",message:"Animations can only be applied to DOM elements, not components"},invalid_class:{code:"invalid-class",message:"Classes can only be applied to DOM elements, not components"},invalid_transition:{code:"invalid-transition",message:"Transitions can only be applied to DOM elements, not components"},invalid_let:{code:"invalid-let",message:"let directive value must be an identifier or an object/array pattern"},invalid_slot_directive:{code:"invalid-slot-directive",message:"<slot> cannot have directives"},dynamic_slot_name:{code:"dynamic-slot-name",message:"<slot> name cannot be dynamic"},invalid_slot_name:{code:"invalid-slot-name",message:"default is a reserved word \u2014 it cannot be used as a slot name"},invalid_slot_attribute_value_missing:{code:"invalid-slot-attribute",message:"slot attribute value is missing"},invalid_slotted_content_fragment:{code:"invalid-slotted-content",message:"<svelte:fragment> must be a child of a component"},illegal_attribute_title:{code:"illegal-attribute",message:"<title> cannot have attributes"},illegal_structure_title:{code:"illegal-structure",message:"<title> can only contain text and {tags}"},duplicate_transition:(e,t)=>{function r(i){return i==="transition"?"a 'transition'":`an '${i}'`}return{code:"duplicate-transition",message:e===t?`An element can only have one '${e}' directive`:`An element cannot have both ${r(t)} directive and ${r(e)} directive`}},contextual_store:{code:"contextual-store",message:"Stores must be declared at the top level of the component (this may change in a future version of Svelte)"},default_export:{code:"default-export",message:"A component cannot have a default export"},illegal_declaration:{code:"illegal-declaration",message:"The $ prefix is reserved, and cannot be used for variable and import names"},illegal_subscription:{code:"illegal-subscription",message:'Cannot reference store value inside <script context="module">'},illegal_global:e=>({code:"illegal-global",message:`${e} is an illegal variable name`}),illegal_variable_declaration:{code:"illegal-variable-declaration",message:'Cannot declare same variable name which is imported inside <script context="module">'},cyclical_reactive_declaration:e=>({code:"cyclical-reactive-declaration",message:`Cyclical dependency detected: ${e.join(" \u2192 ")}`}),invalid_tag_property:{code:"invalid-tag-property",message:"tag name must be two or more words joined by the '-' character"},invalid_customElement_attribute:{code:"invalid-customElement-attribute",message:"'customElement' must be a string literal defining a valid custom element name or an object of the form { tag: string; shadow?: 'open' | 'none'; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }"},invalid_tag_attribute:{code:"invalid-tag-attribute",message:"'tag' must be a string literal"},invalid_shadow_attribute:{code:"invalid-shadow-attribute",message:"'shadow' must be either 'open' or 'none'"},invalid_props_attribute:{code:"invalid-props-attribute",message:"'props' must be a statically analyzable object literal of the form '{ [key: string]: { attribute?: string; reflect?: boolean; type?: 'String' | 'Boolean' | 'Number' | 'Array' | 'Object' }'"},invalid_namespace_property:(e,t)=>({code:"invalid-namespace-property",message:`Invalid namespace '${e}'`+(t?` (did you mean '${t}'?)`:"")}),invalid_namespace_attribute:{code:"invalid-namespace-attribute",message:"The 'namespace' attribute must be a string literal representing a valid namespace"},invalid_attribute_value:e=>({code:`invalid-${e}-value`,message:`${e} attribute must be true or false`}),invalid_options_attribute_unknown:e=>({code:"invalid-options-attribute",message:`<svelte:options> unknown attribute '${e}'`}),invalid_options_attribute:{code:"invalid-options-attribute",message:"<svelte:options> can only have static 'tag', 'namespace', 'accessors', 'immutable' and 'preserveWhitespace' attributes"},css_invalid_global:{code:"css-invalid-global",message:":global(...) can be at the start or end of a selector sequence, but not in the middle"},css_invalid_global_selector:{code:"css-invalid-global-selector",message:":global(...) must contain a single selector"},css_invalid_global_selector_position:{code:"css-invalid-global-selector-position",message:":global(...) not at the start of a selector sequence should not contain type or universal selectors"},css_invalid_selector:e=>({code:"css-invalid-selector",message:`Invalid selector "${e}"`}),duplicate_animation:{code:"duplicate-animation",message:"An element can only have one 'animate' directive"},invalid_animation_immediate:{code:"invalid-animation",message:"An element that uses the animate directive must be the immediate child of a keyed each block"},invalid_animation_key:{code:"invalid-animation",message:"An element that uses the animate directive must be used inside a keyed each block. Did you forget to add a key to your each block?"},invalid_animation_sole:{code:"invalid-animation",message:"An element that uses the animate directive must be the sole child of a keyed each block"},invalid_animation_dynamic_element:{code:"invalid-animation",message:"<svelte:element> cannot have a animate directive"},invalid_directive_value:{code:"invalid-directive-value",message:"Can only bind to an identifier (e.g. `foo`) or a member expression (e.g. `foo.bar` or `foo[baz]`)"},invalid_const_placement:{code:"invalid-const-placement",message:"{@const} must be the immediate child of {#if}, {:else if}, {:else}, {#each}, {:then}, {:catch}, <svelte:fragment> or <Component>"},invalid_const_declaration:e=>({code:"invalid-const-declaration",message:`'${e}' has already been declared`}),invalid_const_update:e=>({code:"invalid-const-update",message:`'${e}' is declared using {@const ...} and is read-only`}),cyclical_const_tags:e=>({code:"cyclical-const-tags",message:`Cyclical dependency detected: ${e.join(" \u2192 ")}`}),invalid_component_style_directive:{code:"invalid-component-style-directive",message:"Style directives cannot be used on components"},invalid_var_declaration:{code:"invalid_var_declaration",message:'"var" scope should not extend outside the reactive block'},invalid_style_directive_modifier:e=>({code:"invalid-style-directive-modifier",message:`Valid modifiers for style directives are: ${e}`})};var XL=/FunctionExpression/,ye=class{constructor(t,r,n,i,s){g(this,"type","Expression");g(this,"component");g(this,"owner");g(this,"node");g(this,"references",new Set);g(this,"dependencies",new Set);g(this,"contextual_dependencies",new Set);g(this,"template_scope");g(this,"scope");g(this,"scope_map");g(this,"declarations",[]);g(this,"uses_context",!1);g(this,"manipulated");Object.defineProperties(this,{component:{value:t}}),this.node=i,this.template_scope=n,this.owner=r;let{dependencies:a,contextual_dependencies:u,references:o}=this,{map:c,scope:d}=Mi(i);this.scope=d,this.scope_map=c;let p=this,f;we(i,{enter(m,y,w){if(w==="key"&&y.shorthand)return;if(m.type==="MetaProperty")return this.skip();if(c.has(m)&&(d=c.get(m)),!f&&XL.test(m.type)&&(f=m),pt(m,y)){let{name:C,nodes:R}=Ht(m);if(o.add(C),d.has(C))return;if(C[0]==="$"){let E=C.slice(1);if(n.names.has(E)||d.has(E))return t.error(m,M.contextual_store)}if(n.is_let(C))s||(u.add(C),a.add(C));else if(n.names.has(C)){p.uses_context=!0,u.add(C);let E=n.get_owner(C),H=E.type==="EachBlock"&&E.key&&C===E.index;(!s||H)&&n.dependencies_for_name.get(C).forEach(Y=>a.add(Y))}else{if(!s){let E=t.var_lookup.get(C);(!E||!E.imported||E.mutated||E.reassigned)&&a.add(C)}t.add_reference(m,C),t.warn_if_undefined(C,R[0],n,r)}this.skip()}let b,$=!1;f&&(m.type==="AssignmentExpression"?($=m.left.type==="MemberExpression",b=Ye($?rt(m.left):m.left)):m.type==="UpdateExpression"&&($=m.argument.type==="MemberExpression",b=Ye(rt(m.argument)))),b&&b.forEach(C=>{if(n.names.has(C)){n.is_const(C)&&t.error(m,M.invalid_const_update(C)),n.dependencies_for_name.get(C).forEach(E=>{let H=t.var_lookup.get(E);H&&(H[$?"mutated":"reassigned"]=!0)});let R=n.get_owner(C);R.has_binding=!0}else{t.add_reference(m,C);let R=t.var_lookup.get(C);R&&(R[$?"mutated":"reassigned"]=!0);let E=d.find_owner(C)?.declarations.get(C);E?E.kind==="const"&&!$&&t.error(m,{code:"assignment-to-const",message:"You are assigning to a const"}):R&&R.writable===!1&&!$&&t.error(m,{code:"assignment-to-const",message:"You are assigning to a const"})}})},leave(m){c.has(m)&&(d=d.parent),m===f&&(f=null)}})}dynamic_dependencies(){return Array.from(this.dependencies).filter(t=>{if(this.template_scope.is_let(t)||Gt(t))return!0;let r=this.component.var_lookup.get(t);return Mr(r)})}dynamic_contextual_dependencies(){return Array.from(this.contextual_dependencies).filter(t=>Array.from(this.template_scope.dependencies_for_name.get(t)).some(r=>{let n=this.component.var_lookup.get(r);return Mr(n)}))}manipulate(t,r){if(this.manipulated)return this.manipulated;let{component:n,declarations:i,scope_map:s,template_scope:a,owner:u}=this,o=this.scope,c,d,p,f=we(this.node,{enter(m,y){if(m.type==="Property"&&m.shorthand&&(m.value=br(m.value),m.shorthand=!1),s.has(m)&&(o=s.get(m)),m.type==="Identifier"&&pt(m,y)){let{name:w}=Ht(m);if(o.has(w))return;if(c)a.names.has(w)?(p.add(w),a.dependencies_for_name.get(w).forEach(b=>{d.add(b)})):(d.add(w),n.add_reference(m,w));else if(Ns(n,a,w)){let b=t.renderer.reference(m,r);this.replace(b)}this.skip()}c||(m.type,(m.type==="FunctionExpression"||m.type==="ArrowFunctionExpression")&&(c=m,d=new Set,p=new Set))},leave(m,y){if(s.has(m)&&(o=o.parent),m===c){let w=n.get_unique_name(It(ZL(m,u))),b=_`const ${w} = ${m}`,$=()=>{let C=Array.from(p),R=m,E=R.params.length>0;R.params=[...C.map(j=>({type:"Identifier",name:j})),...R.params];let H=C.map(j=>t.renderer.reference(j,r));n.partly_hoisted.push(b),t.renderer.add_to_context(w.name);let Y=t.renderer.reference(w);this.replace(w);let P=E?_`function ${w}(...args) {
|
|
return ${Y}(${H}, ...args);
|
|
}`:_`function ${w}() {
|
|
return ${Y}(${H});
|
|
}`;return{deps:C,func_declaration:P}};if(u.type==="ConstTag")if(p.size===0){let C=o;we(m,{enter(R,E){if(s.has(R)&&(C=s.get(R)),R.type==="Identifier"&&pt(R,E)){if(C.has(R.name))return;this.replace(t.renderer.reference(R,r))}},leave(R){s.has(R)&&(C=C.parent)}})}else{let{func_declaration:C}=$();this.replace(C[0])}else if(d.size===0&&p.size===0)n.fully_hoisted.push(b),this.replace(w),n.add_var(m,{name:w.name,internal:!0,hoistable:!0,referenced:!0});else if(p.size===0)n.partly_hoisted.push(b),t.renderer.add_to_context(w.name),this.replace(t.renderer.reference(w));else{let{deps:C,func_declaration:R}=$();if(u.type==="Attribute"&&u.parent.name==="slot"){let E=new Set(C.map(P=>a.get_owner(P))),H=u.parent;for(;H&&!E.has(H);)H=H.parent;let Y=R[0];if(H.type==="SlotTemplate")this.replace(Y);else{let P=n.get_unique_name(w.name+"_func");t.renderer.add_to_context(P.name,!0),we(Y,{enter(j){j.type==="Identifier"&&j.name==="#ctx"&&(j.name="child_ctx")}}),a.get_owner(C[0]).contexts.push({type:"DestructuredVariable",key:P,modifier:()=>Y,default_modifier:j=>j}),this.replace(t.renderer.reference(P))}}else i.push(R)}c=null,d=null,p=null,y&&y.type==="Property"&&(y.method=!1)}if(m.type==="AssignmentExpression"||m.type==="UpdateExpression"){let w=m.type==="AssignmentExpression"?m.left:m.argument,b=rt(w).name;if(o.has(b))return;let $=new Set(Ye(w)),C=new Set;$.forEach(E=>{let H=a.dependencies_for_name.get(E);H?H.forEach(Y=>C.add(Y)):C.add(E)});let R=t.bindings.get(b);if(R){let{snippet:E,object:H,property:Y}=R,P=Os(w,E);m.type==="AssignmentExpression"?m.left=P:m.argument=P,p.add(H.name),p.add(Y.name)}this.replace(Ii(t.renderer,o,m,C))}}});return i.length>0&&(t.maintain_context=!0,i.forEach(m=>{t.chunks.init.push(m)})),this.manipulated=f}};function ZL(e,t){return t.type==="EventHandler"?`${t.name}_handler`:t.type==="Action"?`${t.name}_function`:"func"}l();function Wt({contexts:e,node:t,modifier:r=o=>o,default_modifier:n=o=>o,scope:i,component:s,context_rest_properties:a,in_rest_element:u=!1}){if(t){if(t.type==="Identifier")e.push({type:"DestructuredVariable",key:t,modifier:r,default_modifier:n}),u&&a.set(t.name,t),s.used_names.add(t.name);else if(t.type==="ArrayPattern")t.elements.forEach((o,c)=>{if(o)if(o.type==="RestElement")Wt({contexts:e,node:o.argument,modifier:d=>v`${r(d)}.slice(${c})`,default_modifier:n,scope:i,component:s,context_rest_properties:a,in_rest_element:!0});else if(o.type==="AssignmentPattern"){let d=e.length;q0(o.right,i,s),Wt({contexts:e,node:o.left,modifier:p=>v`${r(p)}[${c}]`,default_modifier:(p,f)=>v`${p} !== undefined ? ${p} : ${A0(e,d,o.right,f)}`,scope:i,component:s,context_rest_properties:a,in_rest_element:u})}else Wt({contexts:e,node:o,modifier:d=>v`${r(d)}[${c}]`,default_modifier:n,scope:i,component:s,context_rest_properties:a,in_rest_element:u});else return});else if(t.type==="ObjectPattern"){let o=[];t.properties.forEach(c=>{if(c.type==="RestElement")Wt({contexts:e,node:c.argument,modifier:d=>v`@object_without_properties(${r(d)}, [${o}])`,default_modifier:n,scope:i,component:s,context_rest_properties:a,in_rest_element:!0});else if(c.type==="Property"){let d=c.key,p=c.value,f;if(c.computed){let m=s.get_unique_name("computed_property");e.push({type:"ComputedProperty",property_name:m,key:d}),f=y=>v`${r(y)}[${m}]`,o.push(v`${m}`)}else if(d.type==="Identifier"){let m=d.name;f=y=>v`${r(y)}.${m}`,o.push(v`"${m}"`)}else if(d.type==="Literal"){let m=d.value;f=y=>v`${r(y)}["${m}"]`,o.push(v`"${m}"`)}if(p.type==="AssignmentPattern"){let m=e.length;q0(p.right,i,s),Wt({contexts:e,node:p.left,modifier:f,default_modifier:(y,w)=>v`${y} !== undefined ? ${y} : ${A0(e,m,p.right,w)}`,scope:i,component:s,context_rest_properties:a,in_rest_element:u})}else Wt({contexts:e,node:p,modifier:f,default_modifier:n,scope:i,component:s,context_rest_properties:a,in_rest_element:u})}})}}}function A0(e,t,r,n){let i=s=>{for(let a=t;a<e.length;a++){let u=e[a];if(u.type!=="DestructuredVariable")continue;let{key:o}=u;if(s.name===o.name)throw new Error(`Cannot access '${s.name}' before initialization`)}return n(s.name)};return r.type==="Identifier"?i(r):(r=br(r),we(r,{enter(s,a){pt(s,a)&&(this.replace(i(s)),this.skip())}}),r)}function q0(e,t,r){we(e,{enter(n,i){if(pt(n,i)){let{name:s}=Ht(n);!t.is_let(s)&&!t.names.has(s)&&r.add_reference(n,s)}}})}var JL=new Set(["EachBlock","CatchBlock","ThenBlock","InlineComponent","SlotTemplate","IfBlock","ElseBlock"]),qn=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"expression");g(this,"contexts",[]);g(this,"node");g(this,"scope");g(this,"context_rest_properties",new Map);g(this,"assignees",new Set);g(this,"dependencies",new Set);JL.has(n.type)||r.error(s,M.invalid_const_placement),this.node=s,this.scope=i;let{assignees:a,dependencies:u}=this;_r(s.expression.left).forEach(({name:o})=>{a.add(o),this.scope.get_owner(o)===n&&r.error(s,M.invalid_const_declaration(o))}),we(s.expression.right,{enter(o,c){if(pt(o,c)){let d=rt(o),{name:p}=d;u.add(p)}}})}parse_expression(){Wt({contexts:this.contexts,node:this.node.expression.left,scope:this.scope,component:this.component,context_rest_properties:this.context_rest_properties}),this.expression=new ye(this.component,this,this.scope,this.node.expression.right),this.contexts.forEach(r=>{if(r.type!=="DestructuredVariable")return;let n=this.scope.get_owner(r.key.name);n&&n.type==="ConstTag"&&n.parent===this.parent&&this.component.error(this.node,M.invalid_const_declaration(r.key.name)),this.scope.add(r.key.name,this.expression.dependencies,this)})}};l();l();l();var Ds=class extends yt{constructor(t,r,n,i){super(t,r,n,i),this.children=bt(t,r,n,i.children),i.skip||this.warn_if_empty_block()}};l();var Tn=class extends yt{constructor(r,n,i,s){super(r,n,i,s);g(this,"scope");g(this,"const_tags");this.scope=i.child(),n.catch_node&&n.catch_contexts.forEach(a=>{a.type==="DestructuredVariable"&&this.scope.add(a.key.name,n.expression.dependencies,this)}),[this.const_tags,this.children]=Yt(s.children,r,this,n),s.skip||this.warn_if_empty_block()}};var Bs=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"expression");g(this,"then_contexts");g(this,"catch_contexts");g(this,"then_node");g(this,"catch_node");g(this,"pending");g(this,"then");g(this,"catch");g(this,"context_rest_properties",new Map);this.cannot_use_innerhtml(),this.not_static_content(),this.expression=new ye(r,this,i,s.expression),this.then_node=s.value,this.catch_node=s.error,this.then_node&&(this.then_contexts=[],Wt({contexts:this.then_contexts,node:s.value,scope:i,component:r,context_rest_properties:this.context_rest_properties})),this.catch_node&&(this.catch_contexts=[],Wt({contexts:this.catch_contexts,node:s.error,scope:i,component:r,context_rest_properties:this.context_rest_properties})),this.pending=new Ds(r,this,i,s.pending),this.then=new Ln(r,this,i,s.then),this.catch=new Tn(r,this,i,s.catch)}};l();l();var T0=/FunctionExpression/,Kt=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"name");g(this,"modifiers");g(this,"expression");g(this,"handler_name");g(this,"uses_context",!1);g(this,"can_make_passive",!1);if(this.name=s.name,this.modifiers=new Set(s.modifiers),s.expression){if(this.expression=new ye(r,this,i,s.expression),this.uses_context=this.expression.uses_context,T0.test(s.expression.type)&&s.expression.params.length===0)this.can_make_passive=!0;else if(s.expression.type==="Identifier"){let a=r.node_for_declaration.get(s.expression.name);if(a){if(a.type==="VariableDeclaration"){let u=a.declarations.find(o=>o.id.name===s.expression.name);a=u&&u.init}a&&(a.type==="FunctionExpression"||a.type==="FunctionDeclaration"||a.type==="ArrowFunctionExpression")&&a.params.length===0&&(this.can_make_passive=!0)}}}else this.handler_name=r.get_unique_name(`${It(this.name)}_handler`)}get reassigned(){if(!this.expression)return!1;let r=this.expression.node;return T0.test(r.type)?!1:this.expression.dynamic_dependencies().length>0}};l();var Ut=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"name");g(this,"expression");g(this,"uses_context");g(this,"template_scope");let a=s.name.split(".")[0];r.warn_if_undefined(a,s,i),this.name=s.name,r.add_reference(this,a),this.expression=s.expression?new ye(r,this,i,s.expression):null,this.template_scope=i,this.uses_context=this.expression&&this.expression.uses_context}};var Fs=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"handlers",[]);g(this,"actions",[]);s.attributes.forEach(a=>{a.type==="EventHandler"?this.handlers.push(new Kt(r,this,i,a)):a.type==="Action"&&this.actions.push(new Ut(r,this,i,a))})}};l();var js=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"data");g(this,"ignores");this.data=s.data,this.ignores=s.ignores}};l();l();var Mn=class extends yt{constructor(r,n,i,s){super(r,n,i,s);g(this,"scope");g(this,"const_tags");this.scope=i.child(),[this.const_tags,this.children]=Yt(s.children,r,this,this),this.warn_if_empty_block()}};var Vs=class extends yt{constructor(r,n,i,s){super(r,n,i,s);g(this,"expression");g(this,"context_node");g(this,"iterations");g(this,"index");g(this,"context");g(this,"key");g(this,"scope");g(this,"contexts");g(this,"const_tags");g(this,"has_animation");g(this,"has_binding",!1);g(this,"has_index_binding",!1);g(this,"context_rest_properties");g(this,"else");if(this.cannot_use_innerhtml(),this.not_static_content(),this.expression=new ye(r,this,i,s.expression),this.context=s.context.name||"each",this.context_node=s.context,this.index=s.index,this.scope=i.child(),this.context_rest_properties=new Map,this.contexts=[],Wt({contexts:this.contexts,node:s.context,scope:i,component:r,context_rest_properties:this.context_rest_properties}),this.contexts.forEach(a=>{a.type==="DestructuredVariable"&&this.scope.add(a.key.name,this.expression.dependencies,this)}),this.index){let a=s.key?this.expression.dependencies:new Set([]);this.scope.add(this.index,a,this)}if(this.key=s.key?new ye(r,this,this.scope,s.key):null,this.has_animation=!1,[this.const_tags,this.children]=Yt(s.children,r,this,this),this.has_animation&&(this.children=this.children.filter(a=>!eM(a)&&!tM(a)),this.children.length!==1)){let a=this.children.find(u=>!!u.animation);r.error(a.animation,M.invalid_animation_sole);return}this.warn_if_empty_block(),this.else=s.else?new Mn(r,this,this.scope,s.else):null}};function eM(e){return e.type==="Text"&&e.data.trim()===""}function tM(e){return e.type==="Comment"}l();l();var L0=new Set(["duration","buffered","seekable","played","seeking","ended","videoHeight","videoWidth","naturalWidth","naturalHeight","readyState"]),xr=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"name");g(this,"expression");g(this,"raw_expression");g(this,"is_contextual");g(this,"is_readonly");if(s.expression.type!=="Identifier"&&s.expression.type!=="MemberExpression"){r.error(s,M.invalid_directive_value);return}this.name=s.name,this.expression=new ye(r,this,i,s.expression),this.raw_expression=br(s.expression);let{name:a}=rt(this.expression.node);if(this.is_contextual=Array.from(this.expression.references).some(o=>i.names.has(o)),this.is_contextual&&this.validate_binding_rest_properties(i),i.is_let(a)){r.error(this,M.invalid_binding_let);return}else if(i.names.has(a)){if(i.is_await(a)){r.error(this,M.invalid_binding_await);return}i.is_const(a)&&r.error(this,M.invalid_binding_const),i.dependencies_for_name.get(a).forEach(o=>{let c=r.var_lookup.get(o);c&&(c.mutated=!0)})}else{let o=r.var_lookup.get(a);if(!o||o.global){r.error(this.expression.node,M.binding_undeclared(a));return}if(o[this.expression.node.type==="MemberExpression"?"mutated":"reassigned"]=!0,s.expression.type==="Identifier"&&!o.writable){r.error(this.expression.node,M.invalid_binding_writable);return}}let u=n.get_static_attribute_value("type");this.is_readonly=di.test(this.name)||pi.test(this.name)||rM(n)&&(n.is_media_node()&&L0.has(this.name)||n.name==="input"&&u==="file")}is_readonly_media_attribute(){return L0.has(this.name)}validate_binding_rest_properties(r){this.expression.references.forEach(n=>{let i=r.get_owner(n);if(i&&i.type==="EachBlock"){let s=i.context_rest_properties.get(n);s&&this.component.warn(s,ae.invalid_rest_eachblock_binding(n))}})}};function rM(e){return!!e.is_media_node}var Eg=["fullscreenElement","visibilityState"],Hs=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"handlers",[]);g(this,"bindings",[]);g(this,"actions",[]);s.attributes.forEach(a=>{if(a.type==="EventHandler")this.handlers.push(new Kt(r,this,i,a));else if(a.type==="Binding"){if(!~Eg.indexOf(a.name)){let u=qt(a.name,Eg);return u?r.error(a,M.invalid_binding_on(a.name,"<svelte:document>",` (did you mean '${u}'?)`)):r.error(a,M.invalid_binding_on(a.name,"<svelte:document>",` \u2014 valid bindings are ${mr(Eg)}`))}this.bindings.push(new xr(r,this,i,a))}else a.type==="Action"&&this.actions.push(new Ut(r,this,i,a))}),this.validate()}validate(){let r=new Set;this.handlers.forEach(n=>r.add(n.name)),(r.has("mouseenter")||r.has("mouseleave"))&&this.component.warn(this,ae.avoid_mouse_events_on_document)}};l();l();l();function Qe(e){return{type:"Literal",value:e}}var nM={'"':""","'":"'","&":"&","<":"<",">":">"},iM=/["'&<>]/g;function Us(e){return String(e).replace(iM,t=>nM[t])}var sM=/(\${|`|\\)/g;function rl(e){return e.replace(sM,"\\$1")}l();function Je(e,t){t.forEach(r=>{e.add(r)})}var Qt=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"scope");g(this,"name");g(this,"is_spread");g(this,"is_true");g(this,"is_static");g(this,"expression");g(this,"chunks");g(this,"dependencies");this.scope=i,s.type==="Spread"?(this.name=null,this.is_spread=!0,this.is_true=!1,this.expression=new ye(r,this,i,s.expression),this.dependencies=this.expression.dependencies,this.chunks=null,this.is_static=!1):(this.name=s.name,this.is_true=s.value===!0,this.is_static=!0,this.dependencies=new Set,this.chunks=this.is_true?[]:s.value.map(a=>{if(a.type==="Text")return a;this.is_static=!1;let u=new ye(r,this,i,a.expression);return Je(this.dependencies,u.dependencies),u})),this.dependencies.size>0&&(n.cannot_use_innerhtml(),n.not_static_content()),this.name&&this.name.includes(":")&&!this.name.startsWith("xmlns:")&&!this.name.startsWith("xlink:")&&!this.name.startsWith("xml:")&&r.warn(this,ae.illegal_attribute_character)}get_dependencies(){if(this.is_spread)return this.expression.dynamic_dependencies();let r=new Set;return this.chunks.forEach(n=>{n.type==="Expression"&&Je(r,n.dynamic_dependencies())}),Array.from(r)}get_value(r){if(this.is_true)return v`true`;if(this.chunks.length===0)return v`""`;if(this.chunks.length===1)return this.chunks[0].type==="Text"?Qe(this.chunks[0].data):this.chunks[0].manipulate(r);let n=this.chunks.map(i=>i.type==="Text"?Qe(i.data):i.manipulate(r)).reduce((i,s)=>v`${i} + ${s}`);return this.chunks[0].type!=="Text"&&(n=v`"" + ${n}`),n}get_static_value(){return this.is_static?this.is_true?!0:this.chunks[0]?this.chunks[0].data:"":null}should_cache(){return this.is_static?!1:this.chunks.length===1?this.chunks[0].node.type!=="Identifier"||this.scope.names.has(this.chunks[0].node.name):!0}};l();var zs=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"name");g(this,"directive");g(this,"expression");g(this,"is_local");if(r.warn_if_undefined(s.name,s,i),this.name=s.name,r.add_reference(this,s.name.split(".")[0]),this.directive=s.intro&&s.outro?"transition":s.intro?"in":"out",this.is_local=!s.modifiers.includes("global"),s.intro&&n.intro||s.outro&&n.outro){let a=n.intro||n.outro;r.error(s,M.duplicate_transition(this.directive,a.directive));return}this.expression=s.expression?new ye(r,this,i,s.expression):null}};l();var Gs=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"name");g(this,"expression");if(r.warn_if_undefined(s.name,s,i),this.name=s.name,r.add_reference(this,s.name.split(".")[0]),n.animation){r.error(this,M.duplicate_animation);return}let a=n.parent;if(!a||a.type!=="EachBlock"){r.error(this,M.invalid_animation_immediate);return}if(!a.key){r.error(this,M.invalid_animation_key);return}a.has_animation=!0,this.expression=s.expression?new ye(r,this,i,s.expression,!0):null}};l();var Ws=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"name");g(this,"expression");this.name=s.name,this.expression=s.expression?new ye(r,this,i,s.expression):null}};l();l();function M0(e){let t={type:"TemplateLiteral",expressions:[],quasis:[]},r={type:"TemplateElement",value:{raw:"",cooked:null},tail:!1};return e.forEach(n=>{n.type==="Text"?r.value.raw+=n.raw:n.type==="MustacheTag"&&(t.quasis.push(r),t.expressions.push(n.expression),r={type:"TemplateElement",value:{raw:"",cooked:null},tail:!1})}),r.tail=!0,t.quasis.push(r),t}var I0=new Set(["important"]),Ys=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"name");g(this,"modifiers");g(this,"expression");g(this,"should_cache");this.name=s.name,this.modifiers=new Set(s.modifiers);for(let a of this.modifiers)I0.has(a)||r.error(this,M.invalid_style_directive_modifier(mr([...I0])));if(s.value===!0||s.value.length===1&&s.value[0].type==="MustacheTag"){let a=s.value===!0?{type:"Identifier",start:s.end-s.name.length,end:s.end,name:s.name}:s.value[0].expression;this.expression=new ye(r,this,i,a),this.should_cache=!1}else{let a=M0(s.value);this.expression=new ye(r,this,i,a),this.should_cache=a.expressions.length>0}}get important(){return this.modifiers.has("important")}};l();var aM=new Set(["audio","datalist","dl","optgroup","select","video"]),oM=/svg$/,lM=/[\S\u00A0]/,In=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"data");g(this,"synthetic");this.data=s.data,this.synthetic=s.synthetic||!1}should_skip(){if(ci.test(this.data))return!1;let r=this.find_nearest(/(?:Element|InlineComponent|SlotTemplate|Head)/);return r?r.type==="Head"?!0:r.type==="InlineComponent"?r.children.length===1&&this===r.children[0]:oM.test(r.namespace)&&this.prev&&this.prev.type==="Element"&&this.prev.name==="tspan"?!1:r.namespace||aM.has(r.name):!1}keep_space(){return this.component.component_options.preserveWhitespace?!0:this.within_pre()}within_pre(){let r=this.parent;for(;r;){if(r.type==="Element"&&r.name==="pre")return!0;r=r.parent}return!1}use_space(){return this.component.compile_options.preserveWhitespace||lM.test(this.data)?!1:!this.within_pre()}};l();var O0="https://svelte.dev/docs/special-elements#svelte-options",N0="http://www.w3.org/1999/xhtml",D0="http://www.w3.org/1998/Math/MathML",B0="http://www.w3.org/2000/svg",F0="http://www.w3.org/1999/xlink",j0="http://www.w3.org/XML/1998/namespace",V0="http://www.w3.org/2000/xmlns",Oi=["foreign","html","mathml","svg","xlink","xml","xmlns",O0,N0,D0,B0,F0,j0,V0],Ve={foreign:O0,html:N0,mathml:D0,svg:B0,xlink:F0,xml:j0,xmlns:V0};l();var uM=["textContent","innerHTML","innerText"];function cM(e){return e.name==="textarea"||e.name==="input"}function H0(e){return e.name==="contenteditable"}function Ks(e){return e.attributes.some(H0)}function U0(e){return!cM(e)&&Ks(e)}function On(e){return uM.includes(e)}function z0(e){return e.attributes.find(H0)}l();var dM=/\r/g;function Nn(e){e=e.replace(dM,"");let t=5381,r=e.length;for(;r--;)t=(t<<5)-t^e.charCodeAt(r);return(t>>>0).toString(36)}l();var pM=new Set(["Identifier","ObjectExpression","ArrayExpression","Property"]),Dn=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"name");g(this,"value");g(this,"names",[]);this.name={type:"Identifier",name:s.name};let{names:a}=this;s.expression?(this.value=s.expression,we(s.expression,{enter(u){if(!pM.has(u.type))return r.error(u,M.invalid_let);u.type==="Identifier"&&a.push(u.name),u.type==="ArrayExpression"&&(u.type="ArrayPattern"),u.type==="ObjectExpression"&&(u.type="ObjectPattern")}})):a.push(this.name.name)}};var Jr=jr(Yg(),1);l();var Fn=jr(Yg(),1),wr=jr(TS(),1);var LS=Fn.roles.keys(),MS=new Set(LS.filter(e=>Fn.roles.get(e).abstract)),IS=LS.filter(e=>!MS.has(e)),rv=new Set(IS.filter(e=>{let t=Fn.roles.get(e);return!["toolbar","tabpanel","generic","cell"].includes(e)&&!t.superClass.some(r=>r.includes("widget"))}).concat("progressbar")),OS=new Set(IS.filter(e=>!rv.has(e)&&e!=="generic"));function $h(e){return rv.has(e)}function na(e){return OS.has(e)}function nv(e){return MS.has(e)}var TU=new Set(["presentation","none"]);function ji(e){return TU.has(e)}function ia(e,t){if(e==="input"){let i=t.get("type")?.get_static_value();if(i&&i==="hidden")return!0}let r=t.get("aria-hidden");if(!r)return!1;if(!r.is_static)return!0;let n=r.get_static_value();return n===!0||n==="true"}function NS(e){let t=e.get("disabled");if(t&&t.get_static_value())return!0;let n=e.get("aria-disabled");return!!(n&&n.get_static_value()===!0)}var DS=[];Fn.elementRoles.entries().forEach(([e,t])=>{[...t].every(r=>r!=="generic"&&rv.has(r))&&DS.push(e)});var BS=[];Fn.elementRoles.entries().forEach(([e,t])=>{[...t].every(r=>OS.has(r))&&BS.push(e)});var LU=new Set([...wr.AXObjects.keys()].filter(e=>wr.AXObjects.get(e).type==="widget")),MU=new Set([...wr.AXObjects.keys()].filter(e=>["windows","structure"].includes(wr.AXObjects.get(e).type))),FS=[];wr.elementAXObjects.entries().forEach(([e,t])=>{[...t].every(r=>LU.has(r))&&FS.push(e)});var jS=[];wr.elementAXObjects.entries().forEach(([e,t])=>{[...t].every(r=>MU.has(r))&&jS.push(e)});function kh(e,t,r){return e.name!==t?!1:e.attributes?e.attributes.every(n=>{let i=r.get(n.name);return!(!i||n.value&&n.value!==i.get_static_value())}):!0}var vn={Interactive:"interactive",NonInteractive:"non-interactive",Static:"static"};function iv(e,t){return BS.some(r=>kh(r,e,t))?vn.Interactive:e!=="header"&&DS.some(r=>kh(r,e,t))?vn.NonInteractive:FS.some(r=>kh(r,e,t))?vn.Interactive:jS.some(r=>kh(r,e,t))?vn.NonInteractive:vn.Static}function jn(e,t){return iv(e,t)===vn.Interactive}function Ch(e,t){return iv(e,t)===vn.NonInteractive}function VS(e,t){return iv(e,t)===vn.Static}function HS(e,t,r){for(let[n,i]of wr.elementAXObjects.entries())if(n.name===t&&(!n.attributes||n.attributes.every(s=>r.has(s.name)&&r.get(s.name).get_static_value()===s.value)))for(let s of i){let a=wr.AXObjectRoles.get(s);if(a){for(let{name:u}of a)if(u===e)return!0}}return!1}var IU=new Set(["shipping","billing"]),OU=new Set(["","on","off","name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","one-time-code","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo"]),NU=new Set(["home","work","mobile","fax","pager"]),DU=new Set(["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"]);function US(e){if(e===!0)return!1;if(!e)return!0;let t=e.trim().toLowerCase().split(Sy);if(typeof t[0]=="string"&&t[0].startsWith("section-")&&t.shift(),IU.has(t[0])&&t.shift(),OU.has(t[0]))t.shift();else if(NU.has(t[0])&&t.shift(),DU.has(t[0]))t.shift();else return!1;return t[0]==="webauthn"&&t.shift(),t.length===0}var JS="activedescendant atomic autocomplete busy checked colcount colindex colspan controls current describedby description details disabled dropeffect errormessage expanded flowto grabbed haspopup hidden invalid keyshortcuts label labelledby level live modal multiline multiselectable orientation owns placeholder posinset pressed readonly relevant required roledescription rowcount rowindex rowspan selected setsize sort valuemax valuemin valuenow valuetext".split(" "),BU=new Set(JS),eE=Jr.roles.keys(),FU=new Set(eE),jU={a:["href"],area:["alt","aria-label","aria-labelledby"],html:["lang"],iframe:["title"],img:["alt"],object:["title","aria-label","aria-labelledby"]},VU=new Set(["blink","marquee"]),HU=new Set(["a","h1","h2","h3","h4","h5","h6"]),UU=new Set(["button","input","keygen","meter","output","progress","select","textarea"]),zS=new Set(["keypress","keydown","keyup","click","contextmenu","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","dragstart","drop","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup"]),zU=new Set(["click","mousedown","mouseup","keypress","keydown","keyup"]),GU=new Map([["header","banner"],["footer","contentinfo"]]),WU=new Map([["a","link"],["area","link"],["article","article"],["aside","complementary"],["body","document"],["button","button"],["datalist","listbox"],["dd","definition"],["dfn","term"],["dialog","dialog"],["details","group"],["dt","term"],["fieldset","group"],["figure","figure"],["form","form"],["h1","heading"],["h2","heading"],["h3","heading"],["h4","heading"],["h5","heading"],["h6","heading"],["hr","separator"],["img","img"],["li","listitem"],["link","link"],["main","main"],["menu","list"],["meter","progressbar"],["nav","navigation"],["ol","list"],["option","option"],["optgroup","group"],["output","status"],["progress","progressbar"],["section","region"],["summary","button"],["table","table"],["tbody","rowgroup"],["textarea","textbox"],["tfoot","rowgroup"],["thead","rowgroup"],["tr","row"],["ul","list"]]),YU=new Map([["command","menuitem"],["checkbox","menuitemcheckbox"],["radio","menuitemradio"]]),KU=new Map([["button","button"],["image","button"],["reset","button"],["submit","button"],["checkbox","checkbox"],["radio","radio"],["range","slider"],["number","spinbutton"],["email","textbox"],["search","searchbox"],["tel","textbox"],["text","textbox"],["url","textbox"]]),QU={ul:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],ol:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],li:["menuitem","option","row","tab","treeitem"],table:["grid"],td:["gridcell"],fieldset:["radiogroup","presentation"]},XU=new Set(["email","search","tel","text","url"]);function ZU(e){let t=e.get("type");if(!t||!t.is_static)return;let r=t.get_static_value();return e.has("list")&&XU.has(r)?"combobox":KU.get(r)}function JU(e){let t=e.get("type");if(!t||!t.is_static)return;let r=t.get_static_value();return YU.get(r)}function GS(e,t){return e==="menuitem"?JU(t):e==="input"?ZU(t):WU.get(e)}var WS=new Set(["meta","html","script","style"]),YS=new Set(["preventDefault","stopPropagation","stopImmediatePropagation","capture","once","passive","nonpassive","self","trusted"]),KS=new Set(["wheel","touchstart","touchmove","touchend","touchcancel"]),QS=new Map([["className","class"],["htmlFor","for"]]),ez=["class","style"];function tz(e,t){let r=!1;for(;e;){let n=e.name;if(t.includes(n)){r=!0;break}if(e.type==="Element")break;e=e.parent}return r}function rz(e,t,r){let n=e.find_nearest(/^Element/);if(!n)return r||(Ji(t.name)?Ve.svg:null);if(n.namespace!==Ve.foreign){if(Ji(t.name.toLowerCase()))return Ve.svg;if(n.name.toLowerCase()==="foreignobject")return null}return n.namespace}function nz(e,t){switch(e.type){case"boolean":return typeof t=="boolean";case"string":case"id":return typeof t=="string";case"tristate":return typeof t=="boolean"||t==="mixed";case"integer":case"number":return typeof t!="boolean"&&isNaN(Number(t))===!1;case"token":return(e.values||[]).indexOf(typeof t=="string"?t.toLowerCase():t)>-1;case"idlist":return typeof t=="string"&&t.split(sa).every(r=>typeof r=="string");case"tokenlist":return typeof t=="string"&&t.split(sa).every(r=>(e.values||[]).indexOf(r.toLowerCase())>-1);default:return!1}}var sa=/[\s]+/g,iz=/^h[1-6]$/,sz=/(^[0-9-.])|[\^$@%&#?!|()[\]{}^*+~;]/,Vn=class e extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"name");g(this,"scope");g(this,"actions",[]);g(this,"bindings",[]);g(this,"classes",[]);g(this,"styles",[]);g(this,"handlers",[]);g(this,"lets",[]);g(this,"intro",null);g(this,"outro",null);g(this,"animation",null);g(this,"children");g(this,"namespace");g(this,"needs_manual_style_scoping");g(this,"tag_expr");g(this,"contains_a11y_label");if(this.name=s.name,s.name==="svelte:element"?typeof s.tag!="string"?this.tag_expr=new ye(r,this,i,s.tag):(this.tag_expr=new ye(r,this,i,Qe(s.tag)),this.name=s.tag):this.tag_expr=new ye(r,this,i,Qe(this.name)),this.namespace=rz(n,this,r.namespace),this.namespace!==Ve.foreign){if(this.name==="pre"||this.name==="textarea"){let o=s.children[0];o&&o.type==="Text"&&(o.data=o.data.replace(cn,""))}if(this.name==="textarea"&&s.children.length>0){let o=ZS(s.attributes);if(o){r.error(o,M.textarea_duplicate_value);return}s.attributes.push({type:"Attribute",name:"value",value:s.children}),s.children=[]}this.name==="option"&&(ZS(s.attributes)||s.attributes.push({type:"Attribute",name:"value",value:s.children,synthetic:!0}))}s.attributes.some(o=>o.type==="Let")&&(i=i.child());let u=["Binding"];s.attributes.sort((o,c)=>u.indexOf(o.type)-u.indexOf(c.type)),s.attributes.forEach(o=>{switch(o.type){case"Action":this.actions.push(new Ut(r,this,i,o));break;case"Attribute":case"Spread":o.name==="xmlns"&&(this.namespace=o.value[0].data),this.attributes.push(new Qt(r,this,i,o));break;case"Binding":this.bindings.push(new xr(r,this,i,o));break;case"Class":this.classes.push(new Ws(r,this,i,o));break;case"StyleDirective":this.styles.push(new Ys(r,this,i,o));break;case"EventHandler":this.handlers.push(new Kt(r,this,i,o));break;case"Let":{let c=new Dn(r,this,i,o);this.lets.push(c);let d=new Set([c.name.name]);c.names.forEach(p=>{i.add(p,d,this)});break}case"Transition":{let c=new zs(r,this,i,o);o.intro&&(this.intro=c),o.outro&&(this.outro=c);break}case"Animation":this.animation=new Gs(r,this,i,o);break;default:throw new Error(`Not implemented: ${o.type}`)}}),this.scope=i,this.children=bt(r,this,this.scope,s.children),this.validate(),this.optimise(),r.apply_stylesheet(this),this.parent&&(this.actions.length>0||this.animation||this.bindings.length>0||this.classes.length>0||this.intro||this.outro||this.handlers.length>0||this.styles.length>0||this.name==="option"||this.is_dynamic_element||this.tag_expr.dynamic_dependencies().length||r.compile_options.dev)&&(this.parent.cannot_use_innerhtml(),this.parent.not_static_content())}get is_dynamic_element(){return this.name==="svelte:element"}validate(){this.component.var_lookup.has(this.name)&&this.component.var_lookup.get(this.name).imported&&!Ji(this.name)&&!Fy(this.name)&&this.component.warn(this,ae.component_name_lowercase(this.name)),this.validate_attributes(),this.validate_event_handlers(),this.namespace===Ve.foreign?this.validate_bindings_foreign():(this.validate_attributes_a11y(),this.validate_special_cases(),this.validate_bindings(),this.validate_content())}validate_attributes(){let{component:r,parent:n}=this;this.attributes.forEach(i=>{if(i.is_spread)return;let s=i.name.toLowerCase();if(sz.test(s))return r.error(i,M.illegal_attribute(s));if(s==="slot"){if(!i.is_static)return r.error(i,M.invalid_slot_attribute);if(r.slot_outlets.has(s))return r.error(i,M.duplicate_slot_attribute(s));if(!(n.type==="SlotTemplate"||lz(n)))return r.error(i,M.invalid_slotted_content)}this.namespace!==Ve.foreign&&(s==="is"&&r.warn(i,ae.avoid_is),QS.has(i.name)&&r.warn(i,ae.invalid_html_attribute(i.name,QS.get(i.name))))})}validate_attributes_a11y(){let{component:r,attributes:n,handlers:i}=this,s=new Map,a=new Map;if(n.forEach(p=>s.set(p.name,p)),i.forEach(p=>a.set(p.name,p)),n.forEach(p=>{if(p.is_spread)return;let f=p.name.toLowerCase();if(f.startsWith("aria-")){WS.has(this.name)&&r.warn(p,ae.a11y_aria_attributes(this.name));let m=f.slice(5);if(!BU.has(m)){let w=qt(m,JS);r.warn(p,ae.a11y_unknown_aria_attribute(m,w))}f==="aria-hidden"&&iz.test(this.name)&&r.warn(p,ae.a11y_hidden(this.name));let y=p.get_static_value();if(y==="true"&&(y=!0),y==="false"&&(y=!1),y!=null&&Jr.aria.has(f)){let w=Jr.aria.get(f);nz(w,y)||r.warn(p,ae.a11y_incorrect_attribute_type(w,f))}f==="aria-activedescendant"&&!this.is_dynamic_element&&!jn(this.name,s)&&!s.has("tabindex")&&r.warn(p,ae.a11y_aria_activedescendant_has_tabindex)}if(f==="role"){WS.has(this.name)&&r.warn(p,ae.a11y_misplaced_role(this.name));let m=p.get_static_value();typeof m=="string"&&m.split(sa).forEach(y=>{if(y&&nv(y))r.warn(p,ae.a11y_no_abstract_role(y));else if(y&&!FU.has(y)){let b=qt(y,eE);r.warn(p,ae.a11y_unknown_role(y,b))}if(y===GS(this.name,s)&&!["ul","ol","li"].includes(this.name)&&r.warn(p,ae.a11y_no_redundant_roles(y)),tz(this.parent,["section","article"])||y===GU.get(this.name)&&r.warn(p,ae.a11y_no_redundant_roles(y)),!this.is_dynamic_element&&!HS(y,this.name,s)){let b=Jr.roles.get(y);if(b){let $=Object.keys(b.requiredProps);$.some(R=>!n.find(E=>E.name===R))&&r.warn(p,ae.a11y_role_has_required_aria_props(y,$))}}!NS(s)&&!ia(this.name,s)&&!ji(y)&&na(y)&&VS(this.name,s)&&!s.get("tabindex")&&i.some($=>zS.has($.name))&&r.warn(this,ae.a11y_interactive_supports_focus(y)),jn(this.name,s)&&($h(y)||ji(y))&&r.warn(this,ae.a11y_no_interactive_element_to_noninteractive_role(y,this.name)),Ch(this.name,s)&&na(y)&&!QU[this.name]?.includes(y)&&r.warn(this,ae.a11y_no_noninteractive_element_to_interactive_role(y,this.name))})}if(f==="accesskey"&&r.warn(p,ae.a11y_accesskey),f==="autofocus"&&r.warn(p,ae.a11y_autofocus),f==="scope"&&!this.is_dynamic_element&&this.name!=="th"&&r.warn(p,ae.a11y_misplaced_scope),f==="tabindex"){let m=p.get_static_value();!isNaN(m)&&+m>0&&r.warn(p,ae.a11y_positive_tabindex)}}),a.has("click")){let p=s.get("role"),f=p?.is_static&&!ji(p.get_static_value());!this.is_dynamic_element&&!ia(this.name,s)&&(!p||f)&&!jn(this.name,s)&&!this.attributes.find(m=>m.is_spread)&&(a.has("keydown")||a.has("keyup")||a.has("keypress")||r.warn(this,ae.a11y_click_events_have_key_events))}let u=s.get("role"),o=u?.get_static_value(),c=u?o:GS(this.name,s);if(!this.is_dynamic_element&&!jn(this.name,s)&&!na(o)){let p=s.get("tabindex");p&&(!p.is_static||Number(p.get_static_value())>=0)&&r.warn(this,ae.a11y_no_noninteractive_tabindex)}if(typeof c=="string"&&Jr.roles.has(c)){let{props:p}=Jr.roles.get(c),f=new Set(Jr.aria.keys().filter(y=>!(y in p))),m=c&&u===void 0;n.filter(y=>y.type!=="Spread").forEach(y=>{f.has(y.name)&&r.warn(y,ae.a11y_role_supports_aria_props(y.name,c,m,this.name))})}if(!Ks(this)&&!ia(this.name,s)&&!ji(o)&&(!jn(this.name,s)&&$h(o)||Ch(this.name,s)&&!u)&&i.some(f=>zU.has(f.name))&&r.warn(this,ae.a11y_no_noninteractive_element_interactions(this.name)),!(s.get("role")&&!s.get("role").is_static)&&!ia(this.name,s)&&!ji(o)&&!jn(this.name,s)&&!na(o)&&!Ch(this.name,s)&&!$h(o)&&!nv(o)){let p=i.map(f=>f.name).filter(f=>zS.has(f));p.length>0&&r.warn(this,ae.a11y_no_static_element_interactions(this.name,p))}}validate_special_cases(){let{component:r,attributes:n,handlers:i}=this,s=new Map,a=new Map;if(n.forEach(u=>s.set(u.name,u)),i.forEach(u=>a.set(u.name,u)),this.name==="a"){let u=s.get("href")||s.get("xlink:href"),o=s.get("id"),c=s.get("name"),d=s.get("target"),p=s.get("aria-label");if(r.compile_options.legacy&&d&&d.get_static_value()==="_blank"&&u){let f=u.get_static_value()?u.get_static_value().toLowerCase():null;if(f===null||f.match(/^(https?:)?\/\//i)){let m=s.get("rel");if(m==null||m.is_static){let y=m?m.get_static_value().split(sa):[];(!m||!y.includes("noreferrer"))&&r.warn(this,{code:"security-anchor-rel-noreferrer",message:'Security: Anchor with "target=_blank" should have rel attribute containing the value "noreferrer"'})}}}if(p&&p.get_static_value()!=""&&(this.contains_a11y_label=!0),u){let f=u.get_static_value();(f===""||f==="#"||/^\W*javascript:/i.test(f))&&r.warn(u,ae.a11y_invalid_attribute(u.name,f))}else{let f=o&&o.get_static_value()!=="",m=c&&c.get_static_value()!=="";!f&&!m&&r.warn(this,ae.a11y_missing_attribute("a","an","href"))}}else{let u=jU[this.name];u&&(u.some(c=>s.has(c))||XS(this,u))}if(this.name==="input"){let u=s.get("type");if(u&&u.get_static_value()==="image"){let c=["alt","aria-label","aria-labelledby"];c.some(p=>s.has(p))||XS(this,c,'input type="image"')}let o=s.get("autocomplete");if(u&&o){let c=u.get_static_value(),d=o.get_static_value();US(d)||r.warn(o,ae.a11y_autocomplete_valid(c,d))}}if(this.name==="img"){let u=s.get("alt"),o=s.get("aria-hidden"),c=o&&o.get_static_value();if(u&&!c){let d=u.get_static_value();/\b(image|picture|photo)\b/i.test(d)&&r.warn(this,ae.a11y_img_redundant_alt)}}if(this.name==="label"){let u=o=>{if(o.some(c=>c instanceof e&&(UU.has(c.name)||c.name==="slot")))return!0;for(let c of o)if(!(!("children"in c)||c.children.length===0)&&u(c.children))return!0;return!1};!s.has("for")&&!u(this.children)&&r.warn(this,ae.a11y_label_has_associated_control)}if(this.name==="video"){let u=s.get("aria-hidden"),o=u&&u.get_static_value();if(s.has("muted")||o==="true")return;let c,d=this.children.find(p=>p.name==="track");d&&(c=d.attributes.find(p=>p.name==="kind"&&p.get_static_value()==="captions")),c||r.warn(this,ae.a11y_media_has_caption)}if(VU.has(this.name)&&r.warn(this,ae.a11y_distracting_elements(this.name)),this.name==="figcaption"){let{parent:u}=this,o=!1;for(;u;){if(u.name==="figure"){o=!0;break}if(u.type==="Element")break;u=u.parent}o||r.warn(this,ae.a11y_structure_immediate)}if(this.name==="figure"){let u=this.children.filter(c=>c.type==="Comment"?!1:c.type==="Text"?ci.test(c.data):!0),o=u.findIndex(c=>c.name==="figcaption");o!==-1&&o!==0&&o!==u.length-1&&r.warn(u[o],ae.a11y_structure_first_or_last)}a.has("mouseover")&&!a.has("focus")&&r.warn(this,ae.a11y_mouse_events_have_key_events("mouseover","focus")),a.has("mouseout")&&!a.has("blur")&&r.warn(this,ae.a11y_mouse_events_have_key_events("mouseout","blur"))}validate_bindings_foreign(){this.bindings.forEach(r=>{if(r.name!=="this")return this.component.error(r,M.invalid_binding_foreign(r.name))})}validate_bindings(){let{component:r}=this,n=()=>{let i=this.attributes.find(a=>a.name==="type");if(!i)return null;if(!i.is_static)return r.error(i,M.invalid_type);let s=i.get_static_value();return s===!0?r.error(i,M.missing_type):s};this.bindings.forEach(i=>{let{name:s}=i;if(s==="value"){if(this.name!=="input"&&this.name!=="textarea"&&this.name!=="select")return r.error(i,M.invalid_binding_elements(this.name,"value"));if(this.name==="select"){let a=this.attributes.find(u=>u.name==="multiple");if(a&&!a.is_static)return r.error(a,M.dynamic_multiple_attribute)}else n()}else if(s==="checked"||s==="indeterminate"){if(this.name!=="input")return r.error(i,M.invalid_binding_elements(this.name,s));let a=n();if(a!=="checkbox")return r.error(i,M.invalid_binding_no_checkbox(s,a==="radio"))}else if(s==="group"){if(this.name!=="input")return r.error(i,M.invalid_binding_elements(this.name,"group"));let a=n();if(a!=="checkbox"&&a!=="radio")return r.error(i,M.invalid_binding_element_with('<input type="checkbox"> or <input type="radio">',"group"))}else if(s==="files"){if(this.name!=="input")return r.error(i,M.invalid_binding_elements(this.name,"files"));if(n()!=="file")return r.error(i,M.invalid_binding_element_with('<input type="file">',"files"))}else if(s==="open"){if(this.name!=="details")return r.error(i,M.invalid_binding_element_with("<details>",s))}else if(s==="currentTime"||s==="duration"||s==="paused"||s==="buffered"||s==="seekable"||s==="played"||s==="volume"||s==="muted"||s==="playbackRate"||s==="seeking"||s==="ended"||s==="readyState"){if(this.name!=="audio"&&this.name!=="video")return r.error(i,M.invalid_binding_element_with("audio> or <video>",s))}else if(s==="videoHeight"||s==="videoWidth"){if(this.name!=="video")return r.error(i,M.invalid_binding_element_with("<video>",s))}else if(di.test(s)){if(this.name==="svg"&&(s==="offsetWidth"||s==="offsetHeight"))return r.error(i,M.invalid_binding_on(i.name,`<svg>. Use '${s.replace("offset","client")}' instead`));if(Ji(this.name))return r.error(i,M.invalid_binding_on(i.name,"SVG elements"));if(Ur(this.name))return r.error(i,M.invalid_binding_on(i.name,`void elements like <${this.name}>. Use a wrapper element instead`))}else if(s==="naturalWidth"||s==="naturalHeight"){if(this.name!=="img")return r.error(i,M.invalid_binding_element_with("<img>",s))}else if(On(s)){let a=z0(this);if(a){if(a&&!a.is_static)return r.error(a,M.dynamic_contenteditable_attribute)}else return r.error(i,M.missing_contenteditable_attribute)}else if(s!=="this"&&!pi.test(s))return r.error(i,M.invalid_binding(i.name))})}validate_content(){HU.has(this.name)&&(this.contains_a11y_label||this.bindings.some(r=>["textContent","innerHTML"].includes(r.name))||this.children.length===0&&this.component.warn(this,ae.a11y_missing_content(this.name)))}validate_event_handlers(){let{component:r}=this;this.handlers.forEach(n=>{if(n.modifiers.has("passive")&&n.modifiers.has("preventDefault"))return r.error(n,M.invalid_event_modifier_combination("passive","preventDefault"));if(n.modifiers.has("passive")&&n.modifiers.has("nonpassive"))return r.error(n,M.invalid_event_modifier_combination("passive","nonpassive"));n.modifiers.forEach(i=>{if(!YS.has(i))return r.error(n,M.invalid_event_modifier(mr(Array.from(YS))));if(i==="passive"&&(KS.has(n.name)?n.can_make_passive&&r.warn(n,ae.redundant_event_modifier_for_touch):r.warn(n,ae.redundant_event_modifier_passive)),r.compile_options.legacy&&(i==="once"||i==="passive"))return r.error(n,M.invalid_event_modifier_legacy(i))}),KS.has(n.name)&&n.can_make_passive&&!n.modifiers.has("preventDefault")&&!n.modifiers.has("nonpassive")&&n.modifiers.add("passive")})}is_media_node(){return this.name==="audio"||this.name==="video"}add_css_class(){if(this.attributes.some(i=>i.is_spread)){this.needs_manual_style_scoping=!0;return}let{id:r}=this.component.stylesheet,n=this.attributes.find(i=>i.name==="class");n&&!n.is_true?n.chunks.length===1&&n.chunks[0].type==="Text"?n.chunks[0].data+=` ${r}`:n.chunks.push(new In(this.component,this,this.scope,{type:"Text",data:` ${r}`,synthetic:!0})):this.attributes.push(new Qt(this.component,this,this.scope,{type:"Attribute",name:"class",value:[{type:"Text",data:r,synthetic:!0}]}))}get slot_template_name(){return this.attributes.find(r=>r.name==="slot").get_static_value()}optimise(){ez.forEach(r=>{let n=this.attributes.find(i=>i.name===r);n&&!n.is_true&&n.chunks.forEach((i,s)=>{if(i.type==="Text"){let a=i.data.replace(sa," ");s===0?a=a.trimLeft():s===n.chunks.length-1&&(a=a.trimRight()),i.data=a}})})}get can_use_textcontent(){return this.is_static_content&&this.children.every(r=>r.type==="Text"||r.type==="MustacheTag")}get can_optimise_to_html_string(){let r=this.can_use_textcontent;return!(this.name==="template"&&r)&&!this.namespace&&(this.can_use_innerhtml||r)&&this.children.length>0}get can_optimise_hydration(){let r=this.is_static_content&&this.children.every(n=>n.type==="Text");return this.can_optimise_to_html_string&&(this.can_use_innerhtml||r)}hash(){return`svelte-${Nn(this.component.source.slice(this.start,this.end))}`}},az=/^[aeiou]/;function XS(e,t,r=e.name){let n=az.test(t[0])?"an":"a",i=t.length>1?t.slice(0,-1).join(", ")+` or ${t[t.length-1]}`:t[0];e.component.warn(e,ae.a11y_missing_attribute(r,n,i))}var oz=/-/;function lz(e){for(;e;){if(e.type==="InlineComponent")return!1;if(e.type==="Element"&&(oz.test(e.name)||e.is_dynamic_element))return!0;e=e.parent}return!1}function ZS(e){let t;return e.forEach(r=>{r.type!=="Spread"&&r.name.toLowerCase()==="value"&&(t=r),r.type==="Spread"&&we(r.expression,{enter(n){t&&this.skip(),n.type==="Identifier"&&n.name.toLowerCase()==="value"&&(t=n)}})}),t}l();var aa=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"children");g(this,"id");if(this.cannot_use_innerhtml(),s.attributes.length){r.error(s.attributes[0],M.invalid_attribute_head);return}this.children=bt(r,n,i,s.children.filter(a=>a.type!=="Text"||ci.test(a.data))),this.children.length>0&&(this.id=`svelte-${Nn(this.component.source.slice(this.start,this.end))}`)}};l();var oa=class extends yt{constructor(r,n,i,s){super(r,n,i,s);g(this,"expression");g(this,"else");g(this,"scope");g(this,"const_tags");this.scope=i.child(),this.cannot_use_innerhtml(),this.not_static_content(),this.expression=new ye(r,this,this.scope,s.expression),[this.const_tags,this.children]=Yt(s.children,r,this,this),this.else=s.else?new Mn(r,this,i,s.else):null,this.warn_if_empty_block()}};l();var la=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"name");g(this,"expression");g(this,"bindings",[]);g(this,"handlers",[]);g(this,"css_custom_properties",[]);g(this,"children");g(this,"scope");g(this,"namespace");g(this,"let_attributes");if(this.cannot_use_innerhtml(),this.not_static_content(),s.name!=="svelte:component"&&s.name!=="svelte:self"){let o=s.name.split(".")[0];r.warn_if_undefined(o,s,i),r.add_reference(this,o)}this.name=s.name,this.namespace=cz(n,r.namespace),this.expression=this.name==="svelte:component"?new ye(r,this,i,s.expression):null;let a=this.let_attributes=[];s.attributes.forEach(o=>{switch(o.type){case"Action":return r.error(o,M.invalid_action);case"Attribute":if(o.name.startsWith("--")){this.css_custom_properties.push(new Qt(r,this,i,o));break}case"Spread":this.attributes.push(new Qt(r,this,i,o));break;case"Binding":this.bindings.push(new xr(r,this,i,o));break;case"Class":return r.error(o,M.invalid_class);case"EventHandler":this.handlers.push(new Kt(r,this,i,o));break;case"Let":a.push(o);break;case"Transition":return r.error(o,M.invalid_transition);case"StyleDirective":return r.error(o,M.invalid_component_style_directive);case"Animation":return r.error(o,M.invalid_animation);default:throw new Error(`Not implemented: ${o.type}`)}}),this.scope=i,this.handlers.forEach(o=>{o.modifiers.forEach(c=>{if(c!=="once")return r.error(o,M.invalid_event_modifier_component)})});let u=[];for(let o=s.children.length-1;o>=0;o--){let c=s.children[o];if(c.type==="SlotTemplate")u.push(c),s.children.splice(o,1);else if((c.type==="Element"||c.type==="InlineComponent"||c.type==="Slot")&&c.attributes.find(d=>d.name==="slot")){let d={start:c.start,end:c.end,type:"SlotTemplate",name:"svelte:fragment",attributes:[],children:[c]};for(let p=c.attributes.length-1;p>=0;p--){let f=c.attributes[p];f.type==="Let"?(d.attributes.push(f),c.attributes.splice(p,1)):f.type==="Attribute"&&f.name==="slot"&&d.attributes.push(f)}for(let p=c.children.length-1;p>=0;p--){let f=c.children[p];f.type==="ConstTag"&&(d.children.push(f),c.children.splice(p,1))}u.push(d),s.children.splice(o,1)}else c.type==="Comment"&&u.length>0&&u[u.length-1].children.unshift(c)}s.children.some(o=>uz(o))&&u.push({start:s.start,end:s.end,type:"SlotTemplate",name:"svelte:fragment",attributes:[],children:s.children}),a.length&&u.forEach(o=>{let c=o.attributes.find(d=>d.name==="slot");(!c||c.value[0].data==="default")&&o.attributes.push(...a)}),this.children=bt(r,this,this.scope,u)}get slot_template_name(){return this.attributes.find(r=>r.name==="slot").get_static_value()}};function uz(e){return!(e.type==="Text"&&io.test(e.data))}function cz(e,t){let r=e.find_nearest(/^Element/);return r?r.namespace:t}l();var ua=class extends yt{constructor(r,n,i,s){super(r,n,i,s);g(this,"expression");this.cannot_use_innerhtml(),this.not_static_content(),this.expression=new ye(r,this,i,s.expression),this.children=bt(r,this,i,s.children),this.warn_if_empty_block()}};l();l();var Hn=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"expression");g(this,"should_cache");r.tags.push(this),this.cannot_use_innerhtml(),this.expression=new ye(r,this,i,s.expression),this.should_cache=s.expression.type!=="Identifier"||this.expression.dependencies.size&&i.names.has(s.expression.name)}is_dependencies_static(){return this.expression.dynamic_contextual_dependencies().length===0&&this.expression.dynamic_dependencies().length===0}check_if_content_dynamic(){this.is_dependencies_static()||this.not_static_content()}};var ca=class extends Hn{};l();var da=class extends he{};l();var pa=class extends Hn{constructor(t,r,n,i){super(t,r,n,i),this.cannot_use_innerhtml(),this.not_static_content()}};l();var ha=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"expressions");this.expressions=s.identifiers.map(a=>new ye(r,n,i,a))}};l();var fa=class extends Vn{constructor(r,n,i,s){super(r,n,i,s);g(this,"type","Slot");g(this,"slot_name");g(this,"values",new Map);s.attributes.forEach(a=>{if(a.type!=="Attribute"&&a.type!=="Spread")return r.error(a,M.invalid_slot_directive);if(a.name==="name"){if(a.value.length!==1||a.value[0].type!=="Text")return r.error(a,M.dynamic_slot_name);if(this.slot_name=a.value[0].data,this.slot_name==="default")return r.error(a,M.invalid_slot_name)}this.values.set(a.name,new Qt(r,this,i,a))}),this.slot_name||(this.slot_name="default"),r.slots.set(this.slot_name,this),this.cannot_use_innerhtml(),this.not_static_content()}};l();var Un=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"scope");g(this,"children");g(this,"lets",[]);g(this,"const_tags");g(this,"slot_attribute");g(this,"slot_template_name","default");this.validate_slot_template_placement(),i=i.child(),s.attributes.forEach(a=>{switch(a.type){case"Let":{let u=new Dn(r,this,i,a);this.lets.push(u);let o=new Set([u.name.name]);u.names.forEach(c=>{i.add(c,o,this)});break}case"Attribute":{if(a.name==="slot"){if(this.slot_attribute=new Qt(r,this,i,a),!this.slot_attribute.is_static)return r.error(a,M.invalid_slot_attribute);let u=this.slot_attribute.get_static_value();if(typeof u=="boolean")return r.error(a,M.invalid_slot_attribute_value_missing);this.slot_template_name=u;break}throw new Error(`Invalid attribute '${a.name}' in <svelte:fragment>`)}default:throw new Error(`Not implemented: ${a.type}`)}}),this.scope=i,[this.const_tags,this.children]=Yt(s.children,r,this,this)}validate_slot_template_placement(){if(this.parent.type!=="InlineComponent")return this.component.error(this,M.invalid_slotted_content_fragment)}};l();var ma=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"children");g(this,"should_cache");if(this.children=bt(r,n,i,s.children),s.attributes.length>0){r.error(s.attributes[0],M.illegal_attribute_title);return}s.children.forEach(a=>{if(a.type!=="Text"&&a.type!=="MustacheTag")return r.error(a,M.illegal_structure_title)}),this.should_cache=s.children.length===1?s.children[0].type!=="Identifier"||i.names.has(s.children[0].name):!0}};l();var sv=["innerWidth","innerHeight","outerWidth","outerHeight","scrollX","scrollY","devicePixelRatio","online"],_a=class extends he{constructor(r,n,i,s){super(r,n,i,s);g(this,"handlers",[]);g(this,"bindings",[]);g(this,"actions",[]);s.attributes.forEach(a=>{if(a.type==="EventHandler")this.handlers.push(new Kt(r,this,i,a));else if(a.type==="Binding"){if(a.expression.type!=="Identifier"){let{parts:u}=Ht(a.expression);return r.error(a.expression,M.invalid_binding_window(u))}if(!~sv.indexOf(a.name)){let u=a.name==="width"?"innerWidth":a.name==="height"?"innerHeight":qt(a.name,sv);return u?r.error(a,M.invalid_binding_on(a.name,"<svelte:window>",` (did you mean '${u}'?)`)):r.error(a,M.invalid_binding_on(a.name,"<svelte:window>",` \u2014 valid bindings are ${mr(sv)}`))}this.bindings.push(new xr(r,this,i,a))}else a.type==="Action"&&this.actions.push(new Ut(r,this,i,a))})}};l();function hr(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}function dz(e){switch(e){case"AwaitBlock":return Bs;case"Body":return Fs;case"Comment":return js;case"ConstTag":return qn;case"Document":return Hs;case"EachBlock":return Vs;case"Element":return Vn;case"Head":return aa;case"IfBlock":return oa;case"InlineComponent":return la;case"KeyBlock":return ua;case"MustacheTag":return ca;case"Options":return da;case"RawMustacheTag":return pa;case"DebugTag":return ha;case"Slot":return fa;case"SlotTemplate":return Un;case"Text":return In;case"Title":return ma;case"Window":return _a;default:throw new Error(`Not implemented: ${e}`)}}function bt(e,t,r,n){let i=null,s=[];return n.map(a=>{let u=dz(a.type),o=a.type!=="Text"&&a.type!=="Comment"&&s.length;o&&e.push_ignores(s);let c=new u(e,t,r,a);return o&&(e.pop_ignores(),s=[]),c.type==="Comment"&&c.ignores.length&&hr(s,c.ignores),i&&(i.next=c),c.prev=i,i=c,c})}l();function ga(e){let t=e.reduce((a,u)=>{let[o,c]=u;return a.has(o)||a.set(o,[]),a.has(c)||a.set(c,[]),a.get(o).push(c),a},new Map),r=new Set,n=new Set,i=[];function s(a){r.add(a),n.add(a),t.get(a).forEach(u=>{r.has(u)?n.has(u)&&i.push([...n,u]):s(u)}),n.delete(a)}return t.forEach((a,u)=>{r.has(u)||s(u)}),i[0]}function Yt(e,t,r,n){let i=[],s=[];for(let c of e)c.type==="ConstTag"?i.push(c):s.push(c);let a=i.map(c=>new qn(t,r,r.scope,c)),u=pz(a,t);u.forEach(c=>c.parse_expression());let o=bt(t,n,r.scope,s);return[u,o]}function pz(e,t){let r=[],n=e.map(u=>({assignees:u.assignees,dependencies:u.dependencies,node:u})),i=new Map;n.forEach(u=>{u.assignees.forEach(o=>{i.has(o)||i.set(o,[]),i.get(o).push(u)})});let s=ga(n.reduce((u,o)=>(o.assignees.forEach(c=>{o.dependencies.forEach(d=>{o.assignees.has(d)||u.push([c,d])})}),u),[]));if(s&&s.length){let o=i.get(s[0])[0];t.error(o.node,M.cyclical_const_tags(s))}let a=u=>{r.includes(u)||(u.dependencies.forEach(o=>{if(u.assignees.has(o))return;let c=i.get(o);c&&c.forEach(a)}),r.push(u))};return n.forEach(a),r.map(u=>u.node)}var Ln=class extends yt{constructor(r,n,i,s){super(r,n,i,s);g(this,"scope");g(this,"const_tags");this.scope=i.child(),n.then_node&&n.then_contexts.forEach(a=>{a.type==="DestructuredVariable"&&this.scope.add(a.key.name,n.expression.dependencies,this)}),[this.const_tags,this.children]=Yt(s.children,r,this,n),s.skip||this.warn_if_empty_block()}};l();function en(e,t,r){let n=[];return t.forEach((i,s)=>{let a=`#constants_${s}`;n.push(_`const ${a} = ${i.expression.manipulate(e,r)}`);let u=o=>e.renderer.context_lookup.has(o)?v`${r}[${e.renderer.context_lookup.get(o).index}]`:{type:"Identifier",name:o};i.contexts.forEach(o=>{if(o.type==="DestructuredVariable")n.push(_`${r}[${e.renderer.context_lookup.get(o.key.name).index}] = ${o.default_modifier(o.modifier({type:"Identifier",name:a}),u)}`);else{let c=new ye(e.renderer.component,i,i.scope,o.key);n.push(_`const ${o.property_name} = ${c.manipulate(e,r)}`)}})}),n}function tn(e,t){t.forEach(r=>{r.contexts.forEach(n=>{n.type==="DestructuredVariable"&&e.add_to_context(n.key.name,!0)})})}var av=class extends ke{constructor(r,n,i,s,a,u,o){super(n,i,s,a);g(this,"block");g(this,"fragment");g(this,"is_dynamic");g(this,"var",null);g(this,"status");g(this,"value");g(this,"value_index");g(this,"value_contexts");g(this,"is_destructured");this.status=r,this.block=i.child({comment:St(a,this.renderer.component),name:this.renderer.component.get_unique_name(`create_${r}_block`),type:r}),this.add_context(s.node[r+"_node"],s.node[r+"_contexts"]),this.fragment=new nt(n,this.block,this.node.children,s,u,o),this.is_dynamic=this.block.dependencies.size>0}add_context(r,n){r&&(r.type==="Identifier"?(this.value=r.name,this.renderer.add_to_context(this.value,!0)):(n.forEach(i=>{i.type==="DestructuredVariable"&&this.renderer.add_to_context(i.key.name,!0)}),this.value=this.block.parent.get_unique_name("value").name,this.value_contexts=n,this.renderer.add_to_context(this.value,!0),this.is_destructured=!0),this.value_index=this.renderer.context_lookup.get(this.value).index,this.has_consts(this.node)&&tn(this.renderer,this.node.const_tags))}has_consts(r){return r instanceof Ln||r instanceof Tn}render(r,n,i){this.fragment.render(r,n,i),(this.is_destructured||this.has_consts(this.node)&&this.node.const_tags.length>0)&&this.render_get_context()}render_get_context(){let r=this.is_destructured?this.value_contexts.map(s=>{if(s.type==="ComputedProperty"){let a=new ye(this.renderer.component,this.node,this.has_consts(this.node)?this.node.scope:null,s.key);return _`const ${s.property_name} = ${a.manipulate(this.block,"#ctx")};`}else{let a=u=>this.renderer.reference(u);return _`#ctx[${this.block.renderer.context_lookup.get(s.key.name).index}] = ${s.default_modifier(s.modifier(v`#ctx[${this.value_index}]`),a)};`}}):null,n=this.has_consts(this.node)?en(this.block,this.node.const_tags,"#ctx"):null,i=this.block.renderer.component.get_unique_name(`get_${this.status}_context`);this.block.renderer.blocks.push(_`
|
|
function ${i}(#ctx) {
|
|
${r}
|
|
${n}
|
|
}
|
|
`),this.block.chunks.declarations.push(_`${i}(#ctx)`),this.block.has_update_method&&this.block.chunks.update.unshift(_`${i}(#ctx)`)}},va=class extends ke{constructor(r,n,i,s,a,u){super(r,n,i,s);g(this,"pending");g(this,"then");g(this,"catch");g(this,"var",{type:"Identifier",name:"await_block"});n.add_dependencies(this.node.expression.dependencies);let o=!1,c=!1,d=!1;["pending","then","catch"].forEach(p=>{let f=this.node[p],m=new av(p,r,n,this,f,a,u);r.blocks.push(m.block),m.is_dynamic&&(o=!0,n.add_dependencies(m.block.dependencies)),m.block.has_intros&&(c=!0),m.block.has_outros&&(d=!0),this[p]=m}),["pending","then","catch"].forEach(p=>{this[p].block.has_update_method=o,this[p].block.has_intro_method=c,this[p].block.has_outro_method=d}),d&&n.add_outro()}render(r,n,i){let s=this.get_or_create_anchor(r,n,i),a=this.get_update_mount_node(s),u=this.node.expression.manipulate(r),o=r.get_unique_name("info"),c=r.get_unique_name("promise");r.add_variable(c),r.maintain_context=!0;let d=v`{
|
|
ctx: #ctx,
|
|
current: null,
|
|
token: null,
|
|
hasCatch: ${this.catch.node.start!==null?"true":"false"},
|
|
pending: ${this.pending.block.name},
|
|
then: ${this.then.block.name},
|
|
catch: ${this.catch.block.name},
|
|
value: ${this.then.value_index},
|
|
error: ${this.catch.value_index},
|
|
blocks: ${this.pending.block.has_outro_method&&v`[,,,]`}
|
|
}`;r.chunks.init.push(_`
|
|
let ${o} = ${d};
|
|
`),r.chunks.init.push(_`
|
|
@handle_promise(${c} = ${u}, ${o});
|
|
`),r.chunks.create.push(_`
|
|
${o}.block.c();
|
|
`),i&&this.renderer.options.hydratable&&r.chunks.claim.push(_`
|
|
${o}.block.l(${i});
|
|
`);let p=n||"#target",f=n?"null":"#anchor",m=this.pending.block.has_intro_method||this.pending.block.has_outro_method;r.chunks.mount.push(_`
|
|
${o}.block.m(${p}, ${o}.anchor = ${f});
|
|
${o}.mount = () => ${a};
|
|
${o}.anchor = ${s};
|
|
`),m&&r.chunks.intro.push(_`@transition_in(${o}.block);`);let y=this.node.expression.dynamic_dependencies(),w=_`@update_await_block_branch(${o}, #ctx, #dirty)`;if(y.length>0){let b=v`
|
|
${r.renderer.dirty(y)} &&
|
|
${c} !== (${c} = ${u}) &&
|
|
@handle_promise(${c}, ${o})`;r.chunks.update.push(_`${o}.ctx = #ctx;`),this.pending.block.has_update_method?r.chunks.update.push(_`
|
|
if (${b}) {
|
|
|
|
} else {
|
|
${w}
|
|
}
|
|
`):r.chunks.update.push(_`
|
|
${b}
|
|
`)}else this.pending.block.has_update_method&&r.chunks.update.push(_`
|
|
${w}
|
|
`);this.pending.block.has_outro_method&&r.chunks.outro.push(_`
|
|
for (let #i = 0; #i < 3; #i += 1) {
|
|
const block = ${o}.blocks[#i];
|
|
@transition_out(block);
|
|
}
|
|
`),r.chunks.destroy.push(_`
|
|
${o}.block.d(${n?null:"detaching"});
|
|
${o}.token = null;
|
|
${o} = null;
|
|
`),[this.pending,this.then,this.catch].forEach(b=>{b.render(b.block,null,v`#nodes`)})}};l();l();var Sh=v`true`,Eh=v`false`,Ot=class{constructor(t,r){g(this,"node");g(this,"parent");this.node=t,this.parent=r,t.expression||(this.parent.renderer.add_to_context(t.handler_name.name),this.parent.renderer.component.partly_hoisted.push(_`
|
|
function ${t.handler_name.name}(event) {
|
|
@bubble.call(this, $$self, event);
|
|
}
|
|
`))}get_snippet(t){let r=this.node.expression?this.node.expression.manipulate(t):t.renderer.reference(this.node.handler_name);return this.node.reassigned?(t.maintain_context=!0,v`function () { if (@is_function(${r})) ${r}.apply(this, arguments); }`):r}render(t,r){let n=this.get_snippet(t);this.node.modifiers.has("preventDefault")&&(n=v`@prevent_default(${n})`),this.node.modifiers.has("stopPropagation")&&(n=v`@stop_propagation(${n})`),this.node.modifiers.has("stopImmediatePropagation")&&(n=v`@stop_immediate_propagation(${n})`),this.node.modifiers.has("self")&&(n=v`@self(${n})`),this.node.modifiers.has("trusted")&&(n=v`@trusted(${n})`);let i=[],s=["nonpassive","passive","once","capture"].filter(a=>this.node.modifiers.has(a));s.length?s.length===1&&s[0]==="capture"?i.push(Sh):i.push(v`{ ${s.map(a=>a==="nonpassive"?qe`passive: false`:qe`${a}: true`)} }`):t.renderer.options.dev&&i.push(Eh),t.renderer.options.dev&&(i.push(this.node.modifiers.has("preventDefault")?Sh:Eh),i.push(this.node.modifiers.has("stopPropagation")?Sh:Eh),i.push(this.node.modifiers.has("stopImmediatePropagation")?Sh:Eh)),t.event_listeners.push(v`@listen(${r}, "${this.node.name}", ${n}, ${i})`)}};l();function zn(e,t,r){r.forEach(n=>ov(e,t,n))}function ov(e,t,r){r.render(e,t)}l();function Gn(e,t,r){r.forEach(n=>lv(e,t,n))}var hz=/[^a-zA-Z0-9_$]/g;function lv(e,t,r){let{expression:n,template_scope:i}=r,s,a;n&&(s=n.manipulate(e),a=n.dynamic_dependencies());let u=e.get_unique_name(`${r.name.replace(hz,"_")}_action`);e.add_variable(u);let[o,...c]=r.name.split("."),d=Ns(r.component,i,o)?e.renderer.reference(o):o;if(c.length){let p=c.reduce((f,m)=>v`${f}.${m}`,d);e.event_listeners.push(v`@action_destroyer(${u} = ${p}(${t}, ${s}))`)}else e.event_listeners.push(v`@action_destroyer(${u} = ${d}.call(null, ${t}, ${s}))`);if(a&&a.length>0){let p=v`${u} && @is_function(${u}.update)`;a.length>0&&(p=v`${p} && ${e.renderer.dirty(a)}`),e.chunks.update.push(_`if (${p}) ${u}.update.call(null, ${s});`)}}var ya=class extends ke{constructor(r,n,i,s){super(r,n,i,s);g(this,"handlers");this.handlers=this.node.handlers.map(a=>new Ot(a,this))}render(r,n,i){zn(r,v`@_document.body`,this.handlers),Gn(r,v`@_document.body`,this.node.actions)}};l();var ba=class extends ke{constructor(t,r,n,i,s,a){super(t,r,n,i)}render(t,r,n){let{renderer:i}=this,{component:s}=i;if(!i.options.dev)return;let{var_lookup:a}=s,u=s.locate(this.node.start+1),o={line:u.line,column:u.column+6},c={start:u,end:o},d={type:"DebuggerStatement",loc:c};if(this.node.expressions.length===0)t.chunks.create.push(d),t.chunks.update.push(d);else{let p={type:"Identifier",name:"log",loc:c},f=new Set;this.node.expressions.forEach(b=>{Je(f,b.dependencies)});let m=this.node.expressions.filter(b=>{let $=a.get(b.node.name);return!($&&$.hoistable)}).map(b=>b.node.name),y=this.node.expressions.map(b=>qe`${b.node.name}`),w=_`
|
|
${m.map(b=>_`const ${b} = ${i.reference(b)};`)}
|
|
@_console.${p}({ ${y} });
|
|
debugger;`;if(f.size){let b=i.dirty(Array.from(f));t.chunks.update.push(_`
|
|
if (${b}) {
|
|
${w}
|
|
}
|
|
`)}t.chunks.create.push(_`{
|
|
${w}
|
|
}`)}}};l();var fz={fullscreenElement:["fullscreenchange"],visibilityState:["visibilitychange"]},mz=new Set(["fullscreenElement","visibilityState"]),xa=class extends ke{constructor(r,n,i,s){super(r,n,i,s);g(this,"handlers");this.handlers=this.node.handlers.map(a=>new Ot(a,this))}render(r,n,i){let{renderer:s}=this,{component:a}=s,u={},o={};zn(r,v`@_document`,this.handlers),Gn(r,v`@_document`,this.node.actions),this.node.bindings.forEach(c=>{let d=c.expression.node.name;mz.has(c.name)&&s.readonly.add(d),o[c.name]=d;let p=fz[c.name],f=c.name;p.forEach(m=>{u[m]||(u[m]=[]),u[m].push({name:d,value:f})})}),Object.keys(u).forEach(c=>{let d=r.get_unique_name(`ondocument${c}`),p=u[c];s.add_to_context(d.name);let f=s.reference(d.name);p.forEach(m=>{s.meta_bindings.push(_`this._state.${m.name} = @_document.${m.value};`)}),r.event_listeners.push(v`
|
|
@listen(@_document, "${c}", ${f})
|
|
`),a.partly_hoisted.push(_`
|
|
function ${d}() {
|
|
${p.map(m=>s.invalidate(m.name,v`${m.name} = @_document.${m.value}`))}
|
|
}
|
|
`),r.chunks.init.push(_`
|
|
@add_render_callback(${f});
|
|
`),a.has_reactive_assignments=!0})}};l();var uv=class extends ke{constructor(r,n,i,s,a,u){super(r,n,i,s);g(this,"block");g(this,"fragment");g(this,"is_dynamic");g(this,"var",null);tn(r,this.node.const_tags),this.block=n.child({comment:St(s,this.renderer.component),name:this.renderer.component.get_unique_name("create_else_block"),type:"else"}),this.fragment=new nt(r,this.block,this.node.children,i,a,u),this.is_dynamic=this.block.dependencies.size>0}},wa=class extends ke{constructor(r,n,i,s,a,u){super(r,n,i,s);g(this,"block");g(this,"fragment");g(this,"else");g(this,"vars");g(this,"context_props");g(this,"index_name");g(this,"updates",[]);g(this,"dependencies");g(this,"var",{type:"Identifier",name:"each"});let{dependencies:o}=s.expression;n.add_dependencies(o),this.node.contexts.forEach(C=>{C.type==="DestructuredVariable"&&r.add_to_context(C.key.name,!0)}),tn(r,this.node.const_tags),this.block=n.child({comment:St(this.node,this.renderer.component),name:r.component.get_unique_name("create_each_block"),type:"each",key:s.key,bindings:new Map(n.bindings)}),this.block.has_animation=this.node.has_animation,this.index_name=this.node.index?{type:"Identifier",name:this.node.index}:r.component.get_unique_name(`${this.node.context}_index`);let c=s.expression.node.type==="ArrayExpression"&&s.expression.node.elements.every(C=>C.type!=="SpreadElement")?s.expression.node.elements.length:null,d=this.node.start+2;for(;r.component.source[d]!=="e";)d+=1;let p=r.component.locate(d),f={line:p.line,column:p.column+4},m={type:"Identifier",name:"length",loc:{start:p,end:f}},y=r.component.get_unique_name(`${this.var.name}_value`),w=n.get_unique_name(`${this.var.name}_blocks`);r.add_to_context(y.name,!0),r.add_to_context(this.index_name.name,!0),this.vars={create_each_block:this.block.name,each_block_value:y,get_each_context:r.component.get_unique_name(`get_${this.var.name}_context`),iterations:w,fixed_length:c,data_length:c===null?v`${y}.${m}`:c,view_length:c===null?v`${w}.length`:c};let b=rt(s.expression.node),$=b.type==="Identifier"&&b.name[0]==="$"?b.name.slice(1):null;s.contexts.forEach(C=>{C.type==="DestructuredVariable"&&this.block.bindings.set(C.key.name,{object:this.vars.each_block_value,property:this.index_name,modifier:C.modifier,snippet:C.modifier(v`${this.vars.each_block_value}[${this.index_name}]`),store:$})}),this.node.index&&this.block.get_unique_name(this.node.index),r.blocks.push(this.block),this.fragment=new nt(r,this.block,s.children,this,a,u),this.node.else&&(this.else=new uv(r,n,this,this.node.else,a,u),r.blocks.push(this.else.block),this.else.is_dynamic&&this.block.add_dependencies(this.else.block.dependencies)),n.add_dependencies(this.block.dependencies),(this.block.has_outros||this.else&&this.else.block.has_outros)&&n.add_outro()}render(r,n,i){if(this.fragment.nodes.length===0)return;let{renderer:s}=this,{component:a}=s,u=this.next?!this.next.is_dom_node():!n||!this.parent.is_dom_node(),o=v`@ensure_array_like(${this.node.expression.manipulate(r)})`;r.chunks.init.push(_`let ${this.vars.each_block_value} = ${o};`);let c={type:"Identifier",name:n?"null":"#anchor"},d=n||{type:"Identifier",name:"#target"},p=u?r.get_unique_name(`${this.var.name}_anchor`):this.next&&this.next.var||{type:"Identifier",name:"null"},f=this.get_update_mount_node(p),m={block:r,parent_node:n,parent_nodes:i,snippet:o,initial_anchor_node:c,initial_mount_node:d,update_anchor_node:p,update_mount_node:f},y=new Set(this.block.dependencies);if(this.node.expression.dynamic_dependencies().forEach(w=>{y.add(w)}),this.node.key&&this.node.key.dynamic_dependencies().forEach(w=>{y.add(w)}),this.dependencies=y,this.node.key?this.render_keyed(m):this.render_unkeyed(m),(this.block.has_intro_method||this.block.has_outro_method)&&r.chunks.intro.push(_`
|
|
for (let #i = 0; #i < ${this.vars.data_length}; #i += 1) {
|
|
@transition_in(${this.vars.iterations}[#i]);
|
|
}
|
|
`),u&&r.add_element(p,v`@empty()`,i&&v`@empty()`,n),this.else){let w=v`#ctx`;if(this.else.node.const_tags.length>0){let R=this.renderer.component.get_unique_name("get_else_ctx");this.renderer.blocks.push(_`
|
|
function ${R}(#ctx) {
|
|
const child_ctx = #ctx.slice();
|
|
${en(r,this.else.node.const_tags,"child_ctx")}
|
|
return child_ctx;
|
|
}
|
|
`),w=v`${R}(#ctx)`}let b=a.get_unique_name(`${this.var.name}_else`);r.chunks.init.push(_`let ${b} = null;`),r.chunks.init.push(_`
|
|
if (!${this.vars.data_length}) {
|
|
${b} = ${this.else.block.name}(${w});
|
|
}
|
|
`),r.chunks.create.push(_`
|
|
if (${b}) {
|
|
${b}.c();
|
|
}
|
|
`),this.renderer.options.hydratable&&r.chunks.claim.push(_`
|
|
if (${b}) {
|
|
${b}.l(${i});
|
|
}
|
|
`),r.chunks.mount.push(_`
|
|
if (${b}) {
|
|
${b}.m(${d}, ${c});
|
|
}
|
|
`);let $=!!(this.else.block.has_intro_method||this.else.block.has_outro_method),C=this.else.block.has_outro_method?_`
|
|
@group_outros();
|
|
@transition_out(${b}, 1, 1, () => {
|
|
${b} = null;
|
|
});
|
|
@check_outros();`:_`
|
|
${b}.d(1);
|
|
${b} = null;`;this.else.block.has_update_method?this.updates.push(_`
|
|
if (!${this.vars.data_length} && ${b}) {
|
|
${b}.p(${w}, #dirty);
|
|
} else if (!${this.vars.data_length}) {
|
|
${b} = ${this.else.block.name}(${w});
|
|
${b}.c();
|
|
${$&&_`@transition_in(${b}, 1);`}
|
|
${b}.m(${f}, ${p});
|
|
} else if (${b}) {
|
|
${C};
|
|
}
|
|
`):this.updates.push(_`
|
|
if (${this.vars.data_length}) {
|
|
if (${b}) {
|
|
${C};
|
|
}
|
|
} else if (!${b}) {
|
|
${b} = ${this.else.block.name}(${w});
|
|
${b}.c();
|
|
${$&&_`@transition_in(${b}, 1);`}
|
|
${b}.m(${f}, ${p});
|
|
}
|
|
`),r.chunks.destroy.push(_`
|
|
if (${b}) ${b}.d(${n?"":"detaching"});
|
|
`)}this.updates.length&&r.chunks.update.push(_`
|
|
if (${r.renderer.dirty(Array.from(y))}) {
|
|
${this.updates}
|
|
}
|
|
`),this.fragment.render(this.block,null,v`#nodes`),this.else&&this.else.fragment.render(this.else.block,null,v`#nodes`),this.context_props=this.node.contexts.map(w=>{if(w.type==="DestructuredVariable"){let b=$=>s.context_lookup.has($)?v`child_ctx[${s.context_lookup.get($).index}]`:{type:"Identifier",name:$};return _`child_ctx[${s.context_lookup.get(w.key.name).index}] = ${w.default_modifier(w.modifier(v`list[i]`),b)};`}else{let b=new ye(this.renderer.component,this.node,this.node.scope,w.key);return _`const ${w.property_name} = ${b.manipulate(r,"child_ctx")};`}}),this.node.has_binding&&this.context_props.push(_`child_ctx[${s.context_lookup.get(this.vars.each_block_value.name).index}] = list;`),(this.node.has_binding||this.node.has_index_binding||this.node.index)&&this.context_props.push(_`child_ctx[${s.context_lookup.get(this.index_name.name).index}] = i;`),s.blocks.push(_`
|
|
function ${this.vars.get_each_context}(#ctx, list, i) {
|
|
const child_ctx = #ctx.slice();
|
|
${this.context_props}
|
|
${en(this.block,this.node.const_tags,"child_ctx")}
|
|
return child_ctx;
|
|
}
|
|
`)}render_keyed({block:r,parent_node:n,parent_nodes:i,snippet:s,initial_anchor_node:a,initial_mount_node:u,update_anchor_node:o,update_mount_node:c}){let{create_each_block:d,iterations:p,data_length:f,view_length:m}=this.vars,y=r.get_unique_name("get_key"),w=r.get_unique_name(`${this.var.name}_lookup`);r.add_variable(p,v`[]`),r.add_variable(w,v`new @_Map()`),this.fragment.nodes[0].is_dom_node()?this.block.first=this.fragment.nodes[0].var:(this.block.first=this.block.get_unique_name("first"),this.block.add_element(this.block.first,v`@empty()`,i&&v`@empty()`,null)),r.chunks.init.push(_`
|
|
const ${y} = #ctx => ${this.node.key.manipulate(r)};
|
|
|
|
${this.renderer.options.dev&&_`@validate_each_keys(#ctx, ${this.vars.each_block_value}, ${this.vars.get_each_context}, ${y});`}
|
|
for (let #i = 0; #i < ${f}; #i += 1) {
|
|
let child_ctx = ${this.vars.get_each_context}(#ctx, ${this.vars.each_block_value}, #i);
|
|
let key = ${y}(child_ctx);
|
|
${w}.set(key, ${p}[#i] = ${d}(key, child_ctx));
|
|
}
|
|
`),r.chunks.create.push(_`
|
|
for (let #i = 0; #i < ${m}; #i += 1) {
|
|
${p}[#i].c();
|
|
}
|
|
`),i&&this.renderer.options.hydratable&&r.chunks.claim.push(_`
|
|
for (let #i = 0; #i < ${m}; #i += 1) {
|
|
${p}[#i].l(${i});
|
|
}
|
|
`),r.chunks.mount.push(_`
|
|
for (let #i = 0; #i < ${m}; #i += 1) {
|
|
if (${p}[#i]) {
|
|
${p}[#i].m(${u}, ${a});
|
|
}
|
|
}
|
|
`);let b=this.block.has_update_method,$=this.node.has_animation?this.block.has_outros?"@fix_and_outro_and_destroy_block":"@fix_and_destroy_block":this.block.has_outros?"@outro_and_destroy_block":"@destroy_block";this.dependencies.size&&(this.block.maintain_context=!0,this.updates.push(_`
|
|
${this.vars.each_block_value} = ${s};
|
|
|
|
${this.block.has_outros&&_`@group_outros();`}
|
|
${this.node.has_animation&&_`for (let #i = 0; #i < ${m}; #i += 1) ${p}[#i].r();`}
|
|
${this.renderer.options.dev&&_`@validate_each_keys(#ctx, ${this.vars.each_block_value}, ${this.vars.get_each_context}, ${y});`}
|
|
${p} = @update_keyed_each(${p}, #dirty, ${y}, ${b?1:0}, #ctx, ${this.vars.each_block_value}, ${w}, ${c}, ${$}, ${d}, ${o}, ${this.vars.get_each_context});
|
|
${this.node.has_animation&&_`for (let #i = 0; #i < ${m}; #i += 1) ${p}[#i].a();`}
|
|
${this.block.has_outros&&_`@check_outros();`}
|
|
`)),this.block.has_outros&&r.chunks.outro.push(_`
|
|
for (let #i = 0; #i < ${m}; #i += 1) {
|
|
@transition_out(${p}[#i]);
|
|
}
|
|
`),r.chunks.destroy.push(_`
|
|
for (let #i = 0; #i < ${m}; #i += 1) {
|
|
${p}[#i].d(${n?null:"detaching"});
|
|
}
|
|
`)}render_unkeyed({block:r,parent_nodes:n,snippet:i,initial_anchor_node:s,initial_mount_node:a,update_anchor_node:u,update_mount_node:o}){let{create_each_block:c,iterations:d,fixed_length:p,data_length:f,view_length:m}=this.vars;if(r.chunks.init.push(_`
|
|
let ${d} = [];
|
|
|
|
for (let #i = 0; #i < ${f}; #i += 1) {
|
|
${d}[#i] = ${c}(${this.vars.get_each_context}(#ctx, ${this.vars.each_block_value}, #i));
|
|
}
|
|
`),r.chunks.create.push(_`
|
|
for (let #i = 0; #i < ${m}; #i += 1) {
|
|
${d}[#i].c();
|
|
}
|
|
`),n&&this.renderer.options.hydratable&&r.chunks.claim.push(_`
|
|
for (let #i = 0; #i < ${m}; #i += 1) {
|
|
${d}[#i].l(${n});
|
|
}
|
|
`),r.chunks.mount.push(_`
|
|
for (let #i = 0; #i < ${m}; #i += 1) {
|
|
if (${d}[#i]) {
|
|
${d}[#i].m(${a}, ${s});
|
|
}
|
|
}
|
|
`),this.dependencies.size){let y=!!(this.block.has_intro_method||this.block.has_outro_method),w=this.block.has_update_method?_`
|
|
if (${d}[#i]) {
|
|
${d}[#i].p(child_ctx, #dirty);
|
|
${y&&_`@transition_in(${this.vars.iterations}[#i], 1);`}
|
|
} else {
|
|
${d}[#i] = ${c}(child_ctx);
|
|
${d}[#i].c();
|
|
${y&&_`@transition_in(${this.vars.iterations}[#i], 1);`}
|
|
${d}[#i].m(${o}, ${u});
|
|
}
|
|
`:y?_`
|
|
if (${d}[#i]) {
|
|
@transition_in(${this.vars.iterations}[#i], 1);
|
|
} else {
|
|
${d}[#i] = ${c}(child_ctx);
|
|
${d}[#i].c();
|
|
@transition_in(${this.vars.iterations}[#i], 1);
|
|
${d}[#i].m(${o}, ${u});
|
|
}
|
|
`:_`
|
|
if (!${d}[#i]) {
|
|
${d}[#i] = ${c}(child_ctx);
|
|
${d}[#i].c();
|
|
${d}[#i].m(${o}, ${u});
|
|
}
|
|
`,b=this.block.has_update_method?0:"#old_length",$;if(this.block.has_outros){let R=r.get_unique_name("out");r.chunks.init.push(_`
|
|
const ${R} = i => @transition_out(${d}[i], 1, 1, () => {
|
|
${d}[i] = null;
|
|
});
|
|
`),$=_`
|
|
@group_outros();
|
|
for (#i = ${f}; #i < ${m}; #i += 1) {
|
|
${R}(#i);
|
|
}
|
|
@check_outros();
|
|
`}else $=_`
|
|
for (${this.block.has_update_method?null:v`#i = ${f}`}; #i < ${this.block.has_update_method?m:"#old_length"}; #i += 1) {
|
|
${d}[#i].d(1);
|
|
}
|
|
${!p&&_`${m} = ${f};`}
|
|
`;let C=_`
|
|
${!this.block.has_update_method&&_`const #old_length = ${this.vars.each_block_value}.length;`}
|
|
${this.vars.each_block_value} = ${i};
|
|
|
|
let #i;
|
|
for (#i = ${b}; #i < ${f}; #i += 1) {
|
|
const child_ctx = ${this.vars.get_each_context}(#ctx, ${this.vars.each_block_value}, #i);
|
|
|
|
${w}
|
|
}
|
|
|
|
${$}
|
|
`;this.updates.push(C)}this.block.has_outros&&r.chunks.outro.push(_`
|
|
${d} = ${d}.filter(@_Boolean);
|
|
for (let #i = 0; #i < ${m}; #i += 1) {
|
|
@transition_out(${d}[#i]);
|
|
}
|
|
`),r.chunks.destroy.push(_`@destroy_each(${d}, detaching);`)}};l();l();var yn=class extends ke{constructor(r,n,i,s,a){super(r,n,i,s);g(this,"_data");g(this,"skip");g(this,"var");this.skip=this.node.should_skip(),this._data=a,this.var=this.skip?null:v`t`}use_space(){return this.node.use_space()}set data(r){this.node.data=this._data=r}get data(){return this._data}render(r,n,i){if(this.skip)return;let s=this.use_space(),a={type:"Literal",value:this.data,loc:{start:this.renderer.locate(this.node.start),end:this.renderer.locate(this.node.end)}};r.add_element(this.var,s?v`@space()`:v`@text(${a})`,i&&(s?v`@claim_space(${i})`:v`@claim_text(${i}, ${a})`),n)}};l();var _z="accent-height accumulate additive alignment-baseline allowReorder alphabetic amplitude arabic-form ascent attributeName attributeType autoReverse azimuth baseFrequency baseline-shift baseProfile bbox begin bias by calcMode cap-height class clip clipPathUnits clip-path clip-rule color color-interpolation color-interpolation-filters color-profile color-rendering contentScriptType contentStyleType cursor cx cy d decelerate descent diffuseConstant direction display divisor dominant-baseline dur dx dy edgeMode elevation enable-background end exponent externalResourcesRequired fill fill-opacity fill-rule filter filterRes filterUnits flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight format from fr fx fy g1 g2 glyph-name glyph-orientation-horizontal glyph-orientation-vertical glyphRef gradientTransform gradientUnits hanging height href horiz-adv-x horiz-origin-x id ideographic image-rendering in in2 intercept k k1 k2 k3 k4 kernelMatrix kernelUnitLength kerning keyPoints keySplines keyTimes lang lengthAdjust letter-spacing lighting-color limitingConeAngle local marker-end marker-mid marker-start markerHeight markerUnits markerWidth mask maskContentUnits maskUnits mathematical max media method min mode name numOctaves offset onabort onactivate onbegin onclick onend onerror onfocusin onfocusout onload onmousedown onmousemove onmouseout onmouseover onmouseup onrepeat onresize onscroll onunload opacity operator order orient orientation origin overflow overline-position overline-thickness panose-1 paint-order pathLength patternContentUnits patternTransform patternUnits pointer-events points pointsAtX pointsAtY pointsAtZ preserveAlpha preserveAspectRatio primitiveUnits r radius refX refY rendering-intent repeatCount repeatDur requiredExtensions requiredFeatures restart result rotate rx ry scale seed shape-rendering slope spacing specularConstant specularExponent speed spreadMethod startOffset stdDeviation stemh stemv stitchTiles stop-color stop-opacity strikethrough-position strikethrough-thickness string stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width style surfaceScale systemLanguage tabindex tableValues target targetX targetY text-anchor text-decoration text-rendering textLength to transform type u1 u2 underline-position underline-thickness unicode unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical values version vert-adv-y vert-origin-x vert-origin-y viewBox viewTarget visibility width widths word-spacing writing-mode x x-height x1 x2 xChannelSelector xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xml:lang xml:space y y1 y2 yChannelSelector z zoomAndPan".split(" "),tE=new Map;_z.forEach(e=>{tE.set(e.toLowerCase(),e)});function bn(e){return e=e.toLowerCase(),tE.get(e)||e}l();l();function ka(e,t){let{parent:r}=e;r.node.name==="select"&&(r.select_binding_dependencies=t,t.forEach(n=>{r.renderer.component.indirect_dependencies.set(n,new Set)}))}l();var gz=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],Wn=new Set([...gz]);var vz=new Set(["button","checkbox","color","date","datetime-local","file","hidden","image","radio","range","reset","submit"]),$a=class{constructor(t,r,n){g(this,"node");g(this,"parent");this.node=n,this.parent=t,n.dependencies.size>0&&r.add_dependencies(n.dependencies)}render(t){}},yz=/-/,bz=/[^a-zA-Z_$]/g,Yn=class extends $a{constructor(r,n,i){super(r,n,i);g(this,"metadata");g(this,"name");g(this,"property_name");g(this,"is_indirectly_bound_value");g(this,"is_src");g(this,"is_srcset");g(this,"is_select_value_attribute");g(this,"is_input_value");g(this,"should_cache");g(this,"last");if(i.dependencies.size>0){if(this.parent.node.name==="option"&&i.name==="value"){let s=this.parent;for(;s&&(s.node.type!=="Element"||s.node.name!=="select");)s=s.parent;s&&s.select_binding_dependencies&&s.select_binding_dependencies.forEach(a=>{this.node.dependencies.forEach(u=>{this.node.scope.is_top_level(u)&&this.parent.renderer.component.indirect_dependencies.get(a).add(u)})})}i.name==="value"&&(ka(this,i.dependencies),this.parent.has_dynamic_value=!0)}this.parent.node.namespace==Ve.foreign||this.parent.node.name.includes("-")?(this.name=this.node.name,this.metadata=this.get_metadata(),this.is_indirectly_bound_value=!1,this.property_name=null,this.is_select_value_attribute=!1,this.is_input_value=!1):(this.name=bn(this.node.name),this.metadata=this.get_metadata(),this.is_indirectly_bound_value=kz(this),this.property_name=this.is_indirectly_bound_value?"__value":this.metadata&&this.metadata.property_name,this.is_select_value_attribute=this.name==="value"&&this.parent.node.name==="select",this.is_input_value=this.name==="value"&&this.parent.node.name==="input"),this.is_src=this.name==="src"&&(!this.parent.node.namespace||this.parent.node.namespace===Ve.html),this.is_srcset=this.name==="srcset"&&(!this.parent.node.namespace||this.parent.node.namespace===Ve.html),this.should_cache=xz(this)}render(r){let n=this.parent,{name:i,property_name:s,should_cache:a,is_indirectly_bound_value:u}=this,o=yz.test(n.node.name)?"@set_custom_element_data":i.slice(0,6)==="xlink:"?"@xlink_attr":"@attr",c=n.renderer.component.compile_options.legacy&&i==="type"&&this.parent.node.name==="input",d=this.get_dependencies(),p=this.get_value(r),f,m=this.get_init(r,p);if(c?(r.chunks.hydrate.push(_`@set_input_type(${n.var}, ${m});`),f=_`@set_input_type(${n.var}, ${a?this.last:p});`):this.is_select_value_attribute?(n.node.get_static_attribute_value("multiple")?f=_`@select_options(${n.var}, ${p});`:f=_`@select_option(${n.var}, ${p});`,r.chunks.mount.push(_`
|
|
${f}
|
|
`)):this.is_src?(r.chunks.hydrate.push(_`if (!@src_url_equal(${n.var}.src, ${m})) ${o}(${n.var}, "${i}", ${this.last});`),f=_`${o}(${n.var}, "${i}", ${a?this.last:p});`):this.is_srcset?(r.chunks.hydrate.push(_`if (!@srcset_url_equal(${n.var}, ${m})) ${o}(${n.var}, "${i}", ${this.last});`),f=_`${o}(${n.var}, "${i}", ${a?this.last:p});`):s?(r.chunks.hydrate.push(_`${n.var}.${s} = ${m};`),f=r.renderer.options.dev?_`@prop_dev(${n.var}, "${s}", ${a?this.last:p});`:_`${n.var}.${s} = ${a?this.last:p};`):(r.chunks.hydrate.push(_`${o}(${n.var}, "${i}", ${m});`),f=_`${o}(${n.var}, "${i}", ${a?this.last:p});`),u){let y=_`@set_input_value(${n.var}, ${n.var}.__value);`;r.chunks.hydrate.push(y),f=_`
|
|
${f}
|
|
${y};
|
|
`}if(this.node.name==="value"&&d.length>0&&this.parent.bindings.some(y=>y.node.name==="group")&&(this.parent.dynamic_value_condition=r.get_unique_name("value_has_changed"),r.add_variable(this.parent.dynamic_value_condition,v`false`),f=_`
|
|
${f}
|
|
${this.parent.dynamic_value_condition} = true;
|
|
`),d.length>0){let y=this.get_dom_update_conditions(r,r.renderer.dirty(d));r.chunks.update.push(_`
|
|
if (${y}) {
|
|
${f}
|
|
}`)}i==="autofocus"&&(r.autofocus={element_var:n.var,condition_expression:this.node.is_true?void 0:p})}get_init(r,n){return this.last=this.should_cache&&r.get_unique_name(`${this.parent.var.name}_${this.name.replace(bz,"_")}_value`),this.should_cache&&r.add_variable(this.last),this.should_cache?v`${this.last} = ${n}`:n}get_dom_update_conditions(r,n){let{property_name:i,should_cache:s,last:a}=this,u=this.parent,o=this.get_value(r),c=n;if(s&&(c=this.is_src?v`${c} && (!@src_url_equal(${u.var}.src, (${a} = ${o})))`:v`${c} && (${a} !== (${a} = ${o}))`),this.is_input_value){let d=u.node.get_static_attribute_value("type");d!==!0&&!vz.has(d)&&(c=v`${c} && ${u.var}.${i} !== ${s?a:o}`)}return r.has_outros&&(c=v`!#current || ${c}`),c}get_dependencies(){let r=this.node.get_dependencies(),n=new Set(r);return r.forEach(i=>{let s=this.parent.renderer.component.indirect_dependencies.get(i);s&&s.forEach(a=>{n.add(a)})}),Array.from(n)}get_metadata(){if(this.parent.node.namespace)return null;let r=cv[this.name];return r&&r.applies_to&&!r.applies_to.includes(this.parent.node.name)?null:r}get_value(r){if(this.node.is_true)return this.metadata&&Wn.has(this.metadata.property_name.toLowerCase())?v`true`:v`""`;if(this.node.chunks.length===0)return v`""`;if(this.node.chunks.length===1)return this.node.chunks[0].type==="Text"?Qe(this.node.chunks[0].data):this.node.chunks[0].manipulate(r);let n=this.node.name==="class"?this.get_class_name_text(r):this.render_chunks(r).reduce((i,s)=>v`${i} + ${s}`);return this.node.chunks[0].type!=="Text"&&(n=v`"" + ${n}`),n}get_class_name_text(r){let n=this.node.chunks.some(s=>s.synthetic),i=this.render_chunks(r);return n&&i.length===2&&(i[0]=v`@null_to_empty(${i[0]})`),i.reduce((s,a)=>v`${s} + ${a}`)}render_chunks(r){return this.node.chunks.map(n=>n.type==="Text"?Qe(n.data):n.manipulate(r))}stringify(){if(this.node.is_true)return"";let r=this.node.chunks;return r.length===0?'=""':`="${r.map(n=>n.type==="Text"?n.data.replace(ao,'\\"'):`\${${n.manipulate()}}`).join("")}"`}},cv={allowfullscreen:{property_name:"allowFullscreen",applies_to:["iframe"]},allowpaymentrequest:{property_name:"allowPaymentRequest",applies_to:["iframe"]},async:{applies_to:["script"]},autofocus:{applies_to:["button","input","keygen","select","textarea"]},autoplay:{applies_to:["audio","video"]},checked:{applies_to:["input"]},controls:{applies_to:["audio","video"]},default:{applies_to:["track"]},defer:{applies_to:["script"]},disabled:{applies_to:["button","fieldset","input","keygen","optgroup","option","select","textarea"]},formnovalidate:{property_name:"formNoValidate",applies_to:["button","input"]},hidden:{},indeterminate:{applies_to:["input"]},inert:{},ismap:{property_name:"isMap",applies_to:["img"]},loop:{applies_to:["audio","bgsound","video"]},multiple:{applies_to:["input","select"]},muted:{applies_to:["audio","video"]},nomodule:{property_name:"noModule",applies_to:["script"]},novalidate:{property_name:"noValidate",applies_to:["form"]},open:{applies_to:["details","dialog"]},playsinline:{property_name:"playsInline",applies_to:["video"]},readonly:{property_name:"readOnly",applies_to:["input","textarea"]},required:{applies_to:["input","select","textarea"]},reversed:{applies_to:["ol"]},selected:{applies_to:["option"]},value:{applies_to:["button","option","input","li","meter","progress","param","select","textarea"]}};Object.keys(cv).forEach(e=>{let t=cv[e];t.property_name||(t.property_name=e)});function xz(e){return e.is_src||e.is_srcset||e.node.should_cache()}var wz=/checked|group/;function kz(e){let t=e.parent;return e.name==="value"&&(t.node.name==="option"||t.node.name==="input"&&t.node.bindings.some(r=>wz.test(r.name)))}l();var Ca=class extends Yn{render(t){let r=Cz(this.node.chunks);if(!r)return super.render(t);r.forEach(n=>{let i;if(Rz(n.value)){let s=new Set;if(i=n.value.map(a=>a.type==="Text"?Qe(a.data):(Je(s,a.dynamic_dependencies()),a.manipulate(t))).reduce((a,u)=>v`${a} + ${u}`),s.size){let a=t.renderer.dirty(Array.from(s));t.has_outros&&(a=v`!#current || ${a}`);let u=_`
|
|
if (${a}) {
|
|
@set_style(${this.parent.var}, "${n.key}", ${i}, ${n.important?1:null});
|
|
}`;t.chunks.update.push(u)}}else i=Qe(n.value[0].data);t.chunks.hydrate.push(_`@set_style(${this.parent.var}, "${n.key}", ${i}, ${n.important?1:null});`)})}},$z=/^\s*([\w-]+):\s*/;function Cz(e){let t=[],r=e.slice();for(;r.length;){let n=r[0];if(n.type!=="Text")return null;let i=$z.exec(n.data);if(!i)return null;let s=i[1],a=i.index+i[0].length,u=n.data.slice(a);u?r[0]={start:n.start+a,end:n.end,type:"Text",data:u}:r.shift();let o=Ez(r);t.push({key:s,value:o.value,important:o.important}),r=o.chunks}return t}var rE=/\s*!important\s*$/,Sz=/[;\s]/;function Ez(e){let t=[],r=!1,n=null,i=!1,s=!1;for(;e.length&&!s;){let o=e.shift();if(o.type==="Text"){let c=0;for(;c<o.data.length;){let p=o.data[c];if(i)i=!1;else if(p==="\\")i=!0;else if(p===n)n=null;else if(p==='"'||p==="'")n=p;else if(p===")"&&r)r=!1;else if(p==="u"&&o.data.slice(c,c+4)==="url(")r=!0;else if(p===";"&&!r&&!n){s=!0;break}c+=1}for(c>0&&t.push({type:"Text",start:o.start,end:o.start+c,data:o.data.slice(0,c)});Sz.test(o.data[c]);)c+=1;let d=o.data.slice(c);if(d){e.unshift({start:o.start+c,end:o.end,type:"Text",data:d});break}}else t.push(o)}let a=!1,u=t[t.length-1];return u&&u.type==="Text"&&rE.test(u.data)&&(a=!0,u.data=u.data.replace(rE,""),u.data||t.pop()),{chunks:e,value:t,important:a}}function Rz(e){return e.length>1||e[0].type!=="Text"}l();var rn=class extends $a{};l();l();function Sa(e,t){if(t.expression.references.forEach(r=>{let n=e.node.scope.get_owner(r);n&&(n.has_binding=!0)}),t.name==="group"){let r=n=>{let i=e.node.scope.get_owner(n);if(i.type==="EachBlock"){i.has_index_binding=!0;for(let s of i.expression.contextual_dependencies)r(s)}};for(let n of t.expression.contextual_dependencies)r(n)}}var nn=class{constructor(t,r,n){g(this,"node");g(this,"parent");g(this,"object");g(this,"handler");g(this,"snippet");g(this,"is_readonly");g(this,"needs_lock");g(this,"binding_group");this.node=r,this.parent=n;let{dependencies:i}=this.node.expression;t.add_dependencies(i),ka(this,i),r.is_contextual&&Sa(this.parent,this.node),this.object=rt(this.node.expression.node).name,this.node.name==="group"&&(this.binding_group=Pz(n.renderer,this,t)),this.handler=Az(this,n.renderer,t,this.object,this.node.raw_expression),this.snippet=this.node.expression.manipulate(t),this.is_readonly=this.node.is_readonly,this.needs_lock=this.node.name==="currentTime"}get_dependencies(){let t=new Set(this.node.expression.dependencies);return this.node.expression.dependencies.forEach(r=>{let n=this.parent.renderer.component.indirect_dependencies.get(r);n&&n.forEach(i=>{t.add(i)})}),this.binding_group&&this.binding_group.list_dependencies.forEach(r=>t.add(r)),t}get_update_dependencies(){let t=this.object,r=new Set;this.node.expression.template_scope.names.has(t)?this.node.expression.template_scope.dependencies_for_name.get(t).forEach(i=>r.add(i)):r.add(t);let n=new Set(r);return r.forEach(i=>{let s=this.parent.renderer.component.indirect_dependencies.get(i);s&&s.forEach(a=>{n.add(a)})}),n}is_readonly_media_attribute(){return this.node.is_readonly_media_attribute()}render(t,r){if(this.is_readonly)return;let{parent:n}=this,i=this.needs_lock?[v`!${r}`]:[],s=[],a=null,u=Array.from(this.get_dependencies());if(u.length>0&&i.push(t.renderer.dirty(u)),n.node.name==="input"){let d=n.node.get_static_attribute_value("type");d===null||d===""||d==="text"||d==="email"||d==="password"||d==="search"||d==="url"?i.push(v`${n.var}.${this.node.name} !== ${this.snippet}`):d==="number"&&i.push(v`@to_number(${n.var}.${this.node.name}) !== ${this.snippet}`)}let o=nE(n,this,!1),c=nE(n,this,!0);switch(this.node.name){case"group":{t.renderer.add_to_context("$$binding_groups"),this.binding_group.add_element(t,this.parent.var),this.parent.has_dynamic_value&&(a=this.parent.dynamic_value_condition);break}case"textContent":i.push(v`${this.snippet} !== ${n.var}.textContent`),s.push(v`${this.snippet} !== void 0`);break;case"innerText":i.push(v`${this.snippet} !== ${n.var}.innerText`),s.push(v`${this.snippet} !== void 0`);break;case"innerHTML":i.push(v`${this.snippet} !== ${n.var}.innerHTML`),s.push(v`${this.snippet} !== void 0`);break;case"currentTime":i.push(v`!@_isNaN(${this.snippet})`),c=null;break;case"playbackRate":case"volume":i.push(v`!@_isNaN(${this.snippet})`),s.push(v`!@_isNaN(${this.snippet})`);break;case"paused":{let d=t.get_unique_name(`${n.var.name}_is_paused`);t.add_variable(d,v`true`),i.push(v`${d} !== (${d} = ${this.snippet})`),o=_`${n.var}[${d} ? "pause" : "play"]();`,c=null;break}case"value":n.node.get_static_attribute_value("type")==="file"&&(o=null,c=null)}if(o)if(i.length>0){let d=i.reduce((p,f)=>v`${p} && ${f}`);a&&(d=v`${a} || (${d})`),t.chunks.update.push(_`
|
|
if (${d}) {
|
|
${o}
|
|
}
|
|
`)}else t.chunks.update.push(o);if(c)if(s.length>0){let d=s.reduce((p,f)=>v`${p} && ${f}`);t.chunks.mount.push(_`
|
|
if (${d}) {
|
|
${c}
|
|
}
|
|
`)}else t.chunks.mount.push(c)}};function nE(e,t,r){let{node:n}=e;if(t.is_readonly_media_attribute()||t.node.name==="this")return null;if(n.name==="select")return n.get_static_attribute_value("multiple")===!0?_`@select_options(${e.var}, ${t.snippet})`:r?_`@select_option(${e.var}, ${t.snippet}, true)`:_`@select_option(${e.var}, ${t.snippet})`;if(t.node.name==="group"){let s=n.get_static_attribute_value("type")==="checkbox"?v`~(${t.snippet} || []).indexOf(${e.var}.__value)`:v`${e.var}.__value === ${t.snippet}`;return _`${e.var}.checked = ${s};`}return t.node.name==="value"?_`@set_input_value(${e.var}, ${t.snippet});`:_`${e.var}.${t.node.name} = ${t.snippet};`}function Pz(e,t,r){let n=t.node,{parts:i}=Ht(n.raw_expression),s=i.join("."),a=[],u=new Set,{template_scope:o}=n.expression,c=p=>{u.add(p);let f=o.get_owner(p);if(f.type==="EachBlock")for(let m of f.expression.contextual_dependencies)c(m)};for(let p of n.expression.contextual_dependencies)c(p);for(let p of u){let f=r.bindings.get(p),m,y;f?(m=f.object.name,y=f.property.name):(m=p,y=p),s=`${m}@${s}`,a.push(y)}if(!e.binding_groups.has(s)){let p=e.binding_groups.size,f=new Set,m=n.parent;for(;m;){if(m.type==="EachBlock")for(let w of m.expression.dynamic_dependencies())f.add(w);m=m.parent}let y=new Map;a.forEach(w=>{e.add_to_context(w,!0)}),e.binding_groups.set(s,{binding_group:()=>{let w=v`$$binding_groups[${p}]`;return a.length>0&&a.forEach(b=>{w=v`${w}[${b}]`}),w},contexts:a,list_dependencies:f,keypath:s,add_element(w,b){y.has(w)||y.set(w,[]),y.get(w).push(b)},render(w){let b=w.get_unique_name("binding_group"),$=w.renderer.reference("$$binding_groups");if(w.add_variable(b),a.length>0){let C={type:"ArrayExpression",elements:a.map(R=>w.renderer.reference(R))};w.chunks.init.push(_`${b} = @init_binding_group_dynamic(${$}[${p}], ${C})`),w.chunks.update.push(_`if (${w.renderer.dirty(Array.from(f))}) ${b}.u(${C})`)}else w.chunks.init.push(_`${b} = @init_binding_group(${$}[${p}])`);w.chunks.hydrate.push(_`${b}.p(${y.get(w)})`),w.chunks.destroy.push(_`${b}.r()`)}})}let d=e.binding_groups.get(s);return r.binding_groups.add(d),d}function Az(e,t,r,n,i){let s=new Set(e.node.expression.contextual_dependencies),a=r.bindings.get(n),u;if(a){let{object:d,property:p,store:f,snippet:m}=a;i=Os(i,m),s.add(d.name),s.add(p.name),s.delete(n),f&&(u=_`${f}.set(${`$${f}`});`)}else{let d=rt(i);if(d.name[0]==="$"){let p=d.name.slice(1);u=_`${p}.set(${d.name});`}}let o=qz(t,e.parent,e,s),c=_`
|
|
${i} = ${o};
|
|
${u}
|
|
`;return{uses_context:e.node.is_contextual||e.node.expression.uses_context,mutation:c,contextual_dependencies:s,lhs:i}}function qz(e,t,r,n){let{node:i}=t,{name:s}=r.node;if(s==="this")return v`$$value`;if(pi.test(s))return v`@ResizeObserverSingleton.entries.get(this)?.${s}`;if(i.name==="select")return i.get_static_attribute_value("multiple")===!0?v`@select_multiple_value(this)`:v`@select_value(this)`;let a=i.get_static_attribute_value("type");if(s==="group"){if(a==="checkbox"){let{binding_group:u,contexts:o}=r.binding_group;return Je(n,o),v`@get_binding_group_value(${u()}, this.__value, this.checked)`}return v`this.__value`}return a==="range"||a==="number"?v`@to_number(this.${s})`:s==="buffered"||s==="seekable"||s==="played"?v`@time_ranges_to_array(this.${s})`:v`this.${s}`}l();l();function Rh(e,t){if(e===t)return!0;if(!e||!t||e.type!==t.type)return!1;switch(e.type){case"Identifier":return e.name===t.name;case"MemberExpression":return Rh(e.object,t.object)&&Rh(e.property,t.property)&&e.computed===t.computed;case"Literal":return e.value===t.value}}function Ea(e,t,r,n){let i=e.get_unique_name(`${n.name}_binding`);t.renderer.add_to_context(i.name);let s=t.renderer.reference(i.name),{contextual_dependencies:a,mutation:u}=r.handler,o=r.get_update_dependencies(),c=_`
|
|
${u}
|
|
${Array.from(o).filter(d=>d[0]!=="$").filter(d=>!a.has(d)).map(d=>_`${t.renderer.invalidate(d)};`)}
|
|
`;if(a.size){let d=Array.from(a).map(b=>({type:"Identifier",name:b}));e.partly_hoisted.push(_`
|
|
function ${i}($$value, ${d}) {
|
|
@binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
${c}
|
|
});
|
|
}
|
|
`);let p=new Map,f=[];for(let b of d){let $=t.renderer.reference(b.name),C=!1;if(t.variables.has(b.name)){let R=b.name;for(let E=1;t.variables.has(R)&&!Rh(t.variables.get(R).init,$);R=`${b.name}_${E++}`);p.set(R,b.name),b={type:"Identifier",name:R},C=t.variables.has(R)}f.push(b),C||t.add_variable(b,$)}let m=t.get_unique_name(`assign_${n.name}`),y=t.get_unique_name(`unassign_${n.name}`);t.chunks.init.push(_`
|
|
const ${m} = () => ${s}(${n}, ${f});
|
|
const ${y} = () => ${s}(null, ${f});
|
|
`);let w=Array.from(f).map(b=>v`${b} !== ${t.renderer.reference(p.get(b.name)||b.name)}`).reduce((b,$)=>v`${b} || ${$}`);return t.chunks.update.push(_`
|
|
if (${w}) {
|
|
${y}();
|
|
${f.map(b=>_`${b} = ${t.renderer.reference(p.get(b.name)||b.name)}`)};
|
|
${m}();
|
|
}`),t.chunks.destroy.push(_`${y}();`),_`${m}();`}return e.partly_hoisted.push(_`
|
|
function ${i}($$value) {
|
|
@binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
${c}
|
|
});
|
|
}
|
|
`),t.chunks.destroy.push(_`${s}(null);`),_`${s}(${n});`}l();l();var Kn=class extends ke{constructor(t,r,n,i){super(t,r,n,i),r.add_dependencies(i.expression.dependencies)}rename_this_method(t,r){let n=this.node.expression.dynamic_dependencies(),i=this.node.expression.manipulate(t),s=this.node.should_cache&&t.get_unique_name(`${this.var.name}_value`),a=this.node.should_cache?s:i;if(i=v`${i} + ""`,this.node.should_cache&&t.add_variable(s,i),n.length>0){let u=t.renderer.dirty(n);t.has_outros&&(u=v`!#current || ${u}`);let o=v`${s} !== (${s} = ${i})`;this.node.should_cache&&(u=v`${u} && ${o}`),t.chunks.update.push(_`if (${u}) ${r(a)}`)}return{init:a}}};var Qn=class extends Kn{constructor(r,n,i,s){super(r,n,i,s);g(this,"var",{type:"Identifier",name:"t"})}render(r,n,i,s){let a=this.parent instanceof xn&&this.parent.attributes.filter(d=>d.node.name==="contenteditable"),u=this.parent instanceof xn&&this.parent.attributes.filter(d=>d.node.is_spread),o;if(a.length>0){let d=a[0];[!0,"true",""].includes(d.node.get_static_value())?o=!0:o=v`${d.get_value(r)}`}else u.length>0&&s.element_data_name&&(o=v`${s.element_data_name}['contenteditable']`);let{init:c}=this.rename_this_method(r,d=>o?o===!0?v`@set_data_contenteditable(${this.var}, ${d})`:v`@set_data_maybe_contenteditable(${this.var}, ${d}, ${o})`:v`@set_data(${this.var}, ${d})`);r.add_element(this.var,v`@text(${c})`,i&&v`@claim_text(${i}, ${c})`,n)}};l();var Xn=class extends Kn{constructor(r,n,i,s){super(r,n,i,s);g(this,"var",{type:"Identifier",name:"raw"})}render(r,n,i){let s=Lr(n);if(!s&&n&&!this.prev&&!this.next&&!this.renderer.options.hydratable){let u=c=>_`${n}.innerHTML = ${c};`[0],{init:o}=this.rename_this_method(r,c=>u(c));r.chunks.mount.push(u(o))}else{let u=s||(this.next?!this.next.is_dom_node():!this.parent||!this.parent.is_dom_node()),o=r.get_unique_name("html_tag"),c=u&&r.get_unique_name("html_anchor");r.add_variable(o);let{init:d}=this.rename_this_method(r,y=>v`${o}.p(${y})`),p=u?c:this.next?this.next.var:"null",f=this.node.find_nearest(/^Element/),m=f&&f.namespace===Ve.svg;r.chunks.create.push(_`${o} = new @HtmlTag(${m?"true":"false"});`),this.renderer.options.hydratable&&r.chunks.claim.push(_`${o} = @claim_html_tag(${i}, ${m?"true":"false"});`),r.chunks.hydrate.push(_`${o}.a = ${p};`),r.chunks.mount.push(_`${o}.m(${d}, ${n||"#target"}, ${n?null:"#anchor"});`),u&&r.add_element(c,v`@empty()`,v`@empty()`,n),(!n||s)&&r.chunks.destroy.push(_`if (detaching) ${o}.d();`)}}};l();var Zn=class extends ke{constructor(t,r,n,i){super(t,r,n,i),this.var=v`c`}render(t,r,n){if(!this.renderer.options.preserveComments)return;let i={type:"Literal",value:this.node.data,loc:{start:this.renderer.locate(this.node.start),end:this.renderer.locate(this.node.end)}};t.add_element(this.var,v`@comment(${i})`,n&&v`@claim_comment(${n}, ${i})`,r)}text(){return this.renderer.options.preserveComments?`<!--${this.node.data}-->`:""}};var Tz=/radio|checkbox|file/,Lz=/radio|checkbox|range|file/,Mz=[{event_names:["input"],filter:(e,t)=>e.name==="textarea"||e.name==="input"&&!Lz.test(e.get_static_attribute_value("type"))},{event_names:["input"],filter:(e,t)=>On(t)&&Ks(e)},{event_names:["change"],filter:(e,t)=>e.name==="select"||e.name==="input"&&Tz.test(e.get_static_attribute_value("type"))},{event_names:["change","input"],filter:(e,t)=>e.name==="input"&&e.get_static_attribute_value("type")==="range"},{event_names:["elementresize"],filter:(e,t)=>di.test(t)},{event_names:["elementresizecontentbox"],filter:(e,t)=>Ly.test(t)??My.test(t)},{event_names:["elementresizeborderbox"],filter:(e,t)=>Iy.test(t)},{event_names:["elementresizedevicepixelcontentbox"],filter:(e,t)=>Oy.test(t)},{event_names:["timeupdate"],filter:(e,t)=>e.is_media_node()&&(t==="currentTime"||t==="played"||t==="ended")},{event_names:["durationchange"],filter:(e,t)=>e.is_media_node()&&t==="duration"},{event_names:["play","pause"],filter:(e,t)=>e.is_media_node()&&t==="paused"},{event_names:["progress"],filter:(e,t)=>e.is_media_node()&&t==="buffered"},{event_names:["loadedmetadata"],filter:(e,t)=>e.is_media_node()&&(t==="buffered"||t==="seekable")},{event_names:["volumechange"],filter:(e,t)=>e.is_media_node()&&(t==="volume"||t==="muted")},{event_names:["ratechange"],filter:(e,t)=>e.is_media_node()&&t==="playbackRate"},{event_names:["seeking","seeked"],filter:(e,t)=>e.is_media_node()&&t==="seeking"},{event_names:["ended"],filter:(e,t)=>e.is_media_node()&&t==="ended"},{event_names:["resize"],filter:(e,t)=>e.is_media_node()&&(t==="videoHeight"||t==="videoWidth")},{event_names:["loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","emptied"],filter:(e,t)=>e.is_media_node()&&t==="readyState"},{event_names:["toggle"],filter:(e,t)=>e.name==="details"},{event_names:["load"],filter:(e,t)=>t==="naturalHeight"||t==="naturalWidth"}],dv="child_dynamic_element",Iz=/[^a-zA-Z0-9_$]/g,Oz=/-/g,xn=class e extends ke{constructor(r,n,i,s,a,u){super(r,n,i,s);g(this,"fragment");g(this,"attributes");g(this,"bindings");g(this,"event_handlers");g(this,"class_dependencies");g(this,"dynamic_style_dependencies");g(this,"has_dynamic_attribute");g(this,"select_binding_dependencies");g(this,"has_dynamic_value");g(this,"dynamic_value_condition");g(this,"var");g(this,"void");g(this,"child_dynamic_element_block",null);g(this,"child_dynamic_element",null);g(this,"element_data_name",null);if(this.var={type:"Identifier",name:s.name.replace(Iz,"_")},this.void=Ur(s.name),this.class_dependencies=[],s.is_dynamic_element&&n.type!==dv){this.child_dynamic_element_block=n.child({comment:St(s,r.component),name:r.component.get_unique_name("create_dynamic_element"),type:dv}),r.blocks.push(this.child_dynamic_element_block),this.child_dynamic_element=new e(r,this.child_dynamic_element_block,i,s,a,u),s.intro&&n.add_intro(s.intro.is_local),s.outro&&n.add_outro(s.outro.is_local);return}this.dynamic_style_dependencies=new Set,this.node.children.length&&this.node.lets.forEach(o=>{Ye(o.value||o.name).forEach(c=>{r.add_to_context(c,!0)})}),this.attributes=this.node.attributes.map(o=>o.name==="style"?new Ca(this,n,o):o.type==="Spread"?new rn(this,n,o):new Yn(this,n,o)),this.has_dynamic_attribute=!!this.attributes.find(o=>o.node.get_dependencies().length>0),this.bindings=this.node.bindings.map(o=>new nn(n,o,this)),this.event_handlers=this.node.handlers.map(o=>new Ot(o,this)),s.intro&&n.add_intro(s.intro.is_local),s.outro&&n.add_outro(s.outro.is_local),s.animation&&n.add_animation(),n.add_dependencies(s.tag_expr.dependencies),[s.animation,s.outro,...s.actions,...s.classes,...s.styles].forEach(o=>{o&&o.expression&&n.add_dependencies(o.expression.dependencies)}),s.handlers.forEach(o=>{o.expression&&n.add_dependencies(o.expression.dependencies)}),this.fragment=new nt(r,n,s.children,this,a,u),this.element_data_name=n.get_unique_name(`${this.var.name}_data`)}render(r,n,i){this.child_dynamic_element?this.render_dynamic_element(r,n,i):this.render_element(r,n,i)}render_dynamic_element(r,n,i){this.child_dynamic_element.render(this.child_dynamic_element_block,null,v`#nodes`);let s=this.node.tag_expr.dynamic_dependencies().length>0,a=this.node.tag_expr.manipulate(r);if(r.chunks.init.push(_`
|
|
${this.renderer.options.dev&&_`@validate_dynamic_element(${a});`}
|
|
${this.renderer.options.dev&&this.node.children.length>0&&_`@validate_void_dynamic_element(${a});`}
|
|
let ${this.var} = ${a} && ${this.child_dynamic_element_block.name}(#ctx);
|
|
`),r.chunks.create.push(_`
|
|
if (${this.var}) ${this.var}.c();
|
|
`),this.renderer.options.hydratable&&r.chunks.claim.push(_`
|
|
if (${this.var}) ${this.var}.l(${i});
|
|
`),r.chunks.mount.push(_`
|
|
if (${this.var}) ${this.var}.m(${n||"#target"}, ${n?"null":"#anchor"});
|
|
`),s){let u=r.get_unique_name("previous_tag");r.add_variable(u,a);let o=this.get_or_create_anchor(r,n,i),c=!!(this.node.intro||this.node.outro),d=this.renderer.component.component_options.immutable?v`@not_equal`:v`@safe_not_equal`,p=r.get_unique_name("tag_will_be_removed");c&&r.add_variable(p,v`false`),r.chunks.update.push(_`
|
|
if (${a}) {
|
|
if (!${u}) {
|
|
${this.var} = ${this.child_dynamic_element_block.name}(#ctx);
|
|
${u} = ${a};
|
|
${this.var}.c();
|
|
${c&&_`@transition_in(${this.var})`}
|
|
${this.var}.m(${this.get_update_mount_node(o)}, ${o});
|
|
} else if (${d}(${u}, ${a})) {
|
|
${this.var}.d(1);
|
|
${this.renderer.options.dev&&_`@validate_dynamic_element(${a});`}
|
|
${this.renderer.options.dev&&this.node.children.length>0&&_`@validate_void_dynamic_element(${a});`}
|
|
${this.var} = ${this.child_dynamic_element_block.name}(#ctx);
|
|
${u} = ${a};
|
|
${this.var}.c();
|
|
${c&&_`if (${p}) {
|
|
${p} = false;
|
|
@transition_in(${this.var})
|
|
}`}
|
|
${this.var}.m(${this.get_update_mount_node(o)}, ${o});
|
|
} else {
|
|
${c&&_`if (${p}) {
|
|
${p} = false;
|
|
@transition_in(${this.var})
|
|
}`}
|
|
${this.var}.p(#ctx, #dirty);
|
|
}
|
|
} else if (${u}) {
|
|
${c?_`
|
|
${p} = true;
|
|
@group_outros();
|
|
@transition_out(${this.var}, 1, 1, () => {
|
|
${this.var} = null;
|
|
${u} = ${a};
|
|
${p} = false;
|
|
});
|
|
@check_outros();
|
|
`:_`
|
|
${this.var}.d(1);
|
|
${this.var} = null;
|
|
${u} = ${a};
|
|
`}
|
|
}
|
|
`)}else r.chunks.update.push(_`
|
|
if (${a}) {
|
|
${this.var}.p(#ctx, #dirty);
|
|
}
|
|
`);if(this.child_dynamic_element_block.has_intros&&r.chunks.intro.push(_`@transition_in(${this.var}, #local);`),this.child_dynamic_element_block.has_outros&&r.chunks.outro.push(_`@transition_out(${this.var}, #local);`),r.chunks.destroy.push(_`if (${this.var}) ${this.var}.d(detaching)`),this.node.animation){let u=r.get_unique_name("measurements");r.add_variable(u),r.chunks.measure.push(_`${u} = ${this.var}.r()`),r.chunks.fix.push(_`${this.var}.f();`),r.chunks.animate.push(_`
|
|
${this.var}.s(${u});
|
|
${this.var}.a()
|
|
`)}}is_dom_node(){return super.is_dom_node()&&!this.child_dynamic_element}render_element(r,n,i){let{renderer:s}=this,a=s.options.hydratable;if(this.node.name==="noscript")return;let u=this.var,o=i&&r.get_unique_name(`${this.var.name}_nodes`),c=v`@children(${this.node.name==="template"?v`${u}.content`:u})`;r.add_variable(u);let d=this.get_render_statement(r);r.chunks.create.push(_`${u} = ${d};`);let{can_use_textcontent:p,can_optimise_to_html_string:f,can_optimise_hydration:m}=this.node;if(a&&(i?(r.chunks.claim.push(_`
|
|
${u} = ${this.get_claim_statement(r,i,m)};
|
|
`),!m&&!this.void&&this.node.children.length>0&&r.chunks.claim.push(_`
|
|
var ${o} = ${c};
|
|
`)):r.chunks.claim.push(_`${u} = ${d};`)),n){let w=_`@append(${n}, ${u});`;w[0].expression.callee.loc={start:this.renderer.locate(this.node.start),end:this.renderer.locate(this.node.end)},r.chunks.mount.push(w),Lr(n)&&r.chunks.destroy.push(_`@detach(${u});`)}else{let w=_`@insert(#target, ${u}, #anchor);`;w[0].expression.callee.loc={start:this.renderer.locate(this.node.start),end:this.renderer.locate(this.node.end)},r.chunks.mount.push(w),r.chunks.destroy.push(_`if (detaching) @detach(${u});`)}if(f&&(!a||m))if(this.fragment.nodes.length===1&&this.fragment.nodes[0].node.type==="Text"){let w=Qe(this.fragment.nodes[0].data);if(a){let b=r.get_unique_name("textContent");r.add_variable(b,w),w=b}r.chunks.create.push(_`${u}.textContent = ${w};`),a&&r.chunks.claim.push(_`if (@get_svelte_dataset(${u}) !== "${this.node.hash()}") ${u}.textContent = ${w};`)}else{let w={quasi:{type:"TemplateElement",value:{raw:""}}},b={type:"TemplateLiteral",expressions:[],quasis:[]},$=!this.node.can_use_innerhtml&&p;if(sE(this.fragment.nodes,r,b,w,$),b.quasis.push(w.quasi),a){let R=r.get_unique_name("textContent");r.add_variable(R,b),b=R}let C=this.node.can_use_innerhtml?"innerHTML":"textContent";r.chunks.create.push(_`${u}.${C} = ${b};`),a&&r.chunks.claim.push(_`if (@get_svelte_dataset(${u}) !== "${this.node.hash()}") ${u}.${C} = ${b};`)}else this.fragment.nodes.forEach(w=>{w.render(r,this.node.name==="template"?v`${u}.content`:u,o,{element_data_name:this.element_data_name})});if((this.bindings.some(w=>w.handler.uses_context)||this.node.handlers.some(w=>w.uses_context)||this.node.actions.some(w=>w.uses_context))&&(r.maintain_context=!0),this.node.is_dynamic_element?this.add_dynamic_element_attributes(r):this.add_attributes(r),this.add_directives_in_order(r),this.add_transitions(r),this.add_animation(r),this.add_classes(r),this.add_styles(r),this.add_manual_style_scoping(r),o&&a&&!this.void&&!m&&r.chunks.claim.push(_`${this.node.children.length>0?o:c}.forEach(@detach);`),s.options.dev){let w=s.meta_locate(this.node.start);r.chunks.hydrate.push(_`@add_location(${this.var}, ${s.file_var}, ${w.line-1}, ${w.column}, ${this.node.start});`)}r.renderer.dirty(this.node.tag_expr.dynamic_dependencies())}get_render_statement(r){let{name:n,namespace:i,tag_expr:s}=this.node,a=s.manipulate(r);if(i===Ve.svg)return v`@svg_element(${a})`;if(i)return v`@_document.createElementNS("${i}", "${n}")`;let u=this.attributes.find(o=>o.node.name==="is");return u?v`@element_is("${n}", ${u.render_chunks(r).reduce((o,c)=>v`${o} + ${c}`)})`:v`@element(${a})`}get_claim_statement(r,n,i){let s=this.attributes.filter(u=>!(u instanceof rn)&&!u.property_name).map(u=>qe`${u.name}: true`),a;return this.node.tag_expr.node.type==="Literal"?this.node.namespace?a=`"${this.node.tag_expr.node.value}"`:a=`"${(this.node.tag_expr.node.value||"").toUpperCase()}"`:this.node.namespace?a=v`${this.node.tag_expr.manipulate(r)}`:a=v`(${this.node.tag_expr.manipulate(r)} || 'null').toUpperCase()`,i&&s.push(qe`["data-svelte-h"]: true`),this.node.namespace===Ve.svg?v`@claim_svg_element(${n}, ${a}, { ${s} })`:v`@claim_element(${n}, ${a}, { ${s} })`}add_directives_in_order(r){let n=Mz.map(a=>({events:a.event_names,bindings:this.bindings.filter(u=>u.node.name!=="this").filter(u=>a.filter(this.node,u.node.name))})).filter(a=>a.bindings.length),i=this.bindings.find(a=>a.node.name==="this");function s(a){return a instanceof Ot||a instanceof nn?a.node.start:a instanceof Ut?a.start:a.bindings[0].node.start}[...n,...this.event_handlers,i,...this.node.actions].filter(Boolean).sort((a,u)=>s(a)-s(u)).forEach(a=>{a instanceof Ot?ov(r,this.var,a):a instanceof nn?this.add_this_binding(r,a):a instanceof Ut?lv(r,this.var,a):this.add_bindings(r,a)})}add_bindings(r,n){let{renderer:i}=this;if(n.bindings.length===0)return;i.component.has_reactive_assignments=!0;let s=n.bindings.some(b=>b.needs_lock)?r.get_unique_name(`${this.var.name}_updating`):null;s&&r.add_variable(s,v`false`);let a=i.component.get_unique_name(`${this.var.name}_${n.events.join("_")}_handler`);i.add_to_context(a.name);let u=n.bindings.some(b=>b.needs_lock),o=new Set,c=new Set;n.bindings.forEach(b=>{Je(o,b.get_update_dependencies()),Je(c,b.handler.contextual_dependencies),b.render(r,s)});let d;n.events[0]==="timeupdate"&&(d=r.get_unique_name(`${this.var.name}_animationframe`),r.add_variable(d));let p=c.size>0||u||d,f=i.reference(a);if(p){let b=Array.from(c).map($=>i.reference($));d?r.chunks.init.push(_`
|
|
function ${a}() {
|
|
@_cancelAnimationFrame(${d});
|
|
if (!${this.var}.paused) {
|
|
${d} = @raf(${a});
|
|
${u&&_`${s} = true;`}
|
|
}
|
|
${f}.call(${this.var}, ${b});
|
|
}
|
|
`):r.chunks.init.push(_`
|
|
function ${a}() {
|
|
${u&&_`${s} = true;`}
|
|
${f}.call(${this.var}, ${b});
|
|
}
|
|
`),f=a}let m=Array.from(c).map(b=>({type:"Identifier",name:b}));this.renderer.component.partly_hoisted.push(_`
|
|
function ${a}(${m}) {
|
|
${n.bindings.map(b=>b.handler.mutation)}
|
|
${Array.from(o).filter(b=>b[0]!=="$").filter(b=>!c.has(b)).map(b=>_`${this.renderer.invalidate(b)};`)}
|
|
}
|
|
`),n.events.forEach(b=>{if(["elementresize","elementresizecontentbox","elementresizeborderbox","elementresizedevicepixelcontentbox"].indexOf(b)!==-1){let $=r.get_unique_name(`${this.var.name}_resize_listener`);switch(r.add_variable($),b){case"elementresize":r.chunks.mount.push(_`${$} = @add_iframe_resize_listener(${this.var}, ${f}.bind(${this.var}));`);break;case"elementresizecontentbox":r.chunks.mount.push(_`${$} = @resize_observer_content_box.observe(${this.var}, ${f}.bind(${this.var}));`);break;case"elementresizeborderbox":r.chunks.mount.push(_`${$} = @resize_observer_border_box.observe(${this.var}, ${f}.bind(${this.var}));`);break;case"elementresizedevicepixelcontentbox":r.chunks.mount.push(_`${$} = @resize_observer_device_pixel_content_box.observe(${this.var}, ${f}.bind(${this.var}));`);break}r.chunks.destroy.push(_`${$}();`)}else r.event_listeners.push(v`@listen(${this.var}, "${b}", ${f})`)});let y=n.bindings.map(b=>v`${b.snippet} === void 0`).reduce((b,$)=>v`${b} || ${$}`);if(this.node.name==="select"||n.bindings.find(b=>b.node.name==="indeterminate"||On(b.node.name)||b.is_readonly_media_attribute())){let b=p?a:v`() => ${f}.call(${this.var})`;r.chunks.hydrate.push(_`if (${y}) @add_render_callback(${b});`)}n.events[0]==="elementresize"&&r.chunks.hydrate.push(_`@add_render_callback(() => ${f}.call(${this.var}));`),s&&r.chunks.update.push(_`${s} = false;`)}add_this_binding(r,n){let{renderer:i}=this;i.component.has_reactive_assignments=!0;let s=Ea(i.component,r,n,this.var);r.chunks.mount.push(s)}add_attributes(r){if(this.attributes.forEach(n=>{if(n.node.name==="class"){let i=n.node.get_dependencies();hr(this.class_dependencies,i)}else n.node.name==="style"&&Je(this.dynamic_style_dependencies,n.node.get_dependencies())}),this.node.attributes.some(n=>n.is_spread)){this.add_spread_attributes(r);return}this.attributes.forEach(n=>{n.render(r)})}add_spread_attributes(r){let n=r.get_unique_name(`${this.var.name}_levels`),i=[],s=[];this.attributes.forEach(u=>{let o=u.node.get_dependencies(),c=o.length>0?r.renderer.dirty(o):null;if(u instanceof rn){let d=u.node.expression.manipulate(r);i.push(d),s.push(c?v`${c} && ${d}`:d)}else{let d=u.property_name||u.name;i.push(v`{ ${d}: ${u.get_init(r,u.get_value(r))} }`);let p=v`{ ${d}: ${u.should_cache?u.last:u.get_value(r)} }`;s.push(c?v`${u.get_dom_update_conditions(r,c)} && ${p}`:p)}}),r.chunks.init.push(_`
|
|
let ${n} = [${i}];
|
|
|
|
let ${this.element_data_name} = {};
|
|
for (let #i = 0; #i < ${n}.length; #i += 1) {
|
|
${this.element_data_name} = @assign(${this.element_data_name}, ${n}[#i]);
|
|
}
|
|
`);let a=this.node.namespace===Ve.svg?v`@set_svg_attributes`:this.node.is_dynamic_element?v`@set_dynamic_element_data(${this.node.tag_expr.manipulate(r)})`:v`@set_attributes`;if(r.chunks.hydrate.push(_`${a}(${this.var}, ${this.element_data_name});`),this.has_dynamic_attribute&&r.chunks.update.push(_`
|
|
${a}(${this.var}, ${this.element_data_name} = @get_spread_update(${n}, [
|
|
${s}
|
|
]));
|
|
`),this.node.name==="select"){let u=new Set;for(let o of this.attributes)for(let c of o.node.dependencies)u.add(c);r.chunks.mount.push(_`
|
|
'value' in ${this.element_data_name} && (${this.element_data_name}.multiple ? @select_options : @select_option)(${this.var}, ${this.element_data_name}.value);
|
|
`),r.chunks.update.push(_`
|
|
if (${r.renderer.dirty(Array.from(u))} && 'value' in ${this.element_data_name}) (${this.element_data_name}.multiple ? @select_options : @select_option)(${this.var}, ${this.element_data_name}.value);
|
|
`)}else if(this.node.name==="input"&&this.attributes.find(u=>u.node.name==="value")){let u=this.node.get_static_attribute_value("type");(u===null||u===""||u==="text"||u==="email"||u==="password")&&(r.chunks.mount.push(_`
|
|
if ('value' in ${this.element_data_name}) {
|
|
${this.var}.value = ${this.element_data_name}.value;
|
|
}
|
|
`),r.chunks.update.push(_`
|
|
if ('value' in ${this.element_data_name}) {
|
|
${this.var}.value = ${this.element_data_name}.value;
|
|
}
|
|
`))}["button","input","keygen","select","textarea"].includes(this.node.name)&&r.chunks.mount.push(_`
|
|
if (${this.var}.autofocus) ${this.var}.focus();
|
|
`)}add_dynamic_element_attributes(r){if(this.attributes.length===0)return;if(this.has_dynamic_attribute){this.add_spread_attributes(r);return}let n=[];this.attributes.forEach(s=>{if(s instanceof rn){let a={type:"SpreadElement",argument:s.node.expression.manipulate(r)};n.push(a)}else{let a=s.property_name||s.name;n.push(qe`${a}: ${s.get_value(r)}`)}});let i=this.node.namespace===Ve.svg?v`@set_svg_attributes`:this.node.is_dynamic_element?v`@set_dynamic_element_data(${this.node.tag_expr.manipulate(r)})`:v`@set_attributes`;r.chunks.hydrate.push(_`${i}(${this.var}, {${n}});`)}add_transitions(r){let{intro:n,outro:i}=this.node;if(!(!n&&!i)){if(n===i){let s=r.get_unique_name(`${this.var.name}_transition`),a=n.expression?n.expression.manipulate(r):v`{}`;r.add_variable(s);let u=this.renderer.reference(n.name),o=_`
|
|
@add_render_callback(() => {
|
|
if (!#current) return;
|
|
if (!${s}) ${s} = @create_bidirectional_transition(${this.var}, ${u}, ${a}, true);
|
|
${s}.run(1);
|
|
});
|
|
`,c=_`
|
|
if (!${s}) ${s} = @create_bidirectional_transition(${this.var}, ${u}, ${a}, false);
|
|
${s}.run(0);
|
|
`;n.is_local?(r.chunks.intro.push(_`
|
|
if (#local) {
|
|
${o}
|
|
}
|
|
`),r.chunks.outro.push(_`
|
|
if (#local) {
|
|
${c}
|
|
}
|
|
`)):(r.chunks.intro.push(o),r.chunks.outro.push(c)),r.chunks.destroy.push(_`if (detaching && ${s}) ${s}.end();`)}else{let s=n&&r.get_unique_name(`${this.var.name}_intro`),a=i&&r.get_unique_name(`${this.var.name}_outro`);if(n){r.add_variable(s);let u=n.expression?n.expression.manipulate(r):v`{}`,o=this.renderer.reference(n.name),c;i?(c=_`
|
|
@add_render_callback(() => {
|
|
if (!#current) return;
|
|
if (${a}) ${a}.end(1);
|
|
${s} = @create_in_transition(${this.var}, ${o}, ${u});
|
|
${s}.start();
|
|
});
|
|
`,r.chunks.outro.push(_`if (${s}) ${s}.invalidate();`)):c=_`
|
|
if (!${s}) {
|
|
@add_render_callback(() => {
|
|
${s} = @create_in_transition(${this.var}, ${o}, ${u});
|
|
${s}.start();
|
|
});
|
|
}
|
|
`,n.is_local&&(c=_`
|
|
if (#local) {
|
|
${c}
|
|
}
|
|
`),r.chunks.intro.push(c)}if(i){r.add_variable(a);let u=i.expression?i.expression.manipulate(r):v`{}`,o=this.renderer.reference(i.name);n||r.chunks.intro.push(_`
|
|
if (${a}) ${a}.end(1);
|
|
`);let c=_`
|
|
${a} = @create_out_transition(${this.var}, ${o}, ${u});
|
|
`;i.is_local&&(c=_`
|
|
if (#local) {
|
|
${c}
|
|
}
|
|
`),r.chunks.outro.push(c),r.chunks.destroy.push(_`if (detaching && ${a}) ${a}.end();`)}}(n&&n.expression&&n.expression.dependencies.size||i&&i.expression&&i.expression.dependencies.size)&&(r.maintain_context=!0)}}add_animation(r){if(!this.node.animation)return;let{outro:n}=this.node,i=r.get_unique_name("rect"),s=r.get_unique_name("stop_animation");r.add_variable(i),r.add_variable(s,v`@noop`),r.chunks.measure.push(_`
|
|
${i} = ${this.var}.getBoundingClientRect();
|
|
`),r.type===dv&&(r.chunks.measure.push(_`return ${i}`),r.chunks.restore_measurements.push(_`${i} = #measurement;`)),r.chunks.fix.push(_`
|
|
@fix_position(${this.var});
|
|
${s}();
|
|
${n&&_`@add_transform(${this.var}, ${i});`}
|
|
`);let a;if(this.node.animation.expression){if(a=this.node.animation.expression.manipulate(r),this.node.animation.expression.dynamic_dependencies().length){let o=r.get_unique_name("params");r.add_variable(o),r.chunks.measure.push(_`${o} = ${a};`),a=o}}else a=v`{}`;let u=this.renderer.reference(this.node.animation.name);r.chunks.animate.push(_`
|
|
${s}();
|
|
${s} = @create_animation(${this.var}, ${i}, ${u}, ${a});
|
|
`)}add_classes(r){let n=this.node.attributes.some(i=>i.is_spread);this.node.classes.forEach(i=>{let{expression:s,name:a}=i,u,o;s?(u=s.manipulate(r),o=s.dependencies):(u=a,o=new Set([a]));let c=_`@toggle_class(${this.var}, "${a}", ${u});`;if(r.chunks.hydrate.push(c),(this.node.is_dynamic_element||n)&&this.has_dynamic_attribute)r.chunks.update.push(c);else if(o&&o.size>0||this.class_dependencies.length){let d=this.class_dependencies.concat(...o),p=r.renderer.dirty(d);r.has_outros&&(p=v`!#current || ${p}`),d.some(m=>{let y=this.renderer.component.var_lookup.get(m);return!y||Mr(y)})&&r.chunks.update.push(_`
|
|
if (${p}) {
|
|
${c}
|
|
}
|
|
`)}})}add_styles(r){let n=this.node.attributes.some(a=>a.is_spread),i,s=()=>{if(!i&&this.dynamic_style_dependencies.size){i=r.get_unique_name("style_changed");let a=r.renderer.dirty([...this.dynamic_style_dependencies]);r.chunks.update.push(_`const ${i} = ${a};`)}};this.node.styles.forEach(a=>{let{name:u,expression:o,important:c,should_cache:d}=a,p=o.manipulate(r),f;d&&(f=r.get_unique_name(`style_${u.replace(Oz,"_")}`),r.add_variable(f,p));let m=_`@set_style(${this.var}, "${u}", ${d?f:p}, ${c?1:null})`;r.chunks.hydrate.push(m);let y=o.dynamic_dependencies(),w=new Set([...y,...this.dynamic_style_dependencies]),b=r.renderer.dirty([...w]);if(n)d&&w.size&&r.chunks.update.push(_`
|
|
if (${b}) {
|
|
${f} = ${p};
|
|
}`),r.chunks.update.push(m);else{if(w.size===0)return;d&&(b=v`${b} && ${f} !== (${f} = ${p})`),this.dynamic_style_dependencies.size>0&&(s(),b=v`${b} || ${i}`),r.chunks.update.push(_`
|
|
if (${b}) {
|
|
${m}
|
|
}
|
|
`)}})}add_manual_style_scoping(r){if(this.node.needs_manual_style_scoping){let n=_`@toggle_class(${this.var}, "${this.node.component.stylesheet.id}", true);`;r.chunks.hydrate.push(n),r.chunks.update.push(n)}}},Nz=/`/g,Dz=/\$/g;function sE(e,t,r,n,i){e.forEach(s=>{if(s instanceof Zn)n.quasi.value.raw+=s.text();else if(s instanceof yn){if(s.use_space()){n.quasi.value.raw+=" ";return}let a=s.node.parent,u=a&&(a.name==="script"||a.name==="style"||i);n.quasi.value.raw+=(u?s.data:Us(s.data)).replace(Ay,"\\\\").replace(Nz,"\\`").replace(Dz,"\\$")}else if(s instanceof Qn||s instanceof Xn)r.quasis.push(n.quasi),r.expressions.push(s.node.expression.manipulate(t)),n.quasi={type:"TemplateElement",value:{raw:""}};else if(s.node.name!=="noscript"){let a=s.node.name;n.quasi.value.raw+=`<${a}`;let u=a==="textarea"&&s.fragment.nodes.length===0;if(s.attributes.forEach(o=>{u&&o.node.name==="value"||(o instanceof rn?(r.quasis.push(n.quasi),r.expressions.push(v`@stringify_spread(${o.node.expression.manipulate(t)})`),n.quasi={type:"TemplateElement",value:{raw:""}}):(n.quasi.value.raw+=` ${bn(o.node.name)}="`,iE(o,t,r,n),n.quasi.value.raw+='"'))}),s.void)n.quasi.value.raw+="/>";else{if(n.quasi.value.raw+=">",a==="pre"){let o=s.fragment.nodes[0];o&&o.node.type==="Text"&&cn.test(o.node.data)&&(n.quasi.value.raw+=`
|
|
`)}if(u){let o=s.attributes.find(c=>c.node.name==="value");if(o){let c=o.node.chunks[0];c&&c.type==="Text"&&cn.test(c.data)&&(n.quasi.value.raw+=`
|
|
`),iE(o,t,r,n)}}sE(s.fragment.nodes,t,r,n),n.quasi.value.raw+=`</${a}>`}}})}function iE(e,t,r,n){e.node.chunks.forEach(i=>{i.type==="Text"?n.quasi.value.raw+=Us(i.data):(r.quasis.push(n.quasi),r.expressions.push(i.manipulate(t)),n.quasi={type:"TemplateElement",value:{raw:""}})})}l();var Ra=class extends ke{constructor(r,n,i,s,a,u){super(r,n,i,s);g(this,"fragment");this.fragment=new nt(r,n,s.children,this,a,u)}render(r,n,i){let s;this.renderer.options.hydratable&&this.fragment.nodes.length&&(s=r.get_unique_name("head_nodes"),r.chunks.claim.push(_`const ${s} = @head_selector('${this.node.id}', @_document.head);`)),this.fragment.render(r,v`@_document.head`,s),s&&this.renderer.options.hydratable&&r.chunks.claim.push(_`${s}.forEach(@detach);`)}};l();function Bz(e){return e&&e.children.length===1&&e.children[0].type==="IfBlock"}var Ph=class extends ke{constructor(r,n,i,s,a,u){super(r,n,i,s);g(this,"block");g(this,"fragment");g(this,"dependencies");g(this,"condition");g(this,"snippet");g(this,"is_dynamic");g(this,"var",null);g(this,"get_ctx_name");let{expression:o}=s,c=!o;if(o){this.dependencies=o.dynamic_dependencies();let d=!1;we(o.node,{enter(p){(p.type==="CallExpression"||p.type==="NewExpression")&&(d=!0)}}),d?(this.condition=n.get_unique_name("show_if"),this.snippet=o.manipulate(n)):this.condition=o.manipulate(n)}tn(r,this.node.const_tags),this.block=n.child({comment:St(s,i.renderer.component),name:i.renderer.component.get_unique_name(c?"create_else_block":"create_if_block"),type:s.expression?"if":"else"}),this.fragment=new nt(r,this.block,s.children,i,a,u),this.is_dynamic=this.block.dependencies.size>0,s.const_tags.length>0&&(this.get_ctx_name=i.renderer.component.get_unique_name(c?"get_else_ctx":"get_if_ctx"))}},Pa=class extends ke{constructor(r,n,i,s,a,u){super(r,n,i,s);g(this,"branches");g(this,"needs_update",!1);g(this,"var",{type:"Identifier",name:"if_block"});this.branches=[];let o=[],c=!1,d=!1,p=!1,f=m=>{let y=new Ph(r,n,this,m,a,u);if(this.branches.push(y),o.push(y.block),n.add_dependencies(m.expression.dependencies),y.block.dependencies.size>0&&(c=!0,n.add_dependencies(y.block.dependencies)),y.dependencies&&y.dependencies.length>0&&(this.needs_update=!0),y.block.has_intros&&(d=!0),y.block.has_outros&&(p=!0),Bz(m.else))f(m.else.children[0]);else if(m.else){let w=new Ph(r,n,this,m.else,a,u);this.branches.push(w),o.push(w.block),w.block.dependencies.size>0&&(c=!0,n.add_dependencies(w.block.dependencies)),w.block.has_intros&&(d=!0),w.block.has_outros&&(p=!0)}};f(this.node),o.forEach(m=>{m.has_update_method=c,m.has_intro_method=d,m.has_outro_method=p}),hr(r.blocks,o)}render(r,n,i){let s=this.var,a=this.next?!this.next.is_dom_node():!n||!this.parent.is_dom_node(),u=a?r.get_unique_name(`${this.var.name}_anchor`):this.next&&this.next.var||"null",o=!this.branches[this.branches.length-1].condition,c=o?null:s,d=this.branches[0].block.has_update_method,p=this.branches[0].block.has_intro_method,f=this.branches[0].block.has_outro_method,m=p||f;this.branches.forEach(b=>{b.get_ctx_name&&this.renderer.blocks.push(_`
|
|
function ${b.get_ctx_name}(#ctx) {
|
|
const child_ctx = #ctx.slice();
|
|
${en(r,b.node.const_tags,"child_ctx")}
|
|
return child_ctx;
|
|
}
|
|
`)});let y={name:s,anchor:u,if_exists_condition:c,has_else:o,has_transitions:m},w=n&&!Lr(n)?null:"detaching";this.node.else?(this.branches.forEach(b=>{b.snippet&&r.add_variable(b.condition)}),f?(this.render_compound_with_outros(r,n,i,d,y,w),r.chunks.outro.push(_`@transition_out(${s});`)):this.render_compound(r,n,i,d,y,w)):(this.render_simple(r,n,i,d,y,w),f&&r.chunks.outro.push(_`@transition_out(${s});`)),c?r.chunks.create.push(_`if (${c}) ${s}.c();`):r.chunks.create.push(_`${s}.c();`),i&&this.renderer.options.hydratable&&(c?r.chunks.claim.push(_`if (${c}) ${s}.l(${i});`):r.chunks.claim.push(_`${s}.l(${i});`)),(p||f)&&r.chunks.intro.push(_`@transition_in(${s});`),a&&r.add_element(u,v`@empty()`,i&&v`@empty()`,n),this.branches.forEach(b=>{b.fragment.render(b.block,null,v`#nodes`)})}render_compound(r,n,i,s,{name:a,anchor:u,has_else:o,if_exists_condition:c,has_transitions:d},p){let f=this.renderer.component.get_unique_name("select_block_type"),m=r.get_unique_name("current_block_type"),y=this.branches.some(E=>E.get_ctx_name),w=y?r.get_unique_name("select_block_ctx"):null,b=w?v`${w}(#ctx, ${m})`:v`#ctx`,$=o?v`${m}(${b})`:v`${m} && ${m}(${b})`;this.needs_update?r.chunks.init.push(_`
|
|
function ${f}(#ctx, #dirty) {
|
|
${this.branches.map(({dependencies:E,condition:H,snippet:Y})=>_`${Y&&E.length>0?_`if (${r.renderer.dirty(E)}) ${H} = null;`:null}`)}
|
|
${this.branches.map(({condition:E,snippet:H,block:Y})=>E?_`
|
|
${H&&_`if (${E} == null) ${E} = !!${H}`}
|
|
if (${E}) return ${Y.name};`:_`return ${Y.name};`)}
|
|
}
|
|
`):r.chunks.init.push(_`
|
|
function ${f}(#ctx, #dirty) {
|
|
${this.branches.map(({condition:E,snippet:H,block:Y})=>E?_`if (${H||E}) return ${Y.name};`:_`return ${Y.name};`)}
|
|
}
|
|
`),y&&(this.branches.every(E=>E.get_ctx_name)?r.chunks.init.push(_`
|
|
function ${w}(#ctx, #type) {
|
|
${this.branches.map(({condition:E,get_ctx_name:H,block:Y})=>E?_`if (#type === ${Y.name}) return ${H}(#ctx);`:_`return ${H}(#ctx);`).filter(Boolean)}
|
|
}
|
|
`):r.chunks.init.push(_`
|
|
function ${w}(#ctx, #type) {
|
|
${this.branches.map(({get_ctx_name:E,block:H})=>E?_`if (#type === ${H.name}) return ${E}(#ctx);`:null).filter(Boolean)}
|
|
return #ctx;
|
|
}
|
|
`)),r.chunks.init.push(_`
|
|
let ${m} = ${f}(#ctx, ${this.renderer.get_initial_dirty()});
|
|
let ${a} = ${$};
|
|
`);let C=n||"#target",R=n?"null":"#anchor";if(c?r.chunks.mount.push(_`if (${c}) ${a}.m(${C}, ${R});`):r.chunks.mount.push(_`${a}.m(${C}, ${R});`),this.needs_update){let E=this.get_update_mount_node(u),H=_`
|
|
${c?_`if (${c}) ${a}.d(1)`:_`${a}.d(1)`};
|
|
${a} = ${$};
|
|
if (${a}) {
|
|
${a}.c();
|
|
${d&&_`@transition_in(${a}, 1);`}
|
|
${a}.m(${E}, ${u});
|
|
}
|
|
`;s?r.chunks.update.push(_`
|
|
if (${m} === (${m} = ${f}(#ctx, #dirty)) && ${a}) {
|
|
${a}.p(${b}, #dirty);
|
|
} else {
|
|
${H}
|
|
}
|
|
`):r.chunks.update.push(_`
|
|
if (${m} !== (${m} = ${f}(#ctx, #dirty))) {
|
|
${H}
|
|
}
|
|
`)}else s&&(c?r.chunks.update.push(_`if (${c}) ${a}.p(${b}, #dirty);`):r.chunks.update.push(_`${a}.p(${b}, #dirty);`));c?r.chunks.destroy.push(_`
|
|
if (${c}) {
|
|
${a}.d(${p});
|
|
}
|
|
`):r.chunks.destroy.push(_`
|
|
${a}.d(${p});
|
|
`)}render_compound_with_outros(r,n,i,s,{name:a,anchor:u,has_else:o,has_transitions:c,if_exists_condition:d},p){let f=this.renderer.component.get_unique_name("select_block_type"),m=r.get_unique_name("current_block_type_index"),y=r.get_unique_name("previous_block_index"),w=r.get_unique_name("if_block_creators"),b=r.get_unique_name("if_blocks"),$=this.branches.some(P=>P.get_ctx_name),C=$?r.get_unique_name("select_block_ctx"):null,R=C?v`${C}(#ctx, ${m})`:v`#ctx`,E=o?P=>P:P=>_`if (~${m}) { ${P} }`;r.add_variable(m),r.add_variable(a),r.chunks.init.push(_`
|
|
const ${w} = [
|
|
${this.branches.map(P=>P.block.name)}
|
|
];
|
|
|
|
const ${b} = [];
|
|
|
|
${this.needs_update?_`
|
|
function ${f}(#ctx, #dirty) {
|
|
${this.branches.map(({dependencies:P,condition:j,snippet:I})=>_`${I&&P.length>0?_`if (${r.renderer.dirty(P)}) ${j} = null;`:null}`)}
|
|
${this.branches.map(({condition:P,snippet:j},I)=>P?_`
|
|
${j&&_`if (${P} == null) ${P} = !!${j}`}
|
|
if (${P}) return ${I};`:_`return ${I};`)}
|
|
${!o&&_`return -1;`}
|
|
}
|
|
`:_`
|
|
function ${f}(#ctx, #dirty) {
|
|
${this.branches.map(({condition:P,snippet:j},I)=>P?_`if (${j||P}) return ${I};`:_`return ${I};`)}
|
|
${!o&&_`return -1;`}
|
|
}
|
|
`}
|
|
`),$&&(this.branches.every(P=>P.get_ctx_name)?r.chunks.init.push(_`
|
|
function ${C}(#ctx, #index) {
|
|
${this.branches.map(({condition:P,get_ctx_name:j},I)=>P?_`if (#index === ${I}) return ${j}(#ctx);`:_`return ${j}(#ctx);`).filter(Boolean)}
|
|
}
|
|
`):r.chunks.init.push(_`
|
|
function ${C}(#ctx, #index) {
|
|
${this.branches.map(({get_ctx_name:P},j)=>P?_`if (#index === ${j}) return ${P}(#ctx);`:null).filter(Boolean)}
|
|
return #ctx;
|
|
}
|
|
`)),o?r.chunks.init.push(_`
|
|
${m} = ${f}(#ctx, ${this.renderer.get_initial_dirty()});
|
|
${a} = ${b}[${m}] = ${w}[${m}](${R});
|
|
`):r.chunks.init.push(_`
|
|
if (~(${m} = ${f}(#ctx, ${this.renderer.get_initial_dirty()}))) {
|
|
${a} = ${b}[${m}] = ${w}[${m}](${R});
|
|
}
|
|
`);let H=n||"#target",Y=n?"null":"#anchor";if(r.chunks.mount.push(E(_`${b}[${m}].m(${H}, ${Y});`)),this.needs_update){let P=this.get_update_mount_node(u),j=_`
|
|
@group_outros();
|
|
@transition_out(${b}[${y}], 1, 1, () => {
|
|
${b}[${y}] = null;
|
|
});
|
|
@check_outros();
|
|
`,I=_`
|
|
${a} = ${b}[${m}];
|
|
if (!${a}) {
|
|
${a} = ${b}[${m}] = ${w}[${m}](${R});
|
|
${a}.c();
|
|
} else {
|
|
${s&&_`${a}.p(${R}, #dirty);`}
|
|
}
|
|
${c&&_`@transition_in(${a}, 1);`}
|
|
${a}.m(${P}, ${u});
|
|
`,B=o?_`
|
|
${j}
|
|
|
|
${I}
|
|
`:_`
|
|
if (${a}) {
|
|
${j}
|
|
}
|
|
|
|
if (~${m}) {
|
|
${I}
|
|
} else {
|
|
${a} = null;
|
|
}
|
|
`;r.chunks.update.push(_`
|
|
let ${y} = ${m};
|
|
${m} = ${f}(#ctx, #dirty);
|
|
`),s?r.chunks.update.push(_`
|
|
if (${m} === ${y}) {
|
|
${E(_`${b}[${m}].p(${R}, #dirty);`)}
|
|
} else {
|
|
${B}
|
|
}
|
|
`):r.chunks.update.push(_`
|
|
if (${m} !== ${y}) {
|
|
${B}
|
|
}
|
|
`)}else s&&(d?r.chunks.update.push(_`if (${d}) ${a}.p(${R}, #dirty);`):r.chunks.update.push(_`${a}.p(${R}, #dirty);`));r.chunks.destroy.push(E(_`${b}[${m}].d(${p});`))}render_simple(r,n,i,s,{name:a,anchor:u,if_exists_condition:o,has_transitions:c},d){let p=this.branches[0],f=p.get_ctx_name?v`${p.get_ctx_name}(#ctx)`:v`#ctx`;p.snippet&&r.add_variable(p.condition,p.snippet),r.chunks.init.push(_`
|
|
let ${a} = ${p.condition} && ${p.block.name}(${f});
|
|
`);let m=n||"#target",y=n?"null":"#anchor";if(r.chunks.mount.push(_`if (${a}) ${a}.m(${m}, ${y});`),p.dependencies.length>0){let w=this.get_update_mount_node(u),b=_`
|
|
if (${a}) {
|
|
${s&&_`${a}.p(${f}, #dirty);`}
|
|
${c&&_`if (${r.renderer.dirty(p.dependencies)}) {
|
|
@transition_in(${a}, 1);
|
|
}`}
|
|
} else {
|
|
${a} = ${p.block.name}(${f});
|
|
${a}.c();
|
|
${c&&_`@transition_in(${a}, 1);`}
|
|
${a}.m(${w}, ${u});
|
|
}
|
|
`;p.snippet&&r.chunks.update.push(_`if (${r.renderer.dirty(p.dependencies)}) ${p.condition} = ${p.snippet}`),p.block.has_outro_method?r.chunks.update.push(_`
|
|
if (${p.condition}) {
|
|
${b}
|
|
} else if (${a}) {
|
|
@group_outros();
|
|
@transition_out(${a}, 1, 1, () => {
|
|
${a} = null;
|
|
});
|
|
@check_outros();
|
|
}
|
|
`):r.chunks.update.push(_`
|
|
if (${p.condition}) {
|
|
${b}
|
|
} else if (${a}) {
|
|
${a}.d(1);
|
|
${a} = null;
|
|
}
|
|
`)}else s&&r.chunks.update.push(_`
|
|
if (${p.condition}) ${a}.p(${f}, #dirty);
|
|
`);o?r.chunks.destroy.push(_`
|
|
if (${o}) ${a}.d(${d});
|
|
`):r.chunks.destroy.push(_`
|
|
${a}.d(${d});
|
|
`)}};l();var Aa=class extends ke{constructor(r,n,i,s,a,u){super(r,n,i,s);g(this,"fragment");g(this,"block");g(this,"dependencies");g(this,"var",{type:"Identifier",name:"key_block"});this.dependencies=s.expression.dynamic_dependencies(),this.dependencies.length&&(n=n.child({comment:St(s,r.component),name:r.component.get_unique_name("create_key_block"),type:"key"}),n.add_dependencies(s.expression.dependencies),r.blocks.push(n)),this.block=n,this.fragment=new nt(r,this.block,s.children,this,a,u)}render(r,n,i){this.dependencies.length===0?this.render_static_key(r,n,i):this.render_dynamic_key(r,n,i)}render_static_key(r,n,i){this.fragment.render(this.block,n,i)}render_dynamic_key(r,n,i){this.fragment.render(this.block,null,v`#nodes`);let s=!!(this.block.has_intro_method||this.block.has_outro_method),a=this.block.has_update_method,u=r.get_unique_name("previous_key"),o=this.node.expression.manipulate(r);r.add_variable(u,o);let c=this.renderer.component.component_options.immutable?v`@not_equal`:v`@safe_not_equal`,d=v`${this.renderer.dirty(this.dependencies)} && ${c}(${u}, ${u} = ${o})`;r.chunks.init.push(_`
|
|
let ${this.var} = ${this.block.name}(#ctx);
|
|
`),r.chunks.create.push(_`${this.var}.c();`),this.renderer.options.hydratable&&r.chunks.claim.push(_`${this.var}.l(${i});`),r.chunks.mount.push(_`${this.var}.m(${n||"#target"}, ${n?"null":"#anchor"});`);let p=this.get_or_create_anchor(r,n,i),f=_`
|
|
${s?_`
|
|
@group_outros();
|
|
@transition_out(${this.var}, 1, 1, @noop);
|
|
@check_outros();
|
|
`:_`${this.var}.d(1);`}
|
|
${this.var} = ${this.block.name}(#ctx);
|
|
${this.var}.c();
|
|
${s&&_`@transition_in(${this.var}, 1)`}
|
|
${this.var}.m(${this.get_update_mount_node(p)}, ${p});
|
|
`;a?r.chunks.update.push(_`
|
|
if (${d}) {
|
|
${f}
|
|
} else {
|
|
${this.var}.p(#ctx, #dirty);
|
|
}
|
|
`):r.chunks.update.push(_`
|
|
if (${d}) {
|
|
${f}
|
|
}
|
|
`),s&&(r.chunks.intro.push(_`@transition_in(${this.var})`),r.chunks.outro.push(_`@transition_out(${this.var})`)),r.chunks.destroy.push(_`${this.var}.d(detaching)`)}};l();l();function aE(e){let t=e.split("."),r={type:"Identifier",name:t[0]};for(let n=1;n<t.length;n++)r={type:"MemberExpression",object:r,property:{type:"Identifier",name:t[n]}};return r}l();l();function oE(e,t,r){if(r.length===0)return{block:e,scope:t};let n={type:"ObjectPattern",properties:r.map(f=>({type:"Property",kind:"init",key:f.name,value:f.value||f.name}))},i=[],s=new Map;r.forEach(f=>{let m;if(f.names.length>1){let y=e.get_unique_name(f.names.join("_")).name;s.set(f.value,y),m={type:"Identifier",name:y}}else m=f.value||f.name;i.push({type:"Property",kind:"init",key:f.name,value:m})});let a={type:"ObjectPattern",properties:i},u=new Set,o=new Map;r.forEach(f=>{f.names.forEach(m=>{u.add(m),s.has(f.value)&&o.set(m,s.get(f.value))})});let c={type:"ObjectExpression",properties:Array.from(u).map(f=>qe`${e.renderer.context_lookup.get(f).index}: ${f}`)},{context_lookup:d}=e.renderer,p={type:"ParenthesizedExpression",get expression(){if(e.renderer.context_overflow){let f=[];Array.from(u).forEach(y=>{let w=d.get(y).index.value,b=Math.floor(w/31),$=o.has(y)?o.get(y):y;f[b]||(f[b]=[]),f[b].push({name:$,n:w%31})});let m=[];for(let y=0;y<f.length;y+=1)m[y]=f[y]?f[y].map(({name:w,n:b})=>v`${w} ? ${1<<b} : 0`).reduce((w,b)=>v`${w} | ${b}`):v`0`;return{type:"ArrayExpression",elements:m}}return Array.from(u).map(f=>{let m=o.has(f)?o.get(f):f,y=d.get(f).index.value;return v`${m} ? ${1<<y} : 0`}).reduce((f,m)=>v`${f} | ${m}`)}};return{block:e,scope:t,get_context:v`${n} => ${c}`,get_changes:v`${a} => ${p}`}}var Jn=class extends ke{constructor(r,n,i,s,a,u){super(r,n,i,s);g(this,"fragment");g(this,"block");let{scope:o,lets:c,const_tags:d,slot_template_name:p}=this.node;c.forEach(f=>{Ye(f.value||f.name).forEach(m=>{r.add_to_context(m,!0)})}),tn(r,d),this.block=n.child({comment:St(this.node,this.renderer.component),name:this.renderer.component.get_unique_name(`create_${It(p)}_slot`),type:"slot"}),this.renderer.blocks.push(this.block),this.parent.set_slot(p,oE(this.block,o,c)),this.fragment=new nt(r,this.block,s.type==="SlotTemplate"?s.children:[s],this,a,u),this.block.parent.add_dependencies(this.block.dependencies)}render(){this.fragment.render(this.block,null,v`#nodes`),this.node.const_tags.length>0&&this.render_get_context()}render_get_context(){let r=this.block.renderer.component.get_unique_name("get_context");this.block.renderer.blocks.push(_`
|
|
function ${r}(#ctx) {
|
|
${en(this.block,this.node.const_tags,"#ctx")}
|
|
}
|
|
`),this.block.chunks.declarations.push(_`${r}(#ctx)`),this.block.has_update_method&&this.block.chunks.update.unshift(_`${r}(#ctx)`)}};var Fz=/[^a-zA-Z_$]/g,qa=class extends ke{constructor(r,n,i,s,a,u){super(r,n,i,s);g(this,"slots",new Map);g(this,"fragment");g(this,"children",[]);this.node.expression&&n.add_dependencies(this.node.expression.dependencies),this.node.attributes.forEach(o=>{n.add_dependencies(o.dependencies)}),this.node.bindings.forEach(o=>{o.is_contextual&&Sa(this,o),n.add_dependencies(o.expression.dependencies)}),this.node.handlers.forEach(o=>{o.expression&&n.add_dependencies(o.expression.dependencies)}),this.node.css_custom_properties.forEach(o=>{n.add_dependencies(o.dependencies)}),this.var={type:"Identifier",name:(this.node.name==="svelte:self"?r.component.name.name:this.node.name==="svelte:component"?"switch_instance":It(this.node.name)).toLowerCase()},this.node.children.length&&(this.children=this.node.children.map(o=>new Jn(r,n,this,o,a,u))),n.add_outro()}set_slot(r,n){if(this.slots.has(r))throw r==="default"?new Error('Found elements without slot attribute when using slot="default"'):new Error(`Duplicate slot name "${r}" in <${this.node.name}>`);this.slots.set(r,n)}warn_if_reactive(){let{name:r}=this.node,n=r.split(".")[0],i=this.renderer.component.var_lookup.get(n);if(!i)return;let s=Ny(this.node);this.renderer.component.push_ignores(s),(i.reassigned||i.export_name||i.mutated)&&this.renderer.component.warn(this.node,ae.reactive_component(r)),this.renderer.component.pop_ignores()}render(r,n,i){this.warn_if_reactive();let{renderer:s}=this,{component:a}=s,u=this.var;r.add_variable(u);let o=v`{}`,c=[],d=[];this.children.forEach(A=>{this.renderer.add_to_context("$$scope",!0),A.render(r,null,v`#nodes`)});let p,f=r.get_unique_name(`${u.name}_changes`),m=!!this.node.attributes.find(A=>A.is_spread);for(let A of this.slots.keys())this.slots.get(A).block.has_content()||(this.renderer.remove_block(this.slots.get(A).block),this.slots.delete(A));let y=this.node.css_custom_properties.length>0,w=this.node.namespace===Ve.svg,b=w?"g":"div",$=y?r.get_unique_name(b):null;y&&r.add_variable($);let C=this.slots.size>0?[qe`$$slots: {
|
|
${Array.from(this.slots).map(([A,K])=>qe`${A}: [${K.block.name}, ${K.get_context||null}, ${K.get_changes||null}]`)}
|
|
}`,qe`$$scope: {
|
|
ctx: #ctx
|
|
}`]:[],R=m?v`{ ${C} }`:v`{
|
|
${this.node.attributes.map(A=>qe`${A.name}: ${A.get_value(r)}`)},
|
|
${C}
|
|
}`;(this.node.attributes.length||this.node.bindings.length||C.length)&&(!m&&this.node.bindings.length===0?o.properties.push(qe`props: ${R}`):(p=r.get_unique_name(`${u.name}_props`),o.properties.push(qe`props: ${p}`))),a.compile_options.dev&&o.properties.push(qe`$$inline: true`);let E=new Set(this.slots.size?["$$scope"]:[]);this.slots.forEach(A=>{A.block.dependencies.forEach(K=>{let ee=A.scope.is_let(K),F=s.component.var_lookup.get(K);(ee||Mr(F))&&E.add(K)})});let H=this.node.attributes.filter(A=>A.get_dependencies().length>0);if(!m&&(H.length>0||this.node.bindings.length>0||E.size>0)&&d.push(_`const ${f} = {};`),this.node.attributes.length)if(m){let A=r.get_unique_name(`${this.var.name}_spread_levels`),K=[],ee=[],F=new Set;if(this.node.attributes.forEach(O=>{Je(F,O.dependencies)}),this.node.attributes.forEach((O,G)=>{let{name:X,dependencies:te}=O,oe=te.size>0&&te.size!==F.size?s.dirty(Array.from(te)):null,me=te.size===0,ce;if(O.is_spread){let ge=O.expression.manipulate(r);K.push(ge);let Ne=ge;O.expression.node.type!=="ObjectExpression"&&(Ne=v`@get_spread_object(${ge})`),ce=Ne}else{let ge=v`{ ${X}: ${O.get_value(r)} }`;K.push(ge),ce=ge}ee.push(me?v`${A}[${G}]`:oe?v`${oe} && ${ce}`:ce)}),r.chunks.init.push(_`
|
|
const ${A} = [
|
|
${K}
|
|
];
|
|
`),c.push(_`
|
|
for (let #i = 0; #i < ${A}.length; #i += 1) {
|
|
${p} = @assign(${p}, ${A}[#i]);
|
|
}
|
|
`),F.size){let O=s.dirty(Array.from(F));this.node.name==="svelte:component"&&(c[c.length-1]=_`
|
|
for (let #i = 0; #i < ${A}.length; #i += 1) {
|
|
${p} = @assign(${p}, ${A}[#i]);
|
|
}
|
|
if (#dirty !== undefined && ${O}) {
|
|
${p} = @assign(${p}, @get_spread_update(${A}, [
|
|
${ee}
|
|
]));
|
|
}
|
|
`),d.push(_`
|
|
const ${f} = ${O} ? @get_spread_update(${A}, [
|
|
${ee}
|
|
]) : {}
|
|
`)}else d.push(_`
|
|
const ${f} = {};
|
|
`)}else H.forEach(A=>{let K=A.get_dependencies();if(K.length>0){let ee=s.dirty(K);d.push(_`
|
|
if (${ee}) ${f}.${A.name} = ${A.get_value(r)};
|
|
`)}});E.size>0&&d.push(_`
|
|
if (${s.dirty(Array.from(E))}) {
|
|
${f}.$$scope = { dirty: #dirty, ctx: #ctx };
|
|
}`);let Y=this.node.bindings.map(A=>{if(a.has_reactive_assignments=!0,A.name==="this")return Ea(a,r,new nn(r,A,this),this.var);let K=a.get_unique_name(`${this.var.name}_${A.name}_binding`);s.add_to_context(K.name);let ee=s.reference(K),F=r.get_unique_name(`updating_${A.name}`);r.add_variable(F);let O=A.expression.manipulate(r);c.push(_`
|
|
if (${O} !== void 0) {
|
|
${p}.${A.name} = ${O};
|
|
}`),d.push(_`
|
|
if (!${F} && ${s.dirty(Array.from(A.expression.dependencies))}) {
|
|
${F} = true;
|
|
${f}.${A.name} = ${O};
|
|
@add_flush_callback(() => ${F} = false);
|
|
}
|
|
`);let G=Array.from(A.expression.contextual_dependencies),X=Array.from(A.expression.dependencies),te=A.raw_expression;if(A.is_contextual&&A.expression.node.type==="Identifier"){let{name:Ne}=A.expression.node,{object:Et,property:at,snippet:_t}=r.bindings.get(Ne);te=_t,G.push(Et.name,at.name)}let oe=[v`#value`],me=[v`#value`];G.length>0&&(G.forEach(Ne=>{oe.push({type:"Identifier",name:Ne}),s.add_to_context(Ne,!0),me.push(s.reference(Ne))}),r.maintain_context=!0),r.chunks.init.push(_`
|
|
function ${K}(#value) {
|
|
${ee}(${me});
|
|
}
|
|
`);let ce=_`
|
|
${te} = #value;
|
|
${s.invalidate(X[0])};
|
|
`;A.expression.node.type==="MemberExpression"&&(ce=_`
|
|
if ($$self.$$.not_equal(${te}, #value)) {
|
|
${ce}
|
|
}
|
|
`);let ge=_`
|
|
function ${K}(${oe}) {
|
|
${ce}
|
|
}
|
|
`;return a.partly_hoisted.push(ge),_`@binding_callbacks.push(() => @bind(${this.var}, '${A.name}', ${K}));`}),P=this.node.handlers.map(A=>{let ee=new Ot(A,this).get_snippet(r);return A.modifiers.has("once")&&(ee=v`@once(${ee})`),_`${u}.$on("${A.name}", ${ee});`}),j=y?$:n||"#target",I=y||n?"null":"#anchor",B=i&&this.renderer.options.hydratable,q=i;if(this.node.name==="svelte:component"){let A=r.get_unique_name("switch_value"),K=r.get_unique_name("switch_props"),ee=this.node.expression.manipulate(r),F=this.node.expression.dynamic_dependencies();y&&this.set_css_custom_properties(r,$,b,w),r.chunks.init.push(_`
|
|
var ${A} = ${ee};
|
|
|
|
function ${K}(#ctx, #dirty) {
|
|
${(this.node.attributes.length>0||this.node.bindings.length>0)&&_`
|
|
${p&&_`let ${p} = ${R};`}`}
|
|
${c}
|
|
return ${o};
|
|
}
|
|
|
|
if (${A}) {
|
|
${u} = @construct_svelte_component(${A}, ${K}(#ctx));
|
|
|
|
${Y}
|
|
${P}
|
|
}
|
|
`),r.chunks.create.push(_`if (${u}) @create_component(${u}.$$.fragment);`),$&&this.create_css_custom_properties_wrapper_mount_chunk(r,n,$),r.chunks.mount.push(_`if (${u}) @mount_component(${u}, ${j}, ${I});`),B&&($&&(q=this.create_css_custom_properties_wrapper_claim_chunk(r,q,$,b,w)),r.chunks.claim.push(_`if (${u}) @claim_component(${u}.$$.fragment, ${q});`));let O=this.get_or_create_anchor(r,n,i),G=y?"null":O,X=y?$:this.get_update_mount_node(O),te=$&&(O.name!=="null"?_`@insert(${O}.parentNode, ${$}, ${O});`:_`@insert(${n}, ${$}, ${O});`),oe=v`${A} !== (${A} = ${ee})`;F.length>0&&(oe=v`${r.renderer.dirty(F)} && ${oe}`),r.chunks.update.push(_`
|
|
if (${oe}) {
|
|
if (${u}) {
|
|
@group_outros();
|
|
const old_component = ${u};
|
|
@transition_out(old_component.$$.fragment, 1, 0, () => {
|
|
@destroy_component(old_component, 1);
|
|
${y?_`@detach(${X})`:null}
|
|
});
|
|
@check_outros();
|
|
}
|
|
|
|
if (${A}) {
|
|
${te}
|
|
${u} = @construct_svelte_component(${A}, ${K}(#ctx, #dirty));
|
|
|
|
${Y}
|
|
${P}
|
|
|
|
@create_component(${u}.$$.fragment);
|
|
@transition_in(${u}.$$.fragment, 1);
|
|
@mount_component(${u}, ${X}, ${G});
|
|
} else {
|
|
${u} = null;
|
|
}
|
|
} else if (${A}) {
|
|
${d}
|
|
${d.length>0&&_`${u}.$set(${f});`}
|
|
}
|
|
`),r.chunks.intro.push(_`
|
|
if (${u}) @transition_in(${u}.$$.fragment, #local);
|
|
`),r.chunks.outro.push(_`if (${u}) @transition_out(${u}.$$.fragment, #local);`),r.chunks.destroy.push(_`if (${u}) @destroy_component(${u}, ${n?null:"detaching"});`)}else{let A=this.node.name==="svelte:self"?a.name:this.renderer.reference(aE(this.node.name));r.chunks.init.push(_`
|
|
${(this.node.attributes.length>0||this.node.bindings.length>0)&&_`
|
|
${p&&_`let ${p} = ${R};`}`}
|
|
${c}
|
|
${u} = new ${A}(${o});
|
|
|
|
${Y}
|
|
${P}
|
|
`),y&&this.set_css_custom_properties(r,$,b,w),r.chunks.create.push(_`@create_component(${u}.$$.fragment);`),$&&this.create_css_custom_properties_wrapper_mount_chunk(r,n,$),r.chunks.mount.push(_`@mount_component(${u}, ${j}, ${I});`),B&&($&&(q=this.create_css_custom_properties_wrapper_claim_chunk(r,q,$,b,w)),r.chunks.claim.push(_`@claim_component(${u}.$$.fragment, ${q});`)),r.chunks.intro.push(_`
|
|
@transition_in(${u}.$$.fragment, #local);
|
|
`),d.length&&r.chunks.update.push(_`
|
|
${d}
|
|
${u}.$set(${f});
|
|
`),r.chunks.destroy.push(_`
|
|
@destroy_component(${u}, ${n?null:"detaching"});
|
|
`),r.chunks.outro.push(_`@transition_out(${u}.$$.fragment, #local);`)}}create_css_custom_properties_wrapper_mount_chunk(r,n,i){n?(r.chunks.mount.push(_`@append(${n}, ${i})`),Lr(n)&&r.chunks.destroy.push(_`@detach(${i});`)):(r.chunks.mount.push(_`@insert(#target, ${i}, #anchor);`),r.chunks.destroy.push(_`if (detaching && ${this.var}) @detach(${i});`))}create_css_custom_properties_wrapper_claim_chunk(r,n,i,s,a){let u=r.get_unique_name(`${i.name}_nodes`),o=a?v`@claim_svg_element`:v`@claim_element`;return r.chunks.claim.push(_`
|
|
${i} = ${o}(${n}, "${s.toUpperCase()}", { style: true })
|
|
var ${u} = @children(${i});
|
|
`),u}set_css_custom_properties(r,n,i,s){let a=s?v`@svg_element`:v`@element`;r.chunks.create.push(_`${n} = ${a}("${i}");`),s||r.chunks.hydrate.push(_`@set_style(${n}, "display", "contents");`),this.node.css_custom_properties.forEach(u=>{let o=u.get_dependencies(),c=u.should_cache(),d=c&&r.get_unique_name(`${u.name.replace(Fz,"_")}_last`);c&&r.add_variable(d);let p=u.get_value(r),f=c?v`${d} = ${p}`:p;if(r.chunks.hydrate.push(_`@set_style(${n}, "${u.name}", ${f});`),o.length>0){let m=r.renderer.dirty(o);c&&(m=v`${m} && (${d} !== (${d} = ${p}))`),r.chunks.update.push(_`
|
|
if (${m}) {
|
|
@set_style(${n}, "${u.name}", ${c?d:p});
|
|
}
|
|
`)}})}};l();l();function Ta(e,t=null){return{type:"ObjectExpression",properties:Array.from(e.values()).filter(r=>r.name!=="name").map(r=>{if(r.is_spread)return{type:"SpreadElement",argument:Vz(t,r)};let n=jz(t,r);return qe`${r.name}: ${n}`})}}function jz(e,t){if(t.is_true)return v`true`;if(t.chunks.length===0)return v`""`;let r=t.chunks.map(n=>n.type==="Text"?Qe(n.data):e?n.manipulate(e):n.node).reduce((n,i)=>v`${n} + ${i}`);return t.chunks.length>1&&t.chunks[0].type!=="Text"&&(r=v`"" + ${r}`),r}function Vz(e,t){return e?t.expression.manipulate(e):t.expression.node}var La=class extends ke{constructor(r,n,i,s,a,u){super(r,n,i,s);g(this,"fragment");g(this,"fallback",null);g(this,"slot_block");g(this,"var",{type:"Identifier",name:"slot"});g(this,"dependencies",new Set(["$$scope"]));this.node.children.length&&(this.fallback=n.child({comment:St(this.node.children[0],this.renderer.component),name:this.renderer.component.get_unique_name("fallback_block"),type:"fallback"}),r.blocks.push(this.fallback)),this.fragment=new nt(r,this.fallback,s.children,this,a,u),this.node.values.forEach(o=>{Je(this.dependencies,o.dependencies)}),n.add_dependencies(this.dependencies),n.add_intro(),n.add_outro()}render(r,n,i){let{renderer:s}=this,{slot_name:a}=this.node;this.slot_block&&(r=this.slot_block);let u,o,c;if(this.node.values.size>0){u=s.component.get_unique_name(`get_${It(a)}_slot_changes`),c=s.component.get_unique_name(`get_${It(a)}_slot_context`);let P=v`{}`,j=new Set;this.node.values.forEach(I=>{if(I.type==="Spread")Je(j,Array.from(I.dependencies).filter(B=>this.is_dependency_dynamic(B)));else{let B=Array.from(I.dependencies).filter(q=>this.is_dependency_dynamic(q));B.length>0&&P.properties.push(qe`${I.name}: ${s.dirty(B)}`)}}),s.blocks.push(_`
|
|
const ${u} = #dirty => ${P};
|
|
const ${c} = #ctx => ${Ta(this.node.values,r)};
|
|
`),j.size&&(o=s.component.get_unique_name(`get_${It(a)}_slot_spread_changes`),s.blocks.push(_`
|
|
const ${o} = #dirty => ${s.dirty(Array.from(j))};
|
|
`))}else u="null",c="null";let d=!!this.fallback;this.fallback&&(this.fragment.render(this.fallback,null,v`#nodes`),d=this.fallback.has_content(),d||s.remove_block(this.fallback));let p=r.get_unique_name(`${It(a)}_slot`),f=r.get_unique_name(`${It(a)}_slot_template`),m=d?r.get_unique_name(`${It(a)}_slot_or_fallback`):p;r.chunks.init.push(_`
|
|
const ${f} = ${s.reference("#slots")}.${a};
|
|
const ${p} = @create_slot(${f}, #ctx, ${s.reference("$$scope")}, ${c});
|
|
${d?_`const ${m} = ${p} || ${this.fallback.name}(#ctx);`:null}
|
|
`),r.chunks.create.push(_`if (${m}) ${m}.c();`),s.options.hydratable&&r.chunks.claim.push(_`if (${m}) ${m}.l(${i});`),r.chunks.mount.push(_`
|
|
if (${m}) {
|
|
${m}.m(${n||"#target"}, ${n?"null":"#anchor"});
|
|
}
|
|
`),r.chunks.intro.push(_`@transition_in(${m}, #local);`),r.chunks.outro.push(_`@transition_out(${m}, #local);`);let y=Array.from(this.dependencies).filter(P=>this.is_dependency_dynamic(P)),w=d?Array.from(this.fallback.dependencies).filter(P=>this.is_dependency_dynamic(P)):[],b=s.dirty(y);r.has_outros&&(b=v`!#current || ${b}`);let $=[o?v`${o}(#dirty)`:null,r.has_outros?v`!#current`:null].filter(Boolean),C=$.length?$.reduce((P,j)=>v`${P} || ${j}`):null,R;if(C){let P=v`${C} ? @get_all_dirty_from_scope(${s.reference("$$scope")}) : @get_slot_changes(${f}, ${s.reference("$$scope")}, #dirty, ${u})`;R=_`
|
|
if (${p}.p && ${b}) {
|
|
@update_slot_base(${p}, ${f}, #ctx, ${s.reference("$$scope")}, ${P}, ${c});
|
|
}
|
|
`}else R=_`
|
|
if (${p}.p && ${b}) {
|
|
@update_slot(${p}, ${f}, #ctx, ${s.reference("$$scope")}, #dirty, ${u}, ${c});
|
|
}
|
|
`;let E=s.dirty(w),H=v`#dirty`;r.has_outros&&(E=v`!#current || ${E}`,H=v`!#current ? ${s.get_initial_dirty()} : ${H}`);let Y=d&&w.length>0&&_`
|
|
if (${m} && ${m}.p && ${E}) {
|
|
${m}.p(#ctx, ${H});
|
|
}
|
|
`;Y?r.chunks.update.push(_`
|
|
if (${p}) {
|
|
${R}
|
|
} else {
|
|
${Y}
|
|
}
|
|
`):r.chunks.update.push(_`
|
|
if (${p}) {
|
|
${R}
|
|
}
|
|
`),r.chunks.destroy.push(_`if (${m}) ${m}.d(detaching);`)}is_dependency_dynamic(r){if(r==="$$scope"||this.node.scope.is_let(r)||Gt(r))return!0;let n=this.renderer.component.var_lookup.get(r);return Mr(n)}};l();var Ma=class extends ke{constructor(t,r,n,i,s,a){super(t,r,n,i)}render(t,r,n){if(!!this.node.children.find(s=>s.type!=="Text")){let s,a=new Set;if(this.node.children.length===1){let{expression:d}=this.node.children[0];s=d.manipulate(t),Je(a,d.dependencies)}else s=this.node.children.map(d=>d.type==="Text"?Qe(d.data):(d.expression.dependencies.forEach(p=>{a.add(p)}),d.expression.manipulate(t))).reduce((d,p)=>v`${d} + ${p}`),this.node.children[0].type!=="Text"&&(s=v`"" + ${s}`);let u=this.node.should_cache&&t.get_unique_name("title_value");this.node.should_cache&&t.add_variable(u);let o=this.node.should_cache?v`${u} = ${s}`:s;t.chunks.init.push(_`@_document.title = ${o};`);let c=_`@_document.title = ${this.node.should_cache?u:s};`;if(a.size){let d=Array.from(a),p=t.renderer.dirty(d);t.has_outros&&(p=v`!#current || ${p}`),this.node.should_cache&&(p=v`${p} && (${u} !== (${u} = ${s}))`),t.chunks.update.push(_`
|
|
if (${p}) {
|
|
${c}
|
|
}`)}}else{let s=this.node.children.length>0?Qe(this.node.children[0].data):v`""`;t.chunks.hydrate.push(_`@_document.title = ${s};`)}}};l();var Hz={innerWidth:"resize",innerHeight:"resize",outerWidth:"resize",outerHeight:"resize",devicePixelRatio:"resize",scrollX:"scroll",scrollY:"scroll"},Uz={scrollX:"pageXOffset",scrollY:"pageYOffset"},zz=new Set(["innerWidth","innerHeight","outerWidth","outerHeight","devicePixelRatio","online"]),Vi=class extends ke{constructor(r,n,i,s){super(r,n,i,s);g(this,"handlers");this.handlers=this.node.handlers.map(a=>new Ot(a,this))}render(r,n,i){let{renderer:s}=this,{component:a}=s,u={},o={};Gn(r,"@_window",this.node.actions),zn(r,"@_window",this.handlers),this.node.bindings.forEach(f=>{let m=f.expression.node.name;if(zz.has(f.name)&&s.readonly.add(m),o[f.name]=m,f.name==="online")return;let y=Hz[f.name],w=Uz[f.name]||f.name;u[y]||(u[y]=[]),u[y].push({name:m,value:w})});let c=r.get_unique_name("scrolling"),d=r.get_unique_name("clear_scrolling"),p=r.get_unique_name("scrolling_timeout");if(Object.keys(u).forEach(f=>{let m=r.get_unique_name(`onwindow${f}`),y=u[f];s.add_to_context(m.name);let w=s.reference(m.name);if(f==="scroll"){r.add_variable(c,v`false`),r.add_variable(d,v`() => { ${c} = false }`),r.add_variable(p);let b=o.scrollX&&o.scrollY?v`"${o.scrollX}" in this._state || "${o.scrollY}" in this._state`:v`"${o.scrollX||o.scrollY}" in this._state`,$=o.scrollX&&v`this._state.${o.scrollX}`,C=o.scrollY&&v`this._state.${o.scrollY}`;s.meta_bindings.push(_`
|
|
if (${b}) {
|
|
@_scrollTo(${$||"@_window.pageXOffset"}, ${C||"@_window.pageYOffset"});
|
|
}
|
|
${$&&`${$} = @_window.pageXOffset;`}
|
|
${C&&`${C} = @_window.pageYOffset;`}
|
|
`),r.event_listeners.push(v`
|
|
@listen(@_window, "${f}", () => {
|
|
${c} = true;
|
|
@_clearTimeout(${p});
|
|
${p} = @_setTimeout(${d}, 100);
|
|
${w}();
|
|
})
|
|
`)}else y.forEach(b=>{s.meta_bindings.push(_`this._state.${b.name} = @_window.${b.value};`)}),r.event_listeners.push(v`
|
|
@listen(@_window, "${f}", ${w})
|
|
`);a.partly_hoisted.push(_`
|
|
function ${m}() {
|
|
${y.map(b=>s.invalidate(b.name,v`${b.name} = @_window.${b.value}`))}
|
|
}
|
|
`),r.chunks.init.push(_`
|
|
@add_render_callback(${w});
|
|
`),a.has_reactive_assignments=!0}),o.scrollX||o.scrollY){let f=s.dirty([o.scrollX,o.scrollY].filter(Boolean)),m=o.scrollX?s.reference(o.scrollX):v`@_window.pageXOffset`,y=o.scrollY?s.reference(o.scrollY):v`@_window.pageYOffset`;r.chunks.update.push(_`
|
|
if (${f} && !${c}) {
|
|
${c} = true;
|
|
@_clearTimeout(${p});
|
|
@_scrollTo(${m}, ${y});
|
|
${p} = @_setTimeout(${d}, 100);
|
|
}
|
|
`)}if(o.online){let f=r.get_unique_name("onlinestatuschanged"),m=o.online;s.add_to_context(f.name);let y=s.reference(f.name);a.partly_hoisted.push(_`
|
|
function ${f}() {
|
|
${s.invalidate(m,v`${m} = @_navigator.onLine`)}
|
|
}
|
|
`),r.chunks.init.push(_`
|
|
@add_render_callback(${y});
|
|
`),r.event_listeners.push(v`@listen(@_window, "online", ${y})`,v`@listen(@_window, "offline", ${y})`),a.has_reactive_assignments=!0}}};l();function ei(e,t){t.next=e,e&&(e.prev=t)}var lE={AwaitBlock:va,Body:ya,Comment:Zn,DebugTag:ba,Document:xa,EachBlock:wa,Element:xn,Head:Ra,IfBlock:Pa,InlineComponent:qa,KeyBlock:Aa,MustacheTag:Qn,Options:null,RawMustacheTag:Xn,Slot:La,SlotTemplate:Jn,Text:yn,Title:Ma,Window:Vi};function Gz(e,t){return t.node.find_nearest(/EachBlock/)===e.find_nearest(/EachBlock/)||t.node.prev.type==="EachBlock"}var nt=class{constructor(t,r,n,i,s,a){g(this,"nodes");this.nodes=[];let u,o,c=n.length;for(;c--;){let d=n[c];if(!d.type)throw new Error("missing type");if(!(d.type in lE))throw new Error(`TODO implement ${d.type}`);if(d.type==="Window"){o=new Vi(t,r,i,d);continue}if(d.type==="Text"){let{data:p}=d;if(this.nodes.length===0&&(a?a.node.type==="Text"&&ui.test(a.node.data)&&Gz(d,a):!d.has_ancestor("EachBlock"))&&!d.keep_space()&&(p=Ti(p),!p))continue;if(u&&u.node.type==="Text"){u.data=p+u.data;continue}let f=new yn(t,r,i,d,p);if(f.skip)continue;this.nodes.unshift(f),ei(u,u=f)}else{let p=lE[d.type];if(!p||d.type==="Comment"&&!t.options.preserveComments)continue;let f=new p(t,r,i,d,s,u||a);this.nodes.unshift(f),ei(u,u=f)}}if(s){let d=this.nodes[0];d&&d.node.type==="Text"&&!d.node.keep_space()&&(d.data=qi(d.data),d.data||(d.var=null,this.nodes.shift(),this.nodes[0]&&(this.nodes[0].prev=null)))}o&&(this.nodes.unshift(o),ei(u,o))}render(t,r,n){for(let i=0;i<this.nodes.length;i+=1)this.nodes[i].render(t,r,n)}};var Ia=class{constructor(t,r){g(this,"component");g(this,"options");g(this,"context",[]);g(this,"initial_context",[]);g(this,"context_lookup",new Map);g(this,"context_overflow");g(this,"blocks",[]);g(this,"readonly",new Set);g(this,"meta_bindings",[]);g(this,"binding_groups",new Map);g(this,"block");g(this,"fragment");g(this,"file_var");g(this,"locate");g(this,"meta_locate");this.component=t,this.options=r,this.locate=t.locate,this.meta_locate=t.meta_locate,this.file_var=r.dev&&this.component.get_unique_name("file"),t.vars.filter(i=>!i.hoistable||i.export_name&&!i.module).forEach(i=>this.add_to_context(i.name)),t.vars.filter(i=>i.subscribable).forEach(i=>this.add_to_context(`$${i.name}`)),Cg.forEach(i=>{t.var_lookup.has(i)&&this.add_to_context(i)}),t.slots.size>0&&(this.add_to_context("$$scope"),this.add_to_context("#slots")),this.block=new Li({renderer:this,name:null,type:"component",key:null,bindings:new Map,dependencies:new Set}),this.block.has_update_method=!0,this.fragment=new nt(this,this.block,t.fragment.children,null,!0,null),this.blocks.forEach(i=>{i instanceof Li&&i.assign_variable_names()}),this.block.assign_variable_names(),this.fragment.render(this.block,null,v`#nodes`),this.context_overflow=this.context.length>31,this.context.forEach(i=>{let{variable:s}=i;s?(i.priority+=2,(s.mutated||s.reassigned)&&(i.priority+=4),s.is_reactive_dependency&&(s.mutated||s.reassigned)&&(i.priority+=16),s.export_name&&(i.priority+=32),s.referenced&&(i.priority+=64)):i.is_non_contextual&&(i.priority+=8),i.is_contextual||(i.priority+=1)}),this.context.sort((i,s)=>s.priority-i.priority||i.index.value-s.index.value),this.context.forEach((i,s)=>i.index.value=s);let n=this.context.length;for(;n--;){let i=this.context[n];if(i.variable){if(i.variable.referenced||i.variable.export_name||i.variable.is_reactive_dependency&&(i.variable.mutated||i.variable.reassigned))break}else if(i.is_non_contextual)break}this.initial_context=this.context.slice(0,n+1)}add_to_context(t,r=!1){if(!this.context_lookup.has(t)){let i={name:t,index:{type:"Literal",value:this.context.length},is_contextual:!1,is_non_contextual:!1,variable:null,priority:0};this.context_lookup.set(t,i),this.context.push(i)}let n=this.context_lookup.get(t);return r?n.is_contextual=!0:(n.is_non_contextual=!0,n.variable=this.component.var_lookup.get(t)),n}invalidate(t,r,n=!1){return Sg(this,t,r,n)}dirty(t,r=!1){let n=this,i=r?v`$$self.$$.dirty`:v`#dirty`,s=()=>{let a=[];return t.forEach(u=>{let o=n.context_lookup.get(u);if(!o)return;if(o.index.value===-1)throw new Error("unset index");let c=o.index.value,d=c/31|0,p=1<<c%31;a[d]||(a[d]={n:0,names:[]}),a[d].n|=p,a[d].names.push(u)}),a};return{type:"ParenthesizedExpression",get expression(){let a=s();return a.length?n.context_overflow?a.map((u,o)=>({b:u,i:o})).filter(({b:u})=>u).map(({b:u,i:o})=>v`${i}[${o}] & /*${u.names.join(", ")}*/ ${u.n}`).reduce((u,o)=>v`${u} | ${o}`):v`${i} & /*${t.join(", ")}*/ ${a[0].n}`:v`${i} & /*${t.join(", ")}*/ 0`}}}get_initial_dirty(){let t=this,r=v`-1`;return{get type(){return t.context_overflow?"ArrayExpression":"UnaryExpression"},get elements(){let n=[];for(let i=0;i<t.context.length;i+=31)n.push(r);return n},operator:r.operator,prefix:r.prefix,argument:r.argument}}reference(t,r="#ctx"){typeof t=="string"&&(t={type:"Identifier",name:t});let{name:n,nodes:i}=Ht(t),s=this.context_lookup.get(n);if(this.component.var_lookup.get(n)&&this.component.add_reference(t,n),s!==void 0){let a=v`/*${s.name}*/ ${r}[${s.index}]`;return i[0].loc&&(a.object.loc=i[0].loc),i[0]=a,i.reduce((u,o)=>v`${u}.${o}`)}return t}remove_block(t){this.blocks.splice(this.blocks.indexOf(t),1)}};l();var _v=jr(mE(),1);function _E(e,t){if(t.length==0)return null;let r=1,n=t.slice(0,-1).find(i=>i.sources.length!==1)===void 0?(0,_v.default)(t,()=>null,!0):(0,_v.default)(t[0],i=>i===e&&t[r]?t[r++]:null,!0);return n.file||delete n.file,n.sources.length||(n.sources=[e]),n}function Mh(e,t,r){if(!t||!r)return t;let n=typeof r=="string"?JSON.parse(r):r,i=_E(e,[t,n]);return Object.defineProperties(i,{toString:{enumerable:!1,value:function(){return JSON.stringify(this)}},toUrl:{enumerable:!1,value:function(){let a="";if(typeof window<"u"&&window.btoa)a=window.btoa(unescape(encodeURIComponent(this.toString())));else if(typeof Buffer<"u")a=Buffer.from(this.toString(),"utf8").toString("base64");else throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be present to use toUrl.");return"data:application/json;charset=utf-8;base64,"+a}}}),i}l();function ti(e,t){return typeof e=="boolean"?e:e[t]}function gv(e,t){let{name:r}=e,n=new Ia(e,t),{block:i}=n;i.has_outro_method=!0;let s=[];if(n.file_var){let z=e.file?v`"${e.file}"`:v`undefined`;s.push(_`const ${n.file_var} = ${z};`)}let a=e.stylesheet.render(t.filename),u=ti(t.enableSourcemap,"css");u?a.map=Mh(t.filename,a.map,t.sourcemap):a.map=null;let o=u&&e.stylesheet.has_styles&&t.dev?`${a.code}
|
|
/*# sourceMappingURL=${a.map.toUrl()} */`:a.code,c=e.get_unique_name("add_css"),d=!!o&&(t.customElement||t.css==="injected");d&&s.push(_`
|
|
function ${c}(target) {
|
|
@append_styles(target, "${e.stylesheet.id}", "${o}");
|
|
}
|
|
`);let p=n.blocks.slice().reverse();hr(s,p.map(z=>z.render?z.render():z)),t.dev&&!t.hydratable&&i.chunks.claim.push(_`throw new @_Error("options.hydrate only works if the component was compiled with the \`hydratable: true\` option");`);let f=e.var_lookup.has("$$slots"),m;f&&(m=_`
|
|
const $$slots = @compute_slots(#slots);
|
|
`);let y=e.var_lookup.has("$$props"),w=e.var_lookup.has("$$restProps"),b=y||w?"$$new_props":"$$props",$=e.vars.filter(z=>!z.module&&z.export_name),C=$.filter(z=>z.writable),R=e.get_unique_name("omit_props_names"),E=v`@compute_rest_props($$props, ${R.name})`,H=w?_`
|
|
const ${R.name} = [${$.map(z=>`"${z.export_name}"`).join(",")}];
|
|
let $$restProps = ${E};
|
|
`:null,Y=y||w||C.length>0||e.slots.size>0?v`
|
|
${b} => {
|
|
${y&&n.invalidate("$$props",v`$$props = @assign(@assign({}, $$props), @exclude_internal_props($$new_props))`)}
|
|
${w&&!y&&v`$$props = @assign(@assign({}, $$props), @exclude_internal_props($$new_props))`}
|
|
${w&&n.invalidate("$$restProps",v`$$restProps = ${E}`)}
|
|
${C.map(z=>_`if ('${z.export_name}' in ${b}) ${n.invalidate(z.name,v`${z.name} = ${b}.${z.export_name}`)};`)}
|
|
${e.slots.size>0&&_`if ('$$scope' in ${b}) ${n.invalidate("$$scope",v`$$scope = ${b}.$$scope`)};`}
|
|
}
|
|
`:null,P=[],j=e.component_options.immutable?v`@not_equal`:v`@safe_not_equal`,I,B,q,A;if($.forEach(z=>{let Ce=e.var_lookup.get(z.name);!Ce.writable||e.component_options.accessors?P.push({type:"MethodDefinition",kind:"get",key:{type:"Identifier",name:z.export_name},value:v`function() {
|
|
return ${z.hoistable?z.name:v`this.$$.ctx[${n.context_lookup.get(z.name).index}]`}
|
|
}`}):e.compile_options.dev&&P.push({type:"MethodDefinition",kind:"get",key:{type:"Identifier",name:z.export_name},value:v`function() {
|
|
throw new @_Error("<${e.tag}>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
|
|
}`}),e.component_options.accessors?Ce.writable&&!n.readonly.has(z.name)?P.push({type:"MethodDefinition",kind:"set",key:{type:"Identifier",name:z.export_name},value:v`function(${z.name}) {
|
|
this.$$set({ ${z.export_name}: ${z.name} });
|
|
@flush();
|
|
}`}):e.compile_options.dev&&P.push({type:"MethodDefinition",kind:"set",key:{type:"Identifier",name:z.export_name},value:v`function(value) {
|
|
throw new @_Error("<${e.tag}>: Cannot set read-only property '${z.export_name}'");
|
|
}`}):e.compile_options.dev&&P.push({type:"MethodDefinition",kind:"set",key:{type:"Identifier",name:z.export_name},value:v`function(value) {
|
|
throw new @_Error("<${e.tag}>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
|
|
}`})}),e.instance_exports_from.forEach(z=>{let Ce={...z,type:"ImportDeclaration",specifiers:[],source:z.source};e.imports.push(Ce),z.specifiers.forEach(Re=>{if(e.component_options.accessors){let J=e.get_unique_name(Re.exported.name);Ce.specifiers.push({...Re,type:"ImportSpecifier",imported:Re.local,local:J}),P.push({type:"MethodDefinition",kind:"get",key:{type:"Identifier",name:Re.exported.name},value:v`function() {
|
|
return ${J}
|
|
}`})}else e.compile_options.dev&&P.push({type:"MethodDefinition",kind:"get",key:{type:"Identifier",name:Re.exported.name},value:v`function() {
|
|
throw new @_Error("<${e.tag}>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
|
|
}`})})}),e.compile_options.dev){let z=$.filter(J=>J.writable&&!J.initialised);z.length&&(I=_`
|
|
$$self.$$.on_mount.push(function () {
|
|
${z.map(J=>_`
|
|
if (${J.name} === undefined && !(('${J.export_name}' in $$props) || $$self.$$.bound[$$self.$$.props['${J.export_name}']])) {
|
|
@_console.warn("<${e.tag}> was created without expected prop '${J.export_name}'");
|
|
}`)}
|
|
});
|
|
`);let Ce=e.vars.filter(J=>!J.internal&&!J.global&&!J.name.startsWith("$$"));Ce.length>0&&(q=v`() => ({ ${Ce.map(J=>qe`${J.name}`)} })`);let Re=Ce.filter(J=>!J.module&&J.writable&&J.name[0]!=="$");(y||Re.length>0)&&(B=v`
|
|
${b} => {
|
|
${y&&n.invalidate("$$props",v`$$props = @assign(@assign({}, $$props), $$new_props)`)}
|
|
${Re.map(J=>_`if ('${J.name}' in $$props) ${n.invalidate(J.name,v`${J.name} = ${b}.${J.name}`)};`)}
|
|
}
|
|
`,A=_`
|
|
if ($$props && "$$inject" in $$props) {
|
|
$$self.$inject_state($$props.$$inject);
|
|
}
|
|
`)}if(e.ast.instance){let z=e.instance_scope,Ce=e.instance_scope_map,Re=null;we(e.ast.instance.content,{enter(J){Ce.has(J)?(z=Ce.get(J),!Re&&!z.block&&(Re=J)):!Re&&J.type==="LabeledStatement"&&J.label.name==="$"&&(Re=J)},leave(J){if(Ce.has(J)&&(z=z.parent),Re===J&&(Re=null),J.type==="AssignmentExpression"||J.type==="UpdateExpression"){let ct=J.type==="AssignmentExpression"?J.left:J.argument,We=new Set(Ye(ct));this.replace(Ii(n,z,J,We,Re===null))}}}),e.rewrite_props(({name:J,reassigned:ct,export_name:We})=>{let Be=`$${J}`,dt=n.context_lookup.get(`$${J}`).index,xt=ct||We?_`${`$$subscribe_${J}`}()`:_`@component_subscribe($$self, ${J}, #value => $$invalidate(${dt}, ${Be} = #value))`;return e.compile_options.dev?_`@validate_store(${J}, '${J}'); ${xt}`:xt})}let K=[v`$$self`];$.length>0||e.has_reactive_assignments||e.slots.size>0||q||B?K.push(v`$$props`,v`$$invalidate`):e.compile_options.dev&&K.push(v`$$props`);let F=e.compile_options.dev||i.has_content();F&&s.push(_`
|
|
function create_fragment(#ctx) {
|
|
${i.get_contents()}
|
|
}
|
|
`),s.push(_`
|
|
${e.extract_javascript(e.ast.module)}
|
|
|
|
${e.fully_hoisted}
|
|
`);let O=$.filter(z=>e.var_lookup.get(z.name).hoistable?!1:z.name[0]!=="$"),G=e.vars.filter(z=>z.name[0]==="$"&&z.name[1]!=="$"),X=e.extract_javascript(e.ast.instance),te=e.compile_options.dev||X&&X.length>0||O.length>0||y||e.partly_hoisted.length>0||n.initial_context.length>0||e.reactive_declarations.length>0||q||B,oe=te?e.alias("instance"):{type:"Literal",value:null},me=G.filter(z=>{let Ce=e.var_lookup.get(z.name.slice(1));return!Ce||Ce.hoistable}).map(({name:z})=>_`
|
|
${e.compile_options.dev&&_`@validate_store(${z.slice(1)}, '${z.slice(1)}');`}
|
|
@component_subscribe($$self, ${z.slice(1)}, $$value => $$invalidate(${n.context_lookup.get(z).index}, ${z} = $$value));
|
|
`),ce=G.filter(z=>{let Ce=e.var_lookup.get(z.name.slice(1));return Ce&&(Ce.reassigned||Ce.export_name)}).map(({name:z})=>_`$$self.$$.on_destroy.push(() => ${`$$unsubscribe_${z.slice(1)}`}());`);if(te){let z=[],Ce=[];e.reactive_declarations.forEach(Be=>{let dt=Array.from(Be.dependencies),xt=!!dt.find(Fr=>Fr==="$$props"||Fr==="$$restProps"),Xt=dt.filter(Fr=>{let T=e.var_lookup.get(Fr);return T&&(T.export_name||T.mutated||T.reassigned)}),Zt=!xt&&Xt.length>0&&n.dirty(Xt,!0),an=Be.node;Zt&&(an=_`if (${Zt}) { ${an} }`[0]),Zt||xt?z.push(an):Ce.push(an)});let Re=Array.from(e.injected_reactive_declaration_vars).filter(Be=>{let dt=e.var_lookup.get(Be);return dt.injected&&dt.name[0]!=="$"}),J=G.map(Be=>{let dt=Be.name,xt=dt.slice(1),Xt=e.var_lookup.get(xt);if(Xt&&(Xt.reassigned||Xt.export_name)){let Zt=`$$unsubscribe_${xt}`,an=`$$subscribe_${xt}`,Fr=n.context_lookup.get(dt).index;return _`let ${dt}, ${Zt} = @noop, ${an} = () => (${Zt}(), ${Zt} = @subscribe(${xt}, $$value => $$invalidate(${Fr}, ${dt} = $$value)), ${xt})`}return _`let ${dt};`}),ct;e.compile_options.dev&&!(y||w)&&(ct=_`
|
|
const writable_props = [${C.map(Be=>v`'${Be.export_name}'`)}];
|
|
@_Object.keys($$props).forEach(key => {
|
|
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') @_console.warn(\`<${e.tag}> was created with unknown prop '\${key}'\`);
|
|
});
|
|
`);let We={type:"ArrayExpression",elements:n.initial_context.map(Be=>({type:"Identifier",name:Be.name}))};s.push(_`
|
|
function ${oe}(${K}) {
|
|
${Re.map(Be=>_`let ${Be};`)}
|
|
|
|
${H}
|
|
|
|
${J}
|
|
|
|
${me}
|
|
|
|
${ce}
|
|
|
|
${e.slots.size||e.compile_options.dev||f?_`let { $$slots: #slots = {}, $$scope } = $$props;`:null}
|
|
${e.compile_options.dev&&_`@validate_slots('${e.tag}', #slots, [${[...e.slots.keys()].map(Be=>`'${Be}'`).join(",")}]);`}
|
|
${m}
|
|
|
|
${X}
|
|
|
|
${I}
|
|
${ct}
|
|
|
|
${n.binding_groups.size>0&&_`const $$binding_groups = [${[...n.binding_groups.keys()].map(Be=>v`[]`)}];`}
|
|
|
|
${e.partly_hoisted}
|
|
|
|
${Y&&_`$$self.$$set = ${Y};`}
|
|
|
|
${q&&_`$$self.$capture_state = ${q};`}
|
|
|
|
${B&&_`$$self.$inject_state = ${B};`}
|
|
|
|
${A}
|
|
|
|
${z.length>0&&_`
|
|
$$self.$$.update = () => {
|
|
${z}
|
|
};
|
|
`}
|
|
|
|
${Ce}
|
|
|
|
${y&&_`$$props = @exclude_internal_props($$props);`}
|
|
|
|
return ${We};
|
|
}
|
|
`)}let ge=v`{
|
|
${$.filter(z=>z.export_name&&!z.module).map(z=>qe`${z.export_name}: ${n.context_lookup.get(z.name).index}`)}
|
|
}`,Ne;if(n.context_overflow){Ne=v`[]`;for(let z=0;z<n.context.length;z+=31)Ne.elements.push(v`-1`)}let Et={type:"Identifier",name:t.dev?"@SvelteComponentDev":"@SvelteComponent"},at=[];d?at.push(c):Ne&&at.push(v`null`),Ne&&at.push(Ne);let _t=_`
|
|
class ${r} extends ${Et} {
|
|
constructor(options) {
|
|
super(${t.dev&&"options"});
|
|
@init(this, options, ${oe}, ${F?"create_fragment":"null"}, ${j}, ${ge}, ${at});
|
|
${t.dev&&_`@dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "${r.name}", options, id: create_fragment.name });`}
|
|
}
|
|
}
|
|
`[0];if(hr(_t.body.body,P),s.push(_t),t.customElement){let z=C.reduce((We,Be)=>(We[Be.export_name]=e.component_options.customElement?.props?.[Be.export_name]||{},Be.is_boolean&&!We[Be.export_name].type&&(We[Be.export_name].type="Boolean"),We),{}),Ce=[...e.slots.keys()].map(We=>`"${We}"`).join(","),Re=P.filter(We=>We.kind==="get"&&!C.some(Be=>Be.export_name===We.key.name)).map(We=>`"${We.key.name}"`).join(","),J=e.component_options.customElement?.shadow!=="none"?"true":"false",ct=v`@create_custom_element(${r}, ${JSON.stringify(z)}, [${Ce}], [${Re}], ${J}, ${e.component_options.customElement?.extend})`;e.component_options.customElement?.tag?s.push(_`@_customElements.define("${e.component_options.customElement.tag}", ${ct});`):s.push(_`${ct}`)}return t.discloseVersion===!0&&e.imports.unshift({type:"ImportDeclaration",specifiers:[],source:{type:"Literal",value:`${t.sveltePath??"svelte"}/internal/disclose-version`}}),{js:$n(s),css:a}}l();l();l();l();function Dr(e){return e.length===0?null:{type:"VariableDeclaration",kind:"let",declarations:e.map(t=>{let r=t.node.expression;return{type:"VariableDeclarator",id:r.left,init:r.right}})}}function gE(e,t,r){t.push(),t.render(e.pending.children,r);let n=t.pop();t.push(),t.render(e.then.children,r);let i=t.pop();t.add_expression(v`
|
|
function(__value) {
|
|
if (@is_promise(__value)) {
|
|
__value.then(null, @noop);
|
|
return ${n};
|
|
}
|
|
return (function(${e.then_node?e.then_node:""}) { ${Dr(e.then.const_tags)}; return ${i}; }(__value));
|
|
}(${e.expression.node})
|
|
`)}l();function vE(e,t,r){r.preserveComments&&t.add_string(`<!--${e.data}-->`)}l();function yE(e,t,r){if(!r.dev)return;let n=r.filename||null,{line:i,column:s}=r.locate(e.start+1),a=v`{
|
|
${e.expressions.map(u=>qe`${u.node.name}`)}
|
|
}`;t.add_expression(v`@debug(${n?v`"${n}"`:v`null`}, ${i-1}, ${s}, ${a})`)}l();function bE(e,t,r){let n=[e.context_node];e.index&&n.push({type:"Identifier",name:e.index}),t.push(),t.render(e.children,r);let i=t.pop(),s=v`@each(${e.expression.node}, (${n}) => { ${Dr(e.const_tags)}; return ${i} })`;if(e.else){t.push(),t.render(e.else.children,r);let a=t.pop();e.else.const_tags.length>0&&(a=v`(() => { ${Dr(e.else.const_tags)}; return ${a} })()`),t.add_expression(v`${e.expression.node}.length ? ${s} : ${a}`)}else t.add_expression(s)}l();l();l();var Wz=/[&"<]/g,Yz=/[&<]/g;function xE(e,t=!1){let r=String(e),n=t?Wz:Yz;n.lastIndex=0;let i="",s=0;for(;n.test(r);){let a=n.lastIndex-1,u=r[a];i+=r.substring(s,a)+(u==="&"?"&":u==='"'?""":"<"),s=a+1}return i+r.substring(s)}function vv(e){if(e.chunks.length===2&&e.chunks[1].synthetic){let t=e.chunks[0].node;return v`@escape(@null_to_empty(${t}), true) + "${e.chunks[1].data}"`}return Br(e)}function Br(e){if(e.chunks.length===0)return v`""`;let t=e.parent.name.toLowerCase()==="textarea"&&e.name.toLowerCase()==="value";return e.chunks.map(r=>r.type==="Text"?Qe(xE(r.data,!0)):v`@escape(${r.node}, ${t?"false":"true"})`).reduce((r,n)=>v`${r} + ${n}`)}function wE(e){return e.chunks.length===1&&e.chunks[0].type==="Expression"?e.chunks[0].node:Br(e)}l();function Oa(e,t){let r=[],n,i=e.length;for(;i--;){let a=e[i];if(a.type==="Text"){if(a.should_skip())continue;let{data:u}=a;if(r.length===0&&(t?t.type==="Text"&&ui.test(t.data)&&Kz(a,t):!a.has_ancestor("EachBlock"))&&!a.keep_space()&&(u=Ti(u),!u))continue;if(n&&n.type==="Text"){n.data=u+n.data;continue}a.data=u,r.unshift(a),ei(n,n=a)}else r.unshift(a),ei(n,n=a)}let s=r[0];return s&&s.type==="Text"&&!s.keep_space()&&(s.data=qi(s.data),s.data||(s.var=null,r.shift(),r[0]&&(r[0].prev=null))),r}function Kz(e,t){return t.find_nearest(/EachBlock/)===e.find_nearest(/EachBlock/)||t.prev.type==="EachBlock"}function kE(e,t,r){let n=Oa(e.children,e.next),i,s=U0(e);e.is_dynamic_element&&t.push(),t.add_string("<"),p();let a=e.classes.map(f=>{let{expression:m,name:y}=f,w=m?m.node:v`#ctx.${y}`;return v`${w} ? "${y}" : ""`});e.needs_manual_style_scoping&&a.push(v`"${e.component.stylesheet.id}"`);let u=a.length>0&&a.reduce((f,m)=>v`${f} + ' ' + ${m}`),o=e.styles.map(f=>{let{name:m,important:y,expression:{node:w}}=f;return y&&(w=v`${w} + ' !important'`),qe`"${m}": ${w}`}),c=o.length>0&&v`{ ${o} }`;if(e.attributes.some(f=>f.is_spread)){let f=[];e.attributes.forEach(m=>{if(m.is_spread)f.push(v`@escape_object(${m.expression.node})`);else{let y=e.namespace===Ve.foreign?m.name:bn(m.name),w=m.name.toLowerCase();if(w==="value"&&e.name.toLowerCase()==="textarea")i=Br(m);else if(m.is_true)f.push(v`{ ${y}: true }`);else if(Wn.has(w)&&m.chunks.length===1&&m.chunks[0].type!=="Text")f.push(v`{ ${y}: ${m.chunks[0].node} || null }`);else if(m.chunks.length===1&&m.chunks[0].type!=="Text"){let b=m.chunks[0].node;f.push(v`{ ${y}: @escape_attribute_value(${b}) }`)}else f.push(v`{ ${y}: ${Br(m)} }`)}}),t.add_expression(v`@spread([${f}], { classes: ${u}, styles: ${c} })`)}else{let f=!!u,m=!!c;e.attributes.forEach(y=>{let w=y.name.toLowerCase(),b=e.namespace===Ve.foreign?y.name:bn(y.name);if(w==="value"&&e.name.toLowerCase()==="textarea")i=Br(y);else if(y.is_true)t.add_string(` ${b}`);else if(Wn.has(w)&&y.chunks.length===1&&y.chunks[0].type!=="Text")t.add_string(" "),t.add_expression(v`${y.chunks[0].node} ? "${b}" : ""`);else if(w==="class"&&u)f=!1,t.add_string(` ${b}="`),t.add_expression(v`[${vv(y)}, ${u}].join(' ').trim()`),t.add_string('"');else if(w==="style"&&c)m=!1,t.add_expression(v`@add_styles(@merge_ssr_styles(${Br(y)}, ${c}))`);else if(y.chunks.length===1&&y.chunks[0].type!=="Text"){let $=y.chunks[0].node;t.add_expression(v`@add_attribute("${b}", ${$}, ${Wn.has(w)?1:0})`)}else t.add_string(` ${b}="`),t.add_expression((w==="class"?vv:Br)(y)),t.add_string('"')}),f&&t.add_expression(v`@add_classes((${u}).trim())`),m&&t.add_expression(v`@add_styles(${c})`)}if(e.bindings.forEach(f=>{let{name:m,expression:y}=f;if(!f.is_readonly){if(m==="group"){let w=e.attributes.find(({name:b})=>b==="value");if(w){let b=wE(w),$=e.get_static_attribute_value("type"),C=y.node,R=$==="checkbox"?v`~${C}.indexOf(${b})`:v`${b} === ${C}`;t.add_expression(v`${R} ? @add_attribute("checked", true, 1) : ""`)}}else if(s&&On(m))i=y.node;else if(f.name==="value"&&e.name==="textarea"){let w=y.node;i=v`@escape(${w} || "")`}else if(!(f.name==="value"&&e.name==="select")){let w=y.node;t.add_expression(v`@add_attribute("${m}", ${w}, ${Wn.has(m)?1:0})`)}}}),r.hydratable&&e.can_optimise_hydration&&!r.has_added_svelte_hash&&(t.add_string(` data-svelte-h="${e.hash()}"`),r={...r,has_added_svelte_hash:!0}),t.add_string(">"),i!==void 0){if(s){t.push(),t.render(n,r);let f=t.pop();t.add_expression(v`($$value => $$value === void 0 ? ${f} : $$value)(${i})`)}else{if(e.name==="textarea"){let f=e.attributes.find(({name:m})=>m==="value");if(f){let m=f.chunks[0];m&&m.type==="Text"&&cn.test(m.data)&&t.add_string(`
|
|
`)}}t.add_expression(i)}d()}else{if(e.name==="pre"){let f=n[0];f&&f.type==="Text"&&cn.test(f.data)&&t.add_string(`
|
|
`)}if(e.is_dynamic_element&&t.push(),t.render(n,r),e.is_dynamic_element){let f=t.pop();t.add_expression(v`@is_void(#tag) ? '' : ${f}`)}d()}if(e.is_dynamic_element){let f=t.pop();r.dev&&e.children.length>0&&(f=v`(() => { @validate_void_dynamic_element(#tag); return ${f}; })()`),t.add_expression(v`((#tag) => {
|
|
${r.dev&&v`@validate_dynamic_element(#tag)`}
|
|
return #tag ? ${f} : '';
|
|
})(${e.tag_expr.node})`)}function d(){if(e.tag_expr.node.type==="Literal"){Ur(e.tag_expr.node.value)||(t.add_string("</"),p(),t.add_string(">"));return}t.add_expression(v`@is_void(#tag) ? '' : \`</\${#tag}>\``)}function p(){e.tag_expr.node.type==="Literal"?t.add_string(e.tag_expr.node.value):t.add_expression(e.tag_expr.node)}}l();function $E(e,t,r){let n={...r,head_id:e.id};t.push(),t.render(e.children,n);let s=t.pop();if(r.hydratable){let a=`HEAD_${e.id}_START`,u=`HEAD_${e.id}_END`;s=v`'<!-- ${a} -->' + ${s} + '<!-- ${u} -->'`}t.add_expression(v`$$result.head += ${s}, ""`)}l();function CE(e,t,r){r.hydratable&&t.add_string("<!-- HTML_TAG_START -->"),t.add_expression(e.expression.node),r.hydratable&&t.add_string("<!-- HTML_TAG_END -->")}l();function SE(e,t,r){let n=e.expression.node;t.push(),t.render(e.children,r);let i=t.pop();e.const_tags.length>0&&(i=v`(() => { ${Dr(e.const_tags)}; return ${i} })()`),t.push(),e.else&&t.render(e.else.children,r);let s=t.pop();e.else&&e.else.const_tags.length>0&&(s=v`(() => { ${Dr(e.else.const_tags)}; return ${s} })()`),t.add_expression(v`${n} ? ${i} : ${s}`)}l();function EE(e){return e.is_true?v`true`:e.chunks.length===0?v`''`:e.chunks.map(t=>t.type==="Text"?Qe(t.data):t.node).reduce((t,r)=>v`${t} + ${r}`)}function RE(e,t,r){let n=[],i=[];e.bindings.forEach(f=>{t.has_bindings=!0;let m=f.expression.node;n.push(qe`${f.name}: ${m}`),i.push(qe`${f.name}: $$value => { ${m} = $$value; $$settled = false }`)});let s=e.attributes.find(f=>f.is_spread),a;s?a=v`@_Object.assign({}, ${e.attributes.map(f=>f.is_spread?f.expression.node:v`{ ${f.name}: ${EE(f)} }`).concat(n.map(f=>v`{ ${f} }`))})`:a=v`{
|
|
${e.attributes.map(f=>qe`${f.name}: ${EE(f)}`)},
|
|
${n}
|
|
}`;let u=v`{
|
|
${i}
|
|
}`,o=e.name==="svelte:self"?t.name:e.name==="svelte:component"?v`(${e.expression.node}) || @missing_component`:e.name.split(".").reduce((f,m)=>v`${f}.${m}`),c=[],d=e.children;if(d.length){let f=new Map;t.render(d,Object.assign({},r,{slot_scopes:f})),f.forEach(({input:m,output:y,statements:w},b)=>{c.push(qe`${b}: (${m}) => { ${w}; return ${y}; }`)})}let p=v`{
|
|
${c}
|
|
}`;e.css_custom_properties.length>0&&(e.namespace===Ve.svg?t.add_string('<g style="'):t.add_string('<div style="display: contents; '),e.css_custom_properties.forEach((f,m)=>{t.add_string(`${f.name}:`),t.add_expression(Br(f)),t.add_string(";"),m<e.css_custom_properties.length-1&&t.add_string(" ")}),t.add_string('">')),t.add_expression(v`@validate_component(${o}, "${e.name}").$$render($$result, ${a}, ${u}, ${p})`),e.css_custom_properties.length>0&&(e.namespace===Ve.svg?t.add_string("</g>"):t.add_string("</div>"))}l();function PE(e,t,r){t.render(e.children,r)}l();l();function Ih(e){return e.length===0?null:{type:"ObjectPattern",properties:e.map(t=>({type:"Property",kind:"init",method:!1,shorthand:!1,computed:!1,key:t.name,value:t.value||t.name}))}}function AE(e,t,r){let n=Ta(e.values),i=e.get_static_attribute_value("slot"),s=e.find_nearest(/InlineComponent/);i&&s&&t.push(),t.push(),t.render(e.children,r);let a=t.pop();t.add_expression(v`
|
|
#slots.${e.slot_name}
|
|
? #slots.${e.slot_name}(${n})
|
|
: ${a}
|
|
`),i&&s&&r.slot_scopes.set(i,{input:Ih(e.lets),output:t.pop()})}l();function qE(e,t,r){let n=e.parent,i=Oa(e instanceof Un?e.children:[e],e.next);t.push(),t.render(i,r);let s=t.pop();if(!Qz(s)){if(r.slot_scopes.has(e.slot_template_name))throw e.slot_template_name==="default"?new Error('Found elements without slot attribute when using slot="default"'):new Error(`Duplicate slot name "${e.slot_template_name}" in <${n.name}>`);r.slot_scopes.set(e.slot_template_name,{input:Ih(e.lets),output:s,statements:Dr(e.const_tags)})}}function Qz(e){return e.expressions.length===0&&e.quasis.length===1&&e.quasis[0].value.raw===""}l();function TE(e,t,r){let n=e.expression.node;t.add_expression(e.parent&&e.parent.type==="Element"&&e.parent.name==="style"?n:v`@escape(${n})`)}l();function LE(e,t,r){let n=e.data;e.use_space()?n=" ":(!e.parent||e.parent.type!=="Element"||e.parent.name!=="script"&&e.parent.name!=="style")&&(n=Us(n)),t.add_string(n)}l();function ME(e,t,r){t.push(),t.add_string("<title>"),t.render(e.children,r),t.add_string("</title>");let n=t.pop();t.add_expression(v`$$result.title = ${n}, ""`)}l();function IE(e){if(!e.quasis.length)return;let t=[],r=[],n=e.quasis[0];for(let i=0;i<e.quasis.length;i++){let s=e.expressions[i],a=e.quasis[i+1];a&&s&&s.type==="Literal"&&typeof s.value=="string"?n.value.raw+=rl(s.value)+a.value.raw:(s&&r.push(s),t.push(n),n=a)}e.quasis=t,e.expressions=r}function Oh(){}var Xz={AwaitBlock:gE,Body:Oh,Comment:vE,DebugTag:yE,Document:Oh,EachBlock:bE,Element:kE,Head:$E,IfBlock:SE,InlineComponent:RE,KeyBlock:PE,MustacheTag:TE,Options:Oh,RawMustacheTag:CE,Slot:AE,SlotTemplate:qE,Text:LE,Title:ME,Window:Oh},Na=class{constructor({name:t}){g(this,"has_bindings",!1);g(this,"name");g(this,"stack",[]);g(this,"current");g(this,"literal");g(this,"targets",[]);this.name=t,this.push()}add_string(t){this.current.value+=rl(t)}add_expression(t){this.literal.quasis.push({type:"TemplateElement",value:{raw:this.current.value,cooked:null},tail:!1}),this.literal.expressions.push(t),this.current.value=""}push(){let t=this.current={value:""},r=this.literal={type:"TemplateLiteral",expressions:[],quasis:[]};this.stack.push({current:t,literal:r})}pop(){this.literal.quasis.push({type:"TemplateElement",value:{raw:this.current.value,cooked:null},tail:!0});let t=this.stack.pop(),r=this.stack[this.stack.length-1];return r&&(this.literal=r.literal,this.current=r.current),IE(t.literal),t.literal}render(t,r){t.forEach(n=>{let i=Xz[n.type];if(!i)throw new Error(`No handler for '${n.type}' nodes`);i(n,this,r)})}};function yv(e,t){let r=new Na({name:e.name}),{name:n}=e;r.render(Zz(e.fragment.children),Object.assign({locate:e.locate},t));let i=r.pop(),s=t.customElement?{code:null,map:null}:e.stylesheet.render(t.filename),a=e.var_lookup.has("$$restProps"),u=e.vars.filter(P=>!P.module&&P.export_name),o=a?_`let $$restProps = @compute_rest_props($$props, [${u.map(P=>`"${P.export_name}"`).join(",")}]);`:null,d=e.var_lookup.has("$$slots")?_`let $$slots = @compute_slots(#slots);`:null,p=e.vars.filter(P=>P.name[0]==="$"&&P.name[1]!=="$"),f=p.filter(P=>{let j=e.var_lookup.get(P.name.slice(1));return!j||j.hoistable}).map(({name:P})=>{let j=P.slice(1);return _`
|
|
${e.compile_options.dev&&_`@validate_store(${j}, '${j}');`}
|
|
${`$$unsubscribe_${j}`} = @subscribe(${j}, #value => ${P} = #value)
|
|
`}),m=p.map(({name:P})=>_`${`$$unsubscribe_${P.slice(1)}`}()`),y=p.map(({name:P})=>{let j=P.slice(1),I=e.var_lookup.get(j);if(I&&I.reassigned){let B=`$$unsubscribe_${j}`,q=`$$subscribe_${j}`;return _`let ${P}, ${B} = @noop, ${q} = () => (${B}(), ${B} = @subscribe(${j}, $$value => ${P} = $$value), ${j})`}return _`let ${P}, ${`$$unsubscribe_${j}`};`});if(e.ast.instance){let P=e.instance_scope,j=e.instance_scope_map;we(e.ast.instance.content,{enter(I){j.has(I)&&(P=j.get(I))},leave(I){if(j.has(I)&&(P=P.parent),I.type==="AssignmentExpression"||I.type==="UpdateExpression"){let B=I.type==="AssignmentExpression"?I.left:I.argument,q=new Set(Ye(B)),A=new Set;for(let K of q){let ee=e.var_lookup.get(K);ee&&!ee.hoistable&&!ee.global&&!ee.module&&(ee.subscribable||ee.name[0]==="$")&&A.add(ee.name)}A.size&&this.replace(Ii({component:e},P,I,A,!0))}}})}e.rewrite_props(({name:P,reassigned:j})=>{let I=`$${P}`,B=j?_`${`$$subscribe_${P}`}()`:_`${`$$unsubscribe_${P}`} = @subscribe(${P}, #value => $${I} = #value)`;return e.compile_options.dev&&(B=_`@validate_store(${P}, '${P}'); ${B}`),B});let w=e.extract_javascript(e.ast.instance),b=w?e.vars.filter(P=>!P.module&&P.export_name).map(P=>_`if ($$props.${P.export_name} === void 0 && $$bindings.${P.export_name} && ${P.name} !== void 0) $$bindings.${P.export_name}(${P.name});`):[],$=Array.from(e.injected_reactive_declaration_vars).filter(P=>e.var_lookup.get(P).injected),C=e.reactive_declarations.map(P=>{let j=P.node.body,I=_`${j}`;return P.declaration||(I=_`$: { ${I} }`),I}),R=r.has_bindings?_`
|
|
let $$settled;
|
|
let $$rendered;
|
|
let #previous_head = $$result.head;
|
|
|
|
do {
|
|
$$settled = true;
|
|
// $$result.head is mutated by the literal expression
|
|
// need to reset it if we're looping back to prevent duplication
|
|
$$result.head = #previous_head;
|
|
|
|
${C}
|
|
|
|
$$rendered = ${i};
|
|
} while (!$$settled);
|
|
|
|
${m}
|
|
|
|
return $$rendered;
|
|
`:_`
|
|
${C}
|
|
|
|
${m}
|
|
|
|
return ${i};`,E=[...$.map(P=>_`let ${P};`),o,d,...y,...f,w,...b,s.code&&_`$$result.css.add(#css);`,R].filter(Boolean),H=ti(t.enableSourcemap,"css");return{js:_`
|
|
${s.code?_`
|
|
const #css = {
|
|
code: "${s.code}",
|
|
map: ${H&&s.map?Qe(s.map.toString()):"null"}
|
|
};`:null}
|
|
|
|
${e.extract_javascript(e.ast.module)}
|
|
|
|
${e.fully_hoisted}
|
|
|
|
const ${n} = @create_ssr_component(($$result, $$props, $$bindings, #slots) => {
|
|
${E}
|
|
});
|
|
`,css:s}}function Zz(e){let t=0;for(;t<e.length;t+=1){let n=e[t];if(n.type!=="Text"||(n.data=n.data.replace(/^\s+/,""),n.data))break}let r=e.length;for(;r>t;r-=1){let n=e[r-1];if(n.type!=="Text"||(n.data=n.data.trimRight(),n.data))break}return e.slice(t,r)}l();var zh=jr(qh(),1);l();var OE=new Set(["AbortController","AbortSignal","AbstractRange","ActiveXObject","AggregateError","AnalyserNode","Animation","AnimationEffect","AnimationEvent","AnimationPlaybackEvent","AnimationTimeline","Array","ArrayBuffer","Atomics","Attr","Audio","AudioBuffer","AudioBufferSourceNode","AudioContext","AudioDestinationNode","AudioListener","AudioNode","AudioParam","AudioParamMap","AudioProcessingEvent","AudioScheduledSourceNode","AudioWorklet","AudioWorkletNode","AuthenticatorAssertionResponse","AuthenticatorAttestationResponse","AuthenticatorResponse","BarProp","BaseAudioContext","BeforeUnloadEvent","BigInt","BigInt64Array","BigUint64Array","BiquadFilterNode","Blob","BlobEvent","Boolean","BroadcastChannel","ByteLengthQueuingStrategy","CDATASection","CSS","CSSAnimation","CSSConditionRule","CSSCounterStyleRule","CSSFontFaceRule","CSSGroupingRule","CSSImportRule","CSSKeyframeRule","CSSKeyframesRule","CSSMediaRule","CSSNamespaceRule","CSSPageRule","CSSRule","CSSRuleList","CSSStyleDeclaration","CSSStyleRule","CSSStyleSheet","CSSSupportsRule","CSSTransition","Cache","CacheStorage","CanvasCaptureMediaStreamTrack","CanvasGradient","CanvasPattern","CanvasRenderingContext2D","ChannelMergerNode","ChannelSplitterNode","CharacterData","ClientRect","Clipboard","ClipboardEvent","ClipboardItem","CloseEvent","Comment","CompositionEvent","ConstantSourceNode","ConvolverNode","CountQueuingStrategy","Credential","CredentialsContainer","Crypto","CryptoKey","CustomElementRegistry","CustomEvent","DOMException","DOMImplementation","DOMMatrix","DOMMatrixReadOnly","DOMParser","DOMPoint","DOMPointReadOnly","DOMQuad","DOMRect","DOMRectList","DOMRectReadOnly","DOMStringList","DOMStringMap","DOMTokenList","DataTransfer","DataTransferItem","DataTransferItemList","DataView","Date","DelayNode","DeviceMotionEvent","DeviceOrientationEvent","Document","DocumentFragment","DocumentTimeline","DocumentType","DragEvent","DynamicsCompressorNode","Element","ElementInternals","Enumerator","Error","ErrorEvent","EvalError","Event","EventCounts","EventSource","EventTarget","External","File","FileList","FileReader","FileSystem","FileSystemDirectoryEntry","FileSystemDirectoryHandle","FileSystemDirectoryReader","FileSystemEntry","FileSystemFileEntry","FileSystemFileHandle","FileSystemHandle","FinalizationRegistry","Float32Array","Float64Array","FocusEvent","FontFace","FontFaceSet","FontFaceSetLoadEvent","FormData","FormDataEvent","Function","GainNode","Gamepad","GamepadButton","GamepadEvent","GamepadHapticActuator","Geolocation","GeolocationCoordinates","GeolocationPosition","GeolocationPositionError","HTMLAllCollection","HTMLAnchorElement","HTMLAreaElement","HTMLAudioElement","HTMLBRElement","HTMLBaseElement","HTMLBodyElement","HTMLButtonElement","HTMLCanvasElement","HTMLCollection","HTMLDListElement","HTMLDataElement","HTMLDataListElement","HTMLDetailsElement","HTMLDialogElement","HTMLDirectoryElement","HTMLDivElement","HTMLDocument","HTMLElement","HTMLEmbedElement","HTMLFieldSetElement","HTMLFontElement","HTMLFormControlsCollection","HTMLFormElement","HTMLFrameElement","HTMLFrameSetElement","HTMLHRElement","HTMLHeadElement","HTMLHeadingElement","HTMLHtmlElement","HTMLIFrameElement","HTMLImageElement","HTMLInputElement","HTMLLIElement","HTMLLabelElement","HTMLLegendElement","HTMLLinkElement","HTMLMapElement","HTMLMarqueeElement","HTMLMediaElement","HTMLMenuElement","HTMLMetaElement","HTMLMeterElement","HTMLModElement","HTMLOListElement","HTMLObjectElement","HTMLOptGroupElement","HTMLOptionElement","HTMLOptionsCollection","HTMLOutputElement","HTMLParagraphElement","HTMLParamElement","HTMLPictureElement","HTMLPreElement","HTMLProgressElement","HTMLQuoteElement","HTMLScriptElement","HTMLSelectElement","HTMLSlotElement","HTMLSourceElement","HTMLSpanElement","HTMLStyleElement","HTMLTableCaptionElement","HTMLTableCellElement","HTMLTableColElement","HTMLTableElement","HTMLTableRowElement","HTMLTableSectionElement","HTMLTemplateElement","HTMLTextAreaElement","HTMLTimeElement","HTMLTitleElement","HTMLTrackElement","HTMLUListElement","HTMLUnknownElement","HTMLVideoElement","HashChangeEvent","Headers","History","IDBCursor","IDBCursorWithValue","IDBDatabase","IDBFactory","IDBIndex","IDBKeyRange","IDBObjectStore","IDBOpenDBRequest","IDBRequest","IDBTransaction","IDBVersionChangeEvent","IIRFilterNode","IdleDeadline","Image","ImageBitmap","ImageBitmapRenderingContext","ImageData","Infinity","InputDeviceInfo","InputEvent","Int16Array","Int32Array","Int8Array","InternalError","IntersectionObserver","IntersectionObserverEntry","Intl","JSON","KeyboardEvent","KeyframeEffect","Location","Lock","LockManager","Map","Math","MathMLElement","MediaCapabilities","MediaDeviceInfo","MediaDevices","MediaElementAudioSourceNode","MediaEncryptedEvent","MediaError","MediaKeyMessageEvent","MediaKeySession","MediaKeyStatusMap","MediaKeySystemAccess","MediaKeys","MediaList","MediaMetadata","MediaQueryList","MediaQueryListEvent","MediaRecorder","MediaRecorderErrorEvent","MediaSession","MediaSource","MediaStream","MediaStreamAudioDestinationNode","MediaStreamAudioSourceNode","MediaStreamTrack","MediaStreamTrackEvent","MessageChannel","MessageEvent","MessagePort","MimeType","MimeTypeArray","MouseEvent","MutationEvent","MutationObserver","MutationRecord","NaN","NamedNodeMap","NavigationPreloadManager","Navigator","NetworkInformation","Node","NodeFilter","NodeIterator","NodeList","Notification","Number","Object","OfflineAudioCompletionEvent","OfflineAudioContext","Option","OscillatorNode","OverconstrainedError","PageTransitionEvent","PannerNode","Path2D","PaymentAddress","PaymentMethodChangeEvent","PaymentRequest","PaymentRequestUpdateEvent","PaymentResponse","Performance","PerformanceEntry","PerformanceEventTiming","PerformanceMark","PerformanceMeasure","PerformanceNavigation","PerformanceNavigationTiming","PerformanceObserver","PerformanceObserverEntryList","PerformancePaintTiming","PerformanceResourceTiming","PerformanceServerTiming","PerformanceTiming","PeriodicWave","PermissionStatus","Permissions","PictureInPictureWindow","Plugin","PluginArray","PointerEvent","PopStateEvent","ProcessingInstruction","ProgressEvent","Promise","PromiseRejectionEvent","Proxy","PublicKeyCredential","PushManager","PushSubscription","PushSubscriptionOptions","RTCCertificate","RTCDTMFSender","RTCDTMFToneChangeEvent","RTCDataChannel","RTCDataChannelEvent","RTCDtlsTransport","RTCEncodedAudioFrame","RTCEncodedVideoFrame","RTCError","RTCErrorEvent","RTCIceCandidate","RTCIceTransport","RTCPeerConnection","RTCPeerConnectionIceErrorEvent","RTCPeerConnectionIceEvent","RTCRtpReceiver","RTCRtpSender","RTCRtpTransceiver","RTCSctpTransport","RTCSessionDescription","RTCStatsReport","RTCTrackEvent","RadioNodeList","Range","RangeError","ReadableByteStreamController","ReadableStream","ReadableStreamBYOBReader","ReadableStreamBYOBRequest","ReadableStreamDefaultController","ReadableStreamDefaultReader","ReferenceError","Reflect","RegExp","RemotePlayback","Request","ResizeObserver","ResizeObserverEntry","ResizeObserverSize","Response","SVGAElement","SVGAngle","SVGAnimateElement","SVGAnimateMotionElement","SVGAnimateTransformElement","SVGAnimatedAngle","SVGAnimatedBoolean","SVGAnimatedEnumeration","SVGAnimatedInteger","SVGAnimatedLength","SVGAnimatedLengthList","SVGAnimatedNumber","SVGAnimatedNumberList","SVGAnimatedPreserveAspectRatio","SVGAnimatedRect","SVGAnimatedString","SVGAnimatedTransformList","SVGAnimationElement","SVGCircleElement","SVGClipPathElement","SVGComponentTransferFunctionElement","SVGCursorElement","SVGDefsElement","SVGDescElement","SVGElement","SVGEllipseElement","SVGFEBlendElement","SVGFEColorMatrixElement","SVGFEComponentTransferElement","SVGFECompositeElement","SVGFEConvolveMatrixElement","SVGFEDiffuseLightingElement","SVGFEDisplacementMapElement","SVGFEDistantLightElement","SVGFEDropShadowElement","SVGFEFloodElement","SVGFEFuncAElement","SVGFEFuncBElement","SVGFEFuncGElement","SVGFEFuncRElement","SVGFEGaussianBlurElement","SVGFEImageElement","SVGFEMergeElement","SVGFEMergeNodeElement","SVGFEMorphologyElement","SVGFEOffsetElement","SVGFEPointLightElement","SVGFESpecularLightingElement","SVGFESpotLightElement","SVGFETileElement","SVGFETurbulenceElement","SVGFilterElement","SVGForeignObjectElement","SVGGElement","SVGGeometryElement","SVGGradientElement","SVGGraphicsElement","SVGImageElement","SVGLength","SVGLengthList","SVGLineElement","SVGLinearGradientElement","SVGMPathElement","SVGMarkerElement","SVGMaskElement","SVGMatrix","SVGMetadataElement","SVGNumber","SVGNumberList","SVGPathElement","SVGPatternElement","SVGPoint","SVGPointList","SVGPolygonElement","SVGPolylineElement","SVGPreserveAspectRatio","SVGRadialGradientElement","SVGRect","SVGRectElement","SVGSVGElement","SVGScriptElement","SVGSetElement","SVGStopElement","SVGStringList","SVGStyleElement","SVGSwitchElement","SVGSymbolElement","SVGTSpanElement","SVGTextContentElement","SVGTextElement","SVGTextPathElement","SVGTextPositioningElement","SVGTitleElement","SVGTransform","SVGTransformList","SVGUnitTypes","SVGUseElement","SVGViewElement","SafeArray","Screen","ScreenOrientation","ScriptProcessorNode","SecurityPolicyViolationEvent","Selection","ServiceWorker","ServiceWorkerContainer","ServiceWorkerRegistration","Set","ShadowRoot","SharedArrayBuffer","SharedWorker","SourceBuffer","SourceBufferList","SpeechRecognitionAlternative","SpeechRecognitionErrorEvent","SpeechRecognitionResult","SpeechRecognitionResultList","SpeechSynthesis","SpeechSynthesisErrorEvent","SpeechSynthesisEvent","SpeechSynthesisUtterance","SpeechSynthesisVoice","StaticRange","StereoPannerNode","Storage","StorageEvent","StorageManager","String","StyleMedia","StyleSheet","StyleSheetList","SubmitEvent","SubtleCrypto","Symbol","SyntaxError","Text","TextDecoder","TextDecoderStream","TextEncoder","TextEncoderStream","TextMetrics","TextTrack","TextTrackCue","TextTrackCueList","TextTrackList","TimeRanges","Touch","TouchEvent","TouchList","TrackEvent","TransformStream","TransformStreamDefaultController","TransitionEvent","TreeWalker","TypeError","UIEvent","URIError","URL","URLSearchParams","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","VBArray","VTTCue","VTTRegion","ValidityState","VarDate","VideoColorSpace","VideoPlaybackQuality","VisualViewport","WSH","WScript","WaveShaperNode","WeakMap","WeakRef","WeakSet","WebAssembly","WebGL2RenderingContext","WebGLActiveInfo","WebGLBuffer","WebGLContextEvent","WebGLFramebuffer","WebGLProgram","WebGLQuery","WebGLRenderbuffer","WebGLRenderingContext","WebGLSampler","WebGLShader","WebGLShaderPrecisionFormat","WebGLSync","WebGLTexture","WebGLTransformFeedback","WebGLUniformLocation","WebGLVertexArrayObject","WebKitCSSMatrix","WebSocket","WheelEvent","Window","Worker","Worklet","WritableStream","WritableStreamDefaultController","WritableStreamDefaultWriter","XMLDocument","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload","XMLSerializer","XPathEvaluator","XPathExpression","XPathResult","XSLTProcessor","addEventListener","alert","atob","blur","btoa","caches","cancelAnimationFrame","cancelIdleCallback","captureEvents","clearInterval","clearTimeout","clientInformation","close","closed","confirm","console","createImageBitmap","crossOriginIsolated","crypto","customElements","decodeURI","decodeURIComponent","devicePixelRatio","dispatchEvent","document","encodeURI","encodeURIComponent","escape","eval","event","external","fetch","focus","frameElement","frames","getComputedStyle","getSelection","global","globalThis","history","importScripts","indexedDB","innerHeight","innerWidth","isFinite","isNaN","isSecureContext","length","localStorage","location","locationbar","matchMedia","menubar","moveBy","moveTo","name","navigator","onabort","onafterprint","onanimationcancel","onanimationend","onanimationiteration","onanimationstart","onauxclick","onbeforeprint","onbeforeunload","onblur","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncuechange","ondblclick","ondevicemotion","ondeviceorientation","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongamepadconnected","ongamepaddisconnected","ongotpointercapture","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onorientationchange","onpagehide","onpageshow","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onpopstate","onprogress","onratechange","onrejectionhandled","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onselectionchange","onselectstart","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitioncancel","ontransitionend","ontransitionrun","ontransitionstart","onunhandledrejection","onunload","onvolumechange","onwaiting","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkittransitionend","onwheel","open","opener","orientation","origin","outerHeight","outerWidth","pageXOffset","pageYOffset","parent","parseFloat","parseInt","performance","personalbar","postMessage","print","process","prompt","queueMicrotask","releaseEvents","removeEventListener","reportError","requestAnimationFrame","requestIdleCallback","resizeBy","resizeTo","screen","screenLeft","screenTop","screenX","screenY","scroll","scrollBy","scrollTo","scrollX","scrollY","scrollbars","self","sessionStorage","setInterval","setTimeout","speechSynthesis","status","statusbar","stop","structuredClone","toString","toolbar","top","undefined","unescape","visualViewport","webkitURL","window"]);l();function bv(e,t,r,n="svelte",i,s,a,u,o){let c=`${n}/internal`;return i.sort((d,p)=>d.name<p.name?-1:1),s.sort((d,p)=>d.name<p.name?-1:1),tG(e,t,r,n,c,i,s,a,u,o)}function Jz(e,t){return e==="svelte"||e.startsWith("svelte/")?e.replace("svelte",t):e}function eG(e,t){return e.length>0&&{type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"ObjectPattern",properties:e.map(r=>({type:"Property",method:!1,shorthand:!1,computed:!1,key:{type:"Identifier",name:r.name},value:r.alias,kind:"init"}))},init:t.find(({name:r})=>r==="globals").alias}]}}function tG(e,t,r,n,i,s,a,u,o,c){let d={type:"ImportDeclaration",specifiers:s.map(y=>({type:"ImportSpecifier",local:y.alias,imported:{type:"Identifier",name:y.name}})),source:{type:"Literal",value:i}},p=eG(a,s);function f(y){let w=Jz(y.source.value,n);y.source.value!==w&&(y.source.value=w,y.source.raw=null)}u.forEach(f),c.forEach(f);let m=o.length>0&&{type:"ExportNamedDeclaration",specifiers:o.map(y=>({type:"Specifier",local:{type:"Identifier",name:y.name},exported:{type:"Identifier",name:y.as}}))};e.body=_`
|
|
/* ${r} */
|
|
|
|
${d}
|
|
${p}
|
|
${u}
|
|
${c}
|
|
|
|
${e.body}
|
|
|
|
export default ${t};
|
|
${m}
|
|
`}l();l();var DE=jr(hi(),1),Nh=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},Dh=class e{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,n=this.original.slice(0,r),i=this.original.slice(r);this.original=n;let s=new e(t,this.end,i);return s.outro=this.outro,this.outro="",this.end=t,this.edited?(s.edit("",!1),this.content=""):this.content=n,s.next=this.next,s.next&&(s.next.previous=s),s.previous=this,this.next=s,s}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function rG(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var nG=rG(),xv=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=(0,DE.encode)(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+nG(this.toString())}};function iG(e){let t=e.split(`
|
|
`),r=t.filter(s=>/^\t+/.test(s)),n=t.filter(s=>/^ {2,}/.test(s));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let i=n.reduce((s,a)=>{let u=/^ +/.exec(a)[0].length;return Math.min(u,s)},1/0);return new Array(i+1).join(" ")}function sG(e,t){let r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let i=r.length;for(;i--;)r[i]=".."}return r.concat(n).join("/")}var aG=Object.prototype.toString;function oG(e){return aG.call(e)==="[object Object]"}function NE(e){let t=e.split(`
|
|
`),r=[];for(let n=0,i=0;n<t.length;n++)r.push(i),i+=t[n].length+1;return function(i){let s=0,a=r.length;for(;s<a;){let c=s+a>>1;i<r[c]?a=c:s=c+1}let u=s-1,o=i-r[u];return{line:u,column:o}}}var lG=/\w/,wv=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,i){if(r.length){let s=r.length-1,a=r.indexOf(`
|
|
`,0),u=-1;for(;a>=0&&s>a;){let c=[this.generatedCodeColumn,t,n.line,n.column];i>=0&&c.push(i),this.rawSegments.push(c),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,u=a,a=r.indexOf(`
|
|
`,a+1)}let o=[this.generatedCodeColumn,t,n.line,n.column];i>=0&&o.push(i),this.rawSegments.push(o),this.advance(r.slice(u+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,n,i,s){let a=r.start,u=!0,o=!1;for(;a<r.end;){if(this.hires||u||s.has(a)){let c=[this.generatedCodeColumn,t,i.line,i.column];this.hires==="boundary"?lG.test(n[a])?o||(this.rawSegments.push(c),o=!0):(this.rawSegments.push(c),o=!1):this.rawSegments.push(c)}n[a]===`
|
|
`?(i.line+=1,i.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,u=!0):(i.column+=1,this.generatedCodeColumn+=1,u=!1),a+=1}this.pending=null}advance(t){if(!t)return;let r=t.split(`
|
|
`);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},Da=`
|
|
`,Hi={insertLeft:!1,insertRight:!1,storeName:!1},Bh=class e{constructor(t,r={}){let n=new Dh(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Nh},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename}),r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;let i=r.next,s=i&&i.clone();s&&(n.next=s,s.previous=n,n=s),r=i}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new Nh(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,n=Object.keys(this.storedNames),i=new wv(t.hires),s=NE(this.original);return this.intro&&i.advance(this.intro),this.firstChunk.eachNext(a=>{let u=s(a.start);a.intro.length&&i.advance(a.intro),a.edited?i.addEdit(r,a.content,u,a.storeName?n.indexOf(a.original):-1):i.addUneditedChunk(r,a,this.original,u,this.sourcemapLocations),a.outro.length&&i.advance(a.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?sG(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:i.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new xv(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=iG(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){let n=/^[^\r\n]/gm;if(oG(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};let i={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(d=>{for(let p=d[0];p<d[1];p+=1)i[p]=!0});let s=r.indentStart!==!1,a=c=>s?`${t}${c}`:(s=!0,c);this.intro=this.intro.replace(n,a);let u=0,o=this.firstChunk;for(;o;){let c=o.end;if(o.edited)i[u]||(o.content=o.content.replace(n,a),o.content.length&&(s=o.content[o.content.length-1]===`
|
|
`));else for(u=o.start;u<c;){if(!i[u]){let d=this.original[u];d===`
|
|
`?s=!0:d!=="\r"&&s&&(s=!1,u===o.start||(this._splitChunk(o,u),o=o.next),o.prependRight(t))}u+=1}u=o.end,o=o.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return Hi.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Hi.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return Hi.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Hi.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let i=this.byStart[t],s=this.byEnd[r],a=i.previous,u=s.next,o=this.byStart[n];if(!o&&s===this.lastChunk)return this;let c=o?o.previous:this.lastChunk;return a&&(a.next=u),u&&(u.previous=a),c&&(c.next=i),o&&(o.previous=s),i.previous||(this.firstChunk=s.next),s.next||(this.lastChunk=i.previous,this.lastChunk.next=null),i.previous=c,s.next=o||null,c||(this.firstChunk=i),o||(this.lastChunk=s),this}overwrite(t,r,n,i){return i=i||{},this.update(t,r,n,{...i,overwrite:!i.contentOnly})}update(t,r,n,i){if(typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),i===!0&&(Hi.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Hi.storeName=!0),i={storeName:!0});let s=i!==void 0?i.storeName:!1,a=i!==void 0?i.overwrite:!1;if(s){let c=this.original.slice(t,r);Object.defineProperty(this.storedNames,c,{writable:!0,value:!0,enumerable:!0})}let u=this.byStart[t],o=this.byEnd[r];if(u){let c=u;for(;c!==o;){if(c.next!==this.byStart[c.end])throw new Error("Cannot overwrite across a split point");c=c.next,c.edit("",!1)}u.edit(n,s,!a)}else{let c=new Dh(t,r,"").edit(n,s);o.next=c,c.previous=o}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(Da);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(Da),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(Da),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(Da),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(Da),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length){if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",i=this.firstChunk;for(;i&&(i.start>t||i.end<=t);){if(i.start<r&&i.end>=r)return n;i=i.next}if(i&&i.edited&&i.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let s=i;for(;i;){i.intro&&(s!==i||i.start===t)&&(n+=i.intro);let a=i.start<r&&i.end>=r;if(a&&i.edited&&i.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let u=s===i?t-i.start:0,o=a?i.content.length+r-i.end:i.content.length;if(n+=i.content.slice(u,o),i.outro&&(!a||i.end===r)&&(n+=i.outro),a)break;i=i.next}return n}snip(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){let i=NE(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${i.line}:${i.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let i=n.end,s=n.trimEnd(r);if(n.end!==i&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),s)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let i=n.end,s=n.trimStart(r);if(n.end!==i&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),s)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(s,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(u,o)=>o==="$"?"$":o==="&"?s[0]:+o<s.length?s[+o]:`$${o}`):r(...s,s.index,a,s.groups)}function i(s,a){let u,o=[];for(;u=s.exec(a);)o.push(u);return o}if(t.global)i(t,this.original).forEach(a=>{if(a.index!=null){let u=n(a,this.original);u!==a[0]&&this.overwrite(a.index,a.index+a[0].length,u)}});else{let s=this.original.match(t);if(s&&s.index!=null){let a=n(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}}return this}_replaceString(t,r){let{original:n}=this,i=n.indexOf(t);return i!==-1&&this.overwrite(i,i+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,i=t.length;for(let s=n.indexOf(t);s!==-1;s=n.indexOf(t,s+i))n.slice(s,s+i)!==r&&this.overwrite(s,s+i,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};l();l();var jh={};function Fh(e,t){e.type==="Literal"?t.add(e.value):e.type==="ConditionalExpression"?(Fh(e.consequent,t),Fh(e.alternate,t)):t.add(jh)}var kr={NotPossible:0,Possible:1,UnknownSelectorType:2},Hh={Probably:0,Definitely:1},BE=new Map([["details",new Set(["open"])],["dialog",new Set(["open"])]]),uG=/[^\\],(?!([^([]+[^\\]|[^([\\])[)\]])/,Ba=class{constructor(t,r){g(this,"node");g(this,"stylesheet");g(this,"blocks");g(this,"local_blocks");g(this,"used");this.node=t,this.stylesheet=r,this.blocks=fG(t);let n=this.blocks.length;for(;n>0&&this.blocks[n-1].global;)n-=1;this.local_blocks=this.blocks.slice(0,n);let i=this.blocks.length===1&&this.blocks[0].host,s=this.blocks.length===1&&this.blocks[0].root;this.used=this.local_blocks.length===0||i||s}apply(t){let r=[];Cv(this.local_blocks.slice(),t,r),r.length>0&&(r.forEach(({node:n,block:i})=>{this.stylesheet.nodes_with_css_class.add(n),i.should_encapsulate=!0}),this.used=!0)}minify(t){let r=null;this.blocks.forEach((n,i)=>{i>0&&n.start-r>1&&t.update(r,n.start,n.combinator.name||" "),r=n.end})}transform(t,r,n){let i=n-this.blocks.filter(u=>u.should_encapsulate).length;function s(u){let o=u.children[0],c=u.children[u.children.length-1];t.remove(u.start,o.start).remove(c.end,u.end)}function a(u,o){for(let d of u.selectors)d.type==="PseudoClassSelector"&&d.name==="global"&&s(d);let c=u.selectors.length;for(;c--;){let d=u.selectors[c];if(d.type==="PseudoElementSelector"||d.type==="PseudoClassSelector"){d.name!=="root"&&d.name!=="host"&&c===0&&t.prependRight(d.start,o);continue}d.type==="TypeSelector"&&d.name==="*"?t.update(d.start,d.end,o):t.appendLeft(d.end,o);break}}this.blocks.forEach((u,o)=>{u.global&&s(u.selectors[0]),u.should_encapsulate&&a(u,o===this.blocks.length-1?r.repeat(i+1):r)})}validate(t){let r=0,n=this.blocks.length;for(;r<n&&this.blocks[r].global;r+=1);for(;n>r&&this.blocks[n-1].global;n-=1);for(let i=r;i<n;i+=1)if(this.blocks[i].global)return t.error(this.blocks[i].selectors[0],M.css_invalid_global);this.validate_global_with_multiple_selectors(t),this.validate_global_compound_selector(t),this.validate_invalid_combinator_without_selector(t)}validate_global_with_multiple_selectors(t){if(!(this.blocks.length===1&&this.blocks[0].selectors.length===1))for(let r of this.blocks)for(let n of r.selectors)n.type==="PseudoClassSelector"&&n.name==="global"&&uG.test(n.children[0].value)&&t.error(n,M.css_invalid_global_selector)}validate_invalid_combinator_without_selector(t){for(let r=0;r<this.blocks.length;r++){let n=this.blocks[r];n.combinator&&n.selectors.length===0&&t.error(this.node,M.css_invalid_selector(t.source.slice(this.node.start,this.node.end))),!n.combinator&&n.selectors.length===0&&t.error(this.node,M.css_invalid_selector(t.source.slice(this.node.start,this.node.end)))}}validate_global_compound_selector(t){for(let r of this.blocks)for(let n=0;n<r.selectors.length;n++){let i=r.selectors[n];i.type==="PseudoClassSelector"&&i.name==="global"&&n!==0&&i.children&&i.children.length>0&&!/[.:#[\s]/.test(i.children[0].value[0])&&t.error(i,M.css_invalid_global_selector_position)}}get_amount_class_specificity_increased(){let t=0;for(let r of this.blocks)r.should_encapsulate&&t++;return t}};function Cv(e,t,r){let n=e.pop();if(!n)return!1;if(!t)return n.global&&e.every(i=>i.global)||n.host&&e.length===0;switch(FE(n,t)){case kr.NotPossible:return!1;case kr.UnknownSelectorType:return r.push({node:t,block:n}),!0}if(n.combinator){if(n.combinator.type==="Combinator"&&n.combinator.name===" "){for(let i of e){if(i.global)continue;if(i.host)return r.push({node:t,block:n}),!0;let s=t;for(;s=$v(s);)FE(i,s)!==kr.NotPossible&&r.push({node:s,block:i});if(r.length)return r.push({node:t,block:n}),!0}return e.every(i=>i.global)?(r.push({node:t,block:n}),!0):!1}else{if(n.combinator.name===">")return e.every(s=>s.global)||Cv(e,$v(t),r)?(r.push({node:t,block:n}),!0):!1;if(n.combinator.name==="+"||n.combinator.name==="~"){let[i,s]=VE(t,n.combinator.name==="+"),a=!1;if(e.some(o=>o.global))return i.size===0&&$v(t)!==null&&!s?!1:(r.push({node:t,block:n}),!0);for(let o of i.keys())Cv(e.slice(),o,r)&&(r.push({node:t,block:n}),a=!0);return a}}return r.push({node:t,block:n}),!0}return r.push({node:t,block:n}),!0}var cG=/\\(.)/g;function FE(e,t){let r=e.selectors.length;for(;r--;){let n=e.selectors[r],i=typeof n.name=="string"&&n.name.replace(cG,"$1");if(n.type==="PseudoClassSelector"&&(i==="host"||i==="root")||e.selectors.length===1&&n.type==="PseudoClassSelector"&&i==="global")return kr.NotPossible;if(!(n.type==="PseudoClassSelector"||n.type==="PseudoElementSelector"))if(n.type==="ClassSelector"){if(!kv(t,"class",i,"~=",!1)&&!t.classes.some(s=>s.name===i))return kr.NotPossible}else if(n.type==="IdSelector"){if(!kv(t,"id",i,"=",!1))return kr.NotPossible}else if(n.type==="AttributeSelector"){if(!(BE.has(t.name.toLowerCase())&&BE.get(t.name.toLowerCase()).has(n.name.name.toLowerCase()))&&!kv(t,n.name.name,n.value&&dG(n.value),n.matcher,n.flags))return kr.NotPossible}else if(n.type==="TypeSelector"){if(t.name.toLowerCase()!==i.toLowerCase()&&i!=="*"&&!t.is_dynamic_element)return kr.NotPossible}else return kr.UnknownSelectorType}return kr.Possible}function jE(e,t,r,n){switch(r&&(t=t.toLowerCase(),n=n.toLowerCase()),e){case"=":return n===t;case"~=":return n.split(/\s/).includes(t);case"|=":return`${n}-`.startsWith(`${t}-`);case"^=":return n.startsWith(t);case"$=":return n.endsWith(t);case"*=":return n.includes(t);default:throw new Error("this shouldn't happen")}}function kv(e,t,r,n,i){if(e.attributes.find(c=>c.type==="Spread")||e.bindings.some(c=>c.name===t))return!0;let a=e.attributes.find(c=>c.name===t);if(!a)return!1;if(a.is_true)return n===null;if(r==null)return!0;if(a.chunks.length===1){let c=a.chunks[0];if(!c)return!1;if(c.type==="Text")return jE(n,r,i,c.data)}let u=new Set,o=[];for(let c of a.chunks){let d=new Set;if(c.type==="Text"?d.add(c.data):Fh(c.node,d),d.has(jh))return!0;if(o.length>0){let p=[],f=[];if(d.forEach(m=>{ui.test(m)?p.push(m):f.push(m)}),f.length>0){p.length>0&&o.forEach(y=>u.add(y));let m=[];o.forEach(y=>{f.forEach(w=>{m.push(y+w)})}),o=m,p.forEach(y=>{ff.test(y)?u.add(y):o.push(y)});continue}else o.forEach(m=>u.add(m)),o=[]}if(d.forEach(p=>{ff.test(p)?u.add(p):o.push(p)}),o.length<d.size&&o.push(" "),o.length>20)return!0}if(o.forEach(c=>u.add(c)),u.has(jh))return!0;for(let c of u)if(jE(n,r,i,c))return!0;return!1}function dG(e){if(e.type==="Identifier")return e.name;let t=e.value;return t[0]===t[t.length-1]&&t[0]==="'"||t[0]==='"'?t.slice(1,t.length-1):t}function $v(e){let t=e;for(;(t=t.parent)&&t.type!=="Element";);return t}function pG(e){let t=e,r=!1;do{if(t.type==="Slot"){r=!0;let n=t.children;if(n.length>0){t=n.slice(-1)[0];continue}}for(;!t.prev&&t.parent&&t.parent.type==="Slot";)t=t.parent;t=t.prev}while(t&&t.type==="Slot");return[t,r]}function VE(e,t){let r=new Map,n=e,i=!1,s=!1;for(;([n,s]=pG(n))&&n;)if(i=i||s,n.type==="Element"){if(n.attributes.find(a=>a.type==="Attribute"&&a.name.toLowerCase()==="slot")||r.set(n,Hh.Definitely),t)break}else if(n.type==="EachBlock"||n.type==="IfBlock"||n.type==="AwaitBlock"){let a=Sv(n,t);if($r(a,r),t&&sn(a))return[r,i]}if(!n||!t){let a=e,u=e.type==="ElseBlock";for(;(a=a.parent)&&(a.type==="EachBlock"||a.type==="IfBlock"||a.type==="ElseBlock"||a.type==="AwaitBlock");){let[o,c]=VE(a,t);if(i=i||c,$r(o,r),a.type==="EachBlock"?u?u=!1:$r(Sv(a,t),r):a.type==="ElseBlock"&&(u=!0,a=a.parent),t&&sn(o))break}}return[r,i]}function Sv(e,t){let r=new Map;if(e.type==="EachBlock"){let n=ni(e.children,t),i=e.else?ni(e.else.children,t):new Map;!sn(i)&&(ri(n),ri(i)),$r(n,r),$r(i,r)}else if(e.type==="IfBlock"){let n=ni(e.children,t),i=e.else?ni(e.else.children,t):new Map;(!sn(n)||!sn(i))&&(ri(n),ri(i)),$r(n,r),$r(i,r)}else if(e.type==="AwaitBlock"){let n=e.pending?ni(e.pending.children,t):new Map,i=e.then?ni(e.then.children,t):new Map,s=e.catch?ni(e.catch.children,t):new Map;(!sn(n)||!sn(i)||!sn(s))&&(ri(n),ri(i),ri(s)),$r(n,r),$r(i,r),$r(s,r)}return r}function sn(e){if(e.size===0)return!1;for(let t of e.values())if(t===Hh.Definitely)return!0;return!1}function $r(e,t){e.forEach((r,n)=>{t.set(n,hG(r,t.get(n)))})}function hG(e,t){return e===void 0||t===void 0?e||t:e>t?e:t}function ri(e){for(let t of e.keys())e.set(t,Hh.Probably)}function ni(e,t){let r=new Map;for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.type==="Element"){if(r.set(i,Hh.Definitely),t)break}else if(i.type==="EachBlock"||i.type==="IfBlock"||i.type==="AwaitBlock"){let s=Sv(i,t);if($r(s,r),t&&sn(s))break}}return r}var Vh=class{constructor(t){g(this,"host");g(this,"root");g(this,"combinator");g(this,"selectors");g(this,"start");g(this,"end");g(this,"should_encapsulate");this.combinator=t,this.host=!1,this.root=!1,this.selectors=[],this.start=null,this.end=null,this.should_encapsulate=!1}add(t){this.selectors.length===0&&(this.start=t.start,this.host=t.type==="PseudoClassSelector"&&t.name==="host"),this.root=this.root||t.type==="PseudoClassSelector"&&t.name==="root",this.selectors.push(t),this.end=t.end}get global(){return this.selectors.length>=1&&this.selectors[0].type==="PseudoClassSelector"&&this.selectors[0].name==="global"&&this.selectors.every(t=>t.type==="PseudoClassSelector"||t.type==="PseudoElementSelector")}};function fG(e){let t=new Vh(null),r=[t];return e.children.forEach(n=>{n.type==="WhiteSpace"||n.type==="Combinator"?(t=new Vh(n),r.push(t)):t.add(n)}),r}var mG=/^-((webkit)|(moz)|(o)|(ms))-/;function HE(e){return e.replace(mG,"")}var Fa=e=>HE(e.name)==="keyframes",_G=({block:e})=>e&&e.children&&e.children.find(t=>t.type==="Declaration");function UE(e,t,r){let n=t;return r.forEach((i,s)=>{let a=s>0?";":"";i.node.start-n>a.length&&e.update(n,i.node.start,a),i.minify(e),n=i.node.end}),n}var Ev=class{constructor(t,r,n){g(this,"selectors");g(this,"declarations");g(this,"node");g(this,"parent");this.node=t,this.parent=n,this.selectors=t.prelude.children.map(i=>new Ba(i,r)),this.declarations=t.block.children.map(i=>new Uh(i))}apply(t){this.selectors.forEach(r=>r.apply(t))}is_used(t){return this.parent&&this.parent.node.type==="Atrule"&&Fa(this.parent.node)?!0:this.declarations.length===0?t:this.selectors.some(r=>r.used)}minify(t,r){let n=this.node.start,i=!1;this.selectors.forEach(s=>{if(s.used){let a=i?",":"";s.node.start-n>a.length&&t.update(n,s.node.start,a),s.minify(t),n=s.node.end,i=!0}}),t.remove(n,this.node.block.start),n=this.node.block.start+1,n=UE(t,n,this.declarations),t.remove(n,this.node.block.end-1)}transform(t,r,n,i){if(this.parent&&this.parent.node.type==="Atrule"&&Fa(this.parent.node))return!0;let s=`.${r}`;this.selectors.forEach(a=>a.transform(t,s,i)),this.declarations.forEach(a=>a.transform(t,n))}validate(t){this.selectors.forEach(r=>{r.validate(t)})}warn_on_unused_selector(t){this.selectors.forEach(r=>{r.used||t(r)})}get_max_amount_class_specificity_increased(){return Math.max(...this.selectors.map(t=>t.get_amount_class_specificity_increased()))}},Uh=class{constructor(t){g(this,"node");this.node=t}transform(t,r){let n=this.node.property&&HE(this.node.property.toLowerCase());(n==="animation"||n==="animation-name")&&this.node.value.children.forEach(i=>{if(i.type==="Identifier"){let s=i.name;r.has(s)&&t.update(i.start,i.end,r.get(s))}})}minify(t){if(!this.node.property)return;let r=this.node.start+this.node.property.length,n=this.node.value.children?this.node.value.children[0]:this.node.value;if(n.type==="Raw"&&io.test(n.value))return;let i=n.start;for(;Bt.test(t.original[i]);)i+=1;i-r>1&&t.update(r,i,":")}},Rv=class{constructor(t){g(this,"node");g(this,"children");g(this,"declarations");this.node=t,this.children=[],this.declarations=[]}apply(t){this.node.name==="container"||this.node.name==="media"||this.node.name==="supports"||this.node.name==="layer"?this.children.forEach(r=>{r.apply(t)}):Fa(this.node)&&this.children.forEach(r=>{r.selectors.forEach(n=>{n.used=!0})})}is_used(t){return!0}minify(t,r){if(this.node.name==="media"){let n=t.original[this.node.prelude.start],i=this.node.start+(n==="("?6:7);this.node.prelude.start>i&&t.remove(i,this.node.prelude.start),this.node.prelude.children.forEach(s=>{i=s.end}),t.remove(i,this.node.block.start)}else if(this.node.name==="supports"){let n=this.node.start+9;this.node.prelude.start-n>1&&t.update(n,this.node.prelude.start," "),this.node.prelude.children.forEach(i=>{n=i.end}),t.remove(n,this.node.block.start)}else{let n=this.node.start+this.node.name.length+1;this.node.prelude&&(this.node.prelude.start-n>1&&t.update(n,this.node.prelude.start," "),n=this.node.prelude.end),this.node.block&&this.node.block.start-n>0&&t.remove(n,this.node.block.start)}if(this.node.block){let n=this.node.block.start+1;this.declarations.length&&(n=UE(t,n,this.declarations),this.children.length&&n++),this.children.forEach(i=>{i.is_used(r)&&(t.remove(n,i.node.start),i.minify(t,r),n=i.node.end)}),t.remove(n,this.node.block.end-1)}}transform(t,r,n,i){Fa(this.node)&&this.node.prelude.children.forEach(({type:s,name:a,start:u,end:o})=>{s==="Identifier"&&(a.startsWith("-global-")?(t.remove(u,u+8),this.children.forEach(c=>{c.selectors.forEach(d=>{d.used=!0})})):t.update(u,o,n.get(a)))}),this.children.forEach(s=>{s.transform(t,r,n,i)})}validate(t){this.children.forEach(r=>{r.validate(t)})}warn_on_unused_selector(t){this.node.name==="media"&&this.children.forEach(r=>{r.warn_on_unused_selector(t)})}get_max_amount_class_specificity_increased(){return Math.max(...this.children.map(t=>t.get_max_amount_class_specificity_increased()))}},gG=({css:e,hash:t})=>`svelte-${t(e)}`,ja=class{constructor({source:t,ast:r,component_name:n,filename:i,dev:s,get_css_hash:a=gG}){g(this,"source");g(this,"ast");g(this,"filename");g(this,"dev");g(this,"has_styles");g(this,"id");g(this,"children",[]);g(this,"keyframes",new Map);g(this,"nodes_with_css_class",new Set);if(this.source=t,this.ast=r,this.filename=i,this.dev=s,r.css&&r.css.children.length){this.id=a({filename:i,name:n,css:r.css.content.styles,hash:Nn}),this.has_styles=!0;let u=[],o=0,c=null;we(r.css,{enter:d=>{if(d.type==="Atrule"){let p=new Rv(d);if(u.push(p),c?c.children.push(p):o<=1&&this.children.push(p),Fa(d))d.prelude.children.forEach(f=>{f.type==="Identifier"&&!f.name.startsWith("-global-")&&this.keyframes.set(f.name,`${this.id}-${f.name}`)});else if(_G(d)){let f=d.block.children.filter(m=>m.type==="Declaration").map(m=>new Uh(m));hr(p.declarations,f)}c=p}if(d.type==="Rule"){let p=new Ev(d,this,c);c?c.children.push(p):o<=1&&this.children.push(p)}o+=1},leave:d=>{d.type==="Atrule"&&(u.pop(),c=u[u.length-1]),o-=1}})}else this.has_styles=!1}apply(t){if(this.has_styles)for(let r=0;r<this.children.length;r+=1)this.children[r].apply(t)}reify(){this.nodes_with_css_class.forEach(t=>{t.add_css_class()})}render(t){if(!this.has_styles)return{code:null,map:null};let r=new Bh(this.source);we(this.ast.css,{enter:s=>{r.addSourcemapLocation(s.start),r.addSourcemapLocation(s.end)}});let n=Math.max(...this.children.map(s=>s.get_max_amount_class_specificity_increased()));this.children.forEach(s=>{s.transform(r,this.id,this.keyframes,n)});let i=0;return this.children.forEach(s=>{s.is_used(this.dev)&&(r.remove(i,s.node.start),s.minify(r,this.dev),i=s.node.end)}),r.remove(i,this.source.length),{code:r.toString(),map:r.generateMap({includeContent:!0,source:this.filename,file:t})}}validate(t){this.children.forEach(r=>{r.validate(t)})}warn_on_unused_selectors(t){let r=this.ast.css?Zi(this.ast.css.start,this.ast.html.children):[];t.push_ignores(r),this.children.forEach(n=>{n.warn_on_unused_selector(i=>{t.warn(i.node,ae.css_unused_selector(this.source.slice(i.node.start,i.node.end)))})}),t.pop_ignores()}};l();l();var Va=class e{constructor(t){g(this,"names");g(this,"dependencies_for_name");g(this,"owners",new Map);g(this,"parent");this.parent=t,this.names=new Set(t?t.names:[]),this.dependencies_for_name=new Map(t?t.dependencies_for_name:[])}add(t,r,n){return this.names.add(t),this.dependencies_for_name.set(t,r),this.owners.set(t,n),this}child(){return new e(this)}is_top_level(t){return!this.parent||!this.names.has(t)&&this.parent.is_top_level(t)}get_owner(t){return this.owners.get(t)||this.parent&&this.parent.get_owner(t)}is_let(t){let r=this.get_owner(t);return r&&(r.type==="Element"||r.type==="InlineComponent"||r.type==="SlotTemplate")}is_await(t){let r=this.get_owner(t);return r&&(r.type==="ThenBlock"||r.type==="CatchBlock")}is_const(t){let r=this.get_owner(t);return r&&r.type==="ConstTag"}};var Ha=class extends he{constructor(r,n){let i=new Va;super(r,null,i,n);g(this,"block");g(this,"children");g(this,"scope");this.scope=i,this.children=bt(r,this,i,n.children)}};l();var Ui=new Set(["HtmlTag","HtmlTagHydration","ResizeObserverSingleton","SvelteComponent","SvelteComponentDev","SvelteComponentTyped","SvelteElement","action_destroyer","add_attribute","add_classes","add_flush_callback","add_iframe_resize_listener","add_location","add_render_callback","add_styles","add_transform","afterUpdate","append","append_dev","append_empty_stylesheet","append_hydration","append_hydration_dev","append_styles","assign","attr","attr_dev","attribute_to_object","beforeUpdate","bind","binding_callbacks","blank_object","bubble","check_outros","children","claim_comment","claim_component","claim_element","claim_html_tag","claim_space","claim_svg_element","claim_text","clear_loops","comment","component_subscribe","compute_rest_props","compute_slots","construct_svelte_component","construct_svelte_component_dev","contenteditable_truthy_values","createEventDispatcher","create_animation","create_bidirectional_transition","create_component","create_custom_element","create_in_transition","create_out_transition","create_slot","create_ssr_component","current_component","custom_event","dataset_dev","debug","destroy_block","destroy_component","destroy_each","detach","detach_after_dev","detach_before_dev","detach_between_dev","detach_dev","dirty_components","dispatch_dev","each","element","element_is","empty","end_hydrating","ensure_array_like","ensure_array_like_dev","escape","escape_attribute_value","escape_object","exclude_internal_props","fix_and_destroy_block","fix_and_outro_and_destroy_block","fix_position","flush","flush_render_callbacks","getAllContexts","getContext","get_all_dirty_from_scope","get_binding_group_value","get_current_component","get_custom_elements_slots","get_root_for_style","get_slot_changes","get_spread_object","get_spread_update","get_store_value","get_svelte_dataset","globals","group_outros","handle_promise","hasContext","has_prop","head_selector","identity","init","init_binding_group","init_binding_group_dynamic","insert","insert_dev","insert_hydration","insert_hydration_dev","intros","invalid_attribute_name_character","is_client","is_crossorigin","is_empty","is_function","is_promise","is_void","listen","listen_dev","loop","loop_guard","merge_ssr_styles","missing_component","mount_component","noop","not_equal","now","null_to_empty","object_without_properties","onDestroy","onMount","once","outro_and_destroy_block","prevent_default","prop_dev","query_selector_all","raf","resize_observer_border_box","resize_observer_content_box","resize_observer_device_pixel_content_box","run","run_all","safe_not_equal","schedule_update","select_multiple_value","select_option","select_options","select_value","self","setContext","set_attributes","set_current_component","set_custom_element_data","set_custom_element_data_map","set_data","set_data_contenteditable","set_data_contenteditable_dev","set_data_dev","set_data_maybe_contenteditable","set_data_maybe_contenteditable_dev","set_dynamic_element_data","set_input_type","set_input_value","set_now","set_raf","set_store_value","set_style","set_svg_attributes","space","split_css_unit","spread","src_url_equal","srcset_url_equal","start_hydrating","stop_immediate_propagation","stop_propagation","stringify_spread","subscribe","svg_element","text","tick","time_ranges_to_array","to_number","toggle_class","transition_in","transition_out","trusted","update_await_block_branch","update_keyed_each","update_slot","update_slot_base","validate_component","validate_dynamic_element","validate_each_keys","validate_slots","validate_store","validate_void_dynamic_element","xlink_attr"]);l();function Pv(e,t){if(!pt(e,t))return!1;if(!t)return!0;switch(t.type){case"VariableDeclarator":return e!==t.id;case"FunctionDeclaration":case"ImportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ExportSpecifier":return!1;default:return!0}}l();var Av="4.2.19";var vG=/^[/\\]/,zE=/^Export/,GE=/Function/,Ua=class{constructor(t,r,n,i,s,a){g(this,"stats");g(this,"warnings");g(this,"ignores");g(this,"ignore_stack",[]);g(this,"ast");g(this,"original_ast");g(this,"source");g(this,"name");g(this,"compile_options");g(this,"fragment");g(this,"module_scope");g(this,"instance_scope");g(this,"instance_scope_map");g(this,"component_options");g(this,"namespace");g(this,"tag");g(this,"accessors");g(this,"vars",[]);g(this,"var_lookup",new Map);g(this,"imports",[]);g(this,"exports_from",[]);g(this,"instance_exports_from",[]);g(this,"hoistable_nodes",new Set);g(this,"node_for_declaration",new Map);g(this,"partly_hoisted",[]);g(this,"fully_hoisted",[]);g(this,"reactive_declarations",[]);g(this,"reactive_declaration_nodes",new Set);g(this,"has_reactive_assignments",!1);g(this,"injected_reactive_declaration_vars",new Set);g(this,"helpers",new Map);g(this,"globals",new Map);g(this,"indirect_dependencies",new Map);g(this,"file");g(this,"locate");g(this,"meta_locate");g(this,"elements",[]);g(this,"stylesheet");g(this,"aliases",new Map);g(this,"used_names",new Set);g(this,"globally_used_names",new Set);g(this,"slots",new Map);g(this,"slot_outlets",new Set);g(this,"tags",[]);this.name={type:"Identifier",name:n},this.stats=s,this.warnings=a,this.ast=t,this.source=r,this.compile_options=i,this.original_ast=br({html:t.html,css:t.css,instance:t.instance,module:t.module}),this.file=i.filename&&(typeof process<"u"?i.filename.replace(process.cwd(),"").replace(vG,""):i.filename),this.locate=Jo(this.source,{offsetLine:1});let u;this.meta_locate=o=>{let c=this.locate(o);return u===void 0&&(u=i.sourcemap?new zh.TraceMap(i.sourcemap):null),u&&(c=(0,zh.originalPositionFor)(u,c)),c},this.stylesheet=new ja({source:r,ast:t,filename:i.filename,component_name:n,dev:i.dev,get_css_hash:i.cssHash}),this.stylesheet.validate(this),this.component_options=bG(this,this.ast.html.children),this.namespace=Ve[this.component_options.namespace]||this.component_options.namespace,i.customElement?this.tag=this.component_options.customElement?.tag||i.tag||this.name.name:this.tag=this.name.name,this.walk_module_js(),this.push_ignores(this.ast.instance?Zi(this.ast.instance.start,this.ast.html.children):[]),this.walk_instance_js_pre_template(),this.pop_ignores(),this.fragment=new Ha(this,t.html),this.name=this.get_unique_name(n),this.push_ignores(this.ast.instance?Zi(this.ast.instance.start,this.ast.html.children):[]),this.walk_instance_js_post_template(),this.pop_ignores(),this.elements.forEach(o=>this.stylesheet.apply(o)),this.stylesheet.reify(),this.stylesheet.warn_on_unused_selectors(this)}add_var(t,r,n=!0){if(this.vars.push(r),n){if(this.var_lookup.has(r.name)){let i=this.var_lookup.get(r.name);i.module&&i.imported&&this.error(t,M.illegal_variable_declaration)}this.var_lookup.set(r.name,r)}}add_reference(t,r){let n=this.var_lookup.get(r);if(n)n.referenced=!0;else if(Gt(r))this.add_var(t,{name:r,injected:!0,referenced:!0});else if(r[0]==="$"){this.add_var(t,{name:r,injected:!0,referenced:!0,mutated:!0,writable:!0});let i=r.slice(1),s=this.var_lookup.get(i);s&&(s.referenced=!0,s.subscribable=!0)}else this.compile_options.varsReport==="full"&&this.add_var(t,{name:r,referenced:!0},!1),this.used_names.add(r)}alias(t){return this.aliases.has(t)||this.aliases.set(t,this.get_unique_name(t)),this.aliases.get(t)}apply_stylesheet(t){this.elements.push(t)}global(t){let r=this.alias(t);return this.globals.set(t,r),r}generate(t){let r=null,n=null;if(t){let{compile_options:i,name:s}=this,a=`${this.file?`${this.file} `:""}generated by Svelte v${Av}`,u={type:"Program",body:t.js};we(u,{enter:(p,f,m)=>{if(p.type==="Identifier"){if(p.name[0]==="@")if(p.name[1]==="_"){let y=this.global(p.name.slice(2));p.name=y.name}else{let y=p.name.slice(1);i.hydratable&&(Ui.has(`${y}_hydration`)?y+="_hydration":Ui.has(`${y}Hydration`)&&(y+="Hydration")),i.dev&&(Ui.has(`${y}_dev`)?y+="_dev":Ui.has(`${y}Dev`)&&(y+="Dev"));let w=this.alias(y);this.helpers.set(y,w),p.name=w.name}else if(p.name[0]!=="#"&&!P0(p.name)){let y={type:"Literal",value:p.name};f.type==="Property"&&m==="key"?f.key=y:f.type==="MemberExpression"&&m==="property"&&(f.property=y,f.computed=!0)}}}});let o=Array.from(this.globals,([p,f])=>p!==f.name&&{name:p,alias:f}).filter(Boolean);o.length&&this.helpers.set("globals",this.alias("globals"));let c=Array.from(this.helpers,([p,f])=>({name:p,alias:f}));if(bv(u,s,a,i.sveltePath,c,o,this.imports,this.vars.filter(p=>p.module&&p.export_name).map(p=>({name:p.name,as:p.export_name})),this.exports_from),n=i.customElement?{code:null,map:null}:t.css,!ti(i.enableSourcemap,"js"))r=is(u),r.map=null;else{let p=kG(i);r=is(u,{sourceMapSource:p}),r.map.sources=[p],r.map.sourcesContent=[this.source],r.map=Mh(p,r.map,i.sourcemap)}}return{js:r,css:n,ast:this.original_ast,warnings:this.warnings,vars:this.get_vars_report(),stats:this.stats.render()}}get_unique_name(t,r){let n=t;for(let i=1;Ls.has(n)||this.var_lookup.has(n)||this.used_names.has(n)||this.globally_used_names.has(n)||r&&r.has(n);)n=`${t}_${i++}`;return this.used_names.add(n),{type:"Identifier",name:n}}get_unique_name_maker(){let t=new Set;function r(n){t.add(n)}return Ls.forEach(r),Ui.forEach(r),this.var_lookup.forEach((n,i)=>r(i)),n=>{let i=n;for(let s=1;this.used_names.has(i)||t.has(i);i=`${n}_${s++}`);return t.add(i),this.globally_used_names.add(i),{type:"Identifier",name:i}}}get_vars_report(){let{compile_options:t,vars:r}=this;return(t.varsReport===!1?[]:t.varsReport==="full"?r:r.filter(i=>!i.global&&!i.internal)).map(i=>({name:i.name,export_name:i.export_name||null,injected:i.injected||!1,module:i.module||!1,mutated:i.mutated||!1,reassigned:i.reassigned||!1,referenced:i.referenced||!1,writable:i.writable||!1,referenced_from_script:i.referenced_from_script||!1}))}error(t,r){this.compile_options.errorMode==="warn"?this.warn(t,r):Is(r.message,{name:"ValidationError",code:r.code,source:this.source,start:t.start,end:t.end,filename:this.compile_options.filename})}warn(t,r){if(this.ignores&&this.ignores.has(r.code))return;let n=this.locate(t.start),i=this.locate(t.end),s=Ms(this.source,n.line-1,n.column);this.warnings.push({code:r.code,message:r.message,frame:s,start:n,end:i,pos:t.start,filename:this.compile_options.filename,toString:()=>`${r.message} (${n.line}:${n.column})
|
|
${s}`})}extract_imports(t){this.imports.push(t)}extract_exports(t,r=!1){let n=_f(t);n.length&&this.push_ignores(n);let i=this._extract_exports(t,r);return n.length&&this.pop_ignores(),i}_extract_exports(t,r){if(t.type==="ExportDefaultDeclaration")return this.error(t,M.default_export);if(t.type==="ExportNamedDeclaration"){if(t.source)return r?this.exports_from.push(t):this.instance_exports_from.push(t),null;if(t.declaration){if(t.declaration.type==="VariableDeclaration")t.declaration.declarations.forEach(n=>{Ye(n.id).forEach(i=>{let s=this.var_lookup.get(i);s.export_name=i,n.init?.type==="Literal"&&typeof n.init.value=="boolean"&&(s.is_boolean=!0),!r&&s.writable&&!(s.referenced||s.referenced_from_script||s.subscribable)&&this.warn(n,ae.unused_export_let(this.name.name,i))})});else{let{name:n}=t.declaration.id,i=this.var_lookup.get(n);i.export_name=n}return t.declaration}else return t.specifiers.forEach(n=>{let i=this.var_lookup.get(n.local.name);i&&(i.export_name=n.exported.name,!r&&i.writable&&!(i.referenced||i.referenced_from_script||i.subscribable)&&this.warn(n,ae.unused_export_let(this.name.name,n.exported.name)))}),null}}extract_javascript(t){return t?t.content.body.filter(r=>!(!r||this.hoistable_nodes.has(r)||this.reactive_declaration_nodes.has(r)||r.type==="ImportDeclaration"||r.type==="ExportDeclaration"&&r.specifiers.length>0)):null}walk_module_js(){let t=this,r=this.ast.module;if(!r)return;we(r.content,{enter(u){u.type==="LabeledStatement"&&u.label.name==="$"&&t.warn(u,ae.module_script_reactive_declaration)}});let{scope:n,globals:i}=Mi(r.content);this.module_scope=n,n.declarations.forEach((u,o)=>{if(o[0]==="$")return this.error(u,M.illegal_declaration);let c=u.type==="VariableDeclaration"&&(u.kind==="var"||u.kind==="let"),d=u.type.startsWith("Import");this.add_var(u,{name:o,module:!0,hoistable:!0,writable:c,imported:d})}),i.forEach((u,o)=>{if(o[0]==="$")return this.error(u,M.illegal_subscription);this.add_var(u,{name:o,global:!0,hoistable:!0})});let{body:s}=r.content,a=s.length;for(;--a>=0;){let u=s[a];if(u.type==="ImportDeclaration"&&(this.extract_imports(u),s.splice(a,1)),zE.test(u.type)){let o=this.extract_exports(u,!0);o?s[a]=o:s.splice(a,1)}}}walk_instance_js_pre_template(){let t=this.ast.instance;if(!t)return;t.content.body.forEach(u=>{if(u.type!=="LabeledStatement"||u.body.type!=="ExpressionStatement")return;let{expression:o}=u.body;o.type==="AssignmentExpression"&&o.left.type!=="MemberExpression"&&Ye(o.left).forEach(c=>{!this.var_lookup.has(c)&&c[0]!=="$"&&this.injected_reactive_declaration_vars.add(c)})});let{scope:r,map:n,globals:i}=Mi(t.content);this.instance_scope=r,this.instance_scope_map=n,r.declarations.forEach((u,o)=>{if(o[0]==="$")return this.error(u,M.illegal_declaration);let{type:c}=u;this.add_var(u,{name:o,initialised:r.initialised_declarations.has(o),imported:c.startsWith("Import"),writable:c==="VariableDeclaration"&&(u.kind==="var"||u.kind==="let")}),this.node_for_declaration.set(o,u)});let s=Array.from(i.keys());[...s.filter(u=>u[0]!=="$"),...s.filter(u=>u[0]==="$")].forEach(u=>{if(this.var_lookup.has(u))return;let o=i.get(u);if(this.injected_reactive_declaration_vars.has(u))this.add_var(o,{name:u,injected:!0,writable:!0,reassigned:!0,initialised:!0});else if(Gt(u))this.add_var(o,{name:u,injected:!0});else if(u[0]==="$"){if(u==="$"||u[1]==="$")return this.error(o,M.illegal_global(u));this.add_var(o,{name:u,injected:!0,mutated:!0,writable:!0}),this.add_reference(o,u.slice(1));let c=this.var_lookup.get(u.slice(1));c&&(c.subscribable=!0,c.referenced_from_script=!0)}else this.add_var(o,{name:u,global:!0,hoistable:!0})}),this.track_references_and_mutations()}walk_instance_js_post_template(){this.ast.instance&&(this.post_template_walk(),this.hoist_instance_declarations(),this.extract_reactive_declarations(),this.check_if_tags_content_dynamic())}post_template_walk(){let t=this.ast.instance;if(!t)return;let r=this,{content:n}=t,{instance_scope:i,instance_scope_map:s}=this,a=i,u=[],o=(f,m,y)=>{u.unshift([f,m,y])},c=!1,d=[],p=null;we(n,{enter(f,m,y,w){(f.type==="FunctionDeclaration"||f.type==="FunctionExpression")&&d.push(p=f),s.has(f)&&(a=s.get(f));let b=!1,$=[];if(f.type==="AssignmentExpression")f.left.type==="ArrayPattern"?we(f.left,{enter(C,R){C.type==="Identifier"&&R.type!=="MemberExpression"&&(R.type!=="AssignmentPattern"||R.right!==C)&&$.push(C.name)}}):(b=f.left.type==="MemberExpression",$=b?[rt(f.left).name]:Ye(f.left));else if(f.type==="UpdateExpression"){b=f.argument.type==="MemberExpression";let{name:C}=rt(f.argument);$.push(C)}if($.length>0&&$.forEach(C=>{let R=a,E;for(;R;){if(R.declarations.has(C)){E=R.declarations.get(C);break}R=R.parent}E&&E.kind==="const"&&!b&&r.error(f,{code:"assignment-to-const",message:"You are assigning to a const"})}),f.type==="ImportDeclaration")return r.extract_imports(f),o(m,y,w),this.skip();if(zE.test(f.type)){let C=r.extract_exports(f);return C?this.replace(C):o(m,y,w),this.skip()}r.warn_on_undefined_store_value_references(f,m,y,a)},leave(f){if((f.type==="FunctionDeclaration"||f.type==="FunctionExpression")&&(d.pop(),p=d[d.length-1]),r.compile_options.dev&&r.compile_options.loopGuardTimeout>0&&(!p||!p.generator&&!p.async)){let m=r.loop_protect(f,a,r.compile_options.loopGuardTimeout);m&&(this.replace(m),c=!0)}s.has(f)&&(a=a.parent)}});for(let[f,m,y]of u)f&&(y!==null?f[m].splice(y,1):delete f[m]);if(c){let{scope:f,map:m}=Mi(t.content);this.instance_scope=f,this.instance_scope_map=m}}track_references_and_mutations(){let t=this.ast.instance;if(!t)return;let r=this,{content:n}=t,{instance_scope:i,module_scope:s,instance_scope_map:a}=this,u=i;we(n,{enter(o,c){if(a.has(o)&&(u=a.get(o)),o.type==="AssignmentExpression"||o.type==="UpdateExpression"){let d=o.type==="AssignmentExpression"?o.left:o.argument,p=Ye(d),f=d.type==="MemberExpression";p.forEach(m=>{let y=u.find_owner(m);if(y!==null?y===i:s&&s.has(m)){let w=r.var_lookup.get(m);w[f?"mutated":"reassigned"]=!0}})}if(Pv(o,c)){let d=rt(o);if(u.find_owner(d.name)===i){let p=r.var_lookup.get(d.name);p.referenced_from_script=!0}}},leave(o){a.has(o)&&(u=u.parent)}})}warn_on_undefined_store_value_references(t,r,n,i){if(t.type==="LabeledStatement"&&t.label.name==="$"&&r.type!=="Program"&&this.warn(t,ae.non_top_level_reactive_declaration),pt(t,r)){let s=rt(t),{name:a}=s;if(a[0]==="$"&&(i.has(a)||this.warn_if_undefined(a,s,null),a[1]!=="$"&&i.has(a.slice(1))&&i.find_owner(a.slice(1))!==this.instance_scope&&!(GE.test(r.type)&&n==="params"||r.type==="VariableDeclarator"&&n==="id")))return this.error(t,M.contextual_store)}}loop_protect(t,r,n){if(t.type==="WhileStatement"||t.type==="ForStatement"||t.type==="DoWhileStatement"){let i=this.get_unique_name("guard",r);this.used_names.add(i.name);let s=_`const ${i} = @loop_guard(${n})`,a=_`${i}();`;return t.body.type!=="BlockStatement"&&(t.body={type:"BlockStatement",body:[t.body]}),t.body.body.push(a[0]),{type:"BlockStatement",body:[s[0],t]}}return null}rewrite_props(t){if(!this.ast.instance)return;let r=this,{instance_scope:n,instance_scope_map:i}=this,s=n;we(this.ast.instance.content,{enter(a){if(GE.test(a.type))return this.skip();if(i.has(a)&&(s=i.get(a)),a.type==="ExportNamedDeclaration"&&a.declaration)return this.replace(a.declaration);if(a.type==="VariableDeclaration"&&(a.kind==="var"||s===n)){let c=function(d,p,f){o.push({type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:d,value:f?{type:"AssignmentPattern",left:p,right:f}:p})},u=[],o=[];for(let d=0;d<a.declarations.length;d++){let p=a.declarations[d];if(p.id.type!=="Identifier"){let f=function(y){let w=r.var_lookup.get(y.name);if(w.subscribable&&u.push(t(w)),w.export_name&&w.writable){let b=r.get_unique_name(y.name);return c({type:"Identifier",name:w.export_name},y,b),b}return y},m=function(y){switch(y.type){case"ObjectPattern":{let w=b=>{b.type==="RestElement"?m(b):b.value.type==="Identifier"?b.value=f(b.value):m(b.value)};y.properties.forEach(w);break}case"ArrayPattern":{let w=(b,$,C)=>{b&&(b.type==="Identifier"?C[$]=f(b):m(b))};y.elements.forEach(w);break}case"RestElement":y.argument.type==="Identifier"?y.argument=f(y.argument):m(y.argument);break;case"AssignmentPattern":y.left.type==="Identifier"?y.left=f(y.left):m(y.left);break}};m(p.id)}else{let{name:f}=p.id,m=r.var_lookup.get(f),y=m.export_name&&m.writable;y&&(c({type:"Identifier",name:m.export_name},p.id,p.init),a.declarations.splice(d--,1)),m.subscribable&&(y||p.init)&&u.push(t(m))}}return this.replace(_`
|
|
${a.declarations.length?a:null}
|
|
${o.length>0&&_`let { ${o} } = $$props;`}
|
|
${u}
|
|
`),this.skip()}},leave(a){i.has(a)&&(s=s.parent)}})}hoist_instance_declarations(){let{hoistable_nodes:t,var_lookup:r,injected_reactive_declaration_vars:n,imports:i}=this,s=new Map,{body:a}=this.ast.instance.content;for(let d=0;d<a.length;d+=1){let p=a[d];p.type==="VariableDeclaration"&&p.declarations.every(m=>{if(!m.init||m.init.type!=="Literal"||p.kind!=="const"&&this.compile_options.dev)return!1;for(let y of Ye(m.id)){let w=this.var_lookup.get(y);if(w.reassigned||w.export_name||this.vars.find(b=>b.name===y&&b.module))return!1}return!0})&&(p.declarations.forEach(m=>{for(let y of Ye(m.id))this.var_lookup.get(y).hoistable=!0}),t.add(p),a.splice(d--,1),this.fully_hoisted.push(p)),p.type==="ExportNamedDeclaration"&&p.declaration&&p.declaration.type==="FunctionDeclaration"&&s.set(p.declaration.id.name,p),p.type==="FunctionDeclaration"&&s.set(p.id.name,p)}let u=new Set,o=new Set,c=d=>{d.type==="ExportNamedDeclaration"&&(d=d.declaration);let p=this.instance_scope,f=this.instance_scope,m=this.instance_scope_map,y=!0;return o.add(d),we(d,{enter(w,b){if(!y)return this.skip();if(m.has(w)&&(f=m.get(w)),pt(w,b)){let{name:$}=Ht(w),C=f.find_owner($);if(n.has($))y=!1;else if($[0]==="$"&&!C)y=!1;else if(C===p){let R=r.get($);if((R.reassigned||R.mutated)&&(y=!1),$===d.id.name||R.hoistable)return;if(s.has($)){let E=s.get($);o.has(E)||E.type==="ExportNamedDeclaration"&&o.has(E.declaration)?y=!1:c(E)||(y=!1)}else y=!1}this.skip()}},leave(w){m.has(w)&&(f=f.parent)}}),u.add(d),o.delete(d),y};for(let[d,p]of s)if(c(p)){let f=this.var_lookup.get(d);f.hoistable=!0,t.add(p);let m=a.indexOf(p);a.splice(m,1),this.fully_hoisted.push(p)}for(let{specifiers:d}of i)for(let p of d){let f=r.get(p.local.name);(!f.mutated||f.subscribable)&&(f.hoistable=!0)}}extract_reactive_declarations(){let t=this,r=[];this.ast.instance.content.body.forEach(a=>{let u=_f(a);if(u.length&&this.push_ignores(u),a.type==="LabeledStatement"&&a.label.name==="$"){this.reactive_declaration_nodes.add(a);let o=new Set,c=new Set,d=new Set,p=new Set,f=this.instance_scope,{declarations:m}=this.instance_scope,y=this.instance_scope_map;we(a.body,{enter($,C){if($.type==="VariableDeclaration"&&$.kind==="var"&&$.declarations.some(E=>!!Ye(E.id).find(Y=>m.get(Y)===$)))return t.error($,M.invalid_var_declaration);if(y.has($)&&(f=y.get($)),$.type==="AssignmentExpression"){let R=rt($.left);_r(R).forEach(E=>{c.add(E),o.add(E.name)}),$.operator!=="="&&d.add(R.name)}else if($.type==="UpdateExpression"){let R=rt($.argument);o.add(R.name)}else if(pt($,C)){let R=rt($);if(!c.has(R)){let{name:E}=R,H=f.find_owner(E),Y=t.var_lookup.get(E),P=!0;Y&&(Y.is_reactive_dependency=!0,Y.module&&Y.writable&&(P=!1,p.add(E)));let j=Y&&(Y.writable||Y.mutated);P&&(!H||H===t.instance_scope)&&(E[0]==="$"||j)&&d.add(E)}this.skip()}},leave($){y.has($)&&(f=f.parent)}}),p.size>0&&d.size===0&&t.warn(a.body,ae.module_script_variable_reactive_declaration(Array.from(p)));let{expression:w}=a.body,b=w&&w.left;r.push({assignees:o,dependencies:d,node:a,declaration:b})}u.length&&this.pop_ignores()});let n=new Map;r.forEach(a=>{a.assignees.forEach(u=>{n.has(u)||n.set(u,[]),n.get(u).push(a)})});let i=ga(r.reduce((a,u)=>(u.assignees.forEach(o=>{u.dependencies.forEach(c=>{u.assignees.has(c)||a.push([o,c])})}),a),[]));if(i&&i.length){let u=n.get(i[0])[0];return this.error(u.node,M.cyclical_reactive_declaration(i))}let s=a=>{this.reactive_declarations.includes(a)||(a.dependencies.forEach(u=>{if(a.assignees.has(u))return;let o=n.get(u);o&&o.forEach(s)}),this.reactive_declarations.push(a))};r.forEach(s)}check_if_tags_content_dynamic(){this.tags.forEach(t=>{t.check_if_content_dynamic()})}warn_if_undefined(t,r,n,i){if(t[0]==="$"){if(t==="$"||t[1]==="$"&&!Gt(t))return this.error(r,M.illegal_global(t));if(this.has_reactive_assignments=!0,Gt(t))return;t=t.slice(1)}if(this.var_lookup.has(t)&&!this.var_lookup.get(t).global||n&&n.names.has(t)||OE.has(t)&&r.type!=="InlineComponent")return;function s(){for(let a=i.parent;a;a=a.parent)if(a.type==="InlineComponent"){let{let_attributes:u}=a;for(let o of u)if(o.expression&&Ye(o.expression).includes(t)||o.name===t)return!0}return!1}if(i&&s())return this.warn(r,{code:"missing-declaration",message:`let:${t} declared on parent component cannot be used inside named slot`});this.warn(r,ae.missing_declaration(t,!!this.ast.instance))}push_ignores(t){this.ignores=new Set(this.ignores||[]),Je(this.ignores,t),this.ignore_stack.push(this.ignores)}pop_ignores(){this.ignore_stack.pop(),this.ignores=this.ignore_stack[this.ignore_stack.length-1]}},yG=/^[a-zA-Z][a-zA-Z0-9]*-[a-zA-Z0-9-]+$/;function bG(e,t){let r={immutable:e.compile_options.immutable||!1,accessors:"accessors"in e.compile_options?e.compile_options.accessors:!!e.compile_options.customElement,preserveWhitespace:!!e.compile_options.preserveWhitespace,namespace:e.compile_options.namespace},n=t.find(s=>s.name==="svelte:options");function i(s,{code:a,message:u}){let{value:o}=s,c=o[0];return c?o.length>1?e.error(s,{code:a,message:u}):c.type==="Text"?c.data:c.expression.type!=="Literal"?e.error(s,{code:a,message:u}):c.expression.value:!0}return n&&n.attributes.forEach(s=>{if(s.type==="Attribute"){let u=function(o,c){if(typeof c!="string"&&c!==null)return e.error(o,M.invalid_tag_attribute);if(c&&!yG.test(c))return e.error(o,M.invalid_tag_property);c&&!e.compile_options.customElement&&e.warn(o,ae.missing_custom_element_compile_options),r.customElement=r.customElement||{},r.customElement.tag=c},{name:a}=s;switch(a){case"tag":{e.warn(s,ae.tag_option_deprecated),u(s,i(s,M.invalid_tag_attribute));break}case"customElement":{r.customElement=r.customElement||{};let{value:o}=s;if(o[0].type==="MustacheTag"&&o[0].expression?.value===null){r.customElement.tag=null;break}else if(o[0].type==="Text"){u(s,i(s,M.invalid_tag_attribute));break}else if(o[0].expression.type!=="ObjectExpression")return e.error(s,M.invalid_customElement_attribute);let c=o[0].expression.properties.find(m=>m.key.name==="tag");if(c)u(c,c.value?.value);else return e.error(s,M.invalid_customElement_attribute);let d=o[0].expression.properties.find(m=>m.key.name==="props");if(d){let m=()=>e.error(s,M.invalid_props_attribute);if(d.value?.type!=="ObjectExpression")return m();r.customElement.props={};for(let y of d.value.properties){if(y.type!=="Property"||y.computed||y.key.type!=="Identifier"||y.value.type!=="ObjectExpression")return m();r.customElement.props[y.key.name]={};for(let w of y.value.properties){if(w.type!=="Property"||w.computed||w.key.type!=="Identifier"||w.value.type!=="Literal"||["reflect","attribute","type"].indexOf(w.key.name)===-1||w.key.name==="type"&&["String","Number","Boolean","Array","Object"].indexOf(w.value.value)===-1||w.key.name==="reflect"&&typeof w.value.value!="boolean"||w.key.name==="attribute"&&typeof w.value.value!="string")return m();r.customElement.props[y.key.name][w.key.name]=w.value.value}}}let p=o[0].expression.properties.find(m=>m.key.name==="shadow");if(p){let m=p.value?.value;if(m!=="open"&&m!=="none")return e.error(p,M.invalid_shadow_attribute);r.customElement.shadow=m}let f=o[0].expression.properties.find(m=>m.key.name==="extend");f?.value&&(r.customElement.extend=f.value);break}case"namespace":{let o=i(s,M.invalid_namespace_attribute);if(typeof o!="string")return e.error(s,M.invalid_namespace_attribute);if(Oi.indexOf(o)===-1){let c=qt(o,Oi);return e.error(s,M.invalid_namespace_property(o,c))}r.namespace=o;break}case"accessors":case"immutable":case"preserveWhitespace":{let o=i(s,M.invalid_attribute_value(a));if(typeof o!="boolean")return e.error(s,M.invalid_attribute_value(a));r[a]=o;break}default:return e.error(s,M.invalid_options_attribute_unknown(a))}}else return e.error(s,M.invalid_options_attribute)}),r}function xG(e,t){let r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let i=r.length;for(;i--;)r[i]=".."}return r.concat(n).join("/")}function wG(e){return e.split(/[/\\]/).pop()}function kG(e){return e.filename?e.outputFilename?xG(e.outputFilename,e.filename):wG(e.filename):null}l();var $G=/%/g,CG=/\.[^.]+$/,SG=/[^a-zA-Z_$0-9]+/g,EG=/^(\d)/,RG=/^_?(.+?)_?$/;function qv(e){if(!e)return null;let t=e.split(/[/\\]/).map(encodeURI);if(t.length>1){let n=t[t.length-1].match(/^index(\.\w+)/);n&&(t.pop(),t[t.length-1]+=n[1])}let r=t.pop().replace($G,"u").replace(CG,"").replace(SG,"_").replace(RG,"$1").replace(EG,"_$1");if(!r)throw new Error(`Could not derive component name from file ${e}`);return r[0].toUpperCase()+r.slice(1)}var WE=["name","filename","sourcemap","enableSourcemap","generate","errorMode","varsReport","outputFilename","cssOutputFilename","sveltePath","dev","accessors","immutable","hydratable","legacy","customElement","namespace","tag","css","loopGuardTimeout","preserveComments","preserveWhitespace","cssHash","discloseVersion"],PG=[!0,!1,"injected","external","none"],AG=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/,qG=/^[a-z]/,YE=!1,KE=!1;function TG(e,t){e.format&&(YE||(YE=!0,console.warn('The format option has been removed in Svelte 4, the compiler only outputs ESM now. Remove "format" from your compiler options. If you did not set this yourself, bump the version of your bundler plugin (vite-plugin-svelte/rollup-plugin-svelte/svelte-loader)')),delete e.format);let{name:r,filename:n,loopGuardTimeout:i,dev:s,namespace:a,css:u}=e;if(Object.keys(e).forEach(o=>{if(!WE.includes(o)){let c=qt(o,WE),d=`Unrecognized option '${o}'`;throw c&&(d+=` (did you mean '${c}'?)`),new Error(d)}}),r&&!AG.test(r))throw new Error(`options.name must be a valid identifier (got '${r}')`);if(r&&qG.test(r)){let o="options.name should be capitalised";t.push({code:"options-lowercase-name",message:o,filename:n,toString:()=>o})}if(i&&!s){let o="options.loopGuardTimeout is for options.dev = true only";t.push({code:"options-loop-guard-timeout",message:o,filename:n,toString:()=>o})}if((u===!0||u===!1)&&(e.css=u===!0?"injected":"external",KE||(console.warn(`compilerOptions.css as a boolean is deprecated. Use '${e.css}' instead of ${u}.`),KE=!0)),!PG.includes(e.css))throw new Error(`compilerOptions.css must be 'injected', 'external' or 'none' (got '${e.css}').`);if(a&&Oi.indexOf(a)===-1){let o=qt(a,Oi);throw o?new Error(`Invalid namespace '${a}' (did you mean '${o}'?)`):new Error(`Invalid namespace '${a}'`)}e.discloseVersion==null&&(e.discloseVersion=!0)}function Gh(e,t={}){t=Object.assign({generate:"dom",dev:!1,enableSourcemap:!0,css:"injected"},t);let r=new zi,n=[];TG(t,n),r.start("parse");let i=el(e,t);r.stop("parse"),r.start("create component");let s=new Ua(i,e,t.name||qv(t.filename)||"Component",t,r,n);r.stop("create component");let a=t.generate===!1?null:t.generate==="ssr"?yv(s,t):gv(s,t);return s.generate(a)}l();l();var LG=jr(hi(),1);l();var IG=function(e){let t=e.data,r=t.source,n=t.options||{},i=e.header;try{let{js:s,css:a,warnings:u}=Gh(r);Qh({header:i,data:{result:s.code}})}catch(s){i.err=s.message,Qh({header:i})}};Nv(IG);})();
|