Anvil/assets/index-B659rHmc.js

10 lines
73 KiB
JavaScript
Raw Normal View History

2024-07-31 10:01:28 +02:00
var qr=Object.create,$e=Object.defineProperty,Br=Object.getOwnPropertyDescriptor,Gr=Object.getOwnPropertyNames,Yr=Object.getPrototypeOf,zr=Object.prototype.hasOwnProperty,n=(a,t)=>$e(a,"name",{value:t,configurable:!0}),f=(a,t)=>()=>(t||a((t={exports:{}}).exports,t),t.exports),Wr=(a,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Gr(t))!zr.call(a,i)&&i!==r&&$e(a,i,{get:()=>t[i],enumerable:!(s=Br(t,i))||s.enumerable});return a},bt=(a,t,r)=>(r=a!=null?qr(Yr(a)):{},Wr(t||!a||!a.__esModule?$e(r,"default",{value:a,enumerable:!0}):r,a)),xt=f((a,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),Z=f((a,t)=>{var r=xt(),s=typeof self=="object"&&self&&self.Object===Object&&self,i=r||s||Function("return this")();t.exports=i}),Ee=f((a,t)=>{var r=Z(),s=r.Symbol;t.exports=s}),Hr=f((a,t)=>{var r=Ee(),s=Object.prototype,i=s.hasOwnProperty,p=s.toString,c=r?r.toStringTag:void 0;function u(y){var m=i.call(y,c),T=y[c];try{y[c]=void 0;var v=!0}catch{}var x=p.call(y);return v&&(m?y[c]=T:delete y[c]),x}n(u,"getRawTag"),t.exports=u}),Xr=f((a,t)=>{var r=Object.prototype,s=r.toString;function i(p){return s.call(p)}n(i,"objectToString"),t.exports=i}),fe=f((a,t)=>{var r=Ee(),s=Hr(),i=Xr(),p="[object Null]",c="[object Undefined]",u=r?r.toStringTag:void 0;function y(m){return m==null?m===void 0?c:p:u&&u in Object(m)?s(m):i(m)}n(y,"baseGetTag"),t.exports=y}),Me=f((a,t)=>{function r(s){var i=typeof s;return s!=null&&(i=="object"||i=="function")}n(r,"isObject"),t.exports=r}),wt=f((a,t)=>{var r=fe(),s=Me(),i="[object AsyncFunction]",p="[object Function]",c="[object GeneratorFunction]",u="[object Proxy]";function y(m){if(!s(m))return!1;var T=r(m);return T==p||T==c||T==i||T==u}n(y,"isFunction"),t.exports=y}),Qr=f((a,t)=>{var r=Z(),s=r["__core-js_shared__"];t.exports=s}),Zr=f((a,t)=>{var r=Qr(),s=function(){var p=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}();function i(p){return!!s&&s in p}n(i,"isMasked"),t.exports=i}),Pt=f((a,t)=>{var r=Function.prototype,s=r.toString;function i(p){if(p!=null){try{return s.call(p)}catch{}try{return p+""}catch{}}return""}n(i,"toSource"),t.exports=i}),en=f((a,t)=>{var r=wt(),s=Zr(),i=Me(),p=Pt(),c=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,y=Function.prototype,m=Object.prototype,T=y.toString,v=m.hasOwnProperty,x=RegExp("^"+T.call(v).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function g(w){if(!i(w)||s(w))return!1;var _=r(w)?x:u;return _.test(p(w))}n(g,"baseIsNative"),t.exports=g}),tn=f((a,t)=>{function r(s,i){return s==null?void 0:s[i]}n(r,"getValue"),t.exports=r}),ie=f((a,t)=>{var r=en(),s=tn();function i(p,c){var u=s(p,c);return r(u)?u:void 0}n(i,"getNative"),t.exports=i}),rn=f((a,t)=>{var r=ie(),s=function(){try{var i=r(Object,"defineProperty");return i({},"",{}),i}catch{}}();t.exports=s}),nn=f((a,t)=>{var r=rn();function s(i,p,c){p=="__proto__"&&r?r(i,p,{configurable:!0,enumerable:!0,value:c,writable:!0}):i[p]=c}n(s,"baseAssignValue"),t.exports=s}),an=f((a,t)=>{function r(s){return function(i,p,c){for(var u=-1,y=Object(i),m=c(i),T=m.length;T--;){var v=m[s?T:++u];if(p(y[v],v,y)===!1)break}return i}}n(r,"createBaseFor"),t.exports=r}),on=f((a,t)=>{var r=an(),s=r();t.exports=s}),sn=f((a,t)=>{function r(s,i){for(var p=-1,c=Array(s);++p<s;)c[p]=i(p);return c}n(r,"baseTimes"),t.exports=r}),Te=f((a,t)=>{function r(s){return s!=null&&typeof s=="object"}n(r,"isObjectLike"),t.exports=r}),pn=f((a,t)=>{var r=fe(),s=Te(),i="[object Arguments]";function p(c){return s(c)&&r(c)==i}n(p,"baseIsArguments"),t.exports=p}),Nt=f((a,t)=>{var r=pn(),s=Te(),i=Object.prototype,p=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(y){return s(y)&&p.call(y,"callee")&&!c.call(y,"callee")};t.exports=u}),ne=f((a,t)=>{var r=Array.isArray;t.exports=r}),ln=f((a,t)=>{function r(){return!1}n(r,"stubFalse"),t.exports=r}),Ot=f((a,t)=>{var r=Z(),s=ln(),i=typeof a=="object"&&a&&!a.nodeType&&a,p=i&&typeof t=="object"&&t&&!t.nodeType&&t,c=p&&p.exports===i,u=c?r.Buffer:void
`):a}n(Qt,"getJoiner");var Ua=n(a=>a&&a.startsWith('"')&&a.endsWith('"'),"isQuoted");function Zt(){let a=n((t,{tokens:r},s)=>r.type===""?t:s,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(a,0)],s=r.description.trimLeft(),i=s.split('"');if(i.length>1&&i[0]===""&&i.length%2===1)return t.name=i[1],r.name=`"${i[1]}"`,[r.postName,r.description]=se(s.slice(r.name.length)),t;let p=0,c="",u=!1,y;for(let T of s){if(p===0&&$t(T))break;T==="["&&p++,T==="]"&&p--,c+=T}if(p!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let m=c;if(c[0]==="["&&c[c.length-1]==="]"){u=!0,c=c.slice(1,-1);let T=c.split("=");if(c=T[0].trim(),T[1]!==void 0&&(y=T.slice(1).join("=").trim()),c==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(y==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!Ua(y)&&/=(?!>)/.test(y))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=u,t.name=c,r.name=m,y!==void 0&&(t.default=y),[r.postName,r.description]=se(s.slice(r.name.length)),t}}n(Zt,"nameTokenizer");function er(a="compact",t=re){let r=He(a);return s=>(s.description=r(s.source,t),s)}n(er,"descriptionTokenizer");function He(a){return a==="compact"?tr:a==="preserve"?rr:a}n(He,"getJoiner");function tr(a,t=re){return a.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}n(tr,"compactJoiner");var Va=n((a,{tokens:t},r)=>t.type===""?a:r,"lineNo"),Da=n(({tokens:a})=>(a.delimiter===""?a.start:a.postDelimiter.slice(1))+a.description,"getDescription");function rr(a,t=re){if(a.length===0)return"";a[0].tokens.description===""&&a[0].tokens.delimiter===t.start&&(a=a.slice(1));let r=a[a.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(a=a.slice(0,-1)),a=a.slice(a.reduce(Va,0)),a.map(Da).join(`
`)}n(rr,"preserveJoiner");function nr({startLine:a=0,fence:t="```",spacing:r="compact",markers:s=re,tokenizers:i=[Ht(),Xt(r),Zt(),er(r)]}={}){if(a<0||a%1>0)throw new Error("Invalid startLine");let p=zt({startLine:a,markers:s}),c=Gt({fence:t}),u=Wt({tokenizers:i}),y=He(r);return function(m){let T=[];for(let v of Ct(m)){let x=p(v);if(x===null)continue;let g=c(x),w=g.slice(1).map(u);T.push({description:y(g[0],s),tags:w,source:x,problems:w.reduce((_,L)=>_.concat(L.problems),[])})}return T}}n(nr,"getParser");function ar(a){return a.start+a.delimiter+a.postDelimiter+a.tag+a.postTag+a.type+a.postType+a.name+a.postName+a.description+a.end+a.lineEnd}n(ar,"join");function Ka(){return a=>a.source.map(({tokens:t})=>ar(t)).join(`
`)}n(Ka,"getStringifier");function or(a,t={}){return nr(t)(a)}n(or,"parse");var Xe=bt(ja(),1);function sr(a){return a!=null&&a.includes("@")}n(sr,"containsJsDoc");function ir(a){let t=`/**
`+(a??"").split(`
`).map(s=>` * ${s}`).join(`
`)+`
*/`,r=or(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}n(ir,"parse");var $a={tags:["param","arg","argument","returns","ignore","deprecated"]},Ma=n((a,t=$a)=>{if(!sr(a))return{includesJsDoc:!1,ignore:!1};let r=ir(a),s=pr(r,t.tags);return s.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:s}},"parseJsDoc");function pr(a,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let s of a.tags)if(!(t!==void 0&&!t.includes(s.tag)))if(s.tag==="ignore"){r.ignore=!0;break}else switch(s.tag){case"param":case"arg":case"argument":{let i=cr(s);i!=null&&(r.params==null&&(r.params=[]),r.params.push(i));break}case"deprecated":{let i=ur(s);i!=null&&(r.deprecated=i);break}case"returns":{let i=yr(s);i!=null&&(r.returns=i);break}}return r}n(pr,"extractJsDocTags");function lr(a){return a.replace(/[\.-]$/,"")}n(lr,"normaliseParamName");function cr(a){if(!a.name||a.name==="-")return null;let t=et(a.type);return{name:a.name,type:t,description:Ze(a.description),getPrettyName:n(()=>lr(a.name),"getPrettyName"),getTypeName:n(()=>t?tt(t):null,"getTypeName")}}n(cr,"extractParam");function ur(a){return a.name?Qe(a.name,a.description):null}n(ur,"extractDeprecated");function Qe(a,t){let r=a===""?t:`${a} ${t}`;return Ze(r)}n(Qe,"joinNameAndDescription");function Ze(a){let t=a.replace(/^- /g,"").trim();return t===""?null:t}n(Ze,"normaliseDescription");function yr(a){let t=et(a.type);return t?{type:t,description:Qe(a.name,a.description),getTypeName:n(()=>tt(t),"getTypeName")}:null}n(yr,"extractReturns");var ae=(0,Xe.stringifyRules)(),Ca=ae.JsdocTypeObject;ae.JsdocTypeAny=()=>"any";ae.JsdocTypeObject=(a,t)=>`(${Ca(a,t)})`;ae.JsdocTypeOptional=(a,t)=>t(a.element);ae.JsdocTypeNullable=(a,t)=>t(a.element);ae.JsdocTypeNotNullable=(a,t)=>t(a.element);ae.JsdocTypeUnion=(a,t)=>a.elements.map(t).join("|");function et(a){try{return(0,Xe.parse)(a,"typescript")}catch{return null}}n(et,"extractType");function tt(a){return(0,Xe.transform)(ae,a)}n(tt,"extractTypeName");function rt(a){return a.length>90}n(rt,"isTooLongForTypeSummary");function dr(a){return a.length>50}n(dr,"isTooLongForDefaultValueSummary");function M(a,t){return a===t?{summary:a}:{summary:a,detail:t}}n(M,"createSummaryValue");function nt({name:a,value:t,elements:r,raw:s}){return t??(r!=null?r.map(nt).join(" | "):s??a)}n(nt,"generateUnionElement");function mr({name:a,raw:t,elements:r}){return r!=null?M(r.map(nt).join(" | ")):t!=null?M(t.replace(/^\|\s*/,"")):M(a)}n(mr,"generateUnion");function fr({type:a,raw:t}){return t!=null?M(t):M(a)}n(fr,"generateFuncSignature");function Tr({type:a,raw:t}){return t!=null?rt(t)?M(a,t):M(t):M(a)}n(Tr,"generateObjectSignature");function hr(a){let{type:t}=a;return t==="object"?Tr(a):fr(a)}n(hr,"generateSignature");function vr({name:a,raw:t}){return t!=null?rt(t)?M(a,t):M(t):M(a)}n(vr,"generateDefault");function qa(a){if(a==null)return null;switch(a.name){case"union":return mr(a);case"signature":return hr(a);default:return vr(a)}}n(qa,"createType");function Ba(a,t){if(a!=null){let{value:r}=a;if(!Re(r))return dr(r)?M(t==null?void 0:t.name,r):M(r)}return null}n(Ba,"createDefaultValue");function Ga({tsType:a,required:t}){if(a==null)return null;let r=a.name;return t||(r=r.replace(" | undefined","")),M(["Array","Record","signature"].includes(a.name)?a.raw:r)}n(Ga,"createType");function Ya({defaultValue:a}){if(a!=null){let{value:t}=a;if(!Re(t))return M(t)}return null}n(Ya,"createDefaultValue");function gr(a){return a!=null?M(a.name):null}n(gr,"createType");function Jr(a){let{computed:t,func:r}=a;return typeof t>"u"&&typeof r>"u"}n(Jr,"isReactDocgenTypescript");function br(a){return a?a.name==="string"?!0:a.name==="enum"?Array.isArray(a.value)&&a.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}n(br,"isStringValued");function xr(a,t){if(a!=null){let{value:r}=a;if(!Re(r))return Jr(a)&&br(t)?M(JSON.stringify(r)):M(r)}return null}n(xr,"createDefaultValue");function za(a,t,r){let{description:s,required:i,defaultValue:p}=r;re
//# sourceMappingURL=index-B659rHmc.js.map