You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
2.3 KiB
2 lines
2.3 KiB
4 years ago
|
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.vuvuzela=e():"undefined"!=typeof global?global.vuvuzela=e():"undefined"!=typeof self&&(self.vuvuzela=e())}(function(){return function e(r,n,t){function a(s,o){if(!n[s]){if(!r[s]){var i="function"==typeof require&&require;if(!o&&i)return i(s,!0);if(f)return f(s,!0);throw new Error("Cannot find module '"+s+"'")}var u=n[s]={exports:{}};r[s][0].call(u.exports,function(e){var n=r[s][1][e];return a(n?n:e)},u,u.exports,e,r,n,t)}return n[s].exports}for(var f="function"==typeof require&&require,s=0;s<t.length;s++)a(t[s]);return a}({1:[function(e,r,n){"use strict";function t(e,r,n){var t=n[n.length-1];e===t.element&&(n.pop(),t=n[n.length-1]);var a=t.element,f=t.index;if(Array.isArray(a))a.push(e);else if(f===r.length-2){var s=r.pop();a[s]=e}else r.push(e)}n.stringify=function(e){var r=[];r.push({obj:e});for(var n,t,a,f,s,o,i,u,l,p,c,d="";n=r.pop();)if(t=n.obj,a=n.prefix||"",f=n.val||"",d+=a,f)d+=f;else if("object"!=typeof t)d+="undefined"==typeof t?null:JSON.stringify(t);else if(null===t)d+="null";else if(Array.isArray(t)){for(r.push({val:"]"}),s=t.length-1;s>=0;s--)o=0===s?"":",",r.push({obj:t[s],prefix:o});r.push({val:"["})}else{i=[];for(u in t)t.hasOwnProperty(u)&&i.push(u);for(r.push({val:"}"}),s=i.length-1;s>=0;s--)l=i[s],p=t[l],c=s>0?",":"",c+=JSON.stringify(l)+":",r.push({obj:p,prefix:c});r.push({val:"{"})}return d},n.parse=function(e){for(var r,n,a,f,s,o,i,u,l,p=[],c=[],d=0;;)if(r=e[d++],"}"!==r&&"]"!==r&&"undefined"!=typeof r)switch(r){case" ":case" ":case"\n":case":":case",":break;case"n":d+=3,t(null,p,c);break;case"t":d+=3,t(!0,p,c);break;case"f":d+=4,t(!1,p,c);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"-":for(n="",d--;;){if(a=e[d++],!/[\d\.\-e\+]/.test(a)){d--;break}n+=a}t(parseFloat(n),p,c);break;case'"':for(f="",s=void 0,o=0;;){if(i=e[d++],'"'===i&&("\\"!==s||o%2!==1))break;f+=i,s=i,"\\"===s?o++:o=0}t(JSON.parse('"'+f+'"'),p,c);break;case"[":u={element:[],index:p.length},p.push(u.element),c.push(u);break;case"{":l={element:{},index:p.length},p.push(l.element),c.push(l);break;default:throw new Error("unexpectedly reached end of input: "+r)}else{if(1===p.length)return p.pop();t(p.pop(),p,c)}}},{}]},{},[1])(1)});
|