28 lines
2.3 MiB
JavaScript
28 lines
2.3 MiB
JavaScript
|
|
(function(){var __webpack_modules__={25099:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.cloneNode=cloneNode;function cloneNode(v){return Object.assign({},v)}},88571:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});var $={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(E,"numberLiteralFromRaw",{enumerable:true,get:function get(){return N.numberLiteralFromRaw}});Object.defineProperty(E,"withLoc",{enumerable:true,get:function get(){return N.withLoc}});Object.defineProperty(E,"withRaw",{enumerable:true,get:function get(){return N.withRaw}});Object.defineProperty(E,"funcParam",{enumerable:true,get:function get(){return N.funcParam}});Object.defineProperty(E,"indexLiteral",{enumerable:true,get:function get(){return N.indexLiteral}});Object.defineProperty(E,"memIndexLiteral",{enumerable:true,get:function get(){return N.memIndexLiteral}});Object.defineProperty(E,"instruction",{enumerable:true,get:function get(){return N.instruction}});Object.defineProperty(E,"objectInstruction",{enumerable:true,get:function get(){return N.objectInstruction}});Object.defineProperty(E,"traverse",{enumerable:true,get:function get(){return q.traverse}});Object.defineProperty(E,"signatures",{enumerable:true,get:function get(){return G.signatures}});Object.defineProperty(E,"cloneNode",{enumerable:true,get:function get(){return ae.cloneNode}});Object.defineProperty(E,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return ce.moduleContextFromModuleAST}});var j=R(17059);Object.keys(j).forEach((function(v){if(v==="default"||v==="__esModule")return;if(Object.prototype.hasOwnProperty.call($,v))return;Object.defineProperty(E,v,{enumerable:true,get:function get(){return j[v]}})}));var N=R(8029);var q=R(40323);var G=R(27086);var ie=R(35355);Object.keys(ie).forEach((function(v){if(v==="default"||v==="__esModule")return;if(Object.prototype.hasOwnProperty.call($,v))return;Object.defineProperty(E,v,{enumerable:true,get:function get(){return ie[v]}})}));var ae=R(25099);var ce=R(6211)},8029:function(v,E,R){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.numberLiteralFromRaw=numberLiteralFromRaw;E.instruction=instruction;E.objectInstruction=objectInstruction;E.withLoc=withLoc;E.withRaw=withRaw;E.funcParam=funcParam;E.indexLiteral=indexLiteral;E.memIndexLiteral=memIndexLiteral;var $=R(98801);var j=R(17059);function numberLiteralFromRaw(v){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var R=v;if(typeof v==="string"){v=v.replace(/_/g,"")}if(typeof v==="number"){return(0,j.numberLiteral)(v,String(R))}else{switch(E){case"i32":{return(0,j.numberLiteral)((0,$.parse32I)(v),String(R))}case"u32":{return(0,j.numberLiteral)((0,$.parseU32)(v),String(R))}case"i64":{return(0,j.longNumberLiteral)((0,$.parse64I)(v),String(R))}case"f32":{return(0,j.floatLiteral)((0,$.parse32F)(v),(0,$.isNanLiteral)(v),(0,$.isInfLiteral)(v),String(R))}default:{return(0,j.floatLiteral)((0,$.parse64F)(v),(0,$.isNanLiteral)(v),(0,$.isInfLiteral)(v),String(R))}}}}function instruction(v){var E=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,j.instr)(v,undefined,E,R)}function objectInstruction(v,E){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var $=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,j.instr)(v,E,R,$)}function withLoc(v,E,R){var $={start:R,end:E};v.loc=$;return v}function withRaw(v,E){v.raw=E;return v}function funcParam(v,E){return{id:E,valtype:v}}function indexLiteral(v){var E=numberLiteralFromRaw(v,"u32");return E}function memIndexLiteral(v){var E=numberLiteralFromRaw(v,"u32");return E}},3047:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:true});E.createPath=createPath;function _extends(){_extends=Object.assign||function(v
|
||
|
|
/*!
|
||
|
|
* mime-db
|
||
|
|
* Copyright(c) 2014 Jonathan Ong
|
||
|
|
* MIT Licensed
|
||
|
|
*/
|
||
|
|
v.exports=R(66282)},24230:function(v,E,R){"use strict";
|
||
|
|
/*!
|
||
|
|
* mime-types
|
||
|
|
* Copyright(c) 2014 Jonathan Ong
|
||
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
||
|
|
* MIT Licensed
|
||
|
|
*/var $=R(95183);var j=R(71017).extname;var N=/^\s*([^;\s]*)(?:;|\s|$)/;var q=/^text\//i;E.charset=charset;E.charsets={lookup:charset};E.contentType=contentType;E.extension=extension;E.extensions=Object.create(null);E.lookup=lookup;E.types=Object.create(null);populateMaps(E.extensions,E.types);function charset(v){if(!v||typeof v!=="string"){return false}var E=N.exec(v);var R=E&&$[E[1].toLowerCase()];if(R&&R.charset){return R.charset}if(E&&q.test(E[1])){return"UTF-8"}return false}function contentType(v){if(!v||typeof v!=="string"){return false}var R=v.indexOf("/")===-1?E.lookup(v):v;if(!R){return false}if(R.indexOf("charset")===-1){var $=E.charset(R);if($)R+="; charset="+$.toLowerCase()}return R}function extension(v){if(!v||typeof v!=="string"){return false}var R=N.exec(v);var $=R&&E.extensions[R[1].toLowerCase()];if(!$||!$.length){return false}return $[0]}function lookup(v){if(!v||typeof v!=="string"){return false}var R=j("x."+v).toLowerCase().substr(1);if(!R){return false}return E.types[R]||false}function populateMaps(v,E){var R=["nginx","apache",undefined,"iana"];Object.keys($).forEach((function forEachMimeType(j){var N=$[j];var q=N.extensions;if(!q||!q.length){return}v[j]=q;for(var G=0;G<q.length;G++){var ie=q[G];if(E[ie]){var ae=R.indexOf($[E[ie]].source);var ce=R.indexOf(N.source);if(E[ie]!=="application/octet-stream"&&(ae>ce||ae===ce&&E[ie].substr(0,12)==="application/")){continue}}E[ie]=j}}))}},93702:function(v,E,R){"use strict";var $;$={value:true};E.Z=void 0;const{stringHints:j,numberHints:N}=R(75947);const q={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(v,E){const R=v.reduce(((v,R)=>Math.max(v,E(R))),0);return v.filter((v=>E(v)===R))}function filterChildren(v){let E=v;E=filterMax(E,(v=>v.dataPath?v.dataPath.length:0));E=filterMax(E,(v=>q[v.keyword]||2));return E}function findAllChildren(v,E){let R=v.length-1;const predicate=E=>v[R].schemaPath.indexOf(E)!==0;while(R>-1&&!E.every(predicate)){if(v[R].keyword==="anyOf"||v[R].keyword==="oneOf"){const E=extractRefs(v[R]);const $=findAllChildren(v.slice(0,R),E.concat(v[R].schemaPath));R=$-1}else{R-=1}}return R+1}function extractRefs(v){const{schema:E}=v;if(!Array.isArray(E)){return[]}return E.map((({$ref:v})=>v)).filter((v=>v))}function groupChildrenByFirstChild(v){const E=[];let R=v.length-1;while(R>0){const $=v[R];if($.keyword==="anyOf"||$.keyword==="oneOf"){const j=extractRefs($);const N=findAllChildren(v.slice(0,R),j.concat($.schemaPath));if(N!==R){E.push(Object.assign({},$,{children:v.slice(N,R)}));R=N}else{E.push($)}}else{E.push($)}R-=1}if(R===0){E.push(v[R])}return E.reverse()}function indent(v,E){return v.replace(/\n(?!$)/g,`\n${E}`)}function hasNotInSchema(v){return!!v.not}function findFirstTypedSchema(v){if(hasNotInSchema(v)){return findFirstTypedSchema(v.not)}return v}function canApplyNot(v){const E=findFirstTypedSchema(v);return likeNumber(E)||likeInteger(E)||likeString(E)||likeNull(E)||likeBoolean(E)}function isObject(v){return typeof v==="object"&&v!==null}function likeNumber(v){return v.type==="number"||typeof v.minimum!=="undefined"||typeof v.exclusiveMinimum!=="undefined"||typeof v.maximum!=="undefined"||typeof v.exclusiveMaximum!=="undefined"||typeof v.multipleOf!=="undefined"}function likeInteger(v){return v.type==="integer"||typeof v.minimum!=="undefined"||typeof v.exclusiveMinimum!=="undefined"||typeof v.maximum!=="undefined"||typeof v.exclusiveMaximum!=="undefined"||typeof v.multipleOf!=="undefined"}function likeString(v){return v.type==="string"||typeof v.minLength!=="undefined"||typeof v.maxLength!=="undefined"||typeof v.pattern!=="undefined"||typeof v.format!=="undefined"||typeof v.formatMinimum!=="undefined"||typeof v.formatMaximum!=="undefined"}function likeBoolean(v){
|
||
|
|
/*! *****************************************************************************
|
||
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||
|
|
this file except in compliance with the License. You may obtain a copy of the
|
||
|
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
|
||
|
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
|
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||
|
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||
|
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||
|
|
|
||
|
|
See the Apache Version 2.0 License for specific language governing permissions
|
||
|
|
and limitations under the License.
|
||
|
|
***************************************************************************** */
|
||
|
|
var E;var R;var $;var j;var N;var q;var G;var ie;var ae;var ce;var le;var me;var _e;var Ie;var Me;var Oe;var Te;var Ne;var Be;var Le;var qe;var Ue;(function(E){var R=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(v){E(createExporter(R,createExporter(v)))}))}else if(true&&typeof v.exports==="object"){E(createExporter(R,createExporter(v.exports)))}else{E(createExporter(R))}function createExporter(v,E){if(v!==R){if(typeof Object.create==="function"){Object.defineProperty(v,"__esModule",{value:true})}else{v.__esModule=true}}return function(R,$){return v[R]=E?E(R,$):$}}})((function(v){var Ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,E){v.__proto__=E}||function(v,E){for(var R in E)if(E.hasOwnProperty(R))v[R]=E[R]};E=function(v,E){Ge(v,E);function __(){this.constructor=v}v.prototype=E===null?Object.create(E):(__.prototype=E.prototype,new __)};R=Object.assign||function(v){for(var E,R=1,$=arguments.length;R<$;R++){E=arguments[R];for(var j in E)if(Object.prototype.hasOwnProperty.call(E,j))v[j]=E[j]}return v};$=function(v,E){var R={};for(var $ in v)if(Object.prototype.hasOwnProperty.call(v,$)&&E.indexOf($)<0)R[$]=v[$];if(v!=null&&typeof Object.getOwnPropertySymbols==="function")for(var j=0,$=Object.getOwnPropertySymbols(v);j<$.length;j++){if(E.indexOf($[j])<0&&Object.prototype.propertyIsEnumerable.call(v,$[j]))R[$[j]]=v[$[j]]}return R};j=function(v,E,R,$){var j=arguments.length,N=j<3?E:$===null?$=Object.getOwnPropertyDescriptor(E,R):$,q;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")N=Reflect.decorate(v,E,R,$);else for(var G=v.length-1;G>=0;G--)if(q=v[G])N=(j<3?q(N):j>3?q(E,R,N):q(E,R))||N;return j>3&&N&&Object.defineProperty(E,R,N),N};N=function(v,E){return function(R,$){E(R,$,v)}};q=function(v,E){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(v,E)};G=function(v,E,R,$){function adopt(v){return v instanceof R?v:new R((function(E){E(v)}))}return new(R||(R=Promise))((function(R,j){function fulfilled(v){try{step($.next(v))}catch(v){j(v)}}function rejected(v){try{step($["throw"](v))}catch(v){j(v)}}function step(v){v.done?R(v.value):adopt(v.value).then(fulfilled,rejected)}step(($=$.apply(v,E||[])).next())}))};ie=function(v,E){var R={label:0,sent:function(){if(N[0]&1)throw N[1];return N[1]},trys:[],ops:[]},$,j,N,q;return q={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(q[Symbol.iterator]=function(){return this}),q;function verb(v){return function(E){return step([v,E])}}function step(q){if($)throw new TypeError("Generator is already executing.");while(R)try{if($=1,j&&(N=q[0]&2?j["return"]:q[0]?j["throw"]||((N=j["return"])&&N.call(j),0):j.next)&&!(N=N.call(j,q[1])).done)return N;if(j=0,N)q=[q[0]&2,N.value];switch(q[0]){case 0:case 1:N=q;break;case 4:R.label++;return{value:q[1],done:false};case 5:R.label++;j=q[1];q=[0];continue;case 7:q=R.ops.pop();R.trys.pop();continue;default:if(!(N=R.trys,N=N.length>0&&N[N.length-1])&&(q[0]===6||q[0]===2)){R=0;continue}if(q[0]===3&&(!N||q[1]>N[0]&&q[1]<N[3])){R.label=q[1];break}if(q[0]===6&&R.label<N[1]){R.label=N[1];N=q;break}if(N&&R.label<N[2]){R.label=N[2];R.ops.push(q);break}if(N[2])R.ops.pop();R.trys.pop();continue}q=E.call(v,R)}catch(v){q=[6,v];j=0}finally{$=N=0}if(q[0]&5)throw q[1];return{value:q[0]?q[1]:void 0,done:true}}};ae=function(v,E){for(var R in v)if(!E.hasOwnProperty(R))E[R]=v[R]};ce=function(v){var E=typeof Symbol==="function"&&Symbol.iterator,R=E&&v[E],$=0;if(R)return R.call(v);if(v&&typeof v.length==="number")return{next:function(){if(v&&$>=v.length)v=void 0;return{value:v&&v[$++],done:!v}}};throw new TypeError(E?"Object is not iterable.":"Symbol.iterator is not defined.")};le=function(v,E){var R=typeof Symbol==="function"&&v[Symbol.iterator];if(!R)return v;var $=R.call(v),j,N=[],q;try{while((E===void 0||E-- >0)&&!(j=$.next()).done)N.push(j.value)}catch(v){q={error:v}}finally{try{if(j&&!j.done&&(R=$["return"]))R.call($)}finally{if(q)throw q.error}}ret
|