mirror of
https://git.kittycat.homes/zoe/hugo-batsite.git
synced 2024-08-15 03:18:24 +00:00
20 lines
157 KiB
JavaScript
20 lines
157 KiB
JavaScript
|
"use strict";var T=(d,b)=>()=>(b||d((b={exports:{}}).exports,b),b.exports);var e2=T((d3,Ce)=>{var A1=function(d){return d&&d.Math==Math&&d};Ce.exports=A1(typeof globalThis=="object"&&globalThis)||A1(typeof window=="object"&&window)||A1(typeof self=="object"&&self)||A1(typeof global=="object"&&global)||function(){return this}()||Function("return this")()});var L2=T((g3,we)=>{we.exports=function(d){try{return!!d()}catch{return!0}}});var J2=T((h3,qe)=>{var Vt=L2();qe.exports=!Vt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})});var x1=T((m3,Be)=>{var jt=L2();Be.exports=!jt(function(){var d=function(){}.bind();return typeof d!="function"||d.hasOwnProperty("prototype")})});var P1=T((b3,Se)=>{var _t=x1(),y1=Function.prototype.call;Se.exports=_t?y1.bind(y1):function(){return y1.apply(y1,arguments)}});var Oe=T(Le=>{"use strict";var Fe={}.propertyIsEnumerable,Te=Object.getOwnPropertyDescriptor,Ut=Te&&!Fe.call({1:2},1);Le.f=Ut?function(b){var r=Te(this,b);return!!r&&r.enumerable}:Fe});var p1=T((r3,Ie)=>{Ie.exports=function(d,b){return{enumerable:!(d&1),configurable:!(d&2),writable:!(d&4),value:b}}});var D2=T((v3,Ve)=>{var Re=x1(),Ne=Function.prototype,Mt=Ne.bind,uu=Ne.call,Jt=Re&&Mt.bind(uu,uu);Ve.exports=Re?function(d){return d&&Jt(d)}:function(d){return d&&function(){return uu.apply(d,arguments)}}});var Ue=T((A3,_e)=>{var je=D2(),Xt=je({}.toString),zt=je("".slice);_e.exports=function(d){return zt(Xt(d),8,-1)}});var Je=T((y3,Me)=>{var Ht=e2(),Kt=D2(),Wt=L2(),Yt=Ue(),eu=Ht.Object,$t=Kt("".split);Me.exports=Wt(function(){return!eu("z").propertyIsEnumerable(0)})?function(d){return Yt(d)=="String"?$t(d,""):eu(d)}:eu});var iu=T((P3,Xe)=>{var Zt=e2(),Qt=Zt.TypeError;Xe.exports=function(d){if(d==null)throw Qt("Can't call method on "+d);return d}});var E1=T((E3,ze)=>{var Gt=Je(),xt=iu();ze.exports=function(d){return Gt(xt(d))}});var C2=T((D3,He)=>{He.exports=function(d){return typeof d=="function"}});var Z2=T((C3,Ke)=>{var pt=C2();Ke.exports=function(d){return typeof d=="object"?d!==null:pt(d)}});var D1=T((w3,We)=>{var nu=e2(),uo=C2(),eo=function(d){return uo(d)?d:void 0};We.exports=function(d,b){return arguments.length<2?eo(nu[d]):nu[d]&&nu[d][b]}});var $e=T((q3,Ye)=>{var io=D2();Ye.exports=io({}.isPrototypeOf)});var Qe=T((B3,Ze)=>{var no=D1();Ze.exports=no("navigator","userAgent")||""});var ni=T((S3,ii)=>{var ei=e2(),tu=Qe(),Ge=ei.process,xe=ei.Deno,pe=Ge&&Ge.versions||xe&&xe.version,ui=pe&&pe.v8,P2,C1;ui&&(P2=ui.split("."),C1=P2[0]>0&&P2[0]<4?1:+(P2[0]+P2[1]));!C1&&tu&&(P2=tu.match(/Edge\/(\d+)/),(!P2||P2[1]>=74)&&(P2=tu.match(/Chrome\/(\d+)/),P2&&(C1=+P2[1])));ii.exports=C1});var ou=T((F3,oi)=>{var ti=ni(),to=L2();oi.exports=!!Object.getOwnPropertySymbols&&!to(function(){var d=Symbol();return!String(d)||!(Object(d)instanceof Symbol)||!Symbol.sham&&ti&&ti<41})});var lu=T((T3,li)=>{var oo=ou();li.exports=oo&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var fu=T((L3,fi)=>{var lo=e2(),fo=D1(),co=C2(),so=$e(),ao=lu(),go=lo.Object;fi.exports=ao?function(d){return typeof d=="symbol"}:function(d){var b=fo("Symbol");return co(b)&&so(b.prototype,go(d))}});var si=T((O3,ci)=>{var ho=e2(),mo=ho.String;ci.exports=function(d){try{return mo(d)}catch{return"Object"}}});var di=T((I3,ai)=>{var bo=e2(),ko=C2(),ro=si(),vo=bo.TypeError;ai.exports=function(d){if(ko(d))return d;throw vo(ro(d)+" is not a function")}});var hi=T((R3,gi)=>{var Ao=di();gi.exports=function(d,b){var r=d[b];return r==null?void 0:Ao(r)}});var bi=T((N3,mi)=>{var yo=e2(),cu=P1(),su=C2(),au=Z2(),Po=yo.TypeError;mi.exports=function(d,b){var r,f;if(b==="string"&&su(r=d.toString)&&!au(f=cu(r,d))||su(r=d.valueOf)&&!au(f=cu(r,d))||b!=="string"&&su(r=d.toString)&&!au(f=cu(r,d)))return f;throw Po("Can't convert object to primitive value")}});var ri=T((V3,ki)=>{ki.exports=!1});var w1=T((j3,Ai)=>{var vi=e2(),Eo=Object.defineProperty;Ai.exports=function(d,b){try{Eo(vi,d,{value:b,configurable:!0,writable:!0})}catch{vi[d]=b}return b}});var q1=T((_3,Pi)=>{var Do=e2(),Co=w1(),yi="__core-js_shared__",wo=Do[yi]||Co(yi,{});Pi.exports=wo});var du=T((U3,Di)=>{var qo=
|
||
|
`,a0={EOL:_u,tmpdir:ju,tmpDir:Vu,networkInterfaces:c0,getNetworkInterfaces:s0,release:f0,type:l0,cpus:o0,totalmem:t0,freemem:n0,uptime:i0,loadavg:e0,hostname:u0,endianness:pn}}}),$4=t2({"node-modules-polyfills-commonjs:os"(d,b){n2();var r=(Y4(),z4(xn));if(r&&r.default){b.exports=r.default;for(let f in r)b.exports[f]=r[f]}else r&&(b.exports=r)}}),Z4=t2({"node_modules/detect-newline/index.js"(d,b){"use strict";n2();var r=f=>{if(typeof f!="string")throw new TypeError("Expected a string");let C=f.match(/(?:\r?\n)/g)||[];if(C.length===0)return;let L=C.filter(O=>O===`\r
|
||
|
`).length,S=C.length-L;return L>S?`\r
|
||
|
`:`
|
||
|
`};b.exports=r,b.exports.graceful=f=>typeof f=="string"&&r(f)||`
|
||
|
`}}),Q4=t2({"node_modules/jest-docblock/build/index.js"(d){"use strict";n2(),Object.defineProperty(d,"__esModule",{value:!0}),d.extract=B,d.parse=d2,d.parseWithComments=w,d.print=$,d.strip=N;function b(){let z=$4();return b=function(){return z},z}function r(){let z=f(Z4());return r=function(){return z},z}function f(z){return z&&z.__esModule?z:{default:z}}var C=/\*\/$/,L=/^\/\*\*/,S=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,O=/(^|\s+)\/\/([^\r\n]*)/g,k=/^(\r?\n)+/,H=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,J=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,M=/(\r?\n|^) *\* ?/g,K=[];function B(z){let u2=z.match(S);return u2?u2[0].trimLeft():""}function N(z){let u2=z.match(S);return u2&&u2[0]?z.substring(u2[0].length):z}function d2(z){return w(z).pragmas}function w(z){let u2=(0,r().default)(z)||b().EOL;z=z.replace(L,"").replace(C,"").replace(M,"$1");let m2="";for(;m2!==z;)m2=z,z=z.replace(H,"".concat(u2,"$1 $2").concat(u2));z=z.replace(k,"").trimRight();let f2=Object.create(null),R2=z.replace(J,"").replace(k,"").trimRight(),c2;for(;c2=J.exec(z);){let N2=c2[2].replace(O,"");typeof f2[c2[1]]=="string"||Array.isArray(f2[c2[1]])?f2[c2[1]]=K.concat(f2[c2[1]],N2):f2[c2[1]]=N2}return{comments:R2,pragmas:f2}}function $(z){let{comments:u2="",pragmas:m2={}}=z,f2=(0,r().default)(u2)||b().EOL,R2="/**",c2=" *",N2=" */",w2=Object.keys(m2),O1=w2.map(g2=>o2(g2,m2[g2])).reduce((g2,n1)=>g2.concat(n1),[]).map(g2=>c2+" "+g2+f2).join("");if(!u2){if(w2.length===0)return"";if(w2.length===1&&!Array.isArray(m2[w2[0]])){let g2=m2[w2[0]];return"".concat(R2," ").concat(o2(w2[0],g2)[0]).concat(N2)}}let I1=u2.split(f2).map(g2=>"".concat(c2," ").concat(g2)).join(f2)+f2;return R2+f2+(u2?I1:"")+(u2&&w2.length?c2+f2:"")+O1+N2}function o2(z,u2){return K.concat(u2).map(m2=>"@".concat(z," ").concat(m2).trim())}}}),G4=t2({"src/common/end-of-line.js"(d,b){"use strict";n2();function r(S){let O=S.indexOf("\r");return O>=0?S.charAt(O+1)===`
|
||
|
`?"crlf":"cr":"lf"}function f(S){switch(S){case"cr":return"\r";case"crlf":return`\r
|
||
|
`;default:return`
|
||
|
`}}function C(S,O){let k;switch(O){case`
|
||
|
`:k=/\n/g;break;case"\r":k=/\r/g;break;case`\r
|
||
|
`:k=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(O),"."))}let H=S.match(k);return H?H.length:0}function L(S){return S.replace(/\r\n?/g,`
|
||
|
`)}b.exports={guessEndOfLine:r,convertEndOfLineToChars:f,countEndOfLineChars:C,normalizeEndOfLine:L}}}),x4=t2({"src/language-js/utils/get-shebang.js"(d,b){"use strict";n2();function r(f){if(!f.startsWith("#!"))return"";let C=f.indexOf(`
|
||
|
`);return C===-1?f:f.slice(0,C)}b.exports=r}}),p4=t2({"src/language-js/pragma.js"(d,b){"use strict";n2();var{parseWithComments:r,strip:f,extract:C,print:L}=Q4(),{normalizeEndOfLine:S}=G4(),O=x4();function k(M){let K=O(M);K&&(M=M.slice(K.length+1));let B=C(M),{pragmas:N,comments:d2}=r(B);return{shebang:K,text:M,pragmas:N,comments:d2}}function H(M){let K=Object.keys(k(M).pragmas);return K.includes("prettier")||K.includes("format")}function J(M){let{shebang:K,text:B,pragmas:N,comments:d2}=k(M),w=f(B),$=L({pragmas:Object.assign({format:""},N),comments:d2.trimStart()});return(K?"".concat(K,`
|
||
|
`):"")+S($)+(w.startsWith(`
|
||
|
`)?`
|
||
|
`:`
|
||
|
|
||
|
`)+w}b.exports={hasPragma:H,insertPragma:J}}}),u3=t2({"src/utils/is-non-empty-array.js"(d,b){"use strict";n2();function r(f){return Array.isArray(f)&&f.length>0}b.exports=r}}),d0=t2({"src/language-js/loc.js"(d,b){"use strict";n2();var r=u3();function f(k,H){let{ignoreDecorators:J}=H||{};if(!J){let M=k.declaration&&k.declaration.decorators||k.decorators;if(r(M))return f(M[0])}return k.range?k.range[0]:k.start}function C(k){return k.range?k.range[1]:k.end}function L(k,H){let J=f(k);return Number.isInteger(J)&&J===f(H)}function S(k,H){let J=C(k);return Number.isInteger(J)&&J===C(H)}function O(k,H){return L(k,H)&&S(k,H)}b.exports={locStart:f,locEnd:C,hasSameLocStart:L,hasSameLoc:O}}}),e3=t2({"src/language-js/parse/utils/create-parser.js"(d,b){"use strict";n2();var{hasPragma:r}=p4(),{locStart:f,locEnd:C}=d0();function L(S){return S=typeof S=="function"?{parse:S}:S,Object.assign({astFormat:"estree",hasPragma:r,locStart:f,locEnd:C},S)}b.exports=L}}),i3=t2({"src/language-js/utils/is-ts-keyword-type.js"(d,b){"use strict";n2();function r(f){let{type:C}=f;return C.startsWith("TS")&&C.endsWith("Keyword")}b.exports=r}}),n3=t2({"src/language-js/utils/is-block-comment.js"(d,b){"use strict";n2();function r(f){return f.type==="Block"||f.type==="CommentBlock"||f.type==="MultiLine"}b.exports=r}}),t3=t2({"src/language-js/utils/is-type-cast-comment.js"(d,b){"use strict";n2();var r=n3();function f(C){return r(C)&&C.value[0]==="*"&&/@type\b/.test(C.value)}b.exports=f}}),o3=t2({"src/utils/get-last.js"(d,b){"use strict";n2();var r=f=>f[f.length-1];b.exports=r}}),g0=t2({"src/language-js/parse/postprocess/visit-node.js"(d,b){"use strict";n2();function r(f,C){if(Array.isArray(f)){for(let L=0;L<f.length;L++)f[L]=r(f[L],C);return f}if(f&&typeof f=="object"&&typeof f.type=="string"){let L=Object.keys(f);for(let S=0;S<L.length;S++)f[L[S]]=r(f[L[S]],C);return C(f)||f}return f}b.exports=r}}),l3=t2({"src/language-js/parse/postprocess/typescript.js"(d,b){"use strict";n2();var r=Gn(),f=g0();function C(k,H){let{start:J,end:M}=k.loc;throw r(H,{start:{line:J.line,column:J.column+1},end:{line:M.line,column:M.column+1}})}function L(k,H,J){let M=k.decorators;if(!Array.isArray(M))return;let K=H.decorators;(!Array.isArray(K)||K.length!==M.length||M.some(B=>{let N=J.get(B);return!N||!K.includes(N)}))&&C(H,"Leading decorators must be attached to a class declaration")}function S(k,H){k.kind!==166||k.modifiers&&!k.modifiers.some(K=>K.kind===126)||k.initializer&&H.value===null&&C(H,"Abstract property cannot have an initializer")}function O(k,H){let{esTreeNodeToTSNodeMap:J,tsNodeToESTreeNodeMap:M}=H.tsParseResult;f(k,K=>{let B=J.get(K);if(!B)return;let N=M.get(B);N===K&&(L(B,N,M),S(B,N))})}b.exports={throwErrorForInvalidNodes:O}}}),f3=t2({"src/language-js/parse/postprocess/index.js"(d,b){"use strict";n2();var{locStart:r,locEnd:f}=d0(),C=i3(),L=t3(),S=o3(),O=g0(),{throwErrorForInvalidNodes:k}=l3();function H(B,N){if(N.parser==="typescript"&&/@|abstract/.test(N.originalText)&&k(B,N),N.parser!=="typescript"&&N.parser!=="flow"&&N.parser!=="acorn"&&N.parser!=="espree"&&N.parser!=="meriyah"){let w=new Set;B=O(B,$=>{$.leadingComments&&$.leadingComments.some(L)&&w.add(r($))}),B=O(B,$=>{if($.type==="ParenthesizedExpression"){let{expression:o2}=$;if(o2.type==="TypeCastExpression")return o2.range=$.range,o2;let z=r($);if(!w.has(z))return o2.extra=Object.assign(Object.assign({},o2.extra),{},{parenthesized:!0}),o2}})}return B=O(B,w=>{switch(w.type){case"ChainExpression":return J(w.expression);case"LogicalExpression":{if(M(w))return K(w);break}case"VariableDeclaration":{let $=S(w.declarations);$&&$.init&&d2(w,$);break}case"TSParenthesizedType":return C(w.typeAnnotation)||w.typeAnnotation.type==="TSThisType"||(w.typeAnnotation.range=[r(w),f(w)]),w.typeAnnotation;case"TSTypeParameter":if(typeof w.name=="string"){let $=r(w);w.name={type:"Identifier",name:w.name,range:[$,$+w.name.length]}}break;case"SequenceExpression":{let $=S(w.expressions);w.range=[r(w),Math.min(f($),f(w))];break}case"TopicReference":N.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:$}=w;if(N.p
|
||
|
`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",T
|