qiNiu.config-legacy.0345ccbb.js 1.0 KB

1
  1. System.register([],(function(r,t){"use strict";return{execute:function(){var t;r("v",(function(r,t,e){if(i.randomUUID&&!t&&!r)return i.randomUUID();var u=(r=r||{}).random||(r.rng||n)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){e=e||0;for(var a=0;a<16;++a)t[e+a]=u[a];return t}return function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return o[r[t+0]]+o[r[t+1]]+o[r[t+2]]+o[r[t+3]]+"-"+o[r[t+4]]+o[r[t+5]]+"-"+o[r[t+6]]+o[r[t+7]]+"-"+o[r[t+8]]+o[r[t+9]]+"-"+o[r[t+10]]+o[r[t+11]]+o[r[t+12]]+o[r[t+13]]+o[r[t+14]]+o[r[t+15]]}(u)}));var e=new Uint8Array(16);function n(){if(!t&&!(t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return t(e)}for(var o=[],u=0;u<256;++u)o.push((u+256).toString(16).slice(1));var i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};r("q",{uploadFileField:"myfile",uploadFileNameField:"key"})}}}));