rc3_2021_map/scripts/scripting-api-extra.js

3 lines
84 KiB
JavaScript
Raw Normal View History

2021-12-23 11:41:19 +01:00
/*! For license information please see bundle.js.LICENSE.txt */
(()=>{var e,t,r,n,o,i,a,c={282:(e,t,r)=>{"use strict";var n=r(155),o=r(108);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a,c,u=r(136).codes,s=u.ERR_AMBIGUOUS_ARGUMENT,l=u.ERR_INVALID_ARG_TYPE,f=u.ERR_INVALID_ARG_VALUE,p=u.ERR_INVALID_RETURN_VALUE,y=u.ERR_MISSING_ARGS,d=r(961),h=r(539).inspect,g=r(539).types,m=g.isPromise,v=g.isRegExp,b=Object.assign?Object.assign:r(91).assign,w=Object.is?Object.is:r(609);function A(){var e=r(158);a=e.isDeepEqual,c=e.isDeepStrictEqual}new Map;var S=!1,E=e.exports=P,j={};function O(e){if(e.message instanceof Error)throw e.message;throw new d(e)}function x(e,t,r,n){if(!r){var o=!1;if(0===t)o=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var i=new d({actual:r,expected:!0,message:n,operator:"==",stackStartFn:e});throw i.generatedMessage=o,i}}function P(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];x.apply(void 0,[P,t.length].concat(t))}E.fail=function e(t,r,i,a,c){var u,s=arguments.length;if(0===s)u="Failed";else if(1===s)i=t,t=void 0;else{if(!1===S){S=!0;var l=n.emitWarning?n.emitWarning:o.warn.bind(o);l("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===s&&(a="!=")}if(i instanceof Error)throw i;var f={actual:t,expected:r,operator:void 0===a?"fail":a,stackStartFn:c||e};void 0!==i&&(f.message=i);var p=new d(f);throw u&&(p.message=u,p.generatedMessage=!0),p},E.AssertionError=d,E.ok=P,E.equal=function e(t,r,n){if(arguments.length<2)throw new y("actual","expected");t!=r&&O({actual:t,expected:r,message:n,operator:"==",stackStartFn:e})},E.notEqual=function e(t,r,n){if(arguments.length<2)throw new y("actual","expected");t==r&&O({actual:t,expected:r,message:n,operator:"!=",stackStartFn:e})},E.deepEqual=function e(t,r,n){if(arguments.length<2)throw new y("actual","expected");void 0===a&&A(),a(t,r)||O({actual:t,expected:r,message:n,operator:"deepEqual",stackStartFn:e})},E.notDeepEqual=function e(t,r,n){if(arguments.length<2)throw new y("actual","expected");void 0===a&&A(),a(t,r)&&O({actual:t,expected:r,message:n,operator:"notDeepEqual",stackStartFn:e})},E.deepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new y("actual","expected");void 0===a&&A(),c(t,r)||O({actual:t,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:e})},E.notDeepStrictEqual=function e(t,r,n){if(arguments.length<2)throw new y("actual","expected");void 0===a&&A(),c(t,r)&&O({actual:t,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:e})},E.strictEqual=function e(t,r,n){if(arguments.length<2)throw new y("actual","expected");w(t,r)||O({actual:t,expected:r,message:n,operator:"strictEqual",stackStartFn:e})},E.notStrictEqual=function e(t,r,n){if(arguments.length<2)throw new y("actual","expected");w(t,r)&&O({actual:t,expected:r,message:n,operator:"notStrictEqual",stackStartFn:e})};var k=function e(t,r,n){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r.forEach((function(e){e in t&&(void 0!==n&&"string"==typeof n[e]&&v(t[e])&&t[e].test(n[e])?o[e]=n[e]:o[e]=t[e])}))};function I(e,t,r,n,o,i){if(!(r in e)||!c(e[r],t[r])){if(!n){var a=new k(e,o),u=new k(t,o,e),s=new d({actual:a,expected:u,operator:"deepStrictEqual",stackStartFn:i});throw s.actual=e,s.expected=t,s.operator=i.name,s}O({actual:e,expected:t,message:n,operator:i.name,stackStartFn:i})}}function T(e,t,r,n){if("function"!=typeof t){if(v(t))return t.test(e);if(2===arguments.length)throw new l("expected",["Function","RegExp"],t);if("object"!==i(e)||null===e){var o=new d({actual:e,expected:t,message:r,operator:"deepStrictEqual",stackStartFn:n});throw o.operator=n.name,o}var c=Object.keys(t);if(t instanceof Error)c.push("name","message");else if(0===c.length)throw new f("error",t,"may not be an empty object");return void 0===a&&A(),c.fo
//# sourceMappingURL=bundle.js.map