@koumoul/vjsf 2.4.0 → 2.6.0
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/dist/main.js +1 -1
- package/dist/third-party.js +16 -4
- package/lib/VJsfNoDeps.js +53 -22
- package/lib/deps/third-party.js +2 -0
- package/lib/mixins/EditableArray.js +2 -0
- package/lib/mixins/ObjectContainer.js +5 -1
- package/lib/mixins/SelectProperty.js +5 -4
- package/lib/mixins/SimpleProperty.js +33 -2
- package/lib/mixins/Validatable.js +13 -5
- package/lib/utils/options.js +3 -1
- package/lib/utils/rules.js +15 -1
- package/lib/utils/schema.js +7 -0
- package/package.json +5 -3
package/dist/third-party.js
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
|
-
!function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=27)}([function(e,t,r){"use strict";var a=Object.prototype.hasOwnProperty;function n(e,t){return a.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function i(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=r(9);var h=/[&<>"]/,p=/[&<>"]/g,f={"&":"&","<":"<",">":">",'"':"""};function d(e){return f[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var v=r(2);t.lib={},t.lib.mdurl=r(10),t.lib.ucmicro=r(36),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=n,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,r){return t||function(e,t){var r=0;return n(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?i(r):e}(e,r)}))},t.isValidEntityCode=o,t.fromCodePoint=i,t.escapeHtml=function(e){return h.test(e)?e.replace(p,d):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return v.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t,r){"use strict";function a(e,t,r){var a=r?" !== ":" === ",n=r?" || ":" && ",o=r?"!":"",i=r?"":"!";switch(e){case"null":return t+a+"null";case"array":return o+"Array.isArray("+t+")";case"object":return"("+o+t+n+"typeof "+t+a+'"object"'+n+i+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+a+'"number"'+n+i+"("+t+" % 1)"+n+t+a+t+")";default:return"typeof "+t+a+'"'+e+'"'}}e.exports={copy:function(e,t){for(var r in t=t||{},e)t[r]=e[r];return t},checkDataType:a,checkDataTypes:function(e,t){switch(e.length){case 1:return a(e[0],t,!0);default:var r="",n=o(e);for(var i in n.array&&n.object&&(r=n.null?"(":"(!"+t+" || ",r+="typeof "+t+' !== "object")',delete n.null,delete n.array,delete n.object),n.number&&delete n.integer,n)r+=(r?" && ":"")+a(i,t,!0);return r}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var r=[],a=0;a<t.length;a++){var o=t[a];n[o]?r[r.length]=o:"array"===e&&"array"===o&&(r[r.length]=o)}if(r.length)return r}else{if(n[t])return[t];if("array"===e&&"array"===t)return["array"]}},toHash:o,getProperty:l,escapeQuotes:c,equal:r(6),ucs2length:r(88),varOccurences:function(e,t){t+="[^0-9]";var r=e.match(new RegExp(t,"g"));return r?r.length:0},varReplace:function(e,t,r){return t+="([^0-9])",r=r.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),r+"$1")},cleanUpCode:function(e){return e.replace(u,"").replace(h,"").replace(p,"if (!($1))")},finalCleanUpCode:function(e,t){var r=e.match(f);r&&2==r.length&&(e=t?e.replace(m,"").replace(y,b):e.replace(d,"").replace(v,g));return(r=e.match(_))&&3===r.length?e.replace(E,""):e},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var r in e)if(t[r])return!0},schemaHasRulesExcept:function(e,t,r){if("boolean"==typeof e)return!e&&"not"!=r;for(var a in e)if(a!=r&&t[a])return!0},schemaUnknownRules:function(e,t){if("boolean"==typeof e)return;for(var r in e)if(!t[r])return r},toQuotedString:w,getPathExpr:function(e,t,r,a){return P(e,r?"'/' + "+t+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,r){var a=w(r?"/"+S(t):l(t));return P(e,a)},getData:function(e,t,r){var a,n,o,i;if(""===e)return"rootData";if("/"==e[0]){if(!x.test(e))throw new Error("Invalid JSON-pointer: "+e);n=e,o="rootData"}else{if(!(i=e.match(k)))throw new Error("Invalid JSON-pointer: "+e);if(a=+i[1],"#"==(n=i[2])){if(a>=t)throw new Error("Cannot access property/index "+a+" levels up, current level is "+t);return r[t-a]}if(a>t)throw new Error("Cannot access data "+a+" levels up, current level is "+t);if(o="data"+(t-a||""),!n)return o}for(var s=o,c=n.split("/"),u=0;u<c.length;u++){var h=c[u];h&&(o+=l(C(h)),s+=" && "+o)}return s},unescapeFragment:function(e){return C(decodeURIComponent(e))},unescapeJsonPointer:C,escapeFragment:function(e){return encodeURIComponent(S(e))},escapeJsonPointer:S};var n=o(["string","number","integer","boolean","null"]);function o(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=!0;return t}var i=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function l(e){return"number"==typeof e?"["+e+"]":i.test(e)?"."+e:"['"+c(e)+"']"}function c(e){return e.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}var u=/else\s*{\s*}/g,h=/if\s*\([^)]+\)\s*\{\s*\}(?!\s*else)/g,p=/if\s*\(([^)]+)\)\s*\{\s*\}\s*else(?!\s*if)/g;var f=/[^v.]errors/g,d=/var errors = 0;|var vErrors = null;|validate.errors = vErrors;/g,m=/var errors = 0;|var vErrors = null;/g,v="return errors === 0;",g="validate.errors = null; return true;",y=/if \(errors === 0\) return data;\s*else throw new ValidationError\(vErrors\);/,b="return data;",_=/[^A-Za-z_$]rootData[^A-Za-z0-9_$]/g,E=/if \(rootData === undefined\) rootData = data;/;function w(e){return"'"+c(e)+"'"}var x=/^\/(?:[^~]|~0|~1)*$/,k=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function P(e,t){return'""'==e?t:(e+" + "+t).replace(/' \+ '/g,"")}function S(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function C(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,r){"use strict";function a(){this.__rules__=[],this.__cache__=null}a.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},a.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))}))}))},a.prototype.at=function(e,t,r){var a=this.__find__(e),n=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__[a].fn=t,this.__rules__[a].alt=n.alt||[],this.__cache__=null},a.prototype.before=function(e,t,r,a){var n=this.__find__(e),o=a||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__.splice(n,0,{name:t,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},a.prototype.after=function(e,t,r,a){var n=this.__find__(e),o=a||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__.splice(n+1,0,{name:t,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},a.prototype.push=function(e,t,r){var a=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:a.alt||[]}),this.__cache__=null},a.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach((function(e){var a=this.__find__(e);if(a<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[a].enabled=!0,r.push(e)}),this),this.__cache__=null,r},a.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},a.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach((function(e){var a=this.__find__(e);if(a<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[a].enabled=!1,r.push(e)}),this),this.__cache__=null,r},a.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=a},function(e,t,r){"use strict";function a(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}a.prototype.attrIndex=function(e){var t,r,a;if(!this.attrs)return-1;for(r=0,a=(t=this.attrs).length;r<a;r++)if(t[r][0]===e)return r;return-1},a.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},a.prototype.attrSet=function(e,t){var r=this.attrIndex(e),a=[e,t];r<0?this.attrPush(a):this.attrs[r]=a},a.prototype.attrGet=function(e){var t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},a.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=a},function(e,t,r){"use strict";var a=r(87),n=r(6),o=r(1),i=r(17),s=r(89);function l(e,t,r){var a=this._refs[r];if("string"==typeof a){if(!this._refs[a])return l.call(this,e,t,a);a=this._refs[a]}if((a=a||this._schemas[r])instanceof i)return d(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var n,o,s,u=c.call(this,t,r);return u&&(n=u.schema,t=u.root,s=u.baseId),n instanceof i?o=n.validate||e.call(this,n.schema,t,void 0,s):void 0!==n&&(o=d(n,this._opts.inlineRefs)?n:e.call(this,n,t,void 0,s)),o}function c(e,t){var r=a.parse(t),n=v(r),o=m(this._getId(e.schema));if(0===Object.keys(e.schema).length||n!==o){var s=y(n),l=this._refs[s];if("string"==typeof l)return u.call(this,e,l,r);if(l instanceof i)l.validate||this._compile(l),e=l;else{if(!((l=this._schemas[s])instanceof i))return;if(l.validate||this._compile(l),s==y(t))return{schema:l,root:e,baseId:o};e=l}if(!e.schema)return;o=m(this._getId(e.schema))}return p.call(this,r,o,e.schema,e)}function u(e,t,r){var a=c.call(this,e,t);if(a){var n=a.schema,o=a.baseId;e=a.root;var i=this._getId(n);return i&&(o=b(o,i)),p.call(this,r,o,n,e)}}e.exports=l,l.normalizeId=y,l.fullPath=m,l.url=b,l.ids=function(e){var t=y(this._getId(e)),r={"":t},i={"":m(t,!1)},l={},c=this;return s(e,{allKeys:!0},(function(e,t,s,u,h,p,f){if(""!==t){var d=c._getId(e),m=r[u],v=i[u]+"/"+h;if(void 0!==f&&(v+="/"+("number"==typeof f?f:o.escapeFragment(f))),"string"==typeof d){d=m=y(m?a.resolve(m,d):d);var g=c._refs[d];if("string"==typeof g&&(g=c._refs[g]),g&&g.schema){if(!n(e,g.schema))throw new Error('id "'+d+'" resolves to more than one schema')}else if(d!=y(v))if("#"==d[0]){if(l[d]&&!n(e,l[d]))throw new Error('id "'+d+'" resolves to more than one schema');l[d]=e}else c._refs[d]=v}r[t]=m,i[t]=v}})),l},l.inlineRef=d,l.schema=c;var h=o.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function p(e,t,r,a){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0,1)){for(var n=e.fragment.split("/"),i=1;i<n.length;i++){var s=n[i];if(s){if(void 0===(r=r[s=o.unescapeFragment(s)]))break;var l;if(!h[s]&&((l=this._getId(r))&&(t=b(t,l)),r.$ref)){var u=b(t,r.$ref),p=c.call(this,a,u);p&&(r=p.schema,a=p.root,t=p.baseId)}}}return void 0!==r&&r!==a.schema?{schema:r,root:a,baseId:t}:void 0}}var f=o.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function d(e,t){return!1!==t&&(void 0===t||!0===t?function e(t){var r;if(Array.isArray(t)){for(var a=0;a<t.length;a++)if("object"==typeof(r=t[a])&&!e(r))return!1}else for(var n in t){if("$ref"==n)return!1;if("object"==typeof(r=t[n])&&!e(r))return!1}return!0}(e):t?function e(t){var r,a=0;if(Array.isArray(t)){for(var n=0;n<t.length;n++)if("object"==typeof(r=t[n])&&(a+=e(r)),a==1/0)return 1/0}else for(var o in t){if("$ref"==o)return 1/0;if(f[o])a++;else if("object"==typeof(r=t[o])&&(a+=e(r)+1),a==1/0)return 1/0}return a}(e)<=t:void 0)}function m(e,t){return!1!==t&&(e=y(e)),v(a.parse(e))}function v(e){return a.serialize(e).split("#")[0]+"#"}var g=/#\/?$/;function y(e){return e?e.replace(g,""):""}function b(e,t){return t=y(t),a.resolve(e,t)}},function(e,t,r){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var a,n,o;if(Array.isArray(t)){if((a=t.length)!=r.length)return!1;for(n=a;0!=n--;)if(!e(t[n],r[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((a=(o=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(n=a;0!=n--;)if(!Object.prototype.hasOwnProperty.call(r,o[n]))return!1;for(n=a;0!=n--;){var i=o[n];if(!e(t[i],r[i]))return!1}return!0}return t!=t&&r!=r}},function(e,t,r){"use strict";var a=r(5);function n(e,t,r){this.message=r||n.message(e,t),this.missingRef=a.url(e,t),this.missingSchema=a.normalizeId(a.fullPath(this.missingRef))}function o(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}e.exports={Validation:o((function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0})),MissingRef:o(n)},n.message=function(e,t){return"can't resolve reference "+t+" from id "+e}},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";e.exports=r(31)},function(e,t,r){"use strict";e.exports.encode=r(32),e.exports.decode=r(33),e.exports.format=r(34),e.exports.parse=r(35)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,r){"use strict";var a="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+a+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),i=new RegExp("^(?:"+a+"|"+n+")");e.exports.HTML_TAG_RE=o,e.exports.HTML_OPEN_CLOSE_TAG_RE=i},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,a,n,o,i=e.pos,s=e.src.charCodeAt(i);if(t)return!1;if(126!==s)return!1;if(n=(a=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),n<2)return!1;for(n%2&&(e.push("text","",0).content=o,n--),r=0;r<n;r+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:a.can_open,close:a.can_close});return e.pos+=a.length,!0},e.exports.postProcess=function(e){var t,r,a,n,o,i=[],s=e.delimiters,l=e.delimiters.length;for(t=0;t<l;t++)126===(a=s[t]).marker&&-1!==a.end&&(n=s[a.end],(o=e.tokens[a.token]).type="s_open",o.tag="s",o.nesting=1,o.markup="~~",o.content="",(o=e.tokens[n.token]).type="s_close",o.tag="s",o.nesting=-1,o.markup="~~",o.content="","text"===e.tokens[n.token-1].type&&"~"===e.tokens[n.token-1].content&&i.push(n.token-1));for(;i.length;){for(r=(t=i.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;t!==--r&&(o=e.tokens[r],e.tokens[r]=e.tokens[t],e.tokens[t]=o)}}},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,a,n=e.pos,o=e.src.charCodeAt(n);if(t)return!1;if(95!==o&&42!==o)return!1;for(a=e.scanDelims(e.pos,42===o),r=0;r<a.length;r++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:a.length,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:a.can_open,close:a.can_close});return e.pos+=a.length,!0},e.exports.postProcess=function(e){var t,r,a,n,o,i,s=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(r=s[t]).marker&&42!==r.marker||-1!==r.end&&(a=s[r.end],i=t>0&&s[t-1].end===r.end+1&&s[t-1].token===r.token-1&&s[r.end+1].token===a.token+1&&s[t-1].marker===r.marker,o=String.fromCharCode(r.marker),(n=e.tokens[r.token]).type=i?"strong_open":"em_open",n.tag=i?"strong":"em",n.nesting=1,n.markup=i?o+o:o,n.content="",(n=e.tokens[a.token]).type=i?"strong_close":"em_close",n.tag=i?"strong":"em",n.nesting=-1,n.markup=i?o+o:o,n.content="",i&&(e.tokens[s[t-1].token].content="",e.tokens[s[r.end+1].token].content="",t--))}},function(e,t,r){"use strict";var a=r(1);e.exports=function(e){a.copy(e,this)}},function(e,t,r){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,a="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(r=t.cmp,function(e){return function(t,a){var n={key:t,value:e[t]},o={key:a,value:e[a]};return r(n,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,i;if(Array.isArray(t)){for(i="[",r=0;r<t.length;r++)r&&(i+=","),i+=e(t[r])||"null";return i+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(a)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=o.push(t)-1,l=Object.keys(t).sort(n&&n(t));for(i="",r=0;r<l.length;r++){var c=l[r],u=e(t[c]);u&&(i&&(i+=","),i+=JSON.stringify(c)+":"+u)}return o.splice(s,1),"{"+i+"}"}}(e)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a="",n=!0===e.schema.$async,o=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),i=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var l="unknown keyword: "+s;if("log"!==e.opts.strictKeywords)throw new Error(l);e.logger.warn(l)}}if(e.isTop&&(a+=" var validate = ",n&&(e.async=!0,a+="async "),a+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",i&&(e.opts.sourceCode||e.opts.processCode)&&(a+=" /*# sourceURL="+i+" */ ")),"boolean"==typeof e.schema||!o&&!e.schema.$ref){var c=e.level,u=e.dataLevel,h=e.schema["false schema"],p=e.schemaPath+e.util.getProperty("false schema"),f=e.errSchemaPath+"/false schema",d=!e.opts.allErrors,m="data"+(u||""),v="valid"+c;if(!1===e.schema){e.isTop?d=!0:a+=" var "+v+" = false; ",(X=X||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'false schema' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'boolean schema is false' "),e.opts.verbose&&(a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),a+=" } "):a+=" {} ";var g=a;a=X.pop(),!e.compositeRule&&d?e.async?a+=" throw new ValidationError(["+g+"]); ":a+=" validate.errors = ["+g+"]; return false; ":a+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?a+=n?" return data; ":" validate.errors = null; return true; ":a+=" var "+v+" = true; ";return e.isTop&&(a+=" }; return validate; "),a}if(e.isTop){var y=e.isTop;c=e.level=0,u=e.dataLevel=0,m="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[void 0],void 0!==e.schema.default&&e.opts.useDefaults&&e.opts.strictDefaults){var b="default is ignored in the schema root";if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}a+=" var vErrors = null; ",a+=" var errors = 0; ",a+=" if (rootData === undefined) rootData = data; "}else{c=e.level,m="data"+((u=e.dataLevel)||"");if(i&&(e.baseId=e.resolve.url(e.baseId,i)),n&&!e.async)throw new Error("async schema in sync schema");a+=" var errs_"+c+" = errors;"}v="valid"+c,d=!e.opts.allErrors;var _="",E="",w=e.schema.type,x=Array.isArray(w);if(w&&e.opts.nullable&&!0===e.schema.nullable&&(x?-1==w.indexOf("null")&&(w=w.concat("null")):"null"!=w&&(w=[w,"null"],x=!0)),x&&1==w.length&&(w=w[0],x=!1),e.schema.$ref&&o){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(o=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(a+=" "+e.RULES.all.$comment.code(e,"$comment")),w){if(e.opts.coerceTypes)var k=e.util.coerceToTypes(e.opts.coerceTypes,w);var P=e.RULES.types[w];if(k||x||!0===P||P&&!J(P)){p=e.schemaPath+".type",f=e.errSchemaPath+"/type",p=e.schemaPath+".type",f=e.errSchemaPath+"/type";var S=x?"checkDataTypes":"checkDataType";if(a+=" if ("+e.util[S](w,m,!0)+") { ",k){var C="dataType"+c,D="coerced"+c;a+=" var "+C+" = typeof "+m+"; ","array"==e.opts.coerceTypes&&(a+=" if ("+C+" == 'object' && Array.isArray("+m+")) "+C+" = 'array'; "),a+=" var "+D+" = undefined; ";var A="",F=k;if(F)for(var O,I=-1,R=F.length-1;I<R;)O=F[I+=1],I&&(a+=" if ("+D+" === undefined) { ",A+="}"),"array"==e.opts.coerceTypes&&"array"!=O&&(a+=" if ("+C+" == 'array' && "+m+".length == 1) { "+D+" = "+m+" = "+m+"[0]; "+C+" = typeof "+m+"; } "),"string"==O?a+=" if ("+C+" == 'number' || "+C+" == 'boolean') "+D+" = '' + "+m+"; else if ("+m+" === null) "+D+" = ''; ":"number"==O||"integer"==O?(a+=" if ("+C+" == 'boolean' || "+m+" === null || ("+C+" == 'string' && "+m+" && "+m+" == +"+m+" ","integer"==O&&(a+=" && !("+m+" % 1)"),a+=")) "+D+" = +"+m+"; "):"boolean"==O?a+=" if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+D+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+D+" = true; ":"null"==O?a+=" if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+D+" = null; ":"array"==e.opts.coerceTypes&&"array"==O&&(a+=" if ("+C+" == 'string' || "+C+" == 'number' || "+C+" == 'boolean' || "+m+" == null) "+D+" = ["+m+"]; ");a+=" "+A+" if ("+D+" === undefined) { ",(X=X||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",a+=x?""+w.join(","):""+w,a+="' } ",!1!==e.opts.messages&&(a+=" , message: 'should be ",a+=x?""+w.join(","):""+w,a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),a+=" } "):a+=" {} ";g=a;a=X.pop(),!e.compositeRule&&d?e.async?a+=" throw new ValidationError(["+g+"]); ":a+=" validate.errors = ["+g+"]; return false; ":a+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { ";var T=u?"data"+(u-1||""):"parentData";a+=" "+m+" = "+D+"; ",u||(a+="if ("+T+" !== undefined)"),a+=" "+T+"["+(u?e.dataPathArr[u]:"parentDataProperty")+"] = "+D+"; } "}else{(X=X||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",a+=x?""+w.join(","):""+w,a+="' } ",!1!==e.opts.messages&&(a+=" , message: 'should be ",a+=x?""+w.join(","):""+w,a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),a+=" } "):a+=" {} ";g=a;a=X.pop(),!e.compositeRule&&d?e.async?a+=" throw new ValidationError(["+g+"]); ":a+=" validate.errors = ["+g+"]; return false; ":a+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}a+=" } "}}if(e.schema.$ref&&!o)a+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",d&&(a+=" } if (errors === ",a+=y?"0":"errs_"+c,a+=") { ",E+="}");else{var j=e.RULES;if(j)for(var L=-1,q=j.length-1;L<q;)if(J(P=j[L+=1])){if(P.type&&(a+=" if ("+e.util.checkDataType(P.type,m)+") { "),e.opts.useDefaults)if("object"==P.type&&e.schema.properties){h=e.schema.properties;var $=Object.keys(h);if($)for(var M,z=-1,N=$.length-1;z<N;){if(void 0!==(B=h[M=$[z+=1]]).default){var U=m+e.util.getProperty(M);if(e.compositeRule){if(e.opts.strictDefaults){b="default is ignored for: "+U;if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else a+=" if ("+U+" === undefined ","empty"==e.opts.useDefaults&&(a+=" || "+U+" === null || "+U+" === '' "),a+=" ) "+U+" = ","shared"==e.opts.useDefaults?a+=" "+e.useDefault(B.default)+" ":a+=" "+JSON.stringify(B.default)+" ",a+="; "}}}else if("array"==P.type&&Array.isArray(e.schema.items)){var V=e.schema.items;if(V){I=-1;for(var B,H=V.length-1;I<H;)if(void 0!==(B=V[I+=1]).default){U=m+"["+I+"]";if(e.compositeRule){if(e.opts.strictDefaults){b="default is ignored for: "+U;if("log"!==e.opts.strictDefaults)throw new Error(b);e.logger.warn(b)}}else a+=" if ("+U+" === undefined ","empty"==e.opts.useDefaults&&(a+=" || "+U+" === null || "+U+" === '' "),a+=" ) "+U+" = ","shared"==e.opts.useDefaults?a+=" "+e.useDefault(B.default)+" ":a+=" "+JSON.stringify(B.default)+" ",a+="; "}}}var Q=P.rules;if(Q)for(var Z,G=-1,K=Q.length-1;G<K;)if(W(Z=Q[G+=1])){var Y=Z.code(e,Z.keyword,P.type);Y&&(a+=" "+Y+" ",d&&(_+="}"))}if(d&&(a+=" "+_+" ",_=""),P.type&&(a+=" } ",w&&w===P.type&&!k)){a+=" else { ";var X;p=e.schemaPath+".type",f=e.errSchemaPath+"/type";(X=X||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'type' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",a+=x?""+w.join(","):""+w,a+="' } ",!1!==e.opts.messages&&(a+=" , message: 'should be ",a+=x?""+w.join(","):""+w,a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),a+=" } "):a+=" {} ";g=a;a=X.pop(),!e.compositeRule&&d?e.async?a+=" throw new ValidationError(["+g+"]); ":a+=" validate.errors = ["+g+"]; return false; ":a+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } "}d&&(a+=" if (errors === ",a+=y?"0":"errs_"+c,a+=") { ",E+="}")}}function J(e){for(var t=e.rules,r=0;r<t.length;r++)if(W(t[r]))return!0}function W(t){return void 0!==e.schema[t.keyword]||t.implements&&function(t){for(var r=t.implements,a=0;a<r.length;a++)if(void 0!==e.schema[r[a]])return!0}(t)}return d&&(a+=" "+E+" "),y?(n?(a+=" if (errors === 0) return data; ",a+=" else throw new ValidationError(vErrors); "):(a+=" validate.errors = vErrors; ",a+=" return errors === 0; "),a+=" }; return validate;"):a+=" var "+v+" = errors === errs_"+c+";",a=e.util.cleanUpCode(a),y&&(a=e.util.finalCleanUpCode(a,n)),a}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n=" ",o=e.level,i=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,h="data"+(i||""),p=e.opts.$data&&s&&s.$data;p?(n+=" var schema"+o+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+o):a=s;var f="maximum"==t,d=f?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[d],v=e.opts.$data&&m&&m.$data,g=f?"<":">",y=f?">":"<",b=void 0;if(v){var _=e.util.getData(m.$data,i,e.dataPathArr),E="exclusive"+o,w="exclType"+o,x="exclIsNumber"+o,k="' + "+(C="op"+o)+" + '";n+=" var schemaExcl"+o+" = "+_+"; ",n+=" var "+E+"; var "+w+" = typeof "+(_="schemaExcl"+o)+"; if ("+w+" != 'boolean' && "+w+" != 'undefined' && "+w+" != 'number') { ";var P;b=d;(P=P||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(b||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: '"+d+" should be boolean' "),e.opts.verbose&&(n+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),n+=" } "):n+=" {} ";var S=n;n=P.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+S+"]); ":n+=" validate.errors = ["+S+"]; return false; ":n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else if ( ",p&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),n+=" "+w+" == 'number' ? ( ("+E+" = "+a+" === undefined || "+_+" "+g+"= "+a+") ? "+h+" "+y+"= "+_+" : "+h+" "+y+" "+a+" ) : ( ("+E+" = "+_+" === true) ? "+h+" "+y+"= "+a+" : "+h+" "+y+" "+a+" ) || "+h+" !== "+h+") { var op"+o+" = "+E+" ? '"+g+"' : '"+g+"='; ",void 0===s&&(b=d,c=e.errSchemaPath+"/"+d,a=_,p=v)}else{k=g;if((x="number"==typeof m)&&p){var C="'"+k+"'";n+=" if ( ",p&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),n+=" ( "+a+" === undefined || "+m+" "+g+"= "+a+" ? "+h+" "+y+"= "+m+" : "+h+" "+y+" "+a+" ) || "+h+" !== "+h+") { "}else{x&&void 0===s?(E=!0,b=d,c=e.errSchemaPath+"/"+d,a=m,y+="="):(x&&(a=Math[f?"min":"max"](m,s)),m===(!x||a)?(E=!0,b=d,c=e.errSchemaPath+"/"+d,y+="="):(E=!1,k+="="));C="'"+k+"'";n+=" if ( ",p&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),n+=" "+h+" "+y+" "+a+" || "+h+" !== "+h+") { "}}b=b||t,(P=P||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(b||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+C+", limit: "+a+", exclusive: "+E+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be "+k+" ",n+=p?"' + "+a:a+"'"),e.opts.verbose&&(n+=" , schema: ",n+=p?"validate.schema"+l:""+s,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),n+=" } "):n+=" {} ";S=n;return n=P.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+S+"]); ":n+=" validate.errors = ["+S+"]; return false; ":n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",u&&(n+=" else { "),n}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n=" ",o=e.level,i=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,h="data"+(i||""),p=e.opts.$data&&s&&s.$data;p?(n+=" var schema"+o+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+o):a=s,n+="if ( ",p&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),n+=" "+h+".length "+("maxItems"==t?">":"<")+" "+a+") { ";var f=t,d=d||[];d.push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(f||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have ",n+="maxItems"==t?"more":"fewer",n+=" than ",n+=p?"' + "+a+" + '":""+s,n+=" items' "),e.opts.verbose&&(n+=" , schema: ",n+=p?"validate.schema"+l:""+s,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),n+=" } "):n+=" {} ";var m=n;return n=d.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+m+"]); ":n+=" validate.errors = ["+m+"]; return false; ":n+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",u&&(n+=" else { "),n}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n=" ",o=e.level,i=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,h="data"+(i||""),p=e.opts.$data&&s&&s.$data;p?(n+=" var schema"+o+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+o):a=s;var f="maxLength"==t?">":"<";n+="if ( ",p&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),!1===e.opts.unicode?n+=" "+h+".length ":n+=" ucs2length("+h+") ",n+=" "+f+" "+a+") { ";var d=t,m=m||[];m.push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(d||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be ",n+="maxLength"==t?"longer":"shorter",n+=" than ",n+=p?"' + "+a+" + '":""+s,n+=" characters' "),e.opts.verbose&&(n+=" , schema: ",n+=p?"validate.schema"+l:""+s,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),n+=" } "):n+=" {} ";var v=n;return n=m.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+v+"]); ":n+=" validate.errors = ["+v+"]; return false; ":n+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",u&&(n+=" else { "),n}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n=" ",o=e.level,i=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,h="data"+(i||""),p=e.opts.$data&&s&&s.$data;p?(n+=" var schema"+o+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+o):a=s,n+="if ( ",p&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),n+=" Object.keys("+h+").length "+("maxProperties"==t?">":"<")+" "+a+") { ";var f=t,d=d||[];d.push(n),n="",!1!==e.createErrors?(n+=" { keyword: '"+(f||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+a+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have ",n+="maxProperties"==t?"more":"fewer",n+=" than ",n+=p?"' + "+a+" + '":""+s,n+=" properties' "),e.opts.verbose&&(n+=" , schema: ",n+=p?"validate.schema"+l:""+s,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),n+=" } "):n+=" {} ";var m=n;return n=d.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+m+"]); ":n+=" validate.errors = ["+m+"]; return false; ":n+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",u&&(n+=" else { "),n}},function(e){e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},function(e,t){e.exports=Vue},function(e,t,r){var a;"undefined"!=typeof self&&self,a=function(e){return function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="fb15")}({"01f9":function(e,t,r){"use strict";var a=r("2d00"),n=r("5ca1"),o=r("2aba"),i=r("32e9"),s=r("84f2"),l=r("41a0"),c=r("7f20"),u=r("38fd"),h=r("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,r,d,m,v,g){l(r,t,d);var y,b,_,E=function(e){if(!p&&e in P)return P[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},w=t+" Iterator",x="values"==m,k=!1,P=e.prototype,S=P[h]||P["@@iterator"]||m&&P[m],C=S||E(m),D=m?x?E("entries"):C:void 0,A="Array"==t&&P.entries||S;if(A&&(_=u(A.call(new e)))!==Object.prototype&&_.next&&(c(_,w,!0),a||"function"==typeof _[h]||i(_,h,f)),x&&S&&"values"!==S.name&&(k=!0,C=function(){return S.call(this)}),a&&!g||!p&&!k&&P[h]||i(P,h,C),s[t]=C,s[w]=f,m)if(y={values:x?C:E("values"),keys:v?C:E("keys"),entries:D},g)for(b in y)b in P||o(P,b,y[b]);else n(n.P+n.F*(p||k),t,y);return y}},"02f4":function(e,t,r){var a=r("4588"),n=r("be13");e.exports=function(e){return function(t,r){var o,i,s=String(n(t)),l=a(r),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):o:e?s.slice(l,l+2):i-56320+(o-55296<<10)+65536}}},"0390":function(e,t,r){"use strict";var a=r("02f4")(!0);e.exports=function(e,t,r){return t+(r?a(e,t).length:1)}},"0bfb":function(e,t,r){"use strict";var a=r("cb7c");e.exports=function(){var e=a(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,r){var a=r("ce10"),n=r("e11e");e.exports=Object.keys||function(e){return a(e,n)}},1495:function(e,t,r){var a=r("86cc"),n=r("cb7c"),o=r("0d58");e.exports=r("9e1e")?Object.defineProperties:function(e,t){n(e);for(var r,i=o(t),s=i.length,l=0;s>l;)a.f(e,r=i[l++],t[r]);return e}},"214f":function(e,t,r){"use strict";r("b0c5");var a=r("2aba"),n=r("32e9"),o=r("79e5"),i=r("be13"),s=r("2b4c"),l=r("520a"),c=s("species"),u=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),h=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(e,t,r){var p=s(e),f=!o((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),d=f?!o((function(){var t=!1,r=/a/;return r.exec=function(){return t=!0,null},"split"===e&&(r.constructor={},r.constructor[c]=function(){return r}),r[p](""),!t})):void 0;if(!f||!d||"replace"===e&&!u||"split"===e&&!h){var m=/./[p],v=r(i,p,""[e],(function(e,t,r,a,n){return t.exec===l?f&&!n?{done:!0,value:m.call(t,r,a)}:{done:!0,value:e.call(r,t,a)}:{done:!1}})),g=v[0],y=v[1];a(String.prototype,e,g),n(RegExp.prototype,p,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},"230e":function(e,t,r){var a=r("d3f4"),n=r("7726").document,o=a(n)&&a(n.createElement);e.exports=function(e){return o?n.createElement(e):{}}},"23c6":function(e,t,r){var a=r("2d95"),n=r("2b4c")("toStringTag"),o="Arguments"==a(function(){return arguments}());e.exports=function(e){var t,r,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),n))?r:o?a(t):"Object"==(i=a(t))&&"function"==typeof t.callee?"Arguments":i}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"2aba":function(e,t,r){var a=r("7726"),n=r("32e9"),o=r("69a8"),i=r("ca5a")("src"),s=r("fa5b"),l=(""+s).split("toString");r("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,r,s){var c="function"==typeof r;c&&(o(r,"name")||n(r,"name",t)),e[t]!==r&&(c&&(o(r,i)||n(r,i,e[t]?""+e[t]:l.join(String(t)))),e===a?e[t]=r:s?e[t]?e[t]=r:n(e,t,r):(delete e[t],n(e,t,r)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[i]||s.call(this)}))},"2aeb":function(e,t,r){var a=r("cb7c"),n=r("1495"),o=r("e11e"),i=r("613b")("IE_PROTO"),s=function(){},l=function(){var e,t=r("230e")("iframe"),a=o.length;for(t.style.display="none",r("fab2").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;a--;)delete l.prototype[o[a]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=a(e),r=new s,s.prototype=null,r[i]=e):r=l(),void 0===t?r:n(r,t)}},"2b4c":function(e,t,r){var a=r("5537")("wks"),n=r("ca5a"),o=r("7726").Symbol,i="function"==typeof o;(e.exports=function(e){return a[e]||(a[e]=i&&o[e]||(i?o:n)("Symbol."+e))}).store=a},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},"2fdb":function(e,t,r){"use strict";var a=r("5ca1"),n=r("d2c8");a(a.P+a.F*r("5147")("includes"),"String",{includes:function(e){return!!~n(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(e,t,r){var a=r("86cc"),n=r("4630");e.exports=r("9e1e")?function(e,t,r){return a.f(e,t,n(1,r))}:function(e,t,r){return e[t]=r,e}},"38fd":function(e,t,r){var a=r("69a8"),n=r("4bf8"),o=r("613b")("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=n(e),a(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},"41a0":function(e,t,r){"use strict";var a=r("2aeb"),n=r("4630"),o=r("7f20"),i={};r("32e9")(i,r("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=a(i,{next:n(1,r)}),o(e,t+" Iterator")}},"456d":function(e,t,r){var a=r("4bf8"),n=r("0d58");r("5eda")("keys",(function(){return function(e){return n(a(e))}}))},4588:function(e,t){var r=Math.ceil,a=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?a:r)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"4bf8":function(e,t,r){var a=r("be13");e.exports=function(e){return Object(a(e))}},5147:function(e,t,r){var a=r("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[a]=!1,!"/./"[e](t)}catch(e){}}return!0}},"520a":function(e,t,r){"use strict";var a,n,o=r("0bfb"),i=RegExp.prototype.exec,s=String.prototype.replace,l=i,c=(a=/a/,n=/b*/g,i.call(a,"a"),i.call(n,"a"),0!==a.lastIndex||0!==n.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(e){var t,r,a,n,l=this;return u&&(r=new RegExp("^"+l.source+"$(?!\\s)",o.call(l))),c&&(t=l.lastIndex),a=i.call(l,e),c&&a&&(l.lastIndex=l.global?a.index+a[0].length:t),u&&a&&a.length>1&&s.call(a[0],r,(function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(a[n]=void 0)})),a}),e.exports=l},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,r){var a=r("8378"),n=r("7726"),o=n["__core-js_shared__"]||(n["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:a.version,mode:r("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,t,r){var a=r("7726"),n=r("8378"),o=r("32e9"),i=r("2aba"),s=r("9b43"),l=function(e,t,r){var c,u,h,p,f=e&l.F,d=e&l.G,m=e&l.S,v=e&l.P,g=e&l.B,y=d?a:m?a[t]||(a[t]={}):(a[t]||{}).prototype,b=d?n:n[t]||(n[t]={}),_=b.prototype||(b.prototype={});for(c in d&&(r=t),r)h=((u=!f&&y&&void 0!==y[c])?y:r)[c],p=g&&u?s(h,a):v&&"function"==typeof h?s(Function.call,h):h,y&&i(y,c,h,e&l.U),b[c]!=h&&o(b,c,p),v&&_[c]!=h&&(_[c]=h)};a.core=n,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"5eda":function(e,t,r){var a=r("5ca1"),n=r("8378"),o=r("79e5");e.exports=function(e,t){var r=(n.Object||{})[e]||Object[e],i={};i[e]=t(r),a(a.S+a.F*o((function(){r(1)})),"Object",i)}},"5f1b":function(e,t,r){"use strict";var a=r("23c6"),n=RegExp.prototype.exec;e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var o=r.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==a(e))throw new TypeError("RegExp#exec called on incompatible receiver");return n.call(e,t)}},"613b":function(e,t,r){var a=r("5537")("keys"),n=r("ca5a");e.exports=function(e){return a[e]||(a[e]=n(e))}},"626a":function(e,t,r){var a=r("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==a(e)?e.split(""):Object(e)}},6762:function(e,t,r){"use strict";var a=r("5ca1"),n=r("c366")(!0);a(a.P,"Array",{includes:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}}),r("9c6c")("includes")},6821:function(e,t,r){var a=r("626a"),n=r("be13");e.exports=function(e){return a(n(e))}},"69a8":function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},"6a99":function(e,t,r){var a=r("d3f4");e.exports=function(e,t){if(!a(e))return e;var r,n;if(t&&"function"==typeof(r=e.toString)&&!a(n=r.call(e)))return n;if("function"==typeof(r=e.valueOf)&&!a(n=r.call(e)))return n;if(!t&&"function"==typeof(r=e.toString)&&!a(n=r.call(e)))return n;throw TypeError("Can't convert object to primitive value")}},7333:function(e,t,r){"use strict";var a=r("0d58"),n=r("2621"),o=r("52a7"),i=r("4bf8"),s=r("626a"),l=Object.assign;e.exports=!l||r("79e5")((function(){var e={},t={},r=Symbol(),a="abcdefghijklmnopqrst";return e[r]=7,a.split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||Object.keys(l({},t)).join("")!=a}))?function(e,t){for(var r=i(e),l=arguments.length,c=1,u=n.f,h=o.f;l>c;)for(var p,f=s(arguments[c++]),d=u?a(f).concat(u(f)):a(f),m=d.length,v=0;m>v;)h.call(f,p=d[v++])&&(r[p]=f[p]);return r}:l},7726:function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},"77f1":function(e,t,r){var a=r("4588"),n=Math.max,o=Math.min;e.exports=function(e,t){return(e=a(e))<0?n(e+t,0):o(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7f20":function(e,t,r){var a=r("86cc").f,n=r("69a8"),o=r("2b4c")("toStringTag");e.exports=function(e,t,r){e&&!n(e=r?e:e.prototype,o)&&a(e,o,{configurable:!0,value:t})}},8378:function(e,t){var r=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=r)},"84f2":function(e,t){e.exports={}},"86cc":function(e,t,r){var a=r("cb7c"),n=r("c69a"),o=r("6a99"),i=Object.defineProperty;t.f=r("9e1e")?Object.defineProperty:function(e,t,r){if(a(e),t=o(t,!0),a(r),n)try{return i(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},"9b43":function(e,t,r){var a=r("d8e8");e.exports=function(e,t,r){if(a(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,a){return e.call(t,r,a)};case 3:return function(r,a,n){return e.call(t,r,a,n)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,r){var a=r("2b4c")("unscopables"),n=Array.prototype;null==n[a]&&r("32e9")(n,a,{}),e.exports=function(e){n[a][e]=!0}},"9def":function(e,t,r){var a=r("4588"),n=Math.min;e.exports=function(e){return e>0?n(a(e),9007199254740991):0}},"9e1e":function(e,t,r){e.exports=!r("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(t,r){t.exports=e},a481:function(e,t,r){"use strict";var a=r("cb7c"),n=r("4bf8"),o=r("9def"),i=r("4588"),s=r("0390"),l=r("5f1b"),c=Math.max,u=Math.min,h=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;r("214f")("replace",2,(function(e,t,r,d){return[function(a,n){var o=e(this),i=null==a?void 0:a[t];return void 0!==i?i.call(a,o,n):r.call(String(o),a,n)},function(e,t){var n=d(r,e,this,t);if(n.done)return n.value;var h=a(e),p=String(this),f="function"==typeof t;f||(t=String(t));var v=h.global;if(v){var g=h.unicode;h.lastIndex=0}for(var y=[];;){var b=l(h,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(h.lastIndex=s(p,o(h.lastIndex),g))}for(var _,E="",w=0,x=0;x<y.length;x++){b=y[x];for(var k=String(b[0]),P=c(u(i(b.index),p.length),0),S=[],C=1;C<b.length;C++)S.push(void 0===(_=b[C])?_:String(_));var D=b.groups;if(f){var A=[k].concat(S,P,p);void 0!==D&&A.push(D);var F=String(t.apply(void 0,A))}else F=m(k,p,P,S,D,t);P>=w&&(E+=p.slice(w,P)+F,w=P+k.length)}return E+p.slice(w)}];function m(e,t,a,o,i,s){var l=a+e.length,c=o.length,u=f;return void 0!==i&&(i=n(i),u=p),r.call(s,u,(function(r,n){var s;switch(n.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,a);case"'":return t.slice(l);case"<":s=i[n.slice(1,-1)];break;default:var u=+n;if(0===u)return r;if(u>c){var p=h(u/10);return 0===p?r:p<=c?void 0===o[p-1]?n.charAt(1):o[p-1]+n.charAt(1):r}s=o[u-1]}return void 0===s?"":s}))}}))},aae3:function(e,t,r){var a=r("d3f4"),n=r("2d95"),o=r("2b4c")("match");e.exports=function(e){var t;return a(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==n(e))}},ac6a:function(e,t,r){for(var a=r("cadf"),n=r("0d58"),o=r("2aba"),i=r("7726"),s=r("32e9"),l=r("84f2"),c=r("2b4c"),u=c("iterator"),h=c("toStringTag"),p=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=n(f),m=0;m<d.length;m++){var v,g=d[m],y=f[g],b=i[g],_=b&&b.prototype;if(_&&(_[u]||s(_,u,p),_[h]||s(_,h,g),l[g]=p,y))for(v in a)_[v]||o(_,v,a[v],!0)}},b0c5:function(e,t,r){"use strict";var a=r("520a");r("5ca1")({target:"RegExp",proto:!0,forced:a!==/./.exec},{exec:a})},be13:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},c366:function(e,t,r){var a=r("6821"),n=r("9def"),o=r("77f1");e.exports=function(e){return function(t,r,i){var s,l=a(t),c=n(l.length),u=o(i,c);if(e&&r!=r){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===r)return e||u||0;return!e&&-1}}},c649:function(e,t,r){"use strict";(function(e){r.d(t,"c",(function(){return c})),r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return o})),r.d(t,"d",(function(){return l})),r("a481");var a,n,o="undefined"!=typeof window?window.console:e.console,i=/-(\w)/g,s=(a=function(e){return e.replace(i,(function(e,t){return t?t.toUpperCase():""}))},n=Object.create(null),function(e){return n[e]||(n[e]=a(e))});function l(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function c(e,t,r){var a=0===r?e.children[0]:e.children[r-1].nextSibling;e.insertBefore(t,a)}}).call(this,r("c8ba"))},c69a:function(e,t,r){e.exports=!r("9e1e")&&!r("79e5")((function(){return 7!=Object.defineProperty(r("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},ca5a:function(e,t){var r=0,a=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+a).toString(36))}},cadf:function(e,t,r){"use strict";var a=r("9c6c"),n=r("d53b"),o=r("84f2"),i=r("6821");e.exports=r("01f9")(Array,"Array",(function(e,t){this._t=i(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,n(1)):n(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),o.Arguments=o.Array,a("keys"),a("values"),a("entries")},cb7c:function(e,t,r){var a=r("d3f4");e.exports=function(e){if(!a(e))throw TypeError(e+" is not an object!");return e}},ce10:function(e,t,r){var a=r("69a8"),n=r("6821"),o=r("c366")(!1),i=r("613b")("IE_PROTO");e.exports=function(e,t){var r,s=n(e),l=0,c=[];for(r in s)r!=i&&a(s,r)&&c.push(r);for(;t.length>l;)a(s,r=t[l++])&&(~o(c,r)||c.push(r));return c}},d2c8:function(e,t,r){var a=r("aae3"),n=r("be13");e.exports=function(e,t,r){if(a(t))throw TypeError("String#"+r+" doesn't accept regex!");return String(n(e))}},d3f4:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(e,t,r){"use strict";var a=r("5ca1"),n=r("9def"),o=r("d2c8"),i="".startsWith;a(a.P+a.F*r("5147")("startsWith"),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),r=n(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),a=String(e);return i?i.call(t,a,r):t.slice(r,r+a.length)===a}})},f6fd:function(e,t){!function(e){var t=e.getElementsByTagName("script");"currentScript"in e||Object.defineProperty(e,"currentScript",{get:function(){try{throw new Error}catch(a){var e,r=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(a.stack)||[!1])[1];for(e in t)if(t[e].src==r||"interactive"==t[e].readyState)return t[e];return null}}})}(document)},f751:function(e,t,r){var a=r("5ca1");a(a.S+a.F,"Object",{assign:r("7333")})},fa5b:function(e,t,r){e.exports=r("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,r){var a=r("7726").document;e.exports=a&&a.documentElement},fb15:function(e,t,r){"use strict";var a;function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function o(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],a=!0,n=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(a=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){n=!0,o=e}finally{try{a||null==s.return||s.return()}finally{if(n)throw o}}return r}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.r(t),"undefined"!=typeof window&&(r("f6fd"),(a=window.document.currentScript)&&(a=a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(r.p=a[1])),r("f751"),r("f559"),r("ac6a"),r("cadf"),r("456d"),r("6762"),r("2fdb");var l=r("a352"),c=r.n(l),u=r("c649");function h(e,t){var r=this;this.$nextTick((function(){return r.$emit(e.toLowerCase(),t)}))}function p(e){var t=this;return function(r){null!==t.realList&&t["onDrag"+e](r),h.call(t,e,r)}}function f(e){return["transition-group","TransitionGroup"].includes(e)}function d(e,t,r){return e[r]||(t[r]?t[r]():void 0)}var m=["Start","Add","Remove","Update","End"],v=["Choose","Unchoose","Sort","Filter","Clone"],g=["Move"].concat(m,v).map((function(e){return"on"+e})),y=null,b={name:"draggable",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(e){return e}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(e){var t=this.$slots.default;this.transitionMode=function(e){if(!e||1!==e.length)return!1;var t=i(e,1)[0].componentOptions;return!!t&&f(t.tag)}(t);var r=function(e,t,r){var a=0,n=0,o=d(t,r,"header");o&&(a=o.length,e=e?[].concat(s(o),s(e)):s(o));var i=d(t,r,"footer");return i&&(n=i.length,e=e?[].concat(s(e),s(i)):s(i)),{children:e,headerOffset:a,footerOffset:n}}(t,this.$slots,this.$scopedSlots),a=r.children,n=r.headerOffset,o=r.footerOffset;this.headerOffset=n,this.footerOffset=o;var l=function(e,t){var r=null,a=function(e,t){r=function(e,t,r){return void 0===r?e:((e=e||{})[t]=r,e)}(r,e,t)};if(a("attrs",Object.keys(e).filter((function(e){return"id"===e||e.startsWith("data-")})).reduce((function(t,r){return t[r]=e[r],t}),{})),!t)return r;var n=t.on,o=t.props,i=t.attrs;return a("on",n),a("props",o),Object.assign(r.attrs,i),r}(this.$attrs,this.componentData);return e(this.getTag(),l,a)},created:function(){null!==this.list&&null!==this.value&&u.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&u.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&u.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var e=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var t={};m.forEach((function(r){t["on"+r]=p.call(e,r)})),v.forEach((function(r){t["on"+r]=h.bind(e,r)}));var r=Object.keys(this.$attrs).reduce((function(t,r){return t[Object(u.a)(r)]=e.$attrs[r],t}),{}),a=Object.assign({},this.options,r,t,{onMove:function(t,r){return e.onDragMove(t,r)}});!("draggable"in a)&&(a.draggable=">*"),this._sortable=new c.a(this.rootContainer,a),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(e){this.updateOptions(e)},deep:!0},$attrs:{handler:function(e){this.updateOptions(e)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var e=this._vnode.fnOptions;return e&&e.functional},getTag:function(){return this.tag||this.element},updateOptions:function(e){for(var t in e){var r=Object(u.a)(t);-1===g.indexOf(r)&&this._sortable.option(r,e[t])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var e=this.$slots.default;return this.transitionMode?e[0].child.$slots.default:e},computeIndexes:function(){var e=this;this.$nextTick((function(){e.visibleIndexes=function(e,t,r,a){if(!e)return[];var n=e.map((function(e){return e.elm})),o=t.length-a,i=s(t).map((function(e,t){return t>=o?n.length:n.indexOf(e)}));return r?i.filter((function(e){return-1!==e})):i}(e.getChildrenNodes(),e.rootContainer.children,e.transitionMode,e.footerOffset)}))},getUnderlyingVm:function(e){var t=function(e,t){return e.map((function(e){return e.elm})).indexOf(t)}(this.getChildrenNodes()||[],e);return-1===t?null:{index:t,element:this.realList[t]}},getUnderlyingPotencialDraggableComponent:function(e){var t=e.__vue__;return t&&t.$options&&f(t.$options._componentTag)?t.$parent:!("realList"in t)&&1===t.$children.length&&"realList"in t.$children[0]?t.$children[0]:t},emitChanges:function(e){var t=this;this.$nextTick((function(){t.$emit("change",e)}))},alterList:function(e){if(this.list)e(this.list);else{var t=s(this.value);e(t),this.$emit("input",t)}},spliceList:function(){var e=arguments,t=function(t){return t.splice.apply(t,s(e))};this.alterList(t)},updatePosition:function(e,t){var r=function(r){return r.splice(t,0,r.splice(e,1)[0])};this.alterList(r)},getRelatedContextFromMoveEvent:function(e){var t=e.to,r=e.related,a=this.getUnderlyingPotencialDraggableComponent(t);if(!a)return{component:a};var n=a.realList,o={list:n,component:a};if(t!==r&&n&&a.getUnderlyingVm){var i=a.getUnderlyingVm(r);if(i)return Object.assign(i,o)}return o},getVmIndex:function(e){var t=this.visibleIndexes,r=t.length;return e>r-1?r:t[e]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(e){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[e].data=null;var t=this.getComponent();t.children=[],t.kept=void 0}},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),y=e.item},onDragAdd:function(e){var t=e.item._underlying_vm_;if(void 0!==t){Object(u.d)(e.item);var r=this.getVmIndex(e.newIndex);this.spliceList(r,0,t),this.computeIndexes();var a={element:t,newIndex:r};this.emitChanges({added:a})}},onDragRemove:function(e){if(Object(u.c)(this.rootContainer,e.item,e.oldIndex),"clone"!==e.pullMode){var t=this.context.index;this.spliceList(t,1);var r={element:this.context.element,oldIndex:t};this.resetTransitionData(t),this.emitChanges({removed:r})}else Object(u.d)(e.clone)},onDragUpdate:function(e){Object(u.d)(e.item),Object(u.c)(e.from,e.item,e.oldIndex);var t=this.context.index,r=this.getVmIndex(e.newIndex);this.updatePosition(t,r);var a={element:this.context.element,oldIndex:t,newIndex:r};this.emitChanges({moved:a})},updateProperty:function(e,t){e.hasOwnProperty(t)&&(e[t]+=this.headerOffset)},computeFutureIndex:function(e,t){if(!e.element)return 0;var r=s(t.to.children).filter((function(e){return"none"!==e.style.display})),a=r.indexOf(t.related),n=e.component.getVmIndex(a);return-1===r.indexOf(y)&&t.willInsertAfter?n+1:n},onDragMove:function(e,t){var r=this.move;if(!r||!this.realList)return!0;var a=this.getRelatedContextFromMoveEvent(e),n=this.context,o=this.computeFutureIndex(a,e);return Object.assign(n,{futureIndex:o}),r(Object.assign({},e,{relatedContext:a,draggedContext:n}),t)},onDragEnd:function(){this.computeIndexes(),y=null}}};"undefined"!=typeof window&&"Vue"in window&&window.Vue.component("draggable",b);var _=b;t.default=_}}).default},e.exports=a(r(28))},function(e,t,r){"use strict";r.r(t),function(e){var t=r(25),a=r.n(t),n=r(26),o=r.n(n),i="undefined"!=typeof window&&window||void 0!==e&&e||{};i.markdownit=r(29),a.a.component("draggable",o.a),i.Ajv=r(85)}.call(this,r(8))},function(e,t,r){"use strict";
|
|
1
|
+
!function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=55)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const a=r(18),n=r(44);var s=r(18);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return s.Name}});var o=r(44);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),t.operators={GT:new a._Code(">"),GTE:new a._Code(">="),LT:new a._Code("<"),LTE:new a._Code("<="),EQ:new a._Code("==="),NEQ:new a._Code("!=="),NOT:new a._Code("!"),OR:new a._Code("||"),AND:new a._Code("&&"),ADD:new a._Code("+")};class i{optimizeNodes(){return this}optimizeNames(e,t){return this}}class c extends i{constructor(e,t,r){super(),this.varKind=e,this.name=t,this.rhs=r}render({es5:e,_n:t}){const r=e?n.varKinds.var:this.varKind,a=void 0===this.rhs?"":` = ${this.rhs}`;return`${r} ${this.name}${a};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=N(this.rhs,e,t)),this}get names(){return this.rhs instanceof a._CodeOrName?this.rhs.names:{}}}class l extends i{constructor(e,t,r){super(),this.lhs=e,this.rhs=t,this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof a.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=N(this.rhs,e,t),this}get names(){return D(this.lhs instanceof a.Name?{}:{...this.lhs.names},this.rhs)}}class u extends l{constructor(e,t,r,a){super(e,r,a),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class d extends i{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class p extends i{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class m extends i{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class f extends i{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=N(this.code,e,t),this}get names(){return this.code instanceof a._CodeOrName?this.code.names:{}}}class h extends i{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((t,r)=>t+r.render(e),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const r=e[t].optimizeNodes();Array.isArray(r)?e.splice(t,1,...r):r?e[t]=r:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:r}=this;let a=r.length;for(;a--;){const n=r[a];n.optimizeNames(e,t)||(A(e,n.names),r.splice(a,1))}return r.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>O(e,t.names),{})}}class g extends h{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class v extends h{}class y extends g{}y.kind="else";class b extends g{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new y(e):e}return t?!1===e?t instanceof b?t:t.nodes:this.nodes.length?this:new b(j(e),t instanceof b?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var r;if(this.else=null===(r=this.else)||void 0===r?void 0:r.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=N(this.condition,e,t),this}get names(){const e=super.names;return D(e,this.condition),this.else&&O(e,this.else.names),e}}b.kind="if";class k extends g{}k.kind="for";class _ extends k{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=N(this.iteration,e,t),this}get names(){return O(super.names,this.iteration.names)}}class w extends k{constructor(e,t,r,a){super(),this.varKind=e,this.name=t,this.from=r,this.to=a}render(e){const t=e.es5?n.varKinds.var:this.varKind,{name:r,from:a,to:s}=this;return`for(${t} ${r}=${a}; ${r}<${s}; ${r}++)`+super.render(e)}get names(){const e=D(super.names,this.from);return D(e,this.to)}}class $ extends k{constructor(e,t,r,a){super(),this.loop=e,this.varKind=t,this.name=r,this.iterable=a}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=N(this.iterable,e,t),this}get names(){return O(super.names,this.iterable.names)}}class x extends g{constructor(e,t,r){super(),this.name=e,this.args=t,this.async=r}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}x.kind="func";class E extends h{render(e){return"return "+super.render(e)}}E.kind="return";class S extends g{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var r,a;return super.optimizeNames(e,t),null===(r=this.catch)||void 0===r||r.optimizeNames(e,t),null===(a=this.finally)||void 0===a||a.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&O(e,this.catch.names),this.finally&&O(e,this.finally.names),e}}class P extends g{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}P.kind="catch";class C extends g{render(e){return"finally"+super.render(e)}}C.kind="finally";function O(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function D(e,t){return t instanceof a._CodeOrName?O(e,t.names):e}function N(e,t,r){return e instanceof a.Name?s(e):(n=e)instanceof a._Code&&n._items.some(e=>e instanceof a.Name&&1===t[e.str]&&void 0!==r[e.str])?new a._Code(e._items.reduce((e,t)=>(t instanceof a.Name&&(t=s(t)),t instanceof a._Code?e.push(...t._items):e.push(t),e),[])):e;var n;function s(e){const a=r[e.str];return void 0===a||1!==t[e.str]?e:(delete t[e.str],a)}}function A(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function j(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:a._`!${R(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new n.Scope({parent:e}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);return(this._values[r.prefix]||(this._values[r.prefix]=new Set)).add(r),r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,a){const n=this._scope.toName(t);return void 0!==r&&a&&(this._constants[n.str]=r),this._leafNode(new c(e,n,r)),n}const(e,t,r){return this._def(n.varKinds.const,e,t,r)}let(e,t,r){return this._def(n.varKinds.let,e,t,r)}var(e,t,r){return this._def(n.varKinds.var,e,t,r)}assign(e,t,r){return this._leafNode(new l(e,t,r))}add(e,r){return this._leafNode(new u(e,t.operators.ADD,r))}code(e){return"function"==typeof e?e():e!==a.nil&&this._leafNode(new f(e)),this}object(...e){const t=["{"];for(const[r,n]of e)t.length>1&&t.push(","),t.push(r),(r!==n||this.opts.es5)&&(t.push(":"),(0,a.addCodeArg)(t,n));return t.push("}"),new a._Code(t)}if(e,t,r){if(this._blockNode(new b(e)),t&&r)this.code(t).else().code(r).endIf();else if(t)this.code(t).endIf();else if(r)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new b(e))}else(){return this._elseNode(new y)}endIf(){return this._endBlockNode(b,y)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new _(e),t)}forRange(e,t,r,a,s=(this.opts.es5?n.varKinds.var:n.varKinds.let)){const o=this._scope.toName(e);return this._for(new w(s,o,t,r),()=>a(o))}forOf(e,t,r,s=n.varKinds.const){const o=this._scope.toName(e);if(this.opts.es5){const e=t instanceof a.Name?t:this.var("_arr",t);return this.forRange("_i",0,a._`${e}.length`,t=>{this.var(o,a._`${e}[${t}]`),r(o)})}return this._for(new $("of",s,o,t),()=>r(o))}forIn(e,t,r,s=(this.opts.es5?n.varKinds.var:n.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,a._`Object.keys(${t})`,r);const o=this._scope.toName(e);return this._for(new $("in",s,o,t),()=>r(o))}endFor(){return this._endBlockNode(k)}label(e){return this._leafNode(new d(e))}break(e){return this._leafNode(new p(e))}return(e){const t=new E;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(E)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const a=new S;if(this._blockNode(a),this.code(e),t){const e=this.name("e");this._currNode=a.catch=new P(e),t(e)}return r&&(this._currNode=a.finally=new C,this.code(r)),this._endBlockNode(P,C)}throw(e){return this._leafNode(new m(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||void 0!==e&&r!==e)throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=a.nil,r,n){return this._blockNode(new x(e,t,r)),n&&this.code(n).endFunc(),this}endFunc(){return this._endBlockNode(x)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=j;const T=M(t.operators.AND);t.and=function(...e){return e.reduce(T)};const I=M(t.operators.OR);function M(e){return(t,r)=>t===a.nil?r:r===a.nil?t:a._`${R(t)} ${e} ${R(r)}`}function R(e){return e instanceof a.Name?e:a._`(${e})`}t.or=function(...e){return e.reduce(I)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const a=r(11),n=r(35);var s=r(11);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return s._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return s.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return s.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return s.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return s.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return s.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return s.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return s.Name}});var o=r(35);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),t.operators={GT:new a._Code(">"),GTE:new a._Code(">="),LT:new a._Code("<"),LTE:new a._Code("<="),EQ:new a._Code("==="),NEQ:new a._Code("!=="),NOT:new a._Code("!"),OR:new a._Code("||"),AND:new a._Code("&&"),ADD:new a._Code("+")};class i{optimizeNodes(){return this}optimizeNames(e,t){return this}}class c extends i{constructor(e,t,r){super(),this.varKind=e,this.name=t,this.rhs=r}render({es5:e,_n:t}){const r=e?n.varKinds.var:this.varKind,a=void 0===this.rhs?"":` = ${this.rhs}`;return`${r} ${this.name}${a};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=N(this.rhs,e,t)),this}get names(){return this.rhs instanceof a._CodeOrName?this.rhs.names:{}}}class l extends i{constructor(e,t,r){super(),this.lhs=e,this.rhs=t,this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof a.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=N(this.rhs,e,t),this}get names(){return D(this.lhs instanceof a.Name?{}:{...this.lhs.names},this.rhs)}}class u extends l{constructor(e,t,r,a){super(e,r,a),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class d extends i{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class p extends i{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class m extends i{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class f extends i{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=N(this.code,e,t),this}get names(){return this.code instanceof a._CodeOrName?this.code.names:{}}}class h extends i{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((t,r)=>t+r.render(e),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const r=e[t].optimizeNodes();Array.isArray(r)?e.splice(t,1,...r):r?e[t]=r:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:r}=this;let a=r.length;for(;a--;){const n=r[a];n.optimizeNames(e,t)||(A(e,n.names),r.splice(a,1))}return r.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>O(e,t.names),{})}}class g extends h{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class v extends h{}class y extends g{}y.kind="else";class b extends g{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new y(e):e}return t?!1===e?t instanceof b?t:t.nodes:this.nodes.length?this:new b(j(e),t instanceof b?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var r;if(this.else=null===(r=this.else)||void 0===r?void 0:r.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=N(this.condition,e,t),this}get names(){const e=super.names;return D(e,this.condition),this.else&&O(e,this.else.names),e}}b.kind="if";class k extends g{}k.kind="for";class _ extends k{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=N(this.iteration,e,t),this}get names(){return O(super.names,this.iteration.names)}}class w extends k{constructor(e,t,r,a){super(),this.varKind=e,this.name=t,this.from=r,this.to=a}render(e){const t=e.es5?n.varKinds.var:this.varKind,{name:r,from:a,to:s}=this;return`for(${t} ${r}=${a}; ${r}<${s}; ${r}++)`+super.render(e)}get names(){const e=D(super.names,this.from);return D(e,this.to)}}class $ extends k{constructor(e,t,r,a){super(),this.loop=e,this.varKind=t,this.name=r,this.iterable=a}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=N(this.iterable,e,t),this}get names(){return O(super.names,this.iterable.names)}}class x extends g{constructor(e,t,r){super(),this.name=e,this.args=t,this.async=r}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}x.kind="func";class E extends h{render(e){return"return "+super.render(e)}}E.kind="return";class S extends g{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var r,a;return super.optimizeNames(e,t),null===(r=this.catch)||void 0===r||r.optimizeNames(e,t),null===(a=this.finally)||void 0===a||a.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&O(e,this.catch.names),this.finally&&O(e,this.finally.names),e}}class P extends g{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}P.kind="catch";class C extends g{render(e){return"finally"+super.render(e)}}C.kind="finally";function O(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function D(e,t){return t instanceof a._CodeOrName?O(e,t.names):e}function N(e,t,r){return e instanceof a.Name?s(e):(n=e)instanceof a._Code&&n._items.some(e=>e instanceof a.Name&&1===t[e.str]&&void 0!==r[e.str])?new a._Code(e._items.reduce((e,t)=>(t instanceof a.Name&&(t=s(t)),t instanceof a._Code?e.push(...t._items):e.push(t),e),[])):e;var n;function s(e){const a=r[e.str];return void 0===a||1!==t[e.str]?e:(delete t[e.str],a)}}function A(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function j(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:a._`!${R(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new n.Scope({parent:e}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);return(this._values[r.prefix]||(this._values[r.prefix]=new Set)).add(r),r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,a){const n=this._scope.toName(t);return void 0!==r&&a&&(this._constants[n.str]=r),this._leafNode(new c(e,n,r)),n}const(e,t,r){return this._def(n.varKinds.const,e,t,r)}let(e,t,r){return this._def(n.varKinds.let,e,t,r)}var(e,t,r){return this._def(n.varKinds.var,e,t,r)}assign(e,t,r){return this._leafNode(new l(e,t,r))}add(e,r){return this._leafNode(new u(e,t.operators.ADD,r))}code(e){return"function"==typeof e?e():e!==a.nil&&this._leafNode(new f(e)),this}object(...e){const t=["{"];for(const[r,n]of e)t.length>1&&t.push(","),t.push(r),(r!==n||this.opts.es5)&&(t.push(":"),(0,a.addCodeArg)(t,n));return t.push("}"),new a._Code(t)}if(e,t,r){if(this._blockNode(new b(e)),t&&r)this.code(t).else().code(r).endIf();else if(t)this.code(t).endIf();else if(r)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new b(e))}else(){return this._elseNode(new y)}endIf(){return this._endBlockNode(b,y)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new _(e),t)}forRange(e,t,r,a,s=(this.opts.es5?n.varKinds.var:n.varKinds.let)){const o=this._scope.toName(e);return this._for(new w(s,o,t,r),()=>a(o))}forOf(e,t,r,s=n.varKinds.const){const o=this._scope.toName(e);if(this.opts.es5){const e=t instanceof a.Name?t:this.var("_arr",t);return this.forRange("_i",0,a._`${e}.length`,t=>{this.var(o,a._`${e}[${t}]`),r(o)})}return this._for(new $("of",s,o,t),()=>r(o))}forIn(e,t,r,s=(this.opts.es5?n.varKinds.var:n.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,a._`Object.keys(${t})`,r);const o=this._scope.toName(e);return this._for(new $("in",s,o,t),()=>r(o))}endFor(){return this._endBlockNode(k)}label(e){return this._leafNode(new d(e))}break(e){return this._leafNode(new p(e))}return(e){const t=new E;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(E)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const a=new S;if(this._blockNode(a),this.code(e),t){const e=this.name("e");this._currNode=a.catch=new P(e),t(e)}return r&&(this._currNode=a.finally=new C,this.code(r)),this._endBlockNode(P,C)}throw(e){return this._leafNode(new m(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||void 0!==e&&r!==e)throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=a.nil,r,n){return this._blockNode(new x(e,t,r)),n&&this.code(n).endFunc(),this}endFunc(){return this._endBlockNode(x)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=j;const T=M(t.operators.AND);t.and=function(...e){return e.reduce(T)};const I=M(t.operators.OR);function M(e){return(t,r)=>t===a.nil?r:r===a.nil?t:a._`${R(t)} ${e} ${R(r)}`}function R(e){return e instanceof a.Name?e:a._`(${e})`}t.or=function(...e){return e.reduce(I)}},function(e,t,r){"use strict";var a=Object.prototype.hasOwnProperty;function n(e,t){return a.call(e,t)}function s(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var i=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(i.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=r(27);var d=/[&<>"]/,p=/[&<>"]/g,m={"&":"&","<":"<",">":">",'"':"""};function f(e){return m[e]}var h=/[.?*+^$[\]\\(){}|-]/g;var g=r(21);t.lib={},t.lib.mdurl=r(28),t.lib.ucmicro=r(64),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=n,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(i,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,(function(e,t,r){return t||function(e,t){var r=0;return n(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&s(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(r):e}(e,r)}))},t.isValidEntityCode=s,t.fromCodePoint=o,t.escapeHtml=function(e){return d.test(e)?e.replace(p,f):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(h,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const a=r(1),n=r(11);function s(e,t=e.schema){const{opts:r,self:a}=e;if(!r.strictSchema)return;if("boolean"==typeof t)return;const n=a.RULES.keywords;for(const r in t)n[r]||f(e,`unknown keyword: "${r}"`)}function o(e,t){if("boolean"==typeof e)return!e;for(const r in e)if(t[r])return!0;return!1}function i(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function c(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function l({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:n}){return(s,o,i,c)=>{const l=void 0===i?o:i instanceof a.Name?(o instanceof a.Name?e(s,o,i):t(s,o,i),i):o instanceof a.Name?(t(s,i,o),o):r(o,i);return c!==a.Name||l instanceof a.Name?l:n(s,l)}}function u(e,t){if(!0===t)return e.var("props",!0);const r=e.var("props",a._`{}`);return void 0!==t&&d(e,r,t),r}function d(e,t,r){Object.keys(r).forEach(r=>e.assign(a._`${t}${(0,a.getProperty)(r)}`,!0))}t.toHash=function(e){const t={};for(const r of e)t[r]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(s(e,t),!o(t,e.self.RULES.all))},t.checkUnknownRules=s,t.schemaHasRules=o,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const r in e)if("$ref"!==r&&t.all[r])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},r,n,s){if(!s){if("number"==typeof r||"boolean"==typeof r)return r;if("string"==typeof r)return a._`${r}`}return a._`${e}${t}${(0,a.getProperty)(n)}`},t.unescapeFragment=function(e){return c(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(i(e))},t.escapeJsonPointer=i,t.unescapeJsonPointer=c,t.eachItem=function(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)},t.mergeEvaluated={props:l({mergeNames:(e,t,r)=>e.if(a._`${r} !== true && ${t} !== undefined`,()=>{e.if(a._`${t} === true`,()=>e.assign(r,!0),()=>e.assign(r,a._`${r} || {}`).code(a._`Object.assign(${r}, ${t})`))}),mergeToName:(e,t,r)=>e.if(a._`${r} !== true`,()=>{!0===t?e.assign(r,!0):(e.assign(r,a._`${r} || {}`),d(e,r,t))}),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:u}),items:l({mergeNames:(e,t,r)=>e.if(a._`${r} !== true && ${t} !== undefined`,()=>e.assign(r,a._`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),mergeToName:(e,t,r)=>e.if(a._`${r} !== true`,()=>e.assign(r,!0===t||a._`${r} > ${t} ? ${r} : ${t}`)),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=u,t.setEvaluated=d;const p={};var m;function f(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,!0===r)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:p[t.code]||(p[t.code]=new n._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(m=t.Type||(t.Type={})),t.getErrorPath=function(e,t,r){if(e instanceof a.Name){const n=t===m.Num;return r?n?a._`"[" + ${e} + "]"`:a._`"['" + ${e} + "']"`:n?a._`"/" + ${e}`:a._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,a.getProperty)(e).toString():"/"+i(e)},t.checkStrictMode=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const a=r(0),n=r(18);function s(e,t=e.schema){const{opts:r,self:a}=e;if(!r.strictSchema)return;if("boolean"==typeof t)return;const n=a.RULES.keywords;for(const r in t)n[r]||f(e,`unknown keyword: "${r}"`)}function o(e,t){if("boolean"==typeof e)return!e;for(const r in e)if(t[r])return!0;return!1}function i(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function c(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function l({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:n}){return(s,o,i,c)=>{const l=void 0===i?o:i instanceof a.Name?(o instanceof a.Name?e(s,o,i):t(s,o,i),i):o instanceof a.Name?(t(s,i,o),o):r(o,i);return c!==a.Name||l instanceof a.Name?l:n(s,l)}}function u(e,t){if(!0===t)return e.var("props",!0);const r=e.var("props",a._`{}`);return void 0!==t&&d(e,r,t),r}function d(e,t,r){Object.keys(r).forEach(r=>e.assign(a._`${t}${(0,a.getProperty)(r)}`,!0))}t.toHash=function(e){const t={};for(const r of e)t[r]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(s(e,t),!o(t,e.self.RULES.all))},t.checkUnknownRules=s,t.schemaHasRules=o,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const r in e)if("$ref"!==r&&t.all[r])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},r,n,s){if(!s){if("number"==typeof r||"boolean"==typeof r)return r;if("string"==typeof r)return a._`${r}`}return a._`${e}${t}${(0,a.getProperty)(n)}`},t.unescapeFragment=function(e){return c(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(i(e))},t.escapeJsonPointer=i,t.unescapeJsonPointer=c,t.eachItem=function(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)},t.mergeEvaluated={props:l({mergeNames:(e,t,r)=>e.if(a._`${r} !== true && ${t} !== undefined`,()=>{e.if(a._`${t} === true`,()=>e.assign(r,!0),()=>e.assign(r,a._`${r} || {}`).code(a._`Object.assign(${r}, ${t})`))}),mergeToName:(e,t,r)=>e.if(a._`${r} !== true`,()=>{!0===t?e.assign(r,!0):(e.assign(r,a._`${r} || {}`),d(e,r,t))}),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:u}),items:l({mergeNames:(e,t,r)=>e.if(a._`${r} !== true && ${t} !== undefined`,()=>e.assign(r,a._`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),mergeToName:(e,t,r)=>e.if(a._`${r} !== true`,()=>e.assign(r,!0===t||a._`${r} > ${t} ? ${r} : ${t}`)),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=u,t.setEvaluated=d;const p={};var m;function f(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,!0===r)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:p[t.code]||(p[t.code]=new n._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(m=t.Type||(t.Type={})),t.getErrorPath=function(e,t,r){if(e instanceof a.Name){const n=t===m.Num;return r?n?a._`"[" + ${e} + "]"`:a._`"['" + ${e} + "']"`:n?a._`"/" + ${e}`:a._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,a.getProperty)(e).toString():"/"+i(e)},t.checkStrictMode=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const a=r(1),n=r(3),s=r(7);function o(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:a._`Object.prototype.hasOwnProperty`})}function i(e,t,r){return a._`${o(e)}.call(${t}, ${r})`}function c(e,t,r,n){const s=a._`${t}${(0,a.getProperty)(r)} === undefined`;return n?(0,a.or)(s,(0,a.not)(i(e,t,r))):s}function l(e){return e?Object.keys(e).filter(e=>"__proto__"!==e):[]}t.checkReportMissingProp=function(e,t){const{gen:r,data:n,it:s}=e;r.if(c(r,n,t,s.opts.ownProperties),()=>{e.setParams({missingProperty:a._`${t}`},!0),e.error()})},t.checkMissingProp=function({gen:e,data:t,it:{opts:r}},n,s){return(0,a.or)(...n.map(n=>(0,a.and)(c(e,t,n,r.ownProperties),a._`${s} = ${n}`)))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=o,t.isOwnProperty=i,t.propertyInData=function(e,t,r,n){const s=a._`${t}${(0,a.getProperty)(r)} !== undefined`;return n?a._`${s} && ${i(e,t,r)}`:s},t.noPropertyInData=c,t.allSchemaProperties=l,t.schemaProperties=function(e,t){return l(t).filter(r=>!(0,n.alwaysValidSchema)(e,t[r]))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:r,topSchemaRef:n,schemaPath:o,errorPath:i},it:c},l,u,d){const p=d?a._`${e}, ${t}, ${n}${o}`:t,m=[[s.default.instancePath,(0,a.strConcat)(s.default.instancePath,i)],[s.default.parentData,c.parentData],[s.default.parentDataProperty,c.parentDataProperty],[s.default.rootData,s.default.rootData]];c.opts.dynamicRef&&m.push([s.default.dynamicAnchors,s.default.dynamicAnchors]);const f=a._`${p}, ${r.object(...m)}`;return u!==a.nil?a._`${l}.call(${u}, ${f})`:a._`${l}(${f})`},t.usePattern=function({gen:e,it:{opts:t}},r){const n=t.unicodeRegExp?"u":"";return e.scopeValue("pattern",{key:r,ref:new RegExp(r,n),code:a._`new RegExp(${r}, ${n})`})},t.validateArray=function(e){const{gen:t,data:r,keyword:s,it:o}=e,i=t.name("valid");if(o.allErrors){const e=t.let("valid",!0);return c(()=>t.assign(e,!1)),e}return t.var(i,!0),c(()=>t.break()),i;function c(o){const c=t.const("len",a._`${r}.length`);t.forRange("i",0,c,r=>{e.subschema({keyword:s,dataProp:r,dataPropType:n.Type.Num},i),t.if((0,a.not)(i),o)})}},t.validateUnion=function(e){const{gen:t,schema:r,keyword:s,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some(e=>(0,n.alwaysValidSchema)(o,e))&&!o.opts.unevaluated)return;const i=t.let("valid",!1),c=t.name("_valid");t.block(()=>r.forEach((r,n)=>{const o=e.subschema({keyword:s,schemaProp:n,compositeRule:!0},c);t.assign(i,a._`${i} || ${c}`),e.mergeValidEvaluated(o,c)||t.if((0,a.not)(i))})),e.result(i,()=>e.reset(),()=>e.error(!0))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const a=r(0),n=r(4),s=r(8);function o(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:a._`Object.prototype.hasOwnProperty`})}function i(e,t,r){return a._`${o(e)}.call(${t}, ${r})`}function c(e,t,r,n){const s=a._`${t}${(0,a.getProperty)(r)} === undefined`;return n?(0,a.or)(s,(0,a.not)(i(e,t,r))):s}function l(e){return e?Object.keys(e).filter(e=>"__proto__"!==e):[]}t.checkReportMissingProp=function(e,t){const{gen:r,data:n,it:s}=e;r.if(c(r,n,t,s.opts.ownProperties),()=>{e.setParams({missingProperty:a._`${t}`},!0),e.error()})},t.checkMissingProp=function({gen:e,data:t,it:{opts:r}},n,s){return(0,a.or)(...n.map(n=>(0,a.and)(c(e,t,n,r.ownProperties),a._`${s} = ${n}`)))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=o,t.isOwnProperty=i,t.propertyInData=function(e,t,r,n){const s=a._`${t}${(0,a.getProperty)(r)} !== undefined`;return n?a._`${s} && ${i(e,t,r)}`:s},t.noPropertyInData=c,t.allSchemaProperties=l,t.schemaProperties=function(e,t){return l(t).filter(r=>!(0,n.alwaysValidSchema)(e,t[r]))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:r,topSchemaRef:n,schemaPath:o,errorPath:i},it:c},l,u,d){const p=d?a._`${e}, ${t}, ${n}${o}`:t,m=[[s.default.instancePath,(0,a.strConcat)(s.default.instancePath,i)],[s.default.parentData,c.parentData],[s.default.parentDataProperty,c.parentDataProperty],[s.default.rootData,s.default.rootData]];c.opts.dynamicRef&&m.push([s.default.dynamicAnchors,s.default.dynamicAnchors]);const f=a._`${p}, ${r.object(...m)}`;return u!==a.nil?a._`${l}.call(${u}, ${f})`:a._`${l}(${f})`},t.usePattern=function({gen:e,it:{opts:t}},r){const n=t.unicodeRegExp?"u":"";return e.scopeValue("pattern",{key:r,ref:new RegExp(r,n),code:a._`new RegExp(${r}, ${n})`})},t.validateArray=function(e){const{gen:t,data:r,keyword:s,it:o}=e,i=t.name("valid");if(o.allErrors){const e=t.let("valid",!0);return c(()=>t.assign(e,!1)),e}return t.var(i,!0),c(()=>t.break()),i;function c(o){const c=t.const("len",a._`${r}.length`);t.forRange("i",0,c,r=>{e.subschema({keyword:s,dataProp:r,dataPropType:n.Type.Num},i),t.if((0,a.not)(i),o)})}},t.validateUnion=function(e){const{gen:t,schema:r,keyword:s,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some(e=>(0,n.alwaysValidSchema)(o,e))&&!o.opts.unevaluated)return;const i=t.let("valid",!1),c=t.name("_valid");t.block(()=>r.forEach((r,n)=>{const o=e.subschema({keyword:s,schemaProp:n,compositeRule:!0},c);t.assign(i,a._`${i} || ${c}`),e.mergeValidEvaluated(o,c)||t.if((0,a.not)(i))})),e.result(i,()=>e.reset(),()=>e.error(!0))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n={data:new a.Name("data"),valCxt:new a.Name("valCxt"),instancePath:new a.Name("instancePath"),parentData:new a.Name("parentData"),parentDataProperty:new a.Name("parentDataProperty"),rootData:new a.Name("rootData"),dynamicAnchors:new a.Name("dynamicAnchors"),vErrors:new a.Name("vErrors"),errors:new a.Name("errors"),this:new a.Name("this"),self:new a.Name("self"),scope:new a.Name("scope"),json:new a.Name("json"),jsonPos:new a.Name("jsonPos"),jsonLen:new a.Name("jsonLen"),jsonPart:new a.Name("jsonPart")};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n={data:new a.Name("data"),valCxt:new a.Name("valCxt"),instancePath:new a.Name("instancePath"),parentData:new a.Name("parentData"),parentDataProperty:new a.Name("parentDataProperty"),rootData:new a.Name("rootData"),dynamicAnchors:new a.Name("dynamicAnchors"),vErrors:new a.Name("vErrors"),errors:new a.Name("errors"),this:new a.Name("this"),self:new a.Name("self"),scope:new a.Name("scope"),json:new a.Name("json"),jsonPos:new a.Name("jsonPos"),jsonLen:new a.Name("jsonLen"),jsonPart:new a.Name("jsonPart")};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const a=r(115),n=r(12),s=r(37),o=r(12),i=r(116),c=r(117),l=r(118),u=r(1),d=r(7),p=r(13),m=r(3),f=r(10);function h({gen:e,validateName:t,schema:r,schemaEnv:a,opts:n},s){n.code.es5?e.func(t,u._`${d.default.data}, ${d.default.valCxt}`,a.$async,()=>{e.code(u._`"use strict"; ${g(r,n)}`),function(e,t){e.if(d.default.valCxt,()=>{e.var(d.default.instancePath,u._`${d.default.valCxt}.${d.default.instancePath}`),e.var(d.default.parentData,u._`${d.default.valCxt}.${d.default.parentData}`),e.var(d.default.parentDataProperty,u._`${d.default.valCxt}.${d.default.parentDataProperty}`),e.var(d.default.rootData,u._`${d.default.valCxt}.${d.default.rootData}`),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{e.var(d.default.instancePath,u._`""`),e.var(d.default.parentData,u._`undefined`),e.var(d.default.parentDataProperty,u._`undefined`),e.var(d.default.rootData,d.default.data),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`{}`)})}(e,n),e.code(s)}):e.func(t,u._`${d.default.data}, ${function(e){return u._`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${e.dynamicRef?u._`, ${d.default.dynamicAnchors}={}`:u.nil}}={}`}(n)}`,a.$async,()=>e.code(g(r,n)).code(s))}function g(e,t){const r="object"==typeof e&&e[t.schemaId];return r&&(t.code.source||t.code.process)?u._`/*# sourceURL=${r} */`:u.nil}function v(e,t){b(e)&&(k(e),y(e))?function(e,t){const{schema:r,gen:a,opts:n}=e;n.$comment&&r.$comment&&w(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,p.resolveUrl)(e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const s=a.const("_errs",d.default.errors);_(e,s),a.var(t,u._`${s} === ${d.default.errors}`)}(e,t):(0,a.boolOrEmptySchema)(e,t)}function y({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function b(e){return"boolean"!=typeof e.schema}function k(e){(0,m.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:r,opts:a,self:n}=e;t.$ref&&a.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(t,n.RULES)&&n.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}(e)}function _(e,t){if(e.opts.jtd)return $(e,[],!1,t);const r=(0,n.getSchemaTypes)(e.schema);$(e,r,!(0,n.coerceAndCheckDataType)(e,r),t)}function w({gen:e,schemaEnv:t,schema:r,errSchemaPath:a,opts:n}){const s=r.$comment;if(!0===n.$comment)e.code(u._`${d.default.self}.logger.log(${s})`);else if("function"==typeof n.$comment){const r=u.str`${a}/$comment`,n=e.scopeValue("root",{ref:t.root});e.code(u._`${d.default.self}.opts.$comment(${s}, ${r}, ${n}.schema)`)}}function $(e,t,r,a){const{gen:n,schema:i,data:c,allErrors:l,opts:p,self:f}=e,{RULES:h}=f;function g(m){(0,s.shouldUseGroup)(i,m)&&(m.type?(n.if((0,o.checkDataType)(m.type,c,p.strictNumbers)),x(e,m),1===t.length&&t[0]===m.type&&r&&(n.else(),(0,o.reportTypeError)(e)),n.endIf()):x(e,m),l||n.if(u._`${d.default.errors} === ${a||0}`))}!i.$ref||!p.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(i,h)?(p.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach(t=>{S(e.dataTypes,t)||P(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}),e.dataTypes=e.dataTypes.filter(e=>S(t,e))})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&P(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const r=e.self.RULES.all;for(const a in r){const n=r[a];if("object"==typeof n&&(0,s.shouldUseRule)(e.schema,n)){const{type:r}=n.definition;r.length&&!r.some(e=>E(t,e))&&P(e,`missing type "${r.join(",")}" for keyword "${a}"`)}}}(e,e.dataTypes)}(e,t),n.block(()=>{for(const e of h.rules)g(e);g(h.post)})):n.block(()=>O(e,"$ref",h.all.$ref.definition))}function x(e,t){const{gen:r,schema:a,opts:{useDefaults:n}}=e;n&&(0,i.assignDefaults)(e,t.type),r.block(()=>{for(const r of t.rules)(0,s.shouldUseRule)(a,r)&&O(e,r.keyword,r.definition,t.type)})}function E(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function S(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function P(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,m.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){b(e)&&(k(e),y(e))?function(e){const{schema:t,opts:r,gen:a}=e;h(e,()=>{r.$comment&&t.$comment&&w(e),function(e){const{schema:t,opts:r}=e;void 0!==t.default&&r.useDefaults&&r.strictSchema&&(0,m.checkStrictMode)(e,"default is ignored in the schema root")}(e),a.let(d.default.vErrors,null),a.let(d.default.errors,0),r.unevaluated&&function(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",u._`${r}.evaluated`),t.if(u._`${e.evaluated}.dynamicProps`,()=>t.assign(u._`${e.evaluated}.props`,u._`undefined`)),t.if(u._`${e.evaluated}.dynamicItems`,()=>t.assign(u._`${e.evaluated}.items`,u._`undefined`))}(e),_(e),function(e){const{gen:t,schemaEnv:r,validateName:a,ValidationError:n,opts:s}=e;r.$async?t.if(u._`${d.default.errors} === 0`,()=>t.return(d.default.data),()=>t.throw(u._`new ${n}(${d.default.vErrors})`)):(t.assign(u._`${a}.errors`,d.default.vErrors),s.unevaluated&&function({gen:e,evaluated:t,props:r,items:a}){r instanceof u.Name&&e.assign(u._`${t}.props`,r);a instanceof u.Name&&e.assign(u._`${t}.items`,a)}(e),t.return(u._`${d.default.errors} === 0`))}(e)})}(e):h(e,()=>(0,a.topBoolOrEmptySchema)(e))};class C{constructor(e,t,r){if((0,c.validateKeywordUsage)(e,t,r),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=r,this.data=e.data,this.schema=e.schema[r],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,m.schemaRefOrVal)(e,this.schema,r,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",A(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,c.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${r} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",d.default.errors))}result(e,t,r){this.failResult((0,u.not)(e),t,r)}failResult(e,t,r){this.gen.if(e),r?r():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,u.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(u._`${t} !== undefined && (${(0,u.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t)return this.setParams(t),this._error(e,r),void this.setParams({});this._error(e,r)}_error(e,t){(e?f.reportExtraError:f.reportError)(this,this.def.error,t)}$dataError(){(0,f.reportError)(this,this.def.$dataError||f.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,f.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,r=u.nil){this.gen.block(()=>{this.check$data(e,r),t()})}check$data(e=u.nil,t=u.nil){if(!this.$data)return;const{gen:r,schemaCode:a,schemaType:n,def:s}=this;r.if((0,u.or)(u._`${a} === undefined`,t)),e!==u.nil&&r.assign(e,!0),(n.length||s.validateSchema)&&(r.elseIf(this.invalid$data()),this.$dataError(),e!==u.nil&&r.assign(e,!1)),r.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:a,it:n}=this;return(0,u.or)(function(){if(r.length){if(!(t instanceof u.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return u._`${(0,o.checkDataTypes)(e,t,n.opts.strictNumbers,o.DataType.Wrong)}`}return u.nil}(),function(){if(a.validateSchema){const r=e.scopeValue("validate$data",{ref:a.validateSchema});return u._`!${r}(${t})`}return u.nil}())}subschema(e,t){const r=(0,l.getSubschema)(this.it,e);(0,l.extendSubschemaData)(r,this.it,e),(0,l.extendSubschemaMode)(r,e);const a={...this.it,...r,items:void 0,props:void 0};return v(a,t),a}mergeEvaluated(e,t){const{it:r,gen:a}=this;r.opts.unevaluated&&(!0!==r.props&&void 0!==e.props&&(r.props=m.mergeEvaluated.props(a,e.props,r.props,t)),!0!==r.items&&void 0!==e.items&&(r.items=m.mergeEvaluated.items(a,e.items,r.items,t)))}mergeValidEvaluated(e,t){const{it:r,gen:a}=this;if(r.opts.unevaluated&&(!0!==r.props||!0!==r.items))return a.if(t,()=>this.mergeEvaluated(e,u.Name)),!0}}function O(e,t,r,a){const n=new C(e,r,t);"code"in r?r.code(n,a):n.$data&&r.validate?(0,c.funcKeywordCode)(n,r):"macro"in r?(0,c.macroKeywordCode)(n,r):(r.compile||r.validate)&&(0,c.funcKeywordCode)(n,r)}t.KeywordCxt=C;const D=/^\/(?:[^~]|~0|~1)*$/,N=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function A(e,{dataLevel:t,dataNames:r,dataPathArr:a}){let n,s;if(""===e)return d.default.rootData;if("/"===e[0]){if(!D.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);n=e,s=d.default.rootData}else{const o=N.exec(e);if(!o)throw new Error(`Invalid JSON-pointer: ${e}`);const i=+o[1];if(n=o[2],"#"===n){if(i>=t)throw new Error(c("property/index",i));return a[t-i]}if(i>t)throw new Error(c("data",i));if(s=r[t-i],!n)return s}let o=s;const i=n.split("/");for(const e of i)e&&(s=u._`${s}${(0,u.getProperty)((0,m.unescapeJsonPointer)(e))}`,o=u._`${o} && ${s}`);return o;function c(e,r){return`Cannot access ${e} ${r} levels up, current level is ${t}`}}t.getData=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const a=r(1),n=r(3),s=r(7);function o(e,t){const r=e.const("err",t);e.if(a._`${s.default.vErrors} === null`,()=>e.assign(s.default.vErrors,a._`[${r}]`),a._`${s.default.vErrors}.push(${r})`),e.code(a._`${s.default.errors}++`)}function i(e,t){const{gen:r,validateName:n,schemaEnv:s}=e;s.$async?r.throw(a._`new ${e.ValidationError}(${t})`):(r.assign(a._`${n}.errors`,t),r.return(!1))}t.keywordError={message:({keyword:e})=>a.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?a.str`"${e}" keyword must be ${t} ($data)`:a.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,r=t.keywordError,n,s){const{it:c}=e,{gen:u,compositeRule:d,allErrors:p}=c,m=l(e,r,n);(null!=s?s:d||p)?o(u,m):i(c,a._`[${m}]`)},t.reportExtraError=function(e,r=t.keywordError,a){const{it:n}=e,{gen:c,compositeRule:u,allErrors:d}=n;o(c,l(e,r,a)),u||d||i(n,s.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(s.default.errors,t),e.if(a._`${s.default.vErrors} !== null`,()=>e.if(t,()=>e.assign(a._`${s.default.vErrors}.length`,t),()=>e.assign(s.default.vErrors,null)))},t.extendErrors=function({gen:e,keyword:t,schemaValue:r,data:n,errsCount:o,it:i}){if(void 0===o)throw new Error("ajv implementation error");const c=e.name("err");e.forRange("i",o,s.default.errors,o=>{e.const(c,a._`${s.default.vErrors}[${o}]`),e.if(a._`${c}.instancePath === undefined`,()=>e.assign(a._`${c}.instancePath`,(0,a.strConcat)(s.default.instancePath,i.errorPath))),e.assign(a._`${c}.schemaPath`,a.str`${i.errSchemaPath}/${t}`),i.opts.verbose&&(e.assign(a._`${c}.schema`,r),e.assign(a._`${c}.data`,n))})};const c={keyword:new a.Name("keyword"),schemaPath:new a.Name("schemaPath"),params:new a.Name("params"),propertyName:new a.Name("propertyName"),message:new a.Name("message"),schema:new a.Name("schema"),parentSchema:new a.Name("parentSchema")};function l(e,t,r){const{createErrors:n}=e.it;return!1===n?a._`{}`:function(e,t,r={}){const{gen:n,it:o}=e,i=[u(o,r),d(e,r)];return function(e,{params:t,message:r},n){const{keyword:o,data:i,schemaValue:l,it:u}=e,{opts:d,propertyName:p,topSchemaRef:m,schemaPath:f}=u;n.push([c.keyword,o],[c.params,"function"==typeof t?t(e):t||a._`{}`]),d.messages&&n.push([c.message,"function"==typeof r?r(e):r]);d.verbose&&n.push([c.schema,l],[c.parentSchema,a._`${m}${f}`],[s.default.data,i]);p&&n.push([c.propertyName,p])}(e,t,i),n.object(...i)}(e,t,r)}function u({errorPath:e},{instancePath:t}){const r=t?a.str`${e}${(0,n.getErrorPath)(t,n.Type.Str)}`:e;return[s.default.instancePath,(0,a.strConcat)(s.default.instancePath,r)]}function d({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:s}){let o=s?t:a.str`${t}/${e}`;return r&&(o=a.str`${o}${(0,n.getErrorPath)(r,n.Type.Str)}`),[c.schemaPath,o]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class a{}t._CodeOrName=a,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class n extends a{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=n;class s extends a{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce((e,t)=>`${e}${t}`,"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e),{})}}function o(e,...t){const r=[e[0]];let a=0;for(;a<t.length;)l(r,t[a]),r.push(e[++a]);return new s(r)}t._Code=s,t.nil=new s(""),t._=o;const i=new s("+");function c(e,...t){const r=[d(e[0])];let a=0;for(;a<t.length;)r.push(i),l(r,t[a]),r.push(i,d(e[++a]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===i){const r=u(e[t-1],e[t+1]);if(void 0!==r){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}(r),new s(r)}function l(e,t){var r;t instanceof s?e.push(...t._items):t instanceof n?e.push(t):e.push("number"==typeof(r=t)||"boolean"==typeof r||null===r?r:d(Array.isArray(r)?r.join(","):r))}function u(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof n||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof n?void 0:`"${e}${t.slice(1)}`}function d(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=c,t.addCodeArg=l,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:c`${e}${t}`},t.stringify=function(e){return new s(d(e))},t.safeStringify=d,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new s(`.${e}`):o`[${e}]`},t.regexpCode=function(e){return new s(e.toString())}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const a=r(36),n=r(37),s=r(10),o=r(1),i=r(3);var c;function l(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(a.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(c=t.DataType||(t.DataType={})),t.getSchemaTypes=function(e){const t=l(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=l,t.coerceAndCheckDataType=function(e,t){const{gen:r,data:a,opts:s}=e,i=function(e,t){return t?e.filter(e=>u.has(e)||"array"===t&&"array"===e):[]}(t,s.coerceTypes),l=t.length>0&&!(0===i.length&&1===t.length&&(0,n.schemaHasRulesForType)(e,t[0]));if(l){const n=p(t,a,s.strictNumbers,c.Wrong);r.if(n,()=>{i.length?function(e,t,r){const{gen:a,data:n,opts:s}=e,i=a.let("dataType",o._`typeof ${n}`),c=a.let("coerced",o._`undefined`);"array"===s.coerceTypes&&a.if(o._`${i} == 'object' && Array.isArray(${n}) && ${n}.length == 1`,()=>a.assign(n,o._`${n}[0]`).assign(i,o._`typeof ${n}`).if(p(t,n,s.strictNumbers),()=>a.assign(c,n)));a.if(o._`${c} !== undefined`);for(const e of r)(u.has(e)||"array"===e&&"array"===s.coerceTypes)&&l(e);function l(e){switch(e){case"string":return void a.elseIf(o._`${i} == "number" || ${i} == "boolean"`).assign(c,o._`"" + ${n}`).elseIf(o._`${n} === null`).assign(c,o._`""`);case"number":return void a.elseIf(o._`${i} == "boolean" || ${n} === null
|
|
2
|
+
|| (${i} == "string" && ${n} && ${n} == +${n})`).assign(c,o._`+${n}`);case"integer":return void a.elseIf(o._`${i} === "boolean" || ${n} === null
|
|
3
|
+
|| (${i} === "string" && ${n} && ${n} == +${n} && !(${n} % 1))`).assign(c,o._`+${n}`);case"boolean":return void a.elseIf(o._`${n} === "false" || ${n} === 0 || ${n} === null`).assign(c,!1).elseIf(o._`${n} === "true" || ${n} === 1`).assign(c,!0);case"null":return a.elseIf(o._`${n} === "" || ${n} === 0 || ${n} === false`),void a.assign(c,null);case"array":a.elseIf(o._`${i} === "string" || ${i} === "number"
|
|
4
|
+
|| ${i} === "boolean" || ${n} === null`).assign(c,o._`[${n}]`)}}a.else(),f(e),a.endIf(),a.if(o._`${c} !== undefined`,()=>{a.assign(n,c),function({gen:e,parentData:t,parentDataProperty:r},a){e.if(o._`${t} !== undefined`,()=>e.assign(o._`${t}[${r}]`,a))}(e,c)})}(e,t,i):f(e)})}return l};const u=new Set(["string","number","integer","boolean","null"]);function d(e,t,r,a=c.Correct){const n=a===c.Correct?o.operators.EQ:o.operators.NEQ;let s;switch(e){case"null":return o._`${t} ${n} null`;case"array":s=o._`Array.isArray(${t})`;break;case"object":s=o._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":s=i(o._`!(${t} % 1) && !isNaN(${t})`);break;case"number":s=i();break;default:return o._`typeof ${t} ${n} ${e}`}return a===c.Correct?s:(0,o.not)(s);function i(e=o.nil){return(0,o.and)(o._`typeof ${t} == "number"`,e,r?o._`isFinite(${t})`:o.nil)}}function p(e,t,r,a){if(1===e.length)return d(e[0],t,r,a);let n;const s=(0,i.toHash)(e);if(s.array&&s.object){const e=o._`typeof ${t} != "object"`;n=s.null?e:o._`!${t} || ${e}`,delete s.null,delete s.array,delete s.object}else n=o.nil;s.number&&delete s.integer;for(const e in s)n=(0,o.and)(n,d(e,t,r,a));return n}t.checkDataType=d,t.checkDataTypes=p;const m={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?o._`{type: ${e}}`:o._`{type: ${t}}`};function f(e){const t=function(e){const{gen:t,data:r,schema:a}=e,n=(0,i.schemaRefOrVal)(e,a,"type");return{gen:t,keyword:"type",data:r,schema:a.type,schemaCode:n,schemaValue:n,parentSchema:a,params:{},it:e}}(e);(0,s.reportError)(t,m)}t.reportTypeError=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const a=r(3),n=r(14),s=r(119),o=r(15),i=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!l(e):!!t&&function e(t){let r=0;for(const n in t){if("$ref"===n)return 1/0;if(r++,!i.has(n)&&("object"==typeof t[n]&&(0,a.eachItem)(t[n],t=>r+=e(t)),r===1/0))return 1/0}return r}(e)<=t)};const c=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(e){for(const t in e){if(c.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(l))return!0;if("object"==typeof r&&l(r))return!0}return!1}function u(e="",t){return!1!==t&&(e=m(e)),d(o.parse(e))}function d(e){return o.serialize(e).split("#")[0]+"#"}t.getFullPath=u,t._getFullPath=d;const p=/#\/?$/;function m(e){return e?e.replace(p,""):""}t.normalizeId=m,t.resolveUrl=function(e,t){return t=m(t),o.resolve(e,t)};const f=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:r}=this.opts,a=m(e[r]||t),i={"":a},c=u(a,!1),l={},d=new Set;return s(e,{allKeys:!0},(e,t,a,n)=>{if(void 0===n)return;const s=c+t;let u=i[n];function g(t){if(t=m(u?o.resolve(u,t):t),d.has(t))throw h(t);d.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?p(e,r.schema,t):t!==m(s)&&("#"===t[0]?(p(e,l[t],t),l[t]=e):this.refs[t]=s),t}function v(e){if("string"==typeof e){if(!f.test(e))throw new Error(`invalid anchor "${e}"`);g.call(this,`#${e}`)}}"string"==typeof e[r]&&(u=g.call(this,e[r])),v.call(this,e.$anchor),v.call(this,e.$dynamicAnchor),i[t]=u}),l;function p(e,t,r){if(void 0!==t&&!n(e,t))throw h(r)}function h(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},function(e,t,r){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var a,n,s;if(Array.isArray(t)){if((a=t.length)!=r.length)return!1;for(n=a;0!=n--;)if(!e(t[n],r[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((a=(s=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(n=a;0!=n--;)if(!Object.prototype.hasOwnProperty.call(r,s[n]))return!1;for(n=a;0!=n--;){var o=s[n];if(!e(t[o],r[o]))return!1}return!0}return t!=t&&r!=r}},function(e,t,r){
|
|
5
|
+
/** @license URI.js v4.2.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
6
|
+
!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var a=t.length-1,n=1;n<a;++n)t[n]=t[n].slice(1,-1);return t[a]=t[a].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function a(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function n(e){return e.toUpperCase()}function s(e){var a=t("[0-9]","[A-Fa-f]"),n=r(r("%[EFef]"+a+"%"+a+a+"%"+a+a)+"|"+r("%[89A-Fa-f]"+a+"%"+a+a)+"|"+r("%"+a+a)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",o=t("[\\:\\/\\?\\#\\[\\]\\@]",s),i=e?"[\\uE000-\\uF8FF]":"[]",c=t("[A-Za-z]","[0-9]","[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),l=r("[A-Za-z]"+t("[A-Za-z]","[0-9]","[\\+\\-\\.]")+"*"),u=r(r(n+"|"+t(c,s,"[\\:]"))+"*"),d=(r(r("25[0-5]")+"|"+r("2[0-4][0-9]")+"|"+r("1[0-9][0-9]")+"|"+r("[1-9][0-9]")+"|[0-9]"),r(r("25[0-5]")+"|"+r("2[0-4][0-9]")+"|"+r("1[0-9][0-9]")+"|"+r("0?[1-9][0-9]")+"|0?0?[0-9]")),p=r(d+"\\."+d+"\\."+d+"\\."+d),m=r(a+"{1,4}"),f=r(r(m+"\\:"+m)+"|"+p),h=r(r(m+"\\:")+"{6}"+f),g=r("\\:\\:"+r(m+"\\:")+"{5}"+f),v=r(r(m)+"?\\:\\:"+r(m+"\\:")+"{4}"+f),y=r(r(r(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+r(m+"\\:")+"{3}"+f),b=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+f),k=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+f),_=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+f),w=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),$=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),x=r([h,g,v,y,b,k,_,w,$].join("|")),E=r(r(c+"|"+n)+"+"),S=(r(x+"\\%25"+E),r(x+r("\\%25|\\%(?!"+a+"{2})")+E)),P=r("[vV]"+a+"+\\."+t(c,s,"[\\:]")+"+"),C=r("\\["+r(S+"|"+x+"|"+P)+"\\]"),O=r(r(n+"|"+t(c,s))+"*"),D=r(C+"|"+p+"(?!"+O+")|"+O),N=r("[0-9]*"),A=r(r(u+"@")+"?"+D+r("\\:"+N)+"?"),j=r(n+"|"+t(c,s,"[\\:\\@]")),T=r(j+"*"),I=r(j+"+"),M=r(r(n+"|"+t(c,s,"[\\@]"))+"+"),R=r(r("\\/"+T)+"*"),q=r("\\/"+r(I+R)+"?"),z=r(M+R),F=r(I+R),L="(?!"+j+")",V=(r(R+"|"+q+"|"+z+"|"+F+"|"+L),r(r(j+"|"+t("[\\/\\?]",i))+"*")),U=r(r(j+"|[\\/\\?]")+"*"),K=r(r("\\/\\/"+A+R)+"|"+q+"|"+F+"|"+L),B=r(l+"\\:"+K+r("\\?"+V)+"?"+r("\\#"+U)+"?"),G=r(r("\\/\\/"+A+R)+"|"+q+"|"+z+"|"+L),H=r(G+r("\\?"+V)+"?"+r("\\#"+U)+"?");return r(B+"|"+H),r(l+"\\:"+K+r("\\?"+V)+"?"),r(r("\\/\\/("+r("("+u+")@")+"?("+D+")"+r("\\:("+N+")")+"?)")+"?("+R+"|"+q+"|"+F+"|"+L+")"),r("\\?("+V+")"),r("\\#("+U+")"),r(r("\\/\\/("+r("("+u+")@")+"?("+D+")"+r("\\:("+N+")")+"?)")+"?("+R+"|"+q+"|"+z+"|"+L+")"),r("\\?("+V+")"),r("\\#("+U+")"),r(r("\\/\\/("+r("("+u+")@")+"?("+D+")"+r("\\:("+N+")")+"?)")+"?("+R+"|"+q+"|"+F+"|"+L+")"),r("\\?("+V+")"),r("\\#("+U+")"),r("("+u+")@"),r("\\:("+N+")"),{NOT_SCHEME:new RegExp(t("[^]","[A-Za-z]","[0-9]","[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",c,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",c,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",c,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",c,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",c,s,"[\\:\\@\\/\\?]",i),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",c,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",c,s),"g"),UNRESERVED:new RegExp(c,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",c,o),"g"),PCT_ENCODED:new RegExp(n,"g"),IPV4ADDRESS:new RegExp("^("+p+")$"),IPV6ADDRESS:new RegExp("^\\[?("+x+")"+r(r("\\%25|\\%(?!"+a+"{2})")+"("+E+")")+"?\\]?$")}}var o=s(!1),i=s(!0),c=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],a=!0,n=!1,s=void 0;try{for(var o,i=e[Symbol.iterator]();!(a=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){n=!0,s=e}finally{try{!a&&i.return&&i.return()}finally{if(n)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=2147483647,u=/^xn--/,d=/[^\0-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,m={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,h=String.fromCharCode;function g(e){throw new RangeError(m[e])}function v(e,t){var r=e.split("@"),a="";r.length>1&&(a=r[0]+"@",e=r[1]);var n=function(e,t){for(var r=[],a=e.length;a--;)r[a]=t(e[a]);return r}((e=e.replace(p,".")).split("."),t).join(".");return a+n}function y(e){for(var t=[],r=0,a=e.length;r<a;){var n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<a){var s=e.charCodeAt(r++);56320==(64512&s)?t.push(((1023&n)<<10)+(1023&s)+65536):(t.push(n),r--)}else t.push(n)}return t}var b=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},k=function(e,t,r){var a=0;for(e=r?f(e/700):e>>1,e+=f(e/t);e>455;a+=36)e=f(e/35);return f(a+36*e/(e+38))},_=function(e){var t,r=[],a=e.length,n=0,s=128,o=72,i=e.lastIndexOf("-");i<0&&(i=0);for(var c=0;c<i;++c)e.charCodeAt(c)>=128&&g("not-basic"),r.push(e.charCodeAt(c));for(var u=i>0?i+1:0;u<a;){for(var d=n,p=1,m=36;;m+=36){u>=a&&g("invalid-input");var h=(t=e.charCodeAt(u++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(h>=36||h>f((l-n)/p))&&g("overflow"),n+=h*p;var v=m<=o?1:m>=o+26?26:m-o;if(h<v)break;var y=36-v;p>f(l/y)&&g("overflow"),p*=y}var b=r.length+1;o=k(n-d,b,0==d),f(n/b)>l-s&&g("overflow"),s+=f(n/b),n%=b,r.splice(n++,0,s)}return String.fromCodePoint.apply(String,r)},w=function(e){var t=[],r=(e=y(e)).length,a=128,n=0,s=72,o=!0,i=!1,c=void 0;try{for(var u,d=e[Symbol.iterator]();!(o=(u=d.next()).done);o=!0){var p=u.value;p<128&&t.push(h(p))}}catch(e){i=!0,c=e}finally{try{!o&&d.return&&d.return()}finally{if(i)throw c}}var m=t.length,v=m;for(m&&t.push("-");v<r;){var _=l,w=!0,$=!1,x=void 0;try{for(var E,S=e[Symbol.iterator]();!(w=(E=S.next()).done);w=!0){var P=E.value;P>=a&&P<_&&(_=P)}}catch(e){$=!0,x=e}finally{try{!w&&S.return&&S.return()}finally{if($)throw x}}var C=v+1;_-a>f((l-n)/C)&&g("overflow"),n+=(_-a)*C,a=_;var O=!0,D=!1,N=void 0;try{for(var A,j=e[Symbol.iterator]();!(O=(A=j.next()).done);O=!0){var T=A.value;if(T<a&&++n>l&&g("overflow"),T==a){for(var I=n,M=36;;M+=36){var R=M<=s?1:M>=s+26?26:M-s;if(I<R)break;var q=I-R,z=36-R;t.push(h(b(R+q%z,0))),I=f(q/z)}t.push(h(b(I,0))),s=k(n,C,v==m),n=0,++v}}}catch(e){D=!0,N=e}finally{try{!O&&j.return&&j.return()}finally{if(D)throw N}}++n,++a}return t.join("")},$={version:"2.1.0",ucs2:{decode:y,encode:function(e){return String.fromCodePoint.apply(String,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(e))}},decode:_,encode:w,toASCII:function(e){return v(e,(function(e){return d.test(e)?"xn--"+w(e):e}))},toUnicode:function(e){return v(e,(function(e){return u.test(e)?_(e.slice(4).toLowerCase()):e}))}},x={};function E(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function S(e){for(var t="",r=0,a=e.length;r<a;){var n=parseInt(e.substr(r+1,2),16);if(n<128)t+=String.fromCharCode(n),r+=3;else if(n>=194&&n<224){if(a-r>=6){var s=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&n)<<6|63&s)}else t+=e.substr(r,6);r+=6}else if(n>=224){if(a-r>=9){var o=parseInt(e.substr(r+4,2),16),i=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&n)<<12|(63&o)<<6|63&i)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function P(e,t){function r(e){var r=S(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,E).replace(t.PCT_ENCODED,n)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,E).replace(t.PCT_ENCODED,n)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,E).replace(t.PCT_ENCODED,n)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,E).replace(t.PCT_ENCODED,n)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,E).replace(t.PCT_ENCODED,n)),e}function C(e){return e.replace(/^0*(.*)/,"$1")||"0"}function O(e,t){var r=e.match(t.IPV4ADDRESS)||[],a=c(r,2)[1];return a?a.split(".").map(C).join("."):e}function D(e,t){var r=e.match(t.IPV6ADDRESS)||[],a=c(r,3),n=a[1],s=a[2];if(n){for(var o=n.toLowerCase().split("::").reverse(),i=c(o,2),l=i[0],u=i[1],d=u?u.split(":").map(C):[],p=l.split(":").map(C),m=t.IPV4ADDRESS.test(p[p.length-1]),f=m?7:8,h=p.length-f,g=Array(f),v=0;v<f;++v)g[v]=d[v]||p[h+v]||"";m&&(g[f-1]=O(g[f-1],t));var y=g.reduce((function(e,t,r){if(!t||"0"===t){var a=e[e.length-1];a&&a.index+a.length===r?a.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(y&&y.length>1){var k=g.slice(0,y.index),_=g.slice(y.index+y.length);b=k.join(":")+"::"+_.join(":")}else b=g.join(":");return s&&(b+="%"+s),b}return e}var N=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,A=void 0==="".match(/(){0}/)[1];function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},a=!1!==t.iri?i:o;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var n=e.match(N);if(n){A?(r.scheme=n[1],r.userinfo=n[3],r.host=n[4],r.port=parseInt(n[5],10),r.path=n[6]||"",r.query=n[7],r.fragment=n[8],isNaN(r.port)&&(r.port=n[5])):(r.scheme=n[1]||void 0,r.userinfo=-1!==e.indexOf("@")?n[3]:void 0,r.host=-1!==e.indexOf("//")?n[4]:void 0,r.port=parseInt(n[5],10),r.path=n[6]||"",r.query=-1!==e.indexOf("?")?n[7]:void 0,r.fragment=-1!==e.indexOf("#")?n[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?n[4]:void 0)),r.host&&(r.host=D(O(r.host,a),a)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var s=x[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||s&&s.unicodeSupport)P(r,a);else{if(r.host&&(t.domainHost||s&&s.domainHost))try{r.host=$.toASCII(r.host.replace(a.PCT_ENCODED,S).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}P(r,o)}s&&s.parse&&s.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}var T=/^\.\.?\//,I=/^\/\.(\/|$)/,M=/^\/\.\.(\/|$)/,R=/^\/?(?:.|\n)*?(?=\/|$)/;function q(e){for(var t=[];e.length;)if(e.match(T))e=e.replace(T,"");else if(e.match(I))e=e.replace(I,"/");else if(e.match(M))e=e.replace(M,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(R);if(!r)throw new Error("Unexpected dot segment condition");var a=r[0];e=e.slice(a.length),t.push(a)}return t.join("")}function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?i:o,a=[],n=x[(t.scheme||e.scheme||"").toLowerCase()];if(n&&n.serialize&&n.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||n&&n.domainHost)try{e.host=t.iri?$.toUnicode(e.host):$.toASCII(e.host.replace(r.PCT_ENCODED,S).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}P(e,r),"suffix"!==t.reference&&e.scheme&&(a.push(e.scheme),a.push(":"));var s=function(e,t){var r=!1!==t.iri?i:o,a=[];return void 0!==e.userinfo&&(a.push(e.userinfo),a.push("@")),void 0!==e.host&&a.push(D(O(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"==typeof e.port&&(a.push(":"),a.push(e.port.toString(10))),a.length?a.join(""):void 0}(e,t);if(void 0!==s&&("suffix"!==t.reference&&a.push("//"),a.push(s),e.path&&"/"!==e.path.charAt(0)&&a.push("/")),void 0!==e.path){var c=e.path;t.absolutePath||n&&n.absolutePath||(c=q(c)),void 0===s&&(c=c.replace(/^\/\//,"/%2F")),a.push(c)}return void 0!==e.query&&(a.push("?"),a.push(e.query)),void 0!==e.fragment&&(a.push("#"),a.push(e.fragment)),a.join("")}function F(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a={};return arguments[3]||(e=j(z(e,r),r),t=j(z(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(a.scheme=t.scheme,a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=q(t.path||""),a.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=q(t.path||""),a.query=t.query):(t.path?("/"===t.path.charAt(0)?a.path=q(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?a.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:a.path=t.path:a.path="/"+t.path,a.path=q(a.path)),a.query=t.query):(a.path=e.path,void 0!==t.query?a.query=t.query:a.query=e.query),a.userinfo=e.userinfo,a.host=e.host,a.port=e.port),a.scheme=e.scheme),a.fragment=t.fragment,a}function L(e,t){return e&&e.toString().replace(t&&t.iri?i.PCT_ENCODED:o.PCT_ENCODED,S)}var V={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){return e.port!==("https"!==String(e.scheme).toLowerCase()?80:443)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},U={scheme:"https",domainHost:V.domainHost,parse:V.parse,serialize:V.serialize},K={},B="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",G="[0-9A-Fa-f]",H=r(r("%[EFef][0-9A-Fa-f]%"+G+G+"%"+G+G)+"|"+r("%[89A-Fa-f][0-9A-Fa-f]%"+G+G)+"|"+r("%"+G+G)),Z=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),J=new RegExp(B,"g"),W=new RegExp(H,"g"),Y=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',Z),"g"),X=new RegExp(t("[^]",B,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),Q=X;function ee(e){var t=S(e);return t.match(J)?t:e}var te={scheme:"mailto",parse:function(e,t){var r=e,a=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var n=!1,s={},o=r.query.split("&"),i=0,c=o.length;i<c;++i){var l=o[i].split("=");switch(l[0]){case"to":for(var u=l[1].split(","),d=0,p=u.length;d<p;++d)a.push(u[d]);break;case"subject":r.subject=L(l[1],t);break;case"body":r.body=L(l[1],t);break;default:n=!0,s[L(l[0],t)]=L(l[1],t)}}n&&(r.headers=s)}r.query=void 0;for(var m=0,f=a.length;m<f;++m){var h=a[m].split("@");if(h[0]=L(h[0]),t.unicodeSupport)h[1]=L(h[1],t).toLowerCase();else try{h[1]=$.toASCII(L(h[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}a[m]=h.join("@")}return r},serialize:function(e,t){var r,a=e,s=null!=(r=e.to)?r instanceof Array?r:"number"!=typeof r.length||r.split||r.setInterval||r.call?[r]:Array.prototype.slice.call(r):[];if(s){for(var o=0,i=s.length;o<i;++o){var c=String(s[o]),l=c.lastIndexOf("@"),u=c.slice(0,l).replace(W,ee).replace(W,n).replace(Y,E),d=c.slice(l+1);try{d=t.iri?$.toUnicode(d):$.toASCII(L(d,t).toLowerCase())}catch(e){a.error=a.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}s[o]=u+"@"+d}a.path=s.join(",")}var p=e.headers=e.headers||{};e.subject&&(p.subject=e.subject),e.body&&(p.body=e.body);var m=[];for(var f in p)p[f]!==K[f]&&m.push(f.replace(W,ee).replace(W,n).replace(X,E)+"="+p[f].replace(W,ee).replace(W,n).replace(Q,E));return m.length&&(a.query=m.join("&")),a}},re=/^([^\:]+)\:(.*)/,ae={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(re),a=e;if(r){var n=t.scheme||a.scheme||"urn",s=r[1].toLowerCase(),o=r[2],i=n+":"+(t.nid||s),c=x[i];a.nid=s,a.nss=o,a.path=void 0,c&&(a=c.parse(a,t))}else a.error=a.error||"URN can not be parsed.";return a},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",a=e.nid,n=r+":"+(t.nid||a),s=x[n];s&&(e=s.serialize(e,t));var o=e,i=e.nss;return o.path=(a||t.nid)+":"+i,o}},ne=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,se={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(ne)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};x[V.scheme]=V,x[U.scheme]=U,x[te.scheme]=te,x[ae.scheme]=ae,x[se.scheme]=se,e.SCHEMES=x,e.pctEncChar=E,e.pctDecChars=S,e.parse=j,e.removeDotSegments=q,e.serialize=z,e.resolveComponents=F,e.resolve=function(e,t,r){var a=function(e,t){var r=e;if(t)for(var a in t)r[a]=t[a];return r}({scheme:"null"},r);return z(F(j(e,a),j(t,a),a,!0),a)},e.normalize=function(e,t){return"string"==typeof e?e=z(j(e,t),t):"object"===a(e)&&(e=j(z(e,t),t)),e},e.equal=function(e,t,r){return"string"==typeof e?e=z(j(e,r),r):"object"===a(e)&&(e=z(e,r)),"string"==typeof t?t=z(j(t,r),r):"object"===a(t)&&(t=z(t,r)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?i.ESCAPE:o.ESCAPE,E)},e.unescapeComponent=L,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const a=r(185),n=r(19),s=r(46),o=r(19),i=r(186),c=r(187),l=r(188),u=r(0),d=r(8),p=r(20),m=r(4),f=r(17);function h({gen:e,validateName:t,schema:r,schemaEnv:a,opts:n},s){n.code.es5?e.func(t,u._`${d.default.data}, ${d.default.valCxt}`,a.$async,()=>{e.code(u._`"use strict"; ${g(r,n)}`),function(e,t){e.if(d.default.valCxt,()=>{e.var(d.default.instancePath,u._`${d.default.valCxt}.${d.default.instancePath}`),e.var(d.default.parentData,u._`${d.default.valCxt}.${d.default.parentData}`),e.var(d.default.parentDataProperty,u._`${d.default.valCxt}.${d.default.parentDataProperty}`),e.var(d.default.rootData,u._`${d.default.valCxt}.${d.default.rootData}`),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{e.var(d.default.instancePath,u._`""`),e.var(d.default.parentData,u._`undefined`),e.var(d.default.parentDataProperty,u._`undefined`),e.var(d.default.rootData,d.default.data),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`{}`)})}(e,n),e.code(s)}):e.func(t,u._`${d.default.data}, ${function(e){return u._`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${e.dynamicRef?u._`, ${d.default.dynamicAnchors}={}`:u.nil}}={}`}(n)}`,a.$async,()=>e.code(g(r,n)).code(s))}function g(e,t){const r="object"==typeof e&&e[t.schemaId];return r&&(t.code.source||t.code.process)?u._`/*# sourceURL=${r} */`:u.nil}function v(e,t){b(e)&&(k(e),y(e))?function(e,t){const{schema:r,gen:a,opts:n}=e;n.$comment&&r.$comment&&w(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,p.resolveUrl)(e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const s=a.const("_errs",d.default.errors);_(e,s),a.var(t,u._`${s} === ${d.default.errors}`)}(e,t):(0,a.boolOrEmptySchema)(e,t)}function y({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function b(e){return"boolean"!=typeof e.schema}function k(e){(0,m.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:r,opts:a,self:n}=e;t.$ref&&a.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(t,n.RULES)&&n.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}(e)}function _(e,t){if(e.opts.jtd)return $(e,[],!1,t);const r=(0,n.getSchemaTypes)(e.schema);$(e,r,!(0,n.coerceAndCheckDataType)(e,r),t)}function w({gen:e,schemaEnv:t,schema:r,errSchemaPath:a,opts:n}){const s=r.$comment;if(!0===n.$comment)e.code(u._`${d.default.self}.logger.log(${s})`);else if("function"==typeof n.$comment){const r=u.str`${a}/$comment`,n=e.scopeValue("root",{ref:t.root});e.code(u._`${d.default.self}.opts.$comment(${s}, ${r}, ${n}.schema)`)}}function $(e,t,r,a){const{gen:n,schema:i,data:c,allErrors:l,opts:p,self:f}=e,{RULES:h}=f;function g(m){(0,s.shouldUseGroup)(i,m)&&(m.type?(n.if((0,o.checkDataType)(m.type,c,p.strictNumbers)),x(e,m),1===t.length&&t[0]===m.type&&r&&(n.else(),(0,o.reportTypeError)(e)),n.endIf()):x(e,m),l||n.if(u._`${d.default.errors} === ${a||0}`))}!i.$ref||!p.ignoreKeywordsWithRef&&(0,m.schemaHasRulesButRef)(i,h)?(p.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach(t=>{S(e.dataTypes,t)||P(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}),e.dataTypes=e.dataTypes.filter(e=>S(t,e))})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&P(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const r=e.self.RULES.all;for(const a in r){const n=r[a];if("object"==typeof n&&(0,s.shouldUseRule)(e.schema,n)){const{type:r}=n.definition;r.length&&!r.some(e=>E(t,e))&&P(e,`missing type "${r.join(",")}" for keyword "${a}"`)}}}(e,e.dataTypes)}(e,t),n.block(()=>{for(const e of h.rules)g(e);g(h.post)})):n.block(()=>O(e,"$ref",h.all.$ref.definition))}function x(e,t){const{gen:r,schema:a,opts:{useDefaults:n}}=e;n&&(0,i.assignDefaults)(e,t.type),r.block(()=>{for(const r of t.rules)(0,s.shouldUseRule)(a,r)&&O(e,r.keyword,r.definition,t.type)})}function E(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function S(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function P(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,m.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){b(e)&&(k(e),y(e))?function(e){const{schema:t,opts:r,gen:a}=e;h(e,()=>{r.$comment&&t.$comment&&w(e),function(e){const{schema:t,opts:r}=e;void 0!==t.default&&r.useDefaults&&r.strictSchema&&(0,m.checkStrictMode)(e,"default is ignored in the schema root")}(e),a.let(d.default.vErrors,null),a.let(d.default.errors,0),r.unevaluated&&function(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",u._`${r}.evaluated`),t.if(u._`${e.evaluated}.dynamicProps`,()=>t.assign(u._`${e.evaluated}.props`,u._`undefined`)),t.if(u._`${e.evaluated}.dynamicItems`,()=>t.assign(u._`${e.evaluated}.items`,u._`undefined`))}(e),_(e),function(e){const{gen:t,schemaEnv:r,validateName:a,ValidationError:n,opts:s}=e;r.$async?t.if(u._`${d.default.errors} === 0`,()=>t.return(d.default.data),()=>t.throw(u._`new ${n}(${d.default.vErrors})`)):(t.assign(u._`${a}.errors`,d.default.vErrors),s.unevaluated&&function({gen:e,evaluated:t,props:r,items:a}){r instanceof u.Name&&e.assign(u._`${t}.props`,r);a instanceof u.Name&&e.assign(u._`${t}.items`,a)}(e),t.return(u._`${d.default.errors} === 0`))}(e)})}(e):h(e,()=>(0,a.topBoolOrEmptySchema)(e))};class C{constructor(e,t,r){if((0,c.validateKeywordUsage)(e,t,r),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=r,this.data=e.data,this.schema=e.schema[r],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,m.schemaRefOrVal)(e,this.schema,r,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",A(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,c.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${r} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",d.default.errors))}result(e,t,r){this.failResult((0,u.not)(e),t,r)}failResult(e,t,r){this.gen.if(e),r?r():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,u.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(u._`${t} !== undefined && (${(0,u.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t)return this.setParams(t),this._error(e,r),void this.setParams({});this._error(e,r)}_error(e,t){(e?f.reportExtraError:f.reportError)(this,this.def.error,t)}$dataError(){(0,f.reportError)(this,this.def.$dataError||f.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,f.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,r=u.nil){this.gen.block(()=>{this.check$data(e,r),t()})}check$data(e=u.nil,t=u.nil){if(!this.$data)return;const{gen:r,schemaCode:a,schemaType:n,def:s}=this;r.if((0,u.or)(u._`${a} === undefined`,t)),e!==u.nil&&r.assign(e,!0),(n.length||s.validateSchema)&&(r.elseIf(this.invalid$data()),this.$dataError(),e!==u.nil&&r.assign(e,!1)),r.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:a,it:n}=this;return(0,u.or)(function(){if(r.length){if(!(t instanceof u.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return u._`${(0,o.checkDataTypes)(e,t,n.opts.strictNumbers,o.DataType.Wrong)}`}return u.nil}(),function(){if(a.validateSchema){const r=e.scopeValue("validate$data",{ref:a.validateSchema});return u._`!${r}(${t})`}return u.nil}())}subschema(e,t){const r=(0,l.getSubschema)(this.it,e);(0,l.extendSubschemaData)(r,this.it,e),(0,l.extendSubschemaMode)(r,e);const a={...this.it,...r,items:void 0,props:void 0};return v(a,t),a}mergeEvaluated(e,t){const{it:r,gen:a}=this;r.opts.unevaluated&&(!0!==r.props&&void 0!==e.props&&(r.props=m.mergeEvaluated.props(a,e.props,r.props,t)),!0!==r.items&&void 0!==e.items&&(r.items=m.mergeEvaluated.items(a,e.items,r.items,t)))}mergeValidEvaluated(e,t){const{it:r,gen:a}=this;if(r.opts.unevaluated&&(!0!==r.props||!0!==r.items))return a.if(t,()=>this.mergeEvaluated(e,u.Name)),!0}}function O(e,t,r,a){const n=new C(e,r,t);"code"in r?r.code(n,a):n.$data&&r.validate?(0,c.funcKeywordCode)(n,r):"macro"in r?(0,c.macroKeywordCode)(n,r):(r.compile||r.validate)&&(0,c.funcKeywordCode)(n,r)}t.KeywordCxt=C;const D=/^\/(?:[^~]|~0|~1)*$/,N=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function A(e,{dataLevel:t,dataNames:r,dataPathArr:a}){let n,s;if(""===e)return d.default.rootData;if("/"===e[0]){if(!D.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);n=e,s=d.default.rootData}else{const o=N.exec(e);if(!o)throw new Error(`Invalid JSON-pointer: ${e}`);const i=+o[1];if(n=o[2],"#"===n){if(i>=t)throw new Error(c("property/index",i));return a[t-i]}if(i>t)throw new Error(c("data",i));if(s=r[t-i],!n)return s}let o=s;const i=n.split("/");for(const e of i)e&&(s=u._`${s}${(0,u.getProperty)((0,m.unescapeJsonPointer)(e))}`,o=u._`${o} && ${s}`);return o;function c(e,r){return`Cannot access ${e} ${r} levels up, current level is ${t}`}}t.getData=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const a=r(0),n=r(4),s=r(8);function o(e,t){const r=e.const("err",t);e.if(a._`${s.default.vErrors} === null`,()=>e.assign(s.default.vErrors,a._`[${r}]`),a._`${s.default.vErrors}.push(${r})`),e.code(a._`${s.default.errors}++`)}function i(e,t){const{gen:r,validateName:n,schemaEnv:s}=e;s.$async?r.throw(a._`new ${e.ValidationError}(${t})`):(r.assign(a._`${n}.errors`,t),r.return(!1))}t.keywordError={message:({keyword:e})=>a.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?a.str`"${e}" keyword must be ${t} ($data)`:a.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,r=t.keywordError,n,s){const{it:c}=e,{gen:u,compositeRule:d,allErrors:p}=c,m=l(e,r,n);(null!=s?s:d||p)?o(u,m):i(c,a._`[${m}]`)},t.reportExtraError=function(e,r=t.keywordError,a){const{it:n}=e,{gen:c,compositeRule:u,allErrors:d}=n;o(c,l(e,r,a)),u||d||i(n,s.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(s.default.errors,t),e.if(a._`${s.default.vErrors} !== null`,()=>e.if(t,()=>e.assign(a._`${s.default.vErrors}.length`,t),()=>e.assign(s.default.vErrors,null)))},t.extendErrors=function({gen:e,keyword:t,schemaValue:r,data:n,errsCount:o,it:i}){if(void 0===o)throw new Error("ajv implementation error");const c=e.name("err");e.forRange("i",o,s.default.errors,o=>{e.const(c,a._`${s.default.vErrors}[${o}]`),e.if(a._`${c}.instancePath === undefined`,()=>e.assign(a._`${c}.instancePath`,(0,a.strConcat)(s.default.instancePath,i.errorPath))),e.assign(a._`${c}.schemaPath`,a.str`${i.errSchemaPath}/${t}`),i.opts.verbose&&(e.assign(a._`${c}.schema`,r),e.assign(a._`${c}.data`,n))})};const c={keyword:new a.Name("keyword"),schemaPath:new a.Name("schemaPath"),params:new a.Name("params"),propertyName:new a.Name("propertyName"),message:new a.Name("message"),schema:new a.Name("schema"),parentSchema:new a.Name("parentSchema")};function l(e,t,r){const{createErrors:n}=e.it;return!1===n?a._`{}`:function(e,t,r={}){const{gen:n,it:o}=e,i=[u(o,r),d(e,r)];return function(e,{params:t,message:r},n){const{keyword:o,data:i,schemaValue:l,it:u}=e,{opts:d,propertyName:p,topSchemaRef:m,schemaPath:f}=u;n.push([c.keyword,o],[c.params,"function"==typeof t?t(e):t||a._`{}`]),d.messages&&n.push([c.message,"function"==typeof r?r(e):r]);d.verbose&&n.push([c.schema,l],[c.parentSchema,a._`${m}${f}`],[s.default.data,i]);p&&n.push([c.propertyName,p])}(e,t,i),n.object(...i)}(e,t,r)}function u({errorPath:e},{instancePath:t}){const r=t?a.str`${e}${(0,n.getErrorPath)(t,n.Type.Str)}`:e;return[s.default.instancePath,(0,a.strConcat)(s.default.instancePath,r)]}function d({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:s}){let o=s?t:a.str`${t}/${e}`;return r&&(o=a.str`${o}${(0,n.getErrorPath)(r,n.Type.Str)}`),[c.schemaPath,o]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class a{}t._CodeOrName=a,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class n extends a{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=n;class s extends a{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce((e,t)=>`${e}${t}`,"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e),{})}}function o(e,...t){const r=[e[0]];let a=0;for(;a<t.length;)l(r,t[a]),r.push(e[++a]);return new s(r)}t._Code=s,t.nil=new s(""),t._=o;const i=new s("+");function c(e,...t){const r=[d(e[0])];let a=0;for(;a<t.length;)r.push(i),l(r,t[a]),r.push(i,d(e[++a]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===i){const r=u(e[t-1],e[t+1]);if(void 0!==r){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}(r),new s(r)}function l(e,t){var r;t instanceof s?e.push(...t._items):t instanceof n?e.push(t):e.push("number"==typeof(r=t)||"boolean"==typeof r||null===r?r:d(Array.isArray(r)?r.join(","):r))}function u(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof n||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof n?void 0:`"${e}${t.slice(1)}`}function d(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=c,t.addCodeArg=l,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:c`${e}${t}`},t.stringify=function(e){return new s(d(e))},t.safeStringify=d,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new s(`.${e}`):o`[${e}]`},t.regexpCode=function(e){return new s(e.toString())}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const a=r(45),n=r(46),s=r(17),o=r(0),i=r(4);var c;function l(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(a.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(c=t.DataType||(t.DataType={})),t.getSchemaTypes=function(e){const t=l(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=l,t.coerceAndCheckDataType=function(e,t){const{gen:r,data:a,opts:s}=e,i=function(e,t){return t?e.filter(e=>u.has(e)||"array"===t&&"array"===e):[]}(t,s.coerceTypes),l=t.length>0&&!(0===i.length&&1===t.length&&(0,n.schemaHasRulesForType)(e,t[0]));if(l){const n=p(t,a,s.strictNumbers,c.Wrong);r.if(n,()=>{i.length?function(e,t,r){const{gen:a,data:n,opts:s}=e,i=a.let("dataType",o._`typeof ${n}`),c=a.let("coerced",o._`undefined`);"array"===s.coerceTypes&&a.if(o._`${i} == 'object' && Array.isArray(${n}) && ${n}.length == 1`,()=>a.assign(n,o._`${n}[0]`).assign(i,o._`typeof ${n}`).if(p(t,n,s.strictNumbers),()=>a.assign(c,n)));a.if(o._`${c} !== undefined`);for(const e of r)(u.has(e)||"array"===e&&"array"===s.coerceTypes)&&l(e);function l(e){switch(e){case"string":return void a.elseIf(o._`${i} == "number" || ${i} == "boolean"`).assign(c,o._`"" + ${n}`).elseIf(o._`${n} === null`).assign(c,o._`""`);case"number":return void a.elseIf(o._`${i} == "boolean" || ${n} === null
|
|
7
|
+
|| (${i} == "string" && ${n} && ${n} == +${n})`).assign(c,o._`+${n}`);case"integer":return void a.elseIf(o._`${i} === "boolean" || ${n} === null
|
|
8
|
+
|| (${i} === "string" && ${n} && ${n} == +${n} && !(${n} % 1))`).assign(c,o._`+${n}`);case"boolean":return void a.elseIf(o._`${n} === "false" || ${n} === 0 || ${n} === null`).assign(c,!1).elseIf(o._`${n} === "true" || ${n} === 1`).assign(c,!0);case"null":return a.elseIf(o._`${n} === "" || ${n} === 0 || ${n} === false`),void a.assign(c,null);case"array":a.elseIf(o._`${i} === "string" || ${i} === "number"
|
|
9
|
+
|| ${i} === "boolean" || ${n} === null`).assign(c,o._`[${n}]`)}}a.else(),f(e),a.endIf(),a.if(o._`${c} !== undefined`,()=>{a.assign(n,c),function({gen:e,parentData:t,parentDataProperty:r},a){e.if(o._`${t} !== undefined`,()=>e.assign(o._`${t}[${r}]`,a))}(e,c)})}(e,t,i):f(e)})}return l};const u=new Set(["string","number","integer","boolean","null"]);function d(e,t,r,a=c.Correct){const n=a===c.Correct?o.operators.EQ:o.operators.NEQ;let s;switch(e){case"null":return o._`${t} ${n} null`;case"array":s=o._`Array.isArray(${t})`;break;case"object":s=o._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":s=i(o._`!(${t} % 1) && !isNaN(${t})`);break;case"number":s=i();break;default:return o._`typeof ${t} ${n} ${e}`}return a===c.Correct?s:(0,o.not)(s);function i(e=o.nil){return(0,o.and)(o._`typeof ${t} == "number"`,e,r?o._`isFinite(${t})`:o.nil)}}function p(e,t,r,a){if(1===e.length)return d(e[0],t,r,a);let n;const s=(0,i.toHash)(e);if(s.array&&s.object){const e=o._`typeof ${t} != "object"`;n=s.null?e:o._`!${t} || ${e}`,delete s.null,delete s.array,delete s.object}else n=o.nil;s.number&&delete s.integer;for(const e in s)n=(0,o.and)(n,d(e,t,r,a));return n}t.checkDataType=d,t.checkDataTypes=p;const m={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?o._`{type: ${e}}`:o._`{type: ${t}}`};function f(e){const t=function(e){const{gen:t,data:r,schema:a}=e,n=(0,i.schemaRefOrVal)(e,a,"type");return{gen:t,keyword:"type",data:r,schema:a.type,schemaCode:n,schemaValue:n,parentSchema:a,params:{},it:e}}(e);(0,s.reportError)(t,m)}t.reportTypeError=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const a=r(4),n=r(14),s=r(189),o=r(15),i=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!l(e):!!t&&function e(t){let r=0;for(const n in t){if("$ref"===n)return 1/0;if(r++,!i.has(n)&&("object"==typeof t[n]&&(0,a.eachItem)(t[n],t=>r+=e(t)),r===1/0))return 1/0}return r}(e)<=t)};const c=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(e){for(const t in e){if(c.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(l))return!0;if("object"==typeof r&&l(r))return!0}return!1}function u(e="",t){return!1!==t&&(e=m(e)),d(o.parse(e))}function d(e){return o.serialize(e).split("#")[0]+"#"}t.getFullPath=u,t._getFullPath=d;const p=/#\/?$/;function m(e){return e?e.replace(p,""):""}t.normalizeId=m,t.resolveUrl=function(e,t){return t=m(t),o.resolve(e,t)};const f=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:r}=this.opts,a=m(e[r]||t),i={"":a},c=u(a,!1),l={},d=new Set;return s(e,{allKeys:!0},(e,t,a,n)=>{if(void 0===n)return;const s=c+t;let u=i[n];function g(t){if(t=m(u?o.resolve(u,t):t),d.has(t))throw h(t);d.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?p(e,r.schema,t):t!==m(s)&&("#"===t[0]?(p(e,l[t],t),l[t]=e):this.refs[t]=s),t}function v(e){if("string"==typeof e){if(!f.test(e))throw new Error(`invalid anchor "${e}"`);g.call(this,`#${e}`)}}"string"==typeof e[r]&&(u=g.call(this,e[r])),v.call(this,e.$anchor),v.call(this,e.$dynamicAnchor),i[t]=u}),l;function p(e,t,r){if(void 0!==t&&!n(e,t))throw h(r)}function h(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,r){"use strict";function a(){this.__rules__=[],this.__cache__=null}a.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},a.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))}))}))},a.prototype.at=function(e,t,r){var a=this.__find__(e),n=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__[a].fn=t,this.__rules__[a].alt=n.alt||[],this.__cache__=null},a.prototype.before=function(e,t,r,a){var n=this.__find__(e),s=a||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__.splice(n,0,{name:t,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},a.prototype.after=function(e,t,r,a){var n=this.__find__(e),s=a||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__.splice(n+1,0,{name:t,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},a.prototype.push=function(e,t,r){var a=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:a.alt||[]}),this.__cache__=null},a.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach((function(e){var a=this.__find__(e);if(a<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[a].enabled=!0,r.push(e)}),this),this.__cache__=null,r},a.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},a.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach((function(e){var a=this.__find__(e);if(a<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[a].enabled=!1,r.push(e)}),this),this.__cache__=null,r},a.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=a},function(e,t,r){"use strict";function a(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}a.prototype.attrIndex=function(e){var t,r,a;if(!this.attrs)return-1;for(r=0,a=(t=this.attrs).length;r<a;r++)if(t[r][0]===e)return r;return-1},a.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},a.prototype.attrSet=function(e,t){var r=this.attrIndex(e),a=[e,t];r<0?this.attrPush(a):this.attrs[r]=a},a.prototype.attrGet=function(e){var t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},a.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(14);a.code='require("ajv/dist/runtime/equal").default',t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(14);a.code='require("ajv/dist/runtime/equal").default',t.default=a},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";e.exports=r(59)},function(e,t,r){"use strict";e.exports.encode=r(60),e.exports.decode=r(61),e.exports.format=r(62),e.exports.parse=r(63)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,r){"use strict";var a="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",s=new RegExp("^(?:"+a+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),o=new RegExp("^(?:"+a+"|"+n+")");e.exports.HTML_TAG_RE=s,e.exports.HTML_OPEN_CLOSE_TAG_RE=o},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,a,n,s,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(126!==i)return!1;if(n=(a=e.scanDelims(e.pos,!0)).length,s=String.fromCharCode(i),n<2)return!1;for(n%2&&(e.push("text","",0).content=s,n--),r=0;r<n;r+=2)e.push("text","",0).content=s+s,e.delimiters.push({marker:i,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:a.can_open,close:a.can_close});return e.pos+=a.length,!0},e.exports.postProcess=function(e){var t,r,a,n,s,o=[],i=e.delimiters,c=e.delimiters.length;for(t=0;t<c;t++)126===(a=i[t]).marker&&-1!==a.end&&(n=i[a.end],(s=e.tokens[a.token]).type="s_open",s.tag="s",s.nesting=1,s.markup="~~",s.content="",(s=e.tokens[n.token]).type="s_close",s.tag="s",s.nesting=-1,s.markup="~~",s.content="","text"===e.tokens[n.token-1].type&&"~"===e.tokens[n.token-1].content&&o.push(n.token-1));for(;o.length;){for(r=(t=o.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;t!==--r&&(s=e.tokens[r],e.tokens[r]=e.tokens[t],e.tokens[t]=s)}}},function(e,t,r){"use strict";e.exports.tokenize=function(e,t){var r,a,n=e.pos,s=e.src.charCodeAt(n);if(t)return!1;if(95!==s&&42!==s)return!1;for(a=e.scanDelims(e.pos,42===s),r=0;r<a.length;r++)e.push("text","",0).content=String.fromCharCode(s),e.delimiters.push({marker:s,length:a.length,jump:r,token:e.tokens.length-1,level:e.level,end:-1,open:a.can_open,close:a.can_close});return e.pos+=a.length,!0},e.exports.postProcess=function(e){var t,r,a,n,s,o,i=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(r=i[t]).marker&&42!==r.marker||-1!==r.end&&(a=i[r.end],o=t>0&&i[t-1].end===r.end+1&&i[t-1].token===r.token-1&&i[r.end+1].token===a.token+1&&i[t-1].marker===r.marker,s=String.fromCharCode(r.marker),(n=e.tokens[r.token]).type=o?"strong_open":"em_open",n.tag=o?"strong":"em",n.nesting=1,n.markup=o?s+s:s,n.content="",(n=e.tokens[a.token]).type=o?"strong_close":"em_close",n.tag=o?"strong":"em",n.nesting=-1,n.markup=o?s+s:s,n.content="",o&&(e.tokens[i[t-1].token].content="",e.tokens[i[r.end+1].token].content="",t--))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const a=r(11);class n extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var s;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(s=t.UsedValueState||(t.UsedValueState={})),t.varKinds={const:new a.Name("const"),let:new a.Name("let"),var:new a.Name("var")};class o{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof a.Name?e:this.name(e)}name(e){return new a.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,r;if((null===(r=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===r?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=o;class i extends a.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:r}){this.value=e,this.scopePath=a._`.${new a.Name(t)}[${r}]`}}t.ValueScopeName=i;const c=a._`\n`;t.ValueScope=class extends o{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?c:a.nil}}get(){return this._scope}name(e){return new i(e,this._newName(e))}value(e,t){var r;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const a=this.toName(e),{prefix:n}=a,s=null!==(r=t.key)&&void 0!==r?r:t.ref;let o=this._values[n];if(o){const e=o.get(s);if(e)return e}else o=this._values[n]=new Map;o.set(s,a);const i=this._scope[n]||(this._scope[n]=[]),c=i.length;return i[c]=t.ref,a.setValue(t,{property:n,itemIndex:c}),a}getValue(e,t){const r=this._values[e];if(r)return r.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return a._`${e}${t.scopePath}`})}scopeCode(e=this._values,t,r){return this._reduceValues(e,e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,r)}_reduceValues(e,r,o={},i){let c=a.nil;for(const l in e){const u=e[l];if(!u)continue;const d=o[l]=o[l]||new Map;u.forEach(e=>{if(d.has(e))return;d.set(e,s.Started);let o=r(e);if(o){const r=this.opts.es5?t.varKinds.var:t.varKinds.const;c=a._`${c}${r} ${e} = ${o};${this.opts._n}`}else{if(!(o=null==i?void 0:i(e)))throw new n(e);c=a._`${c}${o}${this.opts._n}`}d.set(e,s.Completed)})}return c}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const a=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&a.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},function(e,t,r){"use strict";function a(e,t){return t.rules.some(t=>n(e,t))}function n(e,t){var r;return void 0!==e[t.keyword]||(null===(r=t.definition.implements)||void 0===r?void 0:r.some(t=>void 0!==e[t]))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},r){const n=t.RULES.types[r];return n&&!0!==n&&a(e,n)},t.shouldUseGroup=a,t.shouldUseRule=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class a extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(13);class n extends Error{constructor(e,t,r){super(r||`can't resolve reference ${t} from id ${e}`),this.missingRef=(0,a.resolveUrl)(e,t),this.missingSchema=(0,a.normalizeId)((0,a.getFullPath)(this.missingRef))}}t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const a=r(1),n=r(38),s=r(7),o=r(13),i=r(3),c=r(9),l=r(15);class u{constructor(e){var t;let r;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(r=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,o.normalizeId)(null==r?void 0:r[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==r?void 0:r.$async,this.refs={}}}function d(e){const t=m.call(this,e);if(t)return t;const r=(0,o.getFullPath)(e.root.baseId),{es5:i,lines:l}=this.opts.code,{ownProperties:u}=this.opts,d=new a.CodeGen(this.scope,{es5:i,lines:l,ownProperties:u});let p;e.$async&&(p=d.scopeValue("Error",{ref:n.default,code:a._`require("ajv/dist/runtime/validation_error").default`}));const f=d.scopeName("validate");e.validateName=f;const h={gen:d,allErrors:this.opts.allErrors,data:s.default.data,parentData:s.default.parentData,parentDataProperty:s.default.parentDataProperty,dataNames:[s.default.data],dataPathArr:[a.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:d.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,a.stringify)(e.schema)}:{ref:e.schema}),validateName:f,ValidationError:p,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:a.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:a._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(e),(0,c.validateFunctionCode)(h),d.optimize(this.opts.code.optimize);const t=d.toString();g=`${d.scopeRefs(s.default.scope)}return ${t}`,this.opts.code.process&&(g=this.opts.code.process(g,e));const r=new Function(`${s.default.self}`,`${s.default.scope}`,g)(this,this.scope.get());if(this.scope.value(f,{ref:r}),r.errors=null,r.schema=e.schema,r.schemaEnv=e,e.$async&&(r.$async=!0),!0===this.opts.code.source&&(r.source={validateName:f,validateCode:t,scopeValues:d._values}),this.opts.unevaluated){const{props:e,items:t}=h;r.evaluated={props:e instanceof a.Name?void 0:e,items:t instanceof a.Name?void 0:t,dynamicProps:e instanceof a.Name,dynamicItems:t instanceof a.Name},r.source&&(r.source.evaluated=(0,a.stringify)(r.evaluated))}return e.validate=r,e}catch(t){throw delete e.validate,delete e.validateName,g&&this.logger.error("Error compiling schema, function code:",g),t}finally{this._compilations.delete(e)}}function p(e){return(0,o.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:d.call(this,e)}function m(e){for(const a of this._compilations)if(r=e,(t=a).schema===r.schema&&t.root===r.root&&t.baseId===r.baseId)return a;var t,r}function f(e,t){let r;for(;"string"==typeof(r=this.refs[t]);)t=r;return r||this.schemas[t]||h.call(this,e,t)}function h(e,t){const r=l.parse(t),a=(0,o._getFullPath)(r);let n=(0,o.getFullPath)(e.baseId);if(Object.keys(e.schema).length>0&&a===n)return v.call(this,r,e);const s=(0,o.normalizeId)(a),i=this.refs[s]||this.schemas[s];if("string"==typeof i){const t=h.call(this,e,i);if("object"!=typeof(null==t?void 0:t.schema))return;return v.call(this,r,t)}if("object"==typeof(null==i?void 0:i.schema)){if(i.validate||d.call(this,i),s===(0,o.normalizeId)(t)){const{schema:t}=i,{schemaId:r}=this.opts,a=t[r];return a&&(n=(0,o.resolveUrl)(n,a)),new u({schema:t,schemaId:r,root:e,baseId:n})}return v.call(this,r,i)}}t.SchemaEnv=u,t.compileSchema=d,t.resolveRef=function(e,t,r){var a;r=(0,o.resolveUrl)(t,r);const n=e.refs[r];if(n)return n;let s=f.call(this,e,r);if(void 0===s){const n=null===(a=e.localRefs)||void 0===a?void 0:a[r],{schemaId:o}=this.opts;n&&(s=new u({schema:n,schemaId:o,root:e,baseId:t}))}return void 0!==s?e.refs[r]=p.call(this,s):void 0},t.getCompilingSchema=m,t.resolveSchema=h;const g=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function v(e,{baseId:t,schema:r,root:a}){var n;if("/"!==(null===(n=e.fragment)||void 0===n?void 0:n[0]))return;for(const a of e.fragment.slice(1).split("/")){if("boolean"==typeof r)return;const e=r[(0,i.unescapeFragment)(a)];if(void 0===e)return;const n="object"==typeof(r=e)&&r[this.opts.schemaId];!g.has(a)&&n&&(t=(0,o.resolveUrl)(t,n))}let s;if("boolean"!=typeof r&&r.$ref&&!(0,i.schemaHasRulesButRef)(r,this.RULES)){const e=(0,o.resolveUrl)(t,r.$ref);s=h.call(this,a,e)}const{schemaId:c}=this.opts;return s=s||new u({schema:r,schemaId:c,root:a,baseId:t}),s.schema!==s.root.schema?s:void 0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const a=r(1),n=r(3),s={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>a.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>a._`{limit: ${e}}`},code(e){const{parentSchema:t,it:r}=e,{items:a}=t;Array.isArray(a)?o(e,a):(0,n.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas')}};function o(e,t){const{gen:r,schema:s,data:o,keyword:i,it:c}=e;c.items=!0;const l=r.const("len",a._`${o}.length`);if(!1===s)e.setParams({len:t.length}),e.pass(a._`${l} <= ${t.length}`);else if("object"==typeof s&&!(0,n.alwaysValidSchema)(c,s)){const s=r.var("valid",a._`${l} <= ${t.length}`);r.if((0,a.not)(s),()=>(function(s){r.forRange("i",t.length,l,t=>{e.subschema({keyword:i,dataProp:t,dataPropType:n.Type.Num},s),c.allErrors||r.if((0,a.not)(s),()=>r.break())})})(s)),e.ok(s)}}t.validateAdditionalItems=o,t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const a=r(1),n=r(3),s=r(5),o={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return i(e,"additionalItems",t);r.items=!0,(0,n.alwaysValidSchema)(r,t)||e.ok((0,s.validateArray)(e))}};function i(e,t,r=e.schema){const{gen:s,parentSchema:o,data:i,keyword:c,it:l}=e;!function(e){const{opts:a,errSchemaPath:s}=l,o=r.length,i=o===e.minItems&&(o===e.maxItems||!1===e[t]);if(a.strictTuples&&!i){const e=`"${c}" is ${o}-tuple, but minItems or maxItems/${t} are not specified or different at path "${s}"`;(0,n.checkStrictMode)(l,e,a.strictTuples)}}(o),l.opts.unevaluated&&r.length&&!0!==l.items&&(l.items=n.mergeEvaluated.items(s,r.length,l.items));const u=s.name("valid"),d=s.const("len",a._`${i}.length`);r.forEach((t,r)=>{(0,n.alwaysValidSchema)(l,t)||(s.if(a._`${d} > ${r}`,()=>e.subschema({keyword:c,schemaProp:r,dataProp:r},u)),e.ok(u))})}t.validateTuple=i,t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(5),n=r(1),s=r(7),o=r(3),i={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>n._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:r,parentSchema:i,data:c,errsCount:l,it:u}=e;if(!l)throw new Error("ajv implementation error");const{allErrors:d,opts:p}=u;if(u.props=!0,"all"!==p.removeAdditional&&(0,o.alwaysValidSchema)(u,r))return;const m=(0,a.allSchemaProperties)(i.properties),f=(0,a.allSchemaProperties)(i.patternProperties);function h(e){t.code(n._`delete ${c}[${e}]`)}function g(a){if("all"===p.removeAdditional||p.removeAdditional&&!1===r)h(a);else{if(!1===r)return e.setParams({additionalProperty:a}),e.error(),void(d||t.break());if("object"==typeof r&&!(0,o.alwaysValidSchema)(u,r)){const r=t.name("valid");"failing"===p.removeAdditional?(v(a,r,!1),t.if((0,n.not)(r),()=>{e.reset(),h(a)})):(v(a,r),d||t.if((0,n.not)(r),()=>t.break()))}}}function v(t,r,a){const n={keyword:"additionalProperties",dataProp:t,dataPropType:o.Type.Str};!1===a&&Object.assign(n,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(n,r)}t.forIn("key",c,r=>{m.length||f.length?t.if(function(r){let s;if(m.length>8){const e=(0,o.schemaRefOrVal)(u,i.properties,"properties");s=(0,a.isOwnProperty)(t,e,r)}else s=m.length?(0,n.or)(...m.map(e=>n._`${r} === ${e}`)):n.nil;return f.length&&(s=(0,n.or)(s,...f.map(t=>n._`${(0,a.usePattern)(e,t)}.test(${r})`))),(0,n.not)(s)}(r),()=>g(r)):g(r)}),e.ok(n._`${l} === ${s.default.errors}`)}};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const a=r(18);class n extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var s;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(s=t.UsedValueState||(t.UsedValueState={})),t.varKinds={const:new a.Name("const"),let:new a.Name("let"),var:new a.Name("var")};class o{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof a.Name?e:this.name(e)}name(e){return new a.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,r;if((null===(r=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===r?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=o;class i extends a.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:r}){this.value=e,this.scopePath=a._`.${new a.Name(t)}[${r}]`}}t.ValueScopeName=i;const c=a._`\n`;t.ValueScope=class extends o{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?c:a.nil}}get(){return this._scope}name(e){return new i(e,this._newName(e))}value(e,t){var r;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const a=this.toName(e),{prefix:n}=a,s=null!==(r=t.key)&&void 0!==r?r:t.ref;let o=this._values[n];if(o){const e=o.get(s);if(e)return e}else o=this._values[n]=new Map;o.set(s,a);const i=this._scope[n]||(this._scope[n]=[]),c=i.length;return i[c]=t.ref,a.setValue(t,{property:n,itemIndex:c}),a}getValue(e,t){const r=this._values[e];if(r)return r.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return a._`${e}${t.scopePath}`})}scopeCode(e=this._values,t,r){return this._reduceValues(e,e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,r)}_reduceValues(e,r,o={},i){let c=a.nil;for(const l in e){const u=e[l];if(!u)continue;const d=o[l]=o[l]||new Map;u.forEach(e=>{if(d.has(e))return;d.set(e,s.Started);let o=r(e);if(o){const r=this.opts.es5?t.varKinds.var:t.varKinds.const;c=a._`${c}${r} ${e} = ${o};${this.opts._n}`}else{if(!(o=null==i?void 0:i(e)))throw new n(e);c=a._`${c}${o}${this.opts._n}`}d.set(e,s.Completed)})}return c}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const a=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&a.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},function(e,t,r){"use strict";function a(e,t){return t.rules.some(t=>n(e,t))}function n(e,t){var r;return void 0!==e[t.keyword]||(null===(r=t.definition.implements)||void 0===r?void 0:r.some(t=>void 0!==e[t]))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},r){const n=t.RULES.types[r];return n&&!0!==n&&a(e,n)},t.shouldUseGroup=a,t.shouldUseRule=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class a extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(20);class n extends Error{constructor(e,t,r){super(r||`can't resolve reference ${t} from id ${e}`),this.missingRef=(0,a.resolveUrl)(e,t),this.missingSchema=(0,a.normalizeId)((0,a.getFullPath)(this.missingRef))}}t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const a=r(0),n=r(47),s=r(8),o=r(20),i=r(4),c=r(16),l=r(15);class u{constructor(e){var t;let r;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(r=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,o.normalizeId)(null==r?void 0:r[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==r?void 0:r.$async,this.refs={}}}function d(e){const t=m.call(this,e);if(t)return t;const r=(0,o.getFullPath)(e.root.baseId),{es5:i,lines:l}=this.opts.code,{ownProperties:u}=this.opts,d=new a.CodeGen(this.scope,{es5:i,lines:l,ownProperties:u});let p;e.$async&&(p=d.scopeValue("Error",{ref:n.default,code:a._`require("ajv/dist/runtime/validation_error").default`}));const f=d.scopeName("validate");e.validateName=f;const h={gen:d,allErrors:this.opts.allErrors,data:s.default.data,parentData:s.default.parentData,parentDataProperty:s.default.parentDataProperty,dataNames:[s.default.data],dataPathArr:[a.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:d.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,a.stringify)(e.schema)}:{ref:e.schema}),validateName:f,ValidationError:p,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:a.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:a._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(e),(0,c.validateFunctionCode)(h),d.optimize(this.opts.code.optimize);const t=d.toString();g=`${d.scopeRefs(s.default.scope)}return ${t}`,this.opts.code.process&&(g=this.opts.code.process(g,e));const r=new Function(`${s.default.self}`,`${s.default.scope}`,g)(this,this.scope.get());if(this.scope.value(f,{ref:r}),r.errors=null,r.schema=e.schema,r.schemaEnv=e,e.$async&&(r.$async=!0),!0===this.opts.code.source&&(r.source={validateName:f,validateCode:t,scopeValues:d._values}),this.opts.unevaluated){const{props:e,items:t}=h;r.evaluated={props:e instanceof a.Name?void 0:e,items:t instanceof a.Name?void 0:t,dynamicProps:e instanceof a.Name,dynamicItems:t instanceof a.Name},r.source&&(r.source.evaluated=(0,a.stringify)(r.evaluated))}return e.validate=r,e}catch(t){throw delete e.validate,delete e.validateName,g&&this.logger.error("Error compiling schema, function code:",g),t}finally{this._compilations.delete(e)}}function p(e){return(0,o.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:d.call(this,e)}function m(e){for(const a of this._compilations)if(r=e,(t=a).schema===r.schema&&t.root===r.root&&t.baseId===r.baseId)return a;var t,r}function f(e,t){let r;for(;"string"==typeof(r=this.refs[t]);)t=r;return r||this.schemas[t]||h.call(this,e,t)}function h(e,t){const r=l.parse(t),a=(0,o._getFullPath)(r);let n=(0,o.getFullPath)(e.baseId);if(Object.keys(e.schema).length>0&&a===n)return v.call(this,r,e);const s=(0,o.normalizeId)(a),i=this.refs[s]||this.schemas[s];if("string"==typeof i){const t=h.call(this,e,i);if("object"!=typeof(null==t?void 0:t.schema))return;return v.call(this,r,t)}if("object"==typeof(null==i?void 0:i.schema)){if(i.validate||d.call(this,i),s===(0,o.normalizeId)(t)){const{schema:t}=i,{schemaId:r}=this.opts,a=t[r];return a&&(n=(0,o.resolveUrl)(n,a)),new u({schema:t,schemaId:r,root:e,baseId:n})}return v.call(this,r,i)}}t.SchemaEnv=u,t.compileSchema=d,t.resolveRef=function(e,t,r){var a;r=(0,o.resolveUrl)(t,r);const n=e.refs[r];if(n)return n;let s=f.call(this,e,r);if(void 0===s){const n=null===(a=e.localRefs)||void 0===a?void 0:a[r],{schemaId:o}=this.opts;n&&(s=new u({schema:n,schemaId:o,root:e,baseId:t}))}return void 0!==s?e.refs[r]=p.call(this,s):void 0},t.getCompilingSchema=m,t.resolveSchema=h;const g=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function v(e,{baseId:t,schema:r,root:a}){var n;if("/"!==(null===(n=e.fragment)||void 0===n?void 0:n[0]))return;for(const a of e.fragment.slice(1).split("/")){if("boolean"==typeof r)return;const e=r[(0,i.unescapeFragment)(a)];if(void 0===e)return;const n="object"==typeof(r=e)&&r[this.opts.schemaId];!g.has(a)&&n&&(t=(0,o.resolveUrl)(t,n))}let s;if("boolean"!=typeof r&&r.$ref&&!(0,i.schemaHasRulesButRef)(r,this.RULES)){const e=(0,o.resolveUrl)(t,r.$ref);s=h.call(this,a,e)}const{schemaId:c}=this.opts;return s=s||new u({schema:r,schemaId:c,root:a,baseId:t}),s.schema!==s.root.schema?s:void 0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const a=r(0),n=r(4),s={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>a.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>a._`{limit: ${e}}`},code(e){const{parentSchema:t,it:r}=e,{items:a}=t;Array.isArray(a)?o(e,a):(0,n.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas')}};function o(e,t){const{gen:r,schema:s,data:o,keyword:i,it:c}=e;c.items=!0;const l=r.const("len",a._`${o}.length`);if(!1===s)e.setParams({len:t.length}),e.pass(a._`${l} <= ${t.length}`);else if("object"==typeof s&&!(0,n.alwaysValidSchema)(c,s)){const s=r.var("valid",a._`${l} <= ${t.length}`);r.if((0,a.not)(s),()=>(function(s){r.forRange("i",t.length,l,t=>{e.subschema({keyword:i,dataProp:t,dataPropType:n.Type.Num},s),c.allErrors||r.if((0,a.not)(s),()=>r.break())})})(s)),e.ok(s)}}t.validateAdditionalItems=o,t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const a=r(0),n=r(4),s=r(6),o={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return i(e,"additionalItems",t);r.items=!0,(0,n.alwaysValidSchema)(r,t)||e.ok((0,s.validateArray)(e))}};function i(e,t,r=e.schema){const{gen:s,parentSchema:o,data:i,keyword:c,it:l}=e;!function(e){const{opts:a,errSchemaPath:s}=l,o=r.length,i=o===e.minItems&&(o===e.maxItems||!1===e[t]);if(a.strictTuples&&!i){const e=`"${c}" is ${o}-tuple, but minItems or maxItems/${t} are not specified or different at path "${s}"`;(0,n.checkStrictMode)(l,e,a.strictTuples)}}(o),l.opts.unevaluated&&r.length&&!0!==l.items&&(l.items=n.mergeEvaluated.items(s,r.length,l.items));const u=s.name("valid"),d=s.const("len",a._`${i}.length`);r.forEach((t,r)=>{(0,n.alwaysValidSchema)(l,t)||(s.if(a._`${d} > ${r}`,()=>e.subschema({keyword:c,schemaProp:r,dataProp:r},u)),e.ok(u))})}t.validateTuple=i,t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(6),n=r(0),s=r(8),o=r(4),i={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>n._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:r,parentSchema:i,data:c,errsCount:l,it:u}=e;if(!l)throw new Error("ajv implementation error");const{allErrors:d,opts:p}=u;if(u.props=!0,"all"!==p.removeAdditional&&(0,o.alwaysValidSchema)(u,r))return;const m=(0,a.allSchemaProperties)(i.properties),f=(0,a.allSchemaProperties)(i.patternProperties);function h(e){t.code(n._`delete ${c}[${e}]`)}function g(a){if("all"===p.removeAdditional||p.removeAdditional&&!1===r)h(a);else{if(!1===r)return e.setParams({additionalProperty:a}),e.error(),void(d||t.break());if("object"==typeof r&&!(0,o.alwaysValidSchema)(u,r)){const r=t.name("valid");"failing"===p.removeAdditional?(v(a,r,!1),t.if((0,n.not)(r),()=>{e.reset(),h(a)})):(v(a,r),d||t.if((0,n.not)(r),()=>t.break()))}}}function v(t,r,a){const n={keyword:"additionalProperties",dataProp:t,dataPropType:o.Type.Str};!1===a&&Object.assign(n,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(n,r)}t.forIn("key",c,r=>{m.length||f.length?t.if(function(r){let s;if(m.length>8){const e=(0,o.schemaRefOrVal)(u,i.properties,"properties");s=(0,a.isOwnProperty)(t,e,r)}else s=m.length?(0,n.or)(...m.map(e=>n._`${r} === ${e}`)):n.nil;return f.length&&(s=(0,n.or)(s,...f.map(t=>n._`${(0,a.usePattern)(e,t)}.test(${r})`))),(0,n.not)(s)}(r),()=>g(r)):g(r)}),e.ok(n._`${l} === ${s.default.errors}`)}};t.default=i},function(e,t){e.exports=Vue},function(e,t,r){var a;"undefined"!=typeof self&&self,a=function(e){return function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="fb15")}({"01f9":function(e,t,r){"use strict";var a=r("2d00"),n=r("5ca1"),s=r("2aba"),o=r("32e9"),i=r("84f2"),c=r("41a0"),l=r("7f20"),u=r("38fd"),d=r("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),m=function(){return this};e.exports=function(e,t,r,f,h,g,v){c(r,t,f);var y,b,k,_=function(e){if(!p&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},w=t+" Iterator",$="values"==h,x=!1,E=e.prototype,S=E[d]||E["@@iterator"]||h&&E[h],P=S||_(h),C=h?$?_("entries"):P:void 0,O="Array"==t&&E.entries||S;if(O&&(k=u(O.call(new e)))!==Object.prototype&&k.next&&(l(k,w,!0),a||"function"==typeof k[d]||o(k,d,m)),$&&S&&"values"!==S.name&&(x=!0,P=function(){return S.call(this)}),a&&!v||!p&&!x&&E[d]||o(E,d,P),i[t]=P,i[w]=m,h)if(y={values:$?P:_("values"),keys:g?P:_("keys"),entries:C},v)for(b in y)b in E||s(E,b,y[b]);else n(n.P+n.F*(p||x),t,y);return y}},"02f4":function(e,t,r){var a=r("4588"),n=r("be13");e.exports=function(e){return function(t,r){var s,o,i=String(n(t)),c=a(r),l=i.length;return c<0||c>=l?e?"":void 0:(s=i.charCodeAt(c))<55296||s>56319||c+1===l||(o=i.charCodeAt(c+1))<56320||o>57343?e?i.charAt(c):s:e?i.slice(c,c+2):o-56320+(s-55296<<10)+65536}}},"0390":function(e,t,r){"use strict";var a=r("02f4")(!0);e.exports=function(e,t,r){return t+(r?a(e,t).length:1)}},"0bfb":function(e,t,r){"use strict";var a=r("cb7c");e.exports=function(){var e=a(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,r){var a=r("ce10"),n=r("e11e");e.exports=Object.keys||function(e){return a(e,n)}},1495:function(e,t,r){var a=r("86cc"),n=r("cb7c"),s=r("0d58");e.exports=r("9e1e")?Object.defineProperties:function(e,t){n(e);for(var r,o=s(t),i=o.length,c=0;i>c;)a.f(e,r=o[c++],t[r]);return e}},"214f":function(e,t,r){"use strict";r("b0c5");var a=r("2aba"),n=r("32e9"),s=r("79e5"),o=r("be13"),i=r("2b4c"),c=r("520a"),l=i("species"),u=!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(e,t,r){var p=i(e),m=!s((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),f=m?!s((function(){var t=!1,r=/a/;return r.exec=function(){return t=!0,null},"split"===e&&(r.constructor={},r.constructor[l]=function(){return r}),r[p](""),!t})):void 0;if(!m||!f||"replace"===e&&!u||"split"===e&&!d){var h=/./[p],g=r(o,p,""[e],(function(e,t,r,a,n){return t.exec===c?m&&!n?{done:!0,value:h.call(t,r,a)}:{done:!0,value:e.call(r,t,a)}:{done:!1}})),v=g[0],y=g[1];a(String.prototype,e,v),n(RegExp.prototype,p,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},"230e":function(e,t,r){var a=r("d3f4"),n=r("7726").document,s=a(n)&&a(n.createElement);e.exports=function(e){return s?n.createElement(e):{}}},"23c6":function(e,t,r){var a=r("2d95"),n=r("2b4c")("toStringTag"),s="Arguments"==a(function(){return arguments}());e.exports=function(e){var t,r,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),n))?r:s?a(t):"Object"==(o=a(t))&&"function"==typeof t.callee?"Arguments":o}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"2aba":function(e,t,r){var a=r("7726"),n=r("32e9"),s=r("69a8"),o=r("ca5a")("src"),i=r("fa5b"),c=(""+i).split("toString");r("8378").inspectSource=function(e){return i.call(e)},(e.exports=function(e,t,r,i){var l="function"==typeof r;l&&(s(r,"name")||n(r,"name",t)),e[t]!==r&&(l&&(s(r,o)||n(r,o,e[t]?""+e[t]:c.join(String(t)))),e===a?e[t]=r:i?e[t]?e[t]=r:n(e,t,r):(delete e[t],n(e,t,r)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||i.call(this)}))},"2aeb":function(e,t,r){var a=r("cb7c"),n=r("1495"),s=r("e11e"),o=r("613b")("IE_PROTO"),i=function(){},c=function(){var e,t=r("230e")("iframe"),a=s.length;for(t.style.display="none",r("fab2").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;a--;)delete c.prototype[s[a]];return c()};e.exports=Object.create||function(e,t){var r;return null!==e?(i.prototype=a(e),r=new i,i.prototype=null,r[o]=e):r=c(),void 0===t?r:n(r,t)}},"2b4c":function(e,t,r){var a=r("5537")("wks"),n=r("ca5a"),s=r("7726").Symbol,o="function"==typeof s;(e.exports=function(e){return a[e]||(a[e]=o&&s[e]||(o?s:n)("Symbol."+e))}).store=a},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},"2fdb":function(e,t,r){"use strict";var a=r("5ca1"),n=r("d2c8");a(a.P+a.F*r("5147")("includes"),"String",{includes:function(e){return!!~n(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(e,t,r){var a=r("86cc"),n=r("4630");e.exports=r("9e1e")?function(e,t,r){return a.f(e,t,n(1,r))}:function(e,t,r){return e[t]=r,e}},"38fd":function(e,t,r){var a=r("69a8"),n=r("4bf8"),s=r("613b")("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=n(e),a(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},"41a0":function(e,t,r){"use strict";var a=r("2aeb"),n=r("4630"),s=r("7f20"),o={};r("32e9")(o,r("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=a(o,{next:n(1,r)}),s(e,t+" Iterator")}},"456d":function(e,t,r){var a=r("4bf8"),n=r("0d58");r("5eda")("keys",(function(){return function(e){return n(a(e))}}))},4588:function(e,t){var r=Math.ceil,a=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?a:r)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"4bf8":function(e,t,r){var a=r("be13");e.exports=function(e){return Object(a(e))}},5147:function(e,t,r){var a=r("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[a]=!1,!"/./"[e](t)}catch(e){}}return!0}},"520a":function(e,t,r){"use strict";var a,n,s=r("0bfb"),o=RegExp.prototype.exec,i=String.prototype.replace,c=o,l=(a=/a/,n=/b*/g,o.call(a,"a"),o.call(n,"a"),0!==a.lastIndex||0!==n.lastIndex),u=void 0!==/()??/.exec("")[1];(l||u)&&(c=function(e){var t,r,a,n,c=this;return u&&(r=new RegExp("^"+c.source+"$(?!\\s)",s.call(c))),l&&(t=c.lastIndex),a=o.call(c,e),l&&a&&(c.lastIndex=c.global?a.index+a[0].length:t),u&&a&&a.length>1&&i.call(a[0],r,(function(){for(n=1;n<arguments.length-2;n++)void 0===arguments[n]&&(a[n]=void 0)})),a}),e.exports=c},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,r){var a=r("8378"),n=r("7726"),s=n["__core-js_shared__"]||(n["__core-js_shared__"]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:a.version,mode:r("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,t,r){var a=r("7726"),n=r("8378"),s=r("32e9"),o=r("2aba"),i=r("9b43"),c=function(e,t,r){var l,u,d,p,m=e&c.F,f=e&c.G,h=e&c.S,g=e&c.P,v=e&c.B,y=f?a:h?a[t]||(a[t]={}):(a[t]||{}).prototype,b=f?n:n[t]||(n[t]={}),k=b.prototype||(b.prototype={});for(l in f&&(r=t),r)d=((u=!m&&y&&void 0!==y[l])?y:r)[l],p=v&&u?i(d,a):g&&"function"==typeof d?i(Function.call,d):d,y&&o(y,l,d,e&c.U),b[l]!=d&&s(b,l,p),g&&k[l]!=d&&(k[l]=d)};a.core=n,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"5eda":function(e,t,r){var a=r("5ca1"),n=r("8378"),s=r("79e5");e.exports=function(e,t){var r=(n.Object||{})[e]||Object[e],o={};o[e]=t(r),a(a.S+a.F*s((function(){r(1)})),"Object",o)}},"5f1b":function(e,t,r){"use strict";var a=r("23c6"),n=RegExp.prototype.exec;e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var s=r.call(e,t);if("object"!=typeof s)throw new TypeError("RegExp exec method returned something other than an Object or null");return s}if("RegExp"!==a(e))throw new TypeError("RegExp#exec called on incompatible receiver");return n.call(e,t)}},"613b":function(e,t,r){var a=r("5537")("keys"),n=r("ca5a");e.exports=function(e){return a[e]||(a[e]=n(e))}},"626a":function(e,t,r){var a=r("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==a(e)?e.split(""):Object(e)}},6762:function(e,t,r){"use strict";var a=r("5ca1"),n=r("c366")(!0);a(a.P,"Array",{includes:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}}),r("9c6c")("includes")},6821:function(e,t,r){var a=r("626a"),n=r("be13");e.exports=function(e){return a(n(e))}},"69a8":function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},"6a99":function(e,t,r){var a=r("d3f4");e.exports=function(e,t){if(!a(e))return e;var r,n;if(t&&"function"==typeof(r=e.toString)&&!a(n=r.call(e)))return n;if("function"==typeof(r=e.valueOf)&&!a(n=r.call(e)))return n;if(!t&&"function"==typeof(r=e.toString)&&!a(n=r.call(e)))return n;throw TypeError("Can't convert object to primitive value")}},7333:function(e,t,r){"use strict";var a=r("0d58"),n=r("2621"),s=r("52a7"),o=r("4bf8"),i=r("626a"),c=Object.assign;e.exports=!c||r("79e5")((function(){var e={},t={},r=Symbol(),a="abcdefghijklmnopqrst";return e[r]=7,a.split("").forEach((function(e){t[e]=e})),7!=c({},e)[r]||Object.keys(c({},t)).join("")!=a}))?function(e,t){for(var r=o(e),c=arguments.length,l=1,u=n.f,d=s.f;c>l;)for(var p,m=i(arguments[l++]),f=u?a(m).concat(u(m)):a(m),h=f.length,g=0;h>g;)d.call(m,p=f[g++])&&(r[p]=m[p]);return r}:c},7726:function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},"77f1":function(e,t,r){var a=r("4588"),n=Math.max,s=Math.min;e.exports=function(e,t){return(e=a(e))<0?n(e+t,0):s(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7f20":function(e,t,r){var a=r("86cc").f,n=r("69a8"),s=r("2b4c")("toStringTag");e.exports=function(e,t,r){e&&!n(e=r?e:e.prototype,s)&&a(e,s,{configurable:!0,value:t})}},8378:function(e,t){var r=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=r)},"84f2":function(e,t){e.exports={}},"86cc":function(e,t,r){var a=r("cb7c"),n=r("c69a"),s=r("6a99"),o=Object.defineProperty;t.f=r("9e1e")?Object.defineProperty:function(e,t,r){if(a(e),t=s(t,!0),a(r),n)try{return o(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},"9b43":function(e,t,r){var a=r("d8e8");e.exports=function(e,t,r){if(a(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,a){return e.call(t,r,a)};case 3:return function(r,a,n){return e.call(t,r,a,n)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,r){var a=r("2b4c")("unscopables"),n=Array.prototype;null==n[a]&&r("32e9")(n,a,{}),e.exports=function(e){n[a][e]=!0}},"9def":function(e,t,r){var a=r("4588"),n=Math.min;e.exports=function(e){return e>0?n(a(e),9007199254740991):0}},"9e1e":function(e,t,r){e.exports=!r("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(t,r){t.exports=e},a481:function(e,t,r){"use strict";var a=r("cb7c"),n=r("4bf8"),s=r("9def"),o=r("4588"),i=r("0390"),c=r("5f1b"),l=Math.max,u=Math.min,d=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,m=/\$([$&`']|\d\d?)/g;r("214f")("replace",2,(function(e,t,r,f){return[function(a,n){var s=e(this),o=null==a?void 0:a[t];return void 0!==o?o.call(a,s,n):r.call(String(s),a,n)},function(e,t){var n=f(r,e,this,t);if(n.done)return n.value;var d=a(e),p=String(this),m="function"==typeof t;m||(t=String(t));var g=d.global;if(g){var v=d.unicode;d.lastIndex=0}for(var y=[];;){var b=c(d,p);if(null===b)break;if(y.push(b),!g)break;""===String(b[0])&&(d.lastIndex=i(p,s(d.lastIndex),v))}for(var k,_="",w=0,$=0;$<y.length;$++){b=y[$];for(var x=String(b[0]),E=l(u(o(b.index),p.length),0),S=[],P=1;P<b.length;P++)S.push(void 0===(k=b[P])?k:String(k));var C=b.groups;if(m){var O=[x].concat(S,E,p);void 0!==C&&O.push(C);var D=String(t.apply(void 0,O))}else D=h(x,p,E,S,C,t);E>=w&&(_+=p.slice(w,E)+D,w=E+x.length)}return _+p.slice(w)}];function h(e,t,a,s,o,i){var c=a+e.length,l=s.length,u=m;return void 0!==o&&(o=n(o),u=p),r.call(i,u,(function(r,n){var i;switch(n.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,a);case"'":return t.slice(c);case"<":i=o[n.slice(1,-1)];break;default:var u=+n;if(0===u)return r;if(u>l){var p=d(u/10);return 0===p?r:p<=l?void 0===s[p-1]?n.charAt(1):s[p-1]+n.charAt(1):r}i=s[u-1]}return void 0===i?"":i}))}}))},aae3:function(e,t,r){var a=r("d3f4"),n=r("2d95"),s=r("2b4c")("match");e.exports=function(e){var t;return a(e)&&(void 0!==(t=e[s])?!!t:"RegExp"==n(e))}},ac6a:function(e,t,r){for(var a=r("cadf"),n=r("0d58"),s=r("2aba"),o=r("7726"),i=r("32e9"),c=r("84f2"),l=r("2b4c"),u=l("iterator"),d=l("toStringTag"),p=c.Array,m={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=n(m),h=0;h<f.length;h++){var g,v=f[h],y=m[v],b=o[v],k=b&&b.prototype;if(k&&(k[u]||i(k,u,p),k[d]||i(k,d,v),c[v]=p,y))for(g in a)k[g]||s(k,g,a[g],!0)}},b0c5:function(e,t,r){"use strict";var a=r("520a");r("5ca1")({target:"RegExp",proto:!0,forced:a!==/./.exec},{exec:a})},be13:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},c366:function(e,t,r){var a=r("6821"),n=r("9def"),s=r("77f1");e.exports=function(e){return function(t,r,o){var i,c=a(t),l=n(c.length),u=s(o,l);if(e&&r!=r){for(;l>u;)if((i=c[u++])!=i)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}}},c649:function(e,t,r){"use strict";(function(e){r.d(t,"c",(function(){return l})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"d",(function(){return c})),r("a481");var a,n,s="undefined"!=typeof window?window.console:e.console,o=/-(\w)/g,i=(a=function(e){return e.replace(o,(function(e,t){return t?t.toUpperCase():""}))},n=Object.create(null),function(e){return n[e]||(n[e]=a(e))});function c(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function l(e,t,r){var a=0===r?e.children[0]:e.children[r-1].nextSibling;e.insertBefore(t,a)}}).call(this,r("c8ba"))},c69a:function(e,t,r){e.exports=!r("9e1e")&&!r("79e5")((function(){return 7!=Object.defineProperty(r("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},ca5a:function(e,t){var r=0,a=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+a).toString(36))}},cadf:function(e,t,r){"use strict";var a=r("9c6c"),n=r("d53b"),s=r("84f2"),o=r("6821");e.exports=r("01f9")(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,n(1)):n(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),s.Arguments=s.Array,a("keys"),a("values"),a("entries")},cb7c:function(e,t,r){var a=r("d3f4");e.exports=function(e){if(!a(e))throw TypeError(e+" is not an object!");return e}},ce10:function(e,t,r){var a=r("69a8"),n=r("6821"),s=r("c366")(!1),o=r("613b")("IE_PROTO");e.exports=function(e,t){var r,i=n(e),c=0,l=[];for(r in i)r!=o&&a(i,r)&&l.push(r);for(;t.length>c;)a(i,r=t[c++])&&(~s(l,r)||l.push(r));return l}},d2c8:function(e,t,r){var a=r("aae3"),n=r("be13");e.exports=function(e,t,r){if(a(t))throw TypeError("String#"+r+" doesn't accept regex!");return String(n(e))}},d3f4:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(e,t,r){"use strict";var a=r("5ca1"),n=r("9def"),s=r("d2c8"),o="".startsWith;a(a.P+a.F*r("5147")("startsWith"),"String",{startsWith:function(e){var t=s(this,e,"startsWith"),r=n(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),a=String(e);return o?o.call(t,a,r):t.slice(r,r+a.length)===a}})},f6fd:function(e,t){!function(e){var t=e.getElementsByTagName("script");"currentScript"in e||Object.defineProperty(e,"currentScript",{get:function(){try{throw new Error}catch(a){var e,r=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(a.stack)||[!1])[1];for(e in t)if(t[e].src==r||"interactive"==t[e].readyState)return t[e];return null}}})}(document)},f751:function(e,t,r){var a=r("5ca1");a(a.S+a.F,"Object",{assign:r("7333")})},fa5b:function(e,t,r){e.exports=r("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,r){var a=r("7726").document;e.exports=a&&a.documentElement},fb15:function(e,t,r){"use strict";var a;function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function s(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],a=!0,n=!1,s=void 0;try{for(var o,i=e[Symbol.iterator]();!(a=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){n=!0,s=e}finally{try{a||null==i.return||i.return()}finally{if(n)throw s}}return r}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.r(t),"undefined"!=typeof window&&(r("f6fd"),(a=window.document.currentScript)&&(a=a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(r.p=a[1])),r("f751"),r("f559"),r("ac6a"),r("cadf"),r("456d"),r("6762"),r("2fdb");var c=r("a352"),l=r.n(c),u=r("c649");function d(e,t){var r=this;this.$nextTick((function(){return r.$emit(e.toLowerCase(),t)}))}function p(e){var t=this;return function(r){null!==t.realList&&t["onDrag"+e](r),d.call(t,e,r)}}function m(e){return["transition-group","TransitionGroup"].includes(e)}function f(e,t,r){return e[r]||(t[r]?t[r]():void 0)}var h=["Start","Add","Remove","Update","End"],g=["Choose","Unchoose","Sort","Filter","Clone"],v=["Move"].concat(h,g).map((function(e){return"on"+e})),y=null,b={name:"draggable",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(e){return e}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(e){var t=this.$slots.default;this.transitionMode=function(e){if(!e||1!==e.length)return!1;var t=o(e,1)[0].componentOptions;return!!t&&m(t.tag)}(t);var r=function(e,t,r){var a=0,n=0,s=f(t,r,"header");s&&(a=s.length,e=e?[].concat(i(s),i(e)):i(s));var o=f(t,r,"footer");return o&&(n=o.length,e=e?[].concat(i(e),i(o)):i(o)),{children:e,headerOffset:a,footerOffset:n}}(t,this.$slots,this.$scopedSlots),a=r.children,n=r.headerOffset,s=r.footerOffset;this.headerOffset=n,this.footerOffset=s;var c=function(e,t){var r=null,a=function(e,t){r=function(e,t,r){return void 0===r?e:((e=e||{})[t]=r,e)}(r,e,t)};if(a("attrs",Object.keys(e).filter((function(e){return"id"===e||e.startsWith("data-")})).reduce((function(t,r){return t[r]=e[r],t}),{})),!t)return r;var n=t.on,s=t.props,o=t.attrs;return a("on",n),a("props",s),Object.assign(r.attrs,o),r}(this.$attrs,this.componentData);return e(this.getTag(),c,a)},created:function(){null!==this.list&&null!==this.value&&u.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&u.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&u.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var e=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var t={};h.forEach((function(r){t["on"+r]=p.call(e,r)})),g.forEach((function(r){t["on"+r]=d.bind(e,r)}));var r=Object.keys(this.$attrs).reduce((function(t,r){return t[Object(u.a)(r)]=e.$attrs[r],t}),{}),a=Object.assign({},this.options,r,t,{onMove:function(t,r){return e.onDragMove(t,r)}});!("draggable"in a)&&(a.draggable=">*"),this._sortable=new l.a(this.rootContainer,a),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(e){this.updateOptions(e)},deep:!0},$attrs:{handler:function(e){this.updateOptions(e)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var e=this._vnode.fnOptions;return e&&e.functional},getTag:function(){return this.tag||this.element},updateOptions:function(e){for(var t in e){var r=Object(u.a)(t);-1===v.indexOf(r)&&this._sortable.option(r,e[t])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var e=this.$slots.default;return this.transitionMode?e[0].child.$slots.default:e},computeIndexes:function(){var e=this;this.$nextTick((function(){e.visibleIndexes=function(e,t,r,a){if(!e)return[];var n=e.map((function(e){return e.elm})),s=t.length-a,o=i(t).map((function(e,t){return t>=s?n.length:n.indexOf(e)}));return r?o.filter((function(e){return-1!==e})):o}(e.getChildrenNodes(),e.rootContainer.children,e.transitionMode,e.footerOffset)}))},getUnderlyingVm:function(e){var t=function(e,t){return e.map((function(e){return e.elm})).indexOf(t)}(this.getChildrenNodes()||[],e);return-1===t?null:{index:t,element:this.realList[t]}},getUnderlyingPotencialDraggableComponent:function(e){var t=e.__vue__;return t&&t.$options&&m(t.$options._componentTag)?t.$parent:!("realList"in t)&&1===t.$children.length&&"realList"in t.$children[0]?t.$children[0]:t},emitChanges:function(e){var t=this;this.$nextTick((function(){t.$emit("change",e)}))},alterList:function(e){if(this.list)e(this.list);else{var t=i(this.value);e(t),this.$emit("input",t)}},spliceList:function(){var e=arguments,t=function(t){return t.splice.apply(t,i(e))};this.alterList(t)},updatePosition:function(e,t){var r=function(r){return r.splice(t,0,r.splice(e,1)[0])};this.alterList(r)},getRelatedContextFromMoveEvent:function(e){var t=e.to,r=e.related,a=this.getUnderlyingPotencialDraggableComponent(t);if(!a)return{component:a};var n=a.realList,s={list:n,component:a};if(t!==r&&n&&a.getUnderlyingVm){var o=a.getUnderlyingVm(r);if(o)return Object.assign(o,s)}return s},getVmIndex:function(e){var t=this.visibleIndexes,r=t.length;return e>r-1?r:t[e]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(e){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[e].data=null;var t=this.getComponent();t.children=[],t.kept=void 0}},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),y=e.item},onDragAdd:function(e){var t=e.item._underlying_vm_;if(void 0!==t){Object(u.d)(e.item);var r=this.getVmIndex(e.newIndex);this.spliceList(r,0,t),this.computeIndexes();var a={element:t,newIndex:r};this.emitChanges({added:a})}},onDragRemove:function(e){if(Object(u.c)(this.rootContainer,e.item,e.oldIndex),"clone"!==e.pullMode){var t=this.context.index;this.spliceList(t,1);var r={element:this.context.element,oldIndex:t};this.resetTransitionData(t),this.emitChanges({removed:r})}else Object(u.d)(e.clone)},onDragUpdate:function(e){Object(u.d)(e.item),Object(u.c)(e.from,e.item,e.oldIndex);var t=this.context.index,r=this.getVmIndex(e.newIndex);this.updatePosition(t,r);var a={element:this.context.element,oldIndex:t,newIndex:r};this.emitChanges({moved:a})},updateProperty:function(e,t){e.hasOwnProperty(t)&&(e[t]+=this.headerOffset)},computeFutureIndex:function(e,t){if(!e.element)return 0;var r=i(t.to.children).filter((function(e){return"none"!==e.style.display})),a=r.indexOf(t.related),n=e.component.getVmIndex(a);return-1===r.indexOf(y)&&t.willInsertAfter?n+1:n},onDragMove:function(e,t){var r=this.move;if(!r||!this.realList)return!0;var a=this.getRelatedContextFromMoveEvent(e),n=this.context,s=this.computeFutureIndex(a,e);return Object.assign(n,{futureIndex:s}),r(Object.assign({},e,{relatedContext:a,draggedContext:n}),t)},onDragEnd:function(){this.computeIndexes(),y=null}}};"undefined"!=typeof window&&"Vue"in window&&window.Vue.component("draggable",b);var k=b;t.default=k}}).default},e.exports=a(r(56))},function(e,t,r){"use strict";r.r(t),function(e){var t=r(53),a=r.n(t),n=r(54),s=r.n(n),o="undefined"!=typeof window&&window||void 0!==e&&e||{};o.markdownit=r(57),a.a.component("draggable",s.a),o.Ajv=r(113),o.ajvLocalize=r(157),o.ajvAddFormats=r(180)}.call(this,r(26))},function(e,t,r){"use strict";
|
|
2
10
|
/**!
|
|
3
11
|
* Sortable 1.10.2
|
|
4
12
|
* @author RubaXa <trash@rubaxa.org>
|
|
5
13
|
* @author owenm <owen23355@gmail.com>
|
|
6
14
|
* @license MIT
|
|
7
15
|
*/
|
|
8
|
-
function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){n(e,t,r[t])}))}return e}function s(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.r(t),r.d(t,"MultiDrag",(function(){return bt})),r.d(t,"Sortable",(function(){return ze})),r.d(t,"Swap",(function(){return lt}));function c(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var u=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),h=c(/Edge/i),p=c(/firefox/i),f=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),d=c(/iP(ad|od|hone)/i),m=c(/chrome/i)&&c(/android/i),v={capture:!1,passive:!1};function g(e,t,r){e.addEventListener(t,r,!u&&v)}function y(e,t,r){e.removeEventListener(t,r,!u&&v)}function b(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function _(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function E(e,t,r,a){if(e){r=r||document;do{if(null!=t&&(">"===t[0]?e.parentNode===r&&b(e,t):b(e,t))||a&&e===r)return e;if(e===r)break}while(e=_(e))}return null}var w,x=/\s+/g;function k(e,t,r){if(e&&t)if(e.classList)e.classList[r?"add":"remove"](t);else{var a=(" "+e.className+" ").replace(x," ").replace(" "+t+" "," ");e.className=(a+(r?" "+t:"")).replace(x," ")}}function P(e,t,r){var a=e&&e.style;if(a){if(void 0===r)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(r=e.currentStyle),void 0===t?r:r[t];t in a||-1!==t.indexOf("webkit")||(t="-webkit-"+t),a[t]=r+("string"==typeof r?"":"px")}}function S(e,t){var r="";if("string"==typeof e)r=e;else do{var a=P(e,"transform");a&&"none"!==a&&(r=a+" "+r)}while(!t&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(r)}function C(e,t,r){if(e){var a=e.getElementsByTagName(t),n=0,o=a.length;if(r)for(;n<o;n++)r(a[n],n);return a}return[]}function D(){var e=document.scrollingElement;return e||document.documentElement}function A(e,t,r,a,n){if(e.getBoundingClientRect||e===window){var o,i,s,l,c,h,p;if(e!==window&&e!==D()?(i=(o=e.getBoundingClientRect()).top,s=o.left,l=o.bottom,c=o.right,h=o.height,p=o.width):(i=0,s=0,l=window.innerHeight,c=window.innerWidth,h=window.innerHeight,p=window.innerWidth),(t||r)&&e!==window&&(n=n||e.parentNode,!u))do{if(n&&n.getBoundingClientRect&&("none"!==P(n,"transform")||r&&"static"!==P(n,"position"))){var f=n.getBoundingClientRect();i-=f.top+parseInt(P(n,"border-top-width")),s-=f.left+parseInt(P(n,"border-left-width")),l=i+o.height,c=s+o.width;break}}while(n=n.parentNode);if(a&&e!==window){var d=S(n||e),m=d&&d.a,v=d&&d.d;d&&(l=(i/=v)+(h/=v),c=(s/=m)+(p/=m))}return{top:i,left:s,bottom:l,right:c,width:p,height:h}}}function F(e,t,r){for(var a=j(e,!0),n=A(e)[t];a;){var o=A(a)[r];if(!("top"===r||"left"===r?n>=o:n<=o))return a;if(a===D())break;a=j(a,!1)}return!1}function O(e,t,r){for(var a=0,n=0,o=e.children;n<o.length;){if("none"!==o[n].style.display&&o[n]!==ze.ghost&&o[n]!==ze.dragged&&E(o[n],r.draggable,e,!1)){if(a===t)return o[n];a++}n++}return null}function I(e,t){for(var r=e.lastElementChild;r&&(r===ze.ghost||"none"===P(r,"display")||t&&!b(r,t));)r=r.previousElementSibling;return r||null}function R(e,t){var r=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===ze.clone||t&&!b(e,t)||r++;return r}function T(e){var t=0,r=0,a=D();if(e)do{var n=S(e),o=n.a,i=n.d;t+=e.scrollLeft*o,r+=e.scrollTop*i}while(e!==a&&(e=e.parentNode));return[t,r]}function j(e,t){if(!e||!e.getBoundingClientRect)return D();var r=e,a=!1;do{if(r.clientWidth<r.scrollWidth||r.clientHeight<r.scrollHeight){var n=P(r);if(r.clientWidth<r.scrollWidth&&("auto"==n.overflowX||"scroll"==n.overflowX)||r.clientHeight<r.scrollHeight&&("auto"==n.overflowY||"scroll"==n.overflowY)){if(!r.getBoundingClientRect||r===document.body)return D();if(a||t)return r;a=!0}}}while(r=r.parentNode);return D()}function L(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function q(e,t){return function(){if(!w){var r=arguments,a=this;1===r.length?e.call(a,r[0]):e.apply(a,r),w=setTimeout((function(){w=void 0}),t)}}}function $(e,t,r){e.scrollLeft+=t,e.scrollTop+=r}function M(e){var t=window.Polymer,r=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):r?r(e).clone(!0)[0]:e.cloneNode(!0)}function z(e,t){P(e,"position","absolute"),P(e,"top",t.top),P(e,"left",t.left),P(e,"width",t.width),P(e,"height",t.height)}function N(e){P(e,"position",""),P(e,"top",""),P(e,"left",""),P(e,"width",""),P(e,"height","")}var U="Sortable"+(new Date).getTime();function V(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==P(e,"display")&&e!==ze.ghost){t.push({target:e,rect:A(e)});var r=i({},t[t.length-1].rect);if(e.thisAnimationDuration){var a=S(e,!0);a&&(r.top-=a.f,r.left-=a.e)}e.fromRect=r}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var r in e)if(e.hasOwnProperty(r))for(var a in t)if(t.hasOwnProperty(a)&&t[a]===e[r][a])return Number(r);return-1}(t,{target:e}),1)},animateAll:function(r){var a=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof r&&r());var n=!1,o=0;t.forEach((function(e){var t=0,r=e.target,i=r.fromRect,s=A(r),l=r.prevFromRect,c=r.prevToRect,u=e.rect,h=S(r,!0);h&&(s.top-=h.f,s.left-=h.e),r.toRect=s,r.thisAnimationDuration&&L(l,s)&&!L(i,s)&&(u.top-s.top)/(u.left-s.left)==(i.top-s.top)/(i.left-s.left)&&(t=function(e,t,r,a){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-r.top,2)+Math.pow(t.left-r.left,2))*a.animation}(u,l,c,a.options)),L(s,i)||(r.prevFromRect=i,r.prevToRect=s,t||(t=a.options.animation),a.animate(r,u,s,t)),t&&(n=!0,o=Math.max(o,t),clearTimeout(r.animationResetTimer),r.animationResetTimer=setTimeout((function(){r.animationTime=0,r.prevFromRect=null,r.fromRect=null,r.prevToRect=null,r.thisAnimationDuration=null}),t),r.thisAnimationDuration=t)})),clearTimeout(e),n?e=setTimeout((function(){"function"==typeof r&&r()}),o):"function"==typeof r&&r(),t=[]},animate:function(e,t,r,a){if(a){P(e,"transition",""),P(e,"transform","");var n=S(this.el),o=n&&n.a,i=n&&n.d,s=(t.left-r.left)/(o||1),l=(t.top-r.top)/(i||1);e.animatingX=!!s,e.animatingY=!!l,P(e,"transform","translate3d("+s+"px,"+l+"px,0)"),function(e){e.offsetWidth}(e),P(e,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),P(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){P(e,"transition",""),P(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),a)}}}}var B=[],H={initializeByDefault:!0},Q={mount:function(e){for(var t in H)!H.hasOwnProperty(t)||t in e||(e[t]=H[t]);B.push(e)},pluginEvent:function(e,t,r){var a=this;this.eventCanceled=!1,r.cancel=function(){a.eventCanceled=!0};var n=e+"Global";B.forEach((function(a){t[a.pluginName]&&(t[a.pluginName][n]&&t[a.pluginName][n](i({sortable:t},r)),t.options[a.pluginName]&&t[a.pluginName][e]&&t[a.pluginName][e](i({sortable:t},r)))}))},initializePlugins:function(e,t,r,a){for(var n in B.forEach((function(a){var n=a.pluginName;if(e.options[n]||a.initializeByDefault){var i=new a(e,t,e.options);i.sortable=e,i.options=e.options,e[n]=i,o(r,i.defaults)}})),e.options)if(e.options.hasOwnProperty(n)){var i=this.modifyOption(e,n,e.options[n]);void 0!==i&&(e.options[n]=i)}},getEventProperties:function(e,t){var r={};return B.forEach((function(a){"function"==typeof a.eventProperties&&o(r,a.eventProperties.call(t[a.pluginName],e))})),r},modifyOption:function(e,t,r){var a;return B.forEach((function(n){e[n.pluginName]&&n.optionListeners&&"function"==typeof n.optionListeners[t]&&(a=n.optionListeners[t].call(e[n.pluginName],r))})),a}};function Z(e){var t=e.sortable,r=e.rootEl,a=e.name,n=e.targetEl,o=e.cloneEl,s=e.toEl,l=e.fromEl,c=e.oldIndex,p=e.newIndex,f=e.oldDraggableIndex,d=e.newDraggableIndex,m=e.originalEvent,v=e.putSortable,g=e.extraEventProperties;if(t=t||r&&r[U]){var y,b=t.options,_="on"+a.charAt(0).toUpperCase()+a.substr(1);!window.CustomEvent||u||h?(y=document.createEvent("Event")).initEvent(a,!0,!0):y=new CustomEvent(a,{bubbles:!0,cancelable:!0}),y.to=s||r,y.from=l||r,y.item=n||r,y.clone=o,y.oldIndex=c,y.newIndex=p,y.oldDraggableIndex=f,y.newDraggableIndex=d,y.originalEvent=m,y.pullMode=v?v.lastPutMode:void 0;var E=i({},g,Q.getEventProperties(a,t));for(var w in E)y[w]=E[w];r&&r.dispatchEvent(y),b[_]&&b[_].call(t,y)}}var G=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=r.evt,n=s(r,["evt"]);Q.pluginEvent.bind(ze)(e,t,i({dragEl:Y,parentEl:X,ghostEl:J,rootEl:W,nextEl:ee,lastDownEl:te,cloneEl:re,cloneHidden:ae,dragStarted:ve,putSortable:ce,activeSortable:ze.active,originalEvent:a,oldIndex:ne,oldDraggableIndex:ie,newIndex:oe,newDraggableIndex:se,hideGhostForTarget:Le,unhideGhostForTarget:qe,cloneNowHidden:function(){ae=!0},cloneNowShown:function(){ae=!1},dispatchSortableEvent:function(e){K({sortable:t,name:e,originalEvent:a})}},n))};function K(e){Z(i({putSortable:ce,cloneEl:re,targetEl:Y,rootEl:W,oldIndex:ne,oldDraggableIndex:ie,newIndex:oe,newDraggableIndex:se},e))}var Y,X,J,W,ee,te,re,ae,ne,oe,ie,se,le,ce,ue,he,pe,fe,de,me,ve,ge,ye,be,_e,Ee=!1,we=!1,xe=[],ke=!1,Pe=!1,Se=[],Ce=!1,De=[],Ae="undefined"!=typeof document,Fe=d,Oe=h||u?"cssFloat":"float",Ie=Ae&&!m&&!d&&"draggable"in document.createElement("div"),Re=function(){if(Ae){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Te=function(e,t){var r=P(e),a=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),n=O(e,0,t),o=O(e,1,t),i=n&&P(n),s=o&&P(o),l=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+A(n).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+A(o).width;if("flex"===r.display)return"column"===r.flexDirection||"column-reverse"===r.flexDirection?"vertical":"horizontal";if("grid"===r.display)return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(n&&i.float&&"none"!==i.float){var u="left"===i.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return n&&("block"===i.display||"flex"===i.display||"table"===i.display||"grid"===i.display||l>=a&&"none"===r[Oe]||o&&"none"===r[Oe]&&l+c>a)?"vertical":"horizontal"},je=function(e){function t(e,r){return function(a,n,o,i){var s=a.options.group.name&&n.options.group.name&&a.options.group.name===n.options.group.name;if(null==e&&(r||s))return!0;if(null==e||!1===e)return!1;if(r&&"clone"===e)return e;if("function"==typeof e)return t(e(a,n,o,i),r)(a,n,o,i);var l=(r?a:n).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var r={},n=e.group;n&&"object"==a(n)||(n={name:n}),r.name=n.name,r.checkPull=t(n.pull,!0),r.checkPut=t(n.put),r.revertClone=n.revertClone,e.group=r},Le=function(){!Re&&J&&P(J,"display","none")},qe=function(){!Re&&J&&P(J,"display","")};Ae&&document.addEventListener("click",(function(e){if(we)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),we=!1,!1}),!0);var $e=function(e){if(Y){e=e.touches?e.touches[0]:e;var t=(n=e.clientX,o=e.clientY,xe.some((function(e){if(!I(e)){var t=A(e),r=e[U].options.emptyInsertThreshold,a=n>=t.left-r&&n<=t.right+r,s=o>=t.top-r&&o<=t.bottom+r;return r&&a&&s?i=e:void 0}})),i);if(t){var r={};for(var a in e)e.hasOwnProperty(a)&&(r[a]=e[a]);r.target=r.rootEl=t,r.preventDefault=void 0,r.stopPropagation=void 0,t[U]._onDragOver(r)}}var n,o,i},Me=function(e){Y&&Y.parentNode[U]._isOutsideThisEl(e.target)};function ze(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=o({},t),e[U]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Te(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==ze.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var a in Q.initializePlugins(this,e,r),r)!(a in t)&&(t[a]=r[a]);for(var n in je(t),this)"_"===n.charAt(0)&&"function"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&Ie,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?g(e,"pointerdown",this._onTapStart):(g(e,"mousedown",this._onTapStart),g(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(g(e,"dragover",this),g(e,"dragenter",this)),xe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),o(this,V())}function Ne(e,t,r,a,n,o,i,s){var l,c,p=e[U],f=p.options.onMove;return!window.CustomEvent||u||h?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=r,l.draggedRect=a,l.related=n||t,l.relatedRect=o||A(t),l.willInsertAfter=s,l.originalEvent=i,e.dispatchEvent(l),f&&(c=f.call(p,l,i)),c}function Ue(e){e.draggable=!1}function Ve(){Ce=!1}function Be(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,r=t.length,a=0;r--;)a+=t.charCodeAt(r);return a.toString(36)}function He(e){return setTimeout(e,0)}function Qe(e){return clearTimeout(e)}ze.prototype={constructor:ze,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(ge=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Y):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,r=this.el,a=this.options,n=a.preventOnFilter,o=e.type,i=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(i||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=a.filter;if(function(e){De.length=0;var t=e.getElementsByTagName("input"),r=t.length;for(;r--;){var a=t[r];a.checked&&De.push(a)}}(r),!Y&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||a.disabled||l.isContentEditable||(s=E(s,a.draggable,r,!1))&&s.animated||te===s)){if(ne=R(s),ie=R(s,a.draggable),"function"==typeof c){if(c.call(this,e,s,this))return K({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:r,fromEl:r}),G("filter",t,{evt:e}),void(n&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(a){if(a=E(l,a.trim(),r,!1))return K({sortable:t,rootEl:a,name:"filter",targetEl:s,fromEl:r,toEl:r}),G("filter",t,{evt:e}),!0}))))return void(n&&e.cancelable&&e.preventDefault());a.handle&&!E(l,a.handle,r,!1)||this._prepareDragStart(e,i,s)}}},_prepareDragStart:function(e,t,r){var a,n=this,o=n.el,i=n.options,s=o.ownerDocument;if(r&&!Y&&r.parentNode===o){var l=A(r);if(W=o,X=(Y=r).parentNode,ee=Y.nextSibling,te=r,le=i.group,ze.dragged=Y,ue={target:Y,clientX:(t||e).clientX,clientY:(t||e).clientY},de=ue.clientX-l.left,me=ue.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Y.style["will-change"]="all",a=function(){G("delayEnded",n,{evt:e}),ze.eventCanceled?n._onDrop():(n._disableDelayedDragEvents(),!p&&n.nativeDraggable&&(Y.draggable=!0),n._triggerDragStart(e,t),K({sortable:n,name:"choose",originalEvent:e}),k(Y,i.chosenClass,!0))},i.ignore.split(",").forEach((function(e){C(Y,e.trim(),Ue)})),g(s,"dragover",$e),g(s,"mousemove",$e),g(s,"touchmove",$e),g(s,"mouseup",n._onDrop),g(s,"touchend",n._onDrop),g(s,"touchcancel",n._onDrop),p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Y.draggable=!0),G("delayStart",this,{evt:e}),!i.delay||i.delayOnTouchOnly&&!t||this.nativeDraggable&&(h||u))a();else{if(ze.eventCanceled)return void this._onDrop();g(s,"mouseup",n._disableDelayedDrag),g(s,"touchend",n._disableDelayedDrag),g(s,"touchcancel",n._disableDelayedDrag),g(s,"mousemove",n._delayedDragTouchMoveHandler),g(s,"touchmove",n._delayedDragTouchMoveHandler),i.supportPointer&&g(s,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(a,i.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Y&&Ue(Y),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;y(e,"mouseup",this._disableDelayedDrag),y(e,"touchend",this._disableDelayedDrag),y(e,"touchcancel",this._disableDelayedDrag),y(e,"mousemove",this._delayedDragTouchMoveHandler),y(e,"touchmove",this._delayedDragTouchMoveHandler),y(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?g(document,"pointermove",this._onTouchMove):g(document,t?"touchmove":"mousemove",this._onTouchMove):(g(Y,"dragend",this),g(W,"dragstart",this._onDragStart));try{document.selection?He((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(Ee=!1,W&&Y){G("dragStarted",this,{evt:t}),this.nativeDraggable&&g(document,"dragover",Me);var r=this.options;!e&&k(Y,r.dragClass,!1),k(Y,r.ghostClass,!0),ze.active=this,e&&this._appendGhost(),K({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(he){this._lastX=he.clientX,this._lastY=he.clientY,Le();for(var e=document.elementFromPoint(he.clientX,he.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(he.clientX,he.clientY))!==t;)t=e;if(Y.parentNode[U]._isOutsideThisEl(e),t)do{if(t[U]){if(t[U]._onDragOver({clientX:he.clientX,clientY:he.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);qe()}},_onTouchMove:function(e){if(ue){var t=this.options,r=t.fallbackTolerance,a=t.fallbackOffset,n=e.touches?e.touches[0]:e,o=J&&S(J,!0),i=J&&o&&o.a,s=J&&o&&o.d,l=Fe&&_e&&T(_e),c=(n.clientX-ue.clientX+a.x)/(i||1)+(l?l[0]-Se[0]:0)/(i||1),u=(n.clientY-ue.clientY+a.y)/(s||1)+(l?l[1]-Se[1]:0)/(s||1);if(!ze.active&&!Ee){if(r&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<r)return;this._onDragStart(e,!0)}if(J){o?(o.e+=c-(pe||0),o.f+=u-(fe||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var h="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");P(J,"webkitTransform",h),P(J,"mozTransform",h),P(J,"msTransform",h),P(J,"transform",h),pe=c,fe=u,he=n}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!J){var e=this.options.fallbackOnBody?document.body:W,t=A(Y,!0,Fe,!0,e),r=this.options;if(Fe){for(_e=e;"static"===P(_e,"position")&&"none"===P(_e,"transform")&&_e!==document;)_e=_e.parentNode;_e!==document.body&&_e!==document.documentElement?(_e===document&&(_e=D()),t.top+=_e.scrollTop,t.left+=_e.scrollLeft):_e=D(),Se=T(_e)}k(J=Y.cloneNode(!0),r.ghostClass,!1),k(J,r.fallbackClass,!0),k(J,r.dragClass,!0),P(J,"transition",""),P(J,"transform",""),P(J,"box-sizing","border-box"),P(J,"margin",0),P(J,"top",t.top),P(J,"left",t.left),P(J,"width",t.width),P(J,"height",t.height),P(J,"opacity","0.8"),P(J,"position",Fe?"absolute":"fixed"),P(J,"zIndex","100000"),P(J,"pointerEvents","none"),ze.ghost=J,e.appendChild(J),P(J,"transform-origin",de/parseInt(J.style.width)*100+"% "+me/parseInt(J.style.height)*100+"%")}},_onDragStart:function(e,t){var r=this,a=e.dataTransfer,n=r.options;G("dragStart",this,{evt:e}),ze.eventCanceled?this._onDrop():(G("setupClone",this),ze.eventCanceled||((re=M(Y)).draggable=!1,re.style["will-change"]="",this._hideClone(),k(re,this.options.chosenClass,!1),ze.clone=re),r.cloneId=He((function(){G("clone",r),ze.eventCanceled||(r.options.removeCloneOnHide||W.insertBefore(re,Y),r._hideClone(),K({sortable:r,name:"clone"}))})),!t&&k(Y,n.dragClass,!0),t?(we=!0,r._loopId=setInterval(r._emulateDragOver,50)):(y(document,"mouseup",r._onDrop),y(document,"touchend",r._onDrop),y(document,"touchcancel",r._onDrop),a&&(a.effectAllowed="move",n.setData&&n.setData.call(r,a,Y)),g(document,"drop",r),P(Y,"transform","translateZ(0)")),Ee=!0,r._dragStartId=He(r._dragStarted.bind(r,t,e)),g(document,"selectstart",r),ve=!0,f&&P(document.body,"user-select","none"))},_onDragOver:function(e){var t,r,a,n,o=this.el,s=e.target,l=this.options,c=l.group,u=ze.active,h=le===c,p=l.sort,f=ce||u,d=this,m=!1;if(!Ce){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),s=E(s,l.draggable,o,!0),L("dragOver"),ze.eventCanceled)return m;if(Y.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||d._ignoreWhileAnimating===s)return M(!1);if(we=!1,u&&!l.disabled&&(h?p||(a=!W.contains(Y)):ce===this||(this.lastPutMode=le.checkPull(this,u,Y,e))&&c.checkPut(this,u,Y,e))){if(n="vertical"===this._getDirection(e,s),t=A(Y),L("dragOverValid"),ze.eventCanceled)return m;if(a)return X=W,q(),this._hideClone(),L("revert"),ze.eventCanceled||(ee?W.insertBefore(Y,ee):W.appendChild(Y)),M(!0);var v=I(o,l.draggable);if(!v||function(e,t,r){var a=A(I(r.el,r.options.draggable));return t?e.clientX>a.right+10||e.clientX<=a.right&&e.clientY>a.bottom&&e.clientX>=a.left:e.clientX>a.right&&e.clientY>a.top||e.clientX<=a.right&&e.clientY>a.bottom+10}(e,n,this)&&!v.animated){if(v===Y)return M(!1);if(v&&o===e.target&&(s=v),s&&(r=A(s)),!1!==Ne(W,o,Y,t,s,r,e,!!s))return q(),o.appendChild(Y),X=o,z(),M(!0)}else if(s.parentNode===o){r=A(s);var g,y,b,_=Y.parentNode!==o,w=!function(e,t,r){var a=r?e.left:e.top,n=r?e.right:e.bottom,o=r?e.width:e.height,i=r?t.left:t.top,s=r?t.right:t.bottom,l=r?t.width:t.height;return a===i||n===s||a+o/2===i+l/2}(Y.animated&&Y.toRect||t,s.animated&&s.toRect||r,n),x=n?"top":"left",S=F(s,"top","top")||F(Y,"top","top"),C=S?S.scrollTop:void 0;if(ge!==s&&(y=r[x],ke=!1,Pe=!w&&l.invertSwap||_),0!==(g=function(e,t,r,a,n,o,i,s){var l=a?e.clientY:e.clientX,c=a?r.height:r.width,u=a?r.top:r.left,h=a?r.bottom:r.right,p=!1;if(!i)if(s&&be<c*n){if(!ke&&(1===ye?l>u+c*o/2:l<h-c*o/2)&&(ke=!0),ke)p=!0;else if(1===ye?l<u+be:l>h-be)return-ye}else if(l>u+c*(1-n)/2&&l<h-c*(1-n)/2)return function(e){return R(Y)<R(e)?1:-1}(t);if((p=p||i)&&(l<u+c*o/2||l>h-c*o/2))return l>u+c/2?1:-1;return 0}(e,s,r,n,w?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Pe,ge===s))){var D=R(Y);do{D-=g,b=X.children[D]}while(b&&("none"===P(b,"display")||b===J))}if(0===g||b===s)return M(!1);ge=s,ye=g;var O=s.nextElementSibling,T=!1,j=Ne(W,o,Y,t,s,r,e,T=1===g);if(!1!==j)return 1!==j&&-1!==j||(T=1===j),Ce=!0,setTimeout(Ve,30),q(),T&&!O?o.appendChild(Y):s.parentNode.insertBefore(Y,T?O:s),S&&$(S,0,C-S.scrollTop),X=Y.parentNode,void 0===y||Pe||(be=Math.abs(y-A(s)[x])),z(),M(!0)}if(o.contains(Y))return M(!1)}return!1}function L(l,c){G(l,d,i({evt:e,isOwner:h,axis:n?"vertical":"horizontal",revert:a,dragRect:t,targetRect:r,canSort:p,fromSortable:f,target:s,completed:M,onMove:function(r,a){return Ne(W,o,Y,t,r,A(r),e,a)},changed:z},c))}function q(){L("dragOverAnimationCapture"),d.captureAnimationState(),d!==f&&f.captureAnimationState()}function M(t){return L("dragOverCompleted",{insertion:t}),t&&(h?u._hideClone():u._showClone(d),d!==f&&(k(Y,ce?ce.options.ghostClass:u.options.ghostClass,!1),k(Y,l.ghostClass,!0)),ce!==d&&d!==ze.active?ce=d:d===ze.active&&ce&&(ce=null),f===d&&(d._ignoreWhileAnimating=s),d.animateAll((function(){L("dragOverAnimationComplete"),d._ignoreWhileAnimating=null})),d!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===Y&&!Y.animated||s===o&&!s.animated)&&(ge=null),l.dragoverBubble||e.rootEl||s===document||(Y.parentNode[U]._isOutsideThisEl(e.target),!t&&$e(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function z(){oe=R(Y),se=R(Y,l.draggable),K({sortable:d,name:"change",toEl:o,newIndex:oe,newDraggableIndex:se,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){y(document,"mousemove",this._onTouchMove),y(document,"touchmove",this._onTouchMove),y(document,"pointermove",this._onTouchMove),y(document,"dragover",$e),y(document,"mousemove",$e),y(document,"touchmove",$e)},_offUpEvents:function(){var e=this.el.ownerDocument;y(e,"mouseup",this._onDrop),y(e,"touchend",this._onDrop),y(e,"pointerup",this._onDrop),y(e,"touchcancel",this._onDrop),y(document,"selectstart",this)},_onDrop:function(e){var t=this.el,r=this.options;oe=R(Y),se=R(Y,r.draggable),G("drop",this,{evt:e}),X=Y&&Y.parentNode,oe=R(Y),se=R(Y,r.draggable),ze.eventCanceled?this._nulling():(Ee=!1,Pe=!1,ke=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Qe(this.cloneId),Qe(this._dragStartId),this.nativeDraggable&&(y(document,"drop",this),y(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&P(document.body,"user-select",""),P(Y,"transform",""),e&&(ve&&(e.cancelable&&e.preventDefault(),!r.dropBubble&&e.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(W===X||ce&&"clone"!==ce.lastPutMode)&&re&&re.parentNode&&re.parentNode.removeChild(re),Y&&(this.nativeDraggable&&y(Y,"dragend",this),Ue(Y),Y.style["will-change"]="",ve&&!Ee&&k(Y,ce?ce.options.ghostClass:this.options.ghostClass,!1),k(Y,this.options.chosenClass,!1),K({sortable:this,name:"unchoose",toEl:X,newIndex:null,newDraggableIndex:null,originalEvent:e}),W!==X?(oe>=0&&(K({rootEl:X,name:"add",toEl:X,fromEl:W,originalEvent:e}),K({sortable:this,name:"remove",toEl:X,originalEvent:e}),K({rootEl:X,name:"sort",toEl:X,fromEl:W,originalEvent:e}),K({sortable:this,name:"sort",toEl:X,originalEvent:e})),ce&&ce.save()):oe!==ne&&oe>=0&&(K({sortable:this,name:"update",toEl:X,originalEvent:e}),K({sortable:this,name:"sort",toEl:X,originalEvent:e})),ze.active&&(null!=oe&&-1!==oe||(oe=ne,se=ie),K({sortable:this,name:"end",toEl:X,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){G("nulling",this),W=Y=X=J=ee=re=te=ae=ue=he=ve=oe=se=ne=ie=ge=ye=ce=le=ze.dragged=ze.ghost=ze.clone=ze.active=null,De.forEach((function(e){e.checked=!0})),De.length=pe=fe=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Y&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,a=0,n=r.length,o=this.options;a<n;a++)E(e=r[a],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||Be(e));return t},sort:function(e){var t={},r=this.el;this.toArray().forEach((function(e,a){var n=r.children[a];E(n,this.options.draggable,r,!1)&&(t[e]=n)}),this),e.forEach((function(e){t[e]&&(r.removeChild(t[e]),r.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return E(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var r=this.options;if(void 0===t)return r[e];var a=Q.modifyOption(this,e,t);r[e]=void 0!==a?a:t,"group"===e&&je(r)},destroy:function(){G("destroy",this);var e=this.el;e[U]=null,y(e,"mousedown",this._onTapStart),y(e,"touchstart",this._onTapStart),y(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(y(e,"dragover",this),y(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),xe.splice(xe.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!ae){if(G("hideClone",this),ze.eventCanceled)return;P(re,"display","none"),this.options.removeCloneOnHide&&re.parentNode&&re.parentNode.removeChild(re),ae=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(ae){if(G("showClone",this),ze.eventCanceled)return;W.contains(Y)&&!this.options.group.revertClone?W.insertBefore(re,Y):ee?W.insertBefore(re,ee):W.appendChild(re),this.options.group.revertClone&&this.animate(Y,re),P(re,"display",""),ae=!1}}else this._hideClone()}},Ae&&g(document,"touchmove",(function(e){(ze.active||Ee)&&e.cancelable&&e.preventDefault()})),ze.utils={on:g,off:y,css:P,find:C,is:function(e,t){return!!E(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},throttle:q,closest:E,toggleClass:k,clone:M,index:R,nextTick:He,cancelNextTick:Qe,detectDirection:Te,getChild:O},ze.get=function(e){return e[U]},ze.mount=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(ze.utils=i({},ze.utils,e.utils)),Q.mount(e)}))},ze.create=function(e,t){return new ze(e,t)},ze.version="1.10.2";var Ze,Ge,Ke,Ye,Xe,Je,We=[],et=!1;function tt(){We.forEach((function(e){clearInterval(e.pid)})),We=[]}function rt(){clearInterval(Je)}var at,nt=q((function(e,t,r,a){if(t.scroll){var n,o=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=D(),u=!1;Ge!==r&&(Ge=r,tt(),Ze=t.scroll,n=t.scrollFn,!0===Ze&&(Ze=j(r,!0)));var h=0,p=Ze;do{var f=p,d=A(f),m=d.top,v=d.bottom,g=d.left,y=d.right,b=d.width,_=d.height,E=void 0,w=void 0,x=f.scrollWidth,k=f.scrollHeight,S=P(f),C=f.scrollLeft,F=f.scrollTop;f===c?(E=b<x&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),w=_<k&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(E=b<x&&("auto"===S.overflowX||"scroll"===S.overflowX),w=_<k&&("auto"===S.overflowY||"scroll"===S.overflowY));var O=E&&(Math.abs(y-o)<=s&&C+b<x)-(Math.abs(g-o)<=s&&!!C),I=w&&(Math.abs(v-i)<=s&&F+_<k)-(Math.abs(m-i)<=s&&!!F);if(!We[h])for(var R=0;R<=h;R++)We[R]||(We[R]={});We[h].vx==O&&We[h].vy==I&&We[h].el===f||(We[h].el=f,We[h].vx=O,We[h].vy=I,clearInterval(We[h].pid),0==O&&0==I||(u=!0,We[h].pid=setInterval(function(){a&&0===this.layer&&ze.active._onTouchMove(Xe);var t=We[this.layer].vy?We[this.layer].vy*l:0,r=We[this.layer].vx?We[this.layer].vx*l:0;"function"==typeof n&&"continue"!==n.call(ze.dragged.parentNode[U],r,t,e,Xe,We[this.layer].el)||$(We[this.layer].el,r,t)}.bind({layer:h}),24))),h++}while(t.bubbleScroll&&p!==c&&(p=j(p,!1)));et=u}}),30),ot=function(e){var t=e.originalEvent,r=e.putSortable,a=e.dragEl,n=e.activeSortable,o=e.dispatchSortableEvent,i=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=r||n;i();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:a,putSortable:r}))}};function it(){}function st(){}function lt(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;at=t},dragOverValid:function(e){var t=e.completed,r=e.target,a=e.onMove,n=e.activeSortable,o=e.changed,i=e.cancel;if(n.options.swap){var s=this.sortable.el,l=this.options;if(r&&r!==s){var c=at;!1!==a(r)?(k(r,l.swapClass,!0),at=r):at=null,c&&c!==at&&k(c,l.swapClass,!1)}o(),t(!0),i()}},drop:function(e){var t=e.activeSortable,r=e.putSortable,a=e.dragEl,n=r||this.sortable,o=this.options;at&&k(at,o.swapClass,!1),at&&(o.swap||r&&r.options.swap)&&a!==at&&(n.captureAnimationState(),n!==t&&t.captureAnimationState(),function(e,t){var r,a,n=e.parentNode,o=t.parentNode;if(!n||!o||n.isEqualNode(t)||o.isEqualNode(e))return;r=R(e),a=R(t),n.isEqualNode(o)&&r<a&&a++;n.insertBefore(t,n.children[r]),o.insertBefore(e,o.children[a])}(a,at),n.animateAll(),n!==t&&t.animateAll())},nulling:function(){at=null}},o(e,{pluginName:"swap",eventProperties:function(){return{swapItem:at}}})}it.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,r=e.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var a=O(this.sortable.el,this.startIndex,this.options);a?this.sortable.el.insertBefore(t,a):this.sortable.el.appendChild(t),this.sortable.animateAll(),r&&r.animateAll()},drop:ot},o(it,{pluginName:"revertOnSpill"}),st.prototype={onSpill:function(e){var t=e.dragEl,r=e.putSortable||this.sortable;r.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),r.animateAll()},drop:ot},o(st,{pluginName:"removeOnSpill"});var ct,ut,ht,pt,ft,dt=[],mt=[],vt=!1,gt=!1,yt=!1;function bt(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?g(document,"pointerup",this._deselectMultiDrag):(g(document,"mouseup",this._deselectMultiDrag),g(document,"touchend",this._deselectMultiDrag)),g(document,"keydown",this._checkKeyDown),g(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,r){var a="";dt.length&&ut===e?dt.forEach((function(e,t){a+=(t?", ":"")+e.textContent})):a=r.textContent,t.setData("Text",a)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;ht=t},delayEnded:function(){this.isMultiDrag=~dt.indexOf(ht)},setupClone:function(e){var t=e.sortable,r=e.cancel;if(this.isMultiDrag){for(var a=0;a<dt.length;a++)mt.push(M(dt[a])),mt[a].sortableIndex=dt[a].sortableIndex,mt[a].draggable=!1,mt[a].style["will-change"]="",k(mt[a],this.options.selectedClass,!1),dt[a]===ht&&k(mt[a],this.options.chosenClass,!1);t._hideClone(),r()}},clone:function(e){var t=e.sortable,r=e.rootEl,a=e.dispatchSortableEvent,n=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||dt.length&&ut===t&&(_t(!0,r),a("clone"),n()))},showClone:function(e){var t=e.cloneNowShown,r=e.rootEl,a=e.cancel;this.isMultiDrag&&(_t(!1,r),mt.forEach((function(e){P(e,"display","")})),t(),ft=!1,a())},hideClone:function(e){var t=this,r=(e.sortable,e.cloneNowHidden),a=e.cancel;this.isMultiDrag&&(mt.forEach((function(e){P(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),r(),ft=!0,a())},dragStartGlobal:function(e){e.sortable;!this.isMultiDrag&&ut&&ut.multiDrag._deselectMultiDrag(),dt.forEach((function(e){e.sortableIndex=R(e)})),dt=dt.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),yt=!0},dragStarted:function(e){var t=this,r=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(r.captureAnimationState(),this.options.animation)){dt.forEach((function(e){e!==ht&&P(e,"position","absolute")}));var a=A(ht,!1,!0,!0);dt.forEach((function(e){e!==ht&&z(e,a)})),gt=!0,vt=!0}r.animateAll((function(){gt=!1,vt=!1,t.options.animation&&dt.forEach((function(e){N(e)})),t.options.sort&&Et()}))}},dragOver:function(e){var t=e.target,r=e.completed,a=e.cancel;gt&&~dt.indexOf(t)&&(r(!1),a())},revert:function(e){var t=e.fromSortable,r=e.rootEl,a=e.sortable,n=e.dragRect;dt.length>1&&(dt.forEach((function(e){a.addAnimationState({target:e,rect:gt?A(e):n}),N(e),e.fromRect=n,t.removeAnimationState(e)})),gt=!1,function(e,t){dt.forEach((function(r,a){var n=t.children[r.sortableIndex+(e?Number(a):0)];n?t.insertBefore(r,n):t.appendChild(r)}))}(!this.options.removeCloneOnHide,r))},dragOverCompleted:function(e){var t=e.sortable,r=e.isOwner,a=e.insertion,n=e.activeSortable,o=e.parentEl,i=e.putSortable,s=this.options;if(a){if(r&&n._hideClone(),vt=!1,s.animation&&dt.length>1&&(gt||!r&&!n.options.sort&&!i)){var l=A(ht,!1,!0,!0);dt.forEach((function(e){e!==ht&&(z(e,l),o.appendChild(e))})),gt=!0}if(!r)if(gt||Et(),dt.length>1){var c=ft;n._showClone(t),n.options.animation&&!ft&&c&&mt.forEach((function(e){n.addAnimationState({target:e,rect:pt}),e.fromRect=pt,e.thisAnimationDuration=null}))}else n._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,r=e.isOwner,a=e.activeSortable;if(dt.forEach((function(e){e.thisAnimationDuration=null})),a.options.animation&&!r&&a.multiDrag.isMultiDrag){pt=o({},t);var n=S(ht,!0);pt.top-=n.f,pt.left-=n.e}},dragOverAnimationComplete:function(){gt&&(gt=!1,Et())},drop:function(e){var t=e.originalEvent,r=e.rootEl,a=e.parentEl,n=e.sortable,o=e.dispatchSortableEvent,i=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,u=a.children;if(!yt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),k(ht,c.selectedClass,!~dt.indexOf(ht)),~dt.indexOf(ht))dt.splice(dt.indexOf(ht),1),ct=null,Z({sortable:n,rootEl:r,name:"deselect",targetEl:ht,originalEvt:t});else{if(dt.push(ht),Z({sortable:n,rootEl:r,name:"select",targetEl:ht,originalEvt:t}),t.shiftKey&&ct&&n.el.contains(ct)){var h,p,f=R(ct),d=R(ht);if(~f&&~d&&f!==d)for(d>f?(p=f,h=d):(p=d,h=f+1);p<h;p++)~dt.indexOf(u[p])||(k(u[p],c.selectedClass,!0),dt.push(u[p]),Z({sortable:n,rootEl:r,name:"select",targetEl:u[p],originalEvt:t}))}else ct=ht;ut=l}if(yt&&this.isMultiDrag){if((a[U].options.sort||a!==r)&&dt.length>1){var m=A(ht),v=R(ht,":not(."+this.options.selectedClass+")");if(!vt&&c.animation&&(ht.thisAnimationDuration=null),l.captureAnimationState(),!vt&&(c.animation&&(ht.fromRect=m,dt.forEach((function(e){if(e.thisAnimationDuration=null,e!==ht){var t=gt?A(e):m;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),Et(),dt.forEach((function(e){u[v]?a.insertBefore(e,u[v]):a.appendChild(e),v++})),i===R(ht))){var g=!1;dt.forEach((function(e){e.sortableIndex===R(e)||(g=!0)})),g&&o("update")}dt.forEach((function(e){N(e)})),l.animateAll()}ut=l}(r===a||s&&"clone"!==s.lastPutMode)&&mt.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=yt=!1,mt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),y(document,"pointerup",this._deselectMultiDrag),y(document,"mouseup",this._deselectMultiDrag),y(document,"touchend",this._deselectMultiDrag),y(document,"keydown",this._checkKeyDown),y(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==yt&&yt||ut!==this.sortable||e&&E(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;dt.length;){var t=dt[0];k(t,this.options.selectedClass,!1),dt.shift(),Z({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[U];t&&t.options.multiDrag&&!~dt.indexOf(e)&&(ut&&ut!==t&&(ut.multiDrag._deselectMultiDrag(),ut=t),k(e,t.options.selectedClass,!0),dt.push(e))},deselect:function(e){var t=e.parentNode[U],r=dt.indexOf(e);t&&t.options.multiDrag&&~r&&(k(e,t.options.selectedClass,!1),dt.splice(r,1))}},eventProperties:function(){var e=this,t=[],r=[];return dt.forEach((function(a){var n;t.push({multiDragElement:a,index:a.sortableIndex}),n=gt&&a!==ht?-1:gt?R(a,":not(."+e.options.selectedClass+")"):R(a),r.push({multiDragElement:a,index:n})})),{items:l(dt),clones:[].concat(mt),oldIndicies:t,newIndicies:r}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function _t(e,t){mt.forEach((function(r,a){var n=t.children[r.sortableIndex+(e?Number(a):0)];n?t.insertBefore(r,n):t.appendChild(r)}))}function Et(){dt.forEach((function(e){e!==ht&&e.parentNode&&e.parentNode.removeChild(e)}))}ze.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):this.options.supportPointer?g(document,"pointermove",this._handleFallbackAutoScroll):t.touches?g(document,"touchmove",this._handleFallbackAutoScroll):g(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?y(document,"dragover",this._handleAutoScroll):(y(document,"pointermove",this._handleFallbackAutoScroll),y(document,"touchmove",this._handleFallbackAutoScroll),y(document,"mousemove",this._handleFallbackAutoScroll)),rt(),tt(),clearTimeout(w),w=void 0},nulling:function(){Xe=Ge=Ze=et=Je=Ke=Ye=null,We.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var r=this,a=(e.touches?e.touches[0]:e).clientX,n=(e.touches?e.touches[0]:e).clientY,o=document.elementFromPoint(a,n);if(Xe=e,t||h||u||f){nt(e,this.options,o,t);var i=j(o,!0);!et||Je&&a===Ke&&n===Ye||(Je&&rt(),Je=setInterval((function(){var o=j(document.elementFromPoint(a,n),!0);o!==i&&(i=o,tt()),nt(e,r.options,o,t)}),10),Ke=a,Ye=n)}else{if(!this.options.bubbleScroll||j(o,!0)===D())return void tt();nt(e,this.options,j(o,!1),!1)}}},o(e,{pluginName:"scroll",initializeByDefault:!0})}),ze.mount(st,it),t.default=ze},function(e,t,r){"use strict";e.exports=r(30)},function(e,t,r){"use strict";var a=r(0),n=r(38),o=r(42),i=r(43),s=r(51),l=r(65),c=r(78),u=r(10),h=r(80),p={default:r(82),zero:r(83),commonmark:r(84)},f=/^(vbscript|javascript|file|data):/,d=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!f.test(t)||!!d.test(t)}var v=["http:","https:","mailto:"];function g(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=h.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function y(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=h.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t))}function b(e,t){if(!(this instanceof b))return new b(e,t);t||a.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new i,this.renderer=new o,this.linkify=new c,this.validateLink=m,this.normalizeLink=g,this.normalizeLinkText=y,this.utils=a,this.helpers=a.assign({},n),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return a.assign(this.options,e),this},b.prototype.configure=function(e){var t,r=this;if(a.isString(e)&&!(e=p[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},b.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var a=e.filter((function(e){return r.indexOf(e)<0}));if(a.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+a);return this},b.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var a=e.filter((function(e){return r.indexOf(e)<0}));if(a.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+a);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(e,t,r){"use strict";var a={};function n(e,t,r){var o,i,s,l,c,u="";for("string"!=typeof t&&(r=t,t=n.defaultChars),void 0===r&&(r=!0),c=function(e){var t,r,n=a[e];if(n)return n;for(n=a[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)n[e.charCodeAt(t)]=e[t];return n}(t),o=0,i=e.length;o<i;o++)if(s=e.charCodeAt(o),r&&37===s&&o+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<i&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},function(e,t,r){"use strict";var a={};function n(e,t){var r;return"string"!=typeof t&&(t=n.defaultChars),r=function(e){var t,r,n=a[e];if(n)return n;for(n=a[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),n.push(r);for(t=0;t<e.length;t++)n[r=e.charCodeAt(t)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return n}(t),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,a,n,o,i,s,l,c="";for(t=0,a=e.length;t<a;t+=3)(n=parseInt(e.slice(t+1,t+3),16))<128?c+=r[n]:192==(224&n)&&t+3<a&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=n<<6&1984|63&o)<128?"��":String.fromCharCode(l),t+=3):224==(240&n)&&t+6<a&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&i))?(c+=(l=n<<12&61440|o<<6&4032|63&i)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&n)&&t+9<a&&(o=parseInt(e.slice(t+4,t+6),16),i=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&i)&&128==(192&s))?((l=n<<18&1835008|o<<12&258048|i<<6&4032|63&s)<65536||l>1114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},function(e,t,r){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,r){"use strict";function a(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(s),c=["%","/","?",";","#"].concat(l),u=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};a.prototype.parse=function(e,t){var r,a,o,s,l,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var v=i.exec(m);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}var g=n.exec(m);if(g&&(o=(g=g[0]).toLowerCase(),this.protocol=g,m=m.substr(g.length)),(t||g||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===m.substr(0,2))||g&&f[g]||(m=m.substr(2),this.slashes=!0)),!f[g]&&(l||g&&!d[g])){var y,b,_=-1;for(r=0;r<u.length;r++)-1!==(s=m.indexOf(u[r]))&&(-1===_||s<_)&&(_=s);for(-1!==(b=-1===_?m.lastIndexOf("@"):m.lastIndexOf("@",_))&&(y=m.slice(0,b),m=m.slice(b+1),this.auth=y),_=-1,r=0;r<c.length;r++)-1!==(s=m.indexOf(c[r]))&&(-1===_||s<_)&&(_=s);-1===_&&(_=m.length),":"===m[_-1]&&_--;var E=m.slice(0,_);m=m.slice(_),this.parseHost(E),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var x=this.hostname.split(/\./);for(r=0,a=x.length;r<a;r++){var k=x[r];if(k&&!k.match(h)){for(var P="",S=0,C=k.length;S<C;S++)k.charCodeAt(S)>127?P+="x":P+=k[S];if(!P.match(h)){var D=x.slice(0,r),A=x.slice(r+1),F=k.match(p);F&&(D.push(F[1]),A.unshift(F[2])),A.length&&(m=A.join(".")+m),this.hostname=D.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var O=m.indexOf("#");-1!==O&&(this.hash=m.substr(O),m=m.slice(0,O));var I=m.indexOf("?");return-1!==I&&(this.search=m.substr(I),m=m.slice(0,I)),m&&(this.pathname=m),d[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},a.prototype.parseHost=function(e){var t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof a)return e;var r=new a;return r.parse(e,t),r}},function(e,t,r){"use strict";t.Any=r(11),t.Cc=r(12),t.Cf=r(37),t.P=r(2),t.Z=r(13)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,r){"use strict";t.parseLinkLabel=r(39),t.parseLinkDestination=r(40),t.parseLinkTitle=r(41)},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n,o,i,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,a=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--a){n=!0;break}if(i=e.pos,e.md.inline.skipToken(e),91===o)if(i===e.pos-1)a++;else if(r)return e.pos=c,-1}return n&&(s=e.pos),e.pos=c,s}},function(e,t,r){"use strict";var a=r(0).isSpace,n=r(0).unescapeAll;e.exports=function(e,t,r){var o,i,s=t,l={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<r;){if(10===(o=e.charCodeAt(t))||a(o))return l;if(62===o)return l.pos=t+1,l.str=n(e.slice(s+1,t)),l.ok=!0,l;92===o&&t+1<r?t+=2:t++}return l}for(i=0;t<r&&32!==(o=e.charCodeAt(t))&&!(o<32||127===o);)if(92===o&&t+1<r)t+=2;else{if(40===o&&i++,41===o){if(0===i)break;i--}t++}return s===t?l:0!==i?l:(l.str=n(e.slice(s,t)),l.lines=0,l.pos=t,l.ok=!0,l)}},function(e,t,r){"use strict";var a=r(0).unescapeAll;e.exports=function(e,t,r){var n,o,i=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=r)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<r;){if((n=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=i,l.str=a(e.slice(s+1,t)),l.ok=!0,l;10===n?i++:92===n&&t+1<r&&(t++,10===e.charCodeAt(t)&&i++),t++}return l}},function(e,t,r){"use strict";var a=r(0).assign,n=r(0).unescapeAll,o=r(0).escapeHtml,i={};function s(){this.rules=a({},i)}i.code_inline=function(e,t,r,a,n){var i=e[t];return"<code"+n.renderAttrs(i)+">"+o(e[t].content)+"</code>"},i.code_block=function(e,t,r,a,n){var i=e[t];return"<pre"+n.renderAttrs(i)+"><code>"+o(e[t].content)+"</code></pre>\n"},i.fence=function(e,t,r,a,i){var s,l,c,u,h=e[t],p=h.info?n(h.info).trim():"",f="";return p&&(f=p.split(/\s+/g)[0]),0===(s=r.highlight&&r.highlight(h.content,f)||o(h.content)).indexOf("<pre")?s+"\n":p?(l=h.attrIndex("class"),c=h.attrs?h.attrs.slice():[],l<0?c.push(["class",r.langPrefix+f]):c[l][1]+=" "+r.langPrefix+f,u={attrs:c},"<pre><code"+i.renderAttrs(u)+">"+s+"</code></pre>\n"):"<pre><code"+i.renderAttrs(h)+">"+s+"</code></pre>\n"},i.image=function(e,t,r,a,n){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=n.renderInlineAsText(o.children,r,a),n.renderToken(e,t,r)},i.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},i.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},i.text=function(e,t){return o(e[t].content)},i.html_block=function(e,t){return e[t].content},i.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,r,a;if(!e.attrs)return"";for(a="",t=0,r=e.attrs.length;t<r;t++)a+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return a},s.prototype.renderToken=function(e,t,r){var a,n="",o=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(n+="\n"),n+=(-1===i.nesting?"</":"<")+i.tag,n+=this.renderAttrs(i),0===i.nesting&&r.xhtmlOut&&(n+=" /"),i.block&&(o=!0,1===i.nesting&&t+1<e.length&&("inline"===(a=e[t+1]).type||a.hidden?o=!1:-1===a.nesting&&a.tag===i.tag&&(o=!1))),n+=o?">\n":">")},s.prototype.renderInline=function(e,t,r){for(var a,n="",o=this.rules,i=0,s=e.length;i<s;i++)void 0!==o[a=e[i].type]?n+=o[a](e,i,t,r,this):n+=this.renderToken(e,i,t);return n},s.prototype.renderInlineAsText=function(e,t,r){for(var a="",n=0,o=e.length;n<o;n++)"text"===e[n].type?a+=e[n].content:"image"===e[n].type&&(a+=this.renderInlineAsText(e[n].children,t,r));return a},s.prototype.render=function(e,t,r){var a,n,o,i="",s=this.rules;for(a=0,n=e.length;a<n;a++)"inline"===(o=e[a].type)?i+=this.renderInline(e[a].children,t,r):void 0!==s[o]?i+=s[e[a].type](e,a,t,r,this):i+=this.renderToken(e,a,t,r);return i},e.exports=s},function(e,t,r){"use strict";var a=r(3),n=[["normalize",r(44)],["block",r(45)],["inline",r(46)],["linkify",r(47)],["replacements",r(48)],["smartquotes",r(49)]];function o(){this.ruler=new a;for(var e=0;e<n.length;e++)this.ruler.push(n[e][0],n[e][1])}o.prototype.process=function(e){var t,r,a;for(t=0,r=(a=this.ruler.getRules("")).length;t<r;t++)a[t](e)},o.prototype.State=r(50),e.exports=o},function(e,t,r){"use strict";var a=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,n=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(a,"\n")).replace(n,"�"),e.src=t}},function(e,t,r){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,r){"use strict";e.exports=function(e){var t,r,a,n=e.tokens;for(r=0,a=n.length;r<a;r++)"inline"===(t=n[r]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,r){"use strict";var a=r(0).arrayReplaceAt;function n(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,r,o,i,s,l,c,u,h,p,f,d,m,v,g,y,b,_,E=e.tokens;if(e.md.options.linkify)for(r=0,o=E.length;r<o;r++)if("inline"===E[r].type&&e.md.linkify.pretest(E[r].content))for(m=0,t=(i=E[r].children).length-1;t>=0;t--)if("link_close"!==(l=i[t]).type){if("html_inline"===l.type&&(_=l.content,/^<a[>\s]/i.test(_)&&m>0&&m--,n(l.content)&&m++),!(m>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(h=l.content,b=e.md.linkify.match(h),c=[],d=l.level,f=0,u=0;u<b.length;u++)v=b[u].url,g=e.md.normalizeLink(v),e.md.validateLink(g)&&(y=b[u].text,y=b[u].schema?"mailto:"!==b[u].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),(p=b[u].index)>f&&((s=new e.Token("text","",0)).content=h.slice(f,p),s.level=d,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",g]],s.level=d++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=y,s.level=d,c.push(s),(s=new e.Token("link_close","a",-1)).level=--d,s.markup="linkify",s.info="auto",c.push(s),f=b[u].lastIndex);f<h.length&&((s=new e.Token("text","",0)).content=h.slice(f),s.level=d,c.push(s)),E[r].children=i=a(i,t,c)}}else for(t--;i[t].level!==l.level&&"link_open"!==i[t].type;)t--}},function(e,t,r){"use strict";var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,o=/\((c|tm|r|p)\)/gi,i={c:"©",r:"®",p:"§",tm:"™"};function s(e,t){return i[t.toLowerCase()]}function l(e){var t,r,a=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||a||(r.content=r.content.replace(o,s)),"link_open"===r.type&&"auto"===r.info&&a--,"link_close"===r.type&&"auto"===r.info&&a++}function c(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||a.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(n.test(e.tokens[t].content)&&l(e.tokens[t].children),a.test(e.tokens[t].content)&&c(e.tokens[t].children))}},function(e,t,r){"use strict";var a=r(0).isWhiteSpace,n=r(0).isPunctChar,o=r(0).isMdAsciiPunct,i=/['"]/,s=/['"]/g,l="’";function c(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function u(e,t){var r,i,u,h,p,f,d,m,v,g,y,b,_,E,w,x,k,P,S,C,D;for(S=[],r=0;r<e.length;r++){for(i=e[r],d=e[r].level,k=S.length-1;k>=0&&!(S[k].level<=d);k--);if(S.length=k+1,"text"===i.type){p=0,f=(u=i.content).length;e:for(;p<f&&(s.lastIndex=p,h=s.exec(u));){if(w=x=!0,p=h.index+1,P="'"===h[0],v=32,h.index-1>=0)v=u.charCodeAt(h.index-1);else for(k=r-1;k>=0&&("softbreak"!==e[k].type&&"hardbreak"!==e[k].type);k--)if("text"===e[k].type){v=e[k].content.charCodeAt(e[k].content.length-1);break}if(g=32,p<f)g=u.charCodeAt(p);else for(k=r+1;k<e.length&&("softbreak"!==e[k].type&&"hardbreak"!==e[k].type);k++)if("text"===e[k].type){g=e[k].content.charCodeAt(0);break}if(y=o(v)||n(String.fromCharCode(v)),b=o(g)||n(String.fromCharCode(g)),_=a(v),(E=a(g))?w=!1:b&&(_||y||(w=!1)),_?x=!1:y&&(E||b||(x=!1)),34===g&&'"'===h[0]&&v>=48&&v<=57&&(x=w=!1),w&&x&&(w=!1,x=b),w||x){if(x)for(k=S.length-1;k>=0&&(m=S[k],!(S[k].level<d));k--)if(m.single===P&&S[k].level===d){m=S[k],P?(C=t.md.options.quotes[2],D=t.md.options.quotes[3]):(C=t.md.options.quotes[0],D=t.md.options.quotes[1]),i.content=c(i.content,h.index,D),e[m.token].content=c(e[m.token].content,m.pos,C),p+=D.length-1,m.token===r&&(p+=C.length-1),f=(u=i.content).length,S.length=k;continue e}w?S.push({token:r,pos:h.index,single:P,level:d}):x&&P&&(i.content=c(i.content,h.index,l))}else P&&(i.content=c(i.content,h.index,l))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&i.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},function(e,t,r){"use strict";var a=r(4);function n(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}n.prototype.Token=a,e.exports=n},function(e,t,r){"use strict";var a=r(3),n=[["table",r(52),["paragraph","reference"]],["code",r(53)],["fence",r(54),["paragraph","reference","blockquote","list"]],["blockquote",r(55),["paragraph","reference","blockquote","list"]],["hr",r(56),["paragraph","reference","blockquote","list"]],["list",r(57),["paragraph","reference","blockquote"]],["reference",r(58)],["heading",r(59),["paragraph","reference","blockquote"]],["lheading",r(60)],["html_block",r(61),["paragraph","reference","blockquote"]],["paragraph",r(63)]];function o(){this.ruler=new a;for(var e=0;e<n.length;e++)this.ruler.push(n[e][0],n[e][1],{alt:(n[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,r){for(var a,n=this.ruler.getRules(""),o=n.length,i=t,s=!1,l=e.md.options.maxNesting;i<r&&(e.line=i=e.skipEmptyLines(i),!(i>=r))&&!(e.sCount[i]<e.blkIndent);){if(e.level>=l){e.line=r;break}for(a=0;a<o&&!n[a](e,i,r,!1);a++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(i=e.line)<r&&e.isEmpty(i)&&(s=!0,i++,e.line=i)}},o.prototype.parse=function(e,t,r,a){var n;e&&(n=new this.State(e,t,r,a),this.tokenize(n,n.line,n.lineMax))},o.prototype.State=r(64),e.exports=o},function(e,t,r){"use strict";var a=r(0).isSpace;function n(e,t){var r=e.bMarks[t]+e.blkIndent,a=e.eMarks[t];return e.src.substr(r,a-r)}function o(e){var t,r=[],a=0,n=e.length,o=0,i=0,s=!1,l=0;for(t=e.charCodeAt(a);a<n;)96===t?s?(s=!1,l=a):o%2==0&&(s=!0,l=a):124!==t||o%2!=0||s||(r.push(e.substring(i,a)),i=a+1),92===t?o++:o=0,++a===n&&s&&(s=!1,a=l+1),t=e.charCodeAt(a);return r.push(e.substring(i)),r}e.exports=function(e,t,r,i){var s,l,c,u,h,p,f,d,m,v,g,y;if(t+2>r)return!1;if(h=t+1,e.sCount[h]<e.blkIndent)return!1;if(e.sCount[h]-e.blkIndent>=4)return!1;if((c=e.bMarks[h]+e.tShift[h])>=e.eMarks[h])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c<e.eMarks[h];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!a(s))return!1;c++}for(p=(l=n(e,t+1)).split("|"),m=[],u=0;u<p.length;u++){if(!(v=p[u].trim())){if(0===u||u===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(v))return!1;58===v.charCodeAt(v.length-1)?m.push(58===v.charCodeAt(0)?"center":"right"):58===v.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(l=n(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((f=(p=o(l.replace(/^\||\|$/g,""))).length)>m.length)return!1;if(i)return!0;for((d=e.push("table_open","table",1)).map=g=[t,0],(d=e.push("thead_open","thead",1)).map=[t,t+1],(d=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<p.length;u++)(d=e.push("th_open","th",1)).map=[t,t+1],m[u]&&(d.attrs=[["style","text-align:"+m[u]]]),(d=e.push("inline","",0)).content=p[u].trim(),d.map=[t,t+1],d.children=[],d=e.push("th_close","th",-1);for(d=e.push("tr_close","tr",-1),d=e.push("thead_close","thead",-1),(d=e.push("tbody_open","tbody",1)).map=y=[t+2,0],h=t+2;h<r&&!(e.sCount[h]<e.blkIndent)&&-1!==(l=n(e,h).trim()).indexOf("|")&&!(e.sCount[h]-e.blkIndent>=4);h++){for(p=o(l.replace(/^\||\|$/g,"")),d=e.push("tr_open","tr",1),u=0;u<f;u++)d=e.push("td_open","td",1),m[u]&&(d.attrs=[["style","text-align:"+m[u]]]),(d=e.push("inline","",0)).content=p[u]?p[u].trim():"",d.children=[],d=e.push("td_close","td",-1);d=e.push("tr_close","tr",-1)}return d=e.push("tbody_close","tbody",-1),d=e.push("table_close","table",-1),g[1]=y[1]=h,e.line=h,!0}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(n=a=t+1;a<r;)if(e.isEmpty(a))a++;else{if(!(e.sCount[a]-e.blkIndent>=4))break;n=++a}return e.line=n,(o=e.push("code_block","code",0)).content=e.getLines(t,n,4+e.blkIndent,!0),o.map=[t,e.line],!0}},function(e,t,r){"use strict";e.exports=function(e,t,r,a){var n,o,i,s,l,c,u,h=!1,p=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(p+3>f)return!1;if(126!==(n=e.src.charCodeAt(p))&&96!==n)return!1;if(l=p,(o=(p=e.skipChars(p,n))-l)<3)return!1;if(u=e.src.slice(l,p),(i=e.src.slice(p,f)).indexOf(String.fromCharCode(n))>=0)return!1;if(a)return!0;for(s=t;!(++s>=r)&&!((p=l=e.bMarks[s]+e.tShift[s])<(f=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(p)===n&&!(e.sCount[s]-e.blkIndent>=4||(p=e.skipChars(p,n))-l<o||(p=e.skipSpaces(p))<f)){h=!0;break}return o=e.sCount[t],e.line=s+(h?1:0),(c=e.push("fence","code",0)).info=i,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}},function(e,t,r){"use strict";var a=r(0).isSpace;e.exports=function(e,t,r,n){var o,i,s,l,c,u,h,p,f,d,m,v,g,y,b,_,E,w,x,k,P=e.lineMax,S=e.bMarks[t]+e.tShift[t],C=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(n)return!0;for(l=f=e.sCount[t]+S-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(S)?(S++,l++,f++,o=!1,_=!0):9===e.src.charCodeAt(S)?(_=!0,(e.bsCount[t]+f)%4==3?(S++,l++,f++,o=!1):o=!0):_=!1,d=[e.bMarks[t]],e.bMarks[t]=S;S<C&&(i=e.src.charCodeAt(S),a(i));)9===i?f+=4-(f+e.bsCount[t]+(o?1:0))%4:f++,S++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(_?1:0),u=S>=C,y=[e.sCount[t]],e.sCount[t]=f-l,b=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",k=!1,p=t+1;p<r&&(e.sCount[p]<e.blkIndent&&(k=!0),!((S=e.bMarks[p]+e.tShift[p])>=(C=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(S++)||k){if(u)break;for(E=!1,s=0,c=w.length;s<c;s++)if(w[s](e,p,r,!0)){E=!0;break}if(E){e.lineMax=p,0!==e.blkIndent&&(d.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}d.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]=-1}else{for(l=f=e.sCount[p]+S-(e.bMarks[p]+e.tShift[p]),32===e.src.charCodeAt(S)?(S++,l++,f++,o=!1,_=!0):9===e.src.charCodeAt(S)?(_=!0,(e.bsCount[p]+f)%4==3?(S++,l++,f++,o=!1):o=!0):_=!1,d.push(e.bMarks[p]),e.bMarks[p]=S;S<C&&(i=e.src.charCodeAt(S),a(i));)9===i?f+=4-(f+e.bsCount[p]+(o?1:0))%4:f++,S++;u=S>=C,m.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(_?1:0),y.push(e.sCount[p]),e.sCount[p]=f-l,b.push(e.tShift[p]),e.tShift[p]=S-e.bMarks[p]}for(v=e.blkIndent,e.blkIndent=0,(x=e.push("blockquote_open","blockquote",1)).markup=">",x.map=h=[t,0],e.md.block.tokenize(e,t,p),(x=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=P,e.parentType=g,h[1]=e.line,s=0;s<b.length;s++)e.bMarks[s+t]=d[s],e.tShift[s+t]=b[s],e.sCount[s+t]=y[s],e.bsCount[s+t]=m[s];return e.blkIndent=v,!0}},function(e,t,r){"use strict";var a=r(0).isSpace;e.exports=function(e,t,r,n){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(i=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!a(s))return!1;s===o&&i++}return!(i<3)&&(!!n||(e.line=t+1,(l=e.push("hr","hr",0)).map=[t,e.line],l.markup=Array(i+1).join(String.fromCharCode(o)),!0))}},function(e,t,r){"use strict";var a=r(0).isSpace;function n(e,t){var r,n,o,i;return n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(r=e.src.charCodeAt(n++))&&45!==r&&43!==r?-1:n<o&&(i=e.src.charCodeAt(n),!a(i))?-1:n}function o(e,t){var r,n=e.bMarks[t]+e.tShift[t],o=n,i=e.eMarks[t];if(o+1>=i)return-1;if((r=e.src.charCodeAt(o++))<48||r>57)return-1;for(;;){if(o>=i)return-1;if(!((r=e.src.charCodeAt(o++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(o-n>=10)return-1}return o<i&&(r=e.src.charCodeAt(o),!a(r))?-1:o}e.exports=function(e,t,r,a){var i,s,l,c,u,h,p,f,d,m,v,g,y,b,_,E,w,x,k,P,S,C,D,A,F,O,I,R,T=!1,j=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(a&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(T=!0),(D=o(e,t))>=0){if(p=!0,F=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(F,D-F-1)),T&&1!==y)return!1}else{if(!((D=n(e,t))>=0))return!1;p=!1}if(T&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(D-1),a)return!0;for(v=e.tokens.length,p?(R=e.push("ordered_list_open","ol",1),1!==y&&(R.attrs=[["start",y]])):R=e.push("bullet_list_open","ul",1),R.map=m=[t,0],R.markup=String.fromCharCode(g),_=t,A=!1,I=e.md.block.ruler.getRules("list"),k=e.parentType,e.parentType="list";_<r;){for(C=D,b=e.eMarks[_],h=E=e.sCount[_]+D-(e.bMarks[t]+e.tShift[t]);C<b;){if(9===(i=e.src.charCodeAt(C)))E+=4-(E+e.bsCount[_])%4;else{if(32!==i)break;E++}C++}if((u=(s=C)>=b?1:E-h)>4&&(u=1),c=h+u,(R=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),R.map=f=[t,0],w=e.blkIndent,S=e.tight,P=e.tShift[t],x=e.sCount[t],e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!A||(j=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=w,e.tShift[t]=P,e.sCount[t]=x,e.tight=S,(R=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),_=t=e.line,f[1]=_,s=e.bMarks[t],_>=r)break;if(e.sCount[_]<e.blkIndent)break;for(O=!1,l=0,d=I.length;l<d;l++)if(I[l](e,_,r,!0)){O=!0;break}if(O)break;if(p){if((D=o(e,_))<0)break}else if((D=n(e,_))<0)break;if(g!==e.src.charCodeAt(D-1))break}return(R=p?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),m[1]=_,e.line=_,e.parentType=k,j&&function(e,t){var r,a,n=e.level+2;for(r=t+2,a=e.tokens.length-2;r<a;r++)e.tokens[r].level===n&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,v),!0}},function(e,t,r){"use strict";var a=r(0).normalizeReference,n=r(0).isSpace;e.exports=function(e,t,r,o){var i,s,l,c,u,h,p,f,d,m,v,g,y,b,_,E,w=0,x=e.bMarks[t]+e.tShift[t],k=e.eMarks[t],P=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(x))return!1;for(;++x<k;)if(93===e.src.charCodeAt(x)&&92!==e.src.charCodeAt(x-1)){if(x+1===k)return!1;if(58!==e.src.charCodeAt(x+1))return!1;break}for(c=e.lineMax,_=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";P<c&&!e.isEmpty(P);P++)if(!(e.sCount[P]-e.blkIndent>3||e.sCount[P]<0)){for(b=!1,h=0,p=_.length;h<p;h++)if(_[h](e,P,c,!0)){b=!0;break}if(b)break}for(k=(y=e.getLines(t,P,e.blkIndent,!1).trim()).length,x=1;x<k;x++){if(91===(i=y.charCodeAt(x)))return!1;if(93===i){d=x;break}10===i?w++:92===i&&++x<k&&10===y.charCodeAt(x)&&w++}if(d<0||58!==y.charCodeAt(d+1))return!1;for(x=d+2;x<k;x++)if(10===(i=y.charCodeAt(x)))w++;else if(!n(i))break;if(!(v=e.md.helpers.parseLinkDestination(y,x,k)).ok)return!1;if(u=e.md.normalizeLink(v.str),!e.md.validateLink(u))return!1;for(s=x=v.pos,l=w+=v.lines,g=x;x<k;x++)if(10===(i=y.charCodeAt(x)))w++;else if(!n(i))break;for(v=e.md.helpers.parseLinkTitle(y,x,k),x<k&&g!==x&&v.ok?(E=v.str,x=v.pos,w+=v.lines):(E="",x=s,w=l);x<k&&(i=y.charCodeAt(x),n(i));)x++;if(x<k&&10!==y.charCodeAt(x)&&E)for(E="",x=s,w=l;x<k&&(i=y.charCodeAt(x),n(i));)x++;return!(x<k&&10!==y.charCodeAt(x))&&(!!(f=a(y.slice(1,d)))&&(!!o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[f]&&(e.env.references[f]={title:E,href:u}),e.parentType=m,e.line=t+w+1,!0)))}},function(e,t,r){"use strict";var a=r(0).isSpace;e.exports=function(e,t,r,n){var o,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(i=1,o=e.src.charCodeAt(++c);35===o&&c<u&&i<=6;)i++,o=e.src.charCodeAt(++c);return!(i>6||c<u&&!a(o))&&(!!n||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&a(e.src.charCodeAt(s-1))&&(u=s),e.line=t+1,(l=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(c,u).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i),!0))}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n,o,i,s,l,c,u,h,p,f=t+1,d=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType="paragraph";f<r&&!e.isEmpty(f);f++)if(!(e.sCount[f]-e.blkIndent>3)){if(e.sCount[f]>=e.blkIndent&&(l=e.bMarks[f]+e.tShift[f])<(c=e.eMarks[f])&&(45===(h=e.src.charCodeAt(l))||61===h)&&(l=e.skipChars(l,h),(l=e.skipSpaces(l))>=c)){u=61===h?1:2;break}if(!(e.sCount[f]<0)){for(n=!1,o=0,i=d.length;o<i;o++)if(d[o](e,f,r,!0)){n=!0;break}if(n)break}}return!!u&&(a=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(h),s.map=[t,e.line],(s=e.push("inline","",0)).content=a,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(h),e.parentType=p,!0)}},function(e,t,r){"use strict";var a=r(62),n=r(14).HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+a.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(n.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,a){var n,i,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),n=0;n<o.length&&!o[n][0].test(l);n++);if(n===o.length)return!1;if(a)return o[n][2];if(i=t+1,!o[n][1].test(l))for(;i<r&&!(e.sCount[i]<e.blkIndent);i++)if(c=e.bMarks[i]+e.tShift[i],u=e.eMarks[i],l=e.src.slice(c,u),o[n][1].test(l)){0!==l.length&&i++;break}return e.line=i,(s=e.push("html_block","",0)).map=[t,i],s.content=e.getLines(t,i,e.blkIndent,!0),!0}},function(e,t,r){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,r){"use strict";e.exports=function(e,t){var r,a,n,o,i,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(a=!1,n=0,o=c.length;n<o;n++)if(c[n](e,l,u,!0)){a=!0;break}if(a)break}return r=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=r,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=s,!0}},function(e,t,r){"use strict";var a=r(4),n=r(0).isSpace;function o(e,t,r,a){var o,i,s,l,c,u,h,p;for(this.src=e,this.md=t,this.env=r,this.tokens=a,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",p=!1,s=l=u=h=0,c=(i=this.src).length;l<c;l++){if(o=i.charCodeAt(l),!p){if(n(o)){u++,9===o?h+=4-h%4:h++;continue}p=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(h),this.bsCount.push(0),p=!1,u=0,h=0,s=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,r){var n=new a(e,t,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),n(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!n(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,r,a){var o,i,s,l,c,u,h,p=e;if(e>=t)return"";for(u=new Array(t-e),o=0;p<t;p++,o++){for(i=0,h=l=this.bMarks[p],c=p+1<t||a?this.eMarks[p]+1:this.eMarks[p];l<c&&i<r;){if(s=this.src.charCodeAt(l),n(s))9===s?i+=4-(i+this.bsCount[p])%4:i++;else{if(!(l-h<this.tShift[p]))break;i++}l++}u[o]=i>r?new Array(i-r+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},o.prototype.Token=a,e.exports=o},function(e,t,r){"use strict";var a=r(3),n=[["text",r(66)],["newline",r(67)],["escape",r(68)],["backticks",r(69)],["strikethrough",r(15).tokenize],["emphasis",r(16).tokenize],["link",r(70)],["image",r(71)],["autolink",r(72)],["html_inline",r(73)],["entity",r(74)]],o=[["balance_pairs",r(75)],["strikethrough",r(15).postProcess],["emphasis",r(16).postProcess],["text_collapse",r(76)]];function i(){var e;for(this.ruler=new a,e=0;e<n.length;e++)this.ruler.push(n[e][0],n[e][1]);for(this.ruler2=new a,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}i.prototype.skipToken=function(e){var t,r,a=e.pos,n=this.ruler.getRules(""),o=n.length,i=e.md.options.maxNesting,s=e.cache;if(void 0===s[a]){if(e.level<i)for(r=0;r<o&&(e.level++,t=n[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,s[a]=e.pos}else e.pos=s[a]},i.prototype.tokenize=function(e){for(var t,r,a=this.ruler.getRules(""),n=a.length,o=e.posMax,i=e.md.options.maxNesting;e.pos<o;){if(e.level<i)for(r=0;r<n&&!(t=a[r](e,!1));r++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},i.prototype.parse=function(e,t,r,a){var n,o,i,s=new this.State(e,t,r,a);for(this.tokenize(s),i=(o=this.ruler2.getRules("")).length,n=0;n<i;n++)o[n](s)},i.prototype.State=r(77),e.exports=i},function(e,t,r){"use strict";function a(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var r=e.pos;r<e.posMax&&!a(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},function(e,t,r){"use strict";var a=r(0).isSpace;e.exports=function(e,t){var r,n,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(r=e.pending.length-1,n=e.posMax,t||(r>=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<n&&a(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},function(e,t,r){"use strict";for(var a=r(0).isSpace,n=[],o=0;o<256;o++)n.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){n[e.charCodeAt(0)]=1})),e.exports=function(e,t){var r,o=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<i){if((r=e.src.charCodeAt(o))<256&&0!==n[r])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===r){for(t||e.push("hardbreak","br",0),o++;o<i&&(r=e.src.charCodeAt(o),a(r));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e,t){var r,a,n,o,i,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(r=l,l++,a=e.posMax;l<a&&96===e.src.charCodeAt(l);)l++;for(n=e.src.slice(r,l),o=i=l;-1!==(o=e.src.indexOf("`",i));){for(i=o+1;i<a&&96===e.src.charCodeAt(i);)i++;if(i-o===n.length)return t||((s=e.push("code_inline","code",0)).markup=n,s.content=e.src.slice(l,o).replace(/[ \n]+/g," ").trim()),e.pos=i,!0}return t||(e.pending+=n),e.pos+=n.length,!0}},function(e,t,r){"use strict";var a=r(0).normalizeReference,n=r(0).isSpace;e.exports=function(e,t){var r,o,i,s,l,c,u,h,p,f="",d=e.pos,m=e.posMax,v=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<m&&40===e.src.charCodeAt(c)){for(g=!1,c++;c<m&&(o=e.src.charCodeAt(c),n(o)||10===o);c++);if(c>=m)return!1;for(v=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok&&(f=e.md.normalizeLink(u.str),e.md.validateLink(f)?c=u.pos:f=""),v=c;c<m&&(o=e.src.charCodeAt(c),n(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<m&&v!==c&&u.ok)for(p=u.str,c=u.pos;c<m&&(o=e.src.charCodeAt(c),n(o)||10===o);c++);else p="";(c>=m||41!==e.src.charCodeAt(c))&&(g=!0),c++}if(g){if(void 0===e.env.references)return!1;if(c<m&&91===e.src.charCodeAt(c)?(v=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?i=e.src.slice(v,c++):c=s+1):c=s+1,i||(i=e.src.slice(l,s)),!(h=e.env.references[a(i)]))return e.pos=d,!1;f=h.href,p=h.title}return t||(e.pos=l,e.posMax=s,e.push("link_open","a",1).attrs=r=[["href",f]],p&&r.push(["title",p]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=m,!0}},function(e,t,r){"use strict";var a=r(0).normalizeReference,n=r(0).isSpace;e.exports=function(e,t){var r,o,i,s,l,c,u,h,p,f,d,m,v,g="",y=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<b&&40===e.src.charCodeAt(u)){for(u++;u<b&&(o=e.src.charCodeAt(u),n(o)||10===o);u++);if(u>=b)return!1;for(v=u,(p=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(p.str),e.md.validateLink(g)?u=p.pos:g=""),v=u;u<b&&(o=e.src.charCodeAt(u),n(o)||10===o);u++);if(p=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<b&&v!==u&&p.ok)for(f=p.str,u=p.pos;u<b&&(o=e.src.charCodeAt(u),n(o)||10===o);u++);else f="";if(u>=b||41!==e.src.charCodeAt(u))return e.pos=y,!1;u++}else{if(void 0===e.env.references)return!1;if(u<b&&91===e.src.charCodeAt(u)?(v=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(v,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(h=e.env.references[a(s)]))return e.pos=y,!1;g=h.href,f=h.title}return t||(i=e.src.slice(c,l),e.md.inline.parse(i,e.md,e.env,m=[]),(d=e.push("image","img",0)).attrs=r=[["src",g],["alt",""]],d.children=m,d.content=i,f&&r.push(["title",f])),e.pos=u,e.posMax=b,!0}},function(e,t,r){"use strict";var a=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,n=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var r,o,i,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((r=e.src.slice(u)).indexOf(">")<0)&&(n.test(r)?(s=(o=r.match(n))[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||((c=e.push("link_open","a",1)).attrs=[["href",l]],c.markup="autolink",c.info="auto",(c=e.push("text","",0)).content=e.md.normalizeLinkText(s),(c=e.push("link_close","a",-1)).markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!a.test(r)&&(s=(i=r.match(a))[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||((c=e.push("link_open","a",1)).attrs=[["href",l]],c.markup="autolink",c.info="auto",(c=e.push("text","",0)).content=e.md.normalizeLinkText(s),(c=e.push("link_close","a",-1)).markup="autolink",c.info="auto"),e.pos+=i[0].length,!0))))}},function(e,t,r){"use strict";var a=r(14).HTML_TAG_RE;e.exports=function(e,t){var r,n,o,i=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(i)||i+2>=o)&&(!(33!==(r=e.src.charCodeAt(i+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(n=e.src.slice(i).match(a))&&(t||(e.push("html_inline","",0).content=e.src.slice(i,i+n[0].length)),e.pos+=n[0].length,!0))))}},function(e,t,r){"use strict";var a=r(9),n=r(0).has,o=r(0).isValidEntityCode,i=r(0).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var r,c,u=e.pos,h=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<h)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(r="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(r)?i(r):i(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&n(a,c[1]))return t||(e.pending+=a[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e){var t,r,a,n,o=e.delimiters,i=e.delimiters.length;for(t=0;t<i;t++)if((a=o[t]).close)for(r=t-a.jump-1;r>=0;){if((n=o[r]).open&&n.marker===a.marker&&n.end<0&&n.level===a.level)if(!((n.close||a.open)&&void 0!==n.length&&void 0!==a.length&&(n.length+a.length)%3==0)){a.jump=t-r,a.open=!1,n.end=t,n.jump=0;break}r-=n.jump+1}}},function(e,t,r){"use strict";e.exports=function(e){var t,r,a=0,n=e.tokens,o=e.tokens.length;for(t=r=0;t<o;t++)a+=n[t].nesting,n[t].level=a,"text"===n[t].type&&t+1<o&&"text"===n[t+1].type?n[t+1].content=n[t].content+n[t+1].content:(t!==r&&(n[r]=n[t]),r++);t!==r&&(n.length=r)}},function(e,t,r){"use strict";var a=r(4),n=r(0).isWhiteSpace,o=r(0).isPunctChar,i=r(0).isMdAsciiPunct;function s(e,t,r,a){this.src=e,this.env=r,this.md=t,this.tokens=a,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}s.prototype.pushPending=function(){var e=new a("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,r){this.pending&&this.pushPending();var n=new a(e,t,r);return r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(n),n},s.prototype.scanDelims=function(e,t){var r,a,s,l,c,u,h,p,f,d=e,m=!0,v=!0,g=this.posMax,y=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;d<g&&this.src.charCodeAt(d)===y;)d++;return s=d-e,a=d<g?this.src.charCodeAt(d):32,h=i(r)||o(String.fromCharCode(r)),f=i(a)||o(String.fromCharCode(a)),u=n(r),(p=n(a))?m=!1:f&&(u||h||(m=!1)),u?v=!1:h&&(p||f||(v=!1)),t?(l=m,c=v):(l=m&&(!v||h),c=v&&(!m||f)),{can_open:l,can_close:c,length:s}},s.prototype.Token=a,e.exports=s},function(e,t,r){"use strict";function a(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function n(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===n(e)}function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"http:":{validate:function(e,t,r){var a=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(a)?a.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var a=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(a)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:a.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var a=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(a)?a.match(r.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function h(e){var t=e.re=r(79)(e.__opts__),a=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||a.push(c),a.push(t.src_xn),t.src_tlds=a.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var a={validate:null,link:null};if(e.__compiled__[t]=a,"[object Object]"===n(r))return!function(e){return"[object RegExp]"===n(e)}(r.validate)?o(r.validate)?a.validate=r.validate:u(t,r):a.validate=function(e){return function(t,r){var a=t.slice(r);return e.test(a)?a.match(e)[0].length:0}}(r.validate),void(o(r.normalize)?a.normalize=r.normalize:r.normalize?u(t,r):a.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===n(e)}(r)?u(t,r):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var h=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(i).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+h+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+h+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var r=e.__index__,a=e.__last_index__,n=e.__text_cache__.slice(r,a);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=a+t,this.raw=n,this.text=n,this.url=n}function f(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function d(e,t){if(!(this instanceof d))return new d(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=a({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=a({},l,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},h(this)}d.prototype.add=function(e,t){return this.__schemas__[e]=t,h(this),this},d.prototype.set=function(e){return this.__opts__=a(this.__opts__,e),this},d.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,a,n,o,i,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(n=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=r.index+r[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(a=e.match(this.re.email_fuzzy))&&(o=a.index+a[1].length,i=a.index+a[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},d.prototype.pretest=function(e){return this.re.pretest.test(e)},d.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},d.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(f(this,t)),t=this.__last_index__);for(var a=t?e.slice(t):e;this.test(a);)r.push(f(this,t)),a=a.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},d.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),h(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,h(this),this)},d.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},d.prototype.onCompile=function(){},e.exports=d},function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(11).source,t.src_Cc=r(12).source,t.src_Z=r(13).source,t.src_P=r(2).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,r){(function(e,a){var n;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof a&&a;i.global!==i&&i.window!==i&&i.self;var s,l=2147483647,c=36,u=1,h=26,p=38,f=700,d=72,m=128,v="-",g=/^xn--/,y=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=c-u,w=Math.floor,x=String.fromCharCode;function k(e){throw new RangeError(_[e])}function P(e,t){for(var r=e.length,a=[];r--;)a[r]=t(e[r]);return a}function S(e,t){var r=e.split("@"),a="";return r.length>1&&(a=r[0]+"@",e=r[1]),a+P((e=e.replace(b,".")).split("."),t).join(".")}function C(e){for(var t,r,a=[],n=0,o=e.length;n<o;)(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<o?56320==(64512&(r=e.charCodeAt(n++)))?a.push(((1023&t)<<10)+(1023&r)+65536):(a.push(t),n--):a.push(t);return a}function D(e){return P(e,(function(e){var t="";return e>65535&&(t+=x((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=x(e)})).join("")}function A(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function F(e,t,r){var a=0;for(e=r?w(e/f):e>>1,e+=w(e/t);e>E*h>>1;a+=c)e=w(e/E);return w(a+(E+1)*e/(e+p))}function O(e){var t,r,a,n,o,i,s,p,f,g,y,b=[],_=e.length,E=0,x=m,P=d;for((r=e.lastIndexOf(v))<0&&(r=0),a=0;a<r;++a)e.charCodeAt(a)>=128&&k("not-basic"),b.push(e.charCodeAt(a));for(n=r>0?r+1:0;n<_;){for(o=E,i=1,s=c;n>=_&&k("invalid-input"),((p=(y=e.charCodeAt(n++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:c)>=c||p>w((l-E)/i))&&k("overflow"),E+=p*i,!(p<(f=s<=P?u:s>=P+h?h:s-P));s+=c)i>w(l/(g=c-f))&&k("overflow"),i*=g;P=F(E-o,t=b.length+1,0==o),w(E/t)>l-x&&k("overflow"),x+=w(E/t),E%=t,b.splice(E++,0,x)}return D(b)}function I(e){var t,r,a,n,o,i,s,p,f,g,y,b,_,E,P,S=[];for(b=(e=C(e)).length,t=m,r=0,o=d,i=0;i<b;++i)(y=e[i])<128&&S.push(x(y));for(a=n=S.length,n&&S.push(v);a<b;){for(s=l,i=0;i<b;++i)(y=e[i])>=t&&y<s&&(s=y);for(s-t>w((l-r)/(_=a+1))&&k("overflow"),r+=(s-t)*_,t=s,i=0;i<b;++i)if((y=e[i])<t&&++r>l&&k("overflow"),y==t){for(p=r,f=c;!(p<(g=f<=o?u:f>=o+h?h:f-o));f+=c)P=p-g,E=c-g,S.push(x(A(g+P%E,0))),p=w(P/E);S.push(x(A(p,0))),o=F(r,_,a==n),r=0,++a}++r,++t}return S.join("")}s={version:"1.4.1",ucs2:{decode:C,encode:D},decode:O,encode:I,toASCII:function(e){return S(e,(function(e){return y.test(e)?"xn--"+I(e):e}))},toUnicode:function(e){return S(e,(function(e){return g.test(e)?O(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return s}.call(t,r,t,e))||(e.exports=n)}()}).call(this,r(81)(e),r(8))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,r){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,r){"use strict";var a=r(86),n=r(5),o=r(90),i=r(17),s=r(18),l=r(91),c=r(92),u=r(113),h=r(1);e.exports=g,g.prototype.validate=function(e,t){var r;if("string"==typeof e){if(!(r=this.getSchema(e)))throw new Error('no schema with key or ref "'+e+'"')}else{var a=this._addSchema(e);r=a.validate||this._compile(a)}var n=r(t);!0!==r.$async&&(this.errors=r.errors);return n},g.prototype.compile=function(e,t){var r=this._addSchema(e,void 0,t);return r.validate||this._compile(r)},g.prototype.addSchema=function(e,t,r,a){if(Array.isArray(e)){for(var o=0;o<e.length;o++)this.addSchema(e[o],void 0,r,a);return this}var i=this._getId(e);if(void 0!==i&&"string"!=typeof i)throw new Error("schema id must be string");return x(this,t=n.normalizeId(t||i)),this._schemas[t]=this._addSchema(e,r,a,!0),this},g.prototype.addMetaSchema=function(e,t,r){return this.addSchema(e,t,r,!0),this},g.prototype.validateSchema=function(e,t){var r=e.$schema;if(void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(!(r=r||this._opts.defaultMeta||function(e){var t=e._opts.meta;return e._opts.defaultMeta="object"==typeof t?e._getId(t)||t:e.getSchema(d)?d:void 0,e._opts.defaultMeta}(this)))return this.logger.warn("meta-schema not available"),this.errors=null,!0;var a=this.validate(r,e);if(!a&&t){var n="schema is invalid: "+this.errorsText();if("log"!=this._opts.validateSchema)throw new Error(n);this.logger.error(n)}return a},g.prototype.getSchema=function(e){var t=y(this,e);switch(typeof t){case"object":return t.validate||this._compile(t);case"string":return this.getSchema(t);case"undefined":return function(e,t){var r=n.schema.call(e,{schema:{}},t);if(r){var o=r.schema,s=r.root,l=r.baseId,c=a.call(e,o,s,void 0,l);return e._fragments[t]=new i({ref:t,fragment:!0,schema:o,root:s,baseId:l,validate:c}),c}}(this,e)}},g.prototype.removeSchema=function(e){if(e instanceof RegExp)return b(this,this._schemas,e),b(this,this._refs,e),this;switch(typeof e){case"undefined":return b(this,this._schemas),b(this,this._refs),this._cache.clear(),this;case"string":var t=y(this,e);return t&&this._cache.del(t.cacheKey),delete this._schemas[e],delete this._refs[e],this;case"object":var r=this._opts.serialize,a=r?r(e):e;this._cache.del(a);var o=this._getId(e);o&&(o=n.normalizeId(o),delete this._schemas[o],delete this._refs[o])}return this},g.prototype.addFormat=function(e,t){"string"==typeof t&&(t=new RegExp(t));return this._formats[e]=t,this},g.prototype.errorsText=function(e,t){if(!(e=e||this.errors))return"No errors";for(var r=void 0===(t=t||{}).separator?", ":t.separator,a=void 0===t.dataVar?"data":t.dataVar,n="",o=0;o<e.length;o++){var i=e[o];i&&(n+=a+i.dataPath+" "+i.message+r)}return n.slice(0,-r.length)},g.prototype._addSchema=function(e,t,r,a){if("object"!=typeof e&&"boolean"!=typeof e)throw new Error("schema should be object or boolean");var o=this._opts.serialize,s=o?o(e):e,l=this._cache.get(s);if(l)return l;a=a||!1!==this._opts.addUsedSchema;var c=n.normalizeId(this._getId(e));c&&a&&x(this,c);var u,h=!1!==this._opts.validateSchema&&!t;h&&!(u=c&&c==n.normalizeId(e.$schema))&&this.validateSchema(e,!0);var p=n.ids.call(this,e),f=new i({id:c,schema:e,localRefs:p,cacheKey:s,meta:r});"#"!=c[0]&&a&&(this._refs[c]=f);this._cache.put(s,f),h&&u&&this.validateSchema(e,!0);return f},g.prototype._compile=function(e,t){if(e.compiling)return e.validate=o,o.schema=e.schema,o.errors=null,o.root=t||o,!0===e.schema.$async&&(o.$async=!0),o;var r,n;e.compiling=!0,e.meta&&(r=this._opts,this._opts=this._metaOpts);try{n=a.call(this,e.schema,t,e.localRefs)}catch(t){throw delete e.validate,t}finally{e.compiling=!1,e.meta&&(this._opts=r)}return e.validate=n,e.refs=n.refs,e.refVal=n.refVal,e.root=n.root,n;function o(){var t=e.validate,r=t.apply(this,arguments);return o.errors=t.errors,r}},g.prototype.compileAsync=r(114);var p=r(115);g.prototype.addKeyword=p.add,g.prototype.getKeyword=p.get,g.prototype.removeKeyword=p.remove,g.prototype.validateKeyword=p.validate;var f=r(7);g.ValidationError=f.Validation,g.MissingRefError=f.MissingRef,g.$dataMetaSchema=u;var d="http://json-schema.org/draft-07/schema",m=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],v=["/properties"];function g(e){if(!(this instanceof g))return new g(e);e=this._opts=h.copy(e)||{},function(e){var t=e._opts.logger;if(!1===t)e.logger={log:k,warn:k,error:k};else{if(void 0===t&&(t=console),!("object"==typeof t&&t.log&&t.warn&&t.error))throw new Error("logger must implement log, warn and error methods");e.logger=t}}(this),this._schemas={},this._refs={},this._fragments={},this._formats=l(e.format),this._cache=e.cache||new o,this._loadingSchemas={},this._compilations=[],this.RULES=c(),this._getId=function(e){switch(e.schemaId){case"auto":return w;case"id":return _;default:return E}}(e),e.loopRequired=e.loopRequired||1/0,"property"==e.errorDataPath&&(e._errorDataPathProperty=!0),void 0===e.serialize&&(e.serialize=s),this._metaOpts=function(e){for(var t=h.copy(e._opts),r=0;r<m.length;r++)delete t[m[r]];return t}(this),e.formats&&function(e){for(var t in e._opts.formats){var r=e._opts.formats[t];e.addFormat(t,r)}}(this),e.keywords&&function(e){for(var t in e._opts.keywords){var r=e._opts.keywords[t];e.addKeyword(t,r)}}(this),function(e){var t;e._opts.$data&&(t=r(118),e.addMetaSchema(t,t.$id,!0));if(!1===e._opts.meta)return;var a=r(24);e._opts.$data&&(a=u(a,v));e.addMetaSchema(a,d,!0),e._refs["http://json-schema.org/schema"]=d}(this),"object"==typeof e.meta&&this.addMetaSchema(e.meta),e.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),function(e){var t=e._opts.schemas;if(!t)return;if(Array.isArray(t))e.addSchema(t);else for(var r in t)e.addSchema(t[r],r)}(this)}function y(e,t){return t=n.normalizeId(t),e._schemas[t]||e._refs[t]||e._fragments[t]}function b(e,t,r){for(var a in t){var n=t[a];n.meta||r&&!r.test(a)||(e._cache.del(n.cacheKey),delete t[a])}}function _(e){return e.$id&&this.logger.warn("schema $id ignored",e.$id),e.id}function E(e){return e.id&&this.logger.warn("schema id ignored",e.id),e.$id}function w(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function x(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function k(){}},function(e,t,r){"use strict";var a=r(5),n=r(1),o=r(7),i=r(18),s=r(19),l=n.ucs2length,c=r(6),u=o.Validation;function h(e,t,r){var a=f.call(this,e,t,r);return a>=0?{index:a,compiling:!0}:(a=this._compilations.length,this._compilations[a]={schema:e,root:t,baseId:r},{index:a,compiling:!1})}function p(e,t,r){var a=f.call(this,e,t,r);a>=0&&this._compilations.splice(a,1)}function f(e,t,r){for(var a=0;a<this._compilations.length;a++){var n=this._compilations[a];if(n.schema==e&&n.root==t&&n.baseId==r)return a}return-1}function d(e,t){return"var pattern"+e+" = new RegExp("+n.toQuotedString(t[e])+");"}function m(e){return"var default"+e+" = defaults["+e+"];"}function v(e,t){return void 0===t[e]?"":"var refVal"+e+" = refVal["+e+"];"}function g(e){return"var customRule"+e+" = customRules["+e+"];"}function y(e,t){if(!e.length)return"";for(var r="",a=0;a<e.length;a++)r+=t(a,e);return r}e.exports=function e(t,r,f,b){var _=this,E=this._opts,w=[void 0],x={},k=[],P={},S=[],C={},D=[];r=r||{schema:t,refVal:w,refs:x};var A=h.call(this,t,r,b),F=this._compilations[A.index];if(A.compiling)return F.callValidate=function e(){var t=F.validate,r=t.apply(this,arguments);return e.errors=t.errors,r};var O=this._formats,I=this.RULES;try{var R=j(t,r,f,b);F.validate=R;var T=F.callValidate;return T&&(T.schema=R.schema,T.errors=null,T.refs=R.refs,T.refVal=R.refVal,T.root=R.root,T.$async=R.$async,E.sourceCode&&(T.source=R.source)),R}finally{p.call(this,t,r,b)}function j(t,i,h,p){var f=!i||i&&i.schema==t;if(i.schema!=r.schema)return e.call(_,t,i,h,p);var b,P=!0===t.$async,C=s({isTop:!0,schema:t,isRoot:f,baseId:p,root:i,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:o.MissingRef,RULES:I,validate:s,util:n,resolve:a,resolveRef:L,usePattern:M,useDefault:z,useCustomRule:N,opts:E,formats:O,logger:_.logger,self:_});C=y(w,v)+y(k,d)+y(S,m)+y(D,g)+C,E.processCode&&(C=E.processCode(C));try{b=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",C)(_,I,O,r,w,S,D,c,l,u),w[0]=b}catch(e){throw _.logger.error("Error compiling schema, function code:",C),e}return b.schema=t,b.errors=null,b.refs=x,b.refVal=w,b.root=f?b:i,P&&(b.$async=!0),!0===E.sourceCode&&(b.source={code:C,patterns:k,defaults:S}),b}function L(t,n,o){n=a.url(t,n);var i,s,l=x[n];if(void 0!==l)return $(i=w[l],s="refVal["+l+"]");if(!o&&r.refs){var c=r.refs[n];if(void 0!==c)return $(i=r.refVal[c],s=q(n,i))}s=q(n);var u=a.call(_,j,r,n);if(void 0===u){var h=f&&f[n];h&&(u=a.inlineRef(h,E.inlineRefs)?h:e.call(_,h,r,f,t))}if(void 0!==u)return function(e,t){var r=x[e];w[r]=t}(n,u),$(u,s);!function(e){delete x[e]}(n)}function q(e,t){var r=w.length;return w[r]=t,x[e]=r,"refVal"+r}function $(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&!!e.$async}}function M(e){var t=P[e];return void 0===t&&(t=P[e]=k.length,k[t]=e),"pattern"+t}function z(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return n.toQuotedString(e);case"object":if(null===e)return"null";var t=i(e),r=C[t];return void 0===r&&(r=C[t]=S.length,S[r]=e),"default"+r}}function N(e,t,r,a){if(!1!==_._opts.validateSchema){var n=e.definition.dependencies;if(n&&!n.every((function(e){return Object.prototype.hasOwnProperty.call(r,e)})))throw new Error("parent schema must have all required keywords: "+n.join(","));var o=e.definition.validateSchema;if(o)if(!o(t)){var i="keyword schema is invalid: "+_.errorsText(o.errors);if("log"!=_._opts.validateSchema)throw new Error(i);_.logger.error(i)}}var s,l=e.definition.compile,c=e.definition.inline,u=e.definition.macro;if(l)s=l.call(_,t,r,a);else if(u)s=u.call(_,t,r,a),!1!==E.validateSchema&&_.validateSchema(s,!0);else if(c)s=c.call(_,a,e.keyword,t,r);else if(!(s=e.definition.validate))return;if(void 0===s)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var h=D.length;return D[h]=s,{code:"customRule"+h,validate:s}}}},function(e,t,r){
|
|
9
|
-
|
|
10
|
-
!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var a=t.length-1,n=1;n<a;++n)t[n]=t[n].slice(1,-1);return t[a]=t[a].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function a(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function n(e){return e.toUpperCase()}function o(e){var a=t("[0-9]","[A-Fa-f]"),n=r(r("%[EFef]"+a+"%"+a+a+"%"+a+a)+"|"+r("%[89A-Fa-f]"+a+"%"+a+a)+"|"+r("%"+a+a)),o="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",i=t("[\\:\\/\\?\\#\\[\\]\\@]",o),s=e?"[\\uE000-\\uF8FF]":"[]",l=t("[A-Za-z]","[0-9]","[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),c=r("[A-Za-z]"+t("[A-Za-z]","[0-9]","[\\+\\-\\.]")+"*"),u=r(r(n+"|"+t(l,o,"[\\:]"))+"*"),h=(r(r("25[0-5]")+"|"+r("2[0-4][0-9]")+"|"+r("1[0-9][0-9]")+"|"+r("[1-9][0-9]")+"|[0-9]"),r(r("25[0-5]")+"|"+r("2[0-4][0-9]")+"|"+r("1[0-9][0-9]")+"|"+r("0?[1-9][0-9]")+"|0?0?[0-9]")),p=r(h+"\\."+h+"\\."+h+"\\."+h),f=r(a+"{1,4}"),d=r(r(f+"\\:"+f)+"|"+p),m=r(r(f+"\\:")+"{6}"+d),v=r("\\:\\:"+r(f+"\\:")+"{5}"+d),g=r(r(f)+"?\\:\\:"+r(f+"\\:")+"{4}"+d),y=r(r(r(f+"\\:")+"{0,1}"+f)+"?\\:\\:"+r(f+"\\:")+"{3}"+d),b=r(r(r(f+"\\:")+"{0,2}"+f)+"?\\:\\:"+r(f+"\\:")+"{2}"+d),_=r(r(r(f+"\\:")+"{0,3}"+f)+"?\\:\\:"+f+"\\:"+d),E=r(r(r(f+"\\:")+"{0,4}"+f)+"?\\:\\:"+d),w=r(r(r(f+"\\:")+"{0,5}"+f)+"?\\:\\:"+f),x=r(r(r(f+"\\:")+"{0,6}"+f)+"?\\:\\:"),k=r([m,v,g,y,b,_,E,w,x].join("|")),P=r(r(l+"|"+n)+"+"),S=(r(k+"\\%25"+P),r(k+r("\\%25|\\%(?!"+a+"{2})")+P)),C=r("[vV]"+a+"+\\."+t(l,o,"[\\:]")+"+"),D=r("\\["+r(S+"|"+k+"|"+C)+"\\]"),A=r(r(n+"|"+t(l,o))+"*"),F=r(D+"|"+p+"(?!"+A+")|"+A),O=r("[0-9]*"),I=r(r(u+"@")+"?"+F+r("\\:"+O)+"?"),R=r(n+"|"+t(l,o,"[\\:\\@]")),T=r(R+"*"),j=r(R+"+"),L=r(r(n+"|"+t(l,o,"[\\@]"))+"+"),q=r(r("\\/"+T)+"*"),$=r("\\/"+r(j+q)+"?"),M=r(L+q),z=r(j+q),N="(?!"+R+")",U=(r(q+"|"+$+"|"+M+"|"+z+"|"+N),r(r(R+"|"+t("[\\/\\?]",s))+"*")),V=r(r(R+"|[\\/\\?]")+"*"),B=r(r("\\/\\/"+I+q)+"|"+$+"|"+z+"|"+N),H=r(c+"\\:"+B+r("\\?"+U)+"?"+r("\\#"+V)+"?"),Q=r(r("\\/\\/"+I+q)+"|"+$+"|"+M+"|"+N),Z=r(Q+r("\\?"+U)+"?"+r("\\#"+V)+"?");return r(H+"|"+Z),r(c+"\\:"+B+r("\\?"+U)+"?"),r(r("\\/\\/("+r("("+u+")@")+"?("+F+")"+r("\\:("+O+")")+"?)")+"?("+q+"|"+$+"|"+z+"|"+N+")"),r("\\?("+U+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+u+")@")+"?("+F+")"+r("\\:("+O+")")+"?)")+"?("+q+"|"+$+"|"+M+"|"+N+")"),r("\\?("+U+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+u+")@")+"?("+F+")"+r("\\:("+O+")")+"?)")+"?("+q+"|"+$+"|"+z+"|"+N+")"),r("\\?("+U+")"),r("\\#("+V+")"),r("("+u+")@"),r("\\:("+O+")"),{NOT_SCHEME:new RegExp(t("[^]","[A-Za-z]","[0-9]","[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,o),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,o),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,o),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,o),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,o,"[\\:\\@\\/\\?]",s),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,o,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,o),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,i),"g"),PCT_ENCODED:new RegExp(n,"g"),IPV4ADDRESS:new RegExp("^("+p+")$"),IPV6ADDRESS:new RegExp("^\\[?("+k+")"+r(r("\\%25|\\%(?!"+a+"{2})")+"("+P+")")+"?\\]?$")}}var i=o(!1),s=o(!0),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],a=!0,n=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(a=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){n=!0,o=e}finally{try{!a&&s.return&&s.return()}finally{if(n)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=2147483647,u=/^xn--/,h=/[^\0-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,m=String.fromCharCode;function v(e){throw new RangeError(f[e])}function g(e,t){var r=e.split("@"),a="";r.length>1&&(a=r[0]+"@",e=r[1]);var n=function(e,t){for(var r=[],a=e.length;a--;)r[a]=t(e[a]);return r}((e=e.replace(p,".")).split("."),t).join(".");return a+n}function y(e){for(var t=[],r=0,a=e.length;r<a;){var n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<a){var o=e.charCodeAt(r++);56320==(64512&o)?t.push(((1023&n)<<10)+(1023&o)+65536):(t.push(n),r--)}else t.push(n)}return t}var b=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},_=function(e,t,r){var a=0;for(e=r?d(e/700):e>>1,e+=d(e/t);e>455;a+=36)e=d(e/35);return d(a+36*e/(e+38))},E=function(e){var t,r=[],a=e.length,n=0,o=128,i=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var l=0;l<s;++l)e.charCodeAt(l)>=128&&v("not-basic"),r.push(e.charCodeAt(l));for(var u=s>0?s+1:0;u<a;){for(var h=n,p=1,f=36;;f+=36){u>=a&&v("invalid-input");var m=(t=e.charCodeAt(u++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(m>=36||m>d((c-n)/p))&&v("overflow"),n+=m*p;var g=f<=i?1:f>=i+26?26:f-i;if(m<g)break;var y=36-g;p>d(c/y)&&v("overflow"),p*=y}var b=r.length+1;i=_(n-h,b,0==h),d(n/b)>c-o&&v("overflow"),o+=d(n/b),n%=b,r.splice(n++,0,o)}return String.fromCodePoint.apply(String,r)},w=function(e){var t=[],r=(e=y(e)).length,a=128,n=0,o=72,i=!0,s=!1,l=void 0;try{for(var u,h=e[Symbol.iterator]();!(i=(u=h.next()).done);i=!0){var p=u.value;p<128&&t.push(m(p))}}catch(e){s=!0,l=e}finally{try{!i&&h.return&&h.return()}finally{if(s)throw l}}var f=t.length,g=f;for(f&&t.push("-");g<r;){var E=c,w=!0,x=!1,k=void 0;try{for(var P,S=e[Symbol.iterator]();!(w=(P=S.next()).done);w=!0){var C=P.value;C>=a&&C<E&&(E=C)}}catch(e){x=!0,k=e}finally{try{!w&&S.return&&S.return()}finally{if(x)throw k}}var D=g+1;E-a>d((c-n)/D)&&v("overflow"),n+=(E-a)*D,a=E;var A=!0,F=!1,O=void 0;try{for(var I,R=e[Symbol.iterator]();!(A=(I=R.next()).done);A=!0){var T=I.value;if(T<a&&++n>c&&v("overflow"),T==a){for(var j=n,L=36;;L+=36){var q=L<=o?1:L>=o+26?26:L-o;if(j<q)break;var $=j-q,M=36-q;t.push(m(b(q+$%M,0))),j=d($/M)}t.push(m(b(j,0))),o=_(n,D,g==f),n=0,++g}}}catch(e){F=!0,O=e}finally{try{!A&&R.return&&R.return()}finally{if(F)throw O}}++n,++a}return t.join("")},x={version:"2.1.0",ucs2:{decode:y,encode:function(e){return String.fromCodePoint.apply(String,function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}(e))}},decode:E,encode:w,toASCII:function(e){return g(e,(function(e){return h.test(e)?"xn--"+w(e):e}))},toUnicode:function(e){return g(e,(function(e){return u.test(e)?E(e.slice(4).toLowerCase()):e}))}},k={};function P(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function S(e){for(var t="",r=0,a=e.length;r<a;){var n=parseInt(e.substr(r+1,2),16);if(n<128)t+=String.fromCharCode(n),r+=3;else if(n>=194&&n<224){if(a-r>=6){var o=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&n)<<6|63&o)}else t+=e.substr(r,6);r+=6}else if(n>=224){if(a-r>=9){var i=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&n)<<12|(63&i)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function C(e,t){function r(e){var r=S(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,P).replace(t.PCT_ENCODED,n)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,P).replace(t.PCT_ENCODED,n)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,P).replace(t.PCT_ENCODED,n)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,P).replace(t.PCT_ENCODED,n)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,P).replace(t.PCT_ENCODED,n)),e}function D(e){return e.replace(/^0*(.*)/,"$1")||"0"}function A(e,t){var r=e.match(t.IPV4ADDRESS)||[],a=l(r,2)[1];return a?a.split(".").map(D).join("."):e}function F(e,t){var r=e.match(t.IPV6ADDRESS)||[],a=l(r,3),n=a[1],o=a[2];if(n){for(var i=n.toLowerCase().split("::").reverse(),s=l(i,2),c=s[0],u=s[1],h=u?u.split(":").map(D):[],p=c.split(":").map(D),f=t.IPV4ADDRESS.test(p[p.length-1]),d=f?7:8,m=p.length-d,v=Array(d),g=0;g<d;++g)v[g]=h[g]||p[m+g]||"";f&&(v[d-1]=A(v[d-1],t));var y=v.reduce((function(e,t,r){if(!t||"0"===t){var a=e[e.length-1];a&&a.index+a.length===r?a.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(y&&y.length>1){var _=v.slice(0,y.index),E=v.slice(y.index+y.length);b=_.join(":")+"::"+E.join(":")}else b=v.join(":");return o&&(b+="%"+o),b}return e}var O=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,I=void 0==="".match(/(){0}/)[1];function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},a=!1!==t.iri?s:i;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var n=e.match(O);if(n){I?(r.scheme=n[1],r.userinfo=n[3],r.host=n[4],r.port=parseInt(n[5],10),r.path=n[6]||"",r.query=n[7],r.fragment=n[8],isNaN(r.port)&&(r.port=n[5])):(r.scheme=n[1]||void 0,r.userinfo=-1!==e.indexOf("@")?n[3]:void 0,r.host=-1!==e.indexOf("//")?n[4]:void 0,r.port=parseInt(n[5],10),r.path=n[6]||"",r.query=-1!==e.indexOf("?")?n[7]:void 0,r.fragment=-1!==e.indexOf("#")?n[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?n[4]:void 0)),r.host&&(r.host=F(A(r.host,a),a)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var o=k[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||o&&o.unicodeSupport)C(r,a);else{if(r.host&&(t.domainHost||o&&o.domainHost))try{r.host=x.toASCII(r.host.replace(a.PCT_ENCODED,S).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}C(r,i)}o&&o.parse&&o.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}var T=/^\.\.?\//,j=/^\/\.(\/|$)/,L=/^\/\.\.(\/|$)/,q=/^\/?(?:.|\n)*?(?=\/|$)/;function $(e){for(var t=[];e.length;)if(e.match(T))e=e.replace(T,"");else if(e.match(j))e=e.replace(j,"/");else if(e.match(L))e=e.replace(L,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(q);if(!r)throw new Error("Unexpected dot segment condition");var a=r[0];e=e.slice(a.length),t.push(a)}return t.join("")}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?s:i,a=[],n=k[(t.scheme||e.scheme||"").toLowerCase()];if(n&&n.serialize&&n.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||n&&n.domainHost)try{e.host=t.iri?x.toUnicode(e.host):x.toASCII(e.host.replace(r.PCT_ENCODED,S).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}C(e,r),"suffix"!==t.reference&&e.scheme&&(a.push(e.scheme),a.push(":"));var o=function(e,t){var r=!1!==t.iri?s:i,a=[];return void 0!==e.userinfo&&(a.push(e.userinfo),a.push("@")),void 0!==e.host&&a.push(F(A(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"==typeof e.port&&(a.push(":"),a.push(e.port.toString(10))),a.length?a.join(""):void 0}(e,t);if(void 0!==o&&("suffix"!==t.reference&&a.push("//"),a.push(o),e.path&&"/"!==e.path.charAt(0)&&a.push("/")),void 0!==e.path){var l=e.path;t.absolutePath||n&&n.absolutePath||(l=$(l)),void 0===o&&(l=l.replace(/^\/\//,"/%2F")),a.push(l)}return void 0!==e.query&&(a.push("?"),a.push(e.query)),void 0!==e.fragment&&(a.push("#"),a.push(e.fragment)),a.join("")}function z(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a={};return arguments[3]||(e=R(M(e,r),r),t=R(M(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(a.scheme=t.scheme,a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=$(t.path||""),a.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(a.userinfo=t.userinfo,a.host=t.host,a.port=t.port,a.path=$(t.path||""),a.query=t.query):(t.path?("/"===t.path.charAt(0)?a.path=$(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?a.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:a.path=t.path:a.path="/"+t.path,a.path=$(a.path)),a.query=t.query):(a.path=e.path,void 0!==t.query?a.query=t.query:a.query=e.query),a.userinfo=e.userinfo,a.host=e.host,a.port=e.port),a.scheme=e.scheme),a.fragment=t.fragment,a}function N(e,t){return e&&e.toString().replace(t&&t.iri?s.PCT_ENCODED:i.PCT_ENCODED,S)}var U={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){return e.port!==("https"!==String(e.scheme).toLowerCase()?80:443)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},V={scheme:"https",domainHost:U.domainHost,parse:U.parse,serialize:U.serialize},B={},H="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Q="[0-9A-Fa-f]",Z=r(r("%[EFef][0-9A-Fa-f]%"+Q+Q+"%"+Q+Q)+"|"+r("%[89A-Fa-f][0-9A-Fa-f]%"+Q+Q)+"|"+r("%"+Q+Q)),G=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),K=new RegExp(H,"g"),Y=new RegExp(Z,"g"),X=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',G),"g"),J=new RegExp(t("[^]",H,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),W=J;function ee(e){var t=S(e);return t.match(K)?t:e}var te={scheme:"mailto",parse:function(e,t){var r=e,a=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var n=!1,o={},i=r.query.split("&"),s=0,l=i.length;s<l;++s){var c=i[s].split("=");switch(c[0]){case"to":for(var u=c[1].split(","),h=0,p=u.length;h<p;++h)a.push(u[h]);break;case"subject":r.subject=N(c[1],t);break;case"body":r.body=N(c[1],t);break;default:n=!0,o[N(c[0],t)]=N(c[1],t)}}n&&(r.headers=o)}r.query=void 0;for(var f=0,d=a.length;f<d;++f){var m=a[f].split("@");if(m[0]=N(m[0]),t.unicodeSupport)m[1]=N(m[1],t).toLowerCase();else try{m[1]=x.toASCII(N(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}a[f]=m.join("@")}return r},serialize:function(e,t){var r,a=e,o=null!=(r=e.to)?r instanceof Array?r:"number"!=typeof r.length||r.split||r.setInterval||r.call?[r]:Array.prototype.slice.call(r):[];if(o){for(var i=0,s=o.length;i<s;++i){var l=String(o[i]),c=l.lastIndexOf("@"),u=l.slice(0,c).replace(Y,ee).replace(Y,n).replace(X,P),h=l.slice(c+1);try{h=t.iri?x.toUnicode(h):x.toASCII(N(h,t).toLowerCase())}catch(e){a.error=a.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}o[i]=u+"@"+h}a.path=o.join(",")}var p=e.headers=e.headers||{};e.subject&&(p.subject=e.subject),e.body&&(p.body=e.body);var f=[];for(var d in p)p[d]!==B[d]&&f.push(d.replace(Y,ee).replace(Y,n).replace(J,P)+"="+p[d].replace(Y,ee).replace(Y,n).replace(W,P));return f.length&&(a.query=f.join("&")),a}},re=/^([^\:]+)\:(.*)/,ae={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(re),a=e;if(r){var n=t.scheme||a.scheme||"urn",o=r[1].toLowerCase(),i=r[2],s=n+":"+(t.nid||o),l=k[s];a.nid=o,a.nss=i,a.path=void 0,l&&(a=l.parse(a,t))}else a.error=a.error||"URN can not be parsed.";return a},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",a=e.nid,n=r+":"+(t.nid||a),o=k[n];o&&(e=o.serialize(e,t));var i=e,s=e.nss;return i.path=(a||t.nid)+":"+s,i}},ne=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,oe={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(ne)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};k[U.scheme]=U,k[V.scheme]=V,k[te.scheme]=te,k[ae.scheme]=ae,k[oe.scheme]=oe,e.SCHEMES=k,e.pctEncChar=P,e.pctDecChars=S,e.parse=R,e.removeDotSegments=$,e.serialize=M,e.resolveComponents=z,e.resolve=function(e,t,r){var a=function(e,t){var r=e;if(t)for(var a in t)r[a]=t[a];return r}({scheme:"null"},r);return M(z(R(e,a),R(t,a),a,!0),a)},e.normalize=function(e,t){return"string"==typeof e?e=M(R(e,t),t):"object"===a(e)&&(e=R(M(e,t),t)),e},e.equal=function(e,t,r){return"string"==typeof e?e=M(R(e,r),r):"object"===a(e)&&(e=M(e,r)),"string"==typeof t?t=M(R(t,r),r):"object"===a(t)&&(t=M(t,r)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?s.ESCAPE:i.ESCAPE,P)},e.unescapeComponent=N,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,r){"use strict";e.exports=function(e){for(var t,r=0,a=e.length,n=0;n<a;)r++,(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<a&&56320==(64512&(t=e.charCodeAt(n)))&&n++;return r}},function(e,t,r){"use strict";var a=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),function e(t,r,n,o,i,s,l,c,u,h){if(o&&"object"==typeof o&&!Array.isArray(o)){for(var p in r(o,i,s,l,c,u,h),o){var f=o[p];if(Array.isArray(f)){if(p in a.arrayKeywords)for(var d=0;d<f.length;d++)e(t,r,n,f[d],i+"/"+p+"/"+d,s,i,p,o,d)}else if(p in a.propsKeywords){if(f&&"object"==typeof f)for(var m in f)e(t,r,n,f[m],i+"/"+p+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),s,i,p,o,m)}else(p in a.keywords||t.allKeys&&!(p in a.skipKeywords))&&e(t,r,n,f,i+"/"+p,s,i,p,o)}n(o,i,s,l,c,u,h)}}(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};a.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},a.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},a.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},a.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},function(e,t,r){"use strict";var a=e.exports=function(){this._cache={}};a.prototype.put=function(e,t){this._cache[e]=t},a.prototype.get=function(e){return this._cache[e]},a.prototype.del=function(e){delete this._cache[e]},a.prototype.clear=function(){this._cache={}}},function(e,t,r){"use strict";var a=r(1),n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,o=[0,31,28,31,30,31,30,31,31,30,31,30,31],i=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,s=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,l=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,c=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,u=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,h=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,p=/^(?:\/(?:[^~/]|~0|~1)*)*$/,f=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,d=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function m(e){return e="full"==e?"full":"fast",a.copy(m[e])}function v(e){var t=e.match(n);if(!t)return!1;var r=+t[1],a=+t[2],i=+t[3];return a>=1&&a<=12&&i>=1&&i<=(2==a&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(r)?29:o[a])}function g(e,t){var r=e.match(i);if(!r)return!1;var a=r[1],n=r[2],o=r[3],s=r[5];return(a<=23&&n<=59&&o<=59||23==a&&59==n&&60==o)&&(!t||s)}e.exports=m,m.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":c,url:u,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:h,"json-pointer":p,"json-pointer-uri-fragment":f,"relative-json-pointer":d},m.full={date:v,time:g,"date-time":function(e){var t=e.split(y);return 2==t.length&&v(t[0])&&g(t[1],!0)},uri:function(e){return b.test(e)&&l.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":c,url:u,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:s,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:h,"json-pointer":p,"json-pointer-uri-fragment":f,"relative-json-pointer":d};var y=/t|\s/i;var b=/\/|:/;var _=/[^\\]\\Z/;function E(e){if(_.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}},function(e,t,r){"use strict";var a=r(93),n=r(1).toHash;e.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"];return e.all=n(t),e.types=n(["number","integer","string","array","object","boolean","null"]),e.forEach((function(r){r.rules=r.rules.map((function(r){var n;if("object"==typeof r){var o=Object.keys(r)[0];n=r[o],r=o,n.forEach((function(r){t.push(r),e.all[r]=!0}))}return t.push(r),e.all[r]={keyword:r,code:a[r],implements:n}})),e.all.$comment={keyword:"$comment",code:a.$comment},r.type&&(e.types[r.type]=r)})),e.keywords=n(t.concat(["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"])),e.custom={},e}},function(e,t,r){"use strict";e.exports={$ref:r(94),allOf:r(95),anyOf:r(96),$comment:r(97),const:r(98),contains:r(99),dependencies:r(100),enum:r(101),format:r(102),if:r(103),items:r(104),maximum:r(20),minimum:r(20),maxItems:r(21),minItems:r(21),maxLength:r(22),minLength:r(22),maxProperties:r(23),minProperties:r(23),multipleOf:r(105),not:r(106),oneOf:r(107),pattern:r(108),properties:r(109),propertyNames:r(110),required:r(111),uniqueItems:r(112),validate:r(19)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n,o=" ",i=e.level,s=e.dataLevel,l=e.schema[t],c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,h="data"+(s||""),p="valid"+i;if("#"==l||"#/"==l)e.isRoot?(a=e.async,n="validate"):(a=!0===e.root.schema.$async,n="root.refVal[0]");else{var f=e.resolveRef(e.baseId,l,e.isRoot);if(void 0===f){var d=e.MissingRefError.message(e.baseId,l);if("fail"==e.opts.missingRefs){e.logger.error(d),(y=y||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { ref: '"+e.util.escapeQuotes(l)+"' } ",!1!==e.opts.messages&&(o+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(l)+"' "),e.opts.verbose&&(o+=" , schema: "+e.util.toQuotedString(l)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),o+=" } "):o+=" {} ";var m=o;o=y.pop(),!e.compositeRule&&u?e.async?o+=" throw new ValidationError(["+m+"]); ":o+=" validate.errors = ["+m+"]; return false; ":o+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(o+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,l,d);e.logger.warn(d),u&&(o+=" if (true) { ")}}else if(f.inline){var v=e.util.copy(e);v.level++;var g="valid"+v.level;v.schema=f.schema,v.schemaPath="",v.errSchemaPath=l,o+=" "+e.validate(v).replace(/validate\.schema/g,f.code)+" ",u&&(o+=" if ("+g+") { ")}else a=!0===f.$async||e.async&&!1!==f.$async,n=f.code}if(n){var y;(y=y||[]).push(o),o="",e.opts.passContext?o+=" "+n+".call(this, ":o+=" "+n+"( ",o+=" "+h+", (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var b=o+=" , "+(s?"data"+(s-1||""):"parentData")+" , "+(s?e.dataPathArr[s]:"parentDataProperty")+", rootData) ";if(o=y.pop(),a){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(o+=" var "+p+"; "),o+=" try { await "+b+"; ",u&&(o+=" "+p+" = true; "),o+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",u&&(o+=" "+p+" = false; "),o+=" } ",u&&(o+=" if ("+p+") { ")}else o+=" if (!"+b+") { if (vErrors === null) vErrors = "+n+".errors; else vErrors = vErrors.concat("+n+".errors); errors = vErrors.length; } ",u&&(o+=" else { ")}return o}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.schema[t],o=e.schemaPath+e.util.getProperty(t),i=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,l=e.util.copy(e),c="";l.level++;var u="valid"+l.level,h=l.baseId,p=!0,f=n;if(f)for(var d,m=-1,v=f.length-1;m<v;)d=f[m+=1],(e.opts.strictKeywords?"object"==typeof d&&Object.keys(d).length>0:e.util.schemaHasRules(d,e.RULES.all))&&(p=!1,l.schema=d,l.schemaPath=o+"["+m+"]",l.errSchemaPath=i+"/"+m,a+=" "+e.validate(l)+" ",l.baseId=h,s&&(a+=" if ("+u+") { ",c+="}"));return s&&(a+=p?" if (true) { ":" "+c.slice(0,-1)+" "),a=e.util.cleanUpCode(a)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,p="errs__"+n,f=e.util.copy(e),d="";f.level++;var m="valid"+f.level;if(i.every((function(t){return e.opts.strictKeywords?"object"==typeof t&&Object.keys(t).length>0:e.util.schemaHasRules(t,e.RULES.all)}))){var v=f.baseId;a+=" var "+p+" = errors; var "+h+" = false; ";var g=e.compositeRule;e.compositeRule=f.compositeRule=!0;var y=i;if(y)for(var b,_=-1,E=y.length-1;_<E;)b=y[_+=1],f.schema=b,f.schemaPath=s+"["+_+"]",f.errSchemaPath=l+"/"+_,a+=" "+e.validate(f)+" ",f.baseId=v,a+=" "+h+" = "+h+" || "+m+"; if (!"+h+") { ",d+="}";e.compositeRule=f.compositeRule=g,a+=" "+d+" if (!"+h+") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),a+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.opts.allErrors&&(a+=" } "),a=e.util.cleanUpCode(a)}else c&&(a+=" if (true) { ");return a}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.schema[t],o=e.errSchemaPath+"/"+t,i=(e.opts.allErrors,e.util.toQuotedString(n));return!0===e.opts.$comment?a+=" console.log("+i+");":"function"==typeof e.opts.$comment&&(a+=" self._opts.$comment("+i+", "+e.util.toQuotedString(o)+", validate.root.schema);"),a}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,p=e.opts.$data&&i&&i.$data;p&&(a+=" var schema"+n+" = "+e.util.getData(i.$data,o,e.dataPathArr)+"; "),p||(a+=" var schema"+n+" = validate.schema"+s+";"),a+="var "+h+" = equal("+u+", schema"+n+"); if (!"+h+") { ";var f=f||[];f.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValue: schema"+n+" } ",!1!==e.opts.messages&&(a+=" , message: 'should be equal to constant' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var d=a;return a=f.pop(),!e.compositeRule&&c?e.async?a+=" throw new ValidationError(["+d+"]); ":a+=" validate.errors = ["+d+"]; return false; ":a+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" }",c&&(a+=" else { "),a}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,p="errs__"+n,f=e.util.copy(e);f.level++;var d="valid"+f.level,m="i"+n,v=f.dataLevel=e.dataLevel+1,g="data"+v,y=e.baseId,b=e.opts.strictKeywords?"object"==typeof i&&Object.keys(i).length>0:e.util.schemaHasRules(i,e.RULES.all);if(a+="var "+p+" = errors;var "+h+";",b){var _=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=i,f.schemaPath=s,f.errSchemaPath=l,a+=" var "+d+" = false; for (var "+m+" = 0; "+m+" < "+u+".length; "+m+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);var E=u+"["+m+"]";f.dataPathArr[v]=m;var w=e.validate(f);f.baseId=y,e.util.varOccurences(w,g)<2?a+=" "+e.util.varReplace(w,g,E)+" ":a+=" var "+g+" = "+E+"; "+w+" ",a+=" if ("+d+") break; } ",e.compositeRule=f.compositeRule=_,a+=" if (!"+d+") {"}else a+=" if ("+u+".length == 0) {";var x=x||[];x.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should contain a valid item' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var k=a;return a=x.pop(),!e.compositeRule&&c?e.async?a+=" throw new ValidationError(["+k+"]); ":a+=" validate.errors = ["+k+"]; return false; ":a+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { ",b&&(a+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "),e.opts.allErrors&&(a+=" } "),a=e.util.cleanUpCode(a)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),h="errs__"+n,p=e.util.copy(e),f="";p.level++;var d="valid"+p.level,m={},v={},g=e.opts.ownProperties;for(E in i){var y=i[E],b=Array.isArray(y)?v:m;b[E]=y}a+="var "+h+" = errors;";var _=e.errorPath;for(var E in a+="var missing"+n+";",v)if((b=v[E]).length){if(a+=" if ( "+u+e.util.getProperty(E)+" !== undefined ",g&&(a+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(E)+"') "),c){a+=" && ( ";var w=b;if(w)for(var x=-1,k=w.length-1;x<k;){F=w[x+=1],x&&(a+=" || "),a+=" ( ( "+(T=u+(R=e.util.getProperty(F)))+" === undefined ",g&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(F)+"') "),a+=") && (missing"+n+" = "+e.util.toQuotedString(e.opts.jsonPointers?F:R)+") ) "}a+=")) { ";var P="missing"+n,S="' + "+P+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(_,P,!0):_+" + "+P);var C=C||[];C.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(E)+"', missingProperty: '"+S+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(a+=" , message: 'should have ",1==b.length?a+="property "+e.util.escapeQuotes(b[0]):a+="properties "+e.util.escapeQuotes(b.join(", ")),a+=" when property "+e.util.escapeQuotes(E)+" is present' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var D=a;a=C.pop(),!e.compositeRule&&c?e.async?a+=" throw new ValidationError(["+D+"]); ":a+=" validate.errors = ["+D+"]; return false; ":a+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{a+=" ) { ";var A=b;if(A)for(var F,O=-1,I=A.length-1;O<I;){F=A[O+=1];var R=e.util.getProperty(F),T=(S=e.util.escapeQuotes(F),u+R);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(_,F,e.opts.jsonPointers)),a+=" if ( "+T+" === undefined ",g&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(F)+"') "),a+=") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(E)+"', missingProperty: '"+S+"', depsCount: "+b.length+", deps: '"+e.util.escapeQuotes(1==b.length?b[0]:b.join(", "))+"' } ",!1!==e.opts.messages&&(a+=" , message: 'should have ",1==b.length?a+="property "+e.util.escapeQuotes(b[0]):a+="properties "+e.util.escapeQuotes(b.join(", ")),a+=" when property "+e.util.escapeQuotes(E)+" is present' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}a+=" } ",c&&(f+="}",a+=" else { ")}e.errorPath=_;var j=p.baseId;for(var E in m){y=m[E];(e.opts.strictKeywords?"object"==typeof y&&Object.keys(y).length>0:e.util.schemaHasRules(y,e.RULES.all))&&(a+=" "+d+" = true; if ( "+u+e.util.getProperty(E)+" !== undefined ",g&&(a+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(E)+"') "),a+=") { ",p.schema=y,p.schemaPath=s+e.util.getProperty(E),p.errSchemaPath=l+"/"+e.util.escapeFragment(E),a+=" "+e.validate(p)+" ",p.baseId=j,a+=" } ",c&&(a+=" if ("+d+") { ",f+="}"))}return c&&(a+=" "+f+" if ("+h+" == errors) {"),a=e.util.cleanUpCode(a)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,p=e.opts.$data&&i&&i.$data;p&&(a+=" var schema"+n+" = "+e.util.getData(i.$data,o,e.dataPathArr)+"; ");var f="i"+n,d="schema"+n;p||(a+=" var "+d+" = validate.schema"+s+";"),a+="var "+h+";",p&&(a+=" if (schema"+n+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+n+")) "+h+" = false; else {"),a+=h+" = false;for (var "+f+"=0; "+f+"<"+d+".length; "+f+"++) if (equal("+u+", "+d+"["+f+"])) { "+h+" = true; break; }",p&&(a+=" } "),a+=" if (!"+h+") { ";var m=m||[];m.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValues: schema"+n+" } ",!1!==e.opts.messages&&(a+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var v=a;return a=m.pop(),!e.compositeRule&&c?e.async?a+=" throw new ValidationError(["+v+"]); ":a+=" validate.errors = ["+v+"]; return false; ":a+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" }",c&&(a+=" else { "),a}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||"");if(!1===e.opts.format)return c&&(a+=" if (true) { "),a;var h,p=e.opts.$data&&i&&i.$data;p?(a+=" var schema"+n+" = "+e.util.getData(i.$data,o,e.dataPathArr)+"; ",h="schema"+n):h=i;var f=e.opts.unknownFormats,d=Array.isArray(f);if(p){a+=" var "+(m="format"+n)+" = formats["+h+"]; var "+(v="isObject"+n)+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+(g="formatType"+n)+" = "+v+" && "+m+".type || 'string'; if ("+v+") { ",e.async&&(a+=" var async"+n+" = "+m+".async; "),a+=" "+m+" = "+m+".validate; } if ( ",p&&(a+=" ("+h+" !== undefined && typeof "+h+" != 'string') || "),a+=" (","ignore"!=f&&(a+=" ("+h+" && !"+m+" ",d&&(a+=" && self._opts.unknownFormats.indexOf("+h+") == -1 "),a+=") || "),a+=" ("+m+" && "+g+" == '"+r+"' && !(typeof "+m+" == 'function' ? ",e.async?a+=" (async"+n+" ? await "+m+"("+u+") : "+m+"("+u+")) ":a+=" "+m+"("+u+") ",a+=" : "+m+".test("+u+"))))) {"}else{var m;if(!(m=e.formats[i])){if("ignore"==f)return e.logger.warn('unknown format "'+i+'" ignored in schema at path "'+e.errSchemaPath+'"'),c&&(a+=" if (true) { "),a;if(d&&f.indexOf(i)>=0)return c&&(a+=" if (true) { "),a;throw new Error('unknown format "'+i+'" is used in schema at path "'+e.errSchemaPath+'"')}var v,g=(v="object"==typeof m&&!(m instanceof RegExp)&&m.validate)&&m.type||"string";if(v){var y=!0===m.async;m=m.validate}if(g!=r)return c&&(a+=" if (true) { "),a;if(y){if(!e.async)throw new Error("async format in sync schema");a+=" if (!(await "+(b="formats"+e.util.getProperty(i)+".validate")+"("+u+"))) { "}else{a+=" if (! ";var b="formats"+e.util.getProperty(i);v&&(b+=".validate"),a+="function"==typeof m?" "+b+"("+u+") ":" "+b+".test("+u+") ",a+=") { "}}var _=_||[];_.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { format: ",a+=p?""+h:""+e.util.toQuotedString(i),a+=" } ",!1!==e.opts.messages&&(a+=" , message: 'should match format \"",a+=p?"' + "+h+" + '":""+e.util.escapeQuotes(i),a+="\"' "),e.opts.verbose&&(a+=" , schema: ",a+=p?"validate.schema"+s:""+e.util.toQuotedString(i),a+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var E=a;return a=_.pop(),!e.compositeRule&&c?e.async?a+=" throw new ValidationError(["+E+"]); ":a+=" validate.errors = ["+E+"]; return false; ":a+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } ",c&&(a+=" else { "),a}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,p="errs__"+n,f=e.util.copy(e);f.level++;var d="valid"+f.level,m=e.schema.then,v=e.schema.else,g=void 0!==m&&(e.opts.strictKeywords?"object"==typeof m&&Object.keys(m).length>0:e.util.schemaHasRules(m,e.RULES.all)),y=void 0!==v&&(e.opts.strictKeywords?"object"==typeof v&&Object.keys(v).length>0:e.util.schemaHasRules(v,e.RULES.all)),b=f.baseId;if(g||y){var _;f.createErrors=!1,f.schema=i,f.schemaPath=s,f.errSchemaPath=l,a+=" var "+p+" = errors; var "+h+" = true; ";var E=e.compositeRule;e.compositeRule=f.compositeRule=!0,a+=" "+e.validate(f)+" ",f.baseId=b,f.createErrors=!0,a+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.compositeRule=f.compositeRule=E,g?(a+=" if ("+d+") { ",f.schema=e.schema.then,f.schemaPath=e.schemaPath+".then",f.errSchemaPath=e.errSchemaPath+"/then",a+=" "+e.validate(f)+" ",f.baseId=b,a+=" "+h+" = "+d+"; ",g&&y?a+=" var "+(_="ifClause"+n)+" = 'then'; ":_="'then'",a+=" } ",y&&(a+=" else { ")):a+=" if (!"+d+") { ",y&&(f.schema=e.schema.else,f.schemaPath=e.schemaPath+".else",f.errSchemaPath=e.errSchemaPath+"/else",a+=" "+e.validate(f)+" ",f.baseId=b,a+=" "+h+" = "+d+"; ",g&&y?a+=" var "+(_="ifClause"+n)+" = 'else'; ":_="'else'",a+=" } "),a+=" if (!"+h+") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { failingKeyword: "+_+" } ",!1!==e.opts.messages&&(a+=" , message: 'should match \"' + "+_+" + '\" schema' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),a+=" } ",c&&(a+=" else { "),a=e.util.cleanUpCode(a)}else c&&(a+=" if (true) { ");return a}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,p="errs__"+n,f=e.util.copy(e),d="";f.level++;var m="valid"+f.level,v="i"+n,g=f.dataLevel=e.dataLevel+1,y="data"+g,b=e.baseId;if(a+="var "+p+" = errors;var "+h+";",Array.isArray(i)){var _=e.schema.additionalItems;if(!1===_){a+=" "+h+" = "+u+".length <= "+i.length+"; ";var E=l;l=e.errSchemaPath+"/additionalItems",a+=" if (!"+h+") { ";var w=w||[];w.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+i.length+" } ",!1!==e.opts.messages&&(a+=" , message: 'should NOT have more than "+i.length+" items' "),e.opts.verbose&&(a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var x=a;a=w.pop(),!e.compositeRule&&c?e.async?a+=" throw new ValidationError(["+x+"]); ":a+=" validate.errors = ["+x+"]; return false; ":a+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } ",l=E,c&&(d+="}",a+=" else { ")}var k=i;if(k)for(var P,S=-1,C=k.length-1;S<C;)if(P=k[S+=1],e.opts.strictKeywords?"object"==typeof P&&Object.keys(P).length>0:e.util.schemaHasRules(P,e.RULES.all)){a+=" "+m+" = true; if ("+u+".length > "+S+") { ";var D=u+"["+S+"]";f.schema=P,f.schemaPath=s+"["+S+"]",f.errSchemaPath=l+"/"+S,f.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0),f.dataPathArr[g]=S;var A=e.validate(f);f.baseId=b,e.util.varOccurences(A,y)<2?a+=" "+e.util.varReplace(A,y,D)+" ":a+=" var "+y+" = "+D+"; "+A+" ",a+=" } ",c&&(a+=" if ("+m+") { ",d+="}")}if("object"==typeof _&&(e.opts.strictKeywords?"object"==typeof _&&Object.keys(_).length>0:e.util.schemaHasRules(_,e.RULES.all))){f.schema=_,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",a+=" "+m+" = true; if ("+u+".length > "+i.length+") { for (var "+v+" = "+i.length+"; "+v+" < "+u+".length; "+v+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers,!0);D=u+"["+v+"]";f.dataPathArr[g]=v;A=e.validate(f);f.baseId=b,e.util.varOccurences(A,y)<2?a+=" "+e.util.varReplace(A,y,D)+" ":a+=" var "+y+" = "+D+"; "+A+" ",c&&(a+=" if (!"+m+") break; "),a+=" } } ",c&&(a+=" if ("+m+") { ",d+="}")}}else if(e.opts.strictKeywords?"object"==typeof i&&Object.keys(i).length>0:e.util.schemaHasRules(i,e.RULES.all)){f.schema=i,f.schemaPath=s,f.errSchemaPath=l,a+=" for (var "+v+" = 0; "+v+" < "+u+".length; "+v+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers,!0);D=u+"["+v+"]";f.dataPathArr[g]=v;A=e.validate(f);f.baseId=b,e.util.varOccurences(A,y)<2?a+=" "+e.util.varReplace(A,y,D)+" ":a+=" var "+y+" = "+D+"; "+A+" ",c&&(a+=" if (!"+m+") break; "),a+=" }"}return c&&(a+=" "+d+" if ("+p+" == errors) {"),a=e.util.cleanUpCode(a)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n=" ",o=e.level,i=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,h="data"+(i||""),p=e.opts.$data&&s&&s.$data;p?(n+=" var schema"+o+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+o):a=s,n+="var division"+o+";if (",p&&(n+=" "+a+" !== undefined && ( typeof "+a+" != 'number' || "),n+=" (division"+o+" = "+h+" / "+a+", ",e.opts.multipleOfPrecision?n+=" Math.abs(Math.round(division"+o+") - division"+o+") > 1e-"+e.opts.multipleOfPrecision+" ":n+=" division"+o+" !== parseInt(division"+o+") ",n+=" ) ",p&&(n+=" ) "),n+=" ) { ";var f=f||[];f.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { multipleOf: "+a+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be multiple of ",n+=p?"' + "+a:a+"'"),e.opts.verbose&&(n+=" , schema: ",n+=p?"validate.schema"+l:""+s,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),n+=" } "):n+=" {} ";var d=n;return n=f.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+d+"]); ":n+=" validate.errors = ["+d+"]; return false; ":n+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",u&&(n+=" else { "),n}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),h="errs__"+n,p=e.util.copy(e);p.level++;var f="valid"+p.level;if(e.opts.strictKeywords?"object"==typeof i&&Object.keys(i).length>0:e.util.schemaHasRules(i,e.RULES.all)){p.schema=i,p.schemaPath=s,p.errSchemaPath=l,a+=" var "+h+" = errors; ";var d,m=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.createErrors=!1,p.opts.allErrors&&(d=p.opts.allErrors,p.opts.allErrors=!1),a+=" "+e.validate(p)+" ",p.createErrors=!0,d&&(p.opts.allErrors=d),e.compositeRule=p.compositeRule=m,a+=" if ("+f+") { ";var v=v||[];v.push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should NOT be valid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var g=a;a=v.pop(),!e.compositeRule&&c?e.async?a+=" throw new ValidationError(["+g+"]); ":a+=" validate.errors = ["+g+"]; return false; ":a+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",e.opts.allErrors&&(a+=" } ")}else a+=" var err = ",!1!==e.createErrors?(a+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",!1!==e.opts.messages&&(a+=" , message: 'should NOT be valid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(a+=" if (false) { ");return a}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,p="errs__"+n,f=e.util.copy(e),d="";f.level++;var m="valid"+f.level,v=f.baseId,g="prevValid"+n,y="passingSchemas"+n;a+="var "+p+" = errors , "+g+" = false , "+h+" = false , "+y+" = null; ";var b=e.compositeRule;e.compositeRule=f.compositeRule=!0;var _=i;if(_)for(var E,w=-1,x=_.length-1;w<x;)E=_[w+=1],(e.opts.strictKeywords?"object"==typeof E&&Object.keys(E).length>0:e.util.schemaHasRules(E,e.RULES.all))?(f.schema=E,f.schemaPath=s+"["+w+"]",f.errSchemaPath=l+"/"+w,a+=" "+e.validate(f)+" ",f.baseId=v):a+=" var "+m+" = true; ",w&&(a+=" if ("+m+" && "+g+") { "+h+" = false; "+y+" = ["+y+", "+w+"]; } else { ",d+="}"),a+=" if ("+m+") { "+h+" = "+g+" = true; "+y+" = "+w+"; }";return e.compositeRule=f.compositeRule=b,a+=d+"if (!"+h+") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { passingSchemas: "+y+" } ",!1!==e.opts.messages&&(a+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),a+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }",e.opts.allErrors&&(a+=" } "),a}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n=" ",o=e.level,i=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,h="data"+(i||""),p=e.opts.$data&&s&&s.$data;p?(n+=" var schema"+o+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+o):a=s,n+="if ( ",p&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'string') || "),n+=" !"+(p?"(new RegExp("+a+"))":e.usePattern(s))+".test("+h+") ) { ";var f=f||[];f.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { pattern: ",n+=p?""+a:""+e.util.toQuotedString(s),n+=" } ",!1!==e.opts.messages&&(n+=" , message: 'should match pattern \"",n+=p?"' + "+a+" + '":""+e.util.escapeQuotes(s),n+="\"' "),e.opts.verbose&&(n+=" , schema: ",n+=p?"validate.schema"+l:""+e.util.toQuotedString(s),n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),n+=" } "):n+=" {} ";var d=n;return n=f.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+d+"]); ":n+=" validate.errors = ["+d+"]; return false; ":n+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",u&&(n+=" else { "),n}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),h="errs__"+n,p=e.util.copy(e),f="";p.level++;var d="valid"+p.level,m="key"+n,v="idx"+n,g=p.dataLevel=e.dataLevel+1,y="data"+g,b="dataProperties"+n,_=Object.keys(i||{}),E=e.schema.patternProperties||{},w=Object.keys(E),x=e.schema.additionalProperties,k=_.length||w.length,P=!1===x,S="object"==typeof x&&Object.keys(x).length,C=e.opts.removeAdditional,D=P||S||C,A=e.opts.ownProperties,F=e.baseId,O=e.schema.required;if(O&&(!e.opts.$data||!O.$data)&&O.length<e.opts.loopRequired)var I=e.util.toHash(O);if(a+="var "+h+" = errors;var "+d+" = true;",A&&(a+=" var "+b+" = undefined;"),D){if(a+=A?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+v+"=0; "+v+"<"+b+".length; "+v+"++) { var "+m+" = "+b+"["+v+"]; ":" for (var "+m+" in "+u+") { ",k){if(a+=" var isAdditional"+n+" = !(false ",_.length)if(_.length>8)a+=" || validate.schema"+s+".hasOwnProperty("+m+") ";else{var R=_;if(R)for(var T=-1,j=R.length-1;T<j;)G=R[T+=1],a+=" || "+m+" == "+e.util.toQuotedString(G)+" "}if(w.length){var L=w;if(L)for(var q=-1,$=L.length-1;q<$;)ne=L[q+=1],a+=" || "+e.usePattern(ne)+".test("+m+") "}a+=" ); if (isAdditional"+n+") { "}if("all"==C)a+=" delete "+u+"["+m+"]; ";else{var M=e.errorPath,z="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),P)if(C)a+=" delete "+u+"["+m+"]; ";else{a+=" "+d+" = false; ";var N=l;l=e.errSchemaPath+"/additionalProperties",(te=te||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { additionalProperty: '"+z+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is an invalid additional property":a+="should NOT have additional properties",a+="' "),e.opts.verbose&&(a+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var U=a;a=te.pop(),!e.compositeRule&&c?e.async?a+=" throw new ValidationError(["+U+"]); ":a+=" validate.errors = ["+U+"]; return false; ":a+=" var err = "+U+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=N,c&&(a+=" break; ")}else if(S)if("failing"==C){a+=" var "+h+" = errors; ";var V=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.schema=x,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var B=u+"["+m+"]";p.dataPathArr[g]=m;var H=e.validate(p);p.baseId=F,e.util.varOccurences(H,y)<2?a+=" "+e.util.varReplace(H,y,B)+" ":a+=" var "+y+" = "+B+"; "+H+" ",a+=" if (!"+d+") { errors = "+h+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+u+"["+m+"]; } ",e.compositeRule=p.compositeRule=V}else{p.schema=x,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);B=u+"["+m+"]";p.dataPathArr[g]=m;H=e.validate(p);p.baseId=F,e.util.varOccurences(H,y)<2?a+=" "+e.util.varReplace(H,y,B)+" ":a+=" var "+y+" = "+B+"; "+H+" ",c&&(a+=" if (!"+d+") break; ")}e.errorPath=M}k&&(a+=" } "),a+=" } ",c&&(a+=" if ("+d+") { ",f+="}")}var Q=e.opts.useDefaults&&!e.compositeRule;if(_.length){var Z=_;if(Z)for(var G,K=-1,Y=Z.length-1;K<Y;){var X=i[G=Z[K+=1]];if(e.opts.strictKeywords?"object"==typeof X&&Object.keys(X).length>0:e.util.schemaHasRules(X,e.RULES.all)){var J=e.util.getProperty(G),W=(B=u+J,Q&&void 0!==X.default);p.schema=X,p.schemaPath=s+J,p.errSchemaPath=l+"/"+e.util.escapeFragment(G),p.errorPath=e.util.getPath(e.errorPath,G,e.opts.jsonPointers),p.dataPathArr[g]=e.util.toQuotedString(G);H=e.validate(p);if(p.baseId=F,e.util.varOccurences(H,y)<2){H=e.util.varReplace(H,y,B);var ee=B}else{ee=y;a+=" var "+y+" = "+B+"; "}if(W)a+=" "+H+" ";else{if(I&&I[G]){a+=" if ( "+ee+" === undefined ",A&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(G)+"') "),a+=") { "+d+" = false; ";M=e.errorPath,N=l;var te,re=e.util.escapeQuotes(G);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(M,G,e.opts.jsonPointers)),l=e.errSchemaPath+"/required",(te=te||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+re+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+re+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";U=a;a=te.pop(),!e.compositeRule&&c?e.async?a+=" throw new ValidationError(["+U+"]); ":a+=" validate.errors = ["+U+"]; return false; ":a+=" var err = "+U+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=N,e.errorPath=M,a+=" } else { "}else c?(a+=" if ( "+ee+" === undefined ",A&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(G)+"') "),a+=") { "+d+" = true; } else { "):(a+=" if ("+ee+" !== undefined ",A&&(a+=" && Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(G)+"') "),a+=" ) { ");a+=" "+H+" } "}}c&&(a+=" if ("+d+") { ",f+="}")}}if(w.length){var ae=w;if(ae)for(var ne,oe=-1,ie=ae.length-1;oe<ie;){X=E[ne=ae[oe+=1]];if(e.opts.strictKeywords?"object"==typeof X&&Object.keys(X).length>0:e.util.schemaHasRules(X,e.RULES.all)){p.schema=X,p.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(ne),p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(ne),a+=A?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+v+"=0; "+v+"<"+b+".length; "+v+"++) { var "+m+" = "+b+"["+v+"]; ":" for (var "+m+" in "+u+") { ",a+=" if ("+e.usePattern(ne)+".test("+m+")) { ",p.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);B=u+"["+m+"]";p.dataPathArr[g]=m;H=e.validate(p);p.baseId=F,e.util.varOccurences(H,y)<2?a+=" "+e.util.varReplace(H,y,B)+" ":a+=" var "+y+" = "+B+"; "+H+" ",c&&(a+=" if (!"+d+") break; "),a+=" } ",c&&(a+=" else "+d+" = true; "),a+=" } ",c&&(a+=" if ("+d+") { ",f+="}")}}}return c&&(a+=" "+f+" if ("+h+" == errors) {"),a=e.util.cleanUpCode(a)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),h="errs__"+n,p=e.util.copy(e);p.level++;var f="valid"+p.level;if(a+="var "+h+" = errors;",e.opts.strictKeywords?"object"==typeof i&&Object.keys(i).length>0:e.util.schemaHasRules(i,e.RULES.all)){p.schema=i,p.schemaPath=s,p.errSchemaPath=l;var d="key"+n,m="idx"+n,v="i"+n,g="' + "+d+" + '",y="data"+(p.dataLevel=e.dataLevel+1),b="dataProperties"+n,_=e.opts.ownProperties,E=e.baseId;_&&(a+=" var "+b+" = undefined; "),a+=_?" "+b+" = "+b+" || Object.keys("+u+"); for (var "+m+"=0; "+m+"<"+b+".length; "+m+"++) { var "+d+" = "+b+"["+m+"]; ":" for (var "+d+" in "+u+") { ",a+=" var startErrs"+n+" = errors; ";var w=d,x=e.compositeRule;e.compositeRule=p.compositeRule=!0;var k=e.validate(p);p.baseId=E,e.util.varOccurences(k,y)<2?a+=" "+e.util.varReplace(k,y,w)+" ":a+=" var "+y+" = "+w+"; "+k+" ",e.compositeRule=p.compositeRule=x,a+=" if (!"+f+") { for (var "+v+"=startErrs"+n+"; "+v+"<errors; "+v+"++) { vErrors["+v+"].propertyName = "+d+"; } var err = ",!1!==e.createErrors?(a+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { propertyName: '"+g+"' } ",!1!==e.opts.messages&&(a+=" , message: 'property name \\'"+g+"\\' is invalid' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; "),c&&(a+=" break; "),a+=" } }"}return c&&(a+=" if ("+h+" == errors) {"),a=e.util.cleanUpCode(a)}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a=" ",n=e.level,o=e.dataLevel,i=e.schema[t],s=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,c=!e.opts.allErrors,u="data"+(o||""),h="valid"+n,p=e.opts.$data&&i&&i.$data;p&&(a+=" var schema"+n+" = "+e.util.getData(i.$data,o,e.dataPathArr)+"; ");var f="schema"+n;if(!p)if(i.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var d=[],m=i;if(m)for(var v,g=-1,y=m.length-1;g<y;){v=m[g+=1];var b=e.schema.properties[v];b&&(e.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0:e.util.schemaHasRules(b,e.RULES.all))||(d[d.length]=v)}}else d=i;if(p||d.length){var _=e.errorPath,E=p||d.length>=e.opts.loopRequired,w=e.opts.ownProperties;if(c)if(a+=" var missing"+n+"; ",E){p||(a+=" var "+f+" = validate.schema"+s+"; ");var x="' + "+(A="schema"+n+"["+(S="i"+n)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(_,A,e.opts.jsonPointers)),a+=" var "+h+" = true; ",p&&(a+=" if (schema"+n+" === undefined) "+h+" = true; else if (!Array.isArray(schema"+n+")) "+h+" = false; else {"),a+=" for (var "+S+" = 0; "+S+" < "+f+".length; "+S+"++) { "+h+" = "+u+"["+f+"["+S+"]] !== undefined ",w&&(a+=" && Object.prototype.hasOwnProperty.call("+u+", "+f+"["+S+"]) "),a+="; if (!"+h+") break; } ",p&&(a+=" } "),a+=" if (!"+h+") { ",(D=D||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+x+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";var k=a;a=D.pop(),!e.compositeRule&&c?e.async?a+=" throw new ValidationError(["+k+"]); ":a+=" validate.errors = ["+k+"]; return false; ":a+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { "}else{a+=" if ( ";var P=d;if(P)for(var S=-1,C=P.length-1;S<C;){O=P[S+=1],S&&(a+=" || "),a+=" ( ( "+(j=u+(T=e.util.getProperty(O)))+" === undefined ",w&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(O)+"') "),a+=") && (missing"+n+" = "+e.util.toQuotedString(e.opts.jsonPointers?O:T)+") ) "}a+=") { ";var D;x="' + "+(A="missing"+n)+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(_,A,!0):_+" + "+A),(D=D||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+x+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ";k=a;a=D.pop(),!e.compositeRule&&c?e.async?a+=" throw new ValidationError(["+k+"]); ":a+=" validate.errors = ["+k+"]; return false; ":a+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",a+=" } else { "}else if(E){p||(a+=" var "+f+" = validate.schema"+s+"; ");var A;x="' + "+(A="schema"+n+"["+(S="i"+n)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(_,A,e.opts.jsonPointers)),p&&(a+=" if ("+f+" && !Array.isArray("+f+")) { var err = ",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+x+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+f+" !== undefined) { "),a+=" for (var "+S+" = 0; "+S+" < "+f+".length; "+S+"++) { if ("+u+"["+f+"["+S+"]] === undefined ",w&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", "+f+"["+S+"]) "),a+=") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+x+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",p&&(a+=" } ")}else{var F=d;if(F)for(var O,I=-1,R=F.length-1;I<R;){O=F[I+=1];var T=e.util.getProperty(O),j=(x=e.util.escapeQuotes(O),u+T);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(_,O,e.opts.jsonPointers)),a+=" if ( "+j+" === undefined ",w&&(a+=" || ! Object.prototype.hasOwnProperty.call("+u+", '"+e.util.escapeQuotes(O)+"') "),a+=") { var err = ",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+x+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+x+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=_}else c&&(a+=" if (true) {");return a}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n=" ",o=e.level,i=e.dataLevel,s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,h="data"+(i||""),p="valid"+o,f=e.opts.$data&&s&&s.$data;if(f?(n+=" var schema"+o+" = "+e.util.getData(s.$data,i,e.dataPathArr)+"; ",a="schema"+o):a=s,(s||f)&&!1!==e.opts.uniqueItems){f&&(n+=" var "+p+"; if ("+a+" === false || "+a+" === undefined) "+p+" = true; else if (typeof "+a+" != 'boolean') "+p+" = false; else { "),n+=" var i = "+h+".length , "+p+" = true , j; if (i > 1) { ";var d=e.schema.items&&e.schema.items.type,m=Array.isArray(d);if(!d||"object"==d||"array"==d||m&&(d.indexOf("object")>=0||d.indexOf("array")>=0))n+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+h+"[i], "+h+"[j])) { "+p+" = false; break outer; } } } ";else{n+=" var itemIndices = {}, item; for (;i--;) { var item = "+h+"[i]; ";var v="checkDataType"+(m?"s":"");n+=" if ("+e.util[v](d,"item",!0)+") continue; ",m&&(n+=" if (typeof item == 'string') item = '\"' + item; "),n+=" if (typeof itemIndices[item] == 'number') { "+p+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}n+=" } ",f&&(n+=" } "),n+=" if (!"+p+") { ";var g=g||[];g.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(n+=" , schema: ",n+=f?"validate.schema"+l:""+s,n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+h+" "),n+=" } "):n+=" {} ";var y=n;n=g.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+y+"]); ":n+=" validate.errors = ["+y+"]; return false; ":n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",u&&(n+=" else { ")}else u&&(n+=" if (true) { ");return n}},function(e,t,r){"use strict";var a=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,t){for(var r=0;r<t.length;r++){e=JSON.parse(JSON.stringify(e));var n,o=t[r].split("/"),i=e;for(n=1;n<o.length;n++)i=i[o[n]];for(n=0;n<a.length;n++){var s=a[n],l=i[s];l&&(i[s]={anyOf:[l,{$ref:"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#"}]})}}return e}},function(e,t,r){"use strict";var a=r(7).MissingRef;e.exports=function e(t,r,n){var o=this;if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");"function"==typeof r&&(n=r,r=void 0);var i=s(t).then((function(){var e=o._addSchema(t,void 0,r);return e.validate||function e(t){try{return o._compile(t)}catch(n){if(n instanceof a)return function(a){var n=a.missingSchema;if(c(n))throw new Error("Schema "+n+" is loaded but "+a.missingRef+" cannot be resolved");var i=o._loadingSchemas[n];i||(i=o._loadingSchemas[n]=o._opts.loadSchema(n)).then(l,l);return i.then((function(e){if(!c(n))return s(e).then((function(){c(n)||o.addSchema(e,n,void 0,r)}))})).then((function(){return e(t)}));function l(){delete o._loadingSchemas[n]}function c(e){return o._refs[e]||o._schemas[e]}}(n);throw n}}(e)}));n&&i.then((function(e){n(null,e)}),n);return i;function s(t){var r=t.$schema;return r&&!o.getSchema(r)?e.call(o,{$ref:r},!0):Promise.resolve()}}},function(e,t,r){"use strict";var a=/^[a-z_$][a-z0-9_$-]*$/i,n=r(116),o=r(117);e.exports={add:function(e,t){var r=this.RULES;if(r.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!a.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,!0);var o=t.type;if(Array.isArray(o))for(var i=0;i<o.length;i++)l(e,o[i],t);else l(e,o,t);var s=t.metaSchema;s&&(t.$data&&this._opts.$data&&(s={anyOf:[s,{$ref:"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#"}]}),t.validateSchema=this.compile(s,!0))}function l(e,t,a){for(var o,i=0;i<r.length;i++){var s=r[i];if(s.type==t){o=s;break}}o||(o={type:t,rules:[]},r.push(o));var l={keyword:e,definition:a,custom:!0,code:n,implements:a.implements};o.rules.push(l),r.custom[e]=l}return r.keywords[e]=r.all[e]=!0,this},get:function(e){var t=this.RULES.custom[e];return t?t.definition:this.RULES.keywords[e]||!1},remove:function(e){var t=this.RULES;delete t.keywords[e],delete t.all[e],delete t.custom[e];for(var r=0;r<t.length;r++)for(var a=t[r].rules,n=0;n<a.length;n++)if(a[n].keyword==e){a.splice(n,1);break}return this},validate:function e(t,r){e.errors=null;var a=this._validateKeyword=this._validateKeyword||this.compile(o,!0);if(a(t))return!0;if(e.errors=a.errors,r)throw new Error("custom keyword definition is invalid: "+this.errorsText(a.errors));return!1}}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n,o=" ",i=e.level,s=e.dataLevel,l=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,h=!e.opts.allErrors,p="data"+(s||""),f="valid"+i,d="errs__"+i,m=e.opts.$data&&l&&l.$data;m?(o+=" var schema"+i+" = "+e.util.getData(l.$data,s,e.dataPathArr)+"; ",n="schema"+i):n=l;var v,g,y,b,_,E="definition"+i,w=this.definition,x="";if(m&&w.$data){_="keywordValidate"+i;var k=w.validateSchema;o+=" var "+E+" = RULES.custom['"+t+"'].definition; var "+_+" = "+E+".validate;"}else{if(!(b=e.useCustomRule(this,l,e.schema,e)))return;n="validate.schema"+c,_=b.code,v=w.compile,g=w.inline,y=w.macro}var P=_+".errors",S="i"+i,C="ruleErr"+i,D=w.async;if(D&&!e.async)throw new Error("async keyword in sync schema");if(g||y||(o+=P+" = null;"),o+="var "+d+" = errors;var "+f+";",m&&w.$data&&(x+="}",o+=" if ("+n+" === undefined) { "+f+" = true; } else { ",k&&(x+="}",o+=" "+f+" = "+E+".validateSchema("+n+"); if ("+f+") { ")),g)w.statements?o+=" "+b.validate+" ":o+=" "+f+" = "+b.validate+"; ";else if(y){var A=e.util.copy(e);x="";A.level++;var F="valid"+A.level;A.schema=b.validate,A.schemaPath="";var O=e.compositeRule;e.compositeRule=A.compositeRule=!0;var I=e.validate(A).replace(/validate\.schema/g,_);e.compositeRule=A.compositeRule=O,o+=" "+I}else{(L=L||[]).push(o),o="",o+=" "+_+".call( ",e.opts.passContext?o+="this":o+="self",v||!1===w.schema?o+=" , "+p+" ":o+=" , "+n+" , "+p+" , validate.schema"+e.schemaPath+" ",o+=" , (dataPath || '')",'""'!=e.errorPath&&(o+=" + "+e.errorPath);var R=s?"data"+(s-1||""):"parentData",T=s?e.dataPathArr[s]:"parentDataProperty",j=o+=" , "+R+" , "+T+" , rootData ) ";o=L.pop(),!1===w.errors?(o+=" "+f+" = ",D&&(o+="await "),o+=j+"; "):o+=D?" var "+(P="customErrors"+i)+" = null; try { "+f+" = await "+j+"; } catch (e) { "+f+" = false; if (e instanceof ValidationError) "+P+" = e.errors; else throw e; } ":" "+P+" = null; "+f+" = "+j+"; "}if(w.modifying&&(o+=" if ("+R+") "+p+" = "+R+"["+T+"];"),o+=""+x,w.valid)h&&(o+=" if (true) { ");else{var L;o+=" if ( ",void 0===w.valid?(o+=" !",o+=y?""+F:""+f):o+=" "+!w.valid+" ",o+=") { ",a=this.keyword,(L=L||[]).push(o),o="",(L=L||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(a||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+this.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+this.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),o+=" } "):o+=" {} ";var q=o;o=L.pop(),!e.compositeRule&&h?e.async?o+=" throw new ValidationError(["+q+"]); ":o+=" validate.errors = ["+q+"]; return false; ":o+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var $=o;o=L.pop(),g?w.errors?"full"!=w.errors&&(o+=" for (var "+S+"="+d+"; "+S+"<errors; "+S+"++) { var "+C+" = vErrors["+S+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+C+".schemaPath === undefined) { "+C+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(o+=" "+C+".schema = "+n+"; "+C+".data = "+p+"; "),o+=" } "):!1===w.errors?o+=" "+$+" ":(o+=" if ("+d+" == errors) { "+$+" } else { for (var "+S+"="+d+"; "+S+"<errors; "+S+"++) { var "+C+" = vErrors["+S+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+C+".schemaPath === undefined) { "+C+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(o+=" "+C+".schema = "+n+"; "+C+".data = "+p+"; "),o+=" } } "):y?(o+=" var err = ",!1!==e.createErrors?(o+=" { keyword: '"+(a||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+this.keyword+"' } ",!1!==e.opts.messages&&(o+=" , message: 'should pass \""+this.keyword+"\" keyword validation' "),e.opts.verbose&&(o+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),o+=" } "):o+=" {} ",o+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&h&&(e.async?o+=" throw new ValidationError(vErrors); ":o+=" validate.errors = vErrors; return false; ")):!1===w.errors?o+=" "+$+" ":(o+=" if (Array.isArray("+P+")) { if (vErrors === null) vErrors = "+P+"; else vErrors = vErrors.concat("+P+"); errors = vErrors.length; for (var "+S+"="+d+"; "+S+"<errors; "+S+"++) { var "+C+" = vErrors["+S+"]; if ("+C+".dataPath === undefined) "+C+".dataPath = (dataPath || '') + "+e.errorPath+"; "+C+'.schemaPath = "'+u+'"; ',e.opts.verbose&&(o+=" "+C+".schema = "+n+"; "+C+".data = "+p+"; "),o+=" } } else { "+$+" } "),o+=" } ",h&&(o+=" else { ")}return o}},function(e,t,r){"use strict";var a=r(24);e.exports={$id:"https://github.com/epoberezkin/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:a.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:a.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},function(e){e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')}]);
|
|
16
|
+
function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),a.forEach((function(t){n(e,t,r[t])}))}return e}function i(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},s=Object.keys(e);for(a=0;a<s.length;a++)r=s[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.r(t),r.d(t,"MultiDrag",(function(){return bt})),r.d(t,"Sortable",(function(){return Fe})),r.d(t,"Swap",(function(){return ct}));function l(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var u=l(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),d=l(/Edge/i),p=l(/firefox/i),m=l(/safari/i)&&!l(/chrome/i)&&!l(/android/i),f=l(/iP(ad|od|hone)/i),h=l(/chrome/i)&&l(/android/i),g={capture:!1,passive:!1};function v(e,t,r){e.addEventListener(t,r,!u&&g)}function y(e,t,r){e.removeEventListener(t,r,!u&&g)}function b(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function k(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function _(e,t,r,a){if(e){r=r||document;do{if(null!=t&&(">"===t[0]?e.parentNode===r&&b(e,t):b(e,t))||a&&e===r)return e;if(e===r)break}while(e=k(e))}return null}var w,$=/\s+/g;function x(e,t,r){if(e&&t)if(e.classList)e.classList[r?"add":"remove"](t);else{var a=(" "+e.className+" ").replace($," ").replace(" "+t+" "," ");e.className=(a+(r?" "+t:"")).replace($," ")}}function E(e,t,r){var a=e&&e.style;if(a){if(void 0===r)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(r=e.currentStyle),void 0===t?r:r[t];t in a||-1!==t.indexOf("webkit")||(t="-webkit-"+t),a[t]=r+("string"==typeof r?"":"px")}}function S(e,t){var r="";if("string"==typeof e)r=e;else do{var a=E(e,"transform");a&&"none"!==a&&(r=a+" "+r)}while(!t&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(r)}function P(e,t,r){if(e){var a=e.getElementsByTagName(t),n=0,s=a.length;if(r)for(;n<s;n++)r(a[n],n);return a}return[]}function C(){var e=document.scrollingElement;return e||document.documentElement}function O(e,t,r,a,n){if(e.getBoundingClientRect||e===window){var s,o,i,c,l,d,p;if(e!==window&&e!==C()?(o=(s=e.getBoundingClientRect()).top,i=s.left,c=s.bottom,l=s.right,d=s.height,p=s.width):(o=0,i=0,c=window.innerHeight,l=window.innerWidth,d=window.innerHeight,p=window.innerWidth),(t||r)&&e!==window&&(n=n||e.parentNode,!u))do{if(n&&n.getBoundingClientRect&&("none"!==E(n,"transform")||r&&"static"!==E(n,"position"))){var m=n.getBoundingClientRect();o-=m.top+parseInt(E(n,"border-top-width")),i-=m.left+parseInt(E(n,"border-left-width")),c=o+s.height,l=i+s.width;break}}while(n=n.parentNode);if(a&&e!==window){var f=S(n||e),h=f&&f.a,g=f&&f.d;f&&(c=(o/=g)+(d/=g),l=(i/=h)+(p/=h))}return{top:o,left:i,bottom:c,right:l,width:p,height:d}}}function D(e,t,r){for(var a=I(e,!0),n=O(e)[t];a;){var s=O(a)[r];if(!("top"===r||"left"===r?n>=s:n<=s))return a;if(a===C())break;a=I(a,!1)}return!1}function N(e,t,r){for(var a=0,n=0,s=e.children;n<s.length;){if("none"!==s[n].style.display&&s[n]!==Fe.ghost&&s[n]!==Fe.dragged&&_(s[n],r.draggable,e,!1)){if(a===t)return s[n];a++}n++}return null}function A(e,t){for(var r=e.lastElementChild;r&&(r===Fe.ghost||"none"===E(r,"display")||t&&!b(r,t));)r=r.previousElementSibling;return r||null}function j(e,t){var r=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Fe.clone||t&&!b(e,t)||r++;return r}function T(e){var t=0,r=0,a=C();if(e)do{var n=S(e),s=n.a,o=n.d;t+=e.scrollLeft*s,r+=e.scrollTop*o}while(e!==a&&(e=e.parentNode));return[t,r]}function I(e,t){if(!e||!e.getBoundingClientRect)return C();var r=e,a=!1;do{if(r.clientWidth<r.scrollWidth||r.clientHeight<r.scrollHeight){var n=E(r);if(r.clientWidth<r.scrollWidth&&("auto"==n.overflowX||"scroll"==n.overflowX)||r.clientHeight<r.scrollHeight&&("auto"==n.overflowY||"scroll"==n.overflowY)){if(!r.getBoundingClientRect||r===document.body)return C();if(a||t)return r;a=!0}}}while(r=r.parentNode);return C()}function M(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function R(e,t){return function(){if(!w){var r=arguments,a=this;1===r.length?e.call(a,r[0]):e.apply(a,r),w=setTimeout((function(){w=void 0}),t)}}}function q(e,t,r){e.scrollLeft+=t,e.scrollTop+=r}function z(e){var t=window.Polymer,r=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):r?r(e).clone(!0)[0]:e.cloneNode(!0)}function F(e,t){E(e,"position","absolute"),E(e,"top",t.top),E(e,"left",t.left),E(e,"width",t.width),E(e,"height",t.height)}function L(e){E(e,"position",""),E(e,"top",""),E(e,"left",""),E(e,"width",""),E(e,"height","")}var V="Sortable"+(new Date).getTime();function U(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==E(e,"display")&&e!==Fe.ghost){t.push({target:e,rect:O(e)});var r=o({},t[t.length-1].rect);if(e.thisAnimationDuration){var a=S(e,!0);a&&(r.top-=a.f,r.left-=a.e)}e.fromRect=r}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var r in e)if(e.hasOwnProperty(r))for(var a in t)if(t.hasOwnProperty(a)&&t[a]===e[r][a])return Number(r);return-1}(t,{target:e}),1)},animateAll:function(r){var a=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof r&&r());var n=!1,s=0;t.forEach((function(e){var t=0,r=e.target,o=r.fromRect,i=O(r),c=r.prevFromRect,l=r.prevToRect,u=e.rect,d=S(r,!0);d&&(i.top-=d.f,i.left-=d.e),r.toRect=i,r.thisAnimationDuration&&M(c,i)&&!M(o,i)&&(u.top-i.top)/(u.left-i.left)==(o.top-i.top)/(o.left-i.left)&&(t=function(e,t,r,a){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-r.top,2)+Math.pow(t.left-r.left,2))*a.animation}(u,c,l,a.options)),M(i,o)||(r.prevFromRect=o,r.prevToRect=i,t||(t=a.options.animation),a.animate(r,u,i,t)),t&&(n=!0,s=Math.max(s,t),clearTimeout(r.animationResetTimer),r.animationResetTimer=setTimeout((function(){r.animationTime=0,r.prevFromRect=null,r.fromRect=null,r.prevToRect=null,r.thisAnimationDuration=null}),t),r.thisAnimationDuration=t)})),clearTimeout(e),n?e=setTimeout((function(){"function"==typeof r&&r()}),s):"function"==typeof r&&r(),t=[]},animate:function(e,t,r,a){if(a){E(e,"transition",""),E(e,"transform","");var n=S(this.el),s=n&&n.a,o=n&&n.d,i=(t.left-r.left)/(s||1),c=(t.top-r.top)/(o||1);e.animatingX=!!i,e.animatingY=!!c,E(e,"transform","translate3d("+i+"px,"+c+"px,0)"),function(e){e.offsetWidth}(e),E(e,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),E(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){E(e,"transition",""),E(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),a)}}}}var K=[],B={initializeByDefault:!0},G={mount:function(e){for(var t in B)!B.hasOwnProperty(t)||t in e||(e[t]=B[t]);K.push(e)},pluginEvent:function(e,t,r){var a=this;this.eventCanceled=!1,r.cancel=function(){a.eventCanceled=!0};var n=e+"Global";K.forEach((function(a){t[a.pluginName]&&(t[a.pluginName][n]&&t[a.pluginName][n](o({sortable:t},r)),t.options[a.pluginName]&&t[a.pluginName][e]&&t[a.pluginName][e](o({sortable:t},r)))}))},initializePlugins:function(e,t,r,a){for(var n in K.forEach((function(a){var n=a.pluginName;if(e.options[n]||a.initializeByDefault){var o=new a(e,t,e.options);o.sortable=e,o.options=e.options,e[n]=o,s(r,o.defaults)}})),e.options)if(e.options.hasOwnProperty(n)){var o=this.modifyOption(e,n,e.options[n]);void 0!==o&&(e.options[n]=o)}},getEventProperties:function(e,t){var r={};return K.forEach((function(a){"function"==typeof a.eventProperties&&s(r,a.eventProperties.call(t[a.pluginName],e))})),r},modifyOption:function(e,t,r){var a;return K.forEach((function(n){e[n.pluginName]&&n.optionListeners&&"function"==typeof n.optionListeners[t]&&(a=n.optionListeners[t].call(e[n.pluginName],r))})),a}};function H(e){var t=e.sortable,r=e.rootEl,a=e.name,n=e.targetEl,s=e.cloneEl,i=e.toEl,c=e.fromEl,l=e.oldIndex,p=e.newIndex,m=e.oldDraggableIndex,f=e.newDraggableIndex,h=e.originalEvent,g=e.putSortable,v=e.extraEventProperties;if(t=t||r&&r[V]){var y,b=t.options,k="on"+a.charAt(0).toUpperCase()+a.substr(1);!window.CustomEvent||u||d?(y=document.createEvent("Event")).initEvent(a,!0,!0):y=new CustomEvent(a,{bubbles:!0,cancelable:!0}),y.to=i||r,y.from=c||r,y.item=n||r,y.clone=s,y.oldIndex=l,y.newIndex=p,y.oldDraggableIndex=m,y.newDraggableIndex=f,y.originalEvent=h,y.pullMode=g?g.lastPutMode:void 0;var _=o({},v,G.getEventProperties(a,t));for(var w in _)y[w]=_[w];r&&r.dispatchEvent(y),b[k]&&b[k].call(t,y)}}var Z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=r.evt,n=i(r,["evt"]);G.pluginEvent.bind(Fe)(e,t,o({dragEl:W,parentEl:Y,ghostEl:X,rootEl:Q,nextEl:ee,lastDownEl:te,cloneEl:re,cloneHidden:ae,dragStarted:ge,putSortable:le,activeSortable:Fe.active,originalEvent:a,oldIndex:ne,oldDraggableIndex:oe,newIndex:se,newDraggableIndex:ie,hideGhostForTarget:Me,unhideGhostForTarget:Re,cloneNowHidden:function(){ae=!0},cloneNowShown:function(){ae=!1},dispatchSortableEvent:function(e){J({sortable:t,name:e,originalEvent:a})}},n))};function J(e){H(o({putSortable:le,cloneEl:re,targetEl:W,rootEl:Q,oldIndex:ne,oldDraggableIndex:oe,newIndex:se,newDraggableIndex:ie},e))}var W,Y,X,Q,ee,te,re,ae,ne,se,oe,ie,ce,le,ue,de,pe,me,fe,he,ge,ve,ye,be,ke,_e=!1,we=!1,$e=[],xe=!1,Ee=!1,Se=[],Pe=!1,Ce=[],Oe="undefined"!=typeof document,De=f,Ne=d||u?"cssFloat":"float",Ae=Oe&&!h&&!f&&"draggable"in document.createElement("div"),je=function(){if(Oe){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Te=function(e,t){var r=E(e),a=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),n=N(e,0,t),s=N(e,1,t),o=n&&E(n),i=s&&E(s),c=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+O(n).width,l=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+O(s).width;if("flex"===r.display)return"column"===r.flexDirection||"column-reverse"===r.flexDirection?"vertical":"horizontal";if("grid"===r.display)return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(n&&o.float&&"none"!==o.float){var u="left"===o.float?"left":"right";return!s||"both"!==i.clear&&i.clear!==u?"horizontal":"vertical"}return n&&("block"===o.display||"flex"===o.display||"table"===o.display||"grid"===o.display||c>=a&&"none"===r[Ne]||s&&"none"===r[Ne]&&c+l>a)?"vertical":"horizontal"},Ie=function(e){function t(e,r){return function(a,n,s,o){var i=a.options.group.name&&n.options.group.name&&a.options.group.name===n.options.group.name;if(null==e&&(r||i))return!0;if(null==e||!1===e)return!1;if(r&&"clone"===e)return e;if("function"==typeof e)return t(e(a,n,s,o),r)(a,n,s,o);var c=(r?a:n).options.group.name;return!0===e||"string"==typeof e&&e===c||e.join&&e.indexOf(c)>-1}}var r={},n=e.group;n&&"object"==a(n)||(n={name:n}),r.name=n.name,r.checkPull=t(n.pull,!0),r.checkPut=t(n.put),r.revertClone=n.revertClone,e.group=r},Me=function(){!je&&X&&E(X,"display","none")},Re=function(){!je&&X&&E(X,"display","")};Oe&&document.addEventListener("click",(function(e){if(we)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),we=!1,!1}),!0);var qe=function(e){if(W){e=e.touches?e.touches[0]:e;var t=(n=e.clientX,s=e.clientY,$e.some((function(e){if(!A(e)){var t=O(e),r=e[V].options.emptyInsertThreshold,a=n>=t.left-r&&n<=t.right+r,i=s>=t.top-r&&s<=t.bottom+r;return r&&a&&i?o=e:void 0}})),o);if(t){var r={};for(var a in e)e.hasOwnProperty(a)&&(r[a]=e[a]);r.target=r.rootEl=t,r.preventDefault=void 0,r.stopPropagation=void 0,t[V]._onDragOver(r)}}var n,s,o},ze=function(e){W&&W.parentNode[V]._isOutsideThisEl(e.target)};function Fe(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=s({},t),e[V]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Te(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Fe.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var a in G.initializePlugins(this,e,r),r)!(a in t)&&(t[a]=r[a]);for(var n in Ie(t),this)"_"===n.charAt(0)&&"function"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&Ae,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),$e.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),s(this,U())}function Le(e,t,r,a,n,s,o,i){var c,l,p=e[V],m=p.options.onMove;return!window.CustomEvent||u||d?(c=document.createEvent("Event")).initEvent("move",!0,!0):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=t,c.from=e,c.dragged=r,c.draggedRect=a,c.related=n||t,c.relatedRect=s||O(t),c.willInsertAfter=i,c.originalEvent=o,e.dispatchEvent(c),m&&(l=m.call(p,c,o)),l}function Ve(e){e.draggable=!1}function Ue(){Pe=!1}function Ke(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,r=t.length,a=0;r--;)a+=t.charCodeAt(r);return a.toString(36)}function Be(e){return setTimeout(e,0)}function Ge(e){return clearTimeout(e)}Fe.prototype={constructor:Fe,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(ve=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,W):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,r=this.el,a=this.options,n=a.preventOnFilter,s=e.type,o=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,i=(o||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||i,l=a.filter;if(function(e){Ce.length=0;var t=e.getElementsByTagName("input"),r=t.length;for(;r--;){var a=t[r];a.checked&&Ce.push(a)}}(r),!W&&!(/mousedown|pointerdown/.test(s)&&0!==e.button||a.disabled||c.isContentEditable||(i=_(i,a.draggable,r,!1))&&i.animated||te===i)){if(ne=j(i),oe=j(i,a.draggable),"function"==typeof l){if(l.call(this,e,i,this))return J({sortable:t,rootEl:c,name:"filter",targetEl:i,toEl:r,fromEl:r}),Z("filter",t,{evt:e}),void(n&&e.cancelable&&e.preventDefault())}else if(l&&(l=l.split(",").some((function(a){if(a=_(c,a.trim(),r,!1))return J({sortable:t,rootEl:a,name:"filter",targetEl:i,fromEl:r,toEl:r}),Z("filter",t,{evt:e}),!0}))))return void(n&&e.cancelable&&e.preventDefault());a.handle&&!_(c,a.handle,r,!1)||this._prepareDragStart(e,o,i)}}},_prepareDragStart:function(e,t,r){var a,n=this,s=n.el,o=n.options,i=s.ownerDocument;if(r&&!W&&r.parentNode===s){var c=O(r);if(Q=s,Y=(W=r).parentNode,ee=W.nextSibling,te=r,ce=o.group,Fe.dragged=W,ue={target:W,clientX:(t||e).clientX,clientY:(t||e).clientY},fe=ue.clientX-c.left,he=ue.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,W.style["will-change"]="all",a=function(){Z("delayEnded",n,{evt:e}),Fe.eventCanceled?n._onDrop():(n._disableDelayedDragEvents(),!p&&n.nativeDraggable&&(W.draggable=!0),n._triggerDragStart(e,t),J({sortable:n,name:"choose",originalEvent:e}),x(W,o.chosenClass,!0))},o.ignore.split(",").forEach((function(e){P(W,e.trim(),Ve)})),v(i,"dragover",qe),v(i,"mousemove",qe),v(i,"touchmove",qe),v(i,"mouseup",n._onDrop),v(i,"touchend",n._onDrop),v(i,"touchcancel",n._onDrop),p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,W.draggable=!0),Z("delayStart",this,{evt:e}),!o.delay||o.delayOnTouchOnly&&!t||this.nativeDraggable&&(d||u))a();else{if(Fe.eventCanceled)return void this._onDrop();v(i,"mouseup",n._disableDelayedDrag),v(i,"touchend",n._disableDelayedDrag),v(i,"touchcancel",n._disableDelayedDrag),v(i,"mousemove",n._delayedDragTouchMoveHandler),v(i,"touchmove",n._delayedDragTouchMoveHandler),o.supportPointer&&v(i,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(a,o.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){W&&Ve(W),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;y(e,"mouseup",this._disableDelayedDrag),y(e,"touchend",this._disableDelayedDrag),y(e,"touchcancel",this._disableDelayedDrag),y(e,"mousemove",this._delayedDragTouchMoveHandler),y(e,"touchmove",this._delayedDragTouchMoveHandler),y(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):v(document,t?"touchmove":"mousemove",this._onTouchMove):(v(W,"dragend",this),v(Q,"dragstart",this._onDragStart));try{document.selection?Be((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(_e=!1,Q&&W){Z("dragStarted",this,{evt:t}),this.nativeDraggable&&v(document,"dragover",ze);var r=this.options;!e&&x(W,r.dragClass,!1),x(W,r.ghostClass,!0),Fe.active=this,e&&this._appendGhost(),J({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(de){this._lastX=de.clientX,this._lastY=de.clientY,Me();for(var e=document.elementFromPoint(de.clientX,de.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(de.clientX,de.clientY))!==t;)t=e;if(W.parentNode[V]._isOutsideThisEl(e),t)do{if(t[V]){if(t[V]._onDragOver({clientX:de.clientX,clientY:de.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Re()}},_onTouchMove:function(e){if(ue){var t=this.options,r=t.fallbackTolerance,a=t.fallbackOffset,n=e.touches?e.touches[0]:e,s=X&&S(X,!0),o=X&&s&&s.a,i=X&&s&&s.d,c=De&&ke&&T(ke),l=(n.clientX-ue.clientX+a.x)/(o||1)+(c?c[0]-Se[0]:0)/(o||1),u=(n.clientY-ue.clientY+a.y)/(i||1)+(c?c[1]-Se[1]:0)/(i||1);if(!Fe.active&&!_e){if(r&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<r)return;this._onDragStart(e,!0)}if(X){s?(s.e+=l-(pe||0),s.f+=u-(me||0)):s={a:1,b:0,c:0,d:1,e:l,f:u};var d="matrix(".concat(s.a,",").concat(s.b,",").concat(s.c,",").concat(s.d,",").concat(s.e,",").concat(s.f,")");E(X,"webkitTransform",d),E(X,"mozTransform",d),E(X,"msTransform",d),E(X,"transform",d),pe=l,me=u,de=n}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!X){var e=this.options.fallbackOnBody?document.body:Q,t=O(W,!0,De,!0,e),r=this.options;if(De){for(ke=e;"static"===E(ke,"position")&&"none"===E(ke,"transform")&&ke!==document;)ke=ke.parentNode;ke!==document.body&&ke!==document.documentElement?(ke===document&&(ke=C()),t.top+=ke.scrollTop,t.left+=ke.scrollLeft):ke=C(),Se=T(ke)}x(X=W.cloneNode(!0),r.ghostClass,!1),x(X,r.fallbackClass,!0),x(X,r.dragClass,!0),E(X,"transition",""),E(X,"transform",""),E(X,"box-sizing","border-box"),E(X,"margin",0),E(X,"top",t.top),E(X,"left",t.left),E(X,"width",t.width),E(X,"height",t.height),E(X,"opacity","0.8"),E(X,"position",De?"absolute":"fixed"),E(X,"zIndex","100000"),E(X,"pointerEvents","none"),Fe.ghost=X,e.appendChild(X),E(X,"transform-origin",fe/parseInt(X.style.width)*100+"% "+he/parseInt(X.style.height)*100+"%")}},_onDragStart:function(e,t){var r=this,a=e.dataTransfer,n=r.options;Z("dragStart",this,{evt:e}),Fe.eventCanceled?this._onDrop():(Z("setupClone",this),Fe.eventCanceled||((re=z(W)).draggable=!1,re.style["will-change"]="",this._hideClone(),x(re,this.options.chosenClass,!1),Fe.clone=re),r.cloneId=Be((function(){Z("clone",r),Fe.eventCanceled||(r.options.removeCloneOnHide||Q.insertBefore(re,W),r._hideClone(),J({sortable:r,name:"clone"}))})),!t&&x(W,n.dragClass,!0),t?(we=!0,r._loopId=setInterval(r._emulateDragOver,50)):(y(document,"mouseup",r._onDrop),y(document,"touchend",r._onDrop),y(document,"touchcancel",r._onDrop),a&&(a.effectAllowed="move",n.setData&&n.setData.call(r,a,W)),v(document,"drop",r),E(W,"transform","translateZ(0)")),_e=!0,r._dragStartId=Be(r._dragStarted.bind(r,t,e)),v(document,"selectstart",r),ge=!0,m&&E(document.body,"user-select","none"))},_onDragOver:function(e){var t,r,a,n,s=this.el,i=e.target,c=this.options,l=c.group,u=Fe.active,d=ce===l,p=c.sort,m=le||u,f=this,h=!1;if(!Pe){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),i=_(i,c.draggable,s,!0),M("dragOver"),Fe.eventCanceled)return h;if(W.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||f._ignoreWhileAnimating===i)return z(!1);if(we=!1,u&&!c.disabled&&(d?p||(a=!Q.contains(W)):le===this||(this.lastPutMode=ce.checkPull(this,u,W,e))&&l.checkPut(this,u,W,e))){if(n="vertical"===this._getDirection(e,i),t=O(W),M("dragOverValid"),Fe.eventCanceled)return h;if(a)return Y=Q,R(),this._hideClone(),M("revert"),Fe.eventCanceled||(ee?Q.insertBefore(W,ee):Q.appendChild(W)),z(!0);var g=A(s,c.draggable);if(!g||function(e,t,r){var a=O(A(r.el,r.options.draggable));return t?e.clientX>a.right+10||e.clientX<=a.right&&e.clientY>a.bottom&&e.clientX>=a.left:e.clientX>a.right&&e.clientY>a.top||e.clientX<=a.right&&e.clientY>a.bottom+10}(e,n,this)&&!g.animated){if(g===W)return z(!1);if(g&&s===e.target&&(i=g),i&&(r=O(i)),!1!==Le(Q,s,W,t,i,r,e,!!i))return R(),s.appendChild(W),Y=s,F(),z(!0)}else if(i.parentNode===s){r=O(i);var v,y,b,k=W.parentNode!==s,w=!function(e,t,r){var a=r?e.left:e.top,n=r?e.right:e.bottom,s=r?e.width:e.height,o=r?t.left:t.top,i=r?t.right:t.bottom,c=r?t.width:t.height;return a===o||n===i||a+s/2===o+c/2}(W.animated&&W.toRect||t,i.animated&&i.toRect||r,n),$=n?"top":"left",S=D(i,"top","top")||D(W,"top","top"),P=S?S.scrollTop:void 0;if(ve!==i&&(y=r[$],xe=!1,Ee=!w&&c.invertSwap||k),0!==(v=function(e,t,r,a,n,s,o,i){var c=a?e.clientY:e.clientX,l=a?r.height:r.width,u=a?r.top:r.left,d=a?r.bottom:r.right,p=!1;if(!o)if(i&&be<l*n){if(!xe&&(1===ye?c>u+l*s/2:c<d-l*s/2)&&(xe=!0),xe)p=!0;else if(1===ye?c<u+be:c>d-be)return-ye}else if(c>u+l*(1-n)/2&&c<d-l*(1-n)/2)return function(e){return j(W)<j(e)?1:-1}(t);if((p=p||o)&&(c<u+l*s/2||c>d-l*s/2))return c>u+l/2?1:-1;return 0}(e,i,r,n,w?1:c.swapThreshold,null==c.invertedSwapThreshold?c.swapThreshold:c.invertedSwapThreshold,Ee,ve===i))){var C=j(W);do{C-=v,b=Y.children[C]}while(b&&("none"===E(b,"display")||b===X))}if(0===v||b===i)return z(!1);ve=i,ye=v;var N=i.nextElementSibling,T=!1,I=Le(Q,s,W,t,i,r,e,T=1===v);if(!1!==I)return 1!==I&&-1!==I||(T=1===I),Pe=!0,setTimeout(Ue,30),R(),T&&!N?s.appendChild(W):i.parentNode.insertBefore(W,T?N:i),S&&q(S,0,P-S.scrollTop),Y=W.parentNode,void 0===y||Ee||(be=Math.abs(y-O(i)[$])),F(),z(!0)}if(s.contains(W))return z(!1)}return!1}function M(c,l){Z(c,f,o({evt:e,isOwner:d,axis:n?"vertical":"horizontal",revert:a,dragRect:t,targetRect:r,canSort:p,fromSortable:m,target:i,completed:z,onMove:function(r,a){return Le(Q,s,W,t,r,O(r),e,a)},changed:F},l))}function R(){M("dragOverAnimationCapture"),f.captureAnimationState(),f!==m&&m.captureAnimationState()}function z(t){return M("dragOverCompleted",{insertion:t}),t&&(d?u._hideClone():u._showClone(f),f!==m&&(x(W,le?le.options.ghostClass:u.options.ghostClass,!1),x(W,c.ghostClass,!0)),le!==f&&f!==Fe.active?le=f:f===Fe.active&&le&&(le=null),m===f&&(f._ignoreWhileAnimating=i),f.animateAll((function(){M("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(i===W&&!W.animated||i===s&&!i.animated)&&(ve=null),c.dragoverBubble||e.rootEl||i===document||(W.parentNode[V]._isOutsideThisEl(e.target),!t&&qe(e)),!c.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function F(){se=j(W),ie=j(W,c.draggable),J({sortable:f,name:"change",toEl:s,newIndex:se,newDraggableIndex:ie,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){y(document,"mousemove",this._onTouchMove),y(document,"touchmove",this._onTouchMove),y(document,"pointermove",this._onTouchMove),y(document,"dragover",qe),y(document,"mousemove",qe),y(document,"touchmove",qe)},_offUpEvents:function(){var e=this.el.ownerDocument;y(e,"mouseup",this._onDrop),y(e,"touchend",this._onDrop),y(e,"pointerup",this._onDrop),y(e,"touchcancel",this._onDrop),y(document,"selectstart",this)},_onDrop:function(e){var t=this.el,r=this.options;se=j(W),ie=j(W,r.draggable),Z("drop",this,{evt:e}),Y=W&&W.parentNode,se=j(W),ie=j(W,r.draggable),Fe.eventCanceled?this._nulling():(_e=!1,Ee=!1,xe=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ge(this.cloneId),Ge(this._dragStartId),this.nativeDraggable&&(y(document,"drop",this),y(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),m&&E(document.body,"user-select",""),E(W,"transform",""),e&&(ge&&(e.cancelable&&e.preventDefault(),!r.dropBubble&&e.stopPropagation()),X&&X.parentNode&&X.parentNode.removeChild(X),(Q===Y||le&&"clone"!==le.lastPutMode)&&re&&re.parentNode&&re.parentNode.removeChild(re),W&&(this.nativeDraggable&&y(W,"dragend",this),Ve(W),W.style["will-change"]="",ge&&!_e&&x(W,le?le.options.ghostClass:this.options.ghostClass,!1),x(W,this.options.chosenClass,!1),J({sortable:this,name:"unchoose",toEl:Y,newIndex:null,newDraggableIndex:null,originalEvent:e}),Q!==Y?(se>=0&&(J({rootEl:Y,name:"add",toEl:Y,fromEl:Q,originalEvent:e}),J({sortable:this,name:"remove",toEl:Y,originalEvent:e}),J({rootEl:Y,name:"sort",toEl:Y,fromEl:Q,originalEvent:e}),J({sortable:this,name:"sort",toEl:Y,originalEvent:e})),le&&le.save()):se!==ne&&se>=0&&(J({sortable:this,name:"update",toEl:Y,originalEvent:e}),J({sortable:this,name:"sort",toEl:Y,originalEvent:e})),Fe.active&&(null!=se&&-1!==se||(se=ne,ie=oe),J({sortable:this,name:"end",toEl:Y,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){Z("nulling",this),Q=W=Y=X=ee=re=te=ae=ue=de=ge=se=ie=ne=oe=ve=ye=le=ce=Fe.dragged=Fe.ghost=Fe.clone=Fe.active=null,Ce.forEach((function(e){e.checked=!0})),Ce.length=pe=me=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":W&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,a=0,n=r.length,s=this.options;a<n;a++)_(e=r[a],s.draggable,this.el,!1)&&t.push(e.getAttribute(s.dataIdAttr)||Ke(e));return t},sort:function(e){var t={},r=this.el;this.toArray().forEach((function(e,a){var n=r.children[a];_(n,this.options.draggable,r,!1)&&(t[e]=n)}),this),e.forEach((function(e){t[e]&&(r.removeChild(t[e]),r.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return _(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var r=this.options;if(void 0===t)return r[e];var a=G.modifyOption(this,e,t);r[e]=void 0!==a?a:t,"group"===e&&Ie(r)},destroy:function(){Z("destroy",this);var e=this.el;e[V]=null,y(e,"mousedown",this._onTapStart),y(e,"touchstart",this._onTapStart),y(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(y(e,"dragover",this),y(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),$e.splice($e.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!ae){if(Z("hideClone",this),Fe.eventCanceled)return;E(re,"display","none"),this.options.removeCloneOnHide&&re.parentNode&&re.parentNode.removeChild(re),ae=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(ae){if(Z("showClone",this),Fe.eventCanceled)return;Q.contains(W)&&!this.options.group.revertClone?Q.insertBefore(re,W):ee?Q.insertBefore(re,ee):Q.appendChild(re),this.options.group.revertClone&&this.animate(W,re),E(re,"display",""),ae=!1}}else this._hideClone()}},Oe&&v(document,"touchmove",(function(e){(Fe.active||_e)&&e.cancelable&&e.preventDefault()})),Fe.utils={on:v,off:y,css:E,find:P,is:function(e,t){return!!_(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},throttle:R,closest:_,toggleClass:x,clone:z,index:j,nextTick:Be,cancelNextTick:Ge,detectDirection:Te,getChild:N},Fe.get=function(e){return e[V]},Fe.mount=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Fe.utils=o({},Fe.utils,e.utils)),G.mount(e)}))},Fe.create=function(e,t){return new Fe(e,t)},Fe.version="1.10.2";var He,Ze,Je,We,Ye,Xe,Qe=[],et=!1;function tt(){Qe.forEach((function(e){clearInterval(e.pid)})),Qe=[]}function rt(){clearInterval(Xe)}var at,nt=R((function(e,t,r,a){if(t.scroll){var n,s=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,c=t.scrollSpeed,l=C(),u=!1;Ze!==r&&(Ze=r,tt(),He=t.scroll,n=t.scrollFn,!0===He&&(He=I(r,!0)));var d=0,p=He;do{var m=p,f=O(m),h=f.top,g=f.bottom,v=f.left,y=f.right,b=f.width,k=f.height,_=void 0,w=void 0,$=m.scrollWidth,x=m.scrollHeight,S=E(m),P=m.scrollLeft,D=m.scrollTop;m===l?(_=b<$&&("auto"===S.overflowX||"scroll"===S.overflowX||"visible"===S.overflowX),w=k<x&&("auto"===S.overflowY||"scroll"===S.overflowY||"visible"===S.overflowY)):(_=b<$&&("auto"===S.overflowX||"scroll"===S.overflowX),w=k<x&&("auto"===S.overflowY||"scroll"===S.overflowY));var N=_&&(Math.abs(y-s)<=i&&P+b<$)-(Math.abs(v-s)<=i&&!!P),A=w&&(Math.abs(g-o)<=i&&D+k<x)-(Math.abs(h-o)<=i&&!!D);if(!Qe[d])for(var j=0;j<=d;j++)Qe[j]||(Qe[j]={});Qe[d].vx==N&&Qe[d].vy==A&&Qe[d].el===m||(Qe[d].el=m,Qe[d].vx=N,Qe[d].vy=A,clearInterval(Qe[d].pid),0==N&&0==A||(u=!0,Qe[d].pid=setInterval(function(){a&&0===this.layer&&Fe.active._onTouchMove(Ye);var t=Qe[this.layer].vy?Qe[this.layer].vy*c:0,r=Qe[this.layer].vx?Qe[this.layer].vx*c:0;"function"==typeof n&&"continue"!==n.call(Fe.dragged.parentNode[V],r,t,e,Ye,Qe[this.layer].el)||q(Qe[this.layer].el,r,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&p!==l&&(p=I(p,!1)));et=u}}),30),st=function(e){var t=e.originalEvent,r=e.putSortable,a=e.dragEl,n=e.activeSortable,s=e.dispatchSortableEvent,o=e.hideGhostForTarget,i=e.unhideGhostForTarget;if(t){var c=r||n;o();var l=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(l.clientX,l.clientY);i(),c&&!c.el.contains(u)&&(s("spill"),this.onSpill({dragEl:a,putSortable:r}))}};function ot(){}function it(){}function ct(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;at=t},dragOverValid:function(e){var t=e.completed,r=e.target,a=e.onMove,n=e.activeSortable,s=e.changed,o=e.cancel;if(n.options.swap){var i=this.sortable.el,c=this.options;if(r&&r!==i){var l=at;!1!==a(r)?(x(r,c.swapClass,!0),at=r):at=null,l&&l!==at&&x(l,c.swapClass,!1)}s(),t(!0),o()}},drop:function(e){var t=e.activeSortable,r=e.putSortable,a=e.dragEl,n=r||this.sortable,s=this.options;at&&x(at,s.swapClass,!1),at&&(s.swap||r&&r.options.swap)&&a!==at&&(n.captureAnimationState(),n!==t&&t.captureAnimationState(),function(e,t){var r,a,n=e.parentNode,s=t.parentNode;if(!n||!s||n.isEqualNode(t)||s.isEqualNode(e))return;r=j(e),a=j(t),n.isEqualNode(s)&&r<a&&a++;n.insertBefore(t,n.children[r]),s.insertBefore(e,s.children[a])}(a,at),n.animateAll(),n!==t&&t.animateAll())},nulling:function(){at=null}},s(e,{pluginName:"swap",eventProperties:function(){return{swapItem:at}}})}ot.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,r=e.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var a=N(this.sortable.el,this.startIndex,this.options);a?this.sortable.el.insertBefore(t,a):this.sortable.el.appendChild(t),this.sortable.animateAll(),r&&r.animateAll()},drop:st},s(ot,{pluginName:"revertOnSpill"}),it.prototype={onSpill:function(e){var t=e.dragEl,r=e.putSortable||this.sortable;r.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),r.animateAll()},drop:st},s(it,{pluginName:"removeOnSpill"});var lt,ut,dt,pt,mt,ft=[],ht=[],gt=!1,vt=!1,yt=!1;function bt(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?v(document,"pointerup",this._deselectMultiDrag):(v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag)),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,r){var a="";ft.length&&ut===e?ft.forEach((function(e,t){a+=(t?", ":"")+e.textContent})):a=r.textContent,t.setData("Text",a)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;dt=t},delayEnded:function(){this.isMultiDrag=~ft.indexOf(dt)},setupClone:function(e){var t=e.sortable,r=e.cancel;if(this.isMultiDrag){for(var a=0;a<ft.length;a++)ht.push(z(ft[a])),ht[a].sortableIndex=ft[a].sortableIndex,ht[a].draggable=!1,ht[a].style["will-change"]="",x(ht[a],this.options.selectedClass,!1),ft[a]===dt&&x(ht[a],this.options.chosenClass,!1);t._hideClone(),r()}},clone:function(e){var t=e.sortable,r=e.rootEl,a=e.dispatchSortableEvent,n=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||ft.length&&ut===t&&(kt(!0,r),a("clone"),n()))},showClone:function(e){var t=e.cloneNowShown,r=e.rootEl,a=e.cancel;this.isMultiDrag&&(kt(!1,r),ht.forEach((function(e){E(e,"display","")})),t(),mt=!1,a())},hideClone:function(e){var t=this,r=(e.sortable,e.cloneNowHidden),a=e.cancel;this.isMultiDrag&&(ht.forEach((function(e){E(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),r(),mt=!0,a())},dragStartGlobal:function(e){e.sortable;!this.isMultiDrag&&ut&&ut.multiDrag._deselectMultiDrag(),ft.forEach((function(e){e.sortableIndex=j(e)})),ft=ft.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),yt=!0},dragStarted:function(e){var t=this,r=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(r.captureAnimationState(),this.options.animation)){ft.forEach((function(e){e!==dt&&E(e,"position","absolute")}));var a=O(dt,!1,!0,!0);ft.forEach((function(e){e!==dt&&F(e,a)})),vt=!0,gt=!0}r.animateAll((function(){vt=!1,gt=!1,t.options.animation&&ft.forEach((function(e){L(e)})),t.options.sort&&_t()}))}},dragOver:function(e){var t=e.target,r=e.completed,a=e.cancel;vt&&~ft.indexOf(t)&&(r(!1),a())},revert:function(e){var t=e.fromSortable,r=e.rootEl,a=e.sortable,n=e.dragRect;ft.length>1&&(ft.forEach((function(e){a.addAnimationState({target:e,rect:vt?O(e):n}),L(e),e.fromRect=n,t.removeAnimationState(e)})),vt=!1,function(e,t){ft.forEach((function(r,a){var n=t.children[r.sortableIndex+(e?Number(a):0)];n?t.insertBefore(r,n):t.appendChild(r)}))}(!this.options.removeCloneOnHide,r))},dragOverCompleted:function(e){var t=e.sortable,r=e.isOwner,a=e.insertion,n=e.activeSortable,s=e.parentEl,o=e.putSortable,i=this.options;if(a){if(r&&n._hideClone(),gt=!1,i.animation&&ft.length>1&&(vt||!r&&!n.options.sort&&!o)){var c=O(dt,!1,!0,!0);ft.forEach((function(e){e!==dt&&(F(e,c),s.appendChild(e))})),vt=!0}if(!r)if(vt||_t(),ft.length>1){var l=mt;n._showClone(t),n.options.animation&&!mt&&l&&ht.forEach((function(e){n.addAnimationState({target:e,rect:pt}),e.fromRect=pt,e.thisAnimationDuration=null}))}else n._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,r=e.isOwner,a=e.activeSortable;if(ft.forEach((function(e){e.thisAnimationDuration=null})),a.options.animation&&!r&&a.multiDrag.isMultiDrag){pt=s({},t);var n=S(dt,!0);pt.top-=n.f,pt.left-=n.e}},dragOverAnimationComplete:function(){vt&&(vt=!1,_t())},drop:function(e){var t=e.originalEvent,r=e.rootEl,a=e.parentEl,n=e.sortable,s=e.dispatchSortableEvent,o=e.oldIndex,i=e.putSortable,c=i||this.sortable;if(t){var l=this.options,u=a.children;if(!yt)if(l.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),x(dt,l.selectedClass,!~ft.indexOf(dt)),~ft.indexOf(dt))ft.splice(ft.indexOf(dt),1),lt=null,H({sortable:n,rootEl:r,name:"deselect",targetEl:dt,originalEvt:t});else{if(ft.push(dt),H({sortable:n,rootEl:r,name:"select",targetEl:dt,originalEvt:t}),t.shiftKey&<&&n.el.contains(lt)){var d,p,m=j(lt),f=j(dt);if(~m&&~f&&m!==f)for(f>m?(p=m,d=f):(p=f,d=m+1);p<d;p++)~ft.indexOf(u[p])||(x(u[p],l.selectedClass,!0),ft.push(u[p]),H({sortable:n,rootEl:r,name:"select",targetEl:u[p],originalEvt:t}))}else lt=dt;ut=c}if(yt&&this.isMultiDrag){if((a[V].options.sort||a!==r)&&ft.length>1){var h=O(dt),g=j(dt,":not(."+this.options.selectedClass+")");if(!gt&&l.animation&&(dt.thisAnimationDuration=null),c.captureAnimationState(),!gt&&(l.animation&&(dt.fromRect=h,ft.forEach((function(e){if(e.thisAnimationDuration=null,e!==dt){var t=vt?O(e):h;e.fromRect=t,c.addAnimationState({target:e,rect:t})}}))),_t(),ft.forEach((function(e){u[g]?a.insertBefore(e,u[g]):a.appendChild(e),g++})),o===j(dt))){var v=!1;ft.forEach((function(e){e.sortableIndex===j(e)||(v=!0)})),v&&s("update")}ft.forEach((function(e){L(e)})),c.animateAll()}ut=c}(r===a||i&&"clone"!==i.lastPutMode)&&ht.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=yt=!1,ht.length=0},destroyGlobal:function(){this._deselectMultiDrag(),y(document,"pointerup",this._deselectMultiDrag),y(document,"mouseup",this._deselectMultiDrag),y(document,"touchend",this._deselectMultiDrag),y(document,"keydown",this._checkKeyDown),y(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==yt&&yt||ut!==this.sortable||e&&_(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;ft.length;){var t=ft[0];x(t,this.options.selectedClass,!1),ft.shift(),H({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},s(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[V];t&&t.options.multiDrag&&!~ft.indexOf(e)&&(ut&&ut!==t&&(ut.multiDrag._deselectMultiDrag(),ut=t),x(e,t.options.selectedClass,!0),ft.push(e))},deselect:function(e){var t=e.parentNode[V],r=ft.indexOf(e);t&&t.options.multiDrag&&~r&&(x(e,t.options.selectedClass,!1),ft.splice(r,1))}},eventProperties:function(){var e=this,t=[],r=[];return ft.forEach((function(a){var n;t.push({multiDragElement:a,index:a.sortableIndex}),n=vt&&a!==dt?-1:vt?j(a,":not(."+e.options.selectedClass+")"):j(a),r.push({multiDragElement:a,index:n})})),{items:c(ft),clones:[].concat(ht),oldIndicies:t,newIndicies:r}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function kt(e,t){ht.forEach((function(r,a){var n=t.children[r.sortableIndex+(e?Number(a):0)];n?t.insertBefore(r,n):t.appendChild(r)}))}function _t(){ft.forEach((function(e){e!==dt&&e.parentNode&&e.parentNode.removeChild(e)}))}Fe.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):t.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?y(document,"dragover",this._handleAutoScroll):(y(document,"pointermove",this._handleFallbackAutoScroll),y(document,"touchmove",this._handleFallbackAutoScroll),y(document,"mousemove",this._handleFallbackAutoScroll)),rt(),tt(),clearTimeout(w),w=void 0},nulling:function(){Ye=Ze=He=et=Xe=Je=We=null,Qe.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var r=this,a=(e.touches?e.touches[0]:e).clientX,n=(e.touches?e.touches[0]:e).clientY,s=document.elementFromPoint(a,n);if(Ye=e,t||d||u||m){nt(e,this.options,s,t);var o=I(s,!0);!et||Xe&&a===Je&&n===We||(Xe&&rt(),Xe=setInterval((function(){var s=I(document.elementFromPoint(a,n),!0);s!==o&&(o=s,tt()),nt(e,r.options,s,t)}),10),Je=a,We=n)}else{if(!this.options.bubbleScroll||I(s,!0)===C())return void tt();nt(e,this.options,I(s,!1),!1)}}},s(e,{pluginName:"scroll",initializeByDefault:!0})}),Fe.mount(it,ot),t.default=Fe},function(e,t,r){"use strict";e.exports=r(58)},function(e,t,r){"use strict";var a=r(2),n=r(66),s=r(70),o=r(71),i=r(79),c=r(93),l=r(106),u=r(28),d=r(108),p={default:r(110),zero:r(111),commonmark:r(112)},m=/^(vbscript|javascript|file|data):/,f=/^data:image\/(gif|png|jpeg|webp);/;function h(e){var t=e.trim().toLowerCase();return!m.test(t)||!!f.test(t)}var g=["http:","https:","mailto:"];function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=d.toASCII(t.hostname)}catch(e){}return u.encode(u.format(t))}function y(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=d.toUnicode(t.hostname)}catch(e){}return u.decode(u.format(t))}function b(e,t){if(!(this instanceof b))return new b(e,t);t||a.isString(e)||(t=e||{},e="default"),this.inline=new c,this.block=new i,this.core=new o,this.renderer=new s,this.linkify=new l,this.validateLink=h,this.normalizeLink=v,this.normalizeLinkText=y,this.utils=a,this.helpers=a.assign({},n),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return a.assign(this.options,e),this},b.prototype.configure=function(e){var t,r=this;if(a.isString(e)&&!(e=p[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},b.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var a=e.filter((function(e){return r.indexOf(e)<0}));if(a.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+a);return this},b.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var a=e.filter((function(e){return r.indexOf(e)<0}));if(a.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+a);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(e,t,r){"use strict";var a={};function n(e,t,r){var s,o,i,c,l,u="";for("string"!=typeof t&&(r=t,t=n.defaultChars),void 0===r&&(r=!0),l=function(e){var t,r,n=a[e];if(n)return n;for(n=a[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)n[e.charCodeAt(t)]=e[t];return n}(t),s=0,o=e.length;s<o;s++)if(i=e.charCodeAt(s),r&&37===i&&s+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(s+1,s+3)))u+=e.slice(s,s+3),s+=2;else if(i<128)u+=l[i];else if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&s+1<o&&(c=e.charCodeAt(s+1))>=56320&&c<=57343){u+=encodeURIComponent(e[s]+e[s+1]),s++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[s]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},function(e,t,r){"use strict";var a={};function n(e,t){var r;return"string"!=typeof t&&(t=n.defaultChars),r=function(e){var t,r,n=a[e];if(n)return n;for(n=a[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),n.push(r);for(t=0;t<e.length;t++)n[r=e.charCodeAt(t)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return n}(t),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,a,n,s,o,i,c,l="";for(t=0,a=e.length;t<a;t+=3)(n=parseInt(e.slice(t+1,t+3),16))<128?l+=r[n]:192==(224&n)&&t+3<a&&128==(192&(s=parseInt(e.slice(t+4,t+6),16)))?(l+=(c=n<<6&1984|63&s)<128?"��":String.fromCharCode(c),t+=3):224==(240&n)&&t+6<a&&(s=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),128==(192&s)&&128==(192&o))?(l+=(c=n<<12&61440|s<<6&4032|63&o)<2048||c>=55296&&c<=57343?"���":String.fromCharCode(c),t+=6):240==(248&n)&&t+9<a&&(s=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),i=parseInt(e.slice(t+10,t+12),16),128==(192&s)&&128==(192&o)&&128==(192&i))?((c=n<<18&1835008|s<<12&258048|o<<6&4032|63&i)<65536||c>1114111?l+="����":(c-=65536,l+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),t+=9):l+="�";return l}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},function(e,t,r){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,r){"use strict";function a(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(i),l=["%","/","?",";","#"].concat(c),u=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};a.prototype.parse=function(e,t){var r,a,s,i,c,h=e;if(h=h.trim(),!t&&1===e.split("#").length){var g=o.exec(h);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var v=n.exec(h);if(v&&(s=(v=v[0]).toLowerCase(),this.protocol=v,h=h.substr(v.length)),(t||v||h.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(c="//"===h.substr(0,2))||v&&m[v]||(h=h.substr(2),this.slashes=!0)),!m[v]&&(c||v&&!f[v])){var y,b,k=-1;for(r=0;r<u.length;r++)-1!==(i=h.indexOf(u[r]))&&(-1===k||i<k)&&(k=i);for(-1!==(b=-1===k?h.lastIndexOf("@"):h.lastIndexOf("@",k))&&(y=h.slice(0,b),h=h.slice(b+1),this.auth=y),k=-1,r=0;r<l.length;r++)-1!==(i=h.indexOf(l[r]))&&(-1===k||i<k)&&(k=i);-1===k&&(k=h.length),":"===h[k-1]&&k--;var _=h.slice(0,k);h=h.slice(k),this.parseHost(_),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var $=this.hostname.split(/\./);for(r=0,a=$.length;r<a;r++){var x=$[r];if(x&&!x.match(d)){for(var E="",S=0,P=x.length;S<P;S++)x.charCodeAt(S)>127?E+="x":E+=x[S];if(!E.match(d)){var C=$.slice(0,r),O=$.slice(r+1),D=x.match(p);D&&(C.push(D[1]),O.unshift(D[2])),O.length&&(h=O.join(".")+h),this.hostname=C.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var N=h.indexOf("#");-1!==N&&(this.hash=h.substr(N),h=h.slice(0,N));var A=h.indexOf("?");return-1!==A&&(this.search=h.substr(A),h=h.slice(0,A)),h&&(this.pathname=h),f[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},a.prototype.parseHost=function(e){var t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof a)return e;var r=new a;return r.parse(e,t),r}},function(e,t,r){"use strict";t.Any=r(29),t.Cc=r(30),t.Cf=r(65),t.P=r(21),t.Z=r(31)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,r){"use strict";t.parseLinkLabel=r(67),t.parseLinkDestination=r(68),t.parseLinkTitle=r(69)},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n,s,o,i=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,a=1;e.pos<c;){if(93===(s=e.src.charCodeAt(e.pos))&&0===--a){n=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===s)if(o===e.pos-1)a++;else if(r)return e.pos=l,-1}return n&&(i=e.pos),e.pos=l,i}},function(e,t,r){"use strict";var a=r(2).isSpace,n=r(2).unescapeAll;e.exports=function(e,t,r){var s,o,i=t,c={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<r;){if(10===(s=e.charCodeAt(t))||a(s))return c;if(62===s)return c.pos=t+1,c.str=n(e.slice(i+1,t)),c.ok=!0,c;92===s&&t+1<r?t+=2:t++}return c}for(o=0;t<r&&32!==(s=e.charCodeAt(t))&&!(s<32||127===s);)if(92===s&&t+1<r)t+=2;else{if(40===s&&o++,41===s){if(0===o)break;o--}t++}return i===t?c:0!==o?c:(c.str=n(e.slice(i,t)),c.lines=0,c.pos=t,c.ok=!0,c)}},function(e,t,r){"use strict";var a=r(2).unescapeAll;e.exports=function(e,t,r){var n,s,o=0,i=t,c={ok:!1,pos:0,lines:0,str:""};if(t>=r)return c;if(34!==(s=e.charCodeAt(t))&&39!==s&&40!==s)return c;for(t++,40===s&&(s=41);t<r;){if((n=e.charCodeAt(t))===s)return c.pos=t+1,c.lines=o,c.str=a(e.slice(i+1,t)),c.ok=!0,c;10===n?o++:92===n&&t+1<r&&(t++,10===e.charCodeAt(t)&&o++),t++}return c}},function(e,t,r){"use strict";var a=r(2).assign,n=r(2).unescapeAll,s=r(2).escapeHtml,o={};function i(){this.rules=a({},o)}o.code_inline=function(e,t,r,a,n){var o=e[t];return"<code"+n.renderAttrs(o)+">"+s(e[t].content)+"</code>"},o.code_block=function(e,t,r,a,n){var o=e[t];return"<pre"+n.renderAttrs(o)+"><code>"+s(e[t].content)+"</code></pre>\n"},o.fence=function(e,t,r,a,o){var i,c,l,u,d=e[t],p=d.info?n(d.info).trim():"",m="";return p&&(m=p.split(/\s+/g)[0]),0===(i=r.highlight&&r.highlight(d.content,m)||s(d.content)).indexOf("<pre")?i+"\n":p?(c=d.attrIndex("class"),l=d.attrs?d.attrs.slice():[],c<0?l.push(["class",r.langPrefix+m]):l[c][1]+=" "+r.langPrefix+m,u={attrs:l},"<pre><code"+o.renderAttrs(u)+">"+i+"</code></pre>\n"):"<pre><code"+o.renderAttrs(d)+">"+i+"</code></pre>\n"},o.image=function(e,t,r,a,n){var s=e[t];return s.attrs[s.attrIndex("alt")][1]=n.renderInlineAsText(s.children,r,a),n.renderToken(e,t,r)},o.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},o.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},o.text=function(e,t){return s(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},i.prototype.renderAttrs=function(e){var t,r,a;if(!e.attrs)return"";for(a="",t=0,r=e.attrs.length;t<r;t++)a+=" "+s(e.attrs[t][0])+'="'+s(e.attrs[t][1])+'"';return a},i.prototype.renderToken=function(e,t,r){var a,n="",s=!1,o=e[t];return o.hidden?"":(o.block&&-1!==o.nesting&&t&&e[t-1].hidden&&(n+="\n"),n+=(-1===o.nesting?"</":"<")+o.tag,n+=this.renderAttrs(o),0===o.nesting&&r.xhtmlOut&&(n+=" /"),o.block&&(s=!0,1===o.nesting&&t+1<e.length&&("inline"===(a=e[t+1]).type||a.hidden?s=!1:-1===a.nesting&&a.tag===o.tag&&(s=!1))),n+=s?">\n":">")},i.prototype.renderInline=function(e,t,r){for(var a,n="",s=this.rules,o=0,i=e.length;o<i;o++)void 0!==s[a=e[o].type]?n+=s[a](e,o,t,r,this):n+=this.renderToken(e,o,t);return n},i.prototype.renderInlineAsText=function(e,t,r){for(var a="",n=0,s=e.length;n<s;n++)"text"===e[n].type?a+=e[n].content:"image"===e[n].type&&(a+=this.renderInlineAsText(e[n].children,t,r));return a},i.prototype.render=function(e,t,r){var a,n,s,o="",i=this.rules;for(a=0,n=e.length;a<n;a++)"inline"===(s=e[a].type)?o+=this.renderInline(e[a].children,t,r):void 0!==i[s]?o+=i[e[a].type](e,a,t,r,this):o+=this.renderToken(e,a,t,r);return o},e.exports=i},function(e,t,r){"use strict";var a=r(22),n=[["normalize",r(72)],["block",r(73)],["inline",r(74)],["linkify",r(75)],["replacements",r(76)],["smartquotes",r(77)]];function s(){this.ruler=new a;for(var e=0;e<n.length;e++)this.ruler.push(n[e][0],n[e][1])}s.prototype.process=function(e){var t,r,a;for(t=0,r=(a=this.ruler.getRules("")).length;t<r;t++)a[t](e)},s.prototype.State=r(78),e.exports=s},function(e,t,r){"use strict";var a=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,n=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(a,"\n")).replace(n,"�"),e.src=t}},function(e,t,r){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,r){"use strict";e.exports=function(e){var t,r,a,n=e.tokens;for(r=0,a=n.length;r<a;r++)"inline"===(t=n[r]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,r){"use strict";var a=r(2).arrayReplaceAt;function n(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,r,s,o,i,c,l,u,d,p,m,f,h,g,v,y,b,k,_=e.tokens;if(e.md.options.linkify)for(r=0,s=_.length;r<s;r++)if("inline"===_[r].type&&e.md.linkify.pretest(_[r].content))for(h=0,t=(o=_[r].children).length-1;t>=0;t--)if("link_close"!==(c=o[t]).type){if("html_inline"===c.type&&(k=c.content,/^<a[>\s]/i.test(k)&&h>0&&h--,n(c.content)&&h++),!(h>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(d=c.content,b=e.md.linkify.match(d),l=[],f=c.level,m=0,u=0;u<b.length;u++)g=b[u].url,v=e.md.normalizeLink(g),e.md.validateLink(v)&&(y=b[u].text,y=b[u].schema?"mailto:"!==b[u].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),(p=b[u].index)>m&&((i=new e.Token("text","",0)).content=d.slice(m,p),i.level=f,l.push(i)),(i=new e.Token("link_open","a",1)).attrs=[["href",v]],i.level=f++,i.markup="linkify",i.info="auto",l.push(i),(i=new e.Token("text","",0)).content=y,i.level=f,l.push(i),(i=new e.Token("link_close","a",-1)).level=--f,i.markup="linkify",i.info="auto",l.push(i),m=b[u].lastIndex);m<d.length&&((i=new e.Token("text","",0)).content=d.slice(m),i.level=f,l.push(i)),_[r].children=o=a(o,t,l)}}else for(t--;o[t].level!==c.level&&"link_open"!==o[t].type;)t--}},function(e,t,r){"use strict";var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,s=/\((c|tm|r|p)\)/gi,o={c:"©",r:"®",p:"§",tm:"™"};function i(e,t){return o[t.toLowerCase()]}function c(e){var t,r,a=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||a||(r.content=r.content.replace(s,i)),"link_open"===r.type&&"auto"===r.info&&a--,"link_close"===r.type&&"auto"===r.info&&a++}function l(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||a.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(n.test(e.tokens[t].content)&&c(e.tokens[t].children),a.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,r){"use strict";var a=r(2).isWhiteSpace,n=r(2).isPunctChar,s=r(2).isMdAsciiPunct,o=/['"]/,i=/['"]/g,c="’";function l(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function u(e,t){var r,o,u,d,p,m,f,h,g,v,y,b,k,_,w,$,x,E,S,P,C;for(S=[],r=0;r<e.length;r++){for(o=e[r],f=e[r].level,x=S.length-1;x>=0&&!(S[x].level<=f);x--);if(S.length=x+1,"text"===o.type){p=0,m=(u=o.content).length;e:for(;p<m&&(i.lastIndex=p,d=i.exec(u));){if(w=$=!0,p=d.index+1,E="'"===d[0],g=32,d.index-1>=0)g=u.charCodeAt(d.index-1);else for(x=r-1;x>=0&&("softbreak"!==e[x].type&&"hardbreak"!==e[x].type);x--)if("text"===e[x].type){g=e[x].content.charCodeAt(e[x].content.length-1);break}if(v=32,p<m)v=u.charCodeAt(p);else for(x=r+1;x<e.length&&("softbreak"!==e[x].type&&"hardbreak"!==e[x].type);x++)if("text"===e[x].type){v=e[x].content.charCodeAt(0);break}if(y=s(g)||n(String.fromCharCode(g)),b=s(v)||n(String.fromCharCode(v)),k=a(g),(_=a(v))?w=!1:b&&(k||y||(w=!1)),k?$=!1:y&&(_||b||($=!1)),34===v&&'"'===d[0]&&g>=48&&g<=57&&($=w=!1),w&&$&&(w=!1,$=b),w||$){if($)for(x=S.length-1;x>=0&&(h=S[x],!(S[x].level<f));x--)if(h.single===E&&S[x].level===f){h=S[x],E?(P=t.md.options.quotes[2],C=t.md.options.quotes[3]):(P=t.md.options.quotes[0],C=t.md.options.quotes[1]),o.content=l(o.content,d.index,C),e[h.token].content=l(e[h.token].content,h.pos,P),p+=C.length-1,h.token===r&&(p+=P.length-1),m=(u=o.content).length,S.length=x;continue e}w?S.push({token:r,pos:d.index,single:E,level:f}):$&&E&&(o.content=l(o.content,d.index,c))}else E&&(o.content=l(o.content,d.index,c))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&o.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},function(e,t,r){"use strict";var a=r(23);function n(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}n.prototype.Token=a,e.exports=n},function(e,t,r){"use strict";var a=r(22),n=[["table",r(80),["paragraph","reference"]],["code",r(81)],["fence",r(82),["paragraph","reference","blockquote","list"]],["blockquote",r(83),["paragraph","reference","blockquote","list"]],["hr",r(84),["paragraph","reference","blockquote","list"]],["list",r(85),["paragraph","reference","blockquote"]],["reference",r(86)],["heading",r(87),["paragraph","reference","blockquote"]],["lheading",r(88)],["html_block",r(89),["paragraph","reference","blockquote"]],["paragraph",r(91)]];function s(){this.ruler=new a;for(var e=0;e<n.length;e++)this.ruler.push(n[e][0],n[e][1],{alt:(n[e][2]||[]).slice()})}s.prototype.tokenize=function(e,t,r){for(var a,n=this.ruler.getRules(""),s=n.length,o=t,i=!1,c=e.md.options.maxNesting;o<r&&(e.line=o=e.skipEmptyLines(o),!(o>=r))&&!(e.sCount[o]<e.blkIndent);){if(e.level>=c){e.line=r;break}for(a=0;a<s&&!n[a](e,o,r,!1);a++);e.tight=!i,e.isEmpty(e.line-1)&&(i=!0),(o=e.line)<r&&e.isEmpty(o)&&(i=!0,o++,e.line=o)}},s.prototype.parse=function(e,t,r,a){var n;e&&(n=new this.State(e,t,r,a),this.tokenize(n,n.line,n.lineMax))},s.prototype.State=r(92),e.exports=s},function(e,t,r){"use strict";var a=r(2).isSpace;function n(e,t){var r=e.bMarks[t]+e.blkIndent,a=e.eMarks[t];return e.src.substr(r,a-r)}function s(e){var t,r=[],a=0,n=e.length,s=0,o=0,i=!1,c=0;for(t=e.charCodeAt(a);a<n;)96===t?i?(i=!1,c=a):s%2==0&&(i=!0,c=a):124!==t||s%2!=0||i||(r.push(e.substring(o,a)),o=a+1),92===t?s++:s=0,++a===n&&i&&(i=!1,a=c+1),t=e.charCodeAt(a);return r.push(e.substring(o)),r}e.exports=function(e,t,r,o){var i,c,l,u,d,p,m,f,h,g,v,y;if(t+2>r)return!1;if(d=t+1,e.sCount[d]<e.blkIndent)return!1;if(e.sCount[d]-e.blkIndent>=4)return!1;if((l=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(i=e.src.charCodeAt(l++))&&45!==i&&58!==i)return!1;for(;l<e.eMarks[d];){if(124!==(i=e.src.charCodeAt(l))&&45!==i&&58!==i&&!a(i))return!1;l++}for(p=(c=n(e,t+1)).split("|"),h=[],u=0;u<p.length;u++){if(!(g=p[u].trim())){if(0===u||u===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?h.push(58===g.charCodeAt(0)?"center":"right"):58===g.charCodeAt(0)?h.push("left"):h.push("")}if(-1===(c=n(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((m=(p=s(c.replace(/^\||\|$/g,""))).length)>h.length)return!1;if(o)return!0;for((f=e.push("table_open","table",1)).map=v=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<p.length;u++)(f=e.push("th_open","th",1)).map=[t,t+1],h[u]&&(f.attrs=[["style","text-align:"+h[u]]]),(f=e.push("inline","",0)).content=p[u].trim(),f.map=[t,t+1],f.children=[],f=e.push("th_close","th",-1);for(f=e.push("tr_close","tr",-1),f=e.push("thead_close","thead",-1),(f=e.push("tbody_open","tbody",1)).map=y=[t+2,0],d=t+2;d<r&&!(e.sCount[d]<e.blkIndent)&&-1!==(c=n(e,d).trim()).indexOf("|")&&!(e.sCount[d]-e.blkIndent>=4);d++){for(p=s(c.replace(/^\||\|$/g,"")),f=e.push("tr_open","tr",1),u=0;u<m;u++)f=e.push("td_open","td",1),h[u]&&(f.attrs=[["style","text-align:"+h[u]]]),(f=e.push("inline","",0)).content=p[u]?p[u].trim():"",f.children=[],f=e.push("td_close","td",-1);f=e.push("tr_close","tr",-1)}return f=e.push("tbody_close","tbody",-1),f=e.push("table_close","table",-1),v[1]=y[1]=d,e.line=d,!0}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n,s;if(e.sCount[t]-e.blkIndent<4)return!1;for(n=a=t+1;a<r;)if(e.isEmpty(a))a++;else{if(!(e.sCount[a]-e.blkIndent>=4))break;n=++a}return e.line=n,(s=e.push("code_block","code",0)).content=e.getLines(t,n,4+e.blkIndent,!0),s.map=[t,e.line],!0}},function(e,t,r){"use strict";e.exports=function(e,t,r,a){var n,s,o,i,c,l,u,d=!1,p=e.bMarks[t]+e.tShift[t],m=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(p+3>m)return!1;if(126!==(n=e.src.charCodeAt(p))&&96!==n)return!1;if(c=p,(s=(p=e.skipChars(p,n))-c)<3)return!1;if(u=e.src.slice(c,p),(o=e.src.slice(p,m)).indexOf(String.fromCharCode(n))>=0)return!1;if(a)return!0;for(i=t;!(++i>=r)&&!((p=c=e.bMarks[i]+e.tShift[i])<(m=e.eMarks[i])&&e.sCount[i]<e.blkIndent);)if(e.src.charCodeAt(p)===n&&!(e.sCount[i]-e.blkIndent>=4||(p=e.skipChars(p,n))-c<s||(p=e.skipSpaces(p))<m)){d=!0;break}return s=e.sCount[t],e.line=i+(d?1:0),(l=e.push("fence","code",0)).info=o,l.content=e.getLines(t+1,i,s,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,r){"use strict";var a=r(2).isSpace;e.exports=function(e,t,r,n){var s,o,i,c,l,u,d,p,m,f,h,g,v,y,b,k,_,w,$,x,E=e.lineMax,S=e.bMarks[t]+e.tShift[t],P=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(n)return!0;for(c=m=e.sCount[t]+S-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(S)?(S++,c++,m++,s=!1,k=!0):9===e.src.charCodeAt(S)?(k=!0,(e.bsCount[t]+m)%4==3?(S++,c++,m++,s=!1):s=!0):k=!1,f=[e.bMarks[t]],e.bMarks[t]=S;S<P&&(o=e.src.charCodeAt(S),a(o));)9===o?m+=4-(m+e.bsCount[t]+(s?1:0))%4:m++,S++;for(h=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(k?1:0),u=S>=P,y=[e.sCount[t]],e.sCount[t]=m-c,b=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",x=!1,p=t+1;p<r&&(e.sCount[p]<e.blkIndent&&(x=!0),!((S=e.bMarks[p]+e.tShift[p])>=(P=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(S++)||x){if(u)break;for(_=!1,i=0,l=w.length;i<l;i++)if(w[i](e,p,r,!0)){_=!0;break}if(_){e.lineMax=p,0!==e.blkIndent&&(f.push(e.bMarks[p]),h.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}f.push(e.bMarks[p]),h.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]=-1}else{for(c=m=e.sCount[p]+S-(e.bMarks[p]+e.tShift[p]),32===e.src.charCodeAt(S)?(S++,c++,m++,s=!1,k=!0):9===e.src.charCodeAt(S)?(k=!0,(e.bsCount[p]+m)%4==3?(S++,c++,m++,s=!1):s=!0):k=!1,f.push(e.bMarks[p]),e.bMarks[p]=S;S<P&&(o=e.src.charCodeAt(S),a(o));)9===o?m+=4-(m+e.bsCount[p]+(s?1:0))%4:m++,S++;u=S>=P,h.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(k?1:0),y.push(e.sCount[p]),e.sCount[p]=m-c,b.push(e.tShift[p]),e.tShift[p]=S-e.bMarks[p]}for(g=e.blkIndent,e.blkIndent=0,($=e.push("blockquote_open","blockquote",1)).markup=">",$.map=d=[t,0],e.md.block.tokenize(e,t,p),($=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=v,d[1]=e.line,i=0;i<b.length;i++)e.bMarks[i+t]=f[i],e.tShift[i+t]=b[i],e.sCount[i+t]=y[i],e.bsCount[i+t]=h[i];return e.blkIndent=g,!0}},function(e,t,r){"use strict";var a=r(2).isSpace;e.exports=function(e,t,r,n){var s,o,i,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(s=e.src.charCodeAt(l++))&&45!==s&&95!==s)return!1;for(o=1;l<u;){if((i=e.src.charCodeAt(l++))!==s&&!a(i))return!1;i===s&&o++}return!(o<3)&&(!!n||(e.line=t+1,(c=e.push("hr","hr",0)).map=[t,e.line],c.markup=Array(o+1).join(String.fromCharCode(s)),!0))}},function(e,t,r){"use strict";var a=r(2).isSpace;function n(e,t){var r,n,s,o;return n=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],42!==(r=e.src.charCodeAt(n++))&&45!==r&&43!==r?-1:n<s&&(o=e.src.charCodeAt(n),!a(o))?-1:n}function s(e,t){var r,n=e.bMarks[t]+e.tShift[t],s=n,o=e.eMarks[t];if(s+1>=o)return-1;if((r=e.src.charCodeAt(s++))<48||r>57)return-1;for(;;){if(s>=o)return-1;if(!((r=e.src.charCodeAt(s++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(s-n>=10)return-1}return s<o&&(r=e.src.charCodeAt(s),!a(r))?-1:s}e.exports=function(e,t,r,a){var o,i,c,l,u,d,p,m,f,h,g,v,y,b,k,_,w,$,x,E,S,P,C,O,D,N,A,j,T=!1,I=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(a&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(T=!0),(C=s(e,t))>=0){if(p=!0,D=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(D,C-D-1)),T&&1!==y)return!1}else{if(!((C=n(e,t))>=0))return!1;p=!1}if(T&&e.skipSpaces(C)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(C-1),a)return!0;for(g=e.tokens.length,p?(j=e.push("ordered_list_open","ol",1),1!==y&&(j.attrs=[["start",y]])):j=e.push("bullet_list_open","ul",1),j.map=h=[t,0],j.markup=String.fromCharCode(v),k=t,O=!1,A=e.md.block.ruler.getRules("list"),x=e.parentType,e.parentType="list";k<r;){for(P=C,b=e.eMarks[k],d=_=e.sCount[k]+C-(e.bMarks[t]+e.tShift[t]);P<b;){if(9===(o=e.src.charCodeAt(P)))_+=4-(_+e.bsCount[k])%4;else{if(32!==o)break;_++}P++}if((u=(i=P)>=b?1:_-d)>4&&(u=1),l=d+u,(j=e.push("list_item_open","li",1)).markup=String.fromCharCode(v),j.map=m=[t,0],w=e.blkIndent,S=e.tight,E=e.tShift[t],$=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=i-e.bMarks[t],e.sCount[t]=_,i>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!O||(I=!1),O=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=w,e.tShift[t]=E,e.sCount[t]=$,e.tight=S,(j=e.push("list_item_close","li",-1)).markup=String.fromCharCode(v),k=t=e.line,m[1]=k,i=e.bMarks[t],k>=r)break;if(e.sCount[k]<e.blkIndent)break;for(N=!1,c=0,f=A.length;c<f;c++)if(A[c](e,k,r,!0)){N=!0;break}if(N)break;if(p){if((C=s(e,k))<0)break}else if((C=n(e,k))<0)break;if(v!==e.src.charCodeAt(C-1))break}return(j=p?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(v),h[1]=k,e.line=k,e.parentType=x,I&&function(e,t){var r,a,n=e.level+2;for(r=t+2,a=e.tokens.length-2;r<a;r++)e.tokens[r].level===n&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,g),!0}},function(e,t,r){"use strict";var a=r(2).normalizeReference,n=r(2).isSpace;e.exports=function(e,t,r,s){var o,i,c,l,u,d,p,m,f,h,g,v,y,b,k,_,w=0,$=e.bMarks[t]+e.tShift[t],x=e.eMarks[t],E=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt($))return!1;for(;++$<x;)if(93===e.src.charCodeAt($)&&92!==e.src.charCodeAt($-1)){if($+1===x)return!1;if(58!==e.src.charCodeAt($+1))return!1;break}for(l=e.lineMax,k=e.md.block.ruler.getRules("reference"),h=e.parentType,e.parentType="reference";E<l&&!e.isEmpty(E);E++)if(!(e.sCount[E]-e.blkIndent>3||e.sCount[E]<0)){for(b=!1,d=0,p=k.length;d<p;d++)if(k[d](e,E,l,!0)){b=!0;break}if(b)break}for(x=(y=e.getLines(t,E,e.blkIndent,!1).trim()).length,$=1;$<x;$++){if(91===(o=y.charCodeAt($)))return!1;if(93===o){f=$;break}10===o?w++:92===o&&++$<x&&10===y.charCodeAt($)&&w++}if(f<0||58!==y.charCodeAt(f+1))return!1;for($=f+2;$<x;$++)if(10===(o=y.charCodeAt($)))w++;else if(!n(o))break;if(!(g=e.md.helpers.parseLinkDestination(y,$,x)).ok)return!1;if(u=e.md.normalizeLink(g.str),!e.md.validateLink(u))return!1;for(i=$=g.pos,c=w+=g.lines,v=$;$<x;$++)if(10===(o=y.charCodeAt($)))w++;else if(!n(o))break;for(g=e.md.helpers.parseLinkTitle(y,$,x),$<x&&v!==$&&g.ok?(_=g.str,$=g.pos,w+=g.lines):(_="",$=i,w=c);$<x&&(o=y.charCodeAt($),n(o));)$++;if($<x&&10!==y.charCodeAt($)&&_)for(_="",$=i,w=c;$<x&&(o=y.charCodeAt($),n(o));)$++;return!($<x&&10!==y.charCodeAt($))&&(!!(m=a(y.slice(1,f)))&&(!!s||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[m]&&(e.env.references[m]={title:_,href:u}),e.parentType=h,e.line=t+w+1,!0)))}},function(e,t,r){"use strict";var a=r(2).isSpace;e.exports=function(e,t,r,n){var s,o,i,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(s=e.src.charCodeAt(l))||l>=u)return!1;for(o=1,s=e.src.charCodeAt(++l);35===s&&l<u&&o<=6;)o++,s=e.src.charCodeAt(++l);return!(o>6||l<u&&!a(s))&&(!!n||(u=e.skipSpacesBack(u,l),(i=e.skipCharsBack(u,35,l))>l&&a(e.src.charCodeAt(i-1))&&(u=i),e.line=t+1,(c=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),c.map=[t,e.line],(c=e.push("inline","",0)).content=e.src.slice(l,u).trim(),c.map=[t,e.line],c.children=[],(c=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o),!0))}},function(e,t,r){"use strict";e.exports=function(e,t,r){var a,n,s,o,i,c,l,u,d,p,m=t+1,f=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType="paragraph";m<r&&!e.isEmpty(m);m++)if(!(e.sCount[m]-e.blkIndent>3)){if(e.sCount[m]>=e.blkIndent&&(c=e.bMarks[m]+e.tShift[m])<(l=e.eMarks[m])&&(45===(d=e.src.charCodeAt(c))||61===d)&&(c=e.skipChars(c,d),(c=e.skipSpaces(c))>=l)){u=61===d?1:2;break}if(!(e.sCount[m]<0)){for(n=!1,s=0,o=f.length;s<o;s++)if(f[s](e,m,r,!0)){n=!0;break}if(n)break}}return!!u&&(a=e.getLines(t,m,e.blkIndent,!1).trim(),e.line=m+1,(i=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(d),i.map=[t,e.line],(i=e.push("inline","",0)).content=a,i.map=[t,e.line-1],i.children=[],(i=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(d),e.parentType=p,!0)}},function(e,t,r){"use strict";var a=r(90),n=r(32).HTML_OPEN_CLOSE_TAG_RE,s=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+a.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(n.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,a){var n,o,i,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),n=0;n<s.length&&!s[n][0].test(c);n++);if(n===s.length)return!1;if(a)return s[n][2];if(o=t+1,!s[n][1].test(c))for(;o<r&&!(e.sCount[o]<e.blkIndent);o++)if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],c=e.src.slice(l,u),s[n][1].test(c)){0!==c.length&&o++;break}return e.line=o,(i=e.push("html_block","",0)).map=[t,o],i.content=e.getLines(t,o,e.blkIndent,!0),!0}},function(e,t,r){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,r){"use strict";e.exports=function(e,t){var r,a,n,s,o,i,c=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(i=e.parentType,e.parentType="paragraph";c<u&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3||e.sCount[c]<0)){for(a=!1,n=0,s=l.length;n<s;n++)if(l[n](e,c,u,!0)){a=!0;break}if(a)break}return r=e.getLines(t,c,e.blkIndent,!1).trim(),e.line=c,(o=e.push("paragraph_open","p",1)).map=[t,e.line],(o=e.push("inline","",0)).content=r,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=i,!0}},function(e,t,r){"use strict";var a=r(23),n=r(2).isSpace;function s(e,t,r,a){var s,o,i,c,l,u,d,p;for(this.src=e,this.md=t,this.env=r,this.tokens=a,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",p=!1,i=c=u=d=0,l=(o=this.src).length;c<l;c++){if(s=o.charCodeAt(c),!p){if(n(s)){u++,9===s?d+=4-d%4:d++;continue}p=!0}10!==s&&c!==l-1||(10!==s&&c++,this.bMarks.push(i),this.eMarks.push(c),this.tShift.push(u),this.sCount.push(d),this.bsCount.push(0),p=!1,u=0,d=0,i=c+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}s.prototype.push=function(e,t,r){var n=new a(e,t,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n},s.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},s.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},s.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),n(t));e++);return e},s.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!n(this.src.charCodeAt(--e)))return e+1;return e},s.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},s.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1;return e},s.prototype.getLines=function(e,t,r,a){var s,o,i,c,l,u,d,p=e;if(e>=t)return"";for(u=new Array(t-e),s=0;p<t;p++,s++){for(o=0,d=c=this.bMarks[p],l=p+1<t||a?this.eMarks[p]+1:this.eMarks[p];c<l&&o<r;){if(i=this.src.charCodeAt(c),n(i))9===i?o+=4-(o+this.bsCount[p])%4:o++;else{if(!(c-d<this.tShift[p]))break;o++}c++}u[s]=o>r?new Array(o-r+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return u.join("")},s.prototype.Token=a,e.exports=s},function(e,t,r){"use strict";var a=r(22),n=[["text",r(94)],["newline",r(95)],["escape",r(96)],["backticks",r(97)],["strikethrough",r(33).tokenize],["emphasis",r(34).tokenize],["link",r(98)],["image",r(99)],["autolink",r(100)],["html_inline",r(101)],["entity",r(102)]],s=[["balance_pairs",r(103)],["strikethrough",r(33).postProcess],["emphasis",r(34).postProcess],["text_collapse",r(104)]];function o(){var e;for(this.ruler=new a,e=0;e<n.length;e++)this.ruler.push(n[e][0],n[e][1]);for(this.ruler2=new a,e=0;e<s.length;e++)this.ruler2.push(s[e][0],s[e][1])}o.prototype.skipToken=function(e){var t,r,a=e.pos,n=this.ruler.getRules(""),s=n.length,o=e.md.options.maxNesting,i=e.cache;if(void 0===i[a]){if(e.level<o)for(r=0;r<s&&(e.level++,t=n[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,i[a]=e.pos}else e.pos=i[a]},o.prototype.tokenize=function(e){for(var t,r,a=this.ruler.getRules(""),n=a.length,s=e.posMax,o=e.md.options.maxNesting;e.pos<s;){if(e.level<o)for(r=0;r<n&&!(t=a[r](e,!1));r++);if(t){if(e.pos>=s)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,r,a){var n,s,o,i=new this.State(e,t,r,a);for(this.tokenize(i),o=(s=this.ruler2.getRules("")).length,n=0;n<o;n++)s[n](i)},o.prototype.State=r(105),e.exports=o},function(e,t,r){"use strict";function a(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var r=e.pos;r<e.posMax&&!a(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},function(e,t,r){"use strict";var a=r(2).isSpace;e.exports=function(e,t){var r,n,s=e.pos;if(10!==e.src.charCodeAt(s))return!1;for(r=e.pending.length-1,n=e.posMax,t||(r>=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),s++;s<n&&a(e.src.charCodeAt(s));)s++;return e.pos=s,!0}},function(e,t,r){"use strict";for(var a=r(2).isSpace,n=[],s=0;s<256;s++)n.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){n[e.charCodeAt(0)]=1})),e.exports=function(e,t){var r,s=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(s))return!1;if(++s<o){if((r=e.src.charCodeAt(s))<256&&0!==n[r])return t||(e.pending+=e.src[s]),e.pos+=2,!0;if(10===r){for(t||e.push("hardbreak","br",0),s++;s<o&&(r=e.src.charCodeAt(s),a(r));)s++;return e.pos=s,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e,t){var r,a,n,s,o,i,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(r=c,c++,a=e.posMax;c<a&&96===e.src.charCodeAt(c);)c++;for(n=e.src.slice(r,c),s=o=c;-1!==(s=e.src.indexOf("`",o));){for(o=s+1;o<a&&96===e.src.charCodeAt(o);)o++;if(o-s===n.length)return t||((i=e.push("code_inline","code",0)).markup=n,i.content=e.src.slice(c,s).replace(/[ \n]+/g," ").trim()),e.pos=o,!0}return t||(e.pending+=n),e.pos+=n.length,!0}},function(e,t,r){"use strict";var a=r(2).normalizeReference,n=r(2).isSpace;e.exports=function(e,t){var r,s,o,i,c,l,u,d,p,m="",f=e.pos,h=e.posMax,g=e.pos,v=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(c=e.pos+1,(i=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=i+1)<h&&40===e.src.charCodeAt(l)){for(v=!1,l++;l<h&&(s=e.src.charCodeAt(l),n(s)||10===s);l++);if(l>=h)return!1;for(g=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(m=e.md.normalizeLink(u.str),e.md.validateLink(m)?l=u.pos:m=""),g=l;l<h&&(s=e.src.charCodeAt(l),n(s)||10===s);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<h&&g!==l&&u.ok)for(p=u.str,l=u.pos;l<h&&(s=e.src.charCodeAt(l),n(s)||10===s);l++);else p="";(l>=h||41!==e.src.charCodeAt(l))&&(v=!0),l++}if(v){if(void 0===e.env.references)return!1;if(l<h&&91===e.src.charCodeAt(l)?(g=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(g,l++):l=i+1):l=i+1,o||(o=e.src.slice(c,i)),!(d=e.env.references[a(o)]))return e.pos=f,!1;m=d.href,p=d.title}return t||(e.pos=c,e.posMax=i,e.push("link_open","a",1).attrs=r=[["href",m]],p&&r.push(["title",p]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=h,!0}},function(e,t,r){"use strict";var a=r(2).normalizeReference,n=r(2).isSpace;e.exports=function(e,t){var r,s,o,i,c,l,u,d,p,m,f,h,g,v="",y=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=c+1)<b&&40===e.src.charCodeAt(u)){for(u++;u<b&&(s=e.src.charCodeAt(u),n(s)||10===s);u++);if(u>=b)return!1;for(g=u,(p=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(v=e.md.normalizeLink(p.str),e.md.validateLink(v)?u=p.pos:v=""),g=u;u<b&&(s=e.src.charCodeAt(u),n(s)||10===s);u++);if(p=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<b&&g!==u&&p.ok)for(m=p.str,u=p.pos;u<b&&(s=e.src.charCodeAt(u),n(s)||10===s);u++);else m="";if(u>=b||41!==e.src.charCodeAt(u))return e.pos=y,!1;u++}else{if(void 0===e.env.references)return!1;if(u<b&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?i=e.src.slice(g,u++):u=c+1):u=c+1,i||(i=e.src.slice(l,c)),!(d=e.env.references[a(i)]))return e.pos=y,!1;v=d.href,m=d.title}return t||(o=e.src.slice(l,c),e.md.inline.parse(o,e.md,e.env,h=[]),(f=e.push("image","img",0)).attrs=r=[["src",v],["alt",""]],f.children=h,f.content=o,m&&r.push(["title",m])),e.pos=u,e.posMax=b,!0}},function(e,t,r){"use strict";var a=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,n=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var r,s,o,i,c,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((r=e.src.slice(u)).indexOf(">")<0)&&(n.test(r)?(i=(s=r.match(n))[0].slice(1,-1),c=e.md.normalizeLink(i),!!e.md.validateLink(c)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",c]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(i),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=s[0].length,!0)):!!a.test(r)&&(i=(o=r.match(a))[0].slice(1,-1),c=e.md.normalizeLink("mailto:"+i),!!e.md.validateLink(c)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",c]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(i),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=o[0].length,!0))))}},function(e,t,r){"use strict";var a=r(32).HTML_TAG_RE;e.exports=function(e,t){var r,n,s,o=e.pos;return!!e.md.options.html&&(s=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=s)&&(!(33!==(r=e.src.charCodeAt(o+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(n=e.src.slice(o).match(a))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+n[0].length)),e.pos+=n[0].length,!0))))}},function(e,t,r){"use strict";var a=r(27),n=r(2).has,s=r(2).isValidEntityCode,o=r(2).fromCodePoint,i=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,c=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var r,l,u=e.pos,d=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<d)if(35===e.src.charCodeAt(u+1)){if(l=e.src.slice(u).match(i))return t||(r="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=s(r)?o(r):o(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(c))&&n(a,l[1]))return t||(e.pending+=a[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,r){"use strict";e.exports=function(e){var t,r,a,n,s=e.delimiters,o=e.delimiters.length;for(t=0;t<o;t++)if((a=s[t]).close)for(r=t-a.jump-1;r>=0;){if((n=s[r]).open&&n.marker===a.marker&&n.end<0&&n.level===a.level)if(!((n.close||a.open)&&void 0!==n.length&&void 0!==a.length&&(n.length+a.length)%3==0)){a.jump=t-r,a.open=!1,n.end=t,n.jump=0;break}r-=n.jump+1}}},function(e,t,r){"use strict";e.exports=function(e){var t,r,a=0,n=e.tokens,s=e.tokens.length;for(t=r=0;t<s;t++)a+=n[t].nesting,n[t].level=a,"text"===n[t].type&&t+1<s&&"text"===n[t+1].type?n[t+1].content=n[t].content+n[t+1].content:(t!==r&&(n[r]=n[t]),r++);t!==r&&(n.length=r)}},function(e,t,r){"use strict";var a=r(23),n=r(2).isWhiteSpace,s=r(2).isPunctChar,o=r(2).isMdAsciiPunct;function i(e,t,r,a){this.src=e,this.env=r,this.md=t,this.tokens=a,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}i.prototype.pushPending=function(){var e=new a("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},i.prototype.push=function(e,t,r){this.pending&&this.pushPending();var n=new a(e,t,r);return r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(n),n},i.prototype.scanDelims=function(e,t){var r,a,i,c,l,u,d,p,m,f=e,h=!0,g=!0,v=this.posMax,y=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;f<v&&this.src.charCodeAt(f)===y;)f++;return i=f-e,a=f<v?this.src.charCodeAt(f):32,d=o(r)||s(String.fromCharCode(r)),m=o(a)||s(String.fromCharCode(a)),u=n(r),(p=n(a))?h=!1:m&&(u||d||(h=!1)),u?g=!1:d&&(p||m||(g=!1)),t?(c=h,l=g):(c=h&&(!g||d),l=g&&(!h||m)),{can_open:c,can_close:l,length:i}},i.prototype.Token=a,e.exports=i},function(e,t,r){"use strict";function a(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function n(e){return Object.prototype.toString.call(e)}function s(e){return"[object Function]"===n(e)}function o(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var i={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var c={"http:":{validate:function(e,t,r){var a=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(a)?a.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var a=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(a)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:a.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var a=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(a)?a.match(r.re.mailto)[0].length:0}}},l="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function d(e){var t=e.re=r(107)(e.__opts__),a=e.__tlds__.slice();function i(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||a.push(l),a.push(t.src_xn),t.src_tlds=a.join("|"),t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");var c=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var a={validate:null,link:null};if(e.__compiled__[t]=a,"[object Object]"===n(r))return!function(e){return"[object RegExp]"===n(e)}(r.validate)?s(r.validate)?a.validate=r.validate:u(t,r):a.validate=function(e){return function(t,r){var a=t.slice(r);return e.test(a)?a.match(e)[0].length:0}}(r.validate),void(s(r.normalize)?a.normalize=r.normalize:r.normalize?u(t,r):a.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===n(e)}(r)?u(t,r):c.push(t)}})),c.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var d=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+d+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+d+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var r=e.__index__,a=e.__last_index__,n=e.__text_cache__.slice(r,a);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=a+t,this.raw=n,this.text=n,this.url=n}function m(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function f(e,t){if(!(this instanceof f))return new f(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||i.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=a({},i,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=a({},c,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},d(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,d(this),this},f.prototype.set=function(e){return this.__opts__=a(this.__opts__,e),this},f.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,a,n,s,o,i,c;if(this.re.schema_test.test(e))for((i=this.re.schema_search).lastIndex=0;null!==(t=i.exec(e));)if(n=this.testSchemaAt(e,t[2],i.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(s=r.index+r[1].length,(this.__index__<0||s<this.__index__)&&(this.__schema__="",this.__index__=s,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(a=e.match(this.re.email_fuzzy))&&(s=a.index+a[1].length,o=a.index+a[0].length,(this.__index__<0||s<this.__index__||s===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=o)),this.__index__>=0},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},f.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(m(this,t)),t=this.__last_index__);for(var a=t?e.slice(t):e;this.test(a);)r.push(m(this,t)),a=a.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},f.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),d(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,d(this),this)},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},e.exports=f},function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(29).source,t.src_Cc=r(30).source,t.src_Z=r(31).source,t.src_P=r(21).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,r){(function(e,a){var n;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(s){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof a&&a;o.global!==o&&o.window!==o&&o.self;var i,c=2147483647,l=36,u=1,d=26,p=38,m=700,f=72,h=128,g="-",v=/^xn--/,y=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=l-u,w=Math.floor,$=String.fromCharCode;function x(e){throw new RangeError(k[e])}function E(e,t){for(var r=e.length,a=[];r--;)a[r]=t(e[r]);return a}function S(e,t){var r=e.split("@"),a="";return r.length>1&&(a=r[0]+"@",e=r[1]),a+E((e=e.replace(b,".")).split("."),t).join(".")}function P(e){for(var t,r,a=[],n=0,s=e.length;n<s;)(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<s?56320==(64512&(r=e.charCodeAt(n++)))?a.push(((1023&t)<<10)+(1023&r)+65536):(a.push(t),n--):a.push(t);return a}function C(e){return E(e,(function(e){var t="";return e>65535&&(t+=$((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=$(e)})).join("")}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function D(e,t,r){var a=0;for(e=r?w(e/m):e>>1,e+=w(e/t);e>_*d>>1;a+=l)e=w(e/_);return w(a+(_+1)*e/(e+p))}function N(e){var t,r,a,n,s,o,i,p,m,v,y,b=[],k=e.length,_=0,$=h,E=f;for((r=e.lastIndexOf(g))<0&&(r=0),a=0;a<r;++a)e.charCodeAt(a)>=128&&x("not-basic"),b.push(e.charCodeAt(a));for(n=r>0?r+1:0;n<k;){for(s=_,o=1,i=l;n>=k&&x("invalid-input"),((p=(y=e.charCodeAt(n++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:l)>=l||p>w((c-_)/o))&&x("overflow"),_+=p*o,!(p<(m=i<=E?u:i>=E+d?d:i-E));i+=l)o>w(c/(v=l-m))&&x("overflow"),o*=v;E=D(_-s,t=b.length+1,0==s),w(_/t)>c-$&&x("overflow"),$+=w(_/t),_%=t,b.splice(_++,0,$)}return C(b)}function A(e){var t,r,a,n,s,o,i,p,m,v,y,b,k,_,E,S=[];for(b=(e=P(e)).length,t=h,r=0,s=f,o=0;o<b;++o)(y=e[o])<128&&S.push($(y));for(a=n=S.length,n&&S.push(g);a<b;){for(i=c,o=0;o<b;++o)(y=e[o])>=t&&y<i&&(i=y);for(i-t>w((c-r)/(k=a+1))&&x("overflow"),r+=(i-t)*k,t=i,o=0;o<b;++o)if((y=e[o])<t&&++r>c&&x("overflow"),y==t){for(p=r,m=l;!(p<(v=m<=s?u:m>=s+d?d:m-s));m+=l)E=p-v,_=l-v,S.push($(O(v+E%_,0))),p=w(E/_);S.push($(O(p,0))),s=D(r,k,a==n),r=0,++a}++r,++t}return S.join("")}i={version:"1.4.1",ucs2:{decode:P,encode:C},decode:N,encode:A,toASCII:function(e){return S(e,(function(e){return y.test(e)?"xn--"+A(e):e}))},toUnicode:function(e){return S(e,(function(e){return v.test(e)?N(e.slice(4).toLowerCase()):e}))}},void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()}).call(this,r(109)(e),r(26))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,r){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,r){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const a=r(114),n=r(121),s=r(154),o=r(156),i=["/properties"],c="http://json-schema.org/draft-07/schema";class l extends a.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(s.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(o,i):o;this.addMetaSchema(e,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var u=r(9);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var d=r(1);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var a=r(9);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return a.KeywordCxt}});var n=r(1);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return n.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return n.CodeGen}});const s=r(38),o=r(39),i=r(36),c=r(40),l=r(1),u=r(13),d=r(12),p=r(3),m=r(120),f=["removeAdditional","useDefaults","coerceTypes"],h=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),g={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},v={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},y=200;function b(e){var t,r,a,n,s,o,i,c,l,u,d,p,m,f,h,g,v,b,k,_,w,$;const x=e.strict,E=null===(t=e.code)||void 0===t?void 0:t.optimize,S=!0===E||void 0===E?1:E||0;return{strictSchema:null===(a=null!==(r=e.strictSchema)&&void 0!==r?r:x)||void 0===a||a,strictNumbers:null===(s=null!==(n=e.strictNumbers)&&void 0!==n?n:x)||void 0===s||s,strictTypes:null!==(i=null!==(o=e.strictTypes)&&void 0!==o?o:x)&&void 0!==i?i:"log",strictTuples:null!==(l=null!==(c=e.strictTuples)&&void 0!==c?c:x)&&void 0!==l?l:"log",strictRequired:null!==(d=null!==(u=e.strictRequired)&&void 0!==u?u:x)&&void 0!==d&&d,code:e.code?{...e.code,optimize:S}:{optimize:S},loopRequired:null!==(p=e.loopRequired)&&void 0!==p?p:y,loopEnum:null!==(m=e.loopEnum)&&void 0!==m?m:y,meta:null===(f=e.meta)||void 0===f||f,messages:null===(h=e.messages)||void 0===h||h,inlineRefs:null===(g=e.inlineRefs)||void 0===g||g,schemaId:null!==(v=e.schemaId)&&void 0!==v?v:"$id",addUsedSchema:null===(b=e.addUsedSchema)||void 0===b||b,validateSchema:null===(k=e.validateSchema)||void 0===k||k,validateFormats:null===(_=e.validateFormats)||void 0===_||_,unicodeRegExp:null===(w=e.unicodeRegExp)||void 0===w||w,int32range:null===($=e.int32range)||void 0===$||$}}class k{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...b(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new l.ValueScope({scope:{},prefixes:h,es5:t,lines:r}),this.logger=function(e){if(!1===e)return P;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const a=e.validateFormats;e.validateFormats=!1,this.RULES=(0,i.getRules)(),_.call(this,g,e,"NOT SUPPORTED"),_.call(this,v,e,"DEPRECATED","warn"),this._metaOpts=S.call(this),e.formats&&x.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&E.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),$.call(this),e.validateFormats=a}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:r}=this.opts;let a=m;"id"===r&&(a={...m},a.id=a.$id,delete a.$id),t&&e&&this.addMetaSchema(a,a[r],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let r;if("string"==typeof e){if(r=this.getSchema(e),!r)throw new Error(`no schema with key or ref "${e}"`)}else r=this.compile(e);const a=r(t);return"$async"in r||(this.errors=r.errors),a}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:r}=this.opts;return a.call(this,e,t);async function a(e,t){await n.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||s.call(this,r)}async function n(e){e&&!this.getSchema(e)&&await a.call(this,{$ref:e},!0)}async function s(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof o.default))throw t;return i.call(this,t),await c.call(this,t.missingSchema),s.call(this,e)}}function i({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function c(e){const r=await l.call(this,e);this.refs[e]||await n.call(this,r.$schema),this.refs[e]||this.addSchema(r,e,t)}async function l(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=r(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,a=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,r,a);return this}let n;if("object"==typeof e){const{schemaId:t}=this.opts;if(n=e[t],void 0!==n&&"string"!=typeof n)throw new Error(`schema ${t} must be string`)}return t=(0,u.normalizeId)(t||n),this._checkUnique(t),this.schemas[t]=this._addSchema(e,r,t,a,!0),this}addMetaSchema(e,t,r=this.opts.validateSchema){return this.addSchema(e,t,!0,r),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let r;if(r=e.$schema,void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(r=r||this.opts.defaultMeta||this.defaultMeta(),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const a=this.validate(r,e);if(!a&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return a}getSchema(e){let t;for(;"string"==typeof(t=w.call(this,e));)e=t;if(void 0===t){const{schemaId:r}=this.opts,a=new c.SchemaEnv({schema:{},schemaId:r});if(t=c.resolveSchema.call(this,a,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=w.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let r=e[this.opts.schemaId];return r&&(r=(0,u.normalizeId)(r),delete this.schemas[r],delete this.refs[r]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if("string"==typeof e)r=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=r);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(r=(t=e).keyword,Array.isArray(r)&&!r.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(O.call(this,r,t),!t)return(0,p.eachItem)(r,e=>D.call(this,e)),this;A.call(this,t);const a={...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)};return(0,p.eachItem)(r,0===a.type.length?e=>D.call(this,e,a):e=>a.type.forEach(t=>D.call(this,e,a,t))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex(t=>t.keyword===e);t>=0&&r.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){return e&&0!==e.length?e.map(e=>`${r}${e.instancePath} ${e.message}`).reduce((e,r)=>e+t+r):"No errors"}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const a of t){const t=a.split("/").slice(1);let n=e;for(const e of t)n=n[e];for(const e in r){const t=r[e];if("object"!=typeof t)continue;const{$data:a}=t.definition,s=n[e];a&&s&&(n[e]=T(s))}}return e}_removeAllSchemas(e,t){for(const r in e){const a=e[r];t&&!t.test(r)||("string"==typeof a?delete e[r]:a&&!a.meta&&(this._cache.delete(a.schema),delete e[r]))}}_addSchema(e,t,r,a=this.opts.validateSchema,n=this.opts.addUsedSchema){let s;const{schemaId:o}=this.opts;if("object"==typeof e)s=e[o];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let i=this._cache.get(e);if(void 0!==i)return i;r=(0,u.normalizeId)(s||r);const l=u.getSchemaRefs.call(this,e,r);return i=new c.SchemaEnv({schema:e,schemaId:o,meta:t,baseId:r,localRefs:l}),this._cache.set(i.schema,i),n&&!r.startsWith("#")&&(r&&this._checkUnique(r),this.refs[r]=i),a&&this.validateSchema(e,!0),i}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):c.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{c.compileSchema.call(this,e)}finally{this.opts=t}}}function _(e,t,r,a="error"){for(const n in e){const s=n;s in t&&this.logger[a](`${r}: option ${n}. ${e[s]}`)}}function w(e){return e=(0,u.normalizeId)(e),this.schemas[e]||this.refs[e]}function $(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function x(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function E(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];r.keyword||(r.keyword=t),this.addKeyword(r)}}}function S(){const e={...this.opts};for(const t of f)delete e[t];return e}t.default=k,k.ValidationError=s.default,k.MissingRefError=o.default;const P={log(){},warn(){},error(){}};const C=/^[a-z_$][a-z0-9_$:-]*$/i;function O(e,t){const{RULES:r}=this;if((0,p.eachItem)(e,e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!C.test(e))throw new Error(`Keyword ${e} has invalid name`)}),t&&t.$data&&!("code"in t||"validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function D(e,t,r){var a;const n=null==t?void 0:t.post;if(r&&n)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:s}=this;let o=n?s.post:s.rules.find(({type:e})=>e===r);if(o||(o={type:r,rules:[]},s.rules.push(o)),s.keywords[e]=!0,!t)return;const i={keyword:e,definition:{...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)}};t.before?N.call(this,o,i,t.before):o.rules.push(i),s.all[e]=i,null===(a=t.implements)||void 0===a||a.forEach(e=>this.addKeyword(e))}function N(e,t,r){const a=e.rules.findIndex(e=>e.keyword===r);a>=0?e.rules.splice(a,0,t):(e.rules.push(t),this.logger.warn(`rule ${r} is not defined`))}function A(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=T(t)),e.validateSchema=this.compile(t,!0))}const j={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function T(e){return{anyOf:[e,j]}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const a=r(10),n=r(1),s=r(7),o={message:"boolean schema is false"};function i(e,t){const{gen:r,data:n}=e,s={gen:r,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,a.reportError)(s,o,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:r,validateName:a}=e;!1===r?i(e,!1):"object"==typeof r&&!0===r.$async?t.return(s.default.data):(t.assign(n._`${a}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:r,schema:a}=e;!1===a?(r.var(t,!1),i(e)):r.var(t,!0)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const a=r(1),n=r(3);function s(e,t,r){const{gen:s,compositeRule:o,data:i,opts:c}=e;if(void 0===r)return;const l=a._`${i}${(0,a.getProperty)(t)}`;if(o)return void(0,n.checkStrictMode)(e,`default is ignored for: ${l}`);let u=a._`${l} === undefined`;"empty"===c.useDefaults&&(u=a._`${u} || ${l} === null || ${l} === ""`),s.if(u,a._`${l} = ${(0,a.stringify)(r)}`)}t.assignDefaults=function(e,t){const{properties:r,items:a}=e.schema;if("object"===t&&r)for(const t in r)s(e,t,r[t].default);else"array"===t&&Array.isArray(a)&&a.forEach((t,r)=>s(e,r,t.default))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const a=r(1),n=r(7),s=r(5),o=r(10);function i(e){const{gen:t,data:r,it:n}=e;t.if(n.parentData,()=>t.assign(r,a._`${n.parentData}[${n.parentDataProperty}]`))}function c(e,t,r){if(void 0===r)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof r?{ref:r}:{ref:r,code:(0,a.stringify)(r)})}t.macroKeywordCode=function(e,t){const{gen:r,keyword:n,schema:s,parentSchema:o,it:i}=e,l=t.macro.call(i.self,s,o,i),u=c(r,n,l);!1!==i.opts.validateSchema&&i.self.validateSchema(l,!0);const d=r.name("valid");e.subschema({schema:l,schemaPath:a.nil,errSchemaPath:`${i.errSchemaPath}/${n}`,topSchemaRef:u,compositeRule:!0},d),e.pass(d,()=>e.error(!0))},t.funcKeywordCode=function(e,t){var r;const{gen:l,keyword:u,schema:d,parentSchema:p,$data:m,it:f}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(f,t);const h=!m&&t.compile?t.compile.call(f.self,d,p,f):t.validate,g=c(l,u,h),v=l.let("valid");function y(r=(t.async?a._`await `:a.nil)){const o=f.opts.passContext?n.default.this:n.default.self,i=!("compile"in t&&!m||!1===t.schema);l.assign(v,a._`${r}${(0,s.callValidateCode)(e,g,o,i)}`,t.modifying)}function b(e){var r;l.if((0,a.not)(null!==(r=t.valid)&&void 0!==r?r:v),e)}e.block$data(v,(function(){if(!1===t.errors)y(),t.modifying&&i(e),b(()=>e.error());else{const r=t.async?function(){const e=l.let("ruleErrs",null);return l.try(()=>y(a._`await `),t=>l.assign(v,!1).if(a._`${t} instanceof ${f.ValidationError}`,()=>l.assign(e,a._`${t}.errors`),()=>l.throw(t))),e}():function(){const e=a._`${g}.errors`;return l.assign(e,null),y(a.nil),e}();t.modifying&&i(e),b(()=>(function(e,t){const{gen:r}=e;r.if(a._`Array.isArray(${t})`,()=>{r.assign(n.default.vErrors,a._`${n.default.vErrors} === null ? ${t} : ${n.default.vErrors}.concat(${t})`).assign(n.default.errors,a._`${n.default.vErrors}.length`),(0,o.extendErrors)(e)},()=>e.error())})(e,r))}})),e.ok(null!==(r=t.valid)&&void 0!==r?r:v)},t.validSchemaType=function(e,t,r=!1){return!t.length||t.some(t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||r&&void 0===e)},t.validateKeywordUsage=function({schema:e,opts:t,self:r,errSchemaPath:a},n,s){if(Array.isArray(n.keyword)?!n.keyword.includes(s):n.keyword!==s)throw new Error("ajv implementation error");const o=n.dependencies;if(null==o?void 0:o.some(t=>!Object.prototype.hasOwnProperty.call(e,t)))throw new Error(`parent schema must have dependencies of ${s}: ${o.join(",")}`);if(n.validateSchema){if(!n.validateSchema(e[s])){const e=`keyword "${s}" value is invalid at path "${a}": `+r.errorsText(n.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);r.logger.error(e)}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const a=r(1),n=r(3);t.getSubschema=function(e,{keyword:t,schemaProp:r,schema:s,schemaPath:o,errSchemaPath:i,topSchemaRef:c}){if(void 0!==t&&void 0!==s)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const s=e.schema[t];return void 0===r?{schema:s,schemaPath:a._`${e.schemaPath}${(0,a.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:a._`${e.schemaPath}${(0,a.getProperty)(t)}${(0,a.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,n.escapeFragment)(r)}`}}if(void 0!==s){if(void 0===o||void 0===i||void 0===c)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:s,schemaPath:o,topSchemaRef:c,errSchemaPath:i}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:r,dataPropType:s,data:o,dataTypes:i,propertyName:c}){if(void 0!==o&&void 0!==r)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:l}=t;if(void 0!==r){const{errorPath:o,dataPathArr:i,opts:c}=t;u(l.let("data",a._`${t.data}${(0,a.getProperty)(r)}`,!0)),e.errorPath=a.str`${o}${(0,n.getErrorPath)(r,s,c.jsPropertySyntax)}`,e.parentDataProperty=a._`${r}`,e.dataPathArr=[...i,e.parentDataProperty]}if(void 0!==o){u(o instanceof a.Name?o:l.let("data",o,!0)),void 0!==c&&(e.propertyName=c)}function u(r){e.data=r,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,r]}i&&(e.dataTypes=i)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:a,createErrors:n,allErrors:s}){void 0!==a&&(e.compositeRule=a),void 0!==n&&(e.createErrors=n),void 0!==s&&(e.allErrors=s),e.jtdDiscriminator=t,e.jtdMetadata=r}},function(e,t,r){"use strict";var a=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),function e(t,r,n,s,o,i,c,l,u,d){if(s&&"object"==typeof s&&!Array.isArray(s)){for(var p in r(s,o,i,c,l,u,d),s){var m=s[p];if(Array.isArray(m)){if(p in a.arrayKeywords)for(var f=0;f<m.length;f++)e(t,r,n,m[f],o+"/"+p+"/"+f,i,o,p,s,f)}else if(p in a.propsKeywords){if(m&&"object"==typeof m)for(var h in m)e(t,r,n,m[h],o+"/"+p+"/"+h.replace(/~/g,"~0").replace(/\//g,"~1"),i,o,p,s,h)}else(p in a.keywords||t.allKeys&&!(p in a.skipKeywords))&&e(t,r,n,m,o+"/"+p,i,o,p,s)}n(s,o,i,c,l,u,d)}}(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};a.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},a.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},a.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},a.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},function(e){e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(122),n=r(125),s=r(137),o=r(151),i=r(153),c=[a.default,n.default,(0,s.default)(),o.default,i.metadataVocabulary,i.contentVocabulary];t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(123),n=r(124),s=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",a.default,n.default];t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const a=r(39),n=r(5),s=r(1),o=r(7),i=r(40),c=r(3),l={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:n}=e,{baseId:o,schemaEnv:c,validateName:l,opts:p,self:m}=n,{root:f}=c;if(("#"===r||"#/"===r)&&o===f.baseId)return function(){if(c===f)return d(e,l,c,c.$async);const r=t.scopeValue("root",{ref:f});return d(e,s._`${r}.validate`,f,f.$async)}();const h=i.resolveRef.call(m,f,o,r);if(void 0===h)throw new a.default(o,r);return h instanceof i.SchemaEnv?function(t){const r=u(e,t);d(e,r,t,t.$async)}(h):function(a){const n=t.scopeValue("schema",!0===p.code.source?{ref:a,code:(0,s.stringify)(a)}:{ref:a}),o=t.name("valid"),i=e.subschema({schema:a,dataTypes:[],schemaPath:s.nil,topSchemaRef:n,errSchemaPath:r},o);e.mergeEvaluated(i),e.ok(o)}(h)}};function u(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):s._`${r.scopeValue("wrapper",{ref:t})}.validate`}function d(e,t,r,a){const{gen:i,it:l}=e,{allErrors:u,schemaEnv:d,opts:p}=l,m=p.passContext?o.default.this:s.nil;function f(e){const t=s._`${e}.errors`;i.assign(o.default.vErrors,s._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`),i.assign(o.default.errors,s._`${o.default.vErrors}.length`)}function h(e){var t;if(!l.opts.unevaluated)return;const a=null===(t=null==r?void 0:r.validate)||void 0===t?void 0:t.evaluated;if(!0!==l.props)if(a&&!a.dynamicProps)void 0!==a.props&&(l.props=c.mergeEvaluated.props(i,a.props,l.props));else{const t=i.var("props",s._`${e}.evaluated.props`);l.props=c.mergeEvaluated.props(i,t,l.props,s.Name)}if(!0!==l.items)if(a&&!a.dynamicItems)void 0!==a.items&&(l.items=c.mergeEvaluated.items(i,a.items,l.items));else{const t=i.var("items",s._`${e}.evaluated.items`);l.items=c.mergeEvaluated.items(i,t,l.items,s.Name)}}a?function(){if(!d.$async)throw new Error("async schema referenced by sync schema");const r=i.let("valid");i.try(()=>{i.code(s._`await ${(0,n.callValidateCode)(e,t,m)}`),h(t),u||i.assign(r,!0)},e=>{i.if(s._`!(${e} instanceof ${l.ValidationError})`,()=>i.throw(e)),f(e),u||i.assign(r,!1)}),e.ok(r)}():e.result((0,n.callValidateCode)(e,t,m),()=>h(t),()=>f(t))}t.getValidate=u,t.callRef=d,t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(126),n=r(127),s=r(128),o=r(130),i=r(131),c=r(132),l=r(133),u=r(134),d=r(135),p=r(136),m=[a.default,n.default,s.default,o.default,i.default,c.default,l.default,u.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,p.default];t.default=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n=a.operators,s={maximum:{okStr:"<=",ok:n.LTE,fail:n.GT},minimum:{okStr:">=",ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},o={message:({keyword:e,schemaCode:t})=>a.str`must be ${s[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>a._`{comparison: ${s[e].okStr}, limit: ${t}}`},i={keyword:Object.keys(s),type:"number",schemaType:"number",$data:!0,error:o,code(e){const{keyword:t,data:r,schemaCode:n}=e;e.fail$data(a._`${r} ${s[t].fail} ${n} || isNaN(${r})`)}};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>a.str`must be multiple of ${e}`,params:({schemaCode:e})=>a._`{multipleOf: ${e}}`},code(e){const{gen:t,data:r,schemaCode:n,it:s}=e,o=s.opts.multipleOfPrecision,i=t.let("res"),c=o?a._`Math.abs(Math.round(${i}) - ${i}) > 1e-${o}`:a._`${i} !== parseInt(${i})`;e.fail$data(a._`(${n} === 0 || (${i} = ${r}/${n}, ${c}))`)}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n=r(3),s=r(129),o={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxLength"===e?"more":"fewer";return a.str`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>a._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:o,it:i}=e,c="maxLength"===t?a.operators.GT:a.operators.LT,l=!1===i.opts.unicode?a._`${r}.length`:a._`${(0,n.useFunc)(e.gen,s.default)}(${r})`;e.fail$data(a._`${l} ${c} ${o}`)}};t.default=o},function(e,t,r){"use strict";function a(e){const t=e.length;let r,a=0,n=0;for(;n<t;)a++,r=e.charCodeAt(n++),r>=55296&&r<=56319&&n<t&&(r=e.charCodeAt(n),56320==(64512&r)&&n++);return a}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,a.code='require("ajv/dist/runtime/ucs2length").default'},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(5),n=r(1),s={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>n.str`must match pattern "${e}"`,params:({schemaCode:e})=>n._`{pattern: ${e}}`},code(e){const{data:t,$data:r,schema:s,schemaCode:o,it:i}=e,c=i.opts.unicodeRegExp?"u":"",l=r?n._`(new RegExp(${o}, ${c}))`:(0,a.usePattern)(e,s);e.fail$data(n._`!${l}.test(${t})`)}};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxProperties"===e?"more":"fewer";return a.str`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>a._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:n}=e,s="maxProperties"===t?a.operators.GT:a.operators.LT;e.fail$data(a._`Object.keys(${r}).length ${s} ${n}`)}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(5),n=r(1),s=r(3),o={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>n.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>n._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:r,schemaCode:o,data:i,$data:c,it:l}=e,{opts:u}=l;if(!c&&0===r.length)return;const d=r.length>=u.loopRequired;if(l.allErrors?function(){if(d||c)e.block$data(n.nil,p);else for(const t of r)(0,a.checkReportMissingProp)(e,t)}():function(){const s=t.let("missing");if(d||c){const r=t.let("valid",!0);e.block$data(r,()=>(function(r,s){e.setParams({missingProperty:r}),t.forOf(r,o,()=>{t.assign(s,(0,a.propertyInData)(t,i,r,u.ownProperties)),t.if((0,n.not)(s),()=>{e.error(),t.break()})},n.nil)})(s,r)),e.ok(r)}else t.if((0,a.checkMissingProp)(e,r,s)),(0,a.reportMissingProp)(e,s),t.else()}(),u.strictRequired){const t=e.parentSchema.properties,{definedProperties:a}=e.it;for(const e of r)if(void 0===(null==t?void 0:t[e])&&!a.has(e)){const t=`required property "${e}" is not defined at "${l.schemaEnv.baseId+l.errSchemaPath}" (strictRequired)`;(0,s.checkStrictMode)(l,t,l.opts.strictRequired)}}function p(){t.forOf("prop",o,r=>{e.setParams({missingProperty:r}),t.if((0,a.noPropertyInData)(t,i,r,u.ownProperties),()=>e.error())})}}};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxItems"===e?"more":"fewer";return a.str`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>a._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:n}=e,s="maxItems"===t?a.operators.GT:a.operators.LT;e.fail$data(a._`${r}.length ${s} ${n}`)}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(12),n=r(1),s=r(3),o=r(24),i={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>n.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>n._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:r,$data:i,schema:c,parentSchema:l,schemaCode:u,it:d}=e;if(!i&&!c)return;const p=t.let("valid"),m=l.items?(0,a.getSchemaTypes)(l.items):[];function f(s,o){const i=t.name("item"),c=(0,a.checkDataTypes)(m,i,d.opts.strictNumbers,a.DataType.Wrong),l=t.const("indices",n._`{}`);t.for(n._`;${s}--;`,()=>{t.let(i,n._`${r}[${s}]`),t.if(c,n._`continue`),m.length>1&&t.if(n._`typeof ${i} == "string"`,n._`${i} += "_"`),t.if(n._`typeof ${l}[${i}] == "number"`,()=>{t.assign(o,n._`${l}[${i}]`),e.error(),t.assign(p,!1).break()}).code(n._`${l}[${i}] = ${s}`)})}function h(a,i){const c=(0,s.useFunc)(t,o.default),l=t.name("outer");t.label(l).for(n._`;${a}--;`,()=>t.for(n._`${i} = ${a}; ${i}--;`,()=>t.if(n._`${c}(${r}[${a}], ${r}[${i}])`,()=>{e.error(),t.assign(p,!1).break(l)})))}e.block$data(p,(function(){const a=t.let("i",n._`${r}.length`),s=t.let("j");e.setParams({i:a,j:s}),t.assign(p,!0),t.if(n._`${a} > 1`,()=>(m.length>0&&!m.some(e=>"object"===e||"array"===e)?f:h)(a,s))}),n._`${u} === false`),e.ok(p)}};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n=r(3),s=r(24),o={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>a._`{allowedValue: ${e}}`},code(e){const{gen:t,data:r,$data:o,schemaCode:i,schema:c}=e;o||c&&"object"==typeof c?e.fail$data(a._`!${(0,n.useFunc)(t,s.default)}(${r}, ${i})`):e.fail(a._`${c} !== ${r}`)}};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n=r(3),s=r(24),o={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>a._`{allowedValues: ${e}}`},code(e){const{gen:t,data:r,$data:o,schema:i,schemaCode:c,it:l}=e;if(!o&&0===i.length)throw new Error("enum must have non-empty array");const u=i.length>=l.opts.loopEnum,d=(0,n.useFunc)(t,s.default);let p;if(u||o)p=t.let("valid"),e.block$data(p,(function(){t.assign(p,!1),t.forOf("v",c,e=>t.if(a._`${d}(${r}, ${e})`,()=>t.assign(p,!0).break()))}));else{if(!Array.isArray(i))throw new Error("ajv implementation error");const e=t.const("vSchema",c);p=(0,a.or)(...i.map((t,n)=>(function(e,t){const n=i[t];return"object"==typeof n&&null!==n?a._`${d}(${r}, ${e}[${t}])`:a._`${r} === ${n}`})(e,n)))}e.pass(p)}};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(41),n=r(138),s=r(42),o=r(139),i=r(140),c=r(141),l=r(142),u=r(43),d=r(143),p=r(144),m=r(145),f=r(146),h=r(147),g=r(148),v=r(149),y=r(150);t.default=function(e=!1){const t=[m.default,f.default,h.default,g.default,v.default,y.default,l.default,u.default,c.default,d.default,p.default];return e?t.push(n.default,o.default):t.push(a.default,s.default),t.push(i.default),t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(42),n={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,a.validateTuple)(e,"items")};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n=r(3),s=r(5),o=r(41),i={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>a.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>a._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:r,it:a}=e,{prefixItems:i}=r;a.items=!0,(0,n.alwaysValidSchema)(a,t)||(i?(0,o.validateAdditionalItems)(e,i):e.ok((0,s.validateArray)(e)))}};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n=r(3),s={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?a.str`must contain at least ${e} valid item(s)`:a.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?a._`{minContains: ${e}}`:a._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:r,parentSchema:s,data:o,it:i}=e;let c,l;const{minContains:u,maxContains:d}=s;i.opts.next?(c=void 0===u?1:u,l=d):c=1;const p=t.const("len",a._`${o}.length`);if(e.setParams({min:c,max:l}),void 0===l&&0===c)return void(0,n.checkStrictMode)(i,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==l&&c>l)return(0,n.checkStrictMode)(i,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,n.alwaysValidSchema)(i,r)){let t=a._`${p} >= ${c}`;return void 0!==l&&(t=a._`${t} && ${p} <= ${l}`),void e.pass(t)}i.items=!0;const m=t.name("valid");if(void 0===l&&1===c)f(m,()=>t.if(m,()=>t.break()));else{t.let(m,!1);const e=t.name("_valid"),r=t.let("count",0);f(e,()=>t.if(e,()=>(function(e){t.code(a._`${e}++`),void 0===l?t.if(a._`${e} >= ${c}`,()=>t.assign(m,!0).break()):(t.if(a._`${e} > ${l}`,()=>t.assign(m,!1).break()),1===c?t.assign(m,!0):t.if(a._`${e} >= ${c}`,()=>t.assign(m,!0)))})(r)))}function f(r,a){t.forRange("i",0,p,t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:n.Type.Num,compositeRule:!0},r),a()})}e.result(m,()=>e.reset())}};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const a=r(1),n=r(3),s=r(5);t.error={message:({params:{property:e,depsCount:t,deps:r}})=>{const n=1===t?"property":"properties";return a.str`must have ${n} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:r,missingProperty:n}})=>a._`{property: ${e},
|
|
17
|
+
missingProperty: ${n},
|
|
18
|
+
depsCount: ${t},
|
|
19
|
+
deps: ${r}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,r]=function({schema:e}){const t={},r={};for(const a in e){if("__proto__"===a)continue;(Array.isArray(e[a])?t:r)[a]=e[a]}return[t,r]}(e);i(e,t),c(e,r)}};function i(e,t=e.schema){const{gen:r,data:n,it:o}=e;if(0===Object.keys(t).length)return;const i=r.let("missing");for(const c in t){const l=t[c];if(0===l.length)continue;const u=(0,s.propertyInData)(r,n,c,o.opts.ownProperties);e.setParams({property:c,depsCount:l.length,deps:l.join(", ")}),o.allErrors?r.if(u,()=>{for(const t of l)(0,s.checkReportMissingProp)(e,t)}):(r.if(a._`${u} && (${(0,s.checkMissingProp)(e,l,i)})`),(0,s.reportMissingProp)(e,i),r.else())}}function c(e,t=e.schema){const{gen:r,data:a,keyword:o,it:i}=e,c=r.name("valid");for(const l in t)(0,n.alwaysValidSchema)(i,t[l])||(r.if((0,s.propertyInData)(r,a,l,i.opts.ownProperties),()=>{const t=e.subschema({keyword:o,schemaProp:l},c);e.mergeValidEvaluated(t,c)},()=>r.var(c,!0)),e.ok(c))}t.validatePropertyDeps=i,t.validateSchemaDeps=c,t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n=r(3),s={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>a._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:r,data:s,it:o}=e;if((0,n.alwaysValidSchema)(o,r))return;const i=t.name("valid");t.forIn("key",s,r=>{e.setParams({propertyName:r}),e.subschema({keyword:"propertyNames",data:r,dataTypes:["string"],propertyName:r,compositeRule:!0},i),t.if((0,a.not)(i),()=>{e.error(!0),o.allErrors||t.break()})}),e.ok(i)}};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(9),n=r(5),s=r(3),o=r(43),i={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:i,data:c,it:l}=e;"all"===l.opts.removeAdditional&&void 0===i.additionalProperties&&o.default.code(new a.KeywordCxt(l,o.default,"additionalProperties"));const u=(0,n.allSchemaProperties)(r);for(const e of u)l.definedProperties.add(e);l.opts.unevaluated&&u.length&&!0!==l.props&&(l.props=s.mergeEvaluated.props(t,(0,s.toHash)(u),l.props));const d=u.filter(e=>!(0,s.alwaysValidSchema)(l,r[e]));if(0===d.length)return;const p=t.name("valid");for(const r of d)m(r)?f(r):(t.if((0,n.propertyInData)(t,c,r,l.opts.ownProperties)),f(r),l.allErrors||t.else().var(p,!0),t.endIf()),e.it.definedProperties.add(r),e.ok(p);function m(e){return l.opts.useDefaults&&!l.compositeRule&&void 0!==r[e].default}function f(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},p)}}};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(5),n=r(1),s=r(3),o=r(3),i={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:i,parentSchema:c,it:l}=e,{opts:u}=l,d=(0,a.allSchemaProperties)(r),p=d.filter(e=>(0,s.alwaysValidSchema)(l,r[e]));if(0===d.length||p.length===d.length&&(!l.opts.unevaluated||!0===l.props))return;const m=u.strictSchema&&!u.allowMatchingProperties&&c.properties,f=t.name("valid");!0===l.props||l.props instanceof n.Name||(l.props=(0,o.evaluatedPropsToName)(t,l.props));const{props:h}=l;function g(e){for(const t in m)new RegExp(e).test(t)&&(0,s.checkStrictMode)(l,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function v(r){t.forIn("key",i,s=>{t.if(n._`${(0,a.usePattern)(e,r)}.test(${s})`,()=>{const a=p.includes(r);a||e.subschema({keyword:"patternProperties",schemaProp:r,dataProp:s,dataPropType:o.Type.Str},f),l.opts.unevaluated&&!0!==h?t.assign(n._`${h}[${s}]`,!0):a||l.allErrors||t.if((0,n.not)(f),()=>t.break())})})}!function(){for(const e of d)m&&g(e),l.allErrors?v(e):(t.var(f,!0),v(e),t.if(f))}()}};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(3),n={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:n}=e;if((0,a.alwaysValidSchema)(n,r))return void e.fail();const s=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),e.failResult(s,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:r(5).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n=r(3),s={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>a._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:r,parentSchema:s,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(o.opts.discriminator&&s.discriminator)return;const i=r,c=t.let("valid",!1),l=t.let("passing",null),u=t.name("_valid");e.setParams({passing:l}),t.block((function(){i.forEach((r,s)=>{let i;(0,n.alwaysValidSchema)(o,r)?t.var(u,!0):i=e.subschema({keyword:"oneOf",schemaProp:s,compositeRule:!0},u),s>0&&t.if(a._`${u} && ${c}`).assign(c,!1).assign(l,a._`[${l}, ${s}]`).else(),t.if(u,()=>{t.assign(c,!0),t.assign(l,s),i&&e.mergeEvaluated(i,a.Name)})})})),e.result(c,()=>e.reset(),()=>e.error(!0))}};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(3),n={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:n}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const s=t.name("valid");r.forEach((t,r)=>{if((0,a.alwaysValidSchema)(n,t))return;const o=e.subschema({keyword:"allOf",schemaProp:r},s);e.ok(s),e.mergeEvaluated(o)})}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n=r(3),s={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>a.str`must match "${e.ifClause}" schema`,params:({params:e})=>a._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:r,it:s}=e;void 0===r.then&&void 0===r.else&&(0,n.checkStrictMode)(s,'"if" without "then" and "else" is ignored');const i=o(s,"then"),c=o(s,"else");if(!i&&!c)return;const l=t.let("valid",!0),u=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);e.mergeEvaluated(t)}(),e.reset(),i&&c){const r=t.let("ifClause");e.setParams({ifClause:r}),t.if(u,d("then",r),d("else",r))}else i?t.if(u,d("then")):t.if((0,a.not)(u),d("else"));function d(r,n){return()=>{const s=e.subschema({keyword:r},u);t.assign(l,u),e.mergeValidEvaluated(s,l),n?t.assign(n,a._`${r}`):e.setParams({ifClause:r})}}e.pass(l,()=>e.error(!0))}};function o(e,t){const r=e.schema[t];return void 0!==r&&!(0,n.alwaysValidSchema)(e,r)}t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(3),n={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){void 0===t.if&&(0,a.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=[r(152).default];t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>a.str`must match format "${e}"`,params:({schemaCode:e})=>a._`{format: ${e}}`},code(e,t){const{gen:r,data:n,$data:s,schema:o,schemaCode:i,it:c}=e,{opts:l,errSchemaPath:u,schemaEnv:d,self:p}=c;l.validateFormats&&(s?function(){const s=r.scopeValue("formats",{ref:p.formats,code:l.code.formats}),o=r.const("fDef",a._`${s}[${i}]`),c=r.let("fType"),u=r.let("format");r.if(a._`typeof ${o} == "object" && !(${o} instanceof RegExp)`,()=>r.assign(c,a._`${o}.type || "string"`).assign(u,a._`${o}.validate`),()=>r.assign(c,a._`"string"`).assign(u,o)),e.fail$data((0,a.or)(!1===l.strictSchema?a.nil:a._`${i} && !${u}`,function(){const e=d.$async?a._`(${o}.async ? await ${u}(${n}) : ${u}(${n}))`:a._`${u}(${n})`,r=a._`(typeof ${u} == "function" ? ${e} : ${u}.test(${n}))`;return a._`${u} && ${u} !== true && ${c} === ${t} && !${r}`}()))}():function(){const s=p.formats[o];if(!s)return void function(){if(!1===l.strictSchema)return void p.logger.warn(e());throw new Error(e());function e(){return`unknown format "${o}" ignored in schema at path "${u}"`}}();if(!0===s)return;const[i,c,m]=function(e){const t=e instanceof RegExp?(0,a.regexpCode)(e):l.code.formats?a._`${l.code.formats}${(0,a.getProperty)(o)}`:void 0,n=r.scopeValue("formats",{key:o,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,a._`${n}.validate`];return["string",e,n]}(s);i===t&&e.pass(function(){if("object"==typeof s&&!(s instanceof RegExp)&&s.async){if(!d.$async)throw new Error("async format in sync schema");return a._`await ${m}(${n})`}return"function"==typeof c?a._`${m}(${n})`:a._`${m}.test(${n})`}())}())}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(1),n=r(155),s={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===n.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>a._`{error: ${e}, tag: ${r}, tagValue: ${t}}`},code(e){const{gen:t,data:r,schema:s,parentSchema:o,it:i}=e,{oneOf:c}=o;if(!i.opts.discriminator)throw new Error("discriminator: requires discriminator option");const l=s.propertyName;if("string"!=typeof l)throw new Error("discriminator: requires propertyName");if(s.mapping)throw new Error("discriminator: mapping is not supported");if(!c)throw new Error("discriminator: requires oneOf keyword");const u=t.let("valid",!1),d=t.const("tag",a._`${r}${(0,a.getProperty)(l)}`);function p(r){const n=t.name("valid"),s=e.subschema({keyword:"oneOf",schemaProp:r},n);return e.mergeEvaluated(s,a.Name),n}t.if(a._`typeof ${d} == "string"`,()=>(function(){const r=function(){var e;const t={},r=n(o);let a=!0;for(let t=0;t<c.length;t++){const o=c[t],i=null===(e=o.properties)||void 0===e?void 0:e[l];if("object"!=typeof i)throw new Error(`discriminator: oneOf schemas must have "properties/${l}"`);a=a&&(r||n(o)),s(i,t)}if(!a)throw new Error(`discriminator: "${l}" must be required`);return t;function n({required:e}){return Array.isArray(e)&&e.includes(l)}function s(e,t){if(e.const)i(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${l}" must have "const" or "enum"`);for(const r of e.enum)i(r,t)}}function i(e,r){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${l}" values must be unique strings`);t[e]=r}}();t.if(!1);for(const e in r)t.elseIf(a._`${d} === ${e}`),t.assign(u,p(r[e]));t.else(),e.error(!1,{discrError:n.DiscrError.Mapping,tag:d,tagName:l}),t.endIf()})(),()=>e.error(!1,{discrError:n.DiscrError.Tag,tag:d,tagName:l})),e.ok(u)}};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(t.DiscrError||(t.DiscrError={}))},function(e){e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},function(e,t,r){"use strict";e.exports={en:r(158),ar:r(159),ca:r(160),cs:r(161),de:r(162),es:r(163),fr:r(164),hu:r(165),id:r(166),it:r(167),ja:r(168),ko:r(169),nb:r(170),nl:r(171),pl:r(172),"pt-BR":r(173),ru:r(174),sk:r(175),sv:r(176),th:r(177),zh:r(178),"zh-TW":r(179)}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="must NOT have more than "+(t=r.params.limit)+" item",1!=t&&(e+="s");break;case"additionalProperties":e="must NOT have additional properties";break;case"anyOf":e='must match a schema in "anyOf"';break;case"const":e="must be equal to constant";break;case"contains":e="must contain a valid item";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+="must have propert",e+=1==t?"y":"ies",e+=" "+r.params.deps+" when property "+r.params.property+" is present";break;case"discriminator":switch(r.params.error){case"tag":e='tag "'+r.params.tag+'" must be string';break;case"mapping":e='value of tag "'+r.params.tag+'" must be in oneOf';break;default:e='must pass "'+r.keyword+'" keyword validation'}break;case"enum":e="must be equal to one of the allowed values";break;case"false schema":e="boolean schema is false";break;case"format":e='must match format "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="must be "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="must be "+(r.params.comparison+" "+r.params.limit);break;case"if":e='must match "'+r.params.failingKeyword+'" schema';break;case"maximum":case"exclusiveMaximum":e="",e+="must be "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+="must NOT have more than "+(t=r.params.limit)+" item",1!=t&&(e+="s");break;case"maxLength":e="",e+="must NOT be longer than "+(t=r.params.limit)+" character",1!=t&&(e+="s");break;case"maxProperties":e="",e+="must NOT have more than "+(t=r.params.limit)+" propert",e+=1==t?"y":"ies";break;case"minimum":case"exclusiveMinimum":e="",e+="must be "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+="must NOT have less than "+(t=r.params.limit)+" item",1!=t&&(e+="s");break;case"minLength":e="",e+="must NOT be shorter than "+(t=r.params.limit)+" character",1!=t&&(e+="s");break;case"minProperties":e="",e+="must NOT have less than "+(t=r.params.limit)+" propert",e+=1==t?"y":"ies";break;case"multipleOf":e="must be a multiple of "+r.params.multipleOf;break;case"not":e='must NOT be valid according to schema in "not"';break;case"oneOf":e='must match exactly one schema in "oneOf"';break;case"pattern":e='must match pattern "'+r.params.pattern+'"';break;case"patternRequired":e='must have property matching pattern "'+r.params.missingPattern+'"';break;case"propertyNames":e="property name is invalid";break;case"required":e="must have required property "+r.params.missingProperty;break;case"type":e="must be "+r.params.type;break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=r.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="must NOT have duplicate items (items ## "+r.params.j+" and "+r.params.i+" are identical)";break;default:e='must pass "'+r.keyword+'" keyword validation'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+=" يجب أن لا يحوي أكثر من "+(t=r.params.limit)+" عنصر";break;case"additionalProperties":e="يجب أن لا يحوي خصائص إضافية";break;case"anyOf":e='يجب أن يوافق أحد المخططات الموجودة في "anyOf"';break;case"const":e="يجب أن يكون ثابتاً";break;case"contains":e="يجب أن يحوي عنصرا صحيح";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+=" يجب أن يحوي الخصائص "+r.params.deps+" عندما تكون الخاصية "+r.params.property+" موجودة";break;case"discriminator":switch(r.params.error){case"tag":e='tag "'+r.params.tag+'" must be string';break;case"mapping":e='value of tag "'+r.params.tag+'" must be in oneOf';break;default:e='يجب أن تمرر كلمة التحقق المفتاحية "'+r.keyword+'"'}break;case"enum":e="قيمة هذا الحقل يجب أن تكون مساوية لأحد القيم المعرفة مسبقاً";break;case"false schema":e="المخطط المنطقي غير صحيح";break;case"format":e='يجب أن يوافق الصيغة "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+=" يجب أن يكون "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+=" يجب أن يكون "+(r.params.comparison+" "+r.params.limit);break;case"if":e='يجب أن توافق المخطط "'+r.params.failingKeyword+'"';break;case"maximum":case"exclusiveMaximum":e="",e+=" يجب أن يكون "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+=" يجب أن لا يحوي أكثر من "+(t=r.params.limit)+" عنصر";break;case"maxLength":e="",e+=" يجب أن لا يحوي أكثر من "+(t=r.params.limit)+" محرف";break;case"maxProperties":e="",e+=" يجب أن لا يحوي أكثر من "+(t=r.params.limit)+" خصائص";break;case"minimum":case"exclusiveMinimum":e="",e+=" يجب أن يكون "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+=" يجب أن لا يحوي أقل من "+(t=r.params.limit)+" عنصر";break;case"minLength":e="",e+=" يجب أن لا يحوي أقل من "+(t=r.params.limit)+" محرف";break;case"minProperties":e="",e+=" يجب أن لا يحوي أقل من "+(t=r.params.limit)+" خصائص";break;case"multipleOf":e=" يجب أن يحوي أكثر من "+r.params.multipleOf;break;case"not":e='يجب أن يكون غير صحيح وفقاً للمخطط "not"';break;case"oneOf":e='يجب أن يوافق مخطط واحد فقط موجود في "oneOf"';break;case"pattern":e='يجب أن يوافق النمط "'+r.params.pattern+'"';break;case"patternRequired":e='يجب أن يحوي خاصية توافق النمط "'+r.params.missingPattern+'"';break;case"propertyNames":e="اسم الخاصية غير صالح";break;case"required":e="هذا الحقل إلزامي";break;case"type":e="قيمة هذا الحقل غير صالحة";break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=r.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="يجب أن لا يحوي عناصر مكررة (العنصر ## "+r.params.j+" و "+r.params.i+" متطابقة)";break;default:e='يجب أن تمرر كلمة التحقق المفتاحية "'+r.keyword+'"'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="no ha de tenir més de "+(t=r.params.limit)+" element",1!=t&&(e+="s");break;case"additionalProperties":e="no ha de tenir propietats addicionals";break;case"anyOf":e='ha de coincidir amb algun esquema definit a "anyOf"';break;case"const":e="ha de ser igual a la constant";break;case"contains":e="ha de contenir un ítem vàlid";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+="ha de contenir la propietat",1!=t&&(e+="s"),e+=" "+r.params.deps+" quan la propietat "+r.params.property+" és present";break;case"discriminator":switch(r.params.error){case"tag":e='tag "'+r.params.tag+'" must be string';break;case"mapping":e='value of tag "'+r.params.tag+'" must be in oneOf';break;default:e='ha de passar la validació de la clau "'+r.keyword+'"'}break;case"enum":e="ha de ser igual a un dels valors predefinits";break;case"false schema":e="l’esquema és fals";break;case"format":e='ha de coincidir amb el format "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="ha de ser "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="ha de ser "+(r.params.comparison+" "+r.params.limit);break;case"if":e='ha de correspondre’s amb l’esquema "'+r.params.failingKeyword+'"';break;case"maximum":case"exclusiveMaximum":e="",e+="ha de ser "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+="no ha de tenir més de "+(t=r.params.limit)+" ítem",1!=t&&(e+="s");break;case"maxLength":e="",e+="no pot contenir més de "+(t=r.params.limit)+" caràcter",1!=t&&(e+="s");break;case"maxProperties":e="",e+="no pot contenir més de "+(t=r.params.limit)+" propietat",1!=t&&(e+="s");break;case"minimum":case"exclusiveMinimum":e="",e+="ha de ser "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+="no ha de tenir menys de "+(t=r.params.limit)+" ítem",1!=t&&(e+="s");break;case"minLength":e="",e+="no pot contenir menys de "+(t=r.params.limit)+" caràcter",1!=t&&(e+="s");break;case"minProperties":e="",e+="no pot contenir menys de "+(t=r.params.limit)+" propietat",1!=t&&(e+="s");break;case"multipleOf":e="ha de ser múltiple de "+r.params.multipleOf;break;case"not":e='no ha de ser vàlid d’acord amb l’esquema definit a "not"';break;case"oneOf":e='ha de coincidir només amb un esquema definit a "oneOf"';break;case"pattern":e='ha de coincidir amb el patró "'+r.params.pattern+'"';break;case"patternRequired":e='la propietat ha de coincidir amb el patró "'+r.params.missingPattern+'"';break;case"propertyNames":e="la propietat no és vàlida";break;case"required":e="ha de tenir la propietat requerida "+r.params.missingProperty;break;case"type":e="ha de ser del tipus "+r.params.type;break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=r.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="no ha de tenir ítems duplicats (els ítems ## "+r.params.j+" i "+r.params.i+" són idèntics)";break;default:e='ha de passar la validació de la clau "'+r.keyword+'"'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="nemůže mít víc, než "+(t=r.params.limit)+" prv",e+=t>=2&&t<=4?"ky":1!=t?"ek":"ků";break;case"additionalProperties":e="nemůže mít další položky";break;case"anyOf":e='musí vyhovět alespoň jednomu schématu v "anyOf"';break;case"const":e="musí být roven konstantě";break;case"contains":e="musí obsahovat prvek odpovídající schématu";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+="musí mít polož",e+=t>=2&&t<=4?"ky":1!=t?"ek":"ka",e+=": "+r.params.deps+", pokud obsahuje "+r.params.property;break;case"discriminator":switch(r.params.error){case"tag":e='tag "'+r.params.tag+'" must be string';break;case"mapping":e='value of tag "'+r.params.tag+'" must be in oneOf';break;default:e='musí vyhovět "'+r.keyword+'" validaci'}break;case"enum":e="musí být rovno jedné hodnotě z výčtu";break;case"false schema":e="schéma je false";break;case"format":e='musí být ve formátu "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="musí být "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="musí být "+(r.params.comparison+" "+r.params.limit);break;case"if":e='musí vyhovět "'+r.params.failingKeyword+'" schématu';break;case"maximum":case"exclusiveMaximum":e="",e+="musí být "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+="nesmí obsahovat víc než "+(t=r.params.limit)+" prv",e+=t>=2&&t<=4?"ky":1!=t?"ek":"ků";break;case"maxLength":e="",e+="nesmí být delší než "+(t=r.params.limit)+" zna",e+=t>=2&&t<=4?"ky":1!=t?"k":"ků";break;case"maxProperties":e="",e+="nesmí mít víc než "+(t=r.params.limit)+" polož",e+=t>=2&&t<=4?"ky":1!=t?"ek":"ka";break;case"minimum":case"exclusiveMinimum":e="",e+="musí být "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+="nesmí obsahovat méně než "+(t=r.params.limit)+" prv",e+=t>=2&&t<=4?"ky":1!=t?"ek":"ků";break;case"minLength":e="",e+="nesmí být kratší než "+(t=r.params.limit)+" zna",e+=t>=2&&t<=4?"ky":1!=t?"k":"ků";break;case"minProperties":e="",e+="nesmí mít méně než "+(t=r.params.limit)+" polož",e+=t>=2&&t<=4?"ky":1!=t?"ek":"ka";break;case"multipleOf":e="musí být násobkem "+r.params.multipleOf;break;case"not":e='nesmí vyhovět schématu v "not"';break;case"oneOf":e='musí vyhovět právě jednomu schématu v "oneOf"';break;case"pattern":e='musí vyhovět regulárnímu výrazu "'+r.params.pattern+'"';break;case"patternRequired":e='musí obsahovat položku vyhovující regulárnímu výrazu "'+r.params.missingPattern+'"';break;case"propertyNames":e="název položky není platný";break;case"required":e="musí obsahovat požadovanou položku "+r.params.missingProperty;break;case"type":e="musí být "+r.params.type;break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=r.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="nesmí obsahovat duplicitní prvky (prvky ## "+r.params.j+" a "+r.params.i+" jsou identické)";break;default:e='musí vyhovět "'+r.keyword+'" validaci'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="darf nicht mehr als "+(t=r.params.limit)+" Element",1!=t&&(e+="e"),e+=" enthalten";break;case"additionalProperties":e="darf keine zusätzlichen Attribute haben";break;case"anyOf":e='muss einem der Schemata in "anyOf" entsprechen';break;case"const":e="muss gleich der Konstanten sein";break;case"contains":e="muss ein valides Element enthalten";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+="muss Attribut",1!=t&&(e+="e"),e+=" "+r.params.deps+" aufweisen, wenn Attribut "+r.params.property+" gesetzt ist";break;case"discriminator":switch(r.params.error){case"tag":e='der Tag "'+r.params.tag+'" muss eine Zeichenkette sein';break;case"mapping":e='der Wert vom Tag "'+r.params.tag+'" muss im oneOf enthalten sein';break;default:e='muss die Validierung "'+r.keyword+'" bestehen'}break;case"enum":e="muss einem der vorgegebenen Werte entsprechen";break;case"false schema":e="boolesches Schema ist falsch";break;case"format":e='muss diesem Format entsprechen: "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="muss "+(r.params.comparison+" "+r.params.limit)+" sein";break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="muss "+(r.params.comparison+" "+r.params.limit)+" sein";break;case"if":e='muss dem Schema "'+r.params.failingKeyword+'" entsprechen';break;case"maximum":case"exclusiveMaximum":e="",e+="muss "+(r.params.comparison+" "+r.params.limit)+" sein";break;case"maxItems":e="",e+="darf nicht mehr als "+(t=r.params.limit)+" Element",1!=t&&(e+="e"),e+=" haben";break;case"maxLength":e="",e+="darf nicht länger als "+(t=r.params.limit)+" Zeichen sein";break;case"maxProperties":e="",e+="darf nicht mehr als "+(t=r.params.limit)+" Attribut",1!=t&&(e+="e"),e+=" haben";break;case"minimum":case"exclusiveMinimum":e="",e+="muss "+(r.params.comparison+" "+r.params.limit)+" sein";break;case"minItems":e="",e+="darf nicht weniger als "+(t=r.params.limit)+" Element",1!=t&&(e+="e"),e+=" haben";break;case"minLength":e="",e+="darf nicht kürzer als "+(t=r.params.limit)+" Zeichen sein";break;case"minProperties":e="",e+="darf nicht weniger als "+(t=r.params.limit)+" Attribut",1!=t&&(e+="e"),e+=" haben";break;case"multipleOf":e="muss ein Vielfaches von "+r.params.multipleOf+" sein";break;case"not":e='muss dem in "not" angegebenen Schema widersprechen';break;case"oneOf":e='muss genau einem der Schemata in "oneOf" entsprechen';break;case"pattern":e='muss diesem Muster entsprechen: "'+r.params.pattern+'"';break;case"patternRequired":e='muss ein Attribut nach folgendem Muster haben "'+r.params.missingPattern+'"';break;case"propertyNames":e="Attributname ist ungültig";break;case"required":e="muss das erforderliche Attribut "+r.params.missingProperty+" enthalten";break;case"type":e="muss sein: "+r.params.type;break;case"unevaluatedItems":e="",e+="darf nicht mehr als "+(t=r.params.len)+" Element",1!=t&&(e+="e"),e+=" haben";break;case"unevaluatedProperties":e="darf keine unausgewerteten Attribute haben";break;case"uniqueItems":e="darf keine Duplikate enthalten (Elemente #"+r.params.j+" und #"+r.params.i+" sind gleich)";break;default:e='muss die Validierung "'+r.keyword+'" bestehen'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="no debe tener más de "+(t=r.params.limit)+" elemento",1!=t&&(e+="s");break;case"additionalProperties":e="no debe tener propiedades adicionales";break;case"anyOf":e='debe coincidir con algún esquema en "anyOf"';break;case"const":e="debe ser igual a la constante";break;case"contains":e="debe contener un elemento válido";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+="debe contener la",1!=t&&(e+="s"),e+=" propiedad",1!=t&&(e+="es"),e+=" "+r.params.deps+" cuando la propiedad "+r.params.property+" se encuentra presente";break;case"discriminator":switch(r.params.error){case"tag":e='tag "'+r.params.tag+'" must be string';break;case"mapping":e='value of tag "'+r.params.tag+'" must be in oneOf';break;default:e='debe pasar la validación de palabra clave "'+r.keyword+'"'}break;case"enum":e="deber ser igual a uno de los valores predefinidos";break;case"false schema":e="el esquema és falso";break;case"format":e='debe coincidir con el formato "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="debe ser "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="debe ser "+(r.params.comparison+" "+r.params.limit);break;case"if":e='debe corresponderse con el esquema "'+r.params.failingKeyword+'"';break;case"maximum":case"exclusiveMaximum":e="",e+="debe ser "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+="no debe contener más de "+(t=r.params.limit)+" elemento",1!=t&&(e+="s");break;case"maxLength":e="",e+="no debe contener más de "+(t=r.params.limit)+" caracter",1!=t&&(e+="es");break;case"maxProperties":e="",e+="no debe contener más de "+(t=r.params.limit)+" propiedad",1!=t&&(e+="es");break;case"minimum":case"exclusiveMinimum":e="",e+="debe ser "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+="no debe contener menos de "+(t=r.params.limit)+" elemento",1!=t&&(e+="s");break;case"minLength":e="",e+="no debe contener menos de "+(t=r.params.limit)+" caracter",1!=t&&(e+="es");break;case"minProperties":e="",e+="no debe contener menos de "+(t=r.params.limit)+" propiedad",1!=t&&(e+="es");break;case"multipleOf":e="debe ser múltiplo de "+r.params.multipleOf;break;case"not":e='no debe ser válido según el esquema en "not"';break;case"oneOf":e='debe coincidir con un solo esquema en "oneOf"';break;case"pattern":e='debe coincidir con el patron "'+r.params.pattern+'"';break;case"patternRequired":e='la propiedad debe coincidir con el patrón "'+r.params.missingPattern+'"';break;case"propertyNames":e="la propiedad no és válida";break;case"required":e="debe tener la propiedad requerida "+r.params.missingProperty;break;case"type":e="debe ser "+r.params.type;break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=r.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="no debe contener elementos duplicados, (los elementos ## "+r.params.j+" y "+r.params.i+" son idénticos)";break;default:e='debe pasar la validación de palabra clave "'+r.keyword+'"'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="ne doit pas contenir plus de "+(t=r.params.limit)+" élémént",1!=t&&(e+="s");break;case"additionalProperties":e="ne doit pas contenir de propriétés additionnelles";break;case"anyOf":e='doit correspondre à un schéma de "anyOf"';break;case"const":e="doit être égal à la constante";break;case"contains":e="doit contenir un élément valide";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+="doit avoir la propriété "+r.params.deps+" quand la propriété "+r.params.property+" est présente";break;case"discriminator":switch(r.params.error){case"tag":e='tag "'+r.params.tag+'" must be string';break;case"mapping":e='value of tag "'+r.params.tag+'" must be in oneOf';break;default:e='doit être valide selon le critère "'+r.keyword+'"'}break;case"enum":e="doit être égal à une des valeurs prédéfinies";break;case"false schema":e='le schema est "false"';break;case"format":e='doit correspondre au format "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="doit être "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="doit être "+(r.params.comparison+" "+r.params.limit);break;case"if":e='doit correspondre au schéma "'+r.params.failingKeyword+'"';break;case"maximum":case"exclusiveMaximum":e="",e+="doit être "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+="ne doit pas contenir plus de "+(t=r.params.limit)+" élément",1!=t&&(e+="s");break;case"maxLength":e="",e+="ne doit pas dépasser "+(t=r.params.limit)+" caractère",1!=t&&(e+="s");break;case"maxProperties":e="",e+="ne doit pas contenir plus de "+(t=r.params.limit)+" propriété",1!=t&&(e+="s");break;case"minimum":case"exclusiveMinimum":e="",e+="doit être "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+="ne doit pas contenir moins de "+(t=r.params.limit)+" élément",1!=t&&(e+="s");break;case"minLength":e="",e+="ne doit pas faire moins de "+(t=r.params.limit)+" caractère",1!=t&&(e+="s");break;case"minProperties":e="",e+="ne doit pas contenir moins de "+(t=r.params.limit)+" propriété",1!=t&&(e+="s");break;case"multipleOf":e="doit être un multiple de "+r.params.multipleOf;break;case"not":e='est invalide selon le schéma "not"';break;case"oneOf":e='doit correspondre à exactement un schéma de "oneOf"';break;case"pattern":e='doit correspondre au format "'+r.params.pattern+'"';break;case"patternRequired":e='la propriété doit correspondre au format "'+r.params.missingPattern+'"';break;case"propertyNames":e="le nom de propriété est invalide";break;case"required":e="requiert la propriété "+r.params.missingProperty;break;case"type":e="doit être de type "+r.params.type;break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=r.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="ne doit pas contenir de doublons (les éléments ## "+r.params.j+" et "+r.params.i+" sont identiques)";break;default:e='doit être valide selon le critère "'+r.keyword+'"'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="nem lehet több, mint "+(t=r.params.limit)+" eleme";break;case"additionalProperties":e="nem lehetnek további elemei";break;case"anyOf":e='meg kell feleljen legalább egy "anyOf" alaknak';break;case"const":e="must be equal to constant";break;case"contains":e="must contain a valid item";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+="-nak kell legyen",t>1&&(e+="ek"),e+=" a következő tulajdonsága",1!=t&&(e+="i"),e+=": "+r.params.deps+", ha van "+r.params.property+" tulajdonsága";break;case"discriminator":switch(r.params.error){case"tag":e='tag "'+r.params.tag+'" must be string';break;case"mapping":e='value of tag "'+r.params.tag+'" must be in oneOf';break;default:e='must pass "'+r.keyword+'" keyword validation'}break;case"enum":e="egyenlő kell legyen valamely előre meghatározott értékkel";break;case"false schema":e="boolean schema is false";break;case"format":e='meg kell feleljen a következő formátumnak: "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="must be "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="must be "+(r.params.comparison+" "+r.params.limit);break;case"if":e='must match "'+r.params.failingKeyword+'" schema';break;case"maximum":case"exclusiveMaximum":e="",e+="kell legyen "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+="nem lehet több, mint "+(t=r.params.limit)+" eleme";break;case"maxLength":e="",e+="nem lehet hosszabb, mint "+(t=r.params.limit)+" szimbólum";break;case"maxProperties":e="",e+="nem lehet több, mint "+(t=r.params.limit)+" tulajdonsága";break;case"minimum":case"exclusiveMinimum":e="",e+="kell legyen "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+="nem lehet kevesebb, mint "+(t=r.params.limit)+" eleme";break;case"minLength":e="",e+="nem lehet rövidebb, mint "+(t=r.params.limit)+" szimbólum";break;case"minProperties":e="",e+="nem lehet kevesebb, mint "+(t=r.params.limit)+" tulajdonsága";break;case"multipleOf":e="a többszöröse kell legyen a következő számnak: "+r.params.multipleOf;break;case"not":e='nem lehet érvényes a "not" alaknak megfelelően';break;case"oneOf":e='meg kell feleljen pontosan egy "oneOf" alaknak';break;case"pattern":e='meg kell feleljen a következő mintának: "'+r.params.pattern+'"';break;case"patternRequired":e='must have property matching pattern "'+r.params.missingPattern+'"';break;case"propertyNames":e="property name is invalid";break;case"required":e="kell legyen "+r.params.missingProperty+" tulajdonsága";break;case"type":e=r.params.type+" kell legyen";break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=r.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="nem lehetnek azonos elemei ("+r.params.j+" és "+r.params.i+" elemek azonosak)";break;default:e='must pass "'+r.keyword+'" keyword validation'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+=" tidak boleh memiliki lebih dari "+(t=r.params.limit)+" item";break;case"additionalProperties":e="tidak boleh memiliki properti tambahan";break;case"anyOf":e='harus cocok dengan beberapa skema pada "anyOf"';break;case"const":e="harus sama dengan konstan";break;case"contains":e="harus berisi item yang valid";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+=" harus memiliki properti "+r.params.deps+" ketika properti "+r.params.property+" hadir";break;case"discriminator":switch(r.params.error){case"tag":e='tag "'+r.params.tag+'" must be string';break;case"mapping":e='value of tag "'+r.params.tag+'" must be in oneOf';break;default:e='harus lulus validasi kata kunci "'+r.keyword+'"'}break;case"enum":e="harus sama dengan salah satu dari nilai yang telah ditentukan";break;case"false schema":e="skema boolean salah";break;case"format":e='harus cocok dengan format "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="harus "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="harus "+(r.params.comparison+" "+r.params.limit);break;case"if":e='harus cocok dengan skema "'+r.params.failingKeyword+'"';break;case"maximum":case"exclusiveMaximum":e="",e+="harus "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+=" tidak boleh memiliki lebih dari "+(t=r.params.limit)+" item";break;case"maxLength":e="",e+=" tidak boleh lebih dari "+(t=r.params.limit)+" karakter";break;case"maxProperties":e="",e+=" tidak boleh memiliki lebih dari "+(t=r.params.limit)+" properti";break;case"minimum":case"exclusiveMinimum":e="",e+="harus "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+=" tidak boleh kurang dari "+(t=r.params.limit)+" item";break;case"minLength":e="",e+=" tidak boleh lebih pendek dari "+(t=r.params.limit)+" karakter";break;case"minProperties":e="",e+=" tidak boleh kurang dari "+(t=r.params.limit)+" properti";break;case"multipleOf":e="harus merupakan kelipatan dari "+r.params.multipleOf;break;case"not":e='tidak boleh valid sesuai dengan skema pada "not"';break;case"oneOf":e='harus sama persis dengan satu skema pada "oneOf"';break;case"pattern":e='harus cocok dengan pola "'+r.params.pattern+'"';break;case"patternRequired":e='harus memiliki pola pencocokan properti "'+r.params.missingPattern+'"';break;case"propertyNames":e="nama properti tidak valid";break;case"required":e="harus memiliki properti "+r.params.missingProperty;break;case"type":e="harus berupa "+r.params.type;break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=r.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="tidak boleh memiliki item duplikat (item ## "+r.params.j+" dan "+r.params.i+" identik)";break;default:e='harus lulus validasi kata kunci "'+r.keyword+'"'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="non dovrebbe avere più di "+(t=r.params.limit)+" element",e+=1==t?"o":"i";break;case"additionalProperties":e="non deve avere attributi aggiuntivi";break;case"anyOf":e='deve corrispondere ad uno degli schema in "anyOf"';break;case"const":e="deve essere uguale alla costante";break;case"contains":e="deve contentere un elemento valido";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+="dovrebbe avere ",e+=1==t?"l'":"gli ",e+="attribut",e+=1==t?"o":"i",e+=" "+r.params.deps+" quando l'attributo "+r.params.property+" è presente";break;case"discriminator":switch(r.params.error){case"tag":e='il tag "'+r.params.tag+'" deve essere di tipo stringa';break;case"mapping":e='il valore del tag "'+r.params.tag+'" deve essere nei oneOf';break;default:e='deve essere valido secondo il criterio "'+r.keyword+'"'}break;case"enum":e="deve essere uguale ad uno dei valori consentiti";break;case"false schema":e="lo schema booleano è falso";break;case"format":e='deve corrispondere al formato "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="deve essere "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="deve essere "+(r.params.comparison+" "+r.params.limit);break;case"if":e='deve corrispondere allo schema "'+r.params.failingKeyword+'"';break;case"maximum":case"exclusiveMaximum":e="",e+="deve essere "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+="non deve avere più di "+(t=r.params.limit)+" element",e+=1==t?"o":"i";break;case"maxLength":e="",e+="non deve essere più lungo di "+(t=r.params.limit)+" caratter",e+=1==t?"e":"i";break;case"maxProperties":e="",e+="non deve avere più di "+(t=r.params.limit)+" attribut",e+=1==t?"o":"i";break;case"minimum":case"exclusiveMinimum":e="",e+="deve essere "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+="non deve avere meno di "+(t=r.params.limit)+" element",e+=1==t?"o":"i";break;case"minLength":e="",e+="non deve essere meno lungo di "+(t=r.params.limit)+" caratter",e+=1==t?"e":"i";break;case"minProperties":e="",e+="non deve avere meno di "+(t=r.params.limit)+" attribut",e+=1==t?"o":"i";break;case"multipleOf":e="deve essere un multiplo di "+r.params.multipleOf;break;case"not":e='non deve essere valido in base allo schema di "non"';break;case"oneOf":e='deve corrispondere esattamente ad uno degli schema in "oneOf"';break;case"pattern":e='deve corrispondere al formato "'+r.params.pattern+'"';break;case"patternRequired":e='deve avere un attributo che corrisponda al formato "'+r.params.missingPattern+'"';break;case"propertyNames":e="il nome dell'attritbuto non è valido";break;case"required":e="deve avere l'attributo obbligatorio "+r.params.missingProperty;break;case"type":e="deve essere di tipo "+r.params.type;break;case"unevaluatedItems":e="",e+="non deve avere più di "+(t=r.params.len)+" elementi",e+=1==t?"o":"i";break;case"unevaluatedProperties":e="non deve avere attributi non valutati";break;case"uniqueItems":e="non deve avere duplicati (gli elementi ## "+r.params.j+" e "+r.params.i+" sono uguali)";break;default:e='deve essere valido secondo il criterio "'+r.keyword+'"'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="は"+(t=r.params.limit)+"以上あってはいけない";break;case"additionalProperties":e="追加してはいけない";break;case"anyOf":e='"anyOf"のスキーマとマッチしなくてはいけない';break;case"const":e="must be equal to constant";break;case"contains":e="must contain a valid item";break;case"dependencies":case"dependentRequired":e=r.params.property+"がある場合、";var t=r.params.depsCount;e+="は"+r.params.deps+"をつけなければいけない";break;case"discriminator":switch(r.params.error){case"tag":e='tag "'+r.params.tag+'" must be string';break;case"mapping":e='value of tag "'+r.params.tag+'" must be in oneOf';break;default:e='must pass "'+r.keyword+'" keyword validation'}break;case"enum":e="事前に定義された値のいずれかに等しくなければいけない";break;case"false schema":e="boolean schema is false";break;case"format":e='"'+r.params.format+'"形式に揃えなければいけない';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="must be "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="must be "+(r.params.comparison+" "+r.params.limit);break;case"if":e='must match "'+r.params.failingKeyword+'" schema';break;case"maximum":case"exclusiveMaximum":e="",e+=r.params.comparison+" "+r.params.limit+"でなければいけない";break;case"maxItems":e="",e+="は"+(t=r.params.limit)+"個以上であってはいけない";break;case"maxLength":e="",e+="は"+(t=r.params.limit)+"文字以上であってはいけない";break;case"maxProperties":e="",e+="は"+(t=r.params.limit)+"個以上のプロパティを有してはいけない";break;case"minimum":case"exclusiveMinimum":e="",e+=r.params.comparison+" "+r.params.limit+"でなければいけない";break;case"minItems":e="",e+="は"+(t=r.params.limit)+"個以下であってはいけない";break;case"minLength":e="",e+="は"+(t=r.params.limit)+"文字以下であってはいけない";break;case"minProperties":e="",e+="は"+(t=r.params.limit)+"個以下のプロパティを有してはいけない";break;case"multipleOf":e=r.params.multipleOf+"の倍数でなければいけない";break;case"not":e='"not"のスキーマに従って有効としてはいけない';break;case"oneOf":e='"oneOf"のスキーマと完全に一致しなくてはいけない';break;case"pattern":e='"'+r.params.pattern+'"のパターンと一致しなければいけない';break;case"patternRequired":e='must have property matching pattern "'+r.params.missingPattern+'"';break;case"propertyNames":e="property name is invalid";break;case"required":e="必要なプロパティ"+r.params.missingProperty+"がなければいけない";break;case"type":e=r.params.type+"でなければいけない";break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=r.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="重複するアイテムがあってはいけない("+r.params.j+"と"+r.params.i+"は同じである)";break;default:e='must pass "'+r.keyword+'" keyword validation'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const t of e){let e;switch(t.keyword){case"additionalItems":case"items":e="",e+=" 항목은 아이템을 "+t.params.limit+"개 이상 가질 수 없습니다";break;case"additionalProperties":e="추가적인 속성은 허용되지 않습니다";break;case"anyOf":e='"anyOf"의 스키마와 일치해야 합니다';break;case"const":e="상수와 같아야합니다";break;case"contains":e="올바른 아이템을 포함해야 합니다";break;case"dependencies":case"dependentRequired":e="";t.params.depsCount;e+=t.params.property+"속성이 있는 경우, "+t.params.deps+" 속성이 있어야합니다";break;case"discriminator":switch(t.params.error){case"tag":e='"'+t.params.tag+'"태그는 반드시 문자열이여야 합니다';break;case"mapping":e='"'+t.params.tag+'"태그의 값은 반드시 oneOf에 있어야 합니다';break;default:e='"'+t.keyword+'"키워드 검사를 통과해야 합니다'}break;case"enum":e="미리 정의된 값중 하나여야 합니다";break;case"false schema":e="boolean 스키마는 올바르지 않습니다";break;case"format":e='"'+t.params.format+'" 포맷과 일치해야 합니다';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+=" "+(t.params.comparison+" "+t.params.limit)+" 이여야 합니다";break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+=" "+(t.params.comparison+" "+t.params.limit)+" 이여야 합니다";break;case"if":e='"'+t.params.failingKeyword+'" 스키마와 일치해야 합니다';break;case"maximum":case"exclusiveMaximum":e="",e+=" "+(t.params.comparison+" "+t.params.limit)+" 이여야 합니다";break;case"maxItems":e="",e+="아이템이 최대 "+t.params.limit+"개이여야 합니다";break;case"maxLength":e="",e+="최대 "+t.params.limit+"글자여야 합니다";break;case"maxProperties":e="",e+="속성은 최대 "+t.params.limit+"개 이내여야 합니다";break;case"minimum":case"exclusiveMinimum":e="",e+=" "+(t.params.comparison+" "+t.params.limit)+" 이여야 합니다";break;case"minItems":e="",e+="아이템이 최소 "+t.params.limit+"개이여야 합니다";break;case"minLength":e="",e+="최소 "+t.params.limit+"글자여야 합니다";break;case"minProperties":e="",e+="속성은 최소 "+t.params.limit+"개 이상이여야 합니다";break;case"multipleOf":e=t.params.multipleOf+"의 배수여야 합니다";break;case"not":e='"not"스키마에 따라 유효하지 않아야 합니다';break;case"oneOf":e='"oneOf" 스키마중 하나와 정확하게 일치해야 합니다';break;case"pattern":e='"'+t.params.pattern+'"패턴과 일치해야 합니다';break;case"patternRequired":e='"'+t.params.missingPattern+'"패턴과 일치하는 속성을 가져야 합니다';break;case"propertyNames":e="속성명이 올바르지 않습니다";break;case"required":e=t.params.missingProperty+" 속성은 필수입니다";break;case"type":e=t.params.type+"이여야 합니다";break;case"unevaluatedItems":e="",e+="항목이 "+t.params.len+"개 아이템을 초과하면 안됩니다";break;case"unevaluatedProperties":e="평가되지 않은 속성이 없어야합니다.";break;case"uniqueItems":e="중복 아이템이 없어야 합니다 (아이템"+t.params.j+"과 아이템"+t.params.i+"가 동일합니다)";break;default:e='"'+t.keyword+'"키워드 검사를 통과해야 합니다'}t.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const a of e){let e;switch(a.keyword){case"additionalItems":case"items":e="",e+="kan ikke ha mer enn "+(t=a.params.limit)+" element",1!=t&&(e+="er");break;case"additionalProperties":e="kan ikke ha flere egenskaper";break;case"anyOf":e='må samsvare med et schema i "anyOf"';break;case"const":e="må være lik konstanten";break;case"contains":e="må inneholde et gyldig element";break;case"dependencies":case"dependentRequired":e="";var t=a.params.depsCount;e+="må ha egenskapen",1!=t&&(e+="e"),e+=" "+a.params.deps+" når egenskapen "+a.params.property+" er angitt";break;case"discriminator":switch(a.params.error){case"tag":e='tag "'+a.params.tag+'" must be string';break;case"mapping":e='value of tag "'+a.params.tag+'" must be in oneOf';break;default:e="må samsvare med valideringen for "+a.keyword}break;case"enum":e="må være lik en av de forhåndsdefinerte verdiene";break;case"false schema":e="boolsk schema er usannt";break;case"format":e='må stemme overens med formatet "'+a.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="må være "+(a.params.comparison+" "+a.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="må være "+(a.params.comparison+" "+a.params.limit);break;case"if":e='must match "'+a.params.failingKeyword+'" schema';break;case"maximum":case"exclusiveMaximum":e="",e+="må være "+(a.params.comparison+" "+a.params.limit);break;case"maxItems":e="",e+="kan ikke ha fler enn "+(t=a.params.limit)+" element",1!=t&&(e+="er");break;case"maxLength":e="",e+="kan ikke være lengre enn "+(t=a.params.limit)+" tegn";break;case"maxProperties":e="",e+="kan ikke ha mer enn "+(t=a.params.limit)+" egenskap",1!=t&&(e+="er");break;case"minimum":case"exclusiveMinimum":e="",e+="må være "+(a.params.comparison+" "+a.params.limit);break;case"minItems":e="",e+="kan ikke ha færre enn "+(t=a.params.limit)+" element",1!=t&&(e+="er");break;case"minLength":e="",e+="kan ikke være kortere enn "+(t=a.params.limit)+" tegn";break;case"minProperties":e="",e+="kan ikke ha mindre enn "+(t=a.params.limit)+" egenskap",1!=t&&(e+="er");break;case"multipleOf":e="må være et multiplum av "+a.params.multipleOf;break;case"not":e='kan ikke samsvare med schema i "not"';break;case"oneOf":e='må samsvare med nøyaktig ett schema i "oneOf"';break;case"pattern":e='må samsvare med mønsteret "'+a.params.pattern+'"';break;case"patternRequired":e='må ha en egenskap som samsvarer med mønsteret "'+a.params.missingPattern;break;case"propertyNames":e="egenskapen med navnet '",a.params.propertyNameout+="' er ugyldig";break;case"required":e="må ha den påkrevde egenskapen "+a.params.missingProperty;break;case"type":e="";var r=a.params.type;e+="må være ",e+="number"==r?"et tall":"integer"==r?"et heltall":"string"==r?"en streng":"boolean"==r?"ja eller nei":r;break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=a.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="kan ikke ha duplikate elemeneter (elementene ## "+a.params.j+" og "+a.params.i+" er identiske)";break;default:e="må samsvare med valideringen for "+a.keyword}a.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const a of e){let e;switch(a.keyword){case"additionalItems":case"items":e="",e+="mag niet meer dan "+(t=a.params.limit)+" item",1!=t&&(e+="s"),e+=" bevatten";break;case"additionalProperties":e="mag geen extra eigenschappen bevatten";break;case"anyOf":e='moet overeenkomen met een schema in "anyOf"';break;case"const":e="moet gelijk zijn aan constante";break;case"contains":e="moet een geldig item bevatten";break;case"dependencies":case"dependentRequired":e="";var t=a.params.depsCount;e+="moet de eigenschap",1!=t&&(e+="pen"),e+=" "+a.params.deps+" bevatten als "+a.params.property+" is gedefinieerd";break;case"discriminator":switch(a.params.error){case"tag":e='tag "'+a.params.tag+'" moet een tekenreeks zijn';break;case"mapping":e='de waarde van het veld "'+a.params.tag+'" moet voorkomen in de oneOf';break;default:e='moet sleutelwoord validatie "'+a.keyword+'" doorstaan'}break;case"enum":e="moet overeenkomen met één van de voorgedefinieerde waarden";break;case"false schema":e="boolean schema is fout";break;case"format":e='moet overeenkomen met het volgende formaat: "'+a.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="moet "+(a.params.comparison+" "+a.params.limit)+" zijn";break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="moet "+(a.params.comparison+" "+a.params.limit)+" zijn";break;case"if":e='moet overeenkomen met "'+a.params.failingKeyword+'" schema';break;case"maximum":case"exclusiveMaximum":e="",e+="moet "+(a.params.comparison+" "+a.params.limit)+" zijn";break;case"maxItems":e="",e+="mag niet meer dan "+(t=a.params.limit)+" item",1!=t&&(e+="s"),e+=" bevatten";break;case"maxLength":e="",e+="mag niet langer dan "+(t=a.params.limit)+" karakter",1!=t&&(e+="s"),e+=" zijn";break;case"maxProperties":e="",e+="mag niet meer dan "+(t=a.params.limit)+" eigenschap",1!=t&&(e+="pen"),e+=" bevatten";break;case"minimum":case"exclusiveMinimum":e="",e+="moet "+(a.params.comparison+" "+a.params.limit)+" zijn";break;case"minItems":e="",e+="mag niet minder dan "+(t=a.params.limit)+" item",1!=t&&(e+="s"),e+=" bevatten";break;case"minLength":e="",e+="mag niet korter dan "+(t=a.params.limit)+" karakter",1!=t&&(e+="s"),e+=" zijn";break;case"minProperties":e="",e+="mag niet minder dan "+(t=a.params.limit)+" eigenschap",1!=t&&(e+="pen"),e+=" bevatten";break;case"multipleOf":e="moet een veelvoud van "+a.params.multipleOf+" zijn";break;case"not":e='mag niet overeenkomen met een schema in "not"';break;case"oneOf":e='moet overeenkomen met één schema in "oneOf"';break;case"pattern":e='moet overeenkomen met het volgende patroon: "'+a.params.pattern+'"';break;case"patternRequired":e='moet een eigenschap bevatten die overeenkomt met het pattroon: "'+a.params.missingPattern+'"';break;case"propertyNames":e="eigenschapnaam is ongeldig";break;case"required":e="moet de eigenschap "+a.params.missingProperty+" bevatten";break;case"type":e="";var r=a.params.type;e+="moet een ","number"==r?e+="nummer":"integer"==r?e+="geheel getal":"string"==r?e+="tekenreeks":"boolean"==r&&(e+="ja of nee waarde"),e+=" ("+r+") bevatten";break;case"unevaluatedItems":e="",e+="mag niet meer dan "+(t=a.params.len)+" item",1!=t&&(e+="s"),e+=" bevatten";break;case"unevaluatedProperties":e="mag geen ongecontroleerde eigenschappen bevatten";break;case"uniqueItems":e="mag geen gedupliceerde items bevatten (items ## "+a.params.j+" en "+a.params.i+" zijn identiek)";break;default:e='moet sleutelwoord validatie "'+a.keyword+'" doorstaan'}a.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="nie powinien mieć więcej niż "+(t=r.params.limit)+" element",e+=1==t?"u":"ów";break;case"additionalProperties":e="nie powinien zawierać dodatkowych pól";break;case"anyOf":e='powinien pasować do wzoru z sekcji "anyOf"';break;case"const":e="powinien być równy stałej";break;case"contains":e="must contain a valid item";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+="powinien zawierać pol",e+=1==t?"e":"a",e+=" "+r.params.deps+" kiedy pole "+r.params.property+" jest obecne";break;case"discriminator":switch(r.params.error){case"tag":e='tag "'+r.params.tag+'" must be string';break;case"mapping":e='value of tag "'+r.params.tag+'" must be in oneOf';break;default:e='powinien przejść walidację "'+r.keyword+'"'}break;case"enum":e="powinien być równy jednej z predefiniowanych wartości";break;case"false schema":e="boolean schema is false";break;case"format":e='powinien zgadzać się z formatem "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="powinien być "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="powinien być "+(r.params.comparison+" "+r.params.limit);break;case"if":e='must match "'+r.params.failingKeyword+'" schema';break;case"maximum":case"exclusiveMaximum":e="",e+="powinien być "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+="nie powinien mieć więcej niż "+(t=r.params.limit)+" element",e+=1==t?"u":"ów";break;case"maxLength":e="",e+="nie powinien być dłuższy niż "+(t=r.params.limit)+" znak",1!=t&&(e+="ów");break;case"maxProperties":e="",e+="nie powinien zawierać więcej niż "+(t=r.params.limit)+" ",e+=1==t?"pole":"pól";break;case"minimum":case"exclusiveMinimum":e="",e+="powinien być "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+="nie powinien mieć mniej niż "+(t=r.params.limit)+" element",e+=1==t?"u":"ów";break;case"minLength":e="",e+="nie powinien być krótszy niż "+(t=r.params.limit)+" znak",1!=t&&(e+="ów");break;case"minProperties":e="",e+="nie powinien zawierać mniej niż "+(t=r.params.limit)+" ",e+=1==t?"pole":"pól";break;case"multipleOf":e="powinien być wielokrotnością "+r.params.multipleOf;break;case"not":e='nie powinien pasować do wzoru z sekcji "not"';break;case"oneOf":e='powinien pasować do jednego wzoru z sekcji "oneOf"';break;case"pattern":e='powinien zgadzać się ze wzorem "'+r.params.pattern+'"';break;case"patternRequired":e='powinien mieć pole pasujące do wzorca "'+r.params.missingPattern+'"';break;case"propertyNames":e="property name is invalid";break;case"required":e="powinien zawierać wymagane pole "+r.params.missingProperty;break;case"type":e="powinien być "+r.params.type;break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=r.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="nie powinien zawierać elementów które się powtarzają (elementy "+r.params.j+" i "+r.params.i+" są identyczne)";break;default:e='powinien przejść walidację "'+r.keyword+'"'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const a of e){let e;switch(a.keyword){case"additionalItems":case"items":e="não são permitidos itens adicionais (mais do que "+t+")";break;case"additionalProperties":e="não são permitidas propriedades adicionais";break;case"anyOf":e='os dados não correspondem a nenhum schema de "anyOf"';break;case"const":e="deve ser igual à constante";break;case"contains":e="deve conter um item válido";break;case"dependencies":case"dependentRequired":e="";var t=a.params.depsCount;e+=" deve ter propriedade",1!=t&&(e+="s"),e+=" "+a.params.deps+" quando a propriedade "+a.params.property+" estiver presente";break;case"discriminator":switch(a.params.error){case"tag":e='a tag "'+a.params.tag+'" deve ser uma string';break;case"mapping":e='o valor da tag "'+a.params.tag+'" deve estar no oneOf';break;default:e='deve passar a validação da keyword "'+a.keyword+'"'}break;case"enum":e="deve ser igual a um dos valores permitidos";break;case"false schema":e='o schema booleano é "false"';break;case"format":e='deve corresponder ao formato "'+a.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="deve ser "+(a.params.comparison+" "+a.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="deve ser "+(a.params.comparison+" "+a.params.limit);break;case"if":e='deve corresponder ao schema "'+a.params.failingKeyword+'"';break;case"maximum":case"exclusiveMaximum":e="",e+="deve ser "+(a.params.comparison+" "+a.params.limit);break;case"maxItems":e="",e+="não deve ter mais que "+(t=a.params.limit)+" elemento",1!=t&&(e+="s");break;case"maxLength":e="",e+="não deve ser maior que "+(t=a.params.limit)+" caracter",1!=t&&(e+="es");break;case"maxProperties":e="",e+="não deve ter mais que "+(t=a.params.limit)+" propriedade",1!=t&&(e+="s");break;case"minimum":case"exclusiveMinimum":e="",e+="deve ser "+(a.params.comparison+" "+a.params.limit);break;case"minItems":e="",e+="não deve ter menos que "+(t=a.params.limit)+" elemento",1!=t&&(e+="s");break;case"minLength":e="",e+="não deve ser mais curta que "+(t=a.params.limit)+" caracter",1!=t&&(e+="es");break;case"minProperties":e="",e+="não deve ter menos que "+(t=a.params.limit)+" propriedade",1!=t&&(e+="s");break;case"multipleOf":e="deve ser múltiplo de "+a.params.multipleOf;break;case"not":e='não deve ser valido segundo o schema em "not"';break;case"oneOf":e='deve corresponder exatamente com um schema em "oneOf"';break;case"pattern":e='deve corresponder ao padrão "'+a.params.pattern+'"';break;case"patternRequired":e='deve ter a propriedade correspondente ao padrão "'+a.params.missingPattern+'"';break;case"propertyNames":e="o nome da propriedade é inválido";break;case"required":e="deve ter a propriedade obrigatória "+a.params.missingProperty;break;case"type":e="";var r=a.params.type;e+="deve ser ",e+="number"==r?"um número":"integer"==r?"um número inteiro":"string"==r?"um texto":"boolean"==r?"um booleano":r;break;case"unevaluatedItems":e="",e+="não pode possuir mais que "+(t=a.params.len)+" ",e+=1==t?"item":"itens";break;case"unevaluatedProperties":e="não pode possuir propridades não avaliadas";break;case"uniqueItems":e="não deve ter itens duplicados (os itens ## "+a.params.j+" e "+a.params.i+" são idênticos)";break;default:e='deve passar a validação da keyword "'+a.keyword+'"'}a.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="должно иметь не более, чем "+(t=r.params.limit)+" элемент",t>=2&&t<=4?e+="а":1!=t&&(e+="ов");break;case"additionalProperties":e="не должно иметь дополнительных полей";break;case"anyOf":e='должно соответствовать одной их схем в "anyOf"';break;case"const":e="должно быть равно заданному значению";break;case"contains":e="должно содержать значение соответствующее схеме";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+="должно иметь пол",e+=1==t?"е":"я",e+=" "+r.params.deps+", когда присутствует поле "+r.params.property;break;case"discriminator":switch(r.params.error){case"tag":e='поле "'+r.params.tag+'" должно быть строкой';break;case"mapping":e='значение поля "'+r.params.tag+'" должно быть в одной из oneOf схем ';break;default:e='должно соответствовать правилу "'+r.keyword+'"'}break;case"enum":e="должно быть равно одному из разрешенных значений";break;case"false schema":e="схема равна false";break;case"format":e='должно соответствовать формату "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="должно быть "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="должно быть "+(r.params.comparison+" "+r.params.limit);break;case"if":e='должно соответствовать схемe "'+r.params.failingKeyword+'"';break;case"maximum":case"exclusiveMaximum":e="",e+="должно быть "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+="должно иметь не более, чем "+(t=r.params.limit)+" элемент",t>=2&&t<=4?e+="а":1!=t&&(e+="ов");break;case"maxLength":e="",e+="должно быть не длиннее, чем "+(t=r.params.limit)+" символ",t>=2&&t<=4?e+="а":1!=t&&(e+="ов");break;case"maxProperties":e="",e+="должно иметь не более, чем "+(t=r.params.limit)+" пол",e+=1==t?"е":t>=2&&t<=4?"я":"ей";break;case"minimum":case"exclusiveMinimum":e="",e+="должно быть "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+="должно иметь не менее, чем "+(t=r.params.limit)+" элемент",t>=2&&t<=4?e+="а":1!=t&&(e+="ов");break;case"minLength":e="",e+="должно быть не короче, чем "+(t=r.params.limit)+" символ",t>=2&&t<=4?e+="а":1!=t&&(e+="ов");break;case"minProperties":e="",e+="должно иметь не менее, чем "+(t=r.params.limit)+" пол",e+=1==t?"е":t>=2&&t<=4?"я":"ей";break;case"multipleOf":e="должно быть кратным "+r.params.multipleOf;break;case"not":e='должно не соответствовать схеме в "not"';break;case"oneOf":e='должно соответствовать в точности одной схемe в "oneOf"';break;case"pattern":e='должно соответствовать образцу "'+r.params.pattern+'"';break;case"patternRequired":e='должно иметь поле, соответствующее образцу "'+r.params.missingPattern+'"';break;case"propertyNames":e="имя поля не соответствует схеме";break;case"required":e="должно иметь обязательное поле "+r.params.missingProperty;break;case"type":e="должно быть "+r.params.type;break;case"unevaluatedItems":e="",e+="должно иметь не более, чем "+(t=r.params.len)+" элемент",t>=2&&t<=4?e+="а":1!=t&&(e+="ов");break;case"unevaluatedProperties":e="не должно иметь непроверенных полей";break;case"uniqueItems":e="не должно иметь повторяющихся элементов (элементы "+r.params.j+" и "+r.params.i+" идентичны)";break;default:e='должно соответствовать правилу "'+r.keyword+'"'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="nemôže obsahovať viac, než "+(t=r.params.limit)+" prv",e+=1==t?"ok":"kov";break;case"additionalProperties":e="nemôže obsahovať ďalšie položky";break;case"anyOf":e='musí splňovať aspoň jednu zo schém v "anyOf"';break;case"const":e="musí byť konštanta";break;case"contains":e="musí obsahovať prvok zodpovedajúci schéme";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+=" musí obsahovať polož",e+=t>=2&&t<=4?"ky":1!=t?"iek":"ka",e+=": "+r.params.deps+", ak obsahuje "+r.params.property;break;case"discriminator":switch(r.params.error){case"tag":e='tag "'+r.params.tag+'" must be string';break;case"mapping":e='value of tag "'+r.params.tag+'" must be in oneOf';break;default:e='musí splniť "'+r.keyword+'" validáciu'}break;case"enum":e="musí byť jedna z definovaných hodnôt";break;case"false schema":e="schéma je false";break;case"format":e='musí obsahovať formát "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="musí byť "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="musí byť "+(r.params.comparison+" "+r.params.limit);break;case"if":e='must match "'+r.params.failingKeyword+'" schema';break;case"maximum":case"exclusiveMaximum":e="",e+="musí byť "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+="nesmie obsahovať viac než "+(t=r.params.limit)+" prv",e+=1==t?"ok":"kov";break;case"maxLength":e="",e+="nesmie byť dlhší než "+(t=r.params.limit)+" znak",1!=t&&(e+="ov");break;case"maxProperties":e="",e+="nesmie obsahovať viac než "+(t=r.params.limit)+" polož",e+=t>=2&&t<=4?"ky":1!=t?"iek":"ka";break;case"minimum":case"exclusiveMinimum":e="",e+="musí byť "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+="nesmie obsahovať menej než "+(t=r.params.limit)+" prv",e+=1==t?"ok":"kov";break;case"minLength":e="",e+="nesmie byť kratší než "+(t=r.params.limit)+" znak",1!=t&&(e+="ov");break;case"minProperties":e="",e+="nesmie obsahovať menej než "+(t=r.params.limit)+" polož",e+=t>=2&&t<=4?"ky":1!=t?"iek":"ka";break;case"multipleOf":e="musí byť násobkom "+r.params.multipleOf;break;case"not":e='nesmie splňovať schému v "not"';break;case"oneOf":e='musí splňovať práve jednu schému v "oneOf"';break;case"pattern":e='musí splňovať regulárny výraz "'+r.params.pattern+'"';break;case"patternRequired":e='musí obsahovať položku splňjúcu regulárny výraz "'+r.params.missingPattern+'"';break;case"propertyNames":e="názov položky nezodpovedá schéme";break;case"required":e="musí obsahovať požadovanú položku "+r.params.missingProperty;break;case"type":e="musí byť "+r.params.type;break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=r.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="nesmie obsahovať duplicitné prvky (prvky ## "+r.params.j+" a "+r.params.i+" sú rovnaké)";break;default:e='musí splniť "'+r.keyword+'" validáciu'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const r of e){let e;switch(r.keyword){case"additionalItems":case"items":e="",e+="borde ha fler än "+(t=r.params.limit)+" sak",1!=t&&(e+="er");break;case"additionalProperties":e="borde inte ha fler egenskaper";break;case"anyOf":e='borde matcha något schema i "anyOf"';break;case"const":e="bör vara en konstant";break;case"contains":e="bör innehålla ett giltigt objekt";break;case"dependencies":case"dependentRequired":e="";var t=r.params.depsCount;e+="borde ha egenskap",1!=t&&(e+="er"),e+=" "+r.params.deps+" när egenskap "+r.params.property+" finns tillgängligt";break;case"discriminator":switch(r.params.error){case"tag":e='tag "'+r.params.tag+'" must be string';break;case"mapping":e='value of tag "'+r.params.tag+'" must be in oneOf';break;default:e='bör passera "'+r.keyword+'" nyckelord validering'}break;case"enum":e="borde vara ekvivalent med en av dess fördefinierade värden";break;case"false schema":e="boolean schema är falskt";break;case"format":e='borde matcha formatet "'+r.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="bör vara "+(r.params.comparison+" "+r.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="bör vara "+(r.params.comparison+" "+r.params.limit);break;case"if":e='must match "'+r.params.failingKeyword+'" schema';break;case"maximum":case"exclusiveMaximum":e="",e+="borde vara "+(r.params.comparison+" "+r.params.limit);break;case"maxItems":e="",e+="borde inte ha fler än "+(t=r.params.limit)+" sak",1!=t&&(e+="er");break;case"maxLength":e="",e+="borde inte vara längre än "+(t=r.params.limit)+" tecken";break;case"maxProperties":e="",e+="borde inte ha fler än "+(t=r.params.limit)+" egenskap",1!=t&&(e+="er");break;case"minimum":case"exclusiveMinimum":e="",e+="borde vara "+(r.params.comparison+" "+r.params.limit);break;case"minItems":e="",e+="borde inte ha färre än "+(t=r.params.limit)+" sak",1!=t&&(e+="er");break;case"minLength":e="",e+="borde inte vara kortare än "+(t=r.params.limit)+" tecken";break;case"minProperties":e="",e+="borde inte ha färre än "+(t=r.params.limit)+" egenskap",1!=t&&(e+="er");break;case"multipleOf":e="borde vara en multipel av "+r.params.multipleOf;break;case"not":e='borde inte vara giltigt enligt schema i "not"';break;case"oneOf":e='borde matcha exakt ett schema i "oneOf"';break;case"pattern":e='borde matcha mönstret "'+r.params.pattern+'"';break;case"patternRequired":e='bör ha en egenskap som matchar mönstret "'+r.params.missingPattern+'"';break;case"propertyNames":e="egenskap med namnet är inte giltig";break;case"required":e="borde ha den nödvändiga egenskapen "+r.params.missingProperty;break;case"type":e="borde vara "+r.params.type;break;case"unevaluatedItems":e="",e+="must NOT have more than "+(t=r.params.len)+" item",1!=t&&(e+="s");break;case"unevaluatedProperties":e="must NOT have unevaluated properties";break;case"uniqueItems":e="borde inte ha duplicerade saker (sakerna ## "+r.params.j+" och "+r.params.i+" är identiska)";break;default:e='bör passera "'+r.keyword+'" nyckelord validering'}r.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const t of e){let e;switch(t.keyword){case"additionalItems":case"items":e="",e+="ต้องมีสมาชิกไม่เกิน "+t.params.limit+" ตัว";break;case"additionalProperties":e="ต้องไม่มี property อื่นๆ นอกเหนีอจากที่กำหนดไว้";break;case"anyOf":e='ต้องตรงกับหนึ่งใน schema ที่กำหนดไว้ใน "anyOf"';break;case"const":e="ต้องเท่ากับค่าคงที่";break;case"contains":e="ต้องมีสมาชิกที่ผ่านเงื่อนไขอยู่";break;case"dependencies":case"dependentRequired":e="";t.params.depsCount;e+="เมื่อมี property "+t.params.property+" แล้วจะต้องมี property "+t.params.deps+" ด้วย";break;case"discriminator":switch(t.params.error){case"tag":e='tag "'+t.params.tag+'" ต้องเป็น string';break;case"mapping":e='ต้องมีค่าของ tag "'+t.params.tag+'" ใน oneOf';break;default:e='ต้องผ่านคีย์เวิร์ด "'+t.keyword+'"'}break;case"enum":e="ต้องตรงกับหนึ่งในค่าที่กำหนดไว้";break;case"false schema":e="schema เป็น false";break;case"format":e='ต้องเป็นรูปแบบ "'+t.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="ต้อง "+(t.params.comparison+" "+t.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="ต้อง "+(t.params.comparison+" "+t.params.limit);break;case"if":e='ต้องตรงกับ schema "'+t.params.failingKeyword+'"';break;case"maximum":case"exclusiveMaximum":e="",e+="ต้อง "+(t.params.comparison+" "+t.params.limit);break;case"maxItems":e="",e+="ต้องมีสมาชิกไม่เกิน "+t.params.limit;break;case"maxLength":e="",e+="ต้องยาวไม่เกิน "+t.params.limit+" ตัวอักษร";break;case"maxProperties":e="",e+="ต้องมี property ไม่เกิน "+t.params.limit+" ตัว";break;case"minimum":case"exclusiveMinimum":e="",e+="ต้อง "+(t.params.comparison+" "+t.params.limit);break;case"minItems":e="",e+="ควรมีสมาชิกไม่น้อยกว่า "+t.params.limit;break;case"minLength":e="",e+="ต้องมีอย่างน้อย "+t.params.limit+" ตัวอักษร";break;case"minProperties":e="",e+="ต้องมี property อย่างน้อย "+t.params.limit+" ตัว";break;case"multipleOf":e="ต้องเป็นเลขที่หาร "+t.params.multipleOf+" ลงตัว";break;case"not":e='ต้องไม่ผ่าน schema ที่กำหนดไว้ใน "not"';break;case"oneOf":e='ต้องตรงกับ schema ตัวเดียวใน "oneOf" เท่านั้น';break;case"pattern":e='ต้องตรงตาม pattern "'+t.params.pattern+'"';break;case"patternRequired":e='ต้องมี property ที่มีชื่อตรงตาม pattern "'+t.params.missingPattern+'"';break;case"propertyNames":e="ชื่อ property ไม่ถูกต้อง";break;case"required":e="ต้องมี property "+t.params.missingProperty+" ด้วย";break;case"type":e="ต้องเป็น "+t.params.type;break;case"unevaluatedItems":e="",e+="ต้องมีไม่เกิน "+t.params.len+" ตัว";break;case"unevaluatedProperties":e="ต้องไม่มี property ที่ยังไม่ได้ผ่านการตรวจสอบเงื่อนไขใดๆ";break;case"uniqueItems":e="ต้องมีสมาชิกไม่ซ้ำักัน (ลำดับที่ "+t.params.j+" กับ "+t.params.i+" ซ้ำกัน)";break;default:e='ต้องผ่านคีย์เวิร์ด "'+t.keyword+'"'}t.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const t of e){let e;switch(t.keyword){case"additionalItems":case"items":e="",e+="不允许超过"+t.params.limit+"个元素";break;case"additionalProperties":e="不允许有额外的属性";break;case"anyOf":e="数据应为 anyOf 所指定的其中一个";break;case"const":e="应当等于常量";break;case"contains":e="应当包含一个有效项";break;case"dependencies":case"dependentRequired":e="";t.params.depsCount;e+="应当拥有属性"+t.params.property+"的依赖属性"+t.params.deps;break;case"discriminator":switch(t.params.error){case"tag":e='标签 "'+t.params.tag+'" 的类型必须为字符串';break;case"mapping":e='标签 "'+t.params.tag+'" 的值必须在 oneOf 之中';break;default:e='应当通过 "'+t.keyword+' 关键词校验"'}break;case"enum":e="应当是预设定的枚举值之一";break;case"false schema":e="布尔模式出错";break;case"format":e='应当匹配格式 "'+t.params.format+'"';break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="应当是 "+(t.params.comparison+" "+t.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="应当是 "+(t.params.comparison+" "+t.params.limit);break;case"if":e='应当匹配模式 "'+t.params.failingKeyword+'" ';break;case"maximum":case"exclusiveMaximum":e="",e+="应当为 "+(t.params.comparison+" "+t.params.limit);break;case"maxItems":e="",e+="不应多于 "+t.params.limit+" 个项";break;case"maxLength":e="",e+="不应多于 "+t.params.limit+" 个字符";break;case"maxProperties":e="",e+="不应有多于 "+t.params.limit+" 个属性";break;case"minimum":case"exclusiveMinimum":e="",e+="应当为 "+(t.params.comparison+" "+t.params.limit);break;case"minItems":e="",e+="不应少于 "+t.params.limit+" 个项";break;case"minLength":e="",e+="不应少于 "+t.params.limit+" 个字符";break;case"minProperties":e="",e+="不应有少于 "+t.params.limit+" 个属性";break;case"multipleOf":e="应当是 "+t.params.multipleOf+" 的整数倍";break;case"not":e='不应当匹配 "not" schema';break;case"oneOf":e='只能匹配一个 "oneOf" 中的 schema';break;case"pattern":e='应当匹配模式 "'+t.params.pattern+'"';break;case"patternRequired":e="应当有属性匹配模式 "+t.params.missingPattern;break;case"propertyNames":e="属性名 无效";break;case"required":e="应当有必需属性 "+t.params.missingProperty;break;case"type":e="应当是 "+t.params.type+" 类型";break;case"unevaluatedItems":e="",e+=" 不允许有超过 "+t.params.len+" 个元素";break;case"unevaluatedProperties":e="不允许存在未求值的属性";break;case"uniqueItems":e="不应当含有重复项 (第 "+t.params.j+" 项与第 "+t.params.i+" 项是重复的)";break;default:e='应当通过 "'+t.keyword+' 关键词校验"'}t.message=e}}},function(e,t,r){"use strict";e.exports=function(e){if(e&&e.length)for(const t of e){let e;switch(t.keyword){case"additionalItems":case"items":e="",e+="不可以超過"+t.params.limit+"個元素";break;case"additionalProperties":e="不可以有額外的屬性";break;case"anyOf":e="不符合 anyOf 指定的模式";break;case"const":e="應該等於常數";break;case"contains":e="應該包含一個有效元素";break;case"dependencies":case"dependentRequired":e="";t.params.depsCount;e+="應該要有屬性"+t.params.property+"的依賴屬性"+t.params.deps;break;case"discriminator":switch(t.params.error){case"tag":e='標籤 "'+t.params.tag+'" 的類型必須是字串';break;case"mapping":e='標籤 "'+t.params.tag+'" 必須在 oneOf 其中之一';break;default:e='應該通過 "'+t.keyword+' 關鍵詞檢驗"'}break;case"enum":e="應該要在預設的值之中";break;case"false schema":e="布林模式不正確";break;case"format":e="應該要符合"+t.params.format+"格式";break;case"formatMaximum":case"formatExclusiveMaximum":e="",e+="應該是 "+(t.params.comparison+" "+t.params.limit);break;case"formatMinimum":case"formatExclusiveMinimum":e="",e+="應該是 "+(t.params.comparison+" "+t.params.limit);break;case"if":e='應該符合 "'+t.params.failingKeyword+'" schema';break;case"maximum":case"exclusiveMaximum":e="",e+="應該要 "+(t.params.comparison+" "+t.params.limit);break;case"maxItems":e="",e+="不應該多於 "+t.params.limit+" 個";break;case"maxLength":e="",e+="不應該多於 "+t.params.limit+" 個字元";break;case"maxProperties":e="",e+="不應該多於 "+t.params.limit+" 個屬性";break;case"minimum":case"exclusiveMinimum":e="",e+="應該要 "+(t.params.comparison+" "+t.params.limit);break;case"minItems":e="",e+="不應該少於 "+t.params.limit+" 個";break;case"minLength":e="",e+="不應該少於 "+t.params.limit+" 個字元";break;case"minProperties":e="",e+="不應該少於 "+t.params.limit+" 個屬性";break;case"multipleOf":e="應該是 "+t.params.multipleOf+" 的整數倍";break;case"not":e='不應該符合 "not" schema';break;case"oneOf":e='只能符合一個 "oneOf" 中的 schema';break;case"pattern":e='應該符合模式 "'+t.params.pattern+'"';break;case"patternRequired":e="應該有屬性對應模式 "+t.params.missingPattern;break;case"propertyNames":e="属性名 無效";break;case"required":e="應該有必須屬性 "+t.params.missingProperty;break;case"type":e="應該是 "+t.params.type+" 類型";break;case"unevaluatedItems":e="",e+=" 的元素不可以超過 "+t.params.len+" 個";break;case"unevaluatedProperties":e="不應該有未驗證的屬性";break;case"uniqueItems":e="不應該有重複項目 (第 "+t.params.j+" 項和第 "+t.params.i+" 項是重複的)";break;default:e='應該通過 "'+t.keyword+' 關鍵詞檢驗"'}t.message=e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(181),n=r(182),s=r(0),o=new s.Name("fullFormats"),i=new s.Name("fastFormats"),c=(e,t={keywords:!0})=>{if(Array.isArray(t))return l(e,t,a.fullFormats,o),e;const[r,s]="fast"===t.mode?[a.fastFormats,i]:[a.fullFormats,o];return l(e,t.formats||a.formatNames,r,s),t.keywords&&n.default(e),e};function l(e,t,r,a){var n,o;null!==(n=(o=e.opts.code).formats)&&void 0!==n||(o.formats=s._`require("ajv-formats/dist/formats").${a}`);for(const a of t)e.addFormat(a,r[a])}c.get=(e,t="full")=>{const r=("fast"===t?a.fastFormats:a.fullFormats)[e];if(!r)throw new Error(`Unknown format "${e}"`);return r},e.exports=t=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c},function(e,t,r){"use strict";function a(e,t){return{validate:e,compare:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.formatNames=t.fastFormats=t.fullFormats=void 0,t.fullFormats={date:a(o,i),time:a(l,u),"date-time":a((function(e){const t=e.split(d);return 2===t.length&&o(t[0])&&l(t[1],!0)}),p),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:function(e){return m.test(e)&&f.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:function(e){if(b.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}},uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:function(e){return h.lastIndex=0,h.test(e)},int32:{type:"number",validate:function(e){return Number.isInteger(e)&&e<=v&&e>=g}},int64:{type:"number",validate:function(e){return Number.isInteger(e)}},float:{type:"number",validate:y},double:{type:"number",validate:y},password:!0,binary:!0},t.fastFormats={...t.fullFormats,date:a(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,i),time:a(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,u),"date-time":a(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,p),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},t.formatNames=Object.keys(t.fullFormats);const n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,s=[0,31,28,31,30,31,30,31,31,30,31,30,31];function o(e){const t=n.exec(e);if(!t)return!1;const r=+t[1],a=+t[2],o=+t[3];return a>=1&&a<=12&&o>=1&&o<=(2===a&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(r)?29:s[a])}function i(e,t){if(e&&t)return e>t?1:e<t?-1:0}const c=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function l(e,t){const r=c.exec(e);if(!r)return!1;const a=+r[1],n=+r[2],s=+r[3],o=r[5];return(a<=23&&n<=59&&s<=59||23===a&&59===n&&60===s)&&(!t||""!==o)}function u(e,t){if(!e||!t)return;const r=c.exec(e),a=c.exec(t);return r&&a?(e=r[1]+r[2]+r[3]+(r[4]||""))>(t=a[1]+a[2]+a[3]+(a[4]||""))?1:e<t?-1:0:void 0}const d=/t|\s/i;function p(e,t){if(!e||!t)return;const[r,a]=e.split(d),[n,s]=t.split(d),o=i(r,n);return void 0!==o?o||u(a,s):void 0}const m=/\/|:/,f=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;const h=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;const g=-(2**31),v=2**31-1;function y(){return!0}const b=/[^\\]\\Z/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatLimitDefinition=void 0;const a=r(183),n=r(0),s=n.operators,o={formatMaximum:{okStr:"<=",ok:s.LTE,fail:s.GT},formatMinimum:{okStr:">=",ok:s.GTE,fail:s.LT},formatExclusiveMaximum:{okStr:"<",ok:s.LT,fail:s.GTE},formatExclusiveMinimum:{okStr:">",ok:s.GT,fail:s.LTE}},i={message:({keyword:e,schemaCode:t})=>n.str`should be ${o[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>n._`{comparison: ${o[e].okStr}, limit: ${t}}`};t.formatLimitDefinition={keyword:Object.keys(o),type:"string",schemaType:"string",$data:!0,error:i,code(e){const{gen:t,data:r,schemaCode:s,keyword:i,it:c}=e,{opts:l,self:u}=c;if(!l.validateFormats)return;const d=new a.KeywordCxt(c,u.RULES.all.format.definition,"format");function p(e){return n._`${e}.compare(${r}, ${s}) ${o[i].fail} 0`}d.$data?function(){const r=t.scopeValue("formats",{ref:u.formats,code:l.code.formats}),a=t.const("fmt",n._`${r}[${d.schemaCode}]`);e.fail$data(n.or(n._`typeof ${a} != "object"`,n._`${a} instanceof RegExp`,n._`typeof ${a}.compare != "function"`,p(a)))}():function(){const r=d.schema,a=u.formats[r];if(!a||!0===a)return;if("object"!=typeof a||a instanceof RegExp||"function"!=typeof a.compare)throw new Error(`"${i}": format "${r}" does not define "compare" function`);const s=t.scopeValue("formats",{key:r,ref:a,code:l.code.formats?n._`${l.code.formats}${n.getProperty(r)}`:void 0});e.fail$data(p(s))}()},dependencies:["format"]};t.default=e=>(e.addKeyword(t.formatLimitDefinition),e)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const a=r(184),n=r(191),s=r(224),o=r(226),i=["/properties"],c="http://json-schema.org/draft-07/schema";class l extends a.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(s.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(o,i):o;this.addMetaSchema(e,c,!1),this.refs["http://json-schema.org/schema"]=c}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}}e.exports=t=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var u=r(16);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var d=r(0);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var a=r(16);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return a.KeywordCxt}});var n=r(0);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return n.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return n.CodeGen}});const s=r(47),o=r(48),i=r(45),c=r(49),l=r(0),u=r(20),d=r(19),p=r(4),m=r(190),f=["removeAdditional","useDefaults","coerceTypes"],h=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),g={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},v={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},y=200;function b(e){var t,r,a,n,s,o,i,c,l,u,d,p,m,f,h,g,v,b,k,_,w,$;const x=e.strict,E=null===(t=e.code)||void 0===t?void 0:t.optimize,S=!0===E||void 0===E?1:E||0;return{strictSchema:null===(a=null!==(r=e.strictSchema)&&void 0!==r?r:x)||void 0===a||a,strictNumbers:null===(s=null!==(n=e.strictNumbers)&&void 0!==n?n:x)||void 0===s||s,strictTypes:null!==(i=null!==(o=e.strictTypes)&&void 0!==o?o:x)&&void 0!==i?i:"log",strictTuples:null!==(l=null!==(c=e.strictTuples)&&void 0!==c?c:x)&&void 0!==l?l:"log",strictRequired:null!==(d=null!==(u=e.strictRequired)&&void 0!==u?u:x)&&void 0!==d&&d,code:e.code?{...e.code,optimize:S}:{optimize:S},loopRequired:null!==(p=e.loopRequired)&&void 0!==p?p:y,loopEnum:null!==(m=e.loopEnum)&&void 0!==m?m:y,meta:null===(f=e.meta)||void 0===f||f,messages:null===(h=e.messages)||void 0===h||h,inlineRefs:null===(g=e.inlineRefs)||void 0===g||g,schemaId:null!==(v=e.schemaId)&&void 0!==v?v:"$id",addUsedSchema:null===(b=e.addUsedSchema)||void 0===b||b,validateSchema:null===(k=e.validateSchema)||void 0===k||k,validateFormats:null===(_=e.validateFormats)||void 0===_||_,unicodeRegExp:null===(w=e.unicodeRegExp)||void 0===w||w,int32range:null===($=e.int32range)||void 0===$||$}}class k{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...b(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new l.ValueScope({scope:{},prefixes:h,es5:t,lines:r}),this.logger=function(e){if(!1===e)return P;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const a=e.validateFormats;e.validateFormats=!1,this.RULES=(0,i.getRules)(),_.call(this,g,e,"NOT SUPPORTED"),_.call(this,v,e,"DEPRECATED","warn"),this._metaOpts=S.call(this),e.formats&&x.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&E.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),$.call(this),e.validateFormats=a}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:r}=this.opts;let a=m;"id"===r&&(a={...m},a.id=a.$id,delete a.$id),t&&e&&this.addMetaSchema(a,a[r],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let r;if("string"==typeof e){if(r=this.getSchema(e),!r)throw new Error(`no schema with key or ref "${e}"`)}else r=this.compile(e);const a=r(t);return"$async"in r||(this.errors=r.errors),a}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:r}=this.opts;return a.call(this,e,t);async function a(e,t){await n.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||s.call(this,r)}async function n(e){e&&!this.getSchema(e)&&await a.call(this,{$ref:e},!0)}async function s(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof o.default))throw t;return i.call(this,t),await c.call(this,t.missingSchema),s.call(this,e)}}function i({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function c(e){const r=await l.call(this,e);this.refs[e]||await n.call(this,r.$schema),this.refs[e]||this.addSchema(r,e,t)}async function l(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=r(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,a=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,r,a);return this}let n;if("object"==typeof e){const{schemaId:t}=this.opts;if(n=e[t],void 0!==n&&"string"!=typeof n)throw new Error(`schema ${t} must be string`)}return t=(0,u.normalizeId)(t||n),this._checkUnique(t),this.schemas[t]=this._addSchema(e,r,t,a,!0),this}addMetaSchema(e,t,r=this.opts.validateSchema){return this.addSchema(e,t,!0,r),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let r;if(r=e.$schema,void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(r=r||this.opts.defaultMeta||this.defaultMeta(),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const a=this.validate(r,e);if(!a&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return a}getSchema(e){let t;for(;"string"==typeof(t=w.call(this,e));)e=t;if(void 0===t){const{schemaId:r}=this.opts,a=new c.SchemaEnv({schema:{},schemaId:r});if(t=c.resolveSchema.call(this,a,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=w.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let r=e[this.opts.schemaId];return r&&(r=(0,u.normalizeId)(r),delete this.schemas[r],delete this.refs[r]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if("string"==typeof e)r=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=r);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(r=(t=e).keyword,Array.isArray(r)&&!r.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(O.call(this,r,t),!t)return(0,p.eachItem)(r,e=>D.call(this,e)),this;A.call(this,t);const a={...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)};return(0,p.eachItem)(r,0===a.type.length?e=>D.call(this,e,a):e=>a.type.forEach(t=>D.call(this,e,a,t))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex(t=>t.keyword===e);t>=0&&r.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){return e&&0!==e.length?e.map(e=>`${r}${e.instancePath} ${e.message}`).reduce((e,r)=>e+t+r):"No errors"}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const a of t){const t=a.split("/").slice(1);let n=e;for(const e of t)n=n[e];for(const e in r){const t=r[e];if("object"!=typeof t)continue;const{$data:a}=t.definition,s=n[e];a&&s&&(n[e]=T(s))}}return e}_removeAllSchemas(e,t){for(const r in e){const a=e[r];t&&!t.test(r)||("string"==typeof a?delete e[r]:a&&!a.meta&&(this._cache.delete(a.schema),delete e[r]))}}_addSchema(e,t,r,a=this.opts.validateSchema,n=this.opts.addUsedSchema){let s;const{schemaId:o}=this.opts;if("object"==typeof e)s=e[o];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let i=this._cache.get(e);if(void 0!==i)return i;r=(0,u.normalizeId)(s||r);const l=u.getSchemaRefs.call(this,e,r);return i=new c.SchemaEnv({schema:e,schemaId:o,meta:t,baseId:r,localRefs:l}),this._cache.set(i.schema,i),n&&!r.startsWith("#")&&(r&&this._checkUnique(r),this.refs[r]=i),a&&this.validateSchema(e,!0),i}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):c.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{c.compileSchema.call(this,e)}finally{this.opts=t}}}function _(e,t,r,a="error"){for(const n in e){const s=n;s in t&&this.logger[a](`${r}: option ${n}. ${e[s]}`)}}function w(e){return e=(0,u.normalizeId)(e),this.schemas[e]||this.refs[e]}function $(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function x(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function E(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];r.keyword||(r.keyword=t),this.addKeyword(r)}}}function S(){const e={...this.opts};for(const t of f)delete e[t];return e}t.default=k,k.ValidationError=s.default,k.MissingRefError=o.default;const P={log(){},warn(){},error(){}};const C=/^[a-z_$][a-z0-9_$:-]*$/i;function O(e,t){const{RULES:r}=this;if((0,p.eachItem)(e,e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!C.test(e))throw new Error(`Keyword ${e} has invalid name`)}),t&&t.$data&&!("code"in t||"validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function D(e,t,r){var a;const n=null==t?void 0:t.post;if(r&&n)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:s}=this;let o=n?s.post:s.rules.find(({type:e})=>e===r);if(o||(o={type:r,rules:[]},s.rules.push(o)),s.keywords[e]=!0,!t)return;const i={keyword:e,definition:{...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)}};t.before?N.call(this,o,i,t.before):o.rules.push(i),s.all[e]=i,null===(a=t.implements)||void 0===a||a.forEach(e=>this.addKeyword(e))}function N(e,t,r){const a=e.rules.findIndex(e=>e.keyword===r);a>=0?e.rules.splice(a,0,t):(e.rules.push(t),this.logger.warn(`rule ${r} is not defined`))}function A(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=T(t)),e.validateSchema=this.compile(t,!0))}const j={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function T(e){return{anyOf:[e,j]}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const a=r(17),n=r(0),s=r(8),o={message:"boolean schema is false"};function i(e,t){const{gen:r,data:n}=e,s={gen:r,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,a.reportError)(s,o,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:r,validateName:a}=e;!1===r?i(e,!1):"object"==typeof r&&!0===r.$async?t.return(s.default.data):(t.assign(n._`${a}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:r,schema:a}=e;!1===a?(r.var(t,!1),i(e)):r.var(t,!0)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const a=r(0),n=r(4);function s(e,t,r){const{gen:s,compositeRule:o,data:i,opts:c}=e;if(void 0===r)return;const l=a._`${i}${(0,a.getProperty)(t)}`;if(o)return void(0,n.checkStrictMode)(e,`default is ignored for: ${l}`);let u=a._`${l} === undefined`;"empty"===c.useDefaults&&(u=a._`${u} || ${l} === null || ${l} === ""`),s.if(u,a._`${l} = ${(0,a.stringify)(r)}`)}t.assignDefaults=function(e,t){const{properties:r,items:a}=e.schema;if("object"===t&&r)for(const t in r)s(e,t,r[t].default);else"array"===t&&Array.isArray(a)&&a.forEach((t,r)=>s(e,r,t.default))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const a=r(0),n=r(8),s=r(6),o=r(17);function i(e){const{gen:t,data:r,it:n}=e;t.if(n.parentData,()=>t.assign(r,a._`${n.parentData}[${n.parentDataProperty}]`))}function c(e,t,r){if(void 0===r)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof r?{ref:r}:{ref:r,code:(0,a.stringify)(r)})}t.macroKeywordCode=function(e,t){const{gen:r,keyword:n,schema:s,parentSchema:o,it:i}=e,l=t.macro.call(i.self,s,o,i),u=c(r,n,l);!1!==i.opts.validateSchema&&i.self.validateSchema(l,!0);const d=r.name("valid");e.subschema({schema:l,schemaPath:a.nil,errSchemaPath:`${i.errSchemaPath}/${n}`,topSchemaRef:u,compositeRule:!0},d),e.pass(d,()=>e.error(!0))},t.funcKeywordCode=function(e,t){var r;const{gen:l,keyword:u,schema:d,parentSchema:p,$data:m,it:f}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(f,t);const h=!m&&t.compile?t.compile.call(f.self,d,p,f):t.validate,g=c(l,u,h),v=l.let("valid");function y(r=(t.async?a._`await `:a.nil)){const o=f.opts.passContext?n.default.this:n.default.self,i=!("compile"in t&&!m||!1===t.schema);l.assign(v,a._`${r}${(0,s.callValidateCode)(e,g,o,i)}`,t.modifying)}function b(e){var r;l.if((0,a.not)(null!==(r=t.valid)&&void 0!==r?r:v),e)}e.block$data(v,(function(){if(!1===t.errors)y(),t.modifying&&i(e),b(()=>e.error());else{const r=t.async?function(){const e=l.let("ruleErrs",null);return l.try(()=>y(a._`await `),t=>l.assign(v,!1).if(a._`${t} instanceof ${f.ValidationError}`,()=>l.assign(e,a._`${t}.errors`),()=>l.throw(t))),e}():function(){const e=a._`${g}.errors`;return l.assign(e,null),y(a.nil),e}();t.modifying&&i(e),b(()=>(function(e,t){const{gen:r}=e;r.if(a._`Array.isArray(${t})`,()=>{r.assign(n.default.vErrors,a._`${n.default.vErrors} === null ? ${t} : ${n.default.vErrors}.concat(${t})`).assign(n.default.errors,a._`${n.default.vErrors}.length`),(0,o.extendErrors)(e)},()=>e.error())})(e,r))}})),e.ok(null!==(r=t.valid)&&void 0!==r?r:v)},t.validSchemaType=function(e,t,r=!1){return!t.length||t.some(t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||r&&void 0===e)},t.validateKeywordUsage=function({schema:e,opts:t,self:r,errSchemaPath:a},n,s){if(Array.isArray(n.keyword)?!n.keyword.includes(s):n.keyword!==s)throw new Error("ajv implementation error");const o=n.dependencies;if(null==o?void 0:o.some(t=>!Object.prototype.hasOwnProperty.call(e,t)))throw new Error(`parent schema must have dependencies of ${s}: ${o.join(",")}`);if(n.validateSchema){if(!n.validateSchema(e[s])){const e=`keyword "${s}" value is invalid at path "${a}": `+r.errorsText(n.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);r.logger.error(e)}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const a=r(0),n=r(4);t.getSubschema=function(e,{keyword:t,schemaProp:r,schema:s,schemaPath:o,errSchemaPath:i,topSchemaRef:c}){if(void 0!==t&&void 0!==s)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const s=e.schema[t];return void 0===r?{schema:s,schemaPath:a._`${e.schemaPath}${(0,a.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:s[r],schemaPath:a._`${e.schemaPath}${(0,a.getProperty)(t)}${(0,a.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,n.escapeFragment)(r)}`}}if(void 0!==s){if(void 0===o||void 0===i||void 0===c)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:s,schemaPath:o,topSchemaRef:c,errSchemaPath:i}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:r,dataPropType:s,data:o,dataTypes:i,propertyName:c}){if(void 0!==o&&void 0!==r)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:l}=t;if(void 0!==r){const{errorPath:o,dataPathArr:i,opts:c}=t;u(l.let("data",a._`${t.data}${(0,a.getProperty)(r)}`,!0)),e.errorPath=a.str`${o}${(0,n.getErrorPath)(r,s,c.jsPropertySyntax)}`,e.parentDataProperty=a._`${r}`,e.dataPathArr=[...i,e.parentDataProperty]}if(void 0!==o){u(o instanceof a.Name?o:l.let("data",o,!0)),void 0!==c&&(e.propertyName=c)}function u(r){e.data=r,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,r]}i&&(e.dataTypes=i)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:a,createErrors:n,allErrors:s}){void 0!==a&&(e.compositeRule=a),void 0!==n&&(e.createErrors=n),void 0!==s&&(e.allErrors=s),e.jtdDiscriminator=t,e.jtdMetadata=r}},function(e,t,r){"use strict";var a=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),function e(t,r,n,s,o,i,c,l,u,d){if(s&&"object"==typeof s&&!Array.isArray(s)){for(var p in r(s,o,i,c,l,u,d),s){var m=s[p];if(Array.isArray(m)){if(p in a.arrayKeywords)for(var f=0;f<m.length;f++)e(t,r,n,m[f],o+"/"+p+"/"+f,i,o,p,s,f)}else if(p in a.propsKeywords){if(m&&"object"==typeof m)for(var h in m)e(t,r,n,m[h],o+"/"+p+"/"+h.replace(/~/g,"~0").replace(/\//g,"~1"),i,o,p,s,h)}else(p in a.keywords||t.allKeys&&!(p in a.skipKeywords))&&e(t,r,n,m,o+"/"+p,i,o,p,s)}n(s,o,i,c,l,u,d)}}(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};a.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},a.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},a.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},a.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},function(e){e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(192),n=r(195),s=r(207),o=r(221),i=r(223),c=[a.default,n.default,(0,s.default)(),o.default,i.metadataVocabulary,i.contentVocabulary];t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(193),n=r(194),s=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",a.default,n.default];t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const a=r(48),n=r(6),s=r(0),o=r(8),i=r(49),c=r(4),l={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:n}=e,{baseId:o,schemaEnv:c,validateName:l,opts:p,self:m}=n,{root:f}=c;if(("#"===r||"#/"===r)&&o===f.baseId)return function(){if(c===f)return d(e,l,c,c.$async);const r=t.scopeValue("root",{ref:f});return d(e,s._`${r}.validate`,f,f.$async)}();const h=i.resolveRef.call(m,f,o,r);if(void 0===h)throw new a.default(o,r);return h instanceof i.SchemaEnv?function(t){const r=u(e,t);d(e,r,t,t.$async)}(h):function(a){const n=t.scopeValue("schema",!0===p.code.source?{ref:a,code:(0,s.stringify)(a)}:{ref:a}),o=t.name("valid"),i=e.subschema({schema:a,dataTypes:[],schemaPath:s.nil,topSchemaRef:n,errSchemaPath:r},o);e.mergeEvaluated(i),e.ok(o)}(h)}};function u(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):s._`${r.scopeValue("wrapper",{ref:t})}.validate`}function d(e,t,r,a){const{gen:i,it:l}=e,{allErrors:u,schemaEnv:d,opts:p}=l,m=p.passContext?o.default.this:s.nil;function f(e){const t=s._`${e}.errors`;i.assign(o.default.vErrors,s._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`),i.assign(o.default.errors,s._`${o.default.vErrors}.length`)}function h(e){var t;if(!l.opts.unevaluated)return;const a=null===(t=null==r?void 0:r.validate)||void 0===t?void 0:t.evaluated;if(!0!==l.props)if(a&&!a.dynamicProps)void 0!==a.props&&(l.props=c.mergeEvaluated.props(i,a.props,l.props));else{const t=i.var("props",s._`${e}.evaluated.props`);l.props=c.mergeEvaluated.props(i,t,l.props,s.Name)}if(!0!==l.items)if(a&&!a.dynamicItems)void 0!==a.items&&(l.items=c.mergeEvaluated.items(i,a.items,l.items));else{const t=i.var("items",s._`${e}.evaluated.items`);l.items=c.mergeEvaluated.items(i,t,l.items,s.Name)}}a?function(){if(!d.$async)throw new Error("async schema referenced by sync schema");const r=i.let("valid");i.try(()=>{i.code(s._`await ${(0,n.callValidateCode)(e,t,m)}`),h(t),u||i.assign(r,!0)},e=>{i.if(s._`!(${e} instanceof ${l.ValidationError})`,()=>i.throw(e)),f(e),u||i.assign(r,!1)}),e.ok(r)}():e.result((0,n.callValidateCode)(e,t,m),()=>h(t),()=>f(t))}t.getValidate=u,t.callRef=d,t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(196),n=r(197),s=r(198),o=r(200),i=r(201),c=r(202),l=r(203),u=r(204),d=r(205),p=r(206),m=[a.default,n.default,s.default,o.default,i.default,c.default,l.default,u.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,p.default];t.default=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n=a.operators,s={maximum:{okStr:"<=",ok:n.LTE,fail:n.GT},minimum:{okStr:">=",ok:n.GTE,fail:n.LT},exclusiveMaximum:{okStr:"<",ok:n.LT,fail:n.GTE},exclusiveMinimum:{okStr:">",ok:n.GT,fail:n.LTE}},o={message:({keyword:e,schemaCode:t})=>a.str`must be ${s[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>a._`{comparison: ${s[e].okStr}, limit: ${t}}`},i={keyword:Object.keys(s),type:"number",schemaType:"number",$data:!0,error:o,code(e){const{keyword:t,data:r,schemaCode:n}=e;e.fail$data(a._`${r} ${s[t].fail} ${n} || isNaN(${r})`)}};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>a.str`must be multiple of ${e}`,params:({schemaCode:e})=>a._`{multipleOf: ${e}}`},code(e){const{gen:t,data:r,schemaCode:n,it:s}=e,o=s.opts.multipleOfPrecision,i=t.let("res"),c=o?a._`Math.abs(Math.round(${i}) - ${i}) > 1e-${o}`:a._`${i} !== parseInt(${i})`;e.fail$data(a._`(${n} === 0 || (${i} = ${r}/${n}, ${c}))`)}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n=r(4),s=r(199),o={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxLength"===e?"more":"fewer";return a.str`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>a._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:o,it:i}=e,c="maxLength"===t?a.operators.GT:a.operators.LT,l=!1===i.opts.unicode?a._`${r}.length`:a._`${(0,n.useFunc)(e.gen,s.default)}(${r})`;e.fail$data(a._`${l} ${c} ${o}`)}};t.default=o},function(e,t,r){"use strict";function a(e){const t=e.length;let r,a=0,n=0;for(;n<t;)a++,r=e.charCodeAt(n++),r>=55296&&r<=56319&&n<t&&(r=e.charCodeAt(n),56320==(64512&r)&&n++);return a}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,a.code='require("ajv/dist/runtime/ucs2length").default'},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(6),n=r(0),s={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>n.str`must match pattern "${e}"`,params:({schemaCode:e})=>n._`{pattern: ${e}}`},code(e){const{data:t,$data:r,schema:s,schemaCode:o,it:i}=e,c=i.opts.unicodeRegExp?"u":"",l=r?n._`(new RegExp(${o}, ${c}))`:(0,a.usePattern)(e,s);e.fail$data(n._`!${l}.test(${t})`)}};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxProperties"===e?"more":"fewer";return a.str`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>a._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:n}=e,s="maxProperties"===t?a.operators.GT:a.operators.LT;e.fail$data(a._`Object.keys(${r}).length ${s} ${n}`)}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(6),n=r(0),s=r(4),o={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>n.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>n._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:r,schemaCode:o,data:i,$data:c,it:l}=e,{opts:u}=l;if(!c&&0===r.length)return;const d=r.length>=u.loopRequired;if(l.allErrors?function(){if(d||c)e.block$data(n.nil,p);else for(const t of r)(0,a.checkReportMissingProp)(e,t)}():function(){const s=t.let("missing");if(d||c){const r=t.let("valid",!0);e.block$data(r,()=>(function(r,s){e.setParams({missingProperty:r}),t.forOf(r,o,()=>{t.assign(s,(0,a.propertyInData)(t,i,r,u.ownProperties)),t.if((0,n.not)(s),()=>{e.error(),t.break()})},n.nil)})(s,r)),e.ok(r)}else t.if((0,a.checkMissingProp)(e,r,s)),(0,a.reportMissingProp)(e,s),t.else()}(),u.strictRequired){const t=e.parentSchema.properties,{definedProperties:a}=e.it;for(const e of r)if(void 0===(null==t?void 0:t[e])&&!a.has(e)){const t=`required property "${e}" is not defined at "${l.schemaEnv.baseId+l.errSchemaPath}" (strictRequired)`;(0,s.checkStrictMode)(l,t,l.opts.strictRequired)}}function p(){t.forOf("prop",o,r=>{e.setParams({missingProperty:r}),t.if((0,a.noPropertyInData)(t,i,r,u.ownProperties),()=>e.error())})}}};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxItems"===e?"more":"fewer";return a.str`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>a._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:n}=e,s="maxItems"===t?a.operators.GT:a.operators.LT;e.fail$data(a._`${r}.length ${s} ${n}`)}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(19),n=r(0),s=r(4),o=r(25),i={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>n.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>n._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:r,$data:i,schema:c,parentSchema:l,schemaCode:u,it:d}=e;if(!i&&!c)return;const p=t.let("valid"),m=l.items?(0,a.getSchemaTypes)(l.items):[];function f(s,o){const i=t.name("item"),c=(0,a.checkDataTypes)(m,i,d.opts.strictNumbers,a.DataType.Wrong),l=t.const("indices",n._`{}`);t.for(n._`;${s}--;`,()=>{t.let(i,n._`${r}[${s}]`),t.if(c,n._`continue`),m.length>1&&t.if(n._`typeof ${i} == "string"`,n._`${i} += "_"`),t.if(n._`typeof ${l}[${i}] == "number"`,()=>{t.assign(o,n._`${l}[${i}]`),e.error(),t.assign(p,!1).break()}).code(n._`${l}[${i}] = ${s}`)})}function h(a,i){const c=(0,s.useFunc)(t,o.default),l=t.name("outer");t.label(l).for(n._`;${a}--;`,()=>t.for(n._`${i} = ${a}; ${i}--;`,()=>t.if(n._`${c}(${r}[${a}], ${r}[${i}])`,()=>{e.error(),t.assign(p,!1).break(l)})))}e.block$data(p,(function(){const a=t.let("i",n._`${r}.length`),s=t.let("j");e.setParams({i:a,j:s}),t.assign(p,!0),t.if(n._`${a} > 1`,()=>(m.length>0&&!m.some(e=>"object"===e||"array"===e)?f:h)(a,s))}),n._`${u} === false`),e.ok(p)}};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n=r(4),s=r(25),o={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>a._`{allowedValue: ${e}}`},code(e){const{gen:t,data:r,$data:o,schemaCode:i,schema:c}=e;o||c&&"object"==typeof c?e.fail$data(a._`!${(0,n.useFunc)(t,s.default)}(${r}, ${i})`):e.fail(a._`${c} !== ${r}`)}};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n=r(4),s=r(25),o={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>a._`{allowedValues: ${e}}`},code(e){const{gen:t,data:r,$data:o,schema:i,schemaCode:c,it:l}=e;if(!o&&0===i.length)throw new Error("enum must have non-empty array");const u=i.length>=l.opts.loopEnum,d=(0,n.useFunc)(t,s.default);let p;if(u||o)p=t.let("valid"),e.block$data(p,(function(){t.assign(p,!1),t.forOf("v",c,e=>t.if(a._`${d}(${r}, ${e})`,()=>t.assign(p,!0).break()))}));else{if(!Array.isArray(i))throw new Error("ajv implementation error");const e=t.const("vSchema",c);p=(0,a.or)(...i.map((t,n)=>(function(e,t){const n=i[t];return"object"==typeof n&&null!==n?a._`${d}(${r}, ${e}[${t}])`:a._`${r} === ${n}`})(e,n)))}e.pass(p)}};t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(50),n=r(208),s=r(51),o=r(209),i=r(210),c=r(211),l=r(212),u=r(52),d=r(213),p=r(214),m=r(215),f=r(216),h=r(217),g=r(218),v=r(219),y=r(220);t.default=function(e=!1){const t=[m.default,f.default,h.default,g.default,v.default,y.default,l.default,u.default,c.default,d.default,p.default];return e?t.push(n.default,o.default):t.push(a.default,s.default),t.push(i.default),t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(51),n={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,a.validateTuple)(e,"items")};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n=r(4),s=r(6),o=r(50),i={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>a.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>a._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:r,it:a}=e,{prefixItems:i}=r;a.items=!0,(0,n.alwaysValidSchema)(a,t)||(i?(0,o.validateAdditionalItems)(e,i):e.ok((0,s.validateArray)(e)))}};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n=r(4),s={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?a.str`must contain at least ${e} valid item(s)`:a.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?a._`{minContains: ${e}}`:a._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:r,parentSchema:s,data:o,it:i}=e;let c,l;const{minContains:u,maxContains:d}=s;i.opts.next?(c=void 0===u?1:u,l=d):c=1;const p=t.const("len",a._`${o}.length`);if(e.setParams({min:c,max:l}),void 0===l&&0===c)return void(0,n.checkStrictMode)(i,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==l&&c>l)return(0,n.checkStrictMode)(i,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,n.alwaysValidSchema)(i,r)){let t=a._`${p} >= ${c}`;return void 0!==l&&(t=a._`${t} && ${p} <= ${l}`),void e.pass(t)}i.items=!0;const m=t.name("valid");if(void 0===l&&1===c)f(m,()=>t.if(m,()=>t.break()));else{t.let(m,!1);const e=t.name("_valid"),r=t.let("count",0);f(e,()=>t.if(e,()=>(function(e){t.code(a._`${e}++`),void 0===l?t.if(a._`${e} >= ${c}`,()=>t.assign(m,!0).break()):(t.if(a._`${e} > ${l}`,()=>t.assign(m,!1).break()),1===c?t.assign(m,!0):t.if(a._`${e} >= ${c}`,()=>t.assign(m,!0)))})(r)))}function f(r,a){t.forRange("i",0,p,t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:n.Type.Num,compositeRule:!0},r),a()})}e.result(m,()=>e.reset())}};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const a=r(0),n=r(4),s=r(6);t.error={message:({params:{property:e,depsCount:t,deps:r}})=>{const n=1===t?"property":"properties";return a.str`must have ${n} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:r,missingProperty:n}})=>a._`{property: ${e},
|
|
20
|
+
missingProperty: ${n},
|
|
21
|
+
depsCount: ${t},
|
|
22
|
+
deps: ${r}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,r]=function({schema:e}){const t={},r={};for(const a in e){if("__proto__"===a)continue;(Array.isArray(e[a])?t:r)[a]=e[a]}return[t,r]}(e);i(e,t),c(e,r)}};function i(e,t=e.schema){const{gen:r,data:n,it:o}=e;if(0===Object.keys(t).length)return;const i=r.let("missing");for(const c in t){const l=t[c];if(0===l.length)continue;const u=(0,s.propertyInData)(r,n,c,o.opts.ownProperties);e.setParams({property:c,depsCount:l.length,deps:l.join(", ")}),o.allErrors?r.if(u,()=>{for(const t of l)(0,s.checkReportMissingProp)(e,t)}):(r.if(a._`${u} && (${(0,s.checkMissingProp)(e,l,i)})`),(0,s.reportMissingProp)(e,i),r.else())}}function c(e,t=e.schema){const{gen:r,data:a,keyword:o,it:i}=e,c=r.name("valid");for(const l in t)(0,n.alwaysValidSchema)(i,t[l])||(r.if((0,s.propertyInData)(r,a,l,i.opts.ownProperties),()=>{const t=e.subschema({keyword:o,schemaProp:l},c);e.mergeValidEvaluated(t,c)},()=>r.var(c,!0)),e.ok(c))}t.validatePropertyDeps=i,t.validateSchemaDeps=c,t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n=r(4),s={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>a._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:r,data:s,it:o}=e;if((0,n.alwaysValidSchema)(o,r))return;const i=t.name("valid");t.forIn("key",s,r=>{e.setParams({propertyName:r}),e.subschema({keyword:"propertyNames",data:r,dataTypes:["string"],propertyName:r,compositeRule:!0},i),t.if((0,a.not)(i),()=>{e.error(!0),o.allErrors||t.break()})}),e.ok(i)}};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(16),n=r(6),s=r(4),o=r(52),i={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:i,data:c,it:l}=e;"all"===l.opts.removeAdditional&&void 0===i.additionalProperties&&o.default.code(new a.KeywordCxt(l,o.default,"additionalProperties"));const u=(0,n.allSchemaProperties)(r);for(const e of u)l.definedProperties.add(e);l.opts.unevaluated&&u.length&&!0!==l.props&&(l.props=s.mergeEvaluated.props(t,(0,s.toHash)(u),l.props));const d=u.filter(e=>!(0,s.alwaysValidSchema)(l,r[e]));if(0===d.length)return;const p=t.name("valid");for(const r of d)m(r)?f(r):(t.if((0,n.propertyInData)(t,c,r,l.opts.ownProperties)),f(r),l.allErrors||t.else().var(p,!0),t.endIf()),e.it.definedProperties.add(r),e.ok(p);function m(e){return l.opts.useDefaults&&!l.compositeRule&&void 0!==r[e].default}function f(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},p)}}};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(6),n=r(0),s=r(4),o=r(4),i={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:i,parentSchema:c,it:l}=e,{opts:u}=l,d=(0,a.allSchemaProperties)(r),p=d.filter(e=>(0,s.alwaysValidSchema)(l,r[e]));if(0===d.length||p.length===d.length&&(!l.opts.unevaluated||!0===l.props))return;const m=u.strictSchema&&!u.allowMatchingProperties&&c.properties,f=t.name("valid");!0===l.props||l.props instanceof n.Name||(l.props=(0,o.evaluatedPropsToName)(t,l.props));const{props:h}=l;function g(e){for(const t in m)new RegExp(e).test(t)&&(0,s.checkStrictMode)(l,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function v(r){t.forIn("key",i,s=>{t.if(n._`${(0,a.usePattern)(e,r)}.test(${s})`,()=>{const a=p.includes(r);a||e.subschema({keyword:"patternProperties",schemaProp:r,dataProp:s,dataPropType:o.Type.Str},f),l.opts.unevaluated&&!0!==h?t.assign(n._`${h}[${s}]`,!0):a||l.allErrors||t.if((0,n.not)(f),()=>t.break())})})}!function(){for(const e of d)m&&g(e),l.allErrors?v(e):(t.var(f,!0),v(e),t.if(f))}()}};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(4),n={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:n}=e;if((0,a.alwaysValidSchema)(n,r))return void e.fail();const s=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),e.failResult(s,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:r(6).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n=r(4),s={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>a._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:r,parentSchema:s,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(o.opts.discriminator&&s.discriminator)return;const i=r,c=t.let("valid",!1),l=t.let("passing",null),u=t.name("_valid");e.setParams({passing:l}),t.block((function(){i.forEach((r,s)=>{let i;(0,n.alwaysValidSchema)(o,r)?t.var(u,!0):i=e.subschema({keyword:"oneOf",schemaProp:s,compositeRule:!0},u),s>0&&t.if(a._`${u} && ${c}`).assign(c,!1).assign(l,a._`[${l}, ${s}]`).else(),t.if(u,()=>{t.assign(c,!0),t.assign(l,s),i&&e.mergeEvaluated(i,a.Name)})})})),e.result(c,()=>e.reset(),()=>e.error(!0))}};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(4),n={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:n}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const s=t.name("valid");r.forEach((t,r)=>{if((0,a.alwaysValidSchema)(n,t))return;const o=e.subschema({keyword:"allOf",schemaProp:r},s);e.ok(s),e.mergeEvaluated(o)})}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n=r(4),s={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>a.str`must match "${e.ifClause}" schema`,params:({params:e})=>a._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:r,it:s}=e;void 0===r.then&&void 0===r.else&&(0,n.checkStrictMode)(s,'"if" without "then" and "else" is ignored');const i=o(s,"then"),c=o(s,"else");if(!i&&!c)return;const l=t.let("valid",!0),u=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);e.mergeEvaluated(t)}(),e.reset(),i&&c){const r=t.let("ifClause");e.setParams({ifClause:r}),t.if(u,d("then",r),d("else",r))}else i?t.if(u,d("then")):t.if((0,a.not)(u),d("else"));function d(r,n){return()=>{const s=e.subschema({keyword:r},u);t.assign(l,u),e.mergeValidEvaluated(s,l),n?t.assign(n,a._`${r}`):e.setParams({ifClause:r})}}e.pass(l,()=>e.error(!0))}};function o(e,t){const r=e.schema[t];return void 0!==r&&!(0,n.alwaysValidSchema)(e,r)}t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(4),n={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){void 0===t.if&&(0,a.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=[r(222).default];t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>a.str`must match format "${e}"`,params:({schemaCode:e})=>a._`{format: ${e}}`},code(e,t){const{gen:r,data:n,$data:s,schema:o,schemaCode:i,it:c}=e,{opts:l,errSchemaPath:u,schemaEnv:d,self:p}=c;l.validateFormats&&(s?function(){const s=r.scopeValue("formats",{ref:p.formats,code:l.code.formats}),o=r.const("fDef",a._`${s}[${i}]`),c=r.let("fType"),u=r.let("format");r.if(a._`typeof ${o} == "object" && !(${o} instanceof RegExp)`,()=>r.assign(c,a._`${o}.type || "string"`).assign(u,a._`${o}.validate`),()=>r.assign(c,a._`"string"`).assign(u,o)),e.fail$data((0,a.or)(!1===l.strictSchema?a.nil:a._`${i} && !${u}`,function(){const e=d.$async?a._`(${o}.async ? await ${u}(${n}) : ${u}(${n}))`:a._`${u}(${n})`,r=a._`(typeof ${u} == "function" ? ${e} : ${u}.test(${n}))`;return a._`${u} && ${u} !== true && ${c} === ${t} && !${r}`}()))}():function(){const s=p.formats[o];if(!s)return void function(){if(!1===l.strictSchema)return void p.logger.warn(e());throw new Error(e());function e(){return`unknown format "${o}" ignored in schema at path "${u}"`}}();if(!0===s)return;const[i,c,m]=function(e){const t=e instanceof RegExp?(0,a.regexpCode)(e):l.code.formats?a._`${l.code.formats}${(0,a.getProperty)(o)}`:void 0,n=r.scopeValue("formats",{key:o,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,a._`${n}.validate`];return["string",e,n]}(s);i===t&&e.pass(function(){if("object"==typeof s&&!(s instanceof RegExp)&&s.async){if(!d.$async)throw new Error("async format in sync schema");return a._`await ${m}(${n})`}return"function"==typeof c?a._`${m}(${n})`:a._`${m}.test(${n})`}())}())}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const a=r(0),n=r(225),s={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===n.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>a._`{error: ${e}, tag: ${r}, tagValue: ${t}}`},code(e){const{gen:t,data:r,schema:s,parentSchema:o,it:i}=e,{oneOf:c}=o;if(!i.opts.discriminator)throw new Error("discriminator: requires discriminator option");const l=s.propertyName;if("string"!=typeof l)throw new Error("discriminator: requires propertyName");if(s.mapping)throw new Error("discriminator: mapping is not supported");if(!c)throw new Error("discriminator: requires oneOf keyword");const u=t.let("valid",!1),d=t.const("tag",a._`${r}${(0,a.getProperty)(l)}`);function p(r){const n=t.name("valid"),s=e.subschema({keyword:"oneOf",schemaProp:r},n);return e.mergeEvaluated(s,a.Name),n}t.if(a._`typeof ${d} == "string"`,()=>(function(){const r=function(){var e;const t={},r=n(o);let a=!0;for(let t=0;t<c.length;t++){const o=c[t],i=null===(e=o.properties)||void 0===e?void 0:e[l];if("object"!=typeof i)throw new Error(`discriminator: oneOf schemas must have "properties/${l}"`);a=a&&(r||n(o)),s(i,t)}if(!a)throw new Error(`discriminator: "${l}" must be required`);return t;function n({required:e}){return Array.isArray(e)&&e.includes(l)}function s(e,t){if(e.const)i(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${l}" must have "const" or "enum"`);for(const r of e.enum)i(r,t)}}function i(e,r){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${l}" values must be unique strings`);t[e]=r}}();t.if(!1);for(const e in r)t.elseIf(a._`${d} === ${e}`),t.assign(u,p(r[e]));t.else(),e.error(!1,{discrError:n.DiscrError.Mapping,tag:d,tagName:l}),t.endIf()})(),()=>e.error(!1,{discrError:n.DiscrError.Tag,tag:d,tagName:l})),e.ok(u)}};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(t.DiscrError||(t.DiscrError={}))},function(e){e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}]);
|