@qubit-ltd/common-decorator 3.10.0 → 3.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +334 -0
- package/README.zh_CN.md +334 -0
- package/dist/common-decorator.cjs +150 -75
- package/dist/common-decorator.cjs.map +1 -1
- package/dist/common-decorator.min.cjs +1 -1
- package/dist/common-decorator.min.cjs.map +1 -1
- package/dist/common-decorator.min.mjs +1 -1
- package/dist/common-decorator.min.mjs.map +1 -1
- package/dist/common-decorator.mjs +143 -76
- package/dist/common-decorator.mjs.map +1 -1
- package/doc/api/DefaultAssignmentOptions.html +2 -2
- package/doc/api/DefaultOptions.html +2 -2
- package/doc/api/DefaultToJsonOptions.html +2 -2
- package/doc/api/Enum.html +2 -2
- package/doc/api/Model.html +2 -2
- package/doc/api/Page.html +2 -2
- package/doc/api/global.html +1515 -2
- package/doc/api/index.html +369 -2
- package/doc/common-decorator.min.visualization.html +1 -1
- package/doc/common-decorator.visualization.html +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("@babel/runtime/helpers/typeof"),r=require("@babel/runtime/helpers/defineProperty"),o=require("@qubit-ltd/clone"),i=require("@qubit-ltd/common-util"),a=require("@qubit-ltd/type-detect"),u=require("@babel/runtime/helpers/slicedToArray"),c=require("@qubit-ltd/typeinfo"),l=require("@babel/runtime/helpers/classCallCheck"),p=require("@babel/runtime/helpers/createClass"),y=require("@qubit-ltd/naming-style"),d=require("@qubit-ltd/json"),g=require("util"),b=require("@qubit-ltd/common-validation-rule"),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var h,v,S={},O={};function requireGlobalThis(){if(v)return h;v=1;var check=function(t){return t&&t.Math===Math&&t};return h=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof m&&m)||check("object"==typeof h&&h)||function(){return this}()||Function("return this")()}var A,P,w,j,q,E,I,T,x,N,_,R,B,M,D,$,k,U,C,G,W,z,V,J,L,H,K,Q,X,Y,Z,ee,te,re={exports:{}};function requireDefineGlobalProperty(){if(j)return w;j=1;var t=requireGlobalThis(),r=Object.defineProperty;return w=function(o,i){try{r(t,o,{value:i,configurable:!0,writable:!0})}catch(r){t[o]=i}return i}}function requireSharedStore(){if(q)return re.exports;q=1;var t=function requireIsPure(){return P?A:(P=1,A=!1)}(),r=requireGlobalThis(),o=requireDefineGlobalProperty(),i="__core-js_shared__",a=re.exports=r[i]||o(i,{});return(a.versions||(a.versions=[])).push({version:"3.41.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"}),re.exports}function requireShared(){if(I)return E;I=1;var t=requireSharedStore();return E=function(r,o){return t[r]||(t[r]=o||{})}}function requireFails(){return x?T:(x=1,T=function(t){try{return!!t()}catch(t){return!0}})}function requireFunctionBindNative(){if(_)return N;_=1;var t=requireFails();return N=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function requireFunctionUncurryThis(){if(B)return R;B=1;var t=requireFunctionBindNative(),r=Function.prototype,o=r.call,i=t&&r.bind.bind(o,o);return R=t?i:function(t){return function(){return o.apply(t,arguments)}},R}function requireIsNullOrUndefined(){return D?M:(D=1,M=function(t){return null==t})}function requireRequireObjectCoercible(){if(k)return $;k=1;var t=requireIsNullOrUndefined(),r=TypeError;return $=function(o){if(t(o))throw new r("Can't call method on "+o);return o}}function requireToObject(){if(C)return U;C=1;var t=requireRequireObjectCoercible(),r=Object;return U=function(o){return r(t(o))}}function requireHasOwnProperty(){if(W)return G;W=1;var t=requireFunctionUncurryThis(),r=requireToObject(),o=t({}.hasOwnProperty);return G=Object.hasOwn||function hasOwn(t,i){return o(r(t),i)}}function requireUid(){if(V)return z;V=1;var t=requireFunctionUncurryThis(),r=0,o=Math.random(),i=t(1..toString);return z=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++r+o,36)}}function requireEnvironmentV8Version(){if(K)return H;K=1;var t,r,o=requireGlobalThis(),i=function requireEnvironmentUserAgent(){if(L)return J;L=1;var t=requireGlobalThis().navigator,r=t&&t.userAgent;return J=r?String(r):""}(),a=o.process,u=o.Deno,c=a&&a.versions||u&&u.version,l=c&&c.v8;return l&&(r=(t=l.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!r&&i&&(!(t=i.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=i.match(/Chrome\/(\d+)/))&&(r=+t[1]),H=r}function requireSymbolConstructorDetection(){if(X)return Q;X=1;var t=requireEnvironmentV8Version(),r=requireFails(),o=requireGlobalThis().String;return Q=!!Object.getOwnPropertySymbols&&!r((function(){var r=Symbol("symbol detection");return!o(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function requireUseSymbolAsUid(){if(Z)return Y;Z=1;var t=requireSymbolConstructorDetection();return Y=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function requireWellKnownSymbol(){if(te)return ee;te=1;var t=requireGlobalThis(),r=requireShared(),o=requireHasOwnProperty(),i=requireUid(),a=requireSymbolConstructorDetection(),u=requireUseSymbolAsUid(),c=t.Symbol,l=r("wks"),p=u?c.for||c:c&&c.withoutSetter||i;return ee=function(t){return o(l,t)||(l[t]=a&&o(c,t)?c[t]:p("Symbol."+t)),l[t]}}var ne,oe,ie,ae,ue,ce,le,pe,fe,ye,se,de,ge,be,me,he,ve,Se,Oe,Ae,Pe,we,je,qe,Ee,Ie,Fe,Te,xe,Ne,_e,Re,Be,Me,De,$e,ke={};function requireDescriptors(){if(oe)return ne;oe=1;var t=requireFails();return ne=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function requireIsCallable$1(){if(ae)return ie;ae=1;var t="object"==typeof document&&document.all;return ie=void 0===t&&void 0!==t?function(r){return"function"==typeof r||r===t}:function(t){return"function"==typeof t}}function requireIsObject(){if(ce)return ue;ce=1;var t=requireIsCallable$1();return ue=function(r){return"object"==typeof r?null!==r:t(r)}}function requireIe8DomDefine(){if(ye)return fe;ye=1;var t=requireDescriptors(),r=requireFails(),o=function requireDocumentCreateElement(){if(pe)return le;pe=1;var t=requireGlobalThis(),r=requireIsObject(),o=t.document,i=r(o)&&r(o.createElement);return le=function(t){return i?o.createElement(t):{}}}();return fe=!t&&!r((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))}function requireAnObject(){if(be)return ge;be=1;var t=requireIsObject(),r=String,o=TypeError;return ge=function(i){if(t(i))return i;throw new o(r(i)+" is not an object")}}function requireFunctionCall$1(){if(he)return me;he=1;var t=requireFunctionBindNative(),r=Function.prototype.call;return me=t?r.bind(r):function(){return r.apply(r,arguments)},me}function requireGetBuiltIn(){if(Se)return ve;Se=1;var t=requireGlobalThis(),r=requireIsCallable$1();return ve=function(o,i){return arguments.length<2?(a=t[o],r(a)?a:void 0):t[o]&&t[o][i];var a},ve}function requireIsSymbol$1(){if(we)return Pe;we=1;var t=requireGetBuiltIn(),r=requireIsCallable$1(),o=function requireObjectIsPrototypeOf(){if(Ae)return Oe;Ae=1;var t=requireFunctionUncurryThis();return Oe=t({}.isPrototypeOf)}(),i=requireUseSymbolAsUid(),a=Object;return Pe=i?function(t){return"symbol"==typeof t}:function(i){var u=t("Symbol");return r(u)&&o(u.prototype,a(i))}}function requireTryToString(){if(qe)return je;qe=1;var t=String;return je=function(r){try{return t(r)}catch(t){return"Object"}}}function requireACallable(){if(Ie)return Ee;Ie=1;var t=requireIsCallable$1(),r=requireTryToString(),o=TypeError;return Ee=function(i){if(t(i))return i;throw new o(r(i)+" is not a function")}}function requireGetMethod(){if(Te)return Fe;Te=1;var t=requireACallable(),r=requireIsNullOrUndefined();return Fe=function(o,i){var a=o[i];return r(a)?void 0:t(a)}}function requireOrdinaryToPrimitive(){if(Ne)return xe;Ne=1;var t=requireFunctionCall$1(),r=requireIsCallable$1(),o=requireIsObject(),i=TypeError;return xe=function(a,u){var c,l;if("string"===u&&r(c=a.toString)&&!o(l=t(c,a)))return l;if(r(c=a.valueOf)&&!o(l=t(c,a)))return l;if("string"!==u&&r(c=a.toString)&&!o(l=t(c,a)))return l;throw new i("Can't convert object to primitive value")}}function requireToPrimitive(){if(Re)return _e;Re=1;var t=requireFunctionCall$1(),r=requireIsObject(),o=requireIsSymbol$1(),i=requireGetMethod(),a=requireOrdinaryToPrimitive(),u=requireWellKnownSymbol(),c=TypeError,l=u("toPrimitive");return _e=function(u,p){if(!r(u)||o(u))return u;var y,d=i(u,l);if(d){if(void 0===p&&(p="default"),y=t(d,u,p),!r(y)||o(y))return y;throw new c("Can't convert object to primitive value")}return void 0===p&&(p="number"),a(u,p)}}function requireToPropertyKey(){if(Me)return Be;Me=1;var t=requireToPrimitive(),r=requireIsSymbol$1();return Be=function(o){var i=t(o,"string");return r(i)?i:i+""}}function requireObjectDefineProperty(){if(De)return ke;De=1;var t=requireDescriptors(),r=requireIe8DomDefine(),o=function requireV8PrototypeDefineBug(){if(de)return se;de=1;var t=requireDescriptors(),r=requireFails();return se=t&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}(),i=requireAnObject(),a=requireToPropertyKey(),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",y="configurable",d="writable";return ke.f=t?o?function defineProperty(t,r,o){if(i(t),r=a(r),i(o),"function"==typeof t&&"prototype"===r&&"value"in o&&d in o&&!o[d]){var u=l(t,r);u&&u[d]&&(t[r]=o.value,o={configurable:y in o?o[y]:u[y],enumerable:p in o?o[p]:u[p],writable:!1})}return c(t,r,o)}:c:function defineProperty(t,o,l){if(i(t),o=a(o),i(l),r)try{return c(t,o,l)}catch(t){}if("get"in l||"set"in l)throw new u("Accessors not supported");return"value"in l&&(t[o]=l.value),t},ke}var Ue,Ce,Ge={};function requirePath(){if(Ce)return Ue;Ce=1;var t=requireGlobalThis();return Ue=t}var We,ze,Ve,Je,Le,He={};function requireWellKnownSymbolDefine(){if(Ve)return ze;Ve=1;var t=requirePath(),r=requireHasOwnProperty(),o=function requireWellKnownSymbolWrapped(){if(We)return He;We=1;var t=requireWellKnownSymbol();return He.f=t,He}(),i=requireObjectDefineProperty().f;return ze=function(a){var u=t.Symbol||(t.Symbol={});r(u,a)||i(u,a,{value:o.f(a)})}}!function requireDecoratorMetadataV2(){return Le||(Le=1,function requireEsnext_function_metadata(){if($e)return O;$e=1;var t=requireWellKnownSymbol(),r=requireObjectDefineProperty().f,o=t("metadata"),i=Function.prototype;return void 0===i[o]&&r(i,o,{value:null}),O}(),function requireEsnext_symbol_metadata(){return Je||(Je=1,requireWellKnownSymbolDefine()("metadata")),Ge}()),S}();var Ke="__cd_category__",Qe="__cd_default_instance__",Xe="__cd_next_id__",Ye="__cd_name_field__",Ze="__cd_fields_metadata__",et="__type__",tt="__element_type__",rt="__nullable__",nt="__empty__",ot="__label__",it="__normalizer__",at="__validator__",ut=new WeakMap,ct=function get(t){var r=ut.get(t);if(r)return r;var o=t[Symbol.metadata];return o?(ut.set(t,o),o):{}},lt=function set(t,r){ut.set(t,r)};function getClassMetadata(t,r){if("function"!=typeof t)throw new TypeError("The first argument must be a class constructor.");var o=ct(t);if(o)return o[r]}function isEnumClass(t){return"function"==typeof t&&"enum"===getClassMetadata(t,Ke)}function enumNormalizer(t){if(!isEnumClass(t))throw new TypeError("The argument must be the constructor function of an enumeration class decorated by `@Enum`.");return function(r){return t.of(r)}}function defaultNormalizer(t){var r,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=i||(i={}),null!==(o=(r=i).path)&&void 0!==o||(r.path="");var a=c(t);switch(a.category){case"string":return isEnumClass(i.type)?enumNormalizer(i.type)(t):t.trim();case"array":case"typed-array":return t.map((function(t){return defaultNormalizer(t)}));case"map":return new Map(Array.from(t,(function(t){var r=u(t,2);return[r[0],defaultNormalizer(r[1],i)]})));case"set":return new Set(Array.from(t,(function(t){return defaultNormalizer(t,i)})));default:if(a.isBuiltIn)return t;if("function"==typeof t.normalize){var l={path:i.path,types:i.types,elementTypes:i.elementTypes};t.normalize("*",l)}return t}}var pt=p((function DefaultAssignmentOptions(){l(this,DefaultAssignmentOptions),r(this,"normalize",!0),r(this,"convertNaming",!1),r(this,"sourceNamingStyle","LOWER_UNDERSCORE"),r(this,"targetNamingStyle","LOWER_CAMEL"),r(this,"types",{}),r(this,"elementTypes",{})})),ft=p((function DefaultToJsonOptions(){l(this,DefaultToJsonOptions),r(this,"normalize",!0),r(this,"removeEmptyFields",!1),r(this,"convertNaming",!1),r(this,"sourceNamingStyle","LOWER_CAMEL"),r(this,"targetNamingStyle","LOWER_UNDERSCORE"),r(this,"space",void 0)}));function ownKeys$5(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function _objectSpread$5(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys$5(Object(i),!0).forEach((function(o){r(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys$5(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}var yt=new Map,st=function(){return p((function DefaultOptions(){l(this,DefaultOptions)}),null,[{key:"get",value:function get(t){var r=yt.get(t);return r?o(r):void 0}},{key:"merge",value:function merge(t,r){var i=yt.get(t);return o(void 0===i?r:_objectSpread$5(_objectSpread$5({},i),r))}},{key:"set",value:function set(t,r){var i=o(r),a=yt.get(t);void 0===a?yt.set(t,i):yt.set(t,_objectSpread$5(_objectSpread$5({},a),i))}},{key:"reset",value:function reset(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(t)switch(t){case"assign":yt.set("assign",new pt);break;case"toJSON":yt.set("toJSON",new ft);break;default:throw new Error("Unknown aspect: ".concat(t))}else yt.set("assign",new pt),yt.set("toJSON",new ft)}}])}();function ofValueImpl(t,r){if(a.isString(r)){var o=t[String(r).trim().toUpperCase()];return o instanceof t?o:void 0}}function getDefaultInstance(t){if(t.prototype===Object.prototype)return{};var r=ct(t),o=r[Qe];return o instanceof t||(o=new t,r[Qe]=o),o}function _createForOfIteratorHelper(t,r){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(t,r):void 0}}(t))||r){o&&(t=o);var i=0,a=function F(){};return{s:a,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,c=!0,l=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return c=t.done,t},e:function e(t){l=!0,u=t},f:function f(){try{c||null==o.return||o.return()}finally{if(l)throw u}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,i=Array(r);o<r;o++)i[o]=t[o];return i}function getFieldMetadataObject(t,r){var o,i;if(null!=t){null!==(o=t[Ze])&&void 0!==o||(t[Ze]={});var a=t[Ze];return null!==(i=a[r])&&void 0!==i||(a[r]={}),a[r]}}function getFieldMetadata(t,r,o){var i=getFieldMetadataObject(t,r);return i?i[o]:void 0}function getFieldElementType(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};null!=o||(o=".".concat(r)),null!=i||(i={});var u=getFieldMetadata(ct(t),r,tt);if(u){if("function"!=typeof u)throw new TypeError("The annotated element type of '".concat(t.name,".").concat(o,"' is not a function."));return u}if(i&&i.elementTypes&&i.elementTypes[o]){var c=i.elementTypes[o];if("function"!=typeof c)throw new TypeError("The target element type of '".concat(t.name,".").concat(o,"' is not a function."));return c}var l=getDefaultInstance(t)[r];if(null!=l){var p=function getCollectionElementType(t){var r;if(Array.isArray(t)||a.isTypedArray(t)){if(t.length>0&&"function"==typeof(null===(r=t[0])||void 0===r?void 0:r.constructor))return t[0].constructor}else if(a.isCollection(t)&&t.size>0){var o=t.values().next().value;if(o&&"function"==typeof o.constructor)return o.constructor}return null}(l);if(null!=p)return p}return null}function getFieldType(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};null!=o||(o=".".concat(r)),null!=i||(i={});var a=getFieldMetadata(ct(t),r,et);if(a){if("function"!=typeof a)throw new TypeError("The annotated type of '".concat(t.name,".").concat(o,"' is not a function."));return a}if(i&&i.types&&i.types[o]){var u=i.types[o];if("function"!=typeof u)throw new TypeError("The target type of '".concat(t.name,".").concat(o,"' is not a function."));return u}var c=getDefaultInstance(t)[r];if(null!=c&&"function"==typeof c.constructor)return c.constructor}function getSourceField(t,r){if(!0===(null==r?void 0:r.convertNaming)){var o=y.NamingStyle.of(r.sourceNamingStyle);return y.NamingStyle.of(r.targetNamingStyle).to(o,t)}return t}function hasPrototypeFunction(t,r){return null!==t&&t.prototype&&Reflect.has(t.prototype,r)&&"function"==typeof t.prototype[r]}st.reset();var dt={includeAccessor:!1,includeNonEnumerable:!1,includeReadonly:!0,includeNonConfigurable:!0};function ownKeys$4(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function _objectSpread$4(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys$4(Object(i),!0).forEach((function(o){r(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys$4(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}var gt={getAllFields:function getAllFields(t,r,o){var i=o.type,a=o.options,u=Object.keys(t),c=Object.getPrototypeOf(i);if(hasPrototypeFunction(c,"assign")){c.prototype.assign.call(t,r,a);var l=getDefaultInstance(c),p=Object.keys(l);return u.filter((function(t){return!p.includes(t)}))}return u},copyPropertiesWithoutNamingConversion:function copyPropertiesWithoutNamingConversion(t,r){i.isUndefinedOrNull(r)||Object.keys(t).forEach((function(i){Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=o(r[i],dt))}))},cloneEnum:function cloneEnum(t,r){var o=r.sourcePath,i=r.targetType,a=r.defaultInstance;if(null===t)return null;if(void 0===t)return a;if(t instanceof i)return t;if("string"==typeof t){if(0===t.trim().length)return a;var u=ofValueImpl(i,t);if(void 0===u)throw new RangeError("The value of property '".concat(o,"' of the ")+"source object is not an enumerator of ".concat(i.name,": ").concat(t));return u}throw new RangeError("The value of property '".concat(o,"' of the source ")+"object is not an enumerator of ".concat(i.name,": ").concat(t))},cloneWithType:function cloneWithType(t,r){var u=r.targetPath,c=r.sourcePath,l=r.targetType,p=r.defaultInstance,y=r.options;if(i.isUndefinedOrNull(t))return o(p,dt);if(a.isBuiltInClass(l))return null===t?null:void 0===t?p:(t.constructor===l||console.warn("The value of the property '".concat(c,"' of the source ")+"object is not an instance of ".concat(l.name,":"),t),o(t,dt));if("enum"===getClassMetadata(l,Ke))return this.cloneEnum(t,{sourcePath:c,targetType:l,defaultInstance:p});var d=new l;return this.doAssign(d,t,{targetPath:u,sourcePath:c,targetType:l,defaultInstance:p,options:y})},cloneArrayWithElementType:function cloneArrayWithElementType(t,r){var u=this,c=r.targetPath,l=r.sourcePath,p=r.elementType,y=r.defaultArray,d=r.options;if(!Array.isArray(t))return console.error("The value of the property '".concat(l,"' of the source ")+"object should be an array:",t),o(y,dt);if(a.isBuiltInClass(p))return o(t,dt);if("enum"===getClassMetadata(p,Ke))return t.map((function(t,r){return u.cloneEnum(t,{sourcePath:"".concat(l,"[").concat(r,"]"),targetType:p,defaultInstance:y?y[r]:void 0})}));var g=getDefaultInstance(p);return t.map((function(t,r){if(i.isUndefinedOrNull(t))return t;var o=new p,a=y&&y[r]?y[r]:g;return u.doAssign(o,t,{targetPath:"".concat(c,"[").concat(r,"]"),sourcePath:"".concat(l,"[").concat(r,"]"),targetType:p,defaultInstance:a,options:d}),o}))},cloneNoType:function cloneNoType(t,r){var a=r.targetPath,u=r.sourcePath,c=r.defaultInstance,l=r.options;if(i.isUndefinedOrNull(c))return o(t,_objectSpread$4(_objectSpread$4({},dt),{},{convertNaming:l.convertNaming,sourceNamingStyle:l.sourceNamingStyle,targetNamingStyle:l.targetNamingStyle}));var p=Object.getPrototypeOf(c).constructor,y=new p;return this.doAssign(y,t,{targetPath:a,sourcePath:u,targetType:p,defaultInstance:c,options:l})},cloneArrayNoElementType:function cloneArrayNoElementType(t,r){var i=r.sourcePath,a=r.defaultArray,u=r.options;return Array.isArray(t)?o(t,_objectSpread$4(_objectSpread$4({},dt),{},{convertNaming:u.convertNaming,sourceNamingStyle:u.sourceNamingStyle,targetNamingStyle:u.targetNamingStyle})):(console.error("The value of the property '".concat(i,"' of the source ")+"object should be an array:",t),o(a,dt))},doAssign:function doAssign(r,a,u){var c=this,l=u.targetPath,p=u.sourcePath,d=u.targetType,g=u.defaultInstance,b=u.options;if(i.isUndefinedOrNull(a))this.copyPropertiesWithoutNamingConversion(r,g);else{var m=null!=g?g:getDefaultInstance(d);this.getAllFields(r,a,{type:d,options:b}).forEach((function(u){var g=m[u],h="".concat(l,".").concat(u),v=getSourceField(u,b),S="".concat(p,".").concat(v),O=a[v],A=getFieldType(d,u,h,b),P=getFieldElementType(d,u,h,b);if(Object.prototype.hasOwnProperty.call(a,v))i.isUndefinedOrNull(O)?r[u]=O:P?r[u]=c.cloneArrayWithElementType(O,{targetPath:h,sourcePath:S,elementType:P,defaultArray:g,options:b}):A?r[u]=c.cloneWithType(O,{targetPath:h,sourcePath:S,targetType:A,defaultInstance:g,options:b}):i.isUndefinedOrNull(g)?r[u]=o(O,_objectSpread$4(_objectSpread$4({},dt),{},{convertNaming:b.convertNaming,sourceNamingStyle:b.sourceNamingStyle,targetNamingStyle:b.targetNamingStyle})):Array.isArray(g)?r[u]=c.cloneArrayNoElementType(O,{targetPath:h,sourcePath:S,defaultArray:g,options:b}):"object"===t(g)?r[u]=c.cloneNoType(O,{targetPath:h,sourcePath:S,defaultInstance:g,options:b}):r[u]=o(O,_objectSpread$4(_objectSpread$4({},dt),{},{convertNaming:b.convertNaming,sourceNamingStyle:b.sourceNamingStyle,targetNamingStyle:b.targetNamingStyle}));else{var w=function getExistFieldWithDifferentNamingStyle(t,r){var o,i=y.NamingStyle.values(),a=_createForOfIteratorHelper(i);try{for(a.s();!(o=a.n()).done;){var u,c=o.value,l=_createForOfIteratorHelper(i);try{for(l.s();!(u=l.n()).done;){var p=u.value,d=c.to(p,t);if(Object.prototype.hasOwnProperty.call(r,d))return d}}catch(t){l.e(t)}finally{l.f()}}}catch(t){a.e(t)}finally{a.f()}}(v,a);w&&(console.warn("Cannot find the source property '".concat(S,"' ")+"for the target property '".concat(h,"'. ")+"But the source object has a property '".concat(p,".").concat(w,"'. ")+"A correct naming conversion may be needed."),console.warn("The source object:",a),console.warn("The target object:",r)),r[u]=o(g,dt)}}))}return b.normalize?defaultNormalizer(r):r}};function assignImpl(t,r,o,i){var a=st.merge("assign",i);return o instanceof t&&(a.convertNaming=!1),gt.doAssign(r,o,{targetPath:"",sourcePath:"",targetType:t,defaultInstance:getDefaultInstance(t),options:a})}function createImpl(r,o,i){if(null==o)return null;if("object"!==t(o))throw new TypeError("The first argument of ".concat(r.name,".create() must be an object."));if(hasPrototypeFunction(r,"assign")){var a=new r;return a.assign(o,i),a}var u=new r;return assignImpl(r,u,o,i)}function createArrayImpl(t,r,o){if(null==r)return null;if(Array.isArray(r))return r.map((function(r){return createImpl(t,r,o)}));throw new TypeError("The first argument of ".concat(t.name,".createArray() must be an array."))}var bt,mt,ht,vt,St,Ot,At,Pt,wt,jt,qt,Et,It,Ft,Tt,xt,Nt,_t,Rt,Bt,Mt,Dt,$t,kt,Ut,Ct,Gt,Wt,zt,Vt,Jt,Lt,Ht,Kt,Qt,Xt,Yt,Zt,er,tr,rr,nr,or,ir,ar=function(){function Page(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];l(this,Page),r(this,"totalCount",0),r(this,"totalPages",0),r(this,"pageIndex",0),r(this,"pageSize",0),r(this,"content",[]),this.totalCount=t,this.totalPages=o,this.pageIndex=i,this.pageSize=a,this.content=u}return p(Page,[{key:"assign",value:function assign(t){return assignImpl(Page,this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}}],[{key:"newEmpty",value:function newEmpty(t){return new Page(0,0,0,t,[])}},{key:"getFrom",value:function getFrom(t,r){var o=r.length,i=t.pageSize,a=t.pageIndex,u=Math.ceil(o/i),c=a*i,l=Math.min(c+i,o);return new Page(o,u,a,i,r.slice(c,l))}}])}();function ownKeys$3(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function createPageImpl(o,i,a){if(null==i)return null;if(function isValidPageSource(r,o){var i=st.merge("assign",o);return null!=r&&"object"===t(r)&&"number"==typeof r[getSourceField("totalCount",i)]&&"number"==typeof r[getSourceField("totalPages",i)]&&"number"==typeof r[getSourceField("pageIndex",i)]&&"number"==typeof r[getSourceField("pageSize",i)]&&Array.isArray(r[getSourceField("content",i)])}(i,a)){var u=new ar,c=function _objectSpread$3(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys$3(Object(i),!0).forEach((function(o){r(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys$3(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}({},a);return c.elementTypes?c.elementTypes[".content"]=o:c.elementTypes={".content":o},assignImpl(ar,u,i,c)}throw new TypeError("Invalid page format: ".concat(d.stringify(i)))}function setFieldMetadata(t,r,o,i){var a=getFieldMetadataObject(t,r);if(!a)throw new Error('The metadata of the field "'.concat(r,'" of the class does not exist.'));a[o]=i}function ofCodeImpl(t,r){if(a.isString(r)){var o=String(r).trim(),i=Object.keys(t).filter((function(r){return t[r]instanceof t})).find((function(r){var i;return(null===(i=t[r])||void 0===i?void 0:i.code)===o}));return i?t[i]:void 0}}function ofNameImpl(t,r){if(a.isString(r)){var o=String(r).trim(),i=Object.keys(t).filter((function(r){return t[r]instanceof t})).find((function(r){var i;return(null===(i=t[r])||void 0===i?void 0:i.name)===o}));return i?t[i]:void 0}}function ofImpl(t,r){if(null!=r){if(r instanceof t)return r;var o,i;if(a.isString(r))return null!==(o=null!==(i=ofValueImpl(t,r))&&void 0!==i?i:ofNameImpl(t,r))&&void 0!==o?o:ofCodeImpl(t,r)}}function setClassMetadata(t,r,o){var i=ct(t);if(!i)throw new Error('The metadata of the class "'.concat(t.name,'" has not been cached.'));i[r]=o}function isEnumerator(r){if(null==r||"object"!==t(r))return!1;var o=Object.getPrototypeOf(r);return!(!o||!o.constructor)&&"enum"===getClassMetadata(o.constructor,Ke)}function requirePrototypeMethod(t,r){if(!hasPrototypeFunction(t,r))throw new TypeError("The class ".concat(t.name,' does not implement the prototype method "').concat(r,'()".'))}function requireIsArguments$1(){if(mt)return bt;mt=1;var t=Object.prototype.toString;return bt=function isArguments(r){var o=t.call(r),i="[object Arguments]"===o;return i||(i="[object Array]"!==o&&null!==r&&"object"==typeof r&&"number"==typeof r.length&&r.length>=0&&"[object Function]"===t.call(r.callee)),i}}function requireImplementation$4(){if(vt)return ht;var t;if(vt=1,!Object.keys){var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=requireIsArguments$1(),a=Object.prototype.propertyIsEnumerable,u=!a.call({toString:null},"toString"),c=a.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(t){var r=t.constructor;return r&&r.prototype===t},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},y=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&r.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{equalsConstructorPrototype(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();t=function keys(t){var a=null!==t&&"object"==typeof t,p="[object Function]"===o.call(t),d=i(t),g=a&&"[object String]"===o.call(t),b=[];if(!a&&!p&&!d)throw new TypeError("Object.keys called on a non-object");var m=c&&p;if(g&&t.length>0&&!r.call(t,0))for(var h=0;h<t.length;++h)b.push(String(h));if(d&&t.length>0)for(var v=0;v<t.length;++v)b.push(String(v));else for(var S in t)m&&"prototype"===S||!r.call(t,S)||b.push(String(S));if(u)for(var O=function(t){if("undefined"==typeof window||!y)return equalsConstructorPrototype(t);try{return equalsConstructorPrototype(t)}catch(t){return!1}}(t),A=0;A<l.length;++A)O&&"constructor"===l[A]||!r.call(t,l[A])||b.push(l[A]);return b}}return ht=t}function requireObjectKeys(){if(Ot)return St;Ot=1;var t=Array.prototype.slice,r=requireIsArguments$1(),o=Object.keys,i=o?function keys(t){return o(t)}:requireImplementation$4(),a=Object.keys;return i.shim=function shimObjectKeys(){if(Object.keys){var o=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);o||(Object.keys=function keys(o){return r(o)?a(t.call(o)):a(o)})}else Object.keys=i;return Object.keys||i},St=i}function requireEsErrors(){return Pt?At:(Pt=1,At=Error)}function require_eval(){return jt?wt:(jt=1,wt=EvalError)}function requireRange(){return Et?qt:(Et=1,qt=RangeError)}function requireRef(){return Ft?It:(Ft=1,It=ReferenceError)}function requireSyntax(){return xt?Tt:(xt=1,Tt=SyntaxError)}function requireType(){return _t?Nt:(_t=1,Nt=TypeError)}function requireUri(){return Bt?Rt:(Bt=1,Rt=URIError)}function requireShams$5(){return Dt?Mt:(Dt=1,Mt=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),o=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0})}function requireHasSymbols$3(){if(kt)return $t;kt=1;var t="undefined"!=typeof Symbol&&Symbol,r=requireShams$5();return $t=function hasNativeSymbols(){return"function"==typeof t&&("function"==typeof Symbol&&("symbol"==typeof t("foo")&&("symbol"==typeof Symbol("bar")&&r())))}}function requireHasProto(){if(Ct)return Ut;Ct=1;var t={__proto__:null,foo:{}},r=Object;return Ut=function hasProto(){return{__proto__:t}.foo===t.foo&&!(t instanceof r)}}function requireFunctionBind(){if(Vt)return zt;Vt=1;var t=function requireImplementation$3(){if(Wt)return Gt;Wt=1;var t=Object.prototype.toString,r=Math.max,o=function concatty(t,r){for(var o=[],i=0;i<t.length;i+=1)o[i]=t[i];for(var a=0;a<r.length;a+=1)o[a+t.length]=r[a];return o};return Gt=function bind(i){var a=this;if("function"!=typeof a||"[object Function]"!==t.apply(a))throw new TypeError("Function.prototype.bind called on incompatible "+a);for(var u,c=function slicy(t,r){for(var o=[],i=r,a=0;i<t.length;i+=1,a+=1)o[a]=t[i];return o}(arguments,1),l=r(0,a.length-c.length),p=[],y=0;y<l;y++)p[y]="$"+y;if(u=Function("binder","return function ("+function(t,r){for(var o="",i=0;i<t.length;i+=1)o+=t[i],i+1<t.length&&(o+=r);return o}(p,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof u){var t=a.apply(this,o(c,arguments));return Object(t)===t?t:this}return a.apply(i,o(c,arguments))})),a.prototype){var d=function Empty(){};d.prototype=a.prototype,u.prototype=new d,d.prototype=null}return u},Gt}();return zt=Function.prototype.bind||t}function requireHasown(){if(Lt)return Jt;Lt=1;var t=Function.prototype.call,r=Object.prototype.hasOwnProperty,o=requireFunctionBind();return Jt=o.call(t,r)}function requireGetIntrinsic$3(){if(Kt)return Ht;var t;Kt=1;var r=requireEsErrors(),o=require_eval(),i=requireRange(),a=requireRef(),u=requireSyntax(),c=requireType(),l=requireUri(),p=Function,getEvalledConstructor=function(t){try{return p('"use strict"; return ('+t+").constructor;")()}catch(t){}},y=Object.getOwnPropertyDescriptor;if(y)try{y({},"")}catch(t){y=null}var throwTypeError=function(){throw new c},d=y?function(){try{return throwTypeError}catch(t){try{return y(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError,g=requireHasSymbols$3()(),b=requireHasProto()(),m=Object.getPrototypeOf||(b?function(t){return t.__proto__}:null),h={},v="undefined"!=typeof Uint8Array&&m?m(Uint8Array):t,S={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":g&&m?m([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?t:Atomics,"%BigInt%":"undefined"==typeof BigInt?t:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?t:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":p,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?t:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?t:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&m?m(m([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":"undefined"==typeof Map?t:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&m?m((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?t:Promise,"%Proxy%":"undefined"==typeof Proxy?t:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?t:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&m?m((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&m?m(""[Symbol.iterator]()):t,"%Symbol%":g?Symbol:t,"%SyntaxError%":u,"%ThrowTypeError%":d,"%TypedArray%":v,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?t:Uint32Array,"%URIError%":l,"%WeakMap%":"undefined"==typeof WeakMap?t:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?t:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?t:WeakSet};if(m)try{null.error}catch(t){var O=m(m(t));S["%Error.prototype%"]=O}var A=function doEval(t){var r;if("%AsyncFunction%"===t)r=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===t)r=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===t){var o=doEval("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=doEval("%AsyncGenerator%");i&&m&&(r=m(i.prototype))}return S[t]=r,r},P={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=requireFunctionBind(),j=requireHasown(),q=w.call(Function.call,Array.prototype.concat),E=w.call(Function.apply,Array.prototype.splice),I=w.call(Function.call,String.prototype.replace),T=w.call(Function.call,String.prototype.slice),x=w.call(Function.call,RegExp.prototype.exec),N=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,R=function getBaseIntrinsic(t,r){var o,i=t;if(j(P,i)&&(i="%"+(o=P[i])[0]+"%"),j(S,i)){var a=S[i];if(a===h&&(a=A(i)),void 0===a&&!r)throw new c("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:i,value:a}}throw new u("intrinsic "+t+" does not exist!")};return Ht=function GetIntrinsic(t,r){if("string"!=typeof t||0===t.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new c('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,t))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=function stringToPath(t){var r=T(t,0,1),o=T(t,-1);if("%"===r&&"%"!==o)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===o&&"%"!==r)throw new u("invalid intrinsic syntax, expected opening `%`");var i=[];return I(t,N,(function(t,r,o,a){i[i.length]=o?I(a,_,"$1"):r||t})),i}(t),i=o.length>0?o[0]:"",a=R("%"+i+"%",r),l=a.name,p=a.value,d=!1,g=a.alias;g&&(i=g[0],E(o,q([0,1],g)));for(var b=1,m=!0;b<o.length;b+=1){var h=o[b],v=T(h,0,1),O=T(h,-1);if(('"'===v||"'"===v||"`"===v||'"'===O||"'"===O||"`"===O)&&v!==O)throw new u("property names with quotes must have matching quotes");if("constructor"!==h&&m||(d=!0),j(S,l="%"+(i+="."+h)+"%"))p=S[l];else if(null!=p){if(!(h in p)){if(!r)throw new c("base intrinsic for "+t+" exists, but the property is not available.");return}if(y&&b+1>=o.length){var A=y(p,h);p=(m=!!A)&&"get"in A&&!("originalValue"in A.get)?A.get:p[h]}else m=j(p,h),p=p[h];m&&!d&&(S[l]=p)}}return p},Ht}function requireEsDefineProperty$3(){if(Xt)return Qt;Xt=1;var t=requireGetIntrinsic$3()("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch(r){t=!1}return Qt=t}function requireGopd$4(){if(Zt)return Yt;Zt=1;var t=requireGetIntrinsic$3()("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch(r){t=null}return Yt=t}function requireDefineDataProperty(){if(tr)return er;tr=1;var t=requireEsDefineProperty$3(),r=requireSyntax(),o=requireType(),i=requireGopd$4();return er=function defineDataProperty(a,u,c){if(!a||"object"!=typeof a&&"function"!=typeof a)throw new o("`obj` must be an object or a function`");if("string"!=typeof u&&"symbol"!=typeof u)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,p=arguments.length>4?arguments[4]:null,y=arguments.length>5?arguments[5]:null,d=arguments.length>6&&arguments[6],g=!!i&&i(a,u);if(t)t(a,u,{configurable:null===y&&g?g.configurable:!y,enumerable:null===l&&g?g.enumerable:!l,value:c,writable:null===p&&g?g.writable:!p});else{if(!d&&(l||p||y))throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");a[u]=c}},er}function requireHasPropertyDescriptors(){if(nr)return rr;nr=1;var t=requireEsDefineProperty$3(),r=function hasPropertyDescriptors(){return!!t};return r.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!t)return null;try{return 1!==t([],"length",{value:1}).length}catch(t){return!0}},rr=r}function requireDefineProperties(){if(ir)return or;ir=1;var t=requireObjectKeys(),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,i=Array.prototype.concat,a=requireDefineDataProperty(),u=requireHasPropertyDescriptors()(),defineProperty=function(t,r,i,c){if(r in t)if(!0===c){if(t[r]===i)return}else if("function"!=typeof(l=c)||"[object Function]"!==o.call(l)||!c())return;var l;u?a(t,r,i,!0):a(t,r,i)},defineProperties=function(o,a){var u=arguments.length>2?arguments[2]:{},c=t(a);r&&(c=i.call(c,Object.getOwnPropertySymbols(a)));for(var l=0;l<c.length;l+=1)defineProperty(o,c[l],a[c[l]],u[c[l]])};return defineProperties.supportsDescriptors=!!u,or=defineProperties}o.registerCloneHook((function(t,r){return isEnumerator(r)?r:null}));var ur,cr,lr,pr,fr,yr,sr,dr,gr,br,mr,hr,vr,Sr,Or,Ar,Pr,wr,jr,qr,Er,Ir,Fr,Tr,xr,Nr,_r,Rr,Br,Mr,Dr,$r,kr,Ur,Cr,Gr,Wr,zr,Vr,Jr,Lr,Hr,Kr,Qr,Xr,Yr,Zr,en,tn,rn,nn,on,an,un,cn,ln,pn,fn,yn,sn,dn,gn,bn,mn,hn,vn,Sn,On,An,Pn,wn,jn={exports:{}};function requireSetFunctionLength(){if(cr)return ur;cr=1;var t=requireGetIntrinsic$3(),r=requireDefineDataProperty(),o=requireHasPropertyDescriptors()(),i=requireGopd$4(),a=requireType(),u=t("%Math.floor%");return ur=function setFunctionLength(t,c){if("function"!=typeof t)throw new a("`fn` is not a function");if("number"!=typeof c||c<0||c>4294967295||u(c)!==c)throw new a("`length` must be a positive 32-bit integer");var l=arguments.length>2&&!!arguments[2],p=!0,y=!0;if("length"in t&&i){var d=i(t,"length");d&&!d.configurable&&(p=!1),d&&!d.writable&&(y=!1)}return(p||y||!l)&&(o?r(t,"length",c,!0,!0):r(t,"length",c)),t},ur}function requireFunctionCall(){return pr?lr:(pr=1,lr=Function.prototype.call)}function requireFunctionApply(){return yr?fr:(yr=1,fr=Function.prototype.apply)}function requireActualApply(){if(br)return gr;br=1;var t=requireFunctionBind(),r=requireFunctionApply(),o=requireFunctionCall(),i=function requireReflectApply(){return dr?sr:(dr=1,sr="undefined"!=typeof Reflect&&Reflect&&Reflect.apply)}();return gr=i||t.call(o,r)}function requireCallBindApplyHelpers(){if(hr)return mr;hr=1;var t=requireFunctionBind(),r=requireType(),o=requireFunctionCall(),i=requireActualApply();return mr=function callBindBasic(a){if(a.length<1||"function"!=typeof a[0])throw new r("a function is required");return i(t,o,a)}}function requireApplyBind(){if(Sr)return vr;Sr=1;var t=requireFunctionBind(),r=requireFunctionApply(),o=requireActualApply();return vr=function applyBind(){return o(t,r,arguments)},vr}function requireEsObjectAtoms$3(){return jr?wr:(jr=1,wr=Object)}function requireAbs(){return Er?qr:(Er=1,qr=Math.abs)}function requireFloor(){return Fr?Ir:(Fr=1,Ir=Math.floor)}function requireMax(){return xr?Tr:(xr=1,Tr=Math.max)}function requireMin(){return _r?Nr:(_r=1,Nr=Math.min)}function requirePow(){return Br?Rr:(Br=1,Rr=Math.pow)}function requireRound(){return Dr?Mr:(Dr=1,Mr=Math.round)}function require_isNaN(){return kr?$r:(kr=1,$r=Number.isNaN||function isNaN(t){return t!=t})}function requireSign(){if(Cr)return Ur;Cr=1;var t=require_isNaN();return Ur=function sign(r){return t(r)||0===r?r:r<0?-1:1}}function requireGOPD$3(){return Wr?Gr:(Wr=1,Gr=Object.getOwnPropertyDescriptor)}function requireGopd$3(){if(Vr)return zr;Vr=1;var t=requireGOPD$3();if(t)try{t([],"length")}catch(r){t=null}return zr=t}function requireEsDefineProperty$2(){if(Lr)return Jr;Lr=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(r){t=!1}return Jr=t}function requireHasSymbols$2(){if(Xr)return Qr;Xr=1;var t="undefined"!=typeof Symbol&&Symbol,r=function requireShams$3(){return Kr?Hr:(Kr=1,Hr=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),o=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(var i in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var a=Object.getOwnPropertySymbols(t);if(1!==a.length||a[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var u=Object.getOwnPropertyDescriptor(t,r);if(42!==u.value||!0!==u.enumerable)return!1}return!0})}();return Qr=function hasNativeSymbols(){return"function"==typeof t&&("function"==typeof Symbol&&("symbol"==typeof t("foo")&&("symbol"==typeof Symbol("bar")&&r())))}}function requireReflect_getPrototypeOf(){return Zr?Yr:(Zr=1,Yr="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function requireEsObjectAtoms$2(){return tn?en:(tn=1,en=Object)}function requireObject_getPrototypeOf(){return nn?rn:(nn=1,rn=requireEsObjectAtoms$2().getPrototypeOf||null)}function requireGOPD$2(){return an?on:(an=1,on=Object.getOwnPropertyDescriptor)}function requireGopd$2(){if(cn)return un;cn=1;var t=requireGOPD$2();if(t)try{t([],"length")}catch(r){t=null}return un=t}function requireGet(){if(pn)return ln;pn=1;var t,r=requireCallBindApplyHelpers(),o=requireGopd$2();try{t=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var i=!!t&&o&&o(Object.prototype,"__proto__"),a=Object,u=a.getPrototypeOf;return ln=i&&"function"==typeof i.get?r([i.get]):"function"==typeof u&&function getDunder(t){return u(null==t?t:a(t))}}function requireGetProto(){if(yn)return fn;yn=1;var t=requireReflect_getPrototypeOf(),r=requireObject_getPrototypeOf(),o=requireGet();return fn=t?function getProto(r){return t(r)}:r?function getProto(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("getProto: not an object");return r(t)}:o?function getProto(t){return o(t)}:null}function requireGetIntrinsic$2(){if(dn)return sn;var t;dn=1;var r=requireEsObjectAtoms$3(),o=requireEsErrors(),i=require_eval(),a=requireRange(),u=requireRef(),c=requireSyntax(),l=requireType(),p=requireUri(),y=requireAbs(),d=requireFloor(),g=requireMax(),b=requireMin(),m=requirePow(),h=requireRound(),v=requireSign(),S=Function,getEvalledConstructor=function(t){try{return S('"use strict"; return ('+t+").constructor;")()}catch(t){}},O=requireGopd$3(),A=requireEsDefineProperty$2(),throwTypeError=function(){throw new l},P=O?function(){try{return throwTypeError}catch(t){try{return O(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError,w=requireHasSymbols$2()(),j=requireGetProto(),q=requireObject_getPrototypeOf(),E=requireReflect_getPrototypeOf(),I=requireFunctionApply(),T=requireFunctionCall(),x={},N="undefined"!=typeof Uint8Array&&j?j(Uint8Array):t,_={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":w&&j?j([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":"undefined"==typeof Atomics?t:Atomics,"%BigInt%":"undefined"==typeof BigInt?t:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"undefined"==typeof Float16Array?t:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?t:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":S,"%GeneratorFunction%":x,"%Int8Array%":"undefined"==typeof Int8Array?t:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?t:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&j?j(j([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":"undefined"==typeof Map?t:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&w&&j?j((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":O,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?t:Promise,"%Proxy%":"undefined"==typeof Proxy?t:Proxy,"%RangeError%":a,"%ReferenceError%":u,"%Reflect%":"undefined"==typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?t:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&w&&j?j((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&j?j(""[Symbol.iterator]()):t,"%Symbol%":w?Symbol:t,"%SyntaxError%":c,"%ThrowTypeError%":P,"%TypedArray%":N,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?t:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?t:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?t:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?t:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":I,"%Object.defineProperty%":A,"%Object.getPrototypeOf%":q,"%Math.abs%":y,"%Math.floor%":d,"%Math.max%":g,"%Math.min%":b,"%Math.pow%":m,"%Math.round%":h,"%Math.sign%":v,"%Reflect.getPrototypeOf%":E};if(j)try{null.error}catch(t){var R=j(j(t));_["%Error.prototype%"]=R}var B=function doEval(t){var r;if("%AsyncFunction%"===t)r=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===t)r=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===t){var o=doEval("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=doEval("%AsyncGenerator%");i&&j&&(r=j(i.prototype))}return _[t]=r,r},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=requireFunctionBind(),$=requireHasown(),k=D.call(T,Array.prototype.concat),U=D.call(I,Array.prototype.splice),C=D.call(T,String.prototype.replace),G=D.call(T,String.prototype.slice),W=D.call(T,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,J=function getBaseIntrinsic(t,r){var o,i=t;if($(M,i)&&(i="%"+(o=M[i])[0]+"%"),$(_,i)){var a=_[i];if(a===x&&(a=B(i)),void 0===a&&!r)throw new l("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:i,value:a}}throw new c("intrinsic "+t+" does not exist!")};return sn=function GetIntrinsic(t,r){if("string"!=typeof t||0===t.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new l('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,t))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=function stringToPath(t){var r=G(t,0,1),o=G(t,-1);if("%"===r&&"%"!==o)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===o&&"%"!==r)throw new c("invalid intrinsic syntax, expected opening `%`");var i=[];return C(t,z,(function(t,r,o,a){i[i.length]=o?C(a,V,"$1"):r||t})),i}(t),i=o.length>0?o[0]:"",a=J("%"+i+"%",r),u=a.name,p=a.value,y=!1,d=a.alias;d&&(i=d[0],U(o,k([0,1],d)));for(var g=1,b=!0;g<o.length;g+=1){var m=o[g],h=G(m,0,1),v=G(m,-1);if(('"'===h||"'"===h||"`"===h||'"'===v||"'"===v||"`"===v)&&h!==v)throw new c("property names with quotes must have matching quotes");if("constructor"!==m&&b||(y=!0),$(_,u="%"+(i+="."+m)+"%"))p=_[u];else if(null!=p){if(!(m in p)){if(!r)throw new l("base intrinsic for "+t+" exists, but the property is not available.");return}if(O&&g+1>=o.length){var S=O(p,m);p=(b=!!S)&&"get"in S&&!("originalValue"in S.get)?S.get:p[m]}else b=$(p,m),p=p[m];b&&!y&&(_[u]=p)}}return p},sn}function requireCallBound$1(){if(bn)return gn;bn=1;var t=requireGetIntrinsic$2(),r=requireCallBindApplyHelpers(),o=r([t("%String.prototype.indexOf%")]);return gn=function callBoundIntrinsic(i,a){var u=t(i,!!a);return"function"==typeof u&&o(i,".prototype.")>-1?r([u]):u}}function requireImplementation$2(){if(hn)return mn;hn=1;var t=requireObjectKeys(),r=function requireShams$4(){return Pr?Ar:(Pr=1,Ar=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),o=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(var i in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var a=Object.getOwnPropertySymbols(t);if(1!==a.length||a[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var u=Object.getOwnPropertyDescriptor(t,r);if(42!==u.value||!0!==u.enumerable)return!1}return!0})}()(),o=requireCallBound$1(),i=requireEsObjectAtoms$2(),a=o("Array.prototype.push"),u=o("Object.prototype.propertyIsEnumerable"),c=r?i.getOwnPropertySymbols:null;return mn=function assign(o,l){if(null==o)throw new TypeError("target must be an object");var p=i(o);if(1===arguments.length)return p;for(var y=1;y<arguments.length;++y){var d=i(arguments[y]),g=t(d),b=r&&(i.getOwnPropertySymbols||c);if(b)for(var m=b(d),h=0;h<m.length;++h){var v=m[h];u(d,v)&&a(g,v)}for(var S=0;S<g.length;++S){var O=g[S];if(u(d,O)){var A=d[O];p[O]=A}}}return p},mn}function requirePolyfill$2(){if(Sn)return vn;Sn=1;var t=requireImplementation$2();return vn=function getPolyfill(){return Object.assign?function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",r=t.split(""),o={},i=0;i<r.length;++i)o[r[i]]=r[i];var a=Object.assign({},o),u="";for(var c in a)u+=c;return t!==u}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(r){return"y"===t[1]}return!1}()?t:Object.assign:t}}function requireObject_assign(){if(wn)return Pn;wn=1;var t=requireDefineProperties(),r=function requireCallBind$4(){return Or||(Or=1,function(t){var r=requireSetFunctionLength(),o=requireEsDefineProperty$3(),i=requireCallBindApplyHelpers(),a=requireApplyBind();t.exports=function callBind(t){var o=i(arguments),a=t.length-(arguments.length-1);return r(o,1+(a>0?a:0),!0)},o?o(t.exports,"apply",{value:a}):t.exports.apply=a}(jn)),jn.exports}(),o=requireImplementation$2(),i=requirePolyfill$2(),a=function requireShim$2(){if(An)return On;An=1;var t=requireDefineProperties(),r=requirePolyfill$2();return On=function shimAssign(){var o=r();return t(Object,{assign:o},{assign:function(){return Object.assign!==o}}),o},On}(),u=r.apply(i()),c=function assign(t,r){return u(Object,arguments)};return t(c,{getPolyfill:i,implementation:o,shim:a}),Pn=c}var qn,En,In,Fn={exports:{}};function requireCallBind$3(){return qn||(qn=1,function(t){var r=requireFunctionBind(),o=requireGetIntrinsic$3(),i=requireSetFunctionLength(),a=requireType(),u=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(c,u),p=requireEsDefineProperty$3(),y=o("%Math.max%");t.exports=function callBind(t){if("function"!=typeof t)throw new a("a function is required");var o=l(r,c,arguments);return i(o,1+y(0,t.length-(arguments.length-1)),!0)};var d=function applyBind(){return l(r,u,arguments)};p?p(t.exports,"apply",{value:d}):t.exports.apply=d}(Fn)),Fn.exports}function requireCallBound(){if(In)return En;In=1;var t=requireGetIntrinsic$3(),r=requireCallBind$3(),o=r(t("String.prototype.indexOf"));return En=function callBoundIntrinsic(i,a){var u=t(i,!!a);return"function"==typeof u&&o(i,".prototype.")>-1?r(u):u}}var Tn,xn,Nn,_n,Rn,Bn,Mn,Dn,$n,kn,Un,Cn,Gn,Wn,zn,Vn,Jn,Ln,Hn,Kn,Qn,Xn,Yn,Zn,eo,to,ro,no,oo,io,ao,uo,co,lo,po,fo,yo,so,go,bo,mo,ho,vo,So,Oo,Ao,Po,wo,jo,qo={exports:{}};function requireSetFunctionName(){if(Rn)return _n;Rn=1;var t=requireDefineDataProperty(),r=requireHasPropertyDescriptors()(),o=function requireFunctionsHaveNames(){if(Nn)return xn;Nn=1;var t=function functionsHaveNames(){return"string"==typeof function f(){}.name},r=Object.getOwnPropertyDescriptor;if(r)try{r([],"length")}catch(t){r=null}t.functionsHaveConfigurableNames=function functionsHaveConfigurableNames(){if(!t()||!r)return!1;var o=r((function(){}),"name");return!!o&&!!o.configurable};var o=Function.prototype.bind;return t.boundFunctionsHaveNames=function boundFunctionsHaveNames(){return t()&&"function"==typeof o&&""!==function f(){}.bind().name},xn=t}().functionsHaveConfigurableNames(),i=requireType();return _n=function setFunctionName(a,u){if("function"!=typeof a)throw new i("`fn` is not a function");return arguments.length>2&&!!arguments[2]&&!o||(r?t(a,"name",u,!0,!0):t(a,"name",u)),a},_n}function requireImplementation$1(){if(Mn)return Bn;Mn=1;var t=requireSetFunctionName(),r=requireType(),o=Object;return Bn=t((function flags(){if(null==this||this!==o(this))throw new r("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t}),"get flags",!0)}function requirePolyfill$1(){if($n)return Dn;$n=1;var t=requireImplementation$1(),r=requireDefineProperties().supportsDescriptors,o=Object.getOwnPropertyDescriptor;return Dn=function getPolyfill(){if(r&&"gim"===/a/gim.flags){var i=o(RegExp.prototype,"flags");if(i&&"function"==typeof i.get&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var a="",u={};if(Object.defineProperty(u,"hasIndices",{get:function(){a+="d"}}),Object.defineProperty(u,"sticky",{get:function(){a+="y"}}),i.get.call(u),"dy"===a)return i.get}}return t}}function requireGOPD$1(){return Un?kn:(Un=1,kn=Object.getOwnPropertyDescriptor)}function requireGopd$1(){if(Gn)return Cn;Gn=1;var t=requireGOPD$1();if(t)try{t([],"length")}catch(r){t=null}return Cn=t}function requireRegexp_prototype_flags(){if(Jn)return Vn;Jn=1;var t=requireDefineProperties(),r=function requireCallBind$2(){return Tn||(Tn=1,function(t){var r=requireSetFunctionLength(),o=requireEsDefineProperty$3(),i=requireCallBindApplyHelpers(),a=requireApplyBind();t.exports=function callBind(t){var o=i(arguments),a=t.length-(arguments.length-1);return r(o,1+(a>0?a:0),!0)},o?o(t.exports,"apply",{value:a}):t.exports.apply=a}(qo)),qo.exports}(),o=requireImplementation$1(),i=requirePolyfill$1(),a=function requireShim$1(){if(zn)return Wn;zn=1;var t=requireDefineProperties().supportsDescriptors,r=requirePolyfill$1(),o=requireGopd$1(),i=Object.defineProperty,a=requireEsErrors(),u=requireGetProto(),c=/a/;return Wn=function shimFlags(){if(!t||!u)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var l=r(),p=u(c),y=o(p,"flags");return y&&y.get===l||i(p,"flags",{configurable:!0,enumerable:!1,get:l}),l},Wn}(),u=r(i());return t(u,{getPolyfill:i,implementation:o,shim:a}),Vn=u}function requireEsObjectAtoms$1(){return Hn?Ln:(Hn=1,Ln=Object)}function requireEsDefineProperty$1(){if(Qn)return Kn;Qn=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(r){t=!1}return Kn=t}function requireHasSymbols$1(){if(eo)return Zn;eo=1;var t="undefined"!=typeof Symbol&&Symbol,r=function requireShams$2(){return Yn?Xn:(Yn=1,Xn=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),o=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(var i in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var a=Object.getOwnPropertySymbols(t);if(1!==a.length||a[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var u=Object.getOwnPropertyDescriptor(t,r);if(42!==u.value||!0!==u.enumerable)return!1}return!0})}();return Zn=function hasNativeSymbols(){return"function"==typeof t&&("function"==typeof Symbol&&("symbol"==typeof t("foo")&&("symbol"==typeof Symbol("bar")&&r())))}}function requireGetIntrinsic$1(){if(ro)return to;var t;ro=1;var r=requireEsObjectAtoms$1(),o=requireEsErrors(),i=require_eval(),a=requireRange(),u=requireRef(),c=requireSyntax(),l=requireType(),p=requireUri(),y=requireAbs(),d=requireFloor(),g=requireMax(),b=requireMin(),m=requirePow(),h=requireRound(),v=requireSign(),S=Function,getEvalledConstructor=function(t){try{return S('"use strict"; return ('+t+").constructor;")()}catch(t){}},O=requireGopd$1(),A=requireEsDefineProperty$1(),throwTypeError=function(){throw new l},P=O?function(){try{return throwTypeError}catch(t){try{return O(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError,w=requireHasSymbols$1()(),j=requireGetProto(),q=requireObject_getPrototypeOf(),E=requireReflect_getPrototypeOf(),I=requireFunctionApply(),T=requireFunctionCall(),x={},N="undefined"!=typeof Uint8Array&&j?j(Uint8Array):t,_={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":w&&j?j([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":"undefined"==typeof Atomics?t:Atomics,"%BigInt%":"undefined"==typeof BigInt?t:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"undefined"==typeof Float16Array?t:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?t:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":S,"%GeneratorFunction%":x,"%Int8Array%":"undefined"==typeof Int8Array?t:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?t:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&j?j(j([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":"undefined"==typeof Map?t:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&w&&j?j((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":O,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?t:Promise,"%Proxy%":"undefined"==typeof Proxy?t:Proxy,"%RangeError%":a,"%ReferenceError%":u,"%Reflect%":"undefined"==typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?t:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&w&&j?j((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&j?j(""[Symbol.iterator]()):t,"%Symbol%":w?Symbol:t,"%SyntaxError%":c,"%ThrowTypeError%":P,"%TypedArray%":N,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?t:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?t:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?t:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?t:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":I,"%Object.defineProperty%":A,"%Object.getPrototypeOf%":q,"%Math.abs%":y,"%Math.floor%":d,"%Math.max%":g,"%Math.min%":b,"%Math.pow%":m,"%Math.round%":h,"%Math.sign%":v,"%Reflect.getPrototypeOf%":E};if(j)try{null.error}catch(t){var R=j(j(t));_["%Error.prototype%"]=R}var B=function doEval(t){var r;if("%AsyncFunction%"===t)r=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===t)r=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===t){var o=doEval("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=doEval("%AsyncGenerator%");i&&j&&(r=j(i.prototype))}return _[t]=r,r},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=requireFunctionBind(),$=requireHasown(),k=D.call(T,Array.prototype.concat),U=D.call(I,Array.prototype.splice),C=D.call(T,String.prototype.replace),G=D.call(T,String.prototype.slice),W=D.call(T,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,J=function getBaseIntrinsic(t,r){var o,i=t;if($(M,i)&&(i="%"+(o=M[i])[0]+"%"),$(_,i)){var a=_[i];if(a===x&&(a=B(i)),void 0===a&&!r)throw new l("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:i,value:a}}throw new c("intrinsic "+t+" does not exist!")};return to=function GetIntrinsic(t,r){if("string"!=typeof t||0===t.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new l('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,t))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=function stringToPath(t){var r=G(t,0,1),o=G(t,-1);if("%"===r&&"%"!==o)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===o&&"%"!==r)throw new c("invalid intrinsic syntax, expected opening `%`");var i=[];return C(t,z,(function(t,r,o,a){i[i.length]=o?C(a,V,"$1"):r||t})),i}(t),i=o.length>0?o[0]:"",a=J("%"+i+"%",r),u=a.name,p=a.value,y=!1,d=a.alias;d&&(i=d[0],U(o,k([0,1],d)));for(var g=1,b=!0;g<o.length;g+=1){var m=o[g],h=G(m,0,1),v=G(m,-1);if(('"'===h||"'"===h||"`"===h||'"'===v||"'"===v||"`"===v)&&h!==v)throw new c("property names with quotes must have matching quotes");if("constructor"!==m&&b||(y=!0),$(_,u="%"+(i+="."+m)+"%"))p=_[u];else if(null!=p){if(!(m in p)){if(!r)throw new l("base intrinsic for "+t+" exists, but the property is not available.");return}if(O&&g+1>=o.length){var S=O(p,m);p=(b=!!S)&&"get"in S&&!("originalValue"in S.get)?S.get:p[m]}else b=$(p,m),p=p[m];b&&!y&&(_[u]=p)}}return p},to}function requireUtil_inspect(){return ao?io:(ao=1,io=g.inspect)}function requireObjectInspect(){if(co)return uo;co=1;var t="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=t&&r&&"function"==typeof r.get?r.get:null,i=t&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&u&&"function"==typeof u.get?u.get:null,l=a&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,y="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,b=Object.prototype.toString,h=Function.prototype.toString,v=String.prototype.match,S=String.prototype.slice,O=String.prototype.replace,A=String.prototype.toUpperCase,P=String.prototype.toLowerCase,w=RegExp.prototype.test,j=Array.prototype.concat,q=Array.prototype.join,E=Array.prototype.slice,I=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,x=Object.getOwnPropertySymbols,N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,_="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===_||"symbol")?Symbol.toStringTag:null,B=Object.prototype.propertyIsEnumerable,M=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function addNumericSeparator(t,r){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||w.call(/e/,r))return r;var o=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var i=t<0?-I(-t):I(t);if(i!==t){var a=String(i),u=S.call(r,a.length+1);return O.call(a,o,"$&_")+"."+O.call(O.call(u,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(r,o,"$&_")}var D=requireUtil_inspect(),$=D.custom,k=isSymbol($)?$:null;function wrapQuotes(t,r,o){var i="double"===(o.quoteStyle||r)?'"':"'";return i+t+i}function quote(t){return O.call(String(t),/"/g,""")}function isArray(t){return!("[object Array]"!==toStr(t)||R&&"object"==typeof t&&R in t)}function isRegExp(t){return!("[object RegExp]"!==toStr(t)||R&&"object"==typeof t&&R in t)}function isSymbol(t){if(_)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!N)return!1;try{return N.call(t),!0}catch(t){}return!1}uo=function inspect_(t,r,a,u){var b=r||{};if(has(b,"quoteStyle")&&"single"!==b.quoteStyle&&"double"!==b.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(b,"maxStringLength")&&("number"==typeof b.maxStringLength?b.maxStringLength<0&&b.maxStringLength!==1/0:null!==b.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var A=!has(b,"customInspect")||b.customInspect;if("boolean"!=typeof A&&"symbol"!==A)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(b,"indent")&&null!==b.indent&&"\t"!==b.indent&&!(parseInt(b.indent,10)===b.indent&&b.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(b,"numericSeparator")&&"boolean"!=typeof b.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=b.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return inspectString(t,b);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var I=String(t);return w?addNumericSeparator(t,I):I}if("bigint"==typeof t){var x=String(t)+"n";return w?addNumericSeparator(t,x):x}var $=void 0===b.depth?5:b.depth;if(void 0===a&&(a=0),a>=$&&$>0&&"object"==typeof t)return isArray(t)?"[Array]":"[Object]";var U=function getIndent(t,r){var o;if("\t"===t.indent)o="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;o=q.call(Array(t.indent+1)," ")}return{base:o,prev:q.call(Array(r+1),o)}}(b,a);if(void 0===u)u=[];else if(indexOf(u,t)>=0)return"[Circular]";function inspect(t,r,o){if(r&&(u=E.call(u)).push(r),o){var i={depth:b.depth};return has(b,"quoteStyle")&&(i.quoteStyle=b.quoteStyle),inspect_(t,i,a+1,u)}return inspect_(t,b,a+1,u)}if("function"==typeof t&&!isRegExp(t)){var C=function nameOf(t){if(t.name)return t.name;var r=v.call(h.call(t),/^function\s*([\w$]+)/);if(r)return r[1];return null}(t),G=arrObjKeys(t,inspect);return"[Function"+(C?": "+C:" (anonymous)")+"]"+(G.length>0?" { "+q.call(G,", ")+" }":"")}if(isSymbol(t)){var W=_?O.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):N.call(t);return"object"!=typeof t||_?W:markBoxed(W)}if(function isElement(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(t)){for(var z="<"+P.call(String(t.nodeName)),V=t.attributes||[],J=0;J<V.length;J++)z+=" "+V[J].name+"="+wrapQuotes(quote(V[J].value),"double",b);return z+=">",t.childNodes&&t.childNodes.length&&(z+="..."),z+="</"+P.call(String(t.nodeName))+">"}if(isArray(t)){if(0===t.length)return"[]";var L=arrObjKeys(t,inspect);return U&&!function singleLineValues(t){for(var r=0;r<t.length;r++)if(indexOf(t[r],"\n")>=0)return!1;return!0}(L)?"["+indentedJoin(L,U)+"]":"[ "+q.call(L,", ")+" ]"}if(function isError(t){return!("[object Error]"!==toStr(t)||R&&"object"==typeof t&&R in t)}(t)){var H=arrObjKeys(t,inspect);return"cause"in Error.prototype||!("cause"in t)||B.call(t,"cause")?0===H.length?"["+String(t)+"]":"{ ["+String(t)+"] "+q.call(H,", ")+" }":"{ ["+String(t)+"] "+q.call(j.call("[cause]: "+inspect(t.cause),H),", ")+" }"}if("object"==typeof t&&A){if(k&&"function"==typeof t[k]&&D)return D(t,{depth:$-a});if("symbol"!==A&&"function"==typeof t.inspect)return t.inspect()}if(function isMap(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(t)){var K=[];return i&&i.call(t,(function(r,o){K.push(inspect(o,t,!0)+" => "+inspect(r,t))})),collectionOf("Map",o.call(t),K,U)}if(function isSet(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(t)){var Q=[];return l&&l.call(t,(function(r){Q.push(inspect(r,t))})),collectionOf("Set",c.call(t),Q,U)}if(function isWeakMap(t){if(!p||!t||"object"!=typeof t)return!1;try{p.call(t,p);try{y.call(t,y)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(t))return weakCollectionOf("WeakMap");if(function isWeakSet(t){if(!y||!t||"object"!=typeof t)return!1;try{y.call(t,y);try{p.call(t,p)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(t))return weakCollectionOf("WeakSet");if(function isWeakRef(t){if(!d||!t||"object"!=typeof t)return!1;try{return d.call(t),!0}catch(t){}return!1}(t))return weakCollectionOf("WeakRef");if(function isNumber(t){return!("[object Number]"!==toStr(t)||R&&"object"==typeof t&&R in t)}(t))return markBoxed(inspect(Number(t)));if(function isBigInt(t){if(!t||"object"!=typeof t||!T)return!1;try{return T.call(t),!0}catch(t){}return!1}(t))return markBoxed(inspect(T.call(t)));if(function isBoolean(t){return!("[object Boolean]"!==toStr(t)||R&&"object"==typeof t&&R in t)}(t))return markBoxed(g.call(t));if(function isString(t){return!("[object String]"!==toStr(t)||R&&"object"==typeof t&&R in t)}(t))return markBoxed(inspect(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==m&&t===m)return"{ [object globalThis] }";if(!function isDate(t){return!("[object Date]"!==toStr(t)||R&&"object"==typeof t&&R in t)}(t)&&!isRegExp(t)){var X=arrObjKeys(t,inspect),Y=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,Z=t instanceof Object?"":"null prototype",ee=!Y&&R&&Object(t)===t&&R in t?S.call(toStr(t),8,-1):Z?"Object":"",te=(Y||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ee||Z?"["+q.call(j.call([],ee||[],Z||[]),": ")+"] ":"");return 0===X.length?te+"{}":U?te+"{"+indentedJoin(X,U)+"}":te+"{ "+q.call(X,", ")+" }"}return String(t)};var U=Object.prototype.hasOwnProperty||function(t){return t in this};function has(t,r){return U.call(t,r)}function toStr(t){return b.call(t)}function indexOf(t,r){if(t.indexOf)return t.indexOf(r);for(var o=0,i=t.length;o<i;o++)if(t[o]===r)return o;return-1}function inspectString(t,r){if(t.length>r.maxStringLength){var o=t.length-r.maxStringLength,i="... "+o+" more character"+(o>1?"s":"");return inspectString(S.call(t,0,r.maxStringLength),r)+i}return wrapQuotes(O.call(O.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",r)}function lowbyte(t){var r=t.charCodeAt(0),o={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return o?"\\"+o:"\\x"+(r<16?"0":"")+A.call(r.toString(16))}function markBoxed(t){return"Object("+t+")"}function weakCollectionOf(t){return t+" { ? }"}function collectionOf(t,r,o,i){return t+" ("+r+") {"+(i?indentedJoin(o,i):q.call(o,", "))+"}"}function indentedJoin(t,r){if(0===t.length)return"";var o="\n"+r.prev+r.base;return o+q.call(t,","+o)+"\n"+r.prev}function arrObjKeys(t,r){var o=isArray(t),i=[];if(o){i.length=t.length;for(var a=0;a<t.length;a++)i[a]=has(t,a)?r(t[a],t):""}var u,c="function"==typeof x?x(t):[];if(_){u={};for(var l=0;l<c.length;l++)u["$"+c[l]]=c[l]}for(var p in t)has(t,p)&&(o&&String(Number(p))===p&&p<t.length||_&&u["$"+p]instanceof Symbol||(w.call(/[^\w$]/,p)?i.push(r(p,t)+": "+r(t[p],t)):i.push(p+": "+r(t[p],t))));if("function"==typeof x)for(var y=0;y<c.length;y++)B.call(t,c[y])&&i.push("["+r(c[y])+"]: "+r(t[c[y]],t));return i}return uo}function requireSideChannel(){if(po)return lo;po=1;var t=requireGetIntrinsic$3(),r=requireCallBound(),o=requireObjectInspect(),i=requireType(),a=t("%WeakMap%",!0),u=t("%Map%",!0),c=r("WeakMap.prototype.get",!0),l=r("WeakMap.prototype.set",!0),p=r("WeakMap.prototype.has",!0),y=r("Map.prototype.get",!0),d=r("Map.prototype.set",!0),g=r("Map.prototype.has",!0),listGetNode=function(t,r){for(var o,i=t;null!==(o=i.next);i=o)if(o.key===r)return i.next=o.next,o.next=t.next,t.next=o,o};return lo=function getSideChannel(){var t,r,b,m={assert:function(t){if(!m.has(t))throw new i("Side channel does not contain "+o(t))},get:function(o){if(a&&o&&("object"==typeof o||"function"==typeof o)){if(t)return c(t,o)}else if(u){if(r)return y(r,o)}else if(b)return function(t,r){var o=listGetNode(t,r);return o&&o.value}(b,o)},has:function(o){if(a&&o&&("object"==typeof o||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(r)return g(r,o)}else if(b)return function(t,r){return!!listGetNode(t,r)}(b,o);return!1},set:function(o,i){a&&o&&("object"==typeof o||"function"==typeof o)?(t||(t=new a),l(t,o,i)):u?(r||(r=new u),d(r,o,i)):(b||(b={key:{},next:null}),function(t,r,o){var i=listGetNode(t,r);i?i.value=o:t.next={key:r,next:t.next,value:o}}(b,o,i))}};return m},lo}function requireImplementation(){if(yo)return fo;yo=1;var numberIsNaN=function(t){return t!=t};return fo=function is(t,r){return 0===t&&0===r?1/t==1/r:t===r||!(!numberIsNaN(t)||!numberIsNaN(r))}}function requirePolyfill(){if(go)return so;go=1;var t=requireImplementation();return so=function getPolyfill(){return"function"==typeof Object.is?Object.is:t}}function requireShim(){if(mo)return bo;mo=1;var t=requirePolyfill(),r=requireDefineProperties();return bo=function shimObjectIs(){var o=t();return r(Object,{is:o},{is:function testObjectIs(){return Object.is!==o}}),o},bo}function requireShams$1(){if(Oo)return So;Oo=1;var t=requireShams$5();return So=function hasToStringTagShams(){return t()&&!!Symbol.toStringTag}}function requireIsArguments(){if(Po)return Ao;Po=1;var t=requireShams$1()(),r=requireCallBound$1()("Object.prototype.toString"),o=function isArguments(o){return!(t&&o&&"object"==typeof o&&Symbol.toStringTag in o)&&"[object Arguments]"===r(o)},i=function isArguments(t){return!!o(t)||null!==t&&"object"==typeof t&&"length"in t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==r(t)&&"callee"in t&&"[object Function]"===r(t.callee)},a=function(){return o(arguments)}();return o.isLegacyArguments=i,Ao=a?o:i}var Eo,Io,Fo,To,xo,No,_o,Ro,Bo,Mo,Do,$o,ko,Uo,Co,Go={exports:{}};function requireIsArrayBuffer(){if(Fo)return Io;Fo=1;var t=function requireCallBind$1(){return Eo||(Eo=1,function(t){var r=requireSetFunctionLength(),o=requireEsDefineProperty$3(),i=requireCallBindApplyHelpers(),a=requireApplyBind();t.exports=function callBind(t){var o=i(arguments),a=t.length-(arguments.length-1);return r(o,1+(a>0?a:0),!0)},o?o(t.exports,"apply",{value:a}):t.exports.apply=a}(Go)),Go.exports}(),r=requireCallBound$1(),o=requireGetIntrinsic$1()("%ArrayBuffer%",!0),i=r("ArrayBuffer.prototype.byteLength",!0),a=r("Object.prototype.toString"),u=!!o&&!i&&new o(0).slice,c=!!u&&t(u);return Io=i||c?function isArrayBuffer(t){if(!t||"object"!=typeof t)return!1;try{return i?i(t):c(t,0),!0}catch(t){return!1}}:o?function isArrayBuffer(t){return"[object ArrayBuffer]"===a(t)}:function isArrayBuffer(t){return!1}}function requireIsDateObject(){if(xo)return To;xo=1;var t=requireCallBound$1(),r=t("Date.prototype.getDay"),o=t("Object.prototype.toString"),i=requireShams$1()();return To=function isDateObject(t){return"object"==typeof t&&null!==t&&(i?function tryDateGetDayCall(t){try{return r(t),!0}catch(t){return!1}}(t):"[object Date]"===o(t))}}function requireIsRegex(){if(_o)return No;_o=1;var t,r,o,i,a=requireCallBound(),u=requireShams$1()();if(u){t=a("Object.prototype.hasOwnProperty"),r=a("RegExp.prototype.exec"),o={};var throwRegexMarker=function(){throw o};i={toString:throwRegexMarker,valueOf:throwRegexMarker},"symbol"==typeof Symbol.toPrimitive&&(i[Symbol.toPrimitive]=throwRegexMarker)}var c=a("Object.prototype.toString"),l=Object.getOwnPropertyDescriptor;return No=u?function isRegex(a){if(!a||"object"!=typeof a)return!1;var u=l(a,"lastIndex");if(!(u&&t(u,"value")))return!1;try{r(a,i)}catch(t){return t===o}}:function isRegex(t){return!(!t||"object"!=typeof t&&"function"!=typeof t)&&"[object RegExp]"===c(t)}}function requireIsSharedArrayBuffer(){if(Bo)return Ro;Bo=1;var t=requireCallBound()("SharedArrayBuffer.prototype.byteLength",!0);return Ro=t?function isSharedArrayBuffer(r){if(!r||"object"!=typeof r)return!1;try{return t(r),!0}catch(t){return!1}}:function isSharedArrayBuffer(t){return!1}}function requireIsString(){if(Do)return Mo;Do=1;var t=String.prototype.valueOf,r=Object.prototype.toString,o=requireShams$1()();return Mo=function isString(i){return"string"==typeof i||"object"==typeof i&&(o?function tryStringObject(r){try{return t.call(r),!0}catch(t){return!1}}(i):"[object String]"===r.call(i))}}function requireIsNumberObject(){if(ko)return $o;ko=1;var t=Number.prototype.toString,r=Object.prototype.toString,o=requireShams$1()();return $o=function isNumberObject(i){return"number"==typeof i||"object"==typeof i&&(o?function tryNumberObject(r){try{return t.call(r),!0}catch(t){return!1}}(i):"[object Number]"===r.call(i))}}function requireIsBooleanObject(){if(Co)return Uo;Co=1;var t=requireCallBound(),r=t("Boolean.prototype.toString"),o=t("Object.prototype.toString"),i=requireShams$1()();return Uo=function isBoolean(t){return"boolean"==typeof t||null!==t&&"object"==typeof t&&(i&&Symbol.toStringTag in t?function booleanBrandCheck(t){try{return r(t),!0}catch(t){return!1}}(t):"[object Boolean]"===o(t))}}var Wo,zo={exports:{}};function requireIsSymbol(){if(Wo)return zo.exports;Wo=1;var t=Object.prototype.toString;if(requireHasSymbols$3()()){var r=Symbol.prototype.toString,o=/^Symbol\(.*\)$/;zo.exports=function isSymbol(i){if("symbol"==typeof i)return!0;if("[object Symbol]"!==t.call(i))return!1;try{return function isRealSymbolObject(t){return"symbol"==typeof t.valueOf()&&o.test(r.call(t))}(i)}catch(t){return!1}}}else zo.exports=function isSymbol(t){return!1};return zo.exports}var Vo,Jo,Lo,Ho,Ko,Qo,Xo,Yo,Zo,ei,ti,ri={exports:{}};function requireIsBigint(){if(Lo)return ri.exports;if(Lo=1,function requireHasBigints(){if(Jo)return Vo;Jo=1;var t="undefined"!=typeof BigInt&&BigInt;return Vo=function hasNativeBigInts(){return"function"==typeof t&&"function"==typeof BigInt&&"bigint"==typeof t(42)&&"bigint"==typeof BigInt(42)}}()()){var t=BigInt.prototype.valueOf;ri.exports=function isBigInt(r){return null!=r&&"boolean"!=typeof r&&"string"!=typeof r&&"number"!=typeof r&&"symbol"!=typeof r&&"function"!=typeof r&&("bigint"==typeof r||function tryBigIntObject(r){try{return t.call(r),!0}catch(t){}return!1}(r))}}else ri.exports=function isBigInt(t){return!1};return ri.exports}function requireWhichBoxedPrimitive(){if(Ko)return Ho;Ko=1;var t=requireIsString(),r=requireIsNumberObject(),o=requireIsBooleanObject(),i=requireIsSymbol(),a=requireIsBigint();return Ho=function whichBoxedPrimitive(u){return null==u||"object"!=typeof u&&"function"!=typeof u?null:t(u)?"String":r(u)?"Number":o(u)?"Boolean":i(u)?"Symbol":a(u)?"BigInt":void 0}}function requireIsMap(){if(Xo)return Qo;Xo=1;var t,r="function"==typeof Map&&Map.prototype?Map:null,o="function"==typeof Set&&Set.prototype?Set:null;r||(t=function isMap(t){return!1});var i=r?Map.prototype.has:null,a=o?Set.prototype.has:null;return t||i||(t=function isMap(t){return!1}),Qo=t||function isMap(t){if(!t||"object"!=typeof t)return!1;try{if(i.call(t),a)try{a.call(t)}catch(t){return!0}return t instanceof r}catch(t){}return!1}}function requireIsSet(){if(Zo)return Yo;Zo=1;var t,r="function"==typeof Map&&Map.prototype?Map:null,o="function"==typeof Set&&Set.prototype?Set:null;o||(t=function isSet(t){return!1});var i=r?Map.prototype.has:null,a=o?Set.prototype.has:null;return t||a||(t=function isSet(t){return!1}),Yo=t||function isSet(t){if(!t||"object"!=typeof t)return!1;try{if(a.call(t),i)try{i.call(t)}catch(t){return!0}return t instanceof o}catch(t){}return!1}}var ni,oi,ii,ai,ui,ci,li,pi,fi,yi,si,di,gi,bi,mi,hi,vi,Si,Oi,Ai,Pi,wi,ji,qi,Ei,Ii={exports:{}};function requireEsObjectAtoms(){return oi?ni:(oi=1,ni=Object)}function requireGOPD(){return ai?ii:(ai=1,ii=Object.getOwnPropertyDescriptor)}function requireGopd(){if(ci)return ui;ci=1;var t=requireGOPD();if(t)try{t([],"length")}catch(r){t=null}return ui=t}function requireEsDefineProperty(){if(pi)return li;pi=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(r){t=!1}return li=t}function requireHasSymbols(){if(di)return si;di=1;var t="undefined"!=typeof Symbol&&Symbol,r=function requireShams(){return yi?fi:(yi=1,fi=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),o=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(var i in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var a=Object.getOwnPropertySymbols(t);if(1!==a.length||a[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var u=Object.getOwnPropertyDescriptor(t,r);if(42!==u.value||!0!==u.enumerable)return!1}return!0})}();return si=function hasNativeSymbols(){return"function"==typeof t&&("function"==typeof Symbol&&("symbol"==typeof t("foo")&&("symbol"==typeof Symbol("bar")&&r())))}}function requireGetIntrinsic(){if(bi)return gi;var t;bi=1;var r=requireEsObjectAtoms(),o=requireEsErrors(),i=require_eval(),a=requireRange(),u=requireRef(),c=requireSyntax(),l=requireType(),p=requireUri(),y=requireAbs(),d=requireFloor(),g=requireMax(),b=requireMin(),m=requirePow(),h=requireRound(),v=requireSign(),S=Function,getEvalledConstructor=function(t){try{return S('"use strict"; return ('+t+").constructor;")()}catch(t){}},O=requireGopd(),A=requireEsDefineProperty(),throwTypeError=function(){throw new l},P=O?function(){try{return throwTypeError}catch(t){try{return O(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError,w=requireHasSymbols()(),j=requireGetProto(),q=requireObject_getPrototypeOf(),E=requireReflect_getPrototypeOf(),I=requireFunctionApply(),T=requireFunctionCall(),x={},N="undefined"!=typeof Uint8Array&&j?j(Uint8Array):t,_={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":w&&j?j([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":"undefined"==typeof Atomics?t:Atomics,"%BigInt%":"undefined"==typeof BigInt?t:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"undefined"==typeof Float16Array?t:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?t:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":S,"%GeneratorFunction%":x,"%Int8Array%":"undefined"==typeof Int8Array?t:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?t:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&j?j(j([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":"undefined"==typeof Map?t:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&w&&j?j((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":O,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?t:Promise,"%Proxy%":"undefined"==typeof Proxy?t:Proxy,"%RangeError%":a,"%ReferenceError%":u,"%Reflect%":"undefined"==typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?t:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&w&&j?j((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&j?j(""[Symbol.iterator]()):t,"%Symbol%":w?Symbol:t,"%SyntaxError%":c,"%ThrowTypeError%":P,"%TypedArray%":N,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?t:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?t:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?t:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?t:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":I,"%Object.defineProperty%":A,"%Object.getPrototypeOf%":q,"%Math.abs%":y,"%Math.floor%":d,"%Math.max%":g,"%Math.min%":b,"%Math.pow%":m,"%Math.round%":h,"%Math.sign%":v,"%Reflect.getPrototypeOf%":E};if(j)try{null.error}catch(t){var R=j(j(t));_["%Error.prototype%"]=R}var B=function doEval(t){var r;if("%AsyncFunction%"===t)r=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===t)r=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===t){var o=doEval("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=doEval("%AsyncGenerator%");i&&j&&(r=j(i.prototype))}return _[t]=r,r},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=requireFunctionBind(),$=requireHasown(),k=D.call(T,Array.prototype.concat),U=D.call(I,Array.prototype.splice),C=D.call(T,String.prototype.replace),G=D.call(T,String.prototype.slice),W=D.call(T,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,J=function getBaseIntrinsic(t,r){var o,i=t;if($(M,i)&&(i="%"+(o=M[i])[0]+"%"),$(_,i)){var a=_[i];if(a===x&&(a=B(i)),void 0===a&&!r)throw new l("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:i,value:a}}throw new c("intrinsic "+t+" does not exist!")};return gi=function GetIntrinsic(t,r){if("string"!=typeof t||0===t.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new l('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,t))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=function stringToPath(t){var r=G(t,0,1),o=G(t,-1);if("%"===r&&"%"!==o)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===o&&"%"!==r)throw new c("invalid intrinsic syntax, expected opening `%`");var i=[];return C(t,z,(function(t,r,o,a){i[i.length]=o?C(a,V,"$1"):r||t})),i}(t),i=o.length>0?o[0]:"",a=J("%"+i+"%",r),u=a.name,p=a.value,y=!1,d=a.alias;d&&(i=d[0],U(o,k([0,1],d)));for(var g=1,b=!0;g<o.length;g+=1){var m=o[g],h=G(m,0,1),v=G(m,-1);if(('"'===h||"'"===h||"`"===h||'"'===v||"'"===v||"`"===v)&&h!==v)throw new c("property names with quotes must have matching quotes");if("constructor"!==m&&b||(y=!0),$(_,u="%"+(i+="."+m)+"%"))p=_[u];else if(null!=p){if(!(m in p)){if(!r)throw new l("base intrinsic for "+t+" exists, but the property is not available.");return}if(O&&g+1>=o.length){var S=O(p,m);p=(b=!!S)&&"get"in S&&!("originalValue"in S.get)?S.get:p[m]}else b=$(p,m),p=p[m];b&&!y&&(_[u]=p)}}return p},gi}function requireIsWeakset(){if(mi)return Ii.exports;mi=1;var t=requireGetIntrinsic(),r=requireCallBound$1(),o=t("%WeakSet%",!0),i=r("WeakSet.prototype.has",!0);if(i){var a=r("WeakMap.prototype.has",!0);Ii.exports=function isWeakSet(t){if(!t||"object"!=typeof t)return!1;try{if(i(t,i),a)try{a(t,a)}catch(t){return!0}return t instanceof o}catch(t){}return!1}}else Ii.exports=function isWeakSet(t){return!1};return Ii.exports}function requireWhichCollection(){if(vi)return hi;vi=1;var t=requireIsMap(),r=requireIsSet(),o=function requireIsWeakmap(){if(ti)return ei;ti=1;var t,r="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,o="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;r||(t=function isWeakMap(t){return!1});var i=r?r.prototype.has:null,a=o?o.prototype.has:null;return t||i||(t=function isWeakMap(t){return!1}),ei=t||function isWeakMap(t){if(!t||"object"!=typeof t)return!1;try{if(i.call(t,i),a)try{a.call(t,a)}catch(t){return!0}return t instanceof r}catch(t){}return!1}}(),i=requireIsWeakset();return hi=function whichCollection(a){if(a&&"object"==typeof a){if(t(a))return"Map";if(r(a))return"Set";if(o(a))return"WeakMap";if(i(a))return"WeakSet"}return!1}}function requireIsCallable(){if(Oi)return Si;Oi=1;var t,r,o=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i((function(){throw 42}),null,t)}catch(t){t!==r&&(i=null)}else i=null;var a=/^\s*class\b/,u=function isES6ClassFunction(t){try{var r=o.call(t);return a.test(r)}catch(t){return!1}},c=function tryFunctionToStr(t){try{return!u(t)&&(o.call(t),!0)}catch(t){return!1}},l=Object.prototype.toString,p="function"==typeof Symbol&&!!Symbol.toStringTag,y=!(0 in[,]),d=function isDocumentDotAll(){return!1};if("object"==typeof document){var g=document.all;l.call(g)===l.call(document.all)&&(d=function isDocumentDotAll(t){if((y||!t)&&(void 0===t||"object"==typeof t))try{var r=l.call(t);return("[object HTMLAllCollection]"===r||"[object HTML document.all class]"===r||"[object HTMLCollection]"===r||"[object Object]"===r)&&null==t("")}catch(t){}return!1})}return Si=i?function isCallable(o){if(d(o))return!0;if(!o)return!1;if("function"!=typeof o&&"object"!=typeof o)return!1;try{i(o,null,t)}catch(t){if(t!==r)return!1}return!u(o)&&c(o)}:function isCallable(t){if(d(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(p)return c(t);if(u(t))return!1;var r=l.call(t);return!("[object Function]"!==r&&"[object GeneratorFunction]"!==r&&!/^\[object HTML/.test(r))&&c(t)}}function requireForEach(){if(Pi)return Ai;Pi=1;var t=requireIsCallable(),r=Object.prototype.toString,o=Object.prototype.hasOwnProperty;return Ai=function forEach(i,a,u){if(!t(a))throw new TypeError("iterator must be a function");var c;arguments.length>=3&&(c=u),function isArray(t){return"[object Array]"===r.call(t)}(i)?function forEachArray(t,r,i){for(var a=0,u=t.length;a<u;a++)o.call(t,a)&&(null==i?r(t[a],a,t):r.call(i,t[a],a,t))}(i,a,c):"string"==typeof i?function forEachString(t,r,o){for(var i=0,a=t.length;i<a;i++)null==o?r(t.charAt(i),i,t):r.call(o,t.charAt(i),i,t)}(i,a,c):function forEachObject(t,r,i){for(var a in t)o.call(t,a)&&(null==i?r(t[a],a,t):r.call(i,t[a],a,t))}(i,a,c)},Ai}function requirePossibleTypedArrayNames(){return ji?wi:(ji=1,wi=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"])}function requireAvailableTypedArrays(){if(Ei)return qi;Ei=1;var t=requirePossibleTypedArrayNames(),r="undefined"==typeof globalThis?m:globalThis;return qi=function availableTypedArrays(){for(var o=[],i=0;i<t.length;i++)"function"==typeof r[t[i]]&&(o[o.length]=t[i]);return o}}var Fi,Ti,xi,Ni,_i,Ri,Bi,Mi={exports:{}};function requireCallBind(){return Fi||(Fi=1,function(t){var r=requireSetFunctionLength(),o=requireEsDefineProperty$3(),i=requireCallBindApplyHelpers(),a=requireApplyBind();t.exports=function callBind(t){var o=i(arguments),a=t.length-(arguments.length-1);return r(o,1+(a>0?a:0),!0)},o?o(t.exports,"apply",{value:a}):t.exports.apply=a}(Mi)),Mi.exports}function requireWhichTypedArray(){if(xi)return Ti;xi=1;var t=requireForEach(),r=requireAvailableTypedArrays(),o=requireCallBind(),i=requireCallBound$1(),a=requireGopd$1(),u=requireGetProto(),c=i("Object.prototype.toString"),l=requireShams$1()(),p="undefined"==typeof globalThis?m:globalThis,y=r(),d=i("String.prototype.slice"),g=i("Array.prototype.indexOf",!0)||function indexOf(t,r){for(var o=0;o<t.length;o+=1)if(t[o]===r)return o;return-1},b={__proto__:null};t(y,l&&a&&u?function(t){var r=new p[t];if(Symbol.toStringTag in r&&u){var i=u(r),c=a(i,Symbol.toStringTag);if(!c&&i){var l=u(i);c=a(l,Symbol.toStringTag)}b["$"+t]=o(c.get)}}:function(t){var r=new p[t],i=r.slice||r.set;i&&(b["$"+t]=o(i))});return Ti=function whichTypedArray(r){if(!r||"object"!=typeof r)return!1;if(!l){var o=d(c(r),8,-1);return g(y,o)>-1?o:"Object"===o&&function tryAllSlices(r){var o=!1;return t(b,(function(t,i){if(!o)try{t(r),o=d(i,1)}catch(t){}})),o}(r)}return a?function tryAllTypedArrays(r){var o=!1;return t(b,(function(t,i){if(!o)try{"$"+t(r)===i&&(o=d(i,1))}catch(t){}})),o}(r):null}}function requireArrayBufferByteLength(){if(_i)return Ni;_i=1;var t=requireCallBound$1()("ArrayBuffer.prototype.byteLength",!0),r=requireIsArrayBuffer();return Ni=function byteLength(o){return r(o)?t?t(o):o.byteLength:NaN}}var Di=function requireDeepEqual(){if(Bi)return Ri;Bi=1;var t=requireObject_assign(),r=requireCallBound(),o=requireRegexp_prototype_flags(),i=requireGetIntrinsic$1(),a=function requireNode(){if(oo)return no;oo=1;var t=Symbol.iterator;return no=function getIterator(r){if(null!=r&&void 0!==r[t])return r[t]()}}(),u=requireSideChannel(),c=function requireObjectIs(){if(vo)return ho;vo=1;var t=requireDefineProperties(),r=requireCallBind$3(),o=requireImplementation(),i=requirePolyfill(),a=requireShim(),u=r(i(),Object);return t(u,{getPolyfill:i,implementation:o,shim:a}),ho=u}(),l=requireIsArguments(),p=function requireIsarray(){if(jo)return wo;jo=1;var t={}.toString;return wo=Array.isArray||function(r){return"[object Array]"==t.call(r)}}(),y=requireIsArrayBuffer(),d=requireIsDateObject(),g=requireIsRegex(),b=requireIsSharedArrayBuffer(),m=requireObjectKeys(),h=requireWhichBoxedPrimitive(),v=requireWhichCollection(),S=requireWhichTypedArray(),O=requireArrayBufferByteLength(),A=r("SharedArrayBuffer.prototype.byteLength",!0),P=r("Date.prototype.getTime"),w=Object.getPrototypeOf,j=r("Object.prototype.toString"),q=i("%Set%",!0),E=r("Map.prototype.has",!0),I=r("Map.prototype.get",!0),T=r("Map.prototype.size",!0),x=r("Set.prototype.add",!0),N=r("Set.prototype.delete",!0),_=r("Set.prototype.has",!0),R=r("Set.prototype.size",!0);function setHasEqualElement(t,r,o,i){for(var u,c=a(t);(u=c.next())&&!u.done;)if(internalDeepEqual(r,u.value,o,i))return N(t,u.value),!0;return!1}function findLooseMatchingPrimitives(t){return void 0===t?null:"object"!=typeof t?"symbol"!=typeof t&&("string"!=typeof t&&"number"!=typeof t||+t==+t):void 0}function mapMightHaveLoosePrim(r,o,i,a,u,c){var l=findLooseMatchingPrimitives(i);if(null!=l)return l;var p=I(o,l),y=t({},u,{strict:!1});return!(void 0===p&&!E(o,l)||!internalDeepEqual(a,p,y,c))&&(!E(r,l)&&internalDeepEqual(a,p,y,c))}function setMightHaveLoosePrim(t,r,o){var i=findLooseMatchingPrimitives(o);return null!=i?i:_(r,i)&&!_(t,i)}function mapHasEqualEntry(t,r,o,i,u,c){for(var l,p,y=a(t);(l=y.next())&&!l.done;)if(internalDeepEqual(o,p=l.value,u,c)&&internalDeepEqual(i,I(r,p),u,c))return N(t,p),!0;return!1}function internalDeepEqual(r,i,u,N){var B=u||{};if(B.strict?c(r,i):r===i)return!0;if(h(r)!==h(i))return!1;if(!r||!i||"object"!=typeof r&&"object"!=typeof i)return B.strict?c(r,i):r==i;var M,D=N.has(r),$=N.has(i);if(D&&$){if(N.get(r)===N.get(i))return!0}else M={};return D||N.set(r,M),$||N.set(i,M),function objEquiv(r,i,u,c){var h,N;if(typeof r!=typeof i)return!1;if(null==r||null==i)return!1;if(j(r)!==j(i))return!1;if(l(r)!==l(i))return!1;var B=p(r),M=p(i);if(B!==M)return!1;var D=r instanceof Error,$=i instanceof Error;if(D!==$)return!1;if((D||$)&&(r.name!==i.name||r.message!==i.message))return!1;var k=g(r),U=g(i);if(k!==U)return!1;if((k||U)&&(r.source!==i.source||o(r)!==o(i)))return!1;var C=d(r),G=d(i);if(C!==G)return!1;if((C||G)&&P(r)!==P(i))return!1;if(u.strict&&w&&w(r)!==w(i))return!1;var W=S(r),z=S(i);if(W!==z)return!1;if(W||z){if(r.length!==i.length)return!1;for(h=0;h<r.length;h++)if(r[h]!==i[h])return!1;return!0}var V=isBuffer(r),J=isBuffer(i);if(V!==J)return!1;if(V||J){if(r.length!==i.length)return!1;for(h=0;h<r.length;h++)if(r[h]!==i[h])return!1;return!0}var L=y(r),H=y(i);if(L!==H)return!1;if(L||H)return O(r)===O(i)&&("function"==typeof Uint8Array&&internalDeepEqual(new Uint8Array(r),new Uint8Array(i),u,c));var K=b(r),Q=b(i);if(K!==Q)return!1;if(K||Q)return A(r)===A(i)&&("function"==typeof Uint8Array&&internalDeepEqual(new Uint8Array(r),new Uint8Array(i),u,c));if(typeof r!=typeof i)return!1;var X=m(r),Y=m(i);if(X.length!==Y.length)return!1;for(X.sort(),Y.sort(),h=X.length-1;h>=0;h--)if(X[h]!=Y[h])return!1;for(h=X.length-1;h>=0;h--)if(!internalDeepEqual(r[N=X[h]],i[N],u,c))return!1;var Z=v(r),ee=v(i);if(Z!==ee)return!1;if("Set"===Z||"Set"===ee)return function setEquiv(t,r,o,i){if(R(t)!==R(r))return!1;var u,c,l,p=a(t),y=a(r);for(;(u=p.next())&&!u.done;)if(u.value&&"object"==typeof u.value)l||(l=new q),x(l,u.value);else if(!_(r,u.value)){if(o.strict)return!1;if(!setMightHaveLoosePrim(t,r,u.value))return!1;l||(l=new q),x(l,u.value)}if(l){for(;(c=y.next())&&!c.done;)if(c.value&&"object"==typeof c.value){if(!setHasEqualElement(l,c.value,o.strict,i))return!1}else if(!o.strict&&!_(t,c.value)&&!setHasEqualElement(l,c.value,o.strict,i))return!1;return 0===R(l)}return!0}(r,i,u,c);if("Map"===Z)return function mapEquiv(r,o,i,u){if(T(r)!==T(o))return!1;var c,l,p,y,d,g,b=a(r),m=a(o);for(;(c=b.next())&&!c.done;)if(y=c.value[0],d=c.value[1],y&&"object"==typeof y)p||(p=new q),x(p,y);else if(void 0===(g=I(o,y))&&!E(o,y)||!internalDeepEqual(d,g,i,u)){if(i.strict)return!1;if(!mapMightHaveLoosePrim(r,o,y,d,i,u))return!1;p||(p=new q),x(p,y)}if(p){for(;(l=m.next())&&!l.done;)if(y=l.value[0],g=l.value[1],y&&"object"==typeof y){if(!mapHasEqualEntry(p,r,y,g,i,u))return!1}else if(!(i.strict||r.has(y)&&internalDeepEqual(I(r,y),g,i,u)||mapHasEqualEntry(p,r,y,g,t({},i,{strict:!1}),u)))return!1;return 0===R(p)}return!0}(r,i,u,c);return!0}(r,i,B,N)}function isBuffer(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&("function"==typeof t.copy&&"function"==typeof t.slice&&(!(t.length>0&&"number"!=typeof t[0])&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))))}return Ri=function deepEqual(t,r,o){return internalDeepEqual(t,r,o,u())}}(),$i=getDefaultExportFromCjs(Di);function hasOwnPrototypeFunction(t,r){return null!==t&&t.prototype&&Object.prototype.hasOwnProperty.call(t.prototype,r)&&"function"==typeof t.prototype[r]}function normalizeFieldImpl(t,r,o,i){var c,l;if(null!=i||(i={}),null!==(l=(c=i).path)&&void 0!==l||(c.path=""),!Object.prototype.hasOwnProperty.call(r,o))return!1;var p=Object.getPrototypeOf(t);if(hasOwnPrototypeFunction(p,"normalizeField")&&p.prototype.normalizeField.call(r,o,i))return!0;var y=getFieldMetadata(ct(t),o,it);if(void 0===y)return!1;var d=r[o];return function normalizeNullishField(t,r,o,i){return null==i}(0,0,0,d)||function normalizeArrayField(t,r,o,i,u,c){if(Array.isArray(i)||a.isTypedArray(i)){var l="".concat(u.path,".").concat(o),p={type:getFieldElementType(t,o,l,u),path:l,types:u.types,elementTypes:u.elementTypes};return r[o]=i.map((function(t){return null==t?t:c(t,p)})),!0}return!1}(t,r,o,d,i,y)||function normalizeSetField(t,r,o,i,a,u){if(i instanceof Set){var c="".concat(a.path,".").concat(o),l={type:getFieldElementType(t,o,c,a),path:c,types:a.types,elementTypes:a.elementTypes};return r[o]=new Set(Array.from(i,(function(t){return u(t,l)}))),!0}return!1}(t,r,o,d,i,y)||function normalizeMapField(t,r,o,i,a,c){if(i instanceof Map){var l="".concat(a.path,".").concat(o),p={type:getFieldElementType(t,o,l,a),path:l,types:a.types,elementTypes:a.elementTypes};return r[o]=new Map(Array.from(i,(function(t){var r=u(t,2),o=r[0],i=r[1];return[o,c(i,p)]}))),!0}return!1}(t,r,o,d,i,y)||function normalizeNormalField(t,r,o,i,a,u){var c="".concat(a.path,".").concat(o),l={type:getFieldType(t,o,c,a),path:c,types:a.types,elementTypes:a.elementTypes};return r[o]=u(i,l),!0}(t,r,o,d,i,y)}function ownKeys$2(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function _objectSpread$2(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys$2(Object(i),!0).forEach((function(o){r(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys$2(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}function toJsonImpl(t,r,i){var a=st.merge("toJSON",i);a.normalize&&(t=defaultNormalizer(t=o(t,dt)));var u=_objectSpread$2(_objectSpread$2({},dt),{},{pojo:!0,disableHooks:!0,useToJSON:!0,convertNaming:a.convertNaming,sourceNamingStyle:a.sourceNamingStyle,targetNamingStyle:a.targetNamingStyle,removeEmptyFields:a.removeEmptyFields,skipRootToJSON:a.skipRootToJSON});return o(t,u)}function toJsonStringImpl(t,r,o){var i=st.merge("toJSON",o),a=r.toJSON("",i);return d.stringify(a,null,i.space)}function getFieldLabel(t,r){var o=getFieldMetadata(t,r,ot);return o?o.label:r}function getInstanceName(t,r){var o=t[Ye];return o?r[o]:void 0}function isFieldNonEmpty(t,r){return!0===getFieldMetadata(t,r,nt)}function isFieldNullable(t,r){return!0===getFieldMetadata(t,r,rt)}function getElementValidationContext(t,r,o,i,a){var u,c,l,p,y,d={instance:o,owner:null!==(u=a.owner)&&void 0!==u?u:getInstanceName(r,o),field:i,type:null!==(c=a.type)&&void 0!==c?c:getFieldElementType(t,i),label:null!==(l=a.label)&&void 0!==l?l:getFieldLabel(r,i),nullable:null!==(p=a.nullable)&&void 0!==p?p:isFieldNullable(r,i),nonEmpty:null!==(y=a.nonEmpty)&&void 0!==y?y:isFieldNonEmpty(r,i)};return Object.assign(d,a)}function validateEmptyField(t,r,o,a,u){if(i.isEmpty(a)){if(u.nonEmpty||isFieldNonEmpty(t,o)){var c,l,p=null!==(c=u.label)&&void 0!==c?c:getFieldLabel(t,o),y=null!==(l=u.owner)&&void 0!==l?l:getInstanceName(t,r),d=y?"The ".concat(p," of ").concat(y," cannot be empty."):"The ".concat(p," cannot be empty.");return new b.ValidationResult(!1,d)}return new b.ValidationResult(!0)}return null}function validateNormalField(t,r,o,i,a,u,c){var l=function getValidationContext(t,r,o,i,a){var u,c,l,p,y,d={instance:o,owner:null!==(u=a.owner)&&void 0!==u?u:getInstanceName(r,o),field:i,type:null!==(c=a.type)&&void 0!==c?c:getFieldType(t,i),label:null!==(l=a.label)&&void 0!==l?l:getFieldLabel(r,i),nullable:null!==(p=a.nullable)&&void 0!==p?p:isFieldNullable(r,i),nonEmpty:null!==(y=a.nonEmpty)&&void 0!==y?y:isFieldNonEmpty(r,i)};return Object.assign(d,a)}(t,r,o,i,c);return u(a,l)}function validateFieldImpl(t,r,o,i){var u,c,l;if(!Object.prototype.hasOwnProperty.call(r,o))return null;var p=Object.getPrototypeOf(t);if(hasOwnPrototypeFunction(p,"validateField")){var y=p.prototype.validateField.call(r,o,i);if(null!==y)return y}var d=ct(t),g=getFieldMetadata(d,o,at);if(void 0===g)return new b.ValidationResult(!0);var m=r[o];return null!==(u=null!==(c=null!==(l=function validateArrayField(t,r,o,i,u,c,l){if(Array.isArray(u)||a.isTypedArray(u)){var p=validateEmptyField(r,o,i,u,l);if(p)return p;var y=getElementValidationContext(t,r,o,i,l),d=u.map((function(t,r){return y.index=r,c(t,y)}));return b.ValidationResult.merge(d)}return null}(t,d,r,o,m,g,i))&&void 0!==l?l:function validateSetField(t,r,o,i,a,u,c){if(a instanceof Set){var l=validateEmptyField(r,o,i,a,c);if(l)return l;var p=getElementValidationContext(t,r,o,i,c),y=Array.from(a,(function(t,r){return p.index=r,u(t,p)}));return b.ValidationResult.merge(y)}return null}(t,d,r,o,m,g,i))&&void 0!==c?c:function validateMapField(t,r,o,i,a,u,c){if(a instanceof Map){var l=validateEmptyField(r,o,i,a,c);if(l)return l;var p=getElementValidationContext(t,r,o,i,c),y=Array.from(a,(function(t,r){return p.index=r,u(t[1],p)}));return b.ValidationResult.merge(y)}return null}(t,d,r,o,m,g,i))&&void 0!==u?u:validateNormalField(t,d,r,o,m,g,i)}function ownKeys$1(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function _objectSpread$1(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys$1(Object(i),!0).forEach((function(o){r(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys$1(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}function isDecoratorContext(r){return null!==r&&"object"===t(r)&&null!==r.metadata&&"object"===t(r.metadata)&&"string"==typeof r.kind&&"string"==typeof r.name}function setNormalizer(r,o,i){var a=o.metadata,u=o.kind,c=o.name;if("field"!==u)throw new SyntaxError("The @Normalizable must decorate a class field: ".concat(c));if("function"!=typeof i)throw new TypeError('The argument of @Normalizable decorated on the "'.concat(c,'" field must be a function, but it is a ').concat(t(i),"."));setFieldMetadata(a,c,it,i)}function ownKeys(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function _objectSpread(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys(Object(i),!0).forEach((function(o){r(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}function defaultValidator(r,o){var a=o.owner,u=o.type,c=o.label,l=o.nullable,p=o.nonEmpty;if(null==r){if(l)return new b.ValidationResult(!0);var y=a?"必须设置".concat(a,"的").concat(c,"的值"):"必须设置".concat(c,"的值");return new b.ValidationResult(!1,y)}if(i.isEmpty(r)&&p){var d=a?"".concat(a,"的").concat(c,"不能为空"):"".concat(c,"不能为空");return new b.ValidationResult(!1,d)}if(u){if(isEnumClass(u)&&"string"==typeof r){if(u.hasValue(r))return new b.ValidationResult(!0);var g=a?"".concat(a,"的").concat(c,"的值不受支持: ").concat(r):"".concat(c,"的值不受支持: ").concat(r);return new b.ValidationResult(!1,g)}if(r.constructor!==u){var m=a?"".concat(a,"的").concat(c,"必须是 ").concat(u.name," 类型"):"".concat(c,"必须是 ").concat(u.name," 类型");return new b.ValidationResult(!1,m)}}return"object"===t(r)&&"function"==typeof r.validate?r.validate("*",{owner:a}):new b.ValidationResult(!0)}function setValidator(r,o,i){var a=o.metadata,u=o.kind,c=o.name;if("field"!==u)throw new SyntaxError("The @Validatable must decorate a class field: ".concat(c));if("function"!=typeof i)throw new TypeError('The argument of @Validatable decorated on the "'.concat(c,'" field must be a function, but it is a ').concat(t(i),"."));setFieldMetadata(a,c,at,i)}exports.DefaultOptions=st,exports.ElementType=function ElementType(t){return function decorate(r,o){var i=o.kind,a=o.name,u=o.metadata;if("field"!==i)throw new SyntaxError("The decorator @ElementType can only decorate a class field: ".concat(a));if("function"!=typeof t)throw new TypeError('The argument of @ElementType decorated on "'.concat(a,'" must be the constructor of a class.'));return setFieldMetadata(u,a,tt,t),function(t){if(null!=t&&!Array.isArray(t))throw new TypeError('The field "'.concat(a,'" decorated by @ElementType must be initialized with an array.'));return t}}},exports.Enum=function Enum(r,o){if(null===o||"object"!==t(o))throw new TypeError("The context must be an object.");if("function"!=typeof r||"class"!==o.kind)throw new TypeError("The `@Enum` can only decorate a class.");lt(r,o.metadata),setClassMetadata(r,Ke,"enum"),o.addInitializer((function(){Object.keys(r).forEach((function(o){"function"!=typeof r[o]&&function defineEnumerator(r,o){var i=r[o],a=new r;if(a.value=o,null==i)a.name=o;else if("string"==typeof i)a.name=i;else{if("object"!==t(i))throw new TypeError("The default value of the enumerator "+"".concat(r.name,".").concat(o," should be either a string or an object."));Object.assign(a,i)}Object.freeze(a),r[o]=a}(r,o)})),Object.freeze(r)})),r.prototype.toString=function toString(){return this.value},r.prototype.toJSON=function toJSON(){return this.value},r.values=function values(){return function valuesImpl(t){return Object.keys(t).filter((function(r){return t[r]instanceof t})).map((function(r){return t[r]}))}(r)},r.ofValue=function ofValue(t){return ofValueImpl(r,t)},r.hasValue=function hasValue(t){return void 0!==ofValueImpl(r,t)},r.ofName=function ofName(t){return ofNameImpl(r,t)},r.hasName=function hasName(t){return void 0!==ofNameImpl(r,t)},r.ofCode=function ofCode(t){return ofCodeImpl(r,t)},r.hasCode=function hasCode(t){return void 0!==ofCodeImpl(r,t)},r.of=function of(t){return ofImpl(r,t)},r.has=function has(t){return void 0!==ofImpl(r,t)}},exports.Label=function Label(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function decorate(o,i){var a=i.kind,u=i.name,c=i.metadata;if("field"!==a)throw new SyntaxError("The decorator @Label can only decorate a class field: ".concat(u));if("string"!=typeof t)throw new TypeError('The first argument of @Label decorated on "'.concat(u,'" must be a string.'));if(void 0!==r&&"string"!=typeof r)throw new TypeError('The second argument of @Label decorated on "'.concat(u,'" must be a string.'));setFieldMetadata(c,u,ot,{label:t,i18n:r})}},exports.Model=function Model(r,o){if(null===o||"object"!==t(o))throw new TypeError("The context must be an object.");if("function"!=typeof r||"class"!==o.kind)throw new TypeError("The `@Model` can only decorate a class.");lt(r,o.metadata),setClassMetadata(r,Ke,"model"),hasOwnPrototypeFunction(r,"assign")||(r.prototype.assign=function assign(t){return assignImpl(r,this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}),hasOwnPrototypeFunction(r,"clear")||(r.prototype.clear=function clear(){return function clearImpl(t,r){requirePrototypeMethod(t,"assign");var o=getDefaultInstance(t);return r.assign(o,{normalize:!1,convertNaming:!1})}(r,this)}),hasOwnPrototypeFunction(r,"clone")||(r.prototype.clone=function clone(){return function cloneImpl(t,r){return requirePrototypeMethod(t,"assign"),(new t).assign(r,{normalize:!1,convertNaming:!1})}(r,this)}),hasOwnPrototypeFunction(r,"isEmpty")||(r.prototype.isEmpty=function isEmpty(){return function isEmptyImpl(t,r){var o=getDefaultInstance(t);return $i(r,o)}(r,this)}),hasOwnPrototypeFunction(r,"equals")||(r.prototype.equals=function equals(t){return function equalsImpl(t,r){return t===r||(null==r?null==t:null!=t&&Object.getPrototypeOf(t)===Object.getPrototypeOf(r)&&$i(t,r))}(this,t)}),hasOwnPrototypeFunction(r,"normalize")||(r.prototype.normalize=function normalize(){return function normalizeImpl(t,r,o,i){if(null==o||"*"===o)Object.keys(r).forEach((function(t){return r.normalizeField(t,i)}));else if(Array.isArray(o))o.forEach((function(t){return r.normalizeField(t,i)}));else{if("string"!=typeof o)throw new TypeError("The argument ".concat(t.name,".normalize() must be a string or an array of strings."));r.normalizeField(o,i)}return r}(r,this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*",arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}),hasOwnPrototypeFunction(r,"normalizeField")||(r.prototype.normalizeField=function normalizeField(t){return normalizeFieldImpl(r,this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}),hasOwnPrototypeFunction(r,"validate")||(r.prototype.validate=function validate(){return function validateImpl(t,r,o,i){if(null==o||"*"===o){var a=Object.keys(r).map((function(t){return r.validateField(t,i)}));return b.ValidationResult.merge(a)}if(Array.isArray(o)){var u=o.map((function(t){return r.validateField(t,i)}));return b.ValidationResult.merge(u)}if("string"==typeof o){var c=r.validateField(o,i);return null!=c?c:new b.ValidationResult(!0)}throw new TypeError("The argument of ".concat(t.name,".validate()")+" must be a string or an array of strings.")}(r,this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*",arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}),hasOwnPrototypeFunction(r,"validateField")||(r.prototype.validateField=function validateField(t){return validateFieldImpl(r,this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}),function hasOwnClassField(t,r){if(!t||!t.prototype)return!1;if(Object.prototype.hasOwnProperty.call(t.prototype,r))return!0;var o=getDefaultInstance(t);return o&&Object.prototype.hasOwnProperty.call(o,r)}(r,"id")&&!hasPrototypeFunction(r,"generateId")&&(setClassMetadata(r,Xe,0),r.prototype.generateId=function generateId(){return function generateIdImpl(t,r){var o=getClassMetadata(t,Xe);return r.id=o,setClassMetadata(t,Xe,o+1),r.id}(r,this)}),hasOwnPrototypeFunction(r,"toJSON")||(r.prototype.toJSON=function toJSON(t){return toJsonImpl(this,0,_objectSpread$1(_objectSpread$1({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0),{},{skipRootToJSON:!0}))}),hasOwnPrototypeFunction(r,"toJsonString")||(r.prototype.toJsonString=function toJsonString(){return toJsonStringImpl(0,this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0)}),Object.prototype.hasOwnProperty.call(r,"create")||(r.create=function create(t){return createImpl(r,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}),Object.prototype.hasOwnProperty.call(r,"createArray")||(r.createArray=function createArray(t){return createArrayImpl(r,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}),Object.prototype.hasOwnProperty.call(r,"createPage")||(r.createPage=function createPage(t){return createPageImpl(r,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}),Object.prototype.hasOwnProperty.call(r,"isNullishOrEmpty")||(r.isNullishOrEmpty=function isNullishOrEmpty(t){return function isNullishOrEmptyImpl(t,r){if(requirePrototypeMethod(t,"isEmpty"),null==r)return!0;if(!(r instanceof t))throw new TypeError("The object must be an instance of the class ".concat(t.name,"."));return r.isEmpty()}(r,t)}),Object.prototype.hasOwnProperty.call(r,"parseJsonString")||(r.parseJsonString=function parseJsonString(t){return function parseJsonStringImpl(t,r,o){var i=d.parse(r),a=new t;return assignImpl(t,a,i,o)}(r,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)})},exports.NameField=function NameField(t,r){var o=r.kind,i=r.name,a=r.metadata;if("field"!==o)throw new SyntaxError("The decorator @NameField can only decorate a class field: ".concat(i));var u=a[Ye];if(u)throw new SyntaxError('@NameField cannot decorate on "'.concat(i,'", since it has already decorated on "').concat(u,'".'));a[Ye]=i},exports.NonEmpty=function NonEmpty(t,r){var o=r.kind,i=r.name,a=r.metadata;if("field"!==o)throw new SyntaxError("The decorator @NonEmpty can only decorate a class field: ".concat(i));setFieldMetadata(a,i,nt,!0)},exports.Normalizable=function Normalizable(){if(1===arguments.length){var t,r=null!==(t=arguments.length<=0?void 0:arguments[0])&&void 0!==t?t:defaultNormalizer;return function(t,o){return setNormalizer(0,o,r)}}if(2!==arguments.length||!isDecoratorContext(arguments.length<=1?void 0:arguments[1]))throw new SyntaxError("Invalid use of @Normalizable decorator.");setNormalizer(0,arguments.length<=1?void 0:arguments[1],defaultNormalizer)},exports.Nullable=function Nullable(t,r){var o=r.kind,i=r.name,a=r.metadata;if("field"!==o)throw new SyntaxError("The decorator @Nullable can only decorate a class field: ".concat(i));setFieldMetadata(a,i,rt,!0)},exports.Page=ar,exports.Readonly=function Readonly(t,r){if("field"!==r.kind)throw new Error("@Readonly can only be applied to class fields.");var o;return r.addInitializer((function initializer(){void 0!==o?function createImmediateReadonlyInitializer(t,r){return function immediateReadonlyInitializer(){Object.defineProperty(this,t,{value:r,writable:!1,configurable:!1,enumerable:!0})}}(r.name,o).call(this):function createDeferredReadonlyInitializer(t){return function deferredReadonlyInitializer(){var r;Object.defineProperty(this,t,{configurable:!0,enumerable:!0,get:function get(){return r},set:function set(o){r=o,Object.defineProperty(this,t,{value:o,writable:!1,configurable:!1,enumerable:!0})}})}}(r.name).call(this)})),function initializer(t){return o=t,t}},exports.Type=function Type(t){return function decorate(r,o){var i=o.kind,a=o.name,u=o.metadata;if("field"!==i)throw new SyntaxError("The decorator @Type can only decorate a class field: ".concat(a));if("function"!=typeof t)throw new TypeError('The argument of @Type decorated on "'.concat(a,'" must be the constructor of a class.'));setFieldMetadata(u,a,et,t)}},exports.Validatable=function Validatable(){if(1===arguments.length){var t,r=null!==(t=arguments.length<=0?void 0:arguments[0])&&void 0!==t?t:defaultValidator;return function(t,o){return setValidator(0,o,r)}}if(2!==arguments.length||!isDecoratorContext(arguments.length<=1?void 0:arguments[1]))throw new SyntaxError("Invalid use of @Validatable decorator.");setValidator(0,arguments.length<=1?void 0:arguments[1],defaultValidator)},exports.assign=function assign(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if("object"!==t(r))throw new TypeError("The target object must be an object.");return assignImpl(r.constructor,r,o,i)},exports.create=function create(t,r){return createImpl(t,r,arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0)},exports.createArray=function createArray(t,r){return createArrayImpl(t,r,arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0)},exports.createPage=function createPage(t,r){return createPageImpl(t,r,arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0)},exports.defaultNormalizer=defaultNormalizer,exports.enumNormalizer=enumNormalizer,exports.isEnumClass=isEnumClass,exports.isEnumerator=isEnumerator,exports.normalize=function normalize(t){return defaultNormalizer(t)},exports.stringifyId=function stringifyId(t){return null==t?"":a.isString(t)?t:d.stringify(t)},exports.toJSON=function toJSON(t){return toJsonImpl(t,0,_objectSpread(_objectSpread({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{skipRootToJSON:!1}))},exports.toJsonString=function toJsonString(r,o){if("object"!==t(r))throw new TypeError("The object to be serialized must be an object.");return r.constructor,toJsonStringImpl(0,r,o)};//# sourceMappingURL=common-decorator.min.cjs.map
|
|
1
|
+
"use strict";var t=require("@babel/runtime/helpers/typeof"),r=require("@babel/runtime/helpers/defineProperty"),o=require("@qubit-ltd/clone"),i=require("@qubit-ltd/common-util"),a=require("@qubit-ltd/type-detect"),u=require("@babel/runtime/helpers/slicedToArray"),c=require("@qubit-ltd/typeinfo"),l=require("@babel/runtime/helpers/classCallCheck"),p=require("@babel/runtime/helpers/createClass"),y=require("@qubit-ltd/naming-style"),d=require("@qubit-ltd/json"),g=require("util"),b=require("@qubit-ltd/common-validation-rule"),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var h,v,S={},O={};function requireGlobalThis(){if(v)return h;v=1;var check=function(t){return t&&t.Math===Math&&t};return h=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof m&&m)||check("object"==typeof h&&h)||function(){return this}()||Function("return this")()}var P,A,w,j,q,E,I,T,x,N,_,R,B,M,D,$,k,U,C,G,W,z,V,J,L,H,K,Q,X,Y,Z,ee,te,re={exports:{}};function requireDefineGlobalProperty(){if(j)return w;j=1;var t=requireGlobalThis(),r=Object.defineProperty;return w=function(o,i){try{r(t,o,{value:i,configurable:!0,writable:!0})}catch(r){t[o]=i}return i}}function requireSharedStore(){if(q)return re.exports;q=1;var t=function requireIsPure(){return A?P:(A=1,P=!1)}(),r=requireGlobalThis(),o=requireDefineGlobalProperty(),i="__core-js_shared__",a=re.exports=r[i]||o(i,{});return(a.versions||(a.versions=[])).push({version:"3.41.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"}),re.exports}function requireShared(){if(I)return E;I=1;var t=requireSharedStore();return E=function(r,o){return t[r]||(t[r]=o||{})}}function requireFails(){return x?T:(x=1,T=function(t){try{return!!t()}catch(t){return!0}})}function requireFunctionBindNative(){if(_)return N;_=1;var t=requireFails();return N=!t((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function requireFunctionUncurryThis(){if(B)return R;B=1;var t=requireFunctionBindNative(),r=Function.prototype,o=r.call,i=t&&r.bind.bind(o,o);return R=t?i:function(t){return function(){return o.apply(t,arguments)}},R}function requireIsNullOrUndefined(){return D?M:(D=1,M=function(t){return null==t})}function requireRequireObjectCoercible(){if(k)return $;k=1;var t=requireIsNullOrUndefined(),r=TypeError;return $=function(o){if(t(o))throw new r("Can't call method on "+o);return o}}function requireToObject(){if(C)return U;C=1;var t=requireRequireObjectCoercible(),r=Object;return U=function(o){return r(t(o))}}function requireHasOwnProperty(){if(W)return G;W=1;var t=requireFunctionUncurryThis(),r=requireToObject(),o=t({}.hasOwnProperty);return G=Object.hasOwn||function hasOwn(t,i){return o(r(t),i)}}function requireUid(){if(V)return z;V=1;var t=requireFunctionUncurryThis(),r=0,o=Math.random(),i=t(1..toString);return z=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++r+o,36)}}function requireEnvironmentV8Version(){if(K)return H;K=1;var t,r,o=requireGlobalThis(),i=function requireEnvironmentUserAgent(){if(L)return J;L=1;var t=requireGlobalThis().navigator,r=t&&t.userAgent;return J=r?String(r):""}(),a=o.process,u=o.Deno,c=a&&a.versions||u&&u.version,l=c&&c.v8;return l&&(r=(t=l.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!r&&i&&(!(t=i.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=i.match(/Chrome\/(\d+)/))&&(r=+t[1]),H=r}function requireSymbolConstructorDetection(){if(X)return Q;X=1;var t=requireEnvironmentV8Version(),r=requireFails(),o=requireGlobalThis().String;return Q=!!Object.getOwnPropertySymbols&&!r((function(){var r=Symbol("symbol detection");return!o(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&t&&t<41}))}function requireUseSymbolAsUid(){if(Z)return Y;Z=1;var t=requireSymbolConstructorDetection();return Y=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function requireWellKnownSymbol(){if(te)return ee;te=1;var t=requireGlobalThis(),r=requireShared(),o=requireHasOwnProperty(),i=requireUid(),a=requireSymbolConstructorDetection(),u=requireUseSymbolAsUid(),c=t.Symbol,l=r("wks"),p=u?c.for||c:c&&c.withoutSetter||i;return ee=function(t){return o(l,t)||(l[t]=a&&o(c,t)?c[t]:p("Symbol."+t)),l[t]}}var ne,oe,ie,ae,ue,ce,le,pe,fe,ye,se,de,ge,be,me,he,ve,Se,Oe,Pe,Ae,we,je,qe,Ee,Ie,Fe,Te,xe,Ne,_e,Re,Be,Me,De,$e,ke={};function requireDescriptors(){if(oe)return ne;oe=1;var t=requireFails();return ne=!t((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function requireIsCallable$1(){if(ae)return ie;ae=1;var t="object"==typeof document&&document.all;return ie=void 0===t&&void 0!==t?function(r){return"function"==typeof r||r===t}:function(t){return"function"==typeof t}}function requireIsObject(){if(ce)return ue;ce=1;var t=requireIsCallable$1();return ue=function(r){return"object"==typeof r?null!==r:t(r)}}function requireIe8DomDefine(){if(ye)return fe;ye=1;var t=requireDescriptors(),r=requireFails(),o=function requireDocumentCreateElement(){if(pe)return le;pe=1;var t=requireGlobalThis(),r=requireIsObject(),o=t.document,i=r(o)&&r(o.createElement);return le=function(t){return i?o.createElement(t):{}}}();return fe=!t&&!r((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))}function requireAnObject(){if(be)return ge;be=1;var t=requireIsObject(),r=String,o=TypeError;return ge=function(i){if(t(i))return i;throw new o(r(i)+" is not an object")}}function requireFunctionCall$1(){if(he)return me;he=1;var t=requireFunctionBindNative(),r=Function.prototype.call;return me=t?r.bind(r):function(){return r.apply(r,arguments)},me}function requireGetBuiltIn(){if(Se)return ve;Se=1;var t=requireGlobalThis(),r=requireIsCallable$1();return ve=function(o,i){return arguments.length<2?(a=t[o],r(a)?a:void 0):t[o]&&t[o][i];var a},ve}function requireIsSymbol$1(){if(we)return Ae;we=1;var t=requireGetBuiltIn(),r=requireIsCallable$1(),o=function requireObjectIsPrototypeOf(){if(Pe)return Oe;Pe=1;var t=requireFunctionUncurryThis();return Oe=t({}.isPrototypeOf)}(),i=requireUseSymbolAsUid(),a=Object;return Ae=i?function(t){return"symbol"==typeof t}:function(i){var u=t("Symbol");return r(u)&&o(u.prototype,a(i))}}function requireTryToString(){if(qe)return je;qe=1;var t=String;return je=function(r){try{return t(r)}catch(t){return"Object"}}}function requireACallable(){if(Ie)return Ee;Ie=1;var t=requireIsCallable$1(),r=requireTryToString(),o=TypeError;return Ee=function(i){if(t(i))return i;throw new o(r(i)+" is not a function")}}function requireGetMethod(){if(Te)return Fe;Te=1;var t=requireACallable(),r=requireIsNullOrUndefined();return Fe=function(o,i){var a=o[i];return r(a)?void 0:t(a)}}function requireOrdinaryToPrimitive(){if(Ne)return xe;Ne=1;var t=requireFunctionCall$1(),r=requireIsCallable$1(),o=requireIsObject(),i=TypeError;return xe=function(a,u){var c,l;if("string"===u&&r(c=a.toString)&&!o(l=t(c,a)))return l;if(r(c=a.valueOf)&&!o(l=t(c,a)))return l;if("string"!==u&&r(c=a.toString)&&!o(l=t(c,a)))return l;throw new i("Can't convert object to primitive value")}}function requireToPrimitive(){if(Re)return _e;Re=1;var t=requireFunctionCall$1(),r=requireIsObject(),o=requireIsSymbol$1(),i=requireGetMethod(),a=requireOrdinaryToPrimitive(),u=requireWellKnownSymbol(),c=TypeError,l=u("toPrimitive");return _e=function(u,p){if(!r(u)||o(u))return u;var y,d=i(u,l);if(d){if(void 0===p&&(p="default"),y=t(d,u,p),!r(y)||o(y))return y;throw new c("Can't convert object to primitive value")}return void 0===p&&(p="number"),a(u,p)}}function requireToPropertyKey(){if(Me)return Be;Me=1;var t=requireToPrimitive(),r=requireIsSymbol$1();return Be=function(o){var i=t(o,"string");return r(i)?i:i+""}}function requireObjectDefineProperty(){if(De)return ke;De=1;var t=requireDescriptors(),r=requireIe8DomDefine(),o=function requireV8PrototypeDefineBug(){if(de)return se;de=1;var t=requireDescriptors(),r=requireFails();return se=t&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))}(),i=requireAnObject(),a=requireToPropertyKey(),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",y="configurable",d="writable";return ke.f=t?o?function defineProperty(t,r,o){if(i(t),r=a(r),i(o),"function"==typeof t&&"prototype"===r&&"value"in o&&d in o&&!o[d]){var u=l(t,r);u&&u[d]&&(t[r]=o.value,o={configurable:y in o?o[y]:u[y],enumerable:p in o?o[p]:u[p],writable:!1})}return c(t,r,o)}:c:function defineProperty(t,o,l){if(i(t),o=a(o),i(l),r)try{return c(t,o,l)}catch(t){}if("get"in l||"set"in l)throw new u("Accessors not supported");return"value"in l&&(t[o]=l.value),t},ke}var Ue,Ce,Ge={};function requirePath(){if(Ce)return Ue;Ce=1;var t=requireGlobalThis();return Ue=t}var We,ze,Ve,Je,Le,He={};function requireWellKnownSymbolDefine(){if(Ve)return ze;Ve=1;var t=requirePath(),r=requireHasOwnProperty(),o=function requireWellKnownSymbolWrapped(){if(We)return He;We=1;var t=requireWellKnownSymbol();return He.f=t,He}(),i=requireObjectDefineProperty().f;return ze=function(a){var u=t.Symbol||(t.Symbol={});r(u,a)||i(u,a,{value:o.f(a)})}}!function requireDecoratorMetadataV2(){return Le||(Le=1,function requireEsnext_function_metadata(){if($e)return O;$e=1;var t=requireWellKnownSymbol(),r=requireObjectDefineProperty().f,o=t("metadata"),i=Function.prototype;return void 0===i[o]&&r(i,o,{value:null}),O}(),function requireEsnext_symbol_metadata(){return Je||(Je=1,requireWellKnownSymbolDefine()("metadata")),Ge}()),S}();var Ke="__cd_category__",Qe="__cd_default_instance__",Xe="__cd_next_id__",Ye="__cd_name_field__",Ze="__cd_fields_metadata__",et="__type__",tt="__element_type__",rt="__nullable__",nt="__empty__",ot="__label__",it="__normalizer__",at="__validator__",ut=new WeakMap,ct=function get(t){var r=ut.get(t);if(r)return r;var o=t[Symbol.metadata];return o?(ut.set(t,o),o):{}},lt=function set(t,r){ut.set(t,r)};function getClassMetadata(t,r){if("function"!=typeof t)throw new TypeError("The first argument must be a class constructor.");var o=ct(t);if(o)return o[r]}function isEnumClass(t){return"function"==typeof t&&"enum"===getClassMetadata(t,Ke)}function enumNormalizer(t){if(!isEnumClass(t))throw new TypeError("The argument must be the constructor function of an enumeration class decorated by `@Enum`.");return function(r){return t.of(r)}}function defaultNormalizer(t){var r,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=i||(i={}),null!==(o=(r=i).path)&&void 0!==o||(r.path="");var a=c(t);switch(a.category){case"string":return isEnumClass(i.type)?enumNormalizer(i.type)(t):t.trim();case"array":case"typed-array":return t.map((function(t){return defaultNormalizer(t)}));case"map":return new Map(Array.from(t,(function(t){var r=u(t,2);return[r[0],defaultNormalizer(r[1],i)]})));case"set":return new Set(Array.from(t,(function(t){return defaultNormalizer(t,i)})));default:if(a.isBuiltIn)return t;if("function"==typeof t.normalize){var l={path:i.path,types:i.types,elementTypes:i.elementTypes};t.normalize("*",l)}return t}}var pt=p((function DefaultAssignmentOptions(){l(this,DefaultAssignmentOptions),r(this,"normalize",!0),r(this,"convertNaming",!1),r(this,"sourceNamingStyle","LOWER_UNDERSCORE"),r(this,"targetNamingStyle","LOWER_CAMEL"),r(this,"types",{}),r(this,"elementTypes",{})})),ft=p((function DefaultToJsonOptions(){l(this,DefaultToJsonOptions),r(this,"normalize",!0),r(this,"removeEmptyFields",!1),r(this,"convertNaming",!1),r(this,"sourceNamingStyle","LOWER_CAMEL"),r(this,"targetNamingStyle","LOWER_UNDERSCORE"),r(this,"space",void 0)}));function ownKeys$5(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function _objectSpread$5(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys$5(Object(i),!0).forEach((function(o){r(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys$5(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}var yt=new Map,st=function(){return p((function DefaultOptions(){l(this,DefaultOptions)}),null,[{key:"get",value:function get(t){var r=yt.get(t);return r?o(r):void 0}},{key:"merge",value:function merge(t,r){var i=yt.get(t);return o(void 0===i?r:_objectSpread$5(_objectSpread$5({},i),r))}},{key:"set",value:function set(t,r){var i=o(r),a=yt.get(t);void 0===a?yt.set(t,i):yt.set(t,_objectSpread$5(_objectSpread$5({},a),i))}},{key:"reset",value:function reset(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(t)switch(t){case"assign":yt.set("assign",new pt);break;case"toJSON":yt.set("toJSON",new ft);break;default:throw new Error("Unknown aspect: ".concat(t))}else yt.set("assign",new pt),yt.set("toJSON",new ft)}}])}();function ofValueImpl(t,r){if(a.isString(r)){var o=t[String(r).trim().toUpperCase()];return o instanceof t?o:void 0}}function getDefaultInstance(t){if(t.prototype===Object.prototype)return{};var r=ct(t),o=r[Qe];return o instanceof t||(o=new t,r[Qe]=o),o}function _createForOfIteratorHelper(t,r){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(t,r):void 0}}(t))||r){o&&(t=o);var i=0,a=function F(){};return{s:a,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,c=!0,l=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return c=t.done,t},e:function e(t){l=!0,u=t},f:function f(){try{c||null==o.return||o.return()}finally{if(l)throw u}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,i=Array(r);o<r;o++)i[o]=t[o];return i}function getFieldMetadataObject(t,r){var o,i;if(null!=t){null!==(o=t[Ze])&&void 0!==o||(t[Ze]={});var a=t[Ze];return null!==(i=a[r])&&void 0!==i||(a[r]={}),a[r]}}function getFieldMetadata(t,r,o){var i=getFieldMetadataObject(t,r);return i?i[o]:void 0}function getFieldElementType(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};null!=o||(o=".".concat(r)),null!=i||(i={});var u=getFieldMetadata(ct(t),r,tt);if(u){if("function"!=typeof u)throw new TypeError("The annotated element type of '".concat(t.name,".").concat(o,"' is not a function."));return u}if(i&&i.elementTypes&&i.elementTypes[o]){var c=i.elementTypes[o];if("function"!=typeof c)throw new TypeError("The target element type of '".concat(t.name,".").concat(o,"' is not a function."));return c}var l=getDefaultInstance(t)[r];if(null!=l){var p=function getCollectionElementType(t){var r;if(Array.isArray(t)||a.isTypedArray(t)){if(t.length>0&&"function"==typeof(null===(r=t[0])||void 0===r?void 0:r.constructor))return t[0].constructor}else if(a.isCollection(t)&&t.size>0){var o=t.values().next().value;if(o&&"function"==typeof o.constructor)return o.constructor}return null}(l);if(null!=p)return p}return null}function getFieldType(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};null!=o||(o=".".concat(r)),null!=i||(i={});var a=getFieldMetadata(ct(t),r,et);if(a){if("function"!=typeof a)throw new TypeError("The annotated type of '".concat(t.name,".").concat(o,"' is not a function."));return a}if(i&&i.types&&i.types[o]){var u=i.types[o];if("function"!=typeof u)throw new TypeError("The target type of '".concat(t.name,".").concat(o,"' is not a function."));return u}var c=getDefaultInstance(t)[r];if(null!=c&&"function"==typeof c.constructor)return c.constructor}function getSourceField(t,r){if(!0===(null==r?void 0:r.convertNaming)){var o=y.NamingStyle.of(r.sourceNamingStyle);return y.NamingStyle.of(r.targetNamingStyle).to(o,t)}return t}function hasPrototypeFunction(t,r){return null!==t&&t.prototype&&Reflect.has(t.prototype,r)&&"function"==typeof t.prototype[r]}st.reset();var dt={includeAccessor:!1,includeNonEnumerable:!1,includeReadonly:!0,includeNonConfigurable:!0};function ownKeys$4(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function _objectSpread$4(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys$4(Object(i),!0).forEach((function(o){r(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys$4(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}var gt={getAllFields:function getAllFields(t,r,o){var i=o.type,a=o.options,u=Object.keys(t),c=Object.getPrototypeOf(i);if(hasPrototypeFunction(c,"assign")){c.prototype.assign.call(t,r,a);var l=getDefaultInstance(c),p=Object.keys(l);return u.filter((function(t){return!p.includes(t)}))}return u},copyPropertiesWithoutNamingConversion:function copyPropertiesWithoutNamingConversion(t,r){i.isUndefinedOrNull(r)||Object.keys(t).forEach((function(i){Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=o(r[i],dt))}))},cloneEnum:function cloneEnum(t,r){var o=r.sourcePath,i=r.targetType,a=r.defaultInstance;if(null===t)return null;if(void 0===t)return a;if(t instanceof i)return t;if("string"==typeof t){if(0===t.trim().length)return a;var u=ofValueImpl(i,t);if(void 0===u)throw new RangeError("The value of property '".concat(o,"' of the ")+"source object is not an enumerator of ".concat(i.name,": ").concat(t));return u}throw new RangeError("The value of property '".concat(o,"' of the source ")+"object is not an enumerator of ".concat(i.name,": ").concat(t))},cloneWithType:function cloneWithType(t,r){var u=r.targetPath,c=r.sourcePath,l=r.targetType,p=r.defaultInstance,y=r.options;if(i.isUndefinedOrNull(t))return o(p,dt);if(a.isBuiltInClass(l))return null===t?null:void 0===t?p:(t.constructor===l||console.warn("The value of the property '".concat(c,"' of the source ")+"object is not an instance of ".concat(l.name,":"),t),o(t,dt));if("enum"===getClassMetadata(l,Ke))return this.cloneEnum(t,{sourcePath:c,targetType:l,defaultInstance:p});var d=new l;return this.doAssign(d,t,{targetPath:u,sourcePath:c,targetType:l,defaultInstance:p,options:y})},cloneArrayWithElementType:function cloneArrayWithElementType(t,r){var u=this,c=r.targetPath,l=r.sourcePath,p=r.elementType,y=r.defaultArray,d=r.options;if(!Array.isArray(t))return console.error("The value of the property '".concat(l,"' of the source ")+"object should be an array:",t),o(y,dt);if(a.isBuiltInClass(p))return o(t,dt);if("enum"===getClassMetadata(p,Ke))return t.map((function(t,r){return u.cloneEnum(t,{sourcePath:"".concat(l,"[").concat(r,"]"),targetType:p,defaultInstance:y?y[r]:void 0})}));var g=getDefaultInstance(p);return t.map((function(t,r){if(i.isUndefinedOrNull(t))return t;var o=new p,a=y&&y[r]?y[r]:g;return u.doAssign(o,t,{targetPath:"".concat(c,"[").concat(r,"]"),sourcePath:"".concat(l,"[").concat(r,"]"),targetType:p,defaultInstance:a,options:d}),o}))},cloneNoType:function cloneNoType(t,r){var a=r.targetPath,u=r.sourcePath,c=r.defaultInstance,l=r.options;if(i.isUndefinedOrNull(c))return o(t,_objectSpread$4(_objectSpread$4({},dt),{},{convertNaming:l.convertNaming,sourceNamingStyle:l.sourceNamingStyle,targetNamingStyle:l.targetNamingStyle}));var p=Object.getPrototypeOf(c).constructor,y=new p;return this.doAssign(y,t,{targetPath:a,sourcePath:u,targetType:p,defaultInstance:c,options:l})},cloneArrayNoElementType:function cloneArrayNoElementType(t,r){var i=r.sourcePath,a=r.defaultArray,u=r.options;return Array.isArray(t)?o(t,_objectSpread$4(_objectSpread$4({},dt),{},{convertNaming:u.convertNaming,sourceNamingStyle:u.sourceNamingStyle,targetNamingStyle:u.targetNamingStyle})):(console.error("The value of the property '".concat(i,"' of the source ")+"object should be an array:",t),o(a,dt))},doAssign:function doAssign(r,a,u){var c=this,l=u.targetPath,p=u.sourcePath,d=u.targetType,g=u.defaultInstance,b=u.options;if(i.isUndefinedOrNull(a))this.copyPropertiesWithoutNamingConversion(r,g);else{var m=null!=g?g:getDefaultInstance(d);this.getAllFields(r,a,{type:d,options:b}).forEach((function(u){var g=m[u],h="".concat(l,".").concat(u),v=getSourceField(u,b),S="".concat(p,".").concat(v),O=a[v],P=getFieldType(d,u,h,b),A=getFieldElementType(d,u,h,b);if(Object.prototype.hasOwnProperty.call(a,v))i.isUndefinedOrNull(O)?r[u]=O:A?r[u]=c.cloneArrayWithElementType(O,{targetPath:h,sourcePath:S,elementType:A,defaultArray:g,options:b}):P?r[u]=c.cloneWithType(O,{targetPath:h,sourcePath:S,targetType:P,defaultInstance:g,options:b}):i.isUndefinedOrNull(g)?r[u]=o(O,_objectSpread$4(_objectSpread$4({},dt),{},{convertNaming:b.convertNaming,sourceNamingStyle:b.sourceNamingStyle,targetNamingStyle:b.targetNamingStyle})):Array.isArray(g)?r[u]=c.cloneArrayNoElementType(O,{targetPath:h,sourcePath:S,defaultArray:g,options:b}):"object"===t(g)?r[u]=c.cloneNoType(O,{targetPath:h,sourcePath:S,defaultInstance:g,options:b}):r[u]=o(O,_objectSpread$4(_objectSpread$4({},dt),{},{convertNaming:b.convertNaming,sourceNamingStyle:b.sourceNamingStyle,targetNamingStyle:b.targetNamingStyle}));else{var w=function getExistFieldWithDifferentNamingStyle(t,r){var o,i=y.NamingStyle.values(),a=_createForOfIteratorHelper(i);try{for(a.s();!(o=a.n()).done;){var u,c=o.value,l=_createForOfIteratorHelper(i);try{for(l.s();!(u=l.n()).done;){var p=u.value,d=c.to(p,t);if(Object.prototype.hasOwnProperty.call(r,d))return d}}catch(t){l.e(t)}finally{l.f()}}}catch(t){a.e(t)}finally{a.f()}}(v,a);w&&(console.warn("Cannot find the source property '".concat(S,"' ")+"for the target property '".concat(h,"'. ")+"But the source object has a property '".concat(p,".").concat(w,"'. ")+"A correct naming conversion may be needed."),console.warn("The source object:",a),console.warn("The target object:",r)),r[u]=o(g,dt)}}))}return b.normalize?defaultNormalizer(r):r}};function assignImpl(t,r,o,i){var a=st.merge("assign",i);return o instanceof t&&(a.convertNaming=!1),gt.doAssign(r,o,{targetPath:"",sourcePath:"",targetType:t,defaultInstance:getDefaultInstance(t),options:a})}function createImpl(r,o,i){if(null==o)return null;if("object"!==t(o))throw new TypeError("The first argument of ".concat(r.name,".create() must be an object."));if(hasPrototypeFunction(r,"assign")){var a=new r;return a.assign(o,i),a}var u=new r;return assignImpl(r,u,o,i)}function createArrayImpl(t,r,o){if(null==r)return null;if(Array.isArray(r))return r.map((function(r){return createImpl(t,r,o)}));throw new TypeError("The first argument of ".concat(t.name,".createArray() must be an array."))}var bt,mt,ht,vt,St,Ot,Pt,At,wt,jt,qt,Et,It,Ft,Tt,xt,Nt,_t,Rt,Bt,Mt,Dt,$t,kt,Ut,Ct,Gt,Wt,zt,Vt,Jt,Lt,Ht,Kt,Qt,Xt,Yt,Zt,er,tr,rr,nr,or,ir,ar=function(){function Page(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];l(this,Page),r(this,"totalCount",0),r(this,"totalPages",0),r(this,"pageIndex",0),r(this,"pageSize",0),r(this,"content",[]),this.totalCount=t,this.totalPages=o,this.pageIndex=i,this.pageSize=a,this.content=u}return p(Page,[{key:"assign",value:function assign(t){return assignImpl(Page,this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}}],[{key:"newEmpty",value:function newEmpty(t){return new Page(0,0,0,t,[])}},{key:"getFrom",value:function getFrom(t,r){var o=r.length,i=t.pageSize,a=t.pageIndex,u=Math.ceil(o/i),c=a*i,l=Math.min(c+i,o);return new Page(o,u,a,i,r.slice(c,l))}}])}();function ownKeys$3(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function createPageImpl(o,i,a){if(null==i)return null;if(function isValidPageSource(r,o){var i=st.merge("assign",o);return null!=r&&"object"===t(r)&&"number"==typeof r[getSourceField("totalCount",i)]&&"number"==typeof r[getSourceField("totalPages",i)]&&"number"==typeof r[getSourceField("pageIndex",i)]&&"number"==typeof r[getSourceField("pageSize",i)]&&Array.isArray(r[getSourceField("content",i)])}(i,a)){var u=new ar,c=function _objectSpread$3(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys$3(Object(i),!0).forEach((function(o){r(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys$3(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}({},a);return c.elementTypes?c.elementTypes[".content"]=o:c.elementTypes={".content":o},assignImpl(ar,u,i,c)}throw new TypeError("Invalid page format: ".concat(d.stringify(i)))}function setFieldMetadata(t,r,o,i){var a=getFieldMetadataObject(t,r);if(!a)throw new Error('The metadata of the field "'.concat(r,'" of the class does not exist.'));a[o]=i}function ofCodeImpl(t,r){if(a.isString(r)){var o=String(r).trim(),i=Object.keys(t).filter((function(r){return t[r]instanceof t})).find((function(r){var i;return(null===(i=t[r])||void 0===i?void 0:i.code)===o}));return i?t[i]:void 0}}function ofNameImpl(t,r){if(a.isString(r)){var o=String(r).trim(),i=Object.keys(t).filter((function(r){return t[r]instanceof t})).find((function(r){var i;return(null===(i=t[r])||void 0===i?void 0:i.name)===o}));return i?t[i]:void 0}}function ofImpl(t,r){if(null!=r){if(r instanceof t)return r;var o,i;if(a.isString(r))return null!==(o=null!==(i=ofValueImpl(t,r))&&void 0!==i?i:ofNameImpl(t,r))&&void 0!==o?o:ofCodeImpl(t,r)}}function setClassMetadata(t,r,o){var i=ct(t);if(!i)throw new Error('The metadata of the class "'.concat(t.name,'" has not been cached.'));i[r]=o}function isEnumerator(r){if(null==r||"object"!==t(r))return!1;var o=Object.getPrototypeOf(r);return!(!o||!o.constructor)&&"enum"===getClassMetadata(o.constructor,Ke)}function hasOwnProperty(t,r){if(!t||!t.prototype)return!1;if(Object.prototype.hasOwnProperty.call(t.prototype,r))return!0;var o=getDefaultInstance(t);return o&&Object.prototype.hasOwnProperty.call(o,r)}function hasOwnPrototypeFunction(t,r){return null!==t&&t.prototype&&Object.prototype.hasOwnProperty.call(t.prototype,r)&&"function"==typeof t.prototype[r]}function requirePrototypeMethod(t,r){if(!hasPrototypeFunction(t,r))throw new TypeError("The class ".concat(t.name,' does not implement the prototype method "').concat(r,'()".'))}function requireIsArguments$1(){if(mt)return bt;mt=1;var t=Object.prototype.toString;return bt=function isArguments(r){var o=t.call(r),i="[object Arguments]"===o;return i||(i="[object Array]"!==o&&null!==r&&"object"==typeof r&&"number"==typeof r.length&&r.length>=0&&"[object Function]"===t.call(r.callee)),i}}function requireImplementation$4(){if(vt)return ht;var t;if(vt=1,!Object.keys){var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=requireIsArguments$1(),a=Object.prototype.propertyIsEnumerable,u=!a.call({toString:null},"toString"),c=a.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(t){var r=t.constructor;return r&&r.prototype===t},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},y=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&r.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{equalsConstructorPrototype(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();t=function keys(t){var a=null!==t&&"object"==typeof t,p="[object Function]"===o.call(t),d=i(t),g=a&&"[object String]"===o.call(t),b=[];if(!a&&!p&&!d)throw new TypeError("Object.keys called on a non-object");var m=c&&p;if(g&&t.length>0&&!r.call(t,0))for(var h=0;h<t.length;++h)b.push(String(h));if(d&&t.length>0)for(var v=0;v<t.length;++v)b.push(String(v));else for(var S in t)m&&"prototype"===S||!r.call(t,S)||b.push(String(S));if(u)for(var O=function(t){if("undefined"==typeof window||!y)return equalsConstructorPrototype(t);try{return equalsConstructorPrototype(t)}catch(t){return!1}}(t),P=0;P<l.length;++P)O&&"constructor"===l[P]||!r.call(t,l[P])||b.push(l[P]);return b}}return ht=t}function requireObjectKeys(){if(Ot)return St;Ot=1;var t=Array.prototype.slice,r=requireIsArguments$1(),o=Object.keys,i=o?function keys(t){return o(t)}:requireImplementation$4(),a=Object.keys;return i.shim=function shimObjectKeys(){if(Object.keys){var o=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);o||(Object.keys=function keys(o){return r(o)?a(t.call(o)):a(o)})}else Object.keys=i;return Object.keys||i},St=i}function requireEsErrors(){return At?Pt:(At=1,Pt=Error)}function require_eval(){return jt?wt:(jt=1,wt=EvalError)}function requireRange(){return Et?qt:(Et=1,qt=RangeError)}function requireRef(){return Ft?It:(Ft=1,It=ReferenceError)}function requireSyntax(){return xt?Tt:(xt=1,Tt=SyntaxError)}function requireType(){return _t?Nt:(_t=1,Nt=TypeError)}function requireUri(){return Bt?Rt:(Bt=1,Rt=URIError)}function requireShams$5(){return Dt?Mt:(Dt=1,Mt=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),o=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(r in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(42!==a.value||!0!==a.enumerable)return!1}return!0})}function requireHasSymbols$3(){if(kt)return $t;kt=1;var t="undefined"!=typeof Symbol&&Symbol,r=requireShams$5();return $t=function hasNativeSymbols(){return"function"==typeof t&&("function"==typeof Symbol&&("symbol"==typeof t("foo")&&("symbol"==typeof Symbol("bar")&&r())))}}function requireHasProto(){if(Ct)return Ut;Ct=1;var t={__proto__:null,foo:{}},r=Object;return Ut=function hasProto(){return{__proto__:t}.foo===t.foo&&!(t instanceof r)}}function requireFunctionBind(){if(Vt)return zt;Vt=1;var t=function requireImplementation$3(){if(Wt)return Gt;Wt=1;var t=Object.prototype.toString,r=Math.max,o=function concatty(t,r){for(var o=[],i=0;i<t.length;i+=1)o[i]=t[i];for(var a=0;a<r.length;a+=1)o[a+t.length]=r[a];return o};return Gt=function bind(i){var a=this;if("function"!=typeof a||"[object Function]"!==t.apply(a))throw new TypeError("Function.prototype.bind called on incompatible "+a);for(var u,c=function slicy(t,r){for(var o=[],i=r,a=0;i<t.length;i+=1,a+=1)o[a]=t[i];return o}(arguments,1),l=r(0,a.length-c.length),p=[],y=0;y<l;y++)p[y]="$"+y;if(u=Function("binder","return function ("+function(t,r){for(var o="",i=0;i<t.length;i+=1)o+=t[i],i+1<t.length&&(o+=r);return o}(p,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof u){var t=a.apply(this,o(c,arguments));return Object(t)===t?t:this}return a.apply(i,o(c,arguments))})),a.prototype){var d=function Empty(){};d.prototype=a.prototype,u.prototype=new d,d.prototype=null}return u},Gt}();return zt=Function.prototype.bind||t}function requireHasown(){if(Lt)return Jt;Lt=1;var t=Function.prototype.call,r=Object.prototype.hasOwnProperty,o=requireFunctionBind();return Jt=o.call(t,r)}function requireGetIntrinsic$3(){if(Kt)return Ht;var t;Kt=1;var r=requireEsErrors(),o=require_eval(),i=requireRange(),a=requireRef(),u=requireSyntax(),c=requireType(),l=requireUri(),p=Function,getEvalledConstructor=function(t){try{return p('"use strict"; return ('+t+").constructor;")()}catch(t){}},y=Object.getOwnPropertyDescriptor;if(y)try{y({},"")}catch(t){y=null}var throwTypeError=function(){throw new c},d=y?function(){try{return throwTypeError}catch(t){try{return y(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError,g=requireHasSymbols$3()(),b=requireHasProto()(),m=Object.getPrototypeOf||(b?function(t){return t.__proto__}:null),h={},v="undefined"!=typeof Uint8Array&&m?m(Uint8Array):t,S={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":g&&m?m([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?t:Atomics,"%BigInt%":"undefined"==typeof BigInt?t:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?t:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":p,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?t:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?t:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&m?m(m([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":"undefined"==typeof Map?t:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&m?m((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?t:Promise,"%Proxy%":"undefined"==typeof Proxy?t:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?t:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&m?m((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&m?m(""[Symbol.iterator]()):t,"%Symbol%":g?Symbol:t,"%SyntaxError%":u,"%ThrowTypeError%":d,"%TypedArray%":v,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?t:Uint32Array,"%URIError%":l,"%WeakMap%":"undefined"==typeof WeakMap?t:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?t:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?t:WeakSet};if(m)try{null.error}catch(t){var O=m(m(t));S["%Error.prototype%"]=O}var P=function doEval(t){var r;if("%AsyncFunction%"===t)r=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===t)r=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===t){var o=doEval("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=doEval("%AsyncGenerator%");i&&m&&(r=m(i.prototype))}return S[t]=r,r},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=requireFunctionBind(),j=requireHasown(),q=w.call(Function.call,Array.prototype.concat),E=w.call(Function.apply,Array.prototype.splice),I=w.call(Function.call,String.prototype.replace),T=w.call(Function.call,String.prototype.slice),x=w.call(Function.call,RegExp.prototype.exec),N=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,R=function getBaseIntrinsic(t,r){var o,i=t;if(j(A,i)&&(i="%"+(o=A[i])[0]+"%"),j(S,i)){var a=S[i];if(a===h&&(a=P(i)),void 0===a&&!r)throw new c("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:i,value:a}}throw new u("intrinsic "+t+" does not exist!")};return Ht=function GetIntrinsic(t,r){if("string"!=typeof t||0===t.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new c('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,t))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=function stringToPath(t){var r=T(t,0,1),o=T(t,-1);if("%"===r&&"%"!==o)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===o&&"%"!==r)throw new u("invalid intrinsic syntax, expected opening `%`");var i=[];return I(t,N,(function(t,r,o,a){i[i.length]=o?I(a,_,"$1"):r||t})),i}(t),i=o.length>0?o[0]:"",a=R("%"+i+"%",r),l=a.name,p=a.value,d=!1,g=a.alias;g&&(i=g[0],E(o,q([0,1],g)));for(var b=1,m=!0;b<o.length;b+=1){var h=o[b],v=T(h,0,1),O=T(h,-1);if(('"'===v||"'"===v||"`"===v||'"'===O||"'"===O||"`"===O)&&v!==O)throw new u("property names with quotes must have matching quotes");if("constructor"!==h&&m||(d=!0),j(S,l="%"+(i+="."+h)+"%"))p=S[l];else if(null!=p){if(!(h in p)){if(!r)throw new c("base intrinsic for "+t+" exists, but the property is not available.");return}if(y&&b+1>=o.length){var P=y(p,h);p=(m=!!P)&&"get"in P&&!("originalValue"in P.get)?P.get:p[h]}else m=j(p,h),p=p[h];m&&!d&&(S[l]=p)}}return p},Ht}function requireEsDefineProperty$3(){if(Xt)return Qt;Xt=1;var t=requireGetIntrinsic$3()("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch(r){t=!1}return Qt=t}function requireGopd$4(){if(Zt)return Yt;Zt=1;var t=requireGetIntrinsic$3()("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch(r){t=null}return Yt=t}function requireDefineDataProperty(){if(tr)return er;tr=1;var t=requireEsDefineProperty$3(),r=requireSyntax(),o=requireType(),i=requireGopd$4();return er=function defineDataProperty(a,u,c){if(!a||"object"!=typeof a&&"function"!=typeof a)throw new o("`obj` must be an object or a function`");if("string"!=typeof u&&"symbol"!=typeof u)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,p=arguments.length>4?arguments[4]:null,y=arguments.length>5?arguments[5]:null,d=arguments.length>6&&arguments[6],g=!!i&&i(a,u);if(t)t(a,u,{configurable:null===y&&g?g.configurable:!y,enumerable:null===l&&g?g.enumerable:!l,value:c,writable:null===p&&g?g.writable:!p});else{if(!d&&(l||p||y))throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");a[u]=c}},er}function requireHasPropertyDescriptors(){if(nr)return rr;nr=1;var t=requireEsDefineProperty$3(),r=function hasPropertyDescriptors(){return!!t};return r.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!t)return null;try{return 1!==t([],"length",{value:1}).length}catch(t){return!0}},rr=r}function requireDefineProperties(){if(ir)return or;ir=1;var t=requireObjectKeys(),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,i=Array.prototype.concat,a=requireDefineDataProperty(),u=requireHasPropertyDescriptors()(),defineProperty=function(t,r,i,c){if(r in t)if(!0===c){if(t[r]===i)return}else if("function"!=typeof(l=c)||"[object Function]"!==o.call(l)||!c())return;var l;u?a(t,r,i,!0):a(t,r,i)},defineProperties=function(o,a){var u=arguments.length>2?arguments[2]:{},c=t(a);r&&(c=i.call(c,Object.getOwnPropertySymbols(a)));for(var l=0;l<c.length;l+=1)defineProperty(o,c[l],a[c[l]],u[c[l]])};return defineProperties.supportsDescriptors=!!u,or=defineProperties}o.registerCloneHook((function(t,r){return isEnumerator(r)?r:null}));var ur,cr,lr,pr,fr,yr,sr,dr,gr,br,mr,hr,vr,Sr,Or,Pr,Ar,wr,jr,qr,Er,Ir,Fr,Tr,xr,Nr,_r,Rr,Br,Mr,Dr,$r,kr,Ur,Cr,Gr,Wr,zr,Vr,Jr,Lr,Hr,Kr,Qr,Xr,Yr,Zr,en,tn,rn,nn,on,an,un,cn,ln,pn,fn,yn,sn,dn,gn,bn,mn,hn,vn,Sn,On,Pn,An,wn,jn={exports:{}};function requireSetFunctionLength(){if(cr)return ur;cr=1;var t=requireGetIntrinsic$3(),r=requireDefineDataProperty(),o=requireHasPropertyDescriptors()(),i=requireGopd$4(),a=requireType(),u=t("%Math.floor%");return ur=function setFunctionLength(t,c){if("function"!=typeof t)throw new a("`fn` is not a function");if("number"!=typeof c||c<0||c>4294967295||u(c)!==c)throw new a("`length` must be a positive 32-bit integer");var l=arguments.length>2&&!!arguments[2],p=!0,y=!0;if("length"in t&&i){var d=i(t,"length");d&&!d.configurable&&(p=!1),d&&!d.writable&&(y=!1)}return(p||y||!l)&&(o?r(t,"length",c,!0,!0):r(t,"length",c)),t},ur}function requireFunctionCall(){return pr?lr:(pr=1,lr=Function.prototype.call)}function requireFunctionApply(){return yr?fr:(yr=1,fr=Function.prototype.apply)}function requireActualApply(){if(br)return gr;br=1;var t=requireFunctionBind(),r=requireFunctionApply(),o=requireFunctionCall(),i=function requireReflectApply(){return dr?sr:(dr=1,sr="undefined"!=typeof Reflect&&Reflect&&Reflect.apply)}();return gr=i||t.call(o,r)}function requireCallBindApplyHelpers(){if(hr)return mr;hr=1;var t=requireFunctionBind(),r=requireType(),o=requireFunctionCall(),i=requireActualApply();return mr=function callBindBasic(a){if(a.length<1||"function"!=typeof a[0])throw new r("a function is required");return i(t,o,a)}}function requireApplyBind(){if(Sr)return vr;Sr=1;var t=requireFunctionBind(),r=requireFunctionApply(),o=requireActualApply();return vr=function applyBind(){return o(t,r,arguments)},vr}function requireEsObjectAtoms$3(){return jr?wr:(jr=1,wr=Object)}function requireAbs(){return Er?qr:(Er=1,qr=Math.abs)}function requireFloor(){return Fr?Ir:(Fr=1,Ir=Math.floor)}function requireMax(){return xr?Tr:(xr=1,Tr=Math.max)}function requireMin(){return _r?Nr:(_r=1,Nr=Math.min)}function requirePow(){return Br?Rr:(Br=1,Rr=Math.pow)}function requireRound(){return Dr?Mr:(Dr=1,Mr=Math.round)}function require_isNaN(){return kr?$r:(kr=1,$r=Number.isNaN||function isNaN(t){return t!=t})}function requireSign(){if(Cr)return Ur;Cr=1;var t=require_isNaN();return Ur=function sign(r){return t(r)||0===r?r:r<0?-1:1}}function requireGOPD$3(){return Wr?Gr:(Wr=1,Gr=Object.getOwnPropertyDescriptor)}function requireGopd$3(){if(Vr)return zr;Vr=1;var t=requireGOPD$3();if(t)try{t([],"length")}catch(r){t=null}return zr=t}function requireEsDefineProperty$2(){if(Lr)return Jr;Lr=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(r){t=!1}return Jr=t}function requireHasSymbols$2(){if(Xr)return Qr;Xr=1;var t="undefined"!=typeof Symbol&&Symbol,r=function requireShams$3(){return Kr?Hr:(Kr=1,Hr=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),o=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(var i in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var a=Object.getOwnPropertySymbols(t);if(1!==a.length||a[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var u=Object.getOwnPropertyDescriptor(t,r);if(42!==u.value||!0!==u.enumerable)return!1}return!0})}();return Qr=function hasNativeSymbols(){return"function"==typeof t&&("function"==typeof Symbol&&("symbol"==typeof t("foo")&&("symbol"==typeof Symbol("bar")&&r())))}}function requireReflect_getPrototypeOf(){return Zr?Yr:(Zr=1,Yr="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function requireEsObjectAtoms$2(){return tn?en:(tn=1,en=Object)}function requireObject_getPrototypeOf(){return nn?rn:(nn=1,rn=requireEsObjectAtoms$2().getPrototypeOf||null)}function requireGOPD$2(){return an?on:(an=1,on=Object.getOwnPropertyDescriptor)}function requireGopd$2(){if(cn)return un;cn=1;var t=requireGOPD$2();if(t)try{t([],"length")}catch(r){t=null}return un=t}function requireGet(){if(pn)return ln;pn=1;var t,r=requireCallBindApplyHelpers(),o=requireGopd$2();try{t=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var i=!!t&&o&&o(Object.prototype,"__proto__"),a=Object,u=a.getPrototypeOf;return ln=i&&"function"==typeof i.get?r([i.get]):"function"==typeof u&&function getDunder(t){return u(null==t?t:a(t))}}function requireGetProto(){if(yn)return fn;yn=1;var t=requireReflect_getPrototypeOf(),r=requireObject_getPrototypeOf(),o=requireGet();return fn=t?function getProto(r){return t(r)}:r?function getProto(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("getProto: not an object");return r(t)}:o?function getProto(t){return o(t)}:null}function requireGetIntrinsic$2(){if(dn)return sn;var t;dn=1;var r=requireEsObjectAtoms$3(),o=requireEsErrors(),i=require_eval(),a=requireRange(),u=requireRef(),c=requireSyntax(),l=requireType(),p=requireUri(),y=requireAbs(),d=requireFloor(),g=requireMax(),b=requireMin(),m=requirePow(),h=requireRound(),v=requireSign(),S=Function,getEvalledConstructor=function(t){try{return S('"use strict"; return ('+t+").constructor;")()}catch(t){}},O=requireGopd$3(),P=requireEsDefineProperty$2(),throwTypeError=function(){throw new l},A=O?function(){try{return throwTypeError}catch(t){try{return O(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError,w=requireHasSymbols$2()(),j=requireGetProto(),q=requireObject_getPrototypeOf(),E=requireReflect_getPrototypeOf(),I=requireFunctionApply(),T=requireFunctionCall(),x={},N="undefined"!=typeof Uint8Array&&j?j(Uint8Array):t,_={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":w&&j?j([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":"undefined"==typeof Atomics?t:Atomics,"%BigInt%":"undefined"==typeof BigInt?t:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"undefined"==typeof Float16Array?t:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?t:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":S,"%GeneratorFunction%":x,"%Int8Array%":"undefined"==typeof Int8Array?t:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?t:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&j?j(j([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":"undefined"==typeof Map?t:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&w&&j?j((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":O,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?t:Promise,"%Proxy%":"undefined"==typeof Proxy?t:Proxy,"%RangeError%":a,"%ReferenceError%":u,"%Reflect%":"undefined"==typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?t:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&w&&j?j((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&j?j(""[Symbol.iterator]()):t,"%Symbol%":w?Symbol:t,"%SyntaxError%":c,"%ThrowTypeError%":A,"%TypedArray%":N,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?t:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?t:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?t:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?t:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":I,"%Object.defineProperty%":P,"%Object.getPrototypeOf%":q,"%Math.abs%":y,"%Math.floor%":d,"%Math.max%":g,"%Math.min%":b,"%Math.pow%":m,"%Math.round%":h,"%Math.sign%":v,"%Reflect.getPrototypeOf%":E};if(j)try{null.error}catch(t){var R=j(j(t));_["%Error.prototype%"]=R}var B=function doEval(t){var r;if("%AsyncFunction%"===t)r=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===t)r=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===t){var o=doEval("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=doEval("%AsyncGenerator%");i&&j&&(r=j(i.prototype))}return _[t]=r,r},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=requireFunctionBind(),$=requireHasown(),k=D.call(T,Array.prototype.concat),U=D.call(I,Array.prototype.splice),C=D.call(T,String.prototype.replace),G=D.call(T,String.prototype.slice),W=D.call(T,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,J=function getBaseIntrinsic(t,r){var o,i=t;if($(M,i)&&(i="%"+(o=M[i])[0]+"%"),$(_,i)){var a=_[i];if(a===x&&(a=B(i)),void 0===a&&!r)throw new l("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:i,value:a}}throw new c("intrinsic "+t+" does not exist!")};return sn=function GetIntrinsic(t,r){if("string"!=typeof t||0===t.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new l('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,t))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=function stringToPath(t){var r=G(t,0,1),o=G(t,-1);if("%"===r&&"%"!==o)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===o&&"%"!==r)throw new c("invalid intrinsic syntax, expected opening `%`");var i=[];return C(t,z,(function(t,r,o,a){i[i.length]=o?C(a,V,"$1"):r||t})),i}(t),i=o.length>0?o[0]:"",a=J("%"+i+"%",r),u=a.name,p=a.value,y=!1,d=a.alias;d&&(i=d[0],U(o,k([0,1],d)));for(var g=1,b=!0;g<o.length;g+=1){var m=o[g],h=G(m,0,1),v=G(m,-1);if(('"'===h||"'"===h||"`"===h||'"'===v||"'"===v||"`"===v)&&h!==v)throw new c("property names with quotes must have matching quotes");if("constructor"!==m&&b||(y=!0),$(_,u="%"+(i+="."+m)+"%"))p=_[u];else if(null!=p){if(!(m in p)){if(!r)throw new l("base intrinsic for "+t+" exists, but the property is not available.");return}if(O&&g+1>=o.length){var S=O(p,m);p=(b=!!S)&&"get"in S&&!("originalValue"in S.get)?S.get:p[m]}else b=$(p,m),p=p[m];b&&!y&&(_[u]=p)}}return p},sn}function requireCallBound$1(){if(bn)return gn;bn=1;var t=requireGetIntrinsic$2(),r=requireCallBindApplyHelpers(),o=r([t("%String.prototype.indexOf%")]);return gn=function callBoundIntrinsic(i,a){var u=t(i,!!a);return"function"==typeof u&&o(i,".prototype.")>-1?r([u]):u}}function requireImplementation$2(){if(hn)return mn;hn=1;var t=requireObjectKeys(),r=function requireShams$4(){return Ar?Pr:(Ar=1,Pr=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),o=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(var i in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var a=Object.getOwnPropertySymbols(t);if(1!==a.length||a[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var u=Object.getOwnPropertyDescriptor(t,r);if(42!==u.value||!0!==u.enumerable)return!1}return!0})}()(),o=requireCallBound$1(),i=requireEsObjectAtoms$2(),a=o("Array.prototype.push"),u=o("Object.prototype.propertyIsEnumerable"),c=r?i.getOwnPropertySymbols:null;return mn=function assign(o,l){if(null==o)throw new TypeError("target must be an object");var p=i(o);if(1===arguments.length)return p;for(var y=1;y<arguments.length;++y){var d=i(arguments[y]),g=t(d),b=r&&(i.getOwnPropertySymbols||c);if(b)for(var m=b(d),h=0;h<m.length;++h){var v=m[h];u(d,v)&&a(g,v)}for(var S=0;S<g.length;++S){var O=g[S];if(u(d,O)){var P=d[O];p[O]=P}}}return p},mn}function requirePolyfill$2(){if(Sn)return vn;Sn=1;var t=requireImplementation$2();return vn=function getPolyfill(){return Object.assign?function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",r=t.split(""),o={},i=0;i<r.length;++i)o[r[i]]=r[i];var a=Object.assign({},o),u="";for(var c in a)u+=c;return t!==u}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(r){return"y"===t[1]}return!1}()?t:Object.assign:t}}function requireObject_assign(){if(wn)return An;wn=1;var t=requireDefineProperties(),r=function requireCallBind$4(){return Or||(Or=1,function(t){var r=requireSetFunctionLength(),o=requireEsDefineProperty$3(),i=requireCallBindApplyHelpers(),a=requireApplyBind();t.exports=function callBind(t){var o=i(arguments),a=t.length-(arguments.length-1);return r(o,1+(a>0?a:0),!0)},o?o(t.exports,"apply",{value:a}):t.exports.apply=a}(jn)),jn.exports}(),o=requireImplementation$2(),i=requirePolyfill$2(),a=function requireShim$2(){if(Pn)return On;Pn=1;var t=requireDefineProperties(),r=requirePolyfill$2();return On=function shimAssign(){var o=r();return t(Object,{assign:o},{assign:function(){return Object.assign!==o}}),o},On}(),u=r.apply(i()),c=function assign(t,r){return u(Object,arguments)};return t(c,{getPolyfill:i,implementation:o,shim:a}),An=c}var qn,En,In,Fn={exports:{}};function requireCallBind$3(){return qn||(qn=1,function(t){var r=requireFunctionBind(),o=requireGetIntrinsic$3(),i=requireSetFunctionLength(),a=requireType(),u=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(c,u),p=requireEsDefineProperty$3(),y=o("%Math.max%");t.exports=function callBind(t){if("function"!=typeof t)throw new a("a function is required");var o=l(r,c,arguments);return i(o,1+y(0,t.length-(arguments.length-1)),!0)};var d=function applyBind(){return l(r,u,arguments)};p?p(t.exports,"apply",{value:d}):t.exports.apply=d}(Fn)),Fn.exports}function requireCallBound(){if(In)return En;In=1;var t=requireGetIntrinsic$3(),r=requireCallBind$3(),o=r(t("String.prototype.indexOf"));return En=function callBoundIntrinsic(i,a){var u=t(i,!!a);return"function"==typeof u&&o(i,".prototype.")>-1?r(u):u}}var Tn,xn,Nn,_n,Rn,Bn,Mn,Dn,$n,kn,Un,Cn,Gn,Wn,zn,Vn,Jn,Ln,Hn,Kn,Qn,Xn,Yn,Zn,eo,to,ro,no,oo,io,ao,uo,co,lo,po,fo,yo,so,go,bo,mo,ho,vo,So,Oo,Po,Ao,wo,jo,qo={exports:{}};function requireSetFunctionName(){if(Rn)return _n;Rn=1;var t=requireDefineDataProperty(),r=requireHasPropertyDescriptors()(),o=function requireFunctionsHaveNames(){if(Nn)return xn;Nn=1;var t=function functionsHaveNames(){return"string"==typeof function f(){}.name},r=Object.getOwnPropertyDescriptor;if(r)try{r([],"length")}catch(t){r=null}t.functionsHaveConfigurableNames=function functionsHaveConfigurableNames(){if(!t()||!r)return!1;var o=r((function(){}),"name");return!!o&&!!o.configurable};var o=Function.prototype.bind;return t.boundFunctionsHaveNames=function boundFunctionsHaveNames(){return t()&&"function"==typeof o&&""!==function f(){}.bind().name},xn=t}().functionsHaveConfigurableNames(),i=requireType();return _n=function setFunctionName(a,u){if("function"!=typeof a)throw new i("`fn` is not a function");return arguments.length>2&&!!arguments[2]&&!o||(r?t(a,"name",u,!0,!0):t(a,"name",u)),a},_n}function requireImplementation$1(){if(Mn)return Bn;Mn=1;var t=requireSetFunctionName(),r=requireType(),o=Object;return Bn=t((function flags(){if(null==this||this!==o(this))throw new r("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t}),"get flags",!0)}function requirePolyfill$1(){if($n)return Dn;$n=1;var t=requireImplementation$1(),r=requireDefineProperties().supportsDescriptors,o=Object.getOwnPropertyDescriptor;return Dn=function getPolyfill(){if(r&&"gim"===/a/gim.flags){var i=o(RegExp.prototype,"flags");if(i&&"function"==typeof i.get&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var a="",u={};if(Object.defineProperty(u,"hasIndices",{get:function(){a+="d"}}),Object.defineProperty(u,"sticky",{get:function(){a+="y"}}),i.get.call(u),"dy"===a)return i.get}}return t}}function requireGOPD$1(){return Un?kn:(Un=1,kn=Object.getOwnPropertyDescriptor)}function requireGopd$1(){if(Gn)return Cn;Gn=1;var t=requireGOPD$1();if(t)try{t([],"length")}catch(r){t=null}return Cn=t}function requireRegexp_prototype_flags(){if(Jn)return Vn;Jn=1;var t=requireDefineProperties(),r=function requireCallBind$2(){return Tn||(Tn=1,function(t){var r=requireSetFunctionLength(),o=requireEsDefineProperty$3(),i=requireCallBindApplyHelpers(),a=requireApplyBind();t.exports=function callBind(t){var o=i(arguments),a=t.length-(arguments.length-1);return r(o,1+(a>0?a:0),!0)},o?o(t.exports,"apply",{value:a}):t.exports.apply=a}(qo)),qo.exports}(),o=requireImplementation$1(),i=requirePolyfill$1(),a=function requireShim$1(){if(zn)return Wn;zn=1;var t=requireDefineProperties().supportsDescriptors,r=requirePolyfill$1(),o=requireGopd$1(),i=Object.defineProperty,a=requireEsErrors(),u=requireGetProto(),c=/a/;return Wn=function shimFlags(){if(!t||!u)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var l=r(),p=u(c),y=o(p,"flags");return y&&y.get===l||i(p,"flags",{configurable:!0,enumerable:!1,get:l}),l},Wn}(),u=r(i());return t(u,{getPolyfill:i,implementation:o,shim:a}),Vn=u}function requireEsObjectAtoms$1(){return Hn?Ln:(Hn=1,Ln=Object)}function requireEsDefineProperty$1(){if(Qn)return Kn;Qn=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(r){t=!1}return Kn=t}function requireHasSymbols$1(){if(eo)return Zn;eo=1;var t="undefined"!=typeof Symbol&&Symbol,r=function requireShams$2(){return Yn?Xn:(Yn=1,Xn=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),o=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(var i in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var a=Object.getOwnPropertySymbols(t);if(1!==a.length||a[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var u=Object.getOwnPropertyDescriptor(t,r);if(42!==u.value||!0!==u.enumerable)return!1}return!0})}();return Zn=function hasNativeSymbols(){return"function"==typeof t&&("function"==typeof Symbol&&("symbol"==typeof t("foo")&&("symbol"==typeof Symbol("bar")&&r())))}}function requireGetIntrinsic$1(){if(ro)return to;var t;ro=1;var r=requireEsObjectAtoms$1(),o=requireEsErrors(),i=require_eval(),a=requireRange(),u=requireRef(),c=requireSyntax(),l=requireType(),p=requireUri(),y=requireAbs(),d=requireFloor(),g=requireMax(),b=requireMin(),m=requirePow(),h=requireRound(),v=requireSign(),S=Function,getEvalledConstructor=function(t){try{return S('"use strict"; return ('+t+").constructor;")()}catch(t){}},O=requireGopd$1(),P=requireEsDefineProperty$1(),throwTypeError=function(){throw new l},A=O?function(){try{return throwTypeError}catch(t){try{return O(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError,w=requireHasSymbols$1()(),j=requireGetProto(),q=requireObject_getPrototypeOf(),E=requireReflect_getPrototypeOf(),I=requireFunctionApply(),T=requireFunctionCall(),x={},N="undefined"!=typeof Uint8Array&&j?j(Uint8Array):t,_={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":w&&j?j([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":"undefined"==typeof Atomics?t:Atomics,"%BigInt%":"undefined"==typeof BigInt?t:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"undefined"==typeof Float16Array?t:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?t:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":S,"%GeneratorFunction%":x,"%Int8Array%":"undefined"==typeof Int8Array?t:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?t:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&j?j(j([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":"undefined"==typeof Map?t:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&w&&j?j((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":O,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?t:Promise,"%Proxy%":"undefined"==typeof Proxy?t:Proxy,"%RangeError%":a,"%ReferenceError%":u,"%Reflect%":"undefined"==typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?t:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&w&&j?j((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&j?j(""[Symbol.iterator]()):t,"%Symbol%":w?Symbol:t,"%SyntaxError%":c,"%ThrowTypeError%":A,"%TypedArray%":N,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?t:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?t:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?t:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?t:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":I,"%Object.defineProperty%":P,"%Object.getPrototypeOf%":q,"%Math.abs%":y,"%Math.floor%":d,"%Math.max%":g,"%Math.min%":b,"%Math.pow%":m,"%Math.round%":h,"%Math.sign%":v,"%Reflect.getPrototypeOf%":E};if(j)try{null.error}catch(t){var R=j(j(t));_["%Error.prototype%"]=R}var B=function doEval(t){var r;if("%AsyncFunction%"===t)r=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===t)r=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===t){var o=doEval("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=doEval("%AsyncGenerator%");i&&j&&(r=j(i.prototype))}return _[t]=r,r},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=requireFunctionBind(),$=requireHasown(),k=D.call(T,Array.prototype.concat),U=D.call(I,Array.prototype.splice),C=D.call(T,String.prototype.replace),G=D.call(T,String.prototype.slice),W=D.call(T,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,J=function getBaseIntrinsic(t,r){var o,i=t;if($(M,i)&&(i="%"+(o=M[i])[0]+"%"),$(_,i)){var a=_[i];if(a===x&&(a=B(i)),void 0===a&&!r)throw new l("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:i,value:a}}throw new c("intrinsic "+t+" does not exist!")};return to=function GetIntrinsic(t,r){if("string"!=typeof t||0===t.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new l('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,t))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=function stringToPath(t){var r=G(t,0,1),o=G(t,-1);if("%"===r&&"%"!==o)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===o&&"%"!==r)throw new c("invalid intrinsic syntax, expected opening `%`");var i=[];return C(t,z,(function(t,r,o,a){i[i.length]=o?C(a,V,"$1"):r||t})),i}(t),i=o.length>0?o[0]:"",a=J("%"+i+"%",r),u=a.name,p=a.value,y=!1,d=a.alias;d&&(i=d[0],U(o,k([0,1],d)));for(var g=1,b=!0;g<o.length;g+=1){var m=o[g],h=G(m,0,1),v=G(m,-1);if(('"'===h||"'"===h||"`"===h||'"'===v||"'"===v||"`"===v)&&h!==v)throw new c("property names with quotes must have matching quotes");if("constructor"!==m&&b||(y=!0),$(_,u="%"+(i+="."+m)+"%"))p=_[u];else if(null!=p){if(!(m in p)){if(!r)throw new l("base intrinsic for "+t+" exists, but the property is not available.");return}if(O&&g+1>=o.length){var S=O(p,m);p=(b=!!S)&&"get"in S&&!("originalValue"in S.get)?S.get:p[m]}else b=$(p,m),p=p[m];b&&!y&&(_[u]=p)}}return p},to}function requireUtil_inspect(){return ao?io:(ao=1,io=g.inspect)}function requireObjectInspect(){if(co)return uo;co=1;var t="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=t&&r&&"function"==typeof r.get?r.get:null,i=t&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&u&&"function"==typeof u.get?u.get:null,l=a&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,y="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,b=Object.prototype.toString,h=Function.prototype.toString,v=String.prototype.match,S=String.prototype.slice,O=String.prototype.replace,P=String.prototype.toUpperCase,A=String.prototype.toLowerCase,w=RegExp.prototype.test,j=Array.prototype.concat,q=Array.prototype.join,E=Array.prototype.slice,I=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,x=Object.getOwnPropertySymbols,N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,_="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===_||"symbol")?Symbol.toStringTag:null,B=Object.prototype.propertyIsEnumerable,M=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function addNumericSeparator(t,r){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||w.call(/e/,r))return r;var o=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var i=t<0?-I(-t):I(t);if(i!==t){var a=String(i),u=S.call(r,a.length+1);return O.call(a,o,"$&_")+"."+O.call(O.call(u,/([0-9]{3})/g,"$&_"),/_$/,"")}}return O.call(r,o,"$&_")}var D=requireUtil_inspect(),$=D.custom,k=isSymbol($)?$:null;function wrapQuotes(t,r,o){var i="double"===(o.quoteStyle||r)?'"':"'";return i+t+i}function quote(t){return O.call(String(t),/"/g,""")}function isArray(t){return!("[object Array]"!==toStr(t)||R&&"object"==typeof t&&R in t)}function isRegExp(t){return!("[object RegExp]"!==toStr(t)||R&&"object"==typeof t&&R in t)}function isSymbol(t){if(_)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!N)return!1;try{return N.call(t),!0}catch(t){}return!1}uo=function inspect_(t,r,a,u){var b=r||{};if(has(b,"quoteStyle")&&"single"!==b.quoteStyle&&"double"!==b.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(b,"maxStringLength")&&("number"==typeof b.maxStringLength?b.maxStringLength<0&&b.maxStringLength!==1/0:null!==b.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var P=!has(b,"customInspect")||b.customInspect;if("boolean"!=typeof P&&"symbol"!==P)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(b,"indent")&&null!==b.indent&&"\t"!==b.indent&&!(parseInt(b.indent,10)===b.indent&&b.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(b,"numericSeparator")&&"boolean"!=typeof b.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=b.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return inspectString(t,b);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var I=String(t);return w?addNumericSeparator(t,I):I}if("bigint"==typeof t){var x=String(t)+"n";return w?addNumericSeparator(t,x):x}var $=void 0===b.depth?5:b.depth;if(void 0===a&&(a=0),a>=$&&$>0&&"object"==typeof t)return isArray(t)?"[Array]":"[Object]";var U=function getIndent(t,r){var o;if("\t"===t.indent)o="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;o=q.call(Array(t.indent+1)," ")}return{base:o,prev:q.call(Array(r+1),o)}}(b,a);if(void 0===u)u=[];else if(indexOf(u,t)>=0)return"[Circular]";function inspect(t,r,o){if(r&&(u=E.call(u)).push(r),o){var i={depth:b.depth};return has(b,"quoteStyle")&&(i.quoteStyle=b.quoteStyle),inspect_(t,i,a+1,u)}return inspect_(t,b,a+1,u)}if("function"==typeof t&&!isRegExp(t)){var C=function nameOf(t){if(t.name)return t.name;var r=v.call(h.call(t),/^function\s*([\w$]+)/);if(r)return r[1];return null}(t),G=arrObjKeys(t,inspect);return"[Function"+(C?": "+C:" (anonymous)")+"]"+(G.length>0?" { "+q.call(G,", ")+" }":"")}if(isSymbol(t)){var W=_?O.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):N.call(t);return"object"!=typeof t||_?W:markBoxed(W)}if(function isElement(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(t)){for(var z="<"+A.call(String(t.nodeName)),V=t.attributes||[],J=0;J<V.length;J++)z+=" "+V[J].name+"="+wrapQuotes(quote(V[J].value),"double",b);return z+=">",t.childNodes&&t.childNodes.length&&(z+="..."),z+="</"+A.call(String(t.nodeName))+">"}if(isArray(t)){if(0===t.length)return"[]";var L=arrObjKeys(t,inspect);return U&&!function singleLineValues(t){for(var r=0;r<t.length;r++)if(indexOf(t[r],"\n")>=0)return!1;return!0}(L)?"["+indentedJoin(L,U)+"]":"[ "+q.call(L,", ")+" ]"}if(function isError(t){return!("[object Error]"!==toStr(t)||R&&"object"==typeof t&&R in t)}(t)){var H=arrObjKeys(t,inspect);return"cause"in Error.prototype||!("cause"in t)||B.call(t,"cause")?0===H.length?"["+String(t)+"]":"{ ["+String(t)+"] "+q.call(H,", ")+" }":"{ ["+String(t)+"] "+q.call(j.call("[cause]: "+inspect(t.cause),H),", ")+" }"}if("object"==typeof t&&P){if(k&&"function"==typeof t[k]&&D)return D(t,{depth:$-a});if("symbol"!==P&&"function"==typeof t.inspect)return t.inspect()}if(function isMap(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(t)){var K=[];return i&&i.call(t,(function(r,o){K.push(inspect(o,t,!0)+" => "+inspect(r,t))})),collectionOf("Map",o.call(t),K,U)}if(function isSet(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(t)){var Q=[];return l&&l.call(t,(function(r){Q.push(inspect(r,t))})),collectionOf("Set",c.call(t),Q,U)}if(function isWeakMap(t){if(!p||!t||"object"!=typeof t)return!1;try{p.call(t,p);try{y.call(t,y)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(t))return weakCollectionOf("WeakMap");if(function isWeakSet(t){if(!y||!t||"object"!=typeof t)return!1;try{y.call(t,y);try{p.call(t,p)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(t))return weakCollectionOf("WeakSet");if(function isWeakRef(t){if(!d||!t||"object"!=typeof t)return!1;try{return d.call(t),!0}catch(t){}return!1}(t))return weakCollectionOf("WeakRef");if(function isNumber(t){return!("[object Number]"!==toStr(t)||R&&"object"==typeof t&&R in t)}(t))return markBoxed(inspect(Number(t)));if(function isBigInt(t){if(!t||"object"!=typeof t||!T)return!1;try{return T.call(t),!0}catch(t){}return!1}(t))return markBoxed(inspect(T.call(t)));if(function isBoolean(t){return!("[object Boolean]"!==toStr(t)||R&&"object"==typeof t&&R in t)}(t))return markBoxed(g.call(t));if(function isString(t){return!("[object String]"!==toStr(t)||R&&"object"==typeof t&&R in t)}(t))return markBoxed(inspect(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==m&&t===m)return"{ [object globalThis] }";if(!function isDate(t){return!("[object Date]"!==toStr(t)||R&&"object"==typeof t&&R in t)}(t)&&!isRegExp(t)){var X=arrObjKeys(t,inspect),Y=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,Z=t instanceof Object?"":"null prototype",ee=!Y&&R&&Object(t)===t&&R in t?S.call(toStr(t),8,-1):Z?"Object":"",te=(Y||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ee||Z?"["+q.call(j.call([],ee||[],Z||[]),": ")+"] ":"");return 0===X.length?te+"{}":U?te+"{"+indentedJoin(X,U)+"}":te+"{ "+q.call(X,", ")+" }"}return String(t)};var U=Object.prototype.hasOwnProperty||function(t){return t in this};function has(t,r){return U.call(t,r)}function toStr(t){return b.call(t)}function indexOf(t,r){if(t.indexOf)return t.indexOf(r);for(var o=0,i=t.length;o<i;o++)if(t[o]===r)return o;return-1}function inspectString(t,r){if(t.length>r.maxStringLength){var o=t.length-r.maxStringLength,i="... "+o+" more character"+(o>1?"s":"");return inspectString(S.call(t,0,r.maxStringLength),r)+i}return wrapQuotes(O.call(O.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",r)}function lowbyte(t){var r=t.charCodeAt(0),o={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return o?"\\"+o:"\\x"+(r<16?"0":"")+P.call(r.toString(16))}function markBoxed(t){return"Object("+t+")"}function weakCollectionOf(t){return t+" { ? }"}function collectionOf(t,r,o,i){return t+" ("+r+") {"+(i?indentedJoin(o,i):q.call(o,", "))+"}"}function indentedJoin(t,r){if(0===t.length)return"";var o="\n"+r.prev+r.base;return o+q.call(t,","+o)+"\n"+r.prev}function arrObjKeys(t,r){var o=isArray(t),i=[];if(o){i.length=t.length;for(var a=0;a<t.length;a++)i[a]=has(t,a)?r(t[a],t):""}var u,c="function"==typeof x?x(t):[];if(_){u={};for(var l=0;l<c.length;l++)u["$"+c[l]]=c[l]}for(var p in t)has(t,p)&&(o&&String(Number(p))===p&&p<t.length||_&&u["$"+p]instanceof Symbol||(w.call(/[^\w$]/,p)?i.push(r(p,t)+": "+r(t[p],t)):i.push(p+": "+r(t[p],t))));if("function"==typeof x)for(var y=0;y<c.length;y++)B.call(t,c[y])&&i.push("["+r(c[y])+"]: "+r(t[c[y]],t));return i}return uo}function requireSideChannel(){if(po)return lo;po=1;var t=requireGetIntrinsic$3(),r=requireCallBound(),o=requireObjectInspect(),i=requireType(),a=t("%WeakMap%",!0),u=t("%Map%",!0),c=r("WeakMap.prototype.get",!0),l=r("WeakMap.prototype.set",!0),p=r("WeakMap.prototype.has",!0),y=r("Map.prototype.get",!0),d=r("Map.prototype.set",!0),g=r("Map.prototype.has",!0),listGetNode=function(t,r){for(var o,i=t;null!==(o=i.next);i=o)if(o.key===r)return i.next=o.next,o.next=t.next,t.next=o,o};return lo=function getSideChannel(){var t,r,b,m={assert:function(t){if(!m.has(t))throw new i("Side channel does not contain "+o(t))},get:function(o){if(a&&o&&("object"==typeof o||"function"==typeof o)){if(t)return c(t,o)}else if(u){if(r)return y(r,o)}else if(b)return function(t,r){var o=listGetNode(t,r);return o&&o.value}(b,o)},has:function(o){if(a&&o&&("object"==typeof o||"function"==typeof o)){if(t)return p(t,o)}else if(u){if(r)return g(r,o)}else if(b)return function(t,r){return!!listGetNode(t,r)}(b,o);return!1},set:function(o,i){a&&o&&("object"==typeof o||"function"==typeof o)?(t||(t=new a),l(t,o,i)):u?(r||(r=new u),d(r,o,i)):(b||(b={key:{},next:null}),function(t,r,o){var i=listGetNode(t,r);i?i.value=o:t.next={key:r,next:t.next,value:o}}(b,o,i))}};return m},lo}function requireImplementation(){if(yo)return fo;yo=1;var numberIsNaN=function(t){return t!=t};return fo=function is(t,r){return 0===t&&0===r?1/t==1/r:t===r||!(!numberIsNaN(t)||!numberIsNaN(r))}}function requirePolyfill(){if(go)return so;go=1;var t=requireImplementation();return so=function getPolyfill(){return"function"==typeof Object.is?Object.is:t}}function requireShim(){if(mo)return bo;mo=1;var t=requirePolyfill(),r=requireDefineProperties();return bo=function shimObjectIs(){var o=t();return r(Object,{is:o},{is:function testObjectIs(){return Object.is!==o}}),o},bo}function requireShams$1(){if(Oo)return So;Oo=1;var t=requireShams$5();return So=function hasToStringTagShams(){return t()&&!!Symbol.toStringTag}}function requireIsArguments(){if(Ao)return Po;Ao=1;var t=requireShams$1()(),r=requireCallBound$1()("Object.prototype.toString"),o=function isArguments(o){return!(t&&o&&"object"==typeof o&&Symbol.toStringTag in o)&&"[object Arguments]"===r(o)},i=function isArguments(t){return!!o(t)||null!==t&&"object"==typeof t&&"length"in t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==r(t)&&"callee"in t&&"[object Function]"===r(t.callee)},a=function(){return o(arguments)}();return o.isLegacyArguments=i,Po=a?o:i}var Eo,Io,Fo,To,xo,No,_o,Ro,Bo,Mo,Do,$o,ko,Uo,Co,Go={exports:{}};function requireIsArrayBuffer(){if(Fo)return Io;Fo=1;var t=function requireCallBind$1(){return Eo||(Eo=1,function(t){var r=requireSetFunctionLength(),o=requireEsDefineProperty$3(),i=requireCallBindApplyHelpers(),a=requireApplyBind();t.exports=function callBind(t){var o=i(arguments),a=t.length-(arguments.length-1);return r(o,1+(a>0?a:0),!0)},o?o(t.exports,"apply",{value:a}):t.exports.apply=a}(Go)),Go.exports}(),r=requireCallBound$1(),o=requireGetIntrinsic$1()("%ArrayBuffer%",!0),i=r("ArrayBuffer.prototype.byteLength",!0),a=r("Object.prototype.toString"),u=!!o&&!i&&new o(0).slice,c=!!u&&t(u);return Io=i||c?function isArrayBuffer(t){if(!t||"object"!=typeof t)return!1;try{return i?i(t):c(t,0),!0}catch(t){return!1}}:o?function isArrayBuffer(t){return"[object ArrayBuffer]"===a(t)}:function isArrayBuffer(t){return!1}}function requireIsDateObject(){if(xo)return To;xo=1;var t=requireCallBound$1(),r=t("Date.prototype.getDay"),o=t("Object.prototype.toString"),i=requireShams$1()();return To=function isDateObject(t){return"object"==typeof t&&null!==t&&(i?function tryDateGetDayCall(t){try{return r(t),!0}catch(t){return!1}}(t):"[object Date]"===o(t))}}function requireIsRegex(){if(_o)return No;_o=1;var t,r,o,i,a=requireCallBound(),u=requireShams$1()();if(u){t=a("Object.prototype.hasOwnProperty"),r=a("RegExp.prototype.exec"),o={};var throwRegexMarker=function(){throw o};i={toString:throwRegexMarker,valueOf:throwRegexMarker},"symbol"==typeof Symbol.toPrimitive&&(i[Symbol.toPrimitive]=throwRegexMarker)}var c=a("Object.prototype.toString"),l=Object.getOwnPropertyDescriptor;return No=u?function isRegex(a){if(!a||"object"!=typeof a)return!1;var u=l(a,"lastIndex");if(!(u&&t(u,"value")))return!1;try{r(a,i)}catch(t){return t===o}}:function isRegex(t){return!(!t||"object"!=typeof t&&"function"!=typeof t)&&"[object RegExp]"===c(t)}}function requireIsSharedArrayBuffer(){if(Bo)return Ro;Bo=1;var t=requireCallBound()("SharedArrayBuffer.prototype.byteLength",!0);return Ro=t?function isSharedArrayBuffer(r){if(!r||"object"!=typeof r)return!1;try{return t(r),!0}catch(t){return!1}}:function isSharedArrayBuffer(t){return!1}}function requireIsString(){if(Do)return Mo;Do=1;var t=String.prototype.valueOf,r=Object.prototype.toString,o=requireShams$1()();return Mo=function isString(i){return"string"==typeof i||"object"==typeof i&&(o?function tryStringObject(r){try{return t.call(r),!0}catch(t){return!1}}(i):"[object String]"===r.call(i))}}function requireIsNumberObject(){if(ko)return $o;ko=1;var t=Number.prototype.toString,r=Object.prototype.toString,o=requireShams$1()();return $o=function isNumberObject(i){return"number"==typeof i||"object"==typeof i&&(o?function tryNumberObject(r){try{return t.call(r),!0}catch(t){return!1}}(i):"[object Number]"===r.call(i))}}function requireIsBooleanObject(){if(Co)return Uo;Co=1;var t=requireCallBound(),r=t("Boolean.prototype.toString"),o=t("Object.prototype.toString"),i=requireShams$1()();return Uo=function isBoolean(t){return"boolean"==typeof t||null!==t&&"object"==typeof t&&(i&&Symbol.toStringTag in t?function booleanBrandCheck(t){try{return r(t),!0}catch(t){return!1}}(t):"[object Boolean]"===o(t))}}var Wo,zo={exports:{}};function requireIsSymbol(){if(Wo)return zo.exports;Wo=1;var t=Object.prototype.toString;if(requireHasSymbols$3()()){var r=Symbol.prototype.toString,o=/^Symbol\(.*\)$/;zo.exports=function isSymbol(i){if("symbol"==typeof i)return!0;if("[object Symbol]"!==t.call(i))return!1;try{return function isRealSymbolObject(t){return"symbol"==typeof t.valueOf()&&o.test(r.call(t))}(i)}catch(t){return!1}}}else zo.exports=function isSymbol(t){return!1};return zo.exports}var Vo,Jo,Lo,Ho,Ko,Qo,Xo,Yo,Zo,ei,ti,ri={exports:{}};function requireIsBigint(){if(Lo)return ri.exports;if(Lo=1,function requireHasBigints(){if(Jo)return Vo;Jo=1;var t="undefined"!=typeof BigInt&&BigInt;return Vo=function hasNativeBigInts(){return"function"==typeof t&&"function"==typeof BigInt&&"bigint"==typeof t(42)&&"bigint"==typeof BigInt(42)}}()()){var t=BigInt.prototype.valueOf;ri.exports=function isBigInt(r){return null!=r&&"boolean"!=typeof r&&"string"!=typeof r&&"number"!=typeof r&&"symbol"!=typeof r&&"function"!=typeof r&&("bigint"==typeof r||function tryBigIntObject(r){try{return t.call(r),!0}catch(t){}return!1}(r))}}else ri.exports=function isBigInt(t){return!1};return ri.exports}function requireWhichBoxedPrimitive(){if(Ko)return Ho;Ko=1;var t=requireIsString(),r=requireIsNumberObject(),o=requireIsBooleanObject(),i=requireIsSymbol(),a=requireIsBigint();return Ho=function whichBoxedPrimitive(u){return null==u||"object"!=typeof u&&"function"!=typeof u?null:t(u)?"String":r(u)?"Number":o(u)?"Boolean":i(u)?"Symbol":a(u)?"BigInt":void 0}}function requireIsMap(){if(Xo)return Qo;Xo=1;var t,r="function"==typeof Map&&Map.prototype?Map:null,o="function"==typeof Set&&Set.prototype?Set:null;r||(t=function isMap(t){return!1});var i=r?Map.prototype.has:null,a=o?Set.prototype.has:null;return t||i||(t=function isMap(t){return!1}),Qo=t||function isMap(t){if(!t||"object"!=typeof t)return!1;try{if(i.call(t),a)try{a.call(t)}catch(t){return!0}return t instanceof r}catch(t){}return!1}}function requireIsSet(){if(Zo)return Yo;Zo=1;var t,r="function"==typeof Map&&Map.prototype?Map:null,o="function"==typeof Set&&Set.prototype?Set:null;o||(t=function isSet(t){return!1});var i=r?Map.prototype.has:null,a=o?Set.prototype.has:null;return t||a||(t=function isSet(t){return!1}),Yo=t||function isSet(t){if(!t||"object"!=typeof t)return!1;try{if(a.call(t),i)try{i.call(t)}catch(t){return!0}return t instanceof o}catch(t){}return!1}}var ni,oi,ii,ai,ui,ci,li,pi,fi,yi,si,di,gi,bi,mi,hi,vi,Si,Oi,Pi,Ai,wi,ji,qi,Ei,Ii={exports:{}};function requireEsObjectAtoms(){return oi?ni:(oi=1,ni=Object)}function requireGOPD(){return ai?ii:(ai=1,ii=Object.getOwnPropertyDescriptor)}function requireGopd(){if(ci)return ui;ci=1;var t=requireGOPD();if(t)try{t([],"length")}catch(r){t=null}return ui=t}function requireEsDefineProperty(){if(pi)return li;pi=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(r){t=!1}return li=t}function requireHasSymbols(){if(di)return si;di=1;var t="undefined"!=typeof Symbol&&Symbol,r=function requireShams(){return yi?fi:(yi=1,fi=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),o=Object(r);if("string"==typeof r)return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;if("[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(var i in t[r]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var a=Object.getOwnPropertySymbols(t);if(1!==a.length||a[0]!==r)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var u=Object.getOwnPropertyDescriptor(t,r);if(42!==u.value||!0!==u.enumerable)return!1}return!0})}();return si=function hasNativeSymbols(){return"function"==typeof t&&("function"==typeof Symbol&&("symbol"==typeof t("foo")&&("symbol"==typeof Symbol("bar")&&r())))}}function requireGetIntrinsic(){if(bi)return gi;var t;bi=1;var r=requireEsObjectAtoms(),o=requireEsErrors(),i=require_eval(),a=requireRange(),u=requireRef(),c=requireSyntax(),l=requireType(),p=requireUri(),y=requireAbs(),d=requireFloor(),g=requireMax(),b=requireMin(),m=requirePow(),h=requireRound(),v=requireSign(),S=Function,getEvalledConstructor=function(t){try{return S('"use strict"; return ('+t+").constructor;")()}catch(t){}},O=requireGopd(),P=requireEsDefineProperty(),throwTypeError=function(){throw new l},A=O?function(){try{return throwTypeError}catch(t){try{return O(arguments,"callee").get}catch(t){return throwTypeError}}}():throwTypeError,w=requireHasSymbols()(),j=requireGetProto(),q=requireObject_getPrototypeOf(),E=requireReflect_getPrototypeOf(),I=requireFunctionApply(),T=requireFunctionCall(),x={},N="undefined"!=typeof Uint8Array&&j?j(Uint8Array):t,_={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":w&&j?j([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":"undefined"==typeof Atomics?t:Atomics,"%BigInt%":"undefined"==typeof BigInt?t:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"undefined"==typeof Float16Array?t:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?t:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":S,"%GeneratorFunction%":x,"%Int8Array%":"undefined"==typeof Int8Array?t:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?t:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&j?j(j([][Symbol.iterator]())):t,"%JSON%":"object"==typeof JSON?JSON:t,"%Map%":"undefined"==typeof Map?t:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&w&&j?j((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":O,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?t:Promise,"%Proxy%":"undefined"==typeof Proxy?t:Proxy,"%RangeError%":a,"%ReferenceError%":u,"%Reflect%":"undefined"==typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?t:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&w&&j?j((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&j?j(""[Symbol.iterator]()):t,"%Symbol%":w?Symbol:t,"%SyntaxError%":c,"%ThrowTypeError%":A,"%TypedArray%":N,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?t:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?t:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?t:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?t:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":I,"%Object.defineProperty%":P,"%Object.getPrototypeOf%":q,"%Math.abs%":y,"%Math.floor%":d,"%Math.max%":g,"%Math.min%":b,"%Math.pow%":m,"%Math.round%":h,"%Math.sign%":v,"%Reflect.getPrototypeOf%":E};if(j)try{null.error}catch(t){var R=j(j(t));_["%Error.prototype%"]=R}var B=function doEval(t){var r;if("%AsyncFunction%"===t)r=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===t)r=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===t){var o=doEval("%AsyncGeneratorFunction%");o&&(r=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=doEval("%AsyncGenerator%");i&&j&&(r=j(i.prototype))}return _[t]=r,r},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=requireFunctionBind(),$=requireHasown(),k=D.call(T,Array.prototype.concat),U=D.call(I,Array.prototype.splice),C=D.call(T,String.prototype.replace),G=D.call(T,String.prototype.slice),W=D.call(T,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,J=function getBaseIntrinsic(t,r){var o,i=t;if($(M,i)&&(i="%"+(o=M[i])[0]+"%"),$(_,i)){var a=_[i];if(a===x&&(a=B(i)),void 0===a&&!r)throw new l("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:i,value:a}}throw new c("intrinsic "+t+" does not exist!")};return gi=function GetIntrinsic(t,r){if("string"!=typeof t||0===t.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new l('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,t))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=function stringToPath(t){var r=G(t,0,1),o=G(t,-1);if("%"===r&&"%"!==o)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===o&&"%"!==r)throw new c("invalid intrinsic syntax, expected opening `%`");var i=[];return C(t,z,(function(t,r,o,a){i[i.length]=o?C(a,V,"$1"):r||t})),i}(t),i=o.length>0?o[0]:"",a=J("%"+i+"%",r),u=a.name,p=a.value,y=!1,d=a.alias;d&&(i=d[0],U(o,k([0,1],d)));for(var g=1,b=!0;g<o.length;g+=1){var m=o[g],h=G(m,0,1),v=G(m,-1);if(('"'===h||"'"===h||"`"===h||'"'===v||"'"===v||"`"===v)&&h!==v)throw new c("property names with quotes must have matching quotes");if("constructor"!==m&&b||(y=!0),$(_,u="%"+(i+="."+m)+"%"))p=_[u];else if(null!=p){if(!(m in p)){if(!r)throw new l("base intrinsic for "+t+" exists, but the property is not available.");return}if(O&&g+1>=o.length){var S=O(p,m);p=(b=!!S)&&"get"in S&&!("originalValue"in S.get)?S.get:p[m]}else b=$(p,m),p=p[m];b&&!y&&(_[u]=p)}}return p},gi}function requireIsWeakset(){if(mi)return Ii.exports;mi=1;var t=requireGetIntrinsic(),r=requireCallBound$1(),o=t("%WeakSet%",!0),i=r("WeakSet.prototype.has",!0);if(i){var a=r("WeakMap.prototype.has",!0);Ii.exports=function isWeakSet(t){if(!t||"object"!=typeof t)return!1;try{if(i(t,i),a)try{a(t,a)}catch(t){return!0}return t instanceof o}catch(t){}return!1}}else Ii.exports=function isWeakSet(t){return!1};return Ii.exports}function requireWhichCollection(){if(vi)return hi;vi=1;var t=requireIsMap(),r=requireIsSet(),o=function requireIsWeakmap(){if(ti)return ei;ti=1;var t,r="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,o="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;r||(t=function isWeakMap(t){return!1});var i=r?r.prototype.has:null,a=o?o.prototype.has:null;return t||i||(t=function isWeakMap(t){return!1}),ei=t||function isWeakMap(t){if(!t||"object"!=typeof t)return!1;try{if(i.call(t,i),a)try{a.call(t,a)}catch(t){return!0}return t instanceof r}catch(t){}return!1}}(),i=requireIsWeakset();return hi=function whichCollection(a){if(a&&"object"==typeof a){if(t(a))return"Map";if(r(a))return"Set";if(o(a))return"WeakMap";if(i(a))return"WeakSet"}return!1}}function requireIsCallable(){if(Oi)return Si;Oi=1;var t,r,o=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i((function(){throw 42}),null,t)}catch(t){t!==r&&(i=null)}else i=null;var a=/^\s*class\b/,u=function isES6ClassFunction(t){try{var r=o.call(t);return a.test(r)}catch(t){return!1}},c=function tryFunctionToStr(t){try{return!u(t)&&(o.call(t),!0)}catch(t){return!1}},l=Object.prototype.toString,p="function"==typeof Symbol&&!!Symbol.toStringTag,y=!(0 in[,]),d=function isDocumentDotAll(){return!1};if("object"==typeof document){var g=document.all;l.call(g)===l.call(document.all)&&(d=function isDocumentDotAll(t){if((y||!t)&&(void 0===t||"object"==typeof t))try{var r=l.call(t);return("[object HTMLAllCollection]"===r||"[object HTML document.all class]"===r||"[object HTMLCollection]"===r||"[object Object]"===r)&&null==t("")}catch(t){}return!1})}return Si=i?function isCallable(o){if(d(o))return!0;if(!o)return!1;if("function"!=typeof o&&"object"!=typeof o)return!1;try{i(o,null,t)}catch(t){if(t!==r)return!1}return!u(o)&&c(o)}:function isCallable(t){if(d(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if(p)return c(t);if(u(t))return!1;var r=l.call(t);return!("[object Function]"!==r&&"[object GeneratorFunction]"!==r&&!/^\[object HTML/.test(r))&&c(t)}}function requireForEach(){if(Ai)return Pi;Ai=1;var t=requireIsCallable(),r=Object.prototype.toString,o=Object.prototype.hasOwnProperty;return Pi=function forEach(i,a,u){if(!t(a))throw new TypeError("iterator must be a function");var c;arguments.length>=3&&(c=u),function isArray(t){return"[object Array]"===r.call(t)}(i)?function forEachArray(t,r,i){for(var a=0,u=t.length;a<u;a++)o.call(t,a)&&(null==i?r(t[a],a,t):r.call(i,t[a],a,t))}(i,a,c):"string"==typeof i?function forEachString(t,r,o){for(var i=0,a=t.length;i<a;i++)null==o?r(t.charAt(i),i,t):r.call(o,t.charAt(i),i,t)}(i,a,c):function forEachObject(t,r,i){for(var a in t)o.call(t,a)&&(null==i?r(t[a],a,t):r.call(i,t[a],a,t))}(i,a,c)},Pi}function requirePossibleTypedArrayNames(){return ji?wi:(ji=1,wi=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"])}function requireAvailableTypedArrays(){if(Ei)return qi;Ei=1;var t=requirePossibleTypedArrayNames(),r="undefined"==typeof globalThis?m:globalThis;return qi=function availableTypedArrays(){for(var o=[],i=0;i<t.length;i++)"function"==typeof r[t[i]]&&(o[o.length]=t[i]);return o}}var Fi,Ti,xi,Ni,_i,Ri,Bi,Mi={exports:{}};function requireCallBind(){return Fi||(Fi=1,function(t){var r=requireSetFunctionLength(),o=requireEsDefineProperty$3(),i=requireCallBindApplyHelpers(),a=requireApplyBind();t.exports=function callBind(t){var o=i(arguments),a=t.length-(arguments.length-1);return r(o,1+(a>0?a:0),!0)},o?o(t.exports,"apply",{value:a}):t.exports.apply=a}(Mi)),Mi.exports}function requireWhichTypedArray(){if(xi)return Ti;xi=1;var t=requireForEach(),r=requireAvailableTypedArrays(),o=requireCallBind(),i=requireCallBound$1(),a=requireGopd$1(),u=requireGetProto(),c=i("Object.prototype.toString"),l=requireShams$1()(),p="undefined"==typeof globalThis?m:globalThis,y=r(),d=i("String.prototype.slice"),g=i("Array.prototype.indexOf",!0)||function indexOf(t,r){for(var o=0;o<t.length;o+=1)if(t[o]===r)return o;return-1},b={__proto__:null};t(y,l&&a&&u?function(t){var r=new p[t];if(Symbol.toStringTag in r&&u){var i=u(r),c=a(i,Symbol.toStringTag);if(!c&&i){var l=u(i);c=a(l,Symbol.toStringTag)}b["$"+t]=o(c.get)}}:function(t){var r=new p[t],i=r.slice||r.set;i&&(b["$"+t]=o(i))});return Ti=function whichTypedArray(r){if(!r||"object"!=typeof r)return!1;if(!l){var o=d(c(r),8,-1);return g(y,o)>-1?o:"Object"===o&&function tryAllSlices(r){var o=!1;return t(b,(function(t,i){if(!o)try{t(r),o=d(i,1)}catch(t){}})),o}(r)}return a?function tryAllTypedArrays(r){var o=!1;return t(b,(function(t,i){if(!o)try{"$"+t(r)===i&&(o=d(i,1))}catch(t){}})),o}(r):null}}function requireArrayBufferByteLength(){if(_i)return Ni;_i=1;var t=requireCallBound$1()("ArrayBuffer.prototype.byteLength",!0),r=requireIsArrayBuffer();return Ni=function byteLength(o){return r(o)?t?t(o):o.byteLength:NaN}}var Di=function requireDeepEqual(){if(Bi)return Ri;Bi=1;var t=requireObject_assign(),r=requireCallBound(),o=requireRegexp_prototype_flags(),i=requireGetIntrinsic$1(),a=function requireNode(){if(oo)return no;oo=1;var t=Symbol.iterator;return no=function getIterator(r){if(null!=r&&void 0!==r[t])return r[t]()}}(),u=requireSideChannel(),c=function requireObjectIs(){if(vo)return ho;vo=1;var t=requireDefineProperties(),r=requireCallBind$3(),o=requireImplementation(),i=requirePolyfill(),a=requireShim(),u=r(i(),Object);return t(u,{getPolyfill:i,implementation:o,shim:a}),ho=u}(),l=requireIsArguments(),p=function requireIsarray(){if(jo)return wo;jo=1;var t={}.toString;return wo=Array.isArray||function(r){return"[object Array]"==t.call(r)}}(),y=requireIsArrayBuffer(),d=requireIsDateObject(),g=requireIsRegex(),b=requireIsSharedArrayBuffer(),m=requireObjectKeys(),h=requireWhichBoxedPrimitive(),v=requireWhichCollection(),S=requireWhichTypedArray(),O=requireArrayBufferByteLength(),P=r("SharedArrayBuffer.prototype.byteLength",!0),A=r("Date.prototype.getTime"),w=Object.getPrototypeOf,j=r("Object.prototype.toString"),q=i("%Set%",!0),E=r("Map.prototype.has",!0),I=r("Map.prototype.get",!0),T=r("Map.prototype.size",!0),x=r("Set.prototype.add",!0),N=r("Set.prototype.delete",!0),_=r("Set.prototype.has",!0),R=r("Set.prototype.size",!0);function setHasEqualElement(t,r,o,i){for(var u,c=a(t);(u=c.next())&&!u.done;)if(internalDeepEqual(r,u.value,o,i))return N(t,u.value),!0;return!1}function findLooseMatchingPrimitives(t){return void 0===t?null:"object"!=typeof t?"symbol"!=typeof t&&("string"!=typeof t&&"number"!=typeof t||+t==+t):void 0}function mapMightHaveLoosePrim(r,o,i,a,u,c){var l=findLooseMatchingPrimitives(i);if(null!=l)return l;var p=I(o,l),y=t({},u,{strict:!1});return!(void 0===p&&!E(o,l)||!internalDeepEqual(a,p,y,c))&&(!E(r,l)&&internalDeepEqual(a,p,y,c))}function setMightHaveLoosePrim(t,r,o){var i=findLooseMatchingPrimitives(o);return null!=i?i:_(r,i)&&!_(t,i)}function mapHasEqualEntry(t,r,o,i,u,c){for(var l,p,y=a(t);(l=y.next())&&!l.done;)if(internalDeepEqual(o,p=l.value,u,c)&&internalDeepEqual(i,I(r,p),u,c))return N(t,p),!0;return!1}function internalDeepEqual(r,i,u,N){var B=u||{};if(B.strict?c(r,i):r===i)return!0;if(h(r)!==h(i))return!1;if(!r||!i||"object"!=typeof r&&"object"!=typeof i)return B.strict?c(r,i):r==i;var M,D=N.has(r),$=N.has(i);if(D&&$){if(N.get(r)===N.get(i))return!0}else M={};return D||N.set(r,M),$||N.set(i,M),function objEquiv(r,i,u,c){var h,N;if(typeof r!=typeof i)return!1;if(null==r||null==i)return!1;if(j(r)!==j(i))return!1;if(l(r)!==l(i))return!1;var B=p(r),M=p(i);if(B!==M)return!1;var D=r instanceof Error,$=i instanceof Error;if(D!==$)return!1;if((D||$)&&(r.name!==i.name||r.message!==i.message))return!1;var k=g(r),U=g(i);if(k!==U)return!1;if((k||U)&&(r.source!==i.source||o(r)!==o(i)))return!1;var C=d(r),G=d(i);if(C!==G)return!1;if((C||G)&&A(r)!==A(i))return!1;if(u.strict&&w&&w(r)!==w(i))return!1;var W=S(r),z=S(i);if(W!==z)return!1;if(W||z){if(r.length!==i.length)return!1;for(h=0;h<r.length;h++)if(r[h]!==i[h])return!1;return!0}var V=isBuffer(r),J=isBuffer(i);if(V!==J)return!1;if(V||J){if(r.length!==i.length)return!1;for(h=0;h<r.length;h++)if(r[h]!==i[h])return!1;return!0}var L=y(r),H=y(i);if(L!==H)return!1;if(L||H)return O(r)===O(i)&&("function"==typeof Uint8Array&&internalDeepEqual(new Uint8Array(r),new Uint8Array(i),u,c));var K=b(r),Q=b(i);if(K!==Q)return!1;if(K||Q)return P(r)===P(i)&&("function"==typeof Uint8Array&&internalDeepEqual(new Uint8Array(r),new Uint8Array(i),u,c));if(typeof r!=typeof i)return!1;var X=m(r),Y=m(i);if(X.length!==Y.length)return!1;for(X.sort(),Y.sort(),h=X.length-1;h>=0;h--)if(X[h]!=Y[h])return!1;for(h=X.length-1;h>=0;h--)if(!internalDeepEqual(r[N=X[h]],i[N],u,c))return!1;var Z=v(r),ee=v(i);if(Z!==ee)return!1;if("Set"===Z||"Set"===ee)return function setEquiv(t,r,o,i){if(R(t)!==R(r))return!1;var u,c,l,p=a(t),y=a(r);for(;(u=p.next())&&!u.done;)if(u.value&&"object"==typeof u.value)l||(l=new q),x(l,u.value);else if(!_(r,u.value)){if(o.strict)return!1;if(!setMightHaveLoosePrim(t,r,u.value))return!1;l||(l=new q),x(l,u.value)}if(l){for(;(c=y.next())&&!c.done;)if(c.value&&"object"==typeof c.value){if(!setHasEqualElement(l,c.value,o.strict,i))return!1}else if(!o.strict&&!_(t,c.value)&&!setHasEqualElement(l,c.value,o.strict,i))return!1;return 0===R(l)}return!0}(r,i,u,c);if("Map"===Z)return function mapEquiv(r,o,i,u){if(T(r)!==T(o))return!1;var c,l,p,y,d,g,b=a(r),m=a(o);for(;(c=b.next())&&!c.done;)if(y=c.value[0],d=c.value[1],y&&"object"==typeof y)p||(p=new q),x(p,y);else if(void 0===(g=I(o,y))&&!E(o,y)||!internalDeepEqual(d,g,i,u)){if(i.strict)return!1;if(!mapMightHaveLoosePrim(r,o,y,d,i,u))return!1;p||(p=new q),x(p,y)}if(p){for(;(l=m.next())&&!l.done;)if(y=l.value[0],g=l.value[1],y&&"object"==typeof y){if(!mapHasEqualEntry(p,r,y,g,i,u))return!1}else if(!(i.strict||r.has(y)&&internalDeepEqual(I(r,y),g,i,u)||mapHasEqualEntry(p,r,y,g,t({},i,{strict:!1}),u)))return!1;return 0===R(p)}return!0}(r,i,u,c);return!0}(r,i,B,N)}function isBuffer(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&("function"==typeof t.copy&&"function"==typeof t.slice&&(!(t.length>0&&"number"!=typeof t[0])&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))))}return Ri=function deepEqual(t,r,o){return internalDeepEqual(t,r,o,u())}}(),$i=getDefaultExportFromCjs(Di);function normalizeFieldImpl(t,r,o,i){var c,l;if(null!=i||(i={}),null!==(l=(c=i).path)&&void 0!==l||(c.path=""),!Object.prototype.hasOwnProperty.call(r,o))return!1;var p=Object.getPrototypeOf(t);if(hasOwnPrototypeFunction(p,"normalizeField")&&p.prototype.normalizeField.call(r,o,i))return!0;var y=getFieldMetadata(ct(t),o,it);if(void 0===y)return!1;var d=r[o];return function normalizeNullishField(t,r,o,i){return null==i}(0,0,0,d)||function normalizeArrayField(t,r,o,i,u,c){if(Array.isArray(i)||a.isTypedArray(i)){var l="".concat(u.path,".").concat(o),p={type:getFieldElementType(t,o,l,u),path:l,types:u.types,elementTypes:u.elementTypes};return r[o]=i.map((function(t){return null==t?t:c(t,p)})),!0}return!1}(t,r,o,d,i,y)||function normalizeSetField(t,r,o,i,a,u){if(i instanceof Set){var c="".concat(a.path,".").concat(o),l={type:getFieldElementType(t,o,c,a),path:c,types:a.types,elementTypes:a.elementTypes};return r[o]=new Set(Array.from(i,(function(t){return u(t,l)}))),!0}return!1}(t,r,o,d,i,y)||function normalizeMapField(t,r,o,i,a,c){if(i instanceof Map){var l="".concat(a.path,".").concat(o),p={type:getFieldElementType(t,o,l,a),path:l,types:a.types,elementTypes:a.elementTypes};return r[o]=new Map(Array.from(i,(function(t){var r=u(t,2),o=r[0],i=r[1];return[o,c(i,p)]}))),!0}return!1}(t,r,o,d,i,y)||function normalizeNormalField(t,r,o,i,a,u){var c="".concat(a.path,".").concat(o),l={type:getFieldType(t,o,c,a),path:c,types:a.types,elementTypes:a.elementTypes};return r[o]=u(i,l),!0}(t,r,o,d,i,y)}function ownKeys$2(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function _objectSpread$2(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys$2(Object(i),!0).forEach((function(o){r(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys$2(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}function toJsonImpl(t,r,i){var a=st.merge("toJSON",i);a.normalize&&(t=defaultNormalizer(t=o(t,dt)));var u=_objectSpread$2(_objectSpread$2({},dt),{},{pojo:!0,disableHooks:!0,useToJSON:!0,convertNaming:a.convertNaming,sourceNamingStyle:a.sourceNamingStyle,targetNamingStyle:a.targetNamingStyle,removeEmptyFields:a.removeEmptyFields,skipRootToJSON:a.skipRootToJSON});return o(t,u)}function toJsonStringImpl(t,r,o){var i=st.merge("toJSON",o),a=r.toJSON("",i);return d.stringify(a,null,i.space)}function getFieldLabel(t,r){var o=getFieldMetadata(t,r,ot);return o?o.label:r}function getInstanceName(t,r){var o=t[Ye];return o?r[o]:void 0}function isFieldNonEmpty(t,r){return!0===getFieldMetadata(t,r,nt)}function isFieldNullable(t,r){return!0===getFieldMetadata(t,r,rt)}function getElementValidationContext(t,r,o,i,a){var u,c,l,p,y,d={instance:o,owner:null!==(u=a.owner)&&void 0!==u?u:getInstanceName(r,o),field:i,type:null!==(c=a.type)&&void 0!==c?c:getFieldElementType(t,i),label:null!==(l=a.label)&&void 0!==l?l:getFieldLabel(r,i),nullable:null!==(p=a.nullable)&&void 0!==p?p:isFieldNullable(r,i),nonEmpty:null!==(y=a.nonEmpty)&&void 0!==y?y:isFieldNonEmpty(r,i)};return Object.assign(d,a)}function validateEmptyField(t,r,o,a,u){if(i.isEmpty(a)){if(u.nonEmpty||isFieldNonEmpty(t,o)){var c,l,p=null!==(c=u.label)&&void 0!==c?c:getFieldLabel(t,o),y=null!==(l=u.owner)&&void 0!==l?l:getInstanceName(t,r),d=y?"The ".concat(p," of ").concat(y," cannot be empty."):"The ".concat(p," cannot be empty.");return new b.ValidationResult(!1,d)}return new b.ValidationResult(!0)}return null}function validateNormalField(t,r,o,i,a,u,c){var l=function getValidationContext(t,r,o,i,a){var u,c,l,p,y,d={instance:o,owner:null!==(u=a.owner)&&void 0!==u?u:getInstanceName(r,o),field:i,type:null!==(c=a.type)&&void 0!==c?c:getFieldType(t,i),label:null!==(l=a.label)&&void 0!==l?l:getFieldLabel(r,i),nullable:null!==(p=a.nullable)&&void 0!==p?p:isFieldNullable(r,i),nonEmpty:null!==(y=a.nonEmpty)&&void 0!==y?y:isFieldNonEmpty(r,i)};return Object.assign(d,a)}(t,r,o,i,c);return u(a,l)}function validateFieldImpl(t,r,o,i){var u,c,l;if(!Object.prototype.hasOwnProperty.call(r,o))return null;var p=Object.getPrototypeOf(t);if(hasOwnPrototypeFunction(p,"validateField")){var y=p.prototype.validateField.call(r,o,i);if(null!==y)return y}var d=ct(t),g=getFieldMetadata(d,o,at);if(void 0===g)return new b.ValidationResult(!0);var m=r[o];return null!==(u=null!==(c=null!==(l=function validateArrayField(t,r,o,i,u,c,l){if(Array.isArray(u)||a.isTypedArray(u)){var p=validateEmptyField(r,o,i,u,l);if(p)return p;var y=getElementValidationContext(t,r,o,i,l),d=u.map((function(t,r){return y.index=r,c(t,y)}));return b.ValidationResult.merge(d)}return null}(t,d,r,o,m,g,i))&&void 0!==l?l:function validateSetField(t,r,o,i,a,u,c){if(a instanceof Set){var l=validateEmptyField(r,o,i,a,c);if(l)return l;var p=getElementValidationContext(t,r,o,i,c),y=Array.from(a,(function(t,r){return p.index=r,u(t,p)}));return b.ValidationResult.merge(y)}return null}(t,d,r,o,m,g,i))&&void 0!==c?c:function validateMapField(t,r,o,i,a,u,c){if(a instanceof Map){var l=validateEmptyField(r,o,i,a,c);if(l)return l;var p=getElementValidationContext(t,r,o,i,c),y=Array.from(a,(function(t,r){return p.index=r,u(t[1],p)}));return b.ValidationResult.merge(y)}return null}(t,d,r,o,m,g,i))&&void 0!==u?u:validateNormalField(t,d,r,o,m,g,i)}function ownKeys$1(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function _objectSpread$1(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys$1(Object(i),!0).forEach((function(o){r(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys$1(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}function isDecoratorContext(r){return null!==r&&"object"===t(r)&&null!==r.metadata&&"object"===t(r.metadata)&&"string"==typeof r.kind&&"string"==typeof r.name}function setNormalizer(r,o,i){var a=o.metadata,u=o.kind,c=o.name;if("field"!==u)throw new SyntaxError("The @Normalizable must decorate a class field: ".concat(c));if("function"!=typeof i)throw new TypeError('The argument of @Normalizable decorated on the "'.concat(c,'" field must be a function, but it is a ').concat(t(i),"."));setFieldMetadata(a,c,it,i)}function ownKeys(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,i)}return o}function _objectSpread(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys(Object(i),!0).forEach((function(o){r(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))}))}return t}function defaultValidator(r,o){var a=o.owner,u=o.type,c=o.label,l=o.nullable,p=o.nonEmpty;if(null==r){if(l)return new b.ValidationResult(!0);var y=a?"必须设置".concat(a,"的").concat(c,"的值"):"必须设置".concat(c,"的值");return new b.ValidationResult(!1,y)}if(i.isEmpty(r)&&p){var d=a?"".concat(a,"的").concat(c,"不能为空"):"".concat(c,"不能为空");return new b.ValidationResult(!1,d)}if(u){if(isEnumClass(u)&&"string"==typeof r){if(u.hasValue(r))return new b.ValidationResult(!0);var g=a?"".concat(a,"的").concat(c,"的值不受支持: ").concat(r):"".concat(c,"的值不受支持: ").concat(r);return new b.ValidationResult(!1,g)}if(r.constructor!==u){var m=a?"".concat(a,"的").concat(c,"必须是 ").concat(u.name," 类型"):"".concat(c,"必须是 ").concat(u.name," 类型");return new b.ValidationResult(!1,m)}}return"object"===t(r)&&"function"==typeof r.validate?r.validate("*",{owner:a}):new b.ValidationResult(!0)}function setValidator(r,o,i){var a=o.metadata,u=o.kind,c=o.name;if("field"!==u)throw new SyntaxError("The @Validatable must decorate a class field: ".concat(c));if("function"!=typeof i)throw new TypeError('The argument of @Validatable decorated on the "'.concat(c,'" field must be a function, but it is a ').concat(t(i),"."));setFieldMetadata(a,c,at,i)}exports.DefaultOptions=st,exports.ElementType=function ElementType(t){return function decorate(r,o){var i=o.kind,a=o.name,u=o.metadata;if("field"!==i)throw new SyntaxError("The decorator @ElementType can only decorate a class field: ".concat(a));if("function"!=typeof t)throw new TypeError('The argument of @ElementType decorated on "'.concat(a,'" must be the constructor of a class.'));return setFieldMetadata(u,a,tt,t),function(t){if(null!=t&&!Array.isArray(t))throw new TypeError('The field "'.concat(a,'" decorated by @ElementType must be initialized with an array.'));return t}}},exports.Enum=function Enum(r,o){if(null===o||"object"!==t(o))throw new TypeError("The context must be an object.");if("function"!=typeof r||"class"!==o.kind)throw new TypeError("The `@Enum` can only decorate a class.");lt(r,o.metadata),setClassMetadata(r,Ke,"enum"),o.addInitializer((function(){Object.keys(r).forEach((function(o){"function"!=typeof r[o]&&function defineEnumerator(r,o){var i=r[o],a=new r;if(a.value=o,null==i)a.name=o;else if("string"==typeof i)a.name=i;else{if("object"!==t(i))throw new TypeError("The default value of the enumerator "+"".concat(r.name,".").concat(o," should be either a string or an object."));Object.assign(a,i)}Object.freeze(a),r[o]=a}(r,o)})),Object.freeze(r)})),r.prototype.toString=function toString(){return this.value},r.prototype.toJSON=function toJSON(){return this.value},r.values=function values(){return function valuesImpl(t){return Object.keys(t).filter((function(r){return t[r]instanceof t})).map((function(r){return t[r]}))}(r)},r.ofValue=function ofValue(t){return ofValueImpl(r,t)},r.hasValue=function hasValue(t){return void 0!==ofValueImpl(r,t)},r.ofName=function ofName(t){return ofNameImpl(r,t)},r.hasName=function hasName(t){return void 0!==ofNameImpl(r,t)},r.ofCode=function ofCode(t){return ofCodeImpl(r,t)},r.hasCode=function hasCode(t){return void 0!==ofCodeImpl(r,t)},r.of=function of(t){return ofImpl(r,t)},r.has=function has(t){return void 0!==ofImpl(r,t)}},exports.Label=function Label(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function decorate(o,i){var a=i.kind,u=i.name,c=i.metadata;if("field"!==a)throw new SyntaxError("The decorator @Label can only decorate a class field: ".concat(u));if("string"!=typeof t)throw new TypeError('The first argument of @Label decorated on "'.concat(u,'" must be a string.'));if(void 0!==r&&"string"!=typeof r)throw new TypeError('The second argument of @Label decorated on "'.concat(u,'" must be a string.'));setFieldMetadata(c,u,ot,{label:t,i18n:r})}},exports.Model=function Model(r,o){if(null===o||"object"!==t(o))throw new TypeError("The context must be an object.");if("function"!=typeof r||"class"!==o.kind)throw new TypeError("The `@Model` can only decorate a class.");lt(r,o.metadata),setClassMetadata(r,Ke,"model"),hasOwnPrototypeFunction(r,"assign")||(r.prototype.assign=function assign(t){return assignImpl(r,this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}),hasOwnPrototypeFunction(r,"clear")||(r.prototype.clear=function clear(){return function clearImpl(t,r){requirePrototypeMethod(t,"assign");var o=getDefaultInstance(t);return r.assign(o,{normalize:!1,convertNaming:!1})}(r,this)}),hasOwnPrototypeFunction(r,"clone")||(r.prototype.clone=function clone(){return function cloneImpl(t,r){return requirePrototypeMethod(t,"assign"),(new t).assign(r,{normalize:!1,convertNaming:!1})}(r,this)}),hasOwnPrototypeFunction(r,"isEmpty")||(r.prototype.isEmpty=function isEmpty(){return function isEmptyImpl(t,r){var o=getDefaultInstance(t);return $i(r,o)}(r,this)}),hasOwnPrototypeFunction(r,"equals")||(r.prototype.equals=function equals(t){return function equalsImpl(t,r){return t===r||(null==r?null==t:null!=t&&Object.getPrototypeOf(t)===Object.getPrototypeOf(r)&&$i(t,r))}(this,t)}),hasOwnPrototypeFunction(r,"normalize")||(r.prototype.normalize=function normalize(){return function normalizeImpl(t,r,o,i){if(null==o||"*"===o)Object.keys(r).forEach((function(t){return r.normalizeField(t,i)}));else if(Array.isArray(o))o.forEach((function(t){return r.normalizeField(t,i)}));else{if("string"!=typeof o)throw new TypeError("The argument ".concat(t.name,".normalize() must be a string or an array of strings."));r.normalizeField(o,i)}return r}(r,this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*",arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}),hasOwnPrototypeFunction(r,"normalizeField")||(r.prototype.normalizeField=function normalizeField(t){return normalizeFieldImpl(r,this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}),hasOwnPrototypeFunction(r,"validate")||(r.prototype.validate=function validate(){return function validateImpl(t,r,o,i){if(null==o||"*"===o){var a=Object.keys(r).map((function(t){return r.validateField(t,i)}));return b.ValidationResult.merge(a)}if(Array.isArray(o)){var u=o.map((function(t){return r.validateField(t,i)}));return b.ValidationResult.merge(u)}if("string"==typeof o){var c=r.validateField(o,i);return null!=c?c:new b.ValidationResult(!0)}throw new TypeError("The argument of ".concat(t.name,".validate()")+" must be a string or an array of strings.")}(r,this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*",arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}),hasOwnPrototypeFunction(r,"validateField")||(r.prototype.validateField=function validateField(t){return validateFieldImpl(r,this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}),hasOwnProperty(r,"id")&&!hasPrototypeFunction(r,"generateId")&&(setClassMetadata(r,Xe,0),r.prototype.generateId=function generateId(){return function generateIdImpl(t,r){var o=getClassMetadata(t,Xe);return r.id=o,setClassMetadata(t,Xe,o+1),r.id}(r,this)}),hasOwnPrototypeFunction(r,"toJSON")||(r.prototype.toJSON=function toJSON(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"object"===t(r)&&(o=r,r=""),toJsonImpl(this,0,_objectSpread$1(_objectSpread$1({},o),{},{skipRootToJSON:!0}))}),hasOwnPrototypeFunction(r,"toJsonString")||(r.prototype.toJsonString=function toJsonString(){return toJsonStringImpl(0,this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}),Object.prototype.hasOwnProperty.call(r,"create")||(r.create=function create(t){return createImpl(r,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}),Object.prototype.hasOwnProperty.call(r,"createArray")||(r.createArray=function createArray(t){return createArrayImpl(r,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}),Object.prototype.hasOwnProperty.call(r,"createPage")||(r.createPage=function createPage(t){return createPageImpl(r,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)}),Object.prototype.hasOwnProperty.call(r,"isNullishOrEmpty")||(r.isNullishOrEmpty=function isNullishOrEmpty(t){return function isNullishOrEmptyImpl(t,r){if(requirePrototypeMethod(t,"isEmpty"),null==r)return!0;if(!(r instanceof t))throw new TypeError("The object must be an instance of the class ".concat(t.name,"."));return r.isEmpty()}(r,t)}),Object.prototype.hasOwnProperty.call(r,"parseJsonString")||(r.parseJsonString=function parseJsonString(t){return function parseJsonStringImpl(t,r,o){var i=d.parse(r),a=new t;return assignImpl(t,a,i,o)}(r,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0)})},exports.NameField=function NameField(t,r){var o=r.kind,i=r.name,a=r.metadata;if("field"!==o)throw new SyntaxError("The decorator @NameField can only decorate a class field: ".concat(i));var u=a[Ye];if(u)throw new SyntaxError('@NameField cannot decorate on "'.concat(i,'", since it has already decorated on "').concat(u,'".'));a[Ye]=i},exports.NonEmpty=function NonEmpty(t,r){var o=r.kind,i=r.name,a=r.metadata;if("field"!==o)throw new SyntaxError("The decorator @NonEmpty can only decorate a class field: ".concat(i));setFieldMetadata(a,i,nt,!0)},exports.Normalizable=function Normalizable(){if(1===arguments.length){var t,r=null!==(t=arguments.length<=0?void 0:arguments[0])&&void 0!==t?t:defaultNormalizer;return function(t,o){return setNormalizer(0,o,r)}}if(2!==arguments.length||!isDecoratorContext(arguments.length<=1?void 0:arguments[1]))throw new SyntaxError("Invalid use of @Normalizable decorator.");setNormalizer(0,arguments.length<=1?void 0:arguments[1],defaultNormalizer)},exports.Nullable=function Nullable(t,r){var o=r.kind,i=r.name,a=r.metadata;if("field"!==o)throw new SyntaxError("The decorator @Nullable can only decorate a class field: ".concat(i));setFieldMetadata(a,i,rt,!0)},exports.Page=ar,exports.Readonly=function Readonly(t,r){if("field"!==r.kind)throw new Error("@Readonly can only be applied to class fields.");var o;return r.addInitializer((function initializer(){void 0!==o?function createImmediateReadonlyInitializer(t,r){return function immediateReadonlyInitializer(){Object.defineProperty(this,t,{value:r,writable:!1,configurable:!1,enumerable:!0})}}(r.name,o).call(this):function createDeferredReadonlyInitializer(t){return function deferredReadonlyInitializer(){var r;Object.defineProperty(this,t,{configurable:!0,enumerable:!0,get:function get(){return r},set:function set(o){r=o,Object.defineProperty(this,t,{value:o,writable:!1,configurable:!1,enumerable:!0})}})}}(r.name).call(this)})),function initializer(t){return o=t,t}},exports.Type=function Type(t){return function decorate(r,o){var i=o.kind,a=o.name,u=o.metadata;if("field"!==i)throw new SyntaxError("The decorator @Type can only decorate a class field: ".concat(a));if("function"!=typeof t)throw new TypeError('The argument of @Type decorated on "'.concat(a,'" must be the constructor of a class.'));setFieldMetadata(u,a,et,t)}},exports.Validatable=function Validatable(){if(1===arguments.length){var t,r=null!==(t=arguments.length<=0?void 0:arguments[0])&&void 0!==t?t:defaultValidator;return function(t,o){return setValidator(0,o,r)}}if(2!==arguments.length||!isDecoratorContext(arguments.length<=1?void 0:arguments[1]))throw new SyntaxError("Invalid use of @Validatable decorator.");setValidator(0,arguments.length<=1?void 0:arguments[1],defaultValidator)},exports.assign=function assign(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if("object"!==t(r))throw new TypeError("The target object must be an object.");return assignImpl(r.constructor,r,o,i)},exports.create=function create(t,r){return createImpl(t,r,arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0)},exports.createArray=function createArray(t,r){return createArrayImpl(t,r,arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0)},exports.createPage=function createPage(t,r){return createPageImpl(t,r,arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0)},exports.defaultNormalizer=defaultNormalizer,exports.enumNormalizer=enumNormalizer,exports.getDefaultInstance=getDefaultInstance,exports.getFieldElementType=getFieldElementType,exports.getFieldType=getFieldType,exports.getSourceField=getSourceField,exports.hasOwnProperty=hasOwnProperty,exports.hasOwnPrototypeFunction=hasOwnPrototypeFunction,exports.hasProperty=function hasProperty(t,r){if(!t||!t.prototype)return!1;if(Reflect.has(t.prototype,r))return!0;var o=getDefaultInstance(t);return o&&Reflect.has(o,r)},exports.hasPrototypeFunction=hasPrototypeFunction,exports.isEnumClass=isEnumClass,exports.isEnumerator=isEnumerator,exports.normalize=function normalize(t){return defaultNormalizer(t)},exports.stringifyId=function stringifyId(t){return null==t?"":a.isString(t)?t:d.stringify(t)},exports.toJSON=function toJSON(t){return toJsonImpl(t,0,_objectSpread(_objectSpread({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),{},{skipRootToJSON:!1}))},exports.toJsonString=function toJsonString(r,o){if("object"!==t(r))throw new TypeError("The object to be serialized must be an object.");return r.constructor,toJsonStringImpl(0,r,o)};//# sourceMappingURL=common-decorator.min.cjs.map
|