open-webui/static/pyscript/toml-CvAfdf9_.js.map

1 line
58 KiB
Plaintext
Raw Normal View History

2024-05-17 03:49:28 +00:00
{"version":3,"file":"toml-CvAfdf9_.js","sources":["../src/3rd-party/toml.js"],"sourcesContent":["const{SyntaxError:r,parse:t}=function(){function r(t,e,n,u){this.message=t,this.expected=e,this.found=n,this.location=u,this.name=\"SyntaxError\",\"function\"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,r)}return function(r,t){function e(){this.constructor=r}e.prototype=t.prototype,r.prototype=new e}(r,Error),r.buildMessage=function(r,t){var e={literal:function(r){return'\"'+u(r.text)+'\"'},class:function(r){var t,e=\"\";for(t=0;t<r.parts.length;t++)e+=r.parts[t]instanceof Array?o(r.parts[t][0])+\"-\"+o(r.parts[t][1]):o(r.parts[t]);return\"[\"+(r.inverted?\"^\":\"\")+e+\"]\"},any:function(r){return\"any character\"},end:function(r){return\"end of input\"},other:function(r){return r.description}};function n(r){return r.charCodeAt(0).toString(16).toUpperCase()}function u(r){return r.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g,'\\\\\"').replace(/\\0/g,\"\\\\0\").replace(/\\t/g,\"\\\\t\").replace(/\\n/g,\"\\\\n\").replace(/\\r/g,\"\\\\r\").replace(/[\\x00-\\x0F]/g,(function(r){return\"\\\\x0\"+n(r)})).replace(/[\\x10-\\x1F\\x7F-\\x9F]/g,(function(r){return\"\\\\x\"+n(r)}))}function o(r){return r.replace(/\\\\/g,\"\\\\\\\\\").replace(/\\]/g,\"\\\\]\").replace(/\\^/g,\"\\\\^\").replace(/-/g,\"\\\\-\").replace(/\\0/g,\"\\\\0\").replace(/\\t/g,\"\\\\t\").replace(/\\n/g,\"\\\\n\").replace(/\\r/g,\"\\\\r\").replace(/[\\x00-\\x0F]/g,(function(r){return\"\\\\x0\"+n(r)})).replace(/[\\x10-\\x1F\\x7F-\\x9F]/g,(function(r){return\"\\\\x\"+n(r)}))}return\"Expected \"+function(r){var t,n,u,o=new Array(r.length);for(t=0;t<r.length;t++)o[t]=(u=r[t],e[u.type](u));if(o.sort(),o.length>0){for(t=1,n=1;t<o.length;t++)o[t-1]!==o[t]&&(o[n]=o[t],n++);o.length=n}switch(o.length){case 1:return o[0];case 2:return o[0]+\" or \"+o[1];default:return o.slice(0,-1).join(\", \")+\", or \"+o[o.length-1]}}(r)+\" but \"+function(r){return r?'\"'+u(r)+'\"':\"end of input\"}(t)+\" found.\"},{SyntaxError:r,parse:function(t,e){e=void 0!==e?e:{};var n,u,o,a,i,c,f,s,l,h,p={},v={Expressions:Zt},d=Zt,g=function(){return pe},A=function(r){ve=h(pe,!0,r)},C=function(r){ve=h(pe,!1,r)},b=function(r){l(ve.table,r[0]),ve.table[r[0]]=r[1]},y=Mt(\"Newline\"),m=\"\\n\",x=jt(\"\\n\",!1),S=\"\\r\\n\",F=jt(\"\\r\\n\",!1),w=Mt(\"Whitespace\"),E=/^[ \\t]/,T=Ht([\" \",\"\\t\"],!1,!1),D=Mt(\"Comment\"),j=\"#\",H=jt(\"#\",!1),M={type:\"any\"},O=\"=\",_=jt(\"=\",!1),N=function(r,t){return[r,t.value]},Z=function(){return Tt()},I=Mt('[a-z], [A-Z], [0-9], \"-\", \"_\"'),R=/^[a-zA-Z0-9\\-_]/,U=Ht([[\"a\",\"z\"],[\"A\",\"Z\"],[\"0\",\"9\"],\"-\",\"_\"],!1,!1),z=function(r){return r.join(\"\")},Q=Mt(\"DoubleQuote\"),Y='\"',k=jt('\"',!1),B=Mt(\"SingleQuote\"),J=\"'\",P=jt(\"'\",!1),V=Mt(\"ThreeDoubleQuotes\"),W='\"\"\"',q=jt('\"\"\"',!1),G=Mt(\"ThreeSingleQuotes\"),K=\"'''\",L=jt(\"'''\",!1),X=function(r){return{type:\"String\",value:r.join(\"\")}},$=Mt(\"NormalCharacter\"),rr=/^[^\\0-\\x1F\"\\\\]/,tr=Ht([[\"\\0\",\"\u001f\"],'\"',\"\\\\\"],!0,!1),er=\"u\",nr=jt(\"u\",!1),ur=\"U\",or=jt(\"U\",!1),ar=function(){var r=Tt();return r.length<=2?f(r[1]):s(parseInt(r.substr(2),16))},ir=Mt('\"b\", \"f\", \"n\", \"r\", \"t\"'),cr=/^[bfnrt]/,fr=Ht([\"b\",\"f\",\"n\",\"r\",\"t\"],!1,!1),sr=Mt(\"Backslash\"),lr=\"\\\\\",hr=jt(\"\\\\\",!1),pr=Mt(\"FourHexadecimalDigits\"),vr=Mt(\"EightHexadecimalDigits\"),dr=/^[0-9A-Fa-f]/,gr=Ht([[\"0\",\"9\"],[\"A\",\"F\"],[\"a\",\"f\"]],!1,!1),Ar=function(){var r=Tt();return{type:\"String\",value:r.substr(1,r.length-2)}},Cr=/^[^\\0-\\x08\\n-\\x1F']/,br=Ht([[\"\\0\",\"\\b\"],[\"\\n\",\"\u001f\"],\"'\"],!0,!1),yr=function(){return\"\"},mr=/^[^\\0-\\x1F\\\\]/,xr=Ht([[\"\\0\",\"\u001f\"],\"\\\\\"],!0,!1),Sr=Mt(\"AnyCharacter\"),Fr=/^[^\\0-\\x08\\n-\\x1F]/,wr=Ht([[\"\\0\",\"\\b\"],[\"\\n\",\"\u001f\"]],!0,!1),Er=\"true\",Tr=jt(\"true\",!1),Dr=function(){return{type:\"Boolean\",value:!0}},jr=\"false\",Hr=jt(\"false\",!1),Mr=function(){return{type:\"Boolean\",value:!1}},Or=function(){var r=Tt(),t=parseFloat(r.replace(/_/g,\"\"));return o(t)||Dt(r+\"is not a 64-bit